[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
- Document that symbol prefix "my-" (or other) should be left for users, Teemu Likonen, 2015/12/13
- RE: Document that symbol prefix "my-" (or other) should be left for users, Drew Adams, 2015/12/13
- Re: Document that symbol prefix "my-" (or other) should be left for users, Teemu Likonen, 2015/12/13
- Re: Document that symbol prefix "my-" (or other) should be left for users, John Wiegley, 2015/12/14
- Re: Document that symbol prefix "my-" (or other) should be left for users, Tassilo Horn, 2015/12/15
- Re: Document that symbol prefix "my-" (or other) should be left for users, John Yates, 2015/12/15
- RE: Document that symbol prefix "my-" (or other) should be left for users, Drew Adams, 2015/12/15
- Re: Document that symbol prefix "my-" (or other) should be left for users, John Wiegley, 2015/12/15
- Re: Document that symbol prefix "my-" (or other) should be left for users, Evans Winner, 2015/12/15
- Re: Document that symbol prefix "my-" (or other) should be left for users,
John Wiegley <=
Re: Document that symbol prefix "my-" (or other) should be left for users, David Reitter, 2015/12/15