1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00
Commit Graph

102905 Commits

Author SHA1 Message Date
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
Stefan Monnier
3ddfbceda2 * lisp/mpc.el (mpc-tool-bar-map): Add labels. 2011-10-04 20:56:26 -04:00
Glenn Morris
bdfa5dd206 * lisp/calendar/holidays.el (calendar-check-holidays): Doc fix. 2011-10-04 13:26:55 -04:00
Martin Rudalics
0e2070b5b6 Make frame iconification/deletion optional when burying buffers.
* window.el (window--delete): New function.
(frame-auto-delete): Resuscitate option.
(bury-buffer, replace-buffer-in-windows)
(quit-window): Rewrite using window--delete.
(display-buffer-pop-up-frame, display-buffer-pop-up-window):
Pass display-buffer-mark-dedicated to window--display-buffer-2
(Bug#9639).
2011-10-04 17:28:25 +02:00
Glenn Morris
0b007ea952 Tweak debbugs entry in gnus-bug-group-download-format-alist again.
* lisp/gnus/gnus-group.el (gnus-bug-group-download-format-alist):
Once again get the "maintainer" version of debbugs.gnu.org reports.
2011-10-03 19:27:29 -04:00
Stefan Monnier
df1bbe5b13 * src/keyboard.c (read_key_sequence_remapped): New var.
(read_key_sequence): Compute remapping in the right buffer.
(command_loop_1): Use read_key_sequence's remapping directly.
2011-10-03 16:50:54 -04:00
Stefan Monnier
915a9b6440 * lisp/pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
returns a list.  Add remote file name completion.
* lisp/comint.el (comint--table-subvert): Curry and get quote&unquote
functions as arguments.
(comint--complete-file-name-data): Adjust call accordingly.
* lisp/pcomplete.el (pcomplete--table-subvert): Remove.
(pcomplete-completions-at-point): Use comint--table-subvert instead.

Fixes: debbugs:9554
2011-10-03 12:49:56 -04:00
Stefan Monnier
3dc61a0913 * lisp/minibuffer.el (completion-table-case-fold): Use currying.
(completion--styles-type, completion--cycling-threshold-type): New constants.
(completion-styles, completion-category-overrides)
(completion-cycle-threshold): Use them.
* lisp/pcomplete.el (pcomplete-completions-at-point): Adjust call to
completion-table-case-fold.
2011-10-03 11:03:00 -04:00
Stephen Berman
8ea0a99305 * lisp/minibuffer.el (completion-category-overrides): Fix type of styles
and add more user friendly tags.

Fixes: debbugs:9660
2011-10-03 10:47:40 -04:00
Stefan Monnier
8c24b7f65f * lisp/international/mule-cmds.el: Fix abuses of apply-partially.
(mule-input-method-string): New widget.
(default-input-method, language-info-custom-alist): Use it.

Fixes: debbugs:9661
2011-10-03 10:18:42 -04:00
Glenn Morris
0e2a062845 Auto-commit of generated files. 2011-10-03 06:18:29 -04:00