Commit Graph

102613 Commits

Author SHA1 Message Date
Lars Magne Ingebrigtsen
ad87170ff3 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.
2011-09-13 19:18:08 +02:00
Chong Yidong
ef8ef9fb80 * lisp/window.el (window-deletable-p): Never delete last frame on a terminal.
* src/frame.c (Fother_visible_frames_p): Function deleted.
2011-09-13 11:33:16 -04:00
Glenn Morris
b2cba41ecd * lisp/help.el (describe-key-briefly): Copy previous standard-output change. 2011-09-13 00:22:05 -07:00
PJ Weisberg
e3ce671f37 * lisp/help.el (where-is): Respect non-standard standard-output. (tiny change)
Fixes: debbugs:9030
2011-09-13 00:18:13 -07:00
Glenn Morris
b75567193d 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.
2011-09-12 23:55:10 -07:00
William Stevenson
76e20fd6a5 * themes/adwaita-theme.el: New file. 2011-09-12 21:55:46 -04:00
Scott Frazer
1cc1506789 Two new themes from Scott Frazer.
* themes/whiteboard-theme.el:
* themes/deeper-blue-theme.el (deeper-blue): New files.
2011-09-12 20:34:13 -04:00
Chong Yidong
64b5194776 * 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
2011-09-12 16:45:56 -04:00
Eric Hanchrow
162546271f * doc/emacs/frames.texi (Frame Commands): Doc fix for delete-other-frames.
Note that it only deletes frames on current terminal.
2011-09-12 10:48:34 -04:00
Eli Zaretskii
fa819fed53 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.
2011-09-12 07:51:27 -04:00
Glenn Morris
b0415a0397 Auto-commit of generated files. 2011-09-12 06:18:39 -04:00
Lars Magne Ingebrigtsen
2af70b9425 gnus.el (gnus-interactive-exit): Update defcustom spec. 2011-09-12 09:12:46 +00:00
Stefan Monnier
2ba8e00888 * src/fileio.c (Finsert_file_contents): Don't assume beg_offset is 0. 2011-09-11 22:22:22 -04:00
Stefan Monnier
393a301e80 * lisp/international/mule-cmds.el (ucs-completions): Remove.
(read-char-by-name): Use complete-with-action instead; add metadata.
2011-09-11 22:18:23 -04:00
Stefan Monnier
aa357b80f9 * gnus.el (gnus-nntp-server): Move to gnus-int.el to silence bytecomp.
* gnus-int.el (gnus-nntp-server): Move from gnus.el.
2011-09-11 22:15:11 -04:00
Andrew Cohen
be00b56ee3 gnus-group.el (gnus-group-list-(limit|flush|plus)-map): Allow limiting, flushing and plusing ticked articles. 2011-09-12 01:00:11 +00:00
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