bpt/emacs.git
13 years ago* image.c (syms_of_image): Don't access XSYMBOL's internals directly.
Stefan Monnier [Sun, 16 Jan 2011 15:40:47 +0000 (10:40 -0500)]
* image.c (syms_of_image): Don't access XSYMBOL's internals directly.

13 years agoFix bug #7848 with using SET_SYMBOL_VALUE in image.c
Eli Zaretskii [Sun, 16 Jan 2011 09:51:59 +0000 (04:51 -0500)]
Fix bug #7848 with using SET_SYMBOL_VALUE in image.c

!!!DO NOT MERGE TO THE TRUNK!!!

 image.c (syms_of_image): Don't use SET_SYMBOL_VALUE.

13 years agoBump version to 23.2.92.
Chong Yidong [Sat, 15 Jan 2011 03:50:47 +0000 (22:50 -0500)]
Bump version to 23.2.92.
Regenerate AUTHORS, configure, and ldefs-boot.el.

13 years ago* building.texi (Compilation): Improve instructions for running two compilations...
Chong Yidong [Sat, 15 Jan 2011 03:10:38 +0000 (22:10 -0500)]
* building.texi (Compilation): Improve instructions for running two compilations (Bug#7573).

13 years agoAvoid crash in Fselect_frame due to null selected_window (Bug#7728).
Martin Rudalics [Sat, 15 Jan 2011 02:55:58 +0000 (21:55 -0500)]
Avoid crash in Fselect_frame due to null selected_window (Bug#7728).

* window.c (inhibit_point_swap): New variable.
(Fselect_window): If inhibit_point_swap is nonzero, avoid swapping
point this time.
(Fset_window_configuration): Set inhibit_point_swap to 1 instead
of setting selected_window to nil (Bug#7728).

13 years agoMake last-resort backup file in .emacs.d (Bug#6953).
Mark Diekhans [Sat, 15 Jan 2011 02:32:19 +0000 (21:32 -0500)]
Make last-resort backup file in .emacs.d (Bug#6953).

* lisp/files.el (backup-buffer): Make last-resort backup file in
.emacs.d.

* lisp/subr.el (locate-user-emacs-file): If .emacs.d does not exist,
make it with permission 700.

* doc/emacs/files.texi (Backup Names): Document the new location of the
last-resort backup file.

13 years agomerge emacs-23
Kenichi Handa [Fri, 14 Jan 2011 04:08:30 +0000 (13:08 +0900)]
merge emacs-23

13 years agoFix setting of buffer-file-coding-system of RMAIL buffer.
Kenichi Handa [Fri, 14 Jan 2011 04:04:10 +0000 (13:04 +0900)]
Fix setting of buffer-file-coding-system of RMAIL buffer.

13 years ago* lisp/subr.el (event-start, event-end): Doc fix (Bug#7826).
Chong Yidong [Thu, 13 Jan 2011 05:12:01 +0000 (00:12 -0500)]
* lisp/subr.el (event-start, event-end): Doc fix (Bug#7826).

13 years ago* message.el (message-bury): Add special-case handling for Rmail.
Chong Yidong [Thu, 13 Jan 2011 04:24:31 +0000 (23:24 -0500)]
* message.el (message-bury): Add special-case handling for Rmail.
This should not be merged into the trunk.

13 years agomerge emacs-23
Kenichi Handa [Wed, 12 Jan 2011 06:11:40 +0000 (15:11 +0900)]
merge emacs-23

13 years agoAnother improvement of MIME handling in rmail.
Kenichi Handa [Wed, 12 Jan 2011 06:08:55 +0000 (15:08 +0900)]
Another improvement of MIME handling in rmail.

13 years ago* message.el (message-mail): A compose-mail function should accept headers as strings.
Glenn Morris [Wed, 12 Jan 2011 03:53:28 +0000 (19:53 -0800)]
* message.el (message-mail): A compose-mail function should accept headers as strings.

13 years agoDistinguish between terminfo and termcap on NetBSD (Bug#7642).
Chong Yidong [Wed, 12 Jan 2011 02:29:23 +0000 (21:29 -0500)]
Distinguish between terminfo and termcap on NetBSD (Bug#7642).

* configure.in [netbsd systems]: Check for tputs definition.

* src/config.in (TERMINFO): New definition.

* src/s/netbsd.h: Use it to choose between terminfo and termcap.

13 years agolisp/emulation/tpu-edt.el: Regenerate md5sum.
Chong Yidong [Wed, 12 Jan 2011 02:13:33 +0000 (21:13 -0500)]
lisp/emulation/tpu-edt.el: Regenerate md5sum.

13 years ago* tmm.el (tmm-get-keymap): Skip bindings without labels.
Stefan Monnier [Tue, 11 Jan 2011 02:28:48 +0000 (21:28 -0500)]
* tmm.el (tmm-get-keymap): Skip bindings without labels.
(tmm-prompt): Simplify.
(tmm-add-prompt): Remove unused var `win'.

Fixes: debbugs:7721

13 years ago* whitespace.el (global-whitespace-newline-mode): Fix call
Stefan Monnier [Tue, 11 Jan 2011 00:14:25 +0000 (19:14 -0500)]
* whitespace.el (global-whitespace-newline-mode): Fix call
to minor mode which used nil accidentally to mean "turn off".

Fixes: debbugs:7810

13 years ago* net/tramp.el (tramp-find-inline-compress)
Michael Albinus [Mon, 10 Jan 2011 20:36:09 +0000 (21:36 +0100)]
* net/tramp.el (tramp-find-inline-compress)
(tramp-get-inline-coding): Quote command after pipe symbol for
local calls under W32.  (Bug#6784)

13 years ago* net/tramp.el (tramp-default-method): Initialize with pscp/plink
Michael Albinus [Mon, 10 Jan 2011 19:42:46 +0000 (20:42 +0100)]
* net/tramp.el (tramp-default-method): Initialize with pscp/plink
only when running under W32.

13 years agoFix bug #6684 with shell pipelines on MS-Windows.
Eli Zaretskii [Sun, 9 Jan 2011 17:52:57 +0000 (19:52 +0200)]
Fix bug #6684 with shell pipelines on MS-Windows.

 progmodes/grep.el (grep-compute-defaults): Quote the program
 file name after the pipe symbol in Grep templates.
 jka-compr.el (jka-compr-partial-uncompress): Likewise.

Fixes: debbugs:6784

13 years agoFix permanancy of BUFFER-LIST arg to list-buffers-noselect (Bug#7749).
Lennart Borgman [Sat, 8 Jan 2011 22:15:51 +0000 (17:15 -0500)]
Fix permanancy of BUFFER-LIST arg to list-buffers-noselect (Bug#7749).

* buff-menu.el (Buffer-menu-buffer-list): New var.
(Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
restricted buffer list is not lost on revert (Bug#7749).

13 years agoMove directory-abbrev-alist doc from Lispref to Emacs manual.
Chong Yidong [Sat, 8 Jan 2011 22:01:13 +0000 (17:01 -0500)]
Move directory-abbrev-alist doc from Lispref to Emacs manual.

* doc/emacs/files.texi (File Aliases): Move directory-abbrev-alist doc from Lisp
manual.  Explain why directory-abbrev-alist elements should be anchored
(Bug#7777).

* doc/lispref/files.texi (Directory Names): Move directory-abbrev-alist doc to
Emacs manual.

13 years agoExplain why directory-abbrev-alist should be anchored (Bug#7777).
Chong Yidong [Sat, 8 Jan 2011 21:37:20 +0000 (16:37 -0500)]
Explain why directory-abbrev-alist should be anchored (Bug#7777).

* files.texi (Directory Names): Explain why directory-abbrev-alist
elements should be anchored (Bug#7777).

13 years ago* net/ldap.el (ldap-search-internal): Discard stderr output.
Eric Hanchrow [Sat, 8 Jan 2011 19:49:02 +0000 (14:49 -0500)]
* net/ldap.el (ldap-search-internal): Discard stderr output.

13 years agoFix bug #7777 with documentation of directory-abbrev-alist.
Eli Zaretskii [Fri, 7 Jan 2011 15:55:13 +0000 (17:55 +0200)]
Fix bug #7777 with documentation of directory-abbrev-alist.

 lisp/files.el (directory-abbrev-alist): Doc fix.
 doc/lispref/files.texi (Directory Names): Explain why FROM in
 directory-abbrev-alist should begin with \`.

13 years agoFix description of emacsclientw.exe.
Eli Zaretskii [Fri, 7 Jan 2011 15:32:12 +0000 (17:32 +0200)]
Fix description of emacsclientw.exe.

 msdog.texi (Windows Startup): Correct inaccurate description of
 differences between emacsclient.exe and emacsclientw.exe.

13 years ago* vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time):
Stefan Monnier [Thu, 6 Jan 2011 16:03:59 +0000 (11:03 -0500)]
* vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time):
Author names can have spaces.

Fixes: debbugs:7792

13 years agoFix handling of unknown MIME type (bug#7651).
Kenichi Handa [Tue, 4 Jan 2011 07:09:46 +0000 (16:09 +0900)]
Fix handling of unknown MIME type (bug#7651).

13 years agoBackport bug 7517 fixes from trunk.
Jan Djärv [Mon, 3 Jan 2011 21:26:22 +0000 (22:26 +0100)]
Backport bug 7517 fixes from trunk.

* coding.h (ENCODE_UTF_8): Remove "Used by ..." comment.

* nsfns.m (ns_set_name_iconic): Remove.
(ns_get_screen): Don't assign integer to f.
(ns_set_name_internal): New function.
(Vicon_title_format): Extern declare.
(ns_set_name): Call ns_set_name_internal.
(x_explicitly_set_name): Remove call to ns_set_name_iconic.
(x_implicitly_set_name): Ditto.
(x_set_title): Remove commet about EXPLICIT.  Call ns_set_name_internal.
(ns_set_name_as_filename): Encode name with ENCODE_UTF_8.
Always use buffer name for title and buffer filename only for
RepresentedFilename. Handle bad UTF-8 in buffer name (Bug#7517).

13 years agoDon't use png_jmpbuf, it doesn't work with dynamic loading.
Eli Zaretskii [Mon, 3 Jan 2011 19:32:41 +0000 (21:32 +0200)]
Don't use png_jmpbuf, it doesn't work with dynamic loading.

 image.c (png_jmpbuf): Remove definition.
 (my_png_error, png_load): Don't use png_jmpbuf.

13 years agoForgot to mark tiny change.
Glenn Morris [Mon, 3 Jan 2011 06:21:35 +0000 (22:21 -0800)]
Forgot to mark tiny change.

13 years agoAbbrev.el fix for bug #7733. (tiny change)
Brent Goodrick [Mon, 3 Jan 2011 06:13:35 +0000 (22:13 -0800)]
Abbrev.el fix for bug #7733.  (tiny change)

* lisp/abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
table, get the value before switching to the output buffer.

13 years ago* progmodes/python.el (python-mode): Don't impose font-lock.
Stefan Monnier [Mon, 3 Jan 2011 03:49:13 +0000 (22:49 -0500)]
* progmodes/python.el (python-mode): Don't impose font-lock.

Fixes: debbugs:3628

13 years ago* doc/misc/nxml-mode.texi (Introduction): Fix file name typos.
Eduard Wiebe [Mon, 3 Jan 2011 01:14:03 +0000 (17:14 -0800)]
* doc/misc/nxml-mode.texi (Introduction): Fix file name typos.

Fixes: debbugs:7770

13 years agoUpdate refcards/*.tex short copyright year to 2011.
Glenn Morris [Mon, 3 Jan 2011 00:39:50 +0000 (16:39 -0800)]
Update refcards/*.tex short copyright year to 2011.

* refcards/calccard.tex, refcards/cs-dired-ref.tex:
* refcards/cs-refcard.tex, refcards/cs-survival.tex:
* refcards/de-refcard.tex, refcards/dired-ref.tex:
* refcards/fr-dired-ref.tex, refcards/fr-refcard.tex:
* refcards/fr-survival.tex, refcards/orgcard.tex:
* refcards/pl-refcard.tex, refcards/pt-br-refcard.tex:
* refcards/refcard.tex, refcards/ru-refcard.tex:
* refcards/sk-dired-ref.tex, refcards/sk-refcard.tex:
* refcards/sk-survival.tex, refcards/survival.tex:
* refcards/vipcard.tex, refcards/viperCard.tex:
Update short copyright year to 2011.

13 years ago* admin/admin.el (set-copyright): Also handle \year in refcards/*.tex.
Glenn Morris [Mon, 3 Jan 2011 00:35:01 +0000 (16:35 -0800)]
* admin/admin.el (set-copyright): Also handle \year in refcards/*.tex.

13 years agoRevert accidental update of non-FSF copyright from 2010-01-13T08:35:10Z!rgm@gnu.org.
Glenn Morris [Mon, 3 Jan 2011 00:01:07 +0000 (16:01 -0800)]
Revert accidental update of non-FSF copyright from 2010-01-13T08:35:10Z!rgm@gnu.org.

13 years agoAdd 2011 to FSF/AIST copyright years.
Glenn Morris [Sun, 2 Jan 2011 23:50:46 +0000 (15:50 -0800)]
Add 2011 to FSF/AIST copyright years.

13 years agoRemove duplicate ChangeLog entry.
Glenn Morris [Sun, 2 Jan 2011 18:58:36 +0000 (10:58 -0800)]
Remove duplicate ChangeLog entry.

13 years ago* lisp/files.el (file-local-variables-alist): Make permanent-local.
Stefan Monnier [Sun, 2 Jan 2011 03:57:26 +0000 (22:57 -0500)]
* lisp/files.el (file-local-variables-alist): Make permanent-local.

Fixes: debbugs:7767

13 years ago* lisp/mail/mail-utils.el (mail-strip-quoted-names): Don't modify the
Mark Lillibridge [Sun, 2 Jan 2011 03:16:03 +0000 (22:16 -0500)]
* lisp/mail/mail-utils.el (mail-strip-quoted-names): Don't modify the
" *temp*" buffer.

Fixes: debbugs:7746

13 years agoSet short copyright year to 2011.
Glenn Morris [Sun, 2 Jan 2011 02:46:30 +0000 (18:46 -0800)]
Set short copyright year to 2011.

* lib-src/ebrowse.c (version) <emacs_copyright>:
* lib-src/etags.c (print_version) <emacs_copyright>:
* lib-src/rcs2log (Copyright):
* lisp/version.el (emacs-copyright):
* nextstep/Cocoa/Emacs.base/Contents/Info.plist:
* nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
* nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
Set short copyright year to 2011.

13 years agoMail-utils fix for bug#7746. (tiny change)
Mark Lillibridge [Sun, 2 Jan 2011 02:43:26 +0000 (18:43 -0800)]
Mail-utils fix for bug#7746.  (tiny change)

* lisp/mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
an existing temp buffer.

13 years agoSmall mail-utils fix for bug 7760.
Glenn Morris [Sun, 2 Jan 2011 02:35:23 +0000 (18:35 -0800)]
Small mail-utils fix for bug 7760.

* lisp/mail/mail-utils.el (mail-mbox-from): Handle From: headers with
multiple addresses.

13 years ago* net/tramp.el (tramp-methods): Add recursive options to "scpc",
Michael Albinus [Fri, 31 Dec 2010 20:17:53 +0000 (21:17 +0100)]
* net/tramp.el (tramp-methods): Add recursive options to "scpc",
"scpx", "pscp" and "psftp".

Please do not sync with the trunk.

13 years agoMore elegant solution for accessing png_ptr without GCC warnings.
Eli Zaretskii [Fri, 31 Dec 2010 16:33:40 +0000 (18:33 +0200)]
More elegant solution for accessing png_ptr without GCC warnings.

 image.c (png_jmpbuf): New macro.
 (my_png_error, png_load): Use it instead of #ifdef'ing according
 to PNG_LIBPNG_VER_MAJOR and PNG_LIBPNG_VER_MINOR.

13 years agont/configure.bat (end): Unset environment variables used by this batch file.
Eli Zaretskii [Fri, 31 Dec 2010 13:12:11 +0000 (15:12 +0200)]
nt/configure.bat (end): Unset environment variables used by this batch file.

13 years agoFix bug #7716 with PNG image support libraries on Windows.
Eli Zaretskii [Fri, 31 Dec 2010 12:38:06 +0000 (14:38 +0200)]
Fix bug #7716 with PNG image support libraries on Windows.

 src/image.c <Qlibpng_version>: New variable.
 (syms_of_image): Intern and staticpro it.  Set its value to the
 version of PNG library we were compiled with.
 (my_png_error, png_load): Avoid GCC warnings about direct access
 to png_ptr->jmpbuf.
 lisp/term/w32-win.el (image-library-alist): Set up correctly for
 libpng versions both before and after 1.4.0.
 admin/nt/README.W32: Update the information about PNG support libraries.
 nt/INSTALL: Update the information about PNG support libraries.

13 years ago* rmail.texi (Rmail Display): Edit for grammar and conciseness.
Chong Yidong [Thu, 30 Dec 2010 12:39:41 +0000 (20:39 +0800)]
* rmail.texi (Rmail Display): Edit for grammar and conciseness.

13 years ago* emacsclient.1: Arrange options alphabetically (Bug#7620).
Jari Aalto [Wed, 29 Dec 2010 03:42:53 +0000 (11:42 +0800)]
* emacsclient.1: Arrange options alphabetically (Bug#7620).

13 years ago* src/.gdbinit (xgetptr): Fix the union+lsb case.
Stefan Monnier [Mon, 27 Dec 2010 15:27:52 +0000 (10:27 -0500)]
* src/.gdbinit (xgetptr): Fix the union+lsb case.
(xbacktrace): Fix the union case.

13 years agormail.texi (Rmail Display): Describe new features of Rmail in Info.
Kenichi Handa [Mon, 27 Dec 2010 11:03:58 +0000 (20:03 +0900)]
rmail.texi (Rmail Display): Describe new features of Rmail in Info.

13 years ago* src/window.c (Fmove_to_window_line): Avoid abort when called in a buffer
Stefan Monnier [Sun, 26 Dec 2010 04:04:58 +0000 (23:04 -0500)]
* src/window.c (Fmove_to_window_line): Avoid abort when called in a buffer
different from selected-window's.

13 years agoFix wording of changes in 2010-05-17T00:01:22Z!rgm@gnu.org.
Eli Zaretskii [Sat, 25 Dec 2010 19:20:45 +0000 (21:20 +0200)]
Fix wording of changes in 2010-05-17T00:01:22Z!rgm@gnu.org.

  frames.texi (Cut/Paste Other App): Ckarify Windows emulation of
  the primary selection.

13 years agoFix bug #7662 with aligning key bindings equivalent to menu items.
Eli Zaretskii [Sat, 25 Dec 2010 17:19:57 +0000 (19:19 +0200)]
Fix bug #7662 with aligning key bindings equivalent to menu items.

 keyboard.c (parse_menu_item): Prepend "  " to the key sequence
 equivalent of a menu item when the key sequence is given by the
 `:keys' attribute.

13 years agoFix bug #7713 with doc string of display-time-mode.
Eli Zaretskii [Sat, 25 Dec 2010 11:50:34 +0000 (13:50 +0200)]
Fix bug #7713 with doc string of display-time-mode.

 time.el (display-time-mode): Mention display-time-interval in
 the doc string.

13 years agoFix bug #7702 with docs of selections wrt MS-Windows.
Eli Zaretskii [Sat, 25 Dec 2010 11:34:45 +0000 (13:34 +0200)]
Fix bug #7702 with docs of selections wrt MS-Windows.

 doc/emacs/frames.texi (Cut and Paste): Modify the section's name and text:
 don't mix "cut/paste" with "kill/yank".
 (Cut/Paste Other App): Describe the per-session emulation of PRIMARY.
 lisp/simple.el (select-active-regions): Doc fix.

13 years agoFix bug #7667: mention debug-on-quit in the manual.
Eli Zaretskii [Sat, 25 Dec 2010 10:35:16 +0000 (12:35 +0200)]
Fix bug #7667: mention debug-on-quit in the manual.

 trouble.texi (Checklist): Mention debug-on-quit.

13 years agoMore fallout from fixing bug #7587.
Eli Zaretskii [Sat, 25 Dec 2010 10:14:48 +0000 (12:14 +0200)]
More fallout from fixing bug #7587.

 src/xdisp.c (Fformat_mode_line): Doc fix: no need to state that only
 the basic faces are supported.
 doc/lispref/modes.texi (Emulating Mode Line): Fix last change.
 etc/NEWS: Remove the entry about format-mode-line accepting only
 basic faces.

13 years agoFix error handling of MIME parsing.
Kenichi Handa [Fri, 24 Dec 2010 14:00:14 +0000 (23:00 +0900)]
Fix error handling of MIME parsing.

13 years agoFix wording of rmail's section in NEWS.
Kenichi Handa [Fri, 24 Dec 2010 11:21:26 +0000 (20:21 +0900)]
Fix wording of rmail's section in NEWS.

13 years ago* xterm.c (x_check_fullscreen): Fix pixel/character mixup.
Jan Djärv [Fri, 24 Dec 2010 10:14:44 +0000 (11:14 +0100)]
* xterm.c (x_check_fullscreen): Fix pixel/character mixup.

13 years agoUpdate autoloads in rmail.el
Andreas Schwab [Fri, 24 Dec 2010 09:07:39 +0000 (10:07 +0100)]
Update autoloads in rmail.el

13 years agoEnable display mode of MIME message in rmail.
Kenichi Handa [Fri, 24 Dec 2010 04:38:22 +0000 (13:38 +0900)]
Enable display mode of MIME message in rmail.

13 years ago* help-fns.el (describe-variable): Fix 2010-12-17 change (Bug#7511).
Leo Liu [Mon, 20 Dec 2010 11:31:15 +0000 (19:31 +0800)]
* help-fns.el (describe-variable): Fix 2010-12-17 change (Bug#7511).

13 years ago* lisp/isearch.el (isearch-lazy-highlight-error): New variable.
Juri Linkov [Mon, 20 Dec 2010 01:18:15 +0000 (01:18 +0000)]
* lisp/isearch.el (isearch-lazy-highlight-error): New variable.
(isearch-lazy-highlight-new-loop): Compare `isearch-error' and
`isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
to the current value of `isearch-error' (Bug#7468).

13 years agoMinor doc fix for manual; bug#7674
Glenn Morris [Sat, 18 Dec 2010 21:28:51 +0000 (13:28 -0800)]
Minor doc fix for manual; bug#7674

* doc/emacs/maintaining.texi: Move inclusion of emerge after EDE, so
that it matches its position in the menu.

13 years agoFallout from fixing bug #7587.
Eli Zaretskii [Sat, 18 Dec 2010 08:53:28 +0000 (10:53 +0200)]
Fallout from fixing bug #7587.

 doc/lispref/modes.texi (Emulating Mode Line): Update documentation of
 format-mode-line according to changes that fixed bug #7587.

 etc/NEWS: Mention the incompatible change in format-mode-line wrt its
 FACE argument.

13 years agoFix change that fixed bug #7587.
Eli Zaretskii [Fri, 17 Dec 2010 15:38:37 +0000 (17:38 +0200)]
Fix change that fixed bug #7587.

 xdisp.c (Fformat_mode_line): Fix last change.

13 years ago* lisp/help-fns.el (describe-variable): Don't emit trailing whitespace (Bug#7511).
Chong Yidong [Fri, 17 Dec 2010 11:38:22 +0000 (19:38 +0800)]
* lisp/help-fns.el (describe-variable): Don't emit trailing whitespace (Bug#7511).

13 years ago* lisp/mail/binhex.el: Improve commentary (Bug#7482).
Chong Yidong [Fri, 17 Dec 2010 11:16:10 +0000 (19:16 +0800)]
* lisp/mail/binhex.el: Improve commentary (Bug#7482).

13 years agoMinor fix for eshell-previous-matching-input (Bug#7585).
Leo Liu [Fri, 17 Dec 2010 11:04:40 +0000 (19:04 +0800)]
Minor fix for eshell-previous-matching-input (Bug#7585).

* lisp/eshell/em-hist.el (eshell-previous-matching-input): Signal error
if point is not behind eshell-last-output-end (Bug#7585).

13 years ago* xdisp.c (Fformat_mode_line): Restrict the FACE argument to basic faces (Bug#7587).
Chong Yidong [Thu, 16 Dec 2010 02:13:28 +0000 (10:13 +0800)]
* xdisp.c (Fformat_mode_line): Restrict the FACE argument to basic faces (Bug#7587).

13 years agoUse make-temp-file in rst.el (Bug#7646).
Chong Yidong [Thu, 16 Dec 2010 01:11:21 +0000 (09:11 +0800)]
Use make-temp-file in rst.el (Bug#7646).

* textmodes/rst.el (rst-compile-pdf-preview)
(rst-compile-slides-preview): Use make-temp-file.

13 years agoFix error in last commit.
Chong Yidong [Wed, 15 Dec 2010 01:33:11 +0000 (09:33 +0800)]
Fix error in last commit.

13 years ago* emulation/edt-mapper.el: Override mapping of function keys
Kevin Gallagher [Wed, 15 Dec 2010 01:26:56 +0000 (09:26 +0800)]
* emulation/edt-mapper.el: Override mapping of function keys
so that the later call to read-key-sequence works.

13 years ago* doc/emacs/trouble.texi (Checklist): Mention not replying via news either.
Glenn Morris [Tue, 14 Dec 2010 04:22:49 +0000 (20:22 -0800)]
* doc/emacs/trouble.texi (Checklist): Mention not replying via news either.

13 years agoFix bug #7617 with documentation of expand-file-name.
Eli Zaretskii [Mon, 13 Dec 2010 16:13:29 +0000 (18:13 +0200)]
Fix bug #7617 with documentation of expand-file-name.

 fileio.c (Fexpand_file_name): One more doc fix.

13 years agoFix bug #7589 with EOL format in smtpmail's queued mail.
Eli Zaretskii [Mon, 13 Dec 2010 15:12:01 +0000 (17:12 +0200)]
Fix bug #7589 with EOL format in smtpmail's queued mail.

 mail/smtpmail.el (smtpmail-send-it): Write queued mail body with Unix EOLs.

13 years agosubr.el (posn-col-row): Evaluate header-line-format in the context of
Eli Zaretskii [Sun, 12 Dec 2010 20:45:57 +0000 (22:45 +0200)]
subr.el (posn-col-row): Evaluate header-line-format in the context of
 the POSITION window's buffer.

13 years agoDocument that expand-file-name collapses multiple slashes. (Bug#7617)
Eli Zaretskii [Sun, 12 Dec 2010 20:37:54 +0000 (22:37 +0200)]
Document that expand-file-name collapses multiple slashes.  (Bug#7617)

 fileio.c (Fexpand_file_name): Doc fix.

13 years agoFallout from bug #7563.
Eli Zaretskii [Sat, 11 Dec 2010 18:45:53 +0000 (20:45 +0200)]
Fallout from bug #7563.

 processes.texi (Shell Arguments):
 strings.texi (Creating Strings): Don't mention "shell commands";
 make it explicit that `split-string-and-unquote' and
 `combine-and-quote-strings' are mainly for working with arguments
 to call-process and start-process.

13 years agoFix bug #7398 with truncated glyphs in tooltip display on w32.
Eli Zaretskii [Sat, 11 Dec 2010 15:20:11 +0000 (17:20 +0200)]
Fix bug #7398 with truncated glyphs in tooltip display on w32.

 w32fns.c (Fx_show_tip): Call try_window with last argument
 TRY_WINDOW_IGNORE_FONTS_CHANGE.  Delete the TODO ifdef: problem
 solved.  Round up the tip height to an integral multiple of the
 frame's line height.  Add FRAME_COLUMN_WIDTH to the tip width.

13 years agoCode cleanup in xdisp.c regarding string_char_and_length.
Eli Zaretskii [Sat, 11 Dec 2010 12:27:13 +0000 (14:27 +0200)]
Code cleanup in xdisp.c regarding string_char_and_length.

 xdisp.c (string_pos_nchars_ahead, c_string_pos)
 (face_before_or_after_it_pos, next_element_from_string)
 (next_element_from_c_string, produce_stretch_glyph): Remove unused
 calculations of maximum string length before calling
 string_char_and_length and STRING_CHAR_AND_LENGTH.
 (string_char_and_length): Update commentary: MAXLEN is no longer
 needed.

13 years agoFix bug #7563 with docs of split-string-and-unquote.
Eli Zaretskii [Sat, 11 Dec 2010 09:41:45 +0000 (11:41 +0200)]
Fix bug #7563 with docs of split-string-and-unquote.

 processes.texi (Shell Arguments): Fix documentation of
 `split-string-and-unquote'.  Add indexing.

13 years agoFix bug #7576 with lack of index entries for character syntax.
Eli Zaretskii [Sat, 11 Dec 2010 09:11:32 +0000 (11:11 +0200)]
Fix bug #7576 with lack of index entries for character syntax.

 custom.texi (Init Syntax): Add index entries for "character syntax".

13 years ago* doc/emacs/text.texi (HTML Mode): Small fixes.
Karel Klíc [Sat, 11 Dec 2010 02:37:16 +0000 (18:37 -0800)]
* doc/emacs/text.texi (HTML Mode): Small fixes.

Fixes: debbugs:7607

13 years agoDoc fixes.
Glenn Morris [Sat, 11 Dec 2010 02:34:55 +0000 (18:34 -0800)]
Doc fixes.
* lisp/subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
(with-silent-modifications): Doc fixes.

13 years ago[Backport from trunk]: * make-dist: Exclude etc/*.pyc.
Glenn Morris [Sat, 11 Dec 2010 02:32:10 +0000 (18:32 -0800)]
[Backport from trunk]: * make-dist: Exclude etc/*.pyc.

13 years agoMove call to Fkill_emacs from signal handler (session event) (Bug#7552).
Jan Djärv [Fri, 10 Dec 2010 18:23:43 +0000 (19:23 +0100)]
Move call to Fkill_emacs from signal handler (session event) (Bug#7552).

* keyboard.c (kbd_buffer_get_event): Construct SAVE_SESSION_EVENT
as (Qsave_session arg).

* xsmfns.c (smc_interact_CB): Set arg to Qnil.
(smc_die_CB): Make an event with arg Qt.
(Fhandle_save_session): If event has Qt as argument,
call Fkill_emacs.

13 years agoBump version to 23.2.91.
Chong Yidong [Fri, 10 Dec 2010 17:46:40 +0000 (12:46 -0500)]
Bump version to 23.2.91.
Regenerate configure and ldefs-boot.el.

13 years ago* net/tramp.el (tramp-action-password, tramp-process-actions):
Michael Albinus [Fri, 10 Dec 2010 04:14:57 +0000 (05:14 +0100)]
* net/tramp.el (tramp-action-password, tramp-process-actions):
Revert patch from 2010-12-08.  Use `save-restriction'.

13 years ago* doc/emacs/trouble.texi (Checklist): Fix typo in newsgroup name.
Glenn Morris [Fri, 10 Dec 2010 03:33:51 +0000 (19:33 -0800)]
* doc/emacs/trouble.texi (Checklist): Fix typo in newsgroup name.

13 years agoCommit missing file from 2010-05-15T00:48:53Z!rgm@gnu.org.
Jan Moringen [Fri, 10 Dec 2010 03:31:52 +0000 (19:31 -0800)]
Commit missing file from 2010-05-15T00:48:53Z!rgm@gnu.org.

Fixes: debbugs:7505

13 years agoFix bug #1077 with popping new frames from a minibuffer-only frame.
Eli Zaretskii [Thu, 9 Dec 2010 18:53:17 +0000 (20:53 +0200)]
Fix bug #1077 with popping new frames from a minibuffer-only frame.

Do NOT merge with trunk!

 menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p): New functions.
 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>: Use
 them instead of `nil' and `>', respectively.

13 years agodiary-lib fix for bug#7536.
Stephen Berman [Thu, 9 Dec 2010 01:50:08 +0000 (17:50 -0800)]
diary-lib fix for bug#7536.
* lisp/calendar/diary-lib.el (diary-list-sexp-entries):
Handle case of no newline at end of file.

13 years ago* lisp/mail/smtpmail.el (smtpmail-send-it): Revert previous change.
Glenn Morris [Thu, 9 Dec 2010 01:46:03 +0000 (17:46 -0800)]
* lisp/mail/smtpmail.el (smtpmail-send-it): Revert previous change.
(convert-standard-filename means it was bogus.)

13 years ago* net/tramp.el (tramp-handle-start-file-process): Protect
Michael Albinus [Wed, 8 Dec 2010 20:07:25 +0000 (21:07 +0100)]
* net/tramp.el (tramp-handle-start-file-process): Protect
buffer-modified value.  (Bug#7557)
(tramp-action-password): Delete region, do not narrow.
(tramp-process-actions): Do not widen.

13 years ago* lisp/log-edit.el (log-edit-changelog-entries): Regexp quote filename.
Jan Moringen [Wed, 8 Dec 2010 03:42:00 +0000 (19:42 -0800)]
* lisp/log-edit.el (log-edit-changelog-entries): Regexp quote filename.

Fixes: debbugs:7505

13 years ago* lisp/cus-edit.el (custom-save-all): Bind print-length and print-level to nil.
Tom Breton [Wed, 8 Dec 2010 03:36:01 +0000 (19:36 -0800)]
* lisp/cus-edit.el (custom-save-all): Bind print-length and print-level to nil.

Fixes: debbugs:7581