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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
758845a0
Commit
758845a0
authored
Sep 25, 2010
by
Lars Magne Ingebrigtsen
Committed by
Katsumi Yamaoka
Sep 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nndraft.el (nndraft-retrieve-headers): Insert Lines and Chars headers for prettier summary display.
parent
cd178df2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
lisp/gnus/ChangeLog
lisp/gnus/ChangeLog
+5
-0
lisp/gnus/nndraft.el
lisp/gnus/nndraft.el
+4
-1
No files found.
lisp/gnus/ChangeLog
View file @
758845a0
2010-09-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
* nndraft.el (nndraft-retrieve-headers): Insert Lines and Chars headers
for prettier summary display.
2010-09-25 Andrew Cohen <cohen@andy.bu.edu> (tiny change)
* nnir.el (nnir-run-imap): Allow sending IMAP search patterns
...
...
lisp/gnus/nndraft.el
View file @
758845a0
...
...
@@ -79,7 +79,7 @@ are generated if and only if they are also in `message-draft-headers'.")
(
nndraft-possibly-change-group
group
)
(
with-current-buffer
nntp-server-buffer
(
erase-buffer
)
(
let
*
(
article
)
(
let
(
article
lines
chars
)
;; We don't support fetching by Message-ID.
(
if
(
stringp
(
car
articles
))
'headers
...
...
@@ -91,9 +91,12 @@ are generated if and only if they are also in `message-draft-headers'.")
(
if
(
search-forward
"\n\n"
nil
t
)
(
forward-line
-1
)
(
goto-char
(
point-max
)))
(
setq
lines
(
count-lines
(
point
)
(
point-max
))
chars
(
-
(
point-max
)
(
point
)))
(
delete-region
(
point
)
(
point-max
))
(
goto-char
(
point-min
))
(
insert
(
format
"221 %d Article retrieved.\n"
article
))
(
insert
(
format
"Lines: %d\nChars: %d\n"
lines
chars
))
(
widen
)
(
goto-char
(
point-max
))
(
insert
".\n"
)))
...
...
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