1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00
Commit Graph

102597 Commits

Author SHA1 Message Date
Lars Magne Ingebrigtsen
0afb49a1bf 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.
2011-09-11 22:50:22 +00:00
Chong Yidong
20f53c6979 * minibuf.c (Fread_from_minibuffer): Doc fix. 2011-09-11 18:04:52 -04:00
Chong Yidong
4a592f6698 * frame.el (delete-other-frames): Doc fix.
Fixes: debbugs:276
2011-09-11 17:47:39 -04:00
Jim Meyering
6b2c221e51 NEWS: fix typo: s/an prefix/a prefix/ 2011-09-11 22:27:29 +02:00
Chong Yidong
fa5660f92c 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.
2011-09-11 16:07:34 -04:00
Lars Magne Ingebrigtsen
73d56dbd6a * play/doctor.el (make-doctor-variables): Define `doctor-sent'. 2011-09-11 21:07:41 +02:00
Chong Yidong
37ac18a341 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.
2011-09-11 14:30:07 -04:00
Eli Zaretskii
d562d7a44c 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.
2011-09-11 20:40:53 +03:00
Andreas Schwab
10195bd66d * lisp/dired.el (dired-sort-toggle-or-edit): Revert last changes. 2011-09-11 19:08:17 +02:00
Lars Magne Ingebrigtsen
ba5a81f1aa (dired-sort-toggle-or-edit): Clarify string further. 2011-09-11 19:00:14 +02:00
Paul Eggert
3f44249e19 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.
2011-09-11 09:52:58 -07:00
Lars Magne Ingebrigtsen
a98e746832 * gnus-dup.el (gnus-dup-suppress-articles): Move "Suppressing duplicates" to a higher level. 2011-09-11 18:15:00 +02:00
Lars Magne Ingebrigtsen
389e85727b (gnus-verbose): Lower default to 6 to get rid of the most egregious messages. 2011-09-11 18:12:42 +02:00
Lars Magne Ingebrigtsen
39d7fed67b -o doesn't exist on *BSD, so don't mention it
Fixes: debbugs:9301
2011-09-11 16:54:49 +02:00
Lars Magne Ingebrigtsen
9d1d6e68a4 Clarify slightly the last checkin. 2011-09-11 16:49:24 +02:00
Lars Magne Ingebrigtsen
1c4d7f3d29 (Fvisited_file_modtime): Document `(-1 65535)' as a value for non-existent files. 2011-09-11 16:46:38 +02:00
Tetsuo Tsukamoto
c36da50006 nnrss.el (nnrss-retrieve-groups): Decode the charset before looking up the file (bug#9351). 2011-09-11 08:20:33 +00:00
Eli Zaretskii
b885bf36cf 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.
2011-09-11 01:52:07 -04:00
Lars Magne Ingebrigtsen
ee0e9f11ea Make (type graphic)' match x', w32' and ns', like the manual says.
Fixes: debbugs:9029
2011-09-11 06:28:07 +02:00
Lars Magne Ingebrigtsen
da9fcb933d (process-kill-buffer-query-function): Mention the buffer name in the query. 2011-09-11 05:35:02 +02:00
Lars Magne Ingebrigtsen
0b1c89c19a * subr.el (eval-after-load): Doc string clarification
Fixes: debbugs:9125
2011-09-11 04:56:39 +02:00
Lars Magne Ingebrigtsen
77549ea89a * image-mode.el (image-next-line): The line parameter is mandatory 2011-09-11 04:31:21 +02:00
Lars Magne Ingebrigtsen
803ef892ba * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too, which can be useful.
Fixes: debbugs:9301
2011-09-11 04:29:23 +02:00
Lars Magne Ingebrigtsen
129808371c * textmodes/flyspell.el: Remove obsolete comment
Fixes: debbugs:9368
2011-09-11 04:14:10 +02:00
Lars Magne Ingebrigtsen
91054f8f7c 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
2011-09-11 04:10:15 +02:00
Juanma Barranquero
cec2eab875 * processes.texi (Network Servers): Clarify what the process buffer is used for.
Fixes: debbugs:9233
2011-09-11 04:04:07 +02:00
Lars Magne Ingebrigtsen
b322f63a7c * facemenu.el: Disable the remove-* commands if the mark isn't active.
Fixes: debbugs:9162
2011-09-11 03:55:09 +02:00
Paul Eggert
6612f0bffd * 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.
2011-09-10 17:41:48 -07:00
Gnus developers
e21bac426b 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).
2011-09-10 23:30:53 +00:00
Chong Yidong
3199b96fc5 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.
2011-09-10 17:15:28 -04:00
Chong Yidong
919a69aa08 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.
2011-09-10 16:14:02 -04:00
Paul Eggert
dfb3f7559b * 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.
2011-09-10 12:41:33 -07:00
Chong Yidong
0d3ff3756c window.el (display-buffer--maybe-same-window): Renamed from display-buffer-maybe-same-window. 2011-09-10 15:31:05 -04:00
Chong Yidong
8319e0bf55 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.
2011-09-10 14:52:37 -04:00
Lars Magne Ingebrigtsen
3134906c91 * xml.c (parse_region): Make the parsing work for non-comment-starting XML files again.
Fixes: debbugs:9144
2011-09-10 20:14:50 +02:00
Andreas Schwab
8d903f4e5d * src/image.c (gif_load): Fix calculation of bottom and right corner.
(Bug#9468)
2011-09-10 20:13:24 +02:00
Eli Zaretskii
80ad64f4f5 Prevent sluggish bidi redisplay in small windows.
src/xdisp.c (MAX_DISP_SCAN): Decrease to 250.  Prevents sluggish
 redisplay in small windows.
2011-09-10 18:23:25 +03:00
Juri Linkov
251730002e 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
2011-09-10 14:33:38 +03:00
Juri Linkov
056e44efe8 * lisp/paren.el (show-paren-function): Don't show escaped parens.
Let-bind `unescaped' to `t' when paren is not escaped.

Fixes: debbugs:9461
2011-09-10 14:28:19 +03:00
Eli Zaretskii
c3760c17bd 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.
2011-09-10 11:26:12 +03:00
Reuben Thomas
fece895eff * lisp/simple.el (count-words-region): Use buffer if there's no region. 2011-09-09 23:02:06 -04:00
Juri Linkov
5e68ce4ab9 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
2011-09-09 18:49:00 +03:00
Katsumi Yamaoka
0861eb2e39 gnus-art.el (article-date-ut): Work properly even when
there are things like Date header in the body;
 work for forwarded parts.
2011-09-09 10:18:45 +00:00
Alan Mackenzie
0a6b962280 progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
2011-09-09 09:52:26 +00:00
Eli Zaretskii
14a29deb45 Fix bug #9392 with rmail-forward.
lisp/simple.el (mail-encode-mml): New defvar.
 lisp/mail/rmail.el (mail-encode-mml): Add a defvar.
 (rmail-enable-mime-composing): Default to t.
 (rmail-forward): Use MIME method of forwarding only if both
 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
 Set mail-encode-mml non-nil if the MIME method was used.
 lisp/mail/sendmail.el (mml-to-mime): Add autoload form.
 (mail-encode-mml): Add a defvar.
 (mail-mode): Make mail-encode-mml buffer-local and initialize it
 to nil.
 (mail-send): If mail-encode-mml is non-nil, run the outgoing
 message through mml-to-mime, and reset mail-encode-mml to nil.
2011-09-09 11:59:51 +03:00
Eli Zaretskii
208a048da7 src/frame.c (x_report_frame_params): Cast to avoid compiler warnings. 2011-09-09 11:32:43 +03:00
Glenn Morris
69f4b6184f * lisp/woman.el (woman-special-characters): Add hy character. 2011-09-08 23:34:59 -07:00
Glenn Morris
8aa187e7d1 * lisp/woman.el (woman-special-characters): Add oq and cq quote characters. 2011-09-08 23:32:08 -07:00
Glenn Morris
28c451307b woman.el fix for bug#9447.
* lisp/woman.el (woman-if-body): When processing an .el block,
do not delete the next .el block as well.
2011-09-08 23:23:47 -07:00
Juanma Barranquero
5e617bc2b6 Whitespace changes. 2011-09-09 03:06:52 +02:00