]> git.eshelyaron.com Git - emacs.git/log
emacs.git
13 years ago* lisp/info.el (Info-history-skip-intermediate-nodes): New defcustom.
Juri Linkov [Tue, 20 Sep 2011 20:16:42 +0000 (23:16 +0300)]
* lisp/info.el (Info-history-skip-intermediate-nodes): New defcustom.
(Info-forward-node, Info-backward-node, Info-next-preorder)
(Info-last-preorder): Use it.

Fixes: debbugs:9528
13 years agoFix bidi-aware cursor motion inside indentation.
Eli Zaretskii [Tue, 20 Sep 2011 17:42:16 +0000 (20:42 +0300)]
Fix bidi-aware cursor motion inside indentation.

 src/xdisp.c (Fcurrent_bidi_paragraph_direction): Fix search for previous
 non-empty line.  Fixes confusing cursor motion with arrow keys at
 the beginning of a line that starts with whitespace.

13 years agoFix bug #9549 with longlines-show-hard-newlines.
Eli Zaretskii [Tue, 20 Sep 2011 17:13:45 +0000 (20:13 +0300)]
Fix bug #9549 with longlines-show-hard-newlines.

 src/xdisp.c (set_cursor_from_row): If the row ends in a newline from
 a display string, extend search for cursor position to end of row.
 (find_row_edges): If the row ends in a newline from a display
 string, increment its MATRIX_ROW_END_CHARPOS by one.
 Handle the case of a display string with multiple newlines.

13 years ago* lisp/info.el (Info-last-preorder): Visit last menu item only when
Juri Linkov [Tue, 20 Sep 2011 16:28:07 +0000 (19:28 +0300)]
* lisp/info.el (Info-last-preorder): Visit last menu item only when
`Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).

13 years agopassword-cache.el (password-cache-remove): Remove entries even if the value is nil...
Julien Danjou [Tue, 20 Sep 2011 14:08:04 +0000 (14:08 +0000)]
password-cache.el (password-cache-remove): Remove entries even if the value is nil, so that password with a nil value (negative caching) is possible to invalidate.
auth-source.el (auth-source-format-cache-entry): New function.

13 years agoAuto-commit of loaddefs files.
Glenn Morris [Tue, 20 Sep 2011 10:18:55 +0000 (06:18 -0400)]
Auto-commit of loaddefs files.

13 years agoTweak previous f90.el change.
Glenn Morris [Tue, 20 Sep 2011 06:36:45 +0000 (23:36 -0700)]
Tweak previous f90.el change.

13 years ago* mh-e.el (Version, mh-version): Update for release 8.3. mh-e-8.3
Bill Wohler [Tue, 20 Sep 2011 04:56:51 +0000 (21:56 -0700)]
* mh-e.el (Version, mh-version): Update for release 8.3.

13 years ago* mh-show.el (mh-unvisit-file): Clarify language in yes-or-no-p and
Bill Wohler [Tue, 20 Sep 2011 04:56:09 +0000 (21:56 -0700)]
* mh-show.el (mh-unvisit-file): Clarify language in yes-or-no-p and
error messages.

13 years ago* NEWS, MH-E-NEWS: Update for MH-E release 8.3.
Bill Wohler [Tue, 20 Sep 2011 04:51:59 +0000 (21:51 -0700)]
* NEWS, MH-E-NEWS: Update for MH-E release 8.3.

13 years agoFixes for f90.el filling in comments (bug#9553)
Lawrence Mitchell [Tue, 20 Sep 2011 04:12:05 +0000 (21:12 -0700)]
Fixes for f90.el filling in comments (bug#9553)

* lisp/progmodes/f90.el (f90-break-line): If breaking inside comment delete
all whitespace around breakpoint.
(f90-find-breakpoint): Only break at whitespace inside a comment.

13 years ago* lisp/minibuffer.el (completion-file-name-table): Keep track of errors.
Stefan Monnier [Tue, 20 Sep 2011 01:06:29 +0000 (21:06 -0400)]
* lisp/minibuffer.el (completion-file-name-table): Keep track of errors.
(completion-table-with-predicate): Handle the case where pred1 is nil.
* lisp/pcomplete.el (pcomplete-completions-at-point): Simplify.

Fixes: debbugs:9160
13 years agognus-fun.el (gnus-convert-image-to-x-face-command): Doc fix.
Katsumi Yamaoka [Tue, 20 Sep 2011 00:21:58 +0000 (00:21 +0000)]
gnus-fun.el (gnus-convert-image-to-x-face-command): Doc fix.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Mon, 19 Sep 2011 22:06:57 +0000 (22:06 +0000)]
Merge changes made in Gnus trunk.

mm-decode.el (mm-inline-media-tests): Fix typo in regexp.
auth-source.el (auth-source-netrc-parse): Use an obfuscation method which work with things that are not ASCII.

13 years ago* lisp/emacs-lisp/debug.el (debugger-args): Give it a docstring.
Stefan Monnier [Mon, 19 Sep 2011 21:14:23 +0000 (17:14 -0400)]
* lisp/emacs-lisp/debug.el (debugger-args): Give it a docstring.
(debugger-return-value): Signal an error if the debugging context does
not await any return value.

13 years ago* lisp/ps-mule.el (ps-mule-plot-string): Don't inf-loop.
Stefan Monnier [Mon, 19 Sep 2011 19:27:30 +0000 (15:27 -0400)]
* lisp/ps-mule.el (ps-mule-plot-string): Don't inf-loop.
* lisp/image-mode.el (image-toggle-display-text)
(image-toggle-display-image): Stay away from evil `intangible'.

Fixes: debbugs:5108
13 years agoFixes for Occur Edit mode.
Leo Liu [Mon, 19 Sep 2011 18:57:55 +0000 (14:57 -0400)]
Fixes for Occur Edit mode.

* replace.el (occur-revert-arguments): Make it permanent-local.
(occur-mode): Don't call font-lock-defontify.

13 years agoAdd missing ChangeLog entry for ldap.el change in 2011-09-17T21:28:17Z!cyd@stupidchic...
Chong Yidong [Mon, 19 Sep 2011 18:45:55 +0000 (14:45 -0400)]
Add missing ChangeLog entry for ldap.el change in 2011-09-17T21:28:17Z!cyd@stupidchicken.com.

13 years ago* lisp/whitespace.el (whitespace-newline-mode): Disable it right.
Stefan Monnier [Mon, 19 Sep 2011 18:06:14 +0000 (14:06 -0400)]
* lisp/whitespace.el (whitespace-newline-mode): Disable it right.

Fixes: debbugs:9550
13 years agoorg/org.el: Add FIXMEs for odd chunks of code
Stefan Monnier [Mon, 19 Sep 2011 16:48:36 +0000 (12:48 -0400)]
org/org.el: Add FIXMEs for odd chunks of code

13 years ago* .dir-locals.el: Change the debbugs regexp to allow having the bug number as the...
Lars Magne Ingebrigtsen [Mon, 19 Sep 2011 08:26:50 +0000 (10:26 +0200)]
* .dir-locals.el: Change the debbugs regexp to allow having the bug number as the first thing on a line.

13 years ago* lread.c (Fread_from_string): Document what FINAL-STRING-INDEX is.
Lars Magne Ingebrigtsen [Mon, 19 Sep 2011 08:25:35 +0000 (10:25 +0200)]
* lread.c (Fread_from_string): Document what FINAL-STRING-INDEX is.

Fixes: debbugs:9493
13 years ago* errors.texi (Standard Errors): Remove apparent placeholder text (bug#9491).
Lars Magne Ingebrigtsen [Mon, 19 Sep 2011 08:14:13 +0000 (10:14 +0200)]
* errors.texi (Standard Errors): Remove apparent placeholder text (bug#9491).

13 years ago* net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
Michael Albinus [Mon, 19 Sep 2011 06:53:45 +0000 (08:53 +0200)]
* net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
Suggested by Liam Stitt <stittl@cuug.ab.ca>.

13 years agoCapitalize non-function content words in menu item strings.
Juri Linkov [Sun, 18 Sep 2011 20:43:20 +0000 (23:43 +0300)]
Capitalize non-function content words in menu item strings.

* lisp/buff-menu.el (Buffer-menu-mode-map):
* lisp/dired.el (dired-mode-map):
* lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
(lisp-interaction-mode-map):
* lisp/emacs-lisp/package.el (package-menu-mode-map):
* lisp/epa.el (epa-key-list-mode-map):
* lisp/menu-bar.el (menu-bar-showhide-tool-bar-menu)
(menu-bar-options-menu):
* lisp/outline.el (outline-mode-menu-bar-map):
* lisp/vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
* lisp/vc/vc-dir.el (vc-dir-menu-map):
* lisp/vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
Capitalize non-function content words in menu item strings.

* lisp/dired.el (dired-mode-map): Add menu item for
`image-dired-dired-toggle-marked-thumbs'.

13 years agoPreserve current isearch case-fold value in `isearch-edit-string'.
Juri Linkov [Sun, 18 Sep 2011 20:28:45 +0000 (23:28 +0300)]
Preserve current isearch case-fold value in `isearch-edit-string'.

* lisp/isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
to `isearch-case-fold-search' and restore its original value
after the `isearch-mode' call.

13 years ago* lisp/progmodes/grep.el (grep-process-setup): Don't check code for 1
Juri Linkov [Sun, 18 Sep 2011 20:20:08 +0000 (23:20 +0300)]
* lisp/progmodes/grep.el (grep-process-setup): Don't check code for 1
because `zgrep' returns 1 for successful matches.

Fixes: debbugs:9226
13 years ago* lisp/info.el (Info-extract-menu-node-name): Check the second match
Juri Linkov [Sun, 18 Sep 2011 20:14:16 +0000 (23:14 +0300)]
* lisp/info.el (Info-extract-menu-node-name): Check the second match
for empty string (second test-case of bug#9528).
(Info-last-preorder): Let-bind `Info-history' to nil to not add
intermediate nodes to the history (first test-case of bug#9528).

13 years agoFix handling of X resource for window icons.
Chong Yidong [Sun, 18 Sep 2011 20:01:37 +0000 (16:01 -0400)]
Fix handling of X resource for window icons.

* src/xfns.c (Fx_create_frame): Handle bitmapIcon resource as a boolean.

* doc/emacs/cmdargs.texi (Icons X): Fix description of Emacs icon.

* doc/emacs/xresources.texi (Table of Resources): Fix documentation of
bitmapIcon.

* doc/lispref/frames.texi (Management Parameters): Fix description of
icon-type parameter.

Fixes: debbugs:9154
13 years ago* lisp/info.el (Info-mode-syntax-table): New variable.
Juri Linkov [Sun, 18 Sep 2011 19:56:12 +0000 (22:56 +0300)]
* lisp/info.el (Info-mode-syntax-table): New variable.
(Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'.

Fixes: debbugs:3312
13 years ago* lisp/info.el (Info-file-supports-index-cookies): Increment
Juri Linkov [Sun, 18 Sep 2011 19:49:13 +0000 (22:49 +0300)]
* lisp/info.el (Info-file-supports-index-cookies): Increment
line-beginning-position's arg from 3 to 4 because makeinfo outputs
one more line for long file names.

Fixes: debbugs:4142
13 years agoFix bug #9545 with crash in Dired when $ is pressed.
Eli Zaretskii [Sun, 18 Sep 2011 19:02:17 +0000 (22:02 +0300)]
Fix bug #9545 with crash in Dired when $ is pressed.

 src/xdisp.c (reseat_at_next_visible_line_start): Undo the change made on
 2011-09-17 that saved paragraph information and restored it after
 the call to `reseat'.

13 years agoFix for uncommentin in Fundamental mode.
Chong Yidong [Sun, 18 Sep 2011 18:10:01 +0000 (14:10 -0400)]
Fix for uncommentin in Fundamental mode.

* newcomment.el (comment-normalize-vars): If prompting for
comment-start, set comment-start-skip too.

Fixes: debbugs:8424
13 years agoFix a bug in :align-to on a TTY when the column is beyond frame width.
Eli Zaretskii [Sun, 18 Sep 2011 16:17:40 +0000 (19:17 +0300)]
Fix a bug in :align-to on a TTY when the column is beyond frame width.

 src/xdisp.c (produce_stretch_glyph): Don't subtract 1 "pixel" when
 computing width of the stretch on a TTY.

13 years agoFix previous fix of Bug#5849.
Johan Bockgård [Sun, 18 Sep 2011 16:13:01 +0000 (12:13 -0400)]
Fix previous fix of Bug#5849.

* icomplete.el (icomplete-mode): Don't set completion-show-inline-help.
(icomplete-minibuffer-setup): Set completion-show-inline-help
locally during icompletion.

13 years agoFix yet another woman parser snafu.
Chong Yidong [Sun, 18 Sep 2011 16:03:48 +0000 (12:03 -0400)]
Fix yet another woman parser snafu.

* woman.el (woman2-process-escapes): Don't delete unrecognized
escapes (Bug#7843).

13 years agoFix bug #9530 on a TTY.
Eli Zaretskii [Sun, 18 Sep 2011 15:48:12 +0000 (18:48 +0300)]
Fix bug #9530 on a TTY.

 src/xdisp.c (display_line): Record maximum and minimum buffer
 positions even if no glyphs were produced (e.g., by a zero-width
 stretch).  Fixes bug#9530 on a TTY.  Under word-wrap, don't record
 buffer positions that will be removed from the glyph row because
 they don't fit.

13 years agoAllow visiting files with malformed prop-lines.
Chong Yidong [Sun, 18 Sep 2011 15:30:10 +0000 (11:30 -0400)]
Allow visiting files with malformed prop-lines.

* files.el (inhibit-first-line-modes-regexps): Add image files.
(hack-local-variables-prop-line): Return nil for malformed prop-lines.

Fixes: debbugs:9044
13 years agoMerge changes from emacs-23 branch
Chong Yidong [Sun, 18 Sep 2011 15:21:57 +0000 (11:21 -0400)]
Merge changes from emacs-23 branch

13 years agosrc/xdisp.c (reseat_at_next_visible_line_start): Fix last change.
Eli Zaretskii [Sun, 18 Sep 2011 15:16:47 +0000 (18:16 +0300)]
src/xdisp.c (reseat_at_next_visible_line_start): Fix last change.

13 years ago* net/tramp.el (top): Don't require 'shell.
Michael Albinus [Sun, 18 Sep 2011 11:26:15 +0000 (13:26 +0200)]
* net/tramp.el (top): Don't require 'shell.
(tramp-methods): Fix docstring.
(tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
Return complete remote file name.  Handle "smb" case.  Use
`tramp-tmpdir', if defined for the respective method.
(tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.

* net/tramp-compat.el (top): Require 'shell.

* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
`tramp-current-host'.
(tramp-get-remote-tmpdir): Remove.

* net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
`tramp-tmpdir' entries.
(tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
(tramp-smb-handle-file-attributes): Ignore errors.
(tramp-smb-wait-for-output): Check also for process end.

13 years agoFix minor problem found by static checking.
Paul Eggert [Sun, 18 Sep 2011 09:01:39 +0000 (02:01 -0700)]
Fix minor problem found by static checking.

* xdisp.c (reseat_at_next_visible_line_start): Mark locals as
initialized, to pacify gcc -Wuninitialized.

13 years ago* fileio.c: Report proper errno when syscall falls.
Paul Eggert [Sun, 18 Sep 2011 08:34:09 +0000 (01:34 -0700)]
* fileio.c: Report proper errno when syscall falls.

(Finsert_file_contents): Save and restore errno,
so that report_file_error outputs the correct diagnostic.
(Fwrite_region) [CLASH_DETECTION]: Likewise.

13 years ago(smtpmail-via-smtp): Ignore errors that arise when sending QUIT.
Lars Magne Ingebrigtsen [Sun, 18 Sep 2011 07:36:20 +0000 (09:36 +0200)]
(smtpmail-via-smtp): Ignore errors that arise when sending QUIT.

Fixes: debbugs:9312
13 years agosrc/xdisp.c: Revert inadvertently committed changes.
Eli Zaretskii [Sun, 18 Sep 2011 07:36:10 +0000 (03:36 -0400)]
src/xdisp.c: Revert inadvertently committed changes.

13 years agosrc/.gdbinit (pgx): Fix references to fields of `struct glyph'.
Eli Zaretskii [Sun, 18 Sep 2011 07:33:04 +0000 (03:33 -0400)]
src/.gdbinit (pgx): Fix references to fields of `struct glyph'.

13 years ago* lisp/replace.el (occur-mode-map): Rebind occur-edit-mode to "e".
Chong Yidong [Sat, 17 Sep 2011 21:28:17 +0000 (17:28 -0400)]
* lisp/replace.el (occur-mode-map): Rebind occur-edit-mode to "e".
(occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
occur-mode-display-occurrence.
(occur-edit-mode): Add usage message.
(occur-cease-edit): New command.
(occur-after-change-function): Use text properties to find the
position of the prefix text.
(occur-engine): Set stickiness of prefix text properties.

Fixes: debbugs:8463
13 years ago* doc/lispref/tips.texi: Don't bind a key sequence ending in C-g.
Chong Yidong [Sat, 17 Sep 2011 19:49:57 +0000 (15:49 -0400)]
* doc/lispref/tips.texi: Don't bind a key sequence ending in C-g.
Suggested by Edward O'Connor.

13 years agocomplete-tag fix for bug#9526
Glenn Morris [Sat, 17 Sep 2011 19:05:52 +0000 (12:05 -0700)]
complete-tag fix for bug#9526

* lisp/progmodes/etags.el (complete-tag):
Fix call to completion-in-region. (cf info-complete).

13 years ago* doc/man/emacs.1: Escape a dash.
Sven Joachim [Sat, 17 Sep 2011 18:43:04 +0000 (11:43 -0700)]
* doc/man/emacs.1: Escape a dash.

13 years agoFix bug #9530 with incorrect display of zero-width stretch.
Eli Zaretskii [Sat, 17 Sep 2011 18:21:24 +0000 (21:21 +0300)]
Fix bug #9530 with incorrect display of zero-width stretch.

 src/xdisp.c (produce_stretch_glyph): Another fix for changes made on
 2011-08-30T17:32:44Z!eliz@gnu.org.

13 years agoFix bug #9470 with slow redisplay in huge single-paragraph buffers.
Eli Zaretskii [Sat, 17 Sep 2011 15:18:56 +0000 (18:18 +0300)]
Fix bug #9470 with slow redisplay in huge single-paragraph buffers.

 src/bidi.c (MAX_PARAGRAPH_SEARCH): New macro.
 (bidi_find_paragraph_start): Search back for paragraph beginning
 at most MAX_PARAGRAPH_SEARCH lines; if not found, return BEGV_BYTE.
 (bidi_move_to_visually_next): Only trigger paragraph-related
 computations when the last character is a newline or at EOB, not
 just any NEUTRAL_B.
 src/xdisp.c (reseat_at_next_visible_line_start): Keep information
 about the current paragraph and restore it after the call to
 reseat.

13 years agoFix typos.
Juanma Barranquero [Sat, 17 Sep 2011 12:19:04 +0000 (14:19 +0200)]
Fix typos.

13 years ago* lisp/textmodes/ispell.el (ispell-word): Add to the error message
Juri Linkov [Sat, 17 Sep 2011 12:07:50 +0000 (15:07 +0300)]
* lisp/textmodes/ispell.el (ispell-word): Add to the error message
the word, ispell program name and current dictionary.
(ispell-tex-arg-end): Capitalize "error" in the error message.

Fixes: debbugs:9121
13 years agomm-decode.el (mm-inline-media-tests): Support imagemagick images.
Lars Magne Ingebrigtsen [Sat, 17 Sep 2011 12:02:10 +0000 (12:02 +0000)]
mm-decode.el (mm-inline-media-tests): Support imagemagick images.

13 years ago* lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
Andreas Schwab [Sat, 17 Sep 2011 09:29:01 +0000 (11:29 +0200)]
* lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
check.  (Bug#4251)

13 years agoFix bug #9525 with indexing most-positive/negative-fixnum.
Eli Zaretskii [Sat, 17 Sep 2011 08:18:48 +0000 (11:18 +0300)]
Fix bug #9525 with indexing most-positive/negative-fixnum.

 doc/lispref/numbers.texi (Integer Basics): Add indexing for
 most-positive-fixnum and most-negative-fixnum.

13 years agoFix bug #9524 with cursor positioning on display strings in truncated lines.
Eli Zaretskii [Sat, 17 Sep 2011 08:09:45 +0000 (11:09 +0300)]
Fix bug #9524 with cursor positioning on display strings in truncated lines.

 src/xdisp.c (set_cursor_from_row): Don't invoke special treatment of
 truncated lines if point is covered by a display string.

13 years agoIndent.
Lars Magne Ingebrigtsen [Sat, 17 Sep 2011 04:53:25 +0000 (06:53 +0200)]
Indent.

13 years agolisp/window.el (window-safe-min-height, window-safe-min-width): Fix typos.
Juri Linkov [Sat, 17 Sep 2011 00:46:59 +0000 (02:46 +0200)]
lisp/window.el (window-safe-min-height, window-safe-min-width): Fix typos.

Fixes: debbugs:9522
13 years agolisp/window.el (window-min-width, window-state-put): Fix typos (bug#9522).
Sven Joachim [Sat, 17 Sep 2011 00:42:13 +0000 (02:42 +0200)]
lisp/window.el (window-min-width, window-state-put): Fix typos (bug#9522).

13 years agoRemove inadvertent x permissions from 4 images.
Paul Eggert [Fri, 16 Sep 2011 19:49:18 +0000 (12:49 -0700)]
Remove inadvertent x permissions from 4 images.

13 years ago* xselect.c: Relax test for outgoing X longs (Bug#9498).
Paul Eggert [Fri, 16 Sep 2011 17:49:29 +0000 (10:49 -0700)]
* xselect.c: Relax test for outgoing X longs (Bug#9498).

(cons_to_x_long): New function.
(lisp_data_to_selection_data): Use it.  Correct the test for
short-versus-long data; it was negated.  Break out of vector
loop, for efficiency, when a long datum is discovered.

13 years agoFix bug #971 with next/previous-line when goal-column is set.
Eli Zaretskii [Fri, 16 Sep 2011 17:15:16 +0000 (20:15 +0300)]
Fix bug #971 with next/previous-line when goal-column is set.

 lisp/simple.el (line-move): If goal-column is set, move by logical
 lines, not by display lines.
 (next-line, previous-line, goal-column, line-move-visual): Doc fix
 to reflect the above change.

13 years ago* src/eval.c (Fquote): Document its non-consing behavior.
Stefan Monnier [Fri, 16 Sep 2011 14:14:48 +0000 (10:14 -0400)]
* src/eval.c (Fquote): Document its non-consing behavior.

Fixes: debbugs:9482
13 years ago* lisp/image.el (imagemagick-register-types): Use regexp-opt.
Stefan Monnier [Fri, 16 Sep 2011 13:46:42 +0000 (09:46 -0400)]
* lisp/image.el (imagemagick-register-types): Use regexp-opt.

13 years agoFix a compilation error with MinGW GCC 3.x in tiff_handler.
Eli Zaretskii [Fri, 16 Sep 2011 10:25:39 +0000 (13:25 +0300)]
Fix a compilation error with MinGW GCC 3.x in tiff_handler.

 src/image.c (tiff_handler): Work around a bug in MinGW GCC 3.x (see
 GCC PR/17406) by declaring this function with external scope.

13 years ago* editfns.c (Fformat): Fix bug in text-property fix (Bug#9514).
Paul Eggert [Thu, 15 Sep 2011 18:11:37 +0000 (11:11 -0700)]
* editfns.c (Fformat): Fix bug in text-property fix (Bug#9514).

Don't mishandle (length (format "%%")) and (format "%4000s%%" "").

13 years agoFix my ChangeLog entry.
Paul Eggert [Thu, 15 Sep 2011 17:41:25 +0000 (10:41 -0700)]
Fix my ChangeLog entry.

13 years agoFix a typo in comment from 2011-09-15T15:41:03Z!eliz@gnu.org.
Eli Zaretskii [Thu, 15 Sep 2011 17:37:16 +0000 (20:37 +0300)]
Fix a typo in comment from 2011-09-15T15:41:03Z!eliz@gnu.org.

13 years ago* src/editfns.c (Fformat): Correctly handle text properties on "%%".
Andreas Schwab [Thu, 15 Sep 2011 16:56:07 +0000 (18:56 +0200)]
* src/editfns.c (Fformat): Correctly handle text properties on "%%".

13 years agoAdd comments about special meaning of TAB characters in compositions.
Eli Zaretskii [Thu, 15 Sep 2011 16:22:58 +0000 (19:22 +0300)]
Add comments about special meaning of TAB characters in compositions.

 src/xterm.c (x_draw_composite_glyph_string_foreground):
 src/w32term.c (x_draw_composite_glyph_string_foreground):
 src/term.c (encode_terminal_code):
 src/composite.c (composition_update_it, get_composition_id):
 src/xdisp.c (get_next_display_element)
 (fill_composite_glyph_string): Add comments about special meaning
 of TAB characters in a composition.

13 years ago* editfns.c (Fformat): Fix off-by-1 bug for "%%b" (Bug#9514).
Paul Eggert [Thu, 15 Sep 2011 16:10:37 +0000 (09:10 -0700)]
* editfns.c (Fformat): Fix off-by-1 bug for "%%b" (Bug#9514).

This occurs when processing a multibyte format, which can happen
when using 'eval'.  Problem reported by Wolfgang Jenker.

13 years agoFix bug #9495 with cursor positioning on truncated lines.
Johan Bockgård [Thu, 15 Sep 2011 16:02:49 +0000 (19:02 +0300)]
Fix bug #9495 with cursor positioning on truncated lines.
Patch by Johan Bockgוrd <bojohan@gnu.org>

 src/xdisp.c (try_cursor_movement): Only check for exact match if
 cursor hpos found by set_cursor_from_row is valid.  (Bug#9495)

13 years agoxdisp.c (hscroll_window_tree): Sync comment with the code.
Eli Zaretskii [Thu, 15 Sep 2011 15:41:03 +0000 (18:41 +0300)]
xdisp.c (hscroll_window_tree): Sync comment with the code.

13 years agoMake the user customizable display-buffer variable empty by default.
Chong Yidong [Thu, 15 Sep 2011 15:12:15 +0000 (11:12 -0400)]
Make the user customizable display-buffer variable empty by default.

* lisp/window.el (display-buffer-base-action): Rename from
display-buffer-default-action.  Make default value empty.
(display-buffer-overriding-action): Convert to defvar.
(display-buffer-fallback-action): New var.

13 years agoAuto-commit of generated files.
Glenn Morris [Thu, 15 Sep 2011 10:18:44 +0000 (06:18 -0400)]
Auto-commit of generated files.

13 years agognus-sum.el (gnus-summary-read-group-1): Bump the "Retrieving" message level.
Lars Magne Ingebrigtsen [Thu, 15 Sep 2011 05:46:40 +0000 (05:46 +0000)]
gnus-sum.el (gnus-summary-read-group-1): Bump the "Retrieving" message level.

13 years ago* configure.in: (C_SWITCH_X_SYSTEM): Enable GNUstep to find its headers.
Glenn Morris [Thu, 15 Sep 2011 03:01:25 +0000 (20:01 -0700)]
* configure.in: (C_SWITCH_X_SYSTEM): Enable GNUstep to find its headers.

13 years agoMake the GNUstep port at least be able to configure.
Glenn Morris [Thu, 15 Sep 2011 02:32:55 +0000 (19:32 -0700)]
Make the GNUstep port at least be able to configure.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-08/msg00938.html

* configure.in: (_NATIVE_OBJC_EXCEPTIONS): New AC_DEFINE.
(GNU_OBJC_CFLAGS): Add -fobjc-exceptions when needed.

13 years ago* doc/emacs/package.texi (Package Menu): Add package-menu-mark-upgrades.
Chong Yidong [Thu, 15 Sep 2011 02:10:52 +0000 (22:10 -0400)]
* doc/emacs/package.texi (Package Menu): Add package-menu-mark-upgrades.

13 years agoAdd package-menu-mark-upgrades to the Package Menu menu bar map.
Chong Yidong [Thu, 15 Sep 2011 02:05:17 +0000 (22:05 -0400)]
Add package-menu-mark-upgrades to the Package Menu menu bar map.

13 years agoAdd an "mark upgradable packages" command to Package Menu mode.
Chong Yidong [Thu, 15 Sep 2011 01:57:54 +0000 (21:57 -0400)]
Add an "mark upgradable packages" command to Package Menu mode.

* lisp/emacs-lisp/package.el (package-alist): Fix risky-local-variable
declaration.
(package--add-to-archive-contents): If there is a duplicate entry
with an older version, remove it.
(package-menu-mark-delete, package-menu-mark-install)
(package-menu-mark-unmark): Make unused args optional.
(package-menu-mark-obsolete-for-deletion): Use
package-menu-get-status instead of a regexp search.
(package-menu-get-status): Use tabulated-list-entry.
(package-menu-mark-upgrades): New command.
(package-menu-mode-map): Bind it to U.
(package-menu-execute): Do installation before deletion.
(package-menu-refresh, package-menu-execute): Use derived-mode-p
instead of checking major-mode.
(package-menu--find-upgrades): New function.

13 years agomessage.el (message-read-from-minibuffer): Make abbrev expansion work.
Katsumi Yamaoka [Thu, 15 Sep 2011 01:08:08 +0000 (01:08 +0000)]
message.el (message-read-from-minibuffer): Make abbrev expansion work.

13 years agoUpdate the process marker so that the "broken by peer" status message is inserted...
Lars Magne Ingebrigtsen [Wed, 14 Sep 2011 22:57:57 +0000 (00:57 +0200)]
Update the process marker so that the "broken by peer" status message is inserted in the right place.

13 years ago(smtpmail-send-command): Don't include AUTH passwords in the log buffer
Lars Magne Ingebrigtsen [Wed, 14 Sep 2011 21:59:50 +0000 (23:59 +0200)]
(smtpmail-send-command): Don't include AUTH passwords in the log buffer

13 years agoRemove unused external symbols.
Paul Eggert [Wed, 14 Sep 2011 21:45:51 +0000 (14:45 -0700)]
Remove unused external symbols.

* dispextern.h (calc_pixel_width_or_height): Remove decl.
* xdisp.c (calc_pixel_width_or_height): Now static.
* doprnt.c (exprintf) [! (HAVE_X_WINDOWS && USE_X_TOOLKIT)]: Remove.
* indent.c (check_display_width):
* w32term.c: Fix comment to match code.
* xterm.c, xterm.h (x_catching_errors): Remove.

13 years ago* textmodes/bibtex.el (bibtex-complete-string-cleanup)
Stefan Monnier [Wed, 14 Sep 2011 21:43:36 +0000 (17:43 -0400)]
* textmodes/bibtex.el (bibtex-complete-string-cleanup)
(bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
bibtex-completion-at-point-function.
(bibtex-completion-at-point-function): Use them.

13 years ago* newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
Stefan Monnier [Wed, 14 Sep 2011 21:21:59 +0000 (17:21 -0400)]
* newcomment.el (comment-add, comment-valid-prefix-p): Docfix.

13 years ago* mpc.el (mpc-constraints-tag-lookup): New function.
Stefan Monnier [Wed, 14 Sep 2011 21:20:24 +0000 (17:20 -0400)]
* mpc.el (mpc-constraints-tag-lookup): New function.
(mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
also to browser "album|playlist".

13 years agoShare code between `isearch-message' and `isearch-string' in `isearch-fail-pos'.
Juri Linkov [Wed, 14 Sep 2011 16:07:42 +0000 (19:07 +0300)]
Share code between `isearch-message' and `isearch-string' in `isearch-fail-pos'.
http://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00169.html

* lisp/isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
(isearch-edit-string): Use length of `isearch-string' when
`isearch-fail-pos' returns nil.
(isearch-message): Remove duplicate code and call
`isearch-fail-pos' with arg `t'.

13 years ago* xselect.c: Use signed conversions more consistently (Bug#9498).
Paul Eggert [Wed, 14 Sep 2011 15:47:21 +0000 (08:47 -0700)]
* xselect.c: Use signed conversions more consistently (Bug#9498).

(selection_data_to_lisp_data): Assume incoming selection data are
signed integers, not unsigned.  This is to be consistent with
outgoing selection data, which was modified to use signed integers
in as part of the fix to Bug#9196 in response to Jan Djärv's comment
in <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9196#32> that X11
expects long, not unsigned long.

13 years ago* replace.el (occur-mode-goto-occurrence): Don't force using other window.
Chong Yidong [Wed, 14 Sep 2011 15:14:34 +0000 (11:14 -0400)]
* replace.el (occur-mode-goto-occurrence): Don't force using other window.

Fixes: debbugs:9499
13 years ago* lisp/dired-aux.el (dired-do-chmod): Don't provide initial input.
Chong Yidong [Wed, 14 Sep 2011 15:06:28 +0000 (11:06 -0400)]
* lisp/dired-aux.el (dired-do-chmod): Don't provide initial input.

13 years agoReplace display-buffer-window by help-setup window parameter.
Martin Rudalics [Wed, 14 Sep 2011 09:17:30 +0000 (11:17 +0200)]
Replace display-buffer-window by help-setup window parameter.

* window.el (display-buffer-window): Remove.
(display-buffer-record-window): Use help-setup window parameter
instead of variable display-buffer-window.
(display-buffer-function, special-display-buffer-names)
(special-display-function): Mention help-setup parameter instead
of display-buffer-window in doc-string.
* help.el (help-window-setup): New argument help-window.  Use
help-window-setup parameter instead of display-buffer-window.
Reword some messages.
(with-help-window): Pass window used for displaying the buffer
to help-window-setup.  Don't set display-buffer-window.

13 years ago* doc/lispref/lists.texi (Sets And Lists): Fix typo. (tiny change)
Dani Moncayo [Wed, 14 Sep 2011 06:52:54 +0000 (23:52 -0700)]
* doc/lispref/lists.texi (Sets And Lists): Fix typo.  (tiny change)

13 years agoxdisp.c (try_window_reusing_current_matrix): Fix incorrect computation of loop end.
Eli Zaretskii [Wed, 14 Sep 2011 05:20:23 +0000 (01:20 -0400)]
xdisp.c (try_window_reusing_current_matrix): Fix incorrect computation of loop end.

 src/xdisp.c (try_window_reusing_current_matrix): Fix incorrect
 computation of loop end.  Reported by Johan Bockgård <bojohan@gnu.org>.

13 years agoFix typos in ChangeLogs.
Juanma Barranquero [Tue, 13 Sep 2011 23:42:21 +0000 (01:42 +0200)]
Fix typos in ChangeLogs.

13 years agoTabify previous change.
Glenn Morris [Tue, 13 Sep 2011 21:13:10 +0000 (17:13 -0400)]
Tabify previous change.

13 years ago* lisp/emacs-lisp/debug.el (debugger-make-xrefs): Preserve point. (Bug#9462)
Glenn Morris [Tue, 13 Sep 2011 21:02:27 +0000 (17:02 -0400)]
* lisp/emacs-lisp/debug.el (debugger-make-xrefs): Preserve point.  (Bug#9462)