Juanma Barranquero
c0943d3db2
Fix typos in docstrings, comments and ChangeLogs.
...
* etc/tutorials/TUTORIAL.es: Fix typos.
* lisp/cedet/semantic/symref/list.el (semantic-symref-list-rename-open-hits):
Fix typo in message.
(semantic-symref-list-map-open-hits): Fix typo in docstring.
* lisp/erc/erc-xdcc.el (erc-xdcc-help-text): Fix typo in docstring.
* lisp/gnus/nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring.
* lisp/international/mule.el (define-coding-system):
* lisp/international/titdic-cnv.el (quail-cxterm-package-ext-info):
* composite.el (compose-region): Fix typo in docstring.
* lisp/org/org-agenda.el (org-prefix-category-length)
(org-prefix-category-max-length): Fix typos in docstrings.
* src/font.c (Ffont_variation_glyphs):
* ccl.c (Fccl_execute_on_string): Fix typo in docstring.
2010-10-13 01:25:19 +02:00
David Reitter
5a66ed0f65
simple.el (line-move-visual): Do not truncate goal column to integer size.
...
(Bug#7020)
2010-09-12 13:46:57 -04:00
Chong Yidong
8d9f429164
* simple.el (beginning-of-buffer, end-of-buffer): Doc fix (Bug#6907).
2010-08-26 11:09:45 -04:00
Chong Yidong
a4aae1a532
* simple.el (kill-region): Doc fix (Bug#6787).
2010-08-14 19:21:40 -04:00
Stefan Monnier
c613687be4
* lisp/simple.el (exchange-dot-and-mark): Mark obsolete, finally.
2010-08-04 20:04:29 +02:00
Chong Yidong
5cbce271a6
* simple.el (push-mark-command): Set selection for select-active-regions.
2010-07-14 12:11:39 -04:00
Chong Yidong
e5b826aed0
Fix last fix.
2010-07-10 18:41:55 -04:00
Chong Yidong
c876b2638b
* simple.el (use-region-p): Doc fix (Bug#6607).
2010-07-10 15:32:53 -04:00
Karl Fogel
2c79f05378
Backport from trunk: doc fix.
...
* lisp/simple.el (compose-mail): Fix doc string to refer to
`compose-mail-user-agent-warnings', instead of to the nonexistent
`compose-mail-check-user-agent'.
2010-06-22 20:07:20 -07:00
Chong Yidong
9d30a9f45e
* simple.el (append-to-buffer): Fix last change.
2010-03-25 01:53:30 -04:00
Chong Yidong
d0fba1745f
Fix 2009-11-13 change to append-to-buffer (Bug#5749).
...
* simple.el (append-to-buffer): Ensure that point is preserved if
BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
(Bug#5749)
2010-03-24 12:18:13 -04:00
Chong Yidong
e8ab39085d
* simple.el (save-interprogram-paste-before-kill): Doc fix.
2010-02-16 09:40:45 -05:00
Juanma Barranquero
fa5f7c5f63
Fix typos in docstrings.
...
* outline.el (outline-head-from-level):
* simple.el (with-wrapper-hook):
* cedet/ede.el (ede-run-target, project-delete-target)
(project-dist-files, ede-name, ede-documentation, ede-parent-project)
(ede-adebug-project, ede-adebug-project-parent)
(ede-adebug-project-root):
* emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
(elint-defun, elint-buffer-env, elint-top-form-logged)
(elint-unbound-variable):
* textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
2010-02-14 18:28:10 +01:00
Glenn Morris
3602064247
Improve docs of some transposition functions.
...
* simple.el (transpose-subr): Give it a doc-string.
* textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
Doc fixes.
2010-02-13 11:29:25 -08:00
Glenn Morris
ea92f9f3e2
* simple.el (visual-line-mode): Capitalize lighter.
...
See http://lists.gnu.org/archive/html/emacs-devel/2010-02/msg00088.html
2010-02-03 21:02:56 -08:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Chong Yidong
5e1d496851
* simple.el (compose-mail): Remove mail-setup-with-from from
...
customization checks.
2009-12-12 17:01:03 +00:00
Chong Yidong
3d68fa99af
* simple.el (compose-mail): Check for incompatibilities and warn.
...
(compose-mail-user-agent-warnings): New option.
2009-12-07 16:09:05 +00:00
Chong Yidong
ef187c24a3
* simple.el (beginning-of-visual-line): Constrain to field
...
boundaries (Bug#5106).
2009-12-06 18:48:48 +00:00
Stefan Monnier
b08016f2fc
(normal-erase-is-backspace-mode): Fix thinko in message.
2009-12-01 18:06:06 +00:00
Stefan Monnier
8c22699f8b
(with-wrapper-hook): Fix thinko.
2009-11-19 20:58:42 +00:00
Juri Linkov
042b7cc622
(switch-to-completions): Move point to the first
...
completion when point was at the beginning of the buffer.
2009-11-19 17:40:14 +00:00
Stefan Monnier
a185548b1c
* abbrev.el (abbrev-with-wrapper-hook): (re)move...
...
* simple.el (with-wrapper-hook): ...to here. Add argument `args'.
* minibuffer.el (completion-in-region-functions): New hook.
(completion-in-region): New function.
* emacs-lisp/lisp.el (lisp-complete-symbol):
* pcomplete.el (pcomplete-std-complete): Use it.
2009-11-19 03:12:51 +00:00
Juri Linkov
0fc1013793
(set-mark-default-inactive): Add :type, :group
...
and :version. (Bug#4876)
2009-11-15 15:32:15 +00:00
Chong Yidong
e779144743
* simple.el (shell-command): Doc fix (Bug#4891).
2009-11-14 16:07:44 +00:00
Glenn Morris
f6714ede06
(x-selection-owner-p): Declare.
...
(read-mail-command): Use custom radio type rather than choice.
(completion-no-auto-exit): Doc fix.
2009-11-14 04:18:10 +00:00
Stefan Monnier
7fdbcd8387
* x-dnd.el (x-dnd-maybe-call-test-function):
...
* window.el (split-window-vertically):
* whitespace.el (whitespace-help-on):
* vc-rcs.el (vc-rcs-consult-headers):
* userlock.el (ask-user-about-lock-help)
(ask-user-about-supersession-help):
* type-break.el (type-break-force-mode-line-update):
* time-stamp.el (time-stamp-conv-warn):
* terminal.el (te-set-output-log, te-more-break, te-filter)
(te-sentinel,terminal-emulator):
* term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
(term-write-input-ring, term-check-source, term-start-output-log):
(term-display-buffer-line, term-dynamic-list-completions):
(term-ansi-make-term, serial-term):
* subr.el (selective-display):
* strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
(strokes-encode-buffer, strokes-xpm-for-compressed-string):
* speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
(speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
(speedbar-remove-localized-speedbar-support)
(speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
(speedbar-update-special-contents, speedbar-buffer-buttons-engine)
(speedbar-buffers-line-directory):
* simple.el (shell-command-on-region, append-to-buffer)
(prepend-to-buffer):
* shadowfile.el (shadow-save-todo-file):
* scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
(scroll-bar-maybe-set-window-start):
* sb-image.el (speedbar-image-dump):
* saveplace.el (save-place-alist-to-file, save-places-to-alist)
(load-save-place-alist-from-file):
* ps-samp.el (ps-print-message-from-summary):
* ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
(ps-background-image, ps-begin-job, ps-do-despool):
* ps-bdf.el (bdf-find-file, bdf-read-font-info):
* printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
(pr-ps-message-from-summary, pr-lpr-message-from-summary):
(pr-call-process, pr-file-list, pr-interface-save):
* novice.el (disabled-command-function)
(enable-command, disable-command):
* mouse.el (mouse-buffer-menu-alist):
* mouse-copy.el (mouse-kill-preserving-secondary):
* macros.el (kbd-macro-query):
* ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
* informat.el (batch-info-validate):
* ido.el (ido-copy-current-word, ido-initiate-auto-merge):
* hippie-exp.el (try-expand-dabbrev-visible):
* help-mode.el (help-make-xrefs):
* help-fns.el (describe-variable):
* generic-x.el (bat-generic-mode-run-as-comint):
* finder.el (finder-mouse-select):
* find-dired.el (find-dired-sentinel):
* filesets.el (filesets-file-close):
* files.el (list-directory):
* faces.el (list-faces-display, describe-face):
* facemenu.el (list-colors-display):
* ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
* epg.el (epg--process-filter, epg-cancel):
* epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
(epa--read-signature-type):
* emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
(emerge-file-names):
* ehelp.el (electric-helpify):
* ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
* ediff-vers.el (rcs-ediff-view-revision):
* ediff-util.el (ediff-setup):
* ediff-mult.el (ediff-append-custom-diff):
* ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
(ediff-wordify):
* echistory.el (Electric-command-history-redo-expression):
* dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
* disp-table.el (describe-display-table):
* dired.el (dired-find-buffer-nocreate):
* dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
* dabbrev.el (dabbrev--same-major-mode-p):
* chistory.el (list-command-history):
* apropos.el (apropos-documentation):
* allout.el (allout-obtain-passphrase):
(allout-copy-exposed-to-buffer):
(allout-verify-passphrase): Use with-current-buffer.
2009-11-13 22:19:45 +00:00
Stefan Monnier
e96d62cd3a
(minibuffer-default-add-completions): Drop deprecated 4th arg.
2009-11-13 14:50:17 +00:00
Dan Nicolaescu
6d341a2a09
* textmodes/ispell.el (ispell-skip-region-alist):
...
* textmodes/css-mode.el (auto-mode-alist):
* progmodes/compile.el (auto-mode-alist):
* international/mule.el (ctext-non-standard-encodings-alist)
(ctext-non-standard-encodings-regexp):
* simple.el (shell-command-switch, text-read-only):
* replace.el (occur-mode-map):
* paths.el (rmail-file-name):
* jka-cmpr-hook.el (jka-compr-build-file-regexp):
* find-file.el (ff-special-constructs):
* files.el (file-name-handler-alist):
* composite.el: Purecopy strings.
2009-11-12 06:55:39 +00:00
Dan Nicolaescu
6bdad9ae02
* term/x-win.el (x-gtk-stock-map):
...
* progmodes/vera-mode.el (auto-mode-alist):
* progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
(inferior-lisp-program, inferior-lisp-load-command):
* progmodes/hideshow.el (hs-special-modes-alist):
* progmodes/gud.el (same-window-regexps):
* progmodes/grep.el (grep-program, find-program, xargs-program):
* net/telnet.el (same-window-regexps):
* net/rlogin.el (same-window-regexps):
* language/ethiopic.el (font-ccl-encoder-alist):
* vc-sccs.el (vc-sccs-master-templates):
* vc-rcs.el (vc-rcs-master-templates):
* subr.el (cl-assertion-failed):
* simple.el (next-error-overlay-arrow-position):
* lpr.el (lpr-command):
* locate.el (locate-ls-subdir-switches):
* info.el (same-window-regexps, info)
(Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
* image-mode.el (image-mode, auto-mode-alist):
* hippie-exp.el (hippie-expand-ignore-buffers):
* format.el (format-alist):
* find-dired.el (find-ls-subdir-switches, find-grep-options)
(find-name-arg):
* facemenu.el (facemenu-keybindings):
* dired.el (dired-listing-switches, dired-chown-program):
* diff.el (diff-switches, diff-command):
* cus-edit.el (same-window-regexps):
* bindings.el (mode-line-mule-info)
(mode-line-buffer-identification): Purecopy strings.
2009-11-11 05:49:09 +00:00
Juri Linkov
e0987650e4
(dired-get-filename)<declare-function>:
...
Tell the byte-compiler about dired-get-filename.
(shell-command): In Dired mode, get filename from the current line
as the default value.
2009-11-11 00:11:40 +00:00
Dan Nicolaescu
ca0a881a35
* puresize.h (BASE_PURESIZE): Increase to 1470000.
...
* lread.c (Fload): Purecopy the file name when building Vpreloaded_file_list.
* textmodes/ispell.el (ispell-skip-region-alist):
* international/mule-conf.el (eight-bit):
* international/fontset.el (font-encoding-alist):
* startup.el (pure-space-overflow-message):
* simple.el (overwrite-mode-textual, overwrite-mode-binary):
* paths.el (gnus-nntp-service, rmail-spool-directory)
(term-file-prefix):
* files.el (save-some-buffers-action-alist):
* cmuscheme.el (same-window-buffer-names):
* ielm.el (same-window-buffer-names):
* shell.el (same-window-buffer-names):
* mail/sendmail.el (same-window-buffer-names):
* progmodes/inf-lisp.el (same-window-buffer-names):
* bindings.el (mode-line-client)
(mode-line-column-line-number-mode-map):
* language/tibetan.el (tibetan-precomposition-rule-regexp)
(tibetan-precomposed-regexp): Purecopy string arguments.
2009-10-30 02:00:11 +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
Dan Nicolaescu
8f43cbf352
* puresize.h (BASE_PURESIZE): Increase to 1430000.
...
* term/tty-colors.el (msdos-color-values): Remove declaration, unused.
(color-name-rgb-alist, tty-standard-colors)
(tty-color-mode-alist): Change to defconst.
* simple.el (mark-inactive): Purecopy message.
* menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
(global-map, yank-menu):
* textmodes/ispell.el (ispell-menu-map):
* net/eudc.el (eudc-tools-menu):
* international/mule-cmds.el (describe-language-environment-map)
(setup-language-environment-map, set-coding-system-map)
(mule-menu-keymap):
* vc-hooks.el (vc-menu-entry, vc-menu-map):
* replace.el (occur-mode-map):
* pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
* bindings.el (propertized-buffer-identification): Purecopy
tooltip text.
2009-10-23 05:15:26 +00:00
Stefan Monnier
28a90c44b4
* simple.el (normal-erase-is-backspace-mode): Use input-decode-map
...
rather than fiddling with global-map bindings, since it should only
affect per-terminal settings.
See http://bugs.gentoo.org/show_bug.cgi?id=289709 .
2009-10-22 19:31:43 +00:00
Stefan Monnier
ab14d7d521
(switch-to-completions): Look for *Completions* in other frames as well.
2009-10-22 15:27:17 +00:00
Stefan Monnier
d5e637154f
Replace completion-base-size by completion-base-position to fix bugs
...
such as (bug#4699).
* simple.el (completion-base-position): New var.
(completion-base-size): Mark as obsolete.
(choose-completion): Make it work for mouse events as well.
Pass the new base-position to choose-completion-string.
(choose-completion-guess-base-position): New function, extracted from
choose-completion-delete-max-match.
(choose-completion-delete-max-match): Use it. Make obsolete.
(choose-completion-string): Use the new base-position info.
(completion-root-regexp): Delete.
(completion-setup-function): Preserve completion-base-position.
Eliminate obsolete base-size manipulation.
* minibuffer.el (display-completion-list): Don't mess with base-size.
(minibuffer-completion-help): Set completion-base-position instead.
* mouse.el (mouse-choose-completion): Redefine as a mere alias to
choose-completion.
* textmodes/bibtex.el (bibtex-complete):
* emacs-lisp/crm.el (crm--choose-completion-string):
Adjust to new calling convention.
* complete.el (partial-completion-mode): Use minibufferp to avoid
bumping into incompatible change to choose-completion-string-functions.
* ido.el (ido-choose-completion-string): Make its calling convention
more permissive.
* comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
base-size manipulation.
(comint-dynamic-list-input-ring): Use dotimes and push.
* iswitchb.el (iswitchb-completion-help): Remove dead-code call to
fundamental-mode. Use `or'.
2009-10-15 01:50:17 +00:00
Eli Zaretskii
a7a8618bcd
(eval-expression): Doc fix.
2009-10-05 11:42:18 +00:00
Michael Albinus
91f1142403
* simple.el (start-file-process): Say in the doc-string, that file
...
handlers might not support pty association, if PROGRAM is nil.
2009-10-02 13:27:29 +00:00
Juanma Barranquero
32226619c5
Use called-interactively-p' instead of
interactive-p'.
2009-10-02 03:48:36 +00:00
Glenn Morris
28fab7b561
(hard-newline): Give it a doc-string.
2009-09-17 06:02:20 +00:00
Stefan Monnier
31cd2dd4e1
* simple.el: Add mapping for backspace/delete/clear/tab/escape/return
...
to function-key-map, and give them ascii-character property.
* term/x-win.el (x-alternatives-map):
* term/ns-win.el (ns-alternatives-map):
* term/internal.el (msdos-key-remapping-map):
* w32-fns.el (x-alternatives-map): Remove redundant mappings.
2009-09-14 01:22:42 +00:00
Stefan Monnier
adba8116c3
* mail/sendmail.el (send-mail-function):
...
* tooltip.el (tooltip-mode):
* simple.el (transient-mark-mode):
* rfn-eshadow.el (file-name-shadow-mode):
* frame.el (blink-cursor-mode):
* font-core.el (global-font-lock-mode):
* files.el (temporary-file-directory)
(small-temporary-file-directory, auto-save-file-name-transforms):
* epa-hook.el (auto-encryption-mode):
* composite.el (global-auto-composition-mode):
Use custom-initialize-delay.
* startup.el (command-line): Don't explicitly call
custom-reevaluate-setting for all the above vars.
* custom.el (custom-initialize-safe-set)
(custom-initialize-safe-default): Delete.
2009-09-13 00:52:55 +00:00
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
Juri Linkov
50c737e439
(shell-command): Set asynchronous process filter to
...
`comint-output-filter'. (Bug#4343)
2009-09-10 00:54:36 +00:00
Stefan Monnier
b56a5ae0fe
* mh-e/mh-comp.el (mh-send-letter):
...
* mail/sendmail.el (mail-recover-1):
* international/mule-diag.el (describe-current-coding-system-briefly)
(describe-current-coding-system):
* international/mule-cmds.el (select-safe-coding-system)
(select-message-coding-system)
(set-language-environment-coding-systems, set-locale-environment):
* hexl.el (hexl-insert-multibyte-char):
* dos-w32.el (find-buffer-file-type-coding-system):
* simple.el (what-cursor-position):
Replace uses of default-buffer-file-coding-system
with (default-value 'buffer-file-coding-system).
2009-08-28 04:21:14 +00:00
Sam Steingold
ba83a64e18
(kill-do-not-save-duplicates): New user option.
...
(kill-new): When it is non-nil, and the new string is the same as
the latest kill, set replace to t to avoid duplicates in kill-ring.
2009-08-27 14:56:17 +00:00
Sam Steingold
4ed8c7aadb
(save-interprogram-paste-before-kill): New user option.
...
(kill-new): When `save-interprogram-paste-before-kill' is non-nil,
save the interprogram-paste into kill-ring before overriding it
with the Emacs kill.
2009-08-26 20:55:39 +00:00
Michael Albinus
2c4f2562bb
* simple.el (process-file-side-effects): New defvar.
2009-08-25 08:45:41 +00:00
Stefan Monnier
85be9ec4ff
(choose-completion-string): Don't rely on minibuffer-completing-file-name
...
and ad-hoc checks to decide whether to continue completion or not.
2009-08-19 02:31:59 +00:00