1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-06 11:55:48 +00:00
Commit Graph

1188 Commits

Author SHA1 Message Date
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
Stefan Monnier
d34c311ab4 (beginning-of-buffer, end-of-buffer, goto-line, undo)
(copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
(keyboard-escape-quit): Check region-active-p i.s.o transient-mark-mode.
2008-04-03 02:16:17 +00:00
Chong Yidong
109cfe4e37 (deactivate-mark): When the mark is temporarily
active, restore the original value of transient-mark-mode.
(set-mark-command): First deactivate the mark if was temporarily
active.
(exchange-point-and-mark): Reactivate the mark if it was
temporarily active.
(handle-shift-selection): New fun.
(transient-mark-mode): Move var documentation here from buffer.c.
(next-line, previous-line, backward-word, move-end-of-line)
(move-beginning-of-line, forward-to-indentation)
(backward-to-indentation, back-to-indentation)
(beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
2008-04-02 20:16:10 +00:00
Juri Linkov
7f914bbedf (minibuffer-default-add-function): New variable with
the default to minibuffer-default-add-completions.
(minibuffer-default-add-done): New variable.  Make it buffer-local.
(minibuffer-default-add-completions): New function.
(goto-history-element): Set minibuffer-default-add-done to t and
call a function in minibuffer-default-add-function when the
specified absolute history position is greater than the length of
the minibuffer-default list and minibuffer-default-add-done is nil.
Change "^End of history; no next item$" to "^End of defaults;
no next item$".
2008-03-29 22:56:17 +00:00
Stefan Monnier
2977fc373a (activate-mark): New function.
(set-mark-command): Use it with region-active-p to clean up the code.
(exchange-point-and-mark): Invert the meaning of C-u when
transient-mark-mode is active.
2008-03-26 03:40:40 +00:00
Chong Yidong
715043a5cb (transient-mark-mode): Turn on by default. 2008-03-23 22:52:20 +00:00
Stefan Monnier
29b465e1e3 (read-shell-command): Other typo. 2008-03-20 21:30:29 +00:00
Stefan Monnier
7c6d20657f (read-shell-command): Typo. 2008-03-20 19:52:30 +00:00
Stefan Monnier
e5c4079cc4 (minibuffer-local-shell-command-map): New var.
(minibuffer-complete-shell-command, read-shell-command): New funs.
(shell-command, shell-command-on-region): Use them.
2008-03-20 19:48:07 +00:00
Juri Linkov
f564644bb2 (goto-line): Leave mark at previous position. Doc fix. 2008-03-16 17:45:11 +00:00
Dan Nicolaescu
f31b125795 * faces.el (xw-defined-colors):
* simple.el (widget-convert, shell-mode): Declare as functions
instead of autoloading.

* abbrev.el:
* button.el:
* cus-face.el:
* ediff-hook.el:
* emacs-lisp/backquote.el:
* emacs-lisp/timer.el:
* facemenu.el:
* faces.el:
* menu-bar.el:
* simple.el:
* subr.el:
* textmodes/fill.el:
* textmodes/paragraphs.el: Remove autoloads, redundant when the
files are preloaded.
2008-03-14 17:42:18 +00:00
Chong Yidong
17923ef297 (set-mark-command): Doc fix. 2008-03-11 02:00:08 +00:00
Glenn Morris
43d16385af (transient-mark-mode): Don't turn on by default. 2008-03-03 02:16:29 +00:00
Stefan Monnier
6d25a31264 (set-mark-command): Deactivate mark on second C-SPC C-SPC
when using transient-mark-mode.
2008-02-26 19:41:53 +00:00