all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Bug in emacsbug.el
Date: Wed, 06 Dec 2006 00:06:57 +0100	[thread overview]
Message-ID: <4575FB91.5090405@student.lu.se> (raw)
In-Reply-To: <87r6vez4l3.fsf@lrde.org>

Michaël Cadilhac wrote:
> Lennart Borgman <lennart.borgman.073@student.lu.se> writes:
> 
>> I think this test in `report-emacs-bug' tests the wrong mail address:
>>
>>       ;; Insert warnings for novice users.
>>       (when (string-match "@gnu\\.org^" reporting-address)
>> 	(insert "This bug report will be sent to the Free Software Foundation,\n")
>> 	(let ((pos (point)))
>> 	  (insert "not to your local site managers!")
>> 	  (put-text-property pos (point) 'face 'highlight)))
>>
>> Should it not test `user-mail-address' instead?
> 
> Don't think so.  This warning is here to warn the user that the email
> (s)he writes is GOING TO the FSF, not to the local sysadmin.
> 
> Why do you want to test user-mail-address? Maybe something's missing
> in the warning set of emacsbug in your opinion?


Oh, sorry. It is the regexp that is bad I think. It should probably be 
"@gnu\\.org$".

But I noted more strange things in `report-emacs-bug'. There are a lot 
of statements like

     (put-text-property pos (point) 'face 'highlight)

They does not seem to work. If the OBJECT parameter to put-text-property 
is a string it works, but it does not work with (current-buffer) as far 
as I can see.

  reply	other threads:[~2006-12-05 23:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-05 16:01 Bug in emacsbug.el Lennart Borgman
2006-12-05 16:32 ` Michaël Cadilhac
2006-12-05 23:06   ` Lennart Borgman [this message]
2006-12-05 23:44     ` Michaël Cadilhac
2006-12-06  0:05       ` Lennart Borgman
2006-12-06  0:22       ` Miles Bader
2006-12-06  0:54         ` Lennart Borgman
2006-12-06  1:07           ` Miles Bader
2006-12-06  1:19             ` Lennart Borgman
2006-12-06  2:18               ` Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4575FB91.5090405@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.