]> code.delx.au - gnu-emacs/log
gnu-emacs
13 years agoMerge changes from emacs-23 branch.
Juanma Barranquero [Mon, 11 Oct 2010 23:57:49 +0000 (01:57 +0200)]
Merge changes from emacs-23 branch.

13 years agonnimap.el (gnutls-negotiate): Silence the byte compiler.
Katsumi Yamaoka [Mon, 11 Oct 2010 23:29:33 +0000 (23:29 +0000)]
nnimap.el (gnutls-negotiate): Silence the byte compiler.
*.el: Fix comment for declare-function.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Mon, 11 Oct 2010 22:27:28 +0000 (22:27 +0000)]
Merge changes made in Gnus trunk.

shr.el (shr-tag-hr): Use shr-hr-line to specify which character to use to display hr lines.
shr.el (shr-max-columns): Do not change state to nil if we just inserting spaces.
sieve-manage.el (sieve-manage-open): Allow port names as well as port numbers.
shr.el (shr-current-column, shr-find-fill-point): New functions; start thinking about breaking CJVK text.
nnimap.el (nnimap-transform-split-mail): Not all articles have bodies.  Protect against this.
shr.el (shr-insert): Fix up the white space only regexp.
nnimap.el (nnimap-request-rename-group): Select group read-only before renaming it.

13 years agoBug#7150: Distinguishing between left and right Alt keys on NextStep/OSX.
Jan Djärv [Mon, 11 Oct 2010 19:18:08 +0000 (21:18 +0200)]
Bug#7150: Distinguishing between left and right Alt keys on NextStep/OSX.

* lisp/cus-start.el (all): ns-right-alternate-modifier is new.

* lisp/term/ns-win.el (ns-right-alternate-modifier): New defvar.
(ns-right-option-modifier): New alias for ns-right-alternate-modifier.
(mac-right-option-modifier): New alias for ns-right-option-modifier.

* src/nsterm.m (Qleft): Declare.
(ns_right_alternate_modifier): New variable
(NSRightAlternateKeyMask): New define.
(EV_MODIFIERS): Parse NSRightAlternateKeyMask if
ns_right_alternate_modifier isn't Qleft.
(keyDown): If ns_right_alternate_modifier isn't Qleft, use it
as emacs modifier for NSRightAlternateKeyMask.
(syms_of_nsterm): DEFVAR_LISP ns-right-alternate-modifier.

13 years agognus-topic.el (gnus-topic-read-group): If after the last group, select the last group.
Lars Magne Ingebrigtsen [Mon, 11 Oct 2010 11:02:17 +0000 (11:02 +0000)]
gnus-topic.el (gnus-topic-read-group): If after the last group, select the last group.

13 years agognus-int.el (gnus-run-hook-with-args): Autoload from gnus-util.el.
Teodor Zlatanov [Mon, 11 Oct 2010 10:03:07 +0000 (10:03 +0000)]
gnus-int.el (gnus-run-hook-with-args): Autoload from gnus-util.el.

13 years agoMore cleanups and minor fixes for Customize.
Chong Yidong [Mon, 11 Oct 2010 04:49:59 +0000 (00:49 -0400)]
More cleanups and minor fixes for Customize.

* cus-edit.el (custom-face-edit-fix-value): Use
custom-fix-face-spec.

* custom.el (custom-push-theme): Cleanup (use cond).
(disable-theme): Recompute the saved-face property.
(custom-theme-recalc-face): Follow face alias before setting prop.

* custom.el (custom-fix-face-spec): New function; code moved from
custom-face-edit-fix-value.
(custom-push-theme): Use it when checking if a face has been
changed outside customize.
(custom-available-themes): New function.
(load-theme): Use it.

* image.el (image-checkbox-checked, image-checkbox-unchecked): New
variables, containing checkbox images.

* startup.el (fancy-startup-tail):
* wid-edit.el (checkbox): Use them.

13 years agoAdd explicit -I$srcdir to makeinfo in some doc/ Makefiles.
Glenn Morris [Mon, 11 Oct 2010 01:57:48 +0000 (18:57 -0700)]
Add explicit -I$srcdir to makeinfo in some doc/ Makefiles.

* doc/emacs/Makefile.in (MAKEINFO): Add explicit -I$srcdir.
* doc/lispintro/Makefile.in (MAKEINFO): Add explicit -I$srcdir.
* doc/lispref/Makefile.in (MAKEINFO): Add explicit -I$srcdir.

13 years agoAdd html targets for some doc/ Makefiles.
Glenn Morris [Mon, 11 Oct 2010 00:43:27 +0000 (17:43 -0700)]
Add html targets for some doc/ Makefiles.

* doc/lispref/Makefile.in (.PHONY): Add html.
(html, elisp.html): New targets.
(clean): Delete html files.
($(infodir)/elisp): Remove unnecessary includes.

* doc/lispintro/Makefile.in (MAKEINFO): Use --force like the other
doc/ Makefiles do.

* doc/emacs/Makefile.in (.PHONY): Add html.
(html, emacs.html): New targets.
(clean): Delete html files.

13 years agoAdd ps rules for some doc/ Makefiles.
Glenn Morris [Mon, 11 Oct 2010 00:30:34 +0000 (17:30 -0700)]
Add ps rules for some doc/ Makefiles.

* doc/misc/Makefile.in (.texi.dvi): Remove unnecessary suffix rule.

* dos/lispref/Makefile.in (DVIPS): New variable.
(.PHONY): Add ps.
(ps, elisp.ps): New targets.
(clean): Delete ps file.

* doc/lispintro/Makefile.in (.dvi.ps): Remove unnecessary suffix rule.
(.PHONY): Add ps.
(ps, emacs-lisp-intro.ps): New targets.
(clean): Delete ps file.

* doc/emacs/Makefile.in (.texi.dvi): Remove unnecessary suffix rule.
(DVIPS): New variable.
(.PHONY): Add ps.
(ps, emacs.ps, emacs-xtra.ps): New targets.
(clean): Delete ps files.

13 years ago* lisp/erc/erc-list.el (erc-list-menu-mode-map): Declare and define in one step.
Dan Nicolaescu [Sun, 10 Oct 2010 23:13:58 +0000 (16:13 -0700)]
* lisp/erc/erc-list.el (erc-list-menu-mode-map): Declare and define in one step.

13 years agoDeclare and define in one step various mode maps.
Dan Nicolaescu [Sun, 10 Oct 2010 23:12:30 +0000 (16:12 -0700)]
Declare and define in one step various mode maps.

* lisp/shell.el (shell-mode-map):
* lisp/progmodes/modula2.el (m2-mode-map):
* lisp/progmodes/inf-lisp.el (inferior-lisp-mode-map):
* lisp/play/mpuz.el (mpuz-mode-map):
* lisp/play/landmark.el (lm-mode-map):
* lisp/play/decipher.el (decipher-mode-map):
* lisp/play/5x5.el (5x5-mode-map):
* lisp/net/telnet.el (telnet-mode-map):
* lisp/net/quickurl.el (quickurl-list-mode-map):
* lisp/net/mairix.el (mairix-searches-mode-map):
* lisp/net/eudc-hotlist.el (eudc-hotlist-mode-map):
* lisp/net/dig.el (dig-mode-map):
* lisp/mail/mspools.el (mspools-mode-map):
* lisp/hexl.el (hexl-mode-map):
* lisp/emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
(wordstar-C-o-map, wordstar-C-q-map):
* lisp/emacs-lisp/edebug.el (edebug-eval-mode-map):
* lisp/emacs-lisp/chart.el (chart-map):
* lisp/edmacro.el (edmacro-mode-map):
* lisp/array.el (array-mode-map): Declare and define in one step.

* lisp/erc/erc-list.el (erc-list-menu-mode-map): Declare and define in one step.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Sun, 10 Oct 2010 22:48:40 +0000 (22:48 +0000)]
Merge changes made in Gnus trunk.

nnimap.el (nnimap-wait-for-response): If the user hits `C-g', kill the process, too.
nnir.el (gnus-summary-nnir-goto-thread): Modify to work with imap.
nnimap.el (nnimap-update-info): If the server doesn't return any useful info, just use the previous info.
nnimap.el (nnimap-update-info): Prefer old info over start-article.
nnimap.el (nnimap-update-qresync-info): Finish implementing QRESYNC.
auth-source.el (auth-source-create): Use (user-login-name) for the user name default.
nnimap.el (nnimap-open-connection): Use gnutls STARTTLS, if available.
nnimap.el (nnimap-update-info): Rely more on the current active than the param active to avoid marking articles as read too much.
gnus-sum.el (gnus-summary-set-local-parameters): Ignore the `active' non-variable, too.
nnimap.el (nnimap-update-qresync-info): \Flagged messages are read for Gnus.
nnimap.el (nnimap-retrieve-group-data-early): utf7-encode the group parameters.
nnimap.el (nnimap-update-qresync-info): Mark \Seen articles as read.

13 years ago* Makefile.in (ELCFILES): Update.
Andreas Schwab [Sun, 10 Oct 2010 19:31:40 +0000 (21:31 +0200)]
* Makefile.in (ELCFILES): Update.

13 years agoFix gnutls write-before-negotiation case.
Lars Magne Ingebrigtsen [Sun, 10 Oct 2010 18:47:45 +0000 (20:47 +0200)]
Fix gnutls write-before-negotiation case.

* gnutls.c (emacs_gnutls_write): If we're trying to write before
gnutls is ready, return EAGAIN as the errno.

13 years agoRemove #ifdef emacs / #ifndef emacs code, unused.
Dan Nicolaescu [Sun, 10 Oct 2010 15:49:31 +0000 (08:49 -0700)]
Remove #ifdef emacs / #ifndef emacs code, unused.

* src/vm-limit.c:
* src/unexhp9k800.c:
* src/unexelf.c:
* src/unexaix.c:
* src/termcap.c: Remove #ifdef emacs / #ifndef emacs code, unused.

13 years agoPass CFLAGS to the linker.
Dan Nicolaescu [Sun, 10 Oct 2010 15:35:04 +0000 (08:35 -0700)]
Pass CFLAGS to the linker.

* configure.in (PROFILING_LDFLAGS): Do not define, remove all uses.

* lib-src/Makefile.in (PROFILING_LDFLAGS): Remove, not needed.

* msdos/sed1v2.inp (PROFILING_LDFLAGS):
* msdos/sed3v2.inp (PROFILING_LDFLAGS): Remove, not defined anymore.

* src/Makefile.in (temacs): Use $(ALL_CFLAGS) on the link line.
(PROFILING_LDFLAGS): Remove, not needed anymore.

13 years ago* src/Makefile.in (CRT_DIR): Move near potential user.
Dan Nicolaescu [Sun, 10 Oct 2010 14:47:43 +0000 (07:47 -0700)]
* src/Makefile.in (CRT_DIR): Move near potential user.
(START_FILE): Move near CRT_DIR, it might use it.

13 years ago* src/Makefile.in: Use $(...) everywhere instead of ${...}
Dan Nicolaescu [Sun, 10 Oct 2010 14:43:05 +0000 (07:43 -0700)]
* src/Makefile.in: Use $(...) everywhere instead of ${...}

13 years agoSmall sysdep.c cleanups.
Dan Nicolaescu [Sun, 10 Oct 2010 13:44:22 +0000 (06:44 -0700)]
Small sysdep.c cleanups.

* src/sysdep.c (LPASS8): Remove, unused.
(emacs_ospeed): Change from being a global to a local in the only
user: init_baud_rate.

13 years agoRearrange an entry (test commit to bzr++ssh).
Eli Zaretskii [Sun, 10 Oct 2010 13:39:03 +0000 (09:39 -0400)]
Rearrange an entry (test commit to bzr++ssh).

13 years ago* lisp/vc/log-view.el (log-view-mode-map): Bind revert-buffer.
Dan Nicolaescu [Sun, 10 Oct 2010 03:40:58 +0000 (20:40 -0700)]
* lisp/vc/log-view.el (log-view-mode-map): Bind revert-buffer.

13 years agoSimplify 2010-10-09T13:27:24Z!larsi@gnus.org.
Daiki Ueno [Sun, 10 Oct 2010 01:45:45 +0000 (10:45 +0900)]
Simplify 2010-10-09T13:27:24Z!larsi@gnus.org.

* epa.el (epa-passphrase-callback-function): Display filename
passed as the 3rd arg.
* epa-file.el (epa-file-passphrase-callback-function): Pass
filename to epa-passphrase-callback-function.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Sun, 10 Oct 2010 00:15:21 +0000 (00:15 +0000)]
Merge changes made in Gnus trunk.

nnimap.el (nnimap-open-connection): If we have gnutls loaded, then try to use that for the tls stream.
nnimap.el (nnimap-retrieve-group-data-early): Rework the marks code to heed UIDVALIDITY and find out which groups are read-only and not.
nnimap.el (nnimap-get-flags): Use the same marks parsing code as the rest of nnimap.
nnimap.el (nnmail-expiry-target-group): Say that every expiry target group is the "last".
nnir.el (nnir-engines): Fix too many arguments.
nnimap.el: Start implementing QRESYNC support.
gnus.el (gnus-group-set-parameter): Fix typo.
shr.el: Rework the way things are indented by <li> slightly.
spam.el (gnus-summary-mode-map): Bind to "$".

13 years ago* doc/man/emacs.1: Small fixes.
Glenn Morris [Sun, 10 Oct 2010 00:05:14 +0000 (17:05 -0700)]
* doc/man/emacs.1: Small fixes.

13 years ago* doc/misc/Makefile.in: Missed a few spots in the earlier $< change.
Glenn Morris [Sat, 9 Oct 2010 22:40:30 +0000 (15:40 -0700)]
* doc/misc/Makefile.in: Missed a few spots in the earlier $< change.

13 years agoInterface improvements to cus-theme.el.
Chong Yidong [Sat, 9 Oct 2010 21:54:20 +0000 (17:54 -0400)]
Interface improvements to cus-theme.el.

* cus-edit.el (custom-face-widget-to-spec)
(custom-face-get-current-spec, custom-face-state): New functions.
(custom-face-set, custom-face-mark-to-save)
(custom-face-value-create, custom-face-state-set): Use them.

* cus-theme.el (custom-theme--listed-faces): New var.
(customize-create-theme): Use *Custom Theme* as the buffer name.
Set revert-buffer-function.  Optional arg BUFFER.  Insert all
faces listed in custom-theme--listed-faces.
(custom-theme-revert): New function.
(custom-theme-add-variable, custom-theme-add-face): Insert at the
bottom of the list.
(custom-theme-write): Prompt for theme name if empty.
(custom-theme-write-variables): Use dolist.
(custom-theme-write-faces): Handle hidden (collapsed) widgets.

13 years agoFix building manuals on MS-Windows using emacsver.texi.
Eli Zaretskii [Sat, 9 Oct 2010 21:38:04 +0000 (23:38 +0200)]
Fix building manuals on MS-Windows using emacsver.texi.

 misc/makefile.w32-in (emacsdir): New variable.
 ($(infodir)/efaq, faq.dvi): Depend on emacsver.texi.
 (ENVADD, $(infodir)/efaq): Add -I$(emacsdir).
 emacs/makefile.w32-in (EMACSSOURCES): Add emacsver.texi.
 lispref/makefile.w32-in (emacsdir): New variable.
 (srcs): Add emacsver.texi.
 ($(infodir)/elisp, elisp.dvi): Add -I$(emacsdir).

13 years agoReplace use of VPATH in most doc/ Makefiles.
Glenn Morris [Sat, 9 Oct 2010 21:19:09 +0000 (14:19 -0700)]
Replace use of VPATH in most doc/ Makefiles.

* doc/lispref/Makefile.in (VPATH): Remove.
(infodir): Make it absolute.
(mkinfodir, $(infodir)/elisp, infoclean): No need to cd $srcdir.

* doc/lispintro/Makefile.in (VPATH): Remove.
(infodir): Make it absolute.
(mkinfodir, $(infodir)/eintr, infoclean): No need to cd $srcdir.

* doc/emacs/Makefile.in (VPATH): Remove.
(infodir): Make it absolute.
(mkinfodir, $(infodir)/emacs, infoclean): No need to cd $srcdir.

* doc/misc/Makefile.in: Comment.

13 years agoAnchor regexps in doc/ `make dist' rules.
Glenn Morris [Sat, 9 Oct 2010 20:36:14 +0000 (13:36 -0700)]
Anchor regexps in doc/ `make dist' rules.

* doc/emacs/Makefile.in (dist): Anchor regexps.

* doc/lispintro/Makefile.in (dist): Anchor regexps.

* doc/lsipref/Makefile.in (dist): Anchor regexps.

13 years ago* doc/lispref/Makefile.in (dist): Also copy emacsver.texi, and edit $emacsdir.
Glenn Morris [Sat, 9 Oct 2010 20:28:34 +0000 (13:28 -0700)]
* doc/lispref/Makefile.in (dist): Also copy emacsver.texi, and edit $emacsdir.

13 years agoRemove references to emacsver.texi.in in doc/ `make dist' rules.
Glenn Morris [Sat, 9 Oct 2010 20:22:11 +0000 (13:22 -0700)]
Remove references to emacsver.texi.in in doc/ `make dist' rules.

* doc/emacs/Makefile.in (dist): Remove reference to emacsver.texi.in.

* doc/lispref/Makefile.in (dist): Remove reference to emacsver.texi.in.

13 years ago* doc/misc/Makefile.in (mostlyclean): Delete *.toc.
Glenn Morris [Sat, 9 Oct 2010 20:14:43 +0000 (13:14 -0700)]
* doc/misc/Makefile.in (mostlyclean): Delete *.toc.

13 years ago* doc/misc/Makefile.in: Use $< in rules.
Glenn Morris [Sat, 9 Oct 2010 20:12:18 +0000 (13:12 -0700)]
* doc/misc/Makefile.in: Use $< in rules.

13 years agoEnhance fontification of declarators to take account of the
Alan Mackenzie [Sat, 9 Oct 2010 19:58:28 +0000 (19:58 +0000)]
Enhance fontification of declarators to take account of the
presence/absence of "typedef".

cc-engine.el (c-forward-type): New &optional param "brace-block-too".
(c-forward-decl-or-cast-1): cdr of return value now indicates the
presence of either or both of a "struct"-like keyword and "typedef".

cc-fonts.el (c-complex-decl-matchers): Remove the heuristic fontification
of declarators which follow a "}".
(c-font-lock-declarations): Fontify declarators according to the
presence/absence of "typedef".

cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable for
"typedef".
(c-typedef-decl-key): New lang variable built from c-typedef-decl-kwds.

13 years agoUse $< in some doc/*/Makefile rules.
Glenn Morris [Sat, 9 Oct 2010 19:39:42 +0000 (12:39 -0700)]
Use $< in some doc/*/Makefile rules.

* doc/lispref/Makefile.in (srcs): Put elisp.texi first.
($(infodir)/elisp, elisp.dvi, elisp.pdf): Use $<.

* doc/lispintro/Makefile.in (${infodir}/eintr, emacs-lisp-intro.dvi)
(emacs-lisp-intro.pdf, emacs-lisp-intro.html): Use $<.

* doc/emacs/Makefile.in (EMACSSOURCES): Put emacs.texi first.
($(infodir)/emacs, emacs.dvi, emacs.pdf, emacs-xtra.dvi)
(emacs-xtra.pdf): Use $<.

13 years agoFix previous doc/*/Makefile.in change.
Glenn Morris [Sat, 9 Oct 2010 19:27:22 +0000 (12:27 -0700)]
Fix previous doc/*/Makefile.in change.

13 years ago* doc/man/b2m.1: Remove file.
Glenn Morris [Sat, 9 Oct 2010 18:51:21 +0000 (11:51 -0700)]
* doc/man/b2m.1: Remove file.

13 years ago* make-dist: No more doc/emacs/*.texi.in.
Glenn Morris [Sat, 9 Oct 2010 18:46:57 +0000 (11:46 -0700)]
* make-dist: No more doc/emacs/*.texi.in.

13 years agoQuieten emacs-devel.
Glenn Morris [Sat, 9 Oct 2010 18:39:01 +0000 (11:39 -0700)]
Quieten emacs-devel.

* doc/misc/Makefile.in (maintainer-clean): Remove harmless, long-standing error.

* doc/lispref/Makefile.in (infoclean): Remove harmless, long-standing error.

* doc/lispintro/Makefile.in (infoclean): Remove harmless, long-standing error.

* doc/emacs/Makefile.in (infoclean): Remove harmless, long-standing error.

13 years agoAvoid having a directory as a prerequisite in doc Makefiles.
Glenn Morris [Sat, 9 Oct 2010 18:31:12 +0000 (11:31 -0700)]
Avoid having a directory as a prerequisite in doc Makefiles.
It does not play well with time-stamping.

* doc/misc/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.  Use it in all the info rules, rather than depending
on infodir.

* doc/lispref/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.
($(infodir)/elisp): Use $mkinfodir instead of infodir.

* doc/lispintro/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.
($(infodir)/eintr): Use $mkinfodir instead of infodir.

* doc/emacs/Makefile.in ($(infodir)): Delete rule.
(mkinfodir): New.
($(infodir)/emacs): Use $mkinfodir instead of infodir.

13 years ago* configure.in (AC_OUTPUT): Remove doc/emacs/emacsver.texi.
Glenn Morris [Sat, 9 Oct 2010 17:59:55 +0000 (10:59 -0700)]
* configure.in (AC_OUTPUT): Remove doc/emacs/emacsver.texi.
* configure: Regenerate.

* .bzrignore: Remove doc/emacs/emacsver.texi.

* doc/emacs/Makefile.in (distclean): Do not delete emacsver.texi.
* doc/emacs/emacsver.texi: New file, replacing emacsver.texi.in.

* admin/admin.el (set-version): Add doc/emacs/emacsver.texi.

13 years ago(ibuffer-mode-map): Don't redefine the cursor keys, since that's too annoying.
Lars Magne Ingebrigtsen [Sat, 9 Oct 2010 15:44:44 +0000 (17:44 +0200)]
(ibuffer-mode-map): Don't redefine the cursor keys, since that's too annoying.

Move the filter groups commands to TAB/backtab.

13 years ago* lisp/emacs-lisp/lisp.el (lisp-completion-at-point):
Stefan Monnier [Sat, 9 Oct 2010 15:43:43 +0000 (17:43 +0200)]
* lisp/emacs-lisp/lisp.el (lisp-completion-at-point):
Use emacs-lisp-mode-syntax-table for the whole function.

13 years agoDon't use foo() to talk about functions.
Lars Magne Ingebrigtsen [Sat, 9 Oct 2010 14:31:56 +0000 (16:31 +0200)]
Don't use foo() to talk about functions.

13 years ago(emacs_gnutls_write): Check for GNUTLS_E_AGAIN and not EINTR.
Lars Magne Ingebrigtsen [Sat, 9 Oct 2010 13:54:57 +0000 (15:54 +0200)]
(emacs_gnutls_write): Check for GNUTLS_E_AGAIN and not EINTR.

According to the documentation, this is correct, and it seems to
make things work.

13 years ago(epa-passphrase-callback-function): Say what we're querying the password for.
Lars Magne Ingebrigtsen [Sat, 9 Oct 2010 13:27:24 +0000 (15:27 +0200)]
(epa-passphrase-callback-function): Say what we're querying the password for.

13 years ago* ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
Lars Magne Ingebrigtsen [Sat, 9 Oct 2010 13:23:29 +0000 (15:23 +0200)]
* ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
behaviour, don't bury the ibuffer buffer when visiting other
buffers.

13 years agoMake emacs_gnutls_read() return the expected on errors.
Lars Magne Ingebrigtsen [Sat, 9 Oct 2010 13:19:30 +0000 (15:19 +0200)]
Make emacs_gnutls_read() return the expected on errors.

Also interface cleanups.

13 years ago(gdb-mouse-toggle-breakpoint-margin)
Nick Roberts [Sat, 9 Oct 2010 10:51:42 +0000 (23:51 +1300)]
(gdb-mouse-toggle-breakpoint-margin)
(gdb-mouse-toggle-breakpoint-fringe): Correct regexp to work when
breakpoint number exceeds nine.

13 years agonnir.el (nnir-read-parm): Fix call to gnus-completing-read.
Julien Danjou [Sat, 9 Oct 2010 09:14:46 +0000 (09:14 +0000)]
nnir.el (nnir-read-parm): Fix call to gnus-completing-read.

13 years agoshr,el: Allow shr table char to be customized.
Julien Danjou [Sat, 9 Oct 2010 08:44:12 +0000 (08:44 +0000)]
shr,el: Allow shr table char to be customized.
gnus-gravatar.el (gnus-gravatar-transform-address): Error errors when retrieving gravatars.

13 years agognus.texi: untabify.
Katsumi Yamaoka [Sat, 9 Oct 2010 04:22:17 +0000 (04:22 +0000)]
gnus.texi: untabify.

13 years agoFix hi-lock-mode interactions with font-lock.
David Koppelman [Sat, 9 Oct 2010 04:09:19 +0000 (00:09 -0400)]
Fix hi-lock-mode interactions with font-lock.
* hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
instead of font-lock-mode before adding keywords. Removed
hi-lock-mode off code. Removed inhibit hack.
(hi-lock-set-pattern): Only add keywords if font-lock-fontified
non-nil; removed hook inhibit hack.

13 years ago* xterm.c (x_draw_relief_rect): Clear corner pixels.
Chong Yidong [Sat, 9 Oct 2010 03:30:31 +0000 (23:30 -0400)]
* xterm.c (x_draw_relief_rect): Clear corner pixels.

13 years agoMore face customization cleanups.
Chong Yidong [Sat, 9 Oct 2010 03:23:38 +0000 (23:23 -0400)]
More face customization cleanups.

* cus-edit.el (custom-commands, custom-buffer-create-internal)
(custom-magic-value-create): Pad button tags with spaces.
(custom-face-edit): New variable.
(custom-face-value-create): Determine whether to use the usual
face editor here, instead of using custom-face-selected.  Pass
face defaults to custom-face-edit widget.
(custom-face-selected, custom-display-unselected): Delete widgets.
(custom-display-unselected-match): Function removed.
(custom-face-set, custom-face-mark-to-save): Accept
custom-face-edit widgets as the direct widget child.

* wid-edit.el (widget--completing-widget): New var.
(widget-default-complete): Bind it when doing completion.
(widget-string-complete, widget-file-complete): Use it.

13 years agoSmall simplifications for some cal-hebrew calculations.
Glenn Morris [Sat, 9 Oct 2010 02:25:38 +0000 (19:25 -0700)]
Small simplifications for some cal-hebrew calculations.

* lisp/calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
(holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
(holiday-hebrew-misc): Small simplifications.

13 years ago* configure.in: Combine some conditionals.
Glenn Morris [Sat, 9 Oct 2010 02:16:38 +0000 (19:16 -0700)]
* configure.in: Combine some conditionals.

13 years agoAdd doc/ dependencies on emacsver.texi.
Glenn Morris [Sat, 9 Oct 2010 02:09:46 +0000 (19:09 -0700)]
Add doc/ dependencies on emacsver.texi.

* doc/misc/Makefile.in ($(infodir)/efaq): Depend on emacsver.texi.

* doc/lispref/Makefile.in (srcs): Add emacsver.texi.

* doc/emacs/Makefile.in (EMACSSOURCES): Add emacsver.texi.

13 years agoRegenerate configure, src/config.in.
Glenn Morris [Sat, 9 Oct 2010 01:59:50 +0000 (18:59 -0700)]
Regenerate configure, src/config.in.

13 years ago* doc/misc/gnus.texi (Article Washing): Fix previous change.
Glenn Morris [Sat, 9 Oct 2010 01:49:20 +0000 (18:49 -0700)]
* doc/misc/gnus.texi (Article Washing): Fix previous change.

13 years agoSet the version number in the texinfo manuals using configure.
Glenn Morris [Sat, 9 Oct 2010 01:41:21 +0000 (18:41 -0700)]
Set the version number in the texinfo manuals using configure.

* doc/misc/Makefile.in (emacsdir): New variable.
($(infodir)/efaq): Pass -I $(emacsdir) to makeinfo.
* doc/misc/faq.texi (VER): Replace with EMACSVER from emacsver.texi.

* doc/lispref/Makefile.in (emacsdir): New variable.
(MAKEINFO): Add -I $emacsdir.
(dist): Copy emacsver.texi.
* doc/lispref/book-spine.texinfo, doc/lispref/elisp.texi:
* doc/lispref/vol2.texi, doc/lispref/vol1.texi:
Set EMACSVER by including emacsver.texi.

* doc/emacs/emacsver.texi.in: New file.
* doc/emacs/emacs.texi: Set EMACSVER by including emacsver.texi.
* doc/emacs/Makefile.in (distclean): Delete emacsver.texi.
(dist): Copy emacsver.texi.

* admin/admin.el (set-version): No need to act on doc/ files any more.

* configure.in (AC_OUTPUT): Add doc/emacs/emacsver.texi.
* make-dist: Include doc/emacs/*.texi.in.

13 years agoRemove lib-src/b2m.c and b2m.pl.
Glenn Morris [Sat, 9 Oct 2010 01:15:15 +0000 (18:15 -0700)]
Remove lib-src/b2m.c and b2m.pl.
Emacs does not use Babyl files since 23.1, and you can use M-x unrmail.

* msdos/mainmake.v2 (install): Remove b2m.

* lisp/emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.

* lib-src/b2m.c, lib-src/b2m.pl: Remove files.
* lib-src/Makefile.in (INSTALLABLES): Remove b2m.
* lib-src/makefile.w32-in ($(BLD)/b2m.$(O)): Remove.

* doc/emacs/ack.texi (Acknowledgments): No more b2m.c.

* admin/quick-install-emacs (PUBLIC_LIBSRC_BINARIES): Remove b2m.

* INSTALL, make-dist: Remove references to b2m.
* Makefile.in (MAN_PAGES): Remove b2m.1.

13 years agoMark some doc/ rules as PHONY.
Glenn Morris [Sat, 9 Oct 2010 01:02:21 +0000 (18:02 -0700)]
Mark some doc/ rules as PHONY.

* doc/misc/Makefile.in (.PHONY): Declare info, dvi, pdf and the clean rules.

* doc/lispref/Makefile.in (.PHONY): Declare info, dvi, pdf, dist.

* doc/lispintro/Makefile.in (.PHONY): Declare info, dvi, html, pdf, dist.

* doc/emacs/Makefile.in (.PHONY): Declare info, dvi, pdf, dist.
(emacs): Remove rule.
(dist): No need to deal with the emacs rule any more.

13 years agobrowse-url.el trivia.
Glenn Morris [Sat, 9 Oct 2010 00:52:12 +0000 (17:52 -0700)]
browse-url.el trivia.

* lisp/net/browse-url.el: Don't require thingatpt, term, dired,
executable, or w3-auto when compiling.
(dired-get-filename, term-char-mode, term-send-down, term-send-string):
Declare.
(browse-url-text-emacs): Require term.

13 years agoRename another shadow.el function.
Glenn Morris [Sat, 9 Oct 2010 00:44:53 +0000 (17:44 -0700)]
Rename another shadow.el function.

* lisp/emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
(load-path-shadows-find): ... to this.
(list-load-path-shadows): Update for above change.

13 years ago* lisp/mail/mail-utils.el (mail-mbox-from): Also try return-path.
Glenn Morris [Sat, 9 Oct 2010 00:41:03 +0000 (17:41 -0700)]
* lisp/mail/mail-utils.el (mail-mbox-from): Also try return-path.

(Per 8-year old observation:
http://lists.gnu.org/archive/html/bug-gnu-emacs/2002-06/msg00176.html )

13 years ago* doc/man/emacs.1: Update license description.
Ulrich Mueller [Sat, 9 Oct 2010 00:37:11 +0000 (17:37 -0700)]
* doc/man/emacs.1: Update license description.

13 years agoshr.el (shr-insert): Don't insert double spaces.
Gnus developers [Fri, 8 Oct 2010 23:55:33 +0000 (23:55 +0000)]
shr.el (shr-insert): Don't insert double spaces.
auth.texi (Help for users, GnuPG and EasyPG Assistant Configuration): Update docs.
gnus-registry.el, nnregistry.el: Remove nnregistry refer method auto-install and update docs.
gnus.texi (Finding the Parent, The Gnus Registry, Registry Article Refer Method): Update docs for nnregistry.el.
gnus-demon.el, gnus-group.el, gnus-msg.el, gnus-sum.el, gnus-util.el, gnus.el: Rename `gnus-pull' to `gnus-alist-pull'.
gnus.texi (Article Washing): Add mm-shr.
mm-decode.el (mm-text-html-renderer): Add mm-shr in choice list.

13 years ago* net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
Andreas Schwab [Fri, 8 Oct 2010 17:32:14 +0000 (19:32 +0200)]
* net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.

13 years ago* keyboard.c: Revert last change; it was not intended to be
Michael Albinus [Fri, 8 Oct 2010 12:41:49 +0000 (14:41 +0200)]
* keyboard.c: Revert last change; it was not intended to be
synchronized with the trunk.

13 years agognus.el (gnus-expand-group-parameter): Only return and act on what was matched.
Julien Danjou [Fri, 8 Oct 2010 12:16:05 +0000 (12:16 +0000)]
gnus.el (gnus-expand-group-parameter): Only return and act on what was matched.

13 years ago* dbusbind.c (xd_get_dispatch_status): Return a Lisp_Object.
Michael Albinus [Fri, 8 Oct 2010 11:40:23 +0000 (13:40 +0200)]
* dbusbind.c (xd_get_dispatch_status): Return a Lisp_Object.
(xd_pending_messages): Catch xd_get_dispatch_status calls.

13 years agoMerge changes from emacs-23 branch.
Juanma Barranquero [Fri, 8 Oct 2010 10:14:47 +0000 (12:14 +0200)]
Merge changes from emacs-23 branch.

13 years agoMention the bug number for the last change in make-dist.
Eli Zaretskii [Fri, 8 Oct 2010 09:52:34 +0000 (11:52 +0200)]
Mention the bug number for the last change in make-dist.

13 years agomake-dist: Don't distribute src/buildobj.h.
Eli Zaretskii [Fri, 8 Oct 2010 09:36:38 +0000 (11:36 +0200)]
make-dist: Don't distribute src/buildobj.h.

13 years agoRemove some tests for defunct system-types.
Glenn Morris [Fri, 8 Oct 2010 07:51:19 +0000 (00:51 -0700)]
Remove some tests for defunct system-types.
* lisp/vc/ediff-wind.el (ediff-setup-control-frame):
* lisp/vc/ediff-ptch.el (ediff-default-backup-extension):
* lisp/vc/ediff-diff.el (ediff-shell, ediff-diff-options)
(ediff-exec-process): Remove system-types emx, windows-95.

13 years ago* lisp/htmlfontify.el: Add utf-8 coding cookie (eg for ellipsis at l1686).
Glenn Morris [Fri, 8 Oct 2010 07:42:51 +0000 (00:42 -0700)]
* lisp/htmlfontify.el: Add utf-8 coding cookie (eg for ellipsis at l1686).

13 years agognus-gravatar.el (gnus-treat-from-gravatar, gnus-treat-mail-gravatar): Bind gnus...
Katsumi Yamaoka [Fri, 8 Oct 2010 07:35:21 +0000 (07:35 +0000)]
gnus-gravatar.el (gnus-treat-from-gravatar, gnus-treat-mail-gravatar): Bind gnus-gravatar-too-ugly to nil when called interactively.

13 years ago* xterm.c (x_draw_relief_rect): If box width is larger than 1,
Chong Yidong [Fri, 8 Oct 2010 05:02:56 +0000 (01:02 -0400)]
* xterm.c (x_draw_relief_rect): If box width is larger than 1,
draw the outermost line using the black relief, for legibility.
Omit drawing the four corner pixels.

13 years agoChangeLog fix.
Glenn Morris [Fri, 8 Oct 2010 03:27:49 +0000 (20:27 -0700)]
ChangeLog fix.

13 years ago* lisp/net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
Glenn Morris [Fri, 8 Oct 2010 03:23:31 +0000 (20:23 -0700)]
* lisp/net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)

13 years agoChangeLog fix.
Glenn Morris [Fri, 8 Oct 2010 03:19:47 +0000 (20:19 -0700)]
ChangeLog fix.

13 years agoetc/NEWS.
Glenn Morris [Fri, 8 Oct 2010 03:17:31 +0000 (20:17 -0700)]
etc/NEWS.

13 years ago* lisp/obsolete/cl-compat.el, lisp/obsolete/lmenu.el: Comments.
Glenn Morris [Fri, 8 Oct 2010 03:12:43 +0000 (20:12 -0700)]
* lisp/obsolete/cl-compat.el, lisp/obsolete/lmenu.el: Comments.

13 years ago* emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
Glenn Morris [Fri, 8 Oct 2010 03:08:32 +0000 (20:08 -0700)]
* emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.

13 years agoRename some shadow.el things.
Glenn Morris [Fri, 8 Oct 2010 03:05:09 +0000 (20:05 -0700)]
Rename some shadow.el things.

* lisp/emacs-lisp/shadow.el (lisp-shadow): Change prefix.
(shadows-compare-text-p): Make it an obsolete alias for...
(load-path-shadows-compare-text): ... new name.
(find-emacs-lisp-shadows): Update for above name change.
(load-path-shadows-same-file-or-nonexistent): New name for the old
shadow-same-file-or-nonexistent.

13 years agoMinor cl.texi change.
Glenn Morris [Fri, 8 Oct 2010 03:01:23 +0000 (20:01 -0700)]
Minor cl.texi change.

* doc/misc/cl.texi (Organization, Installation, Old CL Compatibility):
Deprecate cl-compat for new code.

13 years agomerge emacs-23
Kenichi Handa [Fri, 8 Oct 2010 02:23:11 +0000 (11:23 +0900)]
merge emacs-23

13 years agognus-art.el (gnus-mime-view-part-externally, gnus-mime-view-part-internally): Make...
Katsumi Yamaoka [Fri, 8 Oct 2010 02:12:56 +0000 (02:12 +0000)]
gnus-art.el (gnus-mime-view-part-externally, gnus-mime-view-part-internally): Make predicate function passed to gnus-mime-view-part-as-type assume argument is a mime type, not a list of a mime type.

13 years agoshr.el (shr-table-widths): Don't use cl function `reduce'.
Katsumi Yamaoka [Fri, 8 Oct 2010 01:51:08 +0000 (01:51 +0000)]
shr.el (shr-table-widths): Don't use cl function `reduce'.

13 years agocoding.c (complement_process_encoding_system): Fix previous change.
Kenichi Handa [Fri, 8 Oct 2010 00:43:16 +0000 (09:43 +0900)]
coding.c (complement_process_encoding_system): Fix previous change.

13 years agoImprovements to face customization interface.
Chong Yidong [Fri, 8 Oct 2010 00:05:12 +0000 (20:05 -0400)]
Improvements to face customization interface.

* lisp/cus-edit.el (custom-variable, custom-face): Doc fix.
(custom-face-edit): Add value-create attribute.
(custom-face-edit-value-create)
(custom-face-edit-value-visibility-action): New functions.  Hide
unused face attributes by default, and add a visibility toggle.
(custom-face-edit-deactivate): Show empty values with shadow face.
(custom-face-selected): Only use this for face specs with default
attributes.
(custom-face-value-create): Cleanup.

* lisp/wid-edit.el (widget-checklist-value-create): Use dolist.
(widget-checklist-match-find): Make second arg optional.

13 years agoMerge changes made in Gnus trunk.
Lars Magne Ingebrigtsen [Thu, 7 Oct 2010 22:26:11 +0000 (22:26 +0000)]
Merge changes made in Gnus trunk.

shr.el (shr-render-td): Use a cache for the table rendering function to avoid getting an exponential rendering behaviour in nested tables.
shr.el (shr-insert): Rework the line-breaking algorithm.
shr.el (shr-insert): Don't leave trailing spaces.
shr.el (shr-insert-table): Also insert empty TDs.
shr.el (shr-tag-blockquote): Ensure paragraphs after </ul>.
gnus-start.el (gnus-get-unread-articles): Require gnus-agent before bidning gnus-agent variables.
mm-decode.el (mm-save-part): If given a non-directory result, expand the file name before using to avoid setting mm-default-directory to nil.
gnus.el (gnus-carpal): The carpal mode has been removed, but define the variable for backwards compatability.
nnimap.el (nnimap-update-info): Remove double setting of high.
nnimap.el (nnimap-update-info): Don't ignore groups that have no UIDNEXT.
shr.el (require): Require cl when compiling.
shr.el (shr-tag-hr): New function.

13 years ago* lisp/gnus/gnus-sum.el (gnus-number): Rename from `number'.
Stefan Monnier [Thu, 7 Oct 2010 18:22:07 +0000 (20:22 +0200)]
* lisp/gnus/gnus-sum.el (gnus-number): Rename from `number'.
(gnus-article-marked-p, gnus-summary-limit-to-display-predicate)
(gnus-summary-limit-children): Update uses correspondingly.

13 years agoTiny hilit-chg.el change.
Glenn Morris [Thu, 7 Oct 2010 17:30:10 +0000 (10:30 -0700)]
Tiny hilit-chg.el change.
* lisp/hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
Prefix things.

13 years agoRename some more shadow.el stuff.
Glenn Morris [Thu, 7 Oct 2010 17:22:51 +0000 (10:22 -0700)]
Rename some more shadow.el stuff.
* lisp/emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords)
(load-path-shadows-find-file): Rename variable and button.
(list-load-path-shadows): Update button caller.

13 years agoRename shadow-mode.
Glenn Morris [Thu, 7 Oct 2010 17:17:18 +0000 (10:17 -0700)]
Rename shadow-mode.
* lisp/emacs-lisp/shadow.el (shadow-font-lock-keywords)
(load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
load-path-shadows-mode, update references.

13 years ago[Gnus] Introduce gnus-gravatar-too-ugly.
Katsumi Yamaoka [Thu, 7 Oct 2010 12:31:39 +0000 (12:31 +0000)]
[Gnus] Introduce gnus-gravatar-too-ugly.

gnus-gravatar.el (gnus-gravatar-too-ugly): New user option.
gnus-gravatar.el (gnus-gravatar-transform-address): Don't show avatars of people of which mail addresses match gnus-gravatar-too-ugly.
gnus.texi (Gravatars): Document gnus-gravatar-too-ugly.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Thu, 7 Oct 2010 11:46:01 +0000 (11:46 +0000)]
Merge changes made in Gnus trunk.

nnimap.el (nnimap-request-rename-group): Add this method.
shr.el: Keep track of the natural width of TD elements, so we know which ones to expand.
shr.el: Expand TD elements to fill available space.