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

102895 Commits

Author SHA1 Message Date
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
Glenn Morris
9aaf2b9c39 Fix some (unrelated) typos in comment and ChangeLog. 2011-10-02 16:53:59 -07:00
Richard M. Stallman
423dbf9b1e Rename linux' to gnu_linux'. 2011-10-02 18:43:52 -04:00
Lars Magne Ingebrigtsen
6452208631 shr.el (shr-tag-img): Add a space at the end of an ALT image text to make asynchronous adjacent image insertion work better. 2011-10-02 22:03:55 +00:00
Stefan Monnier
32c1fffd72 * lisp/pcomplete.el: Require comint.
(pcomplete--common-suffix): Remove.
(pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
(pcomplete--table-subvert): Sync with comint--table-subvert.
(pcomplete--entries): Use comint-completion-file-name-table.
* lisp/comint.el (comint-unquote-filename): Simplify.
(comint-completion-file-name-table): New function.
(comint--complete-file-name-data): Use it.
* src/dired.c (file_name_completion): Don't expand file name.
(Ffile_name_completion, Ffile_name_all_completions): Expand file name
before checking file name handler.

Fixes: debbugs:9616
2011-10-02 00:08:50 -04:00
Stefan Monnier
b0e2675c7f * pcmpl-gnu.el: Use lexical-binding.
(pcmpl-gnu-with-file-buffer): Fix last change.
2011-10-01 21:04:01 -04:00
Stefan Monnier
428fe61ade * lisp/pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro.
(pcmpl-gnu-tar-buffer): Remove.
(pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
avoid.  Make sure pcomplete-suffix-list is only changed temporarily.
Don't look inside the tar's file is it's too large.

Fixes: debbugs:9643
2011-10-01 21:00:17 -04:00
Stefan Monnier
51553db66b * src/minibuf.c (Finternal_complete_buffer): Only show internal buffers if
they've been requested explicitly.

Fixes: debbugs:9591
2011-10-01 20:25:27 -04:00
Juanma Barranquero
487ffd7a8c etc/NEWS: Fix typo. Remove duplicate info. 2011-10-02 01:15:46 +02:00
Chong Yidong
717a1362e3 Fix manual description of display-buffer-pop-up-window.
Also, tweaks to NEWS.

* doc/lispref/windows.texi (Display Action Functions): Fix description of
display-buffer-pop-up-window.
2011-10-01 18:16:24 -04:00
Chong Yidong
47afa88763 Add :version tag to shell-dir-cookie-re. 2011-10-01 18:05:36 -04:00