1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-22 20:42:26 -08:00
Commit graph

92445 commits

Author SHA1 Message Date
Stefan Monnier
70f44c655c (pcomplete-comint-setup): If there's a choice, replace
shell-dynamic-complete-filename in preference to
comint-dynamic-complete-filename.
2009-10-28 13:59:30 +00:00
Stefan Monnier
b861e45ef6 (bookmark-insert-location, bookmark-bmenu-list)
(bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
Don't consider whether the display supports colors.
(bookmark-import-new-list): Use dolist.
(bookmark-bmenu-mode-map): Move initialization into declaration.
(bookmark-bmenu-list): Use dolist, simplify.
(bookmark-show-all-annotations): Use save-selected-window and dolist.
(menu-bar-final-items): Use push.
2009-10-28 03:09:11 +00:00
Stefan Monnier
8549241d7f Fix last change's attribution. 2009-10-28 02:07:13 +00:00
Stefan Monnier
cc63d28f93 (vc-hg-state, vc-hg-working-revision): Use process-file so
it works on remote files.
(vc-hg-diff): Don't pass any `--cwd' argument.
2009-10-28 02:05:46 +00:00
Kevin Ryde
3064457307 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine): Use
help-xref-info-regexp and help-xref-url-regexp to identify links.
(Further to Bug#3921).
2009-10-27 22:59:55 +00:00
Kevin Ryde
849f465a05 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine): Use
help-xref-info-regexp and help-xref-url-regexp to identify links.
(Further to Bug#3921).
2009-10-27 22:52:19 +00:00
Robert J. Chassell
45cf6cbd8c Minor change, bump Emacs version 2009-10-27 11:55:13 +00:00
Michael Albinus
9be01a63e3 * net/tramp-imap.el (top): Add X-Size' to imap-hash-headers'.
(tramp-imap-do-copy-or-rename-file): Don't use the inode, when
calling `tramp-imap-put-file'.  Add file size to the call.
(tramp-imap-get-file-entries): Compute also user name, file size,
and date.
(tramp-imap-handle-insert-directory): Insert uid and gid.
(tramp-imap-handle-file-attributes): Transform uid and gid
according to `id-format'.
(tramp-imap-put-file): New optional parameter SIZE.  Encode file
size in header X-Size.
2009-10-27 10:53:06 +00:00
Glenn Morris
b8c5de8f13 Make links to doc/lispintro/*.pdf. 2009-10-27 02:48:13 +00:00
Glenn Morris
6bfde5f209 Add copyright information for PDF images. 2009-10-27 02:46:22 +00:00
Glenn Morris
ce109c95cc (texinfodir, TEXI2PDF): New variables.
(ENVADD): Add -I$texinfodir.
(emacs-lisp-intro.pdf): New target.
2009-10-27 02:45:57 +00:00
Glenn Morris
b60bfeccea (TEXI2PDF): New variable.
(emacs-lisp-intro.pdf): New target.
2009-10-27 02:45:40 +00:00
Glenn Morris
b595510adb New file, generated from .eps version with epstopdf. 2009-10-27 02:45:17 +00:00
Juanma Barranquero
782a943e7f * minibuf.c (Fall_completions): Fix typos in docstring. 2009-10-26 16:20:44 +00:00
Juanma Barranquero
057bce6f17 Fix typos in comments.
* minibuf.c (Fall_completions): Fix typo in docstring.
2009-10-26 15:18:03 +00:00
Juanma Barranquero
41849bf9cd * simple.el (transpose-subr): Give clearer error when the mark is not set.
(Bug#4807)
2009-10-26 14:59:12 +00:00
Andreas Schwab
242bc74cea (PURESIZE_RATIO): Increase back to 10/6. 2009-10-26 10:39:41 +00:00
Juanma Barranquero
522d013a59 * window.c (grow_mini_window): Comment out "delta >= 0" assertion.
For delta < 0, skip check that only makes sense when the mini-window
  is going to be enlarged.  (Bug#4534)
2009-10-26 10:04:37 +00:00
Michael Albinus
293c24f9ad * net/tramp.el (tramp-perl-file-truename): New defconst. Perl
code contributed by yary <not.com@gmail.com> (tiny change).
(tramp-handle-file-truename, tramp-get-remote-perl): Use it.
Check also for "perl-file-spec" and "perl-cwd-realpath"
properties.
(tramp-handle-write-region): In case of APPEND, reuse the tmpfile
name.

* net/tramp.el (tramp-perl-file-name-all-completions): New
defconst.
(tramp-get-remote-readlink): New defun.
(tramp-handle-file-truename): Use it.
(tramp-handle-file-exists-p): Check file-attributes cache, assume
file exists if cache value present.
(tramp-check-cached-permissions) New defun.
(tramp-handle-file-readable-p): Use it.
(tramp-handle-file-writable-p): Likewise.
(tramp-handle-file-executable-p): Likewise.
(tramp-handle-file-name-all-completions): Try using Perl to get
partial completions.  When perl not available, combine `cd' and
`ls' into single remote operation and use shell expansion to get
partial remote directory contents.  Set `file-exists-p' cache for
directory and any files returned by ls.  Change cache handling to
support partial directory contents.  Use error message emitted by
remote `cd' or Perl code for local tramp-error.
(tramp-do-copy-or-rename-file-directly): Avoid separate
tramp-send-command-and-check call.
(tramp-handle-process-file): Merge three remote ops into one.  Do
not flush all caches when `process-file-side-effects' is set.
(tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
file-attributes shows uid/gid to be set already.
2009-10-26 09:29:12 +00:00
Michael Albinus
36f1267e80 * net/tramp-imap.el (tramp-imap-file-name-handler-alist): Ignore
`dired-call-process'.
(tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
2009-10-26 09:05:09 +00:00
Dan Nicolaescu
a7610c523c * textmodes/tex-mode.el (tex-dvi-view-command)
(tex-show-queue-command, tex-open-quote):
* progmodes/ruby-mode.el (auto-mode-alist)
(interpreter-mode-alist): Purecopy strings.

* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.

* emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
string for the hook, keymap and abbrev table.

* emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.

* x-dnd.el (x-dnd-xdnd-to-action):
* startup.el (fancy-startup-text, fancy-about-text): Change to
defconst from defvar.

* ps-print.el (ps-page-dimensions-database): Purecopy initial value.

* mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
Purecopy initialization strings.

* mail/sendmail.el (mail-header-separator)
(mail-personal-alias-file):
* mail/rmail.el (rmail-default-dont-reply-to-names)
(rmail-ignored-headers, rmail-retry-ignored-headers)
(rmail-highlighted-headers, rmail-secondary-file-directory)
(rmail-secondary-file-regexp):
* files.el (null-device, file-name-invalid-regexp)
(locate-dominating-stop-dir-regexp)
(inhibit-first-line-modes-regexps): Purecopy initialization
strings.
(interpreter-mode-alist): Use mapcar instead of mapc.

* buff-menu.el (Buffer-menu-mode-map): Purecopy name.

* bindings.el (mode-line-major-mode-keymap): Purecopy name.
(completion-ignored-extensions):
(debug-ignored-errors): Purecopy strings.
2009-10-26 06:43:36 +00:00
Stefan Monnier
0667de2146 (pcomplete-std-complete): Obey pcomplete-use-paring.
(pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
(pcomplete--here): Use push.
2009-10-26 04:06:01 +00:00
Stefan Monnier
4fcc3d324a (all-completions): Declare the 4th arg obsolete. 2009-10-26 03:39:15 +00:00
Stefan Monnier
2d0853070d (pcomplete-unquote-argument-function): New var.
(pcomplete-unquote-argument): New function.
(pcomplete--common-suffix): Always pay attention to case.
(pcomplete--table-subvert): Quote and unquote the text.
(pcomplete--common-quoted-suffix): New function.
(pcomplete-std-complete): Use it and pcomplete-begin.
2009-10-25 20:38:06 +00:00
Stefan Monnier
955ef4309a (bookmark-bmenu-list): Don't use switch-to-buffer if
we're inside a dedicated or minibuffer window.
2009-10-25 18:09:57 +00:00
Stefan Monnier
eefa91dbc0 * cedet/semantic/fw.el (semantic-alias-obsolete)
(semantic-varalias-obsolete): Make the `when' arg mandatory.
(define-mode-overload-implementation):
* cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
* cedet/semantic/wisent.el (wisent-lex-make-token-table):
* cedet/semantic/util.el (semantic-file-token-stream)
(semantic-something-to-stream):
* cedet/semantic/tag.el (semantic-tag-make-assoc-list)
(semantic-expand-nonterminal):
* cedet/semantic/tag-file.el (semantic-find-nonterminal)
(semantic-find-dependency, semantic-find-nonterminal)
(semantic-find-dependency):
* cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
(semantic-flex-text, semantic-flex-make-keyword-table)
(semantic-flex-keyword-p, semantic-flex-keyword-put)
(semantic-flex-keyword-get, semantic-flex-map-keywords)
(semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
* cedet/semantic/java.el (semantic-java-prototype-nonterminal):
* cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
(semantic-after-idle-scheduler-reparse-hooks):
* cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
* cedet/semantic/db-mode.el (semanticdb-mode-hooks):
* cedet/semantic.el (semantic-toplevel-bovine-table)
(semantic-toplevel-bovine-cache)
(semantic-before-toplevel-bovination-hook, semantic-init-hooks)
(semantic-init-mode-hooks, semantic-init-db-hooks)
(semantic-bovination-working-type): Provide the `when' arg.
2009-10-25 02:55:27 +00:00
Karl Fogel
7c85c02b81 * bookmark.el: Update documentation, especially documentation
of `bookmark-alist' and of the bookmark file format.
  Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
2009-10-25 02:07:45 +00:00
Chong Yidong
18060980dd * keyboard.c (read_char_x_menu_prompt): Don't demand a prompt
string in menu maps (Bug#4471).
2009-10-25 00:40:13 +00:00
Chong Yidong
3e42584538 * mail/emacsbug.el (report-emacs-bug): Clarify that the
keybindings apply to the mail buffer (Bug#4003).  Shrink help
window to buffer.
2009-10-24 22:09:08 +00:00
Chong Yidong
cdd47d4862 * whitespace.el (whitespace-mode, whitespace-newline-mode)
(global-whitespace-mode, global-whitespace-newline-mode)
(whitespace-toggle-options, global-whitespace-toggle-options): Doc
fix (Bug#3660).
2009-10-24 21:51:03 +00:00
Chong Yidong
ba07c9ad6c * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
of xmltok-start before the end tag was inserted (Bug#2840).
2009-10-24 21:32:19 +00:00
Miles Bader
3cf95e3eb6 Add arch tagline 2009-10-24 21:31:16 +00:00
Chong Yidong
3e8ae8a634 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
patterns that are preceded by an open-paren (Bug#1320).
2009-10-24 21:15:39 +00:00
Chong Yidong
ab27682008 * files.el (delete-directory): Delete symlinks to directories with
delete-file (Bug#4739).
2009-10-24 20:30:44 +00:00
Chong Yidong
fec8f0fe66 * nsfns.m (ns_set_name, ns_set_name_as_filename): Don't call
FRAME_NS_VIEW on terminal frames (Bug#4765).
2009-10-24 18:58:50 +00:00
Chong Yidong
86f1602f64 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
* cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
argument to make-obsolete.

* cedet/semantic/fw.el (semantic-alias-obsolete)
(semantic-varalias-obsolete): Add optional WHEN argument.
2009-10-24 18:02:47 +00:00
Andreas Schwab
1cae01f715 (xd_retrieve_arg): Handle DBUS_TYPE_INTnn and
DBUS_TYPE_UINTnn separately to get proper sign extension.
2009-10-24 16:45:25 +00:00
Andreas Schwab
58a1288952 (Ffile_attributes): Simplify now that FIXNUM_OVERFLOW_P
can properly handle unsigned types.
(make_uid, make_gid): Removed.
2009-10-24 16:34:52 +00:00
Andreas Schwab
987c93276e (FIXNUM_OVERFLOW_P): Fix last change to handle unsigned
types again.
2009-10-24 16:32:06 +00:00
Andreas Schwab
10d66ec001 (procfs_ttyname): Fix sprintf format to match argument
type.
(system_process_attributes): Likewise.
2009-10-24 14:01:03 +00:00
Dan Nicolaescu
a9a2a6db29 (vc-backend-for-registration): Rename from
vc-get-backend-for-registration.  Update callers.
2009-10-24 06:34:26 +00:00
Dan Nicolaescu
905a9ed392 * keymap.c (Fmake_sparse_keymap): Purecopy the name.
* eval.c (Fautoload): Purecopy the filename.  Simplify.

* category.c (Fdefine_category): Purecopy docstring.

* international/mule-cmds.el (set-language-info-alist): Purecopy lang-env.
(leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
(charset): Purecopy the name.
(define-char-code-property): Purecopy string arguments.

* emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
Purecopy string arguments.

* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
* ediff-hook.el (menu-bar-ediff-menu):
* buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
* bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
2009-10-24 06:32:03 +00:00
Glenn Morris
1dee7c238b (pcomplete-erc-all-nicks): Autoload it, to silence compiler. 2009-10-24 03:54:58 +00:00
Glenn Morris
595521d74c (pcomplete-erc-all-nicks): Autoload it, to silence compiler.
(pcomplete/erc-mode/DCC): Replace cl-function remove-duplicates with
erc-delete-dups.
2009-10-24 03:54:50 +00:00
Glenn Morris
ae73233745 (file-cache-completions-keymap): Bind mouse-2 to
file-cache-choose-completion.
(file-cache-choose-completion): Handle an optional event argument.
(file-cache-mouse-choose-completion): Make it an obsolete alias.
2009-10-24 03:51:51 +00:00
Glenn Morris
6c74d52320 (comint-dynamic-list-completions): Use choose-completion rather than
obsolete alias mouse-choose-completion.
2009-10-24 03:50:20 +00:00
Glenn Morris
656fc5f537 (term-dynamic-list-completions): Use choose-completion rather than
obsolete alias mouse-choose-completion.
2009-10-24 03:49:44 +00:00
Glenn Morris
ae4808385b (octave-complete-symbol): Use choose-completion if
mouse-choose-completion is ever removed.
2009-10-24 03:48:37 +00:00
Glenn Morris
9847dc91f3 (sgml-looking-back-at): Move definition before use. 2009-10-24 03:45:50 +00:00
Glenn Morris
e8f2a5d597 (generate-autoload-cookie): Define for compiler. 2009-10-24 03:44:42 +00:00