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.
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
Stefan Monnier [Fri, 16 Sep 2011 13:46:42 +0000 (09:46 -0400)]
* lisp/image.el (imagemagick-register-types): Use regexp-opt.
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.
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%%" "").
Paul Eggert [Thu, 15 Sep 2011 17:41:25 +0000 (10:41 -0700)]
Fix my ChangeLog entry.
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.
Andreas Schwab [Thu, 15 Sep 2011 16:56:07 +0000 (18:56 +0200)]
* src/editfns.c (Fformat): Correctly handle text properties on "%%".
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.
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.
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)
Eli Zaretskii [Thu, 15 Sep 2011 15:41:03 +0000 (18:41 +0300)]
xdisp.c (hscroll_window_tree): Sync comment with the code.
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.
Glenn Morris [Thu, 15 Sep 2011 10:18:44 +0000 (06:18 -0400)]
Auto-commit of generated files.
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.
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.
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.
Chong Yidong [Thu, 15 Sep 2011 02:10:52 +0000 (22:10 -0400)]
* doc/emacs/package.texi (Package Menu): Add package-menu-mark-upgrades.
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.
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.
Katsumi Yamaoka [Thu, 15 Sep 2011 01:08:08 +0000 (01:08 +0000)]
message.el (message-read-from-minibuffer): Make abbrev expansion work.
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.
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
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.
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.
Stefan Monnier [Wed, 14 Sep 2011 21:21:59 +0000 (17:21 -0400)]
* newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
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".
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'.
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.
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
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.
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.
Dani Moncayo [Wed, 14 Sep 2011 06:52:54 +0000 (23:52 -0700)]
* doc/lispref/lists.texi (Sets And Lists): Fix typo. (tiny change)
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>.
Juanma Barranquero [Tue, 13 Sep 2011 23:42:21 +0000 (01:42 +0200)]
Fix typos in ChangeLogs.
Glenn Morris [Tue, 13 Sep 2011 21:13:10 +0000 (17:13 -0400)]
Tabify previous change.
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)
Chong Yidong [Tue, 13 Sep 2011 19:10:32 +0000 (15:10 -0400)]
* lisp/window.el (window-deletable-p): Use next-frame.
Martin Rudalics [Tue, 13 Sep 2011 18:07:11 +0000 (20:07 +0200)]
Remove most window auto deletions.
* window.el (window-auto-delete): Remove.
(window-deletable-p): Remove argument FORCE. Don't deal with
dedicatedness and previous buffers.
(switch-to-prev-buffer): Don't delete window.
(delete-windows-on): Delete a window's frame if and only if the
window is dedicated.
(replace-buffer-in-windows): Delete buffer's window or frame if
and only if window is dedicated.
(quit-window): Handle quit-restore as before last change.
(bury-buffer): Delete window only if window-deletable-p returns
t.
Glenn Morris [Tue, 13 Sep 2011 17:57:04 +0000 (13:57 -0400)]
* lisp/progmodes/scheme.el (scheme-indent-function): Yet another doc typo.
Glenn Morris [Tue, 13 Sep 2011 17:44:25 +0000 (13:44 -0400)]
* lisp/progmodes/scheme.el (scheme-indent-function): Fix doc typo in previous.
Lars Magne Ingebrigtsen [Tue, 13 Sep 2011 17:18:08 +0000 (19:18 +0200)]
Fix URL connection failing handling.
* url-http.el (url-http-find-free-connection): If there was an
error on connect, make sure the user isn't bothered with
irrelevant questions.
Chong Yidong [Tue, 13 Sep 2011 15:33:16 +0000 (11:33 -0400)]
* lisp/window.el (window-deletable-p): Never delete last frame on a terminal.
* src/frame.c (Fother_visible_frames_p): Function deleted.
Glenn Morris [Tue, 13 Sep 2011 07:22:05 +0000 (00:22 -0700)]
* lisp/help.el (describe-key-briefly): Copy previous standard-output change.
PJ Weisberg [Tue, 13 Sep 2011 07:18:13 +0000 (00:18 -0700)]
* lisp/help.el (where-is): Respect non-standard standard-output. (tiny change)
Fixes: debbugs:9030
Glenn Morris [Tue, 13 Sep 2011 06:55:10 +0000 (23:55 -0700)]
Doc fixes related to lisp-indent-function (bug#9484)
* lisp/emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
* lisp/progmodes/scheme.el (scheme-indent-function): Give it a doc string.
* lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function): Comment.
William Stevenson [Tue, 13 Sep 2011 01:55:46 +0000 (21:55 -0400)]
* themes/adwaita-theme.el: New file.
Scott Frazer [Tue, 13 Sep 2011 00:34:13 +0000 (20:34 -0400)]
Two new themes from Scott Frazer.
* themes/whiteboard-theme.el:
* themes/deeper-blue-theme.el (deeper-blue): New files.
Chong Yidong [Mon, 12 Sep 2011 20:45:56 +0000 (16:45 -0400)]
* dired-aux.el (dired-mark-read-string): Don't use default value on empty input.
(dired-do-chxxx): Treat empty input for "touch" as no -t option.
Omit initial minibuffer contents.
(dired-do-chmod): Signal an error on empty input.
(dired-mark-read-string): Don't return default on empty input.
* files.el (file-modes-symbolic-to-number): Doc fix.
Fixes: debbugs:9361
Eric Hanchrow [Mon, 12 Sep 2011 14:48:34 +0000 (10:48 -0400)]
* doc/emacs/frames.texi (Frame Commands): Doc fix for delete-other-frames.
Note that it only deletes frames on current terminal.
Eli Zaretskii [Mon, 12 Sep 2011 11:51:27 +0000 (07:51 -0400)]
Fix bug #2496 with column counting in presence of display tables.
src/indent.c (compute_motion): Process display vector front to back
rather than the other way around.
Glenn Morris [Mon, 12 Sep 2011 10:18:39 +0000 (06:18 -0400)]
Auto-commit of generated files.
Lars Magne Ingebrigtsen [Mon, 12 Sep 2011 09:12:46 +0000 (09:12 +0000)]
gnus.el (gnus-interactive-exit): Update defcustom spec.
Stefan Monnier [Mon, 12 Sep 2011 02:22:22 +0000 (22:22 -0400)]
* src/fileio.c (Finsert_file_contents): Don't assume beg_offset is 0.
Stefan Monnier [Mon, 12 Sep 2011 02:18:23 +0000 (22:18 -0400)]
* lisp/international/mule-cmds.el (ucs-completions): Remove.
(read-char-by-name): Use complete-with-action instead; add metadata.
Stefan Monnier [Mon, 12 Sep 2011 02:15:11 +0000 (22:15 -0400)]
* gnus.el (gnus-nntp-server): Move to gnus-int.el to silence bytecomp.
* gnus-int.el (gnus-nntp-server): Move from gnus.el.
Andrew Cohen [Mon, 12 Sep 2011 01:00:11 +0000 (01:00 +0000)]
gnus-group.el (gnus-group-list-(limit|flush|plus)-map): Allow limiting, flushing and plusing ticked articles.
Lars Magne Ingebrigtsen [Sun, 11 Sep 2011 22:50:22 +0000 (22:50 +0000)]
Merge changes made in Gnus trunk.
gnus.texi (Listing Groups): Explain `gnus-group-list-limit'.
(Finding the News): Doc clarification.
(Terminology): Mention naming.
gnus-group.el (gnus-group-list-limit): Explain what the command does.
gnus-sum.el (gnus-fetch-headers): Bump message level.
Chong Yidong [Sun, 11 Sep 2011 22:04:52 +0000 (18:04 -0400)]
* minibuf.c (Fread_from_minibuffer): Doc fix.
Chong Yidong [Sun, 11 Sep 2011 21:47:39 +0000 (17:47 -0400)]
* frame.el (delete-other-frames): Doc fix.
Fixes: debbugs:276
Jim Meyering [Sun, 11 Sep 2011 20:27:29 +0000 (22:27 +0200)]
NEWS: fix typo: s/an prefix/a prefix/
Chong Yidong [Sun, 11 Sep 2011 20:07:34 +0000 (16:07 -0400)]
Add defcustom definitions for display-buffer vars.
* lisp/window.el (display-buffer--action-function-custom-type)
(display-buffer--action-custom-type): New vars.
(display-buffer-alist, display-buffer-default-action)
(display-buffer-overriding-action): Add defcustom types.
Lars Magne Ingebrigtsen [Sun, 11 Sep 2011 19:07:41 +0000 (21:07 +0200)]
* play/doctor.el (make-doctor-variables): Define `doctor-sent'.
Chong Yidong [Sun, 11 Sep 2011 18:30:07 +0000 (14:30 -0400)]
Change modes that used same-window-* vars to use switch-to-buffer.
* cmuscheme.el (run-scheme, switch-to-scheme):
* ielm.el (ielm):
* shell.el (shell):
* net/rlogin.el (rlogin):
* net/telnet.el (telnet, rsh):
* progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
* cus-edit.el (customize-group, custom-buffer-create)
(customize-browse, custom-buffer-create-other-window): Use
switch-to-buffer or switch-to-buffer-other-window.
* info.el (info, Info-find-node, Info-revert-find-node, Info-next)
(Info-prev, Info-up, Info-speedbar-goto-node)
(info-display-manual): Use switch-to-buffer.
(Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
* lisp/gnus/message.el (message-pop-to-buffer): Default to switch-to-buffer.
(message-mail-other-window, message-mail-other-frame)
(message-news-other-window, message-news-other-frame): Use
switch-to-buffer-other-frame and switch-to-buffer-other-window instead
of setting buffer display varibles.
* mail/sendmail.el (mail): Use switch-to-buffer.
(mail-recover): Use switch-to-buffer-other-window.
* progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
Use switch-to-buffer.
Eli Zaretskii [Sun, 11 Sep 2011 17:40:53 +0000 (20:40 +0300)]
Fix bug #9475 with alignment in *Completions* buffer.
src/xdisp.c (produce_stretch_glyph): Fix a typo made in changes from
2011-08-30T17:32:44Z!eliz@gnu.org.
Andreas Schwab [Sun, 11 Sep 2011 17:08:17 +0000 (19:08 +0200)]
* lisp/dired.el (dired-sort-toggle-or-edit): Revert last changes.
Lars Magne Ingebrigtsen [Sun, 11 Sep 2011 17:00:14 +0000 (19:00 +0200)]
(dired-sort-toggle-or-edit): Clarify string further.
Paul Eggert [Sun, 11 Sep 2011 16:52:58 +0000 (09:52 -0700)]
Merge from gnulib, porting to Tru64.
* lib/lstat.c, lib/stat.c, m4/include_next.m4, m4/nocrash.m4:
* m4/signal_h.m4, m4/time_h.m4, m4/unistd_h.m4:
Merge from gnulib. This fixes a compilation error on Tru64 UNIX
aka OSF/1 5.1 DTK cc. There is also some mingw stuff here that
doesn't affect Emacs.
Lars Magne Ingebrigtsen [Sun, 11 Sep 2011 16:15:00 +0000 (18:15 +0200)]
* gnus-dup.el (gnus-dup-suppress-articles): Move "Suppressing duplicates" to a higher level.
Lars Magne Ingebrigtsen [Sun, 11 Sep 2011 16:12:42 +0000 (18:12 +0200)]
(gnus-verbose): Lower default to 6 to get rid of the most egregious messages.
Lars Magne Ingebrigtsen [Sun, 11 Sep 2011 14:54:49 +0000 (16:54 +0200)]
-o doesn't exist on *BSD, so don't mention it
Fixes: debbugs:9301
Lars Magne Ingebrigtsen [Sun, 11 Sep 2011 14:49:24 +0000 (16:49 +0200)]
Clarify slightly the last checkin.
Lars Magne Ingebrigtsen [Sun, 11 Sep 2011 14:46:38 +0000 (16:46 +0200)]
(Fvisited_file_modtime): Document `(-1 65535)' as a value for non-existent files.
Tetsuo Tsukamoto [Sun, 11 Sep 2011 08:20:33 +0000 (08:20 +0000)]
nnrss.el (nnrss-retrieve-groups): Decode the charset before looking up the file (bug#9351).
Eli Zaretskii [Sun, 11 Sep 2011 05:52:07 +0000 (01:52 -0400)]
Fix bug #9139 with revisiting non-existent files.
src/fileio.c (Finsert_file_contents): If the file cannot be opened,
set its "size" to -1. This will set the modtime_size field of
the corresponding buffer to -1, which is what
verify-visited-file-modtime expects for files that do not exist.
Lars Magne Ingebrigtsen [Sun, 11 Sep 2011 04:28:07 +0000 (06:28 +0200)]
Make `(type graphic)' match `x', `w32' and `ns', like the manual says.
Fixes: debbugs:9029
Lars Magne Ingebrigtsen [Sun, 11 Sep 2011 03:35:02 +0000 (05:35 +0200)]
(process-kill-buffer-query-function): Mention the buffer name in the query.
Lars Magne Ingebrigtsen [Sun, 11 Sep 2011 02:56:39 +0000 (04:56 +0200)]
* subr.el (eval-after-load): Doc string clarification
Fixes: debbugs:9125
Lars Magne Ingebrigtsen [Sun, 11 Sep 2011 02:31:21 +0000 (04:31 +0200)]
* image-mode.el (image-next-line): The line parameter is mandatory
Lars Magne Ingebrigtsen [Sun, 11 Sep 2011 02:29:23 +0000 (04:29 +0200)]
* dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too, which can be useful.
Fixes: debbugs:9301
Lars Magne Ingebrigtsen [Sun, 11 Sep 2011 02:14:10 +0000 (04:14 +0200)]
* textmodes/flyspell.el: Remove obsolete comment
Fixes: debbugs:9368
Lars Magne Ingebrigtsen [Sun, 11 Sep 2011 02:10:15 +0000 (04:10 +0200)]
Doc string clarification.
* subr.el (match-string): Mention that the current buffer should
be the same as the search was done in.
Fixes: debbugs:9282
Juanma Barranquero [Sun, 11 Sep 2011 02:04:07 +0000 (04:04 +0200)]
* processes.texi (Network Servers): Clarify what the process buffer is used for.
Fixes: debbugs:9233
Lars Magne Ingebrigtsen [Sun, 11 Sep 2011 01:55:09 +0000 (03:55 +0200)]
* facemenu.el: Disable the remove-* commands if the mark isn't active.
Fixes: debbugs:9162
Paul Eggert [Sun, 11 Sep 2011 00:41:48 +0000 (17:41 -0700)]
* keymap.h (KEY_DESCRIPTION_SIZE, push_key_description): Move decls
here ...
* lisp.h: ... from here. push_key_description is no longer
defined in keyboard.c, so its declaration should not be in
lisp.h's "Defined in keyboard.c" section, and KEY_DESCRIPTION_SIZE
logically belongs with push_key_description.
Gnus developers [Sat, 10 Sep 2011 23:30:53 +0000 (23:30 +0000)]
Merge changes made in Gnus trunk.
gnus.texi: Remove mentions of `recent', which are now obsolete.
(Interactive): Document `quiet'.
nnimap.el: Redo the charset handling. Let Gnus encode the names, as it does with all other backends, but decode the names immediately after getting them.
gnus-group.el (gnus-group-name-charset): Always return `utf-7' when decoding nnimap groups.
gnus.el (gnus-variable-list): Don't save `gnus-format-specs' in the newsrc file. It doesn't seem like an important optimisation any more.
nnimap.el (nnimap-transform-headers): Fix regexp to be less prone to overflows.
gnus.el (gnus-article-mark-lists): Remove `recent'.
(gnus-interactive-exit): Extend to `quiet'.
gnus-sum.el (gnus-offer-save-summaries): Use it.
gnus-art.el (gnus-treat-hide-citation-maybe): Add more doc to the string.
plstore.el (plstore--get-buffer): Silence compiler warnings by renaming function arguments from `this'.
gnus-sum.el (gnus-newsgroup-recent): Removed.
gnus-spec.el (gnus-lrm-string-p): `bidi-string-mark-left-to-right' has been renamed.
(gnus-lrm-string-p): Include RLM and PDF, too.
gnus-int.el (gnus-open-server): Make the "denied" message clearer (bug#9225).
Chong Yidong [Sat, 10 Sep 2011 21:15:28 +0000 (17:15 -0400)]
Fix various uses of display-buffer and pop-to-buffer
to avoid using special-display-* and same-window-* variables.
* lisp/buff-menu.el (Buffer-menu-switch-other-window): Use second arg
of display-buffer.
(Buffer-menu-2-window): Use switch-to-buffer-other-window.
* lisp/replace.el (occur-mode-goto-occurrence)
(occur-mode-display-occurrence) Use second arg of pop-to-buffer
and display-buffer.
* lisp/window.el (display-buffer-alist): Add *Python*.
* lisp/mail/reporter.el (reporter-submit-bug-report): Use second arg of
display-buffer.
* lisp/mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
special-display and same-window variables.
(mail-other-window): Use switch-to-buffer-other-window.
(mail-other-frame): USe switch-to-buffer-other-frame.
* lisp/progmodes/gdb-mi.el (gdb-frame-gdb-buffer): Use
display-buffer-other-frame.
(gdb-display-gdb-buffer): Use pop-to-buffer.
* lisp/progmodes/gud.el (gud-goto-info): Use info-other-window.
* lisp/progmodes/python.el: Don't set same-window-buffer-names.
* lisp/textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
Chong Yidong [Sat, 10 Sep 2011 20:14:02 +0000 (16:14 -0400)]
Fix info and customize *-other-window commands.
* lisp/cus-edit.el (customize-group): New argument.
(customize-group-other-window): Use it.
(customize-face, customize-face-other-window): Likewise.
(custom-buffer-create-other-window): Use pop-to-buffer directly.
* lisp/info.el (info-setup): New function.
(info-other-window, info): Call it.
Paul Eggert [Sat, 10 Sep 2011 19:41:33 +0000 (12:41 -0700)]
* buffer.h: Include <sys/types.h> instead of <time.h>.
Otherwise, off_t wasn't defined on FreeBSD 9.0-BETA2 i386.
Problem reported by Herbert J. Skuhra.
Chong Yidong [Sat, 10 Sep 2011 19:31:05 +0000 (15:31 -0400)]
window.el (display-buffer--maybe-same-window): Renamed from display-buffer-maybe-same-window.
Chong Yidong [Sat, 10 Sep 2011 18:52:37 +0000 (14:52 -0400)]
Tweaks to display-buffer default actions; remove same-window-* autoload forms.
* lisp/window.el (display-buffer-alist): Add entry for buffers
previously handled same-window-*.
(display-buffer-alist, display-buffer-default-action)
(display-buffer-overriding-action): Mark as risky.
(display-buffer-alist): Document action function changes.
(display-buffer--same-window-action)
(display-buffer--other-frame-action): New variables.
(switch-to-buffer, display-buffer-other-frame): Use them.
(display-buffer): Rename reuse-frame entry to reusable-frames.
(display-buffer-reuse-selected-window): Function deleted.
(display-buffer-reuse-window): Handle reusable-frames alist entry.
If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
(display-buffer-special): New function.
(display-buffer--maybe-pop-up-frame-or-window): Rename from
display-buffer-reuse-or-pop-window. Split off special-display
part into display-buffer-special.
(display-buffer-use-some-window): Don't perform any special
pop-up-frames handling.
(pop-to-buffer): Use window-normalize-buffer-to-switch-to.
* lisp/cmuscheme.el:
* lisp/ielm.el:
* lisp/shell.el:
* lisp/mail/sendmail.el:
* lisp/progmodes/inf-lisp.el: Don't set same-window-buffer-names.
* lisp/cus-edit.el:
* lisp/info.el:
* lisp/net/rlogin.el:
* lisp/net/telnet.el:
* lisp/progmodes/gud.el: Don't set same-window-regexps.
Lars Magne Ingebrigtsen [Sat, 10 Sep 2011 18:14:50 +0000 (20:14 +0200)]
* xml.c (parse_region): Make the parsing work for non-comment-starting XML files again.
Fixes: debbugs:9144
Andreas Schwab [Sat, 10 Sep 2011 18:13:24 +0000 (20:13 +0200)]
* src/image.c (gif_load): Fix calculation of bottom and right corner.
(Bug#9468)
Eli Zaretskii [Sat, 10 Sep 2011 15:23:25 +0000 (18:23 +0300)]
Prevent sluggish bidi redisplay in small windows.
src/xdisp.c (MAX_DISP_SCAN): Decrease to 250. Prevents sluggish
redisplay in small windows.
Juri Linkov [Sat, 10 Sep 2011 11:33:38 +0000 (14:33 +0300)]
Fix docstrings in lisp/isearch.el.
* lisp/isearch.el (isearch-edit-string): Remove obsolete mention of
`C-w' (`isearch-yank-word-or-char') from docstring.
(isearch-query-replace): Fix typo in docstring.
Fixes: debbugs:9466
Juri Linkov [Sat, 10 Sep 2011 11:28:19 +0000 (14:28 +0300)]
* lisp/paren.el (show-paren-function): Don't show escaped parens.
Let-bind `unescaped' to `t' when paren is not escaped.
Fixes: debbugs:9461
Eli Zaretskii [Sat, 10 Sep 2011 08:26:12 +0000 (11:26 +0300)]
Add to sendmail.el a new command mail-add-attachment.
etc/NEWS: Document the new command and the alias for mail-insert-file.
lisp/mail/sendmail.el (mml-to-mime, mml-attach-file)
(mm-default-file-encoding): Remove autoload forms, they are
replaced with autoload cookies in mml.el and mm-encode.el.
(mail-add-attachment): New command.
(mail-mode-map): Add a menu-bar item for mail-add-attachment.
(mail-mode): Mention mail-insert-file and mail-add-attachment in
the doc string.
(mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
lisp/gnus/mm-encode.el (mm-default-file-encoding): Add autoload cookie.
lisp/gnus/mml.el (mml-to-mime, mml-attach-file): Add autoload cookies.
doc/emacs/sending.texi (Mail Misc): Document mail-add-attachment.
Reuben Thomas [Sat, 10 Sep 2011 03:02:06 +0000 (23:02 -0400)]
* lisp/simple.el (count-words-region): Use buffer if there's no region.
Juri Linkov [Fri, 9 Sep 2011 15:49:00 +0000 (18:49 +0300)]
Add `wdired-isearch-filter-read-only' to lisp/wdired.el.
* lisp/wdired.el (wdired-change-to-wdired-mode): Set buffer-local
`isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
(wdired-isearch-filter-read-only): New function.
Fixes: debbugs:6362
Katsumi Yamaoka [Fri, 9 Sep 2011 10:18:45 +0000 (10:18 +0000)]
gnus-art.el (article-date-ut): Work properly even when
there are things like Date header in the body;
work for forwarded parts.