From c721078eb9ed2e7ff3093dd6e96dd43a71df199a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 16 Sep 2002 15:30:04 +0000 Subject: [PATCH] (unexec): Deal with .got, reinstating change from 25-08-1999. --- etc/NEWS | 5 ++++ lisp/ChangeLog | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/ChangeLog | 5 ++++ src/unexelf.c | 4 +++ 4 files changed, 89 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index 909e0e61c97..fcad0c06202 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -451,6 +451,11 @@ sense for the attribute. When an attribute is de-selected by unchecking its check-box, then the (now ignored, but still present temporarily in case you re-select the attribute) value is hidden. +** When you set or reset a variable's value in a Customize buffer, +the previous value becomes the "backup value" of the variable. +You can go back to that backup value by selecting "Use Backup Value" +under the "[State]" button. + +++ ** In GUD mode, when talking to GDB, C-x C-a C-j "jumps" the program counter to the specified source line (the one where point is). diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 465c04b5998..26f9b1ad12a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2002-09-16 Richard M. Stallman + + * cus-edit.el (custom-variable-backup-value): New function. + (custom-variable-reset-backup): New function. + (custom-variable-menu): Add item for custom-variable-reset-backup. + (custom-variable-set, custom-variable-reset-saved) + (custom-variable-reset-standard): Call custom-variable-backup-value. + 2002-09-16 Juanma Barranquero * dired-aux.el (dired-add-entry): Add missing argument to `dired-mark'. @@ -25,6 +33,13 @@ (menu-bar-search-menu): Reorganized. (menu-bar-edit-menu): Added "Replace" submenu. +2002-09-15 Richard M. Stallman + + * scroll-bar.el (scroll-bar-mode): Specify :initialize. + + * menu-bar.el (menu-bar-make-mm-toggle): Don't put a quote befor FNAME + when it's not being evaluated. + 2002-09-15 Markus Rost * dired.el (dired-move-to-filename): Fix previous change. @@ -38,6 +53,66 @@ 2002-09-14 Richard M. Stallman + * time.el (display-time-mode): Set display-time-load-average here. + (display-time-load-average): Initialize to nil. + (display-time-default-load-average): Add "None" alternative. + (display-time-update): Handle "None" alternative for load-average. + + * dired-aux.el (dired-bunch-files): Put the arg FILES + back as it was after temporary destrucive mods. + (dired-add-entry): Use dired-insert-directory to handle indentation. + Explicitly restore the line's marker character. + Preserve the old file name's text properties. + (dired-add-entry-do-indentation): Function deleted. + (dired-relist-file): Doc fix. + (dired-rename-file): Change argument names. + (foo-rename-file): New function. + (dired-do-hardlink): Use dired-hardlink. + (dired-hardlink): New function. + (dired-insert-subdir-doinsert): Use dired-insert-directory; + that handles indentation, text props and header line. + dired-readin-insert gets no args. + Use `last' instead of `reverse'. + + * dired.el (dired-use-ls-dired): New variable. + (dired-directory): Document the rules better. + + * dired.el (dired-insert-headerline): Function deleted. + (dired-revert): Pass no args to dired-readin. + (dired-move-to-filename): First try using dired-filename property. + (dired-move-to-end-of-filename): Likewise. + (dired-why): Try to show the start of this page of warnings. + (dired-log): Insert the buffer name at start of page, not end. + (dired-log-summary): If just one failure, explain it in echo area. + + * dired.el (dired-internal-noselect): + Always set dired-directory, when buffer is not new. + Pass dir-or-list, not dirname, to dired-mode. + Call dired-readin with no args. + Don't call dired-after-readin-hook here. + (dired-find-buffer-nocreate): Expand dirname. + Expand the dir from dired-directory to compare with dirname. + + (dired-readin): Take no args. Get the directory from dired-directory. + Run dired-before-reading hook inside save-excursion. + Run dired-after-readin-hook here. + Don't make undo entries at all. + Call dired-readin-insert with no args. + Don't change indentation here. + Don't insert headerline here. + + (dired-readin-insert): Take no args. + Get dir and file-list from dired-directory. + Call dired-insert-directory the new way. + Don't insert "wildcard" info here. + + (dired-insert-directory): New arg FILE-LIST. + First arg now DIR, always just the directory. + This function fully handles setting up the buffer text: + update indentation, insert headerline and "wildcard" info. + Pass --dired arg if appropriate; put info in dired-filename props. + Don't expand file names here. + * warnings.el (display-warning): In batch mode, exclude the final newline from the arg to `message'. diff --git a/src/ChangeLog b/src/ChangeLog index 4ad23b91929..75092f3d862 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-09-16 Dave Love + + * unexelf.c (unexec): Deal with .got, reinstating change from + 25-08-1999. + 2002-09-13 Richard M. Stallman * s/sol2-6.h (UNEXEC): Comment out definition. diff --git a/src/unexelf.c b/src/unexelf.c index cf3fc9d5bcd..affdbad1964 100644 --- a/src/unexelf.c +++ b/src/unexelf.c @@ -1012,6 +1012,8 @@ unexec (new_name, old_name, data_start, bss_start, entry_address) ".lit4") || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), ".lit8") + || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), + ".got") || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), ".sdata1") || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), @@ -1195,6 +1197,8 @@ unexec (new_name, old_name, data_start, bss_start, entry_address) ".lit4") || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), ".lit8") + || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), + ".got") || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), ".sdata1") || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), -- 2.39.5