bpt/emacs.git
13 years ago* nsterm.m (setFrame, initFrame): Make sure pixel_height doesn't become
Jan Djärv [Tue, 8 Feb 2011 07:19:20 +0000 (08:19 +0100)]
* nsterm.m (setFrame, initFrame): Make sure pixel_height doesn't become
zero.

Fixes: debbugs:7348

13 years agofaces.el fix for bug#7966.
Glenn Morris [Tue, 8 Feb 2011 04:10:15 +0000 (20:10 -0800)]
faces.el fix for bug#7966.

* lisp/faces.el (face-attr-match-p): Handle the obsolete :bold and
:italic props, so that frame-set-background-mode works.
(Otherwise such faces were always thought to be locally modified.)

13 years ago* lisp/simple.el (next-error): Doc fix.
Glenn Morris [Mon, 7 Feb 2011 17:41:11 +0000 (09:41 -0800)]
* lisp/simple.el (next-error): Doc fix.

13 years ago* lisp/files.el (copy-directory): New arg COPY-AS-SUBDIR.
Chong Yidong [Sun, 6 Feb 2011 04:59:06 +0000 (23:59 -0500)]
* lisp/files.el (copy-directory): New arg COPY-AS-SUBDIR.
If nil, don't copy as a subdirectory.

13 years ago* lisp/emacs-lisp/cl-macs.el (return-from): Fix doc typo.
Glenn Morris [Sat, 5 Feb 2011 22:03:44 +0000 (14:03 -0800)]
* lisp/emacs-lisp/cl-macs.el (return-from): Fix doc typo.

13 years agoLast remaining doc additions required by 23.3.
Chong Yidong [Sat, 5 Feb 2011 06:13:36 +0000 (01:13 -0500)]
Last remaining doc additions required by 23.3.

* doc/emacs/maintaining.texi (VC Change Log): Document vc-log-incoming and
vc-log-outgoing.
(Merging): Document vc-find-conflicted-file.

* doc/emacs/rmail.texi (Rmail Display): Document Rmail MIME support more
accurately.

* doc/lispref/commands.texi (Accessing Mouse): Note that a header line is not
included in the row of posn-col-row.

* etc/NEWS: Remove +++ and --- lines.

13 years agodiary-lib.el fix for bug#7891.
Glenn Morris [Fri, 4 Feb 2011 03:23:55 +0000 (19:23 -0800)]
diary-lib.el fix for bug#7891.

* lisp/calendar/diary-lib.el (diary-font-lock-keywords):
Tweak diary-time-regexp match.

13 years agof90.el fix for bug#7919.
Glenn Morris [Fri, 4 Feb 2011 03:21:11 +0000 (19:21 -0800)]
f90.el fix for bug#7919.

* lisp/progmodes/f90.el (f90-find-tag-default): New function.
(f90-mode): Use it for mode's `find-tag-default-function' property.

13 years ago* doc/emacs/custom.texi (Variables): Fix typo.
Glenn Morris [Fri, 4 Feb 2011 03:17:58 +0000 (19:17 -0800)]
* doc/emacs/custom.texi (Variables): Fix typo.

13 years ago* tramp.texi (Frequently Asked Questions): Mention problems with WinSSHD.
Michael Albinus [Thu, 3 Feb 2011 09:43:54 +0000 (10:43 +0100)]
* tramp.texi (Frequently Asked Questions): Mention problems with WinSSHD.

13 years ago* lisp/ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
Glenn Morris [Thu, 3 Feb 2011 07:02:52 +0000 (23:02 -0800)]
* lisp/ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)

Details:

An error in a filter would cause an infinite loop.
ibuffer-update calls ibuffer-redisplay-engine which calls
ibuffer-update which calls ibuffer-redisplay-engine, etc.

ibuffer-generate-filter-groups calls ibuffer-included-in-filters-p.
If ibuffer-included-in-filter-p-1 meets an unknown element in the
filter, it calls ibuffer-filter-disable, which calls ibuffer-update.
If the filters have not been properly disabled, we go round and round.

13 years agoDoc fixes related to face heights. (Bug#2659)
Glenn Morris [Thu, 3 Feb 2011 06:55:48 +0000 (22:55 -0800)]
Doc fixes related to face heights. (Bug#2659)

* lisp/faces.el (set-face-attribute): Doc fix.

* src/xfaces.c (Finternal_set_lisp_face_attribute):
Try to clarify some error messages.

13 years agoMake "etags --version" on Windows produce the same as on Posix platforms.
Eli Zaretskii [Wed, 2 Feb 2011 16:35:05 +0000 (18:35 +0200)]
Make "etags --version" on Windows produce the same as on Posix platforms.

 makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add
 ``-DVERSION="\"$(VERSION)\"" -DEMACS_NAME="\"GNU Emacs\""''.

13 years ago* pcomplete.el (pcomplete-here*): Backport fix for mistaken change
Stefan Monnier [Wed, 2 Feb 2011 16:20:26 +0000 (11:20 -0500)]
* pcomplete.el (pcomplete-here*): Backport fix for mistaken change
(bug#7959).

Fixes: debbugs:5935

13 years ago* src/editfns.c (save_restriction_restore): Don't forget to invalidate the
Stefan Monnier [Wed, 2 Feb 2011 15:53:20 +0000 (10:53 -0500)]
* src/editfns.c (save_restriction_restore): Don't forget to invalidate the
current_column cache.

Fixes: debbugs:7946

13 years agoBackport Bug#7931 from trunk.
Daiki Ueno [Wed, 2 Feb 2011 07:53:29 +0000 (16:53 +0900)]
Backport Bug#7931 from trunk.

* epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Don't
presume KEYEXPIRED and KEYREVOKED to be a fatal error status
(Bug#7931).

13 years agomerge emacs-23
Kenichi Handa [Wed, 2 Feb 2011 02:16:53 +0000 (11:16 +0900)]
merge emacs-23

13 years agoUse FC_DUAL only when it is defined.
Kenichi Handa [Wed, 2 Feb 2011 02:15:29 +0000 (11:15 +0900)]
Use FC_DUAL only when it is defined.

13 years ago* src/window.c (Fselect_window): Add missing return value.
Andreas Schwab [Tue, 1 Feb 2011 19:01:25 +0000 (20:01 +0100)]
* src/window.c (Fselect_window): Add missing return value.

13 years agoBump version to 23.2.93.
Chong Yidong [Tue, 1 Feb 2011 03:14:15 +0000 (22:14 -0500)]
Bump version to 23.2.93.

13 years agoBackport Bug#7933 fix from trunk.
Deniz Dogan [Mon, 31 Jan 2011 23:11:29 +0000 (18:11 -0500)]
Backport Bug#7933 fix from trunk.

* lisp/net/rcirc.el: Clean log filenames (Bug#7933).
(rcirc-log-write): Use convert-standard-filename.
(rcirc-log-filename-function): Documentation updates.

13 years agoFix an infloop in CC-mode (Bug#7595).
Alan Mackenzie [Mon, 31 Jan 2011 23:07:43 +0000 (18:07 -0500)]
Fix an infloop in CC-mode (Bug#7595).

* progmodes/cc-cmds.el (c-forward-over-illiterals): Continue
parsing if we encounter a naked # (Bug#7595).
(c-beginning-of-statement): Avoid loop in locating the beginning
of a macro.

13 years agoFix erasure of modeline by erc-track.
Antoine Levitt [Mon, 31 Jan 2011 19:16:19 +0000 (14:16 -0500)]
Fix erasure of modeline by erc-track.

http://lists.gnu.org/archive/html/emacs-devel/2010-08/msg00562.html

* erc-track.el (track): Don't reset erc-modified-channels-object
each time erc-track-mode is activated.

13 years ago* lisp/files.el (copy-directory): Fix arguments to the recursive call.
Chong Yidong [Mon, 31 Jan 2011 17:03:37 +0000 (12:03 -0500)]
* lisp/files.el (copy-directory): Fix arguments to the recursive call.

13 years agoFix use of pointers to image library functions
Andreas Schwab [Sat, 29 Jan 2011 23:56:33 +0000 (00:56 +0100)]
Fix use of pointers to image library functions

* src/image.c (DEF_IMGLIB_FN): Add parameter rettype, use it instead
of int.  All uses adjusted.
(PNG_JMPBUF, png_load, jpeg_load, tiff_load, gif_load)
(svg_load_image): Remove casts.

13 years agoFix macro definitions in last change to image.c
Chong Yidong [Sat, 29 Jan 2011 22:33:02 +0000 (17:33 -0500)]
Fix macro definitions in last change to image.c

13 years agoFix bug in copy-directory copying into an existing directory.
Chong Yidong [Sat, 29 Jan 2011 22:10:51 +0000 (17:10 -0500)]
Fix bug in copy-directory copying into an existing directory.

http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg01007.html

* files.el (copy-directory): If destination is an existing
directory, copy into a subdirectory there.

13 years agoFix png support to allow compiling with libpng-1.5 (Bug#7908).
Chong Yidong [Sat, 29 Jan 2011 21:28:26 +0000 (16:28 -0500)]
Fix png support to allow compiling with libpng-1.5 (Bug#7908).

* image.c (fn_png_longjmp, fn_png_set_longjmp_fn): New png
function definitions for compiling with libpng-1.5.
(PNG_LONGJMP, PNG_JMPBUF): New macros for libpng-1.5.
(my_png_error, png_load): Use them.  Suggested by Thomas Klausner.

13 years agoDon't complain about duplicate leim-list files
Andreas Schwab [Sat, 29 Jan 2011 09:44:40 +0000 (10:44 +0100)]
Don't complain about duplicate leim-list files

* lisp/emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
files.

13 years agoShorten menu description of "Other Display Specs" lispref node (Bug#7816).
Chong Yidong [Fri, 28 Jan 2011 19:19:36 +0000 (14:19 -0500)]
Shorten menu description of "Other Display Specs" lispref node (Bug#7816).

* vol1.texi (Top):
* vol2.texi (Top):
* elisp.texi (Top):
* display.texi (Display Property): Shorten the menu description of
the "Other Display Specs" node.

13 years agoFix gratuitous argument passing error in image-dired (Bug#7817).
Chong Yidong [Fri, 28 Jan 2011 18:09:59 +0000 (13:09 -0500)]
Fix gratuitous argument passing error in image-dired (Bug#7817).

* lisp/image-dired.el (image-dired-mouse-display-image): No-op if
no file is found.

13 years ago* search.texi (Regexps): Copyedits. Mention character classes (Bug#7809).
Chong Yidong [Fri, 28 Jan 2011 18:03:30 +0000 (13:03 -0500)]
* search.texi (Regexps): Copyedits.  Mention character classes (Bug#7809).

13 years agoAdd two cindex entries to Lisp manual (Bug#7805).
Chong Yidong [Fri, 28 Jan 2011 17:37:07 +0000 (12:37 -0500)]
Add two cindex entries to Lisp manual (Bug#7805).

* keymaps.texi (Defining Menus): Add "menu item" and "extended
menu item" concept index entries.

13 years agoRemove text on directory-abbrev-alist omitted in 2011-01-08 commit.
Chong Yidong [Fri, 28 Jan 2011 17:29:30 +0000 (12:29 -0500)]
Remove text on directory-abbrev-alist omitted in 2011-01-08 commit.

* files.texi (File Aliases): Restore explanatory text from Eli
Zaretskii, accidentally removed in 2011-01-08 commit.

13 years ago* mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
Chong Yidong [Fri, 28 Jan 2011 17:18:54 +0000 (12:18 -0500)]
* mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).

13 years ago* m/intel386.h: Define NO_ARG_ARRAY. Suggested by Dan Nicolaescu.
Chong Yidong [Fri, 28 Jan 2011 17:07:12 +0000 (12:07 -0500)]
* m/intel386.h: Define NO_ARG_ARRAY.  Suggested by Dan Nicolaescu.

13 years ago* lib-src/ntlib.c (setregid): New stub, renamed from setegid.
Chong Yidong [Fri, 28 Jan 2011 17:03:19 +0000 (12:03 -0500)]
* lib-src/ntlib.c (setregid): New stub, renamed from setegid.

* lib-src/ntlib.h: Update prototype.

13 years ago(quail-keyboard-layout-alist): Remove
Kenichi Handa [Fri, 28 Jan 2011 04:41:20 +0000 (13:41 +0900)]
(quail-keyboard-layout-alist): Remove
superfluous SPC for "pc105-uk" (bug#7927).

13 years ago* configure.in: Test existence of xaw3d library, not just the header (Bug#7642).
Chong Yidong [Thu, 27 Jan 2011 20:49:48 +0000 (15:49 -0500)]
* configure.in: Test existence of xaw3d library, not just the header (Bug#7642).

* configure: Regenerate.

13 years agomsb.el fix for bug #7902.
Glenn Morris [Thu, 27 Jan 2011 07:48:23 +0000 (23:48 -0800)]
msb.el fix for bug #7902.

* lisp/msb.el (msb-menu-bar-update-buffers): Update for changed
argument handling of menu-bar-select-frame.

13 years agoLimit recursion depth of c-forward-<>-arglist-recur (Bug#7722).
Chong Yidong [Thu, 27 Jan 2011 00:51:41 +0000 (19:51 -0500)]
Limit recursion depth of c-forward-<>-arglist-recur (Bug#7722).

* progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
to the recursion depth.

13 years agoFix GTK font name parsing to allow numbers in names (Bug#7853).
Chong Yidong [Thu, 27 Jan 2011 00:45:30 +0000 (19:45 -0500)]
Fix GTK font name parsing to allow numbers in names (Bug#7853).

A better fix is already in the trunk.

* src/font.c (font_parse_fcname): Require GTK-style font sizes to
occur at the end of the font string (Bug#7853).

13 years ago* term/ns-win.el (ns-find-file): Expand ns-input-file with
Jan Djärv [Wed, 26 Jan 2011 18:05:13 +0000 (19:05 +0100)]
* term/ns-win.el (ns-find-file): Expand ns-input-file with
  command-line-default-directory (Bug#7872).

NOTE: The trunk version is a bit different, I think there will be
merge conflicts.

13 years ago* src/font.c (font_parse_fcname): Fix typo in string length.
Chong Yidong [Wed, 26 Jan 2011 16:28:49 +0000 (11:28 -0500)]
* src/font.c (font_parse_fcname): Fix typo in string length.

13 years agoChangeLog fix: there was no change to ruby-expr-beg.
Glenn Morris [Tue, 25 Jan 2011 03:13:02 +0000 (19:13 -0800)]
ChangeLog fix: there was no change to ruby-expr-beg.

13 years ago* lisp/comint.el (comint-mode): Doc fix. (Bug#7897)
Glenn Morris [Tue, 25 Jan 2011 02:56:03 +0000 (18:56 -0800)]
* lisp/comint.el (comint-mode): Doc fix.  (Bug#7897)

13 years ago* xdisp.c (handle_fontified_prop): Be careful with font-lock changing
Stefan Monnier [Mon, 24 Jan 2011 22:05:52 +0000 (17:05 -0500)]
* xdisp.c (handle_fontified_prop): Be careful with font-lock changing
the buffer's point-max.

Fixes: debbugs:7876

13 years ago* files.el (file-name-non-special): Only change buffer-file-name after
Stefan Monnier [Mon, 24 Jan 2011 20:34:44 +0000 (15:34 -0500)]
* files.el (file-name-non-special): Only change buffer-file-name after
insert-file-contents if it's `visit'ing the file.

Fixes: debbugs:7854

13 years ago* lisp/gnus/nnbabyl: Fix typo in copyright years.
Glenn Morris [Mon, 24 Jan 2011 07:45:22 +0000 (23:45 -0800)]
* lisp/gnus/nnbabyl: Fix typo in copyright years.

13 years agoBackport copyright fix from trunk.
Glenn Morris [Mon, 24 Jan 2011 02:22:54 +0000 (18:22 -0800)]
Backport copyright fix from trunk.

* lisp/mwheel.el: Fix typo in copyright years.
Duplicate 2002 introduced in CVS r1.35.
2003 is a copyrightable year since Emacs 21.3 was released then.

13 years ago* movemail.c (main): Use setregid, as setegid is missing on HP-UX (Bug#6811).
Chong Yidong [Sun, 23 Jan 2011 22:58:52 +0000 (17:58 -0500)]
* movemail.c (main): Use setregid, as setegid is missing on HP-UX (Bug#6811).
Suggested by Peter O'Gorman.

13 years ago* lisp.h (XPNTR): Obey DATA_SEG_BITS in all non-USE_LSB_TAG cases (Bug#6811).
Chong Yidong [Sun, 23 Jan 2011 22:38:13 +0000 (17:38 -0500)]
* lisp.h (XPNTR): Obey DATA_SEG_BITS in all non-USE_LSB_TAG cases (Bug#6811).
Remove unused HAVE_SHM branch.

13 years agoTwo more hunks from the HP-UX patch at Bug#6811.
Peter O'Gorman [Sun, 23 Jan 2011 22:00:22 +0000 (17:00 -0500)]
Two more hunks from the HP-UX patch at Bug#6811.

* configure.in: Add HP-UX on IA64 (Bug#6811).
* src/s/hpux11.h: Set CANNOT_DUMP on IA64 (Bug#6811).

13 years ago* lwlib-Xm.c (xm_update_menu): Avoid a NULL pointer dereference (Bug#7690).
Werner Meisner [Sun, 23 Jan 2011 21:39:37 +0000 (16:39 -0500)]
* lwlib-Xm.c (xm_update_menu): Avoid a NULL pointer dereference (Bug#7690).

13 years ago* loading.texi (Library Search): Document list-load-path-shadows (Bug#7757).
Chong Yidong [Sun, 23 Jan 2011 20:34:12 +0000 (15:34 -0500)]
* loading.texi (Library Search): Document list-load-path-shadows (Bug#7757).

13 years ago* dired.el (dired-revert): Doc fix (Bug#7758).
Chong Yidong [Sun, 23 Jan 2011 20:06:51 +0000 (15:06 -0500)]
* dired.el (dired-revert): Doc fix (Bug#7758).

13 years agoMark tiny change.
Glenn Morris [Sun, 23 Jan 2011 03:32:41 +0000 (19:32 -0800)]
Mark tiny change.

13 years agoRemove outdated paragraph from Lisp manual (Bug#7780).
Chong Yidong [Sun, 23 Jan 2011 01:12:25 +0000 (20:12 -0500)]
Remove outdated paragraph from Lisp manual (Bug#7780).

* doc/lispref/searching.texi (Regexp Special): Remove outdated discussion of
character sets.

13 years agoMerge several fixes from upsteam ruby-mode.
Nobuyoshi Nakada [Sun, 23 Jan 2011 01:02:37 +0000 (20:02 -0500)]
Merge several fixes from upsteam ruby-mode.

* lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
here-doc which ends with an underscore.
(ruby-mode-set-encoding): Skip shebang line always.
(ruby-mode-map): Bind C-c C-c to comment-region.
(ruby-expr-beg, ruby-font-lock-keywords): Highlight literal hash
key labels as symbols.
(ruby-forward-sexp): Stop after literal hash key labels.
(ruby-font-lock-syntactic-keywords): Highlight regexp after open
bracket.

13 years ago* nt/iconcs/README: Add 2010, 2011 to FSF copyright years.
Glenn Morris [Sun, 23 Jan 2011 00:53:08 +0000 (16:53 -0800)]
* nt/iconcs/README: Add 2010, 2011 to FSF copyright years.

13 years ago* lisp/simple.el (do-auto-fill): Give it a doc string.
Glenn Morris [Sat, 22 Jan 2011 21:02:49 +0000 (13:02 -0800)]
* lisp/simple.el (do-auto-fill): Give it a doc string.

13 years agoFix toggling of case-fold-search from re-builder menu (Bug#7650).
Keitaro Miyazaki [Sat, 22 Jan 2011 20:54:27 +0000 (15:54 -0500)]
Fix toggling of case-fold-search from re-builder menu (Bug#7650).
* emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
the correct buffer.

13 years ago* frames.texi (Pop-Up Menus): Document where menu title comes from (Bug#7684).
Chong Yidong [Sat, 22 Jan 2011 20:25:23 +0000 (15:25 -0500)]
* frames.texi (Pop-Up Menus): Document where menu title comes from (Bug#7684).

13 years agoDoc fix for make-text-button.
Glenn Morris [Sat, 22 Jan 2011 20:10:17 +0000 (12:10 -0800)]
Doc fix for make-text-button.

* doc/lispref/display.texi (Making Buttons): Mention limitation of text buttons.

* lisp/button.el (make-text-button): Doc fix.  (See bug#7881)

13 years ago* simple.el (line-move-visual): Doc fix (Bug#7594).
Chong Yidong [Sat, 22 Jan 2011 19:29:10 +0000 (14:29 -0500)]
* simple.el (line-move-visual): Doc fix (Bug#7594).

13 years agoFix last change.
Chong Yidong [Sat, 22 Jan 2011 15:55:08 +0000 (10:55 -0500)]
Fix last change.

13 years ago* emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in menu item.
Chong Yidong [Sat, 22 Jan 2011 03:03:49 +0000 (22:03 -0500)]
* emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in menu item.

13 years agoRework 2011-01-15 changes to window.c.
Martin Rudalics [Sat, 22 Jan 2011 02:44:53 +0000 (21:44 -0500)]
Rework 2011-01-15 changes to window.c.

* src/window.c (select_window): New function.
(Fselect_window): Call it.
(inhibit_point_swap): Variable deleted.
(Fset_window_configuration): Call select_window directly.

13 years ago* lisp/comint.el (comint-replace-by-expanded-history-before-point): Fix
Roland McGrath [Fri, 21 Jan 2011 20:56:24 +0000 (15:56 -0500)]
* lisp/comint.el (comint-replace-by-expanded-history-before-point): Fix
expansion of !$ and !!:N syntax to pick the indicated word.

Fixes: debbugs:7883

13 years ago* lisp/progmodes/js.el (js--regexp-literal): Count backslashes.
Stefan Monnier [Fri, 21 Jan 2011 20:48:20 +0000 (15:48 -0500)]
* lisp/progmodes/js.el (js--regexp-literal): Count backslashes.

Fixes: debbugs:7882

13 years ago* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
Jari Aalto [Fri, 21 Jan 2011 18:12:32 +0000 (13:12 -0500)]
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
Assume foo(bar) is a manpage reference rather than some unquoted symbol.

Fixes: debbugs:7705

13 years ago* lisp/subr.el (shell-quote-argument): Properly quote \n.
Stefan Monnier [Fri, 21 Jan 2011 18:07:41 +0000 (13:07 -0500)]
* lisp/subr.el (shell-quote-argument): Properly quote \n.
Suggested by Flo <sensorflo@gmail.com>.

Fixes: debbugs:7687

13 years agocompile.el fix for bug#7812
Glenn Morris [Fri, 21 Jan 2011 05:04:45 +0000 (21:04 -0800)]
compile.el fix for bug#7812

* lisp/progmodes/compile.el (compilation-error-regexp-alist):
Fix custom type.

13 years ago* etc/PROBLEMS: Add note about svn+ssh. (Bug#7791)
Glenn Morris [Tue, 18 Jan 2011 02:31:59 +0000 (18:31 -0800)]
* etc/PROBLEMS: Add note about svn+ssh.  (Bug#7791)

13 years ago* emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
Stefan Monnier [Mon, 17 Jan 2011 21:42:23 +0000 (16:42 -0500)]
* emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
keymap expression.  Improve docstring.

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 \`.