Mercurial > emacs
annotate admin/notes/years @ 83537:c19f348befac
Fix F10 behaviour. (Reported by Bernard Adrian.)
* src/xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]:
Rename from Fmenu_bar_open.
(syms_of_xmenu): Update defsubr.
* lisp/menu-bar.el (menu-bar-open): New function.
Bind it to f10.
* lisp/term/x-win.el: Don't bind f10.
* lisp/tmm.el: Remove autoload binding for f10.
* lisp/ldefs-boot.el: Regenerate.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-577
| author | Karoly Lorentey <lorentey@elte.hu> |
|---|---|
| date | Sat, 29 Jul 2006 20:57:26 +0000 |
| parents | c062f0fb51ba |
| children | f3a5f0fb3297 |
| rev | line source |
|---|---|
|
64680
32b32ccdedc0
Update. Include emacs-devel message fragment.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
62697
diff
changeset
|
1 How to Maintain Copyright Years for GNU Emacs |
| 62697 | 2 |
| 3 | |
|
64680
32b32ccdedc0
Update. Include emacs-devel message fragment.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
62697
diff
changeset
|
4 "Our lawyer says it is ok if we add, to each file that has been in Emacs |
|
32b32ccdedc0
Update. Include emacs-devel message fragment.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
62697
diff
changeset
|
5 since Emacs 21 came out in 2001, all the subsequent years. We don't |
|
32b32ccdedc0
Update. Include emacs-devel message fragment.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
62697
diff
changeset
|
6 need to check whether *that file* was changed in those years. |
|
32b32ccdedc0
Update. Include emacs-devel message fragment.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
62697
diff
changeset
|
7 It's sufficient that *Emacs* was changed in those years (and it was!). |
| 62697 | 8 |
|
64680
32b32ccdedc0
Update. Include emacs-devel message fragment.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
62697
diff
changeset
|
9 For those files that have been added since then, we should add |
|
32b32ccdedc0
Update. Include emacs-devel message fragment.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
62697
diff
changeset
|
10 the year it was added to Emacs, and all subsequent years." |
|
32b32ccdedc0
Update. Include emacs-devel message fragment.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
62697
diff
changeset
|
11 |
|
32b32ccdedc0
Update. Include emacs-devel message fragment.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
62697
diff
changeset
|
12 --RMS, 2005-07-13 |
| 62697 | 13 |
| 14 | |
|
65217
c062f0fb51ba
Mention rendered/commented copyright notice practice
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64680
diff
changeset
|
15 For the refcards under etc/, it's ok to simply use the latest year |
|
c062f0fb51ba
Mention rendered/commented copyright notice practice
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64680
diff
changeset
|
16 (typically in a `\def\year{YEAR}' expression) for the rendered copyright |
|
c062f0fb51ba
Mention rendered/commented copyright notice practice
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64680
diff
changeset
|
17 notice, while maintaining the full list of years in the copyright notice |
|
c062f0fb51ba
Mention rendered/commented copyright notice practice
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64680
diff
changeset
|
18 in the comments. |
|
c062f0fb51ba
Mention rendered/commented copyright notice practice
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64680
diff
changeset
|
19 |
|
c062f0fb51ba
Mention rendered/commented copyright notice practice
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64680
diff
changeset
|
20 |
|
64680
32b32ccdedc0
Update. Include emacs-devel message fragment.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
62697
diff
changeset
|
21 ------------------------------------------------------------------------------ |
|
32b32ccdedc0
Update. Include emacs-devel message fragment.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
62697
diff
changeset
|
22 |
|
32b32ccdedc0
Update. Include emacs-devel message fragment.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
62697
diff
changeset
|
23 |
|
32b32ccdedc0
Update. Include emacs-devel message fragment.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
62697
diff
changeset
|
24 Following is the policy that we tried to write down one time (mid 2005). |
|
32b32ccdedc0
Update. Include emacs-devel message fragment.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
62697
diff
changeset
|
25 Although it is incorrect, we keep it around to remind us how complicated |
|
32b32ccdedc0
Update. Include emacs-devel message fragment.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
62697
diff
changeset
|
26 things used to be (and may become in the future). |
| 62464 | 27 |
| 28 | |
| 29 Principle: Individual files need to have the year of the release | |
| 30 in the copyright notice if there is significant change. | |
| 31 | |
| 32 | |
| 33 Practice: | |
| 34 | |
| 35 - individual files | |
| 36 - each must be examined, along w/ its history, by a human | |
| 37 - automated tools facilitate but can never replace this process | |
| 38 | |
| 39 - year of the release | |
| 40 - may be different from year of file introduction, | |
| 41 or year of last significant change | |
| 42 - sometimes the release year slips, leaving a file w/ prematurely | |
| 43 marked release year => need update (e.g., s/2004/2005/ for Emacs 22) | |
| 44 - intervening years (between releases) are not valid and may cause | |
| 45 embarrassment later in case of dispute => remove (however, see next) | |
| 46 - years for new files (merged, contributed) that have been separately | |
| 47 published are valid even if between releases => leave alone | |
| 48 | |
| 49 - significant change | |
| 50 - insignificant | |
| 51 - whitespace | |
| 52 - copyright notice | |
| 53 - version control tags | |
| 54 - simple var/func renaming | |
| 55 - in-file reorganization/reordering | |
| 56 - typos | |
| 57 - small bugfixes | |
| 58 - small docfixes | |
| 59 - filename renaming | |
| 60 - most everything else is significant | |
| 61 - change to interface | |
| 62 - change in functionality | |
| 63 - new file | |
| 64 - many small changes may be significant in aggregate | |
| 65 | |
| 66 - when in doubt, ask (and update these guidelines -- thanks!) | |
| 67 | |
| 68 - sometimes people make mistakes | |
| 69 - if they have not read these guidelines, point them here | |
| 70 - if the guidelines are not helpful, improve the guidelines |
