1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-19 10:22:27 +00:00
Commit Graph

102915 Commits

Author SHA1 Message Date
thierry volpiatto
93e616fdc5 * lisp/eshell/eshell.el (eshell-command): History have to be saved only in interactive use to avoid error. 2011-10-11 07:41:39 +02:00
Stefan Monnier
af7b60780c * lisp/minibuffer.el (completion-file-name-table): Fix last change,
i.e. ignore normal errors but not the other ones.
2011-10-11 01:17:04 -04:00
Martin Rudalics
9ac13c3136 Fix ChangeLog typo 2011-10-10 20:47:15 +02:00
Martin Rudalics
366ca7f3da In vc actions use quit-windows-on instead of delete-windows-on.
* window.el (quit-windows-on): New function.
* vc/vc.el (vc-revert, vc-rollback):
* vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
(Bug#6183) (Bug#7074)((Bug#7447)
2011-10-10 19:52:03 +02:00
Martin Rudalics
0563dae9a9 Fix doc-strings of special-display-... variables.
* window.el (special-display-buffer-names)
(special-display-regexps): Remove some remnants of earlier
changes from doc-strings.
2011-10-10 08:31:07 +02:00
Chong Yidong
3dc62b2b1e Corrections and tweaks to Help chapter in Emacs manual.
* doc/emacs/help.texi (Help, Help Summary): Eliminate the unnecessary "help
option" terminology.
(Key Help): Add command names.  Define "documentation string".
(Name Help): Remove an over-long joke.
(Apropos): Document prefix args.  Remove duplicated descriptions.
(Help Mode): Add C-c C-b to table.  Update TAB binding.
(Package Keywords): Rename from "Library by Keyword".  Describe
new package menu interface.
(Help Files, Help Echo): Tweak description.

* doc/emacs/mini.texi: Various copyedits.
2011-10-09 17:00:42 -04:00
Andreas Schwab
e3b10342fb * lisp/gnus/html2text.el (html2text-get-attr): Correctly handle attribute values
containing "=".
2011-10-09 18:51:38 +02:00
Martin Rudalics
496774950d Add version tag for frame-auto-hide-function (Bug#9699). 2011-10-09 14:33:56 +02:00
Martin Rudalics
d83dc65b3f Describe frame-auto-hide-function and related issues.
* buffers.texi (The Buffer List): Describe how bury-buffer deals
with the selected window.
* windows.texi (Buffers and Windows): Reformulate text on how
replace-buffer-in-windows deals with a window.
(Quitting Windows): Describe how quit-window deals with a
standalone frame.  Describe new option frame-auto-hide-function.
2011-10-09 14:26:29 +02:00
Michael Albinus
56f2d1e183 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
condition.
2011-10-09 11:38:25 +02:00
Leo Liu
112a65928f Add a missing space in smtpmail-send-data
http://debbugs.gnu.org/9701
2011-10-09 09:44:43 +08:00
Glenn Morris
0812589b05 f90 indentation fix.
* lisp/progmodes/f90.el (f90-calculate-indent):
Give preprocessor lines before the first code statement zero indent.

Fixes: debbugs:9690
2011-10-08 14:52:08 -07:00
Glenn Morris
c8fd3bd078 Small callint.c fix.
* src/callint.c (Fcall_interactively): Give a more explicit error for the
'c' case with a non-character input.

Fixes: debbugs:8479
2011-10-08 14:07:23 -07:00
Glenn Morris
a0c52e5d12 * doc/misc/Makefile.in: Fix ert rules.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-10/msg00224.html
2011-10-08 14:00:41 -07:00
Glenn Morris
48bca61974 * doc/lispref/symbols.texi (Other Plists): Markup fix. (Bug#9702) 2011-10-08 13:53:06 -07:00
Glenn Morris
c599682c2a * doc/lispref/positions.texi (Excursions): Update warning message. 2011-10-08 13:52:03 -07:00
Chong Yidong
de09aa521c * doc/emacs/mini.texi (Completion Options): Document completion-cycle-threshold. 2011-10-08 15:17:34 -04:00
Eli Zaretskii
2d3fe5d71e doc/emacs/mule.texi (Bidirectional Editing): Correct some inaccuracies. 2011-10-08 19:29:45 +02:00
Chong Yidong
b2b0776e50 Rework count-words-region. New command count-words.
See discussion at http://lists.gnu.org/archive/html/emacs-devel/2011-10/msg00193.html

* lisp/simple.el (count-words-region): Always count in the region.
Report the number of lines and characters too.
(count-words): New command, which counts in the buffer if the
region is inactive, as count-words-region used to.
(count-words--message): New function.  Handle plurals.
(count-lines-region): Make it an alias for count-words-region.

* lisp/bindings.el (esc-map): Replace count-lines-region with
count-words-region.

* doc/emacs/basic.texi (Position Info): Omit page commands.  Document
count-words-region and count-words.

* doc/emacs/text.texi (Pages): Move what-page documentation here.
2011-10-08 12:37:46 -04:00
Chong Yidong
27a1646245 Document completion styles in Emacs manual; copyedits.
* doc/emacs/mini.texi (Minibuffer File): Minor copyedits.  Use xref to
Remote Files node instead of linking directly to the Tramp manual.
(Minibuffer Edit): Add xref to Blank Lines.
(Completion): Add xref to Symbol Completion.  Remove redundant
example, which is repeated in the next node.
(Completion Commands): Minor clarifications.
(Completion Styles): New node, split from Completion Commands.
Document substring and initials styles.
(Strict Completion): Remove information duplicated in other nodes.
(Completion Options): Consolidate case difference discussion here.

* doc/emacs/files.texi (File Names): Add index entries.

* doc/emacs/help.texi (Help Mode): Fix kindex entries.
2011-10-08 11:08:50 -04:00
Martin Rudalics
235ce86fea Fix doc-string typo in switch-to-buffer. 2011-10-08 16:01:55 +02:00
Martin Rudalics
c557cd6b97 Delete dedicated frame when killing its buffer. (Bug#9699)
* window.el (window--delete): Delete dedicated frame unconditionally
when argument KILL is non-nil.  (Bug#9699)
2011-10-08 15:52:16 +02:00
Eli Zaretskii
7061c98630 Fix cursor positioning in hscrolled lines with R2L characters.
src/xdisp.c (set_cursor_from_row): Fix cursor positioning in mixed L2R+R2L
 lines that are hscrolled on the left.
2011-10-08 15:03:43 +02:00
Eli Zaretskii
03669ccbad src/xdisp.c (hscroll_window_tree): Support hscroll in right-to-left lines. 2011-10-08 14:15:08 +02:00
Eli Zaretskii
352ec8ffdd Fix bug #4426 with buffer_posn_from_coords when header line is present.
dispnew.c (buffer_posn_from_coords): Account it.vpos for a possible
 presence of header-line.
2011-10-08 12:58:50 +02:00
Glenn Morris
8c069cc768 Auto-commit of generated files. 2011-10-08 06:18:34 -04:00
thierry volpiatto
61a57ef489 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks. 2011-10-08 08:08:00 +02:00
Paul Eggert
d47439a333 Merge from gnulib, fixing some 'configure' typos (Bug#9696).
* lib/signal.in.h, lib/sigprocmask.c, m4/gl-comp.m4:
* m4/gnulib-common.m4: Merge from gnulib.
Without this, 'configure' would say "func_gl_gnulib_m4code_pathmax:
command not found" on powerpc-apple-darwin9.8.0.
2011-10-07 14:15:00 -07:00
Paul Eggert
84e8e185cd * alloc.c: Add comment. 2011-10-07 09:42:32 -07:00
Chong Yidong
de0bde6284 Copyedits and updates for Emacs manual's first few chapters.
* doc/emacs/basic.texi (Inserting Text): Add xref to Completion.  Add
ucs-insert example, and document prefix argument.
(Moving Point): Fix introduction; C-f/C-b are no longer equivalent
to left/right.  Tweak left-char and right-char descriptions.
M-left and M-right are now bound to left-word/right-word.
(Erasing): Document delete-forward-char.

* doc/emacs/commands.texi (User Input): Define "input event" more clearly.
(Keys): Add xref to Echo Area.
(Commands): Clarify relation between commands and functions.

* doc/emacs/entering.texi (Entering Emacs): Define "startup screen".
Document window-splitting behavior with command-line inputs.
(Exiting): Remove obsolete paragraph about shells without suspend
functionality.

* doc/emacs/frames.texi (Non-Window Terminals): Index just "text-only
terminal", which is used throughout the manual now.

* doc/emacs/screen.texi (Screen, Menu Bar): Copyedits.
(Point): Remove duplicate paragraph on cursors, also in Screen.
(Mode Line): Trailing dashes no longer shown on X displays.
2011-10-07 12:22:04 -04:00
Chong Yidong
c383327999 * bindings.el ([M-left],[M-right]): Bind to left-word and right-word respectively. 2011-10-07 12:05:10 -04:00
Stefan Monnier
a66cfb1c67 * src/buffer.c (syms_of_buffer) <enable-multibyte-characters>: Don't
advertise functionality which we discourage or doesn't work.
2011-10-07 09:08:47 -04:00
Glenn Morris
f4add3d274 Auto-commit of generated files. 2011-10-07 06:19:41 -04:00
Paul Eggert
7c5ee88ecb Fix alignment-related core dump during GC.
* configure.in (GC_LISP_OBJECT_ALIGNMENT): Remove.
This is now done by src/alloc.c.
* src/alloc.c (GC_LISP_OBJECT_ALIGNMENT): Use offsetof, not __alignof__
or sizeof.  __alignof__ gives the wrong answer on Fedora x86-64
with GCC 4.6.1 when configured with CC='gcc -m32' --with-wide-int;
this makes Emacs dump core during garbage collection on rare
occasions.  sizeof is obviously inferior to offsetof here, so
stick with offsetof.
(GC_POINTER_ALIGNMENT): New macro.
(mark_memory): Omit 3rd (offset) arg; caller changed.
Don't assume EMACS_INT alignment is the same as pointer alignment.
2011-10-07 00:23:44 -07:00
Glenn Morris
21ce824514 * lisp/cus-start.el (debug-on-quit): Fix custom type. 2011-10-06 22:17:29 -04:00
Gnus developers
465d0300d4 Merge changes made in Gnus trunk.
gnus.texi (Gnus Utility Functions): Add more references and explanations (bug#9683).
ecomplete.el (ecomplete-display-matches): Use a local keymap to handle bindings.
gnus-win.el (gnus-configure-windows): Protect against reading ephemeral groups outside of Gnus.
2011-10-06 22:11:15 +00:00
Lars Magne Ingebrigtsen
0181e1939e (define-key-after): Clarify that the function is not useful for non-menu keymaps. 2011-10-06 21:15:19 +02:00
Lars Magne Ingebrigtsen
6d823bb253 * progmodes/gdb-mi.el (gdb): Fix typo in doc string. 2011-10-06 18:11:38 +02:00
thierry volpiatto
8e3459ce23 Update Changelog 2011-10-06 18:06:01 +02:00
thierry volpiatto
e97561a806 * lisp/eshell/eshell.el (eshell-command): Enable `eshell-mode' only in current minibuffer (Fix bug with recursive minibuffers). 2011-10-06 17:56:15 +02:00
thierry volpiatto
695abac19f * lisp/eshell/eshell.el (eshell-command): Enable `eshell-mode' only in current minibuffer (Fix bug with recursive minibuffers). 2011-10-06 17:18:48 +02:00
Chong Yidong
453e452200 Document exactly how emacsclient's -a "" starts the daemon.
* doc/emacs/misc.texi (emacsclient Options): Document how emacsclient
  runs the Emacs daemon.

* doc/man/emacsclient.1: Document how -a "" starts the daemon.

Fixes: debbugs:9674
2011-10-06 11:13:45 -04:00
Chong Yidong
a1c2d21e0e * lisp/progmodes/gdb-mi.el (gdb): Doc fix.
See http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00229.html
2011-10-06 10:55:10 -04:00
Katsumi Yamaoka
a959fc400d shr.el (shr-tag-img): Don't get images displayed in tables. 2011-10-06 09:25:26 +00:00
Chong Yidong
969aa7346f * display.texi (Low-Level Font, Face Attributes, Font Lookup): Fix xref.
Fixes: debbugs:9675
2011-10-05 17:39:54 -04:00
Martin Rudalics
c96111ea55 New functions window-point-1 and set-window-point-1.
* window.el (window-point-1, set-window-point-1): New functions.
(window-in-direction, record-window-buffer, window-state-get-1)
(display-buffer-record-window): Use window-point-1 instead of
window-point.
(set-window-buffer-start-and-point): Use set-window-point-1.
2011-10-05 10:59:13 +02:00
Martin Rudalics
5a4cf28234 New option frame-auto-hide-function replacing frame-auto-delete.
* window.el (frame-auto-hide-function): New option replacing
frame-auto-delete.  Suggested by Stefan Monnier.
(window--delete): Call frame-auto-hide-function instead of
investigating frame-auto-delete.
2011-10-05 08:49:53 +02:00
Stefan Monnier
9854542eaa * lisp/emacs-lisp/edebug.el: Heed checkdoc recommendations. 2011-10-05 01:30:03 -04:00
Glenn Morris
8943cfb0c8 Small perl-mode fixes.
* lisp/progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
(perl-calculate-indent): Suppress scan errors.  (Bug#2205)
2011-10-04 22:28:55 -07:00
Leo Liu
647ab96713 Fix argument to buffer-live-p in read-char-choice 2011-10-05 11:37:21 +08:00