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
Richard M. Stallman
8cdba32b6c
(next-error-move-function): New variable.
2009-08-13 00:57:17 +00:00
Stefan Monnier
a578553483
(goto-line): Fix up docstring.
2009-08-10 16:38:16 +00:00
Chong Yidong
34be836cc7
* simple.el (line-move-visual): Perform hscroll to the recorded position.
2009-07-31 02:14:43 +00:00
Chong Yidong
54b99340fd
* simple.el (line-move-finish): Pass whole number to
...
line-move-to-column.
2009-07-31 01:34:26 +00:00
Glenn Morris
fd413a3765
(blink-matching-paren-distance): Bump to 100k. (Bug#3889)
2009-07-22 02:35:45 +00:00
Glenn Morris
cfc4766482
(mail-user-agent): Doc fix. Set :version tag.
2009-07-19 00:33:11 +00:00
Eli Zaretskii
102e1a41cd
(deactivate-mark, activate-mark, set-mark): Don't call x-set-selection
...
if display-selections-p returns nil for the current frame.
2009-07-18 19:04:22 +00:00
Chong Yidong
16f2e9fca0
* simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
2009-07-18 17:39:35 +00:00
Chong Yidong
0013b70f1d
* simple.el (set-mark): Revert last change.
2009-07-18 04:37:52 +00:00
Chong Yidong
3f5c9cad17
* w32-fns.el (x-selection-owner-p): New function.
...
* mouse.el (mouse-drag-track): Call deactivate-mark earlier.
(mouse-yank-at-click): If select-active-regions is non-nil,
deactivate the mark before insertion.
* simple.el (deactivate-mark, set-mark): Only save selection if we
own it.
2009-07-17 15:45:08 +00:00
Chong Yidong
2066b4fe21
* simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
2009-07-15 02:05:32 +00:00
Chong Yidong
f9be2e3569
* simple.el (deactivate-mark): Optional argument FORCE.
...
(set-mark): Use deactivate-mark.
* info.el (Info-search): No need to check transient-mark-mode
before calling deactivate-mark.
* select.el (x-set-selection): Doc fix.
(x-valid-simple-selection-p): Allow buffer values.
(xselect--selection-bounds): Handle buffer values. Suggested by
David De La Harpe Golden.
* mouse.el (mouse-set-region, mouse-drag-track): Call
copy-region-as-kill before setting the mark, to let
select-active-regions work.
* simple.el (deactivate-mark): If select-active-regions is
non-nil, copy the selection data into a string.
(activate-mark): If select-active-regions is non-nil, set the
selection to the current buffer.
(set-mark): Update selection if select-active-regions is non-nil.
* select.el (x-valid-simple-selection-p): Allow buffer values.
2009-07-15 01:25:32 +00:00
Stefan Monnier
cbd61418b3
(mail-user-agent): Default to the upwardly-UI-compatible
...
and more featureful message-mode.
2009-07-14 19:57:58 +00:00
Chong Yidong
774409a10b
* simple.el (temporary-goal-column): Change the value for
...
line-move-visual to a cons cell.
(line-move-visual): Record or set the window hscroll, if
necessary (Bug#3494).
(line-move-1): Handle cons value of temporary-goal-column.
2009-07-11 16:36:05 +00:00
Juri Linkov
c945a962d9
(async-shell-command): New command.
2009-07-02 22:47:52 +00:00
Chong Yidong
ad4c1f6264
* simple.el (kill-visual-line): Rewrite (Bug#3437). Don't try to
...
handle kill-whole-line, as it doesn't make sense in this context.
2009-06-13 18:56:07 +00:00
Stefan Monnier
a9e3ff690b
(completion-setup-function):
...
Only modify the default-directory in *Completions* (bug#3250).
Take partial-completion into account when setting default-directory.
2009-05-11 15:35:44 +00:00
Chong Yidong
624a662f9a
* simple.el (line-move-visual): If point is stuck moving backwards
...
against a display string, temporarily ignore the goal
column (Bug#3020).
2009-04-25 15:27:45 +00:00
Sam Steingold
45f8cb0c08
(completion-list-mode-map): Bind "q" to quit-window,
...
just like in all other read-only buffers.
2009-04-06 15:45:00 +00:00
Chong Yidong
337c561c77
* simple.el (handle-shift-selection): Clarify docstring.
2009-04-06 01:21:48 +00:00
Stefan Monnier
74ab01ffd8
(auto-fill-function): Mark it as safe for nil.
...
Suggested by Leo Liu <sdl.web@gmail.com>.
2009-04-02 01:56:43 +00:00
Juri Linkov
7f3130fc99
(minibuffer-default-add-completions):
...
Remove `(interactive)'. (Bug#2805)
2009-03-28 21:18:02 +00:00
Andreas Schwab
11ff3b6711
* simple.el (shift-select-mode): Make it a defcustom.
...
* cus-start.el: Remove shift-select-mode.
2009-03-27 16:50:14 +00:00
Stefan Monnier
84db11d602
* callint.c (Fcall_interactively): For '^' just delegate the work to
...
handle-shift-selection.
(syms_of_callint): Move declaration of shift-select-mode to simple.el.
* simple.el (shift-select-mode): Move declaration from callint.c.
(handle-shift-selection): Remove `deactivate' arg and check
shift-select-mode instead.
2009-03-26 17:07:54 +00:00
Eli Zaretskii
520558d258
(handle-shift-selection): Fix last change.
2009-03-21 18:38:40 +00:00
Eli Zaretskii
acc060e4e4
(handle-shift-selection): Doc fix. (Bug#2738)
2009-03-21 18:30:38 +00:00
Juanma Barranquero
673e51692e
* subr.el (forward-point): Add obsolescence declaration.
...
* paren.el (show-paren-function):
* simple.el (kill-forward-chars, kill-backward-chars):
Use (+/- (point) N), instead of `forward-point'.
2009-03-19 14:45:02 +00:00
Chong Yidong
14f01bef2c
(undo-outer-limit-truncate): Mention that warning-suppress-types is
...
defined in the warnings library (Bug#2668).
2009-03-14 17:43:16 +00:00
Stefan Monnier
86f0d932e5
(undo): Don't loop when encountering empty undo records.
2009-03-14 01:51:34 +00:00
Glenn Morris
9dda5b0e58
(compose-mail): Doc fix.
2009-03-10 05:01:43 +00:00
Glenn Morris
9af66738a6
(eval-expression): Mention truncation in doc.
2009-02-25 08:18:30 +00:00
Eli Zaretskii
a6c39c14a2
(quoted-insert, zap-to-char): Use `with-no-warnings' around forms that refer
...
to translation-table-for-input.
2009-02-14 09:06:30 +00:00
Juri Linkov
c899b3db0c
(toggle-word-wrap): New command.
2009-02-08 00:47:15 +00:00
Chong Yidong
b6d79b2f06
(line-move-visual): Handle overflow-newline-into-fringe.
2009-02-07 05:51:27 +00:00
Glenn Morris
186133b411
(kill-whole-line): Provide a default argument of 1.
2009-02-06 03:59:15 +00:00
Chong Yidong
411c010477
the latter is not available on ttys anyway.
2009-01-27 20:09:38 +00:00
Juri Linkov
28e271f036
(blink-matching-open): Use `minibuffer-message' to
...
display messages in the minibuffer.
2009-01-14 23:10:10 +00:00
Glenn Morris
8989a9203f
Replace last-command-char with last-command-event.
2009-01-09 04:44:15 +00:00
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