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
21ee0911
Commit
21ee0911
authored
Dec 09, 2007
by
Miles Bader
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-950
parent
0e250bf8
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
57 additions
and
15 deletions
+57
-15
lisp/ChangeLog
lisp/ChangeLog
+7
-0
lisp/gnus/ChangeLog
lisp/gnus/ChangeLog
+12
-0
lisp/gnus/nnmaildir.el
lisp/gnus/nnmaildir.el
+14
-8
lisp/mail/hashcash.el
lisp/mail/hashcash.el
+8
-6
lisp/net/imap.el
lisp/net/imap.el
+12
-0
lisp/pgg-parse.el
lisp/pgg-parse.el
+3
-1
lisp/pgg.el
lisp/pgg.el
+1
-0
No files found.
lisp/ChangeLog
View file @
21ee0911
2007-12-09 Reiner Steib <Reiner.Steib@gmx.de>
* mail/hashcash.el, net/imap.el, pgg.el, pgg-parse.el
(declare-function): Add new no-op macro for backward compatibility.
* net/imap.el (imap-string-to-integer): New function.
2007-12-09 David Kastrup <dak@gnu.org>
* emacs-lisp/lisp-mnt.el (lm-verify): Make it work with
...
...
lisp/gnus/ChangeLog
View file @
21ee0911
...
...
@@ -31,6 +31,18 @@
* gnus-start.el (gnus-load): Rename local variable to avoid confusion.
2007-12-06 Christian Plate <cplate@web.de> (tiny change)
* nnmaildir.el (nnmaildir-request-update-info): Improved performance.
Call gnus-add-to-range ranges only once with a prepared article-list.
2007-12-06 Paul Jarc <prj@po.cwru.edu>
* nnmaildir.el (nnmaildir-request-list, nnmaildir-retrieve-groups,
nnmaildir-request-group, nnmaildir-retrieve-headers): Escape spaces in
group names with backslashes. Reported by Tassilo Horn
<tassilo@member.fsf.org>.
2007-12-06 D. Goel <deego3@gmail.com>
* gnus-art.el (article-make-date-line):
...
...
lisp/gnus/nnmaildir.el
View file @
21ee0911
...
...
@@ -884,7 +884,9 @@ by nnmaildir-request-article.")
pgname
(
nnmaildir--pgname
nnmaildir--cur-server
pgname
)
group
(
symbol-value
group
)
ro
(
nnmaildir--param
pgname
'read-only
))
(
insert
(
nnmaildir--grp-name
group
)
" "
)
(
insert
(
gnus-replace-in-string
(
nnmaildir--grp-name
group
)
" "
"\\ "
t
)
" "
)
(
princ
(
nnmaildir--group-maxnum
nnmaildir--cur-server
group
)
nntp-server-buffer
)
(
insert
" "
)
...
...
@@ -911,14 +913,17 @@ by nnmaildir-request-article.")
(
insert
" "
)
(
princ
(
nnmaildir--group-maxnum
nnmaildir--cur-server
group
)
nntp-server-buffer
)
(
insert
" "
gname
"\n"
)))))
(
insert
" "
(
gnus-replace-in-string
gname
" "
"\\ "
t
)
"\n"
)))))
'group
)
(
defun
nnmaildir-request-update-info
(
gname
info
&optional
server
)
(
let
((
group
(
nnmaildir--prepare
server
gname
))
pgname
flist
always-marks
never-marks
old-marks
dotfile
num
dir
markdirs
marks
mark
ranges
markdir
article
read
end
new-marks
ls
old-mmth
new-mmth
mtime
mark-sym
existing
missing
deactivate-mark
)
old-mmth
new-mmth
mtime
mark-sym
existing
missing
deactivate-mark
article-list
)
(
catch
'return
(
unless
group
(
setf
(
nnmaildir--srv-error
nnmaildir--cur-server
)
...
...
@@ -966,12 +971,13 @@ by nnmaildir-request-article.")
(
setq
ranges
(
assq
mark-sym
old-marks
))
(
if
ranges
(
setq
ranges
(
cdr
ranges
)))
(
throw
'got-ranges
nil
))
(
setq
article-list
nil
)
(
dolist
(
prefix
(
funcall
ls
markdir
nil
"\\`[^.]"
'nosort
))
(
setq
article
(
nnmaildir--flist-art
flist
prefix
))
(
if
article
(
setq
ranges
(
gnus-add-to-range
ranges
`
(
,
(
nnmaildir--art-num
article
)))
))))
(
setq
article-list
(
cons
(
nnmaildir--art-num
article
)
article-list
))))
(
setq
ranges
(
gnus-add-to-range
ranges
(
sort
article-list
'<
))))
(
if
(
eq
mark-sym
'read
)
(
setq
read
ranges
)
(
if
ranges
(
setq
marks
(
cons
(
cons
mark-sym
ranges
)
marks
)))))
(
gnus-info-set-read
info
(
gnus-range-add
read
missing
))
...
...
@@ -999,7 +1005,7 @@ by nnmaildir-request-article.")
(
insert
" "
)
(
princ
(
nnmaildir--group-maxnum
nnmaildir--cur-server
group
)
nntp-server-buffer
)
(
insert
" "
gname
"\n"
)
(
insert
" "
(
gnus-replace-in-string
gname
" "
"\\ "
t
)
"\n"
)
t
))))
(
defun
nnmaildir-request-create-group
(
gname
&optional
server
args
)
...
...
@@ -1161,7 +1167,7 @@ by nnmaildir-request-article.")
(
insert
"\t"
(
nnmaildir--nov-get-beg
nov
)
"\t"
(
nnmaildir--art-msgid
article
)
"\t"
(
nnmaildir--nov-get-mid
nov
)
"\tXref: nnmaildir "
gname
":"
)
(
gnus-replace-in-string
gname
" "
"\\ "
t
)
":"
)
(
princ
num
nntp-server-buffer
)
(
insert
"\t"
(
nnmaildir--nov-get-end
nov
)
"\n"
))))
(
catch
'return
...
...
lisp/mail/hashcash.el
View file @
21ee0911
...
...
@@ -115,13 +115,15 @@ For example, you may want to set this to '(\"-Z2\") to reduce header length."
(
require
'mail-utils
)
(
eval-and-compile
(
if
(
fboundp
'point-at-bol
)
(
defalias
'hashcash-point-at-bol
'point-at-bol
)
(
defalias
'hashcash-point-at-bol
'line-beginning-position
))
(
unless
(
fboundp
'declare-function
)
(
defmacro
declare-function
(
&rest
r
)))
(
if
(
fboundp
'point-at-eol
)
(
defalias
'hashcash-point-at-eol
'point-at-eol
)
(
defalias
'hashcash-point-at-eol
'line-end-position
)))
(
if
(
fboundp
'point-at-bol
)
(
defalias
'hashcash-point-at-bol
'point-at-bol
)
(
defalias
'hashcash-point-at-bol
'line-beginning-position
))
(
if
(
fboundp
'point-at-eol
)
(
defalias
'hashcash-point-at-eol
'point-at-eol
)
(
defalias
'hashcash-point-at-eol
'line-end-position
)))
(
defun
hashcash-strip-quoted-names
(
addr
)
(
setq
addr
(
mail-strip-quoted-names
addr
))
...
...
lisp/net/imap.el
View file @
21ee0911
...
...
@@ -1735,6 +1735,18 @@ is non-nil return these properties."
(
concat
"UID STORE "
articles
" +FLAGS"
(
if
silent
".SILENT"
)
" ("
flags
")"
))))))
;; Cf. http://thread.gmane.org/gmane.emacs.gnus.general/65317/focus=65343
;; Signal an error if we'd get an integer overflow.
;;
;; FIXME: Identify relevant calls to `string-to-number' and replace them with
;; `imap-string-to-integer'.
(
defun
imap-string-to-integer
(
string
&optional
base
)
(
let
((
number
(
string-to-number
string
base
)))
(
if
(
>
number
most-positive-fixnum
)
(
error
(
format
"String %s cannot be converted to a lisp integer"
number
))
number
)))
(
defun
imap-message-copyuid-1
(
mailbox
)
(
if
(
imap-capability
'UIDPLUS
)
(
list
(
nth
0
(
imap-mailbox-get-1
'copyuid
mailbox
))
...
...
lisp/pgg-parse.el
View file @
21ee0911
...
...
@@ -36,7 +36,9 @@
;;; Code:
(
eval-when-compile
(
require
'cl
))
(
eval-when-compile
(
unless
(
fboundp
'declare-function
)
(
defmacro
declare-function
(
&rest
r
)))
(
require
'cl
))
(
defgroup
pgg-parse
()
"OpenPGP packet parsing."
...
...
lisp/pgg.el
View file @
21ee0911
...
...
@@ -35,6 +35,7 @@
;; Don't merge these two `eval-when-compile's.
(
eval-when-compile
(
unless
(
fboundp
'declare-function
)
(
defmacro
declare-function
(
&rest
r
)))
(
require
'cl
))
;;; @ utility functions
...
...
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