1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-02 11:50:48 -08:00
Commit graph

91545 commits

Author SHA1 Message Date
Stefan Monnier
8cb95edf7c * keymap.c (QCadvertised_binding): New constant.
(syms_of_keymap): Initialize it.
(Fwhere_is_internal): Try and use bindings from :advertised-binding
if applicable.

* progmodes/xscheme.el (xscheme-evaluation-commands):
Put a :advertised-binding property rather than using
advertised-xscheme-send-previous-expression.
(advertised-xscheme-send-previous-expression): Declare obsolete.
* emulation/crisp.el (crisp-mode-map): Use `undo' rather than
`advertised-undo'.
(crisp-mode): Add corresponding bindings to
undo's :advertised-binding instead.
* dired.el (dired-mode-map): Put a :advertised-binding property rather
than using dired-advertised-find-file.
(dired-advertised-find-file):
* simple.el (advertised-undo):
* wid-edit.el (advertised-widget-backward): Declare obsolete.
(widget-keymap): Put a :advertised-binding property rather
than using advertised-widget-backward.
* bindings.el (ctl-x-map): Put a :advertised-binding property rather
than using advertised-undo.
* tutorial.el (tutorial--default-keys): Adjust accordingly.
2009-09-11 00:58:59 +00:00
Adrian Robert
599498c31f fix typo (wrong name) in my 2009-09-09 entry 2009-09-10 19:17:56 +00:00
Stefan Monnier
50d4ba3993 * keyboard.c (Qmenu_alias, Vdefine_key_rebound_commands): Remove.
(parse_menu_item): Streamline since bindings are recomputed all the
time anyway.  Don't bother checking Vdefine_key_rebound_commands any
more and don't support lmenu's menu-alias any more either.
* subr.el (define-key-rebound-commands): Mark obsolete.
* startup.el (precompute-menubar-bindings): Remove.
(normal-top-level): Remove obsolete code that tried to precompute
menubar bindings.
* loadup.el (define-key-rebound-commands): Don't bother fiddling with
define-key-rebound-commands and precompute-menubar-bindings.
2009-09-10 18:19:03 +00:00
Stefan Monnier
deeb21d4d7 (Fwhere_is_internal): Last minute typo. 2009-09-10 16:47:47 +00:00
Stefan Monnier
a88a5372fd * keymap.c (where_is_internal_data): Make noindirect a boolean.
(where_is_internal): Strip it down to only traverse the keymaps.
Move the cache handling from Fwhere_is_internal to here.
(Fwhere_is_internal): Move the handling of remapping and the choice of
the best binding from where_is_internal to here.
Unify the cached/noncached paths, so remapping is also handled
correctly when the cache is used, and so the cache can be used to
speed up remap-handling when applicable.
Give preference to non-remapped bindings.
* doc.c (Fsubstitute_command_keys): Let Fwhere_is_internal's prefer
non-remapped bindings.
* keyboard.c (parse_menu_item): Let Fwhere_is_internal handle
command remapping.
2009-09-10 16:19:52 +00:00
Glenn Morris
a126db16fa Grammar. 2009-09-10 06:27:04 +00:00
Glenn Morris
9477096cf1 (cvs-mode-find-file): Use forward-line rather than goto-line. 2009-09-10 06:23:06 +00:00
Glenn Morris
cb4fb1d065 (byte-compile-function-environment): Doc fix.
(byte-compile-file-form-autoload): Don't warn about unknown functions
where the autoload statement comes after the use.
(with-no-warnings): Give it a byte-hunk-handler like than of progn, so
that any handlers inside the body (eg require) are in turn respected.
2009-09-10 06:22:30 +00:00
Glenn Morris
ba661bf005 (degrees-to-radians): Mark as free from side effects. 2009-09-10 06:21:48 +00:00
Glenn Morris
b43704f2d7 (define-derived-mode): Give the mode's map, and syntax and abbrev
tables basic docs, if they don't have any.
2009-09-10 06:21:23 +00:00
Glenn Morris
117fdd32c7 (easy-mmode-defmap): Add doc-string. 2009-09-10 06:20:51 +00:00
Glenn Morris
a47236297e (top-level): Require cl when compiling.
(view-hello-file): Use default-value rather than
default-enable-multibyte-characters.
2009-09-10 06:20:25 +00:00
Glenn Morris
2fa207112c Move all safe and risky properties into the defcustoms. 2009-09-10 06:19:53 +00:00
Glenn Morris
6c82bad232 (rmail-user-mail-address-regexp): Move here from rmailsum.el.
Regenerate with extracted autoloads.
2009-09-10 06:19:34 +00:00
Glenn Morris
a5e9211639 (rmail-user-mail-address-regexp): Move to rmail.el.
Put autoloads in rmail.el rather than loaddefs.el.
2009-09-10 06:18:48 +00:00
Glenn Morris
35426db400 Put autoloads in rmail.el rather than loaddefs.el. 2009-09-10 06:18:23 +00:00
Nick Roberts
17b13e732b Bug#4375 (can't kill killed gud buffer")
(gdb): Revert 2009-08-11 change.  User should detach inferior
manually.
2009-09-10 03:42:13 +00:00
Nick Roberts
7ab133d169 *** empty log message *** 2009-09-10 03:40:51 +00:00
Stefan Monnier
19f48442c8 (display_mode_element): Move list length limit from 50 to
5000 (see thread starting with <xbaik5174uqu.fsf@cam.ac.uk>).
2009-09-10 03:20:51 +00:00
Nick Roberts
72d83b260c Reported in thread for Bug#4375.
* progmodes/gud.el (gud-tooltip-print-command): Use MI command
"-data-evaluate-expression" instead of print.
* progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
(gdb-tooltip-print): Parse output from above MI command.
2009-09-10 03:03:27 +00:00
Nick Roberts
9f16c54704 *** empty log message *** 2009-09-10 03:02:34 +00:00
Juanma Barranquero
50405cd07f * startup.el (command-line-normalize-file-name): On Windows and
MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
2009-09-10 02:25:53 +00:00
Juri Linkov
7ae624301e (grep-template): Add "<X>" to docstring.
(grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
the list.  Move "asm" to the bottom.
(grep-find-ignored-directories): Add `choice' with nil value
to empty the list easily.
(grep-find-ignored-files): New option.
(grep-files-history): Set to nil by default instead of '("ch" "el").
(grep-compute-defaults): Add "<X>" to `grep-template'.
(grep-read-files): Bind new local variables `default-alias' and
`default-extension'.  Use a list of default values for the file prompt.
(lgrep): Add `--exclude=' command line options composed from
`grep-find-ignored-files'.
(rgrep): Add `-name' command line options composed from
`grep-find-ignored-files'.  (Bug#4301)
2009-09-10 00:58:15 +00:00
Juri Linkov
50c737e439 (shell-command): Set asynchronous process filter to
`comint-output-filter'.  (Bug#4343)
2009-09-10 00:54:36 +00:00
Juri Linkov
cf5e419931 (isearch-text-char-description): Propertize escape
character sequences with the `escape-glyph' face.  (Bug#4344)
2009-09-10 00:54:15 +00:00
Katsumi Yamaoka
83ccc32ced * nnrss.el (nnrss-request-article): Remove binding of
default-enable-multibyte-characters that has gotten needless by
the 2007-07-13 change in rfc2047-encode-message-header.

* mml.el (mml-insert-multipart): Error on the message header.
(mml-insert-part): Error on the message header; position point at
the end of a MIME tag.
2009-09-10 00:12:07 +00:00
Adrian Robert
c1905ca3e6 * nsfont.m (ns_get_family): Don't force first letter to uppercase. 2009-09-09 15:05:47 +00:00
Stefan Monnier
cd8752523c (diff-hunk-kill): Fix the search of the next hunk (bug#4368). 2009-09-09 14:47:54 +00:00
Katsumi Yamaoka
5cc79e5aff (with-no-warnings): Define it for old Emacsen. 2009-09-09 10:41:50 +00:00
Katsumi Yamaoka
38dc51ba9b 2009-09-02 Teodor Zlatanov <tzz@lifelogs.com>
* auth.texi (Help for users): Corrected markup.
2009-09-09 10:07:19 +00:00
Katsumi Yamaoka
cdce0b331f * calendar/time-date.el (autoload):
Expand define-obsolete-function-alias into defalias and make-obsolete
for old Emacsen that Gnus supports.
(with-no-warnings): Define it for old Emacsen.
(time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
is available.
(time-to-number-of-days): Don't use (featurep 'xemacs) to check if
float-time is available; suppress compile warning for time-to-seconds.

2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>

* net/imap.el (imap-message-map): Docstring fix.
2009-09-09 09:29:29 +00:00
Katsumi Yamaoka
de0bdfe7aa 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-util.el (gnus-float-time): Alias to float-time if it exists.

* ecomplete.el (with-no-warnings): Define it for old Emacsen.
(ecomplete-add-item): Don't use (featurep 'xemacs) to check if
float-time is available; suppress compile warning for time-to-seconds.

2009-09-07  Katsumi Yamaoka  <yamaoka@jpl.org>

* mm-encode.el (mm-encode-buffer): Don't force 7bit encoding since MTA
may break data.  Suggested by Dmitri Paduchikh <dpaduch@k66.ru>.
Add the optional argument `encoding' that overrides the default.

* mml.el (mml-generate-mime-1): Pass encoding defined by a user to
mm-encode-buffer.

2009-09-02  Karl Kleinpaste  <karl@kleinpaste.org>

* gnus-art.el (gnus-article-read-summary-keys):
Fix gnus-buffer-configuration's value temporarily used.
2009-09-09 09:28:43 +00:00
Stefan Monnier
f9b7b5acb5 (where_is_internal): Filter out shadowed remappings.
Assume that where_is_internal returns unshadowed bindings to simplify
the code and get rid of the gotos.  Use ASIZE.
2009-09-09 02:38:50 +00:00
Glenn Morris
45980501ae Mention world-readable install. 2009-09-09 02:38:06 +00:00
Glenn Morris
2b2eb43148 (ffap-file-at-point): Handle absolute (non-remote) files with line
numbers too.  (Bug#4374)
2009-09-09 02:36:38 +00:00
Glenn Morris
07cd41530f (install-arch-indep): Don't recursively change perms of
site-lisp and infodir.  There may be non-Emacs files in here, and the
files supplied by Emacs are all handled explicitly already.  (Bug#3800)
(mkdir): Set umask to world-readable before creating directories.
mkinstalldirs already checks if dirs exist, don't duplicate this test.
2009-09-09 02:34:17 +00:00
Glenn Morris
a82a8b7519 (install): Set umask to world-readable before creating directories. 2009-09-09 02:32:48 +00:00
Glenn Morris
c5a139ca22 ($(DESTDIR)${archlibdir}): Set umask to world-readable before creating
directories and game score files.
2009-09-09 02:32:25 +00:00
Stefan Monnier
7dfac189f8 (Vtruncate_partial_width_windows): Improve docstring. 2009-09-09 01:21:10 +00:00
Stefan Monnier
755e021055 (smerge-remove-props, smerge-refine):
Use with-silent-modifications (bug#4342).
2009-09-08 19:47:07 +00:00
Stefan Monnier
83a5aac556 (with-silent-modifications): New macro. 2009-09-08 19:42:21 +00:00
Juanma Barranquero
3b814ebcdb Update. 2009-09-07 15:25:38 +00:00
Juanma Barranquero
79f01fa76c * files.el (top-level): Require `cl' when compiling. 2009-09-07 15:23:09 +00:00
Glenn Morris
8f09a02fc8 (proced-mode-map): Bind "d" to proced-mark-alt.
(proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
2009-09-07 02:35:29 +00:00
Glenn Morris
448ecec304 (auto-mode-alist): Use delphi-mode for .dpr files. 2009-09-07 02:26:37 +00:00
Juanma Barranquero
6088b51fd0 Fix typos. 2009-09-07 01:22:41 +00:00
Juanma Barranquero
e308dcd3b1 Fix typo (again). 2009-09-07 01:03:26 +00:00
Juanma Barranquero
b0f1eaf831 Fix typo. 2009-09-07 01:01:47 +00:00
Juanma Barranquero
06d0946173 * unidata/.gitignore: New file. 2009-09-07 00:58:16 +00:00
Nick Roberts
2f1c4cd068 (vc-git-annotate-command): Use separator to parse
arguments correctly.
2009-09-06 22:08:31 +00:00