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
c464dbc3
Commit
c464dbc3
authored
May 16, 2013
by
Katsumi Yamaoka
Browse files
lisp/gnus/message.el (message-expand-group): Decode group names
parent
ebfe68e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
13 deletions
+27
-13
lisp/gnus/ChangeLog
lisp/gnus/ChangeLog
+4
-0
lisp/gnus/message.el
lisp/gnus/message.el
+23
-13
No files found.
lisp/gnus/ChangeLog
View file @
c464dbc3
2013-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
* message.el (message-expand-group): Decode group names.
2013-05-16 Julien Danjou <julien@danjou.info>
* gnus-notifications.el (gnus-notifications-notify): Use photo-file as
...
...
lisp/gnus/message.el
View file @
c464dbc3
...
...
@@ -7960,19 +7960,29 @@ those headers."
(defun message-expand-group ()
"Expand the group name under point."
(let* ((b (save-excursion
(save-restriction
(narrow-to-region
(save-excursion
(beginning-of-line)
(skip-chars-forward "^:")
(1+ (point)))
(point))
(skip-chars-backward "^, \t\n") (point))))
(completion-ignore-case t)
(e (progn (skip-chars-forward "^,\t\n ") (point)))
(hashtb (and (boundp 'gnus-active-hashtb) gnus-active-hashtb)))
(message-completion-in-region e b hashtb)))
(let ((b (save-excursion
(save-restriction
(narrow-to-region
(save-excursion
(beginning-of-line)
(skip-chars-forward "^:")
(1+ (point)))
(point))
(skip-chars-backward "^, \t\n") (point))))
(completion-ignore-case t)
(e (progn (skip-chars-forward "^,\t\n ") (point)))
group collection)
(when (and (boundp 'gnus-active-hashtb)
gnus-active-hashtb)
(mapatoms
(lambda (symbol)
(setq group (symbol-name symbol))
(push (if (string-match "[^\000-\177]" group)
(gnus-group-decoded-name group)
group)
collection))
gnus-active-hashtb))
(message-completion-in-region e b collection)))
(defalias 'message-completion-in-region
(if (fboundp 'completion-in-region)
...
...
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