Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
bf87d5fc
Commit
bf87d5fc
authored
Apr 14, 2008
by
Stefan Monnier
Browse files
(minibuffer-message): Put cursor at the right place.
parent
2ed430f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
lisp/ChangeLog
lisp/ChangeLog
+11
-8
lisp/minibuffer.el
lisp/minibuffer.el
+5
-0
No files found.
lisp/ChangeLog
View file @
bf87d5fc
2008-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
* minibuffer.el (minibuffer-message): Put cursor at the right place.
2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
* proced.el (proced-send-signal): Fix error recognition.
...
...
@@ -5,21 +9,20 @@
2008-04-13 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
* proced.el (proced-command-alist): Remove sort column.
(proced-command, proced-procname-column):
Use
make-variable-buffer-local.
(proced-signal-function): Rename
d
from proced-kill-program.
Allow
for elisp symbols and string values representing system calls.
(proced-command, proced-procname-column):
Use
make-variable-buffer-local.
(proced-signal-function): Rename from proced-kill-program.
Allow
for elisp symbols and string values representing system calls.
(proced-marker-regexp, proced-success-message): New functions.
(proced): Use defalias. Add autoload cookie.
(proced-unmark-backward, proced-toggle-marks)
(proced-hide-processes): New commands.
(proced-do-mark): Simplify code.
(proced-insert-mark): Use optional arg BACKWARD instead of line
number.
(proced-insert-mark): Use optional arg BACKWARD instead of line number.
(proced-update): Remove sorting.
(proced-send-signal): Display number of processes to operate on.
Allow for system calls or elisp functions to send signals.
Check
if signal was sen
d
successfully.
Allow for system calls or elisp functions to send signals.
Check
if signal was sen
t
successfully.
2008-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
...
...
lisp/minibuffer.el
View file @
bf87d5fc
...
...
@@ -173,6 +173,11 @@ If ARGS are provided, then pass MESSAGE through `format'."
(
let
((
ol
(
make-overlay
(
point-max
)
(
point-max
)
nil
t
t
)))
(
unwind-protect
(
progn
(
unless
(
zerop
(
length
message
))
;; The current C cursor code doesn't know to use the overlay's
;; marker's stickiness to figure out whether to place the cursor
;; before or after the string, so let's spoon-feed it the pos.
(
put-text-property
0
1
'cursor
t
message
))
(
overlay-put
ol
'after-string
message
)
(
sit-for
(
or
minibuffer-message-timeout
1000000
)))
(
delete-overlay
ol
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment