Richard M. Stallman
d65e4c159b
Properly handle splitting of Rmail buffer and message view buffer.
2011-08-31 16:49:24 -04:00
Glenn Morris
9b6e5515b4
Auto-commit of generated files.
2011-08-31 06:18:35 -04:00
Martin Rudalics
f818cd2a39
Restore Emacs 23 display-buffer functions and options.
...
* window.el (display-buffer-window): Rewrite doc-string.
(display-buffer-record-window): New function.
(display-buffer-macro-specifiers)
(display-buffer-even-window-sizes, display-buffer-set-height)
(display-buffer-set-width, display-buffer-in-window)
(display-buffer-reuse-window, display-buffer-split-specifiers)
(display-buffer-side-specifiers, display-buffer-split-window-1)
(display-buffer-split-window, display-buffer-split-atom-window)
(display-buffer-pop-up-window, display-buffer-pop-up-frame)
(display-buffer-pop-up-side-window, display-buffer-in-side-window)
(display-buffer-other-window-means-other-frame)
(display-buffer-normalize-special)
(display-buffer-normalize-default)
(display-buffer-normalize-argument)
(display-buffer-normalize-alist-1, display-buffer-normalize-alist)
(display-buffer-normalize-specifiers, display-buffer-frame)
(display-buffer-same-window, display-buffer-same-frame)
(display-buffer-other-window)
(display-buffer-same-frame-other-window)
(display-buffer-other-frame, pop-to-buffer-same-window)
(pop-to-buffer-same-frame, pop-to-buffer-other-window)
(pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
(switch-to-buffer-same-frame)
(switch-to-buffer-other-window-same-frame)
(display-buffer-alist-of-strings-p, display-buffer-alist-add)
(display-buffer-alist-set-1, display-buffer-alist-set-2)
(display-buffer-alist-set): Remove.
(display-buffer-function, special-display-buffer-names)
(special-display-regexps, special-display-function): In
doc-string refer to display-buffer-window and quit-restore
parameter.
(pop-up-frame-alist, pop-up-frame-function, special-display-p)
(special-display-frame-alist, special-display-popup-frame)
(same-window-buffer-names, same-window-regexps, same-window-p)
(pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
(split-window-preferred-function, split-height-threshold)
(split-width-threshold, window-splittable-p)
(split-window-sensibly, window--try-to-split-window)
(window--frame-usable-p, even-window-heights)
(window--even-window-heights, window--display-buffer-1)
(window--display-buffer-2, display-buffer-other-frame): Restore
old Emacs 23 code, order and doc-strings where applicable.
(display-buffer-default, display-buffer-assq-regexp): New functions.
(display-buffer-alist): Rewrite doc-string.
(display-buffer-default-action)
(display-buffer-overriding-action): New variables.
(display-buffer, switch-to-buffer): Rewrite.
(pop-to-buffer): Restore Emacs 23 behavior but use
window-normalize-buffer-to-display.
(switch-to-buffer-other-window, switch-to-buffer-other-frame):
Restore Emacs 23 behavior but use
window-normalize-buffer-to-switch-to.
(pop-to-buffer-same-window): Rewrite.
(pop-to-buffer-other-window, pop-to-buffer-other-frame): Rewrite
using Emacs 23 options.
* org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
argument from pop-to-buffer-same-window call.
2011-08-31 11:27:49 +02:00
Michael Albinus
5bc3b51d1e
* net/tramp.el (tramp-root-regexp): Remove.
...
(tramp-completion-file-name-regexp-unified)
(tramp-completion-file-name-regexp-separate)
(tramp-completion-file-name-regexp-url): Don't use leading volume
letter on win32 systems. (Bug#5303, Bug#9311)
(tramp-drop-volume-letter): Simplify definition. Suggested by
Stefan Monnier <monnier@iro.umontreal.ca>.
2011-08-31 10:18:20 +02:00
Katsumi Yamaoka
b0de839f5d
auth-source.el: Autoload help-mode.
2011-08-30 23:01:50 +00:00
Chong Yidong
51751aa26f
Merge changes from emacs-23 branch
2011-08-30 18:43:43 -04:00
Chong Yidong
6e20a0d47c
Fix syntax scanning bug causing fontification crashes.
...
* src/syntax.c (find_defun_start): Update all cache variables if
exiting early.
Fixes: debbugs:9401
2011-08-30 18:38:07 -04:00
Lars Magne Ingebrigtsen
3eacc9cdef
gnus-group.el (gnus-group-name-charset): Don't bug out on server names.
2011-08-30 22:07:52 +00:00
Paul Eggert
1f87634f0a
* configure.in: Remove no-longer used HP patterns.
...
(opsys): Remove unreachable pattern hppa*-*-linux-gnu*.
Also, remove ia64*-hp-hpux1[1-9]*, as it also sets machine=hp800,
and that can't possibly work now that src/m/hp800.h no longer exists.
2011-08-30 13:46:59 -07:00
Paul Eggert
695a3dc536
* configure.in (opsys): Change pattern to *-*-linux*.
2011-08-30 13:41:54 -07:00
Eli Zaretskii
f6cfbd8f9d
src/image.c (x_bitmap_pixmap): Cast to int to avoid compiler warnings.
2011-08-30 21:15:53 +03:00
Eli Zaretskii
148ae00e30
Fix bug #9402 with :align-to on TTY frames.
...
src/xdisp.c (produce_stretch_glyph): No longer static, compiled also
when HAVE_WINDOW_SYSTEM is not defined. Support both GUI and TTY
frames. Call tty_append_glyph in the TTY case. (Bug#9402)
src/term.c (tty_append_glyph): New function.
(produce_stretch_glyph): Static function and its prototype deleted.
src/dispextern.h (produce_stretch_glyph, tty_append_glyph): Add
prototypes.
2011-08-30 20:32:44 +03:00
Paul Eggert
015faae4f8
* configure.in (opsys): Add pattern *-gnu-linux*
...
to recognize powerpc-gnu-linux-uclibc (Bug#9403).
2011-08-30 08:57:22 -07:00
Chong Yidong
35137ed3a5
Document new Emacs 24 faces in Lisp manual.
...
* doc/lispref/display.texi (Basic Faces): New node. Document new faces.
* doc/lispref/modes.texi (Major Mode Conventions): Move some text there.
(Mode Help): Remove major-mode var, duplicated in Major Modes.
2011-08-30 11:24:07 -04:00
Stefan Monnier
b1a4f8e1d8
* lisp/subr.el (event-modifiers): Fix "missing modifier" part of docstring.
...
Fixes: debbugs:9356
2011-08-30 10:50:02 -04:00
Reuben Thomas
5664fa7b04
* lisp/vc/pcvs-defs.el (cvs-find-file-and-jump): Typo in docstring.
...
Fixes: debbugs:9369
2011-08-30 10:40:51 -04:00
Paul Eggert
393aa9d403
* MACHINES: Remove obsolete info and update a bit (Bug#9404).
2011-08-29 22:52:05 -07:00
Paul Eggert
f9453fcbeb
* PROBLEMS: Remove obsolete comment re Yellow Dog (Bug#9403).
2011-08-29 19:05:43 -07:00
Chong Yidong
3fd50d5c65
Update and edit manual sections on major modes.
...
* doc/emacs/modes.texi (Choosing Modes): auto-mode-case-fold is now t.
* doc/lispref/modes.texi (Basic Major Modes): New node. Callers updated.
(Major Modes): Document fundamental-mode and major-mode.
(Major Mode Basics): Node deleted; text moved to Major Modes.
(Derived Modes): Document derived-mode-p.
2011-08-29 18:02:21 -04:00
Juri Linkov
9a45d6c331
* lisp/isearch.el (isearch-done): Don't display message "Mark saved"
...
when arg `edit' is non-nil to prevent its flicker in the echo area.
2011-08-29 23:22:44 +03:00
Stefan Monnier
b31b81a53a
* leim/quail/latin-ltx.el: Complete the super and subscript letters.
2011-08-29 14:48:01 -04:00
Paul Eggert
c4a07a4ce7
* image.c (parse_image_spec): Check for nonnegative, not for positive,
...
when checking :margin (Bug#9390).
(IMAGE_NON_NEGATIVE_INTEGER_VALUE_OR_PAIR):
Renamed from IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR,
so that the name doesn't mislead. All uses changed.
2011-08-28 20:34:25 -07:00
Daiki Ueno
0f3de88f02
Merge changes made in Gnus trunk.
...
mml-smime.el (mml-smime-epg-verify): Don't use the 4th arg of mm-replace-in-string for compatibility issues.
mml2015.el (mml2015-epg-verify): Ditto.
2011-08-28 22:04:32 +00:00
Chong Yidong
fb87e0fb94
Fix package menu bug in marking obsolete packages for deletion.
...
* lisp/emacs-lisp/package.el (package-menu-mark-delete): Allow marking
obsolete packages for deletion.
2011-08-28 17:32:50 -04:00
Chong Yidong
e2aeef63a6
Add xrefs to View Mode node to Emacs manual.
...
* doc/emacs/files.texi (File Archives):
* doc/emacs/cal-xtra.texi (Diary Display):
* doc/emacs/help.texi (Help Mode): Add xref to View Mode.
2011-08-28 17:15:20 -04:00
Chong Yidong
a632608298
Document copy-directory and related changes in manuals.
...
* doc/emacs/buffers.texi (Misc Buffer): Move view-buffer to View Mode.
* doc/emacs/display.texi (View Mode): New node. Move view-file here from
Misc File Ops. Move view-buffer here from Misc Buffer.
* doc/emacs/files.texi (Misc File Ops): Document new
delete-by-moving-to-trash behavior. Remove view-file.
* doc/lispref/files.texi (Changing Files, Create/Delete Dirs): Document new
arguments for delete-file, delete-directory, and copy-directory.
2011-08-28 17:07:10 -04:00
Johan Bockgård
6bc8cd6546
* src/term.c (init_tty) [HAVE_GPM]: Move mouse settings after set_tty_hooks.
2011-08-28 22:45:55 +02:00
Chong Yidong
04e2ce72d0
Document trash changes in manual.
...
* doc/emacs/dired.texi (Dired Deletion): Shorten description of Trash.
* doc/emacs/files.texi (Misc File Ops): Document new
delete-by-moving-to-trash behavior.
* doc/lispref/files.texi (Changing Files, Create/Delete Dirs): Document TRASH
argument.
2011-08-28 16:22:10 -04:00
Dani Moncayo
1f403cb991
* dic/lispref/lists.texi (Building Lists): Fix typo.
2011-08-28 15:08:45 -04:00
Chong Yidong
b9696605a3
Make custom-theme-choose-mode inherit from special-mode.
...
* lisp/cus-theme.el (custom-theme-choose-mode): Inherit from special-mode.
(custom-theme-choose-mode-map): Add special-mode to parent.
Fixes: debbugs:9124
2011-08-28 15:05:26 -04:00
Christoph Scholtes
09ac1c2ac0
Make Help mode inherit from special-mode.
...
* help-mode.el (help-mode-map): Add special-mode-map to parent.
(help-mode): Derive help-mode from special-mode. Don't invoke
view-mode from help-mode.
(help-xref-override-view-map): Remove.
(help-make-xrefs): Remove minor-mode-overriding-map-alist since
view-mode is not used anymore.
2011-08-28 14:58:16 -04:00
Chong Yidong
ddb54206dd
Update manuals for some Emacs 24 changes.
...
* doc/emacs/misc.texi (emacsclient Options): Document server-port.
* doc/lispref/display.texi (Progress): Document spinner functionality.
* doc/lispref/frames.texi (Layout Parameters): The defaults for the
menu-bar-lines and tool-bar-lines parameters depend on the mode.
* doc/lispref/objects.texi (Symbol Type): Document ## print representation.
* doc/lispref/os.texi (Killing Emacs): Note that kill-emacs can be called by
operating system signals. Refer to save-buffers-kill-terminal
instead of save-buffers-kill-emacs.
2011-08-28 14:49:59 -04:00
Chong Yidong
7a1ff57fac
* lisp/server.el (server-port): Doc fix.
2011-08-28 14:46:38 -04:00
Alan Mackenzie
ef8cdf8c2a
Fix - typing on a C++ inher-intro or inher-cont line should preserve the
...
fontification of the inherited class names. Analogously for namespace
names and Java import, extends, etc.
(cc-fonts.el): (c-make-font-lock-BO-decl-search-function): New function.
(c-basic-matchers-after - "Fontify the clauses after various keywords"):
Extract the three keyword lists for the 3 erroneous constructs from the
list of four, and use the new function above in place of an old one.
2011-08-28 11:42:33 +00:00
Bastien Guerry
d6b9407c0c
A few cosmetic fixes in lisp/org/ChangeLog.
2011-08-28 10:31:04 +02:00
Deniz Dogan
27de4e2048
* lisp/net/rcirc.el (rcirc-insert-prev-input)
...
(rcirc-insert-next-input): Remove unused argument.
2011-08-28 08:07:14 +02:00
Stefan Monnier
356a368181
* lisp/shell.el (shell-parse-pcomplete-arguments): Unquote args.
...
Fixes: debbugs:9160
2011-08-28 01:15:17 -04:00
Eli Zaretskii
dca4927e8b
Fix vertical cursor motion from start of R2L lines in L2R paragraphs.
...
src/xdisp.c (move_it_to): Don't bail out early when reaching
position beyond to_charpos, if we are scanning backwards.
(move_it_vertically_backward): When DY == 0, make sure we get to
the first character in the line after the newline.
2011-08-27 21:11:49 +03:00
Eli Zaretskii
b75258b328
src/bidi.c: Rearrange commentary to bidi_fetch_char.
2011-08-27 15:18:27 +03:00
Eli Zaretskii
bd206ce50c
Minor fix of documenting for focus-follows-mouse.
...
doc/emacs/frames.texi (Frame Commands): Advise setting focus-follows-mouse
even on MS-Windows. Fix a typo.
2011-08-27 15:10:24 +03:00
Alan Mackenzie
9980ebf354
textmodes/paragraphs.el. Undo previous accidental patch.
2011-08-27 11:14:50 +00:00
Alan Mackenzie
3fc9b21845
progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it handle
...
function pointer parameters properly.
2011-08-27 08:41:23 +00:00
Martin Rudalics
538a061c72
Fix bug in display-buffer-reuse-window (Bug#9381).
...
* window.el (display-buffer-reuse-window): Fix case where
selected window was reused with non-nil OTHER-WINDOW argument.
(Bug#9381)
2011-08-27 10:38:33 +02:00
Eli Zaretskii
f18164855a
etc/NEWS: Fix entries related to bidirectional support.
2011-08-27 11:36:56 +03:00
Deniz Dogan
35b1c40c36
* net/rcirc.el (rcirc-check-auth-status): Adding support for oftc's NickServ messages.
2011-08-27 10:28:46 +02:00
Eli Zaretskii
bdcdea6699
TUTORIAL.he: Use LRE instead of LRO.
2011-08-27 11:22:29 +03:00
Paul Eggert
f2cad7739d
* ccl.c: Improve and simplify overflow checking (Bug#9196).
...
(ccl_driver): Do not generate an out-of-range pointer.
(Fccl_execute_on_string): Remove unnecessary check for
integer overflow, noted by Stefan Monnier in
<http://lists.gnu.org/archive/html/emacs-devel/2011-08/msg00979.html >.
Remove a FIXME that didn't need fixing.
Simplify the newly-introduced buffer reallocation code.
2011-08-27 00:07:32 -07:00
Juanma Barranquero
0cae2cdbb3
src/makefile.w32-in ($(BLD)/alloc.$(O)): Depend on lib/verify.h.
2011-08-27 03:42:00 +02:00
Glenn Morris
2f6a3e7912
* lisp/saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2011-08-26 20:52:47 -04:00
Chong Yidong
041d709f19
Re-order NEWS items.
2011-08-26 15:10:19 -04:00