[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Document that symbol prefix "my-" (or other) should be left for user

From: John Wiegley
Subject: Re: Document that symbol prefix "my-" (or other) should be left for users
Date: Tue, 15 Dec 2015 22:41:31 -0800
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin)

>>>>> Evans Winner <address@hidden> writes:

> For what it's worth, it's happened to me, but a long time ago and I don't
> remember what function name I stepped on. If it's happened to me, I would
> guess it's happened to other people. Creating a name clash isn't a bug in
> Emacs, so why would I (or anyone else) report it? So if it's happening, it
> might not be something that would come up on the radar here very often. I
> finally discovered what I'd done and jsut renamed my function.

Good point, Evans. Perhaps it occurs more often than we realize.

I'm not sure a convention will result in it never happening again, in the same
way that key mapping conventions have not stopped various packages from
stomping on bindings that were reserved to me as a user.

Perhaps we could recommend that users consider their init file to be a sort of
package, and thus use a `.emacs-' prefix for their symbols, as they might when
writing any other package.

John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]