Permalink
Browse files

Merge branch 'master' of git://git.savannah.gnu.org/emacs

  • Loading branch information...
2 parents f4105a5 + db20685 commit 985439b5ba41b207236ec2ed47e61c6ece91a4d9 @typester committed Dec 22, 2009
Showing with 458 additions and 139 deletions.
  1. +83 −19 admin/notes/bugtracker
  2. +8 −0 lisp/ChangeLog
  3. +11 −1 lisp/calendar/icalendar.el
  4. +77 −15 src/.gdbinit
  5. +98 −0 src/ChangeLog
  6. +95 −81 src/Makefile.in
  7. +3 −3 src/font.c
  8. +1 −0 src/makefile.w32-in
  9. +12 −0 test/ChangeLog
  10. +70 −20 test/icalendar-testsuite.el
View
@@ -43,20 +43,16 @@ new report.
Gnus users can add the following to message-dont-reply-to-names;
similarly with Rmail and rmail-dont-reply-to-names:
-[FIXME needs updating for debbugs.gnu.org]
-
"\\(emacs-pretest-bug\\|bug-gnu-emacs\\)@gnu\\.org\\|\
-\\(\\(submit\\|control\\|owner\\)@emacsbugs\\.\\|bug-submit-list@\\)\
-donarmstrong\\.com"
-
-The "bug-submit-list@donarmstrong.com" and
-"owner@debbugs.gnu.org" entries are there because they can
-appear in the "Resent-To" and "Resent-CC" headers, respectively. For a
-long time Rmail erroneously included these headers in replies. If you
-correspond with an Rmail user on a bug, these addresses may end up in
-the Cc. Mailing to them does nothing but create duplicates and errors.
-(It is possible you might want to have a dialog with the owner
-address, outside of normal bug reporting.)
+\\(submit\\|control\\|owner\\)@debbugs\\.gnu\\.org"
+
+The "owner@debbugs.gnu.org" entry is there because it appears in the
+"Resent-To" header. For a long time Rmail erroneously included such
+headers in replies. If you correspond with an Rmail user on a bug,
+these addresses may end up in the Cc. Mailing to them does nothing
+but create duplicates and errors. (It is possible you might want to
+have a dialog with the owner address, outside of normal bug
+reporting.)
** When reporting a bug, to send a Cc to another address
(e.g. bug-cc-mode@gnu.org), do NOT just use a Cc: header.
@@ -86,18 +82,16 @@ remains in the To: address. They reach the bug list by being resent.
Mails arriving at the bug list have the following Resent-* headers:
-[ FIXME needs updating for debbugs.gnu.org ]
-
Resent-From: person who submitted the bug
-Resent-To: bug-submit-list@donarmstrong.com
+Resent-To: owner@debbugs.gnu.org
Resent-CC: maintainer email address, plus any X-Debbugs-CC: entries
-The "maintainer email address" is "Emacs Bugs <bug-gnu-emacs@gnu.org>"
-in most cases.
+The "maintainer email address" is "bug-gnu-emacs@gnu.org" in most cases.
They also have:
-Reply-To: bug submitter, 123@debbugs.gnu.org
+Reply-To: bug submitter, 123@debbugs.gnu.org
+Mail-Followup-To: bug submitter, 123@debbugs.gnu.org
** To not get acknowledgement mail from the tracker,
add an "X-Debbugs-No-Ack:" header (with any value). If you use Gnus,
@@ -390,3 +384,73 @@ http://lists.gnu.org/archive/html/emacs-devel/2009-11/msg00440.html
(bug-reference-mode 1)))
and you can click on the bug number in the subject header.
+
+
+* Technical Notes
+
+The following are technical notes on how it works. These are just for
+reference, you don't need to read these as a user of the system.
+
+Getting mail from the Emacs bug list into the tracker requires the
+assistance of sysadmin at gnu.org. The test tracker set-up was, I
+think, [gnu.org #359140]:
+http://lists.gnu.org/archive/html/savannah-hackers/2008-03/msg00074.html
+http://lists.gnu.org/archive/html/savannah-hackers/2008-04/msg00034.html
+
+** The debbugs.gnu.org setup was handled in [gnu.org #510605].
+There are two pieces (replace AT with @ in the following):
+
+i) fencepost has an /etc/aliases entry:
+emacs-pretest-bug: submit AT debbugs.gnu.org
+
+ii) An exim router:
+emacsbugs_router:
+ driver = redirect
+ senders = !Debian-debbugs AT debbugs.gnu.org
+ local_parts = bug-gnu-emacs
+ domains = gnu.org
+ data = submit AT debbugs.gnu.org
+
+This says, for mail arriving at bug-gnu-emacs, only allow it through
+to the list if it was sent from debbugs.gnu.org. Otherwise, send
+it to the submit address at the bug-tracker.
+
+FIXME There's probably an issue with the mail-news gateway here that
+still needs to be addressed (bug#936).
+
+** fencepost's /etc/exim4/local_domains configuration needs a line
+!debbugs.gnu.org adding [gnu.org #503532]. Otherwise people on
+fencepost can't report bugs, since *.gnu.org addresses are assumed to
+be handled locally on fencepost, unless otherwise specified.
+
+** All mail arriving at debbugs.gnu.org is first run through SpamAssassin.
+Obvious spam is rejected, the rest is sent on to the moderated list
+debbugs-submit. Approved mail is passed on to the tracker.
+
+NOTE: An alternative to this would be to use listhelper AT nongnu.org
+as a moderator address. Eg the emacs-bug-tracker list uses this.
+It does basic spam processing on the moderator requests and
+automatically rejects the obviously bogus ones. Someone still has to
+accept the good ones though. The advantage of this would not be having
+to run and tune our own spam filter. See
+http://savannah.nongnu.org/projects/listhelper
+
+An "X-Debbugs-Envelope-To" header is used to keep track of where the
+mail was actually bound for:
+http://lists.gnu.org/archive/html/emacs-devel/2009-11/msg01211.html
+
+** Mailing list recipient/sender filters.
+The following mailman filters are useful to stop messages being
+needlessly held for moderation:
+
+*** debbugs-submit
+(quiet|control|submit)@(debbugs\.gnu\.org|emacsbugs\.donarmstrong\.com)
+[0-9]+(-done|-quiet|-subscribe)?@(debbugs\.gnu\.org|emacsbugs\.donarmstrong\.com)
+(bug-gnu-emacs|emacs-pretest-bug)@gnu\.org
+
+*** emacs-bug-tracker
+sender: bug-gnu-emacs AT gnu.org
+recipient: emacs-bug-tracker AT debbugs\.gnu\.org
+
+The latter is because that is the address that debbugs actually sends to.
+An /etc/aliases entry redirects it to the real emacs-bug-tracker address.
View
@@ -1,3 +1,11 @@
+2009-12-18 Ulf Jasper <ulf.jasper@web.de>
+
+ * calendar/icalendar.el (icalendar--convert-tz-offset): Fixed
+ timezone names.
+ (icalendar--convert-tz-offset): Fixed the "last-day-problem".
+ (icalendar--add-diary-entry): Remove the trailing blank that
+ diary-make-entry inserts.
+
2009-12-17 Michael Albinus <michael.albinus@gmx.de>
Make `file-expand-wildcards' work for remote files.
@@ -454,7 +454,7 @@ The strings are suitable for assembling into a TZ variable."
(cons
(concat
;; Fake a name.
- (if dst-p "(DST?)" "(STD?)")
+ (if dst-p "DST" "STD")
;; For TZ, OFFSET is added to the local time. So,
;; invert the values.
(if (eq (aref offset 0) ?-) "+" "-")
@@ -466,6 +466,10 @@ The strings are suitable for assembling into a TZ variable."
(week (if (eq day -1)
byday
(substring byday 0 -2))))
+ ;; "Translate" the icalendar way to specify the last
+ ;; (sun|mon|...)day in month to the tzset way.
+ (if (string= week "-1") ; last day as icalendar calls it
+ (setq week "5")) ; last day as tzset calls it
(concat "M" bymonth "." week "." (if (eq day -1) "0"
(int-to-string day))
;; Start time.
@@ -2241,6 +2245,12 @@ the entry."
'diary-make-entry
'make-diary-entry)
string non-marking diary-file)))
+ ;; Würgaround to remove the trailing blank char
+ (save-excursion
+ (set-buffer (find-file diary-file))
+ (goto-char (point-max))
+ (if (= (char-before) ? )
+ (delete-char -1)))
;; return diary-file in case it has been changed interactively
diary-file)
View
@@ -163,6 +163,35 @@ Print current buffer's point and boundaries.
Prints values of point, beg, end, narrow, and gap for current buffer.
end
+define pitmethod
+ set $itmethod = $arg0
+ # output $itmethod
+ if ($itmethod == 0)
+ printf "GET_FROM_BUFFER"
+ end
+ if ($itmethod == 1)
+ printf "GET_FROM_DISPLAY_VECTOR"
+ end
+ if ($itmethod == 2)
+ printf "GET_FROM_STRING"
+ end
+ if ($itmethod == 3)
+ printf "GET_FROM_C_STRING"
+ end
+ if ($itmethod == 4)
+ printf "GET_FROM_IMAGE"
+ end
+ if ($itmethod == 5)
+ printf "GET_FROM_STRETCH"
+ end
+ if ($itmethod < 0 || $itmethod > 5)
+ output $itmethod
+ end
+end
+document pitmethod
+Pretty print it->method given as first arg
+end
+
# Print out iterator given as first arg
define pitx
set $it = $arg0
@@ -193,28 +222,49 @@ define pitx
if ($it->sp != 0)
printf " sp=%d", $it->sp
end
- if ($it->what == IT_CHARACTER)
+ if ($it->what == 0) # IT_CHARACTER
if ($it->len == 1 && $it->c >= ' ' && it->c < 255)
printf " ch='%c'", $it->c
else
printf " ch=[%d,%d]", $it->c, $it->len
end
else
printf " "
- output $it->what
+ # output $it->what
+ if ($it->what == 0)
+ printf "IT_CHARACTER"
+ end
+ if ($it->what == 1)
+ printf "IT_COMPOSITION"
+ end
+ if ($it->what == 2)
+ printf "IT_IMAGE"
+ end
+ if ($it->what == 3)
+ printf "IT_STRETCH"
+ end
+ if ($it->what == 4)
+ printf "IT_EOB"
+ end
+ if ($it->what == 5)
+ printf "IT_TRUNCATION"
+ end
+ if ($it->what == 6)
+ printf "IT_CONTINUATION"
+ end
+ if ($it->what < 0 || $it->what > 6)
+ output $it->what
+ end
end
- if ($it->method != GET_FROM_BUFFER)
+ if ($it->method != 0) # GET_FROM_BUFFER
printf " next="
- output $it->method
- if ($it->method == GET_FROM_STRING)
+ pitmethod $it->method
+ if ($it->method == 2) # GET_FROM_STRING
printf "[%d]", $it->current.string_pos.charpos
end
- if ($it->method == GET_FROM_IMAGE)
+ if ($it->method == 4) # GET_FROM_IMAGE
printf "[%d]", $it->image_id
end
- if ($it->method == GET_FROM_COMPOSITION)
- printf "[%d,%d,%d]", $it->cmp_id, $it->len, $it->cmp_len
- end
end
printf "\n"
if ($it->region_beg_charpos >= 0)
@@ -231,7 +281,7 @@ define pitx
while ($i < $it->sp && $i < 4)
set $e = $it->stack[$i]
printf "stack[%d]: ", $i
- output $e->method
+ pitmethod $e->method
printf "[%d]", $e->position.charpos
printf "\n"
set $i = $i + 1
@@ -395,20 +445,24 @@ end
define pgx
set $g = $arg0
- if ($g->type == CHAR_GLYPH)
+ # CHAR_GLYPH
+ if ($g->type == 0)
if ($g->u.ch >= ' ' && $g->u.ch < 127)
printf "CHAR[%c]", $g->u.ch
else
printf "CHAR[0x%x]", $g->u.ch
end
end
- if ($g->type == COMPOSITE_GLYPH)
+ # COMPOSITE_GLYPH
+ if ($g->type == 1)
printf "COMP[%d]", $g->u.cmp_id
end
- if ($g->type == IMAGE_GLYPH)
+ # IMAGE_GLYPH
+ if ($g->type == 2)
printf "IMAGE[%d]", $g->u.img_id
end
- if ($g->type == STRETCH_GLYPH)
+ # STRETCH_GLYPH
+ if ($g->type == 3)
printf "STRETCH[%d+%d]", $g->u.stretch.height, $g->u.stretch.ascent
end
xgettype ($g->object)
@@ -418,7 +472,8 @@ define pgx
printf " pos=%d", $g->charpos
end
printf " w=%d a+d=%d+%d", $g->pixel_width, $g->ascent, $g->descent
- if ($g->face_id != DEFAULT_FACE_ID)
+ # If not DEFAULT_FACE_ID
+ if ($g->face_id != 0)
printf " face=%d", $g->face_id
end
if ($g->voffset)
@@ -509,6 +564,13 @@ document pgrow
Pretty print all glyphs in row structure row.
end
+define pgrowit
+ pgrowx it->glyph_row
+end
+document pgrowit
+Pretty print all glyphs in it->glyph_row.
+end
+
define xtype
xgettype $
output $type
Oops, something went wrong.

0 comments on commit 985439b

Please sign in to comment.