Commit graph

1201 commits

Author SHA1 Message Date
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Chong Yidong
b316b2b864 (visual-line-mode-map): Remove M-[ and M-] bindings. 2009-01-04 08:30:58 +00:00
Chong Yidong
fdb77e6ff4 Minor doc fix. 2009-01-04 08:03:23 +00:00
Martin Rudalics
263bc3fa94 (minibuffer-default-add-shell-commands): Fix doc-string typo. 2009-01-01 09:14:42 +00:00
Chong Yidong
d658acb641 (minibuffer-default): Add defvar. 2009-01-01 03:36:43 +00:00
Martin Rudalics
4dc1abebf9 (last-buffer): Don't set major mode of *scratch* if
that buffer exists already.  Rewrite doc-string.
2008-12-31 15:44:25 +00:00
Stefan Monnier
125f795168 (completion-all-completions-with-base-size): Remove.
(completion-all-completions): Don't set it.
(completion-table-with-context, completion--file-name-table):
Don't add base-size in last cdr.
(completion-hilit-commonality): Add argument `base-size'.
(display-completion-list, completion-emacs21-all-completions)
(completion-emacs22-all-completions, completion-basic-all-completions):
Provide it.
(completion-pcm--all-completions): Don't need to remove the base-size
in last-cdr any more.
2008-12-21 05:20:06 +00:00
Juanma Barranquero
9bc505aba8 * simple.el (bad-package-check): Fix arguments of `display-warning',
using the package name as TYPE.  Use `string-match-p'.
2008-12-15 12:52:16 +00:00
Chong Yidong
58b356e9b5 Tweak the previous doc fixes. 2008-11-27 17:07:25 +00:00
Chong Yidong
6a9127b65f (use-empty-active-region, use-region-p, region-active-p): Doc fix. 2008-11-27 17:01:50 +00:00
Lute Kamstra
9af967bd65 (goto-line): Rename argument. 2008-11-22 17:33:06 +00:00
Juanma Barranquero
5626c14e8d * simple.el (quoted-insert, minibuffer-history-isearch-pop-state, undo)
(undo-only, rotate-yank-pointer, kill-whole-line, push-mark-command)
  (exchange-point-and-mark, set-goal-column, kill-line, backward-word)
  (kill-word, backward-kill-word): Doc fixes.
  (shell-command, repeat-complex-command): Reflow docstrings.
  (zap-to-char, pop-to-mark-command): Fix typos in docstrings.
2008-11-17 01:54:02 +00:00
Juri Linkov
0eb5f40f85 (minibuffer-default-add-function): Fix docstring to
use clear text "default values" instead of obscure references to
the dynamic variable `minibuffer-default'.
2008-11-17 00:45:25 +00:00
Juanma Barranquero
1d2b0303d9 * simple.el (idle-update-delay, next-error-highlight)
(next-error-highlight-no-select, next-error-recenter, next-error-hook)
  (minibuffer-history-case-insensitive-variables, kill-ring-max)
  (kill-read-only-ok, backward-delete-char-untabify-method)
  (kill-whole-line, mark-ring-max, global-mark-ring-max)
  (set-mark-command-repeat-pop, next-line-add-newlines, track-eol)
  (goal-column, line-move-ignore-invisible, fill-prefix)
  (auto-fill-inhibit-regexp, blink-matching-paren)
  (blink-matching-paren-on-screen, blink-matching-paren-distance)
  (blink-matching-delay, blink-matching-paren-dont-ignore-comments)
  (read-mail-command, mail-user-agent): Remove * in defcustom docstrings.
  (minibuffer-history-isearch-wrap, transient-mark-mode)
  (next-logical-line, auto-fill-mode, line-number-mode)
  (column-number-mode, size-indication-mode, clone-indirect-buffer)
  (normal-erase-is-backspace-mode): Doc fixes.
  (current-kill, transient-mark-mode, toggle-truncate-lines)
  (visible-mode): Reflow docstrings.
  (minibuffer-local-shell-command-map, interprogram-paste-function):
  Fix typos in docstrings.
2008-10-30 17:03:30 +00:00
Alan Mackenzie
b553f6858c (undo-more): Add comment explaining the operations on pending-undo-list
and buffer-undo-list.
2008-10-21 21:14:04 +00:00
Chong Yidong
c6f3e20705 (region-active-p): Doc fix. 2008-10-21 17:01:53 +00:00
Eli Zaretskii
30ee26a959 (apply-partially): Move from subr.el to simple.el. 2008-10-20 23:14:36 +00:00
Eli Zaretskii
086a7dd476 (minibuffer-default-add-shell-commands): Doc fix. 2008-10-19 15:01:46 +00:00
Glenn Morris
2e7bd464d8 (shell-delimiter-argument-list, shell-file-name-chars)
(shell-file-name-quote-list): Declare.
2008-10-12 22:45:27 +00:00
Andreas Schwab
79ccd1b816 (minibuffer-complete-shell-command): Bind
comint-delimiter-argument-list, comint-file-name-chars and
comint-file-name-quote-list like shell-mode.
2008-10-10 17:30:58 +00:00
Chong Yidong
8a7daef5b9 (choose-completion): Try reselecting completion-reference-buffer. 2008-08-15 00:30:44 +00:00
Chong Yidong
3c59150df6 (completion-base-size): Doc fix. 2008-08-14 23:44:29 +00:00
Chong Yidong
37820ea92e Delete trailing whitespace. 2008-08-12 19:41:18 +00:00
Chong Yidong
748e001a26 (visual-line--saved-state): New var.
(visual-line-mode): Save local values of variables, and restore
them when visual-line-mode is disabled.
2008-08-12 19:39:50 +00:00
Juri Linkov
d6601455c1 (read-shell-command, shell-command):
Move code that uses minibuffer-with-setup-hook to set
minibuffer-default-add-function to minibuffer-default-add-shell-commands
from the interactive spec of `shell-command' to `read-shell-command'.
2008-07-31 16:51:21 +00:00
Juri Linkov
0e3269e58a (quoted-insert): Comment out code that treats 0240-0377 specially. 2008-07-30 16:38:29 +00:00
Dan Nicolaescu
9e2a264775 Remove support for Mac Carbon.
* mactoolbox.c:
* macterm.h:
* macterm.c:
* macselect.c:
* macmenu.c:
* macgui.h:
* macfns.c:
* mac.c: Remove file.
* s/darwin.h:
* m/intel386.h:
* xfaces.c:
* xdisp.c:
* window.c:
* tparam.c:
* termhooks.h:
* termcap.c:
* term.c:
* syssignal.h:
* sysselect.h:
* sysdep.c:
* process.c:
* lread.c:
* lisp.h:
* keyboard.c:
* image.c:
* fringe.c:
* frame.h:
* frame.c:
* fontset.c:
* font.h:
* font.c:
* fns.c:
* fileio.c:
* emacs.c:
* dispnew.c:
* dispextern.h:
* config.in:
* atimer.c:
* Makefile.in: Remove code for Carbon

* erc.el: Remove code for Carbon.

Remove support for Mac Carbon.
* term/mac-win.el: Remove file
* international/mule-cmds.el:
* version.el:
* startup.el:
* simple.el:
* mwheel.el:
* mouse.el:
* loadup.el:
* isearch.el:
* info.el:
* frame.el:
* faces.el:
* disp-table.el:
* cus-start.el:
* cus-face.el:
* cus-edit.el:
* Makefile.in: Remove code for Carbon.

Remove support for Mac Carbon.
* makefile.w32-in:
* emacsclient.c: Remove code for Carbon.

* PROBLEMS:
* MACHINES: Remove mentions of Mac Carbon.

* ns-emacs.texi:
* faq.texi: Remove mentions of Mac Carbon.

* os.texi:
* frames.texi:
* display.texi: Remove mentions of Mac Carbon.

* xresources.texi: Remove mentions of Mac Carbon.

* make-tarball.txt:
* admin.el:
* FOR-RELEASE:
* CPP-DEFINES: Remove mentions of Mac Carbon.

Remove support for Mac Carbon.
* mac: Remove directory.
* make-dist:
* configure.in:
* README:
* Makefile.in:
* INSTALL:  Remove code for Carbon.
* configure: Regenerate.
2008-07-27 18:24:48 +00:00
Chong Yidong
c58140f4b0 (visual-line-mode): Disable truncate-partial-width-windows. 2008-07-21 18:14:23 +00:00
Chong Yidong
b677cb960a (visual-line-mode): Add lighter. 2008-07-21 03:54:03 +00:00
Chong Yidong
4dec5cff26 (visual-line): New custom group.
(visual-line-fringe-indicators): New var.
(visual-line-mode): Set fringe-indicator-alist based on
visual-line-fringe-indicators.
2008-07-21 03:50:17 +00:00
Chong Yidong
a2cf21a2c4 (line-move-visual): Make it a defcustom.
(line-move-1): Convert temporary-goal-column back to an integer if
it was set as a float by a previous call to line-move-visual.
(end-of-visual-line, beginning-of-visual-line, kill-visual-line)
(next-logical-line, previous-logical-line)
(turn-on-visual-line-mode): New functions.
(visual-line-mode-map): New variable.
(visual-line-mode, global-visual-line-mode): New minor mode.
2008-07-17 23:37:50 +00:00
Adrian Robert
edfda78355 merging Emacs.app (NeXTstep port) 2008-07-15 18:15:18 +00:00
Chong Yidong
2c80f06bd6 (line-move-visual): Handle null pixel position gracefully. 2008-07-12 18:33:47 +00:00
Chong Yidong
53a22af4f7 (previous-line, next-line): Update docstring. 2008-07-11 18:11:06 +00:00
Chong Yidong
4efebb82ef (line-move-visual): Obey goal-column and no-error arg.
(track-eol, temporary-goal-column): Update docstring.
(move-end-of-line, move-beginning-of-line): Bind line-move-visual
to nil.
(line-move-visual): New var.
(line-move-visual): New function.
(line-move): Call line-move-visual.
2008-07-11 18:07:01 +00:00
Stefan Monnier
d445b3f863 (special-mode-map): New var.
(special-mode): New major mode.
2008-06-20 17:10:33 +00:00
Chong Yidong
2a1e0c92c3 (line-move-1): If we did not move as far as desired, ensure that
point-left and point-entered hooks are called.
2008-06-03 22:56:56 +00:00
Stefan Monnier
ba2b460a1b Docstring improvement. 2008-05-28 17:36:04 +00:00
Michael Albinus
5a5abb2cee * simple.el (start-file-process): Clarify docstring. 2008-05-09 17:39:33 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Stefan Monnier
6138158d86 * minibuffer.el (completion-common-substring): Mark obsolete.
(completions-first-difference, completions-common-part): Move from simple.el.
(completion-hilit-commonality): New fun.
(display-completion-list, completion-emacs21-all-completions)
(completion-emacs22-all-completions): Use it.
* simple.el (completions-first-difference, completions-common-part):
Move to minibuffer.el.
(choose-completion-string): Use field functions and minibufferp.
(completion-setup-function): Don't set completions faces.
2008-04-29 05:36:55 +00:00
Glenn Morris
9b59816e23 (quoted-insert, zap-to-char): Revert previous change. 2008-04-26 20:13:00 +00:00
Glenn Morris
b528434a25 (quoted-insert, zap-to-char): Remove uses of obsolete
`translation-table-for-input'.
2008-04-26 02:34:49 +00:00
Juri Linkov
a98a2fe87a (minibuffer-default-add-shell-commands): New function.
Use declare-function for mailcap-file-default-commands from "mailcap".
(shell-command): Set local minibuffer-default-add-function to
minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
before calling read-shell-command.  Set 4th arg default-value of
read-shell-command to relative buffer-file-name in file buffers.
2008-04-22 19:50:11 +00:00
Stefan Monnier
d23734dc17 (choose-completion-string): Use minibuffer-completion-table. 2008-04-21 20:48:10 +00:00
Stefan Monnier
e2947429e7 * minibuffer.el (completion-all-completion-with-base-size): New var.
(completion--some): New function.
(completion-table-with-context, completion--file-name-table):
Return the base-size if requested.
(completion-table-in-turn): Generalize to multiple arguments.
(complete-in-turn): Compatibility alias.
(completion-styles-alist): New var.
(completion-styles): New customization.
(minibuffer-try-completion, minibuffer-all-completions):
New functions.
(minibuffer--do-completion, minibuffer-complete-and-exit)
(minibuffer-try-word-completion): Use them.
(display-completion-list, minibuffer-completion-help): Use them.
Handle all-completions's new base-size info to set completion-base-size.
* info.el (Info-read-node-name-1): Use completion-table-with-context,
completion-table-with-terminator and complete-with-action.
Remove the now obsolete completion-base-size-function property.
* simple.el (completion-list-mode-map): Move init into declaration.
(completion-list-mode): Use define-derived-mode.
(completion-setup-function): Use any completion-base-size that may
have been set before.  Remove handling of completion-base-size-function.
* loadup.el: Move abbrev.el up earlier.
2008-04-13 22:12:02 +00:00
Stefan Monnier
21622c6d10 * minibuffer.el (complete-with-action, lazy-completion-table):
Move from subr.el.
(apply-partially, completion-table-dynamic)
(completion-table-with-context, completion-table-with-terminator)
(completion-table-in-turn): New funs.
(completion--make-envvar-table, completion--embedded-envvar-table): New funs.
(read-file-name-internal): Use them.
(completion-setup-hook): Move from simple.el.
* subr.el (complete-with-action, lazy-completion-table):
* simple.el (completion-setup-hook): Move to minibuffer.el.
2008-04-11 22:28:02 +00:00
Glenn Morris
627bb5dcb5 (toggle-truncate-lines): Doc fix. 2008-04-10 07:46:40 +00:00
Stefan Monnier
7c37335792 (set-fill-column): Prompt rather than error by default. 2008-04-04 16:16:23 +00:00
Chong Yidong
ac1491a77f (handle-shift-selection): New arg. 2008-04-03 16:37:39 +00:00