all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "era eriksson" <era@iki.fi>
To: "Ilya Zakharevich" <ilya@Math.Berkeley.EDU>
Cc: 1621@emacsbugs.donarmstrong.com
Subject: bug#1621: Please move cperl micro-docs to top of the cperl-mode.el file
Date: Mon, 16 Mar 2009 10:48:40 +0200	[thread overview]
Message-ID: <1237193320.11378.1305597387@webmail.messagingengine.com> (raw)
In-Reply-To: <20090316040314.GA9645@powdermilk.math.berkeley.edu>

On Sun, 15 Mar 2009 21:03:14 -0700, "Ilya Zakharevich"
<ilya@Math.Berkeley.EDU> said:
> On Mon, Mar 16, 2009 at 04:10:57AM +0200, era eriksson wrote:
> > Another thing I've been meaning to propose would be for cperl-mode 
> > to offer to install itself into your .emacs when you invoke it for 
> > the first time, sort of like how (put 'dangerous-command 'disabled 
> > nil) occasionally gets added to your .emacs after asking for 
> > permission.  (IIRC narrow-to-region is one of these "dangerous" 
> > commands, and some of the horizontal scrolling commands which I 
> > never use except by mistake.)
> 
> Myself, I would hate it if it were like this: supposed I'm annoyed by
> this "feature" - should it also ask whether to put a command into
> .emacs which would disable this question?  ;-)

The 'disabled logic is fairly unobtrusive IMHO.  My suggestion would be
to (defvar 'cperl-mode-install-setup-flag 'ask) and then either add
(setq 'cperl-mode-install-setup-flag nil) or 't to the user's .emacs if
the user doesn't specifically select "continue to ask me" instead of
"yes" or "no".

The main logic would simply inspect the value during load and do or do
not (there is no try :-) depending on what it says.

To my uneducated $self this sounds like it would need to go in a
separate .el file which would have some sort of ;;;###autoload but maybe
there is a more elegant way.

> > Do you think it would be appropriate to remove the +wontfix tag from
> > this bug?
> 
> I do not know what "the +wontfix" means.  The situation is as in "I
> considered your suggestions, I appreciated your suggestions, and I
> even mentioned possibly reconsidering your suggestions in my TODO
> files".  ;-)

I'm talking about the bug's status in the Emacs Bug Tracking System at
http://emacsbugs.donarmstrong.com/1621 -- if Emacs maintainers don't
object, I'll change it to "forwarded <ilya@Math.Berkeley.EDU>" and take
away the wontfix tag.  I hope it's not too far of a stretch to interpret
your answer to mean that you don't really care about the Emacs BTS
status of this bug report.

(The bug tracking system is an installation of the Debian BTS which by
design doesn't ever obfuscate email addresses.  I really hate this
"feature" because it's a regular fly paper for spam.  Maybe you would
prefer if I put something else than your email address in the
"forwarded" field, although I guess by and large the damage is already
done.)

/* era */

-- 
If this were a real .signature, it would suck less.  Well, maybe not.







  reply	other threads:[~2009-03-16  8:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-20 18:39 bug#1621: Please move cperl micro-docs to top of the cperl-mode.el file era eriksson
2009-02-21  0:15 ` Ilya Zakharevich
2009-02-21 10:54   ` era eriksson
2009-02-21 22:53     ` Ilya Zakharevich
2009-03-16  2:10       ` era eriksson
2009-03-16  4:03         ` Ilya Zakharevich
2009-03-16  8:48           ` era eriksson [this message]
2009-03-16  9:12             ` Ilya Zakharevich
2009-03-16 20:00               ` era eriksson
2009-03-16 23:50                 ` Ilya Zakharevich
     [not found] <20070401035915.3121.73126.malonedeb@gangotri.ubuntu.com>
2008-12-18  5:14 ` Jason A. Spiro
2008-12-18 21:39   ` Stefan Monnier
2008-12-19  2:28     ` Glenn Morris
2008-12-19  6:06     ` Jason A. Spiro
2008-12-20 22:53       ` Ilya Zakharevich
2008-12-20 23:41         ` Jason A. Spiro
     [not found]           ` <20081221000241.GA17638@powdermilk.math.berkeley.edu>
2008-12-21  0:13             ` Jason A. Spiro
2020-10-15 15:11   ` Lars Ingebrigtsen

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=1237193320.11378.1305597387@webmail.messagingengine.com \
    --to=era@iki.fi \
    --cc=1621@emacsbugs.donarmstrong.com \
    --cc=ilya@Math.Berkeley.EDU \
    /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.