From: Miles Bader Date: Sat, 27 Oct 2007 09:07:17 +0000 (+0000) Subject: Merge from emacs--rel--22 X-Git-Tag: emacs-pretest-23.0.90~10044 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fdc9061358d3654e14bfc1419632e1d6c6c5c13e;p=emacs.git Merge from emacs--rel--22 Patches applied: * emacs--rel--22 (patch 131-137) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 261-262) - Update from CVS Revision: emacs@sv.gnu.org/emacs--devo--0--patch-908 --- fdc9061358d3654e14bfc1419632e1d6c6c5c13e diff --cc doc/emacs/ChangeLog index 3b92f150f59,00000000000..1d1ba11ef6f mode 100644,000000..100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@@ -1,5020 -1,0 +1,5024 @@@ +2007-10-25 Glenn Morris + + * fortran-xtra.texi (Fortran): F90 mode handles F2003. + ++2007-10-24 Richard Stallman ++ ++ * misc.texi (Interactive Shell): Cleanup last change. ++ +2007-10-22 Juri Linkov + + * mini.texi (Minibuffer History): Add text about a list of minibuffer + default values. + +2007-10-20 Eric S. Raymond + + * files.texi: Disambiguate two slightly different uses of the term + 'filesets'. + +2007-10-18 Martin Rudalics + + * trouble.texi (Quitting): Fix typo. + +2007-10-18 Glenn Morris + + * frames.texi (Mode Line Mouse): Mention minor mode names. + +2007-10-17 Juri Linkov + + * text.texi (Fill Commands): Undocument fill-paragraph-or-region. + fill-paragraph operates on the active region in Transient Mark mode. + (Fill Prefix, Format Indentation): Replace fill-paragraph-or-region + with fill-paragraph. + + * basic.texi (Arguments): Replace fill-paragraph-or-region with + fill-paragraph. + + * fixit.texi (Spelling): ispell-word operates on the active region + in Transient Mark mode. + +2007-10-17 Aaron S. Hawley + + * building.texi (Source Buffers): + * custom.texi (Init Non-ASCII): + * glossary.texi (Glossary): Use "key binding" consistently. + +2007-10-17 Juanma Barranquero + + * calendar.texi (Diary): Fix directive. + +2007-10-16 Richard Stallman + + * calendar.texi (Diary): Clarify text about diary file example. + +2007-10-13 Eric S. Raymond + + * files.texi: Capitalize node names according to convention. + +2007-10-13 Glenn Morris + + * misc.texi (Interactive Shell): Correct INSIDE_EMACS reference. + +2007-10-11 Eric S. Raymond + + * emacs.texi: + * files.texi (Version Systems): Minor fixes to version-control material + suggested by RMS and Robert J. Chassell. + +2007-10-10 Eric S. Raymond + + * files.texi (Version Systems): + * vc-xtra.texi: + * vc1-xtra.texi: + * vc2-xtra.texi: Merge in changes for new VC with fileset-oriented + operations. Change of terminology from `version' to `revision'. + Revise text for adequate description of VCSes with monotonic IDs. + * emacs.texi: Change of terminology from `version' to `revision'. + +2007-10-09 Eric S. Raymond + + * files.texi (Version Systems): Describe newer VCses. + Reorder the descriptions to be chronological. + +2007-10-09 Richard Stallman + + * display.texi (Cursor Display): Correct how cursor appears + in nonselected windows. + +2007-10-04 Nick Roberts + + * building.texi (GDB Graphical Interface): Remove references to gdba + and mention gud-gdb. + +2007-08-31 Eli Zaretskii + + * rmail.texi (Rmail Sorting): Improve indexing. + +2007-10-06 Juri Linkov + + * text.texi (Fill Commands): Document fill-paragraph-or-region. + (Fill Prefix, Format Indentation): Replace fill-paragraph with + fill-paragraph-or-region. + + * basic.texi (Arguments): Replace fill-paragraph with + fill-paragraph-or-region. + +2007-10-06 Eric S. Raymond + + * files.texi: Update the section on version control for 2007 + conditions. None of these changes are new-VC-specific; that + will come later. + +2007-09-15 Glenn Morris + + * calendar.texi (Holidays): Change all instances of `holiday-list' back + to `list-holidays'. + +2007-09-14 Glenn Morris + + * calendar.texi: Update all instances of mark-calendar-holidays, + list-calendar-holidays, list-holidays with the new names. + +2007-09-06 Glenn Morris + + * Move manual sources from man/ to subdirectories of doc/. + Split into the Emacs manual in emacs/, and other manuals in misc/. + * Makefile.in (INFO_TARGETS, DVI_TARGETS): Reduce to just the Emacs + manual. + (infodir): New variable. + (info): Use $infodir. + (emacsman): Delete target, not needed any more. + Move all targets that are not the Emacs manual to misc/Makefile.in. + (mostlyclean): Remove `gnustmp'. + * makefile.w32-in (INFO_TARGETS, DVI_TARGETS): Reduce to just the Emacs + manual. + (MULTI_INSTALL_INFO, ENVADD, infodir): Go up one more level. + (emacsman): Delete target, not needed any more. + (clean): Remove all info files but Emacs manual. + Move all targets that are not the Emacs manual to misc/Makefile.in. + * emacs-xtra.texi, emacs.texi (setfilename): Go up one more level. + + * Makefile.in (INFOSOURCES): Delete. + (.SUFFIXES): Use $(TEXI2DVI) rather than texi2dvi. + (mostlyclean): Add *.op, *.ops. Move *.aux *.cps *.fns *.kys *.pgs + *.vrs *.toc here... + (maintainer-clean): ...from here. + +2007-09-05 Glenn Morris + + * custom.texi (Safe File Variables): Clarify `!' and risky variables. + +2007-08-29 Glenn Morris + + * emacs.texi (EMACSVER): Increase to 23.0.50. + +2007-08-27 Richard Stallman + + * emacs.texi (Top): Clarify menu item for Glossary. + + * display.texi (Faces): Change secn title. + Clarify not all fonts come from Font Lock. + +2007-08-17 Eli Zaretskii + + * basic.texi (Position Info): Add index entry for face at point. + Mention that character faces are also displayed by "C-u C-x =". + +2007-08-08 Glenn Morris + + * glossary.texi (Glossary): Deprecate `iff'. + +2007-08-07 Chong Yidong + + * files.texi (File Conveniences): Document point motion keys in Image + mode. + +2007-07-27 Glenn Morris + + * emacs.texi (Copying): Include license text from gpl.texi, rather than + in-line. + + * gpl.texi: New file with text of GPL. + * Makefile.in (EMACSSOURCES): Add gpl.texi. + +2007-07-26 Dan Nicolaescu + + * vc2-xtra.texi (Customizing VC): Add GIT and HG. + + * dired.texi (Wdired): Mention C-x C-q key binding. + +2007-07-28 Nick Roberts + + * building.texi (GDB Graphical Interface): Qualify use of "M-x gdba". + +2007-07-25 Glenn Morris + + * emacs.texi (Copying): Replace license with GPLv3. + + * Relicense all FSF files to GPLv3 or later. + +2007-07-24 Glenn Morris + + * calendar.texi (Writing Calendar Files): cal-tex-diary etc only work + for some calendars. + +2007-07-23 Nick Roberts + + * screen.texi (Mode Line): Describe new mode-line flag that shows if + default-directory for the current buffer is on a remote machine. + +2007-07-21 Eli Zaretskii + + * vc2-xtra.texi (Customizing VC) : Update the + default value. + +2007-07-21 Richard Stallman + + * files.texi (Why Version Control?): Improve previous change. + +2007-07-18 Eric S. Raymond + + * files.texi (Why Version Control?): New node. + +2007-07-12 Nick Roberts + + * building.texi (Starting GUD): Add xref to this anchor. + +2007-06-24 Karl Berry + + * emacs.texi: New Back-Cover Text. + +2007-06-07 Alan Mackenzie + + * display.texi (Optional Mode Line): Document the new form of + line+column numbers, "(561,2)". + +2007-06-06 Juanma Barranquero + + * maintaining.texi (Create Tags Table): Fix typos. + +2007-06-02 Chong Yidong + + * Version 22.1 released. + +2007-05-07 Karl Berry + + * emacs.texi (EMACSVER): Back to 22. + +2007-05-06 Richard Stallman + + * maintaining.texi (Create Tags Table): Clean up previous change. + +2007-05-05 Francesco Potort,Al(B + + * maintaining.texi (Create Tags Table): Add text about the dangers of + making symbolic links to tags files. + +2007-05-04 Karl Berry + + * emacs.texi (EMACSVER) [smallbook]: 22.1 for printed version, not 22. + +2007-05-03 Karl Berry + + * emacs.texi (EMACSVER) [smallbook]: 22 for printed version. + + * .cvsignore (*.pdf): New entry. + + * emacs.texi (\urlcolor, \linkcolor) [smallbook]: \let to \Black + for printing. + +2007-05-01 Richard Stallman + + * cmdargs.texi (Initial Options): Under --batch, mention --eval. + +2007-04-28 Glenn Morris + + * ack.texi (Acknowledgments): + * anti.texi (Antinews): + * programs.texi (Program Modes): Restore mention of python.el pending + consideration of legal status. + +2007-04-28 Richard Stallman + + * files.texi (File Names): Fixes to ~ description on MS systems. + +2007-04-26 Glenn Morris + + * emacs.texi (EMACSVER): Increase to 22.1.50. + +2007-04-25 Karl Berry + + * emacs.texi: Improve line breaks on copyright page, + similar layout to lispref, 8.5x11 by default. + + * dired.texi (Image-Dired): Improve line break, fix typo. + +2007-04-24 Chong Yidong + + * programs.texi (Program Modes): + * anti.texi (Antinews): + * ack.texi (Acknowledgments): python.el removed. + +2007-04-23 Chong Yidong + + * display.texi (Highlight Interactively): Correct description of + hi-lock-file-patterns-policy. + + * files.texi (File Archives): Mention self-extracting executables. + +2007-04-23 Eli Zaretskii + + * search.texi (Unconditional Replace, Query Replace): Add xref to + "Replacement and Case". + +2007-04-22 Chong Yidong + + * dired.texi (Image-Dired): Move from Thumbnails node. + * misc.texi (Thumbnails): Node deleted. + * emacs.texi (Top): Update node listing. + + * files.texi (File Conveniences): + * ack.texi (Acknowledgments): Rename "tumme" to "image-dired". + +2007-04-21 Richard Stallman + + * display.texi (Highlight Interactively): Correct previous change. + Clarify doc of hi-lock-find-patterns, and move new features into it. + +2007-04-20 David Koppelman + + * display.texi (Highlight Interactively): Document + hi-lock-file-patterns-policy. + +2007-04-20 Martin Rudalics + + * display.texi (Scrolling): Fix typo. + +2007-04-15 Chong Yidong + + * doclicense.texi: Remove node heading, so that it can be included by + other files. + + * emacs.texi: Insert node heading for GFDL. + +2007-04-14 Eli Zaretskii + + * cmdargs.texi (Colors): Qualify "color of window" index entry by + "command line". + + * display.texi (Faces): Refer to "Creating Frames" for face + and other frame customizations in .emacs. + + * frames.texi (Creating Frames): Mention that face customizations can + be put in .emacs. Add index entries. + +2007-04-12 Richard Stallman + + * glossary.texi (Glossary): Explain `iff'. + +2007-04-11 Karl Berry + + * gnu.texi (Top), + * macos.texi (Mac Font Specs), + * anti.texi (Antinews), + * xresources.texi (Resources), + * misc.texi (Emulation), + * calendar.texi (Daylight Saving), + * dired.texi (Dired and Find), + * rmail.texi (Remote Mailboxes), + * sending.texi (Mail Headers), + * programs.texi (Which Function), + * files.texi (Recover), + * buffers.texi (Uniquify), + * frames.texi (Wheeled Mice), + * killing.texi (Rectangles): Wording to improve breaks in + 8.5x11 format. + * mule.texi (Language Environments): \hbadness=10000 since there's + no way to reword. + * emacs.texi (smallbook): New @set to more easily switch between + smallbook and 8.5x11. + +2007-04-11 Richard Stallman + + * files.texi (File Conveniences): Add xref to Tumme. + Delete text about Thumbnail mode. + +2007-04-09 Alan Mackenzie + + * cmdargs.texi (Initial Options): Call "inhibit-splash-screen" by its + new name. Insert concept index entries. + +2007-04-08 Chong Yidong + + * display.texi (Standard Faces): Document prefix arg for + list-faces-display. + + * rmail.texi (Rmail Scrolling): Document rmail-end-of-message. + +2007-04-07 Chong Yidong + + * killing.texi (Deletion): Rewrite description of M-\ prefix argument. + + * files.texi (Misc File Ops): Rewrite description of + insert-file-literally. + +2007-03-31 Eli Zaretskii + + * misc.texi (Printing): Postscript -> PostScript. + + * ack.texi (Acknowledgments): Postscript -> PostScript. + + * custom.texi (Init File, Init Non-ASCII): Fix last change. + + * emacs.texi (Top): Fix the menu due to the change in custom.texi + below. + +2007-03-30 Chong Yidong + + * custom.texi (Non-ASCII Rebinding): Node deleted. Material moved to + Init Non-ASCII. + (Init Rebinding, Init Syntax): Link to Init Non-ASCII instead. + (Init Non-ASCII): New node. + +2007-03-28 YAMAMOTO Mitsuharu + + * macos.texi (Mac Font Specs): Mention AppleAntiAliasingThreshold. + +2007-03-12 Glenn Morris + + * calendar.texi, emacs.texi (Daylight Saving): Rename node from + "Daylight Savings". + + * calendar.texi: Replace "daylight savings" with "daylight + saving" in text throughout. + +2007-03-04 Richard Stallman + + * custom.texi (Safe File Variables): Minor correction. + +2007-02-28 Thien-Thi Nguyen + + * rmail.texi (Movemail): Add internal ref. + Don't indent the intro for the PROTO table. + Format PROTO table items with @code. + +2007-02-26 Nick Roberts + + * building.texi: Remove references to bashdb. + +2007-02-19 Juanma Barranquero + + * mule.texi (Language Environments): Update list of supported language + environments. + +2007-02-14 Kim F. Storm + + * building.texi (Grep Searching): Fix lgrep doc. + +2007-02-12 Chong Yidong + + * back.texi: Remove unused file. + +2007-02-05 Francesco Potort,Al(B + + * maintaining.texi (Tag Syntax): Now --members is the default for + etags, not for ctags yet. + +2007-02-03 Eli Zaretskii + + * emacs.texi (Top): Update the top-level menus. Make the detailed menu + headers compliant with Texinfo guidelines and with what texnfo-upd.el + expects. Add comments to prevent people from inadvertently modifying + the key parts needed by `texinfo-multiple-files-update'. + +2007-01-29 Chong Yidong + + * frames.texi (Secondary Selection): Window clicked does not matter + when mouse-yank-at-point is non-nil. + +2007-01-16 Glenn Morris + + * abbrevs.texi (Editing Abbrevs): Describe how to disable a + system abbrev. + +2007-01-11 Richard Stallman + + * msdog.texi (Windows Keyboard): Another small cleanup. + +2007-01-10 Richard Stallman + + * msdog.texi (Windows Keyboard): Yet another try to make + everyone happy with that passage. + +2007-01-05 Richard Stallman + + * anti.texi (Antinews): Mention M-x shell scrolling. + +2007-01-05 Nick Roberts + + * building.texi (Watch Expressions): Describe gdb-max-children. + +2007-01-04 Richard Stallman + + * msdog.texi (Windows Keyboard): Clarify previous change. + +2007-01-02 Richard Stallman + + * custom.texi (Changing a Variable): Minor clarification. + (Specific Customization): customize-customized => customize-unsaved. + + * entering.texi (Entering Emacs): Clean up text about restarting + Emacs for each file. + + * misc.texi (Shell Options): Minor cleanup. + + * msdog.texi (Windows Keyboard): Explain that Windows was incompatible + with Emacs, not vice versa. + + * programs.texi (Symbol Completion): Recommend customizing + window manager. + + * xresources.texi (Resources): Minor fix. + +2007-01-01 Jan Dj,Ad(Brv + + * xresources.texi (Table of Resources): Add scrollBarWidth resource. + +2007-01-01 Richard Stallman + + * commands.texi (User Input): Document keys stolen by window mangers. + +2006-12-31 Richard Stallman + + * custom.texi (Specific Customization): Document customize-option + instead of customize-variable. + +2006-12-31 Kim F. Storm + + * major.texi (Choosing Modes): Document auto-mode-case-fold. + +2006-12-30 Kim F. Storm + + * killing.texi (CUA Bindings): Fix typo. + + * xresources.texi (Table of Resources): Mention grow-only value for + auto-resize-tool-bars. + +2006-12-27 Eli Zaretskii + + * msdog.texi (Windows Keyboard): Mention widespread Windows bindings, + and how to get them back. + +2006-12-26 Richard Stallman + + * calendar.texi (Holidays): Holiday listing is based on current + practice, but DST is not. + +2006-12-25 Richard Stallman + + * emacs.texi (Top): Update subnode menus. + + * mark.texi (Transient Mark): Fix xref. + + * killing.texi (Graphical Kill): Node deleted. + (Killing): Add xref to Cut and Paste. + (CUA Bindings): Update xref. + + * frames.texi (Cut and Paste): New section to hold other nodes. + (Mouse Commands): Node demoted. + (Cut/Paste Other App): Split out from Mouse Commands. + (Word and Line Mouse): Likewise. + (Secondary Selection, Clipboard): Nodes demoted. + +2006-12-24 Kevin Ryde + + * calendar.texi (Holidays): US daylight saving begins second Sunday + in March for 2007 onwards. + (Daylight Savings): Show new US default daylight saving rules, 2nd + Sun in Mar to 1st Sun in Nov, now in cal-dst.el. + +2006-12-23 Chong Yidong + + * calendar.texi (Scroll Calendar): < and > are switched. + +2006-12-23 Kevin Rodgers + + * killing.texi (Deletion): Describe M-\ prefix argument. + +2006-12-23 Richard Stallman + + * search.texi (Regexp Search): Explain why forward and reverse regexp + search are not mirror images. + +2006-12-19 Kim F. Storm + + * major.texi (Choosing Modes): Describe match-function elements for + magic-mode-alist. + +2006-12-18 Eli Zaretskii + + * msdog.texi (Windows Keyboard): Add a footnote about "Windows" keys + peculiarities. + +2006-12-18 Richard Stallman + + * abbrevs.texi (Editing Abbrevs): Fix previous change. + +2006-12-17 Alan Mackenzie + + * programs.texi (Left Margin Paren): Remove the bit which says + that CC Mode sets open-paren-in-column-0-is-defun-start to nil. + Discuss some of the issues of setting this option to nil. + +2006-12-17 Glenn Morris + + * abbrevs.texi (Editing Abbrevs): Mention system abbrevs. + +2006-12-16 Eli Zaretskii + + * msdog.texi (Windows Keyboard): Clarify `w32-recognize-altgr' effect. + (Windows Files): `w32-get-true-file-attributes' is only relevant for + NTFS volumes. + (ls in Lisp): `links' in `ls-lisp-verbosity' is only relevant to NTFS + volumes. + +2006-12-15 Eli Zaretskii + + * text.texi (HTML Mode): Fix "C-c TAB". + +2006-12-09 Richard Stallman + + * misc.texi (Invoking emacsclient): Simplify TCP file text. + +2006-12-08 Kevin Rodgers + + * files.texi (Misc File Ops): Document insert-file-literally. + +2006-12-08 Eli Zaretskii + + * cmdargs.texi (Colors): Note that --color is intended for overriding + the terminal defaults, not for normal invocation. + + * misc.texi (Emacs Server): Improve wording. Don't mention the + ``server program''. Add a cross-reference to "Init File" node. + (Invoking emacsclient): Add index entries. Document both short and + long versions of command-line options. Document the -f option. + +2006-12-06 Richard Stallman + + * text.texi (Outline Format): Say to set outline-regexp + and outline-level with major modes and file local variables. + +2006-12-05 Micha,Ak(Bl Cadilhac + + * anti.texi (Antinews): Mention the alternative to + `~/.emacs_SHELLNAME', which is `~/.emacs.d/init_SHELLNAME.sh'. + + * misc.texi (Interactive Shell): Ditto. + +2006-12-04 Eli Zaretskii + + * emacs.texi (Acknowledgments): Fix Arne J@o{}rgensen's name. + + * ack.texi (Acknowledgments): Fix Arne J@o{}rgensen's name. + +2006-12-01 Eli Zaretskii + + * mule.texi (Enabling Multibyte): Rephrase the confusing reference to a + colon in the mode line. + + * msdog.texi (Windows Processes) [@ifnottex]: Mention w32-shell-execute. + +2006-11-26 Nick Roberts + + * building.texi (Watch Expressions): Mention SPC for expanding/ + contracting watch expressions. + +2006-11-26 Kim F. Storm + + * kmacro.texi (Basic Keyboard Macro): Mention F3/F4 more. + +2006-11-26 Nick Roberts + + * building.texi (Debugger Operation): Define text command mode. + Clarify how tooltips work. + (GDB Graphical Interface): Explain how to run in text command mode + more clearly. + +2006-11-25 Juanma Barranquero + + * mule.texi (Defining Fontsets): Fix use of `charset' and `font'. + +2006-11-22 Juanma Barranquero + + * anti.texi (Antinews): Mention --server-file and TCP sockets. + +2006-11-18 Chong Yidong + + * misc.texi (Interactive Shell): INSIDE_EMACS is set to t, + and EMACS is deprecated. + +2006-11-18 Juanma Barranquero + + * makefile.w32-in (emacs.dvi): Remove xresmini.texi. + +2006-11-18 Jan Dj,Ad(Brv + + * Makefile.in (emacs.dvi): Remove xresmini.texi. + + * emacs.texi: Include xresources.texi both for info and dvi. + + * xresources.texi: Merge text from xresmini.texi. + +2006-11-12 Roberto Rodr,Am(Bguez (tiny change) + + * glossary.texi: Fix typos. + +2006-11-06 Richard Stallman + + * emacs.texi (Acknowledgments): Fix name spelling, add Anna Bigatti. + + * ack.texi (Acknowledgments): Fix name spelling. + +2006-11-01 Juri Linkov + + * search.texi (Word Search): Document incremental word search. + +2006-10-28 Glenn Morris + + * ack.texi (Acknowledgments): Add cal-html author. + + * calendar.texi (Writing Calendar Files): Rename section (was "LaTeX + Calendar"). Describe new package cal-html. + * emacs.texi (Top): Rename old node "LaTeX Calendar" to "Writing + Calendar Files." + +2006-10-23 Richard Stallman + + * abbrevs.texi (Expanding Abbrevs): Expansion happens only when + Abbrev mode is enabled. + +2006-10-16 Richard Stallman + + * emacs.texi: Update ISBN. + +2006-10-11 Kim F. Storm + + * emacs.texi (Acknowledgments): Use @dotless{i}. + +2006-10-08 Nick Roberts + + * building.texi (Breakpoints Buffer): Mention catchpoints. + +2006-10-08 Kim F. Storm + + * ack.texi (Acknowledgments): Update. + + * emacs.texi (Acknowledgments): Fix bad @/ form. + +2006-10-05 Kim F. Storm + + * emacs.texi (Acknowledgments): Add more contributors. + +2006-10-03 Richard Stallman + + * emacs.texi (Acknowledgments): Update version and edition. + +2006-10-01 Karl Berry + + * custom.texi (Customization Groups): Page break to keep example buffer + on one page. + +2006-09-30 Karl Berry + + * programs.texi (Basic Indent): @need to improve page break. + * text.texi: Rewording to improve page breaks, and use @LaTeX{}. + +2006-09-29 Glenn Morris + + * calendar.texi (Date Formats): Doc fix for european-calendar-style. + +2006-09-29 Karl Berry + + * windows.texi (Basic Window): Remove forced @break, no longer + desirable. + * frames.texi (Frame Commands), + * mark.texi (Marking Objects): Reword to avoid bad page break. + * display.texi (Auto Scrolling): Use @tie{} to avoid bad line break. + +2006-09-19 Richard Stallman + + * frames.texi (Dialog Boxes): Clean up wording: avoid passive, + stick to present tense. + +2006-09-18 Jan Dj,Ad(Brv + + * frames.texi (Dialog Boxes): Rename x-use-old-gtk-file-dialog + to x-gtk-use-old-file-dialog. + (Dialog Boxes): Document x-gtk-file-dialog-help-text. + +2006-09-15 Jay Belanger + + * emacs.texi (GNU GENERAL PUBLIC LICENSE): + Change "Library Public License" to "Lesser Public License" + throughout. Use "yyyy" to represent year. + +2006-09-12 Reiner Steib + + * files.texi (Visiting): Add index entry "open file". + +2006-09-11 Richard Stallman + + * building.texi (Compilation Mode): Clarification. + (Grep Searching): Add xref to Compilation Mode. + +2006-09-08 Richard Stallman + + * search.texi (Search): Ref multi-file search commands here. + (Other Repeating Search): Not here. + +2006-08-28 Richard Stallman + + * windows.texi (Split Window): Update xref. + + * basic.texi (Continuation Lines): Update xref. + + * indent.texi (Tab Stops): Update xref. + + * emacs.texi (Top): Update subnode menu. + + * display.texi (Line Truncation, Displaying Boundaries): New nodes, + split out of Display Custom. + +2006-08-25 Kim F. Storm + + * display.texi (Display Custom): Add variables overline-margin + and x-underline-at-descent-line. + +2006-08-25 Richard Stallman + + * entering.texi (Exiting): Rewrite to give graphical displays + priority over text terminals. + + * search.texi (Incremental Search): Move index entries. + +2006-08-23 Chong Yidong + + * custom.texi (Init File): Reference Find Init to avoid "home + directory" confusion. + +2006-08-22 Nick Roberts + + * building.texi (Other GDB-UI Buffers): Describe how to edit + a value in the locals buffer. + +2006-08-21 Richard Stallman + + * search.texi (Basic Isearch): Add `isearch' index entry. + +2006-08-16 Richard Stallman + + * misc.texi (Saving Emacs Sessions): Clean up wording. + + * mark.texi (Marking Objects): Mention term "select all". + + * emacs.texi (Top): Update subnode menu. + + * help.texi (Help Mode): Move node up in file. + +2006-08-15 Nick Roberts + + * building.texi (Stack Buffer): Explain fringe arrow. + +2006-08-12 Eli Zaretskii + + * misc.texi (Saving Emacs Sessions): Clarify when desktop is restored + on startup. + +2006-08-11 Romain Francoise + + * ack.texi (Acknowledgments): Delete mention to zone-mode.el. + +2006-08-10 Sven Joachim (tiny change) + + * mule.texi (Recognize Coding, Text Coding): Fix typos. + +2006-08-10 Richard Stallman + + * text.texi (Format Faces): Substantial rewrites to deal + with face merging. Empty regions don't count. Clarify + face property inheritance. + +2006-08-08 Romain Francoise + + * dired.texi (Marks vs Flags): Fix typo reported by Ari Roponen + . + +2006-08-04 Eli Zaretskii + + * cmdargs.texi (Window Size X) <--geometry>: Only width and height + apply to all frames. + +2006-08-01 Richard Stallman + + * help.texi (Name Help): Add index entries for describe-variable. + +2006-08-01 Nick Roberts + + * building.texi (GDB Graphical Interface): Shorten node names. + (GDB-UI Layout): Use GDB-related. + (Other GDB-UI Buffers): Simplify English. + +2006-07-31 Richard Stallman + + * search.texi (Query Replace): Add xref for Dired's Q command. + +2006-07-31 Nick Roberts + + * building.texi (GDB commands in Fringe): Rename to... + (Source Buffers): ..this and move forward. Describe hollow arrow and + new option gdb-find-source-frame. + +2006-07-29 Richard Stallman + + * dired.texi (Operating on Files): Simplify previous change + and fix Texinfo usage. + +2006-07-29 Eli Zaretskii + + * dired.texi (Operating on Files): Add cross-references. State the + Unix commands that do similar things. + +2006-07-28 Richard Stallman + + * mark.texi (Transient Mark): Clarify that region never disappears + when Transient Mark mode is off, and not when it is on. + +2006-07-27 Richard Stallman + + * search.texi (Non-ASCII Isearch): Clarify. Mention C-q. + +2006-07-24 Richard Stallman + + * xresources.texi (GTK styles): Fix texinfo usage. + + * commands.texi (User Input): Explain why we teach keyboard cmds. + + * xresources.texi, xresmini.texi, search.texi, programs.texi: + * misc.texi, kmacro.texi, killing.texi, glossary.texi: + * fortran-xtra.texi, files.texi, emacs.texi, emacs-xtra.texi: + * doclicense.texi, display.texi, dired.texi, basic.texi: + * anti.texi, ack.texi: Move periods and commas inside quotes. + +2006-07-22 Eli Zaretskii + + * cmdargs.texi (General Variables): Document EMAIL. + +2006-07-21 Eli Zaretskii + + * frames.texi (Frame Commands): Mention that focus-follows-mouse + doesn't have effect on MS-Windows. + +2006-07-17 Richard Stallman + + * building.texi (Grep Searching): Explain about chaining grep commands. + +2006-07-10 Nick Roberts + + * killing.texi, mini.texi: Fix typos. + +2006-07-09 Chong Yidong + + * misc.texi (Invoking emacsclient): Document behavior when emacsclient + is invoked for multiple files. + +2006-07-08 Eli Zaretskii + + * msdog.texi (Windows Keyboard) [@iftex]: Add an @inforef to the + on-line manual for the rest of this node. + (Windows Mouse) : Include + unconditionally. + (Windows Processes) : Include unconditionally. + Improve wording. + (Windows Printing): Improve wording. + (Windows Misc) [@iftex]: Add an @inforef to the on-line manual for the + rest of this node. + +2006-07-05 Thien-Thi Nguyen + + * building.texi (Lisp Eval): Throughout, replace eval-current-buffer + with eval-buffer. + +2006-07-05 Nick Roberts + + * mule.texi (Coding Systems, Specify Coding): Link descriptions + of character translation. + +2006-07-04 Nick Roberts + + * rmail.texi (Remote Mailboxes): Add missing @code keyword. + +2006-07-03 Karl Berry + + * emacs.texi (\hbadness): Set to 6000 so we aren't bothered by + not-too-underfull hboxes in the TeX output. + * abbrevs.texi, buffers.texi, building.texi, calendar.texi, + * cmdargs.texi, custom.texi, dired.texi, macos.texi, + * maintaining.texi, misc.texi, mule.texi, programs.texi, rmail.texi, + * sending.texi, text.texi: Fix overfull/underfull boxes. + +2006-07-03 Romain Francoise + + * m-x.texi (M-x): Fix. + +2006-07-03 Richard Stallman + + * search.texi (Other Repeating Search): filename -> file name. + + * misc.texi (Narrowing): Minor cleanups. + + * files.texi (Visiting): filename -> file name. + + * emacs.texi (Top): Update subnode menus. + + * mule.texi (Coding Systems): Move char translation stuff here. + (Specify Coding, Output Coding): New nodes, out of Recognize Coding. + (Recognize Coding): Substantial local rewrites. + (International): Update menu. + + * display.texi (Auto Scrolling): New node, broken out of Scrolling. + (Scrolling): Substantial local rewrites. + (Display): Update menu and intro. + + * dired.texi: filename -> file name. + + * custom.texi (Safe File Variables): Texinfo usage fix. + +2006-07-03 Ted Zlatanov + + * help.texi, m-x.texi: Lots of cleanups. + +2006-06-30 Eli Zaretskii + + * msdog.texi (ls in Lisp, Windows Keyboard, Windows Mouse) + (Windows Processes, Windows Misc): Shorten the printed version by + selectively conditioning less important portions by @ifnottex. + +2006-06-27 Richard Stallman + + * mini.texi (Minibuffer File): Minor cleanup. + +2006-06-25 Nick Roberts + + * frames.texi (XTerm Mouse): Rename to... + (Text-Only Mouse): ...this. Mention t-mouse-mode. + + * emacs.texi (Top): Use new node name. + +2006-06-24 Eli Zaretskii + + * emacs.texi (Top): Update the detailed menu according to changes in + msdog.texi. + + * msdog.texi (Windows Keyboard): New section. + (Windows Mouse): New section. + (Windows System Menu): Remove section (text merged with "Windows + Keyboard"). + (Windows Misc): New section. + + * dired.texi (Dired Enter): Refer to msdog.texi for ls-lisp emulation. + + * msdog.texi (ls in Lisp): New section. + + * files.texi (Visiting): Document case-insensitive wildcard matching + under find-file-wildcards. + +2006-06-16 YAMAMOTO Mitsuharu + + * macos.texi (Mac Input): Add description of mac-function-modifier. + Now Unicode keyboard layouts work. + +2006-06-10 Richard Stallman + + * mule.texi (Recognize Coding): Clarify previous change. + +2006-06-09 Kenichi Handa + + * mule.texi (Recognize Coding): Describe the convention of "CODING!" + notation. + +2006-06-07 Kevin Ryde + + * mule.texi (Coding Systems): Footnote xref "MS-DOS and MULE" in main + manual for @ifnottex, but in emacs-extra for @iftex. + + * cmdargs.texi (General Variables): Fix smtpmail xref. + +2006-05-29 Stefan Monnier + + * programs.texi (Comment Commands): + * custom.texi (Specifying File Variables): + Use ;; instead of ;;; to better follow coding conventions. + +2006-06-07 Nick Roberts + + * building.texi (Watch Expressions): Move node to end. + (GDB Graphical Interface): Move description of clicks in fringe... + (GDB commands in the Fringe): ...to here. New node. + +2006-06-05 Romain Francoise + + * xresmini.texi (GTK resources): Fix various typos. + +2006-06-05 Nick Roberts + + * building.texi (GDB Graphical Interface): Update bindings. + (Commands of GUD): Add gud-print. Remove gud-run. + Restate availability more generally. + +2006-06-03 Ted Zlatanov + + * mini.texi: Lots of cleanups. + +2006-06-01 Luc Teirlinck + + * misc.texi (Shell History Copying): Update descriptions of `C-c RET' + and Mouse-2. + +2006-06-01 Jan Dj,Ad(Brv + + * screen.texi (Menu Bar): Change menu-bar-start to menu-bar-open. + +2006-05-31 Richard Stallman + + * basic.texi (Moving Point): Fix previous change. + +2006-05-29 Jan Dj,Ad(Brv + + * screen.texi (Menu Bar): F10 for Gtk+/Lesstif/Lucid menus. + +2006-05-28 Ted Zlatanov + + * basic.texi: Many simplifications and improvements in wording. + +2006-05-26 Nick Roberts + + * anti.texi (Antinews): Create a node for gdb-ui. + +2006-05-22 Reiner Steib + + * frames.texi (Menu Bars, Tool Bars): Add index entries. + +2006-05-20 Richard Stallman + + * dired.texi (Dired Navigation): dired-goto-file is now j. + +2006-05-20 Eli Zaretskii + + * mule.texi (Coding Systems): Mention the undecided-* coding systems + and their aliases. + + * msdog.texi (Windows Printing): Mention non-support of plain text + printing with some el-cheapo printers, and suggest a workaround. + +2006-05-20 Kevin Ryde + + * text.texi (TeX Print): tex-dvi-view-command has a default value, + remove the bit saying you must set it. + +2006-05-19 Luc Teirlinck + + * trouble.texi (Checklist): + * text.texi (Text, Auto Fill, Text Mode): + * search.texi (Nonincremental Search): + * rmail.texi (Rmail Labels): + * mule.texi (Input Methods, Multibyte Conversion): + * misc.texi (Gnus, Where to Look, PostScript): + * maintaining.texi (Create Tags Table): + * indent.texi (Indentation Commands): + * fixit.texi (Spelling): + * emacs.texi (Copying): + * custom.texi (Init File): ifinfo -> ifnottex. + +2006-05-17 Richard Stallman + + * files.texi (Diff Mode): Mention C-x `. + +2006-05-08 Richard Stallman + + * custom.texi (Disabling): Textual cleanups. + +2006-05-12 Glenn Morris + + * calendar.texi (Displaying the Diary, Format of Diary File): + Refer to diary-view-entries, diary-list-entries, + diary-show-all-entries rather than obsolete aliases. + +2006-05-12 Eli Zaretskii + + * calendar.texi (Calendar/Diary, Holidays, Displaying the Diary) + (Displaying the Diary, Special Diary Entries, Importing Diary): + * building.texi (Compilation Shell): + * buffers.texi (Several Buffers) [iftex]: Replace @xref's to + emacs-xtra with @inforef's. + + * files.texi (Visiting): Fix wording. + + * mule.texi (Coding Systems, Text Coding): More indexing. + Mention that C-x RET f can set eol conversion. + +2006-05-07 Jan Dj,Ad(Brv + + * xresmini.texi (GTK resources): Insert GTK description. + + * xresources.texi (GTK resources): metafont should be menufont. + +2006-05-06 Michael Albinus + + * mini.texi (Completion Options): Completion of remote files' + method, user name and host name is active only in partial + completion mode. + +2006-05-06 Eli Zaretskii + + * makefile.w32-in (emacs.dvi): + * Makefile.in (emacs.dvi): Add xresmini.texi. + + * xresmini.texi (Table of Resources): Remove xref to non-existent + node "LessTif Resources". + + * msdog.texi (Microsoft Windows): + * calendar.texi (Calendar/Diary, Displaying the Diary) + (Special Diary Entries, Importing Diary, Holidays): + * programs.texi (Program Modes): + * text.texi (Text): + * buffers.texi (Several Buffers): + * files.texi (Comparing Files): Fix cross-references to emacs-xtra. + +2006-05-06 Eli Zaretskii + + The following changes merge the emacs-xtra manual into the main + manual, but only for on-line version of the manual. + + * vc2-xtra.texi (Version Backups, Local Version Control) + (Making Snapshots, Change Logs and VC, Version Headers) + (Customizing VC, CVS Options) [ifnottex]: Conditional xref's for + on-line manual. + + * vc1-xtra.texi (VC Dired Mode) [ifnottex]: Conditional xref's + for on-line manual. + + * msdog-xtra.texi (MS-DOS, MS-DOS Keyboard, MS-DOS Mouse) + (MS-DOS Display, MS-DOS File Names, MS-DOS Printing) + (MS-DOS and MULE, MS-DOS Processes) [ifnottex]: Conditional xref's + for on-line manual. + + * fortran-xtra.texi (Fortran, Fortran Autofill) + (Fortran Autofill, Fortran Abbrev) [ifnottex]: Conditional xref's + for on-line manual. + + * picture-xtra.texi (Basic Picture, Rectangles in Picture) [ifnottex]: + Conditional xref's for on-line manual. + + * emerge-xtra.texi (Emerge, Overview of Emerge) + (Fine Points of Emerge) [ifnottex]: Conditional xref's for on-line + manual. + + * Makefile.in (INFO_TARGETS): Remove ../info/emacs-xtra. + (EMACS_XTRA): New variable, lists the new *-xtra.texi files. + (EMACSSOURCES): Use EMACS_XTRA. + (../info/emacs-xtra): Remove. + (emacs-xtra.dvi): Add EMACS_XTRA to prerequisites. + + * makefile.w32-in (INFO_TARGETS): Remove $(infodir)/emacs-xtra. + (EMACS_XTRA): New variable, lists the new *-xtra.texi files. + (EMACSSOURCES): Use EMACS_XTRA. + ($(infodir)/emacs-xtra): Remove. + (emacs-xtra.dvi): Add EMACS_XTRA to prerequisites. + + * trouble.texi (Quitting): + * text.texi (Text): + * programs.texi (Program Modes): + * msdog.texi (Microsoft Windows): + * frames.texi (Frames): + * files.texi (Backup, Version Control, VC Concepts) + (Types of Log File, Advanced C-x v v, Log Buffer, Old Versions) + (Registering, VC Status, VC Undo, Multi-User Branching) + (Comparing Files): + * calendar.texi (Calendar/Diary, Holidays, Displaying the Diary) + (Displaying the Diary, Special Diary Entries, Importing Diary): + * buffers.texi (Several Buffers): Replace inforef to emacs-xtra by + conditional xref's, depending on @iftex/@ifnottex. + + * msdog.texi (Microsoft Windows) [ifnottex]: Add menu entry for + "MS-DOS". @include msdog-xtra.texi. + + * programs.texi (Programs) [ifnottex]: Add menu entry for "Fortran". + [ifnottex]: @include fortran-xtra.texi. + + * files.texi (Secondary VC Commands) [ifnottex]: Add menu entries + for vc-xtra.texi subsections. + (VC Undo) [ifnottex]: @include vc1-xtra.texi and @lowersections it. + (Multi-User Branching) [ifnottex]: @include vc2-xtra.texi. + + * sending.texi (Sending Mail): A @node line without explicit Prev, + Next, and Up links. + + * abbrevs.texi (Abbrevs): A @node line without explicit Prev, + Next, and Up links. + + * emacs.texi (Top) [ifnottex]: Add menu entries for "Picture Mode" + and its sections. @include picture-xtra.texi. + + * maintaining.texi (Maintaining) [ifnottex]: Add menu entry for + "Emerge". + (List Tags) [ifnottex]: @include emerge-xtra.texi. + + * cal-xtra.texi (Daylight Savings): Remove this node: it is an + exact duplicate of its name-sake in calendar.texi. + + * calendar.texi (Calendar/Diary) [ifnottex]: Add menu item for + "Advanced Calendar/Diary Usage". + (Time Intervals) [ifnottex]: @include cal-xtra.texi. + + * dired.texi (Subdirectories in Dired) [ifnottex]: @include + dired-xtra.texi. + (Dired) [ifnottex]: Add menu entry for "Subdir Switches". + + * files.texi (Reverting) [ifnottex]: @include arevert-xtra.texi. + (Files) [ifnottex]: Add menu entry for Autorevert. + + * emacs-xtra.texi (Introduction): Reword to make consistent with + printed version only. + : Remove the body of all chapters and move them to the + new *-xtra.texi files. Use @raisesections and @lowersections to + convert sections to chapters etc. + + * msdog-xtra.texi: + * fortran-xtra.texi: + * vc-xtra.texi: + * vc1-xtra.texi: + * vc2-xtra.texi: + * emerge-xtra.texi: + * cal-xtra.texi: + * dired-xtra.texi: + * arevert-xtra.texi: New files, with text from respective chapters + of emacs-xtra.texi. Convert each @chapter into @section, @section + into @subsection, etc. + + * emacs-xtra.texi (MS-DOS): Renamed from "MS-DOG". All references + updated. + + * msdog.texi (Microsoft Windows): Rename from "Emacs and Microsoft + Windows". All references updated. + +2006-05-06 YAMAMOTO Mitsuharu + + * macos.texi (Mac Input): Mention input from Character Palette. + (Mac Font Specs): Fix typo. + +2006-05-05 Richard Stallman + + * files.texi (Diff Mode): Minor cleanup. + +2006-05-05 Karl Berry + + * emacs.texi: Call @fonttextsize 10, inside @tex to avoid + errors from the current release of makeinfo (4.8). + * help.texi (Library Keywords): Change widest word in multitable + template from `emulations' to `convenience'. (Not sure if this is + related to the font change.) + +2006-05-05 Eli Zaretskii + + * files.texi (File Names): Add a footnote about limited support of + ~USER on MS-Windows. + + * cmdargs.texi (Initial Options): Add a footnote about limited + support of ~USER on MS-Windows. + +2006-05-03 Richard Stallman + + * files.texi (Diff Mode): Node moved here. + (Comparing Files): Delete what duplicates new node. + (Files): Put Diff Mode in menu. + + * misc.texi (Diff Mode): Moved to files.texi. + + * emacs.texi (Top): Update menu for Diff Mode. + + * trouble.texi (Emergency Escape): Simplify. + + * emacs.texi (Top): Minor clarification. + +2006-05-03 Teodor Zlatanov + + * commands.texi, entering.texi, screen.texi: Many simplifications. + +2006-05-03 Richard Stallman + + * commands.texi (Text Characters): Delete paragraph about unibyte + non-ASCII printing chars. + + * killing.texi (Killing): Say "graphical displays". + * display.texi: Say "graphical displays". + + * cmdargs.texi (Misc X): Say "graphical displays". + +2006-05-01 Richard Stallman + + * emacs.texi (Top): Add Diff Mode to menu. + +2006-05-01 Aaron S. Hawley + + * misc.texi (Diff Mode): New node. + +2006-05-01 YAMAMOTO Mitsuharu + + * macos.texi (Mac International): Now Carbon Emacs has ATSUI support. + (Mac Environment Variables): Shorten example line. + (Mac Font Specs): Shorten lisp lines. Add descriptions for ATSUI. + +2006-05-01 Nick Roberts + + * building.texi (GUD Customization): Describe cases %d and %c. + Update description for %e. + +2006-04-30 Glenn Morris + + * calendar.texi (LaTeX Calendar): Mention cal-tex-preamble-extra. + +2006-04-29 Dan Nicolaescu + + * custom.texi (Examining): Update C-h v output example. + +2006-04-29 Kim F. Storm + + * building.texi (Grep Searching): Add lgrep and rgrep. + +2006-04-23 Richard Stallman + + * emacs.texi [TeX]: Use xresmini.texi instead of xresources.texi. + + * xresmini.texi: New file. + + * xresources.texi (Face Resources): Split table into font resources + and the rest. Combine similar attributes for brevity. + +2006-04-21 Eli Zaretskii + + * emacs-xtra.texi (MS-DOS File Names): Remove section about + backslashes and case-insensitivity in file names (moved to the + main manual). + (MS-DOS Printing): Move most of the text to the main manual. + + * msdog.texi (Windows Files, Windows HOME, MS-Windows Printing): + New nodes. + (Windows Processes, Windows System Menu): Add index entries and + fix wording. + +2006-04-18 J.D. Smith + + * misc.texi (Shell Ring): Add notes on saved input when + navigating off the end of the history list. + +2006-04-18 Chong Yidong + + * misc.texi (Shell Options): Correct default value of + comint-scroll-show-maximum-output. + +2006-04-18 Nick Roberts + + * building.texi (Watch Expressions): Update. + +2006-04-12 Richard Stallman + + * search.texi: Clean up previous change. + +2006-04-12 Eli Zaretskii + + * search.texi (Regexp Backslash, Regexp Replace): Add index + entries for ``back reference'' and mention the term itself in the + text. + +2006-04-11 Richard Stallman + + * custom.texi (Safe File Variables): + Document enable-local-variables = :safe. + +2006-04-11 Karl Berry + + * emacs-xtra.texi, emacs.texi (Dired under VC, VC Dired Commands) + (Remote Repositories, Version Backups, Local Version Control) + (Snapshots, Making and Using Snapshots, Snapshot Caveats) + (Miscellaneous Commands and Features of VC, Change Logs and VC) + (Renaming VC Work Files and Master Files) + (Inserting Version Control Headers, Customizing VC, General Options) + (Options for RCS and SCCS, Options specific for CVS): Move all + these nodes to emacs-xtra.texi, for brevity. + * cmdargs.texi, files.texi: Change cross-references. + +2006-04-11 J.D. Smith + + * files.texi (Old Versions): Update description of vc-annotate's + use of color to indicate date ranges. + +2006-04-09 Kevin Ryde + + * sending.texi (Mail Sending): In send-mail-function @pxref smtpmail, + put info and printed manual names the right way around. + +2006-04-09 Karl Berry + + * msdog.texi, emacs-xtra.texi: Move all the MS-DOS material to + emacs-xtra.texi, leaving only MS Windows information. + * building.texi, emacs.texi, frames.texi, gnu.texi, macos.texi, + * msdog.texi, mule.texi, trouble.texi: Change cross-references and + node names. + + * emacs.texi: Move @summarycontents and @contents to the beginning + of the file. + +2006-04-08 Kevin Ryde + + * text.texi (Fill Commands): fill-nobreak-predicate is now a hook. + +2006-04-07 Richard Stallman + + * programs.texi (Comments, Comment Commands, Options for Comments) + (Multi-Line Comments): "Align", not "indent". + (Basic Indent): C-j deletes trailing whitespace before the newline. + +2006-04-06 Richard Stallman + + * programs.texi (Basic Indent): Clarify relationship of C-j to TAB. + +2006-04-06 Eli Zaretskii + + * killing.texi (Rectangles): Add index entry for marking a rectangle. + +2006-04-05 Richard Stallman + + * emacs.texi (Top): Update subnode menu. + + * trouble.texi (Unasked-for Search): Node deleted. + (Lossage): Delete from menu. + +2006-04-04 Richard Stallman + + * trouble.texi: Various cleanups. + (Checklist): Don't bother saying how to snail a bug report. + (Emergency Escape): Much rewriting. + (After a Crash): Rename the core dump immediately. + (Total Frustration): Call it a psychotherapist. + (Bug Criteria): Avoid "illegal instruction". + (Sending Patches): We always put the contributor's name in. + + * misc.texi (Thumbnails): Minor correction. + +2006-04-03 Richard Stallman + + * misc.texi (Thumbnails): Minor cleanup. + +2006-04-02 Karl Berry + + * sending.texi (Mail Sending): pxref to Top needs five args. + + * texinfo.tex: Update to current version (2006-03-21.13). + +2006-03-31 Richard Stallman + + * emacs.texi (Top): Update subnode menu. + + * help.texi (Help Mode): Cleanup. + + * dired.texi: Many cleanups. + (Dired Deletion): Describe dired-recursive-deletes. + (Operating on Files): dired-create-directory moved. + (Misc Dired Features): Move to here. + (Tumme): Node moved to misc.texi. + + * custom.texi: Many cleanups. + (Minor Modes): Don't mention ISO Accents Mode. + (Examining): Update C-h v output example. + (Hooks): Add index and xref for add-hook. + (Locals): Delete list of vars that are always per-buffer. Rearrange. + (Local Keymaps): Don't mention lisp-mode-map, c-mode-map. + + * misc.texi: Many cleanups. + (beginning): Add to summary of topics. + (Shell): Put eshell xref at the end. Remove eshell from table. + (Thumbnails): New node. + +2006-03-28 Eli Zaretskii + + * files.texi (File Name Cache): Make it clear that the cache is + not persistent. + +2006-03-25 Karl Berry + + * emacs-xtra.texi, emacs.texi, gnu.texi: + (1) use @copyright{} instead of (C) in typeset text; + (2) do not indent copyright year list (or anything else). + +2006-03-21 Juanma Barranquero + + * files.texi (VC Dired Mode): Remove misplaced brackets. + +2006-03-21 Andre Spiegel + + * files.texi: Various updates and clarifications in the VC chapter. + +2006-03-19 Luc Teirlinck + + * help.texi (Help Mode): Document "C-c C-c". + +2006-03-16 Luc Teirlinck + + * emacs-xtra.texi (Top): Avoid ugly continuation line in + menu in the standalone Info reader. + +2006-03-15 Chong Yidong + + * emacs-xtra.texi (Emerge, Picture Mode, Fortran): New chapters, + moved here from Emacs manual. + + * programs.texi (Fortran): Section moved to emacs-xtra. + (Program Modes): Xref to Fortran in emacs-xtra. + + * maintaining.texi (Emerge): Move to emacs-xtra. + * files.texi (Comparing Files): Xref to Emerge in emacs-xtra. + + * picture.texi: File deleted. + * Makefile.in: + * makefile.w32-in: Remove picture.texi. + + * text.texi (Text): Xref to Picture Mode in emacs-xtra. + * abbrevs.texi (Abbrevs): + * sending.texi (Sending Mail): Picture node removed. + + * emacs.texi (Top): Update node listings. + +2006-03-12 Richard Stallman + + * calendar.texi: Various cleanups. + +2006-03-11 Luc Teirlinck + + * search.texi (Regexps): Use @samp for regexp that is not in Lisp + syntax. + +2006-03-08 Luc Teirlinck + + * search.texi (Regexps): More accurately describe which characters + are special in which situations. Recommend _not_ to quote `]' or + `-' when they are not special. + +2006-02-28 Andre Spiegel + + * files.texi (Old Versions): Clarify operation of C-x v =. + +2006-02-21 Nick Roberts + + * building.texi (Watch Expressions): Update and describe + gdb-speedbar-auto-raise. + +2006-02-19 Richard M. Stallman + + * emacs.texi: Use @smallbook. + (Top): Update ref to Emacs paper, delete ref to Cookbook. + Update subnode menu. + + * building.texi (Lisp Interaction): Minor addition. + +2006-02-18 Nick Roberts + + * building.texi (Watch Expressions): Update and be more precise. + +2006-02-15 Francesco Potort,Al(B + + * maintaining.texi (Create Tags Table): Explain why the + exception when etags writes to files under the /dev tree. + +2006-02-14 Richard M. Stallman + + * custom.texi (Safe File Variables): Lots of clarification. + Renamed from Unsafe File Variables. + +2006-02-14 Chong Yidong + + * custom.texi (Unsafe File Variables): File variable confirmation + assumed denied in batch mode. + +2006-02-14 Richard M. Stallman + + * building.texi (GDB User Interface Layout): Don't say `inferior' + for program being debugged. + +2006-02-15 Nick Roberts + + * building.texi (GDB Graphical Interface): + Replace gdb-use-inferior-io-buffer with gdb-use-separate-io-buffer. + +2006-02-13 Chong Yidong + + * custom.texi (Specifying File Variables, Unsafe File Variables): + New nodes, split from File Variables. Document new file local + variable behavior. + +2006-02-13 YAMAMOTO Mitsuharu + + * display.texi (Standard Faces): + * files.texi (Visiting): + * frames.texi (Clipboard): + * glossary.texi (Glossary) : + * xresources.texi (X Resources): Mention Mac OS port. + +2006-02-12 Richard M. Stallman + + * building.texi (Building): Clarify topic in intro. + + * maintaining.texi (Maintaining): Change title; clarify topic. + Delete duplicate index entries. + + * building.texi (Other GDB User Interface Buffers): Clarifications. + + * text.texi (Cell Commands): Clarifications. + + * programs.texi (Defuns): Delete duplicate explanation of + left-margin paren convention. + (Hungry Delete): Minor cleanup. + +2006-02-11 Mathias Dahl + + * dired.texi (Tumme): More tumme documentation. + +2006-02-11 Alan Mackenzie + + * programs.texi ("Hungry Delete"): Correct the appellation of the + backspace and delete keys to @kbd{DEL} and @kbd{DELETE}. + +2006-02-11 Mathias Dahl + + * dired.texi (Tumme): Fix small bug. + +2006-02-10 YAMAMOTO Mitsuharu + + * macos.texi (Mac International): Rename "fontset-mac" to + "fontset-standard". + +2006-02-09 Mathias Dahl + + * dired.texi (Tumme): Basic documentation for Tumme added. + +2006-02-07 Luc Teirlinck + + * mule.texi (International): + * programs.texi (Basic Indent): Fix typos. + + * custom.texi (Minor Modes): + * display.texi (Text Display): + * commands.texi (Text Characters): Update xrefs. + +2006-02-07 Richard M. Stallman + + * emacs.texi (Top): Update subnode menu. + Update info on old Emacs papers. + (Intro): "Graphical display", not window system. + + * xresources.texi (GTK styles): Minor clarifications. + + * trouble.texi: "Graphical display", not window system. + (Stuck Recursive): Minor clarification. + + * text.texi: Minor clarifications. + (Sentences): Explain why two-space convention is better. + Explain sentence-end-without-period here. + (Fill Commands): Not here. + (Refill): Node moved down. + (Filling): Update menu. + (Table Creation, Cell Justification, Column Commands): Clarify. + + * sending.texi: Minor clarifications. + + * search.texi (Regexp Backslash): Clarification. + + * rmail.texi: Minor cleanups. + (Rmail): Delete digression about `rmail-mode'. + (Rmail Inbox): Delete false advice wrt rmail-primary-inbox-list. + (Rmail Files): Mention C-u M-x rmail. + (Rmail Reply): Mention References. + (Rmail Display): Mention rmail-nonignored-headers. + + * programs.texi: Minor cleanups. + (Comment Commands): Mention momentary Transient Mark mode. + (Matching): Be more specific about customizing show-paren-mode. + (Info Lookup): Don't list the modes that support C-h S. + Just say what it does in an unsupported mode. + (Man Page): Delete excessive info on customizing woman. + (Motion in C): Don't mention c-for/backward-into-nomenclature. + + * abbrevs.texi: Minor clarifications. + (Dabbrev Customization): Talk about "dynamic abbrev expansion", + not "dynamic abbrevs" as if they were a kind of abbrev. + + * picture.texi (Picture): Minor cleanup. + + * mule.texi (Communication Coding): Say "other applications". + (Fontsets): Not specific to X. Add xref to X Resources. + (Unibyte Mode): Rename from Single-Byte Character Support. + "Graphical display", not window system. + (International): Update menu. + + * maintaining.texi (Format of ChangeLog): + New node, split out from ChangeLog. + (ChangeLog): Clarifications in the remaining text. + (Create Tags Table, Etags Regexps, Select Tags Table): Cleanups. + (Find Tag): Add @w. + (Tags Search): Explain tag table order here. Simplify grep ref. + (List Tags): tags-tag-face is a variable, not a face. + (Emerge): Cleanups. + + * kmacro.texi (Keyboard Macro Counter): Rewrite for clarity. + (Keyboard Macros): Avoid "the user". + + * killing.texi: "Graphical display", not window system. + + * help.texi (Help Echo): "Graphical display", not window system. + + * glossary.texi: Say "you", not "the user". Say "graphical display". + + * frames.texi: Minor cleanups. "Graphical display", not window system. + + * files.texi (Visiting): Make drag-and-drop not X-specific. + + * custom.texi: Minor cleanups. "Graphical display", not window system. + + * cmdargs.texi: Minor cleanups. + + * building.texi (Compilation): Move and split kill-compilation para. + Add para about multiple compilers. + (Compilation Mode): Commands also available in grep mode and others. + Mention C-u C-x ` more tutorially. Clarify C-x `. + (Compilation Shell): Clarify. Put Bash example first. + (Grep Searching): Minor cleanups; add @w. + (Debuggers): Minor cleanups. + (Starting GUD): Make GDB xgraphical mode issue clearer. + (Debugger Operation): Lots of clarifications including + GDB tooltip side-effect issue. + (Commands of GUD): Clarify. + (GUD Customization): Add bashdb-mode-hook. + (GDB Graphical Interface): Rewrite for clarity. + (GDB User Interface Layout): Rewrite for clarity. + (Stack Buffer, Watch Expressions): Likewise. + (Other GDB User Interface Buffers): Cleanups. + (Lisp Libraries, External Lisp): Cleanup. + + * basic.texi (Position Info): "Graphical displays", rather than + window systems. + + * anti.texi: Minor cleanup. + +2006-02-03 Eli Zaretskii + + * custom.texi (Init File, Find Init): Add cross-references to + where $HOME is described. + +2006-02-01 Luc Teirlinck + + * frames.texi (Frame Parameters): Remove @item for S-Mouse-1; it + is not inside the @table. + + * emacs.texi (Top): Correct node name. + + * files.texi (File Names): Fix @xref. + (Reverting): Fix typo. + + * mule.texi (International): Correct node name. + + * kmacro.texi (Save Keyboard Macro): Add missing @kbd to @table. + +2006-02-01 Richard M. Stallman + + * emacs.texi (Top): Update subnode menu. + + * mule.texi: Minor clarifications. + Reduce the specific references to X Windows. + Refer to "graphical" terminals, rather than window systems. + (Text Coding): Rename from Specify Coding. + (Communication Coding, File Name Coding, Terminal Coding): + New nodes split out from Text Coding. + + * kmacro.texi: Minor clarifications. + (Keyboard Macro Ring): Comment out some excessive commands. + (Basic Keyboard Macro): Split up the table, putting part in each node. + + * major.texi: Minor clarifications. + + * misc.texi (Single Shell, Interactive Shell): Fix xrefs. + + * windows.texi: Minor clarifications. + (Change Window): Don't describe mode-line mouse cmds here. + Add xref to Mode Line Mouse. + + * msdog.texi (Text and Binary, MS-DOS and MULE): Fix xrefs. + + * macos.texi (Mac International): Fix xref. + + * indent.texi: Minor clarifications. + + * frames.texi: Minor clarifications. + Reduce the specific references to X Windows. + Refer to "graphical" terminals, rather than window systems. + (Frame Parameters): Don't mention commands like + set-foreground-color. Just say to customize a face. + (Drag and Drop): Lisp-level stuff moved to Emacs Lisp manual. + + * files.texi: Minor clarifications. + (Numbered Backups): New node, split out from Backup Names. + + * display.texi (Font Lock): C mode no longer depends on (-in-col-0. + + * cmdargs.texi (General Variables): Fix xref. + + * buffers.texi: Minor clarifications. + +2006-01-31 Richard M. Stallman + + * display.texi (Scrolling, Horizontal Scrolling, Follow Mode): + Nodes moved to top. + + * display.texi: Minor clarifications. + (Display): Rearrange menu. + (Standard Faces): Mention query-replace face. + (Faces): Simplify. + (Font Lock): Simplify face customization info. + (Highlight Changes): Node merged into Highlight Interactively. + (Highlight Interactively): Much rewriting and cleanup. + (Optional Mode Line): Narrowed line number not good for goto-line. + Simplify face customization advice. + (Text Display): Mention use of escape-glyph face. + Move ctl-arrow and tab-width here. + (Display Custom): Move no-redraw-on-reenter to end of node. + + * search.texi: Minor clarifications. + (Isearch Scroll): Simplify. + (Other Repeating Search): Document multi-occur-in-matching-buffers. + + * regs.texi (Registers): Mention bookmarks here. + + * mark.texi: Minor clarifications. + (Selective Undo): Node deleted. + + * m-x.texi: Minor clarifications. + + * killing.texi: Minor clarifications. + Refer to "graphical" terminals, rather than window systems. + + * help.texi: Clarifications. + (Help): Don't describe C-h F and C-h K here. + (Key Help): Describe C-h K here. + (Name Help): Mention Emacs Lisp Intro. + Describe C-h F here. + (Misc Help): Mention C-h F and C-h K only briefly. + + * fixit.texi (Undo): New node, mostly copied from basic.texi. + Selective undo text merged in. + (Spelling): Mention Aspell along with Ispell. + + * emacs.texi (Top): Update subnode menus. + + * basic.texi (Basic Undo): Rename from Undo. Most of text + moved to new Undo node. + +2006-01-29 Chong Yidong + + * basic.texi (Continuation Lines, Inserting Text): + Mention longlines mode. + +2006-01-29 Richard M. Stallman + + * screen.texi: Minor cleaups. + (Screen): Clean up the intro paragraphs. + (Mode Line): Lots of rewriting. Handle frame-name better. + eol-mnemonic-... vars moved out. + + * emacs.texi (Top): Change menu item for MS-DOS node. + Update subnode menu. + + * msdog.texi (MS-DOS): Rewrite intro to explain how this + chapter relates to Windows. Title changed. + + * mini.texi: Minor cleanups. + + * mark.texi (Selective Undo): New node, text moved from basic.texi. + (Mark): Put it in the menu. + + * entering.texi: Minor cleanups. + + * emacs.texi (Top): Add xref to Mac chapter; explain Windows better. + (Intro): Refer to "graphical" terminals, rather than X. + + * display.texi (Display Custom): Add xref to Variables. + (Optional Mode Line): eol-mnemonic-... vars moved here. + + * commands.texi: Minor cleanups. Refer to "graphical" terminals, + rather than X. + + * basic.texi: Minor cleanups. + (Undo): selective-undo moved. + +2006-01-25 Luc Teirlinck + + * anti.texi (Antinews): Various corrections and additions. + +2006-01-23 Juri Linkov + + * custom.texi (Easy Customization, Customization Groups) + (Browsing Custom): Mention links along with buttons. + +2006-01-21 Eli Zaretskii + + * text.texi (TeX Print): Use @key for TAB. + + * kmacro.texi (Keyboard Macro Step-Edit): Use @key for TAB. + +2006-01-15 Sven Joachim (tiny change) + + * files.texi (File Aliases): Don't claim that usually separate + buffers are created for two file names that name the same data. + Mention additional situations where different names mean the same + file on disk. + +2006-01-19 Richard M. Stallman + + * killing.texi (Deletion): Upcase @key argument. + + * custom.texi (Custom Themes): Minor cleanup. + + * programs.texi (Hungry Delete): Upcase @key argument. + +2006-01-16 Juri Linkov + + * display.texi (Standard Faces): Add `mode-line-buffer-id'. + Move `mode-line-highlight' before `mode-line-buffer-id'. + +2006-01-14 Richard M. Stallman + + * basic.texi (Inserting Text): Minor cleanup. + +2006-01-11 Luc Teirlinck + + * custom.texi (Changing a Variable, Face Customization): + Update for changes in Custom menus. + +2006-01-05 YAMAMOTO Mitsuharu + + * macos.texi (Mac International): Undo last change. + +2006-01-02 Chong Yidong + + * custom.texi (Custom Themes): Describe the new + customize-create-theme interface. + +2005-12-30 Juri Linkov + + * basic.texi (Position Info): Update example. + +2005-12-27 Jan Dj,Ad(Brv + + * frames.texi (Dialog Boxes): Add x-gtk-show-hidden-files. + +2005-12-24 Chong Yidong + + * custom.texi (Custom Themes): `load-theme' always loads. + +2005-12-23 Juri Linkov + + * display.texi (Highlight Interactively): Use double space to + separate sentences. Replace C-p with M-p, and C-n with M-n. + +2005-12-22 Richard M. Stallman + + * custom.texi (Easy Customization and subnodes): + Replace "active field" with "button". + Use "user option" only for variables. + Use "setting" for variable-or-face. + +2005-12-22 Luc Teirlinck + + * buffers.texi (Select Buffer): Change order in table to make + "Similar" refer to the correct item. + (Indirect Buffers): Minor rewording. + +2005-12-20 Juri Linkov + + * files.texi (VC Status): Put P and N near p and n. + +2005-12-19 Richard M. Stallman + + * programs.texi (Electric C): Delete the info about newline control. + (Other C Commands): Minor cleanup. + (Left Margin Paren): Minor cleanup. + +2005-12-19 Luc Teirlinck + + * custom.texi (Easy Customization): Add "Browsing Custom" to menu. + (Customization Groups): Delete text moved to "Browsing Custom". + (Browsing Custom): New node. + (Specific Customization): Clarify which commands only work for + loaded options. + +2005-12-18 Bill Wohler + + * frames.texi (Tool Bars): Shorten text of previous change. + +2005-12-18 Aaron S. Hawley + + * files.texi (VC Status): Document log-view mode. + +2005-12-18 Bill Wohler + + * frames.texi (Tool Bars): Mention that you can turn off tool bars + permanently via the customize interface. + +2005-12-16 Ralf Angeli + + * killing.texi (Killing by Lines): Document `kill-whole-line' + function. + +2005-12-16 L$,1 q(Brentey K,Aa(Broly + + * buffers.texi (Select Buffer): Change `prev-buffer' to + `previous-buffer'. Indicate that these functions use a frame + local buffer list. + +2005-12-12 Richard M. Stallman + + * custom.texi (Easy Customization): Change menu comment. + (Prefix Keymaps): Fix spelling of Control-X-prefix. + + * help.texi (Apropos): Rewrite. Talk about "apropos patterns". + (Help): Among the Apropos commands, describe only C-h a here. + +2005-12-11 Richard M. Stallman + + * programs.texi (Options for Comments): Comment-end starts with space. + + * glossary.texi (Glossary): Minor cleanup. + + * files.texi (Old Versions): Use @table. + +2005-12-10 David Koppelman + + * display.texi (Highlight Interactively): Include + global-hi-lock-mode. Add miscellaneous details and elaborations. + +2005-12-09 Richard M. Stallman + + * display.texi (Font Lock): Delete the Global FL menu item. + +2005-12-09 Luc Teirlinck + + * custom.texi (Minibuffer Maps): Mention the maps for file name + completion. + +2005-12-09 Kim F. Storm + + * killing.texi (CUA Bindings): Describe how to use C-x and C-c as + prefix keys even when mark is active. Decribe that RET moves + cursor to next corner in rectangle; clarify insert around rectangle. + +2005-12-08 Luc Teirlinck + + * custom.texi (Customization): Use xref to elisp manual for + non-TeX output. + (Minor Modes): Update. + (Customization Groups, Changing a Variable, Face Customization): + Update for new appearance of Custom buffers. + (Changing a Variable): `custom-buffer-done-function' has been + replaced by `custom-buffer-done-kill'. + (Specific Customization): In the `customize-group' buffer, a + subgroup's contents are not "hidden". They are not included at + all. They have no [Show] button. + (Mouse Buttons): Add pxref to description of mouse event lists in + Elisp manual. Add `menu-bar' and `header-line' dummy prefix keys. + (Find Init): Emacs now looks for ~/.emacs.d/init.el instead of + ~/.emacs.d/.emacs, if it can not find ~/.emacs(.el). + +2005-12-08 Richard M. Stallman + + * mini.texi (Completion Commands, Completion): + In file name input, SPC does not do completion. + +2005-12-08 Nick Roberts + + * building.texi (GDB Graphical Interface): Explain screen size + setting. + (Other GDB User Interface Buffers): Describe features specific to + GDB 6.4. + +2005-12-01 Nick Roberts + + * building.texi (GDB User Interface Layout): Describe how to + kill associated buffers. + (Breakpoints Buffer): Use D instead of d for gdb-delete-breakpoint. + (Watch Expressions): Be more precise. + (Other GDB User Interface Buffers): Describe how to change a + register value. + +2005-11-24 YAMAMOTO Mitsuharu + + * macos.texi (Mac Input): Remove description of + mac-command-key-is-meta. Add descriptions of + mac-control-modifier, mac-command-modifier, and + mac-option-modifier. + (Mac International): Fix description of conversion of clipboard data. + (Mac Font Specs): Add example of font customization by face attributes. + +2005-11-22 Nick Roberts + + * building.texi (Watch Expressions): Expand description. + (Other GDB User Interface Buffers): Describe local map for + gud-watch. + +2005-11-21 Chong Yidong + + * display.texi (Font Lock): Font lock is enabled by default now. + +2005-11-20 Juri Linkov + + * basic.texi (Position Info): Update examples of the output. + Remove the fact that examples are produced in the TeXinfo buffer, + because in the Info reader users will get a different output from + `C-x ='. + + * building.texi (Compilation Mode): Remove paragraph duplicated + from the node `Compilation'. Add `compilation-skip-threshold'. + + * display.texi (Font Lock): Suggest more user-friendly method of + finding all Font Lock faces (M-x customize-group RET font-lock-faces). + +2005-11-18 Richard M. Stallman + + * files.texi (Registering): Mention @@ in mode line. + + * mini.texi (Minibuffer File): Clarify previous change. Add @findex. + +2005-11-08 Aaron S. Hawley + + * files.texi (Renaming and VC): Some back-ends don't + handle renaming. + +2005-11-17 Juri Linkov + + * emacs.texi (Top): + * display.texi (Highlight Interactively): Put this font-lock based + mode near Font Lock node. + +2005-11-16 Chong Yidong + + * ack.texi (Acknowledgments): Acknowledge Andrew Zhilin for Emacs + icons. + +2005-11-12 Kim F. Storm + + * help.texi (Help): Fix C-h a entry. Add C-h d entry. + (Help Summary): Add C-h d and C-h e. + (Apropos): Clarify that all apropos commands may search for either + list of words or a regexp. Add C-h d for apropos-documentation. + Describe apropos-documentation-sort-by-scores user option. + +2005-11-09 Luc Teirlinck + + * killing.texi (CUA Bindings): Add @section. + +2005-11-10 Kim F. Storm + + * emacs.texi (Top): Add CUA Bindings entry to menu. + + * killing.texi (CUA Bindings): New node. Moved here from + misc.texi and extended with info on rectangle commands and + rectangle highlighting, interface to registers, and the global + mark feature. + + * misc.texi (Emulation): Move CUA bindings item to killing.texi. + + * regs.texi: Prev link points to CUA Bindings node. + +2005-11-07 Luc Teirlinck + + * help.texi (Help Echo): By default, help echos are only shown on + mouse-over, not on point-over. + +2005-11-04 J,Ai(Br,At(Bme Marant + + * misc.texi (Shell Mode): Describe how to activate password echoing. + +2005-11-04 Romain Francoise + + * mark.texi (Mark Ring): Fix typo. + +2005-11-03 Richard M. Stallman + + * mark.texi (Mark Ring): Mention set-mark-command-repeat-pop. + +2005-11-01 Bill Wohler + + * help.texi (Help Mode): Fix typo. + +2005-11-01 Nick Roberts + + * building.texi (Other GDB User Interface Buffers): Describe + the command gdb-use-inferior-io-buffer. + +2005-10-31 Romain Francoise + + * files.texi (Compressed Files): Fix typo. + + * buffers.texi (Misc Buffer): Downcase `*shell*'. + + * windows.texi (Force Same Window): Likewise. + +2005-10-30 Bill Wohler + + * help.texi (Help Mode): URLs viewed with browse-url. + +2005-10-31 Nick Roberts + + * building.texi (GDB Graphical Interface): Don't reference + gdb-mouse-set-clear-breakpoint. Explain gdb-mouse-until + must stay in same frame. + +2005-10-29 Chong Yidong + + * custom.texi (Init File): Document ~/.emacs.d/init.el. + + * anti.texi (Antinews): Likewise. + +2005-10-28 Bill Wohler + + * help.texi (Help): Help mode now creates hyperlinks for URLs. + +2005-10-28 Richard M. Stallman + + * files.texi (Visiting): Explain how to enter ? in a file name. + + * trouble.texi (Memory Full): Mention !MEM FULL! in mode line. + +2005-10-25 Nick Roberts + + * building.texi (GDB Graphical Interface): Describe + gdb-mouse-until. + +2005-10-23 Richard M. Stallman + + * custom.texi (Init File): Recommend when to use site-start.el. + +2005-10-21 Juri Linkov + + * custom.texi (Examining): Mention accessing the old variable + value via M-n in set-variable. + +2005-10-18 Romain Francoise + + * files.texi (Version Systems): Capitalize GNU. + +2005-10-18 Nick Roberts + + * building.texi (Compilation Mode): Remove redundant paragraph. + (Watch Expressions): Remove paragraph to reflect code change. + +2005-10-16 Richard M. Stallman + + * building.texi (Compilation Mode, Compilation): Clarified. + +2005-10-15 Richard M. Stallman + + * misc.texi (Saving Emacs Sessions): Mention savehist library. + +2005-10-13 Kenichi Handa + + * basic.texi (Position Info): Fix previous change. + +2005-10-12 Jan Dj,Ad(Brv + + * cmdargs.texi (Icons X): Fix typo. + +2005-10-12 Kenichi Handa + + * basic.texi (Position Info): Describe the case that Emacs shows + "part of display ...". + +2005-10-10 Jan Dj,Ad(Brv + + * cmdargs.texi (Icons X): -nb => -nbi. + +2005-10-10 Chong Yidong + + * frames.texi (Speedbar): A couple more clarifications. + +2005-10-11 Nick Roberts + + * building.texi (GDB User Interface Layout): Improve diagram. + (Watch Expressions): Explain how to make speedbar global. + (Other GDB User Interface Buffers): Make references more precise. + +2005-10-09 Richard M. Stallman + + * frames.texi (Speedbar): Clarify the text. + +2005-10-09 Chong Yidong + + * frames.texi (Speedbar): Add information on keybindings, + dismissing the speedbar, and buffer display mode. Link to + speedbar manual. + +2005-10-09 Jan Dj,Ad(Brv + + * cmdargs.texi (Icons X): Removed options -i, -itype, --icon-type, + added -nb, --no-bitmap-icon. + +2005-10-07 Nick Roberts + + * building.texi (GDB Graphical Interface): Add variables and + functions to indices. Be more precise. + +2005-10-03 Jan Dj,Ad(Brv + + * frames.texi (Drag and Drop): Remove the x- from + x-dnd-open-file-other-window and xdnd-protocol-alist. + +2005-09-30 Romain Francoise + + * mini.texi (Minibuffer): The default value now appears before the + colon in minibuffer prompts. + +2005-09-25 Richard M. Stallman + + * search.texi (Regexp Search): Doc search-whitespace-regexp. + +2005-09-20 Emanuele Giaquinta (tiny change) + + * text.texi (Paragraphs): Correction about Paragraph-Indent Text mode. + +2005-09-21 YAMAMOTO Mitsuharu + + * emacs.texi (Top): Update submenus from macos.texi. + + * macos.texi: Change `Mac OS 8 or 9' to `Mac OS Classic'. + (Mac OS): Update feature support status. + (Mac Input): List supported input scripts. Remove description + about `mac-keyboard-text-encoding'. Mention mouse button + emulation and related variables. + (Mac International): Mention Central European and Cyrillic + support. Now `keyboard-coding-system' is dynamically changed. + Add description about coding system for selection. Add + description about language environment. + (Mac Environment Variables): Mention + `~/.MacOSX/environment.plist'. Give example of command line + arguments. Add Preferences support. + (Mac Directories): Explicitly state that this node is for Mac OS + Classic only. + (Mac Font Specs): Mention specification for scalable fonts. List + supported charsets. Add preferred way of creating fontsets. Add + description about `mac-allow-anti-aliasing'. + (Mac Functions): Add descriptions about `mac-set-file-creator', + `mac-get-file-creator', `mac-set-file-type', `mac-get-file-type', + and `mac-get-preference'. + +2005-09-16 Romain Francoise + + Update all files to specify GFDL version 1.2. + + * doclicense.texi (GNU Free Documentation License): Update to + version 1.2. + +2005-09-15 Richard M. Stallman + + * buffers.texi (List Buffers): Fix xref. + + * rmail.texi (Rmail Basics): Fix xref. + + * emacs.texi (Top): Update subnode menus. + + * files.texi (Saving Commands): New node, broken out of Saving. + (Customize Save): New node, broken out of Saving. + Clarify effect of write-region-inhibit-fsync. + (Misc File Ops): Say write-region-inhibit-fsync affects write-region. + +2005-09-14 Romain Francoise + + * files.texi (Saving): Mention write-region-inhibit-fsync. + +2005-09-05 Chong Yidong + + * custom.texi (Custom Themes): New node. + +2005-09-03 Richard M. Stallman + + * search.texi (Search Case): Mention vars that control + case-fold-search for various operations. + +2005-08-22 Juri Linkov + + * display.texi (Standard Faces): Merge the text from + `(elisp)Standard Faces' into this node. + +2005-08-18 Luc Teirlinck + + * emacs.texi (Top): Delete menu item for deleted node + Keyboard Translations. + +2005-08-18 Richard M. Stallman + + * trouble.texi (Unasked-for Search): + Delete xref to Keyboard Translations. + + * glossary.texi (Glossary): Delete xref. + + * custom.texi (Minor Modes): Say that the list here is not complete. + (Keyboard Translations): Node deleted. + (Disabling): Delete xref to it. + (Customization Groups): Fix Custom buffer example. + (Hooks): Mention remove-hooks. + +2005-08-17 Luc Teirlinck + + * building.texi (GDB Graphical Interface): Improve filling of menu + item. + +2005-08-18 Nick Roberts + + * building.texi (GDB Graphical Interface): Use better node names. + +2005-08-14 Richard M. Stallman + + * text.texi (Sentences): Fix xref. + +2005-08-14 Juri Linkov + + * building.texi (Compilation, Grep Searching): Move grep command + headings from `Compilation' to `Grep Searching'. + + * dired.texi (Dired and Find): + * maintaining.texi (Tags Search): Replace grep xref to + `Compilation' node with `Grep Searching'. + + * files.texi (Comparing Files): Replace xref to `Compilation' with + `Compilation Mode'. + +2005-08-13 Alan Mackenzie + + * search.texi (Non-ASCII Isearch): Correct a typo. + (Replacement Commands): Mention query-replace key binding. + +2005-08-11 Richard M. Stallman + + * programs.texi (Options for Comments): Fix xref. + + * search.texi (Regexp Backslash, Regexp Example): New nodes split + out of Regexps. + +2005-08-09 Juri Linkov + + * building.texi (Compilation): Use `itemx' instead of `item'. + (Grep Searching): Simplify phrase. + + * display.texi (Standard Faces): Describe vertical-border on + window systems. + + * windows.texi (Split Window): Simplify phrase and mention + vertical-border face. + +2005-08-09 Richard M. Stallman + + * files.texi (Comparing Files): Clarify compare-windows. + + * calendar.texi (Scroll Calendar): Document < and > in calendar. + +2005-08-06 Eli Zaretskii + + * mule.texi (Coding Systems): Rephrase the paragraph about + codepages: no need for "M-x codepage-setup" anymore, except on + MS-DOS. + + * msdog.texi (MS-DOS and MULE): Clarify that this section is for + the MS-DOS port only. + +2005-07-30 Eli Zaretskii + + * makefile.w32-in (info): Don't run multi-install-info.bat. + ($(infodir)/dir): New target, produced by running + multi-install-info.bat. + +2005-07-22 Eli Zaretskii + + * files.texi (Quoted File Names): Add index entry. + +2005-07-19 Juri Linkov + + * files.texi (Comparing Files): Mention resync for `compare-windows'. + +2005-07-18 Juri Linkov + + * custom.texi (Easy Customization): + * files.texi (Old Versions): + * frames.texi (Wheeled Mice): + * mule.texi (Specify Coding): + * text.texi (Cell Justification): + * trouble.texi (After a Crash): + * xresources.texi (GTK styles): + Delete duplicate duplicate words. + +2005-07-17 Richard M. Stallman + + * frames.texi (Creating Frames): Fix foreground color example. + + * custom.texi (Init Examples): Clean up text about conditionals. + +2005-07-16 Richard M. Stallman + + * mini.texi (Completion Commands): Fix command name for ?. + +2005-07-16 Eli Zaretskii + + * display.texi (Standard Faces): Explain that customization of + `menu' face has no effect on w32 and with GTK. Add + cross-references. + + * cmdargs.texi (General Variables): Clarify the default location + of $HOME on w32 systems. + +2005-07-15 Jason Rumney + + * cmdargs.texi (General Variables): Default HOME on MS Windows has + changed. + +2005-07-08 Kenichi Handa + + * mule.texi (Recognize Coding): Recommend + revert-buffer-with-coding-system instead of revert-buffer. + +2005-07-07 Richard M. Stallman + + * anti.texi (Antinews): Mention mode-line-inverse-video. + + * files.texi (Saving): Minor correction about C-x C-w. + + * display.texi (Display Custom): Don't mention mode-line-inverse-video. + +2005-07-07 Luc Teirlinck + + * search.texi (Isearch Scroll): Add example of using the + `isearch-scroll' property. + (Slow Isearch): Reference anchor for `baud-rate' instead of entire + `Display Custom' node. + (Regexp Replace): Put text that requires Emacs Lisp knowledge last + and de-emphasize it. + (Other Repeating Search): `occur' currently can not correctly + handle multiline matches. Correct, clarify and update description + of `flush-lines' and `keep-lines'. + + * display.texi (Display Custom): Add anchor for `baud-rate'. + +2005-07-07 Richard M. Stallman + + * gnu.texi: Update where to get GNU status; add refs for how to help. + Add footnotes 6 and 7. + +2005-07-04 Lute Kamstra + + Update FSF's address in GPL notices. + + * doclicense.texi (GNU Free Documentation License): + * trouble.texi (Checklist): Update FSF's address. + +2005-06-24 Richard M. Stallman + + * display.texi (Text Display): Change index entries. + +2005-06-24 Eli Zaretskii + + * makefile.w32-in (MAKEINFO): Use --force. + (INFO_TARGETS, DVI_TARGETS): Make identical to the lists in + Makefile.in. + +2005-06-23 Richard M. Stallman + + * anti.texi (Antinews): Renamed show-nonbreak-escape to + nobreak-char-display. + + * emacs.texi (Top): Update detailed node listing. + + * display.texi (Text Display): Renamed show-nonbreak-escape + to nobreak-char-display and no-break-space to nobreak-space. + (Standard Faces): Split up the list of standard faces + and put it in a separate node. Add nobreak-space and + escape-glyph. + +2005-06-23 Lute Kamstra + + * mule.texi (Select Input Method): Fix typo. + +2005-06-23 Kenichi Handa + + * mule.texi (International): List all supported scripts. Adjust + text for that leim is now included in the normal Emacs + distribution. + (Language Environments): List all language environments. + Intlfonts contains fonts for most supported scripts, not all.. + (Select Input Method): Refer to C-u C-x = to see how to type to + input a specifc character. + (Recognize Coding): Fix typo, china-iso-8bit -> chinese-iso-8bit. + +2005-06-23 Juanma Barranquero + + * building.texi (Grep Searching): Texinfo usage fix. + +2005-06-22 Miles Bader + + * display.texi (Faces): Change `vertical-divider' to `vertical-border'. + +2005-06-20 Miles Bader + + * display.texi (Faces): Add `vertical-divider'. + +2005-06-17 Richard M. Stallman + + * text.texi (Adaptive Fill): Minor clarification. + +2005-06-10 Lute Kamstra + + * emacs.texi (Top): Correct version number. + * anti.texi (Antinews): Correct version number. Use EMACSVER to + refer to the current version of Emacs. + +2005-06-08 Luc Teirlinck + + * files.texi (Log Buffer): Document when there can be more than + one file to be committed. + +2005-06-08 Juri Linkov + + * display.texi (Faces): Add `shadow' face. + +2005-06-07 Masatake YAMATO + + * display.texi (Faces): Write about mode-line-highlight. + +2005-06-06 Richard M. Stallman + + * misc.texi (Printing Package): Explain how to initialize + printing package. + + * cmdargs.texi (Action Arguments): Clarify directory default for -l. + +2005-06-05 Chong Yidong + + * emacs.texi: Rename Hardcopy to Printing. + Make PostScript and PostScript Variables subnodes of it. + + * misc.texi (Printing): Rename node from Hardcopy. + Mention menu bar options. + Move PostScript and PostScript Variables to submenu. + (Printing package): New node. + + * mark.texi (Using Region): Change Hardcopy xref to Printing. + + * dired.texi (Operating on Files): Likewise. + + * calendar.texi (Displaying the Diary): Likewise. + + * msdog.texi (MS-DOS Printing, MS-DOS Processes): Likewise. + + * glossary.texi (Glossary): Likewise. + + * frames.texi (Mode Line Mouse): Mention mode-line-highlight + effect. + +2005-06-04 Richard M. Stallman + + * trouble.texi (After a Crash): Polish previous change. + +2005-05-30 Noah Friedman + + * trouble.texi (After a Crash): Mention emacs-buffer.gdb as a + recovery mechanism. + +2005-05-28 Nick Roberts + + * building.texi (Other Buffers): SPC toggles display of + floating point registers. + +2005-05-27 Nick Roberts + + * files.texi (Log Buffer): Merge in description of Log Edit + mode from pcl-cvs.texi. + +2005-05-26 Richard M. Stallman + + * building.texi (Lisp Eval): C-M-x with arg runs Edebug. + +2005-05-24 Luc Teirlinck + + * fixit.texi (Spelling): Delete confusing sentence; flyspell is + not enabled by default. + When not on a word, `ispell-word' by default checks the word + before point. + +2005-05-24 Nick Roberts + + * building.texi (Debugger Operation): Simplify last sentence. + +2005-05-23 Lute Kamstra + + * emacs.texi: Update FSF's address throughout. + (Preface): Use @cite. + (Distrib): Add cross reference to the node "Copying". Mention the + FDL. Don't refer to etc/{FTP,ORDERS}. Mention the sale of + printed manuals. + (Intro): Use @xref for the Emacs Lisp Intro. + +2005-05-18 Luc Teirlinck + + * buffers.texi (Select Buffer): Document `C-u M-g M-g'. + + * basic.texi (Moving Point): Mention default for `goto-line'. + + * programs.texi (Lisp Doc): Eldoc mode shows only the first line + of a variable's docstring. + +2005-05-18 Lute Kamstra + + * maintaining.texi (Overview of Emerge): Add cross reference. + Remove duplication. + + * emacs.texi (Top): Update to the current structure of the manual. + * misc.texi (Emacs Server): Add menu description. + * files.texi (Saving): Fix menu. + * custom.texi (Customization): Fix menu. + * mule.texi (International): Fix menu. + * kmacro.texi (Keyboard Macros): Fix menu. + +2005-05-16 Luc Teirlinck + + * display.texi: Various minor changes. + (Faces): Delete text that is repeated in the next section. + +2005-05-16 Nick Roberts + + * building.texi (Debugger Operation): Mention GUD tooltips are + disabled with GDB in text command mode. + +2005-05-16 Nick Roberts + + * building.texi: Replace toolbar with "tool bar" for consistency. + (Compilation Mode): Describe compilation-context-lines + and use of arrow in compilation buffer. + (Debugger Operation): Replace help text with variable's value. + + * frames.texi (Tooltips): Replace toolbar with "tool bar" for + consistency. + +2005-05-15 Luc Teirlinck + + * major.texi (Choosing Modes): normal-mode processes the -*- line. + Add xref. + +2005-05-14 Luc Teirlinck + + * basic.texi (Moving Point): Mention `M-g g' binding for `goto-line'. + (Position Info): Delete discussion of `goto-line'. It is already + described in `Moving point'. + + * mini.texi (Completion Commands): Correct reference. + (Completion Options): Fix typo. + + * killing.texi (Deletion): Complete description of `C-x C-o'. + +2005-05-10 Richard M. Stallman + + * building.texi (Compilation): Clarify recompile's directory choice. + + * frames.texi (Tooltips): Cleanups. + + * basic.texi (Arguments): Fix punctuation. + +2005-05-09 Luc Teirlinck + + * screen.texi (Menu Bar): The up and down (not left and right) + arrow keys move through a keyboard menu. + +2005-05-08 Luc Teirlinck + + * basic.texi: Various typo and grammar fixes. + (Moving Point): C-a now runs move-beginning-of-line. + +2005-05-08 Nick Roberts + + * building.texi (Debugger Operation): Describe gud-tooltip-echo-area. + + * frames.texi (Tooltips): Describe help tooltips and GUD tooltips + as different animals. + +2005-05-07 Luc Teirlinck + + * frames.texi (Mouse References): Clarify `mouse-1-click-follows-link'. + Correct index entry. + +2005-05-07 Nick Roberts + + * building.texi (Debugger Operation): Update to reflect changes + in GUD tooltips. + +2005-04-30 Richard M. Stallman + + * files.texi (Compressed Files): Auto Compression normally enabled. + + * building.texi (Debugger Operation): Clarify previous change. + +2005-04-28 Nick Roberts + + * building.texi (Debugger Operation): Add description for + GUD tooltips when program is not running. + +2005-04-26 Luc Teirlinck + + * misc.texi (Shell): Add `Shell Prompts' to menu. + (Shell Mode): Add xref to `Shell Prompts'. Clarify `C-c C-u' + description. Delete remarks moved to new node. + (Shell Prompts): New node. + (History References): Replace remarks moved to `Shell Prompts' + with xref to that node. + (Remote Host): Clarify how to specify the terminal type when + logging in to a different machine. + +2005-04-26 Richard M. Stallman + + * emacs.texi (Top): Update submenus from files.texi. + + * files.texi (Filesets): Clarify previous change. + + * dired.texi (Misc Dired Features): Clarify previous change. + +2005-04-25 Chong Yidong + + * ack.texi (Acknowledgments): Delete info about iso-acc.el. + + * dired.texi (Misc Dired Features): Document + dired-compare-directories. + + * files.texi (Filesets): New node. + (File Conveniences): Document Image mode. + + * text.texi (TeX Print): Document tex-compile. + +2005-04-25 Luc Teirlinck + + * frames.texi (Tooltips): Tooltip mode is enabled by default. + Delete redundant reference to tooltip Custom group. It is + referred too again in the next paragraph. + +2005-04-24 Richard M. Stallman + + * ack.texi: Delete info about lazy-lock.el and fast-lock.el. + +2005-04-19 Kim F. Storm + + * building.texi (Compilation Mode): Add M-g M-n and M-g M-p bindings. + +2005-04-18 Lars Hansen + + * misc.texi (Saving Emacs Sessions): Add that "--no-desktop" now + turns off desktop-save-mode. + +2005-04-17 Luc Teirlinck + + * frames.texi (XTerm Mouse): Xterm Mouse mode is no longer enabled + by default in terminals compatible with xterm. Mention that + xterm-mouse-mode is a minor mode and put in pxref to Minor Modes + node. + +2005-04-12 Luc Teirlinck + + * frames.texi (XTerm Mouse): Xterm Mouse mode is now enabled by default. + +2005-04-12 Jan Dj,Ad(Brv + + * xresources.texi (Table of Resources): Add cursorBlink. + +2005-04-11 Luc Teirlinck + + * rmail.texi (Rmail Summary Edit): Explain numeric arguments to + `d', `C-d' and `u'. + +2005-04-11 Richard M. Stallman + + * cmdargs.texi (Initial Options): -Q is now --quick, and does less. + (Misc X): Add -D, --basic-display. + + * maintaining.texi (Change Log): Correct the description of + the example. + + * major.texi (Choosing Modes): Document magic-mode-alist. + +2005-04-10 Luc Teirlinck + + * rmail.texi (Rmail Basics): Clarify description of `q' and `b'. + (Rmail Deletion): `C-d' in RMAIL buffer does not accept a numeric arg. + (Rmail Inbox): Give full name of `rmail-primary-inbox-list'. + (Rmail Output): Clarify which statements apply to `o', `C-o' and + `w', respectively. + (Rmail Labels): Mention `l'. + (Rmail Attributes): Correct pxref. Mention `stored' attribute. + (Rmail Summary Edit): Describe `j' and RET. + +2005-04-10 Jan Dj,Ad(Brv + + * xresources.texi (Lucid Resources): Add fontSet resource. + +2005-04-09 Luc Teirlinck + + * display.texi (Useless Whitespace): `indicate-unused-lines' is + now called `indicate-empty-lines'. + +2005-04-06 Kim F. Storm + + * cmdargs.texi (Initial Options): Add --bare-bones alias for -Q. + +2005-04-04 Luc Teirlinck + + * dired.texi (Dired Visiting): `dired-view-command-alist' has been + deleted. + (Marks vs Flags): Add some convenient key bindings. + (Hiding Subdirectories): Delete redundant and inaccurate sentence. + (Misc Dired Features): Correct and expand description of `w' command. + + * frames.texi (XTerm Mouse): Delete apparently false info. + The GNU/Linux console currently does not appear to support + `xterm-mouse-mode'. + +2005-04-03 Glenn Morris + + * calendar.texi (Diary): Mention shell utility `calendar'. + +2005-04-01 Richard M. Stallman + + * cmdargs.texi (Misc X): Explain horizontal scroll bars don't exist. + +2005-04-01 Lute Kamstra + + * maintaining.texi (Change Log): add-change-log-entry uses + add-log-mailing-address. + +2005-03-31 Luc Teirlinck + + * files.texi (Reverting): Move `auto-revert-check-vc-info' to + `VC Mode Line' and put in an xref to that node. + (VC Mode Line): Move `auto-revert-check-vc-info' here and clarify + its description. + +2005-03-31 Paul Eggert + + * calendar.texi (Calendar Systems): Say that the Persian calendar + implemented here is the arithmetical one championed by Birashk. + +2005-03-30 Glenn Morris + + * programs.texi (Fortran Motion): Fix previous change. + +2005-03-29 Richard M. Stallman + + * mule.texi (Single-Byte Character Support): Reinstall the C-x 8 info. + +2005-03-29 Chong Yidong + + * text.texi (Refill): Refer to Long Lines Mode. + (Longlines): New node. + (Auto Fill): Don't index "word wrap" here. + (Filling): Add Longlines to menu. + +2005-03-29 Richard M. Stallman + + * xresources.texi: Minor fixes. + + * misc.texi (Emacs Server): Fix Texinfo usage. + + * emacs.texi (Top): Don't use a real section heading for + "Detailed Node Listing". Fake it instead. + + * basic.texi (Position Info): Minor cleanup. + + * mule.texi (Input Methods): Minor cleanup. + +2005-03-29 Glenn Morris + + * programs.texi (ForIndent Vars): `fortran-if-indent' does other + constructs as well. + (Fortran Motion): Add fortran-end-of-block, fortran-beginning-of-block. + +2005-03-29 Kenichi Handa + + * mule.texi (Input Methods): Refer to the command C-u C-x =. + + * basic.texi (Position Info): Update the description about the + command C-u C-x =. + +2005-03-28 Richard M. Stallman + + * emacs.texi (Top): Use @section for the detailed node listing. + + * calendar.texi: Minor fixes to previous change. + + * programs.texi (Fortran): Small fixes to previous changes. + + * emacs.texi (Top): Update list of subnodes of Dired. + Likewise for building.texi. + + * files.texi (File Conveniences): Delete Auto Image File mode. + +2005-03-28 Chong Yidong + + * building.texi (Flymake): New node. + + * custom.texi (Function Keys): Document kp- event types and + keypad-setup package. + + * dired.texi (Wdired): New node. + + * files.texi (File Conveniences): Reorder entries. + Explain how to turn on Auto-image-file mode. + Document Thumbs mode. + + * mule.texi (Specify Coding): Document recode-region and + recode-file-name. + + * programs.texi (Program Modes): Add Conf mode and DNS mode. + +2005-03-27 Luc Teirlinck + + * commands.texi (Keys): M-o is now a prefix key. + +2005-03-27 Glenn Morris + + * programs.texi: Reformat and update copyright years. + (Fortran): Update section. + +2005-03-26 Luc Teirlinck + + * files.texi: Several small changes in addition to: + (Visiting): Change xref for Dialog Boxes to ref. + (Version Headers): Replace references to obsolete var + `vc-header-alist' with `vc-BACKEND-header'. + (Customizing VC): Update value of `vc-handled-backends'. + +2005-03-26 Glenn Morris + + * emacs-xtra.texi (Advanced Calendar/Diary Usage): New section; + move here from Emacs Lisp Reference Manual. + * calendar.texi (Calendar/Diary, Diary Commands) + (Special Diary Entries, Importing Diary): Change some xrefs to + point to emacs-xtra rather than elisp. + + * emacs-xtra.texi (Calendar Customizing): + Move view-diary-entries-initially, view-calendar-holidays-initially, + mark-diary-entries-in-calendar, mark-holidays-in-calendar to main + Emacs Manual. + (Appt Customizing): Merge entire section into main Emacs Manual. + * calendar.texi (Holidays): Move view-calendar-holidays-initially, + mark-holidays-in-calendar here from emacs-xtra. + (Displaying the Diary): Move view-diary-entries-initially, + mark-diary-entries-in-calendar here from emacs-xtra. + (Appointments): Move appt-display-mode-line, + appt-display-duration, appt-disp-window-function, + appt-delete-window-function here from emacs-xtra. + + * calendar.texi: Update and reformat copyright. + Change all @xrefs to the non-printing emacs-xtra to @inforefs. + (Calendar/Diary): Menu now only on Mouse-3, not C-Mouse-3. + (Diary): Refer to `diary-file' rather than ~/diary. + (Diary Commands): Rename node to "Displaying the Diary". + * emacs.texi (Top): Rename "Diary Commands" section. + * misc.texi (Hardcopy): Rename "Diary Commands" xref. + +2005-03-26 Eli Zaretskii + + * misc.texi (Emacs Server): Fix the command for setting + server-name. Add an xref to Invoking emacsclient. + + * help.texi (Help Summary): Clarify when "C-h ." will do something + nontrivial. + (Apropos): Add cindex entry for apropos-sort-by-scores. + + * display.texi (Text Display): Add index entries for how no-break + characters are displayed. + +2005-03-26 Eli Zaretskii + + * files.texi (Visiting): Fix cross-references introduced with the + last change. + + * xresources.texi (GTK resources): Fix last change. + +2005-03-25 Chong Yidong + + * xresources.texi (X Resources): GTK options documented too. + (Resources): Clarify meaning of program name. + (Table of Resources): Add visualClass. + (GTK resources): Rewrite. + (GTK widget names, GTK Names in Emacs, GTK styles): Cleanups. + + * display.texi (Text Display): Mention non-breaking spaces. + + * files.texi (Reverting): Document auto-revert-check-vc-info. + + * frames.texi (Mouse Commands): Document + x-mouse-click-focus-ignore-position and mouse-drag-copy-region. + + * help.texi (Help Summary): Add `C-h .'. + (Apropos): Apropos accepts a list of search terms. + Document apropos-sort-by-scores. + (Help Echo): Document display-local-help. + + * misc.texi (Emacs Server): Document server-name. + (Invoking emacsclient): Document -s option for server names. + + * text.texi (Outline Visibility): Introduce "current heading + line" (commands can be called with point on a body line). + Re-order table to follow the sequence of discussion. + hide-body won't hide lines before first header line. + (TeX Mode): Add DocTeX mode. + +2005-03-24 Richard M. Stallman + + * mule.texi (Single-Byte Character Support): Delete mention + of iso-acc.el and iso-transl.el. + +2005-03-23 Lute Kamstra + + * search.texi (Non-ASCII Isearch): Rename from Non-Ascii Isearch. + +2005-03-23 Richard M. Stallman + + * search.texi: Delete explicit node pointers. + (Incremental Search): New menu. + (Basic Isearch, Repeat Isearch, Error in Isearch) + (Non-Ascii Isearch, Isearch Yank, Highlight Isearch, Isearch Scroll) + (Slow Isearch): New subnodes. + (Configuring Scrolling): Node deleted. + (Search Case): Doc default-case-fold-search. + (Regexp Replace): Move replace-regexp doc here. + + * rmail.texi (Movemail): Put commas inside closequotes. + + * picture.texi (Insert in Picture): Document C-c arrow combos. + (Basic Picture): Clarify erasure. + + * display.texi (Font Lock): Put commas inside closequotes. + + * cmdargs.texi (General Variables): Put commas inside closequotes. + +2005-03-23 Nick Roberts + + * building.texi (Stack Buffer): Mention reverse contrast for + *selected* frame (might not be current frame). + +2005-03-21 Richard M. Stallman + + * building.texi (Starting GUD): Add bashdb. + +2005-03-20 Chong Yidong + + * basic.texi (Moving Point): Add M-g M-g binding. + (Undo): Document undo-only. + (Position Info): Document M-g M-g and C-u M-g M-g. + + * building.texi (Building): Put Grep Searching after Compilation + Shell. + (Compilation Mode): Document M-n, M-p, M-}, M-{, and C-c C-f bindings. + Document next-error-highlight. + (Grep Searching): Document grep-highlight-matches. + (Lisp Eval): Typing C-x C-e twice prints integers specially. + + * calendar.texi (Importing Diary): Rename node from iCalendar. + Document diary-from-outlook. + + * dired.texi (Misc Dired Features): Rename node from Misc Dired + Commands. + Mention effect of X drag and drop on Dired buffers. + + * files.texi (Visiting): Document large-file-warning-threshold. + Move paragraph on file-selection dialog. + Mention visiting files using X drag and drop. + (Reverting): Mention using Auto-Revert mode to tail files. + Document auto-revert-tail-mode. + (Version Systems): Minor correction. + (Comparing Files): Diff-mode is no longer based on Compilation + mode. + Document compare-ignore-whitespace. + (Misc File Ops): Explain passing a directory to rename-file. + Likewise for copy-file and make-symbolic-link. + + * frames.texi (Wheeled Mice): Mouse wheel support on by default. + Document mouse-wheel-progressive speed. + + * help.texi (Misc Help): Document numeric argument for C-h i. + Correctly explain the effect of just C-u as argument. + + * killing.texi (Deletion): Document numeric argument for + just-one-space. + + * mini.texi (Completion): Completion acts on text before point. + + * misc.texi (Saving Emacs Sessions): Document desktop-restore-eager. + (Emulation): CUA mode replaces pc-bindings-mode, + pc-selection-mode, and s-region. + + * mule.texi (Input Methods): Leim is now built-in. + (Select Input Method): Document quail-show-key. + (Specify Coding): Document revert-buffer-with-coding-system. + + * programs.texi (Fortran Motion): Document f90-next-statement, + f90-previous-statement, f90-next-block, f90-previous-block, + f90-end-of-block, and f90-beginning-of-block. + + * text.texi (Format Faces): Replace old M-g key prefix with M-o. + + * emacs.texi (Acknowledgments): Updated. + + * anti.texi: Total rewrite. + +2005-03-19 Chong Yidong + + * ack.texi (Acknowledgments): Update. + +2005-03-19 Eli Zaretskii + + * anti.texi (Antinews): Refer to Emacs 21.4, not 21.3. Update + copyright years. + +2005-03-14 Nick Roberts + + * building.texi (Commands of GUD): Move paragraph on setting + breakpoints with mouse to the GDB Graphical Interface node. + +2005-03-07 Richard M. Stallman + + * misc.texi (Single Shell, Shell Options): Fix previous change. + + * building.texi (Debugger Operation): Update GUD tooltip enable info. + +2005-03-06 Richard M. Stallman + + * building.texi (Starting GUD): Don't explain text vs graphical + GDB here. Just mention it and xref. + Delete "just one debugger process". + (Debugger Operation): Move GUD tooltip info here. + (GUD Tooltips): Node deleted. + (GDB Graphical Interface): Explain the two GDB modes here. + + * sending.texi (Sending Mail): Minor cleanup. + (Mail Aliases): Explain quoting conventions. + Update key rebinding example. + (Header Editing): C-M-i is like M-TAB. + (Mail Mode Misc): mail-attach-file does not do MIME. + + * rmail.texi (Rmail Inbox): Move text from Remote Mailboxes + that really belongs here. + (Remote Mailboxes): Text moved to Rmail Inbox. + (Rmail Display): Mention Mouse-1. + (Movemail): Clarify two movemail versions. + Clarify rmail-movemail-program. + + * misc.texi (Single Shell): Replace uudecode example with gpg example. + Document async shell commands. + (Shell History): Clarify. + (Shell Ring): Mention C-UP an C-DOWN. + (Shell Options): Add comint-prompt-read-only. + (Invoking emacsclient): Set EDITOR to run Emacs. + (Sorting): No need to explain what region is. + (Saving Emacs Sessions): Fix typo. + (Recursive Edit): Fix punctuation. + (Emulation): Don't mention "PC bindings" which are standard. + (Hyperlinking): Explain Mouse-1 convention here. + (Find Func): Node deleted. + + * help.texi (Name Help): Xref to Hyperlinking. + + * glossary.texi (Glossary): + Rename "Balance Parentheses" to "Balancing...". + Add "Byte Compilation". Correct "Copyleft". + New xref in "Customization". + Clarify "Current Line", "Echoing", "Fringe", "Frame", "Speedbar". + Add "Graphical Terminal" "Keybinding", "Margin", "Window System". + Rename "Registers" to "Register". + Replace "Selecting" with "Selected Frame", + "Selected Window", and "Selecting a Buffer". + + * files.texi (Types of Log File): Explain how projects' + methods can vary. + + * display.texi (Faces): Delete "Emacs 21". + + * custom.texi (Changing a Variable): C-M-i like M-TAB. + * fixit.texi (Spelling): C-M-i like M-TAB. + * mini.texi (Completion Options): C-M-i like M-TAB. + * programs.texi (Symbol Completion): C-M-i like M-TAB. + * text.texi (Text Mode): C-M-i like M-TAB. + + * commands.texi (Keys): Mention F1 and F2 in list of prefixes. + + * calendar.texi (Specified Dates): Mention `g w'. + (Appointments): appt-activate toggles with no arg. + +2005-03-05 Juri Linkov + + * cmdargs.texi (Emacs Invocation): Add cindex + "invocation (command line arguments)" + (Misc X): Add -nbc, --no-blinking-cursor. + +2005-03-04 Ulf Jasper + + * calendar.texi (iCalendar): No need to require it now. + +2005-03-03 Nick Roberts + + * trouble.texi (Contributing): Mention Savannah. Direct users to + emacs-devel. + +2005-03-01 Glenn Morris + + * calendar.texi (Adding to Diary): Mention redrawing of calendar + window. + +2005-02-27 Richard M. Stallman + + * building.texi (Compilation): Update mode line status info. + +2005-02-27 Matt Hodges + + * calendar.texi (General Calendar): Document binding of + scroll-other-window-down. + (Mayan Calendar): Fix earliest date. + (Time Intervals): Document timeclock-change. + Fix timeclock-ask-before-exiting documentation. + +2005-02-26 Kim F. Storm + + * frames.texi (Mouse References): + Add mouse-1-click-in-non-selected-windows. + +2005-02-25 Richard M. Stallman + + * screen.texi (Screen): Explain better about cursors and mode lines; + don't presuppose text terminals. + (Point): Don't assume just one cursor. + Clarify explanation of cursors. + (Echo Area, Menu Bar): Cleanups. + + * mini.texi (Minibuffer): Prompts are highlighted. + (Minibuffer Edit): Newline = C-j only on text terminals. + Clarify resize-mini-windows values. + Mention M-PAGEUP and M-PAGEDOWN. + (Completion Commands): Mouse-1 like Mouse-2. + (Minibuffer History): Explain history commands better. + (Repetition): Add xref to Incremental Search. + + * mark.texi (Setting Mark): Clarify info about displaying mark. + Clarify explanation of C-@ and C-SPC. + (Transient Mark): Mention Delete Selection mode. + (Marking Objects): Clean up text about extending the region. + + * m-x.texi (M-x): One C-g doesn't always go to top level. + No delay before suggest-key-bindings output. + + * fixit.texi (Fixit): Mention C-/ for undo. + (Spelling): Mention ESC TAB like M-TAB. + Replacement words with r and R are rechecked. + Say where C-g leaves point. Mention ? as input. + +2005-02-23 Lute Kamstra + + * cmdargs.texi (Initial Options): Add cross reference. + +2005-02-16 Luc Teirlinck + + * emacs.texi (Top): Update menu for splitting of node in + msdog.texi. + * frames.texi (Frames): Update xref for splitting of node in + msdog.texi. + * trouble.texi (Quitting): Ditto. + +2005-02-16 Richard M. Stallman + + * windows.texi (Split Window): Simplify line truncation info + and xref to Display Custom. + + * trouble.texi (Quitting): Emergency escape only for text terminal. + (Screen Garbled): C-l for ungarbling is only for text terminal. + + * text.texi (Text Mode): ESC TAB alternative for M-TAB. + + * sending.texi (Header Editing): ESC TAB alternative for M-TAB. + + * programs.texi (Program Modes): Mention Python mode. + (Moving by Defuns): Repeating C-M-h extends region. + (Basic Indent): Clarify. + (Custom C Indent): Clarify. + (Expressions): Repeating C-M-@ extends region. + (Info Lookup): Clarify for C-h S. + (Symbol Completion): ESC TAB alternative for M-TAB. + (Electric C): Clarify. + + * emacs.texi (Top): Update display.texi and frames.texi submenu data. + + * msdog.texi (MS-DOS Keyboard, MS-DOS Mouse): Split from + MS-DOS Input node. + (MS-DOS Keyboard): Start with explaining DEL and BREAK. + (MS-DOS and MULE): Clarify. + (MS-DOS Processes, Windows Processes): Fix typos. + + * major.texi (Choosing Modes): Clarify. + + * kmacro.texi (Basic Keyboard Macro): Doc F3, F4. + (Keyboard Macro Step-Edit): Clarify. + + * indent.texi (Indentation): Clarifications. + + * help.texi (Help): Correct error about C-h in query-replace. + Clarify apropos vs C-h a. Fix how to search in FAQ. + (Key Help): Describe C-h w here. + (Name Help): Minor cleanup. C-h w moved to Key Help. + Clarify the "object" joke. + (Apropos): Clarify. Mouse-1 like Mouse-2. + (Help Mode): Mouse-1 like Mouse-2. + + * fixit.texi (Spelling): Mention ESC TAB as alt. for M-TAB. + + * display.texi (Display): Reorder menu. + (Faces): Cleanup. + (Font Lock): Cleanup. Mention Options menu. + Delete obsolete text. + (Scrolling): For C-l, don't presume text terminal. + (Horizontal Scrolling): Simplify intro. + (Follow Mode): Clarify. + (Cursor Display): Moved before Display Custom. + (Display Custom): Explain no-redraw-on-reenter is for text terminals. + Doc default-tab-width. Doc line truncation more thoroughly. + + * dired.texi (Dired Enter): C-x C-f can run Dired. + (Dired Visiting): Comment out `a' command. + Mouse-1 is like Mouse-2. + (Shell Commands in Dired): ? can be used more than once. + + * basic.texi (Continuation Lines): Simplify description of truncation, + and refer to Display Custom for the rest of it. + +2005-02-06 Lute Kamstra + + * basic.texi (Undo): Fix typo. + + * cmdargs.texi (Emacs Invocation): Fix typo. + + * custom.texi (Init Examples): Fix typo. + + * abbrevs.texi (Expanding Abbrevs): Fix typo. + +2005-02-06 Richard M. Stallman + + * regs.texi (Registers): Registers can hold numbers, too. + + * killing.texi (Other Kill Commands): Cleanup. + Delete redundant explanation of kill in read-only buffer. + (Yanking): Mention term "copying". + (Accumulating Text): Fix typo. + + * entering.texi (Entering Emacs): Update rationale at start. + (Exiting): Treat iconifying on a par with suspension. + + * custom.texi (Minor Modes): Fix typo. + (Easy Customization): Fix menu style. + (Variables): Add xref. + (Examining): Setting for future sessions works through .emacs. + (Keymaps): "Text terminals", not "Many". + (Init Rebinding): Explain \C-. Show example of \M-. + Fix minor wording errors. + (Function Keys): Explain vector syntax just once. + (Named ASCII Chars): Clarify history of TAB/C-i connection. + (Init File): Mention .emacs.d directory. + (Init Examples): Add xref. + (Find Init): Mention .emacs.d directory. + + * cmdargs.texi (Emacs Invocation): +LINENUM is also an option. + (Action Arguments): Explain which kinds of -l args are found how. + (Initial Options): --batch does not inhibit site-start. + Add xrefs. + (Command Example): Use --batch, not -batch. + + * basic.texi (Inserting Text): Cleanup wording. + (Moving Point): Doc PRIOR, PAGEUP, NEXT, PAGEDOWN more systematically. + C-n is not error at end of buffer. + (Undo): Doc C-/ like C-_. Add xrefs. + (Arguments): META key may be labeled ALT. + Peculiar arg meanings are explained in doc strings. + + * abbrevs.texi (Expanding Abbrevs): Clarify. + +2005-02-05 Eli Zaretskii + + * frames.texi (Frame Parameters): Add an xref to the description + of list-colors-display. Add a pointer to the X docs about colors. + + * cmdargs.texi (Colors): Mention 16-, 88- and 256-color modes. + Impove docs of list-colors-display. + +2005-02-03 Lute Kamstra + + * frames.texi (Frames, Drag and Drop): Fix typos. + +2005-02-03 Richard M. Stallman + + * windows.texi (Basic Window): Mention color-change in mode line. + (Change Window): Explain dragging vertical boundaries. + + * text.texi (Sentences): Clarify. + (Paragraphs): Explain M-a and blank lines. + (Outline Mode): Clarify text and menu. + (Hard and Soft Newlines): Mention use-hard-newlines. + + * frames.texi (Frames): Delete unnecessary mention of Windows. + (Mouse Commands): Likewise. Mention xterm mouse support. + (Clipboard): Clarify. + (Mouse References): Mention use of Mouse-1 for following links. + (Menu Mouse Clicks): Clarify. + (Mode Line Mouse): Clarify. + (Drag and Drop): Rewrite. + + * fixit.texi (Spelling): Fix typo. + + * files.texi (File Names): Clarify. + (Visiting): Update conditions for use of file dialog. Clarify. + (Saving): Doc d as answer in save-some-buffers. + (Remote Files): Clean up the text. + + * dired.texi (Misc Dired Commands): Delete dired-marked-files. + + * buffers.texi (Select Buffer): Doc next-buffer and prev-buffer. + (List Buffers): Clarify. + (Several Buffers): Doc T command. + (Buffer Convenience): Clarify menu. + + * basic.texi (Undo): Clarify last change. + +2005-02-02 Matt Hodges + + * fixit.texi (Spelling): Fix typo. + +2005-02-01 Luc Teirlinck + + * basic.texi (Undo): Update description of `undo-outer-limit'. + +2005-02-01 Nick Roberts + + * building.texi: Update documentation relating to GDB Graphical + Interface. + +2005-01-30 Luc Teirlinck + + * custom.texi (Easy Customization): Adapt menu to node name change. + +2005-01-30 Richard M. Stallman + + * custom.texi (Easy Customization): Defn of "User Option" now + includes faces. Don't say just "option" when talking about variables. + Do say just "options" to mean "anything customizable". + (Specific Customization): Describe `customize-variable', + not `customize-option'. + + * glossary.texi (Glossary) : Add xref. + : Change definition--include faces. Change xref. + + * picture.texi (Picture): Mention artist.el. + + * sending.texi, screen.texi, programs.texi, misc.texi: + * mini.texi, major.texi, maintaining.texi, macos.texi: + * help.texi, frames.texi, files.texi: + Don't say just "option" when talking about variables. + + * display.texi, mule.texi: Don't say just "option" when talking + about variables. Other minor cleanups. + +2005-01-26 Lute Kamstra + + * cmdargs.texi (Initial Options): Add a cross reference to `Init + File'. Mention the `-Q' option at the `--no-site-file' option. + +2005-01-22 David Kastrup + + * building.texi (Grep Searching): Mention alias `find-grep' for + `grep-find'. + +2005-01-20 Richard M. Stallman + + * calendar.texi (Time Intervals): Delete special stuff for MS-DOS. + +2005-01-15 Sergey Poznyakoff + + * rmail.texi (Movemail): Explain differences + between standard and mailutils versions of movemail. + Describe command line and configuration options introduced + with the latter. + Explain the notion of mailbox URL, provide examples and + cross-references to mailutils documentation. + Describe various methods of specifying mailbox names, + user names and user passwords for rmail. + (Remote Mailboxes): New section. Describe + how movemail handles remote mailboxes. Describe configuration + options used to control its behavior. + (Other Mailbox Formats): Explain handling of various mailbox + formats. + +2005-01-13 Richard M. Stallman + + * commands.texi (Commands): Clarification. + +2005-01-11 Richard M. Stallman + + * programs.texi (Multi-line Indent): Fix previous change. + (Fortran Autofill): Simplify description of fortran-auto-fill-mode. + +2005-01-08 Richard M. Stallman + + * display.texi (Faces): isearch-lazy-highlight-face renamed to + lazy-highlight. + + * search.texi (Query Replace): Mention faces query-replace + and lazy-highlight. + (Incremental Search): Update isearch highlighting info. + +2005-01-04 Richard M. Stallman + + * custom.texi (Saving Customizations): Minor improvement. + +2005-01-03 Luc Teirlinck + + * custom.texi (Saving Customizations): Emacs no longer loads + `custom-file' after .emacs. No longer mention customizing through + Custom. + +2005-01-01 Andreas Schwab + + * killing.texi (Graphical Kill): Move up under node Killing, + change @section to @subsection. + +2005-01-01 Richard M. Stallman + + * custom.texi (Face Customization): Mention hex color specs. + + * emacs.texi (Top): Update Killing submenu. + + * killing.texi (Killing): Reorganize section. + No more TeX-only text; put the node command at start of chapter. + But the first section heading is used only in TeX. + Rewrite the text to read better in this mode. + (Graphical Kill): New subnode gets some of the text that + used to be in the first section. + +2004-12-31 Richard M. Stallman + + * dired.texi (Shell Commands in Dired): Delete the ? example. + + * display.texi (Scrolling): Correct scroll-preserve-screen-position. + + * files.texi (Saving): Describe new require-final-newline features + and mode-require-final-newline. + +2004-12-29 Richard M. Stallman + + * custom.texi (File Variables): Clarify previous change. + +2004-12-27 Jan Dj,Ad(Brv + + * frames.texi (Dialog Boxes): Mention Gtk+ 2.6 also, as that version is + out now. + +2004-12-27 Richard M. Stallman + + * Makefile.in (MAKEINFO): Specify --force. + + * basic.texi (Moving Point): C-e now runs move-end-of-line. + (Undo): Doc undo-outer-limit. + +2004-12-15 Juri Linkov + + * mark.texi (Transient Mark, Mark Ring): M-< and other + movement commands don't set mark in Transient Mark mode + if mark is active. + +2004-12-12 Juri Linkov + + * misc.texi (FFAP): Add C-x C-r, C-x C-v, C-x C-d, + C-x 4 r, C-x 4 d, C-x 5 r, C-x 5 d. + + * dired.texi (Dired Navigation): Add @r{(Dired)} to M-g. + (Misc Dired Commands): Add @r{(Dired)} to w. + +2004-12-12 Juri Linkov + + * mark.texi (Marking Objects): Marking commands also extend the + region when mark is active in Transient Mark mode. + +2004-12-08 Luc Teirlinck + + * custom.texi (Saving Customizations): Emacs only loads the custom + file automatically after the init file in version 22.1 or later. + Adapt text and examples to this fact. + +2004-12-07 Luc Teirlinck + + * frames.texi (Scroll Bars): The option `scroll-bar-mode' has to + be set through Custom. Otherwise, it has no effect. + +2004-12-05 Richard M. Stallman + + * cmdargs.texi, doclicense.texi, xresources.texi, emacs.texi: + * entering.texi: Rename Command Line to Emacs Invocation. + + * misc.texi (Term Mode): Correcty describe C-c. + + * custom.texi (Easy Customization): Move up to section level, + before Variables. Avoid using the term "variable"; say "option". + New initial explanation. + (Variables): In initial explanation, connect "variable" to the + already-explained "user option". + + * emacs.texi (Top): Fix ref to Command Line. + Move reference to Easy Customization. + + * xresources.texi (X Resources): Fix From link. + + * doclicense.texi (GNU Free Documentation License): Fix To link. + + * entering.texi (Entering Emacs): Fix xref, now to Command Line. + + * cmdargs.texi (Command Line): Node renamed from Command Arguments. + +2004-12-03 Richard M. Stallman + + * cmdargs.texi (Initial Options): Clarify batch mode i/o. + +2004-12-01 Luc Teirlinck + + * kmacro.texi: Several small changes in addition to the following. + (Keyboard Macro Ring): Describe behavior of `C-x C-k C-k' when + defining a keyboard macro. + Mention `kmacro-ring-max'. + (Keyboard Macro Counter): Clarify description of + `kmacro-insert-counter', `kmacro-set-counter', + `kmacro-add-counter' and `kmacro-set-format'. + +2004-11-29 Reiner Steib + + * custom.texi (File Variables): Add `unibyte' and make it more + clear that `unibyte' and `coding' are special. Suggested by Simon + Krahnke . + + * mule.texi (Enabling Multibyte): Refer to File Variables. + Suggested by Simon Krahnke . + +2004-11-26 Jan Dj,Ad(Brv + + * frames.texi (Dialog Boxes): Rename use-old-gtk-file-dialog to + x-use-old-gtk-file-dialog. + +2004-11-20 Richard M. Stallman + + * text.texi (Fill Prefix): M-q doesn't apply fill prefix to first line. + +2004-11-09 Lars Brinkhoff + + * building.texi (Lisp Eval): Delete hyphen in section name. + +2004-11-19 Thien-Thi Nguyen + + * files.texi (Old Versions): + No longer document annotation as "CVS only". + +2004-11-10 Andre Spiegel + + * files.texi (Version Control): Rewrite the introduction about + version systems, mentioning the new ones that we support. Thanks + to Alex Ott, Karl Fogel, Stefan Monnier, and David Kastrup for + suggestions. + +2004-11-03 Jan Dj,Ad(Brv + + * frames.texi (Dialog Boxes): Replace non-nil with non-@code{nil}. + +2004-11-02 Jan Dj,Ad(Brv + + * frames.texi (Dialog Boxes): Document use-old-gtk-file-dialog. + +2004-10-23 Eli Zaretskii + + * text.texi (Text Based Tables, Table Definition) + (Table Creation, Table Recognition, Cell Commands) + (Cell Justification, Row Commands, Column Commands) + (Fixed Width Mode, Table Conversion, Measuring Tables) + (Table Misc): New nodes, documenting the Table Mode. + +2004-10-19 Jason Rumney + + * makefile.w32-in (info): Change order of arguments to makeinfo. + +2004-10-19 Ulf Jasper + + * calendar.texi (iCalendar): Update for package changes. + +2004-10-09 Luc Teirlinck + + * files.texi (Misc File Ops): View mode is a minor mode. + +2004-10-08 Glenn Morris + + * calendar.texi (iCalendar): Style changes. + +2004-10-07 Luc Teirlinck + + * search.texi (Regexps): The regexp described in the example is no + longer stored in the variable `sentence-end'. + +2004-10-06 Nick Roberts + + * building.texi (Starting GUD): Note that multiple debugging + sessions requires `gdb --fullname'. + +2004-10-05 Ulf Jasper + + * calendar.texi (iCalendar): New section for a new package. + +2004-10-05 Luc Teirlinck + + * text.texi: Various small changes in addition to the following. + (Text): Replace xref for autotype with inforef. + (Sentences): Explain nil value for `sentence-end'. + (Paragraphs): Update default values for `paragraph-start' and + `paragraph-separate'. + (Text Mode): Correct description of Text mode's effect on the + syntax table. + (Outline Visibility): `hide-other' does not hide top level headings. + `selective-display-ellipses' no longer has an effect on Outline mode. + (TeX Misc): Add missing @cindex. + Replace xref for RefTeX with inforef. + (Requesting Formatted Text): The variable + `enriched-fill-after-visiting' no longer exists. + (Editing Format Info): Update names of menu items and commands. + (Format Faces): Mention special effect of specifying the default face. + Describe inheritance of text properties. + Correct description of `fixed' face. + (Format Indentation): Correct description of effect of setting + margins. Mention `set-left-margin' and `set-right-margin'. + (Format Justification): Update names of menu items. + `set-justification-full' is now bound to `M-j b'. + Mention that `default-justification' is a per buffer variable. + (Format Properties): Update name of menu item. + (Forcing Enriched Mode): `format-decode-buffer' automatically + turns on Enriched mode if the buffer is in text/enriched format. + +2004-10-05 Emilio C. Lopes + + * calendar.texi (From Other Calendar): Add calendar-goto-iso-week. + +2004-09-28 Kim F. Storm + + * display.texi (Display Custom) : + Align with new functionality. + +2004-09-22 Luc Teirlinck + + * display.texi (Display Custom): Remove stray `@end defvar'. + +2004-09-23 Kim F. Storm + + * display.texi (Display Custom): Add `overflow-newline-into-fringe', + `indicate-buffer-boundaries' and `default-indicate-buffer-boundaries'. + +2004-09-20 Richard M. Stallman + + * custom.texi (Hooks): Explain using setq to clear out a hook. + (File Variables): Explain multiline string constants. + (Non-ASCII Rebinding): Explain when you need to update + non-ASCII char codes in .emacs. + + * building.texi (Compilation): Explain how to make a silent + subprocess that won't be terminated. Explain compilation-environment. + +2004-09-13 Kim F. Storm + + * mini.texi (Repetition): Rename isearch-resume-enabled to + isearch-resume-in-command-history and change default to disabled. + +2004-09-09 Kim F. Storm + + * kmacro.texi (Save Keyboard Macro): Replace `name-last-kbd-macro' + with new `kmacro-name-last-macro'. + +2004-09-08 Juri Linkov + + * mini.texi (Minibuffer History): Add `history-delete-duplicates'. + +2004-09-03 Juri Linkov + + * search.texi (Incremental Search): Update wording for M-%. + +2004-09-02 Luc Teirlinck + + * killing.texi (Killing): Correct description of kill commands in + read-only buffer. + +2004-09-02 Teodor Zlatanov + + * building.texi (Compilation Mode): Add a paragraph about rules + for finding the compilation buffer for `next-error'. + + * search.texi (Other Repeating Search): Mention that Occur mode + supports the next-error functionality. + +2004-09-02 Juri Linkov + + * search.texi (Regexp Replace): Add missing backslash to \footnote. + +2004-08-31 Luc Teirlinck + + * kmacro.texi (Basic Keyboard Macro): + `apply-macro-to-region-lines' now operates on all lines that begin + in the region, rather than on all complete lines in the region. + +2004-08-31 Jan Dj,Ad(Brv + + * frames.texi (Drag and drop): Add documentation about + x-dnd-test-function and x-dnd-known-types. + +2004-08-30 Luc Teirlinck + + * indent.texi: Various minor changes in addition to: + (Indentation Commands): Correct description of `indent-relative'. + (Tab Stops): is no longer bound to `tab-to-tab-stop' in Text + mode. The *Tab Stops* buffer uses Overwrite Mode. + (Just Spaces): `tabify' converts sequences of at least two spaces + to tabs. + +2004-08-27 Luc Teirlinck + + * frames.texi (Secondary Selection): Setting the secondary + selection with M-Drag-Mouse-1 does not alter the kill ring, + setting it with M-Mouse-1 and M-Mouse-3 does. + (Mode Line Mouse): C-Mouse-2 on scroll bar now also works for + toolkit scroll bars. + (Scroll Bars): Ditto. + + * windows.texi (Basic Window): When using a window system, the value + of point in a non-selected window is indicated by a hollow box. + (Split Window): Side by side windows are separated by a scroll bar, + if scroll bars are used. + C-Mouse-2 on scroll bar now also works for toolkit scroll bars. + (Change Window): Correct Mouse-2 vs Mouse-3 mess-up. + (Window Convenience): Update bindings for `winner-undo' and + `winner-redo'. + + * ack.texi (Acknowledgments): Use `@unnumbered'. + * misc.texi : Adapt sectioning in Info to the node structure. + (Invoking emacsclient): Make "Invoking emacsclient" a subsection + of "Using Emacs as a Server". + * building.texi (Building): Interchange nodes (for correct numbering). + * programs.texi (Programs): Interchange nodes (for correct numbering). + * killing.texi, entering.texi, commands.texi: Adapt sectioning in + Info to the node structure. + * emacs.texi: Make "GNU GENERAL PUBLIC LICENSE" an appendix. + Rearrange order of nodes and sections such that both "GNU GENERAL + PUBLIC LICENSE" and "GNU Free Documentation License" appear at the + end, as appropriate for appendices. + (Acknowledgments): Put inside @iftex instead of @ifnotinfo. + Use `@unnumberedsec'. + * trouble.texi: Adapt sectioning in Info to the node structure. + Adapt node pointers to change in emacs.texi. + * cmdargs.texi, doclicense.texi: Adapt node pointers. + +2004-08-25 Kenichi Handa + + * custom.texi (Non-ASCII Rebinding): Fix and simplify the + description for unibyte mode. + +2004-08-23 Luc Teirlinck + + * display.texi (Font Lock): Correct invalid (for hardcopy) @xref. + + * search.texi (Regexps): Correct cryptic (in hardcopy) @ref. + (Configuring Scrolling): Correct invalid (for hardcopy) @xref. + (Regexp Replace): Standardize reference to hardcopy Elisp Manual + in @pxref. + +2004-08-22 Luc Teirlinck + + * kmacro.texi (Keyboard Macro Counter, Keyboard Macro Step-Edit): + Change section names. + +2004-08-21 Luc Teirlinck + + * kmacro.texi (Keyboard Macro Ring): Rename section. + Emacs treats the head of the macro ring as the `last keyboard macro'. + (Keyboard Macro Counter): Minor change. + (Save Keyboard Macro): Some clarifications. + (Edit Keyboard Macro): Rename section. + + * buffers.texi (Buffers): Maximum buffer size is now 256M on + 32-bit machines. + (Several Buffers): Clarify which buffer is selected if `2' is + pressed in the Buffer Menu. + Auto Revert mode can be used to update the Buffer Menu + automatically. + +2004-08-21 Eli Zaretskii + + * help.texi (Misc Help): Add an index entry for finding an Info + manual by its file name. + +2004-08-20 Luc Teirlinck + + * files.texi (Backup Deletion): Correct description of + `delete-old-versions'. + (Time Stamps): `time-stamp' needs to be added to `before-save-hook'. + (Auto Save Files): Recommend `auto-save-mode' to reenable + auto-saving, rather than the abbreviation `auto-save'. + +2004-08-17 Luc Teirlinck + + * emacs.texi (Top): Mention "cutting" and "pasting" as synonyms + for "killing" and "yanking" in main menu. + +2004-08-16 Richard M. Stallman + + * killing.texi (Yanking, Killing): Minor cleanups. + + * mark.texi (Momentary Mark): Minor cleanups. + +2004-08-15 Kenichi Handa + + * custom.texi (Non-ASCII Rebinding): + C-q always inserts the right code to pass to global-set-key. + +2004-08-13 Luc Teirlinck + + * regs.texi (RegNumbers): Mention `C-x r i' binding for + `insert-register', instead of `C-x r g' binding, for consistency. + +2004-08-12 Luc Teirlinck + + * fixit.texi (Spelling): Fix typo. + +2004-08-11 Luc Teirlinck + + * help.texi (Help): Fix Texinfo usage. + +2004-07-24 Richard M. Stallman + + * text.texi (Paragraphs): Update how paragraphs are separated + and the default for paragraph-separate. + + * search.texi (Regexp Replace): Further update text for new + replacement operators. + +2004-07-18 Luc Teirlinck + + * emacs-xtra.texi (Subdir switches): Dired does not remember the + `R' switch. + + * dired.texi (Dired Updating): `k' only deletes inserted + subdirectories from the Dired buffer if a prefix argument was given. + + * search.texi (Regexps): Delete redundant definition of `symbol' in + description of `\_>'. It already occurs in the description of `\_<'. + +2004-07-01 Juri Linkov + + * search.texi (Incremental Search): Add C-M-w, C-M-y, M-%, C-M-%, M-e. + (Regexp Search): Add M-r. + +2004-06-30 Luc Teirlinck + + * makefile.w32-in (EMACSSOURCES): Remove emacs-xtra. + +2004-06-29 Jesper Harder + + * search.texi, calendar.texi: Markup fixes. + +2004-06-25 Richard M. Stallman + + * search.texi (Regexp Replace): Rewrite description of \# \, and \?. + +2004-06-25 David Kastrup + + * search.texi (Regexp Replace): Some typo corrections and + rearrangement. + +2004-06-24 David Kastrup + + * search.texi (Unconditional Replace): Use replace-string instead + of query-replace in example. + (Regexp Replace): Add explanations for `\,', `\#' and `\?' + sequences. + (Query Replace): Correct explanation of `^' which does not use + the mark stack. + +2004-06-21 Nick Roberts + + * misc.texi (Shell History Copying): Document comint-insert-input. + (Shell Ring): Describe comint-dynamic-list-input-ring here. + +2004-06-20 Jesper Harder + + * msdog.texi (Text and Binary, MS-DOS Printing): Use m-dash. + * custom.texi (Customization): Do. + * anti.texi (Antinews): Do. + * abbrevs.texi (Defining Abbrevs): Do. + + * programs.texi (Info Lookup): Fix keybinding for + info-lookup-symbol. + +2004-06-16 Juanma Barranquero + + * makefile.w32-in (INFO_TARGETS, DVI_TARGETS, EMACSSOURCES): + Add emacs-xtra. + ($(infodir)/emacs-xtra, emacs-xtra.dvi): New dependencies. + (clean): Add emacs-xtra and flymake. Remove redundancies. + +2004-06-15 Luc Teirlinck + + * Makefile.in (INFO_TARGETS, DVI_TARGETS, ../info/emacs-xtra): + Add emacs-xtra. + * emacs-xtra.texi: New file. + +2004-06-14 Luc Teirlinck + + * dired.texi (Dired Enter): Mention conditions on `ls' switches. + (Dired and Find): Mention differences with ordinary Dired buffers. + +2004-06-13 Richard M. Stallman + + * custom.texi (Init Syntax): Explain about vars that do special + things when set with setq or with Custom. + (Init Examples): Add line-number-mode example. + +2004-06-12 Juri Linkov + + * dired.texi (Operating on Files): Add dired-do-touch. + +2004-06-10 Juri Linkov + + * building.texi (Lisp Eval): Add C-M-x on defface. + +2004-06-08 Luc Teirlinck + + * files.texi (Reverting): Auto-Revert mode and + Global Auto-Revert mode no longer revert remote files. + +2004-05-29 Richard M. Stallman + + * custom.texi (Init File): Two dashes start --no-site-file. + +2004-05-29 Alan Mackenzie + + * programs.texi: Update for CC Mode 5.30 and incidental amendments. + ("AWK"): Is consistently thus spelt throughout. + (AWK, Pike): Document as "C-like modes". + (@kbd{M-j}): Document as alternative to @kbd{C-M-j}. + (M-x man): Supersedes M-x manual-entry. + Add numerous index entries. Correct "ESC a/e" to "M-a/e". + + ("Comments in C"): Delete node; the info is in CC Mode manual. + (c-comment-only-line-offset): Remove description. + + (C-c ., C-c C-c): Describe new C Mode bindings. + + (C-u TAB, indent-code-rigidly, c-indent-exp, c-tab-always-indent) + (@dfn{Style}, c-default-style, comment-column, comment-padding) + (c-up-conditional, c-beginning-of-statement, c-end-of-statement): + Amend definitions. + + (c-beginning-of-defun, c-end-of-defun, c-context-line-break): + Describe functions. + + (c-comment-start-regexp, c-hanging-comment-ender-p) + (c-hanging-comment-starter-p): Remove obsolete definitions. + + * emacs.texi: Remove the menu entry "Comments in C". + +2004-05-27 Luc Teirlinck + + * dired.texi (Dired and Find): `find-ls-option' does not apply to + `M-x locate'. + +2004-05-16 Karl Berry + + * emacs.texi (ack.texi) [@ifnottex]: Change condition; with @ifinfo, + makeinfo --html fails. + * help.texi (Help Summary) [@ifnottex]: Likewise. + +2004-05-13 Nick Roberts + + * building.texi (GDB Graphical Interface): Update and describe + layout first. + +2004-05-04 Jason Rumney + + * makefile.w32-in: Revert last change. + +2004-05-03 Jason Rumney + + * makefile.w32-in (MULTI_INSTALL_INFO, ENVADD): Use forward slashes. + +2004-04-23 Juanma Barranquero + + * makefile.w32-in: Add "-*- makefile -*-" mode tag. + +2004-04-18 Juri Linkov + + * fixit.texi (Spelling): Remove file extension from ispell xref. + +2004-04-15 Kim F. Storm + + * cmdargs.texi (Initial Options): Add -Q. + +2004-04-05 Kim F. Storm + + * custom.texi (File Variables): Add safe-local-eval-forms. + +2004-04-02 Luc Teirlinck + + * files.texi (Reverting): Correct description of revert-buffer's + handling of point. + +2004-03-22 Juri Linkov + + * emacs.texi (Top): Add `Misc X'. + + * trouble.texi: Fix help key bindings. + + * glossary.texi: Improve references. + + * help.texi: Sync keywords with finder.el. + + * mini.texi (Completion): Add description for menu items. + + * misc.texi (Browse-URL, FFAP): Add information about keywords. + + * sending.texi (Mail Methods): Fix xref to Message manual. + +2004-03-12 Richard M. Stallman + + * buffers.texi (Misc Buffer): Add index entry for rename-uniquely. + +2004-03-04 Richard M. Stallman + + * search.texi (Regexps): Explain that ^ and $ have their + special meanings only in certain contexts. + + * programs.texi (Expressions): Doc C-M-SPC as alias for C-M-@. + + * mule.texi (Specify Coding): Doc C-x RET F. + + * buffers.texi (Misc Buffer): Explain use of M-x rename-uniquely + for multiple compile and grep buffers. + (Indirect Buffers): Don't recommand clone-indirect-buffer + for multiple compile and grep buffers. + +2004-02-29 Juanma Barranquero + + * makefile.w32-in (mostlyclean, clean, maintainer-clean): + Use $(DEL) instead of rm, and ignore exit code. + +2004-02-23 Nick Roberts + + * building.texi (Watch Expressions): Update. + +2004-02-21 Juri Linkov + + * cmdargs.texi (Action Arguments): Add alias --find-file. Add + --directory, --help, --version. Move text about command-line-args + to Command Arguments. + (Initial Options): Add @cindex for --script. Fix @cindex for -q. + Add --no-desktop. Add alias --no-multibyte, --no-unibyte. + (Window Size X): Join -g and --geometry. Add @cindex. + (Borders X): Fix @cindex for -ib. Add @cindex for -bw. + (Title X): Remove alias -title. + (Misc X): New node. + +2004-02-15 Jan Dj,Ad(Brv + + * frames.texi (Drag and drop): Add Motif to list of supported + protocols. + +2004-02-03 Jan Dj,Ad(Brv + + * frames.texi (Drag and drop): New section. + +2004-01-24 Richard M. Stallman + + * emacs.texi (Acknowledgments): Renamed from Acknowledgements. + Include it only @ifnotinfo. Patch the preceding and following + node headers to point to each other. + +2004-01-11 Glenn Morris + + * calendar.texi (Appointments): Update section. + +2003-12-29 Kevin Ryde + + * programs.texi (C Modes): Fix the xref. + +2003-12-23 Nick Roberts + + * building.texi (Watch Expressions): Update. + (Commands of GUD): Include use of toolbar + breakpoints set from + fringe/margin. + +2003-12-03 Andre Spiegel + + * files.texi: Say how to disable VC. Suggested by Alan Mackenzie + . + +2003-11-29 Jan Dj,Ad(Brv + + * frames.texi (Dialog Boxes): Add use-file-dialog. + +2003-11-22 Martin Stjernholm + + * ack.texi: Note that Alan Mackenzie contributed the AWK support + in CC Mode. + +2003-11-02 Jesper Harder (tiny change) + + * man/ack.texi, man/basic.texi, man/cmdargs.texi: + * man/commands.texi, man/custom.texi, man/display.texi: + * man/emacs.texi, man/files.texi: + * man/frames.texi, man/glossary.texi, man/killing.texi: + * man/macos.texi, man/mark.texi, man/misc.texi, man/msdog.texi: + * man/mule.texi, man/rmail.texi, man/search.texi: + * man/sending.texi, man/text.texi, man/trouble.texi: + Replace @sc{ascii} and ASCII with @acronym{ASCII}. + +2003-11-01 Alan Mackenzie + + * search.texi (Scrolling During Incremental Search): Document a + new scrolling facility in isearch mode. + +2003-10-22 Miles Bader + + * Makefile.in (info): Move before $(top_srcdir)/info. + +2003-10-22 Nick Roberts + + * building.texi (Watch Expressions): Update section on data display + to reflect code changes (GDB Graphical Interface). + +2003-10-13 Richard M. Stallman + + * xresources.texi (GTK resources): Clean up previous change. + +2003-10-12 Jan Dj,Ad(Brv + + * xresources.texi (GTK resources): Add a note that some themes + disallow customizations. Add scroll theme example. + +2003-09-30 Richard M. Stallman + + * cmdargs.texi (General Variables): Remove MAILRC envvar. + + * misc.texi (Saving Emacs Sessions): Shorten the section, + collapsing back into one node. + +2003-09-30 Lars Hansen + + * misc.texi: Section "Saving Emacs Sessions" rewritten. + +2003-09-29 Jan Dj,Ad(Brv. + + * xresources.texi (GTK names in Emacs): Correct typo. + +2003-09-24 Luc Teirlinck + + * cmdargs.texi (Font X): Mention new default font. More + fully describe long font names, wildcard patterns and the + problems involved. (Result of discussion on emacs-devel.) + +2003-09-22 Luc Teirlinck + + * emacs.texi (Acknowledgements): Correct typo. + +2003-09-22 Richard M. Stallman + + * dired.texi (Misc Dired Commands): New node. + (Dired Navigation): Add dired-goto-file. + + * files.texi (File Aliases, Misc File Ops): Add @cindex entries. + + * emacs.texi (Acknowledgements): New node, split from Distribution. + + * cmdargs.texi (Action Arguments): -f reads interactive args. + +2003-09-08 Lute Kamstra + + * screen.texi (Mode Line): Say that POS comes before LINE. + Mention `size-indication-mode'. + * display.texi (Optional Mode Line): Document + `size-indication-mode'. + * basic.texi (Position Info): Mention `size-indication-mode'. + +2003-09-07 Luc Teirlinck + + * xresources.texi (Resources): Refer to `editres' man page. + (Lucid Resources): Update defaults. Expand description of + `shadowThickness'. + +2003-09-04 Miles Bader + + * Makefile.in (top_srcdir): New variable. + ($(top_srcdir)/info): New rule. + (info): Depend on it. + +2003-09-03 Peter Runestig + + * makefile.w32-in: New file. + +2003-08-29 Richard M. Stallman + + * misc.texi (Saving Emacs Sessions): Correct previous change. + +2003-08-19 Luc Teirlinck + + * emacs.texi (Top): Update menu to reflect new Keyboard Macros chapter. + (Intro): Include kmacro.texi after fixit.texi instead of after + custom.texi. (As suggested by Kim Storm.) + +2003-08-18 Luc Teirlinck + + * fixit.texi (Fixit): Update `Next' pointer. + * files.texi (Files): Update `Previous' pointer. + * kmacro.texi (Keyboard Macros): Remove redundant node and section. + * emacs.texi (Intro): Include kmacro.texi after custom.texi. + (Suggested by Kim Storm.) + * Makefile (EMACSSOURCES): Add kmacro.texi. (Suggested by Kim Storm.) + +2003-08-18 Kim F. Storm + + * kmacro.texi: New file describing enhanced keyboard macro + functionality. Replaces old description in custom.texi. + + * custom.texi (Customization): Add xref to Keyboard Macros chapter. + (Keyboard Macros): Move to new kmacro.texi file. + + * emacs.texi (Keyboard Macros): Reference new keyboard macro topics. + +2003-08-17 Edward M. Reingold + + * calendar.texi (Specified Dates): Add `calendar-goto-day-of-year'. + +2003-08-17 Alex Schroeder + + * misc.texi (Saving Emacs Sessions): Manual M-x desktop-save not + required. + +2003-08-05 Richard M. Stallman + + * programs.texi (Lisp Indent): Don't describe + lisp-indent-function property here. Use xref to Lisp Manual. + +2003-08-03 Glenn Morris + + * calendar.texi (Date Formats): Document changed behaviour of + abbreviations. + +2003-07-24 Markus Rost + + * buffers.texi (List Buffers): Fix previous change. + +2003-07-13 Markus Rost + + * buffers.texi (List Buffers): Adjust to new format of *Buffer + List*. + +2003-07-07 Luc Teirlinck + + * display.texi (Font Lock): Fix typo. + +2003-07-07 Richard M. Stallman + + * display.texi (Font Lock): Add xref for format info on + font-lock-remove-keywords. + + * building.texi (Compilation): Document what happens with asynch + children of compiler process. + + * help.texi (Library Keywords): Use @multitable. + +2003-06-04 Richard M. Stallman + + * programs.texi (Expressions): Delete C-M-DEL. + + * misc.texi (Shell Options): Clarify comint-scroll-show-maximum-output. + comint-move-point-for-output renamed from + comint-scroll-to-bottom-on-output. + + * custom.texi (Init Rebinding): Replace previous change with xref. + (Non-ASCII Rebinding): Explain that issue more briefly here. + +2003-05-28 Richard M. Stallman + + * indent.texi (Indentation): Condense, simplify, clarify prev change. + +2003-05-28 Nick Roberts + + * building.texi (GDB Graphical Interface): New node. + (Rewritten somewhat by RMS.) + +2003-05-28 Kai Gro,A_(Bjohann + + * custom.texi (Init Rebinding): Xref Non-ASCII Rebinding, for + non-English letters. Explain how to set coding systems correctly + and how to include the right coding cookie in the file. + +2003-05-22 Kai Gro,A_(Bjohann + + * indent.texi (Indentation): Explain the concepts. + (Just Spaces): Explain why preventing tabs for indentation might + be useful. + +2003-04-16 Richard M. Stallman + + * search.texi (Regexps): Ref to Lisp manual for more regexp features. + +2003-02-22 Alex Schroeder + + * cmdargs.texi (General Variables): Document SMTPSERVER. + + * sending.texi: Remove SMTP node. + (Mail Sending): Describe `send-mail-function'. Link to SMTP + library. + +2003-02-22 Alex Schroeder + + * sending.texi (Sending via SMTP): Explain MTA/MUA. + +2003-02-22 Simon Josefsson + + * sending.texi (Mail Methods): Add node about SMTP. + +2003-02-17 Jan Dj,Ad(Brv + + * xresources.texi (GTK names in Emacs): Add emacs-toolbar - GtkToolbar. + +2003-02-01 Kevin Ryde + + * glossary.texi (Glossary): Correction to cl cross reference. + +2003-01-20 Richard M. Stallman + + * killing.texi (Rectangles): Document C-x c r. + +2003-01-19 Jan Dj,Ad(Brv + + * xresources.texi (GTK resources): New node. + (GTK widget names): New node. + (GTK names in Emacs): New node. + (GTK styles): New node. + +2003-01-09 Francesco Potort,Al(B + + * maintaining.texi (Create Tags Table): Add reference to the new + `etags --help --lang=LANG' option. + +2002-10-02 Karl Berry + + * emacs.texi: Per rms, update all manuals to use @copying instead of + @ifinfo. Also use @ifnottex instead of @ifinfo around the top node, + where needed for the sake of the HTML output. + +2001-12-20 Eli Zaretskii + + * Makefile.in (EMACSSOURCES): Update the list of Emacs manual + source files. + +2001-11-16 Eli Zaretskii + + * Makefile.in (emacsman): New target. + +2001-10-20 Gerd Moellmann + + * (Version 21.1 released.) + +2001-10-05 Gerd Moellmann + + * Branch for 21.1. + +2001-03-05 Gerd Moellmann + + * Makefile.in (mostlyclean, maintainer-clean): Delete more files. + +2000-05-31 Stefan Monnier + + * .cvsignore (*.tmp): New entry. Seems to be used for @macro. + +1999-07-12 Richard Stallman + + * Version 20.4 released. + +1998-12-04 Markus Rost + + * Makefile.in (INFO_TARGETS): Delete customize.info. + (DVI_TARGETS): Delete customize.dvi. + (../info/customize, customize.dvi): Targets deleted. + +1998-08-19 Richard Stallman + + * Version 20.3 released. + +1998-05-06 Richard Stallman + + * Makefile.in (EMACSSOURCES): Add mule.texi. + Add msdog.texi, ack.texi. Remove gnu1.texi. + +1998-04-06 Andreas Schwab + + * Makefile.in (ENVADD): Enviroment vars to pass to texi2dvi. Use + it in dvi targets. + +1997-09-23 Paul Eggert + + * Makefile.in: Merge changes mistakenly made to `Makefile'. + (INFO_TARGETS): Change ../info/custom to ../info/customize. + (../info/customize): Rename from ../info/custom. + +1997-09-19 Richard Stallman + + * Version 20.2 released. + +1997-09-15 Richard Stallman + + * Version 20.1 released. + +1997-08-24 Richard Stallman + + * Makefile (../info/customize, customize.dvi): New targets. + (INFO_TARGETS): Add ../info/customize. + (DVI_TARGETS): Add customize.dvi. + +1996-08-11 Richard Stallman + + * Version 19.33 released. + +1996-07-31 Richard Stallman + + * Version 19.32 released. + +1996-06-20 Richard Stallman + + * Makefile.in (All info targets): cd $(srcdir) to do the work. + +1996-06-19 Richard Stallman + + * Makefile.in (All info targets): Specify $(srcdir) in input files. + Specify -I option. + (All dvi targets): Set the TEXINPUTS variable. + +1996-05-25 Karl Heuer + + * Version 19.31 released. + +1995-11-24 Richard Stallman + + * Version 19.30 released. + +1995-02-07 Richard Stallman + + * Makefile.in (maintainer-clean): Rename from realclean. + +1994-11-23 Richard Stallman + + * Makefile.in: New file. + * Makefile: File deleted. + +1994-11-19 Richard Stallman + + * Makefile (TEXINDEX_OBJS): Variable deleted. + (texindex, texindex.o, getopt.o): Rules deleted. + All deps on texindex deleted. + (distclean): Don't delete texindex. + (mostlyclean): Don't delete *.o. + * texindex.c, getopt.c: Files deleted. + +1994-09-07 Richard Stallman + + * Version 19.26 released. + +1994-07-02 Richard Stallman (rms@gnu.ai.mit.edu) + + * Makefile (EMACSSOURCES): Exclude undo.texi. + +1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.25 released. + +1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.24 released. + +1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.23 released. + +1994-04-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile: Delete spurious tab. + +1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile (.SUFFIXES): New rule. + +1993-12-04 Richard Stallman (rms@srarc2) + + * getopt.c: New file. + * Makefile (TEXINDEX_OBJS): Use getopt.o in this dir, not ../lib-src. + (getopt.o): New rule. + (dvi): Don't depend on texindex. + (emacs.dvi): Depend on texindex. + +1993-12-03 Richard Stallman (rms@srarc2) + + * Makefile (TEXI2DVI): New variable. + (emacs.dvi): Add explicit command. + (TEXINDEX_OBJS): Delete duplicate getopt.o. + +1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.22 released. + +1993-11-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile (TEXINDEX_OBJS): Delete spurious period. + +1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.21 released. + +1993-11-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile (realclean): Don't delete the Info files. + +1993-10-25 Brian Fox (bfox@albert.gnu.ai.mit.edu) + + * frames.texi (Creating Frames): Mention `C-x 5' instead of `C-x + 4' where appropriate. + +1993-10-20 Brian Fox (bfox@ai.mit.edu) + + * Makefile: Fix targets for texindex. + + * texindex.c: Include "../src/config.h" if building in emacs. + + * Makefile: Change all files to FILENAME.texi, force all targets + to be FILENAME, not FILENAME.info. + Add target to build texindex.c, defining `emacs'. + +1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.19 released. + +1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.18 released. + +1993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile: Fix source file names of the separate manuals. + +1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.17 released. + +1993-07-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * split-man: Fix typos in last change. + +1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Version 19.16 released. + +1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * version 19.15 released. + +1993-06-18 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Makefile (distclean): It's rm, not rf. + +1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Version 19.14 released. + +1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Makefile: New file. + +1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Version 19.13 released. + +1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Version 19.9 released. + +1993-05-25 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Version 19.8 released. + +1993-05-25 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * cmdargs.texi: Document the -i, -itype, and -iconic options. + + * trouble.texi: It's `enable-flow-control-on', not + `evade-flow-control-on'. + +1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * display.texi: Document standard-display-european. + +1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Version 19.7 released. + + * emacs.texi: Add a sentence to the top menu mentioning the + specific version of Emacs this manual applies to. + +1993-04-25 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * basic.texi: Document next-line-add-lines variable used to + implement down-arrow. + + * killing.texi: Document kill-whole-line. + +1993-04-18 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * text.texi: Update unix TeX ordering information. + +1993-03-26 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * news.texi: Mention fill-rectangle in keybinding list. + + * killing.texi: Document fill-rectangle. + +1993-03-17 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * vc.texi: Bring the docs up to date with VC 5.2. + +1992-01-10 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * emacs.tex: Mention blackbox and gomoku under Amusements. + Assembler mode is now mentioned and appropriately indexed + under Programming Modes. + +1991-02-15 Robert J. Chassell (bob@wookumz.ai.mit.edu) + + * emacs.tex: Update TeX ordering information. + +1990-06-26 David Lawrence (tale@geech) + + * emacs.tex: Note that completion-ignored-extensions is not used + to filter out names when all completions are displayed in + *Completions*. + +1990-05-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu) + + * texindex.tex: If USG, include sys/types.h and sys/fcntl.h. + +1990-03-21 Jim Kingdon (kingdon@pogo.ai.mit.edu) + + * emacs.tex: Add @findex grep. + +1988-08-16 Robert J. Chassell (bob@frosted-flakes.ai.mit.edu) + + * emacs.tex: Correct two typos. No other changes before + Version 19 will be made. + +1988-05-23 Robert J. Chassell (bob@frosted-flakes.ai.mit.edu) + + * emacs.tex: Update information for obtaining TeX distribution from the + University of Washington. + +;; Local Variables: +;; coding: iso-2022-7bit +;; fill-column: 79 +;; add-log-time-zone-rule: t +;; End: + + Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, + 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. + + This file is part of GNU Emacs. + + GNU Emacs is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + GNU Emacs is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GNU Emacs; see the file COPYING. If not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + +;;; arch-tag: f1d62776-3ed5-4811-9d96-267252577dbd diff --cc doc/emacs/misc.texi index 83fc1617066,00000000000..82e48bfe13b mode 100644,000000..100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@@ -1,2560 -1,0 +1,2560 @@@ +@c This is part of the Emacs manual. +@c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2000, 2001, +@c 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. +@c See file emacs.texi for copying conditions. +@iftex +@chapter Miscellaneous Commands + + This chapter contains several brief topics that do not fit anywhere +else: reading netnews, running shell commands and shell subprocesses, +using a single shared Emacs for utilities that expect to run an editor +as a subprocess, printing hardcopy, sorting text, narrowing display to +part of the buffer, editing double-column files and binary files, +saving an Emacs session for later resumption, following hyperlinks, +browsing images, emulating other editors, and various diversions and +amusements. + +@end iftex + +@ifnottex +@raisesections +@end ifnottex + +@node Gnus, Shell, Calendar/Diary, Top +@section Gnus +@cindex Gnus +@cindex reading netnews + +Gnus is an Emacs package primarily designed for reading and posting +Usenet news. It can also be used to read and respond to messages from a +number of other sources---mail, remote directories, digests, and so on. + +Here we introduce Gnus and describe several basic features. +@ifnottex +For full details, see @ref{Top, Gnus,, gnus, The Gnus Manual}. +@end ifnottex +@iftex +For full details on Gnus, type @kbd{M-x info} and then select the Gnus +manual. +@end iftex + +@findex gnus +To start Gnus, type @kbd{M-x gnus @key{RET}}. + +@menu +* Buffers of Gnus:: The group, summary, and article buffers. +* Gnus Startup:: What you should know about starting Gnus. +* Summary of Gnus:: A short description of the basic Gnus commands. +@end menu + +@node Buffers of Gnus +@subsection Gnus Buffers + +Unlike most Emacs packages, Gnus uses several buffers to display +information and to receive commands. The three Gnus buffers users use +most are the @dfn{group buffer}, the @dfn{summary buffer} and the +@dfn{article buffer}. + +The @dfn{group buffer} contains a list of newsgroups. This is the +first buffer Gnus displays when it starts up. It normally displays +only the groups to which you subscribe and that contain unread +articles. Use this buffer to select a specific group. + +The @dfn{summary buffer} lists one line for each article in a single +group. By default, the author, the subject and the line number are +displayed for each article, but this is customizable, like most aspects +of Gnus display. The summary buffer is created when you select a group +in the group buffer, and is killed when you exit the group. Use this +buffer to select an article. + +The @dfn{article buffer} displays the article. In normal Gnus usage, +you see this buffer but you don't select it---all useful +article-oriented commands work in the summary buffer. But you can +select the article buffer, and execute all Gnus commands from that +buffer, if you want to. + +@node Gnus Startup +@subsection When Gnus Starts Up + +At startup, Gnus reads your @file{.newsrc} news initialization file +and attempts to communicate with the local news server, which is a +repository of news articles. The news server need not be the same +computer you are logged in on. + +If you start Gnus and connect to the server, but do not see any +newsgroups listed in the group buffer, type @kbd{L} or @kbd{A k} to get +a listing of all the groups. Then type @kbd{u} to toggle +subscription to groups. + +The first time you start Gnus, Gnus subscribes you to a few selected +groups. All other groups start out as @dfn{killed groups} for you; you +can list them with @kbd{A k}. All new groups that subsequently come to +exist at the news server become @dfn{zombie groups} for you; type @kbd{A +z} to list them. You can subscribe to a group shown in these lists +using the @kbd{u} command. + +When you quit Gnus with @kbd{q}, it automatically records in your +@file{.newsrc} and @file{.newsrc.eld} initialization files the +subscribed or unsubscribed status of all groups. You should normally +not edit these files manually, but you may if you know how. + +@node Summary of Gnus +@subsection Summary of Gnus Commands + +Reading news is a two-step process: + +@enumerate +@item +Choose a group in the group buffer. + +@item +Select articles from the summary buffer. Each article selected is +displayed in the article buffer in a large window, below the summary +buffer in its small window. +@end enumerate + + Each Gnus buffer has its own special commands; the meanings of any +given key in the various Gnus buffers are usually analogous, even if +not identical. Here are commands for the group and summary buffers: + +@table @kbd +@kindex q @r{(Gnus Group mode)} +@findex gnus-group-exit +@item q +In the group buffer, update your @file{.newsrc} initialization file +and quit Gnus. + +In the summary buffer, exit the current group and return to the +group buffer. Thus, typing @kbd{q} twice quits Gnus. + +@kindex L @r{(Gnus Group mode)} +@findex gnus-group-list-all-groups +@item L +In the group buffer, list all the groups available on your news +server (except those you have killed). This may be a long list! + +@kindex l @r{(Gnus Group mode)} +@findex gnus-group-list-groups +@item l +In the group buffer, list only the groups to which you subscribe and +which contain unread articles. + +@kindex u @r{(Gnus Group mode)} +@findex gnus-group-unsubscribe-current-group +@cindex subscribe groups +@cindex unsubscribe groups +@item u +In the group buffer, unsubscribe from (or subscribe to) the group listed +in the line that point is on. When you quit Gnus by typing @kbd{q}, +Gnus lists in your @file{.newsrc} file which groups you have subscribed +to. The next time you start Gnus, you won't see this group, +because Gnus normally displays only subscribed-to groups. + +@kindex C-k @r{(Gnus)} +@findex gnus-group-kill-group +@item C-k +In the group buffer, ``kill'' the current line's group---don't +even list it in @file{.newsrc} from now on. This affects future +Gnus sessions as well as the present session. + +When you quit Gnus by typing @kbd{q}, Gnus writes information +in the file @file{.newsrc} describing all newsgroups except those you +have ``killed.'' + +@kindex SPC @r{(Gnus)} +@findex gnus-group-read-group +@item @key{SPC} +In the group buffer, select the group on the line under the cursor +and display the first unread article in that group. + +@need 1000 +In the summary buffer, + +@itemize @bullet +@item +Select the article on the line under the cursor if none is selected. + +@item +Scroll the text of the selected article (if there is one). + +@item +Select the next unread article if at the end of the current article. +@end itemize + +Thus, you can move through all the articles by repeatedly typing @key{SPC}. + +@kindex DEL @r{(Gnus)} +@item @key{DEL} +In the group buffer, move point to the previous group containing +unread articles. + +@findex gnus-summary-prev-page +In the summary buffer, scroll the text of the article backwards. + +@kindex n @r{(Gnus)} +@findex gnus-group-next-unread-group +@findex gnus-summary-next-unread-article +@item n +Move point to the next unread group, or select the next unread article. + +@kindex p @r{(Gnus)} +@findex gnus-group-prev-unread-group +@findex gnus-summary-prev-unread-article +@item p +Move point to the previous unread group, or select the previous +unread article. + +@kindex C-n @r{(Gnus Group mode)} +@findex gnus-group-next-group +@kindex C-p @r{(Gnus Group mode)} +@findex gnus-group-prev-group +@kindex C-n @r{(Gnus Summary mode)} +@findex gnus-summary-next-subject +@kindex C-p @r{(Gnus Summary mode)} +@findex gnus-summary-prev-subject +@item C-n +@itemx C-p +Move point to the next or previous item, even if it is marked as read. +This does not select the article or group on that line. + +@kindex s @r{(Gnus Summary mode)} +@findex gnus-summary-isearch-article +@item s +In the summary buffer, do an incremental search of the current text in +the article buffer, just as if you switched to the article buffer and +typed @kbd{C-s}. + +@kindex M-s @r{(Gnus Summary mode)} +@findex gnus-summary-search-article-forward +@item M-s @var{regexp} @key{RET} +In the summary buffer, search forward for articles containing a match +for @var{regexp}. + +@end table + +@ignore +@node Where to Look +@subsection Where to Look Further + +@c Too many references to the name of the manual if done with xref in TeX! +Gnus is powerful and customizable. Here are references to a few +@ifnottex +additional topics: + +@end ifnottex +@iftex +additional topics in @cite{The Gnus Manual}: + +@itemize @bullet +@item +Follow discussions on specific topics.@* +See section ``Threading.'' + +@item +Read digests. See section ``Document Groups.'' + +@item +Refer to and jump to the parent of the current article.@* +See section ``Finding the Parent.'' + +@item +Refer to articles by using Message-IDs included in the messages.@* +See section ``Article Keymap.'' + +@item +Save articles. See section ``Saving Articles.'' + +@item +Have Gnus score articles according to various criteria, like author +name, subject, or string in the body of the articles.@* +See section ``Scoring.'' + +@item +Send an article to a newsgroup.@* +See section ``Composing Messages.'' +@end itemize +@end iftex +@ifnottex +@itemize @bullet +@item +Follow discussions on specific topics.@* +@xref{Threading, , Reading Based on Conversation Threads, +gnus, The Gnus Manual}. + +@item +Read digests. @xref{Document Groups, , , gnus, The Gnus Manual}. + +@item +Refer to and jump to the parent of the current article.@* +@xref{Finding the Parent, , , gnus, The Gnus Manual}. + +@item +Refer to articles by using Message-IDs included in the messages.@* +@xref{Article Keymap, , , gnus, The Gnus Manual}. + +@item +Save articles. @xref{Saving Articles, , , gnus, The Gnus Manual}. + +@item +Have Gnus score articles according to various criteria, like author +name, subject, or string in the body of the articles.@* +@xref{Scoring, , , gnus, The Gnus Manual}. + +@item +Send an article to a newsgroup.@* +@xref{Composing Messages, , , gnus, The Gnus Manual}. +@end itemize +@end ifnottex +@end ignore + +@node Shell, Emacs Server, Gnus, Top +@section Running Shell Commands from Emacs +@cindex subshell +@cindex shell commands + + Emacs has commands for passing single command lines to inferior shell +processes; it can also run a shell interactively with input and output +to an Emacs buffer named @samp{*shell*} or run a shell inside a terminal +emulator window. + +@table @kbd +@item M-! @var{cmd} @key{RET} +Run the shell command line @var{cmd} and display the output +(@code{shell-command}). +@item M-| @var{cmd} @key{RET} +Run the shell command line @var{cmd} with region contents as input; +optionally replace the region with the output +(@code{shell-command-on-region}). +@item M-x shell +Run a subshell with input and output through an Emacs buffer. +You can then give commands interactively. +@item M-x term +Run a subshell with input and output through an Emacs buffer. +You can then give commands interactively. +Full terminal emulation is available. +@end table + + @kbd{M-x eshell} invokes a shell implemented entirely in Emacs. It +is documented in a separate manual. @xref{Top,Eshell,Eshell, eshell, +Eshell: The Emacs Shell}. + +@menu +* Single Shell:: How to run one shell command and return. +* Interactive Shell:: Permanent shell taking input via Emacs. +* Shell Mode:: Special Emacs commands used with permanent shell. +* Shell Prompts:: Two ways to recognize shell prompts. +* History: Shell History. Repeating previous commands in a shell buffer. +* Directory Tracking:: Keeping track when the subshell changes directory. +* Options: Shell Options. Options for customizing Shell mode. +* Terminal emulator:: An Emacs window as a terminal emulator. +* Term Mode:: Special Emacs commands used in Term mode. +* Paging in Term:: Paging in the terminal emulator. +* Remote Host:: Connecting to another computer. +@end menu + +@node Single Shell +@subsection Single Shell Commands + +@kindex M-! +@findex shell-command + @kbd{M-!} (@code{shell-command}) reads a line of text using the +minibuffer and executes it as a shell command in a subshell made just +for that command. Standard input for the command comes from the null +device. If the shell command produces any output, the output appears +either in the echo area (if it is short), or in an Emacs buffer named +@samp{*Shell Command Output*}, which is displayed in another window +but not selected (if the output is long). + + For instance, one way to decompress a file @file{foo.gz} from Emacs +is to type @kbd{M-! gunzip foo.gz @key{RET}}. That shell command +normally creates the file @file{foo} and produces no terminal output. + + A numeric argument, as in @kbd{M-1 M-!}, says to insert terminal +output into the current buffer instead of a separate buffer. It puts +point before the output, and sets the mark after the output. For +instance, @kbd{M-1 M-! gunzip < foo.gz @key{RET}} would insert the +uncompressed equivalent of @file{foo.gz} into the current buffer. + + If the shell command line ends in @samp{&}, it runs asynchronously. +For a synchronous shell command, @code{shell-command} returns the +command's exit status (0 means success), when it is called from a Lisp +program. You do not get any status information for an asynchronous +command, since it hasn't finished yet when @code{shell-command} returns. + +@kindex M-| +@findex shell-command-on-region + @kbd{M-|} (@code{shell-command-on-region}) is like @kbd{M-!} but +passes the contents of the region as the standard input to the shell +command, instead of no input. With a numeric argument, meaning insert +the output in the current buffer, it deletes the old region and the +output replaces it as the contents of the region. It returns the +command's exit status, like @kbd{M-!}. + + One use for @kbd{M-|} is to run @code{gpg} to see what keys are in +the buffer. For instance, if the buffer contains a GPG key, type +@kbd{C-x h M-| gpg @key{RET}} to feed the entire buffer contents to +the @code{gpg} program. That program will ignore everything except +the encoded keys, and will output a list of the keys the buffer +contains. + +@vindex shell-file-name + Both @kbd{M-!} and @kbd{M-|} use @code{shell-file-name} to specify +the shell to use. This variable is initialized based on your +@env{SHELL} environment variable when Emacs is started. If the file +name is relative, Emacs searches the directories in the list +@code{exec-path}; this list is initialized based on the environment +variable @env{PATH} when Emacs is started. Your @file{.emacs} file +can override either or both of these default initializations. + + Both @kbd{M-!} and @kbd{M-|} wait for the shell command to complete, +unless you end the command with @samp{&} to make it asynchronous. To +stop waiting, type @kbd{C-g} to quit; that terminates the shell +command with the signal @code{SIGINT}---the same signal that @kbd{C-c} +normally generates in the shell. Emacs then waits until the command +actually terminates. If the shell command doesn't stop (because it +ignores the @code{SIGINT} signal), type @kbd{C-g} again; this sends +the command a @code{SIGKILL} signal which is impossible to ignore. + + Asynchronous commands ending in @samp{&} feed their output into +the buffer @samp{*Async Shell Command*}. Output arrives in that +buffer regardless of whether it is visible in a window. + + To specify a coding system for @kbd{M-!} or @kbd{M-|}, use the command +@kbd{C-x @key{RET} c} immediately beforehand. @xref{Communication Coding}. + +@vindex shell-command-default-error-buffer + Error output from these commands is normally intermixed with the +regular output. But if the variable +@code{shell-command-default-error-buffer} has a string as value, and +it's the name of a buffer, @kbd{M-!} and @kbd{M-|} insert error output +before point in that buffer. + +@node Interactive Shell +@subsection Interactive Inferior Shell + +@findex shell + To run a subshell interactively, putting its typescript in an Emacs +buffer, use @kbd{M-x shell}. This creates (or reuses) a buffer named +@samp{*shell*} and runs a subshell with input coming from and output going +to that buffer. That is to say, any ``terminal output'' from the subshell +goes into the buffer, advancing point, and any ``terminal input'' for +the subshell comes from text in the buffer. To give input to the subshell, +go to the end of the buffer and type the input, terminated by @key{RET}. + + Emacs does not wait for the subshell to do anything. You can switch +windows or buffers and edit them while the shell is waiting, or while it is +running a command. Output from the subshell waits until Emacs has time to +process it; this happens whenever Emacs is waiting for keyboard input or +for time to elapse. + +@cindex @code{comint-highlight-input} face +@cindex @code{comint-highlight-prompt} face + Input lines, once you submit them, are displayed using the face +@code{comint-highlight-input}, and prompts are displayed using the +face @code{comint-highlight-prompt}. This makes it easier to see +previous input lines in the buffer. @xref{Faces}. + + To make multiple subshells, you can invoke @kbd{M-x shell} with a +prefix argument (e.g. @kbd{C-u M-x shell}), which will read a buffer +name and create (or reuse) a subshell in that buffer. You can also +rename the @samp{*shell*} buffer using @kbd{M-x rename-uniquely}, then +create a new @samp{*shell*} buffer using plain @kbd{M-x shell}. +Subshells in different buffers run independently and in parallel. + +@vindex explicit-shell-file-name +@cindex environment variables for subshells +@cindex @env{ESHELL} environment variable +@cindex @env{SHELL} environment variable + The file name used to load the subshell is the value of the variable +@code{explicit-shell-file-name}, if that is non-@code{nil}. Otherwise, +the environment variable @env{ESHELL} is used, or the environment +variable @env{SHELL} if there is no @env{ESHELL}. If the file name +specified is relative, the directories in the list @code{exec-path} are +searched; this list is initialized based on the environment variable +@env{PATH} when Emacs is started. Your @file{.emacs} file can override +either or both of these default initializations. + + Emacs sends the new shell the contents of the file +@file{~/.emacs_@var{shellname}} as input, if it exists, where +@var{shellname} is the name of the file that the shell was loaded +from. For example, if you use bash, the file sent to it is +@file{~/.emacs_bash}. If this file is not found, Emacs tries to fallback +on @file{~/.emacs.d/init_@var{shellname}.sh}. + + To specify a coding system for the shell, you can use the command +@kbd{C-x @key{RET} c} immediately before @kbd{M-x shell}. You can +also change the coding system for a running subshell by typing +@kbd{C-x @key{RET} p} in the shell buffer. @xref{Communication +Coding}. + +@cindex @env{INSIDE_EMACS} environment variable - Emacs sets the environment variable @env{INSIDE_EMACS} (to a - comma-separated list including the Emacs version) in the subshell. ++ Emacs sets the environment variable @env{INSIDE_EMACS} in the ++subshell to a comma-separated list including the Emacs version. +Programs can check this variable to determine whether they are running +inside an Emacs subshell. + +@cindex @env{EMACS} environment variable + Emacs also sets the @env{EMACS} environment variable (to @code{t}) if +it is not already defined. @strong{Warning:} This environment +variable is deprecated. Programs that check this variable should be +changed to check @env{INSIDE_EMACS} instead. + +@node Shell Mode +@subsection Shell Mode +@cindex Shell mode +@cindex mode, Shell + + Shell buffers use Shell mode, which defines several special keys +attached to the @kbd{C-c} prefix. They are chosen to resemble the usual +editing and job control characters present in shells that are not under +Emacs, except that you must type @kbd{C-c} first. Here is a complete list +of the special key bindings of Shell mode: + +@table @kbd +@item @key{RET} +@kindex RET @r{(Shell mode)} +@findex comint-send-input +At end of buffer send line as input; otherwise, copy current line to +end of buffer and send it (@code{comint-send-input}). Copying a line +in this way omits any prompt at the beginning of the line (text output +by programs preceding your input). @xref{Shell Prompts}, for how +Shell mode recognizes prompts. + +@item @key{TAB} +@kindex TAB @r{(Shell mode)} +@findex comint-dynamic-complete +Complete the command name or file name before point in the shell buffer +(@code{comint-dynamic-complete}). @key{TAB} also completes history +references (@pxref{History References}) and environment variable names. + +@vindex shell-completion-fignore +@vindex comint-completion-fignore +The variable @code{shell-completion-fignore} specifies a list of file +name extensions to ignore in Shell mode completion. The default +setting is @code{nil}, but some users prefer @code{("~" "#" "%")} to +ignore file names ending in @samp{~}, @samp{#} or @samp{%}. Other +related Comint modes use the variable @code{comint-completion-fignore} +instead. + +@item M-? +@kindex M-? @r{(Shell mode)} +@findex comint-dynamic-list-filename@dots{} +Display temporarily a list of the possible completions of the file name +before point in the shell buffer +(@code{comint-dynamic-list-filename-completions}). + +@item C-d +@kindex C-d @r{(Shell mode)} +@findex comint-delchar-or-maybe-eof +Either delete a character or send @acronym{EOF} +(@code{comint-delchar-or-maybe-eof}). Typed at the end of the shell +buffer, @kbd{C-d} sends @acronym{EOF} to the subshell. Typed at any other +position in the buffer, @kbd{C-d} deletes a character as usual. + +@item C-c C-a +@kindex C-c C-a @r{(Shell mode)} +@findex comint-bol-or-process-mark +Move to the beginning of the line, but after the prompt if any +(@code{comint-bol-or-process-mark}). If you repeat this command twice +in a row, the second time it moves back to the process mark, which is +the beginning of the input that you have not yet sent to the subshell. +(Normally that is the same place---the end of the prompt on this +line---but after @kbd{C-c @key{SPC}} the process mark may be in a +previous line.) + +@item C-c @key{SPC} +Accumulate multiple lines of input, then send them together. This +command inserts a newline before point, but does not send the preceding +text as input to the subshell---at least, not yet. Both lines, the one +before this newline and the one after, will be sent together (along with +the newline that separates them), when you type @key{RET}. + +@item C-c C-u +@kindex C-c C-u @r{(Shell mode)} +@findex comint-kill-input +Kill all text pending at end of buffer to be sent as input +(@code{comint-kill-input}). If point is not at end of buffer, +this only kills the part of this text that precedes point. + +@item C-c C-w +@kindex C-c C-w @r{(Shell mode)} +Kill a word before point (@code{backward-kill-word}). + +@item C-c C-c +@kindex C-c C-c @r{(Shell mode)} +@findex comint-interrupt-subjob +Interrupt the shell or its current subjob if any +(@code{comint-interrupt-subjob}). This command also kills +any shell input pending in the shell buffer and not yet sent. + +@item C-c C-z +@kindex C-c C-z @r{(Shell mode)} +@findex comint-stop-subjob +Stop the shell or its current subjob if any (@code{comint-stop-subjob}). +This command also kills any shell input pending in the shell buffer and +not yet sent. + +@item C-c C-\ +@findex comint-quit-subjob +@kindex C-c C-\ @r{(Shell mode)} +Send quit signal to the shell or its current subjob if any +(@code{comint-quit-subjob}). This command also kills any shell input +pending in the shell buffer and not yet sent. + +@item C-c C-o +@kindex C-c C-o @r{(Shell mode)} +@findex comint-delete-output +Delete the last batch of output from a shell command +(@code{comint-delete-output}). This is useful if a shell command spews +out lots of output that just gets in the way. This command used to be +called @code{comint-kill-output}. + +@item C-c C-s +@kindex C-c C-s @r{(Shell mode)} +@findex comint-write-output +Write the last batch of output from a shell command to a file +(@code{comint-write-output}). With a prefix argument, the file is +appended to instead. Any prompt at the end of the output is not +written. + +@item C-c C-r +@itemx C-M-l +@kindex C-c C-r @r{(Shell mode)} +@kindex C-M-l @r{(Shell mode)} +@findex comint-show-output +Scroll to display the beginning of the last batch of output at the top +of the window; also move the cursor there (@code{comint-show-output}). + +@item C-c C-e +@kindex C-c C-e @r{(Shell mode)} +@findex comint-show-maximum-output +Scroll to put the end of the buffer at the bottom of the window +(@code{comint-show-maximum-output}). + +@item C-c C-f +@kindex C-c C-f @r{(Shell mode)} +@findex shell-forward-command +@vindex shell-command-regexp +Move forward across one shell command, but not beyond the current line +(@code{shell-forward-command}). The variable @code{shell-command-regexp} +specifies how to recognize the end of a command. + +@item C-c C-b +@kindex C-c C-b @r{(Shell mode)} +@findex shell-backward-command +Move backward across one shell command, but not beyond the current line +(@code{shell-backward-command}). + +@item M-x dirs +Ask the shell what its current directory is, so that Emacs can agree +with the shell. + +@item M-x send-invisible @key{RET} @var{text} @key{RET} +@findex send-invisible +Send @var{text} as input to the shell, after reading it without +echoing. This is useful when a shell command runs a program that asks +for a password. + +Please note that Emacs will not echo passwords by default. If you +really want them to be echoed, evaluate the following Lisp +expression: + +@example +(remove-hook 'comint-output-filter-functions + 'comint-watch-for-password-prompt) +@end example + +@item M-x comint-continue-subjob +@findex comint-continue-subjob +Continue the shell process. This is useful if you accidentally suspend +the shell process.@footnote{You should not suspend the shell process. +Suspending a subjob of the shell is a completely different matter---that +is normal practice, but you must use the shell to continue the subjob; +this command won't do it.} + +@item M-x comint-strip-ctrl-m +@findex comint-strip-ctrl-m +Discard all control-M characters from the current group of shell output. +The most convenient way to use this command is to make it run +automatically when you get output from the subshell. To do that, +evaluate this Lisp expression: + +@example +(add-hook 'comint-output-filter-functions + 'comint-strip-ctrl-m) +@end example + +@item M-x comint-truncate-buffer +@findex comint-truncate-buffer +This command truncates the shell buffer to a certain maximum number of +lines, specified by the variable @code{comint-buffer-maximum-size}. +Here's how to do this automatically each time you get output from the +subshell: + +@example +(add-hook 'comint-output-filter-functions + 'comint-truncate-buffer) +@end example +@end table + +@cindex Comint mode +@cindex mode, Comint + Shell mode is a derivative of Comint mode, a general-purpose mode for +communicating with interactive subprocesses. Most of the features of +Shell mode actually come from Comint mode, as you can see from the +command names listed above. The special features of Shell mode include +the directory tracking feature, and a few user commands. + + Other Emacs features that use variants of Comint mode include GUD +(@pxref{Debuggers}) and @kbd{M-x run-lisp} (@pxref{External Lisp}). + +@findex comint-run + You can use @kbd{M-x comint-run} to execute any program of your choice +in a subprocess using unmodified Comint mode---without the +specializations of Shell mode. + +@node Shell Prompts +@subsection Shell Prompts + +@vindex shell-prompt-pattern +@vindex comint-prompt-regexp +@vindex comint-use-prompt-regexp +@cindex prompt, shell + A prompt is text output by a program to show that it is ready to +accept new user input. Normally, Comint mode (and thus Shell mode) +considers the prompt to be any text output by a program at the +beginning of an input line. However, if the variable +@code{comint-use-prompt-regexp} is non-@code{nil}, then Comint mode +uses a regular expression to recognize prompts. In Shell mode, +@code{shell-prompt-pattern} specifies the regular expression. + + The value of @code{comint-use-prompt-regexp} also affects many +motion and paragraph commands. If the value is non-@code{nil}, the +general Emacs motion commands behave as they normally do in buffers +without special text properties. However, if the value is @code{nil}, +the default, then Comint mode divides the buffer into two types of +``fields'' (ranges of consecutive characters having the same +@code{field} text property): input and output. Prompts are part of +the output. Most Emacs motion commands do not cross field boundaries, +unless they move over multiple lines. For instance, when point is in +input on the same line as a prompt, @kbd{C-a} puts point at the +beginning of the input if @code{comint-use-prompt-regexp} is +@code{nil} and at the beginning of the line otherwise. + + In Shell mode, only shell prompts start new paragraphs. Thus, a +paragraph consists of a prompt and the input and output that follow +it. However, if @code{comint-use-prompt-regexp} is @code{nil}, the +default, most paragraph commands do not cross field boundaries. This +means that prompts, ranges of input, and ranges of non-prompt output +behave mostly like separate paragraphs; with this setting, numeric +arguments to most paragraph commands yield essentially undefined +behavior. For the purpose of finding paragraph boundaries, Shell mode +uses @code{shell-prompt-pattern}, regardless of +@code{comint-use-prompt-regexp}. + +@node Shell History +@subsection Shell Command History + + Shell buffers support three ways of repeating earlier commands. You +can use keys like those used for the minibuffer history; these work +much as they do in the minibuffer, inserting text from prior commands +while point remains always at the end of the buffer. You can move +through the buffer to previous inputs in their original place, then +resubmit them or copy them to the end. Or you can use a +@samp{!}-style history reference. + +@menu +* Ring: Shell Ring. Fetching commands from the history list. +* Copy: Shell History Copying. Moving to a command and then copying it. +* History References:: Expanding @samp{!}-style history references. +@end menu + +@node Shell Ring +@subsubsection Shell History Ring + +@table @kbd +@findex comint-previous-input +@kindex M-p @r{(Shell mode)} +@item M-p +@itemx C-@key{UP} +Fetch the next earlier old shell command. + +@kindex M-n @r{(Shell mode)} +@findex comint-next-input +@item M-n +@itemx C-@key{DOWN} +Fetch the next later old shell command. + +@kindex M-r @r{(Shell mode)} +@kindex M-s @r{(Shell mode)} +@findex comint-previous-matching-input +@findex comint-next-matching-input +@item M-r @var{regexp} @key{RET} +@itemx M-s @var{regexp} @key{RET} +Search backwards or forwards for old shell commands that match @var{regexp}. + +@item C-c C-x +@kindex C-c C-x @r{(Shell mode)} +@findex comint-get-next-from-history +Fetch the next subsequent command from the history. + +@item C-c . +@kindex C-c . @r{(Shell mode)} +@findex comint-input-previous-argument +Fetch one argument from an old shell command. + +@item C-c C-l +@kindex C-c C-l @r{(Shell mode)} +@findex comint-dynamic-list-input-ring +Display the buffer's history of shell commands in another window +(@code{comint-dynamic-list-input-ring}). +@end table + + Shell buffers provide a history of previously entered shell commands. To +reuse shell commands from the history, use the editing commands @kbd{M-p}, +@kbd{M-n}, @kbd{M-r} and @kbd{M-s}. These work just like the minibuffer +history commands except that they operate on the text at the end of the +shell buffer, where you would normally insert text to send to the shell. + + @kbd{M-p} fetches an earlier shell command to the end of the shell +buffer. Successive use of @kbd{M-p} fetches successively earlier +shell commands, each replacing any text that was already present as +potential shell input. @kbd{M-n} does likewise except that it finds +successively more recent shell commands from the buffer. +@kbd{C-@key{UP}} works like @kbd{M-p}, and @kbd{C-@key{DOWN}} like +@kbd{M-n}. + + The history search commands @kbd{M-r} and @kbd{M-s} read a regular +expression and search through the history for a matching command. Aside +from the choice of which command to fetch, they work just like @kbd{M-p} +and @kbd{M-n}. If you enter an empty regexp, these commands reuse the +same regexp used last time. + + When you find the previous input you want, you can resubmit it by +typing @key{RET}, or you can edit it first and then resubmit it if you +wish. Any partial input you were composing before navigating the +history list is restored when you go to the beginning or end of the +history ring. + + Often it is useful to reexecute several successive shell commands that +were previously executed in sequence. To do this, first find and +reexecute the first command of the sequence. Then type @kbd{C-c C-x}; +that will fetch the following command---the one that follows the command +you just repeated. Then type @key{RET} to reexecute this command. You +can reexecute several successive commands by typing @kbd{C-c C-x +@key{RET}} over and over. + + The command @kbd{C-c .}@: (@code{comint-input-previous-argument}) +copies an individual argument from a previous command, like @kbd{ESC +.} in Bash. The simplest use copies the last argument from the +previous shell command. With a prefix argument @var{n}, it copies the +@var{n}th argument instead. Repeating @kbd{C-c .} copies from an +earlier shell command instead, always using the same value of @var{n} +(don't give a prefix argument when you repeat the @kbd{C-c .} +command). + + These commands get the text of previous shell commands from a special +history list, not from the shell buffer itself. Thus, editing the shell +buffer, or even killing large parts of it, does not affect the history +that these commands access. + +@vindex shell-input-ring-file-name + Some shells store their command histories in files so that you can +refer to commands from previous shell sessions. Emacs reads +the command history file for your chosen shell, to initialize its own +command history. The file name is @file{~/.bash_history} for bash, +@file{~/.sh_history} for ksh, and @file{~/.history} for other shells. + +@node Shell History Copying +@subsubsection Shell History Copying + +@table @kbd +@kindex C-c C-p @r{(Shell mode)} +@findex comint-previous-prompt +@item C-c C-p +Move point to the previous prompt (@code{comint-previous-prompt}). + +@kindex C-c C-n @r{(Shell mode)} +@findex comint-next-prompt +@item C-c C-n +Move point to the following prompt (@code{comint-next-prompt}). + +@kindex C-c RET @r{(Shell mode)} +@findex comint-copy-old-input +@item C-c @key{RET} +Copy the input command which point is in, inserting the copy at the end +of the buffer (@code{comint-copy-old-input}). This is useful if you +move point back to a previous command. After you copy the command, you +can submit the copy as input with @key{RET}. If you wish, you can +edit the copy before resubmitting it. If you use this command on an +output line, it copies that line to the end of the buffer. + +@item Mouse-2 +If @code{comint-use-prompt-regexp} is @code{nil} (the default), copy +the old input command that you click on, inserting the copy at the end +of the buffer (@code{comint-insert-input}). If +@code{comint-use-prompt-regexp} is non-@code{nil}, or if the click is +not over old input, just yank as usual. +@end table + + Moving to a previous input and then copying it with @kbd{C-c +@key{RET}} or @kbd{Mouse-2} produces the same results---the same +buffer contents---that you would get by using @kbd{M-p} enough times +to fetch that previous input from the history list. However, @kbd{C-c +@key{RET}} copies the text from the buffer, which can be different +from what is in the history list if you edit the input text in the +buffer after it has been sent. + +@node History References +@subsubsection Shell History References +@cindex history reference + + Various shells including csh and bash support @dfn{history +references} that begin with @samp{!} and @samp{^}. Shell mode +recognizes these constructs, and can perform the history substitution +for you. + + If you insert a history reference and type @key{TAB}, this searches +the input history for a matching command, performs substitution if +necessary, and places the result in the buffer in place of the history +reference. For example, you can fetch the most recent command +beginning with @samp{mv} with @kbd{! m v @key{TAB}}. You can edit the +command if you wish, and then resubmit the command to the shell by +typing @key{RET}. + +@vindex comint-input-autoexpand +@findex comint-magic-space + Shell mode can optionally expand history references in the buffer +when you send them to the shell. To request this, set the variable +@code{comint-input-autoexpand} to @code{input}. You can make +@key{SPC} perform history expansion by binding @key{SPC} to the +command @code{comint-magic-space}. + + Shell mode recognizes history references when they follow a prompt. +@xref{Shell Prompts}, for how Shell mode recognizes prompts. + +@node Directory Tracking +@subsection Directory Tracking +@cindex directory tracking + +@vindex shell-pushd-regexp +@vindex shell-popd-regexp +@vindex shell-cd-regexp + Shell mode keeps track of @samp{cd}, @samp{pushd} and @samp{popd} +commands given to the inferior shell, so it can keep the +@samp{*shell*} buffer's default directory the same as the shell's +working directory. It recognizes these commands syntactically, by +examining lines of input that are sent. + + If you use aliases for these commands, you can tell Emacs to +recognize them also. For example, if the value of the variable +@code{shell-pushd-regexp} matches the beginning of a shell command +line, that line is regarded as a @code{pushd} command. Change this +variable when you add aliases for @samp{pushd}. Likewise, +@code{shell-popd-regexp} and @code{shell-cd-regexp} are used to +recognize commands with the meaning of @samp{popd} and @samp{cd}. +These commands are recognized only at the beginning of a shell command +line. + +@ignore @c This seems to have been deleted long ago. +@vindex shell-set-directory-error-hook + If Emacs gets an error while trying to handle what it believes is a +@samp{cd}, @samp{pushd} or @samp{popd} command, it runs the hook +@code{shell-set-directory-error-hook} (@pxref{Hooks}). +@end ignore + +@findex dirs + If Emacs gets confused about changes in the current directory of the +subshell, use the command @kbd{M-x dirs} to ask the shell what its +current directory is. This command works for shells that support the +most common command syntax; it may not work for unusual shells. + +@findex dirtrack-mode + You can also use @kbd{M-x dirtrack-mode} to enable (or disable) an +alternative and more aggressive method of tracking changes in the +current directory. + +@node Shell Options +@subsection Shell Mode Options + +@vindex comint-scroll-to-bottom-on-input + If the variable @code{comint-scroll-to-bottom-on-input} is +non-@code{nil}, insertion and yank commands scroll the selected window +to the bottom before inserting. The default is @code{nil}. + +@vindex comint-scroll-show-maximum-output + If @code{comint-scroll-show-maximum-output} is non-@code{nil}, then +arrival of output when point is at the end tries to scroll the last +line of text to the bottom line of the window, showing as much useful +text as possible. (This mimics the scrolling behavior of most +terminals.) The default is @code{t}. + +@vindex comint-move-point-for-output + By setting @code{comint-move-point-for-output}, you can opt for +having point jump to the end of the buffer whenever output arrives---no +matter where in the buffer point was before. If the value is +@code{this}, point jumps in the selected window. If the value is +@code{all}, point jumps in each window that shows the Comint buffer. If +the value is @code{other}, point jumps in all nonselected windows that +show the current buffer. The default value is @code{nil}, which means +point does not jump to the end. + +@vindex comint-prompt-read-only + If you set @code{comint-prompt-read-only}, the prompts in the Comint +buffer are read-only. + +@vindex comint-input-ignoredups + The variable @code{comint-input-ignoredups} controls whether successive +identical inputs are stored in the input history. A non-@code{nil} +value means to omit an input that is the same as the previous input. +The default is @code{nil}, which means to store each input even if it is +equal to the previous input. + +@vindex comint-completion-addsuffix +@vindex comint-completion-recexact +@vindex comint-completion-autolist + Three variables customize file name completion. The variable +@code{comint-completion-addsuffix} controls whether completion inserts a +space or a slash to indicate a fully completed file or directory name +(non-@code{nil} means do insert a space or slash). +@code{comint-completion-recexact}, if non-@code{nil}, directs @key{TAB} +to choose the shortest possible completion if the usual Emacs completion +algorithm cannot add even a single character. +@code{comint-completion-autolist}, if non-@code{nil}, says to list all +the possible completions whenever completion is not exact. + +@vindex shell-completion-execonly + Command completion normally considers only executable files. +If you set @code{shell-completion-execonly} to @code{nil}, +it considers nonexecutable files as well. + +@findex shell-pushd-tohome +@findex shell-pushd-dextract +@findex shell-pushd-dunique + You can configure the behavior of @samp{pushd}. Variables control +whether @samp{pushd} behaves like @samp{cd} if no argument is given +(@code{shell-pushd-tohome}), pop rather than rotate with a numeric +argument (@code{shell-pushd-dextract}), and only add directories to the +directory stack if they are not already on it +(@code{shell-pushd-dunique}). The values you choose should match the +underlying shell, of course. + + If you want Shell mode to handle color output from shell commands, +you can enable ANSI Color mode. Here is how to do this: + +@example +(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on) +@end example + +@node Terminal emulator +@subsection Emacs Terminal Emulator +@findex term + + To run a subshell in a terminal emulator, putting its typescript in +an Emacs buffer, use @kbd{M-x term}. This creates (or reuses) a +buffer named @samp{*terminal*}, and runs a subshell with input coming +from your keyboard, and output going to that buffer. + + The terminal emulator uses Term mode, which has two input modes. In +line mode, Term basically acts like Shell mode; see @ref{Shell Mode}. + + In char mode, each character is sent directly to the inferior +subshell, as ``terminal input.'' Any ``echoing'' of your input is the +responsibility of the subshell. The sole exception is the terminal +escape character, which by default is @kbd{C-c} (@pxref{Term Mode}). +Any ``terminal output'' from the subshell goes into the buffer, +advancing point. + + Some programs (such as Emacs itself) need to control the appearance +on the terminal screen in detail. They do this by sending special +control codes. The exact control codes needed vary from terminal to +terminal, but nowadays most terminals and terminal emulators +(including @code{xterm}) understand the ANSI-standard (VT100-style) +escape sequences. Term mode recognizes these escape sequences, and +handles each one appropriately, changing the buffer so that the +appearance of the window matches what it would be on a real terminal. +You can actually run Emacs inside an Emacs Term window. + + The file name used to load the subshell is determined the same way +as for Shell mode. To make multiple terminal emulators, rename the +buffer @samp{*terminal*} to something different using @kbd{M-x +rename-uniquely}, just as with Shell mode. + + Unlike Shell mode, Term mode does not track the current directory by +examining your input. But some shells can tell Term what the current +directory is. This is done automatically by @code{bash} version 1.15 +and later. + +@node Term Mode +@subsection Term Mode +@cindex Term mode +@cindex mode, Term + + The terminal emulator uses Term mode, which has two input modes. In +line mode, Term basically acts like Shell mode; see @ref{Shell Mode}. +In char mode, each character is sent directly to the inferior +subshell, except for the Term escape character, normally @kbd{C-c}. + + To switch between line and char mode, use these commands: + +@table @kbd +@kindex C-c C-j @r{(Term mode)} +@findex term-char-mode +@item C-c C-j +Switch to line mode. Do nothing if already in line mode. + +@kindex C-c C-k @r{(Term mode)} +@findex term-line-mode +@item C-c C-k +Switch to char mode. Do nothing if already in char mode. +@end table + + The following commands are only available in char mode: + +@table @kbd +@item C-c C-c +Send a literal @key{C-c} to the sub-shell. + +@item C-c @var{char} +This is equivalent to @kbd{C-x @var{char}} in normal Emacs. For +example, @kbd{C-c o} invokes the global binding of @kbd{C-x o}, which +is normally @samp{other-window}. +@end table + +@node Paging in Term +@subsection Page-At-A-Time Output +@cindex page-at-a-time + + Term mode has a page-at-a-time feature. When enabled it makes +output pause at the end of each screenful. + +@table @kbd +@kindex C-c C-q @r{(Term mode)} +@findex term-pager-toggle +@item C-c C-q +Toggle the page-at-a-time feature. This command works in both line +and char modes. When page-at-a-time is enabled, the mode-line +displays the word @samp{page}. +@end table + + With page-at-a-time enabled, whenever Term receives more than a +screenful of output since your last input, it pauses, displaying +@samp{**MORE**} in the mode-line. Type @key{SPC} to display the next +screenful of output. Type @kbd{?} to see your other options. The +interface is similar to the @code{more} program. + +@node Remote Host +@subsection Remote Host Shell +@cindex remote host +@cindex connecting to remote host +@cindex Telnet +@cindex Rlogin + + You can login to a remote computer, using whatever commands you +would from a regular terminal (e.g.@: using the @code{telnet} or +@code{rlogin} commands), from a Term window. + + A program that asks you for a password will normally suppress +echoing of the password, so the password will not show up in the +buffer. This will happen just as if you were using a real terminal, +if the buffer is in char mode. If it is in line mode, the password is +temporarily visible, but will be erased when you hit return. (This +happens automatically; there is no special password processing.) + + When you log in to a different machine, you need to specify the type +of terminal you're using, by setting the @env{TERM} environment +variable in the environment for the remote login command. (If you use +bash, you do that by writing the variable assignment before the remote +login command, without separating comma.) Terminal types @samp{ansi} +or @samp{vt100} will work on most systems. + +@c If you are talking to a Bourne-compatible +@c shell, and your system understands the @env{TERMCAP} variable, +@c you can use the command @kbd{M-x shell-send-termcap}, which +@c sends a string specifying the terminal type and size. +@c (This command is also useful after the window has changed size.) + +@c You can of course run @samp{gdb} on that remote computer. One useful +@c trick: If you invoke gdb with the @code{--fullname} option, +@c it will send special commands to Emacs that will cause Emacs to +@c pop up the source files you're debugging. This will work +@c whether or not gdb is running on a different computer than Emacs, +@c as long as Emacs can access the source files specified by gdb. + +@ignore + You cannot log in to a remote computer using the Shell mode. +@c (This will change when Shell is re-written to use Term.) +Instead, Emacs provides two commands for logging in to another computer +and communicating with it through an Emacs buffer using Comint mode: + +@table @kbd +@item M-x telnet @key{RET} @var{hostname} @key{RET} +Set up a Telnet connection to the computer named @var{hostname}. +@item M-x rlogin @key{RET} @var{hostname} @key{RET} +Set up an Rlogin connection to the computer named @var{hostname}. +@end table + +@findex telnet + Use @kbd{M-x telnet} to set up a Telnet connection to another +computer. (Telnet is the standard Internet protocol for remote login.) +It reads the host name of the other computer as an argument with the +minibuffer. Once the connection is established, talking to the other +computer works like talking to a subshell: you can edit input with the +usual Emacs commands, and send it a line at a time by typing @key{RET}. +The output is inserted in the Telnet buffer interspersed with the input. + +@findex rlogin +@vindex rlogin-explicit-args + Use @kbd{M-x rlogin} to set up an Rlogin connection. Rlogin is +another remote login communication protocol, essentially much like the +Telnet protocol but incompatible with it, and supported only by certain +systems. Rlogin's advantages are that you can arrange not to have to +give your user name and password when communicating between two machines +you frequently use, and that you can make an 8-bit-clean connection. +(To do that in Emacs, set @code{rlogin-explicit-args} to @code{("-8")} +before you run Rlogin.) + + @kbd{M-x rlogin} sets up the default file directory of the Emacs +buffer to access the remote host via FTP (@pxref{File Names}), and it +tracks the shell commands that change the current directory, just like +Shell mode. + +@findex rlogin-directory-tracking-mode + There are two ways of doing directory tracking in an Rlogin +buffer---either with remote directory names +@file{/@var{host}:@var{dir}/} or with local names (that works if the +``remote'' machine shares file systems with your machine of origin). +You can use the command @code{rlogin-directory-tracking-mode} to switch +modes. No argument means use remote directory names, a positive +argument means use local names, and a negative argument means turn +off directory tracking. + +@end ignore + +@node Emacs Server, Printing, Shell, Top +@section Using Emacs as a Server +@pindex emacsclient +@cindex Emacs as a server +@cindex server, using Emacs as +@cindex @env{EDITOR} environment variable + + Various programs such as @code{mail} can invoke your choice of editor +to edit a particular piece of text, such as a message that you are +sending. By convention, most of these programs use the environment +variable @env{EDITOR} to specify which editor to run. If you set +@env{EDITOR} to @samp{emacs}, they invoke Emacs---but in an +inconvenient fashion, by starting a new, separate Emacs process. This +is inconvenient because it takes time and because the new Emacs process +doesn't share the buffers with any existing Emacs process. + + You can arrange to use your existing Emacs process as the editor for +programs like @code{mail} by using the Emacs client program and the +server that is part of Emacs. Here is how. + +@cindex @env{TEXEDIT} environment variable +@findex server-start + First, the preparations. Within Emacs, call the function +@code{server-start}. (Your @file{.emacs} init file can do this +automatically if you add the expression @code{(server-start)} to it, +see @ref{Init File}.) Then, outside Emacs, set the @env{EDITOR} +environment variable to @samp{emacsclient}. (Note that some programs +use a different environment variable; for example, to make @TeX{} use +@samp{emacsclient}, you should set the @env{TEXEDIT} environment +variable to @samp{emacsclient +%d %s}.) + +@pindex emacs.bash +@cindex Bash command to use Emacs server + As an alternative to using @code{emacsclient}, the file +@file{etc/emacs.bash} defines a Bash command @code{edit} which will +communicate with a running Emacs session, or start one if none exist. + +@kindex C-x # +@findex server-edit + Now, whenever any program invokes your specified @env{EDITOR} +program, the effect is to send a message to your principal Emacs telling +it to visit a file. (That's what the program @code{emacsclient} does.) +Emacs displays the buffer immediately and you can immediately begin +editing it in the already running Emacs session. + + When you've finished editing that buffer, type @kbd{C-x #} +(@code{server-edit}). This saves the file and sends a message back to +the @code{emacsclient} program telling it to exit. The programs that +use @env{EDITOR} wait for the ``editor'' (actually, @code{emacsclient}) +to exit. @kbd{C-x #} also checks for other pending external requests +to edit various files, and selects the next such file. + + You can switch to a server buffer manually if you wish; you don't +have to arrive at it with @kbd{C-x #}. But @kbd{C-x #} is the way to +say that you are finished with one. + +@vindex server-kill-new-buffers +@vindex server-temp-file-regexp + Finishing with a server buffer also kills the buffer, unless it +already existed in the Emacs session before the server asked to create +it. However, if you set @code{server-kill-new-buffers} to @code{nil}, +then a different criterion is used: finishing with a server buffer +kills it if the file name matches the regular expression +@code{server-temp-file-regexp}. This is set up to distinguish certain +``temporary'' files. + +@vindex server-window + If you set the variable @code{server-window} to a window or a frame, +@kbd{C-x #} displays the server buffer in that window or in that frame. + +@vindex server-name + You can run multiple Emacs servers on the same machine by giving +each one a unique ``server name'', using the variable +@code{server-name}. For example, @kbd{M-x set-variable @key{RET} +server-name @key{RET} foo @key{RET}} sets the server name to +@samp{foo}. The @code{emacsclient} program can specify a server by +name using the @samp{-s} option. @xref{Invoking emacsclient}. + + While @code{mail} or another application is waiting for +@code{emacsclient} to finish, @code{emacsclient} does not read terminal +input. So the terminal that @code{mail} was using is effectively +blocked for the duration. In order to edit with your principal Emacs, +you need to be able to use it without using that terminal. There are +three ways to do this: + +@itemize @bullet +@item +Using a window system, run @code{mail} and the principal Emacs in two +separate windows. While @code{mail} is waiting for @code{emacsclient}, +the window where it was running is blocked, but you can use Emacs by +switching windows. + +@item +Using virtual terminals, run @code{mail} in one virtual terminal +and run Emacs in another. + +@item +Use Shell mode or Term mode in Emacs to run the other program such as +@code{mail}; then, @code{emacsclient} blocks only the subshell under +Emacs, and you can still use Emacs to edit the file. +@end itemize + + If you run @code{emacsclient} with the option @samp{--no-wait}, it +returns immediately without waiting for you to ``finish'' the buffer +in Emacs. Note that server buffers created in this way are not killed +automatically when you finish with them. + +@menu +* Invoking emacsclient:: Emacs client startup options. +@end menu + +@node Invoking emacsclient,, Emacs Server, Emacs Server +@subsection Invoking @code{emacsclient} +@cindex @code{emacsclient} invocation and options + + To run the @code{emacsclient} program, specify file names as arguments, +and optionally line numbers as well, like this: + +@example +emacsclient @r{@{}@r{[}+@var{line}@r{[}@var{column}@r{]}@r{]} @var{filename}@r{@}}@dots{} +@end example + +@noindent +This tells Emacs to visit each of the specified files; if you specify a +line number for a certain file, Emacs moves to that line in the file. +If you specify a column number as well, Emacs puts point on that column +in the line. + + Ordinarily, @code{emacsclient} does not return until you use the +@kbd{C-x #} command on each of these buffers. When that happens, +Emacs sends a message to the @code{emacsclient} program telling it to +return. + + If you invoke @code{emacsclient} for more than one file, the +additional client buffers are buried at the bottom of the buffer list +(@pxref{Buffers}). If you call @kbd{C-x #} after you are done editing +a client buffer, the next client buffer is automatically selected. + + But if you use the option @samp{-n} or @samp{--no-wait} when running +@code{emacsclient}, then it returns immediately. (You can take as +long as you like to edit the files in Emacs.) + + The option @samp{-a @var{command}} or +@samp{--alternate-editor=@var{command}} specifies a command to run if +@code{emacsclient} fails to contact Emacs. This is useful when +running @code{emacsclient} in a script. For example, the following +setting for the @env{EDITOR} environment variable will always give you +an editor, even if no Emacs server is running: + +@example +EDITOR="emacsclient --alternate-editor emacs +%d %s" +@end example + +@noindent +@cindex @env{ALTERNATE_EDITOR} environment variable +The environment variable @env{ALTERNATE_EDITOR} has the same effect, with +the value of the @samp{--alternate-editor} option taking precedence. + +If you use several displays, you can tell Emacs on which display to +open the given files with the @samp{-d @var{display}} or +@samp{--display=@var{display}} option to @code{emacsclient}. This is +handy when connecting from home to an Emacs session running on your +machine at your workplace. + +If there is more than one Emacs server running, you can specify a +server name with the @samp{-s @var{name}} or +@samp{--socket-name=@var{name}} option to @code{emacsclient}. (This +option is not supported on MS-Windows.) + +You can also use @code{emacsclient} to execute any piece of Emacs Lisp +code, using the @samp{-e} or @samp{--eval} option. When this option +is given, the rest of the arguments is interpreted as a list of +expressions to evaluate, not a list of files to visit. + +@cindex @env{EMACS_SERVER_FILE} environment variable +When you start the Emacs server (by calling @code{server-start}), +Emacs creates a file with information about TCP connection to the +server: the host where Emacs is running, the port where it is +listening, and an authentication string. @code{emacsclient} uses this +information if it needs to connect to the server via TCP. By default, +the file goes in the @file{~/.emacs.d/server/} directory@footnote{On +MS-Windows, if @env{HOME} is not set or the TCP configuration file +cannot be found there, Emacs also looks for the file in the +@file{.emacs.d/server/} subdirectory of the directory pointed to by +the @env{APPDATA} environment variable.}. You can specify the file +name to use with the @samp{-f @var{file}} or +@samp{--server-file=@var{file}} options, or by setting +@env{EMACS_SERVER_FILE} environment variable to the file name. + +@node Printing, Sorting, Emacs Server, Top +@section Printing Hard Copies +@cindex hardcopy +@cindex printing + + Emacs provides commands for printing hard copies of either an entire +buffer or just part of one, with or without page headers. You can +invoke the printing commands directly, as detailed in the following +section, or using the @samp{File} menu on the menu bar. See also the +hardcopy commands of Dired (@pxref{Misc File Ops}) and the diary +(@pxref{Displaying the Diary}). + +@table @kbd +@item M-x print-buffer +Print hardcopy of current buffer with page headings containing the file +name and page number. +@item M-x lpr-buffer +Print hardcopy of current buffer without page headings. +@item M-x print-region +Like @code{print-buffer} but print only the current region. +@item M-x lpr-region +Like @code{lpr-buffer} but print only the current region. +@end table + +@findex print-buffer +@findex print-region +@findex lpr-buffer +@findex lpr-region +@vindex lpr-switches + The hardcopy commands (aside from the PostScript commands) pass extra +switches to the @code{lpr} program based on the value of the variable +@code{lpr-switches}. Its value should be a list of strings, each string +an option starting with @samp{-}. For example, to specify a line width +of 80 columns for all the printing you do in Emacs, set +@code{lpr-switches} like this: + +@example +(setq lpr-switches '("-w80")) +@end example + +@vindex printer-name + You can specify the printer to use by setting the variable +@code{printer-name}. + +@vindex lpr-headers-switches +@vindex lpr-commands +@vindex lpr-add-switches + The variable @code{lpr-command} specifies the name of the printer +program to run; the default value depends on your operating system type. +On most systems, the default is @code{"lpr"}. The variable +@code{lpr-headers-switches} similarly specifies the extra switches to +use to make page headers. The variable @code{lpr-add-switches} controls +whether to supply @samp{-T} and @samp{-J} options (suitable for +@code{lpr}) to the printer program: @code{nil} means don't add them. +@code{lpr-add-switches} should be @code{nil} if your printer program is +not compatible with @code{lpr}. + +@menu +* PostScript:: Printing buffers or regions as PostScript. +* PostScript Variables:: Customizing the PostScript printing commands. +* Printing Package:: An optional advanced printing interface. +@end menu + +@node PostScript, PostScript Variables,, Printing +@section PostScript Hardcopy + + These commands convert buffer contents to PostScript, +either printing it or leaving it in another Emacs buffer. + +@table @kbd +@item M-x ps-print-buffer +Print hardcopy of the current buffer in PostScript form. +@item M-x ps-print-region +Print hardcopy of the current region in PostScript form. +@item M-x ps-print-buffer-with-faces +Print hardcopy of the current buffer in PostScript form, showing the +faces used in the text by means of PostScript features. +@item M-x ps-print-region-with-faces +Print hardcopy of the current region in PostScript form, showing the +faces used in the text. +@item M-x ps-spool-buffer +Generate PostScript for the current buffer text. +@item M-x ps-spool-region +Generate PostScript for the current region. +@item M-x ps-spool-buffer-with-faces +Generate PostScript for the current buffer, showing the faces used. +@item M-x ps-spool-region-with-faces +Generate PostScript for the current region, showing the faces used. +@item M-x handwrite +Generates/prints PostScript for the current buffer as if handwritten. +@end table + +@findex ps-print-region +@findex ps-print-buffer +@findex ps-print-region-with-faces +@findex ps-print-buffer-with-faces + The PostScript commands, @code{ps-print-buffer} and +@code{ps-print-region}, print buffer contents in PostScript form. One +command prints the entire buffer; the other, just the region. The +corresponding @samp{-with-faces} commands, +@code{ps-print-buffer-with-faces} and @code{ps-print-region-with-faces}, +use PostScript features to show the faces (fonts and colors) in the text +properties of the text being printed. + + If you are using a color display, you can print a buffer of program +code with color highlighting by turning on Font-Lock mode in that +buffer, and using @code{ps-print-buffer-with-faces}. + +@findex ps-spool-region +@findex ps-spool-buffer +@findex ps-spool-region-with-faces +@findex ps-spool-buffer-with-faces + The commands whose names have @samp{spool} instead of @samp{print} +generate the PostScript output in an Emacs buffer instead of sending +it to the printer. + +@findex handwrite +@cindex handwriting +@kbd{M-x handwrite} is more frivolous. It generates a PostScript +rendition of the current buffer as a cursive handwritten document. It +can be customized in group @code{handwrite}. This function only +supports ISO 8859-1 characters. + +@ifnottex + The following section describes variables for customizing these commands. +@end ifnottex + +@node PostScript Variables, Printing Package, PostScript, Printing +@section Variables for PostScript Hardcopy + +@vindex ps-lpr-command +@vindex ps-lpr-switches +@vindex ps-printer-name + All the PostScript hardcopy commands use the variables +@code{ps-lpr-command} and @code{ps-lpr-switches} to specify how to print +the output. @code{ps-lpr-command} specifies the command name to run, +@code{ps-lpr-switches} specifies command line options to use, and +@code{ps-printer-name} specifies the printer. If you don't set the +first two variables yourself, they take their initial values from +@code{lpr-command} and @code{lpr-switches}. If @code{ps-printer-name} +is @code{nil}, @code{printer-name} is used. + +@vindex ps-print-header + The variable @code{ps-print-header} controls whether these commands +add header lines to each page---set it to @code{nil} to turn headers +off. + +@cindex color emulation on black-and-white printers +@vindex ps-print-color-p + If your printer doesn't support colors, you should turn off color +processing by setting @code{ps-print-color-p} to @code{nil}. By +default, if the display supports colors, Emacs produces hardcopy output +with color information; on black-and-white printers, colors are emulated +with shades of gray. This might produce illegible output, even if your +screen colors only use shades of gray. + +@vindex ps-use-face-background + By default, PostScript printing ignores the background colors of the +faces, unless the variable @code{ps-use-face-background} is +non-@code{nil}. This is to avoid unwanted interference with the zebra +stripes and background image/text. + +@vindex ps-paper-type +@vindex ps-page-dimensions-database + The variable @code{ps-paper-type} specifies which size of paper to +format for; legitimate values include @code{a4}, @code{a3}, +@code{a4small}, @code{b4}, @code{b5}, @code{executive}, @code{ledger}, +@code{legal}, @code{letter}, @code{letter-small}, @code{statement}, +@code{tabloid}. The default is @code{letter}. You can define +additional paper sizes by changing the variable +@code{ps-page-dimensions-database}. + +@vindex ps-landscape-mode + The variable @code{ps-landscape-mode} specifies the orientation of +printing on the page. The default is @code{nil}, which stands for +``portrait'' mode. Any non-@code{nil} value specifies ``landscape'' +mode. + +@vindex ps-number-of-columns + The variable @code{ps-number-of-columns} specifies the number of +columns; it takes effect in both landscape and portrait mode. The +default is 1. + +@vindex ps-font-family +@vindex ps-font-size +@vindex ps-font-info-database + The variable @code{ps-font-family} specifies which font family to use +for printing ordinary text. Legitimate values include @code{Courier}, +@code{Helvetica}, @code{NewCenturySchlbk}, @code{Palatino} and +@code{Times}. The variable @code{ps-font-size} specifies the size of +the font for ordinary text. It defaults to 8.5 points. + +@vindex ps-multibyte-buffer +@cindex Intlfonts for PostScript printing +@cindex fonts for PostScript printing + Emacs supports more scripts and characters than a typical PostScript +printer. Thus, some of the characters in your buffer might not be +printable using the fonts built into your printer. You can augment +the fonts supplied with the printer with those from the GNU Intlfonts +package, or you can instruct Emacs to use Intlfonts exclusively. The +variable @code{ps-multibyte-buffer} controls this: the default value, +@code{nil}, is appropriate for printing @acronym{ASCII} and Latin-1 +characters; a value of @code{non-latin-printer} is for printers which +have the fonts for @acronym{ASCII}, Latin-1, Japanese, and Korean +characters built into them. A value of @code{bdf-font} arranges for +the BDF fonts from the Intlfonts package to be used for @emph{all} +characters. Finally, a value of @code{bdf-font-except-latin} +instructs the printer to use built-in fonts for @acronym{ASCII} and Latin-1 +characters, and Intlfonts BDF fonts for the rest. + +@vindex bdf-directory-list + To be able to use the BDF fonts, Emacs needs to know where to find +them. The variable @code{bdf-directory-list} holds the list of +directories where Emacs should look for the fonts; the default value +includes a single directory @file{/usr/local/share/emacs/fonts/bdf}. + + Many other customization variables for these commands are defined and +described in the Lisp files @file{ps-print.el} and @file{ps-mule.el}. + +@node Printing Package,, PostScript Variables, Printing +@section Printing Package +@cindex Printing package + + The basic Emacs facilities for printing hardcopy can be extended +using the Printing package. This provides an easy-to-use interface +for choosing what to print, previewing PostScript files before +printing, and setting various printing options such as print headers, +landscape or portrait modes, duplex modes, and so forth. On GNU/Linux +or Unix systems, the Printing package relies on the @file{gs} and +@file{gv} utilities, which are distributed as part of the GhostScript +program. On MS-Windows, the @file{gstools} port of Ghostscript can be +used. + +@findex pr-interface + To use the Printing package, add @code{(require 'printing)} to your +init file (@pxref{Init File}), followed by @code{(pr-update-menus)}. +This function replaces the usual printing commands in the menu bar +with a @samp{Printing} submenu that contains various printing options. +You can also type @kbd{M-x pr-interface RET}; this creates a +@samp{*Printing Interface*} buffer, similar to a customization buffer, +where you can set the printing options. After selecting what and how +to print, you start the print job using the @samp{Print} button (click +@kbd{mouse-2} on it, or move point over it and type @kbd{RET}). For +further information on the various options, use the @samp{Interface +Help} button. + +@node Sorting, Narrowing, Printing, Top +@section Sorting Text +@cindex sorting + + Emacs provides several commands for sorting text in the buffer. All +operate on the contents of the region. +They divide the text of the region into many @dfn{sort records}, +identify a @dfn{sort key} for each record, and then reorder the records +into the order determined by the sort keys. The records are ordered so +that their keys are in alphabetical order, or, for numeric sorting, in +numeric order. In alphabetic sorting, all upper-case letters `A' through +`Z' come before lower-case `a', in accord with the @acronym{ASCII} character +sequence. + + The various sort commands differ in how they divide the text into sort +records and in which part of each record is used as the sort key. Most of +the commands make each line a separate sort record, but some commands use +paragraphs or pages as sort records. Most of the sort commands use each +entire sort record as its own sort key, but some use only a portion of the +record as the sort key. + +@findex sort-lines +@findex sort-paragraphs +@findex sort-pages +@findex sort-fields +@findex sort-numeric-fields +@vindex sort-numeric-base +@table @kbd +@item M-x sort-lines +Divide the region into lines, and sort by comparing the entire +text of a line. A numeric argument means sort into descending order. + +@item M-x sort-paragraphs +Divide the region into paragraphs, and sort by comparing the entire +text of a paragraph (except for leading blank lines). A numeric +argument means sort into descending order. + +@item M-x sort-pages +Divide the region into pages, and sort by comparing the entire +text of a page (except for leading blank lines). A numeric +argument means sort into descending order. + +@item M-x sort-fields +Divide the region into lines, and sort by comparing the contents of +one field in each line. Fields are defined as separated by +whitespace, so the first run of consecutive non-whitespace characters +in a line constitutes field 1, the second such run constitutes field +2, etc. + +Specify which field to sort by with a numeric argument: 1 to sort by +field 1, etc. A negative argument means count fields from the right +instead of from the left; thus, minus 1 means sort by the last field. +If several lines have identical contents in the field being sorted, they +keep the same relative order that they had in the original buffer. + +@item M-x sort-numeric-fields +Like @kbd{M-x sort-fields} except the specified field is converted +to an integer for each line, and the numbers are compared. @samp{10} +comes before @samp{2} when considered as text, but after it when +considered as a number. By default, numbers are interpreted according +to @code{sort-numeric-base}, but numbers beginning with @samp{0x} or +@samp{0} are interpreted as hexadecimal and octal, respectively. + +@item M-x sort-columns +Like @kbd{M-x sort-fields} except that the text within each line +used for comparison comes from a fixed range of columns. See below +for an explanation. + +@item M-x reverse-region +Reverse the order of the lines in the region. This is useful for +sorting into descending order by fields or columns, since those sort +commands do not have a feature for doing that. +@end table + + For example, if the buffer contains this: + +@smallexample +On systems where clash detection (locking of files being edited) is +implemented, Emacs also checks the first time you modify a buffer +whether the file has changed on disk since it was last visited or +saved. If it has, you are asked to confirm that you want to change +the buffer. +@end smallexample + +@noindent +applying @kbd{M-x sort-lines} to the entire buffer produces this: + +@smallexample +On systems where clash detection (locking of files being edited) is +implemented, Emacs also checks the first time you modify a buffer +saved. If it has, you are asked to confirm that you want to change +the buffer. +whether the file has changed on disk since it was last visited or +@end smallexample + +@noindent +where the upper-case @samp{O} sorts before all lower-case letters. If +you use @kbd{C-u 2 M-x sort-fields} instead, you get this: + +@smallexample +implemented, Emacs also checks the first time you modify a buffer +saved. If it has, you are asked to confirm that you want to change +the buffer. +On systems where clash detection (locking of files being edited) is +whether the file has changed on disk since it was last visited or +@end smallexample + +@noindent +where the sort keys were @samp{Emacs}, @samp{If}, @samp{buffer}, +@samp{systems} and @samp{the}. + +@findex sort-columns + @kbd{M-x sort-columns} requires more explanation. You specify the +columns by putting point at one of the columns and the mark at the other +column. Because this means you cannot put point or the mark at the +beginning of the first line of the text you want to sort, this command +uses an unusual definition of ``region'': all of the line point is in is +considered part of the region, and so is all of the line the mark is in, +as well as all the lines in between. + + For example, to sort a table by information found in columns 10 to 15, +you could put the mark on column 10 in the first line of the table, and +point on column 15 in the last line of the table, and then run +@code{sort-columns}. Equivalently, you could run it with the mark on +column 15 in the first line and point on column 10 in the last line. + + This can be thought of as sorting the rectangle specified by point and +the mark, except that the text on each line to the left or right of the +rectangle moves along with the text inside the rectangle. +@xref{Rectangles}. + +@vindex sort-fold-case + Many of the sort commands ignore case differences when comparing, if +@code{sort-fold-case} is non-@code{nil}. + +@node Narrowing, Two-Column, Sorting, Top +@section Narrowing +@cindex widening +@cindex restriction +@cindex narrowing +@cindex accessible portion + + @dfn{Narrowing} means focusing in on some portion of the buffer, +making the rest temporarily inaccessible. The portion which you can +still get to is called the @dfn{accessible portion}. Canceling the +narrowing, which makes the entire buffer once again accessible, is +called @dfn{widening}. The bounds of narrowing in effect in a buffer +are called the buffer's @dfn{restriction}. + + Narrowing can make it easier to concentrate on a single subroutine or +paragraph by eliminating clutter. It can also be used to limit the +range of operation of a replace command or repeating keyboard macro. + +@table @kbd +@item C-x n n +Narrow down to between point and mark (@code{narrow-to-region}). +@item C-x n w +Widen to make the entire buffer accessible again (@code{widen}). +@item C-x n p +Narrow down to the current page (@code{narrow-to-page}). +@item C-x n d +Narrow down to the current defun (@code{narrow-to-defun}). +@end table + + When you have narrowed down to a part of the buffer, that part appears +to be all there is. You can't see the rest, you can't move into it +(motion commands won't go outside the accessible part), you can't change +it in any way. However, it is not gone, and if you save the file all +the inaccessible text will be saved. The word @samp{Narrow} appears in +the mode line whenever narrowing is in effect. + +@kindex C-x n n +@findex narrow-to-region + The primary narrowing command is @kbd{C-x n n} (@code{narrow-to-region}). +It sets the current buffer's restrictions so that the text in the current +region remains accessible, but all text before the region or after the +region is inaccessible. Point and mark do not change. + +@kindex C-x n p +@findex narrow-to-page +@kindex C-x n d +@findex narrow-to-defun + Alternatively, use @kbd{C-x n p} (@code{narrow-to-page}) to narrow +down to the current page. @xref{Pages}, for the definition of a page. +@kbd{C-x n d} (@code{narrow-to-defun}) narrows down to the defun +containing point (@pxref{Defuns}). + +@kindex C-x n w +@findex widen + The way to cancel narrowing is to widen with @kbd{C-x n w} +(@code{widen}). This makes all text in the buffer accessible again. + + You can get information on what part of the buffer you are narrowed down +to using the @kbd{C-x =} command. @xref{Position Info}. + + Because narrowing can easily confuse users who do not understand it, +@code{narrow-to-region} is normally a disabled command. Attempting to use +this command asks for confirmation and gives you the option of enabling it; +if you enable the command, confirmation will no longer be required for +it. @xref{Disabling}. + +@node Two-Column, Editing Binary Files, Narrowing, Top +@section Two-Column Editing +@cindex two-column editing +@cindex splitting columns +@cindex columns, splitting + + Two-column mode lets you conveniently edit two side-by-side columns of +text. It uses two side-by-side windows, each showing its own +buffer. + + There are three ways to enter two-column mode: + +@table @asis +@item @kbd{@key{F2} 2} or @kbd{C-x 6 2} +@kindex F2 2 +@kindex C-x 6 2 +@findex 2C-two-columns +Enter two-column mode with the current buffer on the left, and on the +right, a buffer whose name is based on the current buffer's name +(@code{2C-two-columns}). If the right-hand buffer doesn't already +exist, it starts out empty; the current buffer's contents are not +changed. + +This command is appropriate when the current buffer is empty or contains +just one column and you want to add another column. + +@item @kbd{@key{F2} s} or @kbd{C-x 6 s} +@kindex F2 s +@kindex C-x 6 s +@findex 2C-split +Split the current buffer, which contains two-column text, into two +buffers, and display them side by side (@code{2C-split}). The current +buffer becomes the left-hand buffer, but the text in the right-hand +column is moved into the right-hand buffer. The current column +specifies the split point. Splitting starts with the current line and +continues to the end of the buffer. + +This command is appropriate when you have a buffer that already contains +two-column text, and you wish to separate the columns temporarily. + +@item @kbd{@key{F2} b @var{buffer} @key{RET}} +@itemx @kbd{C-x 6 b @var{buffer} @key{RET}} +@kindex F2 b +@kindex C-x 6 b +@findex 2C-associate-buffer +Enter two-column mode using the current buffer as the left-hand buffer, +and using buffer @var{buffer} as the right-hand buffer +(@code{2C-associate-buffer}). +@end table + + @kbd{@key{F2} s} or @kbd{C-x 6 s} looks for a column separator, which +is a string that appears on each line between the two columns. You can +specify the width of the separator with a numeric argument to +@kbd{@key{F2} s}; that many characters, before point, constitute the +separator string. By default, the width is 1, so the column separator +is the character before point. + + When a line has the separator at the proper place, @kbd{@key{F2} s} +puts the text after the separator into the right-hand buffer, and +deletes the separator. Lines that don't have the column separator at +the proper place remain unsplit; they stay in the left-hand buffer, and +the right-hand buffer gets an empty line to correspond. (This is the +way to write a line that ``spans both columns while in two-column +mode'': write it in the left-hand buffer, and put an empty line in the +right-hand buffer.) + +@kindex F2 RET +@kindex C-x 6 RET +@findex 2C-newline + The command @kbd{C-x 6 @key{RET}} or @kbd{@key{F2} @key{RET}} +(@code{2C-newline}) inserts a newline in each of the two buffers at +corresponding positions. This is the easiest way to add a new line to +the two-column text while editing it in split buffers. + +@kindex F2 1 +@kindex C-x 6 1 +@findex 2C-merge + When you have edited both buffers as you wish, merge them with +@kbd{@key{F2} 1} or @kbd{C-x 6 1} (@code{2C-merge}). This copies the +text from the right-hand buffer as a second column in the other buffer. +To go back to two-column editing, use @kbd{@key{F2} s}. + +@kindex F2 d +@kindex C-x 6 d +@findex 2C-dissociate + Use @kbd{@key{F2} d} or @kbd{C-x 6 d} to dissociate the two buffers, +leaving each as it stands (@code{2C-dissociate}). If the other buffer, +the one not current when you type @kbd{@key{F2} d}, is empty, +@kbd{@key{F2} d} kills it. + +@node Editing Binary Files, Saving Emacs Sessions, Two-Column, Top +@section Editing Binary Files + +@cindex Hexl mode +@cindex mode, Hexl +@cindex editing binary files +@cindex hex editing + There is a special major mode for editing binary files: Hexl mode. To +use it, use @kbd{M-x hexl-find-file} instead of @kbd{C-x C-f} to visit +the file. This command converts the file's contents to hexadecimal and +lets you edit the translation. When you save the file, it is converted +automatically back to binary. + + You can also use @kbd{M-x hexl-mode} to translate an existing buffer +into hex. This is useful if you visit a file normally and then discover +it is a binary file. + + Ordinary text characters overwrite in Hexl mode. This is to reduce +the risk of accidentally spoiling the alignment of data in the file. +There are special commands for insertion. Here is a list of the +commands of Hexl mode: + +@c I don't think individual index entries for these commands are useful--RMS. +@table @kbd +@item C-M-d +Insert a byte with a code typed in decimal. + +@item C-M-o +Insert a byte with a code typed in octal. + +@item C-M-x +Insert a byte with a code typed in hex. + +@item C-x [ +Move to the beginning of a 1k-byte ``page.'' + +@item C-x ] +Move to the end of a 1k-byte ``page.'' + +@item M-g +Move to an address specified in hex. + +@item M-j +Move to an address specified in decimal. + +@item C-c C-c +Leave Hexl mode, going back to the major mode this buffer had before you +invoked @code{hexl-mode}. +@end table + +@noindent +Other Hexl commands let you insert strings (sequences) of binary +bytes, move by @code{short}s or @code{int}s, etc.; type @kbd{C-h a +hexl-@key{RET}} for details. + + +@node Saving Emacs Sessions, Recursive Edit, Editing Binary Files, Top +@section Saving Emacs Sessions +@cindex saving sessions +@cindex restore session +@cindex remember editing session +@cindex reload files +@cindex desktop + + Use the desktop library to save the state of Emacs from one session +to another. Once you save the Emacs @dfn{desktop}---the buffers, +their file names, major modes, buffer positions, and so on---then +subsequent Emacs sessions reload the saved desktop. + +@findex desktop-save +@vindex desktop-save-mode + You can save the desktop manually with the command @kbd{M-x +desktop-save}. You can also enable automatic saving of the desktop +when you exit Emacs, and automatic restoration of the last saved +desktop when Emacs starts: use the Customization buffer (@pxref{Easy +Customization}) to set @code{desktop-save-mode} to @code{t} for future +sessions, or add this line in your @file{~/.emacs} file: + +@example +(desktop-save-mode 1) +@end example + +@findex desktop-change-dir +@findex desktop-revert + If you turn on @code{desktop-save-mode} in your @file{~/.emacs}, +then when Emacs starts, it looks for a saved desktop in the current +directory. Thus, you can have separate saved desktops in different +directories, and the starting directory determines which one Emacs +reloads. You can save the current desktop and reload one saved in +another directory by typing @kbd{M-x desktop-change-dir}. Typing +@kbd{M-x desktop-revert} reverts to the desktop previously reloaded. + + Specify the option @samp{--no-desktop} on the command line when you +don't want it to reload any saved desktop. This turns off +@code{desktop-save-mode} for the current session. Starting Emacs with +the @samp{--no-init-file} option also disables desktop reloading, +since it bypasses the @file{.emacs} init file, where +@code{desktop-save-mode} is usually turned on. + +@vindex desktop-restore-eager + By default, all the buffers in the desktop are restored at one go. +However, this may be slow if there are a lot of buffers in the +desktop. You can specify the maximum number of buffers to restore +immediately with the variable @code{desktop-restore-eager}; the +remaining buffers are restored ``lazily,'' when Emacs is idle. + +@findex desktop-clear +@vindex desktop-globals-to-clear +@vindex desktop-clear-preserve-buffers-regexp + Type @kbd{M-x desktop-clear} to empty the Emacs desktop. This kills +all buffers except for internal ones, and clears the global variables +listed in @code{desktop-globals-to-clear}. If you want this to +preserve certain buffers, customize the variable +@code{desktop-clear-preserve-buffers-regexp}, whose value is a regular +expression matching the names of buffers not to kill. + + If you want to save minibuffer history from one session to +another, use the @code{savehist} library. + +@node Recursive Edit, Emulation, Saving Emacs Sessions, Top +@section Recursive Editing Levels +@cindex recursive editing level +@cindex editing level, recursive + + A @dfn{recursive edit} is a situation in which you are using Emacs +commands to perform arbitrary editing while in the middle of another +Emacs command. For example, when you type @kbd{C-r} inside of a +@code{query-replace}, you enter a recursive edit in which you can change +the current buffer. On exiting from the recursive edit, you go back to +the @code{query-replace}. + +@kindex C-M-c +@findex exit-recursive-edit +@cindex exiting recursive edit + @dfn{Exiting} the recursive edit means returning to the unfinished +command, which continues execution. The command to exit is @kbd{C-M-c} +(@code{exit-recursive-edit}). + + You can also @dfn{abort} the recursive edit. This is like exiting, +but also quits the unfinished command immediately. Use the command +@kbd{C-]} (@code{abort-recursive-edit}) to do this. @xref{Quitting}. + + The mode line shows you when you are in a recursive edit by displaying +square brackets around the parentheses that always surround the major and +minor mode names. Every window's mode line shows this in the same way, +since being in a recursive edit is true of Emacs as a whole rather than +any particular window or buffer. + + It is possible to be in recursive edits within recursive edits. For +example, after typing @kbd{C-r} in a @code{query-replace}, you may type a +command that enters the debugger. This begins a recursive editing level +for the debugger, within the recursive editing level for @kbd{C-r}. +Mode lines display a pair of square brackets for each recursive editing +level currently in progress. + + Exiting the inner recursive edit (such as with the debugger @kbd{c} +command) resumes the command running in the next level up. When that +command finishes, you can then use @kbd{C-M-c} to exit another recursive +editing level, and so on. Exiting applies to the innermost level only. +Aborting also gets out of only one level of recursive edit; it returns +immediately to the command level of the previous recursive edit. If you +wish, you can then abort the next recursive editing level. + + Alternatively, the command @kbd{M-x top-level} aborts all levels of +recursive edits, returning immediately to the top-level command reader. + + The text being edited inside the recursive edit need not be the same text +that you were editing at top level. It depends on what the recursive edit +is for. If the command that invokes the recursive edit selects a different +buffer first, that is the buffer you will edit recursively. In any case, +you can switch buffers within the recursive edit in the normal manner (as +long as the buffer-switching keys have not been rebound). You could +probably do all the rest of your editing inside the recursive edit, +visiting files and all. But this could have surprising effects (such as +stack overflow) from time to time. So remember to exit or abort the +recursive edit when you no longer need it. + + In general, we try to minimize the use of recursive editing levels in +GNU Emacs. This is because they constrain you to ``go back'' in a +particular order---from the innermost level toward the top level. When +possible, we present different activities in separate buffers so that +you can switch between them as you please. Some commands switch to a +new major mode which provides a command to switch back. These +approaches give you more flexibility to go back to unfinished tasks in +the order you choose. + +@node Emulation, Hyperlinking, Recursive Edit, Top +@section Emulation +@cindex emulating other editors +@cindex other editors +@cindex EDT +@cindex vi +@cindex PC key bindings +@cindex scrolling all windows +@cindex PC selection +@cindex Motif key bindings +@cindex Macintosh key bindings +@cindex WordStar + + GNU Emacs can be programmed to emulate (more or less) most other +editors. Standard facilities can emulate these: + +@table @asis +@item CRiSP/Brief (PC editor) +@findex crisp-mode +@vindex crisp-override-meta-x +@findex scroll-all-mode +@cindex CRiSP mode +@cindex Brief emulation +@cindex emulation of Brief +@cindex mode, CRiSP +You can turn on key bindings to emulate the CRiSP/Brief editor with +@kbd{M-x crisp-mode}. Note that this rebinds @kbd{M-x} to exit Emacs +unless you set the variable @code{crisp-override-meta-x}. You can +also use the command @kbd{M-x scroll-all-mode} or set the variable +@code{crisp-load-scroll-all} to emulate CRiSP's scroll-all feature +(scrolling all windows together). + +@item EDT (DEC VMS editor) +@findex edt-emulation-on +@findex edt-emulation-off +Turn on EDT emulation with the command @kbd{M-x edt-emulation-on}, +while @kbd{M-x edt-emulation-off} restores normal Emacs command +bindings. + +Most of the EDT emulation commands are keypad keys, and most standard +Emacs key bindings are still available. The EDT emulation rebindings +are done in the global keymap, so there is no problem switching +buffers or major modes while in EDT emulation. + +@item TPU (DEC VMS editor) +@findex tpu-edt-on +@cindex TPU +@kbd{M-x tpu-edt-on} turns on emulation of the TPU editor emulating EDT. + +@item vi (Berkeley editor) +@findex viper-mode +Viper is the newest emulator for vi. It implements several levels of +emulation; level 1 is closest to vi itself, while level 5 departs +somewhat from strict emulation to take advantage of the capabilities of +Emacs. To invoke Viper, type @kbd{M-x viper-mode}; it will guide you +the rest of the way and ask for the emulation level. @inforef{Top, +Viper, viper}. + +@item vi (another emulator) +@findex vi-mode +@kbd{M-x vi-mode} enters a major mode that replaces the previously +established major mode. All of the vi commands that, in real vi, enter +``input'' mode are programmed instead to return to the previous major +mode. Thus, ordinary Emacs serves as vi's ``input'' mode. + +Because vi emulation works through major modes, it does not work +to switch buffers during emulation. Return to normal Emacs first. + +If you plan to use vi emulation much, you probably want to bind a key +to the @code{vi-mode} command. + +@item vi (alternate emulator) +@findex vip-mode +@kbd{M-x vip-mode} invokes another vi emulator, said to resemble real vi +more thoroughly than @kbd{M-x vi-mode}. ``Input'' mode in this emulator +is changed from ordinary Emacs so you can use @key{ESC} to go back to +emulated vi command mode. To get from emulated vi command mode back to +ordinary Emacs, type @kbd{C-z}. + +This emulation does not work through major modes, and it is possible +to switch buffers in various ways within the emulator. It is not +so necessary to assign a key to the command @code{vip-mode} as +it is with @code{vi-mode} because terminating insert mode does +not use it. + +@inforef{Top, VIP, vip}, for full information. + +@item WordStar (old wordprocessor) +@findex wordstar-mode +@kbd{M-x wordstar-mode} provides a major mode with WordStar-like +key bindings. +@end table + +@node Hyperlinking, Dissociated Press, Emulation, Top +@section Hyperlinking and Navigation Features + +@cindex hyperlinking +@cindex navigation + Various modes documented elsewhere have hypertext features so that +you can follow links, usually by clicking @kbd{Mouse-2} on the link or +typing @key{RET} while point is on the link. Clicking @kbd{Mouse-1} +quickly on the link also follows it. (Hold @kbd{Mouse-1} for longer +if you want to set point instead.) + + Info mode, Help mode and the Dired-like modes are examples of modes +that have links in the buffer. The Tags facility links between uses +and definitions in source files, see @ref{Tags}. Imenu provides +navigation amongst items indexed in the current buffer, see +@ref{Imenu}. Info-lookup provides mode-specific lookup of definitions +in Info indexes, see @ref{Documentation}. Speedbar maintains a frame +in which links to files, and locations in files are displayed, see +@ref{Speedbar}. + + Other non-mode-specific facilities described in this section enable +following links from the current buffer in a context-sensitive +fashion. + +@menu +* Browse-URL:: Following URLs. +* Goto-address:: Activating URLs. +* FFAP:: Finding files etc. at point. +@end menu + +@node Browse-URL +@subsection Following URLs +@cindex World Wide Web +@cindex Web +@findex browse-url +@findex browse-url-at-point +@findex browse-url-at-mouse +@cindex Browse-URL +@cindex URLs + +@table @kbd +@item M-x browse-url @key{RET} @var{url} @key{RET} +Load a URL into a Web browser. +@end table + +The Browse-URL package provides facilities for following URLs specifying +links on the World Wide Web. Usually this works by invoking a web +browser, but you can, for instance, arrange to invoke @code{compose-mail} +from @samp{mailto:} URLs. + + The general way to use this feature is to type @kbd{M-x browse-url}, +which displays a specified URL. If point is located near a plausible +URL, that URL is used as the default. Other commands are available +which you might like to bind to keys, such as +@code{browse-url-at-point} and @code{browse-url-at-mouse}. + +@vindex browse-url-browser-function + You can customize Browse-URL's behavior via various options in the +@code{browse-url} Customize group, particularly +@code{browse-url-browser-function}. You can invoke actions dependent +on the type of URL by defining @code{browse-url-browser-function} as +an association list. The package's commentary available via @kbd{C-h +p} under the @samp{hypermedia} keyword provides more information. +Packages with facilities for following URLs should always go through +Browse-URL, so that the customization options for Browse-URL will +affect all browsing in Emacs. + +@node Goto-address +@subsection Activating URLs +@findex goto-address +@cindex Goto-address +@cindex URLs, activating + +@table @kbd +@item M-x goto-address +Activate URLs and e-mail addresses in the current buffer. +@end table + + You can make URLs in the current buffer active with @kbd{M-x +goto-address}. This finds all the URLs in the buffer, and establishes +bindings for @kbd{Mouse-2} and @kbd{C-c @key{RET}} on them. After +activation, if you click on a URL with @kbd{Mouse-2}, or move to a URL +and type @kbd{C-c @key{RET}}, that will display the web page that the URL +specifies. For a @samp{mailto} URL, it sends mail instead, using your +selected mail-composition method (@pxref{Mail Methods}). + + It can be useful to add @code{goto-address} to mode hooks and the +hooks used to display an incoming message. +@code{rmail-show-message-hook} is the appropriate hook for Rmail, and +@code{mh-show-mode-hook} for MH-E. This is not needed for Gnus, +which has a similar feature of its own. + + +@node FFAP +@subsection Finding Files and URLs at Point +@findex find-file-at-point +@findex ffap +@findex dired-at-point +@findex ffap-next +@findex ffap-menu +@cindex finding file at point + + FFAP mode replaces certain key bindings for finding files, including +@kbd{C-x C-f}, with commands that provide more sensitive defaults. +These commands behave like the ordinary ones when given a prefix +argument. Otherwise, they get the default file name or URL from the +text around point. If what is found in the buffer has the form of a +URL rather than a file name, the commands use @code{browse-url} to +view it. + + This feature is useful for following references in mail or news +buffers, @file{README} files, @file{MANIFEST} files, and so on. The +@samp{ffap} package's commentary available via @kbd{C-h p} under the +@samp{files} keyword and the @code{ffap} Custom group provide details. + +@cindex FFAP minor mode +@findex ffap-mode + You can turn on FFAP minor mode by calling @code{ffap-bindings} to +make the following key bindings and to install hooks for using +@code{ffap} in Rmail, Gnus and VM article buffers. + +@table @kbd +@item C-x C-f @var{filename} @key{RET} +@kindex C-x C-f @r{(FFAP)} +Find @var{filename}, guessing a default from text around point +(@code{find-file-at-point}). +@item C-x C-r +@kindex C-x C-r @r{(FFAP)} +@code{ffap-read-only}, analogous to @code{find-file-read-only}. +@item C-x C-v +@kindex C-x C-v @r{(FFAP)} +@code{ffap-alternate-file}, analogous to @code{find-alternate-file}. +@item C-x d @var{directory} @key{RET} +@kindex C-x d @r{(FFAP)} +Start Dired on @var{directory}, defaulting to the directory name at +point (@code{dired-at-point}). +@item C-x C-d +@code{ffap-list-directory}, analogous to @code{list-directory}. +@item C-x 4 f +@kindex C-x 4 f @r{(FFAP)} +@code{ffap-other-window}, analogous to @code{find-file-other-window}. +@item C-x 4 r +@code{ffap-read-only-other-window}, analogous to +@code{find-file-read-only-other-window}. +@item C-x 4 d +@code{ffap-dired-other-window}, analogous to @code{dired-other-window}. +@item C-x 5 f +@kindex C-x 5 f @r{(FFAP)} +@code{ffap-other-frame}, analogous to @code{find-file-other-frame}. +@item C-x 5 r +@code{ffap-read-only-other-frame}, analogous to +@code{find-file-read-only-other-frame}. +@item C-x 5 d +@code{ffap-dired-other-frame}, analogous to @code{dired-other-frame}. +@item M-x ffap-next +Search buffer for next file name or URL, then find that file or URL. +@item S-Mouse-3 +@kindex S-Mouse-3 @r{(FFAP)} +@code{ffap-at-mouse} finds the file guessed from text around the position +of a mouse click. +@item C-S-Mouse-3 +@kindex C-S-Mouse-3 @r{(FFAP)} +Display a menu of files and URLs mentioned in current buffer, then +find the one you select (@code{ffap-menu}). +@end table + +@node Dissociated Press, Amusements, Hyperlinking, Top +@section Dissociated Press + +@findex dissociated-press + @kbd{M-x dissociated-press} is a command for scrambling a file of text +either word by word or character by character. Starting from a buffer of +straight English, it produces extremely amusing output. The input comes +from the current Emacs buffer. Dissociated Press writes its output in a +buffer named @samp{*Dissociation*}, and redisplays that buffer after every +couple of lines (approximately) so you can read the output as it comes out. + + Dissociated Press asks every so often whether to continue generating +output. Answer @kbd{n} to stop it. You can also stop at any time by +typing @kbd{C-g}. The dissociation output remains in the +@samp{*Dissociation*} buffer for you to copy elsewhere if you wish. + +@cindex presidentagon + Dissociated Press operates by jumping at random from one point in the +buffer to another. In order to produce plausible output rather than +gibberish, it insists on a certain amount of overlap between the end of +one run of consecutive words or characters and the start of the next. +That is, if it has just output `president' and then decides to jump +to a different point in the file, it might spot the `ent' in `pentagon' +and continue from there, producing `presidentagon'.@footnote{This +dissociword actually appeared during the Vietnam War, when it was very +appropriate. Bush has made it appropriate again.} Long sample texts +produce the best results. + +@cindex againformation + A positive argument to @kbd{M-x dissociated-press} tells it to operate +character by character, and specifies the number of overlap characters. A +negative argument tells it to operate word by word, and specifies the number +of overlap words. In this mode, whole words are treated as the elements to +be permuted, rather than characters. No argument is equivalent to an +argument of two. For your againformation, the output goes only into the +buffer @samp{*Dissociation*}. The buffer you start with is not changed. + +@cindex Markov chain +@cindex ignoriginal +@cindex techniquitous + Dissociated Press produces results fairly like those of a Markov +chain based on a frequency table constructed from the sample text. It +is, however, an independent, ignoriginal invention. Dissociated Press +techniquitously copies several consecutive characters from the sample +between random choices, whereas a Markov chain would choose randomly +for each word or character. This makes for more plausible sounding +results, and runs faster. + +@cindex outragedy +@cindex buggestion +@cindex properbose +@cindex mustatement +@cindex developediment +@cindex userenced + It is a mustatement that too much use of Dissociated Press can be a +developediment to your real work, sometimes to the point of outragedy. +And keep dissociwords out of your documentation, if you want it to be well +userenced and properbose. Have fun. Your buggestions are welcome. + +@node Amusements, Customization, Dissociated Press, Top +@section Other Amusements +@cindex boredom +@findex hanoi +@findex yow +@findex gomoku +@cindex tower of Hanoi + + If you are a little bit bored, you can try @kbd{M-x hanoi}. If you are +considerably bored, give it a numeric argument. If you are very, very +bored, try an argument of 9. Sit back and watch. + +@cindex Go Moku + If you want a little more personal involvement, try @kbd{M-x gomoku}, +which plays the game Go Moku with you. + +@findex blackbox +@findex mpuz +@findex 5x5 +@cindex puzzles + @kbd{M-x blackbox}, @kbd{M-x mpuz} and @kbd{M-x 5x5} are puzzles. +@code{blackbox} challenges you to determine the location of objects +inside a box by tomography. @code{mpuz} displays a multiplication +puzzle with letters standing for digits in a code that you must +guess---to guess a value, type a letter and then the digit you think it +stands for. The aim of @code{5x5} is to fill in all the squares. + +@findex decipher +@cindex ciphers +@cindex cryptanalysis +@kbd{M-x decipher} helps you to cryptanalyze a buffer which is encrypted +in a simple monoalphabetic substitution cipher. + +@findex dunnet + @kbd{M-x dunnet} runs an adventure-style exploration game, which is +a bigger sort of puzzle. + +@findex lm +@cindex landmark game +@kbd{M-x lm} runs a relatively non-participatory game in which a robot +attempts to maneuver towards a tree at the center of the window based on +unique olfactory cues from each of the four directions. + +@findex life +@cindex Life +@kbd{M-x life} runs Conway's ``Life'' cellular automaton. + +@findex morse-region +@findex unmorse-region +@cindex Morse code +@cindex --/---/.-./.../. +@kbd{M-x morse-region} converts text in a region to Morse code and +@kbd{M-x unmorse-region} converts it back. No cause for remorse. + +@findex pong +@cindex Pong game +@kbd{M-x pong} plays a Pong-like game, bouncing the ball off opposing +bats. + +@findex solitaire +@cindex solitaire +@kbd{M-x solitaire} plays a game of solitaire in which you jump pegs +across other pegs. + +@findex studlify-region +@cindex StudlyCaps +@kbd{M-x studlify-region} studlify-cases the region, producing +text like this: + +@example +M-x stUdlIfY-RegioN stUdlIfY-CaSeS thE region. +@end example + +@findex tetris +@cindex Tetris +@findex snake +@cindex Snake +@kbd{M-x tetris} runs an implementation of the well-known Tetris game. +Likewise, @kbd{M-x snake} provides an implementation of Snake. + + When you are frustrated, try the famous Eliza program. Just do +@kbd{M-x doctor}. End each input by typing @key{RET} twice. + +@cindex Zippy + When you are feeling strange, type @kbd{M-x yow}. + +@findex zone +The command @kbd{M-x zone} plays games with the display when Emacs is +idle. + +@ifnottex +@lowersections +@end ifnottex + +@ignore + arch-tag: 8f094220-c0d5-4e9e-af7d-3e0da8187474 +@end ignore diff --cc doc/lispref/ChangeLog index e74d8889e01,00000000000..282fa19bfa1 mode 100644,000000..100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@@ -1,6387 -1,0 +1,6403 @@@ +2007-10-26 Richard Stallman + + * objects.texi (Equality Predicates): Null strings are uniquified. + + * minibuf.texi: Minor clarifications in previous change. + +2007-10-25 Glenn Morris + + * customize.texi (Variable Definitions): Add :risky and :safe keywords. + ++2007-10-24 Richard Stallman ++ ++ * elisp.texi (Top): Delete Frame-Local Variables from subnode menu. ++ ++ * variables.texi (Frame-Local Variables): Node deleted. ++ (Variables): Delete Frame-Local Variables from menu. ++ (Local Variables, Buffer-Local Variables, Intro to Buffer-Local) ++ (Default Value): Don't mention frame-local vars. ++ ++ * os.texi (Idle Timers): current-idle-time returns nil if not idle. ++ ++ * loading.texi (Unloading): Document FEATURE-unload-function ++ instead of FEATURE-unload-hook. ++ ++ * frames.texi (Multiple Displays): Don't mention frame-local vars. ++ +2007-10-22 Juri Linkov + + * minibuf.texi (Text from Minibuffer, Minibuffer Completion) + (High-Level Completion): Document a list of default value strings + in the DEFAULT argument, for which minibuffer functions return the + first element. + +2007-10-17 Juri Linkov + + * text.texi (Filling): Update arguments of fill-paragraph. + fill-paragraph operates on the active region in Transient Mark mode. + Remove fill-paragraph-or-region. + +2007-10-13 Karl Berry + + * elisp.texi (@dircategory): Move to after @copying, + since we want @copying as close as possible to the beginning of + the output. + +2007-10-12 Richard Stallman + + * elisp.texi (Top): Add Distinguish Interactive to subnode menu. + + * commands.texi (Distinguish Interactive): New node, + broken out from Interactive Call and rewritten. + (Command Loop): Put Distinguish Interactive in menu. + +2007-10-09 Richard Stallman + + * text.texi (Examining Properties): Mention overlay priority. + + * display.texi (Display Margins): Correct the description + of margin display specifications. + (Replacing Specs): New subnode broken out of Display Property. + +2007-10-06 Juri Linkov + + * text.texi (Filling): Document fill-paragraph-or-region. + +2007-10-05 Juanma Barranquero + + * display.texi (Auto Faces): Fix typo. + +2007-10-02 Richard Stallman + + * display.texi (Display Property): Explain some display specs + don't let you move point in. + + * frames.texi (Cursor Parameters): Describe + cursor-in-non-selected-windows here. Explain more values. + + * windows.texi (Basic Windows): Don't describe + cursor-in-non-selected-windows here. + +2007-10-01 Eli Zaretskii + + * processes.texi (Misc Network): Note that these functions are + supported only on some systems. + +2007-10-01 Richard Stallman + + * display.texi (Overlay Properties): Explain nil as priority. + Explain that conflicts are unpredictable if not resolved by + priorities. + +2007-09-23 Richard Stallman + + * macros.texi (Backquote): Minor clarification. + +2007-09-19 Richard Stallman + + * display.texi (Display Property): Explain multiple display specs. + Clarify when they work in parallel and when one overrides. + Fix error in example. + +2007-09-06 Glenn Morris + + * Move from lispref/ to doc/lispref/. Change all setfilename + commands to use ../../info. + * Makefile.in (infodir): Go up one more level. + (usermanualdir): Change from ../man to ../emacs. + (miscmanualdir): New. + (dist): Use new variable miscmanualdir. + * makefile.w32-in (infodir, texinputdir): Go up one more level. + (usermanualdir): Change from ../man to ../emacs. + +2007-08-30 Martin Rudalics + + * commands.texi (Command Loop Info): Advise against changing + most variables described here. Explain new variable + last-repeatable-command. + +2007-08-29 Glenn Morris + + * elisp.texi (EMACSVER): Increase to 23.0.50. + +2007-08-29 Dan Nicolaescu + + * frames.texi (Basic Parameters): Add display-environment-variable + and term-environment-variable. + +2007-08-28 Juri Linkov + + * display.texi (Image Formats, Other Image Types): Add SVG. + +2007-08-28 Juri Linkov + + * display.texi (Images): Move formats-related text to new node + "Image Formats". + (Image Formats): New node. + +2007-08-27 Richard Stallman + + * windows.texi (Window Configurations): Clarify what + a window configuration saves. + +2007-08-25 Richard Stallman + + * display.texi (Images): Delete redundant @findex. + +2007-08-16 Richard Stallman + + * processes.texi (Asynchronous Processes): Clarify + doc of start-file-process. + +2007-08-08 Martin Rudalics + + * modes.texi (Example Major Modes): Fix typo. + +2007-08-08 Glenn Morris + + * intro.texi (nil and t): Do not use `iff' in documentation. + + * tips.texi (Documentation Tips): Recommend against `iff'. + +2007-08-07 Chong Yidong + + * display.texi (Image Cache): Document image-refresh. + +2007-08-06 Martin Rudalics + + * windows.texi (Size of Window): Document window-full-width-p. + +2007-07-25 Glenn Morris + + * gpl.texi (GPL): Replace license with GPLv3. + + * Relicense all FSF files to GPLv3 or later. + +2007-07-24 Michael Albinus + + * processes.texi (Synchronous Processes): + Add `process-file-shell-command'. + (Asynchronous Processes): Mention restricted use of + `process-filter' and `process-sentinel' in + `start-file-process'. Add `start-file-process-shell-command'. + +2007-07-17 Michael Albinus + + * files.texi (Magic File Names): Introduce optional parameter + IDENTIFICATION for `file-remote-p'. + +2007-07-16 Richard Stallman + + * display.texi (Defining Faces): Fix previous change. + +2007-07-14 Richard Stallman + + * control.texi (Handling Errors): Document `debug' in handler list. + +2007-07-10 Richard Stallman + + * display.texi (Defining Faces): Explain C-M-x feature for defface. + +2007-07-09 Richard Stallman + + * files.texi (Magic File Names): Rewrite previous change. + +2007-07-08 Michael Albinus + + * files.texi (Magic File Names): Introduce optional parameter + CONNECTED for `file-remote-p'. + +2007-07-07 Michael Albinus + + * processes.texi (Asynchronous Processes): + * files.texi (Magic File Names): Add `start-file-process'. + +2007-06-27 Richard Stallman + + * files.texi (Format Conversion Piecemeal): Clarify + `after-insert-file-functions' calling convention. + +2007-06-27 Michael Albinus + + * files.texi (Magic File Names): Remove `dired-call-process'. + Add `process-file'. + +2007-06-27 Kenichi Handa + + * text.texi (Special Properties): Fix description about + `composition' property. + +2007-06-26 Kenichi Handa + + * nonascii.texi (Default Coding Systems): Document about the + return value `undecided'. + +2007-06-25 David Kastrup + + * keymaps.texi (Active Keymaps): Document new POSITION argument of + `current-active-maps'. + +2007-06-24 Karl Berry + + * elisp.texi, vol1.texi, vol2.texi: New Back-Cover Text. + +2007-06-15 Juanma Barranquero + + * display.texi (Overlay Arrow): Doc fix. + +2007-06-14 Karl Berry + + * anti.texi (Antinews): Typo. + +2007-06-14 Chong Yidong + + * display.texi (Image Cache): Document image-refresh. + +2007-06-12 Karl Berry + + * vol1.texi, vol2.texi, two-volume-cross-refs.txt: Update. + * two-volume.make: New file. + * .cvsignore: Ignore two-volume files. + +2007-06-12 Tom Tromey + + * os.texi (Init File): Document user-emacs-directory. + +2007-06-03 Nick Roberts + + * commands.texi (Click Events): Describe width and height when + object is nil. + +2007-05-30 Nick Roberts + + * commands.texi (Click Events): Layout more logically. Describe + width and height. + (Drag Events, Motion Events): Update to new format for position. + +2007-06-02 Richard Stallman + + * frames.texi (Color Parameters): Add xref to (emacs)Standard Faces. + +2007-06-02 Chong Yidong + + * Version 22.1 released. + +2007-06-01 Stefan Monnier + + * text.texi (Special Properties): Correct meaning of fontified face. + +2007-05-30 Richard Stallman + + * text.texi (Special Properties): Add link to Adjusting Point. + +2007-05-12 Richard Stallman + + * text.texi (Margins): indent-to-left-margin is not the default. + (Mode-Specific Indent): For indent-line-function, the default + is indent-relative. + + * modes.texi (Example Major Modes): Explain last line of text-mode + is redundant. + +2007-05-10 Richard Stallman + + * keymaps.texi (Scanning Keymaps): Update where-is-internal example. + + * help.texi (Keys in Documentation): Add reference to + Documentation Tips. + + * files.texi (Format Conversion): TO-FN gets three arguments. + + * modes.texi (Auto Major Mode): Document file-start-mode-alist. + +2007-05-10 Thien-Thi Nguyen + + * elisp.texi (Top): Remove "Saving Properties" from detailed menu. + * files.texi (Format Conversion): Expand intro; add menu. + (Format Conversion Overview, Format Conversion Round-Trip) + (Format Conversion Piecemeal): New nodes/subsections. + * hooks.texi: Xref "Format Conversion" , not "Saving Properties". + * text.texi (Text Properties): Remove "Saving Properties" from menu. + (Saving Properties): Delete node/subsection. + +2007-05-07 Karl Berry + + * elisp.texi (EMACSVER): Back to 22. + +2007-05-06 Richard Stallman + + * processes.texi (Accepting Output): Revert most of previous change. + +2007-05-05 Richard Stallman + + * processes.texi (Accepting Output): accept-process-output + uses microseconds, not milliseconds. But that arg is obsolete. + +2007-05-04 Karl Berry + + * elisp.texi (EMACSVER) [smallbook]: 22.1, not 22. + +2007-05-04 Eli Zaretskii + + * tips.texi (Documentation Tips): Rearrange items to place the + more important ones first. Add an index entry for hyperlinks. + +2007-05-03 Karl Berry + + * elisp.texi (\urlcolor, \linkcolor) [smallbook]: \Black for printing. + (EMACSVER) [smallbook]: 22 for printed version. + + * control.texi (Signaling Errors) : texinfo.tex is fixed, + so restore anchor to normal position after defun. Found by Kevin Ryde. + +2007-04-26 Glenn Morris + + * elisp.texi (EMACSVER): Increase to 22.1.50. + +2007-04-28 Karl Berry + + * elisp.texi: Improve line breaks on copyright page, + similar layout to emacs manual, 8.5x11 by default. + +2007-04-24 Richard Stallman + + * text.texi (Special Properties): Add xref to Overlay Properties. + + * display.texi (Overlay Properties): Add xref to Special Properties. + +2007-04-22 Richard Stallman + + * keymaps.texi (Extended Menu Items): Move the info about + format with cached keyboard binding. + +2007-04-21 Richard Stallman + + * text.texi (Special Properties): Clarify previous change. + + * files.texi (File Name Expansion): Clarify previous change. + + * display.texi (Attribute Functions): Fix example for + face-attribute-relative-p. + +2007-04-19 Kenichi Handa + + * text.texi (Special Properties): Document composition property. + +2007-04-19 Glenn Morris + + * files.texi (File Name Expansion): Mention "superroot". + +2007-04-15 Chong Yidong + + * frames.texi (Multiple Displays): Add note about "multi-monitor" + setups. + (Display Feature Testing): Note that display refers to all + physical monitors for multi-monitor setups. + +2007-04-14 Richard Stallman + + * lists.texi (Sets And Lists): Clarify `delete' examples. + Remove spurious xref to same node. + Clarify xref for add-to-list. + +2007-04-12 Nick Roberts + + * keymaps.texi (Format of Keymaps): Remove spurious ")" from + value of lisp-mode-map. + +2007-04-11 Karl Berry + + * anti.texi (Antinews): + * display.texi (Overlay Properties, Defining Images): + * processes.texi (Synchronous Processes, Sentinels): + * syntax.texi (Syntax Table Internals): + * searching.texi (Regexp Special): + * nonascii.texi (Default Coding Systems): + * text.texi (Special Properties): + * minibuf.texi (Basic Completion): Wording to improve breaks in + 8.5x11 format. + * elisp.texi (smallbook): New @set to more easily switch between + smallbook and 8.5x11. + +2007-04-11 Richard Stallman + + * text.texi (Lazy Properties): Minor fix. + +2007-04-08 Karl Berry + + * symbols.texi (Plists and Alists): Period after "vs" in index entries. + * macros.texi (Backquote): Downcase Backquote in index entries for + consistency. + +2007-04-08 Richard Stallman + + * text.texi (Adaptive Fill): Just describe default, + don't show it (since it contains non-ASCII chars). + +2007-04-07 Karl Berry + + * text.texi (Adaptive Fill) [@iftex]: Omit binary characters in + adaptive-fill-regexp's value, since they are not in the standard + TeX fonts. + +2007-04-07 Guanpeng Xu + + * display.texi (Defining Faces): Fix example. + +2007-04-07 Karl Berry + + * display.texi (Button Buffer Commands): Improve page break. + +2007-04-07 Richard Stallman + + * advice.texi (Activation of Advice): Remove redundant index entry. + + * backups.texi: Improve index entries. Remove redundant ones. + + * compile.texi (Byte Compilation): Improve index entry. + + * hash.texi (Creating Hash): Improve index entry. + + * symbols.texi (Definitions): Improve index entry. + + * edebug.texi: Improve index entries. Remove redundant/useless ones. + + * maps.texi (Standard Keymaps): Remove useless index entry. + + * help.texi (Documentation Basics): Remove redundant index entries. + + * customize.texi: Improve index entries. + Remove redundant/useless ones. + + * locals.texi (Standard Buffer-Local Variables): Clarify intro text. + + * streams.texi (Output Variables): Improve index entry. + + * abbrevs.texi (Abbrevs): Remove useless index entry. + + * macros.texi (Expansion): Remove useless index entry. + + * text.texi: Improve index entries. Remove redundant/useless ones. + (Text Properties, Examining Properties) + (Special Properties): Use "property category" instead of "category" + to refer to the `category' property. + + * positions.texi: Improve index entries. Remove useless one. + + * lists.texi: Improve index entries. Remove redundant/useless ones. + + * os.texi: Improve index entries. + (Timers): Fix previous change. + + * buffers.texi: Improve index entries. + (Modification Time): Get rid of term "obsolete buffer". + + * debugging.texi: Improve index entries. + (Test Coverage): Add xref to other test coverage ftr. + + * eval.texi: Improve index entry. Remove redundant ones. + + * numbers.texi: Improve index entries. Remove redundant/useless ones. + + * files.texi: Improve index entries. Remove redundant/useless ones. + + * objects.texi: Improve index entries. + + * processes.texi: Improve index entries. + + * modes.texi: Improve index entry. Remove redundant one. + + * nonascii.texi: Improve index entries. + + * internals.texi: Improve index entries. + + * syntax.texi: Improve index entries. + + * keymaps.texi (Active Keymaps): Improve index entries. + + * commands.texi: Improve index entries. Remove redundant/useless ones. + + * frames.texi: Improve index entries. Remove redundant/useless ones. + + * markers.texi: Improve index entries. Remove redundant ones. + + * tips.texi: Improve index entries. + + * loading.texi (Unloading): Improve index entry. + + * variables.texi: Improve index entries. Remove redundant one. + + * sequences.texi: Improve index entry. + + * display.texi: Improve index entries. Remove redundant ones. + + * windows.texi: Improve index entries. + + * searching.texi: Improve index entries. Remove redundant one. + + * strings.texi (Case Tables): Improve last change. + +2007-04-04 Chong Yidong + + * strings.texi (Case Tables): Document with-case-table and + ascii-case-table. + +2007-04-03 Karl Berry + + * processes.texi (Network): Reword to improve page break. + +2007-04-03 Eli Zaretskii + + * functions.texi (Inline Functions): Describe more disadvantages + of defsubst, and make advice against it stronger. + +2007-04-02 Karl Berry + + * backups.texi (Backup Names): Avoid widow words. + * modes.texi (Example Major Modes): Align last comment. + +2007-04-01 Chong Yidong + + * keymaps.texi (Remapping Commands): Document new arg to + command-remapping. + +2007-04-01 Karl Berry + + * processes.texi (Low-Level Network): Typo. + * loading.texi (Hooks for Loading): Avoid double "the". + * keymaps.texi (Key Sequences): No double "and". + (Changing Key Bindings): Shorten to improve line break. + +2007-03-31 Glenn Morris + + * os.texi (Timers): Fix description of run-at-time TIME formats. + +2007-03-31 Richard Stallman + + * display.texi (Invisible Text): Correct buffer-invisibility-spec + regarding ellipsis. + +2007-03-31 Eli Zaretskii + + * intro.texi (nil and t): + * symbols.texi (Plists and Alists): + * variables.texi (Variable Aliases, Constant Variables): + * functions.texi (Defining Functions): + * advice.texi (Advising Primitives): + * debugging.texi (Syntax Errors, Compilation Errors): + * minibuf.texi (Minibuffer Windows): + * commands.texi (Adjusting Point): + * modes.texi (Syntactic Font Lock, Faces for Font Lock) + (Auto Major Mode, Major Mode Conventions): + * help.texi (Describing Characters): + * files.texi (Create/Delete Dirs, Information about Files) + (File Locks, Writing to Files, Reading from Files) + (Saving Buffers): + * windows.texi (Resizing Windows, Cyclic Window Ordering): + * frames.texi (Finding All Frames): + * positions.texi (Buffer End, Motion): + * markers.texi (The Region): + * text.texi (Deletion, Near Point): + * display.texi (Displaying Messages, Truncation): + * os.texi (Processor Run Time): + * tips.texi (Key Binding Conventions, Programming Tips) + (Warning Tips, Documentation Tips, Comment Tips): + * internals.texi (Memory Usage): Improve indexing. + + * variables.texi (Frame-Local Variables): + * functions.texi (Argument List): + * loading.texi (Library Search): + * streams.texi (Output Variables): + * keymaps.texi (Translation Keymaps, Searching Keymaps): + * searching.texi (Replacing Match, Search and Replace): + * processes.texi (Byte Packing, Decoding Output) + (Accepting Output, Network Servers, Shell Arguments): + * display.texi (Abstract Display, Image Cache, Scroll Bars): + * windows.texi (Window Point, Window Start): + * frames.texi (Management Parameters, Frame Parameters, Frame Titles): + * commands.texi (Reading Input, Keyboard Events): + * minibuf.texi (Reading File Names, Minibuffer Completion) + (Recursive Mini): + * positions.texi (List Motion): + * hash.texi (Hash Tables, Creating Hash, Defining Hash): + * numbers.texi (Arithmetic Operations, Math Functions) + (Predicates on Numbers, Comparison of Numbers): + (Numeric Conversions): + * locals.texi (Standard Buffer-Local Variables): + * maps.texi (Standard Keymaps): + * os.texi (User Identification, System Environment, Recording Input) + (X11 Keysyms): + * nonascii.texi (Non-ASCII Characters, Splitting Characters): + * backups.texi (Backups and Auto-Saving): + * customize.texi (Customization, Group Definitions) + (Variable Definitions): + * compile.texi (Byte Compilation): Improve index entries. + +2007-03-31 Karl Berry + + * macros.texi (Defining Macros): Avoid widow syllable. + +2007-03-31 Eli Zaretskii + + * elisp.texi (Top): Postscript -> PostScript. + + * display.texi (Images, Postscript Images): Postscript -> PostScript. + +2007-03-31 Markus Triska + + * internals.texi (Writing Emacs Primitives): Untabify `For'. + +2007-03-30 Karl Berry + + * lists.texi (List-related Predicates): Remove spurious @need. + (Setcdr): Use @smallexample to improve page break. + (Association Lists) : Reword to improve page break. + + * strings.texi (String Conversion): Insert blank line to improve + page break. + + * numbers.texi (Random Numbers): Use @minus{}. + (Math Functions): Use @minus{}. + + * intro.texi (Acknowledgements): Avoid line breaks before middle + initials. + +2007-03-24 Eli Zaretskii + + * errors.texi (Standard Errors): Add an index entry. + +2007-03-19 Richard Stallman + + * os.texi (Recording Input): recent-keys now gives 300 keys. + +2007-03-12 Glenn Morris + + * os.texi: Replace "daylight savings" with "daylight saving" + throughout. + +2007-03-05 Richard Stallman + + * variables.texi (File Local Variables): Update + enable-local-variables values. + +2007-03-04 Richard Stallman + + * syntax.texi (Control Parsing): Minor clarification. + + * strings.texi (Formatting Strings): Clarify width, precision, flags. + + * sequences.texi (Sequence Functions): Move string-bytes away, + add xref. + + * nonascii.texi (Text Representations): Move string-bytes here. + + * modes.texi (Major Mode Conventions): Fundamental mode is exception. + + * minibuf.texi (Basic Completion): Minor clarification. + + * markers.texi (The Mark): Clarify existence vs activation of mark. + Other cleanup. + + * display.texi (Finding Overlays): Write better example. + + * compile.texi (Eval During Compile): Clarify putting macros + in eval-when-compile. + +2007-02-25 Vinicius Jose Latorre + + * loading.texi (How Programs Do Loading): Fix anchor position at + load-read-function definition doc. (tiny change) + +2007-02-21 Kim F. Storm + + * strings.texi (Text Comparison): Mention that assoc-string + converts symbols to strings before testing. + +2007-02-17 Kim F. Storm + + * processes.texi (Bindat Spec): Vector types can have optional + element type. + (Bindat Examples): Fix example. Add vector with element type. + +2007-02-16 Andreas Schwab + + * strings.texi (Formatting Strings): Document '+' flag. + +2007-02-15 Juanma Barranquero + + * strings.texi (Modifying Strings): Clarify that `clear-string' + always converts the string to unibyte. + +2007-02-14 Kim F. Storm + + * display.texi (Glyphs): Add make-glyph-code, glyph-char, glyph-face. + Rewrite glyph code description to refer to these functions. + Remove details of encoding face number and char into integer code. + +2007-02-03 Alan Mackenzie + + * loading.texi (Hooks for Loading): Make the description of + `eval-after-load' more detailed, and amend the description of + after-load-alist, in accordance with changes from 2006-05. + +2007-02-03 Chong Yidong + + * modes.texi (Defining Minor Modes): Document that a :require + keyword or similar may be required to make saved customization + variables work. + +2007-02-03 Eli Zaretskii + + * elisp.texi (Top): Make the detailed menu headers compliant with + Texinfo guidelines and with what texnfo-upd.el expects. Add + comments to prevent people from inadvertently modifying the key + parts needed by `texinfo-multiple-files-update'. + +2007-02-02 Eli Zaretskii + + * elisp.texi (Top): Update the top-level menus. + + * syntax.texi (Categories): Add index entries. + +2007-02-01 Juanma Barranquero + + * display.texi (Attribute Functions): Fix name and description of + the UNDERLINE arg of `set-face-underline-p'. + +2007-01-29 Eli Zaretskii + + * elisp.texi (Top): Add "Standard Errors", "Standard Buffer-Local + Variables", and "Standard Keymaps" to the detailed menu. + + * variables.texi (Future Local Variables): Add index entry. + +2007-01-28 Richard Stallman + + * tips.texi (Coding Conventions): Clarify the tip about macros + that define a function or a variable. + + * files.texi (File Attributes): UID and GID can be floats. + (Magic File Names): Explain why deferring all operations to + the standard handler does not work. + +2007-01-23 Martin Rudalics + + * backups.texi (Reverting): Use "buffer" instead of "file" + when talking about major and minor modes. + +2007-01-21 Richard Stallman + + * help.texi (Documentation): Add xref to Documentation Tips. + +2007-01-14 Juanma Barranquero + + * tips.texi (Coding Conventions): Fix typos. + +2007-01-05 Richard Stallman + + * modes.texi (Defining Minor Modes): Fix previous change. + +2007-01-03 Richard Stallman + + * customize.texi (Variable Definitions, Customization Types): + Don't use * in doc string for defcustom. + +2007-01-02 Richard Stallman + + * variables.texi (Variable Aliases): Clarify that aliases vars + always have the same value. + + * processes.texi (Bindat Spec): Fix Texinfo usage. + + * modes.texi (Defining Minor Modes): Explain effect of command + defined with define-global-minor-mode on new buffers. + +2006-12-30 Kim F. Storm + + * keymaps.texi (Tool Bar): Describe `grow-only' value of + `auto-resize-tool-bars'. + +2006-12-30 Richard Stallman + + * keymaps.texi (Active Keymaps): Fix previous change. + +2006-12-30 Nick Roberts + + * keymaps.texi (Active Keymaps): Make xref to lookup-key. + +2006-12-30 Kim F. Storm + + * processes.texi (Bindat Spec): Clarify using field names in + length specifications. + +2006-12-29 Kim F. Storm + + * processes.texi (Bindat Spec): Explain eval forms and lengths better. + Add count and index variables for eval forms in repeat blocks. + +2006-12-24 Richard Stallman + + * customize.texi (Variable Definitions): Document + new name custom-add-frequent-value. + +2006-12-19 Kim F. Storm + + * commands.texi (Misc Events): User signals now result in sigusr1 + and sigusr2 events which are handled through special-event-map. + (Special Events): User signals and drag-n-drop are special. + +2006-12-17 Richard Stallman + + * loading.texi (Named Features): Explain subfeatures better. + + * customize.texi: Use "option" only for user options. + For the keyword values inside defcustom etc, say "keywords". + For :options value's elements, say "elements". + :group should not be omitted. + + * syntax.texi (Parsing Expressions): Split up node. + (Motion via Parsing, Position Parse, Parser State) + (Low-Level Parsing, Control Parsing): New subnodes. + (Parser State): Document syntax-ppss-toplevel-pos. + + * positions.texi (List Motion): Punctuation fix. + + * files.texi (File Name Completion): Document PREDICATE arg + to file-name-completion. + +2006-12-16 Eli Zaretskii + + * internals.texi (Building Emacs, Writing Emacs Primitives): + Add index entries. + +2006-12-11 Richard Stallman + + * modes.texi (Font Lock Basics): Explain how nil for font-lock-defaults + affects face menu. Explain how to make it non-nil without enabling + any fontification. + +2006-12-10 Chong Yidong + + * modes.texi (Font Lock Basics): Document nil value of + font-lock-defaults. + +2006-12-10 Glenn Morris + + * abbrevs.texi (Defining Abbrevs): Mention `define-abbrev' 'force + value for system-flag argument. Abbrev tables may not be empty + when major modes are loaded. + +2006-12-08 Juanma Barranquero + + * makefile.w32-in (maintainer-clean): Partially revert last + change; delete "elisp-?" and "elisp-??" instead of "elisp-*" + to protect elisp-covers.texi. + +2006-12-07 Juanma Barranquero + + * makefile.w32-in (maintainer-clean): Depend on `distclean'. + Don't remove elisp* info files; they are already deleted by the + `clean' and `distclean' targets, and they are in the $(infodir) + directory, not the current one. + +2006-12-04 Kim F. Storm + + * commands.texi (Misc Events): Update signal events. + (Event Examples): Add signal example. + +2006-11-29 Richard Stallman + + * frames.texi (Visibility of Frames): Explain visible windows + can be covered by others. Add xref for raise-frame. + +2006-11-28 Richard Stallman + + * searching.texi (Regexp Special): Update when ^ is special. + +2006-11-27 Eli Zaretskii + + * customize.texi (Customization, Common Keywords) + (Group Definitions, Variable Definitions, Composite Types) + (Type Keywords, Customization Types): Add index entries for + various customization keywords. + +2006-11-23 Stefan Monnier + + * modes.texi (Multiline Font Lock): Rephrase some parts for clarity. + +2006-11-10 Jan Dj,Ad(Brv + + * frames.texi (Window System Selections): Remove clipboard from + description of selection-coding-system. + +2006-11-06 Richard Stallman + + * lists.texi (List Variables): Document COMPARE-FN. + + * keymaps.texi: Avoid use of "binding" to mean a relation; + use it only to refer to the meaning associated with a key. + (Keymaps): Change menu node description. + + * elisp.texi (Top): Change menu node description. + + * display.texi (Managing Overlays): Document overlay-recenter. + +2006-10-29 Chong Yidong + + * Makefile.in: Use relative paths to avoid advertising filesystem + contents during compilation. + +2006-10-23 Kim F. Storm + + * commands.texi (Event Input Misc): Update unread-command-events. + +2006-10-23 Nick Roberts + + * lists.texi (Sets And Lists): Fix typos. + +2006-10-18 Juanma Barranquero + + * control.texi (Processing of Errors): Use @var for an argument, + not @code. + +2006-10-16 Richard Stallman + + * edebug.texi (Edebug Recursive Edit): Minor cleanup. + + * keymaps.texi (Format of Keymaps): Show all the keymap element + patterns that result from menu items. + (Key Lookup): Minor cleanups. + + * modes.texi (Precalculated Fontification): Don't say that + not setting font-lock-defaults avoids loading font-lock. + + * help.texi (Documentation): Move xref to Emacs Manual here. + (Documentation Basics): From here. + Also doc emacs-lisp-docstring-fill-column. + + * elisp.texi: Update version and ISBN. + + * commands.texi (Interactive Call): Clarify KEYS arg to + call-interactively is a vector. + (Command Loop Info): Delete anchor in this-command-keys. + Add anchor in this-command-keys-vector. + (Recursive Editing): Document how recursive-edit + handles the current buffer. + +2006-10-13 Chong Yidong + + * frames.texi (Frame Titles): %c and %l are ignored in + frame-title-format. + +2006-10-11 Richard Stallman + + * keymaps.texi (Key Sequences): Clarify use of kbd. + +2006-10-10 Kim F. Storm + + * lists.texi (Sets And Lists): Add memql. + +2006-10-03 Richard Stallman + + * searching.texi (Char Classes): Document :multibyte: and :unibyte:. + Clarify :ascii: and :nonascii:. + +2006-09-29 Juri Linkov + + * modes.texi (%-Constructs): Reorder coding systems in the + documentation of %z to the real order displayed in the modeline. + +2006-09-25 Richard Stallman + + * os.texi (Timers): Describe timer-max-repeats. + +2006-09-25 Chong Yidong + + * os.texi (Timers): Mention with-local-quit. + +2006-09-24 Richard Stallman + + * searching.texi (Searching and Matching): Mention property search. + + * commands.texi (Command Loop Info): Explain how read-event affects + this-command-keys. + +2006-09-20 Richard Stallman + + * os.texi (Timers): Clarify about REPEAT when timer is delayed. + + * windows.texi (Window Start): Minor cleanups. + +2006-09-20 Kim F. Storm + + * windows.texi (Window Start): pos-visible-in-window-p allows + specifying t for position to mean "end of window". + Add window-line-height. + + * anti.texi (Antinews): Mention window-line-height. + +2006-09-19 David Kastrup + + * keymaps.texi (Searching Keymaps): Small clarification. + +2006-09-18 Richard Stallman + + * keymaps.texi (Creating Keymaps): Explain that keymap prompt strings + cause keyboard menus. + (Menu Keymaps): Likewise. + (Defining Menus, Keyboard Menus): Clarify. + + * text.texi (Fields): Clarify explanation of constrain-to-field. + +2006-09-16 Eli Zaretskii + + * variables.texi (Tips for Defining): Fix a typo. + +2006-09-15 Richard Stallman + + * keymaps.texi (Remapping Commands, Searching Keymaps) + (Active Keymaps): Clean up previous change. + +2006-09-15 Jay Belanger + + * gpl.texi: Replace "Library Public License" by "Lesser Public + License" throughout. + +2006-09-15 David Kastrup + + * keymaps.texi (Active Keymaps): Adapt description to use + `get-char-property' instead `get-text-property'. Explain how + mouse events change this. Explain the new optional argument of + `key-binding' and its mouse-dependent lookup. + (Searching Keymaps): Adapt description similarly. + (Remapping Commands): Explain the new optional argument of + `command-remapping'. + +2006-09-14 Richard Stallman + + * keymaps.texi (Searching Keymaps): Clarification. + (Active Keymaps): Refer to Searching Keymaps instead of duplication. + +2006-09-13 Richard Stallman + + * objects.texi (Character Type): Node split. + Add xref to Describing Characters. + (Basic Char Syntax, General Escape Syntax) + (Ctl-Char Syntax, Meta-Char Syntax): New subnodes. + +2006-09-11 Richard Stallman + + * display.texi (Display Table Format): Wording clarification. + (Glyphs): Clarifications. + +2006-09-10 Chong Yidong + + * keymaps.texi (Active Keymaps): Mention that key-binding checks + local maps. + +2006-09-10 Kim F. Storm + + * display.texi (Forcing Redisplay): Document return value of + function redisplay. + +2006-09-09 Richard Stallman + + * windows.texi (Window Hooks): Explain limits of + window-scroll-functions. + + * display.texi (Fringe Indicators): Update for last change in + indicate-buffer-boundaries. + +2006-09-08 Richard Stallman + + * processes.texi (Bindat Spec): Suggest names ending in -bindat-spec. + +2006-09-06 Kim F. Storm + + * frames.texi (Display Feature Testing): display-mm-dimensions-alist. + + * windows.texi (Window Start): Update pos-visible-in-window-p. + +2006-09-04 Richard Stallman + + * processes.texi (Accepting Output): Explain SECONDS=0 for + accept-process-output. + + * os.texi (Idle Timers): Explain why timer functions should not + loop until (input-pending-p). + +2006-09-02 Eli Zaretskii + + * makefile.w32-in (usermanualdir): New variable. + (elisp.dvi): Use it. + +2006-09-01 Eli Zaretskii + + * buffers.texi (Buffer Modification): Fix last change. + +2006-09-01 Chong Yidong + + * buffers.texi (Buffer Modification): Document + buffer-chars-modified-tick. + +2006-08-31 Richard Stallman + + * modes.texi (Syntactic Font Lock): Mention specific faces once again. + +2006-08-31 Richard Bielawski (tiny change) + + * modes.texi (Syntactic Font Lock): + Mention font-lock-syntactic-face-function + instead of specific faces. + +2006-08-29 Chong Yidong + + * display.texi (Images): Add xrref to display-images-p. + +2006-08-28 Kenichi Handa + + * nonascii.texi (Lisp and Coding Systems): Fix description of + detect-coding-region. + +2006-08-27 Michael Olson + + * processes.texi (Transaction Queues): Remove stray quote + character. + +2006-08-25 Richard Stallman + + * os.texi (Idle Timers): run-with-idle-timer allows Lisp time value. + Add xref. + +2006-08-24 Chong Yidong + + * os.texi (Timers): Avoid waiting inside timers. + +2006-08-21 Lute Kamstra + + * Makefile.in: Use ../man/texinfo.tex to build elisp.dvi. + +2006-08-20 Richard Stallman + + * os.texi (Idle Timers): New node, split out from Timers. + Document current-idle-time. + * commands.texi (Reading One Event): Update xref. + * elisp.texi (Top): Update subnode menu. + +2006-08-16 Richard Stallman + + * keymaps.texi (Extended Menu Items): Show format of cached + bindings in extended menu items. + + * customize.texi (Variable Definitions): Explain when the + standard value expression is evaluated. + +2006-08-15 Chong Yidong + + * commands.texi (Reading One Event): Explain idleness in + `read-event'. + +2006-08-12 Chong Yidong + + * text.texi (Near Point): Say "cursor" not "terminal cursor". + (Commands for Insertion): Removed split-line since it's not + relevant for Lisp programming. + (Yank Commands): Rewrite introduction. + (Undo): Clarify. + (Maintaining Undo): Clarify. Document undo-ask-before-discard. + (Filling): Remove redundant comment. Clarify return value of + current-justification. + (Margins): Minor clarifications. + (Adaptive Fill): Update default value of adaptive-fill-regexp. + (Sorting): Update definition of sort-lines. + (Columns): Clarify behavior of sort-columns. + (Indent Tabs): Link to Tab Stops in Emacs manual. + (Special Properties): Clarify. + (Clickable Text): Mention Buttons package. + +2006-08-12 Kevin Ryde + + * os.texi (Time Parsing): Add %z to description of + format-time-string, as per docstring. Add cross reference to + glibc manual for strftime. + +2006-08-08 Richard Stallman + + * modes.texi: Clean up wording in previous change. + +2006-08-07 Chong Yidong + + * modes.texi (Hooks): Clarify. + (Major Mode Basics): Mention define-derived-mode explicitly. + (Major Mode Conventions): Rebinding RET is OK for some modes. + Mention change-major-mode-hook and after-change-major-mode-hook. + (Example Major Modes): Moved to end of Modes section. + (Mode Line Basics): Clarify. + (Mode Line Data): Mention help-echo and local-map in strings. + Explain reason for treatment of non-risky variables. + (Properties in Mode): Clarify. + (Faces for Font Lock): Add font-lock-negation-char-face. + +2006-08-04 Eli Zaretskii + + * strings.texi (Formatting Strings): Warn against arbitrary + strings as first arg to `format'. + +2006-07-31 Thien-Thi Nguyen + + * text.texi (Clickable Text): Mention `help-echo' text property. + Update intro, examples and associated explanations. + +2006-07-31 Richard Stallman + + * commands.texi: Update xrefs. + (Event Mod): New node, cut out from old Translating Input. + + * maps.texi: Update xrefs. + + * keymaps.texi (Translation Keymaps): New node. + Update xrefs from Translating Input to Translation Keymaps. + + * elisp.texi (Top): Update subnode menu. + + * display.texi (Face Functions): Fix explanations of FRAME=t or nil. + + * os.texi (System Interface): Fix menu descriptions of some nodes. + (Translating Input): Node deleted. + +2006-07-31 Nick Roberts + + * modes.texi (Minor Mode Conventions): Update xref for add-to-list. + + * lists.texi (Sets And Lists): Likewise. + +2006-07-30 Thien-Thi Nguyen + + * text.texi (Fields): Mention POS + requirement when narrowing is in effect. + +2006-07-28 Richard Stallman + + * display.texi (Face Attributes): Simplify wording. + (Attribute Functions): Clarify meaning of new-frame default + attribute settings. + + * customize.texi (Common Keywords): Document how to use + :package-version in a package not in Emacs. + +2006-07-28 Kim F. Storm + + * commands.texi (Reading One Event): Fix last change. + +2006-07-26 Chong Yidong + + * commands.texi (Reading One Event): Document SECONDS argument for + read-event, read-char, and read-char-exclusive. + +2006-07-25 Stefan Monnier + + * modes.texi (Multiline Font Lock): Can't use jit-lock-defer-multiline + to ensure correct identification. + +2006-07-24 Richard Stallman + + * text.texi (Clickable Text): Clarify. + + * sequences.texi (Vector Functions): Delete duplicate xref. + + * objects.texi (Function Type): Clarify. + + * modes.texi (Keymaps and Minor Modes): List punct chars for minor + modes. + + * lists.texi (List Variables): New node. + Material moved from other nodes. + + * variables.texi (Setting Variables): add-to-list and + add-to-ordered-list moved to List Variables node. + +2006-07-23 Thien-Thi Nguyen + + * text.texi (Links and Mouse-1): + For mouse-on-link-p, expand on arg POS. + +2006-07-21 Kim F. Storm + + * display.texi (Forcing Redisplay): Don't mention systems which + don't support sub-second timers for redisplay-preemption-period. + + * os.texi (Terminal Output): Clarify text vs graphical terminal. + +2006-07-21 Eli Zaretskii + + * frames.texi (Input Focus): Document that focus-follows-mouse has + no effect on MS-Windows. + +2006-07-18 Richard Stallman + + * display.texi (Forcing Redisplay): Cleanups in previous change. + + * processes.texi (Low-Level Network): Make menu more convenient. + +2006-07-18 Kim F. Storm + + * display.texi (Forcing Redisplay): redisplay-preemption-period + only used on window systems. Add xref to Terminal Output. + + * os.texi (Terminal Output): baud-rate only controls preemption on + non-window systems. Add xref to Forcing Redisplay. + + * processes.texi (Low-Level Network): Rename node "Make Network" + to "Network Processes". + +2006-07-18 Karl Berry + + * variables.texi, functions.texi, customize.texi, loading.texi: + * edebug.texi, minibuf.texi: Fix page breaks through chapter 20. + +2006-07-17 Chong Yidong + + * commands.texi (Waiting): Document batch-mode sit-for behavior. + +2006-07-17 Richard Stallman + + * eval.texi, elisp.texi, text.texi: Use real doublequote inside menus. + Put period and comma inside quotes. + + * loading.texi, markers.texi: Use real doublequote inside menus. + + * windows.texi: Put point and comma inside quotes. + (Textual Scrolling): Use @samp for error message. + + * variables.texi, tips.texi, syntax.texi, symbols.texi: + * strings.texi, streams.texi, processes.texi, os.texi: + * objects.texi, numbers.texi, modes.texi, minibuf.texi: + * lists.texi, keymaps.texi, intro.texi, hash.texi, internals.texi: + * gpl.texi, functions.texi, files.texi, frames.texi, doclicense.texi: + * display.texi, control.texi, commands.texi, buffers.texi, anti.texi: + Put point and comma inside quotes. + + * control.texi (Processing of Errors): Add command-error-function. + + * variables.texi (File Local Variables): Clarify that + file local variables make buffer-local bindings. + + * modes.texi (Syntactic Font Lock): Give default for + font-lock-syntax-table. + +2006-07-17 Nick Roberts + + * text.texi (Special Properties): Clean up previous change. + +2006-07-16 Karl Berry + + * objects.texi, numbers.texi, strings.texi, lists.texi, hash.texi: + * control.texi: Fix bad page breaks through chapter 10 (control). + + * anti.texi (Antinews): Reorder face-attribute fns to avoid + underfull hbox. + +2006-07-15 Nick Roberts + + * text.texi (Special Properties): Describe fontified text property + in relation to a character (not text). + +2006-07-15 Kim F. Storm + + * maps.texi (Standard Keymaps): Add xref for minibuffer maps. + Add apropos-mode-map, custom-mode-map, esc-map, global-map, + grep-mode-map, help-map, help-mode-map, kmacro-map, and tool-bar-map. + + * anti.texi (Antinews): Mention redisplay function. + The kbd macro existed, but was not documented, before 22.x. + Function pos-visible-in-window-p is not new in 22.x, just enhanced. + +2006-07-14 Nick Roberts + + * display.texi (Displaying Messages): Add anchor. + + * frames.texi (Dialog Boxes): Use it. + +2006-07-12 Richard Stallman + + * objects.texi (Frame Type): Explain nature of frames better. + + * frames.texi (Frames): Explain nature of frames better. + +2006-07-12 Ken Manheimer + + * tips.texi (Coding Conventions): Explain why use cl at compile time. + +2006-07-12 YAMAMOTO Mitsuharu + + * frames.texi (Window System Selections): Mention scrap support for Mac. + Default value of x-select-enable-clipboard is t on Mac. + + * os.texi (Getting Out): Suspending is not allowed on Mac, either. + +2006-07-11 Kim F. Storm + + * display.texi (Forcing Redisplay): Add `redisplay' function. + Don't mention (sit-for -1) -- use (redisplay t) instead. + + * commands.texi (Waiting): (sit-for -1) is no longer special. + (sit-for 0) is equivalent to (redisplay). + Iconifying/deiconifying no longer makes sit-for return. + +2006-07-10 Nick Roberts + + * display.texi (Buttons): Fix typo. + + * index.texi, elisp.texi (New Symbols): Comment node out. + +2006-07-09 Richard Stallman + + * display.texi (Truncation): Clean up previous change. + +2006-07-08 Richard Stallman + + * commands.texi (Interactive Call): Use 3 as prefix in example + for execute-extended-command. + + * display.texi (Attribute Functions): Move paragraph about + compatibility with Emacs < 21. + +2006-07-09 Kim F. Storm + + * display.texi (Refresh Screen): Clarify force-window-update. + (Truncation): "Normally" indicated by fringe arrows. + +2006-07-08 Eli Zaretskii + + * windows.texi (Textual Scrolling, Resizing Windows): + * variables.texi (Constant Variables): + * text.texi (Buffer Contents, Deletion, Changing Properties) + (Property Search, Special Properties, Sticky Properties) + (Links and Mouse-1, Fields, Change Hooks): + * syntax.texi (Syntax Table Functions, Parsing Expressions) + (Categories): + * symbols.texi (Other Plists): + * streams.texi (Output Variables): + * processes.texi (Input to Processes, Query Before Exit): + * positions.texi (Word Motion, Text Lines, List Motion): + * os.texi (Init File, System Environment, Sound Output) + (Session Management): + * nonascii.texi (Text Representations, Character Sets) + (Chars and Bytes, Locales): + * modes.texi (Defining Minor Modes, Header Lines): + * minibuf.texi (Minibuffer Contents): + * markers.texi (Information from Markers): + * lists.texi (List Elements, Building Lists, Association Lists): + * keymaps.texi (Tool Bar): + * hash.texi (Creating Hash, Hash Access, Defining Hash, Other Hash): + * functions.texi (What Is a Function, Mapping Functions): + * frames.texi (Creating Frames, Parameter Access, Pointer Shape) + (Color Names, Text Terminal Colors, Display Feature Testing): + * files.texi (Visiting Functions, File Name Components) + (Unique File Names, Contents of Directories): + * display.texi (Forcing Redisplay, Displaying Messages) + (Temporary Displays, Font Selection, Auto Faces) + (Font Lookup, Fringe Indicators, Display Margins) + (Image Descriptors, Showing Images, Image Cache, Button Types) + (Making Buttons, Manipulating Buttons, Button Buffer Commands) + (Display Table Format, Glyphs): + * control.texi (Iteration): + * commands.texi (Command Loop Info, Adjusting Point): + * backups.texi (Making Backups, Auto-Saving): + Remove @tindex entries. + +2006-07-07 Kim F. Storm + + * display.texi (Fringe Cursors): Fix typo. + (Customizing Bitmaps): Fix define-fringe-bitmap entry. + (Overlay Arrow): Default is overlay-arrow fringe indicator. + +2006-07-05 Richard Stallman + + * text.texi (Buffer Contents): Add example of text props + in result of buffer-substring. + (Text Properties): Explain better about use of specific property names. + (Property Search): Some cleanups; reorder some functions. + + * keymaps.texi (Changing Key Bindings): Cleanup. + Add xref to Key Binding Conventions. + + * display.texi (Attribute Functions): Add examples for + face-attribute-relative-p. + + * tips.texi (Coding Conventions): Cleanup last change. + +2006-07-05 Karl Berry + + * elisp.texi: Use @fonttextsize 10pt, a la emacs.texi. + Remove @setchapternewpage odd. + Result is 1013 pages, down from 1100. + + * anti.texi, customize.texi, display.texi, internals.texi: + * minibuf.texi, modes.texi, tips.texi: + Fix overfull/underfull boxes. + +2006-07-05 Thien-Thi Nguyen + + * edebug.texi (Instrumenting): + Add Edebug-specific findex for eval-buffer. + * loading.texi (Loading): + Replace eval-current-buffer with eval-buffer. + +2006-06-30 Nick Roberts + + * locals.texi (Standard Buffer-Local Variables): Update the list + of variables. + +2006-06-26 Nick Roberts + + * files.texi (File Name Completion): Point user to the node + "Reading File Names". + +2006-06-24 Eli Zaretskii + + * files.texi (Contents of Directories): Document case-insensitive + behavior on respective filesystems. + + * objects.texi (Character Type): Document that Emacs signals an + error for unsupported Unicode characters specified as \uNNNN. + +2006-06-19 Richard Stallman + + * processes.texi (Bindat Spec): Clarify previous change. + +2006-06-16 Richard Stallman + + * tips.texi (Coding Conventions): Better explain conventions + for definition constructs. + + * text.texi (Special Properties): String value of `read-only' + serves as the error message. + + * objects.texi (Character Type): Clarify prev. change. + (Non-ASCII in Strings): Mention \u and \U. + + * commands.texi (Using Interactive): Explain problem of + markers, etc., in command-history. + +2006-06-14 Kim F. Storm + + * commands.texi (Waiting): Negative arg to sit-for forces + redisplay even if input is pending. + + * display.texi (Forcing Redisplay): Use (sit-for -1) to force a + redisplay. Remove incorrect example of binding redisplay-dont-pause + around (sit-for 0). + +2006-06-13 Richard Stallman + + * display.texi (Forcing Redisplay): Clarify previous change. + +2006-06-13 Romain Francoise + + * display.texi (Forcing Redisplay): Fix typo. + +2006-06-13 Kim F. Storm + + * display.texi (Forcing Redisplay): Add redisplay-preemption-period. + +2006-06-10 Luc Teirlinck + + * tips.texi (Coding Conventions): Add `@end itemize'. + +2006-06-10 Richard Stallman + + * tips.texi (Coding Conventions): Explain use of coding systems + to ensure one decoding for strings. + +2006-06-09 Aidan Kehoe + + * objects.texi (Character Type): Describe the \uABCD and \U00ABCDEF + syntax. + +2006-06-07 Eli Zaretskii + + * display.texi (Font Selection): Remove description of + clear-face-cache. + + * compile.texi (Eval During Compile): Fix a typo. Add index + entries for possible uses of eval-when-compile. + +2006-06-04 Thien-Thi Nguyen + + * display.texi (Abstract Display): Fix typo. + +2006-06-03 Eli Zaretskii + + * minibuf.texi (Minibuffer History) : + Reword variable's description. + +2006-06-01 Richard Stallman + + * windows.texi (Splitting Windows): Clarify splitting nonselected + window. + +2006-05-31 Juri Linkov + + * minibuf.texi (Minibuffer History): Add history-add-new-input. + +2006-05-30 Richard Stallman + + * display.texi (Line Height): Fix errors in description of + default line height and line-height properyty. + + * nonascii.texi (Default Coding Systems): Further clarification. + +2006-05-29 Luc Teirlinck + + * internals.texi (Pure Storage): Mention that an overflow in pure + space causes a memory leak. + (Garbage Collection): If there was an overflow in pure space, + `garbage-collect' returns nil. + +2006-05-30 Eli Zaretskii + + * nonascii.texi (Default Coding Systems): Fix it some more. + +2006-05-29 Eli Zaretskii + + * nonascii.texi (Default Coding Systems): Fix last change. + +2006-05-29 Kenichi Handa + + * nonascii.texi (find-operation-coding-system): Describe the new + argument format (FILENAME . BUFFER). + +2006-05-28 Richard Stallman + + * tips.texi (Coding Conventions): Better explain reasons not to + advise other packages or use `eval-after-load'. + +2006-05-29 Kim F. Storm + + * processes.texi (Bindat Functions): Rename `pos' and `raw-data' to + `bindat-idx' and `bindat-raw' for clarity. + +2006-05-27 Thien-Thi Nguyen + + * processes.texi (Bindat Spec): Expand on `repeat' handler. + + * display.texi (Display): Add "Abstract Display" to menu. + (Abstract Display, Abstract Display Functions) + (Abstract Display Example): New nodes. + * elisp.texi (Top): Add "Abstract Display" to menu. + +2006-05-27 Chong Yidong + + * keymaps.texi (Key Sequences): Link to input events definition. + (Format of Keymaps): Delete material duplicated in Keymap Basics. + + * files.texi (Changing Files): Document updated argument list for + copy-file. + +2006-05-27 Thien-Thi Nguyen + + * processes.texi (Bindat Functions): Explain term "total length". + Use it in bindat-length and bindat-pack descriptions. + +2006-05-26 Eli Zaretskii + + * tips.texi (Coding Conventions): Advise against using + eval-after-load in packages. Add an index entry. + +2006-05-25 Juri Linkov + + * minibuf.texi (Text from Minibuffer): Undocument keep-all. + + * modes.texi (%-Constructs): Add %e, %z, %Z. + +2006-05-25 Richard Stallman + + * elisp.texi (Top): Update subnode menu. + + * keymaps.texi (Keymap Basics): New node, split out of Key Sequences. + (Keymaps): Update menu. + +2006-05-25 Chong Yidong + + * keymaps.texi (Key Sequences): Some clarifications. + +2006-05-25 Thien-Thi Nguyen + + * processes.texi (Bindat Functions): Say "unibyte string" + explicitly for bindat-unpack and bindat-pack descriptions. + (Bindat Examples): Don't call `string-make-unibyte' in example. + +2006-05-25 Chong Yidong + + * keymaps.texi (Key Sequences): Renamed from Keymap Terminology. + Explain string and vector representations of key sequences + + * keymaps.texi (Changing Key Bindings): + * commands.texi (Interactive Codes, Interactive Codes): + * help.texi (Describing Characters): Refer to it. + +2006-05-23 Luc Teirlinck + + * frames.texi (Pointer Shape): @end table -> @end defvar. + +2006-05-22 Richard Stallman + + * elisp.texi (Top): Update subnode menus. + + * frames.texi (Pointer Shape): Node renamed from Pointer Shapes. + Contents rewritten; material from old Pointer Shape node moved here. + + * display.texi (Pointer Shape): Node deleted. + (Image Descriptors): Minor cleanup. + +2006-05-21 Richard Stallman + + * syntax.texi (Parsing Expressions): Update info on which STATE + elements are ignored. + +2006-05-19 Luc Teirlinck + + * hooks.texi (Standard Hooks): Correct typo. + + * gpl.texi (GPL): ifinfo -> ifnottex. + +2006-05-19 Michael Ernst (tiny change) + + * searching.texi (Simple Match Data): Warn about match data being + set anew by every search. + +2006-05-17 Richard Stallman + + * minibuf.texi (Minibuffer History): Clarify. + + * searching.texi (Regexp Special): Clarify nested regexp warning. + +2006-05-16 Kim F. Storm + + * minibuf.texi (Minibuffer History): Update add-to-history. + +2006-05-15 Oliver Scholz (tiny change) + + * nonascii.texi (Explicit Encoding): Fix + typo (encoding<->decoding). + +2006-05-14 Richard Stallman + + * buffers.texi (Creating Buffers): Cleanup. + + * files.texi (Visiting Functions): Rewrite in find-file-noselect. + +2006-05-13 Eli Zaretskii + + * buffers.texi (Current Buffer): Document that with-temp-buffer + disables undo. + + * os.texi (Terminal-Specific): More accurate description of how + Emacs searches for the terminal-specific libraries. + +2006-05-12 Eli Zaretskii + + * hooks.texi (Standard Hooks) [iftex]: Convert @xref's to + emacs-xtra to @inforef's. + + * text.texi (Undo): Document that undo is turned off in buffers + whose names begin with a space. + + * buffers.texi (Buffer Names): Add index entries for buffers whose + names begin with a space. + (Creating Buffers): Document that undo is turned off in buffers + whose names begin with a space. + + * files.texi (Visiting Functions, Reading from Files) + (Saving Buffers): Mention code and EOL conversions by file I/O + primitives and subroutines. + + * nonascii.texi (Lisp and Coding Systems): Document + coding-system-eol-type. Add index entries for eol conversion. + + * display.texi (Defining Faces): Mention `mac', and add an xref to + where window-system is described. + +2006-05-10 Richard Stallman + + * internals.texi (Writing Emacs Primitives): Clarify GCPRO rules. + +2006-05-10 Reiner Steib + + * variables.texi (File Local Variables): Recommend to quote lambda + expressions in safe-local-variable property. + +2006-05-09 Richard Stallman + + * variables.texi (File Local Variables): Document + safe-local-eval-forms and safe-local-eval-function. + +2006-05-07 Kim F. Storm + + * minibuf.texi (Minibuffer History): Remove keep-dups arg + from add-to-history. + +2006-05-07 Romain Francoise + + * commands.texi (Event Input Misc): + * compile.texi (Eval During Compile): + * internals.texi (Buffer Internals): + * minibuf.texi (Initial Input): + * nonascii.texi (Scanning Charsets): + * numbers.texi (Comparison of Numbers): + * windows.texi (Textual Scrolling, Vertical Scrolling): + Fix various typos. + +2006-05-06 Eli Zaretskii + + * hooks.texi (Standard Hooks): Replace inforef to emacs-xtra by + conditional xref's to either emacs or emacs-xtra, depending on + @iftex/@ifnottex. + + * minibuf.texi (Minibuffer History): Document add-to-history. + +2006-05-05 Eli Zaretskii + + * internals.texi (Pure Storage): Mention the pure overflow message + at startup. + +2006-05-05 Johan Bockg,Ae(Brd + + * keymaps.texi (Active Keymaps): Fix pseudo-Lisp syntax. + (Searching Keymaps): Fix pseudo-Lisp description of keymap + search. + +2006-05-01 Richard Stallman + + * intro.texi (nil and t): Clarify. + + * variables.texi (File Local Variables): Suggest using booleanp. + +2006-05-01 Juanma Barranquero + + * objects.texi (Type Predicates): Fix typos. + +2006-05-01 Stefan Monnier + + * intro.texi (nil and t): Add booleanp. + + * objects.texi (Type Predicates): Add links for booleanp and + string-or-null-p. + +2006-04-29 Richard Stallman + + * modes.texi (Multiline Font Lock): Rename from + Multi line Font Lock Elements. Much clarification. + (Font Lock Multiline, Region to Fontify): Much clarification. + +2006-04-29 Stefan Monnier + + * variables.texi (File Local Variables): Remove the special case t for + safe-local-variable. + +2006-04-26 Richard Stallman + + * syntax.texi (Parsing Expressions): Minor cleanup. + +2006-04-18 Richard Stallman + + * tips.texi (Coding Conventions): Explain when the package's + prefix should appear later on (not at the start of the name). + + * searching.texi (String Search): Clarify effect of NOERROR. + + * modes.texi (Imenu): Clarify what special items do. + + * hooks.texi (Standard Hooks): Delete text about old hook names. + +2006-04-17 Romain Francoise + + * variables.texi (Local Variables): Update the default value of + `max-specpdl-size'. + +2006-04-15 Michael Olson + + * processes.texi (Transaction Queues): Mention the new optional + `delay-question' argument for `tq-enqueue'. + +2006-04-13 Bill Wohler + + * customize.texi (Common Keywords): Use dotted notation for + :package-version value. Specify its values. Improve documentation + for customize-package-emacs-version-alist. + +2006-04-12 Bill Wohler + + * customize.texi (Common Keywords): Move description of + customize-package-emacs-version-alist to @defvar. + +2006-04-10 Bill Wohler + + * customize.texi (Common Keywords): Add :package-version. + +2006-04-10 Kim F. Storm + + * text.texi (Buffer Contents): Add NOPROPS arg to + filter-buffer-substring. + +2006-04-08 Kevin Ryde + + * os.texi (Command-Line Arguments): Update xref to emacs manual + "Command Arguments" -> "Emacs Invocation", per change there. + +2006-04-08 Thien-Thi Nguyen + + * display.texi (Other Display Specs): Arrange a @code{DOTTED-LIST} to + be on one line to help makeinfo not render two spaces after the dot. + +2006-04-07 Reiner Steib + + * strings.texi (Predicates for Strings): Add string-or-null-p. + +2006-03-28 Kim F. Storm + + * processes.texi (Accepting Output): Remove obsolete (and incorrect) + remarks about systems that don't support fractional seconds. + +2006-03-25 Karl Berry + + * elisp.texi: Use @copyright{} instead of (C), and do not indent + the year list. + +2006-03-21 Nick Roberts + + * display.texi (Fringe Indicators): Fix typos. + +2006-03-19 Luc Teirlinck + + * tips.texi (Documentation Tips): One can now also write `program' + in front of a quoted symbol in a docstring to prevent making a + hyperlink. + +2006-03-19 Alan Mackenzie + + * text.texi (Special Properties): Clarify `fontified' property. + +2006-03-16 Richard Stallman + + * display.texi (Defining Images): Minor cleanup. + +2006-03-16 Bill Wohler + + * display.texi (Defining Images): In image-load-path-for-library, + prefer user's images. + +2006-03-15 Stefan Monnier + + * modes.texi (Region to Fontify): Remove font-lock-lines-before. + +2006-03-15 Bill Wohler + + * display.texi (Defining Images): Fix example in + image-load-path-for-library by not recommending that one binds + image-load-path. Just defvar it to placate compiler and only use + it if previously defined. + +2006-03-14 Bill Wohler + + * display.texi (Defining Images): In image-load-path-for-library, + always return list of directories. Update example. + +2006-03-14 Alan Mackenzie + + * modes.texi: New node, "Region to Fontify" (for Font Lock). + This describes font-lock-extend-region-function. + ("Other Font Lock Variables"): Move "font-lock-lines-before" to + the new node "Region to Fontify". + +2006-03-13 Richard Stallman + + * display.texi (Invisible Text): The impossible position is + now before the invisible text, not after. + (Defining Images): Clean up last change. + +2006-03-11 Bill Wohler + + * display.texi (Defining Images): Add image-load-path-for-library. + +2006-03-11 Luc Teirlinck + + * text.texi (Adaptive Fill): Fix Texinfo usage. + + * strings.texi (Creating Strings): Fix Texinfo usage. + + * searching.texi (Regexp Special): Use @samp for regular + expressions that are not in Lisp syntax. + +2006-03-08 Luc Teirlinck + + * searching.texi (Regexp Special): Put remark between parentheses + to avoid misreading. + +2006-03-07 Luc Teirlinck + + * searching.texi (Syntax of Regexps): More accurately describe + which characters are special in which situations. + (Regexp Special): Recommend _not_ to quote `]' or `-' when they + are not special. Describe in detail when `[' and `]' are special. + (Regexp Backslash): Plenty of regexps with unbalanced square + brackets are valid, so reword that statement. + +2006-03-02 Kim F. Storm + + * keymaps.texi (Tool Bar): Add tool-bar-border. + +2006-02-28 Luc Teirlinck + + * loading.texi (Load Suffixes): Rephrase last paragraph. Fix typos. + +2006-02-27 Luc Teirlinck + + * elisp.texi (Top): Include "Load Suffixes" in the detailed menu. + + * files.texi (Locating Files): Suggest additional values for the + SUFFIXES arg of `locate-file'. Update pxref. + + * loading.texi (Loading): Include new node "Load Suffixes" in menu. + (How Programs Do Loading): Discuss the effects of Auto Compression + mode on `load'. + (Load Suffixes): New node. + (Library Search): Delete description of `load-suffixes'; it was + moved to "Load Suffixes". + (Autoload, Named Features): Mention `load-suffixes'. + +2006-02-21 Giorgos Keramidas (tiny change) + + * display.texi (Fringe Indicators, Fringe Cursors): Fix typos. + + * windows.texi (Window Tree): Fix typo. + +2006-02-20 Kim F. Storm + + * display.texi (Fringe Indicators): New section. + Move indicate-empty-lines, indicate-buffer-boundaries, and + default-indicate-buffer-boundaries here. + Add fringe-indicator-alist and default-fringes-indicator-alist. + Add list of logical fringe indicator symbols. + Update list of standard bitmap names. + (Fringe Cursors): New section. + Move overflow-newline-into-fringe here. + Add fringe-cursor-alist and default-fringes-cursor-alist. + Add list of fringe cursor symbols. + +2006-02-20 Juanma Barranquero + + * commands.texi (Using Interactive): Fix reference to node + "Minibuffers". + +2006-02-19 Richard M. Stallman + + * minibuf.texi (High-Level Completion): + Add xref to read-input-method-name. + + * files.texi (Relative File Names): Move file-relative-name here. + (File Name Expansion): From here. Minor clarifications. + + * commands.texi (Using Interactive): Add xrefs about reading input. + Clarify remarks about that moving point and mark. + Put string case before list case. + +2006-02-16 Johan Bockg,Ae(Brd + + * display.texi (Other Display Specs, Image Descriptors): + Revert erroneous changes. The previous description of + image-descriptors as `(image . PROPS)' was correct. + +2006-02-14 Richard M. Stallman + + * variables.texi (File Local Variables): Clarifications. + +2006-02-14 Juanma Barranquero + + * variables.texi (File Local Variables): Use @code for a cons + cell, not @var. + +2006-02-13 Chong Yidong + + * variables.texi (File Local Variables): Document new file local + variable behavior. + +2006-02-10 Kim F. Storm + + * eval.texi (Function Indirection): Add NOERROR to indirect-function. + +2006-02-08 Juanma Barranquero + + * modes.texi (%-Constructs): Remove obsolete info about + `global-mode-string'. + +2006-02-07 Richard M. Stallman + + * commands.texi (Prefix Command Arguments): Minor cleanup. + + * display.texi: "Graphical display", not window system. + + * functions.texi (What Is a Function): Fix xref. + + * keymaps.texi (Key Lookup): Clarify wrt commands vs other functions. + (Changing Key Bindings): Clarify when remapping is better than + substitute-key-definition. + +2006-02-02 Richard M. Stallman + + * minibuf.texi (Basic Completion): Completion alists are risky. + + * keymaps.texi (Active Keymaps): Clarifications. + (Searching Keymaps): New node. + (Keymaps): Update menu. + + * frames.texi (Layout Parameters): Minor clarification. + (Drag and Drop): New node. + (Frames): Update menu. + +2006-01-29 Chong Yidong + + * display.texi (Other Display Specs, Image Descriptors): + Image description is a list, not a cons cell. + +2006-01-28 Luc Teirlinck + + * lists.texi (Cons Cells): Minor correction (the cdr of a dotted + list is not necessarily a list). + +2006-01-27 Eli Zaretskii + + * frames.texi (Layout Parameters): border-width and + internal-border-width belong to the frame, not the window. + +2006-01-19 Richard M. Stallman + + * nonascii.texi (Translation of Characters): Search cmds use + translation-table-for-input. Automatically made local. + + * markers.texi (Overview of Markers): Count insertion type + as one of a marker's attributes. + + * keymaps.texi (Controlling Active Maps): New node, split out of + Active Keymaps. + (Keymaps): Menu updated. + (Active Keymaps): Give pseudocode to explain how the active + maps are searched. current-active-maps and key-binding moved here. + (Functions for Key Lookup): current-active-maps and key-binding moved. + Clarifications. + (Searching the Keymaps): New subnode. + + * elisp.texi (Top): Menu clarification. + + * display.texi (Other Display Specs): Delete duplicate entry for + just a string as display spec. Move text about recursive display + specs on such a string. + + * commands.texi (Key Sequence Input): Clarify. + Move num-nonmacro-input-events out. + (Reading One Event): num-nonmacro-input-events moved here. + +2006-01-14 Nick Roberts + + * advice.texi (Simple Advice): Update example to fit argument + change in previous-line. + +2006-01-05 Richard M. Stallman + + * markers.texi (The Mark): Fix in `mark'. + +2006-01-04 Richard M. Stallman + + * processes.texi (Misc Network, Make Network): Minor cleanups. + +2006-01-04 Kim F. Storm + + * processes.texi (Make Network): Add IPv6 addresses and handling. + (Network Feature Testing): Mention (:family ipv6). + (Misc Network): Add IPv6 formats to format-network-address. + +2005-12-30 Richard M. Stallman + + * text.texi (Changing Properties): + Don't use return value of set-text-properties. + +2005-12-29 Luc Teirlinck + + * modes.texi (Mode Line Format): Correct typo in menu. + +2005-12-29 Richard M. Stallman + + * modes.texi (Mode Line Top): New node. + (Mode Line Data): Some text moved to new node. + Explain the data structure more concretely. + (Mode Line Basics): Clarifications. + (Mode Line Variables): Clarify intro paragraph. + (%-Constructs): Clarify intro paragraph. + (Mode Line Format): Update menu. + +2005-12-28 Luc Teirlinck + + * minibuf.texi (Basic Completion): Update lazy-completion-table + examples for removal of ARGS argument. + +2005-12-23 Richard M. Stallman + + * text.texi (Undo): Restore some explanation from the version + that was deleted. + +2005-12-23 Eli Zaretskii + + * text.texi (Undo): Remove duplicate descriptions of `apply + funname' and `apply delta' elements of the undo list. + +2005-12-20 Richard M. Stallman + + * help.texi (Help Functions): Update documentation of `apropos'. + +2005-12-20 Luc Teirlinck + + * customize.texi (Type Keywords): Delete xref to "Text help-echo", + because it is confusing. If the :help-echo keyword is a function, + it is not directly used as the :help-echo overlay property, as the + xref seems to suggest (it does not take the appropriate args). + +2005-12-19 Luc Teirlinck + + * customize.texi (Common Keywords): Fix Texinfo usage. + (Group Definitions, Variable Definitions): Update for new + conventions for using `*' in docstrings. + + * tips.texi (Documentation Tips): Update for new conventions for + using `*' in docstrings. + +2005-12-16 Richard M. Stallman + + * minibuf.texi (Minibuffer Contents): Minor cleanup. + +2005-12-16 Juri Linkov + + * minibuf.texi (Minibuffer Contents): Add minibuffer-completion-contents. + +2005-12-14 Romain Francoise + + * modes.texi (Customizing Keywords): Rename `append' to `how'. + Fix typo. + +2005-12-11 Juri Linkov + + * minibuf.texi (Completion Commands): Add mention of read-file-name + for filename completion keymaps. + (Reading File Names): Add mention of filename completion keymaps + for read-file-name and xref to `Completion Commands'. + +2005-12-10 Richard M. Stallman + + * customize.texi (Common Keywords): State caveats for use of :tag. + +2005-12-08 Richard M. Stallman + + * minibuf.texi (Intro to Minibuffers): Replace list of local maps + with xrefs and better explanation. + (Completion Commands): Add the filename completion maps. + + * objects.texi (Character Type): Clarify that \s is not space + if a dash follows. + +2005-12-05 Richard M. Stallman + + * windows.texi (Resizing Windows): Delete preserve-before args. + +2005-12-05 Stefan Monnier + + * keymaps.texi (Format of Keymaps): Remove mention of a quirk + in full keymaps, since the quirk has been fixed. + +2005-12-03 Eli Zaretskii + + * hooks.texi (Standard Hooks): Add index entries. Mention + `compilation-finish-functions'. + +2005-11-27 Richard M. Stallman + + * windows.texi (Resizing Windows): Add adjust-window-trailing-edge. + +2005-11-21 Juri Linkov + + * customize.texi (Common Keywords): Update links types + custom-manual and url-link. Add link types emacs-library-link, + file-link, function-link, variable-link, custom-group-link. + +2005-11-20 Chong Yidong + + * display.texi: Revert 2005-11-20 change. + +2005-11-20 Thien-Thi Nguyen + + * processes.texi (Bindat Functions): + Say "third" to refer to zero-based index "2". + +2005-11-18 Luc Teirlinck + + * loading.texi (Library Search): Update the default value of + `load-suffixes'. + +2005-11-17 Chong Yidong + + * display.texi (Attribute Functions): Mention :ignore-defface. + +2005-11-16 Stefan Monnier + + * modes.texi (Minor Mode Conventions): Use custom-set-minor-mode. + (Minor Mode Conventions): Mention the use of a hook. + +2005-11-06 Richard M. Stallman + + * files.texi (Magic File Names): find-file-name-handler checks the + `operations' property of the handler. + +2005-11-03 Richard M. Stallman + + * variables.texi (Frame-Local Variables): Small clarification. + +2005-10-29 Chong Yidong + + * os.texi (Init File): Document ~/.emacs.d/init.el. + +2005-10-29 Richard M. Stallman + + * internals.texi (Garbage Collection): Document memory-full. + +2005-10-28 Bill Wohler + + * tips.texi (Documentation Tips): Help mode now creates hyperlinks + for URLs. + +2005-10-28 Richard M. Stallman + + * minibuf.texi (Completion Commands): Clean up prev change. + +2005-10-26 Kevin Ryde + + * compile.texi (Eval During Compile): Explain recommended uses + of eval-when-compile and eval-and-compile. + +2005-10-27 Masatake YAMATO + + * minibuf.texi (Completion Commands): + Write about new optional argument for `display-completion-list'. + +2005-10-23 Richard M. Stallman + + * display.texi (Overlay Arrow): Clarify about local bindings of + overlay-arrow-position. + +2005-10-22 Eli Zaretskii + + * internals.texi (Building Emacs): Fix last change. + +2005-10-22 Richard M. Stallman + + * internals.texi (Building Emacs): Document eval-at-startup. + +2005-10-21 Richard M. Stallman + + * loading.texi (Where Defined): load-history contains abs file names. + symbol-file returns abs file names. + +2005-10-19 Kim F. Storm + + * display.texi (Showing Images): Add max-image-size integer value. + +2005-10-18 Chong Yidong + + * display.texi (Showing Images): Document max-image-size. + +2005-10-17 Richard M. Stallman + + * commands.texi (Quitting): Minor clarification. + + * processes.texi (Sentinels): Clarify about output and quitting. + (Filter Functions): Mention with-local-quit. + +2005-10-17 Juri Linkov + + * buffers.texi (Current Buffer): + * commands.texi (Event Input Misc): + * compile.texi (Eval During Compile, Compiler Errors): + * customize.texi (Group Definitions): + * display.texi (Progress, Defining Faces): + * files.texi (Writing to Files): + * modes.texi (Mode Hooks, Defining Minor Modes): + * streams.texi (Output Functions): + * syntax.texi (Syntax Table Functions): + * text.texi (Change Hooks): + Replace `...' with `@dots{}' in `@defmac' and `@defspec'. + + * commands.texi (Quitting): Replace arg `forms' with `body' in + `with-local-quit'. + + * positions.texi (Excursions): Replace arg `forms' with `body' in + `save-excursion'. + +2005-10-08 Kim F. Storm + + * windows.texi (Window Tree): Rename window-split-tree to window-tree. + Rename manual section accordingly. + +2005-10-04 Kim F. Storm + + * windows.texi (Window Split Tree): New section describing + new function window-split-tree function. + +2005-10-03 Nick Roberts + + * display.texi (Fringe Size/Pos): Simplify and add detail. + +2005-09-30 Romain Francoise + + * minibuf.texi (High-Level Completion): Explain that the prompt + given to `read-buffer' should end with a colon and a space. + Update usage examples. + +2005-09-29 Juri Linkov + + * display.texi (Displaying Messages): Rename argument name + `string' to `format-string' in functions `message', `message-box', + `message-or-box'. + +2005-09-26 Chong Yidong + + * errors.texi (Standard Errors): Correct xrefs. + +2005-09-18 Chong Yidong + + * display.texi (Defining Images): Update documentation for + `image-load-path'. + +2005-09-17 Richard M. Stallman + + * display.texi (Defining Images): Clean up previous change. + +2005-09-16 Romain Francoise + + * elisp.texi: Specify GFDL version 1.2. + + * doclicense.texi (GNU Free Documentation License): Update to + version 1.2. + +2005-09-15 Chong Yidong + + * display.texi (Defining Images): Document `image-load-path'. + +2005-09-15 Richard M. Stallman + + * objects.texi (Printed Representation): Minor cleanup. + (Box Diagrams): Minor fix. + (Cons Cell Type): Move (...) index item here. + (Box Diagrams): From here. + (Array Type): Minor fix. + (Type Predicates): Delete index "predicates". + (Hash Table Type): Clarify xref. + (Dotted Pair Notation): Minor fix. + +2005-09-10 Chong Yidong + + * files.texi (Saving Buffers): Fix typo. + +2005-09-08 Richard M. Stallman + + * tips.texi (Programming Tips): Correct the "default" prompt spec. + +2005-09-08 Chong Yidong + + * locals.texi (Standard Buffer-Local Variables): Don't include + mode variables for minor modes. + Fix xrefs for buffer-display-count, buffer-display-table, + buffer-offer-save, buffer-saved-size, cache-long-line-scans, + enable-multibyte-characters, fill-column, header-line-format, + left-fringe-width, left-margin, and right-fringe-width. + + * hooks.texi (Standard Hooks): All hooks should conform to the + standard naming convention now. + Fix xref for `echo-area-clear-hook'. + + * display.texi (Usual Display): Note that indicate-empty-lines and + tab-width are buffer-local. + + * files.texi (Saving Buffers): Add xref to `Killing Buffers'. + + * modes.texi (Mode Help): Note that major-mode is buffer-local. + + * nonascii.texi (Encoding and I/O): Note that + buffer-file-coding-system is buffer-local. + + * positions.texi (List Motion): Note that defun-prompt-regexp is + buffer-local. + + * text.texi (Auto Filling): Note that auto-fill-function is + buffer-local. + (Undo): Note that buffer-undo-list is buffer-local. + + * windows.texi (Buffers and Windows): Document + buffer-display-count. + +2005-09-06 Richard M. Stallman + + * tips.texi (Coding Conventions): Sometimes it is ok to put the + package prefix elsewhere than at the start of the name. + +2005-09-03 Richard M. Stallman + + * tips.texi (Programming Tips): Add conventions for minibuffer + questions and prompts. + +2005-09-03 Joshua Varner (tiny change) + + * intro.texi (nil and t): Minor cleanup. + Delete spurious mention of keyword symbols. + (Evaluation Notation): Add index entry. + (A Sample Function Description): Minor cleanup. + (A Sample Variable Description): Not all vars can be set. + +2005-09-03 Thien-Thi Nguyen + + * text.texi (Buffer Contents): Use "\n" in examples' result strings. + + (Insertion): Document precise type of `insert-char' arg COUNT. + +2005-09-02 Stefan Monnier + + * modes.texi (Other Font Lock Variables): Sync the default of + font-lock-lines-before. + +2005-08-31 Michael Albinus + + * files.texi (Magic File Names): Add `make-auto-save-file-name'. + +2005-08-29 Richard M. Stallman + + * elisp.texi (Top): Update subnode menu. + + * searching.texi (Searching and Matching): Move node. + Rearrange contents and add overall explanation. + (Searching and Case): Move node. + (Searching and Matching): Update menu. + +2005-08-27 Eli Zaretskii + + * os.texi (Startup Summary): Fix the description of the initial + startup message display. + +2005-08-25 Richard M. Stallman + + * searching.texi (Search and Replace): Add replace-regexp-in-string. + +2005-08-25 Emilio C. Lopes + + * display.texi (Finding Overlays): Fix `find-overlay-prop' in + `next-overlay-change' example. + +2005-08-22 Juri Linkov + + * display.texi (Attribute Functions): Add set-face-inverse-video-p. + Fix invert-face. Fix args of face-background. + + * display.texi (Standard Faces): Delete node. + (Faces): Add xref to `(emacs)Standard Faces'. + (Displaying Faces): Fix xref to `Standard Faces'. + + * modes.texi (Mode Line Data): Fix xref to Standard Faces. + +2005-08-20 Alan Mackenzie + + * buffers.texi (The Buffer List): Clarify the manipulation of the + buffer list. + +2005-08-14 Richard M. Stallman + + * modes.texi (Auto Major Mode): interpreter-mode-alist key is not + a regexp. + +2005-08-11 Richard M. Stallman + + * elisp.texi (Top): Update subnode lists. + + * display.texi (Inverse Video): Node deleted. + + * tips.texi (Key Binding Conventions, Programming Tips, Warning Tips): + New nodes split out of Coding Conventions. + + * searching.texi (Regular Expressions): Document re-builder. + + * os.texi (Time Parsing): New node split out of Time Conversion. + + * processes.texi (Misc Network, Network Feature Testing) + (Network Options, Make Network): New nodes split out of + Low-Level Network. + +2005-08-09 Richard M. Stallman + + * frames.texi (Geometry): New node, split from Size and Position. + (Frame Parameters): Refer to Geometry. + + * buffers.texi (The Buffer List): Fix xrefs. + + * windows.texi (Splitting Windows): Fix xref. + + * frames.texi (Layout Parameters): Add xref. + + * display.texi (Line Height, Scroll Bars): Fix xrefs. + + * keymaps.texi (Menu Bar): Fix xref. + + * locals.texi (Standard Buffer-Local Variables): Fix xref. + + * modes.texi (%-Constructs): Fix xref. + + * frames.texi (Window Frame Parameters): Node split up. + (Basic Parameters, Position Parameters, Size Parameters) + (Layout Parameters, Buffer Parameters, Management Parameters) + (Cursor Parameters, Color Parameters): New subnodes. + +2005-08-09 Luc Teirlinck + + * positions.texi (Screen Lines): Update xref for previous change + in minibuf.texi. + + * minibuf.texi (Intro to Minibuffers): Update pxref for previous + change in minibuf.texi. + +2005-08-09 Richard M. Stallman + + * tips.texi (Coding Conventions): Minor cleanup. + + * modes.texi (Defining Minor Modes): Explain when init-value + can be non-nil. + + * elisp.texi (Top): Update submenu for Minibuffer. + + * minibuf.texi (Minibuffer Misc): Node split up. + (Minibuffer Commands, Minibuffer Windows, Minibuffer Contents) + (Recursive Mini): New nodes split out from Minibuffer Misc. + (Minibuffer Misc): Document max-mini-window-height. + + * hash.texi (Defining Hash): Delete stray paren in example. + + * display.texi (Echo Area Customization): Don't define + max-mini-window-height here; xref instead. + + * commands.texi (Event Input Misc): Update while-no-input. + + * advice.texi (Advising Functions): Explain when to use advice + and when to use a hook. + +2005-07-30 Eli Zaretskii + + * makefile.w32-in (info): Don't run install-info. + ($(infodir)/dir): New target, produced by running install-info. + +2005-07-27 Luc Teirlinck + + * modes.texi (Defining Minor Modes): The keyword for the initial + value is :init-value, not :initial-value. + +2005-07-23 Eli Zaretskii + + * loading.texi (Autoload): Make the `doctor' example be consistent + with what's in current loaddefs.el. Describe the "fn" magic in + the usage portion of the doc string. + +2005-07-22 Richard M. Stallman + + * internals.texi (Garbage Collection): Clarify previous change. + +2005-07-21 Stefan Monnier + + * internals.texi (Garbage Collection): Add gc-cons-percentage. + +2005-07-18 Juri Linkov + + * commands.texi (Accessing Events): + * frames.texi (Text Terminal Colors, Resources): + * markers.texi (The Mark): + * modes.texi (Defining Minor Modes): + Delete duplicate duplicate words. + +2005-07-16 Richard M. Stallman + + * display.texi (Managing Overlays): Clarify make-overlay + args for insertion types. + +2005-07-13 Luc Teirlinck + + * customize.texi (Variable Definitions): + Add `custom-initialize-safe-set' and `custom-initialize-safe-default'. + `standard-value' is a list too. + (Defining New Types): Use @key{RET} instead of @key{ret}. + +2005-07-13 Francis Litterio (tiny change) + + * os.texi (Translating Input): Fix typo. + +2005-07-08 Richard M. Stallman + + * README: Update edition number and size estimate. + + * elisp.texi (VERSION): Set to 2.9. + +2005-07-07 Richard M. Stallman + + * book-spine.texinfo: Update Emacs version. + + * display.texi (Inverse Video): Delete mode-line-inverse-video. + +2005-07-06 Richard M. Stallman + + * searching.texi (Regexp Search): Clarify what re-search-forward + does when the search fails. + +2005-07-05 Lute Kamstra + + * Update FSF's address in GPL notices. + + * doclicense.texi (GNU Free Documentation License): + * gpl.texi (GPL): + * tips.texi (Coding Conventions, Library Headers): + * vol1.texi: + * vol2.texi: Update FSF's address. + +2005-07-04 Richard M. Stallman + + * hooks.texi (Standard Hooks): Add occur-hook. + +2005-07-03 Luc Teirlinck + + * display.texi (The Echo Area): Correct menu. + +2005-07-03 Richard M. Stallman + + * elisp.texi (Top): Update subnode menu for Display. + + * display.texi (Displaying Messages): New node, with most + of what was in The Echo Area. + (Progress): Moved under The Echo Area. + (Logging Messages): New node with new text. + (Echo Area Customization): New node, the rest of what was + in The Echo Area. Document message-truncate-lines with @defvar. + (Display): Update menu. + + * windows.texi (Textual Scrolling): Doc 3 values for + scroll-preserve-screen-position. + + * text.texi (Special Properties): Change hook functions + should bind inhibit-modification-hooks around altering buffer text. + + * keymaps.texi (Key Binding Commands): Call binding BINDING + rather than DEFINITION. + +2005-06-29 Juanma Barranquero + + * variables.texi (Defining Variables): `user-variable-p' returns t + for aliases of user options, nil for alias loops. + +2005-06-28 Richard M. Stallman + + * keymaps.texi (Creating Keymaps): Put make-sparse-keymap before + make-keymap. + +2005-06-27 Luc Teirlinck + + * variables.texi (Setting Variables): Correct and clarify + description of `add-to-ordered-list'. + +2005-06-26 Richard M. Stallman + + * display.texi (Faces): Minor cleanup. + +2005-06-25 Luc Teirlinck + + * display.texi (Faces): `facep' returns t for strings that are + face names. + +2005-06-25 Richard M. Stallman + + * objects.texi (Equality Predicates): Clarify meaning of equal. + + * windows.texi (Selecting Windows): save-selected-window + and with-selected-window save and restore the current buffer. + +2005-06-24 Richard M. Stallman + + * numbers.texi (Float Basics): Explain how to test for NaN, + and printing the sign of NaNs. + +2005-06-24 Eli Zaretskii + + * makefile.w32-in (MAKEINFO): Use --force. + +2005-06-23 Richard M. Stallman + + * display.texi (Face Functions): Correct Texinfo usage. + +2005-06-23 Luc Teirlinck + + * lists.texi (Rings): `ring-elements' now returns the elements of + RING in order. + +2005-06-23 Juanma Barranquero + + * markers.texi (The Mark): Texinfo usage fix. + +2005-06-23 Kim F. Storm + + * searching.texi (Entire Match Data): Remove evaporate option for + match-data. Do not mention evaporate option for set-match-data. + +2005-06-22 Glenn Morris + + * display.texi (Face Functions): Mention face aliases. + +2005-06-21 Richard M. Stallman + + * anti.texi (Antinews): Texinfo usage fix. + +2005-06-21 Karl Berry + + * elisp.texi: Use @copying. + + * elisp.texi: Put @summarycontents and @contents before the Top + node, instead of the end of the file, so that the contents appear + in the right place in the dvi/pdf output. + +2005-06-21 Juri Linkov + + * display.texi (Defining Faces): Add `customized-face'. + +2005-06-20 Kim F. Storm + + * variables.texi (Setting Variables): Any type of element can be + given order in add-to-ordered-list. Compare elements with eq. + + * lists.texi (Rearrangement): Sort predicate may just return non-nil. + +2005-06-20 Karl Berry + + * syntax.texi (Syntax Flags): Make last column very slightly wider + to avoid "generic comment" breaking on two lines and causing an + underfull box. + +2005-06-19 Luc Teirlinck + + * lists.texi (Rings): Various minor clarifications and corrections. + +2005-06-18 Richard M. Stallman + + * functions.texi (Obsolete Functions): Simplify. + + * variables.texi (Variable Aliases): Simplify. + + * anti.texi, backups.texi, compile.texi, customization.texi: + * debugging.texi, display.texi, edebug.texi, errors.texi, frames.texi: + * functions.texi, help.texi, keymaps.texi, modes.texi, nonascii.texi: + * os.texi, processes.texi, searching.texi, strings.texi, text.texi: + * variables.texi: Fix formatting ugliness. + + * elisp.texi: Add links to Rings and Byte Packing. + Update version and copyright years. + + * minibuf.texi: Fix formatting ugliness. + (Completion Commands): Move keymap vars to the end + and vars completing-read binds to the top. + +2005-06-17 Luc Teirlinck + + * processes.texi: Fix typos. + (Bindat Spec): Correct Texinfo error. + (Byte Packing): Fix ungrammatical sentence. + +2005-06-17 Thien-Thi Nguyen + + * lists.texi (Rings): New node. + (Lists): Add it to menu. + + * processes.texi (Byte Packing): New node. + (Processes): Add it to menu. + +2005-06-17 Richard M. Stallman + + * syntax.texi (Parsing Expressions): Fix texinfo usage. + + * help.texi (Documentation Basics): Explain the xref to + Documentation Tips. + + * debugging.texi (Debugger Commands): Minor fix. + +2005-06-16 Luc Teirlinck + + * edebug.texi (Instrumenting): Eliminate duplicate link. + (Specification List): Replace references to "below", referring to + a later node, with one @ref to that node. + + * os.texi (Timers): Timers should save and restore the match data + if they change it. + + * debugging.texi (Debugger Commands): Mention that the Lisp + debugger can not step through primitive functions. + +2005-06-16 Juanma Barranquero + + * functions.texi (Obsolete Functions): Update argument names of + `make-obsolete' and `define-obsolete-function-alias'. + + * variables.texi (Variable Aliases): Update argument names of + `defvaralias', `make-obsolete-variable' and + `define-obsolete-variable-alias'. + +2005-06-15 Kim F. Storm + + * searching.texi (Entire Match Data): Rephrase warnings about + evaporate arg to match-data and set-match-data. + +2005-06-14 Luc Teirlinck + + * elisp.texi (Top): Update detailed menu. + + * edebug.texi (Edebug): Update menu. + (Instrumenting): Update xrefs. + (Edebug Execution Modes): Correct xref. + (Jumping): Clarify description of `h' command. + Eliminate redundant @ref. + (Breaks): New node. + (Breakpoints): Is now a subsubsection. + (Global Break Condition): Mention `C-x X X'. + (Edebug Views): Clarify `v' and `p'. Mention `C-x X w'. + (Trace Buffer): Clarify STRING arg of `edebug-tracing'. + (Edebug Display Update): Correct pxref. + (Edebug and Macros): New node. + (Instrumenting Macro Calls): Is now a subsubsection. + Neither arg of `def-edebug-spec' is evaluated. + (Instrumenting Macro Calls): Mention `edebug-eval-macro-args'. + (Specification Examples): Fix typo. + +2005-06-14 Lute Kamstra + + * debugging.texi (Function Debugging): Primitives can break on + entry too. + +2005-06-14 Kim F. Storm + + * variables.texi (Setting Variables): Add add-to-ordered-list. + +2005-06-13 Stefan Monnier + + * syntax.texi (Parsing Expressions): Document aux functions and vars of + syntax-ppss: syntax-ppss-flush-cache and syntax-begin-function. + +2005-06-13 Lute Kamstra + + * text.texi (Special Properties): Fix cross reference. + +2005-06-11 Luc Teirlinck + + * debugging.texi (Function Debugging): Delete mention of empty + string argument to `cancel-debug-on-entry'. Delete inaccurate + description of the return value of that command. + +2005-06-11 Alan Mackenzie + + * text.texi (Adaptive Fill): Amplify the description of + fill-context-prefix. + +2005-06-10 Luc Teirlinck + + * syntax.texi (Parsing Expressions): Fix Texinfo error. + +2005-06-10 Stefan Monnier + + * syntax.texi (Parsing Expressions): Document syntax-ppss. + +2005-06-10 Luc Teirlinck + + * debugging.texi (Error Debugging): Minor rewording. + (Function Debugging): FUNCTION-NAME arg to `cancel-debug-on-entry' + is optional. + +2005-06-10 Lute Kamstra + + * elisp.texi: Use EMACSVER to refer to the current version of Emacs. + (Top): Give it a title. Correct version number. Give the + detailed node listing a more prominent header. + * intro.texi: Don't set VERSION here a second time. + Mention Emacs's version too. + * anti.texi (Antinews): Use EMACSVER to refer to the current + version of Emacs. + +2005-06-09 Kim F. Storm + + * searching.texi (Entire Match Data): Explain new `reseat' argument to + match-data and set-match-data. + +2005-06-08 Richard M. Stallman + + * searching.texi (Entire Match Data): Clarify when match-data + returns markers and when integers. + + * display.texi (Defining Faces): Explain that face name should not + end in `-face'. + + * modes.texi (Mode Line Data): Minor cleanup. + (Customizing Keywords): Node split out of Search-based Fontification. + Add example of using font-lock-add-keywords from a hook. + Clarify when MODE should be non-nil, and when nil. + +2005-06-06 Richard M. Stallman + + * modes.texi (Mode Line Data): Explain what happens when the car + of a list is a void symbol. + (Search-based Fontification): Explain MODE arg to + font-lock-add-keywords and warn about calls from major modes. + +2005-06-08 Juri Linkov + + * display.texi (Standard Faces): Add `shadow' face. + +2005-05-29 Luc Teirlinck + + * modes.texi (Major Mode Conventions): A derived mode only needs + to put the call to the parent mode inside `delay-mode-hooks'. + +2005-05-29 Richard M. Stallman + + * modes.texi (Mode Hooks): Explain that after-change-major-mode-hook is + new, and what that implies. Clarify. + + * files.texi (Locating Files): Clean up the text. + + * frames.texi (Window Frame Parameters): Document user-size. + Shorten entry for top by referring to left. + +2005-05-26 Richard M. Stallman + + * modes.texi (Mode Hooks): Explain that after-change-major-mode-hook + is new, and what the implications are. Other clarifications. + +2005-05-24 Richard M. Stallman + + * frames.texi (Dialog Boxes): Minor fixes. + +2005-05-25 Masatake YAMATO + + * display.texi (Standard Faces): Write about `mode-line-highlight'. + +2005-05-24 Luc Teirlinck + + * frames.texi (Dialog Boxes): HEADER argument to `x-popup-dialog' + is optional. + +2005-05-24 Nick Roberts + + * frames.texi (Dialog Boxes): Descibe new optional argument. + +2005-05-23 Lute Kamstra + + * modes.texi (Font Lock Basics, Syntactic Font Lock): Recommend + syntax-begin-function over font-lock-beginning-of-syntax-function. + +2005-05-21 Luc Teirlinck + + * minibuf.texi (Reading File Names): Update description of + `read-directory-name'. + + * modes.texi (Derived Modes): Clarify :group keyword. + +2005-05-21 Eli Zaretskii + + * files.texi (Locating Files): New subsection. + Describe locate-file and executable-find. + +2005-05-21 Kevin Ryde + + * frames.texi (Initial Parameters): Update cross reference to + "Emacs Invocation". + +2005-05-19 Luc Teirlinck + + * keymaps.texi (Active Keymaps): Add anchor. + + * modes.texi (Hooks): Delete confusing and unnecessary sentence. + (Major Mode Conventions): Refer to `Auto Major Mode' in more + appropriate place. + (Derived Modes): Small clarifications. + (Minor Mode Conventions, Keymaps and Minor Modes): + Replace references to nodes with references to anchors. + (Mode Line Data): Warn that `(:eval FORM)' should not load any files. + Clarify description of lists whose first element is an integer. + (Mode Line Variables): Add anchor. + (%-Constructs): Clarify description of integer after %. + (Emulating Mode Line): Describe nil value for FACE. + +2005-05-18 Luc Teirlinck + + * modes.texi (Derived Modes): Correct references to non-existing + variable standard-syntax-table. + +2005-05-17 Lute Kamstra + + * modes.texi (Defining Minor Modes): Mention the mode hook. + +2005-05-15 Kim F. Storm + + * processes.texi (Network): Remove open-network-stream-nowait. + (Network Servers): Remove open-network-stream-server. + +2005-05-15 Luc Teirlinck + + * elisp.texi (Top): Update detailed menu. + + * variables.texi: Reorder nodes. + (Variables): Update menu. + (File Local Variables): Do not refer to the `-*-' line as + a "local variables list". Add pxref. + +2005-05-14 Luc Teirlinck + + * elisp.texi (Top): Update detailed menu for node changes. + + * modes.texi (Modes): Update Menu. + (Hooks): Move to beginning of chapter. + Most minor modes run mode hooks too. + `add-hook' can handle void hooks or hooks whose value is a single + function. + (Major Modes): Update Menu. + (Major Mode Basics): New node, split off from `Major Modes'. + (Major Mode Conventions): Correct xref. Explain how to handle + auto-mode-alist if the major mode command has an autoload cookie. + (Auto Major Mode): Major update. Add magic-mode-alist. + (Derived Modes): Major update. + (Mode Line Format): Update Menu. + (Mode Line Basics): New node, split off from `Mode Line Format'. + + * loading.texi (Autoload): Mention `autoload cookie' as synonym + for `magic autoload comment'. Add index entries and anchor. + +2005-05-14 Richard M. Stallman + + * tips.texi (Coding Conventions): Explain how important it is + that just loading certain files not change Emacs behavior. + + * modes.texi (Defining Minor Modes): Define define-global-minor-mode. + +2005-05-12 Lute Kamstra + + * modes.texi (Generic Modes): Update. + (Major Modes): Refer to node "Generic Modes". + + * elisp.texi (Top): Update to the current structure of the manual. + * processes.texi (Processes): Add menu description. + * customize.texi (Customization): Add menu descriptions. + +2005-05-11 Thien-Thi Nguyen + + * processes.texi (Signals to Processes) + (Low-Level Network): Fix typos. + +2005-05-11 Lute Kamstra + + * elisp.texi (Top): Add some nodes from the chapter "Major and + Minor Modes" to the detailed node listing. + +2005-05-10 Richard M. Stallman + + * keymaps.texi (Extended Menu Items): Menu item filter functions + can be called at any time. + +2005-05-08 Luc Teirlinck + + * variables.texi (File Local Variables): `(hack-local-variables t)' + now also checks whether a mode is specified in the local variables + list. + +2005-05-05 Kevin Ryde + + * display.texi (The Echo Area): Correct format function cross + reference. + +2005-05-05 Luc Teirlinck + + * variables.texi (Variable Aliases): Change description of + `define-obsolete-variable-alias'. + + * functions.texi (Functions): Add "Obsolete Functions" to menu. + (Defining Functions): Add xref. + (Obsolete Functions): New node. + (Function Safety): Standardize capitalization of section title. + + * frames.texi (Pop-Up Menus): Complete description of `x-popup-menu'. + (Dialog Boxes): Complete description of `x-popup-dialog'. + +2005-05-04 Richard M. Stallman + + * commands.texi (Interactive Codes): Fix Texinfo usage. + Document U more clearly. + +2005-05-01 Luc Teirlinck + + * variables.texi (Variable Aliases): `make-obsolete-variable' is a + function and not a macro. + + * frames.texi (Pop-Up Menus): Correct and clarify description of + `x-popup-menu'. + (Dialog Boxes): Clarify description of `x-popup-dialog'. + +2005-05-01 Richard M. Stallman + + * edebug.texi (Checking Whether to Stop): Fix previous change. + +2005-05-01 Luc Teirlinck + + * display.texi: Fix typos and Texinfo usage. + + * edebug.texi (Checking Whether to Stop): executing-macro -> + executing-kbd-macro. + +2005-05-01 Richard M. Stallman + + * display.texi (Invisible Text): Correct add-to-invisibility-spec. + +2005-04-30 Richard M. Stallman + + * files.texi (Magic File Names): Document `operations' property. + +2005-04-29 Lute Kamstra + + * modes.texi (Generic Modes): New node. + (Major Modes): Add it to the menu. + (Derived Modes): Add "derived mode" to concept index. + +2005-04-28 Lute Kamstra + + * modes.texi (Defining Minor Modes): Fix previous change. + (Font Lock Mode): Simplify. + (Font Lock Basics): Say that font-lock-defaults is buffer-local + when set and that some parts are optional. Add cross references. + (Search-based Fontification): Say how to specify font-lock-keywords. + Add cross references. Add font-lock-multiline to index. + Move font-lock-keywords-case-fold-search here from node "Other Font + Lock Variables". Document font-lock-add-keywords and + font-lock-remove-keywords. + (Other Font Lock Variables): Move font-lock-keywords-only, + font-lock-syntax-table, font-lock-beginning-of-syntax-function, + and font-lock-syntactic-face-function to node "Syntactic Font + Lock". Move font-lock-keywords-case-fold-search to node + "Search-based Fontification". Document font-lock-inhibit-thing-lock + and font-lock-{,un}fontify-{buffer,region}-function. + (Precalculated Fontification): Remove reference to deleted variable + font-lock-core-only. + (Faces for Font Lock): Add font-lock-comment-delimiter-face. + (Syntactic Font Lock): Add intro. Move font-lock-keywords-only, + font-lock-syntax-table, font-lock-beginning-of-syntax-function, + and font-lock-syntactic-face-function here from node "Other Font + Lock Variables". Move font-lock-syntactic-keywords to "Setting + Syntax Properties". Add cross references. + (Setting Syntax Properties): New node. + Move font-lock-syntactic-keywords here from "Syntactic Font Lock". + * syntax.texi (Syntax Properties): Add cross reference. + * hooks.texi (Standard Hooks): Add Font-Lock hooks. + +2005-04-26 Richard M. Stallman + + * display.texi (Defining Faces): + Document `default' elements of defface spec. + + * modes.texi (Major Mode Conventions): Explain customizing ElDoc mode. + + * variables.texi (Variable Aliases): Clarify text. + +2005-04-25 Chong Yidong + + * windows.texi (Window Hooks): Remove reference to obsolete Lazy Lock. + +2005-04-25 Luc Teirlinck + + * hooks.texi (Standard Hooks): Most minor modes have mode hooks too. + +2005-04-24 Eli Zaretskii + + * syntax.texi (Syntax Table Internals): Elaborate documentation of + syntax-after and syntax-class. + + * files.texi (Changing Files): Fix last change's cross-reference. + (Unique File Names): Don't mention "numbers" in the documentation + of make-temp-file and make-temp-name. + +2005-04-23 Richard M. Stallman + + * files.texi (Changing Files): Document MUSTBENEW arg in copy-file. + +2005-04-22 Nick Roberts + + * windows.texi (Cyclic Window Ordering): Clarify window-list. + +2005-04-22 Nick Roberts + + * variables.texi (Variable Aliases): Describe make-obsolete-variable + and define-obsolete-variable-alias. + +2005-04-22 Kim F. Storm + + * symbols.texi (Symbol Plists): Remove safe-get, as get is now safe. + (Other Plists): Remove safe-plist-get, as plist-get is now safe. + +2005-04-21 Lute Kamstra + + * lists.texi (Association Lists): Document rassq-delete-all. + +2005-04-19 Richard M. Stallman + + * modes.texi (Search-based Fontification): Explain that + facespec is an expression to be evaluated. + +2005-04-19 Kevin Ryde + + * streams.texi (Output Functions): Fix xref. + * strings.texi (String Conversion): Fix xref. + +2005-04-19 Kim F. Storm + + * symbols.texi (Symbol Plists): Add safe-get. + Mention that `get' may signal an error. + +2005-04-18 Nick Roberts + + * customize.texi (Variable Definitions): Replace tooltip-mode + example with save-place. + +2005-04-17 Richard M. Stallman + + * buffers.texi (Indirect Buffers): Clarify. + + * positions.texi (Positions): Clarify converting marker to integer. + + * strings.texi (String Basics): Mention string-match; clarify. + +2005-04-08 Lute Kamstra + + * modes.texi (Search-based Fontification): Fix cross references. + Use consistent terminology. Document anchored highlighting. + +2005-04-05 Lute Kamstra + + * modes.texi (Defining Minor Modes): Document :group keyword + argument and its default value. + +2005-04-03 Lute Kamstra + + * hooks.texi (Standard Hooks): Add some hooks. Add cross + references and/or descriptions. Delete major mode hooks; mention + them as a category instead. Rename or delete obsolete hooks. + +2005-04-02 Richard M. Stallman + + * nonascii.texi (Coding System Basics): Another wording cleanup. + +2005-04-01 Richard M. Stallman + + * nonascii.texi (Coding System Basics): Clarify previous change. + +2005-04-01 Kenichi Handa + + * nonascii.texi (Coding System Basics): Describe about rondtrip + identity of coding systems. + +2005-03-29 Chong Yidong + + * text.texi (Buffer Contents): Add filter-buffer-substring and + buffer-substring-filters. + +2005-03-26 Chong Yidong + + * anti.texi (Antinews): Mention `G' interactive code. + + * tips.texi (Compilation Tips): Mention benchmark.el. + +2005-03-27 Luc Teirlinck + + * modes.texi (Other Font Lock Variables): `font-lock-fontify-block' + is now bound to M-o M-o. + + * keymaps.texi (Prefix Keys): `facemenu-keymap' is now on M-o. + +2005-03-26 Glenn Morris + + * calendar.texi: Delete file (and move contents to emacs-xtra.texi + in the Emacs Manual). + * Makefile.in (srcs): Remove calendar.texi. + * makefile.w32-in (srcs): Remove calendar.texi. + * display.texi (Display): Change name of next node. + * os.texi (System In): Change name of previous node. + * elisp.texi (Top): Remove Calendar references. + * vol1.texi (Top): Remove Calendar references. + * vol2.texi (Top): Remove Calendar references. + +2005-03-25 Richard M. Stallman + + * display.texi (Standard Faces, Fringe Bitmaps, Customizing Bitmaps): + Cleanup previous change. + +2005-03-25 Chong Yidong + + * display.texi (Face Attributes): Faces earlier in an :inherit + list take precedence. + (Scroll Bars): Fix description of vertical-scroll-bars. + Document frame-current-scroll-bars and window-current-scroll-bars. + + * markers.texi (The Mark): Document temporary Transient Mark mode. + + * minibuf.texi (Reading File Names): + Document read-file-name-completion-ignore-case. + + * positions.texi (Screen Lines): Document nil for width argument + to compute-motion. + +2005-03-23 Kim F. Storm + + * display.texi (Standard Faces): Other faces used in the fringe + implicitly inherits from the fringe face. + (Fringe Bitmaps): FACE in right-fringe and left-fringe display + properties implicitly inherits from fringe face. + (Customizing Bitmaps): Likewise for set-fringe-bitmap-face. + +2005-03-20 Chong Yidong + + * display.texi (Invisible Text): State default value of + line-move-ignore-invisible. + (Managing Overlays): Document remove-overlays. + (Standard Faces): Document escape-glyph face. + + * minibuf.texi (Reading File Names): Document read-file-name-function. + + * modes.texi (Other Font Lock Variables): + Document font-lock-lines-before. + + * positions.texi (Skipping Characters): skip-chars-forward allows + character classes. + +2005-03-18 Lute Kamstra + + * edebug.texi (Instrumenting Macro Calls): Fix another typo. + +2005-03-17 Richard M. Stallman + + * text.texi (Undo): Document extensible undo entries. + + * searching.texi (String Search, Regexp Search, Regexp Search): + Cleanups. + + * nonascii.texi (Character Codes): Minor fix. + + * display.texi (Display Property): Explain the significance + of having text properties that are eq. + (Other Display Specs): Explain string as display spec. + + * commands.texi (Interactive Codes): Document G option. + +2005-03-17 Chong Yidong + + * text.texi (Filling): Add sentence-end-without-period and + sentence-end-without-space. + (Changing Properties): Minor fix. + + * anti.texi: Total rewrite. + +2005-03-15 Lute Kamstra + + * edebug.texi (Instrumenting Macro Calls): Fix typos. + +2005-03-08 Kim F. Storm + + * display.texi (Specified Space): Property :width is support on + non-graphic terminals, :height is not. + +2005-03-07 Richard M. Stallman + + * display.texi (Overlay Arrow, Fringe Bitmaps, Customizing Bitmaps): + Now subnodes of Fringes. + (Overlay Arrow): Document overlay-arrow-variable-list. + (Fringe Size/Pos): New node, broken out of Fringes. + (Display): Explain clearing vs redisplay better. + (Truncation): Clarify use of bitmaps. + (The Echo Area): Clarify the uses of the echo area. + Add max-mini-window-height. + (Progress): Clarify. + (Invisible Text): Explain that main loop moves point out. + (Selective Display): Say "hidden", not "invisible". + (Managing Overlays): Move up. Describe relation to Undo here. + (Overlay Properties): Clarify intro. + (Finding Overlays): Explain return values when nothing found. + (Width): truncate-string-to-width has added arg. + (Displaying Faces): Clarify and update mode line face handling. + (Face Functions): Minor cleanup. + (Conditional Display): Merge into Other Display Specs. + (Pixel Specification, Other Display Specs): Minor cleanups. + (Images, Image Descriptors): Minor cleanups. + (GIF Images): Patents have expired. + (Showing Images): Explain default text for insert-image. + (Manipulating Button Types): Merge into Manipulating Buttons. + (Making Buttons): Explain return values. + (Button Buffer Commands): Add xref. + (Inverse Video): Update mode-line-inverse-video. + (Display Table Format): Clarify. + (Active Display Table): Give defaults for window-display-table. + + * calendar.texi (Calendar Customizing): calendar-holiday-marker + and calendar-today-marker are strings, not chars. + (Holiday Customizing): Minor fix. + + * internals.texi (Writing Emacs Primitives): Update `or' example. + Update limit on # args of subr. + + * edebug.texi (Using Edebug): Arrow is in fringe. + (Instrumenting): Arg to eval-defun works without loading edebug. + (Edebug Execution Modes): Add xref. + + * customize.texi (Common Keywords): Clarify :require. + Mention :version here. + (Variable Definitions, Group Definitions): Not here. + (Variable Definitions): Clarify symbol arg to :initialize and :set fns. + +2005-03-07 Chong Yidong + * nonascii.texi (Text Representations): Clarify position-bytes. + (Character Sets): Add list-charset-chars. + (Scanning Charsets): Add charset-after. + (Encoding and I/O): Minor fix. + +2005-03-06 Richard M. Stallman + + * windows.texi (Vertical Scrolling): Get rid of "Emacs 21". + (Resizing Windows): Likewise. + + * text.texi (Change Hooks): Get rid of "Emacs 21". + + * strings.texi (Formatting Strings): Get rid of "Emacs 21". + + * streams.texi (Output Variables): Get rid of "Emacs 21". + + * searching.texi (Regexp Special, Char Classes): Get rid of "Emacs 21". + + * os.texi (Translating Input): Replace flow-control example + with a less obsolete example that uses `keyboard-translate'. + + * objects.texi (Hash Table Type, Circular Objects): + Get rid of "Emacs 21". + + * modes.texi (Mode Line Format): Get rid of "Emacs 21". + (Mode Line Data, Properties in Mode, Header Lines): Likewise. + + * minibuf.texi (Minibuffer Misc): Get rid of "Emacs 21". + + * lists.texi (List Elements, Building Lists): Get rid of "Emacs 21". + + * keymaps.texi (Menu Separators, Tool Bar): Get rid of "Emacs 21". + (Menu Bar): Fix when menu-bar-update-hook is called. + + * hash.texi (Hash Tables): Get rid of "Emacs 21". + + * frames.texi (Text Terminal Colors): Get rid of "Emacs 21", + and make it read better. + + * files.texi (Writing to Files): Get rid of "Emacs 21". + (Unique File Names): Likewise. + + * elisp.texi: Update Emacs version to 22. + + * display.texi (Forcing Redisplay): Get rid of "Emacs 21". + (Overlay Properties, Face Attributes): Likewise. + (Managing Overlays): Fix punctuation. + (Attribute Functions): Clarify set-face-font; get rid of + info about old Emacs versions. + (Auto Faces, Font Lookup, Display Property, Images): + Get rid of "Emacs 21". + + * calendar.texi (Calendar Customizing): Get rid of "Emacs 21". + +2005-03-05 Richard M. Stallman + + * debugging.texi (Error Debugging): Remove stack-trace-on-error. + +2005-03-04 Lute Kamstra + + * debugging.texi (Error Debugging): Document stack-trace-on-error. + +2005-03-03 Lute Kamstra + + * edebug.texi (Instrumenting Macro Calls): Fix typo. + +2005-03-01 Lute Kamstra + + * debugging.texi (Debugger Commands): Update `j'. + +2005-02-28 Lute Kamstra + + * debugging.texi (Debugging): Fix typo. + (Error Debugging): Document eval-expression-debug-on-error. + (Function Debugging): Update example. + (Using Debugger): Mention starred stack frames. + (Debugger Commands): Document `j' and `l'. + (Invoking the Debugger): `d' and `j' exit recursive edit too. + Update the messages that the debugger displays. + (Internals of Debugger): Add cross reference. Update example. + (Excess Open): Minor improvement. + (Excess Close): Minor improvement. + +2005-02-26 Richard M. Stallman + + * tips.texi (Coding Conventions): Clarify. + Put all the major mode key reservations together. + Mention the Mouse-1 => Mouse-2 conventions. + + * syntax.texi (Syntax Class Table): Clarify. + (Syntax Table Functions): syntax-after moved from here. + (Syntax Table Internals): syntax-after moved to here. + (Parsing Expressions): Update info on number of values + and what's meaningful in the STATE argument. + (Categories): Fix typo. + + * sequences.texi (Arrays): Cleanup. + (Char-Tables): Clarify. + + * processes.texi (Deleting Processes): Cleanups, add xref. + (Subprocess Creation): Explain nil in exec-path. Cleanup. + (Process Information): set-process-coding-system, some args optional. + (Input to Processes): Explain various types for PROCESS args. + Rename them from PROCESS-NAME to PROCESS. + (Signals to Processes): Likewise. + (Decoding Output): Cleanup. + (Query Before Exit): Clarify. + + * os.texi (Startup Summary): Correct the options; add missing ones. + (Terminal Output, Batch Mode): Clarify. + (Flow Control): Node deleted. + + * markers.texi (The Mark): Clarify. + + * macros.texi (Expansion): Cleanup. + (Indenting Macros): indent-spec allows ints, not floats. + + * keymaps.texi (Keymaps): Clarify. + (Format of Keymaps): Update lisp-mode-map example. + (Active Keymaps, Key Lookup): Clarify. + (Changing Key Bindings): Add xref to `kbd'. + (Key Binding Commands, Simple Menu Items): Clarify. + (Mouse Menus, Menu Bar): Clarify. + (Menu Example): Replace print example with menu-bar-replace-menu. + + * help.texi (Documentation Basics): Add function-documentation prop. + + * elisp.texi (Top): Don't refer to Flow Control node. + + * commands.texi (Command Overview): Improve xrefs. + (Adjusting Point): Adjusting point applies to intangible and invis. + (Key Sequence Input): Doc extra read-key-sequence args. + Likewise for read-key-sequence-vector. + + * backups.texi (Rename or Copy): Minor fix. + (Numbered Backups): For version-control, say the default. + (Auto-Saving): make-auto-save-file-name example is simplified. + + * advice.texi (Advising Functions): Don't imply one part of Emacs + should advise another part. Markup changes. + (Defining Advice): Move transitional para. + (Activation of Advice): Cleanup. + Explain if COMPILE is nil or negative. + + * abbrevs.texi (Abbrev Expansion): Clarify, fix typo. + +2005-02-24 Lute Kamstra + + * modes.texi (Defining Minor Modes): Explain that INIT-VALUE, + LIGHTER, and KEYMAP can be omitted when KEYWORD-ARGS are used. + +2005-02-23 Lute Kamstra + + * modes.texi (Defining Minor Modes): define-minor-mode can be used + to define global minor modes as well. + + * display.texi (Managing Overlays): overlay-buffer returns nil for + deleted overlays. + +2005-02-22 Kim F. Storm + + * minibuf.texi (Basic Completion): Allow symbols in addition to + strings in try-completion and all-completions. + +2005-02-14 Lute Kamstra + + * elisp.texi (Top): Remove reference to deleted node. + + * lists.texi (Lists): Remove reference to deleted node. + (Cons Cells): Fix typo. + + * loading.texi (Where Defined): Fix typo. + +2005-02-14 Richard M. Stallman + + * variables.texi (Creating Buffer-Local): change-major-mode-hook + is useful for discarding some minor modes. + + * symbols.texi (Symbol Components): Reorder examples. + + * streams.texi (Input Functions): State standard-input default. + (Output Variables): State standard-output default. + + * objects.texi (Printed Representation): Clarify read syntax vs print. + (Floating Point Type): Explain meaning better. + (Symbol Type): Explain uniqueness better. + (Cons Cell Type): Explain empty list sooner. CAR and CDR later. + List examples sooner. + (Box Diagrams): New subnode broken out. + Some examples moved from old Lists as Boxes node. + (Dotted Pair Notation): Clarify intro. + (Array Type): Clarify. + (Type Predicates): Add hash-table-p. + + * numbers.texi (Integer Basics): Clarify radix explanation. + (Predicates on Numbers): Minor clarification. + (Comparison of Numbers): Minor clarification. Clarify eql. + Typos in min, max. + (Math Functions): Clarify overflow in expt. + + * minibuf.texi (Text from Minibuffer): Minor clarification. + Mention arrow keys. + + * loading.texi (Autoload): defun's doc string overrides autoload's + doc string. + (Repeated Loading): Modernize "add to list" examples. + (Where Defined): Finish updating table of load-history elts. + + * lists.texi (List-related Predicates): Minor wording improvement. + (Lists as Boxes): Node deleted. + (Building Lists): Explain trivial cases of number-sequence. + + * hash.texi (Hash Tables): Add desc to menu items. + (Creating Hash): Expain "full" means "make larger", + (Hash Access): Any object can be a key. + State value of maphash. + + * functions.texi (What Is a Function): Wording cleanup. + (Function Documentation): Minor cleanup. + Explain purpose of calling convention at end of doc string. + (Function Names): Wording cleanup. + (Calling Functions): Wording cleanup. + Explain better how funcall calls the function. + (Function Cells): Delete example of saving and redefining function. + + * control.texi (Combining Conditions): Wording cleanup. + (Iteration): dolist and dotimes bind VAR locally. + (Cleanups): Xref to Atomic Changes. + + * compile.texi (Byte Compilation): Delete 19.29 info. + (Compilation Functions): Macros' difficulties don't affect defsubst. + (Docs and Compilation): Delete 19.29 info. + +2005-02-10 Richard M. Stallman + + * objects.texi (Symbol Type): Minor correction. + +2005-02-06 Lute Kamstra + + * modes.texi (Example Major Modes): Fix typos. + +2005-02-06 Richard M. Stallman + + * text.texi (Margins): fill-nobreak-predicate can be one function. + + * strings.texi (Modifying Strings): clear-string can make unibyte. + (Formatting Strings): format gives error if values missing. + + * positions.texi (Character Motion): Mention default arg + for forward-char. backward-char refers to forward-char. + (Word Motion): Mention default arg for forward-word. + (Buffer End Motion): Mention default arg for beginning-of-buffer. + Simplify end-of-buffer. + (Text Lines): Mention default arg for forward-line. + (List Motion): Mention default arg for beginning/end-of-defun. + (Skipping Characters): Minor fixes in explaining character-set. + + * modes.texi (Major Mode Conventions): Mention "system abbrevs". + Mode inheritance applies only when default-major-mode is nil. + Clarifications. + (Example Major Modes): Update Text mode and Lisp mode examples. + (Minor Mode Conventions): Mention define-minor-mode at top. + (Defining Minor Modes): In Hungry example, don't define C-M-DEL. + (Mode Line Format): Update mode line face display info. + (Properties in Mode): Mention effect of risky vars. + (Imenu): Define imenu-add-to-menubar. + (Font Lock Mode): Add descriptions to menu lines. + (Faces for Font Lock): Add font-lock-doc-face. + +2005-02-05 Lute Kamstra + + * text.texi (Maintaining Undo): Remove obsolete function. + +2005-02-05 Eli Zaretskii + + * frames.texi (Color Names): Add pointer to the X docs about RGB + color specifications. Improve indexing + (Text Terminal Colors): Replace the description of RGB values by + an xref to "Color Names". + +2005-02-03 Richard M. Stallman + + * windows.texi (Basic Windows): Add cursor-in-non-selected-windows. + Clarify. + (Selecting Windows): Clarify save-selected-window. + (Cyclic Window Ordering): Clarify walk-windows. + (Window Point): Clarify. + (Window Start): Add comment to example. + (Resizing Windows): Add `interactive' specs in examples. + Document fit-window-to-buffer. + + * text.texi (User-Level Deletion): just-one-space takes numeric arg. + (Undo, Maintaining Undo): Clarify last change. + (Sorting): In sort-numeric-fields, explain about octal and hex. + Mention sort-numeric-base. + (Format Properties): Add xref for hard newlines. + + * frames.texi (Window Frame Parameters): Explain pixel=char on tty. + (Pop-Up Menus): Fix typo. + (Color Names): Explain all types of color names. + Explain color-values on B&W terminal. + (Text Terminal Colors): Explain "rgb values" are lists. Fix arg names. + + * files.texi (File Locks): Not supported on MS systems. + (Testing Accessibility): Clarify. + + * edebug.texi (Printing in Edebug): Fix edebug-print-circle. + (Coverage Testing): Fix typo. + + * commands.texi (Misc Events): Remove stray space. + + * buffers.texi (Buffer Names): Clarify generate-new-buffer-name. + (Modification Time): Clarify when visited-file-modtime returns 0. + (The Buffer List): Clarify bury-buffer. + (Killing Buffers): Clarify. + (Indirect Buffers): Add clone-indirect-buffer. + +2005-02-02 Matt Hodges + + * edebug.texi (Printing in Edebug): Fix default value of + edebug-print-circle. + (Coverage Testing): Fix displayed frequency count data. + +2005-02-02 Luc Teirlinck + + * text.texi (Maintaining Undo): Add `undo-outer-limit'. + +2005-02-02 Kim F. Storm + + * text.texi (Undo) : Describe `apply' elements. + +2005-01-29 Eli Zaretskii + + * commands.texi (Misc Events): Describe the help-echo event. + + * text.texi (Special Properties) : Use `pos' + consistently in description of the help-echo property. + Use @code{nil} instead of @var{nil}. + + * display.texi (Overlay Properties): Fix the index entry for + help-echo overlay property. + + * customize.texi (Type Keywords): Uncomment the xref to the + help-echo property documentation. + +2005-01-23 Kim F. Storm + + * windows.texi (Window Start): Fix `pos-visible-in-window-p' + return value. Third element FULLY replaced by PARTIAL which + specifies number of invisible pixels if row is only partially visible. + (Textual Scrolling): Mention auto-window-vscroll. + (Vertical Scrolling): New defvar auto-window-vscroll. + +2005-01-16 Luc Teirlinck + + * keymaps.texi (Changing Key Bindings): `suppress-keymap' now uses + command remapping. + +2005-01-15 Richard M. Stallman + + * display.texi (Defining Images): Mention DATA-P arg of create-image. + +2005-01-14 Kim F. Storm + + * commands.texi (Accessing Events): Add WHOLE arg to posn-at-x-y. + + * text.texi (Links and Mouse-1): Fix string and vector item. + +2005-01-13 Richard M. Stallman + + * keymaps.texi (Active Keymaps): Rewrite the text, and update the + descriptions of overriding-local-map and overriding-terminal-local-map. + + * text.texi (Links and Mouse-1): Clarify text. + +2005-01-13 Kim F. Storm + + * modes.texi (Emulating Mode Line): Update format-mode-line entry. + +2005-01-13 Francis Litterio (tiny change) + + * keymaps.texi (Active Keymaps): Fix overriding-local-map description. + +2005-01-12 Kim F. Storm + + * text.texi (Links and Mouse-1): Rename section from Enabling + Mouse-1 to Following Links. Change xrefs. + Add examples for define-button-type and define-widget. + + * display.texi (Button Properties, Button Buffer Commands): + Clarify mouse-1 and follow-link functionality. + +2005-01-12 Richard M. Stallman + + * text.texi (Enabling Mouse-1 to Follow Links): Redo prev. change. + + * display.texi (Beeping): Fix Texinfo usage. + + * modes.texi (Emulating Mode Line): Doc FACE arg in format-header-line. + +2005-01-11 Kim F. Storm + + * display.texi (Button Properties, Button Buffer Commands): + Mention mouse-1 binding. Add follow-link keyword. + + * text.texi (Text Properties): Add "Enable Mouse-1" to submenu. + (Enabling Mouse-1 to Follow Links): New subsection. + +2005-01-06 Richard M. Stallman + + * text.texi (Special Properties): Minor change. + + * os.texi (Timers): Clarify previous change. + + * modes.texi (Emulating Mode Line): format-mode-line requires 1 arg. + +2005-01-01 Luc Teirlinck + + * display.texi (Face Attributes): Correct xref to renamed node. + +2005-01-01 Richard M. Stallman + + * display.texi (Face Attributes): Describe hex color specs. + +2004-12-31 Richard M. Stallman + + * os.texi (Timers): Update previous change. + +2004-12-30 Kim F. Storm + + * display.texi (Line Height): Total line-height is now specified + in line-height property of form (HEIGHT TOTAL). Swap (FACE . RATIO) + in cons cells. (nil . RATIO) is relative to actual line height. + Use line-height `t' instead of `0' to get minimum height. + +2004-12-29 Richard M. Stallman + + * os.texi (Timers): Discuss timers vs editing the buffer and undo. + +2004-12-28 Richard M. Stallman + + * commands.texi (Quitting): Clarify value of with-local-quit. + + * elisp.texi (Top): Fix previous change. + + * loading.texi (Loading): Fix previous change. + +2004-12-27 Richard M. Stallman + + * Makefile.in (MAKEINFO): Specify --force. + + * buffers.texi (Killing Buffers): Add buffer-save-without-query. + + * modes.texi (Emulating Mode Line): Document format's BUFFER arg. + + * display.texi (Line Height): Further clarify. + + * elisp.texi (Top): Update Loading submenu. + + * loading.texi (Where Defined): New node. + (Unloading): load-history moved to Where Defined. + +2004-12-21 Richard M. Stallman + + * commands.texi (Event Input Misc): Add while-no-input. + +2004-12-11 Richard M. Stallman + + * display.texi (Line Height): Rewrite text for clarity. + +2004-12-11 Kim F. Storm + + * display.texi (Display): Add node "Line Height" to menu. + (Line Height): New node. Move full description of line-spacing + and line-height text properties here from text.texi. + (Scroll Bars): Add vertical-scroll-bar variable. + + * frames.texi (Window Frame Parameters): Remove line-height defvar. + + * locals.texi (Standard Buffer-Local Variables): Fix xref for + line-spacing and vertical-scroll-bar. + + * text.texi (Special Properties): Just mention line-spacing and + line-height here, add xref to new "Line Height" node. + +2004-12-09 Thien-Thi Nguyen + + * frames.texi (Window Frame Parameters): New @defvar for `line-spacing'. + + * locals.texi (Standard Buffer-Local Variables): + Add @xref for `line-spacing'. + +2004-12-05 Richard M. Stallman + + * Makefile.in (maintainer-clean): Remove the info files + in $(infodir) where they are created. + +2004-12-03 Richard M. Stallman + + * windows.texi (Selecting Windows): get-lru-window and + get-largest-window don't consider dedicated windows. + + * text.texi (Undo): Document undo-in-progress. + +2004-11-26 Richard M. Stallman + + * locals.texi (Standard Buffer-Local Variables): Undo prev change. + Remove a few vars that are not always buffer-local. + +2004-11-24 Luc Teirlinck + + * locals.texi (Standard Buffer-Local Variables): Comment out + xref's to non-existent node `Yet to be written'. + +2004-11-24 Richard M. Stallman + + * processes.texi (Synchronous Processes): Grammar fix. + + * numbers.texi (Comparison of Numbers): Add eql. + + * locals.texi (Standard Buffer-Local Variables): Add many vars. + + * intro.texi (Printing Notation): Fix previous change. + + * display.texi (Customizing Bitmaps): Move indicate-buffer-boundaries + and default-indicate-buffer-boundaries from here. + (Usual Display): To here. + (Scroll Bars): Add scroll-bar-mode and scroll-bar-width. + (Usual Display): Move tab-width up. + + * customize.texi (Variable Definitions): Replace + show-paren-mode example with tooltip-mode. + (Simple Types, Composite Types, Defining New Types): + Minor cleanups. + +2004-11-21 Jesper Harder + + * processes.texi (Synchronous Processes, Output from Processes): + Markup fix. + +2004-11-20 Richard M. Stallman + + * positions.texi (Skipping Characters): skip-chars-forward + now handles char classes. + + * intro.texi (Printing Notation): Avoid confusion of `print' + when explaining @print. + + * macros.texi (Argument Evaluation): Fix 1st `for' expansion example. + + * display.texi (Display Table Format): Minor fix. + + * streams.texi (Output Functions): Fix print example. + + * Makefile.in (elisp): New target. + (dist): Depend on $(infodir)/elisp, not elisp. + Copy the info files from $(infodir). + + * minibuf.texi (Text from Minibuffer): Document KEEP-ALL arg in + read-from-minibuffer. + + * searching.texi (Regexp Search): Rename that to search-spaces-regexp. + +2004-11-19 Richard M. Stallman + + * searching.texi (Regexp Search): Add search-whitespace-regexp. + +2004-11-19 CHENG Gao (tiny change) + + * tips.texi (Coding Conventions): Fix typo. + +2004-11-16 Richard M. Stallman + + * tips.texi (Coding Conventions): Separate defvar and require + methods to avoid warnings. Use require only when there are many + functions and variables from that package. + + * minibuf.texi (Minibuffer Completion): When ignoring case, + predicate must not be case-sensitive. + + * debugging.texi (Function Debugging, Explicit Debug): Clarified. + (Test Coverage): Don't talk about "splotches". Clarified. + +2004-11-16 Thien-Thi Nguyen + + * frames.texi (Window Frame Parameters): Fix typo. + +2004-11-15 Kim F. Storm + + * symbols.texi (Other Plists): Note that plist-get may signal error. + Add safe-plist-get. + +2004-11-15 Thien-Thi Nguyen + + * modes.texi (Font Lock Basics): Fix typo. + +2004-11-08 Richard M. Stallman + + * syntax.texi (Syntax Table Functions): Add syntax-after. + +2004-11-06 Lars Brinkhoff + + * os.texi (Processor Run Time): New section documenting + get-internal-run-time. + +2004-11-06 Eli Zaretskii + + * Makefile.in (install, maintainer-clean): Don't use "elisp-*" as + it nukes elisp-cover.texi. + (dist): Change elisp-[0-9] to elisp-[1-9], as there could be no + elisp-0 etc. + +2004-11-05 Luc Teirlinck + + * commands.texi (Keyboard Macros): Document `append' return value + of `defining-kbd-macro'. + +2004-11-01 Richard M. Stallman + + * commands.texi (Interactive Call): Add called-interactively-p. + +2004-10-29 Simon Josefsson + + * minibuf.texi (Reading a Password): Revert. + +2004-10-28 Richard M. Stallman + + * frames.texi (Display Feature Testing): Explain about "vendor". + +2004-10-27 Richard M. Stallman + + * commands.texi (Interactive Codes): `N' uses numeric prefix, + not raw. Clarify `n'. + (Interactive Call): Rewrite interactive-p, focusing on when + and how to use it. + (Misc Events): Clarify previous change. + + * advice.texi (Simple Advice): Clarify what job the example does. + (Around-Advice): Clarify ad-do-it. + (Activation of Advice): An option of ad-default-compilation-action + is `never', not `nil'. + +2004-10-26 Kim F. Storm + + * commands.texi (Interactive Codes): Add U code letter. + +2004-10-25 Simon Josefsson + + * minibuf.texi (Reading a Password): Add. + +2004-10-24 Jason Rumney + + * commands.texi (Misc Events): Remove mouse-wheel. Add wheel-up + and wheel-down. + +2004-10-24 Kai Grossjohann + + * processes.texi (Synchronous Processes): Document process-file. + +2004-10-22 Kenichi Handa + + * text.texi (translate-region): Document that it accepts also a + char-table. + +2004-10-22 David Ponce + + * windows.texi (Resizing Windows): Document the `preserve-before' + argument of the functions `enlarge-window' and `shrink-window'. + +2004-10-19 Jason Rumney + + * makefile.w32-in (elisp): Change order of arguments to makeinfo. + +2004-10-09 Luc Teirlinck + + * text.texi (Filling): Add anchor for definition of + `sentence-end-double-space'. + + * searching.texi (Regexp Example): Update description of how + Emacs currently recognizes the end of a sentence. + (Standard Regexps): Update definition of the variable + `sentence-end'. Add definition of the function `sentence-end'. + +2004-10-08 Paul Pogonyshev + + * display.texi (Progress): New node. + +2004-10-05 Kim F. Storm + + * display.texi (Fringe Bitmaps): Update fringe-bitmaps-at-pos. + +2004-09-29 Kim F. Storm + + * display.texi (Fringe Bitmaps): Use symbols rather than numbers + to identify bitmaps. Remove -fringe-bitmap suffix for standard + fringe bitmap symbols, as they now have their own namespace. + (Customizing Bitmaps) : Clarify bit ordering + vs. pixels. Signal error if no free bitmap slots. + (Pixel Specification): Change IMAGE to @var{image}. + +2004-09-28 Richard M. Stallman + + * text.texi (Special Properties): Clarify line-spacing and line-height. + + * searching.texi (Regexp Search): Add looking-back. + +2004-09-25 Luc Teirlinck + + * display.texi: Correct typos. + (Image Descriptors): Correct xref's. + +2004-09-25 Richard M. Stallman + + * text.texi (Special Properties): Cleanups in `cursor'. + Rewrites in `line-height' and `line-spacing'; exchange them. + + * display.texi (Fringes): Rewrite previous change. + (Fringe Bitmaps): Merge text from Display Fringe Bitmaps. Rewrite. + (Display Fringe Bitmaps): Node deleted, text moved. + (Customizing Bitmaps): Split off from Fringe Bitmaps. Rewrite. + (Scroll Bars): Clarify set-window-scroll-bars. + (Pointer Shape): Rewrite. + (Specified Space): Clarify :align-to, etc. + (Pixel Specification): Use @var. Clarify new text. + (Other Display Specs): Clarify `slice'. + (Image Descriptors): Cleanups. + (Showing Images): Cleanups. + +2004-09-24 Luc Teirlinck + + * hooks.texi (Standard Hooks): Add `after-change-major-mode-hook'. + + * modes.texi: Various minor changes in addition to: + (Major Mode Conventions): Final call to `run-mode-hooks' should + not be inside the `delay-mode-hooks' form. + (Mode Hooks): New node. + (Hooks): Delete obsolete example. + Move definitions of `run-mode-hooks' and `delay-mode-hooks' to new + node "Mode Hooks". + +2004-09-22 Luc Teirlinck + + * display.texi: Correct various typos. + (Display): Rename node "Pointer Shapes" to "Pointer + Shape". (There is already a node called "Pointer Shapes" in + frames.texi.) + (Images): Remove non-existent node "Image Slices" from menu. + +2004-09-23 Kim F. Storm + + * text.texi (Special Properties): Add `cursor', `pointer', + `line-height', and `line-spacing' properties. + + * display.texi (Display): Add 'Fringe Bitmaps' and 'Pointer + Shapes' to menu. + (Standard Faces): Doc fix for fringe face. + (Fringes): Add `overflow-newline-into-fringe' and + 'indicate-buffer-boundaries'. + (Fringe Bitmaps, Pointer Shapes): New nodes. + (Display Property): Add 'Pixel Specification' and 'Display Fringe + Bitmaps' to menu. + (Specified Space): Describe pixel width and height. + (Pixel Specification): New node. + (Other Display Specs): Add `slice' property. + (Display Fringe Bitmaps): New node. + (Images): Add 'Image Slices' to menu. + (Image Descriptors): Add `:pointer' and `:map' properties. + (Showing Images): Add slice arg to `insert-image'. Add + 'insert-sliced-image'. + +2004-09-20 Richard M. Stallman + + * commands.texi (Key Sequence Input): + Clarify downcasing in read-key-sequence. + +2004-09-08 Juri Linkov + + * minibuf.texi (Minibuffer History): Add `history-delete-duplicates'. + +2004-09-07 Luc Teirlinck + + * locals.texi (Standard Buffer-Local Variables): Add + `buffer-auto-save-file-format'. + * internals.texi (Buffer Internals): Describe new + auto_save_file_format field of the buffer structure. + * files.texi (Format Conversion): `auto-save-file-format' has been + renamed `buffer-auto-save-file-format'. + +2004-08-27 Luc Teirlinck + + * abbrevs.texi (Abbrev Expansion): `abbrev-start-location' can be + an integer or a marker. + (Abbrev Expansion): Replace example for `pre-abbrev-expand-hook'. + +2004-08-22 Richard M. Stallman + + * modes.texi (Major Mode Conventions): Discuss rebinding of + standard key bindings. + +2004-08-18 Kim F. Storm + + * processes.texi (Accepting Output): Add `just-this-one' arg to + `accept-process-output'. + (Output from Processes): New var `process-adaptive-read-buffering'. + +2004-08-10 Luc Teirlinck + + * keymaps.texi: Various changes in addition to: + (Keymap Terminology): `kbd' uses same syntax as Edit Macro mode. + Give more varied examples for `kbd'. + (Creating Keymaps): Char tables have slots for all characters + without modifiers. + (Active Keymaps): `overriding-local-map' and + `overriding-terminal-local-map' also override text property and + overlay keymaps. + (Functions for Key Lookup): Mention OLP arg to `current-active-maps'. + (Scanning Keymaps): `accessible-keymaps' uses `[]' instead of `""' + to denote a prefix of no events. + `map-keymap' includes parent's bindings _recursively_. + Clarify and correct description of `where-is-internal'. + Mention BUFFER-OR-NAME arg to `describe-bindings'. + (Menu Example): For menus intended for use with the keyboard, the + menu items should be bound to characters or real function keys. + +2004-08-08 Luc Teirlinck + + * objects.texi (Character Type): Reposition `@anchor' to prevent + double space inside sentence in Info. + + * hooks.texi (Standard Hooks): `disabled-command-hook' has been + renamed to `disabled-command-function'. + * commands.texi (Key Sequence Input): Remove unnecessary anchor. + (Command Loop Info): Replace reference to it. + (Disabling Commands): `disabled-command-hook' has been renamed to + `disabled-command-function'. + +2004-08-07 Luc Teirlinck + + * os.texi (Translating Input): Only non-prefix bindings in + `key-translation-map' override actual key bindings. Warn about + possible indirect effect of actual key bindings on non-prefix + bindings in `key-translation-map'. + +2004-08-06 Luc Teirlinck + + * minibuf.texi (High-Level Completion): Add anchor for definition + of `read-variable'. + + * commands.texi: Various changes in addition to: + (Using Interactive): Clarify description of `interactive-form'. + (Interactive Call): Mention default for KEYS argument to + `call-interactively'. + (Command Loop Info): Clarify description of `this-command-keys'. + Mention KEEP-RECORD argument to `clear-this-command-keys'. + Value of `last-event-frame' can be `macro'. + (Repeat Events): `double-click-fuzz' is also used to distinguish + clicks and drags. + (Classifying Events): Clarify descriptions of `event-modifiers' + `event-basic-type' and `event-convert-list'. + (Accessing Events): `posn-timestamp' takes POSITION argument. + (Quoted Character Input): Clarify description of + `read-quoted-char' and fix example. + (Quitting): Add `with-local-quit'. + (Disabling Commands): Correct and clarify descriptions of + `enable-command' and `disable-command'. + Mention what happens if `disabled-command-hook' is nil. + (Keyboard Macros): Mention LOOPFUNC arg to `execute-kbd-macro'. + Describe `executing-kbd-macro' instead of obsolete `executing-macro'. + +2004-07-24 Luc Teirlinck + + * frames.texi: Various changes in addition to: + (Creating Frames): Expand and clarify description of `make-frame'. + (Window Frame Parameters): Either none or both of the `icon-left' + and `icon-top' parameters must be specified. Put descriptions of + `menu-bar-lines' and `toolbar-lines' closer together and change + them accordingly. + (Frame Titles): `multiple-frames' is not guaranteed to be accurate + except while processing `frame-title-format' or `icon-title-format'. + (Deleting Frames): Correct description of `delete-frame'. + Non-nil return values of `frame-live-p' are like those of `framep'. + (Frames and Windows): Mention return value of + `set-frame-selected-window'. + (Visibility of Frames): Mention `force' argument to + `make-frame-invisible'. `frame-visible-p' returns t for all + frames on text-only terminals. + (Frame Configurations): Restoring a frame configuration does not + restore deleted frames. + (Window System Selections): `x-set-selection' returns DATA. + (Resources): Add example. + (Display Feature Testing): Clarify descriptions of + `display-pixel-height', `display-pixel-width', `x-server-version' + and `x-server-vendor'. + + * windows.texi (Choosing Window): Add anchor. + * minibuf.texi (Minibuffer Misc): Add anchor. + +2004-07-23 John Paul Wallington + + * macros.texi (Defining Macros): Declaration keyword for setting + Edebug spec is `debug' not `edebug'. + +2004-07-19 Luc Teirlinck + + * windows.texi: Various small changes in addition to: + (Window Point): Mention return value of `set-window-point'. + (Window Start): `pos-visible-in-window-p' disregards horizontal + scrolling. Explain return value if PARTIALLY is non-nil. + (Vertical Scrolling): Mention PIXELS-P argument to `window-vscroll' + and `set-window-vscroll'. + (Size of Window): The argument WINDOW to `window-inside-edges', + `window-pixel-edges' and `window-inside-pixel-edges' is optional. + (Resizing Windows): Explain return value of + `shrink-window-if-larger-than-buffer'. + `window-size-fixed' automatically becomes buffer local when set. + (Window Configurations): Explain return value of + `set-window-configuration'. + + * minibuf.texi (Minibuffer Misc): Add anchor for + `minibuffer-scroll-window'. + + * positions.texi (Text Lines): Add anchor for `count-lines'. + +2004-07-17 Richard M. Stallman + + * display.texi (Overlay Properties): Adding `evaporate' prop + deletes empty overlay immediately. + + * abbrevs.texi (Abbrev Expansion): Clarify pre-abbrev-expand-hook, + fix example. + +2004-07-16 Jim Blandy + + * searching.texi (Regexp Backslash): Document new \_< and \_> + operators. + +2004-07-16 Juanma Barranquero + + * display.texi (Images): Fix Texinfo usage. + +2004-07-14 Luc Teirlinck + + * buffers.texi (Modification Time): `visited-file-modtime' now + returns a list of two integers, instead of a cons. + +2004-07-13 Luc Teirlinck + + * windows.texi: Various changes in addition to: + (Splitting Windows): Add `split-window-keep-point'. + +2004-07-09 Richard M. Stallman + + * frames.texi (Input Focus): Minor fix. + +2004-07-07 Luc Teirlinck + + * frames.texi (Input Focus): Clarify descriptions of + `select-frame-set-input-focus' and `select-frame'. + +2004-07-06 Luc Teirlinck + + * os.texi: Various small changes in addition to: + (Killing Emacs): Expand and clarify description of + `kill-emacs-query-functions' and `kill-emacs-hook'. + (System Environment): Expand and clarify description of `getenv' + and `setenv'. + (Timers): Clarify description of `run-at-time'. + (Translating Input): Correct description of + `extra-keyboard-modifiers'. + (Flow Control): Correct description of `enable-flow-control'. + +2004-07-06 Thien-Thi Nguyen + + * os.texi: Update copyright. + (Session Management): Grammar fix. + Clarify which Emacs does the restarting. + Use @samp for *scratch* buffer. + +2004-07-04 Alan Mackenzie + + * frames.texi (Input Focus): Add documentation for + `select-frame-set-input-focus'. Replace refs to non-existent + `switch-frame' with `select-frame'. Minor corrections and tidying + up of text-only terminal stuff. + +2004-07-02 Richard M. Stallman + + * files.texi (Saving Buffers): Cleanup write-contents-function. + (Magic File Names): Cleanup file-remote-p. + +2004-07-02 Kai Grossjohann + + * files.texi (Magic File Names): `file-remote-p' returns an + identifier of the remote system, not just t. + +2004-07-02 David Kastrup + + * searching.texi (Entire Match Data): Add explanation about new + match-data behavior when @var{integers} is non-nil. + +2004-06-24 Richard M. Stallman + + * commands.texi (Misc Events): Describe usr1-signal, usr2-signal event. + + * customize.texi (Variable Definitions): Note about doc strings + and :set. + + * keymaps.texi (Keymap Terminology): Document `kbd'. + (Changing Key Bindings, Key Binding Commands): Use kbd in examples. + + * display.texi (Invisible Text): Setting buffer-invisibility-spec + makes it buffer-local. + + * files.texi (Saving Buffers): Correct previous change. + + * commands.texi (Accessing Events): + Clarify posn-col-row and posn-actual-col-row. + +2004-06-24 David Ponce + + * commands.texi (Accessing Events): New functions + posn-at-point and posn-at-x-y. Add example to posn-x-y. + +2004-06-23 Luc Teirlinck + + * lists.texi, files.texi, processes.texi, macros.texi, hash.texi: + * frames.texi, buffers.texi, backups.texi, variables.texi: + * loading.texi, eval.texi, functions.texi, control.texi: + * symbols.texi, minibuf.texi: Reposition @anchor's. + + * help.texi: Various small changes in addition to the following. + (Describing Characters): Describe PREFIX argument to + `key-description'. Correct and clarify definition of + `text-char-description'. Describe NEED-VECTOR argument to + `read-kbd-macro'. + (Help Functions): Clarify definition of `apropos'. + +2004-06-23 Lars Hansen + + * files.texi (Saving Buffers): Correct description of + `write-contents-functions'. + +2004-06-21 Juanma Barranquero + + * display.texi (Images): Remove redundant @vindex directives. + Rewrite `image-library-alist' doc in active voice. + +2004-06-14 Juanma Barranquero + + * display.texi (Images): Document new delayed library loading, + variable `image-library-alist' and (existing but undocumented) + function `image-type-available-p'. + +2004-06-05 Richard M. Stallman + + * minibuf.texi (Minibuffer Completion): For INITIAL arg, + refer the user to the Initial Input node. + (Text from Minibuffer): Likewise. + (Initial Input): New node. Document this feature + and say it is mostly deprecated. + +2004-05-30 Richard M. Stallman + + * loading.texi (Named Features): Clarify return value + and meaning of NOERROR. + + * variables.texi (File Local Variables): Minor cleanup. + +2004-05-30 Michael Albinus + + * files.texi (Magic File Names): Add `file-remote-p' as operation + of file name handlers. + +2004-05-29 Richard M. Stallman + + * modes.texi (Minor Mode Conventions): (-) has no special meaning + as arg to a minor mode command. + +2004-05-22 Richard M. Stallman + + * syntax.texi (Syntax Class Table): Word syntax not just for English. + + * streams.texi (Output Variables): Doc float-output-format. + + * searching.texi (Regexp Special): Nested repetition can be infloop. + + * eval.texi (Eval): Increasing max-lisp-eval-depth can cause + real stack overflow. + + * compile.texi: Minor cleanups. + +2004-05-22 Luc Teirlinck + + * lists.texi (Cons Cells): Explain dotted lists, true lists, + circular lists. + (List Elements): Explain handling of circular and dotted lists. + +2004-05-19 Thien-Thi Nguyen + + * modes.texi (Search-based Fontification): Fix typo. + +2004-05-10 Juanma Barranquero + + * modes.texi (Mode Line Variables): Fix description of + global-mode-string, which is now after which-func-mode, not the + buffer name. + +2004-05-07 Lars Hansen + + * modes.texi (Desktop Save Mode): Add. + (Modes): Add menu entry Desktop Save Mode. + + * hooks.texi: Add desktop-after-read-hook, + desktop-no-desktop-file-hook and desktop-save-hook. + + * locals.texi: Add desktop-save-buffer. + +2004-04-30 Jesper Harder + + * display.texi: emacs -> Emacs. + +2004-04-27 Matthew Mundell + + * files.texi (Changing Files): Document set-file-times. + +2004-04-23 Juanma Barranquero + + * makefile.w32-in: Add "-*- makefile -*-" mode tag. + +2004-04-18 Jesper Harder + + * tips.texi (Coding Conventions): defopt -> defcustom. + +2004-04-16 Luc Teirlinck + + * sequences.texi: Various clarifications. + +2004-04-14 Luc Teirlinck + + * buffers.texi (Read Only Buffers): Mention optional ARG to + `toggle-read-only'. + +2004-04-14 Nick Roberts + + * windows.texi (Selecting Windows): Note that get-lru-window + returns a full-width window if possible. + +2004-04-13 Luc Teirlinck + + * buffers.texi: Various changes in addition to: + (Buffer File Name): Add `find-buffer-visiting'. + (Buffer Modification): Mention optional ARG to `not-modified'. + (Indirect Buffers): Mention optional CLONE argument to + `make-indirect-buffer'. + + * files.texi: Various changes in addition to: + (Visiting Functions): `find-file-hook' is now a normal hook. + (File Name Expansion): Explain difference between the way that + `expand-file-name' and `file-truename' treat `..'. + (Contents of Directories): Mention optional ID-FORMAT argument to + `directory-files-and-attributes'. + (Format Conversion): Mention new optional CONFIRM argument to + `format-write-file'. + +2004-04-12 Miles Bader + + * macros.texi (Expansion): Add description of `macroexpand-all'. + +2004-04-05 Jesper Harder + + * variables.texi (Variable Aliases): Mention + cyclic-variable-indirection. + + * errors.texi (Standard Errors): Ditto. + +2004-04-04 Luc Teirlinck + + * backups.texi: Various small changes in addition to: + (Making Backups): Mention return value of `backup-buffer'. + (Auto-Saving): Mention optional FORCE argument to + `delete-auto-save-file-if-necessary'. + (Reverting): Mention optional PRESERVE-MODES argument to + `revert-buffer'. Correct description of `revert-buffer-function'. + +2004-03-22 Juri Linkov + + * sequences.texi (Sequence Functions): Replace xref to `Vectors' + with `Vector Functions'. + + * text.texi (Sorting): Add missing quote. + +2004-03-14 Luc Teirlinck + + * intro.texi (Lisp History): Replace xref to `cl' manual with + inforef. + +2004-03-12 Richard M. Stallman + + * intro.texi (Version Info): Add arg to emacs-version. + (Lisp History): Change xref to CL manual. + +2004-03-09 Luc Teirlinck + + * minibuf.texi (Completion Commands): Add xref to Emacs manual + for Partial Completion mode. + +2004-03-07 Thien-Thi Nguyen + + * customize.texi: Fix typo. Remove eol whitespace. + +2004-03-04 Richard M. Stallman + + * processes.texi: Fix typos. + + * lists.texi (Building Lists): Minor clarification. + + * hash.texi (Creating Hash): Correct the meaning of t for WEAK + in make-hash-table. + +2004-02-29 Juanma Barranquero + + * makefile.w32-in (clean, maintainer-clean): Use $(DEL) instead of + rm, and ignore exit code. + +2004-02-27 Dan Nicolaescu + + * display.texi (Defining Faces): Add description for min-colors. + Update example. + +2004-02-23 Luc Teirlinck + + * abbrevs.texi: Various corrections and clarifications in addition + to the following: + (Abbrev Tables): Delete add-abbrev (as suggested by RMS). + +2004-02-22 Matthew Mundell (tiny change) + + * calendar.texi (Holiday Customizing): Quote arg of holiday-sexp. + +2004-02-21 Luc Teirlinck + + * text.texi: Various small changes in addition to the following: + (User-Level Deletion): Mention optional BACKWARD-ONLY argument + to delete-horizontal-space. + (Kill Functions, Yanking, Low-Level Kill Ring): Clarify and correct + description of yank-handler text property at various places. + + * frames.texi (Window System Selections): Add anchor. + + * syntax.texi (Syntax Table Functions): Clarify and correct + descriptions of make-syntax-table and copy-syntax-table. + (Motion and Syntax): Clarify SYNTAXES argument to + skip-syntax-forward. + (Parsing Expressions): Mention that the return value of + parse-partial-sexp is currently a list of ten rather than nine + elements. + (Categories): Various corrections and clarifications. + +2004-02-17 Luc Teirlinck + + * markers.texi (Marker Insertion Types): Minor change. + + * locals.texi (Standard Buffer-Local Variables): + * commands.texi (Interactive Codes, Using Interactive): + * functions.texi (Related Topics): Fix xrefs. + +2004-02-16 Luc Teirlinck + + * lists.texi (Sets And Lists): Update description of delete-dups. + +2004-02-16 Jesper Harder (tiny change) + + * keymaps.texi (Tool Bar): tool-bar-item => tool-bar-button. + +2004-02-16 Jan Dj,Ad(Brv + + * frames.texi (Parameter Access): frame-parameters arg is optional. + modify-frame-parameters handles nil for FRAME. + (Window Frame Parameters): menu-bar-lines and tool-bar-lines + are all-or-nothing for certain toolkits. + Mention parameter wait-for-wm. + (Frames and Windows): In frame-first-window and frame-selected-window + the arg is optional. + (Input Focus): In redirect-frame-focus the second arg is optional. + (Window System Selections): Mention selection type CLIPBOARD. + Mention data-type UTF8_STRING. + Mention numbering of cut buffers. + (Resources): Describe x-resource-name. + +2004-02-16 Richard M. Stallman + + * windows.texi (Buffers and Windows): Delete false table + about all-frames. + + * syntax.texi (Parsing Expressions): Delete old caveat + about parse-sexp-ignore-comments. + + * streams.texi (Output Variables): Add print-quoted. + + * lists.texi (Building Lists): Minor cleanup. + + * hash.texi (Creating Hash): Correct and clarify doc of WEAK values. + + * display.texi (Overlays): Explain overlays use markers. + (Managing Overlays): Explain front-advance and rear-advance + in more detail. + + * loading.texi (Unloading): Document unload-feature-special-hooks. + Get rid of fns-NNN.el file. + +2004-02-16 Matthew Mundell (tiny change) + + * help.texi (Describing Characters): Fix text-char-description + example output. + + * edebug.texi (Using Edebug): Fix example. + + * debugging.texi (Internals of Debugger): Fix return value. + + * files.texi (Changing Files): Fix argname. + + * calendar.texi: Fix parens, and default values. + + * display.texi, frames.texi, internals.texi, modes.texi: Minor fixes. + * nonascii.texi, objects.texi, os.texi: Minor fixes. + * searching.texi, text.texi, tips.texi, windows.text: Minor fixes. + + * positions.texi (Text Lines): Don't add -1 in current-line. + +2004-02-16 Richard M. Stallman + + * compile.texi (Compiler Errors): if-boundp feature applies to cond. + +2004-02-16 Jesper Harder (tiny change) + + * processes.texi (Low-Level Network): Fix a typo. + +2004-02-12 Kim F. Storm + + * display.texi (Fringes): Use consistent wording. + Note that window-fringe's window arg is optional. + (Scroll Bars): Use consistent wording. + +2004-02-11 Luc Teirlinck + + * tips.texi (Comment Tips): Document the new conventions for + commenting out code. + +2004-02-07 Jan Dj,Ad(Brv + + * positions.texi (Text Lines): Added missing end defun. + +2004-02-07 Kim F. Storm + + * positions.texi (Text Lines): Add line-number-at-pos. + +2004-02-06 John Paul Wallington + + * display.texi (Button Properties, Button Buffer Commands): + mouse-2 invokes button, not down-mouse-1. + +2004-02-04 Jason Rumney + + * makefile.w32-in: Sync with Makefile.in changes. + +2004-02-03 Luc Teirlinck + + * minibuf.texi (Text from Minibuffer): Various corrections and + clarifications. + (Object from Minibuffer): Correct Lisp description of + read-minibuffer. + (Minibuffer History): Clarify description of cons values for + HISTORY arguments. + (Basic Completion): Various corrections and clarifications. Add + completion-regexp-list. + (Minibuffer Completion): Correct and clarify description of + completing-read. + (Completion Commands): Mention Partial Completion mode. Various + other minor changes. + (High-Level Completion): Various corrections and clarifications. + (Reading File Names): Ditto. + (Minibuffer Misc): Ditto. + +2004-01-26 Luc Teirlinck + + * strings.texi (Text Comparison): assoc-string also matches + elements of alists that are strings instead of conses. + (Formatting Strings): Standardize Texinfo usage. Update index + entries. + +2004-01-20 Luc Teirlinck + + * lists.texi (Sets And Lists): Add delete-dups. + +2004-01-15 Luc Teirlinck + + * edebug.texi (Instrumenting Macro Calls): `declare' is not a + special form. + * macros.texi (Defining Macros): Update description of `declare', + which now is a macro. + (Wrong Time): Fix typos. + +2004-01-14 Luc Teirlinck + + * compile.texi (Compilation Functions): Expand descriptions of + `compile-defun', `byte-compile-file', `byte-recompile-directory' + and `batch-byte-compile'. In particular, mention and describe + all optional arguments. + (Disassembly): Correct and clarify the description of `disassemble'. + +2004-01-11 Luc Teirlinck + + * searching.texi: Various small changes in addition to the + following. + (Regexp Example): Adapt to new value of `sentence-end'. + (Regexp Functions): The PAREN argument to `regexp-opt' can be + `words'. + (Search and Replace): Add usage note for `perform-replace'. + (Entire Match Data): Mention INTEGERS and REUSE arguments to + `match-data'. + (Standard Regexps): Update for new values of `paragraph-start' + and `sentence-end'. + +2004-01-07 Luc Teirlinck + + * files.texi (Saving Buffers): Clarify descriptions of + `write-contents-functions' and `before-save-hook'. + Make the defvar's for `before-save-hook' and `after-save-hook' + into defopt's. + +2004-01-07 Kim F. Storm + + * commands.texi (Click Events): Describe new image and + width/height elements of click events. + (Accessing Events): Add posn-string, posn-image, and + posn-object-width-height. Change posn-object to return either + image or string object. + +2004-01-01 Simon Josefsson + + * hooks.texi (Standard Hooks): Add before-save-hook. + * files.texi (Saving Buffers): Likewise. + +2004-01-03 Richard M. Stallman + + * frames.texi (Frames and Windows): Delete frame-root-window. + +2004-01-03 Luc Teirlinck + + * eval.texi, hash.texi, help.texi, symbols.texi: Add anchors. + + * functions.texi: Various small changes in addition to the + following. + (What Is a Function): `functionp' returns nil for macros. Clarify + behavior of this and following functions for symbol arguments. + (Function Documentation): Add `\' in front of (fn @var{arglist}) + and explain why. + (Defining Functions): Mention DOCSTRING argument to `defalias'. + Add anchor. + (Mapping Functions): Add anchor. Unquote nil in mapcar* example. + +2004-01-01 Miles Bader + + * display.texi (Buttons): New section. + +2003-12-31 Andreas Schwab + + * numbers.texi (Math Functions): sqrt reports a domain-error + error. + (Float Basics): Use `(/ 0.0 0.0)' instead of `(sqrt -1.0)'. + +2003-12-30 Luc Teirlinck + + * tips.texi (Documentation Tips): Update item on hyperlinks in + documentation strings. + + * errors.texi (Standard Errors): Various small corrections and + additions. + + * control.texi: Various small changes in addition to the + following. + (Signaling Errors): Provide some more details on how `signal' + constructs the error message. Add anchor to the definition of + `signal'. + (Error Symbols): Describe special treatment of `quit'. + (Cleanups): Rename BODY argument of `unwind-protect' to BODY-FORM + to emphasize that it has to be a single form. + + * buffers.texi: Add anchor. + +2003-12-29 Richard M. Stallman + + * windows.texi (Choosing Window): Add same-window-p, special-display-p. + (Window Configurations): Add window-configuration-frame. + + * variables.texi (Creating Buffer-Local): Add local-variable-if-set-p. + + * text.texi (Examining Properties): Add get-char-property-and-overlay. + Change arg name in get-char-property. + (Special Properties): Update handling of keymap property. + + * strings.texi (Modifying Strings): Add clear-string. + (Text Comparison): Add assoc-string and remove + assoc-ignore-case, assoc-ignore-representation. + + * os.texi (Time of Day): Add set-time-zone-rule. + + * numbers.texi (Math Functions): asin, acos, log, log10 + report domain-error errors. + + * nonascii.texi (Converting Representations): + Add multibyte-char-to-unibyte and unibyte-char-to-multibyte. + (Encoding and I/O): Add file-name-coding-system. + + * modes.texi (Search-based Fontification): Explain that + face specs are symbols with face names as values. + + * minibuf.texi (Minibuffer Misc): Add set-minibuffer-window. + + * lists.texi (Building Lists): remq moved elsewhere. + (Sets And Lists): remq moved here. + (Association Lists): Refer to assoc-string. + + * internals.texi (Garbage Collection): Add memory-use-counts. + + * frames.texi (Frames and Windows): Add set-frame-selected-window + and frame-root-window. + + * files.texi (Contents of Directories): + Add directory-files-and-attributes. + + * display.texi (Refresh Screen): Add force-window-update. + (Invisible Text): Explain about moving point out of invis text. + (Overlay Properties): Add overlay-properties. + (Managing Overlays): Add overlayp. + (GIF Images): Invalid image number displays a hollow box. + + * buffers.texi (Buffer Modification): Add restore-buffer-modified-p. + (Killing Buffers): Add buffer-live-p. + +2003-12-25 Markus Rost + + * display.texi (Fringes): Fix typo "set-buffer-window". + +2003-12-24 Luc Teirlinck + + * display.texi, eval.texi, help.texi, internals.texi, loading.texi: + * nonascii.texi, processes.texi, tips.texi, variables.texi: + Add or change various xrefs and anchors. + + * commands.texi: Replace all occurrences of @acronym{CAR} with + @sc{car}, for consistency with the rest of the Elisp manual. + `car' and `cdr' are historically acronyms, but are no longer + widely thought of as such. + + * internals.texi (Pure Storage): Mention that `purecopy' does not + copy text properties. + (Object Internals): Now 29 bits are used (in most implementations) + to address Lisp objects. + + * variables.texi (Variables with Restricted Values): New node. + + * objects.texi (Lisp Data Types): Mention that certain variables + can only take on a restricted set of values and add an xref to + the new node "Variables with Restricted Values". + + * eval.texi (Function Indirection): Describe the errors that + `indirect-function' can signal. + (Eval): Clarify the descriptions of `eval-region' and `values'. + Describe `eval-buffer' instead of `eval-current-buffer' and + mention `eval-current-buffer' as an alias for `current-buffer'. + Correct the description and mention all optional arguments. + + * nonascii.texi: Various small changes in addition to the + following. + (Converting Representations): Clarify behavior of + `string-make-multibyte' and `string-to-multibyte' for unibyte all + ASCII arguments. + (Character Sets): Document the variable `charset-list' and adapt + the definition of the function `charset-list' accordingly. + (Translation of Characters): Clarify use of generic characters in + `make-translation-table'. Clarify and correct the description of + the use of translation tables in encoding and decoding. + (User-Chosen Coding Systems): Correct and clarify the description + of `select-safe-coding-system'. + (Default Coding Systems): Clarify description of + `file-coding-system-alist'. + +2003-11-30 Luc Teirlinck + + * strings.texi (Text Comparison): Correctly describe when two + strings are `equal'. Combine and clarify descriptions of + `assoc-ignore-case' and `assoc-ignore-representation'. + + * objects.texi (Non-ASCII in Strings): Clarify description of + when a string is unibyte or multibyte. + (Bool-Vector Type): Update examples. + (Equality Predicates): Correctly describe when two strings are + `equal'. + +2003-11-29 Luc Teirlinck + + * lists.texi (Building Lists): `append' no longer accepts integer + arguments. Update the description of `number-sequence' to reflect + recent changes. + (Sets And Lists): Describe `member-ignore-case' after `member'. + +2003-11-27 Kim F. Storm + + * commands.texi (Click Events): Click object may be an images. + Describe (dx . dy) element of click positions. + (Accessing Events): Remove duplicate posn-timestamp. + New functions posn-object and posn-object-x-y. + +2003-11-23 Kim F. Storm + + * commands.texi (Click Events): Describe enhancements to event + position lists, including new text-pos and (col . row) items. + Mention left-fringe and right-fringe area events. + (Accessing Events): New functions posn-area and + posn-actual-col-row. Mention posn-timestamp. Mention that + posn-point in non-text area still returns buffer position. + Clarify posn-col-row. + +2003-11-21 Lars Hansen + + * files.texi (File Attributes): Describe new parameter ID-FORMAT. + * anti.texi (File Attributes): Describe removed parameter + ID-FORMAT. + +2003-11-20 Luc Teirlinck + + * positions.texi (Positions): Mention that, if a marker is used as + a position, its buffer is ignored. + + * markers.texi (Overview of Markers): Mention it here too. + +2003-11-12 Luc Teirlinck + + * numbers.texi (Numeric Conversions): Not just `floor', but also + `truncate', `ceiling' and `round' accept optional argument DIVISOR. + +2003-11-10 Luc Teirlinck + + * markers.texi (Creating Markers): Specify insertion type of + created markers. Add xref to `Marker Insertion Types'. + Second argument to `copy-marker' is optional. + (Marker Insertion Types): Mention that most markers are created + with insertion type nil. + (The Mark): Correctly describe when `mark' signals an error. + (The Region): Correctly describe when `region-beginning' and + `region-end' signal an error. + +2003-11-08 Luc Teirlinck + + * hash.texi (Creating Hash): Clarify description of `eql'. + `makehash' is obsolete. + (Hash Access): Add Common Lisp notes for `remhash' and `clrhash'. + + * positions.texi (Point): Change description of `buffer-end', so + that it is also correct for floating point arguments. + (List Motion): Correct argument lists of `beginning-of-defun' and + `end-of-defun'. + (Excursions): Add xref to `Marker Insertion Types'. + (Narrowing): Argument to `narrow-to-page' is optional. + +2003-11-06 Luc Teirlinck + + * streams.texi (Output Streams): Clarify behavior of point for + marker output streams. + +2003-11-04 Luc Teirlinck + + * variables.texi (Defining Variables): Second argument to + `defconst' is not optional. + (Setting Variables): Mention optional argument APPEND to + `add-to-list'. + (Creating Buffer-Local): Expand description of + `make-variable-buffer-local'. + (Frame-Local Variables): Expand description of + `make-variable-frame-local'. + (Variable Aliases): Correct description of optional argument + DOCSTRING to `defvaralias'. Mention return value of + `defvaralias'. + (File Local Variables): Add xref to `File variables' in Emacs + Manual. Correct description of `hack-local-variables'. Mention + `safe-local-variable' property. Mention optional second argument + to `risky-local-variable-p'. + +2003-11-03 Luc Teirlinck + + * symbols.texi (Symbol Plists): Mention return value of `setplist'. + +2003-11-02 Jesper Harder (tiny change) + + * lispref/anti.texi, lispref/backups.texi, lispref/commands.texi + lispref/customize.texi, lispref/display.texi, lispref/files.texi, + lispref/internals.texi, lispref/keymaps.texi, lispref/loading.texi, + lispref/modes.texi, lispref/nonascii.texi, lispref/numbers.texi, + lispref/objects.texi, lispref/os.texi, lispref/positions.texi, + lispref/processes.texi, lispref/searching.texi, + lispref/sequences.texi, lispref/streams.texi, lispref/strings.texi, + lispref/syntax.texi, lispref/text.texi: Replace @sc{foo} with + @acronym{FOO}. + +2003-10-27 Luc Teirlinck + + * strings.texi (Creating Strings): Argument START to `substring' + can not be `nil'. Expand description of + `substring-no-properties'. Correct description of `split-string', + especially with respect to empty matches. Prevent very bad line + break in definition of `split-string-default-separators'. + (Text Comparison): `string=' and `string<' also accept symbols as + arguments. + (String Conversion): More completely describe argument BASE in + `string-to-number'. + (Formatting Strings): `%s' and `%S' in `format' do require + corresponding object. Clarify behavior of numeric prefix after + `%' in `format'. + (Case Conversion): The argument to `upcase-initials' can be a + character. + +2003-10-27 Kenichi Handa + + * display.texi (Fontsets): Fix texinfo usage. + +2003-10-25 Kenichi Handa + + * display.texi (Fontsets): Add description of the function + set-fontset-font. + +2003-10-23 Luc Teirlinck + + * display.texi (Temporary Displays): Add xref to `Documentation + Tips'. + + * functions.texi (Function Safety): Use inforef instead of pxref + for SES. + +2003-10-23 Andreas Schwab + + * Makefile.in (TEX, texinputdir): Don't define. + (TEXI2DVI): Define. + (srcs): Remove $(srcdir)/index.perm and $(srcdir)/index.unperm, + add $(srcdir)/index.texi. + ($(infodir)/elisp): Remove index.texi dependency. + (elisp.dvi): Likewise. Use $(TEXI2DVI). + (index.texi): Remove target. + (dist): Don't link $(srcdir)/permute-index. + (clean): Don't remove index.texi. + + * permute-index, index.perm: Remove. + * index.texi: Rename from index.unperm. + +2003-10-22 Luc Teirlinck + + * tips.texi (Documentation Tips): Document new behavior for face + and variable hyperlinks in Help mode. + +2003-10-21 Luc Teirlinck + + * objects.texi (Integer Type): Update for extra bit of integer range. + (Character Type): Ditto. + +2003-10-16 Eli Zaretskii + + * numbers.texi (Integer Basics): Add index entries for reading + numbers in hex, octal, and binary. + +2003-10-16 Lute Kamstra + + * modes.texi (Mode Line Format): Mention force-mode-line-update's + argument. + +2003-10-13 Luc Teirlinck + + * windows.texi (Choosing Window): Fix typo. + * edebug.texi (Edebug Execution Modes): Fix typo. + +2003-10-13 Richard M. Stallman + + * windows.texi (Basic Windows): A window has fringe settings, + display margins and scroll-bar settings. + (Splitting Windows): Doc split-window return value. + Clean up one-window-p. + (Selecting Windows): Fix typo. + (Cyclic Window Ordering): Explain frame as ALL-FRAMES in next-window. + (Buffers and Windows): In set-window-buffer, explain effect + on fringe settings and scroll bar settings. + (Displaying Buffers): In pop-to-buffer, explain nil as buffer arg. + (Choosing Window): Use defopt for pop-up-frame-function. + For special-display-buffer-names, explain same-window and same-frame. + Clarify window-dedicated-p return value. + (Textual Scrolling): scroll-up and scroll-down can get an error. + (Horizontal Scrolling): Clarify auto-hscroll-mode. + Clarify set-window-hscroll. + (Size of Window): Don't mention tool bar in window-height. + (Coordinates and Windows): Explain what coordinates-in-window-p + returns for fringes and display margins. + (Window Configurations): Explain saving fringes, etc. + + * tips.texi (Library Headers): Clean up Documentation. + + * syntax.texi (Parsing Expressions): Clean up forward-comment + and parse-sexp-lookup-properties. + + * sequences.texi (Sequence Functions): sequencep accepts bool-vectors. + + * os.texi (System Environment): Clean up text for load-average errors. + + * modes.texi (Hooks): Don't explain local hook details at front. + Clarify run-hooks and run-hook-with-args a little. + Clean up add-hook and remove-hook. + + * edebug.texi (Edebug Execution Modes): Clarify t. + Document edebug-sit-for-seconds. + (Coverage Testing): Document C-x X = and =. + (Instrumenting Macro Calls): Fix typo. + (Specification List): Don't index the specification keywords. + +2003-10-10 Kim F. Storm + + * processes.texi (Network): Introduce make-network-process. + +2003-10-09 Luc Teirlinck + + * tips.texi (Library Headers): Fix typo. + +2003-10-07 Juri Linkov + + * modes.texi (Imenu): Mention imenu-create-index-function's + default value. Explain submenus better. + +2003-10-07 Lute Kamstra + + * modes.texi (Faces for Font Lock): Fix typo. + (Hooks): Explain how buffer-local hook variables can refer to + global hook variables. + Various minor clarifications. + +2003-10-06 Lute Kamstra + + * tips.texi (Coding Conventions): Mention naming conventions for + hooks. + +2003-10-05 Luc Teirlinck + + * loading.texi (Library Search): Correct default value of + load-suffixes. + (Named Features): Fix typo. + +2003-10-05 Richard M. Stallman + + * loading.texi (Named Features): In `provide', + say how to test for subfeatures. + (Unloading): In unload-feature, use new var name + unload-feature-special-hooks. + +2003-10-03 Lute Kamstra + + * modes.texi (Major Mode Conventions): Mention third way to set up + Imenu. + (Imenu): A number of small fixes. + Delete documentation of internal variable imenu--index-alist. + Document the return value format of imenu-create-index-function + functions. + +2003-09-30 Richard M. Stallman + + * processes.texi (Network): Say what stopped datagram connections do. + + * lists.texi (Association Lists): Clarify `assq-delete-all'. + + * display.texi (Overlay Properties): Clarify `evaporate' property. + +2003-09-29 Lute Kamstra + + * modes.texi (Mode Line Data): Explain when symbols in mode-line + constructs should be marked as risky. + Change cons cell into proper list. + (Mode Line Variables): Change cons cell into proper list. + +2003-09-26 Lute Kamstra + + * modes.texi (Mode Line Data): Document the :propertize construct. + (Mode Line Variables): Reorder the descriptions of the variables + to match their order in the default mode-line-format. + Describe the new variables mode-line-position and mode-line-modes. + Update the default values of mode-line-frame-identification, + minor-mode-alist, and default-mode-line-format. + (Properties in Mode): Mention the :propertize construct. + +2003-09-26 Richard M. Stallman + + * buffers.texi, commands.texi, debugging.texi, eval.texi: + * loading.texi, minibuf.texi, text.texi, variables.texi: + Avoid @strong{Note:}. + +2003-09-26 Richard M. Stallman + + * keymaps.texi (Remapping Commands): Fix typo. + +2003-09-23 Luc Teirlinck + + * processes.texi (Low-Level Network): Fix typo. + +2003-09-23 Kim F. Storm + + * processes.texi (Network, Network Servers): Fix typos. + (Low-Level Network): Add timeout value for :server keyword. + Add new option keywords to make-network-process. + Add set-network-process-options. + Explain how to test availability of network options. + +2003-09-19 Richard M. Stallman + + * text.texi (Motion by Indent): Arg to + backward-to-indentation and forward-to-indentation is optional. + + * strings.texi (Creating Strings): Add substring-no-properties. + + * processes.texi + (Process Information): Add list-processes arg QUERY-ONLY. + Delete process-contact from here. + Add new status values for process-status. + Add process-get, process-put, process-plist, set-process-plist. + (Synchronous Processes): Add call-process-shell-command. + (Signals to Processes): signal-process allows process objects. + (Network): Complete rewrite. + (Network Servers, Datagrams, Low-Level Network): New nodes. + + * positions.texi (Word Motion): forward-word, backward-word + arg is optional. Reword. + + * abbrevs.texi (Defining Abbrevs): Index no-self-insert. + + * variables.texi (Creating Buffer-Local): + Delete duplicate definition of buffer-local-value. + (File Local Variables): Explain about discarding text props. + +2003-09-11 Richard M. Stallman + + * minibuf.texi (Intro to Minibuffers): Explain that the minibuffer + changes variables that record input events. + (Minibuffer Misc): Add minibuffer-selected-window. + + * lists.texi (Building Lists): Add copy-tree. + + * display.texi (Fontsets): Add char-displayable-p. + (Scroll Bars): New node. + +2003-09-08 Lute Kamstra + + * modes.texi (%-Constructs): Document new `%i' and `%I' + constructs. + +2003-09-03 Peter Runestig + + * makefile.w32-in: New file. + +2003-08-29 Richard M. Stallman + + * display.texi (Overlay Properties): Clarify how priorities + affect use of the properties. + +2003-08-19 Luc Teirlinck + + * customize.texi (Type Keywords): Correct the description of + `:help-echo' in the case where `motion-doc' is a function. + +2003-08-14 John Paul Wallington + + * modes.texi (Emulating Mode Line): Subsection, not section. + +2003-08-13 Richard M. Stallman + + * elisp.texi (Top): Update subnode lists in menu. + + * text.texi (Insertion): Add insert-buffer-substring-no-properties. + (Kill Functions): kill-region has new arg yank-handler. + (Yanking): New node. + (Yank Commands): Add yank-undo-function. + (Low-Level Kill Ring): + kill-new and kill-append have new arg yank-handler. + (Changing Properties): Add remove-list-of-text-properties. + (Atomic Changes): New node. + + * symbols.texi (Other Plists): Add lax-plist-get, lax-plist-put. + + * streams.texi (Output Variables): Add eval-expression-print-length + and eval-expression-print-level. + + * os.texi (Time Conversion): For encode-time, explain limits on year. + + * objects.texi (Character Type): Define anchor "modifier bits". + + * modes.texi (Emulating Mode Line): New node. + (Search-based Fontification): Font Lock uses font-lock-face property. + (Other Font Lock Variables): Likewise. + + * keymaps.texi (Format of Keymaps): Keymaps contain char tables, + not vectors. + (Active Keymaps): Add emulation-mode-map-alists. + (Functions for Key Lookup): key-binding has new arg no-remap. + (Remapping Commands): New node. + (Scanning Keymaps): where-is-internal has new arg no-remap. + (Tool Bar): Add tool-bar-local-item-from-menu. + Clarify when to use tool-bar-add-item-from-menu. + + * commands.texi (Interactive Call): commandp has new arg. + (Command Loop Info): Add this-original-command. + +2003-08-06 John Paul Wallington + + * compile.texi (Compiler Errors): Say `@end defmac' after `@defmac'. + + * display.texi (Warning Basics): Fix typo. + (Fringes): Add closing curly bracket and fix typo. + + * elisp.texi (Top): Fix typo. + +2003-08-05 Richard M. Stallman + + * elisp.texi: Update lists of subnodes. + + * windows.texi (Buffers and Windows): set-window-buffer has new arg. + + * variables.texi (Local Variables): Use lc for example variable names. + + * tips.texi (Library Headers): Explain where to put -*-. + + * strings.texi (Creating Strings): Fix xref for vconcat. + + * sequences.texi (Vector Functions): + vconcat no longer allows integer args. + + * minibuf.texi (Reading File Names): read-file-name has new + arg PREDICATE. New function read-directory-name. + + * macros.texi (Defining Macros): Give definition of `declare' + (Indenting Macros): New node. + + * frames.texi (Parameter Access): Add modify-all-frames-parameters. + (Window Frame Parameters): Make separate table of parameters + that are coupled with specific face attributes. + (Deleting Frames): delete-frame-hooks renamed to + delete-frame-functions. + + * files.texi (Magic File Names): Add file-remote-p. + Clarify file-local-copy. + + * edebug.texi (Instrumenting Macro Calls): Don't define `declare' + here; instead xref Defining Macros. + + * display.texi (Warnings): New node, and subnodes. + (Fringes): New node. + + * debugging.texi (Test Coverage): New node. + + * compile.texi (Compiler Errors): Explain with-no-warnings + and other ways to suppress warnings. + + * commands.texi (Interactive Call): Minor clarification. + + * buffers.texi (Buffer File Name): set-visited-file-name + renames the buffer too. + + * abbrevs.texi (Abbrev Tables): Add copy-abbrev-table. + +2003-07-24 Markus Rost + + * abbrevs.texi (Abbrev Expansion): Use \s syntax in example. + +2003-07-22 Markus Rost + + * internals.texi (Garbage Collection): Fix previous change. + +2003-07-22 Richard M. Stallman + + * files.texi (Truenames): Add LIMIT arg to file-chase-links. + + * display.texi (Width): Use \s syntax in example. + (Font Selection): Add face-font-rescale-alist. + + * modes.texi (Imenu): Add xref to Emacs Manual node on Imenu. + Remove spurious indent in example. + + * lists.texi (Building Lists): Add number-sequence. + + * internals.texi (Garbage Collection): Add gcs-done, gc-elapsed. + + * functions.texi (Function Documentation): Explain how to + show calling convention explicitly in the doc string. + + * windows.texi (Selecting Windows): save-selected-window saves + selected window of each frame. + (Window Configurations): Minor change. + + * syntax.texi (Syntax Table Functions): Use \s syntax in examples. + + * streams.texi (Output Variables): Add print-continuous-numbering + and print-number-table. + + * processes.texi (Decoding Output): New node. + + * os.texi (Time Conversion): decode-time arg is optional. + + * objects.texi (Character Type): Don't use space as example for \. + Make list of char names and \-sequences correspond. + Explain that \s is not used in strings. `\ ' needs space after. + + * nonascii.texi (Converting Representations): Add string-to-multibyte. + (Translation of Characters): Add translation-table-for-input. + (Default Coding Systems): Add auto-coding-functions. + (Explicit Encoding): Add decode-coding-inserted-region. + (Locales): Add locale-info. + + * minibuf.texi (Basic Completion): Describe test-completion. + Collections can be lists of strings. + Clean up lazy-completion-table. + (Programmed Completion): Mention test-completion. + Clarify why lambda expressions are not accepted. + (Minibuffer Misc): Describe minibufferp. + +2003-07-14 Richard M. Stallman + + * buffers.texi (Killing Buffers): kill-buffer-hook is perm local. + + * windows.texi (Selecting Windows): New arg to select-window. + (Selecting Windows): Add with-selected-window. + (Size of Window): Add window-inside-edges, etc. + + * internals.texi (Garbage Collection): Add post-gc-hook. + + * processes.texi (Subprocess Creation): Add exec-suffixes. + + * keymaps.texi (Functions for Key Lookup): Add current-active-maps. + (Scanning Keymaps): Add map-keymaps. + (Defining Menus): Add keymap-prompt. + + * numbers.texi (Integer Basics): Add most-positive-fixnum, + most-negative-fixnum. + + * compile.texi (Byte Compilation): Explain no-byte-compile + (Compiler Errors): New node. + + * os.texi (User Identification): user-uid, user-real-uid + can return float. + + * modes.texi (Major Mode Conventions): Explain about run-mode-hooks + and about derived modes. + (Minor Modes): Add minor-mode-list. + (Defining Minor Modes): Keyword args for define-minor-mode. + (Search-based Fontification): Explain managing other properties. + (Other Font Lock Variables): Add font-lock-extra-managed-props. + (Faces for Font Lock): Add font-locl-preprocessor-face. + (Hooks): Add run-mode-hooks and delay-mode-hooks. + + * variables.texi (Creating Buffer-Local): Add buffer-local-value. + (Variable Aliases): Clarify defvaralias. + + * loading.texi (Library Search): Add load-suffixes. + + * minibuf.texi (Basic Completion): Add lazy-completion-table. + (Programmed Completion): Add dynamic-completion-table. + + * files.texi (Changing Files): copy-file allows dir as NEWNAME. + (Magic File Names): Specify precedence order of handlers. + + * commands.texi (Command Overview): Emacs server runs pre-command-hook + and post-command-hook. + (Waiting): New calling convention for sit-for. + + * text.texi (Special Properties): local-map and keymap properties + apply based on their stickiness. + +2003-07-07 Richard M. Stallman + + * modes.texi (Minor Mode Conventions): Specify only some kinds + of list values as args to minor modes. + + * files.texi (File Name Expansion): Warn about iterative use + of substitute-in-file-name. + + * advice.texi (Activation of Advice): Clean up previous change. + +2003-07-06 Markus Rost + + * advice.texi (Activation of Advice): Note that ad-start-advice is + turned on by default. + +2003-06-30 Richard M. Stallman + + * text.texi (Buffer Contents): Document current-word. + (Change Hooks): Not called for *Messages*. + + * functions.texi (Defining Functions): Explain about redefining + primitives. + (Function Safety): Renamed. Minor changes. + Comment out the detailed criteria for what is safe. + +2003-06-22 Andreas Schwab + + * objects.texi (Symbol Type): Fix description of examples. + +2003-06-16 Andreas Schwab + + * hash.texi (Creating Hash): Fix description of :weakness. + +2003-06-13 Kai Gro,A_(Bjohann + + * files.texi (Changing Files): copy-file copies file modes, too. + +2003-05-28 Richard M. Stallman + + * strings.texi (Creating Strings): Clarify split-string. + +2003-05-22 Stephen J. Turnbull + + * strings.texi (Creating Strings): Update split-string specification + and examples. + +2003-05-19 Richard M. Stallman + + * elisp.texi: Correct invariant section names. + +2003-04-20 Richard M. Stallman + + * os.texi (Timers): Explain about timers and quitting. + +2003-04-19 Richard M. Stallman + + * internals.texi (Writing Emacs Primitives): Strings are + no longer special for GCPROs. Mention GCPRO5, GCPRO6. + Explain GCPRO convention for varargs function args. + +2003-04-16 Richard M. Stallman + + * minibuf.texi (Minibuffer Misc): Document fn minibuffer-message. + +2003-04-08 Richard M. Stallman + + * files.texi (Kinds of Files): Correct return value of file-symlink-p. + +2003-02-13 Kim F. Storm + + * objects.texi (Character Type): New \s escape for space. + +2003-01-31 Joe Buehler + + * os.texi (System Environment): Added cygwin system-type. + +2003-01-25 Richard M. Stallman + + * keymaps.texi: Document that a symbol can act as a keymap. + +2003-01-13 Richard M. Stallman + + * text.texi (Changing Properties): Say string indices are origin-0. + + * positions.texi (Screen Lines) : + Correct order of elts in return value. + + * keymaps.texi (Changing Key Bindings) : Mention + how to define a default binding. + +2002-12-07 Markus Rost + + * loading.texi (Unloading): Fix recent change for load-history. + + * customize.texi (Simple Types): Clarify description of custom + type 'number. Describe new custom type 'float. + +2002-12-04 Markus Rost + + * variables.texi (File Local Variables): Fix typo. + +2002-10-23 Kai Gro,A_(Bjohann + + From Michael Albinus . + + * README: Target for Info file is `make info'. + + * files.texi (File Name Components): Fixed typos in + `file-name-sans-extension'. + (Magic File Names): Complete list of operations for magic file + name handlers. + +2002-09-16 Jonathan Yavner + + * variables.texi (File Local Variables): New function + risky-local-variable-p. + +2002-09-15 Jonathan Yavner + + * functions.texi (Function safety): New node about unsafep. + +2002-08-05 Per Abrahamsen + + * customize.texi (Splicing into Lists): Fixed example. + Reported by Fabrice Bauzac + +2002-06-17 Juanma Barranquero + + * frames.texi (Display Feature Testing): Fix typo. + +2002-06-12 Andreas Schwab + + * frames.texi (Initial Parameters, Resources): Fix references to + the Emacs manual. + +2002-05-13 Kim F. Storm + + * variables.texi (Intro to Buffer-Local): Updated warning and + example relating to changing buffer inside let. + +2002-03-10 Jan Dj,Ad(Brv + + * os.texi (Session Management): New node about X Session management. + +2002-01-18 Eli Zaretskii + + * elisp.texi (VERSION): Set to 2.9. Update the version of Emacs + to which the manual corresponds, and the copyright years. + + * Makefile.in (VERSION): Set to 2.9. + +2001-11-29 Eli Zaretskii + + * elisp.texi: Change the category in @dircategory to "Emacs", to + make it consistent with info/dir. + +2001-11-25 Miles Bader + + * text.texi (Fields): Describe new `limit' arg in + field-beginning/field-end. + +2001-11-17 Eli Zaretskii + + * permute-index: Don't depend on csh-specific features. Replace + the interpreter name with /bin/sh. + + * two-volume-cross-refs.txt: New file. + * two.el: New file. + * spellfile: New file. + +2001-11-16 Eli Zaretskii + + * permute-index: New file. + + * vol1.texi, vol2.texi: Renamed from elisp-vol1.texi and + elisp-vol2.texi, respectively, to avoid file-name clashes in DOS + 8+3 restricted namespace. + + * Makefile.in (infodir): Define relative to $(srcdir). + ($(infodir)/elisp): Don't chdir into $(srcdir), but add it to the + include directories list via -I switch to makeinfo. + (index.texi): Use cp if both hard and symbolic links fail. + +2001-11-10 Eli Zaretskii + + * Makefile.in (distclean): Add. + + The following changes make ELisp manual part of the Emacs + distribution: + + * Makefile.in: Add Copyright notice. + (prefix): Remove. + (infodir): Change value to "../info". + (VPATH): New variable. + (MAKE): Don't define. + (texmacrodir): Don't define. + (texinputdir): Append the existing value of TEXINPUTS. + ($(infodir)/elisp): Instead of just "elisp". Reformat the + command to be compatible with man/Makefile.in, and to put the + output into ../info. + (info): Add target. + (installall): Target removed. + +2001-10-31 Pavel Jan,Am(Bk + + * tips.texi (Coding Conventions): Fix typo. + +2001-10-23 Gerd Moellmann + + * Makefile.in (srcs): Add gpl.texi and doclicense.texi. + +2001-10-22 Eli Zaretskii + + * files.texi (File Name Components): Update the description of + file-name-sans-extension and file-name-extension, as they now + ignore leading dots. + +2001-10-20 Gerd Moellmann + + * (Version 21.1 released.) + +2001-10-19 Miles Bader + + * positions.texi (Text Lines): Describe behavior of + `beginning-of-line'/`end-of-line' in the presence of field properties. + +2001-10-17 Gerd Moellmann + + * Makefile.in (VERSION): Set to 2.8. + (manual): Use `manual-21'. + + * elisp.texi (VERSION): Add and use it where the version + number was used. Set it to 2.8. + + * intro.texi: Likewise. + +2001-10-13 Eli Zaretskii + + * files.texi (File Name Completion): Document the significance of + a trailing slash in elements of completion-ignored-extensions. + +2001-10-06 Miles Bader + + * variables.texi (Variable Aliases): It's `@defmac', not `@defmacro'. + +2001-10-04 Gerd Moellmann + + * variables.texi (Variable Aliases): New node. + +2001-10-04 Gerd Moellmann + + * Branch for 21.1. + +2001-10-02 Miles Bader + + * minibuf.texi (Minibuffer Misc): Add entries for + `minibuffer-contents', `minibuffer-contents-no-properties', and + `delete-minibuffer-contents'. + Correct description for `minibuffer-prompt-end'. + + * text.texi (Property Search): Correct descriptions of + `next-char-property-change' and `previous-char-property-change'. + Add entries for `next-single-char-property-change' and + `previous-single-char-property-change'. + Make operand names a bit more consistent. + +2001-09-30 Eli Zaretskii + + * frames.texi (Finding All Frames): Document that next-frame and + previous-frame are local to current terminal. + +2001-09-26 Eli Zaretskii + + * keymaps.texi (Creating Keymaps): Fix the description of the + result of make-keymap. + +2001-09-23 Eli Zaretskii + + * display.texi (Font Lookup, Attribute Functions) + (Image Descriptors): Add cross-references to the definition of + selected frame. + + * buffers.texi (The Buffer List): Add cross-references to the + definition of selected frame. + + * frames.texi (Input Focus): Clarify which frame is _the_ selected + frame at any given time. + (Multiple Displays, Size and Position): Add a cross-reference to + the definition of the selected frame. + +2001-09-08 Eli Zaretskii + + * strings.texi (String Conversion) : Document + that a float is returned for integers that are too large. + + * frames.texi (Mouse Position): Document mouse-position-function. + (Display Feature Testing): Document display-images-p. + (Window Frame Parameters): Document the cursor-type variable. + + * numbers.texi (Integer Basics): Document CL style read syntax for + integers in bases other than 10. + + * positions.texi (List Motion): Document + open-paren-in-column-0-is-defun-start. + + * lists.texi (Sets And Lists): Document member-ignore-case. + + * internals.texi (Garbage Collection): Document the used and free + strings report. + (Memory Usage): Document strings-consed. + + * os.texi (Time of Day): Document float-time. + (Recording Input): Document that clear-this-command-keys clears + the vector to be returned by recent-keys. + + * keymaps.texi (Scanning Keymaps) : The + argument keymap can be a list. + + * nonascii.texi (User-Chosen Coding Systems) + : Document the new argument + accept-default-p and the variable + select-safe-coding-system-accept-default-p. Tell what happens if + buffer-file-coding-system is undecided. + (Default Coding Systems): Document auto-coding-regexp-alist. + + * display.texi (The Echo Area) : Document + message-truncate-lines. + (Glyphs): Document that the glyph table is unused on windowed + displays. + + * help.texi (Describing Characters) : + Document the new argument no-angles. + (Accessing Documentation) : Document that + a non-string property is evaluated. + : Document that the function-documentation property + is looked for. + + * windows.texi (Selecting Windows): Document some-window. + + * text.texi (MD5 Checksum): New node, documents the md5 primitive. + + * hooks.texi (Standard Hooks): Add kbd-macro-termination-hook and + apropos-mode-hook. + + * commands.texi (Using Interactive): Document interactive-form. + (Keyboard Macros): Document kbd-macro-termination-hook. + (Command Loop Info): Document that clear-this-command-keys clears + the vector to be returned by recent-keys. + +2001-09-04 Werner LEMBERG + + * Makefile.in (srcdir, texinputdir): New variables. + (srcs, index.texi, install): Use $(srcdir). + (.PHONY): Remove elisp.dvi. + (elisp): Use -I switch for makeinfo. + (elisp.dvi): Use $(srcdir) and $(texinputdir). + (installall, dist): Use $(srcdir). + Fix path to texinfo.tex. + (maintainer-clean): Add elisp.dvi and elisp.oaux. + +2001-08-30 Gerd Moellmann + + * display.texi (Conditional Display): Adjust to API change. + + * configure: New file. + +2001-07-30 Gerd Moellmann + + * commands.texi (Repeat Events): Add description of + double-click-fuzz. + +2001-05-08 Stefan Monnier + + * syntax.texi (Syntax Class Table): Add the missing designator for + comment and string fences. + (Syntax Properties): Add a xref to syntax table internals. + (Syntax Table Internals): Document string-to-syntax. + +2001-05-07 Gerd Moellmann + + * Makefile.in (install): Use install-info command line options + like in Emacs' Makefile.in. + +2000-12-09 Miles Bader + + * windows.texi (Window Start): Update documentation for + `pos-visible-in-window-p'. + +2000-11-12 Stefan Monnier + + * lists.texi (Building Lists): Add footnote to explain how to add + to the end of a list. + +2000-10-25 Gerd Moellmann + + * files.texi (Visiting Functions): Typos. + +2000-10-25 Kenichi Handa + + * files.texi (Visiting Functions): Return value of + find-file-noselect may be a list of buffers if wildcards are used. + +2000-10-24 Miles Bader + + * display.texi (Defining Faces): Document `graphic' display type + in face specs. + +2000-10-18 Kai Grossjohann + + * hooks.texi (Standard Hooks): Replace obsolete + `after-make-frame-hook' with `after-make-frame-functions'. + + * frames.texi (Creating Frames): Ditto. + + * variables.texi (Future Local Variables): Ditto. + +2000-10-16 Gerd Moellmann + + * display.texi (Other Image Types): Add description of :foreground + and :background properties of mono PBM images. + +2000-08-17 Werner LEMBERG + + * .cvsignore: New file. + +2000-01-05 Gerd Moellmann + + * tindex.pl: New script. + +1999-12-03 Dave Love + + * Makefile.in (MAKEINFO): New parameter. + +1999-09-17 Richard Stallman + + * Makefile.in (srcs): Add hash.texi. + (VERSION): Update to 20.6. + +1999-09-13 Richard Stallman + + * Makefile.in (index.texi): If cannot make a symlink, make a hard link. + +1998-08-29 Karl Heuer + + * configure.in: New file. + * Makefile.in: Renamed from Makefile. + (prefix, infodir): Use value obtained from configure. + (emacslibdir): Obsolete variable deleted. + (dist): Distribute configure.in, configure, Makefile.in. + +1998-06-12 Richard Stallman + + * Makefile (INSTALL_INFO): New variable. + (install): Run install-info. + +1998-05-09 Richard Stallman + + * Makefile (elisp.dvi): Add missing backslash. + +1998-05-02 Richard Stallman + + * Makefile (elisp.dvi): Don't depend on texindex or on elisp.tps. + Run texindex without `./'. Always run texindex on elisp.tp. + (elisp.tps): Target deleted. + +1998-04-05 Richard Stallman + + * Makefile (srcs): Add nonascii.texi and customize.texi. + (dist): Start by deleting `temp'. + +1998-02-17 Richard Stallman + + * Makefile (makeinfo, texindex): Targets deleted. + (makeinfo.o, texindex.o): Targets deleted. + (clean, dist): Don't do anything with them or with getopt*. + +1998-01-30 Richard Stallman + + * Makefile (SHELL): Defined. + +1998-01-27 Richard Stallman + + * Makefile (elisp.tps): New target. + (elisp.dvi): Depend on elisp.tps. + +Wed Apr 3 15:24:25 1996 Karl Heuer + + * README: Update phone number. + + * Makefile (elisp): Make this be the default target. + Depend on makeinfo.c instead of makeinfo. + (install): Don't depend on elisp.dvi, since we don't install that. + Use mkinstalldirs. + (dist): Add mkinstalldirs. + +Mon Jun 19 14:35:26 1995 Richard Stallman + + * Makefile (VERSION): Update version number. + (maintainer-clean): Renamed from realclean. + +Wed Jun 7 17:04:59 1995 Karl Heuer + + * Makefile (realclean): New target. + (elisp): Remove any old elisp-* files first. + +Tue Nov 23 19:59:40 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) + + * Makefile (VERSION): New variable. + (dist): Make packaged directory name `elisp-manual-19-$(VERSION)'. + Compressed file suffix should be `.gz', not `.z'. + +Mon Nov 22 15:06:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile (elisp): Depend on makeinfo. + +Fri Nov 19 02:29:33 1993 Noah Friedman (friedman@gnu.ai.mit.edu) + + * Makefile (srcs): Add anti.texi. + +Fri May 28 18:04:53 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile (infodir, prefix): New vars. + (install): Use infodir. + (emacsinfodir): Deleted. + +Thu May 27 02:11:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile (srcs): Add calendar.texi. + + * Makefile (dist): Copy texindex.c and makeinfo.c. + Limit elisp-* files to those with one or two digits. + +Sun May 16 17:58:21 1993 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Makefile (dist): Changed to use Gzip instead of compress. + +Fri Apr 23 01:05:23 1993 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * loading.texi (Unloading): define-function changed back to + defalias. It may not stay this way, but at least it's + consistent with the known-good version of the code patch. + +Fri Mar 26 21:14:54 1993 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * modes.texi (Hooks): Document new optional arg of add-hook. + +Wed Mar 17 08:48:24 1993 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * variables.texi: Document nil initial value of buffer-local variables. + + * tips.texi: Add new section on standard library headers. + +Sat Feb 27 18:00:25 1993 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Makefile (srcs): Add frame.texi to the list of sources. + +Tue Feb 23 10:50:25 1993 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Makefile (dist): Don't bother excluding autosave files; they'll + never make it into the temp directory anyway, and the hash marks + in the name are problematic for make and the Bourne shell. + (srcs): + +Fri Feb 12 16:54:38 1993 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Makefile (dist): Don't include backup files or autosave files in + the distribution tar file. + +Tue Nov 26 21:10:34 1991 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile (srcs): Added index.perm. + (elisp.dvi): Remove erroneous shell comment. + Expect output of permute-index in permuted.fns. + Save old elisp.aux in elisp.oaux. + (clean): Added index.texi to be deleted. + +Sat Aug 11 17:39:10 1990 Richard Stallman (rms@sugar-bombs.ai.mit.edu) + + * Makefile (elisp.dvi, index.texi): Use shell if instead of ifdef. + +Tue Jun 26 09:57:26 1990 David Lawrence (tale@geech) + + * files.texi: Noted that completion-ignored-extensions is ignored + when making *Completions*. + +Fri Jun 8 16:44:44 EDT 1990 Jay Fenlason (hack@ai.mit.edu) + + * Makefile make dist now depends on elisp.dvi, since it tries + to include it in the dist file. + +Wed Mar 28 22:57:35 1990 Jim Kingdon (kingdon@mole.ai.mit.edu) + + * functions.texinfo (Mapping Functions): Add missing quote + +Mon Jun 19 18:09:24 1989 Richard Stallman (rms@sugar-bombs.ai.mit.edu) + + * texinfo.tex (frenchspacing): Use decimal codes for char to be set. + (defunargs): Turn off \hyphenchar of \sl font temporarily. + +Wed May 10 18:01:17 1989 Robert J. Chassell (bob@rice-chex.ai.mit.edu) + + * @result{}, @expansion{}, @print{}, @quiv{}, @point{}, + and @error{} are the terms now being used. The files in the + directory have been changed to reflect this. + + * All instances of @indentedresultt{} have been changed to + ` @result{}', using 5 spaces at the begining of the line. + +Mon Apr 24 21:02:55 1989 Robert J. Chassell (bob@rice-chex.ai.mit.edu) + + * @result{}, @expandsto{}, @prints{}, @quiv{}, @error{}, and the + experimental @indentedresult{}, @indentedexpandsto{} are part of + the texinfo.tex in this directory. These TeX macros are not + stable yet. + +Mon Apr 17 18:56:50 1989 Robert J. Chassell (bob@rice-chex.ai.mit.edu) + + * texinfo.tex: Temporarily added + \let\result=\dblarrow + \def\error{{\it ERROR} \longdblarrow} + We need to do this better soon. + +Tue Apr 11 12:23:28 1989 Robert J. Chassell (bob@rice-chex.ai.mit.edu) + + * Applied Karl Berry's patches to *.texinfo files, but not to + texinfo.tex; those diffs are in `berry-texinfo-tex-diffs'. (Karl's + new title page format is also not applied, since it requires + texinfo.tex changes.) + + * Cleaned up `Makefile' and defined the `emacslibdir' directory + for the Project GNU development environment. + +;; Local Variables: +;; coding: iso-2022-7bit +;; add-log-time-zone-rule: t +;; End: + + Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, + 2005, 2006, 2007 Free Software Foundation, Inc. + + This file is part of GNU Emacs. + + GNU Emacs is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + GNU Emacs is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GNU Emacs; see the file COPYING. If not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + +;;; arch-tag: 985ae0ce-df29-475b-b3f8-4bbcbf6f7fda diff --cc doc/lispref/elisp.texi index 8cd25ed59d3,00000000000..695144738fc mode 100644,000000..100644 --- a/doc/lispref/elisp.texi +++ b/doc/lispref/elisp.texi @@@ -1,1484 -1,0 +1,1483 @@@ +\input texinfo @c -*-texinfo-*- +@c %**start of header +@setfilename elisp +@settitle GNU Emacs Lisp Reference Manual +@c %**end of header + +@c Version of the manual and of Emacs. +@c Please remember to update the edition number in README as well. +@set VERSION 2.9 +@set EMACSVER 23.0.50 + +@c in general, keep the following line commented out, unless doing a +@c copy of this manual that will be published. The manual should go +@c onto the distribution in the full, 8.5 x 11" size. +@c set smallbook + +@ifset smallbook +@smallbook +@end ifset + +@c per rms and peterb, use 10pt fonts for the main text, mostly to +@c save on paper cost. +@c Do this inside @tex for now, so current makeinfo does not complain. +@tex +@ifset smallbook +@fonttextsize 10 +@set EMACSVER 22.1 +\global\let\urlcolor=\Black % don't print links in grayscale +\global\let\linkcolor=\Black +@end ifset +\global\hbadness=6666 % don't worry about not-too-underfull boxes +@end tex + +@c Combine indices. +@synindex cp fn +@syncodeindex vr fn +@syncodeindex ky fn +@syncodeindex pg fn +@c We use the "type index" to index new functions and variables. +@c @syncodeindex tp fn + +@copying +This is edition @value{VERSION} of the GNU Emacs Lisp Reference Manual,@* +corresponding to Emacs version @value{EMACSVER}. + +Copyright @copyright{} 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, +1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software +Foundation, Inc. + +@quotation +Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with the +Invariant Sections being ``GNU General Public License,'' with the +Front-Cover texts being ``A GNU Manual,'' and with the Back-Cover +Texts as in (a) below. A copy of the license is included in the +section entitled ``GNU Free Documentation License.'' + +(a) The FSF's Back-Cover Text is: ``You are free to copy and modify +this GNU Manual. Buying copies from GNU Press supports the FSF in +developing GNU and promoting software freedom.'' +@end quotation +@end copying + +@dircategory Emacs +@direntry +* Elisp: (elisp). The Emacs Lisp Reference Manual. +@end direntry + +@titlepage +@title GNU Emacs Lisp Reference Manual +@subtitle For Emacs Version @value{EMACSVER} +@subtitle Revision @value{VERSION}, April 2007 + +@author by Bil Lewis, Dan LaLiberte, Richard Stallman +@author and the GNU Manual Group +@page +@vskip 0pt plus 1filll +@insertcopying + +@sp 2 +Published by the Free Software Foundation @* +51 Franklin St, Fifth Floor @* +Boston, MA 02110-1301 @* +USA @* +ISBN 1-882114-74-4 + +@sp 2 +Cover art by Etienne Suvasa. +@end titlepage + + +@c Print the tables of contents +@summarycontents +@contents + + +@ifnottex +@node Top, Introduction, (dir), (dir) +@top Emacs Lisp + +This Info file contains edition @value{VERSION} of the GNU Emacs Lisp +Reference Manual, corresponding to GNU Emacs version @value{EMACSVER}. +@end ifnottex + +@menu +* Introduction:: Introduction and conventions used. + +* Lisp Data Types:: Data types of objects in Emacs Lisp. +* Numbers:: Numbers and arithmetic functions. +* Strings and Characters:: Strings, and functions that work on them. +* Lists:: Lists, cons cells, and related functions. +* Sequences Arrays Vectors:: Lists, strings and vectors are called sequences. + Certain functions act on any kind of sequence. + The description of vectors is here as well. +* Hash Tables:: Very fast lookup-tables. +* Symbols:: Symbols represent names, uniquely. + +* Evaluation:: How Lisp expressions are evaluated. +* Control Structures:: Conditionals, loops, nonlocal exits. +* Variables:: Using symbols in programs to stand for values. +* Functions:: A function is a Lisp program + that can be invoked from other functions. +* Macros:: Macros are a way to extend the Lisp language. +* Customization:: Writing customization declarations. + +* Loading:: Reading files of Lisp code into Lisp. +* Byte Compilation:: Compilation makes programs run faster. +* Advising Functions:: Adding to the definition of a function. +* Debugging:: Tools and tips for debugging Lisp programs. + +* Read and Print:: Converting Lisp objects to text and back. +* Minibuffers:: Using the minibuffer to read input. +* Command Loop:: How the editor command loop works, + and how you can call its subroutines. +* Keymaps:: Defining the bindings from keys to commands. +* Modes:: Defining major and minor modes. +* Documentation:: Writing and using documentation strings. + +* Files:: Accessing files. +* Backups and Auto-Saving:: Controlling how backups and auto-save + files are made. +* Buffers:: Creating and using buffer objects. +* Windows:: Manipulating windows and displaying buffers. +* Frames:: Making multiple system-level windows. +* Positions:: Buffer positions and motion functions. +* Markers:: Markers represent positions and update + automatically when the text is changed. + +* Text:: Examining and changing text in buffers. +* Non-ASCII Characters:: Non-ASCII text in buffers and strings. +* Searching and Matching:: Searching buffers for strings or regexps. +* Syntax Tables:: The syntax table controls word and list parsing. +* Abbrevs:: How Abbrev mode works, and its data structures. + +* Processes:: Running and communicating with subprocesses. +* Display:: Features for controlling the screen display. +* System Interface:: Getting the user id, system type, environment + variables, and other such things. + +Appendices + +* Antinews:: Info for users downgrading to Emacs 21. +* GNU Free Documentation License:: The license for this documentation +* GPL:: Conditions for copying and changing GNU Emacs. +* Tips:: Advice and coding conventions for Emacs Lisp. +* GNU Emacs Internals:: Building and dumping Emacs; + internal data structures. +* Standard Errors:: List of all error symbols. +* Standard Buffer-Local Variables:: + List of variables buffer-local in all buffers. +* Standard Keymaps:: List of standard keymaps. +* Standard Hooks:: List of standard hook variables. + +* Index:: Index including concepts, functions, variables, + and other terms. + +@ignore +* New Symbols:: New functions and variables in Emacs @value{EMACSVER}. +@end ignore + +@c Do NOT modify the following 3 lines! They must have this form to +@c be correctly identified by `texinfo-multiple-files-update'. In +@c particular, the detailed menu header line MUST be identical to the +@c value of `texinfo-master-menu-header'. See texnfo-upd.el. + +@detailmenu + --- The Detailed Node Listing --- + --------------------------------- + +Here are other nodes that are inferiors of those already listed, +mentioned here so you can get to them in one step: + +Introduction + +* Caveats:: Flaws and a request for help. +* Lisp History:: Emacs Lisp is descended from Maclisp. +* Conventions:: How the manual is formatted. +* Version Info:: Which Emacs version is running? +* Acknowledgements:: The authors, editors, and sponsors of this manual. + +Conventions + +* Some Terms:: Explanation of terms we use in this manual. +* nil and t:: How the symbols @code{nil} and @code{t} are used. +* Evaluation Notation:: The format we use for examples of evaluation. +* Printing Notation:: The format we use for examples that print output. +* Error Messages:: The format we use for examples of errors. +* Buffer Text Notation:: The format we use for buffer contents in examples. +* Format of Descriptions:: Notation for describing functions, variables, etc. + +Format of Descriptions + +* A Sample Function Description:: A description of an imaginary + function, @code{foo}. +* A Sample Variable Description:: A description of an imaginary + variable, @code{electric-future-map}. + +Lisp Data Types + +* Printed Representation:: How Lisp objects are represented as text. +* Comments:: Comments and their formatting conventions. +* Programming Types:: Types found in all Lisp systems. +* Editing Types:: Types specific to Emacs. +* Circular Objects:: Read syntax for circular structure. +* Type Predicates:: Tests related to types. +* Equality Predicates:: Tests of equality between any two objects. + +Programming Types + +* Integer Type:: Numbers without fractional parts. +* Floating Point Type:: Numbers with fractional parts and with a large range. +* Character Type:: The representation of letters, numbers and + control characters. +* Symbol Type:: A multi-use object that refers to a function, + variable, property list, or itself. +* Sequence Type:: Both lists and arrays are classified as sequences. +* Cons Cell Type:: Cons cells, and lists (which are made from cons cells). +* Array Type:: Arrays include strings and vectors. +* String Type:: An (efficient) array of characters. +* Vector Type:: One-dimensional arrays. +* Char-Table Type:: One-dimensional sparse arrays indexed by characters. +* Bool-Vector Type:: One-dimensional arrays of @code{t} or @code{nil}. +* Hash Table Type:: Super-fast lookup tables. +* Function Type:: A piece of executable code you can call from elsewhere. +* Macro Type:: A method of expanding an expression into another + expression, more fundamental but less pretty. +* Primitive Function Type:: A function written in C, callable from Lisp. +* Byte-Code Type:: A function written in Lisp, then compiled. +* Autoload Type:: A type used for automatically loading seldom-used + functions. + +Character Type + +* Basic Char Syntax:: Syntax for regular characters. +* General Escape Syntax:: How to specify characters by their codes. +* Ctl-Char Syntax:: Syntax for control characters. +* Meta-Char Syntax:: Syntax for meta-characters. +* Other Char Bits:: Syntax for hyper-, super-, and alt-characters. + +Cons Cell and List Types + +* Box Diagrams:: Drawing pictures of lists. +* Dotted Pair Notation:: An alternative syntax for lists. +* Association List Type:: A specially constructed list. + +String Type + +* Syntax for Strings:: How to specify Lisp strings. +* Non-ASCII in Strings:: International characters in strings. +* Nonprinting Characters:: Literal unprintable characters in strings. +* Text Props and Strings:: Strings with text properties. + +Editing Types + +* Buffer Type:: The basic object of editing. +* Marker Type:: A position in a buffer. +* Window Type:: What makes buffers visible. +* Frame Type:: Windows subdivide frames. +* Window Configuration Type:: Recording the way a frame is subdivided. +* Frame Configuration Type:: Recording the status of all frames. +* Process Type:: A process running on the underlying OS. +* Stream Type:: Receive or send characters. +* Keymap Type:: What function a keystroke invokes. +* Overlay Type:: How an overlay is represented. + +Numbers + +* Integer Basics:: Representation and range of integers. +* Float Basics:: Representation and range of floating point. +* Predicates on Numbers:: Testing for numbers. +* Comparison of Numbers:: Equality and inequality predicates. +* Numeric Conversions:: Converting float to integer and vice versa. +* Arithmetic Operations:: How to add, subtract, multiply and divide. +* Rounding Operations:: Explicitly rounding floating point numbers. +* Bitwise Operations:: Logical and, or, not, shifting. +* Math Functions:: Trig, exponential and logarithmic functions. +* Random Numbers:: Obtaining random integers, predictable or not. + +Strings and Characters + +* String Basics:: Basic properties of strings and characters. +* Predicates for Strings:: Testing whether an object is a string or char. +* Creating Strings:: Functions to allocate new strings. +* Modifying Strings:: Altering the contents of an existing string. +* Text Comparison:: Comparing characters or strings. +* String Conversion:: Converting characters to strings and vice versa. +* Formatting Strings:: @code{format}: Emacs's analogue of @code{printf}. +* Case Conversion:: Case conversion functions. +* Case Tables:: Customizing case conversion. + +Lists + +* Cons Cells:: How lists are made out of cons cells. +* List-related Predicates:: Is this object a list? Comparing two lists. +* List Elements:: Extracting the pieces of a list. +* Building Lists:: Creating list structure. +* List Variables:: Modifying lists stored in variables. +* Modifying Lists:: Storing new pieces into an existing list. +* Sets And Lists:: A list can represent a finite mathematical set. +* Association Lists:: A list can represent a finite relation or mapping. +* Rings:: Managing a fixed-size ring of objects. + +Modifying Existing List Structure + +* Setcar:: Replacing an element in a list. +* Setcdr:: Replacing part of the list backbone. + This can be used to remove or add elements. +* Rearrangement:: Reordering the elements in a list; combining lists. + +Sequences, Arrays, and Vectors + +* Sequence Functions:: Functions that accept any kind of sequence. +* Arrays:: Characteristics of arrays in Emacs Lisp. +* Array Functions:: Functions specifically for arrays. +* Vectors:: Special characteristics of Emacs Lisp vectors. +* Vector Functions:: Functions specifically for vectors. +* Char-Tables:: How to work with char-tables. +* Bool-Vectors:: How to work with bool-vectors. + +Hash Tables + +* Creating Hash:: Functions to create hash tables. +* Hash Access:: Reading and writing the hash table contents. +* Defining Hash:: Defining new comparison methods +* Other Hash:: Miscellaneous. + +Symbols + +* Symbol Components:: Symbols have names, values, function definitions + and property lists. +* Definitions:: A definition says how a symbol will be used. +* Creating Symbols:: How symbols are kept unique. +* Property Lists:: Each symbol has a property list + for recording miscellaneous information. + +Property Lists + +* Plists and Alists:: Comparison of the advantages of property + lists and association lists. +* Symbol Plists:: Functions to access symbols' property lists. +* Other Plists:: Accessing property lists stored elsewhere. + +Evaluation + +* Intro Eval:: Evaluation in the scheme of things. +* Forms:: How various sorts of objects are evaluated. +* Quoting:: Avoiding evaluation (to put constants in + the program). +* Eval:: How to invoke the Lisp interpreter explicitly. + +Kinds of Forms + +* Self-Evaluating Forms:: Forms that evaluate to themselves. +* Symbol Forms:: Symbols evaluate as variables. +* Classifying Lists:: How to distinguish various sorts of list forms. +* Function Indirection:: When a symbol appears as the car of a list, + we find the real function via the symbol. +* Function Forms:: Forms that call functions. +* Macro Forms:: Forms that call macros. +* Special Forms:: "Special forms" are idiosyncratic primitives, + most of them extremely important. +* Autoloading:: Functions set up to load files + containing their real definitions. + +Control Structures + +* Sequencing:: Evaluation in textual order. +* Conditionals:: @code{if}, @code{cond}, @code{when}, @code{unless}. +* Combining Conditions:: @code{and}, @code{or}, @code{not}. +* Iteration:: @code{while} loops. +* Nonlocal Exits:: Jumping out of a sequence. + +Nonlocal Exits + +* Catch and Throw:: Nonlocal exits for the program's own purposes. +* Examples of Catch:: Showing how such nonlocal exits can be written. +* Errors:: How errors are signaled and handled. +* Cleanups:: Arranging to run a cleanup form if an + error happens. + +Errors + +* Signaling Errors:: How to report an error. +* Processing of Errors:: What Emacs does when you report an error. +* Handling Errors:: How you can trap errors and continue execution. +* Error Symbols:: How errors are classified for trapping them. +* Standard Errors:: List of all error symbols. + +Variables + +* Global Variables:: Variable values that exist permanently, everywhere. +* Constant Variables:: Certain "variables" have values that never change. +* Local Variables:: Variable values that exist only temporarily. +* Void Variables:: Symbols that lack values. +* Defining Variables:: A definition says a symbol is used as a variable. +* Tips for Defining:: Things you should think about when you + define a variable. +* Accessing Variables:: Examining values of variables whose names + are known only at run time. +* Setting Variables:: Storing new values in variables. +* Variable Scoping:: How Lisp chooses among local and global values. +* Buffer-Local Variables:: Variable values in effect only in one buffer. - * Frame-Local Variables:: Variable values in effect only in one frame. +* Future Local Variables:: New kinds of local values we might add some day. +* File Local Variables:: Handling local variable lists in files. +* Variable Aliases:: Variables that are aliases for other variables. +* Variables with Restricted Values:: Non-constant variables whose value can + @emph{not} be an arbitrary Lisp object. +* Standard Buffer-Local Variables:: + List of variables buffer-local in all buffers. + +Scoping Rules for Variable Bindings + +* Scope:: Scope means where in the program a value + is visible. Comparison with other languages. +* Extent:: Extent means how long in time a value exists. +* Impl of Scope:: Two ways to implement dynamic scoping. +* Using Scoping:: How to use dynamic scoping carefully and + avoid problems. + +Buffer-Local Variables + +* Intro to Buffer-Local:: Introduction and concepts. +* Creating Buffer-Local:: Creating and destroying buffer-local bindings. +* Default Value:: The default value is seen in buffers + that don't have their own buffer-local values. + +Functions + +* What Is a Function:: Lisp functions vs primitives; terminology. +* Lambda Expressions:: How functions are expressed as Lisp objects. +* Function Names:: A symbol can serve as the name of a function. +* Defining Functions:: Lisp expressions for defining functions. +* Calling Functions:: How to use an existing function. +* Mapping Functions:: Applying a function to each element of a list, etc. +* Anonymous Functions:: Lambda-expressions are functions with no names. +* Function Cells:: Accessing or setting the function definition + of a symbol. +* Obsolete Functions:: Declaring functions obsolete. +* Inline Functions:: Defining functions that the compiler will open code. +* Function Safety:: Determining whether a function is safe to call. +* Related Topics:: Cross-references to specific Lisp primitives + that have a special bearing on how + functions work. + +Lambda Expressions + +* Lambda Components:: The parts of a lambda expression. +* Simple Lambda:: A simple example. +* Argument List:: Details and special features of argument lists. +* Function Documentation:: How to put documentation in a function. + +Macros + +* Simple Macro:: A basic example. +* Expansion:: How, when and why macros are expanded. +* Compiling Macros:: How macros are expanded by the compiler. +* Defining Macros:: How to write a macro definition. +* Backquote:: Easier construction of list structure. +* Problems with Macros:: Don't evaluate the macro arguments too many times. + Don't hide the user's variables. +* Indenting Macros:: Specifying how to indent macro calls. + +Common Problems Using Macros + +* Wrong Time:: Do the work in the expansion, not in the macro. +* Argument Evaluation:: The expansion should evaluate each macro arg once. +* Surprising Local Vars:: Local variable bindings in the expansion + require special care. +* Eval During Expansion:: Don't evaluate them; put them in the expansion. +* Repeated Expansion:: Avoid depending on how many times expansion is done. + +Writing Customization Definitions + +* Common Keywords:: Common keyword arguments for all kinds of + customization declarations. +* Group Definitions:: Writing customization group definitions. +* Variable Definitions:: Declaring user options. +* Customization Types:: Specifying the type of a user option. + +Customization Types + +* Simple Types:: Simple customization types: sexp, integer, number, + string, file, directory, alist. +* Composite Types:: Build new types from other types or data. +* Splicing into Lists:: Splice elements into list with @code{:inline}. +* Type Keywords:: Keyword-argument pairs in a customization type. +* Defining New Types:: Give your type a name. + +Loading + +* How Programs Do Loading:: The @code{load} function and others. +* Load Suffixes:: Details about the suffixes that @code{load} tries. +* Library Search:: Finding a library to load. +* Loading Non-ASCII:: Non-@acronym{ASCII} characters in Emacs Lisp files. +* Autoload:: Setting up a function to autoload. +* Repeated Loading:: Precautions about loading a file twice. +* Named Features:: Loading a library if it isn't already loaded. +* Where Defined:: Finding which file defined a certain symbol. +* Unloading:: How to "unload" a library that was loaded. +* Hooks for Loading:: Providing code to be run when + particular libraries are loaded. + +Byte Compilation + +* Speed of Byte-Code:: An example of speedup from byte compilation. +* Compilation Functions:: Byte compilation functions. +* Docs and Compilation:: Dynamic loading of documentation strings. +* Dynamic Loading:: Dynamic loading of individual functions. +* Eval During Compile:: Code to be evaluated when you compile. +* Compiler Errors:: Handling compiler error messages. +* Byte-Code Objects:: The data type used for byte-compiled functions. +* Disassembly:: Disassembling byte-code; how to read byte-code. + +Advising Emacs Lisp Functions + +* Simple Advice:: A simple example to explain the basics of advice. +* Defining Advice:: Detailed description of @code{defadvice}. +* Around-Advice:: Wrapping advice around a function's definition. +* Computed Advice:: ...is to @code{defadvice} as @code{fset} is to @code{defun}. +* Activation of Advice:: Advice doesn't do anything until you activate it. +* Enabling Advice:: You can enable or disable each piece of advice. +* Preactivation:: Preactivation is a way of speeding up the + loading of compiled advice. +* Argument Access in Advice:: How advice can access the function's arguments. +* Advising Primitives:: Accessing arguments when advising a primitive. +* Combined Definition:: How advice is implemented. + +Debugging Lisp Programs + +* Debugger:: How the Emacs Lisp debugger is implemented. +* Edebug:: A source-level Emacs Lisp debugger. +* Syntax Errors:: How to find syntax errors. +* Test Coverage:: Ensuring you have tested all branches in your code. +* Compilation Errors:: How to find errors that show up in + byte compilation. + +The Lisp Debugger + +* Error Debugging:: Entering the debugger when an error happens. +* Infinite Loops:: Stopping and debugging a program that doesn't exit. +* Function Debugging:: Entering it when a certain function is called. +* Explicit Debug:: Entering it at a certain point in the program. +* Using Debugger:: What the debugger does; what you see while in it. +* Debugger Commands:: Commands used while in the debugger. +* Invoking the Debugger:: How to call the function @code{debug}. +* Internals of Debugger:: Subroutines of the debugger, and global variables. + +Edebug + +* Using Edebug:: Introduction to use of Edebug. +* Instrumenting:: You must instrument your code + in order to debug it with Edebug. +* Edebug Execution Modes:: Execution modes, stopping more or less often. +* Jumping:: Commands to jump to a specified place. +* Edebug Misc:: Miscellaneous commands. +* Breaks:: Setting breakpoints to make the program stop. +* Trapping Errors:: Trapping errors with Edebug. +* Edebug Views:: Views inside and outside of Edebug. +* Edebug Eval:: Evaluating expressions within Edebug. +* Eval List:: Expressions whose values are displayed + each time you enter Edebug. +* Printing in Edebug:: Customization of printing. +* Trace Buffer:: How to produce trace output in a buffer. +* Coverage Testing:: How to test evaluation coverage. +* The Outside Context:: Data that Edebug saves and restores. +* Edebug and Macros:: Specifying how to handle macro calls. +* Edebug Options:: Option variables for customizing Edebug. + +Debugging Invalid Lisp Syntax + +* Excess Open:: How to find a spurious open paren or missing close. +* Excess Close:: How to find a spurious close paren or missing open. + +Reading and Printing Lisp Objects + +* Streams Intro:: Overview of streams, reading and printing. +* Input Streams:: Various data types that can be used as + input streams. +* Input Functions:: Functions to read Lisp objects from text. +* Output Streams:: Various data types that can be used as + output streams. +* Output Functions:: Functions to print Lisp objects as text. +* Output Variables:: Variables that control what the printing + functions do. + +Minibuffers + +* Intro to Minibuffers:: Basic information about minibuffers. +* Text from Minibuffer:: How to read a straight text string. +* Object from Minibuffer:: How to read a Lisp object or expression. +* Minibuffer History:: Recording previous minibuffer inputs + so the user can reuse them. +* Initial Input:: Specifying initial contents for the minibuffer. +* Completion:: How to invoke and customize completion. +* Yes-or-No Queries:: Asking a question with a simple answer. +* Multiple Queries:: Asking a series of similar questions. +* Reading a Password:: Reading a password from the terminal. +* Minibuffer Commands:: Commands used as key bindings in minibuffers. +* Minibuffer Contents:: How such commands access the minibuffer text. +* Minibuffer Windows:: Operating on the special minibuffer windows. +* Recursive Mini:: Whether recursive entry to minibuffer is allowed. +* Minibuffer Misc:: Various customization hooks and variables. + +Completion + +* Basic Completion:: Low-level functions for completing strings. + (These are too low level to use the minibuffer.) +* Minibuffer Completion:: Invoking the minibuffer with completion. +* Completion Commands:: Minibuffer commands that do completion. +* High-Level Completion:: Convenient special cases of completion + (reading buffer name, file name, etc.) +* Reading File Names:: Using completion to read file names. +* Programmed Completion:: Finding the completions for a given file name. + +Command Loop + +* Command Overview:: How the command loop reads commands. +* Defining Commands:: Specifying how a function should read arguments. +* Interactive Call:: Calling a command, so that it will read arguments. +* Distinguish Interactive:: Making a command distinguish interactive calls. +* Command Loop Info:: Variables set by the command loop for you to examine. +* Adjusting Point:: Adjustment of point after a command. +* Input Events:: What input looks like when you read it. +* Reading Input:: How to read input events from the keyboard or mouse. +* Special Events:: Events processed immediately and individually. +* Waiting:: Waiting for user input or elapsed time. +* Quitting:: How @kbd{C-g} works. How to catch or defer quitting. +* Prefix Command Arguments:: How the commands to set prefix args work. +* Recursive Editing:: Entering a recursive edit, + and why you usually shouldn't. +* Disabling Commands:: How the command loop handles disabled commands. +* Command History:: How the command history is set up, and how accessed. +* Keyboard Macros:: How keyboard macros are implemented. + +Defining Commands + +* Using Interactive:: General rules for @code{interactive}. +* Interactive Codes:: The standard letter-codes for reading arguments + in various ways. +* Interactive Examples:: Examples of how to read interactive arguments. + +Input Events + +* Keyboard Events:: Ordinary characters--keys with symbols on them. +* Function Keys:: Function keys--keys with names, not symbols. +* Mouse Events:: Overview of mouse events. +* Click Events:: Pushing and releasing a mouse button. +* Drag Events:: Moving the mouse before releasing the button. +* Button-Down Events:: A button was pushed and not yet released. +* Repeat Events:: Double and triple click (or drag, or down). +* Motion Events:: Just moving the mouse, not pushing a button. +* Focus Events:: Moving the mouse between frames. +* Misc Events:: Other events the system can generate. +* Event Examples:: Examples of the lists for mouse events. +* Classifying Events:: Finding the modifier keys in an event symbol. +* Accessing Events:: Functions to extract info from events. +* Strings of Events:: Special considerations for putting + keyboard character events in a string. + +Reading Input + +* Key Sequence Input:: How to read one key sequence. +* Reading One Event:: How to read just one event. +* Event Mod:: How Emacs modifies events as they are read. +* Invoking the Input Method:: How reading an event uses the input method. +* Quoted Character Input:: Asking the user to specify a character. +* Event Input Misc:: How to reread or throw away input events. + +Keymaps + +* Key Sequences:: Key sequences as Lisp objects. +* Keymap Basics:: Basic concepts of keymaps. +* Format of Keymaps:: What a keymap looks like as a Lisp object. +* Creating Keymaps:: Functions to create and copy keymaps. +* Inheritance and Keymaps:: How one keymap can inherit the bindings + of another keymap. +* Prefix Keys:: Defining a key with a keymap as its definition. +* Active Keymaps:: How Emacs searches the active keymaps + for a key binding. +* Searching Keymaps:: A pseudo-Lisp summary of searching active maps. +* Controlling Active Maps:: Each buffer has a local keymap + to override the standard (global) bindings. + A minor mode can also override them. +* Key Lookup:: How extracting elements from keymaps works. +* Functions for Key Lookup:: How to request key lookup. +* Changing Key Bindings:: Redefining a key in a keymap. +* Remapping Commands:: A keymap can translate one command to another. +* Translation Keymaps:: Keymaps for translating sequences of events. +* Key Binding Commands:: Interactive interfaces for redefining keys. +* Scanning Keymaps:: Looking through all keymaps, for printing help. +* Menu Keymaps:: A keymap can define a menu for X + or for use from the terminal. +* Standard Keymaps:: List of standard keymaps. + +Major and Minor Modes + +* Hooks:: How to use hooks; how to write code that + provides hooks. +* Major Modes:: Defining major modes. +* Minor Modes:: Defining minor modes. +* Mode Line Format:: Customizing the text that appears in the mode line. +* Imenu:: How a mode can provide a menu + of definitions in the buffer. +* Font Lock Mode:: How modes can highlight text according to syntax. +* Desktop Save Mode:: How modes can have buffer state saved between + Emacs sessions. + +Menu Keymaps + +* Defining Menus:: How to make a keymap that defines a menu. +* Mouse Menus:: How users actuate the menu with the mouse. +* Keyboard Menus:: How users actuate the menu with the keyboard. +* Menu Example:: Making a simple menu. +* Menu Bar:: How to customize the menu bar. +* Tool Bar:: A tool bar is a row of images. +* Modifying Menus:: How to add new items to a menu. + +Defining Menus + +* Simple Menu Items:: A simple kind of menu key binding, + limited in capabilities. +* Extended Menu Items:: More powerful menu item definitions + let you specify keywords to enable + various features. +* Menu Separators:: Drawing a horizontal line through a menu. +* Alias Menu Items:: Using command aliases in menu items. + +Major and Minor Modes + +* Hooks:: How to use hooks; how to write code that provides hooks. +* Major Modes:: Defining major modes. +* Minor Modes:: Defining minor modes. +* Mode Line Format:: Customizing the text that appears in the mode line. +* Imenu:: How a mode can provide a menu + of definitions in the buffer. +* Font Lock Mode:: How modes can highlight text according to syntax. +* Desktop Save Mode:: How modes can have buffer state saved between + Emacs sessions. + +Major Modes + +* Major Mode Basics:: +* Major Mode Conventions:: Coding conventions for keymaps, etc. +* Example Major Modes:: Text mode and Lisp modes. +* Auto Major Mode:: How Emacs chooses the major mode automatically. +* Mode Help:: Finding out how to use a mode. +* Derived Modes:: Defining a new major mode based on another major + mode. +* Generic Modes:: Defining a simple major mode that supports + comment syntax and Font Lock mode. +* Mode Hooks:: Hooks run at the end of major mode functions. + +Minor Modes + +* Minor Mode Conventions:: Tips for writing a minor mode. +* Keymaps and Minor Modes:: How a minor mode can have its own keymap. +* Defining Minor Modes:: A convenient facility for defining minor modes. + +Mode Line Format + +* Mode Line Basics:: +* Mode Line Data:: The data structure that controls the mode line. +* Mode Line Variables:: Variables used in that data structure. +* %-Constructs:: Putting information into a mode line. +* Properties in Mode:: Using text properties in the mode line. +* Header Lines:: Like a mode line, but at the top. +* Emulating Mode Line:: Formatting text as the mode line would. + +Font Lock Mode + +* Font Lock Basics:: Overview of customizing Font Lock. +* Search-based Fontification:: Fontification based on regexps. +* Customizing Keywords:: Customizing search-based fontification. +* Other Font Lock Variables:: Additional customization facilities. +* Levels of Font Lock:: Each mode can define alternative levels + so that the user can select more or less. +* Precalculated Fontification:: How Lisp programs that produce the buffer + contents can also specify how to fontify it. +* Faces for Font Lock:: Special faces specifically for Font Lock. +* Syntactic Font Lock:: Fontification based on syntax tables. +* Setting Syntax Properties:: Defining character syntax based on context + using the Font Lock mechanism. +* Multiline Font Lock:: How to coerce Font Lock into properly + highlighting multiline constructs. + +Multiline Font Lock Constructs + +* Font Lock Multiline:: Marking multiline chunks with a text property +* Region to Fontify:: Controlling which region gets refontified + after a buffer change. + +Documentation + +* Documentation Basics:: Good style for doc strings. + Where to put them. How Emacs stores them. +* Accessing Documentation:: How Lisp programs can access doc strings. +* Keys in Documentation:: Substituting current key bindings. +* Describing Characters:: Making printable descriptions of + non-printing characters and key sequences. +* Help Functions:: Subroutines used by Emacs help facilities. + +Files + +* Visiting Files:: Reading files into Emacs buffers for editing. +* Saving Buffers:: Writing changed buffers back into files. +* Reading from Files:: Reading files into other buffers. +* Writing to Files:: Writing new files from parts of buffers. +* File Locks:: Locking and unlocking files, to prevent + simultaneous editing by two people. +* Information about Files:: Testing existence, accessibility, size of files. +* Changing Files:: Renaming files, changing protection, etc. +* File Names:: Decomposing and expanding file names. +* Contents of Directories:: Getting a list of the files in a directory. +* Create/Delete Dirs:: Creating and Deleting Directories. +* Magic File Names:: Defining "magic" special handling + for certain file names. +* Format Conversion:: Conversion to and from various file formats. + +Visiting Files + +* Visiting Functions:: The usual interface functions for visiting. +* Subroutines of Visiting:: Lower-level subroutines that they use. + +Information about Files + +* Testing Accessibility:: Is a given file readable? Writable? +* Kinds of Files:: Is it a directory? A symbolic link? +* Truenames:: Eliminating symbolic links from a file name. +* File Attributes:: How large is it? Any other names? Etc. +* Locating Files:: How to find a file in standard places. + +File Names + +* File Name Components:: The directory part of a file name, and the rest. +* Relative File Names:: Some file names are relative to a + current directory. +* Directory Names:: A directory's name as a directory + is different from its name as a file. +* File Name Expansion:: Converting relative file names to absolute ones. +* Unique File Names:: Generating names for temporary files. +* File Name Completion:: Finding the completions for a given file name. +* Standard File Names:: If your package uses a fixed file name, + how to handle various operating systems simply. + +Backups and Auto-Saving + +* Backup Files:: How backup files are made; how their names + are chosen. +* Auto-Saving:: How auto-save files are made; how their + names are chosen. +* Reverting:: @code{revert-buffer}, and how to customize + what it does. + +Backup Files + +* Making Backups:: How Emacs makes backup files, and when. +* Rename or Copy:: Two alternatives: renaming the old file + or copying it. +* Numbered Backups:: Keeping multiple backups for each source file. +* Backup Names:: How backup file names are computed; customization. + +Buffers + +* Buffer Basics:: What is a buffer? +* Current Buffer:: Designating a buffer as current + so primitives will access its contents. +* Buffer Names:: Accessing and changing buffer names. +* Buffer File Name:: The buffer file name indicates which file + is visited. +* Buffer Modification:: A buffer is @dfn{modified} if it needs to be saved. +* Modification Time:: Determining whether the visited file was changed + ``behind Emacs's back''. +* Read Only Buffers:: Modifying text is not allowed in a + read-only buffer. +* The Buffer List:: How to look at all the existing buffers. +* Creating Buffers:: Functions that create buffers. +* Killing Buffers:: Buffers exist until explicitly killed. +* Indirect Buffers:: An indirect buffer shares text with some + other buffer. +* Buffer Gap:: The gap in the buffer. + +Windows + +* Basic Windows:: Basic information on using windows. +* Splitting Windows:: Splitting one window into two windows. +* Deleting Windows:: Deleting a window gives its space to other windows. +* Selecting Windows:: The selected window is the one that you edit in. +* Cyclic Window Ordering:: Moving around the existing windows. +* Buffers and Windows:: Each window displays the contents of a buffer. +* Displaying Buffers:: Higher-level functions for displaying a buffer + and choosing a window for it. +* Choosing Window:: How to choose a window for displaying a buffer. +* Window Point:: Each window has its own location of point. +* Window Start:: The display-start position controls which text + is on-screen in the window. +* Textual Scrolling:: Moving text up and down through the window. +* Vertical Scrolling:: Moving the contents up and down on the window. +* Horizontal Scrolling:: Moving the contents sideways on the window. +* Size of Window:: Accessing the size of a window. +* Resizing Windows:: Changing the size of a window. +* Coordinates and Windows:: Converting coordinates to windows. +* Window Tree:: The layout and sizes of all windows in a frame. +* Window Configurations:: Saving and restoring the state of the screen. +* Window Hooks:: Hooks for scrolling, window size changes, + redisplay going past a certain point, + or window configuration changes. + +Frames + +* Creating Frames:: Creating additional frames. +* Multiple Displays:: Creating frames on other displays. +* Frame Parameters:: Controlling frame size, position, font, etc. +* Frame Titles:: Automatic updating of frame titles. +* Deleting Frames:: Frames last until explicitly deleted. +* Finding All Frames:: How to examine all existing frames. +* Frames and Windows:: A frame contains windows; + display of text always works through windows. +* Minibuffers and Frames:: How a frame finds the minibuffer to use. +* Input Focus:: Specifying the selected frame. +* Visibility of Frames:: Frames may be visible or invisible, or icons. +* Raising and Lowering:: Raising a frame makes it hide other windows; + lowering it puts it underneath the others. +* Frame Configurations:: Saving the state of all frames. +* Mouse Tracking:: Getting events that say when the mouse moves. +* Mouse Position:: Asking where the mouse is, or moving it. +* Pop-Up Menus:: Displaying a menu for the user to select from. +* Dialog Boxes:: Displaying a box to ask yes or no. +* Pointer Shape:: Specifying the shape of the mouse pointer. +* Window System Selections::Transferring text to and from other windows. +* Drag and Drop:: Internals of Drag-and-Drop implementation. +* Color Names:: Getting the definitions of color names. +* Text Terminal Colors:: Defining colors for text-only terminals. +* Resources:: Getting resource values from the server. +* Display Feature Testing:: Determining the features of a terminal. + +Frame Parameters + +* Parameter Access:: How to change a frame's parameters. +* Initial Parameters:: Specifying frame parameters when you make a frame. +* Window Frame Parameters:: List of frame parameters for window systems. +* Size and Position:: Changing the size and position of a frame. +* Geometry:: Parsing geometry specifications. + +Window Frame Parameters + +* Basic Parameters:: Parameters that are fundamental. +* Position Parameters:: The position of the frame on the screen. +* Size Parameters:: Frame's size. +* Layout Parameters:: Size of parts of the frame, and + enabling or disabling some parts. +* Buffer Parameters:: Which buffers have been or should be shown. +* Management Parameters:: Communicating with the window manager. +* Cursor Parameters:: Controlling the cursor appearance. +* Color Parameters:: Colors of various parts of the frame. + +Positions + +* Point:: The special position where editing takes place. +* Motion:: Changing point. +* Excursions:: Temporary motion and buffer changes. +* Narrowing:: Restricting editing to a portion of the buffer. + +Motion + +* Character Motion:: Moving in terms of characters. +* Word Motion:: Moving in terms of words. +* Buffer End Motion:: Moving to the beginning or end of the buffer. +* Text Lines:: Moving in terms of lines of text. +* Screen Lines:: Moving in terms of lines as displayed. +* List Motion:: Moving by parsing lists and sexps. +* Skipping Characters:: Skipping characters belonging to a certain set. + +Markers + +* Overview of Markers:: The components of a marker, and how it relocates. +* Predicates on Markers:: Testing whether an object is a marker. +* Creating Markers:: Making empty markers or markers at certain places. +* Information from Markers::Finding the marker's buffer or character + position. +* Marker Insertion Types:: Two ways a marker can relocate when you + insert where it points. +* Moving Markers:: Moving the marker to a new buffer or position. +* The Mark:: How "the mark" is implemented with a marker. +* The Region:: How to access "the region". + +Text + +* Near Point:: Examining text in the vicinity of point. +* Buffer Contents:: Examining text in a general fashion. +* Comparing Text:: Comparing substrings of buffers. +* Insertion:: Adding new text to a buffer. +* Commands for Insertion:: User-level commands to insert text. +* Deletion:: Removing text from a buffer. +* User-Level Deletion:: User-level commands to delete text. +* The Kill Ring:: Where removed text sometimes is saved for + later use. +* Undo:: Undoing changes to the text of a buffer. +* Maintaining Undo:: How to enable and disable undo information. + How to control how much information is kept. +* Filling:: Functions for explicit filling. +* Margins:: How to specify margins for filling commands. +* Adaptive Fill:: Adaptive Fill mode chooses a fill prefix + from context. +* Auto Filling:: How auto-fill mode is implemented to break lines. +* Sorting:: Functions for sorting parts of the buffer. +* Columns:: Computing horizontal positions, and using them. +* Indentation:: Functions to insert or adjust indentation. +* Case Changes:: Case conversion of parts of the buffer. +* Text Properties:: Assigning Lisp property lists to text characters. +* Substitution:: Replacing a given character wherever it appears. +* Transposition:: Swapping two portions of a buffer. +* Registers:: How registers are implemented. Accessing + the text or position stored in a register. +* Base 64:: Conversion to or from base 64 encoding. +* MD5 Checksum:: Compute the MD5 "message digest"/"checksum". +* Atomic Changes:: Installing several buffer changes "atomically". +* Change Hooks:: Supplying functions to be run when text is changed. + +The Kill Ring + +* Kill Ring Concepts:: What text looks like in the kill ring. +* Kill Functions:: Functions that kill text. +* Yanking:: How yanking is done. +* Yank Commands:: Commands that access the kill ring. +* Low-Level Kill Ring:: Functions and variables for kill ring access. +* Internals of Kill Ring:: Variables that hold kill-ring data. + +Indentation + +* Primitive Indent:: Functions used to count and insert indentation. +* Mode-Specific Indent:: Customize indentation for different modes. +* Region Indent:: Indent all the lines in a region. +* Relative Indent:: Indent the current line based on previous lines. +* Indent Tabs:: Adjustable, typewriter-like tab stops. +* Motion by Indent:: Move to first non-blank character. + +Text Properties + +* Examining Properties:: Looking at the properties of one character. +* Changing Properties:: Setting the properties of a range of text. +* Property Search:: Searching for where a property changes value. +* Special Properties:: Particular properties with special meanings. +* Format Properties:: Properties for representing formatting of text. +* Sticky Properties:: How inserted text gets properties from + neighboring text. +* Lazy Properties:: Computing text properties in a lazy fashion + only when text is examined. +* Clickable Text:: Using text properties to make regions of text + do something when you click on them. +* Links and Mouse-1:: How to make @key{Mouse-1} follow a link. +* Fields:: The @code{field} property defines + fields within the buffer. +* Not Intervals:: Why text properties do not use + Lisp-visible text intervals. + +Non-ASCII Characters + +* Text Representations:: Unibyte and multibyte representations +* Converting Representations:: Converting unibyte to multibyte and vice versa. +* Selecting a Representation:: Treating a byte sequence as unibyte or multi. +* Character Codes:: How unibyte and multibyte relate to + codes of individual characters. +* Character Sets:: The space of possible character codes + is divided into various character sets. +* Chars and Bytes:: More information about multibyte encodings. +* Splitting Characters:: Converting a character to its byte sequence. +* Scanning Charsets:: Which character sets are used in a buffer? +* Translation of Characters:: Translation tables are used for conversion. +* Coding Systems:: Coding systems are conversions for saving files. +* Input Methods:: Input methods allow users to enter various + non-ASCII characters without special keyboards. +* Locales:: Interacting with the POSIX locale. + +Coding Systems + +* Coding System Basics:: Basic concepts. +* Encoding and I/O:: How file I/O functions handle coding systems. +* Lisp and Coding Systems:: Functions to operate on coding system names. +* User-Chosen Coding Systems:: Asking the user to choose a coding system. +* Default Coding Systems:: Controlling the default choices. +* Specifying Coding Systems:: Requesting a particular coding system + for a single file operation. +* Explicit Encoding:: Encoding or decoding text without doing I/O. +* Terminal I/O Encoding:: Use of encoding for terminal I/O. +* MS-DOS File Types:: How DOS "text" and "binary" files + relate to coding systems. + +Searching and Matching + +* String Search:: Search for an exact match. +* Searching and Case:: Case-independent or case-significant searching. +* Regular Expressions:: Describing classes of strings. +* Regexp Search:: Searching for a match for a regexp. +* POSIX Regexps:: Searching POSIX-style for the longest match. +* Match Data:: Finding out which part of the text matched, + after a string or regexp search. +* Search and Replace:: Commands that loop, searching and replacing. +* Standard Regexps:: Useful regexps for finding sentences, pages,... + +Regular Expressions + +* Syntax of Regexps:: Rules for writing regular expressions. +* Regexp Example:: Illustrates regular expression syntax. +* Regexp Functions:: Functions for operating on regular expressions. + +Syntax of Regular Expressions + +* Regexp Special:: Special characters in regular expressions. +* Char Classes:: Character classes used in regular expressions. +* Regexp Backslash:: Backslash-sequences in regular expressions. + +The Match Data + +* Replacing Match:: Replacing a substring that was matched. +* Simple Match Data:: Accessing single items of match data, + such as where a particular subexpression started. +* Entire Match Data:: Accessing the entire match data at once, as a list. +* Saving Match Data:: Saving and restoring the match data. + +Syntax Tables + +* Syntax Basics:: Basic concepts of syntax tables. +* Syntax Descriptors:: How characters are classified. +* Syntax Table Functions:: How to create, examine and alter syntax tables. +* Syntax Properties:: Overriding syntax with text properties. +* Motion and Syntax:: Moving over characters with certain syntaxes. +* Parsing Expressions:: Parsing balanced expressions + using the syntax table. +* Standard Syntax Tables:: Syntax tables used by various major modes. +* Syntax Table Internals:: How syntax table information is stored. +* Categories:: Another way of classifying character syntax. + +Syntax Descriptors + +* Syntax Class Table:: Table of syntax classes. +* Syntax Flags:: Additional flags each character can have. + +Parsing Expressions + +* Motion via Parsing:: Motion functions that work by parsing. +* Position Parse:: Determining the syntactic state of a position. +* Parser State:: How Emacs represents a syntactic state. +* Low-Level Parsing:: Parsing across a specified region. +* Control Parsing:: Parameters that affect parsing. + +Abbrevs And Abbrev Expansion + +* Abbrev Mode:: Setting up Emacs for abbreviation. +* Abbrev Tables:: Creating and working with abbrev tables. +* Defining Abbrevs:: Specifying abbreviations and their expansions. +* Abbrev Files:: Saving abbrevs in files. +* Abbrev Expansion:: Controlling expansion; expansion subroutines. +* Standard Abbrev Tables:: Abbrev tables used by various major modes. + +Processes + +* Subprocess Creation:: Functions that start subprocesses. +* Shell Arguments:: Quoting an argument to pass it to a shell. +* Synchronous Processes:: Details of using synchronous subprocesses. +* Asynchronous Processes:: Starting up an asynchronous subprocess. +* Deleting Processes:: Eliminating an asynchronous subprocess. +* Process Information:: Accessing run-status and other attributes. +* Input to Processes:: Sending input to an asynchronous subprocess. +* Signals to Processes:: Stopping, continuing or interrupting + an asynchronous subprocess. +* Output from Processes:: Collecting output from an asynchronous subprocess. +* Sentinels:: Sentinels run when process run-status changes. +* Query Before Exit:: Whether to query if exiting will kill a process. +* Transaction Queues:: Transaction-based communication with subprocesses. +* Network:: Opening network connections. +* Network Servers:: Network servers let Emacs accept net connections. +* Datagrams:: UDP network connections. +* Low-Level Network:: Lower-level but more general function + to create connections and servers. +* Misc Network:: Additional relevant functions for network connections. +* Byte Packing:: Using bindat to pack and unpack binary data. + +Receiving Output from Processes + +* Process Buffers:: If no filter, output is put in a buffer. +* Filter Functions:: Filter functions accept output from the process. +* Decoding Output:: Filters can get unibyte or multibyte strings. +* Accepting Output:: How to wait until process output arrives. + +Low-Level Network Access + +* Proc: Network Processes. Using @code{make-network-process}. +* Options: Network Options. Further control over network connections. +* Features: Network Feature Testing. + Determining which network features work on + the machine you are using. + +Packing and Unpacking Byte Arrays + +* Bindat Spec:: Describing data layout. +* Bindat Functions:: Doing the unpacking and packing. +* Bindat Examples:: Samples of what bindat.el can do for you! + +Emacs Display + +* Refresh Screen:: Clearing the screen and redrawing everything on it. +* Forcing Redisplay:: Forcing redisplay. +* Truncation:: Folding or wrapping long text lines. +* The Echo Area:: Displaying messages at the bottom of the screen. +* Warnings:: Displaying warning messages for the user. +* Invisible Text:: Hiding part of the buffer text. +* Selective Display:: Hiding part of the buffer text (the old way). +* Temporary Displays:: Displays that go away automatically. +* Overlays:: Use overlays to highlight parts of the buffer. +* Width:: How wide a character or string is on the screen. +* Line Height:: Controlling the height of lines. +* Faces:: A face defines a graphics style + for text characters: font, colors, etc. +* Fringes:: Controlling window fringes. +* Scroll Bars:: Controlling vertical scroll bars. +* Display Property:: Enabling special display features. +* Images:: Displaying images in Emacs buffers. +* Buttons:: Adding clickable buttons to Emacs buffers. +* Abstract Display:: Emacs' Widget for Object Collections. +* Blinking:: How Emacs shows the matching open parenthesis. +* Usual Display:: The usual conventions for displaying nonprinting chars. +* Display Tables:: How to specify other conventions. +* Beeping:: Audible signal to the user. +* Window Systems:: Which window system is being used. + +The Echo Area + +* Displaying Messages:: Explicitly displaying text in the echo area. +* Progress:: Informing user about progress of a long operation. +* Logging Messages:: Echo area messages are logged for the user. +* Echo Area Customization:: Controlling the echo area. + +Reporting Warnings + +* Warning Basics:: Warnings concepts and functions to report them. +* Warning Variables:: Variables programs bind to customize their warnings. +* Warning Options:: Variables users set to control display of warnings. + +Overlays + +* Managing Overlays:: Creating and moving overlays. +* Overlay Properties:: How to read and set properties. + What properties do to the screen display. +* Finding Overlays:: Searching for overlays. + +Faces + +* Defining Faces:: How to define a face with @code{defface}. +* Face Attributes:: What is in a face? +* Attribute Functions:: Functions to examine and set face attributes. +* Displaying Faces:: How Emacs combines the faces specified for + a character. +* Font Selection:: Finding the best available font for a face. +* Face Functions:: How to define and examine faces. +* Auto Faces:: Hook for automatic face assignment. +* Font Lookup:: Looking up the names of available fonts + and information about them. +* Fontsets:: A fontset is a collection of fonts + that handle a range of character sets. + +Fringes + +* Fringe Size/Pos:: Specifying where to put the window fringes. +* Fringe Indicators:: Displaying indicator icons in the window fringes. +* Fringe Cursors:: Displaying cursors in the right fringe. +* Fringe Bitmaps:: Specifying bitmaps for fringe indicators. +* Customizing Bitmaps:: Specifying your own bitmaps to use in the fringes. +* Overlay Arrow:: Display of an arrow to indicate position. + +The @code{display} Property + +* Specified Space:: Displaying one space with a specified width. +* Pixel Specification:: Specifying space width or height in pixels. +* Other Display Specs:: Displaying an image; magnifying text; moving it + up or down on the page; adjusting the width + of spaces within text. +* Display Margins:: Displaying text or images to the side of + the main text. + +Images + +* Image Descriptors:: How to specify an image for use in @code{:display}. +* XBM Images:: Special features for XBM format. +* XPM Images:: Special features for XPM format. +* GIF Images:: Special features for GIF format. +* PostScript Images:: Special features for PostScript format. +* Other Image Types:: Various other formats are supported. +* Defining Images:: Convenient ways to define an image for later use. +* Showing Images:: Convenient ways to display an image once + it is defined. +* Image Cache:: Internal mechanisms of image display. + +Buttons + +* Button Properties:: Button properties with special meanings. +* Button Types:: Defining common properties for classes of buttons. +* Making Buttons:: Adding buttons to Emacs buffers. +* Manipulating Buttons:: Getting and setting properties of buttons. +* Button Buffer Commands:: Buffer-wide commands and bindings for buttons. + +Abstract Display + +* Abstract Display Functions:: Functions in the Ewoc package. +* Abstract Display Example:: Example of using Ewoc. + +Display Tables + +* Display Table Format:: What a display table consists of. +* Active Display Table:: How Emacs selects a display table to use. +* Glyphs:: How to define a glyph, and what glyphs mean. + +Operating System Interface + +* Starting Up:: Customizing Emacs start-up processing. +* Getting Out:: How exiting works (permanent or temporary). +* System Environment:: Distinguish the name and kind of system. +* User Identification:: Finding the name and user id of the user. +* Time of Day:: Getting the current time. +* Time Conversion:: Converting a time from numeric form to a string, or + to calendrical data (or vice versa). +* Time Parsing:: Converting a time from numeric form to text + and vice versa. +* Processor Run Time:: Getting the run time used by Emacs. +* Time Calculations:: Adding, subtracting, comparing times, etc. +* Timers:: Setting a timer to call a function at a certain time. +* Idle Timers:: Setting a timer to call a function when Emacs has + been idle for a certain length of time. +* Terminal Input:: Accessing and recording terminal input. +* Terminal Output:: Controlling and recording terminal output. +* Sound Output:: Playing sounds on the computer's speaker. +* X11 Keysyms:: Operating on key symbols for X Windows +* Batch Mode:: Running Emacs without terminal interaction. +* Session Management:: Saving and restoring state with X Session Management. + +Starting Up Emacs + +* Startup Summary:: Sequence of actions Emacs performs at start-up. +* Init File:: Details on reading the init file (@file{.emacs}). +* Terminal-Specific:: How the terminal-specific Lisp file is read. +* Command-Line Arguments:: How command-line arguments are processed, + and how you can customize them. + +Getting Out of Emacs + +* Killing Emacs:: Exiting Emacs irreversibly. +* Suspending Emacs:: Exiting Emacs reversibly. + +Terminal Input + +* Input Modes:: Options for how input is processed. +* Recording Input:: Saving histories of recent or all input events. + +Tips and Conventions + +* Coding Conventions:: Conventions for clean and robust programs. +* Key Binding Conventions:: Which keys should be bound by which programs. +* Programming Tips:: Making Emacs code fit smoothly in Emacs. +* Compilation Tips:: Making compiled code run fast. +* Warning Tips:: Turning off compiler warnings. +* Documentation Tips:: Writing readable documentation strings. +* Comment Tips:: Conventions for writing comments. +* Library Headers:: Standard headers for library packages. + +GNU Emacs Internals + +* Building Emacs:: How the dumped Emacs is made. +* Pure Storage:: A kludge to make preloaded Lisp functions sharable. +* Garbage Collection:: Reclaiming space for Lisp objects no longer used. +* Memory Usage:: Info about total size of Lisp objects made so far. +* Writing Emacs Primitives:: Writing C code for Emacs. +* Object Internals:: Data formats of buffers, windows, processes. + +Object Internals + +* Buffer Internals:: Components of a buffer structure. +* Window Internals:: Components of a window structure. +* Process Internals:: Components of a process structure. +@end detailmenu +@end menu + +@include intro.texi +@include objects.texi +@include numbers.texi +@include strings.texi + +@include lists.texi +@include sequences.texi +@include hash.texi +@include symbols.texi +@include eval.texi + +@include control.texi +@include variables.texi +@include functions.texi +@include macros.texi + +@include customize.texi +@include loading.texi +@include compile.texi +@include advice.texi + +@include debugging.texi +@include streams.texi +@include minibuf.texi +@include commands.texi + +@include keymaps.texi +@include modes.texi +@include help.texi +@include files.texi + +@include backups.texi +@include buffers.texi +@include windows.texi +@include frames.texi + +@include positions.texi +@include markers.texi +@include text.texi +@include nonascii.texi + +@include searching.texi +@include syntax.texi +@include abbrevs.texi +@include processes.texi + +@include display.texi +@include os.texi + +@c MOVE to Emacs Manual: include misc-modes.texi + +@c appendices + +@c REMOVE this: include non-hacker.texi + +@include anti.texi +@include doclicense.texi +@include gpl.texi +@include tips.texi +@include internals.texi +@include errors.texi +@include locals.texi +@include maps.texi +@include hooks.texi + +@include index.texi + +@ignore +@node New Symbols, , Index, Top +@unnumbered New Symbols Since the Previous Edition + +@printindex tp +@end ignore + +@bye + + +These words prevent "local variables" above from confusing Emacs. + +@ignore + arch-tag: f7e9a219-a0e1-4776-b631-08eaa1d49b34 +@end ignore diff --cc doc/lispref/frames.texi index ee07302d76b,00000000000..cd29d44ab76 mode 100644,000000..100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi @@@ -1,2217 -1,0 +1,2217 @@@ +@c -*-texinfo-*- +@c This is part of the GNU Emacs Lisp Reference Manual. +@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001, +@c 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. +@c See the file elisp.texi for copying conditions. +@setfilename ../../info/frames +@node Frames, Positions, Windows, Top +@chapter Frames +@cindex frame + + In Emacs editing, A @dfn{frame} is a screen object that contains one +or more Emacs windows. It's the kind of object that is called a +``window'' in the terminology of graphical environments; but we can't +call it a ``window'' here, because Emacs uses that word in a different +way. + + A frame initially contains a single main window and/or a minibuffer +window; you can subdivide the main window vertically or horizontally +into smaller windows. In Emacs Lisp, a @dfn{frame object} is a Lisp +object that represents a frame on the screen. + +@cindex terminal frame + When Emacs runs on a text-only terminal, it starts with one +@dfn{terminal frame}. If you create additional ones, Emacs displays +one and only one at any given time---on the terminal screen, of course. + +@cindex window frame + When Emacs communicates directly with a supported window system, such +as X, it does not have a terminal frame; instead, it starts with +a single @dfn{window frame}, but you can create more, and Emacs can +display several such frames at once as is usual for window systems. + +@defun framep object +This predicate returns a non-@code{nil} value if @var{object} is a +frame, and @code{nil} otherwise. For a frame, the value indicates which +kind of display the frame uses: + +@table @code +@item x +The frame is displayed in an X window. +@item t +A terminal frame on a character display. +@item mac +The frame is displayed on a Macintosh. +@item w32 +The frame is displayed on MS-Windows 9X/NT. +@item pc +The frame is displayed on an MS-DOS terminal. +@end table +@end defun + +@menu +* Creating Frames:: Creating additional frames. +* Multiple Displays:: Creating frames on other displays. +* Frame Parameters:: Controlling frame size, position, font, etc. +* Frame Titles:: Automatic updating of frame titles. +* Deleting Frames:: Frames last until explicitly deleted. +* Finding All Frames:: How to examine all existing frames. +* Frames and Windows:: A frame contains windows; + display of text always works through windows. +* Minibuffers and Frames:: How a frame finds the minibuffer to use. +* Input Focus:: Specifying the selected frame. +* Visibility of Frames:: Frames may be visible or invisible, or icons. +* Raising and Lowering:: Raising a frame makes it hide other windows; + lowering it makes the others hide it. +* Frame Configurations:: Saving the state of all frames. +* Mouse Tracking:: Getting events that say when the mouse moves. +* Mouse Position:: Asking where the mouse is, or moving it. +* Pop-Up Menus:: Displaying a menu for the user to select from. +* Dialog Boxes:: Displaying a box to ask yes or no. +* Pointer Shape:: Specifying the shape of the mouse pointer. +* Window System Selections:: Transferring text to and from other X clients. +* Drag and Drop:: Internals of Drag-and-Drop implementation. +* Color Names:: Getting the definitions of color names. +* Text Terminal Colors:: Defining colors for text-only terminals. +* Resources:: Getting resource values from the server. +* Display Feature Testing:: Determining the features of a terminal. +@end menu + + @xref{Display}, for information about the related topic of +controlling Emacs redisplay. + +@node Creating Frames +@section Creating Frames + +To create a new frame, call the function @code{make-frame}. + +@defun make-frame &optional alist +This function creates and returns a new frame, displaying the current +buffer. If you are using a supported window system, it makes a window +frame; otherwise, it makes a terminal frame. + +The argument is an alist specifying frame parameters. Any parameters +not mentioned in @var{alist} default according to the value of the +variable @code{default-frame-alist}; parameters not specified even there +default from the standard X resources or whatever is used instead on +your system. + +The set of possible parameters depends in principle on what kind of +window system Emacs uses to display its frames. @xref{Window Frame +Parameters}, for documentation of individual parameters you can specify. + +This function itself does not make the new frame the selected frame. +@xref{Input Focus}. The previously selected frame remains selected. +However, the window system may select the new frame for its own reasons, +for instance if the frame appears under the mouse pointer and your +setup is for focus to follow the pointer. +@end defun + +@defvar before-make-frame-hook +A normal hook run by @code{make-frame} before it actually creates the +frame. +@end defvar + +@defvar after-make-frame-functions +An abnormal hook run by @code{make-frame} after it creates the frame. +Each function in @code{after-make-frame-functions} receives one argument, the +frame just created. +@end defvar + +@node Multiple Displays +@section Multiple Displays +@cindex multiple X displays +@cindex displays, multiple + + A single Emacs can talk to more than one X display. +Initially, Emacs uses just one display---the one chosen with the +@code{DISPLAY} environment variable or with the @samp{--display} option +(@pxref{Initial Options,,, emacs, The GNU Emacs Manual}). To connect to +another display, use the command @code{make-frame-on-display} or specify +the @code{display} frame parameter when you create the frame. + + Emacs treats each X server as a separate terminal, giving each one its +own selected frame and its own minibuffer windows. However, only one of +those frames is ``@emph{the} selected frame'' at any given moment, see +@ref{Input Focus}. + + A few Lisp variables are @dfn{terminal-local}; that is, they have a +separate binding for each terminal. The binding in effect at any time +is the one for the terminal that the currently selected frame belongs +to. These variables include @code{default-minibuffer-frame}, +@code{defining-kbd-macro}, @code{last-kbd-macro}, and +@code{system-key-alist}. They are always terminal-local, and can never - be buffer-local (@pxref{Buffer-Local Variables}) or frame-local. ++be buffer-local (@pxref{Buffer-Local Variables}). + + A single X server can handle more than one screen. A display name +@samp{@var{host}:@var{server}.@var{screen}} has three parts; the last +part specifies the screen number for a given server. When you use two +screens belonging to one server, Emacs knows by the similarity in their +names that they share a single keyboard, and it treats them as a single +terminal. + + Note that some graphical terminals can output to more than a one +monitor (or other output device) at the same time. On these +``multi-monitor'' setups, a single @var{display} value controls the +output to all the physical monitors. In this situation, there is +currently no platform-independent way for Emacs to distinguish between +the different physical monitors. + +@deffn Command make-frame-on-display display &optional parameters +This creates and returns a new frame on display @var{display}, taking +the other frame parameters from @var{parameters}. Aside from the +@var{display} argument, it is like @code{make-frame} (@pxref{Creating +Frames}). +@end deffn + +@defun x-display-list +This returns a list that indicates which X displays Emacs has a +connection to. The elements of the list are strings, and each one is +a display name. +@end defun + +@defun x-open-connection display &optional xrm-string must-succeed +This function opens a connection to the X display @var{display}. It +does not create a frame on that display, but it permits you to check +that communication can be established with that display. + +The optional argument @var{xrm-string}, if not @code{nil}, is a +string of resource names and values, in the same format used in the +@file{.Xresources} file. The values you specify override the resource +values recorded in the X server itself; they apply to all Emacs frames +created on this display. Here's an example of what this string might +look like: + +@example +"*BorderWidth: 3\n*InternalBorder: 2\n" +@end example + +@xref{X Resources,, X Resources, emacs, The GNU Emacs Manual}. + +If @var{must-succeed} is non-@code{nil}, failure to open the connection +terminates Emacs. Otherwise, it is an ordinary Lisp error. +@end defun + +@defun x-close-connection display +This function closes the connection to display @var{display}. Before +you can do this, you must first delete all the frames that were open on +that display (@pxref{Deleting Frames}). +@end defun + +@node Frame Parameters +@section Frame Parameters +@cindex frame parameters + + A frame has many parameters that control its appearance and behavior. +Just what parameters a frame has depends on what display mechanism it +uses. + + Frame parameters exist mostly for the sake of window systems. A +terminal frame has a few parameters, mostly for compatibility's sake; +only the @code{height}, @code{width}, @code{name}, @code{title}, +@code{menu-bar-lines}, @code{buffer-list} and @code{buffer-predicate} +parameters do something special. If the terminal supports colors, the +parameters @code{foreground-color}, @code{background-color}, +@code{background-mode} and @code{display-type} are also meaningful. + +@menu +* Parameter Access:: How to change a frame's parameters. +* Initial Parameters:: Specifying frame parameters when you make a frame. +* Window Frame Parameters:: List of frame parameters for window systems. +* Size and Position:: Changing the size and position of a frame. +* Geometry:: Parsing geometry specifications. +@end menu + +@node Parameter Access +@subsection Access to Frame Parameters + +These functions let you read and change the parameter values of a +frame. + +@defun frame-parameter frame parameter +This function returns the value of the parameter @var{parameter} (a +symbol) of @var{frame}. If @var{frame} is @code{nil}, it returns the +selected frame's parameter. If @var{frame} has no setting for +@var{parameter}, this function returns @code{nil}. +@end defun + +@defun frame-parameters &optional frame +The function @code{frame-parameters} returns an alist listing all the +parameters of @var{frame} and their values. If @var{frame} is +@code{nil} or omitted, this returns the selected frame's parameters +@end defun + +@defun modify-frame-parameters frame alist +This function alters the parameters of frame @var{frame} based on the +elements of @var{alist}. Each element of @var{alist} has the form +@code{(@var{parm} . @var{value})}, where @var{parm} is a symbol naming a +parameter. If you don't mention a parameter in @var{alist}, its value +doesn't change. If @var{frame} is @code{nil}, it defaults to the selected +frame. +@end defun + +@defun modify-all-frames-parameters alist +This function alters the frame parameters of all existing frames +according to @var{alist}, then modifies @code{default-frame-alist} +(and, if necessary, @code{initial-frame-alist}) to apply the same +parameter values to frames that will be created henceforth. +@end defun + +@node Initial Parameters +@subsection Initial Frame Parameters + +You can specify the parameters for the initial startup frame +by setting @code{initial-frame-alist} in your init file (@pxref{Init File}). + +@defvar initial-frame-alist +This variable's value is an alist of parameter values used when creating +the initial window frame. You can set this variable to specify the +appearance of the initial frame without altering subsequent frames. +Each element has the form: + +@example +(@var{parameter} . @var{value}) +@end example + +Emacs creates the initial frame before it reads your init +file. After reading that file, Emacs checks @code{initial-frame-alist}, +and applies the parameter settings in the altered value to the already +created initial frame. + +If these settings affect the frame geometry and appearance, you'll see +the frame appear with the wrong ones and then change to the specified +ones. If that bothers you, you can specify the same geometry and +appearance with X resources; those do take effect before the frame is +created. @xref{X Resources,, X Resources, emacs, The GNU Emacs Manual}. + +X resource settings typically apply to all frames. If you want to +specify some X resources solely for the sake of the initial frame, and +you don't want them to apply to subsequent frames, here's how to achieve +this. Specify parameters in @code{default-frame-alist} to override the +X resources for subsequent frames; then, to prevent these from affecting +the initial frame, specify the same parameters in +@code{initial-frame-alist} with values that match the X resources. +@end defvar + +If these parameters specify a separate minibuffer-only frame with +@code{(minibuffer . nil)}, and you have not created one, Emacs creates +one for you. + +@defvar minibuffer-frame-alist +This variable's value is an alist of parameter values used when creating +an initial minibuffer-only frame---if such a frame is needed, according +to the parameters for the main initial frame. +@end defvar + +@defvar default-frame-alist +This is an alist specifying default values of frame parameters for all +Emacs frames---the first frame, and subsequent frames. When using the X +Window System, you can get the same results by means of X resources +in many cases. + +Setting this variable does not affect existing frames. +@end defvar + +See also @code{special-display-frame-alist}. @xref{Definition of +special-display-frame-alist}. + +If you use options that specify window appearance when you invoke Emacs, +they take effect by adding elements to @code{default-frame-alist}. One +exception is @samp{-geometry}, which adds the specified position to +@code{initial-frame-alist} instead. @xref{Emacs Invocation,, Command +Line Arguments for Emacs Invocation, emacs, The GNU Emacs Manual}. + +@node Window Frame Parameters +@subsection Window Frame Parameters + + Just what parameters a frame has depends on what display mechanism +it uses. This section describes the parameters that have special +meanings on some or all kinds of terminals. Of these, @code{name}, +@code{title}, @code{height}, @code{width}, @code{buffer-list} and +@code{buffer-predicate} provide meaningful information in terminal +frames, and @code{tty-color-mode} is meaningful @emph{only} in +terminal frames. + +@menu +* Basic Parameters:: Parameters that are fundamental. +* Position Parameters:: The position of the frame on the screen. +* Size Parameters:: Frame's size. +* Layout Parameters:: Size of parts of the frame, and + enabling or disabling some parts. +* Buffer Parameters:: Which buffers have been or should be shown. +* Management Parameters:: Communicating with the window manager. +* Cursor Parameters:: Controlling the cursor appearance. +* Color Parameters:: Colors of various parts of the frame. +@end menu + +@node Basic Parameters +@subsubsection Basic Parameters + + These frame parameters give the most basic information about the +frame. @code{title} and @code{name} are meaningful on all terminals. + +@table @code +@item display +The display on which to open this frame. It should be a string of the +form @code{"@var{host}:@var{dpy}.@var{screen}"}, just like the +@code{DISPLAY} environment variable. + +@item display-type +This parameter describes the range of possible colors that can be used +in this frame. Its value is @code{color}, @code{grayscale} or +@code{mono}. + +@item title +If a frame has a non-@code{nil} title, it appears in the window system's +border for the frame, and also in the mode line of windows in that frame +if @code{mode-line-frame-identification} uses @samp{%F} +(@pxref{%-Constructs}). This is normally the case when Emacs is not +using a window system, and can only display one frame at a time. +@xref{Frame Titles}. + +@item name +The name of the frame. The frame name serves as a default for the frame +title, if the @code{title} parameter is unspecified or @code{nil}. If +you don't specify a name, Emacs sets the frame name automatically +(@pxref{Frame Titles}). + +If you specify the frame name explicitly when you create the frame, the +name is also used (instead of the name of the Emacs executable) when +looking up X resources for the frame. + +@item display-environment-variable +The value of the @code{DISPLAY} environment variable for the frame. It +is passed to child processes. + +@item term-environment-variable +The value of the @code{TERM} environment variable for the frame. It +is passed to child processes. +@end table + +@node Position Parameters +@subsubsection Position Parameters + + Position parameters' values are normally measured in pixels, but on +text-only terminals they count characters or lines instead. + +@table @code +@item left +The screen position of the left edge, in pixels, with respect to the +left edge of the screen. The value may be a positive number @var{pos}, +or a list of the form @code{(+ @var{pos})} which permits specifying a +negative @var{pos} value. + +A negative number @minus{}@var{pos}, or a list of the form @code{(- +@var{pos})}, actually specifies the position of the right edge of the +window with respect to the right edge of the screen. A positive value +of @var{pos} counts toward the left. @strong{Reminder:} if the +parameter is a negative integer @minus{}@var{pos}, then @var{pos} is +positive. + +Some window managers ignore program-specified positions. If you want to +be sure the position you specify is not ignored, specify a +non-@code{nil} value for the @code{user-position} parameter as well. + +@item top +The screen position of the top edge, in pixels, with respect to the +top edge of the screen. It works just like @code{left}, except vertically +instead of horizontally. + +@item icon-left +The screen position of the left edge @emph{of the frame's icon}, in +pixels, counting from the left edge of the screen. This takes effect if +and when the frame is iconified. + +If you specify a value for this parameter, then you must also specify +a value for @code{icon-top} and vice versa. The window manager may +ignore these two parameters. + +@item icon-top +The screen position of the top edge @emph{of the frame's icon}, in +pixels, counting from the top edge of the screen. This takes effect if +and when the frame is iconified. + +@item user-position +When you create a frame and specify its screen position with the +@code{left} and @code{top} parameters, use this parameter to say whether +the specified position was user-specified (explicitly requested in some +way by a human user) or merely program-specified (chosen by a program). +A non-@code{nil} value says the position was user-specified. + +Window managers generally heed user-specified positions, and some heed +program-specified positions too. But many ignore program-specified +positions, placing the window in a default fashion or letting the user +place it with the mouse. Some window managers, including @code{twm}, +let the user specify whether to obey program-specified positions or +ignore them. + +When you call @code{make-frame}, you should specify a non-@code{nil} +value for this parameter if the values of the @code{left} and @code{top} +parameters represent the user's stated preference; otherwise, use +@code{nil}. +@end table + +@node Size Parameters +@subsubsection Size Parameters + + Size parameters' values are normally measured in pixels, but on +text-only terminals they count characters or lines instead. + +@table @code +@item height +The height of the frame contents, in characters. (To get the height in +pixels, call @code{frame-pixel-height}; see @ref{Size and Position}.) + +@item width +The width of the frame contents, in characters. (To get the height in +pixels, call @code{frame-pixel-width}; see @ref{Size and Position}.) + +@item user-size +This does for the size parameters @code{height} and @code{width} what +the @code{user-position} parameter (see above) does for the position +parameters @code{top} and @code{left}. + +@item fullscreen +Specify that width, height or both shall be set to the size of the screen. +The value @code{fullwidth} specifies that width shall be the size of the +screen. The value @code{fullheight} specifies that height shall be the +size of the screen. The value @code{fullboth} specifies that both the +width and the height shall be set to the size of the screen. +@end table + +@node Layout Parameters +@subsubsection Layout Parameters + + These frame parameters enable or disable various parts of the +frame, or control their sizes. + +@table @code +@item border-width +The width in pixels of the frame's border. + +@item internal-border-width +The distance in pixels between text (or fringe) and the frame's border. + +@item vertical-scroll-bars +Whether the frame has scroll bars for vertical scrolling, and which side +of the frame they should be on. The possible values are @code{left}, +@code{right}, and @code{nil} for no scroll bars. + +@ignore +@item horizontal-scroll-bars +Whether the frame has scroll bars for horizontal scrolling +(non-@code{nil} means yes). Horizontal scroll bars are not currently +implemented. +@end ignore + +@item scroll-bar-width +The width of vertical scroll bars, in pixels, or @code{nil} meaning to +use the default width. + +@item left-fringe +@itemx right-fringe +The default width of the left and right fringes of windows in this +frame (@pxref{Fringes}). If either of these is zero, that effectively +removes the corresponding fringe. A value of @code{nil} stands for +the standard fringe width, which is the width needed to display the +fringe bitmaps. + +The combined fringe widths must add up to an integral number of +columns, so the actual default fringe widths for the frame may be +larger than the specified values. The extra width needed to reach an +acceptable total is distributed evenly between the left and right +fringe. However, you can force one fringe or the other to a precise +width by specifying that width as a negative integer. If both widths are +negative, only the left fringe gets the specified width. + +@item menu-bar-lines +The number of lines to allocate at the top of the frame for a menu +bar. The default is 1. A value of @code{nil} means don't display a +menu bar. @xref{Menu Bar}. (The X toolkit and GTK allow at most one +menu bar line; they treat larger values as 1.) + +@item tool-bar-lines +The number of lines to use for the tool bar. A value of @code{nil} +means don't display a tool bar. (GTK allows at most one tool bar line; +it treats larger values as 1.) + +@item line-spacing +Additional space to leave below each text line, in pixels (a positive +integer). @xref{Line Height}, for more information. +@end table + +@node Buffer Parameters +@subsubsection Buffer Parameters + + These frame parameters, meaningful on all kinds of terminals, deal +with which buffers have been, or should, be displayed in the frame. + +@table @code +@item minibuffer +Whether this frame has its own minibuffer. The value @code{t} means +yes, @code{nil} means no, @code{only} means this frame is just a +minibuffer. If the value is a minibuffer window (in some other frame), +the new frame uses that minibuffer. + +@item buffer-predicate +The buffer-predicate function for this frame. The function +@code{other-buffer} uses this predicate (from the selected frame) to +decide which buffers it should consider, if the predicate is not +@code{nil}. It calls the predicate with one argument, a buffer, once for +each buffer; if the predicate returns a non-@code{nil} value, it +considers that buffer. + +@item buffer-list +A list of buffers that have been selected in this frame, +ordered most-recently-selected first. + +@item unsplittable +If non-@code{nil}, this frame's window is never split automatically. +@end table + +@node Management Parameters +@subsubsection Window Management Parameters +@cindex window manager, and frame parameters + + These frame parameters, meaningful only on window system displays, +interact with the window manager. + +@table @code +@item visibility +The state of visibility of the frame. There are three possibilities: +@code{nil} for invisible, @code{t} for visible, and @code{icon} for +iconified. @xref{Visibility of Frames}. + +@item auto-raise +Whether selecting the frame raises it (non-@code{nil} means yes). + +@item auto-lower +Whether deselecting the frame lowers it (non-@code{nil} means yes). + +@item icon-type +The type of icon to use for this frame when it is iconified. If the +value is a string, that specifies a file containing a bitmap to use. +Any other non-@code{nil} value specifies the default bitmap icon (a +picture of a gnu); @code{nil} specifies a text icon. + +@item icon-name +The name to use in the icon for this frame, when and if the icon +appears. If this is @code{nil}, the frame's title is used. + +@item window-id +The number of the window-system window used by the frame +to contain the actual Emacs windows. + +@item outer-window-id +The number of the outermost window-system window used for the whole frame. + +@item wait-for-wm +If non-@code{nil}, tell Xt to wait for the window manager to confirm +geometry changes. Some window managers, including versions of Fvwm2 +and KDE, fail to confirm, so Xt hangs. Set this to @code{nil} to +prevent hanging with those window managers. + +@ignore +@item parent-id +@c ??? Not yet working. +The X window number of the window that should be the parent of this one. +Specifying this lets you create an Emacs window inside some other +application's window. (It is not certain this will be implemented; try +it and see if it works.) +@end ignore +@end table + +@node Cursor Parameters +@subsubsection Cursor Parameters + + This frame parameter controls the way the cursor looks. + +@table @code +@item cursor-type +How to display the cursor. Legitimate values are: + +@table @code +@item box +Display a filled box. (This is the default.) +@item hollow +Display a hollow box. +@item nil +Don't display a cursor. +@item bar +Display a vertical bar between characters. +@item (bar . @var{width}) +Display a vertical bar @var{width} pixels wide between characters. +@item hbar +Display a horizontal bar. +@item (hbar . @var{height}) +Display a horizontal bar @var{height} pixels high. +@end table +@end table + +@vindex cursor-type +The buffer-local variable @code{cursor-type} overrides the value of +the @code{cursor-type} frame parameter, but if it is @code{t}, that +means to use the cursor specified for the frame. + +@defvar blink-cursor-alist +This variable specifies how to blink the cursor. Each element has the +form @code{(@var{on-state} . @var{off-state})}. Whenever the cursor +type equals @var{on-state} (comparing using @code{equal}), the +corresponding @var{off-state} specifies what the cursor looks like +when it blinks ``off.'' Both @var{on-state} and @var{off-state} +should be suitable values for the @code{cursor-type} frame parameter. + +There are various defaults for how to blink each type of cursor, if +the type is not mentioned as an @var{on-state} here. Changes in this +variable do not take effect immediately, only when you specify the +@code{cursor-type} frame parameter. +@end defvar + +@defvar cursor-in-non-selected-windows +This variable controls how the cursor looks in a window that is not +selected. It supports the same values as the @code{cursor-type} frame +parameter; also, @code{nil} means don't display a cursor in +nonselected windows, and @code{t} (the default) means use a standard +modificatoin of the usual cursor type (solid box becomes hollow box, +and bar becomes a narrower bar). +@end defvar + +@node Color Parameters +@subsubsection Color Parameters + + These frame parameters control the use of colors. + +@table @code +@item background-mode +This parameter is either @code{dark} or @code{light}, according +to whether the background color is a light one or a dark one. + +@item tty-color-mode +@cindex standard colors for character terminals +This parameter overrides the terminal's color support as given by the +system's terminal capabilities database in that this parameter's value +specifies the color mode to use in terminal frames. The value can be +either a symbol or a number. A number specifies the number of colors +to use (and, indirectly, what commands to issue to produce each +color). For example, @code{(tty-color-mode . 8)} specifies use of the +ANSI escape sequences for 8 standard text colors. A value of -1 turns +off color support. + +If the parameter's value is a symbol, it specifies a number through +the value of @code{tty-color-mode-alist}, and the associated number is +used instead. + +@item screen-gamma +@cindex gamma correction +If this is a number, Emacs performs ``gamma correction'' which adjusts +the brightness of all colors. The value should be the screen gamma of +your display, a floating point number. + +Usual PC monitors have a screen gamma of 2.2, so color values in +Emacs, and in X windows generally, are calibrated to display properly +on a monitor with that gamma value. If you specify 2.2 for +@code{screen-gamma}, that means no correction is needed. Other values +request correction, designed to make the corrected colors appear on +your screen the way they would have appeared without correction on an +ordinary monitor with a gamma value of 2.2. + +If your monitor displays colors too light, you should specify a +@code{screen-gamma} value smaller than 2.2. This requests correction +that makes colors darker. A screen gamma value of 1.5 may give good +results for LCD color displays. +@end table + +These frame parameters are semi-obsolete in that they are automatically +equivalent to particular face attributes of particular faces. +@xref{Standard Faces,,, emacs, The Emacs Manual}. + +@table @code +@item font +The name of the font for displaying text in the frame. This is a +string, either a valid font name for your system or the name of an Emacs +fontset (@pxref{Fontsets}). It is equivalent to the @code{font} +attribute of the @code{default} face. + +@item foreground-color +The color to use for the image of a character. It is equivalent to +the @code{:foreground} attribute of the @code{default} face. + +@item background-color +The color to use for the background of characters. It is equivalent to +the @code{:background} attribute of the @code{default} face. + +@item mouse-color +The color for the mouse pointer. It is equivalent to the @code{:background} +attribute of the @code{mouse} face. + +@item cursor-color +The color for the cursor that shows point. It is equivalent to the +@code{:background} attribute of the @code{cursor} face. + +@item border-color +The color for the border of the frame. It is equivalent to the +@code{:background} attribute of the @code{border} face. + +@item scroll-bar-foreground +If non-@code{nil}, the color for the foreground of scroll bars. It is +equivalent to the @code{:foreground} attribute of the +@code{scroll-bar} face. + +@item scroll-bar-background +If non-@code{nil}, the color for the background of scroll bars. It is +equivalent to the @code{:background} attribute of the +@code{scroll-bar} face. +@end table + +@node Size and Position +@subsection Frame Size And Position +@cindex size of frame +@cindex screen size +@cindex frame size +@cindex resize frame + + You can read or change the size and position of a frame using the +frame parameters @code{left}, @code{top}, @code{height}, and +@code{width}. Whatever geometry parameters you don't specify are chosen +by the window manager in its usual fashion. + + Here are some special features for working with sizes and positions. +(For the precise meaning of ``selected frame'' used by these functions, +see @ref{Input Focus}.) + +@defun set-frame-position frame left top +This function sets the position of the top left corner of @var{frame} to +@var{left} and @var{top}. These arguments are measured in pixels, and +normally count from the top left corner of the screen. + +Negative parameter values position the bottom edge of the window up from +the bottom edge of the screen, or the right window edge to the left of +the right edge of the screen. It would probably be better if the values +were always counted from the left and top, so that negative arguments +would position the frame partly off the top or left edge of the screen, +but it seems inadvisable to change that now. +@end defun + +@defun frame-height &optional frame +@defunx frame-width &optional frame +These functions return the height and width of @var{frame}, measured in +lines and columns. If you don't supply @var{frame}, they use the +selected frame. +@end defun + +@defun screen-height +@defunx screen-width +These functions are old aliases for @code{frame-height} and +@code{frame-width}. When you are using a non-window terminal, the size +of the frame is normally the same as the size of the terminal screen. +@end defun + +@defun frame-pixel-height &optional frame +@defunx frame-pixel-width &optional frame +These functions return the height and width of @var{frame}, measured in +pixels. If you don't supply @var{frame}, they use the selected frame. +@end defun + +@defun frame-char-height &optional frame +@defunx frame-char-width &optional frame +These functions return the height and width of a character in +@var{frame}, measured in pixels. The values depend on the choice of +font. If you don't supply @var{frame}, these functions use the selected +frame. +@end defun + +@defun set-frame-size frame cols rows +This function sets the size of @var{frame}, measured in characters; +@var{cols} and @var{rows} specify the new width and height. + +To set the size based on values measured in pixels, use +@code{frame-char-height} and @code{frame-char-width} to convert +them to units of characters. +@end defun + +@defun set-frame-height frame lines &optional pretend +This function resizes @var{frame} to a height of @var{lines} lines. The +sizes of existing windows in @var{frame} are altered proportionally to +fit. + +If @var{pretend} is non-@code{nil}, then Emacs displays @var{lines} +lines of output in @var{frame}, but does not change its value for the +actual height of the frame. This is only useful for a terminal frame. +Using a smaller height than the terminal actually implements may be +useful to reproduce behavior observed on a smaller screen, or if the +terminal malfunctions when using its whole screen. Setting the frame +height ``for real'' does not always work, because knowing the correct +actual size may be necessary for correct cursor positioning on a +terminal frame. +@end defun + +@defun set-frame-width frame width &optional pretend +This function sets the width of @var{frame}, measured in characters. +The argument @var{pretend} has the same meaning as in +@code{set-frame-height}. +@end defun + +@findex set-screen-height +@findex set-screen-width + The older functions @code{set-screen-height} and +@code{set-screen-width} were used to specify the height and width of the +screen, in Emacs versions that did not support multiple frames. They +are semi-obsolete, but still work; they apply to the selected frame. + +@node Geometry +@subsection Geometry + + Here's how to examine the data in an X-style window geometry +specification: + +@defun x-parse-geometry geom +@cindex geometry specification +The function @code{x-parse-geometry} converts a standard X window +geometry string to an alist that you can use as part of the argument to +@code{make-frame}. + +The alist describes which parameters were specified in @var{geom}, and +gives the values specified for them. Each element looks like +@code{(@var{parameter} . @var{value})}. The possible @var{parameter} +values are @code{left}, @code{top}, @code{width}, and @code{height}. + +For the size parameters, the value must be an integer. The position +parameter names @code{left} and @code{top} are not totally accurate, +because some values indicate the position of the right or bottom edges +instead. These are the @var{value} possibilities for the position +parameters: + +@table @asis +@item an integer +A positive integer relates the left edge or top edge of the window to +the left or top edge of the screen. A negative integer relates the +right or bottom edge of the window to the right or bottom edge of the +screen. + +@item @code{(+ @var{position})} +This specifies the position of the left or top edge of the window +relative to the left or top edge of the screen. The integer +@var{position} may be positive or negative; a negative value specifies a +position outside the screen. + +@item @code{(- @var{position})} +This specifies the position of the right or bottom edge of the window +relative to the right or bottom edge of the screen. The integer +@var{position} may be positive or negative; a negative value specifies a +position outside the screen. +@end table + +Here is an example: + +@example +(x-parse-geometry "35x70+0-0") + @result{} ((height . 70) (width . 35) + (top - 0) (left . 0)) +@end example +@end defun + +@node Frame Titles +@section Frame Titles +@cindex frame title + + Every frame has a @code{name} parameter; this serves as the default +for the frame title which window systems typically display at the top of +the frame. You can specify a name explicitly by setting the @code{name} +frame property. + + Normally you don't specify the name explicitly, and Emacs computes the +frame name automatically based on a template stored in the variable +@code{frame-title-format}. Emacs recomputes the name each time the +frame is redisplayed. + +@defvar frame-title-format +This variable specifies how to compute a name for a frame when you have +not explicitly specified one. The variable's value is actually a mode +line construct, just like @code{mode-line-format}, except that the +@samp{%c} and @samp{%l} constructs are ignored. @xref{Mode Line +Data}. +@end defvar + +@defvar icon-title-format +This variable specifies how to compute the name for an iconified frame, +when you have not explicitly specified the frame title. This title +appears in the icon itself. +@end defvar + +@defvar multiple-frames +This variable is set automatically by Emacs. Its value is @code{t} when +there are two or more frames (not counting minibuffer-only frames or +invisible frames). The default value of @code{frame-title-format} uses +@code{multiple-frames} so as to put the buffer name in the frame title +only when there is more than one frame. + +The value of this variable is not guaranteed to be accurate except +while processing @code{frame-title-format} or +@code{icon-title-format}. +@end defvar + +@node Deleting Frames +@section Deleting Frames +@cindex deleting frames + +Frames remain potentially visible until you explicitly @dfn{delete} +them. A deleted frame cannot appear on the screen, but continues to +exist as a Lisp object until there are no references to it. + +@deffn Command delete-frame &optional frame force +@vindex delete-frame-functions +This function deletes the frame @var{frame}. Unless @var{frame} is a +tooltip, it first runs the hook @code{delete-frame-functions} (each +function gets one argument, @var{frame}). By default, @var{frame} is +the selected frame. + +A frame cannot be deleted if its minibuffer is used by other frames. +Normally, you cannot delete a frame if all other frames are invisible, +but if the @var{force} is non-@code{nil}, then you are allowed to do so. +@end deffn + +@defun frame-live-p frame +The function @code{frame-live-p} returns non-@code{nil} if the frame +@var{frame} has not been deleted. The possible non-@code{nil} return +values are like those of @code{framep}. @xref{Frames}. +@end defun + + Some window managers provide a command to delete a window. These work +by sending a special message to the program that operates the window. +When Emacs gets one of these commands, it generates a +@code{delete-frame} event, whose normal definition is a command that +calls the function @code{delete-frame}. @xref{Misc Events}. + +@node Finding All Frames +@section Finding All Frames +@cindex frames, scanning all + +@defun frame-list +The function @code{frame-list} returns a list of all the frames that +have not been deleted. It is analogous to @code{buffer-list} for +buffers, and includes frames on all terminals. The list that you get is +newly created, so modifying the list doesn't have any effect on the +internals of Emacs. +@end defun + +@defun visible-frame-list +This function returns a list of just the currently visible frames. +@xref{Visibility of Frames}. (Terminal frames always count as +``visible,'' even though only the selected one is actually displayed.) +@end defun + +@defun next-frame &optional frame minibuf +The function @code{next-frame} lets you cycle conveniently through all +the frames on the current display from an arbitrary starting point. It +returns the ``next'' frame after @var{frame} in the cycle. If +@var{frame} is omitted or @code{nil}, it defaults to the selected frame +(@pxref{Input Focus}). + +The second argument, @var{minibuf}, says which frames to consider: + +@table @asis +@item @code{nil} +Exclude minibuffer-only frames. +@item @code{visible} +Consider all visible frames. +@item 0 +Consider all visible or iconified frames. +@item a window +Consider only the frames using that particular window as their +minibuffer. +@item anything else +Consider all frames. +@end table +@end defun + +@defun previous-frame &optional frame minibuf +Like @code{next-frame}, but cycles through all frames in the opposite +direction. +@end defun + + See also @code{next-window} and @code{previous-window}, in @ref{Cyclic +Window Ordering}. + +@node Frames and Windows +@section Frames and Windows + + Each window is part of one and only one frame; you can get the frame +with @code{window-frame}. + +@defun window-frame window +This function returns the frame that @var{window} is on. +@end defun + + All the non-minibuffer windows in a frame are arranged in a cyclic +order. The order runs from the frame's top window, which is at the +upper left corner, down and to the right, until it reaches the window at +the lower right corner (always the minibuffer window, if the frame has +one), and then it moves back to the top. @xref{Cyclic Window Ordering}. + +@defun frame-first-window &optional frame +This returns the topmost, leftmost window of frame @var{frame}. +If omitted or @code{nil}, @var{frame} defaults to the selected frame. +@end defun + +At any time, exactly one window on any frame is @dfn{selected within the +frame}. The significance of this designation is that selecting the +frame also selects this window. You can get the frame's current +selected window with @code{frame-selected-window}. + +@defun frame-selected-window &optional frame +This function returns the window on @var{frame} that is selected +within @var{frame}. If omitted or @code{nil}, @var{frame} defaults to +the selected frame. +@end defun + +@defun set-frame-selected-window frame window +This sets the selected window of frame @var{frame} to @var{window}. +If @var{frame} is @code{nil}, it operates on the selected frame. If +@var{frame} is the selected frame, this makes @var{window} the +selected window. This function returns @var{window}. +@end defun + + Conversely, selecting a window for Emacs with @code{select-window} also +makes that window selected within its frame. @xref{Selecting Windows}. + + Another function that (usually) returns one of the windows in a given +frame is @code{minibuffer-window}. @xref{Definition of minibuffer-window}. + +@node Minibuffers and Frames +@section Minibuffers and Frames + +Normally, each frame has its own minibuffer window at the bottom, which +is used whenever that frame is selected. If the frame has a minibuffer, +you can get it with @code{minibuffer-window} (@pxref{Definition of +minibuffer-window}). + +However, you can also create a frame with no minibuffer. Such a frame +must use the minibuffer window of some other frame. When you create the +frame, you can specify explicitly the minibuffer window to use (in some +other frame). If you don't, then the minibuffer is found in the frame +which is the value of the variable @code{default-minibuffer-frame}. Its +value should be a frame that does have a minibuffer. + +If you use a minibuffer-only frame, you might want that frame to raise +when you enter the minibuffer. If so, set the variable +@code{minibuffer-auto-raise} to @code{t}. @xref{Raising and Lowering}. + +@defvar default-minibuffer-frame +This variable specifies the frame to use for the minibuffer window, by +default. It does not affect existing frames. It is always local to +the current terminal and cannot be buffer-local. @xref{Multiple +Displays}. +@end defvar + +@node Input Focus +@section Input Focus +@cindex input focus +@c @cindex selected frame Duplicates selected-frame + +At any time, one frame in Emacs is the @dfn{selected frame}. The selected +window always resides on the selected frame. + +When Emacs displays its frames on several terminals (@pxref{Multiple +Displays}), each terminal has its own selected frame. But only one of +these is ``@emph{the} selected frame'': it's the frame that belongs to +the terminal from which the most recent input came. That is, when Emacs +runs a command that came from a certain terminal, the selected frame is +the one of that terminal. Since Emacs runs only a single command at any +given time, it needs to consider only one selected frame at a time; this +frame is what we call @dfn{the selected frame} in this manual. The +display on which the selected frame is displayed is the @dfn{selected +frame's display}. + +@defun selected-frame +This function returns the selected frame. +@end defun + +Some window systems and window managers direct keyboard input to the +window object that the mouse is in; others require explicit clicks or +commands to @dfn{shift the focus} to various window objects. Either +way, Emacs automatically keeps track of which frame has the focus. To +switch to a different frame from a Lisp function, call +@code{select-frame-set-input-focus}. + +Lisp programs can also switch frames ``temporarily'' by calling the +function @code{select-frame}. This does not alter the window system's +concept of focus; rather, it escapes from the window manager's control +until that control is somehow reasserted. + +When using a text-only terminal, only one frame can be displayed at a +time on the terminal, so after a call to @code{select-frame}, the next +redisplay actually displays the newly selected frame. This frame +remains selected until a subsequent call to @code{select-frame} or +@code{select-frame-set-input-focus}. Each terminal frame has a number +which appears in the mode line before the buffer name (@pxref{Mode +Line Variables}). + +@defun select-frame-set-input-focus frame +This function makes @var{frame} the selected frame, raises it (should +it happen to be obscured by other frames) and tries to give it the X +server's focus. On a text-only terminal, the next redisplay displays +the new frame on the entire terminal screen. The return value of this +function is not significant. +@end defun + +@c ??? This is not yet implemented properly. +@defun select-frame frame +This function selects frame @var{frame}, temporarily disregarding the +focus of the X server if any. The selection of @var{frame} lasts until +the next time the user does something to select a different frame, or +until the next time this function is called. (If you are using a +window system, the previously selected frame may be restored as the +selected frame after return to the command loop, because it still may +have the window system's input focus.) The specified @var{frame} +becomes the selected frame, as explained above, and the terminal that +@var{frame} is on becomes the selected terminal. This function +returns @var{frame}, or @code{nil} if @var{frame} has been deleted. + +In general, you should never use @code{select-frame} in a way that could +switch to a different terminal without switching back when you're done. +@end defun + +Emacs cooperates with the window system by arranging to select frames as +the server and window manager request. It does so by generating a +special kind of input event, called a @dfn{focus} event, when +appropriate. The command loop handles a focus event by calling +@code{handle-switch-frame}. @xref{Focus Events}. + +@deffn Command handle-switch-frame frame +This function handles a focus event by selecting frame @var{frame}. + +Focus events normally do their job by invoking this command. +Don't call it for any other reason. +@end deffn + +@defun redirect-frame-focus frame &optional focus-frame +This function redirects focus from @var{frame} to @var{focus-frame}. +This means that @var{focus-frame} will receive subsequent keystrokes and +events intended for @var{frame}. After such an event, the value of +@code{last-event-frame} will be @var{focus-frame}. Also, switch-frame +events specifying @var{frame} will instead select @var{focus-frame}. + +If @var{focus-frame} is omitted or @code{nil}, that cancels any existing +redirection for @var{frame}, which therefore once again receives its own +events. + +One use of focus redirection is for frames that don't have minibuffers. +These frames use minibuffers on other frames. Activating a minibuffer +on another frame redirects focus to that frame. This puts the focus on +the minibuffer's frame, where it belongs, even though the mouse remains +in the frame that activated the minibuffer. + +Selecting a frame can also change focus redirections. Selecting frame +@code{bar}, when @code{foo} had been selected, changes any redirections +pointing to @code{foo} so that they point to @code{bar} instead. This +allows focus redirection to work properly when the user switches from +one frame to another using @code{select-window}. + +This means that a frame whose focus is redirected to itself is treated +differently from a frame whose focus is not redirected. +@code{select-frame} affects the former but not the latter. + +The redirection lasts until @code{redirect-frame-focus} is called to +change it. +@end defun + +@defopt focus-follows-mouse +This option is how you inform Emacs whether the window manager transfers +focus when the user moves the mouse. Non-@code{nil} says that it does. +When this is so, the command @code{other-frame} moves the mouse to a +position consistent with the new selected frame. (This option has no +effect on MS-Windows, where the mouse pointer is always automatically +moved by the OS to the selected frame.) +@end defopt + +@node Visibility of Frames +@section Visibility of Frames +@cindex visible frame +@cindex invisible frame +@cindex iconified frame +@cindex frame visibility + +A window frame may be @dfn{visible}, @dfn{invisible}, or +@dfn{iconified}. If it is visible, you can see its contents, unless +other windows cover it. If it is iconified, the frame's contents do +not appear on the screen, but an icon does. If the frame is +invisible, it doesn't show on the screen, not even as an icon. + +Visibility is meaningless for terminal frames, since only the selected +one is actually displayed in any case. + +@deffn Command make-frame-visible &optional frame +This function makes frame @var{frame} visible. If you omit +@var{frame}, it makes the selected frame visible. This does not raise +the frame, but you can do that with @code{raise-frame} if you wish +(@pxref{Raising and Lowering}). +@end deffn + +@deffn Command make-frame-invisible &optional frame force +This function makes frame @var{frame} invisible. If you omit +@var{frame}, it makes the selected frame invisible. + +Unless @var{force} is non-@code{nil}, this function refuses to make +@var{frame} invisible if all other frames are invisible.. +@end deffn + +@deffn Command iconify-frame &optional frame +This function iconifies frame @var{frame}. If you omit @var{frame}, it +iconifies the selected frame. +@end deffn + +@defun frame-visible-p frame +This returns the visibility status of frame @var{frame}. The value is +@code{t} if @var{frame} is visible, @code{nil} if it is invisible, and +@code{icon} if it is iconified. + +On a text-only terminal, all frames are considered visible, whether +they are currently being displayed or not, and this function returns +@code{t} for all frames. +@end defun + + The visibility status of a frame is also available as a frame +parameter. You can read or change it as such. @xref{Management +Parameters}. + + The user can iconify and deiconify frames with the window manager. +This happens below the level at which Emacs can exert any control, but +Emacs does provide events that you can use to keep track of such +changes. @xref{Misc Events}. + +@node Raising and Lowering +@section Raising and Lowering Frames + + Most window systems use a desktop metaphor. Part of this metaphor is +the idea that windows are stacked in a notional third dimension +perpendicular to the screen surface, and thus ordered from ``highest'' +to ``lowest.'' Where two windows overlap, the one higher up covers +the one underneath. Even a window at the bottom of the stack can be +seen if no other window overlaps it. + +@c @cindex raising a frame redundant with raise-frame +@cindex lowering a frame + A window's place in this ordering is not fixed; in fact, users tend +to change the order frequently. @dfn{Raising} a window means moving +it ``up,'' to the top of the stack. @dfn{Lowering} a window means +moving it to the bottom of the stack. This motion is in the notional +third dimension only, and does not change the position of the window +on the screen. + + You can raise and lower Emacs frame Windows with these functions: + +@deffn Command raise-frame &optional frame +This function raises frame @var{frame} (default, the selected frame). +If @var{frame} is invisible or iconified, this makes it visible. +@end deffn + +@deffn Command lower-frame &optional frame +This function lowers frame @var{frame} (default, the selected frame). +@end deffn + +@defopt minibuffer-auto-raise +If this is non-@code{nil}, activation of the minibuffer raises the frame +that the minibuffer window is in. +@end defopt + +You can also enable auto-raise (raising automatically when a frame is +selected) or auto-lower (lowering automatically when it is deselected) +for any frame using frame parameters. @xref{Management Parameters}. + +@node Frame Configurations +@section Frame Configurations +@cindex frame configuration + + A @dfn{frame configuration} records the current arrangement of frames, +all their properties, and the window configuration of each one. +(@xref{Window Configurations}.) + +@defun current-frame-configuration +This function returns a frame configuration list that describes +the current arrangement of frames and their contents. +@end defun + +@defun set-frame-configuration configuration &optional nodelete +This function restores the state of frames described in +@var{configuration}. However, this function does not restore deleted +frames. + +Ordinarily, this function deletes all existing frames not listed in +@var{configuration}. But if @var{nodelete} is non-@code{nil}, the +unwanted frames are iconified instead. +@end defun + +@node Mouse Tracking +@section Mouse Tracking +@cindex mouse tracking +@c @cindex tracking the mouse Duplicates track-mouse + + Sometimes it is useful to @dfn{track} the mouse, which means to display +something to indicate where the mouse is and move the indicator as the +mouse moves. For efficient mouse tracking, you need a way to wait until +the mouse actually moves. + + The convenient way to track the mouse is to ask for events to represent +mouse motion. Then you can wait for motion by waiting for an event. In +addition, you can easily handle any other sorts of events that may +occur. That is useful, because normally you don't want to track the +mouse forever---only until some other event, such as the release of a +button. + +@defspec track-mouse body@dots{} +This special form executes @var{body}, with generation of mouse motion +events enabled. Typically @var{body} would use @code{read-event} to +read the motion events and modify the display accordingly. @xref{Motion +Events}, for the format of mouse motion events. + +The value of @code{track-mouse} is that of the last form in @var{body}. +You should design @var{body} to return when it sees the up-event that +indicates the release of the button, or whatever kind of event means +it is time to stop tracking. +@end defspec + +The usual purpose of tracking mouse motion is to indicate on the screen +the consequences of pushing or releasing a button at the current +position. + +In many cases, you can avoid the need to track the mouse by using +the @code{mouse-face} text property (@pxref{Special Properties}). +That works at a much lower level and runs more smoothly than +Lisp-level mouse tracking. + +@ignore +@c These are not implemented yet. + +These functions change the screen appearance instantaneously. The +effect is transient, only until the next ordinary Emacs redisplay. That +is OK for mouse tracking, since it doesn't make sense for mouse tracking +to change the text, and the body of @code{track-mouse} normally reads +the events itself and does not do redisplay. + +@defun x-contour-region window beg end +This function draws lines to make a box around the text from @var{beg} +to @var{end}, in window @var{window}. +@end defun + +@defun x-uncontour-region window beg end +This function erases the lines that would make a box around the text +from @var{beg} to @var{end}, in window @var{window}. Use it to remove +a contour that you previously made by calling @code{x-contour-region}. +@end defun + +@defun x-draw-rectangle frame left top right bottom +This function draws a hollow rectangle on frame @var{frame} with the +specified edge coordinates, all measured in pixels from the inside top +left corner. It uses the cursor color, the one used for indicating the +location of point. +@end defun + +@defun x-erase-rectangle frame left top right bottom +This function erases a hollow rectangle on frame @var{frame} with the +specified edge coordinates, all measured in pixels from the inside top +left corner. Erasure means redrawing the text and background that +normally belong in the specified rectangle. +@end defun +@end ignore + +@node Mouse Position +@section Mouse Position +@cindex mouse position +@cindex position of mouse + + The functions @code{mouse-position} and @code{set-mouse-position} +give access to the current position of the mouse. + +@defun mouse-position +This function returns a description of the position of the mouse. The +value looks like @code{(@var{frame} @var{x} . @var{y})}, where @var{x} +and @var{y} are integers giving the position in characters relative to +the top left corner of the inside of @var{frame}. +@end defun + +@defvar mouse-position-function +If non-@code{nil}, the value of this variable is a function for +@code{mouse-position} to call. @code{mouse-position} calls this +function just before returning, with its normal return value as the +sole argument, and it returns whatever this function returns to it. + +This abnormal hook exists for the benefit of packages like +@file{xt-mouse.el} that need to do mouse handling at the Lisp level. +@end defvar + +@defun set-mouse-position frame x y +This function @dfn{warps the mouse} to position @var{x}, @var{y} in +frame @var{frame}. The arguments @var{x} and @var{y} are integers, +giving the position in characters relative to the top left corner of the +inside of @var{frame}. If @var{frame} is not visible, this function +does nothing. The return value is not significant. +@end defun + +@defun mouse-pixel-position +This function is like @code{mouse-position} except that it returns +coordinates in units of pixels rather than units of characters. +@end defun + +@defun set-mouse-pixel-position frame x y +This function warps the mouse like @code{set-mouse-position} except that +@var{x} and @var{y} are in units of pixels rather than units of +characters. These coordinates are not required to be within the frame. + +If @var{frame} is not visible, this function does nothing. The return +value is not significant. +@end defun + +@need 3000 + +@node Pop-Up Menus +@section Pop-Up Menus + + When using a window system, a Lisp program can pop up a menu so that +the user can choose an alternative with the mouse. + +@defun x-popup-menu position menu +This function displays a pop-up menu and returns an indication of +what selection the user makes. + +The argument @var{position} specifies where on the screen to put the +top left corner of the menu. It can be either a mouse button event +(which says to put the menu where the user actuated the button) or a +list of this form: + +@example +((@var{xoffset} @var{yoffset}) @var{window}) +@end example + +@noindent +where @var{xoffset} and @var{yoffset} are coordinates, measured in +pixels, counting from the top left corner of @var{window}. @var{window} +may be a window or a frame. + +If @var{position} is @code{t}, it means to use the current mouse +position. If @var{position} is @code{nil}, it means to precompute the +key binding equivalents for the keymaps specified in @var{menu}, +without actually displaying or popping up the menu. + +The argument @var{menu} says what to display in the menu. It can be a +keymap or a list of keymaps (@pxref{Menu Keymaps}). In this case, the +return value is the list of events corresponding to the user's choice. +(This list has more than one element if the choice occurred in a +submenu.) Note that @code{x-popup-menu} does not actually execute the +command bound to that sequence of events. + +Alternatively, @var{menu} can have the following form: + +@example +(@var{title} @var{pane1} @var{pane2}...) +@end example + +@noindent +where each pane is a list of form + +@example +(@var{title} @var{item1} @var{item2}...) +@end example + +Each item should normally be a cons cell @code{(@var{line} . @var{value})}, +where @var{line} is a string, and @var{value} is the value to return if +that @var{line} is chosen. An item can also be a string; this makes a +non-selectable line in the menu. + +If the user gets rid of the menu without making a valid choice, for +instance by clicking the mouse away from a valid choice or by typing +keyboard input, then this normally results in a quit and +@code{x-popup-menu} does not return. But if @var{position} is a mouse +button event (indicating that the user invoked the menu with the +mouse) then no quit occurs and @code{x-popup-menu} returns @code{nil}. +@end defun + + @strong{Usage note:} Don't use @code{x-popup-menu} to display a menu +if you could do the job with a prefix key defined with a menu keymap. +If you use a menu keymap to implement a menu, @kbd{C-h c} and @kbd{C-h +a} can see the individual items in that menu and provide help for them. +If instead you implement the menu by defining a command that calls +@code{x-popup-menu}, the help facilities cannot know what happens inside +that command, so they cannot give any help for the menu's items. + + The menu bar mechanism, which lets you switch between submenus by +moving the mouse, cannot look within the definition of a command to see +that it calls @code{x-popup-menu}. Therefore, if you try to implement a +submenu using @code{x-popup-menu}, it cannot work with the menu bar in +an integrated fashion. This is why all menu bar submenus are +implemented with menu keymaps within the parent menu, and never with +@code{x-popup-menu}. @xref{Menu Bar}. + + If you want a menu bar submenu to have contents that vary, you should +still use a menu keymap to implement it. To make the contents vary, add +a hook function to @code{menu-bar-update-hook} to update the contents of +the menu keymap as necessary. + +@node Dialog Boxes +@section Dialog Boxes +@cindex dialog boxes + + A dialog box is a variant of a pop-up menu---it looks a little +different, it always appears in the center of a frame, and it has just +one level and one or more buttons. The main use of dialog boxes is +for asking questions that the user can answer with ``yes,'' ``no,'' +and a few other alternatives. With a single button, they can also +force the user to acknowledge important information. The functions +@code{y-or-n-p} and @code{yes-or-no-p} use dialog boxes instead of the +keyboard, when called from commands invoked by mouse clicks. + +@defun x-popup-dialog position contents &optional header +This function displays a pop-up dialog box and returns an indication of +what selection the user makes. The argument @var{contents} specifies +the alternatives to offer; it has this format: + +@example +(@var{title} (@var{string} . @var{value})@dots{}) +@end example + +@noindent +which looks like the list that specifies a single pane for +@code{x-popup-menu}. + +The return value is @var{value} from the chosen alternative. + +As for @code{x-popup-menu}, an element of the list may be just a +string instead of a cons cell @code{(@var{string} . @var{value})}. +That makes a box that cannot be selected. + +If @code{nil} appears in the list, it separates the left-hand items from +the right-hand items; items that precede the @code{nil} appear on the +left, and items that follow the @code{nil} appear on the right. If you +don't include a @code{nil} in the list, then approximately half the +items appear on each side. + +Dialog boxes always appear in the center of a frame; the argument +@var{position} specifies which frame. The possible values are as in +@code{x-popup-menu}, but the precise coordinates or the individual +window don't matter; only the frame matters. + +If @var{header} is non-@code{nil}, the frame title for the box is +@samp{Information}, otherwise it is @samp{Question}. The former is used +for @code{message-box} (@pxref{message-box}). + +In some configurations, Emacs cannot display a real dialog box; so +instead it displays the same items in a pop-up menu in the center of the +frame. + +If the user gets rid of the dialog box without making a valid choice, +for instance using the window manager, then this produces a quit and +@code{x-popup-dialog} does not return. +@end defun + +@node Pointer Shape +@section Pointer Shape +@cindex pointer shape +@cindex mouse pointer shape + + You can specify the mouse pointer style for particular text or +images using the @code{pointer} text property, and for images with the +@code{:pointer} and @code{:map} image properties. The values you can +use in these properties are @code{text} (or @code{nil}), @code{arrow}, +@code{hand}, @code{vdrag}, @code{hdrag}, @code{modeline}, and +@code{hourglass}. @code{text} stands for the usual mouse pointer +style used over text. + + Over void parts of the window (parts that do not correspond to any +of the buffer contents), the mouse pointer usually uses the +@code{arrow} style, but you can specify a different style (one of +those above) by setting @code{void-text-area-pointer}. + +@defvar void-text-area-pointer +This variable specifies the mouse pointer style for void text areas. +These include the areas after the end of a line or below the last line +in the buffer. The default is to use the @code{arrow} (non-text) +pointer style. +@end defvar + + You can specify what the @code{text} pointer style really looks like +by setting the variable @code{x-pointer-shape}. + +@defvar x-pointer-shape +This variable specifies the pointer shape to use ordinarily in the +Emacs frame, for the @code{text} pointer style. +@end defvar + +@defvar x-sensitive-text-pointer-shape +This variable specifies the pointer shape to use when the mouse +is over mouse-sensitive text. +@end defvar + + These variables affect newly created frames. They do not normally +affect existing frames; however, if you set the mouse color of a +frame, that also installs the current value of those two variables. +@xref{Color Parameters}. + + The values you can use, to specify either of these pointer shapes, are +defined in the file @file{lisp/term/x-win.el}. Use @kbd{M-x apropos +@key{RET} x-pointer @key{RET}} to see a list of them. + +@node Window System Selections +@section Window System Selections +@cindex selection (for window systems) + +The X server records a set of @dfn{selections} which permit transfer of +data between application programs. The various selections are +distinguished by @dfn{selection types}, represented in Emacs by +symbols. X clients including Emacs can read or set the selection for +any given type. + +@deffn Command x-set-selection type data +This function sets a ``selection'' in the X server. It takes two +arguments: a selection type @var{type}, and the value to assign to it, +@var{data}. If @var{data} is @code{nil}, it means to clear out the +selection. Otherwise, @var{data} may be a string, a symbol, an integer +(or a cons of two integers or list of two integers), an overlay, or a +cons of two markers pointing to the same buffer. An overlay or a pair +of markers stands for text in the overlay or between the markers. + +The argument @var{data} may also be a vector of valid non-vector +selection values. + +Each possible @var{type} has its own selection value, which changes +independently. The usual values of @var{type} are @code{PRIMARY}, +@code{SECONDARY} and @code{CLIPBOARD}; these are symbols with upper-case +names, in accord with X Window System conventions. If @var{type} is +@code{nil}, that stands for @code{PRIMARY}. + +This function returns @var{data}. +@end deffn + +@defun x-get-selection &optional type data-type +This function accesses selections set up by Emacs or by other X +clients. It takes two optional arguments, @var{type} and +@var{data-type}. The default for @var{type}, the selection type, is +@code{PRIMARY}. + +The @var{data-type} argument specifies the form of data conversion to +use, to convert the raw data obtained from another X client into Lisp +data. Meaningful values include @code{TEXT}, @code{STRING}, +@code{UTF8_STRING}, @code{TARGETS}, @code{LENGTH}, @code{DELETE}, +@code{FILE_NAME}, @code{CHARACTER_POSITION}, @code{NAME}, +@code{LINE_NUMBER}, @code{COLUMN_NUMBER}, @code{OWNER_OS}, +@code{HOST_NAME}, @code{USER}, @code{CLASS}, @code{ATOM}, and +@code{INTEGER}. (These are symbols with upper-case names in accord +with X conventions.) The default for @var{data-type} is +@code{STRING}. +@end defun + +@cindex cut buffer +The X server also has a set of eight numbered @dfn{cut buffers} which can +store text or other data being moved between applications. Cut buffers +are considered obsolete, but Emacs supports them for the sake of X +clients that still use them. Cut buffers are numbered from 0 to 7. + +@defun x-get-cut-buffer &optional n +This function returns the contents of cut buffer number @var{n}. +If omitted @var{n} defaults to 0. +@end defun + +@defun x-set-cut-buffer string &optional push +@anchor{Definition of x-set-cut-buffer} +This function stores @var{string} into the first cut buffer (cut buffer +0). If @var{push} is @code{nil}, only the first cut buffer is changed. +If @var{push} is non-@code{nil}, that says to move the values down +through the series of cut buffers, much like the way successive kills in +Emacs move down the kill ring. In other words, the previous value of +the first cut buffer moves into the second cut buffer, and the second to +the third, and so on through all eight cut buffers. +@end defun + +@defvar selection-coding-system +This variable specifies the coding system to use when reading and +writing selections or the clipboard. @xref{Coding +Systems}. The default is @code{compound-text-with-extensions}, which +converts to the text representation that X11 normally uses. +@end defvar + +@cindex clipboard support (for MS-Windows) +When Emacs runs on MS-Windows, it does not implement X selections in +general, but it does support the clipboard. @code{x-get-selection} +and @code{x-set-selection} on MS-Windows support the text data type +only; if the clipboard holds other types of data, Emacs treats the +clipboard as empty. + +@cindex scrap support (for Mac OS) +On Mac OS, selection-like data transfer between applications is +performed through a mechanism called @dfn{scraps}. The clipboard is a +particular scrap named @code{com.apple.scrap.clipboard}. Types of scrap +data are called @dfn{scrap flavor types}, which are identified by +four-char codes such as @code{TEXT}. Emacs associates a selection with +a scrap, and a selection type with a scrap flavor type via +@code{mac-scrap-name} and @code{mac-ostype} properties, respectively. + +@example +(get 'CLIPBOARD 'mac-scrap-name) + @result{} "com.apple.scrap.clipboard" +(get 'com.apple.traditional-mac-plain-text 'mac-ostype) + @result{} "TEXT" +@end example + +Conventionally, selection types for scrap flavor types on Mac OS have +the form of @acronym{UTI, Uniform Type Identifier} such as +@code{com.apple.traditional-mac-plain-text}, +@code{public.utf16-plain-text}, and @code{public.file-url}. + +@defopt x-select-enable-clipboard +If this is non-@code{nil}, the Emacs yank functions consult the +clipboard before the primary selection, and the kill functions store in +the clipboard as well as the primary selection. Otherwise they do not +access the clipboard at all. The default is @code{nil} on most systems, +but @code{t} on MS-Windows and Mac. +@end defopt + +@node Drag and Drop +@section Drag and Drop + +@vindex x-dnd-test-function +@vindex x-dnd-known-types + When a user drags something from another application over Emacs, that other +application expects Emacs to tell it if Emacs can handle the data that is +dragged. The variable @code{x-dnd-test-function} is used by Emacs to determine +what to reply. The default value is @code{x-dnd-default-test-function} +which accepts drops if the type of the data to be dropped is present in +@code{x-dnd-known-types}. You can customize @code{x-dnd-test-function} and/or +@code{x-dnd-known-types} if you want Emacs to accept or reject drops based +on some other criteria. + +@vindex x-dnd-types-alist + If you want to change the way Emacs handles drop of different types +or add a new type, customize @code{x-dnd-types-alist}. This requires +detailed knowledge of what types other applications use for drag and +drop. + +@vindex dnd-protocol-alist + When an URL is dropped on Emacs it may be a file, but it may also be +another URL type (ftp, http, etc.). Emacs first checks +@code{dnd-protocol-alist} to determine what to do with the URL. If +there is no match there and if @code{browse-url-browser-function} is +an alist, Emacs looks for a match there. If no match is found the +text for the URL is inserted. If you want to alter Emacs behavior, +you can customize these variables. + +@node Color Names +@section Color Names + +@cindex color names +@cindex specify color +@cindex numerical RGB color specification + A color name is text (usually in a string) that specifies a color. +Symbolic names such as @samp{black}, @samp{white}, @samp{red}, etc., +are allowed; use @kbd{M-x list-colors-display} to see a list of +defined names. You can also specify colors numerically in forms such +as @samp{#@var{rgb}} and @samp{RGB:@var{r}/@var{g}/@var{b}}, where +@var{r} specifies the red level, @var{g} specifies the green level, +and @var{b} specifies the blue level. You can use either one, two, +three, or four hex digits for @var{r}; then you must use the same +number of hex digits for all @var{g} and @var{b} as well, making +either 3, 6, 9 or 12 hex digits in all. (See the documentation of the +X Window System for more details about numerical RGB specification of +colors.) + + These functions provide a way to determine which color names are +valid, and what they look like. In some cases, the value depends on the +@dfn{selected frame}, as described below; see @ref{Input Focus}, for the +meaning of the term ``selected frame.'' + +@defun color-defined-p color &optional frame +This function reports whether a color name is meaningful. It returns +@code{t} if so; otherwise, @code{nil}. The argument @var{frame} says +which frame's display to ask about; if @var{frame} is omitted or +@code{nil}, the selected frame is used. + +Note that this does not tell you whether the display you are using +really supports that color. When using X, you can ask for any defined +color on any kind of display, and you will get some result---typically, +the closest it can do. To determine whether a frame can really display +a certain color, use @code{color-supported-p} (see below). + +@findex x-color-defined-p +This function used to be called @code{x-color-defined-p}, +and that name is still supported as an alias. +@end defun + +@defun defined-colors &optional frame +This function returns a list of the color names that are defined +and supported on frame @var{frame} (default, the selected frame). +If @var{frame} does not support colors, the value is @code{nil}. + +@findex x-defined-colors +This function used to be called @code{x-defined-colors}, +and that name is still supported as an alias. +@end defun + +@defun color-supported-p color &optional frame background-p +This returns @code{t} if @var{frame} can really display the color +@var{color} (or at least something close to it). If @var{frame} is +omitted or @code{nil}, the question applies to the selected frame. + +Some terminals support a different set of colors for foreground and +background. If @var{background-p} is non-@code{nil}, that means you are +asking whether @var{color} can be used as a background; otherwise you +are asking whether it can be used as a foreground. + +The argument @var{color} must be a valid color name. +@end defun + +@defun color-gray-p color &optional frame +This returns @code{t} if @var{color} is a shade of gray, as defined on +@var{frame}'s display. If @var{frame} is omitted or @code{nil}, the +question applies to the selected frame. If @var{color} is not a valid +color name, this function returns @code{nil}. +@end defun + +@defun color-values color &optional frame +@cindex rgb value +This function returns a value that describes what @var{color} should +ideally look like on @var{frame}. If @var{color} is defined, the +value is a list of three integers, which give the amount of red, the +amount of green, and the amount of blue. Each integer ranges in +principle from 0 to 65535, but some displays may not use the full +range. This three-element list is called the @dfn{rgb values} of the +color. + +If @var{color} is not defined, the value is @code{nil}. + +@example +(color-values "black") + @result{} (0 0 0) +(color-values "white") + @result{} (65280 65280 65280) +(color-values "red") + @result{} (65280 0 0) +(color-values "pink") + @result{} (65280 49152 51968) +(color-values "hungry") + @result{} nil +@end example + +The color values are returned for @var{frame}'s display. If +@var{frame} is omitted or @code{nil}, the information is returned for +the selected frame's display. If the frame cannot display colors, the +value is @code{nil}. + +@findex x-color-values +This function used to be called @code{x-color-values}, +and that name is still supported as an alias. +@end defun + +@node Text Terminal Colors +@section Text Terminal Colors +@cindex colors on text-only terminals + + Text-only terminals usually support only a small number of colors, +and the computer uses small integers to select colors on the terminal. +This means that the computer cannot reliably tell what the selected +color looks like; instead, you have to inform your application which +small integers correspond to which colors. However, Emacs does know +the standard set of colors and will try to use them automatically. + + The functions described in this section control how terminal colors +are used by Emacs. + + Several of these functions use or return @dfn{rgb values}, described +in @ref{Color Names}. + + These functions accept a display (either a frame or the name of a +terminal) as an optional argument. We hope in the future to make Emacs +support more than one text-only terminal at one time; then this argument +will specify which terminal to operate on (the default being the +selected frame's terminal; @pxref{Input Focus}). At present, though, +the @var{frame} argument has no effect. + +@defun tty-color-define name number &optional rgb frame +This function associates the color name @var{name} with +color number @var{number} on the terminal. + +The optional argument @var{rgb}, if specified, is an rgb value, a list +of three numbers that specify what the color actually looks like. +If you do not specify @var{rgb}, then this color cannot be used by +@code{tty-color-approximate} to approximate other colors, because +Emacs will not know what it looks like. +@end defun + +@defun tty-color-clear &optional frame +This function clears the table of defined colors for a text-only terminal. +@end defun + +@defun tty-color-alist &optional frame +This function returns an alist recording the known colors supported by a +text-only terminal. + +Each element has the form @code{(@var{name} @var{number} . @var{rgb})} +or @code{(@var{name} @var{number})}. Here, @var{name} is the color +name, @var{number} is the number used to specify it to the terminal. +If present, @var{rgb} is a list of three color values (for red, green, +and blue) that says what the color actually looks like. +@end defun + +@defun tty-color-approximate rgb &optional frame +This function finds the closest color, among the known colors +supported for @var{display}, to that described by the rgb value +@var{rgb} (a list of color values). The return value is an element of +@code{tty-color-alist}. +@end defun + +@defun tty-color-translate color &optional frame +This function finds the closest color to @var{color} among the known +colors supported for @var{display} and returns its index (an integer). +If the name @var{color} is not defined, the value is @code{nil}. +@end defun + +@node Resources +@section X Resources + +@defun x-get-resource attribute class &optional component subclass +The function @code{x-get-resource} retrieves a resource value from the X +Window defaults database. + +Resources are indexed by a combination of a @dfn{key} and a @dfn{class}. +This function searches using a key of the form +@samp{@var{instance}.@var{attribute}} (where @var{instance} is the name +under which Emacs was invoked), and using @samp{Emacs.@var{class}} as +the class. + +The optional arguments @var{component} and @var{subclass} add to the key +and the class, respectively. You must specify both of them or neither. +If you specify them, the key is +@samp{@var{instance}.@var{component}.@var{attribute}}, and the class is +@samp{Emacs.@var{class}.@var{subclass}}. +@end defun + +@defvar x-resource-class +This variable specifies the application name that @code{x-get-resource} +should look up. The default value is @code{"Emacs"}. You can examine X +resources for application names other than ``Emacs'' by binding this +variable to some other string, around a call to @code{x-get-resource}. +@end defvar + +@defvar x-resource-name +This variable specifies the instance name that @code{x-get-resource} +should look up. The default value is the name Emacs was invoked with, +or the value specified with the @samp{-name} or @samp{-rn} switches. +@end defvar + +To illustrate some of the above, suppose that you have the line: + +@example +xterm.vt100.background: yellow +@end example + +@noindent +in your X resources file (whose name is usually @file{~/.Xdefaults} +or @file{~/.Xresources}). Then: + +@example +@group +(let ((x-resource-class "XTerm") (x-resource-name "xterm")) + (x-get-resource "vt100.background" "VT100.Background")) + @result{} "yellow" +@end group +@group +(let ((x-resource-class "XTerm") (x-resource-name "xterm")) + (x-get-resource "background" "VT100" "vt100" "Background")) + @result{} "yellow" +@end group +@end example + + @xref{X Resources,, X Resources, emacs, The GNU Emacs Manual}. + +@node Display Feature Testing +@section Display Feature Testing +@cindex display feature testing + + The functions in this section describe the basic capabilities of a +particular display. Lisp programs can use them to adapt their behavior +to what the display can do. For example, a program that ordinarily uses +a popup menu could use the minibuffer if popup menus are not supported. + + The optional argument @var{display} in these functions specifies which +display to ask the question about. It can be a display name, a frame +(which designates the display that frame is on), or @code{nil} (which +refers to the selected frame's display, @pxref{Input Focus}). + + @xref{Color Names}, @ref{Text Terminal Colors}, for other functions to +obtain information about displays. + +@defun display-popup-menus-p &optional display +This function returns @code{t} if popup menus are supported on +@var{display}, @code{nil} if not. Support for popup menus requires that +the mouse be available, since the user cannot choose menu items without +a mouse. +@end defun + +@defun display-graphic-p &optional display +This function returns @code{t} if @var{display} is a graphic display +capable of displaying several frames and several different fonts at +once. This is true for displays that use a window system such as X, and +false for text-only terminals. +@end defun + +@defun display-mouse-p &optional display +@cindex mouse, availability +This function returns @code{t} if @var{display} has a mouse available, +@code{nil} if not. +@end defun + +@defun display-color-p &optional display +@findex x-display-color-p +This function returns @code{t} if the screen is a color screen. +It used to be called @code{x-display-color-p}, and that name +is still supported as an alias. +@end defun + +@defun display-grayscale-p &optional display +This function returns @code{t} if the screen can display shades of gray. +(All color displays can do this.) +@end defun + +@defun display-supports-face-attributes-p attributes &optional display +@anchor{Display Face Attribute Testing} +This function returns non-@code{nil} if all the face attributes in +@var{attributes} are supported (@pxref{Face Attributes}). + +The definition of `supported' is somewhat heuristic, but basically +means that a face containing all the attributes in @var{attributes}, +when merged with the default face for display, can be represented in a +way that's + +@enumerate +@item +different in appearance than the default face, and + +@item +`close in spirit' to what the attributes specify, if not exact. +@end enumerate + +Point (2) implies that a @code{:weight black} attribute will be +satisfied by any display that can display bold, as will +@code{:foreground "yellow"} as long as some yellowish color can be +displayed, but @code{:slant italic} will @emph{not} be satisfied by +the tty display code's automatic substitution of a `dim' face for +italic. +@end defun + +@defun display-selections-p &optional display +This function returns @code{t} if @var{display} supports selections. +Windowed displays normally support selections, but they may also be +supported in some other cases. +@end defun + +@defun display-images-p &optional display +This function returns @code{t} if @var{display} can display images. +Windowed displays ought in principle to handle images, but some +systems lack the support for that. On a display that does not support +images, Emacs cannot display a tool bar. +@end defun + +@defun display-screens &optional display +This function returns the number of screens associated with the display. +@end defun + +@defun display-pixel-height &optional display +This function returns the height of the screen in pixels. +On a character terminal, it gives the height in characters. + +For graphical terminals, note that on ``multi-monitor'' setups this +refers to the pixel width for all physical monitors associated with +@var{display}. @xref{Multiple Displays}. +@end defun + +@defun display-pixel-width &optional display +This function returns the width of the screen in pixels. +On a character terminal, it gives the width in characters. + +For graphical terminals, note that on ``multi-monitor'' setups this +refers to the pixel width for all physical monitors associated with +@var{display}. @xref{Multiple Displays}. +@end defun + +@defun display-mm-height &optional display +This function returns the height of the screen in millimeters, +or @code{nil} if Emacs cannot get that information. +@end defun + +@defun display-mm-width &optional display +This function returns the width of the screen in millimeters, +or @code{nil} if Emacs cannot get that information. +@end defun + +@defvar display-mm-dimensions-alist +This variable allows the user to specify the dimensions of graphical +displays returned by @code{display-mm-height} and +@code{display-mm-width} in case the system provides incorrect values. +@end defvar + +@defun display-backing-store &optional display +This function returns the backing store capability of the display. +Backing store means recording the pixels of windows (and parts of +windows) that are not exposed, so that when exposed they can be +displayed very quickly. + +Values can be the symbols @code{always}, @code{when-mapped}, or +@code{not-useful}. The function can also return @code{nil} +when the question is inapplicable to a certain kind of display. +@end defun + +@defun display-save-under &optional display +This function returns non-@code{nil} if the display supports the +SaveUnder feature. That feature is used by pop-up windows +to save the pixels they obscure, so that they can pop down +quickly. +@end defun + +@defun display-planes &optional display +This function returns the number of planes the display supports. +This is typically the number of bits per pixel. +For a tty display, it is log to base two of the number of colors supported. +@end defun + +@defun display-visual-class &optional display +This function returns the visual class for the screen. The value is one +of the symbols @code{static-gray}, @code{gray-scale}, +@code{static-color}, @code{pseudo-color}, @code{true-color}, and +@code{direct-color}. +@end defun + +@defun display-color-cells &optional display +This function returns the number of color cells the screen supports. +@end defun + + These functions obtain additional information specifically +about X displays. + +@defun x-server-version &optional display +This function returns the list of version numbers of the X server +running the display. The value is a list of three integers: the major +and minor version numbers of the X protocol, and the +distributor-specific release number of the X server software itself. +@end defun + +@defun x-server-vendor &optional display +This function returns the ``vendor'' that provided the X server +software (as a string). Really this means whoever distributes the X +server. + +When the developers of X labelled software distributors as +``vendors,'' they showed their false assumption that no system could +ever be developed and distributed noncommercially. +@end defun + +@ignore +@defvar x-no-window-manager +This variable's value is @code{t} if no X window manager is in use. +@end defvar +@end ignore + +@ignore +@item +The functions @code{x-pixel-width} and @code{x-pixel-height} return the +width and height of an X Window frame, measured in pixels. +@end ignore + +@ignore + arch-tag: 94977df6-3dca-4730-b57b-c6329e9282ba +@end ignore diff --cc doc/lispref/functions.texi index 111edb7afc0,00000000000..601644629e5 mode 100644,000000..100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi @@@ -1,1374 -1,0 +1,1377 @@@ +@c -*-texinfo-*- +@c This is part of the GNU Emacs Lisp Reference Manual. +@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001, +@c 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. +@c See the file elisp.texi for copying conditions. +@setfilename ../../info/functions +@node Functions, Macros, Variables, Top +@chapter Functions + + A Lisp program is composed mainly of Lisp functions. This chapter +explains what functions are, how they accept arguments, and how to +define them. + +@menu +* What Is a Function:: Lisp functions vs. primitives; terminology. +* Lambda Expressions:: How functions are expressed as Lisp objects. +* Function Names:: A symbol can serve as the name of a function. +* Defining Functions:: Lisp expressions for defining functions. +* Calling Functions:: How to use an existing function. +* Mapping Functions:: Applying a function to each element of a list, etc. +* Anonymous Functions:: Lambda expressions are functions with no names. +* Function Cells:: Accessing or setting the function definition + of a symbol. +* Obsolete Functions:: Declaring functions obsolete. +* Inline Functions:: Defining functions that the compiler will open code. +* Function Safety:: Determining whether a function is safe to call. +* Related Topics:: Cross-references to specific Lisp primitives + that have a special bearing on how functions work. +@end menu + +@node What Is a Function +@section What Is a Function? + + In a general sense, a function is a rule for carrying on a computation +given several values called @dfn{arguments}. The result of the +computation is called the value of the function. The computation can +also have side effects: lasting changes in the values of variables or +the contents of data structures. + + Here are important terms for functions in Emacs Lisp and for other +function-like objects. + +@table @dfn +@item function +@cindex function +In Emacs Lisp, a @dfn{function} is anything that can be applied to +arguments in a Lisp program. In some cases, we use it more +specifically to mean a function written in Lisp. Special forms and +macros are not functions. + +@item primitive +@cindex primitive +@cindex subr +@cindex built-in function +A @dfn{primitive} is a function callable from Lisp that is written in C, +such as @code{car} or @code{append}. These functions are also called +@dfn{built-in functions}, or @dfn{subrs}. (Special forms are also +considered primitives.) + +Usually the reason we implement a function as a primitive is either +because it is fundamental, because it provides a low-level interface +to operating system services, or because it needs to run fast. +Primitives can be modified or added only by changing the C sources and +recompiling the editor. See @ref{Writing Emacs Primitives}. + +@item lambda expression +A @dfn{lambda expression} is a function written in Lisp. +These are described in the following section. +@ifnottex +@xref{Lambda Expressions}. +@end ifnottex + +@item special form +A @dfn{special form} is a primitive that is like a function but does not +evaluate all of its arguments in the usual way. It may evaluate only +some of the arguments, or may evaluate them in an unusual order, or +several times. Many special forms are described in @ref{Control +Structures}. + +@item macro +@cindex macro +A @dfn{macro} is a construct defined in Lisp by the programmer. It +differs from a function in that it translates a Lisp expression that you +write into an equivalent expression to be evaluated instead of the +original expression. Macros enable Lisp programmers to do the sorts of +things that special forms can do. @xref{Macros}, for how to define and +use macros. + +@item command +@cindex command +A @dfn{command} is an object that @code{command-execute} can invoke; it +is a possible definition for a key sequence. Some functions are +commands; a function written in Lisp is a command if it contains an +interactive declaration (@pxref{Defining Commands}). Such a function +can be called from Lisp expressions like other functions; in this case, +the fact that the function is a command makes no difference. + +Keyboard macros (strings and vectors) are commands also, even though +they are not functions. A symbol is a command if its function +definition is a command; such symbols can be invoked with @kbd{M-x}. +The symbol is a function as well if the definition is a function. +@xref{Interactive Call}. + +@item keystroke command +@cindex keystroke command +A @dfn{keystroke command} is a command that is bound to a key sequence +(typically one to three keystrokes). The distinction is made here +merely to avoid confusion with the meaning of ``command'' in non-Emacs +editors; for Lisp programs, the distinction is normally unimportant. + +@item byte-code function +A @dfn{byte-code function} is a function that has been compiled by the +byte compiler. @xref{Byte-Code Type}. +@end table + +@defun functionp object +This function returns @code{t} if @var{object} is any kind of +function, or a special form, or, recursively, a symbol whose function +definition is a function or special form. (This does not include +macros.) +@end defun + +Unlike @code{functionp}, the next three functions do @emph{not} +treat a symbol as its function definition. + +@defun subrp object +This function returns @code{t} if @var{object} is a built-in function +(i.e., a Lisp primitive). + +@example +@group +(subrp 'message) ; @r{@code{message} is a symbol,} + @result{} nil ; @r{not a subr object.} +@end group +@group +(subrp (symbol-function 'message)) + @result{} t +@end group +@end example +@end defun + +@defun byte-code-function-p object +This function returns @code{t} if @var{object} is a byte-code +function. For example: + +@example +@group +(byte-code-function-p (symbol-function 'next-line)) + @result{} t +@end group +@end example +@end defun + +@defun subr-arity subr +This function provides information about the argument list of a +primitive, @var{subr}. The returned value is a pair +@code{(@var{min} . @var{max})}. @var{min} is the minimum number of +args. @var{max} is the maximum number or the symbol @code{many}, for a +function with @code{&rest} arguments, or the symbol @code{unevalled} if +@var{subr} is a special form. +@end defun + +@node Lambda Expressions +@section Lambda Expressions +@cindex lambda expression + + A function written in Lisp is a list that looks like this: + +@example +(lambda (@var{arg-variables}@dots{}) + @r{[}@var{documentation-string}@r{]} + @r{[}@var{interactive-declaration}@r{]} + @var{body-forms}@dots{}) +@end example + +@noindent +Such a list is called a @dfn{lambda expression}. In Emacs Lisp, it +actually is valid as an expression---it evaluates to itself. In some +other Lisp dialects, a lambda expression is not a valid expression at +all. In either case, its main use is not to be evaluated as an +expression, but to be called as a function. + +@menu +* Lambda Components:: The parts of a lambda expression. +* Simple Lambda:: A simple example. +* Argument List:: Details and special features of argument lists. +* Function Documentation:: How to put documentation in a function. +@end menu + +@node Lambda Components +@subsection Components of a Lambda Expression + +@ifnottex + + A function written in Lisp (a ``lambda expression'') is a list that +looks like this: + +@example +(lambda (@var{arg-variables}@dots{}) + [@var{documentation-string}] + [@var{interactive-declaration}] + @var{body-forms}@dots{}) +@end example +@end ifnottex + +@cindex lambda list + The first element of a lambda expression is always the symbol +@code{lambda}. This indicates that the list represents a function. The +reason functions are defined to start with @code{lambda} is so that +other lists, intended for other uses, will not accidentally be valid as +functions. + + The second element is a list of symbols---the argument variable names. +This is called the @dfn{lambda list}. When a Lisp function is called, +the argument values are matched up against the variables in the lambda +list, which are given local bindings with the values provided. +@xref{Local Variables}. + + The documentation string is a Lisp string object placed within the +function definition to describe the function for the Emacs help +facilities. @xref{Function Documentation}. + + The interactive declaration is a list of the form @code{(interactive +@var{code-string})}. This declares how to provide arguments if the +function is used interactively. Functions with this declaration are called +@dfn{commands}; they can be called using @kbd{M-x} or bound to a key. +Functions not intended to be called in this way should not have interactive +declarations. @xref{Defining Commands}, for how to write an interactive +declaration. + +@cindex body of function + The rest of the elements are the @dfn{body} of the function: the Lisp +code to do the work of the function (or, as a Lisp programmer would say, +``a list of Lisp forms to evaluate''). The value returned by the +function is the value returned by the last element of the body. + +@node Simple Lambda +@subsection A Simple Lambda-Expression Example + + Consider for example the following function: + +@example +(lambda (a b c) (+ a b c)) +@end example + +@noindent +We can call this function by writing it as the @sc{car} of an +expression, like this: + +@example +@group +((lambda (a b c) (+ a b c)) + 1 2 3) +@end group +@end example + +@noindent +This call evaluates the body of the lambda expression with the variable +@code{a} bound to 1, @code{b} bound to 2, and @code{c} bound to 3. +Evaluation of the body adds these three numbers, producing the result 6; +therefore, this call to the function returns the value 6. + + Note that the arguments can be the results of other function calls, as in +this example: + +@example +@group +((lambda (a b c) (+ a b c)) + 1 (* 2 3) (- 5 4)) +@end group +@end example + +@noindent +This evaluates the arguments @code{1}, @code{(* 2 3)}, and @code{(- 5 +4)} from left to right. Then it applies the lambda expression to the +argument values 1, 6 and 1 to produce the value 8. + + It is not often useful to write a lambda expression as the @sc{car} of +a form in this way. You can get the same result, of making local +variables and giving them values, using the special form @code{let} +(@pxref{Local Variables}). And @code{let} is clearer and easier to use. +In practice, lambda expressions are either stored as the function +definitions of symbols, to produce named functions, or passed as +arguments to other functions (@pxref{Anonymous Functions}). + + However, calls to explicit lambda expressions were very useful in the +old days of Lisp, before the special form @code{let} was invented. At +that time, they were the only way to bind and initialize local +variables. + +@node Argument List +@subsection Other Features of Argument Lists +@kindex wrong-number-of-arguments +@cindex argument binding +@cindex binding arguments +@cindex argument lists, features + + Our simple sample function, @code{(lambda (a b c) (+ a b c))}, +specifies three argument variables, so it must be called with three +arguments: if you try to call it with only two arguments or four +arguments, you get a @code{wrong-number-of-arguments} error. + + It is often convenient to write a function that allows certain +arguments to be omitted. For example, the function @code{substring} +accepts three arguments---a string, the start index and the end +index---but the third argument defaults to the @var{length} of the +string if you omit it. It is also convenient for certain functions to +accept an indefinite number of arguments, as the functions @code{list} +and @code{+} do. + +@cindex optional arguments +@cindex rest arguments +@kindex &optional +@kindex &rest + To specify optional arguments that may be omitted when a function +is called, simply include the keyword @code{&optional} before the optional +arguments. To specify a list of zero or more extra arguments, include the +keyword @code{&rest} before one final argument. + + Thus, the complete syntax for an argument list is as follows: + +@example +@group +(@var{required-vars}@dots{} + @r{[}&optional @var{optional-vars}@dots{}@r{]} + @r{[}&rest @var{rest-var}@r{]}) +@end group +@end example + +@noindent +The square brackets indicate that the @code{&optional} and @code{&rest} +clauses, and the variables that follow them, are optional. + + A call to the function requires one actual argument for each of the +@var{required-vars}. There may be actual arguments for zero or more of +the @var{optional-vars}, and there cannot be any actual arguments beyond +that unless the lambda list uses @code{&rest}. In that case, there may +be any number of extra actual arguments. + + If actual arguments for the optional and rest variables are omitted, +then they always default to @code{nil}. There is no way for the +function to distinguish between an explicit argument of @code{nil} and +an omitted argument. However, the body of the function is free to +consider @code{nil} an abbreviation for some other meaningful value. +This is what @code{substring} does; @code{nil} as the third argument to +@code{substring} means to use the length of the string supplied. + +@cindex CL note---default optional arg +@quotation +@b{Common Lisp note:} Common Lisp allows the function to specify what +default value to use when an optional argument is omitted; Emacs Lisp +always uses @code{nil}. Emacs Lisp does not support ``supplied-p'' +variables that tell you whether an argument was explicitly passed. +@end quotation + + For example, an argument list that looks like this: + +@example +(a b &optional c d &rest e) +@end example + +@noindent +binds @code{a} and @code{b} to the first two actual arguments, which are +required. If one or two more arguments are provided, @code{c} and +@code{d} are bound to them respectively; any arguments after the first +four are collected into a list and @code{e} is bound to that list. If +there are only two arguments, @code{c} is @code{nil}; if two or three +arguments, @code{d} is @code{nil}; if four arguments or fewer, @code{e} +is @code{nil}. + + There is no way to have required arguments following optional +ones---it would not make sense. To see why this must be so, suppose +that @code{c} in the example were optional and @code{d} were required. +Suppose three actual arguments are given; which variable would the +third argument be for? Would it be used for the @var{c}, or for +@var{d}? One can argue for both possibilities. Similarly, it makes +no sense to have any more arguments (either required or optional) +after a @code{&rest} argument. + + Here are some examples of argument lists and proper calls: + +@smallexample +((lambda (n) (1+ n)) ; @r{One required:} + 1) ; @r{requires exactly one argument.} + @result{} 2 +((lambda (n &optional n1) ; @r{One required and one optional:} + (if n1 (+ n n1) (1+ n))) ; @r{1 or 2 arguments.} + 1 2) + @result{} 3 +((lambda (n &rest ns) ; @r{One required and one rest:} + (+ n (apply '+ ns))) ; @r{1 or more arguments.} + 1 2 3 4 5) + @result{} 15 +@end smallexample + +@node Function Documentation +@subsection Documentation Strings of Functions +@cindex documentation of function + + A lambda expression may optionally have a @dfn{documentation string} just +after the lambda list. This string does not affect execution of the +function; it is a kind of comment, but a systematized comment which +actually appears inside the Lisp world and can be used by the Emacs help +facilities. @xref{Documentation}, for how the @var{documentation-string} is +accessed. + + It is a good idea to provide documentation strings for all the +functions in your program, even those that are called only from within +your program. Documentation strings are like comments, except that they +are easier to access. + + The first line of the documentation string should stand on its own, +because @code{apropos} displays just this first line. It should consist +of one or two complete sentences that summarize the function's purpose. + + The start of the documentation string is usually indented in the +source file, but since these spaces come before the starting +double-quote, they are not part of the string. Some people make a +practice of indenting any additional lines of the string so that the +text lines up in the program source. @emph{That is a mistake.} The +indentation of the following lines is inside the string; what looks +nice in the source code will look ugly when displayed by the help +commands. + + You may wonder how the documentation string could be optional, since +there are required components of the function that follow it (the body). +Since evaluation of a string returns that string, without any side effects, +it has no effect if it is not the last form in the body. Thus, in +practice, there is no confusion between the first form of the body and the +documentation string; if the only body form is a string then it serves both +as the return value and as the documentation. + + The last line of the documentation string can specify calling +conventions different from the actual function arguments. Write +text like this: + +@example +\(fn @var{arglist}) +@end example + +@noindent +following a blank line, at the beginning of the line, with no newline +following it inside the documentation string. (The @samp{\} is used +to avoid confusing the Emacs motion commands.) The calling convention +specified in this way appears in help messages in place of the one +derived from the actual arguments of the function. + + This feature is particularly useful for macro definitions, since the +arguments written in a macro definition often do not correspond to the +way users think of the parts of the macro call. + +@node Function Names +@section Naming a Function +@cindex function definition +@cindex named function +@cindex function name + + In most computer languages, every function has a name; the idea of a +function without a name is nonsensical. In Lisp, a function in the +strictest sense has no name. It is simply a list whose first element is +@code{lambda}, a byte-code function object, or a primitive subr-object. + + However, a symbol can serve as the name of a function. This happens +when you put the function in the symbol's @dfn{function cell} +(@pxref{Symbol Components}). Then the symbol itself becomes a valid, +callable function, equivalent to the list or subr-object that its +function cell refers to. The contents of the function cell are also +called the symbol's @dfn{function definition}. The procedure of using a +symbol's function definition in place of the symbol is called +@dfn{symbol function indirection}; see @ref{Function Indirection}. + + In practice, nearly all functions are given names in this way and +referred to through their names. For example, the symbol @code{car} works +as a function and does what it does because the primitive subr-object +@code{#} is stored in its function cell. + + We give functions names because it is convenient to refer to them by +their names in Lisp expressions. For primitive subr-objects such as +@code{#}, names are the only way you can refer to them: there +is no read syntax for such objects. For functions written in Lisp, the +name is more convenient to use in a call than an explicit lambda +expression. Also, a function with a name can refer to itself---it can +be recursive. Writing the function's name in its own definition is much +more convenient than making the function definition point to itself +(something that is not impossible but that has various disadvantages in +practice). + + We often identify functions with the symbols used to name them. For +example, we often speak of ``the function @code{car},'' not +distinguishing between the symbol @code{car} and the primitive +subr-object that is its function definition. For most purposes, the +distinction is not important. + + Even so, keep in mind that a function need not have a unique name. While +a given function object @emph{usually} appears in the function cell of only +one symbol, this is just a matter of convenience. It is easy to store +it in several symbols using @code{fset}; then each of the symbols is +equally well a name for the same function. + + A symbol used as a function name may also be used as a variable; these +two uses of a symbol are independent and do not conflict. (Some Lisp +dialects, such as Scheme, do not distinguish between a symbol's value +and its function definition; a symbol's value as a variable is also its +function definition.) If you have not given a symbol a function +definition, you cannot use it as a function; whether the symbol has a +value as a variable makes no difference to this. + +@node Defining Functions +@section Defining Functions +@cindex defining a function + + We usually give a name to a function when it is first created. This +is called @dfn{defining a function}, and it is done with the +@code{defun} special form. + +@defspec defun name argument-list body-forms +@code{defun} is the usual way to define new Lisp functions. It +defines the symbol @var{name} as a function that looks like this: + +@example +(lambda @var{argument-list} . @var{body-forms}) +@end example + +@code{defun} stores this lambda expression in the function cell of +@var{name}. It returns the value @var{name}, but usually we ignore this +value. + +As described previously, @var{argument-list} is a list of argument +names and may include the keywords @code{&optional} and @code{&rest} +(@pxref{Lambda Expressions}). Also, the first two of the +@var{body-forms} may be a documentation string and an interactive +declaration. + +There is no conflict if the same symbol @var{name} is also used as a +variable, since the symbol's value cell is independent of the function +cell. @xref{Symbol Components}. + +Here are some examples: + +@example +@group +(defun foo () 5) + @result{} foo +@end group +@group +(foo) + @result{} 5 +@end group + +@group +(defun bar (a &optional b &rest c) + (list a b c)) + @result{} bar +@end group +@group +(bar 1 2 3 4 5) + @result{} (1 2 (3 4 5)) +@end group +@group +(bar 1) + @result{} (1 nil nil) +@end group +@group +(bar) +@error{} Wrong number of arguments. +@end group + +@group +(defun capitalize-backwards () + "Upcase the last letter of a word." + (interactive) + (backward-word 1) + (forward-word 1) + (backward-char 1) + (capitalize-word 1)) + @result{} capitalize-backwards +@end group +@end example + +Be careful not to redefine existing functions unintentionally. +@code{defun} redefines even primitive functions such as @code{car} +without any hesitation or notification. Redefining a function already +defined is often done deliberately, and there is no way to distinguish +deliberate redefinition from unintentional redefinition. +@end defspec + +@cindex function aliases +@defun defalias name definition &optional docstring +@anchor{Definition of defalias} +This special form defines the symbol @var{name} as a function, with +definition @var{definition} (which can be any valid Lisp function). +It returns @var{definition}. + +If @var{docstring} is non-@code{nil}, it becomes the function +documentation of @var{name}. Otherwise, any documentation provided by +@var{definition} is used. + +The proper place to use @code{defalias} is where a specific function +name is being defined---especially where that name appears explicitly in +the source file being loaded. This is because @code{defalias} records +which file defined the function, just like @code{defun} +(@pxref{Unloading}). + +By contrast, in programs that manipulate function definitions for other +purposes, it is better to use @code{fset}, which does not keep such +records. @xref{Function Cells}. +@end defun + + You cannot create a new primitive function with @code{defun} or +@code{defalias}, but you can use them to change the function definition of +any symbol, even one such as @code{car} or @code{x-popup-menu} whose +normal definition is a primitive. However, this is risky: for +instance, it is next to impossible to redefine @code{car} without +breaking Lisp completely. Redefining an obscure function such as +@code{x-popup-menu} is less dangerous, but it still may not work as +you expect. If there are calls to the primitive from C code, they +call the primitive's C definition directly, so changing the symbol's +definition will have no effect on them. + + See also @code{defsubst}, which defines a function like @code{defun} +and tells the Lisp compiler to open-code it. @xref{Inline Functions}. + +@node Calling Functions +@section Calling Functions +@cindex function invocation +@cindex calling a function + + Defining functions is only half the battle. Functions don't do +anything until you @dfn{call} them, i.e., tell them to run. Calling a +function is also known as @dfn{invocation}. + + The most common way of invoking a function is by evaluating a list. +For example, evaluating the list @code{(concat "a" "b")} calls the +function @code{concat} with arguments @code{"a"} and @code{"b"}. +@xref{Evaluation}, for a description of evaluation. + + When you write a list as an expression in your program, you specify +which function to call, and how many arguments to give it, in the text +of the program. Usually that's just what you want. Occasionally you +need to compute at run time which function to call. To do that, use +the function @code{funcall}. When you also need to determine at run +time how many arguments to pass, use @code{apply}. + +@defun funcall function &rest arguments +@code{funcall} calls @var{function} with @var{arguments}, and returns +whatever @var{function} returns. + +Since @code{funcall} is a function, all of its arguments, including +@var{function}, are evaluated before @code{funcall} is called. This +means that you can use any expression to obtain the function to be +called. It also means that @code{funcall} does not see the +expressions you write for the @var{arguments}, only their values. +These values are @emph{not} evaluated a second time in the act of +calling @var{function}; the operation of @code{funcall} is like the +normal procedure for calling a function, once its arguments have +already been evaluated. + +The argument @var{function} must be either a Lisp function or a +primitive function. Special forms and macros are not allowed, because +they make sense only when given the ``unevaluated'' argument +expressions. @code{funcall} cannot provide these because, as we saw +above, it never knows them in the first place. + +@example +@group +(setq f 'list) + @result{} list +@end group +@group +(funcall f 'x 'y 'z) + @result{} (x y z) +@end group +@group +(funcall f 'x 'y '(z)) + @result{} (x y (z)) +@end group +@group +(funcall 'and t nil) +@error{} Invalid function: # +@end group +@end example + +Compare these examples with the examples of @code{apply}. +@end defun + +@defun apply function &rest arguments +@code{apply} calls @var{function} with @var{arguments}, just like +@code{funcall} but with one difference: the last of @var{arguments} is a +list of objects, which are passed to @var{function} as separate +arguments, rather than a single list. We say that @code{apply} +@dfn{spreads} this list so that each individual element becomes an +argument. + +@code{apply} returns the result of calling @var{function}. As with +@code{funcall}, @var{function} must either be a Lisp function or a +primitive function; special forms and macros do not make sense in +@code{apply}. + +@example +@group +(setq f 'list) + @result{} list +@end group +@group +(apply f 'x 'y 'z) +@error{} Wrong type argument: listp, z +@end group +@group +(apply '+ 1 2 '(3 4)) + @result{} 10 +@end group +@group +(apply '+ '(1 2 3 4)) + @result{} 10 +@end group + +@group +(apply 'append '((a b c) nil (x y z) nil)) + @result{} (a b c x y z) +@end group +@end example + +For an interesting example of using @code{apply}, see @ref{Definition +of mapcar}. +@end defun + +@cindex functionals + It is common for Lisp functions to accept functions as arguments or +find them in data structures (especially in hook variables and property +lists) and call them using @code{funcall} or @code{apply}. Functions +that accept function arguments are often called @dfn{functionals}. + + Sometimes, when you call a functional, it is useful to supply a no-op +function as the argument. Here are two different kinds of no-op +function: + +@defun identity arg +This function returns @var{arg} and has no side effects. +@end defun + +@defun ignore &rest args +This function ignores any arguments and returns @code{nil}. +@end defun + +@node Mapping Functions +@section Mapping Functions +@cindex mapping functions + + A @dfn{mapping function} applies a given function (@emph{not} a +special form or macro) to each element of a list or other collection. +Emacs Lisp has several such functions; @code{mapcar} and +@code{mapconcat}, which scan a list, are described here. +@xref{Definition of mapatoms}, for the function @code{mapatoms} which +maps over the symbols in an obarray. @xref{Definition of maphash}, +for the function @code{maphash} which maps over key/value associations +in a hash table. + + These mapping functions do not allow char-tables because a char-table +is a sparse array whose nominal range of indices is very large. To map +over a char-table in a way that deals properly with its sparse nature, +use the function @code{map-char-table} (@pxref{Char-Tables}). + +@defun mapcar function sequence +@anchor{Definition of mapcar} +@code{mapcar} applies @var{function} to each element of @var{sequence} +in turn, and returns a list of the results. + +The argument @var{sequence} can be any kind of sequence except a +char-table; that is, a list, a vector, a bool-vector, or a string. The +result is always a list. The length of the result is the same as the +length of @var{sequence}. For example: + +@smallexample +@group +(mapcar 'car '((a b) (c d) (e f))) + @result{} (a c e) +(mapcar '1+ [1 2 3]) + @result{} (2 3 4) +(mapcar 'char-to-string "abc") + @result{} ("a" "b" "c") +@end group + +@group +;; @r{Call each function in @code{my-hooks}.} +(mapcar 'funcall my-hooks) +@end group + +@group +(defun mapcar* (function &rest args) + "Apply FUNCTION to successive cars of all ARGS. +Return the list of results." + ;; @r{If no list is exhausted,} + (if (not (memq nil args)) + ;; @r{apply function to @sc{car}s.} + (cons (apply function (mapcar 'car args)) + (apply 'mapcar* function + ;; @r{Recurse for rest of elements.} + (mapcar 'cdr args))))) +@end group + +@group +(mapcar* 'cons '(a b c) '(1 2 3 4)) + @result{} ((a . 1) (b . 2) (c . 3)) +@end group +@end smallexample +@end defun + +@defun mapc function sequence +@code{mapc} is like @code{mapcar} except that @var{function} is used for +side-effects only---the values it returns are ignored, not collected +into a list. @code{mapc} always returns @var{sequence}. +@end defun + +@defun mapconcat function sequence separator +@code{mapconcat} applies @var{function} to each element of +@var{sequence}: the results, which must be strings, are concatenated. +Between each pair of result strings, @code{mapconcat} inserts the string +@var{separator}. Usually @var{separator} contains a space or comma or +other suitable punctuation. + +The argument @var{function} must be a function that can take one +argument and return a string. The argument @var{sequence} can be any +kind of sequence except a char-table; that is, a list, a vector, a +bool-vector, or a string. + +@smallexample +@group +(mapconcat 'symbol-name + '(The cat in the hat) + " ") + @result{} "The cat in the hat" +@end group + +@group +(mapconcat (function (lambda (x) (format "%c" (1+ x)))) + "HAL-8000" + "") + @result{} "IBM.9111" +@end group +@end smallexample +@end defun + +@node Anonymous Functions +@section Anonymous Functions +@cindex anonymous function + + In Lisp, a function is a list that starts with @code{lambda}, a +byte-code function compiled from such a list, or alternatively a +primitive subr-object; names are ``extra.'' Although usually functions +are defined with @code{defun} and given names at the same time, it is +occasionally more concise to use an explicit lambda expression---an +anonymous function. Such a list is valid wherever a function name is. + + Any method of creating such a list makes a valid function. Even this: + +@smallexample +@group +(setq silly (append '(lambda (x)) (list (list '+ (* 3 4) 'x)))) +@result{} (lambda (x) (+ 12 x)) +@end group +@end smallexample + +@noindent +This computes a list that looks like @code{(lambda (x) (+ 12 x))} and +makes it the value (@emph{not} the function definition!) of +@code{silly}. + + Here is how we might call this function: + +@example +@group +(funcall silly 1) +@result{} 13 +@end group +@end example + +@noindent +(It does @emph{not} work to write @code{(silly 1)}, because this function +is not the @emph{function definition} of @code{silly}. We have not given +@code{silly} any function definition, just a value as a variable.) + + Most of the time, anonymous functions are constants that appear in +your program. For example, you might want to pass one as an argument to +the function @code{mapcar}, which applies any given function to each +element of a list. + + Here we define a function @code{change-property} which +uses a function as its third argument: + +@example +@group +(defun change-property (symbol prop function) + (let ((value (get symbol prop))) + (put symbol prop (funcall function value)))) +@end group +@end example + +@noindent +Here we define a function that uses @code{change-property}, +passing it a function to double a number: + +@example +@group +(defun double-property (symbol prop) + (change-property symbol prop '(lambda (x) (* 2 x)))) +@end group +@end example + +@noindent +In such cases, we usually use the special form @code{function} instead +of simple quotation to quote the anonymous function, like this: + +@example +@group +(defun double-property (symbol prop) + (change-property symbol prop + (function (lambda (x) (* 2 x))))) +@end group +@end example + +Using @code{function} instead of @code{quote} makes a difference if you +compile the function @code{double-property}. For example, if you +compile the second definition of @code{double-property}, the anonymous +function is compiled as well. By contrast, if you compile the first +definition which uses ordinary @code{quote}, the argument passed to +@code{change-property} is the precise list shown: + +@example +(lambda (x) (* x 2)) +@end example + +@noindent +The Lisp compiler cannot assume this list is a function, even though it +looks like one, since it does not know what @code{change-property} will +do with the list. Perhaps it will check whether the @sc{car} of the third +element is the symbol @code{*}! Using @code{function} tells the +compiler it is safe to go ahead and compile the constant function. + + Nowadays it is possible to omit @code{function} entirely, like this: + +@example +@group +(defun double-property (symbol prop) + (change-property symbol prop (lambda (x) (* 2 x)))) +@end group +@end example + +@noindent +This is because @code{lambda} itself implies @code{function}. + + We sometimes write @code{function} instead of @code{quote} when +quoting the name of a function, but this usage is just a sort of +comment: + +@example +(function @var{symbol}) @equiv{} (quote @var{symbol}) @equiv{} '@var{symbol} +@end example + +@cindex @samp{#'} syntax + The read syntax @code{#'} is a short-hand for using @code{function}. +For example, + +@example +#'(lambda (x) (* x x)) +@end example + +@noindent +is equivalent to + +@example +(function (lambda (x) (* x x))) +@end example + +@defspec function function-object +@cindex function quoting +This special form returns @var{function-object} without evaluating it. +In this, it is equivalent to @code{quote}. However, it serves as a +note to the Emacs Lisp compiler that @var{function-object} is intended +to be used only as a function, and therefore can safely be compiled. +Contrast this with @code{quote}, in @ref{Quoting}. +@end defspec + + @xref{describe-symbols example}, for a realistic example using +@code{function} and an anonymous function. + +@node Function Cells +@section Accessing Function Cell Contents + + The @dfn{function definition} of a symbol is the object stored in the +function cell of the symbol. The functions described here access, test, +and set the function cell of symbols. + + See also the function @code{indirect-function}. @xref{Definition of +indirect-function}. + +@defun symbol-function symbol +@kindex void-function +This returns the object in the function cell of @var{symbol}. If the +symbol's function cell is void, a @code{void-function} error is +signaled. + +This function does not check that the returned object is a legitimate +function. + +@example +@group +(defun bar (n) (+ n 2)) + @result{} bar +@end group +@group +(symbol-function 'bar) + @result{} (lambda (n) (+ n 2)) +@end group +@group +(fset 'baz 'bar) + @result{} bar +@end group +@group +(symbol-function 'baz) + @result{} bar +@end group +@end example +@end defun + +@cindex void function cell + If you have never given a symbol any function definition, we say that +that symbol's function cell is @dfn{void}. In other words, the function +cell does not have any Lisp object in it. If you try to call such a symbol +as a function, it signals a @code{void-function} error. + + Note that void is not the same as @code{nil} or the symbol +@code{void}. The symbols @code{nil} and @code{void} are Lisp objects, +and can be stored into a function cell just as any other object can be +(and they can be valid functions if you define them in turn with +@code{defun}). A void function cell contains no object whatsoever. + + You can test the voidness of a symbol's function definition with +@code{fboundp}. After you have given a symbol a function definition, you +can make it void once more using @code{fmakunbound}. + +@defun fboundp symbol +This function returns @code{t} if the symbol has an object in its +function cell, @code{nil} otherwise. It does not check that the object +is a legitimate function. +@end defun + +@defun fmakunbound symbol +This function makes @var{symbol}'s function cell void, so that a +subsequent attempt to access this cell will cause a +@code{void-function} error. It returns @var{symbol}. (See also +@code{makunbound}, in @ref{Void Variables}.) + +@example +@group +(defun foo (x) x) + @result{} foo +@end group +@group +(foo 1) + @result{}1 +@end group +@group +(fmakunbound 'foo) + @result{} foo +@end group +@group +(foo 1) +@error{} Symbol's function definition is void: foo +@end group +@end example +@end defun + +@defun fset symbol definition +This function stores @var{definition} in the function cell of +@var{symbol}. The result is @var{definition}. Normally +@var{definition} should be a function or the name of a function, but +this is not checked. The argument @var{symbol} is an ordinary evaluated +argument. + +There are three normal uses of this function: + +@itemize @bullet +@item +Copying one symbol's function definition to another---in other words, +making an alternate name for a function. (If you think of this as the +definition of the new name, you should use @code{defalias} instead of +@code{fset}; see @ref{Definition of defalias}.) + +@item +Giving a symbol a function definition that is not a list and therefore +cannot be made with @code{defun}. For example, you can use @code{fset} +to give a symbol @code{s1} a function definition which is another symbol +@code{s2}; then @code{s1} serves as an alias for whatever definition +@code{s2} presently has. (Once again use @code{defalias} instead of +@code{fset} if you think of this as the definition of @code{s1}.) + +@item +In constructs for defining or altering functions. If @code{defun} +were not a primitive, it could be written in Lisp (as a macro) using +@code{fset}. +@end itemize + +Here are examples of these uses: + +@example +@group +;; @r{Save @code{foo}'s definition in @code{old-foo}.} +(fset 'old-foo (symbol-function 'foo)) +@end group + +@group +;; @r{Make the symbol @code{car} the function definition of @code{xfirst}.} +;; @r{(Most likely, @code{defalias} would be better than @code{fset} here.)} +(fset 'xfirst 'car) + @result{} car +@end group +@group +(xfirst '(1 2 3)) + @result{} 1 +@end group +@group +(symbol-function 'xfirst) + @result{} car +@end group +@group +(symbol-function (symbol-function 'xfirst)) + @result{} # +@end group + +@group +;; @r{Define a named keyboard macro.} +(fset 'kill-two-lines "\^u2\^k") + @result{} "\^u2\^k" +@end group + +@group +;; @r{Here is a function that alters other functions.} +(defun copy-function-definition (new old) + "Define NEW with the same function definition as OLD." + (fset new (symbol-function old))) +@end group +@end example +@end defun + + @code{fset} is sometimes used to save the old definition of a +function before redefining it. That permits the new definition to +invoke the old definition. But it is unmodular and unclean for a Lisp +file to redefine a function defined elsewhere. If you want to modify +a function defined by another package, it is cleaner to use +@code{defadvice} (@pxref{Advising Functions}). + +@node Obsolete Functions +@section Declaring Functions Obsolete + +You can use @code{make-obsolete} to declare a function obsolete. This +indicates that the function may be removed at some stage in the future. + +@defun make-obsolete obsolete-name current-name &optional when +This function makes the byte compiler warn that the function +@var{obsolete-name} is obsolete. If @var{current-name} is a symbol, the +warning message says to use @var{current-name} instead of +@var{obsolete-name}. @var{current-name} does not need to be an alias for +@var{obsolete-name}; it can be a different function with similar +functionality. If @var{current-name} is a string, it is the warning +message. + +If provided, @var{when} should be a string indicating when the function +was first made obsolete---for example, a date or a release number. +@end defun + +You can define a function as an alias and declare it obsolete at the +same time using the macro @code{define-obsolete-function-alias}. + +@defmac define-obsolete-function-alias obsolete-name current-name &optional when docstring +This macro marks the function @var{obsolete-name} obsolete and also +defines it as an alias for the function @var{current-name}. It is +equivalent to the following: + +@example +(defalias @var{obsolete-name} @var{current-name} @var{docstring}) +(make-obsolete @var{obsolete-name} @var{current-name} @var{when}) +@end example +@end defmac + +@node Inline Functions +@section Inline Functions +@cindex inline functions + +@findex defsubst +You can define an @dfn{inline function} by using @code{defsubst} instead +of @code{defun}. An inline function works just like an ordinary +function except for one thing: when you compile a call to the function, +the function's definition is open-coded into the caller. + +Making a function inline makes explicit calls run faster. But it also +has disadvantages. For one thing, it reduces flexibility; if you +change the definition of the function, calls already inlined still use +the old definition until you recompile them. + +Another disadvantage is that making a large function inline can increase +the size of compiled code both in files and in memory. Since the speed +advantage of inline functions is greatest for small functions, you +generally should not make large functions inline. + +Also, inline functions do not behave well with respect to debugging, +tracing, and advising (@pxref{Advising Functions}). Since ease of +debugging and the flexibility of redefining functions are important +features of Emacs, you should not make a function inline, even if it's +small, unless its speed is really crucial, and you've timed the code +to verify that using @code{defun} actually has performance problems. + +It's possible to define a macro to expand into the same code that an +inline function would execute. (@xref{Macros}.) But the macro would be +limited to direct use in expressions---a macro cannot be called with +@code{apply}, @code{mapcar} and so on. Also, it takes some work to +convert an ordinary function into a macro. To convert it into an inline +function is very easy; simply replace @code{defun} with @code{defsubst}. +Since each argument of an inline function is evaluated exactly once, you +needn't worry about how many times the body uses the arguments, as you +do for macros. (@xref{Argument Evaluation}.) + +Inline functions can be used and open-coded later on in the same file, +following the definition, just like macros. + +@node Function Safety +@section Determining whether a Function is Safe to Call +@cindex function safety +@cindex safety of functions + +Some major modes such as SES call functions that are stored in user +files. (@inforef{Top, ,ses}, for more information on SES.) User +files sometimes have poor pedigrees---you can get a spreadsheet from +someone you've just met, or you can get one through email from someone +you've never met. So it is risky to call a function whose source code +is stored in a user file until you have determined that it is safe. + +@defun unsafep form &optional unsafep-vars +Returns @code{nil} if @var{form} is a @dfn{safe} Lisp expression, or +returns a list that describes why it might be unsafe. The argument +@var{unsafep-vars} is a list of symbols known to have temporary +bindings at this point; it is mainly used for internal recursive +calls. The current buffer is an implicit argument, which provides a +list of buffer-local bindings. +@end defun + +Being quick and simple, @code{unsafep} does a very light analysis and +rejects many Lisp expressions that are actually safe. There are no +known cases where @code{unsafep} returns @code{nil} for an unsafe +expression. However, a ``safe'' Lisp expression can return a string +with a @code{display} property, containing an associated Lisp +expression to be executed after the string is inserted into a buffer. +This associated expression can be a virus. In order to be safe, you +must delete properties from all strings calculated by user code before +inserting them into buffers. + +@ignore +What is a safe Lisp expression? Basically, it's an expression that +calls only built-in functions with no side effects (or only innocuous +ones). Innocuous side effects include displaying messages and +altering non-risky buffer-local variables (but not global variables). + +@table @dfn +@item Safe expression +@itemize +@item +An atom or quoted thing. +@item +A call to a safe function (see below), if all its arguments are +safe expressions. +@item +One of the special forms @code{and}, @code{catch}, @code{cond}, +@code{if}, @code{or}, @code{prog1}, @code{prog2}, @code{progn}, +@code{while}, and @code{unwind-protect}], if all its arguments are +safe. +@item +A form that creates temporary bindings (@code{condition-case}, +@code{dolist}, @code{dotimes}, @code{lambda}, @code{let}, or +@code{let*}), if all args are safe and the symbols to be bound are not +explicitly risky (see @pxref{File Local Variables}). +@item +An assignment using @code{add-to-list}, @code{setq}, @code{push}, or +@code{pop}, if all args are safe and the symbols to be assigned are +not explicitly risky and they already have temporary or buffer-local +bindings. +@item +One of [apply, mapc, mapcar, mapconcat] if the first argument is a +safe explicit lambda and the other args are safe expressions. +@end itemize + +@item Safe function +@itemize +@item +A lambda containing safe expressions. +@item +A symbol on the list @code{safe-functions}, so the user says it's safe. +@item +A symbol with a non-@code{nil} @code{side-effect-free} property. +@item +A symbol with a non-@code{nil} @code{safe-function} property. Value t +indicates a function that is safe but has innocuous side effects. +Other values will someday indicate functions with classes of side +effects that are not always safe. +@end itemize + +The @code{side-effect-free} and @code{safe-function} properties are +provided for built-in functions and for low-level functions and macros +defined in @file{subr.el}. You can assign these properties for the +functions you write. +@end table +@end ignore + +@node Related Topics +@section Other Topics Related to Functions + + Here is a table of several functions that do things related to +function calling and function definitions. They are documented +elsewhere, but we provide cross references here. + +@table @code +@item apply +See @ref{Calling Functions}. + +@item autoload +See @ref{Autoload}. + +@item call-interactively +See @ref{Interactive Call}. + ++@item called-interactively-p ++See @ref{Distinguish Interactive}. ++ +@item commandp +See @ref{Interactive Call}. + +@item documentation +See @ref{Accessing Documentation}. + +@item eval +See @ref{Eval}. + +@item funcall +See @ref{Calling Functions}. + +@item function +See @ref{Anonymous Functions}. + +@item ignore +See @ref{Calling Functions}. + +@item indirect-function +See @ref{Function Indirection}. + +@item interactive +See @ref{Using Interactive}. + +@item interactive-p - See @ref{Interactive Call}. ++See @ref{Distinguish Interactive}. + +@item mapatoms +See @ref{Creating Symbols}. + +@item mapcar +See @ref{Mapping Functions}. + +@item map-char-table +See @ref{Char-Tables}. + +@item mapconcat +See @ref{Mapping Functions}. + +@item undefined +See @ref{Functions for Key Lookup}. +@end table + +@ignore + arch-tag: 39100cdf-8a55-4898-acba-595db619e8e2 +@end ignore diff --cc doc/lispref/loading.texi index 9b582fe5cf8,00000000000..cbea262cc45 mode 100644,000000..100644 --- a/doc/lispref/loading.texi +++ b/doc/lispref/loading.texi @@@ -1,968 -1,0 +1,971 @@@ +@c -*-texinfo-*- +@c This is part of the GNU Emacs Lisp Reference Manual. +@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001, +@c 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. +@c See the file elisp.texi for copying conditions. +@setfilename ../../info/loading +@node Loading, Byte Compilation, Customization, Top +@chapter Loading +@cindex loading +@cindex library +@cindex Lisp library + + Loading a file of Lisp code means bringing its contents into the Lisp +environment in the form of Lisp objects. Emacs finds and opens the +file, reads the text, evaluates each form, and then closes the file. + + The load functions evaluate all the expressions in a file just +as the @code{eval-buffer} function evaluates all the +expressions in a buffer. The difference is that the load functions +read and evaluate the text in the file as found on disk, not the text +in an Emacs buffer. + +@cindex top-level form + The loaded file must contain Lisp expressions, either as source code +or as byte-compiled code. Each form in the file is called a +@dfn{top-level form}. There is no special format for the forms in a +loadable file; any form in a file may equally well be typed directly +into a buffer and evaluated there. (Indeed, most code is tested this +way.) Most often, the forms are function definitions and variable +definitions. + + A file containing Lisp code is often called a @dfn{library}. Thus, +the ``Rmail library'' is a file containing code for Rmail mode. +Similarly, a ``Lisp library directory'' is a directory of files +containing Lisp code. + +@menu +* How Programs Do Loading:: The @code{load} function and others. +* Load Suffixes:: Details about the suffixes that @code{load} tries. +* Library Search:: Finding a library to load. +* Loading Non-ASCII:: Non-@acronym{ASCII} characters in Emacs Lisp files. +* Autoload:: Setting up a function to autoload. +* Repeated Loading:: Precautions about loading a file twice. +* Named Features:: Loading a library if it isn't already loaded. +* Where Defined:: Finding which file defined a certain symbol. +* Unloading:: How to "unload" a library that was loaded. +* Hooks for Loading:: Providing code to be run when + particular libraries are loaded. +@end menu + +@node How Programs Do Loading +@section How Programs Do Loading + + Emacs Lisp has several interfaces for loading. For example, +@code{autoload} creates a placeholder object for a function defined in a +file; trying to call the autoloading function loads the file to get the +function's real definition (@pxref{Autoload}). @code{require} loads a +file if it isn't already loaded (@pxref{Named Features}). Ultimately, +all these facilities call the @code{load} function to do the work. + +@defun load filename &optional missing-ok nomessage nosuffix must-suffix +This function finds and opens a file of Lisp code, evaluates all the +forms in it, and closes the file. + +To find the file, @code{load} first looks for a file named +@file{@var{filename}.elc}, that is, for a file whose name is +@var{filename} with the extension @samp{.elc} appended. If such a +file exists, it is loaded. If there is no file by that name, then +@code{load} looks for a file named @file{@var{filename}.el}. If that +file exists, it is loaded. Finally, if neither of those names is +found, @code{load} looks for a file named @var{filename} with nothing +appended, and loads it if it exists. (The @code{load} function is not +clever about looking at @var{filename}. In the perverse case of a +file named @file{foo.el.el}, evaluation of @code{(load "foo.el")} will +indeed find it.) + +If Auto Compression mode is enabled, as it is by default, then if +@code{load} can not find a file, it searches for a compressed version +of the file before trying other file names. It decompresses and loads +it if it exists. It looks for compressed versions by appending each +of the suffixes in @code{jka-compr-load-suffixes} to the file name. +The value of this variable must be a list of strings. Its standard +value is @code{(".gz")}. + +If the optional argument @var{nosuffix} is non-@code{nil}, then +@code{load} does not try the suffixes @samp{.elc} and @samp{.el}. In +this case, you must specify the precise file name you want, except +that, if Auto Compression mode is enabled, @code{load} will still use +@code{jka-compr-load-suffixes} to find compressed versions. By +specifying the precise file name and using @code{t} for +@var{nosuffix}, you can prevent perverse file names such as +@file{foo.el.el} from being tried. + +If the optional argument @var{must-suffix} is non-@code{nil}, then +@code{load} insists that the file name used must end in either +@samp{.el} or @samp{.elc} (possibly extended with a compression +suffix), unless it contains an explicit directory name. + +If @var{filename} is a relative file name, such as @file{foo} or +@file{baz/foo.bar}, @code{load} searches for the file using the variable +@code{load-path}. It appends @var{filename} to each of the directories +listed in @code{load-path}, and loads the first file it finds whose name +matches. The current default directory is tried only if it is specified +in @code{load-path}, where @code{nil} stands for the default directory. +@code{load} tries all three possible suffixes in the first directory in +@code{load-path}, then all three suffixes in the second directory, and +so on. @xref{Library Search}. + +If you get a warning that @file{foo.elc} is older than @file{foo.el}, it +means you should consider recompiling @file{foo.el}. @xref{Byte +Compilation}. + +When loading a source file (not compiled), @code{load} performs +character set translation just as Emacs would do when visiting the file. +@xref{Coding Systems}. + +Messages like @samp{Loading foo...} and @samp{Loading foo...done} appear +in the echo area during loading unless @var{nomessage} is +non-@code{nil}. + +@cindex load errors +Any unhandled errors while loading a file terminate loading. If the +load was done for the sake of @code{autoload}, any function definitions +made during the loading are undone. + +@kindex file-error +If @code{load} can't find the file to load, then normally it signals the +error @code{file-error} (with @samp{Cannot open load file +@var{filename}}). But if @var{missing-ok} is non-@code{nil}, then +@code{load} just returns @code{nil}. + +You can use the variable @code{load-read-function} to specify a function +for @code{load} to use instead of @code{read} for reading expressions. +See below. + +@code{load} returns @code{t} if the file loads successfully. +@end defun + +@deffn Command load-file filename +This command loads the file @var{filename}. If @var{filename} is a +relative file name, then the current default directory is assumed. +This command does not use @code{load-path}, and does not append +suffixes. However, it does look for compressed versions (if Auto +Compression Mode is enabled). Use this command if you wish to specify +precisely the file name to load. +@end deffn + +@deffn Command load-library library +This command loads the library named @var{library}. It is equivalent to +@code{load}, except in how it reads its argument interactively. +@end deffn + +@defvar load-in-progress +This variable is non-@code{nil} if Emacs is in the process of loading a +file, and it is @code{nil} otherwise. +@end defvar + +@defvar load-read-function +@anchor{Definition of load-read-function} +@c do not allow page break at anchor; work around Texinfo deficiency. +This variable specifies an alternate expression-reading function for +@code{load} and @code{eval-region} to use instead of @code{read}. +The function should accept one argument, just as @code{read} does. + +Normally, the variable's value is @code{nil}, which means those +functions should use @code{read}. + +Instead of using this variable, it is cleaner to use another, newer +feature: to pass the function as the @var{read-function} argument to +@code{eval-region}. @xref{Definition of eval-region,, Eval}. +@end defvar + + For information about how @code{load} is used in building Emacs, see +@ref{Building Emacs}. + +@node Load Suffixes +@section Load Suffixes +We now describe some technical details about the exact suffixes that +@code{load} tries. + +@defvar load-suffixes +This is a list of suffixes indicating (compiled or source) Emacs Lisp +files. It should not include the empty string. @code{load} uses +these suffixes in order when it appends Lisp suffixes to the specified +file name. The standard value is @code{(".elc" ".el")} which produces +the behavior described in the previous section. +@end defvar + +@defvar load-file-rep-suffixes +This is a list of suffixes that indicate representations of the same +file. This list should normally start with the empty string. +When @code{load} searches for a file it appends the suffixes in this +list, in order, to the file name, before searching for another file. + +Enabling Auto Compression mode appends the suffixes in +@code{jka-compr-load-suffixes} to this list and disabling Auto +Compression mode removes them again. The standard value of +@code{load-file-rep-suffixes} if Auto Compression mode is disabled is +@code{("")}. Given that the standard value of +@code{jka-compr-load-suffixes} is @code{(".gz")}, the standard value +of @code{load-file-rep-suffixes} if Auto Compression mode is enabled +is @code{("" ".gz")}. +@end defvar + +@defun get-load-suffixes +This function returns the list of all suffixes that @code{load} should +try, in order, when its @var{must-suffix} argument is non-@code{nil}. +This takes both @code{load-suffixes} and @code{load-file-rep-suffixes} +into account. If @code{load-suffixes}, @code{jka-compr-load-suffixes} +and @code{load-file-rep-suffixes} all have their standard values, this +function returns @code{(".elc" ".elc.gz" ".el" ".el.gz")} if Auto +Compression mode is enabled and @code{(".elc" ".el")} if Auto +Compression mode is disabled. +@end defun + +To summarize, @code{load} normally first tries the suffixes in the +value of @code{(get-load-suffixes)} and then those in +@code{load-file-rep-suffixes}. If @var{nosuffix} is non-@code{nil}, +it skips the former group, and if @var{must-suffix} is non-@code{nil}, +it skips the latter group. + +@node Library Search +@section Library Search +@cindex library search +@cindex find library + + When Emacs loads a Lisp library, it searches for the library +in a list of directories specified by the variable @code{load-path}. + +@defopt load-path +@cindex @code{EMACSLOADPATH} environment variable +The value of this variable is a list of directories to search when +loading files with @code{load}. Each element is a string (which must be +a directory name) or @code{nil} (which stands for the current working +directory). +@end defopt + + The value of @code{load-path} is initialized from the environment +variable @code{EMACSLOADPATH}, if that exists; otherwise its default +value is specified in @file{emacs/src/epaths.h} when Emacs is built. +Then the list is expanded by adding subdirectories of the directories +in the list. + + The syntax of @code{EMACSLOADPATH} is the same as used for @code{PATH}; +@samp{:} (or @samp{;}, according to the operating system) separates +directory names, and @samp{.} is used for the current default directory. +Here is an example of how to set your @code{EMACSLOADPATH} variable from +a @code{csh} @file{.login} file: + +@smallexample +setenv EMACSLOADPATH .:/user/bil/emacs:/usr/local/share/emacs/20.3/lisp +@end smallexample + + Here is how to set it using @code{sh}: + +@smallexample +export EMACSLOADPATH +EMACSLOADPATH=.:/user/bil/emacs:/usr/local/share/emacs/20.3/lisp +@end smallexample + + Here is an example of code you can place in your init file (@pxref{Init +File}) to add several directories to the front of your default +@code{load-path}: + +@smallexample +@group +(setq load-path + (append (list nil "/user/bil/emacs" + "/usr/local/lisplib" + "~/emacs") + load-path)) +@end group +@end smallexample + +@c Wordy to rid us of an overfull hbox. --rjc 15mar92 +@noindent +In this example, the path searches the current working directory first, +followed then by the @file{/user/bil/emacs} directory, the +@file{/usr/local/lisplib} directory, and the @file{~/emacs} directory, +which are then followed by the standard directories for Lisp code. + + Dumping Emacs uses a special value of @code{load-path}. If the value of +@code{load-path} at the end of dumping is unchanged (that is, still the +same special value), the dumped Emacs switches to the ordinary +@code{load-path} value when it starts up, as described above. But if +@code{load-path} has any other value at the end of dumping, that value +is used for execution of the dumped Emacs also. + + Therefore, if you want to change @code{load-path} temporarily for +loading a few libraries in @file{site-init.el} or @file{site-load.el}, +you should bind @code{load-path} locally with @code{let} around the +calls to @code{load}. + + The default value of @code{load-path}, when running an Emacs which has +been installed on the system, includes two special directories (and +their subdirectories as well): + +@smallexample +"/usr/local/share/emacs/@var{version}/site-lisp" +@end smallexample + +@noindent +and + +@smallexample +"/usr/local/share/emacs/site-lisp" +@end smallexample + +@noindent +The first one is for locally installed packages for a particular Emacs +version; the second is for locally installed packages meant for use with +all installed Emacs versions. + + There are several reasons why a Lisp package that works well in one +Emacs version can cause trouble in another. Sometimes packages need +updating for incompatible changes in Emacs; sometimes they depend on +undocumented internal Emacs data that can change without notice; +sometimes a newer Emacs version incorporates a version of the package, +and should be used only with that version. + + Emacs finds these directories' subdirectories and adds them to +@code{load-path} when it starts up. Both immediate subdirectories and +subdirectories multiple levels down are added to @code{load-path}. + + Not all subdirectories are included, though. Subdirectories whose +names do not start with a letter or digit are excluded. Subdirectories +named @file{RCS} or @file{CVS} are excluded. Also, a subdirectory which +contains a file named @file{.nosearch} is excluded. You can use these +methods to prevent certain subdirectories of the @file{site-lisp} +directories from being searched. + + If you run Emacs from the directory where it was built---that is, an +executable that has not been formally installed---then @code{load-path} +normally contains two additional directories. These are the @code{lisp} +and @code{site-lisp} subdirectories of the main build directory. (Both +are represented as absolute file names.) + +@deffn Command locate-library library &optional nosuffix path interactive-call +This command finds the precise file name for library @var{library}. It +searches for the library in the same way @code{load} does, and the +argument @var{nosuffix} has the same meaning as in @code{load}: don't +add suffixes @samp{.elc} or @samp{.el} to the specified name +@var{library}. + +If the @var{path} is non-@code{nil}, that list of directories is used +instead of @code{load-path}. + +When @code{locate-library} is called from a program, it returns the file +name as a string. When the user runs @code{locate-library} +interactively, the argument @var{interactive-call} is @code{t}, and this +tells @code{locate-library} to display the file name in the echo area. +@end deffn + +@node Loading Non-ASCII +@section Loading Non-@acronym{ASCII} Characters + + When Emacs Lisp programs contain string constants with non-@acronym{ASCII} +characters, these can be represented within Emacs either as unibyte +strings or as multibyte strings (@pxref{Text Representations}). Which +representation is used depends on how the file is read into Emacs. If +it is read with decoding into multibyte representation, the text of the +Lisp program will be multibyte text, and its string constants will be +multibyte strings. If a file containing Latin-1 characters (for +example) is read without decoding, the text of the program will be +unibyte text, and its string constants will be unibyte strings. +@xref{Coding Systems}. + + To make the results more predictable, Emacs always performs decoding +into the multibyte representation when loading Lisp files, even if it +was started with the @samp{--unibyte} option. This means that string +constants with non-@acronym{ASCII} characters translate into multibyte +strings. The only exception is when a particular file specifies no +decoding. + + The reason Emacs is designed this way is so that Lisp programs give +predictable results, regardless of how Emacs was started. In addition, +this enables programs that depend on using multibyte text to work even +in a unibyte Emacs. Of course, such programs should be designed to +notice whether the user prefers unibyte or multibyte text, by checking +@code{default-enable-multibyte-characters}, and convert representations +appropriately. + + In most Emacs Lisp programs, the fact that non-@acronym{ASCII} strings are +multibyte strings should not be noticeable, since inserting them in +unibyte buffers converts them to unibyte automatically. However, if +this does make a difference, you can force a particular Lisp file to be +interpreted as unibyte by writing @samp{-*-unibyte: t;-*-} in a +comment on the file's first line. With that designator, the file will +unconditionally be interpreted as unibyte, even in an ordinary +multibyte Emacs session. This can matter when making keybindings to +non-@acronym{ASCII} characters written as @code{?v@var{literal}}. + +@node Autoload +@section Autoload +@cindex autoload + + The @dfn{autoload} facility allows you to make a function or macro +known in Lisp, but put off loading the file that defines it. The first +call to the function automatically reads the proper file to install the +real definition and other associated code, then runs the real definition +as if it had been loaded all along. + + There are two ways to set up an autoloaded function: by calling +@code{autoload}, and by writing a special ``magic'' comment in the +source before the real definition. @code{autoload} is the low-level +primitive for autoloading; any Lisp program can call @code{autoload} at +any time. Magic comments are the most convenient way to make a function +autoload, for packages installed along with Emacs. These comments do +nothing on their own, but they serve as a guide for the command +@code{update-file-autoloads}, which constructs calls to @code{autoload} +and arranges to execute them when Emacs is built. + +@defun autoload function filename &optional docstring interactive type +This function defines the function (or macro) named @var{function} so as +to load automatically from @var{filename}. The string @var{filename} +specifies the file to load to get the real definition of @var{function}. + +If @var{filename} does not contain either a directory name, or the +suffix @code{.el} or @code{.elc}, then @code{autoload} insists on adding +one of these suffixes, and it will not load from a file whose name is +just @var{filename} with no added suffix. (The variable +@code{load-suffixes} specifies the exact required suffixes.) + +The argument @var{docstring} is the documentation string for the +function. Specifying the documentation string in the call to +@code{autoload} makes it possible to look at the documentation without +loading the function's real definition. Normally, this should be +identical to the documentation string in the function definition +itself. If it isn't, the function definition's documentation string +takes effect when it is loaded. + +If @var{interactive} is non-@code{nil}, that says @var{function} can be +called interactively. This lets completion in @kbd{M-x} work without +loading @var{function}'s real definition. The complete interactive +specification is not given here; it's not needed unless the user +actually calls @var{function}, and when that happens, it's time to load +the real definition. + +You can autoload macros and keymaps as well as ordinary functions. +Specify @var{type} as @code{macro} if @var{function} is really a macro. +Specify @var{type} as @code{keymap} if @var{function} is really a +keymap. Various parts of Emacs need to know this information without +loading the real definition. + +An autoloaded keymap loads automatically during key lookup when a prefix +key's binding is the symbol @var{function}. Autoloading does not occur +for other kinds of access to the keymap. In particular, it does not +happen when a Lisp program gets the keymap from the value of a variable +and calls @code{define-key}; not even if the variable name is the same +symbol @var{function}. + +@cindex function cell in autoload +If @var{function} already has a non-void function definition that is not +an autoload object, @code{autoload} does nothing and returns @code{nil}. +If the function cell of @var{function} is void, or is already an autoload +object, then it is defined as an autoload object like this: + +@example +(autoload @var{filename} @var{docstring} @var{interactive} @var{type}) +@end example + +For example, + +@example +@group +(symbol-function 'run-prolog) + @result{} (autoload "prolog" 169681 t nil) +@end group +@end example + +@noindent +In this case, @code{"prolog"} is the name of the file to load, 169681 +refers to the documentation string in the +@file{emacs/etc/DOC-@var{version}} file (@pxref{Documentation Basics}), +@code{t} means the function is interactive, and @code{nil} that it is +not a macro or a keymap. +@end defun + +@cindex autoload errors + The autoloaded file usually contains other definitions and may require +or provide one or more features. If the file is not completely loaded +(due to an error in the evaluation of its contents), any function +definitions or @code{provide} calls that occurred during the load are +undone. This is to ensure that the next attempt to call any function +autoloading from this file will try again to load the file. If not for +this, then some of the functions in the file might be defined by the +aborted load, but fail to work properly for the lack of certain +subroutines not loaded successfully because they come later in the file. + + If the autoloaded file fails to define the desired Lisp function or +macro, then an error is signaled with data @code{"Autoloading failed to +define function @var{function-name}"}. + +@findex update-file-autoloads +@findex update-directory-autoloads +@cindex magic autoload comment +@cindex autoload cookie +@anchor{autoload cookie} + A magic autoload comment (often called an @dfn{autoload cookie}) +consists of @samp{;;;###autoload}, on a line by itself, +just before the real definition of the function in its +autoloadable source file. The command @kbd{M-x update-file-autoloads} +writes a corresponding @code{autoload} call into @file{loaddefs.el}. +Building Emacs loads @file{loaddefs.el} and thus calls @code{autoload}. +@kbd{M-x update-directory-autoloads} is even more powerful; it updates +autoloads for all files in the current directory. + + The same magic comment can copy any kind of form into +@file{loaddefs.el}. If the form following the magic comment is not a +function-defining form or a @code{defcustom} form, it is copied +verbatim. ``Function-defining forms'' include @code{define-skeleton}, +@code{define-derived-mode}, @code{define-generic-mode} and +@code{define-minor-mode} as well as @code{defun} and +@code{defmacro}. To save space, a @code{defcustom} form is converted to +a @code{defvar} in @file{loaddefs.el}, with some additional information +if it uses @code{:require}. + + You can also use a magic comment to execute a form at build time +@emph{without} executing it when the file itself is loaded. To do this, +write the form @emph{on the same line} as the magic comment. Since it +is in a comment, it does nothing when you load the source file; but +@kbd{M-x update-file-autoloads} copies it to @file{loaddefs.el}, where +it is executed while building Emacs. + + The following example shows how @code{doctor} is prepared for +autoloading with a magic comment: + +@smallexample +;;;###autoload +(defun doctor () + "Switch to *doctor* buffer and start giving psychotherapy." + (interactive) + (switch-to-buffer "*doctor*") + (doctor-mode)) +@end smallexample + +@noindent +Here's what that produces in @file{loaddefs.el}: + +@smallexample +(autoload (quote doctor) "doctor" "\ +Switch to *doctor* buffer and start giving psychotherapy. + +\(fn)" t nil) +@end smallexample + +@noindent +@cindex @code{fn} in function's documentation string +The backslash and newline immediately following the double-quote are a +convention used only in the preloaded uncompiled Lisp files such as +@file{loaddefs.el}; they tell @code{make-docfile} to put the +documentation string in the @file{etc/DOC} file. @xref{Building Emacs}. +See also the commentary in @file{lib-src/make-docfile.c}. @samp{(fn)} +in the usage part of the documentation string is replaced with the +function's name when the various help functions (@pxref{Help +Functions}) display it. + + If you write a function definition with an unusual macro that is not +one of the known and recognized function definition methods, use of an +ordinary magic autoload comment would copy the whole definition into +@code{loaddefs.el}. That is not desirable. You can put the desired +@code{autoload} call into @code{loaddefs.el} instead by writing this: + +@smallexample +;;;###autoload (autoload 'foo "myfile") +(mydefunmacro foo + ...) +@end smallexample + +@node Repeated Loading +@section Repeated Loading +@cindex repeated loading + + You can load a given file more than once in an Emacs session. For +example, after you have rewritten and reinstalled a function definition +by editing it in a buffer, you may wish to return to the original +version; you can do this by reloading the file it came from. + + When you load or reload files, bear in mind that the @code{load} and +@code{load-library} functions automatically load a byte-compiled file +rather than a non-compiled file of similar name. If you rewrite a file +that you intend to save and reinstall, you need to byte-compile the new +version; otherwise Emacs will load the older, byte-compiled file instead +of your newer, non-compiled file! If that happens, the message +displayed when loading the file includes, @samp{(compiled; note, source is +newer)}, to remind you to recompile it. + + When writing the forms in a Lisp library file, keep in mind that the +file might be loaded more than once. For example, think about whether +each variable should be reinitialized when you reload the library; +@code{defvar} does not change the value if the variable is already +initialized. (@xref{Defining Variables}.) + + The simplest way to add an element to an alist is like this: + +@example +(push '(leif-mode " Leif") minor-mode-alist) +@end example + +@noindent +But this would add multiple elements if the library is reloaded. +To avoid the problem, write this: + +@example +(or (assq 'leif-mode minor-mode-alist) + (push '(leif-mode " Leif") minor-mode-alist)) +@end example + +@noindent +or this: + +@example +(add-to-list '(leif-mode " Leif") minor-mode-alist) +@end example + + Occasionally you will want to test explicitly whether a library has +already been loaded. Here's one way to test, in a library, whether it +has been loaded before: + +@example +(defvar foo-was-loaded nil) + +(unless foo-was-loaded + @var{execute-first-time-only} + (setq foo-was-loaded t)) +@end example + +@noindent +If the library uses @code{provide} to provide a named feature, you can +use @code{featurep} earlier in the file to test whether the +@code{provide} call has been executed before. +@ifnottex +@xref{Named Features}. +@end ifnottex + +@node Named Features +@section Features +@cindex features +@cindex requiring features +@cindex providing features + + @code{provide} and @code{require} are an alternative to +@code{autoload} for loading files automatically. They work in terms of +named @dfn{features}. Autoloading is triggered by calling a specific +function, but a feature is loaded the first time another program asks +for it by name. + + A feature name is a symbol that stands for a collection of functions, +variables, etc. The file that defines them should @dfn{provide} the +feature. Another program that uses them may ensure they are defined by +@dfn{requiring} the feature. This loads the file of definitions if it +hasn't been loaded already. + + To require the presence of a feature, call @code{require} with the +feature name as argument. @code{require} looks in the global variable +@code{features} to see whether the desired feature has been provided +already. If not, it loads the feature from the appropriate file. This +file should call @code{provide} at the top level to add the feature to +@code{features}; if it fails to do so, @code{require} signals an error. +@cindex load error with require + + For example, in @file{emacs/lisp/prolog.el}, +the definition for @code{run-prolog} includes the following code: + +@smallexample +(defun run-prolog () + "Run an inferior Prolog process, with I/O via buffer *prolog*." + (interactive) + (require 'comint) + (switch-to-buffer (make-comint "prolog" prolog-program-name)) + (inferior-prolog-mode)) +@end smallexample + +@noindent +The expression @code{(require 'comint)} loads the file @file{comint.el} +if it has not yet been loaded. This ensures that @code{make-comint} is +defined. Features are normally named after the files that provide them, +so that @code{require} need not be given the file name. + +The @file{comint.el} file contains the following top-level expression: + +@smallexample +(provide 'comint) +@end smallexample + +@noindent +This adds @code{comint} to the global @code{features} list, so that +@code{(require 'comint)} will henceforth know that nothing needs to be +done. + +@cindex byte-compiling @code{require} + When @code{require} is used at top level in a file, it takes effect +when you byte-compile that file (@pxref{Byte Compilation}) as well as +when you load it. This is in case the required package contains macros +that the byte compiler must know about. It also avoids byte-compiler +warnings for functions and variables defined in the file loaded with +@code{require}. + + Although top-level calls to @code{require} are evaluated during +byte compilation, @code{provide} calls are not. Therefore, you can +ensure that a file of definitions is loaded before it is byte-compiled +by including a @code{provide} followed by a @code{require} for the same +feature, as in the following example. + +@smallexample +@group +(provide 'my-feature) ; @r{Ignored by byte compiler,} + ; @r{evaluated by @code{load}.} +(require 'my-feature) ; @r{Evaluated by byte compiler.} +@end group +@end smallexample + +@noindent +The compiler ignores the @code{provide}, then processes the +@code{require} by loading the file in question. Loading the file does +execute the @code{provide} call, so the subsequent @code{require} call +does nothing when the file is loaded. + +@defun provide feature &optional subfeatures +This function announces that @var{feature} is now loaded, or being +loaded, into the current Emacs session. This means that the facilities +associated with @var{feature} are or will be available for other Lisp +programs. + +The direct effect of calling @code{provide} is to add @var{feature} to +the front of the list @code{features} if it is not already in the list. +The argument @var{feature} must be a symbol. @code{provide} returns +@var{feature}. + +If provided, @var{subfeatures} should be a list of symbols indicating +a set of specific subfeatures provided by this version of +@var{feature}. You can test the presence of a subfeature using +@code{featurep}. The idea of subfeatures is that you use them when a +package (which is one @var{feature}) is complex enough to make it +useful to give names to various parts or functionalities of the +package, which might or might not be loaded, or might or might not be +present in a given version. @xref{Network Feature Testing}, for +an example. + +@smallexample +features + @result{} (bar bish) + +(provide 'foo) + @result{} foo +features + @result{} (foo bar bish) +@end smallexample + +When a file is loaded to satisfy an autoload, and it stops due to an +error in the evaluation of its contents, any function definitions or +@code{provide} calls that occurred during the load are undone. +@xref{Autoload}. +@end defun + +@defun require feature &optional filename noerror +This function checks whether @var{feature} is present in the current +Emacs session (using @code{(featurep @var{feature})}; see below). The +argument @var{feature} must be a symbol. + +If the feature is not present, then @code{require} loads @var{filename} +with @code{load}. If @var{filename} is not supplied, then the name of +the symbol @var{feature} is used as the base file name to load. +However, in this case, @code{require} insists on finding @var{feature} +with an added @samp{.el} or @samp{.elc} suffix (possibly extended with +a compression suffix); a file whose name is just @var{feature} won't +be used. (The variable @code{load-suffixes} specifies the exact +required Lisp suffixes.) + +If @var{noerror} is non-@code{nil}, that suppresses errors from actual +loading of the file. In that case, @code{require} returns @code{nil} +if loading the file fails. Normally, @code{require} returns +@var{feature}. + +If loading the file succeeds but does not provide @var{feature}, +@code{require} signals an error, @samp{Required feature @var{feature} +was not provided}. +@end defun + +@defun featurep feature &optional subfeature +This function returns @code{t} if @var{feature} has been provided in +the current Emacs session (i.e.@:, if @var{feature} is a member of +@code{features}.) If @var{subfeature} is non-@code{nil}, then the +function returns @code{t} only if that subfeature is provided as well +(i.e.@: if @var{subfeature} is a member of the @code{subfeature} +property of the @var{feature} symbol.) +@end defun + +@defvar features +The value of this variable is a list of symbols that are the features +loaded in the current Emacs session. Each symbol was put in this list +with a call to @code{provide}. The order of the elements in the +@code{features} list is not significant. +@end defvar + +@node Where Defined +@section Which File Defined a Certain Symbol + +@defun symbol-file symbol &optional type +This function returns the name of the file that defined @var{symbol}. +If @var{type} is @code{nil}, then any kind of definition is +acceptable. If @var{type} is @code{defun} or @code{defvar}, that +specifies function definition only or variable definition only. + +The value is normally an absolute file name. It can also be +@code{nil}, if the definition is not associated with any file. +@end defun + + The basis for @code{symbol-file} is the data in the variable +@code{load-history}. + +@defvar load-history +This variable's value is an alist connecting library file names with the +names of functions and variables they define, the features they provide, +and the features they require. + +Each element is a list and describes one library. The @sc{car} of the +list is the absolute file name of the library, as a string. The rest +of the list elements have these forms: + +@table @code +@item @var{var} +The symbol @var{var} was defined as a variable. +@item (defun . @var{fun}) +The function @var{fun} was defined. +@item (t . @var{fun}) +The function @var{fun} was previously an autoload before this library +redefined it as a function. The following element is always +@code{(defun . @var{fun})}, which represents defining @var{fun} as a +function. +@item (autoload . @var{fun}) +The function @var{fun} was defined as an autoload. +@item (require . @var{feature}) +The feature @var{feature} was required. +@item (provide . @var{feature}) +The feature @var{feature} was provided. +@end table + +The value of @code{load-history} may have one element whose @sc{car} is +@code{nil}. This element describes definitions made with +@code{eval-buffer} on a buffer that is not visiting a file. +@end defvar + + The command @code{eval-region} updates @code{load-history}, but does so +by adding the symbols defined to the element for the file being visited, +rather than replacing that element. @xref{Eval}. + +@node Unloading +@section Unloading +@cindex unloading packages + +@c Emacs 19 feature + You can discard the functions and variables loaded by a library to +reclaim memory for other Lisp objects. To do this, use the function +@code{unload-feature}: + +@deffn Command unload-feature feature &optional force +This command unloads the library that provided feature @var{feature}. +It undefines all functions, macros, and variables defined in that +library with @code{defun}, @code{defalias}, @code{defsubst}, +@code{defmacro}, @code{defconst}, @code{defvar}, and @code{defcustom}. +It then restores any autoloads formerly associated with those symbols. +(Loading saves these in the @code{autoload} property of the symbol.) + - @vindex unload-feature-special-hooks +Before restoring the previous definitions, @code{unload-feature} runs +@code{remove-hook} to remove functions in the library from certain +hooks. These hooks include variables whose names end in @samp{hook} +or @samp{-hooks}, plus those listed in - @code{unload-feature-special-hooks}. This is to prevent Emacs from - ceasing to function because important hooks refer to functions that - are no longer defined. ++@code{unload-feature-special-hooks}, as well as ++@code{auto-mode-alist}. This is to prevent Emacs from ceasing to ++function because important hooks refer to functions that are no longer ++defined. + - @vindex @var{feature}-unload-hook ++Standard unloading activities also undoes ELP profiling of functions ++in that library, unprovides any features provided by the library, and ++cancels timers held in variables defined by the library. ++ ++@vindex @var{feature}-unload-function +If these measures are not sufficient to prevent malfunction, a library - can define an explicit unload hook. If @code{@var{feature}-unload-hook} - is defined, it is run as a normal hook before restoring the previous - definitions, @emph{instead of} the usual hook-removing actions. The - unload hook ought to undo all the global state changes made by the - library that might cease to work once the library is unloaded. - @code{unload-feature} can cause problems with libraries that fail to do - this, so it should be used with caution. ++can define an explicit unloader named @code{@var{feature}-unload-function}. ++If that symbol is defined as a function, @code{unload-feature} calls ++it with no arguments before doing anything else. It can do whatever ++is appropriate to unload the library. If it returns @code{nil}, ++@code{unload-feature} proceeds to take the normal unload actions. ++Otherwise it considers the job to be done. + +Ordinarily, @code{unload-feature} refuses to unload a library on which +other loaded libraries depend. (A library @var{a} depends on library +@var{b} if @var{a} contains a @code{require} for @var{b}.) If the +optional argument @var{force} is non-@code{nil}, dependencies are +ignored and you can unload any library. +@end deffn + + The @code{unload-feature} function is written in Lisp; its actions are +based on the variable @code{load-history}. + +@defvar unload-feature-special-hooks +This variable holds a list of hooks to be scanned before unloading a +library, to remove functions defined in the library. +@end defvar + +@node Hooks for Loading +@section Hooks for Loading +@cindex loading hooks +@cindex hooks for loading + +You can ask for code to be executed if and when a particular library is +loaded, by calling @code{eval-after-load}. + +@defun eval-after-load library form +This function arranges to evaluate @var{form} at the end of loading +the file @var{library}, each time @var{library} is loaded. If +@var{library} is already loaded, it evaluates @var{form} right away. +Don't forget to quote @var{form}! + +You don't need to give a directory or extension in the file name +@var{library}---normally you just give a bare file name, like this: + +@example +(eval-after-load "edebug" '(def-edebug-spec c-point t)) +@end example + +To restrict which files can trigger the evaluation, include a +directory or an extension or both in @var{library}. Only a file whose +absolute true name (i.e., the name with all symbolic links chased out) +matches all the given name components will match. In the following +example, @file{my_inst.elc} or @file{my_inst.elc.gz} in some directory +@code{..../foo/bar} will trigger the evaluation, but not +@file{my_inst.el}: + +@example +(eval-after-load "foo/bar/my_inst.elc" @dots{}) +@end example + +@var{library} can also be a feature (i.e.@: a symbol), in which case +@var{form} is evaluated when @code{(provide @var{library})} is called. + +An error in @var{form} does not undo the load, but does prevent +execution of the rest of @var{form}. +@end defun + +In general, well-designed Lisp programs should not use this feature. +The clean and modular ways to interact with a Lisp library are (1) +examine and set the library's variables (those which are meant for +outside use), and (2) call the library's functions. If you wish to +do (1), you can do it immediately---there is no need to wait for when +the library is loaded. To do (2), you must load the library (preferably +with @code{require}). + +But it is OK to use @code{eval-after-load} in your personal +customizations if you don't feel they must meet the design standards for +programs meant for wider use. + +@defvar after-load-alist +This variable, an alist built by @code{eval-after-load}, holds the +expressions to evaluate when particular libraries are loaded. Each +element looks like this: + +@example +(@var{regexp-or-feature} @var{forms}@dots{}) +@end example + +The key @var{regexp-or-feature} is either a regular expression or a +symbol, and the value is a list of forms. The forms are evaluated when +the key matches the absolute true name of the file being +@code{load}ed or the symbol being @code{provide}d. +@end defvar + +@ignore + arch-tag: df731f89-0900-4389-a436-9105241b6f7a +@end ignore diff --cc doc/lispref/os.texi index 68fba8d9774,00000000000..bff759215da mode 100644,000000..100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi @@@ -1,2004 -1,0 +1,2007 @@@ +@c -*-texinfo-*- +@c This is part of the GNU Emacs Lisp Reference Manual. +@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001, +@c 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. +@c See the file elisp.texi for copying conditions. +@setfilename ../../info/os +@node System Interface, Antinews, Display, Top +@chapter Operating System Interface + + This chapter is about starting and getting out of Emacs, access to +values in the operating system environment, and terminal input, output, +and flow control. + + @xref{Building Emacs}, for related information. See also +@ref{Display}, for additional operating system status information +pertaining to the terminal and the screen. + +@menu +* Starting Up:: Customizing Emacs startup processing. +* Getting Out:: How exiting works (permanent or temporary). +* System Environment:: Distinguish the name and kind of system. +* User Identification:: Finding the name and user id of the user. +* Time of Day:: Getting the current time. +* Time Conversion:: Converting a time from numeric form + to calendrical data, and vice versa). +* Time Parsing:: Converting a time from numeric form to text + and vice versa. +* Processor Run Time:: Getting the run time used by Emacs. +* Time Calculations:: Adding, subtracting, comparing times, etc. +* Timers:: Setting a timer to call a function at a certain time. +* Idle Timers:: Setting a timer to call a function when Emacs has + been idle for a certain length of time. +* Terminal Input:: Accessing and recording terminal input. +* Terminal Output:: Controlling and recording terminal output. +* Sound Output:: Playing sounds on the computer's speaker. +* X11 Keysyms:: Operating on key symbols for X Windows +* Batch Mode:: Running Emacs without terminal interaction. +* Session Management:: Saving and restoring state with X Session Management. +@end menu + +@node Starting Up +@section Starting Up Emacs + + This section describes what Emacs does when it is started, and how you +can customize these actions. + +@menu +* Startup Summary:: Sequence of actions Emacs performs at startup. +* Init File:: Details on reading the init file (@file{.emacs}). +* Terminal-Specific:: How the terminal-specific Lisp file is read. +* Command-Line Arguments:: How command-line arguments are processed, + and how you can customize them. +@end menu + +@node Startup Summary +@subsection Summary: Sequence of Actions at Startup +@cindex initialization of Emacs +@cindex startup of Emacs +@cindex @file{startup.el} + + The order of operations performed (in @file{startup.el}) by Emacs when +it is started up is as follows: + +@enumerate +@item +It adds subdirectories to @code{load-path}, by running the file named +@file{subdirs.el} in each directory in the list. Normally this file +adds the directory's subdirectories to the list, and these will be +scanned in their turn. The files @file{subdirs.el} are normally +generated automatically by Emacs installation. + +@item +It sets the language environment and the terminal coding system, +if requested by environment variables such as @code{LANG}. + +@item +It loads the initialization library for the window system, if you are +using a window system. This library's name is +@file{term/@var{windowsystem}-win.el}. + +@item +It processes the initial options. (Some of them are handled +even earlier than this.) + +@item +It initializes the window frame and faces, if appropriate. + +@item +It runs the normal hook @code{before-init-hook}. + +@item +It loads the library @file{site-start} (if any), unless the option +@samp{-Q} (or @samp{--no-site-file}) was specified. The library's file +name is usually @file{site-start.el}. +@cindex @file{site-start.el} + +@item +It loads your init file (usually @file{~/.emacs}), unless the option +@samp{-q} (or @samp{--no-init-file}), @samp{-Q}, or @samp{--batch} was +specified on the command line. The @samp{-u} option can specify +another user whose home directory should be used instead of @file{~}. + +@item +It loads the library @file{default} (if any), unless +@code{inhibit-default-init} is non-@code{nil}. (This is not done in +@samp{-batch} mode, or if @samp{-Q} or @samp{-q} was specified on the +command line.) The library's file name is usually @file{default.el}. +@cindex @file{default.el} + +@item +It runs the normal hook @code{after-init-hook}. + +@item +It sets the major mode according to @code{initial-major-mode}, provided +the buffer @samp{*scratch*} is still current and still in Fundamental +mode. + +@item +It loads the terminal-specific Lisp file, if any, except when in batch +mode or using a window system. + +@item +It displays the initial echo area message, unless you have suppressed +that with @code{inhibit-startup-echo-area-message}. + +@item +It processes the action arguments from the command line. + +@item +It runs @code{emacs-startup-hook} and then @code{term-setup-hook}. + +@item +It calls @code{frame-notice-user-settings}, which modifies the +parameters of the selected frame according to whatever the init files +specify. + +@item +It runs @code{window-setup-hook}. @xref{Window Systems}. + +@item +It displays copyleft, nonwarranty, and basic use information, provided +the value of @code{inhibit-startup-message} is @code{nil}, you didn't +specify @samp{--no-splash} or @samp{-Q}. +@end enumerate + +@defopt inhibit-startup-message +This variable inhibits the initial startup messages (the nonwarranty, +etc.). If it is non-@code{nil}, then the messages are not printed. + +This variable exists so you can set it in your personal init file, once +you are familiar with the contents of the startup message. Do not set +this variable in the init file of a new user, or in a way that affects +more than one user, because that would prevent new users from receiving +the information they are supposed to see. +@end defopt + +@defopt inhibit-startup-echo-area-message +This variable controls the display of the startup echo area message. +You can suppress the startup echo area message by adding text with this +form to your init file: + +@example +(setq inhibit-startup-echo-area-message + "@var{your-login-name}") +@end example + +Emacs explicitly checks for an expression as shown above in your init +file; your login name must appear in the expression as a Lisp string +constant. Other methods of setting +@code{inhibit-startup-echo-area-message} to the same value do not +inhibit the startup message. + +This way, you can easily inhibit the message for yourself if you wish, +but thoughtless copying of your init file will not inhibit the message +for someone else. +@end defopt + +@node Init File +@subsection The Init File, @file{.emacs} +@cindex init file +@cindex @file{.emacs} + + When you start Emacs, it normally attempts to load your @dfn{init +file}, a file in your home directory. Its normal name is +@file{.emacs}, but you can also call it @file{.emacs.el}. +Alternatively, you can use a file named @file{init.el} in a +subdirectory @file{.emacs.d}. Whichever place you use, you can also +compile the file (@pxref{Byte Compilation}); then the actual file +loaded will be @file{.emacs.elc} or @file{init.elc}. + + The command-line switches @samp{-q}, @samp{-Q}, and @samp{-u} +control whether and where to find the init file; @samp{-q} (and the +stronger @samp{-Q}) says not to load an init file, while @samp{-u +@var{user}} says to load @var{user}'s init file instead of yours. +@xref{Entering Emacs,,, emacs, The GNU Emacs Manual}. If neither +option is specified, Emacs uses the @code{LOGNAME} environment +variable, or the @code{USER} (most systems) or @code{USERNAME} (MS +systems) variable, to find your home directory and thus your init +file; this way, even if you have su'd, Emacs still loads your own init +file. If those environment variables are absent, though, Emacs uses +your user-id to find your home directory. + +@cindex default init file + A site may have a @dfn{default init file}, which is the library +named @file{default.el}. Emacs finds the @file{default.el} file +through the standard search path for libraries (@pxref{How Programs Do +Loading}). The Emacs distribution does not come with this file; sites +may provide one for local customizations. If the default init file +exists, it is loaded whenever you start Emacs, except in batch mode or +if @samp{-q} (or @samp{-Q}) is specified. But your own personal init +file, if any, is loaded first; if it sets @code{inhibit-default-init} +to a non-@code{nil} value, then Emacs does not subsequently load the +@file{default.el} file. + + Another file for site-customization is @file{site-start.el}. Emacs +loads this @emph{before} the user's init file. You can inhibit the +loading of this file with the option @samp{--no-site-file}. + +@defvar site-run-file +This variable specifies the site-customization file to load before the +user's init file. Its normal value is @code{"site-start"}. The only +way you can change it with real effect is to do so before dumping +Emacs. +@end defvar + + @xref{Init Examples,, Init File Examples, emacs, The GNU Emacs Manual}, for +examples of how to make various commonly desired customizations in your +@file{.emacs} file. + +@defopt inhibit-default-init +This variable prevents Emacs from loading the default initialization +library file for your session of Emacs. If its value is non-@code{nil}, +then the default library is not loaded. The default value is +@code{nil}. +@end defopt + +@defvar before-init-hook +This normal hook is run, once, just before loading all the init files +(the user's init file, @file{default.el}, and/or @file{site-start.el}). +(The only way to change it with real effect is before dumping Emacs.) +@end defvar + +@defvar after-init-hook +This normal hook is run, once, just after loading all the init files +(the user's init file, @file{default.el}, and/or @file{site-start.el}), +before loading the terminal-specific library and processing the +command-line action arguments. +@end defvar + +@defvar emacs-startup-hook +This normal hook is run, once, just after handling the command line +arguments, just before @code{term-setup-hook}. +@end defvar + +@defvar user-init-file +This variable holds the absolute file name of the user's init file. If the +actual init file loaded is a compiled file, such as @file{.emacs.elc}, +the value refers to the corresponding source file. +@end defvar + +@defvar user-emacs-directory +This variable holds the name of the @file{.emacs.d} directory. It is +ordinarily @file{~/.emacs.d}, but differs on some platforms. +@end defvar + +@node Terminal-Specific +@subsection Terminal-Specific Initialization +@cindex terminal-specific initialization + + Each terminal type can have its own Lisp library that Emacs loads when +run on that type of terminal. The library's name is constructed by +concatenating the value of the variable @code{term-file-prefix} and the +terminal type (specified by the environment variable @code{TERM}). +Normally, @code{term-file-prefix} has the value +@code{"term/"}; changing this is not recommended. Emacs finds the file +in the normal manner, by searching the @code{load-path} directories, and +trying the @samp{.elc} and @samp{.el} suffixes. + +@cindex Termcap + The usual function of a terminal-specific library is to enable +special keys to send sequences that Emacs can recognize. It may also +need to set or add to @code{input-decode-map} if the Termcap or +Terminfo entry does not specify all the terminal's function keys. +@xref{Terminal Input}. + + When the name of the terminal type contains a hyphen, and no library +is found whose name is identical to the terminal's name, Emacs strips +from the terminal's name the last hyphen and everything that follows +it, and tries again. This process is repeated until Emacs finds a +matching library or until there are no more hyphens in the name (the +latter means the terminal doesn't have any library specific to it). +Thus, for example, if there are no @samp{aaa-48} and @samp{aaa-30} +libraries, Emacs will try the same library @file{term/aaa.el} for +terminal types @samp{aaa-48} and @samp{aaa-30-rv}. If necessary, the +library can evaluate @code{(getenv "TERM")} to find the full name of +the terminal type.@refill + + Your init file can prevent the loading of the +terminal-specific library by setting the variable +@code{term-file-prefix} to @code{nil}. This feature is useful when +experimenting with your own peculiar customizations. + + You can also arrange to override some of the actions of the +terminal-specific library by setting the variable +@code{term-setup-hook}. This is a normal hook which Emacs runs using +@code{run-hooks} at the end of Emacs initialization, after loading both +your init file and any terminal-specific libraries. You can +use this variable to define initializations for terminals that do not +have their own libraries. @xref{Hooks}. + +@defvar term-file-prefix +@cindex @code{TERM} environment variable +If the @code{term-file-prefix} variable is non-@code{nil}, Emacs loads +a terminal-specific initialization file as follows: + +@example +(load (concat term-file-prefix (getenv "TERM"))) +@end example + +@noindent +You may set the @code{term-file-prefix} variable to @code{nil} in your +init file if you do not wish to load the +terminal-initialization file. To do this, put the following in +your init file: @code{(setq term-file-prefix nil)}. + +On MS-DOS, if the environment variable @code{TERM} is not set, Emacs +uses @samp{internal} as the terminal type. +@end defvar + +@defvar term-setup-hook +This variable is a normal hook that Emacs runs after loading your +init file, the default initialization file (if any) and the +terminal-specific Lisp file. + +You can use @code{term-setup-hook} to override the definitions made by a +terminal-specific file. +@end defvar + + See @code{window-setup-hook} in @ref{Window Systems}, for a related +feature. + +@node Command-Line Arguments +@subsection Command-Line Arguments +@cindex command-line arguments + + You can use command-line arguments to request various actions when you +start Emacs. Since you do not need to start Emacs more than once per +day, and will often leave your Emacs session running longer than that, +command-line arguments are hardly ever used. As a practical matter, it +is best to avoid making the habit of using them, since this habit would +encourage you to kill and restart Emacs unnecessarily often. These +options exist for two reasons: to be compatible with other editors (for +invocation by other programs) and to enable shell scripts to run +specific Lisp programs. + + This section describes how Emacs processes command-line arguments, +and how you can customize them. + +@ignore + (Note that some other editors require you to start afresh each time +you want to edit a file. With this kind of editor, you will probably +specify the file as a command-line argument. The recommended way to +use GNU Emacs is to start it only once, just after you log in, and do +all your editing in the same Emacs process. Each time you want to edit +a different file, you visit it with the existing Emacs, which eventually +comes to have many files in it ready for editing. Usually you do not +kill the Emacs until you are about to log out.) +@end ignore + +@defun command-line +This function parses the command line that Emacs was called with, +processes it, loads the user's init file and displays the +startup messages. +@end defun + +@defvar command-line-processed +The value of this variable is @code{t} once the command line has been +processed. + +If you redump Emacs by calling @code{dump-emacs}, you may wish to set +this variable to @code{nil} first in order to cause the new dumped Emacs +to process its new command-line arguments. +@end defvar + +@defvar command-switch-alist +@cindex switches on command line +@cindex options on command line +@cindex command-line options +The value of this variable is an alist of user-defined command-line +options and associated handler functions. This variable exists so you +can add elements to it. + +A @dfn{command-line option} is an argument on the command line, which +has the form: + +@example +-@var{option} +@end example + +The elements of the @code{command-switch-alist} look like this: + +@example +(@var{option} . @var{handler-function}) +@end example + +The @sc{car}, @var{option}, is a string, the name of a command-line +option (not including the initial hyphen). The @var{handler-function} +is called to handle @var{option}, and receives the option name as its +sole argument. + +In some cases, the option is followed in the command line by an +argument. In these cases, the @var{handler-function} can find all the +remaining command-line arguments in the variable +@code{command-line-args-left}. (The entire list of command-line +arguments is in @code{command-line-args}.) + +The command-line arguments are parsed by the @code{command-line-1} +function in the @file{startup.el} file. See also @ref{Emacs +Invocation, , Command Line Arguments for Emacs Invocation, emacs, The +GNU Emacs Manual}. +@end defvar + +@defvar command-line-args +The value of this variable is the list of command-line arguments passed +to Emacs. +@end defvar + +@defvar command-line-functions +This variable's value is a list of functions for handling an +unrecognized command-line argument. Each time the next argument to be +processed has no special meaning, the functions in this list are called, +in order of appearance, until one of them returns a non-@code{nil} +value. + +These functions are called with no arguments. They can access the +command-line argument under consideration through the variable +@code{argi}, which is bound temporarily at this point. The remaining +arguments (not including the current one) are in the variable +@code{command-line-args-left}. + +When a function recognizes and processes the argument in @code{argi}, it +should return a non-@code{nil} value to say it has dealt with that +argument. If it has also dealt with some of the following arguments, it +can indicate that by deleting them from @code{command-line-args-left}. + +If all of these functions return @code{nil}, then the argument is used +as a file name to visit. +@end defvar + +@node Getting Out +@section Getting Out of Emacs +@cindex exiting Emacs + + There are two ways to get out of Emacs: you can kill the Emacs job, +which exits permanently, or you can suspend it, which permits you to +reenter the Emacs process later. As a practical matter, you seldom kill +Emacs---only when you are about to log out. Suspending is much more +common. + +@menu +* Killing Emacs:: Exiting Emacs irreversibly. +* Suspending Emacs:: Exiting Emacs reversibly. +@end menu + +@node Killing Emacs +@comment node-name, next, previous, up +@subsection Killing Emacs +@cindex killing Emacs + + Killing Emacs means ending the execution of the Emacs process. The +parent process normally resumes control. The low-level primitive for +killing Emacs is @code{kill-emacs}. + +@defun kill-emacs &optional exit-data +This function exits the Emacs process and kills it. + +If @var{exit-data} is an integer, then it is used as the exit status +of the Emacs process. (This is useful primarily in batch operation; see +@ref{Batch Mode}.) + +If @var{exit-data} is a string, its contents are stuffed into the +terminal input buffer so that the shell (or whatever program next reads +input) can read them. +@end defun + + All the information in the Emacs process, aside from files that have +been saved, is lost when the Emacs process is killed. Because killing +Emacs inadvertently can lose a lot of work, Emacs queries for +confirmation before actually terminating if you have buffers that need +saving or subprocesses that are running. This is done in the function +@code{save-buffers-kill-emacs}, the higher level function from which +@code{kill-emacs} is usually called. + +@defvar kill-emacs-query-functions +After asking the standard questions, @code{save-buffers-kill-emacs} +calls the functions in the list @code{kill-emacs-query-functions}, in +order of appearance, with no arguments. These functions can ask for +additional confirmation from the user. If any of them returns +@code{nil}, @code{save-buffers-kill-emacs} does not kill Emacs, and +does not run the remaining functions in this hook. Calling +@code{kill-emacs} directly does not run this hook. +@end defvar + +@defvar kill-emacs-hook +This variable is a normal hook; once @code{save-buffers-kill-emacs} is +finished with all file saving and confirmation, it calls +@code{kill-emacs} which runs the functions in this hook. +@code{kill-emacs} does not run this hook in batch mode. + +@code{kill-emacs} may be invoked directly (that is not via +@code{save-buffers-kill-emacs}) if the terminal is disconnected, or in +similar situations where interaction with the user is not possible. +Thus, if your hook needs to interact with the user, put it on +@code{kill-emacs-query-functions}; if it needs to run regardless of +how Emacs is killed, put it on @code{kill-emacs-hook}. +@end defvar + +@node Suspending Emacs +@subsection Suspending Emacs +@cindex suspending Emacs + + @dfn{Suspending Emacs} means stopping Emacs temporarily and returning +control to its superior process, which is usually the shell. This +allows you to resume editing later in the same Emacs process, with the +same buffers, the same kill ring, the same undo history, and so on. To +resume Emacs, use the appropriate command in the parent shell---most +likely @code{fg}. + + Some operating systems do not support suspension of jobs; on these +systems, ``suspension'' actually creates a new shell temporarily as a +subprocess of Emacs. Then you would exit the shell to return to Emacs. + + Suspension is not useful with window systems, because the Emacs job +may not have a parent that can resume it again, and in any case you can +give input to some other job such as a shell merely by moving to a +different window. Therefore, suspending is not allowed when Emacs is using +a window system (X, MS Windows, or Mac). + +@defun suspend-emacs &optional string +This function stops Emacs and returns control to the superior process. +If and when the superior process resumes Emacs, @code{suspend-emacs} +returns @code{nil} to its caller in Lisp. + +If @var{string} is non-@code{nil}, its characters are sent to be read +as terminal input by Emacs's superior shell. The characters in +@var{string} are not echoed by the superior shell; only the results +appear. + +Before suspending, @code{suspend-emacs} runs the normal hook +@code{suspend-hook}. + +After the user resumes Emacs, @code{suspend-emacs} runs the normal hook +@code{suspend-resume-hook}. @xref{Hooks}. + +The next redisplay after resumption will redraw the entire screen, +unless the variable @code{no-redraw-on-reenter} is non-@code{nil} +(@pxref{Refresh Screen}). + +In the following example, note that @samp{pwd} is not echoed after +Emacs is suspended. But it is read and executed by the shell. + +@smallexample +@group +(suspend-emacs) + @result{} nil +@end group + +@group +(add-hook 'suspend-hook + (function (lambda () + (or (y-or-n-p + "Really suspend? ") + (error "Suspend canceled"))))) + @result{} (lambda nil + (or (y-or-n-p "Really suspend? ") + (error "Suspend canceled"))) +@end group +@group +(add-hook 'suspend-resume-hook + (function (lambda () (message "Resumed!")))) + @result{} (lambda nil (message "Resumed!")) +@end group +@group +(suspend-emacs "pwd") + @result{} nil +@end group +@group +---------- Buffer: Minibuffer ---------- +Really suspend? @kbd{y} +---------- Buffer: Minibuffer ---------- +@end group + +@group +---------- Parent Shell ---------- +lewis@@slug[23] % /user/lewis/manual +lewis@@slug[24] % fg +@end group + +@group +---------- Echo Area ---------- +Resumed! +@end group +@end smallexample +@end defun + +@defvar suspend-hook +This variable is a normal hook that Emacs runs before suspending. +@end defvar + +@defvar suspend-resume-hook +This variable is a normal hook that Emacs runs on resuming +after a suspension. +@end defvar + +@node System Environment +@section Operating System Environment +@cindex operating system environment + + Emacs provides access to variables in the operating system environment +through various functions. These variables include the name of the +system, the user's @acronym{UID}, and so on. + +@defvar system-configuration +This variable holds the standard GNU configuration name for the +hardware/software configuration of your system, as a string. The +convenient way to test parts of this string is with +@code{string-match}. +@end defvar + +@cindex system type and name +@defvar system-type +The value of this variable is a symbol indicating the type of operating +system Emacs is operating on. Here is a table of the possible values: + +@table @code +@item alpha-vms +VMS on the Alpha. + +@item aix-v3 +AIX. + +@item berkeley-unix +Berkeley BSD. + +@item cygwin +Cygwin. + +@item dgux +Data General DGUX operating system. + +@item gnu +the GNU system (using the GNU kernel, which consists of the HURD and Mach). + +@item gnu/linux +A GNU/Linux system---that is, a variant GNU system, using the Linux +kernel. (These systems are the ones people often call ``Linux,'' but +actually Linux is just the kernel, not the whole system.) + +@item hpux +Hewlett-Packard HPUX operating system. + +@item irix +Silicon Graphics Irix system. + +@item ms-dos +Microsoft MS-DOS ``operating system.'' Emacs compiled with DJGPP for +MS-DOS binds @code{system-type} to @code{ms-dos} even when you run it on +MS-Windows. + +@item next-mach +NeXT Mach-based system. + +@item rtu +Masscomp RTU, UCB universe. + +@item unisoft-unix +UniSoft UniPlus. + +@item usg-unix-v +AT&T System V. + +@item vax-vms +VAX VMS. + +@item windows-nt +Microsoft windows NT. The same executable supports Windows 9X, but the +value of @code{system-type} is @code{windows-nt} in either case. + +@item xenix +SCO Xenix 386. +@end table + +We do not wish to add new symbols to make finer distinctions unless it +is absolutely necessary! In fact, we hope to eliminate some of these +alternatives in the future. We recommend using +@code{system-configuration} to distinguish between different operating +systems. +@end defvar + +@defun system-name +This function returns the name of the machine you are running on. +@example +(system-name) + @result{} "www.gnu.org" +@end example +@end defun + + The symbol @code{system-name} is a variable as well as a function. In +fact, the function returns whatever value the variable +@code{system-name} currently holds. Thus, you can set the variable +@code{system-name} in case Emacs is confused about the name of your +system. The variable is also useful for constructing frame titles +(@pxref{Frame Titles}). + +@defvar mail-host-address +If this variable is non-@code{nil}, it is used instead of +@code{system-name} for purposes of generating email addresses. For +example, it is used when constructing the default value of +@code{user-mail-address}. @xref{User Identification}. (Since this is +done when Emacs starts up, the value actually used is the one saved when +Emacs was dumped. @xref{Building Emacs}.) +@end defvar + +@deffn Command getenv var +@cindex environment variable access +This function returns the value of the environment variable @var{var}, +as a string. @var{var} should be a string. If @var{var} is undefined +in the environment, @code{getenv} returns @code{nil}. If returns +@samp{""} if @var{var} is set but null. Within Emacs, the environment +variable values are kept in the Lisp variable @code{process-environment}. + +@example +@group +(getenv "USER") + @result{} "lewis" +@end group + +@group +lewis@@slug[10] % printenv +PATH=.:/user/lewis/bin:/usr/bin:/usr/local/bin +USER=lewis +@end group +@group +TERM=ibmapa16 +SHELL=/bin/csh +HOME=/user/lewis +@end group +@end example +@end deffn + +@c Emacs 19 feature +@deffn Command setenv variable &optional value +This command sets the value of the environment variable named +@var{variable} to @var{value}. @var{variable} should be a string. +Internally, Emacs Lisp can handle any string. However, normally +@var{variable} should be a valid shell identifier, that is, a sequence +of letters, digits and underscores, starting with a letter or +underscore. Otherwise, errors may occur if subprocesses of Emacs try +to access the value of @var{variable}. If @var{value} is omitted or +@code{nil}, @code{setenv} removes @var{variable} from the environment. +Otherwise, @var{value} should be a string. + +@code{setenv} works by modifying @code{process-environment}; binding +that variable with @code{let} is also reasonable practice. + +@code{setenv} returns the new value of @var{variable}, or @code{nil} +if it removed @var{variable} from the environment. +@end deffn + +@defvar process-environment +This variable is a list of strings, each describing one environment +variable. The functions @code{getenv} and @code{setenv} work by means +of this variable. + +@smallexample +@group +process-environment +@result{} ("l=/usr/stanford/lib/gnuemacs/lisp" + "PATH=.:/user/lewis/bin:/usr/class:/nfsusr/local/bin" + "USER=lewis" +@end group +@group + "TERM=ibmapa16" + "SHELL=/bin/csh" + "HOME=/user/lewis") +@end group +@end smallexample + +If @code{process-environment} contains ``duplicate'' elements that +specify the same environment variable, the first of these elements +specifies the variable, and the other ``duplicates'' are ignored. +@end defvar + +@defvar path-separator +This variable holds a string which says which character separates +directories in a search path (as found in an environment variable). Its +value is @code{":"} for Unix and GNU systems, and @code{";"} for MS-DOS +and MS-Windows. +@end defvar + +@defun parse-colon-path path +This function takes a search path string such as would be the value of +the @code{PATH} environment variable, and splits it at the separators, +returning a list of directory names. @code{nil} in this list stands for +``use the current directory.'' Although the function's name says +``colon,'' it actually uses the value of @code{path-separator}. + +@example +(parse-colon-path ":/foo:/bar") + @result{} (nil "/foo/" "/bar/") +@end example +@end defun + +@defvar invocation-name +This variable holds the program name under which Emacs was invoked. The +value is a string, and does not include a directory name. +@end defvar + +@defvar invocation-directory +This variable holds the directory from which the Emacs executable was +invoked, or perhaps @code{nil} if that directory cannot be determined. +@end defvar + +@defvar installation-directory +If non-@code{nil}, this is a directory within which to look for the +@file{lib-src} and @file{etc} subdirectories. This is non-@code{nil} +when Emacs can't find those directories in their standard installed +locations, but can find them in a directory related somehow to the one +containing the Emacs executable. +@end defvar + +@defun load-average &optional use-float +This function returns the current 1-minute, 5-minute, and 15-minute load +averages, in a list. + +By default, the values are integers that are 100 times the system load +averages, which indicate the average number of processes trying to run. +If @var{use-float} is non-@code{nil}, then they are returned +as floating point numbers and without multiplying by 100. + +If it is impossible to obtain the load average, this function signals +an error. On some platforms, access to load averages requires +installing Emacs as setuid or setgid so that it can read kernel +information, and that usually isn't advisable. + +If the 1-minute load average is available, but the 5- or 15-minute +averages are not, this function returns a shortened list containing +the available averages. + +@example +@group +(load-average) + @result{} (169 48 36) +@end group +@group +(load-average t) + @result{} (1.69 0.48 0.36) +@end group + +@group +lewis@@rocky[5] % uptime + 11:55am up 1 day, 19:37, 3 users, + load average: 1.69, 0.48, 0.36 +@end group +@end example +@end defun + +@defun emacs-pid +This function returns the process @acronym{ID} of the Emacs process, +as an integer. +@end defun + +@defvar tty-erase-char +This variable holds the erase character that was selected +in the system's terminal driver, before Emacs was started. +The value is @code{nil} if Emacs is running under a window system. +@end defvar + +@defun setprv privilege-name &optional setp getprv +This function sets or resets a VMS privilege. (It does not exist on +other systems.) The first argument is the privilege name, as a string. +The second argument, @var{setp}, is @code{t} or @code{nil}, indicating +whether the privilege is to be turned on or off. Its default is +@code{nil}. The function returns @code{t} if successful, @code{nil} +otherwise. + +If the third argument, @var{getprv}, is non-@code{nil}, @code{setprv} +does not change the privilege, but returns @code{t} or @code{nil} +indicating whether the privilege is currently enabled. +@end defun + +@node User Identification +@section User Identification +@cindex user identification + +@defvar init-file-user +This variable says which user's init files should be used by +Emacs---or @code{nil} if none. @code{""} stands for the user who +originally logged in. The value reflects command-line options such as +@samp{-q} or @samp{-u @var{user}}. + +Lisp packages that load files of customizations, or any other sort of +user profile, should obey this variable in deciding where to find it. +They should load the profile of the user name found in this variable. +If @code{init-file-user} is @code{nil}, meaning that the @samp{-q} +option was used, then Lisp packages should not load any customization +files or user profile. +@end defvar + +@defvar user-mail-address +This holds the nominal email address of the user who is using Emacs. +Emacs normally sets this variable to a default value after reading your +init files, but not if you have already set it. So you can set the +variable to some other value in your init file if you do not +want to use the default value. +@end defvar + +@defun user-login-name &optional uid +If you don't specify @var{uid}, this function returns the name under +which the user is logged in. If the environment variable @code{LOGNAME} +is set, that value is used. Otherwise, if the environment variable +@code{USER} is set, that value is used. Otherwise, the value is based +on the effective @acronym{UID}, not the real @acronym{UID}. + +If you specify @var{uid}, the value is the user name that corresponds +to @var{uid} (which should be an integer), or @code{nil} if there is +no such user. + +@example +@group +(user-login-name) + @result{} "lewis" +@end group +@end example +@end defun + +@defun user-real-login-name +This function returns the user name corresponding to Emacs's real +@acronym{UID}. This ignores the effective @acronym{UID} and ignores the +environment variables @code{LOGNAME} and @code{USER}. +@end defun + +@defun user-full-name &optional uid +This function returns the full name of the logged-in user---or the value +of the environment variable @code{NAME}, if that is set. + +@c "Bil" is the correct spelling. +@example +@group +(user-full-name) + @result{} "Bil Lewis" +@end group +@end example + +If the Emacs job's user-id does not correspond to any known user (and +provided @code{NAME} is not set), the value is @code{"unknown"}. + +If @var{uid} is non-@code{nil}, then it should be a number (a user-id) +or a string (a login name). Then @code{user-full-name} returns the full +name corresponding to that user-id or login name. If you specify a +user-id or login name that isn't defined, it returns @code{nil}. +@end defun + +@vindex user-full-name +@vindex user-real-login-name +@vindex user-login-name + The symbols @code{user-login-name}, @code{user-real-login-name} and +@code{user-full-name} are variables as well as functions. The functions +return the same values that the variables hold. These variables allow +you to ``fake out'' Emacs by telling the functions what to return. The +variables are also useful for constructing frame titles (@pxref{Frame +Titles}). + +@defun user-real-uid +This function returns the real @acronym{UID} of the user. +The value may be a floating point number. + +@example +@group +(user-real-uid) + @result{} 19 +@end group +@end example +@end defun + +@defun user-uid +This function returns the effective @acronym{UID} of the user. +The value may be a floating point number. +@end defun + +@node Time of Day +@section Time of Day + + This section explains how to determine the current time and the time +zone. + +@defun current-time-string &optional time-value +This function returns the current time and date as a human-readable +string. The format of the string is unvarying; the number of characters +used for each part is always the same, so you can reliably use +@code{substring} to extract pieces of it. It is wise to count the +characters from the beginning of the string rather than from the end, as +additional information may some day be added at the end. + +@c Emacs 19 feature +The argument @var{time-value}, if given, specifies a time to format +instead of the current time. The argument should be a list whose first +two elements are integers. Thus, you can use times obtained from +@code{current-time} (see below) and from @code{file-attributes} +(@pxref{Definition of file-attributes}). @var{time-value} can also be +a cons of two integers, but this is considered obsolete. + +@example +@group +(current-time-string) + @result{} "Wed Oct 14 22:21:05 1987" +@end group +@end example +@end defun + +@c Emacs 19 feature +@defun current-time +This function returns the system's time value as a list of three +integers: @code{(@var{high} @var{low} @var{microsec})}. The integers +@var{high} and @var{low} combine to give the number of seconds since +0:00 January 1, 1970 UTC (Coordinated Universal Time), which is +@ifnottex +@var{high} * 2**16 + @var{low}. +@end ifnottex +@tex +$high*2^{16}+low$. +@end tex + +The third element, @var{microsec}, gives the microseconds since the +start of the current second (or 0 for systems that return time with +the resolution of only one second). + +The first two elements can be compared with file time values such as you +get with the function @code{file-attributes}. +@xref{Definition of file-attributes}. +@end defun + +@c Emacs 19 feature +@defun current-time-zone &optional time-value +This function returns a list describing the time zone that the user is +in. + +The value has the form @code{(@var{offset} @var{name})}. Here +@var{offset} is an integer giving the number of seconds ahead of UTC +(east of Greenwich). A negative value means west of Greenwich. The +second element, @var{name}, is a string giving the name of the time +zone. Both elements change when daylight saving time begins or ends; +if the user has specified a time zone that does not use a seasonal time +adjustment, then the value is constant through time. + +If the operating system doesn't supply all the information necessary to +compute the value, the unknown elements of the list are @code{nil}. + +The argument @var{time-value}, if given, specifies a time to analyze +instead of the current time. The argument should have the same form +as for @code{current-time-string} (see above). Thus, you can use +times obtained from @code{current-time} (see above) and from +@code{file-attributes}. @xref{Definition of file-attributes}. +@end defun + +@defun set-time-zone-rule tz +This function specifies the local time zone according to @var{tz}. If +@var{tz} is @code{nil}, that means to use an implementation-defined +default time zone. If @var{tz} is @code{t}, that means to use +Universal Time. Otherwise, @var{tz} should be a string specifying a +time zone rule. +@end defun + +@defun float-time &optional time-value +This function returns the current time as a floating-point number of +seconds since the epoch. The argument @var{time-value}, if given, +specifies a time to convert instead of the current time. The argument +should have the same form as for @code{current-time-string} (see +above). Thus, it accepts the output of @code{current-time} and +@code{file-attributes}. + +@emph{Warning}: Since the result is floating point, it may not be +exact. Do not use this function if precise time stamps are required. +@end defun + +@node Time Conversion +@section Time Conversion + + These functions convert time values (lists of two or three integers) +to calendrical information and vice versa. You can get time values +from the functions @code{current-time} (@pxref{Time of Day}) and +@code{file-attributes} (@pxref{Definition of file-attributes}). + + Many operating systems are limited to time values that contain 32 bits +of information; these systems typically handle only the times from +1901-12-13 20:45:52 UTC through 2038-01-19 03:14:07 UTC. However, some +operating systems have larger time values, and can represent times far +in the past or future. + + Time conversion functions always use the Gregorian calendar, even +for dates before the Gregorian calendar was introduced. Year numbers +count the number of years since the year 1 B.C., and do not skip zero +as traditional Gregorian years do; for example, the year number +@minus{}37 represents the Gregorian year 38 B.C@. + +@defun decode-time &optional time +This function converts a time value into calendrical information. If +you don't specify @var{time}, it decodes the current time. The return +value is a list of nine elements, as follows: + +@example +(@var{seconds} @var{minutes} @var{hour} @var{day} @var{month} @var{year} @var{dow} @var{dst} @var{zone}) +@end example + +Here is what the elements mean: + +@table @var +@item seconds +The number of seconds past the minute, as an integer between 0 and 59. +On some operating systems, this is 60 for leap seconds. +@item minutes +The number of minutes past the hour, as an integer between 0 and 59. +@item hour +The hour of the day, as an integer between 0 and 23. +@item day +The day of the month, as an integer between 1 and 31. +@item month +The month of the year, as an integer between 1 and 12. +@item year +The year, an integer typically greater than 1900. +@item dow +The day of week, as an integer between 0 and 6, where 0 stands for +Sunday. +@item dst +@code{t} if daylight saving time is effect, otherwise @code{nil}. +@item zone +An integer indicating the time zone, as the number of seconds east of +Greenwich. +@end table + +@strong{Common Lisp Note:} Common Lisp has different meanings for +@var{dow} and @var{zone}. +@end defun + +@defun encode-time seconds minutes hour day month year &optional zone +This function is the inverse of @code{decode-time}. It converts seven +items of calendrical data into a time value. For the meanings of the +arguments, see the table above under @code{decode-time}. + +Year numbers less than 100 are not treated specially. If you want them +to stand for years above 1900, or years above 2000, you must alter them +yourself before you call @code{encode-time}. + +The optional argument @var{zone} defaults to the current time zone and +its daylight saving time rules. If specified, it can be either a list +(as you would get from @code{current-time-zone}), a string as in the +@code{TZ} environment variable, @code{t} for Universal Time, or an +integer (as you would get from @code{decode-time}). The specified +zone is used without any further alteration for daylight saving time. + +If you pass more than seven arguments to @code{encode-time}, the first +six are used as @var{seconds} through @var{year}, the last argument is +used as @var{zone}, and the arguments in between are ignored. This +feature makes it possible to use the elements of a list returned by +@code{decode-time} as the arguments to @code{encode-time}, like this: + +@example +(apply 'encode-time (decode-time @dots{})) +@end example + +You can perform simple date arithmetic by using out-of-range values for +the @var{seconds}, @var{minutes}, @var{hour}, @var{day}, and @var{month} +arguments; for example, day 0 means the day preceding the given month. + +The operating system puts limits on the range of possible time values; +if you try to encode a time that is out of range, an error results. +For instance, years before 1970 do not work on some systems; +on others, years as early as 1901 do work. +@end defun + +@node Time Parsing +@section Parsing and Formatting Times + + These functions convert time values (lists of two or three integers) +to text in a string, and vice versa. + +@defun date-to-time string +This function parses the time-string @var{string} and returns the +corresponding time value. +@end defun + +@defun format-time-string format-string &optional time universal +This function converts @var{time} (or the current time, if @var{time} is +omitted) to a string according to @var{format-string}. The argument +@var{format-string} may contain @samp{%}-sequences which say to +substitute parts of the time. Here is a table of what the +@samp{%}-sequences mean: + +@table @samp +@item %a +This stands for the abbreviated name of the day of week. +@item %A +This stands for the full name of the day of week. +@item %b +This stands for the abbreviated name of the month. +@item %B +This stands for the full name of the month. +@item %c +This is a synonym for @samp{%x %X}. +@item %C +This has a locale-specific meaning. In the default locale (named C), it +is equivalent to @samp{%A, %B %e, %Y}. +@item %d +This stands for the day of month, zero-padded. +@item %D +This is a synonym for @samp{%m/%d/%y}. +@item %e +This stands for the day of month, blank-padded. +@item %h +This is a synonym for @samp{%b}. +@item %H +This stands for the hour (00-23). +@item %I +This stands for the hour (01-12). +@item %j +This stands for the day of the year (001-366). +@item %k +This stands for the hour (0-23), blank padded. +@item %l +This stands for the hour (1-12), blank padded. +@item %m +This stands for the month (01-12). +@item %M +This stands for the minute (00-59). +@item %n +This stands for a newline. +@item %p +This stands for @samp{AM} or @samp{PM}, as appropriate. +@item %r +This is a synonym for @samp{%I:%M:%S %p}. +@item %R +This is a synonym for @samp{%H:%M}. +@item %S +This stands for the seconds (00-59). +@item %t +This stands for a tab character. +@item %T +This is a synonym for @samp{%H:%M:%S}. +@item %U +This stands for the week of the year (01-52), assuming that weeks +start on Sunday. +@item %w +This stands for the numeric day of week (0-6). Sunday is day 0. +@item %W +This stands for the week of the year (01-52), assuming that weeks +start on Monday. +@item %x +This has a locale-specific meaning. In the default locale (named +@samp{C}), it is equivalent to @samp{%D}. +@item %X +This has a locale-specific meaning. In the default locale (named +@samp{C}), it is equivalent to @samp{%T}. +@item %y +This stands for the year without century (00-99). +@item %Y +This stands for the year with century. +@item %Z +This stands for the time zone abbreviation (e.g., @samp{EST}). +@item %z +This stands for the time zone numerical offset (e.g., @samp{-0500}). +@end table + +You can also specify the field width and type of padding for any of +these @samp{%}-sequences. This works as in @code{printf}: you write +the field width as digits in the middle of a @samp{%}-sequences. If you +start the field width with @samp{0}, it means to pad with zeros. If you +start the field width with @samp{_}, it means to pad with spaces. + +For example, @samp{%S} specifies the number of seconds since the minute; +@samp{%03S} means to pad this with zeros to 3 positions, @samp{%_3S} to +pad with spaces to 3 positions. Plain @samp{%3S} pads with zeros, +because that is how @samp{%S} normally pads to two positions. + +The characters @samp{E} and @samp{O} act as modifiers when used between +@samp{%} and one of the letters in the table above. @samp{E} specifies +using the current locale's ``alternative'' version of the date and time. +In a Japanese locale, for example, @code{%Ex} might yield a date format +based on the Japanese Emperors' reigns. @samp{E} is allowed in +@samp{%Ec}, @samp{%EC}, @samp{%Ex}, @samp{%EX}, @samp{%Ey}, and +@samp{%EY}. + +@samp{O} means to use the current locale's ``alternative'' +representation of numbers, instead of the ordinary decimal digits. This +is allowed with most letters, all the ones that output numbers. + +If @var{universal} is non-@code{nil}, that means to describe the time as +Universal Time; @code{nil} means describe it using what Emacs believes +is the local time zone (see @code{current-time-zone}). + +This function uses the C library function @code{strftime} +(@pxref{Formatting Calendar Time,,, libc, The GNU C Library Reference +Manual}) to do most of the work. In order to communicate with that +function, it first encodes its argument using the coding system +specified by @code{locale-coding-system} (@pxref{Locales}); after +@code{strftime} returns the resulting string, +@code{format-time-string} decodes the string using that same coding +system. +@end defun + +@defun seconds-to-time seconds +This function converts @var{seconds}, a floating point number of +seconds since the epoch, to a time value and returns that. To perform +the inverse conversion, use @code{float-time}. +@end defun + +@node Processor Run Time +@section Processor Run time +@cindex processor run time + +@defun get-internal-run-time +This function returns the processor run time used by Emacs as a list +of three integers: @code{(@var{high} @var{low} @var{microsec})}. The +integers @var{high} and @var{low} combine to give the number of +seconds, which is +@ifnottex +@var{high} * 2**16 + @var{low}. +@end ifnottex +@tex +$high*2^{16}+low$. +@end tex + +The third element, @var{microsec}, gives the microseconds (or 0 for +systems that return time with the resolution of only one second). + +If the system doesn't provide a way to determine the processor run +time, get-internal-run-time returns the same time as current-time. +@end defun + +@node Time Calculations +@section Time Calculations + + These functions perform calendrical computations using time values +(the kind of list that @code{current-time} returns). + +@defun time-less-p t1 t2 +This returns @code{t} if time value @var{t1} is less than time value +@var{t2}. +@end defun + +@defun time-subtract t1 t2 +This returns the time difference @var{t1} @minus{} @var{t2} between +two time values, in the same format as a time value. +@end defun + +@defun time-add t1 t2 +This returns the sum of two time values, one of which ought to +represent a time difference rather than a point in time. +Here is how to add a number of seconds to a time value: + +@example +(time-add @var{time} (seconds-to-time @var{seconds})) +@end example +@end defun + +@defun time-to-days time +This function returns the number of days between the beginning of year +1 and @var{time}. +@end defun + +@defun time-to-day-in-year time +This returns the day number within the year corresponding to @var{time}. +@end defun + +@defun date-leap-year-p year +This function returns @code{t} if @var{year} is a leap year. +@end defun + +@node Timers +@section Timers for Delayed Execution +@cindex timer + + You can set up a @dfn{timer} to call a function at a specified +future time or after a certain length of idleness. + + Emacs cannot run timers at any arbitrary point in a Lisp program; it +can run them only when Emacs could accept output from a subprocess: +namely, while waiting or inside certain primitive functions such as +@code{sit-for} or @code{read-event} which @emph{can} wait. Therefore, a +timer's execution may be delayed if Emacs is busy. However, the time of +execution is very precise if Emacs is idle. + + Emacs binds @code{inhibit-quit} to @code{t} before calling the timer +function, because quitting out of many timer functions can leave +things in an inconsistent state. This is normally unproblematical +because most timer functions don't do a lot of work. Indeed, for a +timer to call a function that takes substantial time to run is likely +to be annoying. If a timer function needs to allow quitting, it +should use @code{with-local-quit} (@pxref{Quitting}). For example, if +a timer function calls @code{accept-process-output} to receive output +from an external process, that call should be wrapped inside +@code{with-local-quit}, to ensure that @kbd{C-g} works if the external +process hangs. + + It is usually a bad idea for timer functions to alter buffer +contents. When they do, they usually should call @code{undo-boundary} +both before and after changing the buffer, to separate the timer's +changes from user commands' changes and prevent a single undo entry +from growing to be quite large. + + Timer functions should also avoid calling functions that cause Emacs +to wait, such as @code{sit-for} (@pxref{Waiting}). This can lead to +unpredictable effects, since other timers (or even the same timer) can +run while waiting. If a timer function needs to perform an action +after a certain time has elapsed, it can do this by scheduling a new +timer. + + If a timer function calls functions that can change the match data, +it should save and restore the match data. @xref{Saving Match Data}. + +@deffn Command run-at-time time repeat function &rest args +This sets up a timer that calls the function @var{function} with +arguments @var{args} at time @var{time}. If @var{repeat} is a number +(integer or floating point), the timer is scheduled to run again every +@var{repeat} seconds after @var{time}. If @var{repeat} is @code{nil}, +the timer runs only once. + +@var{time} may specify an absolute or a relative time. + +Absolute times may be specified using a string with a limited variety +of formats, and are taken to be times @emph{today}, even if already in +the past. The recognized forms are @samp{@var{xxxx}}, +@samp{@var{x}:@var{xx}}, or @samp{@var{xx}:@var{xx}} (military time), +and @samp{@var{xx}am}, @samp{@var{xx}AM}, @samp{@var{xx}pm}, +@samp{@var{xx}PM}, @samp{@var{xx}:@var{xx}am}, +@samp{@var{xx}:@var{xx}AM}, @samp{@var{xx}:@var{xx}pm}, or +@samp{@var{xx}:@var{xx}PM}. A period can be used instead of a colon +to separate the hour and minute parts. + +To specify a relative time as a string, use numbers followed by units. +For example: + +@table @samp +@item 1 min +denotes 1 minute from now. +@item 1 min 5 sec +denotes 65 seconds from now. +@item 1 min 2 sec 3 hour 4 day 5 week 6 fortnight 7 month 8 year +denotes exactly 103 months, 123 days, and 10862 seconds from now. +@end table + +For relative time values, Emacs considers a month to be exactly thirty +days, and a year to be exactly 365.25 days. + +Not all convenient formats are strings. If @var{time} is a number +(integer or floating point), that specifies a relative time measured in +seconds. The result of @code{encode-time} can also be used to specify +an absolute value for @var{time}. + +In most cases, @var{repeat} has no effect on when @emph{first} call +takes place---@var{time} alone specifies that. There is one exception: +if @var{time} is @code{t}, then the timer runs whenever the time is a +multiple of @var{repeat} seconds after the epoch. This is useful for +functions like @code{display-time}. + +The function @code{run-at-time} returns a timer value that identifies +the particular scheduled future action. You can use this value to call +@code{cancel-timer} (see below). +@end deffn + + A repeating timer nominally ought to run every @var{repeat} seconds, +but remember that any invocation of a timer can be late. Lateness of +one repetition has no effect on the scheduled time of the next +repetition. For instance, if Emacs is busy computing for long enough +to cover three scheduled repetitions of the timer, and then starts to +wait, it will immediately call the timer function three times in +immediate succession (presuming no other timers trigger before or +between them). If you want a timer to run again no less than @var{n} +seconds after the last invocation, don't use the @var{repeat} argument. +Instead, the timer function should explicitly reschedule the timer. + +@defvar timer-max-repeats +This variable's value specifies the maximum number of times to repeat +calling a timer function in a row, when many previously scheduled +calls were unavoidably delayed. +@end defvar + +@defmac with-timeout (seconds timeout-forms@dots{}) body@dots{} +Execute @var{body}, but give up after @var{seconds} seconds. If +@var{body} finishes before the time is up, @code{with-timeout} returns +the value of the last form in @var{body}. If, however, the execution of +@var{body} is cut short by the timeout, then @code{with-timeout} +executes all the @var{timeout-forms} and returns the value of the last +of them. + +This macro works by setting a timer to run after @var{seconds} seconds. If +@var{body} finishes before that time, it cancels the timer. If the +timer actually runs, it terminates execution of @var{body}, then +executes @var{timeout-forms}. + +Since timers can run within a Lisp program only when the program calls a +primitive that can wait, @code{with-timeout} cannot stop executing +@var{body} while it is in the midst of a computation---only when it +calls one of those primitives. So use @code{with-timeout} only with a +@var{body} that waits for input, not one that does a long computation. +@end defmac + + The function @code{y-or-n-p-with-timeout} provides a simple way to use +a timer to avoid waiting too long for an answer. @xref{Yes-or-No +Queries}. + +@defun cancel-timer timer +This cancels the requested action for @var{timer}, which should be a +timer---usually, one previously returned by @code{run-at-time} or +@code{run-with-idle-timer}. This cancels the effect of that call to +one of these functions; the arrival of the specified time will not +cause anything special to happen. +@end defun + +@node Idle Timers +@section Idle Timers + + Here is how to set up a timer that runs when Emacs is idle for a +certain length of time. Aside from how to set them up, idle timers +work just like ordinary timers. + +@deffn Command run-with-idle-timer secs repeat function &rest args +Set up a timer which runs when Emacs has been idle for @var{secs} +seconds. The value of @var{secs} may be an integer or a floating point +number; a value of the type returned by @code{current-idle-time} +is also allowed. + +If @var{repeat} is @code{nil}, the timer runs just once, the first time +Emacs remains idle for a long enough time. More often @var{repeat} is +non-@code{nil}, which means to run the timer @emph{each time} Emacs +remains idle for @var{secs} seconds. + +The function @code{run-with-idle-timer} returns a timer value which you +can use in calling @code{cancel-timer} (@pxref{Timers}). +@end deffn + +@cindex idleness + Emacs becomes ``idle'' when it starts waiting for user input, and it +remains idle until the user provides some input. If a timer is set for +five seconds of idleness, it runs approximately five seconds after Emacs +first becomes idle. Even if @var{repeat} is non-@code{nil}, this timer +will not run again as long as Emacs remains idle, because the duration +of idleness will continue to increase and will not go down to five +seconds again. + + Emacs can do various things while idle: garbage collect, autosave or +handle data from a subprocess. But these interludes during idleness do +not interfere with idle timers, because they do not reset the clock of +idleness to zero. An idle timer set for 600 seconds will run when ten +minutes have elapsed since the last user command was finished, even if +subprocess output has been accepted thousands of times within those ten +minutes, and even if there have been garbage collections and autosaves. + + When the user supplies input, Emacs becomes non-idle while executing the +input. Then it becomes idle again, and all the idle timers that are +set up to repeat will subsequently run another time, one by one. + +@c Emacs 19 feature +@defun current-idle-time - This function returns the length of time Emacs has been idle, as a - list of three integers: @code{(@var{high} @var{low} @var{microsec})}. - The integers @var{high} and @var{low} combine to give the number of - seconds of idleness, which is ++If Emacs is idle, this function returns the length of time Emacs has ++been idle, as a list of three integers: @code{(@var{high} @var{low} ++@var{microsec})}. The integers @var{high} and @var{low} combine to ++give the number of seconds of idleness, which is +@ifnottex +@var{high} * 2**16 + @var{low}. +@end ifnottex +@tex +$high*2^{16}+low$. +@end tex + +The third element, @var{microsec}, gives the microseconds since the +start of the current second (or 0 for systems that return time with +the resolution of only one second). + ++When Emacs is not idle, @code{current-idle-time} returns @code{nil}. ++This is a convenient way to test whether Emacs is idle. ++ +The main use of this function is when an idle timer function wants to +``take a break'' for a while. It can set up another idle timer to +call the same function again, after a few seconds more idleness. +Here's an example: + +@smallexample +(defvar resume-timer nil + "Timer that `timer-function' used to reschedule itself, or nil.") + +(defun timer-function () + ;; @r{If the user types a command while @code{resume-timer}} + ;; @r{is active, the next time this function is called from} + ;; @r{its main idle timer, deactivate @code{resume-timer}.} + (when resume-timer + (cancel-timer resume-timer)) + ...@var{do the work for a while}... + (when @var{taking-a-break} + (setq resume-timer + (run-with-idle-timer + ;; Compute an idle time @var{break-length} + ;; more than the current value. + (time-add (current-idle-time) + (seconds-to-time @var{break-length})) + nil + 'timer-function)))) +@end smallexample +@end defun + + Some idle timer functions in user Lisp packages have a loop that +does a certain amount of processing each time around, and exits when +@code{(input-pending-p)} is non-@code{nil}. That approach seems very +natural but has two problems: + +@itemize +@item +It blocks out all process output (since Emacs accepts process output +only while waiting). + +@item +It blocks out any idle timers that ought to run during that time. +@end itemize + +@noindent +To avoid these problems, don't use that technique. Instead, write +such idle timers to reschedule themselves after a brief pause, using +the method in the @code{timer-function} example above. + +@node Terminal Input +@section Terminal Input +@cindex terminal input + + This section describes functions and variables for recording or +manipulating terminal input. See @ref{Display}, for related +functions. + +@menu +* Input Modes:: Options for how input is processed. +* Recording Input:: Saving histories of recent or all input events. +@end menu + +@node Input Modes +@subsection Input Modes +@cindex input modes +@cindex terminal input modes + +@defun set-input-mode interrupt flow meta &optional quit-char +This function sets the mode for reading keyboard input. If +@var{interrupt} is non-null, then Emacs uses input interrupts. If it is +@code{nil}, then it uses @sc{cbreak} mode. The default setting is +system-dependent. Some systems always use @sc{cbreak} mode regardless +of what is specified. + +When Emacs communicates directly with X, it ignores this argument and +uses interrupts if that is the way it knows how to communicate. + +If @var{flow} is non-@code{nil}, then Emacs uses @sc{xon/xoff} +(@kbd{C-q}, @kbd{C-s}) flow control for output to the terminal. This +has no effect except in @sc{cbreak} mode. + +@c Emacs 19 feature +The argument @var{meta} controls support for input character codes +above 127. If @var{meta} is @code{t}, Emacs converts characters with +the 8th bit set into Meta characters. If @var{meta} is @code{nil}, +Emacs disregards the 8th bit; this is necessary when the terminal uses +it as a parity bit. If @var{meta} is neither @code{t} nor @code{nil}, +Emacs uses all 8 bits of input unchanged. This is good for terminals +that use 8-bit character sets. + +@c Emacs 19 feature +If @var{quit-char} is non-@code{nil}, it specifies the character to +use for quitting. Normally this character is @kbd{C-g}. +@xref{Quitting}. +@end defun + +The @code{current-input-mode} function returns the input mode settings +Emacs is currently using. + +@c Emacs 19 feature +@defun current-input-mode +This function returns the current mode for reading keyboard input. It +returns a list, corresponding to the arguments of @code{set-input-mode}, +of the form @code{(@var{interrupt} @var{flow} @var{meta} @var{quit})} in +which: +@table @var +@item interrupt +is non-@code{nil} when Emacs is using interrupt-driven input. If +@code{nil}, Emacs is using @sc{cbreak} mode. +@item flow +is non-@code{nil} if Emacs uses @sc{xon/xoff} (@kbd{C-q}, @kbd{C-s}) +flow control for output to the terminal. This value is meaningful only +when @var{interrupt} is @code{nil}. +@item meta +is @code{t} if Emacs treats the eighth bit of input characters as +the meta bit; @code{nil} means Emacs clears the eighth bit of every +input character; any other value means Emacs uses all eight bits as the +basic character code. +@item quit +is the character Emacs currently uses for quitting, usually @kbd{C-g}. +@end table +@end defun + +@node Recording Input +@subsection Recording Input +@cindex recording input + +@defun recent-keys +This function returns a vector containing the last 300 input events from +the keyboard or mouse. All input events are included, whether or not +they were used as parts of key sequences. Thus, you always get the last +100 input events, not counting events generated by keyboard macros. +(These are excluded because they are less interesting for debugging; it +should be enough to see the events that invoked the macros.) + +A call to @code{clear-this-command-keys} (@pxref{Command Loop Info}) +causes this function to return an empty vector immediately afterward. +@end defun + +@deffn Command open-dribble-file filename +@cindex dribble file +This function opens a @dfn{dribble file} named @var{filename}. When a +dribble file is open, each input event from the keyboard or mouse (but +not those from keyboard macros) is written in that file. A +non-character event is expressed using its printed representation +surrounded by @samp{<@dots{}>}. + +You close the dribble file by calling this function with an argument +of @code{nil}. + +This function is normally used to record the input necessary to +trigger an Emacs bug, for the sake of a bug report. + +@example +@group +(open-dribble-file "~/dribble") + @result{} nil +@end group +@end example +@end deffn + + See also the @code{open-termscript} function (@pxref{Terminal Output}). + +@node Terminal Output +@section Terminal Output +@cindex terminal output + + The terminal output functions send output to a text terminal, or keep +track of output sent to the terminal. The variable @code{baud-rate} +tells you what Emacs thinks is the output speed of the terminal. + +@defvar baud-rate +This variable's value is the output speed of the terminal, as far as +Emacs knows. Setting this variable does not change the speed of actual +data transmission, but the value is used for calculations such as +padding. + + It also affects decisions about whether to scroll part of the +screen or repaint on text terminals. @xref{Forcing Redisplay}, +for the corresponding functionality on graphical terminals. + +The value is measured in baud. +@end defvar + + If you are running across a network, and different parts of the +network work at different baud rates, the value returned by Emacs may be +different from the value used by your local terminal. Some network +protocols communicate the local terminal speed to the remote machine, so +that Emacs and other programs can get the proper value, but others do +not. If Emacs has the wrong value, it makes decisions that are less +than optimal. To fix the problem, set @code{baud-rate}. + +@defun baud-rate +This obsolete function returns the value of the variable +@code{baud-rate}. +@end defun + +@defun send-string-to-terminal string +This function sends @var{string} to the terminal without alteration. +Control characters in @var{string} have terminal-dependent effects. +This function operates only on text terminals. + +One use of this function is to define function keys on terminals that +have downloadable function key definitions. For example, this is how (on +certain terminals) to define function key 4 to move forward four +characters (by transmitting the characters @kbd{C-u C-f} to the +computer): + +@example +@group +(send-string-to-terminal "\eF4\^U\^F") + @result{} nil +@end group +@end example +@end defun + +@deffn Command open-termscript filename +@cindex termscript file +This function is used to open a @dfn{termscript file} that will record +all the characters sent by Emacs to the terminal. It returns +@code{nil}. Termscript files are useful for investigating problems +where Emacs garbles the screen, problems that are due to incorrect +Termcap entries or to undesirable settings of terminal options more +often than to actual Emacs bugs. Once you are certain which characters +were actually output, you can determine reliably whether they correspond +to the Termcap specifications in use. + +You close the termscript file by calling this function with an +argument of @code{nil}. + +See also @code{open-dribble-file} in @ref{Recording Input}. + +@example +@group +(open-termscript "../junk/termscript") + @result{} nil +@end group +@end example +@end deffn + +@node Sound Output +@section Sound Output +@cindex sound + + To play sound using Emacs, use the function @code{play-sound}. Only +certain systems are supported; if you call @code{play-sound} on a system +which cannot really do the job, it gives an error. Emacs version 20 and +earlier did not support sound at all. + + The sound must be stored as a file in RIFF-WAVE format (@samp{.wav}) +or Sun Audio format (@samp{.au}). + +@defun play-sound sound +This function plays a specified sound. The argument, @var{sound}, has +the form @code{(sound @var{properties}...)}, where the @var{properties} +consist of alternating keywords (particular symbols recognized +specially) and values corresponding to them. + +Here is a table of the keywords that are currently meaningful in +@var{sound}, and their meanings: + +@table @code +@item :file @var{file} +This specifies the file containing the sound to play. +If the file name is not absolute, it is expanded against +the directory @code{data-directory}. + +@item :data @var{data} +This specifies the sound to play without need to refer to a file. The +value, @var{data}, should be a string containing the same bytes as a +sound file. We recommend using a unibyte string. + +@item :volume @var{volume} +This specifies how loud to play the sound. It should be a number in the +range of 0 to 1. The default is to use whatever volume has been +specified before. + +@item :device @var{device} +This specifies the system device on which to play the sound, as a +string. The default device is system-dependent. +@end table + +Before actually playing the sound, @code{play-sound} +calls the functions in the list @code{play-sound-functions}. +Each function is called with one argument, @var{sound}. +@end defun + +@defun play-sound-file file &optional volume device +This function is an alternative interface to playing a sound @var{file} +specifying an optional @var{volume} and @var{device}. +@end defun + +@defvar play-sound-functions +A list of functions to be called before playing a sound. Each function +is called with one argument, a property list that describes the sound. +@end defvar + +@node X11 Keysyms +@section Operating on X11 Keysyms +@cindex X11 keysyms + +To define system-specific X11 keysyms, set the variable +@code{system-key-alist}. + +@defvar system-key-alist +This variable's value should be an alist with one element for each +system-specific keysym. Each element has the form @code{(@var{code} +. @var{symbol})}, where @var{code} is the numeric keysym code (not +including the ``vendor specific'' bit, +@ifnottex +-2**28), +@end ifnottex +@tex +$-2^{28}$), +@end tex +and @var{symbol} is the name for the function key. + +For example @code{(168 . mute-acute)} defines a system-specific key (used +by HP X servers) whose numeric code is +@ifnottex +-2**28 +@end ifnottex +@tex +$-2^{28}$ +@end tex ++ 168. + +It is not crucial to exclude from the alist the keysyms of other X +servers; those do no harm, as long as they don't conflict with the ones +used by the X server actually in use. + +The variable is always local to the current terminal, and cannot be +buffer-local. @xref{Multiple Displays}. +@end defvar + +You can specify which keysyms Emacs should use for the Meta, Alt, Hyper, and Super modifiers by setting these variables: + +@defvar x-alt-keysym +@defvarx x-meta-keysym +@defvarx x-hyper-keysym +@defvarx x-super-keysym +The name of the keysym that should stand for the Alt modifier +(respectively, for Meta, Hyper, and Super). For example, here is +how to swap the Meta and Alt modifiers within Emacs: +@lisp +(setq x-alt-keysym 'meta) +(setq x-meta-keysym 'alt) +@end lisp +@end defvar + +@node Batch Mode +@section Batch Mode +@cindex batch mode + + The command-line option @samp{-batch} causes Emacs to run +noninteractively. In this mode, Emacs does not read commands from the +terminal, it does not alter the terminal modes, and it does not expect +to be outputting to an erasable screen. The idea is that you specify +Lisp programs to run; when they are finished, Emacs should exit. The +way to specify the programs to run is with @samp{-l @var{file}}, which +loads the library named @var{file}, or @samp{-f @var{function}}, which +calls @var{function} with no arguments, or @samp{--eval @var{form}}. + + Any Lisp program output that would normally go to the echo area, +either using @code{message}, or using @code{prin1}, etc., with @code{t} +as the stream, goes instead to Emacs's standard error descriptor when +in batch mode. Similarly, input that would normally come from the +minibuffer is read from the standard input descriptor. +Thus, Emacs behaves much like a noninteractive +application program. (The echo area output that Emacs itself normally +generates, such as command echoing, is suppressed entirely.) + +@defvar noninteractive +This variable is non-@code{nil} when Emacs is running in batch mode. +@end defvar + +@node Session Management +@section Session Management +@cindex session manager + +Emacs supports the X Session Management Protocol for suspension and +restart of applications. In the X Window System, a program called the +@dfn{session manager} has the responsibility to keep track of the +applications that are running. During shutdown, the session manager +asks applications to save their state, and delays the actual shutdown +until they respond. An application can also cancel the shutdown. + +When the session manager restarts a suspended session, it directs +these applications to individually reload their saved state. It does +this by specifying a special command-line argument that says what +saved session to restore. For Emacs, this argument is @samp{--smid +@var{session}}. + +@defvar emacs-save-session-functions +Emacs supports saving state by using a hook called +@code{emacs-save-session-functions}. Each function in this hook is +called when the session manager tells Emacs that the window system is +shutting down. The functions are called with no arguments and with the +current buffer set to a temporary buffer. Each function can use +@code{insert} to add Lisp code to this buffer. At the end, Emacs +saves the buffer in a file that a subsequent Emacs invocation will +load in order to restart the saved session. + +If a function in @code{emacs-save-session-functions} returns +non-@code{nil}, Emacs tells the session manager to cancel the +shutdown. +@end defvar + +Here is an example that just inserts some text into @samp{*scratch*} when +Emacs is restarted by the session manager. + +@example +@group +(add-hook 'emacs-save-session-functions 'save-yourself-test) +@end group + +@group +(defun save-yourself-test () + (insert "(save-excursion + (switch-to-buffer \"*scratch*\") + (insert \"I am restored\"))") + nil) +@end group +@end example + +@ignore + arch-tag: 8378814a-30d7-467c-9615-74a80b9988a7 +@end ignore diff --cc doc/lispref/variables.texi index d5f1035c169,00000000000..0ca217dbe47 mode 100644,000000..100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi @@@ -1,1908 -1,0 +1,1795 @@@ +@c -*-texinfo-*- +@c This is part of the GNU Emacs Lisp Reference Manual. +@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2000, +@c 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. +@c See the file elisp.texi for copying conditions. +@setfilename ../../info/variables +@node Variables, Functions, Control Structures, Top +@chapter Variables +@cindex variable + + A @dfn{variable} is a name used in a program to stand for a value. +Nearly all programming languages have variables of some sort. In the +text of a Lisp program, variables are written using the syntax for +symbols. + + In Lisp, unlike most programming languages, programs are represented +primarily as Lisp objects and only secondarily as text. The Lisp +objects used for variables are symbols: the symbol name is the variable +name, and the variable's value is stored in the value cell of the +symbol. The use of a symbol as a variable is independent of its use as +a function name. @xref{Symbol Components}. + + The Lisp objects that constitute a Lisp program determine the textual +form of the program---it is simply the read syntax for those Lisp +objects. This is why, for example, a variable in a textual Lisp program +is written using the read syntax for the symbol that represents the +variable. + +@menu +* Global Variables:: Variable values that exist permanently, everywhere. +* Constant Variables:: Certain "variables" have values that never change. +* Local Variables:: Variable values that exist only temporarily. +* Void Variables:: Symbols that lack values. +* Defining Variables:: A definition says a symbol is used as a variable. +* Tips for Defining:: Things you should think about when you + define a variable. +* Accessing Variables:: Examining values of variables whose names + are known only at run time. +* Setting Variables:: Storing new values in variables. +* Variable Scoping:: How Lisp chooses among local and global values. +* Buffer-Local Variables:: Variable values in effect only in one buffer. - * Frame-Local Variables:: Variable values in effect only in one frame. +* Future Local Variables:: New kinds of local values we might add some day. +* File Local Variables:: Handling local variable lists in files. +* Variable Aliases:: Variables that are aliases for other variables. +* Variables with Restricted Values:: Non-constant variables whose value can + @emph{not} be an arbitrary Lisp object. +@end menu + +@node Global Variables +@section Global Variables +@cindex global variable + + The simplest way to use a variable is @dfn{globally}. This means that +the variable has just one value at a time, and this value is in effect +(at least for the moment) throughout the Lisp system. The value remains +in effect until you specify a new one. When a new value replaces the +old one, no trace of the old value remains in the variable. + + You specify a value for a symbol with @code{setq}. For example, + +@example +(setq x '(a b)) +@end example + +@noindent +gives the variable @code{x} the value @code{(a b)}. Note that +@code{setq} does not evaluate its first argument, the name of the +variable, but it does evaluate the second argument, the new value. + + Once the variable has a value, you can refer to it by using the symbol +by itself as an expression. Thus, + +@example +@group +x @result{} (a b) +@end group +@end example + +@noindent +assuming the @code{setq} form shown above has already been executed. + + If you do set the same variable again, the new value replaces the old +one: + +@example +@group +x + @result{} (a b) +@end group +@group +(setq x 4) + @result{} 4 +@end group +@group +x + @result{} 4 +@end group +@end example + +@node Constant Variables +@section Variables that Never Change +@kindex setting-constant +@cindex keyword symbol +@cindex variable with constant value +@cindex constant variables +@cindex symbol that evaluates to itself +@cindex symbol with constant value + + In Emacs Lisp, certain symbols normally evaluate to themselves. These +include @code{nil} and @code{t}, as well as any symbol whose name starts +with @samp{:} (these are called @dfn{keywords}). These symbols cannot +be rebound, nor can their values be changed. Any attempt to set or bind +@code{nil} or @code{t} signals a @code{setting-constant} error. The +same is true for a keyword (a symbol whose name starts with @samp{:}), +if it is interned in the standard obarray, except that setting such a +symbol to itself is not an error. + +@example +@group +nil @equiv{} 'nil + @result{} nil +@end group +@group +(setq nil 500) +@error{} Attempt to set constant symbol: nil +@end group +@end example + +@defun keywordp object +function returns @code{t} if @var{object} is a symbol whose name +starts with @samp{:}, interned in the standard obarray, and returns +@code{nil} otherwise. +@end defun + +@node Local Variables +@section Local Variables +@cindex binding local variables +@cindex local variables +@cindex local binding +@cindex global binding + + Global variables have values that last until explicitly superseded +with new values. Sometimes it is useful to create variable values that +exist temporarily---only until a certain part of the program finishes. +These values are called @dfn{local}, and the variables so used are +called @dfn{local variables}. + + For example, when a function is called, its argument variables receive +new local values that last until the function exits. The @code{let} +special form explicitly establishes new local values for specified +variables; these last until exit from the @code{let} form. + +@cindex shadowing of variables + Establishing a local value saves away the previous value (or lack of +one) of the variable. When the life span of the local value is over, +the previous value is restored. In the mean time, we say that the +previous value is @dfn{shadowed} and @dfn{not visible}. Both global and +local values may be shadowed (@pxref{Scope}). + + If you set a variable (such as with @code{setq}) while it is local, +this replaces the local value; it does not alter the global value, or +previous local values, that are shadowed. To model this behavior, we +speak of a @dfn{local binding} of the variable as well as a local value. + + The local binding is a conceptual place that holds a local value. +Entry to a function, or a special form such as @code{let}, creates the +local binding; exit from the function or from the @code{let} removes the +local binding. As long as the local binding lasts, the variable's value +is stored within it. Use of @code{setq} or @code{set} while there is a +local binding stores a different value into the local binding; it does +not create a new binding. + + We also speak of the @dfn{global binding}, which is where +(conceptually) the global value is kept. + +@cindex current binding + A variable can have more than one local binding at a time (for +example, if there are nested @code{let} forms that bind it). In such a +case, the most recently created local binding that still exists is the +@dfn{current binding} of the variable. (This rule is called +@dfn{dynamic scoping}; see @ref{Variable Scoping}.) If there are no +local bindings, the variable's global binding is its current binding. +We sometimes call the current binding the @dfn{most-local existing +binding}, for emphasis. Ordinary evaluation of a symbol always returns +the value of its current binding. + + The special forms @code{let} and @code{let*} exist to create +local bindings. + +@defspec let (bindings@dots{}) forms@dots{} +This special form binds variables according to @var{bindings} and then +evaluates all of the @var{forms} in textual order. The @code{let}-form +returns the value of the last form in @var{forms}. + +Each of the @var{bindings} is either @w{(i) a} symbol, in which case +that symbol is bound to @code{nil}; or @w{(ii) a} list of the form +@code{(@var{symbol} @var{value-form})}, in which case @var{symbol} is +bound to the result of evaluating @var{value-form}. If @var{value-form} +is omitted, @code{nil} is used. + +All of the @var{value-form}s in @var{bindings} are evaluated in the +order they appear and @emph{before} binding any of the symbols to them. +Here is an example of this: @code{z} is bound to the old value of +@code{y}, which is 2, not the new value of @code{y}, which is 1. + +@example +@group +(setq y 2) + @result{} 2 +@end group +@group +(let ((y 1) + (z y)) + (list y z)) + @result{} (1 2) +@end group +@end example +@end defspec + +@defspec let* (bindings@dots{}) forms@dots{} +This special form is like @code{let}, but it binds each variable right +after computing its local value, before computing the local value for +the next variable. Therefore, an expression in @var{bindings} can +reasonably refer to the preceding symbols bound in this @code{let*} +form. Compare the following example with the example above for +@code{let}. + +@example +@group +(setq y 2) + @result{} 2 +@end group +@group +(let* ((y 1) + (z y)) ; @r{Use the just-established value of @code{y}.} + (list y z)) + @result{} (1 1) +@end group +@end example +@end defspec + + Here is a complete list of the other facilities that create local +bindings: + +@itemize @bullet +@item +Function calls (@pxref{Functions}). + +@item +Macro calls (@pxref{Macros}). + +@item +@code{condition-case} (@pxref{Errors}). +@end itemize + + Variables can also have buffer-local bindings (@pxref{Buffer-Local - Variables}) and frame-local bindings (@pxref{Frame-Local Variables}); a - few variables have terminal-local bindings (@pxref{Multiple Displays}). - These kinds of bindings work somewhat like ordinary local bindings, but - they are localized depending on ``where'' you are in Emacs, rather than - localized in time. ++Variables}); a few variables have terminal-local bindings ++(@pxref{Multiple Displays}). These kinds of bindings work somewhat ++like ordinary local bindings, but they are localized depending on ++``where'' you are in Emacs, rather than localized in time. + +@defvar max-specpdl-size +@anchor{Definition of max-specpdl-size} +@cindex variable limit error +@cindex evaluation error +@cindex infinite recursion +This variable defines the limit on the total number of local variable +bindings and @code{unwind-protect} cleanups (@pxref{Cleanups,, +Cleaning Up from Nonlocal Exits}) that are allowed before signaling an +error (with data @code{"Variable binding depth exceeds +max-specpdl-size"}). + +This limit, with the associated error when it is exceeded, is one way +that Lisp avoids infinite recursion on an ill-defined function. +@code{max-lisp-eval-depth} provides another limit on depth of nesting. +@xref{Definition of max-lisp-eval-depth,, Eval}. + +The default value is 1000. Entry to the Lisp debugger increases the +value, if there is little room left, to make sure the debugger itself +has room to execute. +@end defvar + +@node Void Variables +@section When a Variable is ``Void'' +@kindex void-variable +@cindex void variable + + If you have never given a symbol any value as a global variable, we +say that that symbol's global value is @dfn{void}. In other words, the +symbol's value cell does not have any Lisp object in it. If you try to +evaluate the symbol, you get a @code{void-variable} error rather than +a value. + + Note that a value of @code{nil} is not the same as void. The symbol +@code{nil} is a Lisp object and can be the value of a variable just as any +other object can be; but it is @emph{a value}. A void variable does not +have any value. + + After you have given a variable a value, you can make it void once more +using @code{makunbound}. + +@defun makunbound symbol +This function makes the current variable binding of @var{symbol} void. +Subsequent attempts to use this symbol's value as a variable will signal +the error @code{void-variable}, unless and until you set it again. + +@code{makunbound} returns @var{symbol}. + +@example +@group +(makunbound 'x) ; @r{Make the global value of @code{x} void.} + @result{} x +@end group +@group +x +@error{} Symbol's value as variable is void: x +@end group +@end example + +If @var{symbol} is locally bound, @code{makunbound} affects the most +local existing binding. This is the only way a symbol can have a void +local binding, since all the constructs that create local bindings +create them with values. In this case, the voidness lasts at most as +long as the binding does; when the binding is removed due to exit from +the construct that made it, the previous local or global binding is +reexposed as usual, and the variable is no longer void unless the newly +reexposed binding was void all along. + +@smallexample +@group +(setq x 1) ; @r{Put a value in the global binding.} + @result{} 1 +(let ((x 2)) ; @r{Locally bind it.} + (makunbound 'x) ; @r{Void the local binding.} + x) +@error{} Symbol's value as variable is void: x +@end group +@group +x ; @r{The global binding is unchanged.} + @result{} 1 + +(let ((x 2)) ; @r{Locally bind it.} + (let ((x 3)) ; @r{And again.} + (makunbound 'x) ; @r{Void the innermost-local binding.} + x)) ; @r{And refer: it's void.} +@error{} Symbol's value as variable is void: x +@end group + +@group +(let ((x 2)) + (let ((x 3)) + (makunbound 'x)) ; @r{Void inner binding, then remove it.} + x) ; @r{Now outer @code{let} binding is visible.} + @result{} 2 +@end group +@end smallexample +@end defun + + A variable that has been made void with @code{makunbound} is +indistinguishable from one that has never received a value and has +always been void. + + You can use the function @code{boundp} to test whether a variable is +currently void. + +@defun boundp variable +@code{boundp} returns @code{t} if @var{variable} (a symbol) is not void; +more precisely, if its current binding is not void. It returns +@code{nil} otherwise. + +@smallexample +@group +(boundp 'abracadabra) ; @r{Starts out void.} + @result{} nil +@end group +@group +(let ((abracadabra 5)) ; @r{Locally bind it.} + (boundp 'abracadabra)) + @result{} t +@end group +@group +(boundp 'abracadabra) ; @r{Still globally void.} + @result{} nil +@end group +@group +(setq abracadabra 5) ; @r{Make it globally nonvoid.} + @result{} 5 +@end group +@group +(boundp 'abracadabra) + @result{} t +@end group +@end smallexample +@end defun + +@node Defining Variables +@section Defining Global Variables +@cindex variable definition + + You may announce your intention to use a symbol as a global variable +with a @dfn{variable definition}: a special form, either @code{defconst} +or @code{defvar}. + + In Emacs Lisp, definitions serve three purposes. First, they inform +people who read the code that certain symbols are @emph{intended} to be +used a certain way (as variables). Second, they inform the Lisp system +of these things, supplying a value and documentation. Third, they +provide information to utilities such as @code{etags} and +@code{make-docfile}, which create data bases of the functions and +variables in a program. + + The difference between @code{defconst} and @code{defvar} is primarily +a matter of intent, serving to inform human readers of whether the value +should ever change. Emacs Lisp does not restrict the ways in which a +variable can be used based on @code{defconst} or @code{defvar} +declarations. However, it does make a difference for initialization: +@code{defconst} unconditionally initializes the variable, while +@code{defvar} initializes it only if it is void. + +@ignore + One would expect user option variables to be defined with +@code{defconst}, since programs do not change them. Unfortunately, this +has bad results if the definition is in a library that is not preloaded: +@code{defconst} would override any prior value when the library is +loaded. Users would like to be able to set user options in their init +files, and override the default values given in the definitions. For +this reason, user options must be defined with @code{defvar}. +@end ignore + +@defspec defvar symbol [value [doc-string]] +This special form defines @var{symbol} as a variable and can also +initialize and document it. The definition informs a person reading +your code that @var{symbol} is used as a variable that might be set or +changed. Note that @var{symbol} is not evaluated; the symbol to be +defined must appear explicitly in the @code{defvar}. + +If @var{symbol} is void and @var{value} is specified, @code{defvar} +evaluates it and sets @var{symbol} to the result. But if @var{symbol} +already has a value (i.e., it is not void), @var{value} is not even +evaluated, and @var{symbol}'s value remains unchanged. If @var{value} +is omitted, the value of @var{symbol} is not changed in any case. + +If @var{symbol} has a buffer-local binding in the current buffer, +@code{defvar} operates on the default value, which is buffer-independent, +not the current (buffer-local) binding. It sets the default value if +the default value is void. @xref{Buffer-Local Variables}. + +When you evaluate a top-level @code{defvar} form with @kbd{C-M-x} in +Emacs Lisp mode (@code{eval-defun}), a special feature of +@code{eval-defun} arranges to set the variable unconditionally, without +testing whether its value is void. + +If the @var{doc-string} argument appears, it specifies the documentation +for the variable. (This opportunity to specify documentation is one of +the main benefits of defining the variable.) The documentation is +stored in the symbol's @code{variable-documentation} property. The +Emacs help functions (@pxref{Documentation}) look for this property. + +If the variable is a user option that users would want to set +interactively, you should use @samp{*} as the first character of +@var{doc-string}. This lets users set the variable conveniently using +the @code{set-variable} command. Note that you should nearly always +use @code{defcustom} instead of @code{defvar} to define these +variables, so that users can use @kbd{M-x customize} and related +commands to set them. @xref{Customization}. + +Here are some examples. This form defines @code{foo} but does not +initialize it: + +@example +@group +(defvar foo) + @result{} foo +@end group +@end example + +This example initializes the value of @code{bar} to @code{23}, and gives +it a documentation string: + +@example +@group +(defvar bar 23 + "The normal weight of a bar.") + @result{} bar +@end group +@end example + +The following form changes the documentation string for @code{bar}, +making it a user option, but does not change the value, since @code{bar} +already has a value. (The addition @code{(1+ nil)} would get an error +if it were evaluated, but since it is not evaluated, there is no error.) + +@example +@group +(defvar bar (1+ nil) + "*The normal weight of a bar.") + @result{} bar +@end group +@group +bar + @result{} 23 +@end group +@end example + +Here is an equivalent expression for the @code{defvar} special form: + +@example +@group +(defvar @var{symbol} @var{value} @var{doc-string}) +@equiv{} +(progn + (if (not (boundp '@var{symbol})) + (setq @var{symbol} @var{value})) + (if '@var{doc-string} + (put '@var{symbol} 'variable-documentation '@var{doc-string})) + '@var{symbol}) +@end group +@end example + +The @code{defvar} form returns @var{symbol}, but it is normally used +at top level in a file where its value does not matter. +@end defspec + +@defspec defconst symbol value [doc-string] +This special form defines @var{symbol} as a value and initializes it. +It informs a person reading your code that @var{symbol} has a standard +global value, established here, that should not be changed by the user +or by other programs. Note that @var{symbol} is not evaluated; the +symbol to be defined must appear explicitly in the @code{defconst}. + +@code{defconst} always evaluates @var{value}, and sets the value of +@var{symbol} to the result. If @var{symbol} does have a buffer-local +binding in the current buffer, @code{defconst} sets the default value, +not the buffer-local value. (But you should not be making +buffer-local bindings for a symbol that is defined with +@code{defconst}.) + +Here, @code{pi} is a constant that presumably ought not to be changed +by anyone (attempts by the Indiana State Legislature notwithstanding). +As the second form illustrates, however, this is only advisory. + +@example +@group +(defconst pi 3.1415 "Pi to five places.") + @result{} pi +@end group +@group +(setq pi 3) + @result{} pi +@end group +@group +pi + @result{} 3 +@end group +@end example +@end defspec + +@defun user-variable-p variable +@cindex user option +This function returns @code{t} if @var{variable} is a user option---a +variable intended to be set by the user for customization---and +@code{nil} otherwise. (Variables other than user options exist for the +internal purposes of Lisp programs, and users need not know about them.) + +User option variables are distinguished from other variables either +though being declared using @code{defcustom}@footnote{They may also be +declared equivalently in @file{cus-start.el}.} or by the first character +of their @code{variable-documentation} property. If the property exists +and is a string, and its first character is @samp{*}, then the variable +is a user option. Aliases of user options are also user options. +@end defun + +@kindex variable-interactive + If a user option variable has a @code{variable-interactive} property, +the @code{set-variable} command uses that value to control reading the +new value for the variable. The property's value is used as if it were +specified in @code{interactive} (@pxref{Using Interactive}). However, +this feature is largely obsoleted by @code{defcustom} +(@pxref{Customization}). + + @strong{Warning:} If the @code{defconst} and @code{defvar} special +forms are used while the variable has a local binding (made with +@code{let}, or a function argument), they set the local-binding's +value; the top-level binding is not changed. This is not what you +usually want. To prevent it, use these special forms at top level in +a file, where normally no local binding is in effect, and make sure to +load the file before making a local binding for the variable. + +@node Tips for Defining +@section Tips for Defining Variables Robustly + + When you define a variable whose value is a function, or a list of +functions, use a name that ends in @samp{-function} or +@samp{-functions}, respectively. + + There are several other variable name conventions; +here is a complete list: + +@table @samp +@item @dots{}-hook +The variable is a normal hook (@pxref{Hooks}). + +@item @dots{}-function +The value is a function. + +@item @dots{}-functions +The value is a list of functions. + +@item @dots{}-form +The value is a form (an expression). + +@item @dots{}-forms +The value is a list of forms (expressions). + +@item @dots{}-predicate +The value is a predicate---a function of one argument that returns +non-@code{nil} for ``good'' arguments and @code{nil} for ``bad'' +arguments. + +@item @dots{}-flag +The value is significant only as to whether it is @code{nil} or not. + +@item @dots{}-program +The value is a program name. + +@item @dots{}-command +The value is a whole shell command. + +@item @dots{}-switches +The value specifies options for a command. +@end table + + When you define a variable, always consider whether you should mark +it as ``risky''; see @ref{File Local Variables}. + + When defining and initializing a variable that holds a complicated +value (such as a keymap with bindings in it), it's best to put the +entire computation of the value into the @code{defvar}, like this: + +@example +(defvar my-mode-map + (let ((map (make-sparse-keymap))) + (define-key map "\C-c\C-a" 'my-command) + @dots{} + map) + @var{docstring}) +@end example + +@noindent +This method has several benefits. First, if the user quits while +loading the file, the variable is either still uninitialized or +initialized properly, never in-between. If it is still uninitialized, +reloading the file will initialize it properly. Second, reloading the +file once the variable is initialized will not alter it; that is +important if the user has run hooks to alter part of the contents (such +as, to rebind keys). Third, evaluating the @code{defvar} form with +@kbd{C-M-x} @emph{will} reinitialize the map completely. + + Putting so much code in the @code{defvar} form has one disadvantage: +it puts the documentation string far away from the line which names the +variable. Here's a safe way to avoid that: + +@example +(defvar my-mode-map nil + @var{docstring}) +(unless my-mode-map + (let ((map (make-sparse-keymap))) + (define-key map "\C-c\C-a" 'my-command) + @dots{} + (setq my-mode-map map))) +@end example + +@noindent +This has all the same advantages as putting the initialization inside +the @code{defvar}, except that you must type @kbd{C-M-x} twice, once on +each form, if you do want to reinitialize the variable. + + But be careful not to write the code like this: + +@example +(defvar my-mode-map nil + @var{docstring}) +(unless my-mode-map + (setq my-mode-map (make-sparse-keymap)) + (define-key my-mode-map "\C-c\C-a" 'my-command) + @dots{}) +@end example + +@noindent +This code sets the variable, then alters it, but it does so in more than +one step. If the user quits just after the @code{setq}, that leaves the +variable neither correctly initialized nor void nor @code{nil}. Once +that happens, reloading the file will not initialize the variable; it +will remain incomplete. + +@node Accessing Variables +@section Accessing Variable Values + + The usual way to reference a variable is to write the symbol which +names it (@pxref{Symbol Forms}). This requires you to specify the +variable name when you write the program. Usually that is exactly what +you want to do. Occasionally you need to choose at run time which +variable to reference; then you can use @code{symbol-value}. + +@defun symbol-value symbol +This function returns the value of @var{symbol}. This is the value in +the innermost local binding of the symbol, or its global value if it +has no local bindings. + +@example +@group +(setq abracadabra 5) + @result{} 5 +@end group +@group +(setq foo 9) + @result{} 9 +@end group + +@group +;; @r{Here the symbol @code{abracadabra}} +;; @r{is the symbol whose value is examined.} +(let ((abracadabra 'foo)) + (symbol-value 'abracadabra)) + @result{} foo +@end group + +@group +;; @r{Here, the value of @code{abracadabra},} +;; @r{which is @code{foo},} +;; @r{is the symbol whose value is examined.} +(let ((abracadabra 'foo)) + (symbol-value abracadabra)) + @result{} 9 +@end group + +@group +(symbol-value 'abracadabra) + @result{} 5 +@end group +@end example + +A @code{void-variable} error is signaled if the current binding of +@var{symbol} is void. +@end defun + +@node Setting Variables +@section How to Alter a Variable Value + + The usual way to change the value of a variable is with the special +form @code{setq}. When you need to compute the choice of variable at +run time, use the function @code{set}. + +@defspec setq [symbol form]@dots{} +This special form is the most common method of changing a variable's +value. Each @var{symbol} is given a new value, which is the result of +evaluating the corresponding @var{form}. The most-local existing +binding of the symbol is changed. + +@code{setq} does not evaluate @var{symbol}; it sets the symbol that you +write. We say that this argument is @dfn{automatically quoted}. The +@samp{q} in @code{setq} stands for ``quoted.'' + +The value of the @code{setq} form is the value of the last @var{form}. + +@example +@group +(setq x (1+ 2)) + @result{} 3 +@end group +x ; @r{@code{x} now has a global value.} + @result{} 3 +@group +(let ((x 5)) + (setq x 6) ; @r{The local binding of @code{x} is set.} + x) + @result{} 6 +@end group +x ; @r{The global value is unchanged.} + @result{} 3 +@end example + +Note that the first @var{form} is evaluated, then the first +@var{symbol} is set, then the second @var{form} is evaluated, then the +second @var{symbol} is set, and so on: + +@example +@group +(setq x 10 ; @r{Notice that @code{x} is set before} + y (1+ x)) ; @r{the value of @code{y} is computed.} + @result{} 11 +@end group +@end example +@end defspec + +@defun set symbol value +This function sets @var{symbol}'s value to @var{value}, then returns +@var{value}. Since @code{set} is a function, the expression written for +@var{symbol} is evaluated to obtain the symbol to set. + +The most-local existing binding of the variable is the binding that is +set; shadowed bindings are not affected. + +@example +@group +(set one 1) +@error{} Symbol's value as variable is void: one +@end group +@group +(set 'one 1) + @result{} 1 +@end group +@group +(set 'two 'one) + @result{} one +@end group +@group +(set two 2) ; @r{@code{two} evaluates to symbol @code{one}.} + @result{} 2 +@end group +@group +one ; @r{So it is @code{one} that was set.} + @result{} 2 +(let ((one 1)) ; @r{This binding of @code{one} is set,} + (set 'one 3) ; @r{not the global value.} + one) + @result{} 3 +@end group +@group +one + @result{} 2 +@end group +@end example + +If @var{symbol} is not actually a symbol, a @code{wrong-type-argument} +error is signaled. + +@example +(set '(x y) 'z) +@error{} Wrong type argument: symbolp, (x y) +@end example + +Logically speaking, @code{set} is a more fundamental primitive than +@code{setq}. Any use of @code{setq} can be trivially rewritten to use +@code{set}; @code{setq} could even be defined as a macro, given the +availability of @code{set}. However, @code{set} itself is rarely used; +beginners hardly need to know about it. It is useful only for choosing +at run time which variable to set. For example, the command +@code{set-variable}, which reads a variable name from the user and then +sets the variable, needs to use @code{set}. + +@cindex CL note---@code{set} local +@quotation +@b{Common Lisp note:} In Common Lisp, @code{set} always changes the +symbol's ``special'' or dynamic value, ignoring any lexical bindings. +In Emacs Lisp, all variables and all bindings are dynamic, so @code{set} +always affects the most local existing binding. +@end quotation +@end defun + +@node Variable Scoping +@section Scoping Rules for Variable Bindings + + A given symbol @code{foo} can have several local variable bindings, +established at different places in the Lisp program, as well as a global +binding. The most recently established binding takes precedence over +the others. + +@cindex scope +@cindex extent +@cindex dynamic scoping +@cindex lexical scoping + Local bindings in Emacs Lisp have @dfn{indefinite scope} and +@dfn{dynamic extent}. @dfn{Scope} refers to @emph{where} textually in +the source code the binding can be accessed. ``Indefinite scope'' means +that any part of the program can potentially access the variable +binding. @dfn{Extent} refers to @emph{when}, as the program is +executing, the binding exists. ``Dynamic extent'' means that the binding +lasts as long as the activation of the construct that established it. + + The combination of dynamic extent and indefinite scope is called +@dfn{dynamic scoping}. By contrast, most programming languages use +@dfn{lexical scoping}, in which references to a local variable must be +located textually within the function or block that binds the variable. + +@cindex CL note---special variables +@quotation +@b{Common Lisp note:} Variables declared ``special'' in Common Lisp are +dynamically scoped, like all variables in Emacs Lisp. +@end quotation + +@menu +* Scope:: Scope means where in the program a value is visible. + Comparison with other languages. +* Extent:: Extent means how long in time a value exists. +* Impl of Scope:: Two ways to implement dynamic scoping. +* Using Scoping:: How to use dynamic scoping carefully and avoid problems. +@end menu + +@node Scope +@subsection Scope + + Emacs Lisp uses @dfn{indefinite scope} for local variable bindings. +This means that any function anywhere in the program text might access a +given binding of a variable. Consider the following function +definitions: + +@example +@group +(defun binder (x) ; @r{@code{x} is bound in @code{binder}.} + (foo 5)) ; @r{@code{foo} is some other function.} +@end group + +@group +(defun user () ; @r{@code{x} is used ``free'' in @code{user}.} + (list x)) +@end group +@end example + + In a lexically scoped language, the binding of @code{x} in +@code{binder} would never be accessible in @code{user}, because +@code{user} is not textually contained within the function +@code{binder}. However, in dynamically-scoped Emacs Lisp, @code{user} +may or may not refer to the binding of @code{x} established in +@code{binder}, depending on the circumstances: + +@itemize @bullet +@item +If we call @code{user} directly without calling @code{binder} at all, +then whatever binding of @code{x} is found, it cannot come from +@code{binder}. + +@item +If we define @code{foo} as follows and then call @code{binder}, then the +binding made in @code{binder} will be seen in @code{user}: + +@example +@group +(defun foo (lose) + (user)) +@end group +@end example + +@item +However, if we define @code{foo} as follows and then call @code{binder}, +then the binding made in @code{binder} @emph{will not} be seen in +@code{user}: + +@example +(defun foo (x) + (user)) +@end example + +@noindent +Here, when @code{foo} is called by @code{binder}, it binds @code{x}. +(The binding in @code{foo} is said to @dfn{shadow} the one made in +@code{binder}.) Therefore, @code{user} will access the @code{x} bound +by @code{foo} instead of the one bound by @code{binder}. +@end itemize + +Emacs Lisp uses dynamic scoping because simple implementations of +lexical scoping are slow. In addition, every Lisp system needs to offer +dynamic scoping at least as an option; if lexical scoping is the norm, +there must be a way to specify dynamic scoping instead for a particular +variable. It might not be a bad thing for Emacs to offer both, but +implementing it with dynamic scoping only was much easier. + +@node Extent +@subsection Extent + + @dfn{Extent} refers to the time during program execution that a +variable name is valid. In Emacs Lisp, a variable is valid only while +the form that bound it is executing. This is called @dfn{dynamic +extent}. ``Local'' or ``automatic'' variables in most languages, +including C and Pascal, have dynamic extent. + + One alternative to dynamic extent is @dfn{indefinite extent}. This +means that a variable binding can live on past the exit from the form +that made the binding. Common Lisp and Scheme, for example, support +this, but Emacs Lisp does not. + + To illustrate this, the function below, @code{make-add}, returns a +function that purports to add @var{n} to its own argument @var{m}. This +would work in Common Lisp, but it does not do the job in Emacs Lisp, +because after the call to @code{make-add} exits, the variable @code{n} +is no longer bound to the actual argument 2. + +@example +(defun make-add (n) + (function (lambda (m) (+ n m)))) ; @r{Return a function.} + @result{} make-add +(fset 'add2 (make-add 2)) ; @r{Define function @code{add2}} + ; @r{with @code{(make-add 2)}.} + @result{} (lambda (m) (+ n m)) +(add2 4) ; @r{Try to add 2 to 4.} +@error{} Symbol's value as variable is void: n +@end example + +@cindex closures not available + Some Lisp dialects have ``closures,'' objects that are like functions +but record additional variable bindings. Emacs Lisp does not have +closures. + +@node Impl of Scope +@subsection Implementation of Dynamic Scoping +@cindex deep binding + + A simple sample implementation (which is not how Emacs Lisp actually +works) may help you understand dynamic binding. This technique is +called @dfn{deep binding} and was used in early Lisp systems. + + Suppose there is a stack of bindings, which are variable-value pairs. +At entry to a function or to a @code{let} form, we can push bindings +onto the stack for the arguments or local variables created there. We +can pop those bindings from the stack at exit from the binding +construct. + + We can find the value of a variable by searching the stack from top to +bottom for a binding for that variable; the value from that binding is +the value of the variable. To set the variable, we search for the +current binding, then store the new value into that binding. + + As you can see, a function's bindings remain in effect as long as it +continues execution, even during its calls to other functions. That is +why we say the extent of the binding is dynamic. And any other function +can refer to the bindings, if it uses the same variables while the +bindings are in effect. That is why we say the scope is indefinite. + +@cindex shallow binding + The actual implementation of variable scoping in GNU Emacs Lisp uses a +technique called @dfn{shallow binding}. Each variable has a standard +place in which its current value is always found---the value cell of the +symbol. + + In shallow binding, setting the variable works by storing a value in +the value cell. Creating a new binding works by pushing the old value +(belonging to a previous binding) onto a stack, and storing the new +local value in the value cell. Eliminating a binding works by popping +the old value off the stack, into the value cell. + + We use shallow binding because it has the same results as deep +binding, but runs faster, since there is never a need to search for a +binding. + +@node Using Scoping +@subsection Proper Use of Dynamic Scoping + + Binding a variable in one function and using it in another is a +powerful technique, but if used without restraint, it can make programs +hard to understand. There are two clean ways to use this technique: + +@itemize @bullet +@item +Use or bind the variable only in a few related functions, written close +together in one file. Such a variable is used for communication within +one program. + +You should write comments to inform other programmers that they can see +all uses of the variable before them, and to advise them not to add uses +elsewhere. + +@item +Give the variable a well-defined, documented meaning, and make all +appropriate functions refer to it (but not bind it or set it) wherever +that meaning is relevant. For example, the variable +@code{case-fold-search} is defined as ``non-@code{nil} means ignore case +when searching''; various search and replace functions refer to it +directly or through their subroutines, but do not bind or set it. + +Then you can bind the variable in other programs, knowing reliably what +the effect will be. +@end itemize + + In either case, you should define the variable with @code{defvar}. +This helps other people understand your program by telling them to look +for inter-function usage. It also avoids a warning from the byte +compiler. Choose the variable's name to avoid name conflicts---don't +use short names like @code{x}. + +@node Buffer-Local Variables +@section Buffer-Local Variables +@cindex variable, buffer-local +@cindex buffer-local variables + + Global and local variable bindings are found in most programming - languages in one form or another. Emacs, however, also supports additional, - unusual kinds of variable binding: @dfn{buffer-local} bindings, which - apply only in one buffer, and @dfn{frame-local} bindings, which apply only in - one frame. Having different values for a variable in different buffers - and/or frames is an important customization method. - - This section describes buffer-local bindings; for frame-local - bindings, see the following section, @ref{Frame-Local Variables}. (A few - variables have bindings that are local to each terminal; see - @ref{Multiple Displays}.) ++languages in one form or another. Emacs, however, also supports ++additional, unusual kinds of variable binding, such as ++@dfn{buffer-local} bindings, which apply only in one buffer. Having ++different values for a variable in different buffers is an important ++customization method. (A few variables have bindings that are local ++to each terminal; see @ref{Multiple Displays}.) + +@menu +* Intro to Buffer-Local:: Introduction and concepts. +* Creating Buffer-Local:: Creating and destroying buffer-local bindings. +* Default Value:: The default value is seen in buffers + that don't have their own buffer-local values. +@end menu + +@node Intro to Buffer-Local +@subsection Introduction to Buffer-Local Variables + + A buffer-local variable has a buffer-local binding associated with a +particular buffer. The binding is in effect when that buffer is +current; otherwise, it is not in effect. If you set the variable while +a buffer-local binding is in effect, the new value goes in that binding, +so its other bindings are unchanged. This means that the change is +visible only in the buffer where you made it. + + The variable's ordinary binding, which is not associated with any +specific buffer, is called the @dfn{default binding}. In most cases, +this is the global binding. + + A variable can have buffer-local bindings in some buffers but not in +other buffers. The default binding is shared by all the buffers that +don't have their own bindings for the variable. (This includes all +newly-created buffers.) If you set the variable in a buffer that does - not have a buffer-local binding for it, this sets the default binding - (assuming there are no frame-local bindings to complicate the matter), ++not have a buffer-local binding for it, this sets the default binding, +so the new value is visible in all the buffers that see the default +binding. + + The most common use of buffer-local bindings is for major modes to change +variables that control the behavior of commands. For example, C mode and +Lisp mode both set the variable @code{paragraph-start} to specify that only +blank lines separate paragraphs. They do this by making the variable +buffer-local in the buffer that is being put into C mode or Lisp mode, and +then setting it to the new value for that mode. @xref{Major Modes}. + + The usual way to make a buffer-local binding is with +@code{make-local-variable}, which is what major mode commands typically +use. This affects just the current buffer; all other buffers (including +those yet to be created) will continue to share the default value unless +they are explicitly given their own buffer-local bindings. + +@cindex automatically buffer-local + A more powerful operation is to mark the variable as +@dfn{automatically buffer-local} by calling +@code{make-variable-buffer-local}. You can think of this as making the +variable local in all buffers, even those yet to be created. More +precisely, the effect is that setting the variable automatically makes +the variable local to the current buffer if it is not already so. All +buffers start out by sharing the default value of the variable as usual, +but setting the variable creates a buffer-local binding for the current +buffer. The new value is stored in the buffer-local binding, leaving +the default binding untouched. This means that the default value cannot +be changed with @code{setq} in any buffer; the only way to change it is +with @code{setq-default}. + - @strong{Warning:} When a variable has buffer-local or frame-local ++ @strong{Warning:} When a variable has buffer-local +bindings in one or more buffers, @code{let} rebinds the binding that's +currently in effect. For instance, if the current buffer has a +buffer-local value, @code{let} temporarily rebinds that. If no - buffer-local or frame-local bindings are in effect, @code{let} rebinds ++buffer-local bindings are in effect, @code{let} rebinds +the default value. If inside the @code{let} you then change to a +different current buffer in which a different binding is in effect, +you won't see the @code{let} binding any more. And if you exit the +@code{let} while still in the other buffer, you won't see the +unbinding occur (though it will occur properly). Here is an example +to illustrate: + +@example +@group +(setq foo 'g) +(set-buffer "a") +(make-local-variable 'foo) +@end group +(setq foo 'a) +(let ((foo 'temp)) + ;; foo @result{} 'temp ; @r{let binding in buffer @samp{a}} + (set-buffer "b") + ;; foo @result{} 'g ; @r{the global value since foo is not local in @samp{b}} + @var{body}@dots{}) +@group +foo @result{} 'g ; @r{exiting restored the local value in buffer @samp{a},} + ; @r{but we don't see that in buffer @samp{b}} +@end group +@group +(set-buffer "a") ; @r{verify the local value was restored} +foo @result{} 'a +@end group +@end example + + Note that references to @code{foo} in @var{body} access the +buffer-local binding of buffer @samp{b}. + + When a file specifies local variable values, these become buffer-local +values when you visit the file. @xref{File Variables,,, emacs, The +GNU Emacs Manual}. + +@node Creating Buffer-Local +@subsection Creating and Deleting Buffer-Local Bindings + +@deffn Command make-local-variable variable +This function creates a buffer-local binding in the current buffer for +@var{variable} (a symbol). Other buffers are not affected. The value +returned is @var{variable}. + +@c Emacs 19 feature +The buffer-local value of @var{variable} starts out as the same value +@var{variable} previously had. If @var{variable} was void, it remains +void. + +@example +@group +;; @r{In buffer @samp{b1}:} +(setq foo 5) ; @r{Affects all buffers.} + @result{} 5 +@end group +@group +(make-local-variable 'foo) ; @r{Now it is local in @samp{b1}.} + @result{} foo +@end group +@group +foo ; @r{That did not change} + @result{} 5 ; @r{the value.} +@end group +@group +(setq foo 6) ; @r{Change the value} + @result{} 6 ; @r{in @samp{b1}.} +@end group +@group +foo + @result{} 6 +@end group + +@group +;; @r{In buffer @samp{b2}, the value hasn't changed.} +(save-excursion + (set-buffer "b2") + foo) + @result{} 5 +@end group +@end example + +Making a variable buffer-local within a @code{let}-binding for that +variable does not work reliably, unless the buffer in which you do this +is not current either on entry to or exit from the @code{let}. This is +because @code{let} does not distinguish between different kinds of +bindings; it knows only which variable the binding was made for. + +If the variable is terminal-local, this function signals an error. Such +variables cannot have buffer-local bindings as well. @xref{Multiple +Displays}. + +@strong{Warning:} do not use @code{make-local-variable} for a hook +variable. The hook variables are automatically made buffer-local as +needed if you use the @var{local} argument to @code{add-hook} or +@code{remove-hook}. +@end deffn + +@deffn Command make-variable-buffer-local variable +This function marks @var{variable} (a symbol) automatically +buffer-local, so that any subsequent attempt to set it will make it +local to the current buffer at the time. + +A peculiar wrinkle of this feature is that binding the variable (with +@code{let} or other binding constructs) does not create a buffer-local +binding for it. Only setting the variable (with @code{set} or +@code{setq}), while the variable does not have a @code{let}-style +binding that was made in the current buffer, does so. + +If @var{variable} does not have a default value, then calling this +command will give it a default value of @code{nil}. If @var{variable} +already has a default value, that value remains unchanged. +Subsequently calling @code{makunbound} on @var{variable} will result +in a void buffer-local value and leave the default value unaffected. + +The value returned is @var{variable}. + +@strong{Warning:} Don't assume that you should use +@code{make-variable-buffer-local} for user-option variables, simply +because users @emph{might} want to customize them differently in +different buffers. Users can make any variable local, when they wish +to. It is better to leave the choice to them. + +The time to use @code{make-variable-buffer-local} is when it is crucial +that no two buffers ever share the same binding. For example, when a +variable is used for internal purposes in a Lisp program which depends +on having separate values in separate buffers, then using +@code{make-variable-buffer-local} can be the best solution. +@end deffn + +@defun local-variable-p variable &optional buffer +This returns @code{t} if @var{variable} is buffer-local in buffer +@var{buffer} (which defaults to the current buffer); otherwise, +@code{nil}. +@end defun + +@defun local-variable-if-set-p variable &optional buffer +This returns @code{t} if @var{variable} will become buffer-local in +buffer @var{buffer} (which defaults to the current buffer) if it is +set there. +@end defun + +@defun buffer-local-value variable buffer +This function returns the buffer-local binding of @var{variable} (a +symbol) in buffer @var{buffer}. If @var{variable} does not have a +buffer-local binding in buffer @var{buffer}, it returns the default +value (@pxref{Default Value}) of @var{variable} instead. +@end defun + +@defun buffer-local-variables &optional buffer +This function returns a list describing the buffer-local variables in +buffer @var{buffer}. (If @var{buffer} is omitted, the current buffer is +used.) It returns an association list (@pxref{Association Lists}) in +which each element contains one buffer-local variable and its value. +However, when a variable's buffer-local binding in @var{buffer} is void, +then the variable appears directly in the resulting list. + +@example +@group +(make-local-variable 'foobar) +(makunbound 'foobar) +(make-local-variable 'bind-me) +(setq bind-me 69) +@end group +(setq lcl (buffer-local-variables)) + ;; @r{First, built-in variables local in all buffers:} +@result{} ((mark-active . nil) + (buffer-undo-list . nil) + (mode-name . "Fundamental") + @dots{} +@group + ;; @r{Next, non-built-in buffer-local variables.} + ;; @r{This one is buffer-local and void:} + foobar + ;; @r{This one is buffer-local and nonvoid:} + (bind-me . 69)) +@end group +@end example + +Note that storing new values into the @sc{cdr}s of cons cells in this +list does @emph{not} change the buffer-local values of the variables. +@end defun + +@deffn Command kill-local-variable variable +This function deletes the buffer-local binding (if any) for +@var{variable} (a symbol) in the current buffer. As a result, the +default binding of @var{variable} becomes visible in this buffer. This +typically results in a change in the value of @var{variable}, since the +default value is usually different from the buffer-local value just +eliminated. + +If you kill the buffer-local binding of a variable that automatically +becomes buffer-local when set, this makes the default value visible in +the current buffer. However, if you set the variable again, that will +once again create a buffer-local binding for it. + +@code{kill-local-variable} returns @var{variable}. + +This function is a command because it is sometimes useful to kill one +buffer-local variable interactively, just as it is useful to create +buffer-local variables interactively. +@end deffn + +@defun kill-all-local-variables +This function eliminates all the buffer-local variable bindings of the +current buffer except for variables marked as ``permanent.'' As a +result, the buffer will see the default values of most variables. + +This function also resets certain other information pertaining to the +buffer: it sets the local keymap to @code{nil}, the syntax table to the +value of @code{(standard-syntax-table)}, the case table to +@code{(standard-case-table)}, and the abbrev table to the value of +@code{fundamental-mode-abbrev-table}. + +The very first thing this function does is run the normal hook +@code{change-major-mode-hook} (see below). + +Every major mode command begins by calling this function, which has the +effect of switching to Fundamental mode and erasing most of the effects +of the previous major mode. To ensure that this does its job, the +variables that major modes set should not be marked permanent. + +@code{kill-all-local-variables} returns @code{nil}. +@end defun + +@defvar change-major-mode-hook +The function @code{kill-all-local-variables} runs this normal hook +before it does anything else. This gives major modes a way to arrange +for something special to be done if the user switches to a different +major mode. It is also useful for buffer-specific minor modes +that should be forgotten if the user changes the major mode. + +For best results, make this variable buffer-local, so that it will +disappear after doing its job and will not interfere with the +subsequent major mode. @xref{Hooks}. +@end defvar + +@c Emacs 19 feature +@cindex permanent local variable +A buffer-local variable is @dfn{permanent} if the variable name (a +symbol) has a @code{permanent-local} property that is non-@code{nil}. +Permanent locals are appropriate for data pertaining to where the file +came from or how to save it, rather than with how to edit the contents. + +@node Default Value +@subsection The Default Value of a Buffer-Local Variable +@cindex default value + + The global value of a variable with buffer-local bindings is also +called the @dfn{default} value, because it is the value that is in +effect whenever neither the current buffer nor the selected frame has +its own binding for the variable. + + The functions @code{default-value} and @code{setq-default} access and +change a variable's default value regardless of whether the current +buffer has a buffer-local binding. For example, you could use +@code{setq-default} to change the default setting of +@code{paragraph-start} for most buffers; and this would work even when +you are in a C or Lisp mode buffer that has a buffer-local value for +this variable. + +@c Emacs 19 feature + The special forms @code{defvar} and @code{defconst} also set the +default value (if they set the variable at all), rather than any - buffer-local or frame-local value. ++buffer-local value. + +@defun default-value symbol +This function returns @var{symbol}'s default value. This is the value +that is seen in buffers and frames that do not have their own values for +this variable. If @var{symbol} is not buffer-local, this is equivalent +to @code{symbol-value} (@pxref{Accessing Variables}). +@end defun + +@c Emacs 19 feature +@defun default-boundp symbol +The function @code{default-boundp} tells you whether @var{symbol}'s +default value is nonvoid. If @code{(default-boundp 'foo)} returns +@code{nil}, then @code{(default-value 'foo)} would get an error. + +@code{default-boundp} is to @code{default-value} as @code{boundp} is to +@code{symbol-value}. +@end defun + +@defspec setq-default [symbol form]@dots{} +This special form gives each @var{symbol} a new default value, which is +the result of evaluating the corresponding @var{form}. It does not +evaluate @var{symbol}, but does evaluate @var{form}. The value of the +@code{setq-default} form is the value of the last @var{form}. + +If a @var{symbol} is not buffer-local for the current buffer, and is not +marked automatically buffer-local, @code{setq-default} has the same +effect as @code{setq}. If @var{symbol} is buffer-local for the current +buffer, then this changes the value that other buffers will see (as long +as they don't have a buffer-local value), but not the value that the +current buffer sees. + +@example +@group +;; @r{In buffer @samp{foo}:} +(make-local-variable 'buffer-local) + @result{} buffer-local +@end group +@group +(setq buffer-local 'value-in-foo) + @result{} value-in-foo +@end group +@group +(setq-default buffer-local 'new-default) + @result{} new-default +@end group +@group +buffer-local + @result{} value-in-foo +@end group +@group +(default-value 'buffer-local) + @result{} new-default +@end group + +@group +;; @r{In (the new) buffer @samp{bar}:} +buffer-local + @result{} new-default +@end group +@group +(default-value 'buffer-local) + @result{} new-default +@end group +@group +(setq buffer-local 'another-default) + @result{} another-default +@end group +@group +(default-value 'buffer-local) + @result{} another-default +@end group + +@group +;; @r{Back in buffer @samp{foo}:} +buffer-local + @result{} value-in-foo +(default-value 'buffer-local) + @result{} another-default +@end group +@end example +@end defspec + +@defun set-default symbol value +This function is like @code{setq-default}, except that @var{symbol} is +an ordinary evaluated argument. + +@example +@group +(set-default (car '(a b c)) 23) + @result{} 23 +@end group +@group +(default-value 'a) + @result{} 23 +@end group +@end example +@end defun + - @node Frame-Local Variables - @section Frame-Local Variables - @cindex frame-local variables - - Just as variables can have buffer-local bindings, they can also have - frame-local bindings. These bindings belong to one frame, and are in - effect when that frame is selected. Frame-local bindings are actually - frame parameters: you create a frame-local binding in a specific frame - by calling @code{modify-frame-parameters} and specifying the variable - name as the parameter name. - - To enable frame-local bindings for a certain variable, call the function - @code{make-variable-frame-local}. - - @deffn Command make-variable-frame-local variable - Enable the use of frame-local bindings for @var{variable}. This does - not in itself create any frame-local bindings for the variable; however, - if some frame already has a value for @var{variable} as a frame - parameter, that value automatically becomes a frame-local binding. - - If @var{variable} does not have a default value, then calling this - command will give it a default value of @code{nil}. If @var{variable} - already has a default value, that value remains unchanged. - - If the variable is terminal-local, this function signals an error, - because such variables cannot have frame-local bindings as well. - @xref{Multiple Displays}. A few variables that are implemented - specially in Emacs can be buffer-local, but can never be frame-local. - - This command returns @var{variable}. - @end deffn - - Buffer-local bindings take precedence over frame-local bindings. Thus, - consider a variable @code{foo}: if the current buffer has a buffer-local - binding for @code{foo}, that binding is active; otherwise, if the - selected frame has a frame-local binding for @code{foo}, that binding is - active; otherwise, the default binding of @code{foo} is active. - - Here is an example. First we prepare a few bindings for @code{foo}: - - @example - (setq f1 (selected-frame)) - (make-variable-frame-local 'foo) - - ;; @r{Make a buffer-local binding for @code{foo} in @samp{b1}.} - (set-buffer (get-buffer-create "b1")) - (make-local-variable 'foo) - (setq foo '(b 1)) - - ;; @r{Make a frame-local binding for @code{foo} in a new frame.} - ;; @r{Store that frame in @code{f2}.} - (setq f2 (make-frame)) - (modify-frame-parameters f2 '((foo . (f 2)))) - @end example - - Now we examine @code{foo} in various contexts. Whenever the - buffer @samp{b1} is current, its buffer-local binding is in effect, - regardless of the selected frame: - - @example - (select-frame f1) - (set-buffer (get-buffer-create "b1")) - foo - @result{} (b 1) - - (select-frame f2) - (set-buffer (get-buffer-create "b1")) - foo - @result{} (b 1) - @end example - - @noindent - Otherwise, the frame gets a chance to provide the binding; when frame - @code{f2} is selected, its frame-local binding is in effect: - - @example - (select-frame f2) - (set-buffer (get-buffer "*scratch*")) - foo - @result{} (f 2) - @end example - - @noindent - When neither the current buffer nor the selected frame provides - a binding, the default binding is used: - - @example - (select-frame f1) - (set-buffer (get-buffer "*scratch*")) - foo - @result{} nil - @end example - - @noindent - When the active binding of a variable is a frame-local binding, setting - the variable changes that binding. You can observe the result with - @code{frame-parameters}: - - @example - (select-frame f2) - (set-buffer (get-buffer "*scratch*")) - (setq foo 'nobody) - (assq 'foo (frame-parameters f2)) - @result{} (foo . nobody) - @end example - +@node Future Local Variables +@section Possible Future Local Variables + + We have considered the idea of bindings that are local to a category +of frames---for example, all color frames, or all frames with dark +backgrounds. We have not implemented them because it is not clear that +this feature is really useful. You can get more or less the same +results by adding a function to @code{after-make-frame-functions}, set up to +define a particular frame parameter according to the appropriate +conditions for each frame. + + It would also be possible to implement window-local bindings. We +don't know of many situations where they would be useful, and it seems +that indirect buffers (@pxref{Indirect Buffers}) with buffer-local +bindings offer a way to handle these situations more robustly. + + If sufficient application is found for either of these two kinds of +local bindings, we will provide it in a subsequent Emacs version. + +@node File Local Variables +@section File Local Variables +@cindex file local variables + + A file can specify local variable values; Emacs uses these to create +buffer-local bindings for those variables in the buffer visiting that +file. @xref{File variables, , Local Variables in Files, emacs, The +GNU Emacs Manual}, for basic information about file local variables. +This section describes the functions and variables that affect +processing of file local variables. + +@defopt enable-local-variables +This variable controls whether to process file local variables. +The possible values are: + +@table @asis +@item @code{t} (the default) +Set the safe variables, and query (once) about any unsafe variables. +@item @code{:safe} +Set only the safe variables and do not query. +@item @code{:all} +Set all the variables and do not query. +@item @code{nil} +Don't set any variables. +@item anything else +Query (once) about all the variables. +@end table +@end defopt + +@defun hack-local-variables &optional mode-only +This function parses, and binds or evaluates as appropriate, any local +variables specified by the contents of the current buffer. The variable +@code{enable-local-variables} has its effect here. However, this +function does not look for the @samp{mode:} local variable in the +@w{@samp{-*-}} line. @code{set-auto-mode} does that, also taking +@code{enable-local-variables} into account (@pxref{Auto Major Mode}). + +If the optional argument @var{mode-only} is non-@code{nil}, then all +this function does is return @code{t} if the @w{@samp{-*-}} line or +the local variables list specifies a mode and @code{nil} otherwise. +It does not set the mode nor any other file local variable. +@end defun + + If a file local variable could specify a function that would +be called later, or an expression that would be executed later, simply +visiting a file could take over your Emacs. Emacs takes several +measures to prevent this. + +@cindex safe local variable + You can specify safe values for a variable with a +@code{safe-local-variable} property. The property has to be +a function of one argument; any value is safe if the function +returns non-@code{nil} given that value. Many commonly encountered +file variables standardly have @code{safe-local-variable} properties, +including @code{fill-column}, @code{fill-prefix}, and +@code{indent-tabs-mode}. For boolean-valued variables that are safe, +use @code{booleanp} as the property value. Lambda expressions should +be quoted so that @code{describe-variable} can display the predicate. + +@defopt safe-local-variable-values +This variable provides another way to mark some variable values as +safe. It is a list of cons cells @code{(@var{var} . @var{val})}, +where @var{var} is a variable name and @var{val} is a value which is +safe for that variable. + +When Emacs asks the user whether or not to obey a set of file local +variable specifications, the user can choose to mark them as safe. +Doing so adds those variable/value pairs to +@code{safe-local-variable-values}, and saves it to the user's custom +file. +@end defopt + +@defun safe-local-variable-p sym val +This function returns non-@code{nil} if it is safe to give @var{sym} +the value @var{val}, based on the above criteria. +@end defun + +@c @cindex risky local variable Duplicates risky-local-variable + Some variables are considered @dfn{risky}. A variable whose name +ends in any of @samp{-command}, @samp{-frame-alist}, @samp{-function}, +@samp{-functions}, @samp{-hook}, @samp{-hooks}, @samp{-form}, +@samp{-forms}, @samp{-map}, @samp{-map-alist}, @samp{-mode-alist}, +@samp{-program}, or @samp{-predicate} is considered risky. The +variables @samp{font-lock-keywords}, @samp{font-lock-keywords} +followed by a digit, and @samp{font-lock-syntactic-keywords} are also +considered risky. Finally, any variable whose name has a +non-@code{nil} @code{risky-local-variable} property is considered +risky. + +@defun risky-local-variable-p sym +This function returns non-@code{nil} if @var{sym} is a risky variable, +based on the above criteria. +@end defun + + If a variable is risky, it will not be entered automatically into +@code{safe-local-variable-values} as described above. Therefore, +Emacs will always query before setting a risky variable, unless the +user explicitly allows the setting by customizing +@code{safe-local-variable-values} directly. + +@defvar ignored-local-variables +This variable holds a list of variables that should not be given local +values by files. Any value specified for one of these variables is +completely ignored. +@end defvar + + The @samp{Eval:} ``variable'' is also a potential loophole, so Emacs +normally asks for confirmation before handling it. + +@defopt enable-local-eval +This variable controls processing of @samp{Eval:} in @samp{-*-} lines +or local variables +lists in files being visited. A value of @code{t} means process them +unconditionally; @code{nil} means ignore them; anything else means ask +the user what to do for each file. The default value is @code{maybe}. +@end defopt + +@defopt safe-local-eval-forms +This variable holds a list of expressions that are safe to +evaluate when found in the @samp{Eval:} ``variable'' in a file +local variables list. +@end defopt + + If the expression is a function call and the function has a +@code{safe-local-eval-function} property, the property value +determines whether the expression is safe to evaluate. The property +value can be a predicate to call to test the expression, a list of +such predicates (it's safe if any predicate succeeds), or @code{t} +(always safe provided the arguments are constant). + + Text properties are also potential loopholes, since their values +could include functions to call. So Emacs discards all text +properties from string values specified for file local variables. + +@node Variable Aliases +@section Variable Aliases +@cindex variable aliases + + It is sometimes useful to make two variables synonyms, so that both +variables always have the same value, and changing either one also +changes the other. Whenever you change the name of a +variable---either because you realize its old name was not well +chosen, or because its meaning has partly changed---it can be useful +to keep the old name as an @emph{alias} of the new one for +compatibility. You can do this with @code{defvaralias}. + +@defun defvaralias new-alias base-variable &optional docstring +This function defines the symbol @var{new-alias} as a variable alias +for symbol @var{base-variable}. This means that retrieving the value +of @var{new-alias} returns the value of @var{base-variable}, and +changing the value of @var{new-alias} changes the value of +@var{base-variable}. The two aliased variable names always share the +same value and the same bindings. + +If the @var{docstring} argument is non-@code{nil}, it specifies the +documentation for @var{new-alias}; otherwise, the alias gets the same +documentation as @var{base-variable} has, if any, unless +@var{base-variable} is itself an alias, in which case @var{new-alias} gets +the documentation of the variable at the end of the chain of aliases. + +This function returns @var{base-variable}. +@end defun + + Variable aliases are convenient for replacing an old name for a +variable with a new name. @code{make-obsolete-variable} declares that +the old name is obsolete and therefore that it may be removed at some +stage in the future. + +@defun make-obsolete-variable obsolete-name current-name &optional when +This function makes the byte-compiler warn that the variable +@var{obsolete-name} is obsolete. If @var{current-name} is a symbol, it is +the variable's new name; then the warning message says to use +@var{current-name} instead of @var{obsolete-name}. If @var{current-name} +is a string, this is the message and there is no replacement variable. + +If provided, @var{when} should be a string indicating when the +variable was first made obsolete---for example, a date or a release +number. +@end defun + + You can make two variables synonyms and declare one obsolete at the +same time using the macro @code{define-obsolete-variable-alias}. + +@defmac define-obsolete-variable-alias obsolete-name current-name &optional when docstring +This macro marks the variable @var{obsolete-name} as obsolete and also +makes it an alias for the variable @var{current-name}. It is +equivalent to the following: + +@example +(defvaralias @var{obsolete-name} @var{current-name} @var{docstring}) +(make-obsolete-variable @var{obsolete-name} @var{current-name} @var{when}) +@end example +@end defmac + +@defun indirect-variable variable +This function returns the variable at the end of the chain of aliases +of @var{variable}. If @var{variable} is not a symbol, or if @var{variable} is +not defined as an alias, the function returns @var{variable}. + +This function signals a @code{cyclic-variable-indirection} error if +there is a loop in the chain of symbols. +@end defun + +@example +(defvaralias 'foo 'bar) +(indirect-variable 'foo) + @result{} bar +(indirect-variable 'bar) + @result{} bar +(setq bar 2) +bar + @result{} 2 +@group +foo + @result{} 2 +@end group +(setq foo 0) +bar + @result{} 0 +foo + @result{} 0 +@end example + +@node Variables with Restricted Values +@section Variables with Restricted Values + + Ordinary Lisp variables can be assigned any value that is a valid +Lisp object. However, certain Lisp variables are not defined in Lisp, +but in C. Most of these variables are defined in the C code using +@code{DEFVAR_LISP}. Like variables defined in Lisp, these can take on +any value. However, some variables are defined using +@code{DEFVAR_INT} or @code{DEFVAR_BOOL}. @xref{Defining Lisp +variables in C,, Writing Emacs Primitives}, in particular the +description of functions of the type @code{syms_of_@var{filename}}, +for a brief discussion of the C implementation. + + Variables of type @code{DEFVAR_BOOL} can only take on the values +@code{nil} or @code{t}. Attempting to assign them any other value +will set them to @code{t}: + +@example +(let ((display-hourglass 5)) + display-hourglass) + @result{} t +@end example + +@defvar byte-boolean-vars +This variable holds a list of all variables of type @code{DEFVAR_BOOL}. +@end defvar + + Variables of type @code{DEFVAR_INT} can only take on integer values. +Attempting to assign them any other value will result in an error: + +@example +(setq window-min-height 5.0) +@error{} Wrong type argument: integerp, 5.0 +@end example + +@ignore + arch-tag: 5ff62c44-2b51-47bb-99d4-fea5aeec5d3e +@end ignore diff --cc etc/ChangeLog index e3e09f025ad,c783ac3426b..d96a8a8cca4 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@@ -1,12 -1,7 +1,16 @@@ +2007-10-25 Jonathan Yavner + + * ses-example.ses: Get rid of silly life-universe-everything local + variable. `symbolic-formulas' is now `ses--symbolic-formulas'. + + 2007-10-24 Juanma Barranquero + + * NEWS: Mention desktop locking. + +2007-10-10 Eric S. Raymond + + * NEWS: Explain the VC fileset changes a bit better. + 2007-09-28 Glenn Morris * PROBLEMS: Mention Tex superscript font issue. diff --cc etc/NEWS.22 index 2976387c571,00000000000..89e90fb361a mode 100644,000000..100644 --- a/etc/NEWS.22 +++ b/etc/NEWS.22 @@@ -1,5492 -1,0 +1,5501 @@@ +GNU Emacs NEWS -- history of user-visible changes. + +Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 + Free Software Foundation, Inc. +See the end of the file for license conditions. + +Please send Emacs bug reports to bug-gnu-emacs@gnu.org. +If possible, use M-x report-emacs-bug. + +This file is about changes in Emacs version 22. + +See files NEWS.21, NEWS.20, NEWS.19, NEWS.18, and NEWS.1-17 for changes +in older Emacs versions. + +You can narrow news to a specific version by calling `view-emacs-news' +with a prefix argument or by typing C-u C-h C-n. + +* About external Lisp packages + +When you upgrade to Emacs 22 from a previous version, some older +versions of external Lisp packages are known to behave badly. +So in general, it is recommended that you upgrade to the latest +versions of any external Lisp packages that you are using. + +You should also be aware that many Lisp packages have been included +with Emacs 22 (see the extensive list below), and you should remove +any older versions of these packages to ensure that the Emacs 22 +version is used. You can use M-x list-load-path-shadows to find such +older packages. + +Some specific packages that are known to cause problems are given +below. Emacs tries to warn you about these through `bad-packages-alist'. + +** Semantic (used by CEDET, ECB, JDEE): upgrade to latest version. + +** cua.el, cua-mode.el: remove old versions. + +* Installation Changes in Emacs 22.2 + +** Emacs is now licensed under the GNU GPL version 3 (or later). + +* Changes in Emacs 22.2 + +** `browse-url-emacs' loads a URL into an Emacs buffer. Handy for *.el URLs. + +** `bad-packages-alist' will warn about external packages that are known +to cause problems in this version of Emacs. + +** The values of `dired-recursive-deletes' and `dired-recursive-copies' +have been changed to `top'. This means that the user is asked once, +before deleting/copying the indicated directory recursively. + +** In Image mode, whenever the displayed image is wider and/or higher +than the window, the usual keys for moving the cursor cause the image +to be scrolled horizontally or vertically instead. + +** Scrollbars follow the system theme on Windows XP and later. +Windows XP introduced themed scrollbars, but applications have to take +special steps to use them. Emacs now has the appropriate resources linked +in to make it use the scrollbars from the system theme. + - ** focus-follows-mouse defaults to nil on MS Windows ++** focus-follows-mouse defaults to nil on MS Windows. +Previously this variable was incorrectly documented as having no effect +on MS Windows, and the default was inappropriate for the majority of +Windows installations. Users of software which modifies the behaviour of +Windows to cause focus to follow the mouse will now need to explicitly set +this variable. + +** The command gdba has been removed as gdb works now for those cases where it +was needed. In text command mode, if you have problems before execution has +started, use M-x gud-gdb. + ++** desktop.el now detects conflicting uses of the desktop file. ++When loading the desktop, desktop.el can now detect that the file is already ++in use. The default behavior is to ask the user what to do, but you can ++customize it with the new option `desktop-load-locked-desktop'. When saving, ++desktop.el warns about attempts to overwrite a desktop file if it determines ++that the desktop being saved is not an update of the one on disk. ++ +* New Modes and Packages in Emacs 22.2 + +** bibtex-style-mode helps you write BibTeX's *.bst files. + +** The new package css-mode.el provides a major mode for editing CSS files. + +** The new package vera-mode.el provides a major mode for editing Vera files. + +** The new package socks.el implements the SOCKS v5 protocol. + +** VC + +*** VC backends can provide completion of revision names. + +*** VC backends can provide extra menu entries to be added to the "Version Control" menu. +This can be used to add menu entries for backend specific functions. + +*** VC has some support for Mercurial (Hg). + +*** VC has some support for Monotone (Mtn). + +*** VC has some support for Bazaar (Bzr). + +*** VC has some support for Git. + +* Lisp Changes in Emacs 22.2. + ++** Frame-local variables are deprecated and are slated for removal. ++ Use frame parameters instead. +** The function invisible-p returns non-nil if the character +after a specified position is invisible. + ++++ +** inhibit-modification-hooks is bound to t while running modification hooks. +As a happy consequence, after-change-functions and before-change-functions +are not bound to nil any more while running an (after|before)-change-function. + +** New function `window-full-width-p' returns t if a window is as wide +as its frame. + +** The new function `image-refresh' refreshes all images associated +with a given image specification. + +** The new function `split-string-and-unquote' does (what?) + +** The new function `combine-and-quote-strings' does (what?) + +* Installation Changes in Emacs 22.1 + +** You can build Emacs with Gtk+ widgets by specifying `--with-x-toolkit=gtk' +when you run configure. This requires Gtk+ 2.4 or newer. This port +provides a way to display multilingual text in menus (with some caveats). + +** The Emacs Lisp Reference Manual is now part of the distribution. + +The Emacs Lisp Reference Manual in Info format is built as part of the +Emacs build procedure and installed together with the Emacs User +Manual. A menu item was added to the menu bar to make it easily +accessible (Help->More Manuals->Emacs Lisp Reference). + +** The Introduction to Programming in Emacs Lisp manual is now part of +the distribution. + +This manual is now part of the standard distribution and is installed, +together with the Emacs User Manual, into the Info directory. A menu +item was added to the menu bar to make it easily accessible +(Help->More Manuals->Introduction to Emacs Lisp). + +** Leim is now part of the Emacs distribution. +You no longer need to download a separate tarball in order to build +Emacs with Leim. + +** Support for MacOS X was added. +See the files mac/README and mac/INSTALL for build instructions. + +** Mac OS 9 port now uses the Carbon API by default. You can also +create a non-Carbon build by specifying `NonCarbon' as a target. See +the files mac/README and mac/INSTALL for build instructions. + +** Support for a Cygwin build of Emacs was added. + +** Support for GNU/Linux systems on X86-64 machines was added. + +** Support for GNU/Linux systems on S390 machines was added. + +** Support for GNU/Linux systems on Tensilica Xtensa machines was added. + +** Support for FreeBSD/Alpha has been added. + +** New translations of the Emacs Tutorial are available in the +following languages: Brasilian Portuguese, Bulgarian, Chinese (both +with simplified and traditional characters), French, Russian, and +Italian. Type `C-u C-h t' to choose one of them in case your language +setup doesn't automatically select the right one. + +** New translations of the Emacs reference card are available in the +Brasilian Portuguese and Russian. The corresponding PostScript files +are also included. + +** A French translation of the `Emacs Survival Guide' is available. + +** Emacs now supports new configure options `--program-prefix', +`--program-suffix' and `--program-transform-name' that affect the names of +installed programs. + +** By default, Emacs now uses a setgid helper program to update game +scores. The directory ${localstatedir}/games/emacs is the normal +place for game scores to be stored. You can control this with the +configure option `--with-game-dir'. The specific user that Emacs uses +to own the game scores is controlled by `--with-game-user'. If access +to a game user is not available, then scores will be stored separately +in each user's home directory. + +** Emacs now includes support for loading image libraries on demand. +(Currently this feature is only used on MS Windows.) You can configure +the supported image types and their associated dynamic libraries by +setting the variable `image-library-alist'. + +** Emacs can now be built without sound support. + +** Emacs Lisp source files are compressed by default if `gzip' is available. + +** All images used in Emacs have been consolidated in etc/images and subdirs. +See also the changes to `find-image', documented below. + +** Emacs comes with a new set of icons. +These icons are displayed on the taskbar and/or titlebar when Emacs +runs in a graphical environment. Source files for these icons can be +found in etc/images/icons. (You can't change the icons displayed by +Emacs by changing these files directly. On X, the icon is compiled +into the Emacs executable; see gnu.h in the source tree. On MS +Windows, see nt/icons/emacs.ico.) + +** The `emacsserver' program has been removed, replaced with Lisp code. + +** The `yow' program has been removed. +Use the corresponding Emacs feature instead. + +** The Emacs terminal emulation in term.el uses a different terminfo name. +The Emacs terminal emulation in term.el now uses "eterm-color" as its +terminfo name, since term.el now supports color. + +** The script etc/emacs-buffer.gdb can be used with gdb to retrieve the +contents of buffers from a core dump and save them to files easily, should +Emacs crash. + +** Building with -DENABLE_CHECKING does not automatically build with union +types any more. Add -DUSE_LISP_UNION_TYPE if you want union types. + +** When pure storage overflows while dumping, Emacs now prints how +much pure storage it will approximately need. + + +* Startup Changes in Emacs 22.1 + +** Init file changes +If the init file ~/.emacs does not exist, Emacs will try +~/.emacs.d/init.el or ~/.emacs.d/init.elc. Likewise, if the shell init file +~/.emacs_SHELL is not found, Emacs will try ~/.emacs.d/init_SHELL.sh. + +** Emacs can now be invoked in full-screen mode on a windowed display. +When Emacs is invoked on a window system, the new command-line options +`--fullwidth', `--fullheight', and `--fullscreen' produce a frame +whose width, height, or both width and height take up the entire +screen size. (For now, this does not work with some window managers.) + +** Emacs now displays a splash screen by default even if command-line +arguments were given. The new command-line option --no-splash +disables the splash screen; see also the variable +`inhibit-splash-screen' (which is also aliased as +`inhibit-startup-message'). + +** New user option `inhibit-startup-buffer-menu'. +When loading many files, for instance with `emacs *', Emacs normally +displays a buffer menu. This option turns the buffer menu off. + +** New command line option -nbc or --no-blinking-cursor disables +the blinking cursor on graphical terminals. + +** The option --script FILE runs Emacs in batch mode and loads FILE. +It is useful for writing Emacs Lisp shell script files, because they +can start with this line: + + #!/usr/bin/emacs --script + +** The -f option, used from the command line to call a function, +now reads arguments for the function interactively if it is +an interactively callable function. + +** The option --directory DIR now modifies `load-path' immediately. +Directories are added to the front of `load-path' in the order they +appear on the command line. For example, with this command line: + + emacs -batch -L .. -L /tmp --eval "(require 'foo)" + +Emacs looks for library `foo' in the parent directory, then in /tmp, then +in the other directories in `load-path'. (-L is short for --directory.) + +** When you specify a frame size with --geometry, the size applies to +all frames you create. A position specified with --geometry only +affects the initial frame. + +** Emacs built for MS-Windows now behaves like Emacs on X does, +with respect to its frame position: if you don't specify a position +(in your .emacs init file, in the Registry, or with the --geometry +command-line option), Emacs leaves the frame position to the Windows' +window manager. + +** The command line option --no-windows has been changed to +--no-window-system. The old one still works, but is deprecated. + +** If the environment variable DISPLAY specifies an unreachable X display, +Emacs will now startup as if invoked with the --no-window-system option. + +** Emacs now reads the standard abbrevs file ~/.abbrev_defs +automatically at startup, if it exists. When Emacs offers to save +modified buffers, it saves the abbrevs too if they have changed. It +can do this either silently or asking for confirmation first, +according to the value of `save-abbrevs'. + +** New command line option -Q or --quick. +This is like using -q --no-site-file, but in addition it also disables +the fancy startup screen. + +** New command line option -D or --basic-display. +Disables the menu-bar, the tool-bar, the scroll-bars, tool tips, and +the blinking cursor. + +** The default is now to use a bitmap as the icon. +The command-line options --icon-type, -i have been replaced with +options --no-bitmap-icon, -nbi to turn the bitmap icon off. + +** If the environment variable EMAIL is defined, Emacs now uses its value +to compute the default value of `user-mail-address', in preference to +concatenation of `user-login-name' with the name of your host machine. + + +* Incompatible Editing Changes in Emacs 22.1 + +** You can now follow links by clicking Mouse-1 on the link. + +See below for more details. + +** When the undo information of the current command gets really large +(beyond the value of `undo-outer-limit'), Emacs discards it and warns +you about it. + +** When Emacs prompts for file names, SPC no longer completes the file name. +This is so filenames with embedded spaces could be input without the +need to quote the space with a C-q. The underlying changes in the +keymaps that are active in the minibuffer are described below under +"New keymaps for typing file names". + +If you want the old behavior back, add these two key bindings to your +~/.emacs init file: + + (define-key minibuffer-local-filename-completion-map + " " 'minibuffer-complete-word) + (define-key minibuffer-local-must-match-filename-map + " " 'minibuffer-complete-word) + +** The completion commands TAB, SPC and ? in the minibuffer apply only +to the text before point. If there is text in the buffer after point, +it remains unchanged. + +** In incremental search, C-w is changed. M-%, C-M-w and C-M-y are special. + +See below under "incremental search changes". + +** M-g is now a prefix key. +M-g g and M-g M-g run goto-line. +M-g n and M-g M-n run next-error (like C-x `). +M-g p and M-g M-p run previous-error. + +** C-u M-g M-g switches to the most recent previous buffer, +and goes to the specified line in that buffer. + +When goto-line starts to execute, if there's a number in the buffer at +point then it acts as the default argument for the minibuffer. + +** M-o now is the prefix key for setting text properties; +M-o M-o requests refontification. + +** C-x C-f RET (find-file), typing nothing in the minibuffer, is no longer +a special case. + +Since the default input is the current directory, this has the effect +of specifying the current directory. Normally that means to visit the +directory with Dired. + +You can get the old behavior by typing C-x C-f M-n RET, which fetches +the actual file name into the minibuffer. + +** In Dired's ! command (dired-do-shell-command), `*' and `?' now +control substitution of the file names only when they are surrounded +by whitespace. This means you can now use them as shell wildcards +too. If you want to use just plain `*' as a wildcard, type `*""'; the +doublequotes make no difference in the shell, but they prevent +special treatment in `dired-do-shell-command'. + +** The info-search bindings on C-h C-f, C-h C-k and C-h C-i +have been moved to C-h F, C-h K and C-h S. + +** `apply-macro-to-region-lines' now operates on all lines that begin +in the region, rather than on all complete lines in the region. + +** line-move-ignore-invisible now defaults to t. + +** Adaptive filling misfeature removed. +It no longer treats `NNN.' or `(NNN)' as a prefix. + +** The old bindings C-M-delete and C-M-backspace have been deleted, +since there are situations where one or the other will shut down +the operating system or your X server. + +** The register compatibility key bindings (deprecated since Emacs 19) +have been removed: + C-x / point-to-register (Use: C-x r SPC) + C-x j jump-to-register (Use: C-x r j) + C-x x copy-to-register (Use: C-x r s) + C-x g insert-register (Use: C-x r i) + + +* Editing Changes in Emacs 22.1 + +** The max size of buffers and integers has been doubled. +On 32bit machines, it is now 256M (i.e. 268435455). + +** !MEM FULL! at the start of the mode line indicates that Emacs +cannot get any more memory for Lisp data. This often means it could +crash soon if you do things that use more memory. On most systems, +killing buffers will get out of this state. If killing buffers does +not make !MEM FULL! disappear, you should save your work and start +a new Emacs. + +** `undo-only' does an undo which does not redo any previous undo. + +** Yanking text now discards certain text properties that can +be inconvenient when you did not expect them. The variable +`yank-excluded-properties' specifies which ones. Insertion +of register contents and rectangles also discards these properties. + +** New command `kill-whole-line' kills an entire line at once. +By default, it is bound to C-S-. + +** M-SPC (just-one-space) when given a numeric argument N +converts whitespace around point to N spaces. + +** You can now switch buffers in a cyclic order with C-x C-left +(previous-buffer) and C-x C-right (next-buffer). C-x left and +C-x right can be used as well. The functions keep a different buffer +cycle for each frame, using the frame-local buffer list. + +** C-x 5 C-o displays a specified buffer in another frame +but does not switch to that frame. It's the multi-frame +analogue of C-x 4 C-o. + +** `special-display-buffer-names' and `special-display-regexps' now +understand two new boolean pseudo-frame-parameters `same-frame' and +`same-window'. + +** New commands to operate on pairs of open and close characters: +`insert-pair', `delete-pair', `raise-sexp'. + +** M-x setenv now expands environment variable references. + +Substrings of the form `$foo' and `${foo}' in the specified new value +now refer to the value of environment variable foo. To include a `$' +in the value, use `$$'. + +** The default values of paragraph-start and indent-line-function have +been changed to reflect those used in Text mode rather than those used +in Paragraph-Indent Text mode. + +** The default for the paper size (variable ps-paper-type) is taken +from the locale. + +** Help command changes: + +*** Changes in C-h bindings: + +C-h e displays the *Messages* buffer. + +C-h d runs apropos-documentation. + +C-h r visits the Emacs Manual in Info. + +C-h followed by a control character is used for displaying files + that do not change: + +C-h C-f displays the FAQ. +C-h C-e displays the PROBLEMS file. + +The info-search bindings on C-h C-f, C-h C-k and C-h C-i +have been moved to C-h F, C-h K and C-h S. + +C-h c, C-h k, C-h w, and C-h f now handle remapped interactive commands. +- C-h c and C-h k report the actual command (after possible remapping) + run by the key sequence. +- C-h w and C-h f on a command which has been remapped now report the + command it is remapped to, and the keys which can be used to run + that command. + +For example, if C-k is bound to kill-line, and kill-line is remapped +to new-kill-line, these commands now report: +- C-h c and C-h k C-k reports: + C-k runs the command new-kill-line +- C-h w and C-h f kill-line reports: + kill-line is remapped to new-kill-line which is on C-k, +- C-h w and C-h f new-kill-line reports: + new-kill-line is on C-k + +*** The apropos commands now accept a list of words to match. +When more than one word is specified, at least two of those words must +be present for an item to match. Regular expression matching is still +available. + +*** The new option `apropos-sort-by-scores' causes the matching items +to be sorted according to their score. The score for an item is a +number calculated to indicate how well the item matches the words or +regular expression that you entered to the apropos command. The best +match is listed first, and the calculated score is shown for each +matching item. + +*** Help commands `describe-function' and `describe-key' now show function +arguments in lowercase italics on displays that support it. To change the +default, customize face `help-argument-name' or redefine the function +`help-default-arg-highlight'. + +*** C-h v and C-h f commands now include a hyperlink to the C source for +variables and functions defined in C (if the C source is available). + +*** Help mode now only makes hyperlinks for faces when the face name is +preceded or followed by the word `face'. It no longer makes +hyperlinks for variables without variable documentation, unless +preceded by one of the words `variable' or `option'. It now makes +hyperlinks to Info anchors (or nodes) if the anchor (or node) name is +enclosed in single quotes and preceded by `info anchor' or `Info +anchor' (in addition to earlier `info node' and `Info node'). In +addition, it now makes hyperlinks to URLs as well if the URL is +enclosed in single quotes and preceded by `URL'. + +*** The new command `describe-char' (C-u C-x =) pops up a buffer with +description various information about a character, including its +encodings and syntax, its text properties, how to input, overlays, and +widgets at point. You can get more information about some of them, by +clicking on mouse-sensitive areas or moving there and pressing RET. + +*** The command `list-text-properties-at' has been deleted because +C-u C-x = gives the same information and more. + +*** New command `display-local-help' displays any local help at point +in the echo area. It is bound to `C-h .'. It normally displays the +same string that would be displayed on mouse-over using the +`help-echo' property, but, in certain cases, it can display a more +keyboard oriented alternative. + +*** New user option `help-at-pt-display-when-idle' allows you to +automatically show the help provided by `display-local-help' on +point-over, after suitable idle time. The amount of idle time is +determined by the user option `help-at-pt-timer-delay' and defaults +to one second. This feature is turned off by default. + +** Mark command changes: + +*** A prefix argument is no longer required to repeat a jump to a +previous mark if you set `set-mark-command-repeat-pop' to t. I.e. C-u +C-SPC C-SPC C-SPC ... cycles through the mark ring. Use C-u C-u C-SPC +to set the mark immediately after a jump. + +*** Marking commands extend the region when invoked multiple times. + +If you type C-M-SPC (mark-sexp), M-@ (mark-word), M-h +(mark-paragraph), or C-M-h (mark-defun) repeatedly, the marked region +extends each time, so you can mark the next two sexps with M-C-SPC +M-C-SPC, for example. This feature also works for +mark-end-of-sentence, if you bind that to a key. It also extends the +region when the mark is active in Transient Mark mode, regardless of +the last command. To start a new region with one of marking commands +in Transient Mark mode, you can deactivate the active region with C-g, +or set the new mark with C-SPC. + +*** Some commands do something special in Transient Mark mode when the +mark is active--for instance, they limit their operation to the +region. Even if you don't normally use Transient Mark mode, you might +want to get this behavior from a particular command. There are two +ways you can enable Transient Mark mode and activate the mark, for one +command only. + +One method is to type C-SPC C-SPC; this enables Transient Mark mode +and sets the mark at point. The other method is to type C-u C-x C-x. +This enables Transient Mark mode temporarily but does not alter the +mark or the region. + +After these commands, Transient Mark mode remains enabled until you +deactivate the mark. That typically happens when you type a command +that alters the buffer, but you can also deactivate the mark by typing +C-g. + +*** Movement commands `beginning-of-buffer', `end-of-buffer', +`beginning-of-defun', `end-of-defun' do not set the mark if the mark +is already active in Transient Mark mode. + +*** M-h (mark-paragraph) now accepts a prefix arg. + +With positive arg, M-h marks the current and the following paragraphs; +if the arg is negative, it marks the current and the preceding +paragraphs. + +** Incremental Search changes: + +*** M-% typed in isearch mode invokes `query-replace' or +`query-replace-regexp' (depending on search mode) with the current +search string used as the string to replace. + +*** C-w in incremental search now grabs either a character or a word, +making the decision in a heuristic way. This new job is done by the +command `isearch-yank-word-or-char'. To restore the old behavior, +bind C-w to `isearch-yank-word' in `isearch-mode-map'. + +*** C-y in incremental search now grabs the next line if point is already +at the end of a line. + +*** C-M-w deletes and C-M-y grabs a character in isearch mode. +Another method to grab a character is to enter the minibuffer by `M-e' +and to type `C-f' at the end of the search string in the minibuffer. + +*** Vertical scrolling is now possible within incremental search. +To enable this feature, customize the new user option +`isearch-allow-scroll'. User written commands which satisfy stringent +constraints can be marked as "scrolling commands". See the Emacs manual +for details. + +*** Isearch no longer adds `isearch-resume' commands to the command +history by default. To enable this feature, customize the new +user option `isearch-resume-in-command-history'. + +** Replace command changes: + +*** When used interactively, the commands `query-replace-regexp' and +`replace-regexp' allow \,expr to be used in a replacement string, +where expr is an arbitrary Lisp expression evaluated at replacement +time. `\#' in a replacement string now refers to the count of +replacements already made by the replacement command. All regular +expression replacement commands now allow `\?' in the replacement +string to specify a position where the replacement string can be +edited for each replacement. `query-replace-regexp-eval' is now +deprecated since it offers no additional functionality. + +*** query-replace uses isearch lazy highlighting when the new user option +`query-replace-lazy-highlight' is non-nil. + +*** The current match in query-replace is highlighted in new face +`query-replace' which by default inherits from isearch face. + +*** New user option `query-replace-skip-read-only': when non-nil, +`query-replace' and related functions simply ignore +a match if part of it has a read-only property. + +** Local variables lists: + +*** If the local variables list contains any variable-value pairs that +are not known to be safe, Emacs shows a prompt asking whether to apply +the local variables list as a whole. In earlier versions, a prompt +was only issued for variables explicitly marked as risky (for the +definition of risky variables, see `risky-local-variable-p'). + +At the prompt, you can choose to save the contents of this local +variables list to `safe-local-variable-values'. This new customizable +option is a list of variable-value pairs that are known to be safe. +Variables can also be marked as safe with the existing +`safe-local-variable' property (see `safe-local-variable-p'). +However, risky variables will not be added to +`safe-local-variable-values' in this way. + +*** The variable `enable-local-variables' controls how local variable +lists are handled. t, the default, specifies the standard querying +behavior. :safe means use only safe values, and ignore the rest. +:all means set all variables, whether or not they are safe. +nil means ignore them all. Anything else means always query. + +*** The variable `safe-local-eval-forms' specifies a list of forms that +are ok to evaluate when they appear in an `eval' local variables +specification. Normally Emacs asks for confirmation before evaluating +such a form, but if the form appears in this list, no confirmation is +needed. + +*** If a function has a non-nil `safe-local-eval-function' property, +that means it is ok to evaluate some calls to that function when it +appears in an `eval' local variables specification. If the property +is t, then any form calling that function with constant arguments is +ok. If the property is a function or list of functions, they are called +with the form as argument, and if any returns t, the form is ok to call. + +If the form is not "ok to call", that means Emacs asks for +confirmation as before. + +*** In processing a local variables list, Emacs strips the prefix and +suffix from every line before processing all the lines. + +*** Text properties in local variables. + +A file local variables list cannot specify a string with text +properties--any specified text properties are discarded. + +** File operation changes: + +*** Unquoted `$' in file names do not signal an error any more when +the corresponding environment variable does not exist. +Instead, the `$ENVVAR' text is left as is, so that `$$' quoting +is only rarely needed. + +*** C-x C-f RET, typing nothing in the minibuffer, is no longer a special case. + +Since the default input is the current directory, this has the effect +of specifying the current directory. Normally that means to visit the +directory with Dired. + +*** C-x s (save-some-buffers) now offers an option `d' to diff a buffer +against its file, so you can see what changes you would be saving. + +*** Auto Compression mode is now enabled by default. + +*** If the user visits a file larger than `large-file-warning-threshold', +Emacs asks for confirmation. + +*** The commands copy-file, rename-file, make-symbolic-link and +add-name-to-file, when given a directory as the "new name" argument, +convert it to a file name by merging in the within-directory part of +the existing file's name. (This is the same convention that shell +commands cp, mv, and ln follow.) Thus, M-x copy-file RET ~/foo RET +/tmp RET copies ~/foo to /tmp/foo. + +*** require-final-newline now has two new possible values: + +`visit' means add a newline (as an undoable change) if it's needed +when visiting the file. + +`visit-save' means add a newline (as an undoable change) if it's +needed when visiting the file, and also add a newline if it's needed +when saving the file. + +*** The new option mode-require-final-newline controls how certain +major modes enable require-final-newline. Any major mode that's +designed for a kind of file that should normally end in a newline +sets require-final-newline based on mode-require-final-newline. +So you can customize mode-require-final-newline to control what these +modes do. + +*** When you are root, and you visit a file whose modes specify +read-only, the Emacs buffer is now read-only too. Type C-x C-q if you +want to make the buffer writable. (As root, you can in fact alter the +file.) + +*** find-file-read-only visits multiple files in read-only mode, +when the file name contains wildcard characters. + +*** find-alternate-file replaces the current file with multiple files, +when the file name contains wildcard characters. It now asks if you +wish save your changes and not just offer to kill the buffer. + +*** When used interactively, `format-write-file' now asks for confirmation +before overwriting an existing file, unless a prefix argument is +supplied. This behavior is analogous to `write-file'. + +*** The variable `auto-save-file-name-transforms' now has a third element that +controls whether or not the function `make-auto-save-file-name' will +attempt to construct a unique auto-save name (e.g. for remote files). + +*** The new option `write-region-inhibit-fsync' disables calls to fsync +in `write-region'. This can be useful on laptops to avoid spinning up +the hard drive upon each file save. Enabling this variable may result +in data loss, use with care. + +** Minibuffer changes: + +*** The completion commands TAB, SPC and ? in the minibuffer apply only +to the text before point. If there is text in the buffer after point, +it remains unchanged. + +*** The new file-name-shadow-mode is turned ON by default, so that when +entering a file name, any prefix which Emacs will ignore is dimmed. + +*** There's a new face `minibuffer-prompt'. +Emacs adds this face to the list of text properties stored in the +variable `minibuffer-prompt-properties', which is used to display the +prompt string. + +*** Enhanced visual feedback in `*Completions*' buffer. + +Completions lists use faces to highlight what all completions +have in common and where they begin to differ. + +The common prefix shared by all possible completions uses the face +`completions-common-part', while the first character that isn't the +same uses the face `completions-first-difference'. By default, +`completions-common-part' inherits from `default', and +`completions-first-difference' inherits from `bold'. The idea of +`completions-common-part' is that you can use it to make the common +parts less visible than normal, so that the rest of the differing +parts is, by contrast, slightly highlighted. + +Above fontification is always done when listing completions is +triggered at minibuffer. If you want to fontify completions whose +listing is triggered at the other normal buffer, you have to pass +the common prefix of completions to `display-completion-list' as +its second argument. + +*** File-name completion can now ignore specified directories. +If an element of the list in `completion-ignored-extensions' ends in a +slash `/', it indicates a subdirectory that should be ignored when +completing file names. Elements of `completion-ignored-extensions' +which do not end in a slash are never considered when a completion +candidate is a directory. + +*** New user option `history-delete-duplicates'. +If set to t when adding a new history element, all previous identical +elements are deleted from the history list. + +** Redisplay changes: + +*** The new face `mode-line-inactive' is used to display the mode line +of non-selected windows. The `mode-line' face is now used to display +the mode line of the currently selected window. + +The new variable `mode-line-in-non-selected-windows' controls whether +the `mode-line-inactive' face is used. + +*** The mode line position information now comes before the major mode. +When the file is maintained under version control, that information +appears between the position information and the major mode. + +*** You can now customize the use of window fringes. To control this +for all frames, use M-x fringe-mode or the Show/Hide submenu of the +top-level Options menu, or customize the `fringe-mode' variable. To +control this for a specific frame, use the command M-x +set-fringe-style. + +*** Angle icons in the fringes can indicate the buffer boundaries. In +addition, up and down arrow bitmaps in the fringe indicate which ways +the window can be scrolled. + +This behavior is activated by setting the buffer-local variable +`indicate-buffer-boundaries' to a non-nil value. The default value of +this variable is found in `default-indicate-buffer-boundaries'. + +If value is `left' or `right', both angle and arrow bitmaps are +displayed in the left or right fringe, resp. + +The value can also be an alist which specifies the presence and +position of each bitmap individually. + +For example, ((top . left) (t . right)) places the top angle bitmap +in left fringe, the bottom angle bitmap in right fringe, and both +arrow bitmaps in right fringe. To show just the angle bitmaps in the +left fringe, but no arrow bitmaps, use ((top . left) (bottom . left)). + +*** On window systems, lines which are exactly as wide as the window +(not counting the final newline character) are no longer broken into +two lines on the display (with just the newline on the second line). +Instead, the newline now "overflows" into the right fringe, and the +cursor will be displayed in the fringe when positioned on that newline. + +The new user option 'overflow-newline-into-fringe' can be set to nil to +revert to the old behavior of continuing such lines. + +*** A window can now have individual fringe and scroll-bar settings, +in addition to the individual display margin settings. + +Such individual settings are now preserved when windows are split +horizontally or vertically, a saved window configuration is restored, +or when the frame is resized. + +*** When a window has display margin areas, the fringes are now +displayed between the margins and the buffer's text area, rather than +outside those margins. + +*** New face `escape-glyph' highlights control characters and escape glyphs. + +*** Non-breaking space and hyphens are now displayed with a special +face, either nobreak-space or escape-glyph. You can turn this off or +specify a different mode by setting the variable `nobreak-char-display'. + +*** The parameters of automatic hscrolling can now be customized. +The variable `hscroll-margin' determines how many columns away from +the window edge point is allowed to get before automatic hscrolling +will horizontally scroll the window. The default value is 5. + +The variable `hscroll-step' determines how many columns automatic +hscrolling scrolls the window when point gets too close to the +window edge. If its value is zero, the default, Emacs scrolls the +window so as to center point. If its value is an integer, it says how +many columns to scroll. If the value is a floating-point number, it +gives the fraction of the window's width to scroll the window. + +The variable `automatic-hscrolling' was renamed to +`auto-hscroll-mode'. The old name is still available as an alias. + +*** Moving or scrolling through images (and other lines) taller than +the window now works sensibly, by automatically adjusting the window's +vscroll property. + +*** Preemptive redisplay now adapts to current load and bandwidth. + +To avoid preempting redisplay on fast computers, networks, and displays, +the arrival of new input is now performed at regular intervals during +redisplay. The new variable `redisplay-preemption-period' specifies +the period; the default is to check for input every 0.1 seconds. + +*** The %c and %l constructs are now ignored in frame-title-format. +Due to technical limitations in how Emacs interacts with windowing +systems, these constructs often failed to render properly, and could +even cause Emacs to crash. + +*** If value of `auto-resize-tool-bars' is `grow-only', the tool bar +will expand as needed, but not contract automatically. To contract +the tool bar, you must type C-l. + +*** New customize option `overline-margin' controls the space between +overline and text. + +*** New variable `x-underline-at-descent-line' controls the relative +position of the underline. When set, it overrides the +`x-use-underline-position-properties' variables. + +** New faces: + +*** `mode-line-highlight' is the standard face indicating mouse sensitive +elements on mode-line (and header-line) like `highlight' face on text +areas. + +*** `mode-line-buffer-id' is the standard face for buffer identification +parts of the mode line. + +*** `shadow' face defines the appearance of the "shadowed" text, i.e. +the text which should be less noticeable than the surrounding text. +This can be achieved by using shades of grey in contrast with either +black or white default foreground color. This generic shadow face +allows customization of the appearance of shadowed text in one place, +so package-specific faces can inherit from it. + +*** `vertical-border' face is used for the vertical divider between windows. + +** Font-Lock (syntax highlighting) changes: + +*** All modes now support using M-x font-lock-mode to toggle +fontification, even those such as Occur, Info, and comint-derived +modes that do their own fontification in a special way. + +The variable `Info-fontify' is no longer applicable; to disable +fontification in Info, remove `turn-on-font-lock' from +`Info-mode-hook'. + +*** New standard font-lock face `font-lock-comment-delimiter-face'. + +*** New standard font-lock face `font-lock-preprocessor-face'. + +*** Easy to overlook single character negation can now be font-locked. +You can use the new variable `font-lock-negation-char-face' and the face of +the same name to customize this. Currently the cc-modes, sh-script-mode, +cperl-mode and make-mode support this. + +*** Font-Lock mode: in major modes such as Lisp mode, where some Emacs +features assume that an open-paren in column 0 is always outside of +any string or comment, Font-Lock now highlights any such open-paren in +bold-red if it is inside a string or a comment, to indicate that it +can cause trouble. You should rewrite the string or comment so that +the open-paren is not in column 0. + +*** M-o now is the prefix key for setting text properties; +M-o M-o requests refontification. + +*** The default settings for JIT stealth lock parameters are changed. +The default value for the user option jit-lock-stealth-time is now nil +instead of 3. This setting of jit-lock-stealth-time disables stealth +fontification: on today's machines, it may be a bug in font lock +patterns if fontification otherwise noticeably degrades interactivity. +If you find movement in infrequently visited buffers sluggish (and the +major mode maintainer has no better idea), customizing +jit-lock-stealth-time to a non-nil value will let Emacs fontify +buffers in the background when it considers the system to be idle. +jit-lock-stealth-nice is now 0.5 instead of 0.125 which is supposed to +cause less load than the old defaults. + +*** jit-lock can now be delayed with `jit-lock-defer-time'. + +If this variable is non-nil, its value should be the amount of Emacs +idle time in seconds to wait before starting fontification. For +example, if you set `jit-lock-defer-time' to 0.25, fontification will +only happen after 0.25s of idle time. + +*** contextual refontification is now separate from stealth fontification. + +jit-lock-defer-contextually is renamed jit-lock-contextually and +jit-lock-context-time determines the delay after which contextual +refontification takes place. + +*** lazy-lock is considered obsolete. + +The `lazy-lock' package is superseded by `jit-lock' and is considered +obsolete. `jit-lock' is activated by default; if you wish to continue +using `lazy-lock', activate it in your ~/.emacs like this: + (setq font-lock-support-mode 'lazy-lock-mode) + +If you invoke `lazy-lock-mode' directly rather than through +`font-lock-support-mode', it now issues a warning: + "Use font-lock-support-mode rather than calling lazy-lock-mode" + +** Menu support: + +*** A menu item "Show/Hide" was added to the top-level menu "Options". +This menu allows you to turn various display features on and off (such +as the fringes, the tool bar, the speedbar, and the menu bar itself). +You can also move the vertical scroll bar to either side here or turn +it off completely. There is also a menu-item to toggle displaying of +current date and time, current line and column number in the mode-line. + +*** Speedbar has moved from the "Tools" top level menu to "Show/Hide". + +*** The menu item "Open File..." has been split into two items, "New File..." +and "Open File...". "Open File..." now opens only existing files. This is +to support existing GUI file selection dialogs better. + +*** The file selection dialog for Gtk+, Mac, W32 and Motif/LessTif can be +disabled by customizing the variable `use-file-dialog'. + +*** The pop up menus for Lucid now stay up if you do a fast click and can +be navigated with the arrow keys (like Gtk+, Mac and W32). + +*** The menu bar for Motif/LessTif/Lucid/Gtk+ can be navigated with keys. +Pressing F10 shows the first menu in the menu bar. Navigation is done with +the arrow keys, select with the return key and cancel with the escape keys. + +*** The Lucid menus can display multilingual text in your locale. You have +to explicitly specify a fontSet resource for this to work, for example +`-xrm "Emacs*fontSet: -*-helvetica-medium-r-*--*-120-*-*-*-*-*-*,*"'. + +*** Dialogs for Lucid/Athena and LessTif/Motif now pop down on pressing +ESC, like they do for Gtk+, Mac and W32. + +*** For the Gtk+ version, you can make Emacs use the old file dialog +by setting the variable `x-gtk-use-old-file-dialog' to t. Default is to use +the new dialog. + +*** You can exit dialog windows and menus by typing C-g. + +** Buffer Menu changes: + +*** The new options `buffers-menu-show-directories' and +`buffers-menu-show-status' let you control how buffers are displayed +in the menu dropped down when you click "Buffers" from the menu bar. + +`buffers-menu-show-directories' controls whether the menu displays +leading directories as part of the file name visited by the buffer. +If its value is `unless-uniquify', the default, directories are +shown unless uniquify-buffer-name-style' is non-nil. The value of nil +and t turn the display of directories off and on, respectively. + +`buffers-menu-show-status' controls whether the Buffers menu includes +the modified and read-only status of the buffers. By default it is +t, and the status is shown. + +Setting these variables directly does not take effect until next time +the Buffers menu is regenerated. + +*** New command `Buffer-menu-toggle-files-only' toggles display of file +buffers only in the Buffer Menu. It is bound to T in Buffer Menu +mode. + +*** `buffer-menu' and `list-buffers' now list buffers whose names begin +with a space, when those buffers are visiting files. Normally buffers +whose names begin with space are omitted. + +** Mouse changes: + +*** You can now follow links by clicking Mouse-1 on the link. + +Traditionally, Emacs uses a Mouse-1 click to set point and a Mouse-2 +click to follow a link, whereas most other applications use a Mouse-1 +click for both purposes, depending on whether you click outside or +inside a link. Now the behavior of a Mouse-1 click has been changed +to match this context-sensitive dual behavior. (If you prefer the old +behavior, set the user option `mouse-1-click-follows-link' to nil.) + +Depending on the current mode, a Mouse-2 click in Emacs can do much +more than just follow a link, so the new Mouse-1 behavior is only +activated for modes which explicitly mark a clickable text as a "link" +(see the new function `mouse-on-link-p' for details). The Lisp +packages that are included in release 22.1 have been adapted to do +this, but external packages may not yet support this. However, there +is no risk in using such packages, as the worst thing that could +happen is that you get the original Mouse-1 behavior when you click +on a link, which typically means that you set point where you click. + +If you want to get the original Mouse-1 action also inside a link, you +just need to press the Mouse-1 button a little longer than a normal +click (i.e. press and hold the Mouse-1 button for half a second before +you release it). + +Dragging the Mouse-1 inside a link still performs the original +drag-mouse-1 action, typically copy the text. + +You can customize the new Mouse-1 behavior via the new user options +`mouse-1-click-follows-link' and `mouse-1-click-in-non-selected-windows'. + +*** If you set the new variable `mouse-autoselect-window' to a non-nil +value, windows are automatically selected as you move the mouse from +one Emacs window to another, even within a frame. A minibuffer window +can be selected only when it is active. + +*** On X, when the window manager requires that you click on a frame to +select it (give it focus), the selected window and cursor position +normally changes according to the mouse click position. If you set +the variable x-mouse-click-focus-ignore-position to t, the selected +window and cursor position do not change when you click on a frame +to give it focus. + +*** Emacs normally highlights mouse sensitive text whenever the mouse +is over the text. By setting the new variable `mouse-highlight', you +can optionally enable mouse highlighting only after you move the +mouse, so that highlighting disappears when you press a key. You can +also disable mouse highlighting. + +*** You can now customize if selecting a region by dragging the mouse +shall not copy the selected text to the kill-ring by setting the new +variable mouse-drag-copy-region to nil. + +*** Under X, mouse-wheel-mode is turned on by default. + +*** Emacs ignores mouse-2 clicks while the mouse wheel is being moved. + +People tend to push the mouse wheel (which counts as a mouse-2 click) +unintentionally while turning the wheel, so these clicks are now +ignored. You can customize this with the mouse-wheel-click-event and +mouse-wheel-inhibit-click-time variables. + +*** mouse-wheels can now scroll a specific fraction of the window +(rather than a fixed number of lines) and the scrolling is `progressive'. + +** Multilingual Environment (Mule) changes: + +*** You can disable character translation for a file using the -*- +construct. Include `enable-character-translation: nil' inside the +-*-...-*- to disable any character translation that may happen by +various global and per-coding-system translation tables. You can also +specify it in a local variable list at the end of the file. For +shortcut, instead of using this long variable name, you can append the +character "!" at the end of coding-system name specified in -*- +construct or in a local variable list. For example, if a file has the +following header, it is decoded by the coding system `iso-latin-1' +without any character translation: +;; -*- coding: iso-latin-1!; -*- + +*** Language environment and various default coding systems are setup +more correctly according to the current locale name. If the locale +name doesn't specify a charset, the default is what glibc defines. +This change can result in using the different coding systems as +default in some locale (e.g. vi_VN). + +*** The keyboard-coding-system is now automatically set based on your +current locale settings if you are not using a window system. This +can mean that the META key doesn't work but generates non-ASCII +characters instead, depending on how the terminal (or terminal +emulator) works. Use `set-keyboard-coding-system' (or customize +keyboard-coding-system) if you prefer META to work (the old default) +or if the locale doesn't describe the character set actually generated +by the keyboard. See Info node `Unibyte Mode'. + +*** The new command `set-file-name-coding-system' (C-x RET F) sets +coding system for encoding and decoding file names. A new menu item +(Options->Mule->Set Coding Systems->For File Name) invokes this +command. + +*** The new command `revert-buffer-with-coding-system' (C-x RET r) +revisits the current file using a coding system that you specify. + +*** New command `recode-region' decodes the region again by a specified +coding system. + +*** The new command `recode-file-name' changes the encoding of the name +of a file. + +*** New command `ucs-insert' inserts a character specified by its +unicode. + +*** New command quail-show-key shows what key (or key sequence) to type +in the current input method to input a character at point. + +*** Limited support for character `unification' has been added. +Emacs now knows how to translate between different representations of +the same characters in various Emacs charsets according to standard +Unicode mappings. This applies mainly to characters in the ISO 8859 +sets plus some other 8-bit sets, but can be extended. For instance, +translation works amongst the Emacs ...-iso8859-... charsets and the +mule-unicode-... ones. + +By default this translation happens automatically on encoding. +Self-inserting characters are translated to make the input conformant +with the encoding of the buffer in which it's being used, where +possible. + +You can force a more complete unification with the user option +unify-8859-on-decoding-mode. That maps all the Latin-N character sets +into Unicode characters (from the latin-iso8859-1 and +mule-unicode-0100-24ff charsets) on decoding. Note that this mode +will often effectively clobber data with an iso-2022 encoding. + +*** New language environments (set up automatically according to the +locale): Belarusian, Bulgarian, Chinese-EUC-TW, Croatian, Esperanto, +French, Georgian, Italian, Latin-7, Latvian, Lithuanian, Malayalam, +Russian, Russian, Slovenian, Swedish, Tajik, Tamil, UTF-8,Ukrainian, +Welsh,Latin-6, Windows-1255. + +*** New input methods: latin-alt-postfix, latin-postfix, latin-prefix, +belarusian, bulgarian-bds, bulgarian-phonetic, chinese-sisheng (for +Chinese Pinyin characters), croatian, dutch, georgian, latvian-keyboard, +lithuanian-numeric, lithuanian-keyboard, malayalam-inscript, rfc1345, +russian-computer, sgml, slovenian, tamil-inscript, ukrainian-computer, +ucs, vietnamese-telex, welsh. + +*** There is support for decoding Greek and Cyrillic characters into +either Unicode (the mule-unicode charsets) or the iso-8859 charsets, +when possible. The latter are more space-efficient. + This is controlled by user option utf-fragment-on-decoding. + +*** Improved Thai support. A new minor mode `thai-word-mode' (which is +automatically activated if you select Thai as a language +environment) changes key bindings of most word-oriented commands to +versions which recognize Thai words. Affected commands are + M-f (forward-word) + M-b (backward-word) + M-d (kill-word) + M-DEL (backward-kill-word) + M-t (transpose-words) + M-q (fill-paragraph) + +*** Indian support has been updated. +The in-is13194 coding system is now Unicode-based. CDAC fonts are +assumed. There is a framework for supporting various Indian scripts, +but currently only Devanagari, Malayalam and Tamil are supported. + +*** The utf-8/16 coding systems have been enhanced. +By default, untranslatable utf-8 sequences are simply composed into +single quasi-characters. User option `utf-translate-cjk-mode' (it is +turned on by default) arranges to translate many utf-8 CJK character +sequences into real Emacs characters in a similar way to the Mule-UCS +system. As this loads a fairly big data on demand, people who are not +interested in CJK characters may want to customize it to nil. +You can augment/amend the CJK translation via hash tables +`ucs-mule-cjk-to-unicode' and `ucs-unicode-to-mule-cjk'. The utf-8 +coding system now also encodes characters from most of Emacs's +one-dimensional internal charsets, specifically the ISO-8859 ones. +The utf-16 coding system is affected similarly. + +*** A UTF-7 coding system is available in the library `utf-7'. + +*** A new coding system `euc-tw' has been added for traditional Chinese +in CNS encoding; it accepts both Big 5 and CNS as input; on saving, +Big 5 is then converted to CNS. + +*** Many new coding systems are available in the `code-pages' library. +These include complete versions of most of those in codepage.el, based +on Unicode mappings. `codepage-setup' is now obsolete and is used +only in the MS-DOS port of Emacs. All coding systems defined in +`code-pages' are auto-loaded. + +*** New variable `utf-translate-cjk-unicode-range' controls which +Unicode characters to translate in `utf-translate-cjk-mode'. + +*** iso-10646-1 (`Unicode') fonts can be used to display any range of +characters encodable by the utf-8 coding system. Just specify the +fontset appropriately. + +** Customize changes: + +*** Custom themes are collections of customize options. Create a +custom theme with M-x customize-create-theme. Use M-x load-theme to +load and enable a theme, and M-x disable-theme to disable it. Use M-x +enable-theme to enable a disabled theme. + +*** The commands M-x customize-face and M-x customize-face-other-window +now look at the character after point. If a face or faces are +specified for that character, the commands by default customize those +faces. + +*** The face-customization widget has been reworked to be less confusing. +In particular, when you enable a face attribute using the corresponding +check-box, there's no longer a redundant `*' option in value selection +for that attribute; the values you can choose are only those which make +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. + +** Dired mode: + +*** In Dired's ! command (dired-do-shell-command), `*' and `?' now +control substitution of the file names only when they are surrounded +by whitespace. This means you can now use them as shell wildcards +too. If you want to use just plain `*' as a wildcard, type `*""'; the +double quotes make no difference in the shell, but they prevent +special treatment in `dired-do-shell-command'. + +*** The Dired command `dired-goto-file' is now bound to j, not M-g. +This is to avoid hiding the global key binding of M-g. + +*** New faces dired-header, dired-mark, dired-marked, dired-flagged, +dired-ignored, dired-directory, dired-symlink, dired-warning +introduced for Dired mode instead of font-lock faces. + +*** New Dired command `dired-compare-directories' marks files +with different file attributes in two dired buffers. + +*** New Dired command `dired-do-touch' (bound to T) changes timestamps +of marked files with the value entered in the minibuffer. + +*** In Dired, the w command now stores the current line's file name +into the kill ring. With a zero prefix arg, it stores the absolute file name. + +*** In Dired-x, Omitting files is now a minor mode, dired-omit-mode. + +The mode toggling command is bound to M-o. A new command +dired-mark-omitted, bound to * O, marks omitted files. The variable +dired-omit-files-p is obsoleted, use the mode toggling function +instead. + +*** The variables dired-free-space-program and dired-free-space-args +have been renamed to directory-free-space-program and +directory-free-space-args, and they now apply whenever Emacs puts a +directory listing into a buffer. + +** Comint changes: + +*** The new INSIDE_EMACS environment variable is set to "t" in subshells +running inside Emacs. This supersedes the EMACS environment variable, +which will be removed in a future Emacs release. Programs that need +to know whether they are started inside Emacs should check INSIDE_EMACS +instead of EMACS. + +*** The comint prompt can now be made read-only, using the new user +option `comint-prompt-read-only'. This is not enabled by default, +except in IELM buffers. The read-only status of IELM prompts can be +controlled with the new user option `ielm-prompt-read-only', which +overrides `comint-prompt-read-only'. + +The new commands `comint-kill-whole-line' and `comint-kill-region' +support editing comint buffers with read-only prompts. + +`comint-kill-whole-line' is like `kill-whole-line', but ignores both +read-only and field properties. Hence, it always kill entire +lines, including any prompts. + +`comint-kill-region' is like `kill-region', except that it ignores +read-only properties, if it is safe to do so. This means that if any +part of a prompt is deleted, then the entire prompt must be deleted +and that all prompts must stay at the beginning of a line. If this is +not the case, then `comint-kill-region' behaves just like +`kill-region' if read-only properties are involved: it copies the text +to the kill-ring, but does not delete it. + +*** The new command `comint-insert-previous-argument' in comint-derived +modes (shell-mode, etc.) inserts arguments from previous command lines, +like bash's `ESC .' binding. It is bound by default to `C-c .', but +otherwise behaves quite similarly to the bash version. + +*** `comint-use-prompt-regexp-instead-of-fields' has been renamed +`comint-use-prompt-regexp'. The old name has been kept as an alias, +but declared obsolete. + +** M-x Compile changes: + +*** M-x compile has become more robust and reliable + +Quite a few more kinds of messages are recognized. Messages that are +recognized as warnings or informational come in orange or green, instead of +red. Informational messages are by default skipped with `next-error' +(controlled by `compilation-skip-threshold'). + +Location data is collected on the fly as the *compilation* buffer changes. +This means you could modify messages to make them point to different files. +This also means you can not go to locations of messages you may have deleted. + +The variable `compilation-error-regexp-alist' has now become customizable. If +you had added your own regexps to this, you'll probably need to include a +leading `^', otherwise they'll match anywhere on a line. There is now also a +`compilation-mode-font-lock-keywords' and it nicely handles all the checks +that configure outputs and -o options so you see at a glance where you are. + +The new file etc/compilation.txt gives examples of each type of message. + +*** New user option `compilation-environment'. +This option allows you to specify environment variables for inferior +compilation processes without affecting the environment that all +subprocesses inherit. + +*** New user option `compilation-disable-input'. +If this is non-nil, send end-of-file as compilation process input. + +*** New options `next-error-highlight' and `next-error-highlight-no-select' +specify the method of highlighting of the corresponding source line +in new face `next-error'. + +*** A new minor mode `next-error-follow-minor-mode' can be used in +compilation-mode, grep-mode, occur-mode, and diff-mode (i.e. all the +modes that can use `next-error'). In this mode, cursor motion in the +buffer causes automatic display in another window of the corresponding +matches, compilation errors, etc. This minor mode can be toggled with +C-c C-f. + +*** When the left fringe is displayed, an arrow points to current message in +the compilation buffer. + +*** The new variable `compilation-context-lines' controls lines of leading +context before the current message. If nil and the left fringe is displayed, +it doesn't scroll the compilation output window. If there is no left fringe, +no arrow is displayed and a value of nil means display the message at the top +of the window. + +** Occur mode changes: + +*** The new command `multi-occur' is just like `occur', except it can +search multiple buffers. There is also a new command +`multi-occur-in-matching-buffers' which allows you to specify the +buffers to search by their filenames or buffer names. Internally, +Occur mode has been rewritten, and now uses font-lock, among other +changes. + +*** You can now use next-error (C-x `) and previous-error to advance to +the next/previous matching line found by M-x occur. + +*** In the *Occur* buffer, `o' switches to it in another window, and +C-o displays the current line's occurrence in another window without +switching to it. + +** Grep changes: + +*** Grep has been decoupled from compilation mode setup. + +There's a new separate package grep.el, with its own submenu and +customization group. + +*** `grep-find' is now also available under the name `find-grep' where +people knowing `find-grep-dired' would probably expect it. + +*** New commands `lgrep' (local grep) and `rgrep' (recursive grep) are +more user-friendly versions of `grep' and `grep-find', which prompt +separately for the regular expression to match, the files to search, +and the base directory for the search. Case sensitivity of the +search is controlled by the current value of `case-fold-search'. + +These commands build the shell commands based on the new variables +`grep-template' (lgrep) and `grep-find-template' (rgrep). + +The files to search can use aliases defined in `grep-files-aliases'. + +Subdirectories listed in `grep-find-ignored-directories' such as those +typically used by various version control systems, like CVS and arch, +are automatically skipped by `rgrep'. + +*** The grep commands provide highlighting support. + +Hits are fontified in green, and hits in binary files in orange. Grep buffers +can be saved and automatically revisited. + +*** New option `grep-highlight-matches' highlights matches in *grep* +buffer. It uses a special feature of some grep programs which accept +--color option to output markers around matches. When going to the next +match with `next-error' the exact match is highlighted in the source +buffer. Otherwise, if `grep-highlight-matches' is nil, the whole +source line is highlighted. + +*** New key bindings in grep output window: +SPC and DEL scrolls window up and down. C-n and C-p moves to next and +previous match in the grep window. RET jumps to the source line of +the current match. `n' and `p' shows next and previous match in +other window, but does not switch buffer. `{' and `}' jumps to the +previous or next file in the grep output. TAB also jumps to the next +file. + +*** M-x grep now tries to avoid appending `/dev/null' to the command line +by using GNU grep `-H' option instead. M-x grep automatically +detects whether this is possible or not the first time it is invoked. +When `-H' is used, the grep command line supplied by the user is passed +unchanged to the system to execute, which allows more complicated +command lines to be used than was possible before. + +*** The new variables `grep-window-height' and `grep-scroll-output' override +the corresponding compilation mode settings, for grep commands only. + +** Cursor display changes: + +*** Emacs can produce an underscore-like (horizontal bar) cursor. +The underscore cursor is set by putting `(cursor-type . hbar)' in +default-frame-alist. It supports variable heights, like the `bar' +cursor does. + +*** The variable `cursor-in-non-selected-windows' can now be set to any +of the recognized cursor types. + +*** Display of hollow cursors now obeys the buffer-local value (if any) +of `cursor-in-non-selected-windows' in the buffer that the cursor +appears in. + +*** On text terminals, the variable `visible-cursor' controls whether Emacs +uses the "very visible" cursor (the default) or the normal cursor. + +*** The X resource cursorBlink can be used to turn off cursor blinking. + +*** On X, MS Windows, and Mac OS, the blinking cursor's "off" state is +now controlled by the variable `blink-cursor-alist'. + +** X Windows Support: + +*** Emacs now supports drag and drop for X. Dropping a file on a window +opens it, dropping text inserts the text. Dropping a file on a dired +buffer copies or moves the file to that directory. + +*** Under X11, it is possible to swap Alt and Meta (and Super and Hyper). +The new variables `x-alt-keysym', `x-hyper-keysym', `x-meta-keysym', +and `x-super-keysym' can be used to choose which keysyms Emacs should +use for the modifiers. For example, the following two lines swap +Meta and Alt: + (setq x-alt-keysym 'meta) + (setq x-meta-keysym 'alt) + +*** The X resource useXIM can be used to turn off use of XIM, which can +speed up Emacs with slow networking to the X server. + +If the configure option `--without-xim' was used to turn off use of +XIM by default, the X resource useXIM can be used to turn it on. + +*** The new variable `x-select-request-type' controls how Emacs +requests X selection. The default value is nil, which means that +Emacs requests X selection with types COMPOUND_TEXT and UTF8_STRING, +and use the more appropriately result. + +*** The scrollbar under LessTif or Motif has a smoother drag-scrolling. +On the other hand, the size of the thumb does not represent the actual +amount of text shown any more (only a crude approximation of it). + +** Xterm support: + +*** If you enable Xterm Mouse mode, Emacs will respond to mouse clicks +on the mode line, header line and display margin, when run in an xterm. + +*** Improved key bindings support when running in an xterm. +When Emacs is running in an xterm more key bindings are available. +The following should work: +{C,S,C-S,A}-{right,left,up,down,prior,next,delete,insert,F1-12}. +These key bindings work on xterm from X.org 6.8 (and later versions), +they might not work on some older versions of xterm, or on some +proprietary versions. +The various keys generated by xterm when the "modifyOtherKeys" +resource is set are also supported. + +** Character terminal color support changes: + +*** The new command-line option --color=MODE lets you specify a standard +mode for a tty color support. It is meant to be used on character +terminals whose capabilities are not set correctly in the terminal +database, or with terminal emulators which support colors, but don't +set the TERM environment variable to a name of a color-capable +terminal. "emacs --color" uses the same color commands as GNU `ls' +when invoked with "ls --color", so if your terminal can support colors +in "ls --color", it will support "emacs --color" as well. See the +user manual for the possible values of the MODE parameter. + +*** Emacs now supports several character terminals which provide more +than 8 colors. For example, for `xterm', 16-color, 88-color, and +256-color modes are supported. Emacs automatically notes at startup +the extended number of colors, and defines the appropriate entries for +all of these colors. + +*** Emacs now uses the full range of available colors for the default +faces when running on a color terminal, including 16-, 88-, and +256-color xterms. This means that when you run "emacs -nw" on an +88-color or 256-color xterm, you will see essentially the same face +colors as on X. + +*** There's a new support for colors on `rxvt' terminal emulator. + +** ebnf2ps changes: + +*** New option `ebnf-arrow-extra-width' which specify extra width for arrow +shape drawing. +The extra width is used to avoid that the arrowhead and the terminal border +overlap. It depends on `ebnf-arrow-shape' and `ebnf-line-width'. + +*** New option `ebnf-arrow-scale' which specify the arrow scale. +Values lower than 1.0, shrink the arrow. +Values greater than 1.0, expand the arrow. + +* New Modes and Packages in Emacs 22.1 + +** CUA mode is now part of the Emacs distribution. + +The new cua package provides CUA-like keybindings using C-x for +cut (kill), C-c for copy, C-v for paste (yank), and C-z for undo. +With cua, the region can be set and extended using shifted movement +keys (like pc-selection-mode) and typed text replaces the active +region (like delete-selection-mode). Do not enable these modes with +cua-mode. Customize the variable `cua-mode' to enable cua. + +The cua-selection-mode enables the CUA keybindings for the region but +does not change the bindings for C-z/C-x/C-c/C-v. It can be used as a +replacement for pc-selection-mode. + +In addition, cua provides unified rectangle support with visible +rectangle highlighting: Use C-return to start a rectangle, extend it +using the movement commands (or mouse-3), and cut or copy it using C-x +or C-c (using C-w and M-w also works). + +Use M-o and M-c to `open' or `close' the rectangle, use M-b or M-f, to +fill it with blanks or another character, use M-u or M-l to upcase or +downcase the rectangle, use M-i to increment the numbers in the +rectangle, use M-n to fill the rectangle with a numeric sequence (such +as 10 20 30...), use M-r to replace a regexp in the rectangle, and use +M-' or M-/ to restrict command on the rectangle to a subset of the +rows. See the commentary in cua-base.el for more rectangle commands. + +Cua also provides unified support for registers: Use a numeric +prefix argument between 0 and 9, i.e. M-0 .. M-9, for C-x, C-c, and +C-v to cut or copy into register 0-9, or paste from register 0-9. + +The last text deleted (not killed) is automatically stored in +register 0. This includes text deleted by typing text. + +Finally, cua provides a global mark which is set using S-C-space. +When the global mark is active, any text which is cut or copied is +automatically inserted at the global mark position. See the +commentary in cua-base.el for more global mark related commands. + +The features of cua also works with the standard Emacs bindings for +kill, copy, yank, and undo. If you want to use cua mode, but don't +want the C-x, C-c, C-v, and C-z bindings, you can customize the +`cua-enable-cua-keys' variable. + +Note: This version of cua mode is not backwards compatible with older +versions of cua.el and cua-mode.el. To ensure proper operation, you +must remove older versions of cua.el or cua-mode.el as well as the +loading and customization of those packages from the .emacs file. + +** Tramp is now part of the distribution. + +This package is similar to Ange-FTP: it allows you to edit remote +files. But whereas Ange-FTP uses FTP to access the remote host, +Tramp uses a shell connection. The shell connection is always used +for filename completion and directory listings and suchlike, but for +the actual file transfer, you can choose between the so-called +`inline' methods (which transfer the files through the shell +connection using base64 or uu encoding) and the `out-of-band' methods +(which invoke an external copying program such as `rcp' or `scp' or +`rsync' to do the copying). + +Shell connections can be acquired via `rsh', `ssh', `telnet' and also +`su' and `sudo'. Ange-FTP is still supported via the `ftp' method. + +If you want to disable Tramp you should set + + (setq tramp-default-method "ftp") + +Removing Tramp, and re-enabling Ange-FTP, can be achieved by M-x +tramp-unload-tramp. + +** The image-dired.el package allows you to easily view, tag and in +other ways manipulate image files and their thumbnails, using dired as +the main interface. Image-Dired provides functionality to generate +simple image galleries. + +** Image files are normally visited in Image mode, which lets you toggle +between viewing the image and viewing the text using C-c C-c. + +** The new python.el package is used to edit Python and Jython programs. + +** The URL package (which had been part of W3) is now part of Emacs. + +** Calc is now part of the Emacs distribution. + +Calc is an advanced desk calculator and mathematical tool written in +Emacs Lisp. The prefix for Calc has been changed to `C-x *' and Calc +can be started with `C-x * *'. The Calc manual is separate from the +Emacs manual; within Emacs, type "C-h i m calc RET" to read the +manual. A reference card is available in `etc/calccard.tex' and +`etc/calccard.ps'. + +** Org mode is now part of the Emacs distribution + +Org mode is a mode for keeping notes, maintaining ToDo lists, and +doing project planning with a fast and effective plain-text system. +It also contains a plain-text table editor with spreadsheet-like +capabilities. + +The Org mode table editor can be integrated into any major mode by +activating the minor mode, Orgtbl mode. + +The documentation for org-mode is in a separate manual; within Emacs, +type "C-h i m org RET" to read that manual. A reference card is +available in `etc/orgcard.tex' and `etc/orgcard.ps'. + +** ERC is now part of the Emacs distribution. + +ERC is a powerful, modular, and extensible IRC client for Emacs. + +To see what modules are available, type +M-x customize-option erc-modules RET. + +To start an IRC session with ERC, type M-x erc, and follow the prompts +for server, port, and nick. + +** Rcirc is now part of the Emacs distribution. + +Rcirc is an Internet relay chat (IRC) client. It supports +simultaneous connections to multiple IRC servers. Each discussion +takes place in its own buffer. For each connection you can join +several channels (many-to-many) and participate in private +(one-to-one) chats. Both channel and private chats are contained in +separate buffers. + +To start an IRC session using the default parameters, type M-x irc. +If you type C-u M-x irc, it prompts you for the server, nick, port and +startup channel parameters before connecting. + +** The new package ibuffer provides a powerful, completely +customizable replacement for buff-menu.el. + +** Newsticker is now part of the Emacs distribution. + +Newsticker asynchronously retrieves headlines (RSS) from a list of news +sites, prepares these headlines for reading, and allows for loading the +corresponding articles in a web browser. Its documentation is in a +separate manual. + +** The wdired.el package allows you to use normal editing commands on Dired +buffers to change filenames, permissions, etc... + +** Ido mode is now part of the Emacs distribution. + +The ido (interactively do) package is an extension of the iswitchb +package to do interactive opening of files and directories in addition +to interactive buffer switching. Ido is a superset of iswitchb (with +a few exceptions), so don't enable both packages. + +** The new global minor mode `file-name-shadow-mode' modifies the way +filenames being entered by the user in the minibuffer are displayed, so +that it's clear when part of the entered filename will be ignored due to +Emacs' filename parsing rules. The ignored portion can be made dim, +invisible, or otherwise less visually noticeable. The display method can +be displayed by customizing the variable `file-name-shadow-properties'. + +** Emacs' keyboard macro facilities have been enhanced by the new +kmacro package. + +Keyboard macros are now defined and executed via the F3 and F4 keys: +F3 starts a macro, F4 ends the macro, and pressing F4 again executes +the last macro. While defining the macro, F3 inserts a counter value +which automatically increments every time the macro is executed. + +There is now a keyboard macro ring which stores the most recently +defined macros. + +The C-x C-k sequence is now a prefix for the kmacro keymap which +defines bindings for moving through the keyboard macro ring, +C-x C-k C-p and C-x C-k C-n, editing the last macro C-x C-k C-e, +manipulating the macro counter and format via C-x C-k C-c, +C-x C-k C-a, and C-x C-k C-f. See the commentary in kmacro.el +for more commands. + +The original macro bindings C-x (, C-x ), and C-x e are still +available, but they now interface to the keyboard macro ring too. + +The C-x e command now automatically terminates the current macro +before calling it, if used while defining a macro. + +In addition, when ending or calling a macro with C-x e, the macro can +be repeated immediately by typing just the `e'. You can customize +this behavior via the variables kmacro-call-repeat-key and +kmacro-call-repeat-with-arg. + +Keyboard macros can now be debugged and edited interactively. +C-x C-k SPC steps through the last keyboard macro one key sequence +at a time, prompting for the actions to take. + +** The new keypad setup package provides several common bindings for +the numeric keypad which is available on most keyboards. The numeric +keypad typically has the digits 0 to 9, a decimal point, keys marked ++, -, /, and *, an Enter key, and a NumLock toggle key. The keypad +package only controls the use of the digit and decimal keys. + +By customizing the variables `keypad-setup', `keypad-shifted-setup', +`keypad-numlock-setup', and `keypad-numlock-shifted-setup', or by +using the function `keypad-setup', you can rebind all digit keys and +the decimal key of the keypad in one step for each of the four +possible combinations of the Shift key state (not pressed/pressed) and +the NumLock toggle state (off/on). + +The choices for the keypad keys in each of the above states are: +`Plain numeric keypad' where the keys generates plain digits, +`Numeric keypad with decimal key' where the character produced by the +decimal key can be customized individually (for internationalization), +`Numeric Prefix Arg' where the keypad keys produce numeric prefix args +for Emacs editing commands, `Cursor keys' and `Shifted Cursor keys' +where the keys work like (shifted) arrow keys, home/end, etc., and +`Unspecified/User-defined' where the keypad keys (kp-0, kp-1, etc.) +are left unspecified and can be bound individually through the global +or local keymaps. + +** The printing package is now part of the Emacs distribution. + +If you enable the printing package by including (require 'printing) in +the .emacs file, the normal Print item on the File menu is replaced +with a Print sub-menu which allows you to preview output through +ghostview, use ghostscript to print (if you don't have a PostScript +printer) or send directly to printer a PostScript code generated by +`ps-print' package. Use M-x pr-help for more information. + +** The new package longlines.el provides a minor mode for editing text +files composed of long lines, based on the `use-hard-newlines' +mechanism. The long lines are broken up by inserting soft newlines, +which are automatically removed when saving the file to disk or +copying into the kill ring, clipboard, etc. By default, Longlines +mode inserts soft newlines automatically during editing, a behavior +referred to as "soft word wrap" in other text editors. This is +similar to Refill mode, but more reliable. To turn the word wrap +feature off, set `longlines-auto-wrap' to nil. + +** SES mode (ses-mode) is a new major mode for creating and editing +spreadsheet files. Besides the usual Emacs features (intuitive command +letters, undo, cell formulas in Lisp, plaintext files, etc.) it also offers +viral immunity and import/export of tab-separated values. + +** The new package table.el implements editable, WYSIWYG, embedded +`text tables' in Emacs buffers. It simulates the effect of putting +these tables in a special major mode. The package emulates WYSIWYG +table editing available in modern word processors. The package also +can generate a table source in typesetting and markup languages such +as latex and html from the visually laid out text table. + +** Filesets are collections of files. You can define a fileset in +various ways, such as based on a directory tree or based on +program files that include other program files. + +Once you have defined a fileset, you can perform various operations on +all the files in it, such as visiting them or searching and replacing +in them. + +** The minor mode Reveal mode makes text visible on the fly as you +move your cursor into hidden regions of the buffer. +It should work with any package that uses overlays to hide parts +of a buffer, such as outline-minor-mode, hs-minor-mode, hide-ifdef-mode, ... + +There is also Global Reveal mode which affects all buffers. + +** New minor mode, Visible mode, toggles invisibility in the current buffer. +When enabled, it makes all invisible text visible. When disabled, it +restores the previous value of `buffer-invisibility-spec'. + +** The new package flymake.el does on-the-fly syntax checking of program +source files. See the Flymake's Info manual for more details. + +** savehist saves minibuffer histories between sessions. +To use this feature, turn on savehist-mode in your `.emacs' file. + +** The ruler-mode.el library provides a minor mode for displaying an +"active" ruler in the header line. You can use the mouse to visually +change the `fill-column', `window-margins' and `tab-stop-list' +settings. + +** The file t-mouse.el is now part of Emacs and provides access to mouse +events from the console. It still requires gpm to work but has been updated +for Emacs 22. In particular, the mode-line is now position sensitive. + +** The new package scroll-lock.el provides the Scroll Lock minor mode +for pager-like scrolling. Keys which normally move point by line or +paragraph will scroll the buffer by the respective amount of lines +instead and point will be kept vertically fixed relative to window +boundaries during scrolling. + +** The new global minor mode `size-indication-mode' (off by default) +shows the size of accessible part of the buffer on the mode line. + +** The new package conf-mode.el handles thousands of configuration files, with +varying syntaxes for comments (;, #, //, /* */ or !), assignment (var = value, +var : value, var value or keyword var value) and sections ([section] or +section { }). Many files under /etc/, or with suffixes like .cf through +.config, .properties (Java), .desktop (KDE/Gnome), .ini and many others are +recognized. + +** GDB-Script-mode is used for files like .gdbinit. + +** The new package dns-mode.el adds syntax highlighting of DNS master files. +It is a modern replacement for zone-mode.el, which is now obsolete. + +** `cfengine-mode' is a major mode for editing GNU Cfengine +configuration files. + +** The TCL package tcl-mode.el was replaced by tcl.el. +This was actually done in Emacs-21.1, and was not documented. + +* Changes in Specialized Modes and Packages in Emacs 22.1: + +** Changes in Dired + +*** Bindings for Image-Dired added. +Several new keybindings, all starting with the C-t prefix, have been +added to Dired. They are all bound to commands in Image-Dired. As a +starting point, mark some image files in a dired buffer and do C-t d +to display thumbnails of them in a separate buffer. + +** Info mode changes + +*** Images in Info pages are supported. + +Info pages show embedded images, in Emacs frames with image support. +Info documentation that includes images, processed with makeinfo +version 4.7 or newer, compiles to Info pages with embedded images. + +*** `Info-index' offers completion. + +*** http and ftp links in Info are now operational: they look like cross +references and following them calls `browse-url'. + +*** isearch in Info uses Info-search and searches through multiple nodes. + +Before leaving the initial Info node isearch fails once with the error +message [initial node], and with subsequent C-s/C-r continues through +other nodes. When isearch fails for the rest of the manual, it wraps +around the whole manual to the top/final node. The user option +`Info-isearch-search' controls whether to use Info-search for isearch, +or the default isearch search function that wraps around the current +Info node. + +*** New search commands: `Info-search-case-sensitively' (bound to S), +`Info-search-backward', and `Info-search-next' which repeats the last +search without prompting for a new search string. + +*** New command `info-apropos' searches the indices of the known +Info files on your system for a string, and builds a menu of the +possible matches. + +*** New command `Info-history-forward' (bound to r and new toolbar icon) +moves forward in history to the node you returned from after using +`Info-history-back' (renamed from `Info-last'). + +*** New command `Info-history' (bound to L) displays a menu of visited nodes. + +*** New command `Info-toc' (bound to T) creates a node with table of contents +from the tree structure of menus of the current Info file. + +*** New command `Info-copy-current-node-name' (bound to w) copies +the current Info node name into the kill ring. With a zero prefix +arg, puts the node name inside the `info' function call. + +*** New face `info-xref-visited' distinguishes visited nodes from unvisited +and a new option `Info-fontify-visited-nodes' to control this. + +*** A numeric prefix argument of `info' selects an Info buffer +with the number appended to the `*info*' buffer name (e.g. "*info*<2>"). + +*** Info now hides node names in menus and cross references by default. + +If you prefer the old behavior, you can set the new user option +`Info-hide-note-references' to nil. + +*** The default value for `Info-scroll-prefer-subnodes' is now nil. + +** Emacs server changes + +*** You can have several Emacs servers on the same machine. + + % emacs --eval '(setq server-name "foo")' -f server-start & + % emacs --eval '(setq server-name "bar")' -f server-start & + % emacsclient -s foo file1 + % emacsclient -s bar file2 + +*** The `emacsclient' command understands the options `--eval' and +`--display' which tell Emacs respectively to evaluate the given Lisp +expression and to use the given display when visiting files. + +*** User option `server-mode' can be used to start a server process. + +** Locate changes + +*** By default, reverting the *Locate* buffer now just runs the last +`locate' command back over again without offering to update the locate +database (which normally only works if you have root privileges). If +you prefer the old behavior, set the new customizable option +`locate-update-when-revert' to t. + +** Desktop package + +*** Desktop saving is now a minor mode, `desktop-save-mode'. + +*** The variable `desktop-enable' is obsolete. + +Customize `desktop-save-mode' to enable desktop saving. + +*** Buffers are saved in the desktop file in the same order as that in the +buffer list. + +*** The desktop package can be customized to restore only some buffers +immediately, remaining buffers are restored lazily (when Emacs is +idle). + +*** New command line option --no-desktop + +*** New commands: + - desktop-revert reverts to the last loaded desktop. + - desktop-change-dir kills current desktop and loads a new. + - desktop-save-in-desktop-dir saves desktop in the directory from which + it was loaded. + - desktop-lazy-complete runs the desktop load to completion. + - desktop-lazy-abort aborts lazy loading of the desktop. + +*** New customizable variables: + - desktop-save. Determines whether the desktop should be saved when it is + killed. + - desktop-file-name-format. Format in which desktop file names should be saved. + - desktop-path. List of directories in which to lookup the desktop file. + - desktop-locals-to-save. List of local variables to save. + - desktop-globals-to-clear. List of global variables that `desktop-clear' will clear. + - desktop-clear-preserve-buffers-regexp. Regexp identifying buffers that `desktop-clear' + should not delete. + - desktop-restore-eager. Number of buffers to restore immediately. Remaining buffers are + restored lazily (when Emacs is idle). + - desktop-lazy-verbose. Verbose reporting of lazily created buffers. + - desktop-lazy-idle-delay. Idle delay before starting to create buffers. + +*** New hooks: + - desktop-after-read-hook run after a desktop is loaded. + - desktop-no-desktop-file-hook run when no desktop file is found. + +** Recentf changes + +The recent file list is now automatically cleaned up when recentf mode is +enabled. The new option `recentf-auto-cleanup' controls when to do +automatic cleanup. + +The ten most recent files can be quickly opened by using the shortcut +keys 1 to 9, and 0, when the recent list is displayed in a buffer via +the `recentf-open-files', or `recentf-open-more-files' commands. + +The `recentf-keep' option replaces `recentf-keep-non-readable-files-p' +and provides a more general mechanism to customize which file names to +keep in the recent list. + +With the more advanced option `recentf-filename-handlers', you can +specify functions that successively transform recent file names. For +example, if set to `file-truename' plus `abbreviate-file-name', the +same file will not be in the recent list with different symbolic +links, and the file name will be abbreviated. + +To follow naming convention, `recentf-menu-append-commands-flag' +replaces the misnamed option `recentf-menu-append-commands-p'. The +old name remains available as alias, but has been marked obsolete. + +** Auto-Revert changes + +*** You can now use Auto Revert mode to `tail' a file. + +If point is at the end of a file buffer before reverting, Auto Revert +mode keeps it at the end after reverting. Similarly if point is +displayed at the end of a file buffer in any window, it stays at the end +of the buffer in that window. This allows you to "tail" a file: just +put point at the end of the buffer and it stays there. This rule +applies to file buffers. For non-file buffers, the behavior can be mode +dependent. + +If you are sure that the file will only change by growing at the end, +then you can tail the file more efficiently by using the new minor +mode Auto Revert Tail mode. The function `auto-revert-tail-mode' +toggles this mode. + +*** Auto Revert mode is now more careful to avoid excessive reverts and +other potential problems when deciding which non-file buffers to +revert. This matters especially if Global Auto Revert mode is enabled +and `global-auto-revert-non-file-buffers' is non-nil. Auto Revert +mode only reverts a non-file buffer if the buffer has a non-nil +`revert-buffer-function' and a non-nil `buffer-stale-function', which +decides whether the buffer should be reverted. Currently, this means +that auto reverting works for Dired buffers (although this may not +work properly on all operating systems) and for the Buffer Menu. + +*** If the new user option `auto-revert-check-vc-info' is non-nil, Auto +Revert mode reliably updates version control info (such as the version +control number in the mode line), in all version controlled buffers in +which it is active. If the option is nil, the default, then this info +only gets updated whenever the buffer gets reverted. + +** Changes in Shell Mode + +*** Shell output normally scrolls so that the input line is at the +bottom of the window -- thus showing the maximum possible text. (This +is similar to the way sequential output to a terminal works.) + +** Changes in Hi Lock + +*** hi-lock-mode now only affects a single buffer, and a new function +`global-hi-lock-mode' enables Hi Lock in all buffers. By default, if +hi-lock-mode is used in what appears to be the initialization file, a +warning message suggests to use global-hi-lock-mode instead. However, +if the new variable `hi-lock-archaic-interface-deduce' is non-nil, +using hi-lock-mode in an initialization file will turn on Hi Lock in all +buffers and no warning will be issued (for compatibility with the +behavior in older versions of Emacs). + +** Changes in Allout + +*** Topic cryptography added, enabling easy gpg topic encryption and +decryption. Per-topic basis enables interspersing encrypted-text and +clear-text within a single file to your heart's content, using symmetric +and/or public key modes. Time-limited key caching, user-provided +symmetric key hinting and consistency verification, auto-encryption of +pending topics on save, and more, make it easy to use encryption in +powerful ways. Encryption behavior customization is collected in the +allout-encryption customization group. + +*** Default command prefix was changed to "\C-c " (control-c space), to +avoid intruding on user's keybinding space. Customize the +`allout-command-prefix' variable to your preference. + +*** Some previously rough topic-header format edge cases are reconciled. +Level 1 topics use the mode's comment format, and lines starting with the +asterisk - for instance, the comment close of some languages (eg, c's "*/" +or mathematica's "*)") - at the beginning of line are no longer are +interpreted as level 1 topics in those modes. + +*** Many or most commonly occurring "accidental" topics are disqualified. +Text in item bodies that looks like a low-depth topic is no longer mistaken +for one unless its first offspring (or that of its next sibling with +offspring) is only one level deeper. + +For example, pasting some text with a bunch of leading asterisks into a +topic that's followed by a level 3 or deeper topic will not cause the +pasted text to be mistaken for outline structure. + +The same constraint is applied to any level 2 or 3 topics. + +This settles an old issue where typed or pasted text needed to be carefully +reviewed, and sometimes doctored, to avoid accidentally disrupting the +outline structure. Now that should be generally unnecessary, as the most +prone-to-occur accidents are disqualified. + +*** Allout now refuses to create "containment discontinuities", where a +topic is shifted deeper than the offspring-depth of its container. On the +other hand, allout now operates gracefully with existing containment +discontinuities, revealing excessively contained topics rather than either +leaving them hidden or raising an error. + +*** Navigation within an item is easier. Repeated beginning-of-line and +end-of-line key commands (usually, ^A and ^E) cycle through the +beginning/end-of-line and then beginning/end of topic, etc. See new +customization vars `allout-beginning-of-line-cycles' and +`allout-end-of-line-cycles'. + +*** New or revised allout-mode activity hooks enable creation of +cooperative enhancements to allout mode without changes to the mode, +itself. + +See `allout-exposure-change-hook', `allout-structure-added-hook', +`allout-structure-deleted-hook', and `allout-structure-shifted-hook'. + +`allout-exposure-change-hook' replaces the existing +`allout-view-change-hook', which is being deprecated. Both are still +invoked, but `allout-view-change-hook' will eventually be ignored. +`allout-exposure-change-hook' is called with explicit arguments detailing +the specifics of each change (as are the other new hooks), making it easier +to use than the old version. + +There is a new mode deactivation hook, `allout-mode-deactivate-hook', for +coordinating with deactivation of allout-mode. Both that and the mode +activation hook, `allout-mode-hook' are now run after the `allout-mode' +variable is changed, rather than before. + +*** Allout now uses text overlay's `invisible' property for concealed text, +instead of selective-display. This simplifies the code, in particular +avoiding the need for kludges for isearch dynamic-display, discretionary +handling of edits of concealed text, undo concerns, etc. + +*** There are many other fixes and refinements, including: + + - repaired inhibition of inadvertent edits to concealed text, without + inhibiting undo; we now reveal undo changes within concealed text. + - auto-fill-mode is now left inactive when allout-mode starts, if it + already was inactive. also, `allout-inhibit-auto-fill' custom + configuration variable makes it easy to disable auto fill in allout + outlines in general or on a per-buffer basis. + - allout now tolerates fielded text in outlines without disruption. + - hot-spot navigation now is modularized with a new function, + `allout-hotspot-key-handler', enabling easier use and enhancement of + the functionality in allout addons. + - repaired retention of topic body hanging indent upon topic depth shifts + - bulleting variation is simpler and more accommodating, both in the + default behavior and in ability to vary when creating new topics + - mode deactivation now does cleans up effectively, more properly + restoring affected variables and hooks to former state, removing + overlays, etc. see `allout-add-resumptions' and + `allout-do-resumptions', which replace the old `allout-resumptions'. + - included a few unit-tests for interior functionality. developers can + have them automatically run at the end of module load by customizing + the option `allout-run-unit-tests-on-load'. + - many, many other, more minor tweaks, fixes, and refinements. + - version number incremented to 2.2 + +** Hideshow mode changes + +*** New variable `hs-set-up-overlay' allows customization of the overlay +used to effect hiding for hideshow minor mode. Integration with isearch +handles the overlay property `display' specially, preserving it during +temporary overlay showing in the course of an isearch operation. + +*** New variable `hs-allow-nesting' non-nil means that hiding a block does +not discard the hidden state of any "internal" blocks; when the parent +block is later shown, the internal blocks remain hidden. Default is nil. + +** FFAP changes + +*** New ffap commands and keybindings: + +C-x C-r (`ffap-read-only'), +C-x C-v (`ffap-alternate-file'), C-x C-d (`ffap-list-directory'), +C-x 4 r (`ffap-read-only-other-window'), C-x 4 d (`ffap-dired-other-window'), +C-x 5 r (`ffap-read-only-other-frame'), C-x 5 d (`ffap-dired-other-frame'). + +*** FFAP accepts wildcards in a file name by default. + +C-x C-f passes the file name to `find-file' with non-nil WILDCARDS +argument, which visits multiple files, and C-x d passes it to `dired'. + +** Changes in Skeleton + +*** In skeleton.el, `-' marks the `skeleton-point' without interregion interaction. + +`@' has reverted to only setting `skeleton-positions' and no longer +sets `skeleton-point'. Skeletons which used @ to mark +`skeleton-point' independent of `_' should now use `-' instead. The +updated `skeleton-insert' docstring explains these new features along +with other details of skeleton construction. + +*** The variables `skeleton-transformation', `skeleton-filter', and +`skeleton-pair-filter' have been renamed to +`skeleton-transformation-function', `skeleton-filter-function', and +`skeleton-pair-filter-function'. The old names are still available +as aliases. + +** HTML/SGML changes + +*** Emacs now tries to set up buffer coding systems for HTML/XML files +automatically. + +*** SGML mode has indentation and supports XML syntax. +The new variable `sgml-xml-mode' tells SGML mode to use XML syntax. +When this option is enabled, SGML tags are inserted in XML style, +i.e., there is always a closing tag. +By default, its setting is inferred on a buffer-by-buffer basis +from the file name or buffer contents. + +*** The variable `sgml-transformation' has been renamed to +`sgml-transformation-function'. The old name is still available as +alias. + +*** `xml-mode' is now an alias for `sgml-mode', which has XML support. + +** TeX modes + +*** New major mode Doctex mode, for *.dtx files. + +*** C-c C-c prompts for a command to run, and tries to offer a good default. + +*** The user option `tex-start-options-string' has been replaced +by two new user options: `tex-start-options', which should hold +command-line options to feed to TeX, and `tex-start-commands' which should hold +TeX commands to use at startup. + +*** verbatim environments are now highlighted in courier by font-lock +and super/sub-scripts are made into super/sub-scripts. + +** RefTeX mode changes + +*** Changes to RefTeX's table of contents + +The new command keys "<" and ">" in the TOC buffer promote/demote the +section at point or all sections in the current region, with full +support for multifile documents. + +The new command `reftex-toc-recenter' (`C-c -') shows the current +section in the TOC buffer without selecting the TOC window. +Recentering can happen automatically in idle time when the option +`reftex-auto-recenter-toc' is turned on. The highlight in the TOC +buffer stays when the focus moves to a different window. A dedicated +frame can show the TOC with the current section always automatically +highlighted. The frame is created and deleted from the toc buffer +with the `d' key. + +The toc window can be split off horizontally instead of vertically. +See new option `reftex-toc-split-windows-horizontally'. + +Labels can be renamed globally from the table of contents using the +key `M-%'. + +The new command `reftex-goto-label' jumps directly to a label +location. + +*** Changes related to citations and BibTeX database files + +Commands that insert a citation now prompt for optional arguments when +called with a prefix argument. Related new options are +`reftex-cite-prompt-optional-args' and `reftex-cite-cleanup-optional-args'. + +The new command `reftex-create-bibtex-file' creates a BibTeX database +with all entries referenced in the current document. The keys "e" and +"E" allow to produce a BibTeX database file from entries marked in a +citation selection buffer. + +The command `reftex-citation' uses the word in the buffer before the +cursor as a default search string. + +The support for chapterbib has been improved. Different chapters can +now use BibTeX or an explicit `thebibliography' environment. + +The macros which specify the bibliography file (like \bibliography) +can be configured with the new option `reftex-bibliography-commands'. + +Support for jurabib has been added. + +*** Global index matched may be verified with a user function. + +During global indexing, a user function can verify an index match. +See new option `reftex-index-verify-function'. + +*** Parsing documents with many labels can be sped up. + +Operating in a document with thousands of labels can be sped up +considerably by allowing RefTeX to derive the type of a label directly +from the label prefix like `eq:' or `fig:'. The option +`reftex-trust-label-prefix' needs to be configured in order to enable +this feature. While the speed-up is significant, this may reduce the +quality of the context offered by RefTeX to describe a label. + +*** Miscellaneous changes + +The macros which input a file in LaTeX (like \input, \include) can be +configured in the new option `reftex-include-file-commands'. + +RefTeX supports global incremental search. + +** BibTeX mode + +*** The new command `bibtex-url' browses a URL for the BibTeX entry at +point (bound to C-c C-l and mouse-2, RET on clickable fields). + +*** The new command `bibtex-entry-update' (bound to C-c C-u) updates +an existing BibTeX entry by inserting fields that may occur but are not +present. + +*** New `bibtex-entry-format' option `required-fields', enabled by default. + +*** `bibtex-maintain-sorted-entries' can take values `plain', +`crossref', and `entry-class' which control the sorting scheme used +for BibTeX entries. `bibtex-sort-entry-class' controls the sorting +scheme `entry-class'. TAB completion for reference keys and +automatic detection of duplicates does not require anymore that +`bibtex-maintain-sorted-entries' is non-nil. + +*** The new command `bibtex-complete' completes word fragment before +point according to context (bound to M-tab). + +*** In BibTeX mode the command `fill-paragraph' (M-q) fills +individual fields of a BibTeX entry. + +*** The new variable `bibtex-autofill-types' contains a list of entry +types for which fields are filled automatically (if possible). + +*** The new commands `bibtex-find-entry' and `bibtex-find-crossref' +locate entries and crossref'd entries (bound to C-c C-s and C-c C-x). +Crossref fields are clickable (bound to mouse-2, RET). + +*** The new variables `bibtex-files' and `bibtex-file-path' define a set +of BibTeX files that are searched for entry keys. + +*** The new command `bibtex-validate-globally' checks for duplicate keys +in multiple BibTeX files. + +*** If the new variable `bibtex-autoadd-commas' is non-nil, +automatically add missing commas at end of BibTeX fields. + +*** The new command `bibtex-copy-summary-as-kill' pushes summary +of BibTeX entry to kill ring (bound to C-c C-t). + +*** If the new variable `bibtex-parse-keys-fast' is non-nil, +use fast but simplified algorithm for parsing BibTeX keys. + +*** The new variables bibtex-expand-strings and +bibtex-autokey-expand-strings control the expansion of strings when +extracting the content of a BibTeX field. + +*** The variables `bibtex-autokey-name-case-convert' and +`bibtex-autokey-titleword-case-convert' have been renamed to +`bibtex-autokey-name-case-convert-function' and +`bibtex-autokey-titleword-case-convert-function'. The old names are +still available as aliases. + +** GUD changes + +*** The new package gdb-ui.el provides an enhanced graphical interface to +GDB. You can interact with GDB through the GUD buffer in the usual way, but +there are also further buffers which control the execution and describe the +state of your program. It can separate the input/output of your program from +that of GDB and watches expressions in the speedbar. It also uses features of +Emacs 21/22 such as the toolbar, and bitmaps in the fringe to indicate +breakpoints. + +To use this package just type M-x gdb. See the Emacs manual if you want the +old behaviour. + +*** GUD mode has its own tool bar for controlling execution of the inferior +and other common debugger commands. + +*** 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). + +*** The variable tooltip-gud-tips-p has been removed. GUD tooltips can now be +toggled independently of normal tooltips with the minor mode +`gud-tooltip-mode'. + +*** In graphical mode, with a C program, GUD Tooltips have been extended to +display the #define directive associated with an identifier when program is +not executing. + +*** GUD mode improvements for jdb: + +**** Search for source files using jdb classpath and class information. +Fast startup since there is no need to scan all source files up front. +There is also no need to create and maintain lists of source +directories to scan. Look at `gud-jdb-use-classpath' and +`gud-jdb-classpath' customization variables documentation. + +**** The previous method of searching for source files has been +preserved in case someone still wants/needs to use it. +Set `gud-jdb-use-classpath' to nil. + +**** Supports the standard breakpoint (gud-break, gud-clear) +set/clear operations from Java source files under the classpath, stack +traversal (gud-up, gud-down), and run until current stack finish +(gud-finish). + +**** Supports new jdb (Java 1.2 and later) in addition to oldjdb +(Java 1.1 jdb). + +*** Added jdb Customization Variables + +**** `gud-jdb-command-name'. What command line to use to invoke jdb. + +**** `gud-jdb-use-classpath'. Allows selection of java source file searching +method: set to t for new method, nil to scan `gud-jdb-directories' for +java sources (previous method). + +**** `gud-jdb-directories'. List of directories to scan and search for Java +classes using the original gud-jdb method (if `gud-jdb-use-classpath' +is nil). + +*** Minor Improvements + +**** The STARTTLS wrapper (starttls.el) can now use GNUTLS +instead of the OpenSSL based `starttls' tool. For backwards +compatibility, it prefers `starttls', but you can toggle +`starttls-use-gnutls' to switch to GNUTLS (or simply remove the +`starttls' tool). + +**** Do not allow debugger output history variable to grow without bounds. + +** Lisp mode changes + +*** Lisp mode now uses `font-lock-doc-face' for doc strings. + +*** C-u C-M-q in Emacs Lisp mode pretty-prints the list after point. + +*** New features in evaluation commands + +**** The function `eval-defun' (C-M-x) called on defface reinitializes +the face to the value specified in the defface expression. + +**** Typing C-x C-e twice prints the value of the integer result +in additional formats (octal, hexadecimal, character) specified +by the new function `eval-expression-print-format'. The same +function also defines the result format for `eval-expression' (M-:), +`eval-print-last-sexp' (C-j) and some edebug evaluation functions. + +** Changes to cmuscheme + +*** Emacs now offers to start Scheme if the user tries to +evaluate a Scheme expression but no Scheme subprocess is running. + +*** If the file ~/.emacs_NAME or ~/.emacs.d/init_NAME.scm (where NAME +is the name of the Scheme interpreter) exists, its contents are sent +to the Scheme subprocess upon startup. + +*** There are new commands to instruct the Scheme interpreter to trace +procedure calls (`scheme-trace-procedure') and to expand syntactic forms +(`scheme-expand-current-form'). The commands actually sent to the Scheme +subprocess are controlled by the user options `scheme-trace-command', +`scheme-untrace-command' and `scheme-expand-current-form'. + +** Ewoc changes + +*** The new function `ewoc-delete' deletes specified nodes. + +*** `ewoc-create' now takes optional arg NOSEP, which inhibits insertion of +a newline after each pretty-printed entry and after the header and footer. +This allows you to create multiple-entry ewocs on a single line and to +effect "invisible" nodes by arranging for the pretty-printer to not print +anything for those nodes. + +For example, these two sequences of expressions behave identically: + +;; NOSEP nil +(defun PP (data) (insert (format "%S" data))) +(ewoc-create 'PP "start\n") + +;; NOSEP t +(defun PP (data) (insert (format "%S\n" data))) +(ewoc-create 'PP "start\n\n" "\n" t) + +** CC mode changes + +*** The CC Mode manual has been extensively revised. +The information about using CC Mode has been separated from the larger +and more difficult chapters about configuration. + +*** New Minor Modes +**** Electric Minor Mode toggles the electric action of non-alphabetic keys. +The new command c-toggle-electric-mode is bound to C-c C-l. Turning the +mode off can be helpful for editing chaotically indented code and for +users new to CC Mode, who sometimes find electric indentation +disconcerting. Its current state is displayed in the mode line with an +'l', e.g. "C/al". + +**** Subword Minor Mode makes Emacs recognize word boundaries at upper case +letters in StudlyCapsIdentifiers. You enable this feature by C-c C-w. It can +also be used in non-CC Mode buffers. :-) Contributed by Masatake YAMATO. + +*** Support for the AWK language. +Support for the AWK language has been introduced. The implementation is +based around GNU AWK version 3.1, but it should work pretty well with +any AWK. As yet, not all features of CC Mode have been adapted for AWK. +Here is a summary: + +**** Indentation Engine +The CC Mode indentation engine fully supports AWK mode. + +AWK mode handles code formatted in the conventional AWK fashion: `{'s +which start actions, user-defined functions, or compound statements are +placed on the same line as the associated construct; the matching `}'s +are normally placed under the start of the respective pattern, function +definition, or structured statement. + +The predefined line-up functions haven't yet been adapted for AWK +mode, though some of them may work serendipitously. There shouldn't +be any problems writing custom indentation functions for AWK mode. + +**** Font Locking +There is a single level of font locking in AWK mode, rather than the +three distinct levels the other modes have. There are several +idiosyncrasies in AWK mode's font-locking due to the peculiarities of +the AWK language itself. + +**** Comment and Movement Commands +These commands all work for AWK buffers. The notion of "defun" has +been augmented to include AWK pattern-action pairs - the standard +"defun" commands on key sequences C-M-a, C-M-e, and C-M-h use this +extended definition. + +**** "awk" style, Auto-newline Insertion and Clean-ups +A new style, "awk" has been introduced, and this is now the default +style for AWK code. With auto-newline enabled, the clean-up +c-one-liner-defun (see above) is useful. + +*** Font lock support. +CC Mode now provides font lock support for all its languages. This +supersedes the font lock patterns that have been in the core font lock +package for C, C++, Java and Objective-C. Like indentation, font +locking is done in a uniform way across all languages (except the new +AWK mode - see below). That means that the new font locking will be +different from the old patterns in various details for most languages. + +The main goal of the font locking in CC Mode is accuracy, to provide a +dependable aid in recognizing the various constructs. Some, like +strings and comments, are easy to recognize while others like +declarations and types can be very tricky. CC Mode can go to great +lengths to recognize declarations and casts correctly, especially when +the types aren't recognized by standard patterns. This is a fairly +demanding analysis which can be slow on older hardware, and it can +therefore be disabled by choosing a lower decoration level with the +variable font-lock-maximum-decoration. + +Note that the most demanding font lock level has been tuned with lazy +fontification in mind; Just-In-Time-Lock mode should be enabled for +the highest font lock level (by default, it is). Fontifying a file +with several thousand lines in one go can take the better part of a +minute. + +**** The (c|c++|objc|java|idl|pike)-font-lock-extra-types variables +are now used by CC Mode to recognize identifiers that are certain to +be types. (They are also used in cases that aren't related to font +locking.) At the maximum decoration level, types are often recognized +properly anyway, so these variables should be fairly restrictive and +not contain patterns for uncertain types. + +**** Support for documentation comments. +There is a "plugin" system to fontify documentation comments like +Javadoc and the markup within them. It's independent of the host +language, so it's possible to e.g. turn on Javadoc font locking in C +buffers. See the variable c-doc-comment-style for details. + +Currently three kinds of doc comment styles are recognized: Sun's +Javadoc, Autodoc (which is used in Pike) and GtkDoc (used in C). (The +last was contributed by Masatake YAMATO). This is by no means a +complete list of the most common tools; if your doc comment extractor +of choice is missing then please drop a note to bug-cc-mode@gnu.org. + +**** Better handling of C++ templates. +As a side effect of the more accurate font locking, C++ templates are +now handled much better. The angle brackets that delimit them are +given parenthesis syntax so that they can be navigated like other +parens. + +This also improves indentation of templates, although there still is +work to be done in that area. E.g. it's required that multiline +template clauses are written in full and then refontified to be +recognized, and the indentation of nested templates is a bit odd and +not as configurable as it ought to be. + +**** Improved handling of Objective-C and CORBA IDL. +Especially the support for Objective-C and IDL has gotten an overhaul. +The special "@" declarations in Objective-C are handled correctly. +All the keywords used in CORBA IDL, PSDL, and CIDL are recognized and +handled correctly, also wrt indentation. + +*** Changes in Key Sequences +**** c-toggle-auto-hungry-state is no longer bound to C-c C-t. + +**** c-toggle-hungry-state is no longer bound to C-c C-d. +This binding has been taken over by c-hungry-delete-forwards. + +**** c-toggle-auto-state (C-c C-t) has been renamed to c-toggle-auto-newline. +c-toggle-auto-state remains as an alias. + +**** The new commands c-hungry-backspace and c-hungry-delete-forwards +have key bindings C-c C-DEL (or C-c DEL, for the benefit of TTYs) and +C-c C-d (or C-c C- or C-c ) respectively. These +commands delete entire blocks of whitespace with a single +key-sequence. [N.B. "DEL" is the key.] + +**** The new command c-toggle-electric-mode is bound to C-c C-l. + +**** The new command c-subword-mode is bound to C-c C-w. + +*** C-c C-s (`c-show-syntactic-information') now highlights the anchor +position(s). + +*** New syntactic symbols in IDL mode. +The top level constructs "module" and "composition" (from CIDL) are +now handled like "namespace" in C++: They are given syntactic symbols +module-open, module-close, inmodule, composition-open, +composition-close, and incomposition. + +*** New functions to do hungry delete without enabling hungry delete mode. +The new functions `c-hungry-backspace' and `c-hungry-delete-forward' +provide hungry deletion without having to toggle a mode. They are +bound to C-c C-DEL and C-c C-d (and several variants, for the benefit +of different keyboard setups. See "Changes in key sequences" above). + +*** Better control over `require-final-newline'. + +The variable `c-require-final-newline' specifies which of the modes +implemented by CC mode should insert final newlines. Its value is a +list of modes, and only those modes should do it. By default the list +includes C, C++ and Objective-C modes. + +Whichever modes are in this list will set `require-final-newline' +based on `mode-require-final-newline'. + +*** Format change for syntactic context elements. + +The elements in the syntactic context returned by `c-guess-basic-syntax' +and stored in `c-syntactic-context' has been changed somewhat to allow +attaching more information. They are now lists instead of single cons +cells. E.g. a line that previously had the syntactic analysis + +((inclass . 11) (topmost-intro . 13)) + +is now analyzed as + +((inclass 11) (topmost-intro 13)) + +In some cases there are more than one position given for a syntactic +symbol. + +This change might affect code that calls `c-guess-basic-syntax' +directly, and custom lineup functions if they use +`c-syntactic-context'. However, the argument given to lineup +functions is still a single cons cell with nil or an integer in the +cdr. + +*** API changes for derived modes. + +There have been extensive changes "under the hood" which can affect +derived mode writers. Some of these changes are likely to cause +incompatibilities with existing derived modes, but on the other hand +care has now been taken to make it possible to extend and modify CC +Mode with less risk of such problems in the future. + +**** New language variable system. +These are variables whose values vary between CC Mode's different +languages. See the comment blurb near the top of cc-langs.el. + +**** New initialization functions. +The initialization procedure has been split up into more functions to +give better control: `c-basic-common-init', `c-font-lock-init', and +`c-init-language-vars'. + +*** Changes in analysis of nested syntactic constructs. +The syntactic analysis engine has better handling of cases where +several syntactic constructs appear nested on the same line. They are +now handled as if each construct started on a line of its own. + +This means that CC Mode now indents some cases differently, and +although it's more consistent there might be cases where the old way +gave results that's more to one's liking. So if you find a situation +where you think that the indentation has become worse, please report +it to bug-cc-mode@gnu.org. + +**** New syntactic symbol substatement-label. +This symbol is used when a label is inserted between a statement and +its substatement. E.g: + + if (x) + x_is_true: + do_stuff(); + +*** Better handling of multiline macros. + +**** Syntactic indentation inside macros. +The contents of multiline #define's are now analyzed and indented +syntactically just like other code. This can be disabled by the new +variable `c-syntactic-indentation-in-macros'. A new syntactic symbol +`cpp-define-intro' has been added to control the initial indentation +inside `#define's. + +**** New lineup function `c-lineup-cpp-define'. + +Now used by default to line up macro continuation lines. The behavior +of this function closely mimics the indentation one gets if the macro +is indented while the line continuation backslashes are temporarily +removed. If syntactic indentation in macros is turned off, it works +much line `c-lineup-dont-change', which was used earlier, but handles +empty lines within the macro better. + +**** Automatically inserted newlines continues the macro if used within one. +This applies to the newlines inserted by the auto-newline mode, and to +`c-context-line-break' and `c-context-open-line'. + +**** Better alignment of line continuation backslashes. +`c-backslash-region' tries to adapt to surrounding backslashes. New +variable `c-backslash-max-column' puts a limit on how far out +backslashes can be moved. + +**** Automatic alignment of line continuation backslashes. +This is controlled by the new variable `c-auto-align-backslashes'. It +affects `c-context-line-break', `c-context-open-line' and newlines +inserted in Auto-Newline mode. + +**** Line indentation works better inside macros. +Regardless whether syntactic indentation and syntactic indentation +inside macros are enabled or not, line indentation now ignores the +line continuation backslashes. This is most noticeable when syntactic +indentation is turned off and there are empty lines (save for the +backslash) in the macro. + +*** indent-for-comment is more customizable. +The behavior of M-; (indent-for-comment) is now configurable through +the variable `c-indent-comment-alist'. The indentation behavior is +based on the preceding code on the line, e.g. to get two spaces after +#else and #endif but indentation to `comment-column' in most other +cases (something which was hardcoded earlier). + +*** New function `c-context-open-line'. +It's the open-line equivalent of `c-context-line-break'. + +*** New clean-ups + +**** `comment-close-slash'. +With this clean-up, a block (i.e. c-style) comment can be terminated by +typing a slash at the start of a line. + +**** `c-one-liner-defun' +This clean-up compresses a short enough defun (for example, an AWK +pattern/action pair) onto a single line. "Short enough" is configurable. + +*** New lineup functions + +**** `c-lineup-string-cont' +This lineup function lines up a continued string under the one it +continues. E.g: + +result = prefix + "A message " + "string."; <- c-lineup-string-cont + +**** `c-lineup-cascaded-calls' +Lines up series of calls separated by "->" or ".". + +**** `c-lineup-knr-region-comment' +Gives (what most people think is) better indentation of comments in +the "K&R region" between the function header and its body. + +**** `c-lineup-gcc-asm-reg' +Provides better indentation inside asm blocks. + +**** `c-lineup-argcont' +Lines up continued function arguments after the preceding comma. + +*** Added toggle for syntactic indentation. +The function `c-toggle-syntactic-indentation' can be used to toggle +syntactic indentation. + +*** Better caching of the syntactic context. +CC Mode caches the positions of the opening parentheses (of any kind) +of the lists surrounding the point. Those positions are used in many +places as anchor points for various searches. The cache is now +improved so that it can be reused to a large extent when the point is +moved. The less it moves, the less needs to be recalculated. + +The effect is that CC Mode should be fast most of the time even when +opening parens are hung (i.e. aren't in column zero). It's typically +only the first time after the point is moved far down in a complex +file that it'll take noticeable time to find out the syntactic +context. + +*** Statements are recognized in a more robust way. +Statements are recognized most of the time even when they occur in an +"invalid" context, e.g. in a function argument. In practice that can +happen when macros are involved. + +*** Improved the way `c-indent-exp' chooses the block to indent. +It now indents the block for the closest sexp following the point +whose closing paren ends on a different line. This means that the +point doesn't have to be immediately before the block to indent. +Also, only the block and the closing line is indented; the current +line is left untouched. + +** Changes in Makefile mode + +*** Makefile mode has submodes for automake, gmake, makepp, BSD make and imake. + +The former two couldn't be differentiated before, and the latter three +are new. Font-locking is robust now and offers new customizable +faces. + +*** The variable `makefile-query-one-target-method' has been renamed +to `makefile-query-one-target-method-function'. The old name is still +available as alias. + +** Sql changes + +*** The variable `sql-product' controls the highlighting of different +SQL dialects. This variable can be set globally via Customize, on a +buffer-specific basis via local variable settings, or for the current +session using the new SQL->Product submenu. (This menu replaces the +SQL->Highlighting submenu.) + +The following values are supported: + + ansi ANSI Standard (default) + db2 DB2 + informix Informix + ingres Ingres + interbase Interbase + linter Linter + ms Microsoft + mysql MySQL + oracle Oracle + postgres Postgres + solid Solid + sqlite SQLite + sybase Sybase + +The current product name will be shown on the mode line following the +SQL mode indicator. + +The technique of setting `sql-mode-font-lock-defaults' directly in +your `.emacs' will no longer establish the default highlighting -- Use +`sql-product' to accomplish this. + +ANSI keywords are always highlighted. + +*** The function `sql-add-product-keywords' can be used to add +font-lock rules to the product specific rules. For example, to have +all identifiers ending in `_t' under MS SQLServer treated as a type, +you would use the following line in your .emacs file: + + (sql-add-product-keywords 'ms + '(("\\<\\w+_t\\>" . font-lock-type-face))) + +*** Oracle support includes keyword highlighting for Oracle 9i. + +Most SQL and PL/SQL keywords are implemented. SQL*Plus commands are +highlighted in `font-lock-doc-face'. + +*** Microsoft SQLServer support has been significantly improved. + +Keyword highlighting for SqlServer 2000 is implemented. +sql-interactive-mode defaults to use osql, rather than isql, because +osql flushes its error stream more frequently. Thus error messages +are displayed when they occur rather than when the session is +terminated. + +If the username and password are not provided to `sql-ms', osql is +called with the `-E' command line argument to use the operating system +credentials to authenticate the user. + +*** Postgres support is enhanced. +Keyword highlighting of Postgres 7.3 is implemented. Prompting for +the username and the pgsql `-U' option is added. + +*** MySQL support is enhanced. +Keyword highlighting of MySql 4.0 is implemented. + +*** Imenu support has been enhanced to locate tables, views, indexes, +packages, procedures, functions, triggers, sequences, rules, and +defaults. + +*** Added SQL->Start SQLi Session menu entry which calls the +appropriate `sql-interactive-mode' wrapper for the current setting of +`sql-product'. + +*** sql.el supports the SQLite interpreter--call 'sql-sqlite'. + +** Fortran mode changes + +*** F90 mode and Fortran mode have support for `hs-minor-mode' (hideshow). +It cannot deal with every code format, but ought to handle a sizeable +majority. + +*** F90 mode and Fortran mode have new navigation commands +`f90-end-of-block', `f90-beginning-of-block', `f90-next-block', +`f90-previous-block', `fortran-end-of-block', +`fortran-beginning-of-block'. + +*** Fortran mode does more font-locking by default. Use level 3 +highlighting for the old default. + +*** Fortran mode has a new variable `fortran-directive-re'. +Adapt this to match the format of any compiler directives you use. +Lines that match are never indented, and are given distinctive font-locking. + +*** The new function `f90-backslash-not-special' can be used to change +the syntax of backslashes in F90 buffers. + +** Miscellaneous programming mode changes + +*** In sh-script, a continuation line is only indented if the backslash was +preceded by a SPC or a TAB. + +*** Perl mode has a new variable `perl-indent-continued-arguments'. + +*** The old Octave mode bindings C-c f and C-c i have been changed +to C-c C-f and C-c C-i. The C-c C-i subcommands now have duplicate +bindings on control characters--thus, C-c C-i C-b is the same as +C-c C-i b, and so on. + +*** Prolog mode has a new variable `prolog-font-lock-keywords' +to support use of font-lock. + +** VC Changes + +*** New backends for Subversion and Meta-CVS. + +*** The new variable `vc-cvs-global-switches' specifies switches that +are passed to any CVS command invoked by VC. + +These switches are used as "global options" for CVS, which means they +are inserted before the command name. For example, this allows you to +specify a compression level using the `-z#' option for CVS. + +*** The key C-x C-q only changes the read-only state of the buffer +(toggle-read-only). It no longer checks files in or out. + +We made this change because we held a poll and found that many users +were unhappy with the previous behavior. If you do prefer this +behavior, you can bind `vc-toggle-read-only' to C-x C-q in your +`.emacs' file: + + (global-set-key "\C-x\C-q" 'vc-toggle-read-only) + +The function `vc-toggle-read-only' will continue to exist. + +*** VC-Annotate mode enhancements + +In VC-Annotate mode, you can now use the following key bindings for +enhanced functionality to browse the annotations of past revisions, or +to view diffs or log entries directly from vc-annotate-mode: + + P: annotates the previous revision + N: annotates the next revision + J: annotates the revision at line + A: annotates the revision previous to line + D: shows the diff of the revision at line with its previous revision + L: shows the log of the revision at line + W: annotates the workfile (most up to date) version + +** pcl-cvs changes + +*** In pcl-cvs mode, there is a new `d y' command to view the diffs +between the local version of the file and yesterday's head revision +in the repository. + +*** In pcl-cvs mode, there is a new `d r' command to view the changes +anyone has committed to the repository since you last executed +`checkout', `update' or `commit'. That means using cvs diff options +-rBASE -rHEAD. + +** Diff changes + +*** M-x diff uses Diff mode instead of Compilation mode. + +*** Diff mode key bindings changed. + +These are the new bindings: + +C-c C-e diff-ediff-patch (old M-A) +C-c C-n diff-restrict-view (old M-r) +C-c C-r diff-reverse-direction (old M-R) +C-c C-u diff-context->unified (old M-U) +C-c C-w diff-refine-hunk (old C-c C-r) + +To convert unified to context format, use C-u C-c C-u. +In addition, C-c C-u now operates on the region +in Transient Mark mode when the mark is active. + +** EDiff changes. + +*** When comparing directories. +Typing D brings up a buffer that lists the differences between the contents of +directories. Now it is possible to use this buffer to copy the missing files +from one directory to another. + +*** When comparing files or buffers. +Typing the = key now offers to perform the word-by-word comparison of the +currently highlighted regions in an inferior Ediff session. If you answer 'n' +then it reverts to the old behavior and asks the user to select regions for +comparison. + +*** The new command `ediff-backup' compares a file with its most recent +backup using `ediff'. If you specify the name of a backup file, +`ediff-backup' compares it with the file of which it is a backup. + +** Etags changes. + +*** New regular expressions features + +**** New syntax for regular expressions, multi-line regular expressions. + +The syntax --ignore-case-regexp=/regex/ is now undocumented and retained +only for backward compatibility. The new equivalent syntax is +--regex=/regex/i. More generally, it is --regex=/TAGREGEX/TAGNAME/MODS, +where `/TAGNAME' is optional, as usual, and MODS is a string of 0 or +more characters among `i' (ignore case), `m' (multi-line) and `s' +(single-line). The `m' and `s' modifiers behave as in Perl regular +expressions: `m' allows regexps to match more than one line, while `s' +(which implies `m') means that `.' matches newlines. The ability to +span newlines allows writing of much more powerful regular expressions +and rapid prototyping for tagging new languages. + +**** Regular expressions can use char escape sequences as in GCC. + +The escaped character sequence \a, \b, \d, \e, \f, \n, \r, \t, \v, +respectively, stand for the ASCII characters BEL, BS, DEL, ESC, FF, NL, +CR, TAB, VT. + +**** Regular expressions can be bound to a given language. + +The syntax --regex={LANGUAGE}REGEX means that REGEX is used to make tags +only for files of language LANGUAGE, and ignored otherwise. This is +particularly useful when storing regexps in a file. + +**** Regular expressions can be read from a file. + +The --regex=@regexfile option means read the regexps from a file, one +per line. Lines beginning with space or tab are ignored. + +*** New language parsing features + +**** New language HTML. + +Tags are generated for `title' as well as `h1', `h2', and `h3'. Also, +when `name=' is used inside an anchor and whenever `id=' is used. + +**** New language PHP. + +Functions, classes and defines are tags. If the --members option is +specified to etags, variables are tags also. + +**** New language Lua. + +All functions are tagged. + +**** The `::' qualifier triggers C++ parsing in C file. + +Previously, only the `template' and `class' keywords had this effect. + +**** The GCC __attribute__ keyword is now recognized and ignored. + +**** In C and derived languages, etags creates tags for #undef + +**** In Makefiles, constants are tagged. + +If you want the old behavior instead, thus avoiding to increase the +size of the tags file, use the --no-globals option. + +**** In Perl, packages are tags. + +Subroutine tags are named from their package. You can jump to sub tags +as you did before, by the sub name, or additionally by looking for +package::sub. + +**** In Prolog, etags creates tags for rules in addition to predicates. + +**** New default keywords for TeX. + +The new keywords are def, newcommand, renewcommand, newenvironment and +renewenvironment. + +*** Honor #line directives. + +When Etags parses an input file that contains C preprocessor's #line +directives, it creates tags using the file name and line number +specified in those directives. This is useful when dealing with code +created from Cweb source files. When Etags tags the generated file, it +writes tags pointing to the source file. + +*** New option --parse-stdin=FILE. + +This option is mostly useful when calling etags from programs. It can +be used (only once) in place of a file name on the command line. Etags +reads from standard input and marks the produced tags as belonging to +the file FILE. + +*** The --members option is now the default. + +Use --no-members if you want the old default behaviour of not tagging +struct members in C, members variables in C++ and variables in PHP. + +** Ctags changes. + +*** Ctags now allows duplicate tags + +** Rmail changes + +*** Support for `movemail' from GNU mailutils was added to Rmail. + +This version of `movemail' allows you to read mail from a wide range of +mailbox formats, including remote POP3 and IMAP4 mailboxes with or +without TLS encryption. If GNU mailutils is installed on the system +and its version of `movemail' can be found in exec-path, it will be +used instead of the native one. + +*** The new commands rmail-end-of-message and rmail-summary end-of-message, +by default bound to `/', go to the end of the current mail message in +Rmail and Rmail summary buffers. + +*** Rmail now displays 5-digit message ids in its summary buffer. + +** Gnus package + +*** Gnus now includes Sieve and PGG + +Sieve is a library for managing Sieve scripts. PGG is a library to handle +PGP/MIME. + +*** There are many news features, bug fixes and improvements. + +See the file GNUS-NEWS or the node "Oort Gnus" in the Gnus manual for details. + +** MH-E changes. + +Upgraded to MH-E version 8.0.3. There have been major changes since +version 5.0.2; see MH-E-NEWS for details. + +** Miscellaneous mail changes + +*** The new variable `mail-default-directory' specifies +`default-directory' for mail buffers. This directory is used for +auto-save files of mail buffers. It defaults to "~/". + +*** The mode line can indicate new mail in a directory or file. + +See the documentation of the user option `display-time-mail-directory'. + +** Calendar changes + +*** There is a new calendar package, icalendar.el, that can be used to +convert Emacs diary entries to/from the iCalendar format. + +*** The new package cal-html.el writes HTML files with calendar and +diary entries. + +*** The new functions `diary-from-outlook', `diary-from-outlook-gnus', +and `diary-from-outlook-rmail' can be used to import diary entries +from Outlook-format appointments in mail messages. The variable +`diary-outlook-formats' can be customized to recognize additional +formats. + +*** The procedure for activating appointment reminders has changed: +use the new function `appt-activate'. The new variable +`appt-display-format' controls how reminders are displayed, replacing +`appt-issue-message', `appt-visible', and `appt-msg-window'. + +*** The function `simple-diary-display' now by default sets a header line. +This can be controlled through the variables `diary-header-line-flag' +and `diary-header-line-format'. + +*** Diary sexp entries can have custom marking in the calendar. +Diary sexp functions which only apply to certain days (such as +`diary-block' or `diary-cyclic') now take an optional parameter MARK, +which is the name of a face or a single-character string indicating +how to highlight the day in the calendar display. Specifying a +single-character string as @var{mark} places the character next to the +day in the calendar. Specifying a face highlights the day with that +face. This lets you have different colors or markings for vacations, +appointments, paydays or anything else using a sexp. + +*** The meanings of C-x < and C-x > have been interchanged. +< means to scroll backward in time, and > means to scroll forward. + +*** You can now use < and >, instead of C-x < and C-x >, to scroll +the calendar left or right. + +*** The new function `calendar-goto-day-of-year' (g D) prompts for a +year and day number, and moves to that date. Negative day numbers +count backward from the end of the year. + +*** The new Calendar function `calendar-goto-iso-week' (g w) +prompts for a year and a week number, and moves to the first +day of that ISO week. + +*** The functions `holiday-easter-etc' and `holiday-advent' now take +optional arguments, in order to only report on the specified holiday +rather than all. This makes customization of variables such as +`christian-holidays' simpler. + +*** The new variable `calendar-minimum-window-height' affects the +window generated by the function `generate-calendar-window'. + +** Speedbar changes + +*** Speedbar items can now be selected by clicking mouse-1, based on +the `mouse-1-click-follows-link' mechanism. + +*** The new command `speedbar-toggle-line-expansion', bound to SPC, +contracts or expands the line under the cursor. + +*** New command `speedbar-create-directory', bound to `M'. + +*** The new commands `speedbar-expand-line-descendants' and +`speedbar-contract-line-descendants', bound to `[' and `]' +respectively, expand and contract the line under cursor with all of +its descendents. + +*** The new user option `speedbar-use-tool-tips-flag', if non-nil, +means to display tool-tips for speedbar items. + +*** The new user option `speedbar-query-confirmation-method' controls +how querying is performed for file operations. A value of 'always +means to always query before file operations; 'none-but-delete means +to not query before any file operations, except before a file +deletion. + +*** The new user option `speedbar-select-frame-method' specifies how +to select a frame for displaying a file opened with the speedbar. A +value of 'attached means to use the attached frame (the frame that +speedbar was started from.) A number such as 1 or -1 means to pass +that number to `other-frame'. + +*** SPC and DEL are no longer bound to scroll up/down in the speedbar +keymap. + +*** The frame management code in speedbar.el has been split into a new +`dframe' library. Emacs Lisp code that makes use of the speedbar +should use `dframe-attached-frame' instead of +`speedbar-attached-frame', `dframe-timer' instead of `speedbar-timer', +`dframe-close-frame' instead of `speedbar-close-frame', and +`dframe-activity-change-focus-flag' instead of +`speedbar-activity-change-focus-flag'. The variables +`speedbar-update-speed' and `speedbar-navigating-speed' are also +obsolete; use `dframe-update-speed' instead. + +** battery.el changes + +*** display-battery-mode replaces display-battery. + +*** battery.el now works on recent versions of OS X. + +** Games + +*** The game `mpuz' is enhanced. + +`mpuz' now allows the 2nd factor not to have two identical digits. By +default, all trivial operations involving whole lines are performed +automatically. The game uses faces for better visual feedback. + +** Obsolete and deleted packages + +*** fast-lock.el and lazy-lock.el are obsolete. Use jit-lock.el instead. + +*** iso-acc.el is now obsolete. Use one of the latin input methods instead. + +*** zone-mode.el is now obsolete. Use dns-mode.el instead. + +*** cplus-md.el has been deleted. + +** Miscellaneous + +*** The variable `woman-topic-at-point' is renamed +to `woman-use-topic-at-point' and behaves differently: if this +variable is non-nil, the `woman' command uses the word at point +automatically, without asking for a confirmation. Otherwise, the word +at point is suggested as default, but not inserted at the prompt. + +*** You can now customize `fill-nobreak-predicate' to control where +filling can break lines. The value is now normally a list of +functions, but it can also be a single function, for compatibility. + +Emacs provide two predicates, `fill-single-word-nobreak-p' and +`fill-french-nobreak-p', for use as the value of +`fill-nobreak-predicate'. + +*** M-x view-file and commands that use it now avoid interfering +with special modes such as Tar mode. + +*** `global-whitespace-mode' is a new alias for `whitespace-global-mode'. + +*** The saveplace.el package now filters out unreadable files. + +When you exit Emacs, the saved positions in visited files no longer +include files that aren't readable, e.g. files that don't exist. +Customize the new option `save-place-forget-unreadable-files' to nil +to get the old behavior. The new options `save-place-save-skipped' +and `save-place-skip-check-regexp' allow further fine-tuning of this +feature. + +*** Commands `winner-redo' and `winner-undo', from winner.el, are now +bound to C-c and C-c , respectively. This is an +incompatible change. + +*** The type-break package now allows `type-break-file-name' to be nil +and if so, doesn't store any data across sessions. This is handy if +you don't want the `.type-break' file in your home directory or are +annoyed by the need for interaction when you kill Emacs. + +*** `ps-print' can now print characters from the mule-unicode charsets. + +Printing text with characters from the mule-unicode-* sets works with +`ps-print', provided that you have installed the appropriate BDF +fonts. See the file INSTALL for URLs where you can find these fonts. + +*** New command `strokes-global-set-stroke-string'. +This is like `strokes-global-set-stroke', but it allows you to bind +the stroke directly to a string to insert. This is convenient for +using strokes as an input method. + +*** In Outline mode, `hide-body' no longer hides lines at the top +of the file that precede the first header line. + +*** `hide-ifdef-mode' now uses overlays rather than selective-display +to hide its text. This should be mostly transparent but slightly +changes the behavior of motion commands like C-e and C-p. + +*** In Artist mode the variable `artist-text-renderer' has been +renamed to `artist-text-renderer-function'. The old name is still +available as alias. + +*** In Enriched mode, `set-left-margin' and `set-right-margin' are now +by default bound to `C-c [' and `C-c ]' instead of the former `C-c C-l' +and `C-c C-r'. + +*** `partial-completion-mode' now handles partial completion on directory names. + +*** You can now disable pc-selection-mode after enabling it. + +M-x pc-selection-mode behaves like a proper minor mode, and with no +argument it toggles the mode. Turning off PC-Selection mode restores +the global key bindings that were replaced by turning on the mode. + +*** `uniquify-strip-common-suffix' tells uniquify to prefer +`file|dir1' and `file|dir2' to `file|dir1/subdir' and `file|dir2/subdir'. + +*** New user option `add-log-always-start-new-record'. + +When this option is enabled, M-x add-change-log-entry always +starts a new record regardless of when the last record is. + +*** M-x compare-windows now can automatically skip non-matching text to +resync points in both windows. + +*** PO translation files are decoded according to their MIME headers +when Emacs visits them. + +*** Telnet now prompts you for a port number with C-u M-x telnet. + +*** calculator.el now has radix grouping mode. + +To enable this, set `calculator-output-radix' non-nil. In this mode a +separator character is used every few digits, making it easier to see +byte boundaries etc. For more info, see the documentation of the +variable `calculator-radix-grouping-mode'. + +*** LDAP support now defaults to ldapsearch from OpenLDAP version 2. + +*** The terminal emulation code in term.el has been improved; it can +run most curses applications now. + +*** Support for `magic cookie' standout modes has been removed. + +Emacs still works on terminals that require magic cookies in order to +use standout mode, but they can no longer display mode-lines in +inverse-video. + + +* Changes in Emacs 22.1 on non-free operating systems + +** The HOME directory defaults to Application Data under the user profile. + +If you used a previous version of Emacs without setting the HOME +environment variable and a `.emacs' was saved, then Emacs will continue +using C:/ as the default HOME. But if you are installing Emacs afresh, +the default location will be the "Application Data" (or similar +localized name) subdirectory of your user profile. A typical location +of this directory is "C:\Documents and Settings\USERNAME\Application Data", +where USERNAME is your user name. + +This change means that users can now have their own `.emacs' files on +shared computers, and the default HOME directory is less likely to be +read-only on computers that are administered by someone else. + +** Images are now supported on MS Windows. + +PBM and XBM images are supported out of the box. Other image formats +depend on external libraries. All of these libraries have been ported +to Windows, and can be found in both source and binary form at +http://gnuwin32.sourceforge.net/. Note that libpng also depends on +zlib, and tiff depends on the version of jpeg that it was compiled +against. For additional information, see nt/INSTALL. + +** Sound is now supported on MS Windows. + +WAV format is supported on all versions of Windows, other formats such +as AU, AIFF and MP3 may be supported in the more recent versions of +Windows, or when other software provides hooks into the system level +sound support for those formats. + +** Tooltips now work on MS Windows. + +See the Emacs 21.1 NEWS entry for tooltips for details. + +** Pointing devices with more than 3 buttons are now supported on MS Windows. + +The new variable `w32-pass-extra-mouse-buttons-to-system' controls +whether Emacs should handle the extra buttons itself (the default), or +pass them to Windows to be handled with system-wide functions. + +** Passing resources on the command line now works on MS Windows. + +You can use --xrm to pass resource settings to Emacs, overriding any +existing values. For example: + + emacs --xrm "Emacs.Background:red" --xrm "Emacs.Geometry:100x20" + +will start up Emacs on an initial frame of 100x20 with red background, +irrespective of geometry or background setting on the Windows registry. + +** Emacs takes note of colors defined in Control Panel on MS-Windows. + +The Control Panel defines some default colors for applications in much +the same way as wildcard X Resources do on X. Emacs now adds these +colors to the colormap prefixed by System (eg SystemMenu for the +default Menu background, SystemMenuText for the foreground), and uses +some of them to initialize some of the default faces. +`list-colors-display' shows the list of System color names, in case +you wish to use them in other faces. + +** Running in a console window in Windows now uses the console size. + +Previous versions of Emacs erred on the side of having a usable Emacs +through telnet, even though that was inconvenient if you use Emacs in +a local console window with a scrollback buffer. The default value of +w32-use-full-screen-buffer is now nil, which favors local console +windows. Recent versions of Windows telnet also work well with this +setting. If you are using an older telnet server then Emacs detects +that the console window dimensions that are reported are not sane, and +defaults to 80x25. If you use such a telnet server regularly at a size +other than 80x25, you can still manually set +w32-use-full-screen-buffer to t. + +** Different shaped mouse pointers are supported on MS Windows. + +The mouse pointer changes shape depending on what is under the pointer. + +** On MS Windows, the "system caret" now follows the cursor. + +This enables Emacs to work better with programs that need to track the +cursor, for example screen magnifiers and text to speech programs. +When such a program is in use, the system caret is made visible +instead of Emacs drawing its own cursor. This seems to be required by +some programs. The new variable w32-use-visible-system-caret allows +the caret visibility to be manually toggled. + +** On MS Windows NT/W2K/XP, Emacs uses Unicode for clipboard operations. + +Those systems use Unicode internally, so this allows Emacs to share +multilingual text with other applications. On other versions of +MS Windows, Emacs now uses the appropriate locale coding-system, so +the clipboard should work correctly for your local language without +any customizations. + +** On Mac OS, `keyboard-coding-system' changes based on the keyboard script. + +** The variable `mac-keyboard-text-encoding' and the constants +`kTextEncodingMacRoman', `kTextEncodingISOLatin1', and +`kTextEncodingISOLatin2' are obsolete. + +** The variable `mac-command-key-is-meta' is obsolete. Use +`mac-command-modifier' and `mac-option-modifier' instead. + +* Incompatible Lisp Changes in Emacs 22.1 + +** Mode line display ignores text properties as well as the +:propertize and :eval forms in the value of a variable whose +`risky-local-variable' property is nil. + +The function `comint-send-input' now accepts 3 optional arguments: + + (comint-send-input &optional no-newline artificial) + +Callers sending input not from the user should use bind the 3rd +argument `artificial' to a non-nil value, to prevent Emacs from +deleting the part of subprocess output that matches the input. + +** The `read-file-name' function now returns a null string if the +user just types RET. + +** The variables post-command-idle-hook and post-command-idle-delay have +been removed. Use run-with-idle-timer instead. + +** A hex or octal escape in a string constant forces the string to +be multibyte or unibyte, respectively. + +** The explicit method of creating a display table element by +combining a face number and a character code into a numeric +glyph code is deprecated. + +Instead, the new functions `make-glyph-code', `glyph-char', and +`glyph-face' must be used to create and decode glyph codes in +display tables. + +** `suppress-keymap' now works by remapping `self-insert-command' to +the command `undefined'. (In earlier Emacs versions, it used +`substitute-key-definition' to rebind self inserting characters to +`undefined'.) + +** The third argument of `accept-process-output' is now milliseconds. +It used to be microseconds. + +** The function find-operation-coding-system may be called with a cons +(FILENAME . BUFFER) in the second argument if the first argument +OPERATION is `insert-file-contents', and thus a function registered in +`file-coding-system-alist' is also called with such an argument. + +** When Emacs receives a USR1 or USR2 signal, this generates +input events: sigusr1 or sigusr2. Use special-event-map to +handle these events. + +** The variable `memory-full' now remains t until +there is no longer a shortage of memory. + +** Support for Mocklisp has been removed. + + +* Lisp Changes in Emacs 22.1 + +** General Lisp changes: + +*** New syntax: \s now stands for the SPACE character. + +`?\s' is a new way to write the space character. You must make sure +it is not followed by a dash, since `?\s-...' indicates the "super" +modifier. However, it would be strange to write a character constant +and a following symbol (beginning with `-') with no space between +them. + +`\s' stands for space in strings, too, but it is not really meant for +strings; it is easier and nicer just to write a space. + +*** New syntax: \uXXXX and \UXXXXXXXX specify Unicode code points in hex. + +For instance, you can use "\u0428" to specify a string consisting of +CYRILLIC CAPITAL LETTER SHA, or `"U0001D6E2" to specify one consisting +of MATHEMATICAL ITALIC CAPITAL ALPHA (the latter is greater than +#xFFFF and thus needs the longer syntax). + +This syntax works for both character constants and strings. + +*** New function `unsafep' determines whether a Lisp form is safe. + +It returns nil if the given Lisp form can't possibly do anything +dangerous; otherwise it returns a reason why the form might be unsafe +(calls unknown function, alters global variable, etc.). + +*** The function `eql' is now available without requiring the CL package. + +*** The new function `memql' is like `memq', but uses `eql' for comparison, +that is, floats are compared by value and other elements with `eq'. + +*** New functions `string-or-null-p' and `booleanp'. + +`string-or-null-p' returns non-nil if OBJECT is a string or nil. +`booleanp' returns non-nil if OBJECT is t or nil. + +*** `makehash' is now obsolete. Use `make-hash-table' instead. + +*** Minor change in the function `format'. + +Some flags that were accepted but not implemented (such as "*") are no +longer accepted. + +*** `add-to-list' takes an optional third argument, APPEND. + +If APPEND is non-nil, the new element gets added at the end of the +list instead of at the beginning. This change actually occurred in +Emacs 21.1, but was not documented then. + +*** New function `add-to-ordered-list' is like `add-to-list' but +associates a numeric ordering of each element added to the list. + +*** New function `add-to-history' adds an element to a history list. + +Lisp packages should use this function to add elements to their +history lists. + +If `history-delete-duplicates' is non-nil, it removes duplicates of +the new element from the history list it updates. + +*** New function `copy-tree' makes a copy of a tree. + +It recursively copies through both CARs and CDRs. + +*** New function `delete-dups' deletes `equal' duplicate elements from a list. + +It modifies the list destructively, like `delete'. Of several `equal' +occurrences of an element in the list, the one that's kept is the +first one. + +*** New function `rassq-delete-all'. + +(rassq-delete-all VALUE ALIST) deletes, from ALIST, each element whose +CDR is `eq' to the specified value. + +*** Functions `get' and `plist-get' no longer give errors for bad plists. + +They return nil for a malformed property list or if the list is +cyclic. + +*** New functions `lax-plist-get' and `lax-plist-put'. + +They are like `plist-get' and `plist-put', except that they compare +the property name using `equal' rather than `eq'. + +*** The function `number-sequence' makes a list of equally-separated numbers. + +For instance, (number-sequence 4 9) returns (4 5 6 7 8 9). By +default, the separation is 1, but you can specify a different +separation as the third argument. (number-sequence 1.5 6 2) returns +(1.5 3.5 5.5). + +*** New variables `most-positive-fixnum' and `most-negative-fixnum'. + +They hold the largest and smallest possible integer values. + +*** The function `expt' handles negative exponents differently. +The value for `(expt A B)', if both A and B are integers and B is +negative, is now a float. For example: (expt 2 -2) => 0.25. + +*** The function `atan' now accepts an optional second argument. + +When called with 2 arguments, as in `(atan Y X)', `atan' returns the +angle in radians between the vector [X, Y] and the X axis. (This is +equivalent to the standard C library function `atan2'.) + +*** New macro `with-case-table' + +This executes the body with the case table temporarily set to a given +case table. + +*** New macro `with-local-quit' temporarily allows quitting. + +A quit inside the body of `with-local-quit' is caught by the +`with-local-quit' form itself, but another quit will happen later once +the code that has inhibited quitting exits. + +This is for use around potentially blocking or long-running code +inside timer functions and `post-command-hook' functions. + +*** New macro `define-obsolete-function-alias'. + +This combines `defalias' and `make-obsolete'. + +*** New macro `eval-at-startup' specifies expressions to +evaluate when Emacs starts up. If this is done after startup, +it evaluates those expressions immediately. + +This is useful in packages that can be preloaded. + +*** New function `macroexpand-all' expands all macros in a form. + +It is similar to the Common-Lisp function of the same name. +One difference is that it guarantees to return the original argument +if no expansion is done, which can be tested using `eq'. + +*** A function or macro's doc string can now specify the calling pattern. + +You put this info in the doc string's last line. It should be +formatted so as to match the regexp "\n\n(fn .*)\\'". If you don't +specify this explicitly, Emacs determines it from the actual argument +names. Usually that default is right, but not always. + +*** New variable `print-continuous-numbering'. + +When this is non-nil, successive calls to print functions use a single +numbering scheme for circular structure references. This is only +relevant when `print-circle' is non-nil. + +When you bind `print-continuous-numbering' to t, you should +also bind `print-number-table' to nil. + +*** `list-faces-display' takes an optional argument, REGEXP. + +If it is non-nil, the function lists only faces matching this regexp. + +*** New hook `command-error-function'. + +By setting this variable to a function, you can control +how the editor command loop shows the user an error message. + +*** `debug-on-entry' accepts primitive functions that are not special forms. + +** Lisp code indentation features: + +*** The `defmacro' form can contain indentation and edebug declarations. + +These declarations specify how to indent the macro calls in Lisp mode +and how to debug them with Edebug. You write them like this: + + (defmacro NAME LAMBDA-LIST [DOC-STRING] [DECLARATION ...] ...) + +DECLARATION is a list `(declare DECLARATION-SPECIFIER ...)'. The +possible declaration specifiers are: + +(indent INDENT) + Set NAME's `lisp-indent-function' property to INDENT. + +(edebug DEBUG) + Set NAME's `edebug-form-spec' property to DEBUG. (This is + equivalent to writing a `def-edebug-spec' for the macro, + but this is cleaner.) + +*** cl-indent now allows customization of Indentation of backquoted forms. + +See the new user option `lisp-backquote-indentation'. + +*** cl-indent now handles indentation of simple and extended `loop' forms. + +The new user options `lisp-loop-keyword-indentation', +`lisp-loop-forms-indentation', and `lisp-simple-loop-indentation' can +be used to customize the indentation of keywords and forms in loop +forms. + +** Variable aliases: + +*** New function: defvaralias ALIAS-VAR BASE-VAR [DOCSTRING] + +This function defines the symbol ALIAS-VAR as a variable alias for +symbol BASE-VAR. This means that retrieving the value of ALIAS-VAR +returns the value of BASE-VAR, and changing the value of ALIAS-VAR +changes the value of BASE-VAR. + +DOCSTRING, if present, is the documentation for ALIAS-VAR; else it has +the same documentation as BASE-VAR. + +*** The macro `define-obsolete-variable-alias' combines `defvaralias' and +`make-obsolete-variable'. + +*** New function: indirect-variable VARIABLE + +This function returns the variable at the end of the chain of aliases +of VARIABLE. If VARIABLE is not a symbol, or if VARIABLE is not +defined as an alias, the function returns VARIABLE. + +It might be noteworthy that variables aliases work for all kinds of +variables, including buffer-local and frame-local variables. + +** defcustom changes: + +*** The package-version keyword has been added to provide +`customize-changed-options' functionality to packages in the future. +Developers who make use of this keyword must also update the new +variable `customize-package-emacs-version-alist'. + +*** The new customization type `float' requires a floating point number. + +** String changes: + +*** A hex escape in a string constant forces the string to be multibyte. + +*** An octal escape in a string constant forces the string to be unibyte. + +*** New function `string-to-multibyte' converts a unibyte string to a +multibyte string with the same individual character codes. + +*** `split-string' now includes null substrings in the returned list if +the optional argument SEPARATORS is non-nil and there are matches for +SEPARATORS at the beginning or end of the string. If SEPARATORS is +nil, or if the new optional third argument OMIT-NULLS is non-nil, all +empty matches are omitted from the returned list. + +*** The new function `assoc-string' replaces `assoc-ignore-case' and +`assoc-ignore-representation', which are still available, but have +been declared obsolete. + +*** New function `substring-no-properties' returns a substring without +text properties. + +** Displaying warnings to the user. + +See the functions `warn' and `display-warning', or the Lisp Manual. +If you want to be sure the warning will not be overlooked, this +facility is much better than using `message', since it displays +warnings in a separate window. + +** Progress reporters. + +These provide a simple and uniform way for commands to present +progress messages for the user. + +See the new functions `make-progress-reporter', +`progress-reporter-update', `progress-reporter-force-update', +`progress-reporter-done', and `dotimes-with-progress-reporter'. + +** Buffer positions: + +*** Function `compute-motion' now calculates the usable window +width if the WIDTH argument is nil. If the TOPOS argument is nil, +the usable window height and width is used. + +*** The `line-move', `scroll-up', and `scroll-down' functions will now +modify the window vscroll to scroll through display rows that are +taller that the height of the window, for example in the presence of +large images. To disable this feature, bind the new variable +`auto-window-vscroll' to nil. + +*** The argument to `forward-word', `backward-word' is optional. + +It defaults to 1. + +*** Argument to `forward-to-indentation' and `backward-to-indentation' is optional. + +It defaults to 1. + +*** `field-beginning' and `field-end' take new optional argument, LIMIT. + +This argument tells them not to search beyond LIMIT. Instead they +give up and return LIMIT. + +*** New function `window-line-height' is an efficient way to get +information about a specific text line in a window provided that the +window's display is up-to-date. + +*** New function `line-number-at-pos' returns the line number of a position. + +It an optional buffer position argument that defaults to point. + +*** Function `pos-visible-in-window-p' now returns the pixel coordinates +and partial visibility state of the corresponding row, if the PARTIALLY +arg is non-nil. + +*** New functions `posn-at-point' and `posn-at-x-y' return +click-event-style position information for a given visible buffer +position or for a given window pixel coordinate. + +*** New function `mouse-on-link-p' tests if a position is in a clickable link. + +This is the function used by the new `mouse-1-click-follows-link' +functionality. + +** Text modification: + +*** The new function `buffer-chars-modified-tick' returns a buffer's +tick counter for changes to characters. Each time text in that buffer +is inserted or deleted, the character-change counter is updated to the +tick counter (`buffer-modified-tick'). Text property changes leave it +unchanged. + +*** The new function `insert-for-yank' normally works like `insert', but +removes the text properties in the `yank-excluded-properties' list +and handles the `yank-handler' text property. + +*** The new function `insert-buffer-substring-as-yank' is like +`insert-for-yank' except that it gets the text from another buffer as +in `insert-buffer-substring'. + +*** The new function `insert-buffer-substring-no-properties' is like +`insert-buffer-substring', but removes all text properties from the +inserted substring. + +*** The new function `filter-buffer-substring' extracts a buffer +substring, passes it through a set of filter functions, and returns +the filtered substring. Use it instead of `buffer-substring' or +`delete-and-extract-region' when copying text into a user-accessible +data structure, such as the kill-ring, X clipboard, or a register. + +The list of filter function is specified by the new variable +`buffer-substring-filters'. For example, Longlines mode adds to +`buffer-substring-filters' to remove soft newlines from the copied +text. + +*** Function `translate-region' accepts also a char-table as TABLE +argument. + +*** The new translation table `translation-table-for-input' +is used for customizing self-insertion. The character to +be inserted is translated through it. + +*** Text clones. + +The new function `text-clone-create'. Text clones are chunks of text +that are kept identical by transparently propagating changes from one +clone to the other. + +*** The function `insert-string' is now obsolete. + +** Filling changes. + +*** In determining an adaptive fill prefix, Emacs now tries the function in +`adaptive-fill-function' _before_ matching the buffer line against +`adaptive-fill-regexp' rather than _after_ it. + +** Atomic change groups. + +To perform some changes in the current buffer "atomically" so that +they either all succeed or are all undone, use `atomic-change-group' +around the code that makes changes. For instance: + + (atomic-change-group + (insert foo) + (delete-region x y)) + +If an error (or other nonlocal exit) occurs inside the body of +`atomic-change-group', it unmakes all the changes in that buffer that +were during the execution of the body. The change group has no effect +on any other buffers--any such changes remain. + +If you need something more sophisticated, you can directly call the +lower-level functions that `atomic-change-group' uses. Here is how. + +To set up a change group for one buffer, call `prepare-change-group'. +Specify the buffer as argument; it defaults to the current buffer. +This function returns a "handle" for the change group. You must save +the handle to activate the change group and then finish it. + +Before you change the buffer again, you must activate the change +group. Pass the handle to `activate-change-group' afterward to +do this. + +After you make the changes, you must finish the change group. You can +either accept the changes or cancel them all. Call +`accept-change-group' to accept the changes in the group as final; +call `cancel-change-group' to undo them all. + +You should use `unwind-protect' to make sure the group is always +finished. The call to `activate-change-group' should be inside the +`unwind-protect', in case the user types C-g just after it runs. +(This is one reason why `prepare-change-group' and +`activate-change-group' are separate functions.) Once you finish the +group, don't use the handle again--don't try to finish the same group +twice. + +To make a multibuffer change group, call `prepare-change-group' once +for each buffer you want to cover, then use `nconc' to combine the +returned values, like this: + + (nconc (prepare-change-group buffer-1) + (prepare-change-group buffer-2)) + +You can then activate the multibuffer change group with a single call +to `activate-change-group', and finish it with a single call to +`accept-change-group' or `cancel-change-group'. + +Nested use of several change groups for the same buffer works as you +would expect. Non-nested use of change groups for the same buffer +will lead to undesirable results, so don't let it happen; the first +change group you start for any given buffer should be the last one +finished. + +** Buffer-related changes: + +*** The new function `buffer-local-value' returns the buffer-local +binding of VARIABLE (a symbol) in buffer BUFFER. If VARIABLE does not +have a buffer-local binding in buffer BUFFER, it returns the default +value of VARIABLE instead. + +*** `list-buffers-noselect' now takes an additional argument, BUFFER-LIST. + +If it is non-nil, it specifies which buffers to list. + +*** `kill-buffer-hook' is now a permanent local. + +*** The function `frame-or-buffer-changed-p' now lets you maintain +various status records in parallel. + +It takes a variable (a symbol) as argument. If the variable is non-nil, +then its value should be a vector installed previously by +`frame-or-buffer-changed-p'. If the frame names, buffer names, buffer +order, or their read-only or modified flags have changed, since the +time the vector's contents were recorded by a previous call to +`frame-or-buffer-changed-p', then the function returns t. Otherwise +it returns nil. + +On the first call to `frame-or-buffer-changed-p', the variable's +value should be nil. `frame-or-buffer-changed-p' stores a suitable +vector into the variable and returns t. + +If the variable is itself nil, then `frame-or-buffer-changed-p' uses, +for compatibility, an internal variable which exists only for this +purpose. + +*** The function `read-buffer' follows the convention for reading from +the minibuffer with a default value: if DEF is non-nil, the minibuffer +prompt provided in PROMPT is edited to show the default value provided +in DEF before the terminal colon and space. + +** Searching and matching changes: + +*** New function `looking-back' checks whether a regular expression matches +the text before point. Specifying the LIMIT argument bounds how far +back the match can start; this is a way to keep it from taking too long. + +*** The new variable `search-spaces-regexp' controls how to search +for spaces in a regular expression. If it is non-nil, it should be a +regular expression, and any series of spaces stands for that regular +expression. If it is nil, spaces stand for themselves. + +Spaces inside of constructs such as `[..]' and inside loops such as +`*', `+', and `?' are never replaced with `search-spaces-regexp'. + +*** New regular expression operators, `\_<' and `\_>'. + +These match the beginning and end of a symbol. A symbol is a +non-empty sequence of either word or symbol constituent characters, as +specified by the syntax table. + +*** `skip-chars-forward' and `skip-chars-backward' now handle +character classes such as `[:alpha:]', along with individual +characters and ranges. + +*** In `replace-match', the replacement text no longer inherits +properties from surrounding text. + +*** The list returned by `(match-data t)' now has the buffer as a final +element, if the last match was on a buffer. `set-match-data' +accepts such a list for restoring the match state. + +*** Functions `match-data' and `set-match-data' now have an optional +argument `reseat'. When non-nil, all markers in the match data list +passed to these functions will be reseated to point to nowhere. + +*** rx.el has new corresponding `symbol-start' and `symbol-end' elements. + +*** The default value of `sentence-end' is now defined using the new +variable `sentence-end-without-space', which contains such characters +that end a sentence without following spaces. + +The function `sentence-end' should be used to obtain the value of the +variable `sentence-end'. If the variable `sentence-end' is nil, then +this function returns the regexp constructed from the variables +`sentence-end-without-period', `sentence-end-double-space' and +`sentence-end-without-space'. + +** Undo changes: + +*** `buffer-undo-list' allows programmable elements. + +These elements have the form (apply FUNNAME . ARGS), where FUNNAME is +a symbol other than t or nil. That stands for a high-level change +that should be undone by evaluating (apply FUNNAME ARGS). + +These entries can also have the form (apply DELTA BEG END FUNNAME . ARGS) +which indicates that the change which took place was limited to the +range BEG...END and increased the buffer size by DELTA. + +*** If the buffer's undo list for the current command gets longer than +`undo-outer-limit', garbage collection empties it. This is to prevent +it from using up the available memory and choking Emacs. + +** Killing and yanking changes: + +*** New `yank-handler' text property can be used to control how +previously killed text on the kill ring is reinserted. + +The value of the `yank-handler' property must be a list with one to four +elements with the following format: + (FUNCTION PARAM NOEXCLUDE UNDO). + +The `insert-for-yank' function looks for a yank-handler property on +the first character on its string argument (typically the first +element on the kill-ring). If a `yank-handler' property is found, +the normal behavior of `insert-for-yank' is modified in various ways: + + When FUNCTION is present and non-nil, it is called instead of `insert' +to insert the string. FUNCTION takes one argument--the object to insert. + If PARAM is present and non-nil, it replaces STRING as the object +passed to FUNCTION (or `insert'); for example, if FUNCTION is +`yank-rectangle', PARAM should be a list of strings to insert as a +rectangle. + If NOEXCLUDE is present and non-nil, the normal removal of the +`yank-excluded-properties' is not performed; instead FUNCTION is +responsible for removing those properties. This may be necessary +if FUNCTION adjusts point before or after inserting the object. + If UNDO is present and non-nil, it is a function that will be called +by `yank-pop' to undo the insertion of the current object. It is +called with two arguments, the start and end of the current region. +FUNCTION can set `yank-undo-function' to override the UNDO value. + +*** The functions `kill-new', `kill-append', and `kill-region' now have an +optional argument to specify the `yank-handler' text property to put on +the killed text. + +*** The function `yank-pop' will now use a non-nil value of the variable +`yank-undo-function' (instead of `delete-region') to undo the previous +`yank' or `yank-pop' command (or a call to `insert-for-yank'). The function +`insert-for-yank' automatically sets that variable according to the UNDO +element of the string argument's `yank-handler' text property if present. + +*** The function `insert-for-yank' now supports strings where the +`yank-handler' property does not span the first character of the +string. The old behavior is available if you call +`insert-for-yank-1' instead. + +** Syntax table changes: + +*** The new function `syntax-ppss' provides an efficient way to find the +current syntactic context at point. + +*** The new function `syntax-after' returns the syntax code +of the character after a specified buffer position, taking account +of text properties as well as the character code. + +*** `syntax-class' extracts the class of a syntax code (as returned +by `syntax-after'). + +*** The macro `with-syntax-table' no longer copies the syntax table. + +** File operation changes: + +*** New vars `exec-suffixes' and `load-suffixes' used when +searching for an executable or an Emacs Lisp file. + +*** New function `locate-file' searches for a file in a list of directories. +`locate-file' accepts a name of a file to search (a string), and two +lists: a list of directories to search in and a list of suffixes to +try; typical usage might use `exec-path' and `load-path' for the list +of directories, and `exec-suffixes' and `load-suffixes' for the list +of suffixes. The function also accepts a predicate argument to +further filter candidate files. + +One advantage of using this function is that the list of suffixes in +`exec-suffixes' is OS-dependant, so this function will find +executables without polluting Lisp code with OS dependencies. + +*** The new function `file-remote-p' tests a file name and returns +non-nil if it specifies a remote file (one that Emacs accesses using +its own special methods and not directly through the file system). +The value in that case is an identifier for the remote file system. + +*** The new hook `before-save-hook' is invoked by `basic-save-buffer' +before saving buffers. This allows packages to perform various final +tasks. For example, it can be used by the copyright package to make +sure saved files have the current year in any copyright headers. + +*** `file-chase-links' now takes an optional second argument LIMIT which +specifies the maximum number of links to chase through. If after that +many iterations the file name obtained is still a symbolic link, +`file-chase-links' returns it anyway. + +*** Functions `file-name-sans-extension' and `file-name-extension' now +ignore the leading dots in file names, so that file names such as +`.emacs' are treated as extensionless. + +*** If `buffer-save-without-query' is non-nil in some buffer, +`save-some-buffers' will always save that buffer without asking (if +it's modified). + +*** `buffer-auto-save-file-format' is the new name for what was +formerly called `auto-save-file-format'. It is now a permanent local. + +*** `visited-file-modtime' and `calendar-time-from-absolute' now return +a list of two integers, instead of a cons. + +*** The precedence of file name handlers has been changed. + +Instead of choosing the first handler that matches, +`find-file-name-handler' now gives precedence to a file name handler +that matches nearest the end of the file name. More precisely, the +handler whose (match-beginning 0) is the largest is chosen. In case +of ties, the old "first matched" rule applies. + +*** A file name handler can declare which operations it handles. + +You do this by putting an `operation' property on the handler name +symbol. The property value should be a list of the operations that +the handler really handles. It won't be called for any other +operations. + +This is useful for autoloaded handlers, to prevent them from being +autoloaded when not really necessary. + +*** The function `make-auto-save-file-name' is now handled by file +name handlers. This will be exploited for remote files mainly. + +*** The function `file-name-completion' accepts an optional argument +PREDICATE, and rejects completion candidates that don't satisfy PREDICATE. + +*** The new primitive `set-file-times' sets a file's access and +modification times. Magic file name handlers can handle this +operation. + +** Input changes: + +*** Functions `y-or-n-p', `read-char', `read-key-sequence' and the like, that +display a prompt but don't use the minibuffer, now display the prompt +using the text properties (esp. the face) of the prompt string. + +*** The functions `read-event', `read-char', and `read-char-exclusive' +have a new optional argument SECONDS. If non-nil, this specifies a +maximum time to wait for input, in seconds. If no input arrives after +this time elapses, the functions stop waiting and return nil. + +*** An interactive specification can now use the code letter `U' to get +the up-event that was discarded in case the last key sequence read for a +previous `k' or `K' argument was a down-event; otherwise nil is used. + +*** The new interactive-specification `G' reads a file name +much like `F', but if the input is a directory name (even defaulted), +it returns just the directory name. + +*** (while-no-input BODY...) runs BODY, but only so long as no input +arrives. If the user types or clicks anything, BODY stops as if a +quit had occurred. `while-no-input' returns the value of BODY, if BODY +finishes. It returns nil if BODY was aborted by a quit, and t if +BODY was aborted by arrival of input. + +*** `recent-keys' now returns the last 300 keys. + +** Minibuffer changes: + +*** The new function `minibufferp' returns non-nil if its optional +buffer argument is a minibuffer. If the argument is omitted, it +defaults to the current buffer. + +*** New function `minibuffer-selected-window' returns the window which +was selected when entering the minibuffer. + +*** The `read-file-name' function now takes an additional argument which +specifies a predicate which the file name read must satisfy. The +new variable `read-file-name-predicate' contains the predicate argument +while reading the file name from the minibuffer; the predicate in this +variable is used by read-file-name-internal to filter the completion list. + +*** The new variable `read-file-name-function' can be used by Lisp code +to override the built-in `read-file-name' function. + +*** The new variable `read-file-name-completion-ignore-case' specifies +whether completion ignores case when reading a file name with the +`read-file-name' function. + +*** The new function `read-directory-name' is for reading a directory name. + +It is like `read-file-name' except that the defaulting works better +for directories, and completion inside it shows only directories. + +*** The new variable `history-add-new-input' specifies whether to add new +elements in history. If set to nil, minibuffer reading functions don't +add new elements to the history list, so it is possible to do this +afterwards by calling `add-to-history' explicitly. + +** Completion changes: + +*** The new function `minibuffer-completion-contents' returns the contents +of the minibuffer just before point. That is what completion commands +operate on. + +*** The functions `all-completions' and `try-completion' now accept lists +of strings as well as hash-tables additionally to alists, obarrays +and functions. Furthermore, the function `test-completion' is now +exported to Lisp. The keys in alists and hash tables can be either +strings or symbols, which are automatically converted with to strings. + +*** The new macro `dynamic-completion-table' supports using functions +as a dynamic completion table. + + (dynamic-completion-table FUN) + +FUN is called with one argument, the string for which completion is required, +and it should return an alist containing all the intended possible +completions. This alist can be a full list of possible completions so that FUN +can ignore the value of its argument. If completion is performed in the +minibuffer, FUN will be called in the buffer from which the minibuffer was +entered. `dynamic-completion-table' then computes the completion. + +*** The new macro `lazy-completion-table' initializes a variable +as a lazy completion table. + + (lazy-completion-table VAR FUN) + +If the completion table VAR is used for the first time (e.g., by passing VAR +as an argument to `try-completion'), the function FUN is called with no +arguments. FUN must return the completion table that will be stored in VAR. +If completion is requested in the minibuffer, FUN will be called in the buffer +from which the minibuffer was entered. The return value of +`lazy-completion-table' must be used to initialize the value of VAR. + +** Abbrev changes: + +*** `define-abbrev' now accepts an optional argument SYSTEM-FLAG. + +If non-nil, this marks the abbrev as a "system" abbrev, which means +that it won't be stored in the user's abbrevs file if he saves the +abbrevs. Major modes that predefine some abbrevs should always +specify this flag. + +*** The new function `copy-abbrev-table' copies an abbrev table. + +It returns a new abbrev table that is a copy of a given abbrev table. + +** Enhancements to keymaps. + +*** Cleaner way to enter key sequences. + +You can enter a constant key sequence in a more natural format, the +same one used for saving keyboard macros, using the macro `kbd'. For +example, + +(kbd "C-x C-f") => "\^x\^f" + +Actually, this format has existed since Emacs 20.1. + +*** Interactive commands can be remapped through keymaps. + +This is an alternative to using `defadvice' or `substitute-key-definition' +to modify the behavior of a key binding using the normal keymap +binding and lookup functionality. + +When a key sequence is bound to a command, and that command is +remapped to another command, that command is run instead of the +original command. + +Example: +Suppose that minor mode `my-mode' has defined the commands +`my-kill-line' and `my-kill-word', and it wants C-k (and any other key +bound to `kill-line') to run the command `my-kill-line' instead of +`kill-line', and likewise it wants to run `my-kill-word' instead of +`kill-word'. + +Instead of rebinding C-k and the other keys in the minor mode map, +command remapping allows you to directly map `kill-line' into +`my-kill-line' and `kill-word' into `my-kill-word' using `define-key': + + (define-key my-mode-map [remap kill-line] 'my-kill-line) + (define-key my-mode-map [remap kill-word] 'my-kill-word) + +When `my-mode' is enabled, its minor mode keymap is enabled too. So +when the user types C-k, that runs the command `my-kill-line'. + +Only one level of remapping is supported. In the above example, this +means that if `my-kill-line' is remapped to `other-kill', then C-k still +runs `my-kill-line'. + +The following changes have been made to provide command remapping: + +- Command remappings are defined using `define-key' with a prefix-key + `remap', i.e. `(define-key MAP [remap CMD] DEF)' remaps command CMD + to definition DEF in keymap MAP. The definition is not limited to + another command; it can be anything accepted for a normal binding. + +- The new function `command-remapping' returns the binding for a + remapped command in the current keymaps, or nil if not remapped. + +- `key-binding' now remaps interactive commands unless the optional + third argument NO-REMAP is non-nil. + +- `where-is-internal' now returns nil for a remapped command (e.g. + `kill-line', when `my-mode' is enabled), and the actual key binding for + the command it is remapped to (e.g. C-k for my-kill-line). + It also has a new optional fifth argument, NO-REMAP, which inhibits + remapping if non-nil (e.g. it returns "C-k" for `kill-line', and + "" for `my-kill-line'). + +- The new variable `this-original-command' contains the original + command before remapping. It is equal to `this-command' when the + command was not remapped. + +*** The definition of a key-binding passed to define-key can use XEmacs-style +key-sequences, such as [(control a)]. + +*** New keymaps for typing file names + +Two new keymaps, `minibuffer-local-filename-completion-map' and +`minibuffer-local-must-match-filename-map', apply whenever +Emacs reads a file name in the minibuffer. These key maps override +the usual binding of SPC to `minibuffer-complete-word' (so that file +names with embedded spaces could be typed without the need to quote +the spaces). + +*** New function `current-active-maps' returns a list of currently +active keymaps. + +*** New function `describe-buffer-bindings' inserts the list of all +defined keys and their definitions. + +*** New function `keymap-prompt' returns the prompt string of a keymap. + +*** If text has a `keymap' property, that keymap takes precedence +over minor mode keymaps. + +*** The `keymap' property now also works at the ends of overlays and +text properties, according to their stickiness. This also means that it +works with empty overlays. The same hold for the `local-map' property. + +*** `key-binding' will now look up mouse-specific bindings. The +keymaps consulted by `key-binding' will get adapted if the key +sequence is started with a mouse event. Instead of letting the click +position be determined from the key sequence itself, it is also +possible to specify it with an optional argument explicitly. + +*** `define-key-after' now accepts keys longer than 1. + +*** (map-keymap FUNCTION KEYMAP) applies the function to each binding +in the keymap. + +*** New variable `emulation-mode-map-alists'. + +Lisp packages using many minor mode keymaps can now maintain their own +keymap alist separate from `minor-mode-map-alist' by adding their +keymap alist to this list. + +*** Dense keymaps now handle inheritance correctly. + +Previously a dense keymap would hide all of the simple-char key +bindings of the parent keymap. + +** Enhancements to process support + +*** Adaptive read buffering of subprocess output. + +On some systems, when Emacs reads the output from a subprocess, the +output data is read in very small blocks, potentially resulting in +very poor performance. This behavior can be remedied to some extent +by setting the new variable `process-adaptive-read-buffering' to a +non-nil value (the default), as it will automatically delay reading +from such processes, allowing them to produce more output before +Emacs tries to read it. + +*** Processes now have an associated property list where programs can +maintain process state and other per-process related information. + +Use the new functions `process-get' and `process-put' to access, add, +and modify elements on this property list. Use the new functions +`process-plist' and `set-process-plist' to access and replace the +entire property list of a process. + +*** Function `list-processes' now has an optional argument; if non-nil, +it lists only the processes whose query-on-exit flag is set. + +*** New fns `set-process-query-on-exit-flag' and `process-query-on-exit-flag'. + +These replace the old function `process-kill-without-query'. That +function is still supported, but new code should use the new +functions. + +*** The new function `call-process-shell-command'. + +This executes a shell command synchronously in a separate process. + +*** The new function `process-file' is similar to `call-process', but +obeys file handlers. The file handler is chosen based on +`default-directory'. + +*** Function `signal-process' now accepts a process object or process +name in addition to a process id to identify the signaled process. + +*** Function `accept-process-output' has a new optional fourth arg +JUST-THIS-ONE. If non-nil, only output from the specified process +is handled, suspending output from other processes. If value is an +integer, also inhibit running timers. This feature is generally not +recommended, but may be necessary for specific applications, such as +speech synthesis. + +*** A process filter function gets the output as multibyte string +if the process specifies t for its filter's multibyteness. + +That multibyteness is decided by the value of +`default-enable-multibyte-characters' when the process is created, and +you can change it later with `set-process-filter-multibyte'. + +*** The new function `set-process-filter-multibyte' sets the +multibyteness of the strings passed to the process's filter. + +*** The new function `process-filter-multibyte-p' returns the +multibyteness of the strings passed to the process's filter. + +*** If a process's coding system is `raw-text' or `no-conversion' and its +buffer is multibyte, the output of the process is at first converted +to multibyte by `string-to-multibyte' then inserted in the buffer. +Previously, it was converted to multibyte by `string-as-multibyte', +which was not compatible with the behavior of file reading. + +** Enhanced networking support. + +*** The new `make-network-process' function makes network connections. +It allows opening of stream and datagram connections to a server, as well as +create a stream or datagram server inside Emacs. + +- A server is started using :server t arg. +- Datagram connection is selected using :type 'datagram arg. +- A server can open on a random port using :service t arg. +- Local sockets are supported using :family 'local arg. +- IPv6 is supported (when available). You may explicitly select IPv6 + using :family 'ipv6 arg. +- Non-blocking connect is supported using :nowait t arg. +- The process' property list can be initialized using :plist PLIST arg; + a copy of the server process' property list is automatically inherited + by new client processes created to handle incoming connections. + +To test for the availability of a given feature, use featurep like this: + (featurep 'make-network-process '(:type datagram)) + (featurep 'make-network-process '(:family ipv6)) + +*** The old `open-network-stream' now uses `make-network-process'. + +*** `process-contact' has an optional KEY argument. + +Depending on this argument, you can get the complete list of network +process properties or a specific property. Using :local or :remote as +the KEY, you get the address of the local or remote end-point. + +An Inet address is represented as a 5 element vector, where the first +4 elements contain the IP address and the fifth is the port number. + +*** New functions `stop-process' and `continue-process'. + +These functions stop and restart communication through a network +connection. For a server process, no connections are accepted in the +stopped state. For a client process, no input is received in the +stopped state. + +*** New function `format-network-address'. + +This function reformats the Lisp representation of a network address +to a printable string. For example, an IP address A.B.C.D and port +number P is represented as a five element vector [A B C D P], and the +printable string returned for this vector is "A.B.C.D:P". See the doc +string for other formatting options. + +*** New function `network-interface-list'. + +This function returns a list of network interface names and their +current network addresses. + +*** New function `network-interface-info'. + +This function returns the network address, hardware address, current +status, and other information about a specific network interface. + +*** New functions `process-datagram-address', `set-process-datagram-address'. + +These functions are used with datagram-based network processes to get +and set the current address of the remote partner. + +*** Deleting a network process with `delete-process' calls the sentinel. + +The status message passed to the sentinel for a deleted network +process is "deleted". The message passed to the sentinel when the +connection is closed by the remote peer has been changed to +"connection broken by remote peer". + +** Using window objects: + +*** You can now make a window as short as one line. + +A window that is just one line tall does not display either a mode +line or a header line, even if the variables `mode-line-format' and +`header-line-format' call for them. A window that is two lines tall +cannot display both a mode line and a header line at once; if the +variables call for both, only the mode line actually appears. + +*** The new function `window-inside-edges' returns the edges of the +actual text portion of the window, not including the scroll bar or +divider line, the fringes, the display margins, the header line and +the mode line. + +*** The new functions `window-pixel-edges' and `window-inside-pixel-edges' +return window edges in units of pixels, rather than columns and lines. + +*** New function `window-body-height'. + +This is like `window-height' but does not count the mode line or the +header line. + +*** The new function `adjust-window-trailing-edge' moves the right +or bottom edge of a window. It does not move other window edges. + +*** The new macro `with-selected-window' temporarily switches the +selected window without impacting the order of `buffer-list'. +It saves and restores the current buffer, too. + +*** `select-window' takes an optional second argument NORECORD. + +This is like `switch-to-buffer'. + +*** `save-selected-window' now saves and restores the selected window +of every frame. This way, it restores everything that can be changed +by calling `select-window'. It also saves and restores the current +buffer. + +*** `set-window-buffer' has an optional argument KEEP-MARGINS. + +If non-nil, that says to preserve the window's current margin, fringe, +and scroll-bar settings. + +*** The new function `window-tree' returns a frame's window tree. + +*** The functions `get-lru-window' and `get-largest-window' take an optional +argument `dedicated'. If non-nil, those functions do not ignore +dedicated windows. + +** Customizable fringe bitmaps + +*** There are new display properties, `left-fringe' and `right-fringe', +that can be used to show a specific bitmap in the left or right fringe +bitmap of the display line. + +Format is `display (left-fringe BITMAP [FACE])', where BITMAP is a +symbol identifying a fringe bitmap, either built-in or defined with +`define-fringe-bitmap', and FACE is an optional face name to be used +for displaying the bitmap instead of the default `fringe' face. +When specified, FACE is automatically merged with the `fringe' face. + +*** New buffer-local variables `fringe-indicator-alist' and +`fringe-cursor-alist' maps between logical (internal) fringe indicator +and cursor symbols and the actual fringe bitmaps to be displayed. +This decouples the logical meaning of the fringe indicators from the +physical appearance, as well as allowing different fringe bitmaps to +be used in different windows showing different buffers. + +*** New function `define-fringe-bitmap' can now be used to create new +fringe bitmaps, as well as change the built-in fringe bitmaps. + +*** New function `destroy-fringe-bitmap' deletes a fringe bitmap +or restores a built-in one to its default value. + +*** New function `set-fringe-bitmap-face' specifies the face to be +used for a specific fringe bitmap. The face is automatically merged +with the `fringe' face, so normally, the face should only specify the +foreground color of the bitmap. + +*** New function `fringe-bitmaps-at-pos' returns the current fringe +bitmaps in the display line at a given buffer position. + +** Other window fringe features: + +*** Controlling the default left and right fringe widths. + +The default left and right fringe widths for all windows of a frame +can now be controlled by setting the `left-fringe' and `right-fringe' +frame parameters to an integer value specifying the width in pixels. +Setting the width to 0 effectively removes the corresponding fringe. + +The actual default fringe widths for the frame may deviate from the +specified widths, since the combined fringe widths must match an +integral number of columns. The extra width is distributed evenly +between the left and right fringe. To force a specific fringe width, +specify the width as a negative integer (if both widths are negative, +only the left fringe gets the specified width). + +Setting the width to nil (the default), restores the default fringe +width which is the minimum number of pixels necessary to display any +of the currently defined fringe bitmaps. The width of the built-in +fringe bitmaps is 8 pixels. + +*** Per-window fringe and scrollbar settings + +**** Windows can now have their own individual fringe widths and +position settings. + +To control the fringe widths of a window, either set the buffer-local +variables `left-fringe-width', `right-fringe-width', or call +`set-window-fringes'. + +To control the fringe position in a window, that is, whether fringes +are positioned between the display margins and the window's text area, +or at the edges of the window, either set the buffer-local variable +`fringes-outside-margins' or call `set-window-fringes'. + +The function `window-fringes' can be used to obtain the current +settings. To make `left-fringe-width', `right-fringe-width', and +`fringes-outside-margins' take effect, you must set them before +displaying the buffer in a window, or use `set-window-buffer' to force +an update of the display margins. + +**** Windows can now have their own individual scroll-bar settings +controlling the width and position of scroll-bars. + +To control the scroll-bar of a window, either set the buffer-local +variables `scroll-bar-mode' and `scroll-bar-width', or call +`set-window-scroll-bars'. The function `window-scroll-bars' can be +used to obtain the current settings. To make `scroll-bar-mode' and +`scroll-bar-width' take effect, you must set them before displaying +the buffer in a window, or use `set-window-buffer' to force an update +of the display margins. + +** Redisplay features: + +*** `sit-for' can now be called with args (SECONDS &optional NODISP). + +*** Iconifying or deiconifying a frame no longer makes sit-for return. + +*** New function `redisplay' causes an immediate redisplay if no input is +available, equivalent to (sit-for 0). The call (redisplay t) forces +an immediate redisplay even if input is pending. + +*** New function `force-window-update' can initiate a full redisplay of +one or all windows. Normally, this is not needed as changes in window +contents are detected automatically. However, certain implicit +changes to mode lines, header lines, or display properties may require +forcing an explicit window update. + +*** (char-displayable-p CHAR) returns non-nil if Emacs ought to be able +to display CHAR. More precisely, if the selected frame's fontset has +a font to display the character set that CHAR belongs to. + +Fontsets can specify a font on a per-character basis; when the fontset +does that, this value cannot be accurate. + +*** You can define multiple overlay arrows via the new +variable `overlay-arrow-variable-list'. + +It contains a list of variables which contain overlay arrow position +markers, including the original `overlay-arrow-position' variable. + +Each variable on this list can have individual `overlay-arrow-string' +and `overlay-arrow-bitmap' properties that specify an overlay arrow +string (for non-window terminals) or fringe bitmap (for window +systems) to display at the corresponding overlay arrow position. +If either property is not set, the default `overlay-arrow-string' or +'overlay-arrow-fringe-bitmap' will be used. + +*** New `line-height' and `line-spacing' properties for newline characters + +A newline can now have `line-height' and `line-spacing' text or overlay +properties that control the height of the corresponding display row. + +If the `line-height' property value is t, the newline does not +contribute to the height of the display row; instead the height of the +newline glyph is reduced. Also, a `line-spacing' property on this +newline is ignored. This can be used to tile small images or image +slices without adding blank areas between the images. + +If the `line-height' property value is a positive integer, the value +specifies the minimum line height in pixels. If necessary, the line +height it increased by increasing the line's ascent. + +If the `line-height' property value is a float, the minimum line +height is calculated by multiplying the default frame line height by +the given value. + +If the `line-height' property value is a cons (FACE . RATIO), the +minimum line height is calculated as RATIO * height of named FACE. +RATIO is int or float. If FACE is t, it specifies the current face. + +If the `line-height' property value is a cons (nil . RATIO), the line +height is calculated as RATIO * actual height of the line's contents. + +If the `line-height' value is a cons (HEIGHT . TOTAL), HEIGHT specifies +the line height as described above, while TOTAL is any of the forms +described above and specifies the total height of the line, causing a +varying number of pixels to be inserted after the line to make it line +exactly that many pixels high. + +If the `line-spacing' property value is an positive integer, the value +is used as additional pixels to insert after the display line; this +overrides the default frame `line-spacing' and any buffer local value of +the `line-spacing' variable. + +If the `line-spacing' property is a float or cons, the line spacing +is calculated as specified above for the `line-height' property. + +*** The buffer local `line-spacing' variable can now have a float value, +which is used as a height relative to the default frame line height. + +*** Enhancements to stretch display properties + +The display property stretch specification form `(space PROPS)', where +PROPS is a property list, now allows pixel based width and height +specifications, as well as enhanced horizontal text alignment. + +The value of these properties can now be a (primitive) expression +which is evaluated during redisplay. The following expressions +are supported: + +EXPR ::= NUM | (NUM) | UNIT | ELEM | POS | IMAGE | FORM +NUM ::= INTEGER | FLOAT | SYMBOL +UNIT ::= in | mm | cm | width | height +ELEM ::= left-fringe | right-fringe | left-margin | right-margin + | scroll-bar | text +POS ::= left | center | right +FORM ::= (NUM . EXPR) | (OP EXPR ...) +OP ::= + | - + +The form `NUM' specifies a fractional width or height of the default +frame font size. The form `(NUM)' specifies an absolute number of +pixels. If a symbol is specified, its buffer-local variable binding +is used. The `in', `mm', and `cm' units specifies the number of +pixels per inch, milli-meter, and centi-meter, resp. The `width' and +`height' units correspond to the width and height of the current face +font. An image specification corresponds to the width or height of +the image. + +The `left-fringe', `right-fringe', `left-margin', `right-margin', +`scroll-bar', and `text' elements specify to the width of the +corresponding area of the window. + +The `left', `center', and `right' positions can be used with :align-to +to specify a position relative to the left edge, center, or right edge +of the text area. One of the above window elements (except `text') +can also be used with :align-to to specify that the position is +relative to the left edge of the given area. Once the base offset for +a relative position has been set (by the first occurrence of one of +these symbols), further occurrences of these symbols are interpreted as +the width of the area. + +For example, to align to the center of the left-margin, use + :align-to (+ left-margin (0.5 . left-margin)) + +If no specific base offset is set for alignment, it is always relative +to the left edge of the text area. For example, :align-to 0 in a +header line aligns with the first text column in the text area. + +The value of the form `(NUM . EXPR)' is the value of NUM multiplied by +the value of the expression EXPR. For example, (2 . in) specifies a +width of 2 inches, while (0.5 . IMAGE) specifies half the width (or +height) of the specified image. + +The form `(+ EXPR ...)' adds up the value of the expressions. +The form `(- EXPR ...)' negates or subtracts the value of the expressions. + +*** Normally, the cursor is displayed at the end of any overlay and +text property string that may be present at the current window +position. The cursor can now be placed on any character of such +strings by giving that character a non-nil `cursor' text property. + +*** The display space :width and :align-to text properties are now +supported on text terminals. + +*** Support for displaying image slices + +**** New display property (slice X Y WIDTH HEIGHT) can be used with +an image property to display only a specific slice of the image. + +**** Function `insert-image' has new optional fourth arg to +specify image slice (X Y WIDTH HEIGHT). + +**** New function `insert-sliced-image' inserts a given image as a +specified number of evenly sized slices (rows x columns). + +*** Images can now have an associated image map via the :map property. + +An image map is an alist where each element has the format (AREA ID PLIST). +An AREA is specified as either a rectangle, a circle, or a polygon: +A rectangle is a cons (rect . ((X0 . Y0) . (X1 . Y1))) specifying the +pixel coordinates of the upper left and bottom right corners. +A circle is a cons (circle . ((X0 . Y0) . R)) specifying the center +and the radius of the circle; R can be a float or integer. +A polygon is a cons (poly . [X0 Y0 X1 Y1 ...]) where each pair in the +vector describes one corner in the polygon. + +When the mouse pointer is above a hot-spot area of an image, the +PLIST of that hot-spot is consulted; if it contains a `help-echo' +property it defines a tool-tip for the hot-spot, and if it contains +a `pointer' property, it defines the shape of the mouse cursor when +it is over the hot-spot. See the variable `void-area-text-pointer' +for possible pointer shapes. + +When you click the mouse when the mouse pointer is over a hot-spot, +an event is composed by combining the ID of the hot-spot with the +mouse event, e.g. [area4 mouse-1] if the hot-spot's ID is `area4'. + +*** The function `find-image' now searches in etc/images/ and etc/. +The new variable `image-load-path' is a list of locations in which to +search for image files. The default is to search in etc/images, then +in etc/, and finally in the directories specified by `load-path'. +Subdirectories of etc/ and etc/images are not recursively searched; if +you put an image file in a subdirectory, you have to specify it +explicitly; for example, if an image is put in etc/images/foo/bar.xpm: + + (defimage foo-image '((:type xpm :file "foo/bar.xpm"))) + +Note that all images formerly located in the lisp directory have been +moved to etc/images. + +*** New function `image-load-path-for-library' returns a suitable +search path for images relative to library. This function is useful in +external packages to save users from having to update +`image-load-path'. + +*** The new variable `max-image-size' defines the maximum size of +images that Emacs will load and display. + +*** The new variable `display-mm-dimensions-alist' can be used to +override incorrect graphical display dimensions returned by functions +`display-mm-height' and `display-mm-width'. + +** Mouse pointer features: + +*** The mouse pointer shape in void text areas (i.e. after the end of a +line or below the last line in the buffer) of the text window is now +controlled by the new variable `void-text-area-pointer'. The default +is to use the `arrow' (non-text) pointer. Other choices are `text' +(or nil), `hand', `vdrag', `hdrag', `modeline', and `hourglass'. + +*** The mouse pointer shape over an image can now be controlled by the +:pointer image property. + +*** The mouse pointer shape over ordinary text or images can now be +controlled/overridden via the `pointer' text property. + +** Mouse event enhancements: + +*** All mouse events now include a buffer position regardless of where +you clicked. For mouse clicks in window margins and fringes, this is +a sensible buffer position corresponding to the surrounding text. + +*** Mouse events for clicks on window fringes now specify `left-fringe' +or `right-fringe' as the area. + +*** Mouse events include actual glyph column and row for all event types +and all areas. + +*** Mouse events can now indicate an image object clicked on. + +*** Mouse events include relative X and Y pixel coordinates relative to +the top left corner of the object (image or character) clicked on. + +*** Mouse events include the pixel width and height of the object +(image or character) clicked on. + +*** Function `mouse-set-point' now works for events outside text area. + +*** `posn-point' now returns buffer position for non-text area events. + +*** New function `posn-area' returns window area clicked on (nil means +text area). + +*** New function `posn-actual-col-row' returns the actual glyph coordinates +of the mouse event position. + +*** New functions 'posn-object', 'posn-object-x-y', 'posn-object-width-height'. + +These return the image or string object of a mouse click, the X and Y +pixel coordinates relative to the top left corner of that object, and +the total width and height of that object. + +** Text property and overlay changes: + +*** Arguments for `remove-overlays' are now optional, so that you can +remove all overlays in the buffer with just (remove-overlays). + +*** New variable `char-property-alias-alist'. + +This variable allows you to create alternative names for text +properties. It works at the same level as `default-text-properties', +although it applies to overlays as well. This variable was introduced +to implement the `font-lock-face' property. + +*** New function `get-char-property-and-overlay' accepts the same +arguments as `get-char-property' and returns a cons whose car is the +return value of `get-char-property' called with those arguments and +whose cdr is the overlay in which the property was found, or nil if +it was found as a text property or not found at all. + +*** The new function `remove-list-of-text-properties'. + +It is like `remove-text-properties' except that it takes a list of +property names as argument rather than a property list. + +** Face changes + +*** The variable `facemenu-unlisted-faces' has been removed. +Emacs has a lot more faces than in the past, and nearly all of them +needed to be excluded. The new variable `facemenu-listed-faces' lists +the faces to include in the face menu. + +*** The new face attribute condition `min-colors' can be used to tailor +the face color to the number of colors supported by a display, and +define the foreground and background colors accordingly so that they +look best on a terminal that supports at least this many colors. This +is now the preferred method for defining default faces in a way that +makes a good use of the capabilities of the display. + +*** New function `display-supports-face-attributes-p' can be used to test +whether a given set of face attributes is actually displayable. + +A new predicate `supports' has also been added to the `defface' face +specification language, which can be used to do this test for faces +defined with `defface'. + +*** The special treatment of faces whose names are of the form `fg:COLOR' +or `bg:COLOR' has been removed. Lisp programs should use the +`defface' facility for defining faces with specific colors, or use +the feature of specifying the face attributes :foreground and :background +directly in the `face' property instead of using a named face. + +*** The first face specification element in a defface can specify +`default' instead of frame classification. Then its attributes act as +defaults that apply to all the subsequent cases (and can be overridden +by them). + +*** The function `face-differs-from-default-p' now truly checks +whether the given face displays differently from the default face or +not (previously it did only a very cursory check). + +*** `face-attribute', `face-foreground', `face-background', `face-stipple'. + +These now accept a new optional argument, INHERIT, which controls how +face inheritance is used when determining the value of a face +attribute. + +*** New functions `face-attribute-relative-p' and `merge-face-attribute' +help with handling relative face attributes. + +*** The priority of faces in an :inherit attribute face list is reversed. + +If a face contains an :inherit attribute with a list of faces, earlier +faces in the list override later faces in the list; in previous +releases of Emacs, the order was the opposite. This change was made +so that :inherit face lists operate identically to face lists in text +`face' properties. + +*** The variable `face-font-rescale-alist' specifies how much larger +(or smaller) font we should use. For instance, if the value is +'((SOME-FONTNAME-PATTERN . 1.3)) and a face requests a font of 10 +point, we actually use a font of 13 point if the font matches +SOME-FONTNAME-PATTERN. + +*** On terminals, faces with the :inverse-video attribute are displayed +with swapped foreground and background colors even when one of them is +not specified. In previous releases of Emacs, if either foreground +or background color was unspecified, colors were not swapped. This +was inconsistent with the face behavior under X. + +*** `set-fontset-font', `fontset-info', `fontset-font' now operate on +the default fontset if the argument NAME is nil.. + +** Font-Lock changes: + +*** New special text property `font-lock-face'. + +This property acts like the `face' property, but it is controlled by +M-x font-lock-mode. It is not, strictly speaking, a builtin text +property. Instead, it is implemented inside font-core.el, using the +new variable `char-property-alias-alist'. + +*** font-lock can manage arbitrary text-properties beside `face'. + +**** the FACENAME returned in `font-lock-keywords' can be a list of the +form (face FACE PROP1 VAL1 PROP2 VAL2 ...) so you can set other +properties than `face'. + +**** `font-lock-extra-managed-props' can be set to make sure those +extra properties are automatically cleaned up by font-lock. + +*** jit-lock obeys a new text-property `jit-lock-defer-multiline'. + +If a piece of text with that property gets contextually refontified +(see `jit-lock-defer-contextually'), then all of that text will +be refontified. This is useful when the syntax of a textual element +depends on text several lines further down (and when `font-lock-multiline' +is not appropriate to solve that problem). For example in Perl: + + s{ + foo + }{ + bar + }e + +Adding/removing the last `e' changes the `bar' from being a piece of +text to being a piece of code, so you'd put a `jit-lock-defer-multiline' +property over the second half of the command to force (deferred) +refontification of `bar' whenever the `e' is added/removed. + +*** `font-lock-extend-region-functions' makes it possible to alter the way +the fontification region is chosen. This can be used to prevent rounding +up to whole lines, or to extend the region to include all related lines +of multiline constructs so that such constructs get properly recognized. + +** Major mode mechanism changes: + +*** New variable `magic-mode-alist' determines major mode for a file by +looking at the file contents. It takes precedence over `auto-mode-alist'. + +*** New variable `magic-fallback-mode-alist' determines major mode for a file by +looking at the file contents. It is handled after `auto-mode-alist', +only if `auto-mode-alist' (and `magic-mode-alist') says nothing about the file. + +*** XML or SGML major mode is selected when file starts with an ` ) + (if (boundp 'foo) form +won't produce a warning if it's not defined as a function, and in the +second case, using `foo' as a variable won't produce a warning if it's +unbound. The test must be in exactly one of the above forms (after +macro expansion), but such tests can be nested. Note that `when' and +`unless' expand to `if', but `cond' doesn't. + +*** `(featurep 'xemacs)' is treated by the compiler as nil. This +helps to avoid noisy compiler warnings in code meant to run under both +Emacs and XEmacs and can sometimes make the result significantly more +efficient. Since byte code from recent versions of XEmacs won't +generally run in Emacs and vice versa, this optimization doesn't lose +you anything. + +*** The local variable `no-byte-compile' in Lisp files is now obeyed. + +*** When a Lisp file uses CL functions at run-time, compiling the file +now issues warnings about these calls, unless the file performs +(require 'cl) when loaded. + +** Frame operations: + +*** New functions `frame-current-scroll-bars' and `window-current-scroll-bars'. + +These functions return the current locations of the vertical and +horizontal scroll bars in a frame or window. + +*** The new function `modify-all-frames-parameters' modifies parameters +for all (existing and future) frames. + +*** The new frame parameter `tty-color-mode' specifies the mode to use +for color support on character terminal frames. Its value can be a +number of colors to support, or a symbol. See the Emacs Lisp +Reference manual for more detailed documentation. + +*** When using non-toolkit scroll bars with the default width, +the `scroll-bar-width' frame parameter value is nil. + +** Mode line changes: + +*** New function `format-mode-line'. + +This returns the mode line or header line of the selected (or a +specified) window as a string with or without text properties. + +*** The new mode-line construct `(:propertize ELT PROPS...)' can be +used to add text properties to mode-line elements. + +*** The new `%i' and `%I' constructs for `mode-line-format' can be used +to display the size of the accessible part of the buffer on the mode +line. + +*** Mouse-face on mode-line (and header-line) is now supported. + +** Menu manipulation changes: + +*** To manipulate the File menu using easy-menu, you must specify the +proper name "file". In previous Emacs versions, you had to specify +"files", even though the menu item itself was changed to say "File" +several versions ago. + +*** The dummy function keys made by easy-menu are now always lower case. +If you specify the menu item name "Ada", for instance, it uses `ada' +as the "key" bound by that key binding. + +This is relevant only if Lisp code looks for the bindings that were +made with easy-menu. + +*** `easy-menu-define' now allows you to use nil for the symbol name +if you don't need to give the menu a name. If you install the menu +into other keymaps right away (MAPS is non-nil), it usually doesn't +need to have a name. + +** Mule changes: + +*** Already true in Emacs 21.1, but not emphasized clearly enough: + +Multibyte buffers can now faithfully record all 256 character codes +from 0 to 255. As a result, most of the past reasons to use unibyte +buffers no longer exist. We only know of three reasons to use them +now: + +1. If you prefer to use unibyte text all of the time. + +2. For reading files into temporary buffers, when you want to avoid +the time it takes to convert the format. + +3. For binary files where format conversion would be pointless and +wasteful. + +*** The new variable `auto-coding-functions' lets you specify functions +to examine a file being visited and deduce the proper coding system +for it. (If the coding system is detected incorrectly for a specific +file, you can put a `coding:' tags to override it.) + +*** The new variable `ascii-case-table' stores the case table for the +ascii character set. Language environments (such as Turkish) may +alter the case correspondences of ASCII characters. This variable +saves the original ASCII case table before any such changes. + +*** The new function `merge-coding-systems' fills in unspecified aspects +of one coding system from another coding system. + +*** New coding system property `mime-text-unsuitable' indicates that +the coding system's `mime-charset' is not suitable for MIME text +parts, e.g. utf-16. + +*** New function `decode-coding-inserted-region' decodes a region as if +it is read from a file without decoding. + +*** New CCL functions `lookup-character' and `lookup-integer' access +hash tables defined by the Lisp function `define-translation-hash-table'. + +*** New function `quail-find-key' returns a list of keys to type in the +current input method to input a character. + +*** `set-buffer-file-coding-system' now takes an additional argument, +NOMODIFY. If it is non-nil, it means don't mark the buffer modified. + +** Operating system access: + +*** The new primitive `get-internal-run-time' returns the processor +run time used by Emacs since start-up. + +*** Functions `user-uid' and `user-real-uid' now return floats if the +user UID doesn't fit in a Lisp integer. Function `user-full-name' +accepts a float as UID parameter. + +*** New function `locale-info' accesses locale information. + +*** On MS Windows, locale-coding-system is used to interact with the OS. +The Windows specific variable w32-system-coding-system, which was +formerly used for that purpose is now an alias for locale-coding-system. + +*** New function `redirect-debugging-output' can be used to redirect +debugging output on the stderr file handle to a file. + +** GC changes: + +*** New variable `gc-cons-percentage' automatically grows the GC cons threshold +as the heap size increases. + +*** New variables `gc-elapsed' and `gcs-done' provide extra information +on garbage collection. + +*** The normal hook `post-gc-hook' is run at the end of garbage collection. + +The hook is run with GC inhibited, so use it with care. + +** Miscellaneous: + +*** A number of hooks have been renamed to better follow the conventions: + +`find-file-hooks' to `find-file-hook', +`find-file-not-found-hooks' to `find-file-not-found-functions', +`write-file-hooks' to `write-file-functions', +`write-contents-hooks' to `write-contents-functions', +`x-lost-selection-hooks' to `x-lost-selection-functions', +`x-sent-selection-hooks' to `x-sent-selection-functions', +`delete-frame-hook' to `delete-frame-functions'. + +In each case the old name remains as an alias for the moment. + +*** Variable `local-write-file-hooks' is marked obsolete. + +Use the LOCAL arg of `add-hook'. + +*** New function `x-send-client-message' sends a client message when +running under X. + +* New Packages for Lisp Programming in Emacs 22.1 + +** The new library button.el implements simple and fast `clickable +buttons' in Emacs buffers. Buttons are much lighter-weight than the +`widgets' implemented by widget.el, and can be used by lisp code that +doesn't require the full power of widgets. Emacs uses buttons for +such things as help and apropos buffers. + +** The new library tree-widget.el provides a widget to display a set +of hierarchical data as an outline. For example, the tree-widget is +well suited to display a hierarchy of directories and files. + +** The new library bindat.el provides functions to unpack and pack +binary data structures, such as network packets, to and from Lisp +data structures. + +** master-mode.el implements a minor mode for scrolling a slave +buffer without leaving your current buffer, the master buffer. + +It can be used by sql.el, for example: the SQL buffer is the master +and its SQLi buffer is the slave. This allows you to scroll the SQLi +buffer containing the output from the SQL buffer containing the +commands. + +This is how to use sql.el and master.el together: the variable +sql-buffer contains the slave buffer. It is a local variable in the +SQL buffer. + +(add-hook 'sql-mode-hook + (function (lambda () + (master-mode t) + (master-set-slave sql-buffer)))) +(add-hook 'sql-set-sqli-hook + (function (lambda () + (master-set-slave sql-buffer)))) + +** The new library benchmark.el does timing measurements on Lisp code. + +This includes measuring garbage collection time. + +** The new library testcover.el does test coverage checking. + +This is so you can tell whether you've tested all paths in your Lisp +code. It works with edebug. + +The function `testcover-start' instruments all functions in a given +file. Then test your code. The function `testcover-mark-all' adds +overlay "splotches" to the Lisp file's buffer to show where coverage +is lacking. The command `testcover-next-mark' (bind it to a key!) +will move point forward to the next spot that has a splotch. + +Normally, a red splotch indicates the form was never completely +evaluated; a brown splotch means it always evaluated to the same +value. The red splotches are skipped for forms that can't possibly +complete their evaluation, such as `error'. The brown splotches are +skipped for forms that are expected to always evaluate to the same +value, such as (setq x 14). + +For difficult cases, you can add do-nothing macros to your code to +help out the test coverage tool. The macro `noreturn' suppresses a +red splotch. It is an error if the argument to `noreturn' does +return. The macro `1value' suppresses a brown splotch for its argument. +This macro is a no-op except during test-coverage -- then it signals +an error if the argument actually returns differing values. + + + +---------------------------------------------------------------------- +This file is part of GNU Emacs. + +GNU Emacs is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GNU Emacs is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Emacs; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + + +Local variables: +mode: outline +paragraph-separate: "[ ]*$" +end: + +arch-tag: 1aca9dfa-2ac4-4d14-bebf-0007cee12793 diff --cc leim/ChangeLog index 31394421144,9475635653d..3db8501fbdc --- a/leim/ChangeLog +++ b/leim/ChangeLog @@@ -1,7 -1,8 +1,12 @@@ +2007-10-20 Edward O'Connor (tiny change) + + * quail/latin-ltx.el ("\\qed"): Add this rule. + + 2007-10-24 Juanma Barranquero + + * quail/indian.el (quail-indian-update-preceding-char): + Don't mark the variable as frame-local; it wasn't used as such. + 2007-07-25 Glenn Morris * Relicense all FSF files to GPLv3 or later. diff --cc lib-src/ChangeLog index d4a05722a3c,a4e519e8954..14b668d2d24 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@@ -8,11 -10,11 +8,16 @@@ (set_local_socket, set_socket, main): Use egetenv, not getenv. (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions. + 2007-10-25 Jason Rumney + + * emacsclient.c (sock_err_message): New function. + (set_tcp_socket): Use it. + +2007-10-09 Juanma Barranquero + + * emacsclient.c (print_help_and_exit): Fix space to improve + alignment in output messages. + 2007-09-27 Jason Rumney * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32. diff --cc lib-src/emacsclient.c index a48a33f68b8,d51712c41c4..99e0dc3ce3d --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@@ -663,9 -503,30 +663,32 @@@ extern int errno /* Buffer to accumulate data to send in TCP connections. */ char send_buffer[SEND_BUFFER_SIZE + 1]; int sblen = 0; /* Fill pointer for the send buffer. */ +/* Socket used to communicate with the Emacs server process. */ +HSOCKET emacs_socket = 0; + /* On Windows, the socket library was historically separate from the standard + C library, so errors are handled differently. */ + void + sock_err_message (function_name) + char *function_name; + { + #ifdef WINDOWSNT + char* msg = NULL; + + FormatMessage (FORMAT_MESSAGE_FROM_SYSTEM + | FORMAT_MESSAGE_ALLOCATE_BUFFER + | FORMAT_MESSAGE_ARGUMENT_ARRAY, + NULL, WSAGetLastError (), 0, (LPTSTR)&msg, 0, NULL); + + message (TRUE, "%s: %s: %s\n", progname, function_name, msg); + + LocalFree (msg); + #else + message (TRUE, "%s: %s: %s\n", progname, function_name, strerror (errno)); + #endif + } + + /* Let's send the data to Emacs when either - the data ends in "\n", or - the buffer is full (but this shouldn't happen) diff --cc lisp/ChangeLog index ab892e88e8e,b8bb5f4ed82..7a55a5c78f5 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@@ -1,8282 -1,35741 +1,8330 @@@ -2007-10-26 Glenn Morris - - * emacs-lisp/bytecomp.el (byte-compile-warnings): Autoload the - safe-local-variable property. +2007-10-26 Vinicius Jose Latorre + + * printing.el: Pacify byte compiler, that is, no compiler warnings. + Move (again) some variable definitions before use, define some fun + aliases, no code change. + (pr-version): New version 6.9.2. + (pr-path-style, pr-auto-region, pr-menu-char-height) + (pr-menu-char-width, pr-menu-lock, pr-ps-printer-alist) + (pr-txt-printer-alist, pr-ps-utility-alist): Options declaration + via (defvar VAR). + (pr-menu-lookup, pr-menu-lock, pr-menu-alist, pr-even-or-odd-pages) + (pr-menu-get-item, pr-menu-set-item-name, pr-menu-set-utility-title) + (pr-menu-set-ps-title, pr-menu-set-txt-title, pr-region-active-p) + (pr-do-update-menus, pr-update-mode-line, pr-f-read-string) + (pr-f-set-keymap-parents, pr-keep-region-active): Fun aliases. + (defvar pr-menu-print-item, pr-ps-printer-menu-modified) + (pr-txt-printer-menu-modified, pr-ps-utility-menu-modified) + (pr-even-or-odd-alist): Vars definition moved. + +2007-10-26 Dan Nicolaescu + + * emulation/pc-select.el (next-line-mark, next-line-nomark) + (previous-line-mark, previous-line-nomark): Wrap with-no-warnings + around uses of previous-line and next-line. + + * diff.el (diff-old-file, diff-new-file, diff-extra-args): New + defvars. + + * textmodes/css-mode.el (comment-continue): + * net/browse-url.el (url-handler-regexp): + * progmodes/idlw-help.el (idlwave-system-routines): Pacify + byte-compiler. -2007-10-26 Gwern Branwen (tiny change) + * textmodes/fill.el (fill-nobreak-p): Replace obsolete alias + line-move-invisible-p it's former definition: + invisible-p. line-move-invisible-p was removed on 2007-08-29. - * net/browse-url.el (browse-url-browser-function): Delete grail. - (browse-url-grail): Function and variable deleted. - (browse-url-browser-function): Delete IXI Mosaic. - (browse-url-default-browser): Don't try IXI Mosaic. - (browse-url-iximosaic): Function deleted. - (browse-url-browser-function): Delete MMM. - (browse-url-default-browser): Don't try MMM. - (browse-url-mmm): Function deleted. +2007-10-26 Juanma Barranquero -2007-10-25 Glenn Morris + * files.el (kill-emacs-query-functions): Doc fix; + `save-buffers-kill-emacs' is no longer bound to a key. - * progmodes/f90.el (f90-indented-comment-re) - (f90-directive-comment-re, f90-break-delimiters): - * progmodes/fortran.el (fortran-comment-line-start-skip) - (fortran-directive-re): - * textmodes/conf-mode.el (conf-space-keywords): Mark these regexps - as safe if they are strings. +2007-10-26 Richard Stallman -2007-10-25 Richard Stallman + * isearch-multi.el (isearch-buffers-multi): New option. + (isearch-buffers-search-fun): Test it. * progmodes/ps-mode.el (ps-mode-map): Delete C-c v binding. + Put ps-run-clear on C-c C-l. -2007-10-24 Richard Stallman - - * savehist.el (savehist-save): Omit unreadable elements. - - * loadhist.el (unload-function-defs-list): Renamed from - unload-function-features-list. - (unload-feature-special-hooks, unload-feature): Doc fixes. - - * indent.el (indent-to-left-margin): If point's in the indentation, - move to the end of the indentation. - - * cus-edit.el (customize-changed-options): Make arg optional. - -2007-10-24 Juanma Barranquero - - * bs.el (bs-select, bs-select-other-window): Fix typos in docstrings. - -2007-10-23 Stefan Monnier - - * textmodes/css-mode.el: Require CL. - (comment-continue): Declare. - - * subr.el (make-variable-frame-localizable): Remove. - (make-variable-frame-local): Mark obsolete. - -2007-10-23 Juanma Barranquero - - * ibuf-ext.el (ibuffer-switch-to-saved-filters) - (ibuffer-switch-to-saved-filter-groups): Doc fixes. - -2007-10-23 Chris Moore - - * comint.el (comint-password-prompt-regexp): - Handle `[sudo] password'-style prompt. - -2007-10-23 Glenn Morris - - * progmodes/f90.el (f90-do-indent, f90-if-indent) - (f90-type-indent, f90-program-indent) - (f90-continuation-indent, f90-comment-region) - (f90-beginning-ampersand, f90-smart-end) - (f90-break-before-delimiters, f90-auto-keyword-case) - (f90-leave-line-no, f90-mode-hook): - Give an appropriate safe-local-variable property. - (f90-font-lock-keywords-2): Fix `go to' regexp. - - * progmodes/fortran.el (fortran-tab-mode-default) - (fortran-tab-mode-string, fortran-do-indent, fortran-if-indent) - (fortran-structure-indent, fortran-continuation-indent) - (fortran-comment-indent, fortran-comment-line-extra-indent) - (fortran-comment-line-start) - (fortran-minimum-statement-indent-fixed) - (fortran-minimum-statement-indent-tab) - (fortran-comment-indent-char, fortran-line-number-indent) - (fortran-check-all-num-for-matching-do) - (fortran-blink-matching-if, fortran-continuation-string) - (fortran-comment-region, fortran-electric-line-number) - (fortran-column-ruler-fixed, fortran-column-ruler-tab) - (fortran-analyze-depth, fortran-break-before-delimiters): - Give an appropriate safe-local-variable property. - -2007-10-23 Stefan Monnier - - * textmodes/tex-mode.el (tex-uptodate-p): Don't signal an error if one - of the subdirs is unreadable. - -2007-10-22 Martin Rudalics - - * progmodes/fortran.el (fortran-mode-map, fortran-window-create): - Use window-full-width-p. - -2007-10-22 Stefan Monnier - - * emulation/tpu-edt.el (tpu-edt-old-global-values): New var. - (tpu-edt-off): Use it. - (tpu-edt-on): Set it. Make sure the tpu-global-map is not already on - the global-map before adding it to global-map. - - * menu-bar.el (global-buffers-menu-map): New var. - (global-map, menu-bar-update-buffers): Use it. - * msb.el (msb-menu-bar-update-buffers): Use it. - (msb-sort-by-directory, msb--choose-menu, msb--mode-menu-cond) - (msb--most-recently-used-menu, msb--create-buffer-menu-2): - Use with-current-buffer. - -2007-10-21 Dan Nicolaescu - - * hexl.el (hexl-menu): New major mode menu. - -2007-10-20 Glenn Morris - - * progmodes/f90.el (f90-font-lock-keywords-2) - (f90-looking-at-type-like): Fix regexp typos. - -2007-10-19 Juanma Barranquero - - * bs.el (bs-mode): Add mode name (accidentally left out - in the 2007-10-16 change). - -2007-10-19 Juanma Barranquero - - * bs.el (bs--track-window-changes): Don't refresh the whole list. - (bs-mode): Set mode-class property to special. - - * follow.el (follow-unload-function): New function. - - * loadhist.el (unload-function-features-list): - Rename from `unload-hook-features-list'. - (unload-hook-features-list): Add as obsolete alias. - (unload-feature): Use `unload-function-features-list' - and new FEATURE-unload-function. - -2007-10-18 Juanma Barranquero - - * loadhist.el (unload-feature-special-hooks): - Update list of special hooks. - - * textmodes/fill.el (fill-individual-paragraphs): Doc fix. - (adaptive-fill-function): Doc fix. Remove * from docstring. - -2007-10-18 Glenn Morris - - * ibuf-ext.el (ibuffer-saved-filter-groups): Doc fix. - -2007-10-17 Aaron Hawley - - * tutorial.el (tutorial--save-tutorial): Display message when tutorial - position is not saved. - -2007-10-17 Chong Yidong - - * longlines.el (longlines-wrap-follows-window-size): Integer value - specifies wrapping margin. - (longlines-mode, longlines-window-change-function): - Set window-specific wrapping margin based on the above. - -2007-10-17 John Wiegley - - * eshell/esh-cmd.el (eshell-complex-commands): Add "ls". - -2007-10-17 Glenn Morris - - * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): - Tweak regexp to avoid stack overflow. - -2007-10-16 Stefan Monnier - - * simple.el (reindent-then-newline-and-indent): Don't assume that - indent-according-to-mode preserves point. - -2007-10-16 Juanma Barranquero - - * bs.el (bs--window-config-coming-from): Revert 2006-11-09 change. - (bs--restore-window-config): Keep the selected frame. - (bs--track-window-changes, bs--remove-hooks): New functions. - (bs-mode): Use `define-derived-mode'. Set hook to track window changes. - (bs--show-with-configuration): Revert 2006-11-09 change. - Don't reuse window unless it is visible on the selected frame. - Restore window configuration (possibly in a different frame) - before creating any window. - -2007-10-16 Richard Stallman - - * emacs-lisp/advice.el (ad-get-advice-info): Change to a function. - (ad-get-advice-info-macro): New macro, like old ad-get-advice-info. - (ad-is-advised, ad-get-advice-info-field) - (ad-set-advice-info-field): Use ad-get-advice-info-macro. - -2007-10-16 Glenn Morris - - * simple.el (blink-matching-open): Don't report false errors with - the `$' syntax class. - -2007-10-15 Juanma Barranquero - - * filesets.el (filesets-alist-get): Use `let' rather than `let*'. - (filesets-ormap, filesets-sort-case-sensitive-flag) - (filesets-remake-shortcut, filesets-ingroup-collect-files): - Fix typos in docstrings. - (filesets-data-get-name, filesets-data-get-data) - (filesets-data-set, filesets-cmd-query-replace-getargs) - (filesets-ingroup-collect, filesets-find-or-display-file): Doc fixes. - -2007-10-15 YAMAMOTO Mitsuharu - - * term/mac-win.el: Don't require url when compiling, as url-type is - no longer a macro. - -2007-10-14 Glenn Morris - - * progmodes/etags.el (select-tags-table): Disable undo in the - `*Tags Table List*' buffer. - -2007-10-13 Eli Zaretskii - - * dired.el (dired-warn-writable): New face. - (dired-warn-writable-face): New variable. - (dired-font-lock-keywords): Use dired-warn-writable-face, instead - of dired-warning-face, for group- and world-writable files. - -2007-10-13 Glenn Morris - - * progmodes/octave-mod.el (octave-looking-at-kw): Add doc string. - (octave-re-search-forward-kw, octave-re-search-backward-kw): - Add doc string, and an explicit COUNT argument. - (octave-scan-blocks, octave-beginning-of-defun): Explicitly pass - `inc' to search functions. - -2007-10-13 John W. Eaton - - * progmodes/octave-mod.el (octave-looking-at-kw) - (octave-re-search-forward-kw, octave-re-search-backward-kw): - New functions. - (octave-in-defun-p, calculate-octave-indent) - (octave-blink-matching-block-open, octave-beginning-of-defun) - (octave-auto-fill): Use octave-looking-at-kw instead of looking-at, - to search for regexps that contain case-sensitive keywords. - (octave-beginning-of-defun): Likewise, for octave-re-search-backward-kw. - (octave-scan-blocks): Likewise, for octave-re-search-forward-kw. - -2007-10-13 Richard Stallman - - * files.el (directory-abbrev-alist): Doc fix. - -2007-10-13 Jari Aalto - - * comint.el (comint-password-prompt-regexp): Add 'LDAP'. - -2007-10-12 Martin Rudalics - - * frame.el (set-frame-configuration): Assign name parameter only - if it has been set explicitly before. + * newcomment.el (comment-styles): New style indent-or-triple. + (comment-style): Make that the default. + (comment-add defvar): Doc fix. + (comment-add): Delete arg EXTRA. + (comment-region-default): Open code call to comment-add. + Handle indent-or-triple style which uses `multi-char' for INDENT. - * window.el (handle-select-window): Revert part of 2007-10-06 - change setting the input focus. +2007-10-26 Juanma Barranquero -2007-10-12 Glenn Morris + * eshell/em-unix.el (nil-blank-string): Doc fix. - * cus-edit.el (custom-variable-menu, custom-face-menu) - (custom-group-menu): Check init-file-user rather than - user-init-file, in case cus-edit is loaded by site-run-file. +2007-10-26 John Wiegley -2007-10-11 Juanma Barranquero + * eshell/em-unix.el (eshell/diff): Before calling the `diff' + function, ensure that the third argument is turned into a nil if + the string is otherwise completely empty (either no characters, or + all tabs/spaces). This fixes a bug from a user who found himself + unable to customize `diff-switches' and still use Eshell's diff + command. - * follow.el (follow-stop-intercept-process-output): - Use `follow-call-process-filter' rather than `process-filter'. +2007-10-26 Glenn Morris -2007-10-11 Tom Tromey + * emacs-lisp/bytecomp.el (byte-compile-warnings): Autoload the + safe-local-variable property. - * progmodes/gdb-ui.el (gdb-info-stack-custom): Ensure current - frame is visible. +2007-10-26 Gwern Branwen (tiny change) -2007-10-10 Richard Stallman - - * emacs-lisp/debug.el (debugger-setup-buffer): Disable undo - in *Backtrace*. - - * faces.el (face-font-selection-order): Doc fix. - - * loadhist.el (unload-feature): Doc fix. - -2007-10-10 Vinicius Jose Latorre - - * ps-print.el: Fix the usage of :foreground and :background face - attributes. Reported by Nikolaj Schumacher . - (ps-print-version): New version 6.7.6. - (ps-face-attributes, ps-face-attribute-list, ps-face-background): - Fix code. - (ps-face-foreground-color-p, ps-face-background-color-p) - (ps-face-color-p): New inline funs. - -2007-10-10 Juanma Barranquero - - * follow.el: Change all instances of "Follow Mode" to "Follow - mode" in docstrings and messages. - -2007-10-09 Juanma Barranquero - - * faces.el (face-font-selection-order): Doc fix. - - * follow.el (follow-mode-hook, follow-mode): Doc fixes. - (follow-mode-off-hook): Mark as obsolete. - -2007-10-08 Richard Stallman - - * emacs-lisp/edebug.el (edebug-install-custom-print-funcs) - (edebug-install-custom-print, edebug-reset-print-funcs) - (edebug-uninstall-custom-print, edebug-uninstall-custom-print-funcs): - Functions deleted. - (edebug-prin1, edebug-print, edebug-prin1-to-string) - (edebug-format, edebug-message): Define directly as aliases. - -2007-10-08 Juanma Barranquero - - * follow.el (follow-mode): Don't run hooks twice. Use `when'. - -2007-10-07 Glenn Morris - - * simple.el (bad-packages-alist): Clarify Semantic and CEDET - version numbers. - -2007-10-06 Michael Albinus - - * net/tramp.el (tramp-completion-mode): Extend doc-string. - (tramp-completion-mode-p): Revert change from 2007-09-24. - Checking for `return' etc as last character is not sufficient, for - example in dired-mode when entering (revert-buffer) or - (dired-sort). - -2007-10-06 Martin Rudalics - - * window.el (mouse-autoselect-window-cancel): Don't cancel for - select-window or select-frame events. - (handle-select-window): When autoselecting window set input - focus. Restructure. - - * frame.el (focus-follows-mouse): Moved to frame.c. - * cus-start.el (all): Add focus-follows-mouse. - -2007-10-05 Chris Moore - - * server.el (server-kill-new-buffers): Doc fix. - -2007-10-05 Juanma Barranquero - - * bs.el (bs-mode): Make sure global-font-lock-mode doesn't - activate font-locking in the *buffer-selection* buffer. - (bs-show-sorted): Doc fix. - - * bs.el (bs--get-marked-string, bs--get-modified-string) - (bs--get-readonly-string, bs--get-size-string, bs--get-name) - (bs--get-mode-name, bs-mode): Fix typos in docstrings. - (bs--format-aux): Doc fix. - -2007-10-04 Juanma Barranquero - - * image-dired.el (image-dired-image-at-point-p): Fix typo in docstring. - -2007-10-04 Micha,Ak(Bl Cadilhac - - * progmodes/gud.el (gud-gud-gdb-command-name): Fix typo in docstring. - -2007-10-04 Nick Roberts - - * progmodes/gud.el (gud-gud-gdb-command-name): New option. - (gud-gdb): New function for old M-x gdb (text command mode). - (gud-gdb-command-name, gdb): Move to... - - * progmodes/gdb-ui.el: ...here and adapt doc string. - (gud-gdba-command-name, gdba): Delete. - -2007-10-03 Juanma Barranquero - - * bs.el: Don't defvar `font-lock-verbose'. - (bs-config-clear, bs-kill, bs-string-show-normally, bs-sort-functions) - (bs--get-file-name): Fix typos in docstrings. - (bs--show-header): Use `dolist' instead of `mapcar'. - (bs-mode): Set `show-trailing-whitespace' to nil. - (bs-buffer-sort-function, bs-mouse-select-other-frame) - (bs-visits-non-file, bs-sort-buffer-interns-are-last, bs-show): - Doc fixes. - -2007-10-02 Adam Hupp (tiny change) - - * progmodes/gdb-ui.el (pdb): Specify file for gud-break. - -2007-10-02 Nick Roberts - - * progmodes/gud.el (gdb): Make graphical mode the default and - switch to text command mode if appropriate, i.e., reverse previous - arrangement. - (gud-gdb-marker-filter): Adapt for above change. - - * progmodes/gdb-ui.el (gdb-init-1): Don't set the values - gud-minor-mode and gud-marker-filter. - (gdb-fullname-regexp): New variable. - (gud-gdba-marker-filter): Use it to switch to text command - mode if appropriate. - -2007-10-02 Richard Stallman - - * frame.el (cursor-in-non-selected-windows): Doc fix. - -2007-10-01 Nick Roberts - - * progmodes/gud.el (gud-display-line): Find source buffer even when - GUD buffer has its own frame. - -2007-10-01 Jan Dj,Ad(Brv - - * term/x-win.el (icon-map-list): Set to nil for 22.1 compatibility. - -2007-09-29 Jan Dj,Ad(Brv - - * term/x-win.el (x-gtk-stock-map): Version is 22.2. - -2007-09-29 Martin Rudalics - - * allout.el (allout-before-change-handler): Replace got-char by - goto-char. - -2007-09-28 Stefan Monnier - - * vc-svn.el (vc-svn-resolve-when-done, vc-svn-find-file-hook): New funs. - Used to try and automatically enabled smerge-mode in the presence of - conflicts and to call `svn resolved' when the conflicts are gone. - (vc-svn-parse-status): Remember the svn-specific status. - - * newcomment.el (comment-choose-indent): New function extracted - from comment-indent. Improve the alignment algorithm. - (comment-indent): Use it. - -2007-09-27 Juanma Barranquero - - * emacs-lisp/eldoc.el (eldoc-message-commands-table-size) - (eldoc-message-commands, eldoc-current-idle-delay): - Fix typos in docstrings. - - * progmodes/python.el (python-eldoc-function): Doc fix. - -2007-09-26 Eli Zaretskii - - * menu-bar.el (menu-bar-search-documentation-menu): Rename from - menu-bar-apropos-menu. All users changed. - (menu-bar-help-menu): Change menu symbols to better match the text - displayed by the menu. - -2007-09-25 Glenn Morris - - * view.el (view-search-no-match-lines): Add a doc string. - Rewrite to simplify and work better. - -2007-09-24 Michael Albinus - - * net/tramp.el (tramp-completion-mode-p): Rename from - `tramp-completion-mode'. Revert logic, check `return', `newline' - and such alike. Packages like Icicles tend to use other completion - characters but `tab' and `space' only. - (top): Require cl.el, when `copy-tree' is not available otherwise. - - * net/tramp-vc.el (tramp-vc-user-login-name): Get argument by - `ad-get-arg'. - -2007-09-24 Ville Skytt,Ad(B (tiny change) - - * net/tramp-vc.el (tramp-vc-user-login-name): - Use `vc-find-version' instead of `process-file' to check whether we - have a new enough vc that doesn't need the defadvice. - -2007-09-23 Dan Nicolaescu - - * files.el (file-name-sans-versions): Use [:alnum:] and also allow - #, @, : and ^. - -2007-09-23 Glenn Morris - - * ses.el (ses-calculate-cell): Don't evaluate unsafe formulae. - -2007-09-22 Dan Nicolaescu - - * pcvs-defs.el (cvs-mode-map): Bind TAB and backtab. - - * log-view.el (log-view-mode-map): Likewise. - - * diff-mode.el (diff-mode-shared-map): Likewise. - -2007-09-21 Francesco Potort,Al(B - - * progmodes/octave-inf.el (inferior-octave-mode): Use add-hook to - add inferior-octave-directory-tracker to the buffer-local value - of comint-input-filter-functions. - -2007-09-22 Dan Nicolaescu - - * files.el (file-name-sans-versions): Also allow `A-Z'. - - * vc.el: Mention all supported VC backends. - -2007-09-22 Richard Stallman - - * wid-edit.el (widget-specify-button): Don't merge mouse-face with - neighbouring buttons. - -2007-09-22 Andreas Schwab - - * files.el (file-name-sans-versions): Also allow `_'. - -2007-09-22 Glenn Morris - - * eshell/esh-mode.el (eshell-output-filter-functions): - Add eshell-postoutput-scroll-to-bottom. - -2007-09-21 Dan Nicolaescu - - * files.el (file-name-sans-versions): Allow - and a-z in version names. - - * log-view.el (log-view-mode-map, log-view-mode-menu): - Bind log-view-annotate-version. - (log-view-beginning-of-defun, log-view-end-of-defun) - (log-view-annotate-version): New functions. - (log-view-mode): Use log-view-beginning-of-defun and - log-view-end-of-defun. - -2007-09-21 Stefan Monnier - - * emacs-lisp/easy-mmode.el (define-minor-mode): Fix staging. - -2007-09-21 Kevin Ryde - - * international/mule.el (sgml-html-meta-auto-coding-function): - Bind `case-fold-search' to t. - -2007-09-20 Stefan Monnier - - * wid-edit.el (widget-image-insert): Don't merge mouse-face with - neighbouring buttons. - - * progmodes/compile.el (compilation-error-regexp-alist-alist): - Recognize gcc's use of "note" for informational messages. - -2007-09-20 Glenn Morris - - * textmodes/tex-mode.el (tex-validate-buffer): Use paragraph - motion functions, rather than hard-coding "\n\n". - (tex-validate-region): Check for eobp, to speed up. - (tex-next-unmatched-end): Doc fix. - -2007-09-19 Glenn Morris - - * textmodes/tex-mode.el (tex-terminate-paragraph): - Use backward-paragraph. - -2007-09-18 Stefan Monnier - - * textmodes/css-mode.el (css-electric-keys): electrick->electric. - (css-mode): Update correspondingly. - -2007-09-18 Stefan Monnier - - * vc-arch.el (vc-arch-extra-menu-map): New var and fun. - - * vc-hooks.el (vc-menu-entry): New var. - (vc-mode-line-map): Use it so that this menu also uses the extra-menu. - (menu-bar-tools-menu): Add the VC menu here rather than in menu-bar.el. - (vc-menu-map): Declare and initialize in one step. - - * menu-bar.el (vc-menu-map): Don't setup any more. - Instead, just create the proper spot in the menu. - -2007-09-18 Dan Nicolaescu - Stefan Monnier - - * vc.el: Document new VC operation `extra-menu'. - - * vc-hooks.el (vc-default-extra-menu, vc-menu-map-filter): New fun. - -2007-09-17 Dan Nicolaescu - - * vc-git.el (vc-git-log-view-mode): Add font-lock patterns for - Signed-off-by, Acked-by and Merge. - -2007-09-17 Glenn Morris - - * textmodes/tex-mode.el (tex-compilation-parse-errors): Prefer the - filename from `--file-line-error', if it is available. - -2007-09-17 Joe Wells (tiny change) - - * textmodes/tex-mode.el (tex-compilation-parse-errors): Also match - TeX `--file-line-error' format. - -2007-09-17 Glenn Morris - - * textmodes/tex-mode.el (tex-region): Simplify previous change, - handling the case where the region is not in `tex-main-file'. - (tex-region-1): Delete. - (tex-region-header): New function, doing the header part of the - old tex-region-1. - -2007-09-16 Stefan Monnier - - * ediff-init.el (ediff-verbose-p): This var is not a constant. - -2007-09-16 Drew Adams - - * cus-edit.el (custom-face-edit-activate): Doc fix. - -2007-09-16 Glenn Morris - - * textmodes/tex-mode.el (tex-region): Handle the case where the - region is not in `tex-main-file'. Move the old code that applies - to both cases... - (tex-region-1): ...to this new function. - -2007-09-15 Martin Rudalics - - * simple.el (blink-matching-open): Don't display message when no - paren is found within blink-matching-paren-distance characters. - Don't search prompt in blink-matching-paren-distance nil case. - -2007-09-14 Dan Nicolaescu - - * term/xterm.el (terminal-init-xterm): Add C-M- bindings. - -2007-09-14 Stefan Monnier - - * vc-mtn.el: New file. - - * vc-hooks.el (vc-handled-backends): Add Mtn. - -2007-09-13 Eli Zaretskii - - * files.el (find-file, find-file-other-window) - (find-file-other-frame, find-file-existing, find-file-read-only) - (find-file-read-only-other-window) - (find-file-read-only-other-frame) - (find-alternate-file-other-window, find-alternate-file): Doc fixes. - -2007-09-13 Jari Aalto - - * man.el (Man-default-man-entry): At end of line, continue looking - to the next line for possible end of hyphenated command. - -2007-09-13 Chris Moore - - * shell.el (shell-resync-dirs): Don't move the cursor relative to - the command being edited. - -2007-09-13 Nick Roberts - - * progmodes/gud.el (gdb-ready): New variable. - (gdb): Set it to nil. Set gud-running to nil here... - (gud-common-init): ...instead of here. - - * progmodes/gdb-ui.el (gdba, gdb-send, gdb-source-info): - Use gdb-ready. Discard input until GDB is ready to accept it. - -2007-09-12 Dan Nicolaescu - - * term/xterm.el (terminal-init-xterm): Add bindings for M-S- and - C-M-S- keys. - -2007-09-12 Martin Rudalics - - * dired.el (dired-warning): Inherit from font-lock-warning-face to - make it show up with eight colors. - -2007-09-12 Stefan Monnier - - * diff-mode.el (diff-sanity-check-hunk): Fix up the case when unified - diffs are concatenated with no intervening line. - -2007-09-10 Dave Love - - * progmodes/python.el: Merge changes from Dave Love's v2007-Sep-10. - (python-font-lock-keywords): Update to the 2.5 version of the language. - (python-quote-syntax): Let-bind font-lock-syntactic-keywords to nil. - (python-backspace): Only behave funny in code. - (python-compilation-regexp-alist): Add PDB stack trace regexp. - (inferior-python-mode): Add PDB prompt regexp. - (python-fill-paragraph): Refine the fenced-string regexp. - (python-find-imports): Handle imports spanning several lines. - (python-mode): Add `class' to hideshow support. - -2007-09-08 Stefan Monnier - - * pcvs.el (cvs-mode-add-change-log-entry-other-window): Use - add-log-buffer-file-name-function rather than bind buffer-file-name, - so we dont end up calling change-log-mode in *cvs* when `fi' is the - ChangeLog file itself. - - * outline.el (outline-flag-region): Use front-advance. - -2007-09-07 Ilya Zakharevich - - * progmodes/cperl-mode.el: Merge upstream 5.23. - (cperl-where-am-i): Remove function. - (cperl-backward-to-noncomment): Don't go too far when skipping POD/HEREs - (cperl-sniff-for-indent): De-invert [string] and [comment]. - When looking for label, skip s:m:y:tr. - (cperl-indent-line): Likewise. - (cperl-mode): Don't assume `font-lock-multiline' is auto-local. - (cperl-windowed-init): Wrong `ps-print' handling. - Both thanks to Chong Yidong. - (cperl-look-at-leading-count): Could fail with unfinished RExen. - (cperl-find-pods-heres): If the second part of s()[] is missing, - don't try to highlight delimiters... - -2007-09-07 Stefan Monnier - - * progmodes/compile.el (compilation-get-file-structure): Complete last - change by also using spec-directory in the puthash. - -2007-09-07 Riccardo Murri - - * vc-bzr.el (vc-bzr-admin-lastrev): New constant. - (vc-bzr-file-name-relative): Use 'when' instead of 'and'. - (vc-bzr-status): Fix shadowing of variable 'status'. - (vc-bzr-workfile-version): Use correct path to 'last-revision' file. - Use `expand-file-name' instead of `concat'. - (vc-bzr-annotate-command): Use option name '--long' instead of '-l'. - Update annotation line regexp. Fixes launchpad.net [Bug 137435]. - -2007-09-05 Jason Rumney - - * frame.el (focus-follows-mouse): Doc-fix. Change default on w32. - -2007-09-02 Richard Stallman - - * emacs-lisp/lisp-mode.el (lisp-indent-offset): Make defcustom. - Add `safe-local-variable' property. - (lisp-body-indent): Likewise. - -2007-09-02 Jan Dj,Ad(Brv - - * info.el (info-tool-bar-map): Add :rtl keyword to right/left-arrow and - prev/next-node. - - * term/x-win.el (x-gtk-stock-map, icon-map-list): New variables. - (x-gtk-map-stock): New function. - -2007-09-02 Glenn Morris - - * comint.el (comint-mode): Don't set scroll-conservatively. - - * eshell/em-unix.el (eshell/time): Stringify and flatten the - non-command arguments. - -2007-09-01 Thien-Thi Nguyen - - * emacs-lisp/bytecomp.el (byte-recompile-directory): - Fix bug: Don't expand top-level file name more than once. - Reported by Dmitry Antipov . - -2007-09-01 Richard Stallman - - * files.el (hack-local-variables-confirm): Rename arg VARS to ALL-VARS. - Add doc string. - -2007-08-30 Richard Stallman - - * speedbar.el (speedbar-frame-reposition-smartly) - (speedbar-set-mode-line-format, speedbar-reconfigure-keymaps) - (speedbar-check-vc): Don't use dframe-xemacsp. - -2007-08-30 Martin Rudalics - - * files.el (backup-buffer-copy): Try to overwrite old backup first. - -2007-08-29 Martin Rudalics - - * repeat.el (repeat): Use last-repeatable-command instead of - real-last-command. Run pre- and post-command hooks for - self-insertion. Update doc-string. - -2007-08-28 Glenn Morris - - * progmodes/cc-langs.el (c-constant-kwds): Add java: true, false, null. - -2007-08-27 Alexandre Julliard - - * vc-git.el (vc-git-state): Call git-add --refresh to update the - state of the file. - (vc-git-workfile-unchanged-p): Delegate implementation to vc-git-state. - (vc-git-create-repo): Fix invalid command. - -2007-08-27 Richard Stallman - - * textmodes/flyspell.el (flyspell-mode): - Catch errors in flyspell-mode-on. - -2007-08-27 Thien-Thi Nguyen - - * progmodes/modula2.el (m2-definition, m2-module): - Don't use previous-line. Reported by T. V. Raman. - -2007-08-27 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-handle-toolbar-switch-mode): Add explicit - argument to tool-bar-mode call. - -2007-08-27 Glenn Morris - - * diff-mode.el (diff-find-file-name): Only accept regular files, - to rule out /dev/null, directories, etc. - -2007-08-25 Dan Nicolaescu - - * progmodes/cperl-mode.el (cperl-indent-level): Autoload the - safe-local-variable setting. - * progmodes/perl-mode.el (perl-indent-level): Likewise. - -2007-08-25 Stefan Monnier - - * uniquify.el (uniquify-rationalize-file-buffer-names): Check liveness - of buffers in uniquify-managed. - - * simple.el (invisible-p): Rename from text-invisible-p. - Update callers. - -2007-08-25 Alan Mackenzie - - * progmodes/cc-langs.el (c-other-decl-block-key-in-symbols-alist): - new language variable. - - * progmodes/cc-engine.el (c-brace-anchor-point): New function. - (c-add-stmt-syntax): Give accurate anchor points for "namespace", - "extern" etc., rather than BOI. Fix addition of spurious - syntactic-symbol 'defun-block-intro, replacing it with - 'innamespace, etc. - -2007-08-25 Reiner Steib - - * pcvs.el (cvs-query-directory): Only prompt when prefix is given. - Don't behave differently when executed via M-x. Add doc string. - -2007-08-24 Ulrich Mueller (tiny change) - - * files.el (backup-buffer-copy): Don't wrap delete in - condition-case, only try to delete if file exists. - -2007-08-24 Glenn Morris - - * files.el (backup-buffer-copy): Revert 2007-08-22 change. - -2007-08-23 Stefan Monnier - - * progmodes/cperl-mode.el (defcustom, x-color-defined-p, cperl-is-face) - (cperl-is-face, cperl-force-face, cperl-etags-snarf-tag, cperl-mode) - (cperl-etags-snarf-tag, cperl-etags-goto-tag-location, cperl-init-faces) - (cperl-etags-goto-tag-location): Use new style backquotes. - - * subr.el (complete-with-action): Backport from trunk (for vc-arch.el). - (dynamic-completion-table): Use it it. - - * net/browse-url.el: Remove spurious * in custom docstrings. - (browse-url-filename-alist): Use new-style backquote. - - * emacs-lisp/backquote.el (backquote-unquote-symbol) - (backquote-splice-symbol): Clarify they're not new-style unquotes. - - * emacs-lisp/edebug.el (edebug-list-form, edebug-match-symbol, \,) - (\,@): Backslash the , and ,@ which are not new-style unquotes. - - * textmodes/texinfmt.el (\,): Clarify it's not a new-style unquote. - - * net/socks.el (socks-username/password-auth-filter): - Remove unused vars `state' and `desired-len'. - (socks-parse-services, socks-nslookup-host): Use with-current-buffer. - (socks-wait-for-state-change): Use new-style backquotes. - - * pcvs.el (cvs-mode-status): Fix long-standing typo. - - * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Check old-style - backquotes after each `read' rather than once per buffer. - - * dframe.el: Remove spurious * in custom docstrings. - (dframe-xemacsp): Remove, use (featurep 'xemacs) instead. - (dframe-xemacs20p): Remove, inline at the sole use point. - (defface): Don't defvar the face, don't use old-style backquote. - (defcustom): Don't use old-style backquote. - (dframe-frame-parameter, dframe-mouse-event-p): - Make it obvious that it's always defined. - (dframe-popup-kludge): New function to replace - dframe-xemacs-popup-kludge and dframe-xemacs-popup-kludge. - (dframe-frame-mode, dframe-set-timer-internal) - (dframe-mouse-set-point): Remove use of with-no-warnings from - XEmacs-specific code. - (dframe-set-timer-internal): Fix very old bug with - post-command-idle-hook. - - * emacs-lisp/byte-opt.el (byte-optimize-featurep): Handle `sxemacs'. - -2007-08-22 Chong Yidong - - * image-mode.el (image-minor-mode): Use image-mode-text-map. - -2007-08-22 Reiner Steib - - * sort.el (sort-fold-case, sort-numeric-base): Mark as - safe-local-variable. - -2007-08-22 Johan Bockg,Ae(Brd - - * net/browse-url.el (browse-url-emacs): New function. - -2007-08-22 Stefan Monnier - - * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Display a big fat - warning if the file uses old style backquotes. - - * emacs-lisp/bytecomp.el (byte-compile-log-file) - (byte-recompile-directory, byte-compile-file) - (byte-compile-from-buffer): Use with-current-buffer. - - * simple.el (text-invisible-p): Rename from line-move-invisible-p. - (line-move-invisible-p): Keep as an obsolete alias, just to be safe. - (line-move-1, line-move-finish, line-move-to-column) - (move-end-of-line, move-beginning-of-line): Use new name. - -2007-08-22 Glenn Morris - - * files.el (backup-buffer-copy): Check backup directory is - writable, to avoid infloop deleting old backup. - - * mail/rmail.el (rmail-movemail-variant-p): Call on load to set - movemail related variables. - (rmail-insert-inbox-text): Use only rmail-movemail-program, which - will now be set before this is called. - -2007-08-21 Stefan Monnier - - * emacs-lisp/backquote.el (backquote-delay-process): Fix last change. - - * progmodes/ada-mode.el: Fix up comment style in header. - (ada-check-emacs-version): Remove. - (ada-mode): Set parse-sexp-* even if they don't exist: can't hurt. - (ada-region-selected): Use (featurep 'xemacs) rather than contortions - to try and quieten the byte-compiler. - (ada-create-keymap): Use [(..)] keys, which work on both (X)Emacs. - - * vc.el (vc-annotate-warp-version): Don't use previous-line. - -2007-08-20 Johannes Weiner (tiny change) - - * emacs-lisp/lisp-mode.el (preceding-sexp): New fun, the code was - extracted from `eval-last-sexp-1'. - (eval-last-sexp-1): Call `preceding-sexp'. - -2007-08-19 Glenn Morris - - * Makefile.in (custom-deps, finder-data, autoloads, recompile) - (progmodes/cc-mode.elc, mh-e/mh-loaddefs.el): Use $(emacs) rather - than $(EMACS), so that EMACSLOADPATH is set. Prevents any system - shadow files messing up the compilation. - -2007-08-18 Glenn Morris - - * progmodes/scheme.el (scheme-mode-variables): - Set font-lock-comment-start-skip. - -2007-08-18 Martin Rudalics - - * progmodes/ada-mode.el (ada-create-syntax-table): - Move set-syntax-table from here to ... - (ada-mode): ... here. Don't change global value of comment-multi-line. - Call new function ada-initialize-syntax-table-properties. - Add ada-handle-syntax-table-properties to font-lock-mode-hook. - (ada-deactivate-properties, ada-initialize-properties): - Replace by new functions ... - (ada-handle-syntax-table-properties, ada-set-syntax-table-properties) - (ada-initialize-syntax-table-properties): ... to set up syntax-table - properties uniformly, independently from whether font-lock-mode - is enabled or not. Handle read-only buffers and do not change - undo-list when setting syntax-table properties. - (ada-after-change-function): Use ada-set-syntax-table-properties. - -2007-08-17 Bob Rogers (tiny change) - - * progmodes/cperl-mode.el (cperl-look-at-leading-count) - (cperl-find-pods-heres): Fix an error when typing expressions like - `s{a}{b}'. - -2007-08-17 Glenn Morris - - * progmodes/compile.el (compilation-get-file-structure): Make use - of the directory part when checking for an existing entry, to - handle files with same basename in different directories. - -2007-08-16 Vinicius Jose Latorre - - * ps-print.el (ps-header-font-size, ps-header-title-font-size) - (ps-footer-font-size, ps-line-number-font-size, ps-line-spacing) - (ps-paragraph-spacing): Docstring fix. - -2007-08-16 Stefan Monnier - - * smerge-mode.el (smerge-resolve): New arg `safe'. - (smerge-resolve-all, smerge-batch-resolve): New function. - (smerge-refine): Make sure `diff' returns the expected result. - (smerge-parsep-re): New const. - (smerge-mode): Use it to adjust paragraph-separate. - - * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): - Correctly match / regexp matchers as first char on a line when - fontifying only that line. - - * emacs-lisp/cl-macs.el (cl-transform-lambda): Preserve the match-data. - -2007-08-16 Glenn Morris - - * ps-print.el (ps-font-size): Doc fix. - -2007-08-15 Stefan Monnier - - * vc-bzr.el: Don't fiddle with vc-handled-backend. - (vc-bzr-registered): Don't redundantly protect against - file-error. Actually use the format-specific code. - (vc-bzr-buffer-nonblank-p): Remove. - (vc-bzr-status): Change `kindchange' -> `kindchanged'. - -2007-08-15 Glenn Morris - - * mail/undigest.el (rmail-digest-parse-rfc1153sloppy): Be even - sloppier, for the sake of GNU Mailman. - (rmail-digest-rfc1153): Initialize `result' correctly. - -2007-08-14 Glenn Morris - - * simple.el (bad-packages-alist): New constant. - (bad-package-check): New function. Together, these two add - elements to `after-load-alist' to check for problematic external - packages. - * emulation/cua-base.el: Move CUA-mode check to `bad-packages-alist'. - -2007-08-13 Stephen Leake - - * pcvs-parse.el (cvs-parse-table): Handle additional instance of - optional quotes around files in NEED-UPDATE . REMOVED case. - - * progmodes/ada-xref.el (ada-gnatls-args): Fix docstring. - (ada-treat-cmd-string): Improve error message. - (ada-do-file-completion): Call `ada-require-project-file', so - project variables are set properly. - (ada-prj-find-prj-file): Delete Emacs 20.2 support. - (ada-gnatfind-buffer-name): New constant. - (ada-find-any-references): Use new constant. Set buffer name - properly in compilation-start. Toggle read-only properly. - (ada-find-in-src-path): Fix spelling error in docstring. - - * progmodes/vhdl-mode.el (vhdl-update-progress-info): Avoid divide - by zero error. - -2007-08-13 Nick Roberts - - * progmodes/gdb-ui.el (gdb-send): Handle CTRL-D more carefully. - -2007-08-12 Richard Stallman - - * pcvs.el (cvs-reread-cvsrc, cvs-checkout, cvs-mode-checkout) - (cvs-execute-single-file): Use new name split-string-and-unquote. - (cvs-header-msg): Use new name combine-and-quote-strings. - - * emulation/vi.el (vi-next-line): Ignore return value of line-move. - - * progmodes/gud.el (gud-common-init): Use new name - split-string-and-unquote. - - * progmodes/flymake.el (flymake-err-line-patterns): Fix infloop - in javac regexp. - - * pcvs-util.el (cvs-qtypedesc-strings): Use new names - combine-and-quote-strings and split-string-and-unquote. - - * subr.el (combine-and-quote-strings): Rename from strings->string. - (split-string-and-unquote): Rename from string->strings. - -2007-08-10 Stefan Monnier - - * log-view.el (log-view-font-lock-keywords): Use `eval' so as to adapt - to buffer-local settings. - - * emacs-lisp/backquote.el (backquote-delay-process): New function. - (backquote-process): Add internal arg `level'. Use the two to - correctly handle nested backquotes. - -2007-08-09 Riccardo Murri - - * vc-bzr.el (vc-bzr-registered): Use \0 instead of literal NULs. - (vc-bzr-state-words): Add "kind changed" state word. - (vc-bzr-status): New function. Return Bzr idea of file status, - which is different from VC's. - (vc-bzr-state): Use vc-bzr-status. - (vc-workfile-unchanged-p): Use vc-bzr-status. - (vc-bzr-revert): Use synchronous process; expect exitcode 0. - (vc-dired-state): Process "kind changed" state word. - -2007-08-09 Stefan Monnier - - * vc-hooks.el (vc-default-find-file-not-found-hook): Do nothing. - - * vc-rcs.el (vc-rcs-find-file-not-found-hook): - Move from vc-default-find-file-not-found-hook. - -2007-08-09 Edward O'Connor (tiny change) - - * url/url-auth.el (url-basic-auth): When prompting for username - and password, default to the username and password in the URL. - -2007-08-08 Stefan Monnier - - * man.el: Remove spurious * in docstrings. - Merge defvars and toplevel setq-defaults. - (Man-highlight-references0): Limit=nil rather than point-max. - (Man-mode-map): Move initialization into the declaration. - (Man-strip-page-headers, Man-unindent): Use dolist & inhibit-read-only. - (Man-view-header-file): Use expand-file-name rather than concat. - (Man-notify-when-ready, Man-bgproc-sentinel): Use with-current-buffer. - - * man.el (Man-next-section): Make sure we do not move backward. - -2007-08-08 Vinicius Jose Latorre - - * ps-print.el (ps-default-fg, ps-default-bg): Docstring fix. - (ps-begin-job): Use ps-default-fg and ps-default-bg only when - ps-print-color-p is neither nil nor black-white. Reported by Christian - Schlauer . - -2007-08-08 Stefan Monnier - - * files.el (auto-mode-alist): Use the purecopied text (duh!). - -2007-08-08 Andreas Schwab - - * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): Check for - self-insert-command, not self-insert. - -2007-08-08 Glenn Morris - - * emacs-lisp/checkdoc.el (checkdoc-ispell-lisp-words): Remove `iff'. - - * Replace `iff' in doc-strings and comments. - - * help-mode.el (help-make-xrefs): Search for symbol constituents, - rather than just `-'. - -2007-08-08 Martin Rudalics - - * dired.el (dired-pop-to-buffer): - * mouse-drag.el (mouse-drag-should-do-col-scrolling): - * calendar/calendar.el (generate-calendar-window): - * progmodes/compile.el (compilation-set-window-height): - * textmodes/two-column.el (2C-two-columns, 2C-merge): - Use window-full-width-p instead of comparing frame-width and - window-width. - - * progmodes/compile.el (compilation-find-buffer): Remove extra - argument in call to compilation-buffer-internal-p. - -2007-08-07 Michael Albinus - - * net/tramp.el (tramp-handle-file-remote-p): Handle optional - parameters IDENTIFICATION and CONNECTED. - (tramp-handle-insert-file-contents): VISIT must be handled after - insertion of the local copy. Reported by Peter Gordon - . - (tramp-file-name-handler): No special handling for - `expand-file-name'. But for `file-name-as-directory'. - (tramp-find-shell, tramp-open-connection-telnet) - (tramp-open-connection-rsh, tramp-open-connection-su) - (tramp-open-connection-multi) - (tramp-open-connection-setup-interactive-shell): Guard against - $PROMPT_COMMAND shell var. Reported by Steve Youngs - . - (tramp-append-tramp-buffers): Replace "sensible" by "sensitive" in - the hint. - - * net/trampver.el: Update release number. - -2007-08-07 Tom Tromey - - * progmodes/tcl.el (tcl-indent-level, tcl-continued-indent-level): - Add safe-local-variable property. - -2007-08-07 Chong Yidong - - * image-mode.el (image-toggle-display): Use image-refresh. - - * longlines.el (longlines-decoded): New variable. - (longlines-mode): Avoid encoding or decoding the buffer twice. - -2007-08-07 Riccardo Murri - - * vc-bzr.el: Remove comments about vc-bzr.el being a modified - unofficial version. - (vc-bzr-command): Remove redundant setting of process-connection-type. - (vc-bzr-admin-checkout-format-file): Add autoload. - (vc-bzr-root-dir): Remove in favor of vc-bzr-root. - (vc-bzr-root): Switch to implementation of vc-bzr-root-dir. - (vc-bzr-registered): Compare dirstate format tag with known good - value, abort parsing if match fails. Warn user in docstring. - (vc-bzr-workfile-version): Case for different Bzr branch formats. - See bzrlib/branch.py in Bzr sources. - (vc-bzr-diff): First argument FILES may be a string rather than a list. - (vc-bzr-shell-command): Remove in favor of - vc-bzr-command-discarding-stderr. - (vc-bzr-command-discarding-stderr): New function. - -2007-08-06 Riccardo Murri - - * vc-bzr.el (vc-bzr-registered): Gracefully handle missing "bzr" - program, and return nil - (vc-bzr-state): Gracefully handle missing "bzr" program, and return nil. - (vc-bzr-state): Look for path names relative to the repository - root after status keyword. - (vc-bzr-file-name-relative): New function. - (vc-bzr-admin-dirname): Reinstate, as other vc-bzr-admin-... paths - depend on it. - (vc-bzr-admin-dirname, ...-checkout-format-file) - (...-branch-format-file, ...-revhistory): Paths to some Bzr internal - files that we now parse directly for speed. - (vc-bzr-root-dir): Use `vc-bzr-admin-checkout-format-file' as witness. - (vc-bzr-registered): Only parse vc-bzr-admin-dirstate file if it exists. - (vc-bzr-state): "bzr status" successful only if exitcode is 0 - (vc-bzr-root): Use `vc-bzr-shell-command'. Stderr may contain - Bzr warnings, so we must discard it. - (vc-bzr-workfile-version): Speedup counting lines from - `vc-bzr-admin-revhistory' file, but fallback to spawning "bzr revno" - if that file doesn't exist. - (vc-bzr-responsible-p): Use `vc-bzr-root' instead of - `vc-bzr-root-dir' for speed. Add `vc-bzr-admin-dirname' - (not ".bzr"!) to `vc-directory-exclusion-list' - (vc-bzr-shell-command): New function. - -2007-08-06 Tom Tromey - - * diff-mode.el (diff-unified->context, diff-reverse-direction) - (diff-fixup-modifs): Typo in docstring. - -2007-08-06 Stefan Monnier - - * emulation/tpu-edt.el (tpu-current-line): Use posn-at-point and - count-screen-lines. - (tpu-edt-off): Disable relevant pieces of advice. - - * emulation/tpu-extras.el (tpu-before-save-hook): Rename from - tpu-write-file-hook. Activate it with add-hook on buffer-save-hook. - (newline, newline-and-indent, do-auto-fill): Use advice instead of - redefining the function. - (tpu-set-scroll-margins): Activate the pieces of advice. - -2007-08-06 Michael Albinus - - * net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in - process-filter. - -2007-08-06 Martin Rudalics - - * help.el (resize-temp-buffer-window): Use window-full-width-p - instead of comparing frame-width and window-width. - -2007-08-05 Peter Povinec yahoo.com> (tiny change) - - * term.el: Honor term-default-fg-color and term-default-bg-color - settings when modifying term-current-face. - (term-default-fg-color, term-default-bg-color): Initialize from - default term-current-face. - (term-mode, term-reset-terminal): Set term-current-face with - term-default-fg-color and term-default-bg-color. - (term-handle-colors-array): term-current-face has term-default-fg-color - and term-default-bg-color after reset escape sequence. - (term-handle-colors-array): Set term-current-color with - term-default-fg/bg-color instead of ansi-term-color-vector when the - index (term-ansi-current-color or term-ansi-current-bg-color) is zero. - -2007-08-05 Michael Albinus - - * files.el (set-auto-mode): Handle also remote files wrt - `auto-mode-alist'. - - * net/tramp.el (tramp-handle-file-remote-p): Return a string as - remote identification. - -2007-08-04 Glenn Morris - - * autorevert.el (auto-revert-tail-mode): auto-revert-tail-pos is - zero, not nil, when the library is first loaded. Check for a file - that has been modified on disk. - - * progmodes/cperl-mode.el (cperl-compilation-error-regexp-alist): - Remove duplicate defvar preventing initialization. - (cperl-mode): Fix compilation-error-regexp-alist-alist setting. - -2007-08-03 Miles Bader - - * vc-hooks.el (vc-handled-backends): Change capitalization of VC - backend names for new backends to `Git', `Hg', and `Bzr'. - * vc-hg.el (vc-hg-dired-state-info): Use `Hg' as VC backend name, - not `HG'. - * vc-git.el (vc-git-dired-state-info): Use `Git' as VC backend - name, not `GIT'. - * vc-bzr.el (vc-bzr-dir-state, vc-bzr-dired-state-info) - (vc-bzr-unload-hook): Use `Bzr' as VC backend name, not `BZR'. - -2007-08-03 Glenn Morris - - * net/telnet.el (telnet-mode): Set comint-use-prompt-regexp to t. - -2007-08-02 Richard Stallman - - * mail/rmailsum.el (rmail-make-summary-line): Find end of msg number - to update deleted flag. - - * cus-edit.el (customize-apropos, customize-apropos-options) - (customize-apropos-faces, customize-apropos-groups): Improve prompt. - - * menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item. - - * startup.el (fancy-splash-head, startup-echo-area-message): - Change message text. - - * emulation/tpu-edt.el (next-line-internal): Setting deleted. - All callers use line-move. - - * progmodes/compile.el (compilation-find-buffer): Return current - buffer immediately if suitable. - (compile, compilation-buffer-name, compilation-start): Doc fixes. - -2007-08-02 Stefan Monnier - - * vc-bzr.el (vc-bzr-admin-dirstate): Rename from `...-dirname'. - Make it more discriminating and more useful. - (vc-bzr-root-dir): Use new name. - (vc-bzr-registered): Use new name and look at the dirstate file to - determine if it's registered or not without running `bzr'. - -2007-08-01 Eric Hanchrow (tiny change) - - * ibuf-ext.el (ibuffer-mark-old-buffers): Docstring fix. - -2007-07-31 Drew Adams - - * cus-edit.el (custom-group-value-create, custom-goto-parent): - Fix parent groups link. - -2007-07-31 Daiki Ueno - - * faces.el (face-normalize-spec): New function. - (frame-set-background-mode): Normalize face-spec before calling - face-spec-match-p. - -2007-07-31 Stefan Monnier - - * vc-bzr.el: New file (copied from the trunk). - - * vc-hooks.el (vc-handled-backends): Add BZR. - (vc-find-file-hook): Failsafe if the backend's `registered' - function burps. - - * server.el (server-window): Add switch-to-buffer-other-frame option. - -2007-07-30 Dan Nicolaescu - - * vc-git.el (vc-directory-exclusion-list, vc-handled-backends): Remove. - (vc-git-revision-completion-table): Enable. - - * vc-hooks.el (vc-handled-backends): Add GIT and HG. - - * vc.el (vc-directory-exclusion-list): Add .git and .hg. - - * vc-hg.el (vc-hg-revision-completion-table): Re-enable. - (vc-hg-registered): Set the vc-state property. - - * diff-mode.el (diff-mode-menu): New entries. - -2007-06-30 Stefan Monnier - - * diff-mode.el (diff-beginning-of-file-and-junk): New function. - (diff-file-kill): Use it. - (diff-beginning-of-hunk): Add arg `try-harder' using it. - (diff-restrict-view, diff-find-source-location, diff-refine-hunk): - Use it so they find the hunk even when we're in the file header. - - * vc.el: Add new VC operation `revision-completion-table'. - (vc-default-revision-completion-table): New function. - (vc-version-diff, vc-version-other-window): Use it to provide - completion of revision names if the backend provides it. - - * vc-arch.el (vc-arch--version-completion-table) - (vc-arch-revision-completion-table): New functions to provide - completion of revision names. - - * vc-cvs.el: Require CL. - (vc-cvs-revision-table, vc-cvs-revision-completion-table): - New functions to provide completion of revision names. - -2007-07-29 Kimit Yada (tiny change) - - * emacs-lisp/copyright.el (copyright-update-year, copyright-update) - (copyright-fix-years, copyright): Correctly handle the case where - copyright-limit is nil. - -2007-07-28 Konstantin Novitsky (tiny change) - - * progmodes/python.el (run-python): Fix path separator under w32. - -2007-07-28 Dan Nicolaescu - - * vc-git.el: New File. - -2007-07-28 Alan Mackenzie - - Fix problem with modes derived from CC Mode: - * progmodes/cc-mode.el (c-make-emacs-variables-local): Move this - macro to cc-langs. - (c-init-language-vars-for): Remove call to above macro. - * progmodes/cc-langs.el (c-make-emacs-variables-local): Macro has - been moved to here. - (c-make-init-lang-vars-fun): Call c-make-emacs-variables-local. - -2007-07-28 Eli Zaretskii - - * net/trampver.el: Fix the `coding' cookie. - -2007-07-25 Nick Roberts - - * add-log.el (change-log-redate): Remove (not needed anymore and - doesn't appear to work). - -2007-07-25 Glenn Morris - - * Relicense all FSF files to GPLv3 or later. - - * COPYING: Switch to GPLv3. - -2007-07-25 Stefan Monnier - - * pcvs.el (cvs-temp-buffer): Undo last ill-conceived change. - Replace it with another one which disables undo before calling - erase-buffer and then turns it back on if needed. - -2007-07-24 Vinicius Jose Latorre - - * ps-print.el: Problem with foreground and background color when - printing a buffer with and without faces. Reported by Christian - Schlauer . - (ps-print-version): New version 6.7.5. - (ps-default-fg): Change default value to nil, so black color is used - when a face does not specify a foreground color. - (ps-default-bg): Change default value to nil, so white color is used - for background color. - (ps-begin-job): Fix code. - -2007-07-24 Dan Nicolaescu - - * vc-hg.el (vc-hg-revision-completion-table): Temporarily comment out. - -2007-07-24 Alan Mackenzie - - * emacs-lisp/bytecomp.el (byte-compile-from-buffer): - Initialise byte-compile-unresolved-functions before rather than - after a compilation. - (byte-compile-unresolved-functions): Amplify doc string. - -2007-07-24 Glenn Morris - - * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary) - (cal-tex-rules, cal-tex-buffer, cal-tex-24) - (cal-tex-cursor-month-landscape, cal-tex-cursor-month) - (cal-tex-cursor-week, cal-tex-cursor-week2) - (cal-tex-cursor-week-iso, cal-tex-week-hours) - (cal-tex-cursor-week-monday, cal-tex-weekly4-box) - (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week) - (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix. - -2007-07-24 Stefan Monnier - - * pcvs.el (cvs-temp-buffer): Disable undo in temp buffers. - -2007-07-23 Stefan Monnier - - * ses.el (ses-cleanup): Prevent Emacs from spuriously checking if the - underlying file is uptodate. - -2007-07-23 Richard Stallman - - * progmodes/octave-inf.el (inferior-octave-prompt): Accept .exe. - -2007-07-23 Stefan Monnier - - * progmodes/sh-script.el (sh-font-lock-backslash-quote) - (sh-font-lock-flush-syntax-ppss-cache): New funs. - (sh-font-lock-syntactic-keywords): Use them to distinguish the - different possible cases for \'. - (sh-font-lock-paren): Mark the relevant text with font-lock-multiline. - - * vc-hooks.el (vc-find-root): Walk up the tree to find an existing - `file' from which to start the search and fix case where `file' is the - current directory and the root as well. - - * pcvs.el (cvs-mode-add-change-log-entry-other-window): Use a directory - name for buffer-file-name if it refers to a directory. - -2007-07-22 Jason Rumney - - * w32-fns.el (set-default-process-coding-system): Use dos line ends - for input to cmdproxy on all versions of Windows. - Use dos line ends for input to plink. - - * comint.el (comint-simple-send): Concat newline before sending. - (comint-password-prompt-regexp): Recognize plink's passphrase prompt. - -2007-07-22 Juri Linkov - - * isearch.el (isearch-edit-string): Save old point and - isearch-other-end to old-point and old-other-end before reading - the search string from minibuffer. After exiting minibuffer set - point to old-other-end if point and the search direction is the - same as before reading the search string. - (isearch-del-char): Don't set isearch-yank-flag to t. Put point - to isearch-other-end. Instead of isearch-search-and-update call - three functions isearch-search, isearch-push-state and isearch-update. - -2007-07-22 Ralf Angeli - - * textmodes/reftex.el (reftex-access-parse-file): Do not risk - destroying an existing buffer. - -2007-07-22 Jan Dj,Ad(Brv - - * startup.el (command-line-x-option-alist): Use x-handle-no-bitmap-icon. - - * term/x-win.el (x-handle-no-bitmap-icon): New function. - -2007-07-22 Ralf Angeli - - * textmodes/reftex.el (reftex-access-parse-file): Create parse - file in a way that does not interfere with recentf. - -2007-07-21 Thien-Thi Nguyen - - * image-dired.el (image-dired-sane-db-file): New func. - (image-dired-write-tags, image-dired-remove-tag) - (image-dired-list-tags, image-dired-write-comments) - (image-dired-get-comment, image-dired-mark-tagged-files) - (image-dired-create-gallery-lists): Call new func. - Reported by Dieter Wilhelm . - -2007-07-21 Dan Nicolaescu - - * vc-hg.el (vc-hg-diff): Use vc-hg-command. - (vc-hg-dir-state): Fix loop. - (vc-hg-print-log): Fix expected return value for vc-hg-command. - (vc-hg-next-version, vc-hg-delete-file, vc-hg-rename-file) - (vc-hg-register, vc-hg-create-repo, vc-hg-checkin) - (vc-hg-revert): Likewise. - (vc-hg-revision-table, vc-hg-revision-completion-table): New functions. - -2007-07-21 Thien-Thi Nguyen - - * emacs-lisp/lisp-mode.el (calculate-lisp-indent): In the - case of alignment under a constant symbol, find and consider - the sexp actually at indentation to be the "last sexp". - -2007-07-20 Eli Zaretskii - - * makefile.w32-in (install-lisp-SH, install-lisp-CMD): New targets. - (install): Use them to copy all *.el files before *.elc. - (clean): Don't delete *~. - -2007-07-20 Dan Nicolaescu - - * vc-hg.el (vc-hg-workfile-unchanged-p): New function. - -2007-07-19 Dan Nicolaescu - - * vc-hg.el (vc-hg-registered): Replace if with when. - (vc-hg-state): Deal with nonexistent files. - -2007-07-18 Juanma Barranquero - - * follow.el (follow-mode-hook, follow-mode-off-hook, follow-mode) - (follow-delete-other-windows-and-split, follow-recenter) - (follow-windows-aligned-p, follow-point-visible-all-windows-p) - (follow-redisplay, follow-estimate-first-window-start) - (follow-xemacs-scrollbar-support, follow-intercept-process-output): - Fix typos in docstrings. - -2007-07-17 Thien-Thi Nguyen - - * bookmark.el (bookmark-show-all-annotations): - Make sure each inserted annotation ends with newline. - - (bookmark-maybe-sort-alist): Don't modify - bookmark-alist. Instead, if not sorting, simply return it. - (bookmark-bmenu-list): Call bookmark-maybe-sort-alist - for its return value, not for its side effect. - -2007-07-17 Dan Nicolaescu - - * vc.el: Add more info about the vc-registered function. - -2007-07-16 David Kastrup - - * emacs-lisp/advice.el (defadvice): Doc fix. - -2007-07-16 Juanma Barranquero - - * subr.el (when, unless): Doc fix. - -2007-07-16 Dan Nicolaescu - - * vc-hg.el (vc-hg-state): Handle removed files. - (vc-hg-dir-state, vc-hg-dired-state-info): New functions. - (vc-hg-checkout): Re-enable. - -2007-07-15 Richard Stallman - - * kmacro.el (kmacro-bind-to-key): Avoid comparisons on function keys. - - * tutorial.el (tutorial--find-changed-keys): - Handle C-x specially like ESC. - -2007-07-15 Roland McGrath - - * add-log.el (add-change-log-entry): Check add-log-full-name - and add-log-mailing-address later, after change-log-mode-hook. - -2007-07-15 Richard Stallman - - * isearch.el (isearch-mode, isearch-done): - Delete unintended code in previous change. - - * ps-print.el (ps-default-bg): Change to White. - -2007-07-15 Aaron Hawley - - * tar-mode.el (tar-get-descriptor): No error for zero-length file. - -2007-07-15 Martin Rudalics - - * mouse.el (mouse-drag-track): Reset transient-mark-mode to nil - when handling the terminating event. - -2007-07-15 Jeff Miller (tiny change) - - * calendar/calendar.el (calendar-goto-bahai-date): Autoload it. - -2007-07-13 Eli Zaretskii - - * makefile.w32-in (install-lisp-SH, install-lisp-CMD): New targets. - (install): Use them to copy all *.el files before *.elc. - -2007-07-13 Dan Nicolaescu - - * replace.el (match): Use yellow1 instead of yellow. - - * progmodes/gdb-ui.el (breakpoint-enabled): Use red1 instead of red. - - * pcvs-info.el (cvs-unknown): Likewise. - -2007-07-12 Davis Herring - - * desktop.el (desktop-buffer-info, desktop-save): - Use `desktop-dirname' instead of `dirname'. - -2007-07-10 Jim Meyering (tiny change) - - * emacs-lisp/copyright.el (copyright-current-gpl-version): Set to 3. - - * autoinsert.el (auto-insert-alist): s/2/3/ in the generated comment. - -2007-07-10 Richard Stallman - - * emacs-lisp/lisp-mode.el (eval-defun): - Explain special handling of `defface'. - -2007-07-09 Richard Stallman - - * isearch.el (isearch-edit-string): Call to isearch-push-state - after the search. - -2007-07-08 Katsumi Yamaoka - - * cus-start.el (file-coding-system-alist): Fix custom type. - -2007-07-08 Chong Yidong - - * longlines.el (longlines-wrap-region): Avoid marking buffer as - modified. - (longlines-auto-wrap, longlines-window-change-function): - Remove unnecessary calls to set-buffer-modified-p. - -2007-06-20 Stefan Monnier - - * vc.el (vc-default-log-view-mode): New function. - (vc-print-log): Add new `log-view-mode' VC operation. - -2007-07-08 Nick Roberts - - * pcvs-util.el (cvs-strings->string, cvs-string->strings): - Rename and move to... - - * subr.el (strings->string, string->strings): ...here. - - * pcvs.el (cvs-reread-cvsrc, cvs-header-msg, cvs-checkout) - (cvs-mode-checkout, cvs-execute-single-file): Use new function names. - - * progmodes/gud.el (gud-common-init): Call string->strings instead - of split-string. - -2007-07-07 Eli Zaretskii - - * term/w32-win.el (menu-bar-open): New function. - Bind to it. - -2007-07-07 Dan Nicolaescu - - * log-view.el (log-view-mode-menu): New menu. - -2007-07-06 Dan Nicolaescu - - * vc-hg.el: New file. - -2007-07-06 Andreas Schwab - - * emacs-lisp/lisp-mode.el (eval-last-sexp): Avoid introducing any - dynamic bindings around the evaluation of the expression. - Reported by Jay Belanger . - -2007-07-03 Dan Nicolaescu - - * progmodes/gud.el (auto-mode-alist): Match more valid gdb init - file names. - -2007-07-02 Martin Rudalics - - * help-mode.el (help-make-xrefs): Skip spaces too when skipping tabs. - - * mouse.el (mouse-drag-mode-line-1): Quit mouse tracking when - event is not a cons cell. Do not unread drag-mouse-1 events. - Select right window in check whether space was stolen from - window above. - -2007-07-01 Richard Stallman - - * files.el (find-file-visit-truename): Fix safe-local-variable value. - -2007-06-29 Juanma Barranquero - - * generic-x.el (generic-define-mswindows-modes) - (generic-define-unix-modes, apache-log-generic-mode) - (bat-generic-mode-keymap, java-manifest-generic-mode) - (show-tabs-generic-mode): Fix typos in docstrings. - -2007-06-28 Jan Dj,Ad(Brv - - * dnd.el (dnd-get-local-file-name): Set fixcase to t in call to - replace-regexp-in-string. - -2007-06-28 Andreas Schwab - - * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Depend on - $(lisp)/subdirs.el. - -2007-06-28 Juanma Barranquero - - * speedbar.el (speedbar-handle-delete-frame): Don't try to delete - the speedbar frame if nil; that deletes the current frame or - causes an error if it is the only frame. - Reported by Angelo Graziosi . - -2007-06-24 Juanma Barranquero - - * desktop.el (desktop-read): Run `desktop-not-loaded-hook' in the - directory where the desktop file was found, as the docstring says. - (desktop-kill): Use `read-directory-name'. - - * desktop.el (desktop-load-locked-desktop): New option. - (desktop-read): Use it. - (desktop-truncate, desktop-outvar, desktop-restore-file-buffer): - Use `when'. - -2007-06-24 Davis Herring - - * desktop.el (desktop-save-mode-off): New function. - (desktop-base-lock-name, desktop-not-loaded-hook): New variables. - (desktop-full-lock-name, desktop-file-modtime, desktop-owner) - (desktop-claim-lock, desktop-release-lock): New functions. - (desktop-kill): Tell `desktop-save' that this is the last save. - Release the lock afterwards. - (desktop-buffer-info): New function. - (desktop-save): Use it. Run `desktop-save-hook' where the doc - says to. Detect conflicts, and manage the lock. - (desktop-read): Detect conflicts. Manage the lock. - -2007-06-23 Eli Zaretskii - - * ls-lisp.el (insert-directory): If an invalid regexp error is - thrown, try using FILE as a literal file name, not a wildcard. - Check for FILE as an existing file, not just a directory. - -2007-06-23 Juanma Barranquero - - * ruler-mode.el (ruler-mode): Prevent clobbering the original - `header-line-format' when reentering ruler mode. - -2007-06-23 Eli Zaretskii - - * ls-lisp.el (insert-directory): Don't treat FILE as a wildcard if - FILE exists as a directory. - -2007-06-21 Stefan Monnier - - * progmodes/vera-mode.el (vera-mode): Fix `commend-end-skip' setting. - (vera-font-lock-match-item): Fix doc string. - (vera-in-comment-p): Remove unused function. - (vera-skip-forward-literal, vera-skip-backward-literal): Improve code, - use `syntax-ppss'. - (vera-forward-syntactic-ws): Fix argument order. - (vera-prepare-search): Use `with-syntax-table'. - (vera-indent-line): Fix doc string. - (vera-electric-tab): Fix doc string. - (vera-expand-abbrev): Define alias instead of using `fset'. - (vera-comment-uncomment-region): Use `comment-start-skip'. - -2007-06-20 Reto Zimmermann - - * progmodes/vera-mode.el: New file. - -2007-06-20 Juanma Barranquero - - * ido.el (ido-find-file-in-dir): Don't signal an error for - empty directories. - -2007-06-18 Alan Mackenzie - - * progmodes/cc-mode.el (c-remove-any-local-eval-or-mode-variables): - When removing lines, also remove the \n. Correction of patch of - 2007-04-21. - -2007-06-17 Glenn Morris - - * lpr.el (lpr-page-header-switches): Move %s to separate element - for correct quoting. Doc fix. - -2007-06-13 Johan Bockg,Ae(Brd - - * term/xterm.el (terminal-init-xterm): Escape parens in character - constants. - -2007-06-12 Ralf Angeli - - * scroll-lock.el (scroll-lock-mode): Doc fix. - -2007-06-11 Stefan Monnier - - * font-lock.el (font-lock-add-keywords): In case font-lock was only - half-activated, forcefully activate it completely. - -2007-06-11 Richard Stallman - - * cus-edit.el (custom-variable-type): Doc fix. - -2007-06-09 Alfred M. Szmidt (tiny change) - - * mail/rmail.el (rmail-movemail-variant-in-use): Fix doc typo. - -2007-06-09 Davis Herring - - * desktop.el (desktop-minor-mode-table): Doc fix. - -2007-06-08 Chong Yidong - - * image-mode.el (image-forward-hscroll, image-backward-hscroll) - (image-next-line, image-previous-line, image-scroll-up) - (image-scroll-down, image-bol, image-eol, image-bob, image-eob): - New functions. - (image-mode-map): Remap motion commands. - (image-mode-text-map): New keymap for viewing images as text. - (image-mode): Use image-mode-map. - (image-toggle-display): Toggle auto-hscroll-mode and mode keymaps. - -2007-06-07 Michael Albinus - - Sync with Tramp 2.0.56. - - * net/tramp.el: - * net/tramp-ftp.el: - * net/tramp-smb.el: - * net/tramp-util.el: - * net/tramp-vc.el: - Don't load cl.el, because that pollutes the namespace. Replace cl - macros by their implementations where necessary. Requested by - Richard Stallman . - - * net/tramp.el (top): Make `set-buffer-multibyte' an alias if it - doesn't exist. - (with-parsed-tramp-file-name): Protect debug spec during compilation. - (tramp-handle-insert-directory): Check (featurep 'ls-lisp). - (tramp-file-name-p, tramp-file-name-multi-method) - (tramp-file-name-method, tramp-file-name-user) - (tramp-file-name-host, tramp-file-name-localname): New defuns, - replacing defstruct `tramp-file-name'. - (tramp-handle-file-remote-p, tramp-completion-dissect-file-name1) - (tramp-dissect-file-name, tramp-dissect-multi-file-name): - Apply `vector' instead of `make-tramp-file-name'. - (tramp-handle-make-auto-save-file-name): - Apply `tramp-temporary-file-directory' for compatibility reasons. - (tramp-completion-mode): Use `natnump' instead of `wholenump' - because of XEmacs. - (tramp-completion-mode): `last-input-event' is nil when XEmacs is - started. - -2007-06-07 David Kastrup - - * dired.el (dired-recursive-deletes, dired-recursive-copies): - Change default to `top'. - -2007-06-07 Chong Yidong - - * dired.el (dired-mode-map): Remove spurious separator. - -2007-06-07 Juanma Barranquero - - * progmodes/ebrowse.el (ebrowse-draw-file-member-info): Doc fix. - - * progmodes/mixal-mode.el (mixal-operation-codes-alist): - * progmodes/idlwave.el (idlwave-one-key-select): Fix typo in docstring. - -2007-06-07 Alfred M. Szmidt (tiny change) - - * mail/rmailsum.el (rmail-summary-save-buffer): New command. - (rmail-summary-mode-map): Add rmail-summary-save-buffer. - -2007-06-07 Juanma Barranquero - - * progmodes/ebrowse.el (ebrowse-member-table): - * textmodes/org.el (org-export-ascii-bullets): Fix typos in docstrings. - -2007-06-06 Juanma Barranquero - - * pgg.el (pgg-sign-region, pgg-sign): - * ses.el (ses-call-printer): - * calendar/icalendar.el (icalendar--diarytime-to-isotime): - * textmodes/org.el (org-cycle): Fix typos in docstrings. - -2007-06-06 Eli Zaretskii - - * tar-mode.el (tar-header-block-summarize, tar-summarize-buffer) - (tar-get-descriptor): Handle type 55, an extended pax header. - -2007-06-06 Stefan Monnier - - * textmodes/css-mode.el: New file. - -2007-06-06 Michael Albinus - - * net/socks.el: New file, taken from w3 repository. - (top): Update Copyright. Don't load cl.el. - (all): Replace `case' by `cond', `string-to-int' by - `string-to-number', and `process-kill-without-query' by - `set-process-query-on-exit-flag'. - (socks-char-int): Remove defalias and all occurrences. - -2007-06-06 Juanma Barranquero - - * international/mule-cmds.el (toggle-enable-multibyte-characters) - (sort-coding-systems, search-unencodable-char): Doc fixes. - (coding-system-change-eol-conversion, set-default-coding-systems) - (prefer-coding-system, find-multibyte-characters, princ-list) - (leim-list-entry-regexp, set-input-method, locale-language-names) - (input-method-exit-on-first-char, exit-language-environment-hook) - (locale-charset-language-names): Fix typos in docstrings. - -2007-06-05 Juanma Barranquero - - * bs.el (bs-cycle-previous): Don't modify the cycle list until - `switch-to-buffer' has returned succesfully. - (bs-cycle-next): Ditto. Also, don't bury the buffer when the - window is dedicated (it could iconify the frame). - -2007-06-05 Glenn Morris - - * files.el (auto-mode-alist): Open `.asd' files in lisp-mode. - -2007-06-05 Chong Yidong - - * files.el (auto-mode-alist): Add lower-priority match for names - like ChangeLog.old. - -2007-06-04 Andreas Schwab - - * emacs-lisp/sregex.el (sregexq): Fix doc string quoting. - -2007-06-04 Davis Herring - - * calendar/timeclock.el: Update version number. - (timeclock-modeline-display): Mention timeclock-use-display-time - in explanatory message. - (timeclock-log): Suppress warnings when finding the log. - Don't check for a nil project twice. Run hooks after killing the - buffer (if applicable). - (timeclock-geometric-mean): Rename to `timeclock-mean' (it never - was geometric). All uses changed. - (timeclock-generate-report): Support prefix argument. - -2007-06-04 Micha,Ak(Bl Cadilhac - - * man.el (Man-next-section): Don't consider the last line of the - page as being part of any section. - -2007-06-04 Martin Rudalics - - * hilit-chg.el (highlight-changes-rotate-faces): Don't set - modified flag of buffer. Use `inhibit-modification-hooks'. - -2007-06-04 Katsumi Yamaoka - - * mail/mail-extr.el (mail-extract-address-components): - Recognize non-ASCII characters except for NBSP as words. - -2007-06-04 Ryan Yeske - - * net/webjump.el (webjump-sample-sites): Add Wikipedia query. - -2007-06-04 Michael Olson - - * emacs-lisp/tq.el (tq-queue-pop): Stifle error when a process has - died and we are trying to send a signal to it. - -2007-06-04 Juanma Barranquero - - * emacs-lisp/easy-mmode.el (define-minor-mode) - (easy-mmode-define-navigation): Fix typos in docstrings. - - * progmodes/compile.el (compilation-find-file, compilation-handle-exit): - Fix typos in docstrings. - (compilation-search-path, compilation-buffer-name-function): Doc fixes. - (compilation-finish-function): Fix typo in obsolescence declaration. - - * progmodes/idlwave.el (idlwave-routines): Fix typo in docstring. - -2007-06-04 Chong Yidong - - * files.el (magic-mode-alist): Remove image-type-auto-detected-p. - (magic-fallback-mode-alist): Add image-type-auto-detected-p. - - * image.el (image-type-auto-detected-p): Don't scan auto-mode-alist. - - * longlines.el (longlines-mode): Make longlines-auto-wrap - buffer-local. Add hooks unconditionally. - (longlines-auto-wrap): Toggle wrapping. - (longlines-after-change-function) - (longlines-post-command-function): Check longlines-auto-wrap. - -2007-06-02 Chong Yidong - - * Version 22.1 released. - -2007-06-01 Chong Yidong - - * paren.el (show-paren-function): Undo 2007-04-19 and 2007-04-20 - changes. - -2007-05-31 Richard Stallman - - * dired.el (dired-do-delete, dired-do-flagged-delete): Doc fixes. - -2007-05-29 Martin Rudalics - - * textmodes/table.el (table--point-entered-cell-function) - (table--point-left-cell-function): - Bind `inhibit-point-motion-hooks' to t. - -2007-05-29 Nikolaj Schumacher (tiny change) - - * emacs-lisp/rx.el (rx): Doc fix. - -2007-05-28 Chong Yidong - - * textmodes/sgml-mode.el (sgml-point-entered): Use condition-case. - -2007-05-27 Tetsurou Okazaki (tiny change) - - * log-edit.el (log-edit-changelog-paragraph): Return point-max - as the end of the ChangeLog paragraph when it ends without a line - termination. - -2007-05-25 Stefan Monnier - - * textmodes/fill.el (canonically-space-region): Make the second arg - a marker if it's not already the case. - - * xt-mouse.el (xterm-mouse-truncate-wrap): New function. - (xterm-mouse-event): Use it. - -2007-05-25 Miles Bader - - * vc-hooks.el (vc-find-root): Fix file attribute test. - -2007-05-24 Richard Stallman - - * textmodes/flyspell.el (flyspell-correct-word-before-point): - Don't let opoint be nil. - (flyspell-emacs-popup): Explicit error if no dialogs. - -2007-05-23 Eli Zaretskii - - * tar-mode.el (tar-file-name-handler): New function. - (tar-extract): Bind file-name-handler-alist to it to force - find-buffer-file-type-coding-system behave as if the file being - extracted existed. Use last-coding-system-used to force - buffer-file-coding-system to what decode-coding-region actually - used to decode the file. - -2007-05-23 Nikolaj Schumacher (tiny change) - - * progmodes/compile.el (compilation-handle-exit): - `compilation-finish-function' may change the current buffer. - -2007-05-22 Richard Stallman - - * files.el (set-auto-mode): Doc fix. - -2007-05-22 Eli Zaretskii - - * dos-w32.el (find-buffer-file-type-coding-system): Doc fix. - -2007-05-21 Trent Buck (tiny change) - - * net/rcirc.el (rcirc-fill-column): Allow `window-width'. - (rcirc-print): Handle `window-width'. - (rcirc-buffer-maximum-lines): Doc fix. - -2007-05-19 Kevin Ryde - - * info.el (Info-fontify-node): Match https also. - -2007-05-18 Richard Stallman - - * simple.el (push-mark): Doc fix. - -2007-05-18 Rob Riepel - - * emulation/tpu-edt.el (CSI-map, SS3-map): Move from global-map to - tpu-global-map. - (tpu-original-global-map): Delete variable. - (tpu-control-keys-map): New keymap variable. - (tpu-set-control-keys): Use tpu-reset-control-keys rather than - setting keymapping directly. - (tpu-reset-control-keys): Use tpu-control-keys-map instead of - tpu-global-map. - (tpu-edt-on): Activate the tpu-global-map. - (tpu-edt-off): Deactivate the tpu-global-map. - -2007-05-18 Ryan Yeske - - * textmodes/ispell.el (ispell-get-word): Return markers - for start and end positions. - (ispell-word): Assume END is a marker. - -2007-05-17 Vinicius Jose Latorre - - * ps-print.el: Use default color when foreground or background color - are unspecified. Reported by Leo . - (ps-print-version): New version 6.7.4. - (ps-rgb-color): New argument. Use default color when color is - unspecified. - (ps-begin-job): Fix code. - -2007-05-17 Martin Rudalics - - * textmodes/ispell.el (ispell-start-process): Defend against bad - default-directory. - -2007-05-17 Stefan Monnier - - * vc-hooks.el (vc-find-root): Stop searching when the user changes. - -2007-05-16 Richard Stallman - - * buff-menu.el (Buffer-menu-sort-column): Doc fix. - -2007-05-16 Stefan Monnier - - * files.el (magic-mode-alist, magic-fallback-mode-alist): - Move the *ml, Postscript, and XmCD entries to the fallback part. - - * files.el (magic-fallback-mode-alist): - Rename from file-start-mode-alist. - -2007-05-16 Nikolaj Schumacher (tiny change) - - * progmodes/compile.el (compilation-handle-exit): Quote first - argument of `run-hook-with-args'. - -2007-05-16 Juanma Barranquero - - * buff-menu.el (Buffer-menu-sort-column): - * dabbrev.el (dabbrev-upcase-means-case-search): - * dired.el (dired-recursive-deletes, dired-recursive-copies): - * info.el (Info-current-subfile): - * ls-lisp.el (ls-lisp-verbosity): - * msb.el (msb-menu-cond): - * pcvs.el (cvs-dired-use-hook): - * simple.el (set-mark-command-repeat-pop): - * time.el (display-time-24hr-format, display-time-mail-file): - Doc fixes. - - * tutorial.el (get-lang-string, tutorial--find-changed-keys): - * printing.el (pr-ps-fast-fire): Fix typos in docstrings. - - * view.el (view-inhibit-help-message): Fix typo in docstring. - (view-scroll-auto-exit, view-try-extend-at-buffer-end): Doc fixes. - -2007-05-14 Eli Zaretskii - - * mail/rmail.el (rmail-convert-to-babyl-format): - Check content-transfer-encoding _last_, because we need its position - in base64-header-field-end. - -2007-05-14 Juanma Barranquero - - * files.el (mode-require-final-newline, require-final-newline) - (enable-local-variables, enable-local-eval): Doc fixes. - -2007-05-10 Edward O'Connor (tiny change) - - * progmodes/python.el (python-font-lock-keywords) - (python-open-block-statement-p, python-mode): Add support for the new - "with" keyword. - -2007-05-10 Richard Stallman - - * international/iso-cvt.el (iso-cvt-read-only): Ignore arguments. - (iso-cvt-write-only): Likewise. - - * emacs-lisp/easy-mmode.el (define-minor-mode): - Fix generated doc string. - - * startup.el (fancy-splash-text): Add URL of guided tour. - Adjust horizontal and vertical whitespace. - - * progmodes/compile.el (compilation-handle-exit): - Use run-hook-with-args to run compilation-finish-functions. - - * files.el (file-start-mode-alist): New variable. - (magic-mode-regexp-match-limit): Doc fix. - (set-auto-mode): Handle file-start-mode-alist. - A little cleanup of structure. - -2007-05-10 Davis Herring - - * calendar/timeclock.el (timeclock-in): Fix non-interactive - workday specifications. - (timeclock-log): Don't kill the log buffer if it already existed. - -2007-05-08 Richard Stallman - - * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): - Don't include non-self-insert commands in the exception for `-'. - -2007-05-08 David Reitter - - * progmodes/python.el (python-guess-indent): Check non-nullness - before comparing indent against the 2..8 interval. - -2007-05-07 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-ts-unicode-for-key-event): Check if text is - available. - -2007-05-06 Richard Stallman - - * emacs-lisp/eldoc.el (turn-on-eldoc-mode): Doc fix. - -2007-05-03 Ryan Yeske - - * net/rcirc.el (rcirc-timeout-seconds): Increase to prevent unwanted - disconnections. - -2007-05-01 Romain Francoise - - * dired-x.el: Revert 2007-04-06 change. - -2007-04-30 Nick Roberts - - * progmodes/gud.el (gud-menu-map): Pdb can't handle SIGINT so - don't put stop on toolbar. - -2007-04-29 Stephen Berman - - * find-dired.el (find-dired-filter): Propertize all text down to eob. - -2007-04-29 Richard Stallman - - * international/mule.el (auto-coding-alist): Add pdf => no-conversion. - -2007-04-28 Stefan Monnier - - * progmodes/cc-mode.el (c-before-change): Use point-min rather - than 1. - -2007-04-28 Richard Stallman - - * progmodes/sh-script.el (sh-mode): Recognize .profile as sh style. - -2007-04-28 Stefan Monnier - - * vc-hooks.el (vc-ignore-dir-regexp): Add /.../ for the DFS filesystem. - -2007-04-28 Eli Zaretskii - - * makefile.w32-in ($(lisp)/mh-e/mh-loaddefs.el): Use ./mh-e - instead of $(lisp)/mh-e. - - * textmodes/fill.el (fill-paragraph): Doc fix. - -2007-04-28 Glenn Morris - - * image-dired.el (image-dired-cmd-create-thumbnail-options) - (image-dired-cmd-create-temp-image-options): Replace option - +profile "*" with -strip. - -2007-04-27 Chong Yidong - - * textmodes/flyspell.el (flyspell-auto-correct-previous-word): - Use window-start and window-end. - -2007-04-26 Glenn Morris - - * progmodes/python.el: Restore file pending consideration of legal - status. - -2007-04-26 Luc Teirlinck - - * locate.el (locate-in-alternate-database): Doc fix. - -2007-04-26 Glenn Morris - - * button.el (button): Use underline if supported, else fall back - to color. - -2007-04-25 Richard Stallman - - * hi-lock.el (hi-lock-file-patterns-policy): Default to `ask'. - -2007-04-25 J.D. Smith - - * progmodes/idlwave.el (idlwave-beginning-of-subprogram) - (idlwave-end-of-subprogram): Take optional NOMARK arg to prevent - pushing mark. - (idlwave-current-routine): Don't push mark. - -2007-04-25 Mathias Dahl - - * image-dired.el (image-dired-display-image): Derive image-type from - filename rather than assuming jpeg, in case no resizing was needed. - -2007-04-25 Johan Bockg,Ae(Brd - - * custom.el (defface): Doc fix. - -2007-04-24 Chong Yidong - - * progmodes/python.el: Remove due to unclear legal issues. - -2007-04-24 J.D. Smith - - * progmodes/idlw-shell.el (idlwave-shell-clear-all-bp): - Don't re-query for each cleared BP. - (idlwave-shell-clear-bp): Optionally skip BP query. - (idlwave-shell-update-bp-overlays): Use set-window-margins instead - of set-window-buffer, which incorrectly moves displayed region. - -2007-04-23 Jay Belanger - - * calc/calc.el (calc-bug-address): Update maintainer's address. - * calc/*: Update maintainer's address. - -2007-04-23 Richard Stallman - - * simple.el (set-mark-command-repeat-pop): Doc fix. - Put in `editing-basics' group. - -2007-04-23 Chong Yidong - - * info.el (Info-mouse-scroll-up, Info-mouse-scroll-down): - New functions. - (Info-mode-line-node-keymap): Bind mouse commands to - Info-mouse-scroll-up/down instead of Info-scroll-up/down. - -2007-04-23 Luc Teirlinck - - * locate.el (locate-local-prompt): New var. - (locate-prompt-for-command): Doc fix. - (locate-prompt-for-search-string): New function. - (locate): New optional arg. Make locate-local-prompt - buffer-local. Use locate-prompt-for-search-string. - (locate-with-filter): New optional arg. - Use locate-prompt-for-search-string. - (locate-update): Bind locate-prompt-for-command. - -2007-04-23 Glenn Morris - - * files.el (magic-mode-alist): ` - - * button.el (button): Inherit from link face on a tty. - -2007-04-23 Glenn Morris - - * button.el (button): Use color for this face on a tty. - - * files.el (magic-mode-alist): Allow for carriage-returns in - html-mode and sgml-mode entries. - -2007-04-22 Richard Stallman - - * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): - Improve doc string of generated command. - - * subr.el (read-number): Catch errors. - - * hi-lock.el (hi-lock-file-patterns-policy): Doc fix. - -2007-04-22 Chong Yidong - - * image-dired.el: Rename from thumbnails.el. All instances of - "thumbnails" replaced with "image-dired". - - * dired.el (dired-mode-map): Rename "thumbnails" again, to - "image-dired". - -2007-04-22 Kim F. Storm - - * ido.el (ido-kill-buffer-at-head, ido-delete-file-at-head): - Don't use kill-line. - -2007-04-22 Nick Roberts - - * t-mouse.el (t-mouse-make-event): Pass on mev's more informative - error message. - -2007-04-22 Chong Yidong - - * dired.el: Rename "tumme" to "thumbnails". - - * thumbnails.el: Rename from tumme.el. All instances of "tumme" - replaced with "thumbnails". - -2007-04-22 Glenn Morris - - * hi-lock.el (hi-lock-file-patterns-policy): Make it a defcustom, - and give it the risky-local-variable property. - - * textmodes/flyspell.el (flyspell-define-abbrev): Downcase abbrev - before defining it. - -2007-04-21 Martin Rudalics - - * progmodes/cc-mode.el (c-remove-any-local-eval-or-mode-variables): - Use delete-region instead of kill-line. - -2007-04-21 Alan Mackenzie - - * progmodes/cc-cmds.el (c-electric-slash): Replace wrong use of - `kill-region' by `delete-region'. - -2007-04-21 Chong Yidong - - * progmodes/perl-mode.el (perl-indent-command): Use delete-region - instead of kill-region. - - * progmodes/mantemp.el (mantemp-make-mantemps-region) - (mantemp-insert-cxx-syntax, mantemp-sort-and-unique-lines) - (mantemp-remove-memfuncs): Use delete-region instead of kill-word - and kill-line. - - * progmodes/vhdl-mode.el (vhdl-template-type) - (vhdl-template-record, vhdl-template-nature) - (vhdl-template-configuration-spec, vhdl-template-component-inst) - (vhdl-template-break, vhdl-regress-line, vhdl-electric-tab): - Use delete-region instead of kill-word and kill-line. - -2007-04-21 Johan Bockg,Ae(Brd - - * dired-x.el (dired-virtual-mode): Doc fix. - -2007-04-21 Richard Stallman - - * font-lock.el (font-lock-keywords-alist): Mark as risky. - - * subr.el (read-number): Doc fix. - - * simple.el (pop-to-mark-command): Display message "mark popped" - if point does not move. - (set-mark-command): Doc fix. - -2007-04-21 Luc Teirlinck - - * locate.el: Revert 2006-09-09 and 2007-04-20 changes. - (locate-local-filter, locate-local-search): New vars. - (locate): Make variables local. - (locate-update): Bind locate-buffer-name. Call locate using - locate-local-filter and locate-local-search. - -2007-04-20 David Koppelman - - * hi-lock.el (hi-lock-file-patterns-policy): New var. - (hi-lock-find-patterns): Use hi-lock-file-patterns-policy. - (hi-lock-mode): Update docstring. - -2007-04-20 Stefan Monnier - - * textmodes/fill.el (fill-move-to-break-point): Don't inhibit - fill-nobreak-predicate when the break is past fill-column. - -2007-04-20 Francesco Potort,Al(B - - * locate.el (locate): Output from shell-command should go in the - current buffer rather than *Shell Command Output*. - -2007-04-20 Chong Yidong - - * paren.el (show-paren-function): Fix last fix. - -2007-04-19 Kevin Ryde - - * arc-mode.el (archive-find-type): lzh-exe for lzh self-extracting exe. - (archive-lzh-summarize): Add optional start arg for where to start - looking at the archive. - (archive-lzh-exe-summarize, archive-lzh-exe-extract): New functions. - - * international/mule.el (auto-coding-alist): no-conversion for .exe - and .EXE. - -2007-04-19 Alan Mackenzie - - * progmodes/cc-cmds.el (c-in-function-trailer-p): Fix this: when a - function return type contains "struct", "union", etc. - c-end-of-defun goes too far forward. - -2007-04-19 Chong Yidong - - * paren.el (show-paren-function): Reset window-start to avoid - recentering. - -2007-04-19 Glenn Morris - - * calendar/todo-mode.el: Fix typo: "threshhold" -> "threshold". - -2007-04-18 Glenn Morris - - * calendar/diary-lib.el (diary-header-line-format): Add a custom - :set function. - (diary-list-entries): Only switch to diary-mode from - default-major-mode (reverts 2007-03-21 change). Otherwise, if in - diary-mode set header-line-format, in case of any customization. - -2007-04-18 Levin Du (tiny change) - - * calendar/parse-time.el (parse-time-string-chars): Check if CHAR - is less than the length of parse-time-syntax. - -2007-04-17 David Kastrup - - * replace.el (query-replace-regexp-eval): Deprecate. - -2007-04-17 Alan Mackenzie - - * progmodes/cc-cmds.el (c-beginning-of-defun): With -ve arg and - point too close to EOB, leave point at EOB rather than last `}'. - -2007-04-17 Roland Winkler - - * textmodes/bibtex.el (bibtex-include-OPTkey) - (bibtex-user-optional-fields, bibtex-entry-field-alist): - Fix defcustom. - -2007-04-17 Glenn Morris - - * calendar/cal-dst.el (calendar-dst-find-startend): If YEAR cannot - be encoded, fall back to current year. - -2007-04-14 Kevin Ryde - - * arc-mode.el (archive-lzh-summarize): Only apply the "downcase if - all upcase" rule to OS-ID 0 "generic". Always downcase for OS-ID - M "MSDOS". - -2007-04-16 Chong Yidong - - * progmodes/python.el (python-end-of-block): Avoid looping forever - if python-next-statement fails. - -2007-04-16 Roland Winkler - - * textmodes/bibtex.el (bibtex-entry-field-alist): Use defcustom. - -2007-04-16 Dan Nicolaescu - - * progmodes/perl-mode.el (perl-indent-level): Mark as safe local var. - * progmodes/cperl-mode.el (cperl-indent-level): Likewise. - -2007-04-15 Jay Belanger - - * calc/calc.el (calc-version): New function. - (calc-trail-mode): Shorten the title. - -2007-04-15 Chong Yidong - - * mail/footnote.el (footnote-style): Clarify docstring to state - that customizing this only applies to future footnotes. - -2007-04-15 Roland Winkler - - * textmodes/bibtex.el (bibtex-field-list): Use functionp. - (bibtex-make-field): Check that INIT is a string. Use functionp. - -2007-04-14 Glenn Morris - - * complete.el (PC-goto-end): New buffer-local variable. - (PC-do-completion-end): Make buffer-local. - (partial-completion-mode) : - Do not go to the end of the minibuffer if PC-goto-end is non-nil. - (PC-do-completion): New optional fourth argument GOTO-END. Add a - doc string. Set PC-goto-end for choose-completion. - (PC-lisp-complete-symbol): Pass non-nil GOTO-END arg to - PC-do-completion. - - * textmodes/bibtex.el (bibtex-insert-kill): Pass non-nil NODELIM - arg to bibtex-make-field. - (bibtex-make-field): Add optional fourth arg NODELIM. - Insert delimiters around INIT unless this arg is non-nil. - -2007-04-14 Nick Roberts - - * tmm.el (tmm-get-keybind): Use copy-sequence to ensure that the - global map isn't modified. - -2007-04-14 Glenn Morris - - * calendar/appt.el (appt-disp-window): Do not split small windows. - Suggested by Jeff Miller . - -2007-04-13 Chong Yidong - - * progmodes/compile.el (compilation-start): Revert 2007-03-25 change. - - * files.el: Ditto. - -2007-04-13 Juanma Barranquero - - * cus-edit.el (minibuffer, auto-save): Fix typos in docstrings. - - * term.el (term-buffer-maximum-size, term-exec, term-escape-char) - (term-set-escape-char, term-termcap-format, term-get-old-input-default) - (term-skip-prompt, term-send-string, term-send-region, term-pager-page) - (term-pager-help): Fix typos in docstrings. - - * wid-edit.el (widget-documentation): Fix typo in docstring. - - * progmodes/ebnf2ps.el (ebnf-insert-style, ebnf-merge-style): - Fix typos in error messages. - -2007-04-13 Martin Rudalics - - * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't select - window marked as dedicated. - - * mail/footnote.el (footnote-latin-string): New variable. - (footnote-latin-regexp): Redefine as regexp alternative. - (Footnote-latin): Use footnote-latin-string instead of - footnote-latin-regexp. - -2007-04-13 Glenn Morris - - * tmm.el (tmm-get-keybind): Use car-safe to avoid errors with - inherited keymaps. - -2007-04-12 Chong Yidong - - * outline.el (outline-get-next-sibling): Clarify docstring. - (outline-get-last-sibling): Handle case where we are at the first - heading. Clarify docstring. - -2007-04-12 Nick Roberts - - * progmodes/gud.el (gud-minor-mode-map): Make go button same - length as stop button to lessen flicker. - (jdb): Add gud-print. - (gud-find-expr): Jdb prints the expression with the value, so - don't insert it in the output. - -2007-04-11 Jason Rumney - - * dnd.el (dnd-get-local-file-name): Decode both upper and lower - case hex. Do not try to decode non-hex letters. - -2007-04-11 Markus Triska - - * emacs-lisp/byte-opt.el (byte-optimize-backward-char) - (byte-optimize-backward-word): Remove (move to bytecomp.el). - (byte-optimize-form-code-walker): Evaluate pure function calls if - possible. - (byte-optimize-all-constp): New function. - - * emacs-lisp/bytecomp.el (byte-compile-char-before): - Improve numeric argument case. - (byte-compile-backward-char, byte-compile-backward-word): - New functions, performing rewriting previously done in byte-opt.el. - Fix their "Fixme" item (restriction to numeric arguments). - -2007-04-11 Stefan Monnier - - * desktop.el (desktop-save, desktop-create-buffer): Replace mapcar - with dolist. - (after-init-hook): Don't quote lambda. - (desktop-first-buffer): Don't wrap it in eval-when-compile. - (desktop-internal-v2s): Remove unused var `el'. - (desktop-buffer-major-mode, desktop-buffer-locals): Move out of - desktop-restore-file-buffer. - (desktop-buffer-ok-count, desktop-buffer-fail-count): Move out of - desktop-create-buffer. - -2007-04-10 Chong Yidong - - * woman.el (woman-decode-buffer): Postpone macro-set check... - (woman-decode-region): ...to here. - -2007-04-10 Thien-Thi Nguyen - - * startup.el (tty-handle-args): Use %S to log ARGS. - -2007-04-10 Glenn Morris - - * dframe.el (dframe-frame-mode): Do not set auto-show-mode, since - it is obsolete and has no effect. - - * dos-w32.el (default-buffer-file-type): Add defvar to quieten - byte-compiler. - - * progmodes/cperl-mode.el (cperl-mode): Remove unnecessary call to - obsolete function make-local-hook. - - * progmodes/dcl-mode.el (top-level): Move (require 'tempo) to - start to quieten byte-compiler. - -2007-04-10 Markus Triska - - * emacs-lisp/byte-opt.el (byte-optimize-char-before): Remove (move - to bytecomp.el as byte-compile-char-before). - * emacs-lisp/bytecomp.el (byte-compile-char-before): - New function (modified replacement for byte-optimize-char-before in - byte-opt.el). - -2007-04-09 Alan Mackenzie - - * startup.el (inhibit-splash-screen): Emphatically state that it - can't be set in site-start.el. - -2007-04-09 Masatake YAMATO - - * progmodes/cc-subword.el (c-capitalize-subword): More closely - mimic the behavior of `capitalize-word'. Do not move point with a - negative argument. Based on tiny change by Paul Curry. - -2007-04-09 Paul Curry (tiny change) - - * progmodes/cc-subword.el (c-downcase-subword, c-upcase-subword): - Don't move point if ARG is negative. - -2007-04-09 Alan Mackenzie - - Changes to make `narrow-to-defun' and `mark-defun' work properly - in CC Mode: - - * progmodes/cc-defs.el (c-beginning-of-defun-1): - * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun): - Bind beginning/end-of-defun-function to nil around calls to - beginning/end-of-defun. - - * progmodes/cc-langs.el (beginning-of-defun-function) - (end-of-defun-function): New c-lang-setvar's. - - * progmodes/cc-awk.el (c-awk-beginning-of-defun): Add "(or arg - (setq arg 1))" to enable non-interactive call. - -2007-04-09 Eli Zaretskii - - * simple.el (set-mark-command): Doc fix. - -2007-04-09 Nick Roberts - - * progmodes/gud.el (gdb): Restore existing session if user - tries to start a second one in graphical mode. - -2007-04-08 Martin Rudalics - - * cus-start.el : Add choices. - -2007-04-08 Johan Bockg,Ae(Brd - - * term/xterm.el (terminal-init-xterm): Fix key definitions. - Add binding for C-M-SPC. - -2007-04-08 Richard Stallman - - * pcomplete.el (pcomplete-read-event): One single definition, - and not a defsubst. - -2007-04-08 Chong Yidong - - * progmodes/cc-cmds.el (c-end-of-defun): Tidy up, to eliminate - byte-compiler warning "value unused". - -2007-04-08 Andreas Schwab - - * term/xterm.el (terminal-init-xterm): Add bindings for keypad keys. - -2007-04-07 Glenn Morris - - * calendar/calendar.el (diary-font-lock-keywords, diary-live-p): - Autoload these functions. - (diary-date-forms): Add a custom :set form. - - * calendar/diary-lib.el (diary-set-maybe-redraw): Move definition - before first use. - (diary-font-lock-keywords): New function with old code for - initialization of variable of same name. - -2007-04-07 David Hansen (tiny change) - - * progmodes/cc-cmds.el (c-electric-paren): Fix space-before-funcall - clean-up: only insert space when on identifier, etc. - -2007-04-07 Chong Yidong - - * progmodes/grep.el (grep-find-use-xargs): Rewrite docstring. - - * net/tls.el (open-tls-stream): Properly handle case where there - is no associated buffer. - -2007-04-07 Glenn Morris - - * ffap.el (ffap-file-at-point): Lower the priority of the - ffap-ftp-sans-slash-regexp check. - -2007-04-06 Alan Mackenzie - - Fix fontification of labels, and other things with ":". - - * progmodes/cc-engine.el (c-forward-label): The function now - returns 'goto-target, 'qt-2kwds-colon, 'qt-1kwd-colon, as well as - the former t. - - * progmodes/cc-fonts.el (c-font-lock-declarations): Interpret the - new return code from c-forward-label, fontifying tokens properly. - Add some general comments throughout the file. - -2007-04-06 Chong Yidong - - * textmodes/flyspell.el (flyspell-duplicate, flyspell-incorrect): - Revert 2006-01-27 change. - - * diff-mode.el (diff-mode): Revert 2007-03-04 change. - - * menu-bar.el (menu-bar-tools-menu): Revert 2003-07-25 change. - - * desktop.el (desktop-create-buffer, desktop-save): - Revert 2004-11-12 change for lack of copyright papers. - - * dired-x.el (dired-guess-shell-case-fold-search): Delete var. - (dired-guess-default): Respect case. - - * isearch.el (isearch-forward): Revert 1998-08-26 doc change. - - * emacs-lisp/byte-opt.el (byte-optimize-pure-func): Remove function; - was originally checked in as byte-optimize-concat on 1997-11-02. - - * mail/sendmail.el (mail-text, mail-mode): Revert extant pieces of - 1995-05-19 doc changes. - -2007-04-06 Kim F. Storm - - * loadhist.el (read-feature): Reimplement. New optional arg LOADED-P. - (unload-feature): Update interactive spec accordingly. - - * progmodes/grep.el (grep-program): Remove commentary about zgrep. - -2007-04-06 John Paul Wallington - - * subr.el (with-case-table): Use `make-symbol' to avoid variable - capture. Restore the table in the same buffer. - - * font-lock.el (lisp-font-lock-keywords-2): Add `with-case-table'. - -2007-04-05 Chong Yidong - - * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): - Print entire form. - -2007-04-05 Nick Roberts - - * progmodes/gdb-ui.el (breakpoint-disabled): Tweak face (again) - for low-color displays. - -2007-04-05 Glenn Morris - - * play/5x5.el, play/animate.el, play/dissociate.el, play/doctor.el, - * play/gomoku.el, play/landmark.el, play/tetris.el, play/zone.el: - Seed random number generator on loading. - - * emacs-lisp/authors.el (top-level): Provide self. - - * play/animate.el (top-level): Provide self. - -2007-04-04 Alan Mackenzie - - * progmodes/cc-vars.el (c-special-indent-hook): Amend doc-string - to mention c-syntactic-indentation. - -2007-04-04 Chong Yidong - - * subr.el (with-case-table): New macro. - - * international/mule.el (ascii-case-table): New var. - - * mail/smtpmail.el (smtpmail-via-smtp): Use ascii-case-table when - downcasing. - -2007-04-03 Nick Roberts - - * progmodes/gud.el (gud-minor-mode-map): Simplify. - - * t-mouse.el (t-mouse-make-event-element): Don't use the left edge - of the window if we're outside it e.g menu-bar. - - * xt-mouse.el (xterm-mouse-event): Don't use the left edge of the - window if we're outside it e.g menu-bar. - -2007-04-03 Eli Zaretskii - - * mail/rmail.el (rmail-convert-to-babyl-format): Don't try to - decode base-64 encoded body if its content-type is something other - than text/* or message/*. - -2007-04-03 Juanma Barranquero - - * simple.el (activate-mark-hook): Fix typo in docstring. - -2007-04-03 Nick Roberts - - * tmm.el (tmm-c-prompt): Initialize. - (tmm-menubar): Deal with extended menu-items at top level. - (tmm-get-keybind): Handle bindings redefined/undefined locally. - (tmm-prompt): Handle visibility of top level menu-items. - - * progmodes/gud.el (gud-menu-map): Simplify. - (gud-minor-mode-map): Add tool-bar like bindings to the text mode - menubar. - -2007-04-02 Chong Yidong - - * mail/smtpmail.el (smtpmail-via-smtp): Revert last change. - - * comint.el (comint-send-input): Widen the buffer first. - - * info.el (Info-fontify-maximum-menu-size): Revert to 100000. - -2007-04-01 Stefan Monnier - - * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Only obey - emacs-lisp-docstring-fill-column in emacs-lisp-mode. - - * newcomment.el (comment-search-forward): Discard comment starters - before point. - -2007-04-01 Guanpeng Xu - - * mouse.el (mouse-set-secondary): Update mouse-secondary-overlay. - -2007-04-01 Chong Yidong - - * mail/smtpmail.el (smtpmail-via-smtp): Use standard case table - when downcasing. - - * button.el (previous-button): Rewrite to account for adjacent buttons. - -2007-04-01 J.D. Smith - - * progmodes/idlwave.el (idlwave-auto-fill): - Revert paragraph-separate change. - - * progmodes/idlw-shell.el (idlwave-shell-break-in): - Simplify module calc. - (idlwave-shell-set-bp-in-module): Compute module. - -2007-03-31 Glenn Morris - - * emacs-lisp/timer.el (run-at-time): Doc fix. - - * emacs-lisp/warnings.el (display-warning): If we create the - buffer displaying the warning, disable undo there. - -2007-03-31 Michael Albinus - - * net/tramp.el (tramp-register-file-name-handler) - (tramp-register-completion-file-name-handler): New defsubst, - derived from `tramp-register-file-name-handlers'. The split is - necessary because Tramp's file name handlers must be registered at - different startup places. - -2007-03-31 Chong Yidong - - * progmodes/hideshow.el (turn-off-hideshow): New function. - (hs-minor-mode): Use it instead of a lambda expression in - change-major-mode-hook. - -2007-03-31 David Kastrup - - * woman.el (woman-Cyg-to-Win): Don't convert cons cells - corresponding to MANPATH_MAP entries. - (woman-man.conf-path, woman-parse-man.conf): Doc fix. - (woman-parse-man.conf): Use more discriminating man.conf name. - (woman-parse-man.conf): Parse MANPATH_MAP entries. - (woman-manpath): Doc fix and type fix. - (woman-cached-data): Check for MANPATH_MAP entries. - (woman-expand-directory-path): Treat MANPATH_MAP entries. - -2007-03-31 Stuart Herring - - * emacs-lisp/sregex.el (sregexq): Doc fix. - -2007-03-31 Markus Triska - - * progmodes/flymake.el (flymake-err-line-patterns): Doc fix. - -2007-03-30 Reiner Steib - - * info.el (info-tool-bar-map): Use "exit" for Info-exit. - Move to the right. - -2007-03-30 Alan Mackenzie - - * progmodes/cc-cmds.el (c-forward-to-nth-EOF-}): Fix EOB bug. - -2007-03-30 Thien-Thi Nguyen - - * emacs-lisp/ewoc.el (ewoc--insert-new-node): Take additional arg DLL. - Use it, passed in explicitly, instead of from the dynamic binding. - (ewoc-create, ewoc-enter-before): Update to use new call sequence. - -2007-03-30 Juanma Barranquero - - * simple.el (blink-matching-open): When in minibuffer, don't - search for a match inside the prompt. - -2007-03-30 Nick Roberts - - * tmm.el (tmm-menubar): Select the right menu item with the mouse. - (tmm-prompt): Don't make the mouse user select the first menu - item twice. - -2007-03-30 Chong Yidong - - * eshell/esh-proc.el (eshell/kill): Tweak regexp to recognize - SIGUSR1 and SIGUSR2. - -2007-03-29 Kim F. Storm - - * ido.el (ido-read-internal): When reading file or dir, only override - minibuffer-local-filename-completion-map, otherwise only override - minibuffer-local-completion-map. - -2007-03-29 Glenn Morris - - * complete.el (partial-completion-mode): Set PC-do-completion-end - to nil after use. - (PC-lisp-complete-symbol): Create and use a marker at `end', - rather than using point-marker. - -2007-03-28 Chong Yidong - - * simple.el (next-error-highlight): Doc fix. - (compose-mail): Revert 2007-03-19 change. - -2007-03-28 Richard Stallman - - * emacs-lisp/edebug.el (edebug-display): Don't go to - edebug-outside-buffer if it is dead. - -2007-03-28 Juanma Barranquero - - * view.el (view-mode): Fix typos in docstring. - -2007-03-28 Stephen Berman - - * recentf.el (recentf-save-file): Add a custom :set function. - -2007-03-28 Glenn Morris - - * complete.el (PC-do-completion-end): New variable. - (partial-completion-mode) : - Use PC-do-completion-end in the non-minibuffer case to replace the - correct amount of text. - (PC-do-completion): Set PC-do-completion-end for c-c-s-f. - (PC-lisp-complete-symbol): Give marker the after-insertion type, - to deal with improvements inserted after point. - -2007-03-28 Stefan Monnier - - * button.el (make-text-button): Add explicit `button' property. - (default-button): Don't put a `button' property on it. - - * progmodes/python.el (python-mode): Skip comments when parsing. - - * vc-arch.el (vc-with-current-file-buffer): New macro. - (vc-arch-file-source-p): Use it to avoid infloop. - -2007-03-28 David Hansen (tiny change) - - * emacs-lisp/lisp.el (lisp-complete-symbol): - Fix call to get-buffer-window to find windows in other frames. - -2007-03-28 Stefan Monnier - - * comint.el (comint-proc-query, comint-dynamic-list-completions): - Fix calls to get-buffer-window to find windows in other frames. - Reported by David Hansen . - -2007-03-27 Kevin Ryde - - * info.el (Info-display-images-node): On a text-only terminal, - show the "text" or "alt" parts of the image blobs. - -2007-03-27 Glenn Morris - - * complete.el (PC-do-completion): Compute completion-base-size in - the non-filename case, rather than setting to nil. - (PC-lisp-complete-end): New variable. - (PC-lisp-complete-symbol): Use PC-lisp-complete-end to store the - original end in a series of consecutive invocations. - - * calendar/calendar.el (calendar-mode-hook): Declare it. - - * calendar/diary-lib.el (diary-live-p): Do not check for - diary-selective-display. - -2007-03-26 Stefan Monnier - - * replace.el (occur-next-error): *Occur* might not be displayed in the - selected frame. Reported by David Hansen . - -2007-03-26 Richard Stallman - - * textmodes/flyspell.el (flyspell-large-region): - Use ispell-call-process-region. - -2007-03-26 Johan Bockg,Ae(Brd - - * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble): - Use prin1 instead of princ. - -2007-03-25 Chong Yidong - - * faces.el (face-set-after-frame-default): Revert 2007-03-10 change. - Merge in X resources before global face. - - * progmodes/compile.el (compilation-start): Save compilation-directory - rather than default-directory as local var. - (compilation-directory): Mark as safe local var. - - * files.el: Don't mark default-directory as a safe local var. - -2007-03-25 Alan Mackenzie - - * progmodes/cc-mode.el (c-before-change): Fix BOB bug. - * progmodes/cc-engine.el: Fix typo. - -2007-03-25 Juri Linkov - - * compare-w.el (compare-windows): Rename customization group - `compare-w' to `compare-windows'. - (compare-windows-whitespace, compare-ignore-whitespace) - (compare-ignore-case, compare-windows-sync) - (compare-windows-sync-string-size, compare-windows-recenter) - (compare-windows-highlight, compare-windows): Change group name in - the `group' tag from `compare-w' to `compare-windows'. - (compare-windows-sync): Add option `nil' for no sync. Doc fix. - -2007-03-24 Markus Triska - - * expand.el: Change example to always enable abbrev-mode, - and remove redundant `function'. - (expand-abbrev-hook): Add autoload cookie. - -2007-03-24 Ryan Yeske - - * emacs-lisp/testcover.el (testcover-start, testcover-end) - (testcover-mark-all, testcover-unmark-all): Add prompts to - interactive specs. - -2007-03-24 Jason Rumney - - * autorevert.el (find-file-hook, auto-revert-tail-mode): - Use file size in bytes for auto-revert-tail-pos not characters. - -2007-03-24 Thien-Thi Nguyen - - * vc-rcs.el (vc-rcs-annotate-command): - Set text property :vc-annotate-prefix on the annotation text. - (vc-rcs-annotate-time): Instead of searching for ": ", - search for end of text propertized with :vc-annotate-prefix. - -2007-03-24 Martin Rudalics - - * whitespace.el (top level): Remove calls putting - permanent-local nil property since these are no-ops. - - * man.el (Man-support-local-filenames): Assure that - default-directory exists when doing call-process. - -2007-03-23 David Vazquez (tiny change) - - * progmodes/m4-mode.el (m4-m4-buffer, m4-m4-region): - Fix omission bug: Use m4-program-options to construct shell command. - -2007-03-23 David Kastrup - - * progmodes/cc-mode.el (c-make-emacs-variables-local): - Use `mapcar' rather than `mapcan' to silence compiler warning. - -2007-03-22 Ralf Angeli - - * textmodes/reftex.el, textmodes/reftex-vars.el, - * textmodes/reftex-toc.el, textmodes/reftex-sel.el, - * textmodes/reftex-ref.el, textmodes/reftex-parse.el, - * textmodes/reftex-index.el, textmodes/reftex-global.el, - * textmodes/reftex-dcr.el, textmodes/reftex-cite.el, - * textmodes/reftex-auc.el: Add maintainer address. - -2007-03-22 Carsten Dominik - - * textmodes/org.el (org-agenda-mode, org-table-edit-formulas): - Make sure that `global-font-lock-mode' does not turn on font-lock - in these buffers. - -2007-03-21 Kim F. Storm - - * xt-mouse.el (xt-mouse-epoch): New variable. - (xterm-mouse-event): Use float-time. - -2007-03-21 Nick Roberts - - * xt-mouse.el (xterm-mouse-event): Compute a timestamp using - current-time. - -2007-03-21 Stefan Monnier - - * complete.el (read-file-name-internal): Don't add the final > if the - completion is not finished (re-application of this patch, which was - accidentally undone by Eli). - -2007-03-21 Chong Yidong - - * emulation/viper.el (viper-non-hook-settings): Handle mouse - clicks in describe-key and describe-key-briefly advice a little better. - -2007-03-21 Juanma Barranquero - - * server.el (server-process-filter): Cancel any pending isearch. - -2007-03-21 Ulf Jasper - - * calendar/icalendar.el (icalendar-version): Increase to 0.15. - (icalendar--get-unfolded-buffer): Define actual arguments rather - than just using &rest. Check replace-in-string is fbound. - (icalendar-import-buffer): Doc fix. - (icalendar--convert-ical-to-diary): Set diary-file. - Check diary-file before inserting final newline. - (icalendar--add-diary-entry): Return diary-file. - -2007-03-21 Glenn Morris - - * calendar/calendar.el (diary-set-maybe-redraw): Autoload it. - (diary-display-hook): Add custom :set function. - - * calendar/diary-lib.el (diary-header-line-flag): Doc fix. - Add custom :set function. - (diary-header-line-format): Doc fix. - (diary-set-maybe-redraw): New function. - (number-of-diary-entries): Change :set to use diary-set-maybe-redraw. - (diary-list-entries): Always run diary-mode. - -2007-03-20 Kenichi Handa - - * international/quail.el (quail-setup-completion-buf): Make the - completion buffer read-only. - (quail-completion): Adjusted for the above change. Leave the - modified flag nil. - -2007-03-20 David Kastrup - - * files.el (magic-mode-alist): Require literal "%!PS" string for - magic postscript file detection. - -2007-03-20 Richard Stallman - - * textmodes/ispell.el (ispell-call-process): New function. - Defends against bad `default-directory.' - (ispell-check-version, ispell-find-aspell-dictionaries) - (ispell-get-aspell-config-value, lookup-words): Call it. - (ispell-call-process-region): New function. - (ispell-send-string): Call it. - -2007-03-20 Andreas Schwab - - * Makefile.in (custom-deps): Depend on $(lisp)/subdirs.el. - (finder-data): Likewise. - (autoloads): Likewise. - -2007-03-20 Martin Rudalics - - * files.el (basic-save-buffer): Do not set visited filename when - the corresponding directory does not exist or the specified - filename is that of an existing directory. - -2007-03-20 Glenn Morris - - * calendar/diary-lib.el (diary-live-p): New function. - (number-of-diary-entries): Add a :set function to redisplay diary - when necessary. - -2007-03-19 Nick Roberts - - * t-mouse.el (t-mouse-make-event-element): Use timestamp output - from client program, mev, to compute mouse event. - -2007-03-19 Chong Yidong - - * faces.el (momentary): Face removed; unused due to reversion of - 2007-01-04 changes by Kevin Rodgers. - - * mouse.el (mouse-drag-track): Remove spurious input-pending-p test. - Suggested by Johan Bockg,Ae(Brd. - -2007-03-19 Martin Rudalics - - * font-lock.el (lisp-font-lock-keywords-1): - Highlight define-globalized-minor-mode as a keyword. - -2007-03-19 Kim F. Storm - - * calc/calc-forms.el (math-std-daylight-savings) - (math-std-daylight-savings-old): Doc fix. - -2007-03-19 Juanma Barranquero - - * progmodes/python.el (python-default-template): Doc fix. - (python-buffer): Fix typo in docstring. - - * isearchb.el (isearchb-follow-char): - * subr.el (def-edebug-spec): Fix typo in docstring. - -2007-03-19 Richard Stallman - - * files.el (default-directory): Mark safe. - (basic-save-buffer-2): Put proper dir name in error message. - - * simple.el (compose-mail): Run switch-function after - setting up the mail buffer. - - * startup.el (inhibit-splash-screen, initial-major-mode): Doc fixes. - -2007-03-18 Jay Belanger - - * calc/calc-forms.el (math-parse-date): Fix a regular expression. - (math-std-daylight-savings-new): Rename from - `math-std-daylight-savings'. - (math-std-daylight-savings-old): Rename from old value of - `math-std-daylight-savings'. - (math-std-daylight-savings): Use `math-std-daylight-savings-new' or - `math-std-daylight-savings-old' depending on the year. - -2007-03-18 Detlev Zundel - - * emacs-lisp/re-builder.el (reb-update-overlays): Do not mark - zero-width regexps as invalid but rather at least count them correctly. - -2007-03-18 Thien-Thi Nguyen - - * net/tls.el (open-tls-stream): In handshake-waiting loop, - don't wait more if there is output available to process. - -2007-03-18 Nick Roberts - - * progmodes/compile.el (compilation-find-file): Revert change - from 2006-07-18 to allow completion of directory names. - Reported by John Carter . - -2007-03-18 Kim F. Storm - - * subr.el (when, unless): Doc fix. - -2007-03-17 Thien-Thi Nguyen - - * net/tls.el (tls-program): Doc fix. - -2007-03-17 Denis Bueno (tiny change) - - * autorevert.el (auto-revert-tail-handler): - Call after-revert-hook. - -2007-03-17 Ryan Yeske - - * simple.el (switch-to-completions): No error if search for \n\n fails. - -2007-03-17 Chong Yidong - - * simple.el (line-move-1): - Respect `inhibit-line-move-field-capture' property. - -2007-03-13 Chong Yidong - - * comint.el (comint-arguments): Mark backslash-escaped chars. - (comint-delim-arg): Don't treat them as delimiters. - -2007-03-12 Kim F. Storm - * ido.el (ido-init-completion-maps): Remap delete-backward-char. - -2007-03-12 Lawrence Mitchell (tiny change) - - * tempo.el (tempo-insert): Deal with 'r> if it appears - specified with a prompt argument. - -2007-03-12 Carsten Dominik - - * textmodes/org.el (org-set-font-lock-defaults): - Handle narrow table columns correctly. - -2007-03-12 Mark A. Hershberger - - * xml.el (xml-parse-tag, xml-parse-string, xml-parse-attlist) - (xml-parse-dtd, xml-parse-elem-type, xml-substitute-special): - Return to use of the -no-properties variants. There was - consensus on emacs-devel that the speed of these variants was - prefered since we are usually parsing files (from the internet - or on disk) instead of XML created in Emacs. - - * eshell/esh-mode.el (eshell-handle-ansi-color): New function. - Add customize option. - -2007-03-12 Glenn Morris - - * calc/calc-forms.el (math-std-daylight-savings): Switch to new - North American rule. Replace "daylight savings" with "daylight - saving" in doc. - - * calendar/cal-china.el, cal-dst.el, calendar.el, diary-lib.el: - * calendar/lunar.el, solar.el: Replace "daylight savings" with - "daylight saving" in text. - - * woman.el (woman-change-fonts): Tweak previous change by using - woman-request-regexp rather than "^\\.". - - * startup.el (command-line-1): Make insertion of - initial-scratch-message not depend on scratch being selected. - -2007-03-11 Juri Linkov - - * replace.el (match): Use yellow background on light-bg terminals. - -2007-03-11 Richard Stallman - - * emacs-lisp/bytecomp.el (byte-compile-warning-prefix): - Correctly compute line number. - -2007-03-11 Guanpeng Xu - - * type-break.el (type-break-get-previous-count): - Repeat previous change here. - -2007-03-11 Dan Nicolaescu - - * progmodes/grep.el (grep-find-ignored-directories): - Add .git and .bzr to list. - -2007-03-11 Andreas Schwab - - * diff-mode.el (diff-apply-hunk): Use proper format string for error. - -2007-03-11 Stefan Monnier - - * mail/emacsbug.el (report-emacs-bug): Don't hard code the "X" name. - -2007-03-10 Chong Yidong - - * faces.el (face-set-after-frame-default): Recalculate face - customizations after applying X resources. - -2007-03-10 Ryan Yeske - - * net/rcirc.el (rcirc-timeout-seconds): New variable. - (rcirc-keepalive-seconds): Remove variable. - (rcirc-server-name, rcirc-timeout-timer, rcirc-connecting) - (rcirc-process, rcirc-user-disconnect): New variables. - (rcirc-connect): Initalize new variables. - (rcirc-keepalive): Don't send keepalive pings before connection - is completed. - (rcirc-sentinel): Do mark all channels with activity when - connection is dropped. Run hook with process buffer local. - (rcirc-reschedule-timeout, rcirc-delete-process): New functions. - (rcirc-buffer-process): Return value of rcirc-process if - rcirc-server-buffer is nil. - (rcirc-server-name): Return the reported server name. - (rcirc-update-prompt): Simplify computation of the server name. - (rcirc-format-response-string): Likewise. - (rcirc-handler-001): Mark server as connected, record the reported - server name, and schedule a timeout. - (rcirc-track-nick): Add a spec for the tty class. - (rcirc-user-non-nick): Remove function. - (rcirc-nick-prefix-chars): Add variable. - (rcirc-user-nick): Use above variable. - -2007-03-10 Johan Bockg,Ae(Brd - - * icomplete.el (icomplete-tidy, icomplete-exhibit): - Bind deactivate-mark to nil. - -2007-03-10 Martin Rudalics - - * complete.el (PC-do-completion): Bind dirlength to nil to avoid - that buffer contents get erased during completion. - -2007-03-10 Glenn Morris - - * woman.el (woman-change-fonts): Add a hack to deal with - font-escape followed by "." at start of a line. - (woman2-IP): Add a hack to deal with consecutive requests. - (woman2-tagged-paragraph): Extend existing hack to handle "sp". - -2007-03-10 Alan Mackenzie - - * progmodes/cc-mode.el (c-before-change): Wrap in save-match-data. - -2007-03-09 Richard Stallman - - * abbrev.el (abbrev): Add `provide'. - -2007-03-09 Thien-Thi Nguyen - - * net/ange-ftp.el (ange-ftp-try-passive-mode): Doc fix. - -2007-03-09 Martin Rudalics - - * complete.el (PC-try-completion): New function. - (PC-do-completion, read-file-name-internal): Use it instead of - try-completion. - -2007-03-08 Alan Mackenzie - - Remove stale tokens from `c-found-types' cache. - - * progmodes/cc-mode.el (c-unfind-enclosing-token) - (c-unfind-coalesced-tokens, c-before-change): New functions. - (c-maybe-stale-found-type): New variable. - - * progmodes/cc-engine.el (c-partial-ws-p, c-unfind-type) - (c-trim-found-types): New functions. - -2007-03-08 Stefan Monnier - - * smerge-mode.el (smerge-remove-props): Don't mark the buffer modified. - (debug-ignored-errors): Add entry from smerge-match-conflict. - -2007-03-08 J.D. Smith - - * progmodes/idlw-help.el (idlwave-do-context-help1): Don't visit - special help topics for keywords. - (idlwave-help-assistant-command): Include ".exe" for ms-dos - etc. Assistant command. - -2007-03-08 Chong Yidong - - * replace.el (occur-engine): Move buffer-undo-list binding... - (occur-1): ...to here. - - * complete.el (PC-bindings): Rebind M-TAB in read-expression-map. - - * simple.el (minibuffer-completing-symbol): New var. - (eval-expression): Use it. - (completion-setup-function): Don't bind completion-base-size when - completing a symbol in the minibuffer. - -2007-03-08 Nick Roberts - - * progmodes/gud.el (gdb): Pop up current GUD buffer if user - tries to start a second session in graphical mode. - -2007-03-07 Miles Bader - - * international/isearch-x.el - (isearch-process-search-multibyte-characters): - Strip text-properties from PROMPT to avoid an error from read-string. - -2007-03-07 Kim F. Storm - - * complete.el (PC-bindings): Remap lisp-complete-symbol to - PC-lisp-complete-symbol instead of binding M-TAB in global-map. - -2007-03-07 Micha,Ak(Bl Cadilhac - - * complete.el (PC-do-completion): Delete duplicates in the list of - possible completions. - -2007-03-07 Glenn Morris - - * ses.el (ses-mode): Doc fix. - -2007-03-06 Kim F. Storm - - * isearch.el (isearch-message-prefix): Undo 2007-03-01 change. - -2007-03-06 Kenichi Handa - - * term/x-win.el (x-select-utf8-or-ctext): Improve the strategy. - -2007-03-06 Stefan Monnier - - * simple.el (completion-setup-function): Improve last fix so it doesn't - set it to a relative directory name either. - -2007-03-05 Vinicius Jose Latorre - - * ps-print.el: Replace some (defvar VAR) by (defvar VAR nil). - -2007-03-05 Richard Stallman - - * emacs-lisp/re-builder.el (reb-re-syntax): Fix custom type. - - * files.el (find-file-noselect): No error if file no longer exists. - Display a message and avoid other questions. - -2007-03-05 Stefan Monnier - - * pcomplete.el (pcomplete-show-completions): Improve last change, so - as not to use an invisible window and to create a window if none exist. - - * progmodes/python.el (python-send-command): Restart proc if necessary. - (python-proc): Simplify. - -2007-03-05 David Hansen (tiny change) - - * pcomplete.el (pcomplete-show-completions): Search all frames for - completions buffer. - -2007-03-05 Chong Yidong - - * cus-edit.el (customize-save-variable): Clear customized-value - property (saved values are now put in theme-value property). - (customize-set-variable): Doc fix. - - * complete.el (PC-do-completion): If completion-ignore-case is - non-nil, replace field with completion string before exiting. - -2007-03-05 Michael Albinus - - * net/tramp.el (tramp-make-temp-file): New parameter FILENAME. - Append its extension to the resulting temporary file name. - (tramp-handle-file-local-copy, tramp-handle-write-region): Apply it. - - * net/tramp-smb.el (tramp-smb-handle-file-local-copy) - (tramp-smb-handle-write-region): Apply it. - -2007-03-05 Alin C. Soare (tiny change) - - * emacs-lisp/lisp-mode.el (calculate-lisp-indent): - Redo previous change. - -2007-03-04 Kevin Rodgers (tiny change) - - * diff-mode.el (diff-mode): Doc fix. - -2007-03-05 Kenichi Handa - - * international/characters.el: Set category `l' (latin) - for more characters. - -2007-03-04 Kim F. Storm - - * emacs-lisp/authors.el (authors-aliases): Add alias. - -2007-03-04 Glenn Morris - - * progmodes/hideshow.el (hs-minor-mode): Turn mode off and show - all when switching major mode. - (hs-minor-mode, hs-c-start-regexp, hs-block-start-regexp) - (hs-block-start-mdata-select, hs-block-end-regexp) - (hs-forward-sexp-func, hs-adjust-block-beginning): - Do not make these variables permanent-local. - -2007-03-04 Richard Stallman - - * progmodes/cperl-mode.el (cperl-mode): - Modify cperl-compilation-error-regexp-alist by appending. - - * emacs-lisp/edebug.el (edebug-kill-buffer): New function. - (edebug-mode): Add the hook. - (edebug-recursive-edit): Remove the hook on exiting. - - * type-break.el (type-break-get-previous-time): - Handle end-of-file errors specially - so they don't get reported wrong in .emacs. - - * startup.el (fancy-splash-text): Clarify text. - - * simple.el (beginning-of-buffer, end-of-buffer): - Avoid treating plain C-u like numeric arg. - - * simple.el (completion-setup-function): Don't set - default-directory to nil. - - * shell.el (shell-dirstack-query): Doc fix. - - * mouse.el (mouse-drag-mode-line-1, mouse-drag-vertical-line): - Don't select the window -- pass it to primitives instead. - - * faces.el (minibuffer-prompt): Use medium blue by default. - -2007-03-04 David Kastrup - - * jit-lock.el (jit-lock-stealth-time): Change default to nil. - Preserve 16 as default value for "seconds" when customizing. - -2007-03-04 Carsten Dominik - - * textmodes/org.el (org-self-insert-command) - (orgtbl-self-insert-command, org-delete-char) - (org-delete-backward-char): Set the `flyspell-delayed' property. - -2007-03-03 Chong Yidong - - * international/mule.el (find-auto-coding): Don't search for - line-ending characters past the end of the tail. - -2007-03-03 Christopher Allan Webber (tiny change) - - * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1): - Jump to the line where new score has been uploaded. - - * play/tetris.el (tetris-move-bottom, tetris-move-left) - (tetris-move-right, tetris-rotate-prev, tetris-rotate-next): - Do nothing when the game is paused. - -2007-03-03 Carsten Dominik - - * textmodes/org.el (org-set-tags): Prevent slipping of point - during completion. - -2007-03-01 Lennart Borgman - - * isearch.el (isearch-message-prefix): - Use minibuffer-prompt-properties. - -2007-03-01 Vinicius Jose Latorre - - * ps-print.el: Replace (defvar VAR nil) by (defvar VAR). - (ps-setup): Print which Emacsen is running ps-print package. - -2007-03-01 Stuart Herring - - * files.el (set-auto-mode-0): Use `indirect-function'. - (hack-one-local-variable): Don't reapply current major mode. - -2007-03-01 Stefan Monnier - - * progmodes/python.el (python-quote-syntax): Don't bother with - syntax-ppss-context. - (python-fill-paragraph): Make sure that fenced-string delimiters that - stand on their own line stay there. - -2007-03-01 Lennart Borgman - - * replace.el (perform-replace): Propertize message. - -2007-03-01 Carsten Dominik - - * textmodes/org.el (org-prepare-agenda-buffers): Also check for - invisible heading. - -2007-02-28 Chong Yidong - - * net/tramp.el (tramp-file-name-handler): Revert last change. - -2007-02-28 Nick Roberts - - * progmodes/gdb-ui.el (gdb-mouse-until, gdb-mouse-jump): - Correct doc strings. - -2007-02-28 Chong Yidong - - * replace.el (perform-replace): Undo forward-char immediately if - non-adjacent search fails. - -2007-02-28 Stefan Monnier - - * version.el (emacs-major-version, emacs-minor-version): - string-to-int -> string-to-number. - -2007-02-28 Juanma Barranquero - - * help.el (where-is): Fail gracefully when not passed a command. - -2007-02-28 Stuart Herring - - * find-lisp.el (find-lisp-default-directory-predicate): - Fix bug: Do symlink check on expanded filename. - -2007-02-28 Carsten Dominik - - * textmodes/org.el (org-set-tags, org-table-get-field): Avoid case - changes during replacement. - (org-agenda-mode-map): Add default binding for `org-agenda-archive'. - -2007-02-28 Lars Hansen - - * desktop.el: Delete header line listing me as maintainer. - -2007-02-28 Glenn Morris - - * tutorial.el (tutorial--describe-nonstandard-key): Tweak text in - the menus case. - -2007-02-28 Chong Yidong - - * net/tramp.el (tramp-file-name-handler): Inhibit modification - hooks to avoid confusion when combining after-change calls. - -2007-02-27 Ken Manheimer - - * allout.el (allout-encrypt-string): Remove inhibition of gpg-agent, - now that pgg-gpg-process-region correctly honors passed-in passphrase. - (allout-distinctive-bullets-string): Add info about bullet conventions. - (allout-mode): Add info about distinctive vs plain bullets. - -2007-02-27 Carsten Dominik - - * textmodes/org.el (org-archive-subtree): Quote variable name. - (org-agenda-get-todos): Make sure skip properties are checked correctly. - -2007-02-26 Nick Roberts - - * progmodes/gud.el (gud-bashdb-history, gud-bashdb-marker-filter) - (gud-bashdb-command-name, bashdb): Remove. - (gud, gud-menu-map): Remove references to bash/bashdb. - -2007-02-26 Andrey Zhdanov (tiny change) - - * progmodes/gud.el (gud-pdb-marker-regexp): Add optional - keyword for Python 2.5. - -2007-02-26 Romain Francoise - - * net/net-utils.el (whois-server-tld): Update server for .org. - (whois-server-list): Add whois.publicinterestregistry.net. - (whois-guess-server): Fix formatting in docstring. - -2007-02-26 Kim F. Storm - - * mouse.el (mouse-show-mark): Run hooks and perform command - remapping for mouse-region-delete-keys. - -2007-02-26 Johan Bockg,Ae(Brd - - * font-core.el (font-lock-mode): Doc fix. - -2007-02-25 Kim F. Storm - - * ido.el (ido-buffer-internal): Set this-command to fallback command. - Add selected buffer to buffer-name-history. - (ido-file-internal): Set this-command to fallback command. - Add file names to file-name-history. - - * emacs-lisp/map-ynp.el (map-y-or-n-p): - Apply minibuffer-prompt-properties. - -2007-02-25 Andreas Schwab - - * files.el (hack-one-local-variable-eval-safep): Correct handling - of edebug-form-spec property value. Reported by Johan Bockg,Ae(Brd. - -2007-02-25 Carsten Dominik - - * textmodes/org.el (org-table-overlay-coordinates) - (org-table-toggle-coordinate-overlays): New functions. - (org-table-overlay-coordinates, org-table-coordinate-overlays): - New variables. - (org-startup-with-deadline-check): Remove option. - (org-mode): Remove deadline check on startup. - (org-table-limit-column-width): Remove option. - (org-table-formula-numbers-only): Remove option. - (org-link-style, org-link-format): Remove options. - (org-select-agenda-window, org-fit-agenda-window): Remove options. - (org-export-ascii-show-new-buffer) - (org-export-html-show-new-buffer): Remove options. - (org-activate-links): Remove camel option. - (org-file-link-context-use-camel-case): Remove option. - (org-camel-regexp): Remove variable. - (org-activate-camels): Remove function. - (org-store-link): Remove Camel stuff. - (org-make-org-heading-camel): Remove function. - (org-open-at-point): Remove camel stuff. - (org-link-search): Remove camel stuff. - (org-camel-to-words): Function removed. - (org-get-agenda-file-buffer): Make sure we prepare the base - buffers, not any indirect buffers. - (org-sort-entries): Sort top-level when not on a headline, and no - active region. - (org-in-regexp): New function. - (org-search-not-self): Rename from `org-search-not-link'. - (org-open-link-marker): New variable. - (org-open-at-point): Set `org-open-link-marker'. - (org-print-icalendar-entries): Fixe bug with excluding DONE - entries from the exported list. - (org-edit-formula-lisp-indent): New command. - (orgtbl-to-texinfo, orgtbl-to-html): New functions. - (orgtbl-to-latex, orgtbl-insert-radio-table) - (orgtbl-toggle-comment, orgtbl-send-table): New functions. - (orgtbl-radio-table-templates): New option. - (org-store-link-props): - (org-remember-templates): More possibilities to insert info - into templates. - (org-remember-apply-template): Make use of the extended - template capabilities. - (org-remember-redo-template): New command. - (org-upgrade-old-links) - (org-table-modify-formulas, org-table-replace-in-formulas) - (org-table-find-dataline) - (org-table-get-vertical-vector): Remove functions. - (org-table-remove-rectangle-highlight) - (org-time-stamp-format, org-toggle-log-option) - (org-table-highlight-rectangle) - (org-table-iterate, org-table-make-reference): - (org-translate-time, org-tree-to-indirect-buffer) - (org-table-field-info, org-table-fix-formulas) - (org-table-force-dataline, org-table-get-descriptor-line) - (org-table-get-range) - (org-skip-comments, org-sort) - (org-sort-entries, org-sublist, org-table-add-rectangle-overlay) - (org-table-current-dline, org-table-current-field-formula) - (org-table-edit-backward-field) - (org-table-edit-formulas-post-command) - (org-table-edit-line-down, org-table-edit-line-up) - (org-agenda-archive) - (org-agenda-clock-cancel) - (org-agenda-clock-out, org-agenda-list-stuck-projects) - (org-agenda-open-link, org-agenda-show-new-time) - (org-agenda-skip-subtree-when-regexp-matches) - (org-agenda-tree-to-indirect-buffer, org-agenda-undo) - (org-at-regexp-p, org-auto-repeat-maybe, org-check-log-option) - (org-do-sort, org-file-image-p, org-find-overlays) - (org-find-row-type, org-get-indirect-buffer, org-get-repeat) - (org-highlight-until-next-command, org-isearch-end) - (org-match-any-p, org-next-link, org-previous-link): - (org-remove-subtree-entries-from-agenda, org-replace-escapes) - (org-rewrite-old-row-references) - (org-isearch-post-command) - (org-table-edit-move, org-table-edit-next-field) - (org-table-edit-scroll, org-table-edit-scroll-down) - (org-set-frame-title, org-show-reference) - (org-unhighlight-once, org-verify-change-for-undo): New functions. - (org-show-variable): Remove command. - (org-add-log-maybe): New arguments STATE, FINDPOS - (org-table-sort-lines): Rewrite from scratch. - (org-link-search): New argument AVOID-POS. - (org-print-icalendar-entries): Remove argument CATEGORY. - (org-run-agenda-series): Remove argument WONDOW. - (org-next-link, org-previous-link): New commands. - (org-agenda-date-format): New option. - (org-table-iterate): New command. - (org-table-modify-formulas) - (org-table-replace-in-formulas): Remove functions. - (org-table-fix-formulas): New function. - (org-table-insert-column, org-table-delete-column) - (org-table-move-column): Use `org-table-fix-formulas'. - (org-follow-gnus-link): Patch from Bastien/Leo. - (org-table-current-field-formula): New function. - (org-file-image-p): New function. - (org-agenda-show-new-time): New function. - (org-agenda-date-later): Call `org-agenda-show-new-time'. - (org-with-remote-undo): New macro. - (org-agenda-undo): New command. - (org-verify-change-for-undo): New function. - (org-time-stamp-format): New function. - (org-agenda-get-timestamps): Skip scheduled if DONE and requested - by user. - (org-match-any-p): New function. - (org-make-tags-matcher): Handle regular expressions for tag and - todo matches. - (org-read-date): Accept "+N" as input for a date relative to the - current date. - (org-remove-subtree-entries-from-agenda): New function. - (org-agenda-archive, org-agenda-kill): - Use `org-remove-subtree-entries-from-agenda'. - (org-do-sort, org-sort-entries): New functions. - (org-sort): New command. - (org-table-sort-lines): Use `org-do-sort'. - (org-fix-decoded-time): New function. - (org-table-number-regexp): Require 0x... to identify as number - in tables. - (org-startup-options): New keywords for note taking. - (org-upgrade-old-links): Remove function. - (org-get-repeat): New function. - (org-show-context): Also show siblings on current level. - (org-show-siblings): New function. - (org-isearch-end, org-isearch-post-command): New functions. - (org-show-siblings): New option. - (org-show-context): Use `org-show-siblings'. - (org-table-maybe-recalculate-line): No longer require `calc-eval' - to be bound, because user may just use elisp. - -2007-02-24 Kim F. Storm - - * emulation/cua-base.el (cua-paste): Handle x-clipboard-yank. - (cua--init-keymaps): Remap x-clipboard-yank to cua-paste. - -2007-02-24 Dan Nicolaescu - - * startup.el (command-line): Also check if the abbrev file is readable. - -2007-02-24 John Paul Wallington - - * net/tls.el (tls-certtool-program): Fix custom type. - - * mail/feedmail.el (feedmail-message-id-generator) - (feedmail-date-generator): Fix custom types. - - * mail/rmail.el (rmail-message-filter): Fix custom type. - -2007-02-24 Eli Zaretskii - - * startup.el (command-line): If simple.el cannot be found, proceed - with a warning message. - -2007-02-24 Kenichi Handa - - * international/utf-8.el (utf-8-pre-write-conversion): Handle the - case that BEG is a string. - -2007-02-24 Chris Moore - - * pgg-pgp5.el (pgg-pgp5-encrypt-region): - * pgg-pgp.el (pgg-pgp-encrypt-region): - * pgg-gpg.el (pgg-gpg-encrypt-region): - Check pgg-encrypt-for-me if no other recipients. - -2007-02-23 Eli Zaretskii - - * mail/rmailedit.el (rmail-cease-edit): Restore the Rmail toolbar. - - * textmodes/sgml-mode.el (sgml-validate): Quote the file name with - shell-quote-argument. - -2007-02-23 Andreas Seltenreich - - * comint.el (comint-read-input-ring): Use comint-input-ring-size - from the comint buffer instead of the temporary one. - -2007-02-23 David Reitter - - * cus-edit.el (custom-save-all): Canonicalize custom-file before - storing it in recentf-exclude. - -2007-02-23 Chong Yidong - - * startup.el (fancy-splash-screens): Make cursor-type buffer-local - in splash screen. - -2007-02-22 J.D. Smith - - * progmodes/idlw-shell.el (idlwave-shell-mode): Clean up pending - commands, for restart. - (idlwave-shell-current-module): Fix handling of module name by type. - (idlwave-shell-break-in): Update type handling. - (idlwave-shell-bp-get): Encode type in BP structure. - (idlwave-shell-set-bp): Fix setting condition/count on disabled BPs. - (idlwave-shell-module-source-query): Query routine info based on type. - Fix path parsing for non-compiled files. - (idlwave-shell-module-source-filter): Don't signal error in filter - if no source found. - (idlwave-shell-set-bp-in-module): Use fallback source to prevent - filter race. - -2007-02-22 Kim F. Storm - - * wid-edit.el (widget-default-create): Undo 2007-02-04 change. - (editable-field): Document need to put some text before the %v - escape in :format string. - -2007-02-19 Stefan Monnier - - * vc-svn.el: Remove the code inherited from CVSREAD and `cvs edit'. - (vc-svn-use-edit): Remove unused config var. - (vc-svn-update, vc-svn-revert): Checkout is always implicit. - - * outline.el (hide-sublevels): Keep empty last line, if available. - - * buff-menu.el (list-buffers-noselect): Use explicit unicode code - rather than the corresponding unicode char, to make the code - more readable. - -2007-02-19 Juanma Barranquero - - * speedbar.el (speedbar-frame-mode, speedbar-frame-width) - (speedbar-show-unknown-files, speedbar-item-info-file-helper) - (speedbar-item-info-tag-helper): Doc fixes. - -2007-02-19 Kenichi Handa - - * international/mule-cmds.el (locale-language-names): - Map "eo" to "Esperanto". - - * language/european.el ("Esperanto"): New language environment. - -2007-02-17 Sven Joachim (tiny change) - - * simple.el (kill-line): Doc fix. - -2007-02-17 Kim F. Storm - - * emacs-lisp/bindat.el (bindat--unpack-u*): Optimize. - (bindat--unpack-item, bindat--length-group, bindat--pack-item) - (bindat--unpack-group, bindat--pack-group): - Handle vectors with optional element type. - -2007-02-17 Daiki Ueno - - * pgg-gpg.el (pgg-gpg-process-region): Make USE-AGENT nil - if PASSPHRASE is given. - -2007-02-17 Chris Moore - - * jka-cmpr-hook.el (jka-compr-compression-info-list): - Recognize backups of bz2 compressed files. - -2007-02-17 Eli Zaretskii - - * info-look.el (info-lookup): Bind Info-fontify-maximum-menu-size - to nil to speed up lookup of the symbol in index nodes. - -2007-02-17 Alin C. Soare (tiny change) - - * emacs-lisp/lisp-mode.el (calculate-lisp-indent): - Add indentation for the constants of Lisp. - -2007-02-16 Stefan Monnier - - * ps-print.el: Use (defvar ) where applicable. - (ps-print-emacs-type): Remove. - (ps-x-frame-property, ps-e-frame-parameter): Remove. - (ps-frame-parameter): Align its call-convention with frame-parameter. - (ps-begin-job): Adjust calls to it appropriately. - (ps-setup): Don't print ps-print-emacs-type. - (ps-e-find-composition, ps-mark-active-p, ps-color-device): - Define in such a way that it's obvious that it's defined. - (ps-prsc, ps-c-prsc, ps-s-prsc): Remove. - (ps-rmail-mode-hook, ps-vm-mode-hook, ps-gnus-summary-setup) - (ps-jts-ps-setup): Use flavor-neutral syntax instead. - -2007-02-15 Alan Mackenzie - - * progmodes/cc-cmds.el (c-indent-new-comment-line): When splitting - an empty one-line C-style comment, post-position point properly. - -2007-02-15 Chris Moore - - * isearch.el (isearch-lazy-highlight-space-regexp): New variable. - (isearch-lazy-highlight-new-loop): Bind it. - (isearch-lazy-highlight-search): Use it. - - * replace.el (replace-highlight): Bind search-whitespace-regexp to nil. - -2007-02-15 Stefan Monnier - - * font-lock.el (font-lock-extend-region-wholelines): - Only return non-nil if the region has really been changed. - Reported by David Hansen - -2007-02-15 Juanma Barranquero - - * play/5x5.el (5x5-crack-xor-mutate): Doc fix. - (5x5-draw-grid-end, 5x5-make-xor-with-mutation, 5x5-mode, 5x5-crack) - (5x5-play-solution, 5x5-y-or-n-p): Fix typos in docstrings. - -2007-02-14 Juanma Barranquero - - * faces.el (color-values): Revert changes to docstring from - 2007-01-31 and 2000-09-07. - - * textmodes/ispell.el (ispell-keep-choices-win, ispell-word) - (ispell-begin-skip-region-regexp): Fix typos in docstrings. - (ispell-dictionary-alist, ispell-process-line): Doc fixes. - (ispell-help): Fix typos in docstring and output message. - -2007-02-14 Kim F. Storm - - * progmodes/grep.el (grep-files-aliases): Add tex and texi aliases. - (lgrep): Add DIR arg to start grep in specific directory, like rgrep. - (grep): Fix lgrep reference. - - * disp-table.el (make-glyph-code, glyph-char, glyph-face): New defuns. - (standard-display-underline): Use make-glyph-code. - - * descr-text.el (describe-char): Use glyph-char and glyph-face. - - * international/latin1-disp.el (latin1-display-char): - Use make-glyph-code. - -2007-02-13 Juanma Barranquero - - * ehelp.el (with-electric-help, electric-help-exit) - (electric-help-retain): Doc fixes. - - * emacs-lisp/bytecomp.el (byte-compile-dest-file) - (byte-compile-file): Doc fixes. - -2007-02-13 YAMAMOTO Mitsuharu - - * term/mac-win.el: Change all uses of - mac-set-font-panel-visibility to mac-set-font-panel-visible-p. - (mac-ae-number): Return integer 0 if coerced result is float 0.0. - (mac-ae-get-url): Call select-frame-set-input-focus. - (mac-dnd-handle-drag-n-drop-event): Don't call - select-frame-set-input-focus. - -2007-02-13 Kenichi Handa - - * international/characters.el: Fix documentation of category `a'. - -2007-02-11 Dan Nicolaescu - - * progmodes/grep.el (grep): Mention lgrep and rgrep in the docstring. - -2007-02-12 Michael Albinus - - * net/tramp.el (tramp-get-ls-command, tramp-get-file-exists-command) - (tramp-get-remote-ln): Handle error case. - Reported by Chris Moore . - -2007-02-11 Kim F. Storm - - * bindings.el (ctl-x-map): Remove register compatibility bindings - C-x /, C-x j, C-x x, and C-x g (deprecated since Emacs 19). - -2007-02-11 Richard Stallman - - * loadhist.el (unload-feature): Handle (t . SYMBOL) entries - in load history. - - * emacs-lisp/lisp-mode.el (indent-sexp): Clean up termination - condition -- don't fail to stop at endpos. - -2007-02-11 Carsten Dominik - - * textmodes/org.el (org-agenda-get-todos) - (org-agenda-get-timestamps, org-agenda-get-closed) - (org-agenda-get-deadlines, org-agenda-get-scheduled) - (org-agenda-get-blocks, org-format-agenda-item) - (org-agenda-change-all-lines, org-scan-tags): Rename text property - from `category' to `org-category'. - -2007-02-11 Kenichi Handa - - * international/titdic-cnv.el (titdic-convert): Force files be written - with Unix-like eol format. Read files under CXTERM-DIC by raw-text. - (miscdic-convert): Force files be written with Unix-like eol format. - -2007-02-11 Juanma Barranquero - - * files.el (change-major-mode-with-file-name): Fix typo in docstring. - - * calculator.el (calculator-prompt): Doc fix. - (calculator-mode-map): Fix typo in menu entry. - -2007-02-10 Jay Belanger - - * calculator.el (calculator): Do more extensive checking for when - 3 lines should be used for the calculator. - -2007-02-10 Eli Zaretskii - - * info-look.el (info-lookup-make-completions): - Bind Info-fontify-maximum-menu-size to nil to speed up lookup of - index nodes. - - * info.el (Info-fontify-maximum-menu-size): Document the effect - of a nil value. - (Info-fontify-node): Make sure Info-fontify-maximum-menu-size is - non-nil before using it as size. - -2007-02-09 Chong Yidong - - * subr.el (insert-for-yank-1): Prevent read-only properties from - interfering with text property operations. - - * image-mode.el (image-mode): Revert 2007-01-30 changes. - - * image.el (image-type-auto-detectable): Don't autodetect x[pb]m. - (image-type-auto-detected-p): Fail if another match is found in - auto-mode-alist. - - * files.el (magic-mode-alist): Call image-mode instead of - image-mode-maybe for autodetected images. - -2007-02-09 Juanma Barranquero - - * mail/smtpmail.el (smtpmail-smtp-service, smtpmail-queue-index-file): - Fix typos in docstrings. - (smtpmail-local-domain, smtpmail-queue-mail): Doc fixes. - -2007-02-09 Kim F. Storm - - * emacs-lisp/float-sup.el: Remove obsolete comment. - -2007-02-08 Stefan Monnier - - * diff-mode.el (diff-sanity-check-hunk): Fix last fix. - -2007-02-08 Karl Fogel - - * simple.el: Revert previous change, at request of RMS: - (fundamental-mode-hook): Remove. - (fundamental-mode): Run after-change-major-mode-hooks manually, - and don't run the now-nonexistent fundamental-mode-hook. - -2007-02-08 Karl Fogel - - * simple.el (fundamental-mode-hook): Declare new hook. - (fundamental-mode): Run the new dedicated hook, and don't run - after-change-major-mode-hooks manually anymore. - -2007-02-07 Stefan Monnier - - * vc-svn.el (vc-svn-merge-news): Understand the new format with two - added columns of chars. Remove support for the "no-meta-info" format. - Prompted by Romain Francoise . - -2007-02-07 Nick Roberts - - * progmodes/gdb-ui.el (gdb-if-arrow): New macro. - (gdb-mouse-until, gdb-mouse-jump): Use it. - -2007-02-07 Nick Roberts - - * progmodes/gdb-ui.el (gdb-mouse-until, gdb-mouse-jump): Make them - work when there is just an assembler buffer (no source buffer). - -2007-02-07 Per Cederqvist (tiny change) - - * diff-mode.el (diff-sanity-check-hunk): Don't reject the hunk - just because the diff was produced using "-p" (--show-c-function). - -2007-02-07 Juanma Barranquero - - * faces.el (frame-set-background-mode): Use `color-values' and - `display-color-p', not `x-color-values' and `x-display-color-p'. - (face-valid-attribute-values): Use `defined-colors' instead of - `x-defined-colors'. - -2007-02-07 Vinicius Jose Latorre - - * ps-print.el: The ps-print commands without face printing should not - print background color. Reported by Leo . - (ps-print-version): New version 6.7.3. - (ps-begin-job): New arg. Fix ps-default-background and - ps-default-foreground initialization. - (ps-face-attributes): Fix doc string. - (ps-face-background, ps-generate-postscript, ps-generate): Fix code. - - * printing.el: Fix ps-print link. - -2007-02-06 Chong Yidong - - * faces.el (face-set-after-frame-default): Compile attributes to - be set by frame parameters before merging in X resources. - -2007-02-06 Juanma Barranquero - - * simple.el (blink-matching-paren-dont-ignore-comments): - (blink-matching-paren-on-screen): Doc fixes. - -2007-02-06 Nick Roberts - - * progmodes/gdb-ui.el (gdb-frames-mode): Truncate lines in stack buffer. - -2007-02-05 Juanma Barranquero - - * loadhist.el (unload-feature): Silently ignore `load-history' entries - of the form `(defface . SYMBOL)', and treat `(autoload . SYMBOL)' - entries like `defun'. Return nil. - -2007-02-05 Kim F. Storm - - * ido.el: Doc fixes. - -2007-02-04 David Kastrup - - * play/mpuz.el (mpuz-random-puzzle): Fix potential lockup when - `mpuz-allow-double-multiplicator' is non-zero, and correct - calculation of `min'. - -2007-02-04 Per Abrahamsen - - * wid-edit.el (widget-default-create): Insert new text at the - :from marker _after_ the marker, not before it. - -2007-02-04 Alan Mackenzie - - * progmodes/cc-cmds.el (c-indent-line): Don't erase ^L when a line - containing it is re-indented. - -2007-02-03 Chong Yidong - - * net/newsticker.el (newsticker--insert-image): Update docstring, - and insert the image directly. - (newsticker--buffer-redraw): Update docstring. - - * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): - Rename from define-global-minor-mode. - - * progmodes/cwarn.el (global-cwarn-mode): - * emacs-lisp/autoload.el (make-autoload): - * hi-lock.el (global-hi-lock-mode): - * font-core.el (global-font-lock-mode): All callers changed. - -2007-02-03 Eli Zaretskii - - * textmodes/texnfo-upd.el (texinfo-menu-copy-old-description): - Don't copy @ignore lines into menu descriptions. - (texinfo-multi-file-update): Goto the @node line before attempting - to pluck the node name. - (texinfo-multiple-files-update): Reverse the optional arguments' - order, as per the doc string and the `interactive' form. - -2007-02-03 Chong Yidong - - * image-mode.el: Use autoload to avoid overriding disabled setting - applied in .emacs. - -2007-02-03 Alan Mackenzie - - * progmodes/cc-engine.el (c-in-knr-argdecl): Slight correction - for, e.g. "void (*hdone)();" in a k&r list. (No WS between - adjacent paren groups). - -2007-02-02 Vinicius Jose Latorre - - * progmodes/ebnf2ps.el: Doc fixes. - (ebnf-eps-buffer, ebnf-eps-region, ebnf-syntax-alist): Doc fixes. - -2007-02-02 Eli Zaretskii - - * dired-x.el (dired-do-relsymlink): Add reference to - dired-do-symlink. Add an autoload cookie. - - * dired-aux.el (dired-do-symlink): Add reference to - dired-do-relsymlink. - -2007-02-02 Doug Maxey (tiny change) - - * mouse.el : - : New bindings. - -2007-02-02 Ulf Jasper - - * net/newsticker.el (newsticker-version): Changed to "1.10". - (newsticker--set-customvar): Doc string. - (newsticker-new-item-face): Doc string. - (newsticker-mode): Initialize `invisibility-spec' with t. - (newsticker-mode-map): Added - `newsticker-mark-all-items-at-point-as-read'. - (newsticker-menu): Added narrow-to-item and narrow-to-feed. - (newsticker-w3m-show-inline-images): Do not call - `w3m-remove-image'. - (newsticker--buffer-after-w3m-insert-image): New advice for - w3m-insert-image to cache images. - (newsticker-next-item-same-feed): New. - (newsticker-mark-all-items-at-point-as-read-and-redraw): New. - (newsticker-mark-all-items-of-feed-as-read): New. - (newsticker-mark-all-items-at-point-as-read): Use new functions. - (newsticker-mark-item-at-point-as-read): Doc string. - (newsticker-mark-item-at-point-as-read): Use new functions. - (newsticker--do-mark-item-at-point-as-read): New, extracted from - `newsticker-mark-item-at-point-as-read'. - (newsticker-hide-entry): Use (t) instead of t for invisibility. - (newsticker--sentinel): Yet another xml-parser workaround. - (newsticker--decode-iso8601-date): Bugfix for datestrings without - days. - (newsticker--buffer-do-insert-text): Fix. - (newsticker--buffer-insert-enclosure): Fix. length might be missing. - (newsticker--buffer-make-item-completely-visible): - `switch-to-buffer' not necessary. - -2007-02-02 Eli Zaretskii - - * progmodes/ebnf2ps.el (ebnf-eps-buffer, ebnf-eps-region) - (ebnf-syntax-directory, ebnf-syntax-file, ebnf-syntax-region) - (ebnf-style-database, ebnf-apply-style, ebnf-reset-style) - (ebnf-push-style, ebnf-pop-style, ebnf-eps-production-list) - (ebnf-directory, ebnf-file, ebnf-syntax-alist): Doc fixes. - -2007-02-02 Kenichi Handa - - * international/quail.el (quail-show-key): Fix an error message. - -2007-02-01 Juanma Barranquero - - * faces.el (set-face-underline-p, modify-face): Rename arg - UNDERLINE-P to UNDERLINE (it is not a flag). - -2007-02-01 Nick Roberts - - * progmodes/gdb-ui.el (gdb-speedbar-update): Avoid duplication - when adding gdb-speedbar-update to gdb-input-queue. - -2007-02-01 Kenichi Handa - - * international/quail.el (quail-show-key): Signal an error if the - current input method is not using Quail. - -2007-02-01 J.D. Smith - - * progmodes/idlwave.el (idlwave-xml-create-sysvar-alist): - Trim leading whitespace in sysvar names. - -2007-02-01 Juanma Barranquero - - * faces.el (internal-find-face, internal-get-face): Doc fixes. - -2007-01-31 Juanma Barranquero - - * ido.el (ido-set-common-completion): Use `let', not `let*'. - -2007-01-31 Romain Francoise - - * comint.el: Delete extra copy of `comint-copy-old-input' added in - previous change to this file. - -2007-01-31 Jason Rumney - - * files.el (magic-mode-alist): Use image-mode-maybe rather than - image-mode. - - * image-mode.el (image-mode-maybe): Prevent magic-mode-alist from - interfering with attempt to set major mode from modified - auto-mode-alist. - -2007-01-31 Juanma Barranquero - - * faces.el (color-values): Doc fix. - (face-differs-from-default-p): Don't check :foreground twice. - -2007-01-31 J.D. Smith - - * comint.el (comint-mode): Prevent non-keyword fontification by default. - -2007-01-31 Kenichi Handa - - * international/quail.el (quail-store-decode-map-key): Store a - translated character too. - (quail-char-equal-p): New function. - (quail-find-key1): Check character equality by quail-char-equal-p. - (quail-decode-map-generated): New variable. - (quail-find-key): Check quail-decode-map-generated and re-generate - a decode map if necessary. - -2007-01-30 Richard Stallman - - * tutorial.el (tutorial--detailed-help): Make the list of - changed keys look nicer. - -2007-01-30 Nick Roberts - - * progmodes/gdb-ui.el (gdb-var-delete-1): New function. - (gdb-var-delete): Use it. - (gdb-var-update-handler-1): Handle value "invalid" for MI field - `in_scope'. - -2007-01-30 Michael Albinus - - * files.el (get-free-disk-space): Return nil for remote directories. - - * net/ange-ftp.el (ange-ftp-ls): In case of wildcards, use "ls" - instead of "dir". - -2007-01-30 Chong Yidong - - * type-break.el (type-break-catch-up-event): New function. - (type-break-demo-hanoi, type-break-demo-life) - (type-break-demo-boring): Use it. - - * image-mode.el (image-mode): Don't automatically view as image. - (image-toggle-display): Add `disabled' property. - -2007-01-29 Juanma Barranquero - - * isearchb.el (isearchb-iswitchb): - * ps-print.el (ps-build-face-reference): - * emacs-lisp/shadow.el (list-load-path-shadows): - * eshell/esh-cmd.el (eshell-rewrite-for-command): - * international/mule.el (find-auto-coding): - * mail/supercite.el (sc-attrib-selection-list): - * progmodes/cc-defs.el (c-emacs-features): - * progmodes/cc-vars.el (c-offsets-alist): - * progmodes/flymake.el - (flymake-init-create-temp-source-and-master-buffer-copy): - Fix typos in docstrings (some suggested by Chris Moore). - - * progmodes/vhdl-mode.el (vhdl-components-package-name) - (vhdl-get-library-unit, vhdl-corresponding-begin) - (vhdl-skip-case-alternative, vhdl-backward-skip-label) - (vhdl-align-region-2, vhdl-electric-dash, vhdl-case-word) - (vhdl-hooked-abbrev, vhdl-hs-forward-sexp-func) - (vhdl-font-lock-match-item): Fix typos in docstrings. - (vhdl-get-library-unit, vhdl-get-block-state, vhdl-sort-alist) - (vhdl-set-offset, vhdl-fix-case-region-1, vhdl-scan-directory-contents) - (vhdl-speedbar-insert-project-hierarchy): - Improve argument/docstring consistency. - -2007-01-29 Kenichi Handa - - * international/titdic-cnv.el (py-converter): Fix previous change. - -2007-01-29 Chong Yidong - - * jka-compr.el (jka-compr-partial-uncompress) - (jka-compr-call-process): Rebind default-directory if it is - invalid. Suggested by Chris Moore. - - * comint.el (comint-insert-input): Handle situation where the - selected buffer is not the clicked buffer. - -2007-01-29 Kenichi Handa - - * international/ja-dic-cnv.el (skkdic-convert): - Add byte-compile-disable-print-circle:t at the head. - - * international/titdic-cnv.el (tit-process-header): - Add byte-compile-disable-print-circle:t at the head. - (miscdic-convert): Likewise. - (py-converter): Skip the header comments. - - * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): - New variable. - (byte-compile-output-file-form): Bing print-circle to nil if - byte-compile-output-file-form is not nil. - (byte-compile-output-docform): Likewise. - -2007-01-28 Kim F. Storm - - * emulation/cua-base.el (cua-global-keymap, cua--region-keymap): - Declare earlier to avoid byte compiler warnings. - -2007-01-28 Markus Triska - - * speedbar.el (speedbar-make-specialized-keymap): Doc fix. - -2007-01-28 Chong Yidong - - * play/gamegrid.el (gamegrid-kill-timer): Cancel timer directly. - (gamegrid-add-score-with-update-game-score-1): Allow local quits - when calling update-game-score program. Remove unnecessary - save-excursion. - - * play/tetris.el (tetris-new-shape): Stop drawing if game is over. - -2007-01-28 Nick Roberts - - * progmodes/gdb-ui.el (gdb-breakpoint-regexp): Declare earlier to - avoid compiler warning. - (gdb-var-update-handler-1): Consider that the MI field `in_scope' - might have values other than "true" or "false". - -2007-01-28 Richard Stallman - - * textmodes/fill.el (fill-paragraph-function): Doc fix. - (fill-paragraph): Bind fill-paragraph-function to t to avoid recursion. - - * emacs-lisp/pp.el (pp-eval-last-sexp): Don't eval here. - - * image.el (image-type-header-regexps): Make GIF regex more specific. - - * tutorial.el (tutorial--default-keys): Check M-DEL, not `M-backspace'. - Don't check `backspace'. - (tutorial--find-changed-keys): Look up bindings in a temp buffer - in Fundamental mode. - - * startup.el (fancy-splash-text, normal-splash-screen): - Mention C-g. - - * simple.el (eval-expression): Don't use eval-last-sexp-print-value - when inserting in buffer. - - * vc-arch.el (vc-arch-file-id): Move with-current-buffer - inside the if. - -2007-01-27 Richard Stallman - - * obsolete/awk-mode.el (awk-font-lock-keywords): Add "do". - -2007-01-27 Guanpeng Xu - - * add-log.el (add-log-current-defun): Skip the semicolon ``;'' for - enum/union/struct/class definition. - Revert change to call `forward-sexp' multiple times. - -2007-01-27 Chong Yidong - - * files.el (hack-local-variables-confirm): Don't keep trying to - read an event from an empty kbd macro. - -2007-01-27 Eli Zaretskii - - * server.el (server-start): Mention LEAVE-DEAD arg in the doc string. - -2007-01-27 Ben North - - * outline.el (outline-promote, outline-demote): Doc fix. Rename - the arg CHILDREN -> WHICH. - -2007-01-27 Michael Albinus - - * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Set - default-directory to a sane value when calling start-process. - -2007-01-27 Eli Zaretskii - - * ls-lisp.el (ls-lisp-use-localized-time-format): New defcustom. - (ls-lisp-format-time-list): Doc fix. Mention - ls-lisp-use-localized-time-format. - (ls-lisp-format-time): Use ls-lisp-format-time-list if - ls-lisp-use-localized-time-format is non-nil, even if a valid - locale is defined. - -2007-01-27 Juanma Barranquero - - * jka-compr.el (jka-compr-shell): Doc fix. - - * jka-cmpr-hook.el (jka-compr-compression-info-list): Doc fix. - -2007-01-26 Vinicius Jose Latorre - - * ps-print.ps: Fix background height. - (ps-print-version): New version 6.7.2. - -2007-01-26 Eli Zaretskii - - * makefile.w32-in (finder-data, custom-deps): Depend on - $(lisp)/loaddefs.el. - -2007-01-24 Dan Nicolaescu - - * Makefile.in (custom-deps, finder-data): Add dependency to loaddefs.el. - -2007-01-24 Miles Bader - - * emacs-lisp/bytecomp.el (byte-compile-output-file-form) - (byte-compile-output-docform): Bind `print-circle' to t. - -2007-01-24 Kenichi Handa - - * international/ja-dic-cnv.el (skkdic-convert): Insert a related - file name of the original SKK dictionary file. - -2007-01-24 Kim F. Storm - - * ido.el (ido-initial-position): New variable. - (ido-read-internal): Set it if default item is specified. - (ido-minibuffer-setup): Position cursor accordingly if set. - (ido-edit-input): C-e moves to end of input if not already there. - (ido-magic-backward-char): C-b does like M-b if prev char is /. - Don't switch to buffer mode if repeating C-b at start of input. - (ido-toggle-ignore): C-a only toggles ignore at start or end of - input; else it moves to start of input. - (ido-kill-buffer-at-head, ido-delete-file-at-head): If cursor is - not at end of input, delete rest of input, rather than normal op. - -2007-01-23 Michael Kifer - - * emulation/viper-keym.el (viper-insert-basic-map): - Delete binding for S-TAB. - - * ediff-util.el (ediff-clone-buffer-for-region-comparison): Change text - of message. Activate mark. - (ediff-activate-mark): Set transient-mark-mode to t. - - * ediff.el (ediff-regions-wordwise, ediff-regions-linewise): Doc fix. - -2007-01-23 Martin Rudalics - - * help-fns.el (describe-variable): Don't suppress display of - buffer local value when the value is "large". - -2007-01-22 Kim F. Storm - - * ido.el (ido-active): Add XEmacs test from ido-minibuffer-setup. - (ido-initiate-auto-merge, ido-exhibit, ido-minibuffer-setup) - (ido-tidy): Use ido-active. - -2007-01-22 Chris Moore - - * hexl.el (hexl-mode-exit): Add missing quote. - -2007-01-22 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-keyboard-modifier-mask-alist): New constant. - (mac-ae-keyboard-modifiers): New function. - (mac-handle-toolbar-switch-mode): Use it. - (mac-dnd-handle-drag-n-drop-event): Likewise. Set action to `copy' - if keyboard modifiers on drop contain option key. - (mac-dnd-drop-data): Add optional argument `action'. - (special-event-map): Remove binding for M-drag-n-drop. - -2007-01-21 Guanpeng Xu - - * add-log.el (add-log-current-defun): Use CC Mode functions to - find the beginning and end of a defun. - -2007-01-21 Nick Roberts - - * progmodes/gdb-ui.el (gdb-var-create-regexp) - (gdb-var-create-handler): Handle value field in GDB output of - -var-create. - (gdb-max-frames): New variable. - (gdb-stack-buffer, gdb-frames-select): Use it. - (gdb-info-stack-custom): Help user customize gdb-max-frames, - if necessary. - (gdb-get-frame-number): Simplify. - -2007-01-21 Glenn Morris - - * net/tramp.el (tramp-perl-encode, tramp-perl-decode): - Update copyrights. - -2007-01-21 Alan Mackenzie - - * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Correct the - handling of K&R stuff. - -2007-01-21 Roland Winkler - - * textmodes/bibtex.el (bibtex-files): Fix customization type. - -2007-01-21 Vinicius Jose Latorre - - * ps-print.el: Handle frame parameters (background and/or foreground - colors) changing dynamically. Reported by Leo . - (ps-print-version): New version 6.7.1. - (ps-x-frame-property, ps-e-frame-parameter): New aliases. - (ps-frame-parameter): New fun. - (ps-default-fg, ps-default-bg): New default value ('frame-parameter). - Fix doc and customization. - (ps-begin-job): Get frame parameters (background and/or foreground - colors). - (ps-do-despool): Ensure ps-printer-name has a valid value. - -2007-01-21 Nick Roberts - - * progmodes/gdb-ui.el (gdb-debug-log): Rename from gdb-debug-ring. - (gdb-debug-log-max): Rename from gdb-debug-ring-max. - (gud-gdba-marker-filter): Make a value of nil for gdb-debug-ring-max - mean unlimited. - -2007-01-20 Alan Mackenzie - - * progmodes/cc-engine.el (c-in-knr-argdecl): Reformulate to do - much more rigorous analysis of putative K&R regions. - -2007-01-20 Alan Mackenzie - - * progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): - New functions. - -2007-01-20 Alan Mackenzie - - * progmodes/cc-align.el, progmodes/cc-cmds.el, - * progmodes/cc-defs.el, progmodes/cc-engine.el, - * progmodes/cc-langs.el, progmodes/cc-styles.el, - * progmodes/cc-vars.el: Add my name. - -2007-01-20 Chong Yidong - - * files.el (find-alternate-file): Revert query message to Emacs 21 - version. - -2007-01-20 Eric Hanchrow (tiny change) - - * progmodes/cperl-mode.el (cperl-electric-keywords): Document in - the doc string how to use personal abbrevs without electric - keywords. - -2007-01-20 Alin C. Soare (tiny change) - - * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): - Fixed cursor position when toggle abbreviated display. - -2007-01-20 Nick Roberts - - * t-mouse.el: Update copyright following assignment by - Alessandro Rubini. - -2007-01-20 Chong Yidong - - * type-break.el (type-break-demo-hanoi, type-break-demo-life) - (type-break-demo-boring): Call read-event instead of read-char. - -2007-01-19 Daniel Pfeiffer (tiny change) - - * progmodes/compile.el: Add handling for makepplog. - -2007-01-19 Reiner Steib - - * textmodes/ispell.el (ispell-change-dictionary): Ensure that - aspell dictionaries are initialized when called non-interactively. - -2007-01-19 Chong Yidong - - * progmodes/compile.el (compilation-loop): New arg limit. - Handle case where the first error is at point-min. - (compilation-next-error): New arg to compilation-loop call. - -2007-01-18 Bruno Haible (tiny change) - - * info.el (Info-default-dirs): Change default info dir to - share/info. - - * paths.el (Info-default-directory-list): Ditto. - -2007-01-18 Chris Moore - - * hexl.el (hexl-before-revert-hook): New function. - (hexl-mode): Use it. - (hexl-after-revert-hook): Just call hexl-mode. - (hexl-mode-exit): Remove before-revert-hook. - -2007-01-17 Stefan Monnier - - * isearch.el (isearch-no-upper-case-p): Look for [:upper:] as well. - -2007-01-16 Martin Rudalics - - * textmodes/ispell.el (ispell-dictionary-alist-3): Replace "---" - by "-" in francais7 otherchars entry. - (ispell-dictionary-alist-5): Replace "." by "[.]" for polish - otherchars entry. - -2007-01-15 Karl Fogel - - * bookmark.el (bookmark-buffer-file-name): Abbreviate the bookmark - path. Rewrite function in `cond' style for readability. - - Suggested by: Stephen Eglen . - (The path shortening, that is, not the rearrarangement.) - -2007-01-15 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-ae-quit-application): New function. - (mac-apple-event-map): Bind "quit application" Apple event to it. - -2007-01-14 Stefan Monnier - - * vc-svn.el (vc-svn-parse-status): Trust the filename argument more - than the program's output. - -2007-01-14 Juanma Barranquero - - * kmacro.el (kmacro-insert-counter, kmacro-set-counter) - (kmacro-start-macro-or-insert-counter) - (kmacro-step-edit-prefix-commands): Fix typos in docstrings. - (kmacro-call-ring-2nd, kmacro-call-ring-2nd-repeat): Doc fixes. - - * longlines.el (longlines-show-hard-newlines): - * ruler-mode.el (ruler-mode-ruler): - * emulation/keypad.el (keypad-setup): - * progmodes/antlr-mode.el (antlr-indent-at-bol-alist): - Fix typo in docstring. - -2007-01-13 Mathias Dahl - - * tumme.el (tumme-cmd-rotate-original-options): Add -outfile option. - Remove redirect character ">". - -2007-01-13 Juanma Barranquero - - * replace.el (perform-replace): Remove leftover code. - -2007-01-12 Richard Stallman - - * replace.el (perform-replace): Don't clear NODENT when computing - the replacement string. - -2007-01-11 Michael Albinus - - * net/tramp.el (tramp-handle-file-local-copy): - Set `enable-multibyte-characters' to nil. Reported by Chris Moore - . - -2007-01-11 Stefan Monnier - - * diff-mode.el (diff-sanity-check-context-hunk-half) - (diff-sanity-check-hunk): New functions. - (diff-find-source-location): Use'em to check the hunks are well-formed. - - * hexl.el (hexlify-buffer, dehexlify-buffer): Don't complain and don't - activate undo when undo is not active. - Reported by Chris Moore . - -2007-01-10 Stefan Monnier - - * ffap.el (ffap-next-regexp, ffap-machine-p, ffap-newsgroup-regexp) - (ffap-newsgroup-p, ffap-alist, ffap-string-at-point-mode-alist) - (ffap-url-at-point): Use char-classes rather than "a-z". - -2007-01-10 Juanma Barranquero - - * ediff-init.el (ediff-autostore-merges): - * textmodes/fill.el (fill-region): Doc fix. - -2007-01-10 Stefan Monnier - - * server.el (server-ensure-safe-dir): UIDs may be floats. - -2007-01-10 Richard Stallman - - * battery.el (battery-linux-proc-acpi): Use ignore-errors - around calls to directory-files. - - * subr.el (momentary-string-display): Use save-excursion. - - * emacs-lisp/pp.el (pp-eval-expression): Once again eval the - argument, but read it as `X' does. - -2007-01-09 Juri Linkov - - * info.el (Info-fontify-node): Don't hide node names of index entries. - - * faces.el (momentary): Change :group to basic-faces where all - basic faces belong to. Add :version. - -2007-01-09 Lennart Borgman - - * tutorial.el (tutorial--display-changes): Show M-x sequence if no - keybinding is found. - (tutorial--find-changed-keys): Never treat null keybinding as a - remapping. - -2007-01-09 Martin Rudalics - - * wdired.el (wdired-xcase-word): Skip non-word read-only characters. - -2007-01-09 Kenichi Handa - - * international/mule-cmds.el - (select-safe-coding-system-interactively): Fix message. - -2007-01-09 Michael Albinus - - * net/tramp.el (tramp-process-one-action): Remove `with-timeout'. - (tramp-process-actions): Add optional parameter TIMEOUT. - (tramp-open-connection-telnet, tramp-open-connection-rsh) - (tramp-open-connection-su): Add timeout of 60". - -2007-01-09 Richard Stallman - - * progmodes/compile.el (compile): Doc fix. - -2007-01-09 Markus Triska - - * tumme.el (tumme-display-thumb): Doc fix. - -2007-01-08 Juanma Barranquero - - * battery.el (battery-search-for-one-match-in-files): - * bindings.el (mode-line-minor-mode-help): - * x-dnd.el (x-dnd-types-alist): - * calendar/icalendar.el (icalendar-import-buffer): - * term/mac-win.el (mac-dnd-types-alist): Fix typo in docstring. - - * progmodes/vhdl-mode.el (vhdl-save-caches): Fix typo in error message. - -2007-01-07 Chris Moore - - * replace.el (replace-regexp): Fix typo in docstring. - -2007-01-07 Alan Mackenzie - - * progmodes/cc-langs.el (c-operators, c-filter-ops): - Amend doc-string and comments. - -2007-01-06 Eli Zaretskii - - * files.el (abbreviate-file-name): Doc fix. - -2007-01-06 Markus Triska - - * subr.el (split-string): Remove spurious ")" from doc string. - -2007-01-05 Takaaki Ota - - * textmodes/table.el (table--warn-incompatibility): - Use display-warning instead of momentary-string-display. - -2007-01-05 Richard Stallman - - * image.el (image-type-header-regexps): Recognize xbm more strictly. - - * simple.el (backward-kill-word): Doc fix. - -2007-01-05 Romain Francoise - - * international/mule.el (sgml-html-meta-auto-coding-function): - Ensure that the buffer contains a HTML document. - -2007-01-05 Dan Nicolaescu - - * faces.el (momentary): Move here ... - * subr.el (momentary): ... from here. - -2007-01-05 Nick Roberts - - * progmodes/gdb-ui.el (gdb-max-children): New customizable variable. - (gdb-speedbar-expand-node): Ask user for confirmation before expanding - large structures/arrays. - -2007-01-04 Juanma Barranquero - - * files.el (find-file-noselect-1, set-visited-file-name): - Allow backup-enable-predicate to be nil. - -2007-01-04 Andreas Schwab - - * progmodes/ebrowse.el (ebrowse-global-prefix-key): Fix typo in - last change. - -2007-01-03 Richard Stallman - - * woman.el (woman-decode-buffer): Clarify error message. - -2007-01-03 Alan Mackenzie - - * progmodes/cc-cmds.el (c-mask-paragraph): Fix yesterday's buggy patch. - -2007-01-03 Chris Moore - - * tutorial.el (tutorial--describe-nonstandard-key): Fix typo. - -2007-01-03 Stefan Monnier - - * iswitchb.el (iswitchb-global-map): Use command-remapping if available. - -2007-01-02 Juanma Barranquero - - * emulation/viper.el (viper-custom-file-name, viper-mode): - Fix typos in docstrings. - - * subr.el (momentary-string-display): After moving point, set POS - variable to it to avoid later errors once the buffer is modified. - Doc fix. - -2007-01-02 Alan Mackenzie - - * progmodes/cc-cmds.el (c-mask-paragraph): In a block comment, - check that the "*/" is present before trying to manipulate it. - -2007-01-02 Richard Stallman - - * wid-edit.el (widget-choose): Avoid ugly error for function keys. - - * progmodes/cfengine.el (cfengine-font-lock-syntactic-keywords): - Fix format of value. - - * cus-edit.el (customize-unsaved): Rename from customize-customized. - Change messages accordingly. - (customize-customized): Now alias. - -2007-01-02 Juanma Barranquero - - * files.el (version-control): Doc fix. - -2007-01-01 Alan Mackenzie - - * progmodes/cc-engine.el (c-guess-basic-syntax, case 5N): - Check the format of c-state-cache is valid for an optimisation before - using it. - - * progmodes/cc-engine.el (c-guess-basic-syntax): New case 5Q "we - are at a statement within a macro". Other changes so that only - the first continuation line in a macro gets the symbol - `cpp-define-intro', the others getting `statement', or whatever. - - * progmodes/cc-cmds.el (c-context-line-break): When invoked within - a string, preserve whitespace. Add a backslash only when also in - a macro. - - * progmodes/cc-defs.el: Correct typos. - - * progmodes/cc-cmds.el (c-context-line-break): Don't indent the - new line after an escaped EOL in a string. - - * progmodes/cc-engine.el (c-forward-label): Recognise "foo:" as a - label when it directly follows "else", "do", .... - - * progmodes/cc-engine.el (c-backward-<>-arglist): Tolerate empty - angle brackets (as seen in "explicit specialisations" of C++ - templates). - - * progmodes/cc-vars.el (c-indentation-style): Mention c-file-style - in the doc-string. - - * progmodes/cc-cmds.el (c-mask-paragraph): Fix for C comments, - when the comment ender looks like "=========*/" and is alone on - its line. - - * progmodes/cc-langs.el, progmodes/cc-engine.el: Correct the - spelling of c-opt-op-identiTier-prefix, t -> f. Leave an alias - for the old name. - - * progmodes/cc-mode.el: Bind C-M-a and C-M-e to - c-\(beginning\|end\)-of-defun by default. - - * progmodes/cc-align.el (c-lineup-gnu-DEFUN-intro-cont): - New line-up function, for the DEFUN macro in the Emacs C sources. - Only used in "gnu" style. - - * progmodes/cc-styles.el (c-style-alist): Use this new function in - the "gnu" style. - - * progmodes/cc-cmds.el (c-electric-slash): Extend the handling of - clean-up comment-close-slash also to work when there's a comment - terminator on the line. - (c-beginning-of-defun, c-end-of-defun): Refactor and optimise - these for large arg - only take account of top level {..}, except - for initial and final adjustments. M-- C-M-[ae] now go to the - right defuns when the starting point is between defuns. They use - the four new functions: - (c-in-function-trailer-p, c-where-wrt-brace-construct) - (c-backward-to-nth-BOF-{, c-forward-to-nth-EOF-}): New functions to - support c-\(beginning\|end\)-of-defun. - - * progmodes/cc-engine.el (c-forward-label): Analyze ":" - expressions more rigorously, to exclude bit-field specifiers from - being classed as labels. - (c-forward-label): When analyzing a ":" within a macro, be careful - about using c-forward-syntactic-ws at the macro beginning. - (c-beginning-of-decl-1): Whilst searching for "=" as evidence of a - stmt boundary, check for "operator=", etc. - - * progmodes/cc-mode.el (c-postprocess-file-styles): - Bind inhibit-read-only to t, around the call to - c-remove-any-local-eval-or-mode-variables, so that it works on a - RO file. - - * progmodes/cc-defs.el (c-version): Update the version number to - "5.31.4". - -2007-01-01 Richard Stallman - - * isearch.el (isearch-done): Use FOUND-POINT or FOUND-START - only if we restored isearch-window-configuration. - -2006-12-31 Romain Francoise - - * net/tramp.el (tramp-default-method): Don't use `symbol-function'. - -2006-12-31 Kim F. Storm - - * files.el (auto-mode-case-fold): New defcustom. - (set-auto-mode): If non-nil, perform second case-sensitive pass - through auto-mode-alist if first pass failed. - -2006-12-30 Richard Stallman - - * emacs-lisp/easy-mmode.el (define-global-minor-mode): Doc fix. - -2006-12-30 Ken Manheimer - - * allout.el (allout-encrypt-string): Handle symmetric-key - passphrase caching but leave keypair caching to pgg. - -2006-12-30 Michael Albinus - - Sync with Tramp 2.0.55. - - * net/tramp.el (tramp-completion-mode): Use `wholenump' instead of - `integerp'. `char-equal' could fail else in case of negative - numbers. Reported by Toby Speight . - (top): Check for `font-lock-add-keywords' before calling; it - doesn't exist under XEmacs. - (tramp-yn-prompt-regexp): Fix regexp. Add question from plink. - (tramp-completion-mode): Remove clause (not - tramp-unified-filenames), because the function is called in other - context too, where this check results in wrong results in the - XEmacs case on Windows. - (tramp-touch): UTC handling is not possible for XEmacs. - -2006-12-30 Jan Dj,Ad(Brv - - * scroll-bar.el (previous-scroll-bar-mode): New variable - (set-scroll-bar-mode): Set previous-scroll-bar-mode. - (scroll-bar-mode): Use previous-scroll-bar-mode if set. - - * term/x-win.el: Set scroll bar mode to right if set by X resources. - -2006-12-30 Richard Stallman - - * files.el (make-backup-file-name-1): Precompute abs name - but don't lose the relative name. - - * international/mule-cmds.el (select-safe-coding-system-interactively): - Fix message. - -2006-12-30 Kevin Rodgers (tiny change) - - * files.el (backup-buffer): Show entire backup file name in msg. - -2006-12-30 Juanma Barranquero - - * image.el (image-type-header-regexps, image-type-from-data) - (image-type-from-buffer, image-type-from-file-header): - Revert changes from 2006-12-26. - (image-type-auto-detectable): New variable. - (image-type-auto-detected-p): New function. - - * files.el (magic-mode-alist): Detect image files with - `image-type-auto-detected-p' instead of `image-type-from-buffer'. - -2006-12-29 Nick Roberts - - * dired.el (dired-sort-other): Move test for dired-mode... - (dired-sort-set-modeline): ...to here. - -2006-12-29 Micha,Ak(Bl Cadilhac - - * textmodes/fill.el (fill-comment-paragraph): Document 2006-12-24 - change. Suggested by Stefan Monnier. - -2006-12-29 Kim F. Storm - - * emacs-lisp/bindat.el (bindat--unpack-group, bindat--length-group) - (bindat--pack-group): Let-bind COUNT during repeat block evaluation. - -2006-12-27 Kim F. Storm - - * emacs-lisp/authors.el (authors-aliases): Anchor FSF alias regexp, - so it doesn't accidentally match an fsf.org mail address. - (authors-renamed-files-alist): Add tcover-*.el. - -2006-12-27 Stefan Monnier - - * vc-arch.el (vc-arch-find-version): New function. - - * vc-hooks.el (vc-version-backup-file-name): Revision names may be - composed of arbitrary characters (even /) in some systems. - -2006-12-27 Eli Zaretskii - - * international/mule-cmds.el (select-safe-coding-system-interactively): - Improve the message in the *Warning* buffer. - -2006-12-27 Kim F. Storm - - * ido.el (ido-set-matches-1): Fix last change. If default item is - current buffer, it is ok to be first. - -2006-12-27 Kenichi Handa - - * international/mule-cmds.el (select-safe-coding-system-interactively): - Use face `link' for problematic chars. - -2006-12-27 Kenichi Handa - - * international/mule-cmds.el (select-safe-coding-system-interactively): - Improve the message in *Warning* buffer. - -2006-12-27 Kim F. Storm - - * ido.el (ido-set-matches-1): Never put current buffer first if - there are other matches. - -2006-12-26 Nick Roberts - - * progmodes/gdb-ui.el (gud-watch): Allow duplicate names for watch - expressions. - (gdb-var-delete): Handle duplicate names. Print message for non - root expressions. - (gdb-partial-output-name): Start buffer name with a space. - (gdb-info-breakpoints-custom, gdb-reset): Handle space in above - buffer name. - -2006-12-26 Micha,Ak(Bl Cadilhac - - * mail/footnote.el (Footnote-insert-footnote): Fix the search of the - last footnote when `footnote-spaced-footnotes' is nil. - -2006-12-26 Richard Stallman - - * cus-edit.el (custom-browse-sort-alphabetically) - (custom-buffer-sort-alphabetically) - (custom-menu-sort-alphabetically): Doc fixes. Add autoloads. - - * image.el (image-type-header-regexps): Change element format - to include third item NOT-ALWAYS. - (image-type-from-data): Handle new format. - (image-type-from-buffer): Handle new format. New arg INCLUDE-MAYBES. - (image-type-from-file-header): Pass t for INCLUDE-MAYBES. - -2006-12-26 Guanpeng Xu - - * add-log.el (add-log-current-defun): Call `forward-sexp' - multiple times to pick a member function name defined as - part of nested classes/namespaces. - -2006-12-26 Vinicius Jose Latorre - - * emacs-lisp/easymenu.el (easy-menu-change): New arg MAP to indicate - which keymap should be used to change menu. It does not affect any - existent code. - -2006-12-26 Richard Stallman - - * textmodes/fill.el (fill-paragraph): Check for a minibuffer - rather than for being in a minibuffer window. - -2006-12-25 Daiki Ueno - - * pgg-def.el (pgg-passphrase-coding-system): Default to nil instead of - locale-coding-system. - * pgg-gpg.el (pgg-gpg-process-region): Encode passphrase with eol-type - LF. - -2006-12-25 Michael R. Mauger - - * progmodes/sql.el (sql-mode-abbrev-table): Correct initialization. - (sql-mode-syntax-table): Disable double quoted strings. - (sql-mode-font-lock-object-name): Add TYPE and TYPE BODY. - -2006-12-25 YAMAMOTO Mitsuharu - - * startup.el (fancy-splash-last-input-event): New variable. - (fancy-splash-special-event-action): New function. - (fancy-splash-screens): Temporarily bind special events to it. - Execute command for saved special event before exiting from - recursive editing. - - * term/mac-win.el (mac-keyboard-translate-char, mac-unread-string): - New functions. - (mac-ts-update-active-input-area, mac-ts-unicode-for-key-event): - Use mac-unread-string. - -2006-12-24 Micha,Ak(Bl Cadilhac - - * textmodes/fill.el (fill-comment-paragraph): Prevent the use of - an optimized comment regexp if `comment-start-skip' uses a ^. - * bs.el (bs--up): Remove interactive spec. - -2006-12-24 Chong Yidong - - * woman.el (woman-decode-buffer): Signal error for alien macro sets. - Suggested by James Cloos. - -2006-12-24 Kevin Ryde - - * calendar/cal-dst.el (calendar-dst-starts): Default to second Sunday - in March. - (calendar-dst-ends): Default to first Sunday in November. - -2006-12-24 Ken Manheimer - - * allout.el (allout-encrypt-string): Inhibit use of agent within - body of let form where encryption happens. Acknowledge non-use of - gpg-agent in docstring. - (allout-toggle-subtree-encryption): Acknowledge non-use of - gpg-agent in docstring. - -2006-12-24 Chong Yidong - - * custom.el (custom-add-frequent-value): Alias for custom-add-option. - -2006-12-23 Michael Kifer - - * ediff-diff.el (ediff-diff-options): Clarify docstring. - (ediff-setup-diff-regions): Disallow -u in ediff-diff-options. - - * emulation/viper-cmd.el (viper-post-command-sentinel): - Protect against errors in hooks. - (viper-add-newline-at-eob-if-necessary): Add newline only if we - actually modify buffer; ignore errors if occur. - -2006-12-23 Chong Yidong - - * calendar/calendar.el (calendar-mode-map): Switch < and >. - (calendar-mode-line-format): Use mouse-1 bindings, and tweak - formatting. - -2006-12-23 Richard Stallman - - * simple.el (delete-horizontal-space): Doc fix. - -2006-12-23 Eli Zaretskii - - * makefile.w32-in (bootstrap-clean): Run bootstrap-clean-$(SHELLTYPE) - explicitly in a recursive Make, not implicitly through prerequisites, - since the latter is wrong under parallel builds. - -2006-12-22 Eli Zaretskii - - * w32-fns.el (convert-standard-filename): Wrap in save-match-data. - -2006-12-22 Kevin Rodgers (tiny change) - - * progmodes/sh-script.el (sh-make-vars-local): Fix a typo in - message string. - -2006-12-22 Ben North (tiny change) - - * outline.el (outline-next-visible-heading): Fix the case with a - header at end-of-file with no final newline. - -2006-12-22 Robert Thorpe (tiny change) - - * indent.el (tab-always-indent): Doc fix. - -2006-12-22 Chong Yidong - - * info.el (Info-fontify-maximum-menu-size): Bump to 1000000. - (Info-fontify-node): Do fontify indices. - - * tutorial.el (tutorial--detailed-help): Remove unnecessary link - to the Emacs Lisp reference manual. - (tutorial--tab-map): Remove. All callers changed. - (tutorial--find-changed-keys): New elt QUIET, used to... - (tutorial--display-changes): ...ensure that warning messages are - only issued once per changed key. - (tutorial--remove-remarks): Delete unused code-path. - (lang-strings): Remove extraneous formatting. - (tutorial--save-tutorial): Prompt before saving tutorial state. - -2006-12-21 Chong Yidong - - * tutorial.el: Remove `cl' requirement. Clean up whitespace. - Replace '?\ ' by '?\s' throughout. - (tutorial-warning-face): Inherit font-lock-warning-face. Move to - `help' custom group. - (tutorial--key-description): New function. - (tutorial--display-changes): Remove redundant arg. Scan for all - key sequences to avoid false matches. Cleanup. - (tutorial--saved-dir): Save to a subdirectory in .emacs.d to - reduce homedir pollution. - (help-with-tutorial): Call tutorial--display-changes with no arg. - -2006-12-21 Carsten Dominik - - * textmodes/org.el (org-mode-map): Bind org-complete also to M-\t. - -2006-12-20 Michael Albinus - - * net/tramp.el (tramp-default-method): We still need to check for - `executable-find', because it is not bound under Emacs 20. - (tramp-handle-file-name-completion) - (tramp-completion-handle-file-name-completion): Handle optional - parameter PREDICATE. - (tramp-find-default-method): Add code for default values. - -2006-12-20 Nick Roberts - - * progmodes/gdb-ui.el (gdb-stopped): After attaching to a process - make gud-go send "continue". - -2006-12-19 Juanma Barranquero - - * image.el (image-type-header-regexps): Be more specific detecting `pbm' - and `png' files. Use non-capturing parenthesis for `tiff' regexp. - -2006-12-19 Kim F. Storm - - * bindings.el: Bind sigusr1 and sigusr2 in special-event-map - instead of global-map. - - * files.el (magic-mode-alist): Allow matching file type by - calling a function at bob. Check for image types by calling - image-type-from-buffer. Suggested by Juanma Barranquero. - (set-auto-mode): Do it. - -2006-12-19 Michael Albinus - - * net/tramp.el (tramp-methods): Introduce new method `scpc'. - Remove "ControlMaster" option from the other `scp*' methods. - (tramp-default-method): Check for ssh-agent before setting to `scp'. - -2006-12-18 Carsten Dominik - - * textmodes/org.el (org-mode): Show context after isearch. - (org-show-siblings): New function. - (org-show-context): Use `org-show-siblings'. - -2006-12-18 Stefan Monnier - - * emacs-lisp/syntax.el (syntax-ppss-flush-cache, syntax-ppss): - Use syntax-ppss-toplevel-pos. - -2006-12-18 Carsten Dominik - - * textmodes/org.el (org-current-line): Make sure that lines are - counted from beginning of buffer. - (org-table-copy-region, org-table-paste-rectangle): Make sure that - lines are counted from beginning of buffer. - -2006-12-17 Chong Yidong - - * info.el (Info-build-node-completions): Signal error if tag-table - marker is not found. - - * pgg-gpg.el (pgg-gpg-use-agent): Default to t. - -2006-12-17 Alan Mackenzie - - * emacs-lisp/lisp.el (beginning-of-defun-raw): Optimise (for - speed) the case when open-paren-in-column-0-is-defun-start is nil. - Based on code by Martin Rudalics. - - * progmodes/cc-mode.el (c-basic-common-init): Don't set - open-paren-in-column-0-is-defun-start to nil any more. - -2006-12-17 Richard Stallman - - * simple.el (delete-horizontal-space): Use prefix arg. - - * help-fns.el (describe-variable): Improve blank separator lines. - - * files.el (magic-mode-alist): Mark as risky. - - * files.el (make-backup-file-name-1): - Expand backup-directory explicitly. - -2006-12-17 Michael Albinus - - * net/tramp.el (tramp-default-method): Before setting to "pscp", - check whether package password.el is loaded, or Pageant is running. - -2006-12-17 Ulf Jasper - - * calendar/icalendar.el (icalendar-version): Increase to "0.14". - (icalendar--rris): First try Emacs, then XEmacs. - (icalendar--convert-ical-to-diary): Doc fix. - Insert newline at end of target file. - -2006-12-17 Kim F. Storm - - * outline.el (outline-isearch-open-invisible-function): New defvar. - (outline-flag-region): Use it if non-nil for isearch-open-invisible - overlay property instead of outline-isearch-open-invisible. - -2006-12-16 Kim F. Storm - - * ido.el (ido-completion-help): Build ido-cur-list and ido-matches - if ido-directory-too-big is set on entry. - (ido-toggle-ignore, ido-completion-help): Print message while - reading big directory. - -2006-12-15 Richard Stallman - - * shell.el (shell): Doc fix. - -2006-12-15 Kevin Gallagher - - * emulation/edt.el (edt-xserver): - * emulation/edt-mapper.el (edt-xserver): Replace `/' with a `-', - to fix a problem on Cygwin. - - * emulation/edt.el - * emulation/edt-mapper.el - * emulation/edt-lk201.el - * emulation/edt-pc.el - * emulation/edt-vt100.el: Update maintainer's email address. - -2006-12-15 Simon Marshall - - * progmodes/cc-fonts.el (c-font-lock-declarations): Fix previous change. - -2006-12-15 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-atsu-font-table): Remove defvar. - (mac-handle-font-selection): Use mac-atsu-font-face-attributes - instead of mac-atsu-font-table. - (fontset-default): Specify argument MAXIMUM in x-list-fonts calls. - -2006-12-14 Stephen Leake - - * align.el (align-match-tex-pattern): Fix a rare bug which - hanged Emacs. - -2006-12-14 Richard Stallman - - * startup.el (use-fancy-splash-screens-p): Use frame-height - instead of window-height. Pass frame to image-size. - -2006-12-13 Kenichi Handa - - * international/mule-cmds.el (set-locale-environment): - Set default-sendmail-coding-system too. - -2006-12-12 J.D. Smith - - * progmodes/idlw-help.el: Fix copyright notice. - -2006-12-12 Stefan Monnier - - * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): New fun. - -2006-12-11 Juanma Barranquero - - * subr.el (unread-command-char): Reformat obsolescence info. - -2006-12-11 Richard Stallman - - * emacs-lisp/cl-macs.el (defstruct): Suppress warnings - about calls to cl-struct-setf-expander. - -2006-12-11 Juanma Barranquero - - * ediff-merg.el (ediff-show-clashes-only): Doc fix. - (ediff-combination-pattern): Fix typo in docstring. - - * textmodes/refer.el (refer-find-entry): Doc fix. - (refer-bib-files-regexp, refer-bib-directory, refer-bib-files) - (refer-cache-bib-files, refer-find-next-entry, refer-yank-key): - Fix tipos in docstrings. - - * progmodes/idlwave.el (idlwave-library-path): Fix typos in docstring. - -2006-12-10 Kim F. Storm - - * ido.el (ido-init-completion-maps): Remap backward-kill-word - instead of binding M-backspace. - -2006-12-10 Juanma Barranquero - - * replace.el (replace-match-data, replace-match-maybe-edit): - * calc/calc-aent.el (calc-eval-error): - * emulation/vi.el (vi-char-argument): - * progmodes/cc-langs.el (c-at-vsemi-p-fn) - (c-vsemi-status-unknown-p-fn): Doc fixes. - -2006-12-10 Chong Yidong - - * menu-bar.el (menu-bar-showhide-menu, menu-bar-tools-menu) - (menu-bar-help-menu): Tooltip fixes. Suggested by Francis Wright. - -2006-12-10 Masatake YAMATO - - * progmodes/ld-script.el (ld-script-keywords): Fix a typo. - -2006-12-09 Chong Yidong - - * mouse-sel.el (mouse-sel-mode): Register mouse-2 as a click type. - - * man.el (Man-xref-button-action): New function. If the - `Man-target-string' button property is a function, assume it - accepts a position argument. - (Man-abstract-xref-man-page): Use it. - (Man-default-man-entry): New optional arg POS. - - * wdired.el (wdired-preprocess-symlinks): Make the spaces after - symlink arrows read-only and non-rear-sticky. - -2006-12-09 Martin Rudalics - - * wdired.el (wdired-change-to-wdired-mode, wdired-finish-edit) - (wdired-search-and-rename): Simplify code. - (wdired-preprocess-files, wdired-preprocess-perms): Make - read-only property of preceding character rear-nonsticky to - avoid that it can be modified. Put old-name and old-link - properties on character preceding name and replace - put-text-property by add-text-properties. - (wdired-get-filename, wdired-get-previous-link): Get old-name - and old-link properties from character preceding name and - simplify code. - (wdired-preprocess-perms, wdired-set-bit, wdired-toggle-bit) - (wdired-perms-to-number): Make local-map property - rear-nonsticky to avoid that text following permissions may be - modified. Use add-text-properties instead of put-text-property - when changing a permission bit. - (wdired-change-to-dired-mode): Remove stickiness properties. - -2006-12-09 Juanma Barranquero - - * international/mule-cmds.el (register-input-method): Doc fix. - -2006-12-09 Masayuki Ataka (tiny change) - - * cmuscheme.el (scheme-start-file): Use `let*', not `let'. - -2006-12-09 Micha,Ak(Bl Cadilhac - - * textmodes/flyspell.el (flyspell-hack-local-variables-hook): New. - Force buffer local defs evaluation on local variables loading. - (flyspell-mode-on, flyspell-mode-off): Use it in - `hack-local-variables-hook'. - -2006-12-09 Eli Zaretskii - - * emacs-lisp/find-func.el (find-variable): Doc fix. - - * help-fns.el (variable-at-point): Doc fix. - - * w32-fns.el (w32-append-code-lines): New function. - -2006-12-09 Romain Francoise - - * comint.el (comint-insert-input): Delete obsolete comment. - -2006-12-08 Stefan Monnier - - * net/browse-url.el (browse-url): Set DISPLAY to the one of the - current frame, in case we're connected to several displays. - -2006-12-08 Juanma Barranquero - - * frame.el (other-frame): Doc fix. - (set-frame-parameter): Fix typo in docstring. - -2006-12-07 Kim F. Storm - - * info.el (Info-index): Strip leading colon from topic. - -2006-12-07 Nick Roberts - - * progmodes/gud.el (gud-speedbar-buttons): Deal with references - to pointers. - -2006-12-05 J.D. Smith - - * progmodes/idlwave.el (idlwave-xml-create-class-method-lists): - Trim out spurious class inheritance "None" entries. - -2006-12-05 Kim F. Storm - - * emulation/cua-base.el (cua-paste-pop-rotate-temporarily): Doc fix. - (cua-paste-pop): Rework last change for - cua-paste-pop-rotate-temporarily, so first M-y and C-y works alike, - pasting the head of the kill-ring, and prefix arg C-u M-y inserts the - text inserted by the last M-y command. - -2006-12-05 Micha,Ak(Bl Cadilhac - - * cmuscheme.el (run-scheme, scheme-start-file): Search the start - file in ~/.emacs.d as `init_SCHEMENAME.scm' instead. - - * shell.el (shell): Search the start file in ~/.emacs.d as - `init_SHELLNAME.sh' instead. - -2006-12-05 Glenn Morris - - * progmodes/cperl-mode.el (cperl-mode) - * progmodes/f90.el (f90-mode-abbrev-table) - * progmodes/fortran.el (fortran-mode-abbrev-table) - * progmodes/octave-mod.el (octave-abbrev-table) - * progmodes/sql.el (sql-mode-abbrev-table): Define abbrevs even - if abbrev-table is non-nil (saved user abbrevs may have been restored). - - * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init): Do not - clear abbrev table, else saved abbrevs will not be restored. - -2006-12-04 Juanma Barranquero - - * facemenu.el (facemenu-unlisted-faces): Put obsolescence info in - the call to `make-obsolete-variable', not in the docstring. - -2006-12-04 Chong Yidong - - * facemenu.el (facemenu-unlisted-faces): Define as obsolete variable. - -2006-12-04 Vinicius Jose Latorre - - * progmodes/ebnf-abn.el: - * progmodes/ebnf-bnf.el: - * progmodes/ebnf-dtd.el: - * progmodes/ebnf-ebx.el: - * progmodes/ebnf-iso.el: - * progmodes/ebnf-otz.el: - * progmodes/ebnf-yac.el: - * progmodes/ebnf2ps.el: - * delim-col.el: - * printing.el: - * ps-bdf.el: - * ps-mule.el: - * ps-print.el: Remove 'Time-stamp' comment mark. - - * printing.el (pr-menu-bind): Replace 'easy-menu-change' by - 'easy-menu-add-item' when called in Emacs 21 or higher. - -2006-12-04 Stephen Leake - - * progmodes/ada-xref.el (ada-check-current): Doc fix. - (ada-make-body-gnatstub): Doc fix. Remove redundant `progn'. - -2006-12-04 Kim F. Storm - - * bindings.el (global-map): Bind [signal t] to ignore, to have - user signals ignored by default. - -2006-12-04 Juanma Barranquero - - * descr-text.el (describe-char-unicode-data): Use a hidden buffer for - Unicode data file pointed to by `describe-char-unicodedata-file'. - -2006-12-04 Stefan Monnier - - * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Fix pathological - O(n^2) regexp-search by anchoring the search. - -2006-12-04 Dan Nicolaescu - - * whitespace.el (whitespace-cleanup-internal): Use current - argument for recursive call. - -2006-12-04 Michael Albinus - - * net/tramp.el (tramp-methods): Add "ControlPath" and - "ControlMaster" to scp, scp1 and scp2 methods. Suggested by - Andreas Schwab . - (tramp-do-copy-or-rename-file-out-of-band) - (tramp-open-connection-rsh): Compute format spec for ?t. - (tramp-process-actions): Trace command parameters. - -2006-12-04 Nick Roberts - - * simple.el (toggle-truncate-lines): Clarify doc string. - - * progmodes/gdb-ui.el (gdb-var-delete-children): New function. - (gdb-speedbar-expand-node): Use it. - -2006-12-04 Richard Stallman - - * progmodes/python.el (python-indent): Add safe-local-variable prop. - - * dired.el (dired-revert): Turn off dired-after-readin-hook - around call to dired-readin. - - * menu-bar.el (menu-bar-make-toggle): Add "globally" - to echo area messages. - : - Add "globally" to Help string. - : MESSAGE arg need not say "globally". - (menu-bar-edit-menu ): Rename from select-and-paste. - -2006-12-03 Liam Healy (tiny change) - - * outline.el (outline-end-of-subtree): Don't leave an empty - line hidden as we would a real next heading. - -2006-12-03 Ken Manheimer - - * allout.el (allout-ascend): Add an optional argument to preserve - original position of point when unsuccessful. Also, fix a - docstring error. - (allout-yank-processing): Fix depth shift of multiple-topic so yanks - work again, using allout-ascend's new option. - (allout-setup-mode-map): Extract from allout-mode to initialize - allout-mode-map. Call it on file load, so the mode docstring - substitutions work even if allout mode has not yet been invoked. - (allout-mode): Use new allout-setup-mode-map to track any keybinding - customizations since the map was last processed. Also, refine the - docstring so it's ship-shape for release. - (allout-default-layout, allout-beginning-of-line-cycles) - (allout-distinctive-bullets-string, allout-use-mode-specific-leader) - (allout-encrypt-unencrypted-on-saves, allout-inhibit-auto-fill) - (allout-version, allout-layout, allout-infer-body-reindent) - (allout-infer-header-lead-and-primary-bullet, allout-view-change-hook) - (allout-init, allout-mode, allout-next-heading, allout-chart-subtree) - (allout-previous-heading, allout-goto-prefix-doublechecked) - (allout-current-bullet-pos, allout-next-sibling-leap) - (allout-pre-command-business, allout-encrypted-type-prefix) - (allout-make-topic-prefix, allout-open-topic, allout-rebullet-heading) - (allout-rebullet-topic, allout-rebullet-topic-grunt) - (allout-flag-region, allout-expose-topic, allout-expose-topic) - (allout-old-expose-topic, allout-listify-exposed) - (allout-process-exposed, allout-latex-verb-quote) - (allout-latex-verbatim-quote-curr-line, allout-adjust-file-variable) - (allout-toggle-current-subtree-encryption) - (allout-toggle-subtree-encryption, allout-bullet-isearch): - Remove extraneous open-paren and close paren string escapes. - -2006-12-03 Juanma Barranquero - - * progmodes/ada-xref.el (is-windows, ada-find-in-src-path): Doc fixes. - (ada-xref-pos-ring-max, ada-xref-project-files, ada-xref-initialize) - (ada-prj-default-comp-cmd, ada-quote-cmd, ada-compile-current): - Fix typos in docstrings. - -2006-12-03 Glenn Morris - - * progmodes/cc-align.el - * progmodes/cc-awk.el - * progmodes/cc-cmds.el - * progmodes/cc-compat.el - * progmodes/cc-defs.el - * progmodes/cc-engine.el - * progmodes/cc-langs.el - * progmodes/cc-menus.el - * progmodes/cc-mode.el - * progmodes/cc-styles.el - * progmodes/cc-vars.el - * progmodes/vhdl-mode.el: Fix Copyright format. - -2006-12-02 Chong Yidong - - * mouse.el (mouse-drag-track): Suppress automatic hscrolling for - initial down event. - -2006-12-02 Kim F. Storm - - * emulation/cua-base.el (cua-toggle-set-mark): Doc fix. - (cua-repeat-replace-region): Make M-v more robust. - (cua-paste-pop-rotate-temporarily): New defcustom. - (cua-paste-pop): Use it. - (cua-auto-mark-last-change): New defcustom. - (cua-pop-to-last-change): New helper function. - (cua-set-mark): Use them. - -2006-12-01 Nick Roberts - - * menu-bar.el (toggle-case-fold-search): Clarify doc/help string and - mini-buffer message. - -2006-12-01 Juanma Barranquero - - * descr-text.el (describe-char-unicodedata-file): Fix typo in docstring. - -2006-12-01 Ben North - - * paren.el: Fix the highlight overlay extension when the user types a - sequence of char very fast just before the open parenthesis. - -2006-12-01 Vinicius Jose Latorre - - * ps-mule.el: Eliminate Emacs 20 compatibility. - - * ps-print.el: Eliminate Emacs 20 & 21 compatibility. - (ps-print-version): New version 6.7. - (ps-print-quote): Replace '?\ ' by '?\s'. - -2006-11-30 Juanma Barranquero - - * hexl.el (hexl-goto-address, hexl-forward-char, hexl-forward-short) - (hexl-forward-word, hexl-previous-line, hexl-beginning-of-1k-page) - (hexl-end-of-1k-page): Doc fixes. - (hexl-address-region, hexl-ascii-region, hexl-highlight-line-range): - Fix typos in docstrings. - -2006-11-30 Micha,Ak(Bl Cadilhac - - * ido.el (ido-local-file-exists-p): New. Tell if a file exists - locally, i.e. without using file name handlers. - (ido-read-internal): Allow mono letter host names, avoiding the - `c:' problem by testing if the file exists locally. - (ido-complete, ido-make-file-list, ido-exhibit): Ditto. - -2006-11-30 Masatake YAMATO - - * hexl.el (hl-line-range-function, hl-line-face): Declare variables - to avoid bytecomp warnings. - (hexl-mode-old-ruler-function): New variable. - (hexl-follow-line): Bind `hexl-mode-old-hl-line-range-function' - and `hl-line-range-function' after `require' hl-line. - Then bind `hl-line-range-function' and `hl-line-face'. - Don't require frame. Don't use `with-no-warnings'. - (hexl-activate-ruler): Store the original value of - `ruler-mode-ruler-function' to `hexl-mode-old-ruler-function'. - (hexl-mode-exit): Restore the original value of - `ruler-mode-ruler-function'. - -2006-11-30 Alin C. Soare (tiny change) - - * hexl.el (hexl-mode-old-hl-line-range-function): New variable. - (hexl-mode-old-hl-line-face): New variable. - (hexl-mode, hexl-mode-exit): Fix the highlighting of the current - line when exit from the hexl-mode. - -2006-11-30 Juanma Barranquero - - * emacs-lisp/bytecomp.el (byte-optimize, byte-compile-warnings): - Doc fixes. - - * international/fontset.el (create-fontset-from-ascii-font) - (create-fontset-from-fontset-spec, x-compose-font-name): Doc fixes. - (fontset-name-p): Fix typo in docstring. - - * progmodes/cc-cmds.el (c-indent-exp): Fix typo in docstring. - -2006-11-30 Vinicius Jose Latorre - - * ps-bdf.el: Fix maintainer email. - - * ps-mule.el: Fix maintainer email. Define functions for Emacs 20 - compatibility. - - * ps-print.el: Fix maintainer email. Define functions for Emacs 20 & - 21 compatibility. - (ps-print-quote): Replace '?\s' by '?\ ' to keep compatibility with - Emacs 20 & 21. - -2006-11-29 J.D. Smith - - * progmodes/idlwave.el (idlwave-auto-fill): - Remove paragraph-start let to prevent auto-fill giving up. - -2006-11-28 Juanma Barranquero - - * vt100-led.el (led-state): Fix typo in previous change. - -2006-11-27 Andreas Seltenreich - - * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): - Fix interactive spec of the functions getting defined to make them - work as documented. - -2006-11-28 Chong Yidong - - * startup.el (fancy-splash-screens): Hide initial splash buffer. - -2006-11-28 Kim F. Storm - - * icomplete.el (icomplete-tidy, icomplete-exhibit): Check that - icomplete-mode is enabled. - -2006-11-28 Carsten Dominik - - * textmodes/org.el (require): Require gnus-sum during compilation - to avoid problem with a macro call. - -2006-11-28 Glenn Morris - - * emacs-lisp/authors.el (authors-aliases): Add new alias. - - * progmodes/fortran.el (fortran-font-lock-keywords-4): Add `min'. - (fortran-window-create-momentarily): Do not need string-to-char. - -2006-11-28 Richard Stallman - - * emacs-lisp/bytecomp.el (byte-compile-get-constant): - Replace incorrect use of assoc-default with a loop. - - * term.el (term-exec-1): Set envvar INSIDE_EMACS. - - * simple.el (next-error-find-buffer): Improve messages. - - * files.el (revert-buffer): Special error message if file - is now not readable. - - * facemenu.el (facemenu-add-new-face): Improve doc strings of - constructed commands. - - * comint.el (comint-exec-1): Provide Emacs version and `comint' - in INSIDE_EMACS. - -2006-11-27 Stefan Monnier - - * diff-mode.el (diff-mode-map): Add a binding for unified->context. - - * server.el: Remove spurious * in docstrings. - (server-process-filter): Exit from recursive editing before processing - a new request. - -2006-11-27 J.D. Smith - - * progmodes/hideshow.el (hs-already-hidden-p): Move to end of - line so hidden blocks will be correctly identified. - -2006-11-27 Juanma Barranquero - - * ledit.el (ledit-save-defun, ledit-mode): - * resume.el (resume-emacs-args-buffer): - * rot13.el (rot13-display-table, rot13-translate-table, rot13) - (rot13-string, rot13-region, rot13-other-window, toggle-rot13-mode): - * vmsproc.el (subprocess-input, start-subprocess, subprocess-command) - (command-send-input, command-kill-line): - * vt100-led.el (led-state, led-on): Fix typos in docstrings. - - * autoarg.el (autoarg-kp-mode): Doc fix. - - * emacs-lock.el (toggle-emacs-lock): Doc fix. Simplify. - (emacs-lock-check-buffer-lock): Doc fix. Use `when'. - (check-emacs-lock): Doc fix. Simplify. - - * iimage.el (iimage-mode-image-regex-alist): Doc fix. - (iimage-mode-buffer): Fix typos in docstring. - - * misc.el (zap-up-to-char): Doc fix. - - * time-stamp.el: Fix comment and obsolescence string for old - functions. Use `dolist' instead of `while'. - - * userlock.el (ask-user-about-lock-help): Fix typos in output message. - - * disp-table.el (standard-display-8bit, standard-display-default): - * ebuff-menu.el (electric-buffer-list): - * ehelp.el (electric-help-command-loop): - * font-core.el (font-lock-mode): - * help-macro.el (make-help-screen): - * help.el (describe-minor-mode-completion-table-for-indicator) - (lookup-minor-mode-from-indicator): - * indent.el (tab-to-tab-stop, move-to-tab-stop): - * info-look.el (info-lookup-guess-custom-symbol): - * locate.el (locate-main-listing-line-p, locate-mode, locate-do-setup): - * longlines.el (longlines-wrap-line): - * macros.el (insert-kbd-macro): - * menu-bar.el (menu-bar-update-buffers): - * misc.el (copy-from-above-command): - * mouse.el (mouse-popup-menubar, mouse-buffer-menu-alist): - * newcomment.el (comment-indent): - * novice.el (disabled-command-function): - * sort.el (sort-fields-syntax-table): - * subr.el (momentary-string-display): - * tar-mode.el (tar-header-block-summarize) - (tar-clear-modification-flags): - * terminal.el (terminal-cease-edit, te-more-break-unwind, te-newline) - (te-clear-rest-of-line, te-clear-rest-of-screen, te-clear-screen) - (te-insert-lines, te-delete-lines, te-delete, te-insert-spaces) - (te-delete-char, te-down-vertically-or-scroll): - * time-stamp.el (time-stamp-string-preprocess): - * tmm.el (tmm-add-one-shortcut): "?\ " -> "?\s". - -2006-11-26 Nick Roberts - - * speedbar.el (speedbar-timer-fn): Revert to old behaviour when not - in GUD mode. - - * progmodes/gud.el (gud-install-speedbar-variables): Remove bindings: - speedbar-expand-line-descendants, speedbar-contract-line-descendants. - -2006-11-26 Jan Dj,Ad(Brv - - * progmodes/cc-vars.el (c-backslash-column): Add . at end of sentence. - -2006-11-26 Stephen Leake - - * progmodes/ada-mode.el (ada-which-compiler): Fix typo in docstring. - (ada-compile-goto-error): Adapt to new argument profile of - compilation-goto-locus in Emacs 22. Don't check if the various - compile functions are defined; we already do "(require 'compile)". - -2006-11-26 Kim F. Storm - - * kmacro.el: Fix commentary. - -2006-11-26 Nick Roberts - - * progmodes/gud.el (gdb): Explain how to run in text command mode - more clearly. Say in error message that multiple debugging - requires restarting GDB. - -2006-11-25 Juanma Barranquero - - * international/fontset.el (create-fontset-from-fontset-spec): Doc fix. - -2006-11-25 Pavel Kobiakov - - * progmodes/flymake.el (flymake-posn-at-point-as-event): New function. - (flymake-popup-menu): Use it instead of posn-at-point. - -2006-11-25 Jan Dj,Ad(Brv - - * progmodes/cc-vars.el (c-backslash-column): - Mention c-backslash-max-column in documentation for c-backslash-column. - -2006-11-24 Lars Hansen - - * net/tramp.el (tramp-default-method): Under Windows, change from - plink to pscp. - (tramp-copy-failed-regexp, tramp-action-copy-failed): Add. - (tramp-actions-copy-out-of-band): - Add pair (tramp-copy-failed-regexp tramp-action-copy-failed). - (tramp-action-out-of-band): Move "Permission denied" handling to - tramp-action-copy-failed. - (tramp-do-copy-or-rename-file-out-of-band): unwind-protect killing of - process buffer. - -2006-11-24 Stefan Monnier - - * pgg-pgp.el (pgg-pgp-process-region): Change `args' from a list of - strings to a single string. Quote `errors-file-name'. - (pgg-pgp-encrypt-region, pgg-pgp-decrypt-region, pgg-pgp-sign-region) - (pgg-pgp-verify-region, pgg-pgp-insert-key, pgg-pgp-snarf-keys-region): - Adjust calls. Use `shell-quote-argument'. - - * international/mule.el (load-with-code-conversion) - (with-category-table): Use with-current-buffer. - (after-insert-file-set-coding): Use restore-buffer-modified-p. - -2006-11-24 Eli Zaretskii - - * mail/smtpmail.el (smtpmail-send-it): - Copy buffer-file-coding-system from the mail buffer. Possibly add a - MIME header for the message encoding. - Bind coding-system-for-write around the call to mail-do-fcc. - Use smtpmail-code-conv-from to encode queued mail messages. - -2006-11-24 Juanma Barranquero - - * tabify.el (tabify-regexp): Doc fix. - - * net/rcirc.el (rcirc-buffer-maximum-lines): - * progmodes/gud.el (jdb): Fix space/tab mixup in docstrings. - - * play/gomoku.el (gomoku-terminate-game, gomoku-human-takes-back) - (gomoku-prompt-for-move, gomoku-human-plays, gomoku-offer-a-draw): - Fix typos in output messages. - (gomoku-vector-length, gomoku-init-board): Fix typos in docstrings. - -2006-11-23 Stefan Monnier - - * hexl.el (hexl-mode): Don't try to guess the max-address: get it from - the horse's mouth. - (hexlify-buffer): Don't re-encode an arg that's already encoded. - -2006-11-23 Michael Kifer - - * ediff-diff.el (ediff-exec-process, ediff-same-file-contents): - Remove condition-case. - -2006-11-23 Glenn Morris - - * progmodes/f90.el (f90-comment-indent): Do not move point in - default case. - -2006-11-21 Romain Francoise - - * emacs-lisp/find-func.el (find-library-name): Don't strip ".el" - from library name (reverts change of 2005-10-25). - -2006-11-21 Lennart Borgman - - * tutorial.el (tutorial--default-keys): Add newline and - delete-backward-char bindings. - (tutorial--detailed-help): Save excursion when finding keys. - Correct warning string for M-x FOO case. - (tutorial--display-changes): Print special keys in tutorial style. - Tweak search regexp for changed keys. - -2006-11-21 Bob Rogers (tiny change) - - * thingatpt.el (thing-at-point-url-at-point): Don't add a - redundant scheme. - -2006-11-21 Diane Murray (tiny change) - - * thingatpt.el (thing-at-point-uri-schemes): Add schemes that - are new to the list at IANA. Also added irc, mms, mmsh. - -2006-11-20 J.D. Smith - - * progmodes/idlw-help.el (idlwave-html-help-location): - Fail gracefully for missing help packages. - (idlwave-help-assistant-open-link): Open full links. - (idlwave-help-assistant-help-with-topic): Direct help link. - - * progmodes/idlwave.el (idlwave-mode): - Set add-log-current-defun-function. - (idlwave-current-routine-fullname): Add, to support add-log. - (idlwave-convert-xml-system-routine-info): Simplify XML parsing - to reflect improvements to xml-parse-file. - (idlwave-mode-menu-def): New binding for help-with-topic. - - * progmodes/idlw-shell.el (idlwave-shell-filter-directory): - Handle extra newlines and spaces. - (idlwave-shell-mode-map): Add help-with-topic. - -2006-11-20 Chong Yidong - - * tutorial.el (tutorial-warning-face): New face. - (tutorial--detailed-help, tutorial--display-changes): Use it. - (tutorial--find-changed-keys): Check ESC-prefix binding specially. - Improve search pattern for occurrences of changed keys. - -2006-11-20 Jan Dj,Ad(Brv - - * term/x-win.el (x-last-cut-buffer-coding): New variable. - (x-select-text): Set it. - (x-cut-buffer-or-selection-value): Check also x-last-cut-buffer-coding - when checking for newness. - -2006-11-19 Juanma Barranquero - - * subr.el (posn-image): - * progmodes/ebnf2ps.el (ebnf-stop-on-error): Fix typos in docstrings. - - * emacs-lisp/regexp-opt.el (regexp-opt): Doc fix. - -2006-11-19 Micha,Ak(Bl Cadilhac - - * progmodes/glasses.el (glasses-separate-parentheses-exceptions): New. - Exceptions to the rule "add a space between an identifier and an - opening parenthesis". Defaulted to the `#define' problem of cpp. - (glasses-parenthesis-exception-p): New. Check if the region is an - exception regarding to that. - (glasses-make-readable): Use it. - (glasses-convert-to-unreadable): Ditto. Modify the file also if - `glasses-convert-on-write-p' and `glasses-separate-parentheses-p' are t. - -2006-11-19 Chong Yidong - - * emacs-lisp/bytecomp.el (byte-compile-if): Revert last change. - -2006-11-19 Stephen Leake - - * progmodes/ada-mode.el (ada-make-body): Fix typo. - - * progmodes/ada-xref.el (ada-make-body-gnatstub): Fix typo. - (ada-xref-initialize): Fix typo. Use add-hook and remove-hook. - -2006-11-18 Chong Yidong - - * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Check `and' - conditions for function or variable bindings. - - * comint.el (comint-exec-1): Set EMACS and INSIDE_EMACS to t. - - * progmodes/compile.el (compilation-start): Ditto. - -2006-11-18 Michael Albinus - - * net/tramp.el (top): cl and custom are always required. - -2006-11-18 Jan Dj,Ad(Brv - - * term/x-win.el (x-cut-buffer-or-selection-value): Decode text from - cut-buffers with next-selection-coding-system if not nil. - -2006-11-17 Carsten Dominik - - * textmodes/org.el (org-fix-decoded-time): New function. - (org-display-custom-time): Use `org-fix-decoded-time'. - -2006-11-17 Chong Yidong - - * menu-bar.el (menu-bar-games-menu): Remove yow. - -2006-11-17 Carsten Dominik - - * textmodes/org.el (org-scan-tags): Re-align code fixed. - (org-detach-overlay): Rename from `org-detatch-overlay'. - (org-table-convert-region): Insert space after column separator. - (org-agenda-kill): New command. - (org-metaleft): Call `org-outdent-item' on bullets. - (org-metaright): Call `org-indent-item' on bullets. - (org-timestamp-change): Set `org-last-changed-timestamp'. - (org-current-line): Make sure (bolp) returns correct result. - (org-agenda-change-all-lines): Make sure TODO are highlighted. - -2006-11-17 Stefan Monnier - - * pcvs.el (cvs-retrieve-revision): Set buffer-file-coding-system. - -2006-11-16 Chong Yidong - - * mouse.el (global-map): Change 2006-08-16 fix to call - mouse-yank-at-click explicitly, since mouse events are not carried - over into keyboard macros. - -2006-11-16 Kim F. Storm - - * ido.el (ido-file-internal): Use current buffer's file name as default - choice for ido-find-alternate-file. Suggested by Matt Hodges. - -2006-11-15 Ken Manheimer - - * allout.el (allout-doublecheck-at-and-shallower): Clarify docstring. - (allout-inhibit-aberrance-doublecheck): Rename from - allout-during-yank-processing. All callers changed. - (allout-ascend): Provide for unusual case where some topic after - the first in file is at lower depth than the first. - (allout-shift-in): Ensure the offspring of the new containing - topic are exposed. - (allout-encrypt-string): Preserve the coding-system of the text, - according to that of the containing buffer. - (allout-toggle-subtree-encryption): When the text being encrypted - requires a different coding system, offer to preserve the coding - system using a file local var. - -2006-11-15 Simon Marshall - - * progmodes/cc-fonts.el (c-font-lock-declarators): Use c-at-toplevel-p - to recognise "T t()" as a function declaration, rather than a - variable instantiation, iff at the top-level or inside a class - declaration. Suggested by Feng Li . - -2006-11-14 Stephen Leake - - * progmodes/ada-xref.el (ada-parse-prj-file): - Don't delete project buffer; user may want to edit it. - (ada-xref-set-project-field, ada-xref-current-project-file) - (ada-xref-current-project, ada-show-current-project) - (ada-set-main-compile-application): New functions. - (ada-xref-get-project-field, ada-require-project-file): - Normalize use of ada-prj-default-project-file. - (ada-gdb-application, ada-get-ada-file-name, ada-make-body-gnatstub): - Normalize use of ada-require-project-file. - (ada-prj-find-prj-file): Improve doc string, comments. - - * progmodes/ada-mode.el (ada-mode-version): Bump version. - (ada-create-keymap): Add \C-c\C-m 'ada-set-main-compile-application. - (ada-create-menu): Add ada-set-main-compile-application, - ada-show-current-main, ada-show-current-project. - -2006-11-14 Stefan Monnier - - * progmodes/python.el (inferior-python-mode-syntax-table): New var. - (inferior-python-mode): Use it. - -2006-11-14 Andreas Schwab - - * term/xterm.el (terminal-init-xterm): Add more key bindings. - -2006-11-13 Kim F. Storm - - * ido.el (ido-copy-current-word): C-o copies region if active. - -2006-11-13 Carsten Dominik - - * textmodes/org.el (org-emph-face): Fix typo in variable name. - -2006-11-13 Juanma Barranquero - - * ediff.el (ediff-revision): - * files.el (set-visited-file-name): - * mail/rmailout.el (rmail-output-body-to-file): - Use `format', not `message', in `y-or-n-p' call. - -2006-11-13 Carsten Dominik - - * textmodes/org.el (org-metaleft): Call `org-outdent-item' on bullets. - (org-metaright): Call `org-indent-item' on bullets. - (org-timestamp-change): Set `org-last-changed-timestamp'. - (org-current-line): Make sure (bolp) returns correct result. - (org-agenda-change-all-lines): Make sure highlighting TODO always works. - -2006-11-12 Richard Stallman - - * language/european.el (turkish-case-conversion-enable) - (turkish-case-conversion-disable): New functions. - ("Turkish" lang env): Use them. - - * international/characters.el (case table): - Do nothing special for i and I. - - * subr.el (remove-overlays): Fix last change. - - * cus-edit.el (custom-save-all): Use find-file-visit-truename - for visiting the custom file. - -2006-11-12 Markus Triska - - * play/handwrite.el (handwrite): Also process lines not ending - with newline. Replace some position-fiddling with different - logic. Improve performance. - -2006-11-12 Stephen Leake - - * progmodes/ada-xref.el (ada-prj-default-check-cmd): New variable, - replacing deleted variable `ada-check-switch'. - (ada-project-file-extension): Rename to `ada-prj-file-extension'. - (ada-xref-project-files): Improve doc string. - (ada-find-executable): New function. - (ada-initialize-runtime-library): Use `ada-find-executable'. - (ada-xref-set-default-prj-values): In compile commands, don't need - `ada-cd-command'; `compile' does that more portably. - Use ada-prj-default-check-cmd. - (ada-parse-prj-file): Don't set 'debug_post_cmd, 'debug_pre_cmd - properties if not specified in project file. - (ada-goto-declaration): Display useful message for new error - 'error-file-not-found. - (ada-get-ada-file-name, ada-find-in-src-path): Signal new error - 'error-file-not-found. - (ada-get-all-references): Match latest ali syntax. Signal new - error 'error-file-not-found. - (ada-find-in-ali): Match latest ali syntax. - (ada-make-filename-from-adaname): Handle different semantics of - gnatkr in GNAT 3.15p vs later. - - * progmodes/ada-stmt.el (ada-func-or-proc-name): Match changes to - ada-procedure-start-regexp. - (ada-or-accept, ada-or-delay, ada-or-terminate): Improve doc string. - - * progmodes/ada-mode.el: Replace conditional (require 'ispell) - with defvar. - (ada-language-version): Rename ada05 -> ada2005. - (ada-align-region-separate): Add `eval-when-compile'. - (ada-name-regexp): Remove unneeded escapes in regexp character - alternative. - (ada-compile-goto-error-file-linenr-re): New constant. - (ada-matching-start-re): Handle additional cases `declare', - `procedure', `function'. - (ada-compile-goto-error): Handle "... at line nn". - (ada-mode): Clearer syntax, comments for ff-special-constructs. - Delete support for old versions of `align'. - (ada-search-prev-end-stmt): Handle additional keyword `private'. - (ada-check-defun-name): Simplify handling of `declare'. - (ada-goto-matching-start): Handle nested `begin ... end'. - Handle `declare', `protected', `procedure', `function'. - (ada-create-menu): Presence of arm95 is not conditional on using - GNAT compiler. - -2006-11-12 Juanma Barranquero - - * emacs-lisp/re-builder.el (reb-mode): Set `blink-matching-paren' to - nil in the *RE-Builder* buffer (it causes spurious error messages). - - * server.el (server-visit-files): If `minibuffer-auto-raise' has - been set to t, respect it. - -2006-11-11 Stephen Leake - - * progmodes/ada-mode.el: Delete `eval-and-compile' around `require'. - Delete commented out code for old Emacs versions. Autoloading of - "ada-xref", "ada-prj" is useful even if compiler is not GNAT. - (ada-mode-version): Bump version number. - (ada-95-string-keywords, ada-2005-string-keywords) - (ada-2005-keywords, ada-name-regexp): New constant. - (ada-language-version, ada-procedure-start-regexp, ada-mode) - (ada-font-lock-keywords): Add support for Ada 2005 keywords. - (ada-package-start-regexp): Support private packages, include package - name (for ada-set-point-accordingly). - (ada-next-procedure, ada-previous-procedure) - (ada-which-function-are-we-in): Match changes to - ada-procedure-start-regexp. - (ada-make-body): Make non-interactive; not a user function. - (ada-make-subprogram-body): Improve doc string. - -2006-11-11 Romain Francoise - - * progmodes/cperl-mode.el (cperl-mode): Before adding to it, make - `compilation-error-regexp-alist' buffer-local, since we changed - `compilation-error-regexp-alist-alist' locally. - -2006-11-11 Juanma Barranquero - - * server.el (server-visit-files): Bind `minibuffer-auto-raise' - to the value of `server-raise-frame'. - -2006-11-11 Glenn Morris - - * ido.el (ido-enable-prefix) - * ses.el (ses-call-printer-return) - * net/tramp.el (tramp-unified-filenames) - * progmodes/cc-align.el (c-lineup-string-cont) - * progmodes/compile.el (compilation-directory-matcher) - * progmodes/ebnf2ps.el (ebnf-stop-on-error) - * progmodes/vhdl-mode.el (vhdl-reset-active-high) - (vhdl-clock-rising-edge) - * textmodes/org.el (org-export-with-timestamps) - (org-export-remove-timestamps-from-toc) - (org-export-with-tags): Improve previous doc fixes. - -2006-11-11 Richard Stallman - - * textmodes/flyspell.el (flyspell-mode-map): - Bind C-c $ instead of M-RET. - -2006-11-10 Simon Marshall - - * progmodes/cc-fonts.el (c-font-lock-declarations): Don't overwrite - fontification for "case" and "default" keywords. - -2006-11-10 Andreas Schwab - - * calendar/cal-dst.el (calendar-dst-check-each-year-flag): - Avoid starting sentence with "nil". - -2006-11-10 Juanma Barranquero - - * server.el (server-raise-frame): New option. - (server-switch-buffer): Use it. - -2006-11-10 Nick Roberts - - * progmodes/gdb-ui.el (gdb-many-windows): Start doc string - with a capital. - -2006-11-10 Carsten Dominik - - * textmodes/org.el (org-show-hierarchy-above) - (org-show-following-heading): Fix typo in default value. - (org-scan-tags): Make the search case-sensitive. - (org-tags-sparse-tree): Don't overrule - `org-show-following-heading' and `org-show-hierarchy-above'. - (org-reveal): New command. - (org-show-context): Rename from `org-show-hierarchy-above'. - (org-fast-tag-selection-single-key): New option. - (org-fast-tag-show-exit, org-set-current-tags-overlay): New functions. - (org-tags-overlay): New variable. - (org-agenda-todo-ignore-deadlines): New option. - ("session"): Add circular data structure `org-mark-ring' to - exceptions list in session.el. - (org-agenda-window-setup, org-agenda-restore-windows-after-quit): - New options. - (org-agenda-quit): Use `org-agenda-restore-windows-after-quit'. - (org-prepare-agenda, org-agenda-quit): Use `org-agenda-window-setup'. - (org-pre-agenda-window-conf, org-blank-before-new-entry): New vars. - (org-finalize-agenda): Activate bracket links in agenda. - (org-at-timestamp-p, org-at-date-range-p): Additional argument - INACTIVE-OK. - (org-show-hierarchy-above, org-show-following-heading): - List values allowed for fine-tuned configuration. - (org-show-hierarchy-above): New argument CONTEXT, use the - fine-tuned settings in `org-show-hierarchy-above' and - `org-show-following-heading'. - (org-display-custom-time): New function. - (org-toggle-time-stamp-overlays, org-insert-time-stamp): New function. - (org-display-custom-times, org-time-stamp-custom-formats): - (org-maybe-intangible): New macro. - (org-activate-bracket-links, org-hide-wide-columns): - Use `org-maybe-intangible'. - (org-open-file): Use `shell-quote-argument'. - (org-display-internal-link-with-indirect-buffer): New option. - (org-file-remote-p): Get regexp from list. - (org-link-expand-abbrev): New function. - (org-link-abbrev-alist): New option. - (org-open-at-point, org-cleaned-string-for-export): - Call `org-link-expand-abbrev'. - (org-timeline, org-agenda-list, org-todo-list) - (org-tags-view): Remove the KEEP-MODES argument. - (org-finalize-agenda-hook): New hook. - (org-get-alist-option): New function. - (org-follow-timestamp-link): New function. - (org-open-at-point): Call `org-follow-timestamp-link'. - (org-log-note-marker, org-log-note-purpose) - (org-log-note-window-configuration): New variables. - (org-add-log-maybe, org-add-log-note, org-store-log-note): New funs. - (org-log-note-headings): New option. - (org-dblock-write:clocktable): Bug fix, removed infinite loop. - (org-store-link): Support for dired-mode. - (org-open-file): Substitute environment variables into filename. - (org-last): New defsubst. - (org-agenda-re-align-tags): New function. - (org-agenda-align-tags-to-column): New option. - (org-agenda-timeline): Group removed. - (org-prepare-agenda, org-prepare-agenda-buffers) - (org-run-agenda-series, org-timeline, org-agenda-list) - (org-todo-list, org-tags-view): Call `org-agenda-prepare' and set - the text property inticating the agenda type. - (org-agenda-post-command-hook): Get agenda type from text property - at point. - (org-agenda): Handle command sets. Set `org-agenda-last-arguments' - and obey `org-agenda-overriding-arguments'. - (org-agenda-overriding-arguments, org-agenda-last-arguments): New vars. - (org-agenda-goto-today, org-agenda-later, org-agenda-earlier) - (org-agenda-week-view, org-agenda-day-view): - Use `org-agenda-overriding-arguments' to make updating work with - multi-block agendas. - (org-agenda-prefix-format): Allow different formats for the - different agenda entry types. - (org-timeline-prefix-format): Option removed, use - `org-agenda-prefix-format' instead. - (org-prepare-agenda): New function. - (org-select-timeline-window): Option removed, use - `org-select-agenda-window' instead. - (org-respect-restriction): Variable removed. - (org-cmp-tag): New function. - (org-agenda-sorting-strategy, org-entries-lessp): - Implement sorting by last tag. - (org-complete): Better completion in in-buffer option lines. - (org-in-item-p): New function. - (org-org-menu): Add entries for checkboxes. - (org-cycle): Extra brouping in outline-regexp, because it is used - in a search with "^" prepended. - (org-provide-checkbox-statistics): New option. - (org-set-font-lock-defaults): Highlight checkbox statistics. - (org-update-checkbox-count-maybe) - (org-get-checkbox-statistics-face): New functions. - (org-update-checkbox-count): New command. - (org-insert-item, org-toggle-checkbox): - Call `org-update-checkbox-count-maybe'. - (org-export-as-html): XEmacs compatibility for coding system. - (org-force-cycle-archived): New command. - (org-cycle-hide-archived-subtrees): Display message when ARCHIVE - overrules cycling. - (org-fix-position-after-promote): If the line contains only a todo - keyword, add a final space. - (org-promote-subtree, org-demote-subtree): - Call `org-fix-position-after-promote'. - -2006-11-10 Glenn Morris - - * calendar/cal-dst.el: Do not assume DST starts/ends on the same - date in every year. - (calendar-dst-check-each-year-flag): New customizable variable. - (calendar-dst-find-data): New function, extracted from - calendar-current-time-zone. - (calendar-current-time-zone): Use calendar-dst-find-data. - (calendar-dst-transition-cache): New variable. - (calendar-dst-find-startend, calendar-dst-starts) - (calendar-dst-ends): New functions. - (calendar-daylight-savings-starts) - (calendar-daylight-savings-ends): Change value to use - calendar-dst-starts, calendar-dst-ends; respectively. - - * progmodes/f90.el (f90-indent-region): Bind case-fold-search to t. - - * ido.el (ido-enable-prefix) - * ses.el (ses-call-printer-return) - * net/tramp.el (tramp-unified-filenames) - * progmodes/cc-align.el (c-lineup-string-cont) - * progmodes/compile.el (compilation-directory-matcher) - * progmodes/ebnf2ps.el (ebnf-stop-on-error) - * progmodes/gdb-ui.el (gdb-many-windows) - * progmodes/vhdl-mode.el (vhdl-reset-active-high) - (vhdl-clock-rising-edge) - * textmodes/org.el (org-export-with-timestamps) - (org-export-remove-timestamps-from-toc, org-export-with-tags) - (org-read-date): Doc fix (Nil -> nil). - -2006-11-10 Jan Dj,Ad(Brv - - * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value): - Encode/decode text to/from cut buffers to/from iso-latin-1 only. - -2006-11-10 Juanma Barranquero - - * bs.el (bs--window-for-buffer): Remove. - (bs--show-with-configuration): Use `get-window-with-predicate' - instead of `bs--window-for-buffer'. - -2006-11-10 Kenichi Handa - - * files.el (revert-buffer): Fix previous change. - -2006-11-09 Juanma Barranquero - - * bs.el (bs--redisplay): Fix typo in docstring. - (bs--window-config-coming-from): Make frame-local. - (bs--restore-window-config): New function. - (bs-kill, bs-select, bs-select-other-window) - (bs-select-other-frame): Use it. - (bs--window-for-buffer): Return as soon as a matching buffer is found. - (bs--show-with-configuration): Save the window configuration as a - frame local var, and only if *buffer-selection* is not already - visible on this frame. - -2006-11-08 Chong Yidong - - * vc-svn.el (vc-svn-admin-directory): New var. - (vc-svn-registered, vc-svn-responsible-p) - (vc-svn-repository-hostname): Use it. - Suggested by arit93@yahoo.com. - -2006-11-08 Juanma Barranquero - - * ldefs-boot.el: Regenerate. - -2006-11-08 Alan Mackenzie - - * emacs-lisp/lisp.el (beginning-of-defun-raw): Code up the - case (eq open-paren-in-column-0-is-defun-start nil) by searching - for least nested open-paren. - -2006-11-08 Romain Francoise - - * subr.el (remove-overlays): Fix typo in last change. - -2006-11-08 Richard Stallman - - * subr.el (remove-overlays): Call overlay-recenter. - -2006-11-08 Vinicius Jose Latorre - - * printing.el (pr-alist-custom-set, pr-ps-utility-custom-set) - (pr-ps-name-custom-set, pr-txt-name-custom-set): Return back the old - behaviour. - (pr-menu-bind): Act on global-map instead of menu-bar-file-menu - directly. - -2006-11-08 Juanma Barranquero - - * ido.el (ido-ignore-extensions, ido-show-dot-for-dired) - (ido-max-dir-file-cache, ido-decorations) - (ido-rewrite-file-prompt-functions, ido-use-mycompletion-depth) - (ido-magic-backward-char, ido-enter-dired) - (ido-enter-insert-buffer, ido-enter-insert-file, ido-dired) - (ido-list-directory, ido-first-match, ido-only-match) - (ido-subdir, ido-indicator): Fix typos in docstrings. - (ido-buffer-internal, ido-completion-help): Fix typos in messages. - (ido-read-internal): Fix typo in error message. - -2006-11-08 Kenichi Handa - - * international/mule-cmds.el (set-default-coding-systems): - Always set default-file-name-coding-system to utf-8 for Mac Darwin. - -2006-11-08 Juanma Barranquero - - * makefile.w32-in (setwins): Remove. - (WINS_ALMOST): New macro. - (WINS): Use it. - (autoloads): Don't extract autoloads from files in obsolete/. - -2006-11-07 Chong Yidong - - * whitespace.el (whitespace-buffer): Call remove-overlays after - overlay-recenter for performance. Suggested by Martin Rudalics. - -2006-11-07 Michael Albinus - - * net/tramp.el (tramp-default-method): scp is the default method. - -2006-11-07 Juanma Barranquero - - * server.el (server-start): Save also the Emacs pid in the server file. - -2006-11-07 Carsten Dominik - - * textmodes/reftex-cite.el (reftex-pop-to-bibtex-entry): Preserve - point when displaying a bibtex cross reference in the echo area. - -2006-11-06 Juanma Barranquero - - * international/mule.el (make-char): Fix typo in docstring. - (load-with-code-conversion, charsetp): Doc fixes. - - * international/ja-dic-cnv.el (skkdic-convert): - * cus-edit.el (hook): Fix typo in docstring. - -2006-11-06 Chong Yidong - - * cus-edit.el (custom-mode-map): Move defvar above code using it. - (custom-mode-link-map): New variable. - (custom-group-link, custom-manual): Use follow-link. - -2006-11-06 Roland Winkler - - * textmodes/bibtex.el: Fix typo in name of author of bibtex.el, - "Mark Shapiro" -> "Marc Shapiro". Update his email address. - -2006-11-06 Richard Stallman - - * textmodes/flyspell.el (flyspell-correct-word-before-point): - New function broken out of flyspell-correct-word. - (flyspell-mode-map): Bind it to M-RET. - (flyspell-correct-word): Call it. - - * textmodes/fill.el (fill-minibuffer-function): New function. - (fill-paragraph): Bind fill-paragraph-function to - fill-minibuffer-function. - - * ruler-mode.el (ruler-mode-map): Add bindings for up-events - so that they aren't undefined. - - * dired.el (dired-readin): Locally bind file-name-coding-system. - - * bindings.el: Shorten and clarify usual mode line mouse help string. - - * Makefile.in (autoloads): Don't include `obsolete'. - -2006-11-06 Chong Yidong - - * printing.el (pr-alist-custom-set, pr-ps-utility-custom-set) - (pr-ps-name-custom-set, pr-txt-name-custom-set): Don't update the - Printing menu if it's not initialized. - (pr-menu-bind): Act on menu-bar-file-menu directly. - -2006-11-06 Juanma Barranquero - - * help.el (view-emacs-news): Fix typo in error message. - - * menu-bar.el (menu-bar-update-buffers): Fix typo in menu entry. - - * shadowfile.el (shadow-define-regexp-group) - (shadow-literal-groups, shadow-insert-var): Doc fixes. - (shadow-read-files): Fix typo in message. - (shadow-inhibit-overload, shadow-find, shadow-suffix) - (shadow-site-match, shadow-write-todo-file, shadow-insert-var) - (shadow-suffix, shadow-site-match, shadow-expand-file-name) - (shadow-file-match): Fix typos in docstrings. - - * terminal.el (terminal-emulator): Fix typo in message. - - * emacs-lisp/authors.el (authors-fixed-entries): Fix typo. - - * emacs-lisp/lselect.el (x-kill-primary-selection) - (x-delete-primary-selection, x-copy-primary-selection): - Fix typos in error messages. - - * emulation/edt-mapper.el: Fix typo in interactive message. - - * mail/emacsbug.el (report-emacs-bug): Fix typos in output message. - - * textmodes/ispell.el (ispell, ispell-local-dictionary-alist) - (ispell-help): Fix typos in docstrings. - (ispell-help): Fix typo in output message. - - * allout.el (allout-adjust-file-variable) - (allout-passphrase-verifier-string) - (allout-passphrase-hint-string) - (allout-toggle-current-subtree-encryption): - * apropos.el (apropos-synonyms): - * cus-edit.el (hook): - * emacs-lock.el (emacs-lock-from-exiting): - * follow.el (follow-avoid-tail-recenter-p): - * hexl.el (hexl-mode): - * mouse-copy.el (mouse-copy-work-around-drag-bug): - * mouse.el (mouse-set-font): - * resume.el (resume-emacs-args-file): - * rfn-eshadow.el (file-name-shadow-tty-properties): - * t-mouse.el (t-mouse-process, t-mouse-mode): - * emacs-lisp/cust-print.el (custom-print-install) - (custom-print-uninstall, custom-format): - * emacs-lisp/shadow.el (list-load-path-shadows): - * emulation/tpu-edt.el (tpu-help-text) - (tpu-save-all-buffers-kill-emacs, tpu-emacs-replace) - (tpu-reset-control-keys): - * emulation/vip.el (vip-emacs-local-map) - (vip-change-mode-to-emacs): - * emulation/viper.el (viper-mode, viper-set-hooks) - (viper-major-mode-modifier-list): - * emulation/viper-init.el (viper-emacs-state-cursor-color): - * emulation/viper-keym.el (viper-emacs-kbd-map) - (viper-toggle-key): - * mail/feedmail.el (feedmail-queue-reminder) - (feedmail-queue-reminder-alist, feedmail-confirm-outgoing) - (feedmail-confirm-outgoing-timeout, feedmail-nuke-bcc) - (feedmail-nuke-resent-bcc, feedmail-fill-to-cc-fill-column) - (feedmail-sender-line, feedmail-force-binary-write) - (feedmail-from-line, feedmail-deduce-envelope-from) - (feedmail-x-mailer-line, feedmail-message-id-generator) - (feedmail-date-generator, feedmail-fiddle-plex-user-list) - (feedmail-enable-spray, feedmail-spray-this-address) - (feedmail-spray-address-fiddle-plex-list, feedmail-enable-queue) - (feedmail-queue-runner-confirm-global) - (feedmail-ask-before-queue-prompt) - (feedmail-ask-before-queue-reprompt) - (feedmail-prompt-before-queue-standard-alist) - (feedmail-prompt-before-queue-user-alist) - (feedmail-prompt-before-queue-help-supplement) - (feedmail-queue-use-send-time-for-message-id) - (feedmail-queue-default-file-slug, feedmail-queue-fqm-suffix) - (feedmail-mail-send-hook-splitter, feedmail-mail-send-hook) - (feedmail-mail-send-hook-queued) - (feedmail-confirm-addresses-hook-example) - (feedmail-last-chance-hook, feedmail-before-fcc-hook) - (feedmail-queue-runner-mode-setter) - (feedmail-queue-alternative-mail-header-separator) - (feedmail-queue-runner-message-sender) - (feedmail-buffer-eating-function, feedmail-binmail-template) - (feedmail-run-the-queue-no-prompts) - (feedmail-run-the-queue-global-prompt) - (feedmail-queue-subject-slug-maker, feedmail-fiddle-header) - (feedmail-envelope-deducer, feedmail-fiddle-date) - (feedmail-default-message-id-generator) - (feedmail-fiddle-message-id, feedmail-fiddle-x-mailer) - (feedmail-fiddle-spray-address, feedmail-deduce-address-list): - * mail/vms-pmail.el (vms-pmail-save-and-exit, vms-pmail-abort) - (vms-pmail-setup): - * play/dunnet.el (dun-help): - * play/handwrite.el (handwrite): - * play/hanoi.el (hanoi-unix-64): - * progmodes/idlwave.el (idlwave-rescan-asynchronously): - * textmodes/enriched.el (fixed): - * textmodes/org.el (org-file-apps) - (org-emphasis-regexp-components, org-emphasis-alist): - * textmodes/texinfmt.el (batch-texinfo-format): - Fix typos in docstrings. - -2006-11-05 Juanma Barranquero - - * loadhist.el (read-feature): Don't complete features not loaded - from a file (which make `unload-feature' to fail). - -2006-11-05 Reiner Steib - - * add-log.el (add-log-time-zone-rule): Mark as safe-local-variable. - -2006-11-05 Chong Yidong - - * startup.el (command-line-1): Kill emacs if the last frame is - deleted while evaluating the command-line arguments. - -2006-11-05 Richard Stallman - - * startup.el (init-file-had-error): Add doc string. - (fancy-splash-text, fancy-splash-head, fancy-splash-tail): - Use fixed-width font for keyboard key descriptions. - - * cus-edit.el (custom-save-all): Error if saving in .emacs - and it had an error when loaded. - - * dired-aux.el (dired-copy-file-recursive): Catch errors - from recursive copies in the loop, around the recursive call. - -2006-11-05 Micha,Ak(Bl Cadilhac - - * battery.el (battery-linux-proc-acpi): Search an ac_adapter in - `/proc/acpi/ac_adapter/*'. Ditto for the thermometers in - `/proc/acpi/thermal_zone/*'. - (battery-search-for-one-match-in-files): New. Search a regexp in - the content of some files. - -2006-11-05 Martin Rudalics - - * window.el (mouse-autoselect-window-now): Remove variable. - (mouse-autoselect-window-state): New variable. - (mouse-autoselect-window-start, mouse-autoselect-window-cancel) - (mouse-autoselect-window-select, handle-select-window): - Rewritten to make mouse-autoselect-window-timer a one-shot timer. - Suspend delayed autoselection during menu or popup dialog. - - * info-look.el (info-lookup-guess-custom-symbol): New function - for retrieving symbol at point in custom buffers. - (top level) : Add backquote and - comma to ignored characters in regexps of help specifications - for emacs-lisp-mode and lisp-interaction-mode. This permits - looking up symbols in `...' and after a comma. Add help - specifications for custom-mode and help-mode. - -2006-11-04 Eli Zaretskii - - * mail/rmail.el (rmail-redecode-body): New optional argument RAW. - Don't encode body if RAW is non-nil, or if the old encoding is - identical to the new encoding, or if the body contains only - eight-bit-* characters. - -2006-11-04 Yoni Rabkin Katzenell (tiny change) - - * faces.el (faces-sample-overlay, describe-face): Revert last changes. - (faces-sample-overlay): Remove variable. - (describe-face): Insert sample text in the face being described. - -2006-11-04 Martin Rudalics - - * whitespace.el (whitespace-indent-regexp): Make this match any - multiples of eight spaces near the beginning of a line. - (whitespace-buffer): Use `remove-overlays' instead of - `whitespace-unhighlight-the-space' and `overlay-recenter' to - speed up overlay handling. - (whitespace-buffer-leading, whitespace-buffer-trailing): - Make these functions highlight the text removed by - `whitespace-buffer-leading-cleanup' and - `whitespace-buffer-trailing-cleanup' respectively. - (whitespace-buffer-search): Use `with-local-quit'. - Move `format' out of loop to speed up scanning larger buffers. - (whitespace-unhighlight-the-space): Remove `remove-hook' since - that function is never added to a hook. - (whitespace-spacetab-regexp, whitespace-ateol-regexp) - (whitespace-buffer-leading-cleanup) - (whitespace-refresh-rescan-list): Fix docstrings. - -2006-11-03 Ken Manheimer - - * allout.el (allout-during-yank-processing): Cue for inhibiting - aberrance processing during yanks. - (allout-doublecheck-at-and-shallower): Reduce the limit to reduce - the amount of yanked topics that can be aberrant. - (allout-do-doublecheck): Encapsulate this multiply-used recipe in - a function, and supplement with inihibition of doublechecking - during yanks. - (allout-beginning-of-line, allout-next-heading) - (allout-previous-heading, allout-goto-prefix-doublechecked) - (allout-back-to-current-heading, allout-next-visible-heading) - (allout-next-sibling): Use new allout-do-doublecheck function. - (allout-next-sibling): Ensure we made progress when returning - other than nil. - (allout-rebullet-heading): Preserve text property annotations - indicating the text was hidden, if it was. - (allout-kill-line): Remove any added was-hidden annotations. - (allout-kill-topic): Remove any added was-hidden annotations. - (allout-annotate-hidden): Inhibit adding was-hidden text - properties to the undo list. - (allout-deannotate-hidden): New function to remove was-hidden - annotation. - (allout-hide-by-annotation): Use new allout-deannotate-hidden. - (allout-remove-exposure-annotation): Replace by - allout-deannotate-hidden. - (allout-yank-processing): Signal that yank processing is happening - with allout-during-yank-processing. Also, wrap - allout-unprotected's closer to the text changes, for easier - debugging. We need to inhibit-field-text-motion explicitly, in - lieu of the encompassing allout-unprotected. - (outlineify-sticky): Adjust criteria for triggering new outline - decorations to presence or absence of any topics, not just a topic - at the beginning of the buffer. - -2006-11-03 Juanma Barranquero - - * bs.el (bs--show-all, bs--redisplay): - * cus-edit.el (custom-unlispify-menu-entries) - (custom-unlispify-tag-names, custom-prompt-variable): - * expand.el (expand-pos): - * speedbar.el (speedbar-generic-list-tag-p): - * wid-edit.el (widget-image-enable): - * emacs-lisp/checkdoc.el (checkdoc-rogue-space-check-engine): - * emacs-lisp/find-func.el (find-function-noselect) - (find-function, find-variable-noselect, find-variable) - (find-definition-noselect, find-face-definition): - * mail/rmail-spam-filter.el (rsf-scanning-messages-now): - * net/eudc-vars.el (eudc-expansion-overwrites-query): - * progmodes/ada-xref.el (ada-find-in-ali): - * textmodes/flyspell.el (flyspell-check-tex-math-command): - * textmodes/org.el (org-copy-subtree): - * textmodes/table.el (table--row-column-insertion-point-p): - Use "non-nil" in docstrings. - -2006-11-03 Mark Davies - - * sort.el (sort-columns): Set the field separator to tab; on - NetBSD, sort complains if "\n" is used as field separator. - -2006-11-03 NIIMI Satoshi - - * emacs-lisp/pp.el (pp-eval-last-sexp): Evaluate target sexp. - -2006-11-02 Stefan Monnier - - * server.el (server-auth-key): Remove. Replace by a process-property. - (server-start): Don't remove the file of the previous process, but - instead clear out the place for the new file. - (server-start): Set the :auth-key property. - (server-process-filter): Use the :auth-key property. - -2006-11-02 Carsten Dominik - - * textmodes/org.el (org-mode-map): No longer copy - `outline-mode-map' explicitly - this is already done by - `define-derived-mode'. - -2006-11-02 Juanma Barranquero - - * server.el (server-visit-files): Use `when'. - (server-process-filter): When authentication fails, send error - message to client. Wrap `process-send-region' in `ignore-errors' - instead of `condition-case', and remove misleading comment. - -2006-11-01 Juri Linkov - - * simple.el (yank): Doc fix. - -2006-11-01 Stefan Monnier - - * server.el: Try and fit within 80 columns. - (server-start): Make the auth file unreadable by other users. - -2006-10-31 Andreas Seltenreich - - * battery.el (battery-linux-proc-acpi): Prevent range error when - `full-capacity' is 0. - -2006-10-31 Yoni Rabkin Katzenell (tiny change) - - * faces.el (faces-sample-overlay): New defvar. - (faces-sample-overlay): New function to show face sample text. - (describe-face): Use it. - -2006-10-31 Stephen Leake - - * progmodes/ada-stmt.el: Change maintainer, apply - whitespace-cleanup, checkdoc. - (ada-func-or-proc-name): Add doc string. - - * progmodes/ada-prj.el (ada-prj-new): Change maintainer, apply - whitespace-cleanup, checkdoc. Minor improvements to many doc - strings and comments. - (ada-prj-display-page): Change buffer name to more accurately - reflect function. - - * progmodes/ada-xref.el: Change maintainer, apply - whitespace-cleanup, checkdoc. Minor improvements to many doc - strings and comments. Don't look for `gvd' or `ddd' debuggers. - (ada-compile-current): Don't add newlines to commands. - -2006-10-31 Juanma Barranquero - - * server.el: Add support for TCP sockets. - (server-use-tcp, server-host, server-auth-dir): New options. - (server-auth-key): New variable. - (server-ensure-safe-dir): Create nonexistent parent dirs. - Ignore Unix-style file modes on Windows. - (server-start): Crete a TCP or Unix socket according to the value - of `server-use-tcp'. For TCP sockets, create the id/auth file in - `server-auth-dir' directory. - (server-process-filter): Delete process if authentication - fails (which never happens for Unix sockets). - -2006-10-30 David Kastrup - - * subr.el (add-to-list): Don't continue checking if a match has - been found. - -2006-10-30 Chong Yidong - - * tutorial.el: Move defvars to avoid bytecomp warnings. - (tutorial--find-changed-keys): Check if viper-current-state is - bound before using it. - (help-with-tutorial): Check if viper-tutorial is defined before - using it. - -2006-10-30 Lennart Borgman - - * help-fns.el (help-with-tutorial): Move to tutorial.el. - - * tutorial.el: New file. - (help-with-tutorial): Move here from help-fns.el. Add help for - rebound keys. Fix resume of tutorial. - (tutorial--describe-nonstandard-key, tutorial--sort-keys) - (tutorial--find-changed-keys, tutorial--display-changes) - (tutorial--saved-dir, tutorial--saved-file) - (tutorial--save-tutorial): New functions to support the changes in - help-with-tutorial. - -2006-10-30 Kenichi Handa - - * files.el (revert-buffer): If a unibyte buffer is being reverted - with a coding system for multibyte, set buffer multibyte before - calling insert-file-contents. - -2006-10-30 Stefan Monnier - - * server.el (server-select-display): Use a dummy buffer to detect when - the frame is later used. - (server-select-display): New function. - (server-process-filter): Use it to detect unused temp frames. - -2006-10-29 Stephen Leake - - * progmodes/ada-mode.el: Change maintainer, apply - whitespace-clean, checkdoc. Minor improvements to many doc strings. - (ada-mode-version): New function. - (ada-create-menu): Menu operations are available for all supported - compilers. - -2006-10-29 Lars Hansen - - * net/tramp.el (with-parsed-tramp-file-name): Correct debug spec. - Highlight as keyword. - (tramp-do-copy-or-rename-file): Correct data for 'file-already-exists. - Don't call tramp-method-out-of-band-p for local files. - (tramp-touch): Quote file name. - -2006-10-28 Glenn Morris - - * calendar/calendar.el (cal-html-cursor-month) - (cal-html-cursor-year): Add autoloads for this new package. - (calendar-mode-map): Bind cal-html-cursor-month, cal-html-cursor-year. - -2006-10-28 Anna M. Bigatti - - * calendar/cal-html.el: New file. - -2006-10-28 Chong Yidong - - * emacs-lisp/authors.el (authors-aliases): Update. - -2006-10-27 Chong Yidong - - * version.el (emacs-version): Bump version number to 22.0.90. - -2006-10-26 John W. Eaton - - * progmodes/octave-inf.el (inferior-octave-has-built-in-variables): - New defvar. - (inferior-octave-resync-dirs): Check to see whether Octave has - built-in variables and set inferior-octave-has-built-in-variables. - Check inferior-octave-has-built-in-variables to decide whether to - send commands that set built-in variables or call functions to - change Octave's behavior. - Send "disp (pwd ())" to Octave instead of just "pwd". - (inferior-octave-startup): Send "more off" to Octave instead of - "page_screen_output = 0". - -2006-10-26 Chong Yidong - - * emacs-lisp/cl-indent.el (lisp-indent-259): Indent nil's in the - pattern normally. - -2006-10-26 Nick Roberts - - * bindings.el (mode-line-mode-menu): Remove bindings for global - minor modes (line/column number) as they are on the menubar. - -2006-10-25 Juanma Barranquero - - * term/w32-win.el (x-handle-name-switch): Doc fix. - (w32-standard-fontset-spec): Fix typo in docstring. - - * midnight.el (midnight-buffer-display-time): Doc fix. - (clean-buffer-list-kill-never-buffer-names): Add "*server*". - -2006-10-23 Michael Kifer - - * emulation/viper-cmd.el (viper-prefix-arg-com): Define gg as G0. - - * emulation/viper-ex.el (ex-read): Quote file argument. - - * ediff-diff.el (ediff-same-file-contents): Expand file names. - - * ediff-mult.el (ediff-append-custom-diff): Quote shell file arguments. - -2006-10-22 Martin Rudalics - - * textmodes/flyspell.el (flyspell-check-region-doublons): - Fix last fix. - -2006-10-23 Nick Roberts - - * bindings.el (mode-line-mode-menu): List global minor modes - before local ones. - -2006-10-23 Kim F. Storm - - * subr.el (add-to-list): Optimize if compare-fn is `eq' or `eql'. - (sit-for): If last command was a prefix arg, add the read-ahead - event to unread-command-events as (t . EVENT) so it will be added - to this-command-keys by read-key-sequence. - -2006-10-22 Martin Rudalics - - * textmodes/flyspell.el (flyspell-word): Skip past all previous - whitespace when checking doublons. - (flyspell-check-region-doublons): Fix doublon regexp. - (flyspell-highlight-incorrect-region): Highlight doublons using - flyspell-duplicate face. - - * progmodes/cperl-mode.el (cperl-invalid-face): Fix defcustom. - -2006-10-22 John Wiegley - - * progmodes/python.el (python-use-skeletons): python-mode was - auto-inserting templates (for those with abbrev-mode on), not only - by default -- *but without a configuration variable to disable - it*. This rendered python-mode completely useless for me, so I - have added `python-use-skeletons', which is now off by default. - -2006-10-22 Chong Yidong - - * progmodes/cperl-mode.el (cperl-mode): Don't assume - font-lock-multiline is auto-local (it's not). - (cperl-windowed-init): Ensure that cperl-font-lock-multiline is - initialized before calling cperl-init-faces. - -2006-10-22 Nick Roberts - - * progmodes/gdb-ui.el (gdb-info-stack-custom): Don't try to give - gdb-stack-position a value when there is no fringe. - - * bindings.el (mode-line-mode-menu): Disable auto-revert-tail-mode - indicator if not visiting a file. - -2006-10-20 David Kastrup - - * window.el (kill-buffer-and-window): Fix a bug where an aborted - operation would still cause some window to collapse later. - -2006-10-20 Stefan Monnier - - * vc.el (vc-switch-backend): Try to be more careful with unwanted - side-effect due to mixing various backends's file properties. - - * vc-svn.el (vc-svn-parse-status): Remove unused arg `localp'. - Add arg `filename' instead. Don't set vc-backend if `filename' is set. - Return `filename's status if applicable. Update callers. - -2006-10-19 Kenichi Handa - - * international/kkc.el (kkc-region): When a key sequence is not - defined, append (this-single-command-raw-keys) to - unread-input-method-events. - -2006-10-19 Juanma Barranquero - - * progmodes/ada-mode.el (ada-in-string-p): Doc fix. - -2006-10-19 YAMAMOTO Mitsuharu - - * version.el (emacs-version): Use mac-carbon-version-string. - - * term/macterm.el (res-geometry): Apply 2006-10-18 change for x-win.el. - -2006-10-19 Jan Dj,Ad(Brv - - * select.el (ccl-check-utf-8, string-utf-8-p): New functions (by - Kenichi Handa). - (xselect-convert-to-string): Decline requests for UTF8_STRING if - the selection is not UTF-8. - -2006-10-18 Juanma Barranquero - - * progmodes/ada-mode.el (ada-83-string-keywords) - (ada-last-which-function-line ada-no-auto-case, ada-indent-region) - (ada-which-compiler, ada-align-modes, ada-adjust-case-buffer) - (ada-looking-at-semi-private, ada-get-body-name): - Fix typos in docstrings. - (ada-create-case-exception, ada-create-case-exception-substring): - Fix typos in error messages. - (ada-goto-matching-end, ada-narrow-to-defun): Doc fixes. - -2006-10-18 Jan Dj,Ad(Brv - - * term/x-win.el (res-geometry): Don't set geometry from Xresources - to default-frame-alist if default-frame-alist already contains - width/height. - -2006-10-18 Richard Stallman - - * emacs-lisp/pp.el (pp-eval-expression): Use `X' to read value. - Non-interactive arg is the value, not the expression. - - * simple.el (read-expression-map): Just set it, no defvar. - - * subr.el (insert-for-yank-1): If last inserted char has - properties, mark them as rear-nonsticky. - - * recentf.el (recentf-mode): Doc fix. - - * facemenu.el (facemenu-add-new-face): Defend against symbol - that isn't a face name. - - * dired-aux.el (dired-do-copy): Doc fix. - -2006-10-18 Chong Yidong - - * simple.el (line-move-1): Ignore fields when moving to the - beginning of line to avoid getting point stuck. - -2006-10-18 Martin Rudalics - - * textmodes/flyspell.el (flyspell-word-search-backward): - Set inhibit-point-motion-hooks to avoid looping due to intangibile - text. - -2006-10-16 Richard Stallman - - * help-fns.el (describe-function-1): Special case optimization - for self-insert-command. - -2006-10-16 Kim F. Storm - - * ido.el (ido-reread-directory): Work in `dir' mode too. - -2006-10-15 Martin Rudalics - - * textmodes/table.el: Require 'regexp-opt. - -2006-10-15 Lennart Borgman - - * progmodes/flymake.el (flymake-get-project-include-dirs-imp): - Use shell-quote-argument. - - * shell.el (explicit-bash-args): Likewise. - - * progmodes/ada-xref.el (ada-find-in-src-path): Likewise. - Use grep -E rather than egrep. - -2006-10-15 Micha,Ak(Bl Cadilhac - - * ido.el (ido-exhibit): Allow `-', `_', and trailing `$' in user id. - -2006-10-15 Kim F. Storm - - * filesets.el (filesets-run-cmd--repl-fn): Use shell-quote-argument. - -2006-10-14 Lennart Borgman - - * filesets.el (filesets-cmd-shell-command): Quote buffer-file-name - to protect whitespace and metacharacters from the shell. - -2006-10-13 Giorgos Keramidas (tiny change) - - * apropos.el (apropos-pattern-quoted): Fix a typo in a doc string. - -2006-10-13 Eli Zaretskii - - * subr.el (start-process-shell-command): Doc fix. - -2006-10-13 Andrea Russo (tiny change) - - * info-look.el : Allow [0-9] in - the regexp for Maxima symbols. - -2006-10-13 Stefan Monnier - - * vc-hooks.el (vc-ignore-dir-regexp): Make it into a defcustom. - (vc-find-root): Don't walk higher up than ~. - -2006-10-12 Chong Yidong - - * international/utf-8.el (utf-translate-cjk-load-tables): - Avoid clobbering last-coding-system-used during load. - -2006-10-12 Carsten Dominik - - * textmodes/reftex-global.el (reftex-create-tags-file): - Quote file arguments. - -2006-10-12 Richard Stallman - - * files.el (file-name-history): Add defvar. - (save-some-buffers-action-alist): Improve description strings. - -2006-10-12 Andreas Schwab - - * files.el (auto-mode-alist): Match change log file name also with - a dash before a numeric extension. - -2006-10-11 Ilya Zakharevich - - * progmodes/cperl-mode.el: Merge from upstream, upto version 5.22. - After 5.0: - (cperl-add-tags-recurse-noxs-fullpath): New function (for -batch mode). - - After 5.1: Major edit. Summary of most visible changes: - - - Multiple <. - Copyright message updated. - (cperl-init-faces): Work around a bug in `font-lock'. May slow - facification down a bit. - Misprint for my|our|local for old `font-lock' - "our" was not fontified same as "my|local". - Highlight variables after "my" etc even in - a middle of an expression. - Do not facify multiple variables after my etc - unless parentheses are present. - - After 5.5, 5.6 - (cperl-fontify-syntaxically): after-change hook could reset. - (cperl-syntax-done-to) to a middle of line; unwind to BOL. - - After 5.7: - (cperl-init-faces): Allow highlighting of local ($/). - (cperl-problems-old-emaxen): New variable (for the use of DOCSTRING). - (cperl-problems): Remove fixed problems. - (cperl-find-pods-heres): Recognize #-comments in m##x too. - Recognize charclasses (unless delimiter is \). - (cperl-fontify-syntaxically): Unwinding to safe was done in wrong order. - (cperl-regexp-scan): Update docs. - (cperl-beautify-regexp-piece): Use information got from regexp scan. - - After 5.8: - Major user visible changes: - Recognition and fontification of character classes in RExen. - Variable indentation of RExen according to groups. - - (cperl-find-pods-heres): Recognize POSIX classes in REx charclasses. - Fontify REx charclasses in variable-name face. - Fontify POSIX charclasses in "type" face. - Fontify unmatched "]" in function-name face. - Mark first-char of HERE-doc as `front-sticky'. - Reset `front-sticky' property when needed. - (cperl-calculate-indent): Indents //x -RExen accordning to parens level. - (cperl-to-comment-or-eol): Recognize ends of `syntax-type' constructs. - (cperl-backward-to-noncomment): Recognize stringy `syntax-type' - constructs. Support `narrow'ed buffers. - (cperl-praise): Remove a reservation. - (cperl-make-indent): New function. - (cperl-indent-for-comment): Use `cperl-make-indent'. - (cperl-indent-line): Likewise. - (cperl-lineup): Likewise. - (cperl-beautify-regexp-piece): Likewise. - (cperl-contract-level): Likewise. - (cperl-toggle-set-debug-unwind): New function. - New menu entry for this. - (fill-paragraph-function): Use when `boundp'. - (cperl-calculate-indent): Take into account groups when indenting RExen. - (cperl-to-comment-or-eol): Recognize # which end a string. - (cperl-modify-syntax-type): Make only syntax-table property non-sticky. - (cperl-fill-paragraph): Return t: needed for `fill-paragraph-function'. - (cperl-fontify-syntaxically): More clear debugging message. - (cperl-pod2man-build-command): Check (XEmacs) `Man-filter-list'. - (cperl-init-faces): More complicated highlight even on XEmacs (new). - Merge cosmetic changes from XEmacs. - - After 5.9: - (cperl-1+): Move to before the first use. - (cperl-1-): Likewise. - - After 5.10: - - This code may lock Emacs hard!!! Use at your own risk! - - (cperl-font-locking): New internal variable. - (cperl-beginning-of-property): New function. - (cperl-calculate-indent): Use `cperl-beginning-of-property' - instead of `previous-single-property-change'. - (cperl-unwind-to-safe): Likewise. - (cperl-after-expr-p): Likewise. - (cperl-get-here-doc-region): Likewise. - (cperl-font-lock-fontify-region-function): Likewise. - (cperl-to-comment-or-eol): Do not call `cperl-update-syntaxification' - recursively. - Bound `next-single-property-change' via `point-max'. - (cperl-unwind-to-safe): Bound likewise - (cperl-font-lock-fontify-region-function): Likewise. - (cperl-find-pods-heres): Mark as recursive for `cperl-to-comment-or-eol' - Initialization of `cperl-font-lock-multiline-start' could be - missed if the "main" fontification did not run due to the - keyword being already fontified. - (cperl-pod-spell): Return t from do-one-chunk function. - (cperl-map-pods-heres): Stop when the worker returns nil. - Call `cperl-update-syntaxification'. - (cperl-get-here-doc-region): Call `cperl-update-syntaxification'. - (cperl-get-here-doc-delim): Remove unused function. - - After 5.11: - - The possible lockup of Emacs (introduced in 5.10) fixed. - - (cperl-unwind-to-safe): `cperl-beginning-of-property' won't return nil. - (cperl-syntaxify-for-menu): New customization variable. - (cperl-select-this-pod-or-here-doc): New function. - (cperl-get-here-doc-region): Extra argument. - Do not adjust pos by 1. - - New menu entries - (Perl/Tools): Selection of current POD or HERE-DOC section. - (Debugging CPerl:) backtrace on fontification. - - After 5.12: - (cperl-cached-syntax-table): Use `car-safe'. - (cperl-forward-re): Remove spurious argument SET-ST. - Add documentation. - (cperl-forward-group-in-re): New function. - (cperl-find-pods-heres): Find and highlight (?{}) blocks in RExen - (XXXX Temporary (?) hack is to syntax-mark them as comment). - - After 5.13: - (cperl-string-syntax-table): Make { and } not-grouping - (Sometimes they ARE grouping in RExen, but matching them would only - confuse in many situations when they are not) - (beginning-of-buffer): Replace two occurrences with goto-char... - (cperl-calculate-indent): `char-after' could be nil... - (cperl-find-pods-heres): REx can start after "[" too. - Hightlight (??{}) in RExen too. - (cperl-maybe-white-and-comment-rex): New constant - (cperl-white-and-comment-rex): Likewise. - XXXX Not very efficient, but hard to make - better while keeping 1 group. - - After 5.13: - (cperl-find-pods-heres): $foo << identifier() is not a HERE-DOC. - Likewise for 1 << identifier. - - After 5.14: - (cperl-find-pods-heres): Different logic for $foo .= < - - * dnd.el (dnd-handle-one-url): Fix typo in doc-string. - * help-at-pt.el (scan-buf-move-to-region): Likewise. - * longlines.el (longlines-window-change-function): Likewise. - * simple.el (undo-ask-before-discard): Likewise. - * wid-edit.el (widget-field-prompt-internal) - (widget-documentation-link-p): Likewise. - -2006-10-10 Stefan Monnier - - * progmodes/sh-script.el (sh-get-kw): | is not among the allowed chars - for a keyword. - -2006-10-09 Stefan Monnier - - * newcomment.el (comment-valid-prefix-p): Make the check - more thorough. From an idea by Martin Rudalics . - (comment-indent-new-line): Adjust call. - -2006-10-09 Ken Manheimer - - * allout.el (allout-back-to-current-heading): Base on lower-level - routines to get proper disqualification of aberrant topics. - -2006-10-09 Richard Stallman - - * textmodes/two-column.el (2C-two-columns): Doc fix. - -2006-10-09 Kim F. Storm - - * shell.el (explicit-csh-args, explicit-bash-args): Add comment - about implicit use. - -2006-10-08 Richard Stallman - - * textmodes/two-column.el (2C-two-columns): Doc fix. - -2006-10-08 Reiner Steib - - * files.el: Mark `buffer-read-only' as safe-local-variable. - -2006-10-08 Nick Roberts - - * progmodes/gdb-ui.el (gdb-speedbar-expand-node): - Burp if GUD buffer has been killed. - -2006-10-07 Stefan Monnier - - * completion.el (add-completions-from-c-buffer): - Don't presume an error's second element is a string. - Use looking-at rather than buffer-substring + member. - -2006-10-07 Eli Zaretskii - - * mail/rmail.el (rmail-redecode-body): If the old encoding is - `undecided', call find-coding-systems-region to find a proper - non-trivial encoding. - (rmail-mime-charset-pattern): Allow a TAB between "Content-Type" - and "text/plain". - -2006-10-07 Kevin Ryde - - * textmodes/reftex-vars.el (defgroup reftex): Update home page - url-link. - - * strokes.el (defgroup strokes): Remove invalid url-link. - -2006-10-07 Magnus Henoch - - * autoinsert.el (auto-insert-alist): Doc fix. - -2006-10-07 Johan Bockg,Ae(Brd - - * mouse-sel.el (mouse-insert-selection-internal): - Use insert-for-yank, so that yank handlers are run. - -2006-10-07 Kim F. Storm - - * ido.el (ido-file-extension-aux): Fix comparison. - -2006-10-06 Kim F. Storm - - * ido.el (ido-wide-find-dirs-or-files): Use shell-quote-argument. - -2006-10-05 Juanma Barranquero - - * emacs-lisp/advice.el (ad-remove-advice, ad-parse-arglist) - (ad-make-mapped-call): Use `let', not `let*'. - -2006-10-05 Chong Yidong - - * international/mule-cmds.el (coding-system-change-eol-conversion): - Ensure the coding system is initialized before calling - coding-system-eol-type. - -2006-10-04 Carsten Dominik - - * textmodes/org.el (org-rm-props, org-activate-plain-links) - (org-activate-angle-links, org-activate-dates) - (org-activate-target-links, org-activate-camels) - (org-activate-tags): Add `rear-nonsticky' text property to avoid - textproperty keymaps from being active beyond the end of a line. - (org-unfontify-region): Also remove `rear-nonsticky' property. - -2006-10-04 Kenichi Handa - - * international/code-pages.el (next): Table fixed. - -2006-10-04 Stefan Monnier - - * progmodes/sh-script.el (sh-prev-thing): Remove (forward-char 1) now - that it's been made unnecessary by removing narrowing. - -2006-10-03 Stefan Monnier - - * progmodes/sh-script.el (sh-prev-thing): Massage to untangle the - control flow a bit, simplify another bit, and add comments. - -2006-10-03 David Kastrup - - * help.el (describe-mode): For clicks on mode-line, use "@" - interactive argument to get the major mode of the click instead of - the current buffer. - - * isearch.el (isearch-mouse-2): Use new semantics of `key-binding' - in order to better redirect mouse-2 clicks. Also allow default - bindings to apply. - -2006-10-03 Kim F. Storm - - * emacs-lisp/cl.el (pushnew-internal): Remove defvar. - (pushnew): Fix last change. - -2006-10-03 Denis St,A|(Bnkel (tiny change) - - * ibuf-ext.el (eval, view-and-eval) : - Use the interactive spec of `eval-expression'. - -2006-10-02 Michael Welsh Duggan - - * progmodes/sh-script.el (sh-prev-thing): Fix last change. - -2006-10-02 MIYOSHI Masanori (tiny change) - - * mail/smtpmail.el (smtpmail-try-auth-methods): Fix typo in - 2006-09-28 commit. - -2006-10-02 Kenichi Handa - - * international/code-pages.el (iso-8859-6): Table fixed. - -2006-10-01 Chris Moore - - * dired.el (dired-build-subdir-alist): Fix previous change. - -2006-10-01 Johan Bockg,Ae(Brd - - * simple.el (undo-elt-crosses-region): Fix the inequalities. - -2006-10-01 Stefan Monnier - - * emacs-lisp/find-func.el (find-function-regexp): Don't match - "define-button-type". - - * pcvs.el (cvs-update-header): Fix handling of extra newlines so that - they don't keep accumulating. - -2006-10-01 Bob Rogers (tiny change) - - * ffap.el (ffap-rfc-path): Change the address of the RFC - repository to ftp.rfc-editor.org, as ds.internic.net seems to be gone. - -2006-10-01 Stephen Berman - - * allout.el (allout-expose-topic): Rectify implementation of "+" - spec, so that bodies are not exposed with headlines. - -2006-10-01 Ken Manheimer - - * allout.el (allout-current-depth): Do aberrent check only at or - below doublecheck depth. - (allout-chart-subtree): Make it explicit that LEVELS being nil - means unlimited depth. Drop undocumented support for LEVELS value - t meaning unlimited depth. (This is consistent with - allout-chart-to-reveal, but contrary to allout-show-children, - which needs to use nil to default to depth of 1.) - (allout-goto-prefix-doublechecked): Wrap long docstring line. - (allout-chart-to-reveal): Be explicit in docstring about meaning - of nil LEVELS, and drop support for LEVELS value t. - (allout-show-children): Translate the level spec used by this - routine to that used by allout-chart-subtree and - allout-chart-to-reveal. - (allout-show-to-offshoot): Retry once when stuck, after opening - subtree - improvements in discontinuity handling likely will - enable progress. - -2006-09-30 Chong Yidong - - * wid-edit.el (widget-button-click-moves-point): New variable. - (widget-button-click): If widget-button-click-moves-point is - non-nil, set point after performing the button action. - - * cus-edit.el (custom-mode): Set widget-button-click-moves-point. - -2006-09-30 Martin Rudalics - - * files.el (find-file-existing): Modify to not allow wildcards. - -2006-09-30 Johan Bockg,Ae(Brd - - * simple.el (undo-more): When undo information for the region is - exhausted, say "No further undo information FOR REGION". - -2006-09-30 Michael Welsh Duggan - - * progmodes/sh-script.el (sh-prev-thing): - Take `sh-leading-keywords' into account. - -2006-09-29 Glenn Morris - - * custom.el (defcustom): Doc fix. - - * calendar/calendar.el (european-calendar-style): - Call european-calendar or american-calendar as needed when set. - (diary-view-entries, list-calendar-holidays): Move autoloads - before use. - -2006-09-29 Juri Linkov - - * progmodes/cperl-mode.el (cperl-after-expr-p): Don't move point - to nil if there is no previous property change. - -2006-09-29 Micha,Ak(Bl Cadilhac - - * cus-edit.el (custom-save-all): Switch to emacs-lisp mode before - saving anything to be sure that `forward-sexp' behaves correctly. - -2006-09-29 Chong Yidong - - * simple.el (line-move-finish): Ignore field boundaries if the - initial and final points have the same `field' property. - -2006-09-29 Kim F. Storm - - * ido.el (ido-file-internal): Only bind minibuffer-completing-file-name - to t while calling ido-read-internal. - -2006-09-29 Carsten Dominik - - * textmodes/org.el (org-file-remote-p): Get regexp from list. - (org-archive-subtree): Remove erraneous `]' from character list. - -2006-09-28 Jonathan Yavner - - * ses.el (ses-in-print-area, ses-goto-data, ses-load) - (ses-reconstruct-all): Make undo of "insert row" work by keeping - markers for data-area and parameters-area. - -2006-09-28 Stefan Monnier - - * progmodes/make-mode.el (makefile-mode): Don't disable jit-lock. - - * font-lock.el (font-lock-after-change-function): Refontify next line - as well if end is at BOL. - (font-lock-extend-jit-lock-region-after-change): Be more careful to - only extend the region as much as needed. - -2006-09-28 Richard Stallman - - * comint.el (comint-mode): Bind font-lock-defaults non-nil. - - * subr.el (insert-for-yank-1): Handle `font-lock-face' specially. - - * international/mule.el (after-insert-file-set-coding): - If VISIT, don't let set-buffer-multibyte make undo info. - -2006-09-28 Osamu Yamane (tiny change) - - * mail/smtpmail.el (smtpmail-try-auth-methods): Do not break long - lines in base64-encoded authentication response. - -2006-09-26 Vinicius Jose Latorre - - * progmodes/ebnf2ps.el: Doc fix. Implement arrow spacing and scaling. - (ebnf-version): New version 4.3. - (ebnf-arrow-extra-width, ebnf-arrow-scale): New options. - (ebnf-prologue): Adjust PostScript programming. - (ebnf-begin-file, ebnf-insert-ebnf-prologue, ebnf-terminal-dimension1) - (ebnf-repeat-dimension, ebnf-except-dimension): Adjust code. - -2006-09-26 Stefan Monnier - - * jit-lock.el (jit-lock-force-redisplay): Rename from - jit-lock-fontify-again, and undo the mistaken change I've just done. - - * jit-lock.el (jit-lock-fontify-now): Don't fontify the empty text. - (jit-lock-fontify-again): Don't refontify text that's not displayed. - -2006-09-26 Kenichi Handa - - * startup.el (display-splash-screen): Allow a prefix argument. - -2006-09-25 Jason Rumney - - * subr.el (shell-quote-argument): Use DOS logic for Windows - shells with DOS semantics. - -2006-09-24 Richard Stallman - - * progmodes/compile.el (compilation-goto-locus-delete-o): New fn. - (compilation-goto-locus): Use compilation-goto-locus-delete-o - to delete the overlay. Put it on pre-command-hook. - - * emacs-lisp/timer.el (timer-max-repeats): Doc fix. - - * startup.el (fancy-splash-screens, normal-splash-screen): - Call the splash buffer *About GNU Emacs*. - - * simple.el (next-error-highlight, next-error-highlight-no-select): - Default to 0.5. - (yank-excluded-properties): Add `fontified'. - - * font-lock.el (font-lock-compile-keywords): Allow value of - syntax-begin-function to enable paren-column-0 highlighting. - -2006-09-24 Chris Moore - - * dired.el (dired-build-subdir-alist): When file ends in colon, - don't exit the loop, just disregard that file. - -2006-09-24 Chong Yidong - - * simple.el (line-move-finish): Handle corner case for fields in - continued lines. - (line-move-1): Remove flawed test for that case. - -2006-09-24 Ken Manheimer - - * icomplete.el (icomplete-simple-completing-p): Use the correct - name for the new variable, `icomplete-with-completion-tables'. - (file local variables): Remove superfluous setting. - -2006-09-23 Jeff Miller (tiny change) - - * calendar/appt.el (appt-check): Fix typo for appointments just - after midnight. - -2006-09-23 Chong Yidong - - * help.el (describe-key-briefly, describe-key): Don't expect an - extra up event if a down-event is generated by a popup menu. - -2006-09-23 Michal Nazarewicz (tiny change) - - * textmodes/ispell.el (ispell-change-dictionary): Don't check the - local dictionary when changing the global dictionary. - -2006-09-23 Ken Manheimer - - * icomplete.el (icomplete-with-completion-tables): List of - specialized completion tables with which icomplete should - operate. Include the new `internal-complete-buffer', so icomplete - works with interactive buffer-selection. - (icomplete-simple-completing-p): Add acceptance of specialized - completion tables listed in icomplete-with-completion-tables. - -2006-09-23 YAMAMOTO Mitsuharu - - * frame.el (focus-follows-mouse): Set default to nil on Mac. - - * startup.el (command-line): Use `custom-reevaluate-setting' for - `focus-follows-mouse'. - -2006-09-22 Richard Stallman - - * cus-edit.el (custom-buffer-create-internal): In `emacs -q', - explain why Save is not available. - -2006-09-22 Juanma Barranquero - - * woman.el (woman0-so): Use `let*', not `let'. - (woman-horizontal-line): Remove unbalanced parenthesis. - -2006-09-22 Stefan Monnier - - * woman.el: Make sure all the end-of-region markers we use have - a non-nil insertion-type. - (woman0-so): Move things around so we can use copy-marker. - (woman0-roff-buffer, woman2-process-escapes-to-eol, woman2-roff-buffer): - Adjust marker type. - (woman2-process-escapes): Check marker type. - (woman-horizontal-line): Dispense with the use of a marker. - -2006-09-22 Jay Belanger - - * calc/calc-lang.el: Add Greek letters to math-variable-table - property of tex. - -2006-09-22 Chong Yidong - - * files.el (save-some-buffers-action-alist): Display diff in view-mode. - -2006-09-22 Masatake YAMATO - - * add-log.el (add-log-current-defun): Use `forward-sexp' - instead of `forward-word' to pick c++::symbol. - Reported by Guanpeng Xu . - -2006-09-22 Kenichi Handa - - * bindings.el: Fix setting self-insert-command for multibyte - characters in global-map. - -2006-09-21 David Kastrup - - * mouse.el (mouse-posn-property): Fix typo for `event-start' in - doc string. - -2006-09-21 Kenichi Handa - - * language/european.el ("Latin-1"): Add windows-1252 to - coding-priority. - ("German"): Likewise. - -2006-09-21 Kim F. Storm - - * emacs-lisp/cl-macs.el (member*): Use memql instead of complex code. - Suggested by Miles Bader. - - * emacs-lisp/cl.el (pushnew): Rework 2006-09-10 change. Use memql - instead of add-to-list in the simple case. - -2006-09-20 Kenichi Handa - - * isearch.el (isearch-process-search-char): Cancel the previous change. - (isearch-search-string): New function. - (isearch-search): Use isearch-search-string. - (isearch-lazy-highlight-search): Likewise. - -2006-09-20 Vinicius Jose Latorre - - * lpr.el (lpr-page-header-switches): Insert `*' at beginning of doc - string to become an option. - -2006-09-20 Stefan Monnier - - * files.el (find-buffer-visiting): Don't get fooled by a nil inode. - -2006-09-20 Kim F. Storm - - * simple.el (line-move-partial): Call pos-visible-in-window-p with - position t instead of trying both window-end and window-end - 1. - -2006-09-20 Carsten Dominik - - * textmodes/org.el (org-scan-tags): Find end of subtrees also in - hidden trees. - -2006-09-20 David Kastrup - - * mouse.el (mouse-posn-property): Improve doc string. - (mouse-on-link-p): Change buffers for function calls on links. - - * menu-bar.el (clipboard-yank): Bomb out in interactive use if - buffer is read-only. - -2006-09-20 Ken Manheimer - - * allout.el (allout-unprotected): Let inhibit-read-only only when - buffer-read-only isn't set. - (allout-annotate-hidden): Enable topic annotation during copies even - when the buffer is read-only, eg for topic copies. Ensure that the loop - advances, even when the span extends beyond the deletion region. - (allout-toggle-subtree-encryption): Use allout-structure-added-hook - rather than allout-exposure-changed-hook, as a stronger assertion. - (allout-keybindings-list): Add bindings for - allout-copy-line-as-kill and allout-copy-topic-as-kill. - (allout-copy-line-as-kill, allout-copy-topic-as-kill): - Copy wrappers for allout-kill-line and allout-kill-topic. - (allout-listify-exposed): Position correctly to accumulate lines. - -2006-09-19 Chong Yidong - - * simple.el (line-move-1): Escape field boundaries occurring - exactly at point. Update goal column if constrained to a field. - (line-move-finish): Escape field boundaries occurring exactly at point. - -2006-09-19 Stefan Monnier - - * mouse.el (mouse-on-link-p): Tentatively fix last change. - (mouse-drag-vertical-line): Remove unused var `wconfig'. - -2006-09-19 Kim F. Storm - - * help.el (describe-key-briefly, describe-key): Simplify printing - of descriptions by using format and %S. Fix "is undefined" - messages to say "at that spot" for mouse events. - - * simple.el (line-move-partial): Optimize. Try window-line-height - before posn-at-point to get vpos of current line. - -2006-09-18 Michael Kifer - - * emulation/viper.el: Bump up version/date of update to reflect the - substantial changes done in August 2006. - - * emulation/viper-cmd (viper-next-line-at-bol): Make sure button-at, - push-button are defined. - - * ediff-util.el (ediff-add-to-history): New function. - - * ediff.el: Use ediff-add-to-history instead of add-to-history. - -2006-09-18 Wolfgang Jenkner (tiny change) - - * textmodes/conf-mode.el (conf-space-mode): Doc fix. - Delete duplicate make-local-variable form. - (conf-space-keywords): Add autoload cookie. - Fix typo (`keywords', not `keyword'). - -2006-09-18 Jan Dj,Ad(Brv - - * cus-start.el (all): Rename x-gtk-show-chooser-help-text to - x-gtk-file-dialog-help-text. Rename x-use-old-gtk-file-dialog - to x-gtk-use-old-file-dialog. - -2006-09-18 Richard Stallman - - * wid-edit.el (widget-button-click): Handle non-mouse-motion events - that might come in during mouse tracking. - -2006-09-18 Kim F. Storm - - * simple.el (line-move-partial): Rework 2006-09-15 change to use - new window-line-height function. Further optimize by not calling - pos-visible-in-window-p for window-end when window-line-height - returns useful information. - -2006-09-16 Richard Stallman - - * textmodes/conf-mode.el (conf-mode-map): Use conf-space-keywords cmd. - (conf-space-mode): Don't handle prefix arg. - Delete conf-space-keywords-override code. - Use add-hook. - (conf-space-keywords): New command. - (conf-space-mode-internal): Be careful with imenu-generic-expression. - Delete conf-space-keywords-override code. - (conf-space-keywords-alist): Doc fix. - (conf-space-font-lock-keywords): Doc fix. - (conf-space-keywords-override): Var deleted. - -2006-09-16 Chong Yidong - - * startup.el (fancy-splash-screens): Don't switch to the scratch - buffer; it may not be the next buffer. - -2006-09-16 Romain Francoise - - * saveplace.el (load-save-place-alist-from-file): Use expanded name - in both messages. - -2006-09-16 Slawomir Nowaczyk - - * progmodes/python.el (python-preoutput-filter): - Fix arg order to string-match. - -2006-09-16 Richard Stallman - - * obsolete/fast-lock.el (fast-lock-cache-data): Provide 2nd arg to - font-lock-compile-keywords. - - * font-lock.el (font-lock-compile-keywords): Rename optional arg - to SYNTACTIC-KEYWORDS and reverse the sense. All callers changed. - -2006-09-16 Jan Dj,Ad(Brv - - * cus-start.el (all): Add x-gtk-show-chooser-help-text. - - * select.el (xselect-convert-to-string): If UTF8_STRING is requested - and the data doesn't look like UTF8, send STRING instead. - -2006-09-16 Agust,Am(Bn Mart,Am(Bn - - * textmodes/flyspell.el (flyspell-check-region-doublons): - New function to detect duplicated words. - (flyspell-large-region): Use it. - -2006-09-16 Chong Yidong - - * simple.el (line-move-to-column): Revert 2006-08-03 change. - -2006-09-16 Eli Zaretskii - - * help.el (describe-prefix-bindings): Use let, not let*. - -2006-09-16 Ken Manheimer - - * allout.el (allout-regexp, allout-line-boundary-regexp) - (allout-bob-regexp): Correct grouping and boundaries to fix - backwards traversal. - (allout-depth-specific-regexp, allout-depth-one-regexp): - New versions that exploit \\{M\\} regexp syntax, to avoid geometric or - worse time in allout-ascend. - (allout-doublecheck-at-and-shallower): Identify depth threshold - below which topics are checked for and disqualified by containment - discontinuities. - (allout-hotspot-key-handler): Correctly handle multiple-key - strokes. Remove some unused variables. - (allout-mode-leaders): Clarify that mode-specific comment-start - will be used. - (set-allout-regexp): Correctly regexp-quote allout regexps to - properly accept alternative header-leads and primary bullets with - regexp-specific characters (eg, C "/*", mathematica "(*"). - Include new regular expressions among those configured. - (allout-infer-header-lead-and-primary-bullet): - Rename allout-infer-header-lead. - (allout-recent-depth): Manifest as a variable as well as a function. - (allout-prefix-data): Simplify into an inline instead of a macro, - assuming current match data rather than being explicitly passed - it. Establish allout-recent-depth value as well as - allout-recent-prefix-beginning and allout-recent-prefix-end. - (allout-aberrant-container-p): True when an item's immediate - offspring discontinuously contained. Useful for disqualifying - unintended topic prefixes, likely at low depths. - (allout-goto-prefix-doublechecked): Elaborate version of - allout-goto-prefix which disqualifies aberrant pseudo-items. - (allout-pre-next-prefix): Layer on top of lower-level routines, to - get disqualification of aberrant containers. - (allout-end-of-prefix, allout-end-of-subtree): Disqualify aberrant - containers. - (allout-beginning-of-current-entry): Position at start of buffer - when in container (depth 0) entry. - (nullify-allout-prefix-data): Invalidate allout-recent-* prefix data. - (allout-current-bullet): Strip text properties. - (allout-get-prefix-bullet): Use right match groups. - (allout-beginning-of-line, allout-next-heading): - Disqualify aberrant containers. - (allout-previous-heading): Disqualify aberrant containers, and - change to regular (rather than inline) function, to allow - self-recursion. - (allout-get-invisibility-overlay): Increment so progress is made - when the first overlay is not the sought one. - (allout-end-of-prefix): Disqualify aberrant containers. - (allout-end-of-line): Cycle something like allout-beginning-of-line. - (allout-mode): Make allout-old-style-prefixes (ie, enabling use with - outline.el outlines) functional again. Change the primary bullet - along with the header-lead - level 1 new-style bullets now work. - Engage allout-before-change-handler in mainline Emacs, not just - XEmacs, to do undo handling. - (allout-before-change-handler): Expose undo changes occurring in - hidden regions. Use allout-get-invisibility-overlay instead of - reimplementing it inline. - (allout-chart-subtree): Use start rather than end of prefix in - charts. Use allout-recent-depth variable. - (allout-chart-siblings): Disqualify aberrant topics. - (allout-beginning-of-current-entry): Position correctly. - (allout-ascend): Use new allout-depth-specific-regexp and - allout-depth-one-regexp for linear instead of O(N^2) or worse - behavior. - (allout-ascend-to-depth): Depend on allout-ascend, rather than - reimplementing an algorithm. - (allout-up-current-level): Depend on allout-ascend, rather than - reimplementing an algorithm. Return to start-point if we fail. - (allout-descend-to-depth): Use allout-recent-depth variable - instead of function. - (allout-next-sibling): On traversal of numerous intervening - topics, resort to economical allout-next-sibling-leap. - (allout-next-sibling-leap): Specialized version of - allout-next-sibling that uses allout-ascend cleverly, to depend on - a regexp search to leap large numbers of contained topics, rather - than arbitrarily many one-by-one traversals. - (allout-next-visible-heading): Disqualify aberrant topics. - (allout-previous-visible-heading): Position consistently when - interactive. - (allout-forward-current-level): Base on allout-previous-sibling - rather than (differently) reimplmenting the algorithm. Remove some - unused variables. - (allout-solicit-alternate-bullet): Present default choice stripped - of text properties. - (allout-rebullet-heading): Use bullet stripped of text properties. - Register changes using allout-exposure-change-hook. - Disregard aberrant topics. - (allout-shift-in): With universal-argument, make topic a peer of - it's former offspring. Simplify the code by separating out - allout-shift-out functionality. - (allout-shift-out): With universal-argument, make offspring peers - of their former container, and its siblings. Implement the - functionality here, rather than inappropriately muddling the - implementation of allout-shift-in. - (allout-rebullet-topic): Respect additional argument for new - parent-child separation function. - (allout-yank-processing): Use allout-ascend directly. - (allout-show-entry): Disqualify aberrant topics. - (allout-show-children): Handle discontinuous children gracefully, - extending the depth being revealed to expose them and posting a - message indicating the situation. - (allout-show-to-offshoot): Remove obsolete and incorrect comment. - Leave cursor in correct position. - (allout-hide-current-subtree): Use allout-ascend directly. - Disqualify aberrant topics. - (allout-kill-line, allout-kill-topic): Preserve exposure layout in - a way that the yanks can restore it, as used to happen. - (allout-yank-processing): Restore exposure layout as recorded by - allout-kill-*, as used to happen. - (allout-annotate-hidden, allout-hide-by-annotation): New routines - for preseving and restoring exposure layout across kills. - (allout-toggle-subtree-encryption): Run allout-exposure-change-hook. - (allout-encrypt-string): Strip text properties. - Rearranged order and outline-headings for some of the - miscellaneous functions. - (allout-resolve-xref): No need to quote the error name in the - condition-case handler section. - (allout-flatten): Classic recursive (and recursively intensive, - without tail-recursion) list-flattener, needed by allout-shift-out - when confronted with discontinuous children. - -2006-09-16 Jason Rumney - - * dnd.el (dnd-open-remote-file-function): Use dnd-open-local-file - on ms-windows. - (dnd-open-unc-file): Remove. - (dnd-open-local-file): Mention in doc string that it also handles - remote files if the system natively supports unc file-names. - -2006-09-15 Kim F. Storm - - * help.el (describe-key): Handle C-h k in *Help* buffer; collect - all necessary information about the event before erasing *Help*. - - * simple.el (line-move-partial): Use window-line-visiblity to - quickly check whether last line is partially visible, and only do - the hard (and slow) part in that case. - -2006-09-15 Jay Belanger - - * COPYING: Replace "Library Public License" by "Lesser Public - License" throughout. - -2006-09-15 Jan Dj,Ad(Brv - - * term/x-win.el (x-menu-bar-open): New function for F10. - -2006-09-15 Chong Yidong - - * progmodes/compile.el (compilation-error-regexp-alist-alist): - Disallow filenames containing " -" to avoid confusion with libtool - compilation messages. Suggested by Stefan Monnier. - -2006-09-15 David Kastrup - - * mouse-sel.el (mouse-sel-follow-link-p): Use event position - instead of buffer position for `mouse-on-link-p'. - - * mouse.el (mouse-posn-property): New function looking up the - properties at a click position in overlays and text properties in - either buffer or strings. - (mouse-on-link-p): Use `mouse-posn-property' to streamline lookup - of both `follow-link' as well as `mouse-face' properties. - (mouse-drag-track): Check `mouse-on-link-p' on event position, not - buffer position. - - * help.el (describe-key-briefly): When reading a down-event on - mode lines or scroll bar, swallow the following up event, too. - Use the new mouse sensitity of `key-binding' for lookup. - (describe-key): The same here. - -2006-09-15 Juanma Barranquero - - * play/life.el (life-patterns): Add a few more interesting patterns. - (life-setup): Force `show-trailing-whitespace' to nil. - -2006-09-14 Richard Stallman - - * startup.el (fancy-splash-text): Change text to improve alignment. - (fancy-splash-screens): Don't set non-standard tab width. - Bind cursor-type temporarily, and make it easy to patch to - preserve the splash buffer. - (normal-splash-screen, fancy-splash-tail): Spell out "Meta-x". - (fancy-splash-screens): Display echo-area message explicitly. - Don't set fancy-splash-help-echo. - - * simple.el (line-number-mode): Group mode-line instead of - editing-basics. - (column-number-mode, size-indication-mode): Likewise. - - * faces.el (mode-line-faces): Group mode-line instead of modeline. - - * time.el (display-time): Group mode-line instead of modeline. - - * cus-edit.el (mode-line): Rename from modeline. All uses changed. - -2006-09-14 Chong Yidong - - * startup.el (fancy-splash-text): Move editing instructions to - fancy-splash-head. - (fancy-splash-head): Issue editing instructions. - (fancy-splash-screens): Fixup whitespace. - -2006-09-14 Stefan Monnier - - * bindings.el (mode-line-buffer-identification-keymap): - Remove duplicate line. - -2006-09-14 Micha,Ak(Bl Cadilhac - - * ido.el (ido-ignore-item-p): Allow any kind of functions in - ignore lists. - -2006-09-14 Kim F. Storm - - * jit-lock.el (jit-lock-fontify-again): New function. - (jit-lock-fontify-now): Use it instead of lambda form. - -2006-09-13 Agustin Martin - - * textmodes/flyspell.el (flyspell-word, flyspell-correct-word) - (flyspell-auto-correct-word): Make ispell-filter local to these - functions. Check that ispell-filter has new stuff before calling - ispell-parse-output. - -2006-09-13 Kim F. Storm - - * simple.el (line-move-partial): Optimize. - -2006-09-13 Richard Stallman - - * thingatpt.el (thing-at-point-bounds-of-url-at-point): - Delete spurious backquote. - -2006-09-07 Ryan Yeske - - * net/rcirc.el (rcirc-print): Fix last change. - -2006-09-12 Jay Belanger - - * calc/calc.el (calc-dispatch): Remove unnecessary `sit-for'. - -2006-09-07 Ryan Yeske - - * net/rcirc.el (rcirc-scroll-show-maximum-output): Rename from - rcirc-show-maximum-output. - (rcirc-mode): Remove window-scroll-function hook. - (rcirc-scroll-to-bottom): Remove function. - (rcirc-print): Recenter so point stays at the bottom of the window - if point was already there. - -2006-09-12 Paul Eggert - - * comint.el (comint-exec-1): Set EMACS to the full name of Emacs, - not to "t". - * progmodes/compile.el (compilation-start): Likewise. - * progmodes/idlwave.el (idlwave-rescan-asynchronously): - Don't use expand-file-name on invocation-directory, since this - might mishandle special characters in invocation-directory. - -2006-09-12 Stefan Monnier - - * pcvs-defs.el: Remove * in defcustom's docstrings. - -2006-09-12 Nick Roberts - - * progmodes/compile.el (compilation-directory-properties): - Doc fix for help-echo. - -2006-09-12 Lars Hansen - - * desktop.el (desktop-read): Add comment. - -2006-09-12 Kim F. Storm - - * simple.el (next-error-highlight, next-error-highlight-no-select): - Fix spelling error. - - * subr.el (sit-for): Rework to use input-pending-p and cond. - Return nil input is pending on entry also for SECONDS <= 0. - (while-no-input): Use input-pending-p instead of sit-for. - -2006-09-11 Richard Stallman - - * simple.el (next-error-highlight, next-error-highlight-no-select): - Fix custom type and doc strings. - -2006-09-11 Stefan Monnier - - * diff-mode.el (diff-apply-hunk-to-backup-file): New var. - (diff-apply-hunk): Use it to ask for confirmation. - -2006-09-11 Reiner Steib - - * emacs-lisp/cl.el (pushnew): Add missing `,'. - -2006-09-11 David Kastrup - - * help.el (string-key-binding, describe-key-briefly) - (describe-key): Remove `string-key-binding' and its callers since - `key-binding' already caters for the proper lookup now. - -2006-09-11 Stefan Monnier - - * progmodes/cfengine.el (cfengine-font-lock-syntactic-keywords): Newvar. - (cfengine-mode): Use it. Fix \ syntax to be like /. - - * bindings.el (mode-line-buffer-identification-keymap): - Move initialization into declaration. - -2006-09-10 Kim F. Storm - - * ido.el (ido-edit-input, ido-complete, ido-take-first-match) - (ido-push-dir-first, ido-kill-buffer-at-head, ido-exhibit) - (ido-delete-file-at-head): Pass head of ido-matches through ido-name - in case of merged directories. Reported by Micha,Ak(Bl Cadilhac. - -2006-09-10 Richard Stallman - - * dired-aux.el: Handle errors in recursive copy usefully. - (dired-create-files-failures): New variable. - (dired-copy-file): Remove condition-case. - (dired-copy-file-recursive): Check for errors on all file - operations, and add them to dired-create-files-failures. - Check file file-date-erorr here too. - (dired-create-files): Check dired-create-files-failures - and report those errors too. - - * emacs-lisp/cl.el (pushnew): Use add-to-list when convenient. - - * subr.el (add-to-list): New argument COMPARE-FN. - -2006-09-10 Reiner Steib - - * filecache.el (file-cache-add-directory) - (file-cache-add-directory-list, file-cache-add-file) - (file-cache-add-directory-using-find) - (file-cache-add-directory-using-locate) - (file-cache-add-directory-recursively): Add autoloads. - -2006-09-09 Richard Stallman - - * textmodes/conf-mode.el (conf-space-mode): - Use hack-local-variables-hook instead of calling hack-local-variables. - (conf-space-keywords-override): New variable. - (conf-space-mode-internal): New subroutine. Reinit Font Lock mode. - (conf-space-mode): Always make conf-space-keywords and - conf-space-keywords-override local. - Call conf-space-mode-internal directly as well as via hook. - -2006-09-09 Slawomir Nowaczyk (tiny change) - - * progmodes/python.el (python-font-lock-keywords): Add `self' and other - quasi-keywords. - -2006-09-09 Stefan Monnier - - * progmodes/python.el: Quieten the compiler about hippie-expand vars. - (python-send-string): Be slightly more careful about adding \n. - - * startup.el (normal-splash-screen): Don't display the buffer if we'll - kill it right away anyway. - -2006-09-09 Eli Zaretskii - - * international/codepage.el (cp850-decode-table): Fix a few codes. - (cp858-decode-table): New variable. - -2006-09-09 Toby Allsopp (tiny change) - - * net/ldap.el (ldap-search-internal): Doc fix. - -2006-09-09 Micha,Ak(Bl Cadilhac - - * play/life.el (life-display-generation): Test for input manually if - `sleeptime' is negative or null. - - * lpr.el (lpr-page-header-switches): Page title switch is one of them. - (print-region-1): Substitute `%s' with the page title. - -2006-09-09 Matt Hodges - - * locate.el (locate-current-search): New variable. - (locate): Set buffer local value. Use current buffer if it is - in Locate mode. - (locate-mode): Disable undo here. - (locate-do-setup): Use locate-current-filter from buffer to be killed. - (locate-update): Use locate-current-search and locate-current-filter. - -2006-09-08 David Kastrup - - * desktop.el (desktop-read): When loading a desktop, disable - saving it while the load progresses, and switch off a pending lazy - load by calling `desktop-lazy-abort'. - -2006-08-27 Martin Rudalics - - * window.el (mouse-autoselect-window-timer) - (mouse-autoselect-window-position) - (mouse-autoselect-window-window) - (mouse-autoselect-window-now): New vars. - (mouse-autoselect-window-cancel) - (mouse-autoselect-window-select) - (mouse-autoselect-window-start): New functions. - (handle-select-window): Call `mouse-autoselect-window-start' when - delayed window autoselection is enabled. - - * cus-start.el (mouse-autoselect-window): Handle delayed window - autoselection. - - * emacs-lisp/eldoc.el: Add `handle-select-window' to the set of - commands after which it is allowed to print in the echo area. - -2006-09-08 Richard Stallman - - * textmodes/fill.el (adaptive-fill-regexp): Don't match `(1)' or `1.' - - * mail/rmail.el (rmail-get-new-mail): Say whether all msgs are spam. - (rmail-convert-to-babyl-format): Don't record undo, leave list empty. - - * emacs-lisp/timer.el (timer-create, timer-activate): Doc fixes. - (cancel-timer-internal): Add doc string. - (cancel-function-timers): Doc fix. - (with-timeout-handler, timer-event-last*): Add doc strings. - - * emacs-lisp/bindat.el (bindat-unpack): Doc fix. - - * files.el (risky-local-variable-p): Match ...-bindat-spec. - - * dired.el (dired-log-summary): Add doc string. - - * cus-edit.el (custom-menu-create): Bind deactivate-mark here. - (custom-group-menu-create): Not here. - -2006-09-08 Carsten Dominik - - * textmodes/org.el (org-dblock-write:clocktable): Avoid infinite loop. - -2006-09-08 YAMAMOTO Mitsuharu - - * term/mac-win.el (show-hide-font-panel): New HI command ID symbol. - (mac-apple-event-map): Define its handler. - -2006-09-07 Toby Allsopp (tiny change) - - * net/ldap.el (ldap-search-internal): Handle `auth' key. - -2006-09-07 Magnus Henoch - - * net/rcirc.el (rcirc-activity-string): Don't quote value in case - clause. - -2006-09-07 Micha,Ak(Bl Cadilhac - - * info.el (Info-index): Bind completion-ignore-case. - -2006-09-07 Stefan Monnier - - * progmodes/prolog.el (inferior-prolog-flavor): New var left out of - previous commit. - (inferior-prolog-guess-flavor): New fun left out of previous commit. - (prolog-consult-region-and-go): Don't hard code "*prolog*" and don't - burp in dedicated windows. - (inferior-prolog-self-insert-command): New command. - (inferior-prolog-mode-map): Use it. - -2006-09-07 Reiner Steib - - * international/latexenc.el (latex-inputenc-coding-alist): Add cp858. - - * international/code-pages.el: Add cp858. - -2006-09-07 Jan Dj,Ad(Brv - - * dnd.el: Fix bootstrapping. - -2006-09-07 Jan Dj,Ad(Brv - - * dnd.el (dnd-protocol-alist): Add what url-handler-mode can handle. - (dnd-open-remote-url): New function. - (dnd-open-remote-file-function): Set to dnd-open-remote-url if - not windows-nt. - -2006-09-07 Jason Rumney - - * dnd.el (dnd-open-remote-file-function): New variable. - (dnd-open-unc-file): New function. - (dnd-open-file): Call dnd-open-remote-file-function if set. - -2006-09-06 Daiki Ueno - - * pgg-gpg.el (pgg-gpg-process-region): Encode passphrase with - pgg-passphrase-coding-system rather than locale-coding-system. - * pgg-def.el (pgg-passphrase-coding-system): New user option. - -2006-09-06 Stefan Monnier - - * progmodes/prolog.el: Remove * in docstrings. - (prolog-program-name): Add SWI prolog. - (prolog-mode-menu): New menu. - (prolog-mode): Set comment-add. - (prolog-indent-line): Simplify. Use indent-line-to. - (inferior-prolog-buffer): New var. - (inferior-prolog-run, inferior-prolog-process): New funs. - (run-prolog, switch-to-prolog): Rewrite, using them. - (prolog-consult-region): Use inferior-prolog-buffer. - (inferior-prolog-load-file): New function. - (prolog-mode-map): Add bindings for load-file and switch-to-prolog. - - * textmodes/fill.el (fill-single-word-nobreak-p): Allow breaking before - last word, if it's not the end of the paragraph. - - * files.el (abbreviate-file-name): Don't mistakenly match newlines in - file name. - -2006-09-06 Ralf Angeli - - * frame.el (display-mm-dimensions-alist): New defcustom. - (display-mm-height, display-mm-width): Use it. - -2006-09-06 Simon Josefsson - - * mail/smtpmail.el (smtpmail-starttls-credentials): Doc fix. - -2006-09-06 Nick Roberts - - * progmodes/gdb-ui.el (gdb-var-list-children-regexp) - (gdb-var-list-children-regexp-1): Tweak regexps to catch full - string values. - -2006-09-06 Kim F. Storm - - * simple.el (line-move-partial): New function to do vscrolling for - partially visible images / tall lines. Rewrite based on code - previously in line-move. Simplify backwards vscrolling. - (line-move): Use it. Simplify. - -2006-09-05 Kim F. Storm - - * emulation/cua-base.el (cua--pre-command-handler-1): Rewrite. - -2006-09-05 Chong Yidong - - * progmodes/compile.el (compilation-error-regexp-alist-alist): - Process the `gcc-include' after the `gnu' rule. - -2006-09-05 Kim F. Storm - - * ido.el (ido-visit-buffer): Use buffer name if buffer arg is a buffer. - -2006-09-05 Daiki Ueno - - * pgg.el (pgg-clear-string): Alias to clear-string for backward - compatibility. - - * pgg-gpg.el (pgg-gpg-process-region): Avoid display blinking with - inhibit-redisplay; encode passphrase with locale-coding-system. - -2006-09-04 Dan Nicolaescu - - * term/xterm.el (terminal-init-xterm): Add more C-M- bindings. - -2006-09-05 Nick Roberts - - * progmodes/gdb-ui.el (gdb-var-list-children-regexp) - (gdb-var-list-children-regexp): Make type field optional. - - * progmodes/gud.el (gud-speedbar-buttons): Allow for no type - e.g public, protected in C++. - -2006-09-04 John Paul Wallington - - * simple.el (completion-show-help): New defcustom. - (completion-setup-function): Heed it. - -2006-09-04 Dan Nicolaescu - - * term/xterm.el (terminal-init-xterm): Add C-M- bindings. - -2006-09-04 Richard Stallman - - * mail/rmail-spam-filter.el (rsf-scanning-messages-now): Doc fix. - (rsf-min-region-to-spam-list): Doc fix. - (rsf-add-content-type-field): Doc fix. - - * simple.el (kill-region): Explicitly test there is a region. - -2006-09-04 Chong Yidong - - * mail/feedmail.el (feedmail-buffer-to-sendmail): Look for - sendmail in several common directories. - - * mail/sendmail.el (sendmail-program): Moved here from paths.el. - - * paths.el (sendmail-program): Removed. - -2006-09-04 Daiki Ueno - - * pgg-gpg.el (pgg-gpg-process-region): Revert two patches from Satyaki - Das. http://article.gmane.org/gmane.emacs.gnus.general/49947 - http://article.gmane.org/gmane.emacs.gnus.general/50457 - -2006-09-03 Chong Yidong - - * cus-edit.el (custom-group-menu-create): Avoid deactivating the - mark after running the menu filter. - -2006-09-03 Juri Linkov - - * international/quail.el (quail-defrule-internal): Add a check - if a key is a vector. - -2006-09-02 Juri Linkov - - * man.el (Man-topic-history): New variable. - (man): Use it. - - * woman.el (woman-topic-history): Change defvar to defvaralias - for symbol `Man-topic-history'. - - * shell.el (shell-filter-ctrl-a-ctrl-b): Check if - `comint-last-output-start' is a marker by using `markerp' and - check if it has a position by using `marker-position', and use - this position for `goto-char'. - - * international/quail.el (quail-defrule-internal): Add missing - `error' call for null key. - -2006-09-02 Ryan Yeske - - * net/rcirc.el (rcirc-keywords): New variable. - (rcirc-bright-nicks, rcirc-dim-nicks): New variables. - (rcirc-bright-nick-regexp, rcirc-dim-nick-regexp): Remove - variables. - (rcirc-responses-no-activity): New function. - (rcirc-handler-generic): Check for responses in above. - (rcirc-process-command): Add ?: character to arguments of raw - server commands. - (rcirc-format-response-string): Use `rcirc-bright-nicks' and - `rcirc-dim-nicks'. - (rcirc-gray-toggle): Remove unused variable. - (rcirc-print): Remove some tracking logic, which is moved into - markup functions. - (rcirc-activity-types): Was `rcirc-activity-type', now a list of - types. - (rcirc-activity-string): Look for 'keyword in activity-types. - (rcirc-window-configuration-change): Don't erase overlay-arrow - unnecessarily. - (rcirc-add-or-remove): New function. - (rcirc-cmd-ignore): Use it. - (rcirc-message-leader): Remove unused function. - (rcicr-cmd-bright, rcirc-cmd-dim, rcirc-cmd-keyword): New commands. - (rcirc-add-face): New function. - (rcirc-facify): Use rcirc-add-face. - (rcirc-url-regexp): Add parens. - (rcirc-map-regexp): Remove function. - (rcirc-mangle-regexp): Remove function. - (rcirc-markup-text-functions): New variable. - (rcirc-markup-text): New function (replaces `rcirc-mangle-text'). - (rcirc-markup-body-text, rcirc-markup-attributes) - (rcirc-markup-my-nick, rcirc-markup-urls, rcirc-markup-keywords) - (rcirc-markup-bright-nicks): New markup handler functions. - (rcirc-nick-in-message-full-line): New face. - (rcirc-track-nick): Rename from `rcirc-mode-line-nick'. - (rcirc-track-keyword, rcirc-url, rcirc-keyword): New faces. - -2006-09-02 Martin Rudalics - - * cus-start.el (hscroll-margin, hscroll-step) - (mode-line-in-non-selected-windows, mouse-autoselect-window) - (x-use-underline-position-properties): Change version to "22.1" - since they will appear there for the first time. - -2006-09-01 Chong Yidong - - * imenu.el (imenu-update-menubar): Use buffer-chars-modified-tick. - -2006-08-31 Richard Stallman - - * cus-edit.el (custom-save-variables): Slight cleanup. - (Custom-no-edit): Renamed from custom-no-edit. - (Custom-newline): Renamed from custom-newline. - (custom-mode-map): Use new names. - - * emacs-lisp/easy-mmode.el (define-minor-mode): Reference manual - about customization, rather than M-x customize, in the doc string - made for the defcustom. - - * emacs-lisp/trace.el (trace-function-background): Doc fix. - -2006-08-31 Romain Francoise - - * dired-x.el (dired-guess-shell-alist-default): Update. - -2006-08-31 Michael Mauger - - * custom.el (custom-theme-set-variables): Autoload packages before - sorting the variables. - -2006-08-30 Michael Kifer - - * emulation/viper-cmd.el (viper-special-read-and-insert-char): - Convert events to chars if XEmacs. - (viper-after-change-undo-hook): Check if undo-in-progress is bound. - -2006-08-30 Stefan Monnier - - * progmodes/python.el (python-eldoc-function): Re-enable quit while - waiting for process. - -2006-08-30 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-string-to-utxt): If adjustment for MacJapanese - results in ASCII-only string, encode original one directly. - -2006-08-29 Romain Francoise - - * startup.el (normal-splash-screen, fancy-splash-screens): - Make buffer read-only and arrange to enter view mode if necessary. - -2006-08-29 Chong Yidong - - * hl-line.el (hl-line): New face. - (hl-line-face): Use it. - - * image-mode.el (image-mode): Fix last fix. - Suggested by Kim F. Storm. - -2006-08-29 Michael Albinus - - Sync with Tramp 2.0.54. - - * net/tramp.el (tramp-convert-file-attributes): Call `eql' instead - of `=', because `tramp-get-remote-gid' might not always return an - integer when expected. - (tramp-register-file-name-handlers): `partial-completion-mode' is - unknown to XEmacs. - (tramp-time-diff): Don't use `floor', it might fail for large - differences. - (tramp-handle-make-auto-save-file-name): For Emacs 21, set - `tramp-auto-save-directory' if unset in order to guarantee unique - auto-save file names. - -2006-08-28 Chong Yidong - - * image-mode.el (image-mode): Display image as text on a terminal. - -2006-08-28 Stefan Monnier - - * progmodes/python.el (python-send-command): Simplify. - (run-python): Don't generate a new buffer unless `new' was specified. - Make sure we send `import emacs' to the proper process. - - * progmodes/python.el (python-send-command): Don't wait for the command - to terminate. Don't fiddle with compilation-parsing-end. - -2006-08-28 Chong Yidong - - * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): - Insert commentary after first line summary. - - * woman.el (woman-follow): New function, based on `man-follow'. - (woman-mode-map): Use it. - - * ibuffer.el (ibuffer-do-sort-by-recency): Perform full update - since ibuffer-do-sort-by-recency does not define a sorter. - -2006-08-28 Kim F. Storm - - * find-dired.el (find-dired): Use shell-quote-argument to properly - escape ( and ) args. Also use it on {} and ; args in default - value of find-ls-option string. - (find-grep-dired): Use shell-quote-argument on {} and ; args. - -2006-08-27 Michael Olson - - * emacs-lisp/tq.el: Small grammar fix in comments. - (tq-enqueue): Check for existence of queue rather than the - head queue item's question, which was a no-op. - (tq-filter, tq-process-buffer): Make sure the process buffer - exists before making it the current buffer. - -2006-08-27 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-apple-event-map): Rename hicommand to hi-command. - (mac-dnd-drop-data): Apply 2006-08-22 change for x-dnd-drop-data. - (special-event-map): Apply 2006-08-16 change for x-win.el. - -2006-08-26 Stefan Monnier - - * progmodes/python.el (python-send-receive): Wait in the - process's buffer so as to check the right buffer-local variables. - -2006-08-25 Stefan Monnier - - * emacs-lisp/checkdoc.el: Remove * in defcustoms. - (defgroup checkdoc): Move to beginning. - - * progmodes/python.el (python-preoutput-skip-next-prompt): New var. - (python-preoutput-continuation): Remove. - (python-preoutput-filter): Simplify correspondingly. - Remove handling of _emacs_ok. Make sure we skip _emacs_out's prompts. - Loop around to catch embedded _emacs_out output. - (run-python): Send the import&print command on a single line. - (python-send-command): Send command&print on a single line. - (python-send-string): Only add double \n if needed. - (python-send-receive): Loop until the result comes. - (python-mode-running): Defvar it. - (python-setup-brm): Remove unused var `menu'. - Only bind py-mode-map and `features' around brm-init. - (python-calculate-indentation): Remove unused var `point'. - (python-beginning-of-defun): Remove unused var `def-line'. - -2006-08-25 Richard Stallman - - * kmacro.el (kmacro-repeat-on-last-key): Doc fix. - -2006-08-25 Michael Kifer - - * emulation/viper.el (viper-set-hooks): Use frame bindings for - viper-vi-state-cursor-color. - (viper-non-hook-settings): Don't set default - mode-line-buffer-identification. - - * emulation/viper-util.el (viper-set-cursor-color-according-to-state): - New fun. - (viper-set-cursor-color-according-to-state) - (viper-get-saved-cursor-color-in-replace-mode) - (viper-get-saved-cursor-color-in-insert-mode): Make conditional on - viper-emacs-state-cursor-color. - - * emulation/viper-cmd.el (viper-envelop-ESC-key): Bug fix. - (viper-undo): Use point if undo-beg-posn is nil. - (viper-insert-state-post-command-sentinel, viper-change-state-to-emacs) - (viper-after-change-undo-hook): Don't use - viper-emacs-state-cursor-color by default. - (viper-undo): More sensible positioning after undo. - - * emulation/viper-ex.el (ex-splice-args-in-1-letr-cmd): Get rid of caddr. - (viper-emacs-state-cursor-color): Default to nil, since this feature - doesn't work well yet. - - * ediff-mult.el (ediff-intersect-directories) - (ediff-get-directory-files-under-revision, ediff-dir-diff-copy-file): - always expand filenames. - -2006-08-24 Stefan Monnier - - * tumme.el: Remove * in defcustoms's docstrings. - -2006-08-24 Chong Yidong - - * emacs-lisp/timer.el (timer-set-idle-time, run-with-idle-timer): - Accept internal time format for SECS arg. - (timer-relative-time): Doc fix. - - * jit-lock.el: "Stealth fontification by requeuing timers" patch, - adapted from Martin Rudalics. - (jit-lock-stealth-repeat-timer, jit-lock-stealth-buffers): New vars. - (jit-lock-mode): Create jit-lock-stealth-repeat-timer. - (jit-lock-stealth-fontify): Reschedule as a idle timer instead of - using sit-for. - -2006-08-24 Francesc Rocher - - * cus-start.el (all): Add `overline-margin' and - `x-underline-at-descent-line'. - -2006-08-24 Kim F. Storm - - * progmodes/grep.el (grep-find-use-xargs): Use explicit value `exec' - to mean "use find -exec"; nil now unambiguously means auto-detect. - (grep-compute-defaults): Set grep-find-use-xargs to `exec' if not `gnu'. - Use shell-quote-argument to build grep-find-command and - grep-find-template. - (rgrep): Use shell-quote-argument to properly quote arguments to find. - Reported by Tom Seddon. - -2006-08-23 Chong Yidong - - * startup.el (fancy-splash-head): Give instructions for dismissing - the splash screen for default startup too. - (display-startup-echo-area-message, fancy-splash-screens) - (use-fancy-splash-screens-p): New arg hide-on-input. If nil, show - all splash text at once and keep the splash buffer around. - (command-line-1): Give display-startup-echo-area-message a t arg. - -2006-08-23 Carsten Dominik - - * textmodes/org.el (org-follow-gnus-link): Make sure the dedicated - gnus frame is selected. - -2006-08-23 Nick Roberts - - * progmodes/gdb-ui.el (gdb-starting): Reset gdb-signalled to nil. - -2006-08-22 Kim F. Storm - - * ido.el (ido-set-matches-1): Fix full matching for subdirs. - Add suffix matching for subdirs. - -2006-08-22 Jorgen Schaefer (tiny change) - - * x-dnd.el (x-dnd-drop-data): Don't call goto-char if - mouse-yank-at-point is non-nil. - -2006-08-22 Nick Roberts - - * progmodes/gdb-ui.el (gdb-frame-memory-buffer): Make frame - a bit wider and remove fringes to fit initial output on line. - -2006-08-21 Stefan Monnier - - * frame.el (blink-cursor-end): Only ignore the error we care about. - (blink-cursor-mode): Use blink-cursor-end to simplify the code. - -2006-08-21 Richard Stallman - - * whitespace.el (whitespace-cleanup): Doc fix. - -2006-08-20 Ryan Yeske - - * net/rcirc.el (rcirc-show-maximum-output): New var. - (rcirc-buffer-process): If no buffer argument is supplied, use - current-buffer. - (rcirc-complete-nick): Complete to the last completed nick first. - (rcirc-mode): Preserve the value of `rcirc-urls' across - connections. Setup scroll function. - (rcirc-scroll-to-bottom): New function. - (rcirc-print): Use nick syntax around regexp work. - Notice dim-nicks speaking only if they say our nick. - (rcirc-update-activity-string): Do not show the modeline indicator - if there are no live rcirc processes. - (rcirc-cmd-ignore): Ignore case. - (rcirc-browse-url-at-point): Fix off-by-one error. - -2006-08-20 Stefan Monnier - - * progmodes/python.el: Remove * in defcustom docstrings. - (run-python, python-proc, python-try-complete): Use derived-mode-p. - (python-mode): Set tab-width and indent-tabs-mode. - -2006-08-20 Dave Love - - * progmodes/python.el: Update to Dave Love's latest version. - (python-font-lock-keywords, python-mode): Don't use - font-lock-syntax-table, but match symbol elements explicitly instead. - (python-mode-map): Add help, and a few more key bindings. - (python-skip-comments/blanks): Move out of comments as well. - (python-continuation-line-p): Behave better with unbalanced parens. - (python-blank-line-p): New fun. - (python-open-block-statement-p): Don't use a heuristic. - (python-outdent-p): Better handle blocks-in-the-same-line. - (python-calculate-indentation): Misc improvements. - (python-comment-indent): Remove. - (python-block-pairs): New var. - (python-first-word): New fun. - (python-indentation-levels): Handle more common cases. - (python-indent-line-1): Add `leave' argument. - (python-indent-region): New fun. - (python-skip-out): New fun. - (python-beginning-of-statement, python-end-of-statement): Use it. - (python-next-statement): Return correct count even at eob. - (python-end-of-block): Fix paren-typo. - (python-imenu-create-index): Add module variables. - (run-python): Add `new' arg. - Check we're at a prompt before returning. - (python-send-command): Move to end of buffer. - Wait for prompt to return. - (python-set-proc): New fun. - (python-imports): New var. - (python-describe-symbol): Use it. Adjust to new interface of `ehelp'. - (python-eldoc-function): Try to move out of arg list. - (python-outline-level): Offset by 1. - (python-find-imports): New fun. - (python-symbol-completions): Use python-imports. - (python-module-path, ffap-alist): Add support for ffap. - (python-skeletons, python-mode-abbrev-table, def-python-skeleton) - (python-insert-*, python-default-template, python-expand-template): - Add templates/skeletons. - (python-setup-brm): Support for Bicycle Repair Man. - (python-abbrev-syntax-table): New var. - (python-abbrev-pc-hook, python-pea-hook): New funs. - -2006-08-20 Chong Yidong - - * frame.el (blink-cursor-start): Set timer first. - (blink-cursor-end): Ignore timer cancelling errors. - Suggested by Ken Manheimer. - -2006-08-20 Juanma Barranquero - - * newcomment.el (comment-box): Call `comment-normalize-vars'. - Add autoload cookie. - -2006-08-20 Richard Stallman - - * simple.el (line-number-at-pos): Doc fix. - - * emacs-lisp/timer.el (run-with-idle-timer): Pass t to - timer-activate-when-idle, so timer can run before Emacs becomes - non-idle again. - -2006-08-18 Yoni Rabkin Katzenell (tiny change) - - * whitespace.el (whitespace-cleanup-internal): New optional arg - REGION-ONLY. If it's non-nil, modify the message to the user - accordingly. - (whitespace-cleanup-region): Call whitespace-cleanup-internal with - a non-nil argument. - -2006-08-18 Gustav H,Ae(Bllberg (tiny change) - - * rect.el (spaces-string): Simplify and add doc string. - -2006-08-17 Romain Francoise - - * progmodes/gdb-ui.el (gdb-edit-locals-value): Balance parens. - -2006-08-17 Richard Stallman - - * compare-w.el (compare-windows): lambda's take an arg and pass - it to compare-windows-skip-whitespace. - -2006-08-17 Martin Rudalics - - * jit-lock.el (jit-lock-fontify-now): Protect the modified status of - the right buffer. - -2006-08-17 Stefan Monnier - - * pcvs-parse.el (cvs-parse-table): Accept the new `...' format for - removed files. - -2006-08-17 Nick Roberts - - * progmodes/gdb-ui.el (gdb-locals-watch-map) - (gdb-locals-watch-map-1): Suppress keymap first. - (gdb-edit-locals-map-1): New variable. - (gdb-edit-locals-value): New function. - (gdb-stack-list-locals-handler): Use them. - -2006-08-16 Stefan Monnier - - * mouse.el (global-map): Allow yanking with mouse-2 at a spot whose - cursor would normally be drawn in the fringe. - - * font-lock.el (font-lock-extend-region-wholelines): Fix up typo. - Reported by Martin Rudalics . - -2006-08-16 Richard Stallman - - * term/x-win.el (x-clipboard-yank): Specify * in interactive spec. - (special-event-map): Process drag-n-drop events this way. - - * simple.el (move-beginning-of-line): Test whether fields - would prevent motion back to line's first visible character. - If so, stop where the fields would stop the motion. - - * newcomment.el (comment-indent): Fully update INDENT - before checking to see if it will change the text. - - * cus-edit.el (custom-newline): New function. - (custom-mode-map): Bind newline to custom-newline. - - * compare-w.el (compare-windows): Factor compare-ignore-whitespace - into ignore-whitespace. - Check each buffer for its skip-function. - Handle compare-windows-skip-whitespace special-case test - by returning t from default skip function. - -2006-08-15 Carsten Dominik - - * textmodes/org.el (org-clock-special-range) - (org-clock-update-time-maybe): New functions. - (org-stamp-time-of-day-regexp): Allow weekday to be of word chars, - not only a-z. - (org-agenda-get-blocks): Allow multiple blocks per headline. - (org-timestamp-change): Call `org-clock-update-time-maybe'. - (org-export-html-title-format) - (org-export-html-toplevel-hlevel): New options. - (org-export-language-setup): Add support for Czech. - (org-mode, org-insert-todo-heading, org-find-visible) - (org-find-invisible, org-invisible-p, org-invisible-p2) - (org-back-to-heading, org-on-heading-p, org-up-heading-all) - (org-show-subtree, org-show-entry, org-make-options-regexp): - Remove compatibility support for old outline-mode. - (org-check-occur-regexp): Funtion removed. - (org-on-heading-p, org-back-to-heading): Made defalias. - (org-set-local): New defsubst. - (org-set-regexps-and-options, org-mode) - (org-set-font-lock-defaults, org-edit-agenda-file-list) - (org-timeline, org-agenda-list, org-todo-list, org-tags-view) - (org-remember-apply-template, org-table-edit-field) - (org-table-edit-formulas, orgtbl-mode, org-export-as-ascii) - (org-set-autofill-regexps): Use `org-set-local'. - (org-table-eval-formula): Fix bug with parsing of display flags. - -2006-08-15 Nick Roberts - - * progmodes/gdb-ui.el (gdb-info-stack-custom): Indicate selected - frame with fringe arrow. Suggested by Simon Marshall - . - (gdb-stack-position): New variable. - (gdb-starting, gdb-exited): Reset gdb-stack-position to nil. - (gdb-frames-mode): Set gdb-stack-position to nil. - Add to overlay-arrow-variable-list - (gdb-reset): Delete gdb-stack-position from above list. - -2006-08-14 Jan Dj,Ad(Brv - - * term/x-win.el (menu-bar-edit-menu): Disable paste if buffer is - read only. - -2006-08-13 Romain Francoise - - * cus-theme.el (customize-create-theme) - (custom-theme-visit-theme): End `y-or-n-p' prompt with a space. - - * filesets.el (filesets-add-buffer): Ditto. - - * pcvs.el (cvs-change-cvsroot): Ditto. - -2006-08-13 Nick Roberts - - * progmodes/gdb-ui.el (gdb-frame-separate-io-buffer) - (gdb-use-separate-io-buffer, menu): Avoid using `inferior' in text. - (gdb-memory-mode, gdb-locals-watch-map): Don't quote lambda - expressions. - (gdb-info-breakpoints-custom): Use gdb-breakpoint-regexp. - Only search till end of line. - Add face to function names in case of no filename. - Add face to variable names of watchpoints. - -2006-08-12 Robert Thorpe (tiny change) - - * cus-start.el : Move to the `indent' - customization group. - -2006-08-12 Ken Manheimer - - * allout.el (allout-prior-bindings, allout-added-bindings): - Remove, after long deprecation. - (allout-beginning-of-line-cycles, allout-end-of-line-cycles): - Add customization vars controlling allout-beginning-of-line and - allout-end-of-line conveniences. - (allout-header-prefix, allout-use-mode-specific-leader) - (allout-use-mode-specific-leader, allout-mode-leaders): - Revise docstrings. - (allout-infer-header-lead): Change to be an alias for - allout-infer-header-lead-and-primary-bullet. - (allout-infer-header-lead-and-primary-bullet): New version of - allout-infer-header-lead which assigns the primary bullet to the - same as the header lead, when its being changed. - (allout-infer-body-reindent): Apply regexp-quote instead of - unconditionally prepending "\\", so that all literal - allout-header-prefix and allout-primary-bullet strings are - properly handled. - (allout-add-resumptions): Add optional qualifier for extending or - appending to existing values, rather than replacing them. - (allout-view-change-hook): Clarify docstring. - (allout-exposure-change-hook): Take explicit arguments, via - run-hook-with-args. - (allout-structure-added-hook) - (allout-structure-deleted-hook) - (allout-structure-shifted-hook): New hooks analogous to - allout-exposure-change-hook for other kinds of structural outline - edits. - (allout-encryption-plaintext-sanitization-regexps): New encryption - customization variable, by which cooperating modes can provde - massage of the plaintext without actually being passed it. - (allout-encryption-ciphertext-rejection-regexps) - (allout-encryption-ciphertext-rejection-ceiling): New encryption - customization variables, by which cooperating modes can prohibit - rare but possible ciphertext patterns from fouling their - operation, with actually being passed the ciphertext. - (allout-mode): Run activation and deactivation hooks after the - minor-mode variable has been toggled, to clarify the mode - disposition. The new encryption ciphertext rejection variable is - used to ensure that the ciphertext does not contain text that - would be recognized as outline structural elements by allout. - Substite allout-beginning-of-line and allout-end-of-line for - conventionall beginning-of-line and end-of-line bindings. - If allout-old-style-prefixes is non-nil, don't nullify it on mode - activation! - (allout-beginning-of-line): Respect `allout-beginning-of-line-cycles'. - (allout-end-of-line): Respect `allout-end-of-line-cycles'. - (allout-chart-subtree): Implement new mode, charting only the - visible items in the subtree, when new 'visible' parameter is non-nil. - (allout-end-of-subtree): Properly handle the last item in the buffer. - (allout-pre-command-business, allout-command-counter): - Increment an advertised counter so that cooperating enhancements can - track revisions of items. - (allout-open-topic): Run allout-structure-added-hook with suitable - arguments. - (allout-shift-in): Run allout-structure-shifted-hook with suitable - arguments. - (allout-shift-out): Fix doubling for negative args and ensure call - of allout-structure-shifted-hook by solely using allout-shift-in. - (allout-kill-line, allout-kill-topic): - Run allout-structure-deleted-hook with suitable arguments. - (allout-yank-processing): Run allout-structure-added-hook with - proper arguments. - (allout-yank): Enclose activity in allout-unprotected. - (allout-flag-region): Run allout-exposure-change-hook with - suitable arguments, instead of making the callee infer the arguments. - (allout-encrypt-string): - Support allout-encryption-plaintext-sanitization-regexps, - allout-encryption-ciphertext-rejection-regexps, and - allout-encryption-ciphertext-rejection-ceiling. Indicate correct - en/de cryption mode in symmetric encryption failure message. - (allout-obtain-passphrase): Use copy-sequence to get a distinct - copy of the passphrase, and don't zero it or we'll corrupt the - stashed copy. - (allout-create-encryption-passphrase-verifier) - (allout-verify-passphrase): Respect the new signature for - allout-encrypt-string. - (allout-get-configvar-values): Convenience for getting a - configuration variable value and handling its absence gracefully. - -2006-08-11 Romain Francoise - - * obsolete/zone-mode.el: Delete. - -2006-08-11 Stefan Monnier - - * textmodes/dns-mode.el (dns-mode): Use before-save-hook. - -2006-08-11 Thien-Thi Nguyen - - * emacs-lisp/bindat.el (bindat-ip-to-string): - Use `format-network-address' if possible. - -2006-08-11 Jan Dj,Ad(Brv - - * x-dnd.el (x-dnd-init-frame): Call x-register-dnd-atom. - -2006-08-10 Chong Yidong - - * emacs-lisp/edebug.el (edebug-recursive-edit): Don't save and - restore unread-command-events here. - (edebug-display): Do it here, to detect sit-for interruptions. - -2006-08-10 Romain Francoise - - * textmodes/dns-mode.el: Alias `zone-mode' to `dns-mode'. - (dns-mode-soa-auto-increment-serial): New user option. - (dns-mode-soa-maybe-increment-serial): New function. - (dns-mode): Add the latter to `write-contents-functions'. - - * obsolete/zone-mode.el: Move to obsolete/ from net/. - Delete autoload cookies. - -2006-08-10 John Wiegley - - * eshell/em-glob.el (eshell-glob-chars-list) - (eshell-glob-translate-alist): Add support for [^g] in character globs. - -2006-08-10 Richard Stallman - - * facemenu.el (facemenu-add-face): Pass frame to facemenu-active-faces. - (facemenu-set-face): Doc fix. - (facemenu-listed-faces): Doc fix. - -2006-08-09 Chong Yidong - - * avoid.el (mouse-avoidance-animating-pointer): New var. - (mouse-avoidance-nudge-mouse): Use it. - (mouse-avoidance-banish): Rename from mouse-avoidance-banish-hook. - (mouse-avoidance-exile): Rename from mouse-avoidance-exile-hook - (mouse-avoidance-fancy): Rename from mouse-avoidance-fancy-hook. - Don't activate if currently animating. All callers changed. - -2006-08-09 John Wiegley - - * calendar/timeclock.el (timeclock-use-elapsed): Added a new - variable, which causes timeclock to report elapsed time worked, - instead of just work remaining. - -2006-08-09 Kenichi Handa - - * international/latexenc.el (latexenc-find-file-coding-system): - Fix for the case that the 2nd element of arg-list is a cons. - -2006-08-08 Chong Yidong - - * info.el (Info-fontify-node): Handle preceding `in' for note - reference hiding rules. - -2006-08-08 Stefan Monnier - - * progmodes/sh-script.el (sh-quoted-subshell): Make sure we don't - mistake a closing " for an opening one. - -2006-08-07 Dan Nicolaescu - - * term/xterm.el (terminal-init-xterm): Add more key bindings. - -2006-08-07 Stefan Monnier - - * complete.el (PC-do-completion): Filter out completions matching - completion-ignored-extensions before checking whether there are - multiple completions. - Don't use `list' unnecessarily when building completion tables. - -2006-08-06 Richard Stallman - - * help.el (describe-mode): Make minor mode list more concise. - -2006-08-05 Chong Yidong - - * bindings.el: Give mode-line-format, mode-line-modes, and - mode-line-position `standard-value' properties. - -2006-08-05 Eli Zaretskii - - * buff-menu.el (list-buffers-noselect): For Info buffers, use - "(file)node" instead of the file name. - -2006-08-05 Richard Stallman - - * faces.el (escape-glyph): Doc fix. - -2006-08-04 Kenichi Handa - - * international/mule-diag.el (describe-font): Improve docstring - and error message. Use frame-parameter (not frame-parameters). - -2006-08-03 Stefan Monnier - - * progmodes/gud.el (gdb-script-font-lock-syntactic-keywords): - Correctly mark the end-of-docstring char. - -2006-08-03 Chong Yidong - - * simple.el (line-move-to-column): Constrain move-to-column to - current field. - -2006-08-03 Stefan Monnier - - * font-lock.el (font-lock-beg, font-lock-end) - (font-lock-extend-region-functions): New vars. - (font-lock-extend-region-multiline) - (font-lock-extend-region-wholelines): New functions. - (font-lock-default-fontify-region): Use them. - (font-lock-extend-jit-lock-region-after-change): Only round up - if font-lock-default-fontify-region will do it as well. - - * font-lock.el (font-lock-extend-after-change-region-function): - Rename from font-lock-extend-region-function. - (font-lock-extend-region): Remove by inlining at call sites. - (font-lock-after-change-function): Don't needlessly round up to a whole - number of lines. - (font-lock-extend-jit-lock-region-after-change): Be more careful about - the boundary conditions and the interactions between the various ways - to extend the region. - -2006-08-02 Stefan Monnier - - * jit-lock.el (jit-lock-fontify-now): Preserve the buffer's - modification status when forcing the second redisplay. - -2006-08-03 Kim F. Storm - - * edmacro.el (edmacro-fix-menu-commands): Ignore switch-frame. - -2006-08-02 Stefan Monnier - - * pcvs-util.el (cvs-get-buffer-create): Obey `noreuse' even if `name' - doesn't look like a file name. - - * complete.el (PC-expand-many-files): Avoid signalling an error when - the current directory doesn't exist. Reported by Micha,Ak(Bl Cadilhac. - -2006-08-02 Andreas Schwab - - * bindings.el (mode-line-format): Simplify reference to vc-mode. - -2006-08-02 Nick Roberts - - * bindings.el (map): Make mode-line-buffer-identification-keymap - before defining propertized-buffer-identification. - -2006-08-01 Richard Stallman - - * bindings.el (mode-line-format): Adjust spacing around vc-mode. - -2006-08-02 Nick Roberts - - * progmodes/gdb-ui.el (gdb-find-source-frame): Make nil the - default value. - (gdb-find-source-frame): New function. - (menu): Add to menu bar. - -2006-08-01 Stefan Monnier - - * font-core.el (font-lock-extend-region-function) - (font-lock-extend-region): Move to font-lock.el. - - * font-lock.el (font-lock-extend-region-function) - (font-lock-extend-region): Move from font-core.el. Simplify. - - * jit-lock.el (jit-lock-fontify-now): Cause a second redisplay - if needed. - (jit-lock-start, jit-lock-end): New dynamic scoped vars. - (jit-lock-after-change-extend-region-functions): New hook. - (jit-lock-after-change): Use it instead of hard-coding font-lock code. - - * font-lock.el (font-lock-extend-jit-lock-region-after-change): New fun. - (font-lock-turn-on-thing-lock): Use it. - - * longlines.el (longlines-show-region): Make it work on read-only - buffers as well. - -2006-08-01 Nick Roberts - - * progmodes/gdb-ui.el (gdb-set-hollow): Check for gud-last-last-frame. - -2006-07-31 Richard Stallman - - * progmodes/vhdl-mode.el (vhdl-speedbar-display-directory) - (vhdl-speedbar-display-projects): Update old obsolete - speedbar variable names. - -2006-07-31 Nick Roberts - - * progmodes/gdb-ui.el (gdb-find-source-frame): New option. - (gdb-stopped): Use it. - - * t-mouse.el (t-mouse-mode): Use set-process-query-on-exit-flag. - -2006-07-29 Chong Yidong - - * loadhist.el (unload-feature): Handle new `(t . SYMBOL)' format - for load-history elements. - -2006-07-29 Eli Zaretskii - - * files.el (convert-standard-filename): For Cygwin, replace - characters not allowed in Windows file names. - (make-auto-save-file-name): Add Cygwin to the list of systems - where the auto-save file name needs to be run through - convert-standard-filename. - -2006-07-29 Lennart Borgman - - * window.el (bw-get-tree): Don't integerp subtree if it's nil. - -2006-07-28 Richard Stallman - - * bindings.el (mode-line-frame-identification) - (propertized-buffer-identification): Centralize the code - to initialize the variable. - - * progmodes/grep.el (grep-default-command): Catch errors from - wildcard-to-regexp. - -2006-07-29 Kim F. Storm - - * progmodes/grep.el (grep-tag-default): New function. - (grep-default-command, grep-read-regexp): Use it. - (grep-read-files): Use car of grep-files-history or grep-files-aliases - as default if nothing else applies. - -2006-07-28 Bill Atkins (tiny change) - - * wdired.el (wdired-change-to-wdired-mode, wdired-change-to-dired-mode): - Throw error if buffer is not in Dired and Wdired mode, respectively. - -2006-07-28 Chong Yidong - - * cus-edit.el (custom-no-edit): Revert 2006-07-27 change, so that - self-insert-command keys don't activate buttons. - (custom-mode-map): Just don't bind "\C-m" to `custom-no-edit'. - -2006-07-29 Nick Roberts - - * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Use different - faces for enable character. - -2006-07-28 Nick Roberts - - * Makefile.in (recompile): Update comment to reflect change - on 2004-04-21. - -2006-07-27 Richard Stallman - - * cus-edit.el (customize-package-emacs-version-alist): Doc fix. - (customize-package-emacs-version): Change msg when pkg has no entry. - (custom-no-edit): On a button, do like widget-button-press. - -2006-07-27 Dan Nicolaescu - - * term/xterm.el (terminal-init-xterm): Fix bindings for C-tab, - S-tab and C-S-tab. - -2006-07-28 Nick Roberts - - * progmodes/which-func.el (which-function): Fix documentation/ - comment typo. - -2006-07-26 Richard Stallman - - * textmodes/ispell.el (ispell-word): If we replace the word, - move point to the end. Insert before deleting. - -2006-07-26 Chong Yidong - - * subr.el (sit-for): Use new SECONDS arg of read-event instead of - a timer. - -2006-07-26 Mathias Dahl - - * tumme.el (tumme-backward-image): Add prefix argument. Add error - when at first image. - (tumme-forward-image): Add prefix argument. Add error when at last - image. - -2006-07-25 Stefan Monnier - - * tabify.el (tabify-regexp): Use more specific regexps. - (tabify): Avoid modifying the buffer unnecessarily. - -2006-07-25 Mathias Dahl - - * tumme.el (tumme-track-original-file): Add `buffer-live-p' check. - (tumme-format-properties-string): Handle empty `buf'. - (tumme-get-comment): Change variable names inside `let'. - Add missing `let' variable that cause font-lock problems. - (tumme-write-comments): Change variable names inside `let'. - Add missing `let' variable that cause font-lock problems. - (tumme-forward-image): Rename from `tumme-forward-char'. - (tumme-backward-image): Rename from `tumme-backward-char'. - -2006-07-25 Masatake YAMATO - - * progmodes/ld-script.el (ld-script-keywords) - (ld-script-font-lock-keywords, ld-script-builtins): Update keywords - and add comments. - -2006-07-25 Nick Roberts - - * progmodes/gdb-ui.el (gdb-set-gud-minor-mode-existing-buffers) - (gdb-resync, gdb-prompt, gdb-starting, gdb-exited, gdb-stopped) - (gdb-set-gud-minor-mode-existing-buffers-1): Use different faces - for status indicator. - -2006-07-24 Richard Stallman - - * xml.el (xml-parse-file): Clean up, and use with-temp-buffer. - - * subr.el (dolist, dotimes): Use interned symbols for locals. - (--dotimes-limit--, --dolist-tail--): New defvars. - (looking-back): Doc fix. - - * replace.el (replace-match-string-symbols): Handle dotted lists. - -2006-07-24 Mathias Dahl - - * tumme.el (tumme-write-tags): Add. - (tumme-write-comments): Add. - (tumme-tag-files): Change to use `tumme-write-tags'. - (tumme-tag-thumbnail): Change to use `tumme-write-tags'. - (tumme-dired-comment-files): Change to use `tumme-write-comments'. - (tumme-save-information-from-widgets): Change to use - `tumme-write-comments' and `tumme-write-tags'. - (tumme-comment-thumbnail): Change to use `tumme-write-comments'. - (tumme-write-tag): Remove. - (tumme-write-comment): Remove. - (tumme-display-previous-thumbnail-original): Remove empty line. - (tumme-widget-list): Add punctuation. - -2006-07-24 Mathias Dahl - - * tumme.el (tumme-line-up): Add an extra check for end of buffer. - -2006-07-24 Daiki Ueno - - * pgg-def.el (pgg-truncate-key-identifier): Truncate the key ID to 8 - letters from the end. Thanks to "David Smith" - and andreas@altroot.de (Andreas V,Av(Bgele). - -2006-07-23 Thien-Thi Nguyen - - * mouse.el (mouse-on-link-p): Doc fix. - -2006-07-23 Nick Roberts - - * emacs-lisp/find-func.el (find-function-search-for-symbol): - Handle "C-h f `". - -2006-07-22 Dan Nicolaescu - - * ibuffer.el (ibuffer-formats): Use left alignment for the mode - column. - -2006-07-22 Matt Hodges - - * textmodes/table.el: Add move-beginning-of-line and - move-end-of-line to Point Motion Only Group. - -2006-07-22 Eric Hanchrow (tiny change) - - * progmodes/delphi.el (delphi-fill-comment): Use save-restriction. - -2006-07-22 Micha,Ak(Bl Cadilhac - - * startup.el (user-mail-address): Initialize from the `EMAIL' - environment variable first. Document this. - (command-line): Ditto. - -2006-07-22 Nick Roberts - - * help-mode.el (help-function-def, help-variable-def) - (help-face-def): Print a message in the minibuffer. - -2006-07-21 Dan Nicolaescu - - * term/xterm.el (terminal-init-xterm): Fix key bindings - syntax. Bind S-return, C-M-., C-TAB, S-TAB and C-S-TAB. - -2006-07-21 Eli Zaretskii - - * dos-w32.el (find-buffer-file-type-coding-system): Support calls - where `(nth 1 command)' is a cons cell. Doc fix. - - * textmodes/po.el (po-find-charset): Doc fix. - -2006-07-21 Ken Manheimer - - * allout.el (allout-unprotected, allout-e-o-prefix-p) - (allout-beginning-of-current-line, allout-end-of-current-line) - (allout-next-visible-heading, allout-open-topic) - (allout-kill-topic, allout-yank-processing, allout-resolve-xref) - (allout-flag-current-subtree, allout-show-to-offshoot) - (allout-hide-current-entry, allout-show-current-branches) - (allout-hide-region-body, allout-old-expose-topic) - (allout-listify-exposed, allout-latex-verbatim-quote-curr-line) - (allout-mark-topic, allout-adjust-file-variable): Enclose scopes - containing `beginning-of-line' and `end-of-line' with - `inhibit-field-text-motion' t. - -2006-07-21 Eli Zaretskii - - * frame.el (focus-follows-mouse): Document that it doesn't have - any effect on MS-Windows. - -2006-07-20 Stefan Monnier - - * progmodes/sh-script.el (sh-quoted-subshell): Further fix last change. - -2006-07-20 Jay Belanger - - * calc/calc.el (calc-previous-alg-entry): Remove variable. - - * calc/calc-aent.el (calc-alg-entry-history, calc-quick-calc-history): - New variables. - (calc-alg-entry): Use `calc-alg-entry-history'. - (calc-do-quick-calc): Use `calc-quick-calc-history'. - Remove reference to `calc-previous-alg-entry'. - (calcAlg-edit, calcAlg-enter): Remove reference to - `calc-previous-alg-entry'. - (calcAlg-previous): Use `previous-history-element' instead of - `calc-previous-alg-entry'. - (calc-do-alg-entry): Use history when calling `read-from-minibuffer'. - Change keybinding for `calcAlg-plus-minus', add keybindings for - `previous-history-element' and `next-history-element'. - - * calc/calc-rewr.el (calc-match): Remove reference to - `calc-previous-alg-entry'. - - * calc/calc-sel.el (calc-selection-history): New variable. - (calc-enter-selection, calc-sel-mult-both-sides) - (calc-sel-add-both-sides): Use `calc-selection-history'. - - * calc/calc-map.el (calc-get-operator-history): New variable. - (calc-get-operator): Use `calc-get-operator-history'. - - * calc/calcalg3.el (calc-curve-fit-history): New variable. - (calc-curve-fit): Use `calc-curve-fit-history'. - -2006-07-20 Kenichi Handa - - * international/mule-cmds.el (select-safe-coding-system): Fix the - way of deciding eol-type of the coding system. - -2006-07-20 Alan Mackenzie - - * progmodes/cc-langs.el (c-emacs-variable-inits): New variable. - (c-lang-setvar): New macro. - (c-make-init-lang-vars-fun): Use the initialization forms in - c-emacs-variable-inits in addition to those in c-lang-variable-inits. - (comment-start, comment-end, comment-start-skip): Change these from - c-lang-defvar's to c-lang-setvar's. - - * progmodes/cc-mode.el (c-make-emacs-variables-local): New macro, - which calls make-local-variable on the elements of - c-emacs-variable-inits. - (c-init-language-vars-for): Call this new macro. - -2006-07-19 Stefan Monnier - - * progmodes/compile.el (compilation-error-regexp-alist-alist) : - Try to rule out false positives due to time stamps. - (compilation-mode-font-lock-keywords): Remove rules made redundant - because of the above change. Add `segmentation fault' to the known and - highlighted compilation termination messages. - -2006-07-19 Kim F. Storm - - * progmodes/grep.el (grep-find-ignored-directories): - Add .svn and _darcs to list. - -2006-07-19 Mathias Dahl - - * dired.el (dired-mode-map): Add key binding `C-te' for - `tumme-dired-edit-comment-and-tags'. - - * tumme.el (tumme-display-thumbnail-original-image): Make sure - image display buffer is displayed before call to - `tumme-display-image. - (tumme-dired-display-image): Make sure image display buffer is - displayed before call to `tumme-display-image. - (tumme-mouse-display-image): Make sure image display buffer is - displayed before call to `tumme-display-image. - (tumme-widget-list): Add. - (tumme-dired-edit-comment-and-tags): Add. - (tumme-save-information-from-widgets): Add. - -2006-07-19 Stefan Monnier - - * progmodes/sh-script.el (sh-quoted-subshell): Fix last change. - -2006-07-18 Stefan Monnier - - * progmodes/sh-script.el (sh-font-lock-keywords-1): - Revert inadvertently installed patch hunk. - - * progmodes/compile.el (compilation-find-file): Handle the - cases where the user selects a non-existent file. - -2006-07-18 Stefan Monnier - - * bindings.el (minibuffer-local-map): Rebind TAB so it inserts a \t. - -2006-07-17 Chong Yidong - - * subr.el (sit-for): Just sleep-for if noninteractive. - -2006-07-17 Stefan Monnier - - * emacs-lisp/autoload.el (make-autoload): Use new arg. - - * custom.el (custom-autoload): Add `noset' argument. - (custom-push-theme): Don't autoload the variable, let callers do it. - (custom-theme-set-variables): Autoload the variable if necessary. - - * cus-edit.el (custom-variable-state-set): If the variable was - originally set outside custom, but to the same value as the default, - consider it to be standard. - - * Makefile.in (mh-loaddefs.el): Finish setting up the default empty - file *before* telling Emacs to add the autoloads, in case it fails. - - * progmodes/sh-script.el (sh-quoted-subshell): Don't match escaped `. - Use `cond', push', and `dolist'. - -2006-07-17 Richard Stallman - - * image-mode.el (tar-superior-buffer, archive-superior-buffer): - Add defvars to silence warnings. - -2006-07-17 Chong Yidong - - * progmodes/compile.el (compilation-mode-font-lock-keywords): - Don't highlight "Compiling file" messages as error. - - * dired-aux.el (dired-compress-file): Confirm again if gzipped - file already exists. - -2006-07-16 Thien-Thi Nguyen - - * find-file.el (ff-special-constructs): Doc fix. Also, for C/C++ - entry, don't assign to free var; simply return the extracted filename. - (ff-treat-as-special): Incorporate common preamble from callers. - (ff-other-file-name, ff-find-the-other-file): - Update call to ff-treat-as-special. - - * progmodes/ada-mode.el (ada-mode): Rewrite ff-special-constructs init. - -2006-07-16 Mathias Dahl - - * tumme.el (tumme-get-comment): Fix bug. - -2006-07-16 Stefan Monnier - - * files.el: Remove spurious * in docstrings. - -2006-07-14 Ken Manheimer - - * allout.el (allout-run-unit-tests-on-load): Rectify docstring - grammar. - (allout-beginning-of-current-line): Beware beginning of buffer. - Also, a comment is simplified. - (allout-hotspot-key-handler): Only set allout-post-goto-bullet - when appropriate. (This fix enables use for other than - bullet-hotspot operation.) - (allout-hide-current-subtree): While escalating to sibling-close, - make sure to situate on a topic. - -2006-07-14 Kim F. Storm - - * emulation/cua-base.el (cua-delete-selection) - (cua-toggle-set-mark): New defcustoms. - (cua-rectangle-modifier-key): Add `alt' modifier. - (cua-replace-region): Don't delete if cua-delete-selection is nil. - (cua-set-mark): Don't clear mark if cua-toggle-set-mark is nil. - Suggested by Klaus Zeitler . - - * emulation/cua-rect.el (cua-help-for-rectangle): Add `alt' modifier. - -2006-07-14 Ken Manheimer - - * allout.el: Require 'cl during byte-compilation/interactive load, - for the `assert' macro. - (allout-mode-deactivate-hook): New hook, run when allout mode - deactivates. - (allout-developer): New allout customization subgroup. - (allout-run-unit-tests-on-load): New allout-developer - customization variable, when true allout unit tests are run towards - end of file load/eval. - (allout-inhibit-auto-fill): Disable auto-fill activity even during - auto-fill-mode. - (allout-resumptions): Remove, to be replaced by... - (allout-add-resumptions): Register variable settings to be - reinstated by `allout-do-resumptions'. The settings are made - buffer-local, but the locality/globality of the suspended setting - is restored on resumption. - (allout-do-resumptions): Reinstate all settings suspended using - `allout-add-resumptions'. - (allout-test-resumptions): Unit tests (and intermediate variables) - for resumptions. - (allout-tests-globally-unbound, allout-tests-globally-true) - (allout-tests-locally-true): Intermediate variables for - resumptions unit tests. - (allout-overlay-preparations): Replaces `allout-set-overlay-category'. - (allout-exposure-category): Replaces 'allout-overlay-category variable. - (allout-mode): Use `allout-add-resumptions' and `allout-do-resumptions' - instead of retired `allout-resumptions'. For hook functions, use - `local' parameter so hook settings are created and removed as - buffer-local settings. Revise (resumptions) setting - auto-fill-function so it is set only if already active. (The - related fill-function settings are all made in either case, so - that activating auto-fill-mode activity will have the custom - allout-mode behaviors (hanging indent on topics, if configured for it). - Remove all allout-exposure-category overlays on mode deactivation. - (allout-hotspot-key-handler): New function extracted from - `allout-pre-command-business', so the functionality can be used - for other purposes, eg as a binding in an overlay. - (allout-pre-command-business): Use new `allout-hotspot-key-handler'. - (allout-auto-fill): Respect new `allout-inhibit-auto-fill' - customization variable. - (allout-run-unit-tests): Run the (currently quite small) - repertoire of unit tests. Called just before the provide iff user - has customized `allout-run-unit-tests-on-load' non-nil. - -2006-07-14 K,Aa(Broly L$,1 q(Brentey - - * emacs-lisp/authors.el (authors-aliases): Update. - -2006-07-14 Nick Roberts - - * progmodes/gdb-ui.el (gdb-display-buffer): Check for - gdb-source-window. Add dedicated argument. - (gdb-display-separate-io-buffer, gdb-append-to-inferior-io) - (gdb-display-breakpoints-buffer, gdb-display-stack-buffer) - (gdb-display-threads-buffer, gdb-display-memory-buffer) - (gdb-display-locals-buffer): Use it. - - * progmodes/gud.el (gud-display-line): Use gdb-display-buffer. - Set gdb-source-window. - -2006-07-13 Stefan Monnier - - * emacs-lisp/autoload.el (make-autoload): Remove special handling of - minor modes, redundant with the custom-autoload line above. - -2006-07-12 Chong Yidong - - * longlines.el (longlines-post-command-function): Handle open-line too. - -2006-07-12 Richard Stallman - - * progmodes/grep.el (grep-last-buffer): Doc fix. - - * info.el (Info-try-follow-nearest-node): Doc fix. - - * emacs-lisp/edebug.el (edebug-instrument-function): - Err if find-function-noselect gives no position. - - * emacs-lisp/find-func.el (find-function-search-for-symbol): - If can't find definition, return nil for position. - (find-function-do-it): Handle new return value - of find-definition-noselect. - (find-definition-noselect, find-variable-noselect): Doc fix. - (find-function-noselect): Doc fix. - - * help-mode.el (help-variable-def): Handle find-variable-noselect - returning no position. - (help-function-def): Likewise for find-function-search-for-symbol. - (help-face-def): Likewise. - - * help-fns.el (describe-variable): Handle find-variable-noselect - returning no position. - - * files.el (locate-file-completion): Avoid duplicates in result. - - * cus-edit.el (custom-no-edit): New command. - (custom-mode-map): Remap to custom-no-edit instead of - using suppress-keymap. - -2006-07-12 Nick Roberts - - * tumme.el (tumme-create-thumb, tumme-thumbnail-display-external) - (tumme-display-image, tumme-rotate-thumbnail, tumme-rotate-original) - (tumme-set-exif-data, tumme-get-exif-data): Use shell-command-switch. - - * thumbs.el (thumbs-call-convert): Use shell-command-switch. - -2006-07-11 Kim F. Storm - - * ido.el (ido-copy-current-file-name): Use buffer-name if - buffer-file-name is nil. - -2006-07-11 Chong Yidong - - * simple.el (undo-ask-before-discard): Set to nil. - - * vc.el (vc-exec-after): Don't delete process manually. - (vc-print-log): Run log-view-mode in process sentinel inside - inhibit-read-only. Don't shrink window due to timing issues. - - * progmodes/ebrowse.el (ebrowse-display-member-buffer): - Avoid using with-output-to-temp-buffer, which clobbers local vars. - -2006-07-11 Stefan Monnier - - * progmodes/compile.el (compilation-error-regexp-alist-alist): - Fix ambiguity introduced by last change. - (compilation-find-file): Move save-excursion to where it may - make sense. Fix a left over `find-file'. - -2006-07-11 Robert J. Chassell - - * textmodes/texinfmt.el (texinfo-format-separate-node): - Insert a string before point, which fits documentation, not after. - (texinfo-multitable-item): In a multitable row, insert any - additional needed @tabs and spaces. - -2006-07-11 Nick Roberts - - * tumme.el (tumme-create-thumb, tumme-thumbnail-display-external) - (tumme-display-image, tumme-rotate-thumbnail, tumme-rotate-original) - (tumme-set-exif-data, tumme-get-exif-data): Use call-process - instead of shell-command. - (tumme-create-thumbnail-buffer, tumme-create-display-image-buffer) - (tumme-display-thumbs, tumme-modify-mark-on-thumb-original-file) - (tumme-display-image, tumme-get-exif-data): Use with-current-buffer. - (tumme-display-properties-format, tumme-dired-insert-marked-thumbs) - (tumme-thumbnail-set-image-description, tumme-gallery-generate) - (tumme-rotate-original, tumme-get-exif-file-name): Fit to 80 columns. - -2006-07-11 Kim F. Storm - - * subr.el (sit-for): Doc fix. Specify normal arg list using fn-form. - Remove special case for seconds < 0. Use (redisplay t) instead. - -2006-07-10 Chong Yidong - - * progmodes/cc-awk.el (c-awk-escaped-nls*): Use eval-and-compile to - avoid compilation error. - - * subr.el (sit-for): New function. - - * play/hanoi.el (hanoi-sit-for): Check sit-for return value. - -2006-07-10 Richard Stallman - - * ldefs-boot.el (edebug): Update page. - -2006-07-10 Kim F. Storm - - * emacs-lisp/authors.el (authors-ignored-files): Ignore changes - to FOR-RELEASE and TODO. - -2006-07-10 Romain Francoise - - * emacs-lisp/authors.el (authors-aliases): Update. - -2006-07-10 Alan Mackenzie - - * progmodes/cc-awk.el, cc-defs.el, cc-fonts.el, cc-langs.el: - * cc-mode.el: Changes to eradicate eval-after-load. - -2006-07-09 Chong Yidong - - * emacs-lisp/helper.el (Helper-help-scroller): Don't signal error - on non-char events. - -2006-07-09 Romain Francoise - - * progmodes/compile.el (compilation-mode-font-lock-keywords): - Don't highlight start/end markers as compilation messages. - - * isearch.el (isearch-yank-line): Let-bind `inhibit-field-text-motion' - to t. - -2006-07-09 Stefan Monnier - - * textmodes/fill.el (fill-region-as-paragraph): Refine last change. - -2006-07-08 Richard Stallman - - * term/x-win.el (x-handle-display): Add doc string. - - * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. - - * subr.el (def-edebug-spec): Move here. - * emacs-lisp/edebug.el (def-edebug-spec): Move to subr.el. - - * imenu.el (imenu-choose-buffer-index): Doc fix. - -2006-07-08 Romain Francoise - - * term/x-win.el (x-display-name): Fix typo. - -2006-07-08 Eli Zaretskii - - * hexl.el (hexl-find-file): Doc fix. - - * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. - -2006-07-07 Chong Yidong - - * term/x-win.el (x-display-name): Doc fix. - -2006-07-07 Stefan Monnier - - * textmodes/fill.el (fill-delete-prefix): Don't ignore excessively - long prefixes. - (fill-region-as-paragraph): Don't round up to a whole line. - (fill-comment-paragraph): Don't include the code-before-the-comment - when calling fill-region-as-paragraph. - - * international/mule.el (make-char): Remove redundancy. - - * emacs-lisp/bytecomp.el (byte-compile-form): The `byte-compile' - property may contain an anonymous function rather than a symbol. - - * pcvs-defs.el (cvs-temp-buffer-name): Fix non-hiddenness. - - * progmodes/compile.el (compilation-error-regexp-alist-alist) : - Use shy regexp. Fix incorrect backref to potentially unmatched group. - - * dirtrack.el (dirtrack-default-directory-function): Remove. - (dirtrack-directory-function): Use file-name-as-directory. - (dirtrack-windows-directory-function): Simplify. - (dirtrack-forward-slash, dirtrack-backward-slash) - (dirtrack-replace-slash): Remove. - (dirtrack-toggle): Adjust comint-preoutput-filter-functions as well. - (dirtrack): Fix wrong parenthesizing; use match-string. - - * progmodes/octave-inf.el: Remove spurious * in docstrings. - (inferior-octave-mode): Only change the buffer-local value of - comint-dynamic-complete-functions. - (inferior-octave-mode-map, inferior-octave-mode-syntax-table): - Move the initialization to the declaration. - (inferior-octave-complete): Remove unused var `filter'. - - * shell.el (shell-mode): Only change the buffer-local value of - comint-dynamic-complete-functions. - -2006-07-07 Carsten Dominik - - * textmodes/org.el (org-agenda-get-todos): Skip subtree also if - entry is skipped because it has been scheduled. - (org-prepare-agenda-buffers): Don't mark buffers as modified when - changing `:org-archived' and `:org-comment' properties. - -2006-07-06 Chong Yidong - - * server.el (server-select-display): Don't make the temp frame - minibuffer-only, in case it's not a temp frame. - (server-process-filter): Don't delete the temp frame if it's the - only one we have on that display. - - * files.el (find-alternate-file): Doc fix. - -2006-07-05 Richard Stallman - - * files.el (abbreviate-file-name): Add save-match-data. - -2006-07-03 Richard Stallman - - * faces.el (read-face-name): Doc fix. - -2006-07-05 Chong Yidong - - * net/goto-addr.el (goto-address): Mark as safe for local evals. - -2006-07-05 Andre Spiegel - - * vc.el (vc-diff-internal): Fix prev change. - -2006-07-05 Thien-Thi Nguyen - - * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Use eval-buffer. - * play/dunnet.el (dun-load-d, dun-eval): Likewise. - -2006-07-04 Stefan Monnier - - * thingatpt.el (symbol-at-point): Don't use `form-at-point' which - fails if the symbol contains chars like ( or '. - (bounds-of-thing-at-point): Remove unused vars `end' and `beg'. - (thing-at-point-bounds-of-url-at-point): Remove unused vars `url' and - `short'. - -2006-07-04 Kenichi Handa - - * international/mule-cmds.el (set-language-info): If LANG-ENV is - the current one, don't call set-language-environment, but call one - of set-language-environment-XXX to make INFO effective now. - (set-language-environment): Call set-language-environment-XXX - functions instead of doing the various setups directly. - (set-language-environment-coding-systems): Delete argument eol-type. - (set-language-environment-input-method) - (set-language-environment-nonascii-translation) - (set-language-environment-charset) - (set-language-environment-fontset) - (set-language-environment-unibyte): New functions. - -2006-07-03 Luc Teirlinck - - * locate.el (locate-update-when-revert): New option. - (locate-update-path): New option (suggested by Michael Albinus). - (locate-prompt-for-command): Whitespace change. - (locate-update): No longer offer to update the locate database by - default. Implement the two new options. - -2006-07-04 Nick Roberts - - * tooltip.el: Move comment about track-mouse... - - * progmodes/gud.el: ...to here. - -2006-07-03 Chong Yidong - - * facemenu.el (facemenu-listed-faces): New var. - (facemenu-unlisted-faces): Variable deleted. - (facemenu-add-new-face): Use facemenu-listed-faces. - - * emulation/viper-init.el, calendar/calendar.el: - * progmodes/make-mode.el: Delete calls to facemenu-unlisted-faces. - -2006-07-03 Carsten Dominik - - * textmodes/org.el (org-mode): Remove no invalid settings for - calc embedded mode. - (org-mode-p): New defsubst. - (org-save-all-org-buffers): New function. - (org-first-headline-recenter): Enclose outline-regexp in group - delimiters. - (org-set-tags): Keep single space after stars. - -2006-07-02 Stefan Monnier - - * window.el (set-window-text-height): Only set window-min-height to - 1 if that's the requested size. - - * diff-mode.el (diff-find-file-name): Obey cvs-pcl-cvs-dirchange-re. - (diff-unified->context, diff-context->unified) - (diff-reverse-direction): Make sure the end marker stays at the end. - (diff-mode): Add the keymap table at the end of docstring. - Use lexical-let rather than constructing a closure manually. - - * files.el (find-file-noselect-1): Remove unused var assignment. - (hack-local-variables-confirm): Print lists of strings as lists of - strings rather than lists of symbols. - (abbreviate-file-name, hack-local-variables-prop-line): - Use match-string. - (hack-one-local-variable): Move `make-local-variable' nearer its use. - (recover-session-finish): Use line-end-position. - -2006-07-02 Michael Albinus - - * net/tramp.el (tramp-handle-shell-command): Preserve current-buffer. - -2006-07-02 Daniel Pfeiffer - - * progmodes/make-mode.el (makefile-macroassign-regex): - Accept preceding keyword. - (makefile-gmake-statements): Reorganize, now that makepp has - "override" and also handle forgotten "override define". - (makefile-makepp-statements): Add new "global", "override export" - and "override global". - -2006-06-30 Juanma Barranquero - - * progmodes/ada-mode.el (ada-which-compiler, ada-mode-menu) - (ada-compile-mouse-goto-error, ada-deactivate-properties) - (ada-no-auto-case): Fix typos in docstrings. - -2006-06-30 Nick Roberts - - * info.el (Info-find-node-2): Search for makeinfo version more - carefully. - -2006-06-29 Carsten Dominik - - * textmodes/org.el (org-prepare-agenda-buffers): - Use `invisible-OK' argument for `org-end-of-subtree'. - (org-export-cleanup-toc-line): Rename from `org-html-cleanup-toc-line'. - (org-beginning-of-item): Fix bug in regular expression for white line. - (org-export-as-html): Enforce space after bullet in plain list items. - (org-set-autofill-regexps): Require space after plain list bullet - for paragraph-start. - (org-ts-regexp3): New constant. - (org-at-timestamp-p): New optional argument ALSO-INACTIVE. - (org-timestamp-up-day, org-timestamp-down-day) - (org-timestamp-change): Work with inactive timestamps. - (org-ts-regexp1): Don't allow brackets in time stamps. - -2006-06-29 Nick Roberts - - * help-mode.el (help-xref-symbol-regexp): Add property as a keyword - for ignoring links. - - * faces.el (read-face-name): Use it. - -2006-06-28 Juri Linkov - - * buff-menu.el (list-buffers-noselect): Compare Info file - with the string "dir" to detect Info directory. - - * complete.el (partial-completion-mode): In lambda for - `choose-completion-string-functions' use full function signature - with 4 args, and move point to the end of the minibuffer only if arg - `mini-p' is non-nil. - -2006-06-28 John Paul Wallington - - * ibuffer.el (ibuffer-mode): Doc fix. - -2006-06-28 Carsten Dominik - - * textmodes/org.el (org-context): New contexts :item-bullet, - :latex-fragment, :latex-preview. - (org-overlays-at, org-overlay-start, org-overlay-end): - New compatibility functions. - (org-inside-LaTeX-fragment-p): More accurate matching, using the - exact regexp that will be used during export. - (org-latex-regexps): New variable. - (org-cdlatex-mode): Improve advice for `texmathp'. - (turn-on-org-cdlatex): New function. - -2006-06-28 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-handle-font-selection): Change keys of - mac-atsu-font-table from strings to numbers. - (mac-ts-caret-position): Use also when cursor-type is nil. - (mac-ts-update-active-input-area): Add Mac OS Classic support. - Relax condition for using overlay strings. - Use mac-ts-caret-position face when cursor-type is nil. - -2006-06-26 Kim F. Storm - - * help.el (view-emacs-news): Declare `res' in the right let* form. - -2006-06-25 Michael Albinus - - * net/rcompile.el (remote-compile): Replace ange-ftp based - implementation by Tramp functions. - Suggested by Marc Abramowitz . - - * net/tramp.el (tramp-unload-tramp): Provide a doc string. - -2006-06-24 Yoshinori Koseki - - * international/fontset.el (setup-default-fontset): Fix a typo in - the "Oriya-Akruti" registry name. - -2006-06-23 Lars Hansen - - * desktop.el (desktop-full-file-name): New function. - (desktop-kill, desktop-save, desktop-remove, desktop-read) - (desktop-revert): Use it. - (desktop-clear, desktop-save, desktop-remove): Add autoload cookie. - (desktop-after-read-hook): Add option list-buffers. - (desktop-locals-to-save): Add tab-width. - (desktop-save-mode, desktop-no-desktop-file-hook, desktop-save-hook): - Fix docstring. - -2006-06-23 Carsten Dominik - - * textmodes/org.el (org-cdlatex-mode-map) - (org-cdlatex-texmathp-advice-is-done): New variables. - (org-cdlatex-mode): New minor mode. - (org-inside-LaTeX-fragment-p, org-try-cdlatex-tab): New functions. - (org-cdlatex-underscore-caret, org-cdlatex-math-modify): New commands. - (org-export-with-archived-trees): New option. - (org-open-file): Remove the call to `convert-standard-filename'. - (org-archive-tag, org-agenda-skip-archived-trees) - (org-cycle-open-archived-trees) - (org-sparse-tree-open-archived-trees): New options. - (org-cycle-hide-archived-subtrees, org-hide-archived-subtrees) - (org-toggle-tag, org-prepare-agenda-buffers, org-agenda-skip): - New functions. - (org-agenda-toggle-archive-tag, org-toggle-archive-tag): New commands. - (org-agenda-mode-map): Add binding of `org-agenda-toggle-archive-tag'. - (org-mode-map): Add binding for `org-toggle-archive-tag'. - (org-timeline, org-agenda-list, org-todo-list, org-tags-view): - Call `org-prepare-agenda-buffers'. - (org-occur, org-scan-tags): Call `org-hide-archived-subtrees'. - (org-file-apps, org-file-apps-defaults-gnu) - (org-file-apps-defaults-macosx, org-file-apps-defaults-windowsnt): - Handle remote files by forcing them to be opened in Emacs. - -2006-06-23 Andre Spiegel - - * vc.el (vc-diff-knows-L): New variable. - (vc-diff-internal): Use it to handle "diff" programs that don't - understand -L. This works automatically, no user action is necessary. - -2006-06-23 Daniel Brockman - - * net/rcirc.el (rcirc-default-user-full-name): Default to - `rcirc-default-user-name' instead of `rcirc-user-name' (which no - longer exists). - (rcirc-process-list): Check `buffer-live-p' before attempting to - switch to a buffer. - -2006-06-23 Ryan Yeske - - * net/rcirc.el (rcirc-mode): Fix initialization of coding systems - based on rcirc-coding-system-alist. - -2006-06-23 Martin Rudalics - - * cus-edit.el (customize-apropos): A better error message. - (top level) : Extend and update the list of - ignored error messages. - -2006-06-23 Michael Ernst - - * complete.el (PC-do-completion): Retain capitalization of user - input, when possible, even if completion-ignore-case is set. - -2006-06-23 Eli Zaretskii - - * generic-x.el (bat-generic-mode): Support .cmd files. - - * dos-w32.el (top level): Use find-file-not-found-functions - instead of the obsolete find-file-not-found-hooks. - -2006-06-22 Kim F. Storm - - * progmodes/grep.el (grep-mode-font-lock-keywords): Correct regexps - to recognize mode name containing submodes, such as Grep/lw. - -2006-06-21 Kim F. Storm - - * simple.el (line-move-1): Check for move-end-of-line instead of - end-of-line when setting temporary-goal-column. - -2006-06-21 Miles Bader - - * play/cookie1.el (cookie): Work properly when there's only one entry. - -2006-06-21 Nick Roberts - - * progmodes/gdb-ui.el (gdb-exited): Ensure overlay arrow gets killed. - (gdb-frame-handler): Generalize frame regexp for templates. - -2006-06-20 Glenn Morris - - * calendar/appt.el (appt-display-format): Default value must be - one of the customize options. - -2006-06-20 Dan Nicolaescu - - * term/xterm.el (terminal-init-xterm): Update key availability info. - Bind C-return. - - * term.el (term-delete-lines, term-insert-lines): Clarify comments. - -2006-06-20 Chong Yidong - - * files.el (hack-local-variables): Run `hack-local-variables-hook' - whether or not a local variables list is defined. - - * msb.el (msb): Move `sit-for' hack here to handle both - "mouse-down and drag" and "mouse-up and select" situations. - (mouse-select-buffer): Move `sit-for' hack to `msb'. - -2006-06-20 Kenichi Handa - - * international/characters.el (word-combining-categories): - Add entries for 2-byte Han characters. - -2006-06-19 Richard Stallman - - * bindings.el (mode-line-format): Save some mode line space. - - * files.el (find-file-noselect): Improve the question wording. - (basic-save-buffer-2): Mask UMASK against 666. - - * mouse.el (mouse-drag-vertical-line-rightward-window): New function. - (mouse-drag-vertical-line): Call it. - - * cus-edit.el (customize-option, customize-option-other-window): - Error if SYMBOL is nil. - -2006-06-19 Carsten Dominik - - * textmodes/org.el: Require noutline, also on XEmacs. - (org-end-of-subtree): Return point. - (org-dblock-start-re, org-dblock-end-re): New constants. - (org-create-dblock, org-prepare-dblock, org-map-dblocks) - (org-dblock-update, org-update-dblock, org-beginning-of-dblock) - (org-update-all-dblocks, org-find-dblock): New functions. - (org-collect-clock-time-entries): New function. - (org-html-handle-time-stamps): Never export CLOCK timeranges. - (org-fixup-indentation): Modify to deal correctly with lines - starting with TAB. Only one argument DIFF now. - (org-demote, org-promote): Call `org-fixup-indentation' with just - one argument, DIFF. - (org-mode): Don't mark buffer as modified when aligning tables. - (org-clock-sum): Don't mark buffer modified when adding time sum - properties. - (org-export-as-html): Add support for a link validation function. - (org-archive-all-done): New function. - (org-archive-subtree): New prefix argument. When set, archive all - done subtrees in this buffer. - (org-remove-clock-overlays) - (org-remove-occur-highlights): Use `org-inhibit-highlight-removal'. - (org-inhibit-highlight-removal): New variable, for dynamic scoping. - (org-put-clock-overlay): Don't swallow last headline character - when displaying overlay. - (org-store-link): Link to `image-mode' with just the file name. - -2006-06-18 Michael Kifer - - * emulation/viper-cmd.el (viper-special-read-and-insert-char): - Use read-key-sequence. - (viper-after-change-undo-hook): Misc enhancements. - (viper-after-change-undo-hook): New hook. - (viper-undo): Use viper-after-change-undo-hook. - (viper-add-newline-at-eob-if-necessary): Widen before making changes. - (viper-next-line-at-bol): If point is on a widget or a button, simulate - clicking on that widget/button. - - * emulation/viper.el (viper-mode): Allow a separate cursor color - in Emacs state. - - * ediff-diff.el (ediff-test-patch-utility): Catch errors. - (ediff-actual-diff-options, ediff-actual-diff3-options): New variables. - (ediff-set-actual-diff-options): New function. - (ediff-reset-diff-options, ediff-toggle-ignore-case): - Use ediff-set-actual-diff-options. - (ediff-extract-diffs): Catch errors. - (ediff-whitespace): Add non-breakable space. - (ediff-same-file-contents): Catch errors. - - * ediff-mult.el (ediff-collect-custom-diffs): - Save coding-system-for-read. - - * ediff-vers.el (ediff-keep-tmp-versions): New variable. - (ediff-vc-internal, ediff-vc-merge-internal): - Use ediff-delete-version-file. - (ediff-delete-version-file): New function. - - * ediff-wind.el (ediff-control-frame-parameters): Set frame fringes. - - * ediff.el (ediff-directories, ediff-directory-revisions) - (ediff-merge-directories, ediff-merge-directories-with-ancestor) - (ediff-directories-internal, ediff-merge-directory-revisions) - (ediff-merge-directory-revisions-with-ancestor) - (ediff-directories3): Use read-directory-name. - -2006-06-18 Ralf Angeli - - * textmodes/tex-mode.el (tex-font-lock-match-suscript): - Remove superfluous part of regexp for brace matching which is handled - by `scan-lists' call. - -2006-06-16 Richard Stallman - - * obsolete/options.el (list-options): Put "obsolete" msg in buffer. - - * files.el (basic-save-buffer-2): For a new precious file, - use the default modes in the return value. - - * facemenu.el (facemenu-color-alist): Doc fix. - - * cus-edit.el (custom-guess-name-alist): Recognize `-flag'. - -2006-06-16 YAMAMOTO Mitsuharu - - * cus-start.el (all): Add mac-ts-script-language-on-focus. - - * term/mac-win.el (mac-text-encoding-ascii): New constant. - (mac-utxt-to-string): Use it. - (mac-ts-update-active-input-area): Use mac-ae-number. - -2006-06-15 Dan Nicolaescu - - * term.el (term-handle-scroll, term-delete-lines) - (term-insert-lines): Fix off by one errors. - -2006-06-15 Katsumi Yamaoka - - * net/tramp.el (tramp-touch): Use UTC to express time. - -2006-06-15 Chong Yidong - - * mail/sendmail.el (mail-send): Search explicitly for - mail-header-separator when checking for corrupted header lines. - -2006-06-15 Nick Roberts - - * progmodes/gdb-ui.el (gdb-same-frame): New option. - (gud-old-arrow, gdb-frame-begin, gdb-printing): New variables. - (gdb-init-1): Initialise them. - (gdb-starting): Reset gdb-printing - (gdb-starting): Save value of gud-overlay-arrow-position. - (gdb-frame-begin): Set gdb-frame-begin, gdb-printing. - (gdb-stopped): Don't look for source if calling procedure e.g "p a ()". - Use gdb-*-gdb-buffer conditionally on gdb-same-frame. - (gdb-frame-gdb-buffer): Keep menu bar, tool bar for GUD buffer. - -2006-06-14 Stefan Monnier - - * pcvs.el (cvs-retrieve-revision): Use decode-coding-inserted-region. - -2006-06-13 Martin J. Reed (tiny change) - - * net/ldap.el (ldap-ldapsearch-args): Default to SASL search. - (ldap-search-internal): Keep error messages, and a regexp fix. - -2006-06-12 Thien-Thi Nguyen - - * files.el (hack-local-variables-confirm): - Display string value using its printed representation. - -2006-06-11 Chong Yidong - - * server.el (server-edit): No-op if no server buffers exist. - -2006-06-11 Robert J. Chassell - - * textmodes/page-ext.el (pages-directory-for-addresses): - Including `pages-directory-address-mode' in the function results - in the message "Buffer in which pages were found is deleted". - -2006-06-10 Carsten Dominik - - * textmodes/org.el (org-agenda-mode-map): Add bindings for - clocking functions. - - (org-agenda-clock-in, org-check-running-clock) - (org-clock-out-if-current, org-remove-clock-overlays) - (org-put-clock-overlay): New functions. - (org-clock-marker, org-clock-file-total-minutes) - (org-clock-overlays): New variables. - (org-clock-display, org-clock-sum, org-clock-cancel) - (org-clock-out, org-clock-in): New commands. - (org-export): New function. - (org-emph-re): New constant. - (org-set-emph-re, org-do-emphasis-faces): New functions. - (org-emphasis-regexp-components, org-emphasis-alist): New options. - (org-set-font-lock-defaults): Call `org-do-emphasis-faces'. - (org-export-html-convert-emphasize): Use the configurable emphasis. - (org-cleaned-string-for-export): Make multiline emphasis visible - to the exporter. New optional argument PARAMETERS. - (org-export-as-html): Specify :emph-multiline parameter to - `org-cleaned-string-for-export'. - -2006-06-10 Richard Stallman - - * help.el (help-for-help-internal): Clean up help text. - -2006-06-10 Andreas Schwab - - * language/ethio-util.el (ethio-fidel-to-java-buffer): Fix quoting - in doc string. - - * progmodes/cperl-mode.el (cperl-short-docs): Likewise. - -2006-06-09 Karl Chen - - * progmodes/make-mode.el (makefile-fill-paragraph): Don't remove - spaces after the comment start. - -2006-06-09 Micha,Ak(Bl Cadilhac - - * play/pong.el (pong-init-buffer): - Fill buffer with spaces instead of ^A. - - * textmodes/ispell.el (ispell-kill-ispell): If ispell has been - launched asynchronously, delete its process instead of being cool. - (ispell-async-processp): Check for `delete-process' existence - instead of `kill-process' one for consistency. - -2006-06-09 Nick Roberts - - * progmodes/gdb-ui.el (gdb-set-gud-minor-mode-existing-buffers-1) - (gdb-prompt, gdb-set-gud-minor-mode-existing-buffers): Show status - in mode line at startup. - -2006-06-08 Kim F. Storm - - * ido.el (ido-take-first-match, ido-push-dir-first): New commands. - (ido-init-completion-maps): Bind them to M-SPC and M-v. - (ido-copy-current-file-name): Repeating C-w inserts whole file name. - (ido-file-internal): Pass full file name to write-file. - (ido-read-internal): Only pop stack elements automatically if they - actually match an existing directory or file name. - -2006-06-07 Kenichi Handa - - * international/mule.el (find-auto-coding): Don't handle the short - name `char-trans'. - - * files.el (hack-local-variables-prop-line) - (hack-local-variables): Cancel the previous change. - -2006-06-06 Jesper Harder - - * ediff-diff.el (ediff-test-utility): Protect against file-error. - -2006-06-06 Chong Yidong - - * diff-mode.el (diff-mode): Set buffer-read-only to t when - diff-default-read-only is non-nil. - (diff-hunk-kill, diff-file-kill, diff-split-hunk) - (diff-refine-hunk): Set inhibit-read-only to t. - - * diff.el (diff-sentinel, diff): Set inhibit-read-only to t when - modifying the *Diff* buffer. - (diff-process-filter): New filter function for diff process that - sets inhibit-read-only to t when modifying the *Diff* buffer. - -2006-06-06 Carsten Dominik - - * textmodes/org.el (org-archive-subtree): Use end-of-subtree as - insertion point and control the number of empty lines. - (org-paste-subtree): Limit the number of empty lines at the end of - the inserted tree. - (org-agenda): Use buffer name of current file for narrowing. - (org-export-as-xml): Command removed. - (org-export-xml-type): Option removed. - (org-mode-map): Call `org-export-as-xoxo' directly. - (org-get-indentation): New optional argument LINE. - (org-fix-indentation, org-remove-tabs): New functions. - (org-export-as-ascii, org-ascii-level-start): Determine and apply - correct indentation for headlines that are converted it items. - (org-skip-comments): Remove table lines that contain narrowing - cookies but no other non-empty fields. - (org-set-tags): Allow groups of mutually exclusive tags. - (org-cmp-time): Sort 24:21 before items without time. - (org-get-time-of-day): Fix the interpretation of 12pm and 12am. - (org-open-at-point): Require double colon also for numbers. - -2006-06-06 Kim F. Storm - - * ido.el (ido-default-file-method, ido-default-buffer-method): - Make choice values consistent with corresponding command names. - (ido-visit-buffer): Update accordingly. Default to selected-window. - -2006-06-06 Nick Roberts - - * progmodes/gud.el (gud-running): Fix doc string. - (gud-menu-map): Use :visible instead fo :enable for debugger test. - (gud-tooltip-modes): Add python-mode. - (gud-tooltip-print-command): Add pdb. Remove perldb. - -2006-06-05 Eli Zaretskii - - * makefile.w32-in (bootstrap, $(lisp)/mh-e/mh-loaddefs.el): - Quote $(EMACS). - -2006-06-05 Richard Stallman - - * faces.el (defined-colors): Doc fix. - -2006-06-05 Thien-Thi Nguyen - - * vc.el (vc-process-filter): Inhibit undo info collection around - call to insert. - (vc-setup-buffer): Likewise for call to erase-buffer. - (vc-do-command): Likewise for call to process-file. - -2006-06-05 Nick Roberts - - * progmodes/gud.el (gud-menu-map): Use a conditional help echo - for gud-go. - (gud-common-init): Other debuggers may trigger error. - -2006-06-05 Kenichi Handa - - * international/mule.el (find-auto-coding): - Handle enable-character-translation in file header. - -2006-06-04 Kim F. Storm - - * emacs-lisp/authors.el (authors-aliases): Add mode aliases. - (authors-fixed-entries): Fix spelling. - (authors-canonical-file-name): Don't report error for wildcards. - - * help.el (view-emacs-news): Rewrite to support new NEWS, - NEWS.major, and NEWS.1-17 file naming. Add more intelligence, - e.g. version 10 matches 1.10, and don't be confused by version 1.1 - being a prefix of 1.12 (etc). A numeric prefix arg also works. - -2006-06-03 Vivek Dasmohapatra - - * progmodes/sh-script.el (sh-quoted-exec): New face for quoted - exec constructs like `foo bar`. - (sh-quoted-subshell): New helper function to search for a possibly - nested subshell (like `` or $()) within a "" quoted string. - (sh-font-lock-keywords-var): Add sh-quoted-exec for Bash. - (sh-apply-quoted-subshell): Flag quote characters inside a - subshell, which is itself already in a quoted region, as - punctuation, since this is the closest to what they actually are. - (sh-font-lock-syntactic-keywords): Add sh-quoted-subshell and - sh-apply-quoted-subshell. - (sh-font-lock-syntactic-face-function): Apply the new face for - text inside `` instead of the old font-lock-string-face. - -2006-06-03 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-ts-active-input-overlay): Add defvar. - (mac-ae-number, mac-ae-frame, mac-ae-script-language) - (mac-bytes-to-text-range, mac-ae-text-range-array) - (mac-ts-update-active-input-buf, mac-split-string-by-property-change) - (mac-replace-untranslated-utf-8-chars, mac-ts-update-active-input-area) - (mac-ts-unicode-for-key-event): New functions. - (mac-handle-toolbar-switch-mode): Use mac-ae-frame. - (mac-handle-font-selection): Use mac-ae-number. - (mac-ts-active-input-buf, mac-ts-update-active-input-area-seqno): - New variables. - (mac-ts-caret-position, mac-ts-raw-text, mac-ts-selected-raw-text) - (mac-ts-converted-text, mac-ts-selected-converted-text) - (mac-ts-block-fill-text, mac-ts-outline-text) - (mac-ts-selected-text, mac-ts-no-hilite): New faces. - (mac-ts-hilite-style-faces): New constant. - (mac-apple-event-map): Bind text input events. - (mac-dispatch-apple-event): Use command-execute instead of - call-interactively. - (global-map): Don't bind mac-apple-event. - (special-event-map): Bind mac-apple-event. - -2006-06-02 Eli Zaretskii - - * makefile.w32-in (EMACS): Remove quotes from the Emacs executable - file name. - (emacs): Enclose the value of $(EMACS) in quotes. - -2006-06-02 Juri Linkov - - * international/mule.el (sgml-html-meta-auto-coding-function): - Remove the condition `(search-forward " - - * files.el (hack-local-variables-prop-line): Ignore `char-trans' - as well as `coding'. - (hack-local-variables): Likewise. - - * international/mule.el (enable-character-translation): - Put permanent-local and safe-local-variable properties. - (find-auto-coding): Handle char-trans: tag. - -2006-06-02 Juri Linkov - - * international/mule.el (sgml-html-meta-auto-coding-function): - Limit the search by the end of the HTML header (if any). - -2006-06-01 Richard Stallman - - * subr.el (with-current-buffer): Doc fix. - -2006-06-02 Masatake YAMATO - - * progmodes/compile.el (compilation-error-regexp-alist-alist::gcov-*): - Almost rewrite. Underlines over all lines of gcov output are too - uncomfortable to read. Suggested by Dan Nicolaescu. - -2006-06-01 Luc Teirlinck - - * progmodes/inf-lisp.el (inferior-lisp-mode): Doc fixes. - - * shell.el (shell-mode): Use shell-mode-map in docstring. - - * comint.el (comint-send-input): Do not add help-echo and - mouse-face to input if `comint-use-prompt-regexp' is non-nil. - -2006-06-01 Jan Dj,Ad(Brv - - * term/x-win.el: Change x-menu-bar-start to menu-bar-open. - -2006-06-01 Nick Roberts - - * progmodes/gdb-ui.el (gdb-look-up-stack): New variable. - (gdb-stopped, gdb-info-stack-custom): If there is no source info - look up the stack and pop up GUD buffer if necessary. - (gdb-frames-select): Remove redundant call to gud-display-frame. - (gdb-info-threads-custom): Keep point at start of buffer. - (gdb-find-file-hook): Make it work for pre-GDB 6.4. - -2006-05-31 Juri Linkov - - * replace.el (query-replace-read-from, query-replace-read-to): - Bind `history-add-new-input' to nil. Call `add-to-history'. - -2006-05-31 Takaaki Ota - - * textmodes/table.el: Convert all HTML tags to lower case for - XHTML compatibility. - -2006-05-31 Masatake YAMATO - - * progmodes/compile.el: - (compilation-error-regexp-alist-alist::gcov-called-line): - Don't put face on `-' lines in gcov file. Suggested by Dan Nicolaescu. - -2006-05-31 Nick Roberts - - * progmodes/gud.el (gud-query-cmdline, gud-common-init): - Revert inadvertent changes made with last commit. - -2006-05-30 Reiner Steib - - * textmodes/flyspell.el (turn-on-flyspell, turn-off-flyspell): - New functions. - - * textmodes/text-mode.el (text-mode-hook): Use turn-on-flyspell. - -2006-05-30 Carsten Dominik - - * textmodes/org.el (org-agenda-highlight-todo): Make sure regexp - only matches in the right place. - (org-upcoming-deadline): New face. - (org-agenda-get-deadlines): Use new face `org-upcoming-deadline'. - (org-export-ascii-underline): Rename constant `org-ascii-underline' - and make it an option. - (org-export-ascii-bullets): New option. - (org-export-as-html): Many changes to emit valid XHTML. - (org-par-open): New variable. - (org-open-par, org-close-par-maybe, org-close-li-maybe): New functions. - (org-html-do-expand, org-section-number): Fix case in `replace-match'. - (org-timeline): Pass `org-timeline-show-empty-dates' to - `org-get-all-dates'. Interpret empty dates returned by - `org-get-all-dates'. - (org-get-all-dates): New argument EMPTY. Add dates without - entries to the list, mark large ranges of empty dates. - (org-point-in-group, org-context): New functions. - -2006-05-30 Nick Roberts - - * progmodes/gud.el (gud-stop-subjob): Make it work in all buffers. - - * progmodes/gdb-ui.el: Move gdb-mouse-toggle-breakpoint-* to - C-mouse-1. Move gdb-mouse-until to mouse-3, gdb-mouse-jump - to C-mouse-3 (for 2 button mice). - (gdb-send): Do the right thing for C-d. - - * speedbar.el (speedbar-detach): Delete. - (speedbar-easymenu-definition-trailer): Remove speedbar-detach as - it breaks things. - (speedbar-reconfigure-keymaps): Always add extra items to pop up menu. - -2006-05-30 Daniel Pfeiffer - - * files.el (auto-mode-alist): Add makepp suffix and optional mk on - Makeppfile. - - * progmodes/compile.el (compilation-error-regexp-alist-alist): - Add makepp diagnostic. - -2006-05-29 Richard Stallman - - * window.el (fit-window-to-buffer): Doc fix. - - * help.el (temp-buffer-max-height): Doc fix. - - * subr.el (with-current-buffer): Doc fix. - -2006-05-29 Jan Dj,Ad(Brv - - * term/x-win.el: Bind F10 to menu-bar-start if available. - -2006-05-28 Dan Nicolaescu - - * term.el (term-if-xemacs, term-ifnot-xemacs): Delete, replace - uses with a simple test. - (term-set-escape-char, term-mode, term-check-kill-echo-list) - (term-send-raw-string, term-send-raw, term-mouse-paste) - (term-char-mode, term-line-mode, term-exec, term-sentinel) - (term-handle-exit, term-read-input-ring) - (term-previous-matching-input-string) - (term-previous-matching-input-string-position) - (term-previous-matching-input-from-input) - (term-replace-by-expanded-history, term-send-input) - (term-skip-prompt, term-bol, term-send-invisible) - (term-kill-input, term-delchar-or-maybe-eof) - (term-backward-matching-input, term-check-source) - (term-proc-query, term-emulate-terminal) - (term-handle-colors-array, term-process-pager, term-pager-line) - (term-pager-bob, term-unwrap-line, term-word) - (term-dynamic-complete-filename) - (term-dynamic-complete-as-filename) - (term-dynamic-simple-complete): Replace one arm ifs with whens or - unlesses. - -2006-05-29 Stefan Monnier - - * files.el (hack-one-local-variable-eval-safep): Don't burp if used - during bootstrapping. - - * emacs-lisp/ewoc.el (ewoc--current-dll): Remove. - Basically undo the change of 2006-05-26: use extra arguments instead of - dynamic scoping. - (ewoc-locate): Remove unused var `footer'. - -2006-05-28 Stefan Monnier - - * emacs-lisp/ewoc.el (ewoc--insert-new-node): Use ewoc--refresh-node. - - * emacs-lisp/autoload.el (no-update-autoloads): Declare. - (generate-file-autoloads): Obey it. Return whether autoloads were - added at point or not. - (update-file-autoloads): Use this new return value. - Remove redundant test for the presence of an autoload cookie. - - * emacs-lisp/autoload.el (autoload-find-file): New fun. - This one calls hack-local-variables. - (generate-file-autoloads, update-file-autoloads): Use it. - - * textmodes/bibtex.el (bibtex-autokey-name-case-convert-function) - (bibtex-sort-entry-class): Add safe-local-variable predicate. - (bibtex-sort-entry-class-alist): Don't set the global value. - (bibtex-init-sort-entry-class-alist): New fun. - (bibtex-sort-buffer, bibtex-prepare-new-entry): Call it to compute - bibtex-init-sort-entry-class-alist from the buffer-local value (if any) - of bibtex-init-sort-entry-class. - -2006-05-28 Richard Stallman - - * subr.el (load-history-regexp): If FILE is relative, insist - entire last name component must match it. - (load-history-filename-element, load-history-regexp): Doc fixes. - -2006-05-29 Kim F. Storm - - * emacs-lisp/bindat.el (bindat-idx, bindat-raw): Rename dynamic vars - `pos' and `raw-data' for clarity, as eval forms may access these. - -2006-05-28 Kim F. Storm - - * emacs-lisp/bindat.el (bindat--unpack-u8): Use aref also for strings. - -2006-05-28 Stefan Monnier - - * progmodes/make-mode.el (makefile-browser-map) - (makefile-mode-syntax-table): Move initialization inside declaration. - (makefile-fill-paragraph): Use the default comment-filling code. - -2006-05-28 Chong Yidong - - * replace.el (query-replace-defaults): New variable. - (query-replace-read-from): Use `query-replace-defaults' for - default value, instead of history list. - (query-replace-read-to): Update `query-replace-defaults'. - -2006-05-27 Chong Yidong - - * msb.el (mouse-select-buffer): Minor fix to make popup menu work - with no X toolkit. - -2006-05-28 Nick Roberts - - * tumme.el (tumme-show-all-from-dir-max-files): Fix typo. - (tumme-show-all-from-dir): Add autoload. - -2006-05-27 Mathias Dahl - - * tumme.el: Change a lot of `(if .. (progn ..)' to `(when ..)'. - (tumme-remove-tag): Fix bug. - -2006-05-27 Thien-Thi Nguyen - - * emacs-lisp/ewoc.el (ewoc--create): No longer take HEADER and - FOOTER args. Update unique caller. - (ewoc-delete): Compute last node once before looping. - (ewoc--node-branch): Merge into unique caller. - (ewoc--node): Don't define constructor make-ewoc--node for this - structure. - (ewoc): Add member `hf-pp' to this structure. - (ewoc--wrap): New func. - (ewoc-create): Take additional arg NOSEP. If nil, wrap node and - header/footer pretty-printers. Save header/footer pretty-printer. - (ewoc-set-hf): Use ewoc's header/footer pretty-printer. - - * pcvs.el (cvs-make-cvs-buffer): Specify NOSEP to `ewoc-create'. - -2006-05-27 Mathias Dahl - - * dired.el (dired-mode-map): Change `tumme-tag-remove' to - `tumme-delete-tag'. Rename `Remove Image Tag' to `Delete Image - Tag'. Change "Compare directories..." to "Change Directories...". - Move tumme commands to Operate, Regexp and Immediate menus. - Change "Add Comment" to "Add Image Comment". Change "Add Image - Tag" to "Add Image Tags". - - * tumme.el (tumme-delete-tag): Rename from `tumme-tag-remove'. - (tumme-setup-dired-keybindings): Change `tumme-add-remove' to - `tumme-delete-tag'. - -2006-05-26 Luc Teirlinck - - * shell.el (shell-mode): Call shell-dirtrack-mode after - list-buffers-directory is made a local variable, to avoid setting - the default value. - -2006-05-26 Kevin Ryde - - * info.el (Info-index-next): Use where-is-internal to report - actual binding of Info-index-next, rather than hard-coded `,'. - -2006-05-26 Eli Zaretskii - - * menu-bar.el (menu-bar-apropos-menu): Move "Find Key in Manual" - and "Find Command in Manual" to here. - - * buff-menu.el (list-buffers-noselect): For Info buffers, use - Info-current-file as the file name. - -2006-05-26 Jonathan Yavner - - * ses.el (defadvice undo-more): Delete this defadvice. The undo - overrides will now be done a different way. - (ses-set-parameter): Reapply this function for undo. - (ses-set-header-row): Reconstruct header row during undo. - (ses-widen): New function. - (ses-goto-data, ses-reconstruct-all): Use new function. - (ses-command-hook): Widen buffer during undo, before unupdating - the cells. - (ses-insert-row, ses-delete-row): Widen buffer during undo. - (ses-load, ses-header-row): Permit empty (zero-row) spreadsheets. - (ses-read-cell): Avoid stupid warning for RET RET on a cell whose - formula hasn't been executed yet. - -2006-05-26 Reiner Steib - - * comint.el (comint-kill-whole-line): Rename arg to count. - Fix doc string. - -2006-05-26 Chong Yidong - - * files.el (backup-buffer-copy): Remove deleted MUSTBENEW argument - to copy-file. - -2006-05-26 Reiner Steib - - * simple.el (toggle-truncate-lines): Make arg optional for - backward compatibility. - -2006-05-26 Thien-Thi Nguyen - - * emacs-lisp/ewoc.el (ewoc--current-dll): New var. - (ewoc--node-next, ewoc--node-prev, ewoc--node-nth): Don't take - DLL arg. Instead, use ewoc--current-dll. Update all callers. - (ewoc--set-buffer-bind-dll-let*): Bind ewoc--current-dll, not `dll'. - (ewoc--adjust): Use ewoc--current-dll. - (ewoc-next, ewoc-prev, ewoc-nth): Bind ewoc--current-dll. - -2006-05-26 Carsten Dominik - - * textmodes/org.el (org-next-item, org-previous-item): Emit more - compact error message. - (org-tags-view): Refresh category table in each file. - (org-table-justify-field-maybe): Remove superfluous arguments to - `format'. - (org-export-as-html): Insert "

" before postamble. - (org-paste-subtree, org-kill-is-subtree-p): Check for empty kill ring. - -2006-05-26 Kenichi Handa - - * textmodes/po.el (po-find-charset): Pay attention to the case - FILENAME is a cons (NAME . BUFFER). - (po-find-file-coding-system-guts): Likewise. - - * arc-mode.el (archive-set-buffer-as-visiting-file): - Call find-operation-coding-system with (FILENAME . BUFFER). - - * tar-mode.el (tar-extract): Call find-operation-coding-system - with (FILENAME . BUFFER). - - * international/mule.el (decode-coding-inserted-region): - Call find-operation-coding-system with (FILENAME . BUFFER). - -2006-05-25 Chong Yidong - - * image-mode.el (image-toggle-display): Use buffer contents to - generate image for a remote file. - -2006-05-25 Juri Linkov - - * replace.el (query-replace-read-from, query-replace-read-to): - Remove 8th arg KEEP-ALL in read-from-minibuffer. - -2006-05-25 Rajesh Vaidheeswarran - - * whitespace.el (whitespace-cleanup): Change to cleanup - region if one is active. - * whitespace.el (whitespace-cleanup-internal): New internal method. - -2006-05-25 Mathias Dahl - - * dired.el (dired-mode-map): Add help-echo strings to tumme - commands. Bind `tumme-dired-display-image' to C-t i. - - * tumme.el (tumme-display-image): Change documentation string slightly. - (tumme-dired-display-image): Add call to `display-buffer'. - -2006-05-25 Thien-Thi Nguyen - - * emacs-lisp/bindat.el (bindat-unpack, bindat-pack): - Signal error if RAW-DATA is a multibyte string. - -2006-05-24 Richard Stallman - - * subr.el (with-local-quit): When handling `quit' signal, - make a chance for quit-flag to cause a quit. - - * emacs-lisp/advice.el (ad-enable-advice, ad-activate) - (ad-disable-advice): Add autoloads. - - * subr.el (read-passwd): Copy PROMPT before changing its properties. - -2006-05-25 Mathias Dahl - - * dired.el (dired-mode-map): Change menu items for tumme as per - suggestions in emacs-devel. - -2006-05-25 Nick Roberts - - * dired.el (dired-mode-map): Fix breakage. - -2006-05-25 Mathias Dahl - - * tumme.el (tumme-display-dired-image): Rename to... - (tumme-dired-display-image): ...this. - (tumme-track-movement): Change default value to t. - (tumme-display-thumbs): Add new optional parameter DO-NOT-POP, - used from `tumme-next-line-and-display' and similar commands. - - * dired.el (dired-mode-map): Add Thumbnail submenu under the - Immediate menu. Add some tumme commands there. - -2006-05-24 Luc Teirlinck - - * loadup.el ("jka-cmpr-hook"): Load it before it is needed. - -2006-05-24 Chong Yidong - - * menu-bar.el, international/mule-cmds.el: Remove tooltips for - menu entries that open submenus. - -2006-05-24 Alan Mackenzie - - * startup.el (command-line): For names of preloaded files, don't - append ".elc" (now done in Fload), and call file-truename on the - lisp directory. - - * subr.el (eval-after-load): Fix the doc-string. Allow FILE to - match ANY loaded file with the right name, not just those in - load-path. Put a regexp matching the file name into - after-load-alist, rather than the name itself. - - * subr.el (load-history-regexp, load-history-filename-element) - (do-after-load-evaluation): New functions. - - * international/mule.el (load-with-code-conversion): Do the - eval-after-load stuff by calling do-after-load-evaluation. - -2006-05-25 Nick Roberts - - * progmodes/gud.el (gud-sentinel): Condition on GUD buffer if it - has not been killed. - -2006-05-24 YAMAMOTO Mitsuharu - - * term/mac-win.el: Set idle timer to clean up expired Apple events. - (mac-ae-get-url): Redispatch Apple event on unknown scheme. - (mac-dispatch-apple-event): Resume Apple event if it is suspended. - Optionally set error message in reply. - -2006-05-24 Carsten Dominik - - * textmodes/org.el (org-open-at-point): Use renamed variable - `org-confirm-shell-link-function'. - (org-confirm-shell-link-function): Rename from - `org-confirm-shell-links'. - (org-export-directory): New function. - (org-export-as-ascii, org-export-as-html, org-export-as-xoxo) - (org-export-icalendar): Use `org-export-directory'. - (org-indent-item): Keep cursor position. - (org-link-file-path-type): New option. - (org-export-as-html): Fix bug with plain lists starting in - column 0. - (org-export-as-html): Remove deadline formatting, this happens - now already in `org-html-handle-time-stamps'. - (org-export-html-style): Deadline class removed. - (org-insert-labeled-timestamps-at-point): New option. - (org-cycle, org-occur, org-scan-tags): Use `org-overview' instead - of `hide-sublevels 1', in case the first headline is not level 1. - (org-overview, org-content): New fuction. - (org-cycle-global-status, org-cycle-subtree-status): Make these - variables buffer-local. - (org-global-cycle): New command. - (org-shifttab): Use `org-global-cycle'. - (org-insert-heading, org-insert-item): Go to end of new - headline/item after creating it. - (org-export-visible): Rename from `org-export-copy-visible'. - Now creates a temporary org-file and applies an exporting command - to it. - (org-table-eval-formula): Support for lisp forms. - (org-agenda-todo-ignore-scheduled): New option. - (org-agenda-get-todos): Use new option - `org-agenda-todo-ignore-scheduled'. - (org-export-html-inline-images): New value `maybe'. - (org-export-as-html): Inlining of images dependent on link description. - (org-archive-subtree): Check for end-of-buffer before trying - `kill-line'. - (org-agenda-follow-mode): New option. - (org-export-with-tags, org-export-with-timestamps): New options. - (org-html-handle-time-stamps): New function. - (org-keyword-time-regexp): New variable. - (org-agenda-get-todos): Use `org-agenda-todo-list-sublevels'. - (org-agenda-todo-list-sublevels): New option. - (org-html-level-start): When TITLE is nil, just close all levels. - (org-parse-key-lines, org-parse-export-options): Remove functions, - replaced by `org-infile-export-plist'. - (org-combine-plists, org-infile-export-plist) - (org-default-export-plist): New functions. - (org-export-html-preamble, org-export-html-postamble) - (org-export-html-auto-preamble, org-export-html-auto-postamble): - New variables. - (org-export-publishing-directory): New option. - (org-export-as-html, org-export-as-ascii): Use the new property - lists for settings. - (org-export-copy-visible, org-export-as-xoxo): - Respect `org-export-publishing-directory'. - (org-link-search, org-store-link, org-file-apps): Support for - links to BibTeX database entries.. - (org-get-current-options, org-set-regexps-and-options): - Implement logging as a startup option. - (org-store-link): Make sure context string is never empty - (org-insert-link): Use relative path when possible. - (org-at-item-checklet-p): New function. - (org-shifttab, org-shiftmetaleft, org-shiftmetaright) - (org-shiftmetaup, org-shiftmetadown, org-metaleft) - (org-metaright, org-metaup, org-metadown, org-shiftup) - (org-shiftdown, org-shiftright, org-shiftleft) - (org-ctrl-c-ctrl-c, org-cycle, org-return, org-meta-return): - Dispatch using `call-interactively'. - (org-call-with-arg): New defsubst. - (org-tag-alist, org-use-fast-tag-selection): New options. - (org-complete): Use `org-tag-alist'. - (org-fast-tag-insert, org-fast-tag-selection): New functions. - (org-next-item, org-previous-item): New commands. - (org-beginning-of-item, org-end-of-item): Add (interactive) to - make command. - (org-shiftup, org-shiftdown): Accommodate the item-navigation commands. - -2006-05-23 Thien-Thi Nguyen - - * emacs-lisp/ewoc.el (ewoc-delete): New function. - (ewoc-filter): Use `ewoc-delete'. - - * emacs-lisp/bindat.el (bindat-pack): Doc fix. - -2006-05-22 Stefan Monnier - - * textmodes/bibtex.el (bibtex-format-entry, bibtex-clean-entry): - Signal more user-friendly error messages. - - * complete.el (PC-do-completion): Undo the addition of implicit - wildcards if they did not lead to finding any match. - (read-file-name-internal): Don't add the final > if the completion is - not finished. - -2006-05-22 Reiner Steib - - * textmodes/bibtex.el (bibtex-maintain-sorted-entries): - Quote safe-local-variable predicate. - -2006-05-22 Thien-Thi Nguyen - - * emacs-lisp/ewoc.el (ewoc-set-data): New function. - -2006-05-21 Roland Winkler - - * textmodes/bibtex.el (bibtex-maintain-sorted-entries): Mark as safe. - - * progmodes/make-mode.el (makefile-special-targets-list) - (makefile-macro-table, makefile-target-table): Mark as risky. - (makefile-query-one-target-method): Make this the alias for the - following variable. - (makefile-query-one-target-method-function): Make this the real name. - - * textmodes/artist.el (artist-text-renderer): Make this the alias - for the following variable. - (artist-text-renderer-function): Make this the real name. - - * textmodes/flyspell.el (flyspell-generic-check-word-p): Make this - the alias for the following variable. - (flyspell-generic-check-word-predicate): Make this the real name. - - * textmodes/ispell.el (ispell-format-word): Make this the alias - for the following variable. - (ispell-format-word-function): Make this the real name. - (ispell-message-text-end): Mark as risky. - - * skeleton.el (skeleton-transformation, skeleton-filter) - (skeleton-pair-filter): Make these the aliases for the following - variables. - (skeleton-transformation-function, skeleton-filter-function) - (skeleton-pair-filter-function): Make these the real names. - - * progmodes/sh-script.el (sh-mode): Use skeleton-filter-function - and skeleton-pair-filter-function. - - * textmodes/sgml-mode.el (sgml-transformation): Make this the - alias for the following variable. - (sgml-transformation-function): Make this the real name. - (sgml-tag-alist): Mark as risky. - -2006-05-21 Richard Stallman - - * simple.el (kill-region): Interactively, pass point, then mark. - -2006-05-22 Thien-Thi Nguyen - - * emacs-lisp/ewoc.el (ewoc-create): Add autoload cookie. - -2006-05-21 Romain Francoise - - * dired-x.el (dired-mode-map): Don't bind M-g. - -2006-05-20 Richard Stallman - - * dired.el (dired-mode-map): Put dired-goto-file on j, not M-g. - (dired-goto-file): Doc fix. - -2006-05-21 Kim F. Storm - - * emulation/cua-base.el: Mention customizing cua-mode as alternative - way to enable built-in cua-mode if user loads older CUA-mode package. - - * ido.el (ido-read-file-name): Bind ido-show-dot-for-dired to nil - if default-filename is specified. - -2006-05-20 Eli Zaretskii - - * menu-bar.el (menu-bar-manuals-menu) : New menu item. - - * info.el (info-apropos): Make sure current-file and current-node - have non-nil values. Speed up by using add-to-list instead of - manual consing. - -2006-05-20 Micha,Ak(Bl Cadilhac - - * progmodes/make-mode.el (makefile-mode): Doc fix. - -2006-05-20 Eli Zaretskii - - * dired-aux.el (dired-do-shell-command): Doc fix. - -2006-05-20 Kevin Ryde - - * info-xref.el (info-xref-check-all-custom): Skip :tag part of - ``(custom-manual :tag "Foo" "(foo)Node")''. - -2006-05-20 Karl Chen - - * progmodes/cc-vars.el (c-backslash-column): Mark as safe if its - value is an integer. - -2006-05-20 Eli Zaretskii - - * mail/rmail.el (rmail-mime-charset-pattern): Add "?:" before - "format". - (rmail-convert-to-babyl-format): Undo the change from 2006-04-19. - -2006-05-20 Martin Rudalics - - * progmodes/hideif.el (show-ifdef-block): Fix bug where parts of - a hidden block remained hidden if `hide-ifdef-lines' is non-nil. - -2006-05-20 Stefan Monnier - - * progmodes/gud.el (gdb-script-font-lock-keywords): Use a stricter - regexp for keywords. - -2006-05-20 Masayuki FUJII (tiny change) - - * dnd.el (dnd-get-local-file-name): Specify LITERAL in - replace-regexp-in-string. - - * term/w32-win.el (w32-drag-n-drop): Substitute '/' for '\', - encode, and escape file name on conversion to URL. - -2006-05-20 YAMAMOTO Mitsuharu - - * dnd.el (dnd-handle-one-url): Change 3rd arg ARG to URL. - Don't unescape URL. - (dnd-get-local-file-name): Unescape URL on conversion to file name. - - * x-dnd.el (x-dnd-handle-file-name): Encode and escape file names - on conversion to URLs. - - * net/browse-url.el (browse-url-file-url): Encode file name on - conversion to URL. - - * term/mac-win.el (mac-ae-open-documents): Escape file name on - conversion to URL. - -2006-05-19 Eli Zaretskii - - * progmodes/cc-styles.el (c-style-alist): Doc fix. - -2006-05-19 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-bytes-to-digits): Remove function. - (mac-handle-toolbar-switch-mode): Use coercion instead of it. - -2006-05-19 Glenn Morris - - * calendar/diary-lib.el (diary-bahai-date) - (list-bahai-diary-entries, mark-bahai-diary-entries) - (mark-bahai-calendar-date-pattern): Not interactive. - (add-to-diary-list): New optional arg LITERAL. Doc fix. - (diary-entries-list): Change format of 4th element in each entry. - (diary-list-entries): Use add-to-diary-list. - (diary-goto-entry): Handle the case where the buffer visiting the - diary has been killed. - (fancy-diary-display): Add 'locator to button rather than 'marker. - Only generate temp-face when there are marks to apply. - (list-sexp-diary-entries): Pass literal to add-to-diary-list. - (diary-fancy-date-pattern): New variable. - (diary-time-regexp): Doc fix. - (diary-anniversary, diary-time): New faces. - (fancy-diary-font-lock-keywords): Use diary-fancy-date-pattern and - diary-time-regexp. Add font-lock-multiline property where needed. - Use new faces diary-anniversary and diary-time. - (diary-fancy-font-lock-fontify-region-function): New function, to - handle multiline font-lock pattern in fancy diary. - (fancy-diary-display-mode): Set font-lock-fontify-region-function. - (diary-font-lock-keywords): Tweak time regexp. Use new face - diary-time. - -2006-05-19 Alexander Shopov (tiny change) - - * international/code-pages.el (mik): Table corrected. - -2006-05-18 Kim F. Storm - - * progmodes/grep.el (grep-find): Don't check grep-find-command - before running command (breaks non-interactive usage). - -2006-05-18 Thien-Thi Nguyen - - * emacs-lisp/ewoc.el (ewoc--adjust): New func. - (ewoc--insert-new-node): Don't insert trailing newline. - Instead, adjust successor nodes's start markers. - (ewoc--refresh-node): Delete all text from current node's start - marker to the next one's; adjust successor nodes's start markers. - (ewoc--create): Doc fixes. - (ewoc--refresh): Don't insert newline. - (ewoc--set-hf): Use `ewoc--set-buffer-bind-dll-let*'. - * pcvs.el (cvs-make-cvs-buffer): - Specify extra newline for ewoc's header and footer. - (cvs-update-header): Update initial header recognition. - Append newline to final header and footer values. - * pcvs-info.el (cvs-fileinfo-pp): Insert trailing newline. - -2006-05-17 Richard Stallman - - * files.el (file-name-extension): Doc fix. - -2006-05-17 Stefan Monnier - - * shell.el (shell-dirtrack-mode): Make it into a proper minor mode, so - we can explicitly enable/disable rather than toggle. - (shell-mode): Use it. - (shell-cd): Don't try to reproduce what `cd' does. - -2006-05-17 Kim F. Storm - - * ido.el (ido-read-internal): Use only nondirectory part of - default item. - -2006-05-17 Thien-Thi Nguyen - - * emacs-lisp/ewoc.el (ewoc-data): Add docstring. - (ewoc-nth): Doc fix. - - (ewoc-map, ewoc-invalidate): Compute PP before looping. - -2006-05-16 Eli Zaretskii - - * international/mule.el (auto-coding-alist): Add .lha to files - read with no-conversion. - - * files.el (auto-mode-alist): Add .lha files to archive file - extensions. - - * arc-mode.el (archive-arc-summarize, archive-lzh-summarize): - Convert csize to integer when computing offsets within the - compressed archive file. - -2006-05-16 Kim F. Storm - - * subr.el (add-to-history): Add KEEP-ALL arg and align functionality - with read-from-minibuffer. - -2006-05-16 Reiner Steib - - * emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p): New function. - (byte-compile-warnings): Fix safe-local-variable property. - -2006-05-16 Ken Manheimer - - * allout.el (allout-show-bodies, allout-old-style-prefixes) - (allout-stylish-prefixes, allout-numbered-bullet) - (allout-file-xref-bullet, allout-use-hanging-indents): Use simple - predicates to qualify `safe-local-variable' property, when - available, else use equivalent lambda. - (allout-current-topic-collapsed-p): Do the right thing regarding - trailing blank lines. - -2006-05-16 Stefan Monnier - - * server.el (server-start): Only create a directory if needed. - (server-edit, server-unload-hook): server-start => server-mode. - (kill-emacs-hook): Cleanup upon exit. - -2006-05-15 Stefan Monnier - - * hexl.el (hexlify-buffer): Encode process arguments manually. - -2006-05-16 Nick Roberts - - * progmodes/gud.el (gud-tooltip-tips): Add missing argument to - call to gdb-tooltip-print. - -2006-05-15 Romain Francoise - - * dired-x.el (dired-guess-shell-gnutar): On GNU and GNU/Linux - systems, default to "tar" since those systems probably have GNU tar. - -2006-05-14 Lars Hansen - - * desktop.el (desktop-missing-file-warning): Fix docstring. - (desktop-restore-file-buffer): Correct question asked on missing file. - -2006-05-14 Kim F. Storm - - * progmodes/cc-subword.el (c-forward-subword, c-backward-subword): - Add CUA move property. - -2006-05-13 Chong Yidong - - * custom.el (custom-push-theme): Load the variable before checking - its `standard-value'. - -2006-05-13 Lars Hansen - - * desktop.el (desktop-save): Use with-temp-buffer. - -2006-05-12 Glenn Morris - - * calendar/cal-menu.el (calendar-mode-map, calendar-mouse-3-map): - * calendar/calendar.el (calendar-mode-map): - * calendar/diary-lib.el (include-other-diary-files, diary-mail-entries): - * calendar/appt.el (appt-check, appt-make-list): Refer to - diary-view-entries, diary-list-entries, diary-show-all-entries - rather than obsolete aliases. - -2006-05-12 Chong Yidong - - * simple.el (line-move-finish): Avoid calling point motion hooks - while processing intangibility. - -2006-05-12 Dan Nicolaescu - - * term/xterm.el (terminal-init-xterm): Fix typo. - -2006-05-12 Ken Manheimer - - * allout.el (allout-view-change-hook): Mark as being deprecated, - to be replaced by `allout-exposure-change-hook'. - (allout-exposure-change-hook): New, replacing - `allout-view-change-hook'. - (allout-flag-region): Run new hook `allout-exposure-change-hook', - in addition to `allout-view-change-hook'. - (allout-show-bodies, allout-old-style-prefixes) - (allout-stylish-prefixes, allout-use-hanging-indents): Quote the - lambda forms to prevent their showing up in variable help - presentations as inscrutable byte-compiled code. - (allout-numbered-bullet, allout-file-xref-bullet, allout-layout): - Use string-or-null-p to qualify safe-local-variable values. - (allout-reindent-bodies): Use memq to qualify matches against - valid safe-local-variable values. Also, quote the lambda as above. - (allout-use-mode-specific-leader): Add missing candidate-value - symbols, use memq, and quote the lambda. - (allout-overlay-interior-modification-handler): Remove unused - variables `msg' and 'opened'. - (allout-hidden-p): Constrain invisibility consideration to allout's - invisibility spec, disregarding invisibility for other reasons. - -2006-05-12 Reiner Steib - - * files.el (version-control): Correct safe values. - -2006-05-12 Thien-Thi Nguyen - - * emacs-lisp/ewoc.el (ewoc-refresh): Compute PP once before looping. - - (ewoc--node-enter-before, ewoc--create-node): Delete funcs. - (ewoc--insert-new-node): New func. - Update callers of deleted funcs to use it, instead. - -2006-05-11 Glenn Morris - - * calendar/calendar.el (diary-show-all-entries): Do not refer to - obsolete alias `show-all-diary-entries'. - (make-diary-entry): Not interactive. - (cal-tex-cursor-month, cal-tex-cursor-month-landscape) - (cal-tex-cursor-day, cal-tex-cursor-week, cal-tex-cursor-week2) - (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday) - (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week) - (cal-tex-cursor-year-landscape, cal-tex-cursor-filofax-year) - (cal-tex-cursor-filofax-daily, cal-tex-cursor-year): Interactive. - -2006-05-11 Johan Bockg,Ae(Brd - - * calendar/calendar.el (calendar-french-date-string) - (calendar-mayan-date-string, calendar-chinese-date-string) - (calendar-astro-date-string, calendar-iso-date-string) - (calendar-islamic-date-string, calendar-bahai-date-string) - (calendar-hebrew-date-string, calendar-coptic-date-string) - (calendar-ethiopic-date-string, calendar-persian-date-string): - These functions are not interactive. - -2006-05-11 Luc Teirlinck - - * files.el: Balance parentheses. - -2006-05-11 Reiner Steib - - * files.el, newcomment.el, outline.el, simple.el, - * emacs-lisp/bytecomp.el, progmodes/cc-compat.el, - * progmodes/cc-vars.el, progmodes/compile.el: - Move `safe-local-variable' declarations to the respective files. - - * help-fns.el (describe-variable): Don't print safe-var if it is - byte-code. Improve wording as suggested by Luc Teirlinck. - -2006-05-11 Nick Roberts - - * progmodes/gdb-ui.el (gdb-reset): Update speedbar if necessary. - (gdb-var-evaluate-expression-handler, gdb-var-update-handler): - Use a token for pending-triggers to ensure gdb-var-update - gets called once per user input again for pre-GDB 6.4. - (gdb-var-delete): Match on more complex expressions. - (gdb-var-list-children-handler, gdb-var-create-handler): - Use a token for consistency. - -2006-05-11 Carsten Dominik - - * textmodes/org.el (org-read-date, org-goto-calendar) - (org-agenda-goto-calendar): - Bind `view-calendar-holidays-initially' to nil. - -2006-05-11 Thien-Thi Nguyen - - * emacs-lisp/ewoc.el (ewoc--refresh-node): No longer save-excursion. - Update all callers to do it there, instead. - -2006-05-10 Glenn Morris - - * calendar/calendar.el (calendar-basic-setup): Set day to 1 in - prefix arg case, to avoid view-diary-entries-initially error. - Reported by Stephen Berman . - (calendar-date-is-legal-p): Handle dates with no day part. - -2006-05-11 Nick Roberts - - * comint.el (comint-insert-input): Just make it when - comint-use-prompt regexp is nil (default) and with the mouse. - (comint-copy-old-input): Reinstate from 2004-06-23. - (comint-mode-map): Bind C-c C-m to it. - -2006-05-10 J.D. Smith - - * progmodes/idlw-shell.el (idlwave-shell-move-or-history): - Remove spurious move to point-max (new comint behavior fixes). - - * progmodes/idlwave.el (idlwave-push-mark): Removed obsolete - compatibility function (Emacs 18/19). - (idlwave-is-continuation-line): Always return point at start of - previous non-blank continuation line. - (keyword-parameters): Fix continued comment font-lock matcher. - (idlwave-font-lock-fontify-region): Written, use as - font-lock-fontify-region-function, to fix continued keyword - fontification issues. - -2006-05-10 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-font-panel-mode): Doc fix. - (mac-service-selection, mac-service-open-file) - (mac-service-open-selection, mac-service-mail-selection) - (mac-service-mail-to, mac-service-insert-text): Rename from - mac-services-*. All uses changed. - (mac-apple-event-map): Rename event symbol `services' to `service'. - -2006-05-10 Thien-Thi Nguyen - - * emacs-lisp/ewoc.el (ewoc--dll-create, ewoc--node-delete) - (ewoc--node-enter-first, ewoc--node-enter-last) - (ewoc--delete-node-internal): Merge funcs into unique callers. - -2006-05-09 Chong Yidong - - * emacs-lisp/crm.el (completing-read-multiple): Properly handle - return value of read-from-minibuffer for empty input. - -2006-05-09 Miles Bader - - * comint.el (comint-insert-input): Remove redundant calls to setq - and goto-char. - -2006-05-10 Nick Roberts - - * comint.el (comint-insert-input): Make it work when - comint-use-prompt-regexp is t. - -2006-05-10 Miles Bader - - * subr.el (field-at-pos): New function. - - * comint.el (comint-insert-input): Use it. - -2006-05-09 Juri Linkov - - * battery.el (battery-linux-proc-acpi): Also try - `/proc/acpi/thermal_zone/THR2/temperature'. - - * files.el : Remove `eval' and `let' binding - for now unused lambda `string-or-null'. - - * add-log.el (change-log-default-name): Put `string-or-null-p' - instead of lambda on `safe-local-variable' property. - - * diff-mode.el (diff-context->unified): Use `region-beginning' and - `region-end' instead of `mark' and `point'. - (diff-unified->context, diff-reverse-direction, diff-fixup-modifs): - Operate on region in Transient Mark mode when the mark is active. - Use `region-beginning' and `region-end' instead of `mark' and - `point'. - (diff-hunk-text, diff-goto-source): Doc fix. - - * startup.el (fancy-splash-screens, normal-splash-screen): Use - face `mode-line-buffer-id' for mode-line buffer face instead of - hard-coded `(:weight bold)'. - - * arc-mode.el (archive-set-buffer-as-visiting-file): Bind - buffer-undo-list to t (undo-ask is reproducible by visiting - nested archives). - -2006-05-09 Kim F. Storm - - * progmodes/grep.el (rgrep): Set default directory of *grep* - buffer if we start M-x rgrep in the *grep* buffer and choose - a different base directory. - -2006-05-09 Michael Albinus - - * net/tramp.el (tramp-register-file-name-handlers): Enable Tramp - completion also when ido is loaded. - -2006-05-09 Masatake YAMATO - - * font-lock.el (cpp-font-lock-keywords-source-directives): Addded - "warning" and "import". - (cpp-font-lock-keywords): Added "warning". - -2006-05-08 Dan Nicolaescu - - * term/xterm.el (terminal-init-xterm): Add more key bindings. - -2006-05-08 Stefan Monnier - - * mwheel.el (mwheel-scroll): Make sure that when scrolling multiple - pages at a time, if we signal the end, we should indeed reach that end. - -2006-05-08 David Reitter - - * emacs-lisp/easy-mmode.el (define-minor-mode): Only preserve messages - output during execution of the body. - -2006-05-08 Kim F. Storm - - * progmodes/grep.el (lgrep, rgrep): Doc fixes. - -2006-05-08 Thien-Thi Nguyen - - * emacs-lisp/ewoc.el (ewoc--set-buffer-bind-dll-let*): - Use with-current-buffer. - -2006-05-07 Kim F. Storm - - * subr.el (add-to-history): Remove keep-dups arg. - - * kmacro.el (kmacro-push-ring): Let-bind history-delete-duplicates - to nil around call to add-to-history. - -2006-05-07 Stefan Monnier - - * emacs-lisp/syntax.el (syntax-ppss): Flush the cache before rather - than after a buffer modification. - -2006-05-08 Nick Roberts - - * progmodes/gdb-ui.el (gdb-var-create-handler): Move speedbar - call to... - (gud-watch): ...here so speedbar is raised for already watched - expressions. - (gdb-speedbar-refresh): Delete function. - (gdb-speedbar-update, gdb-speedbar-timer-fn): New functions. - Use speedbar-timer-fn instead of speedbar-refresh (reverting - earlier change). - (gdb-var-evaluate-expression-handler) - (gdb-var-list-children-handler-1, gdb-var-update-handler-1): Use it. - - * speedbar.el (speedbar-timer-fn): Remove save-window-excursion. - Update localized contents for all buffers except ignored modes. - -2006-05-07 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-utxt-to-string): Use `eq' instead of `='. - (mac-atsu-font-table, mac-font-panel-mode): Add defvars. - (mac-bytes-to-digits, mac-handle-toolbar-switch-mode) - (mac-handle-font-panel-closed, mac-handle-font-selection): - New functions. - (mac-font-panel-mode): New minor mode. - (mac-apple-event-map): Add bindings for toolbar toggle button and - font panel. - (menu-bar-showhide-menu): Add mac-font-panel-mode. - -2006-05-07 John Paul Wallington - - * ibuffer.el (ibuffer-compressed-file-name-regexp): - Avoid `regexp-opt'; simplify regexp for readability. - -2006-05-06 Eli Zaretskii - - * ldefs-boot.el (dired-do-redisplay, dired-maybe-insert-subdir): - * files.el (buffer-stale-function): - * dired-aux.el (dired-do-redisplay, dired-maybe-insert-subdir): - * autorevert.el (global-auto-revert-non-file-buffers): Point Info - links to the main manual, not to emacs-xtra. - -2006-05-06 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-utxt-to-string): Don't make adjustment for - MacJapanese if text is ASCII-only. - -2006-05-06 Nick Roberts - - * progmodes/gdb-ui.el (gdb-goto-breakpoint): Use or instead of - unless so nil isn't returned. - (gdb-setup-windows, gdb-restore-windows): Reset gdb-source-window. - -2006-05-06 Kim F. Storm - - * subr.el (add-to-history): New function. - - * ediff.el (ediff-files, ediff-files3, ediff-merge-files) - (ediff-merge-files-with-ancestor): - * env.el (setenv): - * isearch.el (isearch-update-ring): - * server.el (server-visit-files): - * progmodes/grep.el (lgrep, rgrep): - * progmodes/vhdl-mode.el (vhdl-generate-makefile-1): - * progmodes/xscheme.el (xscheme-insert-expression): - Use add-to-history. - - * kmacro.el (kmacro-push-ring): Use add-to-history. - (kmacro-ring-length): Remove unused defun. - (kmacro-start-macro): Use kmacro-push-ring. - -2006-05-06 Thien-Thi Nguyen - - * emacs-lisp/ewoc.el (ewoc-create, ewoc-set-hf): Use `insert' - directly instead of a lambda expression that calls it. - -2006-05-06 Kim F. Storm - - * avoid.el (mouse-avoidance-point-position): Use posn-at-point - instead of compute-motion. - -2006-05-05 Dan Nicolaescu - - * ibuffer.el (ibuffer-compressed-file-name-regexp): Undo previous - change. - -2006-05-05 Reiner Steib - - * startup.el (command-line-1): Refer to "Pure Storage" on - pure-space-overflow. - -2006-05-05 Martin Rudalics - - * emacs-lisp/re-builder.el (reb-update-overlays): Cycle through - provided faces once they all have been used up. - -2006-05-05 Eli Zaretskii - - * startup.el (normal-splash-screen, fancy-splash-screens-1): Add a - reference to the Lisp manual to the warning about pure space - overflow. - -2006-05-05 Micha,Ak(Bl Cadilhac - - * textmodes/ispell.el (ispell-buffer-local-dict): Add a `no-reload' - argument to avoid the call to `ispell-internal-change-dictionary' - when not needed. - (ispell-change-dictionary): Use this argument and call - `ispell-internal-change-dictionary' after the possible change - to `ispell-local-dictionary'. - (ispell-internal-change-dictionary): Check for a change in - personal dictionary use too. - -2006-05-05 Eli Zaretskii - - * startup.el (command-line): On MS-Windows, probe "~", not - "~USER", for warning about non-existent home directory. - - * arc-mode.el (archive-l-e): New optional argument `float' means - generate a float value. - (archive-arc-summarize, archive-lzh-summarize) - (archive-zip-summarize, archive-zoo-summarize): Invoke archive-l-e - with 3rd argument non-nil when file's size is being computed. - Format the file sizes with %8.0f instead of %8d. - -2006-05-05 YAMAMOTO Mitsuharu - - * cus-start.el (all): Add mac-dnd-known-types. - - * term/mac-win.el (mac-utxt-to-string, mac-string-to-utxt) - (mac-TEXT-to-string, mac-string-to-TEXT, mac-furl-to-string) - (mac-TIFF-to-string): New functions. - (x-get-selection, x-selection-value) - (mac-select-convert-to-string): Use them. - (mac-text-encoding-mac-japanese-basic-variant): New constant. - (mac-dnd-types-alist): New customization variable. - (mac-dnd-handle-furl, mac-dnd-handle-hfs, mac-dnd-insert-utxt) - (mac-dnd-insert-TEXT, mac-dnd-insert-TIFF, mac-dnd-drop-data) - (mac-dnd-handle-drag-n-drop-event): New functions. - (mac-drag-n-drop): Remove function. - (global-map): Bind drag-n-drop and M-drag-n-drop to - mac-dnd-handle-drag-n-drop-event. - -2006-05-04 Karl Chen - - * progmodes/perl-mode.el (perl-beginning-of-function): - Skip anonymous subs. - -2006-05-04 Dan Nicolaescu - - * ibuffer.el (ibuffer-compressed-file-name-regexp): Avoid loading - regexp-opt at run time. - - * term.el (term-handle-ansi-escape): Fix off by one error. - -2006-05-04 Nick Roberts - - * progmodes/gdb-ui.el (gdb-force-update): Delete variable... - (gdb-init-1, gdb-post-prompt): ...and references to it. - (gdb-frame-handler): Strip directory name from filename if present. - - * progmodes/gud.el (gdb-force-update): Delete defvar - (gud-speedbar-buttons): ...and references to it. Use window-start - to try to keep positon in watch expression. - -2006-05-03 Richard Stallman - - * simple.el (next-history-element, previous-history-element): Doc fix. - - * isearch.el (isearch-update-ring): Doc fix. - -2006-05-03 Dan Nicolaescu - - * isearch.el (isearch-update-ring): Take history-delete-duplicates - into consideration. Replace one arm ifs with whens. - -2006-05-03 Nick Roberts - - * progmodes/gdb-ui.el (gud-watch): Let user select an expression. - (menu): Fix typo. - -2006-05-02 Miles Bader - - * replace.el (occur-engine): Bind `inhibit-field-text-motion' to t. - -2006-05-02 Jay Belanger - - * calc/calc-embed.el (calc-override-minor-modes-map) - (calc-override-minor-modes): New variables. - (calc-do-embedded): Make sure that Calc keystrokes aren't - overwritten by minor modes. - -2006-05-02 Chong Yidong - - * msb.el (msb): If EVENT is a down event, read and discard the up event. - -2006-05-02 Reiner Steib - - * startup.el (command-line-1): Refer to Lisp manual when - pure-space-overflow occurs. - - * files.el (byte-compile-dynamic, byte-compile-dynamic-docstrings) - (byte-compile-warnings, find-file-visit-truename, indent-tabs-mode) - (left-margin, no-byte-compile, no-update-autoloads, truncate-lines) - (version-control): Don't use `t' for safe-local-variable declarations. - -2006-05-01 Richard Stallman - - * diff-mode.el (diff-mode-shared-map): Don't bind M-W, M-U, M-C, - M-r, M-R, M-A, M-SPC or M-DEL. - (diff-mode-map): diff-refine-hunk now on C-c C-w - (diff-mode-map): Bind C-c C-e, C-c C-n, C-c C-r, C-c C-u. - - * help-mode.el (help-mode): view-exit-action calls delete-window - only when it is safe and possible. - - * simple.el (undo-outer-limit-truncate): Put quotes around buffer name - in messages. - - * emacs-lisp/warnings.el (display-warning, lwarn): Doc fixes. - - * tool-bar.el (tool-bar-setup): Put Help and Preferences items - in the default tool-bar-map. - -2006-05-01 Michael Albinus - - * net/tramp.el (tramp-completion-file-name-handler-alist) - (tramp-run-real-handler, tramp-completion-run-real-handler) - (tramp-completion-handle-file-name-all-completions) - (tramp-completion-handle-file-name-completion): Autoload them. - (tramp-completion-handle-file-exists-p) - (tramp-completion-handle-file-name-directory) - (tramp-completion-handle-file-name-nondirectory) - (tramp-completion-handle-expand-file-name): Remove them. - (tramp-handle-file-name-directory): Return the real directory name. - Returning "/" only doesn't need to be necessary any longer. - (tramp-file-name-handler): Make special attention when in hostname - completion mode. - (tramp-completion-file-name-handler): Revert patch from 2006-04-28. - (tramp-register-file-name-handlers): - Register `tramp-completion-file-name-handler' only when - `partial-completion-mode' is enabled. - (tramp-completion-handle-file-name-all-completions): - Delete directory part from results. - (tramp-get-completion-methods, tramp-get-completion-user-host): - Discard deleting "/", it doesn't work after the change of - `tramp-handle-file-name-directory' above. - -2006-05-01 Kim F. Storm - - * progmodes/grep.el (grep-expand-template): Use save-match-data - and symbol-value. - -2006-05-01 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-ae-open-documents, mac-drag-n-drop): - Use select-frame-set-input-focus instead of raise-frame. - (global-map): Bind M-drag-n-drop to mac-drag-n-drop. - -2006-05-01 Nick Roberts - - * progmodes/gud.el (gud-def): Add %c case. - (gud-speedbar-buttons): Don't bind case-fold-search unnecessarily. - (gud-format-command): Make match case sensitive. Match on %F. - -2006-04-30 Glenn Morris - - * calendar/cal-tex.el (cal-tex-preamble-extra): New variable. - (cal-tex-preamble): Use cal-tex-preamble-extra. - (cal-tex-list-diary-entries): Refer to `diary-list-entries' rather - than alias `list-diary-entries'. - -2006-04-29 Dan Nicolaescu - - * help-fns.el (describe-variable): Add info about safe local variables. - -2006-04-29 Richard Stallman - - * bindings.el (mode-line-format): help-echo doc fixes. - - * net/tramp.el (tramp-file-name-handler-alist): Delete - expand-file-name and other operations that can cause spurious loading. - -2006-04-29 Stefan Monnier - - * files.el (safe-local-variable-p): Remove support for the special - value t. - - * textmodes/paragraphs.el (sentence-end-without-space): - Fix safety predicate. - (sentence-end-double-space, sentence-end-without-period) - (paragraph-ignore-fill-prefix): - * textmodes/fill.el (colon-double-space): - * abbrev.el (abbrev-mode): Tighten the safety predicate. - - * subr.el (booleanp): New fun. - - * textmodes/reftex-vars.el (reftex-guess-label-type): - Tighten the safety predicate. - -2006-04-28 Kim F. Storm - - * progmodes/grep.el (defgroup grep): Doc fix. - (grep-auto-highlight): Remove. - (grep-template): New defcustom. - (grep-find-template): Rename from grep-tree-template. - (grep-files-aliases): Rename from grep-tree-files-aliases. - Remove "all" alias, add "l" alias. - (grep-tree-ignore-case, grep-tree-ignore-CVS-directories): Remove. - (grep-find-ignored-directories): New defcustom to replace - grep-tree-ignore-CVS-directories, to facilitate ignoring - subdirectories for multiple version control systems. - (grep-mode-map): Add Recursive grep item to GREP menu. - (grep-regexp-history, grep-files-history): New defvars. - (grep-probe): New helper function. - (grep-compute-defaults): Use it to simplify code. - Adapt to name changes. - Use `.' as base in grep-find-template rather than . - (grep): Remove superfluous highlight-regexp arg. Fix doc. - Call grep-compute-defaults unconditionally. - (grep-expand-keywords): New defconst. - (grep-expand-template): Rename from grep-expand-command-macros. - Simplify via grep-expand-keywords. Look at case-fold-search instead - of grep-tree-ignore-case to add -i option. - Bind case-fold-search to nil while matching keywords. - (grep-tree-last-regexp, grep-tree-last-files): Remove. - (grep-read-regexp, grep-read-files): New helper functions. - (rgrep): Rename from grep-tree. Rework to use proper histories. - Adapt to changes in defcustoms and functions above. - (lgrep): New command, as grep, but using same interactive UI as rgrep. - -2006-04-28 Michael Albinus - - * net/tramp.el (tramp-completion-file-name-handler): - Disable Tramp's functionality while loading Tramp itself. - (tramp-register-file-name-handlers): That's a defsubst now. - Code from `tramp-repair-jka-compr' moved here. Apply it via - `after-init-hook'. - (tramp-repair-jka-compr): Remove. - -2006-04-27 Jay Belanger - - * calc/calc-embed.el (calc-embedded-make-info): Use `math-read-expr' to - read expression when `math-read-big-expr' doesn't work. - -2006-04-27 Reiner Steib - - * startup.el (command-line-1): Display warning when - pure-space-overflow is non-nil. - -2006-04-26 Roland Winkler - - * textmodes/bibtex.el (bibtex-user-optional-fields): Mark as - risky. - -2006-04-26 Roland Winkler - - * textmodes/bibtex.el (bibtex-url): New optional arg no-browse. - Return the URL or nil if none can be generated. - -2006-04-27 Nick Roberts - - * progmodes/gud.el (gud-comint-buffer): Move forward to stop - byte compiler warnings. - (gud-basic-call, gud-find-expr): Let user select an expression - for printing. Print expression as well as value in GUD buffer. - -2006-04-17 Ken Manheimer - - * allout.el: Remove local autoload declaration for - pgg-gpg-symmetric-key-p, since that's now done in pgg-gpg.el. - (allout-show-bodies, allout-header-prefix, allout-primary-bullet) - (allout-plain-bullets-string, allout-distinctive-bullets-string) - (allout-use-mode-specific-leader, allout-old-style-prefixes) - (allout-stylish-prefixes, allout-numbered-bullet) - (allout-file-xref-bullet, allout-presentation-padding) - (allout-use-hanging-indents, allout-reindent-bodies): Mark as - safe-local-variable with suitable value spec, and add autoload - cookie for loaddefs inclusion. We now use an explicit spec everywhere. - (move-beginning-of-line, move-end-of-line): Repair so these compat - functions now actually resituate the point, when appropriate. - -2006-04-26 Stefan Monnier - - * progmodes/cc-subword.el (c-subword-mode-map): Use command remapping. - - * add-log.el (add-log-iso8601-time-zone): Make parameter optional. - (add-log-iso8601-time-string): Fix call to format-time-string. - -2006-04-26 Kim F. Storm - - * subr.el (posn-string, posn-image, posn-object): Doc fix. - -2006-04-26 Masatake YAMATO - - * progmodes/asm-mode.el (asm-mode, asm-mode-syntax-table): - Add support for "//" style comments. Remove `b' flag - from ?* in `asm-mode-syntax-table'. - -2006-04-26 Stefan Monnier - - * follow.el: Use (featurep 'xemacs) everywhere. - (follow-mode): Use define-minor-mode. - (follow-mode-map): Move initialization into the declaration. - Use command remapping. - (follow-emacs-version-xemacs-p): Remove. - (follow-submit-feedback): Remove. - - * allout.el (allout-layout, allout-passphrase-verifier-string) - (allout-passphrase-hint-string): Tighten up a bit the safety predicate. - - * textmodes/reftex-vars.el (reftex-vref-is-default) - (reftex-fref-is-default, reftex-guess-label-type): - Tighten up a bit the safety predicate. - - * textmodes/paragraphs.el (sentence-end-double-space) - (sentence-end-without-period, sentence-end-without-space) - (page-delimiter, paragraph-ignore-fill-prefix): - Tighten up a bit the safety predicate. - - * textmodes/fill.el (colon-double-space): Tighten up the safety pred. - - * progmodes/python.el (python-continuation-line-p) - (python-beginning-of-statement): syntax-ppss may return - a negative depth. - (python-mode): Don't forcefully enable font-lock. - - * time-stamp.el (time-stamp-start, time-stamp-end) - (time-stamp-inserts-lines): Tighten up a bit the safety predicate. - - * add-log.el: Remove spurious * in docstrings. - (add-log-time-zone-rule): Rename from change-log-time-zone-rule. - (add-change-log-entry): Use it here, since it's not specific - to iso8601. - (add-log-iso8601-time-string): Don't use it here any more. - (change-log-indent-text, change-log-indent): Rename from add-log-*. - - * abbrev.el (abbrev-mode): Tighten up a bit the safety predicate. - -2006-04-25 Ryan Yeske - - * net/rcirc.el (rcirc-print): Revert last change with ignored nicks. - (rcirc-toggle-low-priority): Doc fix. - (rcirc-handler-NOTICE): Remove beginning of line anchor in - ChanServ regexp. - (rcirc-startup-channels-alist): Connect to #rcirc by default, not - #emacs. - (rcirc-bright-nick-regexp, rcirc-dim-nick-regexp): Add variables. - (rcirc-decode-coding-system): Use utf-8 as the default. - (rcirc-multiline-minor-mode): Set the fill-column. - (rcirc-format-response-string): Display bright and dim nicks. - (rcirc-browse-url): Update interactive spec to fill ARG. - (rcirc-bright-nick, rcirc-dim-nick): Add faces. - (rcirc-print): Ignore dim-nick messages wrt modeline-activity. - -2006-04-24 J.D. Smith - - * textmodes/bibtex.el (bibtex-find-entry): Don't demand matching - case for @Article, etc. - -2006-04-23 Michael Albinus - - * net/tramp.el (tramp-register-file-name-handlers): New defun. - Added with autoload cookie. - (tramp-unload-file-name-handlers): Rename from - `tramp-unload-file-name-handler-alist'. - -2006-04-23 Romain Francoise - - * comint.el (comint-match-partial-filename): Doc fix. - -2006-04-21 Glenn Morris - - * calendar/cal-menu.el (calendar-mode-map): Refer to - `diary-view-entries' rather than alias `view-diary-entries'. - * calendar/diary-lib.el (view-other-diary-entries): Ditto. - -2006-04-21 Luc Teirlinck - - * progmodes/antlr-mode.el (antlr-default): - * cus-edit.el (custom-documentation): - * faces.el (scroll-bar, border, cursor, mouse): Avoid nil spec - in defface. - -2006-04-21 Kim F. Storm - - * image.el (image-type): New defun split out of create-image. - (create-image): Use it. - -2006-04-21 Carsten Dominik - - * textmodes/org.el (org-mode-map): Catch conflict with old allout.el. - (org-open-at-point): Remove the "...done" message to keep output - in the echo area visible. - (org-export-as-xoxo): Fix call to `indent-region'. - -2006-04-21 Kevin Ryde - - * international/mule.el (keyboard-coding-system): defcustom - info-link fixes: "Specify Coding" has been split, keyboard now in - "Terminal Coding", and "Single-Byte Character Support" is now - "Unibyte Mode". - -2006-04-21 Nick Roberts - - * progmodes/gdb-ui.el (gdb-data-list-register-values-handler): - Use font-lock-warning-face for any errors e.g. no stack. - (gdb-stack-list-locals-handler): Display any errors e.g. no stack. - -2006-04-20 Dan Nicolaescu - - * progmodes/sh-script.el (sh-shell): Mark as safe. - - * newcomment.el (comment-start, comment-start-skip) - (comment-end-skip, comment-end): Mark as safe. - -2006-04-20 Carsten Dominik - - * textmodes/org.el (org-deadline-announce): Face removed. - (org-level-faces, org-n-levels): Convert to constant. - (org-compatible-face): New function. - (org-hide, org-level-1, org-level-2, org-level-3, org-level-4) - (org-level-5, org-level-6, org-level-7, org-level-8) - (org-special-keyword, org-warning, org-headline-done, org-link) - (org-date, org-tag, org-todo, org-done, org-table, org-formula) - (org-scheduled-today, org-scheduled-previously, org-time-grid): - Face definition revised for better color tty support. - (org-bold-re, org-italic-re, org-underline-re): New constants. - (org-set-font-lock-defaults): Use the new constants. - (org-agenda-highlight-todo): New function. - (org-agenda-todo): Fix bug with point at end of line. - (org-agenda-change-all-lines, org-finalize-agenda-entries): - Fontify TODO keywords. - (org-insert-link): Preserve relative path in ../ links. - (org-export-as-html): Convert links pointing to .org files into - links that will work beteen the exported HTML files. - (org-todo-list): Fix bug when arg=0. - (org-insert-heading): More fine-tuning. - -2006-04-19 Romain Francoise - - * mail/rmail.el (rmail-convert-to-babyl-format): Use second group - from `rmail-mime-charset-pattern'. - -2006-04-18 Dan Nicolaescu - - * progmodes/python.el (python-mode): Fix typo. - -2006-04-18 J.D. Smith - - * comint.el (comint-previous-input): Don't clobber input line - when moving off either end of the input history ring. - (comint-delete-input): New function, used by - `comint-previous-input' and others. - (comint-previous-matching-input): - Use `coming-delete-input'. Save the partial input if leaving the - edit line. Goto point-max before deleting input to avoid - partial input fragments hanging around. - (comint-restore-input): New function, used by `comint-previous-input'. - -2006-04-18 Luc Teirlinck - - * imenu.el (imenu--index-alist): Balance parentheses. - -2006-04-18 Dan Nicolaescu - - * progmodes/python.el (python-mode): Add support for hs-minor-mode. - -2006-04-19 Reiner Steib - - * abbrev.el (read-abbrev-file): Use abbrev-file-name if optional - file is nil. - -2006-04-18 Richard Stallman - - * tooltip.el (tooltip-mode, tooltip-use-echo-area): Doc fixes. - - * imenu.el (imenu-create-index-function, imenu--index-alist) - (imenu--last-menubar-index-alist, imenu--make-index-alist) - (imenu-default-create-index-function, imenu--generic-function): - Doc fixes. - - * image-mode.el (image-toggle-display): Handle tar and arc subfiles. - - * help-mode.el (help-mode): Set view-exit-action to delete window. - - * env.el (setenv): Get rid of arg UNSET. Interactive unsetting - now works by passing nil as arg. - - * apropos.el (apropos-print): Don't do where-is on self-insert-command. - - * abbrev.el (edit-abbrevs-redefine): Temporarily widen. - (read-abbrev-file): Provide default when reading filename. - - * files.el (enable-local-variables): Allow :all as value. - (hack-local-variables): Implement that value. - (safe-local-variable-values, safe-local-eval-forms) - (enable-local-variables): Mark as risky. - (find-file-visit-truename, kept-old-versions): Mark safe. - - * time-stamp.el (time-stamp-format, time-stamp-line-limit) - (time-stamp-start, time-stamp-end, time-stamp-inserts-lines) - (time-stamp-count, time-stamp-pattern): Add safe-local-variable prop. - -2006-04-18 Stefan Monnier - - * progmodes/tcl.el (tcl-send-string, tcl-send-region): - Use forward-line so as to get to BOL even in the presence of fields. - (tcl-eval-region): Strip surrounding space to avoid multiple prompts - in return. - (inferior-tcl): Tell tclsh to work in interactive mode. - - * complete.el (partial-completion-mode): - Use 'choose-completion-string-functions to make sure that - choose-completion fills the minibuffer properly. - - * complete.el (PC-old-read-file-name-internal): Remove. - (PC-read-include-file-name-internal): Remove. Turn it into an advice - of read-file-name-internal. - (partial-completion-mode): Enable/disable this advice. - -2006-04-18 Juanma Barranquero - - * net/tramp.el (tramp-completion-file-name-handler): Revert change - of 2006-04-17. - -2006-04-18 Carsten Dominik - - * textmodes/org.el (org-insert-heading): Insert heading before - current if at beginning of line. - (org-todo, org-date): New faces. - (org-table-align): Make sure tooltip window contains full text. - (org-no-properties): New defsubst. - (org-set-font-lock-defaults): Use new faces. - -2006-04-18 Nick Roberts - - * progmodes/gud.el (gud-speedbar-item-info): Display frame address - for root variables. - - * progmodes/gdb-ui.el (gdb-pc-address): Rename from gdb-frame-address. - (gdb-frame-address): Re-use to identify frame for watch expression. - (gdb-var-list, gdb-var-create-handler): Add frame address for root - variables. - (gdb-init-1, gdb-source, gdb-post-prompt) - (gdb-assembler-custom, gdb-invalidate-assembler): Use gdb-pc-address. - (gdb-frame-handler): Get gdb-frame-address. - -2006-04-17 Michael Albinus - - Sync with Tramp 2.0.53. - - * net/tramp.el (tramp-completion-mode): ?\t has event-modifier - 'control. Reported by Matthias F,Av(Brste . - (tramp-completion-file-name-handler): Add autoload cookie for - adding to `file-name-handler-alist'. - - * net/tramp-smb.el (tramp-smb-wait-for-output): Wait always for - the prompt. If it returns earlier (when detecting an error - message), the rest of the output will merge accidently with the - output of the next command. Reported by M Jared Finder - . - - * net/tramp-vc.el (vc-user-login-name): Wrap defadvice with a test - for `process-file', in order to let it work for older Emacsen too. - -2006-04-17 Ralf Angeli - - * textmodes/tex-mode.el (tex-font-lock-match-suscript): New function. - (tex-font-lock-keywords-3): Use it. - -2006-04-16 Stefan Monnier - - * newcomment.el (comment-add): New function. - (comment-region-default, comment-dwim): Use it. - -2006-04-15 Michael Olson - - * emacs-lisp/tq.el: Improve comments. - (tq-queue-head-question): New accessor function. - (tq-queue-head-regexp, tq-queue-head-closure, tq-queue-head-fn): - Update for modified queue structure. - (tq-queue-add): Accept `question' argument. - (tq-queue-pop): If a question is pending, send it. - (tq-enqueue): Accept new optional argument `delay-question'. - If this is non-nil, and at least one other question is pending a - response, queue the question rather than sending it immediately. - -2006-04-15 Roland Winkler - - * calendar/appt.el (appt-add): Check whether an appointment is - already present in appt-time-msg-list. Simplify code. - -2006-04-14 Stefan Monnier - - * progmodes/cc-langs.el (c-mode-menu): - Don't presume c-subword-mode is bound. - -2006-04-13 Bill Wohler - - * cus-edit.el (customize-package-emacs-version-alist): Update docstring. - (customize-package-emacs-version): Use cdr instead of cadr now - that alists use dotted pairs. - - * custom.el (defcustom): Fix docstring for :package-version. - -2006-04-13 Michael Albinus - - * net/tramp.el (tramp-display-shell-command-buffer): New defvar. - (tramp-handle-shell-command): Display output buffer only when - `tramp-display-shell-command-buffer' is true. - (tramp-handle-process-file): Set `tramp-display-shell-command-buffer'. - -2006-04-13 Carsten Dominik - - * textmodes/org.el (org-set-autofill-regexps): Set only the local - values of `adaptive-fill-regexp' and `adaptive-fill-function'. - -2006-04-13 Romain Francoise - - * pcvs-parse.el (cvs-parse-table): Use `with-temp-buffer' to avoid - leaving temporary .cvsignore buffers behind. - -2006-04-13 Carsten Dominik - - * textmodes/org.el (org-set-regexps-and-options) - (org-get-current-options): Better names for the startup folding - options. - -2006-04-13 Thien-Thi Nguyen - - * vc.el (vc-annotate): Arrange for point to end up at the same - line number as in the original, but only when using a new buffer. - -2006-04-12 Stuart Herring (tiny change) - - * files.el (hack-one-local-variable-eval-safep): - Recognize `edebug-form-spec' for `put', but only if it passes - `edebug-basic-spec'. Generalize `put' handling. - - * emacs-lisp/edebug.el (edebug-basic-spec): New function for - vetting file-local form specs. - - * allout.el (allout-layout): Autoload its `safe-local-variable' - property. - -2006-04-13 Carsten Dominik - - * textmodes/org.el (org-ctrl-c-ctrl-c): Improve documentation string. - (org-agenda-mouse-1-follows-link) - (org-mouse-1-follows-link): New options. - (org-format-agenda-item): Fix bug if TAGS is nil. - (org-agenda-get-scheduled): Quote `priority' symbol in plist. - -2006-04-13 Nick Roberts - - * progmodes/gdb-ui.el (gdb-set-gud-minor-mode-existing-buffers): - GDB 6.1+ gives full filename for "info sources" so use - file-name-nondirectory. - -2006-04-12 Romain Francoise - - * subr.el (read-passwd): Bind `message-log-max' to nil. - -2006-04-12 Stefan Monnier - - * progmodes/perl-mode.el (perl-indent-new-calculate): - Recompute parse-start after jumping backward by a whole sexp. - -2006-04-11 Stefan Monnier - - * vc.el (vc-ensure-vc-buffer): Only change current-buffer, not the - window configuration. - (vc-annotate-display-select): Select the buffer so that current-buffer - (and selected-window) is the output buffer at the end of vc-annotate. - -2006-04-11 J.D. Smith - - * vc.el (vc-annotate-color-map): Add custom TTY color map for - 8-color terminals, to use all of the colors in a sensible order. - 256-color terminals work well with the standard map. - (vc-annotate-lines): Only strip the first color character if it - is "#", to allow for terminal-style named colors. - (vc-annotate-warp-version): Pass buf to `goto-line' to ensure - the correct buffer is scrolled. - -2006-04-11 Richard Stallman - - * emacs-lisp/bytecomp.el (byte-compile-file): - Bind enable-local-variables to :safe, and make normal-mode obey it. - - * files.el (enable-local-variables): Allow value :safe. - (normal-mode): Doc fix. - (hack-local-variables): Implement enable-local-variables = :safe. - (hack-local-variables-confirm): Don't prevent quitting. - -2006-04-11 Stefan Monnier - - * loadhist.el (unload-feature): A bit of sanity check of - load-history entries. Cancel timer-vars before unbinding them. - - * hexl.el (hexl-isearch-search-function): Fix regexp-building code to - quote special chars, and make the trick work on the hex part of the - buffer as well. - (hexl-mode, hexl-save-buffer, hexl-mode-exit) - (hexl-maybe-dehexlify-buffer): Use restore-buffer-modified-p. - - * startup.el (normal-splash-screen): Fix last change so we don't wait - 2 minutes if we don't show the splash screen. - -2006-04-11 Carsten Dominik - - * textmodes/org.el (org-export-plain-list-max-depth) - (org-table-spaces-around-separators) - (org-radio-targets, org-activate-camels) - (org-table-spaces-around-invisible-separators): Options removed. - (org-time-stamp-rounding-minutes, org-remember-templates) - (org-ellipsis, org-activate-links, org-descriptive-links): - New options. - (org-remember-apply-template, org-current-time) - (org-finish-edit-table-field) - (org-link-unescape, org-link-escape) - (org-string-width, org-table-clean-line, org-html-do-expand) - (org-edit-agenda-file-list, org-store-new-agenda-file-list) - (org-read-agenda-file-list): New functions. - (org-table-edit-field) - (org-table-create-or-convert-from-region): New commands - (org-table-toggle-vline-visibility): Command removed. - (org-table-convert-region): Made a command. - (orgtbl-deleta-backward-char, orgtbl-delete-char): Remove commands. - Replace with the normal org- functions. - (org-self-insert-command): Don't trigger realign unnecessarily - when blanking a field that is not full. - (org-mode): `Set buffer-invisibility-spec' for links. - (org-activate-links2): Hide link part and only show descriptive - part of the link. - (org-insert-link): Modify for new linking system. - (org-store-link): Store description separately, for use by - `org-insert-link'. - (org-table-align): Use `org-string-width'. - (defgroup): Completely new group structure for custom variables. - (org-agenda-files): Option: Single file name allowed. Function: - Optional argument unrestrited means ignore any restricitons. - (org-install-agenda-files-menu): Find a buffer in Org-mode before - trying to modify the menu. Use generalized access to - `org-agenda-files.' - (org-agenda-list, org-todo-list, org-cycle-agenda-files) - (org-agenda-file-to-front, org-remove-file, org-diary) - (org-tags-view, org-export-icalendar-all-agenda-files) - (org-export-icalendar-combine-agenda-files): Use generalized - access to `org-agenda-files'. - (org-remember-handler): Correctly preserve heading if present. - (org-table-insert-row, org-table-insert-hline): Deal with - invisible characters. - -2006-04-10 J.D. Smith - - * vc.el (vc-annotate-display-mode): Made default 'fullscale. - (vc-annotate-color-map): New 18 element constant - value/saturation, rotating hue colormap, from red->blue. - (vc-annotate-mode-menu): "Default" -> "By Color Map Range". - (vc-annotate-display-select): Switch to annotate-mode elsewhere. - (vc-annotate): To avoid killing the required local variables, - set them before the end of `with-output-to-temp-buffer', and - after first switching to annotate-mode. - (vc-annotate-warp-version): Add buffer argument in goto-line to - ensure annotation, not source, is scrolled. - -2006-04-10 Bill Wohler - - * custom.el (defcustom, custom-handle-keyword): - Add :package-version keyword. - (custom-add-package-version): New function. Sets value of new - property 'custom-package-version from :package-version keyword. - (defcustom): Create Common Keywords section in docstring. - (defface, defgroup): Replace definitions of a select few keywords - with a reference to the Common Keywords in defcustom. - (defcustom, defface, defgroup): Replace reference to Customization - chapter in manual with hyperlink. - - * cus-edit.el (customize-package-emacs-version-alist): New variable. - (customize-changed-options): Add check for custom-package-version. - (customize-package-emacs-version): New function to look up Emacs - version corresponding to the given package version. - - * emacs-lisp/find-func.el (find-function-regexp): Allow dashes in - defun name, in similar fashion to find-variable-regexp. - -2006-04-10 Eli Zaretskii - - * international/mule-cmds.el (set-locale-environment): Fix last - change for when the locale's preferences don't specify any encoding. - -2006-04-10 Stefan Monnier - - * emacs-lisp/find-func.el (find-function-search-for-symbol): Fix regexp - so the defined var/fun doesn't need to be quoted. - -2006-04-10 Richard Stallman - - * finder.el (finder-mode-map): Add n and p bindings. - -2006-04-10 Nick Roberts - - * progmodes/gdb-ui.el (gdb-init-1): Re-initialise gdb-main-file to nil. - (gdb-get-version): Make it work for pre "interpreter mi" (GDB 5.3?). - (gdb-setup-windows): Put something in source window if we can't find - the source file. - (gdb-frame-handler): Make it work again with just assembly. - (gdb-data-list-register-values-handler): Make it work when there is - no stack. - -2006-04-09 Richard Stallman - - * mail/rmail.el (rmail-mime-charset-pattern): Ignore format and delsp - specs while looking for charset. - - * textmodes/picture.el (picture-mode-exit): Run picture-mode-exit-hook. - - * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X): - Make them faces. - (lm-font-lock-keywords): Update appropriately. - -2006-04-10 Kim F. Storm - - * simple.el (filter-buffer-substring): Add NOPROPS arg, so - it can also replace buffer-substring-no-properties. - - * emulation/cua-base.el (cua-delete-region, cua-paste) - (cua-repeat-replace-region): Use filter-buffer-substring. - - * emulation/cua-gmrk.el (cua-copy-region-to-global-mark) - (cua-cut-region-to-global-mark): Likewise. - - * emulation/cua-rect.el (cua--extract-rectangle) - (cua-incr-rectangle, cua--rectangle-aux-replace): Likewise. - -2006-04-09 Roland Winkler - - * textmodes/bibtex.el (bibtex-entry-update): New optional arg - entry-type. Add field delimiters to numerical fields if they are - not present. - -2006-04-09 Roland Winkler - - * textmodes/bibtex.el (bibtex-find-text-internal): Add new element - string-const to return value. - (bibtex-remove-delimiters): Use it. - -2006-04-08 Stefan Monnier - - * emacs-lisp/bytecomp.el (byte-compile-form): Don't call - cl-byte-compile-compiler-macro unless it exists. - -2006-04-08 Eli Zaretskii - - * files.el (hack-local-variables-confirm) : - Clarify message text. Suggested by Ralf Angeli. - -2006-04-08 Micha,Ak(Bl Cadilhac - - * rect.el (kill-rectangle): Don't barf if `kill-read-only-ok' is set. - (delete-extract-rectangle-line): Use `filter-buffer-substring' - instead of `buffer-substring' and `delete-region'. (Most of the - code actually copied from `kill-region'.) - -2006-04-08 Ryan Yeske - - * net/rcirc.el (rcirc-default-server): Rename from rcirc-server. - (rcirc-default-port): Rename from rcirc-port. - (rcirc-default-nick): Rename from rcirc-nick. - (rcirc-default-user-name): Rename from rcirc-user-name. - (rcirc-default-user-full-name): Rename from rcirc-user-full-name. - (rcirc-low-priority-flag): New variable. - (rcirc-decode-coding-system): New defcustom. - (rcirc-encode-coding-system): New defcustom. - (rcirc-coding-system-alist): New defcustom. - (rcirc-multiline-major-mode): New defcustom. - (rcirc-nick): New internal variable. - (rcirc-process): Remove variable. - (rcirc-server-buffer): New variable. - (rcirc): Update to use rcirc-default-* variables above. - (rcirc-connect): Do not add window-configuration-hook-here. - (rcirc-server): New internal variable. - (rcirc-connect): Do not send keepalive pings if - rcirc-keepalive-seconds is nil. - (with-rcirc-server-buffer): New macro. - (rcirc-send-string): Encode with rcirc-encode-coding-system. - (rcirc-server-name): Rename from rcirc-server. - (rcirc-buffer-process): New function. - (rcirc-buffer-nick): New function. - (rcirc-buffer-target): Remove function. - (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system): - New commands. - (rcirc-mode-map): Change binding of C-c C-l to - rcirc-toggle-low-priority. - (rcirc-mode): Initialize coding system based on - rcirc-coding-system-alist. New change-major-mode-hook to part the - channel on a mode change. Make kill-buffer-hook buffer-local. - (rcirc-change-major-mode-hook): New function. - (rcirc-clean-up-buffer): Rename from rcirc-kill-buffer-hook-1. - (rcirc-last-post-time): New variable. - (rcirc-process-message): Store the last time user posted a message - to this target. - (rcirc-multiline-minor-mode): New mode. - (rcirc-multiline-minor-mode-map): New mode map. - (rcirc-edit-multiline): Put multiline-edit buffer in - rcirc-multiline-major-mode along with rcirc-multiline-minor-mode. - (rcirc-print): Ignore any line starting with an ignored nick. - (rcirc-print): Decode using rcirc-decode-coding-system. - (rcirc-track-minor-mode): Update global-mode-string when disabling - this mode. - (minor-mode-alist): Add LowPri indicator. - (rcirc-toggle-low-priority): New function. - (rcirc-last-non-irc-buffer): Prefix arg now no means switch to - next lowpriority buffer with activity. - (rcirc-record-activity): Sort buffers in rcirc-activity by the - last time the user posted a message in to the target. - (rcirc-update-activity-string): New formatting for low priority - buffers. - (rcirc-split-activity): New function. - (rcirc-handler-PART, rcirc-handler-KICK) - (rcirc-handler-PART-or-KICK): Kick responses are printed properly. - (rcirc-nick-away-alist): New variable. - (rcirc-handler-301): New handler. Away messages are printed once - per change. - -2006-04-08 Eli Zaretskii - - * info.el (Info-follow-nearest-node): Doc fix. - - * international/mule-cmds.el (set-locale-environment): Make sure - the coding-system preferred by the locale's language has the same - EOL conversion type as the original buffer-file-coding-system. - (locale-language-names): Add a few MS Windows language codes. - -2006-04-07 Richard Stallman - - * simple.el (eval-expression): Doc fix. - - * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp) - (eval-defun): Doc fixes. - -2006-04-07 Reiner Steib - - * pgg-gpg.el: Revert to revision 1.8 to allow the use of gpg-agent. - -2006-04-07 Nick Roberts - - * progmodes/gdb-ui.el (gdb-init-2): Set current filename using - GDB list command without argument for greater generality. - -2006-04-06 Reiner Steib - - * subr.el (string-or-null-p): New function. - - * textmodes/paragraphs.el (sentence-end): Use string-or-null-p. - - * textmodes/ispell.el (ispell-local-dictionary): Use string-or-null-p. - - * files.el: Update comment about safe-local-variable declarations. - -2006-04-06 J.D. Smith - - * progmodes/idlwave.el: Updated to IDLWAVE version 6.0. - See idlwave.org. - - * progmodes/idlw-shell.el: Updated to IDLWAVE version 6.0. - See idlwave.org. Includes code to obsolete idlw-rinfo.el. - - * progmodes/idlw-help.el: Updated to IDLWAVE version 6.0. - See idlwave.org. - - * progmodes/idlw-complete-structtag.el: Updated to IDLWAVE - version 6.0 (minimal changes). See idlwave.org. - - * progmodes/idlw-toolbar.el: Updated to IDLWAVE version - 6.0 (minimal changes). See idlwave.org. - - * progmodes/idlw-rinfo.el: File obsoleted and removed. - -2006-04-06 Romain Francoise - - * pgg-gpg.el: Sync back with Gnus 5.10, reverting changes that add - symmetric encryption features and a new asynchronous interface to - GnuPG. This new version is version 1.4, plus whitespace changes. - -2006-04-06 Reiner Steib - - * files.el: Move some `safe-local-variable' declarations to the - respective files. - - * textmodes/ispell.el (ispell-check-comments) - (ispell-local-dictionary): Mark as safe. - - * abbrev.el (abbrev-mode): Mark as safe. - - * add-log.el (change-log-default-name): Mark as safe. - - * textmodes/reftex-vars.el (reftex-vref-is-default) - (reftex-fref-is-default, reftex-level-indent) - (reftex-guess-label-type): Mark as safe. - - * textmodes/fill.el (colon-double-space): Mark as safe. - - * textmodes/paragraphs.el (paragraph-start, paragraph-separate) - (sentence-end-double-space, sentence-end-without-period) - (sentence-end-without-space, sentence-end, sentence-end-base) - (page-delimiter, paragraph-ignore-fill-prefix): Mark as safe. - -2006-04-06 Kim F. Storm - - * ido.el (ido-mode): Remove ido-ignore-unc-host-regexps from - the :set-after list. - (ido-downcase-unc-hosts): New user option. Default on. - (ido-ignore-unc-host-regexps): Don't reset ido-unc-hosts-cache - when it is set, as regexps are now applied on the fly. - (ido-unc-hosts): Keep all known hosts in ido-unc-hosts-cache. - Make C-a DTRT--filter hosts through ido-ignore-unc-host-regexps - on the fly, but only when ido-process-ignore-lists is set. - Do case insensitive filtering if ido-downcase-unc-hosts is set. - Only downcase names if ido-downcase-unc-hosts is set. - -2006-04-06 Juanma Barranquero - - * ido.el (ido-unc-hosts-cache): Fix typo in docstring. - - * woman.el (WoMan-xref-man-page): Fix call to `substring'. - -2006-04-05 Kim F. Storm - - * ido.el (ido-mode): Set after ido-unc-hosts and - ido-ignore-unc-host-regexps. - (ido-save-history): Save ido-unc-hosts-cache. - (ido-load-history): Load ido-unc-hosts-cache. - (ido-reread-directory): Refresh unc hosts cache in // dir. - - * startup.el (fancy-splash-screens): Set emulation-mode-map-alists - to nil while displaying slash screen. - -2006-04-05 Daiki Ueno - - * pgg-gpg.el (pgg-gpg-encrypt-region, pgg-gpg-sign-region): - Wait for BEGIN_SIGNING too, new in GnuPG 1.4.3. - -2006-04-05 Kenichi Handa - - * international/characters.el: Setup cases of Latin, Greek, and - Cyrillic characters in CJK charsets. - -2006-03-29 Daiki Ueno - - * pgg-gpg.el (pgg-gpg-start-process): Don't bind - default-enable-multibyte-characters. This reverts the change from - revision 6.17 which is no longer necessary because the passphrase - is sent separately now. GnuPG messages are unreadable under - multibyte locales with default-enable-multibyte-characters set to nil. - -2006-04-04 Andreas Schwab - - * files.el: Mark `left-margin', `byte-compile-dynamic-docstrings' - and `byte-compile-warnings' as `safe-local-variable'. - -2006-04-04 Dan Nicolaescu - - * man.el (Man-mode-map): Restore the \r binding. - (Man-abstract-xref-man-page): If Man-target-string is a function, - call it. - (Man-highlight-references): Use Man-default-man-entry to get the - target. Deal with xrefs too. - (Man-highlight-references0): Don't call the target function. - - * woman.el (WoMan-xref-man-page): Strip the section number, woman - cannot deal with it. - -2006-04-04 Daiki Ueno - - * pgg-gpg.el: Clean up process buffers every time gpg processes - complete. - -2006-04-04 Kenichi Handa - - * sort.el (sort-build-lists): Don't bind inhibit-field-text-motion - here. - (sort-lines, sort-numeric-fields, sort-fields, sort-columns): - Temporarily bind inhibit-field-text-motion to t. - -2006-04-03 Stefan Monnier - - * startup.el (normal-splash-screen): Only set mode-line-format in the - splash buffer, so as not to interfere when debugging the code. - Ignore errors when switching buffer. - -2006-04-03 Romain Francoise - - * dired.el (dired-dnd-protocol-alist): Fix typo. - -2006-04-03 Reiner Steib - - * savehist.el (savehist): Add :version. - (savehist-ignored-variables): New variable. - (savehist-minibuffer-hook): Don't save variables listed in - `savehist-ignored-variables'. - - * dired.el (dired-dnd-protocol-alist): Mention that change does - only apply to new buffers in doc string. - -2006-04-03 Lennart Borgman (tiny change) - - * recentf.el (recentf-open-files-item): Include newline in button - field, so opening a file will work, when the point is at the end - of the file name. Allow, for example, to [i]search a file by - extension and just push RET to open it. - -2006-04-03 Daiki Ueno - - * pgg-gpg.el (pgg-gpg-process-filter) - (pgg-gpg-wait-for-completion): Check if buffer is alive. - - * pgg-gpg.el (pgg-gpg-process-sentinel): Don't remove GNUPG: - lines, temporary fix. - -2006-04-02 Dan Nicolaescu - - * ibuf-macs.el (define-ibuffer-column): Document the new parameter. - -2006-04-02 Richard Stallman - - * progmodes/compile.el (compilation-message-face): Make it defcustom. - -2006-04-02 Dan Nicolaescu - - * ibuf-macs.el (define-ibuffer-column): Add a new key: - header-mouse-map. - - * ibuffer.el (ibuffer-name-header-map, ibuffer-size-header-map) - (ibuffer-mode-header-map): New keymaps. - (ibuffer-update-title-and-summary): Enable mouse face highlighting - and keybindings for column headers. - (name, size, mode) : Add a header-mouse-map - property. - -2006-04-02 Drew Adams - - * speedbar.el (speedbar-after-create-hook): Doc fix. - -2006-04-02 Michael Ernst - - * shell.el (shell-directory-tracker) - (shell-dynamic-complete-command): Doc fixes. - -2006-04-01 Matt Hodges - - * pcomplete.el (pcomplete-show-completions): Recognize TAB on text - terminals. - -2006-04-01 Kim F. Storm - - * ido.el (ido-unc-hosts-cache): New defvar. - (ido-unc-hosts): If value of defcustom is a function, call it to - get list of UNC hosts. Add function-item choices to specify - ido-unc-hosts-net-view or user function. - (ido-ignore-unc-host-regexps): New defcustom. - (ido-unc-hosts-net-view, ido-unc-hosts): New functions. - (ido-is-unc-root, ido-is-unc-host, ido-file-name-all-completions) - (ido-exhibit): Call ido-unc-hosts to get list of UNC hosts. - -2006-03-13 Stefan Monnier - - * pcvs-util.el (cvs-insert-strings): Fix bug with strings longer than - wwidth. - -2006-03-31 Juanma Barranquero - - * ido.el (ido-cache-unc-host-shares-time, ido-report-no-match) - (ido-max-work-file-list, ido-switch-buffer) - (ido-read-file-name-as-directory-commands): - Fix typos in docstrings. - -2006-03-30 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-system-coding-system): Define and use after - Mac-specific coding systems are ready. - -2006-03-27 Romain Francoise - - * net/rcirc.el (rcirc-connect): Add autoload cookie. - - * ldefs-boot.el: Update. - -2006-03-27 Daiki Ueno - - * pgg-gpg.el: Invoke gpg asynchronous, to avoid querying for - passphrases when it is not needed. - (pgg-gpg-use-agent): Add, to hard code that pgg shouldn't wait for - passphrase stuff from gpg, should only be necessary when you use - gpg with a smartcard. - -2006-03-27 Nick Roberts - - * comint.el (comint-dynamic-list-completions): Allow user to - select *Completions* buffer. - -2006-03-27 Carsten Dominik - - * textmodes/org.el (org-get-level-face): Fix bug with level counting. - -2006-03-26 Andreas Schwab - - * progmodes/gud.el (gdb): Only complain about multiple debugging - when the gdb process is still running. - -2006-03-25 Eli Zaretskii - - * mail/rmail.el (tool-bar-map): Defvar it. - (rmail-tool-bar-map): Tool-bar buttons for Rmail. - (rmail-perm-variables): Make rmail-tool-bar-map a local variable. - -2006-03-25 Sven Joachim (tiny change) - - * help.el (print-help-return-message): Suggest to use - display-buffer instead of switch-to-buffer-other-window to restore - the previous window without selecting it. - -2006-03-25 YAMAMOTO Mitsuharu - - * frame.el (select-frame-by-name): Call x-focus-frame also when - window-system is mac. - - * term/mac-win.el: Adjust Courier font specifications in - x-fixed-font-alist. - (mac-select-convert-to-string): Use utf-16be-mac or utf-16le-mac - when directly encoding to UTF-16 in native byte order, no BOM. - -2006-03-25 Kim F. Storm - - * emulation/cua-base.el (cua-rectangle-mark-key): New defcustom. - (cua--init-keymaps): Use it instead of fixed C-return. - (cua-mode): Set after it. - - * emulation/cua-rect.el (cua--init-rectangles): - Use cua-rectangle-mark-key instead of fixed C-return. - -2006-03-25 Nick Roberts - - * progmodes/gdb-ui.el (gdba): Revert 2006-03-10 change for case of - "run" in .gdbinit. - (gdb-var-create-regexp): Remove "^done" prefix for gdb-mi.el. - -2006-03-24 Romain Francoise - - * files.el (ctl-x-5-map): Really bind C-x 5 C-o to - `display-buffer-other-frame'. - -2006-03-24 Kim F. Storm - - * apropos.el (apropos-synonyms): Add selection => region. - -2006-03-24 Nick Roberts - - * progmodes/gdb-ui.el (gdb-var-create-regexp) - (gdb-var-list-children-regexp, gdb-var-update-regexp) - (gdb-var-list-children-regexp-1, gdb-var-update-regexp-1) - (gdb-data-list-register-values-regexp) - (gdb-stack-list-locals-regexp, gdb-stack-list-locals-handler): - Future proof against new fields being added to MI output. - (gdb-send): Don't treat backslashes for program input as - continuations. - (gdb-assembler-handler): Don't use window-start for this handler. - (gdb-frame-handler): Don't change to hollow arrow if overlay - arrow doesn't move to new frame. - -2006-03-24 Nick Roberts - - * progmodes/gdb-ui.el (gdb-continuation): Declare earlier to - prevent compiler warnings. - (gdb-stopped): Check for gud-last-last-frame (case: signal). - (breakpoint-disabled): Make lighter for contrast with overlay arrow. - (gdb-assembler-custom): Use hollow-right-triangle for assembler - buffer too. - -2006-03-23 Reiner Steib - - * pgg-gpg.el (pgg-gpg-update-agent): Check for - make-network-process, so we can use the same code in Gnus v5-10 - too and have this file fully synchronized with that release. - -2006-03-23 Romain Francoise - - * ibuf-ext.el (ibuffer-read-filter-group-name): - Use `ibuffer-generate-filter-groups' to make completion list match - the filter groups that are really displayed in the Ibuffer buffer. - (ibuffer-generate-filter-groups): Add new args noempty, nodefault. - -2006-03-23 Kenichi Handa - - * international/mule-cmds.el (sort-coding-systems): Describe that - the argument is modified in docstring. - -2006-03-22 Sascha Wilde - - * pgg-gpg.el (pgg-gpg-use-agent): Disable by default. - (pgg-gpg-update-agent): New function. - (pgg-gpg-use-agent-p): New function. - (pgg-gpg-process-region, pgg-gpg-encrypt-region) - (pgg-gpg-encrypt-symmetric-region, pgg-gpg-decrypt-region) - (pgg-gpg-sign-region): Use it. - -2006-03-21 Chong Yidong - - * cus-edit.el (custom-face-set): Call custom-push-theme before - face-spec set so that `changed' theme is correctly saved. - (custom-face-reset-standard): Reset to recalculated face rather - than defface spec. - - * custom.el (custom-push-theme): Only save `changed' theme if the - current face does not match the defface specs. - -2006-03-21 Simon Josefsson - - * pgg-gpg.el: Ideas below based on patch from Sascha Wilde - . - (pgg-gpg-use-agent): New variable. - (pgg-gpg-process-region): Use it. - (pgg-gpg-encrypt-region): Likewise. - (pgg-gpg-encrypt-symmetric-region): Likewise. - (pgg-gpg-decrypt-region): Likewise. - (pgg-gpg-sign-region): Likewise. - (pgg-gpg-possibly-cache-passphrase): Don't cache a nil password. - -2006-03-21 Carsten Dominik - - * textmodes/org.el (org-open-at-point): Fix bug in wiki-style - bracket links. - -2006-03-21 Kim F. Storm - - * progmodes/gdb-ui.el (gdb-reset): Set buffer local value of - fringe-indicator-alist instead of modifying global value. - (gdb-frame-handler): Likewise. - -2006-03-21 Nick Roberts - - * diff-mode.el (diff-function): Make it inherit from diff-header - instead of diff-context. - - * progmodes/gdb-ui.el (hollow-right-triangle): Define as fringe - bitmap. - (gdb-info-stack-custom): Rename from gdb-info-frames-custom and - change names in macro above for consistency. - (gdb-frame-handler): Use hollow-right-triangle for all selected - frames which except the innermost (where execution has stopped). - (gdb-reset): Reset buffer-local values of overlay-arrow. - -2006-03-20 Richard Stallman - - * simple.el (set-mark-command): Doc fix. - - * files.el (display-buffer-other-frame): New command. - (ctl-x-4-map): Bind C-x 5 C-o to it. - -2006-03-20 Stefan Monnier - - * jit-lock.el (jit-lock-function): Check for the actual defer-timer - rather than just defer-time, in case defer-time has been changed but - the timer isn't running yet. - (jit-lock-deferred-fontify): Correspondingly let-bind defer-timer. - -2006-03-19 Luc Teirlinck - - * help-mode.el (help-follow-symbol): New function. - Essentially identical to the old `help-follow', but do not let - `push-button' do the work when on an xref. - (help-mode-map): Bind `help-follow-symbol' to "C-c C-c". - -2006-03-19 Richard Stallman - - * help-mode.el (help-xref-symbol-regexp): Make no xref for symbol - preceded by the word `program'. - (help-follow-mouse, help-follow): Throw error if not on xref. - Delete no longer used args. - -2006-03-20 Nick Roberts - - * progmodes/gdb-ui.el (gdb-stopped): Even when there is no source - annotation ensure gud-overlay-arrow-position is redisplayed. - -2006-03-19 Roland Winkler - - * textmodes/bibtex.el (bibtex-include-OPTkey) - (bibtex-entry-field-alist, bibtex-generate-url-list): Mark as risky. - (bibtex-autokey-name-case-convert) - (bibtex-autokey-titleword-case-convert): Make these the aliases - for the following two variables. - (bibtex-autokey-name-case-convert-function) - (bibtex-autokey-titleword-case-convert-function): Make these the - real names. - (bibtex-font-lock-keywords): Make bibtex-font-lock-url and - bibtex-font-lock-crossref sublists. - (bibtex-mode): Revert 2005-12-30 change (which made - completion-ignore-case buffer-local). - (bibtex-url): Simplify. - -2006-03-19 Kim F. Storm - - * emulation/cua-rect.el (cua--highlight-rectangle): Set overlay - cursor property value to 2 (to align with C level change). - -2006-03-19 Bill Wohler - - * image.el (image-load-path-for-library): Shorten first line in - docstring. - -2006-03-18 Richard Stallman - - * mail/rmail.el (rmail-reply-regexp): Undo previous change. - -2006-03-18 Ben North (tiny change) - - * isearch.el (isearch-other-meta-char): Handle user bindings for - shifted control characters. - -2006-03-18 Agustin Martin - - * textmodes/ispell.el (ispell-skip-region-alist): Add "_+" to the - part that matches email addresses, file names, etc. - -2006-03-18 Eli Zaretskii - - * term/w32-win.el (mouse-set-font): - Mention w32-list-proportional-fonts in the doc string. - -2006-03-18 Kim F. Storm - - * ido.el (ido-cache-ftp-work-directory-time): Doc fix. - (ido-unc-hosts): New user option to explicitly define list of know - UNC-style hosts for completion. - (ido-cache-unc-host-shares-time): New user option. - (ido-is-unc-root, ido-is-unc-host, ido-cache-unc-valid): - New helper functions for UNC file-name support. - (ido-may-cache-directory): Check for UNC host. Simplify. - (ido-wash-history): Clean out old UNC hosts. - (ido-nonreadable-directory-p): UNC hosts are always readable. - (ido-directory-too-big-p): UNC hosts are never too big. - (ido-set-current-directory): Handle UNC root path. - (ido-file-name-all-completions): Complete UNC host names from - ido-unc-hosts list. Cache UNC host shares. - (ido-make-file-list-1): Don't filter UNC root. - (ido-exhibit): Check for // in root directory, and switch to UNC - mode by setting ido-current-directory to //. - -2006-03-17 Luc Teirlinck - - * cus-edit.el (customize-changed-options): Mention explicit - version number as default in prompt. - -2006-03-17 Bill Wohler - - * image.el (image-load-path-for-library): Minor docstring fix. - -2006-03-17 Carsten Dominik - - * textmodes/org.el (org-read-date): Include subgroup 5 into - replacement text. - (org-popup-calendar-for-date-prompt): Fix customization type. - -2006-03-17 Nick Roberts - - * progmodes/gdb-ui.el (gud-watch): Provide completion. - (gdb-continuation): New variable. - (gdb-send): Deal with continuation lines. - - * progmodes/gud.el (gud-gdb-complete-command) - (gud-gdb-run-command-fetch-lines): Adapt for use with watch - expressions. - (gud-tooltip-mode): Use buffer-local value. - -2006-03-16 Kim F. Storm - - * ido.el (ido-edit-input): Use selected match, if any. - -2006-03-16 Bill Wohler - - * image.el (image-load-path-for-library): Prefer user's images in - image-load-path. - -2006-03-16 Martin Rudalics - - * mouse.el (mouse-drag-vertical-line): Use window-inside-edges - when checking for attempt to drag leftmost or rightmost scrollbar. - -2006-03-16 Nick Roberts - - * progmodes/gdb-ui.el (gdb-inferior-status): New variable. - (gdb-force-mode-line-update): New function. - (gdb-resync, gdb-starting, gdb-signal, gdb-exited, gdb-stopped) - (gdb-exited): Use them. - (gdb-signal): New function. - (gdb-annotation-rules): Provide a rule for it. - -2006-03-16 Kenichi Handa - - * international/mule.el (auto-coding-regexp-alist): Add entries - for Unicode BOM. - - * sort.el (sort-build-lists): Temporarily bind - inhibit-field-text-motion to t. - -2006-03-15 Luc Teirlinck - - * locate.el (locate-command, locate-make-command-line) - (locate-fcodes-file, locate-update-command) - (locate-prompt-for-command, locate, locate-with-filter) - (locate-get-file-positions): Doc fixes. - (locate-buffer-name, locate-header-face): Remove leading `*' in - defcustom. - (locate-filter-output): Use `keep-lines' instead of its alias - `delete-non-matching-lines'. - (locate-get-filename, locate-get-dirname): Add introductory comment. - (locate-find-directory-other-window): Give appropriate error - message if used outside main listing. - -2006-03-15 Stefan Monnier - - * font-lock.el (font-lock-lines-before): Delete variable, subsumed by - the new extend-region feature. - (font-lock-after-change-function): Update correspondingly. - * jit-lock.el (jit-lock-after-change): Update correspondingly. - * progmodes/grep.el (font-lock-lines-before): Don't disable. - -2006-03-15 Bill Wohler - - * image.el (image-load-path-for-library): Fix example by not - recommending that one binds image-load-path. Just defvar it to - placate compiler and only use it if previously defined. - -2006-03-15 Carsten Dominik - - * textmodes/org.el (org-insert-centered): Use `string-width' to - make underlining work for wide characters. - (org-goto-map, org-agenda-mode-map, org-mode-map): Explicitly bind - TAB to `org-cycle', to make sure that no binding in - `outline-mode-map' can supercede it. - -2006-03-14 Ken Manheimer - - * allout.el: Increment version to 2.2.1 in file commentary. - - (allout-version): Increment to 2.2.1. - - (allout-default-layout): New customization variable, used when the - file lacks a specific allout-layout. Uses allout-layout-type for - recursively nested definition. - - (allout-layout-type): Widget defining allout layouts, necessary for - self-recursive definition. - - (allout-mode): Incorporate allout-default-layout as fallback for - allout-layout. - - (allout-layout): Mark as 'safe-local-variable', and refer mention - fallback to `allout-default-layout' in absence of a specified value. - (allout-passphrase-verifier-string) - (allout-passphrase-hint-string): Mark as 'safe-local-variable'. - - (allout-file-passphrase-verifier-string): Obsolete variable, removed. - - (allout-get-encryption-passphrase-verifier): Use correct name of - passphrase verifier in docstring. - -2006-03-15 Nick Roberts - - * progmodes/gdb-ui.el (gdb-var-list): Change order of first two - elements. - (gdb-find-watch-expression): Make it work for arrays too. - Follow change to gdb-var-list. - (gud-watch): Allow the user to enter variable name with a prexix - arg. Create keybindings. - (gdb-var-create-handler, gdb-var-evaluate-expression-handler) - (gdb-var-list-children-handler, gdb-var-update-handler) - (gdb-var-delete, gdb-edit-value, gdb-speedbar-expand-node) - (gdb-var-list-children-handler-1, gdb-var-update-handler-1): - Follow change to gdb-var-list. - (gdb-starting): Don't show the overlay arrows when program is running. - - * progmodes/gud.el (gud-speedbar-buttons): Follow change to - gdb-var-list. - -2006-03-14 Bill Wohler - - * image.el (image-load-path-for-library): Pass value of path - rather than symbol. Always return list of directories. - Guarantee that image directory comes first. - -2006-03-14 Alan Mackenzie - - * font-core.el (font-lock-extend-region\(-function\)?.): - New function/variable. - - * font-lock.el (font-lock-after-change-function): - Call font-lock-extend-region. Obey font-lock-lines-before. - (font-lock-default-fontify-region): Remove reference to - font-lock-lines-before. - - * jit-lock.el (jit-lock-after-change): - Call font-lock-extend-region. Obey font-lock-lines-before. - -2006-03-14 David Ponce - - * tree-widget.el (tree-widget-themes-load-path) - (tree-widget-themes-directory, tree-widget-theme): Doc fix. - -2006-03-13 Ryan Yeske - - * net/rcirc.el (rcirc) : Add link to manual. - (rcirc-print): Mark the start of text at the end of the prompt. - (rcirc-track-minor-mode): Add autoload cookie. - (rcirc-update-activity-string): Add space to front of mode-line - indicator. - -2006-03-13 Miles Bader - - * net/rcirc.el (rcirc-nick-abbrevs): Remove variable. - (rcirc-abbrev-nick): Remove function. - (rcirc-format-response-string): Don't call `rcirc-abbrev-nick'. - -2006-03-13 David Ponce - - * tree-widget.el: Handle themes across all occurrences of the main - themes sub-directory found in tree-widget-themes-load-path. - (tree-widget-themes-directory, tree-widget-theme): Doc fix. - (tree-widget--locate-sub-directory): Return all occurrences. - (tree-widget-themes-path): New function. - Replace tree-widget-themes-directory, and return a list of directories. - (tree-widget-set-parent-theme) - (tree-widget-lookup-image): Use it. - -2006-03-13 Carsten Dominik - - * textmodes/org.el (org-link-search): Avoid self-matching of - links, allow target text to be distributed over several lines. - (org-search-not-link): New function. - (org-set-regexps-and-options, org-get-current-options): - New startup options. - (org-export-as-html): Take odd-level setting from local variable. - (org-fontify-emphasized-text): New option. - (org-set-font-lock-defaults): Include emphasized text. - (org-follow-mhe-link): Allow folder-only links, fix folder name. - (org-font-lock): Customize group renamed from `org-faces'. - -2006-03-13 John Paul Wallington - - * ibuf-ext.el (ibuffer-never-show-predicates): Add `require' - keyword; require `ibuf-ext' feature. Thanks to Zhang Wei. - -2006-03-12 Luc Teirlinck - - * cus-start.el (all): Delete :version keyword for members of the - fringe group, since the entire group is new in 22.1. - -2006-03-13 Nick Roberts - - * progmodes/gdb-ui.el (gdb-stack-list-locals-handler): Add local - map if value is hexadecimal (an address). - (gud-watch): Only search roots for existing watch expressions. - (gdb-speedbar-refresh): Bind speedbar-shown-directories to nil to - prevent caching problems with speedbar-update-directory-contents. - -2006-03-12 Juri Linkov - - * battery.el (battery-linux-proc-acpi): Check `capacity' for non-nil - before comparing with `low' and `warn'. - - * info.el (Info-dir-remove-duplicates): Move point to the - beginning of the current line after deleting the entries from - redundant heading. Use marker for `limit' and compare it with - point before calling `re-search-forward'. - -2006-03-11 Luc Teirlinck - - * simple.el (yank): Fix typo in docstring. - -2006-03-11 Ryan Yeske - - * mail/rmailsum.el (rmail-summary-next-msg): Skip deleted - messages, where "D" is the 6th character. - -2006-03-11 Eli Zaretskii - - * simple.el (yank): Fix last change. - -2006-03-11 David Ponce - - * textmodes/ispell.el (ispell-find-aspell-dictionaries): Add aliases - before merging elements from the standard ispell-dictionary-alist. - (ispell-aspell-add-aliases): Add aliases to the passed dictionary - alist, and return the new alist. - -2006-03-11 Richard Stallman - - * mail/rmail.el (rmail-ignored-headers): Discard DomainKey-Signature. - - * eshell/eshell.el (eshell-prefer-to-shell): Variable deleted; - the way it is implemented is too unclean. - - * simple.el (kill-region, yank): Doc fix. - - * battery.el (battery-echo-area-format): Doc fix. - (battery-mode-line-format): Likewise. - (battery-linux-proc-apm, battery-linux-proc-acpi): Likewise. - (battery-linux-proc-acpi): Ignore batteries that say "charged". - -2006-03-11 Kurt Hornik - - * progmodes/octave-mod.el (octave-indent-for-comment): - Behave according to do string. - -2006-03-11 Agustin Martin - - * textmodes/ispell.el (ispell-menu-map-needed) [ispell-message]: - Be visible only if major mode is Mail Mode. - - * textmodes/flyspell.el (flyspell-external-point-words) - (flyspell-process-localwords): Fix last changes. - -2006-03-11 Eli Zaretskii - - * calendar/holidays.el (list-holidays): Doc fix. - - * international/mule.el (auto-coding-alist): Add .odt - (OpenOffice's open document) files. - - * files.el (auto-mode-alist): Add .odt (OpenOffice's open - document) files. Mention in the doc string the need to sync with - auto-coding-alist. - -2006-03-10 Chong Yidong - - * files.el (hack-local-variables-confirm): Don't prompt for ! if - enable-local-variables is set to always query, or there is no - savable variable. - -2006-03-10 Bill Wohler - - * image.el (image-load-path-for-library): Merge at least three - functions from Gnus and MH-E into this one function that can now - be shared. - -2006-03-11 Nick Roberts - - * progmodes/gdb-ui.el (gdb-remove-text-properties): Rename from - gdb-remove-mouse-face and remove help-echo too. - (gdb-enqueue-input): Correct conditional clause. - -2006-03-10 Glenn Morris - - * calendar/calendar.el (calendar-holidays): Doc fix. - * calendar/holidays.el (list-holidays): Doc fix. - -2006-03-10 Nick Roberts - - * progmodes/gdb-ui.el (gdba): Don't call gdb-init-1 explicitly as - it gets called in gdb-prompt anyway. - (gdb-use-separate-io-buffer): Only restore window arrangement for - gdb-many-windows. - (gdb-enqueue-input): Make it harder to send GDB input when program - is running. - (gdb-buffer-list): New variable. - (gdb-remove-mouse-face): New function. - (gdb-starting): Use it when GDB input won't get sent. - -2006-03-08 Juanma Barranquero - - * help.el (view-lossage): Remove trailing whitespace before - inserting "\n". - -2006-03-07 Chong Yidong - - * files.el (hack-local-variables-confirm): - Set coding-system-for-read to nil before writing to .emacs. - - * arc-mode.el (archive-extract): Check if an existing buffer name - comes from a different archive. - - * help.el (describe-key-briefly): If KEY is a down event, read and - discard the up event. - -2006-03-07 Nick Roberts - - * progmodes/gud.el (gud-speedbar-buttons): Allow pointers to - be edited and use font-lock-warning-face for any changes. - - * progmodes/gdb-ui.el (gdb-edit-value-handler): New function. - (gdb-edit-value): Use it to report any errors. - -2006-03-07 Juanma Barranquero - - * help.el (describe-key): Remove leftover test code. - -2006-03-07 Carsten Dominik - - * textmodes/org.el: Move defvars out of eval-when-compile. - Use buffer-file-name variable. - (org-agenda-file-to-end, org-agenda-file-to-front): Remove unused - arg `file'. - (org-level-faces): Remove startup dependency. - (org-cycle, org-map-tree, org-scan-tags) - (org-remember-handler): Don't call `outline-level' directly. - (org-mhe-search-all-folders): New option. - (org-mhe-get-message-folder-from-index) - (org-mhe-get-message-folder): Fix indexing search. - (org-format-agenda-item): Handle nil TAGS argument. - (org-cleaned-string-for-export, org-activate-target-links) - (org-make-target-link-regexp): Deal with empty radio target list. - (org-tag): New face. - (org-get-level-face): New function. - (org-set-font-lock-defaults): Simplify setup for headlines. - (org-complete): Pass common substring to `display-completion-list'. - -2006-03-06 David Ponce - - * tree-widget.el: Update Commentary header. - (tree-widget-theme-name): Ignore parent themes. - (tree-widget-set-parent-theme): New function. - (tree-widget-set-theme): Use it. - (tree-widget-set-image-properties): Move definition. Does nothing - if image properties have already been set. - (tree-widget-image-properties): Move definition. Receive an image - name. Set the :pointer property. - (tree-widget-lookup-image): Doc fix. Search in parent themes. - Don't set the :pointer image property. - (tree-widget-convert-widget): New function. Handle :dynargs - compatibility here. - (tree-widget): Use it to :convert-widget. Add the :expander-p - predicate to control when the :expander function is entered. - Thanks to Ken Manheimer for the idea. - (tree-widget-value-create): Handle :expander-p. widget-apply - :expander. - (tree-widget-expander-p): New function. Default value of the - :expander-p property. - -2006-03-06 Chong Yidong - - * help.el (describe-key): Properly handle the return value of - read-key-sequence when grabbing an up-event. Cleanup mouse-1 - remaps. Handle string and vector `follow-link' values. - -2006-03-06 Stefan Monnier - - * complete.el (PC-expand-many-files): Try be more careful when parsing - the shell's output. - -2006-03-05 Stefan Monnier - - * outline.el (hide-sublevels): Provide better interactive default. - -2006-03-06 Kenichi Handa - - * international/fontset.el (create-fontset-from-fontset-spec): - Fix regexp for paring FONTSET-SPEC (allow spaces after `:'). - -2006-03-05 Luc Teirlinck - - * progmodes/gud.el (gud-jdb-marker-filter): Quote `[' with two - backslashes instead of one in regexp. - (gud-tooltip-dereference): Add missing optional argument. - -2006-03-04 John Paul Wallington - - * wdired.el (toplevel): Require `cl' at compile-time. - -2006-03-04 Andreas Schwab - - * server.el (server-process-filter): Handle errors during - evaluation of the argument. - -2006-03-03 John Paul Wallington - - * t-mouse.el (t-mouse-drag-start, t-mouse-swap-alt-keys): Doc fix; - escape parentheses at beginning of line. - (t-mouse-tty, t-mouse-make-event): Doc fix; use imperative. - (t-mouse-mode): Remove period from end of error message. - -2006-03-03 Agustin Martin - - * textmodes/flyspell.el (flyspell-process-localwords): - Be case-sensitive. - -2006-03-03 Martin Rudalics - - * cus-edit.el (custom-quote): Remove function, since it has been - moved to custom.el. - - * font-lock.el (lisp-font-lock-keywords-2) - * emacs-lisp/rx.el (rx-check-any, rx-check-not) - * generic-x.el (reg-generic-mode): Quote "]"s in regexps when - they have no special meaning. - - * midnight.el (clean-buffer-list): Handle case where base-buffer of - indirect buffer gets killed before indirect buffer. Use dolist. - -2006-03-03 Ken Manheimer - - * emacs-lisp/edebug.el (edebug-display): Use `edebug-sit-for-seconds' - value instead of a literal constant (1) on more pauses. - -2006-03-03 Slawomir Nowaczyk (tiny change) - - * textmodes/flyspell.el (flyspell-external-point-words): - Be case-sensitive. - -2006-03-03 Ryan Yeske - - * net/rcirc.el (rcirc-url-regexp): Match entire url when it starts - with "www". - -2006-03-03 Ken Manheimer - - * allout.el: Restablish intermediate missing comment header to - preserve outline structure. - (allout-beginning-of-current-entry): Skip invisible text. - (allout-open-topic): Fix opening a topic at end-of-buffer. - (allout-minor-mode): Move nearer to allout-mode function. - -2006-03-02 Carsten Dominik - - * textmodes/org.el (org-paste-subtree): Remove (debug) form. - -2006-03-02 Nick Roberts - - * dframe.el (dframe-frame-mode): Don't burp when menu-bar-lines - is nil. - - * progmodes/gud.el (gud-speedbar-menu-items): - Use buffer-local-value and add missing :visible keyword. - - * progmodes/gdb-ui.el (gdb-speedbar-refresh): Quieten speedbar-refresh. - -2006-03-01 Carsten Dominik - - * textmodes/reftex-index.el (reftex-index-map): `follow-mouse' - must be `follow-link'. - - * textmodes/reftex-toc.el (reftex-toc-map): Likewise. - - * textmodes/org.el (org-export-as-html): Fix bugs in HTML - formatting: No nested anchors. - (org-all-targets): Fix bug with XEmacs compatibility. - (org-read-date): Add (require 'parse-time). - (org-set-tags): Fix bug with extra inserted space. - (org-export-html-style): Define a style class for targets. - (org-agenda-keymap, org-mouse-map): Add a binding for `follow-link'. - (org-hide-leading-stars): New option. - (org-hide): New face. - (org-set-font-lock-defaults): Allow to hide leading stars. - (org-get-legal-level, org-tr-level): New functions. - (org-odd-levels-only): New option. - (org-level-faces, org-paste-subtree, org-convert-to-odd-levels) - (org-demote, org-promote): Deal with double-star levels. - (org-convert-to-odd-levels): New command. - -2006-03-01 Nick Roberts - - * speedbar.el (speedbar-update-localized-contents): Try to - preserve window-start. - (speedbar-update-directory-contents): Try to preserve window-start - and window-point. - (speedbar-update-special-contents): Don't move back to start of window. - - * progmodes/gdb-ui.el (gdb-speedbar-refresh): Rename from - gdb-speedbar-timer-fn. Use speedbar-refresh instead of - speedbar-timer-fn. - (gdb-var-update-handler, gdb-var-update-handler-1): Use it. - (gdb-speedbar-expand-node): Use speedbar-delete-subblock - instead of gdb-speedbar-timer-fn. - -2006-02-28 Jay Belanger - - * calc/calccomp.el (math-compose-tex-matrix): Add a latex option. - (math-compose-expr): Use latex option when calling - `math-compose-tex-matrix' for latex mode. - -2006-02-28 Nick Roberts - - * speedbar.el: Re-instate comments about developing for speedbar - [this is what info and gdb-ui use even if better methods exist now]. - - * t-mouse.el: New file. - (t-mouse-tty): Use with-temp-buffer. Add more terminal types. - (t-mouse-lispy-buffer-posn-from-coords): Remove. - (t-mouse-make-event-element): Use posn-at-x-y instead. - (t-mouse-make-event): Deal with Fedora Core 3. - (t-mouse-make-event): Don't sink the `stupid text mode menubar'. - (t-mouse-mouse-position-function): New function. Use it instead - of advising mouse-position. - (t-mouse-mode): New minor mode. - (t-mouse-stop, t-mouse-run): Remove. Use t-mouse-mode instead. - -2006-02-27 Glenn Morris - - * calendar/calendar.el (calendar-holidays): Doc fix. - -2006-02-27 Nick Roberts - - * progmodes/gdb-ui.el (gdb-source-window): New variable. - Re-introduce the concept of a source window. - (gdb-get-buffer-create): Rename from gdb-get-create-buffer for - consistency with get-buffer-create. - (def-gdb-auto-update-handler, gdb-info-locals-handler) - (gdb-data-list-register-values-handler) - (gdb-stack-list-locals-handler): Try to preserve window-start as - well as window-point. - (gdb-display-source-buffer): New function (old concept). - (gdb-goto-breakpoint): Use it. - - * progmodes/gud.el (gud-display-line): Use gdb-display-source-buffer - for gdb-ui/gdb-mi (old concept). - -2006-02-27 Carsten Dominik - - * textmodes/reftex-index.el (reftex-index-map): Add `follow-mouse' - binding. - - * textmodes/reftex-toc.el (reftex-toc-map): Add `follow-mouse' binding. - - * textmodes/reftex-sel.el (reftex-select-label-map) - (reftex-select-bib-map): Add `follow-mouse' binding. - -2006-02-26 Luc Teirlinck - - * jka-cmpr-hook.el (jka-compr-compression-info-list) - (jka-compr-mode-alist-additions, jka-compr-load-suffixes): - Give :set functions to provide automatic updating. - Update docstring. Give compiler defvars early in the file - and move the defcustoms to a later spot where all called functions - are defined. - (jka-compr-file-name-handler-entry): Doc fix. - (jka-compr-compression-info-list--internal) - (jka-compr-mode-alist-additions--internal) - (jka-compr-load-suffixes--internal): New variables. - (jka-compr-install): Set the three above variables. - Update `load-file-rep-suffixes' instead of `load-suffixes'. - (jka-compr-update, jka-compr-set): New functions. - (auto-compression-mode): Doc fix. - - * jka-compr.el (jka-compr-uninstall): Replace `mapcar' with `mapc'. - Update `load-file-rep-suffixes' instead of `load-suffixes'. - Use jka-compr-compression-info-list--internal, - jka-compr-mode-alist-additions--internal and - jka-compr-load-suffixes--internal. - - * files.el (load-library): - * loadhist.el (file-loadhist-lookup): - * startup.el (command-line): - * subr.el (locate-library): - * emacs-lisp/autoload.el (update-directory-autoloads): - * emacs-lisp/find-func.el (find-library-suffixes): - Use `get-load-suffixes' instead of `load-suffixes'. - - * subr.el (locate-library): - * emacs-lisp/find-func.el (find-library-name): - Use `load-file-rep-suffixes' instead of '(""). - -2006-02-26 Kim F. Storm - - * ido.el (ido-save-history, ido-load-history): Simplify. - Don't use find-file-noselect to avoid interference from other modes. - -2006-02-25 Thien-Thi Nguyen - - * progmodes/sh-script.el (sh-mode): Fix bug: Arrange - to use the default shell if filename is not available. - Reported by Giorgos Keramidas. - -2006-02-25 John Williams (tiny change) - - * progmodes/etags.el (tags-completion-table): Do completion from - all the tables in the current list, as documented in the manual. - -2006-02-24 Alan Mackenzie - - * CC Mode Update to 5.31.3. - -2006-02-24 Alan Mackenzie - - * progmodes/cc-mode.el (c-postprocess-file-styles): - Bind inhibit-read-only to t, around the call to - c-remove-any-local-eval-or-mode-variables, so that it works on a - RO file. - -2006-02-24 Alan Mackenzie - - * progmodes/cc-awk.el: Correct a typo. - -2006-02-24 Alan Mackenzie - - * progmodes/cc-cmds.el, cc-mode.el: Rename c-hungry-backspace to - c-hungry-delete-backwards, at the request of RMS. Leave the old - name as an alias. - -2006-02-24 Alan Mackenzie - - * progmodes/cc-mode.el: Correct a typo. - -2006-02-24 Alan Mackenzie - - * progmodes/cc-defs.el: Update the version number to 5.31.3. - -2006-02-24 Alan Mackenzie - - * progmodes/cc-cmds.el (c-electric-brace): Fix clean-up - brace-else-brace (error due to mbeg, mend being undefined). - -2006-02-24 Alan Mackenzie - - * progmodes/cc-mode.el: File Local variables: Solve the problem - where both `mode' and c-file-offsets are specified: `mode' will - overwrite c-f-o's settings: - (c-remove-any-local-eval-or-mode-variables): New function. - (c-postprocess-file-styles): Call the above new function, within - c-tentative-buffer-change, to splat `mode' and `eval' before the - second hack-local-variables. - -2006-02-24 Alan Mackenzie - - * progmodes/cc-mode.el: - [Supersedes patch to cc-engine.el 2005-12-16T20:07:49Z!monnier@iro.umontreal.ca] - (c-after-change): Protect the match data with save-match-data. - It was getting corrupted by c-after-change-check-<>-operators. - - * progmodes/cc-defs.el: [Supersedes patch V1.38]: - (top level): Check for a buggy font-lock-compile-keywords ONLY in - XEmacs. GNU Emacs 22 now has a check which would throw an error here. - - * progmodes/cc-awk.el (c-awk-after-change): Protect the match data - with save-match-data. It was being corrupted when Font Lock was - not enabled. - -2006-02-24 Alan Mackenzie - - * progmodes/cc-langs.el (c-mode-menu): Add menu items for Electric - Mode and Subword Mode. - - * progmodes/cc-engine.el (c-beginning-of-statment-1): Distinguish - real labels ("case 1:" or "foo:") from non-labels ("public:"). - (c-forward-objc-directive): Replace c-forward-token-2 with crude - coding; c-f-t-2 doesn't move over a token at EOB. - - * progmodes/cc-defs.el (c-version): Update version number to 5.31.2. - - * progmodes/cc-cmds.el, cc-mode.el, cc-engine.el - (c-update-modeline): Concatenate the minor mode indicators - directly onto mode-name, removing c-submode-indicators. - Sometimes, c-s-i got separated from the mode name on the mode line. - - * progmodes/cc-cmds.el (c-electric-brace, c-electric-semi&comma) - (c-electric-colon): Correct doc-strings: "/ln" -> "/la". - -2006-02-24 Martin Stjernholm - - * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Improve the - error message when there's an evaluation error to show whether - it's loaded from source or not. - (c-filter-ops): Make it available at runtime too to work when - `c-make-init-lang-vars-fun' needs to evaluate from source. - -2006-02-24 Juanma Barranquero - - * help.el (help): Revert last part of 2006-02-23 change (deletion - of the `provide' call). - -2006-02-23 Juri Linkov - - * compare-w.el (compare-windows-highlight): Add new value - `persistent' and change :type from `boolean' to `choice'. - (compare-windows-overlays1, compare-windows-overlays2): - New internal variables. - (compare-windows-highlight): If compare-windows-highlight is - `persistent', add current overlays to compare-windows-overlays[12] - instead of adding compare-windows-dehighlight to pre-command-hook. - (compare-windows-dehighlight): Delete all overlays from - compare-windows-overlays[12]. - - * info.el (Info-search): Don't bind search-spaces-regexp to - Info-search-whitespace-regexp in non-regexp isearch mode. - -2006-02-23 Stefan Monnier - - * help.el (describe-mode): Pass `mode-name' to format-mode-line. - -2006-02-23 Juanma Barranquero - - * textmodes/org.el (org-xemacs-p) - (org-export-html-show-new-buffer, org-table-may-need-update) - (org-insert-item, org-mhe-get-message-real-folder) - (org-mhe-get-message-folder-from-index) - (org-mhe-get-message-folder, org-mhe-get-message-num) - (org-mhe-get-header, org-make-org-heading-search-string) - (org-make-org-heading-camel, org-table-sort-lines) - (org-format-org-table-html, org-format-table-table-html): - Fix typos in docstrings. - -2006-02-23 Carsten Dominik - - * textmodes/org.el (org-cleaned-string-for-export) - (org-solidify-link-text): New function. - (org-add-hook): Use `add-local-hook' instead of `make-local-hook' for - XEmacs, just to silence the compiler. - (org-export-as-ascii, org-export-as-html-and-open): - Use `org-cleaned-string-for-export' and create internal links. - (org-follow-mhe-link): Require mh-e, use folder. - -2006-02-23 Nick Roberts - - * progmodes/gud.el (gud-speedbar-buttons): Use shadow face properly. - - * progmodes/gdb-ui.el (gdb-debug-ring-max): Rename from - gdb-debug-log-length. - (gdb-debug-ring): Rename from gdb-debug-log-ring. Don't make - it a real ring but... - (gud-gdba-marker-filter): ...make it work like mark-ring. - (gdb-enable-debug): Rename from gdb-enable-debug-log. - (gdb-mouse-jump): New function. Add bindings. - -2006-02-23 Nick Roberts - - * progmodes/gdb-ui.el (gdb-signalled): New variable and function. - (gdb-debug-log-ring): Rename from gdb-debug-log and make a ring. - (gdb-send, gdb-send-item, gud-gdba-marker-filter): Use it. - (gdb-debug-log-length): Customize it's length. - (gud-watch, gdb-var-create-handler): Display function::var format - but don't use to create variable object. - (gdb-var-create-handler): Use message-box in place of message. - (gdb-stopped): Call gdb-exited if signalled. - -2006-02-22 Carsten Dominik - - * textmodes/reftex.el (reftex-locate-file): Remove duplicate function. - - * textmodes/reftex-vars.el (reftex-try-all-extensions): New option. - - * textmodes/reftex.el (reftex-locate-file): Search all extensions - if `reftex-try-all-extensions' is set. - - * textmodes/reftex-dcr.el (reftex-view-crossref): New argument to - fail silently when there is no valid argument at point. - (reftex-view-crossref-when-idle): Call `reftex-view-crossref' with - `fail-silently' argument. From a patch by David Reiter. - - * textmodes/org.el (org-mark-ring-push, org-mark-ring-goto): - New commands. - (org-mark-ring): New variable. - (org-mark-ring-length): New option. - (org-open-at-point, org-goto, org-open-file): Push old position - onto the mark ring. - (org-add-hook): New function. - (org-export-table-remove-special-lines): New option. - (org-skip-comments, org-format-org-table-html): Respect new - option `org-export-table-remove-special-lines'. - (org-open-file): Allow special command configuration for - directory link. - (org-file-apps): Fix bugs in customize type, added setting - for directories. - (org-activate-tags, org-format-agenda-item, org-complete) - (org-get-tags-at, org-scan-tags, org-make-tags-matcher) - (org-get-tags, org-get-buffer-tags, org-open-at-point) - (org-link-search, org-make-org-heading-search-string) - (org-make-org-heading-camel): Allow @ and 0-9 as tags characters. - (org-radio-targets, org-file-link-context-use-camel-case) - (org-activate-camels): New options. - (org-update-radio-target-regexp, org-all-targets) - (org-make-target-link-regexp, org-activate-target-links): - New functions. - (org-make-org-heading-search-string): New function. - (org-store-link, org-insert-link): Use new option - `org-file-link-context-use-camel-case'. - (org-activate-camels): Use new option `org-activate-camels'. - (org-link-regexp): Add mhe prefix. - (org-open-at-point, org-store-link): Support for mhe links. - (org-mhe-get-message-real-folder, org-mhe-get-message-folder) - (org-mhe-get-message-folder-from-index, org-mhe-get-message-num) - (org-mhe-get-header, org-follow-mhe-link): New functions. - (org-remove-angle-brackets, org-add-angle-brackets): - New functions. - (org-bracket-link-regexp): New constant. - (org-read-date): Fix bug that was rejecting all typed dates. - (org-link-search): Make hierarchy above visible after a match. - (org-follow-bbdb-link): Inhibit electric mode for BBDB. - (org-store-link): Fix bug with link creation when cursor is in - an empty line. - (org-open-at-point): Fix bug with matching a link. - Fixed buggy argument sequence in call to `org-view-tags'. - (org-compile-prefix-format): Set `org-prefix-has-tag'. - (org-prefix-has-tag): New variable. - (org-format-agenda-item): Remove tags from headline - if appropriate. - (org-agenda-remove-tags-when-in-prefix): New option. - -2006-02-21 Michael Kifer - - * ediff-diff.el (ediff-setup-diff-regions, ediff-setup-diff-regions3): - Fix the regular expressions. - -2006-02-21 Richard M. Stallman - - * progmodes/sh-script.el (sh-mode): Set shell type based on file name - if there's no other specific basis. - - * emacs-lisp/unsafep.el (unsafep): Don't treat &rest or &optional - as variables at all. - (unsafep-variable): Rename arg; doc fix. - - * abbrevlist.el (list-one-abbrev-table): Add autoload. - - * calendar/appt.el (diary-selective-display): Add defvar. - - * sort.el (sort-columns): Use Posix arg syntax for `sort'. - - * isearch.el (search-whitespace-regexp): Fix custom type. - - * help.el (describe-key-briefly): Compute interactive args - in same was as before previous change. - - * files.el (enable-local-variables): Doc fix. - -2006-02-21 Kim F. Storm - - * fringe.el: Cleanup as file is now pre-loaded. - (fringe-bitmaps): Initialize unconditionally. - (fringe-mode, set-fringe-style): Remove autoload cookies. - -2006-02-21 Giorgos Keramidas (tiny change) - - * fringe.el (fringe-bitmaps): Rename `horisontal-bar' to - `horizontal-bar'. - (fringe-cursor-alist): Use `horizontal-bar'. - -2006-02-20 Kim F. Storm - - * fringe.el (fringe-bitmaps): Update to new bitmap names. - (fringe-indicator-alist, fringe-cursor-alist): Initialize. - - * loadup.el: Load "fringe" on window systems. - -2006-02-20 Nick Roberts - - * progmodes/gud.el (gud-speedbar-buttons): Use shadow face for all - out of scope components. - - * progmodes/gdb-ui.el (gdb-speedbar-auto-raise): Don't enable by - default. - -2006-02-20 Chong Yidong - - * custom.el (customize-mark-to-save, customize-mark-as-set): - Load the symbol first. - -2006-02-20 Juanma Barranquero - - * buff-menu.el (list-buffers-noselect): Turn also "\n" into a - strech spec so it doesn't display as "^J" on the header line - when `Buffer-menu-use-header-line' is t. - -2006-02-20 Nick Roberts - - * speedbar.el (speedbar-make-button): Keep text properties - of string arguments if desired. - - * progmodes/gud.el (gud-speedbar-buttons): Fontify watch - expessions. - - * progmodes/gdb-ui.el (gdb-speedbar-expand-node): Force update - of speedbar. - -2006-02-19 Ryan Yeske - - * ffap.el (ffap-read-file-or-url): Bind `completion-ignore-case' - to value of `read-file-name-completion-ignore-case'. - -2006-02-19 Chong Yidong - - * custom.el (customize-mark-as-set): Push to `user' theme. - - * cus-edit.el (custom-save-variables): Allow unthemed values. - (customize-set-variable): Push setting to `user' theme. - -2006-02-19 Nick Roberts - - * progmodes/gud.el: Don't require font-lock as it's now - automatically loaded. - (gud-speedbar-buttons): Replace gdb-var-changed with - gdb-force-update. - - * progmodes/gdb-ui.el (gdb-force-update): Rename from - gdb-var-changed. - (gdb-post-prompt): Use it. - (gdb-var-create-handler, gdb-var-evaluate-expression-handler) - (gdb-var-update-handler, gdb-var-delete) - (gdb-speedbar-expand-node, gdb-var-list-children-handler-1) - (gdb-var-update-handler-1): Don't set gdb-var-changed, just set - gdb-force-update in gdb-post-prompt. - (gdb-reset): Clear watch expressions from speedbar when quitting. - -2006-02-19 Michael Kifer - - * emulation/viper-cmd.el (viper-insert-state-post-command-sentinel) - (viper-change-state-to-vi, viper-change-state-to-emacs): - Make aware of cursor coloring in the Emacs state. - (viper-special-read-and-insert-char): Use read-char-exclusive. - (viper-minibuffer-trim-tail): Workaround for fields in minibuffer. - - * emulation/viper-init.el (viper-emacs-state-cursor-color): - New variable. - - * emulation/viper-util.el (viper-save-cursor-color) - (viper-get-saved-cursor-color-in-replace-mode) - (viper-get-saved-cursor-color-in-insert-mode) - (viper-restore-cursor-color): Make aware of the cursor color - in Emacs state. - (viper-get-saved-cursor-color-in-emacs-mode): New function. - - * ediff-diff.el (ediff-ignore-case, ediff-ignore-case-option) - (ediff-ignore-case-option3, ediff-actual-diff-options) - (ediff-actual-diff3-options): New variables to control case sensitivity. - (ediff-make-diff2-buffer, ediff-setup-fine-diff-regions) - (ediff-setup-diff-regions3): Make aware of case-sensitivity. - (ediff-toggle-ignore-case): New function. - (ediff-extract-diffs, ediff-extract-diffs3): Preserve point in buffers. - - * ediff-help.el (ediff-long-help-message-narrow2) - (ediff-long-help-message-compare2, ediff-long-help-message-compare3) - (ediff-long-help-message-word-mode): Add ignore-case command. - (ediff-help-for-quick-help): Add ignore-case command. - - * ediff-merg.el: Move provide to the end. - - * ediff-ptch.el: Move provide to the end. - - * ediff-wind.el: Move provide to the end. - - * ediff-mult.el: Move provide to the end. - (ediff-set-meta-overlay): Enable follow-link. - - * ediff.el: Move provide to the end. - Break recursive load cycle in eval-when-compile. - (ediff-patch-buffer): Better heuristics. - - * ediff-util.el: Move provide to the end. - Break recursive load cycle in eval-when-compile. - (ediff-setup-keymap): Add binding for #c. Replace some defsubsts with - defuns. - (ediff-submit-report): Pass the values of ediff-diff3-program, - ediff-diff3-options. - -2006-02-19 Juanma Barranquero - - * help-fns.el (help-do-arg-highlight): Recognize also ARG- followed by - the opening bracket of the following bracketing pairs: {}, [], (), <>, - `' (for example, in the docstring of `windmove-default-keybindings'). - -2006-02-19 Nick Roberts - - * progmodes/gud.el (gud-speedbar-buttons): Update properly for - shadow face. Don't provide binding to edit variable when it is - out of scope. - - * progmodes/gdb-ui.el (gdb-var-evaluate-expression-handler) - (gdb-var-update-handler): Detect out of scope variables with pre - GDB 6.4 too. - (gdb-post-prompt): Revert change from 2006-02-17 (force update). - Reset status of variable objects to nil in update handlers. - (gdb-var-update-handler-1): Detect when a variable object comes - in scope. setcar on var changes gdb-var-list directly. - -2006-02-17 Juri Linkov - - * ffap.el (ffap) : Add explicit face declaration. - (ffap-highlight): Use face `ffap' directly instead of checking - for its existence. - - * icomplete.el (icomplete-get-keys): Use `t' for the second arg - `visible-ok' of `other-buffer' to find the right original buffer. - - * info.el (Info-search): Skip `Local Variables' node. - -2006-02-17 Juri Linkov - - * info.el (Info-find-file): Check for symbols `apropos', `history', - `toc' in the input filename, and return these symbols as is. - (Info-find-node-2): Set Info-current-file to symbols `apropos', - `history', `toc' instead of strings. - (Info-set-mode-line): For non-string Info-current-file use the - symbol's name inside **. - (Info-isearch-push-state): Add quote before Info-current-file and - Info-current-node. - (Info-isearch-pop-state): Use `equal' instead of `string='. - (Info-extract-pointer, Info-following-node-name): Use - `match-string-no-properties' instead of `match-string'. - (Info-up): Check `old-file' for `stringp'. - (Info-history): Use `equal' instead of `string-equal'. - Check `file' for `stringp'. - (Info-history): Use symbol `history' instead of string as first arg - of `Info-find-node'. - (Info-toc): Check `Info-current-file' for `stringp'. Use symbol - `toc' instead of string. - (Info-extract-menu-node-name): Use `buffer-substring-no-properties' - instead of `buffer-substring', and `match-string-no-properties' - instead of `match-string'. - (Info-index-nodes): Check for symbols `apropos', `history', `toc' - instead of strings. - (info-apropos): Use `Info-find-node' instead of `Info-goto-node'. - Use symbol `apropos' instead of string. - (Info-copy-current-node-name): Check `Info-current-file' for - `stringp' and construct a command with `Info-find-node' from it. - (Info-fontify-node): Use `match-string-no-properties' instead of - `match-string' and check file names for `stringp'. - (Info-desktop-buffer-misc-data): Check for symbols `apropos', - `history', `toc' instead of strings. - -2006-02-17 Chong Yidong - - * files.el: Rearrange functions and variables in the file local - variables section. - -2006-02-17 Reiner Steib - - * files.el: Add truncate-lines, ispell-check-comments and - ispell-local-dictionary as safe local variables. - -2006-02-18 Nick Roberts - - * progmodes/gud.el (gud-speedbar-buttons): Use shadow face for - out of scope variables. - (gud-speedbar-buttons): Use unless. - - * progmodes/gdb-ui.el (gdb-var-list): Update doc string. - (gdb-init-1, gdb-var-changed): Set gdb-var-changed to t initially. - (gdb-show-changed-values): Also use for out of scope variables. - (gdb-var-update-handler-1): Note if variable goes out of scope. - -2006-02-17 Ryan Yeske - - * net/rcirc.el (rcirc-connect): Make all arguments optional, and - default to global variable values for unsupplied args. - (rcirc-get-buffer-create): Fix bug with setting the target. - (rcirc-any-buffer): Rename from rcirc-get-any-buffer, and include - test for rcirc-always-use-server-buffer-flag here. - (rcirc-response-formats): Add %N, which is a facified nick. %n - uses the default face. Change the ACTION format string. If the - "nick" is the server, don't print anything for that field. - Comment fixes. - (rcirc-target-buffer): Don't test - rcirc-always-use-server-buffer-flag here. - (rcirc-print): Squeeze extra spaces out of the text before message. - (rcirc-put-nick-channel): Strip potential "@" char from nick - before adding them to nick table. - (rcirc-url-regexp): Improve to match address like "foo.com". - -2006-02-17 Eli Zaretskii - - * allout.el (allout-hidden-p): Move this defsubst before - allout-overlay-interior-modification-handler, where it is first - used. - -2006-02-17 Ken Manheimer - - * allout.el: Use allout invisible-text overlays instead of - selective display for concealed text. Also, lots of general - cleanup, and improved compatibility code. - - (allout-version): Incremented, corrected, revised, and refined - module commentary. - - (provide 'allout): Moved to the bottom, added a require of overlay. - - (allout-encrypt-unencrypted-on-saves): Defaults to t instead of - `except-current'. - (allout-write-file-hook-handler): Minimize delay. - (count-trailing-whitespace-region): New function so - auto-encryption of current topic can resituate cursor exactly. - PGP/GPG encryption trims trailing whitespace from lines, which - must be accounted for across encryption then decryption. - - (allout-command-prefix): Now defaults to "\C-c" rather than - just plain "\C-c", to avoid intruding on user's keybinding space. - - (allout-toggle-current-subtree-encryption): Pass along fetch-pass - parameter, so user request to provide a new password is done. - - (allout-outside-normal-auto-fill-function, allout-auto-fill): - Refined mechanism for auto-filling behavior while in allout mode. - - (allout-mode): Explicitly specify the mode map in the docstring. - Clarify provision for various write-file hook var names. - Adjusted for invisible-text overlays instead of selective-display. - - (allout-depth): Really return 0 if not within any topic. This - rectifies `allout-beginning-of-level' and sequence numbering - errors that occur when cutting and pasting numbered topics. - Changed from a in-line subst to a regular function, as well. - - (allout-pre-next-prefix): Renamed from allout-pre-next-preface. - - (allout-end-of-subtree, allout-end-of-subtree) - (allout-end-of-entry, allout-end-of-current-heading) - (allout-next-visible-heading, allout-open-topic, allout-show-entry) - (allout-show-children, allout-show-to-offshoot) - (allout-hide-current-entry, allout-show-current-entry): Rectified - handling of trailing blank lines between items. - - (allout-line-boundary-regexp, set-allout-regexp, allout-depth) - (allout-current-depth, allout-unprotected, allout-hidden-p) - (allout-on-current-heading-p, allout-listify-exposed) - (allout-chart-subtree, allout-goto-prefix) - (allout-back-to-current-heading, allout-get-body-text) - (allout-snug-back, allout-flag-current-subtree, allout-show-all) - (allout-hide-region-body, allout-toggle-subtree-encryption) - (allout-encrypt-string, allout-encrypted-key-info) - (allout-next-topic-pending-encryption, allout-encrypt-decrypted) - (allout-file-vars-section-data): Adjusted for use with - invisible-text overlays instead of selective-display. - - (allout-kill-line, allout-kill-topic, allout-yank-processing): - Reworked for use with invisible text overlays. - - (allout-current-topic-collapsed-p): New function. - - (allout-hide-current-subtree): Use allout-current-topic-collapsed-p - to know when to close the containing topic. - - (allout-pre-command-business, allout-post-command-business): - Simplify undo-batching and dynamic isearch exposure. - - (allout-set-overlay-category): New for invisible-text overlays. - Sets properties of allout-overlay-category, used by - allout-flag-region to set invisible-text overlay properties. - (allout-get-invisibility-overlay): Get the first qualifying - invisibility overlay, so we can find the extent of it. - (allout-back-to-visible-text): Get to just before the beginnining - of the current invisibility overlay, if any. - - (allout-overlay-insert-in-front-handler) - (allout-overlay-interior-modification-handler) - (allout-before-change-handler, allout-isearch-end-handler): New - functions to handle extraordinary actions affecting concealed - text. - - (allout-flag-region): Use overlays instead of selective-display - for invisible text - by inheritence from the properties of - allout-overlay-category in mainline Emacs, and applied - property-by-property in XEmacs, some recent versions of which - don't inherit the properties from the category. Provisions to - respond to concealed-text edits simplified drastically. - - (allout-isearch-rectification, allout-isearch-was-font-lock) - (allout-isearch-expose, allout-enwrap-isearch) - (allout-isearch-abort, allout-pre-was-isearching) - (allout-isearch-prior-pos, allout-isearch-did-quit) - (allout-isearch-dynamic-expose) - (allout-hide-current-entry-completely): Functions deleted. - - (allout-undo-aggregation): Explicit undo aggregation no longer - necessary due to transition away from selective-display. - - (set-allout-regexp, allout-up-current-level) - (allout-next-visible-heading, allout-forward-current-level) - (allout-open-topic, allout-reindent-body, allout-rebullet-topic) - (allout-kill-line, allout-yank-processing, allout-show-children) - (allout-expose-topic, allout-old-expose-topic) - (allout-listify-exposed, allout-insert-latex-header) - (allout-toggle-subtree-encryption, allout-encrypt-string) - (remove-from-invisibility-spec, allout-hide-current-subtree): - Ditched unused variables. - -2006-02-17 Agustin Martin - - * textmodes/ispell.el (ispell-change-dictionary): Call - ispell-buffer-local-dict instead of - ispell-accept-buffer-local-defs. - (ispell-local-dictionary-alist): Accept as valid any coding-system - supported by Emacs. - (ispell-dictionary-alist-3): Esperanto dictionary's coding system - changed to iso-8859-3. - -2006-02-17 Nick Roberts - - * speedbar.el (speedbar-frame-width): Make an inline function - instead of a macro. Use frame-width. - (speedbar-try-completion, speedbar-update-contents) - (speedbar-timer-fn): Use consp. - (speedbar-update-localized-contents): Try to preserve point. - - * progmodes/gdb-ui.el (gdba, gdb-var-list): Improve doc strings. - (menu): Re-order menu items. - (gdb-var-update-regexp, gdb-var-update-regexp-1): Match "in_scope" - field. - (gdb-var-update-handler-1): Use it for GDB 6.4+. - (gdb-post-prompt): Speed things by not forcing update. - -2006-02-16 Chong Yidong - - * wid-edit.el (widget-button-click): For mouse-1, cancel button - press and perform default action if we get a mouse movement event. - -2006-02-16 Juanma Barranquero - - * calendar/icalendar.el (icalendar--get-event-property) - (icalendar--get-event-property-attributes): Fix typos in - docstrings. - - * progmodes/flymake.el (flymake-fix-file-name): Fix typo in - docstring. - -2006-02-15 Juanma Barranquero - - * bs.el (bs-mode): Use `buffer-disable-undo'. - (bs--get-file-name): Simplify. - (bs-show-in-buffer): Mark the buffer as not modified. - -2006-02-14 Chong Yidong - - * wid-edit.el (widget-keymap): Bind down-mouse-1 to - widget-button-click. - - * cus-edit.el (custom-mode-map): Remove mouse-1 binding. - (custom-mode): Update docstring. - - * cus-theme.el (custom-new-theme-mode-map): Remove mouse-1 - binding. - - * files.el (hack-local-variables-confirm): Allow scrolling if the - file variable list is too long. Kill temp buffer after use. - -2006-02-15 Nick Roberts - - * progmodes/gud.el (gdb): Improve doc string. - (gdb-script-font-lock-keywords): Expand allowed character set. - - * progmodes/gdb-ui.el (gdb-use-separate-io-buffer) - (gdb-display-separate-io-buffer, gdb-frame-separate-io-buffer) - (gdb-separate-io-interrupt, gdb-separate-io-quit) - (gdb-separate-io-stop, gdb-separate-io-eof): - Rename from gdb-inferior-* to gdb-separate-*. - (gdb-set-gud-minor-mode-existing-buffers-1): Improve doc string. - -2006-02-14 Jay Belanger - - * calc/calc-arith.el (math-check-known-scalarp): Make sure - expression is a symbol before checking that it is bound. - - * calc/calcalg2.el (math-integrate-by-parts): Do a more careful - test to see if equation can be solved. - -2006-02-14 Chong Yidong - - * wid-edit.el (widget-button-click): Use :pressed-face property - for overlay face, if it exists. - - * cus-edit.el (custom-manual, custom-add-see-also) - (custom-add-parent-links, custom-group-link): Add :pressed-face - property to links. - - * files.el (hack-local-variables): Remove ignored variables before - checking if any variables need setting. - -2006-02-14 Jan Dj,Ad(Brv - - * cus-start.el (all): Add x-gtk-whole-detached-tool-bar. - -2006-02-14 Juanma Barranquero - - * help.el (where-is): Fix message for remapped commands. - - * mwheel.el (mouse-wheel-click-event, mouse-wheel-mode): - Fix typos in docstrings. - -2006-02-13 Chong Yidong - - * files.el (safe-local-variable-values): New option. - (hack-local-variables-prop-line): Return a list of variable-value - pairs if MODE-ONLY is non-nil. - (hack-local-variables): Construct list of variable-value pairs, - and apply or reject them in one go. Ask for confirmation if - variables are not known safe. - (hack-local-variables-confirm): Complete rewrite. Support - `safe-local-variable-values'. - (enable-local-variables): Update docstring to reflect new - behavior. - (ignored-local-variables): Ignore ignored-local-variables and - safe-local-variable-values. - (safe-local-variable-p): New function. - (risky-local-variable-p): `safe-local-variable' property check - moved to safe-local-variable-p. - (hack-one-local-variable): Checks moved to hack-local-variables. - - (byte-compile-dynamic, c-basic-offset, c-file-style) - (c-indent-level, comment-column, fill-column, fill-prefix) - (indent-tabs-mode, kept-new-versions, no-byte-compile) - (no-update-autoloads, outline-regexp, page-delimiter) - (paragraph-start, paragraph-separate, sentence-end) - (sentence-end-double-space tab-width, version-control): - Add `safe-local-variable' property. - - * find-lisp.el: Delete nonexistent `autocompile' file variable. - - * icomplete.el, play/landmark.el: Change nonexistent - `outline-layout' file variable to `allout-layout'. - -2006-02-14 Nick Roberts - - * progmodes/gdb-ui.el (gud-watch, gdb-invalidate-registers-1) - (gdb-get-changed-registers): Test value of gud-minor-mode relative - to gud-comint-buffer. - (gdb-speedbar-expand-node, gdb-locals-mode): Use functions in - gdb-ui.el for gdb-mi.el. - (gdb-post-prompt, gdb-get-changed-registers): Move test for - registers buffer to gdb-get-changed-registers. - (gdb-breakpoint-regexp): New regexp. Allow toggling and - deletion of catchpoints (throw and catch). - (gdb-toggle-breakpoint, gdb-delete-breakpoint) - (gdb-goto-breakpoint): Use it for both gdb-ui and gdb-mi. - (gdb-find-file-hook, gdb-set-gud-minor-mode-existing-buffers-1) - (gdb-var-list-children-1, gdb-info-breakpoints-custom) - (gdb-var-update-1, gdb-invalidate-locals-1): Use also for gdb-mi. - -2006-02-13 Jay Belanger - - * calc/calc-arith.el (math-check-known-matrixp): Make sure - expression is a symbol before checking that it is bound. - -2006-02-13 Richard M. Stallman - - * mouse.el (mouse-drag-mode-line-1): Use mouse-drag-move-window-bottom - for the minibuffer too, but not if resize-mini-windows will interfere. - - * help.el (describe-key-briefly, describe-key): Do all arg-reading - inside `interactive' spec. - (describe-key-briefly-internal, describe-key-internal): - Functions merged back into their callers. - -2006-02-13 Martin Rudalics - - * info.el (info-xref-visited): Inherit from info-xref too. - (Info-set-mode-line): Replace occurrences of `%' by `%%' - when propertizing Info-current-file and Info-current-node. - -2006-02-13 Juri Linkov - - * tumme.el (tumme-thumbnail-storage): Fix docstring. - (tumme-thumb-name): Fix per-directory format. - -2006-02-13 Juanma Barranquero - - * subr.el (substitute-key-definition): Doc fix (hide internal arg). - -2006-02-12 Miles Bader - - * net/rcirc.el (rcirc-format-response-string): Fix small bugs. - -2006-02-13 Mathias Dahl - - * tumme.el: Remove history section. If someone needs the it, it - can always be found in CVS. - -2006-02-12 Mathias Dahl - - * tumme.el (tumme-thumbnail-storage): Update docstring. Add info - about the Thumbnail Managing Standard option. - -2006-02-12 Richard M. Stallman - - * subr.el (substitute-key-definition): Doc fix. - - * simple.el (blink-matching-paren-dont-ignore-comments): Doc fix. - - * files.el (magic-mode-alist): Don't use `\\s ' in regexps. - - * info.el (Info-mode): Doc fix. - - * progmodes/ebrowse.el (ebrowse-global-prefix-key): Change to C-c C-m. - -2006-02-12 Michael Albinus - - * net/tramp.el (tramp-remote-path): Add "/usr/xpg4/bin" on top, - because on Solaris a POSIX compatible "id" is needed. Reported by - Magnus Henoch . - -2006-02-12 Juri Linkov - - * tumme.el: Remove todo item about Thumbnail Managing Standard. - (tumme) : Change :group to `multimedia'. - (tumme-thumbnail-storage): Add choice `standard' for Thumbnail - Managing Standard. - (tumme-cmd-create-thumbnail-options): Use %w and %h instead of %s. - Fix dostring. - (tumme-cmd-create-temp-image-options): Use %w and %h instead of %x - and %y. Fix docstring. - (tumme-cmd-pngnq-program, tumme-cmd-pngcrush-program) - (tumme-cmd-create-standard-thumbnail-command): New user options. - (tumme-thumb-size): Set default to 128 if tumme-thumbnail-storage - is `standard'. Fix docstring. - (tumme-thumb-width, tumme-thumb-height): New user options. - (tumme-external-viewer): Try to find various viewers. - (tumme-get-thumbnail-image): Use `create-image' instead of - constructing the `image' structure. - (tumme-insert-thumbnail): Use `png' if tumme-thumbnail-storage is - `standard'. - (tumme-thumb-name): Add file name generation for standard storage. - Simplify code for other storages. - (tumme-thumb-name): Use width %w and height %h instead of size %s. - Add modification time %m and thumbnail-nq8 %q. - Use `tumme-cmd-create-standard-thumbnail-command' if - tumme-thumbnail-storage is `standard'. - (tumme-dired-insert-marked-thumbs): New autoload command. - (tumme-dired-after-readin-hook): New function. - (tumme-line-up-dynamic): Use `tumme-thumb-width' instead of - `tumme-thumb-size'. - (tumme-display-image): Replace size-x %x and size-y %y with - width %w and height %h. - - * dired.el (dired-mode-map): Bind `\C-t\C-t' to - `tumme-dired-insert-marked-thumbs'. - -2006-02-12 Mathias Dahl - - * tumme.el (tumme-write-tag): Fix small bug (file name did not - include path). - (tumme-mark-tagged-files): Fix bug in regexp used to find rows - matching tag. - -2006-02-12 Miles Bader - - * net/rcirc.el (rcirc-nick-abbrevs, rcirc-response-formats): - New variables. - (rcirc-abbrev-nick): New function. - (rcirc-format-response-string): Rewrite to use the formats in - `rcirc-response-formats' and expand escape sequences therein. - A text-property `rcirc-text' is added over the actual response - text to make easy to find inside the returned string. - (rcirc-print): When filling, just look for the `rcirc-text' - text-property to find the appropriate fill prefix, instead of - using hardwired patterns. - -2006-02-11 Mathias Dahl - - * tumme.el: Enhance some docstrings. Add todo item about Thumbnail - Managing Standard. - -2006-02-11 Kim F. Storm - - * ido.el (ido-buffer-internal): Set mark for ido-insert-buffer. - Don't use insert-buffer; do insert-buffer-substring directly. - (ido-file-internal): Set mark for ido-insert-file. Use insert-file-1. - -2006-02-11 Martin Rudalics - - * files.el (revert-buffer, recover-file): Replace buffer-read-only - with inhibit-read-only. Suggested by Stefan Monnier. - (revert-buffer): Let insert-file-contents discard - buffer-undo-list. Simplify code. - (find-file, find-file-existing, revert-buffer): Doc-string fixes. - -2006-02-11 Eli Zaretskii - - * menu-bar.el (menu-bar-select-yank): Add a doc string. - - * help.el (describe-key-briefly): Now a wrapper for - describe-key-briefly-internal. Bind enable-disabled-menus-and-buttons - to t. Populate yank-menu if empty. - (describe-key-briefly-internal): Renamed from describe-key-briefly. - (describe-key): Now a wrapper for describe-key-internal. Bind - enable-disabled-menus-and-buttons to t. Populate yank-menu if empty. - (describe-key-internal): Renamed from describe-key. - -2006-02-11 Milan Zamazal - - * progmodes/glasses.el (glasses-separator): Doc fix. - (glasses-original-separator): New defcustom. - (glasses-make-readable, glasses-convert-to-unreadable): Use it. - -2006-02-11 Martin Rudalics - - * mwheel.el (mouse-wheel-up-event): Doc fix. - -2006-02-11 Mathias Dahl - - * tumme.el (tumme-dir): Change default value to "~/.emacs.d/tumme/". - (tumme-dir): New function. Copied from thumbs.el. - -2006-02-10 Juanma Barranquero - - * desktop.el (desktop-outvar): Fix typo. - (desktop-save-buffer-p): Doc fix. - - * subr.el (substitute-key-definition): Fix typo. - -2006-02-10 YAMAMOTO Mitsuharu - - * frame.el (select-frame-set-input-focus): Call x-focus-frame also - when window-system is mac. - - * term/mac-win.el (fontset-standard): Rename from "fontset-mac". - -2006-02-10 Kim F. Storm - - * subr.el (substitute-key-definition-key): Pass t for NOERROR to - indirect-function instead of using condition-case. - -2006-02-10 Mathias Dahl - - * tumme.el (tumme-copy-with-exif-file-name): Try to make docstring - less `colloquial'... - -2006-02-09 Mathias Dahl - - * tumme.el: Add a couple of todo items. - -2006-02-09 Lars Hansen - - * hilit-chg.el: Add highlight-changes-mode to desktop-locals-to-save. - (highlight-changes-mode): Don't change desktop-locals-to-save. - -2006-02-09 Chong Yidong - - * image-mode.el (image-toggle-display): Clear image cache if using - filename. - -2006-02-09 Masatake YAMATO - - * dired-x.el (dired-guess-shell-alist-default): Add .man as - a `dired-man' target. - - * progmodes/autoconf.el (autoconf-font-lock-keywords): Check start - boundary of symbols. - -2006-02-08 Peter Doornbosch (tiny change) - - * vc-svn.el (vc-svn-print-log): Show recent commits as well. - -2006-02-09 Juanma Barranquero - - * hilit-chg.el (hilit-chg-update-all-buffers): Use `mapc' instead of - `mapcar'; return nil. - -2006-02-08 Chong Yidong - - * mouse.el (mouse-drag-track): Don't change window if we rebind to - some other event. - -2006-02-08 Ryan Yeske - - * net/rcirc.el (rcirc-startup-channels-alist): - Add irc.freenode.net and #emacs as defaults. - (rcirc-ignore-all-activity-flag): Remove variable. - (rcirc-authinfo): New variable. - (rcirc-authinfo-filename): Remove variable. - (rcirc-always-use-server-buffer-flag): New flag. - (rcirc): M-x rcirc will automatically connect without prompting. - C-u M-x rcirc will prompt. Use rcirc-connect to create a - connection in lisp. - (rcirc-process-server-response-1): Remove everything but the nick - portion of the sender so it doesn't need to be done everywhere - else. Update related code. - (global-map): Remove global keybindings. - (rcirc-get-buffer-create): Make sure rcirc-topic is set. - (rcirc-send-input): Split into several functions. - (rcirc-process-input-line, rcirc-process-message) - (rcirc-process-command): New functions. - (rcirc-target-buffer): New function to determine where to route - messages. - (rcirc-user-nick): Save match data. - (rcirc-toggle-ignore-buffer-activity) - (rcirc-update-activity-string): Remove global ignore functionality, - which can be done now by toggling rcirc-track-minor-mode. - (rcirc-track-minor-mode-map): New keymap. - (rcirc-track-minor-mode): New minor-mode. - (ignore): Make the ignore output nicer. Always print it when - adding or removing nicks. - (rcirc-url-regexp): Improve. - (rcirc-mangle-text): Remove properties before using text in the - modeline. - (rcirc-authenticate): Authentication data comes from - rcirc-authinfo, not the file pointed to by rcirc-authinfo-file. - (rcirc-server-prefix): Inherit from rcirc-server. - -2006-02-08 Mathias Megyei (tiny change) - - * Makefile.in (compile): Append "|| true" to the end of the `find' - command, like compile-always does. - -2006-02-08 Sam Steingold - - * net/tramp.el (tramp-maybe-open-connection): Do not wait for - output from a dead connection. - -2006-02-07 Mathias Dahl - - * dired.el (dired-mode-map): Add more bindings for tumme. - -2006-02-07 Stefan Monnier - - * wdired.el (wdired-mode-map): Use remap. - (wdired-get-filename): Massage. - (wdired-perm-mode-map): Don't copy bindings from wdired-mode-map. - (wdired-preprocess-perms, wdired-set-bit, wdired-toggle-bit): Use the - `keymap' property rather than `local-map'. - -2006-02-07 Mathias Dahl - - * tumme.el (tumme-get-thumbnail-image): New utility function. - Suggested by from Chong Yidong. - (tumme-dired-with-window-configuration): Rename from - `tumme-dired'. Add code to save window configuration. - (tumme-restore-window-configuration): New command to restore the - window configuration that `tumme-dired-with-window-configuration' - saves before it changes the window configuration. - (tumme-show-all-from-dir): New command to display thumbnails for - all files in a directory entered by the user, like M-x thumbs. - (tumme-display-thumbs): Call `pop-to-buffer' after all thumbnails - have been created. - (tumme-display-thumbnail-original-image): Call `display-buffer'. - (obsolete-tumme-display-thumbnail-original-image-and-buffer): - Remove obsolete test function. - -2006-02-07 Juanma Barranquero - - * vc.el (small-temporary-file-directory): Remove defvar; there's - a defcustom for it in files.el. - - * tumme.el (tumme-get-thumbnail-image): Add missing arg to `error'. - Fix typo in message. - (tumme-gallery-generate): Fix typo in `error' message. - (tumme-display-window-height-correction) - (tumme-display-window-width-correction, tumme-line-up-dynamic) - (tumme-line-up-interactive): Dox fixes. - (tumme-cmd-rotate-original-options, tumme-display-properties-format) - (tumme-restore-window-configuration, tumme-format-properties-string) - (tumme-create-thumbs, tumme-display-previous-thumbnail-original): - Fix typos in docstrings. - -2006-02-07 Chris Moore - - * wdired.el (wdired-get-filename): Fix bug: Don't re-normalize OLD. - -2006-02-07 Nick Roberts - - * progmodes/gud.el (gud-tooltip-mode): Remove autoload cookie. - User should use hook if desired. - - * progmodes/gdb-ui.el (gdb-post-prompt): Regenerate breakpoints - buffer if necessary. - (gdb-delete-frame-or-window): New function. - (gdb-breakpoints-mode-map): Bind "q" to it. - -2006-02-06 Stefan Monnier - - * textmodes/nroff-mode.el: Clean up name space. - (nroff-mode-syntax-table): Remove spurious `1' in the syntax of \n. - (nroff-mode): Obey the global setting of nroff-electric-mode. - (nroff-electric-mode): Use define-minor-mode and derived-mode-p. - - * calendar/calendar.el (calendar-increment-month): Typo in last change. - -2006-02-06 Thien-Thi Nguyen - - * vc-svn.el (vc-svn-previous-version, vc-svn-next-version): New funcs. - -2006-02-06 Lars Hansen - - * generic-x.el (etc-fstab-generic-mode): Add file system types - cifs and usbdevfs. Allow special chars in file names. - -2006-02-05 Jay Belanger - - Update copyright notices of the files in lisp/calc. - -2006-02-05 Romain Francoise - - Update copyright notices of all files in the lisp/play directory. - -2006-02-04 Luc Teirlinck - - * ldefs-boot.el: Regenerate. - - * emacs-lisp/find-func.el (find-definition-noselect): Minor doc fix. - -2006-02-05 Kim F. Storm - - * files.el (magic-mode-regexp-match-limit): New defvar. - (set-auto-mode): Use it to limit magic-mode-alist matching. - -2006-02-04 Eli Zaretskii - - * info.el (Info-index, Info-mode): Improve the description of the - `i' command. - - * ldefs-boot.el: Regenerate. - -2006-02-03 Werner Lemberg - - * textmodes/nroff-mode.el (nroff-font-lock-keywords): Don't be - greedy to find the closing bracket in \*[...] and similar - expressions. This is a first rough fix -- many additional - refinements are necessary to make nroff mode really usable with groff. - -2006-02-03 Jens Petersen (tiny change) - - * international/mule-cmds.el (set-locale-environment): - Add "/usr/share/X11/locale/locale.alias" to search list for xorg-x11 - libX11. - -2006-02-03 Joe Wells (tiny change) - - * arc-mode.el (archive-maybe-copy): Fix the way directories in the - archive are created in archive-tmpdir. - -2006-02-02 John Paul Wallington - - * ibuffer.el (ibuffer-compressed-file-name-regexp): New defcustom. - (ibuffer-fontification-alist): Use it. - (ibuffer-mode-map): Bind `ibuffer-mark-compressed-file-buffers' - to "* z" and the Ibuffer Mark menu. - - * ibuf-ext.el (ibuffer-mark-compressed-file-buffers): New command. - -2006-02-02 Stefan Monnier - - * textmodes/table.el (*table--cell-describe-mode) - (*table--cell-describe-bindings): Undo last change since - print-help-return-message is not obsoleted by anything at all. - -2006-02-02 Luc Teirlinck - - * emulation/cua-base.el (cua-mode): Doc fix. - -2006-02-02 Juanma Barranquero - - * dframe.el (dframe-handle-make-frame-visible) - (dframe-handle-iconify-frame, dframe-get-focus) - (dframe-select-attached-frame, dframe-power-click) - (dframe-frame-mode): Fix typos in docstrings. - - * ezimage.el (ezimage-mail, ezimage-object-out-of-date) - (ezimage-insert-image-button-maybe, ezimage-insert-over-text): - Fix typos in docstrings. - - * hi-lock.el (hi-lock-mode, hi-lock-line-face-buffer) - (hi-lock-face-buffer, hi-lock-font-lock-hook) - (hi-lock-archaic-interface-message-used) - (hi-lock-file-patterns-range): Fix typos in docstrings. - - * savehist.el (savehist-loaded, savehist-load, savehist-install) - (savehist-autosave, savehist-trim-history): Fix typos in docstrings. - - * mail/mailclient.el (mailclient-place-body-on-clipboard-flag): - Fix typo in docstring. - - * net/newsticker.el (newsticker--decode-iso8601-date) - (newsticker--set-customvar, newsticker--buffer-insert-item) - (newsticker--do-run-auto-mark-filter) - (newsticker--parse-generic-feed): Doc fixes. - (newsticker--retrieval-timer-list, newsticker-url-list) - (newsticker-hide-immortal-items-in-echo-area) - (newsticker-hide-obsolete-items-in-echo-area) - (newsticker-new-item-face, newsticker--enclosure) - (newsticker-buffer-update, newsticker-w3m-show-inline-images) - (newsticker--parse-atom-0.3, newsticker--parse-rss-1.0) - (newsticker--parse-generic-feed, newsticker--cache-contains) - (newsticker--stat-num-items, newsticker-download-enclosures): - Fix typos in docstrings. - - * net/rcirc.el (rcirc-debug): Doc fix. - (rcirc-fill-column, rcirc-receive-message-hooks) - (rcirc-browse-url-map, rcirc-read-only-flag, rcirc-prompt) - (rcirc-mode, rcirc-generate-new-buffer-name) - (rcirc-startup-channels, rcirc-ignore-update-automatic) - (rcirc-cmd-ignore, rcirc-browse-url, rcirc-url-regexp): - Fix typos in docstrings. - (rcirc-print): "?\ " -> "?\s". - (rcirc-cmd-join): Improve argument/docstring consistency. - -2006-02-01 Mark A. Hershberger - - * xml.el (xml-parse-region): Move save-excursion and set-buffer up - before narrow-to-region. - -2006-02-01 Richard M. Stallman - - * simple.el (move-beginning-of-line): Scan properly for invis change. - - * replace.el (multi-occur-in-matching-buffers): Fix prev change. - -2006-02-01 Michael Albinus - - * net/tramp.el (tramp-convert-file-attributes): Set file's gid - change bit only when id-format is 'integer. Reported by Matt - Hodges . - -2006-02-01 Juanma Barranquero - - * hilit-chg.el (highlight-changes-initial-state) - (highlight-changes-global-initial-state): Doc fixes. - (highlight-changes-global-modes, global-highlight-changes): - Fix typos in docstrings. - -2006-02-01 Kim F. Storm - - * emulation/cua-base.el (cua-mode): Mention that CUA enables - transient-mark-mode in doc string. - -2006-01-31 Richard M. Stallman - - * replace.el (multi-occur): Doc fix. - (multi-occur-in-matching-buffers): Rename from - multi-occur-by-filename-regexp. Prefix arg says match - buffer names instead of file names. - -2006-01-31 Juanma Barranquero - - * bs.el: Allow non-default values of `bs-header-lines-length'. - (bs--running-in-xemacs): Remove (not needed anymore). - (bs--set-window-height): Simplify by using `fit-window-to-buffer' - instead of `shrink-window', thus avoiding having to compute the - height of the window. - (bs--up): Wrap around even when there's no header. - (bs--down): Use `forward-line' instead of `next-line'. - -2006-01-30 Chong Yidong - - * image-mode.el (image-toggle-display): Use file name if possible, - instead of unnecessarily allocating a (possibly huge) lisp string. - -2006-01-30 John Paul Wallington - - * subr.el (toplevel): Define `cl-assertion-failed' condition here - because the `assert' macro signals it at runtime. - - * emacs-lisp/cl.el (toplevel): Remove definition of - `cl-assertion-failed' condition. - -2006-01-30 Nick Roberts - - * thumbs.el (thumbs-marked-list): Make buffer-local and - permanent-local. - (thumbs-insert-thumb): Make help-echo non-sticky. - (thumbs-file-alist): Use eolp as check for (non)-image. - -2006-01-30 Juanma Barranquero - - * ediff-mult.el (ediff-meta-buffer-keymap-setup-hook) - (ediff-before-session-group-setup-hooks) - (ediff-default-filtering-regexp, ediff-meta-mark-equal-files): - Fix typos in docstrings. - - * window.el (bw-dir, bw-eqdir, balance-windows) - (split-window-keep-point): Fix typos in docstrings. - - * textmodes/org.el (org-allow-space-in-links, org-closed-string) - (org-quote-string, org-calendar-to-agenda-key) - (org-agenda-sorting-strategy, org-agenda-use-time-grid) - (org-show-following-heading, org-tags-column) - (org-use-tag-inheritance, org, org-allow-space-in-links) - (org-usenet-links-prefer-google, org-file-apps-defaults-gnu) - (org-enable-table-editor, org-calc-default-modes) - (org-table-allow-automatic-line-recalculation) - (org-export-html-style, org-export-with-fixed-width) - (org-export-with-sub-superscripts, org-special-keyword) - (org-formula, org-time-grid, org-table-may-need-update) - (org-mode, org-goto-ret, org-goto-left, org-goto-right) - (org-goto-quit, org-get-indentation, org-end-of-item) - (org-move-item-down, org-move-item-up) - (org-renumber-ordered-list, org-todo, org-log-done, org-occur) - (org-remove-occur-highlights, org-read-date, org-goto-calendar) - (org-agenda, org-agenda-day-view, org-agenda-previous-date-line) - (org-agenda-log-mode, org-agenda-toggle-diary) - (org-agenda-toggle-time-grid, org-agenda-cleanup-fancy-diary) - (org-agenda-file-to-end, org-agenda-no-heading-message) - (org-agenda-get-closed, org-format-agenda-item) - (org-cmp-priority, org-cmp-category, org-cmp-time) - (org-agenda-change-all-lines, org-agenda-diary-entry) - (org-scan-tags, org-after-todo-state-change-hook, org-tags-view) - (org-link-search, org-camel-to-words, org-open-file) - (org-remember-handler, org-table-convert-region) - (org-table-move-row-down, org-table-move-row-up) - (org-table-copy-region, org-table-wrap-region) - (org-table-toggle-vline-visibility) - (org-table-get-vertical-vector, org-table-modify-formulas) - (org-table-get-specials, org-recalc-commands) - (org-table-rotate-recalc-marks, org-table-eval-formula) - (orgtbl-make-binding, org-in-invisibility-spec-p, org-cycle) - (org-level-color-stars-only, org-insert-heading): - Fix typos in docstrings. - (last-arg): Add defvar. - - * makefile.w32-in (WINS): Add erc. - (MH_E_SRC): Update (copied from lisp/Makefile.in). - -2006-01-29 Bill Wohler - - * Makefile.in (MH_E_SRC): Add mh-compat.el, mh-folder.el, - mh-letter.el, mh-limit.el, mh-scan.el, mh-show.el, mh-thread.el, - mh-tool-bar.el, mh-xface.el. Remove mh-customize.el, mh-init.el. - (mh-autoloads): Don't use comments on otherwise empty lines. - -2006-01-29 Edward O'Connor - - * emulation/viper.el (viper-major-mode-modifier-list): - Add insert-state and vi-state entries for erc-mode. - (viper-go-away, viper-set-hooks): Add and remove - viper-comint-mode-hook from erc-mode-hook as appropriate. - - * emulation/viper.el (viper-insert-state-mode-list): Add erc-mode. - -2006-01-29 Juanma Barranquero - - * bs.el (bs--format-aux): Implement `middle' alignment as - described in the docstring for `bs-attributes-list'. - (bs--get-name): Simplify. Don't pad the buffer name. - -2006-01-27 Agustin Martin - - * textmodes/ispell.el (ispell-find-aspell-dictionaries): If no - English aspell dictionary is installed, use the first entry of - ispell-dictionary-alist-1. - -2006-01-27 Kevin Rodgers (tiny change) - - * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate): - Doc fix. - -2006-01-27 Michael Albinus - - * net/tramp-vc.el (vc-user-login-name): Wrap defadvice with a test - for `process-file', in order to let it work for older Emacsen too. - -2006-01-27 Eli Zaretskii - - * international/latexenc.el: Add a suitable `coding:' tag. - (latexenc-find-file-coding-system): Undo last change. - -2006-01-27 Arne J,Ax(Brgensen - - * international/latexenc.el (latexenc-find-file-coding-system): - Make sure latexenc-main-file is a regular file and is readable. - -2006-01-27 Andre Spiegel - - * vc-rcs.el (vc-rcs-fetch-master-state, vc-rcs-consult-headers): - Pass FILE to vc-user-login-name. - - * vc-sccs.el (vc-sccs-state): Pass FILE to vc-user-login-name. - -2006-01-27 Nick Roberts - - * thumbs.el (thumbs-do-thumbs-insertion): Suppress message when - there are no more images to display. - (thumbs-mark, thumbs-unmark): Revert change so that they move to - the next image. - -2006-01-26 Richard M. Stallman - - * cus-edit.el (custom-mode): Doc: Use advertised-widget-backward. - - * wid-edit.el (advertised-widget-backward): New alias. - (widget-keymap): Use advertised-widget-backward for S-TAB. - - * tumme.el: Correct the keywords. - (tumme-dir-max-size): Use defvar. - (tumme-setup-dired-keybindings, tumme-dired): Add autoload cookie. - - * simple.el (move-beginning-of-line): Take account of fields. - (clone-indirect-buffer-other-window): Take args like - clone-indirect-buffer, and work like it. - - * help-fns.el (describe-function): Don't pass `nil' as default. - - * files.el (risky-local-variable-p): Follow var aliases. - - * subr.el (lazy-completion-table): Doc fix. - - * mail/rmailsum.el (rmail-make-summary-line-1): Don't set - global binding of `line'. - -2006-01-25 Andre Spiegel - - * vc-hooks.el (vc-user-login-name): Rewritten to handle access via - Tramp. - - * vc.el (vc-default-dired-state-info): Pass FILE to - vc-user-login-name. - (vc-default-update-changelog): Don't use vc-user-login-name, we - don't need it here. - - * net/tramp-vc.el (vc-user-login-name): Comment out defadvice, it is - no longer necessary. - -2006-01-25 Kenichi Handa - - * international/mule.el (decode-char): Avoid the overhead of - calling utf-lookup-subst-table-for-decode if - utf-translate-cjk-mode is nil. - (encode-char): Avoid the overhead of calling - utf-lookup-subst-table-for-encode if utf-translate-cjk-mode is - nil. - -2006-01-22 Kenichi Handa - - * international/mule.el (make-subsidiary-coding-system): Reset - `coding-system-define-form' property of subsidiaries to nil. - Avoid duplicated entry in coding-system-alist. - (make-coding-system): Avoid duplicated entry in - coding-system-alist. - (define-coding-system-alias): Likewise. - -2006-01-24 Luc Teirlinck - - * completion.el: Minor fixes in introductory comment. - (completion-def-wrapper): Fix alist. - -2006-01-25 Nick Roberts - - * thumbs.el (thumbs-new-image-size): New function. - (thumbs-increment-image-size-element) - (thumbs-decrement-image-size-element, thumbs-increment-image-size) - (thumbs-decrement-image-size): Delete. - (thumbs-resize-image-1): Rename from thumbs-resize-image. Keep old - temp files and use to resize. - (thumbs-resize-image): Rename from thumbs-resize-image-interactive. - Use increment argument to enlarge/shrink. Preserve point. - (thumbs-shrink-image): Rename from thumbs-resize-image-size-down. - (thumbs-enlarge-image): Rename from thumbs-resize-image-size-up - (thumbs-show-thumbs-list): Set thumbs-buffer to current-buffer. - (thumbs-mark, thumbs-unmark): Preserve point. - (thumbs-modify-image): Keep old temp files and use to modify. - Cleanup old temp files at load time. Preserve point. - (thumbs-view-image-mode-map): Use new command names. - -2006-01-24 Stefan Monnier - - * log-view.el (log-view-minor-wrap): First rev is the one at point. - - * calendar/cal-menu.el: Avoid macros from calendar.el so as to break - the nastiest part of the cyclic dependency. - (cal-menu-update): Use dotimes and calendar-increment-month. - - * calendar/calendar.el: Remove unnecessary leading stars in docstrings. - (calendar-week-start-day): Add an :initializer. - (calendar-mode-map): Use suppress-keymap, and command remapping. - (describe-calendar-mode): Setup xref-stack info for the back button. - (calendar-star-date): Insert before delete. - (calendar-set-mode-line): Add file-modified info if applicable. - (calendar-increment-month): New function. - -2006-01-24 Tobias C. Rittweiler (tiny change) - - * font-lock.el (lisp-font-lock-keywords-2): - Recognize "& keywords" only at word boundaries. - -2006-01-24 Nick Roberts - - * thumbs.el (thumbs-extra-images): New variable. Make it buffer-local - and permanent-local. - (thumbs-max-image-number): New variable. - (thumbs-do-thumbs-insertion): Use them. - (thumbs-per-line): Change default to 4. - (thumbs-marked-list): Rename from thumbs-markedL. - (thumbs-cleanup-thumbsdir, thumbs-delete-images) - (thumbs-rename-images): Use -list instead of L for internal variables. - (thumbs-call-convert): Use call-process instead of shell-command. - (thumbs-insert-thumb): Add filename as help-echo to each image. - (thumbs-show-from-dir): Rename from thumbs-show-all-from-dir. - Give dir to thumbs-show-thumbs-list. - (thumbs-show-thumbs-list): Set default-directory to that of images. - (thumbs-dired-show): Rename from thumbs-dired-show-all. - (thumbs-display-thumbs-buffer, thumbs-show-more-images): New functions. - (thumbs-mode-map): Bind "+" to thumbs-show-more-images. - (thumbs-view-image-mode-map): Bind "^" to thumbs-display-thumbs-buffer. - -2006-01-23 Stefan Monnier - - * ses.el (ses-read-cell): Provide a default value. - -2006-01-23 Juanma Barranquero - - * term/w32-win.el (image-library-alist): Add additional names for - GIF library. - -2006-01-23 Arne J,Ax(Brgensen - - * international/latexenc.el (latexenc-find-file-coding-system): - Add file-regular-p check. - -2006-01-22 Stefan Monnier - - * simple.el (clone-buffer): Don't show the new buffer in the same - window. - -2006-01-23 Juri Linkov - - * faces.el (link, link-visited): New faces based on default values - of `info-xref' and `info-xref-visited'. - - * info.el (info-xref): Inherit from `link'. - (info-xref-visited): Inherit from `link-visited'. - - * cus-edit.el (custom-buffer-create-internal): Use widget type - `custom-manual' instead of `info-link' and don't set properties - `button-face' and `mouse-face' explicitly. - (custom-browse-group-tag, custom-browse-variable-tag) - (custom-browse-face-tag): Inherit from widget class - `custom-group-link' instead of `push-button'. - (custom-button-unraised): Inherit from `underline' face. - (custom-link): Inherit from `link' face. Fix doc and group. - (custom-add-parent-links, custom-group-value-create): Don't set - properties `button-face' and `mouse-face' explicitly for - `custom-group-link' widget. - (custom-group-link): Add properties `button-face' and `mouse-face' - to widget definition. - (custom-field-keymap): New variable. Put `custom-field-keymap' to - editable-field's :keymap property. - (custom-mode): Fix docstring: substitute keybindings for - `widget-forward' and `widget-backward' from `widget-keymap', - `widget-complete' from `custom-field-keymap', replace old - `Custom-move-and-invoke' with `widget-move-and-invoke'. Untabify. - - * desktop.el (desktop-load-file): Check for `fboundp' before - calling `symbol-function'. - - * simple.el (clone-buffer, clone-indirect-buffer) - (clone-indirect-buffer-other-window): Use `read-buffer' instead of - `read-string'. Fix prompts. - - * play/doctor.el (doctor-mode-map): Rename from `doc-mode-map'. - -2006-01-23 Nick Roberts - - * thumbs.el (thumbs-file-alist): Avoid creating duplicate entries. - -2006-01-22 Luc Teirlinck - - * startup.el (inhibit-splash-screen, initial-scratch-message): - Doc fixes. - -2006-01-22 Michael Albinus - - Sync with Tramp 2.0.52. - - * net/tramp.el, net/tramp-ftp.el, net/tramp-util.el, - * net/tramp-vc.el: Add code for unloading Tramp. See comment before - `tramp-unload-tramp' for checklist. - - * net/tramp.el: Require `timer-funcs' instead of `timer' if in - XEmacs. Contributed by Steve Youngs . - (tramp-unload-file-name-handler-alist) - (tramp-unload-tramp): New defuns. - (tramp-advice-PC-expand-many-files): New defadvice. - (tramp-save-PC-expand-many-files, tramp-setup-complete): Defuns - removed. - (tramp-handle-expand-file-name): Remove double slash. - (tramp-handle-file-attributes-with-ls): Return t as 9th attribute. - It doesn't matter, because it will be converted later on. - (tramp-handle-file-ownership-preserved-p): Rewritten. The old - implementation was just heuristic. - (tramp-post-connection): Set uid and gid properties. - (tramp-convert-file-attributes): Set file's gid change bit. - (tramp-get-remote-uid, tramp-get-remote-gid): New defuns. - (tramp-handle-expand-file-name): Use "~root" for tilde expansion - in case of su(do)? methods. The home directory of the local user - will be taken else. - (tramp-open-connection-telnet) - (tramp-open-connection-rsh, tramp-open-connection-su) - (tramp-open-connection-multi): Set PS1 to "$ ". Otherwise, a - local shell prompt could hurt. Reported by Romain Francoise - . - (tramp-let-maybe): Add `edebug-form-spec' property. - (tramp-handle-expand-file-name): Bind `default-directory' locally - to "/" in order to avoid problems with UNC shares or Cygwin - mounts. - (tramp-md5-function): Fix typo in error message. - - * net/tramp-ftp.el (tramp-ftp-enable-ange-ftp): New defun. - - * net/tramp-util.el (top): Apply `ignore' instead of `identity' - for byte-compiler pacification. - -2006-01-22 Andre Spiegel - - * vc-rcs.el (vc-rcs-state-heuristic): Use file-attributes with - ID-FORMAT `string'. This allows us to get rid of - `vc-user-login-name UID'. - - * vc-sccs.el (vc-sccs-state-heuristic): Likewise. - -2006-01-22 John Paul Wallington - - * hl-line.el (hl-line-highlight, hl-line-move): Doc fixes. - -2006-01-21 Martin Rudalics - - * emacs-lisp/find-func.el (find-definition-noselect) - (find-variable-noselect): Search variables in C source code too. - (find-function-C-source, find-function-noselect, find-function) - (find-function-other-frame, find-variable-noselect, find-variable) - (find-variable-other-frame, find-variable-at-point): - Fix docstrings. - -2006-01-21 Francesco Potort,Al(B - - * mail/rmailout.el (rmail-output): Don't use content-type if it is nil. - -2006-01-21 Agustin Martin - - * textmodes/flyspell.el (flyspell-emacs-popup, flypell-xemacs-popup): - Default to disabling the "Save affix" question. - -2006-01-21 Marien Zwart (tiny change) - - * progmodes/python.el (python-mode) : Pass nil as - the first arg to run-python. - -2006-01-21 Eli Zaretskii - - * startup.el (command-line-1): Handle --no-desktop if desktop.el - is not loaded. - -2006-01-20 Jay Belanger - - * calc/calcalg2.el (calc-sum-rec): Fix the sum when the lower - limit is 0. - - * calc/calc-arith.el (math-add-symb-fancy): Check the length of - the correct variable. - -2006-01-20 Carsten Dominik - - * textmodes/org.el (org-open-at-point): Fixed bug with matching a - link. Fixed buggy argument sequence in call to `org-view-tags'. - (org-compile-prefix-format): Set `org-prefix-has-tag'. - (org-prefix-has-tag): New variable. - (org-format-agenda-item): Remove tags from headline if - appropriate. - (org-agenda-remove-tags-when-in-prefix): New option. - (org-get-tags-at): New function. - -2006-01-20 Nick Roberts - - * thumbs.el (thumbs-buffer): New variable. Make it buffer local. - (thumbs-find-image): Move image name and number from buffer name - to mode name. Set thumbs-buffer. Preserve point so that large - images remain visible. - (thumbs-file-alist): Construct list in thumbs-buffer and reverse - order. - (thumbs-show-image-num): Get image from thumbs-file-alist. Set - mode name. - (thumbs-next-image, thumbs-previous-image): Make them work. - -2006-01-19 Luc Teirlinck - - * cus-edit.el (custom-buffer-create-internal): State in the text above - the whole buffer buttons that they do not operate on hidden items. - (custom-face-menu): Use `custom-face-save' instead of - `custom-face-save-command'. - (custom-face-save-command): Make it an alias for `custom-face-save' - and declare it obsolete. - (custom-face-save): Doc fix. - - * dired.el (dired-no-confirm): Add quote. - (dired-subdir-alist-pre-R): Add quote in - `make-variable-buffer-local' form and remove unbalanced parenthesis. - -2006-01-19 Stefan Monnier - - * textmodes/table.el (table-mode-indicator): Typo in last change. - -2006-01-19 Richard M. Stallman - - * outline.el (hide-leaves): Don't call outline-end-of-heading. - Fixes bug reported in Nov 2005. - - * isearch.el (isearch-forward): Doc fix. - - * dired.el (dired-move-to-filename-regexp): Define as alias. - (dired-no-confirm): Use defcustom. - (dired-subdir-alist-pre-R): Put defvar at top level. - - * battery.el (battery-linux-proc-acpi): Handle "last full capacity". - - * textmodes/bibtex.el (bibtex-strings, bibtex-reference-keys): - Mark as risky. - - * simple.el (set-mark-command): Doc fix. - (clone-indirect-buffer-other-window): - Read arg like clone-indirect-buffer. - (move-beginning-of-line): Skip invisible newlines. - -2006-01-19 Masatake YAMATO - - * progmodes/cpp.el (cpp-edit-load): Make the order of - listed conditions in a base C code buffer and its associate - CPP Edit buffer the same. - -2006-01-19 Kenichi Handa - - * mail/rmail.el (rmail-enable-mime): Docstring fixed. - (rmail-mime-feature): Likewise. - (rmail-require-mime-maybe): Use display-warning to show a warning - message. - - * international/mule.el (auto-coding-regexp-alist-lookup): New fun. - (find-auto-coding): Use auto-coding-regexp-alist-lookup. - -2006-01-18 Stefan Monnier - - * array.el: Move defvars out of eval-when-compile. - (array-make-template): Replace undeclared global var with a local one. - (array-mode): Inline initialization functions. - (array-init-local-variables, array-init-max-row) - (array-init-max-column, array-init-columns-per-line) - (array-init-field-width, array-init-rows-numbered) - (array-init-line-length, array-init-lines-per-row): Remove. - - * play/doctor.el: Move defvars out of eval-when-compile. Use dolist. - (doc-mode-map): Define explicitly. - (doctor-txtype): Use mapc. - - * textmodes/table.el: Move defvars out of eval-when-compile. - Remove harmful code meant to avoid byte-compiler warnings. - (table-fixed-mode-indicator): Remove. Use a more complex mode-line - specification that checks table-fixed-width-mode directly. - (table-recognize-region, table-recognize-cell): - Use restore-buffer-modified-p. - (table-fixed-width-mode): Remove code that refreshes - table-fixed-mode-indicator. - (*table--cell-describe-bindings, *table--cell-describe-mode): - Avoid obsolete name print-help-return-message. - (table--test-cell-list): Don't use replace-regexp from elisp. - (table--point-entered-cell-function, table--point-left-cell-function): - Don't set table-fixed-mode-indicator, use force-mode-line-update. - - * textmodes/org.el: Move defvars out of eval-when-compile. Move code - that was after the end of file. Use buffer-file-name variable. - (org-timestamp-change): Use with-current-buffer. - (org-todo-list): Don't unnecessarily define a new buffer-local var. - (org-agenda-file-to-end, org-agenda-file-to-front): Remove unused arg - `file'. - - * progmodes/fortran.el: Move defvars out of eval-when-compile. - (fortran-break-line): Remove unused var `opoint'. - (fortran-abbrev-start): Obey help-event-list. - -2006-01-18 Jesper Harder - - * mail/smtpmail.el (smtpmail-send-it): Use insert-buffer-substring. - -2006-01-18 Masatake YAMATO - - * progmodes/make-mode.el (makefile-imake-mode): New mode - derived from makefile-mode. - (makefile-imake-mode-syntax-table): New syntax table - derived from makefile-mode-syntax-table. - (makefile-mode): Write about makefile-imake-mode in doc string. - (makefile-mode-map): Bind "\C-c\C-m\C-i" to makefile-imake-mode. - (makefile-imake-font-lock-keywords): New font lock keywords. - - * files.el (auto-mode-alist): Add Imakefile. - -2006-01-17 Agustin Martin - - * textmodes/flyspell.el (ispell-kill-ispell-hook): Add to the hook when - loading the file rather than when turning on flyspell-mode. - -2006-01-16 Luc Teirlinck - - * cus-edit.el (customize-rogue): Minor doc fix. - -2006-01-17 Juri Linkov - - * dired-aux.el (dired-diff): Use dired-dwim-target-directory - instead of the file at the mark as default if the file at the mark - is the same as the file at point or if dired-dwim-target-directory - is not the same as the current directory and the mark is not active. - - * log-view.el (log-view-minor-wrap): Use the same logic to get - revisions as `log-view-diff'. - - * info.el (Info-revert-find-node): Check for Info-current-file - before preserving new-history. - - * man.el (Man-heading-regexp): Add `/'. - - * textmodes/sgml-mode.el: Add `coding: iso-2022-7bit' cookie. - (html-mode): Set `sentence-end-base' instead of `sentence-end'. - -2006-01-16 Juri Linkov - - * faces.el (mode-line-faces): New defgroup. - (mode-line-highlight): Move definition after new defgroup. - (mode-line, mode-line-inactive, mode-line-highlight): - Replace :group `modeline' with `mode-line-faces'. - (mode-line-buffer-id): New face. - (modeline-buffer-id): New face alias. - (vertical-border): Remove :group `modeline'. - - * bindings.el (propertized-buffer-identification): Use face - `mode-line-buffer-id' instead of `Buffer-menu-buffer'. - (mode-line-next-buffer, mode-line-previous-buffer): New functions. - (mode-line-buffer-identification-keymap): For mouse-1 replace - `mode-line-unbury-buffer' with `mode-line-previous-buffer'. - Replace `mode-line-bury-buffer' with `mode-line-next-buffer' for - mouse-3. - - * buff-menu.el (buffer-menu-buffer) : Renamed from - Buffer-menu-buffer. Doc fix. - (Buffer-menu-buffer): Face alias to buffer-menu-buffer. - (list-buffers-noselect): Use `buffer-menu-buffer' face instead of - `Buffer-menu-buffer'. - - * info.el (Info-mode-line-node-keymap): New defvar. - (Info-set-mode-line): Use `stringp' to check Info-current-file. - Propertize Info-current-node with `mode-line-buffer-id' and - `mode-line-highlight' faces and `Info-mode-line-node-keymap'. - - * time.el (display-time-mail-face): Replace :group `faces' with - `mode-line-faces'. - -2006-01-16 Kenichi Handa - - * international/code-pages.el: Add autoload cookies for cp125[0345678]. - - * language/european.el (cp1252): New alias for windows-1252. - - * international/mule.el (autoload-coding-system): Prepare for EOL - variants. - -2006-01-15 Dan Nicolaescu - - * term.el (term-raw-map): Add mapping for insert. - (term-send-insert): New. - (term-mode): Make variables local here instead of doing it in - `term-emulate-terminal'. - (term-emulate-terminal): Delete incorrect optimization for cr+lf. - Scroll reverse needs to take into account the scroll region. - Saving and restoring the cursor should save the color attributes too. - (term-reset-terminal): Reset the scroll region. - (term-handle-ansi-escape): Cursor up and down should take into - account the scroll region. - (term-set-scroll-region): Rename from `term-scroll-region'. - Move to 0,0 after setting the region. - (term-handle-scroll): Handle scroll up. - (term-down): Fix off by one error. - (term-delete-lines): Do not delete outside the scroll region. - (term-insert-lines): Take into account the scroll region. - -2006-01-15 Stefan Monnier - - * textmodes/ispell.el (ispell-internal-change-dictionary) - (ispell-change-dictionary): Undo most of last change of 2006-01-13. - (start, end): Move declaration outside of eval-when-compile. - - * textmodes/flyspell.el (flyspell-kill-ispell-hook): New fun. - (flyspell-mode-on): Use it. - - * textmodes/ispell.el (ispell-kill-ispell): Run new hook - ispell-kill-ispell-hook. - -2006-01-14 Luc Teirlinck - - * cus-edit.el (Custom-set, Custom-save, Custom-reset-current) - (Custom-reset-saved): Do not ask for confirmation in single option - buffers. - -2006-01-13 Richard M. Stallman - - * font-lock.el (lisp-font-lock-keywords-1): Minor rearrangement. - -2006-01-13 Romain Francoise - - * add-log.el (add-change-log-entry, change-log-merge): - Conditionally use `hard-newline'. - -2006-01-13 Martin Rudalics - - * wid-edit.el (widget-field-end): If the overlay is no longer - associated with a buffer, behave as if the overlay didn't exist. - - * cus-edit.el (custom-add-see-also, custom-add-parent-links): - Make sure the links use the `custom-link' face. - -2006-01-13 Stefan Monnier - - * progmodes/ld-script.el (auto-mode-alist): Use \' rather than $. - (ld-script-mode): Don't set indent-line-function since we don't - have one. - -2006-01-13 Carsten Dominik - - * textmodes/org.el (org-open-file): Use mailcap for selecting an - application. - (org-file-apps-defaults-gnu): Use mailcap as the default for - selecting an application on a UNIX system. - (org-agenda-show-tags): New command. - (org-table-insert-hline): Keep cursor in current table line. - (org-table-convert): Offset effect of modifying - `org-table-insert-hline'. - (org-format-agenda-item): New optional argument TAG. - (org-compile-prefix-format): Handle %T format for the tag. - (org-expand-wide-chars): New function. - (org-table-insert-row, org-table-insert-hline): - Use `org-expand-wide-chars'. - (org-open-file): Fix bug in program launch. - (org-get-time-of-day): Fix bug with times before 1am. - (org-agenda-menu): Add tags commands. - -2006-01-13 Agustin Martin - - * textmodes/ispell.el (ispell-init-process): Include the used - dictionary in ispell process start message. - (ispell-internal-change-dictionary): When flyspell-mode is active - and dictionary is changed, make sure ispell process is restarted - and flyspell word cache cleared out for the current buffer. - (ispell-change-dictionary): Make sure flyspell word cache is - cleared out in all buffers with active flyspell mode when - dictionary is globally changed. - Call ispell-internal-change-dictionary after dictionary change. - -2006-01-13 Eli Zaretskii - - * emacs-lisp/bytecomp.el (batch-byte-recompile-directory): Doc fix. - - * makefile.w32-in (MH_E_SRC): Synchronize with Makefile.in. - (pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD): Update Copyright - years. Fix small differences wrt Makefile.in. - (recompile): Use --eval '(batch-byte-recompile-directory 0)', like - Makefile.in does. - -2006-01-12 Bill Wohler - - * Makefile.in (MH_E_SRC): Replace mh-index.el and mh-pick.el with - mh-search.el. - -2006-01-12 Masatake YAMATO - - * progmodes/ld-script.el: Update copyright year. - -2006-01-12 Chong Yidong - - * cus-theme.el (custom-theme-add-variable, custom-theme-add-face): - Don't add widget if setting undefined. - -2006-01-12 John Paul Wallington - - * help-fns.el (describe-variable): Remove newlines from void - variable output. - -2006-01-13 Nick Roberts - - * wdired.el (wdired-mode-map): Add help echo for - wdired-abort-changes. - - * man.el (Man-file-name-regexp): Adjust for a list of files. - -2006-01-12 Masatake YAMATO - - * progmodes/ld-script.el (auto-mode-alist): Support - suffix conventions used in netbsd and eCos. - -2006-01-11 Luc Teirlinck - - * cus-edit.el (custom-reset-menu, custom-buffer-create-internal) - (custom-variable-menu, custom-face-menu, custom-group-menu) - (Custom-mode-menu): Change names of menu items. (As discussed on - emacs-devel.) - (custom-face-menu): Add "Undo Edits" item. - - * startup.el (init-file-user): defcustom -> defvar. - - * tooltip.el (tooltip-mode): Doc fix. - -2006-01-11 Stefan Monnier - - * reveal.el (reveal-post-command): window-buffer signals an error on - dead windows rather than returning nil. - (reveal-open-new-overlays): An overlay might die while we open others. - -2006-01-11 Bill Wohler - - * cus-dep.el (generated-custom-dependencies-file): Fix typo and - phrasing in docstring. - - * Makefile.in (MH_E_SRC): Rename from MH-E-SRC since the dashes - can give some systems gas. Add new file mh-buffers.el. - -2006-01-06 Masatake YAMATO - - * font-lock.el (cpp-font-lock-keywords): Font lock keywords for - C preprocessor forward ported from GNU Emacs 21.2. - - * progmodes/asm-mode.el (asm-font-lock-keywords): - Use `cpp-font-lock-keywords'. - - * progmodes/ld-script.el (ld-script-font-lock-keywords): Ditto. - - * progmodes/ld-script.el (auto-mode-alist): Use \\> instead - of $ for "\\.ld[s]?". - -2006-01-10 Stefan Monnier - - * progmodes/tcl.el (tcl-indent-command): Use indent-for-tab-command. - (tcl-indent-line): Return `noindent' if inside a string. - - * progmodes/flymake.el (flymake-split-string): Remove more than one - empty string at beg/end of the result. - (flymake-find-buildfile, flymake-find-possible-master-files): - Use expand-file-name. - (flymake-fix-file-name): Don't replace \ with / and don't remove ./ - since expand-file-name does it for us. Use directory-file-name. - (flymake-ler-get-full-file, flymake-ler-get-file, flymake-ler-get-line) - (flymake-ler-get-type, flymake-ler-get-text) - (flymake-ler-make-ler): Remove. Replace by defstruct. Update callers. - (flymake-current-line-no): Remove spurious interactive spec. - (flymake-delete-temp-directory): Remove unused var `slash-pos'. - (flymake-check-include): Remove arg inc-path merged into inc-name. - (flymake-check-patch-master-file-buffer): Fit in 80 columns. - Arg regexp-list replaced by a simple regexp. - (flymake-master-make-header-init, flymake-master-tex-init): - Correspondingly replace regexp-list with a regexp. Fix regexp. - -2006-01-10 Simon Josefsson - - * mail/smtpmail.el (smtpmail-try-auth-methods): Add comment - describing AUTH PLAIN fix. - -2006-01-10 Thien-Thi Nguyen - - * mail/emacsbug.el (report-emacs-bug-text-prompt): Delete var. - (report-emacs-bug): Don't record initial prompt text. - Instead, add text properties to prompting text. - (report-emacs-bug-hook): Delete prompting text. - -2006-01-09 Stefan Monnier - - * progmodes/flymake.el (flymake-find-buildfile): Remove invariant arg - `dirs'. Adjust callers. - -2006-01-09 John Paul Wallington - - * cus-edit.el (custom-comment) : Add TTY definitions. - -2006-01-09 Stefan Monnier - - * reveal.el (reveal-open-new-overlays): New extracted fun. - (reveal-close-old-overlays): Idem. Check overlays's liveness before - using them. Simplify the code. - (reveal-post-command): Use them. Fix up obsolete windows in - reveal-open-spots. - - * progmodes/flymake.el: Use `require' rather than autoload for - XEmacs's overlays. - (flymake-get-common-file-prefix, flymake-build-relative-filename): - Delete. Use file-relative-name instead. - (flymake-get-syntax-check-program-args, flymake-perl-init): - Simplify the resulting code. - - * log-view.el (log-view-file-re, log-view-message-re): Add support - for DaRCS output. - -2006-01-09 Alex Schroeder - - * mail/rmail.el (rmail-reply-regexp): Also ignore mailing list - identifiers sometimes added in square brackets at the beginning of - subject lines. - -2006-01-07 Richard M. Stallman - - * cus-edit.el (Custom-set, Custom-save): Doc fix. - (Custom-reset-current, Custom-reset-saved): Change question text. - (Custom-reset-standard): Likewise. - (custom-variable-reset-saved): Doc fix. - -2006-01-07 Eli Zaretskii - - * startup.el (init-file-user): Doc fix. - -2006-01-07 Alex Schroeder - - * mail/rmail.el (rmail-current-subject): New function. - (rmail-current-subject-regexp): New function. - (rmail-next-same-subject): Use it. - - * mail/rmailsum.el (rmail-summary-by-topic): - Use rmail-current-subject and rmail-current-subject-regexp. - (rmail-summary-next-same-subject): Ditto. - - * net/rcirc.el (rcirc-send-input): No longer check whether the - process is open, since not all commands need an open process. - (rcirc-send-string): Check whether the process is open before - sending anything. - (rcirc-ignore-list): New option. - (rcirc-ignore-list-automatic): New variable. - (rcirc-print): Take rcirc-ignore-list into account. - (rcirc-cmd-ignore): New command. - (rcirc-ignore-update-automatic): New function. - (rcirc-handler-PART, rcirc-handler-QUIT): Use it to maintain the - list if ignored nicks. - (rcirc-handler-NICK): Ditto, and also ignore the new nick. - -2006-01-06 David Reitter - - * mail/emacsbug.el (report-emacs-bug): Let explanations correctly - reflect the address to which the report will be sent. - -2006-01-06 Eli Zaretskii - - * progmodes/ld-script.el (auto-mode-alist): Recognize linker - scripts whose file-name extensions are "\.x[bdsru]?[cn]?$". - -2006-01-01 Michael Ernst (tiny changes) - - * textmodes/tildify.el: Fix typos (misspellings) in the commentary. - - * emacs-lisp/find-func.el (find-definition-noselect): Fix typo in - the doc string: "functoin" => "function". - * ldefs-boot.el: Likewise. - - * textmodes/bibtex.el (bibtex-validate-globally): Fix typo in a - message text: "Duplicat" => "Duplicate". - -2006-01-06 Sven Joachim (tiny change) - - * files.el (basic-save-buffer-2): If backing-up failed, reset - buffer-backed-up to nil. - -2006-01-06 Nick Roberts - - * progmodes/gud.el (gdb-script-skip-to-head) - (gdb-script-calculate-indentation): Indent for breakpoint command - lists also. - -2006-01-05 Bill Wohler - - * Makefile.in (compile-always): Add mh-autoloads dependency. - (bootstrap): Remove mh-autoloads dependency, as compile dependency - provides it. - (updates): Remove mh-autoloads dependency, since it probably has - already run recently (via recompile). - -2006-01-05 Stefan Monnier - - * textmodes/flyspell.el (flyspell-accept-buffer-local-defs): Add an - argument `force' to disable the flyspell-last-buffer optimization. - (flyspell-mode-on): Use it. - - * progmodes/flymake.el (flymake-get-cleanup-function): Default to - flymake-simple-cleanup. - (flymake-allowed-file-name-masks): Use this new default. - All the functions are now called in the right buffer rather than - passing the buffer as argument. - (flymake-process-sentinel): Switch to buffer before calling cleanup. - (flymake-parse-err-lines): Remove redundant buffer arg. - (flymake-get-program-dir): Comment out unused function. - (flymake-start-syntax-check, flymake-start-syntax-check-process): - Remove redundant buffer argument. - (flymake-get-real-file-name, flymake-simple-java-cleanup) - (flymake-simple-cleanup, flymake-master-cleanup): Remove buffer arg. - -2006-01-05 Richard M. Stallman - - * info.el (Info-find-node): Don't record previous node if have none. - (info): Go to directory only if history is empty. - - * simple.el (mark): Doc fix. - -2006-01-05 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-ae-parameter): Don't coerce data if it is - already of desired type. - (mac-ae-list): Coerce parameter to "list" type. - (mac-dispatch-apple-event): Replace cadr part of event with a - dummy position so that event-start returns it. - -2006-01-05 Carsten Dominik - - * textmodes/org.el (org-end-of-subtree): New function. - (org-cycle, org-subtree-end-visible-p, org-scan-tags): - Use `org-end-of-subtree'. - (org-agenda, org-agenda-convert-date): Protect calls to - `fit-window-to-buffer'. - (org-tags-view): Force matching of sublevels when doing a - todo-only search. Define the correct redo command, including the - arguments. - (org-agenda-redo): Display message. - (org-check-for-org-mode): New function. - (org-agenda-type): New variable. - (org-timeline, org-agenda-list, org-todo-list, org-tags-view): - Set `org-agenda-type'. - (org-agenda-check-type): New function. - (org-agenda-goto-today, org-agenda-later, org-agenda-earlier) - (org-agenda-week-view, org-agenda-day-view) - (org-agenda-next-date-line, org-agenda-previous-date-line) - (org-agenda-log-mode, org-agenda-toggle-diary) - (org-agenda-toggle-time-grid, org-agenda-date-later) - (org-agenda-date-prompt, org-agenda-diary-entry) - (org-agenda-execute-calendar-command, org-agenda-goto-calendar) - (org-agenda-convert-date, org-agenda-menu): - Use `org-agenda-check-type'. - (org-make-overlay, org-delete-overlay) - (org-detatch-overlay, org-move-overlay, org-overlay-put): - New compatibility functions. - (org-calendar-select-mouse): New command. - -2006-01-04 Chong Yidong - - * cus-edit.el (Custom-reset-current, Custom-reset-saved) - (Custom-reset-standard): Fix y-or-n-p messages. - (custom-link): New face for links. - (custom-buffer-create-internal, custom-manual): Use it. - (custom-face-save): Push to theme-face before setting face spec. - - * wid-edit.el (widget-default-mouse-face-get): New function. - (widget-specify-button): Handle mouse-face like button-face. - - * custom.el (load-theme): Clear old theme settings if reloading. - -2006-01-03 Luc Teirlinck - - * cus-edit.el (custom-buffer-create-internal): Move whole buffer - "Erase Customization" button back to same position it occupies in - the individual State menus. - -2006-01-04 Kim F. Storm - - * wid-edit.el (key-sequence): Rework widget to read key binding - using `kbd' syntax. Use C-q to insert literal key, event, or code. - (widget-key-sequence-default-value): Default value for empty sequence. - (widget-key-sequence-map): New map for reading key binding. Bind C-q. - (widget-key-sequence-read-event): New command for C-q. - (widget-key-sequence-validate, widget-key-sequence-value-to-internal) - (widget-key-sequence-value-to-external): New functions. - -2006-01-03 Stefan Monnier - - * progmodes/flymake.el (flymake-create-temp-with-folder-structure): - Use expand-file-name. - (flymake-delete-temp-directory): Use expand-file-name, - file-name-directory, and directory-file-name. - (flymake-strrchr): Delete. - (flymake-start-syntax-check): Don't pass the redundant buffer argument - to the init-f function. - (flymake-save-buffer-in-file, flymake-init-create-temp-buffer-copy) - (flymake-init-find-buildfile-dir) - (flymake-init-create-temp-source-and-master-buffer-copy) - (flymake-simple-make-init-impl, flymake-simple-make-init) - (flymake-master-make-init, flymake-master-make-header-init) - (flymake-simple-make-java-init, flymake-simple-ant-java-init) - (flymake-perl-init, flymake-simple-tex-init, flymake-master-tex-init) - (flymake-xml-init): Remove corresponding redundant buffer argument. - (flymake-allowed-file-name-masks): Remove last elems that are equal to - the default anyway. Clean up regexps. - - * progmodes/flymake.el (flymake-temp-source-file-name) - (flymake-master-file-name, flymake-temp-master-file-name) - (flymake-base-dir): New buffer-local vars. - (flymake-buffer-data, flymake-get-buffer-value) - (flymake-set-buffer-value): Replace those hash-tables by the new - buffer-local vars. Update callers. - - * progmodes/flymake.el (flymake-check-start-time) - (flymake-check-was-interrupted, flymake-err-info, flymake-is-running) - (flymake-last-change-time, flymake-new-err-info, flymake-timer): - Move definition, so we can remove redundant earlier declaration. - (flymake-replace-regexp-in-string, flymake-split-string) - (flymake-get-temp-dir): Use defalias. - (flymake-popup-menu): Remove `pos' argument. Use posn-at-point. - (flymake-xemacs-window-edges): Remove unused function. - (flymake-get-point-pixel-pos): Move. - (flymake-pid-to-names, flymake-reg-names) - (flymake-get-source-buffer-name, flymake-unreg-names): Remove. - Replace by a simple list flymake-processes and by process-buffer. - Update callers. Other than simplify the code, it uses buffers rather - than buffer-names so it doesn't get confused by uniquify. - (flymake-buffer-data): The global value should just be nil. - - * emacs-lisp/bytecomp.el (byte-compile-file-form-defalias): - Optimize the body of a defalias like any other code. - - * font-lock.el (font-lock-fontify-buffer, font-lock-fontify-region): - Make sure we've setup font-lock's vars. It may influence which - function we then call. - (font-lock-default-fontify-buffer): Don't bother calling set-defaults - here since it's too late anyway. - -2006-01-03 Romain Francoise - - * startup.el (fancy-splash-tail, normal-splash-screen): - Update copyright year. - -2006-01-02 J.D. Smith - - * mouse.el (mouse-drag-track): Rename, from - `mouse-drag-region-1'. Includes optional argument required to - enable post-drag event processing (e.g. delete region keys). - Can be used without this argument to track a mouse region and operate - on it as soon as the drag completes. - (mouse-drag-region): Use `mouse-drag-track'. - -2006-01-02 Chong Yidong - - * cus-edit.el (custom-guess-name-alist, custom-guess-doc-alist): - Move to `custom-buffer' group. - - * cus-theme.el: Rewrite the Custom New Theme Mode interface. - (custom-new-theme-mode-map, custom-theme-insert-variable-marker) - (custom-theme-insert-face-marker, custom-theme-variable-menu) - (custom-theme-face-menu): New variables. - (custom-theme-add-variable, custom-theme-variable-action) - (custom-variable-reset-theme, custom-theme-delete-variable) - (custom-face-reset-theme, custom-theme-face-action) - (custom-theme-delete-face, custom-theme-merge-theme) - (custom-theme-add-face, custom-theme-visit-theme): New functions. - -2006-01-01 Chong Yidong - - * custom.el: Move Custom Themes commentary to start of theme code. - (custom-known-themes): Rename `standard' theme to `changed'. - (custom-push-theme): Caller no longer specifies what theme to use - when doing `reset'---the setting is simply removed from the theme. - Delete MODE from `theme-value' and `theme-settings' properties. - (custom-declare-theme): Ignore &rest args since we don't use them. - - (custom-loaded-themes): Delete variable. - (custom-theme-load-themes, custom-theme-loaded-p) - (custom-theme-value): Delete functions. - - (custom-declare-theme): Signal error on invalid theme names. - (provide-theme): custom-loaded-themes was deleted. - (load-theme): Load the file unconditionally. - (enable-theme): Call `load-theme' if theme is undefined. - (custom-enabled-themes): Only update value for successful loads. - (disable-theme): Complete from enabled themes when interactive. - (custom-variable-theme-value): Calculate theme value directly. - - (custom-theme-reset-variables, custom-reset-variables): Mark as - XEmacs compatibility functions. We don't actually use these. - - * cus-edit.el (custom-variable-state-set): - Use custom-variable-theme-value instead of custom-theme-value. - (custom-face-state-set): Rename `standard' theme to `changed'. - (custom-save-variables, custom-save-faces): Delete unneeded - references to custom-reset-variables. - (custom-save-resets): Delete function. - (custom-save-variables, custom-save-faces): MODE argument deleted. - (custom-save-variables, custom-save-faces): Ignore theme values. - - * cus-face.el (custom-theme-reset-faces): Mark as XEmacs - compatibility function. - -2006-01-01 Richard M. Stallman - - * cus-edit.el (Custom-set, Custom-save): Ask for confirmation. - (Custom-reset-current, Custom-reset-saved): Likewise. - (Custom-reset-standard): Show message if aborted. - (custom-mode): Doc fix, describing those commands. - - * mouse.el (mouse-drag-region-1): When following link via mouse-2, - put on event-kind property. - -2005-12-31 Chong Yidong - - * custom.el (provide-theme): Ban `user' theme name. - (custom-enabling-themes): New variable. - (enable-theme): Don't enable user if custom-enabling-themes is t. - (custom-enabled-themes): Make it a defcustom. - (custom-theme-recalc-face): No-op if face is undefined. - - * cus-edit.el (custom-button-mouse): New variable. - (custom-button-mouse): New face. - (custom-raised-buttons, custom-mode): Use it. - - * cus-theme.el (custom-new-theme-mode): Use custom-button-mouse. - -2005-12-31 Eli Zaretskii - - * progmodes/gud.el (gud-display-line): Support hl-line in the - source buffer. - -2005-12-31 Lennart Borgman (tiny change) - - * mouse.el (mouse-drag-window-above): Verify that the found window - overlaps with the given window in the horizontal dimension. - -2005-12-31 Eli Zaretskii - - * Makefile.in (cvs-update): New target. - - * makefile.w32-in (cvs-update): Ditto. - -2005-12-30 Chong Yidong - - * cus-theme.el (custom-new-theme-mode): Use cus-edit faces. - (custom-new-theme-mode-map): New variable. - -2005-12-30 Richard M. Stallman - - * custom.el (custom-load-themes): Function deleted. - - * cus-edit.el (custom-save-loaded-themes): Function deleted. - (custom-save-variables): Don't delete or add custom-load-themes call. - -2005-12-30 Stefan Monnier - - * cus-start.el: Add `visible-cursor'. - - * progmodes/flymake.el (flymake-copy-buffer-to-temp-buffer): Simplify. - (flymake-parse-output-and-residual): Remove `source-buffer' argument. - (flymake-process-filter): Switch to buffer before calling it instead. - (flymake-post-syntax-check, flymake-highlight-err-lines) - (flymake-delete-own-overlays, flymake-parse-err-lines) - (flymake-start-syntax-check, flymake-start-syntax-check-process) - (flymake-count-lines, flymake-parse-residual): - Remove constant buffer argument. - (flymake-start-syntax-check-for-current-buffer): Remove. - Update callers to use flymake-start-syntax-check instead. - (flymake-display-err-menu-for-current-line): - Remove unused var `mouse-pos'. - (flymake-restore-formatting): Comment out unused function. - (flymake-report-status, flymake-report-fatal-status): Remove buffer - argument, use current-buffer instead. Update callers. - -2005-12-30 Roland Winkler - - * textmodes/bibtex.el (bibtex-mode): Make completion-ignore-case - buffer-local because choose-completion-delete-max-match requires - that we set completion-ignore-case (i.e., binding via let is not - sufficient). - (bibtex-complete): Always set completion-ignore-case and - choose-completion-string-functions. The latter is needed because - choose-completion-string-functions keeps its value if we quit the - *Completions* buffer without requesting a completion. - -2005-12-30 Andreas Schwab - - * progmodes/cc-defs.el: Ignore errors from font-lock-compile-keywords. - -2005-12-30 Eli Zaretskii - - * jit-lock.el (jit-lock-chunk-size): Doc fix. - -2005-12-30 Juri Linkov - - * locate.el (locate-fcodes-file, locate-header-face) - * progmodes/delphi.el (delphi-other-face) - * progmodes/glasses.el (glasses-face): Add tag "None" to const nil. - - * paren.el (show-paren-match, show-paren-mismatch): Use existing - group `paren-showing-faces'. - - * net/goto-addr.el (goto-address-highlight-keymap): Fix docstring. - (goto-address): Fix docstring. - - * net/webjump.el (webjump-sample-sites): Update URLs. - - * textmodes/fill.el (fill-single-word-nobreak-p): Use `sentence-end'. - - * subr.el (cancel-change-group): Add listp around pending-undo-list. - -2005-12-29 Stefan Monnier - - * font-lock.el (font-lock-compile-keywords): Signal an error when - font-lock-set-defaults hasn't been called. - -2005-12-29 Luc Teirlinck - - * subr.el (noreturn, 1value): Doc fixes. - -2005-12-29 Roland Winkler - - * textmodes/bibtex.el (bibtex-text-in-field-bounds): Handle case - that assoc-string returns nil. - -2005-12-29 Roland Winkler - - * textmodes/bibtex.el (bibtex-entry-type-whitespace) - (bibtex-entry-type-str, bibtex-empty-field-re) - (bibtex-search-backward-string, bibtex-preamble-prefix) - (bibtex-search-entry, bibtex-enclosing-entry-maybe-empty-head): Remove. - (bibtex-any-valid-entry-type): New variable. - (bibtex-parse-field-name): Simplify. - (bibtex-parse-string, bibtex-search-forward-string): New arg empty-key. - (bibtex-preamble-prefix): Include left delimiter. - (bibtex-search-forward-field, bibtex-search-backward-field): - Allow unbounded search past entry boundaries (required by bibtex-pop). - (bibtex-text-in-field-bounds): Use push. - (bibtex-text-in-field): Do not use bibtex-narrow-to-entry. - (bibtex-parse-preamble, bibtex-valid-entry) - (bibtex-beginning-first-field): New functions. - (bibtex-skip-to-valid-entry): Use bibtex-valid-entry. Fix regexp. - (bibtex-map-entries): Fix docstring. - (bibtex-flash-head): New arg prompt. Simplify. - (bibtex-enclosing-field): Include code of bibtex-inside-field. - (bibtex-insert-kill): Simplify. Always insert text past the - current field or entry. - (bibtex-format-entry): Use bibtex-parse-field. - (bibtex-pop): Use bibtex-beginning-of-entry and - bibtex-end-of-entry to initiate the search. Insert empty field if - we found ourselves. - (bibtex-print-help-message): New args field and comma. - Handle entry keys. - (bibtex-make-field): Use bibtex-beginning-of-entry. - (bibtex-end-of-entry): Use bibtex-valid-entry. Recognize any - invalid entry. - (bibtex-validate): Use bibtex-valid-entry and bibtex-parse-string. - Handle preambles. Simplify code for thorough test. - (bibtex-next-field, bibtex-find-text, bibtex-find-text-internal): - New arg comma. Handle entry heads. - (bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters) - (bibtex-kill-field, bibtex-copy-field-as-kil, bibtex-empty-field): - New arg comma. - (bibtex-kill-entry): Use bibtex-any-entry-maybe-empty-head. - (bibtex-fill-field): Simplify. - (bibtex-fill-entry): Use bibtex-beginning-first-field and - bibtex-parse-field. - (bibtex-convert-alien): Do not wait before calling bibtex-validate. - (bibtex-complete): Use bibtex-parse-preamble. - -2005-12-29 Nick Roberts - - * progmodes/gdb-ui.el (gdb-tooltip-print, gdb-tooltip-print-1): - Display name of expression instead of convenience variable. - (gdb-post-prompt): Only call gdb-get-changed-registers if needed. - - * progmodes/gud.el (gud-tooltip-dereference): Rename from - toggle-gud-tooltip-dereference. - (gud-tooltip-print-command): Move concatenation of "*" to expr to... - (gud-tooltip-tips): ...here when dereferencing. - -2005-12-28 Bill Wohler - - * simple.el (mh-e-user-agent): Move to mh-e/mh-comp.el and autoload. - -2005-12-28 Stefan Monnier - - * vc.el (vc-annotate-display): Replace optional arg `color-map' with - compulsory arg `ratio'. Inline body of vc-annotate-time-span. - (vc-annotate-display-autoscale): Adjust call. - (vc-annotate-display-default): Adjust call. Make arg compulsory. - Fix interactive spec. - (vc-annotate-time-span): Remove. - (vc-annotate-oldest-in-map): Rename from vc-annotate-car-last-cons. - (vc-annotate-mode-menu, vc-annotate-display-autoscale) - (vc-annotate-display-select): Use new name. - - * vc.el (vc-annotate-mode-map): Remove obsolete binding. - (vc-annotate-mode-menu): Remove left-over redundant declaration. - Correct the construction of span entries. Simplify. - (vc-annotate-display-select): Fix the nil case. - (vc-annotate): Remove obsolete (and now broken) code. - (vc-annotate-extract-revision-at-line): Remove obsolete code. - (vc-annotate-time-span): Remove unused arg `quantize'. Simplify. - -2005-12-28 Luc Teirlinck - - * subr.el (lazy-completion-table): Correct typo in docstring. - - * startup.el (command-line): Use `custom-reevaluate-setting' for - `send-mail-function'. - - * mail/sendmail.el (send-mail-function): Autoload the standard-value. - -2005-12-05 Ralf Angeli - - * mail/smtpmail.el (smtpmail-try-auth-methods): - Send credentials together with "AUTH PLAIN" command. - -2005-12-27 Richard M. Stallman - - * mouse.el (mouse-drag-region-1): When remapping mouse-1 to - mouse-2, go back to previously selected window, so it's selected - when mouse-2 command runs. - -2005-12-27 Juri Linkov - - * descr-text.el (describe-text-sexp): Use square brackets for - button [Show] to distinguish it from the property value `show'. - (describe-property-list): Use `insert-text-button' with - `help-face' type instead of putting face in quotes, because button - is not created automatically for a list of faces. - (describe-text-properties-1): Put button-type value in quotes to - distinguish from plain text "button". - (describe-char): Display code point values in hex. Don't use - `symbol-name' for `current-input-method' because it is a string. - Use `insert-text-button' with `help-face' type instead of putting - hardcoded face in quotes, because button is not created automatically. - -2005-12-27 Richard M. Stallman - - * progmodes/glasses.el (glasses-face): More specific custom type. - - * files.el (set-visited-file-name): Doc fix. - - * textmodes/flyspell.el (flyspell-external-point-words): - Use local var buffer-scan-pos to advance scan for next misspelling. - Advance it only after we find the misspelling. - -2005-12-27 Agustin Martin - - * textmodes/flyspell.el (flyspell-external-point-words): - New criteria for finding the misspelling in the buffer. - -2005-12-27 Nick Roberts - - * help-mode.el (help-insert-string): Set help-xref-stack-item - rather than call help-setup-xref. - - * descr-text.el (describe-char): Revert previous changes for - optional buffer argument. - -2005-12-27 Juri Linkov - - * help-mode.el (help-insert-string): New function. Save buffer - contents in cases where it is impossible to recompute the old contents. - - * descr-text.el (describe-char): Set help-xref-stack-item - explicitly after buffer has been generated. - -2005-12-27 Jan Dj,Ad(Brv - - * cus-start.el (all): Add x-gtk-show-hidden-files. - -2005-12-26 Richard M. Stallman - - * replace.el (perform-replace): Calculate match-again - before skipping read-only matches. - - * paren.el (paren-showing-faces): New group. - (show-paren-match, show-paren-mismatch): Move to that group. - - * button.el (button): Put into group `basic-faces'. - - * progmodes/make-mode.el: Remove faces from group `faces'. - - * apropos.el (apropos, apropos-value): Doc fix. - (apropos-documentation): Doc fix. - -2005-12-26 Stefan Monnier - - * subr.el (lazy-completion-table): Remove argument `args'. - - * textmodes/bibtex.el (bibtex-strings, bibtex-reference-keys): - Don't use the `args' argument of lazy-completion-table. - -2005-12-26 Nick Roberts - - * descr-text.el (describe-char): Add optional argument for buffer. - Set buffer appropriately. Call help-setup-xref. - Suggested by Stefan Monnier. - -2005-12-26 Juri Linkov - - * descr-text.el: Require `help-fns' at runtime. Don't require - `button' for byte compilation. - (describe-text-widget): Add `help-echo' for first button. - Use `help-info' for second. - (describe-property-list): Use `help-argument-name' instead of `italic'. - (describe-text-category): Add prompt to interactive spec. - Call `help-setup-xref'. - (describe-char): Use `help-character-set'. Add `help-echo' for - code point. Use `help-input-method'. Remove superfluous insert. - -2005-12-25 Richard M. Stallman - - * progmodes/cc-defs.el (c-emacs-features): Do parse-partial-sexp - at point, in case of narrowing. - - * progmodes/delphi.el (delphi-other-face): Allow nil in type. - - * locate.el (locate-header-face): Allow nil in type. - - * progmodes/cpp.el (cpp-face-none-list): Use cpp-face instead of face. - -2005-12-25 Romain Francoise - - * battery.el (battery-linux-proc-acpi): Also try - `/proc/acpi/thermal_zone/THM0/temperature'. - -2005-12-24 Chong Yidong - - * custom.el (custom-push-theme): Fix docstring. - - * cus-edit.el (custom-variable-set, custom-variable-save) - (custom-variable-save): Custom-quote widget values. - (customize-save-variable): Fix custom-push-theme call. - -2005-12-24 Eli Zaretskii - - * w32-fns.el (w32-batch-update-autoloads): New function. - - * makefile.w32-in (autoloads, $(lisp)/mh-e/mh-loaddefs.el): - Use w32-batch-update-autoloads, and don't setq generated-autoload-file - from the command line. - -2005-12-23 Chong Yidong - - * custom.el (custom-push-theme): Clarify docstring. VALUE nil for - reset means to remove setting from theme entirely. Don't keep - expanding theme-settings list; delete old entries if necessary. - - * cus-edit.el (custom-buffer-create-internal): Move "Erase - customization" button one line up. - (custom-themed): New face. - (custom-magic-alist): New value, THEMED, for theme settings. - (custom-variable-state-set, custom-face-state-set): - Check theme-value instead of saved-value. - (custom-variable-reset-standard, custom-face-reset-standard): - Remove theme setting entirely. Recalculate new values. - (custom-variable-set, custom-variable-set) - (custom-variable-reset-saved, custom-variable-reset-backup) - (custom-face-set, custom-face-reset-saved): Update `user' theme. - (custom-variable-save): Fix typos. - -2005-12-23 Juri Linkov - - * emacs-lisp/edebug.el (edebug-all-defs, edebug-all-forms): - Add autoload cookies. - (edebug-outside-d-c-i-n-s-w): New variable. - (edebug-display, edebug-outside-excursion): Use it to save the - original value of default-cursor-in-non-selected-windows. - Set default-cursor-in-non-selected-windows to t while Edebug - is active. - (edebug-mode, edebug-eval-mode): Doc fix. - - * mouse.el (mouse-choose-completion): Replace `buffer-substring' - with `buffer-substring-no-properties' to remove common substring - highlighting. - - * info.el (info-other-window, info): Rename function argument - `file' to `file-or-node'. - (Info-complete-menu-item): Use local variable `complete-nodes' to - keep the global value of `Info-complete-nodes' unchanged for - subsequent completions. - (info-tool-bar-map): Put `Info-index' icon just before `Info-search'. - - * simple.el (get-next-valid-buffer, last-buffer) - (next-error-buffer-p, next-error-find-buffer) - (minibuffer-history-sexp-flag): Doc fix. - - * savehist.el (savehist-mode-hook): Add `:group'. - - * log-view.el: Call autoload for vc-find-version. - (log-view-current-file): Adjust subgroup numbers. - (log-view-current-tag): Add `length'. - -2005-12-23 Richard M. Stallman - - * vc.el (vc-annotate-car-last-cons): Defn moved up. - -2005-12-23 Juri Linkov - - * hi-lock.el (hi-lock-archaic-interface-message-used) - (hi-lock-archaic-interface-deduce, hi-lock-mode): Doc fix. - (hi-lock-mode): Display "Hi" in the mode line only when - hi-lock-interactive-patterns or hi-lock-file-patterns is non-nil. - (hi-lock-write-interactive-patterns): - Use hi-lock-file-patterns-prefix instead of hard-coded "Hi-lock". - (hi-lock-set-pattern, hi-lock-set-file-patterns) - (hi-lock-font-lock-hook): Set 3rd arg `how' of - font-lock-add-keywords to t. - -2005-12-23 David Koppelman - - * hi-lock.el (hi-lock-highlight-range): New variable. - (hi-lock-mode, hi-lock-unface-buffer): Call font-lock-fontify-buffer - only if font-lock-fontified is non-nil. Remove overlays. - (hi-lock-set-pattern): Call font-lock-fontify-buffer if - font-lock-fontified is non-nil, otherwise use overlays (instead of - text properties). - (hi-lock-string-serialize-hash, hi-lock-string-serialize-serial): - New variables. - (hi-lock-string-serialize): New function. - -2005-12-23 Jan Dj,Ad(Brv - - * menu-bar.el (menu-find-file-existing): New function. - (menu-bar-file-menu): Use menu-find-file-existing for Open. - - * tool-bar.el (tool-bar-setup): Open changed to menu-find-file-existing. - -2005-12-22 Stefan Monnier - - * vc.el: Remove unnecessary leading * in docstrings. - (vc-annotate-mode-map): Move initialization into declaration. - (vc-static-header-alist): Nitpick on the regexp. - (vc-default-init-version): New fun. - (vc-register): Use it. - (vc-insert-headers): Use dolist. - (vc-annotate-get-backend): Remove unused function. - (vc-annotate-add-menu): Remove. Build the menu directly at toplevel. - (vc-annotate-mode): Remove corresponding call. - (vc-annotate-car-last-cons): Simplify. - (vc-annotate-buffers): Remove var. - (vc-annotate-backend): Make it buffer-local. - (vc-annotate): Move the interaction to the interactive spec. - Add a `buf' argument. - (vc-annotate-warp-version): Use this new `buf' argument to avoid - killing&creating a vc-annotate buffer, which is very disruptive when - the buffers are shown in dedicated frames. - -2005-12-23 Nick Roberts - - * descr-text.el: Add FSF as maintainer. - (describe-text-mode, describe-text-mode-map) - (describe-text-mode-hook, describe-text-done): Delete. Use normal - help-mode. - (describe-text-widget, describe-text-sexp) - (describe-property-list, describe-text-category) - (describe-text-properties, describe-text-properties-1) - (describe-char): Use help buttons instead of widgets. - (describe-char-unicodedata-file): Make URL link in doc string. - -2005-12-22 Richard M. Stallman - - * cus-edit.el (custom-variable-prompt): Say "variable" in prompt. - (custom-buffer-create-internal): Reword the top-of-buffer help intro. - Don't include buttons that write a file when there's no file. - (custom-variable-menu, custom-face-menu, custom-group-menu): - Don't include commands that write a file when there's no file. - (customize-browse): Reword the top-of-buffer help intro. - (custom-buffer-create-internal): Fix previous change. - (customize-changed-options-previous-release): Prev release is 21.1. - (customize-changed-options): Doc fix. - (customize-changed): New alias. - (custom-reset-menu, custom-magic-alist, Custom-mode-menu): - Say "standard values". - (Custom-reset-standard): Doc fix. - (custom-face-reset-standard): Doc fix. - -2005-12-22 Stefan Monnier - - * font-lock.el (font-lock-default-fontify-buffer): Try and set-defaults - even if font-lock-mode is non-nil since it may be t without having - turned on font-lock-mode-internal. - (font-lock-choose-keywords): Minor optimization. - (font-lock-add-keywords, font-lock-remove-keywords) - (font-lock-set-defaults): Don't call make-local-variable on a variable - that we know to already be local. - -2005-12-22 Katsumi Yamaoka - - * emacs-lisp/lisp.el (lisp-complete-symbol): Don't print progress - messages if in the minibuffer. - -2005-12-21 Stefan Monnier - - * textmodes/flyspell.el (flyspell-check-word-p): Don't quote - in a RE. - (tex-mode-flyspell-verify, flyspell-get-word) - (flyspell-external-point-words): Don't use point-min/max uselessly. - - * emacs-lisp/lisp.el (lisp-complete-symbol): Mostly undo the change - by Kevin Rodgers. Instead, just hide the completions buffer if we - don't need to show it. - -2005-12-21 Luc Teirlinck - - * wid-edit.el (file, directory): Doc fixes for the `define-widget's. - -2005-12-21 Stefan Monnier - - * emacs-lisp/lisp.el (lisp-complete-symbol): Don't call - delete-windows-on with an inexistent buffer. - -2005-12-22 Nick Roberts - - * progmodes/gud.el (gud-tooltip-modes, gud-tooltip-display): - Delete defcustom variable :tag names. - -2005-12-20 Stefan Monnier - - * log-view.el (log-view-file-re, log-view-message-re): Use shy groups. - (log-view-font-lock-keywords): Ajust subgroup numbers. - (log-view-current-tag): Don't hard code the number of subgroups. - -2005-12-20 Juri Linkov - - * tooltip.el (tooltip): Move defgroup before define-minor-mode. - (tooltip-x-offset, tooltip-y-offset): Doc fix. - - * menu-bar.el (menu-bar-menu-frame-live-and-visible-p) - (menu-bar-non-minibuffer-window-p): Instead of checking - display-multi-frame-p, use selected-frame when menu-updating-frame - is nil. - -2005-12-20 Stuart Herring (tiny change) - - * align.el (align-rules-list): Use [ \t] instead of \s- - for column separators in text mode. - -2005-12-20 Nick Roberts - - * help-mode.el (help-customize-variable, help-customize-face): - Don't pop help-xref-stack as help-follow no longer pushes - anything on to it. - -2005-12-20 Carsten Dominik - - * textmodes/org.el (org-agenda-custom-commands): New option. - (org-agenda): Offer custom commands on splash screen. - (org-make-tags-matcher): Parser for Boolean logic added. - (org-agenda-set-tags): New command. - (org-agenda-menu, org-agenda-mode-map): Add `org-agenda-set-tags'. - (org-set-tags): Efficiency improvements. - (org-auto-align-tags): New option. - (org-todo, org-demote, org-promote): Realign tags. - (org-tags-completion-function): Use also "&" and "|" as separators. - (org-org-menu): Agenda commands simplified. - -2005-12-19 Luc Teirlinck - - * cus-edit.el (customize-apropos, customize-apropos-options): - Docstring changes. - - * font-lock.el (font-lock): Add tags to the links in the defgroup. - -2005-12-19 Chong Yidong - - * longlines.el (longlines-mode): Wrap while widened. - (longlines-decode-region, longlines-encode-region): Compute max - just once. - -2005-12-19 YAMAMOTO Mitsuharu - - * cus-edit.el (mac): New group. - - * cus-start.el (all): Add user options in macterm.c. Add test for - Mac-related built-ins. Fix test for GTK-related built-ins. - - * term/mac-win.el (mac-handle-language-change) - (mac-ae-open-documents, mac-ae-get-url, mac-services-open-file) - (mac-services-open-selection, mac-services-mail-selection) - (mac-services-mail-to, mac-services-insert-text) - (mac-dispatch-apple-event): Add docstrings. - (x-get-selection, mac-select-convert-to-string): Select coding - system from `utf-16be' and `utf-16le' using `byteorder'. - -2005-12-18 Stefan Monnier - - * subr.el (lazy-completion-table): Don't be fooled if the var holds - a "list" (lambda ...) rather than a real completion list. - - * emacs-lisp/cl-extra.el (cl-macroexpand-all): Fix code-walk for - lexical-let when encountering ((lambda (...) ...) ...). - -2005-12-17 Chong Yidong - - * progmodes/sh-script.el (sh-mode): - * language/ethio-util.el (ethio-fidel-to-sera-mail-or-marker): - * textmodes/picture.el (picture-mode): Update docstrings. - -2005-12-17 Eli Zaretskii - - * makefile.w32-in (autoloads, custom-deps): Warn that parts of - commands enclosed in $(ARGQUOTE)s should not be split between two - lines, as that will break with GNU Make >3.80, when sh.exe is used - and arg quoting is with '..'. - (autoloads): Don't break the quoted --eval expression between - several lines. - -2005-12-17 Chong Yidong - - * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): - Capture error from printing circular structures. - -2005-12-17 Martin Rudalics - - * wid-edit.el (widget-checkbox-action): Clear undo info. - -2005-12-16 Bill Wohler - - * menu-bar.el (kill-this-buffer): Set a good example by using menu - bar, not menubar in comment. - -2005-12-16 Stefan Monnier - - * progmodes/cc-engine.el (c-after-change-check-<>-operators): - After-change-functions should not clobber the match data. - -2005-12-16 Juri Linkov - - * simple.el (choose-completion): Use `buffer-substring-no-properties' - instead of `buffer-substring'. - (completion-common-substring): Doc fix. - (completion-setup-function): Use minibuffer-completion-contents - instead of minibuffer-contents. Don't set common-string-length - initially. Remove special handling of partial-completion-mode. - Move computation of completion-base-size into one cond. - Call completion-base-size-function in mainbuf. In computation of - completion-base-size for file name completion don't move point to - the end of the minibuffer. Move computation of common-string-length - into one cond. Start putting faces only when common-string-length>=0. - Add condition to put completions-common-part when - common-string-length>0. - - * complete.el (PC-do-completion): Remove `(equal (point) beg)' to - place point at the first different character in the minibuffer - even if this position is at the beginning of the minibuffer. - - * info.el (Info-read-node-name-1): In completion-base-size-function's - lambda return 1 if common-substring or minibuffer-completion-contents - starts with (, and 0 otherwise. - - * emacs-lisp/crm.el (crm-minibuffer-completion-help): - Use `crm-current-element' for second arg of `display-completion-list'. - -2005-12-16 Klaus Zeitler - - * files.el (set-auto-mode): Look for an interpreter specified on - the first line also if search for mode specification succeeded, - but the mode is not known. - -2005-12-16 Carsten Dominik - - * textmodes/org.el (org-tags-match-list-sublevels): New option. - (org-open-at-point): Implement tag searches as links. - (org-fit-agenda-window, org-get-buffer-tags, org-get-tags) - (org-make-tags-matcher, org-scan-tags, org-activate-tags): New funs. - (org-tags-sparse-tree, org-tags-view, org-set-tags) - (org-agenda-dispatch): New commands. - (org-use-tag-inheritance, org-tags-column): New options. - (org-tab-follows-link, org-return-follows-link): New options. - (org-tags): New customize group. - (org-start-icalendar-file): Get local time zone. - (org-tags-completion-function): New function. - (org-set-font-lock-defaults): Make sure links will also be - highlighted inside headlines. - -2005-12-16 Mark Plaksin (tiny change) - - * term.el (term-emulate-terminal): - Let term-handle-ansi-terminal-messages override what Bash says about - its current directory. - -2005-12-16 K,Aa(Broly L$,1 q(Brentey - - * bindings.el (last-buffer): Move to simple.el. - * simple.el (last-buffer): Move here. - (get-next-valid-buffer): New function. - (next-buffer): Use frame-local buffer list, maintain buried buffer list. - (prev-buffer): Ditto. Rename to `previous-buffer'. - - * menu-bar.el (menu-bar-update-buffers): Update uses of `prev-buffer'. - * bindings.el (global-map): Ditto. - -2005-12-15 Luc Teirlinck - - * cus-edit.el: Introductory comment change. - (custom-magic-alist): Change message string for the `rogue' state. - -2005-12-15 Richard M. Stallman - - * tooltip.el: Delete defcustom variable :tag names. - - * complete.el (partial-completion-mode): Doc fix. - - * textmodes/flyspell.el (flyspell-external-point-words): - Use save-excursion to ensure we don't move backward in the - search loop, not even one character. - (flyspell-delete-all-overlays): Use remove-overlays directly. - - * textmodes/ispell.el (ispell-current-personal-dictionary): New var. - (ispell-start-process): Set that variable. - Clear ispell-buffer-local-name. - (ispell-internal-change-dictionary): - Set ispell-current-dictionary after killing process. - (ispell-buffer-local-dict): - Don't set spell-personal-dictionary after killing process. - (ispell-buffer-local-words): Don't clear out ispell-buffer-local-name. - (ispell-tex-skip-alists, ispell-html-skip-alists) - (ispell-skip-region-alist): Mark as risky. - - * net/newsticker.el (newsticker--retrieval-timer-list) - (newsticker--display-timer, newsticker-running-p) - (newsticker-ticker-running-p): Definitions moved up. - -2005-12-16 Nick Roberts - - * progmodes/gdb-ui.el (gdb-many-windows): Echo new state in minibuffer. - -2005-12-15 David Ponce - - * recentf.el (recentf-dialog-goto-first): Fix missing error condition. - (recentf-edit-list, recentf-open-files): Signal an error when - there is no recent file. - -2005-12-14 Lennart Borgman - - * textmodes/texinfmt.el (texinfo-format-region): Set buffer to - read-only except for texinfo-format-region evaluation. - -2005-12-14 Richard M. Stallman - - * vc.el (vc-default-previous-version, vc-default-next-version) - (vc-do-command): Doc fixes. - -2005-12-14 Roland Winkler - - * textmodes/bibtex.el (bibtex-expand-strings) - (bibtex-autokey-expand-string, bibtex-name-part) - (bibtex-entry-type-whitespace, bibtex-entry-type-str) - (bibtex-any-entry-maybe-empty-head, bibtex-string-type) - (bibtex-preamble-prefix, bibtex-string-empty-key): New variables. - (bibtex-entry-type, bibtex-entry-head): Match only valid entries. - (bibtex-entry-postfix, bibtex-known-entry-type-re) - (bibtex-valid-entry-re, bibtex-any-valid-entry-re) - (bibtex-valid-entry-whitespace-re, bibtex-empty-field-re) - (bibtex-field-name-for-parsing, bibtex-remove-delimiters-string) - (bibtex-beginning-of-last-entry): Remove. - (bibtex-parse-field-name): Use bibtex-field-name. Issue error - message if comma is missing but buffer is read-only. - (bibtex-parse-field-text): Handle whitespaces at the end of field - text. Return 3-element list with beginning and end of field text - and end of field. - (bibtex-end-of-text-in-field, bibtex-end-of-field): Change accordingly. - (bibtex-parse-field): Remove arg name. Use bibtex-field-name. - (bibtex-search-forward-field, bibtex-search-backward-field): - Search always delimited by limits of entry. Use more efficient - search algorithms. - (bibtex-name-in-field): Use bibtex-start-of-name-in-field and - bibtex-end-of-name-in-field. - (bibtex-text-in-field-bounds): Handle BibTeX strings when - extracting the content of a field. - (bibtex-text-in-field): Use search limits. - (bibtex-parse-string-prefix): Handle empty string keys based on - bibtex-string-empty-key. - (bibtex-parse-string): Fix docstring. - (bibtex-text-in-string): Use bibtex-text-in-field-bounds. - (bibtex-preamble-prefix, bibtex-strings): New functions. - (bibtex-skip-to-valid-entry): Include preceding whitespace in - BibTeX entries (consistent with other BibTeX functions). - (bibtex-map-entries): Use bibtex-skip-to-valid-entry. - (bibtex-search-entry): Fix docstring. Simplify. - (bibtex-flash-head, bibtex-complete-string-cleanup) - (bibtex-count-entries, bibtex-sort-buffer): Simplify. - (bibtex-beginning-of-first-entry): Use bibtex-skip-to-valid-entry. - (bibtex-parse-entry): New optional arg content. - (bibtex-format-entry, bibtex-autofill-entry, bibtex-url): Use it. - Use bibtex-text-in-field-bounds. - (bibtex-print-help-message): Handle BibTeX strings and preambles. - (bibtex-end-of-entry): Use bibtex-preamble-prefix and - bibtex-parse-string-postfix. - (bibtex-find-text-internal): New function. - (bibtex-remove-delimiters): Use it. - (bibtex-find-text): Use it. New optional arg help. - (bibtex-complete): Handle BibTeX string and preamble entries. - (bibtex-Preamble): Fix order of closing delimiters. - -2005-12-14 Stefan Monnier - - * vc.el (vc-default-revert): New fun. - - * vc-mcvs.el (vc-mcvs-revert): Fix call to vc-default-revert. - -2005-12-14 Romain Francoise - - * font-lock.el (font-lock-keywords-alist): Rename `append' to `how'. - (font-lock-add-keywords, font-lock-update-removed-keyword-alist): - (font-lock-remove-keywords): Likewise. - -2005-12-14 Juri Linkov - - * log-view.el (log-view-diff): Doc fix. - - * isearch.el (isearch-query-replace): Use (mark) instead of - isearch-opoint if mark is active in transient-mark-mode. - -2005-12-14 Aaron S. Hawley - - * isearch.el (isearch-query-replace): Check for isearch-other-end. - -2005-12-14 Per Abrahamsen - - * progmodes/cpp.el (cpp-face): New widget. - (cpp-known-face, cpp-unknown-face, cpp-edit-list): Use it. - -2005-12-14 Juri Linkov - - * help-macro.el (make-help-screen): Bind `inhibit-read-only' to t - around `erase-buffer' and `insert'. - - * descr-text.el (describe-text-properties): Replace buffer name - "*Help-2*" with "*Help*<2>". - (describe-char): Add functions print-help-return-message, - toggle-read-only. Use help-setup-xref with nil to not store - describe-char in help-xref-stack. Use help-make-xrefs to - make [back] button. - - * desktop.el (desktop-minor-mode-table): Add vc-dired-mode with nil. - - * wdired.el (wdired-old-point): New internal variable. - (wdired-change-to-wdired-mode): Set it buffer-locally. - (wdired-abort-changes): Restore point after aborting changes. - -2005-12-13 Stefan Monnier - - * vc.el (vc-do-command): Add a new value t for okstatus. - - * vc-svn.el (vc-svn-registered): Use it to avoid popping up a spurious - frame in case of errors. - -2005-12-13 Jan Dj,Ad(Brv - - * menu-bar.el (menu-bar-showhide-fringe-menu): Move "On the Right" - so it comes after "On the Left" in the menu. - -2005-12-12 Luc Teirlinck - - * cus-edit.el (customize-apropos, customize-apropos-options) - (customize-apropos-faces, customize-apropos-groups): Doc fixes. - -2005-12-12 Bill Wohler - - * vc-svn.el (vc-svn-registered): Fix problem of visiting - non-writable Subversion-controlled files by saving window - configuration before calling vc-do-command. vc-do-command calls - pop-to-buffer on error which is unexpected during registration. - -2005-12-12 Jay Belanger - - * calc/README: Update the summary of changes. - -2005-12-12 Stefan Monnier - - * descr-text.el (describe-char): Rework last fix to solve the problem - is the same way it's solved for everything else in that function - (i.e. by extracting the info before setting up the *Help* buffer). - -2005-12-12 Kim F. Storm - - * subr.el (version-regexp-alist): Allow space as separator before - non-numeric part, e.g. "1.0 alpha". - (version-to-list): Interpret .X.Y version as 0.X.Y version. - -2005-12-12 Carsten Dominik - - * textmodes/org.el (org-agenda, org-timeline, org-todo): - Implement Logging and the keep-modes setting. - (org-get-category): Make sure a string is returned. - (org-log-done): New function. - (org-log-done, org-closed-string): New options. - -2005-12-12 Jan Dj,Ad(Brv - - * tooltip.el (tooltip-y-offset): Change default to 20. - -2005-12-12 Richard M. Stallman - - * mouse.el (mouse-drag-vertical-line): Use adjust-window-trailing-edge. - - * frame.el (display-hourglass): Doc fix. - - * help.el (help-for-help-internal): Simplify entry for `a'. - - * info.el (Info-on-current-buffer): Doc fix. - (info-insert-file-contents): Don't test (featurep 'jka-compr). - - * startup.el (inhibit-splash-screen): Make this the real name. - (inhibit-startup-message): Make this the alias. - (command-line): Find only simple.el, and use its directory - to fill in other preloaded files' names. - (command-line): Deactivate the mark if deactivate-mark is set. - - * international/mule.el (load-with-code-conversion): - Bind deactivate-mark. - - * progmodes/compile.el (compilation-error-regexp-alist): Doc fix. - -2005-12-11 Luc Teirlinck - - * cus-edit.el (customize-apropos): Avoid listing an option more - than once under different aliases. No longer list user options - that are not defined with defcustom (unless a prefix arg is given). - Doc fix. - (customize-apropos-options): Doc fix. - -2005-12-11 Juri Linkov - - * frame.el (set-background-color, set-foreground-color) - (set-cursor-color, set-mouse-color, set-border-color): - Add explicit prompts to read colors by `facemenu-read-color'. - (show-trailing-whitespace, blink-cursor-delay) - (blink-cursor-interval, display-hourglass, hourglass-delay): - Remove tags. - (display-hourglass, hourglass-delay): Doc fix. - (cursor-in-non-selected-windows): Capitalize words in tag. - - * faces.el (frame-background-mode): Replace `choice-item' keywords - with `const' to not make [default] button. Change default value tag - from `default' to `automatic'. Doc fix. - (trailing-whitespace) : Change group `whitespace' to - `whitespace-faces'. - -2005-12-11 Richard M. Stallman - - * buff-menu.el (Buffer-menu-sort-column): Not a user variable. - -2005-12-11 YAMAMOTO Mitsuharu - - * term/mac-win.el: Create keymap for mac-apple-event-map. - -2005-12-11 Nick Roberts - - * tooltip.el (tooltip-mode): Move to start of file so that it - appears at top of customize buffer. - - * progmodes/gud.el (gud-tooltip-modes, gud-tooltip-display): - Add the gud groupname. - (gud-tooltip-mode): Add the tooltip groupname. - (gud-tooltip-echo-area): Add the gud groupname. Remove tag to - avoid conflict with tooltip-use-echo-area. - -2005-12-10 Romain Francoise - - * help.el (help-for-help-internal): Add `r' in doc string. - -2005-12-10 Johan Bockg,Ae(Brd - - * align.el (align-regexp, align-highlight-rule): - Use region-beginning and region-end instead of point and mark, so that - repetition (with `repeat-complex-command') recomputes the region - bounds. - -2005-12-10 Lennart Borgman - - * window.el (bw-get-tree, bw-get-tree-1, bw-find-tree-sub) - (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir) - (bw-refresh-edges, bw-adjust-window, bw-balance-sub): New functions. - (balance-windows): Rewrite using the above new functions. - -2005-12-10 David Koppelman - - * hi-lock.el (hi-lock-mode): Rename from hi-lock-buffer-mode; - react if global-hi-lock-mode seems intended. - (global-hi-lock-mode): Renamed from hi-lock-mode. - (hi-lock-archaic-interface-message-used) - (hi-lock-archaic-interface-deduce): New variables. - (turn-on-hi-lock-if-enabled, hi-lock-line-face-buffer) - (hi-lock-face-buffer, hi-lock-face-phrase-buffer) - (hi-lock-find-patterns, hi-lock-font-lock-hook): - Replace hi-lock-buffer-mode with hi-lock-mode. - -2005-12-10 Kevin Rodgers (tiny change) - - * emacs-lisp/lisp.el (lisp-complete-symbol): Regenerate the - completion list, even after a partial completion has been - inserted in the current buffer. If there are more than 1 - completion, redisplay the *Completions* buffer; if the - completion is unique, delete the *Completions* window. - -2005-12-10 Eli Zaretskii - - * mail/rmail.el (rmail-next-same-subject): Handle multiple "Re: " - strings and long subject lines that were broken into multiple - lines at arbitrary places. Handle subjects that have "Re: " in - the middle. - -2005-12-10 John W. Eaton - - * progmodes/octave-mod.el (octave-electric-space): Don't indent - comments or strings if octave-auto-indent is nil. - -2005-12-10 YAMAMOTO Mitsuharu - - * term/mac-win.el: Require url when compiling. - Call mac-process-deferred-apple-events after loading init files. - (mac-apple-event-map): New defvar. Define event handlers in it. - (core-event, internet-event): New Apple event class symbols. - (open-application, reopen-application, open-documents) - (print-documents, open-contents, quit-application) - (application-died, show-preferences, autosave-now, get-url): - New Apple event ID symbols. - (about): New HICommand ID symbol. - (mac-event-spec, mac-event-ae): New macros. - (mac-ae-parameter, mac-ae-list, mac-bytes-to-integer) - (mac-ae-selection-range, mac-ae-text-for-search) - (mac-ae-open-documents, mac-ae-text, mac-ae-get-url): New functions. - (mac-application-menu-map): Remove keymap. Handlers for HICommand - and Services menu events are now defined in mac-apple-event-map. - (mac-drag-n-drop): Remove selection range handling. - -2005-12-10 Kenichi Handa - - * simple.el (zap-to-char): - * isearch.el (isearch-process-search-char): Translate CHAR by - translation-table-for-input. - -2005-12-09 Chong Yidong - - * foldout.el (foldout-exit-fold): Properly hide subtree. - -2005-12-09 Reiner Steib - - * files.el (save-buffer): - * international/ucs-tables.el (ucs-set-table-for-input): - * mail/mail-extr.el (mail-extract-address-components): - * mail/sendmail.el (mail-mode): Reformat doc string. - -2005-12-09 Juri Linkov - - * isearch.el (isearch-highlight): Change main overlay priority - from 1 to 1001. Simplify. - (isearch-lazy-highlight-update): Change lazy overlay priority - from 0 to 1000. - - * replace.el (replace-highlight): Change overlay priority from - 1 to 1001. - - * textmodes/ispell.el (ispell-highlight-spelling-error-overlay): - Change overlay priority from 1 to 1001. Reuse existing overlay. - - * compare-w.el (compare-windows-highlight): Change overlay - priority from 1 to 1000. - - * menu-bar.el (menu-bar-edit-menu): Add listp around - pending-undo-list to disable menu item "undo" when pending - undo list is empty. - - * locate.el (locate): Disable undo in *Locate* buffer. - -2005-12-09 Kim F. Storm - - * mail/smtpmail.el (smtpmail-via-smtp): Disable undo in SMTP buffer. - -2005-12-09 David Ponce - - * recentf.el: Improvement of the menu code. - (recentf-enabled-p): Move before first use. Use `kill-emacs-hook' - instead of menu hook. - (recentf-show-menu, recentf-hide-menu): New functions. - (recentf-menu-customization-changed, recentf-mode): Use them. - (recentf-menu-action, recentf-max-menu-items) - (recentf-menu-open-all-flag, recentf-menu-append-commands-flag) - (recentf-arrange-by-rule-others) - (recentf-arrange-by-rules-min-items) - (recentf-arrange-by-rule-subfilter): Don't use - `recentf-menu-customization-changed'. - (recentf-arrange-rules): Likewise. Accept functions to compute - sub-menu titles. - (recentf-menu-filter): Likewise. Doc fix. - (recentf-menu-value-shortcut): Doc fix. - (recentf-dump-variable): Quote atom value. - (recentf-make-menu-items): Update to use it as a menu filter. - (recentf-match-rule): New function. - (recentf-arrange-by-rule): Use it. - (recentf-indirect-mode-rule): New function. - (recentf-build-mode-rules): Use it. - (recentf-dir-rule): New function. - (recentf-arrange-by-dir): Use it. - (recentf-filter-changer-current): Rename from - `recentf-filter-changer-state'. All references updated. - (recentf-filter-changer-alist): Update filter names. - (recentf-filter-changer-select): New function. - (recentf-filter-changer): Use it. Make a sub-menu from filters - available in `recentf-filter-changer-alist'. - (recentf-data-cache, recentf-clear-data) - (recentf-update-menu): Remove. All references updated. - (recentf-match-rule-p, recentf-build-dir-rules) - (recentf-filter-changer-goto-next) - (recentf-filter-changer-get-current) - (recentf-filter-changer-get-next): Remove. - -2005-12-08 Luc Teirlinck - - * cus-edit.el (custom-buffer-create-internal): Relabel the whole - buffer "Reset" button to "Reset to Current" for consistency with - the State buttons. - -2005-12-08 John Paul Wallington - - * ibuf-ext.el (define-ibuffer-filter filename): - If `dired-directory' is a list then really use its car. - -2005-12-08 Kim F. Storm - - * emulation/cua-rect.el (cua--rectangle-aux-replace): - Fix indention of text on right side of replaced rectangle. - -2005-12-09 Nick Roberts - - * progmodes/gud.el (gud-speedbar-buttons, gud-tooltip-tips): - No need to check gud-comint-buffer is bound. - (gdb): Prevent multiple debugging when first session uses gdba. - -2005-12-08 Alan Mackenzie - - CC Mode update to 5.31. - - * progmodes/cc-subword.el: Add a dummy `c-subword-mode' for - Emacsen which lack `define-minor-mode'. (Currently Emacs <21. - We might do this function properly in the future). - - * progmodes/cc-cmds.el, cc-defs.el, cc-styles.el, cc-vars.el: - New macros c-sentence-end and c-default-value-sentence end, to cope - with Emacs 22's new function `sentence-end'. - -2005-12-08 Martin Stjernholm - - * progmodes/cc-cmds.el (c-show-syntactic-information): Solve the - compat issue using `c-put-overlay' and `c-delete-overlay'. - - * progmodes/cc-defs.el (c-put-overlay, c-delete-overlay): - New compat macros to handle overlays/extents. - -2005-12-08 Alan Mackenzie - - * progmodes/cc-fix.el: Add definitions of the macros push and pop - (for GNU Emacs 20.4). - - * progmodes/cc-defs.el - (i): Load cc-fix.elc for `push' and `pop' (for GNU Emacs 20.4). - - * progmodes/cc-cmds.el (c-show-syntactic-information): Change the - highlighting mechanism so it will work in XEmacs too. - - * progmodes/cc-defs.el: Insert c-int-to-char. - - * progmodes/cc-langs.el (c-nonsymbol-token-char-list): Insert a - call to the new macro c-int-to-char. This solves XEmacs's - regarding characters as different from integers. - -2005-12-08 Martin Stjernholm - - * progmodes/cc-fonts.el (c-make-syntactic-matcher): - New internal helper. - - (c-cpp-matchers, c-basic-matchers-before): Use the `eval' - construct to make the indirect face lookup work in XEmacs. - - (c-cpp-matchers): Append the negation char face to the existing - fontification, so that the cpp face doesn't disappear. - Use `c-make-syntactic-matcher' to avoid negation chars in comments - and strings. - - * progmodes/cc-fonts.el (c-negation-char-face-name): New variable - to map to `font-lock-negation-char-face' in emacsen where it exists. - -2005-12-08 Alan Mackenzie - - * progmodes/cc-mode.el: Bind c-subword-mode to C-c C-w. - - * progmodes/cc-subword.el, cc-cmds.el, cc-mode.el: - Rename "c-subword-move-mode" as "c-subword-mode". - - * progmodes/cc-mode.el: Added tty suitable bindings for C-c - and C-c C-. (To the c-hungry- delete functions). - -2005-12-08 Martin Stjernholm - - * progmodes/cc-mode.el: Added autoload directive for - `c-subword-move-mode' for use in older emacsen. - -2005-12-08 Alan Mackenzie - - * progmodes/cc-mode.el: - (i): Insert a binding for C-c C-backspace into - c-bind-special-erase-keys which works in TTYs. - (ii): Make sure that when file styles are used, any explicitly - given style variables take priority over those in the style. - Do this by calling `hack-local-variables' a second time. - - * progmodes/cc-vars.el: Add language specific customization - widgets for AWK to c-doc-comment-style, c-require-final-newline - and c-default-style. Add a defcustom for awk-mode-hook. - Give c-syntactic-element and c-syntactic-context doc-strings by - directly setting their `variable-documentation' propery. - This allows Emacs 22.1 to read these with C-h v. - - * progmodes/cc-awk.el: Apply a tidy-up patch (from Stefan Monnier). - -2005-12-08 Martin Stjernholm - - * progmodes/cc-fonts.el, cc-vars.el - (gtkdoc-font-lock-doc-comments, gtkdoc-font-lock-doc-protection) - (gtkdoc-font-lock-keywords): GtkDoc patterns contributed by - Masatake YAMATO. - - (c-doc-comment-style): Made GtkDoc default in C mode. - - * progmodes/cc-mode.el: Fixed key bindings for C-c C- - and C-c C-. - - (c-bind-special-erase-keys): New function for use on - `normal-erase-is-backspace-hook' to bind C-c C- correctly. - - * progmodes/cc-cmds.el (c-hungry-delete): New function to fix - key behavior in XEmacs according to `delete-forward-p'. - C.f. `c-electric-delete'. - -2005-12-08 Alan Mackenzie - - * progmodes/cc-mode.el: Give c-hungry-backspace and - c-hungry-delete-forward permanent key bindings. - - * progmodes/cc-cmds.el (c-electric-semi&comma): - Bind c-syntactic-context for calls to "criteria functions", for - consistency with other calls to user functions. - - * progmodes/cc-cmds.el (c-indent-command): Expunge use of - `current-prefix-arg', since this might be the prefix arg to a - command which calls c-indent-command as a function. Change the - interactive spec from "p" to "P". - - * progmodes/cc-styles.el: Amend the doc-string of c-set-style, in - reponse to a report from Joseph Kiniry that it - was difficult to understand. - -2005-12-08 Martin Stjernholm - - * progmodes/cc-engine.el (c-on-identifier): Fix bug when at the - first char of an identifier. - - * progmodes/cc-engine.el (c-on-identifier): Handle the "operator - +" syntax in C++. - -2005-12-08 Alan Mackenzie - - * progmodes/cc-cmds.el (c-mask-paragraph): Correct, so that - auto-fill doesn't split a c-comment's last word from a hanging - "*/" when a space is typed between them after fill-column. - - * progmodes/cc-defs.el: New macro c-delete-and-extract-region. - - * progmodes/cc-styles.el (c-set-style) - (c-setup-paragraph-variables): Abort the command if we're not in a - CC Mode buffer. - - * progmodes/cc-align.el (c-lineup-C-comments): Correct indentation - with blank comment-prefix, and a blank line as the comment's - second line. - -2005-12-08 Martin Stjernholm - - * progmodes/cc-fonts.el (c-cpp-matchers, c-basic-matchers-before): - Incorporate the patterns added in the Emacs development branch - for the new Emacs 22 face `font-lock-negation-char-face'. - - * progmodes/cc-fonts.el (c-invalid-face-name): Use "red1" instead - of "red" since it stands out better in xterms and DOS terminals. - - * progmodes/cc-engine.el (c-literal-faces): - Add `font-lock-comment-delimiter-face' which is new in Emacs 22. - -2005-12-08 Alan Mackenzie - - * progmodes/cc-cmds.el: Make C-c C-a (`c-toggle-auto-newline') - forcibly enable c-electric-flag. - - * progmodes/cc-vars.el, cc-cmds.el: New clean-up - `comment-close-slash' on c-electric-slash: if enabled, typing `/' just - after the comment-prefix of a C-style comment will close that comment. - -2005-12-08 Martin Stjernholm - - * progmodes/cc-fonts.el (c-basic-matchers-before) - (c-complex-decl-matchers): Fix the "not-arrow-prefix" regexp used - in Pike. - - * progmodes/cc-langs.el (c-other-op-syntax-tokens): Only C++ has - digraphs. - - * progmodes/cc-fonts.el, cc-langs.el, cc-engine.el - (c-cpp-message-directives, c-cpp-include-directives) - (c-opt-cpp-macro-define, c-opt-cpp-macro-define-start) - (c-cpp-expr-directives): Introduce new language constants to - control cpp syntax in a cleaner way. - - (c-cpp-expr-functions): Rename from c-cpp-defined-fns. - - (c-cpp-matchers, c-forward-to-cpp-define-body): Use them. - - * progmodes/cc-langs.el, cc-fonts.el (c-string-escaped-newlines) - (c-multiline-string-start-char): New language constants and - variables to specify how newlines in string literals work. - - (c-font-lock-invalid-string): Use them. - - * progmodes/cc-cmds.el (c-try-one-liner): Robustness fix if an - unbalanced close brace is entered. Optimization by avoiding going - back over arbitrarily large blocks. Removed hints that this - function only would be relevant/useful in AWK. - - (c-electric-brace): Indent syntactically after the cleanups since - lineup functions might do it differently then. - - * progmodes/cc-engine.el, cc-langs.el - (c-opt-op-identifier-prefix): New language constant and variable. - - (c-just-after-func-arglist-p, c-after-special-operator-id) - (c-search-decl-header-end, c-inside-bracelist-p): Use it. - - * progmodes/cc-align.el, cc-engine.el - (c-after-special-operator-id): New helper to handle C++ operator - identifiers. - - (c-lineup-topmost-intro-cont, c-just-after-func-arglist-p) - (c-guess-basic-syntax): Handle C++ operator identifiers in - declarations. - - * progmodes/cc-langs.el (c-assignment-operators): Add the - trigraph version of ^= too. - - * progmodes/cc-langs.el (c-assignment-operators): Add the - trigraph version of |= in C++. - - * progmodes/cc-fonts.el (c-font-lock-declarators): - Handle `c-decl-hangon-kwds' after the identifier name. - - * progmodes/cc-engine.el (c-guess-basic-syntax): When deciding - whether an arglist is "nonempty", ignore a comment after the open - paren if it isn't followed by a non-comment token on the same line. - - * progmodes/cc-engine.el (c-guess-basic-syntax): Case 4: - Enable heuristics below the point to cope with classes inside special - brace lists in Pike. - -2005-12-08 Alan Mackenzie - - * progmodes/cc-cmds.el: Amend c-point-syntax to handle macros. - -2005-12-08 Martin Stjernholm - - * progmodes/cc-guess.el (cc-guess-install): New function to - install an already guessed style in another buffer. - - * progmodes/cc-defs.el (c-tentative-buffer-changes): No longer - sets `inhibit-read-only' - `c-save-buffer-state' should be used - anyway if the change always is undone. - -2005-12-08 Alan Mackenzie - - Implement togglable electricity: - - * progmodes/cc-defs.el: Enhance c-save-buffer-state's doc-string, - saying when it should be used. - - * progmodes/cc-engine.el: Add the new buffer-local variable, - c-electric-flag. - - * progmodes/cc-langs.el: Change the name of c-toggle-auto-state to - c-toggle-auto-newline. - - * progmodes/cc-mode.el: Rename c-toggle-auto-state to - c-toggle-auto-newline. Remove the binding for - c-toggle-auto-hungry-state. Add the binding C-c C-l for the new - c-toggle-electric-state. - - * progmodes/cc-vars.el: Make c-syntactic-indentation buffer local. - - * progmodes/cc-cmds.el: Add `c-bytecomp-defun's for - c-\(forward\|backward\)-subword. - (c-update-modeline): Add the new modeline flag `l' for - `c-electric-flag'. Make the auto-newline flag `a' dependent on `l'. - (c-toggle-auto-state): Rename it to `c-toggle-auto-newline'. - Make the old name an alias of the new name. - (c-toggle-electric-state): New function. - (c-electric-\(pound\|brace\|slash\|star\|semi&comma\|colon\|lt-gt\|paren\|continued-statement\)): - Adapt these functions to do electric things only when - c-electric-flag is non-nil. - (c-point-syntax, c-brace-newlines, c-try-oneliner): Extract these - new functions from c-electric-brace. - (c-point-syntax): Add a check for "virtual semicolons" in AWK - mode, so that the tentative extra newline doesn't change the - syntax of the following brace. - (c-electric-brace): Restructure by extracting the above functions. - Tidy up the coding somewhat. - (c-electric-semi&comma, c-electric-colon, c-electric-paren): - restructure a bit. - -2005-12-08 Martin Stjernholm - - * progmodes/cc-cmds.el (c-show-syntactic-information): Show the - anchor position(s) using faces. Thanks to Masatake YAMATO for the idea. - - * progmodes/cc-mode.el, cc-cmds.el, cc-defs.el, cc-engine.el - (c-submode-indicators): Change name from `c-auto-hungry-string' - since it's now used to track another submode. - - (c-update-modeline): Convert to function and extended to check - `c-subword-move-mode'. - - (c-forward-into-nomenclature, c-backward-into-nomenclature): - Convert to compat aliases for `c-forward-subword' and - `c-backward-subword'. - - * progmodes/cc-subword.el: New functions and minor mode to handle - SillyCapsedStyleIndentifiers, contributed by Masatake YAMATO: - - (c-forward-subword, c-backward-subword, c-mark-subword) - (c-kill-subword, c-backward-kill-subword, c-transpose-subwords) - (c-capitalize-subword, c-downcase-subword, c-upcase-subword): - Functions corresponding to the standard word handling functions. - - (c-subword-move-mode): Minor mode that replaces all the standard - word handling functions with their subword equivalences. - -2005-12-08 Alan Mackenzie - - * progmodes/cc-vars.el (c-cleanup-list): Insert a customization - entry for one-liner-defun. - - * progmodes/cc-defs.el: Give c-tentative-buffer-changes its own - name in its def-edebug-spec. - - * progmodes/cc-cmds.el (c-electric-brace): Make the - one-liner-defun clean-up work with empty-defun-braces. o-l-d now - compacts space before a comment, if this will make things fit on - one line. - - Introduce an "awk" style, mainly for auto-newline and clean-ups. - - * progmodes/cc-align.el: New function c-snug-1line-defun-close. - - * progmodes/cc-cmds.el: In c-electric-brace, add code for new - clean-up one-liner-defun. - - * progmodes/cc-styles.el: Add the new "awk" style. - - * progmodes/cc-vars.el: Add description of one-liner-defun to - c-cleanup-list's doc-string. New user options, - c-max-one-liner-length. In c-default-style, set the default style - for AWK to "awk". - -2005-12-08 Martin Stjernholm - - * progmodes/cc-engine.el (c-forward-label): Fix fontification of - macros inside labels. - - * progmodes/cc-engine.el (c-looking-at-bos): Obsolete in favor of - `c-at-statement-start-p' and `c-at-expression-start-p'. - - * progmodes/cc-defs.el (c-tnt-chng-record-state): Don't signal an - error if the mark isn't set. - - * progmodes/cc-engine.el (c-guess-continued-construct) - (c-guess-basic-syntax): Use `c-forward-decl-or-cast-1' to more - accurately detect functions inside functions. - - * progmodes/cc-engine.el (c-at-expression-start-p): New function - like `c-at-statement-start-p' that additionally recognizes commas - and expression parentheses as delimiters. - - * progmodes/cc-engine.el (c-looking-at-inexpr-block): Add flag - to avoid heuristics that doesn't work for unclosed blocks. - (c-at-statement-start-p): New function. - - * progmodes/cc-engine.el, cc-fonts.el: Fixes in handling of - Objective-C directives, e.g. directives spanning lines should work - reasonably well now. - - (c-put-c-type-property, c-clear-c-type-property): New helpers. - - (c-forward-objc-directive): New function to move over any ObjC - directive. - - (c-just-after-func-arglist-p, c-guess-basic-syntax) - (c-basic-matchers-before): Use it. - - (c-font-lock-objc-iip-decl): Remove. - - * progmodes/cc-engine.el (c-guess-basic-syntax): Some improvement - in the template arglist recognition. - - * progmodes/cc-styles.el (c-style-alist): Fix several - inconsistencies in the Whitesmith style. - - * progmodes/cc-align.el (c-lineup-after-whitesmith-blocks): - New lineup function to get lines after Whitesmith style blocks - correctly indented. - - (c-lineup-whitesmith-in-block): Back out the compensation for - opening parens since it's done using `add' lists in the style - definition instead. Don't use the anchor position since it varies - too much between the syntactic symbols. :P - - * progmodes/cc-vars.el (c-valid-offset): Update. - - * progmodes/cc-engine.el (c-evaluate-offset): Extend to handle - lists where the offsets are combined according to several - different methods: `first', `min', `max', and `add'. - Report offset evaluation errors with `c-benign-error' so that some kind - of reindentation still is done. - - * progmodes/cc-engine.el (c-guess-basic-syntax): - Anchor `arglist-intro' the same way as `arglist-cont-nonempty' and - `arglist-close'. - - * progmodes/cc-engine.el (c-guess-basic-syntax): Fix similar - situations for `arglist-cont-nonempty' and `arglist-close'. - - * progmodes/cc-langs.el (c-opt-identifier-concat-key-depth): New const. - - * progmodes/cc-defs.el: Use `cc-bytecomp-fboundp' and - cc-bytecomp-boundp' in a number of places. - - * progmodes/cc-engine.el (c-beginning-of-statement-1): Fix a - macro related issue. - -2005-12-08 Alan Mackenzie - - * progmodes/cc-awk.el: Change the terminology of regexps: A char - list is now [asdf], a char class [:alpha:]. - Include code for char classes. - Set c-awk-NL-prop on lines ending in open strings. (Bug fix.) - Add character classes (e.g. "[:alpha:]") into AWK Mode's regexps. - - Remove (nearly all of) the cruft associated with AWK Mode's former - concept of "virtual semicolons": - - Adapt c-beginning-of-statement, c-end-of-statement (together with - subfunctions) to use the new notion of "virtual semicolon" in - place of the old awkward special handling for AWK. There remains - much cruft in cc-awk.el, cc-cmds.el and cc-engine.el to clear out. - * progmodes/cc-cmds.el: - (c-ascertain-adjacent-literal): In the backwards direction, now - recognises AWK regexp delimiters as string delimiters. - (c-after-statement-terminator-p): Adapt for virtual semicolons; - check more rigorously for "end of macro". - (c-back-over-illiterals, c-forward-over-illiterals): Adapt for - virtual semicolons; - (c-beginning-of-statement): Adapt for virtual semicolons; Separate - out the code for forward movement into ... - (c-end-of-statement): Now contains the code for forward movement, - adapted for virtual semicolons. - - * progmodes/cc-engine.el: - (c-ws*-string-limit-regexp): New regexp. - (c-forward-single-comment, c-backward-single-comment): Comment out - the (now redundant) "special" AWK stuff. - - * progmodes/cc-styles.el, cc-vars.el: Change the settings of - c-string-par-start, c-string-par-separate to be more like Text - Mode than Fundamental Mode. - -2005-12-08 Martin Stjernholm - - * progmodes/cc-fonts.el (c-font-lock-declarations): Always narrow - to the fontified region so that fontification doesn't occur - outside it (could happen e.g. when fontifying a line with an - unfinished declaration). - -2005-12-08 Alan Mackenzie - - * progmodes/cc-awk.el: Move regexps for analysing AWK code to near the - start of the file. ^L now separate sections of the file. - (c-awk-non-eol-esc-pair-re, c-awk-blank-or-comment-line-re) - (c-awk-one-line-possibly-open-string-re) - (c-awk-regexp-one-line-possibly-open-char-class-re) - (c-awk-one-line-possibly-open-regexp-re) - (c-awk-one-line-non-syn-ws*-re): New defonsts. - (c-awk-at-vsemi-p, c-awk-vsemi-status-unknown-p): New functions. - - Amend the concept of "virtual semicolons" (in the indentation - engine) for languages like AWK, such that they are now - conceptually attached to end of the last token of a statement, not - the end of the line. (In AWK Mode, however, the pertinent text - property is still physically set on the EOL.) Remove the specific - tests for awk-mode, thus facilitating the introduction of other - language modes where EOLs can end statements. - (Note: The funtionality in cc-cmds.el, specifically - c-beginning/end-of-statement has yet to be amended.) - - * progmodes/cc-defs.el (c-at-vsemi-p, c-vsemi-status-unknown-p): - New macros. - - * progmodes/cc-langs.el: Added `#' into AWK Mode's value of - c-stmt-delim-chars. New c-lang-defvars: c-at-vsemi-p-fn, - c-vsemi-status-unknown-p-fn (in a new page). - - * progmodes/cc-engine.el: In c-beginning-of-statement-1, - c-crosses-statement-barrier-p, c-guess-basic-syntax, replace - numerous awkward forms like - (if (c-major-mode-is 'awk-mode) (c-awk-prev-line-incomplete-p)) - with (c-at-vsemi-p). Fix a few typos. In c-guess-basic-syntax, new - variable before-ws-ip, the place just after char-before-ip appears. - - * progmodes/cc-mode.el: Fix what's almost a semantic ambiguity in - a comment. - -2005-12-08 Martin Stjernholm - - * progmodes/cc-cmds.el (c-electric-brace): Clean up using - `c-tentative-buffer-changes'. - - * progmodes/cc-defs.el (c-region-is-active-p): Simplify and - convert to macro to choose between Emacs and XEmacs at compile time. - - (c-set-region-active): New set counterpart to `c-region-is-active-p'. - - (c-tentative-buffer-changes): New macro to handle temporary buffer - changes in a convenient way. - - (c-tnt-chng-record-state, c-tnt-chng-cleanup): Internal helpers - for `c-tentative-buffer-changes'. - - * progmodes/cc-engine.el (c-looking-at-inexpr-block): Tighten up - the checks for paren sexps between the point and the keyword, to - avoid some false alarms. - - * progmodes/cc-engine.el, cc-langs.el (c-looking-at-inexpr-block): - Fixed a situation where an error could be thrown for unbalanced - parens. Changed to make use of c-keyword-member' to avoid some - repeated regexp matches. - - (c-opt-lambda-key, c-opt-inexpr-block-key, c-opt-inexpr-class-key): - These language variable are no longer necessary. - - (c-block-stmt-kwds): New language constant used by - c-looking-at-inexpr-block'. - - (c-guess-basic-syntax): Remove an optional check that looked at - the existence of the now removed language variables. - - * progmodes/cc-engine.el (c-fdoc-shift-type-backward) - (c-forward-decl-or-cast-1): Fix invalid recognition of C++ style - object instantiation expressions as declarations in some contexts. - This bug only affected languages where the declarator can't be - enclosed in parentheses. - - * progmodes/cc-styles.el (c-style-alist): Fix the GNU style to - insert newlines before and after substatement braces. - - * progmodes/cc-engine.el: Improved the heuristics for recognizing - function declaration headers and the handling of C++ style member - init lists. - - (c-just-after-func-arglist-p): Rewritten to use - `c-forward-decl-or-cast-1'. Now behaves a bit differently too. - - (c-beginning-of-member-init-list): Remove since it isn't used anymore. - - (c-guess-basic-syntax): Adapt case 5B for the new - `c-just-after-func-arglist-p'. Merge cases 5B.1 and 5B.3. - Remove cases 5D.1 and 5D.2 since they aren't trigged anymore (case 5B.1 - covers all cases now). - - * progmodes/cc-defs.el (c-point): Add `bosws' and `eosws'. - -2005-12-08 Alan Mackenzie - - * progmodes/cc-cmds.el, cc-styles.el, cc-vars.el: New variables - c-string-par-start/separate c-sentence-end-with-esc-eol, - initialised in c-setup-paragraph-variables, used in string - scanning subroutines of c-beginning-of-statement. - - * progmodes/cc-cmds.el (c-electric-brace): Don't delete a comment - which precedes the newly inserted `{'. - -2005-12-08 Martin Stjernholm - - * progmodes/cc-engine.el, cc-langs.el: Rewrote the recognition - function for declaration level blocks. It should now cope with - templates better and also be a lot more comprehensible. - - (c-looking-at-decl-block): The new function. - - (c-search-uplist-for-classkey): The old one. It's now a wrapper - for compatibility. - - (c-add-class-syntax, c-guess-continued-construct) - (c-guess-basic-syntax): Adapt for `c-looking-at-decl-block'. - - (c-decl-block-key): Change to tell apart ambiguous and - unambiguous keywords. Pike specials are now handled directly in - the code instead. - - (c-block-prefix-disallowed-chars, c-block-prefix-charset): - New language constants and variables to make the backward skip in - `c-looking-at-decl-block' as tight as possible. - - (c-nonsymbol-token-char-list): New language constant. - - * progmodes/cc-engine.el (c-backward-<>-arglist): New function to - find balanced template arglists backwards. - - * progmodes/cc-defs.el (c-make-bare-char-alt): New helper for - making char classes for `c-syntactic-skip-backward'. - - * progmodes/cc-engine.el (c-guess-basic-syntax): Simplify case - 16D - can't be a class-close at that point. - - * progmodes/cc-engine.el (c-guess-basic-syntax) - (c-add-class-syntax): Don't narrow out the enclosing declaration - level. This makes everything a lot easier, and it was actually - only four small places that needed it to work. Some places that - previously did `widen' are removed now, which has the effect that - `c-guess-basic-syntax' never will look at things outside the - current narrowment now. The anchor position for `topmost-intro' - is affected by this, but it was so bogus it was basically useless - before, and now it's equally bogus but in a slightly different way. - - (c-narrow-out-enclosing-class): Gone. - - (c-most-enclosing-brace, c-least-enclosing-brace): Don't filter to - the narrowed region. - - (c-least-enclosing-brace): Remove silly optional argument. - - * progmodes/cc-engine.el (c-beginning-of-decl-1): Fix bug where - the point could be left directly after an open paren when finding - the beginning of the first decl in the block. - - * progmodes/cc-engine.el, cc-fonts.el (c-forward-keyword-clause): - Specify which submatch to use. - - * progmodes/cc-langs.el (c-symbol-start): Include `@' in ObjC. - - (c-decl-start-re): No longer any need for special treatment of - ObjC due to the above. - - (c-other-block-decl-kwds): Handle "extern" in ObjC too since it - presumably follows C in that regard. - - * progmodes/cc-langs.el (c-identifier-ops, c-after-id-concat-ops): - New language constants to specify operator tokens inside - identifiers in a more high level way. - - (c-opt-identifier-prefix-key): New internal language constant. - - (c-opt-identifier-concat-key, c-opt-after-id-concat-key) - (c-identifier-start, c-identifier-key): Now completely calculated - from other constants. - - (c-identifier-last-sym-match): Decommission since it's no longer used. - - (c-operators): Use `c-identifier-ops'. Document `postfix-if-paren'. - - * progmodes/cc-engine.el (c-forward-name): Remove the - optimization when c-identifier-key is equal to c-symbol-key since - it doesn't work in byte compiled files. Don't record empty - regions as identifiers. - - * progmodes/cc-langs.el (c-filter-ops): New helper function to - simplify access to `c-operators' and its likes. - - (c-operator-list, c-all-op-syntax-tokens) - (c-nonsymbol-token-regexp, c-<>-multichar-token-regexp) - (c-<-op-cont-regexp, c->-op-cont-regexp, c-expr-kwds) - (c-primary-expr-regexp, c-cast-parens): Use it. - - * progmodes/cc-defs.el (c-lang-const): Fixes to allow use without - an explicit language in functions. - - * progmodes/cc-defs.el (c-make-keywords-re): Add an appendable - variant of adornment. - - * progmodes/cc-langs.el (c-any-class-key): Remove unused language - variable. - - (c-type-decl-prefix-key): Remove some now unnecessary cruft from - the Pike value. - - * progmodes/cc-engine.el (c-on-identifier) - (c-simple-skip-symbol-backward): Small fix for handling "-" - correctly in `skip-chars-backward'. Affected the operator lfun - syntax in Pike. - - * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Disable the - diagnostic message about precompiled language vars not being used. - - * progmodes/cc-langs.el (c-paren-nontype-kwds): The GCC keyword - "__attribute__" is followed by a parenthesis. - - (c-type-start-kwds, c-prefix-spec-kwds, c-prefix-spec-kwds-re) - (c-specifier-key, c-not-decl-init-keywords): Some cleanup using new - language constants `c-type-start-kwds' and `c-prefix-spec-kwds'. - - * progmodes/cc-fonts.el, cc-langs.el, cc-engine.el: - Internal cleanups to properly detect the declared identifiers in - various declarations. - - (c-decl-start-kwds): New language constant to recognize - declarations that can start anywhere. Used for class declarations - in Pike. - - (c-specifier-key, c-not-decl-init-keywords) - (c-decl-prefix-or-start-re, c-find-decl-prefix-search) - (c-find-decl-spots): Implement `c-decl-start-kwds'. - - (c-other-decl-kwds, c-postfix-decl-spec-kwds, c-decl-hangon-kwds) - (c-decl-hangon-key, c-forward-decl-or-cast-1): Separate the - handling of the compiler specific extension keywords into a new - language constant `c-decl-hangon-kwds' that defines keyword - clauses to be ignored in declarations. - - (c-forward-id-comma-list, c-forward-keyword-clause): Don't skip - past unrecognized tokens when handling `c-colon-type-list-kwds'. - Necessary to stop at the declared identifier in e.g. IDL valuetype - declarations. - - (c-typedef-decl-kwds, c-typeless-decl-kwds, c-type-list-kwds) - (c-prefix-spec-kwds-re, c-postfix-spec-kwds) - (c-after-suffixed-type-decl-key, c-opt-postfix-decl-spec-key) - (c-forward-decl-or-cast-1): Recognize the declared identifier in - class and enum declarations as such and not as part of the type. - - (c-forward-decl-or-cast-1, c-forward-label): Relax the - interpretation of PRECEDING-TOKEN-END when there's no preceding token. - - (c-forward-decl-or-cast-1): Don't disregard sure signs of - declarations when there's some syntax error later on. - - (c-complex-decl-matchers): Did away with a reference to - `c-specifier-key'. - - * progmodes/cc-engine.el (c-maybe-labelp): Provide no default - value - this variable is always dynamically bound. - - * progmodes/cc-engine.el, cc-fonts.el, cc-langs.el, cc-menus.el - * cc-mode.el, cc-styles.el, cc-vars.el, cc-align.el, cc-awk.el - * cc-cmds.el, cc-defs.el: Change the policy for marking up - functions that might do hidden buffer changes: All such internal - functions are now marked instead of those that don't. - - (c-beginning-of-macro, c-end-of-macro, c-(forward|backward)-comments) - (c-(forward|backward)-single-comment, c-parse-state, c-on-identifier) - (c-(fast-|slow-|)in-literal, c-literal-limits, c-collect-line-comments) - (c-literal-type): Allow these functions to make hidden buffer changes, - so that they are free to use text property caching later on. - - (c-electric-backspace, c-electric-delete-forward, c-electric-pound) - (c-electric-brace, c-electric-slash, c-electric-star) - (c-electric-semi&comma, c-electric-colon, c-electric-lt-gt) - (c-electric-paren, c-electric-continued-statement, c-indent-command) - (c-indent-region, c-mask-paragraph, c-indent-new-comment-line) - (c-context-line-break): Add `c-save-buffer-state' calls to comply - with the changed semantics of the functions above. - - * progmodes/cc-engine.el (c-beginning-of-statement-1): Fix a bug - when macros occur in obscure places. Optimized the sexp movement - a bit. - -2005-12-08 Alan Mackenzie - - Enhancements for c-beginning-of-statement to work in AWK Mode: - - * progmodes/cc-awk.el: Supersede c-awk-NL-prop value `;' - (completed statement) with `}' (statement completed by closing - brace or semicolon) and `$' (statement completed by EOL). - - (c-awk-virtual-semicolon-ends-prev-line-p) - (c-awk-virtual-semicolon-ends-line-p) - (c-awk-skip-semantic-ws-forward, c-awk-skip-semantic-ws-backward) - (c-awk-at-statement-end-p): New functions. - - * progmodes/cc-cmds.el: Simplify the structure of functions - c-forward-over-illiterals, c-back-over-illiterals. Enhance these - two functions and c-beginning-of-statement to handle AWK Mode. - - * progmodes/cc-engine.el: Enhance c-forward-single-comment, - c-backward-single-comment for AWK mode. Attempt to clarify their - doc-strings. - - * progmodes/cc-mode.el: Put M-a and M-e into awk-mode-map. - -2005-12-08 Martin Stjernholm - - * progmodes/cc-engine.el, cc-fonts.el, cc-langs.el: Cleaned up the - label handling. Labels are now recognized in a uniform and more - robust way, regardless of context. Text properties are put on all - labels to recognize the following declarations better. - Multiword labels are handled both in indentation and fontification for - the benefit of language extensions like Qt. For consistency, keywords - in labels are now fontified with the label face instead. - That also applies to "case" and "default". - - (c-beginning-of-statement-1): Fix some bugs in the label - handling. Disregard `c-nonlabel-token-key' in labels that begin - with `c-label-kwds'. - - (c-find-decl-spots): Support that the callback adds more - `c-decl-end' spots to find. - - (c-forward-decl-or-cast-1): Don't treat a list of plain - identifiers followed by a colon as a declaration. - - (c-forward-label): New function to recognize labels. - - (c-guess-basic-syntax): Replace uses of `c-label-key' with - `c-forward-label'. Moved the label recognition cases (14 and 15) - earlier since they aren't so context sensitive now. Handle labels - on the top level gracefully. Moved access label recognition to - the generic label case (CASE 15) - removed CASE 5E. - - (c-font-lock-declarations): Add recognition of labels in the - same round since we need to handle labels in parallell with other - declarations to recognize both accurately. It should also improve - speed. - - (c-simple-decl-matchers, c-basic-matchers-after): - Move `c-font-lock-labels' so that it only is used on decoration level 2 - since `c-font-lock-declarations' handles it otherwise. - - (c-complex-decl-matchers): Remove the simplistic recognition of - access labels. - - (c-decl-prefix-re): Remove the kludges that was necessary to cope - with labels earlier. - - (c-decl-start-re): New language variable to make - `c-font-lock-declarations' stop for the special protection labels - in Objective-C that start with `@'. - - (c-label-key): Remove since it's no longer used. - - (c-recognize-colon-labels, c-label-prefix-re): New language - constants to support recognition of generic colon-terminated labels. - - (c-type-decl-end-used): `c-decl-end' is now used whenever there - are colon terminated labels. - - * progmodes/cc-align.el (c-lineup-arglist): Fix bug when the - first argument starts with a special brace list. - - * progmodes/cc-engine.el, cc-fonts.el (c-forward-decl-or-cast-1) - (c-font-lock-declarations): Break out the declaration and cast - recognition from `c-font-lock-declarations' to a new function, so - that it can be used in the indentation engine. - - * progmodes/cc-engine.el (c-find-decl-spots): Fix bug in backing - up to the start of the literal. Fixed bug with the point on the - wrong side of the search limit that could happen when the start - position is inside a literal. - - * progmodes/cc-engine.el (c-parse-state) - (c-invalidate-state-cache): Modify the use of `c-state-cache-end' - so that it's kept a little bit back to increase the hit rate. - - (c-parse-state): Change the macro handling and fixed some - glitches. Macro context is checked more often than necessary now, - but otoh less garbage conses are generated. - - * progmodes/cc-engine.el (c-parse-state) - (c-invalidate-state-cache): Cache the last position where - `c-state-cache' applies. This can speed up refontification quite - a bit in blocks where there are many non-brace parens before the point. - - (c-state-cache-end): New variable for this. - - (c-guess-basic-syntax, c-debug-parse-state): Adapt for the new - cache variable. - - * progmodes/cc-engine.el (c-find-decl-spots): Take more care to - get close initial continue positions when the start position is - inside a literal or macro. Do not call the callback for spots - before the start position (which can happen e.g. for `c-decl-end' - spots inside comments). Optimize better in special cases when the - region is a single line inside a literal or macro (typically when - the current line is refontified). - - * progmodes/cc-engine.el (c-guess-basic-syntax): Simplify calls - to `c-add-stmt-syntax' - there's no need to explicitly whack off - entries from the paren state. - - * progmodes/cc-engine.el (c-add-stmt-syntax): Narrow down the - special case for "else if" clauses. - - * progmodes/cc-engine.el (c-looking-at-inexpr-block) - (c-add-stmt-syntax): Use `c-recognize-paren-inexpr-blocks'. - - * progmodes/cc-langs.el (c-recognize-paren-inexpr-blocks): - New language variable to recognize the gcc extension with statement - blocks inside expressions. - - * progmodes/cc-engine.el (c-add-stmt-syntax): Restructure to make - it somewhat more comprehensible. The argument AT-BLOCK-START is - no longer used and hence removed. - - (c-guess-continued-construct, c-guess-basic-syntax): Update calls - to `c-add-stmt-syntax'. - - * progmodes/cc-engine.el (c-backward-to-decl-anchor): - Use `c-beginning-of-statement-1' instead of duplicating parts of it. - This fixes bogus label recognition. - - * progmodes/cc-engine.el (c-add-type, c-check-type) - (c-forward-name, c-forward-type): Improve storage of template - types in `c-found-types' so that they can be recognized better. - - (c-syntactic-content): Add option to skip past nested parens. - - * progmodes/cc-engine.el (c-forward-name): - Set `c-last-identifier-range' all the time. It's less work that way. - Handle that there might not be an identifier to store in - `c-last-identifier-range'. - - (c-forward-type): Handle that `c-last-identifier-range' might be - nil from `c-forward-name'. - - * progmodes/cc-defs.el (c-safe-scan-lists) - (c-(go-)?(up|down)-list-(forward|backward)): Add limit arguments. - - * progmodes/cc-defs.el (c-save-buffer-state): Use `unwind-protect' - to work even if the form fails. - - * progmodes/cc-engine.el (c-parse-state): Speedup when moving far - down in a large file in one go. - - (c-get-fallback-start-pos): New helper function for `c-parse-state'. - - * progmodes/cc-align.el (c-lineup-assignments): New lineup - function which is like `c-lineup-math' but returns nil instead of - `c-basic-offset' when it doesn't match. - - (c-lineup-math): Change to use `c-lineup-assignments'. - -2005-12-08 Alan Mackenzie - - * progmodes/cc-cmds.el: Fix some bugs in subfunctions of - c-beginning-of-statement. New subfunctions - c-in-comment-line-prefix-p, c-narrow-to-comment-innards. - -2005-12-08 Martin Stjernholm - - * progmodes/cc-fonts.el, cc-langs.el: Use `c-simple-ws' instead of - hardcoded char classes whereever possible. Changed a couple of - places to use skip by syntax instead of skip by char class. - - * progmodes/cc-langs.el (c-unterminated-block-comment-regexp): - Fix a bug in the regexp that caused extreme backtracking. - - * progmodes/cc-langs.el (c-block-comment-starter) - (c-block-comment-ender): New language constants to specify in a - single place how block comments look. - - (c-comment-start-regexp, c-block-comment-start-regexp) - (comment-start, comment-end, comment-start-skip) - (c-syntactic-ws-start, c-syntactic-ws-end, c-nonwhite-syntactic-ws) - (c-syntactic-ws, c-nonempty-syntactic-ws) - (c-single-line-syntactic-ws, c-syntactic-eol): Now built from - `c-line-comment-starter', `c-block-comment-starter' and - `c-block-comment-ender'. - - (c-block-comment-regexp, c-unterminated-block-comment-regexp): - New language constants to break up things a bit. - - (c-simple-ws): New language constant for simple whitespace. - - * progmodes/cc-defs.el (c-concat-separated): New convenience function. - - * progmodes/cc-defs.el (c-make-keywords-re): Add kludge for bug - in `regexp-opt' in Emacs 20 and XEmacs when strings contain - newlines. Allow and ignore nil elements in the list. - -2005-12-08 Alan Mackenzie - - * progmodes/cc-cmds.el: Comment out a (n almost certainly - superfluous) check, (eq here (point-max)) in c-beginning-of-statement. - - * progmodes/cc-cmds.el: Tidy up the comments in - c-beginning-of-statement and subfunctions. - - * progmodes/cc-awk.el: Replace calls to put-text-property to the - more flexible c-put-char-property and c-clear-char-properties. - Add the author's email address. - - * progmodes/cc-langs.el (c-block-comment-start-regexp): New variable. - - * progmodes/cc-cmds.el: Fix bug with M-e, when point is inside the - closing "*/" of a block comment. - - * progmodes/cc-cmds.el: Tidy c-beginning-of-sentence (and - subfunctions) so that it works at BOB and EOB. - - * progmodes/cc-cmds.el, cc-vars.el: More updating of - c-beginning-of-statement, including new variable - c-block-comment-start-regexp. - -2005-12-08 Martin Stjernholm - - * progmodes/cc-langs.el (c-known-type-key): Optimize simple - symbols from `*-font-lock-extra-types' so that there's no need to - use `regexp-opt' on those lists. - - * progmodes/cc-langs.el (c-type-decl-suffix-key): Fix when - `c-type-modifier-kwds' is empty. - - * progmodes/cc-fonts.el (c-font-lock-invalid-string): Fix when - there are several strings on the same line. - - * progmodes/cc-engine.el (c-literal-limits): Remove the - compatibility function for older emacsen. `c-literal-limits-fast' - has now taken the place of this function. - - * progmodes/cc-vars.el (c-emacs-features): Remove compatibility - with older emacsen: We now require `pps-extended-state'. - -2005-12-08 Alan Mackenzie - - * progmodes/cc-cmds.el: New function c-beginning-of-sentence, - which obviates the need to hack sentence-end. This now handles - escaped newlines in strings correctly. Correct minor bugs in - c-move-over-sentence and in c-beginning-of-statement. - - * progmodes/cc-cmds.el (c-beginning-of-statement (and - subfunctions)): Adapt c-\(back\|forward\)-over-illiterals such - that movement over macros and code are rigorously separated from - eachother. Correct a few incidental bugs. - - * progmodes/cc-cmds.el: Restructure c-beginning-of-statement: - Improve its doc-string. Improve the handling of certain specific cases. - -2005-12-08 Martin Stjernholm - - * progmodes/cc-engine.el, cc-fonts.el, cc-langs.el - (c-guess-basic-syntax): Change the way class-level labels are - recognized; they can now contain essentially any symbols. - - (c-opt-extra-label-key): New language variable to cope with the - special protection label syntax in Objective-C. - - (c-opt-access-key): Remove; this is now handled better by - `c-nonlabel-token-key' and `c-opt-extra-label-key'. - - (c-complex-decl-matchers): Update to handle that - `c-opt-access-key' no longer exists. - - * progmodes/cc-engine.el (c-guess-basic-syntax): Make use of the - improved label recognition in `c-beginning-of-statement-1'. - - * progmodes/cc-engine.el (c-beginning-of-member-init-list): - Recognize bitfields better. - - * progmodes/cc-engine.el (c-beginning-of-inheritance-list): - Remove some cruft and fixed a bug that could cause it to go to a - position further down. - - * progmodes/cc-langs.el, cc-engine.el - (c-beginning-of-statement-1): Improve detection of labels in - declaration contexts. - - (c-beginning-of-decl-1): Use it. - - (c-nonlabel-token-key): New language constant and variable needed - by `c-beginning-of-statement-1'. - - * progmodes/cc-engine.el (c-guess-basic-syntax): Fix bug that - manifested itself due to the correction in `c-forward-sexp'. - - * progmodes/cc-defs.el (c-forward-sexp, c-backward-sexp): - Make these behave as documented when used at the buffer limits. - - * progmodes/cc-mode.el, cc-engine.el, cc-langs.el - (c-type-decl-end-used): Made this a language variable. - - * progmodes/cc-mode.el (c-after-change): Widen the buffer to work - correctly when `combine-after-change-calls' is used together with - temporary narrowings. - - * progmodes/cc-engine.el (c-beginning-of-statement-1): - Report labels correctly when the start point is immediately after the - colon. - - * progmodes/cc-defs.el (c-parse-sexp-lookup-properties): - Remove since it isn't used anymore. - - * progmodes/cc-cmds.el (c-electric-lt-gt): Detect and mark angle - bracket arglists such as template parens in C++. - - * progmodes/cc-engine.el (c-syntactic-skip-backward): Fix a bug - in the last check-in. Some optimization. - - * progmodes/cc-engine.el (c-syntactic-skip-backward): Fix bug - where it could stop at the same level in a preceding sexp when - PAREN-LEVEL is set. - - * progmodes/cc-mode.el (c-basic-common-init): Turn on syntax-table - text property lookup only when it's needed. - - * progmodes/cc-langs.el, cc-engine.el, cc-fonts.el, cc-mode.el: - Change the policy for paren marked angle brackets to be more - persistent; once marked they remain marked even when they're found - to be unbalanced in the searched region. This should keep the - paren syntax around even when individual lines are refontified in - multiline template arglists. - - (c-parse-and-markup-<>-arglists): New dynamically bound variable - to control markup so that incorrect angle bracket arglists aren't - marked in contexts where the correct value for - `c-disallow-comma-in-<>-arglists' isn't known. - - (c-forward-<>-arglist, c-forward-<>-arglist-recur): The reparse - argument has become `c-parse-and-markup-<>-arglists'. - - (c-remove-<>-arglist-properties): Remove - no longer used. - - (c-after-change-check-<>-operators): New function used on - `after-change-functions' to avoid that "<" and ">" characters that - are part of longer operators have paren syntax. - - (c-<>-multichar-token-regexp): New language variable used by - `c-after-change-check-<>-operators'. - - (c-after-change): Call `c-after-change-check-<>-operators'. - - (c-font-lock-<>-arglists): Use the context properties set by - `c-font-lock-declarations' to set `c-disallow-comma-in-<>-arglists' - correctly to avoid doing invalid markup. - - (c-font-lock-declarations): Remove code that undoes the invalid - markup done by `c-font-lock-<>-arglists'. - - (c-complex-decl-matchers): `c-font-lock-<>-arglists' now runs - after `c-font-lock-declarations'. - - * progmodes/cc-engine.el (c-syntactic-skip-backward): - Add paren-level feature. - - (c-guess-basic-syntax): Improve the anchor position for - `template-args-cont' in nested template arglists. There's still - much to be desired in this area, though. - -2005-12-08 Alan Mackenzie - - * progmodes/cc-cmds.el, cc-engine.el, cc-langs.el, cc-vars.el: - Make the "Text Filling and Line Breaking" commands work for AWK buffers. - -2005-12-08 Martin Stjernholm - - * progmodes/cc-defs.el, cc-engine.el (c-mode-is-new-awk-p): - Removed; (c-major-mode-is 'awk-mode) can be used instead now. - - * progmodes/cc-mode.el: Always set up AWK mode since emacsen where - it doesn't work no longer are supported. - - * progmodes/cc-mode.el, cc-styles.el, cc-vars.el, cc-defs.el - * cc-engine.el, cc-fonts.el, cc-langs.el, cc-cmds.el: CC Mode now - requires support for the syntax-table' text property, which rules - out Emacs 19 and XEmacs < 21.4. Removed various compatibility - cruft associated with those versions. - - * progmodes/cc-defs.el, cc-fix.el: CC Mode now requires support - for the `syntax-table' text property, which rules out Emacs 19 and - XEmacs < 21.4. Removed various compatibility cruft associated - with those versions. - - * progmodes/cc-vars.el (c-emacs-features): CC Mode now requires - support for the `syntax-table' text property. - - * progmodes/cc-fonts.el (c-nonbreakable-space-face): Remove the - variable and use an extra quoted face name instead. All the - emacsen flavors handle that correctly. - - * progmodes/cc-fonts.el (c-font-lock-complex-decl-prepare) - (c-font-lock-declarators, c-font-lock-declarations) - (c-complex-decl-matchers, c-basic-matchers-after): Use a text - property to mark the items in in declarator lists to handle - refontification inside multiline declarations better. - - * progmodes/cc-fonts.el (c-font-lock-declarations): Recognize a - construct like "a * b = c;" as a declaration. - -2005-12-08 Kim F. Storm - - * emulation/cua-base.el (cua-use-hyper-key): Replace by ... - (cua-rectangle-modifier-key): ... this. New defcustom. Can now - select either meta, hyper, or super modifier for rectangle commands. - (cua--rectangle-modifier-key): New defvar. - (cua--M/H-key): Use it. Remove special case for `space'. - (cua--init-keymaps): Initialize it from cua-rectangle-modifier-key - on X, to meta otherwise. Always bind C-return to toggle - rectangle. Pass ?\s instead of `space' to cua--M/H-key. - - * emulation/cua-rect.el (cua-help-for-rectangle): - Use cua--rectangle-modifier-key. Handle super modifier too. - (cua--init-rectangles): Always bind C-return to toggle rectangle. - Pass ?\s instead of `space' to cua--M/H-key and cua--rect-M/H-key. - - * ido.el: Move Acknowledgements and History after Commentary. - Minor changes to Commentary. - - * emulation/cua-base.el (cua--select-keymaps): Enable repeat - keymap if cua--prefix-override-timer is `shift'. - (cua--shift-control-prefix): New function; emulate "type prefix - key twice" functionality to handle shifted prefix key override. - (cua--shift-control-c-prefix, cua--shift-control-x-prefix): - New commands. - (cua--init-keymaps): Bind them to S-C-c and S-C-x. - -2005-12-08 Carsten Dominik - - * textmodes/org.el (org-insert-heading): Try to do items before - headings. - (org-agenda-mode): Quote `org-agenda-mode-hook'. - (org-insert-item): New function. - (org-renumber-ordered-list): Don't skip to higher level lists. - -2005-12-08 Juri Linkov - - * info.el (Info-mode-map): Bind M-TAB to `Info-prev-reference'. - - * button.el (button-buffer-map): Bind M-TAB to `backward-button'. - - * wid-edit.el (widget-keymap): Bind M-TAB to `widget-backward'. - - * pcvs.el (defun-cvs-mode): Put `definition-name' property on - the constructed function name fun-1. - - * cus-edit.el (custom-add-parent-links): Filter out custom-group-link, - because such links don't lead to parent documentation. - -2005-12-08 Kenichi Handa - - * descr-text.el (describe-char): Use *Help-2* buffer if the - current buffer is *Help*. Call describe-text-properties while - setting the original buffer. - -2005-12-07 Bill Wohler - - * files.el (auto-mode-alist): Remove mh-letter-mode. Unnecessary, - and causes problems with non-MH users (such as Gnus users). - -2005-12-08 Nick Roberts - - * progmodes/gdb-ui.el (gdb-find-file-unhook): Delete variable. - (gdb-set-gud-minor-mode, gdb-set-gud-minor-mode): Delete functions. - (gdb-set-gud-minor-mode-existing-buffers, gdb-init-2): Use GDB - command "info sources". Move calls to GDB command "list". - (gdb-find-file-hook): Just use gdb-source-file-list. - (gdb-source-file-regexp): Use regexp for pre-GDB 6.4. - (gdb-source-file-regexp-1): New regexp for GDB 6.4+ only. - (gdb-set-gud-minor-mode-existing-buffers-1): Use it. - (gdb-data-list-register-values-handler): Use correct trigger name. - -2005-12-07 Kim F. Storm - - * ido.el (ido-completion-map): Rename from ido-mode-map. - (ido-common-completion-map, ido-file-completion-map) - (ido-file-dir-completion-map, ido-buffer-completion-map): - Rename from ido-mode-....-map. - (ido-init-completion-maps): Rename from ido-init-mode-maps. - (ido-setup-completion-map): Rename from ido-define-mode-map. - (ido-read-internal): Bind minibuffer-local-filename-completion-map - to ido-completion-map. - -2005-12-07 Kenichi Handa - - * international/mule-cmds.el - (set-display-table-and-terminal-coding-system): If the coding - system specified in `unibyte-display' property is different from - the arg coding-system, don't setup standard-display-table. - -2005-12-06 Stefan Monnier - - * emacs-lisp/edebug.el (edebug-skip-whitespace): read1:lread.c says - that comments end at \n, regardless of selective-display. - -2005-12-07 Nick Roberts - - * progmodes/gdb-ui.el (gdb-error-regexp, gdb-first-post-prompt) - (gdb-version): New variables. - (gdb-source-file-list, gdb-register-names) - (gdb-changed-registers): New variables for use with GDB 6.4+. - (gdb-ann3): Replace with... - (gdb-init-1, gdb-init-2): ...two new functions. - (gdba, gdb-prompt): Call gdb-init-1. - (gdb-get-version): New function. Call gdb-init-2 from here. - (gud-watch): Make it work with mouse events too. - (gdb-post-prompt): Don't add to queue until GDB version is known. - (gdb-speedbar-expand-node, gdb-post-prompt, gdb-registers-mode) - (gdb-locals-mode): Use gdb-version. - (gdb-memory-format-map, gdb-memory-unit-map) - (gdb-locals-watch-map): Rename from gdb-*-*-keymap. - (gdb-locals-font-lock-keywords-1) - (gdb-locals-font-lock-keywords-2): New variables. - (gdb-find-file-hook): Make it work with GDB 6.4+ too. - (gdb-set-gud-minor-mode-existing-buffers-1) - (gdb-var-list-children-1, gdb-var-list-children-handler-1) - (gdb-var-update-1, gdb-var-update-handler-1) - (gdb-data-list-register-values-handler) - (gdb-data-list-register-values-custom) - (gdb-get-changed-registers, gdb-get-changed-registers-handler) - (gdb-stack-list-locals-handler, gdb-get-register-names): - New functions for use with GDB 6.4+. - (gdb-locals-watch-map-1): New variable for use with GDB 6.4+. - (gdb-source-file-regexp, gdb-var-list-children-regexp-1) - (gdb-var-update-regexp-1, gdb-data-list-register-values-regexp) - (gdb-stack-list-locals-regexp) - (gdb-data-list-register-names-regexp): New regexps for use with - GDB 6.4+. - -2005-12-06 Stefan Monnier - - * progmodes/cc-defs.el (c-emacs-features): Don't assume point-min==1. - -2005-12-06 Nozomu Ando - - * mail/smtpmail.el (smtpmail-try-auth-methods): Make password - prompts work for AUTH PLAIN. Also reported by Steve Allan - . - -2005-12-06 K,Aa(Broly L$,1 q(Brentey - - * frame.el (set-frame-parameter): Add doc string. - -2005-12-06 Carsten Dominik - - * textmodes/org.el (org-occur-highlights): New variable. - (org-highlight-new-match, org-remove-occur-highlights): New functions. - (org-highlight-sparse-tree-matches): New option. - (org-do-occur): New function. - (org-get-heading): Make it work also at beginning of line. - (org-category-table): New variable. - (org-get-category-table, org-get-category) - (org-camel-to-words, org-link-search): New functions. - (org-select-this-todo-keyword): New variable. - (org-todo-list): New command. - (org-shiftright, org-shiftleft): New commands. - (org-agenda-todo): Add prefix argument. - (org-show-hierarchy-above): New option. - (org-show-todo-tree): Numerical prefix creates tree for specific - TODO keyword. - (org-outline-level): New function, to assign a level to plain - lists items. - (org-cycle-include-plain-lists): New option. - (org-mode): Use `org-outline-level' as value of `outline-level'. - (org-cycle): Temporarily switch `outline-regexp' if - `org-cycle-include-plain-lists' is non-nil. - (org-start-icalendar-file): Fix format bug. - (org-agenda-get-day-entries): Create category table. - (org-agenda-get-todos, org-agenda-get-timestamps) - (org-agenda-get-deadlines, org-agenda-get-scheduled) - (org-agenda-get-blocks): Use `org-get-category'. - (org-context-in-file-links): Rename from - `org-line-numbers-in-file-links'. - -2005-12-06 Romain Francoise - - * window.el (balance-windows): Delete extraneous third arg in call - to `enlarge-window'. - -2005-12-06 Kenichi Handa - - * international/kinsoku.el (kinsoku-longer): Check eolp, not eobp. - -2005-12-06 Nick Roberts - - * progmodes/gdb-ui.el (gdb-var-create-handler) - (gdb-var-evaluate-expression-handler, gdb-frame-handler) - (gdb-var-list-children-handler, gdb-var-update-handler): - Current buffer is already gdb-partial-output-buffer, don't - make it current again. - -2005-12-05 Luc Teirlinck - - * buff-menu.el (Buffer-menu-use-frame-buffer-list): New user option. - (list-buffers-noselect): Use it. - -2005-12-05 Stefan Monnier - - * mail/sendmail.el: Remove unnecessary leading-star in docstrings. - (mail-yank-ignored-headers): Use regexp-opt. - (mail-mode-map): Move initialization into declaration. - (mail-sent-via): Remove unused shadowed var `to-line'. - (mail-mailer-swallows-blank-line): Use with-temp-buffer. - (mail-bury, sendmail-send-it, mail-do-fcc): Use with-current-buffer. - (mail-do-fcc): Use dolist and push. - (mail-mode-fill-paragraph): Pass the arg to fill-region-as-paragraph. - (mail-yank-ignored-headers): Don't autoload. - -2005-12-05 Kenichi Handa - - * international/mule-cmds.el (set-language-info-internal): New fun. - (set-language-info): Call set-language-info-internal to update - language-info-alist. If LANG-ENV is the current one, call - set-language-environment to make INFO effective now. - (set-language-info-alist): Likewise. - (locale-language-names): With locale "en", use English - lang. env. but set the default codings to iso-8859-1. - -2005-12-04 Nick Roberts - - * progmodes/gdb-ui.el (gdb-use-inferior-io-buffer) - (gdb-speedbar-auto-raise): Echo new state in minibuffer. - (gdb-var-create-handler, gdb-assembler-custom): Use search-forward - for plain strings. - (gdb-frames-mode): Remove redundant call to font-lock-mode. - (gdb-all-registers): Rename from toggle-gdb-all-registers. - Create registers buffer if necessary. Echo new state in minibuffer. - (gdb-registers-mode-map, gdb-registers-mode): Use gdb-all-registers. - -2005-12-03 Chong Yidong - - * info.el (Info-fontify-node): Match external links using - non-directory part of filename. - -2005-12-04 Juri Linkov - - * font-core.el (global-font-lock-mode): Use define-global-minor-mode - instead of easy-mmode-define-global-mode. Add `:group font-lock'. - (font-lock-mode): Replace `:group font-lock' with `nil nil nil' - because there is no customization option for it. - - * font-lock.el (lisp-font-lock-keywords-1): - Add define-global-minor-mode. - - * emacs-lisp/autoload.el (make-autoload): Add define-global-minor-mode. - - * emacs-lisp/derived.el (define-derived-mode): Put `definition-name' - properties on the constructed variable names. - - * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): - Put `definition-name' properties on the constructed function names - next-sym and prev-sym. - - * emacs-lisp/find-func.el (find-function-regexp): - Add define-global-minor-mode. Replace `easy-mmode-define-global-mode' - with `easy-mmode-define-[a-z-]+'. Add easy-menu-define. - (find-variable-regexp): Add easy-mmode-defmap, easy-mmode-defsyntax - and easy-menu-define. - - * emacs-lisp/lisp-mode.el: Put `doc-string-elt' property on - easy-mmode-define-global-mode and define-global-minor-mode. - (lisp-imenu-generic-expression): Add define-global-minor-mode. - - * progmodes/cwarn.el (global-cwarn-mode): Use define-global-minor-mode - instead of easy-mmode-define-global-mode. - - * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode): - Use define-minor-mode instead of easy-mmode-define-minor-mode. - - * cus-edit.el (customize-group, customize-group-other-window): - Filter out autoloaded options from the group completion list by - using heuristics that autoloaded groups don't have `custom-autoload' - property on their symbols (they have only `custom-loads'). - - * simple.el (completion-setup-function): Put completions-common-part - face on complete completion string too (i.e. completion string - without completions-first-difference face). - - * man.el (Man-section-regexp): Add 0-9 to support "3X11" sections. - -2005-12-03 Eli Zaretskii - - * view.el (view-mode): Doc fix. - - * disp-table.el (standard-display-european): Add to the warning - message a reference to the doc string. - - * play/yow.el (apropos-zippy): Call print-help-return-message, - similar to other Help and Apropos commands. - - * help.el (print-help-return-message): If pop-up-frames is - non-nil, set up help-return-method to delete the help window and, - possibly, its frame as well, and don't display message about - scrolling the help window. Doc fix. - (help-return-method): Doc fix. - -2005-12-03 Martin Rudalics - - * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Fix bug - whereby names of length one or names starting with a - symbol-constituent character would not be returned. - -2005-12-03 Johan Bockg,Ae(Brd - - * subr.el (atomic-change-group): Add edebug and indentation spec. - -2005-12-02 Stefan Monnier - - * completion.el (save-completions-file-name): Fix typo in last change. - -2005-12-02 Jan Dj,Ad(Brv - - * info.el: Move back/forward history to the beginning of the tool bar. - -2005-12-02 Ken Manheimer - - * allout.el (eval-when-compile): Remove unnecessary load of cl. - Add fset of allout-real-isearch-abort during compile to fix - byte-compilation warnings. - (allout-mode-p): Move definition of this macro above all uses, or - byte compilation in barren Emacs (eg, during Emacs build) will - lack the definition. - (allout-mode): Move this variable above any uses, or byte - compilation will fail. - (allout-resolve-xref): Remove use of personal file-reference function. - (allout-toggle-current-subtree-encryption): Do the current (ie, - visible containing) topic, rather than nearest around point. Doc fix. - (allout-toggle-subtree-encryption): New function, workhorse that - works on nearest topic containing point. - (allout-encrypt-string): Signal requirement for newer version of pgg. - (allout-resumptions): Doc fix. - -2005-12-02 Eli Zaretskii - - * international/latexenc.el (latex-inputenc-coding-alist): Doc fix. - -2005-12-02 Agustin Martin - - * textmodes/flyspell.el (flyspell-external-point-words): - Consider a misspelling as found in the string search if: (a) misspelling - and found string lengths match, or (b) misspelling is found as - element in a boundary-chars separated longer string, or (c) - ispell-program-name is really ispell and misspelling is found as - part of a TeX string. After successful match move beginning of - search region to end of match. Warn about not found misspellings - once the process is done. - (flyspell-large-region): Do not set ispell-parser to tex if in TeX mode. - -2005-12-02 Nick Roberts - - * progmodes/gud.el (gud-menu-map): Put gud-finish back on the - tool bar (removed inadvertently). - -2005-12-02 Juri Linkov - - * log-view.el (log-view-diff): Clarify doc string. - -2005-12-01 Bill Wohler - - * Makefile.in (mh-loaddefs.el): Reinsert Change Log as its absence - triggers lm-verify errors. - -2005-12-01 Luc Teirlinck - - * simple.el (transient-mark-mode, line-number-mode) - (column-number-mode, size-indication-mode): Remove `:require nil'. - -2005-12-01 Nick Roberts - - * progmodes/gdb-ui.el (gdb-ann3): Bind mouse-2 to gdb-mouse-until - in the margin also. - (gdb-breakpoints-mode-map): Use D instead of d for - gdb-delete-breakpoint. - (gdb-get-frame-number): Require a number to match on. - (gdb-threads-mode-map): Add follow-link binding. - -2005-11-30 Jason Rumney - - * isearch.el (isearch-mode-map): Avoid exiting search on - language-change event. - -2005-11-30 Romain Francoise - - * speedbar.el (speedbar-default-position): New defcustom. - (speedbar-frame-reposition-smartly): Use it. - - * dframe.el (dframe-reposition-frame-emacs): Fix position - computation for `left' location. - Update copyright year. - -2005-11-30 Stefan Monnier - - * help.el (help-map): Move initialization into declaration. - - * emacs-lisp/autoload.el (make-autoload): Handle defgroup specially. - - * help-fns.el (help-argument-name): Don't autoload. - It's useless and triggers a bug in cus-dep.el causing ldefs-boot - to be re-loaded when customizing the `help' group. - -2005-11-30 John Paul Wallington - - * help-fns.el (describe-function-1): Fill arglist output. - -2005-11-30 Kim F. Storm - - * emulation/cua-rect.el (cua--rectangle-overlays): Make permanent-local. - (cua--rectangle-post-command): Cleanup overlays and deactivate mark - after revert-buffer (or anything else which kills all local variables). - - * apropos.el (apropos-parse-pattern): Doc fix. - Set apropos-regexp directly, rather than expecting callers to do so. - (apropos-command, apropos, apropos-value, apropos-documentation): - Simplify calls to apropos-parse-pattern. - -2005-11-29 Chong Yidong - - * hi-lock.el (hi-lock-line-face-buffer, hi-lock-face-buffer) - (hi-lock-face-phrase-buffer): Use hi-yellow face. - (hi-lock-write-interactive-patterns): Use comment-region. - - * longlines.el (longlines-mode): Add mail-setup-hook. - - * mail/mailheader.el, mail/sendmail.el: Revert 2005-11-17 changes. - - * simple.el (sendmail-user-agent-compose, next-line): - Conditionally use hard-newline. - -2005-11-29 Reiner Steib - - * international/latexenc.el (latex-inputenc-coding-alist): - Reword doc string. - -2005-11-29 Chong Yidong - - * help.el (describe-key-briefly, describe-key): Recognize default - bindings. - -2005-11-29 Romain Francoise - - * view.el (view-inhibit-help-message): New defcustom. - (view-mode-enter): Use it. - -2005-11-29 Michael Kifer - - * ediff-wind.el (ediff-setup-control-frame, ediff-make-wide-display): - Preserve user position. - -2005-11-28 Luc Teirlinck - - * font-lock.el: Throw error if facemenu is not loaded to prevent - accidental change of loading order in loadup.el. (Suggested by RMS.) - - * loadup.el: Add comment explaining why facemenu must be loaded - before font-lock. - -2005-11-28 Jay Belanger - - * calc/calc.el: Change global keybinding for calc-dispatch to "\C-x*". - (calc-dispatch-map): Add more keys for `calc-same-interface'. - - * calc/calc-misc.el (calc-dispatch-help): Update docstring. - - * calc/calc-embed.el (calc-do-embedded): Update help message. - - * calc/calc-prog.el (calc-user-define-invokation): Update help message. - -2005-11-28 Stefan Monnier - - * log-edit.el (log-edit-insert-cvs-rcstemplate): Ignore stderr. - - * emacs-lisp/elp.el (elp-not-profilable): Replace interactive-p with - called-interactively-p. - (elp-profilable-p): Rename from elp-not-profilable-p. - Invert result and take into account macros and autoloaded functions. - (elp-instrument-function): Update call. - (elp-instrument-package): Update call. Add completion. - (elp-pack-number): Use match-string. - (elp-results-jump-to-definition-by-mouse): Merge into - elp-results-jump-to-definition and then remove. - (elp-output-insert-symname): Make help echo text single-line. - - * replace.el (query-replace-map): Move initialization into declaration. - (occur-engine): Use with-current-buffer. - (occur-mode-goto-occurrence): Make it work for mouse-clicks as well. - (occur-mode-mouse-goto): Replace with an alias. - -2005-11-28 Juri Linkov - - * simple.el (quoted-insert): Let-bind input-method-function to nil. - - * term/w32-win.el: Bind [S-tab] to [backtab]. - - * info.el (Info-fontify-node): Set 2nd arg `noerror' of - `Info-find-file' to t. - - * replace.el (occur-mode-mouse-goto): Pop, don't switch. - (occur-mode-goto-occurrence): Let-bind same-window-buffer-names - and same-window-regexps. - (occur-next-error): Don't move point for arg 0. - -2005-11-28 Chong Yidong - - * replace.el (occur-mode-goto-occurrence): Pop, don't switch. - -2005-11-28 Stefan Monnier - - * log-edit.el (log-edit-changelog-use-first): New var. - (log-edit-changelog-ours-p): Use it. - (log-edit-insert-changelog): Set it with new arg `use-first'. - (log-edit-insert-cvs-rcstemplate, log-edit-insert-filenames): New funs. - (log-edit-hook): Add them to the list of suggested options. - - * textmodes/flyspell.el (flyspell-last-buffer): New var. - (flyspell-accept-buffer-local-defs): Use it to avoid doing silly - redundant work. - (flyspell-mode-on): Use add-hook for after-change-functions. - (flyspell-mode-off): Use remove-hook for after-change-functions. - (flyspell-changes): Make it buffer-local. - (flyspell-after-change-function): Make it non-interactive. Use push. - (flyspell-post-command-hook): Check input-pending-p while processing - the potentially long list of buffer changes. - -2005-11-28 K,Aa(Broly L$,1 q(Brentey - - * buff-menu.el (list-buffers-noselect): Display the selected - frame's buffer list, not the global one. - -2005-11-28 Nick Roberts - - * xt-mouse.el (xterm-mouse-event): Set last-input-event so - that (list last-input-event) works as in interactive spec. - -2005-11-27 Luc Teirlinck - - * loadup.el ("facemenu"): Load facemenu before font-lock, because - `facemenu-keymap' needs to be defined when font-lock is loaded. - Otherwise, `M-o M-o' is not bound to `font-lock-fontify-block'. - -2005-11-27 Stefan Monnier - - * completion.el: Remove useless leading * in defcustom docstrings. - (save-completions-file-name): Use ~/.emacs.d if available. - (completion-standard-syntax-table): Rename from - cmpl-standard-syntax-table and fold initialization into declaration, - thus removing cmpl-make-standard-completion-syntax-table. - (completion-lisp-syntax-table, completion-c-syntax-table) - (completion-fortran-syntax-table, completion-c-def-syntax-table): Idem. - (cmpl-saved-syntax, cmpl-saved-point): Remove. - (symbol-under-point, symbol-before-point) - (symbol-under-or-before-point, symbol-before-point-for-complete) - (add-completions-from-c-buffer): Use with-syntax-table. - (make-completion): Don't return a list of completion entries. - Update callers. - (cmpl-prefix-entry-head, cmpl-prefix-entry-tail): Use defalias. - (completion-initialize): Rename from initialize-completions. - (completion-find-file-hook): Rename from cmpl-find-file-hook. - (kill-emacs-save-completions): Collect stats here. - (save-completions-to-file, load-completions-from-file): - Use with-current-buffer. - (completion-def-wrapper): Rename from def-completion-wrapper. Make it - into a function. Move all calls to toplevel. - (completion-lisp-mode-hook): New fun. - (completion-c-mode-hook, completion-setup-fortran-mode): - Set the syntax-table here. Use local-set-key. - (completion-saved-bindings): New var. - (dynamic-completion-mode): Make it into a proper minor mode. - (load-completions-from-file): Remove unused var `num-uses'. - - * emacs-lisp/cl-macs.el (defstruct): Don't define the default - constructor if it is explicitly overridden. - - * complete.el (PC-completion-as-file-name-predicate): - Use minibuffer-completing-file-name. - (partial-completion-mode): Use find-file-not-found-functions. - (PC-lisp-complete-symbol): Use with-syntax-table. - (PC-look-for-include-file): Remove dead setq. - (PC-look-for-include-file, PC-expand-many-files, PC-do-completion) - (PC-complete): Use with-current-buffer. - - * progmodes/sh-script.el (sh-font-lock-syntactic-keywords): \ doesn't - escape single quotes. - -2005-11-27 Luc Teirlinck - - * dabbrev.el (dabbrev-completion): Simplify code, by getting rid - of `if' whose condition always returned nil. Doc fix. - - * buff-menu.el (Buffer-menu-revert-function): Make the selected - window's buffer the current buffer around the call to - `list-buffers-noselect'. This is necessary to mark that buffer - with a `.' in the Buffer Menu when called from Lisp, for instance - by Auto Revert Mode. - -2005-11-28 Nick Roberts - - * progmodes/gdb-ui.el (gdb-stopped): Detect child process when - attaching to it. - (gdb-pre-prompt): Make sure gdb-error is reset. - - * progmodes/gud.el (gud-gdb-marker-filter): When GDB is invoked - with a child process, detect it. - (gud-speedbar-buttons): Match regexp more carefully. - -2005-11-27 Richard M. Stallman - - * mouse.el (mouse-drag-move-window-bottom): - Use adjust-window-trailing-edge. - -2005-11-27 Luc Teirlinck - - * simple.el (blink-matching-open): Ignore - `blink-matching-paren-on-screen' if `show-paren-mode' is enabled. - (blink-matching-paren-on-screen): Update docstring. - - * paren.el (show-paren-mode): No longer change - `blink-matching-paren-on-screen'. - -2005-11-27 John Paul Wallington - - * progmodes/gdb-ui.el (gdb-goto-breakpoint, gdb-frames-select) - (gdb-threads-select, gdb-edit-register-value): - Use `posn-set-point' instead of `mouse-set-point' because the - latter is not fbound when configured without X. - -2005-11-27 Kim F. Storm - - * emulation/cua-rect.el (cua--highlight-rectangle): Preserve - existing face when partially highlighting a TAB in a rectangle. - -2005-11-26 Kim F. Storm - - * ido.el (ido-mode-map): Doc fix. - (ido-mode-common-map, ido-mode-file-map) - (ido-mode-file-dir-map, ido-mode-buffer-map): New keymaps. - (ido-define-mode-map): Rewrite. Select one of the new maps as - parent for ido-mode-map instead of building from scratch. - (ido-init-mode-maps): New defun to initialize new maps. - (ido-mode): Call it. - (ido-switch-buffer): Doc fix -- use \. - (ido-find-file): Doc fix -- use \. - -2005-11-26 John Paul Wallington - - * arc-mode.el (archive-extract): Use `posn-set-point' instead of - `mouse-set-point' because the latter is not fbound when configured - without X. - -2005-11-26 Thien-Thi Nguyen - - * files.el (file-relative-name): Doc fix. - -2005-11-26 Kurt Hornik - - * progmodes/octave-inf.el (inferior-octave-startup): Force a - non-empty string for secondary prompt PS2. - -2005-11-25 Chong Yidong - - * progmodes/compile.el (compilation-setup): Fix last change. - -2005-11-26 Nick Roberts - - * progmodes/gdb-ui.el (gdb-info-breakpoints-custom) - (gdb-mouse-toggle-breakpoint-margin) - (gdb-mouse-toggle-breakpoint-fringe, gdb-threads-select): - Add gdb-server-prefix to keep out of command history. - (gdb-edit-register-value): New function. - (gdb-registers-mode-map): Bind mouse-2 and RET to it. - (gdb-info-registers-custom): Use above map. - -2005-11-25 Chong Yidong - - * custom.el (enable-theme): Signal error if argument is not a - theme. Don't recalculate a face if it's not loaded yet. - - * cus-face.el (custom-theme-set-faces): Don't change saved-face if - the `user' theme is in effect. - - * info.el (Info-on-current-buffer): Record actual filename in - Info-current-file, instead of t, or a fake filename if a non-file - buffer. Make autoload. - (Info-find-node, Info-revert-find-node): No need to check for - Info-current-file nil. - (Info-set-mode-line, Info-up, Info-copy-current-node-name): - Info-current-file is now never `t'. - (Info-fontify-node): Many simplifications due to Info-current-file - always being valid. Use Info-find-file to find node filename. - -2005-11-25 David Kastrup - - * longlines.el (longlines-wrap-line): Reorder wrapping to "insert - new character, then delete" in order to preserve markers. - -2005-11-25 David Ponce - - * recentf.el (recentf-arrange-by-rule): Handle a special - `auto-mode-alist'-like "strip suffix" rule. - (recentf-build-mode-rules): Handle second level auto-mode entries. - -2005-11-25 Michael Kifer - - * emulation/viper-keym.el (viper-ESC-key): Use different values - in terminal and window modes. - - * emulation/viper.el (viper-emacs-state-mode-list): Delete mail-mode, - add jde-javadoc-checker-report-mode. - - * ediff-wind.el (ediff-make-wide-display): Slight simplification. - - * ediff.el (ediff-date): Change the date of last update. - -2005-11-24 Chong Yidong - - * hi-lock.el (hi-lock-buffer-mode): Renamed from `hi-lock-mode'. - Use define-minor-mode, and make it a local mode. Turn on font-lock. - (hi-lock-mode): New global minor mode. - (turn-on-hi-lock-if-enabled): New function. - (hi-lock-line-face-buffer, hi-lock-face-buffer, hi-lock-set-pattern): - Change arguments to regexp and face instead of a font-lock pattern. - Directly set face property, instead of refontifying. - (hi-lock-font-lock-hook): Check if font-lock is being turned on. - (hi-lock-find-patterns): Use line-number-at-pos. - - (hi-lock-face-phrase-buffer): Call hi-lock-buffer-mode. Use new - arguments for hi-lock-set-pattern. - (hi-lock-unface-buffer, hi-lock-set-file-patterns): - Call font-lock-fontify-buffer. - (hi-lock-find-file-hook, hi-lock-current-line) - (hi-lock-refontify, hi-lock-set-patterns): Delete unused functions. - - (hi-lock-font-lock-hook): Turn off hi-lock when font lock is - turned off. - - * progmodes/compile.el (compilation-setup): Don't fiddle with - font-lock-defaults. - -2005-11-25 Nick Roberts - - * progmodes/gdb-ui.el (gdb-var-create-handler) - (gdb-var-list-children-handler): Find values for all variable - objects. gud-speedbar-buttons decides whether to display them. - -2005-11-24 Romain Francoise - - * info.el (Info-speedbar-fetch-file-nodes): Prefix temporary - buffer name with a space. - -2005-11-24 Carsten Dominik - - * textmodes/org.el (org-export-plain-list-max-depth): Rename from - `org-export-local-list-max-depth'. Change default value to 3. - (org-auto-renumber-ordered-lists) - (org-plain-list-ordered-item-terminator): New options. - (org-at-item-p, org-beginning-of-item, org-end-of-item) - (org-get-indentation, org-get-string-indentation) - (org-maybe-renumber-ordered-list, org-renumber-ordered-list): - New functions. - (org-move-item-down, org-move-item-up): New commands. - (org-export-as-html): New classes for CSS support. Bug fix in - regular expression detecting fixed-width regions. Respect - `org-local-list-ordered-item-terminator'. - (org-set-autofill-regexps, org-adaptive-fill-function): "1)" is - also a list item. - (org-metaup, org-metadown, org-shiftmetaup, org-shiftmetadown): - New item moving functions. - -2005-11-24 Juri Linkov - - * isearch.el (isearch-repeat): With empty search ring set - `isearch-error' to the error string instead of signaling error - with the function `error'. - -2005-11-24 YAMAMOTO Mitsuharu - - * term/mac-win.el: Make modifier `ctrl' an alias for `control'. - -2005-11-24 Nick Roberts - - * progmodes/gdb-ui.el (gdb-speedbar-auto-raise): New function - and variable. - (gdb-var-create-handler, gdb-var-list-children-handler): - Don't match on "char **...". - (gdb-var-update-handler): Find values for all variable objects. - (gdb-info-frames-custom): Identify frames by leading "#". - - * progmodes/gud.el (gud-speedbar-menu-items): Add - gdb-speedbar-auto-raise as radio button. - (gud-speedbar-buttons): Raise speedbar if requested. - Don't match on "char **...". - (gud-speedbar-buttons): Add (pointer) value for non-leaves. - Make it editable. - -2005-11-23 Chong Yidong - - * info.el (Info-fontify-node): Handle the case where - Info-current-file is t. - -2005-11-23 Stefan Monnier - - * simple.el (blink-matching-open): Fix off-by-one in last change. - -2005-11-23 YAMAMOTO Mitsuharu - - * term/mac-win.el: Don't change default directory. - -2005-11-22 Luc Teirlinck - - * cus-edit.el (Custom-reset-standard): Make it handle Custom group - buffers correctly. (It used to throw an error in such buffers.) - Make it ask for confirmation in group buffers and other Custom - buffers containing more than one customization item. - -2005-11-22 John Paul Wallington - - * net/goto-addr.el (goto-address-fontify): Put `follow-link' - property on mail and url overlays. - (goto-address-at-point): Use `posn-set-point' instead of - `mouse-set-point' because the latter is not fbound when configured - without X. - -2005-11-22 Lars Hansen - - * ls-lisp.el (ls-lisp-parse-symlink): Delete. - (ls-lisp-classify, ls-lisp-format): Delete call to - ls-lisp-parse-symlink. - (ls-lisp-handle-switches): Handle symlinks to directories as - directories when ls-lisp-dirs-first in non-nil. - -2005-11-21 Luc Teirlinck - - * startup.el (command-line): Make sure that loaddefs.el is handled - correctly in load-history. - -2005-11-22 Nick Roberts - - * progmodes/gdb-ui.el (gdb-locals-watch-keymap): New local map. - (gdb-struct-string, gdb-array-string): New constants. - (gdb-info-locals-handler): Use them. - (gdb-reset): Reset gdb-var-list to nil. - -2005-11-21 Stefan Monnier - - * progmodes/sh-script.el (sh-font-lock-paren): Handle continued lines - in patterns. - -2005-11-21 Juri Linkov - - * custom.el (defcustom): Update link types in docstring. - -2005-11-20 Martin Rudalics - - * custom.el (defgroup): Add doc-string-elt info. - - * widget.el (define-widget): Don't use declare for the doc-string-elt. - -2005-11-20 Stefan Monnier - - * newcomment.el (comment-enter-backward): Fix last fix. - - * simple.el (blink-matching-open): - * paren.el (show-paren-function): Allow new paren-class info. - -2005-11-20 Chong Yidong - - * faces.el: Revert 2005-11-17 change. :ignore-defface is now - handled automagically. - -2005-11-20 Andreas Schwab - - * descr-text.el (describe-char): When copying overlays put them - over the full char description instead of just the first character - of it. - -2005-11-20 Juri Linkov - - * simple.el (what-cursor-position): - * descr-text.el (describe-char): Use Lisp-readable syntax - for octal and hex. Reorder decimal, octal and hex values. - Remove excess whitespace in the output. Use `=' in `column=' - like in `point=' and `Hscroll='. - - * international/mule-cmds.el (encoded-string-description): - Use Lisp-readable syntax for hex. - -2005-11-19 Stefan Monnier - - * newcomment.el (comment-enter-backward): Handle the case where the - comment is closed by EOB. - -2005-11-19 Chong Yidong - - * longlines.el (longlines-before-revert-hook) - (longlines-after-revert-hook): New functions. - (longlines-mode): Turn off longlines temporarily when reverting. - Add a message-setup-hook. - (longlines-decode-buffer): New function. - (longlines-wrap-line): Preserve marker positions. - -2005-11-19 Andreas Schwab - - * emacs-lisp/shadow.el: Handle compressed files. - -2005-11-19 Romain Francoise - - * net/browse-url.el (browse-url-default-browser): Signal an error - if no usable browser can be found, rather than try to load w3. - -2005-11-16 Ryan Yeske - - * net/rcirc.el (rcirc-mangle-text): Add bold face property without - replacing existing properties. - (rcirc-my-nick, rcirc-other-nick, rcirc-server) - (rcirc-nick-in-message, rcirc-prompt): Use min-colors and remove - tty specs. - (rcirc-server-prefix, rcirc-server): New faces. - (rcirc-url-regexp): Generate with rx macro. - (rcirc-last-server-message-time): New variable. - (rcirc-filter): Record time of last message. - (rcirc-keepalive): Kill processes that did not send a message - since the last ping. - (rcirc-mode): Give rcirc-topic a local binding here. - -2005-11-19 Micha,Ak(Bl Cadilhac - - * subr.el (read-passwd): Fontify the prompt as we do with other - prompts. - -2005-11-19 Ryan Yeske - - * ffap.el (ffap-menu-rescan): Use inhibit-read-only instead of - binding buffer-read-only to nil. - -2005-11-19 Eli Zaretskii - - * complete.el (partial-completion-mode): - Mention completion-auto-help in the doc string. - - * man.el (Man-highlight-references): Doc fix. Reformat code in a - more Lisp-ish way. - -2005-11-19 Slawomir Nowaczyk (tiny change) - - * ls-lisp.el (ls-lisp-format-file-size): Format file size with 9 - digits, not 8, to avoid misalignment for files larger than 100MB. - -2005-11-19 Eli Zaretskii - - * menu-bar.el (menu-bar-describe-menu) : - Mention "keyboard shortcuts" in the help text. - -2005-11-19 YAMAMOTO Mitsuharu - - * startup.el (fancy-splash-default-action): Discard only - mouse-down and succeeding mouse-up events in the splash screen - window so that drag-n-drop event can be processed. - -2005-11-18 Chong Yidong - - * longlines.el (longlines-mode): Add hacks for mail-mode and - message-mode. - -2005-11-18 Carsten Dominik - - * textmodes/org.el (org-table-sort-lines): New command. - (org-tbl-menu): Add entry for `org-table-sort-lines'. - (org-add-file): Command removed, use `org-agenda-file-to-front' - instead. - (org-export-icalendar): Use `org-icalendar-combined-name'. - (org-cycle-agenda-files, org-agenda-file-to-end) - (org-agenda-file-to-front): New commands. - (org-table-tab-jumps-over-hlines, org-export-html-style): - New options. - (org-table-next-field): Use `org-table-tab-jumps-over-hlines'. - (org-at-table.el-p, org-set-autofill-regexps, org-html-protect): - New functions. - (org-fill-paragraph): Call `org-table-align' in tables. - (org-mode): Call `org-set-autofill-regexps'. - (org-export-as-html): Support for local handformatted lists. - Modified to produce valid HTML 4.0. Use `org-export-html-style'. - (org-export-local-list-max-depth): New option. - (org-html-expand): Use `org-html-protect'. - -2005-11-18 Nick Roberts - - * progmodes/gud.el (gud-install-speedbar-variables): Bind gud-pp - to "p". - (gdb): Move definition of gud-pp to... - - * progmodes/gdb-ui.el (gdb-ann3): ...here. Make it work in the - speedbar. - (gdb-find-watch-expression): New function. - -2005-11-17 Chong Yidong - - * faces.el (face-attribute, set-face-attribute): Mention existence - of `:ignore-defface' setting in docstring. - -2005-11-17 Stefan Monnier - - * simple.el (completion-setup-function): Fix last change. - -2005-11-17 John Paul Wallington - - * ibuf-ext.el (ibuffer-interactive-filter-by-mode): - Use `posn-set-point' instead of `mouse-set-point' because the - latter is not fbound when configured without X. - - * comint.el (comint-insert-input): Likewise. - -2005-11-17 Chong Yidong - - * simple.el (hard-newline): New variable. - (sendmail-user-agent-compose, next-line): Use it. - - * mail/sendmail.el (mail-setup, mail-send, mail-insert-from-field) - (sendmail-send-it, mail-do-fcc, mail-cc, mail-bcc, mail-fcc) - (mail-mail-reply-to, mail-mail-followup-to) - (mail-position-on-field, mail-signature, mail-yank-original) - (mail-attach-file): Likewise. - - * mail/mailheader.el (mail-header-format) - (mail-header-format-function): Likewise. - - * add-log.el (add-change-log-entry, change-log-merge): Likewise. - -2005-11-17 Juri Linkov - - * font-lock.el (font-lock-faces): Rename this defgroup from - `font-lock-highlighting-faces'. - (font-lock-comment-face, font-lock-comment-delimiter-face) - (font-lock-string-face, font-lock-doc-face) - (font-lock-keyword-face, font-lock-builtin-face) - (font-lock-function-name-face, font-lock-variable-name-face) - (font-lock-type-face, font-lock-constant-face) - (font-lock-warning-face, font-lock-negation-char-face) - (font-lock-preprocessor-face) - (font-lock-regexp-grouping-backslash) - (font-lock-regexp-grouping-construct): Rename :group from - `font-lock-highlighting-faces' to `font-lock-faces'. - - * cus-edit.el (lisp, c, tex): - * progmodes/ada-mode.el (ada): - * progmodes/asm-mode.el (asm): - * progmodes/cperl-mode.el (cperl-faces): - * progmodes/cpp.el (cpp): - * progmodes/dcl-mode.el (dcl): - * progmodes/f90.el (f90): - * progmodes/fortran.el (fortran): - * progmodes/icon.el (icon): - * progmodes/idlwave.el (idlwave-misc): - * progmodes/m4-mode.el (m4): - * progmodes/make-mode.el (makefile): - * progmodes/meta-mode.el (meta-font): - * progmodes/modula2.el (modula2): - * progmodes/octave-mod.el (octave): - * progmodes/pascal.el (pascal): - * progmodes/perl-mode.el (perl): - * progmodes/prolog.el (prolog): - * progmodes/ps-mode.el (PostScript-edit): - * progmodes/scheme.el (scheme): - * progmodes/sh-script.el (sh-script): - * progmodes/simula.el (simula): - * progmodes/tcl.el (tcl): - * textmodes/nroff-mode.el (nroff): - * textmodes/reftex-vars.el (reftex-fontification-configurations): - * textmodes/sgml-mode.el (sgml): - * textmodes/texinfo.el (texinfo): - Add :link (custom-group-link font-lock-faces) to defgroup. - - * hi-lock.el (hi-lock): Rename this defgroup from - `hi-lock-interactive-text-highlighting'. Change parent group from - `faces' to `font-lock'. Add link to the manual. - (hi-lock-mode, hi-lock-file-patterns-range) - (hi-lock-exclude-modes, hi-lock-faces): Rename :group from - `hi-lock-interactive-text-highlighting' to `hi-lock'. - (hi-lock-faces): Add :group `faces'. - - * cus-edit.el (custom-variable-prompt): Clarify the code. - - * faces.el (face-read-string): Set the default value arg of - completing-read. - -2005-11-16 Luc Teirlinck - - * rfn-eshadow.el (file-name-shadow-properties) - (file-name-shadow-tty-properties, file-name-shadow-mode): - Remove autoloads, because the file is now preloaded. - -2005-11-16 Stefan Monnier - - * printing.el (easy-menu-intern): Don't define. - (pr-get-symbol): Use easy-menu-intern only if defined. - - * simple.el (blink-matching-open): Simplify a bit. - (completion-setup-function): Fix the case of partial-completion-mode - when the minibuffer's contents start with "-". - Obey completion-base-size-function even when - minibuffer-completing-file-name is non-nil. - -2005-11-16 Richard M. Stallman - - * net/eudcb-ph.el (eudc-ph-open-session): - Use set-process-query-on-exit-flag. - - * mail/smtpmail.el (smtpmail-send-it): Use insert-buffer-contents. - - * international/ucs-tables.el (ucs-set-table-for-input): - Use make-local-variable, not make-variable-buffer-local. - - * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): - Improve warning message text. - - * savehist.el (savehist-save-hook): Add :group. - - * menu-bar.el (menu-bar-help-menu): - Rename Find Extra Packages to External Packages. - - * cus-edit.el (Custom-reset-standard): Verify that - :custom-standard-value prop exists before calling it. - - * apropos.el (apropos-calc-scores): Use apropos-pattern. - -2005-11-16 Martin Rudalics - - * wid-edit.el (color): Enclose %t in %{...%}. - - * cus-edit.el (face): Enclose %t in %{...%}. - -2005-11-16 Hrvoje Niksic - - * savehist.el (savehist-mode-hook): Re-add the var. - (savehist-mode): Use it. - -2005-11-16 Stefan Monnier - - * textmodes/flyspell.el: Fix commenting convention. - Remove unnecessary leading * in custom docstrings. - (flyspell-emacs): Remove unused var. - (flyspell-delete-region-overlays): Use remove-overlays. - (flyspell-accept-buffer-local-defs): Use save-current-buffer. - (flyspell-debug-signal-no-check, flyspell-debug-signal-changed-checked) - (flyspell-debug-signal-pre-word-checked, flyspell-post-command-hook) - (flyspell-debug-signal-word-checked): Use with-current-buffer. - (make-flyspell-overlay): Don't locally reuse a global name. - (flyspell-highlight-incorrect-region) - (flyspell-highlight-duplicate-region): Use flyspell-unhighlight-at. - (flyspell-check-previous-highlighted-word): Use flyspell-overlay-p. - (flyspell-notify-misspell): Remove unused args `start' and `end'. - (flyspell-word): Adjust call accordingly. Use ispell-send-string. - Wrap calls to accept-process-output inside with-local-quit since it's - often called from a post-command-hook. - (flyspell-correct-word, flyspell-auto-correct-word): - Use ispell-send-string. - (flyspell-xemacs-popup): Remove unused arg `event'. Update call. - - * calendar/diary-lib.el (diary-list-entries): Also hide the - terminating newline. - -2005-11-16 Carsten Dominik - - * textmodes/reftex.el (reftex-use-fonts): Remove the check for - window-system, to allow fonts on tty. - -2005-11-17 Nick Roberts - - * progmodes/gud.el (gud-speedbar-item-info): New function. - (gud-install-speedbar-variables): Use it to display data type - of watch expression as a tooltip in speedbar. - -2005-11-15 Luc Teirlinck - - * font-core.el (global-font-lock-mode): Add :version keyword, - because default was changed. - - * jka-cmpr-hook.el (auto-compression-mode): Ditto. - - * startup.el (command-line): Use `custom-reevaluate-setting' for - `file-name-shadow-mode'. - - * loadup.el: Preload rfn-eshadow. - - * rfn-eshadow.el (file-name-shadow-mode): Set :init-value to t. - Add :version keyword. - (file-name-shadow-properties, file-name-shadow-tty-properties) - (file-name-shadow): Add :version keyword. - - * cus-edit.el (custom-add-parent-links): Fix bug whereby, for - instance, `(fringe custom-face)' shadowed `(fringe custom-group)' - in the custom-group property of the symbol frames and the fringe - group got no link to its parent group frames. - Doc fix. - -2005-11-16 Nick Roberts - - * progmodes/gud.el (gud-stop-subjob): New function. - (gud-menu-map, gud-tool-bar-map): Use it. - -2005-11-16 Kim F. Storm - - * progmodes/gud.el (gud-menu-map): Let [stop] stop program rather - than kill it. - (gud-tool-bar-map): Likewise. Move cont/until/finish buttons - to a more useful/logical place. - -2005-11-16 Nick Roberts - - * progmodes/gud.el (gud-menu-map): Make visibility of stop and - go buttons complementary. - -2005-11-15 Stefan Monnier - - * rfn-eshadow.el (rfn-eshadow-regexp): Remove. - (rfn-eshadow-sifn-equal): New function. - (rfn-eshadow-update-overlay): Rewrite to use substitute-in-file-name. - -2005-11-15 Michael Kifer - - * emulation/viper-utils.el (viper-non-word-characters-reformed-vi): - Quote `-' in string. - - * emulation/viper.el (viper-emacs-state-mode-list): Ensure that - rcirc-mode buffers come up in Emacs state. - - * ediff-util.el (ediff-make-temp-file): Use proper file-name-handler - operation. - -2005-11-15 Dan Nicolaescu - - * term.el (term-termcap-format): Fix typos. - (term-down): Fix the negative argument case. - -2005-11-16 Nick Roberts - - * progmodes/gdb-ui.el: Remove face-alias left over from change on - 2005-08-15. - (gdb-ann3): New command gud-go. - (menu): Accomodate gdb-mi.el. - (gdb-assembler-custom): Make buffer of selected window current - so that set-window-point works. - - * progmodes/gud.el (gud-menu-map, gud-tool-bar-map): Re-define - buttons and include new ones. - -2005-11-16 Kim F. Storm - - * progmodes/gud.el (gud-tool-bar-item-visible-no-fringe): New function. - (gud-menu-map): Use it. - -2005-11-14 Luc Teirlinck - - * jka-cmpr-hook.el (auto-compression-mode): Enable it in a way - that works correctly for Custom and that does not override a user - who disables it. - - * help-mode.el (help-make-xrefs, help-xref-on-pp) - (help-xref-interned, help-follow): Make hyperlinks for variables - that are unbound, but have a non-nil variable-documentation property. - - * emacs-lisp/derived.el (define-derived-mode): Remove defvar for - mode hook. (It conflicted with defcustoms for some mode hooks.) - Use the `variable-documentation' property to give the mode hook a - docstring and expand that docstring. - -2005-11-14 Hrvoje Niksic - - * savehist.el (savehist-mode): Don't bother with - `custom-set-minor-mode'. - (savehist-coding-system): Check XEmacs version. - (history-length): Declare also at run time. - (savehist-mode): Don't emit a message. Don't run the minor mode hook. - Don't set the customize state. - (savehist-minibuffer-hook): Special case for when - minibuffer-history-variable is equal to t. - -2005-11-14 Stefan Monnier - - * files.el (write-file): Refresh VC status. - - * calendar/diary-lib.el (diary-list-entries, diary-show-all-entries) - (mark-diary-entries, make-diary-entry): Check default-major-mode rather - than fundamental-mode to see if the mode was set. - -2005-11-14 Romain Francoise - - * dired-x.el: If `vm-visit-folder' doesn't exist, define it as a - dummy function in `eval-when-compile' to avoid compiler warning. - Require `man' at compile time. - -2005-11-14 Jay Belanger - - * calc/calc-alg.el (calcFunc-write-out-power): Rename it to - calcFunc-powerexpand. - (math-write-out-power): Rename it to math-powerexpand; have it - handle negative exponents. - (calc-writeoutpower): Rename it to calc-powerexpand. - - * calc/calc-ext.el: Change calcFunc-writeoutpower and - calc-writeoutpower to calcFunc-powerexpand and calc-powerexpand in - autoloads. - Add calcFunc-ldiv to autoloads. - - * calc/calc-arith.el (calcFunc-ldiv): New function. - - * calc/calc.el (calc-left-divide): New function. - -2005-11-14 Juri Linkov - - * cus-edit.el (custom-variable-prompt): Set the default value arg - of completing-read. - - * cus-dep.el (custom-make-dependencies): Reverse the list of - found dependencies. - -2005-11-14 Dan Nicolaescu - - * menu-bar.el (menu-bar-options-menu): Delete "Syntax - Highlighting" entry, it is on by default now. - (menu-bar-options-save): Do not save global-font-lock-mode. - -2005-11-13 Richard M. Stallman - - * textmodes/flyspell.el (flyspell-large-region): - Call flyspell-accept-buffer-local-defs. - -2005-11-13 Agustin Martin - - * textmodes/flyspell.el (flyspell-notify-misspell): - Fix misspelling of "Misspelling". - (flyspell-process-localwords): New function. - (flyspell-large-region): Call flyspell-process-localwords and - flyspell-delete-region-overlays. - (flyspell-delete-region-overlays): New function. - (flyspell-delete-all-overlays): Call that. - -2005-11-13 Richard M. Stallman - - * help.el (help-for-help-internal): Improve doc of C-h a. - (describe-key): Improve prompt; doc fix. - -2005-11-13 Stefan Monnier - - * vc-svn.el (vc-svn-registered): Catch all errors. - - * cus-dep.el (custom-make-dependencies): Typo. - -2005-11-13 Michael Albinus - - * net/tramp-util.el (top): Fix compilation warning. - -2005-11-13 Kim F. Storm - - * help.el (help-for-help-internal): Fix `a' entry. Add `d' entry. - -2005-11-13 Nick Roberts - - * progmodes/gud.el (gud-menu-map): Move parentheses (again). - (gud-speedbar-buttons): Match on "const char *" too. - - * progmodes/gdb-ui.el (gdb-var-create-handler) - (gdb-var-list-children-handler): Match on "const char *" too. - (gdb-var-evaluate-expression-handler): Match on empty string. - (gdb-var-update-handler): Only call - gdb-var-evaluate-expression-handler when required. - -2005-11-13 Nick Roberts - - * progmodes/gud.el (gud-menu-map): Revert to window-fringes for - selected window. This still doesn't work for speedbar. - (gud-speedbar-buttons): Handle string expressions properly. - - * progmodes/gdb-ui.el (gdb-var-evaluate-expression-handler) - (gdb-var-create-handler): Handle string expressions properly. - (gdb-var-list-children-regexp, gdb-var-list-children-handler): - Handle string expressions properly. Move "type" field into regexp. - -2005-11-12 Karl Fogel - - * bookmark.el (bookmark-maybe-message): New function to reduce - code duplication: invokes `message' iff baud-rate is high enough. - (bookmark-write-file): Use above instead of an inline conditional. - (bookmark-load): Same. - -2005-11-12 Karl Fogel - - * bookmark.el (bookmark-write-file): Don't visit the destination - file, just write the data to it using write-region. This is - similar to saveplace.el at 2005-05-29T08:36:26Z!rms@gnu.org, but with an additional - change to avoid visiting the file in the first place. - -2005-11-12 Chong Yidong - - * hi-lock.el (hi-lock-mode): Set the default value of - font-lock-defaults. - -2005-11-11 Luc Teirlinck - - * find-lisp.el (find-lisp-find-dired-insert-file): Pass `string' - arg to `file-attributes'. - (find-lisp-format): The UID and GID can now be strings. - -2005-11-12 Kim F. Storm - - * help.el (help-map): Bind C-h d to apropos-documentation. - - * simple.el (what-cursor-position): Print (EOB) instead of (100%) - when point is at end-of-buffer. - - * apropos.el (apropos-match-face): Doc fix. - (apropos-sort-by-scores): Add new choice `verbose'. - (apropos-documentation-sort-by-scores): New defcustom. - (apropos-pattern): Now contains the pattern entered by the user. - (apropos-pattern-quoted): New defvar. - (apropos-regexp): New defvar, containing the regexp corresponding - to apropos-pattern. - (apropos-all-words-regexp): Rename from apropos-all-regexp. - (apropos-read-pattern): New defun. Use it to read pattern arg in - interactive calls; returns list of words for a word list, and - string for a regexp. - (apropos-parse-pattern): Rename from apropos-rewrite-regexp. Now - parses a list of words or regexp as returned by apropos-read-pattern. - (apropos-calc-scores): Return nil if apropos-regexp doesn't match. - (apropos-score-doc): Return a very high score if the string - entered by the user matches literally. - (apropos-variable): Doc fix. Use apropos-read-pattern. - (apropos-command): Doc fix. Use apropos-read-pattern and - apropos-parse-pattern. Call apropos-print with nosubst=t. - (apropos, apropos-value): Doc fix. Use apropos-read-pattern and - apropos-parse-pattern. - (apropos-documentation): Doc fix. Use apropos-read-pattern and - apropos-parse-pattern. Locally bind apropos-sort-by-scores to - apropos-documentation-sort-by-scores. Call apropos-print with - nosubst=t. - (apropos-documentation-internal): Pass doc string through - substitute-key-definition before adding text properties. - Highlight substring matching literal user input if possible. - (apropos-documentation-check-doc-file): Remove locals beg and end. - Fix calculation of score (as added twice). Pass doc string through - substitute-key-definition before adding text properties. - (apropos-documentation-check-elc-file): Pass doc string through - substitute-key-definition before adding text properties. - Highlight substring matching literal user input if possible. - (apropos-print): Add new arg NOSUBST; if set, command and variable - doc strings have already been passed through substitute-key-definition. - Add code to handle apropos-accumulator items without score element - for backwards compatibility (e.g. with woman package). - Only show scores if apropos-sort-by-scores is `verbose'. - -2005-11-10 Stefan Monnier - - * jka-cmpr-hook.el (jka-compr-install): Use push and dolist. - Add jka-compr-load-suffixes to load-suffixes. - - * jka-compr.el: Require jka-cmpr-hook. - (jka-compr-info-compress-message, jka-compr-info-compress-program) - (jka-compr-info-compress-args, jka-compr-info-uncompress-message) - (jka-compr-info-uncompress-program, jka-compr-info-uncompress-args) - (jka-compr-info-can-append, jka-compr-info-strip-extension) - (jka-compr-info-file-magic-bytes, jka-compr-get-compression-info) - (jka-compr-info-regexp): Remove. Provided by jka-cmpr-hook. - (jka-compr-uninstall): Remove entries from - jka-compr-added-to-file-coding-system-alist after they are used. - (jka-compr-error): Remove unused var `curbuf'. - (jka-compr-file-local-copy): Remove unused var `notfound'. - -2005-11-10 Romain Francoise - - * apropos.el (apropos-calc-scores): Use `apropos-pattern'. - -2005-11-11 Nick Roberts - - * progmodes/gud.el (gud-menu-map): Move parentheses. - (gdb): New command gud-pv. - -2005-11-10 Stefan Monnier - - * tar-mode.el: Remove spurious or unnecessary leading stars - in docstrings. - (tar-header-block-tokenize): Also obey default-file-name-coding-system. - (tar-parse-octal-integer-safe): Use mapc. - (tar-header-block-summarize): Remove unused var `ck'. - (tar-summarize-buffer): Don't clear the modified-p bit if it wasn't - cleared before. Obey default-enable-multibyte-characters. - Use mapconcat. Simplify setting of tar-header-offset. - (tar-mode-map): Move initialization inside delcaration. - (tar-flag-deleted): Use `abs'. - (tar-expunge-internal): Remove unused var `line'. - (tar-expunge-internal): Don't hardcode point-min==1. - (tar-expunge): Widen while doing set-buffer-multibyte. - (tar-rename-entry): Use file-name-coding-system. - (tar-alter-one-field): Don't hardcode point-min==1. - (tar-subfile-save-buffer): string-as-unibyte works on unibyte strings. - (tar-pad-to-blocksize): Don't hardcode point-min==1. Clarify the code. - -2005-11-10 Masatake YAMATO - - * add-log.el (add-log-current-defun): Handle class::method - notation of c++. Fix incorrect comment. - -2005-11-10 Alan Mackenzie - - * help-fns.el (describe-variable): Make C-h v work when a variable - has variable documentation yet is unbound. - -2005-11-10 Masatake YAMATO - - * man.el (Man-highlight-references): Set an empty - string to `Man-arguments' if it is nil. - Suggested by Reiner Steib . - -2005-11-09 Stefan Monnier - - * Makefile.in (mh-loaddefs.el, loaddefs.el): Better follow the - commenting conventions. - - * cus-dep.el (custom-make-dependencies): Simplify. - Better follow the commenting conventions. - -2005-11-09 Richard M. Stallman - - * apropos.el (apropos-pattern): Rename from apropos-regexp. - (apropos-orig-pattern): Rename from apropos-orig-regexp. - All uses changed. - (apropos-rewrite-regexp): Doc fix. - (apropos-variable, apropos-command, apropos, apropos-value): - Change prompt; carry through the argument renaming. - -2005-11-09 Luc Teirlinck - - * find-lisp.el: Require dired. - (find-lisp-find-dired-internal): Do not call - `abbreviate-file-name' on DIR. - -2005-11-10 Nick Roberts - - * progmodes/gud.el (gdb): Make gud-pp use user-defined command pp1. - -2005-11-09 Nick Roberts - - * progmodes/gud.el (gud-menu-map): Ensure tool-bar is constant - when using the speedbar. - (gdb): New command gud-pp. - (gud-menu-map, gud-tool-bar-map): Put it on the tool bar. - -2005-11-09 Juri Linkov - - * replace.el (occur-excluded-properties): New defcustom. - (occur-1, occur-engine, occur-accumulate-lines): Use it. - -2005-11-08 Jay Belanger - - * calc/calc-units.el (math-convert-units): Replace any composite - unit by its definition. - -2005-11-08 Lars Hansen - - * emacs-lisp/autoload.el (update-directory-autoloads): - Add obsolete function alias. - -2005-11-07 Stefan Monnier - - * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't set - comment-indent-function. - (lisp-comment-indent): Replace by an alias for comment-indent-default. - - * reveal.el (reveal-post-command): Rework the handling of - reveal-open-spots, so as to be more reliable. There were several - tricky corner cases where an open spot might be lost, or where - a closed spot might end up on the list of open spots. - Only reveal text that's ellipsised. - -2005-11-07 Carsten Dominik - - * textmodes/org.el (org-export-as-html): Remove bogus (debug) form. - -2005-11-07 John Paul Wallington - - * ibuffer.el (ibuffer): Search iconified frames too when - getting Ibuffer buffer's window. - -2005-11-06 Richard M. Stallman - - * progmodes/compile.el (compilation-internal-error-properties): - save-excursion around the computation of MARKER. - -2005-11-06 Piet van Oostrum - - * textmodes/flyspell.el (flyspell-external-point-words): - flyspell-get-word returns a list, not just a string. - -2005-11-06 John Paul Wallington - - * ibuffer.el (ibuffer): Search all visible frames when getting - Ibuffer buffer's window. - -2005-11-07 Masatake YAMATO - - * man.el (Man-reference-regexp): Accept spaces between - `Man-name-regexp' and `Man-section-regexp'. - (Man-apropos-regexp): New variable. - (Man-abstract-xref-man-page): Use value for `Man-target-string' - if available. - (Man-highlight-references, Man-highlight-references0): - Handle the case when `Man-arguments' includes "-k". - (Man-highlight-references0): Rename the argument `TARGET-POS' to - `TARGET'. `TARGET' can be a number, function or nil. - -2005-11-06 Nick Roberts - - * progmodes/gdb-ui.el (gdb-var-create-handler, gdb-var-delete) - (gdb-edit-value, gdb-speedbar-expand-node, gdb-get-create-buffer) - (gdb-breakpoints-mode, gdb-toggle-breakpoint, gdb-delete-breakpoint) - (gdb-goto-breakpoint, gdb-frames-mode, gdb-registers-mode) - (gdb-locals-mode, gdb-find-file-hook): Use buffer-local-value. - (gdb-send-item): Use buffer-local-value and simplify. - -2005-11-05 Luc Teirlinck - - * startup.el (command-line): Use `custom-reevaluate-setting' for - `global-font-lock-mode'. - - * font-core.el (global-font-lock-mode): Enable `global-font-lock-mode' - by default, except in batch mode or when the -D option is given. - - * emacs-lisp/easy-mmode.el (define-global-minor-mode): Pass all - specified keyword args on to `define-minor-mode'. Update docstring. - -2005-11-05 Romain Francoise - - * replace.el (occur-engine): Add marker at end of line, too. - -2005-11-04 Ken Manheimer - - * pgg-pgp.el (pgg-pgp-encrypt-region, pgg-pgp-decrypt-region) - (pgg-pgp-encrypt-symmetric-region, pgg-pgp-encrypt-symmetric) - (pgg-pgp-encrypt, pgg-pgp-decrypt-region, pgg-pgp-decrypt) - (pgg-pgp-sign-region, pgg-pgp-sign): Add optional PASSPHRASE - argument to all these routines, so the passphrase can be managed - externally and passed in to the system. - (pgg-pgp-decrypt-region, pgg-pgp-sign-region): Use new name for - pgg-add-passphrase-to-cache function. - - * pgg-pgp5.el (pgg-pgp5-encrypt-region, pgg-pgp5-decrypt-region) - (pgg-pgp5-encrypt-symmetric-region, pgg-pgp5-encrypt-symmetric) - (pgg-pgp5-encrypt, pgg-pgp5-decrypt-region, pgg-pgp5-decrypt) - (pgg-pgp5-sign-region, pgg-pgp5-sign): Add optional PASSPHRASE - argument to all these routines, so the passphrase can be managed - externally and passed in to the system. - (pgg-pgp5-sign-region): Use new name of pgg-add-passphrase-to-cache - function. - -2005-11-04 Dan Nicolaescu - - * font-lock.el: Don't deal with font-lock-face-attributes here, - move the code ... - - * startup.el (command-line): ... here. Use face-spec-set instead - of custom-declare-face. - - * faces.el (face-spec-set): Reset the face if spec is not nil. - -2005-11-04 Stefan Monnier - - * newcomment.el (comment-region-internal): Box more tightly in the - common case where there's no TAB in the boxed text. - -2005-11-04 Jan Dj,Ad(Brv - - * info.el (info-tool-bar-map): Use images prev-node, next-node and - up-node. - -2005-11-04 Ulf Jasper - - * net/newsticker.el: Commentary updated. Code formatting changed. - (newsticker-version): Change to "1.9". - (newsticker, newsticker-feed): Doc fix. - (newsticker-url-list): Doc fix. Add option "Weekly". - (newsticker-retrieval-interval): Add option "Weekly". - (newsticker-headline-processing): Doc fix. - (newsticker-auto-mark-filter): Remove. - (newsticker-auto-mark-filter-list): New. - (newsticker-layout, newsticker-sort-method): Doc fix. - (newsticker-hide-old-items-in-newsticker-buffer) - (newsticker-heading-format, newsticker-item-format) - (newsticker-desc-format): Doc fix. - (newsticker-show-all-rss-elements): Remove. - (newsticker-show-all-news-elements): New. - (newsticker-faces, newsticker-ticker): Doc fix. - (remove-from-invisibility-spec): Code formatting. - (newsticker--process-ids): New. - (newsticker-mode): Doc fix. - (newsticker-mode): Change mode-line-format. - (newsticker-start): Remove debug output. - (newsticker-start-ticker): Doc fix. Add autoload cookie. - (newsticker-w3m-show-inline-images): Code formatting. - (newsticker-next-item): Call `force-mode-line-update'. - (newsticker-previous-item): Call `force-mode-line-update'. - (newsticker-next-feed): Call `force-mode-line-update'. - (newsticker-previous-feed): Call `force-mode-line-update'. - (newsticker-mark-all-items-at-point-as-read): Code formatting. - (newsticker-show-old-items): Do not show descs. - (newsticker-hide-entry): Hide too much. - (newsticker-hide-entry, newsticker-show-entry) - (newsticker-toggle-auto-narrow-to-feed): Code formatting. - (newsticker-set-auto-narrow-to-feed): Update buffer immediately. - (newsticker-toggle-auto-narrow-to-item): Code formatting. - (newsticker-set-auto-narrow-to-item): Update buffer immediately. - (newsticker-running-p, newsticker-ticker-running-p): Autoload cookie. - (newsticker-get-news): Call `force-mode-line-update'. - Collect process ids. - (newsticker--sentinel): Change coding system handling. - Move image retrieval to new functions newsticker--get-logo-url-*. - Move feed parsing to new functions newsticker--parse-*. - Update list of process ids. - (newsticker--get-logo-url-atom-1.0, newsticker--get-logo-url-atom-0.3) - (newsticker--get-logo-url-rss-2.0, newsticker--get-logo-url-rss-1.0) - (newsticker--get-logo-url-rss-0.92, newsticker--get-logo-url-rss-0.91) - (newsticker--parse-atom-0.3, newsticker--parse-atom-1.0) - (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92) - (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0) - (newsticker--parse-generic-feed, newsticker--parse-generic-items): New. - (newsticker--decode-coding-string): Remove. - (newsticker--decode-numeric-entities): Check input. Format code. - (newsticker--remove-whitespace): Check input. - (newsticker--do-forget-preformatted): Doc fix. - (newsticker--decode-rfc822-date): Allow for missing time. - (newsticker--update-process-ids): New. - (newsticker--image-sentinel): Change comment. - (newsticker--image-read): Change error message. - (newsticker--imenu-goto): Doc fix. Show headline title. - (newsticker--buffer-set-uptodate): Call `force-mode-line-update'. - (newsticker--buffer-do-insert-text): Clean whitespace in - html-rendered headline title. Code formatting. - Call `newsticker--buffer-print-extra-elements'. - (newsticker--buffer-print-extra-element): Remove. - (newsticker--buffer-print-extra-elements): New. - (newsticker--buffer-do-print-extra-element): New. - (newsticker--buffer-insert-enclosure): Doc fix. Use MBytes for - large sizes. - (newsticker--run-auto-mark-filter) - (newsticker--do-run-auto-mark-filter): - Use `newsticker-auto-mark-filter-list'. - -2005-11-04 Ryan Yeske - - * net/rcirc.el: Use split-string OMIT-NULLS argument. - (rcirc-print): Force redisplay before running hooks. Do long - buffer truncation after making new text read-only. Deal with nil - text when decoding strings. If TARGET is nil, use either the - currently selected buffer, if it is an rcirc buffer and of the - same process or the process buffer. - (rcirc-mode): Remove header-line. Recompute short buffer names. - Initialize rcirc-buffer-alist here instead of rcirc-get-buffer-create. - (rcirc-short-buffer-name): Add variable. - (rcirc-kill-buffer-hook): Recompute short buffer names. - Remove nick from private channel. - (rcirc-send-input): Send command text to current-buffer. - Don't clear overlay arrow here. - (rcirc-short-buffer-name): Return a short buffer name. - (rcirc-update-short-buffer-names, rcirc-abbreviate) - (rcirc-rebuild-tree, rcirc-make-trees): Add functions to generate - buffer-name abbreviations. - (rcirc-kill-buffer-hook-1): Split to make debugging easier. - Do not touch nick-table when killing a parted channel. - (rcirc-window-configuration-change): Rename from rcirc-update-activity. - Clear arrow from current buffer if it is now hidden. - (rcirc-current-buffer): Add variable. - (rcirc-my-nick, rcirc-other-nick, rcirc-server) - (rcirc-nick-in-message, rcirc-prompt, rcirc-mode-line-nick): - Remove -face from names. - (rcirc-update-activity-string): Print "DND" when globally ignoring - activity. - (rcirc-ignore-buffer-activity-flag): Rename from - rcirc-ignore-channel-activity. - (rcirc-ignore-all-activity-flag): Doc fix. - (rcirc-channels): Remove variable. - (rcirc-kill-buffer-hook): - (rcirc-get-buffer-create): Add nick to private channel. - (rcirc-multiline-edit-submit): Remove tabs. - (rcirc-put-nick-channel, rcirc-channel-nicks): Look up nicks case - folded. - (rcirc-remove-nick-channel): Bug fix. - (rcirc-toggle-ignore-buffer-activity): Rename from - rcirc-toggle-ignore-channel-activity. - (rcirc-record-activity): Add buffers to the front of the list. - (rcirc-update-activity): Remove killed buffers from list. - (rcirc-process-server-response-1): Remove last argument if it is - null before calling handler. - (rcirc): Add "rcirc" defcustom prefix. - (rcirc-prompt): Simplify default prompt. - Use custom-initialize-default. - (rcirc-private-chats): Remove variable. - (rcirc-prompt): Change initialization. - (rcirc-version): Remove function. - (rcirc-id-string): Add constant. - (rcirc-last-buffer): Remove variable. - (rcirc-buffer-alist): Add variable. - (rcirc-connect): Update variable setup. - (rcirc-sentinel, rcirc-update-prompt): Use `rcirc-buffer-alist'. - (rcirc-trap-errors-flag): Rename from `rcirc-trap-errors' change - default. - (rcirc-handler-generic): Trigger activity. - (rcirc-send-message): Create the buffor of the target. - (rcirc-generate-new-buffer-name): Rename from `rcirc-get-buffer-name'. - (rcirc-get-buffer): Just return nil if there is no matching buffer. - (rcirc-multiline-edit-cancel): Remove function. - (rcirc-set-last-buffer): Remove function. - (rcirc-get-any-buffer): Add function. - (rcirc-join-channels): Don't print /join text. - (rcirc-toggle-ignore-channel-activity): Add and update echo area - messages. - (rcirc-cmd-ctcp): Use rcirc-send-string to send request. - (rcirc-handler-NOTICE): Recognize CTCP responses. - (rcirc-handler-332, rcirc-handler-332): Use a temp buffer for - constructing TOPIC string for buffers we are not JOINed. - (rcirc-handler-CTCP-response): Add handler. - (rcirc-multiline-edit-submit): Restore the window-configuration - before adjusting point. - (rcirc): Add customization group. - (rcirc-server, rcirc-port, rcirc-nick, rcirc-user-name) - (rcirc-user-full-name, rcirc-startup-channels-alist) - (rcirc-fill-flag, rcirc-fill-column, rcirc-fill-prefix) - (rcirc-ignore-all-activity-flag, rcirc-time-format) - (rcirc-input-ring-size, rcirc-read-only-flag) - (rcirc-buffer-maximum-lines, rcirc-authinfo-file-name) - (rcirc-auto-authenticate-flag, rcirc-prompt, rcirc-print-hooks): - Change defvar to defcustom. - (rcirc-update-prompt): Add optional ALL arg, which will update - prompts in all rcirc buffers. Regexp quote replacement text. - (rcirc-fill-column): Accept frame-width as a value. - (rcirc-set-changed): Add function. - (rcirc-next-active-buffer): Write more meaningful messages. - (rcirc-faces): Add customization group. - (rcirc-my-nick-face, rcirc-other-nick-face, rcirc-server-face) - (rcirc-nick-in-message-face, rcirc-prompt-face) - (rcirc-mode-line-nick-face): Move into rcirc-faces group. - (with-rcirc-process-buffer): Move before first usage. - (rcirc-debug-buffer): Rename from `rcirc-log-buffer'. - (rcirc-debug-flag): Rename from `rcirc-log-p'. - (rcirc-debug): Rename from `rcirc-log'. - (rcirc-format-response-string): Do not print `-' chars for a - NOTICE with no sender. Simplify output of server responses. - -2005-11-04 Henrik Enberg - - (rcirc-browse-url-map, rcirc-browse-url-at-point) - (rcirc-browse-url-at-mouse, rcirc-mangle-text): - Make urls mouse and RET clickable. - -2005-11-04 Henrik Enberg - - * mail/rmailout.el (rmail-output-to-rmail-file, rmail-output): Doc fix. - -2005-11-04 Ken Manheimer - - * pgg-pgp.el (pgg-pgp-encrypt-region, pgg-pgp-decrypt-region) - (pgg-pgp-encrypt-symmetric-region, pgg-pgp-encrypt-symmetric) - (pgg-pgp-encrypt, pgg-pgp-decrypt-region, pgg-pgp-decrypt) - (pgg-pgp-sign-region, pgg-pgp-sign): Add optional PASSPHRASE - argument to all these routines, so the passphrase can be managed - externally and passed in to the system. - (pgg-pgp-decrypt-region, pgg-pgp-sign-region): Use new name for - pgg-add-passphrase-to-cache function. - - * pgg-pgp5.el (pgg-pgp5-encrypt-region, pgg-pgp5-decrypt-region) - (pgg-pgp5-encrypt-symmetric-region, pgg-pgp5-encrypt-symmetric) - (pgg-pgp5-encrypt, pgg-pgp5-decrypt-region, pgg-pgp5-decrypt) - (pgg-pgp5-sign-region, pgg-pgp5-sign): Add optional PASSPHRASE - argument to all these routines, so the passphrase can be managed - externally and passed in to the system. - (pgg-pgp5-sign-region): Use new name of pgg-add-passphrase-to-cache - function. - -2005-11-04 Edward O'Connor (tiny change) - - * net/goto-addr.el (goto-address-url-regexp): Remove `data:' URLs - from goto-address-url-regexp. - -2005-11-04 Carsten Dominik - - * textmodes/org.el (org-read-date, org-goto-calendar) - (org-recenter-calendar, org-agenda-goto-calendar): - Temporarily clear `calendar-move-hook'. - -2005-11-04 Michael Kifer - - * ediff-merg.el (ediff-merge-region-is-non-clash): - Return t, if not merging. - - * ediff-util.el (ediff-previous-difference): Don't skip regions that - have merge clashes. - -2005-11-04 YAMAMOTO Mitsuharu - - * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event): - Undo previous change. - - * startup.el (command-line): Use `custom-reevaluate-setting' for - mouse-wheel-down-event and mouse-wheel-up-event. Don't call - tty-register-default-colors on Mac. - -2005-11-04 Nick Roberts - - * progmodes/gdb-ui.el (gdb-buffer-type): Remove duplicate declaration. - (gdb-buffer-type): Make it automatically buffer local... - (gdb-get-create-buffer): ...and set it accordingly. - (gdb-frame-gdb-buffer, gdb-display-gdb-buffer): Make these - actually work. - -2005-11-03 Dan Nicolaescu - - * font-lock.el (font-lock-warning-face): Use the more vivid red1, - not red. - -2005-11-04 Nick Roberts - - * progmodes/gdb-ui.el (gud-watch): Use save-selected-window in - case GUD buffer is not visible. - (gdb-goto-breakpoint): Try to force display in source buffer. - (gdb-frame-gdb-buffer): Copy other similar functions. - (gdb-restore-windows): Don't display source if not asked for. - (gdb-assembler-buffer-name): Don't capitalise. - -2005-11-03 Richard M. Stallman - - * wid-edit.el (key-sequence): New widget type. - - * simple.el (set-mark-command-repeat-pop): New variable. - (set-mark-command): Only interpret plan C-@ after a pop as a pop - if set-mark-command-repeat-pop is true. - - * info.el (Info-fontify-node): Don't display extra "see" if there - already is one here. - - * mouse.el: Fix special handling of DEL after dragging a region: - (mouse-drag-region-1): Treat mouse-set-region like mouse-set-point. - (mouse-region-delete-keys): Change to defcustom. Add [backspace]. - - * mail/feedmail.el: Use insert-buffer-substring, not insert-buffer. - - * textmodes/ispell.el (ispell-command-loop): Change `i' description - not to assume it pertains to an affix. - - * textmodes/flyspell.el (flyspell-post-command-hook): - Bind deactivate-mark to prevent deactivation. - -2005-11-03 Lars Hansen - - * dired-x.el: Add menu bindings for dired-do-find-marked-files, - dired-do-relsymlink, dired-flag-extension, dired-mark-extension, - dired-mark-omitted, dired-do-relsymlink-regexp, dired-omit-mode. - -2005-11-03 Romain Francoise - - * net/eudcb-mab.el: Now part of GNU Emacs. Update FSF's address. - Update copyright years. - -2005-11-03 Sam Steingold - - * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event): - Use system-type instead of window-system because window-system is not - correctly defined during loadup. - -2005-11-02 Mark A. Hershberger - - * xml.el (xml-syntax-table): Allow xml.el to compile in XEmacs. - (xml-parse-tag): Join strings separated by a comment properly. - -2005-11-02 Andreas Schwab - - * emacs-lisp/byte-opt.el (byte-optimize-pure-func): Fix last fix. - -2005-11-02 Stefan Monnier - - * emacs-lisp/byte-opt.el (string-to-syntax): Mark it as pure. - (byte-optimize-pure-func): Quote the eval'd value. - - * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs): - Rename from perl-font-lock-syntactic-face-function. - Change the calling convention so it can be used as a font-lock MATCHER. - Do the parse-partial-sexp loop outselves. - (perl-font-lock-syntactic-keywords): Use it. - (perl-mode): Don't set font-lock-syntactic-face-function any more. - -2005-11-02 Nick Roberts - - * progmodes/gdb-ui.el (gdb-mouse-until): Make it work in the - disassembly buffer too. - (gdb-exited): Remove overlay arrows when execution has finished. - (gdb-info-frames-custom, gdb-info-threads-custom) - (gdb-info-registers-custom): Don't add inappropriate text - properties if inferior is not active. - -2005-11-02 Glenn Morris - - * progmodes/fortran.el (fortran-blink-match): - Use `blink-matching-delay'. - -2005-11-02 John Mongan (tiny change) - - * progmodes/f90.el (f90-match-end): Use `blink-matching-delay'. - -2005-11-02 Lars Hansen - - * net/tramp.el (tramp-action-out-of-band): Handle scp message - "Permission denied". - -2005-11-01 Richard M. Stallman - - * textmodes/flyspell.el (flyspell-external-point-words): - Pass nil to flyspell-get-word. - -2005-11-02 Kim F. Storm - - * menu-bar.el (menu-bar-options-menu): Show "Shift Movement (CUA)" - item instead of "C-x/C-c/C-v (CUA)" if cua-enable-cua-keys is nil. - -2005-11-01 Stefan Monnier - - * calendar/cal-menu.el (date, event): Don't declare as dynamic-var. - (calendar-mouse-holidays, calendar-mouse-view-diary-entries) - (calendar-mouse-print-dates): Add optional `event' argument. - Update interactive-spec. - (calendar-mouse-cal-tex-menu, cal-tex-mouse-filofax): - Use `calendar-event-to-date' instead of `event'. - -2005-11-02 Masatake YAMATO - - * progmodes/ld-script.el (ld-script-builtins): - Add more words: "DATA_SEGMENT_ALIGN", "DATA_SEGMENT_END", - "DATA_SEGMENT_RELRO_END", "LENGTH", "ORIGIN", and "SEGMENT_START". - (auto-mode-alist): Accept .ld, .lds, ld.in and .lds.in. - -2005-11-01 Romain Francoise - - * vc-sccs.el: Update copyright year. - * ezimage.el: Likewise. - -2005-11-01 KOBAYASHI Yasuhiro (tiny change) - - * info.el (Info-fontify-node): Use `string-width' for fontifying - underlined titles. - -2005-11-01 Juri Linkov - - * info.el (Info-fontify-node): Downcase node header keywords Node, - Prev, Next, Up before comparison. - (Info-history): Insert absolute directory name, and put invisible - property on it. - -2005-11-01 Juri Linkov - - * info.el (Info-file-supports-index-cookies): New variable. - (Info-find-node-2): Check makeinfo version for index cookie support. - (Info-index-nodes): Search for nodes with index cookies only when - Info-file-supports-index-cookies is t. Otherwise, search nodes - with "Index" in the node name. - (Info-index-node): Search index cookie in the current node only when - Info-file-supports-index-cookies is t. Otherwise, check the word - "Index" in the node name. - (Info-find-emacs-command-nodes): Remove code that searches nodes - with "Index" node name in the top menu. - -2005-11-01 Stefan Monnier - - * progmodes/scheme.el (scheme-mode-variables): Use the default - comment-indent-function. - - * faces.el (face-attribute): Handle the case where a face inherits from - a non-existent face. - - * simple.el (eval-expression-print-format): Use lisp-readable syntax - for octal and hexa output, and merge the char into the paren. - (kill-new): Use push. - (copy-to-buffer): Use with-current-buffer. - (completion-setup-function): Move code in loop to remove redundancy. - (minibuffer-local-must-match-map): Don't add bindings that duplicate - those inherited from minibuffer-local-completion-map. - - * savehist.el (savehist-mode) : - Use custom-set-minor-mode if available. - (savehist-mode) : Run the minor mode hook, set the custom state - and emit a message if applicable. - -2005-11-01 Hrvoje Niksic - - * savehist.el: Sync up to version 19. - (savehist-mode): New minor mode. - (savehist-file): Use ~/.emacs.d or ~/.xemacs if available. - (savehist-length): Remove (use history-length instead). - (savehist-file-modes): Rename from savehist-modes. - (savehist-save-hook, savehist-loaded): New vars. - (savehist-load): Use savehist-mode. Try to smooth up transition from - old format to new format. - (savehist-install): Allow savehist-autosave-interval to be nil. - (savehist-save): Run the new hook. Be more careful to only trim the - history variables. - (savehist-trim-history): New fun. Replaces savehist-process-for-saving. - (savehist-printable): Print into a buffer rather than char-by-char. - -2005-11-01 John Wiegley - - * iswitchb.el (iswitchb-define-mode-map): Re-enable the - toggle-ignore keybinding (C-a). The author said it had been - disabled much earlier due to a possible incompatibility, but after - many months of usage I have encountered no problems (and it is a - rather useful option, especially for switching to " *temp*"). - - * net/eudcb-mab.el (eudc-mab-query-internal): Add backend - support for OS/X's AddressBook, by calling out to the open source - program "contacts" (installable through Fink). - - * net/eudc.el (eudc-expand-inline): If the - `eudc-multiple-match-handling-method' is set to `all', delete the - query string before inserting the query result. - - * eshell/em-ls.el (eshell-do-ls): Add no-op support for --dired - flag, to prevent Eshell from using the system ls when - `eshell-ls-insert-directory' is in used. - (eshell-ls-insert-directory): Disable font-lock in directory - buffer so that Eshell's own fontification is seen. This broke - recently due to changes in font-lock, so this goes back to version - 21 behavior. - -2005-11-01 Nick Roberts - - * progmodes/gdb-ui.el (gdb-use-inferior-io-buffer): New function. - (menu, toggle-gdb-use-inferior-io-buffer): Get rid of defadvice. - (gdb-many-windows): Doc fix. - -2005-10-31 Romain Francoise - - * help-fns.el (describe-simplify-lib-file-name): Add autoload cookie. - -2005-10-31 Dan Nicolaescu - - * loadup.el: Load emacs-lisp/syntax, font-lock and jit-lock so - that global-font-lock-mode can be enabled by default. - - * font-lock.el (font-lock-keywords, font-lock-mode-internal) - (font-lock-add-keywords, font-lock-remove-keywords) - (font-lock-fontify-buffer): Remove autoload cookies. - - * jit-lock.el (jit-lock-register): Likewise. - - * emacs-lisp/syntax.el (syntax-ppss): Likewise. - -2005-10-31 Nick Roberts - - * progmodes/gdb-ui.el (gdb-many-windows): Leave window configuration - intact if there is no gud-comint-buffer. - -2005-10-31 Luc Teirlinck - - * progmodes/gud.el (gud-filter): Use comint-update-fence to delete - old prompt comint-prompt-read-only is t and GDB commands are - issued from tool bar etc. - -2005-10-31 Masatake YAMATO - - * vc.el (vc-directory-exclusion-list): Add "{arch}". - -2005-10-30 Chong Yidong - - * thumbs.el (thumbs-thumbsdir): Default to ~/.emacs.d/thumbs. - (thumbs-thumbsdir): Make .emacs.d if it does not exist. - -2005-10-30 Michael Albinus - - * net/tramp.el (tramp-chunksize): Escape parentheses in docstring - starting at beginning of line. Fontification is messed up when - `open-paren-in-column-0-is-defun-start' set to t. - Reported by John Paul Wallington . - -2005-10-30 Luc Teirlinck - - * comint.el (comint-send-input): Call `comint-update-fence' when - `comint-process-echoes' and `comint-prompt-read-only' are both - non-nil, to avoid leftover read-only newline. - -2005-10-30 Richard M. Stallman - - * textmodes/flyspell.el (flyspell-external-point-words): - Detect when WORD can't be checked properly because - flyspell-get-word finds just part of it, and move on. - - * textmodes/ispell.el (ispell-dictionary-alist-5): Add . as - boundarychar for Polish. - (ispell-dictionary-alist-4): Add . as boundarychar for Italian. - (ispell-dictionary-alist-3): Add . and @ as boundarychars for French. - -2005-10-31 Nick Roberts - - * progmodes/gdb-ui.el (gdb-tooltip-print-1): Fix regexp. - (gdb-registers-font-lock-keywords): Delete. - (gdb-registers-mode): Don't fontify. - (gdb-info-registers-custom): Use text properties instead as, in - future, changed register values will use font-lock-warning-face. - (gdb-local-font-lock-keywords): Rename to... - (gdb-locals-font-lock-keywords): ...for consistency. - -2005-10-30 Andre Spiegel - - * vc.el (vc-switch-backend): Better error message if the buffer is - not visiting a file under version control. - - * vc-cvs.el (vc-cvs-delete-file): Commit the file after removing it. - -2005-10-29 Chong Yidong - - * startup.el (command-line): Use ~/.emacs.d/init.el instead of - ~/.emacs.d/.emacs. - -2005-10-29 Richard M. Stallman - - * replace.el (occur-mode-mouse-goto): Always go to other window. - (occur-mode-goto-occurrence): Always switch in same window. - - * simple.el (undo): Display message at end, not at start. - - * emacs-lisp/timer.el (timer-activate, timer-activate-when-idle): - New arg REUSE-CELL. - (cancel-timer-internal): New function. - (timer-event-handler): Use cancel-timer-internal, - and pass the cell it returns to timer-activate... - - * jit-lock.el (jit-lock-function, jit-lock-stealth-fontify) - (jit-lock-deferred-fontify, jit-lock-context-fontify) - (jit-lock-after-change): Test memory-full. - -2005-10-29 Ken Manheimer - - * pgg-gpg.el (pgg-gpg-select-matching-key): Fix: look at the right - part of the decoded armor to find the key-identifier. - (pgg-gpg-lookup-key-owner): New function to return the - human-readable identifier of a key owner. - (pgg-gpg-lookup-id-from-key-owner): Make it easy to identify the - key itself. - (pgg-gpg-decrypt-region): Prompt with the key owner (rather than - the key value) if we have a key and can match it against a secret - key. Also, added a note pointing out fact that the prompt only - indicates the first matching key. - - * pgg.el (pgg-decrypt): Passing along PASSPHRASE in call to - pgg-decrypt-region. - (pgg-pending-timers): A new hash for tracking the passphrase cache - timers, so that new ones supercede old ones. - (pgg-add-passphrase-to-cache): Rename from - `pgg-add-passphrase-cache' to reduce confusion (all callers - changed). Modified to cancel old timers when new ones are added. - (pgg-remove-passphrase-from-cache): Rename from - `pgg-remove-passphrase-cache' to reduce confusion (all callers - changed). Modified to cancel old timers when their keys are - removed from the cache. - (pgg-cancel-timer): In Emacs, an alias for cancel-timer; in - XEmacs, an indirection to delete-itimer. - (pgg-read-passphrase-from-cache, pgg-read-passphrase): - Extract pgg-read-passphrase-from-cache from pgg-read-passphrase so - users can only check cache without risk of prompting. Correct bug in - notruncate behavior. - (pgg-read-passphrase-from-cache, pgg-read-passphrase) - (pgg-add-passphrase-cache, pgg-remove-passphrase-cache): - Add informative docstrings. - (pgg-decrypt): Convey provided passphrase in subordinate call to - pgg-decrypt-region. - - * pgg.el (pgg-encrypt-region, pgg-encrypt-symmetric-region) - (pgg-encrypt-symmetric, pgg-encrypt, pgg-decrypt-region) - (pgg-decrypt, pgg-sign-region, pgg-sign): Add optional - `passphrase' argument, so the passphrase can be managed externally - and then passed in to the system. - - * pgg.el (pgg-read-passphrase, pgg-add-passphrase-cache) - (pgg-remove-passphrase-cache): Add optional NOTRUNCATE argument, - so the passphrase cache can be used reliably with identifiers - besides a pgp packet's key id. - - * pgg-gpg.el (pgg-pgp-encrypt-region) - (pgg-pgp-encrypt-symmetric-region, pgg-pgp-encrypt-symmetric) - (pgg-pgp-encrypt, pgg-pgp-decrypt-region, pgg-pgp-decrypt) - (pgg-pgp-sign-region, pgg-pgp-sign): Add optional PASSPHRASE - argument to all these routines, so the passphrase can be managed - externally and passed in to the system. - - * pgg-gpg.el (pgg-gpg-possibly-cache-passphrase): Add optional - `notruncate' argument, so the passphrase cache can be used - reliably with identifiers besides a pgp packet's key id. - -2005-10-29 Sascha Wilde - - * pgg-gpg.el (pgg-gpg-encrypt-symmetric-region): New function for - symmetric encryption. - (pgg-gpg-symmetric-key-p): New function to check for an symmetric - encrypted session key. - (pgg-gpg-decrypt-region): When decrypting a symmetric encrypted - message ask for the passphrase in a proper way. - - * pgg.el (pgg-encrypt-symmetric, pgg-encrypt-symmetric-region): - New user commands for symmetric encryption. - -2005-10-29 Roland Winkler - - * textmodes/conf-mode.el (conf-assignment-sign) - (conf-assignment-regexp): Fix docstrings. - (conf-mode-initialize): New function. - (conf-mode): Remove optional args. Use delay-mode-hooks to - recognize recursive calls. - (conf-unix-mode, conf-windows-mode, conf-javaprop-mode) - (conf-space-mode, conf-colon-mode, conf-ppd-mode) - (conf-xdefaults-mode): Use define-derived-mode and - conf-mode-initialize. - -2005-10-29 Romain Francoise - - * help-fns.el (describe-simplify-lib-file-name): Fix regexp. - -2005-10-29 Ken Manheimer - - * pgg-gpg.el (pgg-gpg-select-matching-key): Fix: look at the right - part of the decoded armor to find the key-identifier. - (pgg-gpg-lookup-key-owner): New function to return the - human-readable identifier of a key owner. - (pgg-gpg-lookup-id-from-key-owner): Make it easy to identify the - key itself. - (pgg-gpg-decrypt-region): Prompt with the key owner (rather than - the key value) if we have a key and can match it against a secret - key. Also, added a note pointing out fact that the prompt only - indicates the first matching key. - - * pgg.el (pgg-decrypt): Passing along PASSPHRASE in call to - pgg-decrypt-region. - (pgg-pending-timers): A new hash for tracking the passphrase cache - timers, so that new ones supercede old ones. - (pgg-add-passphrase-to-cache): Rename from - `pgg-add-passphrase-cache' to reduce confusion (all callers - changed). Modified to cancel old timers when new ones are added. - (pgg-remove-passphrase-from-cache): Rename from - `pgg-remove-passphrase-cache' to reduce confusion (all callers - changed). Modified to cancel old timers when their keys are - removed from the cache. - (pgg-cancel-timer): In Emacs, an alias for cancel-timer; in - XEmacs, an indirection to delete-itimer. - (pgg-read-passphrase-from-cache, pgg-read-passphrase): - Extract pgg-read-passphrase-from-cache from pgg-read-passphrase so - users can only check cache without risk of prompting. Correct bug in - notruncate behavior. - (pgg-read-passphrase-from-cache, pgg-read-passphrase) - (pgg-add-passphrase-cache, pgg-remove-passphrase-cache): - Add informative docstrings. - (pgg-decrypt): Convey provided passphrase in subordinate call to - pgg-decrypt-region. - -2005-10-20 Ken Manheimer - - * pgg.el (pgg-encrypt-region, pgg-encrypt-symmetric-region) - (pgg-encrypt-symmetric, pgg-encrypt, pgg-decrypt-region) - (pgg-decrypt, pgg-sign-region, pgg-sign): Add optional - `passphrase' argument, so the passphrase can be managed externally - and then passed in to the system. - - * pgg.el (pgg-read-passphrase, pgg-add-passphrase-cache) - (pgg-remove-passphrase-cache): Add optional NOTRUNCATE argument, - so the passphrase cache can be used reliably with identifiers - besides a pgp packet's key id. - - * pgg-gpg.el (pgg-pgp-encrypt-region) - (pgg-pgp-encrypt-symmetric-region, pgg-pgp-encrypt-symmetric) - (pgg-pgp-encrypt, pgg-pgp-decrypt-region, pgg-pgp-decrypt) - (pgg-pgp-sign-region, pgg-pgp-sign): Add optional PASSPHRASE - argument to all these routines, so the passphrase can be managed - externally and passed in to the system. - - * pgg-gpg.el (pgg-gpg-possibly-cache-passphrase): Add optional - `notruncate' argument, so the passphrase cache can be used - reliably with identifiers besides a pgp packet's key id. - -2005-10-29 Sascha Wilde - - * pgg-gpg.el (pgg-gpg-encrypt-symmetric-region): New function for - symmetric encryption. - (pgg-gpg-symmetric-key-p): New function to check for an symmetric - encrypted session key. - (pgg-gpg-decrypt-region): When decrypting a symmetric encrypted - message ask for the passphrase in a proper way. - - * pgg.el (pgg-encrypt-symmetric, pgg-encrypt-symmetric-region): - New user commands for symmetric encryption. - -2005-10-28 Bill Wohler - - * help-mode.el (help-url): New button type. Calls browse-url. - (help-xref-url-regexp): New regexp to recognize URLs in docstring. - Similar to Info nodes: URL `url'. - (help-make-xrefs): Create help-url buttons for - help-xref-url-regexp matches. - -2005-10-29 Nick Roberts - - * tool-bar.el (tool-bar-add-item-from-menu) - (tool-bar-local-item-from-menu): Fix doc strings. - -2005-10-28 Romain Francoise - - * ldefs-boot.el: Update. - - * subr.el (locate-library): Move from help-fns.el. - * help-fns.el (locate-library): Move to subr.el. - -2005-10-28 Richard M. Stallman - - * net/tramp.el (tramp-completion-mode): defvar moved up. - - * emacs-lisp/easymenu.el (easy-menu-change): Doc fix. - - * tool-bar.el (tool-bar-mode): Delete autoload cookie. - - * files.el (find-file-noselect): Use %d to format large file size. - - * bindings.el (mode-line-format): Add %e. - - * loadup.el ("facemenu"): Load unconditionally. - ("image", "international/fontset", "dnd", "mwheel", "tool-bar"): - ("x-dnd"): Load, when appropriate. - - * startup.el (command-line): Call before-init-hook earlier. - Warn about some bad characters in -u user name. - - * textmodes/flyspell.el (flyspell-large-region): Pass -t if Tex file. - (flyspell-external-point-words): Error if misspelled word is not found. - Set flyspell-large-region-beg at end of word. - -2005-10-28 Andreas Schwab - - * view.el (View-revert-buffer-scroll-page-forward): - Use view-page-size-default. - -2005-10-28 Juri Linkov - - * international/quail.el (quail-get-current-str): Translate last - raw character for deterministic input methods. - -2005-10-27 Jay Belanger - - * calc/calc-ext.el: Add functions to autoloads. - (math-identity-matrix-p, math-ident-row-p): New functions. - - * calc/calc-arith.el (calc-mul-symb-fancy): Add checks for - multiplication by an identity matrix; don't turn multiplication by - an inverse matrix into division. - (math-div-symbol-fancy): Replace division by matrices with - multiplication by inverse. - - * calc/calc-misc.el (calcFunc-inv): Check for symbolic matrices. - - * calc/calc-alg.el (calcFunc-writeoutpower, math-write-out-power) - (calc-writeoutpower): New functions. - -2005-10-27 Romain Francoise - - * replace.el (occur-engine): Include colon in mouse-face highlight. - - * dired-x.el: Change Maintainer field. - -2005-10-26 Chong Yidong - - * longlines.el (longlines-mode): Bind after-change-functions to - nil during initial decoding and final encoding. - -2005-10-26 Dan Nicolaescu - - * term.el (term-emulate-terminal, term-handle-colors-array) - (term-handle-ansi-escape): Specify the terminfo capabilities - implemented. - -2005-10-26 Richard M. Stallman - - * info.el (Info-fontify-node): Fix detection of sentence-break - before *Note. - -2005-10-26 Romain Francoise - - * smerge-mode.el: Add `tools' to file keywords. - -2005-10-26 Nick Roberts - - * progmodes/gud.el (gud-menu-map): Only display gud-until icon - when the fringe is not available. - - * progmodes/gdb-ui.el (def-gdb-auto-updated-buffer) - (def-gdb-auto-update-trigger): Simplify construction. - (gdb-locals-buffer): Use def-gdb-auto-update-trigger instead of - def-gdb-auto-updated-buffer as gdb-info-locals-handler is - defined explicitly. - (gdb-assembler-buffer): Use def-gdb-auto-update-handler instead of - def-gdb-auto-updated-buffer as gdb-invalidate-assembler is - defined explicitly. - (gdb-info-locals-custom): Remove as it's a no-op. - -2005-10-25 Chong Yidong - - * longlines.el (longlines-mode): Remove narrowing before - performing the initial decoding or final encoding. - -2005-10-25 Romain Francoise - - * emacs-lisp/find-func.el (find-library-name): Also strip - extension if library name ends in .el, to take advantage of - `find-library-suffixes'. - -2005-10-25 Richard M. Stallman - - * menu-bar.el (menu-bar-help-menu): Say which kind of therapist. - -2005-10-25 Juri Linkov - - * textmodes/texinfo.el (texinfo-mode): Change charset of one - quotation mark from [mule-unicode-0100-24ff] to [japanese-jisx0208]. - -2005-10-25 Stefan Monnier - - * play/blackbox.el (blackbox-mode-map): Move init into declaration. - (blackbox-redefine-key): Add argument `map'. - - * jit-lock.el (jit-lock-fontify-now): Be careful not to skip multiline - regions when moving the jit-lock-context-unfontify-pos boundary. - -2005-10-25 Reiner Steib - - * net/browse-url.el (browse-url-of-buffer): Add ".html" to filename. - -2005-10-25 Masatake YAMATO - - * dired-x.el (dired-virtual): Don't use `dired-insert-headerline'. - -2005-10-25 Micha,Ak(Bl Cadilhac - - * play/blackbox.el (blackbox-redefine-key): New function. - (blackbox-mode-map): Use it to remap existing bindings for cursor - motion instead of binding literal keys. - -2005-10-25 Glenn Morris - - * calendar/diary-lib.el (diary-list-entries): Prevent infloop when - diary does not end in a newline. Do not assume a blank line at - the start of the diary file. - -2005-10-25 Kenichi Handa - - * international/quail.el (quail-translate-key): If the input - method is deterministic and failed to handle the last key, restart - the key handling loop from an appropriate key. - -2005-10-25 Michael Albinus - - * vc.el (vc-dired-mode): Extend comment for binding of - `directory-listing-before-filename-regexp'. - -2005-10-25 Stefan Monnier - - * textmodes/texinfo.el (texinfo-mode): - * textmodes/paragraphs.el (sentence-end-base): Use real chars, so as - not to unnecessarily expose emacs-mule's internal char codes. - -2005-10-25 Nick Roberts - - * progmodes/gdb-ui.el (gdb-put-breakpoint-icon): Correct help-echo. - Display hand pointer and help-echo on disabled icon too. - (gdb-mouse-until): New function. - (gdb-ann3): Bind it to mouse-2 and drag-mouse-1 in left fringe. - -2005-10-24 Chong Yidong - - * menu-bar.el (menu-bar-help-menu): Rename "psychiatrist", in line - with 2005-10-23 change to doctor.el. - - * finder.el (finder-mode-map): Add follow-link binding. - -2005-10-25 Kim F. Storm - - * progmodes/gdb-ui.el (gdb-ann3): Bind mouse-3 in left fringe - to gdb-mouse-toggle-breakpoint-fringe. - (gdb-mouse-toggle-breakpoint-margin): Rename from - gdb-mouse-toggle-breakpoint. Fix doc. - (gdb-mouse-toggle-breakpoint-fringe): New defun. - (gdb-put-string): Add optional SPROPS arg. Add props to string. - (gdb-put-breakpoint-icon): Add gdb-bptno and gdb-enabled - string properties also for fringe breakpoint bitmaps. - -2005-10-24 Carsten Dominik - - * textmodes/org.el (org-start-icalendar-file): Fix format form. - -2005-10-25 Masatake YAMATO - - * simple.el (completion-common-substring): - Use `completion-common-substring' prior to `completion-base-size'. - -2005-10-24 Hrvoje Niksic - - * savehist.el: Require CL while compiling. - (savehist-history-variables): Remove. - (savehist-save-minibuffer-history, savehist-additional-variables) - (savehist-minibuffer-history-variables): New vars. - (savehist-save): Use them. - (savehist-uninstall, savehist-minibuffer-hook): New funs. - (savehist-install): New fun, extracted from savehist-load. - (savehist-load): Use them. - -2005-10-24 Stefan Monnier - - * emacs-lisp/lisp-mode.el (easy-mmode-define-global-mode): Don't add - a dummy doc-string-elt property. - (defalias, defvaralias, define-category): Add a docstring property. - - * image.el (defimage): - * widget.el (define-widget): - * custom.el (defface, defcustom): Add `doc-string' declaration. - - * emacs-lisp/advice.el (ad-make-advised-definition): Fix arg-order. - (defadvice): Add `doc-string' declaration. - - * emacs-lisp/byte-run.el (macro-declaration-function): - Handle `doc-string' declarations. - (define-obsolete-function-alias, define-obsolete-variable-alias): - Add `doc-string' declaration. - -2005-10-24 Kenichi Handa - - * international/utf-7.el (utf-7): Add autoload cookie. - - * term/x-win.el: Register more Cyrillic characters in x-keysym-table. - -2005-10-24 Eli Zaretskii - - * makefile.w32-in (autoloads): Use "." instead of $(lisp) in the - list of directories passed to batch-update-autoloads. Add "." to - the list of the echoed directories. - - * pgg-def.el: - * pgg-gpg.el: - * pgg-parse.el: - * pgg-pgp.el: - * pgg-pgp5.el: - * pgg.el: Moved here from the gnus subdirectory. - -2005-10-24 Nick Roberts - - * progmodes/gud.el (gud-filter): Bind inhibit-read-only to t - in case comint-prompt-read-only is set to t. - - * progmodes/gdb-ui.el (gdb-send): Bind inhibit-read-only to t - in case comint-prompt-read-only is set to t. - -2005-10-24 Ulf Jasper - - * calendar/icalendar.el (icalendar-version): Increase to 0.13. - Now a string. - (icalendar-import-format): Handle CLASS, STATUS, URL. - Rename `subject' to `summary'. - (icalendar-import-format-summary): Rename from - `icalendar-import-format-subject'. - (icalendar-import-format-url, icalendar-import-format-status) - (icalendar-import-format-class): New variables. - (icalendar--rris): Take variable argument list. - (icalendar--datestring-to-isodate): Remove unnecessary - calendar-style check when converting dates with explicit month names. - (icalendar-export-region): Change return type of conversion - subroutines. Bury current buffer unless error occurred. - (icalendar--convert-to-ical) - (icalendar--parse-summary-and-rest): New functions. - (icalendar--convert-ordinary-to-ical) - (icalendar--convert-weekly-to-ical) - (icalendar--convert-yearly-to-ical) - (icalendar--convert-block-to-ical) - (icalendar--convert-cyclic-to-ical) - (icalendar--convert-anniversary-to-ical): Change return type. - Strip trailing blanks from subject. - (icalendar--convert-sexp-to-ical): Change return type. - Strip trailing blanks from subject. Handle simple sexp - entries as generated by icalendar.el. - (icalendar--convert-float-to-ical) - (icalendar--convert-date-to-ical): Strip trailing blanks from subject. - (icalendar-import-file): Doc fix. - (icalendar--format-ical-event): Handle CLASS, STATUS, URL. - Correct call to icalendar--rris. - (icalendar--convert-ical-to-diary): Doc fix. Rename `subject' to - `summary'. - (icalendar--add-diary-entry): Rename `subject' to `summary'. - -2005-10-24 Romain Francoise - - * server.el (server-sentinel): Set query-on-exit flag to nil on - new client processes (it isn't inherited from the server process). - - * replace.el (occur-engine): Rearrange text properties. - -2005-10-23 Stefan Monnier - - * emacs-lisp/debug.el (debugger-make-xrefs): Don't assume - case-fold-search is nil. - (debug-help-follow): Use help-xref-interned directly. - -2005-10-23 Chong Yidong - - * thumbs.el (thumbs-image-type): Add .pbm. - -2005-10-23 Richard M. Stallman - - * faces.el (inhibit-face-set-after-frame-default): New variable. - (set-face-attribute): Bind it. - (face-set-after-frame-default): Test it. - - * help-fns.el (describe-simplify-lib-file-name): New function. - (describe-function-1, describe-variable): Use it. - - * faces.el (describe-face): Use describe-simplify-lib-file-name. - - * tooltip.el (tooltip-x-offset, tooltip-y-offset): Change defaults. - Eliminate nil as possible value. - (tooltip-hide-delay): Reduce internal-border-width. - - * menu-bar.el (menu-bar-file-menu) : Change help-echo string. - (menu-bar-file-menu) : Likewise. - - * simple.el (line-move-finish): Ignore fields computing LINE-END. - - * international/mule.el (load-with-code-conversion): - Pass full file name to `eval-buffer' unless preloading. - - * textmodes/flyspell.el (flyspell-large-region): - Call ispell-check-version. - - * textmodes/ispell.el (ispell-local-dictionary-overridden): - Fix the make-variable-buffer-local call that was supposed - to be for this variable. - (ispell-aspell-supports-utf8): Doc fix. - (ispell-find-aspell-dictionaries): Preserve elements of - ispell-dictionary-alist for dictionaries that aspell doesn't report. - (ispell-aspell-find-dictionary): Return nil on error. - - * play/doctor.el (doctor-doc): Don't say "psychiatrist". - (doctor-symptoms): Likewise. - - * add-log.el (add-log-current-defun): Clean up handling of DEFUNs. - -2005-10-23 Chong Yidong - - * cus-edit.el (custom-button, custom-button-pressed): New vars. - (custom-raised-buttons): Add :set spec. - (custom-button-unraised, custom-button-pressed-unraised): - New faces, so that custom-raised-buttons actually does something. - (custom-mode): Use custom-button and custom-button-pressed. - - * wid-edit.el (widget-specify-button): Don't ignore - widget-mouse-face on graphic terminals. - (widget-move-and-invoke): Cleanup. - -2005-10-23 Thien-Thi Nguyen - - * whitespace.el (whitespace-cleanup): Doc fix. - -2005-10-23 Romain Francoise - - * emulation/viper.el (viper-set-hooks): Quote forms passed to - `eval-after-load' to avoid evaluating their result. - -2005-10-23 Michael Albinus - - * files.el (directory-listing-before-filename-regexp): - New defvar. Replaces `dired-move-to-filename-regexp' from dired.el. - - * dired.el (dired-move-to-filename-regexp): Remove. - All occurrences replaced by `directory-listing-before-filename-regexp'. - - * dired-x.el, locate.el, vc.el: - Replace `dired-move-to-filename-regexp' by - `directory-listing-before-filename-regexp'. In vc.el it is - overwritten locally; maybe this can be handled in files.el too. - - * net/ange-ftp.el (ange-ftp-date-regexp): Remove. All occurrences - replaced by `directory-listing-before-filename-regexp'. - -2005-10-23 Andreas Schwab - - * font-lock.el (lisp-font-lock-keywords-2): Add eval-at-startup - and eval-next-after-load. - -2005-10-23 MIYOSHI Masanori (tiny change) - - * mouse.el (mouse-drag-region): If the *Messages* buffer doesn't - exist, create it. - -2005-10-23 Ken Manheimer - - * allout.el: Remove autoloads for mailcrypt and crypt++. - Require pgg, pgg-gpg during compilation. - (allout-version): Increment version number to 2.1, and use a literal - rather than RCS Id. - (allout-default-encryption-scheme): Remove. - (allout-passphrase-verifier-handling) - (allout-passphrase-verifier-string) - (allout-file-passphrase-verifier-string) - (allout-passphrase-hint-string): Rename -key- to -passphrase-. - (allout-passphrase-hint-handling): Rename and simplify. - (allout-init): Use `find-file-hook' if available, otherwise - `find-file-hooks'. - (allout-mode): Use `write-file-functions' if available, otherwise - `local-write-file-hooks' and, instead of making auto-save-hook - buffer local, make the write-file-hook activity contingent to - allout-mode. - (allout-mode): Use key-binding substitution in the docstring. - (allout-kill-line): Spell-out kill ring data structure mutation - instead of using byte-compiler-complaint-provoking `pop'. - (allout-insert-listified): Use `insert' rather than `insert-string' - (allout-toggle-current-subtree-encryption): Update docstring, adjust - to new gpp-based encryption, use new `allout-encrypted-topic-p'. - (allout-encrypt-string): Totally revamped vis new underlying - encryption facilities. - (allout-mc-activate-passwd): Remove. - (allout-obtain-passphrase): New, more or less replaces - allout-mc-activate-passwd. - (allout-encrypted-key-info): More or less replaces - allout-encrypted-text-type. - (outlineify-sticky, outlinify-sticky): Add autoload cookie. - (my-mark-marker): Use `(featurep 'xemacs)'. - -2005-10-23 Lars Hansen - - * emacs-lisp/bytecomp.el (byte-compile-lambda): New arg add-lambda. - (byte-compile-file-form-defmumble, byte-compile-defun) - (byte-compile-defmacro): Use it. - (byte-compile-form): Don't call byte-compile-set-symbol-position - when a byte-compile handler is called. - -2005-10-22 Romain Francoise - - * savehist.el (savehist-history-variables): Add `grep-find-history'. - - * subr.el (eval-after-load): Convert library name to an absolute - file name using locate-library, since load-history no longer has - library names in it. - -2005-10-22 Richard M. Stallman - - * files.el (make-temp-file): Move from subr.el. - * subr.el (make-temp-file): Move to files.el. - - * window.el (get-buffer-window-list): Move from subr.el. - * subr.el (get-buffer-window-list): Move to window.el. - - * image.el (image-load-path): Use eval-at-startup to initialize. - - * subr.el (eval-at-startup): New macro. - - * subr.el: Much rearrangement of functions and division - into pages. No code changes. - -2005-10-22 Kenichi Handa - - * tar-mode.el (tar-extract): Be sure to call - find-operation-coding-system if set-auto-coding doesn't find a - coding system. - -2005-10-22 Kim F. Storm - - * image.el (image-type-header-regexps): Rename from image-type-regexps. - Change users. - (image-type-file-name-regexps): New defconst. - (image-type-from-data): Simplify loop. - (image-type-from-buffer): New defun. - (image-type-from-file-header): Use it instead of image-type-from-data. - Use image-search-load-path instead of only looking in data-directory. - (image-type-from-file-name): New defun. - (image-search-load-path): Change `pathname' to `filename'. - Make PATH arg optional, default to image-load-path. - -2005-10-21 Richard M. Stallman - - * textmodes/texinfo.el (texinfo-mode): Set sentence-end-base. - - * textmodes/paragraphs.el (sentence-end-base): New variable. - (sentence-end): Use sentence-end-base. - -2005-10-21 Stefan Monnier - - * font-lock.el (font-lock-default-fontify-region): Check the multiline - property independently from the font-lock-multiline variable. - -2005-10-21 Richard M. Stallman - - * emacs-lisp/find-func.el (find-library-name): Doc fix. - - * startup.el (command-line): Convert library names - in `load-history' to absolute file names. - - * subr.el (symbol-file): Doc fix. - - * loadhist.el (file-loadhist-lookup): Call locate-library - instead of find-library-name. Don't try converting - abs file names to library names, since load-history no longer - has library names in it. - (file-dependents, file-provides, file-requires): Doc fixes. - -2005-10-21 Juri Linkov - - * progmodes/etags.el (tags-table-mode): New function. - (tags-verify-table): Replace initialize-new-tags-table with - tags-table-mode. - - * desktop.el (desktop-buffers-not-to-save): Remove TAGS from the - default value. - (desktop-modes-not-to-save): Add tags-table-mode to the - default value. - - * info.el (Info-index-next): Add total number of index - alternatives to the message. - - * textmodes/fill.el (fill-nobreak-p): Fix first two rules to skip - backward only space (instead of space and period) before looking - at sentence end. - - * simple.el (set-variable): Use user-variable-p instead of symbolp. - Add the old variable value as 4th default-value arg of read-string. - -2005-10-21 YAMAMOTO Mitsuharu - - * cus-face.el (custom-declare-face): Make face from X resources - also on Mac. - - * disp-table.el (standard-display-g1, standard-display-graphic): - Refuse to use string glyphs also on Mac. - (standard-display-european): Don't set terminal coding system also - on Mac. - - * frame.el (display-screens): Use x-display-screens also on Mac. - -2005-10-21 Romain Francoise - - * net/rcirc.el: Now part of GNU Emacs. Update FSF's address. - -2005-10-21 Stefan Monnier - - * progmodes/sh-script.el (sh-font-lock-syntactic-keywords): Make $@ - and $? into sexps. - - * font-lock.el (font-lock-compile-keywords): Add a help-echo to the - warning face on open-paren-in-column-0. - - * emacs-lisp/syntax.el (syntax-ppss-flush-cache): Fix corner - boundary case. Fix typo. - Suggested by Martin Rudalics . - -2005-10-21 Carsten Dominik - - * textmodes/org.el (org-combined-agenda-icalendar-file) - (org-icalendar-include-todo, org-icalendar-combined-name): New options. - (org-export-icalendar-this-file) - (org-export-icalendar-all-agenda-files) - (org-export-icalendar-combine-agenda-files): New commands. - (org-export-icalendar, org-print-icalendar-entries) - (org-start-icalendar-file, org-finish-icalendar-file) - (org-ical-ts-to-string): New functions. - (org-read-date, org-goto-calendar) - (org-agenda-goto-calendar): Inhibit displaying diary entries by - call to `calendar'. - (orgtbl-setup): Remove the :keys arguments from the menu description. - (org-after-save-iCalendar-file-hook): New variable. - -2005-10-21 Kenichi Handa - - * language/vietnamese.el (tcvn-5712): Make it an alias of - vietnamese-tcvn coding-system. - -2005-10-20 Michael Albinus - - * net/ange-ftp.el (ange-ftp-date-regexp): Handle also the case no - group id is given. - -2005-10-20 Stefan Monnier - - * progmodes/sh-script.el (sh-escaped-line-re): New var. - (sh-here-doc-open-re, sh-font-lock-close-heredoc): Use it. - (sh-font-lock-open-heredoc): Try to properly handle heredoc starters - whose line is either continued or ends with a comment. - -2005-10-20 Romain Francoise - - * net/rcirc.el (with-rcirc-process-buffer): Move above its first user. - - * replace.el (occur-engine): Add follow-link property. - - * font-core.el (font-lock-mode): Doc fix. - -2005-10-20 Richard M. Stallman - - * net/rcirc.el: New file. - -2005-10-20 Bryan Henderson (tiny change) - - * term.el (term-term-name): Initialize to "eterm-color". - -2005-10-20 Ken Manheimer - - * allout.el: Add autoloads of crypt++ and mailcrypt routines, all - for encryption functionality. - Move allout customization subgroup from `editing' to `outlines' group. - Fix commentary keywords to legitimate ones. - Update author info (using my current email address, obscurified). - (allout-encrypt-string, allout-encryption-produce-work-buffer) - (allout-encrypted-topic-p, allout-encrypted-text-type) - (allout-mc-activate-passwd, allout-create-encryption-key-verifier) - (allout-situate-encryption-key-verifier) - (allout-get-encryption-key-verifier, allout-verify-key) - (allout-next-topic-pending-encryption) - (allout-encrypt-decrypted, allout-encrypted-type-prefix): New funcs. - (outline-topic-encryption-bullet, outline-default-encryption-scheme) - (outline-key-verifier-handling, outline-key-hint-handling) - (outline-encrypt-unencrypted-on-saves): New defcustoms. - (allout-file-key-verifier-string, allout-encryption-scheme) - (allout-key-verifier-string, allout-key-hint-string) - (allout-after-save-decrypt): New variables. - (allout-write-file-hook-handler, allout-auto-save-hook-handler) - (allout-after-saves-handler): New hook functions. - (allout-post-command-business): Do allout-after-save-decrypt. - (allout-enable-file-variable-adjustment): Custom var to enable - mechanism for adding and adjusting settings of Emacs file variables. - (allout-adjust-file-variable, allout-file-vars-section-data): - New functions, implement the mechanism. - (outlineify-sticky): Use the file vars mechanism. - (allout-inhibit-protection, allout-during-write-cue) - (allout-override-protect, allout-before-change-protect): Remove. - (allout-flag-region, allout-open-topic): Adjust read-only text. - (allout-open-line-not-read-only): Add to facilitate read-only - text based protection. - (allout-kill-line): Revise to adjust read-only text, clue the - user about the inhibition. - (allout-unprotected): Use unwind-protect. - (allout-shift-in, allout-shift-out): Disallow manually shifting a - topic deeper than the offspring depth of the previous topic - - avoiding confusing "containment discontinuities". - (allout-reindent-bodies): Fix retention of body relative hanging - indent during promotion of collapsed bodies. - (allout-open-topic): Make it easy to open new topic with same - bullet as current topic - topic creation functions provided with - any universal argument provokes now prompt for bullet, defaulting - to the bullet of the previous topic. - (allout-plain-bullets-string, allout-distinctive-bullets-string): - Plain bullet alternates `.' period and `,' comma only. All other - bullets are relegated to special status (but customizable). - (allout-end-of-entry): Rename from allout-end-of-current-entry - since it actually operates w.r.t. most immediately containing - entry, visible or not. - (allout-hide-current-entry, allout-show-current-entry): Use the - revised version. - (allout-old-expose-topic): Solidify deprecation. - (allout-end-of-subtree): Add so we can span concealed as well - as visible topics. - (allout-end-of-current-subtree): Use `allout-end-of-subtree'. - (allout-end-of-current-heading): Tweak to just respect the first line. - (allout-get-body-text): Add. - (allout-ascend-to-depth, allout-ascend): Position at end of prefix - when invoked interactively. - (allout-up-current-level): Use `interactive-p'. - (allout-mode, allout-init): Miscellaneous docstring and - operational refinements, as well as hookups of new encryption stuff. - (allout-beginning-of-current-entry): Now works as advertised. - (allout-end-of-current-entry): Remove of superfluous allout-show-entry. - (allout-isearch-rectification): Refine condition for isearching. - (allout-isearch-abort, allout-enwrap-isearch) - (allout-flag-region, my-region-active-p): Relocate some macros. - (allout-title): Fallback title is (buffer-name), not - non-existing (current-buffer-name). - (subst-char-in-string): Define if absent (for some XEmacs versions). - -2005-10-20 Jari Aalto - - * mail/sendmail.el (mail-setup-hook, mail-aliases) - (mail-yank-prefix, mail-indentation-spaces, mail-yank-hooks) - (mail-citation-prefix-regexp, mail-signature-file) - (mail-default-headers, mail-bury-selects-summary) - (mail-send-nonascii): Add autoload cookies. - -2005-10-20 Emanuele Giaquinta (tiny change) - - * frame.el (blink-cursor-mode): Add `mac' to the list of - window-system's that support blinking cursor. - -2005-10-20 Reiner Steib - - * textmodes/org.el (org-level-color-stars-only): Fix typo in docstring. - -2005-10-20 Eli Zaretskii - - * makefile.w32-in ($(lisp)/mh-e/mh-loaddefs.el): - Bind find-file-suppress-same-file-warnings to t, to avoid warnings due - to different drive letter case in D:/foo/bar.el vs d:/foo/bar.el. - -2005-10-20 Kim F. Storm - - * ido.el (ido-is-tramp-root): Simplify regexp matching tramp root. - (ido-set-current-directory): Don't add / after final @. - (ido-file-name-all-completions-1): Adapt to fixed tramp completion. - Explicitly handle ange-ftp completion oddities. - (ido-make-file-list): Don't rotate list at tramp root to avoid - triggering tramp file handler for expand-file-name via get-file-buffer. - -2005-10-19 Stefan Monnier - - * savehist.el (savehist-coding-system): Revert to checking XEmacs. - -2005-10-19 Jay Belanger - - * calc/calc-units.el (math-standard-units): Add units, adjust - symbols and update values. - (math-unit-prefixes): Add more prefixes. - -2005-10-19 Romain Francoise - - * bookmark.el (bookmark-menu-heading): New face. - (bookmark-bmenu-list): Use it. - Don't fiddle with `baud-rate' at top-level. - -2005-10-18 Chong Yidong - - * image.el (create-image, find-image): Mention max-image-size in - docstring. - -2005-10-18 Stefan Monnier - - * savehist.el (savehist-load): Revert to checking XEmacs. - - * textmodes/conf-mode.el: Don't use font-lock-defaults-alist. - Various docstring and line-width fixups. - (conf-mode): Use cond. - Set font-lock-defaults. Don't set comment-use-syntax. - -2005-10-18 David Ponce - - * tree-widget.el (tree-widget-button-click): New function. - (tree-widget-button-keymap): Use it. - -2005-10-18 Romain Francoise - - * bookmark.el (bookmark-insert-location, bookmark-bmenu-list) - (bookmark-bmenu-hide-filenames): Add follow-link property. - Improve help-echo text. - - * ffap.el (find-file-at-point): Doc fix. - -2005-10-18 YAMAMOTO Mitsuharu - - * mouse.el (mouse-set-region): Don't do sit-for on a mac frame. - -2005-10-18 Masatake YAMATO - - Install to the CVS repository what I forgot to install in my - 2005-10-16 changes. - - * progmodes/python.el (python-complete-symbol): Pass the common - prefix substring of completion to `display-completion-list'. - - * textmodes/org.el (org-complete): Ditto. - -2005-10-18 Masatake YAMATO - - Fix a bug reported by Sven Joachim . - - * woman.el (WoMan-xref-man-page): New button type derived - from `Man-abstract-xref-man-page'. - (woman-mode): Pass `WoMan-xref-man-page' to `Man-highlight-references'. - - * man.el (Man-abstract-xref-man-page): New button type. - (Man-xref-man-page): Make it derived from `Man-abstract-xref-man-page'. - (Man-highlight-references): Add new optional argument `xref-man-type'. - -2005-10-18 Nick Roberts - - * progmodes/gud.el (gud-menu-map): Correct condition for fringe. - -2005-10-17 Chong Yidong - - * cus-edit.el (Custom-move-and-invoke): Delete. - (custom-mode-map): Bind mouse-1 to widget-move-and-invoke. - - * wid-edit.el (widget-move-and-invoke): New function, from - Custom-move-and-invoke. - -2005-10-17 Bill Wohler - - Move all remaining images from lisp/toolbar to etc/images, move - lisp/toolbar/tool-bar to lisp and "delete" lisp/toolbar. Place - the low resolution images in their own directory (low-color). - - * toolbar/attach.*, toolbar/cancel.*, toolbar/close.* - * toolbar/copy.*, toolbar/cut.*, toolbar/diropen.*, toolbar/exit.* - * toolbar/help.*, toolbar/home.*, toolbar/index.*, toolbar/info.* - * toolbar/mail.*, toolbar/new.*, toolbar/open.*, toolbar/paste.* - * toolbar/preferences.*, toolbar/print.*, toolbar/save.* - * toolbar/saveas.*, toolbar/search.*, toolbar/search-replace.* - * toolbar/spell.*, toolbar/undo.*: Move to etc/images. - - * toolbar/lc-copy.*: Move to etc/images/low-color/copy.*. - * toolbar/lc-cut.*: Move to etc/images/low-color/cut.*. - * toolbar/lc-help.*: Move to etc/images/low-color/help.*. - * toolbar/lc-home.*: Move to etc/images/low-color/home.*. - * toolbar/lc-index.*: Move to etc/images/low-color/index.*. - * toolbar/lc-new.*: Move to etc/images/low-color/new.*. - * toolbar/lc-open.*: Move to etc/images/low-color/open.*. - * toolbar/lc-paste.*: Move to etc/images/low-color/paste.*. - * toolbar/lc-preferences.*: Move to etc/images/low-color/preferences.*. - * toolbar/lc-print.*: Move to etc/images/low-color/print.*. - * toolbar/lc-save.*: Move to etc/images/low-color/save.*. - * toolbar/lc-saveas.*: Move to etc/images/low-color/saveas.*. - * toolbar/lc-search.*: Move to etc/images/low-color/search.*. - * toolbar/lc-spell.*: Move to etc/images/low-color/spell.*. - * toolbar/lc-undo.*: Move to etc/images/low-color/undo.*. - - To conform with convention, replace the underscore (_) in the - following image names with dash (-) or (/) as appropriate. - - * toolbar/back_arrow.*: Move to etc/images/back-arrow.*. - * toolbar/fld_open.*: Move to etc/images/fld-open.*. - * toolbar/fwd_arrow.*: Move to etc/images/fwd-arrow.*. - * toolbar/jump_to.*: Move to etc/images/jump-to.*. - * toolbar/left_arrow.*: Move to etc/images/left-arrow.*. - * toolbar/right_arrow.*: Move to etc/images/right-arrow.*. - * toolbar/up_arrow.*: Move to etc/images/up-arrow.*. - * toolbar/lc-back_arrow.*: Move to etc/images/low-color/back-arrow.*. - * toolbar/lc-fwd_arrow.*: Move to etc/images/low-color/fwd-arrow.*. - * toolbar/lc-jump_to.*: Move to etc/images/low-color/jump-to.*. - * toolbar/lc-left_arrow.*: Move to etc/images/low-color/left-arrow.*. - * toolbar/lc-right_arrow.*: Move to etc/images/low-color/right-arrow.*. - * toolbar/lc-up_arrow.*: Move to etc/images/low-color/up-arrow.*. - * toolbar/mail_compose.*: Move to etc/images/mail/compose.*. - * toolbar/mail_send.*: Move to etc/images/mail/send.*. - - * info.el (info-tool-bar-map): Replace underscores in image names - with dashes. - - * makefile.w32-in (WINS): Remove toolbar. - - * menu-bar.el: Replace toolbar/tool-bar.el with tool-bar.el in comment. - - * tool-bar.el: Move to lisp from toolbar. Now that - toolbar is empty, it should be deleted when folks run "cvs up -P". - -2005-10-18 Jay Belanger - - * calc/calc-store.el (calc-store-into): Get the proper variable name - to display in message. - -2005-10-18 Nick Roberts - - * progmodes/gdb-ui.el (gdb-var-create-handler): Make watch - expressions display in speedbar for all buffers when debugging. - (gdb-speedbar-expand-node): Ensure node contraction is always updated. - - * speedbar.el (speedbar-set-mode-line-format): Indent properly. - (speedbar-insert-button, speedbar-make-button): - Use add-text-properties. - (speedbar-update-localized-contents) - (speedbar-update-directory-contents) - (speedbar-update-special-contents): Use dolist. - (speedbar-buffer-easymenu-definition): Add a menu separator. - -2005-10-17 Jason Rumney - - * makefile.w32-in: Use $(lisp) consistently. - (pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD): New targets - for shell specific generation of mh-autoloads. - -2005-10-17 Richard M. Stallman - - * textmodes/tex-mode.el (tex-font-lock-keywords-2): Undo prev change. - -2005-10-17 Stefan Monnier - - * jit-lock.el (jit-lock-fontify-now): - Move jit-lock-context-unfontify-pos to avoid wasted work. - -2005-10-17 Michael Albinus - - * net/tramp.el (tramp-completion-mode): New defvar. Used in - `tramp-completion-mode' for checking if we are in completion mode. - (tramp-completion-handle-file-name-all-completions): Reorder code - in order to complete for file names only in case there are no - method/user/host completions. This is necessary for cooperation - with ido. Reported by Kim F. Storm . - -2005-10-16 Chong Yidong - - * longlines.el (longlines-search-forward) - (longlines-search-backward): Match any number of spaces. - -2005-10-16 Thien-Thi Nguyen - - * diff-mode.el (diff-mode): Doc fix. - -2005-10-16 David Reitter - - * mail/sendmail.el (send-mail-function): Use mailclient-send-it - as default on darwin and windows systems. - -2005-10-16 Sven Joachim (tiny change) - - * arc-mode.el (archive-zip-extract): Doc fix. - -2005-10-16 Romain Francoise - - * mouse.el (mouse-1-click-follows-link): Doc fix. - -2005-10-16 Stefan Monnier - - * savehist.el: Don't require CL at runtime. - (savehist-xemacs): Remove. - (savehist-coding-system): Use utf-8 if present, regardless of religion. - (savehist-no-conversion): Use (featurep 'xemacs). - (savehist-load): Check existence of start-itimer rather than XEmacs. - Use an idle timer. - (savehist-process-for-saving): Replace use of CL funs `subseq' and - `delete-if-not'. - -2005-10-16 Hrvoje Niksic - - * savehist.el: Newer version. - (savehist-autosave-interval, savehist-coding-system, savehist-timer) - (savehist-last-checksum, savehist-no-conversion): New vars. - (savehist-autosave, savehist-process-for-saving, savehist-printable): - New functions. - (savehist-load, savehist-save): Use them. - (savehist-delimit): Remove. - -2005-10-16 Stefan Monnier - - * progmodes/compile.el (compilation-goto-locus): Display the - compilation buffer first and the source buffer second, in case they're - in overlapping frames. Don't raise the compilation frame if it was the - selected window upon entry. Pass the `other-window' arg to - pop-to-buffer. - - * info.el (Info-fontify-node): Use dolist. - Change add-text-properties to put-text-property. - -2005-10-16 Roland Winkler - - * textmodes/bibtex.el (bibtex-font-lock-url): Catch when point past - bound of search. - -2005-10-16 Masatake YAMATO - - * dabbrev.el (dabbrev-completion): Pass the common - prefix substring of completion to `display-completion-list'. - - * filecache.el (file-cache-minibuffer-complete) - (file-cache-complete): Ditto. - - * tempo.el (tempo-display-completions): Ditto. - - * wid-edit.el (widget-file-complete, widget-color-complete): Ditto. - - * emacs-lisp/lisp.el (lisp-complete-symbol): Ditto. - - * eshell/em-hist.el (eshell-list-history): Ditto. - - * mail/mailabbrev.el (mail-abbrev-complete-alias): Ditto. - - * mail/mailalias.el (mail-complete): Ditto. - - * progmodes/etags.el (complete-tag): Ditto. - - * progmodes/make-mode.el (makefile-complete): Ditto. - - * progmodes/meta-mode.el (meta-complete-symbol): Ditto. - - * progmodes/octave-mod.el (octave-complete-symbol): Ditto. - - * progmodes/pascal.el (pascal-complete-word) - (pascal-show-completions): Ditto. - - * textmodes/bibtex.el (bibtex-complete-internal): Ditto. - - * simple.el (completion-common-substring): New variable. - (completion-setup-function): Use `completion-common-substring' - to put faces. - -2005-10-16 YAMAMOTO Mitsuharu - - * term/mac-win.el: Apply 2005-10-09 change for term/x-win.el. - (x-get-selection, mac-select-convert-to-string): Convert from/to - UTF-16 clipboard data as in native byte order, no BOM. - -2005-10-16 Nick Roberts - - * progmodes/gud.el (gud-tool-bar-map): Rename the images - appropriately (gud/next, gud/nexti, gud/step, gud/stepi). - (gud-sentinel): Use speedbar-frame to check for speedbar. - -2005-10-15 Richard M. Stallman - - * savehist.el: New file. - -2005-10-14 Karl Chen - - * textmodes/tex-mode.el (tex-font-lock-keywords-2): - Fix bug in \bf fontification. - -2005-10-15 Stefan Monnier - - * pcvs.el (cvs-edit-log-files): New var. - (cvs-mode-edit-log): New arg `file'. - (cvs-edit-log-minor-wrap): Don't set the ignore-marks property. - Instead force the use of the original file and nothing else. - (cvs-edit-log-filelist): Don't use the cvs-mode-* function unless - the cvs-minor-wrap-function is set. - (cvs-do-edit-log): Obey the vars set in cvs-edit-log-minor-wrap. - -2005-10-14 Bill Wohler - - * toolbar/gud-break.*: Moved to etc/images/gud/break.*. - * toolbar/gud-cont.*: Moved to etc/images/gud/cont.*. - * toolbar/gud-down.*: Moved to etc/images/gud/down.*. - * toolbar/gud-finish.*: Moved to etc/images/gud/finish.*. - * toolbar/gud-ni.*: Moved to etc/images/gud/ni.*. - * toolbar/gud-n.*: Moved to etc/images/gud/n.*. - * toolbar/gud-print.*: Moved to etc/images/gud/print.*. - * toolbar/gud-pstar.*: Moved to etc/images/gud/pstar.*. - * toolbar/gud-remove.*: Moved to etc/images/gud/remove.*. - * toolbar/gud-run.*: Moved to etc/images/gud/run.*. - * toolbar/gud-si.*: Moved to etc/images/gud/si.*. - * toolbar/gud-s.*: Moved to etc/images/gud/s.*. - * toolbar/gud-until.*: Moved to etc/images/gud/until.*. - * toolbar/gud-up.*: Moved to etc/images/gud/up.*. - * toolbar/gud-watch.*: Moved to etc/images/gud/watch.*. - - * progmodes/gud.el (gud-tool-bar-map): Rename the images - appropriately (for example, gud-break to gud/break). - -2005-10-14 Chong Yidong - - * longlines.el (longlinges-search-function) - (longlines-search-forward, longlines-search-backward): New functions. - (longlines-mode): Set isearch-search-fun-function to - longlinges-search-function. - - * mouse.el (mouse-drag-region-1): Handle the case where a - double-click event is bound to an arbitrary function. - -2005-10-14 David Ponce - - * recentf.el (recentf-track-opened-file) - (recentf-track-closed-file, recentf-update-menu) - (recentf-used-hooks, recentf-enabled-p): Move before dialog stuff. - (recentf-dialog-mode-map): Map follow-link to RET, so dialogs obey - mouse-1-click-follows-link. - -2005-10-13 Jan Dj,Ad(Brv - - * toolbar/diropen.xpm, toolbar/diropen.pbm: New versions made from - Gnome file-manager.png. Suggested by - Joachim Nilsson . - - * toolbar/README: Add diropen.xpm. - -2005-10-13 Bill Wohler - - * makefile.w32-in (MH_E_SRC): Rename from MH-E-SRC per NMAKE - restrictions. Suggested by David Robinow . - -2005-10-13 Stefan Monnier - - * progmodes/mixal-mode.el (mixal-operation-codes-alist): - Don't waste the byte-compiler's time on constant data. - -2005-10-13 Kenichi Handa - - * international/utf-8.el (utf-8-compose): Display an invalid UTF-8 - byte with `escape-glyph' face. - - * international/fontset.el (ccl-encode-unicode-font): - Lookup utf-subst-table-for-encode, not ucs-mule-cjk-to-unicode. - Handle the case that ucs-mule-to-mule-unicode translates a character to - ASCII (usually for IPA characters). - -2005-10-12 Stefan Monnier - - * info.el (Info-fontify-node): Don't be fooled by a lone "...". - Don't hide the underline of titles if font-lock-mode is disabled. - -2005-10-12 Bill Wohler - - * makefile.w32-in (MH-E-SRC): New. Used by mh-autoloads. - (mh-autoloads): New. Builds mh-e/mh-loaddefs.el. Rebuilds if any - files in MH-E-SRC have been updated. - (updates, compile, recompile, bootstrap): Depend on mh-autoloads. - -2005-10-12 Stefan Monnier - - * progmodes/mixal-mode.el (mixal-operation-codes): Remove. - (mixal-mode-syntax-table): Add \n as end-comment. - (mixal-operation-codes-alist): Immediately initialize to full value. - (mixal-add-operation-code): Remove. - (mixal-describe-operation-code): Make the arg non-optional. - Use the interactive spec instead. - Use mixal-operation-codes-alist rather than mixal-operation-codes. - (mixal-font-lock-keywords): Don't highlight comments here any more. - (mixal-font-lock-syntactic-keywords): New var. - (mixal-mode): Use it. Fix comment-start-skip. - -2005-10-12 Jan Dj,Ad(Brv - - * startup.el (command-line-x-option-alist): -nb => -nbi. - -2005-10-12 Kim F. Storm - - * startup.el (fancy-splash-default-action): Discard mouse click in - the splash screen window, as it has no sensible meaning in the - next window to be selected. Fixes error reported by Jan D. - -2005-10-12 Reiner Steib - - * desktop.el (desktop-load-file): Do nothing when FUNCTION is nil. - -2005-10-11 Stefan Monnier - - * progmodes/mixal-mode.el: Sync with version in the GNU MDK project. - Try to fix up minor layout issues like indentation, line break, etc... - (mixal-mode-syntax-table): Don't try to specify comment syntax, - because it doesn't work. - (mixal-operation-codes): Add some more codes. - (mixal-font-lock-keywords): Process comments here. - (mixal-mode): mixasm no longer needs -g option. - -2005-10-11 Sven Joachim (tiny change) - - * progmodes/sh-script.el (sh-tmp-file): - Use mktemp -t. Finish support for es and rc shells. - -2005-10-11 Jay Belanger - - * calc/calcalg2.el (calc-integral): With an argument, compute the - definite integral. - -2005-10-11 Chong Yidong - - * mouse.el (mouse-drag-region-1): Don't try to catch a - double-click when doing follow-link (it's overridden anyway). - -2005-10-11 Juanma Barranquero - - * emacs-lisp/autoload.el (update-directory-autoloads): Doc fix. - (autoload-print-form-outbuf): Add docstring. - -2005-10-11 Juri Linkov - - * info.el (Info-mode-menu): Delete menu item "Edit". - (Info-mode): Delete description of Info-edit from docstring, - and rearrange descriptions of Info commands in the order - they are documented in the Info manual. - -2005-10-11 Stefan Monnier - - * calendar/appt.el (appt-check): Use diary-selective-display var. - -2005-10-10 Richard M. Stallman - - * net/newsticker.el (newsticker-start, newsticker-show-news): - Add autoload cookies. - -2005-10-10 Emanuele Giaquinta - - * progmodes/sh-script.el (sh-tmp-file): Use mktemp. - -2005-10-10 Karl Chen - - * jka-cmpr-hook.el (jka-compr-handler): Fix typo in `operations' prop. - -2005-10-10 Jay Belanger - - * calc/calc-arith.el (math-check-known-scalarp) - (math-check-known-matrixp): Check the values of arguments that are - variables. - (math-check-known-square-matrixp): New function. - (math-known-square-matrixp): Use math-check-known-square-matrixp. - (math-super-types): Add sqmatrix type. - - * calc/calc-mode.el (calc-matrix-mode, math-get-modes-vec): Change the - mode name `square' to `sqmatrix'. - - * calc/calc.el (calc-matrix-mode, calc-set-mode-line): Change the - mode name `square' to `sqmatrix'. - -2005-10-10 Stefan Monnier - - * progmodes/etags.el (select-tags-table-mode): Don't use - selective-display. - (tags-select-tags-table): Pass `button' to the action function. - (select-tags-table): Place the side-info on button properties rather - than in hidden text. Abbreviate file names. - (select-tags-table-mode-map): Inherit rather than copy buttom-map. - (select-tags-table-select): Add `button' argument. - Get side-info from the button property rather than from hidden text. - -2005-10-11 Nick Roberts - - * progmodes/gud.el (gud-install-speedbar-variables): Add more bindings. - (gud-speedbar-buttons): Preserve point if possible. - (gud-sentinel): Restore previous speedbar display type. - - * progmodes/gdb-ui.el (gdba): Improve diagram. - (def-gdb-auto-update-handler, gdb-info-locals-handler) - (gdb-put-breakpoint-icon, gdb-remove-breakpoint-icons): - Call get-buffer-window once. - -2005-10-10 Stefan Monnier - - * progmodes/pascal.el (pascal-mode-map): Move init into declaration. - (pascal-mode-syntax-table): Make (* *) markers same class as { ... }. - (pascal-indent-command): Remove unused var `ind'. - (pascal-indent-case): Remove unused var `oldpos'. - (pascal-outline-map): Don't inherit from pascal-mode-map anymore, - since it's now used as a proper minor mode map. - (pascal-outline): Rename to pascal-outline-mode. - (pascal-outline-mode): Use define-minor-mode. - (pascal-outline-mode, pascal-outline-change): Use overlays rather than - selective-display. - -2005-10-10 Andreas Schwab - - * textmodes/tex-mode.el (tex-font-lock-keywords-2): Adjust match - number. Reported by Karl Chen . - - * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Fix for building - outside source directory. - -2005-10-10 Carsten Dominik - - * textmodes/org.el (org-mode-map): Explicit definition of `C-c - C-x' as a prefix. - (orgtbl-mode-map): Full keymap instead of sparse, because all - `self-insert-command' keys are redefined in this map. - (org-export-as-html): Specify charset for HTML file, by taking it - from the coding system. - -2005-10-10 Kenichi Handa - - * textmodes/flyspell.el (flyspell-check-word-p): - If unread-command-events is non-empty, don't call sit-for. - -2005-10-09 Richard M. Stallman - - * font-lock.el (font-lock-syntactic-keywords) - (font-lock-keywords): Doc fixes. - - * textmodes/flyspell.el (flyspell-external-point-words): - Simplify logic, and don't try to check for consecutive appearances - of one incorrect word. - -2005-10-10 Nick Roberts - - * speedbar.el (speedbar-buffer-easymenu-definition): Add menu - separator. - - * progmodes/gud.el (gud-last-speedbar-buffer): Remove. - (gud-install-speedbar-variables): Add GUD to speedbar "Displays" list. - (gud-expansion-speedbar-buttons): New function. - (gud-speedbar-buttons): Check for gud-comint-buffer. - -2005-10-09 Bill Wohler - - * Makefile.in (updates): Add mh-loaddefs dependency. - -2005-10-09 Chong Yidong - - * speedbar.el (speedbar-file-key-map): Fix typo. - -2005-10-09 Daniel Brockman - - * cus-start.el (line-spacing): Add custom spec. - -2005-10-09 Romain Francoise - - * textmodes/ispell.el (ispell-check-version): Fix last change. - -2005-10-09 Jan Dj,Ad(Brv - - * term/x-win.el: Remove -i, --icon-type from comment. - - * startup.el (command-line-x-option-alist): Remove options -i, - -itype, --icon-type, added -nb, --no-bitmap-icon. - -2005-10-09 Nick Roberts - - * progmodes/gud.el (gud-speedbar-menu-items): Use :visible - instead of :active. - -2005-10-08 Eric Hanchrow (tiny change) - - * textmodes/ispell.el (ispell-check-version): - Ignore hyphen, and all that follows, in aspell's version text. - -2005-10-08 Jay Belanger - - * calc/calc-arith.el (math-known-square-matrixp): New function. - (math-pow-fancy): Check for matrices before distributing exponent - across products. - - * calc/calc-keypd.el (calc-do-keypad): Widen keypad window for - fullscreen keypad. Suggested by Luc Teirlinck. - (calc-keypad-show-input): Add space for formatting. - - * calc/calc-mode.el (calc-matrix-mode, math-get-modes-vec): - Add square matrix option. - - * calc/calc-poly.el (math-expand-term): Check for matrices instead - of checking calc-matrix-mode when deciding how to expand. - - * calc/calc.el (calc-set-mode-line): Add square matrix option. - -2005-10-08 Lars Hansen - - * net/tramp.el (tramp-perl-directory-files-and-attributes): - Add error handling. - (tramp-handle-directory-files-and-attributes): Handle perl error msg. - -2005-10-08 Michael Albinus - - Sync with Tramp 2.0.51. - - * net/tramp.el (tramp-handle-set-visited-file-modtime) - (tramp-handle-insert-file-contents, tramp-handle-write-region): - Insert special handling for `last-coding-system-used', again - it still seems to be necessary (unlike stated before). - Reported by Toshinori Sugita . - (tramp-password-prompt-regexp): There might be other words before - trailing ":". Reported by Kurt Steinkraus . - (tramp-chunksize): Improve docstring. - (tramp-set-auto-save-file-modes): Octal integer code #o600 breaks - Emacs 20. Use `tramp-octal-to-decimal' therefore. Reported by - Christian Joergensen . - -2005-10-07 Glenn Morris - - * progmodes/f90.el (f90-keywords-re, f90-mode): Doc fix. - (f90-font-lock-keywords-2, f90-mode-abbrev-table): Add `double - precision'. - -2005-10-07 Romain Francoise - - * ibuf-ext.el (ibuffer-do-shell-command-pipe) - (ibuffer-do-shell-command-pipe-replace) - (ibuffer-do-shell-command-file, ibuffer-do-eval) - (ibuffer-do-view-and-eval, ibuffer-do-rename-uniquely) - (ibuffer-do-revert, ibuffer-do-replace-regexp) - (ibuffer-do-query-replace, ibuffer-do-query-replace-regexp) - (ibuffer-do-print, ibuffer-filter-by-mode, ibuffer-filter-by-used-mode) - (ibuffer-filter-by-name, ibuffer-filter-by-filename) - (ibuffer-filter-by-size-gt, ibuffer-filter-by-size-lt) - (ibuffer-filter-by-content, ibuffer-filter-by-predicate - (ibuffer-do-sort-by-major-mode, ibuffer-do-sort-by-mode-name) - (ibuffer-do-sort-by-alphabetic, ibuffer-do-sort-by-size): - Autoload file sans suffix. - - * emulation/cua-base.el (cua-toggle-global-mark): Likewise. - -2005-10-07 David Ponce - - * recentf.el (recentf-menu-open-all-flag): New option. - (recentf-digit-shortcut-command-name): New function. - (recentf--shortcuts-keymap): New variable. - (recentf-menu-shortcuts): New variable. - (recentf-make-menu-items): Initialize it. Replace the "More..." - menu item by "All...", if `recentf-menu-open-all-flag' is non-nil. - (recentf-menu-value-shortcut): New function. - (recentf-make-menu-item): Use it. No more in-lined. - (recentf-dialog-mode-map): Base on `recentf--shortcuts-keymap'. - (recentf-open-most-recent-file): Rename from - `recentf-open-file-with-key'. Don't depend on key binding. - (recentf-mode-map): New variable. - (recentf-mode): Use it. - -2005-10-06 Bill Wohler - - * mh-e/mh-loaddefs.el: Remove. Now generated automatically. - - * Makefile.in (AUTOGENEL): Add mh-e/mh-loaddefs.el. - (MH-E-SRC): New. Used by mh-autoloads. - (mh-autoloads): New. Builds mh-e/mh-loaddefs.el. Rebuilds if any - files in MH-E-SRC have been updated. - (compile, recompile, bootstrap): Depend on mh-autoloads. - -2005-10-07 Nick Roberts - - * progmodes/gud.el (gud-menu-map): Only display un-intuitive - gud-break and gud-remove icons when the fringe is not available. - - * progmodes/gdb-ui.el (gdb-fringe-width -> gdb-buffer-fringe-width): - Typo. - -2005-10-06 Micha,Ak(Bl Cadilhac - - * play/zone.el (zone): Wrap body with save-window-excursion. - -2005-10-06 Stefan Monnier - - * calendar/cal-menu.el (calendar-mouse-view-diary-entries): - Use the new `list-only' arg to diary-list-entries. - - * calendar/diary-lib.el: Use overlays rather than selective-display. - (diary-selective-display): New var. - (diary-header-line-format): Use it. - (diary-list-entries): Add argument `list-only'. - Put the buffer in diary-mode. Don't add \^M at beg and end. - Replace \^M by invisible overlays. - (diary-unhide-everything): Replace \^M by invisible overlays. - (print-diary-entries): Look for overlays rather than \^M. - Add a space to the temp buffer name. - (diary-show-all-entries, mark-diary-entries, make-diary-entry): - Put the buffer in diary-mode. - (list-sexp-diary-entries): Replace \^M by invisible overlays. - (diary-anniversary): Make the year arg optional. - (diary-time-regexp): New const. - (diary-font-lock-keywords): Use it to accept a few more time formats. - - * pcvs.el (cvs-sentinel): Make sure we do re-enable undo. - -2005-10-06 Thien-Thi Nguyen - - * textmodes/artist.el (artist-ellipse-mirror-quadrant): - Fix bug introduced 2005-07-03: Use (car (last ...)) - to faithfully reproduce replaced artist-last. - (artist-set-arrow-points-for-poly): Likewise. - Suggested by Johan Bockg,Ae(Brd. - -2005-10-06 Juanma Barranquero - - * dframe.el (x-pointer-hand2, x-pointer-top-left-arrow): - * wid-edit.el (widget): - * progmodes/gdb-ui.el (gdb-buffer-fringe-width): - * progmodes/vhdl-mode.el (speedbar-attached-frame): Add defvars. - -2005-10-06 Kenichi Handa - - * international/mule-cmds.el (set-language-environment): - Fix setting up of case-table for unibyte mode. - - * simple.el (what-cursor-position): If the character is displayed - by some `display' text property, show that. Don't use - single-key-description for eight-bit characters in multibyte mode. - -2005-10-06 Nick Roberts - - * progmodes/gdb-ui.el (gdb-fringe-width): New variable. - (gdb-ann3): Set it. - (gdb-put-breakpoint-icon): Don't take fringe-width from speedbar frame. - (gdb-info-frames-custom): Use inverse-video for first five - characters of selected frame only. - (gdb-get-frame-number): Select frame even when point is on frame - number. - -2005-10-06 Masatake YAMATO - - * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): - Put `font-lock-function-name-face'. - (gdb-info-frames-custom): Put `font-lock-function-name-face' - and `font-lock-variable-name-face' - (gdb-registers-font-lock-keywords): New font lock keywords definition. - (gdb-registers-mode): Use `gdb-registers-font-lock-keywords`. - (gdb-memory-font-lock-keywords): New font lock keywords definition. - (gdb-memory-mode): Use `gdb-memory-font-lock-keywords'. - (gdb-local-font-lock-keywords): New font lock keywords definition. - (gdb-locals-mode): Use `gdb-local-font-lock-keywords' - (gdb-threads-font-lock-keywords): New font lock keywords definition. - (gdb-threads-mode): Use `gdb-threads-font-lock-keywords'. - -2005-10-05 Michael Kifer - - * ediff-merge.el (ediff-merge-region-is-non-clash): New defsubst. - (ediff-merge-region-is-non-clash-to-skip): Previously called - ediff-merge-region-is-non-clash. - - * ediff-mult.el (ediff-append-custom-diff, ediff-meta-show-patch): - Use insert-buffer-substring. - - * ediff-ptch.el (ediff-fixup-patch-map): Use better heuristics for - selecting files to patch. Also bug fixes. - - * ediff-util.el (ediff-setup): Bug fix. - (ediff-next-difference): Never skip clashes that differ in white - space only. - - * ediff-wind.el (ediff-setup-control-frame) - (ediff-destroy-control-frame): Check the menubar feature. - - * emulation/viper-cmd.el (viper-normalize-minor-mode-map-alist) - (viper-refresh-mode-line): Use make-local-variable to localize - some vars instead of make-variable-buffer-local. Suggested by - Stefan Monnier. - - * emulation/viper-init.el (viper-make-variable-buffer-local): - Delete alias. - (viper-restore-cursor-type, viper-set-insert-cursor-type): - Use make-local-variable instead of make-variable-buffer-local. - Suggested by Stefan Monnier. - - * emulation/viper.el (viper-mode): Don't use - viper-make-variable-buffer-local. - (viper-comint-mode-hook): Use make-local-variable on - require-final-newline. - (viper-non-hook-settings): Don't use make-variable-buffer-local. - -2005-10-05 Stefan Monnier - - * progmodes/scheme.el (scheme-mode-syntax-table): Mark ; as being - also the second char of a comment-start sequence. - (scheme-sexp-comment-syntax-table): New var. - (lambda, define): Set their scheme-doc-string-elt property. - (scheme-font-lock-syntactic-face-function): Handle sexp-comments. - Use lisp-font-lock-syntactic-face-function now that it properly - handles |...| symbols. - (scheme-mode-variables): Set lisp-doc-string-elt-property, - parse-sexp-lookup-properties and font-lock-extra-managed-props. - - * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Move the nesting - bit from # to |. - (lisp-font-lock-syntactic-face-function): Distinguish |...| symbols. - - * emacs-lisp/lisp-mode.el (lambda): Add its doc-string-elt property. - (lisp-doc-string-elt-property): New var. - (lisp-font-lock-syntactic-face-function): Use it. - Rewrite to recognize docstrings even for forms not at toplevel. - - * progmodes/scheme.el (scheme-mode-syntax-table): Put the nested - annotation on the | part of #| rather than on the # part. - (scheme-font-lock-syntactic-face-function): New function, to - distinguish strings from |...| symbols. - (scheme-mode-variables): Use it. Also fix up the font-lock-time - syntax-table so that #|...|# is properly highlighted. - - * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function): - Don't mark as docstring the 3rd elem of an unknown toplevel form. - -2005-10-04 Stefan Monnier - - * bindings.el (global-map): Resync [home] and [end] bindings with C-a - and C-e. - - * emacs-lisp/eldoc.el: Move comments into docstrings. - (eldoc-message-commands): Initialize in its declaration. - Add move-beginning-of-line and move-end-of-line. - (eldoc-add-command, eldoc-add-command-completions) - (eldoc-remove-command, eldoc-remove-command-completions): Simplify. - - * outline.el (outline-mark-subtree): Activate the mark. - - * calendar/appt.el (appt-time-regexp): New var. - (appt-add, appt-make-list): Use it. - (appt-convert-time): Clean up. - - * textmodes/tex-mode.el (tex-font-lock-syntactic-face-function): - Don't set any syntax-table property here. - (tex-font-lock-verb): New function. Do it here. - (tex-font-lock-syntactic-keywords): Use it. - -2005-10-04 Richard M. Stallman - - * wid-edit.el (widget-file-complete): Get the widget start point - the right way. Default directory to `/' if file has none. - - * x-dnd.el (x-dnd-drop-data): Check for dedicated windows. - - * textmodes/flyspell.el (flyspell-mode-on): - Call ispell-maybe-find-aspell-dictionaries. - - * textmodes/ispell.el (ispell-word, ispell-region): - Call ispell-maybe-find-aspell-dictionaries. - (ispell-accept-buffer-local-defs): - Don't call ispell-maybe-find-aspell-dictionaries. - -2005-10-04 Richard M. Stallman - - * iswitchb.el (iswitchb-buffer-ignore): Label it risky. - -2005-10-04 Emilio C. Lopes - - * iswitchb.el (iswitchb-ignore-buffername-p): Use `functionp' - instead of `fboundp' in order to allow for anonymous functions. - -2005-10-04 Chong Yidong - - * info.el (Info-next, Info-prev, Info-up): Select info buffer, in - case the user clicks on the link while another window is selected. - (Info-speedbar-hierarchy-buttons): Use speedbar-current-frame. - - * dframe.el (dframe-update-keymap): Use mouse-1-click-follows-link - functionality. - (dframe-help-echo): Save point in case mouse tracking is off. - -2005-10-04 Thien-Thi Nguyen - - * net/ange-ftp.el (ange-ftp-ls): Fix typo introduced in last change. - -2005-10-03 Stefan Monnier - - * progmodes/cc-styles.el (c-setup-paragraph-variables): Make sure we do - not change the global value of those vars. - - * progmodes/cc-mode.el (c-basic-common-init): Remove calls to - make-local-variable which we do not need any more. - -2005-10-03 Chong Yidong - - * speedbar.el (speedbar-ignored-path-regexp, speedbar-line-path) - (speedbar-ignored-path-expressions, speedbar-buffers-line-path) - (speedbar-add-ignored-path-regexp, speedbar-buffers-line-path) - (speedbar-path-line): Define obsolete aliases. - (speedbar-line-directory): Doc fix. - - * progmodes/vhdl-mode.el (vhdl-speedbar-initialize) - (vhdl-speedbar-rescan-hierarchy): Call speedbar-line-directory - instead of speedbar-line-path. - -2005-10-03 Jan Dj,Ad(Brv - - * x-dnd.el (x-dnd-drop-data): Don't set dnd-open-file-other-window - to nil if dropping on a window. Handle dropping on a minibuffer window - like dropping on a non-window part of Emacs. - -2005-10-03 Stefan Monnier - - * net/ange-ftp.el: Use with-current-buffer. - (ange-ftp-insert-directory): Do not follow symlinks any more. - - * textmodes/ispell.el (ispell-find-aspell-dictionaries): - Remove interactive spec. - -2005-10-03 Kim F. Storm - - * ido.el (ido-mode): Use custom-initialize-set. - -2005-10-02 Richard M. Stallman - - * progmodes/ebnf2ps.el (ebnf-eps-production-list): - Use insert-buffer-substring. - - * net/tramp.el: Pacify byte compiler warnings in pacification code. - (tramp-handle-file-local-copy): Use insert-buffer-substring. - -2005-10-02 Stefan Monnier - - * net/ange-ftp.el (ange-ftp-insert-directory): Undo unintended part - in last change. - (ange-ftp-insert-directory): Fix up the search for the case where - `file' is absolute. - -2005-10-02 Romain Francoise - - * progmodes/compile.el (compile-goto-error): Delete extra paren. - -2005-10-02 Andreas Schwab - - * ediff-ptch.el (ediff-fixup-patch-map): Handle file names without - directory component in the session info. - -2005-10-01 Richard M. Stallman - - * comint.el (comint-redirect-subvert-readonly): Doc fix. - - * simple.el (next-error-internal): New function. - - * progmodes/compile.el (compilation-buffer-name): New arg MODE-COMMAND. - (compilation-start): Pass new arg to compilation-buffer-name. - (compile-goto-error): Use next-error-internal. - -2005-10-01 Chong Yidong - - * speedbar.el: Remove RCS tag. - (speedbar-check-read-only): Handle non-existent files. - - * dframe.el, ezimage.el, sb-image.el: Remove RCS tags. - - * info.el (Info-speedbar-hierarchy-buttons) - (Info-speedbar-goto-node): Call speedbar-select-attached-frame. - -2005-10-01 Roland Winkler - - * textmodes/bibtex.el (bibtex-valid-entry-whitespace-re): - Do not match newline. - (bibtex-realign): Do not use bibtex-valid-entry-whitespace-re. - (bibtex-summary): Remove unnecessary save-excursion. - (bibtex-fill-field-bounds): Use fill-region-as-paragraph. - -2005-10-01 YAMAMOTO Mitsuharu - - * term/mac-win.el: Add charset info for "iso10646-1". - Modify default fontset to use ATSUI-compatible fonts for some charsets - if available. - -2005-10-01 Chong Yidong - - * speedbar.el: Re-apply arch tag. - (speedbar-version): Rename to version 1.0. Suggested by Eric - M. Ludlam. - Reapply two changes from Emacs CVS' version of speedbar lost - during the merge: - (speedbar-use-imenu-flag): Avoid unnecessary use of locate-library. - (speedbar-frame-parameters): Improve customize type. - -2005-09-30 Stefan Monnier - - * net/ange-ftp.el (ange-ftp-gwp-start): Use with-current-buffer. - (ange-ftp-file-directory-p): Fix the symlink case. - (ange-ftp-insert-directory): When listing a single file, get a list of - the parent buffer and extract the relevant line. Inspired from a patch - by Katsumi Yamaoka . - (ange-ftp-file-name-sans-versions): Simplify. - -2005-09-30 Bill Wohler - - Move MH-E image files from toolbar and mail directories into - etc/images. - - * mail/reply2.*: Move to etc/images/mail/reply*. - - * toolbar/execute.*, toolbar/highlight.*, toolbar/mh-logo.xpm: - * toolbar/page-down.*, toolbar/show.*, toolbar/widen.*: Move to - etc/images. - - * toolbar/alias.*, toolbar/refile.*, toolbar/repack.*: - * toolbar/reply*: Move to etc/images/mail. - - * toolbar/rescan.*: Move and rename to etc/images/refresh.*. - -2005-09-30 Eric M. Ludlam - - * speedbar.el: New version 1.0pre3. - - Frame management code (including timer, and mouse click specifics) - moved to dframe.el: - (speedbar-attached-frame): Removed. Use dframe-attached-frame. - (speedbar-timer): Removed. Use dframe-timer. - (speedbar-close-frame): Removed. Use dframe-close-frame. - (speedbar-activity-change-focus-flag): Removed. Use - dframe-activity-change-focus-flag. - (speedbar-update-speed, speedbar-navigating-speed): Obsolete. Use - dframe-update-speed. - - (speedbar-current-frame): New macro. Use this instead of the - variable speedbar-frame. - - (speedbar-use-images, speedbar-expand-image-button-alist) - (speedbar-insert-image-button-maybe): Moved to sb-image.el. - - (speedbar-find-image-on-load-path): Removed. Replaced by - defezimage in ezimage.el. - (speedbar-expand-image-button-alist): Removed. Replaced by - ezimage-expand-image-button-alist in ezimage.el. - - (speedbar-ignored-directory-regexp) - (speedbar-add-ignored-directory-regexp) - (speedbar-ignored-directory-expressions) - (speedbar-line-directory, speedbar-buffers-line-directory) - (speedbar-directory-line, speedbar-buffers-line-directory): - Renamed, replacing `path' with `directory'. - - (speedbar-create-directory, speedbar-expand-line-descendants) - (speedbar-toggle-line-expansion) - (speedbar-contract-line-descendants): New commands. - - (speedbar-query-confirmation-method, speedbar-select-frame-method) - (speedbar-use-tool-tips-flag): New options. - - (speedbar-check-read-only, speedbar-require-version) - (speedbar-insert-separator, speedbar-buffers-tail-notes) - (speedbar-handle-delete-frame, speedbar-try-completion) - (speedbar-update-localized-contents): New functions. - - (speedbar-incompatible-version, speedbar-ro-to-do-point) - (speedbar-object-read-only-indicator): New variables. - - (speedbar-visiting-tag-hook, speedbar-before-visiting-file-hook): - New hooks. - - (speedbar-separator-face): New face. - - (speedbar-supported-extension-expressions): Add `.g' and `.ma?k'. - (speedbar-ignored-modes): Add fundamental-mode. - (speedbar-directory-unshown-regexp): Add . directories. - - (speedbar-key-map): Remove old SPC and DEL page up/down keys. - (speedbar-file-key-map): Add SPC to toggle node expansion, `[' and - `]' for full expand/close. - (speedbar-buffers-key-map): Add SPC to toggle node expansion. - - (speedbar-check-vc): Support hidden files. - (speedbar-vc-check-dir-p): Use vc-state if available for CVS. - (speedbar-this-file-in-vc): Use vc-state if available. If VC - state is nil, it is not checked out. - - (speedbar-line-text, speedbar-line-token): Support expand buttons - with no text. - (speedbar-refresh): Universal argument acts as power-click. - (speedbar-fetch-dynamic-tags): If a buffer is in Emacs, switch to - that buffer to get variable values. - - And many other bugfixes. - - * dframe.el, ezimage.el, sb-image.el: New files. - - * sb-*.xpm: Remove files. New image files installed into - etc/images/ezimage. - -2005-09-30 Kenichi Handa - - * ps-mule.el (ps-mule-show-warning): If a character is in - ps-print-translation-table, don't treat it as non-printable. - -2005-09-30 David Ponce - - * tree-widget.el (tree-widget-themes-load-path): New variable. - (tree-widget-themes-directory): Doc fix. - (tree-widget-image-formats) [Emacs]: Doc fix. - (tree-widget--locate-sub-directory): New function. - (tree-widget-themes-directory): Use it. - - * recentf.el (recentf-filename-handlers): Rename from - `recentf-filename-handler'. Allow a list of functions. - (recentf-menu-items-for-commands): Fix :help strings. - (recentf-apply-filename-handlers): New function. - (recentf-expand-file-name): Use it. - (recentf-cleanup): Remove duplicates too. - -2005-09-29 Juri Linkov - - * faces.el: Rearrange face definitions to be in the same order as - their face descriptions in "(emacs)Standard Faces". - - * isearch.el (isearch, lazy-highlight): Add group `basic-faces'. - - * tooltip.el (tooltip): Add group `basic-faces'. - - * buff-menu.el (Buffer-menu-buffer): Remove group - `font-lock-highlighting-faces'. - - * progmodes/compile.el (compilation-error, compilation-warning) - (compilation-info, compilation-line-number, compilation-column-number): - Change group from `font-lock-highlighting-faces' to `compilation'. - - * progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face) - (vhdl-font-lock-attribute-face, vhdl-font-lock-enumvalue-face) - (vhdl-font-lock-function-face, vhdl-font-lock-directive-face) - (vhdl-font-lock-reserved-words-face) - (vhdl-font-lock-translate-off-face, syntax-alist): Remove group - `font-lock-highlighting-faces'. - - * cus-edit.el (custom-buffer-sort-alphabetically): Default to nil. - -2005-09-28 Kim F. Storm - - * emulation/cua-base.el: Set CUA move property on additional commands: - up-list, down-list, backward-up-list, end-of-defun beginning-of-defun, - forward-sexp, backward-sexp, forward-list, backward-list. - -2005-09-28 Romain Francoise - - * comint.el (comint-show-output): Really set point at the - beginning of the output when not using `comint-use-prompt-regexp'. - -2005-09-27 Jay Belanger - - * calc/calc-lang.el (math-oper-table): Raise the precedence of "/" - in TeX mode. - -2005-09-26 Juanma Barranquero - - * textmodes/org.el (org-table-sum): Fix format string. - - * textmodes/tex-mode.el (tex-insert-quote, latex-indent): - Quote face names. - -2005-09-26 Romain Francoise - - * isearch.el (isearch-forward-regexp): Close doc string. - -2005-09-25 Richard M. Stallman - - * simple.el (blink-matching-open): Don't no-op when point is BEGV+1. - - * isearch.el (isearch-forward, isearch-forward-regexp): Doc fixes. - - * progmodes/compile.el (compilation-error-properties): - When getting the file from the previous error message, - correctly decode the new data format. - - * progmodes/cc-cmds.el (c-electric-paren): - Call old-blink-paren only for close-paren. - -2005-09-24 Andreas Schwab - - * term/rxvt.el (rxvt-register-default-colors): Delete redundant - condition. - -2005-09-25 Romain Francoise - - * dired-aux.el (dired-copy-file-recursive): - * dired.el (dired-delete-file): - * ediff-mult.el (ediff-dir-diff-copy-file): - * ediff-util.el (ediff-test-save-region): - * forms.el (forms-mode): - * ido.el (ido-file-internal, ido-delete-file-at-head): - * log-edit.el (log-edit-done): - * ses.el (ses-yank-resize): - * play/gomoku.el (gomoku-human-plays, gomoku) - (gomoku-human-resigns, gomoku-prompt-for-other-game) - (gomoku-offer-a-draw): - * play/landmark.el (lm-human-resigns, lm): - * net/eudcb-ldap.el (eudc-ldap-check-base): - * play/mpuz.el (mpuz-offer-abort, mpuz-try-letter, mpuz-close-game): - * progmodes/ebrowse.el (ebrowse-find-pattern): - * progmodes/idlw-shell.el (idlwave-shell-set-bp-check): - * textmodes/reftex-index.el (reftex-index-initialize-phrases-buffer): - End `yes-or-no-p' and `y-or-n-p' prompts with question mark and space. - - * vc.el (vc-delete-file): - * play/gomoku.el (gomoku-terminate-game, gomoku) - (gomoku-prompt-for-move, gomoku-human-takes-back): - * play/landmark.el (lm-human-takes-back, lm-prompt-for-move) - (lm-start-robot, lm-human-plays): Remove extraneous spaces in messages. - -2005-09-24 Dan Nicolaescu - - * term/rxvt.el (rxvt-register-default-colors): Add support for 255 - color rxvt terminals by using the code xterm.el used to use before - 2005-04-09 in order to match the colors used by rxvt. - -2005-09-24 Emanuele Giaquinta (tiny change) - - * term/rxvt.el (rxvt-register-default-colors): Add support for 88 - colors rxvt-unicode terminals by using the same code as xterm.el. - -2005-09-24 Stefan Monnier - - * textmodes/tex-mode.el (tex-font-lock-append-prop) - (tex-font-lock-suscript, tex-insert-quote, latex-indent): Adjust to the - new symbol used for the tex-verbatim face. - -2005-09-24 Emilio C. Lopes - - * woman.el (woman-file-name): - * wid-edit.el (widget-file-prompt-value) - (widget-coding-system-prompt-value): - * w32-fns.el (set-w32-system-coding-system): - * vc.el (vc-version-diff, vc-annotate): - * textmodes/reftex-auc.el (reftex-arg-cite) - (reftex-arg-index-tag): - * textmodes/refer.el (refer-get-bib-files): - * textmodes/artist.el (artist-figlet-choose-font): - * terminal.el (terminal-emulator): - * replace.el (occur-read-primary-args): - * rect.el (string-rectangle, string-insert-rectangle): - * ps-print.el (ps-print-preprint): - * progmodes/pascal.el (pascal-goto-defun): - * progmodes/etags.el (visit-tags-table, visit-tags-table-buffer): - * progmodes/compile.el (compilation-find-file): - * printing.el (pr-interactive-n-up): - * play/animate.el (animate-birthday-present): - * net/rcompile.el (remote-compile): - * man.el (man, Man-goto-section, Man-follow-manual-reference): - * mail/rmailsum.el (rmail-summary-search-backward) - (rmail-summary-search): - * mail/rmailout.el (rmail-output-read-rmail-file-name) - (rmail-output-read-file-name): - * mail/rmail.el (rmail-search, rmail-search-backwards): - * mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs): - * locate.el (locate): - * international/quail.el (quail-show-keyboard-layout): - * international/mule.el (set-buffer-file-coding-system) - (revert-buffer-with-coding-system, set-file-name-coding-system) - (set-terminal-coding-system, set-keyboard-coding-system) - (set-next-selection-coding-system): - * international/mule-diag.el (describe-coding-system) - (describe-font, describe-fontset): - * international/mule-cmds.el (universal-coding-system-argument) - (search-unencodable-char, describe-input-method) - (set-language-environment, describe-language-environment): - * international/codepage.el (codepage-setup): - * international/code-pages.el (codepage-setup): - * info.el (Info-search, Info-follow-reference) - (Info-search-backward): - * emacs-lisp/advice.el (ad-read-advised-function) - (ad-read-advice-class, ad-clear-cache, ad-activate) - (ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name) - (ad-enable-advice, ad-disable-advice, ad-remove-advice) - (ad-read-regexp): - * ediff-util.el (ediff-toggle-regexp-match): - * ediff-ptch.el (ediff-prompt-for-patch-file): - * dired-aux.el (dired-diff): - * diff.el (diff): - * cus-edit.el (custom-variable-prompt): - * calendar/timeclock.el (timeclock-ask-for-project): - * calc/calcalg3.el (calc-get-fit-variables): - * calc/calc-store.el (calc-edit-variable) - (calc-permanent-variable): - * vc-mcvs.el (vc-mcvs-register): - * shadowfile.el (shadow-define-literal-group): - * woman.el (woman-file-name): - * vc.el (vc-version-diff, vc-merge): - * textmodes/reftex-index.el (reftex-index-complete-tag): - * format.el (format-decode-buffer, format-decode-region): - * emulation/viper-cmd.el (viper-read-string-with-history): - * emacs-lisp/debug.el (cancel-debug-on-entry): - * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): - * ediff.el (ediff-merge-revisions) - (ediff-merge-revisions-with-ancestor, ediff-revision): - * completion.el (interactive-completion-string-reader): - * calc/calc-prog.el (calc-user-define-formula): - Follow convention for reading with the minibuffer. - -2005-09-24 Steven Huwig (tiny change) - - * progmodes/python.el (python-describe-symbol): Add globals() and - locals() to the arguments of emacs.ehelp. - -2005-09-24 Magnus Henoch - - * textmodes/ispell.el (ispell-maybe-find-aspell-dictionaries): - New function, code extracted from ispell-valid-dictionary-list. - (ispell-valid-dictionary-list, ispell-accept-buffer-local-defs): - Call it. - -2005-09-24 Eli Zaretskii - - * subr.el (version-regexp-alist): Extend valid syntax for version - strings: allow any of the characters -,_,+ to separate the - alpha/beta/rc part from the version part. Doc fix. - (version-to-list): Doc fix. Bind case-fold-search to t, as advertised. - -2005-09-23 David Reitter - - * mail/mailclient.el: New file. - -2005-09-23 Richard M. Stallman - - * textmodes/flyspell.el (flyspell-highlight-incorrect-region) - (flyspell-incorrect-hook, flyspell-highlight-duplicate-region): - Doc fixes. - - * progmodes/cc-mode.el (c-font-lock-init): - Specify font-lock-lines-before. - -2005-09-23 Stefan Monnier - - * smerge-mode.el (smerge-remove-props): Cause re-highlighting of the - whole conflict. - -2005-09-23 Carsten Dominik - - * textmodes/org.el (org-mode-map, orgtbl-mode-map): - Move keybindings with `C-c C-h' prefix to `C-c C-x' prefix. Make use - of `remap' feature when available. Additional key bindings for - better tty support. - (org-mode-restart, org-force-self-insert): New commands. - (org-time-stamp-inactive): New command. - (org-remap): New function. - (org-table-auto-blank-field, org-level-color-stars-only): New options. - (org-enable-fixed-width-editor): Move to `org-structure' - customization group. - (org-self-insert-command, orgtbl-self-insert-command): Modify to - blank field after field motion commands. - -2005-09-23 Kenichi Handa - - * international/mule-cmds.el (set-language-environment): - Don't check utf-translate-cjk-lang-env is nil or not on deciding if we - have to call utf-translate-cjk-load-tables. - -2005-09-22 Stefan Monnier - - * mouse.el (mouse-move-drag-overlay): Fix last change. - -2005-09-22 David Ponce - - * tree-widget.el (tree-widget-value-create): Fix previous change. - -2005-09-21 Dan Nicolaescu - - * term/xterm.el (terminal-init-xterm): Fix loading rxvt at run time. - -2005-09-21 Stefan Monnier - - * mouse.el (mouse-move-drag-overlay): New function. - (mouse-drag-region-1): Use it. - Try to simplify a bit the state handling. Handle clicks on links - inside intangible areas. - (mouse-save-then-kill): Minor simplification. - (mouse-secondary-overlay): Make it always non-nil instead of - recreating it each time. - (mouse-start-secondary, mouse-set-secondary, mouse-drag-secondary) - (mouse-kill-secondary, mouse-secondary-save-then-kill): - Simplify accordingly. - -2005-09-21 Dan Nicolaescu - - * term/rxvt.el (rxvt-standard-colors): Fix some colors. - -2005-09-20 Michael Kifer - - * ediff-ptch.el (ediff-prompt-for-patch-file): More intuitive prompt. - (ediff-file-name-sans-prefix): Treat nil as an empty string. - (ediff-fixup-patch-map): Better heuristic for intuiting the file names - to patch. - - * ediff-util.el: Use insert-buffer-substring. - - * ediff-vers.el (cvs-run-ediff-on-file-descriptor): Bug fix. - - * emulation/viper-cmd.el (viper-change-state): Don't move over the - field boundaries in the minibuffer. - (viper-set-minibuffer-style): Add viper-minibuffer-post-command-hook. - (viper-minibuffer-post-command-hook): New hook. - (viper-line): Don't move cursor at bolp. - - * emulation/viper-ex.el (ex-pwd, viper-info-on-file): Fix message. - - * emulation/viper-init.el: Add alias to make-variable-buffer-local to - avoid compiler warnings. - - * emulation/viper-macs.el (ex-map): Better messages. - - * emulation/viper-utils.el (viper-beginning-of-field): New function. - - * emulation/viper.el: Replace make-variable-buffer-local with - viper-make-variable-buffer-local everywhere, to avoid warnings. - -2005-09-19 Stefan Monnier - - * mouse.el (mouse-drag-mode-line-1, mouse-drag-vertical-line): - Delete unused var `old-selected-window'. - (mouse-drag-region-1): Delete unused vars `start-frame', `end-of-range'. - (mouse-drag-secondary): Delete unused var `start-frame'. - -2005-09-19 Emanuele Giaquinta (tiny change) - - * term/rxvt.el (terminal-init-rxvt): Add entry for [end]. - -2005-09-19 Stefan Monnier - - * calendar/calendar.el (mark-visible-calendar-date): Save excursion. - Re-indent within 80 columns. Use inhibit-read-only. - -2005-09-19 Romain Francoise - - * calendar/diary-lib.el (mark-diary-entries): Revert last change. - -2005-09-19 Stefan Monnier - - * font-lock.el (font-lock-default-fontify-region): Don't add a line - unconditionally, since the after-change-function already did it. - -2005-09-19 Miles Bader - - * net/newsticker.el: Get rid of CVS keyword. - -2005-09-19 Johan Bockg,Ae(Brd - - * dired-aux.el (dired-handle-overwrite): Don't use `format' here. - The prompt is formatted later. - -2005-09-19 David Ponce - - * tree-widget.el (tree-widget-value-create): Save the converted - tree :node widget. - -2005-09-19 Juanma Barranquero - - * progmodes/sh-script.el (sh-blink): Fix spurious reference to - variable `message'. - -2005-09-18 Michael Albinus - - * net/tramp.el (tramp-login-prompt-regexp): Expand regexp in order - to cover prompts like "login as:". Reported by Slawomir Nowaczyk - . - -2005-09-18 Chong Yidong - - * image.el (image-load-path): Use symbol `data-directory' instead - of its value, for backward compatibility with packages that bind - it during `find-image'. Suggested by Katsumi Yamaoka. - (image-search-load-path): Handle symbols whose values are strings. - -2005-09-18 Romain Francoise - - * calendar/diary-lib.el (mark-diary-entries): Rearrange to wrap - with-current-buffer form in save-excursion. - -2005-09-18 Deepak Goel - - * apropos.el (apropos-command): Fix `message' call: first arg - should be a format spec. In this and all other cases that appear - below and elsewhere in the source code, I made a change only when - two conditions were satisfied: [1] I can think of a possibility - that the arguments would cause an error, for example, the code in - question relies on external variables such as filenames. [2] I - was sure that the arg to `message' could not have been nil in the code. - - * textmodes/tildify.el (tildify-region): Ditto. - - * textmodes/reftex-index.el (reftex-index-change-entry) - (reftex-index-phrase-selection-or-word, reftex-query-index-phrase): - * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite): - * textmodes/org.el (org-complete, org-deadline, org-schedule) - (org-priority, org-table-sum): - * textmodes/ispell.el (ispell-check-version, ispell-parse-output): - * textmodes/flyspell.el (flyspell-mode-on, flyspell-notify-misspell) - (flyspell-word, flyspell-display-next-corrections): - * textmodes/bibtex.el (bibtex-print-help-message): - * textmodes/artist.el (artist-key-set-point-poly): - * term/mac-win.el (mac-services-insert-text): - * progmodes/vhdl-mode.el (vhdl-warning, vhdl-print-warnings) - (vhdl-hooked-abbrev, vhdl-template-insert-fun) - (vhdl-port-paste-testbench, vhdl-compose-new-component) - (vhdl-compose-configuration): - * progmodes/sh-script.el (sh-blink, sh-show-indent) - (sh-set-indent, sh-learn-line-indent): - * progmodes/ps-mode.el (ps-mode-target-column): - * progmodes/idlwave.el (idlwave-make-tags) - (idlwave-scan-library-catalogs): - * progmodes/idlw-shell.el (idlwave-shell-parse-stack-and-display): - * progmodes/gud.el (gud-jdb-analyze-source): - * progmodes/flymake.el (flymake-log): - * progmodes/ebnf2ps.el (ebnf-generate-region): - * progmodes/cmacexp.el (c-macro-expansion): - * progmodes/ada-xref.el (ada-treat-cmd-string): - * progmodes/ada-mode.el (ada-create-case-exception-substring) - (ada-justified-indent-current, ada-batch-reformat): - * play/zone.el (zone): - * play/landmark.el (lm-move): - * play/decipher.el (decipher-show-alphabet): - * net/newsticker.el (newsticker--display-jump) - (newsticker--display-scroll): - * mail/rmail-spam-filter.el (rsf-add-subject-to-spam-list) - (rsf-add-sender-to-spam-list, rsf-add-region-to-spam-list): - * mail/feedmail.el (feedmail-dump-message-to-queue): - * eshell/esh-proc.el (eshell-remove-process-entry): - * emulation/ws-mode.el (ws-last-error): - * emulation/viper-macs.el (ex-map-read-args, ex-unmap-read-args) - (viper-record-kbd-macro): - * emulation/viper-ex.el (ex-pwd, viper-info-on-file): - * emacs-lisp/lisp-mnt.el (lm-report-bug): - * emacs-lisp/find-func.el (find-function-noselect): - * calendar/timeclock.el (timeclock-status-string) - (timeclock-workday-remaining-string, timeclock-workday-elapsed-string) - (timeclock-when-to-leave-string): - * calendar/icalendar.el (icalendar--convert-ical-to-diary): - * calc/calc-units.el (calc-enter-units-table): - * calc/calc-mode.el (calc-mode-record-mode): - * woman.el (woman-mini-help): - * wdired.el (wdired-change-to-wdired-mode): - * vc.el (vc-retrieve-snapshot): - * strokes.el (strokes-read-stroke, strokes-read-complex-stroke): - * startup.el (display-startup-echo-area-message): - * simple.el (set-goal-column): - * ses.el (ses-command-hook, ses-recalculate-cell): - * server.el (server-process-filter): - * printing.el (pr-interface-txt-print, pr-interface-printify) - (pr-interface-ps): - * pcvs.el (cvs-help): - * log-edit.el (log-edit, log-edit-mode-help): - * iswitchb.el (iswitchb-possible-new-buffer): - * isearch.el (isearch-edit-string): - * image-mode.el (image-mode, image-minor-mode): - * ibuf-macs.el (define-ibuffer-filter): - * hi-lock.el (hi-lock-find-patterns): - * files.el (toggle-read-only): - * ediff-util.el (ediff-copy-diff) - (ediff-write-merge-buffer-and-maybe-kill): - * echistory.el (Electric-history-undefined): - * dnd.el (dnd-insert-text): - * dired-aux.el (dired-query): - * desktop.el (desktop-restore-file-buffer, desktop-lazy-create-buffer): - * bookmark.el (bookmark-bmenu-locate): - * obsolete/fast-lock.el (@top-level) : - Fix `message' calls to ensure first arg is a format string. - The change was made only when these two conditions were satisfied: - [1] when there is a possibility that the arguments would cause an error - for example, if the code in question relies on external variables - such as filenames, and - [2] if the arg to `message' could not have been nil in the code. - - * pcomplete.el (pcomplete--help): Fix `message' format spec. - Not having a %s would be weird, though not technically wrong. - -2005-09-18 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-add-charset-info): Doc fix. - -2005-09-17 Romain Francoise - - * shell.el (shell-resync-dirs): Handle echoing processes more - reliably. Don't insert resync command if `comint-process-echoes' - is non-nil. - -2005-09-17 Magnus Henoch - - * textmodes/ispell.el (ispell-aspell-supports-utf8): New variable. - (ispell-check-version): Set ispell-aspell-supports-utf8 to t for - aspell versions >= 0.60. - (ispell-valid-dictionary-list): Call ispell-find-aspell-dictionaries - only if ispell-aspell-supports-utf8 is non-nil. - -2005-09-17 Johan Bockg,Ae(Brd - - * progmodes/scheme.el (scheme-mode-variables): Use setq to assign - buffer-local value to lisp-indent-function. - -2005-09-17 Milan Zamazal - - * progmodes/glasses.el (glasses-make-readable): If - glasses-separator differs from underscore, put appropriate - overlays over underscore characters. - (glasses-convert-to-unreadable): If glasses-separator differs from - underscore, try to convert glasses-separator characters to - underscores. - -2005-09-16 Stefan Monnier - - * calendar/diary-lib.el (mark-diary-entries): Don't move point. - Use with-syntax-table and dolist. - -2005-09-16 Carsten Dominik - - * textmodes/reftex-auc.el: - * textmodes/reftex-cite.el: - * textmodes/reftex-dcr.el: - * textmodes/reftex-global.el: - * textmodes/reftex-parse.el: - * textmodes/reftex-ref.el: - * textmodes/reftex-sel.el: - * textmodes/reftex-toc.el: - * textmodes/reftex-vars.el: - * textmodes/reftex.el: Small changes to remove compiler warnings. - - * textmodes/reftex-index.el: Likewise. - (reftex-query-index-phrase): More efficient use of markers. - -2005-09-15 Chong Yidong - - * image.el (image-load-path): New variable. - (image-search-load-path): New function. - (find-image): Search for images in `image-load-path'. - -2005-09-15 Richard M. Stallman - - * follow.el: Change Maintainer field. - -2005-09-15 David Ponce - - * recentf.el (recentf-save-file-modes): New option. - (recentf-save-list): Use it. - -2005-09-15 Nick Roberts - - * bindings.el (mode-line-eol-desc, mode-line-coding-system-map) - (mode-line-mule-info, mode-line-modified): Move bindings from - mouse-3 to mouse-1. - -2005-09-15 Chong Yidong - - * simple.el (sendmail-user-agent-compose): Revert last change. - -2005-09-14 Stefan Monnier - - * net/ange-ftp.el (ange-ftp-process-filter): Revert to ^#+$. - Use with-current-buffer. - (ange-ftp-gwp-start): Remove unused var `gw-user'. - (ange-ftp-guess-hash-mark-size): Remove unused var `result'. - (ange-ftp-insert-directory): Remove unused var `short'. - (ange-ftp-file-name-sans-versions): Remove unused var `host-type'. - - * pcvs-defs.el (cvs-version): Recognize CVSNT version string. - (cvs-execute-single-dir): Change default: cvs-1.9 is ancient. - - * calendar/cal-menu.el: Don't require easymenu, since we don't use it. - (check-calendar-holidays, diary-list-entries): Autoload. - Otherwise `emacs -q' followed by "mouse-2 -> diary entries" burps. - (calendar-mouse-holidays, calendar-mouse-view-diary-entries): Simplify. - - * calendar/diary-lib.el (diary-show-all-entries): Fix last change, - which mistakenly removed a call to display-buffer. - -2005-09-14 Juanma Barranquero - - * obsolete/iso-insert.el: Move to obsolete/ from international/. - -2005-09-14 Thien-Thi Nguyen - - * progmodes/hideshow.el - (hs-hide-comments-when-hiding-all): Remove autoload cookie. - (hs-allow-nesting): New user var. - (hs-discard-overlays): Skip "internal" overlays if nesting allowed. - (hs-hide-block-at-point): When nesting allowed, - if there is already an overlay in place, delete it. - (hs-safety-is-job-n): Delete func; remove call sites. - (hs-hide-level-recursive): Don't pre-clean if nesting allowed. - (hs-overlay-at): New func. - (hs-already-hidden-p, hs-show-block): Use it. - (hs-hide-all): Don't pre-clean if nesting allowed. - (hs-show-all): Temporarily disallow - nesting around call to `hs-discard-overlays'. - -2005-09-14 Chong Yidong - - * mouse.el (mouse-major-mode-menu): Make `prefix' optional. - Delete unused local var. - -2005-09-13 Juanma Barranquero - - * help-fns.el (describe-categories): "?\ " -> "?\s". - (help-do-arg-highlight): Recognize also ARG-n, as in - `move-to-left-margin' (ARG+n is already recognized). Simplify. - - * international/codepage.el (dos-unsupported-char-glyph): - * net/newsticker.el (tool-bar-map, w3-mode-map) - (w3m-minor-mode-map): - * progmodes/vhdl-mode.el (conf-alist, conf-entry, conf-key) - (ent-alist): - * textmodes/reftex-vars.el (reftex-tables-dirty): Add defvars. - -2005-09-13 Chong Yidong - - * custom.el (custom-push-theme): Handle the case where a symbol is - bound but face properties have not yet been assigned. - - * mail/sendmail.el (mail): Use new buffer if `noerase' is `new'. - Fix behavior if noerase is `t' and there is no mail buffer. - - * simple.el (sendmail-user-agent-compose): Use a new mail buffer - if `continue' is nil, rather than signal an error. - -2005-09-12 Richard M. Stallman - - * font-lock.el (font-lock-keywords): Add autoload. - - * help-fns.el (describe-variable): Rearrange to put source link - in a predictable place. - - * net/newsticker.el: New file. - -2005-09-12 Stefan Monnier - - * calendar/calendar.el (calendar-for-loop): Add edebug info. - (calendar-basic-setup): Use the new nil arg. - (number-of-diary-entries): Move to diary-lib.el. - - * calendar/diary-lib.el: Use with-current-buffer, match-string. - (diary-list-entries): Use with-syntax-table and dolist. - Rename from list-diary-entries. - Use number-of-diary-entries if `number' is nil. - (diary, diary-view-entries): Use this new name and new nil arg value. - (number-of-diary-entries): Move from calendar.el. - (diary-unhide-everything): New function. - (include-other-diary-files, fancy-diary-display) - (diary-show-all-entries, make-diary-entry): Use it. - (diary-mail-entries): Use buffer-string. - (mark-diary-entries): Fix long standing paren typo. - (diary-sexp-entry): Use count-lines. - (make-diary-entry): Avoid `previous-line'. - (diary-mode-map): New var. - (diary-mode): Redraw cal after saving. Setup header-line. - (fancy-diary-display-mode): Use local-set-key. - - * startup.el (command-line): Try calling various terminal-init-foo-bar - functions by stripping hyphenated suffixes from $TERM. - - * files.el (normal-mode): Check boundness of font-lock-keywords. - -2005-09-12 Richard M. Stallman - - * progmodes/compile.el: Don't decide a file's directory - until the user actually tries to go there. - (compilation-next-error-function): - Pass compilation-find-file the directory from the file-struct. - (compilation-internal-error-properties): Separate local FILE-STRUCT - from FILE. Doc the args better. Rename arg FMT to FMTS. - (compilation-find-file): Arg DIR renamed to DIRECTORY. - Expand it, and if nil, use default-directory. - (compilation-get-file-structure): Don't mix specified directory - with default directory. Put specified directory into - file-struct. Don't make the file name absolute. - - * progmodes/compile.el (compilation-error-regexp-alist): Doc fix. - (compile-command): Add autoload. - (compilation-disable-input): Add autoload. - -2005-09-11 Stephen Gildea - - * time-stamp.el: Mention variable `time-stamp-pattern' in doc - strings of the variables it can override. - (time-stamp): New (as yet undocumented) time-stamp-format escapes - %Q and %q, for fully-qualified domain name and unqualified host name. - -2005-09-11 Kim F. Storm - - * emacs-lisp/authors.el (authors-aliases): Update list. - (authors-fixed-entries): Update mldrag.el entry. - -2005-09-10 Alan Mackenzie - - * textmodes/page.el (narrow-to-page): Exclude _entire_ multi-line - delimiter from the region narrowed to. - -2005-09-10 Magnus Henoch - - * textmodes/ispell.el (ispell-check-version): Signal an error if - aspell version is less than 0.60. - -2005-09-10 Pascal Dupuis (tiny change) - - * progmodes/octave-inf.el (inferior-octave-startup): - Resync current dir at the end. - -2005-09-10 Emilio C. Lopes - - * woman.el (woman-topic-at-point-default): - Rename to woman-use-topic-at-point-default. - (woman-topic-at-point): Rename to woman-use-topic-at-point. - (woman-file-name): Reflect renames above. Automatically use the - word at point as topic if woman-use-topic-at-point is non-nil. - Otherwise offer it as default but don't insert it in the - minibuffer. Also use `test-completion' instead of `assoc' as - suggested by Stefan Monnier. - -2005-09-10 Andre Spiegel - - * vc.el (vc-directory, vc-update-change-log): Throw an error on - the attempt to do it over Tramp. This is not yet supported. - -2005-09-10 Eli Zaretskii - - * menu-bar.el (menu-bar-menu-frame-live-and-visible-p) - (menu-bar-non-minibuffer-window-p): New functions. - ("Split Window", "Save As..."): Use them. - ("Postscript Print Buffer (B+W)", "Postscript Print Buffer") - ("Print Buffer", "Truncate Long Lines in this Buffer"): - Use menu-bar-menu-frame-live-and-visible-p. - ("Save Buffer", "Insert File", "Open Directory...") - ("Open File...", "Visit New File..."): - Use menu-bar-non-minibuffer-window-p. - (kill-this-buffer-enabled-p, dired ): - Use menu-bar-non-minibuffer-window-p. - -2005-09-09 Eli Zaretskii - - * cus-start.el (all): Don't complain about fringe-related - built-ins if fringes are not supported. Ditto about - selection-related built-ins. Fix the test for GTK-related built-ins. - - * menu-bar.el ("Split Window", "Postscript Print Buffer (B+W)") - ("Postscript Print Buffer", "Print Region", "Save As...") - ("Save", "Insert File...", "Open Directory...") - ("Open File...", "Visit New File..."") - ("Truncate Long Lines in this Buffer"): Don't look at - menu-updating-frame if this display does not support multiple frames. - -2005-09-09 Frederik Fouvry - - * mail/sendmail.el (default-sendmail-coding-system): Doc fix. - -2005-09-09 Emilio C. Lopes - - * woman.el: Format- and whitespace-related changes. - -2005-09-09 Eli Zaretskii - - * woman.el: Fix my email address. - -2005-09-08 Richard M. Stallman - - * progmodes/sh-script.el (sh-skeleton-pair-default-alist): New var. - (sh-mode): Locally set skeleton-pair-default-alist. - - * progmodes/make-mode.el (makefile-add-log-defun): Trim the result. - - * progmodes/flymake.el: Require `compile' unconditionally. - - * mail/sendmail.el (send-mail-function): Add Mailclient alternative. - - * woman.el (woman-file-name): Provide a default, not initial input. - - * smerge-mode.el (smerge-resolve): Pass args to smerge-remove-props. - - * font-lock.el (font-lock-support-mode): Doc fix. - - * descr-text.el (describe-property-list): Handle non-symbol prop names. - -2005-09-08 Richard M. Stallman - - * simple.el (blink-matching-open): Get rid of text props from - the string shown in echo area. Don't permanently set point. - Some rearrangements. - -2005-09-08 Reiner Steib - - * recentf.el (recentf-filename-handler): Add custom choice - `abbreviate-file-name'. - - * msb.el (msb--very-many-menus): Fix typo. - - * disp-table.el (standard-display-european): Don't set - enable-multibyte-characters to nil. - -2005-09-08 David Ponce - - * recentf.el (recentf-show-file-shortcuts-flag): New option. - (recentf-expand-file-name): Doc fix. - (recentf-dialog-mode-map): Define digit shortcuts. - (recentf--files-with-key): New variable. - (recentf-show-digit-shortcut-filter): New function. - (recentf-open-files-items): New function. - (recentf-open-files): Use it. - (recentf-open-file-with-key): New command. - -2005-09-08 Chong Yidong - - * buff-menu.el (Buffer-menu-sort-by-column): New function. - Suggested by Kim F. Storm. - (Buffer-menu-sort-button-map): Global keymap for sort buttons. - (Buffer-menu-make-sort-button): Use global keymap. - -2005-09-07 Michael Albinus - - * woman.el (top): Remap `man' command by `woman' in `woman-mode-map'. - (Man-getpage-in-background-advice): Remove defadvice; it isn't - necessary any longer with the remapped command. - (Man-bgproc-sentinel-advice): Remove defadvice which counts - formatting time only. - - * net/tramp.el (tramp-action-password) - (tramp-multi-action-password): Compile the password prompt from - `method', `user' and `host'. Sometimes it isn't obvious which - password to enter, for example with remote files offered by - recentf.el, or with multiple steps. Suggested by Robert Marshall - . - -2005-09-07 Stefan Monnier - - * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): - Fix regexp for when "s///" is at the beginning of line. - -2005-09-07 Jay Belanger - - * calc/calc-poly.el (math-expand-term): Multiply out any powers - when in matrix mode. - -2005-09-06 Stefan Monnier - - * buff-menu.el (Buffer-menu-make-sort-button): Add docstrings, use - non-anonymous functions. - -2005-09-06 Chong Yidong - - * buff-menu.el (Buffer-menu-make-sort-button): Allow mouse-1 clicks - when using a header line. Otherwise, use mouse-1-click-follows-link. - - * mouse.el (mouse-drag-header-line): Do nothing if the header-line - can't be moved; don't signal an error. - -2005-09-05 Chong Yidong - - * cus-theme.el (custom-theme-write-faces): Save the current face - spec, not the defface spec. - - * custom.el (custom-known-themes): Clarify meaning of "standard". - (custom-push-theme): Save old values in the standard theme. - (disable-theme): Correct typo. - (custom-face-theme-value): Deleted unused function. - (custom-theme-recalc-face): Rewritten to treat enable/disable properly. - -2005-09-05 Stefan Monnier - - * progmodes/compile.el (compilation-goto-locus): Take into account - iconified frames when determining whether the buffer is - already visible. - Don't reset window height if the window already existed. - -2005-09-04 Chong Yidong - - * custom.el (load-theme): Rename from require-theme. - Add interactive spec. - (enable-theme): Rename from custom-enable-theme. - Add interactive spec. - (disable-theme): Rename from custom-disable-theme. - Add interactive spec. - (custom-make-theme-feature): Doc fix. - (custom-theme-directory): Doc fix. - (provide-theme): Call enable-theme. - -2005-09-02 Stefan Monnier - - * obsolete/lazy-lock.el (lazy-lock-mode): - * obsolete/fast-lock.el (fast-lock-mode): Don't try to turn on - font-lock-mode if it's off. Print a warning instead. - - * progmodes/compile.el (compilation-start): Ignore errors if the - process died before we get to send-eof. - - * textmodes/tex-mode.el (tex-send-tex-command, tex-bibtex-file): - Undo last change. Enclosing the result in quotes broke things on Unix - since tex-send-command passes it through shell-quote-argument. - (tex-send-command): Pass `file' through convert-standard-filename - when possible. - (tex-uptodate-p): Handle the case where TeX hasn't put additional - info in a transcript. - -2005-09-02 Dan Nicolaescu - - * term/xterm.el (terminal-init-xterm): Add eval-when-compile to - fix compilation warning. Reorder the key definitions to group - together keys emitted by the current version of xterm. - - * progmodes/vhdl-mode.el (vhdl-highlight-faces) - (vhdl-speedbar-entity-face, vhdl-speedbar-entity-selected-face): - Reorder predicates to correct min-color usage. - -2005-09-01 Chong Yidong - - * longlines.el (longlines-mode): Inhibit read-only when encoding. - Kill local variables when longlines-mode is turned off. - -2005-09-01 Stefan Monnier - - * international/mule-cmds.el (set-locale-environment): Soothe compiler. - - * obsolete/lazy-lock.el (lazy-lock) : Move from font-lock.el. - - * obsolete/fast-lock.el (fast-lock) : Move from font-lock.el. - - * font-lock.el (fast-lock, lazy-lock) : Remove. - (font-lock-lines-before): Change default to being inactive. - (font-lock-default-fontify-region): Obey font-lock-lines-before. - (font-lock-after-change-function): Don't handle f-l-lines-before here. - -2005-08-31 Michael Albinus - - * net/tramp.el (tramp-handle-make-auto-save-file-name): - Deactivate temporarily advice if active (not needed for Emacs 22, - but for backwards compatibility). - (tramp-exists-file-name-handler): Rewrite. First implementation - was too simple. - (tramp-advice-make-auto-save-file-name): - Call `tramp-handle-make-auto-save-file-name' (again, just for - backwards compatibility). - -2005-08-31 Reto Zimmermann - - * progmodes/vhdl-mode.el - (vhdl-update-sensitivity-list): Handle multi-dimensional array access. - (vhdl-end-p): Fix indentation bug "else" after "-- when". - (vhdl-set-default-project): New function (easier setting of default). - (vhdl-port-copy): Handle extended identifiers for generics. - (vhdl-compiler-alist): Better description for error message regexp. - (vhdl-make): Query for target, use previous as default. - (vhdl-port-copy): Fix port copy for port names starting with "signal". - (vhdl-font-lock-keywords-2): Fix fontification for record - el. assign. - (vhdl-speedbar-make-subpack-line): Add package body link. - (vhdl-generate-makefile-1): Not include itself as dependency. - (vhdl-font-lock-init): Highlight c-preprocessor directives. - (vhdl-*ward-syntactic-ws): Skip c-preprocessor directives. - (vhdl-get-syntactic-context): Handle c-preprocessor directives. - (vhdl-update-sensitivity-list): Start scan at opening parenthesis. - (vhdl-fixup-whitespace-region): Fix jumping point (infinite loop). - (vhdl-update-sensitivity-list-buffer): Add string argument for `error'. - (vhdl-import-project): Add string argument for `error'. - (vhdl-compose-configuration) - (vhdl-compose-configuration-architecture): Add configuration - declaration generation. - (vhdl-scan-directory-contents): Scan for block/generate hierarchy. - (vhdl-trailer-re): Add "record" keyword (better indentation). - (vhdl-fixup-whitespace-region): "[^ \t\"-]+" instead of - "[^ \t-\"]+". - (vhdl-font-lock-keywords-2): Not highlight formal parameter after `|'. - (vhdl-testbench-entity-file-name) - (vhdl-testbench-architecture-file-name): Allow separate - customization of testbench file names. - (vhdl-beginning-of-block): Handle optional subprogram parameter list. - (vhdl-get-visible-signals): Allow newline within alias declaration. - (vhdl-update-sensitivity-list): Signal read only on certain attributes. - (vhdl-fixup-whitespace-region): Fix bug with strings (double quotes). - (member-ignore-case): Alias for missing function in XEmacs. - (vhdl-compiler-alist): Add unit-to-file name mapping for Cadence NC. - (vhdl-update-sensitivity-list): Ignore case on read signals. - (vhdl-replace-string): Adjust case only for file names. - (vhdl-update-sensitivity-list): Fix search for read signals. - (vhdl-update-sensitivity-list): Exclude formal parameters. - (vhdl-get-visible-signals): Include aliases of signals. - (vhdl-get-visible-signals): Fix signal name searching. - (vhdl-port-flatten, vhdl-port-reverse-direction): Better message. - (vhdl-fixup-whitespace-region): Fix for character - literals (e.g. `:'). - -2005-08-31 Juanma Barranquero - - * ansi-color.el (comint-last-output-start): - * bs.el (font-lock-verbose): - * diff-mode.el (add-log-buffer-file-name-function): - * dired-x.el (vm-folder-directory): - * faces.el (help-xref-stack-item): - * files.el (font-lock-keywords): - * find-lisp.el (dired-buffers, dired-subdir-alist): - * ido.el (cua-inhibit-cua-keys): - * log-view.el (cvs-minor-wrap-function): - * outline.el (font-lock-warning-face): - * simple.el (compilation-current-error): - * speedbar.el (ange-ftp-path-format, efs-path-regexp) - (font-lock-keywords, x-pointer-hand2, x-pointer-top-left-arrow): - * tooltip.el (comint-prompt-regexp): - * w32-fns.el (explicit-shell-file-name): - * term/mac-win.el (mac-charset-info-alist) - (mac-services-selection, mac-system-script-code): - * term/tty-colors.el (msdos-color-values): - * term/w32-win.el (xlfd-regexp-registry-subnum): - * term/x-win.el (x-keysym-table, x-selection-timeout) - (x-session-id, x-session-previous-id): - * textmodes/ispell.el (mail-yank-prefix): - * textmodes/makeinfo.el (tex-end-of-header, tex-start-of-header): - * textmodes/org.el (calc-embedded-close-formula) - (calc-embedded-open-formula) - (font-lock-unfontify-region-function): - * textmodes/reftex-global.el (isearch-next-buffer-function) - (TeX-master): - * textmodes/reftex.el (font-lock-keywords): - * textmodes/tex-mode.el (font-lock-comment-face) - (font-lock-doc-face): - * textmodes/texinfo.el (outline-heading-alist): - Add defvars. - - * textmodes/artist.el (x-pointer-crosshair): Add defvar. - (artist-spray-chars, artist-mode-init, artist-replace-string) - (artist-select-erase-char, artist-vap-find-endpoints-horiz) - (artist-vap-find-endpoints-vert, artist-vap-find-endpoints-swne) - (artist-vap-find-endpoints-nwse): "?\ " -> "?\s". - - * textmodes/conf-mode.el (outline-heading-end-regexp): Add defvar. - (conf-align-assignments): "?\ " -> "?\s". - - * textmodes/reftex-index.el (TeX-master): Add defvar. - (reftex-index-phrases-marker): Move up defvar. - - * textmodes/reftex-toc.el (zmacs-regions): Add defvar. - (reftex-toc-include-labels-indicator) - (reftex-toc-include-index-indicator) - (reftex-toc-max-level-indicator): Move up declarations. - - * net/tramp.el (tramp-handle-make-auto-save-file-name): Pass list - of args to `tramp-run-real-handler', even if it's empty in this case. - -2005-08-31 YAMAMOTO Mitsuharu - - * dired.el (dired-move-to-filename-regexp): Add date format for - Mac OS X 10.3 in East Asian locales. - -2005-08-31 Michael Albinus - - * files.el (make-auto-save-file-name): Add file name handler call - if applicable. - - * net/tramp.el (tramp-file-name-handler-alist) - (tramp-file-name-for-operation): Add `make-auto-save-file-name'. - (tramp-handle-make-auto-save-file-name): Rename from - `tramp-make-auto-save-file-name'. - (tramp-exists-file-name-handler): New defun. - (tramp-advice-make-auto-save-file-name): Make defadvice only when - `make-auto-save-file-name' is not a magic file name operation. - -2005-08-30 Richard M. Stallman - - * files.el (risky-local-variable-p): - Match `-predicates' and `-commands. - - * cus-edit.el (custom-buffer-sort-alphabetically): Default to t. - (custom-save-all): Visit the file if necessary; - kill the buffer if we created it. - (custom-save-delete): Don't visit file or kill buffer here. - -2005-08-30 Carsten Dominik - - * textmodes/org.el (org-special-keyword): New face. - (org-table-copy-down, org-table-eval-formula) - (org-table-recalculate, org-init-section-numbers): - Use `string-to-number' instead of `string-to-int'. - (org-get-location): Use `insert-buffer-substring' instead of - `insert-buffer'. - (org-modify-diary-entry-string): New function. - (org-get-entries-from-diary): Set the hook for `add-to-diary-list'. - (org-disable-agenda-to-diary): Rename from `org-disable-diary'. - (org-toggle-fixed-width-section): Use QUOTE keyword if there is no - active region. - (org-export-as-html): Handle QUOTE keyword. - (org-quote-string): New option. - (org-bookmark-jump-unhide): New function, used for - `bookmark-after-jump-hook'. - (org-diary-default-entry): Apply only when not called through - `org-agenda'. - -2005-08-30 Juanma Barranquero - - * net/eudc.el (mode-popup-menu): - * play/handwrite.el (ps-printer-name, ps-lpr-command): - * progmodes/ada-mode.el (compile-auto-highlight) - (skeleton-further-elements): - * progmodes/autoconf.el (font-lock-syntactic-keywords): - * progmodes/cmacexp.el (msdos-shells): - * progmodes/compile.el (font-lock-extra-managed-props) - (font-lock-keywords, font-lock-maximum-size) - (font-lock-support-mode): - * progmodes/grep.el (font-lock-lines-before): - * progmodes/idlw-complete-structtag.el (idlwave-completion-help-info): - * progmodes/mixal-mode.el (compile-command): - * progmodes/perl-mode.el (font-lock-comment-face) - (font-lock-doc-face, font-lock-string-face): - * progmodes/prolog.el (comint-prompt-regexp): - * progmodes/sh-script.el (font-lock-comment-face) - (font-lock-set-defaults, font-lock-string-face): - * progmodes/sql.el (font-lock-keyword-face) - (font-lock-set-defaults, font-lock-string-face): - * progmodes/vhdl-mode.el (compilation-file-regexp-alist) - (itimer-version, lazy-lock-defer-contextually) - (lazy-lock-defer-on-scrolling, lazy-lock-defer-on-the-fly): - Add defvars. - - * progmodes/cperl-mode.el (cperl-electric-lbrace) - (cperl-electric-keyword, cperl-electric-pod) - (cperl-electric-backspace, cperl-forward-re) - (cperl-fix-line-spacing, cperl-fill-paragraph): "?\ " -> "?\s". - (vc-rcs-header, vc-sccs-header): Add defvars. - - * progmodes/fortran.el (fortran-indent-to-column): "?\ " -> "?\s". - (font-lock-syntactic-keywords, gud-find-expr-function): - Add defvars. - - * progmodes/gdb-ui.el (tool-bar-map): Add defvar. - (gdb-frame-parameters): Declare before use. - - * progmodes/gud.el (gdb-active-process, gdb-define-alist) - (gdb-macro-info, gdb-server-prefix, gdb-show-changed-values) - (gdb-var-changed, gdb-var-list, tool-bar-map): Add defvars. - (gud-expr-compound-sep, gud-expr-compound): "?\ " -> "?\s". - - * progmodes/idlw-help.el (browse-url-generic-args): Add defvar. - (idlwave-help-with-source): Use `insert-buffer-substring', not - `insert-buffer'. - -2005-08-29 Juri Linkov - - * outline.el (hide-entry, hide-leaves, outline-toggle-children): - Put outline-back-to-heading function call inside save-excursion. - -2005-08-29 Juanma Barranquero - - * man.el (Man-init-defvars, Man-translate-references) - (Man-support-local-filenames, Man-highlight-references): - * progmodes/sql.el (sql-interactive-mode): - * shell.el (shell-mode, shell-resync-dirs): Fix typos in docstrings. - - * emacs-lisp/checkdoc.el (compilation-error-regexp-alist) - (compilation-mode-font-lock-keywords): Add defvars. - (checkdoc-interactive-loop): "?\ " -> "?\s". - - * emacs-lisp/lisp-mode.el (font-lock-comment-face) - (font-lock-doc-face, font-lock-string-face) - (font-lock-keywords-case-fold-search): Add defvars. - (emacs-lisp-mode-syntax-table): "?\ " -> "?\s". - - * obsolete/sun-fns.el (mouse-select-or-drag-move-point): - Don't pass X and Y (they are ignored anyway). - (mouse-set-mark, mouse-select-window, mouse-delete-other-windows) - (mouse-delete-window): Make arguments optional. - - * obsolete/rnews.el (news-add-news-group): Don't use `end-of-line'. - (caesar-translate-table, minor-modes, news-buffer-save) - (news-group-name, news-minor-modes): Add defvars. - - * emacs-lisp/lselect.el (mouse-highlight-priority) - (x-lost-selection-functions, zmacs-regions): - * emacs-lisp/pp.el (font-lock-verbose): - * emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function): - * emacs-lisp/tcover-ses.el (ses-initial-global-parameters) - (ses-mode-map): - * emacs-lisp/tcover-unsafep.el (safe-functions): - * international/mule-cmds.el (mac-system-coding-system) - (mac-system-locale): - * language/ethio-util.el (rmail-current-message) - (rmail-message-vector): - * language/thai-util.el (thai-auto-composition-mode): - * mail/metamail.el (rmail-current-message, rmail-message-vector): - * mail/mspools.el (rmail-inbox-list, vm-crash-box) - (vm-folder-directory, vm-init-file, vm-init-file-loaded) - (vm-primary-inbox, vm-spool-files): - * mail/rmail.el (deleted-head, font-lock-fontified) - (mail-abbrev-syntax-table, mail-abbrevs, messages-head) - (rmail-use-spam-filter, rsf-beep, rsf-sleep-after-message) - (total-messages): - * mail/rmail-spam-filter.el (bbdb/mail_auto_create_p) - (rmail-summary-mode-map): - * mail/rmailkwd.el (rmail-buffer, rmail-current-message) - (rmail-last-label, rmail-last-multi-labels) - (rmail-summary-vector, rmail-total-messages): - * mail/rmailmsc.el (rmail-current-message, rmail-inbox-list): - * mail/rmailsum.el (msgnum): - * mail/uce.el (gnus-original-article-buffer, mail-reply-buffer) - (rmail-current-message): - * obsolete/fast-lock.el (font-lock-face-list): - * obsolete/rnewspost.el (mail-reply-buffer): - * obsolete/scribe.el (compile-command): - * obsolete/x-menu.el (x-process-mouse-hook): Add defvars. - -2005-08-28 John Paul Wallington - - * ibuf-ext.el (ibuffer-auto-update-changed): - Use `frame-or-buffer-changed-p' to check whether we need to update. - (ibuffer-auto-mode): Don't advise `get-buffer-create' and - `kill-buffer'. Initialise `ibuffer-auto-buffers-changed' - as a `frame-or-buffer-changed-p' state vector instead. - -2005-08-27 Romain Francoise - - * textmodes/makeinfo.el (makeinfo-compile): - Use `compilation-start'. Set `next-error-function' according to - `disable-errors'. - (makeinfo-next-error): New function. - (makeinfo-region): Adjust to new `makeinfo-compile' prototype. - (makeinfo-buffer): Likewise. - - * progmodes/compile.el (compilation-start): Add autoload cookie. - - * progmodes/antlr-mode.el: Don't autoload `compilation-start'. - * textmodes/sgml-mode.el: Likewise. - * progmodes/python.el: Likewise. - -2005-08-27 Eli Zaretskii - - * simple.el (blink-matching-paren-distance): Document the meaning - of nil value, and allow to customize to nil. - - * eshell/esh-ext.el (eshell-windows-shell-file): Look for - command.com, not command.exe. - -2005-08-26 John Wiegley - - * eshell/esh-cmd.el (eshell-rewrite-named-command): Change the - code around a bit so that an extraneous nil argument is not added - to a command when no args are given. - - * eshell/esh-arg.el (eshell-parse-double-quote): If a - double-quoted argument resolves to nil, return it as an empty - string rather than as nil. This made it impossible to pass "" to - a shell script as a null string argument. - -2005-08-26 Stefan Monnier - - * outline.el (outline-invent-heading): New fun. - (outline-promote, outline-demote): Use it. - (outline-move-subtree-down): Remove unused vars `re' and `txt'. - (outline-end-of-subtree): Remove unused var `opoint'. - -2005-08-26 David Reitter - - * menu-bar.el (truncate-lines, write-file, print-buffer) - (ps-print-buffer-faces, ps-print-buffer, split-window): - Disable menu items when the frame they refer to is invisible, or when - they refer to a buffer and the minibuffer is selected. - -2005-08-26 Pavel Kobiakov - - * progmodes/flymake.el (flymake-highlight-err-lines): - Use save-excursion around flymake-highlight-line to preserve point. - -2005-08-26 Eli Zaretskii - - * progmodes/octave-mod.el: Change Author and Maintainer address. - (octave-maintainer-address): Change Kurt's email address. - * progmodes/octave-inf.el: Change Author and Maintainer address. - * progmodes/octave-hlp.el: Change Author and Maintainer address. - -2005-08-26 Kim F. Storm - - * subr.el (version-list-<, version-list-<=, version-list-=): - Rename from integer-list-*. - (version-list-not-zero): Likewise. Fix while loop. - (version=): Use version-list-= instead of string-equal. - -2005-08-26 Richard M. Stallman - - * outline.el (outline-promote): Try shortening the heading. - As last resort, read the heading to use. - (outline-demote): As last resort, read the heading to use. - -2005-08-26 Romain Francoise - - * progmodes/compile.el (compilation-start): Doc fix. - - * progmodes/antlr-mode.el (antlr-default): Fix defface form. - (antlr-font-lock-additional-keywords): Fix reference to - `antlr-font-lock-literal-regexp' erroneously changed during the - mass face rename. - (antlr-run-tool): Use `compilation-start'. - - * textmodes/sgml-mode.el (sgml-validate): Use `compilation-start' - instead of the obsolete `compile-internal'. - -2005-08-26 Juanma Barranquero - - * calendar/cal-bahai.el (date, displayed-month, displayed-year) - (number, original-date): - * calendar/cal-china.el (date): - * calendar/cal-coptic.el (date): - * calendar/cal-french.el (date): - * calendar/cal-hebrew.el (date, entry, number, original-date): - * calendar/cal-islam.el (date, number, original-date): - * calendar/cal-iso.el (date): - * calendar/cal-julian.el (date): - * calendar/cal-mayan.el (date): - * calendar/cal-menu.el (date, event): - * calendar/cal-persia.el (date): - * calendar/lunar.el (date): - * calendar/solar.el (date): Add defvars. - - * emerge.el: - * ibuffer.el: - * info-xref.el: - * obsolete/bg-mouse.el: - * obsolete/sun-curs.el: - * obsolete/swedish.el: Move the `defvar's to the top level. - - * smerge-mode.el (smerge-refined-change): Add :group. - -2005-08-25 Stefan Monnier - - * smerge-mode.el (smerge-remove-props): Make the args non-optional. - (smerge-keep-n): Remove props. - (smerge-keep-base, smerge-keep-other, smerge-keep-mine) - (smerge-keep-current, smerge-kill-current): Don't remove props anymore - now that it's done in smerge-keep-n. - (smerge-refined-change): New face. - (smerge-refine-chopup-region, smerge-refine-highlight-change) - (smerge-refine): New funs. - (smerge-basic-map): Bind smerge-refine. - -2005-08-25 Juri Linkov - - * progmodes/grep.el (grep, grep-mode): Make buffer-local variables - compilation-process-setup-function and compilation-disable-input - in grep-mode instead of let-bindings in grep. - - * menu-bar.el (menu-bar-options-menu, menu-bar-options-save): - Delete "Automatic File De/compression" (auto-compression-mode). - -2005-08-25 Juanma Barranquero - - * obsolete/bg-mouse.el: Move to obsolete/ from term/. - Silence warning about non-existent variable. - -2005-08-25 Richard M. Stallman - - * menu-bar.el (menu-bar-describe-menu): Delete "What's New". - Rename "Describe Key" to "Describe Key or Mouse Operation". - - * mail/mailalias.el (build-mail-aliases): Delete comments - from the contents before processing them. - - * isearch.el (isearch-edit-string): Erase the Search prompt - if user enters an empty string and there is no default. - - * comint.el (comint-file-name-prefix): Add autoload. - -2005-08-25 Joe Corneli - - * subr.el (play-sound): Rearrange to avoid warning. - -2005-08-25 Carsten Dominik - - * calendar/diary-lib.el (diary-modify-entry-list-string-function): - New hook. - (add-to-diary-list): Call `diary-modify-entry-list-string-function'. - -2005-08-24 Stefan Monnier - - * emacs-lisp/easy-mmode.el (define-minor-mode): Simplify. - - * custom.el (custom-theme-set-variables): Sort minor modes last. - -2005-08-24 Vinicius Jose Latorre - - * subr.el (version-separator, version-regexp-alist): New vars used by - version comparison funs. - (integer-list-<, integer-list-=, integer-list-<=) - (integer-list-not-zero): New funs for integer list comparison. - (version-to-list, version=, version<, version<=): New funs for version - comparison. - -2005-08-24 Juanma Barranquero - - * emerge.el (merge-begin, merge-end, template, A-begin, A-end) - (B-begin, B-end, diff, diff-vector, valid-diff): Defvar at compile - time to silence the byte-compiler. - - * ibuffer.el (ibuffer-compile-make-eliding-form) - (ibuffer-check-formats): Use `with-no-warnings' to hide references - to `ibuffer-elide-long-columns' (which is defined on ibuffer.el, - so it's silly to get warnings for it). - (ibuffer-auto-mode, ibuffer-cached-filter-formats) - (ibuffer-compiled-filter-formats, ibuffer-filter-format-alist) - (ibuffer-filter-group-kill-ring, ibuffer-filter-groups) - (ibuffer-filtering-qualifiers, ibuffer-hidden-filter-groups) - (ibuffer-inline-columns, ibuffer-show-empty-filter-groups) - (ibuffer-tmp-hide-regexps, ibuffer-tmp-show-regexps): - Defvar at compile time. - (ibuffer-compiled-formats, ibuffer-cached-eliding-string) - (ibuffer-cached-formats, ibuffer-cached-elide-long-columns): - Declare them before use. - - * info-xref.el (info-xref-xfile-alist, info-xref-filename-heading) - (info-xref-good, info-xref-bad): Defvar at compile time. - - * obsolete/mlsupport.el (filter-region, execute-monitor-command): - Use `let*' instead of `let'. - - * obsolete/sun-curs.el (icon-edit, *mouse-window*, *mouse-x*) - (*mouse-y*, menu, char): Defvar at compile time. - (sc::menu): Declare it before use. - (sc::pack-one-line): Use `let', not `let*'. - - * obsolete/swedish.el (news-inews-hook, news-group-hook-alist) - (mail-send-hook): Defvar at compile time. - - * term/bg-mouse.el (bg-mouse-x, bg-mouse-y, bg-cursor-window): - Defvar at compile time. - - * term/sun-mouse.el (current-global-mousemap) - (current-local-mousemap): Declare them before use. - -2005-08-24 Carsten Dominik - - * bookmark.el (bookmark-after-jump-hook): New hook. - (bookmark-jump): Run `bookmark-after-jump-hook'. - -2005-08-23 Juri Linkov - - * faces.el (minibuffer-prompt): Doc fix. - -2005-08-23 Juanma Barranquero - - * progmodes/xscheme.el: Trivial changes to silence warnings. - (xscheme-previous-mode, xscheme-previous-process-state): - Add defvars. - (xscheme-last-input-end, xscheme-process-command-line) - (xscheme-process-name, xscheme-buffer-name) - (xscheme-expressions-ring-max, xscheme-expressions-ring) - (xscheme-expressions-ring-yank-pointer, xscheme-running-p) - (xscheme-control-g-synchronization-p) - (xscheme-control-g-disabled-p, xscheme-string-receiver) - (default-xscheme-runlight, xscheme-runlight) - (xscheme-runlight-string, xscheme-process-filter-state) - (xscheme-allow-output-p, xscheme-prompt, xscheme-mode-string): - Move to beginning of file. - (scheme-interaction-mode-commands-alist) - (scheme-interaction-mode-map, scheme-debugger-mode-map): - Declare them before use. Note: the initialization code for the - variables has not been moved because it uses functions that reference - the variables. - (xscheme-control-g-message-string, xscheme-process-filter-alist) - (xscheme-prompt-for-expression-map): Declare them before use. - (scheme-debugger-mode-commands): "?\ " -> "?\s". - -2005-08-23 Ed Swarthout (tiny change) - - * hexl.el (hexl-print-current-point-info): Fix simple spelling error. - -2005-08-22 Juri Linkov - - * faces.el (set-face-underline): Delete this duplicate function - and make an obsolete alias to set-face-underline-p. - (set-face-underline-p): Use docstring of set-face-underline. - (describe-face): Create hyperlink to parent face. - - * info.el (Info-insert-dir): Use save-excursion around - insert-buffer-substring. - (Info-isearch-search): Use LITERAL arg of replace-regexp-in-string. - (Info-escape-percent): Delete function. - (Info-fontify-node): Replace Info-escape-percent by - replace-regexp-in-string with REP arg set to lambda that - duplicates `%' and preserves text properties. - - * progmodes/compile.el (compilation-disable-input): Doc fix. - (define-compilation-mode): Doc fix and refill. - (kill-compilation): Use `mode-name' in the error message. - (compilation-find-file): Use `compilation-error' in the - read-file-name's prompt. - -2005-08-22 Stefan Monnier - - * smerge-mode.el (smerge-basic-map): Bind smerge-combine-with-next. - (smerge-auto-leave): Make undo re-enable the mode. - (debug-ignored-errors): Add the user-error of impossible resolution. - (smerge-resolve): Move things around a bit, in preparation for later. - (smerge-diff): Don't fail if the buffer has no associated file. - (ediff-ancestor-buffer, ediff-quit-hook): Quieten byte-compiler. - (smerge-conflict-overlay): New function. - (smerge-match-conflict): Don't add text properties here. - (smerge-find-conflict): Instead, add an overlay here. - Also check for the case where we're inside a conflict already, so as to - obviate the need for font-lock-multiline, which is unbearably slow with - large conflicts and ciomplex font-lock patterns. - (smerge-remove-props): Remove overlay rather than text-properties. - (smerge-mode): Don't set font-lock-multiline. - Remove overlays when turned off. - -2005-08-21 Kim F. Storm - - * ido.el (ido-ignore-item-p): Use save-match-data. - Bind case-fold-search to ido-case-fold locally. - -2005-08-20 Richard M. Stallman - - * files.el (normal-mode): If font lock is on, turn it off and on. - - * subr.el (replace-regexp-in-string): Doc fix. - - * startup.el (command-line-1): Don't suppress startup screen - due to existing processes. - - * progmodes/grep.el (grep): Bind compilation-disable-input to t. - - * progmodes/compile.el (compilation-disable-input): Default to nil. - -2005-08-20 Kevin Rodgers (tiny change) - - * progmodes/compile.el (compilation-disable-input): New defcustom. - (compilation-start): If compilation-disable-input is non-nil, send - EOF to the compilation process. - -2005-08-20 Eli Zaretskii - - * textmodes/tex-mode.el (tex-bibtex-file, tex-send-tex-command): - Run the argument of tex-shell-cd-command through - convert-standard-filename, to get the correct style of slashes on - Windows, and enclose the result in quotes, in case the file name - includes whitespace or other special characters. - -2005-08-19 Andreas Schwab - - * progmodes/gud.el (gud-kill-buffer-hook): Don't kill unrelated - process. - -2005-08-18 Luc Teirlinck - - * cus-start.el (minibuffer-prompt-properties): Correct typo. - -2005-08-18 Kim F. Storm - - * scroll-lock.el: Fix errors due to incorrect line wrapping. - -2005-08-18 Richard M. Stallman - - * scroll-lock.el: New file. - -2005-08-18 Thien-Thi Nguyen - - * dired.el (dired-move-to-end-of-filename): - Handle fifo as rendered by "ls -lF": Don't include trailing "|". - -2005-08-18 Kim F. Storm - - * ido.el (ido-everywhere): Fix defcustom :set function to disable - rather than toggle mode when custom value is nil. - (ido-everywhere): Fix defun doc string. - -2005-08-17 Richard M. Stallman - - * cus-start.el (minibuffer-prompt-properties): Use "Don't Enter" - as tag instead of "Inviolable". - -2005-08-17 Kim F. Storm - - * windmove.el (windmove-coordinates-of-position): Remove. - (windmove-coordinates-of-window-position): Remove. - (windmove-reference-loc): Use posn-at-point instead. - - * subr.el (insert-for-yank-1): Doc fix. - - * ido.el (ido-enter-matching-directory): Rename from - ido-enter-single-matching-directory. Change `slash' choice to - `only'. Add `first' choice. - (ido-exhibit): Adapt to above changes. - -2005-08-16 Luc Teirlinck - - * Makefile.in: Expand comment about building loaddefs.el. - -2005-08-16 Nick Roberts - - * progmodes/gdb-ui.el (toggle-gdb-use-inferior-io-buffer): - Comment use of defadvice. - - * progmodes/gud.el (gud-jump): Rework for gdb-ui. - -2005-08-15 Dan Nicolaescu - - * buff-menu.el, compare-w.el, emacs-lisp/testcover.el, - * play/gomoku.el, play/mpuz.el, progmodes/flymake.el, - * progmodes/gdb-ui.el, progmodes/idlw-help.el, - * progmodes/idlw-shell.el, progmodes/ld-script.el, - * progmodes/which-func.el, ruler-mode.el, strokes.el, - * textmodes/sgml-mode.el, textmodes/table.el: Do not use face-alias - for backward compatibility for faces that did not appear in the - previous Emacs release. - - * simple.el (next-error-follow-minor-mode): Fix init value and lighter. - -2005-08-15 Kim F. Storm - - * emulation/cua-base.el (cua-delete-region): Return t if - deleted region was non-empty. - (cua-replace-region): Inhibit overwrite-mode for - self-insert-command if replaced region was non-empty. - (cua--explicit-region-start, cua--status-string): Make them - buffer-local at top-level... - (cua-mode): ...rather than when mode is enabled. - -2005-08-15 Thien-Thi Nguyen - - * progmodes/vhdl-mode.el (vhdl-emacs-21): - Set t for Emacs 21, 22, and so on. - -2005-08-15 David Ponce - - * tree-widget.el: Update Commentary header. - (tree-widget-theme): Doc fix. - (tree-widget-space-width): New option. - (tree-widget-image-properties): Look up in the default theme too. - (tree-widget--cursors): Only for images with arrow pointer shape. - (tree-widget-lookup-image): Pointer shape is hand by default. - (tree-widget-icon): Rename generic icon widget from - `tree-widget-control'. - (tree-widget-*-icon): Rename from `tree-widget-*-control' and - derive from `tree-widget-icon'. - (tree-widget-handle): Improve default look and feel of the text - representation. - (tree-widget): Rename :*-control properties to :*-icon properties. - Add :action and :help-echo properties. - (tree-widget-after-toggle-functions): Move. - (tree-widget-close-node, tree-widget-open-node): Remove. - (tree-widget-before-create-icon-functions): New hook. - (tree-widget-value-create): Update to allow customization of icons - and nodes at run-time via that new hook. - (tree-widget-icon-create, tree-widget-leaf-node-icon-p) - (tree-widget-icon-action, tree-widget-icon-help-echo) - (tree-widget-action, tree-widget-help-echo): New functions. - -2005-08-15 Kim F. Storm - - * ido.el (ido-buffer-internal): Use with-no-warnings. - (ido-make-merged-file-list): Use while-no-input. - -2005-08-15 Richard M. Stallman - - * textmodes/flyspell.el (flyspell-mark-duplications-flag): Doc fix. - (flyspell-large-region): Fix doc and custom type. - -2005-08-14 Richard M. Stallman - - * files.el (interpreter-mode-alist): Doc fix. - - * mail/rmail.el (rmail-nonignored-headers): New variable. - (rmail-clear-headers): Use it. - (rmail-reply): Better handling of mail-followup-to header. - - * progmodes/sh-script.el (sh-font-lock-keywords-var): - Rename variable from sh-font-lock-keywords. In the `shell' entry, - don't try to refer to executable-font-lock-keywords. - (sh-font-lock-keywords-var-1): Rename from sh-font-lock-keywords-1. - (sh-font-lock-keywords-var-2): Rename from sh-font-lock-keywords-2. - (sh-font-lock-keywords): Append executable-font-lock-keywords here. - (sh-mode): Set comment-start-skip, local-abbrev-table, - imenu-case-fold-search. - (sh-set-shell): Don't set them here. - (sh-feature): Simplify. Get rid of the eval-a-variable feature. - Don't cache the results in the original alist; don't ever modify - that alist. - - * textmodes/flyspell.el (flyspell-mode): Autoload a defvar. - - * textmodes/ispell.el (lookup-words): Cope with case where ARGS is - empty. - -2005-08-15 Andreas Schwab - - * desktop.el: Put autoload cookie at risky-local-variable declarations. - - * dired.el, info.el, mail/rmail.el: Revert last change. - -2005-08-14 Thien-Thi Nguyen - - * dired.el: Fix dependency bug: Wrap `desktop-buffer-mode-handlers' - modification in `eval-after-load' form. - * info.el: Likewise. - * mail/rmail.el: Likewise. - -2005-08-14 Juri Linkov - - * progmodes/compile.el (compilation-mode-font-lock-keywords): - Remove highlighting of "Compilation started". Highlight only - the word "finished" in "Compilation finished". Add highlighting - of "interrupt", "killed", "terminated" and the exit code. - (compilation-start): Add newline after header. Use exactly the - same time stamp format as the finishing message. - (compilation-mode-map): Add ellipsis to "Search Files (grep)". - - * progmodes/grep.el (grep-mode-map): Add ellipsis to "Another grep". - (grep-mode-font-lock-keywords): Don't highlight "Grep started". - Add highlighting of "interrupt", "killed", "terminated". - - * delsel.el (delete-selection-pre-hook): If overwrite-mode is - enabled and the current command is self-insert-command, call it - explicitly with overwrite-mode bound to nil, to not allow it - to delete the character after the selected region. - -2005-08-12 Matt Hodges - - * emacs-lisp/eldoc.el: Add move-beginning-of-line, - move-end-of-line, end-of-line, and beginning-of-line to the list - of commands after which the echo area is updated. - -2005-08-12 Eli Zaretskii - - * cus-edit.el (custom-save-all, custom-save-delete): - Bind recentf-exclude to exclude custom-file. - -2005-08-12 Ehud Karni - - * mail/rmailsum.el (rmail-summary-end-of-message): New command - to go to the bottom of the mail message. Added to - `rmail-summary-mode-map' with key "/". - (rmail-summary-show-message): New (internal) function for use by - both `rmail-summary-beginning/end-of-message'. - (rmail-summary-beginning-of-message): Change to use - rmail-summary-show-message. - - * mail/rmail.el (rmail-end-of-message): New command to go to the - end of the current message. Added to `rmail-mode-map' with key "/". - (rmail-beginning-of-message): Fix to work as documented. - (rmail-mode): Change documentation. - - * progmodes/compile.el (compilation-start): Add the line - "Compilation started" with compilation start time. - (compilation-mode-font-lock-keywords): Add `started' to keywords. - -2005-08-11 Luc Teirlinck - - * menu-bar.el (menu-bar-options-menu): Standardize capitalization - of menu items. - -2005-08-11 Richard M. Stallman - - * simple.el (pop-global-mark): Reverse test of widen-automatically. - - * battery.el (battery-status-function): Don't use ignore-errors. - -2005-08-11 Lute Kamstra - - * emacs-lisp/generic.el (generic-font-lock-defaults): Declare with - define-obsolete-variable-alias. - -2005-08-11 Stefan Monnier - - * net/ange-ftp.el: Use \\` and \\' instead of ^ and $ in regexps. - (ange-ftp-send-cmd): Revert last change, and expand - the comment explaining the problem. - -2005-08-10 Luc Teirlinck - - * ldefs-boot.el: Update. - - * menu-bar.el (menu-bar-showhide-menu): Rename "Date, Time and Mail" - item to "Time, Load and Mail". Change help echo text. - - * time.el (display-time-use-mail-icon, display-time-format) - (display-time-string-forms): Shorten first line of docstrings. - -2005-08-10 Lars Hansen - - * desktop.el (desktop-buffer-mode-handlers): - Make non-customizable. Add autoload cookie. Change initial value to - nil; add elements in respective modules instead. Fix doc string. - (desktop-load-file): New function. - (desktop-minor-mode-handlers): New autoloaded variable. - (desktop-create-buffer): Call minor mode handlers. - Use desktop-load-file to load major and minor mode modules prior to - checking for a handler. - (desktop-save): Don't add nil to desktop-minor-modes for minor - modes with nil function in desktop-minor-mode-table. Don't delete - desktop file before rewriting it. - (desktop-locals-to-save): Add autoload cookie. Don't make - automatically buffer-local. Add variables column-number-mode, - size-indication-mode, indent-tabs-mode, - indicate-buffer-boundaries, indicate-empty-lines and - show-trailing-whitespace. - (desktop-clear): Allow desktop-clear-preserve-buffers to contain - regexps. Don't use desktop-clear-preserve-buffers-regexp. - (desktop-clear-preserve-buffers-regexp): Delete. - (desktop-clear-preserve-buffers): Update initial value and docstring. - (desktop-save-buffer): Fix doc string. - - * hilit-chg.el: Add handler to desktop-minor-mode-handlers. - (hilit-chg-desktop-restore): New function. - (highlight-changes-mode): Add highlight-changes-mode to - desktop-locals-to-save. - - * dired.el: Add handler to desktop-buffer-mode-handlers. - (dired-restore-desktop-buffer): Remove autoload cookie. - (dired-mode): Add autoload cookie. - - * info.el: Add handler to desktop-buffer-mode-handlers. - (Info-restore-desktop-buffer): Remove autoload cookie. - (Info-mode): Add autoload cookie. - - * mh-e/mh-e.el: Add handler to desktop-buffer-mode-handlers. - (mh-restore-desktop-buffer): Remove autoload cookie. - (mh-folder-mode): Add autoload cookie. - - * mail/rmail.el: Add handler to desktop-buffer-mode-handlers. - (rmail-restore-desktop-buffer): Remove autoload cookie. - -2005-08-11 Masatake YAMATO - - * hexl.el (hexl-address-region): - (hexl-ascii-region, hexl-font-lock-keywords): - (hexl-highlight-line-range): Use the term "region" - instead of "area" for consistency with the other symbols - defined in hexl.el. - -2005-08-09 Luc Teirlinck - - * menu-bar.el (menu-bar-options-save): Move `display-time-mode' to - correct group: it is set with `menu-bar-make-mm-toggle' (pointed - out by Juri Linkov). Add `display-battery-mode'. - -2005-08-09 Juri Linkov - - * progmodes/compile.el (compilation-mode-font-lock-keywords): - Remove `-text' from face variable names. - (compilation-error-file-name, compilation-warning-file-name) - (compilation-info-file-name): Delete faces. - (compilation-line-number, compilation-column-number): - Remove face underlining. - (compilation-message-face): Set to `underline' value by default. - (compilation-error-face, compilation-warning-face) - (compilation-info-face): Remove `-file-name' from face names. - (compilation-error-text-face, compilation-warning-text-face) - (compilation-info-text-face): Delete face variables. - (compilation-text-face): Delete function. - - * progmodes/grep.el (grep-regexp-alist): Use `.+?' instead of `[^:\n]+'. - (grep-mode-font-lock-keywords): Use `.+?' instead of `[^\n-]+'. - (grep-error-face): Set to `compilation-error' instead of - `compilation-error-face' (which is redefined to `grep-hit-face' in - grep buffers). - (grep-mode-font-lock-keywords): Remove `-text' from face variable - names. Use `grep-error-face' instead of `compilation-error-text-face'. - - * dired-aux.el (dired-do-query-replace-regexp): - Use `query-replace-read-args'. - - * replace.el (query-replace-read-from, query-replace-read-to) - (query-replace-read-args): Rename arg `string' to `prompt'. - - * menu-bar.el (menu-bar-showhide-menu): Add `showhide-battery'. - -2005-08-09 Katsumi Yamaoka - - * net/ange-ftp.el (ange-ftp-send-cmd): Make it work properly with - uploading files. - (ange-ftp-canonize-filename): Handle file names beginning with ~ - correctly. - -2005-08-09 Juanma Barranquero - - * textmodes/fill.el (canonically-space-region) - (fill-context-prefix, fill-french-nobreak-p) - (fill-delete-newlines, fill-comment-paragraph) - (justify-current-line): "?\ " -> "?\s". - -2005-08-09 Ben North (tiny change) - - * textmodes/fill.el (fill-nonuniform-paragraphs): - Improve argument/docstring consistency. - -2005-08-09 Richard M. Stallman - - * textmodes/ispell.el (ispell-word): More fboundp checks. - - * files.el (find-file-noselect): Don't call set-buffer-major-mode. - (find-file-noselect-1): Call it here, only if RAWFILE. - (normal-mode): Always set some major mode. - (save-some-buffers-action-alist): Change some explanation strings. - (file-name-non-special): In the `quote' method, use unwind-protect. - -2005-08-09 Magnus Henoch - - * textmodes/ispell.el (ispell-find-aspell-dictionaries): New command. - (ispell-have-aspell-dictionaries): New variable. - (ispell-aspell-data-dir, ispell-aspell-dict-dir): New variables. - (ispell-get-aspell-config-value): New function. - (ispell-aspell-find-dictionary): New function. - (ispell-aspell-add-aliases): New function. - (ispell-valid-dictionary-list): Call ispell-find-aspell-dictionaries if - appropriate. Don't look for ispell dictionaries if we use aspell. - (ispell-menu-map): Don't build a submenu of dictionaries. - -2005-08-09 Richard M. Stallman - - * progmodes/sql.el (sql-interactive-mode-map): Use fboundp. - (sql-read-passwd): Use read-passwd. - - * progmodes/idlw-toolbar.el (idlwave-toolbar) - (idlwave-toolbar-is-possible): Add defvars. - - * progmodes/idlw-shell.el (idlwave-xemacs-hack-mouse-track): - Avoid warnings. - - * progmodes/idlw-rinfo.el (idlwave-system-variables-alist) - (idlwave-system-class-info, idlwave-executive-commands-alist): - Use defvar. - - * progmodes/cc-engine.el (c-guess-basic-syntax): Add autoload. - - * mail/supercite.el (sc-ask, sc-no-blank-line-or-header): - Avoid warnings. - - * mail/rmail.el (rmail-ignored-headers): Don't hide mime-version: - and content-type: headers. - - * eshell/eshell.el (eshell): Avoid warnings about eshell-mode. - - * emacs-lisp/map-ynp.el (map-y-or-n-p): Reorder the options - and rename some of them to be more self-explanatory. - - * calendar/calendar.el (calendar-mode-map): Bind < and > usefully. - - * startup.el (command-line-1): Implement -scriptload. - - * replace.el (occur-engine): Initial *Occur* output not undoable. - - * menu-bar.el (menu-bar-file-menu): Rename some menu items - and improve help strings. - - * isearch.el (isearch-repeat): When changing direction, - mark search successful. - - * ediff-init.el: Use (featurep 'xemacs). - - * comint.el (send-invisible): Identify buffer, if not selected. - - * align.el: Delete autoload for c-guess-basic-syntax. - -2005-08-09 Juanma Barranquero - - * textmodes/refbib.el (r2b-convert-record, r2b-convert-buffer): - Improve argument/docstring consistency. Doc fixes. - (r2b-variables, r2bv-address, r2bv-annote, r2bv-author) - (r2bv-booktitle, r2bv-date, r2bv-decade, r2bv-editor) - (r2bv-entry-kind, r2bv-institution, r2bv-journal, r2bv-keywords) - (r2bv-kn, r2bv-month, r2bv-note, r2bv-number, r2bv-ordering) - (r2bv-organization, r2bv-pages, r2bv-primary-author) - (r2bv-publisher, r2bv-school, r2bv-title, r2bv-title-first-word) - (r2bv-tr, r2bv-type, r2bv-volume, r2bv-where, r2bv-year): - Defvar at compile time. - -2005-08-09 Juri Linkov - - * info.el: Replace `info' with upper-case `Info' where appropriate. - (info-title-1, info-title-2, info-title-3, info-title-4) - (info-menu-header): Move up face definitions. - (info-menu-star): Rename from `info-menu-5'. - (Info-fontify-node): Replace `info-menu-5' with `info-menu-star'. - (Info-fontify-visited-nodes): Fix docstring. - (Info-hide-note-references): Fix docstring. - (Info-up, Info-next-reference, Info-prev-reference): Put cursor on - menu items in the same way as on cross-references. - (info-apropos): Fix sorting order and formatting to be like in the - stand-alone Info browser. Display error messages for 1 sec. - (Info-mode-map): Move down `c' key binding. Bind `^' to `Info-up'. - (Info-mode-menu): Remove item for `Info-search-case-sensitively' - from the menu bar. - (Info-insert-dir): Restore point after calling - `insert-buffer-substring'. - -2005-08-08 Richard M. Stallman - - * emacs-lisp/lmenu.el (lucid-menubar-map, lucid-failing-menubar) - (recompute-lucid-menubar): Add defvars. - - * mail/sendmail.el (mail-yank-original): Use with-no-warnings. - - * mail/reporter.el (reporter-dump-state): Use insert-buffer-substring. - - * net/net-utils.el (run-dig): Rename from `dig'. - - * play/gametree.el (gametree-mode): Use make-local-variable, - not make-variable-buffer-local. - - * progmodes/ada-prj.el (ada-prj-display-page): Use with-no-warnings. - - * ansi-color.el (ansi-color-make-extent) - (ansi-color-set-extent-face): Use fboundp, not functionp. - - * autorevert.el (auto-revert-tail-mode): Use make-local-variable, - not make-variable-buffer-local. - - * bookmark.el (Info-current-file): Add defvar. - (bookmark-jump-noselect): Use with-no-warnings. - - * completion.el (c-mode-map, fortran-mode-map): Add defvars. - - * ebuff-menu.el (Helper-return-blurb): Add defvar. - - * ffap.el (gnus-summary-buffer, gnus-article-buffer): Add defvars. - - * find-file.el (ada-procedure-start-regexp) - (ada-package-start-regexp): Add defvars. - - * info.el (Info-insert-dir): Use insert-buffer-substring. - - * xml.el (xml-att-def-re): Add defvar. - - * icomplete.el (icomplete-exhibit): Adapt to new while-no-input - calling convention. - - * subr.el (while-no-input): Return t if there is input. - -2005-08-08 Luc Teirlinck - - * cus-start.el (all): Add `overflow-newline-into-fringe'. - -2005-08-08 Juanma Barranquero - - * cmuscheme.el (inferior-scheme-mode-hook, inferior-scheme-mode) - (scheme-prev-l/c-dir/file): Fix typos in docstrings. - -2005-08-08 Emilio C. Lopes - - * cmuscheme.el (scheme-start-file): Replace reference to - `user-emacs-directory' by "~/.emacs.d/". - -2005-08-08 Thien-Thi Nguyen - - * info.el (Info-dir-remove-duplicates): Avoid case folding - in loop; instead, keep downcased strings for comparison. - Suggested by Helmut Eller. - -2005-08-07 Michael Albinus - - Sync with Tramp 2.0.50. - - * net/tramp.el: Remove defvar of `last-coding-system-used' in the - XEmacs case; not necessary anymore. - (tramp-user-regexp): Allow "@" as part of user name. - (tramp-handle-set-visited-file-modtime) - (tramp-handle-insert-file-contents) - (tramp-handle-write-region): No special handling for - `last-coding-system-used, because this is done in - `tramp-accept-process-output' now. - (tramp-accept-process-output): New defun. - (tramp-process-one-action, tramp-process-one-multi-action) - (tramp-wait-for-regexp, tramp-wait-for-output) - (tramp-discard-garbage-erase-buffer): Call it. Reported by David - Howells . - (clear-visited-file-modtime): Defadvice removed. The check for - unset buffer's modtime does not need to be based on - `tramp-buffer-file-attributes'. Suggested by RMS. - (tramp-message): Insert "\n" if not being at beginning of line. - (tramp-find-shell): Use `tramp-barf-if-no-shell-prompt' for code - sequence with same logic. - (tramp-completion-handle-expand-file-name): Discard call of - `tramp-drop-volume-letter'. It is not necessary, and there have - been problems with (expand-file-name "~/.netrc" "/") in ange-ftp. - Reported by Richard G. Bielawski . - (tramp-do-copy-or-rename-file-out-of-band): Transfer message - should always be visible. - (tramp-handle-insert-directory, tramp-setup-complete) - (tramp-set-process-query-on-exit-flag) - (tramp-append-tramp-buffers): Pacify byte-compiler. - (tramp-bug): Delete non-existing variables from list. - Apply `tramp-load-report-modules' as pre-hook. - Mask `tramp-password-prompt-regexp', `tramp-shell-prompt-pattern' and - `shell-prompt-pattern' because of non-7bit characters. - Reported by Sebastian Luque . - (tramp-reporter-dump-variable, tramp-load-report-modules): New defuns. - (tramp-match-string-list): Remove function. - (tramp-wait-for-regexp): Remove call of that function. - Suggested by Kim F. Storm . - (tramp-set-auto-save-file-modes): Use octal integer code #o600 - instead of octal character code ?\600. The latter resulted in a - syntax error with XEmacs. - - * net/tramp-smb.el: Remove defvar of `last-coding-system-used' in the - XEmacs case; not necessary anymore. - (tramp-smb-handle-write-region): No special handling for - `last-coding-system-used, because this is done in - `tramp-accept-process-output' now. - (tramp-smb-wait-for-output): Call `tramp-accept-process-output'. - -2005-08-06 Luc Teirlinck - - * wid-edit.el (widget-choice-value-create): - Unconditionally respect user choice. Set :explicit-choice back to nil - when no longer needed. - (widget-choice-action): Unconditionally respect user choice. - Eliminate :explicit-choice-value. - - * fringe.el (set-fringe-indicators-1, fringe-indicators): Delete. - - * menu-bar.el (menu-bar-options-save): Replace `fringe-indicators' - with `indicate-empty-lines' and `indicate-buffer-boundaries'. - (menu-bar-showhide-fringe-menu): Add new item "Empty line indicators" - running new function `toggle-indicate-empty-lines'. - Rename "Customize" item to "Customize fringe". - Rename "Indicators" item to "Buffer boundaries" and change help echo. - (menu-bar-showhide-fringe-ind-menu): Change several help echos. - Add `menu-bar-showhide-fringe-ind-customize' as "Other (customize)". - Delete "Empty lines only" item. - (menu-bar-showhide-fringe-ind-customize): New function. - (menu-bar-showhide-fringe-ind-mixed) - (menu-bar-showhide-fringe-ind-box) - (menu-bar-showhide-fringe-ind-right) - (menu-bar-showhide-fringe-ind-left) - (menu-bar-showhide-fringe-ind-none): Use `indicate-buffer-boundaries' - instead of `fringe-indicators'. - -2005-08-06 Michael Kifer - - * emulation/viper.el (viper-emacs-state-mode-list): - Add recentf-dialog-mode. Change the date of last update. - -2005-08-06 Michael Kifer - - * emulation/viper-cmd.el (viper-harness-minor-mode, viper-exec-delete) - (viper-exec-yank, viper-put-back): Don't display modification msg - if in the minibuffer. - - * emulation/viper-init.el (viper-replace-overlay-cursor-color) - (viper-insert-state-cursor-color, viper-vi-state-cursor-color): - Make variables frame local. - - * emulation/viper-util.el (viper-append-filter-alist): - Use append instead of nconc. - - * emulation/viper.el (viper-vi-state-mode-list) - (viper-emacs-state-mode-list): Move help-mode and - completion-list-mode from the first list to the second. - (viper-mode): Docstring. - (viper-go-away, viper-non-hook-settings): Don't localize - minor-mode-alist in newer Emacsen. Add advice to - set-cursor-color. Don't bind "\C-c\\". - -2005-08-06 Emilio C. Lopes - - * cmuscheme.el (scheme-trace-command, scheme-untrace-command) - (scheme-macro-expand-command): New user options. - (scheme-trace-procedure, scheme-expand-current-form): New commands. - (scheme-form-at-point, scheme-start-file) - (scheme-interactively-start-process): New functions. - (scheme-get-process): New function, extracted from `scheme-proc'. - (run-scheme): Call `scheme-start-file' to get start file, and pass - it to `make-comint'. - (switch-to-scheme, scheme-proc): - Call `scheme-interactively-start-process' if no Scheme buffer/process - is available. - -2005-08-06 Juri Linkov - - * progmodes/compile.el (compilation-mode-font-lock-keywords): - Use `compilation-text-face', `compilation-info-text-face' and - `compilation-error-text-face' instead of `font-lock-keyword-face'. - (compilation-error): New face. - (compilation-error-file-name): Inherit from - `compilation-error' instead of `font-lock-warning-face'. - (compilation-warning-file-name): Inherit from - `compilation-warning' instead of `font-lock-warning-face'. - (compilation-info, compilation-error-file-name) - (compilation-warning-file-name, compilation-info-file-name) - (compilation-line-number, compilation-column-number): Doc fix. - (compilation-error-text-face, compilation-warning-text-face) - (compilation-info-text-face): New face variables. - (compilation-line-face, compilation-column-face) - (compilation-enter-directory-face) - (compilation-leave-directory-face): Doc fix. - (compilation-text-face): New function. - - * progmodes/grep.el (grep-regexp-alist): Set 5th arg `TYPE' to 0 - instead of 1 to display binary file names as info file links. - (grep-error-face): Use `compilation-error-face' instead of - `font-lock-keyword-face'. - (grep-mode-font-lock-keywords): Use `compilation-info-text-face' - and `compilation-warning-text-face' instead of - `font-lock-keyword-face'. Use `compilation-error-text-face' - instead of `grep-error-face'. - -2005-08-05 Kenichi Handa - - * international/code-pages.el: Add autoload cookies for all coding - systems. - -2005-08-04 Luc Teirlinck - - * cus-start.el (all): Put undo.c where it alphabetically belongs. - -2005-08-04 Juri Linkov - - * progmodes/compile.el (compilation-mode-map): - * progmodes/grep.el (grep-mode-map): - Bind TAB to `compilation-next-error' and [backtab] to - `compilation-previous-error'. - - * progmodes/grep.el (grep-regexp-alist): Replace complex regexp - matching line numbers, column numbers and their ranges with regexp - matching only line numbers. - (grep-context-face): New face variable. - (grep-mode-font-lock-keywords): Use it. - - * faces.el (read-face-name): Delete duplicate faces. - -2005-08-02 Juanma Barranquero - - * thumbs.el (thumbs-find-image): Don't make variables - automatically buffer local. - (thumbs-current-tmp-filename, thumbs-current-image-filename) - (thumbs-image-num): Make automatically buffer local. - (thumbs-show-thumbs-list): Use `make-local-variable', not - `make-variable-buffer-local'. - (thumbs-insert-image): Make `thumbs-current-image-size' buffer-local. - - * play/doctor.el (doctor-type-symbol): "?\ " -> "?\s". - (**mad**, *debug*, *print-space*, *print-upcase*, abuselst) - (abusewords, account, afraidof, arerelated, areyou, bak, beclst) - (bother, bye, canyou, chatlst, continue, deathlst, describe) - (drnk, drugs, eliza-flag, elizalst, famlst, feared, fears) - (feelings-about, foullst, found, hello, history, howareyoulst) - (howdyflag, huhlst, ibelieve, improve, inter, isee, isrelated) - (lincount, longhuhlst, lover, machlst, mathlst, maybe, moods) - (neglst, obj, object, owner, please, problems, qlist) - (random-adjective, relation, remlst, repetitive-shortness) - (replist, rms-flag, schoollst, sent, sexlst, shortbeclst) - (shortlst, something, sportslst, stallmanlst, states, subj) - (suicide-flag, sure, things, thlst, toklst, typos, verb, want) - (whatwhen, whereoutp, whysay, whywant, zippy-flag, zippylst): - Defvar at compile time. - - * progmodes/ada-mode.el (ada-mode): Use `make-local-variable', - not `make-variable-buffer-local'. - -2005-08-02 Kim F. Storm - - * emulation/cua-rect.el (cua--highlight-rectangle): Only show - rectangle overlay in selected window. - -2005-08-01 Luc Teirlinck - - * cus-start.el (all): Put `indicate-empty-lines' in fringe group - instead of display group. Make `indicate-buffer-boundaries' - customizable through Custom. - -2005-08-01 Juanma Barranquero - - * progmodes/gdb-ui.el (gdb-frame-address, gdb-var-changed) - (gdb-output-sink, gdba, gdb-cpp-define-alist-program) - (gdb-set-gud-minor-mode, gdb-exited, gdb-setup-windows) - (gdb-put-string): Fix typos in docstrings. - -2005-08-01 Nick Roberts - - Update copyright notices of files in progmodes directory for - release of Emacs 22.1. - - * progmodes/gdb-ui.el (gdb-enable-debug-log): Add autoload cookie. - - * progmodes/gud.el (gud-tooltip-mode): Add autoload cookie. - Don't barf if the GUD buffer has been killed. - -2005-08-01 Kim F. Storm - - * textmodes/table.el (table-yank-handler): Change defcustom to defvar. - -2005-07-29 Stefan Monnier - - * simple.el (next-error-follow-minor-mode): - make-variable-buffer-local -> make-local-variable. - - * emacs-lisp/cl-extra.el: Require CL also when compiling. - - * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local) - (byte-compile-form-make-variable-buffer-local): New functions to warn - about misuses of make-variable-buffer-local where make-local-variable - was meant. - -2005-07-29 Juanma Barranquero - - * bs.el (bs-attributes-list): Doc fix. - (bs): Update url-link. - - * desktop.el (desktop-save-buffer): Fix typos in docstring. - (desktop-load-default): Simplify. - - * ibuffer.el (ibuffer-columnize-and-insert-list) - (ibuffer-mouse-toggle-mark, ibuffer-count-marked-lines) - (ibuffer-unmark-all, ibuffer-toggle-marks) - (ibuffer-unmark-forward, ibuffer-unmark-backward) - (ibuffer-compile-make-format-form, ibuffer-format-column) - (ibuffer-current-buffers-with-marks) - (ibuffer-update-title-and-summary): "?\ " -> "?\s". - (ibuffer): Doc fix. - (ibuffer-mode): Fix typo in docstring. - (ibuffer-hooks, ibuffer-mode-hooks): Make obsolete and declare - with `define-obsolete-variable-alias'. - (ibuffer-elide-long-columns): Mark as obsolete. Doc fix. - -2005-07-29 Kenichi Handa - - * international/mule-cmds.el (select-message-coding-system): - Be sure to use LF for end-of-line. If no coding system is decided, - return iso-8859-1-unix. - -2005-07-28 Stefan Monnier - - * net/ange-ftp.el (ange-ftp-gateway-fatal-msgs) - (ange-ftp-pending-error-line): New vars. - (ange-ftp-process-handle-line, ange-ftp-process-filter): Use them - to handle the non-fatal no-route-to-host messages. - (internal-ange-ftp-mode): Make the no-match regexp more efficient. - -2005-07-28 Juanma Barranquero - - * isearch.el (isearch-mode-map, isearch-other-meta-char) - (isearch-quote-char, isearch-printing-char) - (isearch-text-char-description): "?\ " -> "?\s". - (isearch-lazy-highlight-cleanup) - (isearch-lazy-highlight-initial-delay) - (isearch-lazy-highlight-interval) - (isearch-lazy-highlight-max-at-a-time) - (isearch-lazy-highlight-face, isearch-lazy-highlight-cleanup): - Declare with define-obsolete-*-alias macros. - (isearch-forward): Fix typo in docstring. - (search-invisible, search-ring-yank-pointer) - (regexp-search-ring-yank-pointer): Doc fixes. - - * recentf.el (recentf-menu-append-commands-p): Declare with - `define-obsolete-variable-alias'. - (recentf-max-saved-items, recentf-menu-filter) - (recentf-arrange-by-rule-subfilter): Doc fixes. - (recentf-menu-append-commands-flag) - (recentf-initialize-file-name-history, recentf-expand-file-name) - (recentf-clear-data): Fix typos in docstrings. - -2005-07-28 Nick Roberts - - * progmodes/gdb-ui.el: Smarten comments. - (gdb-info-breakpoints-custom): Use nowarn when finding file. - -2005-07-27 Dan Nicolaescu - - * term/apollo.el (terminal-init-apollo): New function containing - all former top level forms in the file. - * term/bobcat.el (terminal-init-bobcat): - * term/cygwin.el (terminal-init-cygwin): - * term/iris-ansi.el (terminal-init-iris-ansi): - * term/linux.el (terminal-init-linux): - * term/news.el (terminal-init-news): - * term/rxvt.el (terminal-init-rxvt): - * term/sun.el (terminal-init-sun): - * term/tvi970.el (terminal-init-tvi970): - * term/vt100.el (terminal-init-vt100): - * term/vt102.el (terminal-init-vt102): - * term/vt125.el (terminal-init-vt125): - * term/vt200.el (terminal-init-vt200): - * term/vt201.el (terminal-init-vt201): - * term/vt220.el (terminal-init-vt220): - * term/vt240.el (terminal-init-vt240): - * term/vt300.el (terminal-init-vt300): - * term/vt320.el (terminal-init-vt320): - * term/vt400.el (terminal-init-vt400): - * term/vt420.el (terminal-init-vt420): - * term/wyse50.el (terminal-init-wyse50): - * term/xterm.el (terminal-init-xterm): Likewise. - - * term/README: Describe the terminal-init-* functionality. - - * startup.el (command-line): After loading the terminal initialization - file call the corresponding terminal initialization function. - -2005-07-27 Kenichi Handa - - * ps-bdf.el (bdf-read-font-info): Ignore glyphs whose ENCODING is - negative. - - * ps-mule.el (ps-mule-bitmap-prologue): Fix arguments to setcharwidth. - (ps-mule-composition-prologue): Fix for the case that - RelativeCompose is false. - -2005-07-26 Stefan Monnier - - * smerge-mode.el (smerge-ediff): Use insert-buffer-substring. - - * descr-text.el (describe-char): Handle the case where the list of - chars is displayed in a separate frame. - Be a bit more discriminating when looking for the char. - -2005-07-26 Juanma Barranquero - - * bookmark.el (bookmark-automatically-show-annotations) - (bookmark-read-annotation-text-func): Doc fixes. - (bookmark-save): Improve argument/docstring consistency. - (bookmark-get-bookmark, bookmark-get-bookmark-record) - (bookmark-alist-from-buffer) - (bookmark-upgrade-file-format-from-0) - (bookmark-grok-file-format-version) - (bookmark-maybe-upgrade-file-format, bookmark-kill-line) - (bookmark-read-annotation-mode) - (bookmark-insert-current-bookmark, bookmark-jump) - (bookmark-exit-hook): Fix typos in docstrings. - (bookmark-exit-hooks): Define as obsolete alias. - (bookmark-exit-hook-internal): Run `bookmark-exit-hook', - not `bookmark-exit-hooks'. Fix docstring. - (bookmark-bmenu-select): "?\ " -> "?\s". - -2005-07-25 Ari Roponen (tiny change) - - * startup.el (command-line): Fix typo. - -2005-07-24 Richard M. Stallman - - * tooltip.el (tooltip-mode): Test emacs-basic-display, - not emacs-quick-startup. - -2005-07-24 Juanma Barranquero - - * emacs-lisp/re-builder.el (reb-with-current-window): Delete. - (reb-next-match, reb-show-subexp): Use `with-selected-window' - instead of `reb-with-current-window'. - (reb-prev-match): Likewise. Also, don't move left if the search - was unsuccessful. - (reb-initialize-buffer): New function. - (re-builder, reb-change-syntax): Use it. - - * man.el (Man-goto-page): Make second argument NOERROR optional. - -2005-07-23 Richard M. Stallman - - * man.el (Man-bgproc-sentinel): Check here for failure to find - any man page in the output, and report the error here. - (Man-arguments): Make it permanent local. - (Man-goto-page): New arg NOERROR. Never kill the current buffer. - (Man-mode): Pass t for NOERROR. - - * progmodes/grep.el (grep-error-face): Use font-lock-keyword-face. - (grep-mode-font-lock-keywords): - Don't use compilation-...-face for messages that are not file names. - - * progmodes/compile.el (compilation-mode-font-lock-keywords): - Don't use compilation-...-face for messages that are not file names. - -2005-07-22 Juri Linkov - - * startup.el (normal-splash-screen): Update menu name. - - * tempo.el (tempo-insert-template): Fix 2005-07-16 change. - -2005-07-22 Dan Nicolaescu - - * term/xterm.el: Load term/rxvt if the terminal is actually an - rxvt terminal. - (xterm-rxvt-set-background-mode): Remove, not used anymore. - - * term/rxvt.el (function-key-map): Use substitute-key-definition - to bind {C,S,C-S}-{f1-f10}. Add a few missing key bindings. - - * term/cygwin.el: New file. - -2005-07-22 Kim F. Storm - - * image-file.el (insert-image-file, image-file-yank-handler): - Fix last change to maintain a (unique) yank-handler on yanked images. - -2005-07-22 Eduardo Mu,Aq(Boz (tiny change) - - * dired.el (dired-move-to-filename-regexp): Recognize the B suffix - of the file size (as in "177B" for 177 bytes). This happens with - "ls -lh" on FreeBSD. - -2005-07-22 Juanma Barranquero - - * hilit-chg.el (highlight-changes-global-initial-state) - (highlight-compare-buffers, hilit-chg-turn-on-maybe) - (hilit-chg-fixup, highlight-changes-mode): - Fix typos in docstrings. - (highlight-changes-global-modes, highlight-changes-rotate-faces): - Doc fixes. - -2005-07-21 Luc Teirlinck - - * emacs-lisp/easy-mmode.el (define-minor-mode): Never call the - mode function using `eval-after-load'. - -2005-07-21 Kim F. Storm - - * mail/emacsbug.el (report-emacs-bug): Request that backtraces are - included when reporting an Emacs crash, and tell about the DEBUG file. - - * image-file.el (insert-image-file): Add yank-handler. - (image-file-yank-handler): Yank handler to make unique copies of - images when they are yanked into a buffer next to each other. - -2005-07-21 Juanma Barranquero - - * comint.el (comint-use-prompt-regexp, comint-send-input) - (comint-source-default, comint-extract-string) - (comint-get-source, comint-word, comint-completion) - (comint-source, comint-prompt-read-only, comint-update-fence): - Fix typos in docstrings. - (comint-use-prompt-regexp-instead-of-fields, comint-kill-output): - Declare with define-obsolete-*-alias macros. - (comint-previous-matching-input-from-input) - (comint-next-matching-input-from-input) - (comint-previous-matching-input, comint-next-matching-input) - (comint-forward-matching-input): - Improve argument/docstring consistency. - - * desktop.el (desktop-clear-preserve-buffers-regexp): - Also preserve the *server* buffer. - - * simple.el (clone-indirect-buffer): Doc fix. - (fixup-whitespace, just-one-space) - (backward-delete-char-untabify, lambda): "?\ " -> "?\s". - (next-error, next-error-highlight) - (next-error-highlight-no-select, next-error-last-buffer) - (next-error-buffer-p, next-error-find-buffer, next-error) - (previous-error, next-error-no-select, previous-error-no-select) - (open-line, split-line, minibuffer-prompt-width, kill-new) - (binary-overwrite-mode): Fix typos in docstrings. - (set-fill-column): Fix typo in message. - - * skeleton.el (skeleton-proxy-new): Doc fix. - - * strokes.el (strokes-load-hook): Doc fix. - (strokes-grid-resolution, strokes-get-grid-position) - (strokes-renormalize-to-grid, strokes-read-stroke) - (strokes-read-complex-stroke, strokes-file, strokes-last-stroke) - (strokes-global-map): Fix typos in docstrings. - (strokes-help): Doc fix. Fix help message and pass it through - `substitute-command-keys'. - - * tempo.el (tempo-insert-prompt, tempo-interactive) - (tempo-show-completion-buffer, tempo-tags, tempo-match-finder) - (tempo-insert-string-functions, tempo-local-tags) - (tempo-define-template, tempo-insert-template) - (tempo-insert-prompt-compat, tempo-is-user-element) - (tempo-insert-mark, tempo-find-match-string, tempo-complete-tag): - Fix typos in docstrings. - - * vcursor.el (vcursor-other-window, vcursor-bind-keys) - (vcursor-key-bindings, vcursor-use-vcursor-map) - (vcursor-find-window, vcursor-scroll-down) - (vcursor-disable, vcursor-beginning-of-buffer) - (vcursor-end-of-buffer): Fix typos in docstrings. - (vcursor-relative-move, vcursor-get-char-count): - Improve argument/docstring consistency. - - * version.el: "?\ " -> "?\s". - - * wid-edit.el (widget-default-create, widget-after-change) - (widget-default-format-handler, widget-checklist-add-item) - (widget-radio-add-item, widget-choose, widget-specify-secret) - (widget-field-value-create, widget-field-value-get) - (widget-editable-list-format-handler) - (widget-editable-list-entry-create, widget-group-value-create) - (widget-documentation-link-add) - (widget-documentation-string-value-create): "?\ " -> "?\s". - (widget-convert-text): Doc fix. - (widget-narrow-to-field, widget-field-find) - (widget-url-link-action, widget-emacs-library-link-action) - (widget-color-notify): Fix typos in docstrings. - - * w32-fns.el (w32-shell-name): Use `bound-and-true-p'. - (x-select-text, set-w32-system-coding-system) - (w32-add-charset-info): Fix typos in docstrings. - - * emulation/cua-base.el (cua-mode, cua-enable-register-prefix) - (cua-enable-cua-keys, cua-use-hyper-key) - (cua-virtual-rectangle-edges): Fix typos in docstrings. - (cua--M/H-key, cua--init-keymaps): "?\ " -> "?\s". - - * net/tramp.el (tramp-handle-load): Fix typo in error message. - - * emacs-lisp/re-builder.el (regexp-builder): Declare with - `defalias' instead of faking it. - - * eshell/em-ls.el (eshell-ls-decorated-name): Doc fix. - (eshell-ls-missing, eshell-ls-dired-initial-args) - (eshell-ls-use-in-dired): Fix typos in docstrings. - -2005-07-20 Kim F. Storm - - * emulation/cua-base.el (cua-mode): Improve doc string. - -2005-07-20 Juanma Barranquero - - * abbrev.el (expand-region-abbrevs): Doc fix. - (inverse-add-mode-abbrev, inverse-add-global-abbrev): - Improve argument/docstring consistency. - - * arc-mode.el (archive-get-descr, archive-alternate-display): - Doc fixes. - (archive-l-e): Improve argument/docstring consistency. - (archive-tmpdir, archive-unixdate, archive-unixtime) - (archive-chmod-entry): Fix typos in docstrings. - (archive-unflag, archive-unflag-backwards) - (archive-unmark-all-files): "?\ " -> "?\s". - - * buff-menu.el (Buffer-menu-unmark): Doc fix. - (Buffer-menu-not-modified, Buffer-menu-execute) - (Buffer-menu-toggle-read-only, Buffer-menu-buffer+size) - (list-buffers-noselect, Buffer-menu-select): "?\ " -> "?\s". - - * composite.el (compose-string, encode-composition-rule) - (compose-last-chars): Fix typos in docstrings. - - * desktop.el (desktop-enable, desktop-basefilename): - Declare with `define-obsolete-variable-alias'. - (desktop-internal-v2s): Don't quote keywords. - (desktop-clear): "?\ " -> "?\s". - - * dired.el (dired-align-file, dired-flag-backup-files) - (dired-change-marks, dired-unmark-all-files): "?\ " -> "?\s". - (dired-listing-switches, dired-ls-F-marks-symlinks) - (dired-dwim-target, dired-load-hook, dired-mode-hook) - (dired-directory, dired-faces, dired, dired-revert) - (dired-mode, dired-summary, dired-view-file) - (dired-copy-filename-as-kill, dired-delete-file) - (dired-no-confirm, dired-unmark-all-marks) - (dired-sort-by-date-regexp, dired-sort-by-name-regexp) - (dired-sort-inhibit, dired-sort-other): Fix typos in docstrings. - (dired-undo, dired-get-file-for-visit, dired-sort-toggle-or-edit): - Fix typos in message strings. - - * dired-x.el (virtual-dired): Declare with `defalias'. - (dired-mark-unmarked-files, dired-local-variables-file) - (dired-omit-here-always): Doc fix. - (dired-omit-mode, dired-find-subdir) - (dired-enable-local-variables, dired-clean-up-buffers-too) - (dired-extra-startup, dired-mark-extension, dired-jump) - (dired-jump-other-window, dired-omit-localp, dired-virtual-mode) - (dired-smart-shell-command, dired-guess-shell-alist-user) - (dired-man, dired-initial-position, dired-x-hands-off-my-keys) - (dired-x-bind-find-file, dired-x-submit-report): - Fix typos in docstrings. - (dired-mark-unmarked-files): "?\ " -> "?\s". - - * dirtrack.el (dirtrack-list): Fix typos in docstring. - - * faces.el (describe-face): "?\ " -> "?\s". - (read-all-face-attributes, read-face-font, modify-face) - (face-attr-construct, italic): Fix typos in docstrings. - (frame-update-face-colors): Declare with - `define-obsolete-function-alias'. - - * files.el (find-file-noselect, recode-file-name): Doc fixes. - (insert-directory, kill-some-buffers): "?\ " -> "?\s". - (magic-mode-alist, buffer-file-numbers-unique) - (write-file-functions, get-free-disk-space): - Fix typos in docstrings. - (find-file-not-found-hooks, find-file-hooks, write-file-hooks) - (write-contents-hooks, write-file-hooks): - Declare with `define-obsolete-variable-alias'. - - * forms-d2.el (arch-rj): Fix typo in docstrings. - (arch-tocol): Likewise. "?\ " -> "?\s". - - * frame.el (set-frame-font, cursor-in-non-selected-windows): - Fix typo in docstring. - (set-screen-width, set-screen-height): Delete redundant info in - doctrings. - (new-frame, screen-height, screen-width): Declare with - `define-obsolete-function-alias'. - (delete-frame-hook, blink-cursor): Declare with - `define-obsolete-variable-alias'. - - * paths.el (prune-directory-list): Fix typos in docstring. - - * pcvs-util.el (cvs-flags-query, cvs-strings->string) - (cvs-prefix-get): Fix typos in docstrings. - - * ps-print.el (ps-extend-face-list, ps-extend-face) - (ps-print-background-image): Fix typos in docstrings. - (ps-default-fg, ps-default-bg): Doc fixes. - - * s-region.el (s-region-bind): Doc fix. - (s-region-move-p1, s-region-move-p2): Fix typos in docstrings. - - * textmodes/org.el (org-table-formula-substitute-names) - (org-table-get-vertical-vector): Doc fixes. - (org-table-recalculate): Remove unused argument to `message'. - -2005-07-19 Carsten Dominik - - * textmodes/org.el (org-table-column-names) - (org-table-column-name-regexp) - (org-table-named-field-locations): New variables. - (org-archive-subtree): Protect `this-command' when calling - `org-copy-subtree' and `org-cut-subtree', to avoid appending to - the kill buffer. - (org-complete): Remove fixed-formula completion. - (org-edit-formulas-map): New variable. - (org-table-edit-formulas): New command. - (org-finish-edit-formulas, org-abort-edit-formulas) - (org-show-variable, org-table-get-vertical-vector): New functions. - (org-table-maybe-eval-formula): Handle `:=' fields. - (org-table-get-stored-formulas, org-table-store-formulas) - (org-table-get-formula, org-table-modify-formulas) - (org-table-replace-in-formulas): Handle named field formulas. - (org-table-get-specials): Store locations of named fields. - -2005-07-19 Juri Linkov - - * progmodes/grep.el (grep-regexp-alist) - (grep-mode-font-lock-keywords, grep-process-setup): - Use default GNU grep match color "01;31m" instead of "01;41m". - (grep-regexp-alist, grep-mode-font-lock-keywords): - Use `\\[[0-9]*m' instead of `\\[00m'. - (grep-regexp-alist): Move `\\(?:\033\\[K\\)?' from sgr_end to - sgr_start where its handling is more important. Use the real - length of sgr_start instead of constant 8. - (grep-mode-font-lock-keywords): Don't delete `\\(?:\033\\[K\\)?' - specially. Delete all remaining escape sequences. - (grep-process-setup): Set "GREP_COLORS" for GNU grep 2.5.1-cvs. - (grep-regexp-alist): Make hyperlink only for binary file name - instead of the whole line. - (grep-mode-map): Bind `backtab' to `compilation-previous-file'. - (grep-mode): Add autoload. - - * emacs-lisp/find-func.el (find-function-regexp): - Add `define-compilation-mode'. - -2005-07-19 Juri Linkov - - * compare-w.el (compare-ignore-whitespace, compare-windows-sync) - (compare-windows-sync-string-size, compare-windows-recenter) - (compare-windows-highlight, compare-windows): Add version 22.1. - (compare-windows) : Inherit from lazy-highlight instead - of duplicating its default value. - - * cus-edit.el (custom-mode-map): Bind `C-c C-c' to `Custom-set'. - (Custom-mode-menu): Use `info' instead of `Info-goto-node'. - - * descr-text.el (describe-char): Create link buttons for `charset' - and `code point'. Add the current input method name with a link - button to `to input' field. Print face names of display table - characters in `The display table entry is displayed by' section - instead of printing face-id in the `display' field. - Guess hardcoded faces and create a link button for them. - Skip empty fields when calculating max-width. - Treat `widget-create' specially while inserting strings from the - collected field list. - (describe-char-after): Made obsolete in version 22.1, not 21.5. - - * diff-mode.el (diff-file-header): Change foreground color from - yellow to green on light backgrounds. - (diff-context): Inherit from `shadow' only for color/grayscale - with more than 88 colors. - (diff-indicator-removed, diff-indicator-added) - (diff-indicator-changed): New faces. - (diff-font-lock-keywords): Use new faces. Regroup rules. - Add "^---$" for `normal' diff format. Fontify `#' lines with - font-lock-comment-delimiter-face and font-lock-comment-face. - Add `#' to ^[^...] in the rule for `diff-context-face'. - - * faces.el (mode-line-highlight): Replace RoyalBlue4 with - a button-like box. Inherit from `highlight' on low colors. - (shadow): Use shades of gray only for color/grayscale with - more than 88 colors. Use green for light backgrounds with - 8 colors, and yellow for dark backgrounds with 8 colors. - - * font-lock.el (font-lock-regexp-grouping-backslash): - Don't inherit from escape-glyph (use bold for all cases). - - * info.el (info-xref-visited): Use light foreground color `violet' - for dark backgrounds instead of dark color `magenta3'. - (info-title-1): Use `yellow' color for dark backgrounds. - - * isearch.el (isearch): Use not-too-dark magenta3 instead of - too-light magenta2. - - * replace.el (match): Use slightly more light RoyalBlue3 instead - of dark RoyalBlue4. - - * wid-edit.el (widget-inactive): Inherit from `shadow'. - -2005-07-19 Juanma Barranquero - - * novice.el (disabled-command-hook): Declare it with - `define-obsolete-variable-alias'. - - * desktop.el (desktop-enable, desktop-buffer-modes-to-save) - (desktop-buffer-misc-functions, desktop-buffer-handlers) - (desktop-load-default): Add release to obsolescence info. - (desktop-globals-to-clear, desktop-buffer-mode-handlers) - (desktop-append-buffer-args, desktop-read): - Fix typos in docstrings. - (desktop-kill): Fix typo in message. - (desktop-save): Doc fix. - -2005-07-19 Michael Kifer - - * emulation/viper-cmd.el (viper-escape-to-state): Bug fix. - (viper-envelop-ESC-key): Change the definition of fast - keysequence so it'll work with keyboard macros. - - * ediff.el (ediff-patch-buffer): Change the docstring. - -2005-07-19 Kenichi Handa - - * international/mule-cmds.el (select-safe-coding-system): Try to - use an auto-coding (if any) before anything else. If the found - auto-coding is invalid, show a warning message. - - * international/mule.el (find-auto-coding): New function created - by modifying the body of set-auto-coding. - (set-auto-coding): Use find-auto-coding to find a coding. - -2005-07-18 Richard M. Stallman - - * allout.el (allout-isearch-expose): Use isearch-mode-end-hook-quit, - not isearch-mode-end-hook-error. - (allout-before-change-protect): Fix error message. - -2005-07-18 Juri Linkov - - * allout.el (allout-mode): - * calculator.el (calculator-copy): - * custom.el (custom-known-themes): - * dired.el (dired-desktop-buffer-misc-data) - (dired-restore-desktop-buffer): - * dired-x.el (dired-omit-marker-char): - * files.el (basic-save-buffer): - * font-core.el (font-lock-mode): - * calendar/calendar.el (calendar-goto-hebrew-date) - (calendar-goto-coptic-date, calendar-goto-ethiopic-date) - (calendar-goto-persian-date): - * language/ethio-util.el (ethio-sera-to-fidel-region): - * textmodes/picture.el (picture-mode): - Delete duplicate duplicate words. - -2005-07-18 Juri Linkov - - * isearch.el (isearch-mode-map): Remove key bindings for regexp - chars * ? } |. - (isearch-fallback): Don't call `isearch-process-search-char'. - (isearch-*-char, isearch-}-char, isearch-|-char): Remove functions. - (isearch-process-search-char): Call `isearch-fallback' for regexp - chars * ? } |. - (isearch-return-char): Make obsolete with `make-obsolete' instead - of simply documenting it as obsolete in the docstring. - (isearch-fallback): Refill docstring. - - * international/isearch-x.el - (isearch-process-search-multibyte-characters): Remove unneeded - `concat'. Add intermediate values to `junk-hist' instead of - `minibuffer-history'. Test the length of `str'. - -2005-07-18 Juanma Barranquero - - * allout.el (allout-resolve-xref): Fix typos in error strings. - (allout-before-change-protect): Remove unneeded `concat'. - - * array.el (array-mode, array-reconfigure-rows) - (untabify-backward): Fix typos in docstrings. - (array-reconfigure-rows): Use `insert-buffer-substring', not - `insert-buffer'. - - * calendar/icalendar.el (icalendar--get-unfolded-buffer): - * progmodes/ada-mode.el (ada-make-body): - Use `insert-buffer-substring' and `goto-char', not `insert-buffer'. - - * dired.el (dired-log): - * tar-mode.el (tar-subfile-save-buffer): - * play/zone.el (zone-pgm-stress-destress): - Use `insert-buffer-substring', not `insert-buffer'. - -2005-07-17 Simon Josefsson - - * mail/smtpmail.el (smtpmail-auth-supported): Prefer PLAIN over LOGIN. - -2005-07-16 Jose E. Marchesi - - * mail/smtpmail.el (smtpmail-auth-supported): Add plain auth method. - (smtpmail-try-auth-methods): Add AUTH PLAIN dialog. - -2005-07-17 Kim F. Storm - - * ido.el (dired-other-window): Add ido property. - -2005-07-16 Juanma Barranquero - - * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): - Fix typo in docstring. - (byte-compile-interactive-only-functions): Add `insert-buffer' and - `insert-file-literally'. - - * emacs-lisp/edebug.el (def-edebug-form-spec): Add obsolescence - info and delete redundant message. Doc fix. - (edebug-install-custom-print-funcs, edebug-reset-print-funcs) - (edebug-uninstall-custom-print-funcs): Define as obsolete aliases. - -2005-07-16 Richard M. Stallman - - * emacs-lisp/bytecomp.el (byte-compile-and-recursion): New function. - (byte-compile-and): Use byte-compile-and-recursion. - (byte-compile-or-recursion): New function. - (byte-compile-or): Use that. - (byte-compile-if): Guard the else-clause too. - (byte-compile-maybe-guarded): Handle (not (featurep 'emacs)). - - * isearch.el (isearch-mode-end-hook-quit): New variable. - (isearch-done): Bind it. - (isearch-mode-end-hook): Doc fix. - - * allout.el (allout-isearch-did-quit): Variable deleted. - (allout-real-isearch-abort): Function name no longer used. - (allout-mode): Do allout-enwrap-isearch whenever feature is wanted. - (allout-isearch-rectification): isearch-mode always exists. - Don't set allout-isearch-did-quit. - (allout-isearch-expose): Check isearch-mode-end-hook-error, not - allout-isearch-did-quit. - (allout-enwrap-isearch): Just add the hook. - (allout-isearch-abort): Function deleted. - (allout-pre-command-business): Avoid warning. - - * progmodes/pascal.el (pascal-outline-map): Use fboundp, not boundp. - Correctly avoid warnings. - (pascal-outline): Likewise. - - * progmodes/f90.el (f90-abbrev-start): Avoid warning. - - * progmodes/asm-mode.el (asm-comment): Use with-no-warnings. - - * play/tetris.el (tetris-mode): Avoid warning. - - * play/snake.el (snake-mode): Avoid warning. - - * play/gamegrid.el (gamegrid-shared-game-dir): Add defvar. - (gamegrid-set-display-table): Avoid warning. - (gamegrid-set-timer): Likewise. - (gamegrid-make-mono-tty-face): Use set-face-inverse-video-p. - (gamegrid-add-score-with-update-game-score-1): Take FILE - as argument. - (gamegrid-add-score-with-update-game-score): Pass that argument. - Rename have-shared-game-dir to gamegrid-shared-game-dir. - - * net/eudc-hotlist.el (eudc-hotlist-mode): Avoid warnings. - - * net/eudc-bob.el (eudc-jump-to-event): Avoid warning. - (eudc-bob-display-jpeg, eudc-bob-can-display-inline-images): Likewise. - - * mail/uce.el (uce-reply-to-uce): Replace beginning-of-buffer - and insert-file. - - * mail/supercite.el (sc-no-blank-line-or-header): Avoid warning. - (sc-ask): Avoid warnings. - - * eshell/em-hist.el (eshell-rebind-keys-alist): Add defvar. - (eshell-hist-initialize): Use that var the natural way. - - * emulation/viper-init.el (viper-activate-input-method): Avoid warning. - - * emacs-lisp/re-builder.el (reb-cook-regexp): - Avoid warning calling lre-compile-string. - (reb-color-display-p): Avoid warning. - - * calculator.el (calculator-last-input): Guard uses - of event-key and key-press-event-p. - (event-key, key-press-event-p): Delete definitions. - - * emacs-lisp/find-gc.el (find-gc-unsafe-list) - (find-gc-source-directory, find-gc-subrs-callers) - (find-gc-noreturn-list, find-gc-source-files) - (find-gc-subrs-called): Vars renamed and defvar'd. - - * emacs-lisp/checkdoc.el (checkdoc-make-overlay) - (checkdoc-overlay-put, checkdoc-delete-overlay) - (checkdoc-overlay-start, checkdoc-overlay-end) - (checkdoc-mode-line-update, checkdoc-char=): - Define such that compiler knows they are defined. - (checkdoc-call-eval-buffer): Delete. Use eval-buffer directly. - (checkdoc-read-event): Delete. Use read-event directly. - - * whitespace.el (whitespace-make-overlay) - (whitespace-overlay-put, whitespace-delete-overlay) - (whitespace-overlay-start, whitespace-overlay-end): - Define such that compiler knows they are defined. - (whitespace): Move conditional inside. - - * tempo.el (tempo-insert-template): Suppress warning. - - * ediff-diff.el (longlines-mode): Add defvar. - -2005-07-16 Gary Howell (tiny change) - - * server.el: Bind "C-x #" in a way that works even if C-x is - redefined to a command key, not a prefix key. - -2005-07-16 Johan Bockg,Ae(Brd (tiny change) - - * emacs-lisp/cl-macs.el (cl-make-type-test): Defer evaluation of - cl-make-type-test till execution time. - -2005-07-16 Markus Rost - - * dired-x.el (dired-do-relsymlink-regexp): Add missing optional - arg ARG and use it. - -2005-07-16 Johan Bockg,Ae(Brd (tiny change) - - * emacs-lisp/cl-macs.el (cl-make-type-test): Add `atom' type. - -2005-07-15 Luc Teirlinck - - * emacs-lisp/easy-mmode.el (define-minor-mode): Avoid constructing - a defcustom with two :set or :type keywords. - -2005-07-15 Richard M. Stallman - - * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table): - Don't give ^M comment-end syntax. - -2005-07-16 Nick Roberts - - * progmodes/gdb-ui.el (gdb-var-update, gdb-var-update-handler): - Don't consider gdbmi (gdb-mi.el has its own update functions). - (gdb-var-delete): Make it work for gdbmi as well. - (gdb-speedbar-expand-node): Move var-update here for gdbmi. - - * progmodes/gud.el (etags, sdb): Only require etags when needed. - (gud-speedbar-menu-items): Correct logic for enabling items. - -2005-07-15 Kim F. Storm - - * ido.el: Fix commentary. - (ido-define-mode-map): Move ido-next-work-file to C-M-o. - Use with-no-warnings around ffap-guesser. - (ido-file-internal, ido-read-file-name, ido-read-directory-name): - Let bind minibuffer-completing-file-name to t. - -2005-07-15 Juanma Barranquero - - * startup.el (site-run-file, keyboard-type): Doc fixes. - (command-line): Check for "--basic-display" argument; also for - "--quick", not "--bare-bones" (which was renamed). - (fancy-splash-text): Add missing item "Getting New Versions". - (normal-splash-screen): Fix typos and improve consistency with - `fancy-splash-text'. Update copyright year. - - * hexl.el (hexl-mode-map): Recognize also `ehelp-command' as a - valid binding for `help-char'. - - * emacs-lisp/derived.el (derived-mode-hook-name): Doc fix. - -2005-07-14 Dan Nicolaescu - - * term.el (term-mode): Disable cua-mode for term buffers. - -2005-07-14 Juanma Barranquero - - * add-log.el (add-log-mailing-address, change-log-merge): - Doc fixes. - (change-log-get-method-definition): Fix typo in docstring. - -2005-07-14 Kim F. Storm - - * emulation/cua-base.el: - (cua--pre-command-handler-1, cua--pre-command-handler) - (cua--post-command-handler-1, cua--post-command-handler): - Split in two. Check (buffer local) value of cua-mode. - (cua-selection-mode): New command. - -2005-07-13 Luc Teirlinck - - * custom.el (custom-initialize-safe-set) - (custom-initialize-safe-default): Doc fixes. - - * frame.el (blink-cursor-mode): Use `custom-initialize-safe-default' - and simplify :init-value again. - - * tooltip.el (tooltip-mode): Use `custom-initialize-safe-default' - and simplify :init-value again. Delete autoload. - - * startup.el (command-line): Use `custom-reevaluate-setting' again - for tooltip-mode. - - * emacs-lisp/easy-mmode.el (define-minor-mode): Avoid constructing - a defcustom with two :initialize keywords. - -2005-07-13 Juanma Barranquero - - * allout.el (my-mark-marker, allout-isearch-prior-pos) - (allout-unprotected, allout-undo-aggregation, allout-snug-back) - (allout-post-command-business, allout-flag-region) - (isearch-reenable-font-lock, allout-yank) - (allout-insert-latex-header, allout-insert-latex-trailer) - (allout-latex-verbatim-quote-curr-line, allout-latexify-exposed) - (allout-latex-verb-quote): Fix typos in docstrings. - (allout-enwrap-isearch, regexp-sans-escapes): Doc fixes. - (allout-unprotected, allout-prefix-data): - Improve argument/docstring consistency. - (allout-chart-subtree): Fix argument spec. - (allout-open-topic): Rename `use_sib_bullet' argument to - `use-sib-bullet'. Doc fix. - - * whitespace.el (whitespace-check-buffer-leading) - (whitespace-check-buffer-trailing) - (whitespace-check-buffer-indent) - (whitespace-check-buffer-spacetab) - (whitespace-check-buffer-ateol, whitespace-highlighted-space) - (whitespace-check-leading-whitespace) - (whitespace-check-trailing-whitespace) - (whitespace-check-spacetab-whitespace) - (whitespace-check-indent-whitespace) - (whitespace-check-ateol-whitespace, whitespace-abort-on-error) - (whitespace-modes): Fix typos in docstrings. - (defgroup, defcustom): Doc fixes. - - * winner.el (winner-mode, winner-boring-buffers) - (winner-pending-undo-ring): Doc fixes. - (winner-ring): Remove unneeded `progn'. - (winner-equal): `defsubst' it. - (winner-redo): Fix message. - -2005-07-13 Kim F. Storm - - * simple.el (line-move-1): Always use vertical-motion to - do the last (or only) line move to ensure some movement. - Undo 2005-06-23 change--don't check for overlays. - -2005-07-13 YAMAMOTO Mitsuharu - - * term/mac-win.el (ccl-encode-mac-roman-font) - (ccl-encode-mac-centraleurroman-font) - (ccl-encode-mac-cyrillic-font, ccl-encode-mac-symbol-font): - (ccl-encode-mac-dingbats-font): Remove check for ASCII. - Change charset-id boundary of dimension to ?\xef. - (mac-char-fontspec-list): New constant. - (fontset-add-mac-fonts): Use it. Accept non-string `base-family' - argument. Nil uses itself as family in font-spec. Previous - behavior for nil is now provided by non-nil non-string argument. - All callers changed. Add font-specs for Mac fonts to - "fontset-default" unless iso8859-1 fonts are installed. - -2005-07-13 Stefan Monnier - - * progmodes/sh-script.el (sh-get-indent-info): Only indent - a continuation line if the \ is preceded by SPC or TAB. - (sh-get-indent-info): Simplify. - (sh-mark-init, sh-learn-buffer-indent, sh-add-completer): - Use with-current-buffer. - - * font-lock.el (font-lock-fontify-keywords-region): Avoid inf-loops - when the matched text is empty. - -2005-07-12 Luc Teirlinck - - * startup.el (command-line): Revert to previous handling of - tooltip-mode. Explain in comment why the complexity is needed. - - * tooltip.el (tooltip-mode): Revert to previous implementation of - its defcustom. - - * frame.el (blink-cursor-mode): Revert to previous implementation - of its defcustom. Update comment. - -2005-07-12 Lars Hansen - - * desktop.el: Update e-mail address. - -2005-07-12 YAMAMOTO Mitsuharu - - * term/mac-win.el (mac-services-mail-selection) - (mac-services-mail-to): New functions. - (mac-application-menu-map): Bind them. - -2005-07-12 wulei (tiny change) - - * progmodes/gdb-ui.el: Add note about buffering with Windows. - -2005-07-11 Luc Teirlinck - - * custom.el (custom-reevaluate-setting): Doc fix. - -2005-07-11 Jay Belanger - - * calc/calc.el (calc-embedded-announce-formula-alist) - (calc-embedded-open-close-plain-alist) - (calc-embedded-open-close-mode-alist): Add checks for additional - major modes (due to Robert J. Chassell ). - -2005-07-11 Juanma Barranquero - - * custom.el (custom-enable-theme): Don't add theme to - `custom-enabled-themes' with `push' because there is no - setf-method for `delq'. - -2005-07-11 Richard M. Stallman - - * custom.el (custom-declare-variable): Doc fix. - - * dired-aux.el (dired-compare-directories): Remove "." and ".." - from the alists. - - * emacs-lisp/edebug.el (edebug-slow-after, edebug-slow-before): - Do nothing if edebug-active. - - * emacs-lisp/edebug.el (edebug-enter): Don't with-timeout-suspend here. - (edebug-display): Do it here instead. - -2005-07-10 Richard M. Stallman - - * cus-face.el (custom-theme-set-faces): Make it work. - (custom-reset-faces): Doc fix. - (custom-theme-reset-internal-face, custom-theme-face-value): - Functions deleted. - - * custom.el (custom-push-theme): Maintain list of the settings - of a given theme in its theme-settings property. - Maintain position of old settings in the theme-value - or theme-face property. - (custom-enabled-themes): New variable. - (custom-theme-enabled-p): New function. - (provide-theme): Update custom-enabled-themes. - Disable and reenable the `user' theme. - (require-theme): Doc fix. - (custom-do-theme-reset, custom-remove-theme): Functions deleted. - (custom-theme-value, custom-theme-variable-value): Likewise. - (custom-theme-reset-internal): Likewise. - (custom-theme-load-themes): Fix bugs and use custom-disable-theme. - (custom-enable-theme, custom-disable-theme): New functions. - (custom-variable-theme-value, custom-face-theme-value): Likewise. - (custom-theme-recalc-variable, custom-theme-recalc-face): Likewise. - (custom-theme-reset-variables): Simplify. - (deftheme, custom-declare-theme, custom-make-theme-feature): - Definitions moved. - -2005-07-10 Chong Yidong - - * longlines.el (longlines-show-region) - (longlines-unshow-hard-newlines): Recognize hard newlines by - non-nil hard property, instead of t. - -2005-07-10 Michael Kifer - - * emulation/viper-cmd.el (viper--key-maps): New variable. - (viper-normalize-minor-mode-map-alist): Use viper--key-maps and - emulation-mode-map-alists. - (viper-envelop-ESC-key): Use viper-subseq. - (viper-search-forward/backward/next): Disable debug-on-error. - - * emulation/viper-keym.el (viper-toggle-key, viper-quoted-insert-key) - (viper-ESC-key): New defcustoms. - - * emulation/viper-macs.el (ex-map-read-args): Use viper-subseq. - - * emulation/viper-util.el (viper-key-to-emacs-key): Use viper-subseq. - (viper-subseq): Copy of subseq from cl.el. - - * emulation/viper.el (viper-go-away, viper-set-hooks): Use - emulation-mode-map-alists, advise self-insert-command, add-minor-mode. - - * emulation/viper-mous.el (viper-current-frame-saved): Use defvar. - - * emulation/viper-init.el: Get rid of -face in face names. - - * ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3): - Make it work with longlines mode. - - * ediff-mult.el (ediff-meta-mode-hook): New variable. - - * ediff-ptch.el (ediff-file-name-sans-prefix): Quote regexp. - - * ediff-init.el: Get rid of -face in face names. - -2005-07-10 Richard M. Stallman - - * emacs-lisp/edebug.el (edebug-enter): Call with-timeout-suspend - and with-timeout-unsuspend. - - * emacs-lisp/debug.el (debug): Call with-timeout-suspend - and with-timeout-unsuspend. - - * emacs-lisp/timer.el (with-timeout-timers): New variable. - (with-timeout): Bind that variable to record timers. - (with-timeout-suspend, with-timeout-unsuspend): New functions. - - * emacs-lisp/debug.el (debug-help-follow): New function. - (debugger-mode-map): Use that instead of help-follow. - (debugger-setup-buffer): Use eval-buffer-list - to handle eval-buffer frames. - -2005-07-10 N. Raghavendra (tiny change) - - * timezone.el (timezone-parse-date): Change first regexp - so it will not mistakenly match dates with no time zone. - -2005-07-10 Jeff Dwork (tiny change) - - * facemenu.el (facemenu-read-color): Do case-insensitive matching. - -2005-07-10 Luc Teirlinck - - * custom.el (custom-initialize-safe-set) - (custom-initialize-safe-default): New functions. - - * frame.el (blink-cursor-mode): Use `custom-initialize-safe-default' - and simplify :init-value. - - * tooltip.el (tooltip-mode): Use `custom-initialize-safe-default' - and simplify :init-value. Delete obsolete comment. - - * startup.el (command-line): Use `custom-reevaluate-setting' to - handle `tooltip-mode'. Delete obsolete comment. - - * files.el (set-visited-file-name): Avoid calling - `file-name-nondirectory' with a nil argument. - -2005-07-09 Richard M. Stallman - - * emacs-lisp/debug.el (debugger-setup-buffer): When eval-buffer - was called with nil for the buffer, handle the read position right. - Handle read position for eval-region, too. - -2005-07-09 Juri Linkov - - * fringe.el (fringe-mode): Add period in docstring. - (fringe-query-style): Build prompt depending on `all-frames' arg. - - * dired.el (dired-marker-char): Avoid quotations for `do' and `mark' - to not create links to unrelated functions in the Help buffer. - - * progmodes/compile.el (compilation-mode-hook, compilation-mode): - Doc fix. - - * simple.el (next-error-hook): New variable. - (next-error): Use it. Doc fix. - - * textmodes/ispell.el (ispell-command-loop): Add current - dictionary name and program name to mode-line-format. - (ispell-region, ispell-process-line): Add current dictionary name - and program name to messages. - -2005-07-08 Jay Belanger - - * calc/calc.el (calc-embedded-announce-formula-alist) - (calc-embedded-open-close-formula-alist) - (calc-embedded-open-close-word-alist) - (calc-embedded-open-close-plain-alist) - (calc-embedded-open-close-new-formula-alist) - (calc-embedded-open-close-mode-alist) - (calc-embedded-new-buffer-hook, calc-embedded-new-formula-hook) - (calc-embedded-mode-hook): New variables. - - * calc/calc-embed.el (calc-embedded-firsttime) - (calc-embedded-firsttime-buf, calc-embedded-firsttime-formula): - New variables. - (calc-do-embedded): Use calc-embedded-firsttime, - calc-embedded-firsttime-buf and calc-embedded-firsttime-formula to - determine whether or not to run hooks. - (calc-embedded-make-info): Set calc-embedded-firsttime-buf and - calc-embedded-firsttime-formula appropriately. - Set calc-embedded delimiter variables according to mode. - -2005-07-08 Richard M. Stallman - - * emacs-lisp/checkdoc.el (checkdoc-proper-noun-list): - Check for "emacs", etc., as entire symbol, not just as word. - (checkdoc-file-comments-engine): Use regexp-quote on FN. - - * files.el (set-visited-file-name): Report the error - for "empty filename" earlier. - (kill-some-buffers): Ignore buffers already dead. - - * fringe.el (fringe-mode): Doc fix. - - * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): - Check for (featurep 'xemacs) and turn off warnings in what it guards. - Use unwind-protect to ensure byte-compile-unresolved-functions - is updated. - - * whitespace.el (whitespace-buffer-leading-cleanup): - Simplify w/ skip-chars-forward. - (whitespace-buffer-trailing-cleanup): Simplify w/ skip-chars-backward. - - * mail/rmail.el (rmail-only-expunge): Fix paren error. - Unconditionally try to leave point at the same old place. + * net/browse-url.el (browse-url-browser-function): Delete grail. + (browse-url-grail): Function and variable deleted. + (browse-url-browser-function): Delete IXI Mosaic. + (browse-url-default-browser): Don't try IXI Mosaic. + (browse-url-iximosaic): Function deleted. + (browse-url-browser-function): Delete MMM. + (browse-url-default-browser): Don't try MMM. + (browse-url-mmm): Function deleted. -2005-07-08 Ralf Angeli (tiny change) +2007-10-26 Drew Adams - * comint.el (comint-postoutput-scroll-to-bottom) - (comint-show-maximum-output): Take scroll-margin into consideration. + * custom.el (custom-note-var-changed): New function. -2005-07-08 Kim F. Storm +2007-10-25 Dan Nicolaescu - * ido.el (ido-use-filename-at-point): New choice `guess'. - (ido-file-internal): Try ffap-guesser if selected. + * emulation/edt-mapper.el (edt-emacs-variant): Replace the only + use with the definition. Remove. - * ido.el (ido-before-fallback-functions): New hook. - (ido-buffer-internal, ido-file-internal, ido-read-buffer) - (ido-read-file-name): Run it. + * add-log.el (change-log-start-entry-re): New defconst. + (change-log-sortable-date-at): Use it. + (change-log-beginning-of-defun, change-log-end-of-defun): + New functions. + (change-log-mode): Use them for beginning-of-defun-function and + end-of-defun-function. -2005-07-07 Stefan Monnier +2007-10-25 Jonathan Yavner - * progmodes/hideif.el (hide-ifdef-use-define-alist): Pass a list of - strings rather than a list of symbols to the completion function. + * ses.el: Make `ses--symbolic-formulas' a safe local variable. + (ses-mode-print-map): Add `c' and `t' (suggested by Gareth Rees). + (ses-recalculate-cell): Deal with point being just beyond end of + data area (why does this happen?) + (ses-set-curcell): Ditto. + (ses-column-letter): Handle columns beyond 702. Code written by + Gareth Rees. -2005-07-07 Jay Belanger +2007-10-25 Carsten Dominik - * calc/calc-units.el (math-apply-units): Change the places in - which units are simplified. + * textmodes/org.el (org-agenda-get-restriction-and-command): + Use `mapc' instead of `mapcar'. + (org-agenda-list): Numeric prefix argument can specify the number + of days. + (remember-register, remember-buffer): Prevent byte compiler from + complaining. + (org-todo): Save and restore match data. + (org-no-warnings): New macro. + (org-columns-eval): Use `org-no-warnings'. -2005-07-07 Luc Teirlinck +2007-10-25 Chris Moore - * cus-edit.el (customize-option, customize-option-other-window): - Make them handle aliases. + * comint.el (comint-password-prompt-regexp): + Handle `[sudo] password'-style prompt. - * custom.el (custom-variable-p): Make it recursively follow - aliases. Mention that in the docstring. +2007-10-25 Glenn Morris -2005-07-07 Richard M. Stallman + * custom.el (custom-declare-variable): Add :risky and :safe keywords. + (defcustom): Doc fix. + + * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re): + Add `non_intrinsic'. + (f90-constants-re): Add ieee modules. + (f90-typedef-matcher, f90-typedec-matcher) + (f90-imenu-type-matcher): New functions. + (f90-font-lock-keywords-1): Give module procedures function-name face. + Use `f90-typedef-matcher' for derived types. Fix `abstract interface'. + Add `use, intrinsic'. + (f90-font-lock-keywords-2): Use `f90-typedec-matcher' for derived types. + Move start of `enum' blocks to separate entry. + (f90-start-block-re): Fix `type', `abstract interface'. + (f90-imenu-generic-expression): Use `f90-imenu-type-matcher' for + derived types. + (f90-mode-abbrev-table): Add `abstract interface', `asynchronous', + `elemental', change `enumerator'. + (f90-no-block-limit): Fix `abstract interface'. - * cus-start.el (exec-path): Use `directory' instead of `file'. - Fix tag for nil. + * progmodes/f90.el (f90-indented-comment-re) + (f90-directive-comment-re, f90-break-delimiters): + * progmodes/fortran.el (fortran-comment-line-start-skip) + (fortran-directive-re): + * textmodes/conf-mode.el (conf-space-keywords): Mark these regexps + as safe if they are strings. -2005-07-07 Juanma Barranquero +2007-10-25 Stefan Monnier - * replace.el (occur-rename-buffer): Use `generate-new-buffer' also - when called non-interactively. Doc fix. + * startup.el (window-system): Remove. Don't make it frame-local. -2005-07-07 Lute Kamstra ++2007-10-24 Richard Stallman + - * elide-head.el (elide-head-headers-to-hide): Recognize the FSF's - new address as well. ++ * savehist.el (savehist-save): Omit unreadable elements. + -2005-07-07 Kenichi Handa ++ * loadhist.el (unload-function-defs-list): Renamed from ++ unload-function-features-list. ++ (unload-feature-special-hooks, unload-feature): Doc fixes. + - * international/mule.el (make-coding-system): - Describe `ascii-incompatible' property in the docstring. - (set-file-name-coding-system): Signal an error if coding-system is - ascii-incompatible. - (set-keyboard-coding-system): Likewise. ++ * indent.el (indent-to-left-margin): If point's in the indentation, ++ move to the end of the indentation. + - * international/mule-cmds.el (set-default-coding-systems): - Don't set default-file-name-coding-system and - default-keyboard-coding-system if coding-system is ASCII-incompatible. ++ * cus-edit.el (customize-changed-options): Make arg optional. + - * international/utf-16.el: Declare that all UTF-16-based coding - systems are ASCII-incompatible. ++2007-10-24 Juanma Barranquero + -2005-07-07 Nick Roberts ++ * bs.el (bs-select, bs-select-other-window): Fix typos in docstrings. + - * progmodes/gud.el: Require font-lock for displaying errors. - Used by gdb-ui.el. +2007-10-24 Dan Nicolaescu -2005-07-07 Juanma Barranquero + * textmodes/org-publish.el (org-publish-attachment): Re-install + accidentally deleted change. - * hi-lock.el (hi-lock-find-patterns): Protect also against invalid - values for the pattern lists which are `read'able but not - `append'able (like symbols). +2007-10-24 Stefan Monnier -2005-07-06 Richard M. Stallman + * term/iris-ansi.el (iris-function-map): Move init into declaration. - * progmodes/flymake.el (flymake-float-time): Instead of - with-no-warnings, test for XEmacs. - (flymake-replace-regexp-in-string): Test fboundp of replace-in-string - to avoid warning. +2007-10-24 Juanma Barranquero -2005-07-06 Juanma Barranquero + * buff-menu.el (Buffer-menu-sort-column): Doc fix. + (Buffer-menu-mode-map): Initialize in the declaration. + (Buffer-menu-mode): Define with `define-derived-mode'. + +2007-10-24 Carsten Dominik + + * textmodes/org.el (org-version): Change to 5.13e. + (org-agenda-file-regexp): Fix typo in docstring. + (org-add-planning-info): Fix bug in parenthesis settings. + (org-scan-tags): Catch the case of indirect buffers with no filename. + (org-fast-tag-selection, org-export-as-ascii, org-export-as-html): + Re-install switch to mapc, had been removed by accident. + (org-columns-map): New binding `C-c C-o'. + (org-columns-menu): Change menu text and added new entry. + (org-columns-eval): Document the use of `next-line'. + (org-columns-open-link): New function. + (org-columns-follow-link): Remove function. + (org-open-link-from-string): New function. + (org-read-date-get-relative): Fix typo in docstring. + (org-read-date-get-relative): Leading +/- is not optional. + (org-agenda-get-restriction-and-command): Always resize window on + first loop cycle. + (org-agenda-open-link): Make sure the link abbreviations are + present in the agenda buffer. + (org-agenda-copy-local-variable): New function. + +2007-10-24 Stefan Monnier + + * vc.el (vc-update-changelog-rcs2log): Remove incorrect `backend' arg. + +2007-10-24 Stefan Monnier + + * simple.el (reindent-then-newline-and-indent): Use a `move after + insert' kind of marker in the save-excursion. - * w32-vars.el (w32-fixed-font-alist): Fix typo in `defcustom' tag. ++2007-10-23 Stefan Monnier + -2005-07-05 Lute Kamstra ++ * textmodes/css-mode.el: Require CL. ++ (comment-continue): Declare. + - * battery.el: Add support for Darwin (with much debugging help - from Samuel Lauber ). - (battery-status-function, battery-echo-area-format) - (battery-mode-line-format): Add support for pmset on Darwin. - (battery-load-low, battery-load-critical): New user options. - (battery-pmset): New function. ++ * subr.el (make-variable-frame-localizable): Remove. ++ (make-variable-frame-local): Mark obsolete. + -2005-07-05 Lute Kamstra ++2007-10-23 Stefan Monnier + - Update FSF's address in GPL notices. ++ * textmodes/tex-mode.el (tex-uptodate-p): Don't signal an error if one ++ of the subdirs is unreadable. + - * textmodes/page-ext.el: Update FSF's address. +2007-10-23 Michael Albinus -2005-07-04 Stefan Monnier + * net/tramp.el (tramp-set-file-uid-gid): Protect `call-process' + when we are local. - * emacs-lisp/lisp-mode.el (lisp-mode-variables): Prevent adaptive - filling from using prefix when filling a single-line docstring. +2007-10-23 Stefan Monnier - * progmodes/flymake.el: Remove useless eval-when-compile. + * progmodes/python.el (python-current-defun): Remove left-over + assignment to `start'. - * arc-mode.el (archive-lzh-ogm): Reorder save excursion/restriction. +2007-10-23 Juanma Barranquero -2005-07-04 Richard M. Stallman + * ibuf-ext.el (ibuffer-auto-update-changed): Use `dolist' rather + than `mapcar'; return value is not used. - * textmodes/org.el (org-file-apps-defaults-gnu): - Rename from org-file-apps-defaults-linux. - (org-default-apps): Don't test system-type for `linux'. - (org-file-apps): Doc fix. - -2005-07-04 David Ponce - - * tree-widget.el: Improve header Commentary section. - (tree-widget) [defgroup] - (tree-widget-image-enable, tree-widget-themes-directory) - (tree-widget-theme, tree-widget-image-properties-emacs) - (tree-widget-image-properties-xemacs, tree-widget-create-image) - (tree-widget-image-formats, tree-widget-control) - (tree-widget-empty-control, tree-widget-leaf-control - (tree-widget-guide, tree-widget-end-guide, tree-widget-no-guide) - (tree-widget-handle, tree-widget-no-handle, tree-widget-p) - (tree-widget-keep, tree-widget-after-toggle-functions) - (tree-widget-open-node, tree-widget-close-node): Doc fix. - (tree-widget-open-control, tree-widget-close-control): Fix doc and - :help-echo message. - (tree-widget-set-theme): Doc fix. Use `string-equal'. - (tree-widget-image-properties): Doc fix. Clearer implementation. - (tree-widget--cursors): New constant. - (tree-widget-lookup-image): New function split from - `tree-widget-find-image'. Clearer implementation. - (tree-widget-find-image): Use it. - (tree-widget-button-keymap): Use `set-keymap-parent'. - (tree-widget) [define-widget]: Use `widget-children-value-delete'. - Define the sub-widgets here. - (tree-widget-node): Check that :node is not a tree-widget. - (tree-widget-get-super, tree-widget-open-control) - (tree-widget-close-control, tree-widget-empty-control) - (tree-widget-leaf-control, tree-widget-guide) - (tree-widget-end-guide, tree-widget-no-guide, tree-widget-handle) - (tree-widget-no-handle, tree-widget-value-delete) - (tree-widget-map): Remove. - (tree-widget-children-value-save): Doc fix. Simplified. - (tree-widget-value-create): Update according to previous changes. - -2005-07-04 Carsten Dominik - - * textmodes/org.el: Leading space replaced by TABS. - (org-recalc-marks, org-table-rotate-recalc-marks) - (org-table-get-specials): Treat "^" and "_" marks. - (org-table-justify-field-maybe): Optional argument NEW. - (org-table-eval-formula): Parsing of the format simplified. - New modes C,I. Honor the %= parameter in the current table. - Avoid unnecessary re-align by using the NEW argument to - `org-table-justify-field-maybe'. - (org-calc-default-modes): Default for date-format mimicks org-mode. - (org-agenda, org-timeline): Quote argument in org-agenda-redo-command. - -2005-07-03 Luc Teirlinck - - * cus-face.el (custom-theme-set-faces): Make it handle face - aliases whose alias declarations are pre- or autoloaded. - -2005-07-04 Juri Linkov - - * faces.el (read-face-name): Put the code for getting a face name - from the buffer before adding the faces from the `face' property. - Use `completing-read-multiple' instead of `completing-read'. - Require `crm'. Add default value and post-process the returned - list of faces. - - * emacs-lisp/crm.el (crm-find-current-element) - (crm-minibuffer-complete-and-exit): Handle minibuffer prompt. - - * emacs-lisp/lisp-mode.el (eval-defun-1): - * emacs-lisp/edebug.el (edebug-eval-defun): - Remove unnecessary quotes. - -2005-07-04 Juanma Barranquero - - * progmodes/prolog.el (prolog-eof-string): Doc fixes. - (prolog-indent-level): Fix typo in docstring. - - * info.el (Info-history, Info-history-forward) - (Info-history-list, Info-speedbar-fetch-file-nodes): Doc fixes. - - * add-log.el (add-change-log-entry): - * comint.el (comint-dynamic-list-input-ring) - (comint-dynamic-list-completions): - * dabbrev.el (dabbrev-expand): - * delim-col.el (delimit-columns-rectangle-line): - * diff-mode.el (diff-context->unified, diff-reverse-direction) - (diff-unified->context): - * ediff-init.el (ediff-abbrev-jobname): - * ediff-mult.el (ediff-replace-session-status-in-meta-buffer) - (ediff-replace-session-activity-marker-in-meta-buffer): - * info.el (Info-summary): - * lpr.el (printify-region): - * printing.el (pr-create-interface): - * ps-print.el (ps-print-quote): - * ses.el (ses-column-widths, ses-print-cell) - (ses-adjust-print-width, ses-center): - * shell.el (shell-file-name-quote-list): - * strokes.el (strokes-read-stroke, strokes-read-complex-stroke) - (strokes-fill-current-buffer-with-whitespace) - (strokes-xpm-for-stroke, strokes-list-strokes) - (strokes-xpm-char-bit-p, strokes-xpm-for-compressed-string): - * term.el (term-dynamic-list-input-ring) - (term-dynamic-list-completions): - * calc/calc.el (math-format-stack-value): - * emacs-lisp/edebug.el (edebug-display-freq-count): - * progmodes/delphi.el (delphi-indent-line, delphi-fill-comment) - (delphi-new-comment-line): - * progmodes/ebnf2ps.el (ebnf-eps-filename, ebnf-trim-right): - * progmodes/executable.el (executable-set-magic): - * progmodes/python.el (inferior-python-mode): - * progmodes/scheme.el (scheme-mode-syntax-table): - * progmodes/sh-script.el (sh-maybe-here-document): - * progmodes/sql.el (sql-copy-column): - * progmodes/tcl.el (tcl-comment-indent, tcl-quote): - * textmodes/bibtex.el (bibtex-mode): - * textmodes/sgml-mode.el (html-imenu-index, sgml-attributes) - (sgml-auto-attributes): - * textmodes/table.el (table-insert, table-shorten-cell) - (table--generate-source-scan-lines, table-delete-row) - (*table--cell-delete-char, table--spacify-frame) - (table--horizontally-shift-above-and-below) - (table--cell-insert-char, table--cell-blank-str) - (table--fill-region-strictly): - * textmodes/tex-mode.el (tex-insert-quote, latex-find-indent): - * textmodes/texinfo.el (texinfo-insert-quote): "?\ " -> "?\s". - - * add-log.el (change-log): - * apropos.el (apropos): - * comint.el (comint-completion, comint-source): - * dabbrev.el (dabbrev): - * delim-col.el (columns): - * diff-mode.el (diff-mode): - * ediff.el (ediff): - * ediff-diff.el (ediff-diff): - * ediff-init.el (ediff-highlighting, ediff-merge, ediff-hook): - * ediff-mult.el (ediff-mult): - * ediff-ptch.el (ediff-ptch): - * ediff-wind.el (ediff-window): - * facemenu.el (facemenu): - * indent.el (indent): - * info.el (info): - * jka-cmpr-hook.el (compression, jka-compr): - * lpr.el (lpr): - * outline.el (outlines): - * pcmpl-cvs.el (pcmpl-cvs): - * pcmpl-rpm.el (pcmpl-rpm): - * printing.el (printing): - * ps-print.el (postscript, ps-print, ps-print-horizontal) - (ps-print-vertical, ps-print-headers, ps-print-font) - (ps-print-color, ps-print-face, ps-print-n-up, ps-print-zebra) - (ps-print-background, ps-print-printer, ps-print-page) - (ps-print-miscellany): - * ses.el (ses): - * shell.el (shell, shell-directories, shell-faces): - * startup.el (initialization): - * strokes.el (strokes): - * term.el (term): - * uniquify.el (uniquify): - * w32-vars.el (w32): - * calc/calc.el (calc): - * emacs-lisp/bytecomp.el (bytecomp): - * emacs-lisp/cl-indent.el (lisp-indent): - * emacs-lisp/edebug.el (edebug): - * emacs-lisp/elp.el (elp): - * emacs-lisp/testcover.el (testcover): - * emacs-lisp/trace.el (trace): - * emulation/viper-ex.el (viper-ex): - * emulation/viper-mous.el (viper-mouse): - * mail/mailalias.el (mailalias): - * mail/supercite.el (supercite, supercite-frames) - (supercite-attr, supercite-cite, supercite-hooks): - * net/rcompile.el (remote-compile): - * net/rlogin.el (rlogin): - * obsolete/ooutline.el (outlines): - * progmodes/delphi.el (delphi): - * progmodes/ebnf2ps.el (postscript, ebnf2ps, ebnf-special) - (ebnf-except, ebnf-repeat, ebnf-terminal, ebnf-non-terminal) - (ebnf-production, ebnf-shape, ebnf-displacement, ebnf-syntactic) - (ebnf-optimization): - * progmodes/etags.el (etags): - * progmodes/executable.el (executable): - * progmodes/idlwave.el (idlwave): - * progmodes/pascal.el (pascal): - * progmodes/prolog.el (prolog): - * progmodes/python.el (python): - * progmodes/scheme.el (scheme): - * progmodes/sh-script.el (sh, sh-script): - * progmodes/sql.el (SQL): - * progmodes/tcl.el (tcl): - * textmodes/bibtex.el (bibtex, bibtex-autokey): - * textmodes/enriched.el (enriched): - * textmodes/makeinfo.el (makeinfo): - * textmodes/sgml-mode.el (sgml): - * textmodes/table.el (table-hooks): - * textmodes/tex-mode.el (tex-file, tex-run, tex-view): - * textmodes/texinfo.el (texinfo): - * textmodes/two-column.el (two-column): - Finish `defgroup' description with period. - - * emacs-lisp/cl-indent.el (lisp-indent-maximum-backtracking): - * eshell/esh-var.el (eshell-var): - * progmodes/vhdl-mode.el (vhdl-testbench): - * textmodes/org.el (org): Fix typos in docstrings. - - * emacs-lisp/timer.el (with-timeout): Improve argument/docstring - consistency. - - * progmodes/flymake.el (flymake-find-file): Remove. - (flymake-float-time): Use `with-no-warnings'. - (flymake-check-start-time, flymake-check-was-interrupted) - (flymake-err-info, flymake-is-running, flymake-last-change-time) - (flymake-new-err-info): `defvar' at compile time. - -2005-07-03 Juanma Barranquero - - * replace.el (occur-hook): Doc fix. - (occur-1): Don't call `occur-hook' if there are no matches. - -2005-07-03 Richard M. Stallman - - * emulation/tpu-edt.el (tpu-original-global-map): Don't copy - global-map, save the same map. - (global-map): Don't alter it at top level. - (tpu-edt-on): Save global map in tpu-original-global-map, then copy. - Then alter it here instead. - (tpu-edt-off): Set global-map to the saved one. - - * emulation/tpu-edt.el (tpu-emacs19-p): Var deleted. - All references simplified. - (tpu-lucid-emacs-p): Rename from tpu-lucid-emacs19-p. Uses changed. - (zmacs-regions): Add defvar. - (repeat-complex-command-map): Everything about that deleted. - - * textmodes/artist.el (artist-key-is-drawing) - (artist-key-endpoint1, artist-key-poly-point-list) - (artist-key-shape, artist-key-draw-how, artist-popup-menu-table) - (artist-key-compl-table, artist-rb-save-data) - (artist-arrow-point-1, artist-arrow-point-2): Move defvars up. - Don't put them in eval-when-compile. - (artist-set-arrow-points-for-poly): Use `last', not `artist-last'. - - * progmodes/ebrowse.el (ebrowse-revert-tree-buffer-from-file): - Use with-no-warnings. - - * net/browse-url.el (dos-windows-version): Add defvar. - - * mail/supercite.el (filladapt-prefix-table): Add defvar. - - * mail/rmailsum.el (rmail-summary-redo): Add defvar. - (rmail-summary-mode-map, rmail-summary-overlay): Defvars moved up. - (rmail-new-summary-line-count): Rename from new-summary-line-count. - Add defvar. - (rmail-summary-beginning-of-message): Use with-no-warnings. - (rmail-summary-first-message, rmail-summary-last-message): Likewise. - - * emulation/vip.el (vip-replace-string, ex-map, ex-read): - Use with-no-warnings. - - * emulation/vi.el (vi-mark-region): Use c-mark-function. - (c-mark-function): Add point-moving-unit property. - (vi-goto-line): Use with-no-warnings. - - * emulation/edt.el (edt-last-copied-word): Add defvar. - (zmacs-region-stays): Likewise. - (edt-mark-section-wisely): Use c-mark-function for C. - Use makr-defun for Fortran. - (time-string): defvar deleted. - (edt-display-the-time): Don't set time-string. - - * emacs-lisp/macroexp.el (macroexp-accumulate): Rename arg to var+list. - - * emacs-lisp/bytecomp.el (byte-compile-nogroup-warn): - Don't warn when name is not constant - or for defining the group `emacs'. - - * tooltip.el (gud-tooltip-mode): Add defvar. - - * startup.el (default-frame-background-mode): Add defvar. - - * smerge-mode.el (smerge-mode): Add duplicate defvar near top. - - * info.el (tool-bar-map): Add defvar. - - * dired.el (dnd-protocol-alist): Add defvar. - - * dired-aux.el (dired-query): Display question with answer, when - the user answers. - - * custom.el (custom-add-option): Doc fix. - - * bookmark.el (Info-current-node, Info-suffix-list): Add defvars. - -2005-07-03 Eli Zaretskii - - * font-lock.el (font-lock-regexp-grouping-construct): Fix the - bogus name from the last change. +2007-10-23 Dan Nicolaescu -2005-07-02 Luc Teirlinck + * progmodes/gud.el (gdb-source-window, gud-tooltip-mode) + (hl-line-mode, hl-line-sticky-flag): Pacify byte compiler. - * custom.el (custom-declare-variable): Fix typos in comment. - (custom-known-themes): Doc fix. - (custom-theme-directory): New defcustom. - (require-theme): Make it check `custom-theme-directory'. +2007-10-23 Juanma Barranquero - * cus-theme.el (custom-new-theme-mode): New function. - (custom-theme-name, custom-theme-variables, custom-theme-faces) - (custom-theme-description): Add compiler defvars. - (customize-create-theme): Add doc to the "*New Custom Theme*" - buffer. Use `custom-new-theme-mode'. - (custom-theme-write): Put the created buffer in emacs-lisp-mode - and save it to the `custom-theme-directory'. Make this the - default directory of the buffer. + * ibuf-ext.el (ibuffer-switch-to-saved-filters) + (ibuffer-switch-to-saved-filter-groups): Doc fixes. -2005-07-02 David Hunter (tiny change) +2007-10-23 Dan Nicolaescu - * progmodes/flymake.el (flymake-mode, flymake-mode-off): - Fix unbalanced parentheses. + * term/xterm.el (terminal-init-xterm): Experiment with a longer timeout. -2005-07-02 Stefan Monnier - - * progmodes/flymake.el (flymake-mode-on, flymake-mode-off): Move body - into flymake-mode and delegate to flymake-mode. - - * find-file.el (ff-which-function-are-we-in): Clean up. +2007-10-23 Katsumi Yamaoka -2005-07-02 Juanma Barranquero + * emacs-lisp/advice.el (ad-make-advised-docstring): + Add ad-advice-info text property to doc string. - * replace.el (occur-rename-buffer): Fix docstring. +2007-10-23 Glenn Morris - * emulation/edt.el (*EDT-keys*, edt-default-global-map) - (edt-last-copied-word, edt-learn-macro-count) - (edt-orig-page-delimiter, edt-orig-transient-mark-mode) - (edt-rect-start-point, edt-user-global-map, rect-start-point) - (time-string, zmacs-region-stays): - * emulation/edt-mapper.el (edt-save-function-key-map) - (EDT-key-name): `defvar' to silence the byte-compiler. + * progmodes/f90.el (f90-do-indent, f90-if-indent) + (f90-type-indent, f90-program-indent, f90-associate-indent) + (f90-continuation-indent, f90-comment-region) + (f90-beginning-ampersand, f90-smart-end) + (f90-break-before-delimiters, f90-auto-keyword-case) + (f90-leave-line-no, f90-mode-hook): + Give an appropriate safe-local-variable property. -2005-07-02 Martin Rudalics + * progmodes/fortran.el (fortran-tab-mode-default) + (fortran-tab-mode-string, fortran-do-indent, fortran-if-indent) + (fortran-structure-indent, fortran-continuation-indent) + (fortran-comment-indent, fortran-comment-line-extra-indent) + (fortran-comment-line-start) + (fortran-minimum-statement-indent-fixed) + (fortran-minimum-statement-indent-tab) + (fortran-comment-indent-char, fortran-line-number-indent) + (fortran-check-all-num-for-matching-do) + (fortran-blink-matching-if, fortran-continuation-string) + (fortran-comment-region, fortran-electric-line-number) + (fortran-column-ruler-fixed, fortran-column-ruler-tab) + (fortran-analyze-depth, fortran-break-before-delimiters): + Give an appropriate safe-local-variable property. - * font-lock.el (font-lock-regexp-grouping-backslash): Rename from - font-lock-regexp-backslash. Doc fix. - (font-lock-regexp-backslash-grouping-construct): Rename from - font-lock-regexp-backslash-construct. Doc fix. - (lisp-font-lock-keywords-2): Fix highlighting of Elisp regexp - grouping constructs. +2007-10-23 Dan Nicolaescu -2005-07-02 Eli Zaretskii + * printing.el: Move variable definitions before use. + (pr-menu-char-width, pr-menu-char-height): Pacify byte compiler. - * makefile.w32-in (bootstrap): Remove the $(EMACS) binary after - updating all the prerequisites. ++2007-10-22 Stefan Monnier + -2005-07-01 Juanma Barranquero ++ * emulation/tpu-edt.el (tpu-edt-old-global-values): New var. ++ (tpu-edt-off): Use it. ++ (tpu-edt-on): Set it. Make sure the tpu-global-map is not already on ++ the global-map before adding it to global-map. + - * textmodes/org.el (org-agenda-start-on-weekday) - (org-calendar-to-agenda-key, org-agenda-sorting-strategy) - (org-agenda-use-time-grid, org-archive-location) - (org-allow-space-in-links, org-usenet-links-prefer-google) - (org-enable-table-editor, org-export-default-language) - (org-export-html-show-new-buffer, org-fill-paragraph) - (org-cycle, org-goto-ret, org-goto-left, org-goto-right) - (org-goto-quit, org-occur, org-eval-in-calendar) - (org-agenda-cleanup-fancy-diary, org-agenda-no-heading-message) - (org-agenda-diary-entry, org-remember-help) - (org-table-convert-region, org-at-table-p) - (org-table-move-row-down, org-table-move-row-up) - (org-table-copy-region, org-table-toggle-vline-visibility) - (org-table-get-stored-formulas, org-table-get-specials) - (org-recalc-commands, org-table-eval-formula) - (org-table-formula-substitute-names, orgtbl-make-binding) - (org-format-org-table-html, org-format-table-table-html) - (org-format-table-table-html-using-table-generate-source) - (org-customize): Fix typos in docstrings. - (org-level-2, org-at-timestamp-p, org-agenda-day-view) - (org-agenda-toggle-diary, org-agenda-toggle-time-grid) - (org-back-to-heading): Doc fixes. - (org-agenda-toggle-time-grid, org-cmp-category, org-cmp-time) - (org-agenda-change-all-lines, org-get-header): - Improve argument/docstring consistency. - (orgtbl-error): Fix error message. - - * progmodes/flymake.el (flymake-find-possible-master-files) - (flymake-master-file-compare, flymake-get-line-err-count) - (flymake-highlight-line, flymake-gui-warnings-enabled): - Fix typos in docstrings. - (flymake-parse-line, flymake-get-project-include-dirs-function) - (flymake-get-prev-err-line-no, flymake-goto-prev-error): - Doc fixes. - (flymake-get-project-include-dirs-function) - (flymake-make-err-menu-data): - Improve argument/docstring consistency. - -2005-07-01 Lute Kamstra - - * battery.el (battery-linux-proc-apm): Fix typo in docstring. - Catch errors with ignore-errors. Use temporary buffer. - (battery-linux-proc-acpi): Fix typo in docstring. Document `%r'. - - * facemenu.el (facemenu-unlisted-faces): Delete foreground and - background color faces. - (facemenu-set-foreground, facemenu-set-background): - Use facemenu-set-face-from-menu. - (facemenu-set-face-from-menu): Treat face names that start with - "fg:" or "bg:" as special. - (facemenu-add-new-color): Don't create faces. Simplify. - -2005-06-30 Richard M. Stallman - - * emacs-lisp/crm.el (crm-do-completion): Handle minibuffer prompt. - (crm-find-current-element): Likewise. - -2005-06-30 Johan Bockg,Ae(Brd - - * help-fns.el (help-do-arg-highlight): Regexp-quote argument names. - -2005-06-30 Stefan Monnier - - * arc-mode.el (archive-extract): Make it work as a mouse binding. - (archive-mouse-extract): Make it an obsolete alias. - (archive-mode-map): Don't use archive-mouse-extract any more. - (archive-mode, archive-extract): write-contents-hooks -> - write-contents-functions. - (archive-arc-rename-entry, archive-lzh-rename-entry): Remove unused - first arg. - (archive-rename-entry): Update the call. - (archive-zip-summarize): Remove unused var `method'. - (archive-lzh-summarize): Remove unused var `creator'. - - * emacs-lisp/debug.el (debug): Quieten Drew Adams by killing the - dedicated frame upon exit. - - * arc-mode.el: Bind inhibit-read-only rather than buffer-read-only. - (archive-zip-extract, archive-zip-expunge) - (archive-zip-update, archive-zip-update-case): Use executable-find. - (archive-resummarize, archive-flag-deleted, archive-unmark-all-files): - Use restore-buffer-modified-p. - (archive-extract, archive-add-new-member, archive-write-file-member): ++ * menu-bar.el (global-buffers-menu-map): New var. ++ (global-map, menu-bar-update-buffers): Use it. ++ * msb.el (msb-menu-bar-update-buffers): Use it. ++ (msb-sort-by-directory, msb--choose-menu, msb--mode-menu-cond) ++ (msb--most-recently-used-menu, msb--create-buffer-menu-2): + Use with-current-buffer. - (archive-lzh-ogm, archive-zip-chmod-entry): Use dolist. - -2005-06-30 Andreas Schwab + - * progmodes/gud.el (gud-filter): Remove unneeded progn. +2007-10-22 Juri Linkov -2005-06-30 Glenn Morris + * isearch-multi.el: New file. - * progmodes/sh-script.el (sh-get-kw): `&' also separates words. + * isearch.el (isearch-search-string): After finding the next + occurrence switch to buffer isearch-buffers-current-buffer when + isearch-buffers-next-buffer-function is non-nil and + isearch-buffers-current-buffer is live. -2005-06-30 Juri Linkov + * add-log.el (change-log-mode): Make and set buffer-local variable + isearch-buffers-next-buffer-function to change-log-next-buffer. + Call isearch-buffers-minor-mode. + (change-log-next-buffer): New function. - * faces.el (vertical-border): Inherit from mode-line-inactive - only on tty. +2007-10-22 Carsten Dominik -2005-06-30 Juanma Barranquero - - * help-fns.el (help-do-arg-highlight): Highlight also -ARG (for - example, -NLINES in the `occur' docstring). - - * replace.el (occur-1): When no matches are found, do not set the - `buffer-read-only' and modified flags for the occur buffer, - because it is deleted. + * textmodes/org.el (org-read-date-get-relative): New function. + (org-agenda-file-regexp): New variable. + (org-agenda-files): Allow directories in the variable. + (org-agenda-get-restriction-and-command): New function. + (org-agenda): Use `org-agenda-get-restriction-and-command'. + (org-todo-blocker-hook, org-todo-trigger-hook): New hooks. + (org-entry-is-todo-p, org-entry-is-done-p, org-get-todo-state): + New functions. + (org-entry-add-to-multivalued-property) + (org-entry-remove-from-multivalued-property) + (org-entry-member-in-multivalued-property): New functions. + (org-remember-apply-template): Catch C-g and make sure window + configuration is restored. + (org-agenda-open-link): Make it work with several links in the line. + (org-drawers, org-set-regexps-and-options) + (org-get-current-options): Add support for a DRAWERS in-buffer option. + (org-agenda-window-frame-fractions): New option. + (org-fit-agenda-window): Use `org-agenda-window-frame-fractions'. + (org-columns-cleanup-item, org-find-entry-with-id) + (org-insert-columns-dblock, org-listtable-to-string) + (org-dblock-write:columnview, org-columns-capture-view) + (org-edit-headline): New functions. + (org-agenda-to-appt): Require calendar. + (org-entry-get-with-inheritance): Widen for search. + (org-columns-display-here): Don't mark buffer as modified when + adding space characters to accomodate column overlays. + (org-export-as-html): Better formatting of tags in the toc. + (org-columns-display-here): Make the ITEM column as compact as possible. + (org-remember-templates): Customization interface improved. + (org-export-with-property-drawer): Variable removed. + (org-export-with-drawers): New option. + (org-complex-heading-regexp): New variable. + (org-sort-entries): Rewrite using `sort-subr'. + (org-set-property): More appropriate completion during interactive use. + (org-sort-entries): Allow sorting by property. + (org-additional-option-like-keywords): Add more values. + (org-sort-entries-or-items): Rename from `org-sort-entries'. + +2007-10-22 Carsten Dominik + + * textmodes/org.el (org-get-date-from-calendar): New function. + (org-at-timestamp-p, org-timestamp-change) + (org-remember-templates): First element of each entry is now a + name for the template. + (org-store-log-note): Check for `org-note-abort'. + (org-kill-note-or-show-branches): New command. + (org-fontify-priorities): New option. + (org-fontify-priorities): New function. + (org-cut-subtree, org-copy-subtree): New argument N to + act on N sequential subtrees. + (org-paste-subtree): Fix the level at which a tree is pasted. + (org-fit-agenda-window): Limitations on window size removed. + (org-agenda-find-same-or-today-or-agenda): Rename from + `org-agenda-find-today-or-agenda'. + (org-scheduled-past-days): New option. + (org-agenda-scheduled-leaders) + (org-agenda-deadline-leaders): New options. + (org-agenda-get-deadlines): Use `org-agenda-deadline-leaders'. + (org-agenda-get-scheduled): Use `org-agenda-scheduled-leaders'. + (org-export-with-tags, org-export-plist-vars) + (org-infile-export-plist): New "tags" option. + (org-use-property-inheritance): New option. + (org-cached-entry-get): Use `org-use-property-inheritance'. + (org-remember-apply-template): Fix typo. + +2007-10-22 Michael Albinus + + * net/tramp.el (tramp-find-shell) + (tramp-open-connection-setup-interactive-shell): Improve sending + initial commands. + (tramp-action-terminal): Send debug message. + (tramp-wait-for-shell-prompt, tramp-send-command-internal): Remove. + (tramp-barf-if-no-shell-prompt): Insert code of + `tramp-wait-for-shell-prompt'. - * emulation/cua-base.el (cua-check-pending-input) - (cua-repeat-replace-region, cua-mode, cua-debug) - (cua-auto-tabify-rectangles, cua-inhibit-cua-keys): - Fix typos in docstrings. +2007-10-22 Stefan Monnier - * emulation/cua-gmrk.el (cua-toggle-global-mark) - (cua-cut-region-to-global-mark) - (cua--cut-rectangle-to-global-mark): - Remove period from end of messages. - - * emulation/cua-rect.el (cua-do-rectangle-padding): - Remove period from end of messages. - (cua--rectangle-seq-format): Fix typo in docstring. - (cua-sequence-rectangle, cua-fill-char-rectangle): - Improve argument/docstring consistency. - -2005-06-29 Juri Linkov - - * faces.el (default-frame-background-mode): New internal variable. - (frame-set-background-mode): Use it. - - * startup.el (normal-top-level): Set default-frame-background-mode - instead of frame-background-mode. Before setting it, test for its - nil value. Remove tests for frame-background-mode and frame - parameter `reverse'. Add test for "unspecified-fg". - - * term/xterm.el (xterm-rxvt-set-background-mode): - * term/rxvt.el (rxvt-set-background-mode): - Set default-frame-background-mode instead of frame-background-mode. - -2005-06-29 Juanma Barranquero - - * simple.el (set-variable): Warn about obsolete user variables. - - * imenu.el (imenu--completion-buffer): - * mouse.el (mouse-buffer-menu-alist): - * msb.el (msb-invisible-buffer-p): - * calendar/diary-lib.el (diary-header-line-format): - * emacs-lisp/pp.el (pp-buffer): - * progmodes/cperl-mode.el (cperl-do-auto-fill): - * textmodes/picture.el (picture-replace-match): - Change space constants followed by a sexp to "?\s ". - - * play/decipher.el (decipher-loop-with-breaks): - * textmodes/texinfo.el (texinfo-insert-@item): Change space - constants "protected" from end of line by a comment to "?\s". - -2005-06-29 Stefan Monnier - - * font-lock.el (save-buffer-state): Use `declare'. - - * progmodes/cperl-mode.el (cperl-find-pods-heres): Don't gratuitously - reset the syntax-table to cperl-mode-syntax-table. - (cperl-mode): Make _ into word-syntax during font-locking so "print" in - "foo_print_bar" is not matched as a reserved keyword. - -2005-06-29 Carsten Dominik - - * textmodes/org.el (orgtbl-setup): New function, for delayed - setup for the orgtbl commands. - (org-calc-default-modes): New option. - (orgtbl-make-binding): Use `defun' to get better help display. - (org-diary): Call `org-compile-prefix-format'. - (org-table-formula-substitute-names): New function. - (org-agenda-day-view, org-agenda-week-view): New commands. - (org-agenda-toggle-week-view): Command removed. - (org-tbl-menu): Split off from org-org-menu. - (org-mode): Move removal of outline-mode menus to here. - (org-table-formula-debug): New option. - (org-table-insert-row): Keep first field if just "#" or "*". - (org-mode): Paragraph regexps fixed. - (org-table-recalculate-regexp): New constant. - (org-table-justify-field-maybe): Avoid replace if not necessary. - (org-copy-special, org-cut-special): Use `call-interactively'. - (org-table-copy-region): Take region from `interactive' call. - (org-trim): Return string even if no match. - (org-formula): New face. - (org-set-font-lock-defaults): No longer highlight "FIXME". - But highlight formula-related fields in table. - (org-table-p): Use regexp, not fontification. - (org-table-align): Handle white space at end of line. - (org-table-formula-evaluate-inline): New option. - (org-mode): Auto-wrapping in comment lines turned off. - (org-table-copy-down): Evaluate only in copied field, not in - destination. - (org-table-current-formula): Variable removed. - (org-table-store-formulas, org-table-get-stored-formulas) - (org-table-modify-formulas, org-table-replace-in-formulas) - (org-table-maybe-eval-formula): New functions. - (org-table-get-formula): Modify to use stored formulas. - (org-table-insert-column, org-table-delete-column) - (org-table-move-column): Call `org-table-modify-formulas'. - (org-complete): Add completion for keyword formulas. - (orgtbl-mode): Pull orgtbl-mode-map to start of - minor-mode-map-alist. - -2005-06-29 Stefan Monnier - - * progmodes/python.el (python-check): Require `compile' before - modifying its variables. - - * newcomment.el (comment-indent-default): Don't get fooled by an early - end of buffer. - -2005-06-28 Vinicius Jose Latorre - - * ps-print.el (ps-print-version): Fix version number. - -2005-06-28 Luc Teirlinck - - * textmodes/ispell.el (ispell-word): Remove stray parenthesis. - -2005-06-28 Richard M. Stallman - - * textmodes/flyspell.el (flyspell-use-local-map): Variable deleted. - (flyspell-local-mouse-map): Declaration deleted. - (flyspell-mouse-map): Bind only mouse-2. - (flyspell-mode-map): Don't test flyspell-use-local-map. - (flyspell-overlay-keymap-property-name): Var deleted. - (flyspell-mode-on): Don't make local bindings for - flyspell-mouse-map and flyspell-mode-map. - (make-flyspell-overlay): Unconditionally put on `keymap' text prop. - - * textmodes/ispell.el (ispell-word): Do not ignore short words. - - * progmodes/compile.el (compilation-next-error-function): - Don't switch buffers; operate on the current buffer. - - * progmodes/compile.el (compilation-error-file-name) - (compilation-warning-file-name, compilation-info-file-name) - (compilation-line-number, compilation-column-number): New faces. - (compilation-error-face, compilation-warning-face) - (compilation-info-face, compilation-line-face) - (compilation-column-face): Use them. - - * facemenu.el (facemenu-add-face): Warn when font-lock is active. - - * comint.el (comint-password-prompt-regexp): Accept ", try again". - - * bindings.el (global-map): Bind insertchar and its variants. - -2005-06-27 Richard M. Stallman - - * textmodes/artist.el (artist-text-overwrite) - (artist-figlet-get-extra-args, artist-text-see-thru): Use read-string. - -2005-06-27 Vinicius Jose Latorre - - * ps-print.el: It was not working the page selection for printing. - Reported by Sebastian Tennant . - (ps-print-version): New version 6.6.7. - (ps-end-sheet): New fun. - (ps-header-sheet, ps-end-job): Call it. - -2005-06-27 Luc Teirlinck - - * subr.el (add-to-list, add-to-ordered-list): Doc fixes. - -2005-06-27 Lute Kamstra - - * facemenu.el (facemenu-unlisted-faces): Add foreground and - background color faces. - (facemenu-get-face): Delete function. - (facemenu-set-face-from-menu): Don't call facemenu-get-face. - (facemenu-add-new-color): Make second argument mandatory. - Create the appropriate face and return it. Simplify. - (facemenu-set-foreground, facemenu-set-background): Don't check if - color is defined. Use return value of facemenu-add-new-color. - -2005-06-26 Nick Roberts - - * progmodes/gud.el (gud-filter): Add missing argument to - with-selected-window. + * term/AT386.el (terminal-init-AT386): Use input-decode-map. -2005-06-26 Stefan Monnier + * term/vt200.el (terminal-init-vt200): + * term/vt201.el (terminal-init-vt201): + * term/vt220.el (terminal-init-vt220): + * term/vt240.el (terminal-init-vt240): + * term/vt300.el (terminal-init-vt300): + * term/vt320.el (terminal-init-vt320): + * term/vt400.el (terminal-init-vt400): + * term/vt420.el (terminal-init-vt420): Use input-decode-map. - * emacs-lisp/easy-mmode.el (define-minor-mode): Don't automatically add - a :require to the defcustom. + * term/wyse50.el (wyse50-terminal-map): New var. + (terminal-init-wyse50): Use it and input-decode-map. + (enable-arrow-keys): Emasculate. - * emacs-lisp/autoload.el (make-autoload): Add the :setter for - defcustoms corresponding to minor modes. + * term/tvi970.el (tvi970-terminal-map): New var. + (terminal-init-tvi970): Use it and input-decode-map. + (tvi970-keypad-numeric): Remove. + (tvi970-set-keypad-mode): Use a terminal-parameter rather than var. -2005-06-26 David Ponce + * term/sun.el (sun-raw-prefix): Fill as part of declaration. + (terminal-init-sun): Use it and input-decode-map. - * recentf.el: Require tree-widget instead of wid-edit. - (recentf-filename-handler): Fix widget :type. - (recentf-cancel-dialog, recentf-open-more-files) - (recentf-open-files-action): Doc fix. - (recentf-dialog-goto-first): New function. - (recentf-dialog-mode-map): Set parent keymap first. - (recentf-dialog-mode): Define with define-derived-mode. - Don't display continuation lines in dialogs. - (recentf-edit-list): Rename from recentf-edit-selected-items. - (recentf-edit-list-select): Rename from recentf-edit-list-action. - Simplify. - (recentf-edit-list-validate): New function. - (recentf-edit-list): Update accordingly. - (recentf-open-files-item-shift): Remove. - (recentf-open-files-item): Convert menu elements into tree and - link widgets. Don't create the widgets. - (recentf-open-files): Update accordingly. - (recentf-save-list): Untabify. + * term/news.el (terminal-init-news): + * term/lk201.el (terminal-init-lk201): + * term/iris-ansi.el (terminal-init-iris-ansi): Use input-decode-map. + +2007-10-22 Sean O'Rourke + + * complete.el (PC-expand-many-files): Remove. + (PC-do-completion): Call file-expand-wildcards instead of + PC-expand-many-files. + + * net/tramp.el (tramp-handle-expand-many-files): Remove. + (PC-expand-many-files): Remove advice. + +2007-10-22 Glenn Morris + + * progmodes/f90.el: Remove leading "*" from defcustom doc-strings. + Add some support for Fortran 2003 syntax: + (f90-type-indent): Now also applies to `enum'. + (f90-associate-indent): New user option. + (f90-keywords-re, f90-keywords-level-3-re, f90-procedures-re): + Add some F2003 keywords. + (f90-constants-re): New constant. + (f90-font-lock-keywords-1): Add `associate' blocks, and `abstract + Interface'. + (f90-font-lock-keywords-2): Add `enumerator', `generic', `procedure', + `class'. Arguments for `type'/`class' may have spaces. Add a new + element for functions with specified types. Add `end enum' and + `select type'. Add `implicit enumerator' and `procedure'. + Add `class default' and `type is', `class is'. Fix `go to' regexp. + (f90-font-lock-keywords-3): Add `asynchronous' attribute. + (f90-font-lock-keywords-4): Add `f90-constants-re'. + (f90-blocks-re): Add `enum' and `associate'. + (f90-else-like-re): Add `class is', `type is', and `class default'. + (f90-end-type-re): Add `enum'. + (f90-end-associate-re, f90-typeis-re): New constants. + (f90-end-block-re): Add `enum' and `associate'. Change from + optional whitespace to end-of-word, to avoid `enumerator'. + (f90-start-block-re): Add `select type', `abstract interface', and + `enum'. Avoid `type is', and `type (sometype)'. + (f90-mode-abbrev-table): Add `enumerator', `protected', and `volatile'. + (f90-mode): Doc fix. + (f90-looking-at-select-case): Doc fix. Add `select type'. + (f90-looking-at-associate): New function. + (f90-looking-at-type-like): Avoid `type is' and `type (sometype)'. + Add `enum' and `abstract interface'. + (f90-no-block-limit): Add `select type' and `abstract interface'. + (f90-get-correct-indent, f90-calculate-indent) + (f90-end-of-block, f90-beginning-of-block, f90-next-block) + (f90-indent-region, f90-match-end): Handle `associate' blocks. -2005-06-25 Luc Teirlinck +2007-10-22 Martin Rudalics - * replace.el (keep-lines-read-args): Add INTERACTIVE arg. - (keep-lines): Add INTERACTIVE arg. Never delete lines only - partially contained in the active region. Do not take active - region into account when called from Lisp, unless INTERACTIVE arg - is non-nil. Use `forward-line' instead of `beginning-of-line' to - avoid trouble with fields. Make marker point nowhere when no - longer used. Always return nil. Doc fix. - (flush-lines): Add INTERACTIVE arg. Do not take active region - into account when called from Lisp, unless INTERACTIVE arg is - non-nil. Use `forward-line' instead of `beginning-of-line' to - avoid trouble with fields. Make marker point nowhere when no - longer used. Always return nil. Doc fix. - (how-many): Add INTERACTIVE arg. Make RSTART and REND args - interchangeable. Do not take active region into account when - called from Lisp, unless INTERACTIVE arg is non-nil. Do not print - message in echo area when called from Lisp, unless INTERACTIVE arg - is non-nil. Avoid saying "1 occurrences". Do not use markers. - Return the number of matches. Doc fix. - (occur): Doc fix. - (perform-replace): Make comment follow double space convention for - the sake of `outline-minor-mode'. + * progmodes/fortran.el (fortran-mode-map, fortran-window-create): + Use window-full-width-p. - * faces.el (facep): Doc fix. +2007-10-22 Dan Nicolaescu -2005-06-25 Richard M. Stallman + * mail/vms-pmail.el (insert-signature): Don't use end-of-buffer. - * facemenu.el (facemenu-enable-faces-p): New function. - (facemenu-background-menu, facemenu-foreground-menu) - (facemenu-face-menu): Add menu-enable property. + * tooltip.el: Use featurep 'xemacs. - * jka-compr.el (jka-compr-insert-file-contents): - Special handling if cannot find the uncompression program. + * printing.el: Move variable definitions before use, no code change. - * cus-face.el (custom-face-attributes): Add autoload. +2007-10-22 Juri Linkov - * emacs-lisp/lisp-mode.el (lisp-mode-variables): - Bind comment-indent-function locally. + * simple.el (goto-history-element): Allow minibuffer-default to be + a list of default values accessible by typing M-n in the minibuffer. - * window.el (save-selected-window): Use save-current-buffer. + * dired-x.el (dired-guess-shell-command): Put all guesses to the + minibuffer default value list instead of pushing them temporarily + to the history list. - * subr.el (with-selected-window): Use save-current-buffer. ++2007-10-21 Dan Nicolaescu + - * progmodes/gud.el (gud-filter): Simplify using with-selected-window - and with-current-buffer. ++ * hexl.el (hexl-menu): New major mode menu. + -2005-06-24 Richard M. Stallman +2007-10-21 Stefan Monnier - * simple.el (line-move-1): Fix previous change. + * emacs-lisp/byte-opt.el (byte-optimize-featurep): Fix paren typo. -2005-06-24 Juanma Barranquero +2007-10-21 Dan Nicolaescu - * replace.el (occur-1): Set `buffer-read-only' and the - buffer-modified flag before running `occur-hook' to protect - against unintentional buffer switches that can lead to data loss. + * w32-fns.el (w32-quote-process-args): + * dos-w32.el (print-region-function, lpr-headers-switches) + (ps-print-region-function): Pacify byte-compiler. + + * emulation/edt-mapper.el (function-key-map): + (edt-map-key): Make it a function instead of using fset. + Inline edt-gnu-map-key and edt-lucid-map-key. Use featurep 'xemacs. + (edt-gnu-map-key, edt-lucid-map-key): Remove. + (edt-x-emacs-p): Remove. + (edt-emacs-variant, edt-window-system, edt-xserver): + Use featurep 'xemacs. + + * net/eudc.el: Use (featurep 'xemacs) instead of the string test. + Replace eudc-xemacs-p with its definition. + (eudc-xemacs-p, eudc-emacs-p, eudc-xemacs-mule-p) + (eudc-emacs-mule-p): Remove. + (eudc-install-menu, eudc-mode): Replace eudc-emacs-p and + eudc-xemacs-p with feature tests. + + * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-mail-keymap) + (eudc-bob-url-keymap, eudc-bob-sound-keymap) + (eudc-bob-generic-keymap, eudc-bob-popup-menu) + (eudc-bob-toggle-inline-display): + * net/eudc-hotlist.el (eudc-hotlist-emacs-menu): + Replace eudc-emacs-p and eudc-xemacs-p with feature tests. -2005-06-24 Nick Roberts + * net/eudcb-ph.el (eudc-ph-open-session): + Replace eudc-xemacs-mule-p with its former definition. + + * progmodes/octave-mod.el (octave-xemacs-p): Remove. + (octave-abbrev-start): Replace octave-xemacs-p with (featurep 'xemacs). + + * progmodes/vera-mode.el (vera-xemacs): Remove. + (vera-mode-syntax-table): Replace vera-xemacs with (featurep 'xemacs). + + * progmodes/vhdl-mode.el (vhdl-xemacs): Remove. + (vhdl-doc-mode, vhdl-doc-variable, vhdl-compile-init) + (vhdl-speedbar-initialize, vhdl-ps-print-init) + (vhdl-forward-comment, vhdl-mode-map-init, vhdl-show-messages) + (vhdl-emacs-22, vhdl-emacs-21): Replace vhdl-xemacs + with (featurep 'xemacs). + + * progmodes/antlr-mode.el (cond-emacs-xemacs-macfn, defunx) + (save-buffer-state-x): + * obsolete/fast-lock.el (fast-lock-verbose): + * emulation/viper-init.el (viper-xemacs-p) + (viper-cond-compile-for-xemacs-or-emacs): + * emacs-lisp/checkdoc.el (checkdoc-minor-mode-map): + * ps-print.el (case-fold-search): + * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs): + * calculator.el (calculator-help): Use featurep 'xemacs. + + * progmodes/prolog.el: Undo previous change. + (comint-prompt-regexp, comint-process-echoes): Pacify byte-compiler. + + * progmodes/dcl-mode.el: + * play/yow.el: + * calendar/todo-mode.el: + * calendar/cal-hebrew.el: + * vc-hg.el: Undo previous change. + + * vms-patch.el: Likewise. + (print-region-function): Pacify byte-compiler. + +2007-10-21 Michael Albinus + + * files.el (backup-buffer-copy): Call `copy-file' with non-nil + preserve-uid-gid. + + * net/ange-ftp.el (ange-ftp-copy-file): Add PRESERVE-UID-GID for + compatibility. It is not used, though. + + * net/tramp.el (top): Put load of all tramp-* files into a dolist. + Require tramp-cmds.el. + (tramp-make-tramp-temp-file): We can get rid of DONT-CREATE. + (tramp-handle-file-name-all-completions): Expand DIRECTORY. + (tramp-do-copy-or-rename-file-directly): Make more rigid checks. + (tramp-do-copy-or-rename-file-out-of-band) + (tramp-maybe-open-connection): Use `make-temp-name'. This is + possible, because we don't need to create the temporary file, but + we need a prefix for ssh, which has its own temporary file handling. + (tramp-handle-delete-directory): Add "-f" to rmdir. + (tramp-handle-dired-recursive-delete-directory): Call "rm -rf". + (tramp-handle-insert-file-contents): Don't raise a tramp-error but + a signal, in order to give the callee a chance to suppress. + (tramp-handle-write-region): Set owner also in case of short + track. Don't use compatibility calls for `write-region' anymore. + (tramp-clear-passwd): Add parameter VEC. Adapt all callees. + (tramp-append-tramp-buffers): Apply `tramp-list-tramp-buffers'. + + * net/tramp-cmds.el: New file. + + * net/tramp-gw.el (tramp-gw-basic-authentication): Apply VEC to + `tramp-clear-passwd'. - * progmodes/gud.el (gud-tooltip-print-command): Indent properly. - (gud-gdb-marker-filter): Use font-lock-warning-face for any - initial error. + * net/trampver.el: Update release number. - * progmodes/gdb-ui.el (gdb-send): Remove warning face from errors - after fresh input. - (gdb-var-create-handler): Put name of expression in quotes. +2007-10-21 Dan Nicolaescu -2005-06-23 Luc Teirlinck + * progmodes/gud.el (gud-target-name): Move definition before use. - * emacs-lisp/ring.el (ring-elements): Make it return a list of the - elements of RING in order, and without bogus nil elements. + * progmodes/dcl-mode.el: Require imenu at compile time. -2005-06-23 Richard M. Stallman + * progmodes/cc-engine.el (c-maybe-stale-found-type): + Pacify byte-compiler. - * simple.el (set-variable): Args renamed; doc fix. - (line-move-1): When there are overlays around, use vertical-motion. + * obsolete/fast-lock.el: Use featurep test instead of string-match. - * faces.el (escape-glyph): Use brown against light background. - (nobreak-space): Rename from no-break-space. - Fix previous change. + * eshell/esh-mode.el (eshell-handle-ansi-color): + Require ansi-color at compile time too. - * dired-aux.el (dired-do-copy): Fix arg prompt. + * eshell/em-unix.el (eshell/info): Require info at compile time too. - * mail/sendmail.el (mail-setup-with-from): Fix custom type. + * w32-fns.el: Require w32-vars. -2005-06-23 Glenn Morris + * diff-mode.el (diff-refine-hunk): Require smerge-mode at compile + time too. - * mail/emacsbug.el (report-emacs-bug): Use "X server distributor" - rather than "Distributor". +2007-10-21 Stefan Monnier -2005-06-23 Lute Kamstra + * double.el ([ignore]): Use `ignore'. + (double-setup): Inline into double-mode. + (double-mode): Use define-minor-mode. - * emacs-lisp/debug.el (debugger-special-form-p): New defun. - (debug-on-entry): Use it. New interactive declaration that uses - function-called-at-point. +2007-10-21 Dan Nicolaescu -2005-06-23 Kim F. Storm + * textmodes/reftex.el: Move require easymenu before first use. + (reftex-info): Require info at compile too. - * subr.el (save-match-data): Add comment about using evaporate arg - to set-match-data. + * textmodes/org-publish.el (org-publish-org-to-html) + (org-publish-org-to): Require org at compile time too. + (org-publish-attachment): Require at compile time too. -2005-06-22 Glenn Morris + * term/tty-colors.el (w32-tty-standard-colors): + Pacify byte-compiler. - * cus-edit.el (customize-face) - (customize-face-other-window): Handle face aliases. + * term/pc-win.el (frame-creation-function-alist): Add to this + instead of setting frame-creation-function. - * faces.el (face-documentation, set-face-attribute) - (face-spec-set): Handle face aliases. + * play/blackbox.el (bb-up, bb-down): Use forward-line. -2005-06-22 Juanma Barranquero + * net/rcirc.el (rcirc-markup-text-functions): Move definition earlier. - * help-mode.el (help-make-xrefs): If a symbol representing a face - name is not followed by the word "face", it could still be a - function or variable name, so don't bypass other checks. + * calendar/todo-mode.el: Require calendar at compile time. -2005-06-22 Juri Linkov + * calendar/cal-hebrew.el: Require holidays at compile time. - * ps-print.el (ps-face-foreground-name, ps-face-background-name): - Replace aliased functions with calls where second arg `inherit' is t. + * w32-vars.el: Provide w32-vars. -2005-06-22 Nick Roberts + * term/w32-win.el: Require w32-vars. + (w32-color-map): Pacify byte-compiler. - * progmodes/gdb-ui.el (gdb-error): New variable. - (gdb-error): New function. - (gdb-annotation-rules): Act on error-begin and error annotations. - (gdb-concat-output): Use font-lock-warning-face for errors. + * loadup.el: Load w32-vars before term/w32-win. -2005-06-22 Miles Bader +2007-10-20 Juri Linkov - * bindings.el (propertized-buffer-identification): Use renamed - `Buffer-menu-buffer' face. + * textmodes/fill.el (fill-paragraph): When the region is active, + don't try other `or' branches regardless of the value returned by + fill-region; just return t. - * faces.el (vertical-border): Rename from `vertical-divider'. - (escape-glyph): Change dark-background color back to `cyan'. +2007-10-20 Eric S. Raymond -2005-06-21 Juri Linkov + * vc.el (vc-do-command): Condition out a misleading message when + running asynchronously. + (vc-deduce-fileset): New argument enables using an unregistered + visited file as a singleton fileset if nothing else is available. + (vc-next-action): Restore file-registering behavior. - * faces.el (face-user-default-spec): Try getting `customized-face' - prior to `saved-face'. - (frame-background-mode): Refill docstring. +2007-10-20 Jay Belanger - * emacs-lisp/lisp-mode.el (eval-defun-1): - * emacs-lisp/edebug.el (edebug-eval-defun): - Set `saved-face' temporarily to nil before calling form. - Set `customized-face' to the new spec after that. + * calc/README: Add recent news. -2005-06-21 Juanma Barranquero +2007-10-20 Dan Nicolaescu - * subr.el (1value, lambda, key-substitution-in-progress): - Doc fixes. + * term/x-win.el (x-gtk-stock-map, icon-map-list) + (x-gtk-map-stock): Delete duplicated definitions from merge. - * autoinsert.el (auto-insert-alist): - * ses.el (ses-call-printer): - * subr.el (noreturn): - * emacs-lisp/lisp.el (check-parens): - * emacs-lisp/byte-opt.el (byte-optimize-pure-func): - * net/browse-url.el (browse-url-mosaic): - * progmodes/cc-defs.el (c-safe-scan-lists): - * progmodes/ebnf-abn.el (ebnf-abn-lex): - * progmodes/ebnf-bnf.el (ebnf-bnf-lex): - * progmodes/ebnf-dtd.el (ebnf-dtd-lex): - * progmodes/ebnf-ebx.el (ebnf-ebx-lex): - * progmodes/ebnf-iso.el (ebnf-iso-lex): - * progmodes/ebnf-yac.el (ebnf-yac-lex): Fix spellings. + * progmodes/compile.el (compilation-skip-to-next-location) + (compilation-skip-threshold, compilation-skip-visited): + Move definitions earlier. -2005-06-21 Reiner Steib + * play/decipher.el (decipher-keypress): + * play/zone.el (zone-fall-through-ws): + * play/landmark.el (lm-move-down, lm-move-up): + * play/handwrite.el (handwrite): + * mail/mspools.el (mspools-visit-spool): + * wdired.el (wdired-next-line, wdired-previous-line): + * tar-mode.el (tar-subfile-save-buffer): + * scroll-lock.el (scroll-lock-next-line) + (scroll-lock-previous-line): + * image-dired.el (image-dired-next-line) + (image-dired-previous-line): + * ediff-help.el (ediff-help-message-line-length): + Use forward-line. - * pcvs-defs.el (cvs-menu): Add cvs-mode-mark and cvs-mode-unmark. + * smerge-mode.el (smerge-auto-refine): + * diff-mode.el (diff-auto-refine): Add :group. -2005-06-21 Glenn Morris + * play/yow.el: Require doctor at compile time. - * calendar/appt.el (appt-make-list): Activate the package, if - not already active (for backwards compatibility). + * vmsproc.el: Provide vmsproc. + (command-send-input): Use forward-line. -2005-06-20 Kim F. Storm + * vms-patch.el: Require ps-print and vmsproc at compile time. - * subr.el (add-to-ordered-list): Test membership with eq. Simplify. + * vc-mtn.el (log-view-message-re, log-view-file-re) + (log-view-font-lock-keywords): Pacify byte-compiler. -2005-06-20 Miles Bader + * vc-hg.el: Require log-view at compile time. - * faces.el (vertical-divider): New face. +2007-10-20 Eric S. Raymond -2005-06-20 Juanma Barranquero + * log-view.el (log-view-diff): Adapt log-view-diff for new VC API. - * simple.el (kill-whole-line): Doc fix. - (next-error-buffer-p, next-error-find-buffer) - (clone-indirect-buffer): Fix typos in docstrings. - (comment-line-break-function): Doc fix: don't say variable - is automatically buffer-local (it isn't). +2007-10-20 Glenn Morris -2005-06-19 Michael Albinus + * progmodes/f90.el (f90-font-lock-keywords-2) + (f90-looking-at-type-like): Fix regexp typos. - * net/tramp-ftp.el (top): - * net/tramp-smb.el (top): - * net/tramp-util.el (top): - * net/tramp-uu.el (top): - * net/tramp-vc.el (top): - * net/tramp.el (top): Revert copyright years back to original - ones. Tramp has a life outside GNU Emacs. +2007-10-19 Juanma Barranquero -2005-06-19 Nick Roberts + * bs.el (bs--track-window-changes): Don't refresh the whole list. + (bs-mode): Set mode-class property to special. - * tooltip.el (tooltip-use-echo-area): Don't make it obsolete. +2007-10-20 Stefan Monnier -2005-06-18 Juri Linkov + * diff-mode.el (diff-auto-refine): New var. + (diff-hunk): Use it. + (diff-ignore-whitespace-hunk): Rename diff-refine-ignore-spaces-hunk. + (diff-refine-change): Rename from diff-fine-change. Change it. + (diff-refine-preproc): Rename from diff-fine-highlight-preproc. + (diff-refine-hunk): Rename from diff-fine-highlight. - * progmodes/grep.el (grep-regexp-alist): Use backreference at the - end of first regexp to limit the match to the position between - line number and source line with same separator character as used - between file name and line number. In the second regexp limit - mouse-face area to file name and line number by adding new group - for them and referring it in HYPERLINK arg. - (grep-regexp-alist, grep-mode-font-lock-keywords): Use shy group. - (grep-mode): Set font-lock-lines-before to 0 to not refontify the - previous line where grep markers may be already removed. +2007-10-20 John Paul Wallington -2005-06-18 Peter Kleiweg + * help-fns.el (describe-variable-custom-version-info): New function + to return variable's version or package version note. + (describe-variable): Use it, display result. - * progmodes/ps-mode.el: Update version and maintainer's email address. +2007-10-20 Stefan Monnier -2005-06-18 Steve Youngs + * smerge-mode.el (smerge-auto-refine): New var. + (smerge-next, smerge-prev): Use it. + (smerge-batch-resolve): Ad-hoc trick for Arch's .rej files. - * net/browse-url.el (browse-url-browser-function) - (browse-url-default-browser): Add firefox. - (browse-url-firefox-program, browse-url-firefox-arguments) - (browse-url-firefox-startup-arguments) - (browse-url-firefox-new-window-is-tab): New defcustoms. - (browse-url-firefox, browse-url-firefox-sentinel): New functions. + * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): + Add `body' arg. Cleanup the check-narrow-maybe/re-narrow-maybe mess. + + * vc-bzr.el (vc-bzr-diff-tree): + * vc-git.el (vc-git-diff-tree): + * vc-hg.el (vc-hg-diff-tree): + * vc-mcvs.el (vc-mcvs-diff-tree): + * vc-mtn.el (vc-mtn-diff-tree): + * vc-svn.el (vc-svn-diff-tree): Remove. + + * vc-mtn.el (vc-mtn-revision-completion-table): + * vc-cvs.el (vc-cvs-revision-completion-table): + * vc-arch.el (vc-arch-revision-completion-table): + * vc-hg.el (vc-hg-revision-completion-table, vc-hg-revision-table): + * vc-git.el (vc-git-revision-completion-table, vc-git-revision-table): + Make it work when the arg is a list of files. + +2007-10-19 Stefan Monnier + + * vc.el: Remove `diff-tree' operation, now subsumed by `diff'. + Also `revision-completion-table' now takes a list of files. + (vc-deduce-fileset): Remove unused var `regexp'. + Only obey allow-directory-wildcard in dired buffers. + (vc-default-diff-tree): Remove. + (vc-diff-added-files): New var. + (vc-diff-internal): Use it. Remove arg `backend'. Update callers. + (vc-version-diff): Revert from `vc-history-diff' to the original name. + Remove the `backend' arg. + (vc-contains-version-controlled-file): Remove. + (vc-diff): Bring it closer to the version in Emacs-22. + (vc-revert): Fix typo in let-binding. + (vc-default-unregister): Remove. + (vc-dired-buffers-for-dir): Remove N^2 behavior. + +2007-10-19 Dan Nicolaescu + + * textmodes/two-column.el (2C-split, 2C-merge): + * textmodes/bib-mode.el (bib-find-key, mark-bib): + * progmodes/idlw-shell.el (idlwave-shell-move-or-history): + * progmodes/etags.el (find-tag-in-order, etags-tags-apropos) + * progmodes/ada-xref.el (ada-get-all-references): + * obsolete/mlsupport.el (ml-next-line, ml-previous-line): + * emulation/vi.el (vi-previous-line-first-nonwhite) + (vi-effective-range, vi-put-before): + * emulation/edt.el (edt-next-line, edt-previous-line) + (edt-paragraph-forward): Use forward-line. -2005-06-17 Richard M. Stallman + * progmodes/etags.el (tags-apropos): Require apropos at compile + time too. - * startup.el (command-line): Warn if specified user name has - no home directory. + * progmodes/prolog.el: Require comint when compiling. + (inferior-prolog-flavor): Move defvar before use. - * term.el (term-get-old-input, term-input-filter, term-input-sender) - (term-mode-hook, term-exec-hook, term-escape-char): Doc fixes. +2007-10-19 Richard Stallman - * longlines.el (longlines-mode, longlines-show-hard-newlines): - Doc fixes. + * font-core.el (turn-on-font-lock-if-desired): + Rename from `turn-on-font-lock-if-enabled'. + Fully obey `font-lock-global-modes'. - * faces.el (underline): Try bold if terminal doesn't support underline. - - * mail/sendmail.el (mail-setup-with-from): New variable. - (mail-insert-from-field): New function. - (sendmail-send-it): Call it. - (mail-setup): Optionally call it here. - - * term/linux.el: Call tty-no-underline. - -2005-06-17 Luc Teirlinck - - * emacs-lisp/edebug.el (edebug-goto-here): Doc fix. - -2005-06-17 Miles Bader - - * ediff-init.el (ediff-current-diff-A, ediff-current-diff-B) - (ediff-current-diff-C, ediff-current-diff-Ancestor) - (ediff-fine-diff-A, ediff-fine-diff-B, ediff-fine-diff-C) - (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B) - (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A) - (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor): - Remove "-face" suffix from face names. - (ediff-current-diff-face-A, ediff-current-diff-face-B) - (ediff-current-diff-face-C, ediff-current-diff-face-Ancestor) - (ediff-fine-diff-face-A, ediff-fine-diff-face-B) - (ediff-fine-diff-face-C, ediff-fine-diff-face-Ancestor) - (ediff-even-diff-face-A, ediff-even-diff-face-B) - (ediff-even-diff-face-C, ediff-even-diff-face-Ancestor) - (ediff-odd-diff-face-A, ediff-odd-diff-face-B) - (ediff-odd-diff-face-C, ediff-odd-diff-face-Ancestor): - New backward-compatibility aliases for renamed faces. - (ediff-current-diff-face-A, ediff-current-diff-face-B) - (ediff-current-diff-face-C, ediff-current-diff-face-Ancestor) - (ediff-fine-diff-face-A, ediff-fine-diff-face-B) - (ediff-fine-diff-face-C, ediff-fine-diff-face-Ancestor) - (ediff-even-diff-face-A, ediff-even-diff-face-B) - (ediff-even-diff-face-C, ediff-even-diff-face-Ancestor) - (ediff-odd-diff-face-A, ediff-odd-diff-face-B) - (ediff-odd-diff-face-C, ediff-odd-diff-face-Ancestor): - Use renamed ediff faces. - - * eshell/esh-test.el (eshell-test-ok, eshell-test-failed): - Remove "-face" suffix from face names. - (eshell-test-ok-face, eshell-test-failed-face): - New backward-compatibility aliases for renamed faces. - (eshell-run-test): Use renamed eshell-test faces. - - * eshell/em-prompt.el (eshell-prompt): Remove "-face" suffix from - face name. - (eshell-prompt-face): New backward-compatibility alias for renamed - face. - (eshell-emit-prompt): Use renamed eshell-prompt face. - - * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink) - (eshell-ls-executable, eshell-ls-readonly, eshell-ls-unreadable) - (eshell-ls-special, eshell-ls-missing, eshell-ls-archive) - (eshell-ls-backup, eshell-ls-product, eshell-ls-clutter): - Remove "-face" suffix from face names. - (eshell-ls-directory-face, eshell-ls-symlink-face) - (eshell-ls-executable-face, eshell-ls-readonly-face) - (eshell-ls-unreadable-face, eshell-ls-special-face) - (eshell-ls-missing-face, eshell-ls-archive-face) - (eshell-ls-backup-face, eshell-ls-product-face) - (eshell-ls-clutter-face): - New backward-compatibility aliases for renamed faces. - (eshell-ls-decorated-name): Use renamed eshell-ls faces. - - * progmodes/cc-fonts.el (c-nonbreakable-space-face): - Remove "-face" suffix from face name. - (c-cpp-matchers): Use the variable `c-nonbreakable-space-face' - instead of literal face. - -2005-06-17 Juanma Barranquero - - * emacs-lisp/warnings.el (display-warning, lwarn) - (warning-minimum-log-level): Doc fixes. - (warning-minimum-level, warning-minimum-log-level): - Add :debug to :type choices. - - * progmodes/ada-mode.el (ada-format-paramlist) - (ada-get-indent-case, ada-check-matching-start) - (ada-check-defun-name, ada-goto-matching-decl-start) - (ada-goto-matching-start, ada-goto-matching-end, ada-tab) - (ada-untab, ada-move-to-start, ada-fill-comment-paragraph) - (ada-make-subprogram-body): Follow error conventions. - (ada-case-exception-file, ada-indent-comment-as-code) - (ada-indent-handle-comment-special, ada-indent-renames) - (ada-indent-return, ada-search-directories-internal) - (ada-tab-policy, ada-case-exception-substring) - (ada-other-file-alist, ada-matching-start-re) - (ada-matching-decl-start-re, ada-contextual-menu-last-point) - (ada-imenu-generic-expression, ada-compile-goto-error) - (ada-in-comment-p, ada-in-string-p, ada-in-string-or-comment-p) - (ada-popup-menu, ada-add-extensions, ada-mode) - (ada-region-selected, ada-create-case-exception) - (ada-create-case-exception-substring, ada-after-keyword-p) - (ada-activate-keys-for-case, ada-adjust-case-region) - (ada-adjust-case-buffer, ada-format-paramlist) - (ada-scan-paramlist, ada-insert-paramlist) - (ada-indent-newline-indent) - (ada-indent-newline-indent-conditional) - (ada-justified-indent-current, ada-goto-previous-word) - (ada-indent-current, ada-get-indent-open-paren) - (ada-get-indent-paramlist, ada-get-indent-end) - (ada-get-indent-case, ada-get-indent-when, ada-get-indent-if) - (ada-get-indent-block-start, ada-get-indent-subprog) - (ada-get-indent-noindent, ada-get-indent-label) - (ada-get-indent-loop, ada-get-indent-type, ada-goto-stmt-start) - (ada-search-prev-end-stmt, ada-goto-next-non-ws) - (ada-goto-stmt-end, ada-goto-next-word) - (ada-check-matching-start, ada-check-defun-name) - (ada-goto-matching-decl-start, ada-goto-matching-start) - (ada-goto-matching-end, ada-search-ignore-string-comment) - (ada-in-decl-p, ada-looking-at-semi-or) - (ada-looking-at-semi-private, ada-in-paramlist-p) - (ada-in-open-paren-p, ada-tab, ada-indent-current-function) - (ada-untab-hard, ada-move-to-start, ada-move-to-end) - (ada-next-procedure, ada-previous-procedure, ada-next-package) - (ada-previous-package, ada-create-menu) - (ada-fill-comment-paragraph-justify) - (ada-fill-comment-paragraph-postfix, ada-fill-comment-paragraph) - (ada-other-file-name, ada-last-which-function-line) - (ada-last-which-function-subprog, ada-which-function) - (ada-get-body-name, ada-outline-level, ada-narrow-to-defun) - (ada-gen-treat-proc, ada-check-emacs-version) - (ada-continuation-indent, ada-align-region-separate): - Fix typos in docstrings. - (ada-adjust-case, ada-adjust-case-interactive): Doc fixes. - -2005-06-16 Lute Kamstra - - * simple.el (fundamental-mode): Run after-change-major-mode-hook - conditionally. +2007-10-19 Stefan Monnier -2005-06-16 Juanma Barranquero - - * comint.el (comint-replace-by-expanded-filename) - (comint-prompt-regexp, comint-delimiter-argument-list) - (comint-preinput-scroll-to-bottom): - * info.el (Info-hide-cookies-node): - * ls-lisp.el (ls-lisp-classify): - * find-file.el (ff-search-directories, ff-special-constructs) - (ff-find-other-file): - * font-lock.el (font-lock-keywords): - * shell.el (shell-prompt-pattern) - (shell-dynamic-complete-functions, shell-mode) - (shell-delimiter-argument-list): - * term.el (term-replace-by-expanded-filename) - (term-prompt-regexp, term-delimiter-argument-list): - * woman.el (woman-ignore, woman0-if): - * emacs-lisp/derived.el (derived-mode-init-mode-variables): - * emacs-lisp/elint.el (elint-init-env): - * emacs-lisp/regexp-opt.el (regexp-opt-depth): - * eshell/esh-mode.el (eshell-preinput-scroll-to-bottom): - * language/ethio-util.el (ethio-tilde-escape) - (ethio-use-three-dot-question): - * net/zone-mode.el (zone-mode-load-time-setup): - * progmodes/cc-align.el (c-lineup-argcont): - * progmodes/cc-awk.el (c-awk-beginning-of-defun): - * progmodes/cperl-mode.el (cperl-set-style-back): - * progmodes/inf-lisp.el (inferior-lisp-prompt): - * progmodes/vhdl-mode.el (vhdl-beginning-of-libunit): - Fix spellings in docstrings. - - * textmodes/sgml-mode.el (sgml-calculate-indent, html-tag-help): - * progmodes/modula2.el (m2-for): Fix spellings. - - * menu-bar.el (menu-bar-games-menu): Fix typo in menu help string. - - * simple.el (undo-more): Don't use `format' on `error' arguments. - Improve argument/docstring consistency. - (pending-undo-list): Doc fix. - - * smerge-mode.el (smerge-ensure-match): - * emulation/vip.el (vip-ex): - * net/zone-mode.el (zone-mode-update-serial): - * progmodes/idlwave.el (idlwave-complete): - * progmodes/vhdl-mode.el (vhdl-visit-file) - (vhdl-compose-wire-components): - Don't use `format' on `error' arguments. - - * tooltip.el (tooltip-start-delayed-tip, tooltip-timeout) - (tooltip-use-echo-area, tooltip-process-prompt-regexp) - (tooltip-help-tips): Fix typos in docstrings. - -2005-06-16 David Ponce - - * tree-widget.el (tree-widget-value-create): Simplify last change. - -2005-06-15 Matt Hodges - - * ido.el (ido-incomplete-regexp): New variable. - (ido-set-matches-1): Handle invalid-regexp error and set - ido-incomplete-regexp. - (ido-incomplete-regexp): New face. - (ido-completions): Use it. - (ido-complete, ido-exit-minibuffer, ido-completions): - Handle incomplete regexps. - (ido-completions): Add check for complete match when entering a regexp. - -2005-06-15 Stefan Monnier - - * subr.el (add-to-ordered-list): Use a weak hash-table to avoid leaks. - -2005-06-15 Roland Winkler - - * textmodes/bibtex.el (bibtex-Preamble): Enclose BibTeX preamble - by field delimiters. - -2005-06-15 David Ponce - - * tree-widget.el: eval-and-compile inlined functions so they will - be available at run-time too. - (tree-widget-super-format-handler) - (tree-widget-format-handler): Remove. - (tree-widget-value-create): Handle the :indent property. - -2005-06-15 Miles Bader - - * progmodes/which-func.el (which-func): Only inherit - `font-lock-function-name-face' when that makes sense against the - default mode-line face, otherwise set the face color explicitly. - - * progmodes/cperl-mode.el (cperl-init-faces): Use literal cperl - faces instead of (non-existent) variables. - -2005-06-14 Stefan Monnier - - * iswitchb.el (iswitchb-to-end): Replace mapcar with dolist. - (iswitchb-get-matched-buffers): Likewise. Simplify. - -2005-06-14 Miles Bader - - * progmodes/ld-script.el (ld-script-location-counter): - Remove "-face" suffix from face name. - (ld-script-location-counter-face): - New backward-compatibility alias for renamed face. - (ld-script-location-counter-face): Use renamed face. - - * progmodes/cperl-mode.el (cperl-nonoverridable, cperl-array) - (cperl-hash): Remove "-face" suffix from face names. - (cperl-nonoverridable-face, cperl-array-face, cperl-hash-face): - New backward-compatibility aliases for renamed faces. - (cperl-find-pods-heres, cperl-init-faces, cperl-ps-print-init) - (cperl-ps-print-face-properties): Use renamed cperl-mode faces. - - * progmodes/which-func.el (which-func): Remove "-face" suffix from face - name. - (which-func-face): New backward-compatibility alias for renamed face. - (which-func-format): Use renamed which-func face. - - * progmodes/vhdl-mode.el (vhdl-prompt, vhdl-attribute, vhdl-enumvalue) - (vhdl-function, vhdl-directive, vhdl-reserved-word) - (vhdl-translate-off): Remove "-face" suffix and "font-lock-" from face - names. - (vhdl-speedbar-entity, vhdl-speedbar-architecture) - (vhdl-speedbar-configuration, vhdl-speedbar-package) - (vhdl-speedbar-library, vhdl-speedbar-instantiation) - (vhdl-speedbar-subprogram, vhdl-speedbar-entity-selected) - (vhdl-speedbar-architecture-selected) - (vhdl-speedbar-configuration-selected) - (vhdl-speedbar-package-selected) - (vhdl-speedbar-instantiation-selected): Remove "-face" suffix from face - names. - (vhdl-font-lock-keywords-2, vhdl-font-lock-keywords-5): - Use renamed faces. - (vhdl-prompt-face, vhdl-attribute-face, vhdl-enumvalue-face) - (vhdl-function-face, vhdl-directive-face, vhdl-reserved-words-face) - (vhdl-translate-off-face): Variables renamed to remove "font-lock-". - Use renamed faces. - (syntax-alist): Don't use "font-lock-" or "-face" in generated face - names. - (vhdl-font-lock-init, vhdl-ps-print-settings): Use renamed faces. - (vhdl-speedbar-insert-hierarchy, vhdl-speedbar-expand-entity) - (vhdl-speedbar-expand-package, vhdl-speedbar-update-current-unit) - (vhdl-speedbar-make-inst-line, vhdl-speedbar-make-pack-line) - (vhdl-speedbar-make-subpack-line, vhdl-speedbar-make-subprogram-line) - (vhdl-speedbar-item-info, vhdl-speedbar-check-unit): Use renamed faces. - - * progmodes/sh-script.el (sh-heredoc): Remove "-face" suffix from - face name. - (sh-heredoc-face): New backward-compatibility alias for renamed face. - (sh-heredoc-face): Use renamed sh-heredoc face. - - * progmodes/idlw-help.el (idlwave-help-link): - Remove "-face" suffix from face name. - (idlwave-help-link-face): - New backward-compatibility alias for renamed face. - (idlwave-highlight-linked-completions): Use renamed idlwave-help faces. - - * progmodes/idlw-shell.el (idlwave-shell-bp-face) - (idlwave-shell-disabled-bp): Remove "-face" suffix from face names. - (idlwave-shell-bp-face, idlwave-shell-disabled-bp): - New backward-compatibility aliases for renamed faces. - (idlwave-shell-disabled-breakpoint-face) - (idlwave-shell-breakpoint-face): Use renamed idlwave-shell faces. - - * progmodes/flymake.el (flymake-errline, flymake-warnline): - Remove "-face" suffix from face names. - (flymake-errline-face, flymake-warnline-face): - New backward-compatibility aliases for renamed faces. - (flymake-highlight-line): Use renamed flymake faces. - - * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class) - (ebrowse-file-name, ebrowse-default, ebrowse-member-attribute) - (ebrowse-member-class, ebrowse-progress): - Remove "-face" suffix from face names. - (ebrowse-tree-mark-face, ebrowse-root-class-face) - (ebrowse-file-name-face, ebrowse-default-face) - (ebrowse-member-attribute-face, ebrowse-member-class-face) - (ebrowse-progress-face): - New backward-compatibility aliases for renamed faces. - (ebrowse-show-progress, ebrowse-show-file-name-at-point) - (ebrowse-set-mark-props, ebrowse-draw-tree-fn) - (ebrowse-draw-member-buffer-class-line, ebrowse-draw-member-long-fn) - (ebrowse-draw-member-short-fn): Use renamed ebrowse faces. - - * progmodes/antlr-mode.el (antlr-default, antlr-keyword, - antlr-syntax) - (antlr-ruledef, antlr-tokendef, antlr-ruleref, antlr-tokenref) - (antlr-literal): Remove "-face" suffix and "font-lock-" from face - names. - (antlr-font-lock-default-face, antlr-font-lock-keyword-face) - (antlr-font-lock-syntax-face, antlr-font-lock-ruledef-face) - (antlr-font-lock-tokendef-face, antlr-font-lock-ruleref-face) - (antlr-font-lock-tokenref-face, antlr-font-lock-literal-face): New - backward-compatibility aliases for renamed faces. - (antlr-default-face, antlr-keyword-face, antlr-syntax-face) - (antlr-ruledef-face, antlr-tokendef-face, antlr-ruleref-face) - (antlr-tokenref-face, antlr-literal-face): Variables renamed to - remove "font-lock-". Use renamed antlr-mode faces. - (antlr-font-lock-additional-keywords): Use renamed faces. Replace - literal face-names with face variable references. - - * buff-menu.el (Buffer-menu-buffer): Remove "-face" suffix from - face name. - (Buffer-menu-buffer-face): New backward-compatibility alias for - renamed face. - (list-buffers-noselect): Use renamed Buffer-menu-buffer face. - -2005-06-15 Daniel Pfeiffer - - * progmodes/make-mode.el (makefile-space, makefile-makepp-perl): - Eliminate "-face" suffix. - (makefile-targets): Inherit from font-lock-function-name-face and - eliminate "-face" suffix. - (makefile-shell): Remove attributes and eliminate "-face" suffix. - (makefile-*-font-lock-keywords): Append makefile-targets in rule - actions, instead of prepending, to make it less visible. - (makefile-previous-dependency, makefile-match-dependency): - Don't match a target on a continuation line. - - * files.el (auto-mode-alist): Put Makefile in gmake mode. - -2005-06-15 Nick Roberts - - * progmodes/gdb-ui.el (menu): Re-order menu items. - (gdb-tooltip-print): Respect tooltip-use-echo-area. - - * progmodes/gud.el (tooltip-use-echo-area): Remove alias. - Define in tooltip.el. - (gud-tooltip-process-output): Respect tooltip-use-echo-area. - (gud-tooltip-tips): Respect tooltip-use-echo-area and - gud-tooltip-echo-area. - - * tooltip.el (tooltip-use-echo-area): Restore from gud.el for - backward compatibility and make obsolete. - (tooltip-help-tips): Use tooltip-use-echo-area. - (tooltip-show-help-function): Rename to... - (tooltip-show-help): ...this, because it is a function. - (tooltip-mode, tooltip-help-message): Call tooltip-show-help. - -2005-06-14 Luc Teirlinck - - * emacs-lisp/edebug.el (edebug-all-defs, edebug-initial-mode) - (edebug-print-length, edebug-print-level, edebug-print-circle) - (edebug-modify-breakpoint, edebug-eval-last-sexp) - (edebug-eval-print-last-sexp): Doc fixes. - -2005-06-14 Kim F. Storm - - * ido.el (ido-mode): Make a new keymap every time we enable ido, - as the coverage buffer/file/both may change. - -2005-06-14 Lute Kamstra - - * net/ange-ftp.el (internal-ange-ftp-mode): Use delay-mode-hooks - and run-mode-hooks. Simplify. - - * mail/rmailedit.el (rmail-edit-mode): - * progmodes/octave-inf.el (inferior-octave-mode): - * progmodes/sql.el (sql-interactive-mode): Use delay-mode-hooks. - - * recentf.el (recentf-dialog-mode): Use kill-all-local-variables - and run-mode-hooks. - (recentf-edit-list, recentf-open-files): Don't call - kill-all-local-variables directly. - - * emacs-lisp/debug.el (debug-on-entry): Fix docstring. - -2005-06-14 Juanma Barranquero - - * emacs-lisp/byte-run.el (make-obsolete) - (define-obsolete-function-alias): Rename arguments FUNCTION and - NEW to OBSOLETE-NAME and CURRENT-NAME respectively. - (make-obsolete-variable, define-obsolete-variable-alias): - Rename arguments VARIABLE and NEW to OBSOLETE-NAME and CURRENT-NAME - respectively. - - * isearchb.el (isearchb-activate): - * pcvs.el (cvs-mode): - * ses.el (ses-load): - * vc-arch.el (vc-arch-checkin, vc-arch-diff): - * net/tramp.el (tramp-find-file-exists-command) - (tramp-find-shell): - * progmodes/ada-mode.el (ada-create-case-exception) - (ada-create-case-exception-substring, ada-make-subprogram-body): - * progmodes/idlw-shell.el (idlwave-shell-move-to-bp): - * progmodes/idlwave.el (idlwave-complete-class-structure-tag-help): - * progmodes/vhdl-mode.el (vhdl-speedbar-place-component): - * textmodes/org.el (org-promote, org-evaluate-time-range) - (org-agenda-next-date-line, org-agenda-previous-date-line) - (org-agenda-error, org-open-at-point, org-table-move-row) - (org-format-table-table-html-using-table-generate-source) - (org-shiftcursor-error, org-ctrl-c-ctrl-c): - * textmodes/reftex.el (reftex-access-scan-info): - * textmodes/reftex-toc.el (reftex-toc-dframe-p) - (reftex-toc-promote-prepare): Follow error conventions. - - * diff-mode.el (diff-mode): Fix typo in docstring. - - * forms.el (forms--intuit-from-file): Fix reference to - `forms-number-of-fields' in error message. - (forms-print): Fix quoting in error message. - - * forms.el (forms-mode): - * emulation/vi.el (vi-goto-insert-state): - * progmodes/flymake.el (flymake-new-err-info) - (flymake-start-syntax-check-for-current-buffer) - (flymake-simple-cleanup): - * eshell/esh-var.el (eshell/export): - * progmodes/gud.el (xdb): - * textmodes/flyspell.el (flyspell-incorrect-hook) - (flyspell-maybe-correct-transposition) - (flyspell-maybe-correct-doubling): Fix quoting in docstring. - -2005-06-13 Luc Teirlinck - - * emacs-lisp/debug.el (cancel-debug-on-entry): Mention default in - minibuffer prompt. - -2005-06-13 Kim F. Storm - - * subr.el (add-to-ordered-list): New defun. - - * emulation/cua-base.el (cua-mode): Use add-to-ordered-list to - add cua--keymap-alist to emulation-mode-map-alists. - -2005-06-13 Stefan Monnier - - * subr.el (complete-in-turn): New macro. - (dynamic-completion-table, lazy-completion-table): Add debug info. - - * faces.el (read-face-name): Use complete-in-turn complete non-aliases - in preference to face aliases. - - * textmodes/fill.el (fill-match-adaptive-prefix): New function. - (fill-context-prefix): Use it to avoid guessing absurdly long prefixes. - Remove unused vars `start' and `firstline'. - (fill-nobreak-p): Fix line-move-invisible -> line-move-invisible-p. - (justify-current-line, fill-individual-paragraphs): Remove unused vars. - -2005-06-13 Eli Zaretskii - - * cus-start.el (all): Don't complain about missing GTK-related - variables, unless either `gtk' is boundp or this isn't a - `windows-nt' build. - -2005-06-13 Lute Kamstra - - * abbrev.el (edit-abbrevs-mode): Use kill-all-local-variables and - run-mode-hooks. - - * ediff-mult.el (ediff-meta-mode): - * ediff-util.el (ediff-mode): Use run-mode-hooks. - - * ledit.el (ledit-mode): Use delay-mode-hooks. - - * woman.el (woman-mode-line-format): Delete constant. - (woman-mode-map): Initialize it properly. - (woman-mode): Set mode-class property to special. - Use delay-mode-hooks and run-mode-hooks. Use the right keymap. - Set major-mode and mode-name. Don't set mode-line-format directly. - (Man-getpage-in-background): Don't reference woman-mode-line-format. - - * emacs-lisp/debug.el (cancel-debug-on-entry): Make the empty - string argument obsolete. - -2005-06-13 Carsten Dominik - - * textmodes/org.el (org-CUA-compatible): New option. - (org-disputed-keys): New variable. - (org-key): New function. - (orgtbl-make-binding): Add docstring to the created function. - (org-mode): Set paragraph start/separate regexps. - (orgtbl-mode): Don't start `orgtbl-mode' in `org-mode' buffers. - (org-archive-location, org-archive-mark-done) - (org-archive-stamp-time): New options. - (org-archive-subtree): New command. - (org-fill-paragraph): New function. - (org-mode): Set `fill-paragraph-function' to `org-fill-paragraph'. - (org-fake-empty-table-line): Function removed. - (org-format-org-table-html): Do not create empty table lines at - separator lines. Improved table header treatment. - (org-link-format): New option. - (org-make-link): New function. - (org-insert-link, org-store-link): Use org-make-link. - (org-open-file): Quote file name for shell command, to allow - spaces in file names. - (org-link-regexp): Fix bug with mailto link. - (org-link-maybe-angles-regexp, org-protected-link-regexp): - New constants. - (org-export-as-html): Deal with the optional angles around a link. - Better treatment of file: links. - (org-open-at-point): Replace @{ and @} with < and >. - (org-run-mode-hooks): Function removed. - (org-agenda-mode): No longer use `org-run-mode-hooks'. + * diff-mode.el (diff-fine-highlight-preproc): Stick to minimal changes + which will not affect the behavior of things like forward-word. + (diff-fine-highlight): Preserve point. -2005-06-13 Nick Roberts + * doc-view.el (doc-view-mode-map): Use remapping. + Don't rebind C-v, M-v to their default value. + Don't bind mouse-4 and mouse-5: it's mwheel.el's job. - * progmodes/gdb-ui.el (gdb-registers-mode): Let gdbmi use - MI command -data-list-register-values. - (gdb-post-prompt): Indent properly. + * smerge-mode.el: Add word-granularity refinement. + (smerge-refine-forward-function, smerge-refine-ignore-whitespace) + (smerge-refine-weight-hack): New vars. + (smerge-refine-forward): New fun. + (smerge-refine-chopup-region, smerge-refine-highlight-change): Use them. + (smerge-refine-subst): Use them as well. Preserve point. -2005-06-13 Juanma Barranquero +2007-10-19 Juanma Barranquero - * hilit-chg.el (highlight-changes-colors): Rename from - `highlight-changes-colours'. - (highlight-changes-colours): Keep as obsolete alias. - (highlight-changes-face-list): Doc fix. - (hilit-chg-make-list): Use `highlight-changes-colors'. + * follow.el (follow-unload-function): New function. -2005-06-12 Mark A. Hershberger + * loadhist.el (unload-function-features-list): + Rename from `unload-hook-features-list'. + (unload-hook-features-list): Add as obsolete alias. + (unload-feature): Use `unload-function-features-list' + and new FEATURE-unload-function. - * progmodes/cperl-mode.el (cperl-mode): Remove stray paren in - defun-prompt-regexp. +2007-10-19 Glenn Morris -2005-06-12 Eli Zaretskii + * bindings.el (mouse-minor-mode-menu) + (minor-mode-menu-from-indicator): Move to mouse.el. + * mouse.el (mouse-minor-mode-menu, minor-mode-menu-from-indicator): + Move here from bindings.el. - * loadup.el: Don't say we are dumping under 2 names on windows-nt - and cygwin. +2007-10-19 Richard Stallman - * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH): - Don't use an old loaddefs.el, as in Makefile.in. + * help-fns.el (describe-function-1): Don't use the advice origname + if it has no function definition. -2005-06-12 Lute Kamstra +2007-10-18 Johan Bockg,Ae(Brd - * Makefile.in (bootstrap-prepare): Don't use an old loaddefs.el. + * net/tramp.el (tramp-rfn-eshadow-update-overlay): Save excursion. + Use `save-restriction' rather than `widen'. - * man.el (Man-mode-map): Initialize it properly. - (Man-mode): Set mode-class property to special. +2007-10-18 Richard Stallman - * calendar/calendar.el (calendar-mode): Use run-mode-hooks. + * time.el (display-time-world-time-format): Display day # not month #. -2005-06-11 Luc Teirlinck +2007-10-18 Reiner Steib - * menu-bar.el (menu-bar-make-toggle): Remove stray backslash. - A newline is needed in the docstring there. + * files.el (auto-mode-alist): Don't use doc-view for PS and EPS. - * emacs-lisp/debug.el (debug-on-entry, cancel-debug-on-entry): - Doc fixes. + * doc-view.el: Remove version keyword. + (doc-view-ghostscript-program, doc-view-dvipdfm-program) + (doc-view-ps2pdf-program): Use executable-find. Simplify custom type. + (doc-view-ghostscript-options): Improve custom type. + (doc-view-cache-directory, doc-view-conversion-buffer) + (doc-view-conversion-refresh-interval): Simplify custom type. -2005-06-11 Vinicius Jose Latorre - - * printing.el: Doc fix. The menubar is no more changed when printing - is loaded, it only changes when pr-menu-bind or pr-update-menus is - called. Now, the menubar changing will work in Emacs 20, 21 and 22. - (pr-version): New version number (6.8.4). - (pr-menu-bind): New command. - (pr-update-menus): Docstring and code fix. - (pr-menu-print-item): Now is a global var in Emacs and XEmacs. - Docstring fix. - (pr-txt-printer-alist, pr-ps-printer-alist, pr-gv-command) - (pr-gs-command, pr-gs-switches, pr-ps-utility-alist): Docstring fix. - -2005-06-11 Thien-Thi Nguyen - - * emacs-lisp/ewoc.el: Doc fixes for public funcs: - "Returns" to "return", document useful return values, etc. - -2005-06-11 Alan Mackenzie - - * textmodes/fill.el (fill-context-prefix): Try `adaptive-fill-function' - BEFORE `adaptive-fill-regexp' when determining a fill prefix. - (adaptive-file-function): Minor amendment to doc-string. - -2005-06-11 Frederik Fouvry - - * thumbs.el (thumbs-per-line, thumbs-thumbsdir-max-size) - (thumbs-relief, thumbs-margin, thumbs-image-resizing-step): - Fix :type--it is `integer', not `string'. - - * faces.el (modeline-highlight): Rename from (the erroneous) - `modeline-higilight'. - -2005-06-11 Lute Kamstra - - * emacs-lisp/edebug.el (edebug-eval-mode-map): Don't copy - lisp-interaction-mode-map but make it the parent. - (edebug-eval-mode): Use define-derived-mode. - -2005-06-11 Andreas Schwab - - * bindings.el: Add binding of `ESC functionkey' for every - `M-functionkey'. - * hexl.el (hexl-mode-map): Likewise. - -2005-06-10 Michael Hotchin (tiny change) - - * progmodes/compile.el (compilation-error-regexp-alist-alist) - [msft]: update regexp for newer msft compilers. - -2005-06-10 Mark A. Hershberger - - * xml.el (start-chars, xml-parse-dtd): Add the ability to skip - ATTLIST portions of included DTDs. - (xml-parse-dtd): Eliminate use of inefficient match-data. - -2005-06-10 Miles Bader - - * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial) - (mpuz-text): Remove "-face" suffix from face names. - (mpuz-unsolved-face, mpuz-solved-face, mpuz-trivial-face) - (mpuz-text-face): New backward-compatibility aliases for renamed faces. - (mpuz-create-buffer, mpuz-paint-digit): Use renamed mpuz faces. - - * play/gomoku.el (gomoku-O, gomoku-X): - Remove "-face" suffix from face names. - (gomoku-font-lock-O-face, gomoku-font-lock-X-face): - New backward-compatibility aliases for renamed faces. - (gomoku-font-lock-keywords): Use renamed gomoku faces. - -2005-06-10 Juanma Barranquero - - * thumbs.el: Fixes for changes of 2005-06-09. - (thumbs-thumbsdir): Force `thumbs-thumbsdir' to be interpretable - as a directory. - (thumbs-thumbname): Remove directory separator from format string; - `thumbs-thumbsdir' now returns a valid directory name. - (thumbs-temp-dir): New defsubst. - (thumbs-temp-file, thumbs-resize-image, thumbs-modify-image): - Use it. - - * cus-edit.el (minibuffer): - * files.el (make-backup-file-name-function): - * filesets.el (filesets-external-viewers): - * hilit-chg.el (highlight-changes-colours) - (highlight-changes-face-list, highlight-changes-rotate-faces): - * ielm.el (ielm-dynamic-return, inferior-emacs-lisp-mode): - * kmacro.el (kmacro-call-macro): - * log-edit.el (log-edit-changelog-full-paragraphs): - * mouse.el (mouse-1-click-follows-link): - * skeleton.el (skeleton-autowrap): - * subr.el (insert-for-yank-1): - * tempo.el (tempo-insert-region): - * terminal.el (terminal-emulator): - * time.el (display-time-mail-face): - * vc.el (vc-annotate): - * vcursor.el (vcursor-copy-line): - * woman.el (woman-bold-headings, woman-ignore) - (woman-default-faces, woman-monochrome-faces): - * calendar/todo-mode.el (todo-insert-threshold): - * emulation/pc-select.el (pc-select-selection-keys-only) - (pc-selection-mode): - * emulation/vip.el (vip-find-char-forward): - * emulation/viper-cmd.el (viper-find-char-forward): - * international/mule-cmds.el - (select-safe-coding-system-accept-default-p) - (input-method-exit-on-invalid-key): - * international/mule-diag.el (describe-coding-system): - * international/ucs-tables.el (unify-8859-on-encoding-mode): - * net/browse-url.el (browse-url-xterm-program): - * obsolete/lazy-lock.el (lazy-lock-mode): - * progmodes/cperl-mode.el (cperl-info-on-command-no-prompt) - (cperl-mode): - * progmodes/cpp.el (cpp-face-light-name-list) - (cpp-face-dark-name-list): - * progmodes/delphi.el (delphi-newline-always-indents): - Fix spellings in docstrings. - - * ido.el (ido-mode, ido-file-extensions-order) - (ido-default-file-method, ido-default-buffer-method) - (ido-max-prospects, ido-slow-ftp-hosts, ido-setup-hook) - (ido-decorations, ido-read-file-name-as-directory-commands) - (ido-read-file-name-non-ido, ido-work-directory-list) - (ido-ignore-item-temp-list, ido-current-directory) - (ido-magic-forward-char, ido-enter-find-file) - (ido-enter-switch-buffer, ido-visit-buffer, ido-switch-buffer) - (ido-find-file, ido-read-buffer): Fix typos in docstrings. - -2005-06-10 Lute Kamstra - - * play/dunnet.el (dun-mode): Use define-derived-mode. - (dungeon-mode-map): Rename to dun-mode-map. Keep old name as an - obsolete alias. - - * play/doctor.el (doctor-mode-map): Remove defvar. - (doctor-mode): Use define-derived-mode. - - * mail/mspools.el (mspools-mode): - * net/eudc-hotlist.el (eudc-hotlist-mode): - * play/blackbox.el (blackbox-mode): Use run-mode-hooks. - -2005-06-10 Miles Bader - - * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate): - Remove "-face" suffix from face names. - (flyspell-incorrect-face, flyspell-duplicate-face): - New backward-compatibility aliases for renamed faces. - (flyspell-mode-on, make-flyspell-overlay) - (flyspell-highlight-incorrect-region) - (flyspell-highlight-duplicate-region) - (flyspell-display-next-corrections) - (flyspell-auto-correct-previous-word): Use renamed flyspell faces. - - * textmodes/texinfo.el (texinfo-heading): Remove "-face" suffix - from face name. - (texinfo-heading-face): New backward-compatibility alias for - renamed face. - (texinfo-heading-face): Use renamed texinfo-heading face. - - * textmodes/tex-mode.el (tex-math, tex-verbatim): Remove "-face" - suffix from face names. - (tex-math-face, tex-verbatim-face): - New backward-compatibility aliases for renamed faces. - (tex-math-face, tex-verbatim-face): Use renamed tex-mode faces. - (tex-insert-quote): Use `tex-verbatim-face' variable instead of - literal face name. - - * textmodes/table.el (table-cell): Remove "-face" suffix from face - name. - (table-cell-face): New backward-compatibility alias for renamed face. - (table--put-cell-face-property, table--update-cell-face): - Use renamed table-cell face. - - * textmodes/sgml-mode.el (sgml-namespace): Remove "-face" suffix - from face name. - (sgml-namespace-face): New backward-compatibility alias for - renamed face. - (sgml-namespace-face): Use renamed sgml-namespace face. - - * textmodes/org.el (org-level-1, org-level-2, org-level-3) - (org-level-4, org-level-5, org-level-6, org-level-7) - (org-level-8, org-warning, org-headline-done) - (org-deadline-announce, org-scheduled-today) - (org-scheduled-previously, org-link, org-done, org-table) - (org-time-grid): Remove "-face" suffix from face names. - (org-level-1-face, org-level-2-face, org-level-3-face) - (org-level-4-face, org-level-5-face, org-level-6-face) - (org-level-7-face, org-level-8-face, org-warning-face) - (org-headline-done-face, org-deadline-announce-face) - (org-scheduled-today-face, org-scheduled-previously-face) - (org-link-face, org-done-face, org-table-face) - (org-time-grid-face): - New backward-compatibility aliases for renamed faces. - (org-level-faces, org-set-font-lock-defaults, org-timeline) - (org-agenda, org-agenda-get-todos, org-agenda-get-deadlines) - (org-agenda-get-timestamps, org-agenda-get-scheduled) - (org-agenda-add-time-grid-maybe, org-table-p): Use renamed org faces. - - * emulation/viper-init.el (viper-search, viper-replace-overlay) - (viper-minibuffer-emacs, viper-minibuffer-insert) - (viper-minibuffer-vi): Remove "-face" suffix from face names. - (viper-search-face, viper-replace-overlay-face) - (viper-minibuffer-emacs-face, viper-minibuffer-insert-face) - (viper-minibuffer-vi-face): - New backward-compatibility aliases for renamed faces. - (viper-search-face, viper-replace-overlay-face) - (viper-minibuffer-emacs-face, viper-minibuffer-insert-face) - (viper-minibuffer-vi-face): Use renamed viper faces. - - * emacs-lisp/testcover.el (testcover-nohits, testcover-1value): - Remove "-face" suffix from face names. - (testcover-nohits-face, testcover-1value-face): - New backward-compatibility aliases for renamed faces. - (testcover-mark): Use renamed testcover faces. - - * calendar/diary-lib.el (diary-button): Remove "-face" suffix from - face name. - (diary-button-face): New backward-compatibility alias for renamed face. - (diary-entry): Use renamed diary-button face. - - * calendar/calendar.el (diary, calendar-today, holiday) - (mark-visible-calendar-date): Remove "-face" suffix from face names. - (diary-face, calendar-today-face, holiday-face): - New backward-compatibility aliases for renamed faces. - (eval-after-load "facemenu", diary-entry-marker) - (calendar-today-marker, calendar-holiday-marker, diary-face): - Use renamed calendar faces. - - * compare-w.el (compare-windows): Remove "-face" suffix from face name. - (compare-windows-face): New backward-compatibility alias for - renamed face. - (compare-windows-highlight): Use renamed compare-windows face. - - * strokes.el (strokes-char): Remove "-face" suffix from face name. - (strokes-char-face): New backward-compatibility alias for renamed face. - (strokes-encode-buffer): Use renamed strokes-char face. - - * pcvs-info.el (cvs-header, cvs-filename, cvs-unknown) - (cvs-handled, cvs-need-action, cvs-marked, cvs-msg): - Remove "-face" suffix from face names. - (cvs-header-face, cvs-filename-face, cvs-unknown-face) - (cvs-handled-face, cvs-need-action-face, cvs-marked-face) - (cvs-msg-face): New backward-compatibility aliases for renamed faces. - (cvs-fi-up-to-date-face, cvs-fi-unknown-face, cvs-fileinfo-pp): - Use renamed pcvs faces. - * pcvs.el (cvs-mode-find-file): Use renamed pcvs faces. - * pcvs-defs.el (cvs-mode-map): Likewise. - * cvs-status.el (cvs-status-font-lock-keywords): Likewise. - - * info.el (info-title-1, info-title-2, info-title-3) - (info-title-4): Remove "-face" suffix from and downcase face names. - (Info-title-1-face, Info-title-2-face, Info-title-3-face) - (Info-title-4-face): - New backward-compatibility aliases for renamed faces. - (Info-fontify-node): Use renamed info faces. - - * hilit-chg.el (highlight-changes, highlight-changes-delete): - Remove "-face" suffix from face names. - (highlight-changes-face, highlight-changes-delete-face): - New backward-compatibility aliases for renamed faces. - (hilit-chg-cust-fix-changes-face-list, hilit-chg-make-ov) - (hilit-chg-make-list): Use renamed highlight-changes faces. - - * generic-x.el (show-tabs-tab, show-tabs-space): - Remove "-face" suffix from face names. - (show-tabs-tab-face, show-tabs-space-face): - New backward-compatibility aliases for renamed faces. - (show-tabs-generic-mode-font-lock-defaults-1) - (show-tabs-generic-mode-font-lock-defaults-2): - Use renamed show-tabs faces. - - * smerge-mode.el (smerge-mine, smerge-other, smerge-base) - (smerge-markers): Remove "-face" suffix from face names. - (smerge-mine-face, smerge-other-face, smerge-base-face) - (smerge-markers-face): - New backward-compatibility aliases for renamed faces. - (smerge-mine-face, smerge-other-face, smerge-base-face) - (smerge-markers-face): Use renamed smerge faces. - - * log-view.el (log-view-file, log-view-message): Remove "-face" - suffix from face names. - (log-view-file-face, log-view-message-face): - New backward-compatibility aliases for renamed faces. - (log-view-file-face, log-view-message-face): Use renamed log-view - faces. - - * paren.el (show-paren-match, show-paren-mismatch): - Remove "-face" suffix from face names. - (show-paren-match-face, show-paren-mismatch-face): - New backward-compatibility aliases for renamed faces. - (show-paren-function): Use renamed show-paren faces. - - * ruler-mode.el (ruler-mode-default, ruler-mode-pad) - (ruler-mode-margins, ruler-mode-fringes) - (ruler-mode-column-number, ruler-mode-fill-column) - (ruler-mode-comment-column, ruler-mode-goal-column) - (ruler-mode-tab-stop, ruler-mode-current-column): Remove "-face" - suffix from face names. - (ruler-mode-default-face, ruler-mode-pad-face) - (ruler-mode-margins-face, ruler-mode-fringes-face) - (ruler-mode-column-number-face, ruler-mode-fill-column-face) - (ruler-mode-comment-column-face, ruler-mode-goal-column-face) - (ruler-mode-tab-stop-face, ruler-mode-current-column-face): - New backward-compatibility aliases for renamed faces. - (ruler-mode-pad, ruler-mode-margins, ruler-mode-fringes) - (ruler-mode-column-number, ruler-mode-fill-column) - (ruler-mode-comment-column, ruler-mode-goal-column) - (ruler-mode-tab-stop, ruler-mode-current-column) - (ruler-mode-mouse-grab-any-column, ruler-mode-ruler): Use renamed - faces. - - * whitespace.el (whitespace-highlight): Remove "-face" suffix from - face name. - (whitespace-highlight-the-space): Use renamed face. - (whitespace-highlight-face): New backward-compatibility alias for - renamed face. - - * woman.el (woman-italic, woman-bold, woman-unknown) - (woman-addition, woman-symbol-face): - Remove "-face" suffix from face names. - (woman-italic-face, woman-bold-face, woman-unknown-face) - (woman-addition-face): - New backward-compatibility aliases for renamed faces. - (woman-default-faces, woman-monochrome-faces, woman-man-buffer) - (woman-decode-region, woman-replace-match) - (woman-display-extended-fonts, woman-special-characters) - (woman-font-alist, woman-change-fonts, woman2-TH, woman2-SH): - Use renamed woman faces. - - * longlines.el (longlines-visible-face): Face removed. - - * diff-mode.el (diff-header, diff-file-header, diff-index) - (diff-hunk-header, diff-removed, diff-added, diff-changed) - (diff-function, diff-context, diff-nonexistent): Remove "-face" - suffix from face names. - (diff-header-face, diff-file-header-face, diff-index-face) - (diff-hunk-header-face, diff-removed-face, diff-added-face) - (diff-changed-face, diff-function-face, diff-context-face) - (diff-nonexistent-face): New backward-compatibility aliases for - renamed faces. - (diff-header-face, diff-file-header-face) - (diff-index, diff-index-face, diff-hunk-header) - (diff-hunk-header-face, diff-removed, diff-removed-face) - (diff-added, diff-added-face, diff-changed-face, diff-function) - (diff-function-face, diff-context-face, diff-nonexistent) - (diff-nonexistent-face): Use renamed diff-mode faces. - - * progmodes/compile.el (compilation-warning-face) - (compilation-info-face): Remove "-face" suffix from face names. - (compilation-warning-face, compilation-info-face): - New backward-compatibility aliases for renamed faces. - (compilation-warning-face, compilation-info-face): - Use renamed compilation faces. - - * add-log.el (change-log-date, change-log-name) - (change-log-email, change-log-file, change-log-list) - (change-log-conditionals, change-log-function) - (change-log-acknowledgement): Remove "-face" suffix from face names. - (change-log-date-face, change-log-name-face) - (change-log-email-face, change-log-file-face) - (change-log-list-face, change-log-conditionals-face) - (change-log-function-face, change-log-acknowledgement-face): - New backward-compatibility aliases for renamed faces. - (change-log-font-lock-keywords): Use renamed change-log faces. - - * cus-edit.el (custom-invalid, custom-rogue, custom-modified) - (custom-set, custom-changed, custom-saved, custom-button) - (custom-button-pressed, custom-documentation, custom-state) - (custom-comment, custom-comment-tag, custom-variable-tag) - (custom-variable-button, custom-face-tag, custom-group-tag-1) - (custom-group-tag): Remove "-face" suffix from face names. - (custom-magic-alist, custom-magic-value-create) - (custom-group-sample-face-get, custom-mode): Use renamed custom faces. - (custom-invalid-face, custom-rogue-face, custom-modified-face) - (custom-set-face, custom-changed-face, custom-saved-face) - (custom-button-face, custom-button-pressed-face) - (custom-documentation-face, custom-state-face) - (custom-comment-face, custom-comment-tag-face) - (custom-variable-tag-face, custom-variable-button-face) - (custom-face-tag-face, custom-group-tag-face-1) - (custom-group-tag-face): - New backward-compatibility aliases for renamed faces. - - * wid-edit.el (widget-documentation, widget-button) - (widget-field, widget-single-line-field, widget-inactive) - (widget-button-pressed): "-face" suffix removed from face names. - (widget-documentation-face, widget-button-face) - (widget-field-face, widget-single-line-field-face) - (widget-inactive-face, widget-button-pressed-face): - New backward-compatibility aliases for renamed faces. - (widget-documentation-face, widget-button-face) - (widget-button-pressed-face, widget-specify-field) - (widget-specify-inactive): Use renamed widget faces. - -2005-06-10 Kenichi Handa - - * term/x-win.el (x-clipboard-yank): Remove condition-case - wrapping. - -2005-06-11 Kenichi Handa - - * add-log.el (change-log-font-lock-keywords): Make the regexp for - date lines stricter. - -2005-06-10 Zhang Wei - - * term/x-win.el (x-clipboard-yank): Use x-selection-value instead - of x-get-selection. - -2005-06-10 Juanma Barranquero - - * comint.el (comint-mode, comint-snapshot-last-prompt): - * frame.el (frame-current-scroll-bars): - * term.el (term-mode, term-check-proc, term-input-sender) - (term-simple-send, term-extract-string, term-word) - (term-match-partial-filename): - * window.el (window-current-scroll-bars): - * emulation/cua-base.el (cua-normal-cursor-color) - (cua-read-only-cursor-color, cua-overwrite-cursor-color) - (cua-global-mark-cursor-color): - * mail/undigest.el (rmail-forward-separator-regex): - Fix typos in docstrings. +2007-10-18 Tassilo Horn - * comint.el (comint-check-proc, make-comint-in-buffer) - (comint-source-default): Doc fixes. + * doc-view.el (doc-view-dvi->pdf-sentinel, doc-view-dvi->pdf) + (doc-view-pdf/ps->png-sentinel, doc-view-pdf/ps->png) + (doc-view-pdf->txt-sentinel, doc-view-pdf->txt) + (doc-view-ps->pdf-sentinel, doc-view-ps->pdf): + Remove superfluous messages. + (doc-view-mode-map): Use the image-mode scrolling commands. + Don't rebind C-x k. - * term.el (term-send-string): Improve argument/docstring consistency. +2007-10-18 Reiner Steib -2005-06-09 Luc Teirlinck + * doc-view.el (doc-view-ghostscript-options, doc-view-ps->pdf): + Add comment about "-dSAFER". - * comint.el (comint-send-input): Bind `inhibit-read-only' around - call to `delete-region'. - (comint-mode-hook): Do not enable Font Lock by default. +2007-10-18 Stefan Monnier -2005-06-09 Lute Kamstra + * term/xterm.el: Don't require xt-mouse. + (terminal-init-xterm): Run terminal-init-xterm-hook rather than + calling turn-on-xterm-mouse-tracking-on-terminal directly. - * textmodes/ispell.el (ispell-menu-map-needed): flyspell-mode - could be void. + * xt-mouse.el: Don't change the global function-key-map anny more. + (xterm-mouse-mode): Use terminal-init-xterm-hook. + Don't use after-make-frame-functions now that term/xterm.el calls + us directly. + (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking): + Use turn-*-xterm-mouse-tracking-on-terminal. Only once per terminal. + (turn-on-xterm-mouse-tracking-on-terminal): Make param optional. + Setup input-decode-map and remember that xterm-mouse-mode was + enabled in this terminal. + (turn-off-xterm-mouse-tracking-on-terminal): Only disable on those + terminals where it has been enabled. -2005-06-09 Stefan Monnier + * faces.el (tty-create-frame-with-faces): Make sure not only + tty-run-terminal-initialization but also set-locale-environment + are run only once per terminal. + (tty-run-terminal-initialization): Don't check if the terminal was + already initted. - * emacs-lisp/debug.el (debugger-will-be-back): New var. - (debug): Use it. - (debugger-step-through, debugger-continue, debugger-jump) - (debugger-return-value): Set it when needed. - (debugger-make-xrefs, debugger-frame, debugger-frame-clear): - Use inhibit-read-only. + * international/encoded-kb.el (encoded-kbd-setup-display): Be careful + not to remove keymaps that just happen to inherit from one of ours. + When setting up our keymap, make sure it won't be accidentally + modified by someone else. -2005-06-09 Juanma Barranquero +2007-10-18 Thien-Thi Nguyen - * window.el (shrink-window-if-larger-than-buffer) - (window-size-fixed): Fix typo in docstring. + * textmodes/artist.el (artist-previous-line, artist-next-line): + * dired.el (dired-next-line, dired-previous-line): + * progmodes/delphi.el (delphi-newline): + * textmodes/org.el (org-columns-eval): + Use forward-line. - * thumbs.el: Don't set `auto-image-file-mode'. Do not create the - thumbnails directory on loading. - (thumbs-conversion-program): Use `eq' to check the system type, - not `equal'. - (thumbs-temp-dir): Initialize to `temporary-file-directory', - not "/tmp". Fix docstring. - (thumbs-thumbsdir): New function to return the thumbnails - directory, creating it if needed. - (thumbs-cleanup-thumbsdir, thumbs-thumbname): Use it. - (thumbs-temp-file): Delete variable and make it into a function. - (thumbs-resize-image, thumbs-modify-image): Use it. - (thumbs-kill-buffer): Simplify. - (thumbs-gensym): Defalias or duplicate CL `gensym'. - (thumbs-resize-image, thumbs-resize-interactive): Fix typos in - docstrings. + * emerge.el (emerge-setup): Use insert-buffer-substring. + (emerge-prepare-error-list, emerge-setup-with-ancestor): Likewise. -2005-06-09 Kim F. Storm +2007-10-18 Juanma Barranquero - * subr.el (save-match-data): Add RESEAT arg `evaporate' to - set-match-data to free markers in match-data. + * textmodes/fill.el (fill-individual-paragraphs): Doc fix. + (adaptive-fill-function): Doc fix. Remove * from docstring. - * replace.el (replace-match-data): Pass RESEAT arg `t' to - match-data to unchain markers in match-data. +2007-10-18 Tom Horsley -2005-06-08 Stefan Monnier + * simple.el (interprogram-paste-function): Doc fix. + (current-kill): Accept list of strings as well + as single string from `interprogram-paste-function'. - * emacs-lisp/debug.el (debug): Don't iconify if we know we'll re-enter - the debugger immediately anyway. Undo the 2005-06-06 change, rendered - unnecessary now. +2007-10-18 Glenn Morris -2005-06-08 Richard M. Stallman + * ibuf-ext.el (ibuffer-saved-filter-groups): Doc fix. - * emacs-lisp/easy-mmode.el (define-minor-mode): If BODY is empty, - give the variable a doc string that doesn't say don't set it directly. +2007-10-18 Drew Adams - * textmodes/ispell.el (ispell-check-version): - Use match-string-no-properties. - (ispell-region, ispell-buffer-local-parsing, ispell-buffer-local-dict) - (ispell-buffer-local-words): Likewise. + * bindings.el (mode-line-minor-mode-keymap): + Add mouse-minor-mode-menu on mouse-1. + (mode-line-modes): Add mouse-1 to help-echo text. + (mouse-minor-mode-menu, minor-mode-menu-from-indicator): + New functions. + (mode-line-minor-mode-help): Doc fix. - * progmodes/make-mode.el (makefile-shell-face): Make this a no-op - except on terminals with enough colors to really display it. - (makefile-dependency-regex): Delete spurious `bb'. +2007-10-17 Juri Linkov - * faces.el (escape-glyph): Use blue once again in last case. - (no-break-space): Redefine so that it isn't invisible on a tty. + * textmodes/fill.el (fill-paragraph-or-region): Remove function + at the request of RMS. + (fill-paragraph): Change `arg' to optional `justify'. Add interactive + arg `region'. Fix docstring. At the first `or' branch add call to + `fill-region' if it the region is active in transient-mark-mode. -2005-06-08 Kim F. Storm + * bindings.el (esc-map): Bind M-q to fill-paragraph + instead of fill-paragraph-or-region. - * ido.el (ido-read-file-name): Fallback to read-file-name on C-f - also when reading directory name. + * tutorial.el (tutorial--default-keys): Replace fill-paragraph-or-region + with fill-paragraph. -2005-06-08 Lute Kamstra + * textmodes/ispell.el (ispell-word): Add interactive arg `region'. + Fix docstring. - * textmodes/flyspell.el (flyspell-mode): Use define-minor-mode. - (flyspell-mode-line-string): Remove autoload cookie. - (flyspell-mode): Remove defvar. + * indent.el (indent-for-tab-command): Change interactive spec from + "P" to "p". Add check for interactive arg before indenting the + active region. -2005-06-07 Lute Kamstra + * files.el (auto-mode-alist): Add \\. before PDF/PS/DVI extensions. + Regroup. - * textmodes/org.el (org-run-mode-hooks): New function. - (org-agenda-mode): Use it. +2007-10-17 Juanma Barranquero -2005-06-07 David McCabe (tiny change) + * emacs-lisp/find-func.el: Don't require loadhist. - * emacs-lisp/lisp-mode.el (defstruct): Set `doc-string-elt' property. + * loadhist.el (feature-symbols, file-provides, file-requires) + (file-set-intersect, file-dependents): Simplify. + (unload-feature-special-hooks): Update list of special hooks. -2005-06-06 Stefan Monnier +2007-10-17 Tassilo Horn - * international/iso-cvt.el (iso-sgml2iso-trans-tab): Add NBSP. + * bindings.el (completion-ignored-extensions): Remove pdf and dvi + extensions since they can be viewed with doc-view. -2005-06-06 Luc Teirlinck + * files.el (auto-mode-alist): Make doc-view-mode the default mode + for pdf, ps and dvi files. - * font-lock.el (font-lock-add-keywords): Doc fix. + * doc-view.el: Make doc-view-mode the standard mode for viewing + pdf, [e]ps and dvi files and add binding C-c C-c to toggle between + text and image display. Add binding C-c C-e to switch to an + editing mode. + (doc-view-ghostscript-options, doc-view-ps->pdf): Add "-dSAFER" to + avoid security problems when rendering files from untrusted sources. -2005-06-06 Stefan Monnier +2007-10-17 Aaron Hawley - * textmodes/tex-mode.el (tex-guess-mode): Add RequirePackage. - (tex-compile-default): In the absence of any history, use the order in - tex-compile-alist to choose the preferred command. - (tex-compile-commands): Reorder a bit. + * tutorial.el (tutorial--save-tutorial): Display message when tutorial + position is not saved. - * textmodes/flyspell.el (flyspell-auto-correct-binding) - (flyspell-incorrect-face, flyspell-duplicate-face): - Use (X)Emacs-agnostic code. - (flyspell-mode-map): Don't overwrite at each load. Remove code - redundant with the subsequent add-minor-mode. Merge Emacs and - XEmacs code. - (flyspell-word): Minor simplification. - (flyspell-math-tex-command-p): Quieten the byte-compiler. - (flyspell-external-point-words): Remove unused vars `size' and `start'. - (flyspell-do-correct): Rename from flyspell-xemacs-correct. - Merge the corresponding Emacs code. - (flyspell-correct-word, flyspell-xemacs-popup): - Use flyspell-do-correct. +2007-10-17 Reiner Steib - * emacs-lisp/debug.el (debug): Don't bury the buffer unless it's in - a dedicated window. + * doc-view.el: Mention xpdf. Fix spelling of Ghostscript. + (doc-view-ghostscript-options): Fix typo in doc string. - * international/latexenc.el (latexenc-find-file-coding-system): - Undo part of last patch, to turn off a compiler warning. +2007-10-17 Stefan Monnier -2005-06-06 Juri Linkov + * progmodes/compile.el (compilation-next-error-function): Fix timestamp + handling, so compilation-fake-loc works again. - * tmm.el (tmm-inactive, tmm-remove-inactive-mouse-face): - Rename `tmm-inactive-face' to `tmm-inactive'. + * server.el (server-select-display): Nop if we do not support m-f-o-d. + (server-process-filter): Revert last change. -2005-06-06 Matt Hodges + * vc.el (vc-diff-sentinel, vc-diff-internal): Revert some change in the + behavior unrelated to filesets. - * iswitchb.el: Rename faces. +2007-10-17 Chong Yidong -2005-06-06 Kim F. Storm + * longlines.el (longlines-wrap-follows-window-size): Integer value + specifies wrapping margin. + (longlines-mode, longlines-window-change-function): + Set window-specific wrapping margin based on the above. - * emulation/cua-base.el (cua-rectangle, cua-rectangle-noselect) - (cua-global-mark): Remove -face suffix from face names. +2007-10-17 John Wiegley - * emulation/cua-gmrk.el (cua--init-global-mark): - Remove cua-global-mark face setup. + * eshell/esh-cmd.el (eshell-complex-commands): Add "ls". -2005-06-06 Richard M. Stallman +2007-10-17 Dan Nicolaescu - * progmodes/make-mode.el (makefile-dependency-regex): Handle whitespace - just like other allowed characters. - (makefile-match-dependency): Exclude leading and training whitespace - from the range of regexp subexp 1. - (makefile-macroassign-regex): Don't try to match the body, - just the name of the macro being defined. + * server.el (server-process-filter): Only set display if X11 is + supported. - * info.el (Info-read-node-name-2): New function. - (Info-read-node-name-1): Use that. - Add a completion-base-size-function property. +2007-10-17 Glenn Morris - * simple.el (completion-setup-function): Look for - completion-base-size-function property of minibuffer-completion-table. + * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): + Tweak regexp to avoid stack overflow. - * files.el (locate-file-completion): Doc fix. +2007-10-16 Stefan Monnier - * printing.el: Don't call pr-update-menus; user must do that. + * simple.el (reindent-then-newline-and-indent): Don't assume that + indent-according-to-mode preserves point. - * emacs-lisp/debug.el (debugger-window): New variable. - (debug): Use debugger-window if it is set and still alive. - Record debugger-window for next entry. +2007-10-16 Juanma Barranquero - * mail/supercite.el (sc-mail-glom-frame): Mark as risky. + * bs.el (bs--make-header-match-string, bs-show-in-buffer) + (bs--nth-wrapper): Simplify. + (bs-select, bs--insert-one-entry): Simplify. Use `when'. + (bs-buffer-list): Simplify. Use `when'. Use `string-match-p'. + (bs-sort-buffer-interns-are-last): Use `string-match-p'. + (bs-attributes-list, bs-max-window-height, bs-must-always-show-regexp) + (bs-maximal-buffer-name-column, bs-minimal-buffer-name-column) + (bs-configurations, bs-default-configuration) + (bs-alternative-configuration, bs-cycle-configuration-name) + (bs-string-show-always, bs-string-show-never, bs-string-current) + (bs-string-current-marked, bs-string-marked, bs-string-show-normally) + (bs-sort-functions, bs-default-sort-name): Remove * in docstrings. + (bs--redisplay, bs--goto-current-buffer, bs--current-buffer, bs-delete) + (bs-apply-sort-faces, bs-next-config-aux): Use `when'. + (bs--window-config-coming-from): Revert 2006-11-09 change. + (bs--restore-window-config): Keep the selected frame. + (bs--track-window-changes, bs--remove-hooks): New functions. + (bs-mode): Use `define-derived-mode'. Set hook to track window changes. + (bs--create-header): Remove. + (bs--create-header-line): New function, based on `bs--create-header'. + (bs--show-header): Use `bs--create-header-line'. + (bs--show-with-configuration): Revert 2006-11-09 change. + Don't reuse window unless it is visible on the selected frame. + Restore window configuration (possibly in a different frame) + before creating any window. -2005-06-06 Matthias F,Av(Brste +2007-10-16 Glenn Morris - * files.el (hack-local-variables-confirm): New arg FLAG-TO-CHECK. - (hack-one-local-variable, hack-local-variables) - (hack-local-variables-prop-line): Pass that arg. + * simple.el (blink-matching-open): Don't report false errors with + the `$' syntax class. -2005-06-06 Kim F. Storm +2007-10-16 Richard Stallman - * ido.el (ido-first-match, ido-only-match, ido-subdir) - (ido-indicator): Remove -face suffix from face names. + * emacs-lisp/advice.el (ad-get-advice-info): Change to a function. + (ad-get-advice-info-macro): New macro, like old ad-get-advice-info. + (ad-is-advised, ad-get-advice-info-field) + (ad-set-advice-info-field): Use ad-get-advice-info-macro. -2005-06-06 Juri Linkov +2007-10-15 Stefan Monnier - * font-lock.el (font-lock-regexp-backslash) - (font-lock-regexp-backslash-construct): New faces. - (lisp-font-lock-keywords-2): Use new faces. Match `?:' only - after `('. Add `while-no-input' to control structures. + * vc-hooks.el (vc-workfile-version): Compatibility alias. + (vc-default-working-revision): Compatibility for backends. - * faces.el (no-break-space, shadow): New faces. - (escape-glyph): Use less loud colors pink2 and red4. +2007-10-15 Juanma Barranquero - * diff-mode.el (diff-context-face) - * dired.el (dired-ignored) - * rfn-eshadow.el (file-name-shadow) - * tmm.el (tmm-inactive-face): Inherit from `shadow' face. + * filesets.el (filesets-alist-get): Use `let' rather than `let*'. + (filesets-ormap, filesets-sort-case-sensitive-flag) + (filesets-remake-shortcut, filesets-ingroup-collect-files): + Fix typos in docstrings. + (filesets-conditional-sort, filesets-find-or-display-file) + (filesets-data-get-name, filesets-data-get-data) + (filesets-data-set, filesets-cmd-query-replace-getargs) + (filesets-ingroup-collect): Doc fixes. - * info.el (Info-title-1-face): Use green instead of yellow because - bold yellow is not readable on light backgrounds. +2007-10-15 Sam Steingold - * progmodes/compile.el (compilation-start): Move `erase-buffer' up - before selecting the desired mode to not spend time fontifying - old contents. + * mail/sendmail.el (sendmail-error-reporting-interactive) + (sendmail-error-reporting-non-interactive): New variables for + sendmail error reporting options to simplify support for imperfect + sendmail emulators. + (sendmail-send-it): Use them instead of list literals. -2005-06-06 Juanma Barranquero +2007-10-15 Juanma Barranquero - * thumbs.el (thumbs-thumbsdir-max-size, thumbs-image-resizing-step) - (thumbs-thumbsdir-auto-clean): Fix typos in docstrings. + * help-fns.el: Revert previous change; it creates a + dependency loop between advice.el and help-fns.el. - * ps-print.el (ps-default-fg, ps-default-bg): - Fix typos in docstrings. +2007-10-15 Juanma Barranquero - * isearchb.el (isearchb): Don't pass a spurious second argument to - `iswitchb-completions'. + * help-fns.el: Require advice when compiling. -2005-06-05 Nick Roberts +2007-10-14 Drew Adams - * progmodes/gdb-ui.el (gdb-info-locals-handler): Use window point - to preserve point. - (gdb-find-file-hook): Add doc string. + * emacs-lisp/ring.el (ring-convert-sequence-to-ring) + (ring-insert+extend, ring-remove+insert+extend, ring-member) + (ring-next, ring-previous): New functions. - * progmodes/gud.el (gdb, gud-menu-map): Add command to evaluate - C dereferenced pointer expression. - (gud-tool-bar-map): Put it on the tool bar. Re-order icons. +2007-10-14 Richard Stallman - * toolbar/gud-pstar.xpm, toolbar/gud-pstar.pbm: New files. + * emacs-lisp/advice.el (documentation): Advice deleted. + Doc for advised functions is now handled at C level. + (ad-stop-advice, ad-start-advice): Don't enable or disable + advice for `documentation'. + (ad-advised-definition-docstring-regexp): Var deleted. + (ad-make-advised-definition-docstring): Store orig name + as text property of string. + (ad-advised-definition-p): Check for text property of docstring. - * toolbar/gud-break.xpm, toolbar/gud-cont.xpm, toolbar/gud-down.xpm - * toolbar/gud-finish.xpm, toolbar/gud-ni.xpm, toolbar/gud-n.xpm - * toolbar/gud-print.xpm, toolbar/gud-remove.xpm, toolbar/gud-run.xpm - * toolbar/gud-si.xpm, toolbar/gud-s.xpm, toolbar/gud-until.xpm - * toolbar/gud-up.xpm, toolbar/gud-watch.xpm: - Make background transparent. + * help-fns.el (describe-function-1): Find source of advised functions. -2005-06-04 Luc Teirlinck +2007-10-14 Juri Linkov - * font-lock.el (font-lock-add-keywords): Doc fix. Comment change. - (font-lock-remove-keywords): Doc fix. - (font-lock-mode-major-mode): Compiler defvar. - (font-lock-set-defaults): Use `font-lock-mode-major-mode'. + * faces.el (describe-face): Allow handling a string as the face name. - * font-core.el (font-lock-mode-major-mode): Compiler defvar. - (font-lock-mode): Update `font-lock-mode-major-mode'. - (font-lock-set-defaults): Compiler defvar. - (font-lock-default-function): Take `font-lock-mode-major-mode' - into account. + * textmodes/ispell.el (ispell-word): Call `ispell-region' on the + active region in transient-mark-mode. + (ispell-region): Change messages displayed at the start and end of + the spell-checking to be the same. - * emacs-lisp/easy-mmode.el (define-global-minor-mode): Make it - keep track of which major mode it enabled the minor mode for. - Use find-file-hook again. Update docstring. + * startup.el (fancy-startup-tail): Say exactly what does the button + dismiss ("Dismiss this startup screen"). Use text "Never show + it again" for the checkbox after this button. + (fancy-startup-screen, fancy-about-screen): Put point before the + first link, so the user can quickly select links with the keyboard. + (normal-mouse-startup-screen): Add more useful text describing how + to follow a link. - * simple.el (eval-expression-print-level) - (eval-expression-print-length, eval-expression-debug-on-error): - Doc fixes. +2007-10-14 Glenn Morris -2005-06-04 Matt Hodges + * progmodes/etags.el (select-tags-table): Disable undo in the + `*Tags Table List*' buffer. - * iswitchb.el (iswitchb-single-match-face) - (iswitchb-current-match-face, iswitchb-virtual-matches-face) - (iswitchb-invalid-regexp-face): New faces. - (iswitchb-completions): Use them. - (iswitchb-use-faces): Rename from iswitchb-use-fonts, which is - now marked as an obsolete alias. - (iswitchb-read-buffer): Remove check for bound font variables. - (iswitchb-invalid-regexp): New free variable. - (iswitchb-get-matched-buffers): Catch invalid-regexp errors and - set iswitchb-invalid-regexp. - (iswitchb, iswitchb-complete, iswitchb-completions): Deal with - invalid regexps. - (iswitchb-completions): Add check for complete match when entering - a regexp. - (iswitchb-completions): Remove require-match argument. - (iswitchb-exhibit): Fix caller. - (iswitchb-common-match-inserted): New variable. - (iswitchb-complete, iswitchb-completion-help): Use it. +2007-10-13 Eli Zaretskii -2005-06-04 David Reitter (tiny change) + * dired.el (dired-warn-writable): New face. + (dired-warn-writable-face): New variable. + (dired-font-lock-keywords): Use dired-warn-writable-face, instead + of dired-warning-face, for group- and world-writable files. - * url/url-http.el (url-http-chunked-encoding-after-change-function): - Use `url-http-debug' instead of `message'. +2007-10-13 Richard Stallman -2005-06-04 Thierry Emery (tiny change) + * files.el (directory-abbrev-alist): Doc fix. - * url/url-http.el (url-http-parse-headers): Pass redirected URL - as a callback argument. +2007-10-13 Jari Aalto -2005-06-04 Kim F. Storm + * comint.el (comint-password-prompt-regexp): Add 'LDAP'. - * simple.el (line-move): Only call sit-for when moving backwards. +2007-10-12 Martin Rudalics - * ido.el (ido-make-merged-file-list-1): New defun split from - ido-make-merged-file-list. - (ido-make-merged-file-list): Bind throw-on-input around call to - ido-make-merged-file-list-1. Return input-pending-p if - interrupted by more input available. - (ido-read-internal): Handle input-pending-p return value from - ido-make-merged-file-list. + * frame.el (set-frame-configuration): Assign name parameter only + if it has been set explicitly before. -2005-06-03 Stefan Monnier +2007-10-11 Tom Tromey - * textmodes/flyspell.el (flyspell-check-word-p): Simplify silly - compatibility code. + * progmodes/gdb-ui.el (gdb-info-stack-custom): Ensure current + frame is visible. - * international/latexenc.el (latexenc-find-file-coding-system): - Don't inherit the EOL part of the coding-system from the - tex-main buffer. Fit within 80 columns. +2007-10-10 Richard Stallman -2005-06-03 Matt Hodges + * emacs-lisp/debug.el (debugger-setup-buffer): Disable undo + in *Backtrace*. - * tmm.el (tmm-inactive-face): New face. - (tmm-remove-inactive-mouse-face): New function. - (tmm-prompt, tmm-add-one-shortcut) - (tmm-add-prompt, tmm-get-keymap): Make active menu items visible - but not selectable. + * faces.el (face-font-selection-order): Doc fix. -2005-06-03 Juanma Barranquero + * loadhist.el (unload-feature): Doc fix. - * faces.el (face-equal): Improve argument/docstring consistency. +2007-10-13 Glenn Morris -2005-06-03 Daniel Pfeiffer + * progmodes/octave-mod.el (octave-looking-at-kw): Add doc string. + (octave-re-search-forward-kw, octave-re-search-backward-kw): + Add doc string, and an explicit COUNT argument. + (octave-scan-blocks, octave-beginning-of-defun): Explicitly pass + `inc' to search functions. - * progmodes/make-mode.el (makefile-targets-face) - (makefile-shell-face, makefile-makepp-perl-face): Add :version. - (makefile-bsdmake-dependency-regex) - (makefile-makepp-rule-action-regex) - (makefile-bsdmake-rule-action-regex): New constants. - (makefile-makepp-mode, makefile-bsdmake-mode): Use them. + * faces.el (face-spec-set): When FRAME is nil, set the default for + new frames (restores pre-2007-09-17 behavior). Doc fix. - * progmodes/compile.el (compilation-error-regexp-alist-alist): - Allow (...) within `...' for makepp messages. +2007-10-13 John W. Eaton -2005-06-03 Michael Kifer + * progmodes/octave-mod.el (octave-looking-at-kw) + (octave-re-search-forward-kw, octave-re-search-backward-kw): + New functions. + (octave-in-defun-p, calculate-octave-indent) + (octave-blink-matching-block-open, octave-beginning-of-defun) + (octave-auto-fill): Use octave-looking-at-kw instead of looking-at, + to search for regexps that contain case-sensitive keywords. + (octave-beginning-of-defun): Likewise, for octave-re-search-backward-kw. + (octave-scan-blocks): Likewise, for octave-re-search-forward-kw. - * ediff-diff.el (ediff-same-contents): Eliminate CL-type functions. +2007-10-13 Dan Nicolaescu - * ediff-mult.el (ediff-intersect-directories): Make sure that ".." and - "." files are deleted from all file lists before comparison. + * frame.el (select-frame-set-input-focus): Fix typo "max" -> "mac". + Do not use a single clause cond. - * emulation/viper-keym.el (viper-toggle-key, viper-quoted-insert-key) - (viper-ESC-key): Made them customizable. + * cus-start.el (all): Use test that does not match the X11 version + for mac. - * emulation/viper.el (viper-non-hook-settings): - Fix the names of defadvices. +2007-10-13 Markus Gritsch (tiny change) -2005-06-01 Luc Teirlinck + * progmodes/ebrowse.el (ebrowse-tree-mode): Disable undo in the + BROWSE buffer. - * autorevert.el (auto-revert-buffers): Use save-match-data. +2007-10-13 Dan Nicolaescu -2005-06-01 Stefan Monnier + * cus-start.el (all): Undo previous change. - * emacs-lisp/easymenu.el (easy-menu-return-item): Quick fix to find - menu items with a nil command binding. +2007-10-13 Glenn Morris -2005-06-01 Juanma Barranquero + * woman.el (woman0-rename): Fix paren typo. + + * mail/feedmail.el (feedmail-run-the-queue) + (feedmail-look-at-queue-directory): + * mail/reporter.el (reporter-dump-state): + * net/eudc-hotlist.el (eudc-edit-hotlist): + * net/eudc.el (eudc-display-records) + (eudc-filter-duplicate-attributes) + (eudc-distribute-field-on-records, eudc-query-form, eudc-process-form): + * net/eudcb-bbdb.el (eudc-bbdb-filter-non-matching-record) + (eudc-bbdb-query-internal): + * net/eudcb-ldap.el (eudc-ldap-simple-query-internal): + * net/socks.el (socks-build-auth-list): + * progmodes/cc-cmds.el (top level): + * progmodes/cc-styles.el (c-make-styles-buffer-local, c-set-style): + * progmodes/cperl-mode.el (top level, cperl-imenu-addback) + (cperl-write-tags, cperl-tags-treeify): + * progmodes/ebnf-yac.el (ebnf-yac-token-table): + * progmodes/ebnf2ps.el (ebnf-map-name, ebnf-dimensions): + * progmodes/idlw-shell.el (idlwave-shell-filter-bp, top level): + * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere) + (idlwave-toolbar-remove-everywhere): + * progmodes/idlwave.el (idlwave-indent-line) + (idlwave-sintern-keyword-list, idlwave-scan-user-lib-files) + (idlwave-write-paths, idlwave-all-method-classes) + (idlwave-all-method-keyword-classes, idlwave-entry-keywords) + (idlwave-fix-keywords, idlwave-display-calling-sequence) + (idlwave-complete-in-buffer): + * textmodes/org.el (org-export-as-html, org-export-as-ascii) + (org-fast-tag-selection): + * textmodes/reftex-sel.el (reftex-select-item): Use mapc rather + than mapcar. + +2007-10-13 Dan Nicolaescu + + * diff-mode.el (diff-fine-change): Add :group. + +2007-10-12 Dan Nicolaescu + + * cus-start.el (all): Use the same test as the 22.2 branch. + +2007-10-12 Stefan Monnier + + * diff-mode.el (diff-current-defun): Force recomputation of + change-log-default-name. + +2007-10-12 Chong Yidong + + * startup.el (fancy-startup-screen): Remove an unnecessary newline + and some leftover logic regarding dedicated frames. If showing + concise startup screen, fit window to buffer. + (command-line-1): If we will be using the splash screen, use + find-file instead of find-file-other-window to find additional files. + Comment out unused code for coping with the old sit-for behavior. + +2007-10-12 Stefan Monnier + + * term/xterm.el (xterm-function-map, xterm-alternatives-map): Use the + `meta' modifier consistently, rather than using sometimes meta + sometimes alt. - * emacs-lisp/cl-macs.el (defsetf): - Improve argument/docstring consistency. +2007-10-12 Martin Rudalics - * faces.el (list-faces-display): Improve the formatting by - computing the maximum length required for any face-name (reworked - patch of 1999-01-11, accidentally deleted on 1999-07-21). - (internal-find-face): Remove redundant info in docstring. + * window.el (handle-select-window): Revert part of 2007-10-08 + change setting the input focus. -2005-06-01 Nick Roberts +2007-10-12 Glenn Morris - * progmodes/gdb-ui.el (gdb-set-gud-minor-mode-1) - (gdb-info-breakpoints-custom, gdb-delete-breakpoint) - (gdb-goto-breakpoint, gdb-source-info, gdb-get-location) - (gdb-assembler-custom): Improve regexps. - (def-gdb-auto-update-handler): Use window point to preserve point. + * startup.el (command-line): Do not read abbrev file in batch mode. + + * emacs-lisp/byte-opt.el (top level): + * mail/rmail.el (rmail-list-to-menu): + * obsolete/hilit19.el (hilit-mode): + * progmodes/cc-mode.el (c-postprocess-file-styles) + (c-submit-bug-report): + * textmodes/org-publish.el (org-publish-get-plist-from-filename): + * textmodes/reftex.el (reftex-erase-all-selection-and-index-buffers) + (reftex-access-parse-file): + * textmodes/reftex-cite.el (reftex-do-citation) + (reftex-insert-bib-matches): + * textmodes/reftex-ref.el (reftex-offer-label-menu): + * textmodes/reftex-sel.el (reftex-select-unmark): + * textmodes/reftex-toc.el (reftex-toc-do-promote): + * vc-mcvs.el (vc-mcvs-checkin): Use mapc rather than mapcar. -2005-05-31 Stefan Monnier + * cus-edit.el (custom-variable-menu, custom-face-menu) + (custom-group-menu): Check init-file-user rather than + user-init-file, in case cus-edit is loaded by site-run-file. - * thumbs.el (thumbs-mode): Fix misuse of make-variable-buffer-local. +2007-10-11 Dan Nicolaescu -2005-05-31 Jay Belanger + * vc.el (vc-deduce-fileset): Delete unused code. + (vc-next-action): Fix typos. - * calc/calc-embed.el (calc-embedded-word): Change argument passed - to calc-embedded. - (calc-embedded-make-info): Have plain prefix argument select - entire line. +2007-10-11 Juanma Barranquero -2005-05-31 Juanma Barranquero + * bs.el (bs--mark-unmark): New function. + (bs-mark-current, bs-unmark-current): Use it. - * faces.el (list-faces-display): Signal error if passed a regexp - that matches no face name. +2007-10-11 Eric S. Raymond - * simple.el (filter-buffer-substring): Fix typo in docstring. + * vc.el (vc-diff): + (vc-diff-internal): Merge a patch by Juanma Barranquero. Also, + temporarily disable the check for his edge case of + vc-diff (stopping it from grinding when called from $HOME), as + it's calling some brittle code in vc-hooks.el. + (with-vc-properties): Fix evaluation time of a macro argument. + * ediff-vers.el (ediff-vc-internal): + * vc-hooks.el: + * loaddefs.el: Follow up on VC terminology change. -2005-05-31 Richard M. Stallman +2007-10-11 Juanma Barranquero - * progmodes/vhdl-mode.el (vhdl-fill-region): Test ARG, not INTERACTIVE. - (vhdl-emacs-21): Doc fix. - (vhdl-mode): Unconditionally set comment-padding. - (vhdl-fixup-whitespace-region): Insert spaces only where - there are none. - (vhdl-statistics-buffer): Make the Emacs 21 behavior universal. + * follow.el (follow-stop-intercept-process-output): + Use `follow-call-process-filter' rather than `process-filter'. + Simplify. + * vc.el (vc0iff): Prevent errors in an edge case. -2005-05-30 John Wiegley +2007-10-11 Eric S. Raymond - * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el - * eshell/em-unix.el, eshell/esh-ext.el, eshell/esh-io.el - * eshell/esh-util.el, eshell/esh-var.el: Change all uses of - `directory-sep-char' to ?/, and all uses of `string-to-int' to - `string-to-number'. + * vc-hooks.el (vc-registered): Robustify this function a bit + against filenames with no directory component. -2005-05-30 Jay Belanger +2007-10-11 Stefan Monnier - * calc/calc.el (calc-bug-address): Fix docstring. - (calc-window-hook, calc-trail-window-hook): New variables. - (calc-trail-display): Restore use of calc-trail-window-hook. - (calc): Restore use of calc-window-hook. + * international/characters.el: Undo unwanted and unexplained change. -2005-05-31 Masatake YAMATO +2007-10-10 Vinicius Jose Latorre - * emacs-lisp/find-func.el (find-function-noselect): Handle subroutines. + * ps-print.el: Fix the usage of :foreground and :background face + attributes. Reported by Nikolaj Schumacher . + (ps-print-version): New version 6.7.6. + (ps-face-attributes, ps-face-attribute-list, ps-face-background): + Fix code. + (ps-face-foreground-color-p, ps-face-background-color-p) + (ps-face-color-p): New inline funs. - * help-fns.el (help-C-file-name): Add autoload mark for - `find-function-noselect'. +2007-10-10 Carsten Dominik + + * textmodes/org.el (org-additional-option-like-keywords): New constant. + (org-complete): Use `org-additional-option-like-keywords'. + (org-parse-local-options): New function. + +2007-10-10 Carsten Dominik + + * textmodes/org.el (org-in-clocktable-p): New function. + (org-clock-report): Only update the table at point, or insert a new one. + (org-clock-goto): New function. + (org-open-file): Use `start-process-shell-command' instead of + `shell-command' with an ampersand. + (org-deadline, org-schedule): New argument REMOVE to remove the + date from the entry. + (org-agenda-schedule, org-agenda-deadline): Pass the prefix + argument to `org-schedule' and `org-deadline'. + (org-trim): Use the correct expressions for beginning and end of + the string. + (org-get-cleaned-entry): Trim the string before returning it. + (org-clock-find-position): New function. + (org-clock-into-drawer): New option. + (org-agenda-tags-column): Rename from + `org-agenda-align-tags-to-column'. + (org-agenda-align-tags): Allow negative values for + `org-agenda-tags-column'. + (org-insert-labeled-timestamps-before-properties-drawer): Remove var. + (org-agenda-to-appt): New optional argument FILTER. + (org-completion-fallback-command): New variable. + (org-complete): Use `org-completion-fallback-command'. + (org-find-base-buffer-visiting): Catch the case that there is no + buffer visiting the file. + (org-property-or-variable-value): New function. + (org-todo): Use `org-property-or-variable-value' + (org-agenda-compact-blocks): New option. + (org-prepare-agenda, org-agenda-list): Use `org-agenda-compact-blocks'. + (org-agenda-schedule, org-agenda-deadline): + Call `org-agenda-show-new-time'. + (org-agenda-show-new-time): New argument PREFIX. + (org-colgroup-info-to-vline-list): Fix but that cause a + shift in the vertical lines. + (org-buffer-property-keys): New argument INCLUDE-DEFAULTS. + (org-maybe-renumber-ordered-list, org-cycle-list-bullet) + (org-indent-item): No arg in call to `org-fix-bullet-type'. + (org-fix-bullet-type): Remove argument. + (org-read-date): Check for am/pm twice, to catch the end time. + (org-goto-map): Use `suppress-keymap'. + (org-remember-apply-template): Respect the dynamically scoped + selection character. + +2007-10-10 Bastien Guerry + + * textmodes/org-export-latex.el (org-export-latex-protect-string): + Renaming of `org-latex-protect'. + (org-export-latex-emphasis-alist): By default, don't protect + any emphasis formatter from further conversion. + (org-export-latex-tables): Honor column grouping for tables. + (org-export-latex-title-command): New option. + (org-export-latex-treat-backslash-char): Use \textbackslash{} to + export backslash character. + +2007-10-10 Stefan Monnier + + * frame.el (frame-inherited-parameters): Remove unused `environment' + parameter, and let server.el add `client' when needed. + + * server.el (server-create-tty-frame) + (server-create-window-system-frame): Set frame-inherited-parameters. + + * frame.el (frame-inherited-parameters): New var. + (make-frame): Use it. + + * font-lock.el (lisp-font-lock-keywords-2): Remove let-environment. + + * env.el (let-environment): Remove. Unused. + (read-envvar-name): Simplify. + (setenv): Remove unused arg `frame'. + + * help-fns.el (describe-variable): Add missing " " for multiline + obsolescence info and missing EOL after global value. + +2007-10-10 Eric S. Raymond + + * add-log.el: + * ediff-vers.el: + * log-view.el: + * pcvs.el: + * vc-arch.el: + * vc-bzr.el: + * vc-cvs.el: + * vc.el: + * vc-git.el: + * vc-hg.el: + * vc-hooks.el: + * vc-mcvs.el: + * vc-mtn.el: + * vc-rcs.el: + * vc-sccs.el: + * vc-svn.el: Terminology cleanup: workfile-version -> working-revision, + {find,init,next,previous,annotate-*,log}-version -> + {find,init,next,previous,annotate-*,log}-revision, + annotate-focus-version -> annotate-working-revision, The term + 'focus' is gone. The term 'revision' is now used consistently + everywhere that reference to a revision ID is intended, replacing + older use of 'version'. -2005-05-30 Stefan Monnier +2007-10-10 Juanma Barranquero - * textmodes/tex-mode.el (tex-compile-commands, tex-compile) - (tex-start-tex): Undo all but the last part of the 2005-05-28 change. + * follow.el: Change all instances of "Follow Mode" to "Follow + mode" in docstrings and messages. + (follow-menu-filter): Fix arg passed to `bound-and-true-p'. + +2007-10-10 Eric S. Raymond + + * vc.el (vc-next-action): Rewrite completely; this principal + entry point now operates on a current fileset selected either + explicitly via VC-Dired or implicitly by visiting a file buffer, + rather than always operating on the file of the current buffer as + in older versions. Rewrite the rest of the mode to match. + (with-vc-properties): Rewrite to operate on a file list. + (with-vc-file): vc-checkin takes a file list argument now. + (vc-post-command-functions): This hook now receives a file list. + (vc-do-command): Take a either a file or a file list as argument. + (vc-deduce-fileset): New function for deducing a file list to + operate on. + (vc-next-action-on-file, vc-next-action-dired): Remove. + Merge into vc-next-action. + (vc-register): Adapt to the fact that vc-start-entry now takes a + file list. + (vc-register-with): New function. + (vc-start-entry): Take a file list argument rather than a + file argument. + (vc-checkout): Cope with vc-start-entry taking a file list. + (vc-steal-lock): Cope with with-vc-properties taking a + file list. + (vc-checkin): Take a file list argument rather than a file argument. + (vc-finish-logentry): Use the filelist passed by vc-start-entry. + (vc-diff-internal): Rewrite for filesets. + (vc-diff-sentinel): New function, tests whether changes were + written into a diff buffer. + (vc-diff): Rewrite for filesets. + (vc-version-diff): Rewrite for filesets. + (vc-print-log): Take a fileset argument. + (vc-revert): Revert the entire selected fileset, not just the + current buffer. + (vc-rollback): Roll back the entire selected fileset, if + possible. No longer accepts a prefix argument. + (vc-update): Merge new changes for the entire selected + fileset, not just the current buffer. + (vc-revert-file): Cope with with-vc-properties taking a file list. + (vc-default-dired-state-info): Add + status suffix if the file is + modified. + (vc-annotate-warp-version): Use the new diff machinery. + (vc-log-edit): Take a file list argument rather than a file argument. -2005-05-30 Glenn Morris +2007-10-10 Michael Albinus - * calendar/diary-lib.el (mark-included-diary-files): Only kill - included diary buffer if it was not already being visited. - Reported by Stephen Berman . + Sync with Tramp 2.1.11. - * calendar/icalendar.el (top-level): Do not require appt. + * net/tramp.el (tramp-open-connection-setup-interactive-shell): + Pacify byte compiler. - * mail/supercite.el (sc-select-attribution): Only use a list - element from sc-attrib-selection-list if it returns a string. - Reported by Davide G. M. Salvetti . + * net/trampver.el: Update release number. -2005-05-30 Juanma Barranquero +2007-10-09 Richard Stallman - * thumbs.el (thumbs-thumbname): The resulting thumbname now - includes a hash value to improve its uniqueness, and has a ".jpg" - extension. Also, it is now a valid filename on all systems. - (thumbs-make-thumb): Use `let', not `let*'. - (thumbs-show-thumbs-list): Check for JPEG availability. + * play/gamegrid.el (gamegrid-setup-default-font): Use face-spec-set. -2005-05-30 Richard M. Stallman +2007-10-09 Juanma Barranquero - * filesets.el (filesets-menu-ensure-use-cached): - Prevent warning when emacs-version>= is undefined. + * follow.el: Require easymenu. + (follow-mode-hook, follow-mode): Doc fixes. + (follow-mode-off-hook): Mark as obsolete. - * printing.el (pr-interactive-n-up): Use string-to-number. +2007-10-08 Martin Rudalics - * emulation/tpu-mapper.el: Use eval-buffer, not eval-current-buffer. + * window.el (mouse-autoselect-window-cancel): Don't cancel for + select-window or select-frame events. + (handle-select-window): When autoselecting window set input + focus. Restructure. - * emacs-lisp/bytecomp.el (byte-compile-nogroup-warn): - Warn only when name to be defined is quoted. + * frame.el (focus-follows-mouse): Move to frame.c. + * cus-start.el (all): Add focus-follows-mouse. -2005-05-30 Nick Roberts +2007-10-08 Juanma Barranquero - * progmodes/gdb-ui.el (gdb-toggle-breakpoint): - Make regexp more robust. - (gdb-display-assembler-buffer, gdb-frame-assembler-buffer): - Force regeneration of disassembly. + * bs.el (bs-mode): Make sure global-font-lock-mode doesn't + activate font-locking in the *buffer-selection* buffer. + (bs-show-sorted): Doc fix. -2005-05-29 Jay Belanger + * bs.el (bs--get-marked-string, bs--get-modified-string) + (bs--get-readonly-string, bs--get-size-string, bs--get-name) + (bs--get-mode-name, bs-mode): Fix typos in docstrings. + (bs--format-aux): Doc fix. - * calc/calc.el (calc-user-invocation): Check if - calc-invocation-macro is non-nil. +2007-10-08 Micha,Ak(Bl Cadilhac -2005-05-29 Juri Linkov + * progmodes/gud.el (gud-gud-gdb-command-name): Fix typo in docstring. - * add-log.el (change-log-font-lock-keywords): - Add `+' to e-mail regexp to accept mail address with keywords. +2007-10-08 Nick Roberts - * man.el (Man-name-regexp): Add `:' to accept qualified names. + * progmodes/gud.el (gud-gud-gdb-command-name): New option. + (gud-gdb): New function for old M-x gdb (text command mode). + (gud-gdb-command-name, gdb): Move to... -2005-05-29 Luc Teirlinck + * progmodes/gdb-ui.el: ...here and adapt doc string. + (gud-gdba-command-name, gdba): Delete. - * progmodes/inf-lisp.el (inferior-lisp-mode): Use delay-mode-hooks. +2007-10-08 Juanma Barranquero - * ielm.el (inferior-emacs-lisp-mode): Ditto. + * bs.el: Don't defvar `font-lock-verbose'. + (bs-config-clear, bs-kill, bs-string-show-normally, bs-sort-functions) + (bs--get-file-name): Fix typos in docstrings. + (bs--show-header): Use `dolist' instead of `mapcar'. + (bs-mode): Set `show-trailing-whitespace' to nil. + (bs-buffer-sort-function, bs-mouse-select-other-frame) + (bs-visits-non-file, bs-sort-buffer-interns-are-last, bs-show): + Doc fixes. -2005-05-29 Richard M. Stallman +2007-10-08 Adam Hupp (tiny change) - * textmodes/flyspell.el (flyspell-auto-correct-previous-word): - Undo the change that moves to end of the current word. + * progmodes/gdb-ui.el (pdb): Specify file for gud-break. -2005-05-29 Nick Roberts +2007-10-08 Nick Roberts - * progmodes/gdb-ui.el (gdb-memory-set-repeat-count): - Throw error when count <= 0 to ensure input is a number. - (gdb-read-memory-custom): Pick up address from buffer. - (gdb-memory-mode): Allow user to increment and decrement - memory address from header line. + * progmodes/gud.el (gdb): Make graphical mode the default and + switch to text command mode if appropriate, i.e., reverse previous + arrangement. + (gud-gdb-marker-filter): Adapt for above change. -2005-05-29 Richard M. Stallman + * progmodes/gdb-ui.el (gdb-init-1): Don't set the values + gud-minor-mode and gud-marker-filter. + (gdb-fullname-regexp): New variable. + (gud-gdba-marker-filter): Use it to switch to text command + mode if appropriate. - * textmoddes/flyspell.el (flyspell-version): Function deleted. - (flyspell-auto-correct-previous-hook): Doc fix. +2007-10-08 Nick Roberts - * jit-lock.el (jit-lock-function, jit-lock-after-change): - Do nothing if memory is full. + * progmodes/gud.el (gud-display-line): Find source buffer even when + GUD buffer has its own frame. - * font-lock.el (font-lock-fontify-syntactically-region): - Pass t for GREEDY to looking-back. +2007-10-08 Jan Dj,Ad(Brv - * saveplace.el (save-place-alist-to-file): Write the file - using write-region. + * term/x-win.el (icon-map-list): Set to nil for 22.1 compatibility. - * subr.el (looking-back): New argument GREEDY. +2007-10-08 Jan Dj,Ad(Brv - * progmodes/compile.el (compilation-start): Set the mode - before inserting the initial text. + * term/x-win.el (x-gtk-stock-map): Version is 22.2. - * progmodes/which-func.el (which-func-update-1): Turn the mode - off in case of error by setting which-func-mode. +2007-10-08 Martin Rudalics -2005-05-29 Peter Heslin (tiny change) + * allout.el (allout-before-change-handler): Replace got-char by + goto-char. - * textmodes/flyspell.el (flyspell-auto-correct-previous-word): - Narrow down to what's on the screen, and recenter overlays - at the end of the next word. - -2005-05-29 Manuel Serrano - - * textmodes/flyspell.el (flyspell-emacs, flyspell-use-local-map): - 8Vars moved up. - (flyspell-default-delayed-commands): Add backward-delete-char-untabify. - (flyspell-abbrev-p): Default to nil. - (flyspell-use-global-abbrev-table-p): Doc fix. - (flyspell-large-region): Allow nil as value. - (flyspell-use-meta-tab, flyspell-auto-correct-binding): New variables. - - (mail-mode-flyspell-verify): More robust handling - of `mail-header-separator'. More efficient signature detection. - Allow for regexp metacharacters in message-header-separator. - Adding `To' not to be checked in mail-mode-flyspell-verify. - - (flyspell-prog-mode): Run flyspell-prog-mode-hook. - (flyspell-mouse-map): Bind M-TAB only if flyspell-use-meta-tab. - Bind flyspell-auto-correct-binding. - Bind C-. and C-, . - (flyspell-mode-map): Likewise. - (flyspell-mode): Doc fix. - (flyspell-accept-buffer-local-defs): Preserve current buffer. - (flyspell-mode-on): Bind flyspell-mouse-map and flyspell-mode-map. - (flyspell-word-cache-result): New var, always local. - (flyspell-check-pre-word-p): Doc fix. - (flyspell-check-changed-word-p): Handle spc like newline. - (flyspell-post-command-hook): Set flyspell-word-cache-result. - (flyspell-word-search-backward, flyspell-word-search-forward): - New functions. - (flyspell-word): Return t if nothing to check. - When parsing TeX code, check for after } or \. - Use flyspell-word-search-backward to find previous word. - Return nil if duplicated word. - For word already checked, return same value as last time. - Set flyspell-word-cache-result after checking. - Don't clobber the return value. - (flyspell-get-word): Major rewrite. - (flyspell-external-point-words): New locals pword, pcount. - Fix size used in progress message. - Find the proper corresponding word in flyspell-large-region-buffer. - (flyspell-region): Check for flyspell-large-region = nil. - (flyspell-highlight-incorrect-region): Clean up overlays in region. - (flyspell-auto-correct-word): Check that WORD is a cons. - (flyspell-correct-word): Likewise. +2007-10-08 Stefan Monnier -2005-05-29 Daniel Pfeiffer + * vc-svn.el (vc-svn-resolve-when-done, vc-svn-find-file-hook): New funs. + Used to try and automatically enabled smerge-mode in the presence of + conflicts and to call `svn resolved' when the conflicts are gone. + (vc-svn-parse-status): Remember the svn-specific status. - * progmodes/make-mode.el (makefile-rule-action-regex) - (makefile-macroassign-regex, makefile-makepp-mode) - (makefile-bsdmake-mode): Continuation lines may be empty. - Reported by Joshua Varner. - (makefile-makepp-font-lock-keywords): Add $(stem). +2007-10-08 Eli Zaretskii -2005-05-28 Karl Berry + * menu-bar.el (menu-bar-search-documentation-menu): Rename from + menu-bar-apropos-menu. All users changed. + (menu-bar-help-menu): Change menu symbols to better match the text + displayed by the menu. - * textmodes/tex-mode.el: Now that tex-send-command calls - shell-quote-argument (2005-03-31 change), remove all calls to - shell-quote-argument; they all end up invoking tex-send-command. - The double quoting loses on filenames with non-safe characters, - such as "@". Reported by Frederik Fouvry. +2007-10-08 Dan Nicolaescu -2005-05-29 Nick Roberts + * files.el (file-name-sans-versions): Use [:alnum:] and also allow + #, @, : and ^. - * progmodes/gdb-ui.el (gdb-assembler-custom): Be more careful - about preserving point. +2007-10-08 Dan Nicolaescu -2005-05-27 Jay Belanger + * pcvs-defs.el (cvs-mode-map): Bind TAB and backtab. - * calc/calc-misc.el (calc-info-goto-node): Use info instead of - Info-goto-node. + * log-view.el (log-view-mode-map): Likewise. - * calc/calc-embed.el (calc-embed-arg): New variable. - (calc-do-embedded-activate, calc-embedded-activate-formula) - (calc-embedded-edit, calc-do-embedded-activate): Replace undeclared - variable by new variable. - (calc-embedded-make-info): Replace undeclared variable by new - variable. When selecting region with positive prefix - argument, use end of previous line instead of beginning of line. + * diff-mode.el (diff-mode-shared-map): Likewise. - * calc/calc-aent.el (calc-arg-values): Declare it. +2007-10-08 Dan Nicolaescu - * calc/calc-ext.el (calc-help-map, calc-alg-map, calc-alg-esc-map): - Declare them. + * files.el (file-name-sans-versions): Also allow `A-Z'. - * calc/calc-stuff.el (math-decls-cache-tag): Declare it. + * vc.el: Mention all supported VC backends. - * calc/calc.el (calc-alg-map): Declare it. +2007-10-08 Richard Stallman - * calc/calcalg2.el (math-decls-cache, math-decls-all): Declare them. + * wid-edit.el (widget-specify-button): Don't merge mouse-face with + neighbouring buttons. -2005-05-28 Nick Roberts +2007-10-08 Andreas Schwab - * progmodes/gdb-ui.el (gdb-all-registers): New variable. - (gdb-registers-buffer, toggle-gdb-all-registers): - Toggle display of floating point registers. - (gdb-registers-mode-map): Bind SPC to toggle-gdb-all-registers. - - * progmodes/gud.el (gud-goto-info): Use info. Don't use require. - (toggle-gud-tooltip-dereference): - Rename from gud-toggle-tooltip-dereference. - -2005-05-27 Stefan Monnier - - * info.el (Info-goto-node): Revert autoload addition (2004-06-12). - -2005-05-27 Jay Belanger - - * calc/calc-prog.el (calc-kbd-report): Remove. - (calc-kbd-query): Rewrite. - -2005-05-27 Juanma Barranquero - - * image.el (image-library-alist): Move to image.c. - (image-type-available-p): Doc fix. - -2005-05-27 Lute Kamstra - - * calc/calc.el (calc): - * outline.el (outline-1, outline-2, outline-3, outline-4) - (outline-5, outline-6, outline-7, outline-8): - * textmodes/dns-mode.el (dns-mode): - * textmodes/sgml-mode.el (sgml-namespace-face): - * textmodes/tex-mode.el (superscript, subscript, tex-math-face) - (tex-verbatim-face, tex-use-reftex): - * textmodes/texinfo.el (texinfo-heading-face): - Specify customization group. - - * longlines.el: Don't require easy-mmode. - (longlines-visible-face): Specify customization group. - -2005-05-27 Kenichi Handa - - * language/cyrillic.el: Add cyrillic-iso8859-5 characters in the - encoding table of windows-1251. - - * international/ucs-tables.el (ucs-set-table-for-input): - If translation-table-for-input of a coding system is a symbol, get - its translation-table property. - - * international/code-pages.el: Don't register a coding system into - non-iso-charset-alist more than once. - (cp-make-coding-system): Likewise. - -2005-05-26 John Wiegley - - * eshell/esh-cmd.el (eshell-eval-command): If the return value of - `eshell-resume-eval' is wrapped in a list, it indicates that the - command was run asynchronously. In that case, unwrap the value - before checking the delimiter value. - - * eshell/em-cmpl.el (eshell-complete-parse-arguments): If the - character before a space at the end of a line is \, assume the space - is part of the last argument rather than a final argument separator. - - * eshell/esh-io.el (eshell-get-target): If `eshell-buffer-shorthand' - is in use, and the target is `t' or `nil' (which are the most common - values), don't assume that the symbol target is a buffer. - -2005-05-26 Luc Teirlinck - - * calendar/calendar.el (calendar-mode-line-format): - Use mode-line-highlight as mouse-face. - - * time.el (display-time-string-forms, display-time-update): - Use mode-line-highlight as mouse-face. - -2005-05-26 Jay Belanger - - * calc/calc.el (calc-language-alist): Remove extra defvar. - -2005-05-26 Lute Kamstra - - * arc-mode.el (archive-mode): - * bookmark.el (bookmark-read-annotation-mode) - (bookmark-edit-annotation-mode, bookmark-bmenu-mode): - * bs.el (bs-mode): - * calc/calc-yank.el (calc-edit-mode): - * calc/calc.el (calc-mode, calc-trail-mode): - * calculator.el (calculator-mode): - * chistory.el (command-history-mode): - * comint.el: - * cus-edit.el (custom-mode): - * descr-text.el (describe-text-mode): - * ebuff-menu.el (Electric-buffer-menu-mode): - * ediff-util.el (ediff-mode): - * emacs-lisp/re-builder.el (reb-mode): - * emulation/vi.el (vi-mode-setup): - * emulation/ws-mode.el (wordstar-mode): - * eshell/esh-mode.el (eshell-mode): - * forms.el (forms-mode): - * help-mode.el (help-mode): - * hexl.el (hexl-mode): - * ibuffer.el (ibuffer-mode): - * ielm.el (inferior-emacs-lisp-mode): - * info.el (Info-mode, Info-edit-mode): - * international/swedish.el: - * ledit.el (ledit-from-lisp-mode): - * locate.el (locate-mode): - * mail/rmail.el (rmail-mode): - * mail/rmailedit.el (rmail-edit-mode): - * mail/rmailsum.el (rmail-summary-mode): - * mail/supercite.el (sc-electric-mode): - * net/eudc.el (eudc-mode): - * net/quickurl.el (quickurl-list-mode): - * net/snmp-mode.el (snmp-mode, snmpv2-mode): - * obsolete/ooutline.el (outline-mode): - * obsolete/options.el (Edit-options-mode): - * obsolete/rnews.el (news-mode): - * obsolete/rnewspost.el (news-reply-mode): - * play/5x5.el (5x5-mode): - * play/decipher.el (decipher-mode, decipher-stats-mode): - * play/gomoku.el (gomoku-mode): - * play/snake.el (snake-mode): - * play/solitaire.el (solitaire-mode): - * play/tetris.el (tetris-mode): - * progmodes/ada-mode.el (ada-mode): - * progmodes/antlr-mode.el (antlr-mode): - * progmodes/autoconf.el (autoconf-mode): - * progmodes/dcl-mode.el (dcl-mode): - * progmodes/delphi.el (delphi-mode): - * progmodes/ebrowse.el (ebrowse-tree-mode) - (ebrowse-electric-list-mode, ebrowse-member-mode) - (ebrowse-electric-position-mode): - * progmodes/f90.el (f90-mode): - * progmodes/fortran.el (fortran-mode): - * progmodes/icon.el (icon-mode): - * progmodes/idlw-help.el (idlwave-help-mode): - * progmodes/idlw-shell.el (idlwave-shell-mode): - * progmodes/idlwave.el (idlwave-mode): - * progmodes/inf-lisp.el (inferior-lisp-mode): - * progmodes/m4-mode.el (m4-mode): - * progmodes/meta-mode.el (metafont-mode, metapost-mode): - * progmodes/modula2.el (modula-2-mode): - * progmodes/octave-inf.el (inferior-octave-mode): - * progmodes/octave-mod.el (octave-mode): - * progmodes/pascal.el (pascal-mode): - * progmodes/sh-script.el (sh-mode): - * progmodes/sql.el (sql-mode, sql-interactive-mode): - * progmodes/vhdl-mode.el (vhdl-mode): - * progmodes/xscheme.el (scheme-interaction-mode): - * replace.el (occur-mode): - * ses.el (ses-mode): - * simple.el (completion-list-mode): - * skeleton.el: - * speedbar.el (speedbar-mode): - * term.el (term-mode): - * terminal.el (terminal-edit-mode): - * textmodes/reftex-index.el (reftex-index-mode) - (reftex-index-phrases-mode): - * textmodes/reftex-sel.el (reftex-select-label-mode) - (reftex-select-bib-mode): - * textmodes/reftex-toc.el (reftex-toc-mode): - * wdired.el (wdired-change-to-wdired-mode): - * wid-browse.el (widget-browse-mode): - Use run-mode-hooks. - - * array.el (array-mode): - * calendar/todo-mode.el (todo-mode): - * man.el (Man-mode): - * play/landmark.el (lm-mode): - * play/mpuz.el (mpuz-mode): - Use kill-all-local-variables and run-mode-hooks. - - * subr.el (delay-mode-hooks): Specify indentation. - -2005-05-26 Mark A. Hershberger - - * xml.el (xml-substitute-special): Don't die for undefined xml - entities. - -2005-05-26 Jay Belanger - - * calc/calc-prog.el (calc-user-define-edit): Don't find substring - of nil. - -2005-05-27 Nick Roberts - - * progmodes/gdb-ui.el (gdb-frame-address): - Rename from gdb-current-address. - (gdb-previous-frame-address): Rename from gdb-previous-address. - (gdb-selected-frame): Rename from gdb-current-frame. - (gdb-get-selected-frame): Rename from gdb-get-current-frame. - (gdb-frame-number): Rename from gdb-current-stack-level. - (gdb-ann3): Match new mode-name for disassembly buffer. - Extend initialization of variables. - (gdb-post-prompt): Update disassembly from gdb-frame-handler. - (gdb-memory-mode): Use mouse-face in header line. - (gdb-assembler-buffer-name): Call it disassembly and give frame - in mode line. - (gdb-source-spec-regexp, gdb-assembler-custom) - (gdb-invalidate-assembler, gdb-frame-handler): - Make robust to leading zeroes in address format. - -2005-05-26 Carsten Dominik - - * textmodes/org.el (org-mode): Use `define-derived-mode' to - define `org-mode'. - (org-agenda-mode): Use `run-mode-hooks' instead of `run-hooks'. - -2005-05-26 Stefan Monnier - - * log-edit.el (log-edit-changelog-entries): Distinguish between - filenames like xfns.c and fns.c. - -2005-05-25 Luc Teirlinck - - * buff-menu.el (Buffer-menu-revert-function): Improve handling of - point after reverting. - (Buffer-menu-make-sort-button): Handle the case where - `Buffer-menu-use-header-line' is nil. - -2005-05-25 Thien-Thi Nguyen - - * vms-patch.el (vms-magic-right-square-brace, vms-magic-colon): - New funcs. In minibuffer-local-completion-map bind `]', `/' - and `:' to them. - -2005-05-25 Stefan Monnier - - * startup.el (normal-top-level): Allow modification of load-path while - we're iterating over it. - -2005-05-25 Juanma Barranquero - - * thumbs.el (thumbs-thumbsdir-max-size, thumbs-temp-file) - (thumbs-cleanup-thumbsdir, thumbs-call-convert) - (thumbs-resize-interactive, thumbs-insert-image) - (thumbs-insert-thumb, thumbs-dired-show-marked) - (thumbs-find-image-at-point, thumbs-delete-images) - (thumbs-rename-images, thumbs-next-image, thumbs-dired-setroot) - (thumbs-increment-image-size, thumbs-decrement-image-size): - Fix typos in docstrings. + * files.el (file-name-sans-versions): Also allow `_'. -2005-05-24 Andre Spiegel +2007-10-08 Dan Nicolaescu - * progmodes/cperl-mode.el (cperl-vc-header-alist): Obsolete. - (cperl-vc-rcs-header, cperl-vc-sccs-header): New user options. - (cperl-mode): Use them. + * files.el (file-name-sans-versions): Allow - and a-z in version names. -2005-05-24 Juanma Barranquero + * log-view.el (log-view-mode-map, log-view-mode-menu): + Bind log-view-annotate-version. + (log-view-beginning-of-defun, log-view-end-of-defun) + (log-view-annotate-version): New functions. + (log-view-mode): Use log-view-beginning-of-defun and + log-view-end-of-defun. - * window.el (quit-window, shrink-window-if-larger-than-buffer): - Doc fixes. +2007-10-08 Stefan Monnier -2005-05-24 Nick Roberts + * emacs-lisp/easy-mmode.el (define-minor-mode): Fix staging. - * progmodes/gdb-ui.el (gdb-inferior-io-mode-map): - Bind C-d to gdb-inferior-io-eof. +2007-10-08 Stefan Monnier - * dired.el (dired-dnd-popup-notice): Use message-box. + * wid-edit.el (widget-image-insert): Don't merge mouse-face with + neighbouring buttons. -2005-05-23 Masatake YAMATO + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Recognize gcc's use of "note" for informational messages. - * bindings.el (mode-line-major-mode-keymap): - Bind [mode-line down-mouse-1] to `mouse-major-mode-menu'. +2007-10-08 Stefan Monnier - * faces.el (mode-line-highlight): New face. + * textmodes/css-mode.el (css-electric-keys): electrick->electric. + (css-mode): Update correspondingly. - * ruler-mode.el (ruler-mode-ruler): Use mode-line-highlight - as mouse-face. +2007-10-08 Dan Nicolaescu - * bindings.el (top-level, help-echo, mode-line-modified) - (mode-line-mule-info, mode-line-eol-desc): Use mode-line-highlight - as mouse-face. + * vc-git.el (vc-git-log-view-mode): Add font-lock patterns for + Signed-off-by, Acked-by and Merge. -2005-05-23 Juanma Barranquero +2007-10-08 Stefan Monnier - * progmodes/cc-engine.el (c-guess-basic-syntax): - Remove spurious call to `zerop'. + * ediff-init.el (ediff-verbose-p): This var is not a constant. - * emacs-lisp/cl.el (acons, pairlis): Add docstring. +2007-10-08 Stefan Monnier -2005-05-23 Martin Stjernholm + * vc-mtn.el: New file. - CC Mode update to 5.30.10: + * vc-hooks.el (vc-handled-backends): Add Mtn. - * progmodes/cc-fonts.el (c-font-lock-declarators): Fix bug where - the point could go past the limit in decoration level 2, thereby - causing errors during interactive fontification. +2007-10-08 Eli Zaretskii - * progmodes/cc-mode.el (c-make-inherited-keymap): Fix cc-bytecomp - bug when the file is evaluated interactively. + * files.el (find-file, find-file-other-window) + (find-file-other-frame, find-file-existing, find-file-read-only) + (find-file-read-only-other-window) + (find-file-read-only-other-frame) + (find-alternate-file-other-window, find-alternate-file): Doc fixes. - * progmodes/cc-engine.el (c-guess-basic-syntax): Handle operator - declarations somewhat better in C++. +2007-10-08 Nick Roberts - * progmodes/cc-styles.el, cc-mode.el (c-run-mode-hooks): - New helper macro to make use of `run-mode-hooks' - which has been added in Emacs 21.1. - (c-mode, c++-mode, objc-mode, java-mode, idl-mode, pike-mode) - (awk-mode): Use it. - (make-local-hook): Suppress warning about obsoleteness. + * progmodes/gud.el (gdb-ready): New variable. + (gdb): Set it to nil. Set gud-running to nil here... + (gud-common-init): ...instead of here. - * progmodes/cc-engine.el, cc-align.el, cc-cmds.el - (c-append-backslashes-forward, c-delete-backslashes-forward) - (c-find-decl-spots, c-semi&comma-no-newlines-before-nonblanks): - Compensate for return value from `forward-line' when it has moved - but not to a different line due to eob. + * progmodes/gdb-ui.el (gdba, gdb-send, gdb-source-info): + Use gdb-ready. Discard input until GDB is ready to accept it. - * progmodes/cc-engine.el (c-guess-basic-syntax): Fix anchoring in - `objc-method-intro' and `objc-method-args-cont'. +2007-10-08 Martin Rudalics -2005-05-23 Alan Mackenzie + * dired.el (dired-warning): Inherit from font-lock-warning-face to + make it show up with eight colors. - CC Mode update to 5.30.10: +2007-10-08 Stefan Monnier - * progmodes/cc-mode.el, cc-engine.el, cc-align.el: Change the FSF's - address in the copyright statement. Incidentally, change "along with - GNU Emacs" to "along with this program" where it occurs. + * diff-mode.el (diff-sanity-check-hunk): Fix up the case when unified + diffs are concatenated with no intervening line. - * progmodes/cc-mode.el: Add a fourth parameter `t' to the awk-mode - autoload, so that it is interactive, hence can be found by M-x awk-mode - whilst cc-mode is yet to be loaded. Reported by Glenn Morris - . +2007-10-08 Dave Love - * progmodes/cc-awk.el: Add character classes (e.g. "[:alpha:]") into AWK - Mode's regexps. + * progmodes/python.el: Merge changes from Dave Love's v2007-Sep-10. + (python-font-lock-keywords): Update to the 2.5 version of the language. + (python-quote-syntax): Let-bind font-lock-syntactic-keywords to nil. + (python-backspace): Only behave funny in code. + (python-compilation-regexp-alist): Add PDB stack trace regexp. + (inferior-python-mode): Add PDB prompt regexp. + (python-fill-paragraph): Refine the fenced-string regexp. + (python-find-imports): Handle imports spanning several lines. + (python-mode): Add `class' to hideshow support. -2005-05-23 Kevin Ryde +2007-10-08 Stefan Monnier - * progmodes/cc-align.el (c-lineup-argcont): Ignore conses for {} pairs - from c-parse-state, to avoid a lisp error (on bad code). + * pcvs.el (cvs-mode-add-change-log-entry-other-window): + Use add-log-buffer-file-name-function rather than binding + buffer-file-name, so we don't end up calling change-log-mode in *cvs* + when `fi' is the ChangeLog file itself. -2005-05-23 Lute Kamstra + * outline.el (outline-flag-region): Use front-advance. - * subr.el (font-lock-defaults): Remove defvar as it's already - defined in font-core.el. +2007-10-08 Ilya Zakharevich - * font-lock.el (font-lock-beginning-of-syntax-function): Fix docstring. + * progmodes/cperl-mode.el: Merge upstream 5.23. + (cperl-where-am-i): Remove function. + (cperl-backward-to-noncomment): Don't go too far when skipping POD/HEREs + (cperl-sniff-for-indent): De-invert [string] and [comment]. + When looking for label, skip s:m:y:tr. + (cperl-indent-line): Likewise. + (cperl-mode): Don't assume `font-lock-multiline' is auto-local. + (cperl-windowed-init): Wrong `ps-print' handling. + Both thanks to Chong Yidong. + (cperl-look-at-leading-count): Could fail with unfinished RExen. + (cperl-find-pods-heres): If the second part of s()[] is missing, + don't try to highlight delimiters... -2005-05-23 Nick Roberts +2007-10-08 Stefan Monnier - * progmodes/gdb-ui.el (gdb-info-locals-handler): Make regexps - more general and work when GDB variable "print pretty" is on, - as with Emacs, for example. + * progmodes/compile.el (compilation-get-file-structure): Complete last + change by also using spec-directory in the puthash. -2005-05-22 Luc Teirlinck +2007-10-08 Riccardo Murri - * font-core.el: Update comment. + * vc-bzr.el (vc-bzr-file-name-relative): Use 'when' instead of 'and'. + (vc-bzr-status): Fix shadowing of variable 'status'. + (vc-bzr-workfile-version): Use correct path to 'last-revision' file. + Use `expand-file-name' instead of `concat'. + (vc-bzr-annotate-command): Use option name '--long' instead of '-l'. + Update annotation line regexp. Fixes launchpad.net [Bug 137435]. - * emacs-lisp/easy-mmode.el (define-global-minor-mode): - Use `after-change-major-mode-hook' instead of `find-file-hook'. +2007-10-08 Jason Rumney - * buff-menu.el (Buffer-menu-mode): Use `run-mode-hooks'. + * frame.el (focus-follows-mouse): Doc-fix. Change default on w32. -2005-05-22 Eli Zaretskii +2007-10-08 Richard Stallman - * simple.el (yank, yank-pop): Mention `yank-excluded-properties' - and `yank-handler' in the doc strings. + * emacs-lisp/lisp-mode.el (lisp-indent-offset): Make defcustom. + Add `safe-local-variable' property. + (lisp-body-indent): Likewise. -2005-05-22 Stefan Monnier +2007-10-08 Richard Stallman - * emacs-lisp/cl.el (eql): Remove. It's a builtin already. + * files.el (hack-local-variables-confirm): Rename arg VARS to ALL-VARS. + Add doc string. -2005-05-22 Richard M. Stallman +2007-10-08 Martin Rudalics - * help.el (describe-key): Move print-help-return-message call - out of conditional. + * files.el (backup-buffer-copy): Try to overwrite old backup first. - * progmodes/etags.el (list-tags): Use with-no-warnings. +2007-10-08 Martin Rudalics - * mail/smtpmail.el (smtpmail-open-stream): Use with-no-warnings. - (smtpmail-send-queued-mail): Avoid beginning-of-buffer. - (starttls-extra-args, starttls-extra-arguments): Add defvars. + * repeat.el (repeat): Use last-repeatable-command instead of + real-last-command. Run pre- and post-command hooks for + self-insertion. Update doc-string. - * mail/mailalias.el (mail-get-names): Avoid beginning-of-buffer. +2007-10-08 Alexandre Julliard - * language/viet-util.el (viet-viscii-nonascii-translation-table): - Add defvar. + * vc-git.el (vc-git-state): Call git-add --refresh to update the + state of the file. + (vc-git-workfile-unchanged-p): Delegate implementation to vc-git-state. + (vc-git-create-repo): Fix invalid command. - * emulation/viper-ex.el (viper-ex-work-buf, viper-ex-print-buf): - Use defvar, not defconst. +2007-10-08 Richard Stallman - * hexl.el (hexl-follow-line): Use with-no-warnings. + * textmodes/flyspell.el (flyspell-mode): + Catch errors in flyspell-mode-on. - * emulation/tpu-extras.el: Use write-file-functions instead of - write-file-hooks. +2007-10-09 Juanma Barranquero - * dired.el (dired-font-lock-keywords): Fontify files with junk - extensions even if marked by -F. + * term/x-win.el (x-alternatives-map): Remove spurious parenthesis. -2005-05-22 Juanma Barranquero +2007-10-09 Stefan Monnier - * emacs-lisp/cl.el (pushnew, cl-macroexpand, floatp-safe, plusp) - (minusp, oddp, evenp, mapcar*, list*, copy-list, adjoin, subst): - * emacs-lisp/cl-extra.el (coerce, map, maplist, cl-mapc, mapl) - (mapcan, mapcon, some, every, notany, notevery, signum, isqrt) - (concatenate, list-length, get*, getf, cl-remprop): - * emacs-lisp/cl-macs.el (function*, case, ecase, typecase) - (etypecase, progv, lexical-let, lexical-let*) - (multiple-value-bind, multiple-value-setq, shiftf): - Improve argument/docstring consistency. + * international/encoded-kb.el (encoded-kbd-setup-display): + Use input-decode-map rather than local-key-translation-map. - * subr.el (focus-frame, unfocus-frame): Revert deletion on 2005-05-01. + * term/rxvt.el (rxvt-alternatives-map): New map. + (terminal-init-rxvt): Use it. + Bind rxvt-function-map in input-decode-map. -2005-05-22 Andre Spiegel + * term/xterm.el (xterm-alternatives-map): New map. + (terminal-init-xterm): Use it. + Bind xterm-function-map in input-decode-map. - * vc-cvs.el (vc-cvs-checkout-model): Handle the case where FILE - doesn't exist. + * term/x-win.el (x-alternatives-map): New var. + (x-setup-function-keys): Use it. - * vc.el (vc-trunk-p): Add autoload cookie. The function is used in - vc-rcs.el when vc-mistrust-permissions is t, which is not the default. + * help-fns.el (describe-variable): Slightly change the layout of + meta-info to separate it better from the docstring. + Standardize insertion of extra empty lines in various circumstances. -2005-05-22 Nick Roberts + * diff-mode.el (diff-hunk-style): New fun. + (diff-end-of-hunk): Use it. + (diff-context->unified): Use the new `apply' undo element, + if applicable, so as to save undo-log space. + (diff-fine-change): New face. + (diff-fine-highlight-preproc): New function. + (diff-fine-highlight): New command. + (diff-mode-map, diff-mode-menu): Add diff-fine-highlight. - * emacs-lisp/bytecomp.el: Remove make-obsolete-variable for - already deleted variables: auto-fill-hook, blink-paren-hook, - lisp-indent-hook, inhibit-local-variables, unread-command-event, - suspend-hooks, comment-indent-hook, meta-flag, - before-change-function, after-change-function, - font-lock-doc-string-face. + * smerge-mode.el (smerge-refine-chopup-region): Add `preproc' argument. + (smerge-refine-highlight-change): Add `props' argument. + (smerge-refine-subst): New function holding most of smerge-refine. + (smerge-refine): Use it. -2005-05-21 Luc Teirlinck +2007-10-08 Eric S. Raymond - * emacs-lisp/derived.el (define-derived-mode): Doc fix. + * vc.el (vc-default-wash-log): Remove unused code, the + log washers all live in the backends now. + (vc-default-comment-history): Correct for the fact + that wash-log is argumentless in the new API. -2005-05-21 Eli Zaretskii +2007-10-08 Michael Albinus - * mail/rmail.el (rmail-reply): Filter the list in reply-to through - rmail-dont-reply-to. + * net/tramp.el (tramp-find-foreign-file-name-handler): Check also host. + (tramp-maybe-send-script): Apply `member' but `memq'. + (tramp-advice-file-expand-wildcards): Simplify implementation. -2005-05-21 Frederik Fouvry +2007-10-08 Juanma Barranquero - * mail/sendmail.el (mail-send): Use [[:space:]] instead of a - literal blank when splitting new-header-values. + * follow.el (follow-mode): Don't run hooks twice. Use `when'. -2005-05-21 Matt Hodges + * mb-depth.el (minibuf-depth-indicator-function): New variable. + (minibuf-depth-setup-minibuffer): Use it. - * calendar/cal-menu.el (cal-menu-update): Add separator as a - string so that tmm doesn't create a completion entry for it. +2007-10-07 Glenn Morris - * textmodes/table.el (table-disable-menu): Ditto. + * simple.el (bad-packages-alist): Clarify Semantic and CEDET + version numbers. -2005-05-21 Richard M. Stallman +2007-10-06 Juri Linkov - * progmodes/idlwave.el (idlwave-doc-header): Use insert-file-contents. + * textmodes/fill.el (fill-paragraph-or-region): New function. - * progmodes/flymake.el (flymake-makehash): Use with-no-warnings. + * bindings.el (esc-map): Bind M-q to fill-paragraph-or-region + instead of fill-paragraph. - * net/rcompile.el (remote-compile): Use compilation-start. + * tutorial.el (tutorial--default-keys): Replace fill-paragraph + with fill-paragraph-or-region. Suspend command is now the same + `suspend-frame' on window systems and on tty. - * tmm.el (tmm-shortcut): Avoid using beginning-of-buffer. + * image.el (image-type): Check if image-types is bound to not fail + on tty. -2005-05-21 Daniel Pfeiffer + * delsel.el (delete-selection-pre-hook): + * emulation/cua-base.el (cua-paste): Check if mouse-region-match + is fbound to not fail on mouseless tty. - * files.el (auto-mode-alist): Check GNUmakefile before makefile. - Default to makefile-bsdmake-mode on BSD systems. +2007-10-06 Michael Albinus - * imenu.el (imenu-generic-expression, imenu--generic-function'): - REGEXP may also be a search function now. The part of doc-string - for describing the structure was 95% identical to that of - `imenu--generic-function'. Unify it there. + * net/tramp.el (top): Move loading of tramp-util.el and + tramp-vc.el to tramp-compat.el. + (tramp-make-tramp-temp-file): Complete rewrite. Create remote + temporary file if possible, in order to avoid a security hole. + (tramp-do-copy-or-rename-file-out-of-band) + (tramp-maybe-open-connection): Call `tramp-make-tramp-temp-file' + with DONT-CREATE, because the connection is not setup yet. + (tramp-handle-process-file): Rewrite temporary file handling. + (tramp-completion-mode): New defvar. + (tramp-completion-mode-p): Use it. - * progmodes/make-mode.el (makefile-imenu-generic-expression): - Use function to find dependencies, because regexp alone is so complex, - it easily goes into an endless loop. - (makefile-makepp-mode): Also add submenu for Perl functions - defined in the makefile. - (makefile-bsdmake-mode): Special imenu-generic-expression no - longer needed, due to function call. - (makefile-match-dependency): Take BOUND into account when checking - if we're through. + * net/tramp-compat.el (top): Load tramp-util.el and tramp-vc.el. -2005-05-20 Jay Belanger + * net/tramp-fish.el (tramp-fish-handle-process-file): + Rewrite temporary file handling. - * calc/calc-units.el (calc-invalidate-units-table): - Use inhibit-read-only. - (math-build-units-table-buffer): Use view-mode. +2007-10-06 Eric S. Raymond -2005-05-20 David Kastrup - - * emacs-lisp/easymenu.el (easy-menu-add): Correct docstring since - easy-menu-add is not a nop on Emacs; and clarify when to call it. - -2005-05-20 Lute Kamstra - - * diff-mode.el (diff-header-face, diff-file-header-face) - (diff-index-face, diff-hunk-header-face, diff-removed-face) - (diff-added-face, diff-changed-face, diff-function-face) - (diff-context-face, diff-nonexistent-face): Put them in the - diff-mode customization group. - -2005-05-20 Stefan Monnier - - * progmodes/vhdl-mode.el (vhdl-font-lock-match-item): Simplify regexp. - - * progmodes/sh-script.el (sh-mode, sh-get-word): Minor regexp fixes. - - * font-lock.el (lisp-font-lock-keywords-2): Don't error. - Minor regexp-optimization. - -2005-05-20 Carsten Dominik + * vc.el: Workfile version -> focus version change. Port various + comments from new VC to reduce the noise in the diff. + Patch in the new vc-create-repo function to go with the + header comment about it already present. + There are no changes to existing logic in this patch. + (vc-revert-buffer1): Rename to vc-revert-buffer-internal. - * textmodes/org.el (org-agenda-toggle-time-grid): New command. - (org-agenda-use-time-grid, org-agenda-time-grid): New options. - (org-agenda-add-time-grid-maybe): New function. - (org-agenda): Call `org-agenda-add-time-grid-maybe'. - (org-table-create): `dotimes' instead of `mapcar'. - (org-xor): Simplify implementation. - (org-agenda): `inhibit-redisplay' turned on. - (org-agenda-change-all-lines): Use `org-format-agenda-item' to get - a consistent line after a state change. - (org-agenda-remove-times-when-in-prefix): New option. - (org-prefix-has-time): New variable. - (org-parse-time-string): Optional argument NODEFAULT. - (org-format-agenda-item): Parse items for time-of-day - specifications and move these into the prefix if possible. - (org-agenda-priority): Get current heading, not previous heading - during agenda remote editing. +2007-10-06 Aaron Hawley -2005-05-20 Juanma Barranquero + * autoinsert.el (auto-insert-alist): Add a Texinfo entry. - * emacs-lisp/cl-seq.el (reduce, fill, replace, remove*) - (remove-if, remove-if-not, delete*, delete-if, delete-if-not) - (remove-duplicates, delete-duplicates, substitute) - (substitute-if, substitute-if-not, nsubstitute, nsubstitute-if) - (nsubstitute-if-not, find, find-if, find-if-not, position) - (position-if, position-if-not, count, count-if, count-if-not) - (mismatch, search, sort*, stable-sort, merge, member*) - (member-if, member-if-not, assoc*, assoc-if, assoc-if-not) - (rassoc*, rassoc-if, rassoc-if-not, union, nunion) - (intersection, nintersection, set-difference, nset-difference) - (set-exclusive-or, nset-exclusive-or, subsetp, subst-if) - (subst-if-not, nsubst, nsubst-if, nsubst-if-not, sublis) - (nsublis, tree-equal): Improve argument/docstring consistency. +2007-10-05 Chris Moore - * subr.el (send-string, send-region): Remove obsolescence declaration. - (window-dot, set-window-dot, read-input, show-buffer) - (eval-current-buffer, string-to-int): - Add release number to obsolescence declarations. + * server.el (server-kill-new-buffers): Doc fix. -2005-05-19 Kim F. Storm +2007-10-05 John W. Eaton + + * progmodes/octave-mod.el (octave-abbrev-table): Add "until". + (octave-begin-keywords): Add "do". + (octave-end-keywords): Remove "end". + (octave-reserved-words): Add "end". Remove "all_va_args", + "gplot", and 'gsplot". + (octave-text-functions): Remove "gset", "gshow", "set", and "show". + (octave-variables): Remove "IMAGEPATH", "INFO_FILE", + "INFO_PROGRAM", "LOADPATH", "__error_text__", "automatic_replot", + "default_return_value", "define_all_return_values", + "do_fortran_indexing", "empty_list_elements_ok", + "gnuplot_has_multiplot", "implicit_str_to_num_ok", + "ok_to_lose_imaginary_part", "prefer_column_vectors", + "prefer_zero_one_indexing", "propagate_empty_matrices", + "resize_on_range_error", "treat_neg_dim_as_zero", + "warn_assign_as_truth_value", "warn_comma_in_global_decl", + "warn_divide_by_zero", "warn_function_name_clash", + "warn_missing_semicolon", "whitespace_in_literal_matrix". + Add "DEFAULT_EXEC_PATH", "DEFAULT_LOADPATH", "IMAGE_PATH", + "crash_dumps_octave_core", "sighup_dumps_octave_core", + "sigterm_dumps_octave_core". + (octave-block-match-alist): Remove "end" from block-end keywords. + (octave-mode): Update ftp site address. + +2007-10-05 Dan Nicolaescu + + * vc.el: Reorder functions, no code changes. + +2007-10-04 Michael Albinus + + * net/tramp.el (tramp-make-temp-file): Move to tramp-compat.el. + (tramp-do-copy-or-rename-file-directly): Handle tmpfile only in + the cond clauses where needed. + (tramp-handle-write-region): Rearrange code for proper handling of + tmpfile. + + * net/tramp-compat.el (tramp-compat-make-temp-file): New defsubst. - * ido.el (ido-magic-forward-char): Enter ido-find-file at end of input. - (ido-magic-backward-char): Enter ido-switch-buffer at start of input. + * net/tramp.el: + * net/tramp-fish.el: + * net/tramp-ftp.el: + * net/tramp-smb.el: Rename `tramp-make-temp-file' to + `tramp-compat-make-temp-file'. -2005-05-20 Matt Hodges - - * faces.el (list-faces-display): Make back button respect optional - regexp arg. - -2005-05-19 Juanma Barranquero - - * calculator.el (calculator-radix-grouping-mode) - (calculator-radix-grouping-digits, calculator-displayer) - (calculator-radix-grouping-separator, calculator-copy-displayer): - * dabbrev.el (dabbrev-search-these-buffers-only): - * diff-mode.el (diff-jump-to-old-file, diff-update-on-the-fly) - (diff-advance-after-apply-hunk, diff-mode-hook) - (diff-minor-mode-prefix): - * imenu.el (imenu-use-popup-menu): - * jit-lock.el (jit-lock-context-time): - * newcomment.el (comment-fill-column, comment-column) - (comment-style, comment-padding, comment-multi-line) - (comment-empty-lines, comment-auto-fill-only-comments): - * reveal.el (reveal-around-mark): - * uniquify.el (uniquify-buffer-name-style) - (uniquify-after-kill-buffer-p) - (uniquify-ask-about-buffer-names-p, uniquify-ignore-buffers-re) - (uniquify-min-dir-content, uniquify-separator) - (uniquify-trailing-separator-p, uniquify-strip-common-suffix): - * w32-vars.el (w32-fixed-font-alist): - * emacs-lisp/testcover.el (testcover-potentially-1value-functions): - * obsolete/rsz-mini.el (resize-minibuffer-frame-max-height): - * progmodes/antlr-mode.el (antlr-font-lock-maximum-decoration): - * progmodes/perl-mode.el (perl-indent-level) - (perl-continued-statement-offset, perl-continued-brace-offset) - (perl-brace-offset, perl-brace-imaginary-offset) - (perl-label-offset, perl-indent-continued-arguments) - (perl-tab-always-indent, perl-tab-to-comment, perl-nochange): - * progmodes/tcl.el (tcl-indent-level) - (tcl-continued-indent-level, tcl-auto-newline) - (tcl-tab-always-indent, tcl-electric-hash-style) - (tcl-help-directory-list, tcl-use-smart-word-finder) - (tcl-application, tcl-command-switches, tcl-prompt-regexp) - (inferior-tcl-source-command): - * textmodes/fill.el (enable-kinsoku): - * textmodes/reftex-vars.el (reftex-index-phrases-wrap-long-lines): - * textmodes/table.el (table-yank-handler): - Specify missing group (and type, if simple) in defcustom. +2007-10-04 Juanma Barranquero -2005-05-19 Luc Teirlinck + * image-dired.el (image-dired-image-at-point-p): Fix typo in docstring. - * progmodes/compile.el (compilation-finish-function): Fix defvar. +2007-10-03 Stefan Monnier -2005-05-19 Richard M. Stallman + * emacs-lisp/copyright.el (copyright-update): Don't update if the file + already uses a more recent copyright version than the "current" one. - * progmodes/make-mode.el (makefile-mode): Use run-mode-hooks. - - * subr.el (event-basic-type): Don't get an error. - (left-fringe-p): Function deleted. - - * buff-menu.el (Buffer-menu-buffer-face): In group Buffer-menu. - (list-buffers-noselect): Set `font-lock-face' property, not `face'. - - * dired-aux.el (dired-copy-file-recursive): Handle symlinks - in recursive copy. - - * frame.el (show-trailing-whitespace): In group `whitespace-faces'. - - * emacs-lisp/byte-run.el (eval-when-compile): Doc fix. +2007-10-03 Micha,Ak(Bl Cadilhac - * emacs-lisp/bytecomp.el - (byte-compile-file-form-custom-declare-variable): - Call byte-compile-nogroup-warn if appropriate. + * doc-view.el (doc-view-dvi->pdf-sentinel, doc-view-reset-slice) + (doc-view-insert-image): Minor aesthetical docstring changes. - * progmodes/compile.el (compilation-finish-function): Mark obsolete. - (compilation-set-window): Don't call left-fringe-p; do it directly. +2007-10-03 Tassilo Horn -2005-05-19 Jay Belanger + * doc-view.el (doc-view): Don't ignore pdf and dvi files when + completing filename. + (doc-view-search-internal): Docstring change. - * calc/calc-graph.el (calc-graph-format-data): Make sure - var-PlotRejects is bound before trying to check its value. +2007-10-03 Michael Albinus -2005-05-19 Carsten Dominik + * net/tramp.el (top): Add tramp-compat to `tramp-unload-hook'. + (tramp-file-name-handler-alist): + Add `tramp-handle-insert-file-contents-literally'. Needed for XEmacs. + (tramp-make-temp-file): Use `make-temp-name'. `make-temp-file', + used before, creates the file already, which is not desired. + (tramp-do-copy-or-rename-file-directly): Simplify handling of + temporary file. + (tramp-handle-insert-file-contents): Assign the result in the + short track case. + (tramp-handle-insert-file-contents-literally): New defun. + (tramp-completion-mode-p): Revert change from 2007-09-24. + Checking for `return' etc as last character is not sufficient, for + example in dired-mode when entering (revert-buffer) or + (dired-sort). - * textmodes/reftex.el (reftex-isearch-minor-mode): Move the - definition of this variable from reftex-global.el to reftex.el, - because it is needed in the menu. + * net/tramp-compat.el (top): Add also compatibility code for loading + appropriate timer package. + (tramp-compat-copy-tree): Check for `subrp' and `symbol-file' in + order to avoid autoloading problems. -2005-05-19 Lute Kamstra + * net/tramp-fish.el: + * net/tramp-smb.el: Move further compatibility code to tramp-compat.el. - * emacs-lisp/copyright.el (copyright-fix-years): Make sure all - years are fixed. Don't insert a space after a dash. + * net/tramp-ftp.el (tramp-ftp-file-name-handler): Handle the case + where the second parameter of `copy-file' or `rename-file' is a + remote file but not via ftp. -2005-05-19 Kim F. Storm +2007-10-02 Richard Stallman - * emulation/crisp.el (crisp-home, crisp-end): Put CUA property. + * frame.el (cursor-in-non-selected-windows): Doc fix. -2005-05-19 Daniel Pfeiffer +2007-10-01 Thien-Thi Nguyen - * font-lock.el (lisp-font-lock-keywords-2): Do \\) only in - strings, because (eq ... ?\\) is fairly frequent. + * play/zone.el (zone): Let-bind show-trailing-whitespace to nil. + Suggested by Chris Moore . - * progmodes/make-mode.el (makefile-add-this-line-targets): - Simplify and integrate into `makefile-pickup-targets'. - (makefile-add-this-line-macro): Simplify and integrate into - `makefile-pickup-macros. - (makefile-pickup-filenames-as-targets): Simplify. - (makefile-previous-dependency, makefile-match-dependency): - Don't stumble over `::'. +2007-10-01 Jay Belanger -2005-05-19 Nick Roberts + * calc/calc-math.el (math-largest-emacs-expt): Handle the cases + when `expt' doesn't give range errors. - * subr.el (post-command-idle-hook, post-command-idle-delay): - Remove obsoletion of post-command-idle-hook and - post-command-idle-delay. +2007-10-01 Markus Triska - * faces.el (list-faces-display): Provide button when describe-face - is called to take user back to the list of faces. + * calc/calc-math.el (math-smallest-emacs-expt): + Make the computation more robust. - * help-fns.el (describe-variable): Remove hyperlinks in a - variable's value as these are quite frequently inappropriate. +2007-09-30 David Kastrup - * follow.el (follow-submit-feedback, follow-mode): - Remove references to post-command-idle-hook. + * startup.el (argv): Alias for `command-line-args-left' to use as + `(pop argv)' inside of --eval command sequences. Allows for + passing shell commands into Emacs verbatim without need for Lisp + quoting. -2005-05-18 Daniel Pfeiffer + * autorevert.el (auto-revert-handler): In `auto-revert-tail-mode', + check only for changed size. + (auto-revert-tail-handler): Get size from caller. If the file has + shrunk, tail the whole file again (the file presumably has been + rewritten). - * progmodes/make-mode.el (makefile-previous-dependency) - (makefile-match-dependency): Check for := (and in bsd mode also - !=) to give a better result, even when font-lock is not on. + * woman.el (woman-topic-all-completions, woman-mini-help): + Fix fallout from 2007-09-07 introduction of `dolist' when the list + actually was being manipulated in the loop. + (woman-Cyg-to-Win, woman-pre-process-region) + (woman-horizontal-escapes, woman-if-body, woman-unescape) + (woman-strings, woman-special-characters, woman1-hc) + (woman-change-fonts, woman-find-next-control-line): + Use `match-beginning' rather than `match-string' when the result is + just used as a flag. -2005-05-18 Jay Belanger +2007-09-30 Michael Albinus - * calc/calc-help.el (calc-s-prefix-help): - Add `calc-copy-special-constant' to help string. + * net/tramp-compat.el: New file. -2005-05-18 Luc Teirlinck + * net/tramp.el: + * net/tramp-fish.el: + * net/tramp-smb.el: + * net/tramp-uu.el: + * net/trampver.el: Move compatibility code to tramp-compat.el. + Apply `mapc' instead of `mapcar' when the code needs side effects + only. Move utf-8 coding cookie to the second line. - * emacs-lisp/eldoc.el (eldoc-mode): Doc fix. +2007-09-30 Reiner Steib -2005-05-18 Jay Belanger + * term/x-win.el (x-gtk-stock-map): Add Gnus and MH-E icons. + Improve custom type. + (icon-map-list): Make it customizable. Document how to disable + stock icons. - * calc/calc-poly.el (math-factor-poly-coefs): Make sure the terms - in linear factors are in proper order. +2007-09-30 Richard Stallman -2005-05-18 Carsten Dominik + * play/zone.el (zone-hiding-modeline): Use mode-line-format. - * textmodes/reftex-vars.el (reftex-cite-format-builtin): - Support for jurabib. +2007-09-29 Jan Dj,Ad(Brv - * textmodes/reftex.el (featurep): Define aliases for overlay - commands, for XEmacs compatibility, and use these aliases in - overlay initializations. - (reftex-highlight): Use `reftex-move-overlay'. - (reftex-unhighlight): Use `reftex-delete-overlay'. - (reftex-uniq): Function removed. Use `reftex-uniquify' instead. - (reftex-access-search-path): Use `reftex-uniquify' instead of - `reftex-uniq'. + * term/x-win.el (x-gtk-stock-map): Version is 22.2. - * textmodes/reftex-sel.el (reftex-select-unmark): Overlay - `before-string' property modification enables for Emacs as well. - (reftex-select-item): Use `reftex-delete-overlay'. - (reftex-select-mark): Use `reftex-make-overlay' and - `reftex-overlay-put'. - (reftex-select-unmark): Use `reftex-delete-overlay' and - `reftex-overlay-put'. +2007-09-28 Stefan Monnier -2005-05-18 Lute Kamstra + * t-mouse.el (gpm-mouse-mode): Rename from t-mouse-mode. Rewrite. + (t-mouse-mode): New compatibility alias. - * emacs-lisp/lisp.el (check-parens): Fix docstring. +2007-09-28 Dan Nicolaescu -2005-05-18 Juanma Barranquero + * server.el (server-delete-client): Only delete the terminal if it + is non-nil. - * add-log.el (add-change-log-entry): - * array.el (array-make-template, array-reconfigure-rows) - (array-init-max-row, array-init-max-column) - (array-init-columns-per-line, array-init-field-width): - * replace.el (replace-match-maybe-edit, perform-replace): - * textmodes/spell.el (spell-region): - Replace `read-input' by `read-string'. +2007-09-28 Michael Albinus - * forms.el (forms-mode): - * finder.el (finder-compile-keywords): - * shadowfile.el (shadow-read-files): - Replace `eval-current-buffer' by `eval-buffer'. - - * terminal.el (te-pass-through): - * net/ange-ftp.el (ange-ftp-process-filter, ange-ftp-gwp-filter) - (ange-ftp-raw-send-cmd): - * net/telnet.el (telnet-interrupt-subjob, telnet-c-z) - (send-process-next-char, telnet-initial-filter, telnet): - Replace `send-string' by `process-send-string'. - - * progmodes/prolog.el (inferior-prolog-mode): Doc fix. - (prolog-consult-region): Replace `send-string' by - `process-send-string'; replace `send-region' by `process-send-region'. - - * progmodes/delphi.el (delphi-log-msg): - Replace `set-window-dot' by `set-window-point'. - - * subr.el (window-dot, set-window-dot, read-input, send-string) - (send-region, show-buffer, eval-current-buffer): - Make really obsolete, as the comment says. - -2005-05-17 Kim F. Storm - - * emulation/cua-base.el (cua-use-hyper-key): Doc fix. - (cua--init-keymaps): Bind C-return instead of S-return to set - rectangle mark. - - * emulation/cua-rect.el (cua--init-rectangles): Bind C-return - instead of S-return to toggle/clear rectangle mark. - -2005-05-17 Daniel Pfeiffer - - * progmodes/make-mode.el (makefile-dependency-skip): New variable. - (makefile-macroassign-regex, makefile-make-font-lock-keywords): - Also fontify plain strings assigned to variables, mostly so that a - colon has a face and is thus not taken as a dependency separator. - (makefile-previous-dependency): Inline the new matcher, because it - is too complex to work in both directions. - (makefile-match-dependency): Eliminate `backward' arg (see above). - Completely reimplemented so as to not sometimes go into an endless - loop. It should also be more efficient, because first it only - searches for `:', instead of applying the very complex regexp. - (makefile-mode): Cancel `font-lock-support-mode', because blocks - to be fontified in one piece can be too long for JIT. - Makefiles are never *that* big. - -2005-05-17 Reiner Steib - - * dired.el (dired-mode): Simplify. - -2005-05-17 Lute Kamstra - - * emacs-lisp/easy-mmode.el (define-minor-mode): Don't generate a - defcustom for the mode hook variable. - - * emacs-lisp/authors.el (authors): Do parse the ChangeLogs of the - Emacs Lisp Reference Manual. - -2005-05-17 Juanma Barranquero - - * emacs-lisp/cl.el (eql, floatp-safe, plusp, minusp, oddp) - (evenp, list*): - * emacs-lisp/cl-macs.el (macrolet, symbol-macrolet): - * emacs-lisp/cl-seq.el (subsetp, tree-equal): Doc fixes. - - * net/tramp-smb.el (tramp-smb-open-connection): - Pass `tramp-chunksize' as fifth (required) argument. - -2005-05-16 Daniel Pfeiffer - - * font-lock.el (lisp-font-lock-keywords-1): - Set `font-lock-negation-char-face' for [^...] char group. - (lisp-font-lock-keywords-2): Highlight regexp's \\( \\| \\). - - * progmodes/make-mode.el (makefile-dependency-regex): Turn it into - a var, and refine it to mask one more level of nested vars. - (makefile-rule-action-regex): Turn it into a var, and refine it so - it recognizes backslashed continuation lines as belonging to the - same command. - (makefile-macroassign-regex): Refine it so it recognizes - backslashed continuation lines as belonging to the same command. - (makefile-var-use-regex): Don't look at the next char, because it - might be the same one to be skipped by the initial [^$], leading - to an overlooked variable use. - (makefile-make-font-lock-keywords): Remove two parameters, which - are now variables that some of the modes set locally. - Handle dependency and rule action matching through functions, because - regexps alone match too often. Dependency matching now comes - last, so it can check, whether a colon already matched something else. - (makefile-mode): Inform that font-lock improves makefile parsing - capabilities. - (makefile-match-dependency, makefile-match-action): New functions. - -2005-05-16 Juanma Barranquero - - * emacs-lisp/cl-extra.el (equalp): Doc fix. - - * align.el (align-regexp): - * ansi-color.el (ansi-color-get-face): - * array.el (array-reconfigure-rows, array-init-max-row) - (array-init-max-column, array-init-columns-per-line) - (array-init-field-width): - * dired-aux.el (dired-trample-file-versions): - * dired-x.el (dired-mark-sexp): - * ediff-diff.el (ediff-extract-diffs, ediff-get-diff3-group): - * edmacro.el (edmacro-finish-edit, edmacro-parse-keys): - * emerge.el (emerge-extract-diffs, emerge-get-diff3-group): - * faces.el (face-read-integer): - * files.el (backup-extract-version, insert-directory): - * hexl.el (hexl-insert-decimal-char): - * server.el (server-process-filter): - * shell.el (shell-extract-num): - * startup.el (command-line-1): - * term.el (term-command-hook): - * time-stamp.el (time-stamp, time-stamp-string-preprocess) - (time-stamp-do-number): - * time.el (display-time-update): - * timezone.el (timezone-parse-date, timezone-zone-to-minute) - (timezone-fix-time): - * vms-patch.el (vms-suspend-resume-hook): - * calendar/appt.el (appt-convert-time): - * calendar/cal-bahai.el (mark-bahai-diary-entries): - * calendar/cal-hebrew.el (mark-hebrew-diary-entries): - * calendar/cal-islam.el (mark-islamic-diary-entries): - * calendar/calendar.el (calendar-cursor-to-date) - (calendar-star-date): - * calendar/diary-lib.el (diary-attrtype-convert) - (mark-diary-entries, diary-entry-time): - * calendar/solar.el (solar-get-number): - * emacs-lisp/lisp-mnt.el (lm-last-modified-date): - * emacs-lisp/re-builder.el (reb-display-subexp): - * emulation/edt.el (edt-set-scroll-margins): - * emulation/tpu-extras.el (tpu-set-scroll-margins): - * emulation/vip.el (vip-get-ex-token, vip-get-ex-buffer) - (vip-get-ex-count): - * emulation/viper-ex.el (viper-get-ex-token) - (viper-get-ex-buffer, viper-get-ex-count, ex-next): - * international/fontset.el (fontset-plain-name): - * mail/feedmail.el (feedmail-look-at-queue-directory): - * mail/mailalias.el (mail-get-names): - * mail/rmail.el (rmail-convert-to-babyl-format): - * mail/rmailsum.el (rmail-make-basic-summary-line) - (rmail-summary-next-same-subject, rmail-summary-rmail-update) - (rmail-summary-goto-msg): - * mail/smtpmail.el (smtpmail-read-response): - * net/ange-ftp.el (ange-ftp-guess-hash-mark-size) - (ange-ftp-vms-add-file-entry): - * play/gametree.el (gametree-looking-at-ply) - (gametree-current-branch-score): - * progmodes/ada-xref.el (ada-prj-find-prj-file) - (ada-xref-find-in-modified-ali, ada-find-in-src-path): - * progmodes/cperl-mode.el (condition-case): - * progmodes/ebrowse.el (ebrowse-set-tree-indentation) - (ebrowse-set-member-buffer-column-width) - (ebrowse-select-1st-to-9nth): - * progmodes/etags.el (etags-snarf-tag): - * progmodes/flymake.el (flymake-parse-line): - * progmodes/idlw-shell.el (idlwave-shell-parse-line) - (idlwave-shell-filter-bp, idlwave-shell-goto-next-error) - (idlwave-shell-menu-def): - * progmodes/ps-mode.el (ps-run-goto-error): - * progmodes/vhdl-mode.el (vhdl-read-offset, vhdl-load-cache) - (vhdl-speedbar-contract-level): - * term/mac-win.el (x-handle-numeric-switch): - * term/sun-mouse.el (sun-get-frame-data): - * term/w32-win.el (x-handle-numeric-switch): - * term/x-win.el (x-handle-numeric-switch): - * textmodes/ispell.el (ispell-parse-output): - * textmodes/nroff-mode.el (nroff-outline-level): - * textmodes/reftex-cite.el (reftex-bib-sort-year) - (reftex-bib-sort-year-reverse, reftex-format-citation): - * textmodes/reftex-parse.el (reftex-init-section-numbers) - (reftex-section-number): - * textmodes/texinfmt.el (texinfo-paragraphindent): - Replace `string-to-int' by `string-to-number'. - - * international/latexenc.el: Add page marker to force the "Local - Variables:" string out of the last page. - -2005-05-16 Nick Roberts - - * progmodes/gud.el (gud-tooltip-mode): Add gud prefix to - tooltip-change-major-mode. - (gud-tooltip-print-command): Remove case where gud-minor-mode - is gdb ("--fullname"). - (gud-tooltip-tips): Turn GUD tooltips off for this case and - explain to user. - -2005-05-16 Jay Belanger - - * calc/calc-store.el (calc-copy-special-constant): New function. - - * calc/calc-ext.el (calc-init-extensions): Add binding for - `calc-copy-special-constant'. - - * calc/calc-prog.el (calc-edit-format-macro-buffer): Add a case - for the `calc-copy-special-constant' command. - -2005-05-16 Nick Roberts - - * subr.el (left-fringe-p): New function. - - * progmodes/compile.el (compilation-setup): Set local value of - overlay-arrow-string to "" always. - (compilation-set-window): Left fringe then don't scroll. - No left fringe then no arrow and scroll message to top. - (compilation-context-lines): Adjust doc string accordingly. - -2005-05-16 Kim F. Storm - - * ido.el (ido-magic-forward-char, ido-magic-backward-char) - (ido-magic-delete-char): New commands for C-f, C-b, C-d. - (ido-wide-find-dir-or-delete-dir): New command for M-d. - (ido-define-mode-map): Bind them. Add C-x prefix to fallback commands. - (ido-read-file-name): Handle commands with ido property value - equal to find-file as reading a file name, to allow C-d to enter dired. - (ibuffer-find-file): Add ido property with value find-file. - -2005-05-15 Kim F. Storm - - * subr.el (open-network-stream-nowait): Remove. - (open-network-stream-server): Remove. - -2005-05-15 Richard M. Stallman - - * faces.el (describe-face): Output a definition link button. - - * help-mode.el (help-face-def): New button type. - - * emacs-lisp/copyright.el (copyright-fix-years): - Match properly if the first year is 2-digit. - Don't mess up the whitespace after the years by filling. - - * dired-aux.el (dired-mark-confirm): - Pass t to dired-get-marked-files for DISTINGUISH-ONE-MARKED. - - * dired.el (dired-map-over-marks): New arg DISTINGUISH-ONE-MARKED. - (dired-get-marked-files): New arg DISTINGUISH-ONE-MARKED. - (dired-mark-pop-up): Handle FILES = (t FILE) specially. - - * emacs-lisp/lisp-mode.el (lisp-mode-variables): - Set font-lock-comment-start-skip. - - * font-lock.el (font-lock-comment-start-skip): New variable. - (font-lock-comment-end-skip): New variable. - (font-lock-fontify-syntactically-region): Use them if non-nil. - -2005-05-15 Jay Belanger + * net/tramp.el (with-file-property, with-connection-property): + Highlight as keyword. + (tramp-rfn-eshadow-setup-minibuffer) + (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times) + (tramp-set-file-uid-gid, tramp-do-copy-or-rename-file-via-buffer) + (tramp-do-copy-or-rename-file-directly) + (tramp-do-copy-or-rename-file-out-of-band) + (tramp-handle-shell-command, tramp-get-debug-buffer) + (tramp-send-command-and-read, tramp-equal-remote) + (tramp-get-local-gid): Pacify byte-compiler. + (tramp-handle-file-name-directory): Result shall not be expanded. + (tramp-find-foreign-file-name-handler): Rewrite. + (tramp-dissect-file-name): Add optional parameter NODEFAULT. - * calc/calc-store.el (calc-store-value): Return a string rather - than display it as a message. - Use calc-var-name for variable name. - (calc-store-into): Add the result of calc-store-value to message. - (calc-copy-variable): Add a message. - (calc-store-exchange): Improve error messages. - (calc-store-binary, calc-store-map): Don't reset the values of - special constants. + * net/tramp-cache.el (tramp-cache-print): Pacify byte-compiler. -2005-05-14 Luc Teirlinck + * net/tramp-fish.el (tramp-fish-handle-expand-file-name): + Apply `tramp-completion-mode-p'. + (tramp-fish-handle-set-file-times) + (tramp-fish-handle-executable-find) + (tramp-fish-handle-process-file, tramp-fish-get-file-entries) + (tramp-fish-retrieve-data): Pacify byte-compiler. - * emacs-lisp/derived.el (define-derived-mode): Add link to Elisp - manual to docstring. + * net/tramp-gw.el (tramp-gw-basic-authentication): + Call `tramp-read-passwd' with first parameter `nil'. - * files.el (hack-local-variables-confirm): Add STRING argument. - Make the function handle non file visiting buffers correctly. - (hack-local-variables-prop-line, hack-local-variables) - (hack-one-local-variable): Use STRING arg of - `hack-local-variables-confirm'. +2007-09-28 Glenn Morris -2005-05-14 Michael Albinus + * mail/supercite.el (sc-attribs-filter-namelist): Use mapc rather + than mapcar. - Sync with Tramp 2.0.49. + * textmodes/tex-mode.el (tex-suscript-height-ratio) + (tex-suscript-height-minimum): New customizable variables. + (tex-suscript-height): New function. + (superscript, subscript): Set height using tex-suscript-height + rather than fixing at 0.8. + (tex-fontify-script, tex-font-script-display): Add :version tag. - * net/tramp.el (tramp-handle-dired-call-process) - (tramp-handle-insert-directory):`insert-buffer' cannot be used - because the contents of the Tramp buffer is changed before - insertion (`expand-file' and alike). - (tramp-handle-insert-directory): If `localname' has an empty - nondirectory name, it must not be quoted. - (tramp-pre-connection): Add parameter CHUNKSIZE. Make local - variable `tramp-chunksize'. Change callees. - (tramp-open-connection-setup-interactive-shell): Check remote host - for buggy `send-process-string' implementation. - Set `tramp-chunksize' if found. Reported by Michael Kifer - (and a lot of other people all the years). - (tramp-handle-shell-command): `insert-buffer' cannot be used - because the contents of the Tramp buffer is changed before - insertion (`expand-file' and alike). Reported by Fr,Ai(Bd,Ai(Bric Bothamy - . - (tramp-set-auto-save): Actions should be done for Tramp file name - handler only. Ange-FTP has its own auto-save mechanism. - Reported by Richard G. Bielawski . - (tramp-set-auto-save-file-modes): Set file modes of - `buffer-auto-save-file-name' to ?\600 as fallback solution. - Reported by Ferenc Wagner . - (tramp-bug): Remove obsolete variable. - (tramp-append-tramp-buffers): Rewrite partly. More suitable check - for presence of `mml-mode'. Make it running for older Emacsen as well. +2007-09-27 Juanma Barranquero -2005-05-14 John Paul Wallington + * progmodes/python.el (python-eldoc-function): Doc fix. - * ibuf-ext.el (define-ibuffer-filter filename): - If `dired-directory' is a list, use its car. +2007-09-27 Glenn Morris -2005-05-14 Daniel Brockman (tiny change) + * image.el (image-type-auto-detected-p): Doc fix. Don't detect an + image if it is not in image-type-auto-detectable, or is there with + a nil value. - * ibuffer.el (define-ibuffer-column filename): - If `dired-directory' is a list, use its car. +2007-09-27 Michael Albinus -2005-05-14 Richard M. Stallman + * net/tramp.el (tramp-maybe-open-connection): Make test for alive + connection more robust. - * subr.el (symbol-file): Doc fix. +2007-09-26 Juanma Barranquero - * emacs-lisp/bytecomp.el (byte-compile-nogroup-warn): New function. - (byte-compile-form): Call byte-compile-nogroup-warn. - (byte-compile-warning-types): Doc fix. + * emacs-lisp/eldoc.el (eldoc-function-argstring-format): + Deal with the case that special &keywords are at the beginning or + end of the argument list. Also add some (incomplete) support for + non-standard arglists. - * eshell/esh-mode.el (eshell-find-tag): Use with-no-warnings. +2007-09-26 Juanma Barranquero - * progmodes/cc-engine.el (c-literal-faces): - Add font-lock-comment-delimiter-face. + * emacs-lisp/eldoc.el (eldoc-message-commands-table-size) + (eldoc-message-commands, eldoc-current-idle-delay) + (eldoc-function-argstring-format): Fix typos in docstrings. + +2007-09-26 Jay Belanger + + * calc/calc-units.el (calc-convert-units) + (calc-convert-temperature): Remove unnecessary colons. + +2007-09-26 Bastien Guerry + + * textmodes/org-export-latex.el (org-export-latex-tables-verbatim): + New function. + (org-export-latex-remove-from-headlines): Name changed because of typo. + (org-export-latex-quotation-marks-convention): Option removed. + (org-export-latex-make-preamble): Handle the DATE option. + (org-export-latex-cleaned-string): Now the only cleaning function, + synched up with org.el. + (org-export-latex-lists, org-export-latex-parse-list) + (org-export-list-to-latex): New functions. + +2007-09-26 Carsten Dominik + + * textmodes/org.el (org-kill-is-subtree-p): Use `org-outline-regexp'. + (org-outline-regexp): New constant. + (org-remember-handler): Throw error when the target file is not in + org-mode. + (org-cleaned-string-for-export): No longer call + `org-export-latex-cleaned-string' with an argument. + (org-get-tags): Returns now a list, not a string. + (org-get-tags-string): New function. + (org-archive-subtree): No need to split return of `org-get-tags'. + (org-set-tags, org-entry-properties): Call `org-get-tags-string' + instead of `org-get-tags'. + (org-agenda-format-date): Rename from `org-agenda-date-format'. + (org-time-from-absolute, org-agenda-format-date-aligned): New funs. + (org-compatible-face): New argument INHERITS. Inherit from this + face if possible. + (org-level-1, org-level-2, org-level-3, org-level-4) + (org-level-5, org-level-6, org-level-7, org-level-8) + (org-special-keyword, org-drawer, org-column, org-warning) + (org-archived, org-todo, org-done, org-headline-done, org-table) + (org-formula, org-code, org-agenda-structure) + (org-scheduled-today, org-scheduled-previously) + (org-upcoming-deadline, org-time-grid): Call `org-compatible-face' + in the new way. + (org-get-heading): New argument NO-TAGS. + (org-fast-tag-selection-include-todo): Made defvar instead of + defcustom, feature is not deprecated. + (org-remember-store-without-prompt): New default value t. + (org-todo-log-states): New variable. + (org-set-regexps-and-options): #+TODO is an alias for SEQ_TODO. + Compute the log states. + (org-goto-map): More commands copied from global map. Also bind + `org-occur'. + (org-goto): Made into a general lookup command. + (org-get-location): Complete rewrite. + (org-goto-exit-command): New variable. + (org-goto-selected-point): New variable. + (org-goto-ret, org-goto-left, org-goto-right, org-goto-quit): + Set the new variables. + (org-paste-subtree): Whitespace insertion strategy revised. + (org-remember-apply-template): Protect v-A from the possibility + that v-a might be nil. + (org-remember-handler): Insertion rules revised. + (org-todo): Respect org-todo-log-states. + (org-up-heading-safe): New function. + (org-entry-get-with-inheritance): Use `org-up-heading-safe'. + +2007-09-26 Dan Nicolaescu + + * progmodes/cc-cmds.el (c-indent-line-or-region): Only indent the + region if in transient-mark-mode. + +2007-09-26 Juanma Barranquero + + * calc/calc-ext.el (calc-init-extensions, calc-reset): + * calc/calc-help.el (calc-full-help): + * calc/calc-misc.el (another-calc): + * calc/calc-store.el (calc-var-name-map): + * calc/calc-stuff.el (calc-flush-caches): + * calc/calc-units.el (math-build-units-table): + * calc/calc.el (calc-digit-map, calc-dispatch-map, calc-mode) + (calc-quit): + * calendar/icalendar.el (icalendar--format-ical-event) + (icalendar--convert-ical-to-diary): + * emacs-lisp/authors.el (authors): + * emacs-lisp/cust-print.el (custom-print-install) + (custom-print-uninstall): + * emacs-lisp/disass.el (disassemble-1): + * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax): + * emacs-lisp/edebug.el (byte-compile-resolve-functions): + * emacs-lisp/elint.el (elint-current-buffer, elint-check-defun-form) + (elint-check-let-form, elint-check-condition-case-form) + (elint-initialize): + * emacs-lisp/elp.el (elp-results): + * emacs-lisp/generic.el (generic-mode-internal): + * emacs-lisp/re-builder.el (reb-delete-overlays): + * emacs-lisp/regi.el (regi-interpret): + * emacs-lisp/sregex.el (sregex--char-aux): + * emulation/cua-rect.el (cua--deactivate-rectangle) + (cua--highlight-rectangle, cua--rectangle-post-command): + * emulation/viper-keym.el (viper-toggle-key, viper-ESC-key): + * emulation/viper-macs.el (viper-describe-kbd-macros) + (viper-describe-one-macro): + * emulation/viper-util.el (viper-setup-master-buffer): + * emulation/viper.el (set-viper-state-in-major-mode): + * international/mule-diag.el (describe-current-coding-system): + * language/ethio-util.el (ethio-fidel-to-sera-buffer): + * mail/emacsbug.el (report-emacs-bug): + * net/ange-ftp.el (ange-ftp-call-chmod, ange-ftp-parse-bs2000-listing): + * obsolete/hilit19.el (hilit-unhighlight-region) + (hilit-set-mode-patterns): + * play/solitaire.el (solitaire-check, solitaire-solve): + * play/zone.el (zone-pgm-rotate): + * progmodes/ada-mode.el (ada-save-exceptions-to-file): + * progmodes/ada-prj.el (ada-prj-display-page): + * progmodes/delphi.el (delphi-search-directory, delphi-find-unit-file) + (delphi-debug-mode-map, delphi-mode-map, delphi-mode): + * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-view-exit-fn) + (ebrowse-member-mode, ebrowse-save-tree-as, ebrowse-save-class): + * progmodes/sh-script.el (sh-make-vars-local) + (sh-reset-indent-vars-to-global-values): + * progmodes/sql.el (top): + * progmodes/vhdl-mode.el (vhdl-set-style, vhdl-regress-line): + * progmodes/xscheme.el (top): + * textmodes/artist.el (artist-mt-get-symbol-from-keyword-sub) + (artist-go-retrieve-from-symbol-sub, artist-go-get-symbol-shift-sub) + (artist-fc-retrieve-from-symbol-sub, artist-vaporize-line) + (artist-vaporize-lines, artist-ellipse-compute-fill-info) + (artist-submit-bug-report): + * textmodes/flyspell.el (flyspell-delay-commands) + (flyspell-deplacement-commands): + * textmodes/table.el (table--generate-source-epilogue, table-insert) + (table--generate-source-cells-in-a-row, table--make-cell-map) + (*table--cell-describe-bindings): Use `mapc' rather than `mapcar'. + +2007-09-25 Juanma Barranquero + + * allout.el (produce-allout-mode-map, allout-process-exposed): + * ansi-color.el (ansi-color-make-color-map): + * autoinsert.el (auto-insert): + * bookmark.el (bookmark-bmenu-list, bookmark-show-all-annotations): + * dired-aux.el (dired-create-files): + * dired.el (dired-restore-desktop-buffer): + * ediff-diff.el (ediff-setup-fine-diff-regions): + * ediff-mult.el (ediff-intersect-directories) + (ediff-redraw-directory-group-buffer, ediff-dir-diff-copy-file) + (ediff-redraw-registry-buffer): + * ediff-ptch.el (ediff-fixup-patch-map): + * ediff-util.el (ediff-toggle-multiframe, ediff-toggle-use-toolbar) + (ediff-really-quit, ediff-clear-diff-vector): + * emerge.el (emerge-really-quit): + * ffap.el (ffap-replace-file-component): + * filecache.el (file-cache-add-directory) + (file-cache-add-directory-recursively) + (file-cache-add-from-file-cache-buffer, file-cache-delete-file-regexp) + (file-cache-delete-directory, file-cache-files-matching-internal) + (file-cache-display): + * files.el (cd): + * find-lisp.el (find-lisp-insert-directory): + * finder.el (finder-compile-keywords): + * help.el (view-emacs-news): + * hi-lock.el (hi-lock-write-interactive-patterns): + * ido.el (ido-to-end, ido-set-matches-1): + * image-dired.el (image-dired-display-thumbs, image-dired-remove-tag) + (image-dired-mark-tagged-files): + * jka-cmpr-hook.el (jka-compr-get-compression-info): + * printing.el (pr-eval-local-alist, pr-eval-setting-alist): + * ps-print.el (ps-background, ps-begin-file) + (ps-build-reference-face-lists): + * simple.el (clone-buffer): + * startup.el (command-line): + * tempo.el (tempo-insert-template, tempo-is-user-element) + (tempo-forward-mark, tempo-backward-mark): + * woman.el (woman-dired-define-keys): Use `mapc' rather than `mapcar'. - * net/net-utils.el (dig): Use with-no-warnings. +2007-09-25 Glenn Morris - * mail/supercite.el (sc-cite-frame-alist, sc-uncite-frame-alist) - (sc-recite-frame-alist, sc-default-cite-frame) - (sc-default-uncite-frame, sc-default-recite-frame) - (sc-attrib-selection-list, sc-rewrite-header-list): - Mark as risky-local-variable. + * textmodes/tex-mode.el (tex-font-script-display): Doc fix. - * international/ogonek.el (ogonek-jak, ogonek-how): - Don't use beginning-of-buffer. + * view.el (view-search-no-match-lines): Add a doc string. + Rewrite to simplify and work better. - * emacs-lisp/eldoc.el (eldoc-documentation-function): Add autoload. +2007-09-24 Dan Nicolaescu - * calendar/solar.el (solar-data-list): Move definition up. + * progmodes/cc-mode.el (c-mode-base-map): + Use c-indent-line-or-region instead of c-indent-line. - * dnd.el (dnd-protocol-alist): Add autoload. + * indent.el (indent-for-tab-command): First check if the region is + active. - * progmodes/sh-script.el: Many doc usage fixes. - (sh-indent-after-do): Change default to match common styles. +2007-09-24 Micha,Ak(Bl Cadilhac -2005-05-13 Luc Teirlinck + * whitespace.el (whitespace-tickle-timer): Don't install the timer if + whitespace-rescan-timer-time is 0. - * files.el (interpreter-mode-alist) - (auto-mode-interpreter-regexp): Doc fixes. +2007-09-24 Karl Berry -2005-05-13 Matt Hodges + * international/mule.el (coding-system-base): Fix doc string grammar. - * tmm.el (tmm-get-keymap): Include only active menus and menu items. +2007-09-24 Michael Albinus - * emacs-lisp/easymenu.el (easy-menu-define): Doc fixes. + * net/tramp.el (tramp-completion-mode-p): Rename from + `tramp-completion-mode'. Revert logic, check `return', `newline' + and such alike. Packages like Icicles tend to use other completion + characters but `tab' and `space' only. -2005-05-13 Jan Dj,Ad(Brv +2007-09-24 Adam Hupp - * dired.el (dired-mode): make-variable-buffer-local => - make-local-variable. + * progmodes/python.el (run-python): Import emacs module without + waiting; prevents lockup on error. -2005-05-13 YAMAMOTO Mitsuharu +2007-09-23 Richard Stallman - * term/mac-win.el (mac-select-convert-to-string): Try coding - systems in mac-script-code-coding-systems if specified one cannot - encode string for `com.apple.traditional-mac-plain-text'. + * mail/sendmail.el (mail-bury): Delete the frame + if this frame looks like it was made for this message. -2005-05-13 Daniel Pfeiffer + * completion.el (completion-separator-self-insert-command) + (completion-separator-self-insert-autofilling): + If `self-insert-command' has been remapped, use the substitute. - * progmodes/make-mode.el (makefile-targets-face) - (makefile-shell-face, makefile-makepp-perl-face): New faces. - (makefile-dependency-regex): Fix it to not make the colon in - $(var:a=b) special. - (makefile-rule-action-regex): New regexp for highlighting embedded - Shell strings. - (makefile-macroassign-regex): Handle != for highlighting as - embedded Shell strings. - (makefile-var-use-regex): New const. - (makefile-statements, makefile-automake-statements) - (makefile-gmake-statements, makefile-makepp-statements) - (makefile-bsdmake-statements): New consts. - (makefile-make-font-lock-keywords): New function. - (makefile-automake-font-lock-keywords) - (makefile-gmake-font-lock-keywords) - (makefile-makepp-font-lock-keywords) - (makefile-bsdmake-font-lock-keywords): New consts. - (makefile-mode-map): Add switchers between the various submodes. - (makefile-mode): Document the availability of the variants. - (makefile-automake-mode, makefile-gmake-mode) - (makefile-makepp-mode, makefile-bsdmake-mode): New derived modes. + * simple.el (copy-region-as-kill): Doc fix. - * files.el (auto-mode-alist, interpreter-mode-alist): Set up the - new variants of makefile-mode. + * textmodes/org.el (org-confirm-shell-link-function) + (org-confirm-elisp-link-function): Doc fixes. -2005-05-12 Stefan Monnier +2007-09-23 Glenn Morris - * font-lock.el (font-lock-comment-delimiter-face): Fix up - the inheritance. + * ses.el (ses-calculate-cell): Don't evaluate unsafe formulae. -2005-05-12 Luc Teirlinck +2007-09-23 Dan Nicolaescu - * progmodes/inf-lisp.el (inferior-lisp-mode-hook) - (inferior-lisp-load-hook): Convert defcustoms back to defvars. + * term/w32-win.el (w32-drag-n-drop): Use mapc instead of mapcar. + + * term/tvi970.el (terminal-init-tvi970): Likewise. + + * term/sun-mouse.el (print-mouse-format): Likewise. + + * term/sun.el (scroll-down-in-place, scroll-up-in-place): + Use forward-line instead of previous-line and next-line. + +2007-09-22 Juri Linkov + + * textmodes/org.el (org-confirm-shell-link-function): Doc fix. + + * tutorial.el (tutorial--default-keys): Update standard bindings: + rename `iconify-or-deiconify-frame' to `suspend-frame', + and `save-buffers-kill-emacs' to `save-buffers-kill-terminal'. + +2007-09-22 Juri Linkov + + * startup.el (fancy-startup-text, fancy-about-text, fancy-startup-tail): + Add help-echo to external links and to links without description. + (fancy-splash-insert): Use help-echo from the 3rd element of the + link specification list, or "Follow this link" if it's nil. Doc fix. + +2007-09-22 Juri Linkov + + * startup.el (command-line): Rename `inhibit-startup-message' to + `inhibit-startup-screen'. + (fancy-about-text): Use shorter label for "Ordering Manuals". + (fancy-startup-tail): Add optional arg `concise'. When `concise' + is nil, display a line with "To start..." and 3 links to useful + tasks. Display the "Dismiss" button and "Don't show this message + again" only when concise is non-nil. + (fancy-startup-screen): Call `fancy-startup-tail' with optional + arg `concise'. If CONCISE is non-nil, display a concise version + of the splash screen in another window. Otherwise, switch to the + startup buffer in the same window. + (startup-echo-area-message): Change displayed binding from + C-h C-p (describe-project) to C-h C-a (about-emacs), and change + text "about the GNU system and GNU/Linux" to "about GNU Emacs and + the GNU system". + (display-startup-screen): Fix buffer name from "*About GNU Emacs*" + to "*GNU Emacs*". + (display-about-screen): Don't check the existence of the buffer + "*About GNU Emacs*". + (display-splash-screen): Make alias to `display-startup-screen'. + (command-line-1): Rename `inhibit-startup-message' to + `inhibit-startup-screen'. Inhibit startup screen when Emacs is + started with command line options "-f", "-funcall", "-e", "-eval", + "-execute", "-insert", "-find-file", "-file", "-visit". + Inhibit startup screen when Emacs is started with a file name only + on tty (i.e. don't inhibit it when started with a file name like + "emacs FILE..." on a window system). + (command-line-1): Simplify logic of displaying the startup screen: + if file-count > 0, then display the concise version in another + window, otherwise display full version in the same window. + + * help.el (help-map): Bind C-h C-a to about-emacs. + (help-for-help-internal): Add C-a description to C-h help text. - * files.el (normal-mode): Extend the scope of the - `enable-local-variables' binding to include the `set-auto-mode' call. - (magic-mode-alist): Doc fix. +2007-09-22 Dan Nicolaescu -2005-05-12 Stefan Monnier + * emacs-lisp/checkdoc.el (checkdoc-force-docstrings-flag) + (checkdoc-permit-comma-termination-flag): Autoload the + safe-local-variable setting. - * font-lock.el (font-lock-comment-delimiter-face): Inherit from - font-lock-comment-face rather than copying its setting. + * bookmark.el (bookmark-xemacsp): Remove. + (bookmark-make): Don't use bookmark-xemacsp, + use (featurep 'xemacs) instead. -2005-05-12 Andreas Schwab + * speedbar.el (speedbar-frame-mode) + (speedbar-frame-reposition-smartly) + (speedbar-set-mode-line-format, speedbar-reconfigure-keymaps) + (speedbar-check-vc): Remove use of non-existent variable + dframe-xemacsp, use (featurep 'xemacs) instead. - * eshell/esh-mode.el (eshell-send-input): Doc fix. + * indent.el (indent-for-tab-command): Indent the region if + transient-mark-mode and the region is active. -2005-05-12 Lute Kamstra +2007-09-21 Francesco Potort,Al(B - * emacs-lisp/generic.el (define-generic-mode): Don't generate a - defcustom for the mode hook variable. Delete the last argument. - * generic-x.el: Fix callers of define-generic-mode. - (generic-x-modes): Delete group. - (show-tabs-tab-face, show-tabs-space-face): Put them in the - generic-x customization group. + * progmodes/octave-inf.el (inferior-octave-mode): Use add-hook to + add inferior-octave-directory-tracker to the buffer-local value + of comint-input-filter-functions. -2005-05-12 Kim F. Storm +2007-09-21 Dan Nicolaescu - * font-lock.el (font-lock-negation-char-face): Default to "off". + * xt-mouse.el (xterm-mouse-mode): Re-enable suspend-tty-functions. - * progmodes/cc-fonts.el (c-basic-matchers-before): Don't apply - font-lock-negation-char-face to ! in !=. +2007-09-21 Juanma Barranquero -2005-05-12 Masatake YAMATO + * frame.el (suspend-frame): Call `iconify-or-deiconify-frame' also + on w32 frames. - * add-log.el (find-change-log): Fix typos in the docstring - of function. +2007-09-21 Stefan Monnier -2005-05-11 Arne J,Ax(Brgensen + * startup.el (normal-top-level): Remove DISPLAY from + process-environment to let it be computed dynamically in callproc.c. - * international/latexenc.el (latexenc-find-file-coding-system): - Avoid `re-search-forward' when looking for input encoding because - of speed and safety. Better regular expressions for recognizing - input encoding. Limit a search for TeX-master/tex-main-file to - the local variable section. + * frame.el (frame-initialize, make-frame): + * faces.el (tty-set-up-initial-frame-faces): + * env.el (setenv): Don't set display-environment-variable. -2005-05-11 Dan Nicolaescu + * server.el (server-getenv-from): Remove. Use getenv-internal instead. + (server-create-tty-frame): Don't set unused `tty' property. + Set `display' instead of display-environment-variable. + (server-create-window-system-frame): No display-environment-variable. - * progmodes/sh-script.el (sh-mode-default-syntax-table): Set the - syntax of $ to "'" (quote). +2007-09-21 Michael Albinus -2005-05-11 Reiner Steib + * rfn-eshadow.el (rfn-eshadow-setup-minibuffer-hook) + (rfn-eshadow-update-overlay-hook): New defvars. + (rfn-eshadow-setup-minibuffer, rfn-eshadow-update-overlay): + Run the hooks. - * dnd.el (dnd-protocol-alist): Improve custom type. + * net/tramp.el (tramp-rfn-eshadow-overlay): New defvar. + (tramp-rfn-eshadow-setup-minibuffer) + (tramp-rfn-eshadow-update-overlay): New defuns. Hook into + rfn-eshadow.el. - * dired.el (dired-dnd-protocol-alist): New variable. - (dired-mode): Use `dired-dnd-protocol-alist'. Move call of - `dired-mode-hook' to the end. + * net/tramp-smb.el (tramp-smb-errors): Add error message for call + timeout. -2005-05-11 Stefan Monnier +2007-09-21 Glenn Morris - * font-lock.el (font-lock-fontify-syntactically-region): Don't use - comment-end if comment-start-skip is not set. - Obey the font-lock-comment-delimiter-face variables. + * obsolete/sun-fns.el (emacs-quit-menu): Remove emacstool-related code. + * term/sun-mouse.el (suspend-emacstool): Remove. + * term/sun.el: Remove emacstool-related code. -2005-05-11 Stefan Monnier + * emacs-lisp/bytecomp.el (byte-compile-warnings) + (byte-compile-warnings-safe-p): Add `mapcar'. + (byte-compile-warning-types): Add mapcar and make-local. + (byte-compile-normal-call): Add option to suppress mapcar warning. + (top-level): Use mapc rather than mapcar in eval-when-compile. - * files.el (executable-find): Move from executable.el. Use - locate-file. - * progmodes/executable.el (executable-find): Move to files.el. + * textmodes/tex-mode.el (tex-validate-region): Handle escaped parens. + (tex-next-unmatched-eparen, tex-last-unended-eparen): New functions. + (latex-forward-sexp-1, latex-backward-sexp-1): Doc fix. + Handle escaped parens. + (latex-forward-sexp): Doc fix. - * font-lock.el (font-lock-fontify-keywords-region): Use a marker - when trying to ensure forward progress. + * eshell/esh-mode.el (eshell-output-filter-functions): + Add eshell-postoutput-scroll-to-bottom. -2005-05-11 Chong Yidong + * loadup.el: Remove termdev. - * mouse-sel.el (mouse-sel-follow-link-p): New function. - (mouse-select, mouse-select-internal, mouse-extend-internal): - Use it to implement mouse-1-click-follows-link functionality. + * progmodes/fortran.el (fortran-mode-abbrev-table, fortran-line-length): + * progmodes/f90.el (f90-mode-abbrev-table): Use mapc rather than mapcar. -2005-05-11 Richard M. Stallman +2007-09-21 Markus Triska - * font-lock.el (font-lock-fontify-syntactically-region): - Use font-lock-comment-delimiter-face for comment delimiters. + * emacs-lisp/bytecomp.el (byte-compile-normal-call): Warn when + `mapcar' is called for effect. -2005-05-10 Jay Belanger +2007-09-21 Kevin Ryde - * calc/calc-help.el (calc-m-prefix-help): Add mention of - preserving embedded modes. + * international/mule.el (sgml-html-meta-auto-coding-function): + Bind `case-fold-search' to t. -2005-05-10 Richard M. Stallman +2007-09-20 Stefan Monnier - * progmodes/sh-script.el (sh-indent-for-do): Default to 0. + * termdev.el: Remove. - * progmodes/ada-mode.el (ada-adjust-case-skeleton): - Move from ada-stmt.el. - (ada-mode): Add ada-adjust-case-skeleton to skeleton-end-hook. + * frame.el (get-device-terminal): New function. Moved from termdev.el. + (frames-on-display-list): Use it. - * progmodes/ada-stmt.el (ada-adjust-case-skeleton): - Move to ada-mode.el. - (ada-stmt-mode-hook): Delete; do the work in ada-mode. + * bindings.el: Bind C-z to suspend-frame instead of suspend-emacs. - * cus-edit.el (custom-file): Call file-chase-links. + * termdev.el (terminal-id): Ask terminal-live-p before giving up. - * files.el (read-directory-name): Fix previous change. - (hack-local-variables-confirm): New function. - (hack-local-variables-prop-line, hack-local-variables) - (hack-one-local-variable): Use it. +2007-09-20 Richard Stallman -2005-05-10 Lute Kamstra + * newcomment.el (comment-add): If EXTRA, double `comment-add' value. - * font-lock.el (font-lock-keywords-alist) - (font-lock-removed-keywords-alist): Clarify docstrings. +2007-09-20 Stefan Monnier -2005-05-10 Nick Roberts + * add-log.el (add-log-current-defun): Fix thinko w.r.t derived-mode-p. - * progmodes/gdb-ui.el (gdb-macro-info): New variable. - (gdb-source-info): Check for preprocessor info. - (gdb-tooltip-print-1): New function. Don't print tooltip if it is - a macro for a function. - (gdb-info-breakpoints-custom): Try to find file again if not already - found (user might have used GDB dir command). - (gdb-get-location): Update gdb-location-alist correctly for change - to gdb-info-breakpoints-custom. +2007-09-20 Glenn Morris - * progmodes/gud.el (gud-tooltip-mode): Require tooltip to be safe. - (gud-tooltip-print-command): Add gdbmi case. - (gud-tooltip-tips): Call gdb-tooltip-print-1 first if there is - preprocessor info. + * textmodes/tex-mode.el (tex-validate-buffer): Use paragraph + motion functions, rather than hard-coding "\n\n". + (tex-validate-region): Check for eobp, to speed up. + (tex-next-unmatched-end): Doc fix. -2005-05-09 Reiner Steib +2007-09-19 Stefan Monnier - * startup.el (fancy-splash-insert): Fix typo in doc string. + * files.el (auto-mode-alist): Use archive-mode for .rar files. -2005-05-09 Juanma Barranquero + * international/mule.el (auto-coding-alist): Rar archives are binary. - * obsolete/float.el (string-to-float): - * obsolete/hilit19.el (hilit-add-pattern): - * obsolete/rnews.el (news-parse-range, news-select-message) - (news-get-pruned-list-of-files): Replace `string-to-int' by - `string-to-number'. + * arc-mode.el: Add basic support for Rar. + (archive-find-type): Recognize Rar's signature. + (archive-desummarize): New fun. + (archive-summarize): Use it to restore the buffer's data in case + someone wants to switch to some other major mode. + (archive-resummarize): Use it as well. + (archive-rar-summarize, archive-rar-extract): New functions. - * obsolete/uncompress.el: Set `find-file-not-found-functions', not - `find-file-not-found-hooks'; use `add-hook'. - (uncompress-while-visiting): Set `write-file-functions', not - `write-file-hooks'; use `add-hook'. + * filesets.el: Remove spurious * in docstrings. + (filesets-running-xemacs): Remove. Use (featurep 'xemacs) instead. + (filesets-conditional-sort): Remove unused arg `simply-do-it'. + (filesets-ingroup-collect): Remove unused arg `depth'. + (filesets-update): Remove unused arg `version'. -2005-05-09 Kim F. Storm + * finder.el (finder-compile-keywords): Fix up comment style. + (finder-mouse-face-on-line): previous-line -> forward-line. - * emulation/cua-base.el (cua-copy-region, cua-cut-region) - (cua-paste): Handle clipboard action. - (cua--init-keymaps): Remap clipboard-kill-region and - clipboard-kill-ring-save. + * recentf.el: Remove spurious * in docstrings. + (recentf-save-list): Fix up comment style. -2005-05-08 Eli Zaretskii + * progmodes/octave-mod.el: Remove spurious * in docstrings. + (octave-mode-map): Move init into declaration and remove \t binding. + (octave-mode-startup-message): Remove unused var. + (octave-scan-blocks): Remove unused arg `from'. + (octave-forward-block, octave-down-block, octave-up-block): + Update callers. - * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): - Improve commentary. + * progmodes/meta-mode.el (meta-mode-syntax-table): Move init into decl. + (meta-mode-map): Likewise and remove \t binding. - * simple.el (next-error-overlay-arrow-position): Revert the change - made on 2005-04-30. + * net/snmp-mode.el: Remove spurious * in docstrings. + (snmp-rfc1155-types, snmp-rfc1213-types, snmp-rfc1902-types) + (snmp-rfc1903-types, snmp-rfc1155-access, snmp-rfc1902-access) + (snmp-rfc1212-status, snmp-rfc1902-status): Remove list wrappers now + that completion accepts lists of strings. + (snmp-mode-syntax-table): Move initialization into declaration. + (snmp-mode-map): Likewise and remove \t binding. + (snmp-common-mode): Set tab-always-indent according to snmp-t-a-i. + (snmp-indent-line, snmp-mode-imenu-create-index): Remove unused var. + (snmp-indent-command): Remove. -2005-05-07 Jay Belanger + * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Use the default TAB + binding, so tab-always-indent works right. - * calc/calcsel2.el (calc-commute-left, calc-commute-right) - (calc-sel-unpack, calc-sel-isolate): Rename variable `reselect' to - `calc-sel-reselect'. +2007-09-19 Johannes Weiner - * calc/calc-mode.el (calc-save-modes): Reset the modes list if - Calc is in embedded mode. + * net/browse-url.el (browse-url-elinks-new-window): New function. + (browse-url-elinks): Use browse-url-elinks-new-window. + Accept optional second argument `new-window'. Fix typo in doc-string. + (browse-url-elinks-sentinel): Use browse-url-elinks-new-window. + Improve error message. -2005-05-07 Eli Zaretskii +2007-09-19 Micha,Ak(Bl Cadilhac - * progmodes/compile.el (compilation-setup): - Set overlay-arrow-string to an empty string on text terminals. + * net/browse-url.el (browse-url-url-encode-chars): Use the right + parameter name in the function body. + Reported by Johannes Weiner. - * textmodes/ispell.el (ispell-program-name): Try looking for - "aspell" along exec-path, and if found, use it as the default - speller program. +2007-09-19 Glenn Morris -2005-05-07 Jirka Kosek (tiny change) + * net/socks.el (socks-open-network-stream): Signal an explicit + error if the port associated with a service string can't be found. - * international/mule.el (sgml-xml-auto-coding-function): - Recognize encoding='FOO' in single quotes as well as in double quotes. + * textmodes/tex-mode.el (tex-terminate-paragraph): + Use backward-paragraph. -2005-05-07 Johan Bockg,Ae(Brd +2007-09-19 Stefan Monnier - * emacs-lisp/cl-macs.el (cl-transform-lambda): Recognize `declare' - as well as `interactive', so that defmacro* would recognize - `declare' forms. + * server.el (server-running-p): New function. -2005-05-07 Eli Zaretskii +2007-09-18 Jason Rumney - * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): - Explain more about the LIGHTER arg's usage in the doc string. - Add commentary to clarify what the code does. Fix the regexp that - strips whitespace from LIGHTER. Quote LIGHTER before using it, - since it could have characters special to regular expressions. + * term/w32-win.el (w32-focus-frame): Make obsolete alias for + x-focus-frame. -2005-05-07 Matt Hodges (tiny change) + * frame.el (select-frame-set-input-focus, select-frame-by-name): + Use x-focus-frame for w32. - * replace.el (occur-1): Bind inhibit-read-only so that - erase-buffer doesn't barf on read-only text properties (likewise - for add-text-properties in occur-engine). Mark buffer as unmodified. - (occur-engine): Don't set buffer-read-only here. +2007-09-17 David Kastrup -2005-05-06 Stefan Monnier + * textmodes/tex-mode.el (tex-verbatim-environments): + Eliminate CL dependency. - * pcvs.el (cvs-mode-commit, cvs-mode-edit-log): Don't fiddle with - list-buffers-directory. This caused the *cvs-commit* buffer to be - sometimes mistakenly reused as a *cvs* buffer. +2007-09-17 Richard Stallman -2005-05-07 Nick Roberts + * newcomment.el (comment-add): New arg EXTRA. + (comment-region-default): Pass EXTRA if not indenting lines. - * tooltip.el: Move code for GUD tooltips into gud.el. - (require): CL no longer needed to compile case. - (tooltip-mode): Do not toggle functions for GUD tooltips. - (tooltip-gud-tips-p): Remove. Replace with minor mode - gud-tooltip-mode in gud.el. - (tooltip-gud-modes, tooltip-gud-display, tooltip-gud-echo-area) - (tooltip-gud-toggle-dereference): Rename in gud.el by replacing - tooltip-gud prefix with gud-tooltip and obsolete. - (tooltip-change-major-mode, tooltip-activate-mouse-motions-if-enabled) - (tooltip-mouse-motions-active, tooltip-activate-mouse-motions) - (tooltip-mouse-motion): Mouse movement functions/variable. - Rename in gud.el by adding gud prefix. - (tooltip-gud-original-filter, tooltip-gud-dereference) - (tooltip-gud-event, tooltip-toggle-gud-tips) - (tooltip-gud-process-output, tooltip-gud-print-command) - (tooltip-gud-tips): GUD tooltip functions/variables. Rename in - gud.el by replacing tooltip-gud prefix with gud-tooltip. - (gdb-tooltip-print): Move to gdb-ui.el. +2007-09-17 Micha,Ak(Bl Cadilhac - * progmodes/gud.el: Move code for GUD tooltips from tooltip.el. - (require): CL needed to compile case. - (gud-tooltip-mode): Use to toggle GUD tooltips instead of - tooltip-gud-tips-p. Make it a minor-mode. - (gud-find-file): Only prepare GUD tooltips if gud-tooltip-mode is t. - (gud-menu-map): GUD tooltips use gud-tooltip-mode now. - (gud-tooltip-modes, gud-tooltip-display, gud-tooltip-echo-area) - (gud-tooltip-change-major-mode) - (gud-tooltip-activate-mouse-motions-if-enabled) - (gud-tooltip-mouse-motions-active, gud-tooltip-activate-mouse-motions) - (gud-tooltip-mouse-motion, gud-tooltip-toggle-dereference) - (gud-tooltip-original-filter, gud-tooltip-dereference) - (gud-tooltip-event, tooltip-toggle-gud-tips) - (gud-tooltip-process-output, gud-tooltip-print-command) - (gud-tooltip-tips): Move from tooltip.el. - - * progmodes/gdb-ui.el (gdb-tooltip-print): Move from tooltip.el. - (gdb-cpp-define-alist-flags): Doc fix. - (gdb-set-gud-minor-mode-1): Only prepare GUD tooltips if - gud-tooltip-mode is t. - -2005-05-06 Stefan Monnier - - * net/goto-addr.el (goto-address-fontify): Make sure the overlays - evaporate if their text is deleted. - (goto-address-at-point): Make it work as a mouse binding as well. - (goto-address-at-mouse): Obsolete it. Update users. - -2005-05-06 Glenn Morris - - * calendar/appt.el (top-level): No longer activate on load. - -2005-05-06 Juanma Barranquero - - * calendar/cal-bahai.el (mark-bahai-diary-entries): - * net/webjump.el (webjump): - * progmodes/idlw-help.el (idlwave-do-context-help1) - (idlwave-highlight-linked-completions): - * textmodes/po.el (po-find-file-coding-system-guts): - Replace `assoc-ignore-case' by `assoc-string'. - -2005-05-06 Eli Zaretskii - - * files.el (locate-file): Doc fix. - - * progmodes/gdb-ui.el (gdb-cpp-define-alist-program): Doc fix. - Remove the redundant test for ms-dos. - - * progmodes/cmacexp.el (c-macro-preprocessor): Use locate-file to - look for the preprocessor with exec-suffixes. If not found in - standard places, look in exec-path. Remove most of the tests that - used system-type. - - * loadup.el: Load jka-cmpr-hook instead of jka-comp-hook. - - * jka-compr.el (jka-compr-uninstall): Add autoload cookie. - - * jka-cmpr-hook.el: Renamed from jka-comp-hook.el, to avoid - file-name clash with jka-compr.el on 8+3 filesystems. - -2005-05-06 YAMAMOTO Mitsuharu - - * term/mac-win.el: Don't define or bind scroll bar functions if - x-toolkit-scroll-bars is t. - (x-select-text, x-get-selection-value): Clear - x-last-selected-text-clipboard if x-select-enable-clipboard is - nil. - (PRIMARY): Put mac-scrap-name property. - (mac-select-convert-to-file-url): New function. - (public.file-url): New selection target type. Add to - selection-converter-alist. - (x-get-selection, x-selection-value): Handle it. - (x-cut-buffer-or-selection-value): New alias. - -2005-05-05 Roland Winkler - - * textmodes/bibtex.el (bibtex-summary): Use current BibTeX - entry to avoid calling bibtex-find-entry with arg global - being t. Remove arg key. - (bibtex-summary-function, bibtex-complete-crossref-cleanup) - (bibtex-copy-summary-as-kill): Change accordingly. - -2005-05-05 Stefan Monnier - - * textmodes/org.el (org-get-entries-from-diary): Remove unused vars. - (org-agenda-date-later): Use with-current-buffer. - -2005-05-05 Luc Teirlinck - - * emacs-lisp/byte-run.el (define-obsolete-function-alias) - (define-obsolete-variable-alias): Doc Fixes. - -2005-05-06 Kim F. Storm - - * simple.el (line-move-1): Fix 2005-04-26 change. Must still use - vertical-motion when selective-display is active. - - * ido.el (ido-setup-hook): New hook. - (ido-define-mode-map-hook): Remove hook; use ido-setup-hook instead. - (ido-input-stack): New var. - (ido-define-mode-map): Bind M-b to ido-push-dir. Move old - ido-next-work-file binding to M-O. - Bind M-f to ido-wide-find-file-or-pop-dir. - (ido-define-mode-map): Don't run ido-define-mode-map-hook. - (ido-read-internal): Run ido-setup-hook. - Catch quit in read-file-name and read-string to cancel edit. - Handle new push, pop, and pop-all exit codes (for M-b/M-f). - Automatically pop-all when completing a directory name (RET). - (ido-file-internal): Add with-no-warnings around ffap and dired code. - (ido-exit-minibuffer): Use exit-minibuffer instead of throw. - (ido-wide-find-file, ido-wide-find-dir): Catch quit to cancel find. - (ido-push-dir, ido-pop-dir, ido-wide-find-file-or-pop-dir): - New functions for M-b/M-f to move among the directory components. - (ido-make-merged-file-list): Catch quit to cancel merge. - (ido-make-dir-list): Delete "." when ido-input-stack is non-empty. - (ido-completion-help): No warnings for ido-completion-buffer-full. - -2005-05-05 Daniel Pfeiffer + * net/browse-url.el (browse-url-url-encode-chars): New function. + URL-encode some chars in a string. + (browse-url-encode-url): Rewrite using the previous function. + (browse-url-file-url): Use `browse-url-url-encode-chars'. + (browse-url-elinks-sentinel): Fix typo. + (browse-url-new-window-flag): Doc change. - * font-lock.el (font-lock-negation-char-face): New face and variable. - * progmodes/cc-fonts.el (c-cpp-matchers): Use it. - * progmodes/sh-script.el (sh-font-lock-keywords): Use it. - * progmodes/cperl-mode.el (cperl-init-faces): Use it. - * progmodes/make-mode.el (makefile-font-lock-keywords): Use it. +2007-09-17 Glenn Morris -2005-05-05 Juanma Barranquero + * textmodes/tex-mode.el (tex-compilation-parse-errors): Prefer the + filename from `--file-line-error', if it is available. - * emacs-lisp/byte-run.el (define-obsolete-function-alias): - Fix typo in docstring. +2007-09-17 Joe Wells (tiny change) - * progmodes/ebrowse.el (ebrowse-install-1-to-9-keys) - (ebrowse-print-statistics-line) - (ebrowse-electric-position-mode-hook): Fix typo in docstring. + * textmodes/tex-mode.el (tex-compilation-parse-errors): Also match + TeX `--file-line-error' format. - * term/w32-win.el (image-library-alist): Add additional name for - Xpm library. +2007-09-17 Dan Nicolaescu -2005-05-05 Nick Roberts + * xt-mouse.el: Delete add-hook calls that were moved to + xterm-mouse-mode. + (xterm-mouse-mode): Disable resume-tty-functions, explain why it + does not work. - * progmodes/cmacexp.el (c-macro-preprocessor): Update for BSD and - use gcc instead of cpp. +2007-09-17 Richard Stallman - * progmodes/gdb-ui.el (gdb-cpp-define-alist-flags): New variable. - (gdb-create-define-alist): Use it. - (gdb-cpp-define-alist-program): Update for MS-DOS. + * cus-face.el (custom-theme-set-faces): Undo previous change. -2005-05-04 Nick Roberts + * faces.el (face-spec-set): When FRAME nil, look up each frame in SPEC. - * progmodes/cmacexp.el (c-macro-preprocessor): Update for Mac OS X. +2007-09-17 Glenn Morris -2005-05-04 Richard M. Stallman + * textmodes/tex-mode.el (tex-region): Simplify previous change, + handling the case where the region is not in `tex-main-file'. + (tex-region-1): Delete. + (tex-region-header): New function, doing the header part of the + old tex-region-1. - * help.el (describe-key): No error when UNTRANSLATED is nil. +2007-09-16 Stefan Monnier - * simple.el (line-move-1): Fix previous change to signal errors - appropriately. + * simple.el (newline): Simplify use of prefix-numeric-value. + (line-move-partial): Remove unused var `ppos'. + (line-move-1): Replace 9999 with most-positive-fixnum. + (move-end-of-line): Use more efficient single-property search. + (move-beginning-of-line): Remove unused var `start'. + (blink-matching-open): Restructure in a more functional style. -2005-05-03 Ulf Jasper +2007-09-16 Micha,Ak(Bl Cadilhac - * calendar/icalendar.el (icalendar-version): Now at 0.12. - (icalendar-duration-correction): Remove. - (icalendar--get-event-properties): Split result at commas. - (icalendar--decode-isoduration): New optional argument - DURATION-CORRECTION. - (icalendar--convert-ordinary-to-ical, icalendar--convert-sexp-to-ical) - (icalendar--convert-yearly-to-ical, icalendar--convert-weekly-to-ical) - (icalendar--convert-block-to-ical, icalendar--convert-float-to-ical) - (icalendar--convert-date-to-ical, icalendar--convert-cyclic-to-ical) - (icalendar--convert-anniversary-to-ical): New functions, extracted - from icalendar-export-region, with bug fixes. - (icalendar-export-region): Use the above functions. - (icalendar-import-buffer): Check before saving diary file. - (icalendar--convert-recurring-to-diary) - (icalendar--convert-non-recurring-all-day-to-diary) - (icalendar--convert-non-recurring-not-all-day-to-diary): New functions, - extracted from icalendar--convert-ical-to-diary, with bug fixes. - (icalendar--convert-ical-to-diary): Use the above functions. + * calendar/holidays.el (list-holidays): Remove the cyclic alias. -2005-05-03 Nick Roberts +2007-09-16 Stefan Monnier - * progmodes/cc-mode.el (cc-define-alist, cc-create-define-alist): - Remove these recent additions. - (c-mode): Restore to before 2005-04-28. + * server.el (server-clients): Only keep procs, no properties any more. + (server-client): Remove. + (server-client-get, server-client-set): Remove, replace all callers by + process-get and process-put resp. + (server-clients-with, server-add-client, server-delete-client) + (server-create-tty-frame, server-create-window-system-frame) + (server-process-filter, server-execute, server-visit-files) + (server-buffer-done, server-kill-buffer-query-function) + (server-kill-emacs-query-function, server-switch-buffer) + (server-save-buffers-kill-terminal): Update accordingly. + + * server.el (server-with-environment): Simplify. + (server-select-display, server-unselect-display): Re-add functions that + seem to have been lost in the multi-tty merge. + (server-eval-and-print, server-create-tty-frame) + (server-create-window-system-frame, server-goto-toplevel) + (server-execute, server-return-error): New functions extracted from + server-process-filter. + (server-execute-continuation): New functions. + (server-process-filter): Restructure so that all arguments are analysed + first and then acted upon in a subsequent stage. This way + server-goto-toplevel can be executed later, when we know if + it's necessary. + Remove the "-version" and "-version-good" support. - * progmodes/cc-vars.el (cc-define-list-program): Remove this - recent addition. +2007-09-16 Drew Adams - * cus-edit (custom-face-edit-activate): Doc fix. - * progmodes/gdb-ui.el (gdb-cpp-define-alist-program) - (gdb-define-alist): New variables. - (gdb-create-define-alist): New function. - (gdb-set-gud-minor-mode-1): Handle gdb-define-alist. - (gdb-source, gdb-memory-set-repeat-count): Replace string-to-int - with string-to-number. - (gdb-reset): Kill gdb-define-alist. Move assignments outside loop. ++ * cus-edit.el (custom-face-edit-activate): Doc fix. - * progmodes/gud.el: Replace string-to-int with string-to-number. - (gud-find-file): Handle gdb-define-alist. +2007-09-16 Glenn Morris - * tooltip.el (tooltip-gud-tips): Use gdb-define-alist. + * calendar/cal-menu.el, calendar/calendar.el, calendar/diary-lib.el: + Following cal-bahai renaming, update all instances of + list-bahai-diary-entries to diary-bahai-list-entries, + mark-bahai-diary-entries to diary-bahai-mark-entries, + calendar-goto-bahai-date to calendar-bahai-goto-date, + insert-bahai-diary-entry to diary-bahai-insert-entry, + insert-monthly-bahai-diary-entry to diary-bahai-insert-monthly-entry, + insert-yearly-bahai-diary-entry to diary-bahai-insert-yearly-entry, and + calendar-print-bahai-date to calendar-bahai-print-date. -2005-05-02 Jay Belanger + * textmodes/tex-mode.el (tex-region): Handle the case where the + region is not in `tex-main-file'. Move the old code that applies + to both cases... + (tex-region-1): ...to this new function. - * calc/calc-aent.el (math-read-token): - * calc/calc-bin.el (calc-word-size): - * calc/calc-ext.el (calc-read-number-fancy): - * calc/calc-forms.el (calc-time, calc-date-notation, math-this-year) - (math-parse-date, math-parse-standard-date, calcFunc-tzone): - * calc/calc-frac.el (calc-over-notation): - * calc/calc-graph.el (calc-graph-plot, calc-graph-set-styles) - (calc-graph-num-points, calc-graph-init): - * calc/calc-prog.el (calc-read-parse-table-part) - (calc-edit-macro-repeats): - * calc/calc-yank.el (calc-do-grab-rectangle): - * calc/calc.el (calcDigit-key, math-read-number, math-read-bignum): - Replace `string-to-int' by `string-to-number'. +2007-09-15 Stefan Monnier -2005-05-02 Kim F. Storm + * vc.el (vc-process-sentinel): New function. + (vc-exec-after): Use it instead of using ugly hackish analysis and + construction of Elisp code. + (vc-sentinel-movepoint): New dynamically scoped var. + (vc-print-log, vc-annotate): Set it to move the user's point. - * kmacro.el: Use executing-kbd-macro-index variable. + * vc-cvs.el (vc-cvs-annotate-time): Use inhibit-read-only and + inhibit-modification-hooks. -2005-05-02 Thien-Thi Nguyen + * calendar/cal-bahai.el (mark-bahai-diary-entries): Fix up typo. + (calendar-bahai-print-date, calendar-bahai-goto-date) + (diary-bahai-list-entries, diary-bahai-insert-entry): + New names to clean up the namespace a bit more. + (calendar-goto-bahai-date, calendar-print-bahai-date): Compat aliases. - * net/rlogin.el (rlogin-parse-words): Delete func. - (rlogin): Use split-string, not rlogin-parse-words. - Also, if there are option-like elements in the parsed args, - take the host to be the first arg immediately following them. - Suggested by Michael Mauger. +2007-09-15 Glenn Morris -2005-05-01 Luc Teirlinck + * calendar/holidays.el (holiday-list): Rename it back to + `list-holidays', but leave `holiday-list' as an alias. - * subr.el (executing-macro): Use `define-obsolete-variable-alias'. + * textmodes/bibtex-style.el (bibtex-style-indent-basic): Specify a + custom group. -2005-05-02 Nick Roberts + * textmodes/css-mode.el (css): New custom group. + (css-electrick-keys, css-selector, css-property) + (css-indent-offset): Specify custom group. - * progmodes/cc-mode.el (cc-create-define-alist): Use a shell. - (cc-mode-cpp-program): Rename to cc-define-list-program and - move to cc-vars.el. +2007-09-15 Stefan Monnier - * progmodes/cc-vars.el (cc-define-list-program): - Change to "gcc -E -dM -". Make customizable. + * pcvs.el (cvs-tags-list, cvs-retrieve-revision, cvs-find-modif) + (cvs-execute-single-file): Use process-file. + (cvs-run-process): Use start-file-process. -2005-05-02 Kim F. Storm +2007-09-15 Dan Nicolaescu - * emulation/cua-base.el: Fix check for CUA-mode if no init file. + * xt-mouse.el (xterm-mouse-mode): Add hooks here not at the top + level. Remove the hooks when turning off the mode. -2005-05-02 Nick Roberts + * term/xterm.el: Require xt-mouse at compile time. + (terminal-init-xterm): Turn on xterm mouse tracking for this + terminal if xterm-mouse-mode is enabled. - * progmodes/cc-mode.el (cc-mode-cpp-program): Change to "gcc -E". +2007-09-14 Dan Nicolaescu - * international/mule-util.el (truncate-string): Remove alias and - obsolete declaration. + * term/xterm.el (xterm-function-map): Replace bindings that were + deleted by the merge. - * international/mule-cmds.el (update-iso-coding-systems): - Remove alias and obsolete declaration. +2007-09-14 Ulf Jasper - * international/mule.el (coding-system-parent): Remove alias and - obsolete declaration. + * play/bubbles.el (bubbles-version): Bump value to "0.5". + (bubbles-mode-map): Move define-key statements here. + (bubbles-game-theme-menu): Ditto. + (bubbles-graphics-theme-menu): Ditto. + (bubbles-menu): Ditto. + (bubbles-mode): Initialize buffer-undo-list, redisplay. + (bubbles--initialize): Reset buffer-undo-list, redisplay. + (bubbles-plop): Set buffer-undo-list, redisplay. + (bubbles-undo): Reset buffer-undo-list, redisplay. + (bubbles--show-images): Take care of missing text properties. - * subr.el (define-function, sref): Remove aliases and obsolete - declarations. - (chars-in-region): Remove obsolete declaration. +2007-09-14 Glenn Morris -2005-05-01 Richard M. Stallman + * startup.el (fancy-startup-text, fancy-about-text): Fix face + quoting. - * info.el (Info-mode): Set widen-automatically to nil, locally. + * calendar/cal-hebrew.el, calendar/cal-menu.el + * calendar/calendar.el, calendar/diary-lib.el + * calendar/holidays.el: Rename all instances of + list-calendar-holidays callers to calendar-list-holidays, + list-holidays to holiday-list, check-calendar-holidays to + calendar-check-holidays, mark-calendar-holidays to + calendar-mark-holidays, and filter-visible-calendar-holidays to + holiday-filter-visible-calendar. - * simple.el (widen-automatically): New variable. - (pop-global-mark): Obey widen-automatically. +2007-09-14 Dan Nicolaescu -2005-05-01 Dan Nicolaescu + * term/xterm.el (xterm-function-map): Add C-M- bindings. - * term/xterm.el (function-key-map): Call substitute-key-definition - before the keymap size is increased by a lot of define-key calls. +2007-09-13 Sascha Wilde (tiny change) -2005-05-01 Richard M. Stallman + * play/bubbles.el (bubbles--initialize-images): Fix bug: + Use transparent background for empty cells in graphics mode. - * subr.el (add-to-invisibility-spec, remove-from-invisibility-spec): - Rename ARG to ELEMENT. Doc fix. +2007-09-13 Jari Aalto -2005-05-01 Nick Roberts + * man.el (Man-default-man-entry): At end of line, continue looking + to the next line for possible end of hyphenated command. - * allout.el (allout-exposure): Remove macro and obsolete declaration. - Remove references to allout-exposure/change to allout-new-exposure. +2007-09-13 Chris Moore - * emacs-lisp/bytecomp.el (dot, dot-min, dot-max): Don't create - bytecode symbols. + * shell.el (shell-resync-dirs): Don't move the cursor relative to + the command being edited. - * subr.el (dot, dot-marker, dot-min, dot-max, buffer-flush-undo) - (compiled-function-p, focus-frame, unfocus-frame): - Remove aliases and obsolete declarations. - Back out inadvertent changes from previous commit. +2007-09-12 Jim Meyering (tiny change) -2005-05-01 Luc Teirlinck + * emacs-lisp/copyright.el (copyright-names-regexp): Doc fix: typo. - * files.el (require-final-newline): Make Custom tags consistent - with mode-require-final-newline. - (mode-require-final-newline): Doc fix. +2007-09-12 Dan Nicolaescu -2005-05-01 Stefan Monnier + * term/xterm.el (xterm-function-map): Add bindings for M-S- and + C-M-S- keys. - * international/latexenc.el (latexenc-find-file-coding-system): - Fix regular expressions. + * term/rxvt.el (rxvt-function-map): Initialize in the declaration. -2005-05-01 David Kastrup +2007-09-12 Micha,Ak(Bl Cadilhac - * international/latexenc.el (latexenc-find-file-coding-system): - Fix regular expressions. + * net/browse-url.el (browse-url-encode-url): Fix an infinite loop. + New argument `filename-p' to use one set of confusing chars or another. + (browse-url-file-url): Use the argument. + Suggested by Johannes Weiner. -2005-05-01 Nick Roberts +2007-09-12 Romain Francoise - * subr.el (string-to-int): Make obsolete. + * cus-start.el (all): Revert 2007-09-08 change. -2005-04-30 Richard M. Stallman +2007-09-12 Aaron Hawley - * simple.el (next-error-overlay-arrow-position): Turn off, for ttys. + * jka-cmpr-hook.el (jka-compr-compression-info-list): Use gzip to + extract .Z files, since it is more common than uncompress. - * loadup.el: Load jka-comp-hook. +2007-09-12 Glenn Morris - * jka-compr.el: Many functions and vars moved to jka-comp-hook.el. - (jka-compr-handler): Add autoload. `put' calls moved - to jka-comp-hook.el. - (compression, jka-compr): defgroups moved to jka-comp-hook.el. - (jka-compr-inhibit): Autoload. + * textmodes/org-publish.el (org-publish-org-to-html): Remove + duplicate function definition. - * jka-comp-hook.el: New file. - Enable the mode by default. +2007-09-10 Chris Moore - * files.el (backup-buffer-copy): Use copy-file instead - of write-region, and put back the 'excl. + * diff-mode.el (diff-sanity-check-hunk): + Also accept single-line hunks. -2005-04-30 Chong Yidong +2007-09-10 Chong Yidong - * progmodes/flymake.el (flymake-split-string) - (flymake-split-string, flymake-log, flymake-pid-to-names) - (flymake-reg-names, flymake-get-source-buffer-name) - (flymake-unreg-names, flymake-add-line-err-info) - (flymake-add-err-info): Clarify docstrings. - (flymake-popup-menu, flymake-make-emacs-menu) - (flymake-make-xemacs-menu): Add docstrings. - (flymake-get-buffer-*, flymake-set-buffer-*): Functions deleted. - Set variables directly throughout. + * startup.el (startup-screen-inhibit-startup-screen) + (pure-space-overflow-message): New vars. + (fancy-splash-insert): Allow functions for face and link specs. + (fancy-splash-head): Remove unused arg. Move splash text... + (fancy-startup-text, fancy-about-text): ...here. + (fancy-startup-tail): Rename from fancy-splash-tail. + (fancy-startup-screen, fancy-about-screen): Split off from + fancy-splash-screens. + (display-startup-screen): New function. + (display-about-screen): Rename from display-splash-screen. + (command-line-1): Use concise startup screen if necessary. -2005-04-30 Nick Roberts +2007-09-10 Thien-Thi Nguyen - * progmodes/cc-mode.el (cc-create-define-alist): Check that file - exists. Initialize cc-define-alist. - (c-mode): Add cc-create-define-alist locally to after-save-hook. - If there is no file (Macroexpansion) don't create an alist. + * net/browse-url.el (browse-url-encode-url): Use copy-sequence. + Reported by Jan Dj,Ad(Brv . -2005-04-29 Sam Steingold +2007-09-10 Stefan Monnier - * progmodes/cc-mode.el (cc-mode-cpp-program): New user variable. - (cc-create-define-alist): Use it instead of the hard-coded string. + * progmodes/python.el: Merge changes from Dave Love's v2007-Sep-10. + (python-font-lock-keywords): Update to the 2.5 version of the language. + (python-quote-syntax): Let-bind font-lock-syntactic-keywords to nil. + (python-backspace): Only behave funny in code. + (python-compilation-regexp-alist): Add PDB stack trace regexp. + (inferior-python-mode): Add PDB prompt regexp. + (python-fill-paragraph): Refine the fenced-string regexp. + (python-find-imports): Handle imports spanning several lines. + (python-mode): Add `class' to hideshow support. -2005-04-29 Stefan Monnier +2007-09-10 Dave Love - * international/mule-conf.el (file-coding-system-alist): Fix regexp - for latexenc. + * outline.el (outline-4, outline-5, outline-7): + Move font-lock-builtin-face down from 4 to 7 to better keep the + progression of color brightness, and to better match Org-mode's faces. + +2007-09-10 Micha,Ak(Bl Cadilhac + + * progmodes/meta-mode.el (meta-font-lock-keywords) + (font-lock-match-meta-declaration-item-and-skip-to-next) + (meta-comment-indent, meta-indent-previous-line) + (meta-indent-unfinished-line, meta-beginning-of-defun) + (meta-end-of-defun, meta-common-initialization): Handle \f. + (meta-indent-unfinished-line): Do not handle a `%' in a string as + a comment-start. + + * files.el (file-modes-char-to-who, file-modes-char-to-right) + (file-modes-rights-to-number): Auxiliary functions for symbolic to + numeric notation of file modes. + (file-modes-symbolic-to-number): New. Convert symbolic modes to its + numeric value. + (read-file-modes): New. Read either an octal value of a file mode or a + symbolic value, and return its numeric value. + + * dired-aux.el (dired-do-chmod): Change to use the built-in + `set-file-modes' and the previous symbolic mode parsing functions. + +2007-09-10 Stefan Monnier + + * textmodes/texinfo.el: Remove spurious * in docstrings. + (texinfo-mode-syntax-table, texinfo-mode-map): + Initialize in the declaration. + + * tmm.el: Remove spurious * in docstrings. + (tmm-prompt): Use with-current-buffer. + + * vcursor.el: Remove spurious * in docstrings. + (vcursor-map): Initialize in the declaration. + (vcursor-use-vcursor-map): Use define-minor-mode. + (vcursor-toggle-vcursor-map): Keep as an obsolete alias. + + * wid-browse.el (widget-browse-mode-map, widget-minor-mode-map): + Initialize in the declaration. + (widget-minor-mode): Use define-minor-mode. + + * woman.el (woman-mode-map, woman-syntax-table): + Initialize in the declaration. + +2007-09-09 Tassilo Horn + + * doc-view.el: New file. + +2007-09-09 Juri Linkov + + * Makefile.in (update-authors): Add etc/ to AUTHORS. + + * makefile.w32-in (update-authors): Add etc/ to AUTHORS. + + * startup.el (initial-buffer-choice): Rename choice "Splash screen" + to "Startup screen". Fix docstring. + (inhibit-startup-screen): Rename from `inhibit-splash-screen'. + (inhibit-splash-screen): Make alias to `inhibit-startup-screen'. + (inhibit-startup-message): Change alias to `inhibit-startup-screen'. + (initial-scratch-message): Fix docstring. + (fancy-startup-text): Move link to Emacs Manual below Emacs Guided + Tour (which is a kind of tutorial and will be next to Emacs Tutorial). + Add link to "Customize Startup" and set interval between links to + 5 spaces. + (fancy-about-text): Add links "Authors" and "Contributing". + (fancy-splash-head): Add text "Welcome to " on the startup screen, + and "This is " on the about screen. Add link to + "http://www.gnu.org/software/emacs/" for "GNU Emacs". + For the about screen move emacs version to the header from + `fancy-splash-tail' (as it's done already for normal about screen). + (fancy-splash-tail): Insert emacs version only for startup screen. + (normal-splash-screen): Remove duplicate empty lines. + (normal-about-screen): Add links "Authors" and "Contributing". -2005-04-29 Lute Kamstra + * menu-bar.el (menu-bar-help-menu): + Move "About Emacs" and "About GNU" to the end of the Help menu. + Move "Emacs Psychotherapist" after "Send Bug Report...". + Move "External Packages" after "Find Emacs Packages". + +2007-09-09 Michael Albinus + + * net/tramp.el (top): Remove declarations of `tramp-gw-*' symbols, + they are useless with the byte compiler. + (tramp-make-temp-file, tramp-make-tramp-temp-file): Move up. + (tramp-do-copy-or-rename-file-directly): Rearrange let-bindings. + (tramp-compute-multi-hops): Mask `tramp-gw-*' symbols. + (tramp-file-name-real-host, tramp-file-name-port) + (tramp-find-method, tramp-find-user, tramp-find-host): Make them + defuns. - * emacs-lisp/generic.el: Improve commentary section. - (define-generic-mode): Improve docstring. + * net/tramp-cache.el (top): Improve error message when + `tramp-persistency-file-name' is corrupted. + +2007-09-09 Carsten Dominik + + * textmodes/org.el (org-re): Also replace the :alpha: class. + (org-todo-tag-alist): Variable removed. + (org-todo-key-alist, org-todo-key-trigger) New variables. + (org-use-fast-todo-selection): New option. + (org-log-done): Docstring fixed. + (org-deadline-warning-days): New default value 14. + (org-edit-timestamp-down-means-later) New option. + (org-tag-alist): Docstring fixed. + (org-fast-tag-selection-include-todo): New option. + (org-export-language-setup): New languages added. + (org-set-regexps-and-options): Compute the new variables. + (org-paste-subtree): Cleaning up. + (org-remember-apply-template): New escape %A. + (org-todo): Call fast TODO selection. + (org-fast-todo-selection): New function. + (org-add-log-note): Allow prefix for abort exit. + (org-at-property-p, org-entry-properties) + (org-columns-get-autowidth-alist): Use :alpha: class. + (org-get-wdays): New function. + (org-agenda-remove-date): New variable. + (org-agenda-get-deadlines): Use `org-get-wdays'. + (org-agenda-get-deadlines): Reverse ee before returning. + (org-format-agenda-item): New argument REMOVE-RE. + (org-agenda-convert-date): Baha'i calendar added. + (org-infile-export-plist): Also find DATE line. + (org-get-min-level): New function. + (org-export-as-html, org-export-as-ascii): Use the date format. + (org-shiftup, org-shiftdown): Use. + `org-edit-timestamp-down-means-later'. + (org-assign-fast-keys): New function. + +2007-09-08 Fredrik Axelsson + + * cus-start.el (all): Add prefer-window-split-horizontally from + window.c. + +2007-09-08 Eli Zaretskii + + * net/browse-url.el (browse-url-galeon): Fix last change. + (top-level): Require cl when compiling. + +2007-09-08 Carsten Dominik + + * textmodes/org-export-latex.el: arch-tag restored. + + * textmodes/org-publish.el: arch-tag restored. + +2007-09-08 Masatake YAMATO + + * progmodes/which-func.el (which-func-modes): Add diff-mode. + + * progmodes/cc-langs.el: Support new keywords added to + objective-c frontend of gcc. + (c-simple-stmt-kwds): Add @throw. + (c-block-stmt-2-kwds): Add @synchronized. + (c-block-stmt-1-kwds): Add @finally and @try. + +2007-09-07 Carsten Dominik + + * textmodes/org.el (org-edit-timestamp-down-means-later): New option. + (org-agenda-after-show-hook): New variable. + (org-columns-compile-format) + (org-columns-get-autowidth-alist, org-buffer-property-keys) + (org-entry-properties, org-at-property-p): Allow [:alnum:] in + property names. + (org-get-wdays): New function. -2005-04-29 Carsten Dominik +2007-09-07 Stefan Monnier - * textmodes/org.el (many places): Change to quiet the byte compiler. - (org-prefix-format-compiled): New variable. - (org-compile-prefix-format): New function. - (org-timeline, org-agenda, org-diary): Call org-compile-prefix-format. - (org-agenda-prefix-format, org-timeline-prefix-format): New options. - (org-agenda-get-scheduled): Check if file is opened in `org-mode'. - (org-get-entries-from-diary): Use `org-get-time-of-day' for - consistency with entries from `org-mode' files. - (org-get-time-of-day): Fix bug with partial matches early in a line. - (org-non-link-chars): New constant. - (org-link-regexp): Respect `org-non-link-chars'. - (org-agenda-day-view): Remove command. - (org-agenda-toggle-week-view): Rename from `org-agenda-week-view'. - (org-follow-bbdb-link, org-store-link): Search also company field. - (org-highlight-overlay): New variable. - (org-highlight, org-unhighlight): New functions. - (org-agenda-mode): Add pre-command-hook to remove highlight. - (org-evaluate-time-range): Behavior depends upon whether time stamp - contains a time or not. - (org-show-subtree, org-show-entry): New functions. - (org-agenda-cleanup-fancy-diary): Remove empty lines. + * simple.el (normal-erase-is-backspace-setup-frame): Massage. -2005-04-28 Luc Teirlinck + * term/xterm.el (xterm-function-map): Initialize in the declaration. - * comint.el (comint-output-filter-functions): Add autoload cookie. + * vc-arch.el (vc-arch-checkin): Fix typo. -2005-04-28 Kim F. Storm +2007-09-07 Johan Bockg,Ae(Brd - * ido.el (ido-everywhere): Fix last change. + * cus-face.el (custom-theme-set-faces): Set face attributes + locally for each frame. -2005-04-28 Arne J,Ax(Brgensen +2007-09-07 Stefan Monnier - * international/latexenc.el: New file. - * international/mule-conf.el (file-coding-system-alist): For .tex, - .ltx, .dtx and .drv extensions, use `latexenc-find-file-coding-system'. + * progmodes/fortran.el (fortran-mode): Set font-lock-syntactic-keywords + via font-lock-defaults. -2005-04-28 Lute Kamstra + * emacs-lisp/bytecomp.el (byte-compile-log-file): Check major-mode via + derived-mode-p. - * font-lock.el (font-lock-add-keywords) - (font-lock-remove-keywords): Clarify docstring. - (font-lock-keywords-alist, font-lock-removed-keywords-alist): - Don't start docstrings with a `*'. - (font-lock-update-removed-keyword-alist): Give it a docstring. +2007-09-07 Thien-Thi Nguyen - * generic-x.el: Update commentary section. - Only require font-lock when compiling. - Define all modes conditionally. - Place all generic modes in the generic-x-modes customization group. - (generic-x-modes): New customization group. - (generic-default-modes, generic-mswindows-modes) - (generic-unix-modes, generic-other-modes): New constants. - (generic-define-mswindows-modes, generic-define-unix-modes): - Update docstrings. Make them obsolete. - (generic-extras-enable-list): New default value. Update docstring. - Improve :type. Change :set function. - (bat-generic-mode-syntax-table, rul-generic-mode-syntax-table): - Fix docstring. + * progmodes/autoconf.el (autoconf-definition-regexp): + Handle optional square brackets around definition name. - * emacs-lisp/generic.el (generic-mode-internal): - Simplify font-lock-defaults. - (define-generic-mode): Fix docstring. +2007-09-07 Johannes Weiner -2005-04-28 Stefan Monnier + * net/browse-url.el (browse-url-browser-function): Add elinks. + (browse-url-elinks-wrapper): New option. + (browse-url-encode-url, browse-url-elinks) + (browse-url-elinks-sentinel): New functions. + (browse-url-file-url, browse-url-netscape, browse-url-mozilla) + (browse-url-firefox, browse-url-galeon, browse-url-epiphany): + Use new function browse-url-encode-url. - * progmodes/grep.el (grep-mode-font-lock-keywords): Use the - font-lock-face property to highlight matches. +2007-09-07 Glenn Morris -2005-04-28 Nick Roberts + * version.el (emacs-version): Revert 2007-08-29 change: no need to + say if multi-tty is present. - * progmodes/cc-mode.el (cc-create-define-alist): New function. - (cc-define-alist): New variable. - (c-mode): Make it local and initialize it. +2007-09-07 Stefan Monnier - * progmodes/gdb-ui.el (gdb-active-process): New variable. - (gdb-exited): New function. - (gdb-annotation-rules): Use it. - (gdb-starting): Set gdb-active-process to t. - (gdb-stopping): Amend doc string. - (gdb-reset): Set gdb-active-process to nil. + * cus-start.el (split-window-preferred-function): Add custom info. - * tooltip.el (tooltip-gud-tips): Show the associated #define - directives when a C program under GDB is not executing. + * calendar/holidays.el (holiday-list, calendar-check-holidays) + (calendar-mark-holidays, calendar-list-holidays) + (holiday-filter-visible-calendar): New names to clean up namespace. + (filter-visible-calendar-holidays, list-calendar-holidays) + (mark-calendar-holidays, check-calendar-holidays, list-holidays): + Add compatibility aliases. + (calendar-check-holidays, calendar-mark-holidays) + (calendar-holiday-list, holiday-filter-visible-calendar): Use dolist. + (holiday-sexp): Replace append with list. + (holiday-filter-visible-calendar): Replace append with push. -2005-04-27 Stefan Monnier + * woman.el: Remove spurious * in docstrings. + (woman-mini-help, woman-non-underline-faces, woman0-rename) + (woman-topic-all-completions-merge, woman-file-name-all-completions) + (woman-select-symbol-fonts, woman-expand-directory-path): Use dolist. + (woman-write-directory-cache, woman-display-extended-fonts) + (WoMan-log-begin, WoMan-log-1): Use with-current-buffer. + (woman-really-find-file): Use pop-to-buffer if switch-to-buffer fails. + (woman-mode): Use inhibit-read-only. + (woman-negative-vertical-space): Use dotimes. + (woman2-tagged-paragraph, woman-tab-to-tab-stop): Use insert-char. - * progmodes/cperl-mode.el (cperl-mode): Don't precompile the - font-lock-fontify-syntactic-keywords. +2007-09-06 Romain Francoise - * font-lock.el (font-lock-default-fontify-region): Don't force - parse-sexp-lookup-properties to nil. + * vc-bzr.el (vc-bzr-admin-lastrev): New defconst. + (vc-bzr-workfile-version): Use it. -2005-04-27 Alexander Klimov (tiny change) +2007-09-06 Sean O'Rourke - * man.el (man-mode-syntax-table): Set up `:' to have - word-constituent syntax. + * complete.el (PC-do-completion): Don't try to treat + empty string as an abbreviation. -2005-04-27 Lute Kamstra +2007-09-06 Johan Bockg,Ae(Brd - * novice.el (disable-command): Don't add spurious newlines to the - init file. Reported by Dan Jacobson . + * help-fns.el (describe-variable): Keep doc's text properties. -2005-04-26 Jay Belanger +2007-09-06 Dan Nicolaescu - * calc/calc-yank.el (calc-edit-finish): Make sure there is more - than one window before deleting window. + * vc.el (vc-default-diff-tree): Pass a list to the diff vc command + instead of a file. -2005-04-26 Luc Teirlinck +2007-09-06 Glenn Morris - * shell.el (shell-prompt-pattern): Doc fix. - (shell-mode): Set paragraph-separate buffer locally to "\\'". + * emacs-lisp/checkdoc.el (checkdoc-minor-mode-string): New. + (checkdoc-minor-mode): Allow user to specify lighter via + checkdoc-minor-mode-string. - * comint.el (comint-prompt-regexp, comint-get-old-input) - (comint-use-prompt-regexp) - (comint-use-prompt-regexp-instead-of-fields) - (comint-replace-by-expanded-history, comint-send-input) - (comint-output-filter, comint-get-old-input-default) - (comint-line-beginning-position, comint-bol, comint-show-output) - (comint-backward-matching-input, comint-forward-matching-input) - (comint-next-prompt, comint-previous-prompt): - Rename `comint-use-prompt-regexp-instead-of-fields' to - `comint-use-prompt-regexp'. Keep old name as alias and declare - obsolete. - (comint-use-prompt-regexp): Shorten first line of doc string. +2007-09-05 Richard Stallman - * ielm.el (inferior-emacs-lisp-mode): Adapt to above name change. - Set paragraph-separate buffer locally to "\\'". + * startup.el (fancy-startup-text): Rename from fancy-splash-text. + Several items removed, simplified, or put on one line. + (fancy-about-text): Add substantial contents, part of startup text. + (fancy-splash-head): Make "GNU" or "GNU/Linux" a link. + (normal-splash-screen): Call normal-mouse-startup-screen, + normal-no-mouse-startup-screen, or normal-about-screen. + (normal-mouse-startup-screen): New fn, broken out, shortened. + (normal-no-mouse-startup-screen): New fn, broken out. + (normal-about-screen): New function, contents all new. - * hippie-exp.el (try-expand-line, try-expand-line-all-buffers): - Adapt to above name change. +2007-09-05 Micha,Ak(Bl Cadilhac - * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp) - (smbclient-prompt-regexp): Ditto. + * emacs-lisp/rx.el (rx): Fix typo in docstring. - * progmodes/inf-lisp.el (inferior-lisp-prompt): Ditto. +2007-09-05 Glenn Morris -2005-04-27 Nick Roberts + * cus-edit.el (custom-buffer-create-internal): Check tool-bar-mode + is bound. - * progmodes/gdb-ui.el (gdb-location-alist): Rename from - gdb-location-list. - Break lines that are over 80 characters wide. +2007-09-05 Johan Bockg,Ae(Brd -2005-04-26 Stefan Monnier + * emacs-lisp/advice.el (ad-make-advised-docstring): Highlight note + in doc string. - * pcvs-info.el (cvs-fileinfo->full-path, cvs-display-full-path): - New fun and var, to preserve compatibility. +2007-09-04 Dan Nicolaescu + + * server.el (server-start, server-unload-hook): Undo previous change. + + * xt-mouse.el: Undo previous change. + +2007-09-04 Juri Linkov + + * startup.el (fancy-about-text): New variable. + (fancy-splash-delay, fancy-splash-max-time): Remove user options. + (fancy-current-text, fancy-splash-stop-time) + (fancy-splash-outer-buffer): Remove variables. + (fancy-splash-head, fancy-splash-tail): Add new optional argument + `startup' and use it to conditionally display different texts for + Startup and About screens. Don't display Help commands on the About + screen. + (fancy-splash-screens-1): Remove function and move its content to + `fancy-splash-screens' to the part that dislpays the About screen. + (exit-splash-screen): Don't treat specially exiting from + alternating screens. + (fancy-splash-screens): Rename argument `static' to `startup'. + Fix docstring. Remove code for displaying alternating screens. + Use arg `startup' in calls to `fancy-splash-head', `fancy-splash-tail'. + Remove let-bind for `fancy-splash-outer-buffer' and add let-bind + for `inhibit-read-only'. + (normal-splash-screen): Rename argument `static' to `startup'. + Fix docstring. Use argument `startup' to conditionally display + different texts for Startup and About screens. Don't display Help + commands on the About screen. Remove `unwind-protect' `sit-for' + delay and `kill-buffer' after it. + (display-startup-echo-area-message): Remove call to + `use-fancy-splash-screens-p' because image.el is preloaded and + doesn't display "Loading image... done". + (display-splash-screen): Rename argument `static' to `startup'. + Fix docstring. - * pcvs.el, pcvs-info.el: Rename "full-path" -> "full-name". +2007-09-04 Dan Nicolaescu -2005-04-26 Dominique de Waleffe (tiny change) + * server.el (server-start, server-unload-hook): + suspend-tty-functions has been renamed to suspend-tty-hook. - * pcvs-info.el (cvs-fileinfo->backup-file): Don't pass the full file - name to file-newer-than-file-p. + * xt-mouse.el: Likewise. resume-tty-functions has been renamed to + resume-tty-hook. -2005-04-26 Richard M. Stallman +2007-09-03 Emanuele Giaquinta (tiny change) - * simple.el (line-move-1): Avoid using vertical-motion in easy cases. + * loadup.el: Fix merge problem, only load "button" once. - * progmodes/python.el (python-mode): - Use new name eldoc-documentation-function. +2007-09-03 Glenn Morris - * hexl.el (hexl-mode): Use new name eldoc-documentation-function. + * vc-svn.el (vc-svn-print-log): If there is only one file, use + "Working file:" as the prefix, for the sake of + log-view-current-file. - * emacs-lisp/eldoc.el (eldoc-mode): Doc fix. - (eldoc-documentation-function): - Rename from eldoc-print-current-symbol-info-function. Calls changed. +2007-09-02 Dan Nicolaescu -2005-04-26 Nick Roberts + * term/xterm.el (xterm-modify-other-keys-terminal-list): New variable. + (xterm-turn-on-modify-other-keys): Only turn on modify-other-keys + if the selected frames is in + xterm-modify-other-keys-terminal-list. + (xterm-turn-off-modify-other-keys): Add an optional frame + parameter. Only turn off modify-other-keys if FRAME is in + xterm-modify-other-keys-terminal-list. + (xterm-remove-modify-other-keys): New function. + (terminal-init-xterm): Use it. Deal with delete-frame hook. + Add the selected frame to xterm-modify-other-keys-terminal-list. - * emacs-lisp/byte-run.el (define-obsolete-function-alias): New macro. +2007-09-02 Jan Dj,Ad(Brv -2005-04-25 Dan Nicolaescu + * term/x-win.el (x-gtk-stock-map): Map diropen to system-file-manager. + (icon-map-list): New variable. + (x-gtk-map-stock): Use icon-map-list. - * term/xterm.el (function-key-map): Fix strings for - {C,S,A,C-S}-f[1-4]. Use substitute-key-definition to bind - {C,S,A,C-S}-{f1-f12}. +2007-09-02 Romain Francoise -2005-04-26 Kenichi Handa + * log-view.el (log-view-current-file): Balance parens. - * international/mule-cmds.el (select-safe-coding-system): - Fix previous change. +2007-09-02 Glenn Morris -2005-04-26 Lute Kamstra + * comint.el (comint-mode): Don't set scroll-conservatively. - * emacs-lisp/easy-mmode.el (define-minor-mode): Fix docstring. + * eshell/em-unix.el (eshell/time): Stringify and flatten the + non-command arguments. - * font-lock.el (font-lock-fontify-region-function): Fix docstring. - (font-lock-comment-delimiter-face): Ditto. + * log-view.el (log-view-current-file): Give a more explicit error + if log-view-file-re fails to find a match. - * calc/calc.el (calc-trail-mode): Don't set font-lock-defaults. +2007-09-01 Thien-Thi Nguyen -2005-04-25 Jay Belanger + * emacs-lisp/bytecomp.el (byte-recompile-directory): + Fix bug: Don't expand top-level file name more than once. + Reported by Dmitry Antipov . - * calc/calc-help.el (calc-view-news): Let-bind inhibit-read-only - to t while inserting information; use help-mode. +2007-09-01 Stefan Monnier -2005-04-25 Dan Nicolaescu + * server.el (server-process-filter): Don't display the splash screen. + It's annoying enough on the initial screen and becomes positively + obnoxious here. - * term.el (ansi-term-color-vector): Use the xterm colors. - (term-raw-map): Don't add mappings for \eO and \e[. Map deletechar. +2007-08-31 Stefan Monnier -2005-04-25 Lute Kamstra + * emacs-lisp/avl-tree.el: Use defstruct rather than macros. + Change naming to use "avl-tree--" for internal functions. - * font-core.el (font-lock-defaults): Fix docstring. +2007-08-31 Dan Nicolaescu - * font-lock.el (font-lock-syntactic-face-function): Fix docstring. + * term/x-win.el (x-menu-bar-open): Delete duplicated function from + the merge. + (global-set-key): Delete f10 mapping, now done in menu-bar.el. + (provide): Move to the end of file. -2005-04-25 Kenichi Handa + * vc-svn.el (vc-svn-diff-tree): Pass a list to vc-svn-diff. - * international/mule-cmds.el (select-safe-coding-system): - Don't check consistency with coding: spec, etc if raw-text or - no-conversion was found to be safe. +2007-08-31 Micha,Ak(Bl Cadilhac -2005-04-24 Richard M. Stallman + * textmodes/flyspell.el (flyspell-mark-duplications-exceptions): + New variable. List of exceptions for the duplicated word rule. + (flyspell-mark-duplications-flag): Mention it. + (flyspell-word): Treat it. - * mail/sendmail.el (mail-font-lock-keywords): Match any number of - citation markers at start of each line. + * files.el (create-file-buffer): If the filename sans directory starts + with spaces, remove them. - * mail/rmail.el (rmail-font-lock-keywords): Match any number of - citation markers at start of each line. +2007-08-31 Jan Dj,Ad(Brv - * font-lock.el (font-lock-comment-delimiter-face): Doc fix. + * term/x-win.el (x-gtk-stock-map): Add etc/images to keys. + (x-gtk-map-stock): Use two directory elements when matching + file name. - * files.el (mode-require-final-newline): Fix previous change. - (require-final-newline): Fix type label. +2007-08-31 James Wright -2005-04-24 Glenn Morris + * eshell/em-unix.el (eshell/info): New function. - * progmodes/f90.el (f90-calculate-indent): Fix treatment of first - statement in buffer (broken by 2004-11-24 change). +2007-08-31 Stefan Monnier -2005-04-24 Kim F. Storm + * frame.el (frame-initialize, make-frame): + * server.el (server-process-filter): + * faces.el (tty-set-up-initial-frame-faces): Don't set + term-environment-variable since it's not used any more. + + * env.el (setenv): Don't treat $TERM specially. + + * startup.el (normal-top-level): Set $TERM to `dumb' so that unless + stated otherwise, subprocesses do not send back escape sequences + corresponding to the terminal from which Emacs was started. + +2007-08-31 Thien-Thi Nguyen + + * calculator.el: Require cl for compilation. + +2007-08-30 Daniel Pfeiffer + + * outline.el (outline-font-lock-levels): Comment out unused var. + (outline-font-lock-face): Wrap around face list to handle any + nesting depth gracefully. + +2007-08-30 Michael Albinus + + * net/ange-ftp.el: Add ange-ftp property to `set-file-modes' and + `set-file-times'. + +2007-08-30 Carsten Dominik + + * textmodes/org.el (org-export-visible): Fix drawers before export. + (org-do-sort): Allow sorting by priority. + (org-agenda-files): Ignore non-existing files. + (org-agenda-skip-unavailable-files): New variable. + (org-ellipsis): All a face as value. + (org-mode): Interprete the face value of `org-ellipsis'. + (org-archive-save-context-info): New option. + (org-archive-subtree): Store context info in archived entry. + (org-fast-tag-selection-can-set-todo-state): New variable. + (org-fast-tag-selection): Allow setting TODO states through this + interface. + (org-cycle): Docstring updated. + (org-todo-keyword-faces): New option. + (org-get-todo-face): New function. + (org-set-font-lock-defaults, org-agenda-highlight-todo): + Use `org-get-todo-face'. + (org-switch-to-buffer-other-window): New function. + (org-table-edit-field, org-table-show-reference) + (org-table-edit-formulas, org-add-log-note) + (org-fast-tag-selection, org-agenda, org-prepare-agenda) + (org-timeline): Use `org-switch-to-buffer-other-window' instead of + `switch-to-buffer-other-window' to make sure that the temporary + windows show up on the current frame. + (org-mhe-get-message-real-folder, org-batch-store-agenda-views) + (org-get-entries-from-diary, org-replace-region-by-html): + Don't allow pop-up frames. + (org-agenda-get-deadlines, org-agenda-get-scheduled): + Fix problems with time-of-day. + (org-export-get-title-from-subtree): New function. + (org-agenda-get-scheduled, org-agenda-get-deadlines): Fix problems + with listing items that are DONE. + (org-change-tag-in-region): New command. + (org-agenda-skip-scheduled-if-done) + (org-agenda-skip-deadline-if-done): Docstring clarified. + (org-mode): Hide drawers on startup. + (org-get-todo-face): New function. + (org-todo-keyword-faces): New option. + (org-set-regexps-and-options): Use `org-remove-keyword-keys'. + (org-remove-keyword-keys): New function. + +2007-08-30 Jari Aalto (tiny change) - * ido.el (ido-everywhere): Save and restore old read-buffer-function - and read-file-name-function values. Don't overwrite existing - non-nil values if ido-mode is enabled without ido-everywhere. + * progmodes/grep.el (grep-find-ignored-directories): + Add monotone _MTN bookkeeping directory in workspaces. + Add RCS control directory. List items in alphabetical order. -2005-04-24 Luc Teirlinck + * progmodes/grep.el (grep-files-aliases): Add cc alias. + Sort items in alphabetical order. Fix parens. - * files.el (mode-require-final-newline): Minor doc fix. +2007-08-29 Dan Nicolaescu -2005-04-24 Eli Zaretskii + * vc-hg.el (vc-hg-extra-menu-map): New variable. + (vc-hg-extra-menu, vc-hg-outgoing, vc-hg-incoming, vc-hg-push) + (vc-hg-pull): New functions. + (vc-hg-outgoing-mode, vc-hg-incoming-mode): New derived modes. - * subr.el (syntax-after): Doc fix. - (syntax-class): If argument is nil, return nil. Mask off upper 16 - bits, not 8 bits. + * term/mac-win.el: Don't require url, only autoloaded url + functions are used in this file. - * files.el (mode-require-final-newline): Doc fix. - (backup-buffer-copy): Fix last change. +2007-08-29 Andreas Schwab -2005-04-24 YAMAMOTO Mitsuharu + * shell.el (shell): Return correct value from interactive spec. - * term/mac-win.el: Require select. Set selection-coding-system to - mac-system-coding-system. Call menu-bar-enable-clipboard. - (x-last-selected-text-clipboard, x-last-selected-text-primary) - (x-select-enable-clipboard): New variables. - (x-select-text, x-get-selection, x-selection-value) - (x-get-selection-value, mac-select-convert-to-string) - (mac-services-open-file, mac-services-open-selection) - (mac-services-insert-text): New functions. - (CLIPBOARD, FIND): Put mac-scrap-name property. - (com.apple.traditional-mac-plain-text, public.utf16-plain-text) - (public.tiff): Put mac-ostype property. - (selection-converter-alist): Add entries for them. - (mac-application-menu-map): New keymap. - (interprogram-cut-function, interprogram-paste-function): Set to - x-select-text and x-get-selection-value, respectively. - (split-window-keep-point): Set to t. +2007-08-29 Glenn Morris -2005-04-23 Richard M. Stallman + * version.el (emacs-version): Increase to 23.0.50. - * files.el (read-directory-name): Always pass non-nil - DEFAULT-FILENAME arg to read-file-name. - (backup-buffer-copy, basic-save-buffer-2): Take care against - writing thru an unexpected existing symlink. - (revert-buffer): In indirect buffer, revert the base buffer. - (magic-mode-alist): Doc fix. - (buffer-stale-function): Doc fix. - (minibuffer-with-setup-hook): Avoid warning. - (mode-require-final-newline): Doc and custom fix. +2007-08-29 Jan Dj,Ad(Brv - * follow.el (follow-end-of-buffer): Use with-no-warnings. + * term/x-win.el (x-gtk-stock-map): :version changed to 23.1. - * font-lock.el (font-lock-comment-face): On terminals with few colors, - use the default appearance. - (font-lock-comment-delimiter-face): New face, new variable. +2007-08-29 Juri Linkov - * imenu.el (imenu--generic-function): The official position of a - definition is the start of the line that BEG is in. + * loadup.el: Add "button" loading after "faces" and move "startup" + to load after "button". - * midnight.el (midnight-timer): Move defvar up. +2007-08-29 Dan Nicolaescu - * mouse.el (mouse-drag-region-1): Delete some debugging code. + * loadup.el: Load term/mac-win on a Mac using Carbon. - * saveplace.el (save-place-to-alist): Use with-no-warnings. + * term/mac-win.el: Provide mac-win. + (mac-initialized): New variable. + (mac-initialize-window-system): New function. Move global setup here. + (handle-args-function-alist, frame-creation-function-alist): + (window-system-initialization-alist): Add mac entries. + (x-setup-function-keys): New function containing all the + top level function key definitions. - * startup.el (command-line): Use with-no-warnings. + * term/x-win.el (x-menu-bar-open): Use accelerate-menu. - * window.el (window-size-fixed): New defvar. + * env.el (read-envvar-name): Don't consider the environment frame param. - * emacs-lisp/easymenu.el (easy-menu-do-define): Use defalias, not fset. + * env.el (setenv): + * frame.el (frame-initialize, make-frame): + * faces.el (tty-set-up-initial-frame-faces): + * server.el (server-process-filter): Set + display-environment-variable and term-environment-variable. - * mail/rmail.el (rmail-font-lock-keywords): - Use font-lock-comment-delimiter-face. + * server.el (server-process-filter): Set COLORFGBG and COLORTERM. - * mail/sendmail.el (mail-font-lock-keywords): - Use font-lock-comment-delimiter-face. +2007-08-29 Jason Rumney - * progmodes/compile.el (next-error-highlight-timer): New defvar. + * loadup.el: Only load term/x-win when X is compiled in. + Load term/w32-win and dependencies on windows-nt. -2005-04-23 SAITO Takuya (tiny change) + * term/w32-win.el: Reorder to match x-win.el more closely. + Provide w32-win. Don't throw error when global window-system not w32. + (internal-face-interactive): Remove obsolete function. + (x-setup-function-keys): Use local-function-key-map. + (w32-initialized): New variable. + (w32-initialize-window-system): Set it. + Move more global setup here. + (x-setup-function-keys): New function. + (w32-initialize-window-system): Move non function key global setup here. + (x-cut-buffer-max): Remove. + (w32-initialize-window-system): New function. + (handle-args-function-alist, frame-creation-function-alist): + (window-system-initialization-alist): Add w32 entries. - * progmodes/compile.el (compilation-mode-font-lock-keywords): - Specify t for LAXMATCH when matching directories. - Save match data around compilation-compat-error-properties form. +2007-08-29 David Kastrup -2005-04-23 David Kastrup + * env.el (getenv): Pass frame to getenv-internal. - * textmodes/tex-mode.el (TeX-mode, plain-TeX-mode, LaTeX-mode): - Mention that the autoloaded aliases should be kept for AUCTeX. +2007-08-29 K,Aa(Broly L$,1 q(Brentey -2005-04-23 Andreas Schwab + * version.el (emacs-version): Show if multi-tty is present. - * isearch.el (isearch-forward): Doc fix. + * loadup.el: Delay loading env; mule-conf gets confused by cl + during bootstrap. Also load termdev and term/x-win. -2005-04-23 Eli Zaretskii + * bindings.el (mode-line-client): New variable. + (help-echo): Add it to the default mode-line format. - * jit-lock.el (jit-lock-stealth-time): Change default value to 16. - (jit-lock-stealth-nice): Change default value to 0.5. + * cus-start.el: Remove bogus window-system reference from GTK test. -2005-04-23 Eric Hanchrow (tiny change) + * progmodes/ebrowse.el (ebrowse-electric-list-mode-map) + (ebrowse-electric-position-mode-map): + * ebuff-menu.el (electric-buffer-menu-mode-map): + * echistory.el (electric-history-map): Bind C-z to `suspend-frame', + not `suspend-emacs'. - * abbrev.el (write-abbrev-file): Write table entries in - alphabetical order by table name. + * ediff-wind.el (ediff-setup-windows-automatic): New function. + (ediff-window-setup-function): Use it as default. -2005-04-22 Kim F. Storm + * files.el (save-buffers-kill-terminal): New function. + (ctl-x-map): Change binding of C-x C-c to save-buffers-kill-terminal. - * ido.el (ido-read-internal): Fix `list' completion. + * font-lock.el (lisp-font-lock-keywords-2): Add `let-environment' + and `with-selected-frame'. -2005-04-22 Kenichi Handa + * help-fns.el (describe-variable): Describe frame-local variables + correctly. - * recentf.el (recentf-save-file-coding-system): New variable. - (recentf-save-list): Encode the file by - recentf-save-file-coding-system and add coding: tag. + * simple.el (normal-erase-is-backspace-mode): Rewrite for multiple + display support. + (normal-erase-is-backspace-setup-frame): New function. + + * subr.el (with-selected-frame): New function. + (read-quoted-char): Use terminal-local binding of + local-function-key-map instead of function-key-map. + + * talk.el (talk): New function. + (talk-handle-delete-frame): New function. + (talk-add-display): Open a new frame only if FRAME was not a frame. + + * termdev.el: New file. + + * menu-bar.el (menu-bar-open): New function. Bind it to f10. + * term/x-win.el: Don't bind f10. + * tmm.el: Remove autoload binding for f10. + + * international/encoded-kb.el (encoded-kbd-setup-display): Use + `set-input-meta-mode'. Fix broken condition before set-input-mode. + Store the saved input method as a terminal parameter. Add keymap + parameter. Use it instead of changing key-translation-map directly. + (saved-key-translation-map, encoded-kbd-mode, saved-input-mode): + Remove. + (encoded-kbd-setup-display): New function. + + * international/mule-cmds.el (set-locale-environment): Fix getenv + call. Use save-buffers-kill-terminal. Ignore window-system; always + set the keyboard coding system. Add DISPLAY parameter. + (set-display-table-and-terminal-coding-system): Add DISPLAY + parameter. Pass it to set-terminal-coding-system. + + * international/mule.el (keyboard-coding-system): Test for + encoded-kbd-setup-display, not encoded-kbd-mode. + (set-terminal-coding-system, set-keyboard-coding-system): Add + DISPLAY parameter. + (set-keyboard-coding-system): Use encoded-kbd-setup-display. + + * term/README: Update. + + * term/linux.el (terminal-init-linux): Use `set-input-meta-mode'. + + * term/x-win.el (x-setup-function-keys): New function. Move + function-key-map tweaks here. Protect against multiple calls on + the same terminal. Use terminal-local binding of + local-function-key-map instead of function-key-map. + (x-initialize-window-system): Make a copy of pure list. Pass a + frame getenv. + + * term/vt200.el, term/vt201.el, term/vt220.el, term/vt240.el: + * term/vt300.el, term/vt320.el, term/vt400.el, term/vt420.el: + * term/AT386.el, term/internal.el, term/iris-ansi.el, term/lk201.el: + * term/mac-win.el, term/news.el, term/rxvt.el, term/sun.el: + * term/tvi970.el, term/wyse50.el: Use terminal-local binding of + local-function-key-map instead of function-key-map. + + * term/rxvt.el, term/xterm.el: Speed up load time by protecting + `substitute-key-definition' and `define-key' calls against + multiple execution. Use terminal-local binding of + local-function-key-map instead of function-key-map. Pass a frame + to getenv. + + * edmacro.el (edmacro-format-keys): + * emulation/cua-base.el (cua--pre-command-handler): + * isearch.el (isearch-other-meta-char): + * xt-mouse.el: Use terminal-local binding of + local-function-key-map instead of function-key-map. + + * fringe.el (set-fringe-mode): Simplify and fix using + `modify-all-frames-parameters'. + * scroll-bar.el (set-scroll-bar-mode): Ditto. + * tool-bar.el (tool-bar-mode): Ditto. Remove 'tool-bar-map length + check before calling `tool-bar-setup'. + (tool-bar-setup): New variable. + (tool-bar-setup): Use it to guard against multiple calls. Add + optional frame parameter, and select that frame before adding items. + (toggle-tool-bar-mode-from-frame): New function. + + * menu-bar.el (toggle-menu-bar-mode-from-frame): New function. + (menu-bar-showhide-menu): Use toggle-menu-bar-mode-from-frame and + toggle-tool-bar-mode-from-frame to change "Menu-bar" and + "Tool-bar" toggles to reflect the state of the current frame. + (menu-bar-mode): Simplify and fix using `modify-all-frames-parameters'. + + * env.el: Require cl for byte compilation (for `block' and `return'). + (environment, setenv-internal): New functions. + (let-environment): New macro. + (setenv, getenv): Add optional terminal parameter. Update docs. + (setenv): Use setenv-internal. Always set process-environment. + Handle `local-environment-variables'. + (read-envvar-name, setenv, getenv): Use frame parameters + to store the local environment, not terminal parameters. Include + `process-environment' as well. + + * faces.el (tty-run-terminal-initialization): New function. + (tty-create-frame-with-faces): Use it. Set up faces and + background mode only after the terminal has been initialized. + Call terminal-init-*. Don't load the initialization file more + than once. Call set-locale-environment. + (frame-set-background-mode): Handle the 'background-mode terminal + parameter. + (tty-find-type): New function. + (x-create-frame-with-faces): Remove bogus check for + first frame. Call `tool-bar-setup'. Don't make frame visible + until we are done setting up all its parameters. Call + x-setup-function-keys. + + * frame.el (make-frame): Always inherit 'environment and 'client + parameters. Set up the 'environment frame parameter, when needed. + Also inherit 'client parameter. Don't override explicitly + specified values with inherited ones. Add 'terminal frame + parameter. Append window-system-default-frame-alist to parameters + before calling frame-creation-function. + (frame-initialize): Copy the environment from the initial frame. + (window-system-default-frame-alist): Enhance doc string. + (frame-notice-user-settings): Don't put 'tool-bar-lines in + `default-frame-alist' when initial frame is on a tty. + (modify-all-frames-parameters): Simplify using `assq-delete-all'. + Remove specified parameters from `window-system-default-frame-alist'. + (make-frame-on-tty, framep-on-display, suspend-frame): + Extend doc string, update parameter names. + (frames-on-display-list): Use terminal-id to get the display id. + (frame-notice-user-settings): Extend to apply + settings in `window-system-default-frame-alist' as well. + (terminal-id, terminal-parameters, terminal-parameter) + (set-terminal-parameter, terminal-handle-delete-frame): New functions. + (delete-frame-functions): Add to `delete-frame-functions' hook. + (blink-cursor-mode): Adapt blink-cursor-mode default + value from startup.el. + (make-frame-on-display): Protect condition on x-initialized when + x-win.el is not loaded. Update doc. + (suspend-frame): Use display-controlling-tty-p to decide between + suspend-emacs and suspend-tty. + (frames-on-display-list): Update for display ids. + (framep-on-display): Ditto. + (suspend-frame): Use display-name, not frame-tty-name. + (selected-terminal): New function. + + * server.el: Use `device' instead of `display' or `display-id' in + variable and client parameter names. + (server-select-display): Remove (unused). + (server-tty-live-p, server-handle-delete-tty): Remove. + (server-unquote-arg, server-quote-arg, server-buffer-clients): + Update docs. + (server-getenv-from, server-with-environment, server-send-string) + (server-save-buffers-kill-terminal): New functions. + (server-delete-client): Handle quits in kill-buffer. Don't kill + modified buffers. Add extra logging. Delete frames after + deleting the tty. Clear 'client parameter before deleting a frame. + Use delete-display, not delete-tty. + (server-visit-files): Don't set `server-existing-buffer' if the + buffer already has other clients. Return list of buffers + created. Update doc. Don't set client-record when nowait. + (server-handle-delete-frame): Delete the client if this was its + last frame. Check that the frame is alive. Remove bogus comment. + Add note on possible race condition. Delete tty clients, if needed. + (server-handle-suspend-tty): Use server-send-string. Kill the + client in case of errors from process-send-string. Use the display + parameter. + (server-unload-hook): Remove obsolete delete-tty hook. + (server-start): Ask before restarting if the old server still has + clients. Add feedback messages. Remove obsolete delete-tty hook. + (server-process-filter): Use server-send-string. Accept `-dir' + command. Switch to *scratch* immediately after creating the frame, + before evaluating any -evals. Protect `display-splash-screen' + call in a condition-case. Explain why. Call + `display-startup-echo-area-message' before + `display-splash-screen'. Don't display the splash screen when no + frame was created. Show the Emacs splash screen and startup echo + area message. Display the *scratch* buffer by default. Store the + local environment in a frame (not terminal) parameter. Do not try + to decode environment strings. Fix reference to the 'display + frame parameter. Change syntax of environment variables. Put + environment into terminal parameters, not client parameters. Use + a dummy client with --no-wait's X frames. In `-position LINE' + handler, don't ruin the request string until the line number is + extracted. Log opened files. Handle -current-frame command. + Don't create frames when it is given. Don't bind X frames to the + client when we are in -no-wait mode. Set locale environment + variables from client while creating tty frames. Disable call to + configure-display-for-locale. When processing -position command, + don't change the request string until the parameters are + extracted. Don't try to create an X frame when Emacs does not + support it. Improve logging. Temporarily set ncurses-related + environment variables to those of the client while creating a new + tty frame. Select buffers opened by nowait clients, don't leave + them buried under others. Set the display parameter, and use it + when appropriate. -2005-04-22 Nick Roberts + * startup.el (display-startup-echo-area-message): Handle + `inhibit-startup-echo-area-message' here. + (command-line-1): Moved from here. + (fancy-splash-screens): Use `overriding-local-map' instead of + `overriding-terminal-local-map' for now; the latter doesn't work + right, it looses keypresses to another terminal. Use + `overriding-terminal-local-map' to set up keymap. Install a + `delete-frame-functions' hook to catch `delete-frame' events. + Ignore `select-window' events to cope better with + `focus-follows-mouse'. Don't switch back to the original buffer + if the splash frame has been killed. Restore previous buffer, even + if it's *scratch*. + (normal-splash-screen): Don't let-bind `mode-line-format'; it + changes the global binding - setq it instead. Use + `save-buffers-kill-terminal'. + (display-splash-screen): Don't do anything if the splash screen is + already displayed elsewhere. + (fancy-splash-exit, fancy-splash-delete-frame): New functions. + (command-line): Replace duplicated code with a call to + tty-run-terminal-initialization. Don't load the terminal + initialization file more than once. Remove call to nonexistent + function `set-locale-translation-file-name'. + + * xt-mouse.el (xterm-mouse-x, xterm-mouse-y): Convert to terminal + parameters. + (xterm-mouse-position-function, xterm-mouse-event): Update. + (xterm-mouse-mode): Don't depend on current value of window-system. + (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking): + Update for multi-tty. + (turn-on-xterm-mouse-tracking-on-terminal) + (turn-off-xterm-mouse-tracking-on-terminal) + (xterm-mouse-handle-delete-frame): New functions. + (delete-frame-functions, after-make-frame-functions) + (suspend-tty-functions, resume-tty-functions): Install extra hooks + for multi-tty. + +2007-08-29 Stefan Monnier + + * simple.el (invisible-p): Remove: implemented in C now. + (line-move-invisible-p): Remove obsolete alias. + +2007-08-28 Juri Linkov + + * image-mode.el (image-type): New variable. + (image-mode): Set default major mode name to "Image[text]". + (image-minor-mode): Change LIGHTER to display image-type in the + mode line. + (image-minor-mode): Set default image-type to "text". + (image-toggle-display): After switching to text mode, set + image-type to "text" and major mode name to "Image[text]". + After switching to image mode, set image-type to actual image + type, and add image type to major mode name. Let-bind the same + variable names as arguments of `image-type' and `create-image'. + Bind `type' to the result of `image-type' and use it as arg + of `create-image' to not determine the image type twice. + +2007-08-28 Michael Albinus + + * net/tramp.el (tramp-handle-set-file-times): Flush the file properties. + (tramp-set-file-uid-gid, tramp-get-local-uid) + (tramp-get-local-gid): New defuns. + (tramp-handle-copy-file): Handle new parameter PRESERVE-UID-GID. + (tramp-do-copy-or-rename-file): New parameter PRESERVE-UID-GID. + Improve fast track. + (tramp-do-copy-or-rename-file-directly): Sync parameter list with + the other tramp-do-copy-or-rename-file-* functions. Major rewrite. + (tramp-handle-file-local-copy, tramp-handle-insert-file-contents) + (tramp-handle-write-region): Improve fast track. + (tramp-handle-file-remote-p): IDENTIFICATION can also be `localname'. + (tramp-maybe-open-connection): Let `process-adaptive-read-buffering' + be nil. + +2007-08-28 Ivan Kanis + + * time.el: New feature to display several time zones in a buffer. + (display-time-world-mode, display-time-world-display) + (display-time-world, display-time-world-timer): New functions. + (display-time-world-list, display-time-world-time-format) + (display-time-world-buffer-name, display-time-world-timer-enable) + (display-time-world-timer-second, display-time-world-mode-map): + New variables. - * emacs-lisp/byte-run.el (define-obsolete-variable-alias): New macro. +2007-08-28 Jan Dj,Ad(Brv -2005-04-21 Lute Kamstra + * term/x-win.el (x-gtk-stock-map): New variable. + (x-gtk-map-stock): New function. - * loadhist.el (unload-feature): Don't remove a function from hooks - if it is about to be restored to an autoload . Remove functions - that will become unbound from auto-mode-alist. Simplify the code. + * info.el (info-tool-bar-map): Add :rtl keyword to right/left-arrow and + prev/next-node. - * subr.el (assq-delete-all): New implementation that is linear, - not quadratic. Suggested by David Kastrup . - (rassq-delete-all): New function. +2007-08-28 Johan Bockg,Ae(Brd (tiny change) - * menu-bar.el (menu-bar-options-save, menu-bar-showhide-menu): - Add size-indication-mode. + * play/gamegrid.el (gamegrid-init): Set line-spacing to 0. -2005-04-21 Kenichi Handa +2007-08-28 Glenn Morris - * international/mule-cmds.el: Add autoload for widget-value in - eval-when-compile. + * progmodes/cc-langs.el (c-constant-kwds): Add java: null, true, false. -2005-04-21 Nick Roberts +2007-08-27 Thien-Thi Nguyen - * menu-bar.el (menu-bar-options-save, menu-bar-showhide-menu): - Add tooltip-mode. + * progmodes/modula2.el (m2-definition, m2-module): + Don't use previous-line. Reported by T. V. Raman. - * bindings.el (mode-line-mode-menu): Remove tooltip-mode. +2007-08-27 YAMAMOTO Mitsuharu -2005-04-20 Luc Teirlinck + * term/mac-win.el (mac-handle-toolbar-switch-mode): Add explicit + argument to tool-bar-mode call. - * progmodes/inf-lisp.el (inferior-lisp): New defgroup. - (inferior-lisp-filter-regexp, inferior-lisp-program) - (inferior-lisp-load-command, inferior-lisp-prompt) - (inferior-lisp-mode-hook, lisp-source-modes) - (inferior-lisp-load-hook): defvar->defcustom. - (inferior-lisp-program, inferior-lisp-prompt) - (inferior-lisp-load-hook): Doc fixes. - (inferior-lisp-install-letter-bindings): Small change in - introductory comment. +2007-08-27 Glenn Morris -2005-04-20 Dan Nicolaescu + * diff-mode.el (diff-find-file-name): Only accept regular files, + to rule out /dev/null, directories, etc. - * vc.el (vc-annotate-color-map): Change some colors so that text - using them as foreground is readable on both white and black - backgrounds. + * vc-svn.el (vc-svn-diff): If the repository version of all the + files is the same as the specified OLDVERS, do a local diff. -2005-04-20 Stefan Monnier +2007-08-25 Stefan Monnier - * international/mule-conf.el (translation-table-for-input): - Remove redundant declaration. + * uniquify.el (uniquify-rationalize-file-buffer-names): Check liveness + of buffers in uniquify-managed. -2005-04-20 Nick Roberts + * simple.el (invisible-p): Rename from text-invisible-p. + Update callers. - * progmodes/gud.el (gud-menu-map): Add tooltip-toggle-gud-tips. +2007-08-23 Stefan Monnier - * tooltip.el (tooltip-gud-tips-p): Expand documentation. - (tooltip-toggle-gud-tips): New function. + * progmodes/cperl-mode.el (defcustom, x-color-defined-p, cperl-is-face) + (cperl-is-face, cperl-force-face, cperl-etags-snarf-tag, cperl-mode) + (cperl-etags-snarf-tag, cperl-etags-goto-tag-location, cperl-init-faces) + (cperl-etags-goto-tag-location): Use new style backquotes. -2005-04-20 YAMAMOTO Mitsuharu + * net/browse-url.el: Remove spurious * in custom docstrings. + (browse-url-filename-alist): Use new-style backquote. - * term/mac-win.el (mac-symbol-encoder): Fix mappings of left and - right angle brackets. + * emacs-lisp/backquote.el (backquote-unquote-symbol) + (backquote-splice-symbol): Clarify they're not new-style unquotes. -2005-04-20 Nick Roberts + * emacs-lisp/edebug.el (edebug-list-form, edebug-match-symbol, \,) + (\,@): Backslash the , and ,@ which are not new-style unquotes. - * tooltip.el (tooltip-use-echo-area): Replace as alias and deprecate. + * textmodes/texinfmt.el (\,): Clarify it's not a new-style unquote. -2005-04-19 Stefan Monnier + * net/socks.el (socks-username/password-auth-filter): + Remove unused vars `state' and `desired-len'. + (socks-parse-services, socks-nslookup-host): Use with-current-buffer. + (socks-wait-for-state-change): Use new-style backquotes. - * progmodes/flymake.el (flymake-get-absolute-file-name-basedir): - Remove. Update callers to use expand-file-name instead. + * pcvs.el (cvs-mode-status): Fix long-standing typo. - * subr.el (syntax-class): New function. + * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Check old-style + backquotes after each `read' rather than once per buffer. - * simple.el (blink-matching-open): Use it. + * dframe.el: Remove spurious * in custom docstrings. + (dframe-xemacsp): Remove, use (featurep 'xemacs) instead. + (dframe-xemacs20p): Remove, inline at the sole use point. + (defface): Don't defvar the face, don't use old-style backquote. + (defcustom): Don't use old-style backquote. + (dframe-frame-parameter, dframe-mouse-event-p): + Make it obvious that it's always defined. + (dframe-popup-kludge): New function to replace + dframe-xemacs-popup-kludge and dframe-xemacs-popup-kludge. + (dframe-frame-mode, dframe-set-timer-internal) + (dframe-mouse-set-point): Remove use of with-no-warnings from + XEmacs-specific code. + (dframe-set-timer-internal): Fix very old bug with + post-command-idle-hook. - * paren.el (show-paren-function): Use it to recognize parens that are - also used in 2-char comment markers. + * emacs-lisp/byte-opt.el (byte-optimize-featurep): Handle `sxemacs'. -2005-04-19 Lute Kamstra +2007-08-27 Thien-Thi Nguyen - * loadhist.el (unload-feature): Update for new format of - load-history. Simplify the code. + * emacs-lisp/avl-tree.el: New file. -2005-04-19 YAMAMOTO Mitsuharu +2007-08-26 Micha,Ak(Bl Cadilhac - * term/mac-win.el: Add coding: tag and set it to iso-2022-7bit. - (mac-add-charset-info): New function. Initialize variable - mac-charset-info-alist using it. - (mac-centraleurroman, mac-cyrillic): Do not use UCS in table data - for translation. - (mac-symbol-encoder, mac-dingbats-encoder): New translation table. - (mac-font-encoder-list): Add entries for mac-symbol and mac-dingbats. - (ccl-encode-mac-symbol-font, ccl-encode-mac-dingbats-font): - New CCL programs. + * hi-lock.el (hi-lock-unface-buffer): Show a x-menu only if the mouse + was used. -2005-04-19 Kim F. Storm +2007-08-26 Sean O'Rourke - * simple.el (next-buffer, prev-buffer, next-error) - (scroll-other-window, keyboard-quit, keyboard-escape-quit) - (clone-indirect-buffer-other-window): Move bindings to bindings.el. + * complete.el (PC-do-completion): Make RET accept a non-unique but + complete expansion again. - * bindings.el (next-buffer, prev-buffer, next-error) - (scroll-other-window, keyboard-quit, keyboard-escape-quit) - (clone-indirect-buffer-other-window): Move bindings from simple.el. - (next-buffer, prev-buffer): Add C-x C-right and C-x C-left bindings. - (next-error, previous-error): Add M-g M-n/n and M-g M-p/p bindings. +2007-08-26 Thien-Thi Nguyen -2005-04-18 Stefan Monnier + * eshell/esh-opt.el (eshell-eval-using-options): + Add debug declaration. - * isearch.el (isearch-edit-string): Make the search-ring available for - minibuffer history commands. - (minibuffer-local-isearch-map): Remove bindings for M-p and M-n, - the default history commands now work just as well. - (isearch-ring-retreat-edit, isearch-ring-advance-edit): Remove. +2007-08-26 Dan Nicolaescu -2005-04-18 Kim F. Storm + * log-view.el (log-view-toggle-mark-entry): Add docstring. + (log-view-get-marked): Likewise. - * emulation/cua-base.el (cua--pre-command-handler): Add more - elaborate check for shift modifier on non-window systems. + * vc-hooks.el (vc-registered): Use mapc instead of mapcar. + (vc-delete-automatic-version-backups): Likewise. -2005-04-18 Lars Hansen + * vc.el (vc-dired-buffers-for-dir): Likewise. - * desktop.el: Make "--no-desktop" turn off `desktop-save-mode'. +2007-08-25 Dan Nicolaescu -2005-04-18 Kim F. Storm + * progmodes/cperl-mode.el (cperl-indent-level): Autoload the + safe-local-variable setting. + * progmodes/perl-mode.el (perl-indent-level): Likewise. - * tooltip.el (tooltip-show): Change second arg to USE-ECHO-AREA - and make it optional. Don't test tooltip-gud-echo-area here. - (tooltip-gud-process-output, gdb-tooltip-print): - Pass tooltip-gud-echo-area to tooltip-show. - (tooltip-help-tips): Remove second optional arg to tooltip-show. + * log-view.el (log-view-marked-list): Delete variable. + (log-view-mode): Don't use it. + (log-view-toggle-mark-entry): Likewise, simplify. + (log-view-current-tag): Don't return properties. + (log-view-get-marked): New function. -2005-04-18 YAMAMOTO Mitsuharu +2007-08-25 Alexandre Julliard - * tooltip.el (tooltip-mode): `emacs-quick-startup' and - `display-graphic-p' may not be bound yet. + * vc-git.el (vc-git-mode-line-string): New function. -2005-04-17 Luc Teirlinck +2007-08-25 Alan Mackenzie - * startup.el (command-line): No longer enable Xterm Mouse mode by - default in terminals compatible with xterm. + * progmodes/cc-langs.el (c-other-decl-block-key-in-symbols-alist): + new language variable. - * xt-mouse.el (xterm-mouse-mode): Set init value back to nil. + * progmodes/cc-engine.el (c-brace-anchor-point): new function. + (c-add-stmt-syntax): Give accurate anchor points for "namespace", + "extern" etc., rather than BOI. Fix addition of spurious + syntactic-symbol 'defun-block-intro, replacing it with + 'innamespace, etc. -2005-04-18 Nick Roberts +2007-08-25 Juri Linkov - * tooltip.el (tooltip-gud-echo-area): Rename from - tooltip-use-echo-area. - (tooltip-show, tooltip-gud-process-output, gdb-tooltip-print) - (tooltip-help-tips): Allow GUD tooltips to be displayed in echo - area independently of where help tooltips are displayed. + * files.el (auto-mode-alist): Move "\\.x[bp]m\\'" to image-mode.el. -2005-04-17 David Kastrup + * image-mode.el: Add autoloads to put associations in auto-mode-alist: + associate "\\.x[bp]m\\'" with c-mode and image-mode-maybe, and + "\\.svgz?\\'" with xml-mode and image-mode-maybe. - * cus-theme.el (custom-theme-write-variables): Quote variables - where necessary. + * image.el (image-type-header-regexps): Use more complex regexp for svg. + (image-type-file-name-regexps): Add ("\\.svgz?\\'" . svg). + (image-type-auto-detectable): Add (svg . maybe). -2005-04-17 Richard M. Stallman + * jka-cmpr-hook.el (jka-compr-compression-info-list): Add .svgz + to treat it like .tgz. - * simple.el (yank-excluded-properties): Add follow-link to value. + * calendar/cal-bahai.el: Add file coding cookie. - * jka-compr.el (jka-compr-compression-info-list): Fix custom type. +2007-08-25 Reiner Steib - * startup.el (fancy-splash-max-time): Just 30 seconds. - (fancy-splash-delay): Just 7. - (fancy-splash-screens): No time limit other than fancy-splash-max-time. + * pcvs.el (cvs-query-directory): Only prompt when prefix is given. + Don't behave differently when executed via M-x. Add doc string. - * loadhist.el (unload-feature): Update for new format of load-history. - Simplify the code. + * sort.el (sort-fold-case, sort-numeric-base): Mark as + safe-local-variable. - * mail/rmail.el (rmail-ignored-headers): Ignore more headers - (rmail-font-lock-keywords): Don't fontify the text of a citation. +2007-08-25 Jay Belanger - * mail/sendmail.el (mail-font-lock-keywords): - Don't fontify subject text. - Don't fontify the text of a citation. + * calc/calc-forms.el (var-TimeZone): Make nil explicitly + the default value. + (math-calendar-tzinfo): New variable. + (math-get-calendar-tzinfo): New function. + (calcFunc-tzone, calcFunc-dst): Use Emacs's calendar + to get information when zone is nil. -2005-04-17 Mark H. Weaver (tiny change) +2007-08-24 Dan Nicolaescu - * comint.el (comint-output-filter): Run comint-output-filter-functions - with point where the user had it. + * log-view.el (log-view-toggle-mark-entry): New function. + (log-view-mode-map): Bind it. + (log-view-marked-list): New variable. + (log-view-mode): Make it local. -2005-04-16 Stefan Monnier +2007-08-24 Thien-Thi Nguyen - * international/ucs-tables.el (ucs-set-table-for-input): - Disable when using unify-on-decoding. + * play/zone.el (zone-pgm-rat-race): New func. + (zone-programs): Add `zone-pgm-rat-race'. -2005-04-16 Dan Nicolaescu +2007-08-24 Stefan Monnier - * emulation/cua-base.el (cua-global-mark-face): Add special case - for displays supporting a high number of colors. + * emacs-lisp/byte-opt.el (byte-optimize-if): Don't presume `clause' is + a list. -2005-04-16 Matt Hodges (tiny change) +2007-08-24 Thien-Thi Nguyen - * repeat.el (repeat): Invoke pre-command-hook and post-command-hook. + * progmodes/hideshow.el (hs-match-data): Delete alias. + (hs-hide-block-at-point, hs-find-block-beginning) + (hs-show-block): Use `match-data' directly. -2005-04-16 Chong Yidong +2007-08-24 Martin Rudalics - * filesets.el (filesets-add-buffer): If user supplies a name of a - non-existing fileset, create a new fileset. + * format.el (format-alist): Fix typo in doc-string. -2005-04-16 Carsten Dominik +2007-08-24 Michael Albinus - * textmodes/org.el (org-up-heading-all): Fix bug with - `outline-up-heading-all'. + * net/tramp.el (tramp-local-host-p): New defun. + (tramp-handle-file-local-copy, tramp-handle-write-region): + Implement fast track when being on the local host. + (tramp-file-name-handler): Don't set "started" property. It shall + be reserved for the "ftp" method. + (tramp-make-copy-program-file-name): Use `tramp-file-name-real-host'. -2005-04-16 Andreas Schwab + * net/tramp-ftp.el (top): Autoload `tramp-set-connection-property'. + (tramp-ftp-file-name-handler): Set "started" property. - * files.el (auto-mode-alist): Handle /etc/sysconfig/*, - /etc/permissions.d/* and /etc/aliases.d/*. +2007-08-24 Ulrich Mueller (tiny change) -2005-04-16 Kenichi Handa + * files.el (backup-buffer-copy): Don't wrap delete in + condition-case, only try to delete if file exists. - * international/code-pages.el (cp-make-coding-system): - Set `translation-table-for-input' property value to the symbol - ucs-mule-to-mule-unicode, not to that value. - (pt154): Escape guillemet by `\'. +2007-08-24 Glenn Morris -2005-04-15 Luc Teirlinck + * files.el (backup-buffer-copy): Revert 2007-08-22 change. - * loadup.el: Load tooltip if x-show-tip is fboundp. + * startup.el (tutorial-directory): Set with eval-at-startup so it + gets the right value in an installed Emacs. - * startup.el (command-line): Add comment. +2007-08-24 Nikolaj Schumacher (tiny change) - * tooltip.el (tooltip-mode): Specify correct standard value for - Custom in init-value. + * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): New face. + (eldoc-highlight-function-argument): Use it. -2005-04-15 Nick Roberts +2007-08-23 Masatake YAMATO - * progmodes/gud.el (gud-goto-info): Use existing Info buffer, if - possible. + * progmodes/cc-fonts.el (gtkdoc-font-lock-doc-comments): Highlight + name of parameters in document body. -2005-04-15 Carsten Dominik +2007-08-23 Stefan Monnier - * textmodes/org.el (org-agenda-date-prompt): Rename from - `org-agenda-date-today'. - (org-evaluate-time-range): Insert at point instead of directly - after time range. - (org-first-headline-recenter, org-subtree-end-visible-p) - (org-optimize-window-after-visibility-change): New functions - (org-agenda-post-command-hook): Don't allow point at end of line, - to make sure it always hits the text properties. - (org-agenda-next-date-line, org-agenda-previous-date-line): - New commands. - (org-set-regexps-and-options): Category may contain white space. - (org-agenda-get-deadlines, org-agenda-get-scheduled): - Improve marker positions. - (org-agenda-new-marker): Argument POS made optional. - (org-agenda-get-timestamps): Deadlines which are done are listed - in org-done-face now. - (org-agenda-get-todos, org-agenda-get-timestamps) - (org-agenda-get-deadlines, org-agenda-get-scheduled): - Set `undone-face' and `done-face' properties. - (org-last-todo-state-is-todo): New variable. - (org-todo): Set `org-last-todo-state-is-todo'. - (org-agenda-todo): Change face according to - `org-last-todo-state-is-todo'. And change other lines referring to - the same entry. - (org-calendar-goto-agenda): New command. - (org-calendar-to-agenda-key): New option. - (org-startup-folded): New allowed value `content'. - (org-set-regexps-and-options): Accept new value `content' for - `org-startup-folded'. - (org-get-current-options): Handle new value `content' for - `org-startup-folded'. - (org-insert-todo-heading): New command. - (org-mode): Insert first line "*-* mode: org-mode -*-" when called - interactively in empty file and option - `org-insert-mode-line-in-empty-file' has been set. - (org-agenda-todo, org-agenda-priority): Modify to use - `org-agenda-change-all-lines'. - (org-warning-face): Change color on dark background. - -2005-04-14 YAMAMOTO Mitsuharu - - * international/mule-cmds.el (set-locale-environment): On Mac OS, - use preferences AppleLocale and AppleLanguages, and variable - mac-system-locale for default locale. On Mac OS Classic, use - mac-system-coding-system for default coding systems. - - * term/mac-win.el: Don't set file-name-coding-system. - Decode variables system-name, emacs-build-system, user-login-name, and - user-full-name by mac-system-coding-system on Mac OS Classic. - (mac-system-coding-system): New variable. - -2005-04-13 Luc Teirlinck - - * startup.el (command-line): Handle `xterm-mouse-mode' before - reading init file. - - * xt-mouse.el (xterm-mouse-mode): Adapt to above change. - -2005-04-13 Glenn Morris - - * progmodes/sh-script.el (sh-here-document-word): Make it a - defcustom. Doc fix. - (sh-add): Bash uses $(( )) for arithmetic. - (sh-while-getopts) : Set OPTIND back to 1 at end. - (sh-maybe-here-document): Remove quotes and leading whitespace - from heredoc word when closing. Indent heredoc with tabs if word - starts with "-". - -2005-04-13 Richard M. Stallman - - * simple.el (undo): Fix previous change. + * emacs-lisp/bytecomp.el (byte-compile-output-docform) + (byte-compile-output-as-comment): Use with-current-buffer rather than + a weird set-buffer&prog1 combination. - * custom.el (defface): Doc fix. + * emacs-lisp/byte-opt.el (byte-optimize-if): Move `progn' out of the + test so as to optimise cases where the `progn's result is constant. -2005-04-13 Lute Kamstra +2007-08-23 Thien-Thi Nguyen - * Makefile.in (DONTCOMPILE): Remove list. - (compile, compile-always): Don't use DONTCOMPILE. - (update-authors): Load the library in which batch-update-authors - is defined. - * makefile.w32-in (DONTCOMPILE): Remove list. - (compile, compile-always): Fix comments. - (update-authors): Load the library in which batch-update-authors - is defined. + * locate.el (locate-get-file-positions): + Use line-beginning-position and line-end-position. - * generic-x.el (generic-mode-ini-file-find-file-hook): - Rename to ini-generic-mode-find-file-hook. - Keep generic-mode-ini-file-find-file-hook as an alias. - (ini-generic-mode-find-file-hook): Rename from - generic-mode-ini-file-find-file-hook. Fix docstring. - (ini-generic-mode): Docstring change. - (bat-generic-mode-run-as-comint): Silence the byte compiler. +2007-08-23 John Wiegley - * help.el (describe-key-briefly): UNTRANSLATED can be nil when - called from lisp. + * calendar/cal-bahai.el: Added in the diacriticals that were + missing for many of the month names. - * generic.el: Move to the emacs-lisp subdir. +2007-08-22 Jason Rumney -2005-04-12 Dan Nicolaescu + * vc-hooks.el (vc-menu-map-filter): Reapply 2007-08-06 bugfix. - * term/xterm.el (function-key-map): Add mappings for A-, C-, S- - and C-S- function and cursor motion keys. +2007-08-22 Chong Yidong -2005-04-12 Luc Teirlinck + * image-mode.el (image-minor-mode): Use image-mode-text-map. - * startup.el (command-line): Enable Xterm Mouse mode by default. - * xt-mouse.el (xterm-mouse-mode): Provide correct standard value - for Custom. No longer show "Mouse" in mode line when enabled. - Doc fix. +2007-08-22 Sean O'Rourke + + * dabbrev.el (dabbrev--progress-reporter): New variable. + (dabbrev--scanning-message): Delete func. + (dabbrev--find-expansion): Use a progress reporter + instead of dabbrev--scanning-message. + +2007-08-22 Michael Albinus + + * comint.el (comint-exec-1): Raise an error if + `start-file-process' does not return a process object. + + * shell.el (shell): Prompt for `default-directory' if it is a + remote file name, and if called with a prefix arg. + +2007-08-22 Sam Steingold + + * pcvs.el (cvs-vc-command-advice): Fix a typo in code (file->files). + +2007-08-22 Carsten Dominik + + * textmodes/org-export-latex.el: New file. + + * textmodes/org-publish.el (org-publish-org-to-latex): New function. + + * textmodes/org.el (org-agenda-skip): Allow a form for + `org-agenda-skip-function'. + (org-agenda-redo): Re-use local settings. + (org-agenda): Store local settings. + (org-agenda-deadline-faces): New option. + (org-agenda-deadline-face): New function. + (org-agenda-get-deadlines, org-agenda-get-scheduled): Also handle + entries on their due date. + (org-agenda-get-timestamps): No longer handle the due dates of + schedules and deadline items. + (org-insert-link-global, org-open-at-point-global): New commands. + (org-export-as-ascii): Call `org-cleaned-string-for-export' with a + :for-ascii parameter. + (org-skip-comments): Function removed. + (org-cleaned-string-for-export): Handle special table lines. + (org-global-properties): New option. + (org-entry-get-with-inheritance): Check global properties. + (org-local-properties): New variable. + (org-set-regexps-and-options): Find the #+PROPERTY line. + (org-link-types): Change type into variable (was constant). + (org-make-link-regexps): New function. + (org-link-re-with-space, org-link-re-with-space2) + (org-angle-link-re, org-plain-link-re, org-bracket-link-regexp) + (org-bracket-link-analytic-regexp, org-any-link-re): Creation of + these regular expressions happens now in the function + `org-make-link-regexps'. + (org-store-link): Call the functions in + `org-store-link-functions'. + (org-add-link-type): New function. + (org-store-link-functions): New variable. + (org-activate-tags): Force matches to be in headlines. + (org-batch-store-agenda-views): Fix bug with killing agenda buffer. + (org-columns-display-here): Make sure this works in a narrowed + buffer by checking for point-min. + (org-columns-display-here): Make the rest of the line intangible, + so that point never can be there. + (org-cleaned-string-for-export): Use `with-current-buffer'. + (org-replace-region-by-html): Use `with-current-buffer'. + (org-unfontify-region, org-do-occur, org-columns-display-here) + (org-columns-remove-overlays, org-columns-quit) + (org-columns-edit-value, org-columns-next-allowed-value) + (org-eval-in-calendar, org-agenda-undo, org-no-read-only) + (org-finalize-agenda, org-remove-subtree-entries-from-agenda) + (org-agenda-todo, org-agenda-change-all-lines) + (org-agenda-align-tags, org-agenda-priority) + (org-agenda-set-tags, org-agenda-toggle-archive-tag) + (org-agenda-show-new-time, org-cleaned-string-for-export) + (org-export-grab-title-from-buffer) + (org-export-as-ascii, org-export-as-html): Use `inhibit-read-only' + instead of `buffer-read-only'. + (org-export-as-html): Set `coding-system-for-write'. + (org-remember-store-without-prompt): New option. + (org-archive-subtree): Fixed bug with modifying TODO keyword. + (org-beginning-of-line): Also treat C-a special in items. + (org-table-convert-refs-to-rc): Fixed problem with column + reference after "..". + (org-columns-compute): Don't mark buffer modified because of text + properties. + (org-batch-store-agenda-views): Use the variable + `default-directory', not the function. + (org-clock-out-if-current): Respect `org-clock-out-when-done'. + (org-clock-out-when-done): New option. + (org-html-entities): Added HTML entities for smileys. -2005-04-12 Kim F. Storm +2007-08-22 Glenn Morris - * emulation/cua-base.el (cua-rectangle-face) - (cua-rectangle-noselect-face): Define face attributes here. + * image.el (create-image): Doc fix. - * emulation/cua-rect.el (cua--init-rectangles): Remove face setup. + * startup.el (tutorial-directory): New constant. + (fancy-splash-text): Tutorials now in tutorial-directory. + * tutorial.el (help-with-tutorial): Tutorials now in + tutorial-directory. -2005-04-12 Jan Dj,Ad(Brv +2007-08-22 Michael Albinus - * startup.el (command-line): Turn off blinking cursor if - cursorBlink in resources is off or false. + * net/tramp.el (top): Require cl.el, when `copy-tree' is not available + otherwise. + (tramp-get-remote-path): New defun. Replace occurrences of + `tramp-default-remote-path' by this function. + (tramp-set-remote-path): Move most of the code to + `tramp-get-remote-path'. + (tramp-get-ls-command, tramp-get-remote-id): Don't check for not + existing directories, this is done already in + `tramp-get-remote-path'. -2005-04-12 YAMAMOTO Mitsuharu +2007-08-22 Paul Pogonyshev - * term/mac-win.el (dnd): Require dnd. - (mac-drag-n-drop): Call dnd-handle-one-url. - (kTextEncodingMacRoman, kTextEncodingISOLatin1) - (kTextEncodingISOLatin2): Remove constants. - (mac-script-code-coding-systems): New constant. - (mac-handle-language-change): New function. - (special-event-map): Bind it to `language-change' event. - (mac-centraleurroman, mac-cyrillic): New coding systems. - (mac-font-encoder-list, ccl-encode-mac-centraleurroman-font) - (ccl-encode-mac-cyrillic-font): Rename mac-centraleurroman-encoder - and mac-cyrillic-encoder to encode-mac-centraleurroman and - encode-mac-cyrillic, respectively. + * image-file.el (image-file-name-extensions): Add "svg". + * image.el (image-type-header-regexps): Add svg entry. -2005-04-12 Nick Roberts +2007-08-22 Glenn Morris - * progmodes/gud.el, progmodes/gdb-ui.el (gdb-assembler-mode): - Don't set overlay-arrow-string to "=>" as this is done - globally in C now. + * files.el (backup-buffer-copy): Check backup directory is + writable, to avoid infloop deleting old backup. -2005-04-12 Lute Kamstra + * mail/rmail.el (rmail-movemail-variant-p): Call on load to set + movemail related variables. + (rmail-insert-inbox-text): Use only rmail-movemail-program, which + will now be set before this is called. - * generic-x.el (rc-generic-mode, rul-generic-mode): - Fix auto-mode-alist entries. - (etc-fstab-generic-mode): Tweak fontification. +2007-08-21 Juri Linkov - * generic.el (generic-make-keywords-list): Fix docstring. - (generic-mode-internal): Simplify generic-font-lock-keywords. + * delsel.el (delete-selection-pre-hook): + * emulation/cua-base.el (cua-paste): Use `mouse-region-match' + instead of checking last-command. -2005-04-11 Rajesh Vaidheeswarran +2007-08-21 Juri Linkov - * whitespace.el (whitespace-buffer-leading) - (whitespace-buffer-trailing): Revert the incorrect test inversion. - However, fix the highlight area for the leading and - trailing whitespaces to show space. + * loadup.el: Preload "button". -2005-04-11 Rajesh Vaidheeswarran +2007-08-21 Stefan Monnier - * whitespace.el (whitespace-version): Bump to 3.5. + * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions): + Add previous-line and next-line. - (whitespace-buffer-leading, whitespace-buffer-trailing): - Invert sense of the test to highlight the whitespace. + * vc-arch.el (vc-arch-extra-menu-map): New var and fun. + (vc-arch-find-file-not-found-hook): Remove, it's now the default. -2005-04-12 Nick Roberts + * vc-hooks.el (vc-menu-entry): New var. + (vc-mode-line-map): Use it so that this menu also uses the extra-menu. + (menu-bar-tools-menu): Add the VC menu here rather than in menu-bar.el. + (vc-menu-map): Declare and initialize in one step. + (vc-menu-map-filter): Move&rename from menu-bar.el:menu-bar-vc-filter. - * progmodes/gud.el (gud-display-line): GUD uses its own - overlay arrow now so don't set overlay-arrow-string. - (gud-pdb-command-name): Revert back to "pdb" (2004-04-26). + * menu-bar.el (vc-menu-map): Don't setup any more. + Instead, just create the proper spot in the menu. -2005-04-11 Dan Nicolaescu +2007-08-20 Stefan Monnier - * term.el (term-ansi-current-bold, term-ansi-current-underline) - (term-ansi-current-reverse, term-ansi-current-invisible) - (term-ansi-face-already-done): Change to boolean. - (term-reset-terminal, term-handle-colors-array): Handle the above - vars accordingly. - (term-buffer-vertical-motion): Rename from buffer-vertical-motion. - (term-emulate-terminal): Use the new name. + * smerge-mode.el (smerge-resolve): New arg `safe'. + (smerge-resolve-all, smerge-batch-resolve): New function. + (smerge-refine): Make sure `diff' returns the expected result. + (smerge-parsep-re): New const. + (smerge-mode): Use it to adjust paragraph-separate. - * faces.el (secondary-selection): Use yellow1, not yellow. - (trailing-whitespace): Use red1, not red. + * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): + Correctly match / regexp matchers as first char on a line when + fontifying only that line. -2005-04-11 Jan Dj,Ad(Brv + * emacs-lisp/cl-macs.el (cl-transform-lambda): Preserve the match-data. - * dired.el (dired-mode): Use dnd-* instead of x-dnd-* - (dired-dnd-handle-local-file): Call dnd-get-local-file-name. - (dired-dnd-handle-file): Call dnd-get-local-file-uri. +2007-08-20 Stefan Monnier - * cus-edit.el (dnd): New group. + * vc-bzr.el: Don't fiddle with vc-handled-backend. + (vc-bzr-registered): Don't redundantly protect against + file-error. Actually use the format-specific code. + (vc-bzr-buffer-nonblank-p): Remove. + (vc-bzr-status): Change `kindchange' -> `kindchanged'. - * term/w32-win.el (dnd): Require dnd - (w32-drag-n-drop): Call dnd-handle-one-url. +2007-08-20 Juri Linkov - * x-dnd.el: Require dnd. - (x-dnd-handle-uri-list, x-dnd-handle-file-name): - Call dnd-handle-one-url. - (x-dnd-types-alist, x-dnd-insert-utf8-text) - (x-dnd-insert-utf16-text, x-dnd-insert-ctext): Change x-dnd-insert-text - to dnd-insert-text. - (x-dnd-protocol-alist, x-dnd-open-file-other-window) - (x-dnd-handle-one-url, x-dnd-get-local-file-uri) - (x-dnd-get-local-file-name, x-dnd-open-local-file) - (x-dnd-open-file, x-dnd-insert-text): Move to dnd.el (without x-). + * startup.el (fancy-splash-text): Change multiple tabs into one + tab. Remove "Useful File menu items" section (with "Exit Emacs" + and "Recover Crashed Session"). + (fancy-splash-screens): Set tab-width to 22. + (normal-splash-screen): Replace literal tabs with \t and + fix whitespace. Remove "Useful File menu items" section (with + "Exit Emacs" and "Recover Crashed Session"). - * dnd.el (dnd-protocol-alist): New file with generic DND functions. +2007-08-20 Johannes Weiner (tiny change) -2005-04-11 JUAN-LEON Lahoz Garcia + * emacs-lisp/lisp-mode.el (preceding-sexp): New fun, the code was + extracted from `eval-last-sexp-1'. + (eval-last-sexp-1): Call `preceding-sexp'. - * wdired.el: Doc fixes. - (wdired-confirm-overwrite): Rename from wdired-is-ok-overwrite. - (wdired-use-dired-vertical-movement): Rename from - wdired-always-move-to-filename-beginning. - (wdired-mode-map): Use `ignore' instead of `wdired-newline'. - (wdired-change-to-wdired-mode): Change mode name. - (wdired-newline): Delete. +2007-08-20 Thien-Thi Nguyen -2005-04-11 Richard M. Stallman + * vc-rcs.el (vc-rcs-annotate-command): + Fix bug introduced 2007-07-18T16:32:40Z!esr@snark.thyrsus.com: + Add back :vc-annotate-prefix propertization. - * whitespace.el (whitespace-highlight-the-space): - Don't call whitespace-unhighlight-the-space here. +2007-08-20 Andreas Schwab - * simple.el (undo): Record t in undo-equiv-table - for the redo record made by an undo-in-region. + * mail/rmail.el (rmail-autodetect): Doc fix. -2005-04-12 Nick Roberts +2007-08-19 Juri Linkov - * progmodes/gdb-ui.el (gdb-display-inferior-io-buffer) - (gdb-frame-inferior-io-buffer): New Functions to control - display of separate IO buffer. - (menu): Add them to menu-bar. - (gdb-display-buffer): Check for buffer another frame. - Protect GUD buffer. - (gdb-setup-windows): Create IO buffer if not already there. - (gdb-memory-mode): Remove purecopy noops. + * startup.el (normal-splash-screen): Add more links. -2005-04-11 Glenn Morris +2007-08-19 Juri Linkov - * progmodes/f90.el (f90-electric-insert): Add optional prefix arg, - and pass to self-insert-command. + * startup.el (splash-screen-keymap): Rename from `fancy-splash-keymap' + because it's common to both types of splash screen: fancy and normal. + Bind SPC to scroll-up, DEL to scroll-down and `q' to exit-splash-screen. + (exit-splash-screen): Rename from `fancy-splash-quit'. + Use `quit-window' instead of `kill-buffer'. + (fancy-splash-head): Use make-button to insert GNU image link. + (fancy-splash-screens, normal-splash-screen): Rename " About GNU + Emacs" to "*About GNU Emacs*", and " GNU Emacs" to "*GNU Emacs*". + (normal-splash-screen): Put "Browse manuals" on the same line with + "Emacs manual". Remove descriptions from "Useful tasks" and put + all links in two columns on two lines. -2005-04-11 Lute Kamstra +2007-08-19 Michael Kifer - * generic.el: Commentary section cleanup. - (generic): Delete. - (generic-use-find-file-hook, generic-lines-to-scan) - (generic-find-file-regexp, generic-ignore-files-regexp) - (default-generic-mode, generic-mode-find-file-hook) - (generic-mode-ini-file-find-file-hook): Move to generic-x.el. - * generic-x.el (generic-x): Docstring fix. Put it in the data group. - (generic-use-find-file-hook, generic-lines-to-scan) - (generic-find-file-regexp, generic-ignore-files-regexp) - (default-generic-mode, generic-mode-find-file-hook) - (generic-mode-ini-file-find-file-hook): Move from generic.el. + * emulation/viper.el (viper-remove-hooks): Remove some additional + viper hooks when the user calls viper-go-away. + (viper-go-away): Restore the default of default-major-mode. + Save the value of default-major-mode before vaperization. -2005-04-10 Karl Fogel + * emulation/viper-cmd.el: Replace error "" with "Viper bell". - * bookmark.el (bookmark-write-file): Catch errors writing file. - This is the same change as saveplace.el at 2005-04-10T23:32:00Z!rms@gnu.org. + * emulation/viper-ex.el: Replace error "" with "Viper bell". -2005-04-10 Richard M. Stallman + * ediff-util.el (ediff-make-temp-file): Use the coding system of the + buffer for which file is created. - * startup.el (fancy-splash-tail): Update copyright year. - (command-line): Split part of -Q into -D. - (emacs-basic-display): New defvar. - (fancy-splash-text): Correct name of menu item. +2007-08-19 Glenn Morris - * saveplace.el (save-place-alist-to-file): Catch errors writing file. + * Makefile.in (custom-deps, finder-data, autoloads, recompile) + (progmodes/cc-mode.elc, mh-e/mh-loaddefs.el): Use $(emacs) rather + than $(EMACS), so that EMACSLOADPATH is set. Prevents any system + shadow files messing up the compilation. - * info.el (Info-fontify-node): Handle fontification of multiple * Menu - lines in one node. +2007-08-18 Glenn Morris - * comint.el (comint-send-input): New arg ARTIFICIAL. - Callers in this file changed. + * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Add doc + string. Also apply eldoc-argument-case in the help-split-fundoc + case. Adapt for changed behavior of eldoc-function-argstring, + eldoc-function-argstring-format, and + eldoc-highlight-function-argument. + (eldoc-highlight-function-argument): Handle nil INDEX argument, + just call eldoc-docstring-format-sym-doc in that case. + (eldoc-function-argstring): Change the behavior. Now it converts + an argument list to a string. + (eldoc-function-argstring-format): Change the behavior. Now it + applies `eldoc-argument-case' to a string. + + * progmodes/scheme.el (scheme-mode-variables): Set + font-lock-comment-start-skip. - * abbrev.el (define-abbrevs): Read system abbrevs properly. +2007-08-18 Martin Rudalics - * emacs-lisp/map-ynp.el (map-y-or-n-p): Clarify RET/q in help message. + * progmodes/ada-mode.el (ada-create-syntax-table): Move + set-syntax-table from here to ... + (ada-mode): ... here. Do not change global value of + comment-multi-line. Call new function + ada-initialize-syntax-table-properties and add new function + ada-handle-syntax-table-properties to font-lock-mode-hook. + (ada-deactivate-properties, ada-initialize-properties): Replace + by new functions ... + (ada-handle-syntax-table-properties) + (ada-initialize-syntax-table-properties) + (ada-set-syntax-table-properties): ... to set up syntax-table + properties uniformly, independently from whether font-lock-mode + is enabled or not. Handle read-only buffers and do not change + undo-list when setting syntax-table properties. + (ada-after-change-function): Use ada-set-syntax-table-properties. -2005-04-10 Chong Yidong +2007-08-18 Micha,Ak(Bl Cadilhac - * url/url-ldap.el (url-ldap): Add docstring. Fix call to - `ldap-search-internal'. + * progmodes/meta-mode.el (meta-indent-calculate-last): Remove. + (meta-indent-current-nesting): Use a computation of the nesting + instead. + (meta-indent-current-indentation): Indentation is given according + to nesting and if the previous line was finished or not. + (meta-indent-unfinished-line): Tell if the current line ends with + a finished expression. + (meta-indent-looking-at-code): Like `looking-at', but checks if + the point is in a string before. + (meta-indent-level-count): Use it. Don't count parenthesis as it's + done in the nesting function. + (meta-indent-in-string-p): Tell if the current point is in a + string. + (meta-indent-calculate): Treat b-o-b as a special case. Use the + previous functions. + +2007-08-17 Thien-Thi Nguyen + + * emacs-lisp/copyright.el (copyright-limit): New defsubst. + (copyright-update-year, copyright-update) + (copyright-fix-years): Use it. + +2007-08-17 Kimit Yada (tiny change) + + * emacs-lisp/copyright.el (copyright-update-year): + Fix bug: Handle nil copyright-limit. + +2007-08-17 Jay Belanger + + * calc/calc-units.el (math-standard-units): Give exact + conversion for tsp. + + * calc/calc.el (math-bignum-digit-length): Compute the + appropriate value. + + * calc/calc-bin.el (math-bignum-logb-digit-size) + (math-bignum-digit-power-of-two): + * calc/calc-comb.el (math-small-factorial-table): + * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e) + (math-approx-gamma-const): + * calc/calc-funcs.el (math-besJ0, math-besJ1, math-besY0) + (math-besY1, math-bernoulli-b-cache): + * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2): + Remove `eval-when-compile's. -2005-04-10 Stefan Monnier +2007-08-17 Bob Rogers (tiny change) - * files.el (set-auto-mode-1): Use line-end-position. + * progmodes/cperl-mode.el (cperl-look-at-leading-count) + (cperl-find-pods-heres): Fix an error when typing expressions like + `s{a}{b}'. - * international/latin-1.el: - * international/latin-2.el: - * international/latin-3.el: - * international/latin-4.el: - * international/latin-5.el: - * international/latin-8.el: - * international/latin-9.el: Give punctuation syntax to NBSP. +2007-08-17 Micha,Ak(Bl Cadilhac - * textmodes/bibtex.el (bibtex-autokey-titleword-ignore) - (bibtex-reference-key, bibtex-autokey-demangle-name, bibtex-mode): - Use char-classes to accept non-ascii letters, accepted in some recent - bibtex implementations. + * mail/emacsbug.el (report-emacs-bug): Remove the last number of + `emacs-version', use the topic prefix ``version; ''. Make MS-DOS + a special case (there's no build number). -2005-04-10 Luc Teirlinck +2007-08-17 T. V. Raman (tiny change) - * custom.el (custom-set-minor-mode): Any non-nil value for the - variable should enable the mode when set through Custom. + * completion.el (symbol-under-point, symbol-before-point) + (symbol-before-point-for-complete): Use buffer-substring-no-properties. -2005-04-10 Stefan Monnier +2007-08-17 Glenn Morris - * progmodes/vhdl-mode.el (vhdl-mode-map-init): Don't override default - TAB binding so tab-always-indent is obeyed. - (vhdl-minibuffer-local-map): Move initialization into declaration. - (vhdl-mode-abbrev-table-init): Mark the abbrevs as `system'. - (vhdl-run-when-idle, vhdl-create-mode-menu, vhdl-character-to-event) - (vhdl-hooked-abbrev): Avoid test for XEmacs. - (vhdl-current-line): Use line-beginning-position. - (vhdl-doc-variable, vhdl-doc-mode): Call help-setup-xref before - with-output-to-temp-buffer, so the current position can be recorded. + * progmodes/compile.el (compilation-get-file-structure): Make use + of the directory part when checking for an existing entry, to + handle files with same basename in different directories. -2005-04-10 Masatake YAMATO +2007-08-17 Jay Belanger - * progmodes/compile.el (compilation-error-regexp-alist-alist): - Add regexp for gcov. + * calc/calc.el (calc-language-alist): Add texinfo-mode. -2005-04-06 Katsumi Yamaoka +2007-08-16 Vinicius Jose Latorre - * calendar/time-date.el (time-to-seconds, seconds-to-time) - (days-to-time, time-subtract, time-add): Don't use the #xhhhh - syntax which Emacs 20 doesn't support. + * ps-print.el (ps-header-font-size, ps-header-title-font-size) + (ps-footer-font-size, ps-line-number-font-size, ps-line-spacing) + (ps-paragraph-spacing): Docstring fix. -2005-04-09 Richard M. Stallman +2007-08-16 Glenn Morris - * help.el (describe-key-briefly, describe-key): - Replace strings as event types with "(any string)". + * ps-print.el (ps-font-size): Doc fix. -2005-04-09 Stefan Monnier +2007-08-16 Richard Stallman + + * emacs-lisp/copyright.el (copyright-names-regexp): Add custom group. + +2007-08-15 Juri Linkov + + * startup.el (initialization): Change parent group from `internal' + to `environment'. + (initial-buffer-choice): New variable. + (command-line): Revert 2007-07-02 change that sets + buffer-offer-save in *scratch* and enables auto-save in it. + (fancy-splash-text): Add links to existing items. Add new items + with links for useful tasks. Move information about Control-g to + fancy-splash-head. Move "Emacs Guided Tour" to the end. + (fancy-splash-keymap): New variable. + (fancy-splash-last-input-event): Remove variable. + (fancy-splash-insert): Add processing of `:link' element. + (fancy-splash-head): Replace "Type Control-l to begin editing" + with "Type `q' to exit". + (fancy-splash-screens-1): Let-bind inhibit-read-only to t. + (fancy-splash-default-action, fancy-splash-special-event-action): + Remove functions. + (fancy-splash-quit): New function. + (fancy-splash-screens): Rename input arg from `hide-on-input' to + `static' and reverse the condition of its usage. Don't preserve + original values of `minor-mode-map-alist', + `emulation-mode-map-alists', `special-event-map'. + Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs". + Rename about-buffer from " GNU Emacs" to " About GNU Emacs". + Remove processing of special events. Use local key map + `fancy-splash-keymap'. Set buffer to read-only. + (normal-splash-screen): Rename input arg from `hide-on-input' to + `static' and reverse the condition of its usage. + Rename startup-buffer from "*About GNU Emacs*" to " GNU Emacs". + Rename about-buffer from " GNU Emacs" to " About GNU Emacs". + Add links to existing items. Add new items with links for useful + tasks. Use local key map `fancy-splash-keymap'. + (display-splash-screen): Rename input arg from `hide-on-input' to + `static'. + (about-emacs): Add alias to display-splash-screen. + (command-line-1): Use `initial-buffer-choice'. - * arc-mode.el (archive-mode-map): Move initialization into - the declaration. Override *all* bindings of `undo'. - (archive-lemacs): Remove, use (featurep 'xemacs) instead. + * menu-bar.el (menu-bar-help-menu): + * term/mac-win.el (mac-apple-event-map): Bind About Emacs menu + item to about-emacs instead of display-splash-screen. -2005-04-09 Jay Belanger +2007-08-15 Jay Belanger - * calc/calc-units.el (math-standard-units): Redefine Watt hour as W*hr. + * calc/calc-units.el (math-standard-units): Update values. + Put in exact, rational values when possible. + (math-unit-prefixes): Replace floats with powers of ten. + (math-standard-units-systems): Replace floats with integers. + (math-make-unit-string): Remove extra spaces in output. -2005-04-09 Dan Nicolaescu +2007-08-15 Glenn Morris - * term/xterm.el (xterm-rgb-convert-to-16bit): Simplify. - (xterm-register-default-colors): Update color values computation - to match xterm-200. + * mail/undigest.el (rmail-digest-parse-rfc1153sloppy): Be even + sloppier, for the sake of GNU Mailman. + (rmail-digest-rfc1153): Initialize `result' correctly. -2005-04-09 Kenichi Handa +2007-08-15 Micha,Ak(Bl Cadilhac - * international/code-pages.el (iso-latin-7): Fix the map. + * mail/emacsbug.el (report-emacs-bug): Put `Bug: emacs-version; ' + in the mail title. Suggested by Reiner Steib. -2005-04-08 Luc Teirlinck +2007-08-14 Chris Hecker (tiny change) - * emacs-lisp/lisp.el (defun-prompt-regexp) - (parens-require-spaces, buffer-end, end-of-defun) - (insert-parentheses): Doc fixes. + * calc/calc-aent.el (calc-do-quick-calc): Add binary + representation of integers to the list of outputs. -2005-04-08 Kim F. Storm +2007-08-14 Glenn Morris - * comint.el (comint-highlight-prompt): Fix face spec. - * hi-lock.el (hi-green): Likewise. + * simple.el (bad-packages-alist): New constant. + (bad-package-check): New function. Together, these two add elements + to `after-load-alist' to check for problematic external packages. + * emulation/cua-base.el: Move CUA-mode check to `bad-packages-alist'. -2005-04-08 Dan Nicolaescu +2007-08-14 Jay Belanger + + * calc/calc-units.el (math-get-standard-units) + (math-get-units, math-make-unit-string) + (math-get-default-units, math-put-default-units): New functions. + (math-default-units-table): New variable. + (calc-convert-units, calc-convert-temperature): Add machinery + to supply default values. + +2007-08-14 Stefan Monnier + + * emulation/tpu-edt.el: Add tpu-extras's autoloads. + (tpu-gold-map, tpu-global-map): Comment-out the bindings to nil. + (tpu-gold-map): Bind F to tpu-cursor-free-mode. + (minibuffer-local-map): Use funkey symbols rather than esc-sequence. + + * emulation/tpu-extras.el: Remove spurious * in docstrings. + Put its autoloads into tpu-edt.el rather than loaddefs.el. + (tpu-cursor-free-mode): Rename from tpu-cursor-free. + Make into a proper minor-mode. + (tpu-backward-char, tpu-next-line, tpu-previous-line) + (tpu-next-end-of-line, tpu-current-end-of-line): Use new name. + (tpu-trim-line-ends-if-needed): Rename from tpu-before-save-hook. + (tpu-set-cursor-free, tpu-set-cursor-bound): + Delegate to tpu-cursor-free-mode. + (tpu-next-line, tpu-previous-line, tpu-forward-line) + (tpu-backward-line, tpu-scroll-window-down, tpu-scroll-window-up): + Use line-move or forward-line instead of next-line-internal. - * cus-edit.el (custom-modified-face): - * comint.el (comint-highlight-input): Fix previous changes. - * term.el (term-handle-ansi-escape): Add a comment. +2007-08-13 Nick Roberts -2005-04-08 Stefan Monnier + * progmodes/gdb-ui.el (gdb-send): Handle CTRL-D more carefully. - * whitespace.el (whitespace-highlight-the-space): Put the same overlay - in the buffer and in whitespace-highlighted-space. - (whitespace-unhighlight-the-space): Simplify. - (whitespace-buffer): Simplify. +2007-08-12 Richard Stallman -2005-04-08 Dan Nicolaescu + * pcvs.el (cvs-reread-cvsrc, cvs-checkout, cvs-mode-checkout) + (cvs-execute-single-file): Use new name split-string-and-unquote. + (cvs-header-msg): Use new name combine-and-quote-strings. - * textmodes/table.el (table-cell-face): Add special case for - displays supporting a high number of colors. - * progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face) - (vhdl-font-lock-reserved-words-face) - (vhdl-speedbar-architecture-face) - (vhdl-speedbar-instantiation-face) - (vhdl-speedbar-architecture-selected-face) - (vhdl-speedbar-instantiation-selected-face): Likewise. - * progmodes/sh-script.el (sh-heredoc-face): Likewise. - * progmodes/idlw-help.el (idlwave-help-link-face): Likewise. - * progmodes/ebrowse.el (ebrowse-tree-mark-face) - (ebrowse-root-class-face, ebrowse-member-attribute-face) - (ebrowse-progress-face): Likewise. - * progmodes/compile.el (compilation-info-face): Likewise. - * progmodes/cc-fonts.el (c-invalid-face): Likewise. - * emacs-lisp/re-builder.el (reb-match-3): Likewise. - * calendar/calendar.el (diary-face): Likewise. - * woman.el (woman-italic-face, woman-bold-face) - (woman-unknown-face): Likewise. - * wid-edit.el (widget-button-pressed-face): Likewise. - * whitespace.el (whitespace-highlight-face): Likewise. - * smerge-mode.el (smerge-mine-face, smerge-base-face): Likewise. - * pcvs-info.el (cvs-marked-face): Likewise. - * info.el (info-xref): Likewise. - * ido.el (ido-subdir-face, ido-indicator-face): Likewise. - * hilit-chg.el (highlight-changes-face) - (highlight-changes-delete-face): Likewise. - * hi-lock.el (hi-yellow, hi-green, hi-blue-b, hi-green-b) - (hi-red-b): Likewise. - * generic-x.el (show-tabs-tab-face, show-tabs-space-face): Likewise. - * font-lock.el (font-lock-keyword-face) - (font-lock-function-name-face, font-lock-warning-face): Likewise. - * cus-edit.el (custom-invalid-face, custom-modified-face) - (custom-set-face, custom-changed-face, custom-variable-tag-face) - (custom-group-tag-face-1, custom-group-tag-face): Likewise. - * comint.el (comint-highlight-prompt): Likewise. + * emulation/vi.el (vi-next-line): Ignore return value of line-move. -2005-04-08 Lute Kamstra + * progmodes/gud.el (gud-common-init): Use new name + split-string-and-unquote. - * font-lock.el (font-lock-keywords): Docstring fixes. + * progmodes/flymake.el (flymake-err-line-patterns): Fix infloop + in javac regexp. -2005-04-08 Kenichi Handa + * pcvs-util.el (cvs-qtypedesc-strings): Use new names + combine-and-quote-strings and split-string-and-unquote. - * ps-mule.el (ps-mule-show-warning): If the number of unprintable - chars are more than a limit, print " and more..." at the tail. + * subr.el (combine-and-quote-strings): Rename from strings->string. + (split-string-and-unquote): Rename from string->strings. -2005-04-08 Kim F. Storm +2007-08-10 Stefan Monnier - * emacs-lisp/authors.el (authors-aliases): Update list. - (authors-ignored-files): New list. - (authors-fixed-entries): Fix typo. - (authors-renamed-files-alist): Update list. - (authors-add): Check authors-ignored-files. + * log-view.el (log-view-font-lock-keywords): Use `eval' so as to adapt + to buffer-local settings. -2005-04-08 Carsten Dominik + * emacs-lisp/backquote.el (backquote-delay-process): New function. + (backquote-process): Add internal arg `level'. Use the two to + correctly handle nested backquotes. - * calendar/diary-lib.el (add-to-diary-list): MARKER argument made - optional, to ensure backward compatibility. +2007-08-09 Riccardo Murri -2005-04-08 Stephen Eglen + * vc-bzr.el (vc-bzr-registered): Use \0 instead of literal NULs. + (vc-bzr-state-words): Add "kind changed" state word. + (vc-bzr-status): New function. Return Bzr idea of file status, + which is different from VC's. + (vc-bzr-state): Use vc-bzr-status. + (vc-workfile-unchanged-p): Use vc-bzr-status. + (vc-bzr-revert): Use synchronous process; expect exitcode 0. + (vc-dired-state): Process "kind changed" state word. - * textmodes/flyspell.el (flyspell-large-region): Doc fix. +2007-08-09 Stefan Monnier -2005-04-08 Kim F. Storm + * vc-hooks.el (vc-default-find-file-not-found-hook): Do nothing. - * buff-menu.el (Buffer-menu-mode-map): Map follow-link to mouse-face. + * vc-rcs.el (vc-rcs-find-file-not-found-hook): + Move from vc-default-find-file-not-found-hook. - * mouse.el (mouse-on-link-p): Doc fix. +2007-08-08 Stefan Monnier -2005-04-07 Luc Teirlinck + * man.el: Remove spurious * in docstrings. + Merge defvars and toplevel setq-defaults. + (Man-highlight-references0): Limit=nil rather than point-max. + (Man-mode-map): Move initialization into the declaration. + (Man-strip-page-headers, Man-unindent): Use dolist & inhibit-read-only. + (Man-view-header-file): Use expand-file-name rather than concat. + (Man-notify-when-ready, Man-bgproc-sentinel): Use with-current-buffer. - * ielm.el (ielm-prompt-read-only): Doc fix. + * man.el (Man-next-section): Make sure we do not move backward. - * comint.el (comint-prompt-read-only): Doc fix. +2007-08-08 Stefan Monnier -2005-04-07 Benjamin Rutt + * files.el (auto-mode-alist): Use the purecopied text (duh!). - * ffap.el (ffap-pass-wildcards-to-dired): New user option to - ensure dired always handles wildcards passed to ffap. - (find-file-at-point): Use it. - (ffap-dired-wildcards): Doc fix. +2007-08-08 Glenn Morris -2005-04-07 Juri Linkov + * Replace `iff' in doc-strings and comments. - * simple.el (next-error-overlay-arrow-position): New defvar. - Put "=>" on its property `overlay-arrow-string'. Add it to - `overlay-arrow-variable-list'. +2007-08-08 Martin Rudalics - * progmodes/compile.el (compilation-setup): - Set `next-error-overlay-arrow-position' to nil. Also set it to - nil in the local hook `kill-buffer-hook'. Make local variable - `overlay-arrow-string' and set it to "=>". - (compilation-goto-locus): Set BOL position to - `next-error-overlay-arrow-position' instead of - `overlay-arrow-position'. + * dired.el (dired-pop-to-buffer): + * mouse-drag.el (mouse-drag-should-do-col-scrolling): + * calendar/calendar.el (generate-calendar-window): + * progmodes/compile.el (compilation-set-window-height): + * textmodes/two-column.el (2C-two-columns, 2C-merge): + Use window-full-width-p instead of comparing frame-width and + window-width. - * info.el (Info-mode): Add `Info-kill-buffer' to `kill-buffer-hook' - locally instead of adding it to the global hook. - (Info-kill-buffer): Move up. + * progmodes/compile.el (compilation-find-buffer): Remove extra + argument in call to compilation-buffer-internal-p. -2005-04-06 Dan Nicolaescu +2007-08-07 Tom Tromey - * term/xterm.el (xterm-standard-colors): Update color values from - xterm-200. + * progmodes/tcl.el (tcl-indent-level, tcl-continued-indent-level): + Add safe-local-variable property. -2005-04-06 Stefan Monnier +2007-08-07 Chong Yidong - * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add \bfseries. + * image-mode.el (image-toggle-display): Use image-refresh. - * fast-lock.el: - * lazy-lock.el: Move them to the obsolete subdir. +2007-08-07 Riccardo Murri -2005-04-06 JUAN-LEON Lahoz Garcia + * vc-bzr.el: Remove comments about vc-bzr.el being a modified + unofficial version. + (vc-bzr-command): Remove redundant setting of process-connection-type. + (vc-bzr-admin-checkout-format-file): Add autoload. + (vc-bzr-root-dir): Remove in favor of vc-bzr-root. + (vc-bzr-root): Switch to implementation of vc-bzr-root-dir. + (vc-bzr-registered): Compare dirstate format tag with known good + value, abort parsing if match fails. Warn user in docstring. + (vc-bzr-workfile-version): Case for different Bzr branch formats. + See bzrlib/branch.py in Bzr sources. + (vc-bzr-diff): First argument FILES may be a string rather than a list. + (vc-bzr-shell-command): Remove in favor of + vc-bzr-command-discarding-stderr. + (vc-bzr-command-discarding-stderr): New function. - * wdired.el (wdired-advise-functions, wdired-add-skip-in-replace) - (wdired-add-replace-advice): Remove. - (wdired-change-to-wdired-mode): Use query-replace-skip-read-only. +2007-08-06 Riccardo Murri -2005-04-06 Kim F. Storm + * vc-bzr.el (vc-bzr-registered): Gracefully handle missing "bzr" + program, and return nil. + (vc-bzr-state): Gracefully handle missing "bzr" program, and return nil. + (vc-bzr-state): Look for path names relative to the repository + root after status keyword. + (vc-bzr-file-name-relative): New function. + (vc-bzr-admin-dirname): Reinstate, as other vc-bzr-admin-... paths + depend on it. + (vc-bzr-admin-dirname, ...-checkout-format-file) + (...-branch-format-file, ...-revhistory): Paths to some Bzr internal + files that we now parse directly for speed. + (vc-bzr-root-dir): Use `vc-bzr-admin-checkout-format-file' as witness. + (vc-bzr-registered): Only parse vc-bzr-admin-dirstate file if it exists. + (vc-bzr-state): "bzr status" successful only if exitcode is 0. + (vc-bzr-root): Use `vc-bzr-shell-command'. Stderr may contain + Bzr warnings, so we must discard it. + (vc-bzr-workfile-version): Speedup counting lines from + `vc-bzr-admin-revhistory' file, but fallback to spawning "bzr revno" + if that file doesn't exist. + (vc-bzr-responsible-p): Use `vc-bzr-root' instead of + `vc-bzr-root-dir' for speed. Add `vc-bzr-admin-dirname' (not ".bzr"!) + to `vc-directory-exclusion-list'. + (vc-bzr-shell-command): New function. - * startup.el (command-line): Add --bare-bones alias for -Q. +2007-08-06 Tom Tromey -2005-04-06 YAMAMOTO Mitsuharu + * diff-mode.el (diff-unified->context, diff-reverse-direction) + (diff-fixup-modifs): Typo in docstring. - * term/mac-win.el: Use create-fontset-from-mac-roman-font to - create the startup fontset if a font specification ends with - `mac-roman'. +2007-08-06 Stefan Monnier -2005-04-06 Lute Kamstra + * emulation/tpu-edt.el (tpu-current-line): Use posn-at-point and + count-screen-lines. + (tpu-edt-off): Disable relevant pieces of advice. - * add-log.el (change-log-font-lock-keywords): Complete 2005-04-03 - change. + * emulation/tpu-extras.el (tpu-before-save-hook): Rename from + tpu-write-file-hook. Activate it with add-hook on buffer-save-hook. + (newline, newline-and-indent, do-auto-fill): Use advice instead of + redefining the function. + (tpu-set-scroll-margins): Activate the pieces of advice. - * emacs-lisp/copyright.el (copyright-update-year): Replace the - right subexpression. Suggested by Jay Bingham . +2007-08-06 Martin Rudalics -2005-04-05 Lute Kamstra + * help.el (resize-temp-buffer-window): Use window-full-width-p + instead of comparing frame-width and window-width. - * generic.el (generic-mode-internal): Fix 2005-03-31 change. - (define-generic-mode): Ditto. Fix debug declaration. +2007-08-13 Stephen Leake - * generic-x.el (show-tabs-tab-face, show-tabs-space-face): - Put them in the generic-x group. + * pcvs-parse.el (cvs-parse-table): Handle additional instance of + optional quotes around files in NEED-UPDATE . REMOVED case. - * calendar/timeclock.el (timeclock): Doc fix. + * progmodes/ada-xref.el (ada-gnatls-args): Fix docstring. + (ada-treat-cmd-string): Improve error message. + (ada-do-file-completion): Call `ada-require-project-file', so + project variables are set properly. + (ada-prj-find-prj-file): Delete Emacs 20.2 support. + (ada-gnatfind-buffer-name): New constant. + (ada-find-any-references): Use new constant. Set buffer name + properly in compilation-start. Toggle read-only properly. + (ada-find-in-src-path): Fix spelling error in docstring. - * generic.el (define-generic-mode): Don't use custom-current-group. - Document default :group value. - * emacs-lisp/easy-mmode.el (define-minor-mode): Ditto. - (define-global-minor-mode): Don't use custom-current-group. + * progmodes/vhdl-mode.el (vhdl-update-progress-info): Avoid divide + by zero error. -2005-04-05 Glenn Morris +2007-08-13 Stefan Monnier - * startup.el (command-line-1): Display startup-echo-area-message - when fancy splash screen is in use. + * emacs-lisp/autoload.el (autoload-print-form): Use print-quoted. - * progmodes/sh-script.el (sh-builtins) : Add `caller'. - (sh-escaped-newline): New face. - (sh-font-lock-keywords) : Improve regexp for escaped - newline, and use sh-escaped-newline face. +2007-08-12 Richard Stallman - * progmodes/tcl.el (tcl-escaped-newline): New face. - (tcl-builtin-list): New variable. - (tcl-set-font-lock-keywords): Add builtins, variables, and escaped - newlines. Fix keywords subexpression number. + * progmodes/sh-script.el (sh): Delete group `unix'. -2005-04-05 Carsten Dominik + * progmodes/gud.el (gud): Change to group `processes'. - * textmodes/org.el (org-diary-default-entry): Fix call to - `add-to-diary-entry'. +2007-08-11 Glenn Morris -2005-04-05 Kim F. Storm + * progmodes/compile.el (compilation-buffer-name): Don't check + compilation-arguments. It is superfluous, and the variable isn't + even set when this function is called. - * ediff-init.el: Use (featurep 'xemacs). +2007-08-10 YAMAMOTO Mitsuharu -2005-04-05 David Ponce + * term/mac-win.el (mac-ae-reopen-application): New function. + (mac-apple-event-map): Bind "reopen application" Apple event to it. - * cus-edit.el (face): Derive from symbol widget. Display sample - of the current face on the fly. - (widget-face-sample-face-get, widget-face-notify): New functions. - (widget-face-value-create): Remove. +2007-08-10 Stefan Monnier - * wid-edit.el (widget-field-end): Temporarily remove field - narrowing before to call `get-char-property'. + * textmodes/tex-mode.el (tex-font-lock-unfontify-region): Fix to + take tex-font-script-display into account. + (tex-font-script-display, tex-font-lock-suscript): Change from a cons + cell to a list of 2 elements to simplify the unfontify code. -2005-04-04 Jay Belanger +2007-08-08 Vinicius Jose Latorre - * calc/calc-aent.el (math-read-replacement-list): Add subscripts. - (math-read-subscripts): New variable. - (math-read-preprocess-string): Process subscripts. + * ps-print.el (ps-default-fg, ps-default-bg): Docstring fix. + (ps-begin-job): Use ps-default-fg and ps-default-bg only when + ps-print-color-p is neither nil nor black-white. Reported by Christian + Schlauer . -2005-04-04 Luc Teirlinck +2007-08-08 Andreas Schwab - * comint.el (comint-prompt-read-only): Doc fix. + * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): Check for + self-insert-command, not self-insert. - * dired.el (dired-copy-filename-as-kill): Make `-' arg behave like - `-1'. Doc fix. +2007-08-08 Glenn Morris -2005-04-04 Carsten Dominik + * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string): Make second + argument optional, for backwards compatibility, and only highlight + args when present. Fix symbol name typo (doc/args). - * textmodes/org.el (org-insert-mode-line-in-empty-file): - Change default value to nil. + * help-mode.el (help-make-xrefs): Search for symbol constituents, + rather than just `-'. -2005-04-04 Lute Kamstra +2007-08-07 Jay Belanger - * autorevert.el (auto-revert-mode): Specify :group. - * battery.el (display-battery-mode): Specify :group. - * diff-mode.el (diff-minor-mode): Specify :group. - * font-core.el (font-lock-mode): Specify :group. - * hl-line.el (hl-line-mode): Specify :group. - * iimage.el (iimage): New customization group. - (iimage-mode): Specify :group. - * longlines.el (longlines-mode): Specify :group. - * master.el: Don't require easy-mmode. - (master): New customization group. - (master-mode): Specify :group. - * msb.el (msb-mode): Specify :group. - * reveal.el (reveal-mode): Specify :group. - * simple.el (next-error-follow-minor-mode): Specify :group. - * smerge-mode.el (smerge-mode): Specify :group. - * emacs-lisp/eldoc.el (eldoc-mode): Specify :group. - * emulation/cua-base.el (cua-mode): Specify :group. - * international/encoded-kb.el (encoded-kbd-mode): Specify :group. - * language/thai-util.el (thai-auto-composition-mode) - (thai-word-mode): Specify :group. - * mail/supercite.el (sc-minor-mode): Specify :group. - * progmodes/cwarn.el (cwarn-mode): Specify :group. - * progmodes/flymake.el (flymake-mode): Specify :group. - * progmodes/glasses.el (glasses-mode): Specify :group. - * progmodes/hideif.el (hide-ifdef-mode): Specify :group. - * textmodes/enriched.el (enriched-mode): Specify :group. - * textmodes/refill.el (refill-mode): Specify :group. + * calc/calc-units.el (calc-convert-temperature): + Use `/' to create fractions. - * add-log.el (change-log-font-lock-keywords): Names in - parenthesized lists can contain spaces. +2007-08-07 Michael Albinus -2005-04-04 Thien-Thi Nguyen + * net/tramp.el (tramp-wrong-passwd-regexp): Make the regexp more + global matching. + (tramp-handle-shell-command): Handle OUTPUT-BUFFER and + ERROR-BUFFER more robust. Display output. + (tramp-file-name-handler): Add a connection property when we found + a foreign file name handler. This allows backends like ftp to + profit also from usr/host name completion based on connection + cache. + (tramp-send-command-and-read): Search for trash after the regexp + until eol only. In XEmacs, there is a problem with \n. - * startup.el (fancy-splash-text): Shorten default text of - "Emacs Tutorial" line. Also, if the current language env - indicates an available tutorial file other than TUTORIAL, - extract its title and append it to the line in parentheses. - (fancy-splash-insert): If arg is a thunk, funcall it. + * net/tramp-cache.el (top): Read persistent connection history + when cache is empty. -2005-04-04 Jay Belanger +2007-08-07 Nic Ferrier (tiny change) - * calc.el (calc-language-alist): Add tags to customization type. + * net/tramp.el (tramp-handle-process-file): Fix bug inserting + resulting output. -2005-04-03 Luc Teirlinck +2007-08-07 Sam Steingold - * xt-mouse.el (xterm-mouse-mode): Add explicit Custom group, mouse. - Doc fix. + * progmodes/compile.el (compilation-start): Pass nil as startfile + to comint-exec. -2005-04-03 Marcelo Toledo +2007-08-07 Chong Yidong - * add-log.el (change-log-font-lock-keywords): The manual - describing a Change Log entry, says: (...) "Aside from these - header lines, every line in the change log starts with a space or - a tab.". The font-lock was not highlighting lines started with - spaces, added support for it. + * longlines.el (longlines-decoded): New variable. + (longlines-mode): Avoid encoding or decoding the buffer twice. -2005-04-03 Roland Winkler +2007-08-07 Martin Rudalics - * textmodes/bibtex.el (bibtex-url): Use format to generate the url. - (bibtex-generate-url-list): Update docstring accordingly. Put the - complex example in the docstring. - (bibtex-font-lock-url): Use pop. + * format.el (format-insert-file): Make sure that at most one undo + entry is recorded for the insertion. Inhibit point-motion and + modification hooks around call to insert-file-contents. -2005-04-03 Stefan Monnier +2007-08-07 Stefan Monnier - * progmodes/tcl.el (tcl-set-font-lock-keywords): Use new \_< ops. + * vc.el (vc-annotate): Select temp-buffer before running vc-exec-after. + Select the buffer's window before moving point. - * pcvs.el (cvs-checkout): Prompt for cvsroot as well. +2007-08-07 Richard Stallman -2005-04-03 Glenn Morris + * term.el (term): Remove parent group `unix'. - * filesets.el (filesets-set-default): Doc fix. + * simple.el (default-indent-new-line): New function. + It calls comment-line-break-function if there are comments. + (do-auto-fill): Use that. -2005-04-03 Lute Kamstra +2007-08-07 Sean O'Rourke - * generic.el (define-generic-mode): Add argument to specify - keywords for defcustom. - (default-generic-mode): Specify :group. + * complete.el (PC-lisp-complete-symbol): Complete symbol around point. + (PC-do-completion): Add "acronym completion" for symbols and + filenames, so e.g. "mvbl" expands to "make-variable-buffer-local". - * generic-x.el: Specify :group for all generic modes. +2007-08-06 Sam Steingold - * desktop.el (desktop-no-desktop-file-hook) - (desktop-after-read-hook): Doc fix. + * mouse.el (mouse-buffer-menu): Pass mode-name through + format-mode-line because it may be a list, + e.g., (sgml-xml-mode "XML" "SGML"), and not a string. -2005-04-02 Luc Teirlinck +2007-08-06 Vinicius Jose Latorre - * simple.el (visible-mode): Use explicit :group keyword. - This changes the group of `visible-mode-hook' from paren-blinking - to editing-basics. + * printing.el (pr-update-menus): Docstring fix. -2005-04-02 Sergey Poznyakoff (tiny change) +2007-08-06 Jason Rumney - * mail/rmail.el (rmail-parse-url): Bugfix. Parse traditional - mailbox specifications as well as URLs. - (rmail-insert-inbox-text): Remove unused conditional branches. + * menu-bar.el (menu-bar-vc-filter): Use vc-call-backend. -2005-04-01 Jay Belanger + * vc-hooks.el (vc-call): Add doc string. - * calc/calc-graph.el (calc-gnuplot-name, calc-gnuplot-plot-command) - (calc-gnuplot-print-command): Move definitions to calc.el. +2007-08-06 Michael Albinus - * calc/calc-embed.el (calc-embedded-announce-formula) - (calc-embedded-open-formula, calc-embedded-close-formula) - (calc-embedded-open-word, calc-embedded-close-word) - (calc-embedded-open-plain, calc-embedded-close-plain) - (calc-embedded-open-new-formula, calc-embedded-close-new-formula) - (calc-embedded-open-mode, calc-embedded-close-mode): - Move definitions to calc.el. + * net/ange-ftp.el (ange-ftp-hook-function): Catch also errors in + process-filter. - * calc/calc.el (calc-settings-file, calc-language-alist): - Make customizable. - (calc-embedded-announce-formula, calc-embedded-open-formula) - (calc-embedded-close-formula, calc-embedded-open-word) - (calc-embedded-close-word, calc-embedded-open-plain) - (calc-embedded-close-plain, calc-embedded-open-new-formula) - (calc-embedded-close-new-formula, calc-embedded-open-mode) - (calc-embedded-close-mode, calc-gnuplot-name) - (calc-gnuplot-plot-command, calc-gnuplot-print-command): Move here - from other files and make customizable. +2007-08-06 Kenichi Handa -2005-04-01 Stefan Monnier + * international/quail.el: Wrap (require 'help-mode) by + eval-when-compile. + (quail-help-init): New function. + (quail-help): Call quail-help-init. + (quail-store-decode-map-key): Change it to a function. - * pcvs.el (cvs-temp-buffer, cvs-mode-kill-process, cvs-buffer-check): - Use buffer-live-p. - (cvs-mode-run): Don't call cvs-update-header here. - (cvs-run-process): Call cvs-update-header. - Use process properties for cvs-postprocess and cvs-buffer so that - the sentinel can behave better if the temp buffer is killed. - Use a pipe rather than a tty, to better handle unexpected prompts. - (cvs-sentinel): Rewrite. Call cvs-update-header. +2007-08-05 Jason Rumney -2005-04-01 Andre Spiegel + * vc.el (vc-rollback): Add norevert argument back. + (vc-revert-buffer): Add back as obsolete alias. - * vc-hooks.el (vc-workfile-unchanged-p): Disable mtime check when - we go via Tramp or Ange-FTP. Suggested by Kai Grossjohann. +2007-08-05 Peter Povinec (tiny change) -2005-03-31 Stefan Monnier + * term.el: Honor term-default-fg-color and term-default-bg-color + settings when modifying term-current-face. + (term-default-fg-color, term-default-bg-color): Initialize from + default term-current-face. + (term-mode, term-reset-terminal): Set term-current-face with + term-default-fg-color and term-default-bg-color. + (term-handle-colors-array): term-current-face has term-default-fg-color + and term-default-bg-color after reset escape sequence. + (term-handle-colors-array): Set term-current-color with + term-default-fg/bg-color instead of ansi-term-color-vector when the + index (term-ansi-current-color or term-ansi-current-bg-color) is zero. - * generic.el (define-generic-mode): Add indentation rule. +2007-08-05 Jay Belanger -2005-03-31 Luc Teirlinck + * calc/calc-nlfit.el (math-nlfit-curve): Remove unnecessary variables. + (math-nlfit-givens): Let bind free variables. - * files.el (mode-require-final-newline): Make Custom correctly - report a nil value and allow to set it to nil via Custom. - Doc fix. +2007-08-05 Vinicius Jose Latorre -2005-04-01 Kenichi Handa + * printing.el: Require lpr and ps-print when loading printing package. + Reported by Glenn Morris . - * international/characters.el: Enable the correct case setting for - dotless-i and dotted-I. +2007-08-05 Michael Albinus -2005-04-01 Kim F. Storm + * files.el (set-auto-mode): Handle also remote files wrt + `auto-mode-alist'. - * ido.el (ido-file-internal): Fall back to non-ido command if - initial directory is on slow ftp (or tramp) host. +2007-08-04 Jay Belanger -2005-03-31 Richard M. Stallman + * calc/calcalg3.el (calc-curve-fit): Add support for nonlinear + curves and plotting. - * emacs-lisp/autoload.el (make-autoload): - Handle define-global-minor-mode. + * calc/calc-nlfit.el: New file. - * emacs-lisp/easy-mmode.el (define-global-minor-mode): - Rename from easy-mmode-define-global-mode. - (easy-mmode-define-global-mode): Alias for define-global-minor-mode. +2007-08-04 Glenn Morris - * progmodes/scheme.el (scheme-mode-syntax-table): - Update syntax of | and # for two-character comment syntax. + * autorevert.el (auto-revert-tail-mode): auto-revert-tail-pos is + zero, not nil, when the library is first loaded. Check for a file + that has been modified on disk. -2005-03-31 Lute Kamstra + * progmodes/cperl-mode.el (cperl-compilation-error-regexp-alist): + Remove duplicate defvar preventing initialization. + (cperl-mode): Fix compilation-error-regexp-alist-alist setting. - * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode) - (define-minor-mode): Call custom-current-group at load-time. +2007-08-03 Stefan Monnier - * generic.el (define-generic-mode): Add debug declaration. - Add defcustom for the mode hook. - (generic-mode-internal): Use run-mode-hooks. + * diff-mode.el (diff-font-lock-keywords): Fix up false positives. + (diff-beginning-of-file): Adjust to the fact that diff-file-header-re + may match up to 4 lines. + (diff-beginning-of-file-and-junk): Rewrite. -2005-03-31 Kim F. Storm +2007-08-03 Vinicius Jose Latorre - * mouse.el (mouse-1-click-follows-link): Increase to 450 ms. - (mouse-fixup-help-message): New defun called by show_help_echo - to fixup mouse-2 prefix in help messages when applicable. + * printing.el: Evaluate require only during compilation. + (pr-version): New version 6.9.1. + (deactivate-mark): Replace (defvar VAR nil) by (defvar VAR). + (pr-global-menubar): Fix code. - * tooltip.el (tooltip-show-help-function): Don't fixup message here. +2007-08-03 Dan Nicolaescu -2005-03-31 Kenichi Handa + * term.el (term-erase-in-display): Fix case when point is not at + the beginning of the line. - * language/thai-word.el (thai-find-word-ends): Pay attention to - the case that we reach the end of buffer. +2007-08-03 Jay Belanger - * textmodes/fill.el (fill-text-properties-at): New function. - (fill-newline): Use fill-text-properties-at instead of - text-properties-at. + * calc/calc-ext.el (math-get-value, math-get-sdev) + (math-contains-sdev): New functions. -2005-03-31 Olive Lin (tiny change) + * calc/calc-graph.el (calc-graph-format-data) + (calc-graph-add-curve): Check for error forms. + (calc-graph-set-styles): Add option for error forms. - * textmodes/tex-mode.el (tex-start-tex): Use shell-quote-argument, - not comint-quote-filename. +2007-08-03 Miles Bader -2005-03-31 Thien-Thi Nguyen + * vc-hooks.el (vc-handled-backends): Change capitalization of VC + backend names for new backends to `Git', `Hg', and `Bzr'. + * vc-hg.el (vc-hg-dired-state-info): Use `Hg' as VC backend name, + not `HG'. + * vc-git.el (vc-git-dired-state-info): Use `Git' as VC backend + name, not `GIT'. + * vc-bzr.el (vc-bzr-dir-state, vc-bzr-dired-state-info) + (vc-bzr-unload-hook): Use `Bzr' as VC backend name, not `BZR'. - * help-fns.el (help-with-tutorial): Revert last change. +2007-08-03 Richard Stallman -2005-03-31 Kim F. Storm + * mail/rmailsum.el (rmail-make-summary-line): Find end of msg number + to update deleted flag. - * emulation/cua-base.el (cua-scroll-down): Add CUA property. + * cus-edit.el (customize-apropos, customize-apropos-options) + (customize-apropos-faces, customize-apropos-groups): Improve prompt. -2005-03-30 Paul Eggert + * menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item. - * calendar/cal-china.el: Update reference to "Calendrical - Calculations" book; there's a new edition. - * calendar/cal-coptic.el: Likewise. - * calendar/cal-french.el: Likewise. - * calendar/cal-hebrew.el: Likewise. - * calendar/cal-islam.el: Likewise. - * calendar/cal-iso.el: Likewise. - * calendar/cal-julian.el: Likewise. - * calendar/cal-mayan.el: Likewise. - * calendar/cal-persia.el: Likewise. - * calendar/calendar.el: Likewise. - * calendar/holidays.el: Likewise. - * calendar/lunar.el: Likewise. - * calendar/solar.el: Likewise. + * startup.el (fancy-splash-head, startup-echo-area-message): + Change message text. - * calendar/calendar.el (calendar-day-abbrev-array): Remove trailing - white space from doc string. + * emulation/tpu-edt.el (next-line-internal): Setting deleted. + All callers use line-move. -2005-03-30 Jay Belanger + * progmodes/compile.el (compilation-find-buffer): Return current + buffer immediately if suitable. + (compile, compilation-buffer-name, compilation-start): Doc fixes. - * calc/calc-help.el (calc-full-help): Remove email address. +2007-08-03 Daiki Ueno -2005-03-30 Thien-Thi Nguyen + * faces.el (face-normalize-spec): New function. + (frame-set-background-mode): Normalize face-spec before calling + face-spec-match-p. - * help-fns.el (help-with-tutorial): Delete title line. +2007-08-03 Stefan Monnier -2005-03-30 Glenn Morris + * server.el (server-window): Add switch-to-buffer-other-frame option. - * calendar/cal-x.el (calendar-one-frame-setup) - (calendar-only-one-frame-setup, calendar-two-frame-setup): Use t - rather than `symbol' for set-window-dedicated-p. +2007-08-03 Glenn Morris - * calendar/appt.el (appt-buffer-name): Make it a constant. - (appt-add): Doc fix. + * cus-edit.el (customize-apropos): Make the error message indicate + what kind of thing the user was trying to customize. - * filesets.el (filesets-menu-path, filesets-menu-before) - (filesets-menu-in-menu): Doc fix. Now valid in GNU Emacs. - (filesets-menu-cache-file): Use directory ~/.emacs.d. - (filesets-add-submenu): Delete and use add-submenu instead. + * net/telnet.el (telnet-mode): Set comint-use-prompt-regexp to t. -2005-03-30 Carsten Dominik + * progmodes/fortran.el (fortran-font-lock-syntactic-keywords): + Fix off-by-one error in previous change. - * textmodes/org.el (org-agenda-phases-of-moon) - (org-agenda-sunrise-sunset, org-agenda-convert-date) - (org-agenda-goto-calendar): New commands. - (org-diary-default-entry): New function. - (org-get-entries-from-diary): Better parsing of diary entries. - (org-agenda-check-no-diary): New function. - ("diary-lib"): Advice to function `add-to-diary-list', to allow - linking to diary entries. - (org-agenda-execute-calendar-command): New function. - (org-agenda): Improve visible section in window. - Use `org-fit-agenda-window'. - (org-fit-agenda-window): New option. - (org-move-subtree-down): Better handling of empty lines - at end of subtree. - (org-cycle): Numeric prefix is interpreted now as show-subtree N - levels up. - (org-fontify-done-headline): New option. - (org-headline-done-face): New face. - (org-set-font-lock-defaults): Use `org-headline-done-face'. - (org-table-copy-down): Rename from `org-table-copy-from-above'. - When current field is non-empty, it is copied to next row. - (org-table-copy-from-above): Fix bug which made it - impossible to copy fields containing only a single non-white character. +2007-08-03 Drew Adams -2005-03-30 Kim F. Storm + * emacs-lisp/pp.el (pp-eval-expression): Add progress message. + Make buffer writable. - * kmacro.el (kmacro-end-macro): Isearch may store this command - into the macro -- so ignore it when executing keyboard macro. +2007-08-01 Jay Belanger -2005-03-30 Nick Roberts + * calc/calc-math.el (math-sqrt-raw, math-sin-raw-2) + (math-cos-raw-2, math-arctan-raw, math-ln-raw): + Use native Emacs functions, when appropriate. - * tooltip.el (tooltip-gud-display): Use gud-overlay-arrow-position. +2007-08-01 Dan Nicolaescu + Stefan Monnier -2005-03-29 Kenichi Handa + * vc.el: Document new VC operation `extra-menu'. - * language/thai.el ("Thai"): Set setup-function and exit-function - for Thai language environment. + * vc-hooks.el (vc-default-extra-menu): New function. - * language/thai-util.el: Require thai-word. - (thai-word-mode-map): New variable. - (thai-word-mode): New minor mode. - (setup-thai-language-environment-internal): New function. - (exit-thai-language-environment-internal): New function. + * menu-bar.el (menu-bar-vc-filter): New function. + (menu-bar-tools-menu): Use it as a filter. - * language/thai-word.el (thai-word-table): Declare it by defvar, - use dolist to initialize it. - (thai-kill-word, thai-backward-kill-word, thai-transpose-words) - (thai-fill-find-break-point): New functions. +2007-08-01 Eric Hanchrow (tiny change) -2005-03-29 Richard M. Stallman + * ibuf-ext.el (ibuffer-mark-old-buffers): Docstring fix. - * simple.el (idle-update-delay): Move definition up. - (set-mark): Doc fix. +2007-08-01 Glenn Morris + + * progmodes/fortran.el: Remove leading `*' from all defcustom doc + strings. + (fortran-tab-mode-default): Remove needless autoload. + (fortran-tab-mode-string): Add help-echo and mouse properties, and + mark as risky. + (fortran-line-length): New buffer-local variable, safe if integer. + (fortran-if-start-re, fortran-end-prog-re1, fortran-end-prog-re): + Change from variables to constants. + (fortran-font-lock-syntactic-keywords): Delete as a variable, + replace with a new function definition. + (fortran-mode): Use fortran-line-length, and + fortran-font-lock-syntactic-keywords as a function. Add a + hack-local-variables-hook function. + (fortran-line-length, fortran-hack-local-variables): New functions. + (fortran-window-create, fortran-strip-sequence-nos): Doc fix. + Use fortran-line-length rather than 72. + (fortran-window-create-momentarily): Doc fix. + +2007-07-31 Drew Adams (tiny change) -2005-03-29 Chong Yidong + * cus-edit.el (custom-group-value-create, custom-goto-parent): + Fix parent groups link. - * longlines.el: New file. +2007-07-31 Paul Pogonyshev - * simple.el (buffer-substring-filters): New variable. - (filter-buffer-substring): New function. - (kill-region, copy-region-as-kill): Use it. + * progmodes/python.el (python-current-defun): Adjust to never fall + into infinite loop. - * register.el (copy-to-register, append-to-register) - (prepend-to-register): Use filter-buffer-substring. +2007-07-31 Stefan Monnier -2005-03-30 Nick Roberts + * pcvs.el (cvs-vc-command-advice): Handle the new fileset case. - * progmodes/gud.el (gdb): (Re)-initialize gud-filter-pending-text. - (gud-filter-pending-text): Move in front of gdb. - (gud-overlay-arrow-position): New variable. - (gud-sentinel, gud-display-line): Use it in place of - overlay-arrow-position. +2007-07-29 Kimit Yada (tiny change) -2005-03-29 Glenn Morris + * emacs-lisp/copyright.el (copyright-update-year, copyright-update) + (copyright-fix-years, copyright): Correctly handle the case where + copyright-limit is nil. - * progmodes/fortran.el (fortran-if-indent): Doc fix. - (fortran-font-lock-keywords-2): Add "where", "elsewhere". - (fortran-font-lock-keywords-4): New variable. - (fortran-blocks-re, fortran-end-block-re) - (fortran-start-block-re): New constants, for hideshow. - (hs-special-modes-alist): Add a Fortran entry. - (fortran-mode-map): Bind fortran-end-of-block, - fortran-beginning-of-block to \M-\C-n, \M-\C-p. - (fortran-mode): Doc fix. Add fortran-font-lock-keywords-4. - (fortran-looking-at-if-then, fortran-end-of-block) - (fortran-beginning-of-block): New functions, for hideshow. +2007-07-28 Konstantin Novitsky (tiny change) - * progmodes/f90.el (f90-end-block-re, f90-start-block-re): - Doc fix. Tweak regexp. - (f90-beginning-of-block): Push mark first. + * progmodes/python.el (run-python): Fix path separator under w32. -2005-03-29 Jay Belanger +2007-07-30 Richard Stallman - * calc/calc.el: Update copyright date. - (calc-version): Increase to 2.1. - (calc-version-date): Remove. + * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table): + Treat non-break space as whitespace in Lisp. - * calc/calc-help.el: Update copyright date. - (calc-full-help): Remove reference to calc-version-date. - Update copyright date. +2007-07-30 Stefan Monnier -2005-03-29 Stefan Monnier + * vc.el (vc-dired-hook): Use inhibit-read-only. - * vc.el (vc-do-command): Use a pipe for async processes, so password - prompts don't show up at places where the user can't reply. + * progmodes/compile.el (compilation-forget-errors): + Reset compilation-auto-jump-to-next. -2005-03-29 Olive Lin (tiny change) +2007-07-30 Michael Olson - * textmodes/tex-mode.el (tex-send-command): shell-quote-argument - on the file name we pass to the inferior shell. + * cus-edit.el (custom-group-save): Fix void function definition + error. Thanks to Zhang Wei for the report. -2005-03-29 Stephan Stahl (tiny change) + * ps-print.el: Check in trivial changes to the autoloads section + caused by the build process. These autoloads really ought to be + placed in a separate file, methinks. - * progmodes/which-func.el (which-function): Be robust in the face of an - imenu--make-index-alist failure. +2007-07-29 Stefan Monnier -2005-03-29 Stefan Monnier + * calendar/calendar.el (calendar-mode): Make sure + displayed-(month|year) are set. + (calendar-basic-setup): Display buffer before adjusting window sizes. + (generate-calendar-window): Use inhibit-read-only. Simplify. + Generate buffer and set displayed-month and displayed-year before + calling update-calendar-mode-line. - * reveal.el (reveal-mode-map): Don't override C-a and C-e. +2007-07-29 Michael Albinus - * progmodes/python.el (python-preoutput-filter): Fix last change. + * net/tramp.el: + * net/tramp-uu.el: + * net/trampver.el: Use utf-8 encoding with coding cookie. -2005-03-29 Lute Kamstra + * net/tramp-cache.el: + * net/tramp-fish.el: + * net/tramp-ftp.el: + * net/tramp-gw.el: + * net/tramp-smb.el: Remove coding cookie. - * emacs-lisp/debug.el (debug-on-entry): Handle autoloaded - functions and compiled macros. - (debug-convert-byte-code): Handle macros too. - (debug-on-entry-1): Don't signal an error when trying to clear a - function that is not set to debug on entry. + * net/tramp.el (tramp-handle-verify-visited-file-modtime): + Flush buffer file-name's file property. + (tramp-handle-file-remote-p): The first parameter is FILENAME. -2005-03-29 Jay Belanger + * net/trampver.el: Update release number. - * calc/calc-lang.el: Add functions to math-function-table - properties of tex and math. +2007-07-29 Juri Linkov -2005-03-29 Kenichi Handa + * dired.el (dired-mode-map): Bind C-x C-q to dired-toggle-read-only. + Filter out menu item "Edit File Names" `wdired-change-to-wdired-mode' + when major-mode is not dired-mode. + (dired-toggle-read-only): New function. + (dired-recursive-deletes): Remove obsolete comments about old + default value. + (dired-do-flagged-delete, dired-do-delete): Refill docstring. - * ps-mule.el (ps-mule-plot-string): Translate characters by - ps-print-translation-table. - (ps-mule-begin-job): Call find-charset-region/string with - ps-print-translation-table. - (ps-mule-printable-p): Return t if CHARSET is ascii or latin-iso8859-1. + * wdired.el (wdired-exit): New function. + (wdired-mode-map): Bind C-x C-q to wdired-exit. - * ps-print.el (ps-print-translation-table): New variable. - (ps-plot-region): Translate characters by ps-print-translation-table. +2007-07-28 Stefan Monnier -2005-03-29 Juri Linkov + * cus-edit.el (customize-read-group): New fun. + (customize-group-other-window, customize-face-other-window): + Prompt before delegating to customize-(group|face). + Bind pop-up-windows rather than use the other-window argument. + (customize-group, customize-face): Prompt from the interactive spec. + Remove args `prompt-for-group' and `other-window'. - * simple.el (next-error-highlight-timer): New variable. + * emacs-lisp/advice.el (ad-interactive-form): Re-introduce. + (ad-body-forms, ad-advised-interactive-form): Revert this part of + last change. - * progmodes/compile.el (compilation-goto-locus): - Use `next-error-highlight-timer' instead of `sit-for'. +2007-07-28 Masatake YAMATO -2005-03-28 Stefan Monnier + * vc.el (vc-dired-mode): Add a menu for VC related operation. + Use backend name as the menu label. Suggested by David Kastrup. - * mail/supercite.el (sc-mail-field): Use assoc-string. - (sc-get-address): Simplify regexps. +2007-07-28 Alan Mackenzie - * files.el (minibuffer-with-setup-hook): New macro. - (find-file-read-args): Use it to avoid let-binding - minibuffer-with-setup-hook (which breaks turning on/off - file-name-shadow-mode while in the prompt). + Fix problem with modes derived from CC Mode: + * progmodes/cc-mode.el (c-make-emacs-variables-local): Move this + macro to cc-langs. + (c-init-language-vars-for): Remove call to above macro. + * progmodes/cc-langs.el (c-make-emacs-variables-local): Macro has + been moved to here. + (c-make-init-lang-vars-fun): Call c-make-emacs-variables-local. - * complete.el (PC-read-include-file-name-internal): - Use test-completion. +2007-07-28 Eli Zaretskii -2005-03-28 Luc Teirlinck + * net/trampver.el: Fix the `coding' cookie. - * font-lock.el: Bind `font-lock-fontify-block' to M-o M-o. +2007-07-28 Dan Nicolaescu -2005-03-28 Stefan Monnier + * vc-git.el (vc-git-print-log): Support both the old single file + interface and the new one. - * window.el (window-buffer-height): Use count-screen-lines. +2007-07-28 Nick Roberts - * progmodes/python.el (python-preoutput-leftover): New var. - (python-preoutput-filter): Use it. - (python-send-receive): Loop until all the result has been received. + * bindings.el (mode-line-remote): Use updated %@ construct. -2005-03-28 Juri Linkov +2007-07-27 Stefan Monnier - * dired.el (dired-mode-map): Add ellipsis to "Compare directories". + * calendar/cal-bahai.el (calendar-bahai-month-name-array) + (calendar-bahai-epoch, calendar-bahai-leap-year-p) + (calendar-bahai-leap-base, calendar-bahai-prompt-for-date) + (diary-list-bahai-entries, diary-bahai-mark-entries) + (calendar-bahai-mark-date-pattern, diary-insert-bahai-entry) + (diary-bahai-insert-monthly-entry, diary-bahai-insert-yearly-entry): + New names to clean up namespace. + (list-bahai-diary-entries, mark-bahai-diary-entries) + (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry) + (insert-yearly-bahai-diary-entry, mark-bahai-calendar-date-pattern): + Add compatibility aliases. - * menu-bar.el (menu-bar-file-menu): Remove ellipsis from - "Recover Crashed Session". - (menu-bar-search-menu): Add ellipsis to "Search tagged files". - (menu-bar-replace-menu): Add ellipsis to "Replace in tagged files". - (menu-bar-goto-menu): Add ellipsis to "Set Tags File Name". - (menu-bar-goto-menu): Add ellipsis to "Tags Apropos". - (menu-bar-options-menu): Add ellipsis to "Set Font/Fontset". - (menu-bar-manuals-menu): Add ellipsis to "Find Command in Manual". - (menu-bar-manuals-menu): Add ellipsis to "Find Key in Manual". - (menu-bar-help-menu): Remove ellipsis from "Find Emacs Packages". + * calendar/appt.el: Don't wrap defvar within eval-when-compile. - * ediff-hook.el (menu-bar-ediff-misc-menu, ediff-misc-menu): - Remove ellipsis from "Ediff Manual", "Customize Ediff", "List - Ediff Sessions", "Toggle use of separate control buffer frame", - "Use separate frame for Ediff control buffer". + * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right) + (calendar-scroll-left-three-months) + (calendar-scroll-right-three-months): Clean up namespace. + (scroll-calendar-left, scroll-calendar-right) + (scroll-calendar-left-three-months) + (scroll-calendar-right-three-months): Add compatibility aliases. - * bookmark.el (menu-bar-bookmark-map): Add ellipsis to "Jump to - Bookmark", "Set Bookmark", "Insert Contents", "Insert Location", - "Rename Bookmark", "Delete Bookmark". + * calendar/cal-move.el (calendar-scroll-left, calendar-scroll-right): + Behave like mouse-scroll-calendar-* when used from the mouse. - * info.el (Info-mode-menu): Remove ellipsis from "Index". - Add ellipsis to "Lookup a String", "Lookup a string in all indices". - Add `:active Info-index-alternatives' to "Next Matching Item". + * calendar/cal-menu.el (cal-menu-scroll-menu) + (cal-menu-global-mouse-menu): + * calendar/calendar.el (calendar-mode-map): + Use new calendar-scroll-* names. + (mouse-scroll-calendar-left, mouse-scroll-calendar-right): + Remove. Use calendar-scroll-* directly instead. + +2007-07-26 Stefan Monnier + + * emacs-lisp/advice.el (ad-interactive-p, ad-interactive-form): Remove. + (ad-body-forms, ad-advised-interactive-form, ad-make-cache-id) + (ad-make-advised-definition, ad-cache-id-verification-code): + Use commandp and interactive-form instead. + +2007-07-26 Dan Nicolaescu + + * vc-git.el: Relicense to GPLv3 or later. + (vc-directory-exclusion-list, vc-handled-backends): Remove. + + * vc-hooks.el (vc-handled-backends): Add GIT. + + * vc.el (vc-directory-exclusion-list): Add .git. + +2007-07-26 Alexandre Julliard + + * vc-git.el (vc-git-revision-table) + (vc-git-revision-completion-table): New functions. + +2007-07-26 Vinicius Jose Latorre + + * progmodes/ebnf-abn.el (ebnf-abn-skip-comment): + * progmodes/ebnf-bnf.el (ebnf-bnf-skip-comment): + * progmodes/ebnf-dtd.el (ebnf-dtd-skip-comment): + * progmodes/ebnf-ebx.el (ebnf-ebx-skip-comment): + * progmodes/ebnf-iso.el (ebnf-iso-skip-comment): + * progmodes/ebnf-yac.el (ebnf-yac-skip-comment): New version. + New command actions for EPS header and EPS footer. + + * progmodes/ebnf2ps.el: New command actions for EPS header and EPS + footer. Fix some problems with one-or-more, zero-or-more and + alternative constructions generation. Some log messages + implementation. Doc fix. + (ebnf-version): New version 4.4. + (ebnf-eps-header-font, ebnf-eps-header, ebnf-eps-footer-font) + (ebnf-eps-footer, ebnf-log): New options. + (ebnf-find-style, ebnf-eps-header-footer, ebnf-eps-header) + (ebnf-eps-footer, ebnf-eps-string, ebnf-eps-header-footer-comment) + (ebnf-eps-header-footer-p, ebnf-eps-header-comment) + (ebnf-eps-footer-comment, ebnf-eps-header-footer-file) + (ebnf-eps-header-footer-set, ebnf-log-header, ebnf-log): New funs. + (ebnf-style-custom-list, ebnf-style-database): Put new values. + (ebnf-print-directory, ebnf-print-file, ebnf-print-buffer) + (ebnf-print-region, ebnf-spool-directory, ebnf-spool-file) + (ebnf-spool-buffer, ebnf-spool-region, ebnf-eps-directory) + (ebnf-eps-file, ebnf-eps-buffer, ebnf-eps-region) + (ebnf-syntax-directory, ebnf-syntax-file, ebnf-syntax-buffer) + (ebnf-syntax-region, ebnf-parse-and-sort, ebnf-begin-job) + (ebnf-dimensions, ebnf-production-dimension, ebnf-terminal-dimension) + (ebnf-non-terminal-dimension, ebnf-special-dimension) + (ebnf-terminal-dimension1, ebnf-repeat-dimension) + (ebnf-except-dimension, ebnf-alternative-dimension) + (ebnf-optional-dimension, ebnf-one-or-more-dimension) + (ebnf-zero-or-more-dimension, ebnf-sequence-dimension): Insert log + message fun. + (ebnf-setup, ebnf-generate-one-or-more, ebnf-generate-zero-or-more) + (ebnf-begin-job, ebnf-begin-file, ebnf-eps-finish-and-write) + (ebnf-insert-ebnf-prologue, ebnf-production-dimension) + (ebnf-terminal-dimension1, ebnf-alternative-dimension) + (ebnf-one-or-more-dimension, ebnf-zero-or-more-dimension) + (ebnf-eps-add-context, ebnf-eps-add-production): Fix code. + (ebnf-eps-filename, ebnf-trim-right): Replace `?\s' by `?\ ' to keep + compatibility with Emacs 20 & 21. + (ebnf-eps-header-comment, ebnf-eps-footer-comment) + (ebnf-eps-file-alist, ebnf-basic-width-extra) + (ebnf-basic-empty-height): New vars. + (ebnf-prologue): Fix PostScript code. + (ebnf-make-empty, ebnf-make-terminal1, ebnf-make-or-more1) + (ebnf-make-production, ebnf-make-alternative, ebnf-make-optional) + (ebnf-make-except, ebnf-make-repeat, ebnf-make-sequence) + (ebnf-make-dup-sequence, ebnf-token-alternative): Add comments. - * wdired.el (wdired-change-to-wdired-mode): - Mention `wdired-abort-changes' key in the initial message. +2007-07-25 Glenn Morris - * international/mule.el (auto-coding-alist): Associate non-ascii - image filename extensions with `no-conversion'. + * Relicense all FSF files to GPLv3 or later. -2005-03-27 Stefan Monnier + * COPYING: Switch to GPLv3. - * international/iso-acc.el: - * obsolete/iso-acc.el: Move iso-acc to the obsolete subdir. +2007-07-25 Stefan Monnier -2005-03-26 Luc Teirlinck + * pcvs.el (cvs-temp-buffer): Undo last ill-conceived change. + Replace it with another one which disables undo before calling + erase-buffer and then turns it back on if needed. - * textmodes/sgml-mode.el (html-mode): Doc update. +2007-07-24 Vinicius Jose Latorre - * autorevert.el (auto-revert-check-vc-info): Minor doc fix. + * ps-print.el: Problem with foreground and background color when + printing a buffer with and without faces. Reported by Christian + Schlauer . + (ps-print-version): New version 6.7.5. + (ps-default-fg): Change default value to nil, so black color is used + when a face does not specify a foreground color. + (ps-default-bg): Change default value to nil, so white color is used + for background color. + (ps-begin-job): Fix code. -2005-03-26 Dan Nicolaescu +2007-07-24 Dan Nicolaescu - * term.el (term-move-columns): Fix face after extending a line. - (term-insert-spaces): Likewise. - (term-reset-terminal): Fix off by one error. + * vc-hg.el (vc-hg-revision-completion-table): Temporarily comment out. -2005-03-26 Eli Zaretskii +2007-07-24 Glenn Morris - * international/mule.el (auto-coding-alist): Add .xpi files. + * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary) + (cal-tex-rules, cal-tex-buffer, cal-tex-24) + (cal-tex-cursor-month-landscape, cal-tex-cursor-month) + (cal-tex-cursor-week, cal-tex-cursor-week2) + (cal-tex-cursor-week-iso, cal-tex-week-hours) + (cal-tex-cursor-week-monday, cal-tex-weekly4-box) + (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week) + (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix. - * files.el (auto-mode-alist): Add .xpi files. +2007-07-25 Stefan Monnier -2005-03-26 Jure Cuhalev (tiny change) + * calendar/calendar.el (calendar-mode-map): Move initialization + into declaration. Add menu bindings (used to be done in cal-menu). + (calendar-mode): Don't add an activate-menubar-hook. + + * calendar/cal-menu.el: Break dependency on calendar.el (i.e. do not + modify calendar-mode-map), use easy-menu, and make sure that C-h k + can be used on the menu entries. + (cal-menu-holiday-window-suffix, cal-menu-set-date-title): New funs. + (cal-menu-moon-menu, cal-menu-diary-menu, cal-menu-holidays-menu) + (cal-menu-goto-menu, cal-menu-scroll-menu): New consts. + (cal-menu-context-mouse-menu, cal-menu-global-mouse-menu): New menus. + (calendar-flatten, cal-menu-update): Remove. + (calendar-mouse-insert-hebrew-diary-entry) + (calendar-mouse-insert-islamic-diary-entry) + (calendar-mouse-insert-bahai-diary-entry): + Remove (fold into cal-menu-diary-menu). + (calendar-mouse-2-date-menu, calendar-mouse-cal-tex-menu) + (cal-tex-mouse-filofax): Remove (fold into cal-menu-context-mouse-menu). + (calendar-mouse-3-map): Remove (turn into cal-menu-global-mouse-menu). + (calendar-mouse-view-diary-entries): Minor simplifications. + (calendar-event-to-date): Use with-current-buffer. - * textmodes/ispell.el (ispell-dictionary-alist-6): Add slovenian. +2007-07-25 Nick Roberts -2005-03-26 Eli Zaretskii + * add-log.el (change-log-redate): Remove (not needed anymore and + doesn't appear to work). - * term/bobcat.el: Don't use keyswap.el, since it is now obsolete. +2007-07-25 Stefan Monnier -2005-03-26 Glenn Morris + * frame.el: Use mapc and dolist instead of mapcar where possible. + (close-display-connection): New command. - * calendar/cal-menu.el (top level): Delete local C-down-mouse-3 - binding. Suggested by Stephan Stahl . +2007-07-25 Alexandre Julliard - * calendar/cal-move.el (calendar-beginning-of-year): Move the - cursor to Jan 1 when needed. - (calendar-end-of-year): Fix -/+ typo. - Reported by Chong Yidong . + * vc-git.el (vc-git-log-view-mode): Port to the multi-file vc interface. + (vc-git-create-snapshot, vc-git-retrieve-snapshot): New functions. -2005-03-26 Stefan Monnier +2007-07-25 Vinicius Jose Latorre - * progmodes/flymake.el (flymake-mode): Add autoload cookie. + * ps-print.el (ps-multibyte-buffer): Docstring fix. - * emacs-lisp/debug.el (debugger-record-expression): Add a missing - format to `message'. Inspired by Deepak Goel . + * ps-mule.el: Doc fix. + (ps-multibyte-buffer, ps-mule-font-info-database-default) + (ps-mule-external-libraries, ps-mule-begin-job): Docstring fix. -2005-03-25 Richard M. Stallman +2007-07-25 Glenn Morris - * filesets.el (filesets-init): Add autoload. + * calendar/cal-tex.el (cal-tex-which-days, cal-tex-holidays) + (cal-tex-diary, cal-tex-daily-string, cal-tex-daily-start) + (cal-tex-daily-end, cal-tex-hook) + (cal-tex-cal-one-month, cal-tex-cal-multi-month) + (cal-tex-year, cal-tex-cursor-week, cal-tex-cursor-week2) + (cal-tex-cursor-week-iso, cal-tex-week-hours) + (cal-tex-cursor-week-monday, cal-tex-weekly4-box) + (cal-tex-cursor-day, cal-tex-insert-preamble): Doc fix. + (cal-tex-day-prefix, cal-tex-day-name-format) + (cal-tex-cal-one-month, cal-tex-cal-multi-month, cal-tex-myday) + (cal-tex-caldate, cal-tex-LaTeX-hourbox) + (cal-tex-LaTeX-subst-list): Change from variables to constants. + (cal-tex-preamble, cal-tex-arg, cal-tex-nl): Simplify with `format'. + (cal-tex-cursor-filofax-year, cal-tex-weekly4-box): Use \textbf, + etc, rather than \bf. + (cal-tex-mini-calendar): Fix typos in previous change. + (cal-tex-latexify-list): Remove inner let binding. + (cal-tex-end-document, cal-tex-banner): Use multi-line + cal-tex-comment. + (cal-tex-comment): Handle embedded newlines. + (cal-tex-LaTeXify-string): Use substring-no-properties. + +2007-07-25 Joakim Verona (tiny change) - * mail/mailalias.el (mail-directory): Doc fix. + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Add support for the Maden build tool. -2005-03-25 Frederik Fouvry +2007-07-25 William Xu (tiny change) - * mail/mailalias.el (mail-directory-process): Do nothing if - mail-directory-process is an atom. - (mail-get-names): Ignore mail-directory-names if it is an atom. - (mail-directory-process defvar): Doc fix. - (mail-names): Doc fix. + * net/webjump.el (webjump-url-encode): Fix for non-ASCII characters. -2005-03-25 Johan Bockg,Ae(Brd (tiny change) +2007-07-24 Stefan Monnier - * textmodes/flyspell.el (mail-mode-flyspell-verify): Fix regexp syntax. + * pcvs.el (cvs-temp-buffer): Disable undo in temp buffers. -2005-03-26 Kenichi Handa +2007-07-24 Dan Nicolaescu - * international/mule-util.el (detect-coding-with-priority): - Call update-coding-systems-internal before detect-coding-region. + * dired.el (dired-mode-map): Bind wdired-change-to-wdired-mode to + C-x C-q. -2005-03-26 Nick Roberts + * vc-git.el (vc-git-print-log): Fix previous change. - * progmodes/gdb-ui.el (gdb-breakpoints-mode-map) - (gdb-frames-mode-map): Add follow-link property. +2007-07-24 Stefan Monnier -2005-03-25 Jay Belanger + * window.el (save-selected-window): Minor optimization. + (bw-adjust-window): If operation failed, try with a smaller delta. + (window-fixed-size-p): New function. + (window-area-factor): New var. + (balance-windows-area): New command. - * calc/calcalg2.el (calc-solve-for): Use "Variable(s)" to prompt - for variables. + * ps-mule.el (ps-multibyte-buffer): Docstring fixes. + (ps-mule-encode-ethiopic): Make it clear that it's always defined. + (ps-mule-prepare-font-for-components, ps-mule-encode-header-string) + (ps-mule-encode-bit, ps-mule-encode-ucs2): Use dotimes. + (ps-mule-begin-job): Use dolist. -2005-03-25 Juri Linkov +2007-07-24 Michael Albinus - * image-mode.el: Optimize image filename extension regexps in - autoload cookies. Associate .x[bp]m with `image-mode-maybe' - in `auto-mode-alist'. - (image-mode): Add `image-toggle-display-text' to local hook - `change-major-mode-hook'. Display the image as an image by - default. Set `cursor-type' and `truncate-lines' if the image - is already displayed. Take into account the current mode (image - or text) in message. - (image-minor-mode): New minor mode. - (image-mode-maybe, image-toggle-display-text): New functions. - (image-toggle-display): Use called-interactively-p. - Let-bind `inhibit-read-only' to t. + * subr.el (start-file-process-shell-command) + (process-file-shell-command): New defuns. - * image-mode.el (image-minor-mode): Set `cursor-type' and - `truncate-lines' if the image is already displayed. Add turning - image-minor-mode off to `change-major-mode-hook'. Add message. - Call `image-toggle-display-text' after turning image-minor-mode off. + * progmodes/compile.el (compilation-start): + Apply `start-file-process-shell-command'. -2005-03-25 Stefan Monnier +2007-07-24 Alexandre Julliard - * international/mule-cmds.el (set-locale-environment): For Mac OS X's - Terminal.app, use utf-8. - (set-display-table-and-terminal-coding-system): Add coding-system arg. - (set-locale-environment): Use it. + * vc-git.el (vc-git-checkout, vc-directory-exclusion-list): Fix typos. - * term/xterm.el: Undo last change, better done in mule-cmds.el. +2007-07-24 Alan Mackenzie - * emacs-lisp/rx.el (rx-constituents): Add symbol-start and symbol-end. + * emacs-lisp/bytecomp.el (byte-compile-from-buffer): + Initialise byte-compile-unresolved-functions before rather than + after a compilation. + (byte-compile-unresolved-functions): Amplify doc string. - * progmodes/python.el (python-close-block-statement-p) - (python-outdent-p, python-current-defun): Use symbol-end. +2007-07-24 Glenn Morris -2005-03-25 Karl Chen + * startup.el (normal-splash-screen): Use `emacs-copyright'. - * files.el (save-some-buffers): Doc fix. + * calendar/cal-tex.el (cal-tex-holidays, cal-tex-diary) + (cal-tex-rules, cal-tex-buffer, cal-tex-24) + (cal-tex-cursor-month-landscape, cal-tex-cursor-month) + (cal-tex-cursor-week, cal-tex-cursor-week2) + (cal-tex-cursor-week-iso, cal-tex-week-hours) + (cal-tex-cursor-week-monday, cal-tex-weekly4-box) + (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week) + (cal-tex-cursor-filofax-daily, cal-tex-daily-page): Doc fix. -2005-03-25 Werner Lemberg + * calendar/cal-tex.el: Remove leading `*' from defcustom docs. + (cal-tex-daily-string, cal-tex-daily-start, cal-tex-daily-end) + (cal-tex-day-name-format, cal-tex-cal-one-month) + (cal-tex-cal-multi-month, cal-tex-myday, cal-tex-preamble) + (cal-tex-comment, cal-tex-nl, cal-tex-cmd, cal-tex-e-parbox) + (cal-tex-mini-calendar, cal-tex-em): Doc fix. + (cal-tex-list-holidays, cal-tex-cursor-year) + (cal-tex-cursor-year-landscape, cal-tex-year) + (cal-tex-cursor-filofax-year, cal-tex-cursor-month-landscape) + (cal-tex-cursor-month, cal-tex-insert-days) + (cal-tex-insert-day-names, cal-tex-insert-blank-days) + (cal-tex-first-blank-p, cal-tex-cursor-week) + (cal-tex-cursor-week2, cal-tex-cursor-week-iso) + (cal-tex-week-hours, cal-tex-cursor-week-monday) + (cal-tex-weekly4-box, cal-tex-cursor-filofax-2week) + (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily) + (cal-tex-cursor-day, cal-tex-daily-page, cal-tex-mini-calendar) + (cal-tex-latexify-list, cal-tex-previous-month) + (cal-tex-next-month, cal-tex-insert-preamble): General tidy-up and + modernization, including using dotimes rather than + calendar-for-loop. + (cal-tex-LaTeX-subst-list): Remove `@'. + (cal-tex-em, cal-tex-bf, cal-tex-Huge-bf, cal-tex-large-bf): + Use \textit and \textbf rather than \em and \it. + + * calendar/cal-bahai.el (list-bahai-diary-entries) + * calendar/cal-hebrew.el (list-hebrew-diary-entries) + * calendar/cal-islam.el (list-islamic-diary-entries) + * calendar/calendar.el (generate-calendar, generate-calendar-month) + * calendar/diary-lib.el (diary-list-entries) + (mark-calendar-date-pattern): Use `dotimes' rather than + `calendar-for-loop'. + + * calendar/calendar.el (calendar-for-loop): Doc fix. - * complete.el, thumbs.el: Replace `legal' with `valid'. - * calendar/calendar.el: Replace `legal' with `valid'. - * emacs-lisp/advice.el: Replace `legal' with `valid'. - * mail/supercite.el: Replace `legal' with `valid'. - * progmodes/cperl-mode.el, progmodes/idlw-shell.el - * progmodes/idlwave.el, progmodes/vhdl-mode.el: - Replace `legal' with `valid'. - * textmodes/reftex-vars.el, textmodes/reftex.el: - Replace `legal' with `valid'. +2007-07-23 Stefan Monnier -2005-03-25 Werner Lemberg + * ses.el (ses-cleanup): Prevent Emacs from spuriously checking if the + underlying file is uptodate. - * calc/calc-forms.el, calc/calc-sel.el - * midnight.el, vc-cvs.el - * emacs-lisp/cl-macs.el - * emulation/vip.el - * eshell/esh-io.el, eshell/esh-var.el - * mail/supercite.el - * progmodes/ebnf-abn.el, progmodes/ebnf-bnf.el - * progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-iso.el - * progmodes/ebnf-yac.el, progmodes/ebnf2ps.el, progmodes/idlwave.el - * progmodes/sh-script.el, progmodes/xscheme.el - * textmodes/refbib.el, textmodes/refer.el, textmodes/reftex-cite.el - * textmodes/reftex-index.el, textmodes/reftex-parse.el - * textmodes/reftex-ref.el, textmodes/reftex-vars.el - * textmodes/reftex.el, textmodes/org.el: - Replace `illegal' with `invalid'. +2007-07-23 Christopher J. Madsen -2005-03-24 Stefan Monnier + * replace.el (perform-replace): Use isearch-no-upper-case-p. - * progmodes/flymake.el (flymake-get-file-name-mode-and-masks) - (flymake-find-buildfile, flymake-find-possible-master-files) - (flymake-check-include, flymake-parse-line): Replace loops over the - length of lists, by loops over lists, to remove silly O(n,A2(B) behavior. +2007-07-23 Stefan Monnier - * progmodes/flymake.el (flymake-ensure-ends-with-slash): Remove. - Substitute file-name-as-directory in the rest of the file. - (flymake-get-common-file-prefix): Rewrite, using compare-strings. - (flymake-replace-region): Remove unused arg `buffer'. - (flymake-check-patch-master-file-buffer): Update calls to it. - (flymake-add-err-info): Remove unused var `count'. - (flymake-mode): Use define-minor-mode. + * vc-hooks.el (vc-mode-line-map): New const. + (vc-mode-line): Use it. - * progmodes/flymake.el: Use with-current-buffer. - (flymake-float-time, flymake-get-temp-dir, flymake-line-end-position) - flymake-replace-regexp-in-string, flymake-line-beginning-position) - (flymake-popup-menu, flymake-current-row, flymake-selected-frame): - Avoid testing for `xemacs'. - (flymake-nop): Move. - (flymake-region-has-flymake-overlays): Return the computed value. - (flymake-reformat-err-line-patterns-from-compile-el): Use dolist. - Remove unused var `endline'. - (flymake-get-line-count): Remove unused function. - (flymake-display-err-menu-for-current-line): Unused var move-mouse-pos. - - * emulation/vi.el: - * generic.el: - * hilit-chg.el (global-highlight-changes): - * hi-lock.el (hi-lock-mode): - * follow.el: find-file-hooks -> find-file-hook. - - * comint.el (comint-insert-input): Obey mouse-yank-at-point. - -2005-03-24 Juri Linkov - - * dired.el (dired-mode-map): Add menu item "Compare directories" - for dired-compare-directories. - - * dired-aux.el (dired-compare-directories): Add autoload cookie. - Doc fix. Replace `read-file-name' with `read-directory-name'. - -2005-03-24 Stefan Monnier - - * term/xterm.el: If running in Terminal.app set coding-system to utf-8. +2007-07-23 Alexandre Julliard -2005-03-24 Jay Belanger + * vc-git.el (vc-git-delete-file, vc-git-rename-file) + (vc-git-unregister): New functions. + (vc-git-find-version): Use the result of ls-files as a parameter + for cat-file. - * calc/calc-embed.el (calc-embedded-mode-change): Save all - relevant mode settings in calc-embedded-original-modes when modes - are permanently changed. +2007-07-23 Michael Albinus -2005-03-24 Stefan Monnier + * net/tramp.el (tramp-perl-file-attributes) + (tramp-perl-directory-files-and-attributes) + (tramp-handle-file-attributes-with-stat) + (tramp-handle-directory-files-and-attributes-with-stat) + (tramp-convert-file-attributes): Handle huge file sizes. - * autoinsert.el: find-file-hooks -> find-file-hook. +2007-07-23 Juri Linkov -2005-03-24 Lute Kamstra + * isearch.el (isearch-message-function): New variable. + (isearch-update, isearch-search): Use it. - * generic.el (generic-font-lock-defaults): Make it obsolete. - (generic-font-lock-keywords): New variable to replace - generic-font-lock-defaults. - (generic-mode-set-font-lock): Delete it. - (generic-mode-internal): Don't call generic-mode-set-font-lock. - (generic-bracket-support): Add docstring. + * simple.el (goto-history-element): New function created from + next-history-element. + (next-history-element): Most code moved to goto-history-element. + Call goto-history-element with (- minibuffer-history-position n). + (previous-history-element): Call goto-history-element with (+ + minibuffer-history-position n). + (minibuffer-setup-hook): Add minibuffer-history-isearch-setup. + (minibuffer-history-isearch-message-overlay): New buffer-local variable. + (minibuffer-history-isearch-setup, minibuffer-history-isearch-end) + (minibuffer-history-isearch-search, minibuffer-history-isearch-message) + (minibuffer-history-isearch-wrap, minibuffer-history-isearch-push-state) + (minibuffer-history-isearch-pop-state): New functions. - * generic-x.el: Rename generic-font-lock-defaults to - generic-font-lock-keywords throughout. - (mailagent-rules-setup-function): Delete it. - (mailagent-rules-generic-mode): Use anonymous function instead. - (show-tabs-generic-mode-font-lock-defaults-1) - (show-tabs-generic-mode-font-lock-defaults-2): Make them constants. - Quote faces. - (show-tabs-tab-face, show-tabs-space-face): Specify background, - not foreground. +2007-07-23 Thien-Thi Nguyen - * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): - Recognize define-generic-mode. + * vc-hooks.el (vc-stay-local-p): Fix bug: Avoid remove-if-not. + Also, if FILE is a list, return non-nil if any of its elements + should stay local. Update docstring. -2005-03-23 Stefan Monnier +2007-07-23 Stefan Monnier - * icomplete.el (icomplete-simple-completing-p): Don't turn on icomplete - if there's no completion table. + * emacs-lisp/copyright.el (copyright-update-year): Fix 2007-05-25 + change by reverting a small part. -2005-03-23 Miles Bader +2007-07-23 Richard Stallman - * progmodes/gdb-ui.el (breakpoint-enabled, breakpoint-disabled): - Remove tty-specific variants, as they're no longer needed. + * progmodes/octave-inf.el (inferior-octave-prompt): Accept .exe. -2005-03-23 Lute Kamstra +2007-07-23 Dan Nicolaescu - * generic-x.el: Code cleanup: make args constant whenever possible. - (installshield-statement-keyword-list) - (installshield-system-functions-list) - (installshield-system-variables-list, installshield-types-list) - (installshield-funarg-constants-list): Make them constants. + * vc-git.el (vc-git-checkin): Delete unused parameter and the code + handling it. Use vc-git-command. + (vc-git-find-version, vc-git-diff-tree): New functions. + (vc-git-revert): Use vc-git-command. + (vc-git--run-command): Delete. - * generic.el (generic-make-keywords-list): Add autoload cookie. +2007-07-23 Alexandre Julliard - * calendar/time-date.el: Add comment on time value formats. - Don't require parse-time. - (with-decoded-time-value): New macro. - (encode-time-value): New function. - (time-to-seconds, time-less-p, time-subtract, time-add): Use them. - (days-to-time): Return a valid time value when arg is huge. - (time-since): Use time-subtract. - (time-to-number-of-days): Use time-to-seconds. + * vc-git.el (vc-git-workfile-unchanged-p): Update comment. -2005-03-23 David Ponce +2007-07-20 Kenichi Handa - * recentf.el (recentf-keep): New option. - (recentf-menu-action): Default to `find-file'. - (recentf-keep-non-readable-files-flag) - (recentf-keep-non-readable-files-p) - (recentf-file-readable-p, recentf-find-file) - (recentf-cleanup-remote): Remove. - (recentf-include-p): More robust. - (recentf-keep-p): New function. - (recentf-remove-if-non-kept): Rename from - `recentf-remove-if-non-readable'. Use `recentf-keep-p'. - All callers updated. - (recentf-menu-items-for-commands): Fix help string. - (recentf-track-closed-file): Update. Doc fix. - (recentf-cleanup): Update. Count removed files. Doc fix. + * international/utf-8.el (utf-8-post-read-conversion): + Temporarily bind utf-8-compose-scripts to nil while running + *-compose-region functions. -2005-03-23 Kim F. Storm +2007-07-23 Dan Nicolaescu - * progmodes/gdb-ui.el (breakpoint-enabled, breakpoint-disabled): - Don't inherit from fringe face (now happens automatically). + * vc-git.el: Update status. + (vc-directory-exclusion-list): Use eval-after-load. -2005-03-22 Kim F. Storm +2007-07-22 Nick Roberts - * tooltip.el (tooltip-show-help-function): Ignore negative mouse - position values. + * bindings.el (mode-line-remote): New variable. + (help-echo): Add to default values of mode-line-format. -2005-03-22 Stefan Monnier + * files.el: Mark mode-line-remote as risky. - * menu-bar.el (showhide-date-time): Remove. - (menu-bar-showhide-menu): Use menu-bar-make-mm-toggle. - (menu-bar-make-mm-toggle): Simplify. +2007-07-22 Juri Linkov -2005-03-22 JUAN-LEON Lahoz Garcia + * isearch.el (isearch-edit-string): Save old point and + isearch-other-end to old-point and old-other-end before reading + the search string from minibuffer. After exiting minibuffer set + point to old-other-end if point and the search direction is the + same as before reading the search string. + (isearch-del-char): Don't set isearch-yank-flag to t. Put point + to isearch-other-end. Instead of isearch-search-and-update call + three functions isearch-search, isearch-push-state and isearch-update. - * progmodes/perl-mode.el (perl-font-lock-keywords-2): - Accept qualified variable and function names. +2007-07-22 Dan Nicolaescu -2005-03-22 Thien-Thi Nguyen + * vc-git.el (vc-git-register, vc-git-checkin): Use vc-git-command, + deal with multiple file arguments. + (vc-git-print-log): Deal with multiple file arguments. - * bindings.el (completion-ignored-extensions): - Remove ".lis" for `vax-vms'. +2007-07-22 Stefan Monnier -2005-03-22 Andreas Schwab + * diff-mode.el (diff-refine-ignore-spaces-hunk): Rename from + diff-refine-hunk. Adjust users. + (diff-unified-hunk-p, diff-splittable-p): New functions. + (diff-mode-menu): Use it to disable Split when it doesn't work. - * generic-x.el: Revert last change. - * ldefs-boot.el: Update. +2007-07-22 Dan Nicolaescu -2005-03-22 Jay Belanger + * diff-mode.el (diff-mode-menu): New entries. - * calc/calc-embed.el (calc-embedded-original-modes): New variable. - (calc-embedded-save-original-modes) - (calc-embedded-restore-original-modes): New functions. - (calc-do-embedded): Save original modes when entering embedded mode - and restore when leaving embedded mode. - (calc-embedded-modes-change): Change the value of - calc-embedded-original-modes to reflect permanent changes. +2007-07-22 Stefan Monnier -2005-03-22 Lute Kamstra + * diff-mode.el (diff-unified->context): Use the new `apply' undo entry + if applicable, so as to save undo-log space. - * generic-x.el: Require generic again. + * diff-mode.el (diff-find-file-name): Add arg `batch'. -2005-03-22 Miles Bader + * diff-mode.el (diff-beginning-of-file-and-junk): New function. + (diff-file-kill): Use it. + (diff-beginning-of-hunk): Add arg `try-harder' using it. + (diff-restrict-view, diff-find-source-location, diff-refine-hunk): + Use it so they find the hunk even when we're in the file header. - * progmodes/gdb-ui.el (breakpoint-enabled, breakpoint-disabled): - Tweak details to look good on both ttys and bitmap displays, light - or dark background, etc. +2007-07-22 Dan Nicolaescu -2005-03-21 Kim F. Storm + * vc-git.el (vc-git-revision-granularity, vc-git-root) + (vc-git-command, vc-git-dir-state, vc-git-dired-state-info) + (vc-git-create-repo): New functions. + (vc-git-registered): New autoloaded function definition. + (vc-git-registered): Use vc-git-root. + (vc-git-responsible-p): New defalias. + (vc-git-annotate-extract-revision-at-line): Uncomment. + (vc-git-print-log): Add the file name to the log. + (vc-git-log-view-mode): New derived mode. + (vc-git-diff, vc-git-annotate-command): Use vc-git-command. - * tooltip.el (tooltip-show-help-function): Check car and cdr of - mouse position. +2007-07-22 Michael Albinus -2005-03-21 Stefan Monnier + * progmodes/grep.el (grep-compute-defaults): Keep default values. - * icomplete.el: Don't forcibly turn on the mode upon load. - (icomplete-mode): Use define-minor-mode. - (icomplete-eoinput): Default to nil. - (icomplete-minibuffer-setup): Remove autoload. - (icomplete-tidy): Simplify. - (icomplete-exhibit): Use buffer-undo-list to determine if we're still - in the initial state or if the user has modified the field. - Fix handling of icomplete-max-delay-chars. - Remove code that handles the oddball case where - minibuffer-completion-table is an integer. - Wrap icomplete-completions in while-no-input in case building - completions takes more time than expected. - (icomplete-completions): Simplify. +2007-07-22 Ralf Angeli -2005-03-21 Richard M. Stallman + * textmodes/reftex.el (reftex-access-parse-file): Create parse + file in a way that does not interfere with recentf mode. + (reftex-access-parse-file): Do not risk destroying an existing + buffer. - * jka-compr.el (jka-compr-really-do-compress): - Make variable buffer-local. +2007-07-22 Alexandre Julliard - * image-mode.el: Handle .xpm files too. - (image-toggle-display): Preserve modification flag. + * vc-git.el: New file. - * help.el (where-is): Don't mention aliases with no key bindings. +2007-07-22 Stefan Monnier -2005-03-21 Lute Kamstra + * textmodes/tex-mode.el (tex-font-script-display): Change default. - * generic.el: Fix commentary section. Don't require cl for - compilation. - (generic-mode-list): Add autoload cookie. - (generic-use-find-file-hook, generic-lines-to-scan) - (generic-find-file-regexp, generic-ignore-files-regexp) - (generic-mode, generic-mode-find-file-hook) - (generic-mode-ini-file-find-file-hook): Fix docstrings. - (define-generic-mode): Make it a defmacro. Fix docstring. - (generic-mode-internal): Code cleanup. Add autoload cookie. - (generic-mode-set-comments): Code cleanup. - * generic-x.el: Don't prevent compilation. Don't require generic. - Follow coding conventions. Minor code cleanup. - (etc-fstab-generic-mode): Add some keywords. - * font-lock.el (lisp-font-lock-keywords-1): Font lock a call to - define-generic-mode like a function declaration. +2007-07-22 Dan Nicolaescu -2005-03-21 Jay Belanger + * vc-cvs.el (vc-cvs-mode-line-string): Add support for tooltips + for branches and new files. - * calc/calc-embed.el (calc-do-embedded): Put data on stack before - changing modes. + * vc-hooks.el (vc-default-mode-line-string): Move mouse-face and + local-map handling ... + (vc-mode-line): ... here. Improve handling of help-echo. -2005-03-21 Sam Steingold + * vc.el (mode-line-string): Document help-echo usage. - * add-log.el (add-log-current-defun): Support more C DEFUN forms. +2007-07-22 Michael Albinus -2005-03-21 Thien-Thi Nguyen + Sync with Tramp 2.1.10. - * progmodes/dcl-mode.el (dcl-font-lock-keywords): - Add underscore to "f$ lexicals" regexp. + * net/tramp.el (tramp-get-ls-command): Fix typo. -2005-03-20 Juri Linkov + * net/trampver.el: Update release number. - * subr.el (progress-reporter-do-update): When `min-value' is equal - to `max-value', set `percentage' to 0 and prevent division by zero. +2007-07-22 Jan Dj,Ad(Brv -2005-03-20 Michael Albinus + * startup.el (command-line-x-option-alist): Use x-handle-no-bitmap-icon. - Sync with Tramp 2.0.48. + * term/x-win.el (x-handle-no-bitmap-icon): New function. - * net/tramp.el (all): Change all addresses to .gnu.org. - (tramp-append-tramp-buffers): New defun. - (tramp-bug): Apply `tramp-append-tramp-buffers' as post-hook. - Catch `dont-send' signal. - (tramp-set-auto-save-file-modes): Set always permissions, because - there might be an old auto-saved file belonging to another - original file. This could be a security threat. Reported by - Kjetil Kjernsmo . - Check for Emacs 21.3.50 removed. +2007-07-22 Martin Rudalics - * net/tramp-smb.el (all): Remove debug construct for - `with-parsed-tramp-file-name'. - (tramp-smb-prompt): Prompt can contain spaces inside directory names. - (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file): - No error message if DIRECTORY or FILENAME doesn't exist. - (tramp-smb-open-connection): Check existence of - `tramp-smb-program'. + * add-log.el (change-log-fill-parenthesized-list): New function. + (change-log-indent): Call change-log-fill-parenthesized-list. + (change-log-fill-paragraph): Bind fill-indent-according-to-mode to t. + Have lines with leading asterisk start a paragraph. -2005-03-20 Stefan Monnier +2007-07-21 Jay Belanger - * progmodes/perl-mode.el (perl-font-lock-syntactic-face-function): - Properly handle the case where the `m' or `s' command's argument is not - yet terminated. - (perl-indent-new-calculate): New function. - (perl-indent-line): Use it. + * calc/calc-math.el (math-emacs-precision) + (math-largest-emacs-expt, math-smallest-emacs-expt): + New variables. + (math-use-emacs-fn): New function. + (math-exp-raw): Evaluate with `math-use-emacs-fn', when + appropriate. -2005-03-20 Miles Bader +2007-07-21 Thien-Thi Nguyen - * progmodes/gdb-ui.el (gdb-put-breakpoint-icon): Use breakpoint faces - in text-mode too. Change to new face names. - (breakpoint-enabled): Rename from `breakpoint-enabled-bitmap-face'. - Add `:weight bold' attribute. - (breakpoint-disabled): Rename from `breakpoint-disabled-bitmap-face'. + * image-dired.el (image-dired-sane-db-file): New func. + (image-dired-write-tags, image-dired-remove-tag) + (image-dired-list-tags, image-dired-write-comments) + (image-dired-get-comment, image-dired-mark-tagged-files) + (image-dired-create-gallery-lists): Call new func. + Reported by Dieter Wilhelm . -2005-03-19 Juri Linkov +2007-07-21 Dan Nicolaescu - * files.el (auto-mode-alist): Add comment. Optimize jar/ear/war. + * vc-hg.el (vc-hg-dir-state): Fix loop. + (vc-hg-print-log): Fix expected return value for vc-hg-command. + (vc-hg-next-version, vc-hg-delete-file, vc-hg-rename-file) + (vc-hg-register, vc-hg-create-repo, vc-hg-checkin) + (vc-hg-revert): Likewise. + (vc-hg-revision-table, vc-hg-revision-completion-table): New + functions. - * international/mule.el (auto-coding-alist): Sync with - `auto-mode-alist' by adding upper case archive file extensions - and adding ear/war to jar extension. +2007-07-20 Stefan Monnier -2005-03-19 David Casperson (tiny change) + * add-log.el (change-log-resolve-conflict): Don't lose data if the + merge fails. - * textmodes/tex-mode.el (tex-view): If tex-shell process is not - running, restart it. +2007-07-20 Dan Nicolaescu -2005-03-19 Yoichi NAKAYAMA (tiny changes) + * progmodes/compile.el (compilation-auto-jump-to-first-error): + Add group and version. - * finder.el (finder-current-item): Throw an error on an empty line. +2007-07-20 Stefan Monnier - * man.el (Man-follow-manual-reference): If current-word returns - nil, use "". + * add-log.el (add-log-file-name): Use file-relative-name. + (add-change-log-entry): Delay reading + add-log-(full-name|mailing-address) to after we've switched to the + ChangeLog buffer so we get the right value. + (add-change-log-entry, add-log-current-defun, change-log-merge): + Use derived-mode-p rather than checking major-mode directly. -2005-03-19 Matt Hodges + * pcvs.el (cvs-mode-add-change-log-entry-other-window): Use a directory + name for buffer-file-name if it refers to a directory. - * simple.el (goto-line): Doc fix. + * vc-arch.el (vc-arch-diff): Fix last change. -2005-03-19 Aaron S. Hawley + * progmodes/compile.el (compilation-start): Remember the original + directory in a buffer-local compilation-directory. + (compile): Set the global value of compilation-directory. + (recompile): Use compilation-directory even in the compilation buffer. - * files.el (save-buffer): Doc fix. +2007-07-20 Dan Nicolaescu -2005-03-19 Michael R. Mauger + * vc-hg.el (vc-hg-diff): Use vc-hg-command. - * recentf.el (recentf-cleanup-remote): New variable. - (recentf-cleanup): Use it to conditionally check availability of - remote files. +2007-07-20 Vinicius Jose Latorre -2005-03-19 Joe Edmonds (tiny change) + * ps-print.el: Problem with foreground and background color when + printing a buffer with and without faces. Reported by Christian + Schlauer . + (ps-print-version): New version 6.7.5. + (ps-default-fg): Change default value to nil, so black color is used + when a face does not specify a foreground color. + (ps-default-bg): Change default value to nil, so white color is used + for background color. + (ps-begin-job): Fix code. - * emacs-lisp/lisp-mode.el (lisp-mode-variables): Recognize `@' in - function names. +2007-07-20 Eli Zaretskii -2005-03-19 Eli Zaretskii + * makefile.w32-in (install-lisp-SH): Don't create subdirectories + in $(INSTALL_DIR)/lisp/ if they already exist. - * language/thai-word.el: New file. +2007-07-20 Dhruva Krishnamurthy (tiny change) -2005-03-19 JUAN-LEON Lahoz Garcia + * makefile.w32-in (install-lisp-CMD): Don't create subdirectories + in $(INSTALL_DIR)/lisp/ if they already exist. - * files.el (backup-buffer): If the file's directory is not - writable, use copy instead of move to backup the file. +2007-07-20 Stefan Monnier -2005-03-19 Eli Zaretskii + * progmodes/vera-mode.el (vera-re-search-forward) + (vera-re-search-backward): Remove use of store-match-data. + (vera-mode-map): Move initialization into declaration. - * obsolete/keyswap.el: Moved to obsolete/ from term/. + * progmodes/flymake.el (flymake-buildfile-dirs): Remove. + (flymake-find-buildfile): Use locate-dominating-file. -2005-03-19 Vinicius Jose Latorre + * vc.el (vc-delistify): Use mapconcat. + (vc-do-command): Minor simplification. + (vc-expand-dirs): Use push. - * ps-print.el (ps-generate-string-list, ps-generate-header-line): - Use functionp instead of symbolp and fboundp. Reported by Drkm - . - (ps-print-version): New version 6.6.6. + * vc-mcvs.el (vc-mcvs-create-repo): + * vc-cvs.el (vc-cvs-create-repo): Remove. -2005-03-18 Tak Ota + * vc-hooks.el (vc-find-root): Fix case where `file' is the current + directory and the root as well. - * textmodes/table.el (table--line-column-position): New idiom. - (table--row-column-insertion-point-p): New function to test - validity of row and column insertion operation at a location. - (table-global-menu, table-cell-menu): Use above functions for - deterministic test operation. - (table--editable-cell-p): Behave in deterministic fashion. +2007-07-20 Dan Nicolaescu -2005-03-18 Juri Linkov + * vc-hooks.el (vc-default-workfile-unchanged-p): Pass a list + instead of a file. - * isearch.el (isearch-lazy-highlight-new-loop): - Make arguments beg and end optional. - (isearch-update): Remove optional arguments nil from - isearch-lazy-highlight-new-loop. - (isearch-lazy-highlight-search): Let-bind case-fold-search to - isearch-lazy-highlight-case-fold-search instead of - isearch-case-fold-search, and let-bind isearch-regexp to - isearch-lazy-highlight-regexp. - Use isearch-lazy-highlight-last-string instead of isearch-string. + * vc-hg.el (vc-hg-print-log): Deal with multiple file arguments. + (vc-hg-registered): Replace if with when. + (vc-hg-state): Deal with nonexistent files and handle removed files. + (vc-hg-dir-state, vc-hg-dired-state-info): New functions. + (vc-hg-checkout): Re-enable. + (vc-hg-create-repo): Fix typos. + (vc-hg-print-log): Fix for multiple files. + (vc-hg-workfile-unchanged-p): New function. - * replace.el (perform-replace): Remove bindings of global - variables isearch-string, isearch-regexp, isearch-case-fold-search. - Add three new arguments to `replace-highlight'. - (replace-highlight): Add arguments string, regexp, case-fold. - Let-bind isearch-string, isearch-regexp, isearch-case-fold-search - to allow isearch-lazy-highlight-new-loop to use these values - to set corresponding isearch-lazy-highlight-* internal - variables whose values lazy highlighting will use regardless of - changes to global variables isearch-string, isearch-regexp, - isearch-case-fold-search during lazy highlighting loop. - (replace-dehighlight): Rename `isearch-lazy-highlight-cleanup' - to `lazy-highlight-cleanup'. + * vc.el: Fix typo. + (vc-print-log): Fix call to print-log. + (vc-default-comment-history): Likewise. + (vc-directory-exclusion-list): Add .hg and .bzr. + (vc-diff-internal): Pass a list instead of a file. - * textmodes/ispell.el (ispell-lazy-highlight): New defcustom. - (ispell-highlight-face): Set default face to `isearch' when - lazy highlighting is enabled. - (ispell-highlight-spelling-error-overlay): Set `ispell-overlay' - priority to 1. Add lazy highlighting. - (ispell-highlight-spelling-error-xemacs): Remove obsolete arg - from `isearch-dehighlight'. + * vc-mcvs.el (vc-mcvs-create-repo): Fix typos. -2005-03-18 David Ponce + * vc-bzr.el (vc-bzr-create-repo): New function. - * files.el (hack-local-variables): Do a case-insensitive search - for End. +2007-07-19 Stefan Monnier -2005-03-18 Juri Linkov + * vc-hooks.el (vc-find-root): Walk up the tree to find an existing + `file' from which to start the search. - * isearch.el (lazy-highlight-cleanup) : Rename from - `isearch-lazy-highlight-cleanup', add alias to old name and - declare obsolete. Add release numbers to other obsolete vars. - (isearch-done, isearch-lazy-highlight-new-loop): - Rename `isearch-lazy-highlight-cleanup' to `lazy-highlight-cleanup'. - (lazy-highlight-cleanup) : Doc fix. - (isearch-lazy-highlight-update): Rename obsolete - `isearch-lazy-highlight-face' to `lazy-highlight-face'. +2007-07-19 Eric S. Raymond -2005-03-18 Kenichi Handa + * vc-cvs.el (vc-cvs-checkin, vc-cvs-diff): Finish transition from + having a single file argument to having a list of files as the + first argument. - * language/thai-util.el: Fix categorization of Thai characters in - thai-category-table. - (thai-composition-pattern): Adjust it for the above change. - (thai-self-insert-command, thai-compose-syllable): New functions. - (thai-compose-region): Use thai-compose-syllable. - (thai-compose-string): Likewise. - (thai-composition-function): Likewise. - (thai-auto-composition): New function. - (thai-auto-composition-mode): New minor mode. +2007-07-19 Stefan Monnier - * language/thai.el: Fix patterns to be registered in - composition-function-table. + * files.el (locate-dominating-file): New function. - * international/quail.el (quail-input-method): Locally bind - inhibit-modification-hooks to t. +2007-07-18 Michael Albinus -2005-03-17 Richard M. Stallman + * progmodes/grep.el (grep-host-defaults-alist): New defvar. + (grep-compute-defaults): Use it. - * progmodes/perl-mode.el (perl-mode-hook): Defvar it. - (perl-mode): Use run-mode-hooks. +2007-07-18 Stefan Monnier - * mail/rmail.el (rmail-movemail-program, rmail-pop-password) - (rmail-pop-password-required, rmail-remote-password): Doc fixes. - (rmail-preserve-inbox, rmail-probe, rmail-autodetect): Doc fix. + * uniquify.el: Docstring fixes. - * mail/sendmail.el (sendmail-send-it): Reenable the code - to compute resend-to-address and use it. +2007-07-18 Eric S. Raymond - * tar-mode.el (tar-mode): Turn off undo unconditionally. + * vc.el (revision-granularity, create-repo): Document new vc + backend properties. + (vc-rollback): Renamed from vc-cancel-version. Update + references. Pass a list instead of a file. + (vc-revert): Renamed from vc-revert-buffer. Update references. + (vc-delistify, vc-expand-dirs): New functions. + (vc-do-command): Rename FILE to FILE-OR-LIST and deal with a list + of files instead of a single file. + (vc-position-context, vc-resync-window, vc-diff-internal) + (vc-print-log): Pass a list instead of a file. - * image-mode.el: New file. + * vc-hooks.el (vc-stay-local-p, vc-backend) + (vc-backend-subdirectory-name): Work on a file list, not a single + file. + (vc-workfile-version): Update docstring. + (vc-menu-map): Use vc-rollback instead of vc-cancel-version and + vc-revert instead of vc-revert-buffer. + (vc-prefix-map): Likewise. Bind vc-update. - * image.el (insert-sliced-image): Add autoload cookie. + * vc-svn.el (vc-svn-revision-granularity, vc-svn-create-repo) + (vc-svn-wash-log): New functions. + (vc-svn-register, vc-svn-checkin, vc-svn-print-log) + (vc-svn-command): Deal with a list of files, not a single file. - * font-lock.el (font-lock-lines-before): New user option. - (font-lock-after-change-function): Obey it. - - * bindings.el (esc-map): Make M-g a prefix. - Bind M-g g and M-g M-g to goto-line. + * vc-rcs.el (vc-rcs-revision-granularity, vc-rcs-create-repo) + (vc-rcs-wash-log): New functions. + (vc-rcs-register, vc-rcs-checkin, vc-rcs-diff, vc-rcs-print-log): + Deal with a list of files, not a single file. + (vc-rcs-rollback): Likewise. Rename from vc-rcs-cancel-version. - * faces.el (face-id): Doc fix. - -2005-03-17 Frederik Fouvry - - * mail/rmail.el (rmail-unknown-mail-followup-to): New function. - (rmail-show-message): Use rmail-unknown-mail-followup-to. - (rmail-reply): Recognize Mail-Followup-To and Mail-Reply-To headers. - - * mail/sendmail.el (mail-yank-ignored-headers) - (mail-font-lock-keywords, mail-mode-fill-paragraph): - Add Mail-Followup-To and Mail-Reply-To headers. - (mail-citation-hook): Add autoload cookie. - (mail-mode): Doc fix. - (mail-mode-map): Bind mail-mail-followup-to and mail-mail-reply-to. - (mail-send): Compute Mail-Followup-To and Mail-Reply-To headers. - (mail-mode-fill-paragraph): Handle those headers. - (mail-mailing-lists): New variable. - (mail-mail-reply-to, mail-mail-followup-to): New functions. + * vc-sccs.el (vc-sccs-revision-granularity, vc-sccs-wash-log): New + functions. + (vc-sccs-register, vc-sccs-checkin, vc-sccs-diff): Deal with a + list of files, not a single file. -2005-03-17 Juri Linkov + * vc-mcvs.el (vc-mcvs-revision-granularity, vc-mcvs-create-repo): + New functions. + (vc-mcvs-register, vc-mcvs-checkin, vc-mcvs-print-log) + (vc-mcvs-diff): Deal with a list of files, not a single file. - * isearch.el (isearch-fallback): Check for `(car previous)' - before calling `isearch-other-end-state'. + * vc-hg.el (vc-hg-revision-granularity, vc-hg-create-repo): New + functions. + (vc-hg-print-log): Deal with a list of files, not a single file. + (vc-hg-diff-tree): New function, replace defalias with the same + name. + (vc-hg-register, vc-hg-checkin, vc-hg-command): Rename FILE to + FILES to denote that it is a file list, not a single file. -2005-03-17 Kim F. Storm + * vc-cvs.el (vc-cvs-create-repo, vc-cvs-wash-log): New functions. + (vc-cvs-register, vc-cvs-checkin): Deal with a list of files, not + a single file. + (vc-cvs-print-log, vc-cvs-command): Rename FILE to FILES to denote + that it is a file list, not a single file. + (vc-cvs-diff): Likewise. Simplify. - * simple.el (move-beginning-of-line): Move to beginning of buffer - line, as well as beginning of screen line. + * vc-arch.el (vc-arch-register, vc-arch-checkin, vc-arch-diff): + Deal with a list of files, not a single file. -2005-03-16 Glenn Morris + * vc-bzr.el (vc-bzr-register, vc-bzr-command, vc-bzr-checkin) + (vc-bzr-print-log): Update FILE parameter name to denote that it + is a file list, not a single file. + (vc-bzr-diff): Likewise. Use the car of files. - * calendar/diary-lib.el (mark-diary-entries): Use new optional - argument REDRAW rather than calendar-redrawing variable. - * calendar/calendar.el (calendar-redrawing): Delete. - (redraw-calendar): Do not bind calendar-redrawing. +2007-07-18 Juanma Barranquero -2005-03-16 Matt Hodges + * follow.el (follow-mode-hook, follow-mode-off-hook, follow-mode) + (follow-delete-other-windows-and-split, follow-recenter) + (follow-windows-aligned-p, follow-point-visible-all-windows-p) + (follow-redisplay, follow-estimate-first-window-start) + (follow-xemacs-scrollbar-support, follow-intercept-process-output): + Fix typos in docstrings. - * calendar/diary-lib.el (diary-redraw-calendar): Preserve point in - diary-file buffer. +2007-07-18 Martin Rudalics -2005-03-16 Stefan Monnier + * add-log.el (change-log-mode): Use fill-nobreak-predicate to + avoid that filling introduces lines with a single asterisk. - * help.el (describe-mode): Allow a :minor-mode-function property to - specify a different minor mode toggle function than the variable. - * simple.el (auto-fill-function): - * subr.el (add-minor-mode): Use it. + * kmacro.el (kmacro-end-macro): When ignoring empty macro + avoid incorrect kmacro-ring-empty-p messages. + Reported by Michael Schierl . -2005-03-16 Kenichi Handa +2007-07-17 Dan Nicolaescu - * language/ethio-util.el (sera-being-called-by-w3): New variable. - (ethio-sera-to-fidel-ethio): Check also sera-being-called-by-w3. - (ethio-fidel-to-sera-buffer): Likewise. + * vc.el: Add more info about the vc-registered function. -2005-03-16 Juri Linkov +2007-07-17 Michael Albinus - * emacs-lisp/find-func.el (find-function-regexp): - Add defun-emitting macro `menu-bar-make-toggle'. + * files.el (file-remote-p): Introduce optional parameter + IDENTIFICATION. - * isearch.el: Put `isearch-scroll' property to - `split-window-horizontally'. + * recentf.el (recentf-keep-default-predicate): Adapt call of + `file-remote-p'. - * info.el: Update error messages for `debug-ignored-errors'. - (Info-isearch-search): Doc fix. - (Info-find-node): Move up code to go into info buffer before - recording the node to the history. - (Info-fontify-node): Fontify titles only if the next line - has two or more `*', `=', `-', `.'. - Display "go to this node" for empty (match-string 3). + * progmodes/grep.el (grep-probe): Use `process-file'. + (grep-compute-defaults): Handle variables host specific. -2005-03-16 YAMAMOTO Mitsuharu + * net/ange-ftp.el (ange-ftp-file-remote-p): Handle optional + parameter IDENTIFICATION. - * term/mac-win.el: Add mouse pointer shape constants. + * net/tramp.el (tramp-handle-file-remote-p): Handle optional + parameter IDENTIFICATION. + (tramp-handle-set-file-times): New defun. Replaces `tramp-touch'. + (tramp-file-name-handler-alist, tramp-file-name-for-operation): + Add entry for `set-file-times'. + (tramp-do-copy-or-rename-file-via-buffer) + (tramp-do-copy-or-rename-file-out-of-band): Use `set-file-times'. + (tramp-handle-unhandled-file-name-directory): Rewrite. + (tramp-convert-file-attributes): Add error handling when inode is + extraordinary big. + (tramp-get-inode): Change parameter from FILE to VEC. + (tramp-handle-start-file-process): Use (current-buffer) if BUFFER + is nil. This is according to the specification. Goto (point-max) + when ready. + (tramp-handle-shell-command): Rewrite completely, using + `process-file' and `start-file-process'. + (tramp-methods, tramp-find-shell) + (tramp-open-connection-setup-interactive-shell) + (tramp-maybe-open-connection): Guard against $PROMPT_COMMAND shell + var. Reported by Steve Youngs . + + * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add + entry for `set-file-times'. Rename `start-process' into + `start-file-process'. Remove `call-process' entry. + (tramp-fish-handle-set-file-times): New defun. + (tramp-fish-handle-executable-find): Use `process-file'. + (tramp-fish-handle-process-file): New defun. Replaces + `tramp-fish-handle-call-process'. + (tramp-fish-do-copy-or-rename-file-directly): Use + `set-file-times'. + (tramp-fish-get-file-entries): Change `tramp-get-inode' parameter. + + * net/tramp-smb.el (tramp-smb-handle-file-attributes): Change + `tramp-get-inode' parameter. + +2007-07-17 Stefan Monnier + + * vc-bzr.el (vc-bzr-version, vc-bzr-at-least-version) + (vc-bzr-post-command-function): Remove. Version 0.8 is already old + nowadays, and by the time Emacs-23 comes out, nobody will even remember + it has ever existed. -2005-03-15 Kim F. Storm +2007-07-17 Dan Nicolaescu - * simple.el (move-beginning-of-line): Use vertical-motion. + * vc.el: Undo previous change. -2005-03-15 Juri Linkov +2007-07-16 Eli Zaretskii - * isearch.el (isearch-error): New variable. - (isearch-invalid-regexp, isearch-within-brackets): Remove. - (isearch-error-state): Rename from `isearch-invalid-regexp-state'. - (isearch-within-brackets-state): Remove. - (isearch-case-fold-search-state, isearch-pop-fun-state): - Decrease frame index. - (isearch-mode, isearch-top-state, isearch-push-state) - (isearch-edit-string, isearch-abort, isearch-search-and-update) - (isearch-fallback, isearch-message-prefix, isearch-message-suffix) - (isearch-search, isearch-lazy-highlight-new-loop): - Replace `isearch-invalid-regexp' with `isearch-error'. - Remove `isearch-within-brackets'. - (isearch-search): Add `search-failed' handler to `condition-case'. - (isearch-lazy-highlight-search): Add `condition-case' to catch - errors and allow `isearch-lazy-highlight-update' to try - highlighting from the beginning of the window. - (isearch-repeat): Move up code to set isearch-wrapped to t - before calling isearch-wrap-function. + * makefile.w32-in (clean): Don't delete *~. - * info.el (Info-isearch-initial-node): New internal variable. - (Info-search): Signal an error in isearch mode when search leaves - the initial node. Signal an error when `bound' is non-nil and - nothing was found in the current subfile. - (Info-isearch-search): Remove `condition-case'. - (Info-isearch-wrap): Don't wrap when search failed during leaving - the initial node. If `Info-isearch-search' is nil, wrap around - the current node. - (Info-isearch-start): New fun. - (Info-mode): Add buffer-local hook `Info-isearch-start' to - `isearch-mode-hook'. +2007-07-16 Stefan Monnier -2005-03-15 YAMAMOTO Mitsuharu + * textmodes/tex-mode.el (tex-verbatim-environments): + Add safe-local-variable property. + (tex-font-lock-syntactic-keywords): Lookup tex-verbatim-environments + when starting font-lock rather than when loading tex-mode.el. - * simple.el (normal-erase-is-backspace): Set default to t if - running on Mac. + * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Skip over the + whole $( rather than just the $. Rename from sh-quoted-subshell. + (sh-font-lock-syntactic-keywords): Adjust call accordingly. - * term/mac-win.el (function-key-map): Sync with x-win.el. +2007-07-16 Thien-Thi Nguyen -2005-03-15 Kenichi Handa + * bookmark.el (bookmark-maybe-sort-alist): Don't modify + bookmark-alist. Instead, if not sorting, simply return it. + (bookmark-bmenu-list): Call bookmark-maybe-sort-alist + for its return value, not for its side effect. - * international/mule-cmds.el (locale-language-names): Modify the - format of elements and add more entries. - (locale-preferred-coding-systems): Add more entries. - (set-locale-environment): Adjust for the change of - locale-language-names. + * emacs-lisp/lisp-mode.el (calculate-lisp-indent): In the + case of alignment under a constant symbol, find and consider + the sexp actually at indentation to be the "last sexp". -2005-03-14 Stefan Monnier +2007-07-16 Drew Adams - * pcvs.el (smerge-ediff): Remove bogus autoload. + * mouse.el (mouse-yank-secondary): Better error message if no + secondary selection. -2005-03-14 Lute Kamstra +2007-07-16 Dan Nicolaescu - * emacs-lisp/debug.el (debugger-make-xrefs): Docstring fix. - Ignore a `*' at the beginning of a line. + * vc-hooks.el (vc-handled-backends): Move BZR later in the list. - * subr.el (macro-declaration-function): Move to emacs-lisp/byte-run.el. - * emacs-lisp/byte-run.el (macro-declaration-function): Move from - subr.el. - (dont-compile, eval-when-compile, eval-and-compile): Use declare - to specify indentation. + * term/xterm.el (xterm-turn-on-modify-other-keys) + (xterm-turn-off-modify-other-keys): New functions. + (terminal-init-xterm): Enable the modifyOtherKeys feature if the + terminal supports it. - * generic.el (define-generic-mode): Let generic-mode-list be a - list of strings; test membership with equal. +2007-07-16 Thien-Thi Nguyen -2005-03-14 Kim F. Storm + * bookmark.el (bookmark-show-all-annotations): + Make sure each inserted annotation ends with newline. - * simple.el (next-line, previous-line): Add optional try-vscroll - arg to recognize interactive use. Pass it on to line-move. - (line-move): Don't perform auto-window-vscroll when defining or - executing keyboard macro to ensure consistent behavior. +2007-07-15 Richard Stallman -2005-03-13 Stefan Monnier + * kmacro.el (kmacro-bind-to-key): Avoid comparisons on function keys. - * pcvs-util.el (cvs-string->strings): Strip trailing whitespace. + * tutorial.el (tutorial--find-changed-keys): + Handle C-x specially like ESC. -2005-03-13 Lute Kamstra +2007-07-15 Aaron Hawley - * emacs-lisp/debug.el (debug): Set debug-on-exit before calling - debugger-setup-buffer so that backtrace marks the frames set to - debug-on-exit and we don't have to do it manually. Set an extra - debug-on-exit for macro's. - (debugger-setup-buffer): Don't mark the top frame manually. + * tar-mode.el (tar-get-descriptor): No error for zero-length file. -2005-03-12 Lute Kamstra +2007-07-15 Juri Linkov - * emacs-lisp/byte-run.el: Replace lisp-indent-hook with - lisp-indent-function throughout. - (with-no-warnings): Set lisp-indent-function property. + * delsel.el (delete-selection-pre-hook): + * emulation/cua-base.el (cua-paste): Before a yank command, + check also whether last-command is one of mouse-save-then-kill, + mouse-secondary-save-then-kill, mouse-set-region, mouse-drag-region. -2005-03-12 Thien-Thi Nguyen +2007-07-15 Michael Albinus - * progmodes/dcl-mode.el (dcl-mode-syntax-table): - Add entry for backslash. + * recentf.el (recentf-keep-default-predicate): New defun. + (recentf-keep): Use it as initial value. -2005-03-12 Juri Linkov +2007-07-15 Karl Fogel - * info.el (Info-search): Four fixes for backward search. + * bookmark.el: Revert 2007-07-13T18:16:17Z!kfogel@red-bean.com, + thus restoring bookmark bindings to three slots under C-x r. See + http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00705.html. -2005-03-11 Jay Belanger +2007-07-15 Jeff Miller (tiny change) - * calc/calc.el (calc-language-alist): New variable. - * calc/calc-embed.el (calc-embedded-language-alist): Remove. - (calc-embedded-find-modes): Use calc-language-alist instead of - calc-embedded-language-alist. + * calendar/calendar.el (calendar-goto-bahai-date): Autoload it. -2005-03-11 Glenn Morris +2007-07-15 Jason Rumney - * calendar/calendar.el (calendar-redrawing): New internal - variable. - (redraw-calendar): Remove bogus save-excursion from previous - change. Bind calendar-redrawing to t for mark-diary-entries. - * calendar/diary-lib.el (mark-diary-entries): No need to redraw - calendar if that is why we were called. + * w32-fns.el (set-default-process-coding-system): Use dos line ends + for input to cmdproxy on all versions of Windows. + Use dos line ends for input to plink. -2005-03-11 Kenichi Handa + * comint.el (comint-simple-send): Concat newline before sending. + (comint-password-prompt-regexp): Recognize plink's passphrase prompt. - * international/mule.el (make-coding-system): Set property - coding-system-define-form to nil. - (define-coding-system-alias): Likewise. +2007-07-14 Stefan Monnier -2005-03-11 Kenichi Handa + * emacs-lisp/autoload.el (generated-autoload-file): Autoload the + safe-local-variable setting. - These changes are suggested by Dave Love . +2007-07-14 David Kastrup - * textmodes/fill.el: Change encoding to iso-2022-7bit and add - coding: tag. - (adaptive-fill-regexp): Add more bullets. - (fill-french-nobreak-p): Add Latin-1 and Latin-9 guillemets in - regexps. + * emacs-lisp/advice.el (defadvice): Doc fix. -2005-03-10 Stefan Monnier +2007-07-14 Juanma Barranquero - * help.el (describe-mode): Properly handle non-trivial lighters. - Don't ignore minor modes that are not listed in minor-mode-list. + * subr.el (when, unless): Doc fix. - * tooltip.el (tooltip-mode): Don't complain that you can't turn the - feature ON when the user requests to turn it OFF. +2007-07-13 Dan Nicolaescu -2005-03-10 Lute Kamstra + * replace.el (match): Use yellow1 instead of yellow. - * emacs-lisp/debug.el (debug-entry-code): Delete it. - (implement-debug-on-entry): New function to replace debug-entry-code. - (debug-on-entry-1): Use implement-debug-on-entry. Delete the - second argument as the 2005-03-07 change makes it obsolete. - (debug-on-entry, cancel-debug-on-entry): Update call to - debug-on-entry-1. - (debug, debugger-setup-buffer): Comment update. - (debugger-frame-number): Update to work with implement-debug-on-entry. + * progmodes/gdb-ui.el (breakpoint-enabled): Use red1 instead of + red. -2005-03-10 Jay Belanger + * pcvs-info.el (cvs-unknown): Likewise. - * calc/calc-embed.el (math-ms-args): Declare it. - (calc-embedded-eval-expr, calc-embedded-eval-get-var): Use variable - math-ms-args. - (calc-embedded-subst): Use math-multi-subst-rec to substitute - variables. +2007-07-13 Eli Zaretskii -2005-03-10 Nick Roberts + * makefile.w32-in (install-lisp-SH, install-lisp-CMD): New targets. + (install): Use them to copy all *.el files before *.elc. - * progmodes/gdb-ui.el (gdb-var-create-handler, gdb-get-location): - Use message-box. +2007-07-13 Drew Adams - * tooltip.el (tooltip-mode): Use define-minor-mode and simplify. - (tooltip-activate-mouse-motions-if-enabled): Use dolist. - (tooltip-gud-tips): Simplify. - (tooltip-gud-tips-p): Remove superfluous :set. - (tooltip-gud-modes): Add fortran-mode. - (gdb-tooltip-print): Remove newline for tooltip-use-echo-area. + * bookmark.el (bookmark-jump-other-window): New function. + (bookmark-map): Bind it to "o". - * bindings.el (mode-line-mode-menu): Add tooltip-mode to mode-line. + http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html + and its thread contains discussion about this change. + The original patch was slightly tweaked by Karl Fogel + before committing. -2005-03-09 Kim F. Storm +2007-07-13 Karl Fogel - * play/animate.el (animate-place-char): Use forward-line instead - of next-line to improve performance. + * bookmark.el: Shorten some comments to fit within 80 lines. -2005-03-09 Simon Josefsson +2007-07-13 Karl Fogel - * net/browse-url.el (browse-url-default-browser): Doc fix. + * bookmark.el: Don't define bookmark keys under the "C-xr" map; + instead, make "C-xp" a prefix for bookmark-map. Patch by Drew + Adams , mildly tweaked by me. See + http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html. -2005-03-09 Miles Bader +2007-07-13 Carsten Dominik - * emacs-lisp/bytecomp.el (byte-compile-variable-ref) - (byte-compile-obsolete): Change " since VER" to " (as of Emacs VER)". + * textmodes/org.el: Bug fixes. + (org-end-of-line): Move to end of line if in headline without tags. -2005-03-09 Kenichi Handa +2007-07-13 Stefan Monnier - * international/latin-1.el: Set case and syntax for 255 only if - set-case-syntax-set-multibyte is nil. + * vc-hooks.el: Remove spurious * in docstrings. + (vc-handled-backends): Add BZR. - * textmodes/ispell.el (ispell-insert-word): New function. - (ispell-word): Use ispell-insert-word to insert a new word. - (ispell-process-line): Likewise. - (ispell-complete-word): Likewise. + * vc-hooks.el (vc-find-file-hook): Use with-demoted-errors. -2005-03-09 Glenn Morris +2007-07-12 Davis Herring - * calendar/calendar.el (redraw-calendar): Preserve point. - Reported by Matt Hodges . - (calendar-week-start-day): Move after definition of - redraw-calendar. Delete buffer test, since redraw-calendar has - that now. + * desktop.el (desktop-buffer-info, desktop-save): + Use `desktop-dirname' instead of `dirname'. - * calendar/diary-lib.el (mark-diary-entries): Only call - redraw-calendar in the first of any recursive calls. - Reported by Alan Shutko . +2007-07-12 Paul Pogonyshev -2005-03-08 Juri Linkov + * progmodes/which-func.el (which-func-modes): Add `python-mode'. - * textmodes/sgml-mode.el (sgml-tag, html-tag-alist) - (html-horizontal-rule, html-line, html-image, html-checkboxes) - (html-radio-buttons): Add a space before the trailing `/>' where - sgml-xml-mode is non-nil. - (sgml-delete-tag): Check if the tag ends with `/>' to not delete - the subsequent tag of the empty XML tag. - (html-href-anchor): Don't set initial input to "http:". - (html-image): Ask for the image URL and set point inside alt="". - (html-name-anchor): Duplicate the name in the `id' attribute when - sgml-xml-mode is non-nil. - (html-paragraph): Remove \n before

. - (html-checkboxes, html-radio-buttons): Insert `checked="checked"' - instead of `checked' when sgml-xml-mode is non-nil. + * progmodes/python.el (python-which-func-length-limit): New var. + (python-which-func): New function. + (python-current-defun): Add optional `length-limit' and try to fit + computed function name to that length. + (python-mode): Hook `python-which-func' up. - * facemenu.el (list-colors-print): Print #RRGGBB in default face. - Remove 1 space before #RRGGBB to not truncate it on terminal - windows w/o fringes. Remove 1 space between bg and fg examples - to get more space. - (list-colors-duplicates): Replace `and' with `if' for `boundp' to - avoid byte-compile warnings. +2007-07-12 Sean O'Rourke (tiny change) - * image-file.el (image-file-handler): Put `safe-magic' property to - `image-file-handler'. + * pcomplete.el (pcomplete-entries): Obey pcomplete-ignore-case. - * info.el (Info-isearch-search): Emulate word search in - isearching through multiple Info nodes with Info-search. - (Info-isearch-wrap): Allow isearch-word. + * comint.el (comint-dynamic-complete-as-filename): + Use read-file-name-completion-ignore-case. -2005-03-08 Lute Kamstra +2007-07-12 Stefan Monnier - * emacs-lisp/debug.el (debugger-step-through): Make sure that - stepping into the debugger's code is not possible. - (debugger-jumping-flag): Docstring update. + * comint.el (comint-dynamic-list-filename-completions): + Use read-file-name-completion-ignore-case. -2005-03-08 Jay Belanger + * vc-cvs.el: Require CL. + (vc-cvs-revision-table, vc-cvs-revision-completion-table): + New functions to provide completion of revision names. - * calc/calc-embed.el (calc-do-embedded): Reset mode line when - embedded mode begins. - (calc-embedded-language-alist): New variable. - (calc-embedded-find-modes): Use calc-embedded-language-alist to - set default language mode. + * vc-cvs.el (vc-functions): Clear up the cache when reloading the file. + (vc-cvs-annotate-first-line-re): New const. + (vc-cvs-annotate-process-filter): New fun. + (vc-cvs-annotate-command): Use them and run the command asynchronously. -2005-03-08 Kenichi Handa +2007-07-12 Paul Pogonyshev - * international/ccl.el (define-ccl-program): Fix docstring about - extra 256 bytes assured for the output buffer. + * emacs-lisp/eldoc.el (eldoc-last-data): Revise documentation. + (eldoc-print-current-symbol-info): Adjust for changed helper + function signatures. + (eldoc-get-fnsym-args-string): Add `args' argument. Use new + `eldoc-highlight-function-argument'. + (eldoc-highlight-function-argument): New function. + (eldoc-get-var-docstring): Format documentation with + `font-lock-variable-name-face'. + (eldoc-docstring-format-sym-doc): Add `face' argument and apply it + where suited. + (eldoc-fnsym-in-current-sexp): Return a list with argument index. + (eldoc-beginning-of-sexp): Return number of skipped sexps. - * international/utf-16.el (ccl-encode-mule-utf-16le-with-signature): - Fix BUFFER_MAGNIFICATION to 2. - (ccl-encode-mule-utf-16be-with-signature): Likewise. +2007-07-11 Michael Albinus -2005-03-07 Karl Chen + * progmodes/compile.el (compilation-start): `start-process' must + still be redefined when calling `start-process-shell-command'. - * align.el (align-rules-list): Added an alignment rule for CSS - declarations (applies to css-mode and html-mode buffers). + * progmodes/gud.el (gud-file-name): When `default-directory' is a + remote file name, prepend its remote part to the filename. + (gud-common-init): When `default-directory' is a remote file name, + make the filename relative to it. + Based on a patch by Nick Roberts . -2005-03-07 Stefan Monnier +2007-07-11 Dan Nicolaescu - * emacs-lisp/debug.el (debug-on-entry-1): Fix handling of macros. + * vc-hooks.el (vc-default-mode-line-string): Add a mouse face, + mouse binding and a tooltip. -2005-03-07 Kim F. Storm +2007-07-11 Stefan Monnier - * simple.el (move-beginning-of-line): New command. + * menu-bar.el (vc-menu-map): New defalias. - * bindings.el (global-map): Bind C-a to move-beginning-of-line. +2007-07-10 Richard Stallman - * reveal.el (reveal-mode-map): Bind C-a to beginning-of-line. + * emacs-lisp/lisp-mode.el (eval-defun): + Explain special handling of `defface'. - * emulation/cua-base.el: Put CUA move property on move-end-of-line - and move-beginning-of-line. +2007-07-10 Jim Meyering (tiny change) - * apropos.el (apropos-print): Omit command from M-x ... RET. + * emacs-lisp/copyright.el (copyright-current-gpl-version): Set to 3. -2005-03-07 Nick Roberts + * autoinsert.el (auto-insert-alist): s/2/3/ in the generated comment. - * progmodes/gdb-ui.el (gdb-var-create-handler): Handle just MI case. - (gdb-send, gdb-send-item): Log items sent from gdb-send too. +2007-07-10 Stefan Monnier -2005-03-06 Richard M. Stallman + * emacs-lisp/cl.el: Load cl-loaddefs.el quietly. - * bindings.el (esc-map): Bind M-g to goto-line. + * vc-arch.el (vc-arch-complete): Remove. + (vc-arch-revision-completion-table): Use complete-with-action. - * facemenu.el (global-map): Bind M-o, not M-g. + * subr.el (condition-case-no-debug, with-demoted-errors): New macros. + (complete-with-action): New function. + (dynamic-completion-table): Use it. -2005-03-06 Jan Dj,Ad(Brv +2007-07-10 Michael Albinus - * menu-bar.el (menu-bar-file-menu): Add the same :enable to - "Open Directory" as for "Open File". + * comint.el (make-comint, make-comint-in-buffer) + (comint-exec-1): Replace `start-process' by `start-file-process'. -2005-03-06 Chong Yidong + * progmodes/compile.el (compilation-start): Revert redefining + `start-process'. - * simple.el (activate-mark-hook, deactivate-mark-hook): Add defvars. - (push-mark-command): Run activate-mark-hook. +2007-07-10 Stefan Monnier -2005-03-06 Richard M. Stallman + * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Be careful + with EOLs when generating MD5 checksums. - * help-mode.el (help-mode-finish): Don't alter the element - in view-return-to-alist if there already is one. + * follow.el: Don't change the global map from the follow-mode-map + defvar, but from the toplevel. Use easy-menu to unify the Emacs and + XEmacs code. + (turn-on-follow-mode, turn-off-follow-mode): Remove interactive spec + since `follow-mode' should be used instead for that. + + * emacs-lisp/easymenu.el (easy-menu-binding): New function. + (easy-menu-do-define): Use it. + (easy-menu-do-add-item): Inline into easy-menu-add-item and then remove. + + * progmodes/compile.el (compilation-auto-jump-to-first-error) + (compilation-auto-jump-to-next): New vars. + (compilation-auto-jump): New function. + (compilation-error-properties): Use them to jump to first error. + (compilation-start): Set the var if requested. + + * emacs-lisp/autoload.el (update-directory-autoloads): Remove + duplicates without also removing entries from other directories. + +2007-07-10 Carsten Dominik + + * textmodes/org.el (org-agenda-day-view, org-agenda-week-view): + Remember span as default. + (org-columns-edit-value): Rename from `org-column-edit'. + (org-columns-display-here-title): Rename from + `org-overlay-columns-title'. + (org-columns-remove-overlays): Rename from org-remove-column-overlays. + (org-columns-get-autowidth-alist): Rename from + `org-get-columns-autowidth-alist'. + (org-columns-display-here): Rename from `org-overlay-columns'. + (org-columns-new-overlay): Rename from `org-new-column-overlay'. + (org-columns-quit): Rename from `org-column-quit'. + (org-columns-show-value): Rename from `org-column-show-value'. + (org-columns-content, org-columns-widen) + (org-columns-next-allowed-value) + (org-columns-edit-allowed, org-columns-store-format) + (org-columns-uncompile-format, org-columns-redo) + (org-columns-edit-attributes, org-delete-property) + (org-set-property, org-columns-update) + (org-columns-compute, org-columns-eval) + (org-columns-not-in-agenda, org-columns-compute-all) + (org-property-next-allowed-value) + (org-columns-compile-format) + (org-fill-paragraph-experimental) + (org-string-to-number, org-property-action) + (org-columns-move-left, org-columns-new) + (org-column-number-to-string) + (org-property-previous-allowed-value) + (org-at-property-p, org-columns-delete) + (org-columns-previous-allowed-value) + (org-columns-move-right, org-columns-narrow) + (org-property-get-allowed-values) + (org-verify-version, org-column-string-to-number) + (org-delete-property-globally): New functions. + (org-columns-current-fmt): Rename from `org-current-columns-fmt'. + (org-columns-overlays): Rename from `org-column-overlays'. + (org-columns-map): Rename from `org-column-map'. + (org-columns-current-maxwidths): Rename from + `org-current-columns-maxwidths'. + (org-columns-begin-marker, org-columns-current-fmt-compiled) + (org-previous-header-line-format) + (org-columns-inhibit-recalculation) + (org-columns-top-level-marker): New variables. + (org-columns-default-format): Rename from `org-default-columns-format'. + (org-property-re): New constant. + +2007-07-10 Guanpeng Xu + + * subr.el (looking-at-p, string-match-p): New functions. + +2007-07-09 Reiner Steib + + * textmodes/tex-mode.el (tex-fontify-script) + (tex-font-script-display): New variables to make display of + superscripts and subscripts customizable. + (tex-font-lock-suscript, tex-font-lock-match-suscript): Use them. - * jit-lock.el (jit-lock-stealth-fontify): When calling sit-for, - make sure the current buffer is the expected one. +2007-07-09 Richard Stallman - * novice.el (disabled-command-function): Output in *Disabled Command*. - Explicitly ignore non-keyboard events, and explicitly handle C-g. + * isearch.el (isearch-edit-string): Call to isearch-push-state + after the search. - * textmodes/flyspell.el (flyspell-large-region): - Pass args differently for aspell. +2007-07-09 Jan Dj,Ad(Brv - * files.el (mode-require-final-newline): Doc fix. + * window.el (fit-window-to-buffer): Remove setting of window-min-height + to 1 as enlarge-window uses the value to resize/shrink windows other + than WINDOW if needed. -2005-03-03 Stephan Stahl (tiny change) +2007-07-08 Katsumi Yamaoka - * progmodes/which-func.el (which-function): - Specify NOERROR when calling imenu--make-index-alist. + * cus-start.el (file-coding-system-alist): Fix custom type. -2005-03-05 Stefan Monnier +2007-07-08 Chong Yidong - * simple.el (normal-erase-is-backspace): Define default value. + * longlines.el (longlines-wrap-region): Avoid marking buffer as + modified. + (longlines-auto-wrap, longlines-window-change-function): + Remove unnecessary calls to set-buffer-modified-p. - * custom.el (custom-theme-set-variables): Remove unused var - `immediate'. - (custom-reevaluate-setting): Simple function to handle variables - that are defined before their default value can really be - computed. +2007-07-08 Katsumi Yamaoka - * startup.el (command-line): Use it for temporary-file-directory, - small-emporary-file-directory, auto-save-file-name-transforms, - blink-cursor-mode, and normal-erase-is-backspace. + * cus-start.el (file-coding-system-alist): Fix custom type. - * font-lock.el (font-lock-fontify-keywords-region): Ensure forward - progress, even with buggy anchored keywords. +2007-07-08 Stefan Monnier -2005-03-05 Luc Teirlinck + * vc-cvs.el (vc-cvs-revert): Use vc-default-revert. + (vc-cvs-checkout): Remove last arg now unused; simplify. - * simple.el (goto-line): Remove unbalanced final parenthesis. +2007-07-08 Michael Albinus -2005-03-05 Richard M. Stallman + * files.el (file-remote-p): Introduce optional parameter CONNECTED. - * simple.el (goto-line): Use a number at point as the default. - With C-u as arg, switch buffers. + * net/tramp.el: + * net/tramp-ftp.el: + * net/tramp-smb.el: + * net/tramp-uu.el: + * net/trampver.el: Migrate to Tramp 2.1. -2005-03-05 Juri Linkov + * net/tramp-cache.el: + * net/tramp-fish.el: + * net/tramp-gw.el: New Tramp packages. - * frame.el (blink-cursor-mode): Replace `emacs-quick-startup' - with `no-blinking-cursor'. + * net/tramp-util.el: + * net/tramp-vc.el: Removed. - * startup.el (no-blinking-cursor): New defvar. - (command-line): Add `--no-blinking-cursor' to longopts. - Set `no-blinking-cursor' to t for command line arguments - -Q, -nbc, --no-blinking-cursor. Replace `emacs-quick-startup' - with `no-blinking-cursor' in the condition for calling - `blink-cursor-mode'. + * net/ange-ftp.el: Add ange-ftp property to 'start-file-process. + (ange-ftp-file-remote-p): Handle optional parameter CONNECTED. -2005-03-04 Luc Teirlinck + * net/rcompile.el (remote-compile): Handle Tramp 2.1 arguments. - * menu-bar.el (menu-bar-make-mm-toggle): Doc fix. - (menu-bar-options-save): Add blink-cursor-mode. - (menu-bar-options-menu): Add blink-cursor-mode. + * progmodes/compile.el (compilation-start): Redefine + `start-process' temporarily when `default-directory' is remote. + Remove case of synchronous compilation, this won't happen ever. + (compilation-setup): Make local variable `comint-file-name-prefix' + for remote compilation. -2005-03-04 Ulf Jasper +2007-07-08 Martin Rudalics - * calendar/icalendar.el (icalendar-version): Increase to 0.11. - (icalendar-export-file, icalendar-export-region) - (icalendar-import-file, icalendar-import-buffer): Add autoload cookies. - (icalendar--convert-ical-to-diary): Fix problem with DURATION. + * novice.el (disabled-command-function): Fit window to buffer to + make last line visible. + Reported by Stephen Berman . -2005-03-04 Lute Kamstra + * mouse.el (mouse-drag-track): Reset transient-mark-mode to nil + when handling the terminating event. - * emacs-lisp/debug.el (debugger-step-after-exit): Make it a defvar. - (debug-function-list): Ditto. +2007-07-07 Jay Belanger -2005-03-04 Robert J. Chassell + * calc/calc.el (math-read-number-simple): Remove leading 0s. + (math-bignum-digit-length): Change to optimal value. - * textmodes/texinfmt.el (texinfo-append-refill): - Redefine the types of line to which @refill - is not appended by replacing a search for `@refill\\|@bye' with - `@refill\\|^[ \t]*@'. The intent is to solve both the `@end - itemize@refill' bug and the unfilled long lines bug. - (texinfmt-version): Update number and date. + * calc/calc-bin.el (math-bignum-logb-digit-size) + (math-bignum-digit-power-of-two): Evaluate when compiled. -2005-03-04 Reiner Steib + * calc/calc-comb.el (math-small-factorial-table) + (math-init-random-base, math-prime-test): Remove unnecessary calls + to `math-read-number-simple'. - * international/code-pages.el (windows-1250, windows-125[2-8]) - (iso-8859-10, -13, -16, georgian-ps): Add autoload cookies. + * calc/calc-ext.el (math-approx-pi, math-approx-sqrt-e) + (math-approx-gamma-const): Add docstrings. -2005-03-03 Stefan Monnier + * calc/calc-forms.el (math-julian-date-beginning) + (math-julian-date-beginning-int): New constants. + (math-format-date-part, math-parse-standard-date, calcFunc-julian): + Use the new constants. - * frame.el (blink-cursor-mode): `emacs-quick-startup' may not be - bound yet. + * calc/calc-funcs.el (math-gammap1-raw): Add docstring. -2005-03-02 Romain Francoise + * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2): + Add docstrings. - * ibuf-ext.el (ibuffer-filter-disable): Move back to the current - buffer after removing limits. - (ibuffer-pop-filter): Ditto. - Update copyright. +2007-07-07 Tom Tromey -2005-03-02 Miles Bader + * vc.el (vc-annotate): Jump to line and output message only after the + process is really all done. - * button.el (make-text-button): If the user doesn't specify a - type, use the default. Rewrite to use `add-text-properties' and - plist functions. +2007-07-07 Stefan Monnier -2005-03-01 Lute Kamstra + * vc.el (vc-exec-after): Don't move point from the sentinel. + Forcefully read all the remaining text in the pipe upon process exit. + (vc-annotate-display-autoscale, vc-annotate-lines): + Don't stop at the first unrecognized line. + (vc-annotate-display-select): Run autoscale after the process is done + since it depends on the whole result. - * emacs-lisp/debug.el (inhibit-debug-on-entry): Add docstring. - (debugger-jumping-flag): New var. - (debug-entry-code): Use it. - (debugger-jump): Use debugger-jumping-flag and add - debugger-reenable to post-command-hook. - (debugger-reenable): Use debugger-jumping-flag and remove itself - from post-command-hook. - (debug, debug-on-entry, cancel-debug-on-entry): Remove call to - debugger-reenable. +2007-07-07 Eli Zaretskii -2005-03-01 Robert J. Chassell + * term/w32-win.el (menu-bar-open): New function. + Bind to it. - * textmodes/texinfmt.el (texinfo-no-refill-regexp): Comment out - inclusion of "itemize\\|", which may be unnecessary, is certainly - inelegant, and stops refilling in itemize lists when formatting - Japanese Texinfo files to Info. - Update copyright to 2005. +2007-07-07 Michael Albinus -2005-03-01 Nick Roberts + * simple.el (start-file-process): New defun. - * progmodes/gdb-ui.el (gdb-get-location): Use a warning instead - of an error if GDB can't find the source file. +2007-07-07 Stefan Monnier -2005-03-01 Glenn Morris + * files.el (find-file-confirm-nonexistent-file): Rename from + find-file-confirm-inexistent-file. Update users. - * calendar/calendar.el (redraw-calendar): Work from any buffer, - not just the calendar. + * emacs-lisp/autoload.el (autoload-find-destination): Understand a new + format of autoload block where the file's time-stamp is replaced by its + MD5 checksum. + (autoload-generate-file-autoloads): Use MD5 checksum instead of + time-stamp for secondary autoloads files. + (update-directory-autoloads): Remove duplicate entries. + Use time-less-p for time-stamps, as done in autoload-find-destination. - * calendar/diary-lib.el (mark-diary-entries): Remove any old marks - first. - (diary-redraw-calendar): New function. - (make-diary-entry): Add diary-redraw-calendar to local - write-contents-functions. Turn off selective display before - inserting in diary. +2007-07-07 Jay Belanger -2005-03-01 Kim F. Storm + * calc/calc.el (math-read-number): Replace number by variable. + (math-read-number-simple): Properly parse small integers. - * emacs-lisp/copyright.el (copyright-fix-years): New command. +2007-07-07 Dan Nicolaescu -2005-03-01 Lute Kamstra + * vc.el: Fix doc for the checkout function. - * emacs-lisp/debug.el (debug-on-entry-1): Reimplement to make sure - that debug-entry-code can be safely removed from a function while - this code is being evaluated. Revert the 2005-02-27 change as the - new implementation no longer requires it. Make sure that a - function body containing just a string is not mistaken for a docstring. - (debug): Skip one more frame in case of debug on entry. - (debugger-setup-buffer): Delete one more frame line in case of - debug on entry. - (debugger-frame-number): Update to use the new text introduced by - the 1999-11-03 change. Skip one more frame in case of debug on entry. +2007-07-06 Dan Nicolaescu -2005-02-28 Kim F. Storm + * vc-hg.el (vc-hg-root): New function. + (vc-hg-registered): Use it. + (vc-hg-diff-tree): New defalias. + (vc-hg-responsible-p): Likewise. + (vc-hg-checkout): Comment out, not needed. + (vc-hg-delete-file, vc-hg-rename-file, vc-hg-could-register) + (vc-hg-find-version, vc-hg-next-version): New functions. - * double.el (double-translate-key): Call force-window-update after - read-event to avoid crash in redisplay. +2007-07-06 Andreas Schwab -2005-02-28 Stefan Monnier + * emacs-lisp/lisp-mode.el (eval-last-sexp): Avoid introducing any + dynamic bindings around the evaluation of the expression. + Reported by Jay Belanger . - * emacs-lisp/debug.el (inhibit-debug-on-entry): New var. - (debug): Use it. Move the inhibit-trace earlier. - (debug-entry-code): New const. - (debug-on-entry-1): Use it. +2007-07-06 Stefan Monnier -2005-02-28 Chong Yidong + * autorevert.el (auto-revert-tail-handler): Use inhibit-read-only. + Run before-revert-hook. Suggested by Denis Bueno . + Use run-hooks rather than run-mode-hooks. - * international/utf-16.el (ccl-encode-mule-utf-16le): - Fix BUFFER_MAGNIFICATION to 2. - (ccl-encode-mule-utf-16be): Likewise. +2007-07-05 Jay Belanger -2005-02-28 Kenichi Handa + * calc/calc-comb.el (math-random-digit): Rename to + `math-random-three-digit-number'. + (math-random-digits): Don't depend on representation of integer. - * international/utf-16.el (ccl-encode-mule-utf-16le-with-signature): - Fix BUFFER_MAGNIFICATION to 4. - (ccl-encode-mule-utf-16be-with-signature): Likewise. + * calc/calc-bin.el (math-bignum-logb-digit-size) + (math-bignum-digit-power-of-two): New constants. + (math-and-bignum, math-or-bignum, math-xor-bignum, math-diff-bignum) + (math-not-bignum, math-clip-bignum): Use the constants + `math-bignum-digit-power-of-two' and `math-bignum-logb-digit-size' + instead of their values. + (math-clip): Use math-small-integer-size instead of its value. -2005-02-28 Nick Roberts + * calc/calc.el (math-add-bignum): Replace number by constant. - * speedbar.el (speedbar-update-flag): Doc fix. - (speedbar-show-info-under-mouse): Give set-mouse-position the right - argument. +2007-07-05 Chong Yidong -2005-02-27 Stefan Monnier + * wid-edit.el (widget-documentation-string-value-create): + Insert indentation spaces. - * reveal.el (reveal-post-command): Don't try to reveal overlays which - have a non-nil `invisible' property but are actually visible. +2007-07-05 Thien-Thi Nguyen - * progmodes/perl-mode.el (perl-imenu-generic-expression): Add entries - for perldoc sections. - (perl-outline-regexp, perl-outline-level): New var and function. - (perl-mode): Use them. + * emacs-lisp/byte-opt.el: Revert last change. -2005-02-27 Glenn Morris +2007-07-05 Dan Nicolaescu - * calendar/diary-lib.el (diary-remind): Discard any mark portion - from diary-entry. Reported by Andrew Kemp . + * vc-hooks.el (vc-handled-backends): Add HG. -2005-02-27 Luc Teirlinck + * vc-hg.el (vc-handled-backends): Remove, done in vc-hooks.el now. - * cus-edit.el: Comment change. - (custom-buffer-create-internal): Slightly reword text at top of - Custom buffers. Mention there that saving an option edits the - init file. Add link to Emacs manual node on `custom-file'. - (custom-magic-alist): Rewrite individual State messages to use - capitalized keywords. Doc fix. +2007-07-05 Stefan Monnier -2005-02-27 Matt Hodges + * complete.el (PC-do-complete-and-exit): Add support for the new + `confirm-only' confirmation mode. - * calendar/calendar.el (calendar-buffer): Move above - calendar-week-start-day. - (calendar-week-start-day): Doc fix. Add :set function. - (calendar-minimum-window-height): New variable. - (generate-calendar-window): Only resize window if selected-window - is displaying the calendar buffer. Use new variable - calendar-minimum-window-height. - (generate-calendar): Reword error message. - (calendar-mode-map): Bind DEL to scroll-other-window-down. +2007-07-05 Chong Yidong -2005-02-27 Andreas Schwab + * cus-edit.el (custom-commands): New variable. + (custom-tool-bar-map): New variable. Initialize using + `custom-commands'. + (custom-mode): Use `custom-tool-bar-map'. + (custom-buffer-create-internal): Insert action buttons only if + tool bar is not used. Use `custom-commands'. + (Custom-help, custom-command-apply): New function. + (custom-command-apply, Custom-set, Custom-save) + (Custom-reset-current, Custom-reset-saved, Custom-reset-standard): + Use `custom-command-apply' instead of duplicating code. + (customize-group-other-window): Call `customize-group' instead of + duplicating code. + (customize-face-other-window): Call `customize-face' instead of + duplicating code. + (customize-group, customize-face): Add optional args for opening + in another window. + (custom-variable-tag): Don't inherit `variable-pitch' face. + (custom-group-tag): Inherit `variable-pitch' face. + (custom-variable-value-create): Set documentation indentation. + (custom-group-value-create): Make group name a link, instead of + using an extra "go to group" button. + (custom-prompt-variable, custom-group-set, custom-group-save) + (custom-group-reset-current, custom-group-reset-saved) + (custom-group-reset-standard): Minor cleanup. - * vc.el (vc-do-command): Don't run command asynchronously when - operating in a remote directory. +2007-07-05 Thien-Thi Nguyen - * net/tramp.el (tramp-file-name-for-operation): Fix misapplied - change from sync with Tramp 2.0.47. + * Makefile.in (bootstrap-prepare): When copying from + ldefs-boot.el, make sure loaddefs.el is writeable. -2005-02-27 Richard M. Stallman + (bootstrap-prepare): Make $(lisp)/ps-print.el + and $(lisp)/emacs-lisp/cl-loaddefs.el writable, as well. - * textmodes/ispell.el (ispell-change-dictionary): Doc fix. +2007-07-05 Dan Nicolaescu - * textmodes/flyspell.el (flyspell-mode-on): - Call ispell-change-dictionary only if necessary. + * vc-hg.el (vc-hg-internal-status): Inline in `vc-hg-state', the + only caller, and delete. + (vc-hg-state): Deal with exceptions and only parse the output on + successful return. + (vc-hg-internal-log): Inline in `vc-hg-workfile-version', the only + caller, and delete. + (vc-hg-workfile-version): Deal with exceptions and only parse the + output on successful return. + (vc-hg-revert): New function. - * emacs-lisp/re-builder.el (regexp-builder): New function. +2007-07-04 Jay Belanger - * register.el (describe-register-1): Explicitly handle - yank-excluded-properties = t. + * calculator.el (calculator-expt): Use more cases to determine + the value. - * cus-edit.el (custom-buffer-create-internal): Improve progress msgs. - (custom-magic-alist): Change the status descriptions again. - (face widget-type): Total rewrite based on `restricted-sexp' - to eliminate the confusing double hiding levels. +2007-07-03 Dan Nicolaescu - * emacs-lisp/debug.el (debug-on-entry-1): - If function body is empty, add nil as body form. + * progmodes/gud.el (auto-mode-alist): Match more valid gdb init + file names. -2005-02-26 Stefan Monnier +2007-07-03 Jay Belanger - * emacs-lisp/trace.el (inhibit-trace): New var. - (trace-make-advice): Use it. + * calculator.el (calculator-expt, calculator-integer-p): + New functions. + (calculator-fact): Check to see if the factorial will be too + large before computing it. + (calculator-initial-operators): Use `calculator-expt' to + compute "^". + (calculator-mode): Mention that results which are too large + will return inf. + * calc/calc-comb.el (math-small-factorial-table): Replace list + by vector. + +2007-07-03 David Kastrup + + * shell.el: On request of the authors, remove their addresses for + the sake of bug reports, and add the developer list address as + maintainer information. + +2007-07-03 Richard Stallman + + * files.el (make-directory): Doc fix. + (find-file-confirm-inexistent-file): Make it a defcustom. + Make nil the default. + +2007-07-02 Richard Stallman + + * startup.el (command-line): Set buffer-offer-save in *scratch* + and enable auto-save in it. + +2007-07-02 Carsten Dominik + + * textmodes/org.el (orgstruct-mode-map): New variable. + (orgstruct-mode): New minor mode. + (turn-on-orgstruct, orgstruct-error, orgstruct-setup) + (orgstruct-make-binding, org-context-p, org-get-local-variables) + (org-run-like-in-org-mode): New functions. + (org-cycle-list-bullet): New command. + (org-special-properties, org-property-start-re) + (org-property-end-re): New constants. + (org-with-point-at): New macro. + (org-get-property-block, org-entry-properties, org-entry-get) + (org-entry-delete, org-entry-get-with-inheritance) + (org-entry-put, org-buffer-property-keys): New functions. + (org-insert-property-drawer): New command. + (org-entry-property-inherited-from): New variable. + (org-column): New face. + (org-column-overlays, org-current-columns-fmt) + (org-current-columns-maxwidths, org-column-map): New variables. + (org-column-menu): New menu. + (org-new-column-overlay, org-overlay-columns) + (org-overlay-columns-title, org-remove-column-overlays) + (org-column-show-value, org-column-quit, org-column-edit): + New functions. + (org-columns, org-agenda-columns): New commands. + (org-get-columns-autowidth-alist): New functions. + (org-properties): New customize group. + (org-default-columns-format): New option. + (org-priority): Realign tags after changing priority. + (org-preserve-lc): New macro. + (org-update-checkbox-count): Catch case when there is no headline. + (org-agenda-quit): Remove any column overlays. + (org-beginning-of-item-list): Fixed bug when non-item line is + indented too deep. + (org-cached-props): New variable. + (org-cached-entry-get): New function. + (org-make-tags-matcher): Handle property matches. + (org-table-recalculate): Swap evaluation order: Field formula + first, then column formulas, but don't allow them to overwrite the + field formulas. + (org-table-eval-formula): New argument untouchable. + (org-table-put-field-property): New function. - * emacs-lisp/debug.el (debug): Put back the inhibit-trace. +2007-07-02 Martin Rudalics -2005-02-26 Kim F. Storm + * help-mode.el (help-make-xrefs): Skip spaces too when + skipping tabs. - * mouse.el (mouse-1-click-in-non-selected-windows): New defcustom. - (mouse-on-link-p, mouse-drag-region-1): Use it. + * ffap.el (dired-at-point-prompter): Improve prompt in + list-directory case. -2005-02-25 Lute Kamstra +2007-07-01 Richard Stallman - * replace.el (query-replace-read-from): Fix 2005-02-19 change. + * files.el (find-file-visit-truename): Fix safe-local-variable value. -2005-02-24 Luc Teirlinck +2007-07-01 Richard Stallman - * frame.el (blink-cursor-mode): Add :group keyword. + * cus-start.el (max-mini-window-height): Added. -2005-02-24 Ulf Jasper +2007-07-01 Sean O'Rourke (tiny change) - * calendar/icalendar.el (icalendar--decode-isodatetime): - New optional argument DAY-SHIFT. - (icalendar-export-region): Fix coding-system-for-write. - (icalendar--convert-ical-to-diary): Shift end-day of all-day - events by one. + * complete.el (partial-completion-mode): Remove advice of + read-file-name-internal. + (PC-do-completion): Rebind minibuffer-completion-table. + (PC-read-file-name-internal): New function doing what + read-file-name-internal advice did. -2005-02-24 Stefan Monnier +2007-07-01 Paul Pogonyshev - * textmodes/tex-mode.el (tex-font-lock-keywords-3): #n is atomic. + * emacs-lisp/byte-opt.el: Set `binding-is-magic' + property on a few symbols. + (byte-compile-side-effect-free-dynamically-safe-ops): New defconst. + (byte-optimize-lapcode): Remove bindings that are not referenced + and certainly will not effect through dynamic scoping. -2005-02-24 Kim F. Storm +2007-07-01 Stefan Monnier - * international/iso-acc.el (iso-accents-compose): Fix crash - during redisplay. Call force-window-update after read-event - and delete-region to signal that window is not accurate. + * files.el (find-file-confirm-inexistent-file): New var. + (find-file, find-file-other-window, find-file-other-frame) + (find-file-read-only, find-file-read-only-other-window) + (find-file-read-only-other-frame): Use it. -2005-02-23 Stefan Monnier +2007-06-30 Stefan Monnier - * emacs-lisp/debug.el (debug): Hide the buffer if it's not killed. - Remove unused and inexistent var `inhibit-trace'. - (debugger-mode): Use run-mode-hooks. - (debugger-list-functions): Add buttons; setup xref stack. + * emacs-lisp/rx.el (rx-constituents): Fix up `anything'. -2005-02-23 Richard M. Stallman +2007-06-29 Juanma Barranquero - * calendar/appt.el (appt-time-msg-list): 3rd elt of each - appointment says it was explicitly made. - (appt-add): Set the 3rd element. - (appt-make-list): Preserve explicit appointments. + * generic-x.el (generic-define-mswindows-modes) + (generic-define-unix-modes, apache-log-generic-mode) + (bat-generic-mode-keymap, java-manifest-generic-mode) + (show-tabs-generic-mode): Fix typos in docstrings. - * subr.el (find-tag-default): Catch errors in forward-sexp. +2007-06-29 Ryan Yeske -2005-02-23 Juri Linkov + * net/rcirc.el (rcirc-server-alist): Rename from rcirc-connections. + (rcirc-default-full-name): Rename from rcirc-default-user-full-name. + (rcirc-clear-activity): Make sure RCIRC-ACTIVITY isn't modified. + (rcirc-print): Never ignore messages from ourself. - * info.el (Info-isearch-search): New defcustom. - (Info-isearch-search): Call the default isearch function - when Info-isearch-search is nil. - (Info-isearch-wrap): Use variable Info-isearch-search. +2007-06-29 Stefan Monnier -2005-02-22 Luc Teirlinck + * font-lock.el (lisp-font-lock-keywords-2): Recognize the new \(?1:..\) + syntax as well. Reported by Juri Linkov . - * cus-edit.el: Comment change. +2007-06-28 Jan Dj,Ad(Brv -2005-02-22 Kim F. Storm + * dnd.el (dnd-get-local-file-name): Set fixcase to t in call to + replace-regexp-in-string. - * progmodes/hideif.el (hide-ifdef-use-define-alist): - Use completing-read. Suggested by Juan-Leon Lahoz Garcia. +2007-06-28 Stefan Monnier -2005-02-22 Simon Josefsson + * emacs-lisp/cl.el: Set edebug and indentation before loading + cl-loaddefs.el so that its use of dolist doesn't load cl-macs. - * net/browse-url.el (browse-url-netscape-new-window-is-tab): - New variable. - (browse-url-netscape): Use it. Suggested by "Johann 'Myrkraverk' - Oskarsson" . +2007-06-28 Andreas Schwab -2005-02-22 Kim F. Storm + * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Depend on + $(lisp)/subdirs.el. - * mouse.el (mouse-on-link-p): If arg POS is a mouse event, - check that window of that event is the selected window. - (mouse-drag-region-1): Compare mouse event window to selected - window before setting point. +2007-06-28 Juanma Barranquero - * tooltip.el (tooltip-show-help-function): Pass event to - mouse-on-link-p so it can check selected window. + * speedbar.el (speedbar-handle-delete-frame): Don't try to delete + the speedbar frame if nil; that deletes the current frame or + causes an error if it is the only frame. + Reported by Angelo Graziosi . -2005-02-22 Kenichi Handa +2007-06-28 Kevin Ryde - * ps-mule.el (ps-mule-header-string-charsets): Delete it. - (ps-mule-show-warning): New function. - (ps-mule-begin-job): Use ps-mule-show-warning if unprintable - characters are found. + * textmodes/nroff-mode.el: Groff \# comments. + (nroff-mode-syntax-table): \# comment intro, + plain # as punct per global table. + (nroff-font-lock-keywords): Add # as a single char escape. + (nroff-mode): In comment-start-skip, match \#. - * ps-print.el (ps-header-footer-string): Return a list of header - and footer strings. +2007-06-28 Stefan Monnier -2005-02-21 Wolfgang Jenkner (tiny change) + * vc-bzr.el (vc-functions): Clear up the cache when reloading the file. + (vc-bzr-workfile-version, vc-bzr-could-register): Don't hardcode + point-min == 1. - * pcvs.el (cvs-retrieve-revision): Fix thinko. +2007-06-28 Nick Roberts -2005-02-21 Stefan Monnier + * pcvs-util.el (cvs-strings->string, cvs-string->strings): + Rename and move to... - * frame.el (blink-cursor-mode): Use define-minor-mode. + * subr.el (strings->string, string->strings): ...here. - * term/mac-win.el (function-key-map): Use char-names more consistently. - (file-name-coding-system): Only set it for MacOS-9. The other case is - already handled in mule-cmds.el (where it also works when mac-win.el - is not used). + * pcvs.el (cvs-reread-cvsrc, cvs-header-msg, cvs-checkout) + (cvs-mode-checkout, cvs-execute-single-file): Use new function names. -2005-02-21 Kenichi Handa + * progmodes/gud.el (gud-common-init): Call string->strings instead + of split-string. - * international/mule.el (ctext-pre-write-conversion): Always use - " *code-converting-work*" buffer for work. +2007-06-27 Michael Albinus - * textmodes/ispell.el (ispell-dictionary-alist): Fix docstring. + * dired-aux.el: Remove `dired-call-process'. + (dired-check-process): Call `process-file'. -2005-02-20 Thien-Thi Nguyen + * wdired.el (wdired-do-perm-changes): Call `process-file'. - * progmodes/scheme.el (scheme-font-lock-keywords-2): Handle named-let. + * net/ange-ftp.el (ange-ftp-dired-call-process): Reimplement it as + `ange-ftp-process-file'. -2005-02-20 Jonathan Yavner +2007-06-27 Stefan Monnier - * ses.el (undo-more): Restore defadvice, but only the part that - allows changes outside the restricted area of the buffer. + * emacs-lisp/cl.el: Use cl-loaddefs.el rather than manual autoloads. -2005-02-20 Kim F. Storm + * emacs-lisp/cl-extra.el: + * emacs-lisp/cl-seq.el: + * emacs-lisp/cl-macs.el: Set generated-autoload-file to cl-loaddefs.el. + Add autoload cookies on all defs autoloaded manually in cl.el. - * simple.el (line-move): Add fourth optional arg try-vscroll which - must be set to perform auto-window-vscroll. - When moving backwards and doing auto-window-vscroll, automatically - vscroll to the last part of lines which are taller than the window. - (next-line, previous-line): Set try-vscroll arg on line-move. + * emacs-lisp/cl-loaddefs.el: New file. -2005-02-19 Dan Nicolaescu + * textmodes/texinfmt.el (texinfo-raisesections-alist) + (texinfo-lowersections-alist): Merge definition and declaration. + (texinfo-start-of-header, texinfo-end-of-header): Remove. + (texinfo-format-syntax-table): Merge init into declaration. + (texinfo-format-parse-line-args, texinfo-format-parse-args) + (texinfo-format-parse-defun-args, texinfo-format-node) + (texinfo-push-stack, texinfo-multitable-widths) + (texinfo-define-info-enclosure, texinfo-alias) + (texinfo-format-defindex, batch-texinfo-format): Use push. + (texinfo-footnote-number): Remove duplicate declaration. - * replace.el (query-replace, query-replace-regexp) - (replace-string, replace-regexp): When operating on region, make - the minibuffer prompt say so. + * ps-print.el: Update with auto-generated autoloads. - * isearch.el (isearch-forward): Document isearch-query-replace and - isearch-query-replace-regexp keybindings. + * ps-mule.el: Set generated-autoload-file to "ps-print.el". -2005-02-19 Jay Belanger +2007-06-26 Stefan Monnier - * calc/calc-aent.el (math-read-token): Add local variable. + * emacs-lisp/autoload.el (autoload-generated-file): Interpret names + relative to current dir for file-local settings. + (autoload-generate-file-autoloads): Add `outfile' arg. + (update-directory-autoloads): Use it to directly call + autoload-generate-file-autoloads instead of going through + update-file-autoloads so we avoid redundant searches and so we can know + the set of buffers changed so we can save them all. - * calc/calc-prog.el (calc-user-define-edit): Add local variable. - (calc-edit-top): Move declaration to earlier in file. - (calc-edit-macro-repeats): Add local variables. + * emacs-lisp/autoload.el (autoload-find-destination): Return nil + rather than throwing `up-to-date'. + (autoload-generate-file-autoloads): Adjust correspondingly. + (update-file-autoloads): Be careful to let-bind + autoload-modified-buffers and adjust to new calling conventions. + (autoload-modified-buffers): Make it a dynamically scoped var. + (update-directory-autoloads): Use file-relative-name instead of + autoload-trim-file-name. + (autoload-insert-section-header): Don't use autoload-trim-file-name + since the file is already relative now. + (autoload-trim-file-name): Remove. - * calc/calcalg2.el: Add differentiation rule for calcFunc-coth. - Adjust differentiation rules for calcFunc-tan, calcFunc-cot, - calcFunc-tanh. - Adjust integration rule for calcFunc-tan. + * vc-arch.el (vc-arch-add-tagline): Do a slightly cleaner job. + (vc-arch-complete, vc-arch--version-completion-table) + (vc-arch-revision-completion-table): New functions to provide + completion of revision names. + (vc-arch-trim-find-least-useful-rev, vc-arch-trim-make-sentinel) + (vc-arch-trim-one-revlib, vc-arch-trim-revlib): New functions + to let the user trim the revlib. -2005-02-19 Michael Kifer + * vc.el: Add new VC operation `revision-completion-table'. + (vc-default-revision-completion-table): New function. + (vc-version-diff, vc-version-other-window): Use it to provide + completion of revision names if the backend provides it. - * emulation/viper-cmd.el (viper-prefix-commands): Make into a defconst. - (viper-exec-buffer-search): Use regexp-quote to quote buffer string. - (viper-minibuffer-setup-sentinel): Make some variables buffer-local. - (viper-skip-separators): Bug fix. - (viper-set-searchstyle-toggling-macros): Allow to unset macros in a - particular major mode. - (viper-del-backward-char-in-replace): Don't put deleted char on the - kill ring. + * log-edit.el (log-edit-changelog-entries): Use with-current-buffer. - * emulation/viper-ex.el (viper-color-display-p): New function. - (viper-has-face-support-p): Use viper-color-display-p. + * vc-svn.el (vc-svn-repository-hostname): Adjust to non-XML format + of newer .svn/entries. - * emulation/viper-keym.el (viper-gnus-modifier-map): New keymap. +2007-06-25 David Kastrup - * emulation/viper-macs.el (viper-unrecord-kbd-macro): Bug fix. + * calc/calc-poly.el (math-padded-polynomial) + (math-partial-fractions): Add some function comments. - * emulation/viper-util.el (viper-glob-unix-files): - Fix shell status check. - (viper-file-remote-p): Make equivalent to file-remote-p. +2007-06-25 Stefan Monnier - * emulation/viper.el (viper-major-mode-modifier-list): - Use viper-gnus-modifier-map. + * emacs-lisp/autoload.el (autoload-generate-file-autoloads): + Make `outbuf' optional. + (update-file-autoloads): Use it. -2005-02-19 David Kastrup +2007-06-25 Stefan Monnier - * subr.el (subregexp-context-p): Fix garbled doc string by adding - quoting. + * emacs-lisp/autoload.el (autoload-modified-buffers): New var. + (autoload-find-destination): Keep it uptodate. + (autoload-save-buffers): New fun. + (update-file-autoloads): Use it. Re-add the "up to date" message. -2005-02-19 Jay Belanger + * emacs-lisp/autoload.el: Refactor for upcoming changes. + (autoload-find-destination): New function extracted from + update-file-autoloads. + (update-file-autoloads): Use it. + (autoload-generate-file-autoloads): New function extracted from + generate-file-autoloads. Use file-relative-name. Delay computation of + output-start to the first cookie. Remove done-any, replaced by + output-start. + (generate-file-autoloads): Use it. - * calc/calc-math.el (calc-arctan, calc-tanh, calc-arctanh): - Remove extra definitions. - (calc-coth): New function. - (calcFunc-cot): Fix `let'. +2007-06-24 Jay Belanger -2005-02-19 Eli Zaretskii + * calc/calc-comb.el (math-init-random-base, math-prime-test): + Use math-read-number-simple to insert constants. + (math-prime-test): Redo calculation of sum. - * faces.el (escape-glyph, minibuffer-prompt): Add commentary for - the reasons we use "type pc" in these faces. + * calc/calc-misc.el (math-div2-bignum): Use math-bignum-digit-size. - * button.el (button): Ditto. + * calc/calc-math.el (math-scale-bignum-digit-size): Rename from + math-scale-bignum-3. + (math-isqrt-bignum): Use math-scale-bignum-digit-size and + math-bignum-digit-size. + (math-isqrt-small): Add another possible initial guess. -2005-02-19 Michael Mauger +2007-06-23 Roland Winkler - * replace.el (query-replace-read-from): Set the value of - query-replace-from-history-variable to handle the case of an empty - string entered to accept the suggested default. + * textmodes/bibtex.el (bibtex-entry-format): New options + `whitespace', `braces', and `string'. + (bibtex-field-braces-alist, bibtex-field-strings-alist) + (bibtex-field-braces-opt, bibtex-field-strings-opt) + (bibtex-cite-matcher-alist): New variables. + (bibtex-font-lock-keywords): Use bibtex-cite-matcher-alist. + (bibtex-flash-head): Use blink-matching-delay. + (bibtex-insert-kill, bibtex-mark-entry): Use push-mark. + (bibtex-format-entry, bibtex-reformat): Handle new options of + bibtex-entry-format. + (bibtex-field-re-init, bibtex-font-lock-cite, bibtex-dist): + New functions. + (bibtex-complete-internal): Do not display messages while + minibuffer is used. Do not leave around a completions buffer + that is out of date. + (bibtex-copy-summary-as-kill): New optional arg. + (bibtex-font-lock-url): New optional arg no-button. + (bibtex-find-crossref): Use `bibtex-cite-matcher-alist'. + (bibtex-url): Allow multiple URLs per entry. + +2007-06-23 Stefan Monnier + + * emacs-lisp/autoload.el (autoload-generated-file): New function. + (update-file-autoloads, update-directory-autoloads): Use it. + (autoload-file-load-name): New function. + (generate-file-autoloads, update-file-autoloads): Use it. + (autoload-find-file): Accept non-absolute argument. Set default-dir. + (generate-file-autoloads): If the autoloaded form is malformed, + indicate the problem with a warning instead of aborting. - * net/tramp.el (tramp-file-name-for-operation): - Use dired-call-process instead of dired-call-process-command. +2007-06-23 Thien-Thi Nguyen -2005-02-19 Jay Belanger + * simple.el (next-error-recenter): Accept `(4)' as well; + also, specify `integer' instead of `number'. - * calc/calc-arith.el (math-trig-inverses, math-div-trig) - (math-div-non-trig): New variables. - (math-combine-prod-trig, math-div-new-trig, math-div-new-non-trig) - (math-div-isolate-trig, math-div-isolate-trig-term): New functions. - (math-combine-prod, math-div-symb-fancy): Add simplifications for - trig expressions. +2007-06-23 Eli Zaretskii -2005-02-19 Nick Roberts + * ls-lisp.el (insert-directory): If an invalid regexp error is + thrown, try using FILE as a literal file name, not a wildcard. - * progmodes/gdb-ui.el (gdb-var-update-handler) - (gdb-speedbar-timer-fn): Ensure speedbar updates with new values - for watch expressions, - (gdb-var-create-handler): Don't set speedbar-update-flag. - (gdb-post-prompt): Simplify test for speedbar. +2007-06-23 Juanma Barranquero -2005-02-19 Michael Kifer + * ruler-mode.el (ruler-mode): Prevent clobbering the original + `header-line-format' when reentering ruler mode. - * ediff.el (ediff-set-diff-overlays-in-one-buffer) - (ediff-set-fine-overlays-in-one-buffer, ediff-goto-word): Make sure - we use the syntax table of the correct buffer. - (ediff-same-file-contents, ediff-same-contents): Enhancements thanks to - Felix Gatzemeier. +2007-06-23 Eli Zaretskii - * ediff-init.el (ediff-hide-face): Check for definedness of functions. - (ediff-file-remote-p): Make synonymous with file-remote-p. - In all deffaces ediff-*-face-*, use min-colors. + * ls-lisp.el (insert-directory): Don't treat FILE as a wildcard if + FILE exists as a file. - * ediff-mult.el (ediff-meta-mark-equal-files): Make use of - ediff-recurse-to-subdirectories. - (ediff-mark-if-equal): Check that the arguments are strings, use - ediff-same-contents (after to Felix Gatzemeier). +2007-06-22 Jay Belanger - * ediff.el (ediff-merge-on-startup): Don't set buffer-modified-p to - nil. + * calc/calc.el (math-bignum-digit-length) + (math-bignum-digit-size, math-small-integer-size): + New constants. + (math-normalize, math-bignum-big, math-make-float) + (math-div10-bignum, math-scale-left, math-scale-left-bignum) + (math-scale-right, math-scale-right-bignum, math-scale-rounding) + (math-add, math-add-bignum, math-sub-bignum, math-sub, math-mul) + (math-mul-bignum, math-mul-bignum-digit, math-idivmod) + (math-quotient, math-div-bignum, math-div-bignum-digit) + (math-div-bignum-part, math-format-bignum-decimal) + (math-read-bignum): Use math-bignum-digit-length, + math-bignum-digit-size and math-small-integer-size. -2005-02-18 Stefan Monnier + * calc/calc-ext.el (math-fixnum-big): Use the variable + math-bignum-digit-size. - * log-view.el (log-view-message-re): Fix up Subversion regexp. +2007-06-23 Dan Nicolaescu -2005-02-18 David Kastrup + * log-view.el (log-view-mode-menu): New menu. - * progmodes/meta-mode.el (meta-mark-active): Fix condition to just - use `mark-active' when defined. +2007-06-22 Stefan Monnier -2005-02-18 Kenichi Handa + * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change + differently. - * ps-print.el (ps-font-info-database): New entry - ZapfChancery-MediumItalic with correct font name. Fix font name - of the entry Zapf-Chancery-MediumItalic. + * vc-hg.el (vc-hg-registered): Add an autoloaded version. + (vc-hg-log-view-mode): Use log-view-font-lock-keywords. -2005-02-16 Luc Teirlinck +2007-06-22 Dan Nicolaescu - * autorevert.el (auto-revert-stop-on-user-input): Further doc fix. + * vc-hg.el (vc-hg-print-log): Insert the file name. + (vc-hg-log-view-mode): Fontify the file name. -2005-02-16 Kim F. Storm +2007-06-22 Jay Belanger - * ido.el (ido-fallback-command): Pass user input to fallback command. + * calc/calc-forms.el (math-format-date-part, calc-parse-standard-date) + (calcFunc-julian): Fix incorrect number used in calculations. -2005-02-16 Nick Roberts +2007-06-22 Thien-Thi Nguyen - * progmodes/gdb-ui.el (gdb-set-gud-minor-mode-existing-buffers) - (gdb-find-file-hook): Add server prefix. + * simple.el (next-error-recenter): New defcustom. + (next-error, next-error-internal): Recenter if specified, + immediately prior to running `next-error-hook'. -2005-02-16 Richard M. Stallman + * progmodes/hideshow.el (hs-show-block): Use line-end-position. + (hs-hide-block-at-point, hs-hide-comment-region): Likewise. - * replace.el (perform-replace): Pass new args to replace-highlight. - (replace-highlight): Take region args, - and pass them to isearch-lazy-highlight-new-loop. + * progmodes/hideshow.el (hs-hide-all): Use progress reporter. - * novice.el (disabled-command-hook): Autoload the defalias - and the make-obsolete-variable call. +2007-06-22 Jay Belanger - * menu-bar.el (menu-bar-select-frame): FRAME defaults to selected. + * calc/calc-comb.el (math-small-factorial-table): New variable. + (calcFunc-fact): Use `math-small-factorial-table'. - * isearch.el (isearch-lazy-highlight-start-limit) - (isearch-lazy-highlight-end-limit): New variables limit - the region for highlighting. - (isearch-lazy-highlight-new-loop): New args BEG and END. - (isearch-lazy-highlight-search): Use the new vars. - (isearch-lazy-highlight-update): Likewise. + * calc/calc-ext.el (math-defcache): Allow forms to evaluate + initial values. + (math-approx-pi, math-approx-sqrt-e, math-approx-gamma-const): + New variables to use in caches. - * dired.el (dired-build-subdir-alist): Bind buffer-undo-list to t. + * calc/calc-forms.el (math-format-date-part, math-parse-standard-date) + (calcFunc-julian): Use `math-read-number-simple' to insert bignums. - * cus-start.el (all): Use default-boundp. + * calc/calc-func.el (math-besJ0, math-besJ1, math-besY0, math-besY1) + (math-bernoulli-b-cache): Use math-read-number-simple to insert + bignums. -2005-02-15 David Casperson (tiny change) + * calc/calc-math.el (math-approx-ln-10, math-approx-ln-2): + New variables to use in caches. - * menu-bar.el (menu-bar-select-frame): Handle current frame. +2007-06-22 Dan Nicolaescu -2005-02-15 Luc Teirlinck + * vc-bzr.el (vc-bzr-log-view-mode): Add + to the email address regexp. - * autorevert.el (auto-revert-stop-on-user-input) - (auto-revert-verbose): Doc fixes. + * vc-hg.el (vc-hg-log-view-mode): New mode. -2005-02-15 Benjamin Riefenstahl +2007-06-21 Jay Belanger - * international/mule-cmds.el (set-locale-environment): Remove call - to set-selection-coding-system on Windows. + * calc/calc.el (math-read-number-simple): New function. -2005-02-15 Jay Belanger +2007-06-21 Stefan Monnier - * calc/calc-alg.el: Add simplification rules for calcFunc-sec, - calcFunc-csc, calcFunc-cot, calcFunc-sech, calcFunc-csch, and - calcFunc-coth. - (math-simplify-sqrt): Add simplifications. + * progmodes/vera-mode.el (vera-mode): Fix `commend-end-skip' setting. + (vera-font-lock-match-item): Fix doc string. + (vera-in-comment-p): Remove unused function. + (vera-skip-forward-literal, vera-skip-backward-literal): Improve code, + use `syntax-ppss'. + (vera-forward-syntactic-ws): Fix argument order. + (vera-prepare-search): Use `with-syntax-table'. + (vera-indent-line): Fix doc string. + (vera-electric-tab): Fix doc string. + (vera-expand-abbrev): Define alias instead of using `fset'. + (vera-comment-uncomment-region): Use `comment-start-skip'. - * calc/calc-arith.el (math-real-if-arg-functions): Add functions - to list. +2007-06-21 Carsten Dominik - * calc/calc-ext.el: Add functions to autoloads. + * textmodes/org.el (org-export-with-footnotes): New option. + (org-export-as-html): Fix replacement bug for XEmacs. + (org-agenda-default-appointment-duration): New option. - * calc/calc-math.el (calc-sec, calc-csc, calc-cot, calc-sech) - (calc-csch, calc-coth, calcFunc-sec, calcFunc-csc, calcFunc-cot) - (calcFunc-sech, calcFunc-csch, calcFunc-coth, math-sec-raw) - (math-csc-raw, math-cot-raw): New functions. +2007-06-21 Dan Nicolaescu - * calc/calc-rules.el (calc-DistribRules, calc-NegateRules): Add rules. + * vc-hg.el: Add to do items. + (vc-hg-diff): Add support for comparing different revisions. + (vc-hg-diff, vc-hg-annotate-command, vc-hg-annotate-time) + (vc-hg-annotate-extract-revision-at-line) + (vc-hg-previous-version, vc-hg-checkin): New functions. + (vc-hg-annotate-re): New constant. - * calc/calc-undo.el (calc-handle-undo): Remove prefix from - the variable name in a message. +2007-06-20 Jay Belanger - * calc/calc-units.el: Add simplification rules for calcFunc-sec, - calcFunc-csc, calcFunc-cot. + * calc/calc.el (math-standard-ops): Fix precedence of multiplication. - * calc/calcalg2.el: Add derivative and integration rules for - calcFunc-sec, calcFunc-csc, calcFunc-cot, calcFunc-sech, - calcFunc-csch, calcFunc-coth. - (math-do-integral-methods): Add to checks for when to use - substitutions. +2007-06-20 Stefan Monnier - * calc/calccomp.el (math-eqn-special-funcs): Add functions to list. + * log-view.el (log-view-font-lock-keywords): Use `eval' to consult the + buffer-local value of log-view-*-re if applicable. + + * vc-bzr.el (vc-bzr-dir-state): Use setq rather than set. + Use vc-bzr-command rather than the ill defined vc-bzr-command*. + (vc-bzr-command*): Remove both (incompatible) versions. + (vc-bzr-do-command*): Remove. + (vc-bzr-with-process-environment, vc-bzr-std-process-invocation): + Remove by folding into its only caller vc-bzr-command. + (vc-bzr-command): Always set the environment, even when ineffective. + (vc-bzr-version): Minor fix up. + (vc-bzr-admin-dirname): New var. + (vc-bzr-bzr-dir): Remove. + (vc-bzr-root-dir): New fun. + (vc-bzr-registered): Use it. Add an autoloaded version. + (vc-bzr-responsible-p): Use vc-bzr-root-dir as well. + (vc-bzr-view-log-function): Remove. + (vc-bzr-log-view-mode): New major mode to replace it. + (vc-bzr-print-log): Only activate the old hack if needed. -2005-02-15 Lute Kamstra + * vc.el (vc-default-log-view-mode): New function. + (vc-print-log): Add new `log-view-mode' VC operation. - * emacs-lisp/lisp-mode.el (lisp-mode-variables): - Add ;;;###autoload to `outline-regexp'. Suggested by Stefan Monnier - . - (lisp-outline-level): Improve efficiency. Suggested by David - Kastrup . +2007-06-20 Juanma Barranquero -2005-02-15 Nick Roberts + * ido.el (ido-find-file-in-dir): Don't signal an error for + empty directories. - * progmodes/gdb-ui.el (gdb-find-file-unhook): New variable. - (gdb-set-gud-minor-mode, gdb-set-gud-minor-mode-1) - (gdb-set-gud-minor-mode-existing-buffers): New functions. - (gdb-find-file-hook): New hook. Add it to find-file-hook. - (gdb-info-breakpoints-custom, gdb-source-info): Simplify. + * add-log.el (change-log-mode): Set `show-trailing-whitespace'. -2005-02-14 Luc Teirlinck + * desktop.el (desktop-read): Run `desktop-not-loaded-hook' in the + directory where the desktop file was found, as the docstring says. + (desktop-kill): Use `read-directory-name'. - * cus-start.el (all): Comment change. +2007-06-20 Alan Mackenzie -2005-02-14 Lute Kamstra + * progmodes/cc-mode.el (c-remove-any-local-eval-or-mode-variables): + When removing lines, also remove the \n. Correction of patch of + 2007-04-21. - * cus-start.el (all): Check if symbol is void. +2007-06-20 Martin Rudalics -2005-02-14 Carsten Dominik + * mouse.el (mouse-drag-mode-line-1): Quit mouse tracking when + event is not a cons cell. Do not unread drag-mouse-1 events. + Select right window in check whether space was stolen from + window above. - * textmodes/reftex-cite.el (reftex-do-citation): Cleanup single - optional argument to \cite. + * help-mode.el (help-make-xrefs): Adjust position of new forward + button. -2005-02-14 Richard M. Stallman +2007-06-20 Riccardo Murri - * cus-edit.el (custom-buffer-create-internal): Update help message. - (custom-magic-alist): Update help messages. + * vc-bzr.el (vc-bzr-with-process-environment) + (vc-bzr-std-process-invocation): New macros. + (vc-bzr-command, vc-bzr-command*): Use them. + (vc-bzr-with-c-locale): Remove. + (vc-bzr-dir-state): Replace its use with vc-bzr-command. + (vc-bzr-buffer-nonblank-p): New function. + (vc-bzr-state-words): New const. + (vc-bzr-state): Look for `bzr status' keywords in output. + Display everything else as a warning message to the user. + Fix status report with bzr >= 0.15. - * cus-start.el (all): Allow a var to specify a standard value. +2007-06-20 Dan Nicolaescu -2005-02-12 Luc Teirlinck + * vc-hg.el (vc-hg-global-switches): Simplify. + (vc-hg-state): Handle more states. + (vc-hg-diff): Fix doc-string. + (vc-hg-register): New function. + (vc-hg-checkout): Likewise. - * custom.el (custom-theme-set-variables): Handle variable aliases. +2007-06-20 Reto Zimmermann - * frame.el (blink-cursor-timer): Doc fix. - (blink-cursor): Make it an alias for `blink-cursor-mode' and - declare obsolete. - (blink-cursor-mode): Define with defcustom and use correct - standard expression in that defcustom. - * startup.el (command-line): Adapt to above changes in frame.el. + * progmodes/vera-mode.el: New file. -2005-02-11 Lute Kamstra +2007-06-19 Jay Belanger - * apropos.el (apropos-score-doc): Prevent division by zero. + * calc/calc.el (calc-multiplication-has-precendence): + New variable. + (math-standard-ops, math-standard-ops-p, math-expr-ops): + New functions. + (math-expr-opers): Define using math-standard-ops rather than + math-standard-opers. + * calc/calc-aent.el (calc-do-calc-eval): Let math-expr-opers + equal the function math-standard-ops rather than the variable + math-standard-opers. + (calc-algebraic-entry): Let math-expr-opers equal + math-standard-ops or math-expr-ops, as appropriate. + (math-expr-read-level, math-read-factor): Let math-expr-opers + equal math-expr-ops. + * calc/calc-embed.el (calc-embedded-finish-edit): + Let math-expr-opers equal the function math-standard-ops + rather than the variable math-standard-opers. + * calc/calc-ext.el (math-read-plain-expr) + (math-format-flat-expr-fancy): Let math-expr-opers equal the + function math-standard-ops rather than the variable + math-standard-opers. + * calc/calc-lang.el (calc-set-language, math-read-big-rec): + Let math-expr-opers equal the function math-standard-ops rather + than the variable math-standard-opers. + * calc/calc-prog.el (calc-read-parse-table): Let math-expr-opers + equal the function math-standard-ops rather than the variable + math-standard-opers. + * calc/calc-yank.el (calc-finish-stack-edit): Let math-expr-opers + equal the function math-standard-ops rather than the variable + math-standard-opers. + * calc/calccomp.el (math-compose-expr): Let math-expr-opers equal + math-expr-ops. + +2007-06-19 Ivan Kanis -2005-02-11 Ulf Jasper + * vc-hg.el: New file. - * calendar/icalendar.el (icalendar--get-event-property): Doc fix. - (icalendar--get-event-property-attributes) - (icalendar--get-event-properties) - (icalendar--datetime-to-diary-date): New functions. - (icalendar--split-value): Doc fix. - (icalendar--datetime-to-noneuropean-date) - (icalendar--datetime-to-european-date): New optional argument - SEPARATOR. Return result as a string instead of a list. - (icalendar--get-weekday-number): Check if ABBREVWEEKDAY is nil. - (icalendar--convert-string-for-export): Rename arg S to STRING. - (icalendar-export-region): Doc fix. Change name of error buffer. - Save output buffer. - (icalendar-import-file): Add blank at end of prompt. - (icalendar-import-buffer): Doc fix. Do not switch to error - buffer. Indicate status in return value. - (icalendar--convert-ical-to-diary): Doc fix. Change name of error - buffer. Save output buffer. Handle exception from recurrence - rules (EXDATE, EXRULE). Handle start- and end-date of recurring - events. Fix problems with weekly all-day events. +2007-06-18 Stefan Monnier -2005-02-10 Richard M. Stallman + * progmodes/sh-script.el (sh-font-lock-paren): Mark the relevant text + with font-lock-multiline. - * simple.el (eval-expression-print-format): - Avoid warning about edebug-active. +2007-06-17 Glenn Morris - * help.el (help-for-help-internal): Rename from help-for-help. - (help-for-help): Define with defalias. + * lpr.el (lpr-page-header-switches): Move %s to separate element + for correct quoting. Doc fix. - * font-core.el (font-lock-default-function): Use with-no-warnings. +2007-06-17 Stefan Monnier - * cus-edit.el (custom-buffer-create-internal): Improve help-echo. + * textmodes/sgml-mode.el (sgml-xml-guess): Return the result rather + than setting sgml-xml-mode. + (sgml-mode, html-mode): Set sgml-xml-mode. + (sgml-skip-tag-backward): Tell if we skipped over matched tags. + (sgml-skip-tag-backward, sgml-electric-tag-pair-overlays): New var. + (sgml-electric-tag-pair-before-change-function) + (sgml-electric-tag-pair-flush-overlays): New functions. + (sgml-electric-tag-pair-mode): New minor mode. + (sgml-font-lock-keywords-2, sgml-get-context, sgml-unclosed-tag-p) + (sgml-calculate-indent): Use assoc-string. + +2007-06-16 Karl Fogel + + * thingatpt.el (thing-at-point-email-regexp): Don't require two + chars before the "@" in an email address. Andreas Roehler noticed + this problem. + +2007-06-15 Karl Fogel + + * thingatpt.el: Add support for email addresses (`email'). + (thing-at-point, bounds-of-thing-at-point): Document `email' support. + (thing-at-point-email-regexp): New variable. + (`email'): Put `bounds-of-thing-at-point' and `thing-at-point' + properties on this symbol, with lambda forms for values. + +2007-06-15 Masatake YAMATO + + * vc-bzr.el (vc-bzr-root): Cache the output of shell command execution. + + * vc.el (vc-dired-hook): Check the backend returned from + `vc-responsible-backend' can really handle `subdir'. + +2007-06-15 Chong Yidong + + * wid-edit.el (widget-add-documentation-string-button): + Fix handling of documentation indent. + +2007-06-15 Miles Bader + + * mb-depth.el: New file. + +2007-06-15 Masatake YAMATO + + * vc.el (vc-dired-mode): Show backend name as part of mode name. + +2007-06-14 Chong Yidong + + * wid-edit.el (widget-default-create): Move ?h handling here... + (widget-default-format-handler): ...from here. + (widget-docstring, widget-add-documentation-string-button): New funs. + (documentation-string): Add :visibility-widget property. + (widget-documentation-string-value-create): Use it. + + * cus-edit.el (custom-split-regexp-maybe): Simplify. + (custom-buffer-create-internal): Simplify message. + (custom-variable-tag): Reduce height to normal. + (custom-variable-value-create, custom-face-value-create) + (custom-visibility): New widget. + (custom-visibility): New face. + (custom-group-value-create): + Call widget-add-documentation-string-button, using `custom-visibility'. + +2007-06-14 Stefan Monnier + + * emacs-lisp/bytecomp.el (byte-compile-current-group) + (byte-compile-nogroup-warn, byte-compile-file): Revert part of last + change. Apparently the "warning even if the group is implicit" is + a feature rather than a bug. + +2007-06-14 Michael Kifer + + * emulation/viper.el (viper-describe-key-ad) + (viper-describe-key-briefly-ad): Different advices for Emacs and XEmacs. + Compile them conditionally. + (viper-version): Belated version change. + +2007-06-14 Juanma Barranquero + + * follow.el (follow-all-followers, follow-generic-filter): + * pcomplete.el (pcomplete-restore-windows): + * x-dnd.el (x-dnd-maybe-call-test-function, x-dnd-save-state) + (x-dnd-drop-data): + * emacs-lisp/edebug.el (edebug-pop-to-buffer, edebug-display): + * progmodes/python.el (python-complete-symbol): + * term/mac-win.el (mac-dnd-drop-data): Remove redundant check. + +2007-06-13 Ryan Yeske + + * net/rcirc.el (rcirc-format-response-string): Use rcirc-nick-syntax + around bright and dim regexps. Make sure bright and dim matches + use word anchors. Send text through rcirc-markup functions. + (rcirc-url-regexp): Add single quote character. + (rcirc-connect): Write logs to disk on auto-save-hook. + Make server a non-optional argument. + (rcirc-log-alist): New variable. + (rcirc-log-directory): Make customizable. + (rcirc-log-flag): New customizable variable. + (rcirc-log): New function. + (rcirc-print): Use above function. + (rcirc-log-write): New function. + (rcirc-generate-new-buffer-name): Strip text properties. + (rcirc-switch-to-buffer-function): Remove variable. + (rcirc-last-non-irc-buffer): Remove variable. + (rcirc-non-irc-buffer): Add function. + (rcirc-next-active-buffer): Use above function. + (rcirc-keepalive): Send KEEPALIVE ctcp instead of a PING. + (rcirc-handler-ctcp-KEEPALIVE): Add handler. + (rcirc-handler-CTCP): Don't print KEEPALIVE responses. + (rcirc-omit-mode): Add minor-mode. + (rcirc-mode-map): Change C-c C-o binding. + (rcirc-mode): Clear mode-line-process. Use a custom + fill-paragraph-function. Set up buffer-invisibility-spec. + (rcirc-response-formats): Remove timestamp code. + (rcirc-omit-responses): Add variable. + (rcirc-print): Don't put the overlay arrow on potentially omitted + lines. Log line to disk. Record activity for private messages + from /dim nicks. Facify the fill-prefix with rcirc-timestamp face. + (rcirc-jump-to-first-unread-line): Print message if there is no + unread text. + (rcirc-clear-unread): New function. + (rcirc-markup-text-functions): Add variable. + (rcirc-markup-timestamp, rcirc-markup-fill): Add functions. + (rcirc-debug): Don't mess with window configuration. + (rcirc-send-message): Send message before printing locally. + Add SILENT argument, do not print message if non-nil. + (rcirc-visible-buffers): New function and variable. + (rcirc-window-configuration-change-1): Add function. + (rcirc-target-buffer): Make sure ACTIONs don't get sent to the + server buffer. + (rcirc-clean-up-buffer): Set rcirc-target to nil when finished. + (rcirc-fill-paragraph): Add function. + (rcirc-record-activity, rcirc-window-configuration-change-1): + Only update the activity string if it has actually changed. + (rcirc-update-activity-string): Remove padding characters from the + mode-line string. + (rcirc-disconnect-buffer): New function to be called when a + channel is parted or the user quits. + (rcirc-server-name): Warn when the server-name hasn't been set. + (rcirc-window-configuration-change): Postpone work until + post-command-hook. + (rcirc-window-configuration-change-1): Update mode-line and + overlay arrows here. + (rcirc-authenticate): Fixc hanserv identification. + (rcirc-default-server): Remove variable. + (rcirc): Connect according to rcirc-connections. + (rcirc-connections): Add variable. + (rcirc-startup-channels-alist): Remove variable. + (rcirc-startup-channels): Remove function. + +2007-06-13 Stefan Monnier + + * diff-mode.el (diff-font-lock-keywords): Fix M. Kifer's last change. + +2007-06-13 Johan Bockg,Ae(Brd (tiny change) - * custom.el (defface): Doc fix. + * term/xterm.el (terminal-init-xterm): Escape parens in character + constants. -2005-02-10 Nick Roberts +2007-06-13 Stefan Monnier + + * progmodes/sh-script.el: Remove unneeded * from docstrings. + Use [:alpha:] and [:alnum:] where applicable. + (sh-quoted-subshell): Rewrite to correctly + handle nested mixes of `...' and $(...). + (sh-apply-quoted-subshell): Remove. + (sh-font-lock-syntactic-keywords): Adjust call to sh-quoted-subshell. + + * vc-arch.el (vc-arch-command): Remove bzr. It's a different program. + +2007-06-13 Michael Kifer + + * ediff-ptch.el (ediff-context-diff-label-regexp): Partially undo + previous change. + +2007-06-12 Tom Tromey + + * subr.el (user-emacs-directory): New defconst. + * cmuscheme.el (scheme-start-file): + * shell.el (shell): + * completion.el (save-completions-file-name): + * custom.el (custom-theme-directory): + * term/x-win.el (emacs-session-filename): + * filesets.el (filesets-menu-cache-file): + * thumbs.el (thumbs-thumbsdir): + * server.el (server-auth-dir): + * image-dired.el (image-dired-dir): + (image-dired-db-file): + (image-dired-temp-image-file): + (image-dired-gallery-dir): + (image-dired-temp-rotate-image-file): + * play/gamegrid.el (gamegrid-user-score-file-directory): + * savehist.el (savehist-file): + * tutorial.el (tutorial--saved-dir): + * startup.el (auto-save-list-file-prefix): Use user-emacs-directory. - * progmodes/gdb-ui.el (gdb-ann3): Re-instate GDB command "set - width 0" to prevent word wrapping problems. +2007-06-12 Ralf Angeli -2005-02-09 Kim F. Storm + * scroll-lock.el (scroll-lock-mode): Doc fix. - * ido.el (ido-file-extensions-order): New defcustom. - (ido-file-extension-lessp, ido-file-extension-aux) - (ido-file-extension-order): New advanced file ordering. - (ido-file-lessp): New simple file ordering. - (ido-sort-list): Remove. - (ido-make-file-list): Use ido-file-lessp or ido-file-extension-lessp. - (ido-make-dir-list, ido-completion-help): Use ido-file-lessp. +2007-06-12 Michael Kifer -2005-02-08 Dan Nicolaescu + * ediff-ptch.el (ediff-context-diff-label-regexp): Spurious parenthesis. - * progmodes/grep.el (grep-regexp-alist): Match an optional ^[[K - that some versions of grep produce. - (grep-mode-font-lock-keywords): Likewise. + * ediff-init.el: Doc strings. -2005-02-09 Nick Roberts +2007-06-12 Stefan Monnier - * progmodes/gdb-ui.el (gdb-location-list): New variable. - (gdb-cdir): Delete. - (gdb-info-breakpoints-custom, gdb-goto-breakpoint) - (gdb-source-info): Treat case when source file is in another - directory properly. - (gdb-get-location): New function. + * emacs-lisp/bytecomp.el (byte-compile-current-group): New var. + (byte-compile-file): Bind it. + (byte-compile-nogroup-warn): Use it to avoid spurious warnings when the + group argument is provided implicitly. + (byte-compile-format-warn, byte-compile-from-buffer) + (byte-compile-insert-header): Don't hardcode point-min==1. + (byte-compile-file-form-require): Remove unused var old-load-list. + (byte-compile-eval): Remove unused vars old-autoloads and hist-nil-new. -2005-02-07 Jay Belanger +2007-06-12 Michael Kifer - * calc/calc-prog.el (calc-write-parse-table-part) - (calc-fix-token-name): Fix a check for language type. + * emulation/viper-cmd.el (viper-prefix-arg-com, viper-prefix-arg-value): + Display error messages. + (viper-prev-destructive-command, viper-insert-prev-from-insertion-ring): + Get rid of cl.el dependencies. - * calc/calccomp.el (math-compose-expr): Fix a check for language type. + * emulation/viper-init.el (viper-suppress-input-method-change-message): + New variable. + (viper-activate-input-method-action) + (viper-inactivate-input-method-action): + Use viper-suppress-input-method-change-message. -2005-02-07 Andre Spiegel + * emulation/viper-kem.el (viper-vi-basic-map): Disable the bindings + for C-s, C-r. - * vc-hooks.el (vc-make-version-backup): Ignore file-errors such - as directory not writable. + * emulation/viper-util.el (viper-set-cursor-color-according-to-state): + Use viper-replace-overlay-cursor-color instead of + viper-replace-overlay-cursor-color. + (viper-sit-for-short): Use sit-for with 3 arguments. -2005-02-07 Kim F. Storm + * emulation/viper.el (viper-insert-state-mode-list): Add gud-mode. + (viper-major-mode-modifier-list): Add viper-comint-mode-modifier-map + to gud-mode. - * emulation/cua-base.el (cua-max-undo, cua-undo): Remove. - (cua--standard-movement-commands): Remove list. - Instead, set CUA property value to move for movement commands. - (cua-movement-commands): Remove. Users must set CUA prop instead. - (cua--pre-command-handler): Check CUA property. - (cua--init-keymaps): Don't remap undo commands. - (cua-mode): Don't call cua--rectangle-on-off. + * ediff-mult.el (ediff-meta-buffer-brief-message) + (ediff-meta-buffer-verbose-message): New variables. + (ediff-meta-buffer-message): Variable deleted. + (ediff-verbose-help-enabled): New variable. + (ediff-toggle-verbose-help-meta-buffer): New function. + (ediff-redraw-directory-group-buffer): Made aware of short/verbose + message options. - * emulation/cua-rect.el (cua--undo-list, cua--tidy-undo-counter) - (cua--rect-undo, cua--tidy-undo-lists, cua--rectangle-on-off): Remove. - (cua--rect-undo-set-point): New var. - (cua--rectangle-undo-boundary): Setup undo apply entry. - (cua--rect-undo-handler): New function for rectangle undo. - (cua--rect-start-position, cua--rect-end-position): Add. - (cua--rectangle-post-command): Call cua--rectangle-set-corners - for restored rectangle. Set point if cua--rect-undo-set-point. + * ediff-ptch.el (ediff-context-diff-label-regexp): Better regexp. + (ediff-fixup-patch-map): Improve heuristic. -2005-02-06 Jay Belanger +2007-06-12 Stefan Monnier - * calc/calc-lang.el (calc-tex-language): Display more information - in messages. + * log-view.el (log-view-file-re, log-view-message-re): Use \(?1:...\). + (log-view-font-lock-keywords): Simplify. + (log-view-current-file, log-view-current-tag): Simplify. - * calc/calccomp.el (math-compose-expr): Allow multiline matrices - in TeX mode. +2007-06-12 Sam Steingold -2005-02-06 Richard M. Stallman + * vc-arch.el (vc-arch-command): Also try "baz" and "bzr". - * emacs-lisp/lisp.el (buffer-end): Doc fix. +2007-06-12 Juanma Barranquero -2005-02-05 Arne J,Ax(Brgensen (tiny change) + * desktop.el (desktop-load-locked-desktop): New option. + (desktop-read): Use it. + (desktop-truncate, desktop-outvar, desktop-restore-file-buffer): + Use `when'. - * net/ldap.el (ldap-search-internal): Support attributes with - optional descriptions separated by a semi-colon, as in - "userCertificate;binary". +2007-06-12 Davis Herring -2005-02-05 Jan Dj,Ad(Brv + * desktop.el (desktop-save-mode-off): New function. + (desktop-base-lock-name, desktop-not-loaded-hook): New variables. + (desktop-full-lock-name, desktop-file-modtime, desktop-owner) + (desktop-claim-lock, desktop-release-lock): New functions. + (desktop-kill): Tell `desktop-save' that this is the last save. + Release the lock afterwards. + (desktop-buffer-info): New function. + (desktop-save): Use it. Run `desktop-save-hook' where the doc + says to. Detect conflicts, and manage the lock. + (desktop-read): Detect conflicts. Manage the lock. - * x-dnd.el (x-dnd-handle-xdnd): Handle the case where the flags - isn't a cons (i.e. the version is 0). +2007-06-12 Stefan Monnier -2005-02-05 Eli Zaretskii + * emulation/tpu-mapper.el (tpu-emacs-map-key): Use new keymap names. - * help.el (help-for-help): Doc fix. + * emulation/tpu-edt.el (tpu-gold-map): Rename from GOLD-map. + (tpu-lucid-emacs-p): Remove. Use (featurep 'xemacs) instead. + (CSI-map, GOLD-CSI-map, GOLD-SS3-map, SS3-map): Delete vars. + (tpu-gold-map, tpu-global-map): Add all the SS3 and CSI bindings, using + keysyms rather than byte sequences. + (tpu-copy-keyfile): Don't force the user to use tpu-mapper.el. -2005-02-05 Nick Roberts +2007-06-11 Stefan Monnier - * progmodes/gdb-ui.el: Update copyright. Put GDB-Frames before - GDB-Windows on the menu-bar as this works better. + * font-lock.el (font-lock-add-keywords): In case font-lock was only + half-activated, forcefully activate it completely. -2005-02-04 Jay Belanger +2007-06-11 Richard Stallman - * calc/calc-embed.el (calc-embedded-update): Don't put in - unnecessary newlines. Adjust the end of formula marker. + * cus-edit.el (custom-variable-type): Doc fix. - * calc/calc-lang.el (math-latex-parse-frac): Don't use arguments. - (math-latex-parse-two-args): New function. +2007-06-11 Stefan Monnier -2005-02-03 Lute Kamstra + * progmodes/sh-script.el (sh-font-lock-backslash-quote) + (sh-font-lock-flush-syntax-ppss-cache): New functions. + (sh-font-lock-syntactic-keywords): Use them to distinguish the + different possible cases for \'. - * help-fns.el (help-with-tutorial): Make sure that users cannot - remove the entire text of the tutorial by means of `undo'. + * complete.el (PC-bindings): Don't bind things already bound in the + parent keymap. -2005-02-03 Stefan Monnier + * textmodes/bibtex-style.el: New file. - * textmodes/ispell.el (ispell-internal-change-dictionary): Fix problem - in recent changes, where the ispell process was repeatedly - killed & restarted. +2007-06-11 Riccardo Murri - * international/mule-cmds.el (set-locale-environment): Set file-name - coding system to utf-8 on Darwin systems. - (set-default-coding-systems): Don't set default-file-name-coding-system - on Darwin systems. + * vc-bzr.el: New file. -2005-02-03 Richard M. Stallman +2007-06-11 Stefan Monnier - * hi-lock.el (hi-lock-mode): Turning on Hi-Lock turns on Font-Lock. + * vc-svn.el (vc-svn-program): New var. + (vc-svn-command): Use it. -2005-02-03 Matt Hodges +2007-06-11 Juanma Barranquero - * faces.el (list-faces-display): Add optional argument. + * server.el (server-switch-buffer): Remove redundant check. -2005-02-02 Stefan Monnier +2007-06-10 Martin Rudalics - * font-core.el (font-lock-default-function): Handle the rare case where - only font-lock-keywords is set. + * emacs-lisp/bytecomp.el (byte-compile-find-cl-functions): + Match against file-name-nondirectory. + Fix text on user customization variables. + Reported by Johan Bockg,Ae(Brd . -2005-02-02 Kenichi Handa +2007-06-09 Alfred M. Szmidt (tiny change) - * international/characters.el: Cancel previous change for - I-WITH-DOT-ABOVE and DOTLESS-i. + * mail/rmail.el (rmail-movemail-variant-in-use): Fix doc typo. - * international/latin-5.el: Cancel previous change. +2007-06-09 Davis Herring -2005-02-02 Nick Roberts + * desktop.el (desktop-minor-mode-table): Doc fix. - * progmodes/gud.el: Correction to syntax in gud-menu-map. +2007-06-08 Stefan Monnier -2005-02-02 Kenichi Handa + * textmodes/css-mode.el (css-navigation-syntax-table): + Use set-char-table-range so it also works in the unicode branch. - * international/latin-5.el (tbl): Setup cases of I-WITH-DOT-ABOVE, - DOTLESS-i. +2007-06-08 Nick Roberts - * international/characters.el: Setup cases of GREEK-FINAL-SIGMA, - Y-WITH-DIAERESIS, I-WITH-DOT-ABOVE, DOTLESS-i. + * help-mode.el (help-xref-forward-stack) + (help-xref-stack-forward-item, help-forward-label): New variables. + (help-forward): New button type. + (help-setup-xref): Initialise help-xref-forward-stack. + (help-make-xrefs): Add forward button, if appropriate. + (help-xref-go-back): Push item on forward stack. + (help-xref-go-forward, help-go-forward): New functions. - * case-table.el (get-upcase-table): New function. - (copy-case-table): Copy upcaes table too if non-nil. - (set-case-syntax-delims): Maintain upcase table too. - (set-case-syntax-pair): Likewise. - (set-upcase-syntax, set-downcase-syntax): New functions. - (set-case-syntax): Maintain upcase table too. +2007-06-07 Chong Yidong -2005-02-02 Nick Roberts + * dired.el (dired-mode-map): Remove spurious separator. - * progmodes/gdb-ui.el (gdb-goto-info): Delete. +2007-06-07 Juanma Barranquero - * progmodes/gud.el (gud-goto-info): New function. - (gud-tool-bar-map): Use correct icon. + * progmodes/ebrowse.el (ebrowse-draw-file-member-info): Doc fix. -2005-02-01 Thien-Thi Nguyen + * progmodes/mixal-mode.el (mixal-operation-codes-alist): + * progmodes/idlwave.el (idlwave-one-key-select): Fix typo in docstring. - * emacs-lisp/lisp-mode.el (lisp-indent-function): Fix bug: - When delegating, order args in the funcall correctly. +2007-06-07 Carsten Dominik -2005-02-01 Thien-Thi Nguyen + * textmodes/org.el: Version number fixed. - * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix. +2007-06-07 Glenn Morris -2005-02-01 Carsten Dominik + * version.el (emacs-copyright): New constant. + * startup.el (fancy-splash-tail): Use emacs-copyright. + * calc/calc-help.el (calc-full-help): Use emacs-copyright. - * textmodes/reftex.el (reftex-access-scan-info): Error out in a - buffer not visiting a file. + * emacs-lisp/bytecomp.el (byte-compile-warnings): Add new option + `make-local'. + (byte-compile-warnings-safe-p): Add `make-local'. + (byte-compile-make-variable-buffer-local): + Allow byte-compile-warnings to suppress this warning. -2005-01-31 Jay Belanger + * tutorial.el (tutorial--describe-nonstandard-key): Adjust for new + format of "menu" description. + (tutorial--find-changed-keys): Describe the specific menu a + command is in. - * calc/calc-embed.el (calc-embedded-find-bounds): Set the formula - bound on the line with the formula. + * dframe.el (dframe-frame-parameter, dframe-mouse-event-p): + Rewrite compatibility functions to silence byte-compiler. -2005-01-31 Kim F. Storm +2007-06-07 Alfred M. Szmidt (tiny change) - * ses.el (ses-create-cell-variable-range) - (ses-destroy-cell-variable-range, ses-reset-header-string) - (ses-set-with-undo, ses-unset-with-undo, ses-aset-with-undo) - (ses-insert-row): Fix format of apply undo entries. + * mail/rmailsum.el (rmail-summary-save-buffer): New command. + (rmail-summary-mode-map): Add rmail-summary-save-buffer. -2005-01-31 Jay Belanger +2007-06-07 Eric M. Ludlam - * calc/calc-aent.el (math-read-token): Separate the TeX and LaTeX - parts. + * emacs-lisp/checkdoc.el (checkdoc-ispell-lisp-words): Remove "iff". - * calc/calc-embed.el (calc-embedded-open-formula) - (calc-embedded-close-formula): Ignore matrix environments. +2007-06-07 Juanma Barranquero - * calc/calc-ext.el (math-read-big-expr): Make LaTeX the default - TeX mode. + * progmodes/ebrowse.el (ebrowse-member-table): + * textmodes/org.el (org-export-ascii-bullets, org-batch-agenda) + (org-batch-agenda-csv): Fix typos in docstrings. - * calc/calc-lang.el (math-function-table, math-oper-table) - (math-variable-table): Adjust the LaTeX portions. +2007-06-06 Juanma Barranquero - * calc/calc.el (math-tex-ignore-words): Remove LaTeX portion. - (math-latex-ignore-words): New constant. + * international/mule-cmds.el (toggle-enable-multibyte-characters) + (sort-coding-systems, search-unencodable-char): Doc fixes. + (coding-system-change-eol-conversion, set-default-coding-systems) + (prefer-coding-system, find-multibyte-characters, princ-list) + (leim-list-entry-regexp, set-input-method, locale-language-names) + (input-method-exit-on-first-char, exit-language-environment-hook) + (locale-charset-language-names): Fix typos in docstrings. -2005-01-31 Richard M. Stallman +2007-06-06 Juanma Barranquero - * textmodes/ispell.el (ispell-local-dictionary-overridden): New var. - (ispell-local-dictionary): Doc fix. - (ispell-dictionary-alist): Don't include ispell-local-dictionary-alist. - Don't reinitialize at run time. Don't defcustom. - All uses changed to append ispell-local-dictionary-alist, - or check it first. - (ispell-current-dictionary): New variable for dictionary in use. - (ispell-dictionary): Now used only for global default. - (ispell-start-process): Set ispell-current-dictionary, - not ispell-dictionary. - (ispell-change-dictionary): Use this only for setting - user preferences. - (ispell-internal-change-dictionary): New function - to change the current dictionary in use. - (ispell-region, ispell-process-line, ispell-buffer-local-dict): - Use ispell-current-dictionary. - Handle ispell-local-dictionary-overridden. - (ispell-buffer-local-dict): Call ispell-internal-change-dictionary. + * pgg.el (pgg-sign-region, pgg-sign): + * ses.el (ses-call-printer): + * calendar/icalendar.el (icalendar--diarytime-to-isotime): + * textmodes/org.el (org-cycle): Fix typos in docstrings. -2005-01-31 Jay Belanger +2007-06-06 Carsten Dominik + + * textmodes/org.el (org-export-region-as-html) + (org-replace-region-by-html, org-number-to-letters) + (org-table-fedit-finish, org-normalize-color) + (org-table-fedit-ref-right, org-date-to-gregorian) + (org-table-fedit-move, org-table-convert-refs-to-rc) + (org-calendar-holiday, org-table-fedit-toggle-ref-type) + (org-write-agenda, org-colgroup-info-to-vline-list) + (org-agenda-todo-previousset, org-defkey, org-encode-for-stdout) + (org-indent-line-function, org-export-as-html-to-buffer) + (org-store-agenda-views, org-update-mode-line) + (org-find-if, org-delete-all) + (org-table-fedit-convert-buffer, org-emphasize) + (org-uniquify, org-table-fedit-lisp-indent) + (org-table-fedit-scroll, org-get-todo-sequence-head) + (org-table-fedit-scroll-down, org-table-fedit-line-down) + (org-table-fedit-ref-left, org-agenda-export-csv-mapper) + (org-table-fedit-toggle-coordinates, org-dvipng-color) + (org-table-fedit-line-up, org-table-fedit-ref-down) + (org-table-formula-from-user, org-mode-flyspell-verify) + (org-cycle-show-empty-lines, org-ctrl-c-ret) + (org-table-formula-to-user, org-diary-to-ical-string) + (orgtbl-export, org-table-fedit-post-command) + (org-closed-in-range, org-shiftcontrolright) + (org-table-convert-refs-to-an, org-table-hline-and-move) + (org-table-formula-less-p, org-format-table-ascii) + (org-agenda-get-sexps, org-shift-refpart) + (org-diary-sexp-entry, org-time-string-to-absolute) + (org-table-show-reference, org-letters-to-number) + (org-fix-agenda-info, org-table-fedit-ref-up) + (org-table-fedit-shift-reference, org-table-fedit-abort) + (org-closest-date, org-shiftcontrolleft) + (org-at-heading-or-item-p, org-rematch-and-replace) + (org-agenda-todo-nextset, org-export-grab-title-from-buffer): + New functions. + (org-table-edit-scroll-down, org-finish-edit-formulas) + (org-table-edit-next-field, org-abort-edit-formulas) + (org-font-lock-level, org-export-find-first-heading-line) + (org-table-edit-line-down, org-table-edit-backward-field) + (org-edit-formula-lisp-indent, org-table-edit-move) + (org-check-log-option, org-this-word) + (org-table-edit-line-up, org-table-edit-formulas-post-command) + (org-agenda-file-to-end, org-expand-file-name) + (org-fake-empty-table-line, org-table-edit-scroll) + (org-toggle-log-option, org-show-reference): Function removed. + (org-inhibit-invisibility, org-table-formula-make-cmp-string): + New defsubsts. + (org-unmodified, org-batch-store-agenda-views) + (org-batch-agenda-csv): New macro. + (org-agenda-export): New customization group. + (org-agenda-skip-deadline-if-done, org-agenda-remove-tags) + (org-highest-priority, org-agenda-exporter-settings) + (org-log-done-with-time, org-replace-disputed-keys) + (org-format-latex-header, org-export-table-header-tags) + (org-cycle-separator-lines, org-export-table-data-tags) + (org-icalendar-include-sexps) + (org-empty-line-terminates-plain-lists) + (org-log-repeat, org-special-ctrl-a) + (org-table-use-standard-references, org-disputed-keys) + (org-export-skip-text-before-1st-heading, org-agenda-with-colors) + (org-agenda-export-html-style): New option. + (org-allow-auto-repeat, org-agenda-remove-tags-when-in-prefix) + (org-CUA-compatible): Option removed. + (org-agenda-structure, org-sexp-date): New face. + (org-todo-keywords-for-agenda, org-not-done-keywords) + (org-planning-or-clock-line-re, org-agenda-name) + (org-table-colgroup-info, org-todo-sets) + (constants-unit-system, org-clock-mode-line-entry) + (org-mode-line-timer, org-table-current-begin-pos) + (org-todo-keywords-1, org-mode-line-string) + (org-table-clean-did-remove-column, org-table-fedit-map) + (org-clock-heading, org-table-buffer-is-an) + (org-agenda-info, org-done-keywords) + (org-done-keywords-for-agenda, org-todo-heads) + (org-todo-kwd-alist, org-clock-start-time): New variable. + (org-todo-kwd-priority-p, org-edit-formulas-map) + (org-repeat-re, org-todo-kwd-max-priority) + (org-version, org-done-string) + (org-table-clean-did-remove-column-1, org-disputed-keys): + Remove variables. + (org-table-translate-regexp, org-repeat-re, org-version): New consts. + (org-ts-lengths): Constant removed. + (org-follow-gnus-link): Don't ask how many articles to read. + (org-export-find-first-export-line): Rename from + `org-export-find-first-heading'. + Use `org-export-skip-text-before-1st-heading'. + (org-table-fedit-post-command): Rename from + `org-table-edit-formulas-post-command'. + (org-table-fedit-finish): Rename from `org-finish-edit-formulas'. + (org-table-fedit-abort): Rename from `org-abort-edit-formulas'. + (org-table-fedit-lisp-indent): Rename from + `org-edit-formula-lisp-indent'. + (org-table-show-reference): Rename from `org-show-reference'. + (org-table-store-formulas): Use `org-table-formula-less-p'. + (org-table-edit-formulas): Position cursor to current field equation. + (org-update-checkbox-count, org-hide-archived-subtrees) + (org-timestamp-up-day, org-timestamp-down-day) + (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup) + (org-shiftmetadown, org-metaleft, org-metaright, org-metaup) + (org-metadown, org-shiftup, org-shiftdown, org-shiftright) + (org-shiftleft, org-ctrl-c-ctrl-c, org-context): + Let `org-on-heading-p' also check for invisible heading. + (org-read-date): Match am/pm times. + (org-eval-in-calendar): Fix default date in prompt. - * calc/calc-aent.el (math-read-token): Add support for LaTeX. +2007-06-05 Chong Yidong - * calc/calc-ext.el: Add calc-latex-language to autoloads. - (calc-mode-map): Add calc-latex-language. + * files.el (auto-mode-alist): Separate "ChangeLog.1" and + "ChangeLog.a" entries, giving the latter lower priority. - * calc/calc-lang.el (calc-latex-language, math-latex-parse-frac) - (math-latex-print-frac): New functions. - (math-oper-table, math-function-table, math-variable-table) - (math-complex-format, math-input-filter): Add latex properties. - (calc-set-language): Set math-expr-special-function-mapping. +2007-06-05 Juanma Barranquero - * calc/calc-prog.el (calc-edit-user-syntax, calc-fix-token-name) - (calc-write-parse-table-part): Add LaTeX support. + * faces.el (face-id): If the argument is a face alias, + return the ID of the target face. - * calc/calc.el (calc-language): Adjust docstring. - (calc-set-mode-line): Add LaTeX support. - (math-expr-special-function-mapping): New variable. - (math-tex-ignore-words): Add to list. +2007-06-05 Michael Albinus - * calc/calccomp.el (math-compose-expr, math-compose-rows): - Add LaTeX support. - (math-compose-expr): Add support for special functions. + * net/socks.el (top): Remove unnecessary copyright line. - * calc/calc-help.el (calc-d-prefix-help): Add LaTeX. +2007-06-04 Chong Yidong -2005-01-31 Nick Roberts + * longlines.el (longlines-auto-wrap): Handle argument correctly. - * progmodes/gdb-ui.el (gdb-memory-address) - (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit) - (gdb-memory-mode-map, gdb-memory-format-keymap) - (gdb-memory-format-menu, gdb-memory-unit-keymap) - (gdb-memory-unit-menu): New variables for a buffer - that lets the user examine program memory. - (gdb-memory-set-address, gdb-memory-set-repeat-count) - (gdb-memory-format-binary, gdb-memory-format-octal) - (gdb-memory-format-unsigned, gdb-memory-format-signed) - (gdb-memory-format-hexadecimal, gdb-memory-format-menu) - (gdb-memory-format-menu-1, gdb-memory-unit-giant) - (gdb-memory-unit-word, gdb-memory-unit-halfword) - (gdb-memory-unit-byte, gdb-memory-unit-menu) - (gdb-memory-unit-menu-1, gdb-make-header-line-mouse-map) - (gdb-memory-mode, gdb-memory-buffer-name) - (gdb-display-memory-buffer, gdb-frame-memory-buffer): - New functions for above buffer. +2007-06-04 Michael Albinus -2005-01-30 Richard M. Stallman + * net/socks.el: New file, taken from w3 repository. + (top): Update Copyright. Don't load cl.el. + (all): Replace `case' by `cond', `string-to-int' by + `string-to-number', and `process-kill-without-query' by + `set-process-query-on-exit-flag'. + (socks-char-int): Remove defalias and all occurrences. - * cus-edit.el (custom-bury-buffer): Function deleted. - (custom-buffer-done-function): Option deleted. - (custom-buffer-done-kill): New replacement option. - (Custom-buffer-done): Call quit-window. - (custom-buffer-create-internal): Update for above changes. +2007-06-04 Juanma Barranquero -2005-01-29 Luc Teirlinck + * progmodes/compile.el (compilation-find-file, compilation-handle-exit): + Fix typos in docstrings. + (compilation-search-path, compilation-buffer-name-function): Doc fixes. + (compilation-finish-function): Fix typo in obsolescence declaration. - * simple.el (undo-ask-before-discard): New var. - (undo-outer-limit-truncate): Implement it. - (undo-extra-outer-limit): Doc update. +2007-06-03 Sam Steingold -2005-01-29 Richard M. Stallman + * progmodes/compile.el: Add TIMESTAMP to the LOC data structure, to + handle unending automatic recompilation of changed files (`omake -P'). + (compilation-loop): VISITED is now 5th CDR. + (compilation-next-error-function): Set TIMESTAMP. - * ses.el (undo-more): Delete defadvice. - (ses-begin-change): Doc fix. +2007-06-03 Sam Steingold - * dired.el (dired-mode-map): Remap `undo' and `advertised-undo' - instead of rebinding C-x u and C-_. + * files.el (kill-buffer-ask): New function. + (kill-some-buffers): Use it. + (kill-matching-buffers): New user command. - * files.el (normal-backup-enable-predicate): Return nil for files - in /tmp, regardless of temporary-file-directory. +2007-06-01 David Kastrup - * man.el (Man-getpage-in-background): Disable undo in Man buffer. + * dired.el (dired-recursive-deletes, dired-recursive-copies): + Change default to `top'. - * rect.el (delete-rectangle-line, delete-extract-rectangle-line) - (open-rectangle, delete-whitespace-rectangle-line) - (clear-rectangle-line): If FILL, pass t instead of FILL - for move-to-column's 2nd arg. +2007-05-31 Richard Stallman - * simple.el (undo): Fix the test for continuing a series of undos. - (undo-more): Set pending-undo-list to t when we reach end. - (pending-undo-list): Move up defvar. + * dired.el (dired-do-flagged-delete, dired-do-delete): Doc fix. - * wid-edit.el (widget-button-click): - Shorten the range of the track-mouse binding. +2007-05-31 Stefan Monnier - * comint.el (comint-insert-input): Undo previous changes; - use last-input-event in interactive spec. + * textmodes/css-mode.el: New file. -2005-01-29 Eli Zaretskii +2007-05-30 Michael Olson - * progmodes/compile.el (compilation-start): Bind buffer-read-only - to nil before invoking call-process. Reset buffer's modified flag - after fontifying it in the no-async branch. + * emacs-lisp/tq.el (tq-queue-pop): Stifle error when a process has + died and we are trying to send a signal to it. The program using + tq.el should periodically check to see whether the process has + died and react appropriately -- this is not the responsibility of + tq.el, and is consistent with the rest of the tq.el source code. - * wid-edit.el (widget-specify-button): If mouse pointer shape - cannot be changed, use mouse face instead. +2007-05-29 Martin Rudalics -2005-01-29 Nick Roberts + * textmodes/table.el (table--point-entered-cell-function) + (table--point-left-cell-function): + Bind `inhibit-point-motion-hooks' to t. - * progmodes/gdb-ui.el (gdb-info-breakpoints-custom) - (gdb-goto-breakpoint): Make breakpoint handling work on template - functions in C++. Reported by Martin Reed . - (gdb-assembler-custom): Update to recognize breakpoint information - added on 2005-01-19. +2007-05-29 Nikolaj Schumacher (tiny change) -2005-01-28 Stefan Monnier + * emacs-lisp/rx.el (rx): Doc fix. - * progmodes/scheme.el (scheme-mode-variables): Set comment-add. - (dsssl-mode): Use define-derived-mode. - (scheme-mode-initialize): Remove. - (scheme-mode): Use run-mode-hooks. +2007-05-28 Juanma Barranquero - * cus-edit.el (customize-group-other-window) - (custom-buffer-create-other-window): Don't override special-display-*. - (custom-mode-map): Make it dense. + * progmodes/idlwave.el (idlwave-routines): Fix typo in docstring. - * emacs-lisp/lisp-mode.el (eval-defun-1): Make sure `defvar' always - sets the default value. +2007-05-28 Michael Albinus -2005-01-28 Eli Zaretskii + Sync with Tramp 2.0.56. - * descr-text.el: Add more keywords. + * net/tramp.el: + * net/tramp-ftp.el: + * net/tramp-smb.el: + * net/tramp-util.el: + * net/tramp-vc.el: + Don't load cl.el, because that pollutes the namespace. Replace cl + macros by their implementations where necessary. Requested by + Richard Stallman . -2005-01-27 Stefan Monnier + * net/tramp.el (top): Make `set-buffer-multibyte' an alias if it + doesn't exist. + (with-parsed-tramp-file-name): Protect debug spec during compilation. + (tramp-handle-insert-directory): Check (featurep 'ls-lisp). + (tramp-file-name-p, tramp-file-name-multi-method) + (tramp-file-name-method, tramp-file-name-user) + (tramp-file-name-host, tramp-file-name-localname): New defuns, + replacing defstruct `tramp-file-name'. + (tramp-handle-file-remote-p, tramp-completion-dissect-file-name1) + (tramp-dissect-file-name, tramp-dissect-multi-file-name): + Apply `vector' instead of `make-tramp-file-name'. + (tramp-handle-make-auto-save-file-name): + Apply `tramp-temporary-file-directory' for compatibility reasons. + (tramp-completion-mode): Use `natnump' instead of `wholenump' + because of XEmacs. + (tramp-completion-mode): `last-input-event' is nil when XEmacs is + started. - * speedbar.el: Avoid unnecessary use of locate-library. +2007-05-28 Chong Yidong - * international/mule-cmds.el (standard-display-european-internal): - Don't fiddle with latin-1 non-break space any more since it's now - special cased in the C code. - Don't "do&undo" setting for 160 (especially, don't undo incorrectly). + * textmodes/sgml-mode.el (sgml-point-entered): Use condition-case. -2005-01-26 Luc Teirlinck +2007-05-27 Tetsurou Okazaki (tiny change) - * cus-start.el (all): Add `undo-outer-limit'. + * log-edit.el (log-edit-changelog-paragraph): Return point-max + as the end of the ChangeLog paragraph when it ends without a line + termination. -2005-01-25 Roland Winkler +2007-05-27 Ryan Yeske - * textmodes/bibtex.el (bibtex-format-entry): - Use `bibtex-empty-field-re' only on the text of fields, not on entire - field lines. - (bibtex-autofill-entry): Use `bibtex-empty-field-re' on a string, - not on part of a buffer. + * net/webjump.el (webjump-sample-sites): + Add simple Wikipedia query. -2005-01-25 Lute Kamstra +2007-05-25 Stefan Monnier - * textmodes/bibtex.el (bibtex-empty-field-re): Don't match - nonempty field text strings like "{letters\\macro{}more letters}". - Clarify docstring. - (bibtex-sort-entry-class, bibtex-autokey-titleword-ignore) - (bibtex-entry-offset, bibtex-parse-association) - (bibtex-parse-field-name): Fix typos in docstrings. - (bibtex-field-list, bibtex-find-crossref): Fix typos in error messages. + * emacs-lisp/derived.el (define-derived-mode): Remove bogus + compatibility code. -2005-01-24 Dan Nicolaescu - Juri Linkov + * emacs-lisp/copyright.el (copyright-names-regexp): New var. + (copyright-update-year): Use it. - * textmodes/reftex-global.el (reftex-isearch-push-state-function) - (reftex-isearch-pop-state-function, reftex-isearch-isearch-search) - (reftex-isearch-switch-to-next-file, reftex-isearch-turn-off) - (reftex-isearch-turn-on, reftex-isearch-minor-mode): New functions. + * edmacro.el (edmacro-format-keys): Use current-active-maps. - * textmodes/reftex.el (reftex-mode-menu): Add entry for reftex - isearch minor mode. + * ediff-init.el (ediff-defvar-local, ediff-with-current-buffer): + Add indentation and debugging info. Fix up comment convention. -2005-01-24 Luc Teirlinck + * cus-dep.el (custom-make-dependencies): Simplify. - * help-at-pt.el (help-at-pt-display-when-idle): Add autoload cookie. + * composite.el (compose-region, decompose-region): + Use inhibit-read-only and restore-buffer-modified-p. -2005-01-24 Lute Kamstra + * xt-mouse.el (xterm-mouse-truncate-wrap): New function. + (xterm-mouse-event): Use it. - * textmodes/ispell.el (ispell-dictionary-alist-4): Rewrite the - CASECHARS and NOT-CASECHARS regular expressions of the - "nederlands" and "nederlands8" dictionaries to prevent a "Range - striding over charsets" error. +2007-05-25 Juanma Barranquero -2005-01-24 Jay Belanger + * bs.el (bs-cycle-previous): Don't modify the cycle list until + `switch-to-buffer' has returned succesfully. + (bs-cycle-next): Ditto. Also, don't bury the buffer when the + window is dedicated (it could iconify the frame). - * calc/calc-store.el (calc-declare-variable): Use calc-var-name to - display variable name. +2007-05-25 Miles Bader -2005-01-24 Kenichi Handa + * vc-hooks.el (vc-find-root): Fix file attribute test. - * international/encoded-kb.el (encoded-kbd-iso2022-single-shift): - Fix setting of the element of encoded-kbd-iso2022-invocations. +2007-05-24 Richard Stallman -2005-01-24 Nick Roberts + * textmodes/flyspell.el (flyspell-correct-word-before-point): + Don't let opoint be nil. + (flyspell-emacs-popup): Explicit error if no dialogs. - * progmodes/gdb-ui.el (gdb-goto-breakpoint, gdb-frames-select) - (gdb-threads-select): Change to also accept mouse events. - (gdb-mouse-goto-breakpoint, gdb-frames-mouse-select) - (gdb-threads-mouse-select): Delete. +2007-05-24 Chong Yidong -2005-01-23 Luc Teirlinck + * image-mode.el (image-forward-hscroll, image-backward-hscroll) + (image-next-line, image-previous-line, image-scroll-up) + (image-scroll-down, image-bol, image-eol, image-bob, image-eob): + New functions. + (image-mode-map): Remap motion commands. + (image-mode-text-map): New keymap for viewing images as text. + (image-mode): Use image-mode-map. + (image-toggle-display): Toggle auto-hscroll-mode and mode keymaps. - * files.el (insert-directory): Take care of empty directory, - listed without -a switch. +2007-05-24 Stefan Monnier -2005-01-23 Stefan Monnier + * textmodes/fill.el (canonically-space-region): Make the second arg + a marker if it's not already the case. - * textmodes/refill.el (refill-post-command-function): - Add `indent-new-comment-line' and `reindent-then-newline-and-indent' - to the list of functions that we should be careful not to undo. - (refill-late-fill-paragraph-function): Remove. - (refill-saved-state): New var. - (refill-mode): Use it to save fill-paragraph-function. - Save also the value of auto-fill-function. +2007-05-23 Eli Zaretskii - * term/w32-win.el: Simplify code. + * tar-mode.el (tar-header-block-summarize, tar-summarize-buffer) + (tar-get-descriptor): Handle type 55, an extended pax header. -2005-01-23 Kim F. Storm +2007-05-23 Stefan Monnier - * simple.el (line-move): Adapt to new return value from - pos-visible-in-window-p. + * autoinsert.el (auto-insert-alist): Quote elisp sample code so as not + to confuse outline-minor-mode. - * simple.el (line-move): Fix last change. Check partial - visibility at point rather than at window-start. +2007-05-23 Eli Zaretskii -2005-01-22 Jason Rumney + * tar-mode.el (tar-file-name-handler): New function. + (tar-extract): Bind file-name-handler-alist to it to force + find-buffer-file-type-coding-system behave as if the file being + extracted existed. Use last-coding-system-used to force + buffer-file-coding-system to what decode-coding-region actually + used to decode the file. - * term/w32-win.el (xw-defined-colors): Remove debug-message. +2007-05-23 Nikolaj Schumacher (tiny change) -2005-01-22 David Kastrup + * progmodes/compile.el (compilation-handle-exit): + `compilation-finish-function' may change the current buffer. - * progmodes/grep.el: Add alias `find-grep' for `grep-find'. +2007-05-22 Richard Stallman -2005-01-22 Eli Zaretskii + * files.el (set-auto-mode): Doc fix. - * type-break.el (type-break-mode): Add a test for - type-break-file-name being non-nil. +2007-05-22 Jan Dj,Ad(Brv -2005-01-22 Toby Allsopp (tiny change) + * help-fns.el (find-source-lisp-file): New function. + (describe-function-1): Use find-source-lisp-file to find source + file in compile tree. - * net/eudc.el (top level): Call (message "") via progn, so that - eudc-options-file is loaded. +2007-05-22 Eli Zaretskii -2005-01-22 Kim F. Storm + * dos-w32.el (find-buffer-file-type-coding-system): Doc fix. - * simple.el (line-move-1): Rename from line-move. - (line-move): New function that adjusts vscroll for partially - visible rows, and calls line-move-1 otherwise. +2007-05-22 Juanma Barranquero -2005-01-21 Ren,Ai(B Kyllingstad + * emacs-lisp/easy-mmode.el (define-minor-mode) + (easy-mmode-define-navigation): Fix typos in docstrings. - * pcomplete.el: Define pcomplete-read-event instead of read-event, - since it's not a complete read-event implementation. +2007-05-22 Glenn Morris -2005-01-20 Jay Belanger + * files.el (auto-mode-alist): Open `.asd' files in lisp-mode. - * calc/calc-ext.el (calc-fancy-prefix-other-key): Set prefix arg - for called function. +2007-05-22 Katsumi Yamaoka -2005-01-20 Steven Tamm + * mail/mail-extr.el (mail-extract-address-components): + Recognize non-ASCII characters except for NBSP as words. - * term/mac-win.el (process-connection-type): Remove. - Controlled now by s/darwin.h:PTY_ITERATION. +2007-05-21 Trent Buck (tiny change) -2005-01-20 Stefan Monnier + * net/rcirc.el (rcirc-fill-column): Allow `window-width'. + (rcirc-print): Handle `window-width'. + (rcirc-buffer-maximum-lines): Doc fix. - * window.el (handle-select-window): Don't switch window when we're - in the minibuffer. +2007-05-21 Chong Yidong -2005-01-10 Paul Pogonyshev + * image-mode.el (image-toggle-display): Don't clear image cache. + Only use filename in image spec if the file is readable. + Call image-refresh. - * subr.el (dotimes-with-progress-reporter): New macro. + * image.el (image-type-from-file-name, image-type): Simplify. + (image-type-auto-detected-p): Don't scan auto-mode-alist. - * ses.el (ses-dotimes-msg): Remove macro. - Use `dotimes-with-progress-reporter' instead. + * files.el (magic-mode-alist): Remove image-type-auto-detected-p. + (magic-fallback-mode-alist): Add image-type-auto-detected-p. -2005-01-19 Steven Tamm +2007-05-20 Nick Roberts - * term/mac-win.el (process-connection-type): Use new - operating-system-release variable to use ptys on Darwin 7 (OS X - 10.3) when using carbon build. + * t-mouse.el (t-mouse-mode): Reset t-mouse-mode to nil if there + is an error. -2005-01-19 Jay Belanger + * term/linux.el (terminal-init-linux): Don't signal an error + if gpm isn't running. - * calc/calc-ext.el (calc-fancy-prefix-other-key): Don't clear - flags if the last command was a tab or M-tab. +2007-05-20 Nick Roberts - * calc/calc-prog.el (calc-user-define-edit): Put original formula - in formula editing buffer. + * t-mouse.el: Reduce to a minor-mode macro call. + (t-mouse-mode): Remove the lighter. -2005-01-19 Nick Roberts + * term/linux.el (terminal-init-linux): Enable t-mouse by default. - * progmodes/gdb-ui.el (gdb-put-breakpoint-icon): Add help-echo for - breakpoint image symbol in margin. +2007-05-19 Dan Nicolaescu -2005-01-19 Jay Belanger + * files.el (auto-mode-alist): Change the regexp so that + ChangeLog.unicode and ChangeLog.multi-tty use change-log-mode. - * calc/calc-prog.el (calc-execute-kbd-macro): - Ignore calc-keep-arg-flag. +2007-06-02 Chong Yidong -2005-01-19 Kenichi Handa + * Version 22.1 released. - * textmodes/ispell.el (ispell-looking-at): New function. - (ispell-process-line): Use ispell-looking-at to compare the ispell - output and the buffer contents. +2007-05-19 Chong Yidong -2005-01-18 Jay Belanger + * paren.el (show-paren-function): Undo 2007-04-19 and 2007-04-20 + changes. - * calc/calc.el (calc-display-raw): Fix docstring. +2007-05-19 Kevin Ryde -2005-01-18 Stefan Monnier + * info.el (Info-fontify-node): Fontify https as well as http and ftp. - * simple.el (blink-matching-open): Strip extra info from syntax. +2007-05-18 Thien-Thi Nguyen - * progmodes/sh-script.el (sh-here-doc-open-re): Don't allow | or other - funny chars in the end-of-here-doc marker. + * textmodes/sgml-mode.el: Revert last change. -2005-01-19 Nick Roberts +2007-05-18 Richard Stallman - * progmodes/gdb-ui.el (gdb-put-string): Copy/create strings so - that enable/disabled state of breakpoints is shown correctly in - fringe and on ttys. - (gdb-put-breakpoint-icon, gdb-info-breakpoints-custom): - Add breakpoint information as text properties. - (gdb-mouse-toggle-breakpoint): - Rename to gdb-mouse-set-clear-breakpoint. - (gdb-mouse-toggle-breakpoint): New function. Enable/disable - breakpoints in the margin. - (gdb-remove-strings): Simplify. + * simple.el (push-mark): Doc fix. -2005-01-17 Jay Belanger +2007-05-18 Rob Riepel - * calc/calc-yank.el (calc-edit-mode): Inhibit read-only when - erasing buffer. + * emulation/tpu-edt.el (CSI-map, SS3-map): Move from global-map to + tpu-global-map. + (tpu-original-global-map): Variable deleted. + (tpu-control-keys-map): New keymap variable. + (tpu-set-control-keys): Use tpu-reset-control-keys rather than + setting keymapping directly. + (tpu-reset-control-keys): Use tpu-control-keys-map instead of + tpu-global-map. + (tpu-edt-on): Activate the tpu-global-map. + (tpu-edt-off): Deactivate the tpu-global-map. -2005-01-17 Richard M. Stallman +2007-05-18 Ryan Yeske - * progmodes/grep.el (grep-find): Copy from `grep' the condition - for calling grep-compute-defaults. + * textmodes/ispell.el (ispell-get-word): Return markers + for start and end positions. + (ispell-word): Assume END is a marker. - * play/decipher.el (decipher-mode): Don't call decipher-read-alphabet - if buffer is empty. +2007-05-17 Vinicius Jose Latorre - * emacs-lisp/lisp.el (backward-kill-sexp, kill-sexp): Doc fixes. + * printing.el: Group together all XEmacs/Emacs definitions. + (pr-version): New version 6.9. + (pr-global-menubar, pr-menu-char-height, pr-menu-char-width): New funs. + (pr-menu-char-height, pr-menu-char-width): Fix initialization code. + (pr-menu-bind): Fix code. + (pr-e-frame-char-height, pr-e-frame-char-width) + (pr-e-mouse-pixel-position, pr-x-add-submenu, pr-x-event-function) + (pr-x-event-object, pr-x-find-menu-item, pr-x-font-height) + (pr-x-font-width, pr-x-get-popup-menu-response, pr-x-make-event) + (pr-x-misc-user-event-p, pr-x-relabel-menu-item, pr-x-event-x-pixel) + (pr-x-event-y-pixel): Aliases eliminated. + (pr-xemacs-global-menubar): Macro moved. + (current-menubar, current-mouse-event, zmacs-region-stays) + (deactivate-mark, pr-menu-position, pr-menu-state, pr-ps-name-old) + (pr-txt-name-old, pr-ps-utility-old, pr-even-or-odd-old, pr-temp-menu): + Vars moved. + (pr-region-active-p, pr-menu-position, pr-menu-lookup, pr-menu-lock) + (pr-update-mode-line, pr-do-update-menus, pr-menu-alist) + (pr-relabel-menu-item, pr-menu-set-ps-title, pr-menu-set-txt-title) + (pr-menu-set-utility-title, pr-even-or-odd-pages) + (pr-f-set-keymap-parents, pr-f-set-keymap-name, pr-f-read-string) + (pr-keep-region-active, pr-menu-get-item, pr-menu-set-item-name): Funs + moved. + +2007-05-17 Christian Plate (tiny change) + + * textmodes/sgml-mode.el (sgml-tag): + Fix bug: Call sgml-transformation-function. -2005-01-17 Stefan Monnier +2007-05-17 Martin Rudalics - * hilit-chg.el (highlight-changes-mode): Don't autoload. + * hilit-chg.el (highlight-changes-rotate-faces): Don't set + modified flag of buffer. Use `inhibit-modification-hooks'. - * bindings.el (mode-line-mode-menu): Use bound-and-true-p for all the - non-preloaded variables. +2007-05-16 Richard Stallman -2005-01-17 Steven Tamm + * buff-menu.el (Buffer-menu-sort-column): Doc fix. - * textmodes/tex-mode.el (tex-start-shell): Adding -i to the - tex-shell cause to force interactivity when using pipes. +2007-05-16 Stefan Monnier -2005-01-17 Kim F. Storm + * files.el (magic-mode-alist, magic-fallback-mode-alist): + Move the *ml, Postscript, and XmCD entries to the fallback part. - * simple.el (just-one-space): Make arg optional. + * files.el (magic-fallback-mode-alist): + Rename from file-start-mode-alist. -2005-01-17 Nick Roberts +2007-05-16 Nikolaj Schumacher (tiny change) - * xt-mouse.el (xterm-mouse-event): Set new optional fourth arg in - posn-at-x-y to t to access left-margin. + * progmodes/compile.el (compilation-handle-exit): Quote first + argument of `run-hook-with-args'. -2005-01-16 Michael Albinus +2007-05-16 Juanma Barranquero - Sync with Tramp 2.0.47. + * buff-menu.el (Buffer-menu-sort-column): + * dabbrev.el (dabbrev-upcase-means-case-search): + * dired.el (dired-recursive-deletes, dired-recursive-copies): + * info.el (Info-current-subfile): + * ls-lisp.el (ls-lisp-verbosity): + * msb.el (msb-menu-cond): + * pcvs.el (cvs-dired-use-hook): + * simple.el (set-mark-command-repeat-pop): + * time.el (display-time-24hr-format, display-time-mail-file): + Doc fixes. - * net/tramp.el (tramp-operation-not-permitted-regexp): New defcustom, - catching keep-date problems in cp/scp operations. - (tramp-handle-copy-file): Don't call `set-file-modes' - unconditionally. Specialized functions should know better what is - necessary. This improves performance a little bit, and the - functions could catch errors with `cp -p' and `scp -p'. - (tramp-do-copy-or-rename-file-via-buffer) - (tramp-do-copy-or-rename-file-out-of-band): Call `set-file-modes' - when appropriate. - (tramp-do-copy-or-rename-file-directly): Mask `cp -p' error. - Call `set-file-modes' when appropriate. - (tramp-action-out-of-band): Mask `scp -p' error. Reported by Isak - Johnsson . - (tramp-get-buffer, tramp-get-debug-buffer): Discard the undo list - of both Tramp buffer and debug buffer. Reported by Joakim Verona - . - (tramp-file-name-for-operation): Mark `shell-command' as magic for - Emacs only. + * tutorial.el (get-lang-string, tutorial--find-changed-keys): + * printing.el (pr-ps-fast-fire): Fix typos in docstrings. - * net/tramp-util.el (tramp-minor-mode): New minor mode. Add it to - `find-file-hooks' and `dired-mode-hook'. - (tramp-minor-mode-map): Respective map. Add remapping for - `compile' and `recompile'. - (tramp-remap-command, tramp-recompile): New defuns. - (tramp-compile): Enable `tramp-minor-mode' and `compilation-mode' - in buffer "*Compilation*". Call the commands asynchronously. - - * net/tramp-vc.el (tramp-vc-do-command, tramp-vc-do-command-new) - (tramp-vc-simple-command): Call `tramp-handle-shell-command' but - `shell-command', because it isn't magic in XEmacs. Reported by - Adrian Aichner . + * view.el (view-inhibit-help-message): Fix typo in docstring. + (view-scroll-auto-exit, view-try-extend-at-buffer-end): Doc fixes. - * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add entry for - `substitute-in-file-name. - (tramp-smb-handle-substitute-in-file-name): New defun. - (tramp-smb-advice-PC-do-completion): Delete advice. - -2005-01-16 Kai Grossjohann - - * net/tramp.el (tramp-wait-for-output): Fix typo in echo processing. - Fix error in deleting region. - -2005-01-15 Richard M. Stallman - - * emacs-lisp/lisp-mnt.el (lm-with-file): Use Lisp mode in temp buffer. - In non-temp buffer, switch syntax table temporarily. - - * emacs-lisp/lisp-mode.el (indent-pp-sexp): Doc fix. - - * replace.el (occur-accumulate-lines, occur-engine): Avoid warnings. - - * tar-mode.el (tar-extract): Bind buffer-undo-list to t. - - * imenu.el (imenu--split-menu): Copy menulist before sorting. - (imenu--generic-function): Use START, not BEG, as pos of definition. - - * simple.el (just-one-space): Argument specifies number of spaces. - - * simple.el (eval-expression-print-format): Avoid warning - about edebug-active. - -2005-01-15 James R. Van Zandt (tiny change) - - * progmodes/sh-script.el: Code copied from make-mode.el - with small changes, - (sh-mode-map): Bind C-c C-\. - (sh-backslash-column, sh-backslash-align): New variables. - (sh-backslash-region, sh-append-backslash): New functions. - -2005-01-15 Sergey Poznyakoff - - * mail/rmail.el: Updated to work with movemail from GNU Mailutils - (rmail-pop-password, rmail-pop-password-required): Move to - rmail-obsolete group. - (rmail-set-pop-password): Rename to rmail-set-remote-password. - All callers updated. - (rmail-get-pop-password): Rename to rmail-get-remote-password. - Take an argument specifying whether it is POP or IMAP mailbox we - are using. All callers updated. - (rmail-pop-password-error): Rename to - rmail-remote-password-error. Added mailutils-specific error message. - (rmail-movemail-search-path) - (rmail-movemail-variant-in-use): New variables. - (rmail-remote-password, rmail-remote-password-required): - New customization variables. - (rmail-probe, rmail-autodetect, rmail-movemail-variant-p): New funs. - (rmail-parse-url): New function. - (rmail-get-new-mail, rmail-insert-inbox-text): Update for use - with GNU mailutils movemail. - -2005-01-15 Kevin Ryde - - * info-look.el (c-mode/symbol): Add ^` to prefix, and change - suffix to space, $ or '$, to correctly position point when going - to @table style constants like DBL_MAX. - -2005-01-15 Jorgen Schaefer (tiny change) - - * type-break.el (type-break-mode, type-break-file-time) - (type-break-file-keystroke-count, type-break-choose-file): - Don't store data in or load data from the file if type-break-file-name - is nil. - (type-break-file-name): Doc update as per the above. - -2005-01-15 Stephen Eglen (tiny change) - - * woman.el (woman-dired-define-key-maybe): If KEY is undefined, - lookup-key might return nil; handle that. - -2005-01-15 Alan Mackenzie - - * progmodes/ebrowse.el (ebrowse-class-in-tree): - Return the tail of the tree rather than the element found, - thus enabling the tree to be setcar'd. - -2005-01-14 Carsten Dominik +2007-05-16 Martin Rudalics - * textmodes/org.el (org-show-following-heading): New option. - (org-show-hierarchy-above): Use `org-show-following-heading'. - (org-cycle): Documentation fix. + * textmodes/ispell.el (ispell-start-process): Defend against bad + default-directory. - * textmodes/org.el (orgtbl-optimized): New option. - (orgtbl-mode): New command, a minor mode. - (orgtbl-mode-map): New variable. - (turn-on-orgtbl, orgtbl-mode, orgtbl-make-binding) - (orgtbl-error, orgtbl-self-insert-command) - (orgtbl-delete-backward-char, orgtbl-delete-char): New functions. +2007-05-14 Eli Zaretskii - * textmodes/org.el (org-mode): `org-table-may-need-update' is now - a local variable in each org-mode buffer. + * mail/rmail.el (rmail-convert-to-babyl-format): Check + content-transfer-encoding _last_, because it's its position that + we need as value of base64-header-field-end. - * textmodes/org.el (org-set-regexps-and-options): Rename from - `org-set-regexps'. Added checking for STARTUP keyword. - (org-get-current-options): Add STARTUP options. - (org-table-insert-row): Make mode intelligent about when - realignment is needed. - (org-self-insert-command, org-delete-backward-char, org-delete-char): - New commands. - (org-enable-table-editor): New default value `optimized'. - (org-table-blank-field): Support blanking regions if active. +2007-05-14 Juanma Barranquero -2005-01-14 Carsten Dominik + * files.el (mode-require-final-newline, require-final-newline) + (enable-local-variables, enable-local-eval): Doc fixes. - * textmodes/reftex-cite.el (reftex-bib-sort-year): Catch the case - if the year is not given. +2007-05-13 Vinicius Jose Latorre - * textmodes/reftex-ref.el (reftex-replace-prefix-escapes): - Add new escapes %m and %M, fixed bug with %F by adding - save-match-data. - (reftex-reference): Remove ?. from list of spaces. - (reftex-label-info): Add automatic label prefix recognition. - - * textmodes/reftex-index.el (reftex-index-next-phrase): - Add slave parameter to call of `reftex-index-this-phrase'. - (reftex-index-this-phrase): New optional argument. - (reftex-index-region-phrases): Add slave parameter to call of - `reftex-index-this-phrase'. - (reftex-display-index): New argument redo. - (reftex-index-rescan): Add `redo' to arguments of - `reftex-display-index'. - (reftex-index-Rescan, reftex-index-revert) - (reftex-index-switch-index-tag): Add `redo' to arguments of - `reftex-display-index'. - (reftex-index-make-phrase-regexp): Fix bug with case-sensitive - indexing. Fix bug with matching is there is a quote before or - after the word. - - * textmodes/reftex-cite.el (reftex-all-used-citation-keys): - Fix bug when collecting citation keys in lines with comments. - (reftex-citation): Prefix argument no longer rescans the document, - but forces prompting for optional arguments of cite macros. - (reftex-do-citation): Prompting for optional arguments implemented. - - * textmodes/reftex-vars.el (reftex-cite-format-builtin): - Add optional arguments to most cite commands. - (reftex-cite-cleanup-optional-args): New option - (reftex-cite-prompt-optional-args): New option. - (reftex-trust-label-prefix): New option. - - * textmodes/reftex-toc.el (reftex-toc-find-section): - Add push-mark before changing the position in the buffer. - - * textmodes/reftex.el (reftex-prefix-to-typekey-alist): New variable. - (reftex-compile-variables): Compute reftex-prefix-to-typekey-alist. - -2005-01-14 Nick Roberts - - * xt-mouse.el (xterm-mouse-event): Compute window co-ordinates - more carefully. - -2005-01-13 Stefan Monnier - - * textmodes/sgml-mode.el (sgml-fill-nobreak): New fun. - (sgml-mode): Use it. - (sgml-get-context): Better keep track of implicitly closed tags. - -2005-01-13 Kenichi Handa - - * textmodes/ispell.el: These changes are to fix misalignment error - caused by equivalent characters of different Emacs charsets. - (ispell-unified-chars-table): New variable. - (ispell-get-decoded-string): New function. - (ispell-get-casechars, ispell-get-not-casechars) - (ispell-get-otherchars): Call ispell-get-decoded-string. - -2005-01-12 Johan Bockg,Ae(Brd - - * custom.el (custom-declare-variable): Just put symbol instead - of (defvar . symbol) in `current-load-list'. - -2005-01-12 Reiner Steib - - * emacs-lisp/elint.el: Fixed typo in Commentary section. - -2005-01-12 Jay Belanger - - * calc/calc-help.el (calc-describe-key): Use temporary info buffer - to create a Calc summary. - -2005-01-12 Kim F. Storm - - * mouse.el (mouse-on-link-p): Change functionality and doc - string to comply with latest description in lisp ref. - -2005-01-12 Nick Roberts - - * xt-mouse.el (xterm-mouse-translate, xterm-mouse-event): - Enable mouse clicks on mode-line, header-line and margin. - (event-type): Give mouse event symbols an `event-kind' property - with value `mouse-click'. - -2005-01-12 Juri Linkov - - * facemenu.el (list-colors-display): Add new arg buffer-name. - Use it. Fix docstring. Replace code for identifying duplicate - colors by the name with call to `list-colors-duplicates' which - identifies duplicate colors by the value unless the color - is one of special Windows colors. Set truncate-lines to t. - Print sorted duplicate color names on each line. Indent to 22 - \(the longest color name in rgb.txt) instead of 20. Optimize. - (list-colors-duplicates): New function. - (facemenu-color-name-equal): Delete function. + * ps-print.el: Use default color when foreground or background color + are unspecified. Reported by Leo . + (ps-print-version): New version 6.7.4. + (ps-rgb-color): New argument. Use default color when color is + unspecified. + (ps-begin-job): Fix code. - * facemenu.el (list-colors-print): New function created from code - in list-colors-display. Print #RRGGBB at the window right edge. - (list-colors-display): When temp-buffer-show-function is not - defined, call list-colors-print from temp-buffer-show-hook - to get the right value of window-width in list-colors-print - after the buffer is displayed. - - * simple.el (pop-mark): Move deactivate-mark out of conditional - part to deactivate the active mark regardless of the state of the - mark ring. - - * desktop.el (desktop-save): Add `mode: emacs-lisp' to the local - variables line in desktop files. - -2005-01-12 Juri Linkov - - * isearch.el (search-highlight, isearch, isearch-lazy-highlight): - Bring together isearch highlight related options. - (lazy-highlight): Replace group `replace' by `matching'. - (lazy-highlight-cleanup, lazy-highlight-initial-delay) - (lazy-highlight-interval, lazy-highlight-max-at-a-time) - (lazy-highlight): Add aliases to old names isearch-lazy-highlight-... - and declare them obsolete. - (lazy-highlight-face): Rename from isearch-lazy-highlight-face. - (isearch-faces): Remove defgroup. - (isearch-overlay, isearch-highlight, isearch-dehighlight): - Move isearch highlighting code closer to lazy highlighting code. - - * replace.el (query-replace-lazy-highlight): Add lazy-highlight group. - (query-replace-highlight, query-replace-lazy-highlight) - (query-replace): Move definitions to the beginning of the file. - -2005-01-11 Juri Linkov - - * toolbar/back_arrow.xpm, toolbar/back_arrow.pbm - * toolbar/lc-back_arrow.xpm, toolbar/lc-fwd_arrow.xpm - * toolbar/fwd_arrow.xpm, toolbar/fwd_arrow.pbm: New icons. - - * info.el (Info-history-forward): New variable. - (Info-select-node): Reset Info-history-forward to nil. - (Info-last): Turn into defalias. - (Info-history-back): Rename from Info-last. - Add current node to Info-history-forward. - (Info-history-forward): New fun. - (Info-mode-map): Replace Info-last by Info-history-back. - Bind Info-history-forward to "r". - (Info-mode-menu): Replace Info-last by Info-history-back. - Fix menu item text. Add menu item for Info-history-forward. - (info-tool-bar-map): Replace Info-last by Info-history-back. - Replace its icon "undo" by "back_arrow". Add icon "fwd_arrow" - for Info-history-forward. - (Info-mode): Replace Info-last by Info-history-back in docstring. - Add local variable Info-history-forward. - (Info-goto-emacs-command-node): Replace Info-last by Info-history-back. - -2005-01-11 Stefan Monnier - - * mouse.el (mouse-drag-mode-line-1, mouse-drag-vertical-line) - (mouse-drag-region, mouse-drag-region-1, mouse-drag-secondary): - Ignore select-window events rather than fiddle with - mouse-autoselect-window. - -2005-01-11 Matthew Mundell - - * type-break.el (type-break-mode): Fix previous change. - -2005-01-10 Jay Belanger - - * calc/calc-ext.el (calc-reset): Reset when inside embedded - calculator; only reset when point is inside a calculator. - Don't adjust the window height if the window takes up the whole height - of the frame. - -2005-01-10 Thien-Thi Nguyen - - * ebuff-menu.el (Electric-buffer-menu-mode): - Preserve value of buffer-local var header-line-format. - -2005-01-09 Jay Belanger - - * calc/calc.el (calc-mode-var-list-restore-saved-values): - Make sure settings file exists before accessing it. - - * calc/calc-embed.el (calc-embedded-subst): - Replace math-multi-subst-rec, which is only supposed to be called - by math-multi-subst, by math-multi-subst. - -2005-01-09 Andre Spiegel - - * vc.el (vc-allow-async-revert): New user option. - (vc-disable-async-diff): New internal variable. - (vc-revert-buffer): Use them to disable asynchronous diff. - - * vc-cvs.el, vc-arch.el, vc-svn.el, vc-mcvs.el (vc-cvs-diff) - (vc-arch-diff, vc-svn-diff, vc-mcvs-diff): Don't diff - asynchronously if vc-disable-async-diff is t. - -2005-01-09 Jay Belanger - - * calc/calc.el (defcalcmodevar): New macro. - (calc-mode-var-list-restore-default-values) - (calc-mode-var-list-restore-saved-values): New functions. - (calc-mode-var-list): Use defcalcmodevar to define it. - (calc-always-load-extensions, calc-line-numbering) - (calc-line-breaking, calc-display-just, calc-display-origin) - (calc-number-radix, calc-leading-zeros, calc-group-digits) - (calc-group-char, calc-point-char, calc-frac-format) - (calc-prefer-frac, calc-hms-format, calc-date-format) - (calc-float-format, calc-full-float-format, calc-complex-format) - (calc-complex-mode, calc-infinite-mode, calc-display-strings) - (calc-matrix-just, calc-break-vectors, calc-full-vectors) - (calc-full-trail-vectors, calc-vector-commas, calc-vector-brackets) - (calc-matrix-brackets, calc-language, calc-language-option) - (calc-left-label, calc-right-label, calc-word-size) - (calc-previous-modulo, calc-simplify-mode, calc-auto-recompute) - (calc-display-raw, calc-internal-prec, calc-angle-mode) - (calc-algebraic-mode, calc-incomplete-algebraic-mode) - (calc-symbolic-mode, calc-matrix-mode, calc-shift-prefix) - (calc-window-height, calc-display-trail, calc-show-selections) - (calc-use-selections, calc-assoc-selections) - (calc-display-working-message, calc-auto-why, calc-timing) - (calc-mode-save-mode, calc-standard-date-formats, calc-autorange-units) - (calc-was-keypad-mode, calc-full-mode, calc-user-parse-tables) - (calc-gnuplot-default-device, calc-gnuplot-default-output) - (calc-gnuplot-print-device, calc-gnuplot-print-output) - (calc-gnuplot-geometry, calc-graph-default-resolution) - (calc-graph-default-resolution-3d, calc-invocation-macro) - (calc-show-banner): Use defcalcmodevar to declare them and set - their default values. +2007-05-12 Chong Yidong - * calc/calc-ext.el (calc-reset): Restore saved values of variables - instead of default values (but restore default values if there is - an argument of 0). + * longlines.el (longlines-mode): Make longlines-auto-wrap + buffer-local. Add hooks unconditionally. + (longlines-auto-wrap): Toggle wrapping. + (longlines-after-change-function) + (longlines-post-command-function): Check longlines-auto-wrap. -2005-01-09 David Kastrup +2007-05-12 Nick Roberts - * desktop.el (desktop-restore-eager): Fix typo in type. + * xt-mouse.el (xterm-mouse-debug-buffer): New variable. + (xterm-mouse-translate): Use it. -2005-01-08 Richard M. Stallman +2007-05-10 Richard Stallman - * cus-edit.el (customize): Delete :link. + * international/iso-cvt.el (iso-cvt-read-only): Ignore arguments. + (iso-cvt-write-only): Likewise. -2005-01-08 Jay Belanger + * emacs-lisp/easy-mmode.el (define-minor-mode): + Fix generated doc string. - * calc/calc.el (calc-mode): Remove the extension from the - `calc-settings-file' file name when loading it. + * startup.el (fancy-splash-text): Add URL of guided tour. + Adjust horizontal and vertical whitespace. -2005-01-08 Kim F. Storm + * progmodes/compile.el (compilation-handle-exit): + Use run-hook-with-args to run compilation-finish-functions. - * info.el (Info-mode-map, Info-next-link-keymap) - (Info-prev-link-keymap, Info-up-link-keymap): - Map follow-link to mouse-face. - (Info-fontify-node): Add "mouse-2: " prefix to tooltip. + * files.el (file-start-mode-alist): New variable. + (magic-mode-regexp-match-limit): Doc fix. + (set-auto-mode): Handle file-start-mode-alist. + A little cleanup of structure. -2005-01-08 Jay Belanger + * dabbrev.el (dabbrev-eliminate-newlines): + Renamed from dabbrev--eliminate-newlines. All uses changed. - * calc/calc.el (calc-settings-file): Change default value. - Suggested by cgw in a comment in calc-mode.el. +2007-05-10 Micha,Ak(Bl Cadilhac - * calc/calc-mode.el (calc-settings-file-name): - Compare calc-settings-file to user-init-file instead of ~/.emacs. - Replace ~/.emacs in a prompt by calc-settings-file. + * man.el (Man-next-section): Don't consider the last line of the page + as being part of any section. -2005-01-07 Lars Hansen +2007-05-10 Stefan Monnier - * desktop.el (desktop-restore-eager, desktop-lazy-verbose) - (desktop-lazy-idle-delay): New customizable variables. - (desktop-buffer-args-list): New variable. - (desktop-append-buffer-args): New function. - (desktop-save): Call desktop-append-buffer-args for some buffers. - (desktop-lazy-create-buffer): New function. - (desktop-idle-create-buffers): New function. - (desktop-read): Add message about buffers to restore lazily. - (desktop-lazy-abort): New command. - (desktop-clear): Call desktop-lazy-abort. - (desktop-lazy-complete): New command. + * textmodes/sgml-mode.el (sgml-value): Fix handling of attributes which + can take any number of values. -2005-01-06 Richard M. Stallman +2007-05-09 Stefan Monnier - * emacs-lisp/find-func.el (find-face-definition): - Rename from find-face. + * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add citet and citep + to the list of citation commands. -2005-01-06 Kim F. Storm +2007-05-09 Stefan Monnier - * simple.el (completion-list-mode-map): Map follow-link to mouse-face. + * vc-hooks.el (vc-find-root): Stop searching when the user changes. - * man.el (Man-xref-man-page, Man-xref-header-file) - (Man-xref-normal-file): Add follow-link property. +2007-05-09 Edward O'Connor (tiny change) -2005-01-06 Jay Belanger + * progmodes/python.el (python-font-lock-keywords) + (python-open-block-statement-p, python-mode): Add support for the new + "with" keyword. - * calc/calc-units.el: Make sure the proper macro definitions are - available when compiling. +2007-05-08 Stefan Monnier -2005-01-06 Juri Linkov + * diff-mode.el (diff-apply-hunk, diff-test-hunk): Don't do by default + the exact opposite of diff-goto-source. - * isearch.el (isearch-lazy-highlight-update): - Rename `isearch-lazy-highlight-interval' to `lazy-highlight-interval'. + * emacs-lisp/advice.el (ad-special-forms): Remove. + (ad-special-form-p): Use subr-arity. -2005-01-06 Miles Bader + * newcomment.el (comment-search-forward): Make sure we search forward. + (comment-enter-backward): Try and distinguish the non-matching case at + EOB from the non-matching case with a missing comment-end-skip for + a 2-char comment ender. + (comment-choose-indent): New function extracted from comment-indent. + Improve the alignment algorithm. + (comment-indent): Use it. - * isearch.el (lazy-highlight): Rename from `lazy-highlight-face'. - (isearch-lazy-highlight-face): Use new name. + * textmodes/sgml-mode.el (sgml-lexical-context): Add handling of + XML style Processing Instructions. + (sgml-parse-tag-backward): Handle XML-style PIs. Also ensure progress. + (sgml-calculate-indent): Handle `pi' context. -2005-01-05 Stefan Monnier + * vc.el: Ensure that update-changelog issues an error when used with + a backend that does not implement it. + (vc-update-changelog-rcs2log): Rename from vc-default-update-changelog. + Remove `backend' argument. Use expand-file-name. + (vc-cvs-update-changelog, vc-rcs-update-changelog): New aliases. - * uniquify.el (uniquify-rationalize-file-buffer-names): - Re-add an interactive spec. - (uniquify-rationalize-file-buffer-names): Fix corner case when renaming - to the same name. + * progmodes/python.el (python-end-of-block): Revert last change. + (python-end-of-statement): Make sure we move *forward*. - * isearch.el (isearch-dehighlight): Remove unused arg `totally'. - (isearch-update, isearch-done): Adjust calls accordingly. +2007-05-08 Richard Stallman -2005-01-05 Richard M. Stallman + * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): + Don't include non-self-insert commands in the exception for `-'. - * custom.el (custom-set-variables, custom-theme-set-variables): - Clarify documentation. +2007-05-08 David Reitter - * emacs-lisp/find-func.el (find-variable) - (find-variable-other-window, find-variable-other-frame): - Fix the TYPE args to find-function-read and find-function-do-it. - (find-function): Doc fix. - (find-function-at-point): Replace function-at-point alias. + * progmodes/python.el (python-guess-indent): Check non-nullness + before comparing indent against the 2..8 interval. -2005-01-04 Richard M. Stallman +2007-05-07 YAMAMOTO Mitsuharu - * cus-face.el (custom-declare-face): - Record defface in current-load-list. + * term/mac-win.el (mac-ts-unicode-for-key-event): Check if text is + available. - * help-fns.el (variable-at-point): New arg ANY-SYMBOL. +2007-05-06 Richard Stallman - * emacs-lisp/find-func.el: Doc fixes. - (find-face-regexp): New variable. - (find-function-regexp-alist): New variable. - (find-function-C-source): Third arg is now TYPE. - (find-function-search-for-symbol): Handle general TYPE. - (find-function-read, find-function-do-it): Handle general TYPE. - (find-definition-noselect, find-face): New functions. - (function-at-point): Alias deleted. + * emacs-lisp/eldoc.el (turn-on-eldoc-mode): Doc fix. -2005-01-04 Stefan Monnier +2007-05-05 Stefan Monnier - * battery.el (display-battery-mode): Rename from display-battery. - Handle the case where it gets turned off. + * diff.el (diff): Use buffer-local vars diff-old-file and diff-new-file + rather than storing their value in the revert-buffer function. -2005-01-04 Richard M. Stallman +2007-05-04 Nick Roberts - * cus-edit.el (customize): Make :link point to user doc. + * t-mouse.el (t-mouse-mode): Do nothing on a graphical display + when disabling t-mouse-mode. - * man.el (Man-fontify-manpage): Turn off undo generation. +2007-05-01 Davis Herring - * add-log.el (change-log-font-lock-keywords): Don't match just "From". + * calendar/timeclock.el: Update version number. + (timeclock-modeline-display): Mention timeclock-use-display-time + in explanatory message. + (timeclock-in): Fix non-interactive workday specifications. + (timeclock-log): Don't kill the log buffer if it already existed. + Suppress warnings when finding the log. Don't check for a nil + project twice. Run hooks after killing the buffer (if applicable). + (timeclock-geometric-mean): Rename to `timeclock-mean' (it never + was geometric). All uses changed. + (timeclock-generate-report): Support prefix argument. -2005-01-04 Andreas Schwab +2007-05-03 Ryan Yeske - * files.el (insert-directory): Only look for error lines in - inserted text. Don't move too far after processing --dired markers. + * net/rcirc.el (rcirc-timeout-seconds): Increase to prevent unwanted + disconnections. -2005-01-04 Richard M. Stallman +2007-05-01 Romain Francoise - * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): - Don't expand if the character is @, period, dash, etc. - (define-mail-abbrev): Quote names that contain problem characters. + * dired-x.el: Revert 2007-04-06 change. -2005-01-04 Thien-Thi Nguyen +2007-04-29 Stephen Berman - * progmodes/hideshow.el: No longer require `cl'; `dolist' is standard. + * find-dired.el (find-dired-filter): Propertize all text down to eob. -2005-01-03 Richard M. Stallman +2007-04-29 Richard Stallman - * replace.el (replace-dehighlight): Use lazy-highlight-cleanup. - (query-replace-highlight, query-replace-lazy-highlight) - (query-replace): Definitions moved up. Doc fix. + * international/mule.el (auto-coding-alist): Add pdf => no-conversion. -2005-01-03 Richard M. Stallman +2007-04-28 Stefan Monnier - * isearch.el (lazy-highlight): Group renamed from isearch-lazy-... - (lazy-highlight-cleanup, lazy-highlight-initial-delay) - (lazy-highlight-interval, lazy-highlight-max-at-a-time) - (lazy-highlight-face): Rename from isearch-lazy-... - Change all references to them. + * progmodes/cc-mode.el (c-before-change): Use point-min rather + than 1. -2005-01-03 Luc Teirlinck +2007-04-28 Richard Stallman - * cus-edit.el (custom-file): Doc fix for defcustom. - (custom-file): The function no longer sets the variable - `custom-file' to its return value. + * progmodes/sh-script.el (sh-mode): Recognize .profile as sh style. - * startup.el (command-line): No longer load `custom-file'. +2007-04-28 Nick Roberts -2005-01-03 Stefan Monnier + * progmodes/gud.el (gud-menu-map): Pdb can't handle SIGINT so + don't put stop on toolbar. - * emacs-lisp/find-func.el (find-variable-regexp): Avoid defface. +2007-04-28 Stefan Monnier - * progmodes/perl-mode.el (perl-nochange, perl-calculate-indent): - Don't confuse module-prefixed identifiers for labels. - Reported by Juan-Leon Lahoz Garcia . + * vc-hooks.el (vc-ignore-dir-regexp): Add /.../ for the DFS filesystem. -2005-01-02 Richard M. Stallman +2007-04-28 Eli Zaretskii - * files.el (basic-save-buffer-1): Fix previous change. + * makefile.w32-in ($(lisp)/mh-e/mh-loaddefs.el): Use ./mh-e + instead of $(lisp)/mh-e. - * loadhist.el (file-loadhist-lookup): New function. - (file-provides, file-requires): Use it. +2007-04-28 Glenn Morris - * electric.el (Electric-pop-up-window): Use fit-window-to-buffer - instead of calculating the right size. + * image-dired.el (image-dired-cmd-create-thumbnail-options) + (image-dired-cmd-create-temp-image-options): Replace option + +profile "*" with -strip. -2005-01-02 Karl Chen +2007-04-27 Chong Yidong - * vc-svn.el (vc-svn-diff): Stay local if possible. + * textmodes/flyspell.el (flyspell-auto-correct-previous-word): + Use window-start and window-end. -2005-01-02 Stefan Monnier +2007-04-27 Andreas Schwab - * vc-arch.el (vc-arch-workfile-version): Handle the empty-branch case. + * emacs-lisp/sregex.el (sregexq): Fix doc string quoting. - * files.el (hack-local-variables): Fix last change. +2007-04-27 Eli Zaretskii -2005-01-02 Jay Belanger + * textmodes/fill.el (fill-paragraph): Doc fix. - * calc/calc-yank.el (calc-edit-top): New variable. - (calc-edit-mode): Set calc-edit-top to be the beginning of the edited - object. Change header properties. - (calc-edit-finish, calc-edit-finish-stack-object) - (calc-edit-show-buffer): Use calc-edit-top to find the beginning of the - edited object. - * calc/calc-sel.el (calc-finish-selection-edit): Use calc-edit-top - for the beginning of the edited object. - * calc/calc-embed.el (calc-embedded-finish-edit): Use calc-edit-top - for the beginning of the edited object. - * calc/calc-prog.el (calc-edit-macro-finish-edit) - (calc-finish-formula-edit, calc-macro-repeats) - (calc-edit-macro-adjust-buffer, calc-edit-format-macro-buffer) - (calc-edit-macro-pre-finish-edit): Use calc-edit-top for the - beginning of the edited object. - (calc-user-define-edit): Change the header for editing macros. - Remove unnecessary variable. +2007-04-26 Luc Teirlinck -2005-01-01 Jay Belanger + * locate.el (locate-in-alternate-database): Doc fix. - * calc/calc-yank.el (calc-edit-mode): Change default header. - (calc-edit-finish, calc-show-edit-buffer): Adjust to handle new header. - * calc/calc-store.el (calc-edit-variable): Change title to match new - header. - * calc/calc-prog.el (calc-edit-user-syntax): Change title in edit - mode to match new header. - (calc-user-define-edit): Change titles to include names of commands. - (calc-finish-formula-edit): Adjust to handle new header. - (calc-finish-macro-edit): Remove. - (calc-edit-macro-repeats, calc-edit-macro-adjust-buffer) - (calc-edit-macro-command, calc-edit-macro-command-type) - (calc-edit-macro-combine-alg-ent, calc-edit-macro-combine-ext-command) - (calc-edit-macro-combine-var-name, calc-edit-macro-combine-digits) - (calc-edit-format-macro-buffer, calc-edit-macro-pre-finish-edit) - (calc-edit-macro-finish-edit): New functions. - (calc-user-define-edit): Use new functions to edit named calc macros. +2007-04-26 Glenn Morris -2005-01-01 Stefan Monnier + * button.el (button): Use underline if supported, else fall back + to color. - * files.el (hack-local-variables): Cleanup prefix/suffix matching. + * version.el (emacs-version): Increase to 22.1.50. - * ses.el (copy-region-as-kill): Deactivate mark. +2007-04-25 Richard Stallman -2005-01-01 Richard M. Stallman + * hi-lock.el (hi-lock-file-patterns-policy): Default to `ask'. - * replace.el (occur-1): If the output buffer is also an input, - don't kill it, rename it. +2007-04-25 J.D. Smith - * faces.el (set-face-background, set-face-foreground): Doc fix. + * progmodes/idlwave.el (idlwave-beginning-of-subprogram) + (idlwave-end-of-subprogram): Take optional NOMARK arg to prevent + pushing mark. + (idlwave-current-routine): Don't push mark. - * cus-face.el (custom-face-attributes): Fix :help-echo strings - for :foreground and :background. +2007-04-25 Mathias Dahl - * dired.el (dired-view-command-alist): Variable deleted. - (dired-view-file, dired-mouse-find-file-other-window): - Delete the code to use it. + * image-dired.el (image-dired-display-image): Derive image-type from + filename rather than assuming jpeg, in case no resizing was needed. -2005-01-01 Kim F. Storm +2007-04-25 Johan Bockg,Ae(Brd - * image.el (insert-sliced-image): Use t for line-height property. + * custom.el (defface): Doc fix. -See ChangeLog.11 for earlier changes. +See ChangeLog.12 for earlier changes. ;; Local Variables: ;; coding: iso-2022-7bit diff --cc lisp/ChangeLog.12 index 91b3379d2b0,00000000000..fa7dc5589af mode 100644,000000..100644 --- a/lisp/ChangeLog.12 +++ b/lisp/ChangeLog.12 @@@ -1,33375 -1,0 +1,33386 @@@ +2007-04-24 J.D. Smith + + * progmodes/idlw-shell.el (idlwave-shell-clear-all-bp): + Don't re-query for each cleared BP. + (idlwave-shell-clear-bp): Optionally skip BP query. + (idlwave-shell-update-bp-overlays): Use set-window-margins instead + of set-window-buffer, which incorrectly moves displayed region. + +2007-04-23 Jay Belanger + + * calc/calc.el (calc-bug-address): Update maintainer's address. + * calc/*: Update maintainer's address. + +2007-04-23 Richard Stallman + + * simple.el (set-mark-command-repeat-pop): Doc fix. + Put in `editing-basics' group. + +2007-04-23 Chong Yidong + + * info.el (Info-mouse-scroll-up, Info-mouse-scroll-down): + New functions. + (Info-mode-line-node-keymap): Bind mouse commands to + Info-mouse-scroll-up/down instead of Info-scroll-up/down. + +2007-04-23 Luc Teirlinck + + * locate.el (locate-local-prompt): New var. + (locate-prompt-for-command): Doc fix. + (locate-prompt-for-search-string): New function. + (locate): New optional arg. Make locate-local-prompt + buffer-local. Use locate-prompt-for-search-string. + (locate-with-filter): New optional arg. + Use locate-prompt-for-search-string. + (locate-update): Bind locate-prompt-for-command. + +2007-04-23 Glenn Morris + + * files.el (magic-mode-alist): ` + + * button.el (button): Inherit from link face on a tty. + +2007-04-23 Glenn Morris + + * button.el (button): Use color for this face on a tty. + + * files.el (magic-mode-alist): Allow for carriage-returns in + html-mode and sgml-mode entries. + +2007-04-22 Richard Stallman + + * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): + Improve doc string of generated command. + + * subr.el (read-number): Catch errors. + + * hi-lock.el (hi-lock-file-patterns-policy): Doc fix. + +2007-04-22 Chong Yidong + + * image-dired.el: Rename from thumbnails.el. All instances of + "thumbnails" replaced with "image-dired". + + * dired.el (dired-mode-map): Rename "thumbnails" again, to + "image-dired". + +2007-04-22 Kim F. Storm + + * ido.el (ido-kill-buffer-at-head, ido-delete-file-at-head): + Don't use kill-line. + +2007-04-22 Nick Roberts + + * t-mouse.el (t-mouse-make-event): Pass on mev's more informative + error message. + +2007-04-22 Chong Yidong + + * dired.el: Rename "tumme" to "thumbnails". + + * thumbnails.el: Rename from tumme.el. All instances of "tumme" + replaced with "thumbnails". + +2007-04-22 Glenn Morris + + * hi-lock.el (hi-lock-file-patterns-policy): Make it a defcustom, + and give it the risky-local-variable property. + + * textmodes/flyspell.el (flyspell-define-abbrev): Downcase abbrev + before defining it. + +2007-04-21 Martin Rudalics + + * progmodes/cc-mode.el (c-remove-any-local-eval-or-mode-variables): + Use delete-region instead of kill-line. + +2007-04-21 Alan Mackenzie + + * progmodes/cc-cmds.el (c-electric-slash): Replace wrong use of + `kill-region' by `delete-region'. + +2007-04-21 Chong Yidong + + * progmodes/perl-mode.el (perl-indent-command): Use delete-region + instead of kill-region. + + * progmodes/mantemp.el (mantemp-make-mantemps-region) + (mantemp-insert-cxx-syntax, mantemp-sort-and-unique-lines) + (mantemp-remove-memfuncs): Use delete-region instead of kill-word + and kill-line. + + * progmodes/vhdl-mode.el (vhdl-template-type) + (vhdl-template-record, vhdl-template-nature) + (vhdl-template-configuration-spec, vhdl-template-component-inst) + (vhdl-template-break, vhdl-regress-line, vhdl-electric-tab): + Use delete-region instead of kill-word and kill-line. + +2007-04-21 Johan Bockg,Ae(Brd + + * dired-x.el (dired-virtual-mode): Doc fix. + +2007-04-21 Richard Stallman + + * font-lock.el (font-lock-keywords-alist): Mark as risky. + + * subr.el (read-number): Doc fix. + + * simple.el (pop-to-mark-command): Display message "mark popped" + if point does not move. + (set-mark-command): Doc fix. + +2007-04-21 Luc Teirlinck + + * locate.el: Revert 2006-09-09 and 2007-04-20 changes. + (locate-local-filter, locate-local-search): New vars. + (locate): Make variables local. + (locate-update): Bind locate-buffer-name. Call locate using + locate-local-filter and locate-local-search. + +2007-04-20 David Koppelman + + * hi-lock.el (hi-lock-file-patterns-policy): New var. + (hi-lock-find-patterns): Use hi-lock-file-patterns-policy. + (hi-lock-mode): Update docstring. + +2007-04-20 Stefan Monnier + + * textmodes/fill.el (fill-move-to-break-point): Don't inhibit + fill-nobreak-predicate when the break is past fill-column. + +2007-04-20 Francesco Potort,Al(B + + * locate.el (locate): Output from shell-command should go in the + current buffer rather than *Shell Command Output*. + +2007-04-20 Chong Yidong + + * paren.el (show-paren-function): Fix last fix. + +2007-04-19 Kevin Ryde + + * arc-mode.el (archive-find-type): lzh-exe for lzh self-extracting exe. + (archive-lzh-summarize): Add optional start arg for where to start + looking at the archive. + (archive-lzh-exe-summarize, archive-lzh-exe-extract): New functions. + + * international/mule.el (auto-coding-alist): no-conversion for .exe + and .EXE. + +2007-04-19 Alan Mackenzie + + * progmodes/cc-cmds.el (c-in-function-trailer-p): Fix this: when a + function return type contains "struct", "union", etc. + c-end-of-defun goes too far forward. + +2007-04-19 Chong Yidong + + * paren.el (show-paren-function): Reset window-start to avoid + recentering. + +2007-04-19 Glenn Morris + + * calendar/todo-mode.el: Fix typo: "threshhold" -> "threshold". + +2007-04-18 Glenn Morris + + * calendar/diary-lib.el (diary-header-line-format): Add a custom + :set function. + (diary-list-entries): Only switch to diary-mode from + default-major-mode (reverts 2007-03-21 change). Otherwise, if in + diary-mode set header-line-format, in case of any customization. + +2007-04-18 Levin Du (tiny change) + + * calendar/parse-time.el (parse-time-string-chars): Check if CHAR + is less than the length of parse-time-syntax. + +2007-04-17 David Kastrup + + * replace.el (query-replace-regexp-eval): Deprecate. + +2007-04-17 Alan Mackenzie + + * progmodes/cc-cmds.el (c-beginning-of-defun): With -ve arg and + point too close to EOB, leave point at EOB rather than last `}'. + +2007-04-17 Roland Winkler + + * textmodes/bibtex.el (bibtex-include-OPTkey) + (bibtex-user-optional-fields, bibtex-entry-field-alist): + Fix defcustom. + +2007-04-17 Glenn Morris + + * calendar/cal-dst.el (calendar-dst-find-startend): If YEAR cannot + be encoded, fall back to current year. + +2007-04-14 Kevin Ryde + + * arc-mode.el (archive-lzh-summarize): Only apply the "downcase if + all upcase" rule to OS-ID 0 "generic". Always downcase for OS-ID + M "MSDOS". + +2007-04-16 Chong Yidong + + * progmodes/python.el (python-end-of-block): Avoid looping forever + if python-next-statement fails. + +2007-04-16 Roland Winkler + + * textmodes/bibtex.el (bibtex-entry-field-alist): Use defcustom. + +2007-04-16 Dan Nicolaescu + + * progmodes/perl-mode.el (perl-indent-level): Mark as safe local var. + * progmodes/cperl-mode.el (cperl-indent-level): Likewise. + +2007-04-15 Jay Belanger + + * calc/calc.el (calc-version): New function. + (calc-trail-mode): Shorten the title. + +2007-04-15 Chong Yidong + + * mail/footnote.el (footnote-style): Clarify docstring to state + that customizing this only applies to future footnotes. + +2007-04-15 Roland Winkler + + * textmodes/bibtex.el (bibtex-field-list): Use functionp. + (bibtex-make-field): Check that INIT is a string. Use functionp. + +2007-04-14 Glenn Morris + + * complete.el (PC-goto-end): New buffer-local variable. + (PC-do-completion-end): Make buffer-local. + (partial-completion-mode) : + Do not go to the end of the minibuffer if PC-goto-end is non-nil. + (PC-do-completion): New optional fourth argument GOTO-END. Add a + doc string. Set PC-goto-end for choose-completion. + (PC-lisp-complete-symbol): Pass non-nil GOTO-END arg to + PC-do-completion. + + * textmodes/bibtex.el (bibtex-insert-kill): Pass non-nil NODELIM + arg to bibtex-make-field. + (bibtex-make-field): Add optional fourth arg NODELIM. + Insert delimiters around INIT unless this arg is non-nil. + +2007-04-14 Nick Roberts + + * tmm.el (tmm-get-keybind): Use copy-sequence to ensure that the + global map isn't modified. + +2007-04-14 Glenn Morris + + * calendar/appt.el (appt-disp-window): Do not split small windows. + Suggested by Jeff Miller . + +2007-04-13 Chong Yidong + + * progmodes/compile.el (compilation-start): Revert 2007-03-25 change. + + * files.el: Ditto. + +2007-04-13 Juanma Barranquero + + * cus-edit.el (minibuffer, auto-save): Fix typos in docstrings. + + * term.el (term-buffer-maximum-size, term-exec, term-escape-char) + (term-set-escape-char, term-termcap-format, term-get-old-input-default) + (term-skip-prompt, term-send-string, term-send-region, term-pager-page) + (term-pager-help): Fix typos in docstrings. + + * wid-edit.el (widget-documentation): Fix typo in docstring. + + * progmodes/ebnf2ps.el (ebnf-insert-style, ebnf-merge-style): + Fix typos in error messages. + +2007-04-13 Martin Rudalics + + * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't select + window marked as dedicated. + + * mail/footnote.el (footnote-latin-string): New variable. + (footnote-latin-regexp): Redefine as regexp alternative. + (Footnote-latin): Use footnote-latin-string instead of + footnote-latin-regexp. + +2007-04-13 Glenn Morris + + * tmm.el (tmm-get-keybind): Use car-safe to avoid errors with + inherited keymaps. + +2007-04-12 Chong Yidong + + * outline.el (outline-get-next-sibling): Clarify docstring. + (outline-get-last-sibling): Handle case where we are at the first + heading. Clarify docstring. + +2007-04-12 Nick Roberts + + * progmodes/gud.el (gud-minor-mode-map): Make go button same + length as stop button to lessen flicker. + (jdb): Add gud-print. + (gud-find-expr): Jdb prints the expression with the value, so + don't insert it in the output. + +2007-04-11 Jason Rumney + + * dnd.el (dnd-get-local-file-name): Decode both upper and lower + case hex. Do not try to decode non-hex letters. + +2007-04-11 Markus Triska + + * emacs-lisp/byte-opt.el (byte-optimize-backward-char) + (byte-optimize-backward-word): Remove (move to bytecomp.el). + (byte-optimize-form-code-walker): Evaluate pure function calls if + possible. + (byte-optimize-all-constp): New function. + + * emacs-lisp/bytecomp.el (byte-compile-char-before): + Improve numeric argument case. + (byte-compile-backward-char, byte-compile-backward-word): + New functions, performing rewriting previously done in byte-opt.el. + Fix their "Fixme" item (restriction to numeric arguments). + +2007-04-11 Stefan Monnier + + * desktop.el (desktop-save, desktop-create-buffer): Replace mapcar + with dolist. + (after-init-hook): Don't quote lambda. + (desktop-first-buffer): Don't wrap it in eval-when-compile. + (desktop-internal-v2s): Remove unused var `el'. + (desktop-buffer-major-mode, desktop-buffer-locals): Move out of + desktop-restore-file-buffer. + (desktop-buffer-ok-count, desktop-buffer-fail-count): Move out of + desktop-create-buffer. + +2007-04-10 Chong Yidong + + * woman.el (woman-decode-buffer): Postpone macro-set check... + (woman-decode-region): ...to here. + +2007-04-10 Thien-Thi Nguyen + + * startup.el (tty-handle-args): Use %S to log ARGS. + +2007-04-10 Glenn Morris + + * dframe.el (dframe-frame-mode): Do not set auto-show-mode, since + it is obsolete and has no effect. + + * dos-w32.el (default-buffer-file-type): Add defvar to quieten + byte-compiler. + + * progmodes/cperl-mode.el (cperl-mode): Remove unnecessary call to + obsolete function make-local-hook. + + * progmodes/dcl-mode.el (top-level): Move (require 'tempo) to + start to quieten byte-compiler. + +2007-04-10 Markus Triska + + * emacs-lisp/byte-opt.el (byte-optimize-char-before): Remove (move + to bytecomp.el as byte-compile-char-before). + * emacs-lisp/bytecomp.el (byte-compile-char-before): + New function (modified replacement for byte-optimize-char-before in + byte-opt.el). + +2007-04-09 Alan Mackenzie + + * startup.el (inhibit-splash-screen): Emphatically state that it + can't be set in site-start.el. + +2007-04-09 Masatake YAMATO + + * progmodes/cc-subword.el (c-capitalize-subword): More closely + mimic the behavior of `capitalize-word'. Do not move point with a + negative argument. Based on tiny change by Paul Curry. + +2007-04-09 Paul Curry (tiny change) + + * progmodes/cc-subword.el (c-downcase-subword, c-upcase-subword): + Don't move point if ARG is negative. + +2007-04-09 Alan Mackenzie + + Changes to make `narrow-to-defun' and `mark-defun' work properly + in CC Mode: + + * progmodes/cc-defs.el (c-beginning-of-defun-1): + * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun): + Bind beginning/end-of-defun-function to nil around calls to + beginning/end-of-defun. + + * progmodes/cc-langs.el (beginning-of-defun-function) + (end-of-defun-function): New c-lang-setvar's. + + * progmodes/cc-awk.el (c-awk-beginning-of-defun): Add "(or arg + (setq arg 1))" to enable non-interactive call. + +2007-04-09 Eli Zaretskii + + * simple.el (set-mark-command): Doc fix. + +2007-04-09 Nick Roberts + + * progmodes/gud.el (gdb): Restore existing session if user + tries to start a second one in graphical mode. + +2007-04-08 Martin Rudalics + + * cus-start.el : Add choices. + +2007-04-08 Johan Bockg,Ae(Brd + + * term/xterm.el (terminal-init-xterm): Fix key definitions. + Add binding for C-M-SPC. + +2007-04-08 Richard Stallman + + * pcomplete.el (pcomplete-read-event): One single definition, + and not a defsubst. + +2007-04-08 Chong Yidong + + * progmodes/cc-cmds.el (c-end-of-defun): Tidy up, to eliminate + byte-compiler warning "value unused". + +2007-04-08 Andreas Schwab + + * term/xterm.el (terminal-init-xterm): Add bindings for keypad keys. + +2007-04-07 Glenn Morris + + * calendar/calendar.el (diary-font-lock-keywords, diary-live-p): + Autoload these functions. + (diary-date-forms): Add a custom :set form. + + * calendar/diary-lib.el (diary-set-maybe-redraw): Move definition + before first use. + (diary-font-lock-keywords): New function with old code for + initialization of variable of same name. + +2007-04-07 David Hansen (tiny change) + + * progmodes/cc-cmds.el (c-electric-paren): Fix space-before-funcall + clean-up: only insert space when on identifier, etc. + +2007-04-07 Chong Yidong + + * progmodes/grep.el (grep-find-use-xargs): Rewrite docstring. + + * net/tls.el (open-tls-stream): Properly handle case where there + is no associated buffer. + +2007-04-07 Glenn Morris + + * ffap.el (ffap-file-at-point): Lower the priority of the + ffap-ftp-sans-slash-regexp check. + +2007-04-06 Alan Mackenzie + + Fix fontification of labels, and other things with ":". + + * progmodes/cc-engine.el (c-forward-label): The function now + returns 'goto-target, 'qt-2kwds-colon, 'qt-1kwd-colon, as well as + the former t. + + * progmodes/cc-fonts.el (c-font-lock-declarations): Interpret the + new return code from c-forward-label, fontifying tokens properly. + Add some general comments throughout the file. + +2007-04-06 Chong Yidong + + * textmodes/flyspell.el (flyspell-duplicate, flyspell-incorrect): + Revert 2006-01-27 change. + + * diff-mode.el (diff-mode): Revert 2007-03-04 change. + + * menu-bar.el (menu-bar-tools-menu): Revert 2003-07-25 change. + + * desktop.el (desktop-create-buffer, desktop-save): + Revert 2004-11-12 change for lack of copyright papers. + + * dired-x.el (dired-guess-shell-case-fold-search): Delete var. + (dired-guess-default): Respect case. + + * isearch.el (isearch-forward): Revert 1998-08-26 doc change. + + * emacs-lisp/byte-opt.el (byte-optimize-pure-func): Remove function; + was originally checked in as byte-optimize-concat on 1997-11-02. + + * mail/sendmail.el (mail-text, mail-mode): Revert extant pieces of + 1995-05-19 doc changes. + +2007-04-06 Kim F. Storm + + * loadhist.el (read-feature): Reimplement. New optional arg LOADED-P. + (unload-feature): Update interactive spec accordingly. + + * progmodes/grep.el (grep-program): Remove commentary about zgrep. + +2007-04-06 John Paul Wallington + + * subr.el (with-case-table): Use `make-symbol' to avoid variable + capture. Restore the table in the same buffer. + + * font-lock.el (lisp-font-lock-keywords-2): Add `with-case-table'. + +2007-04-05 Chong Yidong + + * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): + Print entire form. + +2007-04-05 Nick Roberts + + * progmodes/gdb-ui.el (breakpoint-disabled): Tweak face (again) + for low-color displays. + +2007-04-05 Glenn Morris + + * play/5x5.el, play/animate.el, play/dissociate.el, play/doctor.el, + * play/gomoku.el, play/landmark.el, play/tetris.el, play/zone.el: + Seed random number generator on loading. + + * emacs-lisp/authors.el (top-level): Provide self. + + * play/animate.el (top-level): Provide self. + +2007-04-04 Alan Mackenzie + + * progmodes/cc-vars.el (c-special-indent-hook): Amend doc-string + to mention c-syntactic-indentation. + +2007-04-04 Chong Yidong + + * subr.el (with-case-table): New macro. + + * international/mule.el (ascii-case-table): New var. + + * mail/smtpmail.el (smtpmail-via-smtp): Use ascii-case-table when + downcasing. + +2007-04-03 Nick Roberts + + * progmodes/gud.el (gud-minor-mode-map): Simplify. + + * t-mouse.el (t-mouse-make-event-element): Don't use the left edge + of the window if we're outside it e.g menu-bar. + + * xt-mouse.el (xterm-mouse-event): Don't use the left edge of the + window if we're outside it e.g menu-bar. + +2007-04-03 Eli Zaretskii + + * mail/rmail.el (rmail-convert-to-babyl-format): Don't try to + decode base-64 encoded body if its content-type is something other + than text/* or message/*. + +2007-04-03 Juanma Barranquero + + * simple.el (activate-mark-hook): Fix typo in docstring. + +2007-04-03 Nick Roberts + + * tmm.el (tmm-c-prompt): Initialize. + (tmm-menubar): Deal with extended menu-items at top level. + (tmm-get-keybind): Handle bindings redefined/undefined locally. + (tmm-prompt): Handle visibility of top level menu-items. + + * progmodes/gud.el (gud-menu-map): Simplify. + (gud-minor-mode-map): Add tool-bar like bindings to the text mode + menubar. + +2007-04-02 Chong Yidong + + * mail/smtpmail.el (smtpmail-via-smtp): Revert last change. + + * comint.el (comint-send-input): Widen the buffer first. + + * info.el (Info-fontify-maximum-menu-size): Revert to 100000. + +2007-04-01 Stefan Monnier + + * emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Only obey + emacs-lisp-docstring-fill-column in emacs-lisp-mode. + + * newcomment.el (comment-search-forward): Discard comment starters + before point. + +2007-04-01 Guanpeng Xu + + * mouse.el (mouse-set-secondary): Update mouse-secondary-overlay. + +2007-04-01 Chong Yidong + + * mail/smtpmail.el (smtpmail-via-smtp): Use standard case table + when downcasing. + + * button.el (previous-button): Rewrite to account for adjacent buttons. + +2007-04-01 J.D. Smith + + * progmodes/idlwave.el (idlwave-auto-fill): + Revert paragraph-separate change. + + * progmodes/idlw-shell.el (idlwave-shell-break-in): + Simplify module calc. + (idlwave-shell-set-bp-in-module): Compute module. + +2007-03-31 Glenn Morris + + * emacs-lisp/timer.el (run-at-time): Doc fix. + + * emacs-lisp/warnings.el (display-warning): If we create the + buffer displaying the warning, disable undo there. + +2007-03-31 Michael Albinus + + * net/tramp.el (tramp-register-file-name-handler) + (tramp-register-completion-file-name-handler): New defsubst, + derived from `tramp-register-file-name-handlers'. The split is + necessary because Tramp's file name handlers must be registered at + different startup places. + +2007-03-31 Chong Yidong + + * progmodes/hideshow.el (turn-off-hideshow): New function. + (hs-minor-mode): Use it instead of a lambda expression in + change-major-mode-hook. + +2007-03-31 David Kastrup + + * woman.el (woman-Cyg-to-Win): Don't convert cons cells + corresponding to MANPATH_MAP entries. + (woman-man.conf-path, woman-parse-man.conf): Doc fix. + (woman-parse-man.conf): Use more discriminating man.conf name. + (woman-parse-man.conf): Parse MANPATH_MAP entries. + (woman-manpath): Doc fix and type fix. + (woman-cached-data): Check for MANPATH_MAP entries. + (woman-expand-directory-path): Treat MANPATH_MAP entries. + +2007-03-31 Stuart Herring + + * emacs-lisp/sregex.el (sregexq): Doc fix. + +2007-03-31 Markus Triska + - * flymake.el (flymake-err-line-patterns): Doc fix. ++ * progmodes/flymake.el (flymake-err-line-patterns): Doc fix. + +2007-03-30 Reiner Steib + + * info.el (info-tool-bar-map): Use "exit" for Info-exit. + Move to the right. + +2007-03-30 Alan Mackenzie + + * progmodes/cc-cmds.el (c-forward-to-nth-EOF-}): Fix EOB bug. + +2007-03-30 Thien-Thi Nguyen + + * emacs-lisp/ewoc.el (ewoc--insert-new-node): Take additional arg DLL. + Use it, passed in explicitly, instead of from the dynamic binding. + (ewoc-create, ewoc-enter-before): Update to use new call sequence. + +2007-03-30 Juanma Barranquero + + * simple.el (blink-matching-open): When in minibuffer, don't + search for a match inside the prompt. + +2007-03-30 Nick Roberts + + * tmm.el (tmm-menubar): Select the right menu item with the mouse. + (tmm-prompt): Don't make the mouse user select the first menu + item twice. + +2007-03-30 Chong Yidong + + * eshell/esh-proc.el (eshell/kill): Tweak regexp to recognize + SIGUSR1 and SIGUSR2. + +2007-03-29 Kim F. Storm + + * ido.el (ido-read-internal): When reading file or dir, only override + minibuffer-local-filename-completion-map, otherwise only override + minibuffer-local-completion-map. + +2007-03-29 Glenn Morris + + * complete.el (partial-completion-mode): Set PC-do-completion-end + to nil after use. + (PC-lisp-complete-symbol): Create and use a marker at `end', + rather than using point-marker. + +2007-03-28 Chong Yidong + + * simple.el (next-error-highlight): Doc fix. + (compose-mail): Revert 2007-03-19 change. + +2007-03-28 Richard Stallman + + * emacs-lisp/edebug.el (edebug-display): Don't go to + edebug-outside-buffer if it is dead. + +2007-03-28 Juanma Barranquero + + * view.el (view-mode): Fix typos in docstring. + +2007-03-28 Stephen Berman + + * recentf.el (recentf-save-file): Add a custom :set function. + +2007-03-28 Glenn Morris + + * complete.el (PC-do-completion-end): New variable. + (partial-completion-mode) : + Use PC-do-completion-end in the non-minibuffer case to replace the + correct amount of text. + (PC-do-completion): Set PC-do-completion-end for c-c-s-f. + (PC-lisp-complete-symbol): Give marker the after-insertion type, + to deal with improvements inserted after point. + +2007-03-28 Stefan Monnier + + * button.el (make-text-button): Add explicit `button' property. + (default-button): Don't put a `button' property on it. + + * progmodes/python.el (python-mode): Skip comments when parsing. + + * vc-arch.el (vc-with-current-file-buffer): New macro. + (vc-arch-file-source-p): Use it to avoid infloop. + +2007-03-28 David Hansen (tiny change) + + * emacs-lisp/lisp.el (lisp-complete-symbol): + Fix call to get-buffer-window to find windows in other frames. + +2007-03-28 Stefan Monnier + + * comint.el (comint-proc-query, comint-dynamic-list-completions): + Fix calls to get-buffer-window to find windows in other frames. + Reported by David Hansen . + +2007-03-27 Kevin Ryde + + * info.el (Info-display-images-node): On a text-only terminal, + show the "text" or "alt" parts of the image blobs. + +2007-03-27 Glenn Morris + + * complete.el (PC-do-completion): Compute completion-base-size in + the non-filename case, rather than setting to nil. + (PC-lisp-complete-end): New variable. + (PC-lisp-complete-symbol): Use PC-lisp-complete-end to store the + original end in a series of consecutive invocations. + + * calendar/calendar.el (calendar-mode-hook): Declare it. + + * calendar/diary-lib.el (diary-live-p): Do not check for + diary-selective-display. + +2007-03-26 Stefan Monnier + + * replace.el (occur-next-error): *Occur* might not be displayed in the + selected frame. Reported by David Hansen . + +2007-03-26 Richard Stallman + + * textmodes/flyspell.el (flyspell-large-region): + Use ispell-call-process-region. + +2007-03-26 Johan Bockg,Ae(Brd + + * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble): + Use prin1 instead of princ. + +2007-03-25 Chong Yidong + + * faces.el (face-set-after-frame-default): Revert 2007-03-10 change. + Merge in X resources before global face. + + * progmodes/compile.el (compilation-start): Save compilation-directory + rather than default-directory as local var. + (compilation-directory): Mark as safe local var. + + * files.el: Don't mark default-directory as a safe local var. + +2007-03-25 Alan Mackenzie + + * progmodes/cc-mode.el (c-before-change): Fix BOB bug. + * progmodes/cc-engine.el: Fix typo. + +2007-03-25 Juri Linkov + + * compare-w.el (compare-windows): Rename customization group + `compare-w' to `compare-windows'. + (compare-windows-whitespace, compare-ignore-whitespace) + (compare-ignore-case, compare-windows-sync) + (compare-windows-sync-string-size, compare-windows-recenter) + (compare-windows-highlight, compare-windows): Change group name in + the `group' tag from `compare-w' to `compare-windows'. + (compare-windows-sync): Add option `nil' for no sync. Doc fix. + +2007-03-24 Markus Triska + + * expand.el: Change example to always enable abbrev-mode, + and remove redundant `function'. + (expand-abbrev-hook): Add autoload cookie. + +2007-03-24 Ryan Yeske + + * emacs-lisp/testcover.el (testcover-start, testcover-end) + (testcover-mark-all, testcover-unmark-all): Add prompts to + interactive specs. + +2007-03-24 Jason Rumney + + * autorevert.el (find-file-hook, auto-revert-tail-mode): + Use file size in bytes for auto-revert-tail-pos not characters. + +2007-03-24 Thien-Thi Nguyen + + * vc-rcs.el (vc-rcs-annotate-command): + Set text property :vc-annotate-prefix on the annotation text. + (vc-rcs-annotate-time): Instead of searching for ": ", + search for end of text propertized with :vc-annotate-prefix. + +2007-03-24 Martin Rudalics + + * whitespace.el (top level): Remove calls putting + permanent-local nil property since these are no-ops. + + * man.el (Man-support-local-filenames): Assure that + default-directory exists when doing call-process. + +2007-03-23 David Vazquez (tiny change) + + * progmodes/m4-mode.el (m4-m4-buffer, m4-m4-region): + Fix omission bug: Use m4-program-options to construct shell command. + +2007-03-23 David Kastrup + + * progmodes/cc-mode.el (c-make-emacs-variables-local): + Use `mapcar' rather than `mapcan' to silence compiler warning. + +2007-03-22 Ralf Angeli + + * textmodes/reftex.el, textmodes/reftex-vars.el, + * textmodes/reftex-toc.el, textmodes/reftex-sel.el, + * textmodes/reftex-ref.el, textmodes/reftex-parse.el, + * textmodes/reftex-index.el, textmodes/reftex-global.el, + * textmodes/reftex-dcr.el, textmodes/reftex-cite.el, + * textmodes/reftex-auc.el: Add maintainer address. + +2007-03-22 Carsten Dominik + + * textmodes/org.el (org-agenda-mode, org-table-edit-formulas): + Make sure that `global-font-lock-mode' does not turn on font-lock + in these buffers. + +2007-03-21 Kim F. Storm + + * xt-mouse.el (xt-mouse-epoch): New variable. + (xterm-mouse-event): Use float-time. + +2007-03-21 Nick Roberts + + * xt-mouse.el (xterm-mouse-event): Compute a timestamp using + current-time. + +2007-03-21 Stefan Monnier + + * complete.el (read-file-name-internal): Don't add the final > if the + completion is not finished (re-application of this patch, which was + accidentally undone by Eli). + +2007-03-21 Chong Yidong + + * emulation/viper.el (viper-non-hook-settings): Handle mouse + clicks in describe-key and describe-key-briefly advice a little better. + +2007-03-21 Juanma Barranquero + + * server.el (server-process-filter): Cancel any pending isearch. + +2007-03-21 Ulf Jasper + + * calendar/icalendar.el (icalendar-version): Increase to 0.15. + (icalendar--get-unfolded-buffer): Define actual arguments rather + than just using &rest. Check replace-in-string is fbound. + (icalendar-import-buffer): Doc fix. + (icalendar--convert-ical-to-diary): Set diary-file. + Check diary-file before inserting final newline. + (icalendar--add-diary-entry): Return diary-file. + +2007-03-21 Glenn Morris + + * calendar/calendar.el (diary-set-maybe-redraw): Autoload it. + (diary-display-hook): Add custom :set function. + + * calendar/diary-lib.el (diary-header-line-flag): Doc fix. + Add custom :set function. + (diary-header-line-format): Doc fix. + (diary-set-maybe-redraw): New function. + (number-of-diary-entries): Change :set to use diary-set-maybe-redraw. + (diary-list-entries): Always run diary-mode. + +2007-03-20 Kenichi Handa + + * international/quail.el (quail-setup-completion-buf): Make the + completion buffer read-only. + (quail-completion): Adjusted for the above change. Leave the + modified flag nil. + +2007-03-20 David Kastrup + + * files.el (magic-mode-alist): Require literal "%!PS" string for + magic postscript file detection. + +2007-03-20 Richard Stallman + + * textmodes/ispell.el (ispell-call-process): New function. + Defends against bad `default-directory.' + (ispell-check-version, ispell-find-aspell-dictionaries) + (ispell-get-aspell-config-value, lookup-words): Call it. + (ispell-call-process-region): New function. + (ispell-send-string): Call it. + +2007-03-20 Andreas Schwab + + * Makefile.in (custom-deps): Depend on $(lisp)/subdirs.el. + (finder-data): Likewise. + (autoloads): Likewise. + +2007-03-20 Martin Rudalics + + * files.el (basic-save-buffer): Do not set visited filename when + the corresponding directory does not exist or the specified + filename is that of an existing directory. + +2007-03-20 Glenn Morris + + * calendar/diary-lib.el (diary-live-p): New function. + (number-of-diary-entries): Add a :set function to redisplay diary + when necessary. + +2007-03-19 Nick Roberts + + * t-mouse.el (t-mouse-make-event-element): Use timestamp output + from client program, mev, to compute mouse event. + +2007-03-19 Chong Yidong + + * faces.el (momentary): Face removed; unused due to reversion of + 2007-01-04 changes by Kevin Rodgers. + + * mouse.el (mouse-drag-track): Remove spurious input-pending-p test. + Suggested by Johan Bockg,Ae(Brd. + +2007-03-19 Martin Rudalics + + * font-lock.el (lisp-font-lock-keywords-1): + Highlight define-globalized-minor-mode as a keyword. + +2007-03-19 Kim F. Storm + + * calc/calc-forms.el (math-std-daylight-savings) + (math-std-daylight-savings-old): Doc fix. + +2007-03-19 Juanma Barranquero + + * progmodes/python.el (python-default-template): Doc fix. + (python-buffer): Fix typo in docstring. + + * isearchb.el (isearchb-follow-char): + * subr.el (def-edebug-spec): Fix typo in docstring. + +2007-03-19 Richard Stallman + + * files.el (default-directory): Mark safe. + (basic-save-buffer-2): Put proper dir name in error message. + + * simple.el (compose-mail): Run switch-function after + setting up the mail buffer. + + * startup.el (inhibit-splash-screen, initial-major-mode): Doc fixes. + +2007-03-18 Jay Belanger + + * calc/calc-forms.el (math-parse-date): Fix a regular expression. + (math-std-daylight-savings-new): Rename from + `math-std-daylight-savings'. + (math-std-daylight-savings-old): Rename from old value of + `math-std-daylight-savings'. + (math-std-daylight-savings): Use `math-std-daylight-savings-new' or + `math-std-daylight-savings-old' depending on the year. + +2007-03-18 Detlev Zundel + + * emacs-lisp/re-builder.el (reb-update-overlays): Do not mark + zero-width regexps as invalid but rather at least count them correctly. + +2007-03-18 Thien-Thi Nguyen + + * net/tls.el (open-tls-stream): In handshake-waiting loop, + don't wait more if there is output available to process. + +2007-03-18 Nick Roberts + + * progmodes/compile.el (compilation-find-file): Revert change + from 2006-07-18 to allow completion of directory names. + Reported by John Carter . + +2007-03-18 Kim F. Storm + + * subr.el (when, unless): Doc fix. + +2007-03-17 Thien-Thi Nguyen + + * net/tls.el (tls-program): Doc fix. + +2007-03-17 Denis Bueno (tiny change) + + * autorevert.el (auto-revert-tail-handler): + Call after-revert-hook. + +2007-03-17 Ryan Yeske + + * simple.el (switch-to-completions): No error if search for \n\n fails. + +2007-03-17 Chong Yidong + + * simple.el (line-move-1): + Respect `inhibit-line-move-field-capture' property. + +2007-03-13 Chong Yidong + + * comint.el (comint-arguments): Mark backslash-escaped chars. + (comint-delim-arg): Don't treat them as delimiters. + +2007-03-12 Kim F. Storm + * ido.el (ido-init-completion-maps): Remap delete-backward-char. + +2007-03-12 Lawrence Mitchell (tiny change) + + * tempo.el (tempo-insert): Deal with 'r> if it appears + specified with a prompt argument. + +2007-03-12 Carsten Dominik + + * textmodes/org.el (org-set-font-lock-defaults): + Handle narrow table columns correctly. + +2007-03-12 Mark A. Hershberger + + * xml.el (xml-parse-tag, xml-parse-string, xml-parse-attlist) + (xml-parse-dtd, xml-parse-elem-type, xml-substitute-special): + Return to use of the -no-properties variants. There was + consensus on emacs-devel that the speed of these variants was + prefered since we are usually parsing files (from the internet + or on disk) instead of XML created in Emacs. + + * eshell/esh-mode.el (eshell-handle-ansi-color): New function. + Add customize option. + +2007-03-12 Glenn Morris + + * calc/calc-forms.el (math-std-daylight-savings): Switch to new + North American rule. Replace "daylight savings" with "daylight + saving" in doc. + + * calendar/cal-china.el, cal-dst.el, calendar.el, diary-lib.el: + * calendar/lunar.el, solar.el: Replace "daylight savings" with + "daylight saving" in text. + + * woman.el (woman-change-fonts): Tweak previous change by using + woman-request-regexp rather than "^\\.". + + * startup.el (command-line-1): Make insertion of + initial-scratch-message not depend on scratch being selected. + +2007-03-11 Juri Linkov + + * replace.el (match): Use yellow background on light-bg terminals. + +2007-03-11 Richard Stallman + + * emacs-lisp/bytecomp.el (byte-compile-warning-prefix): + Correctly compute line number. + +2007-03-11 Guanpeng Xu + + * type-break.el (type-break-get-previous-count): + Repeat previous change here. + +2007-03-11 Dan Nicolaescu + + * progmodes/grep.el (grep-find-ignored-directories): + Add .git and .bzr to list. + +2007-03-11 Andreas Schwab + + * diff-mode.el (diff-apply-hunk): Use proper format string for error. + +2007-03-11 Stefan Monnier + + * mail/emacsbug.el (report-emacs-bug): Don't hard code the "X" name. + +2007-03-10 Chong Yidong + + * faces.el (face-set-after-frame-default): Recalculate face + customizations after applying X resources. + +2007-03-10 Ryan Yeske + + * net/rcirc.el (rcirc-timeout-seconds): New variable. + (rcirc-keepalive-seconds): Remove variable. + (rcirc-server-name, rcirc-timeout-timer, rcirc-connecting) + (rcirc-process, rcirc-user-disconnect): New variables. + (rcirc-connect): Initalize new variables. + (rcirc-keepalive): Don't send keepalive pings before connection + is completed. + (rcirc-sentinel): Do mark all channels with activity when + connection is dropped. Run hook with process buffer local. + (rcirc-reschedule-timeout, rcirc-delete-process): New functions. + (rcirc-buffer-process): Return value of rcirc-process if + rcirc-server-buffer is nil. + (rcirc-server-name): Return the reported server name. + (rcirc-update-prompt): Simplify computation of the server name. + (rcirc-format-response-string): Likewise. + (rcirc-handler-001): Mark server as connected, record the reported + server name, and schedule a timeout. + (rcirc-track-nick): Add a spec for the tty class. + (rcirc-user-non-nick): Remove function. + (rcirc-nick-prefix-chars): Add variable. + (rcirc-user-nick): Use above variable. + +2007-03-10 Johan Bockg,Ae(Brd + + * icomplete.el (icomplete-tidy, icomplete-exhibit): + Bind deactivate-mark to nil. + +2007-03-10 Martin Rudalics + + * complete.el (PC-do-completion): Bind dirlength to nil to avoid + that buffer contents get erased during completion. + +2007-03-10 Glenn Morris + + * woman.el (woman-change-fonts): Add a hack to deal with + font-escape followed by "." at start of a line. + (woman2-IP): Add a hack to deal with consecutive requests. + (woman2-tagged-paragraph): Extend existing hack to handle "sp". + +2007-03-10 Alan Mackenzie + + * progmodes/cc-mode.el (c-before-change): Wrap in save-match-data. + +2007-03-09 Richard Stallman + + * abbrev.el (abbrev): Add `provide'. + +2007-03-09 Thien-Thi Nguyen + + * net/ange-ftp.el (ange-ftp-try-passive-mode): Doc fix. + +2007-03-09 Martin Rudalics + + * complete.el (PC-try-completion): New function. + (PC-do-completion, read-file-name-internal): Use it instead of + try-completion. + +2007-03-08 Alan Mackenzie + + Remove stale tokens from `c-found-types' cache. + + * progmodes/cc-mode.el (c-unfind-enclosing-token) + (c-unfind-coalesced-tokens, c-before-change): New functions. + (c-maybe-stale-found-type): New variable. + + * progmodes/cc-engine.el (c-partial-ws-p, c-unfind-type) + (c-trim-found-types): New functions. + +2007-03-08 Stefan Monnier + + * smerge-mode.el (smerge-remove-props): Don't mark the buffer modified. + (debug-ignored-errors): Add entry from smerge-match-conflict. + +2007-03-08 J.D. Smith + + * progmodes/idlw-help.el (idlwave-do-context-help1): Don't visit + special help topics for keywords. + (idlwave-help-assistant-command): Include ".exe" for ms-dos + etc. Assistant command. + +2007-03-08 Chong Yidong + + * replace.el (occur-engine): Move buffer-undo-list binding... + (occur-1): ...to here. + + * complete.el (PC-bindings): Rebind M-TAB in read-expression-map. + + * simple.el (minibuffer-completing-symbol): New var. + (eval-expression): Use it. + (completion-setup-function): Don't bind completion-base-size when + completing a symbol in the minibuffer. + +2007-03-08 Nick Roberts + + * progmodes/gud.el (gdb): Pop up current GUD buffer if user + tries to start a second session in graphical mode. + +2007-03-07 Miles Bader + + * international/isearch-x.el + (isearch-process-search-multibyte-characters): + Strip text-properties from PROMPT to avoid an error from read-string. + +2007-03-07 Kim F. Storm + + * complete.el (PC-bindings): Remap lisp-complete-symbol to + PC-lisp-complete-symbol instead of binding M-TAB in global-map. + +2007-03-07 Micha,Ak(Bl Cadilhac + + * complete.el (PC-do-completion): Delete duplicates in the list of + possible completions. + +2007-03-07 Glenn Morris + + * ses.el (ses-mode): Doc fix. + +2007-03-06 Kim F. Storm + + * isearch.el (isearch-message-prefix): Undo 2007-03-01 change. + +2007-03-06 Kenichi Handa + + * term/x-win.el (x-select-utf8-or-ctext): Improve the strategy. + +2007-03-06 Stefan Monnier + + * simple.el (completion-setup-function): Improve last fix so it doesn't + set it to a relative directory name either. + +2007-03-05 Vinicius Jose Latorre + + * ps-print.el: Replace some (defvar VAR) by (defvar VAR nil). + +2007-03-05 Richard Stallman + + * emacs-lisp/re-builder.el (reb-re-syntax): Fix custom type. + + * files.el (find-file-noselect): No error if file no longer exists. + Display a message and avoid other questions. + +2007-03-05 Stefan Monnier + + * pcomplete.el (pcomplete-show-completions): Improve last change, so + as not to use an invisible window and to create a window if none exist. + + * progmodes/python.el (python-send-command): Restart proc if necessary. + (python-proc): Simplify. + +2007-03-05 David Hansen (tiny change) + + * pcomplete.el (pcomplete-show-completions): Search all frames for + completions buffer. + +2007-03-05 Chong Yidong + + * cus-edit.el (customize-save-variable): Clear customized-value + property (saved values are now put in theme-value property). + (customize-set-variable): Doc fix. + + * complete.el (PC-do-completion): If completion-ignore-case is + non-nil, replace field with completion string before exiting. + +2007-03-05 Michael Albinus + + * net/tramp.el (tramp-make-temp-file): New parameter FILENAME. + Append its extension to the resulting temporary file name. + (tramp-handle-file-local-copy, tramp-handle-write-region): Apply it. + + * net/tramp-smb.el (tramp-smb-handle-file-local-copy) + (tramp-smb-handle-write-region): Apply it. + +2007-03-05 Alin C. Soare (tiny change) + + * emacs-lisp/lisp-mode.el (calculate-lisp-indent): + Redo previous change. + +2007-03-04 Kevin Rodgers (tiny change) + + * diff-mode.el (diff-mode): Doc fix. + +2007-03-05 Kenichi Handa + + * international/characters.el: Set category `l' (latin) + for more characters. + +2007-03-04 Kim F. Storm + + * emacs-lisp/authors.el (authors-aliases): Add alias. + +2007-03-04 Glenn Morris + + * progmodes/hideshow.el (hs-minor-mode): Turn mode off and show + all when switching major mode. + (hs-minor-mode, hs-c-start-regexp, hs-block-start-regexp) + (hs-block-start-mdata-select, hs-block-end-regexp) + (hs-forward-sexp-func, hs-adjust-block-beginning): + Do not make these variables permanent-local. + +2007-03-04 Richard Stallman + + * progmodes/cperl-mode.el (cperl-mode): + Modify cperl-compilation-error-regexp-alist by appending. + + * emacs-lisp/edebug.el (edebug-kill-buffer): New function. + (edebug-mode): Add the hook. + (edebug-recursive-edit): Remove the hook on exiting. + + * type-break.el (type-break-get-previous-time): + Handle end-of-file errors specially + so they don't get reported wrong in .emacs. + + * startup.el (fancy-splash-text): Clarify text. + + * simple.el (beginning-of-buffer, end-of-buffer): + Avoid treating plain C-u like numeric arg. + + * simple.el (completion-setup-function): Don't set + default-directory to nil. + + * shell.el (shell-dirstack-query): Doc fix. + + * mouse.el (mouse-drag-mode-line-1, mouse-drag-vertical-line): + Don't select the window -- pass it to primitives instead. + + * faces.el (minibuffer-prompt): Use medium blue by default. + +2007-03-04 David Kastrup + + * jit-lock.el (jit-lock-stealth-time): Change default to nil. + Preserve 16 as default value for "seconds" when customizing. + +2007-03-04 Carsten Dominik + + * textmodes/org.el (org-self-insert-command) + (orgtbl-self-insert-command, org-delete-char) + (org-delete-backward-char): Set the `flyspell-delayed' property. + +2007-03-03 Chong Yidong + + * international/mule.el (find-auto-coding): Don't search for + line-ending characters past the end of the tail. + +2007-03-03 Christopher Allan Webber (tiny change) + + * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1): + Jump to the line where new score has been uploaded. + + * play/tetris.el (tetris-move-bottom, tetris-move-left) + (tetris-move-right, tetris-rotate-prev, tetris-rotate-next): + Do nothing when the game is paused. + +2007-03-03 Carsten Dominik + + * textmodes/org.el (org-set-tags): Prevent slipping of point + during completion. + +2007-03-01 Lennart Borgman + + * isearch.el (isearch-message-prefix): + Use minibuffer-prompt-properties. + +2007-03-01 Vinicius Jose Latorre + + * ps-print.el: Replace (defvar VAR nil) by (defvar VAR). + (ps-setup): Print which Emacsen is running ps-print package. + +2007-03-01 Stuart Herring + + * files.el (set-auto-mode-0): Use `indirect-function'. + (hack-one-local-variable): Don't reapply current major mode. + +2007-03-01 Stefan Monnier + + * progmodes/python.el (python-quote-syntax): Don't bother with + syntax-ppss-context. + (python-fill-paragraph): Make sure that fenced-string delimiters that + stand on their own line stay there. + +2007-03-01 Lennart Borgman + + * replace.el (perform-replace): Propertize message. + +2007-03-01 Carsten Dominik + + * textmodes/org.el (org-prepare-agenda-buffers): Also check for + invisible heading. + +2007-02-28 Chong Yidong + + * net/tramp.el (tramp-file-name-handler): Revert last change. + +2007-02-28 Nick Roberts + + * progmodes/gdb-ui.el (gdb-mouse-until, gdb-mouse-jump): + Correct doc strings. + +2007-02-28 Chong Yidong + + * replace.el (perform-replace): Undo forward-char immediately if + non-adjacent search fails. + +2007-02-28 Stefan Monnier + + * version.el (emacs-major-version, emacs-minor-version): + string-to-int -> string-to-number. + +2007-02-28 Juanma Barranquero + + * help.el (where-is): Fail gracefully when not passed a command. + +2007-02-28 Stuart Herring + + * find-lisp.el (find-lisp-default-directory-predicate): + Fix bug: Do symlink check on expanded filename. + +2007-02-28 Carsten Dominik + + * textmodes/org.el (org-set-tags, org-table-get-field): Avoid case + changes during replacement. + (org-agenda-mode-map): Add default binding for `org-agenda-archive'. + +2007-02-28 Lars Hansen + + * desktop.el: Delete header line listing me as maintainer. + +2007-02-28 Glenn Morris + + * tutorial.el (tutorial--describe-nonstandard-key): Tweak text in + the menus case. + +2007-02-28 Chong Yidong + + * net/tramp.el (tramp-file-name-handler): Inhibit modification + hooks to avoid confusion when combining after-change calls. + +2007-02-27 Ken Manheimer + + * allout.el (allout-encrypt-string): Remove inhibition of gpg-agent, + now that pgg-gpg-process-region correctly honors passed-in passphrase. + (allout-distinctive-bullets-string): Add info about bullet conventions. + (allout-mode): Add info about distinctive vs plain bullets. + +2007-02-27 Carsten Dominik + + * textmodes/org.el (org-archive-subtree): Quote variable name. + (org-agenda-get-todos): Make sure skip properties are checked correctly. + +2007-02-26 Nick Roberts + + * progmodes/gud.el (gud-bashdb-history, gud-bashdb-marker-filter) + (gud-bashdb-command-name, bashdb): Remove. + (gud, gud-menu-map): Remove references to bash/bashdb. + +2007-02-26 Andrey Zhdanov (tiny change) + + * progmodes/gud.el (gud-pdb-marker-regexp): Add optional + keyword for Python 2.5. + +2007-02-26 Romain Francoise + + * net/net-utils.el (whois-server-tld): Update server for .org. + (whois-server-list): Add whois.publicinterestregistry.net. + (whois-guess-server): Fix formatting in docstring. + +2007-02-26 Kim F. Storm + + * mouse.el (mouse-show-mark): Run hooks and perform command + remapping for mouse-region-delete-keys. + +2007-02-26 Johan Bockg,Ae(Brd + + * font-core.el (font-lock-mode): Doc fix. + +2007-02-25 Kim F. Storm + + * ido.el (ido-buffer-internal): Set this-command to fallback command. + Add selected buffer to buffer-name-history. + (ido-file-internal): Set this-command to fallback command. + Add file names to file-name-history. + + * emacs-lisp/map-ynp.el (map-y-or-n-p): + Apply minibuffer-prompt-properties. + +2007-02-25 Andreas Schwab + + * files.el (hack-one-local-variable-eval-safep): Correct handling + of edebug-form-spec property value. Reported by Johan Bockg,Ae(Brd. + +2007-02-25 Carsten Dominik + + * textmodes/org.el (org-table-overlay-coordinates) + (org-table-toggle-coordinate-overlays): New functions. + (org-table-overlay-coordinates, org-table-coordinate-overlays): + New variables. + (org-startup-with-deadline-check): Remove option. + (org-mode): Remove deadline check on startup. + (org-table-limit-column-width): Remove option. + (org-table-formula-numbers-only): Remove option. + (org-link-style, org-link-format): Remove options. + (org-select-agenda-window, org-fit-agenda-window): Remove options. + (org-export-ascii-show-new-buffer) + (org-export-html-show-new-buffer): Remove options. + (org-activate-links): Remove camel option. + (org-file-link-context-use-camel-case): Remove option. + (org-camel-regexp): Remove variable. + (org-activate-camels): Remove function. + (org-store-link): Remove Camel stuff. + (org-make-org-heading-camel): Remove function. + (org-open-at-point): Remove camel stuff. + (org-link-search): Remove camel stuff. + (org-camel-to-words): Function removed. + (org-get-agenda-file-buffer): Make sure we prepare the base + buffers, not any indirect buffers. + (org-sort-entries): Sort top-level when not on a headline, and no + active region. + (org-in-regexp): New function. + (org-search-not-self): Rename from `org-search-not-link'. + (org-open-link-marker): New variable. + (org-open-at-point): Set `org-open-link-marker'. + (org-print-icalendar-entries): Fixe bug with excluding DONE + entries from the exported list. + (org-edit-formula-lisp-indent): New command. + (orgtbl-to-texinfo, orgtbl-to-html): New functions. + (orgtbl-to-latex, orgtbl-insert-radio-table) + (orgtbl-toggle-comment, orgtbl-send-table): New functions. + (orgtbl-radio-table-templates): New option. + (org-store-link-props): + (org-remember-templates): More possibilities to insert info + into templates. + (org-remember-apply-template): Make use of the extended + template capabilities. + (org-remember-redo-template): New command. + (org-upgrade-old-links) + (org-table-modify-formulas, org-table-replace-in-formulas) + (org-table-find-dataline) + (org-table-get-vertical-vector): Remove functions. + (org-table-remove-rectangle-highlight) + (org-time-stamp-format, org-toggle-log-option) + (org-table-highlight-rectangle) + (org-table-iterate, org-table-make-reference): + (org-translate-time, org-tree-to-indirect-buffer) + (org-table-field-info, org-table-fix-formulas) + (org-table-force-dataline, org-table-get-descriptor-line) + (org-table-get-range) + (org-skip-comments, org-sort) + (org-sort-entries, org-sublist, org-table-add-rectangle-overlay) + (org-table-current-dline, org-table-current-field-formula) + (org-table-edit-backward-field) + (org-table-edit-formulas-post-command) + (org-table-edit-line-down, org-table-edit-line-up) + (org-agenda-archive) + (org-agenda-clock-cancel) + (org-agenda-clock-out, org-agenda-list-stuck-projects) + (org-agenda-open-link, org-agenda-show-new-time) + (org-agenda-skip-subtree-when-regexp-matches) + (org-agenda-tree-to-indirect-buffer, org-agenda-undo) + (org-at-regexp-p, org-auto-repeat-maybe, org-check-log-option) + (org-do-sort, org-file-image-p, org-find-overlays) + (org-find-row-type, org-get-indirect-buffer, org-get-repeat) + (org-highlight-until-next-command, org-isearch-end) + (org-match-any-p, org-next-link, org-previous-link): + (org-remove-subtree-entries-from-agenda, org-replace-escapes) + (org-rewrite-old-row-references) + (org-isearch-post-command) + (org-table-edit-move, org-table-edit-next-field) + (org-table-edit-scroll, org-table-edit-scroll-down) + (org-set-frame-title, org-show-reference) + (org-unhighlight-once, org-verify-change-for-undo): New functions. + (org-show-variable): Remove command. + (org-add-log-maybe): New arguments STATE, FINDPOS + (org-table-sort-lines): Rewrite from scratch. + (org-link-search): New argument AVOID-POS. + (org-print-icalendar-entries): Remove argument CATEGORY. + (org-run-agenda-series): Remove argument WONDOW. + (org-next-link, org-previous-link): New commands. + (org-agenda-date-format): New option. + (org-table-iterate): New command. + (org-table-modify-formulas) + (org-table-replace-in-formulas): Remove functions. + (org-table-fix-formulas): New function. + (org-table-insert-column, org-table-delete-column) + (org-table-move-column): Use `org-table-fix-formulas'. + (org-follow-gnus-link): Patch from Bastien/Leo. + (org-table-current-field-formula): New function. + (org-file-image-p): New function. + (org-agenda-show-new-time): New function. + (org-agenda-date-later): Call `org-agenda-show-new-time'. + (org-with-remote-undo): New macro. + (org-agenda-undo): New command. + (org-verify-change-for-undo): New function. + (org-time-stamp-format): New function. + (org-agenda-get-timestamps): Skip scheduled if DONE and requested + by user. + (org-match-any-p): New function. + (org-make-tags-matcher): Handle regular expressions for tag and + todo matches. + (org-read-date): Accept "+N" as input for a date relative to the + current date. + (org-remove-subtree-entries-from-agenda): New function. + (org-agenda-archive, org-agenda-kill): + Use `org-remove-subtree-entries-from-agenda'. + (org-do-sort, org-sort-entries): New functions. + (org-sort): New command. + (org-table-sort-lines): Use `org-do-sort'. + (org-fix-decoded-time): New function. + (org-table-number-regexp): Require 0x... to identify as number + in tables. + (org-startup-options): New keywords for note taking. + (org-upgrade-old-links): Remove function. + (org-get-repeat): New function. + (org-show-context): Also show siblings on current level. + (org-show-siblings): New function. + (org-isearch-end, org-isearch-post-command): New functions. + (org-show-siblings): New option. + (org-show-context): Use `org-show-siblings'. + (org-table-maybe-recalculate-line): No longer require `calc-eval' + to be bound, because user may just use elisp. + +2007-02-24 Kim F. Storm + + * emulation/cua-base.el (cua-paste): Handle x-clipboard-yank. + (cua--init-keymaps): Remap x-clipboard-yank to cua-paste. + +2007-02-24 Dan Nicolaescu + + * startup.el (command-line): Also check if the abbrev file is readable. + +2007-02-24 John Paul Wallington + + * net/tls.el (tls-certtool-program): Fix custom type. + + * mail/feedmail.el (feedmail-message-id-generator) + (feedmail-date-generator): Fix custom types. + + * mail/rmail.el (rmail-message-filter): Fix custom type. + +2007-02-24 Eli Zaretskii + + * startup.el (command-line): If simple.el cannot be found, proceed + with a warning message. + +2007-02-24 Kenichi Handa + + * international/utf-8.el (utf-8-pre-write-conversion): Handle the + case that BEG is a string. + +2007-02-24 Chris Moore + + * pgg-pgp5.el (pgg-pgp5-encrypt-region): + * pgg-pgp.el (pgg-pgp-encrypt-region): + * pgg-gpg.el (pgg-gpg-encrypt-region): + Check pgg-encrypt-for-me if no other recipients. + +2007-02-23 Eli Zaretskii + + * mail/rmailedit.el (rmail-cease-edit): Restore the Rmail toolbar. + + * textmodes/sgml-mode.el (sgml-validate): Quote the file name with + shell-quote-argument. + +2007-02-23 Andreas Seltenreich + + * comint.el (comint-read-input-ring): Use comint-input-ring-size + from the comint buffer instead of the temporary one. + +2007-02-23 David Reitter + + * cus-edit.el (custom-save-all): Canonicalize custom-file before + storing it in recentf-exclude. + +2007-02-23 Chong Yidong + + * startup.el (fancy-splash-screens): Make cursor-type buffer-local + in splash screen. + +2007-02-22 J.D. Smith + + * progmodes/idlw-shell.el (idlwave-shell-mode): Clean up pending + commands, for restart. + (idlwave-shell-current-module): Fix handling of module name by type. + (idlwave-shell-break-in): Update type handling. + (idlwave-shell-bp-get): Encode type in BP structure. + (idlwave-shell-set-bp): Fix setting condition/count on disabled BPs. + (idlwave-shell-module-source-query): Query routine info based on type. + Fix path parsing for non-compiled files. + (idlwave-shell-module-source-filter): Don't signal error in filter + if no source found. + (idlwave-shell-set-bp-in-module): Use fallback source to prevent + filter race. + +2007-02-22 Kim F. Storm + + * wid-edit.el (widget-default-create): Undo 2007-02-04 change. + (editable-field): Document need to put some text before the %v + escape in :format string. + +2007-02-19 Stefan Monnier + + * vc-svn.el: Remove the code inherited from CVSREAD and `cvs edit'. + (vc-svn-use-edit): Remove unused config var. + (vc-svn-update, vc-svn-revert): Checkout is always implicit. + + * outline.el (hide-sublevels): Keep empty last line, if available. + + * buff-menu.el (list-buffers-noselect): Use explicit unicode code + rather than the corresponding unicode char, to make the code + more readable. + +2007-02-19 Juanma Barranquero + + * speedbar.el (speedbar-frame-mode, speedbar-frame-width) + (speedbar-show-unknown-files, speedbar-item-info-file-helper) + (speedbar-item-info-tag-helper): Doc fixes. + +2007-02-19 Kenichi Handa + + * international/mule-cmds.el (locale-language-names): + Map "eo" to "Esperanto". + + * language/european.el ("Esperanto"): New language environment. + +2007-02-17 Sven Joachim (tiny change) + + * simple.el (kill-line): Doc fix. + +2007-02-17 Kim F. Storm + + * emacs-lisp/bindat.el (bindat--unpack-u*): Optimize. + (bindat--unpack-item, bindat--length-group, bindat--pack-item) + (bindat--unpack-group, bindat--pack-group): + Handle vectors with optional element type. + +2007-02-17 Daiki Ueno + + * pgg-gpg.el (pgg-gpg-process-region): Make USE-AGENT nil + if PASSPHRASE is given. + +2007-02-17 Chris Moore + + * jka-cmpr-hook.el (jka-compr-compression-info-list): + Recognize backups of bz2 compressed files. + +2007-02-17 Eli Zaretskii + + * info-look.el (info-lookup): Bind Info-fontify-maximum-menu-size + to nil to speed up lookup of the symbol in index nodes. + +2007-02-17 Alin C. Soare (tiny change) + + * emacs-lisp/lisp-mode.el (calculate-lisp-indent): + Add indentation for the constants of Lisp. + +2007-02-16 Stefan Monnier + + * ps-print.el: Use (defvar ) where applicable. + (ps-print-emacs-type): Remove. + (ps-x-frame-property, ps-e-frame-parameter): Remove. + (ps-frame-parameter): Align its call-convention with frame-parameter. + (ps-begin-job): Adjust calls to it appropriately. + (ps-setup): Don't print ps-print-emacs-type. + (ps-e-find-composition, ps-mark-active-p, ps-color-device): + Define in such a way that it's obvious that it's defined. + (ps-prsc, ps-c-prsc, ps-s-prsc): Remove. + (ps-rmail-mode-hook, ps-vm-mode-hook, ps-gnus-summary-setup) + (ps-jts-ps-setup): Use flavor-neutral syntax instead. + +2007-02-15 Alan Mackenzie + + * progmodes/cc-cmds.el (c-indent-new-comment-line): When splitting + an empty one-line C-style comment, post-position point properly. + +2007-02-15 Chris Moore + + * isearch.el (isearch-lazy-highlight-space-regexp): New variable. + (isearch-lazy-highlight-new-loop): Bind it. + (isearch-lazy-highlight-search): Use it. + + * replace.el (replace-highlight): Bind search-whitespace-regexp to nil. + +2007-02-15 Stefan Monnier + + * font-lock.el (font-lock-extend-region-wholelines): + Only return non-nil if the region has really been changed. + Reported by David Hansen + +2007-02-15 Juanma Barranquero + + * play/5x5.el (5x5-crack-xor-mutate): Doc fix. + (5x5-draw-grid-end, 5x5-make-xor-with-mutation, 5x5-mode, 5x5-crack) + (5x5-play-solution, 5x5-y-or-n-p): Fix typos in docstrings. + +2007-02-14 Juanma Barranquero + + * faces.el (color-values): Revert changes to docstring from + 2007-01-31 and 2000-09-07. + + * textmodes/ispell.el (ispell-keep-choices-win, ispell-word) + (ispell-begin-skip-region-regexp): Fix typos in docstrings. + (ispell-dictionary-alist, ispell-process-line): Doc fixes. + (ispell-help): Fix typos in docstring and output message. + +2007-02-14 Kim F. Storm + + * progmodes/grep.el (grep-files-aliases): Add tex and texi aliases. + (lgrep): Add DIR arg to start grep in specific directory, like rgrep. + (grep): Fix lgrep reference. + + * disp-table.el (make-glyph-code, glyph-char, glyph-face): New defuns. + (standard-display-underline): Use make-glyph-code. + + * descr-text.el (describe-char): Use glyph-char and glyph-face. + + * international/latin1-disp.el (latin1-display-char): + Use make-glyph-code. + +2007-02-13 Juanma Barranquero + + * ehelp.el (with-electric-help, electric-help-exit) + (electric-help-retain): Doc fixes. + + * emacs-lisp/bytecomp.el (byte-compile-dest-file) + (byte-compile-file): Doc fixes. + +2007-02-13 YAMAMOTO Mitsuharu + + * term/mac-win.el: Change all uses of + mac-set-font-panel-visibility to mac-set-font-panel-visible-p. + (mac-ae-number): Return integer 0 if coerced result is float 0.0. + (mac-ae-get-url): Call select-frame-set-input-focus. + (mac-dnd-handle-drag-n-drop-event): Don't call + select-frame-set-input-focus. + +2007-02-13 Kenichi Handa + + * international/characters.el: Fix documentation of category `a'. + +2007-02-11 Dan Nicolaescu + + * progmodes/grep.el (grep): Mention lgrep and rgrep in the docstring. + +2007-02-12 Michael Albinus + + * net/tramp.el (tramp-get-ls-command, tramp-get-file-exists-command) + (tramp-get-remote-ln): Handle error case. + Reported by Chris Moore . + +2007-02-11 Kim F. Storm + + * bindings.el (ctl-x-map): Remove register compatibility bindings + C-x /, C-x j, C-x x, and C-x g (deprecated since Emacs 19). + +2007-02-11 Richard Stallman + + * loadhist.el (unload-feature): Handle (t . SYMBOL) entries + in load history. + + * emacs-lisp/lisp-mode.el (indent-sexp): Clean up termination + condition -- don't fail to stop at endpos. + +2007-02-11 Carsten Dominik + + * textmodes/org.el (org-agenda-get-todos) + (org-agenda-get-timestamps, org-agenda-get-closed) + (org-agenda-get-deadlines, org-agenda-get-scheduled) + (org-agenda-get-blocks, org-format-agenda-item) + (org-agenda-change-all-lines, org-scan-tags): Rename text property + from `category' to `org-category'. + +2007-02-11 Kenichi Handa + + * international/titdic-cnv.el (titdic-convert): Force files be written + with Unix-like eol format. Read files under CXTERM-DIC by raw-text. + (miscdic-convert): Force files be written with Unix-like eol format. + +2007-02-11 Juanma Barranquero + + * files.el (change-major-mode-with-file-name): Fix typo in docstring. + + * calculator.el (calculator-prompt): Doc fix. + (calculator-mode-map): Fix typo in menu entry. + +2007-02-10 Jay Belanger + + * calculator.el (calculator): Do more extensive checking for when + 3 lines should be used for the calculator. + +2007-02-10 Eli Zaretskii + + * info-look.el (info-lookup-make-completions): + Bind Info-fontify-maximum-menu-size to nil to speed up lookup of + index nodes. + + * info.el (Info-fontify-maximum-menu-size): Document the effect + of a nil value. + (Info-fontify-node): Make sure Info-fontify-maximum-menu-size is + non-nil before using it as size. + +2007-02-09 Chong Yidong + + * subr.el (insert-for-yank-1): Prevent read-only properties from + interfering with text property operations. + + * image-mode.el (image-mode): Revert 2007-01-30 changes. + + * image.el (image-type-auto-detectable): Don't autodetect x[pb]m. + (image-type-auto-detected-p): Fail if another match is found in + auto-mode-alist. + + * files.el (magic-mode-alist): Call image-mode instead of + image-mode-maybe for autodetected images. + +2007-02-09 Juanma Barranquero + + * mail/smtpmail.el (smtpmail-smtp-service, smtpmail-queue-index-file): + Fix typos in docstrings. + (smtpmail-local-domain, smtpmail-queue-mail): Doc fixes. + +2007-02-09 Kim F. Storm + + * emacs-lisp/float-sup.el: Remove obsolete comment. + +2007-02-08 Stefan Monnier + + * diff-mode.el (diff-sanity-check-hunk): Fix last fix. + +2007-02-08 Karl Fogel + + * simple.el: Revert previous change, at request of RMS: + (fundamental-mode-hook): Remove. + (fundamental-mode): Run after-change-major-mode-hooks manually, + and don't run the now-nonexistent fundamental-mode-hook. + +2007-02-08 Karl Fogel + + * simple.el (fundamental-mode-hook): Declare new hook. + (fundamental-mode): Run the new dedicated hook, and don't run + after-change-major-mode-hooks manually anymore. + +2007-02-07 Stefan Monnier + + * vc-svn.el (vc-svn-merge-news): Understand the new format with two + added columns of chars. Remove support for the "no-meta-info" format. + Prompted by Romain Francoise . + +2007-02-07 Nick Roberts + + * progmodes/gdb-ui.el (gdb-if-arrow): New macro. + (gdb-mouse-until, gdb-mouse-jump): Use it. + +2007-02-07 Nick Roberts + + * progmodes/gdb-ui.el (gdb-mouse-until, gdb-mouse-jump): Make them + work when there is just an assembler buffer (no source buffer). + +2007-02-07 Per Cederqvist (tiny change) + + * diff-mode.el (diff-sanity-check-hunk): Don't reject the hunk + just because the diff was produced using "-p" (--show-c-function). + +2007-02-07 Juanma Barranquero + + * faces.el (frame-set-background-mode): Use `color-values' and + `display-color-p', not `x-color-values' and `x-display-color-p'. + (face-valid-attribute-values): Use `defined-colors' instead of + `x-defined-colors'. + +2007-02-07 Vinicius Jose Latorre + - * ps-print.ps: The ps-print commands without face printing should not ++ * ps-print.el: The ps-print commands without face printing should not + print background color. Reported by Leo . + (ps-print-version): New version 6.7.3. + (ps-begin-job): New arg. Fix ps-default-background and + ps-default-foreground initialization. + (ps-face-attributes): Fix doc string. + (ps-face-background, ps-generate-postscript, ps-generate): Fix code. + + * printing.el: Fix ps-print link. + +2007-02-06 Chong Yidong + + * faces.el (face-set-after-frame-default): Compile attributes to + be set by frame parameters before merging in X resources. + +2007-02-06 Juanma Barranquero + + * simple.el (blink-matching-paren-dont-ignore-comments): + (blink-matching-paren-on-screen): Doc fixes. + +2007-02-06 Nick Roberts + + * progmodes/gdb-ui.el (gdb-frames-mode): Truncate lines in stack buffer. + +2007-02-05 Juanma Barranquero + + * loadhist.el (unload-feature): Silently ignore `load-history' entries + of the form `(defface . SYMBOL)', and treat `(autoload . SYMBOL)' + entries like `defun'. Return nil. + +2007-02-05 Kim F. Storm + + * ido.el: Doc fixes. + +2007-02-04 David Kastrup + + * play/mpuz.el (mpuz-random-puzzle): Fix potential lockup when + `mpuz-allow-double-multiplicator' is non-zero, and correct + calculation of `min'. + +2007-02-04 Per Abrahamsen + + * wid-edit.el (widget-default-create): Insert new text at the + :from marker _after_ the marker, not before it. + +2007-02-04 Alan Mackenzie + + * progmodes/cc-cmds.el (c-indent-line): Don't erase ^L when a line + containing it is re-indented. + +2007-02-03 Chong Yidong + + * net/newsticker.el (newsticker--insert-image): Update docstring, + and insert the image directly. + (newsticker--buffer-redraw): Update docstring. + + * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): + Rename from define-global-minor-mode. + + * progmodes/cwarn.el (global-cwarn-mode): + * emacs-lisp/autoload.el (make-autoload): + * hi-lock.el (global-hi-lock-mode): + * font-core.el (global-font-lock-mode): All callers changed. + +2007-02-03 Eli Zaretskii + + * textmodes/texnfo-upd.el (texinfo-menu-copy-old-description): + Don't copy @ignore lines into menu descriptions. + (texinfo-multi-file-update): Goto the @node line before attempting + to pluck the node name. + (texinfo-multiple-files-update): Reverse the optional arguments' + order, as per the doc string and the `interactive' form. + +2007-02-03 Chong Yidong + + * image-mode.el: Use autoload to avoid overriding disabled setting + applied in .emacs. + +2007-02-03 Alan Mackenzie + + * progmodes/cc-engine.el (c-in-knr-argdecl): Slight correction + for, e.g. "void (*hdone)();" in a k&r list. (No WS between + adjacent paren groups). + +2007-02-02 Vinicius Jose Latorre + + * progmodes/ebnf2ps.el: Doc fixes. + (ebnf-eps-buffer, ebnf-eps-region, ebnf-syntax-alist): Doc fixes. + +2007-02-02 Eli Zaretskii + + * dired-x.el (dired-do-relsymlink): Add reference to + dired-do-symlink. Add an autoload cookie. + + * dired-aux.el (dired-do-symlink): Add reference to + dired-do-relsymlink. + +2007-02-02 Doug Maxey (tiny change) + + * mouse.el : + : New bindings. + +2007-02-02 Ulf Jasper + - * newsticker.el (newsticker-version): Changed to "1.10". ++ * net/newsticker.el (newsticker-version): Changed to "1.10". + (newsticker--set-customvar): Doc string. + (newsticker-new-item-face): Doc string. + (newsticker-mode): Initialize `invisibility-spec' with t. + (newsticker-mode-map): Added + `newsticker-mark-all-items-at-point-as-read'. + (newsticker-menu): Added narrow-to-item and narrow-to-feed. + (newsticker-w3m-show-inline-images): Do not call + `w3m-remove-image'. + (newsticker--buffer-after-w3m-insert-image): New advice for + w3m-insert-image to cache images. + (newsticker-next-item-same-feed): New. + (newsticker-mark-all-items-at-point-as-read-and-redraw): New. + (newsticker-mark-all-items-of-feed-as-read): New. + (newsticker-mark-all-items-at-point-as-read): Use new functions. + (newsticker-mark-item-at-point-as-read): Doc string. + (newsticker-mark-item-at-point-as-read): Use new functions. + (newsticker--do-mark-item-at-point-as-read): New, extracted from + `newsticker-mark-item-at-point-as-read'. + (newsticker-hide-entry): Use (t) instead of t for invisibility. + (newsticker--sentinel): Yet another xml-parser workaround. + (newsticker--decode-iso8601-date): Bugfix for datestrings without + days. + (newsticker--buffer-do-insert-text): Fix. + (newsticker--buffer-insert-enclosure): Fix. length might be missing. + (newsticker--buffer-make-item-completely-visible): + `switch-to-buffer' not necessary. + +2007-02-02 Eli Zaretskii + + * progmodes/ebnf2ps.el (ebnf-eps-buffer, ebnf-eps-region) + (ebnf-syntax-directory, ebnf-syntax-file, ebnf-syntax-region) + (ebnf-style-database, ebnf-apply-style, ebnf-reset-style) + (ebnf-push-style, ebnf-pop-style, ebnf-eps-production-list) + (ebnf-directory, ebnf-file, ebnf-syntax-alist): Doc fixes. + +2007-02-02 Kenichi Handa + + * international/quail.el (quail-show-key): Fix an error message. + +2007-02-01 Juanma Barranquero + + * faces.el (set-face-underline-p, modify-face): Rename arg + UNDERLINE-P to UNDERLINE (it is not a flag). + +2007-02-01 Nick Roberts + + * progmodes/gdb-ui.el (gdb-speedbar-update): Avoid duplication + when adding gdb-speedbar-update to gdb-input-queue. + +2007-02-01 Kenichi Handa + + * international/quail.el (quail-show-key): Signal an error if the + current input method is not using Quail. + +2007-02-01 J.D. Smith + + * progmodes/idlwave.el (idlwave-xml-create-sysvar-alist): + Trim leading whitespace in sysvar names. + +2007-02-01 Juanma Barranquero + + * faces.el (internal-find-face, internal-get-face): Doc fixes. + +2007-01-31 Juanma Barranquero + + * ido.el (ido-set-common-completion): Use `let', not `let*'. + +2007-01-31 Romain Francoise + + * comint.el: Delete extra copy of `comint-copy-old-input' added in + previous change to this file. + +2007-01-31 Jason Rumney + + * files.el (magic-mode-alist): Use image-mode-maybe rather than + image-mode. + + * image-mode.el (image-mode-maybe): Prevent magic-mode-alist from + interfering with attempt to set major mode from modified + auto-mode-alist. + +2007-01-31 Juanma Barranquero + + * faces.el (color-values): Doc fix. + (face-differs-from-default-p): Don't check :foreground twice. + +2007-01-31 J.D. Smith + + * comint.el (comint-mode): Prevent non-keyword fontification by default. + +2007-01-31 Kenichi Handa + + * international/quail.el (quail-store-decode-map-key): Store a + translated character too. + (quail-char-equal-p): New function. + (quail-find-key1): Check character equality by quail-char-equal-p. + (quail-decode-map-generated): New variable. + (quail-find-key): Check quail-decode-map-generated and re-generate + a decode map if necessary. + +2007-01-30 Richard Stallman + + * tutorial.el (tutorial--detailed-help): Make the list of + changed keys look nicer. + +2007-01-30 Nick Roberts + + * progmodes/gdb-ui.el (gdb-var-delete-1): New function. + (gdb-var-delete): Use it. + (gdb-var-update-handler-1): Handle value "invalid" for MI field + `in_scope'. + +2007-01-30 Michael Albinus + + * files.el (get-free-disk-space): Return nil for remote directories. + + * net/ange-ftp.el (ange-ftp-ls): In case of wildcards, use "ls" + instead of "dir". + +2007-01-30 Chong Yidong + + * type-break.el (type-break-catch-up-event): New function. + (type-break-demo-hanoi, type-break-demo-life) + (type-break-demo-boring): Use it. + + * image-mode.el (image-mode): Don't automatically view as image. + (image-toggle-display): Add `disabled' property. + +2007-01-29 Juanma Barranquero + + * isearchb.el (isearchb-iswitchb): + * ps-print.el (ps-build-face-reference): + * emacs-lisp/shadow.el (list-load-path-shadows): + * eshell/esh-cmd.el (eshell-rewrite-for-command): + * international/mule.el (find-auto-coding): + * mail/supercite.el (sc-attrib-selection-list): + * progmodes/cc-defs.el (c-emacs-features): + * progmodes/cc-vars.el (c-offsets-alist): + * progmodes/flymake.el + (flymake-init-create-temp-source-and-master-buffer-copy): + Fix typos in docstrings (some suggested by Chris Moore). + + * progmodes/vhdl-mode.el (vhdl-components-package-name) + (vhdl-get-library-unit, vhdl-corresponding-begin) + (vhdl-skip-case-alternative, vhdl-backward-skip-label) + (vhdl-align-region-2, vhdl-electric-dash, vhdl-case-word) + (vhdl-hooked-abbrev, vhdl-hs-forward-sexp-func) + (vhdl-font-lock-match-item): Fix typos in docstrings. + (vhdl-get-library-unit, vhdl-get-block-state, vhdl-sort-alist) + (vhdl-set-offset, vhdl-fix-case-region-1, vhdl-scan-directory-contents) + (vhdl-speedbar-insert-project-hierarchy): + Improve argument/docstring consistency. + +2007-01-29 Kenichi Handa + + * international/titdic-cnv.el (py-converter): Fix previous change. + +2007-01-29 Chong Yidong + + * jka-compr.el (jka-compr-partial-uncompress) + (jka-compr-call-process): Rebind default-directory if it is + invalid. Suggested by Chris Moore. + + * comint.el (comint-insert-input): Handle situation where the + selected buffer is not the clicked buffer. + +2007-01-29 Kenichi Handa + + * international/ja-dic-cnv.el (skkdic-convert): + Add byte-compile-disable-print-circle:t at the head. + + * international/titdic-cnv.el (tit-process-header): + Add byte-compile-disable-print-circle:t at the head. + (miscdic-convert): Likewise. + (py-converter): Skip the header comments. + + * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): + New variable. + (byte-compile-output-file-form): Bing print-circle to nil if + byte-compile-output-file-form is not nil. + (byte-compile-output-docform): Likewise. + +2007-01-28 Kim F. Storm + + * emulation/cua-base.el (cua-global-keymap, cua--region-keymap): + Declare earlier to avoid byte compiler warnings. + +2007-01-28 Markus Triska + + * speedbar.el (speedbar-make-specialized-keymap): Doc fix. + +2007-01-28 Chong Yidong + + * play/gamegrid.el (gamegrid-kill-timer): Cancel timer directly. + (gamegrid-add-score-with-update-game-score-1): Allow local quits + when calling update-game-score program. Remove unnecessary + save-excursion. + + * play/tetris.el (tetris-new-shape): Stop drawing if game is over. + +2007-01-28 Nick Roberts + + * progmodes/gdb-ui.el (gdb-breakpoint-regexp): Declare earlier to + avoid compiler warning. + (gdb-var-update-handler-1): Consider that the MI field `in_scope' + might have values other than "true" or "false". + +2007-01-28 Richard Stallman + + * textmodes/fill.el (fill-paragraph-function): Doc fix. + (fill-paragraph): Bind fill-paragraph-function to t to avoid recursion. + + * emacs-lisp/pp.el (pp-eval-last-sexp): Don't eval here. + + * image.el (image-type-header-regexps): Make GIF regex more specific. + + * tutorial.el (tutorial--default-keys): Check M-DEL, not `M-backspace'. + Don't check `backspace'. + (tutorial--find-changed-keys): Look up bindings in a temp buffer + in Fundamental mode. + + * startup.el (fancy-splash-text, normal-splash-screen): + Mention C-g. + + * simple.el (eval-expression): Don't use eval-last-sexp-print-value + when inserting in buffer. + + * vc-arch.el (vc-arch-file-id): Move with-current-buffer + inside the if. + +2007-01-27 Richard Stallman + + * obsolete/awk-mode.el (awk-font-lock-keywords): Add "do". + +2007-01-27 Guanpeng Xu + + * add-log.el (add-log-current-defun): Skip the semicolon ``;'' for + enum/union/struct/class definition. + Revert change to call `forward-sexp' multiple times. + +2007-01-27 Chong Yidong + + * files.el (hack-local-variables-confirm): Don't keep trying to + read an event from an empty kbd macro. + +2007-01-27 Eli Zaretskii + + * server.el (server-start): Mention LEAVE-DEAD arg in the doc string. + +2007-01-27 Ben North + + * outline.el (outline-promote, outline-demote): Doc fix. Rename + the arg CHILDREN -> WHICH. + +2007-01-27 Michael Albinus + + * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Set + default-directory to a sane value when calling start-process. + +2007-01-27 Eli Zaretskii + + * ls-lisp.el (ls-lisp-use-localized-time-format): New defcustom. + (ls-lisp-format-time-list): Doc fix. Mention + ls-lisp-use-localized-time-format. + (ls-lisp-format-time): Use ls-lisp-format-time-list if + ls-lisp-use-localized-time-format is non-nil, even if a valid + locale is defined. + +2007-01-27 Juanma Barranquero + + * jka-compr.el (jka-compr-shell): Doc fix. + + * jka-cmpr-hook.el (jka-compr-compression-info-list): Doc fix. + +2007-01-26 Vinicius Jose Latorre + + * ps-print.ps: Fix background height. + (ps-print-version): New version 6.7.2. + +2007-01-26 Eli Zaretskii + + * makefile.w32-in (finder-data, custom-deps): Depend on + $(lisp)/loaddefs.el. + +2007-01-24 Dan Nicolaescu + + * Makefile.in (custom-deps, finder-data): Add dependency to loaddefs.el. + +2007-01-24 Miles Bader + + * emacs-lisp/bytecomp.el (byte-compile-output-file-form) + (byte-compile-output-docform): Bind `print-circle' to t. + +2007-01-24 Kenichi Handa + + * international/ja-dic-cnv.el (skkdic-convert): Insert a related + file name of the original SKK dictionary file. + +2007-01-24 Kim F. Storm + + * ido.el (ido-initial-position): New variable. + (ido-read-internal): Set it if default item is specified. + (ido-minibuffer-setup): Position cursor accordingly if set. + (ido-edit-input): C-e moves to end of input if not already there. + (ido-magic-backward-char): C-b does like M-b if prev char is /. + Don't switch to buffer mode if repeating C-b at start of input. + (ido-toggle-ignore): C-a only toggles ignore at start or end of + input; else it moves to start of input. + (ido-kill-buffer-at-head, ido-delete-file-at-head): If cursor is + not at end of input, delete rest of input, rather than normal op. + +2007-01-23 Michael Kifer + - * viper-keym.el (viper-insert-basic-map): Delete binding for S-TAB. ++ * emulation/viper-keym.el (viper-insert-basic-map): ++ Delete binding for S-TAB. + + * ediff-util.el (ediff-clone-buffer-for-region-comparison): Change text + of message. Activate mark. + (ediff-activate-mark): Set transient-mark-mode to t. + + * ediff.el (ediff-regions-wordwise, ediff-regions-linewise): Doc fix. + +2007-01-23 Martin Rudalics + + * help-fns.el (describe-variable): Don't suppress display of + buffer local value when the value is "large". + +2007-01-22 Kim F. Storm + + * ido.el (ido-active): Add XEmacs test from ido-minibuffer-setup. + (ido-initiate-auto-merge, ido-exhibit, ido-minibuffer-setup) + (ido-tidy): Use ido-active. + +2007-01-22 Chris Moore + + * hexl.el (hexl-mode-exit): Add missing quote. + +2007-01-22 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-keyboard-modifier-mask-alist): New constant. + (mac-ae-keyboard-modifiers): New function. + (mac-handle-toolbar-switch-mode): Use it. + (mac-dnd-handle-drag-n-drop-event): Likewise. Set action to `copy' + if keyboard modifiers on drop contain option key. + (mac-dnd-drop-data): Add optional argument `action'. + (special-event-map): Remove binding for M-drag-n-drop. + +2007-01-21 Guanpeng Xu + + * add-log.el (add-log-current-defun): Use CC Mode functions to + find the beginning and end of a defun. + +2007-01-21 Nick Roberts + + * progmodes/gdb-ui.el (gdb-var-create-regexp) + (gdb-var-create-handler): Handle value field in GDB output of + -var-create. + (gdb-max-frames): New variable. + (gdb-stack-buffer, gdb-frames-select): Use it. + (gdb-info-stack-custom): Help user customize gdb-max-frames, + if necessary. + (gdb-get-frame-number): Simplify. + +2007-01-21 Glenn Morris + + * net/tramp.el (tramp-perl-encode, tramp-perl-decode): + Update copyrights. + +2007-01-21 Alan Mackenzie + + * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Correct the + handling of K&R stuff. + +2007-01-21 Roland Winkler + + * textmodes/bibtex.el (bibtex-files): Fix customization type. + +2007-01-21 Vinicius Jose Latorre + + * ps-print.el: Handle frame parameters (background and/or foreground + colors) changing dynamically. Reported by Leo . + (ps-print-version): New version 6.7.1. + (ps-x-frame-property, ps-e-frame-parameter): New aliases. + (ps-frame-parameter): New fun. + (ps-default-fg, ps-default-bg): New default value ('frame-parameter). + Fix doc and customization. + (ps-begin-job): Get frame parameters (background and/or foreground + colors). + (ps-do-despool): Ensure ps-printer-name has a valid value. + +2007-01-21 Nick Roberts + + * progmodes/gdb-ui.el (gdb-debug-log): Rename from gdb-debug-ring. + (gdb-debug-log-max): Rename from gdb-debug-ring-max. + (gud-gdba-marker-filter): Make a value of nil for gdb-debug-ring-max + mean unlimited. + +2007-01-20 Alan Mackenzie + + * progmodes/cc-engine.el (c-in-knr-argdecl): Reformulate to do + much more rigorous analysis of putative K&R regions. + +2007-01-20 Alan Mackenzie + + * progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): + New functions. + +2007-01-20 Alan Mackenzie + + * progmodes/cc-align.el, progmodes/cc-cmds.el, + * progmodes/cc-defs.el, progmodes/cc-engine.el, + * progmodes/cc-langs.el, progmodes/cc-styles.el, + * progmodes/cc-vars.el: Add my name. + +2007-01-20 Chong Yidong + + * files.el (find-alternate-file): Revert query message to Emacs 21 + version. + +2007-01-20 Eric Hanchrow (tiny change) + + * progmodes/cperl-mode.el (cperl-electric-keywords): Document in + the doc string how to use personal abbrevs without electric + keywords. + +2007-01-20 Alin C. Soare (tiny change) + - * lisp/emacs-lisp/lisp-mode.el (last-sexp-toggle-display): ++ * emacs-lisp/lisp-mode.el (last-sexp-toggle-display): + Fixed cursor position when toggle abbreviated display. + +2007-01-20 Nick Roberts + + * t-mouse.el: Update copyright following assignment by + Alessandro Rubini. + +2007-01-20 Chong Yidong + + * type-break.el (type-break-demo-hanoi, type-break-demo-life) + (type-break-demo-boring): Call read-event instead of read-char. + +2007-01-19 Daniel Pfeiffer (tiny change) + + * progmodes/compile.el: Add handling for makepplog. + +2007-01-19 Reiner Steib + + * textmodes/ispell.el (ispell-change-dictionary): Ensure that + aspell dictionaries are initialized when called non-interactively. + +2007-01-19 Chong Yidong + + * progmodes/compile.el (compilation-loop): New arg limit. + Handle case where the first error is at point-min. + (compilation-next-error): New arg to compilation-loop call. + +2007-01-18 Bruno Haible (tiny change) + + * info.el (Info-default-dirs): Change default info dir to + share/info. + + * paths.el (Info-default-directory-list): Ditto. + +2007-01-18 Chris Moore + + * hexl.el (hexl-before-revert-hook): New function. + (hexl-mode): Use it. + (hexl-after-revert-hook): Just call hexl-mode. + (hexl-mode-exit): Remove before-revert-hook. + +2007-01-17 Stefan Monnier + + * isearch.el (isearch-no-upper-case-p): Look for [:upper:] as well. + +2007-01-16 Martin Rudalics + + * textmodes/ispell.el (ispell-dictionary-alist-3): Replace "---" + by "-" in francais7 otherchars entry. + (ispell-dictionary-alist-5): Replace "." by "[.]" for polish + otherchars entry. + +2007-01-15 Karl Fogel + + * bookmark.el (bookmark-buffer-file-name): Abbreviate the bookmark + path. Rewrite function in `cond' style for readability. + + Suggested by: Stephen Eglen . + (The path shortening, that is, not the rearrangement.) + +2007-01-15 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-ae-quit-application): New function. + (mac-apple-event-map): Bind "quit application" Apple event to it. + +2007-01-14 Stefan Monnier + + * vc-svn.el (vc-svn-parse-status): Trust the filename argument more + than the program's output. + +2007-01-14 Juanma Barranquero + + * kmacro.el (kmacro-insert-counter, kmacro-set-counter) + (kmacro-start-macro-or-insert-counter) + (kmacro-step-edit-prefix-commands): Fix typos in docstrings. + (kmacro-call-ring-2nd, kmacro-call-ring-2nd-repeat): Doc fixes. + + * longlines.el (longlines-show-hard-newlines): + * ruler-mode.el (ruler-mode-ruler): + * emulation/keypad.el (keypad-setup): + * progmodes/antlr-mode.el (antlr-indent-at-bol-alist): + Fix typo in docstring. + +2007-01-13 Mathias Dahl + + * tumme.el (tumme-cmd-rotate-original-options): Add -outfile option. + Remove redirect character ">". + +2007-01-13 Juanma Barranquero + + * replace.el (perform-replace): Remove leftover code. + +2007-01-12 Richard Stallman + + * replace.el (perform-replace): Don't clear NODENT when computing + the replacement string. + +2007-01-11 Michael Albinus + + * net/tramp.el (tramp-handle-file-local-copy): + Set `enable-multibyte-characters' to nil. Reported by Chris Moore + . + +2007-01-11 Stefan Monnier + + * diff-mode.el (diff-sanity-check-context-hunk-half) + (diff-sanity-check-hunk): New functions. + (diff-find-source-location): Use'em to check the hunks are well-formed. + + * hexl.el (hexlify-buffer, dehexlify-buffer): Don't complain and don't + activate undo when undo is not active. + Reported by Chris Moore . + +2007-01-10 Stefan Monnier + + * ffap.el (ffap-next-regexp, ffap-machine-p, ffap-newsgroup-regexp) + (ffap-newsgroup-p, ffap-alist, ffap-string-at-point-mode-alist) + (ffap-url-at-point): Use char-classes rather than "a-z". + +2007-01-10 Juanma Barranquero + + * ediff-init.el (ediff-autostore-merges): + * textmodes/fill.el (fill-region): Doc fix. + +2007-01-10 Stefan Monnier + + * server.el (server-ensure-safe-dir): UIDs may be floats. + +2007-01-10 Richard Stallman + + * battery.el (battery-linux-proc-acpi): Use ignore-errors + around calls to directory-files. + + * subr.el (momentary-string-display): Use save-excursion. + + * emacs-lisp/pp.el (pp-eval-expression): Once again eval the + argument, but read it as `X' does. + +2007-01-09 Juri Linkov + + * info.el (Info-fontify-node): Don't hide node names of index entries. + + * faces.el (momentary): Change :group to basic-faces where all + basic faces belong to. Add :version. + +2007-01-09 Lennart Borgman + + * tutorial.el (tutorial--display-changes): Show M-x sequence if no + keybinding is found. + (tutorial--find-changed-keys): Never treat null keybinding as a + remapping. + +2007-01-09 Martin Rudalics + + * wdired.el (wdired-xcase-word): Skip non-word read-only characters. + +2007-01-09 Kenichi Handa + + * international/mule-cmds.el + (select-safe-coding-system-interactively): Fix message. + +2007-01-09 Michael Albinus + + * net/tramp.el (tramp-process-one-action): Remove `with-timeout'. + (tramp-process-actions): Add optional parameter TIMEOUT. + (tramp-open-connection-telnet, tramp-open-connection-rsh) + (tramp-open-connection-su): Add timeout of 60". + +2007-01-09 Richard Stallman + + * progmodes/compile.el (compile): Doc fix. + +2007-01-09 Markus Triska + + * tumme.el (tumme-display-thumb): Doc fix. + +2007-01-08 Juanma Barranquero + + * battery.el (battery-search-for-one-match-in-files): + * bindings.el (mode-line-minor-mode-help): + * x-dnd.el (x-dnd-types-alist): + * calendar/icalendar.el (icalendar-import-buffer): + * term/mac-win.el (mac-dnd-types-alist): Fix typo in docstring. + + * progmodes/vhdl-mode.el (vhdl-save-caches): Fix typo in error message. + +2007-01-07 Chris Moore + + * replace.el (replace-regexp): Fix typo in docstring. + +2007-01-07 Alan Mackenzie + + * progmodes/cc-langs.el (c-operators, c-filter-ops): + Amend doc-string and comments. + +2007-01-06 Eli Zaretskii + + * files.el (abbreviate-file-name): Doc fix. + +2007-01-06 Markus Triska + + * subr.el (split-string): Remove spurious ")" from doc string. + +2007-01-05 Takaaki Ota + + * textmodes/table.el (table--warn-incompatibility): + Use display-warning instead of momentary-string-display. + +2007-01-05 Richard Stallman + + * image.el (image-type-header-regexps): Recognize xbm more strictly. + + * simple.el (backward-kill-word): Doc fix. + +2007-01-05 Romain Francoise + + * international/mule.el (sgml-html-meta-auto-coding-function): + Ensure that the buffer contains a HTML document. + +2007-01-05 Dan Nicolaescu + + * faces.el (momentary): Move here ... + * subr.el (momentary): ... from here. + +2007-01-05 Nick Roberts + + * progmodes/gdb-ui.el (gdb-max-children): New customizable variable. + (gdb-speedbar-expand-node): Ask user for confirmation before expanding + large structures/arrays. + +2007-01-04 Juanma Barranquero + + * files.el (find-file-noselect-1, set-visited-file-name): + Allow backup-enable-predicate to be nil. + +2007-01-04 Andreas Schwab + + * progmodes/ebrowse.el (ebrowse-global-prefix-key): Fix typo in + last change. + +2007-01-03 Richard Stallman + + * woman.el (woman-decode-buffer): Clarify error message. + +2007-01-03 Alan Mackenzie + - * progmode/cc-cmds.el (c-mask-paragraph): Fix yesterday's buggy patch. ++ * progmodes/cc-cmds.el (c-mask-paragraph): Fix yesterday's buggy patch. + +2007-01-03 Chris Moore + + * tutorial.el (tutorial--describe-nonstandard-key): Fix typo. + +2007-01-03 Stefan Monnier + + * iswitchb.el (iswitchb-global-map): Use command-remapping if available. + +2007-01-02 Juanma Barranquero + + * emulation/viper.el (viper-custom-file-name, viper-mode): + Fix typos in docstrings. + + * subr.el (momentary-string-display): After moving point, set POS + variable to it to avoid later errors once the buffer is modified. + Doc fix. + +2007-01-02 Alan Mackenzie + + * progmodes/cc-cmds.el (c-mask-paragraph): In a block comment, + check that the "*/" is present before trying to manipulate it. + +2007-01-02 Richard Stallman + + * wid-edit.el (widget-choose): Avoid ugly error for function keys. + + * progmodes/cfengine.el (cfengine-font-lock-syntactic-keywords): + Fix format of value. + + * cus-edit.el (customize-unsaved): Rename from customize-customized. + Change messages accordingly. + (customize-customized): Now alias. + +2007-01-02 Juanma Barranquero + + * files.el (version-control): Doc fix. + +2007-01-01 Alan Mackenzie + + * progmodes/cc-engine.el (c-guess-basic-syntax, case 5N): + Check the format of c-state-cache is valid for an optimisation before + using it. + + * progmodes/cc-engine.el (c-guess-basic-syntax): New case 5Q "we + are at a statement within a macro". Other changes so that only + the first continuation line in a macro gets the symbol + `cpp-define-intro', the others getting `statement', or whatever. + + * progmodes/cc-cmds.el (c-context-line-break): When invoked within + a string, preserve whitespace. Add a backslash only when also in + a macro. + + * progmodes/cc-defs.el: Correct typos. + + * progmodes/cc-cmds.el (c-context-line-break): Don't indent the + new line after an escaped EOL in a string. + + * progmodes/cc-engine.el (c-forward-label): Recognise "foo:" as a + label when it directly follows "else", "do", .... + + * progmodes/cc-engine.el (c-backward-<>-arglist): Tolerate empty + angle brackets (as seen in "explicit specialisations" of C++ + templates). + + * progmodes/cc-vars.el (c-indentation-style): Mention c-file-style + in the doc-string. + + * progmodes/cc-cmds.el (c-mask-paragraph): Fix for C comments, + when the comment ender looks like "=========*/" and is alone on + its line. + + * progmodes/cc-langs.el, progmodes/cc-engine.el: Correct the + spelling of c-opt-op-identiTier-prefix, t -> f. Leave an alias + for the old name. + + * progmodes/cc-mode.el: Bind C-M-a and C-M-e to + c-\(beginning\|end\)-of-defun by default. + + * progmodes/cc-align.el (c-lineup-gnu-DEFUN-intro-cont): + New line-up function, for the DEFUN macro in the Emacs C sources. + Only used in "gnu" style. + + * progmodes/cc-styles.el (c-style-alist): Use this new function in + the "gnu" style. + + * progmodes/cc-cmds.el (c-electric-slash): Extend the handling of + clean-up comment-close-slash also to work when there's a comment + terminator on the line. + (c-beginning-of-defun, c-end-of-defun): Refactor and optimise + these for large arg - only take account of top level {..}, except + for initial and final adjustments. M-- C-M-[ae] now go to the + right defuns when the starting point is between defuns. They use + the four new functions: + (c-in-function-trailer-p, c-where-wrt-brace-construct) + (c-backward-to-nth-BOF-{, c-forward-to-nth-EOF-}): New functions to + support c-\(beginning\|end\)-of-defun. + + * progmodes/cc-engine.el (c-forward-label): Analyze ":" + expressions more rigorously, to exclude bit-field specifiers from + being classed as labels. + (c-forward-label): When analyzing a ":" within a macro, be careful + about using c-forward-syntactic-ws at the macro beginning. + (c-beginning-of-decl-1): Whilst searching for "=" as evidence of a + stmt boundary, check for "operator=", etc. + + * progmodes/cc-mode.el (c-postprocess-file-styles): + Bind inhibit-read-only to t, around the call to + c-remove-any-local-eval-or-mode-variables, so that it works on a + RO file. + + * progmodes/cc-defs.el (c-version): Update the version number to + "5.31.4". + +2007-01-01 Richard Stallman + + * isearch.el (isearch-done): Use FOUND-POINT or FOUND-START + only if we restored isearch-window-configuration. + +2006-12-31 Romain Francoise + + * net/tramp.el (tramp-default-method): Don't use `symbol-function'. + +2006-12-31 Kim F. Storm + + * files.el (auto-mode-case-fold): New defcustom. + (set-auto-mode): If non-nil, perform second case-sensitive pass + through auto-mode-alist if first pass failed. + +2006-12-30 Richard Stallman + + * emacs-lisp/easy-mmode.el (define-global-minor-mode): Doc fix. + +2006-12-30 Ken Manheimer + + * allout.el (allout-encrypt-string): Handle symmetric-key + passphrase caching but leave keypair caching to pgg. + +2006-12-30 Michael Albinus + + Sync with Tramp 2.0.55. + + * net/tramp.el (tramp-completion-mode): Use `wholenump' instead of + `integerp'. `char-equal' could fail else in case of negative + numbers. Reported by Toby Speight . + (top): Check for `font-lock-add-keywords' before calling; it + doesn't exist under XEmacs. + (tramp-yn-prompt-regexp): Fix regexp. Add question from plink. + (tramp-completion-mode): Remove clause (not + tramp-unified-filenames), because the function is called in other + context too, where this check results in wrong results in the + XEmacs case on Windows. + (tramp-touch): UTC handling is not possible for XEmacs. + +2006-12-30 Jan Dj,Ad(Brv + + * scroll-bar.el (previous-scroll-bar-mode): New variable + (set-scroll-bar-mode): Set previous-scroll-bar-mode. + (scroll-bar-mode): Use previous-scroll-bar-mode if set. + + * term/x-win.el: Set scroll bar mode to right if set by X resources. + +2006-12-30 Richard Stallman + + * files.el (make-backup-file-name-1): Precompute abs name + but don't lose the relative name. + + * international/mule-cmds.el (select-safe-coding-system-interactively): + Fix message. + +2006-12-30 Kevin Rodgers (tiny change) + + * files.el (backup-buffer): Show entire backup file name in msg. + +2006-12-30 Juanma Barranquero + + * image.el (image-type-header-regexps, image-type-from-data) + (image-type-from-buffer, image-type-from-file-header): + Revert changes from 2006-12-26. + (image-type-auto-detectable): New variable. + (image-type-auto-detected-p): New function. + + * files.el (magic-mode-alist): Detect image files with + `image-type-auto-detected-p' instead of `image-type-from-buffer'. + +2006-12-29 Nick Roberts + + * dired.el (dired-sort-other): Move test for dired-mode... + (dired-sort-set-modeline): ...to here. + +2006-12-29 Micha,Ak(Bl Cadilhac + + * textmodes/fill.el (fill-comment-paragraph): Document 2006-12-24 + change. Suggested by Stefan Monnier. + +2006-12-29 Kim F. Storm + + * emacs-lisp/bindat.el (bindat--unpack-group, bindat--length-group) + (bindat--pack-group): Let-bind COUNT during repeat block evaluation. + +2006-12-27 Kim F. Storm + + * emacs-lisp/authors.el (authors-aliases): Anchor FSF alias regexp, + so it doesn't accidentally match an fsf.org mail address. + (authors-renamed-files-alist): Add tcover-*.el. + +2006-12-27 Stefan Monnier + + * vc-arch.el (vc-arch-find-version): New function. + + * vc-hooks.el (vc-version-backup-file-name): Revision names may be + composed of arbitrary characters (even /) in some systems. + +2006-12-27 Eli Zaretskii + + * international/mule-cmds.el (select-safe-coding-system-interactively): + Improve the message in the *Warning* buffer. + +2006-12-27 Kim F. Storm + + * ido.el (ido-set-matches-1): Fix last change. If default item is + current buffer, it is ok to be first. + +2006-12-27 Kenichi Handa + + * international/mule-cmds.el (select-safe-coding-system-interactively): + Use face `link' for problematic chars. + +2006-12-27 Kenichi Handa + + * international/mule-cmds.el (select-safe-coding-system-interactively): + Improve the message in *Warning* buffer. + +2006-12-27 Kim F. Storm + + * ido.el (ido-set-matches-1): Never put current buffer first if + there are other matches. + +2006-12-26 Nick Roberts + + * progmodes/gdb-ui.el (gud-watch): Allow duplicate names for watch + expressions. + (gdb-var-delete): Handle duplicate names. Print message for non + root expressions. + (gdb-partial-output-name): Start buffer name with a space. + (gdb-info-breakpoints-custom, gdb-reset): Handle space in above + buffer name. + +2006-12-26 Micha,Ak(Bl Cadilhac + + * mail/footnote.el (Footnote-insert-footnote): Fix the search of the + last footnote when `footnote-spaced-footnotes' is nil. + +2006-12-26 Richard Stallman + + * cus-edit.el (custom-browse-sort-alphabetically) + (custom-buffer-sort-alphabetically) + (custom-menu-sort-alphabetically): Doc fixes. Add autoloads. + + * image.el (image-type-header-regexps): Change element format + to include third item NOT-ALWAYS. + (image-type-from-data): Handle new format. + (image-type-from-buffer): Handle new format. New arg INCLUDE-MAYBES. + (image-type-from-file-header): Pass t for INCLUDE-MAYBES. + +2006-12-26 Guanpeng Xu + + * add-log.el (add-log-current-defun): Call `forward-sexp' + multiple times to pick a member function name defined as + part of nested classes/namespaces. + +2006-12-26 Vinicius Jose Latorre + + * emacs-lisp/easymenu.el (easy-menu-change): New arg MAP to indicate + which keymap should be used to change menu. It does not affect any + existent code. + +2006-12-26 Richard Stallman + + * textmodes/fill.el (fill-paragraph): Check for a minibuffer + rather than for being in a minibuffer window. + +2006-12-25 Daiki Ueno + + * pgg-def.el (pgg-passphrase-coding-system): Default to nil instead of + locale-coding-system. + * pgg-gpg.el (pgg-gpg-process-region): Encode passphrase with eol-type + LF. + +2006-12-25 Michael R. Mauger + + * progmodes/sql.el (sql-mode-abbrev-table): Correct initialization. + (sql-mode-syntax-table): Disable double quoted strings. + (sql-mode-font-lock-object-name): Add TYPE and TYPE BODY. + +2006-12-25 YAMAMOTO Mitsuharu + + * startup.el (fancy-splash-last-input-event): New variable. + (fancy-splash-special-event-action): New function. + (fancy-splash-screens): Temporarily bind special events to it. + Execute command for saved special event before exiting from + recursive editing. + + * term/mac-win.el (mac-keyboard-translate-char, mac-unread-string): + New functions. + (mac-ts-update-active-input-area, mac-ts-unicode-for-key-event): + Use mac-unread-string. + +2006-12-24 Micha,Ak(Bl Cadilhac + + * textmodes/fill.el (fill-comment-paragraph): Prevent the use of + an optimized comment regexp if `comment-start-skip' uses a ^. + * bs.el (bs--up): Remove interactive spec. + +2006-12-24 Chong Yidong + + * woman.el (woman-decode-buffer): Signal error for alien macro sets. + Suggested by James Cloos. + +2006-12-24 Kevin Ryde + + * calendar/cal-dst.el (calendar-dst-starts): Default to second Sunday + in March. + (calendar-dst-ends): Default to first Sunday in November. + +2006-12-24 Ken Manheimer + + * allout.el (allout-encrypt-string): Inhibit use of agent within + body of let form where encryption happens. Acknowledge non-use of + gpg-agent in docstring. + (allout-toggle-subtree-encryption): Acknowledge non-use of + gpg-agent in docstring. + +2006-12-24 Chong Yidong + + * custom.el (custom-add-frequent-value): Alias for custom-add-option. + +2006-12-23 Michael Kifer + + * ediff-diff.el (ediff-diff-options): Clarify docstring. + (ediff-setup-diff-regions): Disallow -u in ediff-diff-options. + - * viper-cmd.el (viper-post-command-sentinel): Protect against errors - in hooks. ++ * emulation/viper-cmd.el (viper-post-command-sentinel): ++ Protect against errors in hooks. + (viper-add-newline-at-eob-if-necessary): Add newline only if we + actually modify buffer; ignore errors if occur. + +2006-12-23 Chong Yidong + + * calendar/calendar.el (calendar-mode-map): Switch < and >. + (calendar-mode-line-format): Use mouse-1 bindings, and tweak + formatting. + +2006-12-23 Richard Stallman + + * simple.el (delete-horizontal-space): Doc fix. + +2006-12-23 Eli Zaretskii + + * makefile.w32-in (bootstrap-clean): Run bootstrap-clean-$(SHELLTYPE) + explicitly in a recursive Make, not implicitly through prerequisites, + since the latter is wrong under parallel builds. + +2006-12-22 Eli Zaretskii + + * w32-fns.el (convert-standard-filename): Wrap in save-match-data. + +2006-12-22 Kevin Rodgers (tiny change) + + * progmodes/sh-script.el (sh-make-vars-local): Fix a typo in + message string. + +2006-12-22 Ben North (tiny change) + + * outline.el (outline-next-visible-heading): Fix the case with a + header at end-of-file with no final newline. + +2006-12-22 Robert Thorpe (tiny change) + + * indent.el (tab-always-indent): Doc fix. + +2006-12-22 Chong Yidong + + * info.el (Info-fontify-maximum-menu-size): Bump to 1000000. + (Info-fontify-node): Do fontify indices. + + * tutorial.el (tutorial--detailed-help): Remove unnecessary link + to the Emacs Lisp reference manual. + (tutorial--tab-map): Remove. All callers changed. + (tutorial--find-changed-keys): New elt QUIET, used to... + (tutorial--display-changes): ...ensure that warning messages are + only issued once per changed key. + (tutorial--remove-remarks): Delete unused code-path. + (lang-strings): Remove extraneous formatting. + (tutorial--save-tutorial): Prompt before saving tutorial state. + +2006-12-21 Chong Yidong + + * tutorial.el: Remove `cl' requirement. Clean up whitespace. + Replace '?\ ' by '?\s' throughout. + (tutorial-warning-face): Inherit font-lock-warning-face. Move to + `help' custom group. + (tutorial--key-description): New function. + (tutorial--display-changes): Remove redundant arg. Scan for all + key sequences to avoid false matches. Cleanup. + (tutorial--saved-dir): Save to a subdirectory in .emacs.d to + reduce homedir pollution. + (help-with-tutorial): Call tutorial--display-changes with no arg. + +2006-12-21 Carsten Dominik + + * textmodes/org.el (org-mode-map): Bind org-complete also to M-\t. + +2006-12-20 Michael Albinus + + * net/tramp.el (tramp-default-method): We still need to check for + `executable-find', because it is not bound under Emacs 20. + (tramp-handle-file-name-completion) + (tramp-completion-handle-file-name-completion): Handle optional + parameter PREDICATE. + (tramp-find-default-method): Add code for default values. + +2006-12-20 Nick Roberts + + * progmodes/gdb-ui.el (gdb-stopped): After attaching to a process + make gud-go send "continue". + +2006-12-19 Juanma Barranquero + + * image.el (image-type-header-regexps): Be more specific detecting `pbm' + and `png' files. Use non-capturing parenthesis for `tiff' regexp. + +2006-12-19 Kim F. Storm + + * bindings.el: Bind sigusr1 and sigusr2 in special-event-map + instead of global-map. + + * files.el (magic-mode-alist): Allow matching file type by + calling a function at bob. Check for image types by calling + image-type-from-buffer. Suggested by Juanma Barranquero. + (set-auto-mode): Do it. + +2006-12-19 Michael Albinus + + * net/tramp.el (tramp-methods): Introduce new method `scpc'. + Remove "ControlMaster" option from the other `scp*' methods. + (tramp-default-method): Check for ssh-agent before setting to `scp'. + +2006-12-18 Carsten Dominik + + * textmodes/org.el (org-mode): Show context after isearch. + (org-show-siblings): New function. + (org-show-context): Use `org-show-siblings'. + +2006-12-18 Stefan Monnier + + * emacs-lisp/syntax.el (syntax-ppss-flush-cache, syntax-ppss): + Use syntax-ppss-toplevel-pos. + +2006-12-18 Carsten Dominik + + * textmodes/org.el (org-current-line): Make sure that lines are + counted from beginning of buffer. + (org-table-copy-region, org-table-paste-rectangle): Make sure that + lines are counted from beginning of buffer. + +2006-12-17 Chong Yidong + + * info.el (Info-build-node-completions): Signal error if tag-table + marker is not found. + + * pgg-gpg.el (pgg-gpg-use-agent): Default to t. + +2006-12-17 Alan Mackenzie + + * emacs-lisp/lisp.el (beginning-of-defun-raw): Optimise (for + speed) the case when open-paren-in-column-0-is-defun-start is nil. + Based on code by Martin Rudalics. + + * progmodes/cc-mode.el (c-basic-common-init): Don't set + open-paren-in-column-0-is-defun-start to nil any more. + +2006-12-17 Richard Stallman + + * simple.el (delete-horizontal-space): Use prefix arg. + + * help-fns.el (describe-variable): Improve blank separator lines. + + * files.el (magic-mode-alist): Mark as risky. + + * files.el (make-backup-file-name-1): + Expand backup-directory explicitly. + +2006-12-17 Michael Albinus + + * net/tramp.el (tramp-default-method): Before setting to "pscp", + check whether package password.el is loaded, or Pageant is running. + +2006-12-17 Ulf Jasper + + * calendar/icalendar.el (icalendar-version): Increase to "0.14". + (icalendar--rris): First try Emacs, then XEmacs. + (icalendar--convert-ical-to-diary): Doc fix. + Insert newline at end of target file. + +2006-12-17 Kim F. Storm + + * outline.el (outline-isearch-open-invisible-function): New defvar. + (outline-flag-region): Use it if non-nil for isearch-open-invisible + overlay property instead of outline-isearch-open-invisible. + +2006-12-16 Kim F. Storm + + * ido.el (ido-completion-help): Build ido-cur-list and ido-matches + if ido-directory-too-big is set on entry. + (ido-toggle-ignore, ido-completion-help): Print message while + reading big directory. + +2006-12-15 Richard Stallman + + * shell.el (shell): Doc fix. + +2006-12-15 Kevin Gallagher + + * emulation/edt.el (edt-xserver): + * emulation/edt-mapper.el (edt-xserver): Replace `/' with a `-', + to fix a problem on Cygwin. + + * emulation/edt.el + * emulation/edt-mapper.el + * emulation/edt-lk201.el + * emulation/edt-pc.el + * emulation/edt-vt100.el: Update maintainer's email address. + +2006-12-15 Simon Marshall + + * progmodes/cc-fonts.el (c-font-lock-declarations): Fix previous change. + +2006-12-15 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-atsu-font-table): Remove defvar. + (mac-handle-font-selection): Use mac-atsu-font-face-attributes + instead of mac-atsu-font-table. + (fontset-default): Specify argument MAXIMUM in x-list-fonts calls. + +2006-12-14 Stephen Leake + + * align.el (align-match-tex-pattern): Fix a rare bug which + hanged Emacs. + +2006-12-14 Richard Stallman + + * startup.el (use-fancy-splash-screens-p): Use frame-height + instead of window-height. Pass frame to image-size. + +2006-12-13 Kenichi Handa + + * international/mule-cmds.el (set-locale-environment): + Set default-sendmail-coding-system too. + +2006-12-12 J.D. Smith + + * progmodes/idlw-help.el: Fix copyright notice. + +2006-12-12 Stefan Monnier + + * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): New fun. + +2006-12-11 Juanma Barranquero + + * subr.el (unread-command-char): Reformat obsolescence info. + +2006-12-11 Richard Stallman + + * emacs-lisp/cl-macs.el (defstruct): Suppress warnings + about calls to cl-struct-setf-expander. + +2006-12-11 Juanma Barranquero + + * ediff-merg.el (ediff-show-clashes-only): Doc fix. + (ediff-combination-pattern): Fix typo in docstring. + + * textmodes/refer.el (refer-find-entry): Doc fix. + (refer-bib-files-regexp, refer-bib-directory, refer-bib-files) + (refer-cache-bib-files, refer-find-next-entry, refer-yank-key): + Fix tipos in docstrings. + + * progmodes/idlwave.el (idlwave-library-path): Fix typos in docstring. + +2006-12-10 Kim F. Storm + + * ido.el (ido-init-completion-maps): Remap backward-kill-word + instead of binding M-backspace. + +2006-12-10 Juanma Barranquero + + * replace.el (replace-match-data, replace-match-maybe-edit): + * calc/calc-aent.el (calc-eval-error): + * emulation/vi.el (vi-char-argument): + * progmodes/cc-langs.el (c-at-vsemi-p-fn) + (c-vsemi-status-unknown-p-fn): Doc fixes. + +2006-12-10 Chong Yidong + + * menu-bar.el (menu-bar-showhide-menu, menu-bar-tools-menu) + (menu-bar-help-menu): Tooltip fixes. Suggested by Francis Wright. + +2006-12-10 Masatake YAMATO + + * progmodes/ld-script.el (ld-script-keywords): Fix a typo. + +2006-12-09 Chong Yidong + + * mouse-sel.el (mouse-sel-mode): Register mouse-2 as a click type. + + * man.el (Man-xref-button-action): New function. If the + `Man-target-string' button property is a function, assume it + accepts a position argument. + (Man-abstract-xref-man-page): Use it. + (Man-default-man-entry): New optional arg POS. + + * wdired.el (wdired-preprocess-symlinks): Make the spaces after + symlink arrows read-only and non-rear-sticky. + +2006-12-09 Martin Rudalics + + * wdired.el (wdired-change-to-wdired-mode, wdired-finish-edit) + (wdired-search-and-rename): Simplify code. + (wdired-preprocess-files, wdired-preprocess-perms): Make + read-only property of preceding character rear-nonsticky to + avoid that it can be modified. Put old-name and old-link + properties on character preceding name and replace + put-text-property by add-text-properties. + (wdired-get-filename, wdired-get-previous-link): Get old-name + and old-link properties from character preceding name and + simplify code. + (wdired-preprocess-perms, wdired-set-bit, wdired-toggle-bit) + (wdired-perms-to-number): Make local-map property + rear-nonsticky to avoid that text following permissions may be + modified. Use add-text-properties instead of put-text-property + when changing a permission bit. + (wdired-change-to-dired-mode): Remove stickiness properties. + +2006-12-09 Juanma Barranquero + + * international/mule-cmds.el (register-input-method): Doc fix. + +2006-12-09 Masayuki Ataka (tiny change) + + * cmuscheme.el (scheme-start-file): Use `let*', not `let'. + +2006-12-09 Micha,Ak(Bl Cadilhac + + * textmodes/flyspell.el (flyspell-hack-local-variables-hook): New. + Force buffer local defs evaluation on local variables loading. + (flyspell-mode-on, flyspell-mode-off): Use it in + `hack-local-variables-hook'. + +2006-12-09 Eli Zaretskii + + * emacs-lisp/find-func.el (find-variable): Doc fix. + + * help-fns.el (variable-at-point): Doc fix. + + * w32-fns.el (w32-append-code-lines): New function. + +2006-12-09 Romain Francoise + + * comint.el (comint-insert-input): Delete obsolete comment. + +2006-12-08 Stefan Monnier + + * net/browse-url.el (browse-url): Set DISPLAY to the one of the + current frame, in case we're connected to several displays. + +2006-12-08 Juanma Barranquero + + * frame.el (other-frame): Doc fix. + (set-frame-parameter): Fix typo in docstring. + +2006-12-07 Kim F. Storm + + * info.el (Info-index): Strip leading colon from topic. + +2006-12-07 Nick Roberts + + * progmodes/gud.el (gud-speedbar-buttons): Deal with references + to pointers. + +2006-12-05 J.D. Smith + + * progmodes/idlwave.el (idlwave-xml-create-class-method-lists): + Trim out spurious class inheritance "None" entries. + +2006-12-05 Kim F. Storm + + * emulation/cua-base.el (cua-paste-pop-rotate-temporarily): Doc fix. + (cua-paste-pop): Rework last change for + cua-paste-pop-rotate-temporarily, so first M-y and C-y works alike, + pasting the head of the kill-ring, and prefix arg C-u M-y inserts the + text inserted by the last M-y command. + +2006-12-05 Micha,Ak(Bl Cadilhac + + * cmuscheme.el (run-scheme, scheme-start-file): Search the start + file in ~/.emacs.d as `init_SCHEMENAME.scm' instead. + + * shell.el (shell): Search the start file in ~/.emacs.d as + `init_SHELLNAME.sh' instead. + +2006-12-05 Glenn Morris + + * progmodes/cperl-mode.el (cperl-mode) + * progmodes/f90.el (f90-mode-abbrev-table) + * progmodes/fortran.el (fortran-mode-abbrev-table) + * progmodes/octave-mod.el (octave-abbrev-table) + * progmodes/sql.el (sql-mode-abbrev-table): Define abbrevs even + if abbrev-table is non-nil (saved user abbrevs may have been restored). + + * progmodes/vhdl-mode.el (vhdl-mode-abbrev-table-init): Do not + clear abbrev table, else saved abbrevs will not be restored. + +2006-12-04 Juanma Barranquero + + * facemenu.el (facemenu-unlisted-faces): Put obsolescence info in + the call to `make-obsolete-variable', not in the docstring. + +2006-12-04 Chong Yidong + + * facemenu.el (facemenu-unlisted-faces): Define as obsolete variable. + +2006-12-04 Vinicius Jose Latorre + + * progmodes/ebnf-abn.el: + * progmodes/ebnf-bnf.el: + * progmodes/ebnf-dtd.el: + * progmodes/ebnf-ebx.el: + * progmodes/ebnf-iso.el: + * progmodes/ebnf-otz.el: + * progmodes/ebnf-yac.el: + * progmodes/ebnf2ps.el: + * delim-col.el: + * printing.el: + * ps-bdf.el: + * ps-mule.el: + * ps-print.el: Remove 'Time-stamp' comment mark. + + * printing.el (pr-menu-bind): Replace 'easy-menu-change' by + 'easy-menu-add-item' when called in Emacs 21 or higher. + +2006-12-04 Stephen Leake + + * progmodes/ada-xref.el (ada-check-current): Doc fix. + (ada-make-body-gnatstub): Doc fix. Remove redundant `progn'. + +2006-12-04 Kim F. Storm + + * bindings.el (global-map): Bind [signal t] to ignore, to have + user signals ignored by default. + +2006-12-04 Juanma Barranquero + + * descr-text.el (describe-char-unicode-data): Use a hidden buffer for + Unicode data file pointed to by `describe-char-unicodedata-file'. + +2006-12-04 Stefan Monnier + + * textmodes/sgml-mode.el (sgml-font-lock-keywords-1): Fix pathological + O(n^2) regexp-search by anchoring the search. + +2006-12-04 Dan Nicolaescu + + * whitespace.el (whitespace-cleanup-internal): Use current + argument for recursive call. + +2006-12-04 Michael Albinus + + * net/tramp.el (tramp-methods): Add "ControlPath" and + "ControlMaster" to scp, scp1 and scp2 methods. Suggested by + Andreas Schwab . + (tramp-do-copy-or-rename-file-out-of-band) + (tramp-open-connection-rsh): Compute format spec for ?t. + (tramp-process-actions): Trace command parameters. + +2006-12-04 Nick Roberts + + * simple.el (toggle-truncate-lines): Clarify doc string. + + * progmodes/gdb-ui.el (gdb-var-delete-children): New function. + (gdb-speedbar-expand-node): Use it. + +2006-12-04 Richard Stallman + + * progmodes/python.el (python-indent): Add safe-local-variable prop. + + * dired.el (dired-revert): Turn off dired-after-readin-hook + around call to dired-readin. + + * menu-bar.el (menu-bar-make-toggle): Add "globally" + to echo area messages. + : + Add "globally" to Help string. + : MESSAGE arg need not say "globally". + (menu-bar-edit-menu ): Rename from select-and-paste. + +2006-12-03 Liam Healy (tiny change) + + * outline.el (outline-end-of-subtree): Don't leave an empty + line hidden as we would a real next heading. + +2006-12-03 Ken Manheimer + + * allout.el (allout-ascend): Add an optional argument to preserve + original position of point when unsuccessful. Also, fix a + docstring error. + (allout-yank-processing): Fix depth shift of multiple-topic so yanks + work again, using allout-ascend's new option. + (allout-setup-mode-map): Extract from allout-mode to initialize + allout-mode-map. Call it on file load, so the mode docstring + substitutions work even if allout mode has not yet been invoked. + (allout-mode): Use new allout-setup-mode-map to track any keybinding + customizations since the map was last processed. Also, refine the + docstring so it's ship-shape for release. + (allout-default-layout, allout-beginning-of-line-cycles) + (allout-distinctive-bullets-string, allout-use-mode-specific-leader) + (allout-encrypt-unencrypted-on-saves, allout-inhibit-auto-fill) + (allout-version, allout-layout, allout-infer-body-reindent) + (allout-infer-header-lead-and-primary-bullet, allout-view-change-hook) + (allout-init, allout-mode, allout-next-heading, allout-chart-subtree) + (allout-previous-heading, allout-goto-prefix-doublechecked) + (allout-current-bullet-pos, allout-next-sibling-leap) + (allout-pre-command-business, allout-encrypted-type-prefix) + (allout-make-topic-prefix, allout-open-topic, allout-rebullet-heading) + (allout-rebullet-topic, allout-rebullet-topic-grunt) + (allout-flag-region, allout-expose-topic, allout-expose-topic) + (allout-old-expose-topic, allout-listify-exposed) + (allout-process-exposed, allout-latex-verb-quote) + (allout-latex-verbatim-quote-curr-line, allout-adjust-file-variable) + (allout-toggle-current-subtree-encryption) + (allout-toggle-subtree-encryption, allout-bullet-isearch): + Remove extraneous open-paren and close paren string escapes. + +2006-12-03 Juanma Barranquero + + * progmodes/ada-xref.el (is-windows, ada-find-in-src-path): Doc fixes. + (ada-xref-pos-ring-max, ada-xref-project-files, ada-xref-initialize) + (ada-prj-default-comp-cmd, ada-quote-cmd, ada-compile-current): + Fix typos in docstrings. + +2006-12-03 Glenn Morris + + * progmodes/cc-align.el + * progmodes/cc-awk.el + * progmodes/cc-cmds.el + * progmodes/cc-compat.el + * progmodes/cc-defs.el + * progmodes/cc-engine.el + * progmodes/cc-langs.el + * progmodes/cc-menus.el + * progmodes/cc-mode.el + * progmodes/cc-styles.el + * progmodes/cc-vars.el + * progmodes/vhdl-mode.el: Fix Copyright format. + +2006-12-02 Chong Yidong + + * mouse.el (mouse-drag-track): Suppress automatic hscrolling for + initial down event. + +2006-12-02 Kim F. Storm + + * emulation/cua-base.el (cua-toggle-set-mark): Doc fix. + (cua-repeat-replace-region): Make M-v more robust. + (cua-paste-pop-rotate-temporarily): New defcustom. + (cua-paste-pop): Use it. + (cua-auto-mark-last-change): New defcustom. + (cua-pop-to-last-change): New helper function. + (cua-set-mark): Use them. + +2006-12-01 Nick Roberts + + * menu-bar.el (toggle-case-fold-search): Clarify doc/help string and + mini-buffer message. + +2006-12-01 Juanma Barranquero + + * descr-text.el (describe-char-unicodedata-file): Fix typo in docstring. + +2006-12-01 Ben North + + * paren.el: Fix the highlight overlay extension when the user types a + sequence of char very fast just before the open parenthesis. + +2006-12-01 Vinicius Jose Latorre + + * ps-mule.el: Eliminate Emacs 20 compatibility. + + * ps-print.el: Eliminate Emacs 20 & 21 compatibility. + (ps-print-version): New version 6.7. + (ps-print-quote): Replace '?\ ' by '?\s'. + +2006-11-30 Juanma Barranquero + + * hexl.el (hexl-goto-address, hexl-forward-char, hexl-forward-short) + (hexl-forward-word, hexl-previous-line, hexl-beginning-of-1k-page) + (hexl-end-of-1k-page): Doc fixes. + (hexl-address-region, hexl-ascii-region, hexl-highlight-line-range): + Fix typos in docstrings. + +2006-11-30 Micha,Ak(Bl Cadilhac + + * ido.el (ido-local-file-exists-p): New. Tell if a file exists + locally, i.e. without using file name handlers. + (ido-read-internal): Allow mono letter host names, avoiding the + `c:' problem by testing if the file exists locally. + (ido-complete, ido-make-file-list, ido-exhibit): Ditto. + +2006-11-30 Masatake YAMATO + + * hexl.el (hl-line-range-function, hl-line-face): Declare variables + to avoid bytecomp warnings. + (hexl-mode-old-ruler-function): New variable. + (hexl-follow-line): Bind `hexl-mode-old-hl-line-range-function' + and `hl-line-range-function' after `require' hl-line. + Then bind `hl-line-range-function' and `hl-line-face'. + Don't require frame. Don't use `with-no-warnings'. + (hexl-activate-ruler): Store the original value of + `ruler-mode-ruler-function' to `hexl-mode-old-ruler-function'. + (hexl-mode-exit): Restore the original value of + `ruler-mode-ruler-function'. + +2006-11-30 Alin C. Soare (tiny change) + + * hexl.el (hexl-mode-old-hl-line-range-function): New variable. + (hexl-mode-old-hl-line-face): New variable. + (hexl-mode, hexl-mode-exit): Fix the highlighting of the current + line when exit from the hexl-mode. + +2006-11-30 Juanma Barranquero + + * emacs-lisp/bytecomp.el (byte-optimize, byte-compile-warnings): + Doc fixes. + + * international/fontset.el (create-fontset-from-ascii-font) + (create-fontset-from-fontset-spec, x-compose-font-name): Doc fixes. + (fontset-name-p): Fix typo in docstring. + + * progmodes/cc-cmds.el (c-indent-exp): Fix typo in docstring. + +2006-11-30 Vinicius Jose Latorre + + * ps-bdf.el: Fix maintainer email. + + * ps-mule.el: Fix maintainer email. Define functions for Emacs 20 + compatibility. + + * ps-print.el: Fix maintainer email. Define functions for Emacs 20 & + 21 compatibility. + (ps-print-quote): Replace '?\s' by '?\ ' to keep compatibility with + Emacs 20 & 21. + +2006-11-29 J.D. Smith + + * progmodes/idlwave.el (idlwave-auto-fill): + Remove paragraph-start let to prevent auto-fill giving up. + +2006-11-28 Juanma Barranquero + + * vt100-led.el (led-state): Fix typo in previous change. + +2006-11-27 Andreas Seltenreich + + * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): + Fix interactive spec of the functions getting defined to make them + work as documented. + +2006-11-28 Chong Yidong + + * startup.el (fancy-splash-screens): Hide initial splash buffer. + +2006-11-28 Kim F. Storm + + * icomplete.el (icomplete-tidy, icomplete-exhibit): Check that + icomplete-mode is enabled. + +2006-11-28 Carsten Dominik + + * textmodes/org.el (require): Require gnus-sum during compilation + to avoid problem with a macro call. + +2006-11-28 Glenn Morris + + * emacs-lisp/authors.el (authors-aliases): Add new alias. + + * progmodes/fortran.el (fortran-font-lock-keywords-4): Add `min'. + (fortran-window-create-momentarily): Do not need string-to-char. + +2006-11-28 Richard Stallman + + * emacs-lisp/bytecomp.el (byte-compile-get-constant): + Replace incorrect use of assoc-default with a loop. + + * term.el (term-exec-1): Set envvar INSIDE_EMACS. + + * simple.el (next-error-find-buffer): Improve messages. + + * files.el (revert-buffer): Special error message if file + is now not readable. + + * facemenu.el (facemenu-add-new-face): Improve doc strings of + constructed commands. + + * comint.el (comint-exec-1): Provide Emacs version and `comint' + in INSIDE_EMACS. + +2006-11-27 Stefan Monnier + + * diff-mode.el (diff-mode-map): Add a binding for unified->context. + + * server.el: Remove spurious * in docstrings. + (server-process-filter): Exit from recursive editing before processing + a new request. + +2006-11-27 J.D. Smith + + * progmodes/hideshow.el (hs-already-hidden-p): Move to end of + line so hidden blocks will be correctly identified. + +2006-11-27 Juanma Barranquero + + * ledit.el (ledit-save-defun, ledit-mode): + * resume.el (resume-emacs-args-buffer): + * rot13.el (rot13-display-table, rot13-translate-table, rot13) + (rot13-string, rot13-region, rot13-other-window, toggle-rot13-mode): + * vmsproc.el (subprocess-input, start-subprocess, subprocess-command) + (command-send-input, command-kill-line): + * vt100-led.el (led-state, led-on): Fix typos in docstrings. + + * autoarg.el (autoarg-kp-mode): Doc fix. + + * emacs-lock.el (toggle-emacs-lock): Doc fix. Simplify. + (emacs-lock-check-buffer-lock): Doc fix. Use `when'. + (check-emacs-lock): Doc fix. Simplify. + + * iimage.el (iimage-mode-image-regex-alist): Doc fix. + (iimage-mode-buffer): Fix typos in docstring. + + * misc.el (zap-up-to-char): Doc fix. + + * time-stamp.el: Fix comment and obsolescence string for old + functions. Use `dolist' instead of `while'. + + * userlock.el (ask-user-about-lock-help): Fix typos in output message. + + * disp-table.el (standard-display-8bit, standard-display-default): + * ebuff-menu.el (electric-buffer-list): + * ehelp.el (electric-help-command-loop): + * font-core.el (font-lock-mode): + * help-macro.el (make-help-screen): + * help.el (describe-minor-mode-completion-table-for-indicator) + (lookup-minor-mode-from-indicator): + * indent.el (tab-to-tab-stop, move-to-tab-stop): + * info-look.el (info-lookup-guess-custom-symbol): + * locate.el (locate-main-listing-line-p, locate-mode, locate-do-setup): + * longlines.el (longlines-wrap-line): + * macros.el (insert-kbd-macro): + * menu-bar.el (menu-bar-update-buffers): + * misc.el (copy-from-above-command): + * mouse.el (mouse-popup-menubar, mouse-buffer-menu-alist): + * newcomment.el (comment-indent): + * novice.el (disabled-command-function): + * sort.el (sort-fields-syntax-table): + * subr.el (momentary-string-display): + * tar-mode.el (tar-header-block-summarize) + (tar-clear-modification-flags): + * terminal.el (terminal-cease-edit, te-more-break-unwind, te-newline) + (te-clear-rest-of-line, te-clear-rest-of-screen, te-clear-screen) + (te-insert-lines, te-delete-lines, te-delete, te-insert-spaces) + (te-delete-char, te-down-vertically-or-scroll): + * time-stamp.el (time-stamp-string-preprocess): + * tmm.el (tmm-add-one-shortcut): "?\ " -> "?\s". + +2006-11-26 Nick Roberts + + * speedbar.el (speedbar-timer-fn): Revert to old behaviour when not + in GUD mode. + + * progmodes/gud.el (gud-install-speedbar-variables): Remove bindings: + speedbar-expand-line-descendants, speedbar-contract-line-descendants. + +2006-11-26 Jan Dj,Ad(Brv + + * progmodes/cc-vars.el (c-backslash-column): Add . at end of sentence. + +2006-11-26 Stephen Leake + + * progmodes/ada-mode.el (ada-which-compiler): Fix typo in docstring. + (ada-compile-goto-error): Adapt to new argument profile of + compilation-goto-locus in Emacs 22. Don't check if the various + compile functions are defined; we already do "(require 'compile)". + +2006-11-26 Kim F. Storm + + * kmacro.el: Fix commentary. + +2006-11-26 Nick Roberts + + * progmodes/gud.el (gdb): Explain how to run in text command mode + more clearly. Say in error message that multiple debugging + requires restarting GDB. + +2006-11-25 Juanma Barranquero + + * international/fontset.el (create-fontset-from-fontset-spec): Doc fix. + +2006-11-25 Pavel Kobiakov + + * progmodes/flymake.el (flymake-posn-at-point-as-event): New function. + (flymake-popup-menu): Use it instead of posn-at-point. + +2006-11-25 Jan Dj,Ad(Brv + + * progmodes/cc-vars.el (c-backslash-column): + Mention c-backslash-max-column in documentation for c-backslash-column. + +2006-11-24 Lars Hansen + + * net/tramp.el (tramp-default-method): Under Windows, change from + plink to pscp. + (tramp-copy-failed-regexp, tramp-action-copy-failed): Add. + (tramp-actions-copy-out-of-band): + Add pair (tramp-copy-failed-regexp tramp-action-copy-failed). + (tramp-action-out-of-band): Move "Permission denied" handling to + tramp-action-copy-failed. + (tramp-do-copy-or-rename-file-out-of-band): unwind-protect killing of + process buffer. + +2006-11-24 Stefan Monnier + + * pgg-pgp.el (pgg-pgp-process-region): Change `args' from a list of + strings to a single string. Quote `errors-file-name'. + (pgg-pgp-encrypt-region, pgg-pgp-decrypt-region, pgg-pgp-sign-region) + (pgg-pgp-verify-region, pgg-pgp-insert-key, pgg-pgp-snarf-keys-region): + Adjust calls. Use `shell-quote-argument'. + + * international/mule.el (load-with-code-conversion) + (with-category-table): Use with-current-buffer. + (after-insert-file-set-coding): Use restore-buffer-modified-p. + +2006-11-24 Eli Zaretskii + + * mail/smtpmail.el (smtpmail-send-it): + Copy buffer-file-coding-system from the mail buffer. Possibly add a + MIME header for the message encoding. + Bind coding-system-for-write around the call to mail-do-fcc. + Use smtpmail-code-conv-from to encode queued mail messages. + +2006-11-24 Juanma Barranquero + + * tabify.el (tabify-regexp): Doc fix. + + * net/rcirc.el (rcirc-buffer-maximum-lines): + * progmodes/gud.el (jdb): Fix space/tab mixup in docstrings. + + * play/gomoku.el (gomoku-terminate-game, gomoku-human-takes-back) + (gomoku-prompt-for-move, gomoku-human-plays, gomoku-offer-a-draw): + Fix typos in output messages. + (gomoku-vector-length, gomoku-init-board): Fix typos in docstrings. + +2006-11-23 Stefan Monnier + + * hexl.el (hexl-mode): Don't try to guess the max-address: get it from + the horse's mouth. + (hexlify-buffer): Don't re-encode an arg that's already encoded. + +2006-11-23 Michael Kifer + + * ediff-diff.el (ediff-exec-process, ediff-same-file-contents): + Remove condition-case. + +2006-11-23 Glenn Morris + + * progmodes/f90.el (f90-comment-indent): Do not move point in + default case. + +2006-11-21 Romain Francoise + + * emacs-lisp/find-func.el (find-library-name): Don't strip ".el" + from library name (reverts change of 2005-10-25). + +2006-11-21 Lennart Borgman + + * tutorial.el (tutorial--default-keys): Add newline and + delete-backward-char bindings. + (tutorial--detailed-help): Save excursion when finding keys. + Correct warning string for M-x FOO case. + (tutorial--display-changes): Print special keys in tutorial style. + Tweak search regexp for changed keys. + +2006-11-21 Bob Rogers (tiny change) + + * thingatpt.el (thing-at-point-url-at-point): Don't add a + redundant scheme. + +2006-11-21 Diane Murray (tiny change) + + * thingatpt.el (thing-at-point-uri-schemes): Add schemes that + are new to the list at IANA. Also added irc, mms, mmsh. + +2006-11-20 J.D. Smith + + * progmodes/idlw-help.el (idlwave-html-help-location): + Fail gracefully for missing help packages. + (idlwave-help-assistant-open-link): Open full links. + (idlwave-help-assistant-help-with-topic): Direct help link. + + * progmodes/idlwave.el (idlwave-mode): + Set add-log-current-defun-function. + (idlwave-current-routine-fullname): Add, to support add-log. + (idlwave-convert-xml-system-routine-info): Simplify XML parsing + to reflect improvements to xml-parse-file. + (idlwave-mode-menu-def): New binding for help-with-topic. + + * progmodes/idlw-shell.el (idlwave-shell-filter-directory): + Handle extra newlines and spaces. + (idlwave-shell-mode-map): Add help-with-topic. + +2006-11-20 Chong Yidong + + * tutorial.el (tutorial-warning-face): New face. + (tutorial--detailed-help, tutorial--display-changes): Use it. + (tutorial--find-changed-keys): Check ESC-prefix binding specially. + Improve search pattern for occurrences of changed keys. + +2006-11-20 Jan Dj,Ad(Brv + + * term/x-win.el (x-last-cut-buffer-coding): New variable. + (x-select-text): Set it. + (x-cut-buffer-or-selection-value): Check also x-last-cut-buffer-coding + when checking for newness. + +2006-11-19 Juanma Barranquero + + * subr.el (posn-image): + * progmodes/ebnf2ps.el (ebnf-stop-on-error): Fix typos in docstrings. + + * emacs-lisp/regexp-opt.el (regexp-opt): Doc fix. + +2006-11-19 Micha,Ak(Bl Cadilhac + + * progmodes/glasses.el (glasses-separate-parentheses-exceptions): New. + Exceptions to the rule "add a space between an identifier and an + opening parenthesis". Defaulted to the `#define' problem of cpp. + (glasses-parenthesis-exception-p): New. Check if the region is an + exception regarding to that. + (glasses-make-readable): Use it. + (glasses-convert-to-unreadable): Ditto. Modify the file also if + `glasses-convert-on-write-p' and `glasses-separate-parentheses-p' are t. + +2006-11-19 Chong Yidong + + * emacs-lisp/bytecomp.el (byte-compile-if): Revert last change. + +2006-11-19 Stephen Leake + + * progmodes/ada-mode.el (ada-make-body): Fix typo. + + * progmodes/ada-xref.el (ada-make-body-gnatstub): Fix typo. + (ada-xref-initialize): Fix typo. Use add-hook and remove-hook. + +2006-11-18 Chong Yidong + + * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): Check `and' + conditions for function or variable bindings. + + * comint.el (comint-exec-1): Set EMACS and INSIDE_EMACS to t. + + * progmodes/compile.el (compilation-start): Ditto. + +2006-11-18 Michael Albinus + + * net/tramp.el (top): cl and custom are always required. + +2006-11-18 Jan Dj,Ad(Brv + + * term/x-win.el (x-cut-buffer-or-selection-value): Decode text from + cut-buffers with next-selection-coding-system if not nil. + +2006-11-17 Carsten Dominik + + * textmodes/org.el (org-fix-decoded-time): New function. + (org-display-custom-time): Use `org-fix-decoded-time'. + +2006-11-17 Chong Yidong + + * menu-bar.el (menu-bar-games-menu): Remove yow. + +2006-11-17 Carsten Dominik + + * textmodes/org.el (org-scan-tags): Re-align code fixed. + (org-detach-overlay): Rename from `org-detatch-overlay'. + (org-table-convert-region): Insert space after column separator. + (org-agenda-kill): New command. + (org-metaleft): Call `org-outdent-item' on bullets. + (org-metaright): Call `org-indent-item' on bullets. + (org-timestamp-change): Set `org-last-changed-timestamp'. + (org-current-line): Make sure (bolp) returns correct result. + (org-agenda-change-all-lines): Make sure TODO are highlighted. + +2006-11-17 Stefan Monnier + + * pcvs.el (cvs-retrieve-revision): Set buffer-file-coding-system. + +2006-11-16 Chong Yidong + + * mouse.el (global-map): Change 2006-08-16 fix to call + mouse-yank-at-click explicitly, since mouse events are not carried + over into keyboard macros. + +2006-11-16 Kim F. Storm + + * ido.el (ido-file-internal): Use current buffer's file name as default + choice for ido-find-alternate-file. Suggested by Matt Hodges. + +2006-11-15 Ken Manheimer + + * allout.el (allout-doublecheck-at-and-shallower): Clarify docstring. + (allout-inhibit-aberrance-doublecheck): Rename from + allout-during-yank-processing. All callers changed. + (allout-ascend): Provide for unusual case where some topic after + the first in file is at lower depth than the first. + (allout-shift-in): Ensure the offspring of the new containing + topic are exposed. + (allout-encrypt-string): Preserve the coding-system of the text, + according to that of the containing buffer. + (allout-toggle-subtree-encryption): When the text being encrypted + requires a different coding system, offer to preserve the coding + system using a file local var. + +2006-11-15 Simon Marshall + + * progmodes/cc-fonts.el (c-font-lock-declarators): Use c-at-toplevel-p + to recognise "T t()" as a function declaration, rather than a + variable instantiation, iff at the top-level or inside a class + declaration. Suggested by Feng Li . + +2006-11-14 Stephen Leake + + * progmodes/ada-xref.el (ada-parse-prj-file): + Don't delete project buffer; user may want to edit it. + (ada-xref-set-project-field, ada-xref-current-project-file) + (ada-xref-current-project, ada-show-current-project) + (ada-set-main-compile-application): New functions. + (ada-xref-get-project-field, ada-require-project-file): + Normalize use of ada-prj-default-project-file. + (ada-gdb-application, ada-get-ada-file-name, ada-make-body-gnatstub): + Normalize use of ada-require-project-file. + (ada-prj-find-prj-file): Improve doc string, comments. + + * progmodes/ada-mode.el (ada-mode-version): Bump version. + (ada-create-keymap): Add \C-c\C-m 'ada-set-main-compile-application. + (ada-create-menu): Add ada-set-main-compile-application, + ada-show-current-main, ada-show-current-project. + +2006-11-14 Stefan Monnier + + * progmodes/python.el (inferior-python-mode-syntax-table): New var. + (inferior-python-mode): Use it. + +2006-11-14 Andreas Schwab + + * term/xterm.el (terminal-init-xterm): Add more key bindings. + +2006-11-13 Kim F. Storm + + * ido.el (ido-copy-current-word): C-o copies region if active. + +2006-11-13 Carsten Dominik + + * textmodes/org.el (org-emph-face): Fix typo in variable name. + +2006-11-13 Juanma Barranquero + + * ediff.el (ediff-revision): + * files.el (set-visited-file-name): + * mail/rmailout.el (rmail-output-body-to-file): + Use `format', not `message', in `y-or-n-p' call. + +2006-11-13 Carsten Dominik + + * textmodes/org.el (org-metaleft): Call `org-outdent-item' on bullets. + (org-metaright): Call `org-indent-item' on bullets. + (org-timestamp-change): Set `org-last-changed-timestamp'. + (org-current-line): Make sure (bolp) returns correct result. + (org-agenda-change-all-lines): Make sure highlighting TODO always works. + +2006-11-12 Richard Stallman + + * language/european.el (turkish-case-conversion-enable) + (turkish-case-conversion-disable): New functions. + ("Turkish" lang env): Use them. + + * international/characters.el (case table): + Do nothing special for i and I. + + * subr.el (remove-overlays): Fix last change. + + * cus-edit.el (custom-save-all): Use find-file-visit-truename + for visiting the custom file. + +2006-11-12 Markus Triska + + * play/handwrite.el (handwrite): Also process lines not ending + with newline. Replace some position-fiddling with different + logic. Improve performance. + +2006-11-12 Stephen Leake + + * progmodes/ada-xref.el (ada-prj-default-check-cmd): New variable, + replacing deleted variable `ada-check-switch'. + (ada-project-file-extension): Rename to `ada-prj-file-extension'. + (ada-xref-project-files): Improve doc string. + (ada-find-executable): New function. + (ada-initialize-runtime-library): Use `ada-find-executable'. + (ada-xref-set-default-prj-values): In compile commands, don't need + `ada-cd-command'; `compile' does that more portably. + Use ada-prj-default-check-cmd. + (ada-parse-prj-file): Don't set 'debug_post_cmd, 'debug_pre_cmd + properties if not specified in project file. + (ada-goto-declaration): Display useful message for new error + 'error-file-not-found. + (ada-get-ada-file-name, ada-find-in-src-path): Signal new error + 'error-file-not-found. + (ada-get-all-references): Match latest ali syntax. Signal new + error 'error-file-not-found. + (ada-find-in-ali): Match latest ali syntax. + (ada-make-filename-from-adaname): Handle different semantics of + gnatkr in GNAT 3.15p vs later. + + * progmodes/ada-stmt.el (ada-func-or-proc-name): Match changes to + ada-procedure-start-regexp. + (ada-or-accept, ada-or-delay, ada-or-terminate): Improve doc string. + + * progmodes/ada-mode.el: Replace conditional (require 'ispell) + with defvar. + (ada-language-version): Rename ada05 -> ada2005. + (ada-align-region-separate): Add `eval-when-compile'. + (ada-name-regexp): Remove unneeded escapes in regexp character + alternative. + (ada-compile-goto-error-file-linenr-re): New constant. + (ada-matching-start-re): Handle additional cases `declare', + `procedure', `function'. + (ada-compile-goto-error): Handle "... at line nn". + (ada-mode): Clearer syntax, comments for ff-special-constructs. + Delete support for old versions of `align'. + (ada-search-prev-end-stmt): Handle additional keyword `private'. + (ada-check-defun-name): Simplify handling of `declare'. + (ada-goto-matching-start): Handle nested `begin ... end'. + Handle `declare', `protected', `procedure', `function'. + (ada-create-menu): Presence of arm95 is not conditional on using + GNAT compiler. + +2006-11-12 Juanma Barranquero + + * emacs-lisp/re-builder.el (reb-mode): Set `blink-matching-paren' to + nil in the *RE-Builder* buffer (it causes spurious error messages). + + * server.el (server-visit-files): If `minibuffer-auto-raise' has + been set to t, respect it. + +2006-11-11 Stephen Leake + + * progmodes/ada-mode.el: Delete `eval-and-compile' around `require'. + Delete commented out code for old Emacs versions. Autoloading of + "ada-xref", "ada-prj" is useful even if compiler is not GNAT. + (ada-mode-version): Bump version number. + (ada-95-string-keywords, ada-2005-string-keywords) + (ada-2005-keywords, ada-name-regexp): New constant. + (ada-language-version, ada-procedure-start-regexp, ada-mode) + (ada-font-lock-keywords): Add support for Ada 2005 keywords. + (ada-package-start-regexp): Support private packages, include package + name (for ada-set-point-accordingly). + (ada-next-procedure, ada-previous-procedure) + (ada-which-function-are-we-in): Match changes to + ada-procedure-start-regexp. + (ada-make-body): Make non-interactive; not a user function. + (ada-make-subprogram-body): Improve doc string. + +2006-11-11 Romain Francoise + + * progmodes/cperl-mode.el (cperl-mode): Before adding to it, make + `compilation-error-regexp-alist' buffer-local, since we changed + `compilation-error-regexp-alist-alist' locally. + +2006-11-11 Juanma Barranquero + + * server.el (server-visit-files): Bind `minibuffer-auto-raise' + to the value of `server-raise-frame'. + +2006-11-11 Glenn Morris + + * ido.el (ido-enable-prefix) + * ses.el (ses-call-printer-return) + * net/tramp.el (tramp-unified-filenames) + * progmodes/cc-align.el (c-lineup-string-cont) + * progmodes/compile.el (compilation-directory-matcher) + * progmodes/ebnf2ps.el (ebnf-stop-on-error) + * progmodes/vhdl-mode.el (vhdl-reset-active-high) + (vhdl-clock-rising-edge) + * textmodes/org.el (org-export-with-timestamps) + (org-export-remove-timestamps-from-toc) + (org-export-with-tags): Improve previous doc fixes. + +2006-11-11 Richard Stallman + + * textmodes/flyspell.el (flyspell-mode-map): + Bind C-c $ instead of M-RET. + +2006-11-10 Simon Marshall + + * progmodes/cc-fonts.el (c-font-lock-declarations): Don't overwrite + fontification for "case" and "default" keywords. + +2006-11-10 Andreas Schwab + + * calendar/cal-dst.el (calendar-dst-check-each-year-flag): + Avoid starting sentence with "nil". + +2006-11-10 Juanma Barranquero + + * server.el (server-raise-frame): New option. + (server-switch-buffer): Use it. + +2006-11-10 Nick Roberts + + * progmodes/gdb-ui.el (gdb-many-windows): Start doc string + with a capital. + +2006-11-10 Carsten Dominik + + * textmodes/org.el (org-show-hierarchy-above) + (org-show-following-heading): Fix typo in default value. + (org-scan-tags): Make the search case-sensitive. + (org-tags-sparse-tree): Don't overrule + `org-show-following-heading' and `org-show-hierarchy-above'. + (org-reveal): New command. + (org-show-context): Rename from `org-show-hierarchy-above'. + (org-fast-tag-selection-single-key): New option. + (org-fast-tag-show-exit, org-set-current-tags-overlay): New functions. + (org-tags-overlay): New variable. + (org-agenda-todo-ignore-deadlines): New option. + ("session"): Add circular data structure `org-mark-ring' to + exceptions list in session.el. + (org-agenda-window-setup, org-agenda-restore-windows-after-quit): + New options. + (org-agenda-quit): Use `org-agenda-restore-windows-after-quit'. + (org-prepare-agenda, org-agenda-quit): Use `org-agenda-window-setup'. + (org-pre-agenda-window-conf, org-blank-before-new-entry): New vars. + (org-finalize-agenda): Activate bracket links in agenda. + (org-at-timestamp-p, org-at-date-range-p): Additional argument + INACTIVE-OK. + (org-show-hierarchy-above, org-show-following-heading): + List values allowed for fine-tuned configuration. + (org-show-hierarchy-above): New argument CONTEXT, use the + fine-tuned settings in `org-show-hierarchy-above' and + `org-show-following-heading'. + (org-display-custom-time): New function. + (org-toggle-time-stamp-overlays, org-insert-time-stamp): New function. + (org-display-custom-times, org-time-stamp-custom-formats): + (org-maybe-intangible): New macro. + (org-activate-bracket-links, org-hide-wide-columns): + Use `org-maybe-intangible'. + (org-open-file): Use `shell-quote-argument'. + (org-display-internal-link-with-indirect-buffer): New option. + (org-file-remote-p): Get regexp from list. + (org-link-expand-abbrev): New function. + (org-link-abbrev-alist): New option. + (org-open-at-point, org-cleaned-string-for-export): + Call `org-link-expand-abbrev'. + (org-timeline, org-agenda-list, org-todo-list) + (org-tags-view): Remove the KEEP-MODES argument. + (org-finalize-agenda-hook): New hook. + (org-get-alist-option): New function. + (org-follow-timestamp-link): New function. + (org-open-at-point): Call `org-follow-timestamp-link'. + (org-log-note-marker, org-log-note-purpose) + (org-log-note-window-configuration): New variables. + (org-add-log-maybe, org-add-log-note, org-store-log-note): New funs. + (org-log-note-headings): New option. + (org-dblock-write:clocktable): Bug fix, removed infinite loop. + (org-store-link): Support for dired-mode. + (org-open-file): Substitute environment variables into filename. + (org-last): New defsubst. + (org-agenda-re-align-tags): New function. + (org-agenda-align-tags-to-column): New option. + (org-agenda-timeline): Group removed. + (org-prepare-agenda, org-prepare-agenda-buffers) + (org-run-agenda-series, org-timeline, org-agenda-list) + (org-todo-list, org-tags-view): Call `org-agenda-prepare' and set + the text property inticating the agenda type. + (org-agenda-post-command-hook): Get agenda type from text property + at point. + (org-agenda): Handle command sets. Set `org-agenda-last-arguments' + and obey `org-agenda-overriding-arguments'. + (org-agenda-overriding-arguments, org-agenda-last-arguments): New vars. + (org-agenda-goto-today, org-agenda-later, org-agenda-earlier) + (org-agenda-week-view, org-agenda-day-view): + Use `org-agenda-overriding-arguments' to make updating work with + multi-block agendas. + (org-agenda-prefix-format): Allow different formats for the + different agenda entry types. + (org-timeline-prefix-format): Option removed, use + `org-agenda-prefix-format' instead. + (org-prepare-agenda): New function. + (org-select-timeline-window): Option removed, use + `org-select-agenda-window' instead. + (org-respect-restriction): Variable removed. + (org-cmp-tag): New function. + (org-agenda-sorting-strategy, org-entries-lessp): + Implement sorting by last tag. + (org-complete): Better completion in in-buffer option lines. + (org-in-item-p): New function. + (org-org-menu): Add entries for checkboxes. + (org-cycle): Extra brouping in outline-regexp, because it is used + in a search with "^" prepended. + (org-provide-checkbox-statistics): New option. + (org-set-font-lock-defaults): Highlight checkbox statistics. + (org-update-checkbox-count-maybe) + (org-get-checkbox-statistics-face): New functions. + (org-update-checkbox-count): New command. + (org-insert-item, org-toggle-checkbox): + Call `org-update-checkbox-count-maybe'. + (org-export-as-html): XEmacs compatibility for coding system. + (org-force-cycle-archived): New command. + (org-cycle-hide-archived-subtrees): Display message when ARCHIVE + overrules cycling. + (org-fix-position-after-promote): If the line contains only a todo + keyword, add a final space. + (org-promote-subtree, org-demote-subtree): + Call `org-fix-position-after-promote'. + +2006-11-10 Glenn Morris + + * calendar/cal-dst.el: Do not assume DST starts/ends on the same + date in every year. + (calendar-dst-check-each-year-flag): New customizable variable. + (calendar-dst-find-data): New function, extracted from + calendar-current-time-zone. + (calendar-current-time-zone): Use calendar-dst-find-data. + (calendar-dst-transition-cache): New variable. + (calendar-dst-find-startend, calendar-dst-starts) + (calendar-dst-ends): New functions. + (calendar-daylight-savings-starts) + (calendar-daylight-savings-ends): Change value to use + calendar-dst-starts, calendar-dst-ends; respectively. + + * progmodes/f90.el (f90-indent-region): Bind case-fold-search to t. + + * ido.el (ido-enable-prefix) + * ses.el (ses-call-printer-return) + * net/tramp.el (tramp-unified-filenames) + * progmodes/cc-align.el (c-lineup-string-cont) + * progmodes/compile.el (compilation-directory-matcher) + * progmodes/ebnf2ps.el (ebnf-stop-on-error) + * progmodes/gdb-ui.el (gdb-many-windows) + * progmodes/vhdl-mode.el (vhdl-reset-active-high) + (vhdl-clock-rising-edge) + * textmodes/org.el (org-export-with-timestamps) + (org-export-remove-timestamps-from-toc, org-export-with-tags) + (org-read-date): Doc fix (Nil -> nil). + +2006-11-10 Jan Dj,Ad(Brv + + * term/x-win.el (x-select-text, x-cut-buffer-or-selection-value): + Encode/decode text to/from cut buffers to/from iso-latin-1 only. + +2006-11-10 Juanma Barranquero + + * bs.el (bs--window-for-buffer): Remove. + (bs--show-with-configuration): Use `get-window-with-predicate' + instead of `bs--window-for-buffer'. + +2006-11-10 Kenichi Handa + + * files.el (revert-buffer): Fix previous change. + +2006-11-09 Juanma Barranquero + + * bs.el (bs--redisplay): Fix typo in docstring. + (bs--window-config-coming-from): Make frame-local. + (bs--restore-window-config): New function. + (bs-kill, bs-select, bs-select-other-window) + (bs-select-other-frame): Use it. + (bs--window-for-buffer): Return as soon as a matching buffer is found. + (bs--show-with-configuration): Save the window configuration as a + frame local var, and only if *buffer-selection* is not already + visible on this frame. + +2006-11-08 Chong Yidong + + * vc-svn.el (vc-svn-admin-directory): New var. + (vc-svn-registered, vc-svn-responsible-p) + (vc-svn-repository-hostname): Use it. + Suggested by arit93@yahoo.com. + +2006-11-08 Juanma Barranquero + + * ldefs-boot.el: Regenerate. + +2006-11-08 Alan Mackenzie + + * emacs-lisp/lisp.el (beginning-of-defun-raw): Code up the + case (eq open-paren-in-column-0-is-defun-start nil) by searching + for least nested open-paren. + +2006-11-08 Romain Francoise + + * subr.el (remove-overlays): Fix typo in last change. + +2006-11-08 Richard Stallman + + * subr.el (remove-overlays): Call overlay-recenter. + +2006-11-08 Vinicius Jose Latorre + + * printing.el (pr-alist-custom-set, pr-ps-utility-custom-set) + (pr-ps-name-custom-set, pr-txt-name-custom-set): Return back the old + behaviour. + (pr-menu-bind): Act on global-map instead of menu-bar-file-menu + directly. + +2006-11-08 Juanma Barranquero + + * ido.el (ido-ignore-extensions, ido-show-dot-for-dired) + (ido-max-dir-file-cache, ido-decorations) + (ido-rewrite-file-prompt-functions, ido-use-mycompletion-depth) + (ido-magic-backward-char, ido-enter-dired) + (ido-enter-insert-buffer, ido-enter-insert-file, ido-dired) + (ido-list-directory, ido-first-match, ido-only-match) + (ido-subdir, ido-indicator): Fix typos in docstrings. + (ido-buffer-internal, ido-completion-help): Fix typos in messages. + (ido-read-internal): Fix typo in error message. + +2006-11-08 Kenichi Handa + + * international/mule-cmds.el (set-default-coding-systems): + Always set default-file-name-coding-system to utf-8 for Mac Darwin. + +2006-11-08 Juanma Barranquero + + * makefile.w32-in (setwins): Remove. + (WINS_ALMOST): New macro. + (WINS): Use it. + (autoloads): Don't extract autoloads from files in obsolete/. + +2006-11-07 Chong Yidong + + * whitespace.el (whitespace-buffer): Call remove-overlays after + overlay-recenter for performance. Suggested by Martin Rudalics. + +2006-11-07 Michael Albinus + + * net/tramp.el (tramp-default-method): scp is the default method. + +2006-11-07 Juanma Barranquero + + * server.el (server-start): Save also the Emacs pid in the server file. + +2006-11-07 Carsten Dominik + + * textmodes/reftex-cite.el (reftex-pop-to-bibtex-entry): Preserve + point when displaying a bibtex cross reference in the echo area. + +2006-11-06 Juanma Barranquero + + * international/mule.el (make-char): Fix typo in docstring. + (load-with-code-conversion, charsetp): Doc fixes. + + * international/ja-dic-cnv.el (skkdic-convert): + * cus-edit.el (hook): Fix typo in docstring. + +2006-11-06 Chong Yidong + + * cus-edit.el (custom-mode-map): Move defvar above code using it. + (custom-mode-link-map): New variable. + (custom-group-link, custom-manual): Use follow-link. + +2006-11-06 Roland Winkler + + * textmodes/bibtex.el: Fix typo in name of author of bibtex.el, + "Mark Shapiro" -> "Marc Shapiro". Update his email address. + +2006-11-06 Richard Stallman + + * textmodes/flyspell.el (flyspell-correct-word-before-point): + New function broken out of flyspell-correct-word. + (flyspell-mode-map): Bind it to M-RET. + (flyspell-correct-word): Call it. + + * textmodes/fill.el (fill-minibuffer-function): New function. + (fill-paragraph): Bind fill-paragraph-function to + fill-minibuffer-function. + + * ruler-mode.el (ruler-mode-map): Add bindings for up-events + so that they aren't undefined. + + * dired.el (dired-readin): Locally bind file-name-coding-system. + + * bindings.el: Shorten and clarify usual mode line mouse help string. + + * Makefile.in (autoloads): Don't include `obsolete'. + +2006-11-06 Chong Yidong + + * printing.el (pr-alist-custom-set, pr-ps-utility-custom-set) + (pr-ps-name-custom-set, pr-txt-name-custom-set): Don't update the + Printing menu if it's not initialized. + (pr-menu-bind): Act on menu-bar-file-menu directly. + +2006-11-06 Juanma Barranquero + + * help.el (view-emacs-news): Fix typo in error message. + + * menu-bar.el (menu-bar-update-buffers): Fix typo in menu entry. + + * shadowfile.el (shadow-define-regexp-group) + (shadow-literal-groups, shadow-insert-var): Doc fixes. + (shadow-read-files): Fix typo in message. + (shadow-inhibit-overload, shadow-find, shadow-suffix) + (shadow-site-match, shadow-write-todo-file, shadow-insert-var) + (shadow-suffix, shadow-site-match, shadow-expand-file-name) + (shadow-file-match): Fix typos in docstrings. + + * terminal.el (terminal-emulator): Fix typo in message. + + * emacs-lisp/authors.el (authors-fixed-entries): Fix typo. + + * emacs-lisp/lselect.el (x-kill-primary-selection) + (x-delete-primary-selection, x-copy-primary-selection): + Fix typos in error messages. + + * emulation/edt-mapper.el: Fix typo in interactive message. + + * mail/emacsbug.el (report-emacs-bug): Fix typos in output message. + + * textmodes/ispell.el (ispell, ispell-local-dictionary-alist) + (ispell-help): Fix typos in docstrings. + (ispell-help): Fix typo in output message. + + * allout.el (allout-adjust-file-variable) + (allout-passphrase-verifier-string) + (allout-passphrase-hint-string) + (allout-toggle-current-subtree-encryption): + * apropos.el (apropos-synonyms): + * cus-edit.el (hook): + * emacs-lock.el (emacs-lock-from-exiting): + * follow.el (follow-avoid-tail-recenter-p): + * hexl.el (hexl-mode): + * mouse-copy.el (mouse-copy-work-around-drag-bug): + * mouse.el (mouse-set-font): + * resume.el (resume-emacs-args-file): + * rfn-eshadow.el (file-name-shadow-tty-properties): + * t-mouse.el (t-mouse-process, t-mouse-mode): + * emacs-lisp/cust-print.el (custom-print-install) + (custom-print-uninstall, custom-format): + * emacs-lisp/shadow.el (list-load-path-shadows): + * emulation/tpu-edt.el (tpu-help-text) + (tpu-save-all-buffers-kill-emacs, tpu-emacs-replace) + (tpu-reset-control-keys): + * emulation/vip.el (vip-emacs-local-map) + (vip-change-mode-to-emacs): + * emulation/viper.el (viper-mode, viper-set-hooks) + (viper-major-mode-modifier-list): + * emulation/viper-init.el (viper-emacs-state-cursor-color): + * emulation/viper-keym.el (viper-emacs-kbd-map) + (viper-toggle-key): + * mail/feedmail.el (feedmail-queue-reminder) + (feedmail-queue-reminder-alist, feedmail-confirm-outgoing) + (feedmail-confirm-outgoing-timeout, feedmail-nuke-bcc) + (feedmail-nuke-resent-bcc, feedmail-fill-to-cc-fill-column) + (feedmail-sender-line, feedmail-force-binary-write) + (feedmail-from-line, feedmail-deduce-envelope-from) + (feedmail-x-mailer-line, feedmail-message-id-generator) + (feedmail-date-generator, feedmail-fiddle-plex-user-list) + (feedmail-enable-spray, feedmail-spray-this-address) + (feedmail-spray-address-fiddle-plex-list, feedmail-enable-queue) + (feedmail-queue-runner-confirm-global) + (feedmail-ask-before-queue-prompt) + (feedmail-ask-before-queue-reprompt) + (feedmail-prompt-before-queue-standard-alist) + (feedmail-prompt-before-queue-user-alist) + (feedmail-prompt-before-queue-help-supplement) + (feedmail-queue-use-send-time-for-message-id) + (feedmail-queue-default-file-slug, feedmail-queue-fqm-suffix) + (feedmail-mail-send-hook-splitter, feedmail-mail-send-hook) + (feedmail-mail-send-hook-queued) + (feedmail-confirm-addresses-hook-example) + (feedmail-last-chance-hook, feedmail-before-fcc-hook) + (feedmail-queue-runner-mode-setter) + (feedmail-queue-alternative-mail-header-separator) + (feedmail-queue-runner-message-sender) + (feedmail-buffer-eating-function, feedmail-binmail-template) + (feedmail-run-the-queue-no-prompts) + (feedmail-run-the-queue-global-prompt) + (feedmail-queue-subject-slug-maker, feedmail-fiddle-header) + (feedmail-envelope-deducer, feedmail-fiddle-date) + (feedmail-default-message-id-generator) + (feedmail-fiddle-message-id, feedmail-fiddle-x-mailer) + (feedmail-fiddle-spray-address, feedmail-deduce-address-list): + * mail/vms-pmail.el (vms-pmail-save-and-exit, vms-pmail-abort) + (vms-pmail-setup): + * play/dunnet.el (dun-help): + * play/handwrite.el (handwrite): + * play/hanoi.el (hanoi-unix-64): + * progmodes/idlwave.el (idlwave-rescan-asynchronously): + * textmodes/enriched.el (fixed): + * textmodes/org.el (org-file-apps) + (org-emphasis-regexp-components, org-emphasis-alist): + * textmodes/texinfmt.el (batch-texinfo-format): + Fix typos in docstrings. + +2006-11-05 Juanma Barranquero + + * loadhist.el (read-feature): Don't complete features not loaded + from a file (which make `unload-feature' to fail). + +2006-11-05 Reiner Steib + + * add-log.el (add-log-time-zone-rule): Mark as safe-local-variable. + +2006-11-05 Chong Yidong + + * startup.el (command-line-1): Kill emacs if the last frame is + deleted while evaluating the command-line arguments. + +2006-11-05 Richard Stallman + + * startup.el (init-file-had-error): Add doc string. + (fancy-splash-text, fancy-splash-head, fancy-splash-tail): + Use fixed-width font for keyboard key descriptions. + + * cus-edit.el (custom-save-all): Error if saving in .emacs + and it had an error when loaded. + + * dired-aux.el (dired-copy-file-recursive): Catch errors + from recursive copies in the loop, around the recursive call. + +2006-11-05 Micha,Ak(Bl Cadilhac + + * battery.el (battery-linux-proc-acpi): Search an ac_adapter in + `/proc/acpi/ac_adapter/*'. Ditto for the thermometers in + `/proc/acpi/thermal_zone/*'. + (battery-search-for-one-match-in-files): New. Search a regexp in + the content of some files. + +2006-11-05 Martin Rudalics + + * window.el (mouse-autoselect-window-now): Remove variable. + (mouse-autoselect-window-state): New variable. + (mouse-autoselect-window-start, mouse-autoselect-window-cancel) + (mouse-autoselect-window-select, handle-select-window): + Rewritten to make mouse-autoselect-window-timer a one-shot timer. + Suspend delayed autoselection during menu or popup dialog. + + * info-look.el (info-lookup-guess-custom-symbol): New function + for retrieving symbol at point in custom buffers. + (top level) : Add backquote and + comma to ignored characters in regexps of help specifications + for emacs-lisp-mode and lisp-interaction-mode. This permits + looking up symbols in `...' and after a comma. Add help + specifications for custom-mode and help-mode. + +2006-11-04 Eli Zaretskii + + * mail/rmail.el (rmail-redecode-body): New optional argument RAW. + Don't encode body if RAW is non-nil, or if the old encoding is + identical to the new encoding, or if the body contains only + eight-bit-* characters. + +2006-11-04 Yoni Rabkin Katzenell (tiny change) + + * faces.el (faces-sample-overlay, describe-face): Revert last changes. + (faces-sample-overlay): Remove variable. + (describe-face): Insert sample text in the face being described. + +2006-11-04 Martin Rudalics + + * whitespace.el (whitespace-indent-regexp): Make this match any + multiples of eight spaces near the beginning of a line. + (whitespace-buffer): Use `remove-overlays' instead of + `whitespace-unhighlight-the-space' and `overlay-recenter' to + speed up overlay handling. + (whitespace-buffer-leading, whitespace-buffer-trailing): + Make these functions highlight the text removed by + `whitespace-buffer-leading-cleanup' and + `whitespace-buffer-trailing-cleanup' respectively. + (whitespace-buffer-search): Use `with-local-quit'. + Move `format' out of loop to speed up scanning larger buffers. + (whitespace-unhighlight-the-space): Remove `remove-hook' since + that function is never added to a hook. + (whitespace-spacetab-regexp, whitespace-ateol-regexp) + (whitespace-buffer-leading-cleanup) + (whitespace-refresh-rescan-list): Fix docstrings. + +2006-11-03 Ken Manheimer + + * allout.el (allout-during-yank-processing): Cue for inhibiting + aberrance processing during yanks. + (allout-doublecheck-at-and-shallower): Reduce the limit to reduce + the amount of yanked topics that can be aberrant. + (allout-do-doublecheck): Encapsulate this multiply-used recipe in + a function, and supplement with inihibition of doublechecking + during yanks. + (allout-beginning-of-line, allout-next-heading) + (allout-previous-heading, allout-goto-prefix-doublechecked) + (allout-back-to-current-heading, allout-next-visible-heading) + (allout-next-sibling): Use new allout-do-doublecheck function. + (allout-next-sibling): Ensure we made progress when returning + other than nil. + (allout-rebullet-heading): Preserve text property annotations + indicating the text was hidden, if it was. + (allout-kill-line): Remove any added was-hidden annotations. + (allout-kill-topic): Remove any added was-hidden annotations. + (allout-annotate-hidden): Inhibit adding was-hidden text + properties to the undo list. + (allout-deannotate-hidden): New function to remove was-hidden + annotation. + (allout-hide-by-annotation): Use new allout-deannotate-hidden. + (allout-remove-exposure-annotation): Replace by + allout-deannotate-hidden. + (allout-yank-processing): Signal that yank processing is happening + with allout-during-yank-processing. Also, wrap + allout-unprotected's closer to the text changes, for easier + debugging. We need to inhibit-field-text-motion explicitly, in + lieu of the encompassing allout-unprotected. + (outlineify-sticky): Adjust criteria for triggering new outline + decorations to presence or absence of any topics, not just a topic + at the beginning of the buffer. + +2006-11-03 Juanma Barranquero + + * bs.el (bs--show-all, bs--redisplay): + * cus-edit.el (custom-unlispify-menu-entries) + (custom-unlispify-tag-names, custom-prompt-variable): + * expand.el (expand-pos): + * speedbar.el (speedbar-generic-list-tag-p): + * wid-edit.el (widget-image-enable): + * emacs-lisp/checkdoc.el (checkdoc-rogue-space-check-engine): + * emacs-lisp/find-func.el (find-function-noselect) + (find-function, find-variable-noselect, find-variable) + (find-definition-noselect, find-face-definition): + * mail/rmail-spam-filter.el (rsf-scanning-messages-now): + * net/eudc-vars.el (eudc-expansion-overwrites-query): + * progmodes/ada-xref.el (ada-find-in-ali): + * textmodes/flyspell.el (flyspell-check-tex-math-command): + * textmodes/org.el (org-copy-subtree): + * textmodes/table.el (table--row-column-insertion-point-p): + Use "non-nil" in docstrings. + +2006-11-03 Mark Davies + + * sort.el (sort-columns): Set the field separator to tab; on + NetBSD, sort complains if "\n" is used as field separator. + +2006-11-03 NIIMI Satoshi + + * emacs-lisp/pp.el (pp-eval-last-sexp): Evaluate target sexp. + +2006-11-02 Stefan Monnier + + * server.el (server-auth-key): Remove. Replace by a process-property. + (server-start): Don't remove the file of the previous process, but + instead clear out the place for the new file. + (server-start): Set the :auth-key property. + (server-process-filter): Use the :auth-key property. + +2006-11-02 Carsten Dominik + + * textmodes/org.el (org-mode-map): No longer copy + `outline-mode-map' explicitly - this is already done by + `define-derived-mode'. + +2006-11-02 Juanma Barranquero + + * server.el (server-visit-files): Use `when'. + (server-process-filter): When authentication fails, send error + message to client. Wrap `process-send-region' in `ignore-errors' + instead of `condition-case', and remove misleading comment. + +2006-11-01 Juri Linkov + + * simple.el (yank): Doc fix. + +2006-11-01 Stefan Monnier + + * server.el: Try and fit within 80 columns. + (server-start): Make the auth file unreadable by other users. + +2006-10-31 Andreas Seltenreich + + * battery.el (battery-linux-proc-acpi): Prevent range error when + `full-capacity' is 0. + +2006-10-31 Yoni Rabkin Katzenell (tiny change) + + * faces.el (faces-sample-overlay): New defvar. + (faces-sample-overlay): New function to show face sample text. + (describe-face): Use it. + +2006-10-31 Stephen Leake + + * progmodes/ada-stmt.el: Change maintainer, apply + whitespace-cleanup, checkdoc. + (ada-func-or-proc-name): Add doc string. + + * progmodes/ada-prj.el (ada-prj-new): Change maintainer, apply + whitespace-cleanup, checkdoc. Minor improvements to many doc + strings and comments. + (ada-prj-display-page): Change buffer name to more accurately + reflect function. + + * progmodes/ada-xref.el: Change maintainer, apply + whitespace-cleanup, checkdoc. Minor improvements to many doc + strings and comments. Don't look for `gvd' or `ddd' debuggers. + (ada-compile-current): Don't add newlines to commands. + +2006-10-31 Juanma Barranquero + + * server.el: Add support for TCP sockets. + (server-use-tcp, server-host, server-auth-dir): New options. + (server-auth-key): New variable. + (server-ensure-safe-dir): Create nonexistent parent dirs. + Ignore Unix-style file modes on Windows. + (server-start): Crete a TCP or Unix socket according to the value + of `server-use-tcp'. For TCP sockets, create the id/auth file in + `server-auth-dir' directory. + (server-process-filter): Delete process if authentication + fails (which never happens for Unix sockets). + +2006-10-30 David Kastrup + + * subr.el (add-to-list): Don't continue checking if a match has + been found. + +2006-10-30 Chong Yidong + + * tutorial.el: Move defvars to avoid bytecomp warnings. + (tutorial--find-changed-keys): Check if viper-current-state is + bound before using it. + (help-with-tutorial): Check if viper-tutorial is defined before + using it. + +2006-10-30 Lennart Borgman + + * help-fns.el (help-with-tutorial): Move to tutorial.el. + + * tutorial.el: New file. - (help-with-tutorial): Move here from help-fns.el. Added help for - rebound keys. Fixed resume of tutorial. ++ (help-with-tutorial): Move here from help-fns.el. Add help for ++ rebound keys. Fix resume of tutorial. + (tutorial--describe-nonstandard-key, tutorial--sort-keys) + (tutorial--find-changed-keys, tutorial--display-changes) + (tutorial--saved-dir, tutorial--saved-file) + (tutorial--save-tutorial): New functions to support the changes in + help-with-tutorial. + +2006-10-30 Kenichi Handa + + * files.el (revert-buffer): If a unibyte buffer is being reverted + with a coding system for multibyte, set buffer multibyte before + calling insert-file-contents. + +2006-10-30 Stefan Monnier + + * server.el (server-select-display): Use a dummy buffer to detect when + the frame is later used. + (server-select-display): New function. + (server-process-filter): Use it to detect unused temp frames. + +2006-10-29 Stephen Leake + + * progmodes/ada-mode.el: Change maintainer, apply + whitespace-clean, checkdoc. Minor improvements to many doc strings. + (ada-mode-version): New function. + (ada-create-menu): Menu operations are available for all supported + compilers. + +2006-10-29 Lars Hansen + + * net/tramp.el (with-parsed-tramp-file-name): Correct debug spec. + Highlight as keyword. + (tramp-do-copy-or-rename-file): Correct data for 'file-already-exists. + Don't call tramp-method-out-of-band-p for local files. + (tramp-touch): Quote file name. + +2006-10-28 Glenn Morris + + * calendar/calendar.el (cal-html-cursor-month) + (cal-html-cursor-year): Add autoloads for this new package. + (calendar-mode-map): Bind cal-html-cursor-month, cal-html-cursor-year. + +2006-10-28 Anna M. Bigatti + + * calendar/cal-html.el: New file. + +2006-10-28 Chong Yidong + + * emacs-lisp/authors.el (authors-aliases): Update. + +2006-10-27 Chong Yidong + + * version.el (emacs-version): Bump version number to 22.0.90. + +2006-10-26 John W. Eaton + + * progmodes/octave-inf.el (inferior-octave-has-built-in-variables): + New defvar. + (inferior-octave-resync-dirs): Check to see whether Octave has + built-in variables and set inferior-octave-has-built-in-variables. + Check inferior-octave-has-built-in-variables to decide whether to + send commands that set built-in variables or call functions to + change Octave's behavior. + Send "disp (pwd ())" to Octave instead of just "pwd". + (inferior-octave-startup): Send "more off" to Octave instead of + "page_screen_output = 0". + +2006-10-26 Chong Yidong + + * emacs-lisp/cl-indent.el (lisp-indent-259): Indent nil's in the + pattern normally. + +2006-10-26 Nick Roberts + + * bindings.el (mode-line-mode-menu): Remove bindings for global + minor modes (line/column number) as they are on the menubar. + +2006-10-25 Juanma Barranquero + + * term/w32-win.el (x-handle-name-switch): Doc fix. + (w32-standard-fontset-spec): Fix typo in docstring. + + * midnight.el (midnight-buffer-display-time): Doc fix. + (clean-buffer-list-kill-never-buffer-names): Add "*server*". + +2006-10-23 Michael Kifer + - * viper-cmd.el (viper-prefix-arg-com): Define gg as G0. ++ * emulation/viper-cmd.el (viper-prefix-arg-com): Define gg as G0. + - * viper-ex.el (ex-read): Quote file argument. ++ * emulation/viper-ex.el (ex-read): Quote file argument. + + * ediff-diff.el (ediff-same-file-contents): Expand file names. + + * ediff-mult.el (ediff-append-custom-diff): Quote shell file arguments. + +2006-10-22 Martin Rudalics + + * textmodes/flyspell.el (flyspell-check-region-doublons): + Fix last fix. + +2006-10-23 Nick Roberts + + * bindings.el (mode-line-mode-menu): List global minor modes + before local ones. + +2006-10-23 Kim F. Storm + + * subr.el (add-to-list): Optimize if compare-fn is `eq' or `eql'. + (sit-for): If last command was a prefix arg, add the read-ahead + event to unread-command-events as (t . EVENT) so it will be added + to this-command-keys by read-key-sequence. + +2006-10-22 Martin Rudalics + + * textmodes/flyspell.el (flyspell-word): Skip past all previous + whitespace when checking doublons. + (flyspell-check-region-doublons): Fix doublon regexp. + (flyspell-highlight-incorrect-region): Highlight doublons using + flyspell-duplicate face. + + * progmodes/cperl-mode.el (cperl-invalid-face): Fix defcustom. + +2006-10-22 John Wiegley + + * progmodes/python.el (python-use-skeletons): python-mode was + auto-inserting templates (for those with abbrev-mode on), not only + by default -- *but without a configuration variable to disable + it*. This rendered python-mode completely useless for me, so I + have added `python-use-skeletons', which is now off by default. + +2006-10-22 Chong Yidong + + * progmodes/cperl-mode.el (cperl-mode): Don't assume + font-lock-multiline is auto-local (it's not). + (cperl-windowed-init): Ensure that cperl-font-lock-multiline is + initialized before calling cperl-init-faces. + +2006-10-22 Nick Roberts + + * progmodes/gdb-ui.el (gdb-info-stack-custom): Don't try to give + gdb-stack-position a value when there is no fringe. + + * bindings.el (mode-line-mode-menu): Disable auto-revert-tail-mode + indicator if not visiting a file. + +2006-10-20 David Kastrup + + * window.el (kill-buffer-and-window): Fix a bug where an aborted + operation would still cause some window to collapse later. + +2006-10-20 Stefan Monnier + + * vc.el (vc-switch-backend): Try to be more careful with unwanted + side-effect due to mixing various backends's file properties. + + * vc-svn.el (vc-svn-parse-status): Remove unused arg `localp'. + Add arg `filename' instead. Don't set vc-backend if `filename' is set. + Return `filename's status if applicable. Update callers. + +2006-10-19 Kenichi Handa + + * international/kkc.el (kkc-region): When a key sequence is not + defined, append (this-single-command-raw-keys) to + unread-input-method-events. + +2006-10-19 Juanma Barranquero + + * progmodes/ada-mode.el (ada-in-string-p): Doc fix. + +2006-10-19 YAMAMOTO Mitsuharu + + * version.el (emacs-version): Use mac-carbon-version-string. + + * term/macterm.el (res-geometry): Apply 2006-10-18 change for x-win.el. + +2006-10-19 Jan Dj,Ad(Brv + + * select.el (ccl-check-utf-8, string-utf-8-p): New functions (by + Kenichi Handa). + (xselect-convert-to-string): Decline requests for UTF8_STRING if + the selection is not UTF-8. + +2006-10-18 Juanma Barranquero + + * progmodes/ada-mode.el (ada-83-string-keywords) + (ada-last-which-function-line ada-no-auto-case, ada-indent-region) + (ada-which-compiler, ada-align-modes, ada-adjust-case-buffer) + (ada-looking-at-semi-private, ada-get-body-name): + Fix typos in docstrings. + (ada-create-case-exception, ada-create-case-exception-substring): + Fix typos in error messages. + (ada-goto-matching-end, ada-narrow-to-defun): Doc fixes. + +2006-10-18 Jan Dj,Ad(Brv + + * term/x-win.el (res-geometry): Don't set geometry from Xresources + to default-frame-alist if default-frame-alist already contains + width/height. + +2006-10-18 Richard Stallman + + * emacs-lisp/pp.el (pp-eval-expression): Use `X' to read value. + Non-interactive arg is the value, not the expression. + + * simple.el (read-expression-map): Just set it, no defvar. + + * subr.el (insert-for-yank-1): If last inserted char has + properties, mark them as rear-nonsticky. + + * recentf.el (recentf-mode): Doc fix. + + * facemenu.el (facemenu-add-new-face): Defend against symbol + that isn't a face name. + + * dired-aux.el (dired-do-copy): Doc fix. + +2006-10-18 Chong Yidong + + * simple.el (line-move-1): Ignore fields when moving to the + beginning of line to avoid getting point stuck. + +2006-10-18 Martin Rudalics + + * textmodes/flyspell.el (flyspell-word-search-backward): + Set inhibit-point-motion-hooks to avoid looping due to intangibile + text. + +2006-10-16 Richard Stallman + + * help-fns.el (describe-function-1): Special case optimization + for self-insert-command. + +2006-10-16 Kim F. Storm + + * ido.el (ido-reread-directory): Work in `dir' mode too. + +2006-10-15 Martin Rudalics + + * textmodes/table.el: Require 'regexp-opt. + +2006-10-15 Lennart Borgman + + * progmodes/flymake.el (flymake-get-project-include-dirs-imp): + Use shell-quote-argument. + + * shell.el (explicit-bash-args): Likewise. + + * progmodes/ada-xref.el (ada-find-in-src-path): Likewise. + Use grep -E rather than egrep. + +2006-10-15 Micha,Ak(Bl Cadilhac + + * ido.el (ido-exhibit): Allow `-', `_', and trailing `$' in user id. + +2006-10-15 Kim F. Storm + + * filesets.el (filesets-run-cmd--repl-fn): Use shell-quote-argument. + +2006-10-14 Lennart Borgman + + * filesets.el (filesets-cmd-shell-command): Quote buffer-file-name + to protect whitespace and metacharacters from the shell. + +2006-10-13 Giorgos Keramidas (tiny change) + + * apropos.el (apropos-pattern-quoted): Fix a typo in a doc string. + +2006-10-13 Eli Zaretskii + + * subr.el (start-process-shell-command): Doc fix. + +2006-10-13 Andrea Russo (tiny change) + + * info-look.el : Allow [0-9] in + the regexp for Maxima symbols. + +2006-10-13 Stefan Monnier + + * vc-hooks.el (vc-ignore-dir-regexp): Make it into a defcustom. + (vc-find-root): Don't walk higher up than ~. + +2006-10-12 Chong Yidong + + * international/utf-8.el (utf-translate-cjk-load-tables): + Avoid clobbering last-coding-system-used during load. + +2006-10-12 Carsten Dominik + + * textmodes/reftex-global.el (reftex-create-tags-file): + Quote file arguments. + +2006-10-12 Richard Stallman + + * files.el (file-name-history): Add defvar. + (save-some-buffers-action-alist): Improve description strings. + +2006-10-12 Andreas Schwab + + * files.el (auto-mode-alist): Match change log file name also with + a dash before a numeric extension. + +2006-10-11 Ilya Zakharevich + + * progmodes/cperl-mode.el: Merge from upstream, upto version 5.22. + After 5.0: + (cperl-add-tags-recurse-noxs-fullpath): New function (for -batch mode). + + After 5.1: Major edit. Summary of most visible changes: + + - Multiple <. + Copyright message updated. + (cperl-init-faces): Work around a bug in `font-lock'. May slow + facification down a bit. + Misprint for my|our|local for old `font-lock' + "our" was not fontified same as "my|local". + Highlight variables after "my" etc even in + a middle of an expression. + Do not facify multiple variables after my etc + unless parentheses are present. + + After 5.5, 5.6 + (cperl-fontify-syntaxically): after-change hook could reset. + (cperl-syntax-done-to) to a middle of line; unwind to BOL. + + After 5.7: + (cperl-init-faces): Allow highlighting of local ($/). + (cperl-problems-old-emaxen): New variable (for the use of DOCSTRING). + (cperl-problems): Remove fixed problems. + (cperl-find-pods-heres): Recognize #-comments in m##x too. + Recognize charclasses (unless delimiter is \). + (cperl-fontify-syntaxically): Unwinding to safe was done in wrong order. + (cperl-regexp-scan): Update docs. + (cperl-beautify-regexp-piece): Use information got from regexp scan. + + After 5.8: + Major user visible changes: + Recognition and fontification of character classes in RExen. + Variable indentation of RExen according to groups. + + (cperl-find-pods-heres): Recognize POSIX classes in REx charclasses. + Fontify REx charclasses in variable-name face. + Fontify POSIX charclasses in "type" face. + Fontify unmatched "]" in function-name face. + Mark first-char of HERE-doc as `front-sticky'. + Reset `front-sticky' property when needed. + (cperl-calculate-indent): Indents //x -RExen accordning to parens level. + (cperl-to-comment-or-eol): Recognize ends of `syntax-type' constructs. + (cperl-backward-to-noncomment): Recognize stringy `syntax-type' + constructs. Support `narrow'ed buffers. + (cperl-praise): Remove a reservation. + (cperl-make-indent): New function. + (cperl-indent-for-comment): Use `cperl-make-indent'. + (cperl-indent-line): Likewise. + (cperl-lineup): Likewise. + (cperl-beautify-regexp-piece): Likewise. + (cperl-contract-level): Likewise. + (cperl-toggle-set-debug-unwind): New function. + New menu entry for this. + (fill-paragraph-function): Use when `boundp'. + (cperl-calculate-indent): Take into account groups when indenting RExen. + (cperl-to-comment-or-eol): Recognize # which end a string. + (cperl-modify-syntax-type): Make only syntax-table property non-sticky. + (cperl-fill-paragraph): Return t: needed for `fill-paragraph-function'. + (cperl-fontify-syntaxically): More clear debugging message. + (cperl-pod2man-build-command): Check (XEmacs) `Man-filter-list'. + (cperl-init-faces): More complicated highlight even on XEmacs (new). + Merge cosmetic changes from XEmacs. + + After 5.9: + (cperl-1+): Move to before the first use. + (cperl-1-): Likewise. + + After 5.10: + + This code may lock Emacs hard!!! Use at your own risk! + + (cperl-font-locking): New internal variable. + (cperl-beginning-of-property): New function. + (cperl-calculate-indent): Use `cperl-beginning-of-property' + instead of `previous-single-property-change'. + (cperl-unwind-to-safe): Likewise. + (cperl-after-expr-p): Likewise. + (cperl-get-here-doc-region): Likewise. + (cperl-font-lock-fontify-region-function): Likewise. + (cperl-to-comment-or-eol): Do not call `cperl-update-syntaxification' + recursively. + Bound `next-single-property-change' via `point-max'. + (cperl-unwind-to-safe): Bound likewise + (cperl-font-lock-fontify-region-function): Likewise. + (cperl-find-pods-heres): Mark as recursive for `cperl-to-comment-or-eol' + Initialization of `cperl-font-lock-multiline-start' could be + missed if the "main" fontification did not run due to the + keyword being already fontified. + (cperl-pod-spell): Return t from do-one-chunk function. + (cperl-map-pods-heres): Stop when the worker returns nil. + Call `cperl-update-syntaxification'. + (cperl-get-here-doc-region): Call `cperl-update-syntaxification'. + (cperl-get-here-doc-delim): Remove unused function. + + After 5.11: + + The possible lockup of Emacs (introduced in 5.10) fixed. + + (cperl-unwind-to-safe): `cperl-beginning-of-property' won't return nil. + (cperl-syntaxify-for-menu): New customization variable. + (cperl-select-this-pod-or-here-doc): New function. + (cperl-get-here-doc-region): Extra argument. + Do not adjust pos by 1. + + New menu entries + (Perl/Tools): Selection of current POD or HERE-DOC section. + (Debugging CPerl:) backtrace on fontification. + + After 5.12: + (cperl-cached-syntax-table): Use `car-safe'. + (cperl-forward-re): Remove spurious argument SET-ST. + Add documentation. + (cperl-forward-group-in-re): New function. + (cperl-find-pods-heres): Find and highlight (?{}) blocks in RExen + (XXXX Temporary (?) hack is to syntax-mark them as comment). + + After 5.13: + (cperl-string-syntax-table): Make { and } not-grouping + (Sometimes they ARE grouping in RExen, but matching them would only + confuse in many situations when they are not) + (beginning-of-buffer): Replace two occurrences with goto-char... + (cperl-calculate-indent): `char-after' could be nil... + (cperl-find-pods-heres): REx can start after "[" too. + Hightlight (??{}) in RExen too. + (cperl-maybe-white-and-comment-rex): New constant + (cperl-white-and-comment-rex): Likewise. + XXXX Not very efficient, but hard to make + better while keeping 1 group. + + After 5.13: + (cperl-find-pods-heres): $foo << identifier() is not a HERE-DOC. + Likewise for 1 << identifier. + + After 5.14: + (cperl-find-pods-heres): Different logic for $foo .= < + + * dnd.el (dnd-handle-one-url): Fix typo in doc-string. + * help-at-pt.el (scan-buf-move-to-region): Likewise. + * longlines.el (longlines-window-change-function): Likewise. + * simple.el (undo-ask-before-discard): Likewise. + * wid-edit.el (widget-field-prompt-internal) + (widget-documentation-link-p): Likewise. + +2006-10-10 Stefan Monnier + + * progmodes/sh-script.el (sh-get-kw): | is not among the allowed chars + for a keyword. + +2006-10-09 Stefan Monnier + + * newcomment.el (comment-valid-prefix-p): Make the check + more thorough. From an idea by Martin Rudalics . + (comment-indent-new-line): Adjust call. + +2006-10-09 Ken Manheimer + + * allout.el (allout-back-to-current-heading): Base on lower-level + routines to get proper disqualification of aberrant topics. + +2006-10-09 Richard Stallman + + * textmodes/two-column.el (2C-two-columns): Doc fix. + +2006-10-09 Kim F. Storm + + * shell.el (explicit-csh-args, explicit-bash-args): Add comment + about implicit use. + +2006-10-08 Richard Stallman + + * textmodes/two-column.el (2C-two-columns): Doc fix. + +2006-10-08 Reiner Steib + + * files.el: Mark `buffer-read-only' as safe-local-variable. + +2006-10-08 Nick Roberts + + * progmodes/gdb-ui.el (gdb-speedbar-expand-node): + Burp if GUD buffer has been killed. + +2006-10-07 Stefan Monnier + + * completion.el (add-completions-from-c-buffer): + Don't presume an error's second element is a string. + Use looking-at rather than buffer-substring + member. + +2006-10-07 Eli Zaretskii + + * mail/rmail.el (rmail-redecode-body): If the old encoding is + `undecided', call find-coding-systems-region to find a proper + non-trivial encoding. + (rmail-mime-charset-pattern): Allow a TAB between "Content-Type" + and "text/plain". + +2006-10-07 Kevin Ryde + + * textmodes/reftex-vars.el (defgroup reftex): Update home page + url-link. + + * strokes.el (defgroup strokes): Remove invalid url-link. + +2006-10-07 Magnus Henoch + + * autoinsert.el (auto-insert-alist): Doc fix. + +2006-10-07 Johan Bockg,Ae(Brd + + * mouse-sel.el (mouse-insert-selection-internal): + Use insert-for-yank, so that yank handlers are run. + +2006-10-07 Kim F. Storm + + * ido.el (ido-file-extension-aux): Fix comparison. + +2006-10-06 Kim F. Storm + + * ido.el (ido-wide-find-dirs-or-files): Use shell-quote-argument. + +2006-10-05 Juanma Barranquero + + * emacs-lisp/advice.el (ad-remove-advice, ad-parse-arglist) + (ad-make-mapped-call): Use `let', not `let*'. + +2006-10-05 Chong Yidong + + * international/mule-cmds.el (coding-system-change-eol-conversion): + Ensure the coding system is initialized before calling + coding-system-eol-type. + +2006-10-04 Carsten Dominik + + * textmodes/org.el (org-rm-props, org-activate-plain-links) + (org-activate-angle-links, org-activate-dates) + (org-activate-target-links, org-activate-camels) + (org-activate-tags): Add `rear-nonsticky' text property to avoid + textproperty keymaps from being active beyond the end of a line. + (org-unfontify-region): Also remove `rear-nonsticky' property. + +2006-10-04 Kenichi Handa + + * international/code-pages.el (next): Table fixed. + +2006-10-04 Stefan Monnier + + * progmodes/sh-script.el (sh-prev-thing): Remove (forward-char 1) now + that it's been made unnecessary by removing narrowing. + +2006-10-03 Stefan Monnier + + * progmodes/sh-script.el (sh-prev-thing): Massage to untangle the + control flow a bit, simplify another bit, and add comments. + +2006-10-03 David Kastrup + + * help.el (describe-mode): For clicks on mode-line, use "@" + interactive argument to get the major mode of the click instead of + the current buffer. + + * isearch.el (isearch-mouse-2): Use new semantics of `key-binding' + in order to better redirect mouse-2 clicks. Also allow default + bindings to apply. + +2006-10-03 Kim F. Storm + + * emacs-lisp/cl.el (pushnew-internal): Remove defvar. + (pushnew): Fix last change. + +2006-10-03 Denis St,A|(Bnkel (tiny change) + + * ibuf-ext.el (eval, view-and-eval) : + Use the interactive spec of `eval-expression'. + +2006-10-02 Michael Welsh Duggan + + * progmodes/sh-script.el (sh-prev-thing): Fix last change. + +2006-10-02 MIYOSHI Masanori (tiny change) + + * mail/smtpmail.el (smtpmail-try-auth-methods): Fix typo in + 2006-09-28 commit. + +2006-10-02 Kenichi Handa + + * international/code-pages.el (iso-8859-6): Table fixed. + +2006-10-01 Chris Moore + + * dired.el (dired-build-subdir-alist): Fix previous change. + +2006-10-01 Johan Bockg,Ae(Brd + + * simple.el (undo-elt-crosses-region): Fix the inequalities. + +2006-10-01 Stefan Monnier + + * emacs-lisp/find-func.el (find-function-regexp): Don't match + "define-button-type". + + * pcvs.el (cvs-update-header): Fix handling of extra newlines so that + they don't keep accumulating. + +2006-10-01 Bob Rogers (tiny change) + + * ffap.el (ffap-rfc-path): Change the address of the RFC + repository to ftp.rfc-editor.org, as ds.internic.net seems to be gone. + +2006-10-01 Stephen Berman + + * allout.el (allout-expose-topic): Rectify implementation of "+" + spec, so that bodies are not exposed with headlines. + +2006-10-01 Ken Manheimer + + * allout.el (allout-current-depth): Do aberrent check only at or + below doublecheck depth. + (allout-chart-subtree): Make it explicit that LEVELS being nil + means unlimited depth. Drop undocumented support for LEVELS value + t meaning unlimited depth. (This is consistent with + allout-chart-to-reveal, but contrary to allout-show-children, + which needs to use nil to default to depth of 1.) + (allout-goto-prefix-doublechecked): Wrap long docstring line. + (allout-chart-to-reveal): Be explicit in docstring about meaning + of nil LEVELS, and drop support for LEVELS value t. + (allout-show-children): Translate the level spec used by this + routine to that used by allout-chart-subtree and + allout-chart-to-reveal. + (allout-show-to-offshoot): Retry once when stuck, after opening + subtree - improvements in discontinuity handling likely will + enable progress. + +2006-09-30 Chong Yidong + + * wid-edit.el (widget-button-click-moves-point): New variable. + (widget-button-click): If widget-button-click-moves-point is + non-nil, set point after performing the button action. + + * cus-edit.el (custom-mode): Set widget-button-click-moves-point. + +2006-09-30 Martin Rudalics + + * files.el (find-file-existing): Modify to not allow wildcards. + +2006-09-30 Johan Bockg,Ae(Brd + + * simple.el (undo-more): When undo information for the region is + exhausted, say "No further undo information FOR REGION". + +2006-09-30 Michael Welsh Duggan + + * progmodes/sh-script.el (sh-prev-thing): + Take `sh-leading-keywords' into account. + +2006-09-29 Glenn Morris + + * custom.el (defcustom): Doc fix. + + * calendar/calendar.el (european-calendar-style): + Call european-calendar or american-calendar as needed when set. + (diary-view-entries, list-calendar-holidays): Move autoloads + before use. + +2006-09-29 Juri Linkov + + * progmodes/cperl-mode.el (cperl-after-expr-p): Don't move point + to nil if there is no previous property change. + +2006-09-29 Micha,Ak(Bl Cadilhac + + * cus-edit.el (custom-save-all): Switch to emacs-lisp mode before + saving anything to be sure that `forward-sexp' behaves correctly. + +2006-09-29 Chong Yidong + + * simple.el (line-move-finish): Ignore field boundaries if the + initial and final points have the same `field' property. + +2006-09-29 Kim F. Storm + + * ido.el (ido-file-internal): Only bind minibuffer-completing-file-name + to t while calling ido-read-internal. + +2006-09-29 Carsten Dominik + + * textmodes/org.el (org-file-remote-p): Get regexp from list. + (org-archive-subtree): Remove erraneous `]' from character list. + +2006-09-28 Jonathan Yavner + + * ses.el (ses-in-print-area, ses-goto-data, ses-load) + (ses-reconstruct-all): Make undo of "insert row" work by keeping + markers for data-area and parameters-area. + +2006-09-28 Stefan Monnier + + * progmodes/make-mode.el (makefile-mode): Don't disable jit-lock. + + * font-lock.el (font-lock-after-change-function): Refontify next line + as well if end is at BOL. + (font-lock-extend-jit-lock-region-after-change): Be more careful to + only extend the region as much as needed. + +2006-09-28 Richard Stallman + + * comint.el (comint-mode): Bind font-lock-defaults non-nil. + + * subr.el (insert-for-yank-1): Handle `font-lock-face' specially. + + * international/mule.el (after-insert-file-set-coding): + If VISIT, don't let set-buffer-multibyte make undo info. + +2006-09-28 Osamu Yamane (tiny change) + + * mail/smtpmail.el (smtpmail-try-auth-methods): Do not break long + lines in base64-encoded authentication response. + +2006-09-26 Vinicius Jose Latorre + - * progmode/ebnf2ps.el: Doc fix. Implement arrow spacing and scaling. ++ * progmodes/ebnf2ps.el: Doc fix. Implement arrow spacing and scaling. + (ebnf-version): New version 4.3. + (ebnf-arrow-extra-width, ebnf-arrow-scale): New options. + (ebnf-prologue): Adjust PostScript programming. + (ebnf-begin-file, ebnf-insert-ebnf-prologue, ebnf-terminal-dimension1) + (ebnf-repeat-dimension, ebnf-except-dimension): Adjust code. + +2006-09-26 Stefan Monnier + + * jit-lock.el (jit-lock-force-redisplay): Rename from + jit-lock-fontify-again, and undo the mistaken change I've just done. + + * jit-lock.el (jit-lock-fontify-now): Don't fontify the empty text. + (jit-lock-fontify-again): Don't refontify text that's not displayed. + +2006-09-26 Kenichi Handa + + * startup.el (display-splash-screen): Allow a prefix argument. + +2006-09-25 Jason Rumney + + * subr.el (shell-quote-argument): Use DOS logic for Windows + shells with DOS semantics. + +2006-09-24 Richard Stallman + + * progmodes/compile.el (compilation-goto-locus-delete-o): New fn. + (compilation-goto-locus): Use compilation-goto-locus-delete-o + to delete the overlay. Put it on pre-command-hook. + + * emacs-lisp/timer.el (timer-max-repeats): Doc fix. + + * startup.el (fancy-splash-screens, normal-splash-screen): + Call the splash buffer *About GNU Emacs*. + + * simple.el (next-error-highlight, next-error-highlight-no-select): + Default to 0.5. + (yank-excluded-properties): Add `fontified'. + + * font-lock.el (font-lock-compile-keywords): Allow value of + syntax-begin-function to enable paren-column-0 highlighting. + +2006-09-24 Chris Moore + + * dired.el (dired-build-subdir-alist): When file ends in colon, + don't exit the loop, just disregard that file. + +2006-09-24 Chong Yidong + + * simple.el (line-move-finish): Handle corner case for fields in + continued lines. + (line-move-1): Remove flawed test for that case. + +2006-09-24 Ken Manheimer + + * icomplete.el (icomplete-simple-completing-p): Use the correct + name for the new variable, `icomplete-with-completion-tables'. + (file local variables): Remove superfluous setting. + +2006-09-23 Jeff Miller (tiny change) + + * calendar/appt.el (appt-check): Fix typo for appointments just + after midnight. + +2006-09-23 Chong Yidong + + * help.el (describe-key-briefly, describe-key): Don't expect an + extra up event if a down-event is generated by a popup menu. + +2006-09-23 Michal Nazarewicz (tiny change) + + * textmodes/ispell.el (ispell-change-dictionary): Don't check the + local dictionary when changing the global dictionary. + +2006-09-23 Ken Manheimer + + * icomplete.el (icomplete-with-completion-tables): List of + specialized completion tables with which icomplete should + operate. Include the new `internal-complete-buffer', so icomplete + works with interactive buffer-selection. + (icomplete-simple-completing-p): Add acceptance of specialized + completion tables listed in icomplete-with-completion-tables. + +2006-09-23 YAMAMOTO Mitsuharu + + * frame.el (focus-follows-mouse): Set default to nil on Mac. + + * startup.el (command-line): Use `custom-reevaluate-setting' for + `focus-follows-mouse'. + +2006-09-22 Richard Stallman + + * cus-edit.el (custom-buffer-create-internal): In `emacs -q', + explain why Save is not available. + +2006-09-22 Juanma Barranquero + + * woman.el (woman0-so): Use `let*', not `let'. + (woman-horizontal-line): Remove unbalanced parenthesis. + +2006-09-22 Stefan Monnier + + * woman.el: Make sure all the end-of-region markers we use have + a non-nil insertion-type. + (woman0-so): Move things around so we can use copy-marker. + (woman0-roff-buffer, woman2-process-escapes-to-eol, woman2-roff-buffer): + Adjust marker type. + (woman2-process-escapes): Check marker type. + (woman-horizontal-line): Dispense with the use of a marker. + +2006-09-22 Jay Belanger + + * calc/calc-lang.el: Add Greek letters to math-variable-table + property of tex. + +2006-09-22 Chong Yidong + + * files.el (save-some-buffers-action-alist): Display diff in view-mode. + +2006-09-22 Masatake YAMATO + + * add-log.el (add-log-current-defun): Use `forward-sexp' + instead of `forward-word' to pick c++::symbol. + Reported by Guanpeng Xu . + +2006-09-22 Kenichi Handa + + * bindings.el: Fix setting self-insert-command for multibyte + characters in global-map. + +2006-09-21 David Kastrup + + * mouse.el (mouse-posn-property): Fix typo for `event-start' in + doc string. + +2006-09-21 Kenichi Handa + + * language/european.el ("Latin-1"): Add windows-1252 to + coding-priority. + ("German"): Likewise. + +2006-09-21 Kim F. Storm + + * emacs-lisp/cl-macs.el (member*): Use memql instead of complex code. + Suggested by Miles Bader. + + * emacs-lisp/cl.el (pushnew): Rework 2006-09-10 change. Use memql + instead of add-to-list in the simple case. + +2006-09-20 Kenichi Handa + + * isearch.el (isearch-process-search-char): Cancel the previous change. + (isearch-search-string): New function. + (isearch-search): Use isearch-search-string. + (isearch-lazy-highlight-search): Likewise. + +2006-09-20 Vinicius Jose Latorre + + * lpr.el (lpr-page-header-switches): Insert `*' at beginning of doc + string to become an option. + +2006-09-20 Stefan Monnier + + * files.el (find-buffer-visiting): Don't get fooled by a nil inode. + +2006-09-20 Kim F. Storm + + * simple.el (line-move-partial): Call pos-visible-in-window-p with + position t instead of trying both window-end and window-end - 1. + +2006-09-20 Carsten Dominik + + * textmodes/org.el (org-scan-tags): Find end of subtrees also in + hidden trees. + +2006-09-20 David Kastrup + + * mouse.el (mouse-posn-property): Improve doc string. + (mouse-on-link-p): Change buffers for function calls on links. + + * menu-bar.el (clipboard-yank): Bomb out in interactive use if + buffer is read-only. + +2006-09-20 Ken Manheimer + + * allout.el (allout-unprotected): Let inhibit-read-only only when + buffer-read-only isn't set. + (allout-annotate-hidden): Enable topic annotation during copies even + when the buffer is read-only, eg for topic copies. Ensure that the loop + advances, even when the span extends beyond the deletion region. + (allout-toggle-subtree-encryption): Use allout-structure-added-hook + rather than allout-exposure-changed-hook, as a stronger assertion. + (allout-keybindings-list): Add bindings for + allout-copy-line-as-kill and allout-copy-topic-as-kill. + (allout-copy-line-as-kill, allout-copy-topic-as-kill): + Copy wrappers for allout-kill-line and allout-kill-topic. + (allout-listify-exposed): Position correctly to accumulate lines. + +2006-09-19 Chong Yidong + + * simple.el (line-move-1): Escape field boundaries occurring + exactly at point. Update goal column if constrained to a field. + (line-move-finish): Escape field boundaries occurring exactly at point. + +2006-09-19 Stefan Monnier + + * mouse.el (mouse-on-link-p): Tentatively fix last change. + (mouse-drag-vertical-line): Remove unused var `wconfig'. + +2006-09-19 Kim F. Storm + + * help.el (describe-key-briefly, describe-key): Simplify printing + of descriptions by using format and %S. Fix "is undefined" + messages to say "at that spot" for mouse events. + + * simple.el (line-move-partial): Optimize. Try window-line-height + before posn-at-point to get vpos of current line. + +2006-09-18 Michael Kifer + - * viper.el: Bump up version/date of update to reflect the substantial - changes done in August 2006. ++ * emulation/viper.el: Bump up version/date of update to reflect the ++ substantial changes done in August 2006. + - * viper-cmd (viper-next-line-at-bol): Make sure button-at, push-button - are defined. ++ * emulation/viper-cmd (viper-next-line-at-bol): Make sure button-at, ++ push-button are defined. + + * ediff-util.el (ediff-add-to-history): New function. + + * ediff.el: Use ediff-add-to-history instead of add-to-history. + +2006-09-18 Wolfgang Jenkner (tiny change) + + * textmodes/conf-mode.el (conf-space-mode): Doc fix. + Delete duplicate make-local-variable form. + (conf-space-keywords): Add autoload cookie. + Fix typo (`keywords', not `keyword'). + +2006-09-18 Jan Dj,Ad(Brv + + * cus-start.el (all): Rename x-gtk-show-chooser-help-text to + x-gtk-file-dialog-help-text. Rename x-use-old-gtk-file-dialog + to x-gtk-use-old-file-dialog. + +2006-09-18 Richard Stallman + + * wid-edit.el (widget-button-click): Handle non-mouse-motion events + that might come in during mouse tracking. + +2006-09-18 Kim F. Storm + + * simple.el (line-move-partial): Rework 2006-09-15 change to use + new window-line-height function. Further optimize by not calling + pos-visible-in-window-p for window-end when window-line-height + returns useful information. + +2006-09-16 Richard Stallman + + * textmodes/conf-mode.el (conf-mode-map): Use conf-space-keywords cmd. + (conf-space-mode): Don't handle prefix arg. + Delete conf-space-keywords-override code. + Use add-hook. + (conf-space-keywords): New command. + (conf-space-mode-internal): Be careful with imenu-generic-expression. + Delete conf-space-keywords-override code. + (conf-space-keywords-alist): Doc fix. + (conf-space-font-lock-keywords): Doc fix. + (conf-space-keywords-override): Var deleted. + +2006-09-16 Chong Yidong + + * startup.el (fancy-splash-screens): Don't switch to the scratch + buffer; it may not be the next buffer. + +2006-09-16 Romain Francoise + + * saveplace.el (load-save-place-alist-from-file): Use expanded name + in both messages. + +2006-09-16 Slawomir Nowaczyk + + * progmodes/python.el (python-preoutput-filter): + Fix arg order to string-match. + +2006-09-16 Richard Stallman + + * obsolete/fast-lock.el (fast-lock-cache-data): Provide 2nd arg to + font-lock-compile-keywords. + + * font-lock.el (font-lock-compile-keywords): Rename optional arg + to SYNTACTIC-KEYWORDS and reverse the sense. All callers changed. + +2006-09-16 Jan Dj,Ad(Brv + + * cus-start.el (all): Add x-gtk-show-chooser-help-text. + + * select.el (xselect-convert-to-string): If UTF8_STRING is requested + and the data doesn't look like UTF8, send STRING instead. + +2006-09-16 Agust,Am(Bn Mart,Am(Bn + + * textmodes/flyspell.el (flyspell-check-region-doublons): + New function to detect duplicated words. + (flyspell-large-region): Use it. + +2006-09-16 Chong Yidong + + * simple.el (line-move-to-column): Revert 2006-08-03 change. + +2006-09-16 Eli Zaretskii + + * help.el (describe-prefix-bindings): Use let, not let*. + +2006-09-16 Ken Manheimer + + * allout.el (allout-regexp, allout-line-boundary-regexp) + (allout-bob-regexp): Correct grouping and boundaries to fix + backwards traversal. + (allout-depth-specific-regexp, allout-depth-one-regexp): + New versions that exploit \\{M\\} regexp syntax, to avoid geometric or + worse time in allout-ascend. + (allout-doublecheck-at-and-shallower): Identify depth threshold + below which topics are checked for and disqualified by containment + discontinuities. + (allout-hotspot-key-handler): Correctly handle multiple-key + strokes. Remove some unused variables. + (allout-mode-leaders): Clarify that mode-specific comment-start + will be used. + (set-allout-regexp): Correctly regexp-quote allout regexps to + properly accept alternative header-leads and primary bullets with + regexp-specific characters (eg, C "/*", mathematica "(*"). + Include new regular expressions among those configured. + (allout-infer-header-lead-and-primary-bullet): + Rename allout-infer-header-lead. + (allout-recent-depth): Manifest as a variable as well as a function. + (allout-prefix-data): Simplify into an inline instead of a macro, + assuming current match data rather than being explicitly passed + it. Establish allout-recent-depth value as well as + allout-recent-prefix-beginning and allout-recent-prefix-end. + (allout-aberrant-container-p): True when an item's immediate + offspring discontinuously contained. Useful for disqualifying + unintended topic prefixes, likely at low depths. + (allout-goto-prefix-doublechecked): Elaborate version of + allout-goto-prefix which disqualifies aberrant pseudo-items. + (allout-pre-next-prefix): Layer on top of lower-level routines, to + get disqualification of aberrant containers. + (allout-end-of-prefix, allout-end-of-subtree): Disqualify aberrant + containers. + (allout-beginning-of-current-entry): Position at start of buffer + when in container (depth 0) entry. + (nullify-allout-prefix-data): Invalidate allout-recent-* prefix data. + (allout-current-bullet): Strip text properties. + (allout-get-prefix-bullet): Use right match groups. + (allout-beginning-of-line, allout-next-heading): + Disqualify aberrant containers. + (allout-previous-heading): Disqualify aberrant containers, and + change to regular (rather than inline) function, to allow + self-recursion. + (allout-get-invisibility-overlay): Increment so progress is made + when the first overlay is not the sought one. + (allout-end-of-prefix): Disqualify aberrant containers. + (allout-end-of-line): Cycle something like allout-beginning-of-line. + (allout-mode): Make allout-old-style-prefixes (ie, enabling use with + outline.el outlines) functional again. Change the primary bullet + along with the header-lead - level 1 new-style bullets now work. + Engage allout-before-change-handler in mainline Emacs, not just + XEmacs, to do undo handling. + (allout-before-change-handler): Expose undo changes occurring in + hidden regions. Use allout-get-invisibility-overlay instead of + reimplementing it inline. + (allout-chart-subtree): Use start rather than end of prefix in + charts. Use allout-recent-depth variable. + (allout-chart-siblings): Disqualify aberrant topics. + (allout-beginning-of-current-entry): Position correctly. + (allout-ascend): Use new allout-depth-specific-regexp and + allout-depth-one-regexp for linear instead of O(N^2) or worse + behavior. + (allout-ascend-to-depth): Depend on allout-ascend, rather than + reimplementing an algorithm. + (allout-up-current-level): Depend on allout-ascend, rather than + reimplementing an algorithm. Return to start-point if we fail. + (allout-descend-to-depth): Use allout-recent-depth variable + instead of function. + (allout-next-sibling): On traversal of numerous intervening + topics, resort to economical allout-next-sibling-leap. + (allout-next-sibling-leap): Specialized version of + allout-next-sibling that uses allout-ascend cleverly, to depend on + a regexp search to leap large numbers of contained topics, rather + than arbitrarily many one-by-one traversals. + (allout-next-visible-heading): Disqualify aberrant topics. + (allout-previous-visible-heading): Position consistently when + interactive. + (allout-forward-current-level): Base on allout-previous-sibling + rather than (differently) reimplmenting the algorithm. Remove some + unused variables. + (allout-solicit-alternate-bullet): Present default choice stripped + of text properties. + (allout-rebullet-heading): Use bullet stripped of text properties. + Register changes using allout-exposure-change-hook. + Disregard aberrant topics. + (allout-shift-in): With universal-argument, make topic a peer of + it's former offspring. Simplify the code by separating out + allout-shift-out functionality. + (allout-shift-out): With universal-argument, make offspring peers + of their former container, and its siblings. Implement the + functionality here, rather than inappropriately muddling the + implementation of allout-shift-in. + (allout-rebullet-topic): Respect additional argument for new + parent-child separation function. + (allout-yank-processing): Use allout-ascend directly. + (allout-show-entry): Disqualify aberrant topics. + (allout-show-children): Handle discontinuous children gracefully, + extending the depth being revealed to expose them and posting a + message indicating the situation. + (allout-show-to-offshoot): Remove obsolete and incorrect comment. + Leave cursor in correct position. + (allout-hide-current-subtree): Use allout-ascend directly. + Disqualify aberrant topics. + (allout-kill-line, allout-kill-topic): Preserve exposure layout in + a way that the yanks can restore it, as used to happen. + (allout-yank-processing): Restore exposure layout as recorded by + allout-kill-*, as used to happen. + (allout-annotate-hidden, allout-hide-by-annotation): New routines + for preseving and restoring exposure layout across kills. + (allout-toggle-subtree-encryption): Run allout-exposure-change-hook. + (allout-encrypt-string): Strip text properties. + Rearranged order and outline-headings for some of the + miscellaneous functions. + (allout-resolve-xref): No need to quote the error name in the + condition-case handler section. + (allout-flatten): Classic recursive (and recursively intensive, + without tail-recursion) list-flattener, needed by allout-shift-out + when confronted with discontinuous children. + +2006-09-16 Jason Rumney + + * dnd.el (dnd-open-remote-file-function): Use dnd-open-local-file + on ms-windows. + (dnd-open-unc-file): Remove. + (dnd-open-local-file): Mention in doc string that it also handles + remote files if the system natively supports unc file-names. + +2006-09-15 Kim F. Storm + + * help.el (describe-key): Handle C-h k in *Help* buffer; collect + all necessary information about the event before erasing *Help*. + + * simple.el (line-move-partial): Use window-line-visiblity to + quickly check whether last line is partially visible, and only do + the hard (and slow) part in that case. + +2006-09-15 Jay Belanger + + * COPYING: Replace "Library Public License" by "Lesser Public + License" throughout. + +2006-09-15 Jan Dj,Ad(Brv + + * term/x-win.el (x-menu-bar-open): New function for F10. + +2006-09-15 Chong Yidong + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Disallow filenames containing " -" to avoid confusion with libtool + compilation messages. Suggested by Stefan Monnier. + +2006-09-15 David Kastrup + + * mouse-sel.el (mouse-sel-follow-link-p): Use event position + instead of buffer position for `mouse-on-link-p'. + + * mouse.el (mouse-posn-property): New function looking up the + properties at a click position in overlays and text properties in + either buffer or strings. + (mouse-on-link-p): Use `mouse-posn-property' to streamline lookup + of both `follow-link' as well as `mouse-face' properties. + (mouse-drag-track): Check `mouse-on-link-p' on event position, not + buffer position. + + * help.el (describe-key-briefly): When reading a down-event on + mode lines or scroll bar, swallow the following up event, too. + Use the new mouse sensitivity of `key-binding' for lookup. + (describe-key): The same here. + +2006-09-15 Juanma Barranquero + + * play/life.el (life-patterns): Add a few more interesting patterns. + (life-setup): Force `show-trailing-whitespace' to nil. + +2006-09-14 Richard Stallman + + * startup.el (fancy-splash-text): Change text to improve alignment. + (fancy-splash-screens): Don't set non-standard tab width. + Bind cursor-type temporarily, and make it easy to patch to + preserve the splash buffer. + (normal-splash-screen, fancy-splash-tail): Spell out "Meta-x". + (fancy-splash-screens): Display echo-area message explicitly. + Don't set fancy-splash-help-echo. + + * simple.el (line-number-mode): Group mode-line instead of + editing-basics. + (column-number-mode, size-indication-mode): Likewise. + + * faces.el (mode-line-faces): Group mode-line instead of modeline. + + * time.el (display-time): Group mode-line instead of modeline. + + * cus-edit.el (mode-line): Rename from modeline. All uses changed. + +2006-09-14 Chong Yidong + + * startup.el (fancy-splash-text): Move editing instructions to + fancy-splash-head. + (fancy-splash-head): Issue editing instructions. + (fancy-splash-screens): Fixup whitespace. + +2006-09-14 Stefan Monnier + + * bindings.el (mode-line-buffer-identification-keymap): + Remove duplicate line. + +2006-09-14 Micha,Ak(Bl Cadilhac + + * ido.el (ido-ignore-item-p): Allow any kind of functions in + ignore lists. + +2006-09-14 Kim F. Storm + + * jit-lock.el (jit-lock-fontify-again): New function. + (jit-lock-fontify-now): Use it instead of lambda form. + +2006-09-13 Agustin Martin + + * textmodes/flyspell.el (flyspell-word, flyspell-correct-word) + (flyspell-auto-correct-word): Make ispell-filter local to these + functions. Check that ispell-filter has new stuff before calling + ispell-parse-output. + +2006-09-13 Kim F. Storm + + * simple.el (line-move-partial): Optimize. + +2006-09-13 Richard Stallman + + * thingatpt.el (thing-at-point-bounds-of-url-at-point): + Delete spurious backquote. + +2006-09-07 Ryan Yeske + + * net/rcirc.el (rcirc-print): Fix last change. + +2006-09-12 Jay Belanger + + * calc/calc.el (calc-dispatch): Remove unnecessary `sit-for'. + +2006-09-07 Ryan Yeske + + * net/rcirc.el (rcirc-scroll-show-maximum-output): Rename from + rcirc-show-maximum-output. + (rcirc-mode): Remove window-scroll-function hook. + (rcirc-scroll-to-bottom): Remove function. + (rcirc-print): Recenter so point stays at the bottom of the window + if point was already there. + +2006-09-12 Paul Eggert + + * comint.el (comint-exec-1): Set EMACS to the full name of Emacs, + not to "t". + * progmodes/compile.el (compilation-start): Likewise. + * progmodes/idlwave.el (idlwave-rescan-asynchronously): + Don't use expand-file-name on invocation-directory, since this + might mishandle special characters in invocation-directory. + +2006-09-12 Stefan Monnier + + * pcvs-defs.el: Remove * in defcustom's docstrings. + +2006-09-12 Nick Roberts + + * progmodes/compile.el (compilation-directory-properties): + Doc fix for help-echo. + +2006-09-12 Lars Hansen + + * desktop.el (desktop-read): Add comment. + +2006-09-12 Kim F. Storm + + * simple.el (next-error-highlight, next-error-highlight-no-select): + Fix spelling error. + + * subr.el (sit-for): Rework to use input-pending-p and cond. + Return nil input is pending on entry also for SECONDS <= 0. + (while-no-input): Use input-pending-p instead of sit-for. + +2006-09-11 Richard Stallman + + * simple.el (next-error-highlight, next-error-highlight-no-select): + Fix custom type and doc strings. + +2006-09-11 Stefan Monnier + + * diff-mode.el (diff-apply-hunk-to-backup-file): New var. + (diff-apply-hunk): Use it to ask for confirmation. + +2006-09-11 Reiner Steib + + * emacs-lisp/cl.el (pushnew): Add missing `,'. + +2006-09-11 David Kastrup + + * help.el (string-key-binding, describe-key-briefly) + (describe-key): Remove `string-key-binding' and its callers since + `key-binding' already caters for the proper lookup now. + +2006-09-11 Stefan Monnier + + * progmodes/cfengine.el (cfengine-font-lock-syntactic-keywords): Newvar. + (cfengine-mode): Use it. Fix \ syntax to be like /. + + * bindings.el (mode-line-buffer-identification-keymap): + Move initialization into declaration. + +2006-09-10 Kim F. Storm + + * ido.el (ido-edit-input, ido-complete, ido-take-first-match) + (ido-push-dir-first, ido-kill-buffer-at-head, ido-exhibit) + (ido-delete-file-at-head): Pass head of ido-matches through ido-name + in case of merged directories. Reported by Micha,Ak(Bl Cadilhac. + +2006-09-10 Richard Stallman + + * dired-aux.el: Handle errors in recursive copy usefully. + (dired-create-files-failures): New variable. + (dired-copy-file): Remove condition-case. + (dired-copy-file-recursive): Check for errors on all file + operations, and add them to dired-create-files-failures. + Check file file-date-erorr here too. + (dired-create-files): Check dired-create-files-failures + and report those errors too. + + * emacs-lisp/cl.el (pushnew): Use add-to-list when convenient. + + * subr.el (add-to-list): New argument COMPARE-FN. + +2006-09-10 Reiner Steib + + * filecache.el (file-cache-add-directory) + (file-cache-add-directory-list, file-cache-add-file) + (file-cache-add-directory-using-find) + (file-cache-add-directory-using-locate) + (file-cache-add-directory-recursively): Add autoloads. + +2006-09-09 Richard Stallman + + * textmodes/conf-mode.el (conf-space-mode): + Use hack-local-variables-hook instead of calling hack-local-variables. + (conf-space-keywords-override): New variable. + (conf-space-mode-internal): New subroutine. Reinit Font Lock mode. + (conf-space-mode): Always make conf-space-keywords and + conf-space-keywords-override local. + Call conf-space-mode-internal directly as well as via hook. + +2006-09-09 Slawomir Nowaczyk (tiny change) + + * progmodes/python.el (python-font-lock-keywords): Add `self' and other + quasi-keywords. + +2006-09-09 Stefan Monnier + + * progmodes/python.el: Quieten the compiler about hippie-expand vars. + (python-send-string): Be slightly more careful about adding \n. + + * startup.el (normal-splash-screen): Don't display the buffer if we'll + kill it right away anyway. + +2006-09-09 Eli Zaretskii + + * international/codepage.el (cp850-decode-table): Fix a few codes. + (cp858-decode-table): New variable. + +2006-09-09 Toby Allsopp (tiny change) + + * net/ldap.el (ldap-search-internal): Doc fix. + +2006-09-09 Micha,Ak(Bl Cadilhac + + * play/life.el (life-display-generation): Test for input manually if + `sleeptime' is negative or null. + + * lpr.el (lpr-page-header-switches): Page title switch is one of them. + (print-region-1): Substitute `%s' with the page title. + +2006-09-09 Matt Hodges + + * locate.el (locate-current-search): New variable. + (locate): Set buffer local value. Use current buffer if it is + in Locate mode. + (locate-mode): Disable undo here. + (locate-do-setup): Use locate-current-filter from buffer to be killed. + (locate-update): Use locate-current-search and locate-current-filter. + +2006-09-08 David Kastrup + + * desktop.el (desktop-read): When loading a desktop, disable + saving it while the load progresses, and switch off a pending lazy + load by calling `desktop-lazy-abort'. + +2006-08-27 Martin Rudalics + + * window.el (mouse-autoselect-window-timer) + (mouse-autoselect-window-position) + (mouse-autoselect-window-window) + (mouse-autoselect-window-now): New vars. + (mouse-autoselect-window-cancel) + (mouse-autoselect-window-select) + (mouse-autoselect-window-start): New functions. + (handle-select-window): Call `mouse-autoselect-window-start' when + delayed window autoselection is enabled. + + * cus-start.el (mouse-autoselect-window): Handle delayed window + autoselection. + + * emacs-lisp/eldoc.el: Add `handle-select-window' to the set of + commands after which it is allowed to print in the echo area. + +2006-09-08 Richard Stallman + + * textmodes/fill.el (adaptive-fill-regexp): Don't match `(1)' or `1.' + + * mail/rmail.el (rmail-get-new-mail): Say whether all msgs are spam. + (rmail-convert-to-babyl-format): Don't record undo, leave list empty. + + * emacs-lisp/timer.el (timer-create, timer-activate): Doc fixes. + (cancel-timer-internal): Add doc string. + (cancel-function-timers): Doc fix. + (with-timeout-handler, timer-event-last*): Add doc strings. + + * emacs-lisp/bindat.el (bindat-unpack): Doc fix. + + * files.el (risky-local-variable-p): Match ...-bindat-spec. + + * dired.el (dired-log-summary): Add doc string. + + * cus-edit.el (custom-menu-create): Bind deactivate-mark here. + (custom-group-menu-create): Not here. + +2006-09-08 Carsten Dominik + + * textmodes/org.el (org-dblock-write:clocktable): Avoid infinite loop. + +2006-09-08 YAMAMOTO Mitsuharu + + * term/mac-win.el (show-hide-font-panel): New HI command ID symbol. + (mac-apple-event-map): Define its handler. + +2006-09-07 Toby Allsopp (tiny change) + + * net/ldap.el (ldap-search-internal): Handle `auth' key. + +2006-09-07 Magnus Henoch + + * net/rcirc.el (rcirc-activity-string): Don't quote value in case + clause. + +2006-09-07 Micha,Ak(Bl Cadilhac + + * info.el (Info-index): Bind completion-ignore-case. + +2006-09-07 Stefan Monnier + + * progmodes/prolog.el (inferior-prolog-flavor): New var left out of + previous commit. + (inferior-prolog-guess-flavor): New fun left out of previous commit. + (prolog-consult-region-and-go): Don't hard code "*prolog*" and don't + burp in dedicated windows. + (inferior-prolog-self-insert-command): New command. + (inferior-prolog-mode-map): Use it. + +2006-09-07 Reiner Steib + + * international/latexenc.el (latex-inputenc-coding-alist): Add cp858. + + * international/code-pages.el: Add cp858. + +2006-09-07 Jan Dj,Ad(Brv + + * dnd.el: Fix bootstrapping. + +2006-09-07 Jan Dj,Ad(Brv + + * dnd.el (dnd-protocol-alist): Add what url-handler-mode can handle. + (dnd-open-remote-url): New function. + (dnd-open-remote-file-function): Set to dnd-open-remote-url if + not windows-nt. + +2006-09-07 Jason Rumney + + * dnd.el (dnd-open-remote-file-function): New variable. + (dnd-open-unc-file): New function. + (dnd-open-file): Call dnd-open-remote-file-function if set. + +2006-09-06 Daiki Ueno + + * pgg-gpg.el (pgg-gpg-process-region): Encode passphrase with + pgg-passphrase-coding-system rather than locale-coding-system. + * pgg-def.el (pgg-passphrase-coding-system): New user option. + +2006-09-06 Stefan Monnier + + * progmodes/prolog.el: Remove * in docstrings. + (prolog-program-name): Add SWI prolog. + (prolog-mode-menu): New menu. + (prolog-mode): Set comment-add. + (prolog-indent-line): Simplify. Use indent-line-to. + (inferior-prolog-buffer): New var. + (inferior-prolog-run, inferior-prolog-process): New funs. + (run-prolog, switch-to-prolog): Rewrite, using them. + (prolog-consult-region): Use inferior-prolog-buffer. + (inferior-prolog-load-file): New function. + (prolog-mode-map): Add bindings for load-file and switch-to-prolog. + + * textmodes/fill.el (fill-single-word-nobreak-p): Allow breaking before + last word, if it's not the end of the paragraph. + + * files.el (abbreviate-file-name): Don't mistakenly match newlines in + file name. + +2006-09-06 Ralf Angeli + + * frame.el (display-mm-dimensions-alist): New defcustom. + (display-mm-height, display-mm-width): Use it. + +2006-09-06 Simon Josefsson + + * mail/smtpmail.el (smtpmail-starttls-credentials): Doc fix. + +2006-09-06 Nick Roberts + + * progmodes/gdb-ui.el (gdb-var-list-children-regexp) + (gdb-var-list-children-regexp-1): Tweak regexps to catch full + string values. + +2006-09-06 Kim F. Storm + + * simple.el (line-move-partial): New function to do vscrolling for + partially visible images / tall lines. Rewrite based on code + previously in line-move. Simplify backwards vscrolling. + (line-move): Use it. Simplify. + +2006-09-05 Kim F. Storm + + * emulation/cua-base.el (cua--pre-command-handler-1): Rewrite. + +2006-09-05 Chong Yidong + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Process the `gcc-include' after the `gnu' rule. + +2006-09-05 Kim F. Storm + + * ido.el (ido-visit-buffer): Use buffer name if buffer arg is a buffer. + +2006-09-05 Daiki Ueno + + * pgg.el (pgg-clear-string): Alias to clear-string for backward + compatibility. + + * pgg-gpg.el (pgg-gpg-process-region): Avoid display blinking with + inhibit-redisplay; encode passphrase with locale-coding-system. + +2006-09-04 Dan Nicolaescu + + * term/xterm.el (terminal-init-xterm): Add more C-M- bindings. + +2006-09-05 Nick Roberts + + * progmodes/gdb-ui.el (gdb-var-list-children-regexp) + (gdb-var-list-children-regexp): Make type field optional. + + * progmodes/gud.el (gud-speedbar-buttons): Allow for no type + e.g public, protected in C++. + +2006-09-04 John Paul Wallington + + * simple.el (completion-show-help): New defcustom. + (completion-setup-function): Heed it. + +2006-09-04 Dan Nicolaescu + + * term/xterm.el (terminal-init-xterm): Add C-M- bindings. + +2006-09-04 Richard Stallman + + * mail/rmail-spam-filter.el (rsf-scanning-messages-now): Doc fix. + (rsf-min-region-to-spam-list): Doc fix. + (rsf-add-content-type-field): Doc fix. + + * simple.el (kill-region): Explicitly test there is a region. + +2006-09-04 Chong Yidong + + * mail/feedmail.el (feedmail-buffer-to-sendmail): Look for + sendmail in several common directories. + + * mail/sendmail.el (sendmail-program): Moved here from paths.el. + + * paths.el (sendmail-program): Removed. + +2006-09-04 Daiki Ueno + + * pgg-gpg.el (pgg-gpg-process-region): Revert two patches from Satyaki + Das. http://article.gmane.org/gmane.emacs.gnus.general/49947 + http://article.gmane.org/gmane.emacs.gnus.general/50457 + +2006-09-03 Chong Yidong + + * cus-edit.el (custom-group-menu-create): Avoid deactivating the + mark after running the menu filter. + +2006-09-03 Juri Linkov + + * international/quail.el (quail-defrule-internal): Add a check + if a key is a vector. + +2006-09-02 Juri Linkov + + * man.el (Man-topic-history): New variable. + (man): Use it. + + * woman.el (woman-topic-history): Change defvar to defvaralias + for symbol `Man-topic-history'. + + * shell.el (shell-filter-ctrl-a-ctrl-b): Check if + `comint-last-output-start' is a marker by using `markerp' and + check if it has a position by using `marker-position', and use + this position for `goto-char'. + + * international/quail.el (quail-defrule-internal): Add missing + `error' call for null key. + +2006-09-02 Ryan Yeske + - * rcirc.el (rcirc-keywords): New variable. ++ * net/rcirc.el (rcirc-keywords): New variable. + (rcirc-bright-nicks, rcirc-dim-nicks): New variables. + (rcirc-bright-nick-regexp, rcirc-dim-nick-regexp): Remove + variables. + (rcirc-responses-no-activity): New function. + (rcirc-handler-generic): Check for responses in above. + (rcirc-process-command): Add ?: character to arguments of raw + server commands. + (rcirc-format-response-string): Use `rcirc-bright-nicks' and + `rcirc-dim-nicks'. + (rcirc-gray-toggle): Remove unused variable. + (rcirc-print): Remove some tracking logic, which is moved into + markup functions. + (rcirc-activity-types): Was `rcirc-activity-type', now a list of + types. + (rcirc-activity-string): Look for 'keyword in activity-types. + (rcirc-window-configuration-change): Don't erase overlay-arrow + unnecessarily. + (rcirc-add-or-remove): New function. + (rcirc-cmd-ignore): Use it. + (rcirc-message-leader): Remove unused function. + (rcicr-cmd-bright, rcirc-cmd-dim, rcirc-cmd-keyword): New commands. + (rcirc-add-face): New function. + (rcirc-facify): Use rcirc-add-face. + (rcirc-url-regexp): Add parens. + (rcirc-map-regexp): Remove function. + (rcirc-mangle-regexp): Remove function. + (rcirc-markup-text-functions): New variable. + (rcirc-markup-text): New function (replaces `rcirc-mangle-text'). + (rcirc-markup-body-text, rcirc-markup-attributes) + (rcirc-markup-my-nick, rcirc-markup-urls, rcirc-markup-keywords) + (rcirc-markup-bright-nicks): New markup handler functions. + (rcirc-nick-in-message-full-line): New face. + (rcirc-track-nick): Rename from `rcirc-mode-line-nick'. + (rcirc-track-keyword, rcirc-url, rcirc-keyword): New faces. + +2006-09-02 Martin Rudalics + + * cus-start.el (hscroll-margin, hscroll-step) + (mode-line-in-non-selected-windows, mouse-autoselect-window) + (x-use-underline-position-properties): Change version to "22.1" + since they will appear there for the first time. + +2006-09-01 Chong Yidong + + * imenu.el (imenu-update-menubar): Use buffer-chars-modified-tick. + +2006-08-31 Richard Stallman + + * cus-edit.el (custom-save-variables): Slight cleanup. + (Custom-no-edit): Renamed from custom-no-edit. + (Custom-newline): Renamed from custom-newline. + (custom-mode-map): Use new names. + + * emacs-lisp/easy-mmode.el (define-minor-mode): Reference manual + about customization, rather than M-x customize, in the doc string + made for the defcustom. + + * emacs-lisp/trace.el (trace-function-background): Doc fix. + +2006-08-31 Romain Francoise + + * dired-x.el (dired-guess-shell-alist-default): Update. + +2006-08-31 Michael Mauger + + * custom.el (custom-theme-set-variables): Autoload packages before + sorting the variables. + +2006-08-30 Michael Kifer + - * viper-cmd.el (viper-special-read-and-insert-char): Convert events to - chars if XEmacs. ++ * emulation/viper-cmd.el (viper-special-read-and-insert-char): ++ Convert events to chars if XEmacs. + (viper-after-change-undo-hook): Check if undo-in-progress is bound. + +2006-08-30 Stefan Monnier + + * progmodes/python.el (python-eldoc-function): Re-enable quit while + waiting for process. + +2006-08-30 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-string-to-utxt): If adjustment for MacJapanese + results in ASCII-only string, encode original one directly. + +2006-08-29 Romain Francoise + + * startup.el (normal-splash-screen, fancy-splash-screens): + Make buffer read-only and arrange to enter view mode if necessary. + +2006-08-29 Chong Yidong + + * hl-line.el (hl-line): New face. + (hl-line-face): Use it. + + * image-mode.el (image-mode): Fix last fix. + Suggested by Kim F. Storm. + +2006-08-29 Michael Albinus + + Sync with Tramp 2.0.54. + + * net/tramp.el (tramp-convert-file-attributes): Call `eql' instead + of `=', because `tramp-get-remote-gid' might not always return an + integer when expected. + (tramp-register-file-name-handlers): `partial-completion-mode' is + unknown to XEmacs. + (tramp-time-diff): Don't use `floor', it might fail for large + differences. + (tramp-handle-make-auto-save-file-name): For Emacs 21, set + `tramp-auto-save-directory' if unset in order to guarantee unique + auto-save file names. + +2006-08-28 Chong Yidong + + * image-mode.el (image-mode): Display image as text on a terminal. + +2006-08-28 Stefan Monnier + + * progmodes/python.el (python-send-command): Simplify. + (run-python): Don't generate a new buffer unless `new' was specified. + Make sure we send `import emacs' to the proper process. + + * progmodes/python.el (python-send-command): Don't wait for the command + to terminate. Don't fiddle with compilation-parsing-end. + +2006-08-28 Chong Yidong + + * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): + Insert commentary after first line summary. + + * woman.el (woman-follow): New function, based on `man-follow'. + (woman-mode-map): Use it. + + * ibuffer.el (ibuffer-do-sort-by-recency): Perform full update + since ibuffer-do-sort-by-recency does not define a sorter. + +2006-08-28 Kim F. Storm + + * find-dired.el (find-dired): Use shell-quote-argument to properly + escape ( and ) args. Also use it on {} and ; args in default + value of find-ls-option string. + (find-grep-dired): Use shell-quote-argument on {} and ; args. + +2006-08-27 Michael Olson + + * emacs-lisp/tq.el: Small grammar fix in comments. + (tq-enqueue): Check for existence of queue rather than the + head queue item's question, which was a no-op. + (tq-filter, tq-process-buffer): Make sure the process buffer + exists before making it the current buffer. + +2006-08-27 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-apple-event-map): Rename hicommand to hi-command. + (mac-dnd-drop-data): Apply 2006-08-22 change for x-dnd-drop-data. + (special-event-map): Apply 2006-08-16 change for x-win.el. + +2006-08-26 Stefan Monnier + + * progmodes/python.el (python-send-receive): Wait in the + process's buffer so as to check the right buffer-local variables. + +2006-08-25 Stefan Monnier + + * emacs-lisp/checkdoc.el: Remove * in defcustoms. + (defgroup checkdoc): Move to beginning. + + * progmodes/python.el (python-preoutput-skip-next-prompt): New var. + (python-preoutput-continuation): Remove. + (python-preoutput-filter): Simplify correspondingly. + Remove handling of _emacs_ok. Make sure we skip _emacs_out's prompts. + Loop around to catch embedded _emacs_out output. + (run-python): Send the import&print command on a single line. + (python-send-command): Send command&print on a single line. + (python-send-string): Only add double \n if needed. + (python-send-receive): Loop until the result comes. + (python-mode-running): Defvar it. + (python-setup-brm): Remove unused var `menu'. + Only bind py-mode-map and `features' around brm-init. + (python-calculate-indentation): Remove unused var `point'. + (python-beginning-of-defun): Remove unused var `def-line'. + +2006-08-25 Richard Stallman + + * kmacro.el (kmacro-repeat-on-last-key): Doc fix. + +2006-08-25 Michael Kifer + - * viper.el (viper-set-hooks): Use frame bindings for ++ * emulation/viper.el (viper-set-hooks): Use frame bindings for + viper-vi-state-cursor-color. + (viper-non-hook-settings): Don't set default + mode-line-buffer-identification. + - * viper-util.el (viper-set-cursor-color-according-to-state): New fun. ++ * emulation/viper-util.el (viper-set-cursor-color-according-to-state): ++ New fun. + (viper-set-cursor-color-according-to-state) + (viper-get-saved-cursor-color-in-replace-mode) + (viper-get-saved-cursor-color-in-insert-mode): Make conditional on + viper-emacs-state-cursor-color. + - * viper-cmd.el (viper-envelop-ESC-key): Bug fix. ++ * emulation/viper-cmd.el (viper-envelop-ESC-key): Bug fix. + (viper-undo): Use point if undo-beg-posn is nil. + (viper-insert-state-post-command-sentinel, viper-change-state-to-emacs) + (viper-after-change-undo-hook): Don't use + viper-emacs-state-cursor-color by default. + (viper-undo): More sensible positioning after undo. + - * viper-ex.el (ex-splice-args-in-1-letr-cmd): Get rid of caddr. ++ * emulation/viper-ex.el (ex-splice-args-in-1-letr-cmd): Get rid of caddr. + (viper-emacs-state-cursor-color): Default to nil, since this feature + doesn't work well yet. + + * ediff-mult.el (ediff-intersect-directories) + (ediff-get-directory-files-under-revision, ediff-dir-diff-copy-file): + always expand filenames. + +2006-08-24 Stefan Monnier + + * tumme.el: Remove * in defcustoms's docstrings. + +2006-08-24 Chong Yidong + + * emacs-lisp/timer.el (timer-set-idle-time, run-with-idle-timer): + Accept internal time format for SECS arg. + (timer-relative-time): Doc fix. + + * jit-lock.el: "Stealth fontification by requeuing timers" patch, + adapted from Martin Rudalics. + (jit-lock-stealth-repeat-timer, jit-lock-stealth-buffers): New vars. + (jit-lock-mode): Create jit-lock-stealth-repeat-timer. + (jit-lock-stealth-fontify): Reschedule as a idle timer instead of + using sit-for. + +2006-08-24 Francesc Rocher + + * cus-start.el (all): Add `overline-margin' and + `x-underline-at-descent-line'. + +2006-08-24 Kim F. Storm + + * progmodes/grep.el (grep-find-use-xargs): Use explicit value `exec' + to mean "use find -exec"; nil now unambiguously means auto-detect. + (grep-compute-defaults): Set grep-find-use-xargs to `exec' if not `gnu'. + Use shell-quote-argument to build grep-find-command and + grep-find-template. + (rgrep): Use shell-quote-argument to properly quote arguments to find. + Reported by Tom Seddon. + +2006-08-23 Chong Yidong + + * startup.el (fancy-splash-head): Give instructions for dismissing + the splash screen for default startup too. + (display-startup-echo-area-message, fancy-splash-screens) + (use-fancy-splash-screens-p): New arg hide-on-input. If nil, show + all splash text at once and keep the splash buffer around. + (command-line-1): Give display-startup-echo-area-message a t arg. + +2006-08-23 Carsten Dominik + + * textmodes/org.el (org-follow-gnus-link): Make sure the dedicated + gnus frame is selected. + +2006-08-23 Nick Roberts + + * progmodes/gdb-ui.el (gdb-starting): Reset gdb-signalled to nil. + +2006-08-22 Kim F. Storm + + * ido.el (ido-set-matches-1): Fix full matching for subdirs. + Add suffix matching for subdirs. + +2006-08-22 Jorgen Schaefer (tiny change) + + * x-dnd.el (x-dnd-drop-data): Don't call goto-char if + mouse-yank-at-point is non-nil. + +2006-08-22 Nick Roberts + + * progmodes/gdb-ui.el (gdb-frame-memory-buffer): Make frame + a bit wider and remove fringes to fit initial output on line. + +2006-08-21 Stefan Monnier + + * frame.el (blink-cursor-end): Only ignore the error we care about. + (blink-cursor-mode): Use blink-cursor-end to simplify the code. + +2006-08-21 Richard Stallman + + * whitespace.el (whitespace-cleanup): Doc fix. + +2006-08-20 Ryan Yeske + + * net/rcirc.el (rcirc-show-maximum-output): New var. + (rcirc-buffer-process): If no buffer argument is supplied, use + current-buffer. + (rcirc-complete-nick): Complete to the last completed nick first. + (rcirc-mode): Preserve the value of `rcirc-urls' across + connections. Setup scroll function. + (rcirc-scroll-to-bottom): New function. + (rcirc-print): Use nick syntax around regexp work. + Notice dim-nicks speaking only if they say our nick. + (rcirc-update-activity-string): Do not show the modeline indicator + if there are no live rcirc processes. + (rcirc-cmd-ignore): Ignore case. + (rcirc-browse-url-at-point): Fix off-by-one error. + +2006-08-20 Stefan Monnier + + * progmodes/python.el: Remove * in defcustom docstrings. + (run-python, python-proc, python-try-complete): Use derived-mode-p. + (python-mode): Set tab-width and indent-tabs-mode. + +2006-08-20 Dave Love + + * progmodes/python.el: Update to Dave Love's latest version. + (python-font-lock-keywords, python-mode): Don't use + font-lock-syntax-table, but match symbol elements explicitly instead. + (python-mode-map): Add help, and a few more key bindings. + (python-skip-comments/blanks): Move out of comments as well. + (python-continuation-line-p): Behave better with unbalanced parens. + (python-blank-line-p): New fun. + (python-open-block-statement-p): Don't use a heuristic. + (python-outdent-p): Better handle blocks-in-the-same-line. + (python-calculate-indentation): Misc improvements. + (python-comment-indent): Remove. + (python-block-pairs): New var. + (python-first-word): New fun. + (python-indentation-levels): Handle more common cases. + (python-indent-line-1): Add `leave' argument. + (python-indent-region): New fun. + (python-skip-out): New fun. + (python-beginning-of-statement, python-end-of-statement): Use it. + (python-next-statement): Return correct count even at eob. + (python-end-of-block): Fix paren-typo. + (python-imenu-create-index): Add module variables. + (run-python): Add `new' arg. + Check we're at a prompt before returning. + (python-send-command): Move to end of buffer. + Wait for prompt to return. + (python-set-proc): New fun. + (python-imports): New var. + (python-describe-symbol): Use it. Adjust to new interface of `ehelp'. + (python-eldoc-function): Try to move out of arg list. + (python-outline-level): Offset by 1. + (python-find-imports): New fun. + (python-symbol-completions): Use python-imports. + (python-module-path, ffap-alist): Add support for ffap. + (python-skeletons, python-mode-abbrev-table, def-python-skeleton) + (python-insert-*, python-default-template, python-expand-template): + Add templates/skeletons. + (python-setup-brm): Support for Bicycle Repair Man. + (python-abbrev-syntax-table): New var. + (python-abbrev-pc-hook, python-pea-hook): New funs. + +2006-08-20 Chong Yidong + + * frame.el (blink-cursor-start): Set timer first. + (blink-cursor-end): Ignore timer cancelling errors. + Suggested by Ken Manheimer. + +2006-08-20 Juanma Barranquero + + * newcomment.el (comment-box): Call `comment-normalize-vars'. + Add autoload cookie. + +2006-08-20 Richard Stallman + + * simple.el (line-number-at-pos): Doc fix. + + * emacs-lisp/timer.el (run-with-idle-timer): Pass t to + timer-activate-when-idle, so timer can run before Emacs becomes + non-idle again. + +2006-08-18 Yoni Rabkin Katzenell (tiny change) + + * whitespace.el (whitespace-cleanup-internal): New optional arg + REGION-ONLY. If it's non-nil, modify the message to the user + accordingly. + (whitespace-cleanup-region): Call whitespace-cleanup-internal with + a non-nil argument. + +2006-08-18 Gustav H,Ae(Bllberg (tiny change) + + * rect.el (spaces-string): Simplify and add doc string. + +2006-08-17 Romain Francoise + + * progmodes/gdb-ui.el (gdb-edit-locals-value): Balance parens. + +2006-08-17 Richard Stallman + + * compare-w.el (compare-windows): lambda's take an arg and pass + it to compare-windows-skip-whitespace. + +2006-08-17 Martin Rudalics + + * jit-lock.el (jit-lock-fontify-now): Protect the modified status of + the right buffer. + +2006-08-17 Stefan Monnier + + * pcvs-parse.el (cvs-parse-table): Accept the new `...' format for + removed files. + +2006-08-17 Nick Roberts + + * progmodes/gdb-ui.el (gdb-locals-watch-map) + (gdb-locals-watch-map-1): Suppress keymap first. + (gdb-edit-locals-map-1): New variable. + (gdb-edit-locals-value): New function. + (gdb-stack-list-locals-handler): Use them. + +2006-08-16 Stefan Monnier + + * mouse.el (global-map): Allow yanking with mouse-2 at a spot whose + cursor would normally be drawn in the fringe. + + * font-lock.el (font-lock-extend-region-wholelines): Fix up typo. + Reported by Martin Rudalics . + +2006-08-16 Richard Stallman + + * term/x-win.el (x-clipboard-yank): Specify * in interactive spec. + (special-event-map): Process drag-n-drop events this way. + + * simple.el (move-beginning-of-line): Test whether fields + would prevent motion back to line's first visible character. + If so, stop where the fields would stop the motion. + + * newcomment.el (comment-indent): Fully update INDENT + before checking to see if it will change the text. + + * cus-edit.el (custom-newline): New function. + (custom-mode-map): Bind newline to custom-newline. + + * compare-w.el (compare-windows): Factor compare-ignore-whitespace + into ignore-whitespace. + Check each buffer for its skip-function. + Handle compare-windows-skip-whitespace special-case test + by returning t from default skip function. + +2006-08-15 Carsten Dominik + + * textmodes/org.el (org-clock-special-range) + (org-clock-update-time-maybe): New functions. + (org-stamp-time-of-day-regexp): Allow weekday to be of word chars, + not only a-z. + (org-agenda-get-blocks): Allow multiple blocks per headline. + (org-timestamp-change): Call `org-clock-update-time-maybe'. + (org-export-html-title-format) + (org-export-html-toplevel-hlevel): New options. + (org-export-language-setup): Add support for Czech. + (org-mode, org-insert-todo-heading, org-find-visible) + (org-find-invisible, org-invisible-p, org-invisible-p2) + (org-back-to-heading, org-on-heading-p, org-up-heading-all) + (org-show-subtree, org-show-entry, org-make-options-regexp): + Remove compatibility support for old outline-mode. + (org-check-occur-regexp): Funtion removed. + (org-on-heading-p, org-back-to-heading): Made defalias. + (org-set-local): New defsubst. + (org-set-regexps-and-options, org-mode) + (org-set-font-lock-defaults, org-edit-agenda-file-list) + (org-timeline, org-agenda-list, org-todo-list, org-tags-view) + (org-remember-apply-template, org-table-edit-field) + (org-table-edit-formulas, orgtbl-mode, org-export-as-ascii) + (org-set-autofill-regexps): Use `org-set-local'. + (org-table-eval-formula): Fix bug with parsing of display flags. + +2006-08-15 Nick Roberts + + * progmodes/gdb-ui.el (gdb-info-stack-custom): Indicate selected + frame with fringe arrow. Suggested by Simon Marshall + . + (gdb-stack-position): New variable. + (gdb-starting, gdb-exited): Reset gdb-stack-position to nil. + (gdb-frames-mode): Set gdb-stack-position to nil. + Add to overlay-arrow-variable-list + (gdb-reset): Delete gdb-stack-position from above list. + +2006-08-14 Jan Dj,Ad(Brv + + * term/x-win.el (menu-bar-edit-menu): Disable paste if buffer is + read only. + +2006-08-13 Romain Francoise + + * cus-theme.el (customize-create-theme) + (custom-theme-visit-theme): End `y-or-n-p' prompt with a space. + + * filesets.el (filesets-add-buffer): Ditto. + + * pcvs.el (cvs-change-cvsroot): Ditto. + +2006-08-13 Nick Roberts + + * progmodes/gdb-ui.el (gdb-frame-separate-io-buffer) + (gdb-use-separate-io-buffer, menu): Avoid using `inferior' in text. + (gdb-memory-mode, gdb-locals-watch-map): Don't quote lambda + expressions. + (gdb-info-breakpoints-custom): Use gdb-breakpoint-regexp. + Only search till end of line. + Add face to function names in case of no filename. + Add face to variable names of watchpoints. + +2006-08-12 Robert Thorpe (tiny change) + + * cus-start.el : Move to the `indent' + customization group. + +2006-08-12 Ken Manheimer + + * allout.el (allout-prior-bindings, allout-added-bindings): + Remove, after long deprecation. + (allout-beginning-of-line-cycles, allout-end-of-line-cycles): + Add customization vars controlling allout-beginning-of-line and + allout-end-of-line conveniences. + (allout-header-prefix, allout-use-mode-specific-leader) + (allout-use-mode-specific-leader, allout-mode-leaders): + Revise docstrings. + (allout-infer-header-lead): Change to be an alias for + allout-infer-header-lead-and-primary-bullet. + (allout-infer-header-lead-and-primary-bullet): New version of + allout-infer-header-lead which assigns the primary bullet to the + same as the header lead, when its being changed. + (allout-infer-body-reindent): Apply regexp-quote instead of + unconditionally prepending "\\", so that all literal + allout-header-prefix and allout-primary-bullet strings are + properly handled. + (allout-add-resumptions): Add optional qualifier for extending or + appending to existing values, rather than replacing them. + (allout-view-change-hook): Clarify docstring. + (allout-exposure-change-hook): Take explicit arguments, via + run-hook-with-args. + (allout-structure-added-hook) + (allout-structure-deleted-hook) + (allout-structure-shifted-hook): New hooks analogous to + allout-exposure-change-hook for other kinds of structural outline + edits. + (allout-encryption-plaintext-sanitization-regexps): New encryption + customization variable, by which cooperating modes can provde + massage of the plaintext without actually being passed it. + (allout-encryption-ciphertext-rejection-regexps) + (allout-encryption-ciphertext-rejection-ceiling): New encryption + customization variables, by which cooperating modes can prohibit + rare but possible ciphertext patterns from fouling their + operation, with actually being passed the ciphertext. + (allout-mode): Run activation and deactivation hooks after the + minor-mode variable has been toggled, to clarify the mode + disposition. The new encryption ciphertext rejection variable is + used to ensure that the ciphertext does not contain text that + would be recognized as outline structural elements by allout. + Substite allout-beginning-of-line and allout-end-of-line for + conventionall beginning-of-line and end-of-line bindings. + If allout-old-style-prefixes is non-nil, don't nullify it on mode + activation! + (allout-beginning-of-line): Respect `allout-beginning-of-line-cycles'. + (allout-end-of-line): Respect `allout-end-of-line-cycles'. + (allout-chart-subtree): Implement new mode, charting only the + visible items in the subtree, when new 'visible' parameter is non-nil. + (allout-end-of-subtree): Properly handle the last item in the buffer. + (allout-pre-command-business, allout-command-counter): + Increment an advertised counter so that cooperating enhancements can + track revisions of items. + (allout-open-topic): Run allout-structure-added-hook with suitable + arguments. + (allout-shift-in): Run allout-structure-shifted-hook with suitable + arguments. + (allout-shift-out): Fix doubling for negative args and ensure call + of allout-structure-shifted-hook by solely using allout-shift-in. + (allout-kill-line, allout-kill-topic): + Run allout-structure-deleted-hook with suitable arguments. + (allout-yank-processing): Run allout-structure-added-hook with + proper arguments. + (allout-yank): Enclose activity in allout-unprotected. + (allout-flag-region): Run allout-exposure-change-hook with + suitable arguments, instead of making the callee infer the arguments. + (allout-encrypt-string): + Support allout-encryption-plaintext-sanitization-regexps, + allout-encryption-ciphertext-rejection-regexps, and + allout-encryption-ciphertext-rejection-ceiling. Indicate correct + en/de cryption mode in symmetric encryption failure message. + (allout-obtain-passphrase): Use copy-sequence to get a distinct + copy of the passphrase, and don't zero it or we'll corrupt the + stashed copy. + (allout-create-encryption-passphrase-verifier) + (allout-verify-passphrase): Respect the new signature for + allout-encrypt-string. + (allout-get-configvar-values): Convenience for getting a + configuration variable value and handling its absence gracefully. + +2006-08-11 Romain Francoise + + * obsolete/zone-mode.el: Delete. + +2006-08-11 Stefan Monnier + + * textmodes/dns-mode.el (dns-mode): Use before-save-hook. + +2006-08-11 Thien-Thi Nguyen + + * emacs-lisp/bindat.el (bindat-ip-to-string): + Use `format-network-address' if possible. + +2006-08-11 Jan Dj,Ad(Brv + + * x-dnd.el (x-dnd-init-frame): Call x-register-dnd-atom. + +2006-08-10 Chong Yidong + + * emacs-lisp/edebug.el (edebug-recursive-edit): Don't save and + restore unread-command-events here. + (edebug-display): Do it here, to detect sit-for interruptions. + +2006-08-10 Romain Francoise + + * textmodes/dns-mode.el: Alias `zone-mode' to `dns-mode'. + (dns-mode-soa-auto-increment-serial): New user option. + (dns-mode-soa-maybe-increment-serial): New function. + (dns-mode): Add the latter to `write-contents-functions'. + + * obsolete/zone-mode.el: Move to obsolete/ from net/. + Delete autoload cookies. + +2006-08-10 John Wiegley + + * eshell/em-glob.el (eshell-glob-chars-list) + (eshell-glob-translate-alist): Add support for [^g] in character globs. + +2006-08-10 Richard Stallman + + * facemenu.el (facemenu-add-face): Pass frame to facemenu-active-faces. + (facemenu-set-face): Doc fix. + (facemenu-listed-faces): Doc fix. + +2006-08-09 Chong Yidong + + * avoid.el (mouse-avoidance-animating-pointer): New var. + (mouse-avoidance-nudge-mouse): Use it. + (mouse-avoidance-banish): Rename from mouse-avoidance-banish-hook. + (mouse-avoidance-exile): Rename from mouse-avoidance-exile-hook + (mouse-avoidance-fancy): Rename from mouse-avoidance-fancy-hook. + Don't activate if currently animating. All callers changed. + +2006-08-09 John Wiegley + + * calendar/timeclock.el (timeclock-use-elapsed): Added a new + variable, which causes timeclock to report elapsed time worked, + instead of just work remaining. + +2006-08-09 Kenichi Handa + + * international/latexenc.el (latexenc-find-file-coding-system): + Fix for the case that the 2nd element of arg-list is a cons. + +2006-08-08 Chong Yidong + + * info.el (Info-fontify-node): Handle preceding `in' for note + reference hiding rules. + +2006-08-08 Stefan Monnier + + * progmodes/sh-script.el (sh-quoted-subshell): Make sure we don't + mistake a closing " for an opening one. + +2006-08-07 Dan Nicolaescu + + * term/xterm.el (terminal-init-xterm): Add more key bindings. + +2006-08-07 Stefan Monnier + + * complete.el (PC-do-completion): Filter out completions matching + completion-ignored-extensions before checking whether there are + multiple completions. + Don't use `list' unnecessarily when building completion tables. + +2006-08-06 Richard Stallman + + * help.el (describe-mode): Make minor mode list more concise. + +2006-08-05 Chong Yidong + + * bindings.el: Give mode-line-format, mode-line-modes, and + mode-line-position `standard-value' properties. + +2006-08-05 Eli Zaretskii + + * buff-menu.el (list-buffers-noselect): For Info buffers, use + "(file)node" instead of the file name. + +2006-08-05 Richard Stallman + + * faces.el (escape-glyph): Doc fix. + +2006-08-04 Kenichi Handa + + * international/mule-diag.el (describe-font): Improve docstring + and error message. Use frame-parameter (not frame-parameters). + +2006-08-03 Stefan Monnier + + * progmodes/gud.el (gdb-script-font-lock-syntactic-keywords): + Correctly mark the end-of-docstring char. + +2006-08-03 Chong Yidong + + * simple.el (line-move-to-column): Constrain move-to-column to + current field. + +2006-08-03 Stefan Monnier + + * font-lock.el (font-lock-beg, font-lock-end) + (font-lock-extend-region-functions): New vars. + (font-lock-extend-region-multiline) + (font-lock-extend-region-wholelines): New functions. + (font-lock-default-fontify-region): Use them. + (font-lock-extend-jit-lock-region-after-change): Only round up + if font-lock-default-fontify-region will do it as well. + + * font-lock.el (font-lock-extend-after-change-region-function): + Rename from font-lock-extend-region-function. + (font-lock-extend-region): Remove by inlining at call sites. + (font-lock-after-change-function): Don't needlessly round up to a whole + number of lines. + (font-lock-extend-jit-lock-region-after-change): Be more careful about + the boundary conditions and the interactions between the various ways + to extend the region. + +2006-08-02 Stefan Monnier + + * jit-lock.el (jit-lock-fontify-now): Preserve the buffer's + modification status when forcing the second redisplay. + +2006-08-03 Kim F. Storm + + * edmacro.el (edmacro-fix-menu-commands): Ignore switch-frame. + +2006-08-02 Stefan Monnier + + * pcvs-util.el (cvs-get-buffer-create): Obey `noreuse' even if `name' + doesn't look like a file name. + + * complete.el (PC-expand-many-files): Avoid signalling an error when + the current directory doesn't exist. Reported by Micha,Ak(Bl Cadilhac. + +2006-08-02 Andreas Schwab + + * bindings.el (mode-line-format): Simplify reference to vc-mode. + +2006-08-02 Nick Roberts + + * bindings.el (map): Make mode-line-buffer-identification-keymap + before defining propertized-buffer-identification. + +2006-08-01 Richard Stallman + + * bindings.el (mode-line-format): Adjust spacing around vc-mode. + +2006-08-02 Nick Roberts + + * progmodes/gdb-ui.el (gdb-find-source-frame): Make nil the + default value. + (gdb-find-source-frame): New function. + (menu): Add to menu bar. + +2006-08-01 Stefan Monnier + + * font-core.el (font-lock-extend-region-function) + (font-lock-extend-region): Move to font-lock.el. + + * font-lock.el (font-lock-extend-region-function) + (font-lock-extend-region): Move from font-core.el. Simplify. + + * jit-lock.el (jit-lock-fontify-now): Cause a second redisplay + if needed. + (jit-lock-start, jit-lock-end): New dynamic scoped vars. + (jit-lock-after-change-extend-region-functions): New hook. + (jit-lock-after-change): Use it instead of hard-coding font-lock code. + + * font-lock.el (font-lock-extend-jit-lock-region-after-change): New fun. + (font-lock-turn-on-thing-lock): Use it. + + * longlines.el (longlines-show-region): Make it work on read-only + buffers as well. + +2006-08-01 Nick Roberts + + * progmodes/gdb-ui.el (gdb-set-hollow): Check for gud-last-last-frame. + +2006-07-31 Richard Stallman + + * progmodes/vhdl-mode.el (vhdl-speedbar-display-directory) + (vhdl-speedbar-display-projects): Update old obsolete + speedbar variable names. + +2006-07-31 Nick Roberts + + * progmodes/gdb-ui.el (gdb-find-source-frame): New option. + (gdb-stopped): Use it. + + * t-mouse.el (t-mouse-mode): Use set-process-query-on-exit-flag. + +2006-07-29 Chong Yidong + + * loadhist.el (unload-feature): Handle new `(t . SYMBOL)' format + for load-history elements. + +2006-07-29 Eli Zaretskii + + * files.el (convert-standard-filename): For Cygwin, replace + characters not allowed in Windows file names. + (make-auto-save-file-name): Add Cygwin to the list of systems + where the auto-save file name needs to be run through + convert-standard-filename. + +2006-07-29 Lennart Borgman + + * window.el (bw-get-tree): Don't integerp subtree if it's nil. + +2006-07-28 Richard Stallman + + * bindings.el (mode-line-frame-identification) + (propertized-buffer-identification): Centralize the code + to initialize the variable. + + * progmodes/grep.el (grep-default-command): Catch errors from + wildcard-to-regexp. + +2006-07-29 Kim F. Storm + + * progmodes/grep.el (grep-tag-default): New function. + (grep-default-command, grep-read-regexp): Use it. + (grep-read-files): Use car of grep-files-history or grep-files-aliases + as default if nothing else applies. + +2006-07-28 Bill Atkins (tiny change) + + * wdired.el (wdired-change-to-wdired-mode, wdired-change-to-dired-mode): + Throw error if buffer is not in Dired and Wdired mode, respectively. + +2006-07-28 Chong Yidong + + * cus-edit.el (custom-no-edit): Revert 2006-07-27 change, so that + self-insert-command keys don't activate buttons. + (custom-mode-map): Just don't bind "\C-m" to `custom-no-edit'. + +2006-07-29 Nick Roberts + + * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Use different + faces for enable character. + +2006-07-28 Nick Roberts + + * Makefile.in (recompile): Update comment to reflect change + on 2004-04-21. + +2006-07-27 Richard Stallman + + * cus-edit.el (customize-package-emacs-version-alist): Doc fix. + (customize-package-emacs-version): Change msg when pkg has no entry. + (custom-no-edit): On a button, do like widget-button-press. + +2006-07-27 Dan Nicolaescu + + * term/xterm.el (terminal-init-xterm): Fix bindings for C-tab, + S-tab and C-S-tab. + +2006-07-28 Nick Roberts + + * progmodes/which-func.el (which-function): Fix documentation/ + comment typo. + +2006-07-26 Richard Stallman + + * textmodes/ispell.el (ispell-word): If we replace the word, + move point to the end. Insert before deleting. + +2006-07-26 Chong Yidong + + * subr.el (sit-for): Use new SECONDS arg of read-event instead of + a timer. + +2006-07-26 Mathias Dahl + + * tumme.el (tumme-backward-image): Add prefix argument. Add error + when at first image. + (tumme-forward-image): Add prefix argument. Add error when at last + image. + +2006-07-25 Stefan Monnier + + * tabify.el (tabify-regexp): Use more specific regexps. + (tabify): Avoid modifying the buffer unnecessarily. + +2006-07-25 Mathias Dahl + + * tumme.el (tumme-track-original-file): Add `buffer-live-p' check. + (tumme-format-properties-string): Handle empty `buf'. + (tumme-get-comment): Change variable names inside `let'. + Add missing `let' variable that cause font-lock problems. + (tumme-write-comments): Change variable names inside `let'. + Add missing `let' variable that cause font-lock problems. + (tumme-forward-image): Rename from `tumme-forward-char'. + (tumme-backward-image): Rename from `tumme-backward-char'. + +2006-07-25 Masatake YAMATO + + * progmodes/ld-script.el (ld-script-keywords) + (ld-script-font-lock-keywords, ld-script-builtins): Update keywords + and add comments. + +2006-07-25 Nick Roberts + + * progmodes/gdb-ui.el (gdb-set-gud-minor-mode-existing-buffers) + (gdb-resync, gdb-prompt, gdb-starting, gdb-exited, gdb-stopped) + (gdb-set-gud-minor-mode-existing-buffers-1): Use different faces + for status indicator. + +2006-07-24 Richard Stallman + + * xml.el (xml-parse-file): Clean up, and use with-temp-buffer. + + * subr.el (dolist, dotimes): Use interned symbols for locals. + (--dotimes-limit--, --dolist-tail--): New defvars. + (looking-back): Doc fix. + + * replace.el (replace-match-string-symbols): Handle dotted lists. + +2006-07-24 Mathias Dahl + + * tumme.el (tumme-write-tags): Add. + (tumme-write-comments): Add. + (tumme-tag-files): Change to use `tumme-write-tags'. + (tumme-tag-thumbnail): Change to use `tumme-write-tags'. + (tumme-dired-comment-files): Change to use `tumme-write-comments'. + (tumme-save-information-from-widgets): Change to use + `tumme-write-comments' and `tumme-write-tags'. + (tumme-comment-thumbnail): Change to use `tumme-write-comments'. + (tumme-write-tag): Remove. + (tumme-write-comment): Remove. + (tumme-display-previous-thumbnail-original): Remove empty line. + (tumme-widget-list): Add punctuation. + +2006-07-24 Mathias Dahl + + * tumme.el (tumme-line-up): Add an extra check for end of buffer. + +2006-07-24 Daiki Ueno + + * pgg-def.el (pgg-truncate-key-identifier): Truncate the key ID to 8 + letters from the end. Thanks to "David Smith" + and andreas@altroot.de (Andreas V,Av(Bgele). + +2006-07-23 Thien-Thi Nguyen + + * mouse.el (mouse-on-link-p): Doc fix. + +2006-07-23 Nick Roberts + + * emacs-lisp/find-func.el (find-function-search-for-symbol): + Handle "C-h f `". + +2006-07-22 Dan Nicolaescu + + * ibuffer.el (ibuffer-formats): Use left alignment for the mode + column. + +2006-07-22 Matt Hodges + + * textmodes/table.el: Add move-beginning-of-line and + move-end-of-line to Point Motion Only Group. + +2006-07-22 Eric Hanchrow (tiny change) + + * progmodes/delphi.el (delphi-fill-comment): Use save-restriction. + +2006-07-22 Micha,Ak(Bl Cadilhac + + * startup.el (user-mail-address): Initialize from the `EMAIL' + environment variable first. Document this. + (command-line): Ditto. + +2006-07-22 Nick Roberts + + * help-mode.el (help-function-def, help-variable-def) + (help-face-def): Print a message in the minibuffer. + +2006-07-21 Dan Nicolaescu + + * term/xterm.el (terminal-init-xterm): Fix key bindings + syntax. Bind S-return, C-M-., C-TAB, S-TAB and C-S-TAB. + +2006-07-21 Eli Zaretskii + + * dos-w32.el (find-buffer-file-type-coding-system): Support calls + where `(nth 1 command)' is a cons cell. Doc fix. + + * textmodes/po.el (po-find-charset): Doc fix. + +2006-07-21 Ken Manheimer + + * allout.el (allout-unprotected, allout-e-o-prefix-p) + (allout-beginning-of-current-line, allout-end-of-current-line) + (allout-next-visible-heading, allout-open-topic) + (allout-kill-topic, allout-yank-processing, allout-resolve-xref) + (allout-flag-current-subtree, allout-show-to-offshoot) + (allout-hide-current-entry, allout-show-current-branches) + (allout-hide-region-body, allout-old-expose-topic) + (allout-listify-exposed, allout-latex-verbatim-quote-curr-line) + (allout-mark-topic, allout-adjust-file-variable): Enclose scopes + containing `beginning-of-line' and `end-of-line' with + `inhibit-field-text-motion' t. + +2006-07-21 Eli Zaretskii + + * frame.el (focus-follows-mouse): Document that it doesn't have + any effect on MS-Windows. + +2006-07-20 Stefan Monnier + + * progmodes/sh-script.el (sh-quoted-subshell): Further fix last change. + +2006-07-20 Jay Belanger + - * calc.el (calc-previous-alg-entry): Remove variable. ++ * calc/calc.el (calc-previous-alg-entry): Remove variable. + - * calc-aent.el (calc-alg-entry-history, calc-quick-calc-history): ++ * calc/calc-aent.el (calc-alg-entry-history, calc-quick-calc-history): + New variables. + (calc-alg-entry): Use `calc-alg-entry-history'. + (calc-do-quick-calc): Use `calc-quick-calc-history'. + Remove reference to `calc-previous-alg-entry'. + (calcAlg-edit, calcAlg-enter): Remove reference to + `calc-previous-alg-entry'. + (calcAlg-previous): Use `previous-history-element' instead of + `calc-previous-alg-entry'. + (calc-do-alg-entry): Use history when calling `read-from-minibuffer'. + Change keybinding for `calcAlg-plus-minus', add keybindings for + `previous-history-element' and `next-history-element'. + - * calc-rewr.el (calc-match): Remove reference to ++ * calc/calc-rewr.el (calc-match): Remove reference to + `calc-previous-alg-entry'. + - * calc-sel.el (calc-selection-history): New variable. ++ * calc/calc-sel.el (calc-selection-history): New variable. + (calc-enter-selection, calc-sel-mult-both-sides) + (calc-sel-add-both-sides): Use `calc-selection-history'. + - * calc-map.el (calc-get-operator-history): New variable. ++ * calc/calc-map.el (calc-get-operator-history): New variable. + (calc-get-operator): Use `calc-get-operator-history'. + - * calcalg3.el (calc-curve-fit-history): New variable. ++ * calc/calcalg3.el (calc-curve-fit-history): New variable. + (calc-curve-fit): Use `calc-curve-fit-history'. + +2006-07-20 Kenichi Handa + + * international/mule-cmds.el (select-safe-coding-system): Fix the + way of deciding eol-type of the coding system. + +2006-07-20 Alan Mackenzie + + * progmodes/cc-langs.el (c-emacs-variable-inits): New variable. + (c-lang-setvar): New macro. + (c-make-init-lang-vars-fun): Use the initialization forms in + c-emacs-variable-inits in addition to those in c-lang-variable-inits. + (comment-start, comment-end, comment-start-skip): Change these from + c-lang-defvar's to c-lang-setvar's. + + * progmodes/cc-mode.el (c-make-emacs-variables-local): New macro, + which calls make-local-variable on the elements of + c-emacs-variable-inits. + (c-init-language-vars-for): Call this new macro. + +2006-07-19 Stefan Monnier + + * progmodes/compile.el (compilation-error-regexp-alist-alist) : + Try to rule out false positives due to time stamps. + (compilation-mode-font-lock-keywords): Remove rules made redundant + because of the above change. Add `segmentation fault' to the known and + highlighted compilation termination messages. + +2006-07-19 Kim F. Storm + + * progmodes/grep.el (grep-find-ignored-directories): + Add .svn and _darcs to list. + +2006-07-19 Mathias Dahl + + * dired.el (dired-mode-map): Add key binding `C-te' for + `tumme-dired-edit-comment-and-tags'. + + * tumme.el (tumme-display-thumbnail-original-image): Make sure + image display buffer is displayed before call to + `tumme-display-image'. + (tumme-dired-display-image): Make sure image display buffer is + displayed before call to `tumme-display-image'. + (tumme-mouse-display-image): Make sure image display buffer is + displayed before call to `tumme-display-image'. + (tumme-widget-list): Add. + (tumme-dired-edit-comment-and-tags): Add. + (tumme-save-information-from-widgets): Add. + +2006-07-19 Stefan Monnier + + * progmodes/sh-script.el (sh-quoted-subshell): Fix last change. + +2006-07-18 Stefan Monnier + + * progmodes/sh-script.el (sh-font-lock-keywords-1): + Revert inadvertently installed patch hunk. + + * progmodes/compile.el (compilation-find-file): Handle the + cases where the user selects a non-existent file. + +2006-07-18 Stefan Monnier + + * bindings.el (minibuffer-local-map): Rebind TAB so it inserts a \t. + +2006-07-17 Chong Yidong + + * subr.el (sit-for): Just sleep-for if noninteractive. + +2006-07-17 Stefan Monnier + + * emacs-lisp/autoload.el (make-autoload): Use new arg. + + * custom.el (custom-autoload): Add `noset' argument. + (custom-push-theme): Don't autoload the variable, let callers do it. + (custom-theme-set-variables): Autoload the variable if necessary. + + * cus-edit.el (custom-variable-state-set): If the variable was + originally set outside custom, but to the same value as the default, + consider it to be standard. + + * Makefile.in (mh-loaddefs.el): Finish setting up the default empty + file *before* telling Emacs to add the autoloads, in case it fails. + + * progmodes/sh-script.el (sh-quoted-subshell): Don't match escaped `. + Use `cond', push', and `dolist'. + +2006-07-17 Richard Stallman + + * image-mode.el (tar-superior-buffer, archive-superior-buffer): + Add defvars to silence warnings. + +2006-07-17 Chong Yidong + + * progmodes/compile.el (compilation-mode-font-lock-keywords): + Don't highlight "Compiling file" messages as error. + + * dired-aux.el (dired-compress-file): Confirm again if gzipped + file already exists. + +2006-07-16 Thien-Thi Nguyen + + * find-file.el (ff-special-constructs): Doc fix. Also, for C/C++ + entry, don't assign to free var; simply return the extracted filename. + (ff-treat-as-special): Incorporate common preamble from callers. + (ff-other-file-name, ff-find-the-other-file): + Update call to ff-treat-as-special. + + * progmodes/ada-mode.el (ada-mode): Rewrite ff-special-constructs init. + +2006-07-16 Mathias Dahl + + * tumme.el (tumme-get-comment): Fix bug. + +2006-07-16 Stefan Monnier + + * files.el: Remove spurious * in docstrings. + +2006-07-14 Ken Manheimer + + * allout.el (allout-run-unit-tests-on-load): Rectify docstring + grammar. + (allout-beginning-of-current-line): Beware beginning of buffer. + Also, a comment is simplified. + (allout-hotspot-key-handler): Only set allout-post-goto-bullet + when appropriate. (This fix enables use for other than + bullet-hotspot operation.) + (allout-hide-current-subtree): While escalating to sibling-close, + make sure to situate on a topic. + +2006-07-14 Kim F. Storm + + * emulation/cua-base.el (cua-delete-selection) + (cua-toggle-set-mark): New defcustoms. + (cua-rectangle-modifier-key): Add `alt' modifier. + (cua-replace-region): Don't delete if cua-delete-selection is nil. + (cua-set-mark): Don't clear mark if cua-toggle-set-mark is nil. + Suggested by Klaus Zeitler . + + * emulation/cua-rect.el (cua-help-for-rectangle): Add `alt' modifier. + +2006-07-14 Ken Manheimer + + * allout.el: Require 'cl during byte-compilation/interactive load, + for the `assert' macro. + (allout-mode-deactivate-hook): New hook, run when allout mode + deactivates. + (allout-developer): New allout customization subgroup. + (allout-run-unit-tests-on-load): New allout-developer + customization variable, when true allout unit tests are run towards + end of file load/eval. + (allout-inhibit-auto-fill): Disable auto-fill activity even during + auto-fill-mode. + (allout-resumptions): Remove, to be replaced by... + (allout-add-resumptions): Register variable settings to be + reinstated by `allout-do-resumptions'. The settings are made + buffer-local, but the locality/globality of the suspended setting + is restored on resumption. + (allout-do-resumptions): Reinstate all settings suspended using + `allout-add-resumptions'. + (allout-test-resumptions): Unit tests (and intermediate variables) + for resumptions. + (allout-tests-globally-unbound, allout-tests-globally-true) + (allout-tests-locally-true): Intermediate variables for + resumptions unit tests. + (allout-overlay-preparations): Replaces `allout-set-overlay-category'. + (allout-exposure-category): Replaces 'allout-overlay-category variable. + (allout-mode): Use `allout-add-resumptions' and `allout-do-resumptions' + instead of retired `allout-resumptions'. For hook functions, use + `local' parameter so hook settings are created and removed as + buffer-local settings. Revise (resumptions) setting + auto-fill-function so it is set only if already active. The + related fill-function settings are all made in either case, so + that activating auto-fill-mode activity will have the custom + allout-mode behaviors (hanging indent on topics, if configured for it). + Remove all allout-exposure-category overlays on mode deactivation. + (allout-hotspot-key-handler): New function extracted from + `allout-pre-command-business', so the functionality can be used + for other purposes, eg as a binding in an overlay. + (allout-pre-command-business): Use new `allout-hotspot-key-handler'. + (allout-auto-fill): Respect new `allout-inhibit-auto-fill' + customization variable. + (allout-run-unit-tests): Run the (currently quite small) + repertoire of unit tests. Called just before the provide iff user + has customized `allout-run-unit-tests-on-load' non-nil. + +2006-07-14 K,Aa(Broly L$,1 q(Brentey + + * emacs-lisp/authors.el (authors-aliases): Update. + +2006-07-14 Nick Roberts + + * progmodes/gdb-ui.el (gdb-display-buffer): Check for + gdb-source-window. Add dedicated argument. + (gdb-display-separate-io-buffer, gdb-append-to-inferior-io) + (gdb-display-breakpoints-buffer, gdb-display-stack-buffer) + (gdb-display-threads-buffer, gdb-display-memory-buffer) + (gdb-display-locals-buffer): Use it. + + * progmodes/gud.el (gud-display-line): Use gdb-display-buffer. + Set gdb-source-window. + +2006-07-13 Stefan Monnier + + * emacs-lisp/autoload.el (make-autoload): Remove special handling of + minor modes, redundant with the custom-autoload line above. + +2006-07-12 Chong Yidong + + * longlines.el (longlines-post-command-function): Handle open-line too. + +2006-07-12 Richard Stallman + + * progmodes/grep.el (grep-last-buffer): Doc fix. + + * info.el (Info-try-follow-nearest-node): Doc fix. + + * emacs-lisp/edebug.el (edebug-instrument-function): + Err if find-function-noselect gives no position. + + * emacs-lisp/find-func.el (find-function-search-for-symbol): + If can't find definition, return nil for position. + (find-function-do-it): Handle new return value + of find-definition-noselect. + (find-definition-noselect, find-variable-noselect): Doc fix. + (find-function-noselect): Doc fix. + + * help-mode.el (help-variable-def): Handle find-variable-noselect + returning no position. + (help-function-def): Likewise for find-function-search-for-symbol. + (help-face-def): Likewise. + + * help-fns.el (describe-variable): Handle find-variable-noselect + returning no position. + + * files.el (locate-file-completion): Avoid duplicates in result. + + * cus-edit.el (custom-no-edit): New command. + (custom-mode-map): Remap to custom-no-edit instead of + using suppress-keymap. + +2006-07-12 Nick Roberts + + * tumme.el (tumme-create-thumb, tumme-thumbnail-display-external) + (tumme-display-image, tumme-rotate-thumbnail, tumme-rotate-original) + (tumme-set-exif-data, tumme-get-exif-data): Use shell-command-switch. + + * thumbs.el (thumbs-call-convert): Use shell-command-switch. + +2006-07-11 Kim F. Storm + + * ido.el (ido-copy-current-file-name): Use buffer-name if + buffer-file-name is nil. + +2006-07-11 Chong Yidong + + * simple.el (undo-ask-before-discard): Set to nil. + + * vc.el (vc-exec-after): Don't delete process manually. + (vc-print-log): Run log-view-mode in process sentinel inside + inhibit-read-only. Don't shrink window due to timing issues. + + * progmodes/ebrowse.el (ebrowse-display-member-buffer): + Avoid using with-output-to-temp-buffer, which clobbers local vars. + +2006-07-11 Stefan Monnier + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Fix ambiguity introduced by last change. + (compilation-find-file): Move save-excursion to where it may + make sense. Fix a left over `find-file'. + +2006-07-11 Robert J. Chassell + + * textmodes/texinfmt.el (texinfo-format-separate-node): + Insert a string before point, which fits documentation, not after. + (texinfo-multitable-item): In a multitable row, insert any + additional needed @tabs and spaces. + +2006-07-11 Nick Roberts + + * tumme.el (tumme-create-thumb, tumme-thumbnail-display-external) + (tumme-display-image, tumme-rotate-thumbnail, tumme-rotate-original) + (tumme-set-exif-data, tumme-get-exif-data): Use call-process + instead of shell-command. + (tumme-create-thumbnail-buffer, tumme-create-display-image-buffer) + (tumme-display-thumbs, tumme-modify-mark-on-thumb-original-file) + (tumme-display-image, tumme-get-exif-data): Use with-current-buffer. + (tumme-display-properties-format, tumme-dired-insert-marked-thumbs) + (tumme-thumbnail-set-image-description, tumme-gallery-generate) + (tumme-rotate-original, tumme-get-exif-file-name): Fit to 80 columns. + +2006-07-11 Kim F. Storm + + * subr.el (sit-for): Doc fix. Specify normal arg list using fn-form. + Remove special case for seconds < 0. Use (redisplay t) instead. + +2006-07-10 Chong Yidong + + * progmodes/cc-awk.el (c-awk-escaped-nls*): Use eval-and-compile to + avoid compilation error. + + * subr.el (sit-for): New function. + + * play/hanoi.el (hanoi-sit-for): Check sit-for return value. + +2006-07-10 Richard Stallman + + * ldefs-boot.el (edebug): Update page. + +2006-07-10 Kim F. Storm + + * emacs-lisp/authors.el (authors-ignored-files): Ignore changes + to FOR-RELEASE and TODO. + +2006-07-10 Romain Francoise + + * emacs-lisp/authors.el (authors-aliases): Update. + +2006-07-10 Alan Mackenzie + + * progmodes/cc-awk.el, cc-defs.el, cc-fonts.el, cc-langs.el: + * cc-mode.el: Changes to eradicate eval-after-load. + +2006-07-09 Chong Yidong + + * emacs-lisp/helper.el (Helper-help-scroller): Don't signal error + on non-char events. + +2006-07-09 Romain Francoise + + * progmodes/compile.el (compilation-mode-font-lock-keywords): + Don't highlight start/end markers as compilation messages. + + * isearch.el (isearch-yank-line): Let-bind `inhibit-field-text-motion' + to t. + +2006-07-09 Stefan Monnier + + * textmodes/fill.el (fill-region-as-paragraph): Refine last change. + +2006-07-08 Richard Stallman + + * term/x-win.el (x-handle-display): Add doc string. + + * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. + + * subr.el (def-edebug-spec): Move here. + * emacs-lisp/edebug.el (def-edebug-spec): Move to subr.el. + + * imenu.el (imenu-choose-buffer-index): Doc fix. + +2006-07-08 Romain Francoise + + * term/x-win.el (x-display-name): Fix typo. + +2006-07-08 Eli Zaretskii + + * hexl.el (hexl-find-file): Doc fix. + + * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. + +2006-07-07 Chong Yidong + + * term/x-win.el (x-display-name): Doc fix. + +2006-07-07 Stefan Monnier + + * textmodes/fill.el (fill-delete-prefix): Don't ignore excessively + long prefixes. + (fill-region-as-paragraph): Don't round up to a whole line. + (fill-comment-paragraph): Don't include the code-before-the-comment + when calling fill-region-as-paragraph. + + * international/mule.el (make-char): Remove redundancy. + + * emacs-lisp/bytecomp.el (byte-compile-form): The `byte-compile' + property may contain an anonymous function rather than a symbol. + + * pcvs-defs.el (cvs-temp-buffer-name): Fix non-hiddenness. + + * progmodes/compile.el (compilation-error-regexp-alist-alist) : + Use shy regexp. Fix incorrect backref to potentially unmatched group. + + * dirtrack.el (dirtrack-default-directory-function): Remove. + (dirtrack-directory-function): Use file-name-as-directory. + (dirtrack-windows-directory-function): Simplify. + (dirtrack-forward-slash, dirtrack-backward-slash) + (dirtrack-replace-slash): Remove. + (dirtrack-toggle): Adjust comint-preoutput-filter-functions as well. + (dirtrack): Fix wrong parenthesizing; use match-string. + + * progmodes/octave-inf.el: Remove spurious * in docstrings. + (inferior-octave-mode): Only change the buffer-local value of + comint-dynamic-complete-functions. + (inferior-octave-mode-map, inferior-octave-mode-syntax-table): + Move the initialization to the declaration. + (inferior-octave-complete): Remove unused var `filter'. + + * shell.el (shell-mode): Only change the buffer-local value of + comint-dynamic-complete-functions. + +2006-07-07 Carsten Dominik + + * textmodes/org.el (org-agenda-get-todos): Skip subtree also if + entry is skipped because it has been scheduled. + (org-prepare-agenda-buffers): Don't mark buffers as modified when + changing `:org-archived' and `:org-comment' properties. + +2006-07-06 Chong Yidong + + * server.el (server-select-display): Don't make the temp frame + minibuffer-only, in case it's not a temp frame. + (server-process-filter): Don't delete the temp frame if it's the + only one we have on that display. + + * files.el (find-alternate-file): Doc fix. + +2006-07-05 Richard Stallman + + * files.el (abbreviate-file-name): Add save-match-data. + +2006-07-03 Richard Stallman + + * faces.el (read-face-name): Doc fix. + +2006-07-05 Chong Yidong + + * net/goto-addr.el (goto-address): Mark as safe for local evals. + +2006-07-05 Andre Spiegel + + * vc.el (vc-diff-internal): Fix prev change. + +2006-07-05 Thien-Thi Nguyen + + * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Use eval-buffer. + * play/dunnet.el (dun-load-d, dun-eval): Likewise. + +2006-07-04 Stefan Monnier + + * thingatpt.el (symbol-at-point): Don't use `form-at-point' which + fails if the symbol contains chars like ( or '. + (bounds-of-thing-at-point): Remove unused vars `end' and `beg'. + (thing-at-point-bounds-of-url-at-point): Remove unused vars `url' and + `short'. + +2006-07-04 Kenichi Handa + + * international/mule-cmds.el (set-language-info): If LANG-ENV is + the current one, don't call set-language-environment, but call one + of set-language-environment-XXX to make INFO effective now. + (set-language-environment): Call set-language-environment-XXX + functions instead of doing the various setups directly. + (set-language-environment-coding-systems): Delete argument eol-type. + (set-language-environment-input-method) + (set-language-environment-nonascii-translation) + (set-language-environment-charset) + (set-language-environment-fontset) + (set-language-environment-unibyte): New functions. + +2006-07-03 Luc Teirlinck + + * locate.el (locate-update-when-revert): New option. + (locate-update-path): New option (suggested by Michael Albinus). + (locate-prompt-for-command): Whitespace change. + (locate-update): No longer offer to update the locate database by + default. Implement the two new options. + +2006-07-04 Nick Roberts + + * tooltip.el: Move comment about track-mouse... + + * progmodes/gud.el: ...to here. + +2006-07-03 Chong Yidong + + * facemenu.el (facemenu-listed-faces): New var. + (facemenu-unlisted-faces): Variable deleted. + (facemenu-add-new-face): Use facemenu-listed-faces. + + * emulation/viper-init.el, calendar/calendar.el: + * progmodes/make-mode.el: Delete calls to facemenu-unlisted-faces. + +2006-07-03 Carsten Dominik + + * textmodes/org.el (org-mode): Remove no invalid settings for + calc embedded mode. + (org-mode-p): New defsubst. + (org-save-all-org-buffers): New function. + (org-first-headline-recenter): Enclose outline-regexp in group + delimiters. + (org-set-tags): Keep single space after stars. + +2006-07-02 Stefan Monnier + + * window.el (set-window-text-height): Only set window-min-height to + 1 if that's the requested size. + + * diff-mode.el (diff-find-file-name): Obey cvs-pcl-cvs-dirchange-re. + (diff-unified->context, diff-context->unified) + (diff-reverse-direction): Make sure the end marker stays at the end. + (diff-mode): Add the keymap table at the end of docstring. + Use lexical-let rather than constructing a closure manually. + + * files.el (find-file-noselect-1): Remove unused var assignment. + (hack-local-variables-confirm): Print lists of strings as lists of + strings rather than lists of symbols. + (abbreviate-file-name, hack-local-variables-prop-line): + Use match-string. + (hack-one-local-variable): Move `make-local-variable' nearer its use. + (recover-session-finish): Use line-end-position. + +2006-07-02 Michael Albinus + + * net/tramp.el (tramp-handle-shell-command): Preserve current-buffer. + +2006-07-02 Daniel Pfeiffer + + * progmodes/make-mode.el (makefile-macroassign-regex): + Accept preceding keyword. + (makefile-gmake-statements): Reorganize, now that makepp has + "override" and also handle forgotten "override define". + (makefile-makepp-statements): Add new "global", "override export" + and "override global". + +2006-06-30 Juanma Barranquero + + * progmodes/ada-mode.el (ada-which-compiler, ada-mode-menu) + (ada-compile-mouse-goto-error, ada-deactivate-properties) + (ada-no-auto-case): Fix typos in docstrings. + +2006-06-30 Nick Roberts + + * info.el (Info-find-node-2): Search for makeinfo version more + carefully. + +2006-06-29 Carsten Dominik + + * textmodes/org.el (org-prepare-agenda-buffers): + Use `invisible-OK' argument for `org-end-of-subtree'. + (org-export-cleanup-toc-line): Rename from `org-html-cleanup-toc-line'. + (org-beginning-of-item): Fix bug in regular expression for white line. + (org-export-as-html): Enforce space after bullet in plain list items. + (org-set-autofill-regexps): Require space after plain list bullet + for paragraph-start. + (org-ts-regexp3): New constant. + (org-at-timestamp-p): New optional argument ALSO-INACTIVE. + (org-timestamp-up-day, org-timestamp-down-day) + (org-timestamp-change): Work with inactive timestamps. + (org-ts-regexp1): Don't allow brackets in time stamps. + +2006-06-29 Nick Roberts + + * help-mode.el (help-xref-symbol-regexp): Add property as a keyword + for ignoring links. + + * faces.el (read-face-name): Use it. + +2006-06-28 Juri Linkov + + * buff-menu.el (list-buffers-noselect): Compare Info file + with the string "dir" to detect Info directory. + + * complete.el (partial-completion-mode): In lambda for + `choose-completion-string-functions' use full function signature + with 4 args, and move point to the end of the minibuffer only if arg + `mini-p' is non-nil. + +2006-06-28 John Paul Wallington + + * ibuffer.el (ibuffer-mode): Doc fix. + +2006-06-28 Carsten Dominik + + * textmodes/org.el (org-context): New contexts :item-bullet, + :latex-fragment, :latex-preview. + (org-overlays-at, org-overlay-start, org-overlay-end): + New compatibility functions. + (org-inside-LaTeX-fragment-p): More accurate matching, using the + exact regexp that will be used during export. + (org-latex-regexps): New variable. + (org-cdlatex-mode): Improve advice for `texmathp'. + (turn-on-org-cdlatex): New function. + +2006-06-28 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-handle-font-selection): Change keys of + mac-atsu-font-table from strings to numbers. + (mac-ts-caret-position): Use also when cursor-type is nil. + (mac-ts-update-active-input-area): Add Mac OS Classic support. + Relax condition for using overlay strings. + Use mac-ts-caret-position face when cursor-type is nil. + +2006-06-26 Kim F. Storm + + * help.el (view-emacs-news): Declare `res' in the right let* form. + +2006-06-25 Michael Albinus + + * net/rcompile.el (remote-compile): Replace ange-ftp based + implementation by Tramp functions. + Suggested by Marc Abramowitz . + + * net/tramp.el (tramp-unload-tramp): Provide a doc string. + +2006-06-24 Yoshinori Koseki + + * international/fontset.el (setup-default-fontset): Fix a typo in + the "Oriya-Akruti" registry name. + +2006-06-23 Lars Hansen + + * desktop.el (desktop-full-file-name): New function. + (desktop-kill, desktop-save, desktop-remove, desktop-read) + (desktop-revert): Use it. + (desktop-clear, desktop-save, desktop-remove): Add autoload cookie. + (desktop-after-read-hook): Add option list-buffers. + (desktop-locals-to-save): Add tab-width. + (desktop-save-mode, desktop-no-desktop-file-hook, desktop-save-hook): + Fix docstring. + +2006-06-23 Carsten Dominik + + * textmodes/org.el (org-cdlatex-mode-map) + (org-cdlatex-texmathp-advice-is-done): New variables. + (org-cdlatex-mode): New minor mode. + (org-inside-LaTeX-fragment-p, org-try-cdlatex-tab): New functions. + (org-cdlatex-underscore-caret, org-cdlatex-math-modify): New commands. + (org-export-with-archived-trees): New option. + (org-open-file): Remove the call to `convert-standard-filename'. + (org-archive-tag, org-agenda-skip-archived-trees) + (org-cycle-open-archived-trees) + (org-sparse-tree-open-archived-trees): New options. + (org-cycle-hide-archived-subtrees, org-hide-archived-subtrees) + (org-toggle-tag, org-prepare-agenda-buffers, org-agenda-skip): + New functions. + (org-agenda-toggle-archive-tag, org-toggle-archive-tag): New commands. + (org-agenda-mode-map): Add binding of `org-agenda-toggle-archive-tag'. + (org-mode-map): Add binding for `org-toggle-archive-tag'. + (org-timeline, org-agenda-list, org-todo-list, org-tags-view): + Call `org-prepare-agenda-buffers'. + (org-occur, org-scan-tags): Call `org-hide-archived-subtrees'. + (org-file-apps, org-file-apps-defaults-gnu) + (org-file-apps-defaults-macosx, org-file-apps-defaults-windowsnt): + Handle remote files by forcing them to be opened in Emacs. + +2006-06-23 Andre Spiegel + + * vc.el (vc-diff-knows-L): New variable. + (vc-diff-internal): Use it to handle "diff" programs that don't + understand -L. This works automatically, no user action is necessary. + +2006-06-23 Daniel Brockman + + * net/rcirc.el (rcirc-default-user-full-name): Default to + `rcirc-default-user-name' instead of `rcirc-user-name' (which no + longer exists). + (rcirc-process-list): Check `buffer-live-p' before attempting to + switch to a buffer. + +2006-06-23 Ryan Yeske + + * net/rcirc.el (rcirc-mode): Fix initialization of coding systems + based on rcirc-coding-system-alist. + +2006-06-23 Martin Rudalics + + * cus-edit.el (customize-apropos): A better error message. + (top level) : Extend and update the list of + ignored error messages. + +2006-06-23 Michael Ernst + + * complete.el (PC-do-completion): Retain capitalization of user + input, when possible, even if completion-ignore-case is set. + +2006-06-23 Eli Zaretskii + + * generic-x.el (bat-generic-mode): Support .cmd files. + + * dos-w32.el (top level): Use find-file-not-found-functions + instead of the obsolete find-file-not-found-hooks. + +2006-06-22 Kim F. Storm + + * progmodes/grep.el (grep-mode-font-lock-keywords): Correct regexps + to recognize mode name containing submodes, such as Grep/lw. + +2006-06-21 Kim F. Storm + + * simple.el (line-move-1): Check for move-end-of-line instead of + end-of-line when setting temporary-goal-column. + +2006-06-21 Miles Bader + + * play/cookie1.el (cookie): Work properly when there's only one entry. + +2006-06-21 Nick Roberts + + * progmodes/gdb-ui.el (gdb-exited): Ensure overlay arrow gets killed. + (gdb-frame-handler): Generalize frame regexp for templates. + +2006-06-20 Glenn Morris + + * calendar/appt.el (appt-display-format): Default value must be + one of the customize options. + +2006-06-20 Dan Nicolaescu + + * term/xterm.el (terminal-init-xterm): Update key availability info. + Bind C-return. + + * term.el (term-delete-lines, term-insert-lines): Clarify comments. + +2006-06-20 Chong Yidong + + * files.el (hack-local-variables): Run `hack-local-variables-hook' + whether or not a local variables list is defined. + + * msb.el (msb): Move `sit-for' hack here to handle both + "mouse-down and drag" and "mouse-up and select" situations. + (mouse-select-buffer): Move `sit-for' hack to `msb'. + +2006-06-20 Kenichi Handa + + * international/characters.el (word-combining-categories): + Add entries for 2-byte Han characters. + +2006-06-19 Richard Stallman + + * bindings.el (mode-line-format): Save some mode line space. + + * files.el (find-file-noselect): Improve the question wording. + (basic-save-buffer-2): Mask UMASK against 666. + + * mouse.el (mouse-drag-vertical-line-rightward-window): New function. + (mouse-drag-vertical-line): Call it. + + * cus-edit.el (customize-option, customize-option-other-window): + Error if SYMBOL is nil. + +2006-06-19 Carsten Dominik + + * textmodes/org.el: Require noutline, also on XEmacs. + (org-end-of-subtree): Return point. + (org-dblock-start-re, org-dblock-end-re): New constants. + (org-create-dblock, org-prepare-dblock, org-map-dblocks) + (org-dblock-update, org-update-dblock, org-beginning-of-dblock) + (org-update-all-dblocks, org-find-dblock): New functions. + (org-collect-clock-time-entries): New function. + (org-html-handle-time-stamps): Never export CLOCK timeranges. + (org-fixup-indentation): Modify to deal correctly with lines + starting with TAB. Only one argument DIFF now. + (org-demote, org-promote): Call `org-fixup-indentation' with just + one argument, DIFF. + (org-mode): Don't mark buffer as modified when aligning tables. + (org-clock-sum): Don't mark buffer modified when adding time sum + properties. + (org-export-as-html): Add support for a link validation function. + (org-archive-all-done): New function. + (org-archive-subtree): New prefix argument. When set, archive all + done subtrees in this buffer. + (org-remove-clock-overlays) + (org-remove-occur-highlights): Use `org-inhibit-highlight-removal'. + (org-inhibit-highlight-removal): New variable, for dynamic scoping. + (org-put-clock-overlay): Don't swallow last headline character + when displaying overlay. + (org-store-link): Link to `image-mode' with just the file name. + +2006-06-18 Michael Kifer + - * viper-cmd.el (viper-special-read-and-insert-char): ++ * emulation/viper-cmd.el (viper-special-read-and-insert-char): + Use read-key-sequence. + (viper-after-change-undo-hook): Misc enhancements. + (viper-after-change-undo-hook): New hook. + (viper-undo): Use viper-after-change-undo-hook. + (viper-add-newline-at-eob-if-necessary): Widen before making changes. + (viper-next-line-at-bol): If point is on a widget or a button, simulate + clicking on that widget/button. + - * viper.el (viper-mode): Allow a separate cursor color in Emacs state. ++ * emulation/viper.el (viper-mode): Allow a separate cursor color ++ in Emacs state. + - * ediff-diff (ediff-test-patch-utility): Catch errors. ++ * ediff-diff.el (ediff-test-patch-utility): Catch errors. + (ediff-actual-diff-options, ediff-actual-diff3-options): New variables. + (ediff-set-actual-diff-options): New function. + (ediff-reset-diff-options, ediff-toggle-ignore-case): + Use ediff-set-actual-diff-options. + (ediff-extract-diffs): Catch errors. + (ediff-whitespace): Add non-breakable space. + (ediff-same-file-contents): Catch errors. + + * ediff-mult.el (ediff-collect-custom-diffs): + Save coding-system-for-read. + + * ediff-vers.el (ediff-keep-tmp-versions): New variable. + (ediff-vc-internal, ediff-vc-merge-internal): + Use ediff-delete-version-file. + (ediff-delete-version-file): New function. + + * ediff-wind.el (ediff-control-frame-parameters): Set frame fringes. + + * ediff.el (ediff-directories, ediff-directory-revisions) + (ediff-merge-directories, ediff-merge-directories-with-ancestor) + (ediff-directories-internal, ediff-merge-directory-revisions) + (ediff-merge-directory-revisions-with-ancestor) + (ediff-directories3): Use read-directory-name. + +2006-06-18 Ralf Angeli + + * textmodes/tex-mode.el (tex-font-lock-match-suscript): + Remove superfluous part of regexp for brace matching which is handled + by `scan-lists' call. + +2006-06-16 Richard Stallman + + * obsolete/options.el (list-options): Put "obsolete" msg in buffer. + + * files.el (basic-save-buffer-2): For a new precious file, + use the default modes in the return value. + + * facemenu.el (facemenu-color-alist): Doc fix. + + * cus-edit.el (custom-guess-name-alist): Recognize `-flag'. + +2006-06-16 YAMAMOTO Mitsuharu + + * cus-start.el (all): Add mac-ts-script-language-on-focus. + + * term/mac-win.el (mac-text-encoding-ascii): New constant. + (mac-utxt-to-string): Use it. + (mac-ts-update-active-input-area): Use mac-ae-number. + +2006-06-15 Dan Nicolaescu + + * term.el (term-handle-scroll, term-delete-lines) + (term-insert-lines): Fix off by one errors. + +2006-06-15 Katsumi Yamaoka + + * net/tramp.el (tramp-touch): Use UTC to express time. + +2006-06-15 Chong Yidong + + * mail/sendmail.el (mail-send): Search explicitly for + mail-header-separator when checking for corrupted header lines. + +2006-06-15 Nick Roberts + + * progmodes/gdb-ui.el (gdb-same-frame): New option. + (gud-old-arrow, gdb-frame-begin, gdb-printing): New variables. + (gdb-init-1): Initialise them. + (gdb-starting): Reset gdb-printing + (gdb-starting): Save value of gud-overlay-arrow-position. + (gdb-frame-begin): Set gdb-frame-begin, gdb-printing. + (gdb-stopped): Don't look for source if calling procedure e.g "p a ()". + Use gdb-*-gdb-buffer conditionally on gdb-same-frame. + (gdb-frame-gdb-buffer): Keep menu bar, tool bar for GUD buffer. + +2006-06-14 Stefan Monnier + + * pcvs.el (cvs-retrieve-revision): Use decode-coding-inserted-region. + +2006-06-13 Martin J. Reed (tiny change) + + * net/ldap.el (ldap-ldapsearch-args): Default to SASL search. + (ldap-search-internal): Keep error messages, and a regexp fix. + +2006-06-12 Thien-Thi Nguyen + + * files.el (hack-local-variables-confirm): + Display string value using its printed representation. + +2006-06-11 Chong Yidong + + * server.el (server-edit): No-op if no server buffers exist. + +2006-06-11 Robert J. Chassell + + * textmodes/page-ext.el (pages-directory-for-addresses): + Including `pages-directory-address-mode' in the function results + in the message "Buffer in which pages were found is deleted". + +2006-06-10 Carsten Dominik + + * textmodes/org.el (org-agenda-mode-map): Add bindings for + clocking functions. + + (org-agenda-clock-in, org-check-running-clock) + (org-clock-out-if-current, org-remove-clock-overlays) + (org-put-clock-overlay): New functions. + (org-clock-marker, org-clock-file-total-minutes) + (org-clock-overlays): New variables. + (org-clock-display, org-clock-sum, org-clock-cancel) + (org-clock-out, org-clock-in): New commands. + (org-export): New function. + (org-emph-re): New constant. + (org-set-emph-re, org-do-emphasis-faces): New functions. + (org-emphasis-regexp-components, org-emphasis-alist): New options. + (org-set-font-lock-defaults): Call `org-do-emphasis-faces'. + (org-export-html-convert-emphasize): Use the configurable emphasis. + (org-cleaned-string-for-export): Make multiline emphasis visible + to the exporter. New optional argument PARAMETERS. + (org-export-as-html): Specify :emph-multiline parameter to + `org-cleaned-string-for-export'. + +2006-06-10 Richard Stallman + + * help.el (help-for-help-internal): Clean up help text. + +2006-06-10 Andreas Schwab + + * language/ethio-util.el (ethio-fidel-to-java-buffer): Fix quoting + in doc string. + + * progmodes/cperl-mode.el (cperl-short-docs): Likewise. + +2006-06-09 Karl Chen + + * progmodes/make-mode.el (makefile-fill-paragraph): Don't remove + spaces after the comment start. + +2006-06-09 Micha,Ak(Bl Cadilhac + + * play/pong.el (pong-init-buffer): + Fill buffer with spaces instead of ^A. + + * textmodes/ispell.el (ispell-kill-ispell): If ispell has been + launched asynchronously, delete its process instead of being cool. + (ispell-async-processp): Check for `delete-process' existence + instead of `kill-process' one for consistency. + +2006-06-09 Nick Roberts + + * progmodes/gdb-ui.el (gdb-set-gud-minor-mode-existing-buffers-1) + (gdb-prompt, gdb-set-gud-minor-mode-existing-buffers): Show status + in mode line at startup. + +2006-06-08 Kim F. Storm + + * ido.el (ido-take-first-match, ido-push-dir-first): New commands. + (ido-init-completion-maps): Bind them to M-SPC and M-v. + (ido-copy-current-file-name): Repeating C-w inserts whole file name. + (ido-file-internal): Pass full file name to write-file. + (ido-read-internal): Only pop stack elements automatically if they + actually match an existing directory or file name. + +2006-06-07 Kenichi Handa + + * international/mule.el (find-auto-coding): Don't handle the short + name `char-trans'. + + * files.el (hack-local-variables-prop-line) + (hack-local-variables): Cancel the previous change. + +2006-06-06 Jesper Harder + + * ediff-diff.el (ediff-test-utility): Protect against file-error. + +2006-06-06 Chong Yidong + + * diff-mode.el (diff-mode): Set buffer-read-only to t when + diff-default-read-only is non-nil. + (diff-hunk-kill, diff-file-kill, diff-split-hunk) + (diff-refine-hunk): Set inhibit-read-only to t. + + * diff.el (diff-sentinel, diff): Set inhibit-read-only to t when + modifying the *Diff* buffer. + (diff-process-filter): New filter function for diff process that + sets inhibit-read-only to t when modifying the *Diff* buffer. + +2006-06-06 Carsten Dominik + + * textmodes/org.el (org-archive-subtree): Use end-of-subtree as + insertion point and control the number of empty lines. + (org-paste-subtree): Limit the number of empty lines at the end of + the inserted tree. + (org-agenda): Use buffer name of current file for narrowing. + (org-export-as-xml): Command removed. + (org-export-xml-type): Option removed. + (org-mode-map): Call `org-export-as-xoxo' directly. + (org-get-indentation): New optional argument LINE. + (org-fix-indentation, org-remove-tabs): New functions. + (org-export-as-ascii, org-ascii-level-start): Determine and apply + correct indentation for headlines that are converted it items. + (org-skip-comments): Remove table lines that contain narrowing + cookies but no other non-empty fields. + (org-set-tags): Allow groups of mutually exclusive tags. + (org-cmp-time): Sort 24:21 before items without time. + (org-get-time-of-day): Fix the interpretation of 12pm and 12am. + (org-open-at-point): Require double colon also for numbers. + +2006-06-06 Kim F. Storm + + * ido.el (ido-default-file-method, ido-default-buffer-method): + Make choice values consistent with corresponding command names. + (ido-visit-buffer): Update accordingly. Default to selected-window. + +2006-06-06 Nick Roberts + + * progmodes/gud.el (gud-running): Fix doc string. + (gud-menu-map): Use :visible instead fo :enable for debugger test. + (gud-tooltip-modes): Add python-mode. + (gud-tooltip-print-command): Add pdb. Remove perldb. + +2006-06-05 Eli Zaretskii + + * makefile.w32-in (bootstrap, $(lisp)/mh-e/mh-loaddefs.el): + Quote $(EMACS). + +2006-06-05 Richard Stallman + + * faces.el (defined-colors): Doc fix. + +2006-06-05 Thien-Thi Nguyen + + * vc.el (vc-process-filter): Inhibit undo info collection around + call to insert. + (vc-setup-buffer): Likewise for call to erase-buffer. + (vc-do-command): Likewise for call to process-file. + +2006-06-05 Nick Roberts + + * progmodes/gud.el (gud-menu-map): Use a conditional help echo + for gud-go. + (gud-common-init): Other debuggers may trigger error. + +2006-06-05 Kenichi Handa + + * international/mule.el (find-auto-coding): + Handle enable-character-translation in file header. + +2006-06-04 Kim F. Storm + + * emacs-lisp/authors.el (authors-aliases): Add mode aliases. + (authors-fixed-entries): Fix spelling. + (authors-canonical-file-name): Don't report error for wildcards. + + * help.el (view-emacs-news): Rewrite to support new NEWS, + NEWS.major, and NEWS.1-17 file naming. Add more intelligence, + e.g. version 10 matches 1.10, and don't be confused by version 1.1 + being a prefix of 1.12 (etc). A numeric prefix arg also works. + +2006-06-03 Vivek Dasmohapatra + + * progmodes/sh-script.el (sh-quoted-exec): New face for quoted + exec constructs like `foo bar`. + (sh-quoted-subshell): New helper function to search for a possibly + nested subshell (like `` or $()) within a "" quoted string. + (sh-font-lock-keywords-var): Add sh-quoted-exec for Bash. + (sh-apply-quoted-subshell): Flag quote characters inside a + subshell, which is itself already in a quoted region, as + punctuation, since this is the closest to what they actually are. + (sh-font-lock-syntactic-keywords): Add sh-quoted-subshell and + sh-apply-quoted-subshell. + (sh-font-lock-syntactic-face-function): Apply the new face for + text inside `` instead of the old font-lock-string-face. + +2006-06-03 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-ts-active-input-overlay): Add defvar. + (mac-ae-number, mac-ae-frame, mac-ae-script-language) + (mac-bytes-to-text-range, mac-ae-text-range-array) + (mac-ts-update-active-input-buf, mac-split-string-by-property-change) + (mac-replace-untranslated-utf-8-chars, mac-ts-update-active-input-area) + (mac-ts-unicode-for-key-event): New functions. + (mac-handle-toolbar-switch-mode): Use mac-ae-frame. + (mac-handle-font-selection): Use mac-ae-number. + (mac-ts-active-input-buf, mac-ts-update-active-input-area-seqno): + New variables. + (mac-ts-caret-position, mac-ts-raw-text, mac-ts-selected-raw-text) + (mac-ts-converted-text, mac-ts-selected-converted-text) + (mac-ts-block-fill-text, mac-ts-outline-text) + (mac-ts-selected-text, mac-ts-no-hilite): New faces. + (mac-ts-hilite-style-faces): New constant. + (mac-apple-event-map): Bind text input events. + (mac-dispatch-apple-event): Use command-execute instead of + call-interactively. + (global-map): Don't bind mac-apple-event. + (special-event-map): Bind mac-apple-event. + +2006-06-02 Eli Zaretskii + + * makefile.w32-in (EMACS): Remove quotes from the Emacs executable + file name. + (emacs): Enclose the value of $(EMACS) in quotes. + +2006-06-02 Juri Linkov + + * international/mule.el (sgml-html-meta-auto-coding-function): + Remove the condition `(search-forward " + + * files.el (hack-local-variables-prop-line): Ignore `char-trans' + as well as `coding'. + (hack-local-variables): Likewise. + + * international/mule.el (enable-character-translation): + Put permanent-local and safe-local-variable properties. + (find-auto-coding): Handle char-trans: tag. + +2006-06-02 Juri Linkov + + * international/mule.el (sgml-html-meta-auto-coding-function): + Limit the search by the end of the HTML header (if any). + +2006-06-01 Richard Stallman + + * subr.el (with-current-buffer): Doc fix. + +2006-06-02 Masatake YAMATO + + * progmodes/compile.el (compilation-error-regexp-alist-alist::gcov-*): + Almost rewrite. Underlines over all lines of gcov output are too + uncomfortable to read. Suggested by Dan Nicolaescu. + +2006-06-01 Luc Teirlinck + + * progmodes/inf-lisp.el (inferior-lisp-mode): Doc fixes. + + * shell.el (shell-mode): Use shell-mode-map in docstring. + + * comint.el (comint-send-input): Do not add help-echo and + mouse-face to input if `comint-use-prompt-regexp' is non-nil. + +2006-06-01 Jan Dj,Ad(Brv + + * term/x-win.el: Change x-menu-bar-start to menu-bar-open. + +2006-06-01 Nick Roberts + + * progmodes/gdb-ui.el (gdb-look-up-stack): New variable. + (gdb-stopped, gdb-info-stack-custom): If there is no source info + look up the stack and pop up GUD buffer if necessary. + (gdb-frames-select): Remove redundant call to gud-display-frame. + (gdb-info-threads-custom): Keep point at start of buffer. + (gdb-find-file-hook): Make it work for pre-GDB 6.4. + +2006-05-31 Juri Linkov + + * replace.el (query-replace-read-from, query-replace-read-to): + Bind `history-add-new-input' to nil. Call `add-to-history'. + +2006-05-31 Takaaki Ota + + * textmodes/table.el: Convert all HTML tags to lower case for + XHTML compatibility. + +2006-05-31 Masatake YAMATO + + * progmodes/compile.el: + (compilation-error-regexp-alist-alist::gcov-called-line): + Don't put face on `-' lines in gcov file. Suggested by Dan Nicolaescu. + +2006-05-31 Nick Roberts + + * progmodes/gud.el (gud-query-cmdline, gud-common-init): + Revert inadvertent changes made with last commit. + +2006-05-30 Reiner Steib + + * textmodes/flyspell.el (turn-on-flyspell, turn-off-flyspell): + New functions. + + * textmodes/text-mode.el (text-mode-hook): Use turn-on-flyspell. + +2006-05-30 Carsten Dominik + + * textmodes/org.el (org-agenda-highlight-todo): Make sure regexp + only matches in the right place. + (org-upcoming-deadline): New face. + (org-agenda-get-deadlines): Use new face `org-upcoming-deadline'. + (org-export-ascii-underline): Rename constant `org-ascii-underline' + and make it an option. + (org-export-ascii-bullets): New option. + (org-export-as-html): Many changes to emit valid XHTML. + (org-par-open): New variable. + (org-open-par, org-close-par-maybe, org-close-li-maybe): New functions. + (org-html-do-expand, org-section-number): Fix case in `replace-match'. + (org-timeline): Pass `org-timeline-show-empty-dates' to + `org-get-all-dates'. Interpret empty dates returned by + `org-get-all-dates'. + (org-get-all-dates): New argument EMPTY. Add dates without + entries to the list, mark large ranges of empty dates. + (org-point-in-group, org-context): New functions. + +2006-05-30 Nick Roberts + + * progmodes/gud.el (gud-stop-subjob): Make it work in all buffers. + + * progmodes/gdb-ui.el: Move gdb-mouse-toggle-breakpoint-* to + C-mouse-1. Move gdb-mouse-until to mouse-3, gdb-mouse-jump + to C-mouse-3 (for 2 button mice). + (gdb-send): Do the right thing for C-d. + + * speedbar.el (speedbar-detach): Delete. + (speedbar-easymenu-definition-trailer): Remove speedbar-detach as + it breaks things. + (speedbar-reconfigure-keymaps): Always add extra items to pop up menu. + +2006-05-30 Daniel Pfeiffer + + * files.el (auto-mode-alist): Add makepp suffix and optional mk on + Makeppfile. + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Add makepp diagnostic. + +2006-05-29 Richard Stallman + + * window.el (fit-window-to-buffer): Doc fix. + + * help.el (temp-buffer-max-height): Doc fix. + + * subr.el (with-current-buffer): Doc fix. + +2006-05-29 Jan Dj,Ad(Brv + + * term/x-win.el: Bind F10 to menu-bar-start if available. + +2006-05-28 Dan Nicolaescu + + * term.el (term-if-xemacs, term-ifnot-xemacs): Delete, replace + uses with a simple test. + (term-set-escape-char, term-mode, term-check-kill-echo-list) + (term-send-raw-string, term-send-raw, term-mouse-paste) + (term-char-mode, term-line-mode, term-exec, term-sentinel) + (term-handle-exit, term-read-input-ring) + (term-previous-matching-input-string) + (term-previous-matching-input-string-position) + (term-previous-matching-input-from-input) + (term-replace-by-expanded-history, term-send-input) + (term-skip-prompt, term-bol, term-send-invisible) + (term-kill-input, term-delchar-or-maybe-eof) + (term-backward-matching-input, term-check-source) + (term-proc-query, term-emulate-terminal) + (term-handle-colors-array, term-process-pager, term-pager-line) + (term-pager-bob, term-unwrap-line, term-word) + (term-dynamic-complete-filename) + (term-dynamic-complete-as-filename) + (term-dynamic-simple-complete): Replace one arm ifs with whens or + unlesses. + +2006-05-29 Stefan Monnier + + * files.el (hack-one-local-variable-eval-safep): Don't burp if used + during bootstrapping. + + * emacs-lisp/ewoc.el (ewoc--current-dll): Remove. + Basically undo the change of 2006-05-26: use extra arguments instead of + dynamic scoping. + (ewoc-locate): Remove unused var `footer'. + +2006-05-28 Stefan Monnier + + * emacs-lisp/ewoc.el (ewoc--insert-new-node): Use ewoc--refresh-node. + + * emacs-lisp/autoload.el (no-update-autoloads): Declare. + (generate-file-autoloads): Obey it. Return whether autoloads were + added at point or not. + (update-file-autoloads): Use this new return value. + Remove redundant test for the presence of an autoload cookie. + + * emacs-lisp/autoload.el (autoload-find-file): New fun. + This one calls hack-local-variables. + (generate-file-autoloads, update-file-autoloads): Use it. + + * textmodes/bibtex.el (bibtex-autokey-name-case-convert-function) + (bibtex-sort-entry-class): Add safe-local-variable predicate. + (bibtex-sort-entry-class-alist): Don't set the global value. + (bibtex-init-sort-entry-class-alist): New fun. + (bibtex-sort-buffer, bibtex-prepare-new-entry): Call it to compute + bibtex-init-sort-entry-class-alist from the buffer-local value (if any) + of bibtex-init-sort-entry-class. + +2006-05-28 Richard Stallman + + * subr.el (load-history-regexp): If FILE is relative, insist + entire last name component must match it. + (load-history-filename-element, load-history-regexp): Doc fixes. + +2006-05-29 Kim F. Storm + + * emacs-lisp/bindat.el (bindat-idx, bindat-raw): Rename dynamic vars + `pos' and `raw-data' for clarity, as eval forms may access these. + +2006-05-28 Kim F. Storm + + * emacs-lisp/bindat.el (bindat--unpack-u8): Use aref also for strings. + +2006-05-28 Stefan Monnier + + * progmodes/make-mode.el (makefile-browser-map) + (makefile-mode-syntax-table): Move initialization inside declaration. + (makefile-fill-paragraph): Use the default comment-filling code. + +2006-05-28 Chong Yidong + + * replace.el (query-replace-defaults): New variable. + (query-replace-read-from): Use `query-replace-defaults' for + default value, instead of history list. + (query-replace-read-to): Update `query-replace-defaults'. + +2006-05-27 Chong Yidong + + * msb.el (mouse-select-buffer): Minor fix to make popup menu work + with no X toolkit. + +2006-05-28 Nick Roberts + + * tumme.el (tumme-show-all-from-dir-max-files): Fix typo. + (tumme-show-all-from-dir): Add autoload. + +2006-05-27 Mathias Dahl + + * tumme.el: Change a lot of `(if .. (progn ..)' to `(when ..)'. + (tumme-remove-tag): Fix bug. + +2006-05-27 Thien-Thi Nguyen + + * emacs-lisp/ewoc.el (ewoc--create): No longer take HEADER and + FOOTER args. Update unique caller. + (ewoc-delete): Compute last node once before looping. + (ewoc--node-branch): Merge into unique caller. + (ewoc--node): Don't define constructor make-ewoc--node for this + structure. + (ewoc): Add member `hf-pp' to this structure. + (ewoc--wrap): New func. + (ewoc-create): Take additional arg NOSEP. If nil, wrap node and + header/footer pretty-printers. Save header/footer pretty-printer. + (ewoc-set-hf): Use ewoc's header/footer pretty-printer. + + * pcvs.el (cvs-make-cvs-buffer): Specify NOSEP to `ewoc-create'. + +2006-05-27 Mathias Dahl + + * dired.el (dired-mode-map): Change `tumme-tag-remove' to + `tumme-delete-tag'. Rename `Remove Image Tag' to `Delete Image + Tag'. Change "Compare directories..." to "Change Directories...". + Move tumme commands to Operate, Regexp and Immediate menus. + Change "Add Comment" to "Add Image Comment". Change "Add Image + Tag" to "Add Image Tags". + + * tumme.el (tumme-delete-tag): Rename from `tumme-tag-remove'. + (tumme-setup-dired-keybindings): Change `tumme-add-remove' to + `tumme-delete-tag'. + +2006-05-26 Luc Teirlinck + + * shell.el (shell-mode): Call shell-dirtrack-mode after + list-buffers-directory is made a local variable, to avoid setting + the default value. + +2006-05-26 Kevin Ryde + + * info.el (Info-index-next): Use where-is-internal to report + actual binding of Info-index-next, rather than hard-coded `,'. + +2006-05-26 Eli Zaretskii + + * menu-bar.el (menu-bar-apropos-menu): Move "Find Key in Manual" + and "Find Command in Manual" to here. + + * buff-menu.el (list-buffers-noselect): For Info buffers, use + Info-current-file as the file name. + +2006-05-26 Jonathan Yavner + + * ses.el (defadvice undo-more): Delete this defadvice. The undo + overrides will now be done a different way. + (ses-set-parameter): Reapply this function for undo. + (ses-set-header-row): Reconstruct header row during undo. + (ses-widen): New function. + (ses-goto-data, ses-reconstruct-all): Use new function. + (ses-command-hook): Widen buffer during undo, before unupdating + the cells. + (ses-insert-row, ses-delete-row): Widen buffer during undo. + (ses-load, ses-header-row): Permit empty (zero-row) spreadsheets. + (ses-read-cell): Avoid stupid warning for RET RET on a cell whose + formula hasn't been executed yet. + +2006-05-26 Reiner Steib + + * comint.el (comint-kill-whole-line): Rename arg to count. + Fix doc string. + +2006-05-26 Chong Yidong + + * files.el (backup-buffer-copy): Remove deleted MUSTBENEW argument + to copy-file. + +2006-05-26 Reiner Steib + + * simple.el (toggle-truncate-lines): Make arg optional for + backward compatibility. + +2006-05-26 Thien-Thi Nguyen + + * emacs-lisp/ewoc.el (ewoc--current-dll): New var. + (ewoc--node-next, ewoc--node-prev, ewoc--node-nth): Don't take + DLL arg. Instead, use ewoc--current-dll. Update all callers. + (ewoc--set-buffer-bind-dll-let*): Bind ewoc--current-dll, not `dll'. + (ewoc--adjust): Use ewoc--current-dll. + (ewoc-next, ewoc-prev, ewoc-nth): Bind ewoc--current-dll. + +2006-05-26 Carsten Dominik + + * textmodes/org.el (org-next-item, org-previous-item): Emit more + compact error message. + (org-tags-view): Refresh category table in each file. + (org-table-justify-field-maybe): Remove superfluous arguments to + `format'. + (org-export-as-html): Insert "

" before postamble. + (org-paste-subtree, org-kill-is-subtree-p): Check for empty kill ring. + +2006-05-26 Kenichi Handa + + * textmodes/po.el (po-find-charset): Pay attention to the case + FILENAME is a cons (NAME . BUFFER). + (po-find-file-coding-system-guts): Likewise. + + * arc-mode.el (archive-set-buffer-as-visiting-file): + Call find-operation-coding-system with (FILENAME . BUFFER). + + * tar-mode.el (tar-extract): Call find-operation-coding-system + with (FILENAME . BUFFER). + + * international/mule.el (decode-coding-inserted-region): + Call find-operation-coding-system with (FILENAME . BUFFER). + +2006-05-25 Chong Yidong + + * image-mode.el (image-toggle-display): Use buffer contents to + generate image for a remote file. + +2006-05-25 Juri Linkov + + * replace.el (query-replace-read-from, query-replace-read-to): + Remove 8th arg KEEP-ALL in read-from-minibuffer. + +2006-05-25 Rajesh Vaidheeswarran + + * whitespace.el (whitespace-cleanup): Change to cleanup + region if one is active. + * whitespace.el (whitespace-cleanup-internal): New internal method. + +2006-05-25 Mathias Dahl + + * dired.el (dired-mode-map): Add help-echo strings to tumme + commands. Bind `tumme-dired-display-image' to C-t i. + + * tumme.el (tumme-display-image): Change documentation string slightly. + (tumme-dired-display-image): Add call to `display-buffer'. + +2006-05-25 Thien-Thi Nguyen + + * emacs-lisp/bindat.el (bindat-unpack, bindat-pack): + Signal error if RAW-DATA is a multibyte string. + +2006-05-24 Richard Stallman + + * subr.el (with-local-quit): When handling `quit' signal, + make a chance for quit-flag to cause a quit. + + * emacs-lisp/advice.el (ad-enable-advice, ad-activate) + (ad-disable-advice): Add autoloads. + + * subr.el (read-passwd): Copy PROMPT before changing its properties. + +2006-05-25 Mathias Dahl + + * dired.el (dired-mode-map): Change menu items for tumme as per + suggestions in emacs-devel. + +2006-05-25 Nick Roberts + + * dired.el (dired-mode-map): Fix breakage. + +2006-05-25 Mathias Dahl + + * tumme.el (tumme-display-dired-image): Rename to... + (tumme-dired-display-image): ...this. + (tumme-track-movement): Change default value to t. + (tumme-display-thumbs): Add new optional parameter DO-NOT-POP, + used from `tumme-next-line-and-display' and similar commands. + + * dired.el (dired-mode-map): Add Thumbnail submenu under the + Immediate menu. Add some tumme commands there. + +2006-05-24 Luc Teirlinck + + * loadup.el ("jka-cmpr-hook"): Load it before it is needed. + +2006-05-24 Chong Yidong + + * menu-bar.el, international/mule-cmds.el: Remove tooltips for + menu entries that open submenus. + +2006-05-24 Alan Mackenzie + + * startup.el (command-line): For names of preloaded files, don't + append ".elc" (now done in Fload), and call file-truename on the + lisp directory. + + * subr.el (eval-after-load): Fix the doc-string. Allow FILE to + match ANY loaded file with the right name, not just those in + load-path. Put a regexp matching the file name into + after-load-alist, rather than the name itself. + + * subr.el (load-history-regexp, load-history-filename-element) + (do-after-load-evaluation): New functions. + + * international/mule.el (load-with-code-conversion): Do the + eval-after-load stuff by calling do-after-load-evaluation. + +2006-05-25 Nick Roberts + + * progmodes/gud.el (gud-sentinel): Condition on GUD buffer if it + has not been killed. + +2006-05-24 YAMAMOTO Mitsuharu + + * term/mac-win.el: Set idle timer to clean up expired Apple events. + (mac-ae-get-url): Redispatch Apple event on unknown scheme. + (mac-dispatch-apple-event): Resume Apple event if it is suspended. + Optionally set error message in reply. + +2006-05-24 Carsten Dominik + + * textmodes/org.el (org-open-at-point): Use renamed variable + `org-confirm-shell-link-function'. + (org-confirm-shell-link-function): Rename from + `org-confirm-shell-links'. + (org-export-directory): New function. + (org-export-as-ascii, org-export-as-html, org-export-as-xoxo) + (org-export-icalendar): Use `org-export-directory'. + (org-indent-item): Keep cursor position. + (org-link-file-path-type): New option. + (org-export-as-html): Fix bug with plain lists starting in + column 0. + (org-export-as-html): Remove deadline formatting, this happens + now already in `org-html-handle-time-stamps'. + (org-export-html-style): Deadline class removed. + (org-insert-labeled-timestamps-at-point): New option. + (org-cycle, org-occur, org-scan-tags): Use `org-overview' instead + of `hide-sublevels 1', in case the first headline is not level 1. + (org-overview, org-content): New fuction. + (org-cycle-global-status, org-cycle-subtree-status): Make these + variables buffer-local. + (org-global-cycle): New command. + (org-shifttab): Use `org-global-cycle'. + (org-insert-heading, org-insert-item): Go to end of new + headline/item after creating it. + (org-export-visible): Rename from `org-export-copy-visible'. + Now creates a temporary org-file and applies an exporting command + to it. + (org-table-eval-formula): Support for lisp forms. + (org-agenda-todo-ignore-scheduled): New option. + (org-agenda-get-todos): Use new option + `org-agenda-todo-ignore-scheduled'. + (org-export-html-inline-images): New value `maybe'. + (org-export-as-html): Inlining of images dependent on link description. + (org-archive-subtree): Check for end-of-buffer before trying + `kill-line'. + (org-agenda-follow-mode): New option. + (org-export-with-tags, org-export-with-timestamps): New options. + (org-html-handle-time-stamps): New function. + (org-keyword-time-regexp): New variable. + (org-agenda-get-todos): Use `org-agenda-todo-list-sublevels'. + (org-agenda-todo-list-sublevels): New option. + (org-html-level-start): When TITLE is nil, just close all levels. + (org-parse-key-lines, org-parse-export-options): Remove functions, + replaced by `org-infile-export-plist'. + (org-combine-plists, org-infile-export-plist) + (org-default-export-plist): New functions. + (org-export-html-preamble, org-export-html-postamble) + (org-export-html-auto-preamble, org-export-html-auto-postamble): + New variables. + (org-export-publishing-directory): New option. + (org-export-as-html, org-export-as-ascii): Use the new property + lists for settings. + (org-export-copy-visible, org-export-as-xoxo): + Respect `org-export-publishing-directory'. + (org-link-search, org-store-link, org-file-apps): Support for + links to BibTeX database entries.. + (org-get-current-options, org-set-regexps-and-options): + Implement logging as a startup option. + (org-store-link): Make sure context string is never empty + (org-insert-link): Use relative path when possible. + (org-at-item-checklet-p): New function. + (org-shifttab, org-shiftmetaleft, org-shiftmetaright) + (org-shiftmetaup, org-shiftmetadown, org-metaleft) + (org-metaright, org-metaup, org-metadown, org-shiftup) + (org-shiftdown, org-shiftright, org-shiftleft) + (org-ctrl-c-ctrl-c, org-cycle, org-return, org-meta-return): + Dispatch using `call-interactively'. + (org-call-with-arg): New defsubst. + (org-tag-alist, org-use-fast-tag-selection): New options. + (org-complete): Use `org-tag-alist'. + (org-fast-tag-insert, org-fast-tag-selection): New functions. + (org-next-item, org-previous-item): New commands. + (org-beginning-of-item, org-end-of-item): Add (interactive) to + make command. + (org-shiftup, org-shiftdown): Accommodate the item-navigation commands. + +2006-05-23 Thien-Thi Nguyen + + * emacs-lisp/ewoc.el (ewoc-delete): New function. + (ewoc-filter): Use `ewoc-delete'. + + * emacs-lisp/bindat.el (bindat-pack): Doc fix. + +2006-05-22 Stefan Monnier + + * textmodes/bibtex.el (bibtex-format-entry, bibtex-clean-entry): + Signal more user-friendly error messages. + + * complete.el (PC-do-completion): Undo the addition of implicit + wildcards if they did not lead to finding any match. + (read-file-name-internal): Don't add the final > if the completion is + not finished. + +2006-05-22 Reiner Steib + + * textmodes/bibtex.el (bibtex-maintain-sorted-entries): + Quote safe-local-variable predicate. + +2006-05-22 Thien-Thi Nguyen + + * emacs-lisp/ewoc.el (ewoc-set-data): New function. + +2006-05-21 Roland Winkler + + * textmodes/bibtex.el (bibtex-maintain-sorted-entries): Mark as safe. + + * progmodes/make-mode.el (makefile-special-targets-list) + (makefile-macro-table, makefile-target-table): Mark as risky. + (makefile-query-one-target-method): Make this the alias for the + following variable. + (makefile-query-one-target-method-function): Make this the real name. + + * textmodes/artist.el (artist-text-renderer): Make this the alias + for the following variable. + (artist-text-renderer-function): Make this the real name. + + * textmodes/flyspell.el (flyspell-generic-check-word-p): Make this + the alias for the following variable. + (flyspell-generic-check-word-predicate): Make this the real name. + + * textmodes/ispell.el (ispell-format-word): Make this the alias + for the following variable. + (ispell-format-word-function): Make this the real name. + (ispell-message-text-end): Mark as risky. + + * skeleton.el (skeleton-transformation, skeleton-filter) + (skeleton-pair-filter): Make these the aliases for the following + variables. + (skeleton-transformation-function, skeleton-filter-function) + (skeleton-pair-filter-function): Make these the real names. + + * progmodes/sh-script.el (sh-mode): Use skeleton-filter-function + and skeleton-pair-filter-function. + + * textmodes/sgml-mode.el (sgml-transformation): Make this the + alias for the following variable. + (sgml-transformation-function): Make this the real name. + (sgml-tag-alist): Mark as risky. + +2006-05-21 Richard Stallman + + * simple.el (kill-region): Interactively, pass point, then mark. + +2006-05-22 Thien-Thi Nguyen + + * emacs-lisp/ewoc.el (ewoc-create): Add autoload cookie. + +2006-05-21 Romain Francoise + + * dired-x.el (dired-mode-map): Don't bind M-g. + +2006-05-20 Richard Stallman + + * dired.el (dired-mode-map): Put dired-goto-file on j, not M-g. + (dired-goto-file): Doc fix. + +2006-05-21 Kim F. Storm + + * emulation/cua-base.el: Mention customizing cua-mode as alternative + way to enable built-in cua-mode if user loads older CUA-mode package. + + * ido.el (ido-read-file-name): Bind ido-show-dot-for-dired to nil + if default-filename is specified. + +2006-05-20 Eli Zaretskii + + * menu-bar.el (menu-bar-manuals-menu) : New menu item. + + * info.el (info-apropos): Make sure current-file and current-node + have non-nil values. Speed up by using add-to-list instead of + manual consing. + +2006-05-20 Micha,Ak(Bl Cadilhac + + * progmodes/make-mode.el (makefile-mode): Doc fix. + +2006-05-20 Eli Zaretskii + + * dired-aux.el (dired-do-shell-command): Doc fix. + +2006-05-20 Kevin Ryde + + * info-xref.el (info-xref-check-all-custom): Skip :tag part of + ``(custom-manual :tag "Foo" "(foo)Node")''. + +2006-05-20 Karl Chen + + * progmodes/cc-vars.el (c-backslash-column): Mark as safe if its + value is an integer. + +2006-05-20 Eli Zaretskii + + * mail/rmail.el (rmail-mime-charset-pattern): Add "?:" before + "format". + (rmail-convert-to-babyl-format): Undo the change from 2006-04-19. + +2006-05-20 Martin Rudalics + + * progmodes/hideif.el (show-ifdef-block): Fix bug where parts of + a hidden block remained hidden if `hide-ifdef-lines' is non-nil. + +2006-05-20 Stefan Monnier + + * progmodes/gud.el (gdb-script-font-lock-keywords): Use a stricter + regexp for keywords. + +2006-05-20 Masayuki FUJII (tiny change) + + * dnd.el (dnd-get-local-file-name): Specify LITERAL in + replace-regexp-in-string. + + * term/w32-win.el (w32-drag-n-drop): Substitute '/' for '\', + encode, and escape file name on conversion to URL. + +2006-05-20 YAMAMOTO Mitsuharu + + * dnd.el (dnd-handle-one-url): Change 3rd arg ARG to URL. + Don't unescape URL. + (dnd-get-local-file-name): Unescape URL on conversion to file name. + + * x-dnd.el (x-dnd-handle-file-name): Encode and escape file names + on conversion to URLs. + + * net/browse-url.el (browse-url-file-url): Encode file name on + conversion to URL. + + * term/mac-win.el (mac-ae-open-documents): Escape file name on + conversion to URL. + +2006-05-19 Eli Zaretskii + + * progmodes/cc-styles.el (c-style-alist): Doc fix. + +2006-05-19 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-bytes-to-digits): Remove function. + (mac-handle-toolbar-switch-mode): Use coercion instead of it. + +2006-05-19 Glenn Morris + + * calendar/diary-lib.el (diary-bahai-date) + (list-bahai-diary-entries, mark-bahai-diary-entries) + (mark-bahai-calendar-date-pattern): Not interactive. + (add-to-diary-list): New optional arg LITERAL. Doc fix. + (diary-entries-list): Change format of 4th element in each entry. + (diary-list-entries): Use add-to-diary-list. + (diary-goto-entry): Handle the case where the buffer visiting the + diary has been killed. + (fancy-diary-display): Add 'locator to button rather than 'marker. + Only generate temp-face when there are marks to apply. + (list-sexp-diary-entries): Pass literal to add-to-diary-list. + (diary-fancy-date-pattern): New variable. + (diary-time-regexp): Doc fix. + (diary-anniversary, diary-time): New faces. + (fancy-diary-font-lock-keywords): Use diary-fancy-date-pattern and + diary-time-regexp. Add font-lock-multiline property where needed. + Use new faces diary-anniversary and diary-time. + (diary-fancy-font-lock-fontify-region-function): New function, to + handle multiline font-lock pattern in fancy diary. + (fancy-diary-display-mode): Set font-lock-fontify-region-function. + (diary-font-lock-keywords): Tweak time regexp. Use new face + diary-time. + +2006-05-19 Alexander Shopov (tiny change) + + * international/code-pages.el (mik): Table corrected. + +2006-05-18 Kim F. Storm + + * progmodes/grep.el (grep-find): Don't check grep-find-command + before running command (breaks non-interactive usage). + +2006-05-18 Thien-Thi Nguyen + + * emacs-lisp/ewoc.el (ewoc--adjust): New func. + (ewoc--insert-new-node): Don't insert trailing newline. + Instead, adjust successor nodes's start markers. + (ewoc--refresh-node): Delete all text from current node's start + marker to the next one's; adjust successor nodes's start markers. + (ewoc--create): Doc fixes. + (ewoc--refresh): Don't insert newline. + (ewoc--set-hf): Use `ewoc--set-buffer-bind-dll-let*'. + * pcvs.el (cvs-make-cvs-buffer): + Specify extra newline for ewoc's header and footer. + (cvs-update-header): Update initial header recognition. + Append newline to final header and footer values. + * pcvs-info.el (cvs-fileinfo-pp): Insert trailing newline. + +2006-05-17 Richard Stallman + + * files.el (file-name-extension): Doc fix. + +2006-05-17 Stefan Monnier + + * shell.el (shell-dirtrack-mode): Make it into a proper minor mode, so + we can explicitly enable/disable rather than toggle. + (shell-mode): Use it. + (shell-cd): Don't try to reproduce what `cd' does. + +2006-05-17 Kim F. Storm + + * ido.el (ido-read-internal): Use only nondirectory part of + default item. + +2006-05-17 Thien-Thi Nguyen + + * emacs-lisp/ewoc.el (ewoc-data): Add docstring. + (ewoc-nth): Doc fix. + + (ewoc-map, ewoc-invalidate): Compute PP before looping. + +2006-05-16 Eli Zaretskii + + * international/mule.el (auto-coding-alist): Add .lha to files + read with no-conversion. + + * files.el (auto-mode-alist): Add .lha files to archive file + extensions. + + * arc-mode.el (archive-arc-summarize, archive-lzh-summarize): + Convert csize to integer when computing offsets within the + compressed archive file. + +2006-05-16 Kim F. Storm + + * subr.el (add-to-history): Add KEEP-ALL arg and align functionality + with read-from-minibuffer. + +2006-05-16 Reiner Steib + + * emacs-lisp/bytecomp.el (byte-compile-warnings-safe-p): New function. + (byte-compile-warnings): Fix safe-local-variable property. + +2006-05-16 Ken Manheimer + + * allout.el (allout-show-bodies, allout-old-style-prefixes) + (allout-stylish-prefixes, allout-numbered-bullet) + (allout-file-xref-bullet, allout-use-hanging-indents): Use simple + predicates to qualify `safe-local-variable' property, when + available, else use equivalent lambda. + (allout-current-topic-collapsed-p): Do the right thing regarding + trailing blank lines. + +2006-05-16 Stefan Monnier + + * server.el (server-start): Only create a directory if needed. + (server-edit, server-unload-hook): server-start => server-mode. + (kill-emacs-hook): Cleanup upon exit. + +2006-05-15 Stefan Monnier + + * hexl.el (hexlify-buffer): Encode process arguments manually. + +2006-05-16 Nick Roberts + + * progmodes/gud.el (gud-tooltip-tips): Add missing argument to + call to gdb-tooltip-print. + +2006-05-15 Romain Francoise + + * dired-x.el (dired-guess-shell-gnutar): On GNU and GNU/Linux + systems, default to "tar" since those systems probably have GNU tar. + +2006-05-14 Lars Hansen + + * desktop.el (desktop-missing-file-warning): Fix docstring. + (desktop-restore-file-buffer): Correct question asked on missing file. + +2006-05-14 Kim F. Storm + + * progmodes/cc-subword.el (c-forward-subword, c-backward-subword): + Add CUA move property. + +2006-05-13 Chong Yidong + + * custom.el (custom-push-theme): Load the variable before checking + its `standard-value'. + +2006-05-13 Lars Hansen + + * desktop.el (desktop-save): Use with-temp-buffer. + +2006-05-12 Glenn Morris + + * calendar/cal-menu.el (calendar-mode-map, calendar-mouse-3-map): + * calendar/calendar.el (calendar-mode-map): + * calendar/diary-lib.el (include-other-diary-files, diary-mail-entries): + * calendar/appt.el (appt-check, appt-make-list): Refer to + diary-view-entries, diary-list-entries, diary-show-all-entries + rather than obsolete aliases. + +2006-05-12 Chong Yidong + + * simple.el (line-move-finish): Avoid calling point motion hooks + while processing intangibility. + +2006-05-12 Dan Nicolaescu + + * term/xterm.el (terminal-init-xterm): Fix typo. + +2006-05-12 Ken Manheimer + + * allout.el (allout-view-change-hook): Mark as being deprecated, + to be replaced by `allout-exposure-change-hook'. + (allout-exposure-change-hook): New, replacing + `allout-view-change-hook'. + (allout-flag-region): Run new hook `allout-exposure-change-hook', + in addition to `allout-view-change-hook'. + (allout-show-bodies, allout-old-style-prefixes) + (allout-stylish-prefixes, allout-use-hanging-indents): Quote the + lambda forms to prevent their showing up in variable help + presentations as inscrutable byte-compiled code. + (allout-numbered-bullet, allout-file-xref-bullet, allout-layout): + Use string-or-null-p to qualify safe-local-variable values. + (allout-reindent-bodies): Use memq to qualify matches against + valid safe-local-variable values. Also, quote the lambda as above. + (allout-use-mode-specific-leader): Add missing candidate-value + symbols, use memq, and quote the lambda. + (allout-overlay-interior-modification-handler): Remove unused + variables `msg' and 'opened'. + (allout-hidden-p): Constrain invisibility consideration to allout's + invisibility spec, disregarding invisibility for other reasons. + +2006-05-12 Reiner Steib + + * files.el (version-control): Correct safe values. + +2006-05-12 Thien-Thi Nguyen + + * emacs-lisp/ewoc.el (ewoc-refresh): Compute PP once before looping. + + (ewoc--node-enter-before, ewoc--create-node): Delete funcs. + (ewoc--insert-new-node): New func. + Update callers of deleted funcs to use it, instead. + +2006-05-11 Glenn Morris + + * calendar/calendar.el (diary-show-all-entries): Do not refer to + obsolete alias `show-all-diary-entries'. + (make-diary-entry): Not interactive. + (cal-tex-cursor-month, cal-tex-cursor-month-landscape) + (cal-tex-cursor-day, cal-tex-cursor-week, cal-tex-cursor-week2) + (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday) + (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week) + (cal-tex-cursor-year-landscape, cal-tex-cursor-filofax-year) + (cal-tex-cursor-filofax-daily, cal-tex-cursor-year): Interactive. + +2006-05-11 Johan Bockg,Ae(Brd + + * calendar/calendar.el (calendar-french-date-string) + (calendar-mayan-date-string, calendar-chinese-date-string) + (calendar-astro-date-string, calendar-iso-date-string) + (calendar-islamic-date-string, calendar-bahai-date-string) + (calendar-hebrew-date-string, calendar-coptic-date-string) + (calendar-ethiopic-date-string, calendar-persian-date-string): + These functions are not interactive. + +2006-05-11 Luc Teirlinck + + * files.el: Balance parentheses. + +2006-05-11 Reiner Steib + + * files.el, newcomment.el, outline.el, simple.el, + * emacs-lisp/bytecomp.el, progmodes/cc-compat.el, + * progmodes/cc-vars.el, progmodes/compile.el: + Move `safe-local-variable' declarations to the respective files. + + * help-fns.el (describe-variable): Don't print safe-var if it is + byte-code. Improve wording as suggested by Luc Teirlinck. + +2006-05-11 Nick Roberts + + * progmodes/gdb-ui.el (gdb-reset): Update speedbar if necessary. + (gdb-var-evaluate-expression-handler, gdb-var-update-handler): + Use a token for pending-triggers to ensure gdb-var-update + gets called once per user input again for pre-GDB 6.4. + (gdb-var-delete): Match on more complex expressions. + (gdb-var-list-children-handler, gdb-var-create-handler): + Use a token for consistency. + +2006-05-11 Carsten Dominik + + * textmodes/org.el (org-read-date, org-goto-calendar) + (org-agenda-goto-calendar): + Bind `view-calendar-holidays-initially' to nil. + +2006-05-11 Thien-Thi Nguyen + + * emacs-lisp/ewoc.el (ewoc--refresh-node): No longer save-excursion. + Update all callers to do it there, instead. + +2006-05-10 Glenn Morris + + * calendar/calendar.el (calendar-basic-setup): Set day to 1 in + prefix arg case, to avoid view-diary-entries-initially error. + Reported by Stephen Berman . + (calendar-date-is-legal-p): Handle dates with no day part. + +2006-05-11 Nick Roberts + + * comint.el (comint-insert-input): Just make it when + comint-use-prompt regexp is nil (default) and with the mouse. + (comint-copy-old-input): Reinstate from 2004-06-23. + (comint-mode-map): Bind C-c C-m to it. + +2006-05-10 J.D. Smith + + * progmodes/idlw-shell.el (idlwave-shell-move-or-history): + Remove spurious move to point-max (new comint behavior fixes). + + * progmodes/idlwave.el (idlwave-push-mark): Removed obsolete + compatibility function (Emacs 18/19). + (idlwave-is-continuation-line): Always return point at start of + previous non-blank continuation line. + (keyword-parameters): Fix continued comment font-lock matcher. + (idlwave-font-lock-fontify-region): Written, use as + font-lock-fontify-region-function, to fix continued keyword + fontification issues. + +2006-05-10 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-font-panel-mode): Doc fix. + (mac-service-selection, mac-service-open-file) + (mac-service-open-selection, mac-service-mail-selection) + (mac-service-mail-to, mac-service-insert-text): Rename from + mac-services-*. All uses changed. + (mac-apple-event-map): Rename event symbol `services' to `service'. + +2006-05-10 Thien-Thi Nguyen + + * emacs-lisp/ewoc.el (ewoc--dll-create, ewoc--node-delete) + (ewoc--node-enter-first, ewoc--node-enter-last) + (ewoc--delete-node-internal): Merge funcs into unique callers. + +2006-05-09 Chong Yidong + + * emacs-lisp/crm.el (completing-read-multiple): Properly handle + return value of read-from-minibuffer for empty input. + +2006-05-09 Miles Bader + + * comint.el (comint-insert-input): Remove redundant calls to setq + and goto-char. + +2006-05-10 Nick Roberts + + * comint.el (comint-insert-input): Make it work when + comint-use-prompt-regexp is t. + +2006-05-10 Miles Bader + + * subr.el (field-at-pos): New function. + + * comint.el (comint-insert-input): Use it. + +2006-05-09 Juri Linkov + + * battery.el (battery-linux-proc-acpi): Also try + `/proc/acpi/thermal_zone/THR2/temperature'. + + * files.el : Remove `eval' and `let' binding + for now unused lambda `string-or-null'. + + * add-log.el (change-log-default-name): Put `string-or-null-p' + instead of lambda on `safe-local-variable' property. + + * diff-mode.el (diff-context->unified): Use `region-beginning' and + `region-end' instead of `mark' and `point'. + (diff-unified->context, diff-reverse-direction, diff-fixup-modifs): + Operate on region in Transient Mark mode when the mark is active. + Use `region-beginning' and `region-end' instead of `mark' and + `point'. + (diff-hunk-text, diff-goto-source): Doc fix. + + * startup.el (fancy-splash-screens, normal-splash-screen): Use + face `mode-line-buffer-id' for mode-line buffer face instead of + hard-coded `(:weight bold)'. + + * arc-mode.el (archive-set-buffer-as-visiting-file): Bind + buffer-undo-list to t (undo-ask is reproducible by visiting + nested archives). + +2006-05-09 Kim F. Storm + + * progmodes/grep.el (rgrep): Set default directory of *grep* + buffer if we start M-x rgrep in the *grep* buffer and choose + a different base directory. + +2006-05-09 Michael Albinus + + * net/tramp.el (tramp-register-file-name-handlers): Enable Tramp + completion also when ido is loaded. + +2006-05-09 Masatake YAMATO + + * font-lock.el (cpp-font-lock-keywords-source-directives): Added + "warning" and "import". + (cpp-font-lock-keywords): Added "warning". + +2006-05-08 Dan Nicolaescu + + * term/xterm.el (terminal-init-xterm): Add more key bindings. + +2006-05-08 Stefan Monnier + + * mwheel.el (mwheel-scroll): Make sure that when scrolling multiple + pages at a time, if we signal the end, we should indeed reach that end. + +2006-05-08 David Reitter + + * emacs-lisp/easy-mmode.el (define-minor-mode): Only preserve messages + output during execution of the body. + +2006-05-08 Kim F. Storm + + * progmodes/grep.el (lgrep, rgrep): Doc fixes. + +2006-05-08 Thien-Thi Nguyen + + * emacs-lisp/ewoc.el (ewoc--set-buffer-bind-dll-let*): + Use with-current-buffer. + +2006-05-07 Kim F. Storm + + * subr.el (add-to-history): Remove keep-dups arg. + + * kmacro.el (kmacro-push-ring): Let-bind history-delete-duplicates + to nil around call to add-to-history. + +2006-05-07 Stefan Monnier + + * emacs-lisp/syntax.el (syntax-ppss): Flush the cache before rather + than after a buffer modification. + +2006-05-08 Nick Roberts + + * progmodes/gdb-ui.el (gdb-var-create-handler): Move speedbar + call to... + (gud-watch): ...here so speedbar is raised for already watched + expressions. + (gdb-speedbar-refresh): Delete function. + (gdb-speedbar-update, gdb-speedbar-timer-fn): New functions. + Use speedbar-timer-fn instead of speedbar-refresh (reverting + earlier change). + (gdb-var-evaluate-expression-handler) + (gdb-var-list-children-handler-1, gdb-var-update-handler-1): Use it. + + * speedbar.el (speedbar-timer-fn): Remove save-window-excursion. + Update localized contents for all buffers except ignored modes. + +2006-05-07 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-utxt-to-string): Use `eq' instead of `='. + (mac-atsu-font-table, mac-font-panel-mode): Add defvars. + (mac-bytes-to-digits, mac-handle-toolbar-switch-mode) + (mac-handle-font-panel-closed, mac-handle-font-selection): + New functions. + (mac-font-panel-mode): New minor mode. + (mac-apple-event-map): Add bindings for toolbar toggle button and + font panel. + (menu-bar-showhide-menu): Add mac-font-panel-mode. + +2006-05-07 John Paul Wallington + + * ibuffer.el (ibuffer-compressed-file-name-regexp): + Avoid `regexp-opt'; simplify regexp for readability. + +2006-05-06 Eli Zaretskii + + * ldefs-boot.el (dired-do-redisplay, dired-maybe-insert-subdir): + * files.el (buffer-stale-function): + * dired-aux.el (dired-do-redisplay, dired-maybe-insert-subdir): + * autorevert.el (global-auto-revert-non-file-buffers): Point Info + links to the main manual, not to emacs-xtra. + +2006-05-06 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-utxt-to-string): Don't make adjustment for + MacJapanese if text is ASCII-only. + +2006-05-06 Nick Roberts + + * progmodes/gdb-ui.el (gdb-goto-breakpoint): Use or instead of + unless so nil isn't returned. + (gdb-setup-windows, gdb-restore-windows): Reset gdb-source-window. + +2006-05-06 Kim F. Storm + + * subr.el (add-to-history): New function. + + * ediff.el (ediff-files, ediff-files3, ediff-merge-files) + (ediff-merge-files-with-ancestor): + * env.el (setenv): + * isearch.el (isearch-update-ring): + * server.el (server-visit-files): + * progmodes/grep.el (lgrep, rgrep): + * progmodes/vhdl-mode.el (vhdl-generate-makefile-1): + * progmodes/xscheme.el (xscheme-insert-expression): + Use add-to-history. + + * kmacro.el (kmacro-push-ring): Use add-to-history. + (kmacro-ring-length): Remove unused defun. + (kmacro-start-macro): Use kmacro-push-ring. + +2006-05-06 Thien-Thi Nguyen + + * emacs-lisp/ewoc.el (ewoc-create, ewoc-set-hf): Use `insert' + directly instead of a lambda expression that calls it. + +2006-05-06 Kim F. Storm + + * avoid.el (mouse-avoidance-point-position): Use posn-at-point + instead of compute-motion. + +2006-05-05 Dan Nicolaescu + + * ibuffer.el (ibuffer-compressed-file-name-regexp): Undo previous + change. + +2006-05-05 Reiner Steib + + * startup.el (command-line-1): Refer to "Pure Storage" on + pure-space-overflow. + +2006-05-05 Martin Rudalics + + * emacs-lisp/re-builder.el (reb-update-overlays): Cycle through + provided faces once they all have been used up. + +2006-05-05 Eli Zaretskii + + * startup.el (normal-splash-screen, fancy-splash-screens-1): Add a + reference to the Lisp manual to the warning about pure space + overflow. + +2006-05-05 Micha,Ak(Bl Cadilhac + + * textmodes/ispell.el (ispell-buffer-local-dict): Add a `no-reload' + argument to avoid the call to `ispell-internal-change-dictionary' + when not needed. + (ispell-change-dictionary): Use this argument and call + `ispell-internal-change-dictionary' after the possible change + to `ispell-local-dictionary'. + (ispell-internal-change-dictionary): Check for a change in + personal dictionary use too. + +2006-05-05 Eli Zaretskii + + * startup.el (command-line): On MS-Windows, probe "~", not + "~USER", for warning about non-existent home directory. + + * arc-mode.el (archive-l-e): New optional argument `float' means + generate a float value. + (archive-arc-summarize, archive-lzh-summarize) + (archive-zip-summarize, archive-zoo-summarize): Invoke archive-l-e + with 3rd argument non-nil when file's size is being computed. + Format the file sizes with %8.0f instead of %8d. + +2006-05-05 YAMAMOTO Mitsuharu + + * cus-start.el (all): Add mac-dnd-known-types. + + * term/mac-win.el (mac-utxt-to-string, mac-string-to-utxt) + (mac-TEXT-to-string, mac-string-to-TEXT, mac-furl-to-string) + (mac-TIFF-to-string): New functions. + (x-get-selection, x-selection-value) + (mac-select-convert-to-string): Use them. + (mac-text-encoding-mac-japanese-basic-variant): New constant. + (mac-dnd-types-alist): New customization variable. + (mac-dnd-handle-furl, mac-dnd-handle-hfs, mac-dnd-insert-utxt) + (mac-dnd-insert-TEXT, mac-dnd-insert-TIFF, mac-dnd-drop-data) + (mac-dnd-handle-drag-n-drop-event): New functions. + (mac-drag-n-drop): Remove function. + (global-map): Bind drag-n-drop and M-drag-n-drop to + mac-dnd-handle-drag-n-drop-event. + +2006-05-04 Karl Chen + + * progmodes/perl-mode.el (perl-beginning-of-function): + Skip anonymous subs. + +2006-05-04 Dan Nicolaescu + + * ibuffer.el (ibuffer-compressed-file-name-regexp): Avoid loading + regexp-opt at run time. + + * term.el (term-handle-ansi-escape): Fix off by one error. + +2006-05-04 Nick Roberts + + * progmodes/gdb-ui.el (gdb-force-update): Delete variable... + (gdb-init-1, gdb-post-prompt): ...and references to it. + (gdb-frame-handler): Strip directory name from filename if present. + + * progmodes/gud.el (gdb-force-update): Delete defvar + (gud-speedbar-buttons): ...and references to it. Use window-start + to try to keep positon in watch expression. + +2006-05-03 Richard Stallman + + * simple.el (next-history-element, previous-history-element): Doc fix. + + * isearch.el (isearch-update-ring): Doc fix. + +2006-05-03 Dan Nicolaescu + + * isearch.el (isearch-update-ring): Take history-delete-duplicates + into consideration. Replace one arm ifs with whens. + +2006-05-03 Nick Roberts + + * progmodes/gdb-ui.el (gud-watch): Let user select an expression. + (menu): Fix typo. + +2006-05-02 Miles Bader + + * replace.el (occur-engine): Bind `inhibit-field-text-motion' to t. + +2006-05-02 Jay Belanger + + * calc/calc-embed.el (calc-override-minor-modes-map) + (calc-override-minor-modes): New variables. + (calc-do-embedded): Make sure that Calc keystrokes aren't + overwritten by minor modes. + +2006-05-02 Chong Yidong + + * msb.el (msb): If EVENT is a down event, read and discard the up event. + +2006-05-02 Reiner Steib + + * startup.el (command-line-1): Refer to Lisp manual when + pure-space-overflow occurs. + + * files.el (byte-compile-dynamic, byte-compile-dynamic-docstrings) + (byte-compile-warnings, find-file-visit-truename, indent-tabs-mode) + (left-margin, no-byte-compile, no-update-autoloads, truncate-lines) + (version-control): Don't use `t' for safe-local-variable declarations. + +2006-05-01 Richard Stallman + + * diff-mode.el (diff-mode-shared-map): Don't bind M-W, M-U, M-C, + M-r, M-R, M-A, M-SPC or M-DEL. + (diff-mode-map): diff-refine-hunk now on C-c C-w + (diff-mode-map): Bind C-c C-e, C-c C-n, C-c C-r, C-c C-u. + + * help-mode.el (help-mode): view-exit-action calls delete-window + only when it is safe and possible. + + * simple.el (undo-outer-limit-truncate): Put quotes around buffer name + in messages. + + * emacs-lisp/warnings.el (display-warning, lwarn): Doc fixes. + + * tool-bar.el (tool-bar-setup): Put Help and Preferences items + in the default tool-bar-map. + +2006-05-01 Michael Albinus + + * net/tramp.el (tramp-completion-file-name-handler-alist) + (tramp-run-real-handler, tramp-completion-run-real-handler) + (tramp-completion-handle-file-name-all-completions) + (tramp-completion-handle-file-name-completion): Autoload them. + (tramp-completion-handle-file-exists-p) + (tramp-completion-handle-file-name-directory) + (tramp-completion-handle-file-name-nondirectory) + (tramp-completion-handle-expand-file-name): Remove them. + (tramp-handle-file-name-directory): Return the real directory name. + Returning "/" only doesn't need to be necessary any longer. + (tramp-file-name-handler): Make special attention when in hostname + completion mode. + (tramp-completion-file-name-handler): Revert patch from 2006-04-28. + (tramp-register-file-name-handlers): + Register `tramp-completion-file-name-handler' only when + `partial-completion-mode' is enabled. + (tramp-completion-handle-file-name-all-completions): + Delete directory part from results. + (tramp-get-completion-methods, tramp-get-completion-user-host): + Discard deleting "/", it doesn't work after the change of + `tramp-handle-file-name-directory' above. + +2006-05-01 Kim F. Storm + + * progmodes/grep.el (grep-expand-template): Use save-match-data + and symbol-value. + +2006-05-01 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-ae-open-documents, mac-drag-n-drop): + Use select-frame-set-input-focus instead of raise-frame. + (global-map): Bind M-drag-n-drop to mac-drag-n-drop. + +2006-05-01 Nick Roberts + + * progmodes/gud.el (gud-def): Add %c case. + (gud-speedbar-buttons): Don't bind case-fold-search unnecessarily. + (gud-format-command): Make match case sensitive. Match on %F. + +2006-04-30 Glenn Morris + + * calendar/cal-tex.el (cal-tex-preamble-extra): New variable. + (cal-tex-preamble): Use cal-tex-preamble-extra. + (cal-tex-list-diary-entries): Refer to `diary-list-entries' rather + than alias `list-diary-entries'. + +2006-04-29 Dan Nicolaescu + + * help-fns.el (describe-variable): Add info about safe local variables. + +2006-04-29 Richard Stallman + + * bindings.el (mode-line-format): help-echo doc fixes. + + * net/tramp.el (tramp-file-name-handler-alist): Delete + expand-file-name and other operations that can cause spurious loading. + +2006-04-29 Stefan Monnier + + * files.el (safe-local-variable-p): Remove support for the special + value t. + + * textmodes/paragraphs.el (sentence-end-without-space): + Fix safety predicate. + (sentence-end-double-space, sentence-end-without-period) + (paragraph-ignore-fill-prefix): + * textmodes/fill.el (colon-double-space): + * abbrev.el (abbrev-mode): Tighten the safety predicate. + + * subr.el (booleanp): New fun. + + * textmodes/reftex-vars.el (reftex-guess-label-type): + Tighten the safety predicate. + +2006-04-28 Kim F. Storm + + * progmodes/grep.el (defgroup grep): Doc fix. + (grep-auto-highlight): Remove. + (grep-template): New defcustom. + (grep-find-template): Rename from grep-tree-template. + (grep-files-aliases): Rename from grep-tree-files-aliases. + Remove "all" alias, add "l" alias. + (grep-tree-ignore-case, grep-tree-ignore-CVS-directories): Remove. + (grep-find-ignored-directories): New defcustom to replace + grep-tree-ignore-CVS-directories, to facilitate ignoring + subdirectories for multiple version control systems. + (grep-mode-map): Add Recursive grep item to GREP menu. + (grep-regexp-history, grep-files-history): New defvars. + (grep-probe): New helper function. + (grep-compute-defaults): Use it to simplify code. + Adapt to name changes. + Use `.' as base in grep-find-template rather than . + (grep): Remove superfluous highlight-regexp arg. Fix doc. + Call grep-compute-defaults unconditionally. + (grep-expand-keywords): New defconst. + (grep-expand-template): Rename from grep-expand-command-macros. + Simplify via grep-expand-keywords. Look at case-fold-search instead + of grep-tree-ignore-case to add -i option. + Bind case-fold-search to nil while matching keywords. + (grep-tree-last-regexp, grep-tree-last-files): Remove. + (grep-read-regexp, grep-read-files): New helper functions. + (rgrep): Rename from grep-tree. Rework to use proper histories. + Adapt to changes in defcustoms and functions above. + (lgrep): New command, as grep, but using same interactive UI as rgrep. + +2006-04-28 Michael Albinus + + * net/tramp.el (tramp-completion-file-name-handler): + Disable Tramp's functionality while loading Tramp itself. + (tramp-register-file-name-handlers): That's a defsubst now. + Code from `tramp-repair-jka-compr' moved here. Apply it via + `after-init-hook'. + (tramp-repair-jka-compr): Remove. + +2006-04-27 Jay Belanger + - * calc-embed.el (calc-embedded-make-info): Use `math-read-expr' to ++ * calc/calc-embed.el (calc-embedded-make-info): Use `math-read-expr' to + read expression when `math-read-big-expr' doesn't work. + +2006-04-27 Reiner Steib + + * startup.el (command-line-1): Display warning when + pure-space-overflow is non-nil. + +2006-04-26 Roland Winkler + + * textmodes/bibtex.el (bibtex-user-optional-fields): Mark as + risky. + +2006-04-26 Roland Winkler + + * textmodes/bibtex.el (bibtex-url): New optional arg no-browse. + Return the URL or nil if none can be generated. + +2006-04-27 Nick Roberts + + * progmodes/gud.el (gud-comint-buffer): Move forward to stop + byte compiler warnings. + (gud-basic-call, gud-find-expr): Let user select an expression + for printing. Print expression as well as value in GUD buffer. + +2006-04-17 Ken Manheimer + + * allout.el: Remove local autoload declaration for + pgg-gpg-symmetric-key-p, since that's now done in pgg-gpg.el. + (allout-show-bodies, allout-header-prefix, allout-primary-bullet) + (allout-plain-bullets-string, allout-distinctive-bullets-string) + (allout-use-mode-specific-leader, allout-old-style-prefixes) + (allout-stylish-prefixes, allout-numbered-bullet) + (allout-file-xref-bullet, allout-presentation-padding) + (allout-use-hanging-indents, allout-reindent-bodies): Mark as + safe-local-variable with suitable value spec, and add autoload + cookie for loaddefs inclusion. We now use an explicit spec everywhere. + (move-beginning-of-line, move-end-of-line): Repair so these compat + functions now actually resituate the point, when appropriate. + +2006-04-26 Stefan Monnier + + * progmodes/cc-subword.el (c-subword-mode-map): Use command remapping. + + * add-log.el (add-log-iso8601-time-zone): Make parameter optional. + (add-log-iso8601-time-string): Fix call to format-time-string. + +2006-04-26 Kim F. Storm + + * subr.el (posn-string, posn-image, posn-object): Doc fix. + +2006-04-26 Masatake YAMATO + + * progmodes/asm-mode.el (asm-mode, asm-mode-syntax-table): + Add support for "//" style comments. Remove `b' flag + from ?* in `asm-mode-syntax-table'. + +2006-04-26 Stefan Monnier + + * follow.el: Use (featurep 'xemacs) everywhere. + (follow-mode): Use define-minor-mode. + (follow-mode-map): Move initialization into the declaration. + Use command remapping. + (follow-emacs-version-xemacs-p): Remove. + (follow-submit-feedback): Remove. + + * allout.el (allout-layout, allout-passphrase-verifier-string) + (allout-passphrase-hint-string): Tighten up a bit the safety predicate. + + * textmodes/reftex-vars.el (reftex-vref-is-default) + (reftex-fref-is-default, reftex-guess-label-type): + Tighten up a bit the safety predicate. + + * textmodes/paragraphs.el (sentence-end-double-space) + (sentence-end-without-period, sentence-end-without-space) + (page-delimiter, paragraph-ignore-fill-prefix): + Tighten up a bit the safety predicate. + + * textmodes/fill.el (colon-double-space): Tighten up the safety pred. + + * progmodes/python.el (python-continuation-line-p) + (python-beginning-of-statement): syntax-ppss may return + a negative depth. + (python-mode): Don't forcefully enable font-lock. + + * time-stamp.el (time-stamp-start, time-stamp-end) + (time-stamp-inserts-lines): Tighten up a bit the safety predicate. + + * add-log.el: Remove spurious * in docstrings. + (add-log-time-zone-rule): Rename from change-log-time-zone-rule. + (add-change-log-entry): Use it here, since it's not specific + to iso8601. + (add-log-iso8601-time-string): Don't use it here any more. + (change-log-indent-text, change-log-indent): Rename from add-log-*. + + * abbrev.el (abbrev-mode): Tighten up a bit the safety predicate. + +2006-04-25 Ryan Yeske + + * net/rcirc.el (rcirc-print): Revert last change with ignored nicks. + (rcirc-toggle-low-priority): Doc fix. + (rcirc-handler-NOTICE): Remove beginning of line anchor in + ChanServ regexp. + (rcirc-startup-channels-alist): Connect to #rcirc by default, not + #emacs. + (rcirc-bright-nick-regexp, rcirc-dim-nick-regexp): Add variables. + (rcirc-decode-coding-system): Use utf-8 as the default. + (rcirc-multiline-minor-mode): Set the fill-column. + (rcirc-format-response-string): Display bright and dim nicks. + (rcirc-browse-url): Update interactive spec to fill ARG. + (rcirc-bright-nick, rcirc-dim-nick): Add faces. + (rcirc-print): Ignore dim-nick messages wrt modeline-activity. + +2006-04-24 J.D. Smith + + * textmodes/bibtex.el (bibtex-find-entry): Don't demand matching + case for @Article, etc. + +2006-04-23 Michael Albinus + + * net/tramp.el (tramp-register-file-name-handlers): New defun. + Added with autoload cookie. + (tramp-unload-file-name-handlers): Rename from + `tramp-unload-file-name-handler-alist'. + +2006-04-23 Romain Francoise + + * comint.el (comint-match-partial-filename): Doc fix. + +2006-04-21 Glenn Morris + + * calendar/cal-menu.el (calendar-mode-map): Refer to + `diary-view-entries' rather than alias `view-diary-entries'. + * calendar/diary-lib.el (view-other-diary-entries): Ditto. + +2006-04-21 Luc Teirlinck + + * progmodes/antlr-mode.el (antlr-default): + * cus-edit.el (custom-documentation): + * faces.el (scroll-bar, border, cursor, mouse): Avoid nil spec + in defface. + +2006-04-21 Kim F. Storm + + * image.el (image-type): New defun split out of create-image. + (create-image): Use it. + +2006-04-21 Carsten Dominik + + * textmodes/org.el (org-mode-map): Catch conflict with old allout.el. + (org-open-at-point): Remove the "...done" message to keep output + in the echo area visible. + (org-export-as-xoxo): Fix call to `indent-region'. + +2006-04-21 Kevin Ryde + + * international/mule.el (keyboard-coding-system): defcustom + info-link fixes: "Specify Coding" has been split, keyboard now in + "Terminal Coding", and "Single-Byte Character Support" is now + "Unibyte Mode". + +2006-04-21 Nick Roberts + + * progmodes/gdb-ui.el (gdb-data-list-register-values-handler): + Use font-lock-warning-face for any errors e.g. no stack. + (gdb-stack-list-locals-handler): Display any errors e.g. no stack. + +2006-04-20 Dan Nicolaescu + + * progmodes/sh-script.el (sh-shell): Mark as safe. + + * newcomment.el (comment-start, comment-start-skip) + (comment-end-skip, comment-end): Mark as safe. + +2006-04-20 Carsten Dominik + + * textmodes/org.el (org-deadline-announce): Face removed. + (org-level-faces, org-n-levels): Convert to constant. + (org-compatible-face): New function. + (org-hide, org-level-1, org-level-2, org-level-3, org-level-4) + (org-level-5, org-level-6, org-level-7, org-level-8) + (org-special-keyword, org-warning, org-headline-done, org-link) + (org-date, org-tag, org-todo, org-done, org-table, org-formula) + (org-scheduled-today, org-scheduled-previously, org-time-grid): + Face definition revised for better color tty support. + (org-bold-re, org-italic-re, org-underline-re): New constants. + (org-set-font-lock-defaults): Use the new constants. + (org-agenda-highlight-todo): New function. + (org-agenda-todo): Fix bug with point at end of line. + (org-agenda-change-all-lines, org-finalize-agenda-entries): + Fontify TODO keywords. + (org-insert-link): Preserve relative path in ../ links. + (org-export-as-html): Convert links pointing to .org files into + links that will work beteen the exported HTML files. + (org-todo-list): Fix bug when arg=0. + (org-insert-heading): More fine-tuning. + +2006-04-19 Romain Francoise + + * mail/rmail.el (rmail-convert-to-babyl-format): Use second group + from `rmail-mime-charset-pattern'. + +2006-04-18 Dan Nicolaescu + + * progmodes/python.el (python-mode): Fix typo. + +2006-04-18 J.D. Smith + + * comint.el (comint-previous-input): Don't clobber input line + when moving off either end of the input history ring. + (comint-delete-input): New function, used by + `comint-previous-input' and others. + (comint-previous-matching-input): + Use `coming-delete-input'. Save the partial input if leaving the + edit line. Goto point-max before deleting input to avoid + partial input fragments hanging around. + (comint-restore-input): New function, used by `comint-previous-input'. + +2006-04-18 Luc Teirlinck + + * imenu.el (imenu--index-alist): Balance parentheses. + +2006-04-18 Dan Nicolaescu + + * progmodes/python.el (python-mode): Add support for hs-minor-mode. + +2006-04-19 Reiner Steib + + * abbrev.el (read-abbrev-file): Use abbrev-file-name if optional + file is nil. + +2006-04-18 Richard Stallman + + * tooltip.el (tooltip-mode, tooltip-use-echo-area): Doc fixes. + + * imenu.el (imenu-create-index-function, imenu--index-alist) + (imenu--last-menubar-index-alist, imenu--make-index-alist) + (imenu-default-create-index-function, imenu--generic-function): + Doc fixes. + + * image-mode.el (image-toggle-display): Handle tar and arc subfiles. + + * help-mode.el (help-mode): Set view-exit-action to delete window. + + * env.el (setenv): Get rid of arg UNSET. Interactive unsetting + now works by passing nil as arg. + + * apropos.el (apropos-print): Don't do where-is on self-insert-command. + + * abbrev.el (edit-abbrevs-redefine): Temporarily widen. + (read-abbrev-file): Provide default when reading filename. + + * files.el (enable-local-variables): Allow :all as value. + (hack-local-variables): Implement that value. + (safe-local-variable-values, safe-local-eval-forms) + (enable-local-variables): Mark as risky. + (find-file-visit-truename, kept-old-versions): Mark safe. + + * time-stamp.el (time-stamp-format, time-stamp-line-limit) + (time-stamp-start, time-stamp-end, time-stamp-inserts-lines) + (time-stamp-count, time-stamp-pattern): Add safe-local-variable prop. + +2006-04-18 Stefan Monnier + + * progmodes/tcl.el (tcl-send-string, tcl-send-region): + Use forward-line so as to get to BOL even in the presence of fields. + (tcl-eval-region): Strip surrounding space to avoid multiple prompts + in return. + (inferior-tcl): Tell tclsh to work in interactive mode. + + * complete.el (partial-completion-mode): + Use 'choose-completion-string-functions to make sure that + choose-completion fills the minibuffer properly. + + * complete.el (PC-old-read-file-name-internal): Remove. + (PC-read-include-file-name-internal): Remove. Turn it into an advice + of read-file-name-internal. + (partial-completion-mode): Enable/disable this advice. + +2006-04-18 Juanma Barranquero + + * net/tramp.el (tramp-completion-file-name-handler): Revert change + of 2006-04-17. + +2006-04-18 Carsten Dominik + + * textmodes/org.el (org-insert-heading): Insert heading before + current if at beginning of line. + (org-todo, org-date): New faces. + (org-table-align): Make sure tooltip window contains full text. + (org-no-properties): New defsubst. + (org-set-font-lock-defaults): Use new faces. + +2006-04-18 Nick Roberts + + * progmodes/gud.el (gud-speedbar-item-info): Display frame address + for root variables. + + * progmodes/gdb-ui.el (gdb-pc-address): Rename from gdb-frame-address. + (gdb-frame-address): Re-use to identify frame for watch expression. + (gdb-var-list, gdb-var-create-handler): Add frame address for root + variables. + (gdb-init-1, gdb-source, gdb-post-prompt) + (gdb-assembler-custom, gdb-invalidate-assembler): Use gdb-pc-address. + (gdb-frame-handler): Get gdb-frame-address. + +2006-04-17 Michael Albinus + + Sync with Tramp 2.0.53. + + * net/tramp.el (tramp-completion-mode): ?\t has event-modifier + 'control. Reported by Matthias F,Av(Brste . + (tramp-completion-file-name-handler): Add autoload cookie for + adding to `file-name-handler-alist'. + + * net/tramp-smb.el (tramp-smb-wait-for-output): Wait always for + the prompt. If it returns earlier (when detecting an error + message), the rest of the output will merge accidently with the + output of the next command. Reported by M Jared Finder + . + + * net/tramp-vc.el (vc-user-login-name): Wrap defadvice with a test + for `process-file', in order to let it work for older Emacsen too. + +2006-04-17 Ralf Angeli + + * textmodes/tex-mode.el (tex-font-lock-match-suscript): New function. + (tex-font-lock-keywords-3): Use it. + +2006-04-16 Stefan Monnier + + * newcomment.el (comment-add): New function. + (comment-region-default, comment-dwim): Use it. + +2006-04-15 Michael Olson + + * emacs-lisp/tq.el: Improve comments. + (tq-queue-head-question): New accessor function. + (tq-queue-head-regexp, tq-queue-head-closure, tq-queue-head-fn): + Update for modified queue structure. + (tq-queue-add): Accept `question' argument. + (tq-queue-pop): If a question is pending, send it. + (tq-enqueue): Accept new optional argument `delay-question'. + If this is non-nil, and at least one other question is pending a + response, queue the question rather than sending it immediately. + +2006-04-15 Roland Winkler + + * calendar/appt.el (appt-add): Check whether an appointment is + already present in appt-time-msg-list. Simplify code. + +2006-04-14 Stefan Monnier + + * progmodes/cc-langs.el (c-mode-menu): + Don't presume c-subword-mode is bound. + +2006-04-13 Bill Wohler + + * cus-edit.el (customize-package-emacs-version-alist): Update docstring. + (customize-package-emacs-version): Use cdr instead of cadr now + that alists use dotted pairs. + + * custom.el (defcustom): Fix docstring for :package-version. + +2006-04-13 Michael Albinus + + * net/tramp.el (tramp-display-shell-command-buffer): New defvar. + (tramp-handle-shell-command): Display output buffer only when + `tramp-display-shell-command-buffer' is true. + (tramp-handle-process-file): Set `tramp-display-shell-command-buffer'. + +2006-04-13 Carsten Dominik + + * textmodes/org.el (org-set-autofill-regexps): Set only the local + values of `adaptive-fill-regexp' and `adaptive-fill-function'. + +2006-04-13 Romain Francoise + + * pcvs-parse.el (cvs-parse-table): Use `with-temp-buffer' to avoid + leaving temporary .cvsignore buffers behind. + +2006-04-13 Carsten Dominik + + * textmodes/org.el (org-set-regexps-and-options) + (org-get-current-options): Better names for the startup folding + options. + +2006-04-13 Thien-Thi Nguyen + + * vc.el (vc-annotate): Arrange for point to end up at the same + line number as in the original, but only when using a new buffer. + +2006-04-12 Stuart Herring (tiny change) + + * files.el (hack-one-local-variable-eval-safep): + Recognize `edebug-form-spec' for `put', but only if it passes + `edebug-basic-spec'. Generalize `put' handling. + + * emacs-lisp/edebug.el (edebug-basic-spec): New function for + vetting file-local form specs. + + * allout.el (allout-layout): Autoload its `safe-local-variable' + property. + +2006-04-13 Carsten Dominik + + * textmodes/org.el (org-ctrl-c-ctrl-c): Improve documentation string. + (org-agenda-mouse-1-follows-link) + (org-mouse-1-follows-link): New options. + (org-format-agenda-item): Fix bug if TAGS is nil. + (org-agenda-get-scheduled): Quote `priority' symbol in plist. + +2006-04-13 Nick Roberts + + * progmodes/gdb-ui.el (gdb-set-gud-minor-mode-existing-buffers): + GDB 6.1+ gives full filename for "info sources" so use + file-name-nondirectory. + +2006-04-12 Romain Francoise + + * subr.el (read-passwd): Bind `message-log-max' to nil. + +2006-04-12 Stefan Monnier + + * progmodes/perl-mode.el (perl-indent-new-calculate): + Recompute parse-start after jumping backward by a whole sexp. + +2006-04-11 Stefan Monnier + + * vc.el (vc-ensure-vc-buffer): Only change current-buffer, not the + window configuration. + (vc-annotate-display-select): Select the buffer so that current-buffer + (and selected-window) is the output buffer at the end of vc-annotate. + +2006-04-11 J.D. Smith + + * vc.el (vc-annotate-color-map): Add custom TTY color map for + 8-color terminals, to use all of the colors in a sensible order. + 256-color terminals work well with the standard map. + (vc-annotate-lines): Only strip the first color character if it + is "#", to allow for terminal-style named colors. + (vc-annotate-warp-version): Pass buf to `goto-line' to ensure + the correct buffer is scrolled. + +2006-04-11 Richard Stallman + + * emacs-lisp/bytecomp.el (byte-compile-file): + Bind enable-local-variables to :safe, and make normal-mode obey it. + + * files.el (enable-local-variables): Allow value :safe. + (normal-mode): Doc fix. + (hack-local-variables): Implement enable-local-variables = :safe. + (hack-local-variables-confirm): Don't prevent quitting. + +2006-04-11 Stefan Monnier + + * loadhist.el (unload-feature): A bit of sanity check of + load-history entries. Cancel timer-vars before unbinding them. + + * hexl.el (hexl-isearch-search-function): Fix regexp-building code to + quote special chars, and make the trick work on the hex part of the + buffer as well. + (hexl-mode, hexl-save-buffer, hexl-mode-exit) + (hexl-maybe-dehexlify-buffer): Use restore-buffer-modified-p. + + * startup.el (normal-splash-screen): Fix last change so we don't wait + 2 minutes if we don't show the splash screen. + +2006-04-11 Carsten Dominik + + * textmodes/org.el (org-export-plain-list-max-depth) + (org-table-spaces-around-separators) + (org-radio-targets, org-activate-camels) + (org-table-spaces-around-invisible-separators): Options removed. + (org-time-stamp-rounding-minutes, org-remember-templates) + (org-ellipsis, org-activate-links, org-descriptive-links): + New options. + (org-remember-apply-template, org-current-time) + (org-finish-edit-table-field) + (org-link-unescape, org-link-escape) + (org-string-width, org-table-clean-line, org-html-do-expand) + (org-edit-agenda-file-list, org-store-new-agenda-file-list) + (org-read-agenda-file-list): New functions. + (org-table-edit-field) + (org-table-create-or-convert-from-region): New commands + (org-table-toggle-vline-visibility): Command removed. + (org-table-convert-region): Made a command. + (orgtbl-deleta-backward-char, orgtbl-delete-char): Remove commands. + Replace with the normal org- functions. + (org-self-insert-command): Don't trigger realign unnecessarily + when blanking a field that is not full. + (org-mode): `Set buffer-invisibility-spec' for links. + (org-activate-links2): Hide link part and only show descriptive + part of the link. + (org-insert-link): Modify for new linking system. + (org-store-link): Store description separately, for use by + `org-insert-link'. + (org-table-align): Use `org-string-width'. + (defgroup): Completely new group structure for custom variables. + (org-agenda-files): Option: Single file name allowed. Function: + Optional argument unrestrited means ignore any restricitons. + (org-install-agenda-files-menu): Find a buffer in Org-mode before + trying to modify the menu. Use generalized access to + `org-agenda-files.' + (org-agenda-list, org-todo-list, org-cycle-agenda-files) + (org-agenda-file-to-front, org-remove-file, org-diary) + (org-tags-view, org-export-icalendar-all-agenda-files) + (org-export-icalendar-combine-agenda-files): Use generalized + access to `org-agenda-files'. + (org-remember-handler): Correctly preserve heading if present. + (org-table-insert-row, org-table-insert-hline): Deal with + invisible characters. + +2006-04-10 J.D. Smith + + * vc.el (vc-annotate-display-mode): Made default 'fullscale. + (vc-annotate-color-map): New 18 element constant + value/saturation, rotating hue colormap, from red->blue. + (vc-annotate-mode-menu): "Default" -> "By Color Map Range". + (vc-annotate-display-select): Switch to annotate-mode elsewhere. + (vc-annotate): To avoid killing the required local variables, + set them before the end of `with-output-to-temp-buffer', and + after first switching to annotate-mode. + (vc-annotate-warp-version): Add buffer argument in goto-line to + ensure annotation, not source, is scrolled. + +2006-04-10 Bill Wohler + + * custom.el (defcustom, custom-handle-keyword): + Add :package-version keyword. + (custom-add-package-version): New function. Sets value of new + property 'custom-package-version from :package-version keyword. + (defcustom): Create Common Keywords section in docstring. + (defface, defgroup): Replace definitions of a select few keywords + with a reference to the Common Keywords in defcustom. + (defcustom, defface, defgroup): Replace reference to Customization + chapter in manual with hyperlink. + + * cus-edit.el (customize-package-emacs-version-alist): New variable. + (customize-changed-options): Add check for custom-package-version. + (customize-package-emacs-version): New function to look up Emacs + version corresponding to the given package version. + + * emacs-lisp/find-func.el (find-function-regexp): Allow dashes in + defun name, in similar fashion to find-variable-regexp. + +2006-04-10 Eli Zaretskii + + * international/mule-cmds.el (set-locale-environment): Fix last + change for when the locale's preferences don't specify any encoding. + +2006-04-10 Stefan Monnier + + * emacs-lisp/find-func.el (find-function-search-for-symbol): Fix regexp + so the defined var/fun doesn't need to be quoted. + +2006-04-10 Richard Stallman + + * finder.el (finder-mode-map): Add n and p bindings. + +2006-04-10 Nick Roberts + + * progmodes/gdb-ui.el (gdb-init-1): Re-initialise gdb-main-file to nil. + (gdb-get-version): Make it work for pre "interpreter mi" (GDB 5.3?). + (gdb-setup-windows): Put something in source window if we can't find + the source file. + (gdb-frame-handler): Make it work again with just assembly. + (gdb-data-list-register-values-handler): Make it work when there is + no stack. + +2006-04-09 Richard Stallman + + * mail/rmail.el (rmail-mime-charset-pattern): Ignore format and delsp + specs while looking for charset. + + * textmodes/picture.el (picture-mode-exit): Run picture-mode-exit-hook. + + * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X): + Make them faces. + (lm-font-lock-keywords): Update appropriately. + +2006-04-10 Kim F. Storm + + * simple.el (filter-buffer-substring): Add NOPROPS arg, so + it can also replace buffer-substring-no-properties. + + * emulation/cua-base.el (cua-delete-region, cua-paste) + (cua-repeat-replace-region): Use filter-buffer-substring. + + * emulation/cua-gmrk.el (cua-copy-region-to-global-mark) + (cua-cut-region-to-global-mark): Likewise. + + * emulation/cua-rect.el (cua--extract-rectangle) + (cua-incr-rectangle, cua--rectangle-aux-replace): Likewise. + +2006-04-09 Roland Winkler + + * textmodes/bibtex.el (bibtex-entry-update): New optional arg + entry-type. Add field delimiters to numerical fields if they are + not present. + +2006-04-09 Roland Winkler + + * textmodes/bibtex.el (bibtex-find-text-internal): Add new element + string-const to return value. + (bibtex-remove-delimiters): Use it. + +2006-04-08 Stefan Monnier + + * emacs-lisp/bytecomp.el (byte-compile-form): Don't call + cl-byte-compile-compiler-macro unless it exists. + +2006-04-08 Eli Zaretskii + + * files.el (hack-local-variables-confirm) : + Clarify message text. Suggested by Ralf Angeli. + +2006-04-08 Micha,Ak(Bl Cadilhac + + * rect.el (kill-rectangle): Don't barf if `kill-read-only-ok' is set. + (delete-extract-rectangle-line): Use `filter-buffer-substring' + instead of `buffer-substring' and `delete-region'. (Most of the + code actually copied from `kill-region'.) + +2006-04-08 Ryan Yeske + - * rcirc.el (rcirc-default-server): Rename from rcirc-server. ++ * net/rcirc.el (rcirc-default-server): Rename from rcirc-server. + (rcirc-default-port): Rename from rcirc-port. + (rcirc-default-nick): Rename from rcirc-nick. + (rcirc-default-user-name): Rename from rcirc-user-name. + (rcirc-default-user-full-name): Rename from rcirc-user-full-name. + (rcirc-low-priority-flag): New variable. + (rcirc-decode-coding-system): New defcustom. + (rcirc-encode-coding-system): New defcustom. + (rcirc-coding-system-alist): New defcustom. + (rcirc-multiline-major-mode): New defcustom. + (rcirc-nick): New internal variable. + (rcirc-process): Remove variable. + (rcirc-server-buffer): New variable. + (rcirc): Update to use rcirc-default-* variables above. + (rcirc-connect): Do not add window-configuration-hook-here. + (rcirc-server): New internal variable. + (rcirc-connect): Do not send keepalive pings if + rcirc-keepalive-seconds is nil. + (with-rcirc-server-buffer): New macro. + (rcirc-send-string): Encode with rcirc-encode-coding-system. + (rcirc-server-name): Rename from rcirc-server. + (rcirc-buffer-process): New function. + (rcirc-buffer-nick): New function. + (rcirc-buffer-target): Remove function. + (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system): + New commands. + (rcirc-mode-map): Change binding of C-c C-l to + rcirc-toggle-low-priority. + (rcirc-mode): Initialize coding system based on + rcirc-coding-system-alist. New change-major-mode-hook to part the + channel on a mode change. Make kill-buffer-hook buffer-local. + (rcirc-change-major-mode-hook): New function. + (rcirc-clean-up-buffer): Rename from rcirc-kill-buffer-hook-1. + (rcirc-last-post-time): New variable. + (rcirc-process-message): Store the last time user posted a message + to this target. + (rcirc-multiline-minor-mode): New mode. + (rcirc-multiline-minor-mode-map): New mode map. + (rcirc-edit-multiline): Put multiline-edit buffer in + rcirc-multiline-major-mode along with rcirc-multiline-minor-mode. + (rcirc-print): Ignore any line starting with an ignored nick. + (rcirc-print): Decode using rcirc-decode-coding-system. + (rcirc-track-minor-mode): Update global-mode-string when disabling + this mode. + (minor-mode-alist): Add LowPri indicator. + (rcirc-toggle-low-priority): New function. + (rcirc-last-non-irc-buffer): Prefix arg now no means switch to + next lowpriority buffer with activity. + (rcirc-record-activity): Sort buffers in rcirc-activity by the + last time the user posted a message in to the target. + (rcirc-update-activity-string): New formatting for low priority + buffers. + (rcirc-split-activity): New function. + (rcirc-handler-PART, rcirc-handler-KICK) + (rcirc-handler-PART-or-KICK): Kick responses are printed properly. + (rcirc-nick-away-alist): New variable. + (rcirc-handler-301): New handler. Away messages are printed once + per change. + +2006-04-08 Eli Zaretskii + + * info.el (Info-follow-nearest-node): Doc fix. + + * international/mule-cmds.el (set-locale-environment): Make sure + the coding-system preferred by the locale's language has the same + EOL conversion type as the original buffer-file-coding-system. + (locale-language-names): Add a few MS Windows language codes. + +2006-04-07 Richard Stallman + + * simple.el (eval-expression): Doc fix. + + * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp) + (eval-defun): Doc fixes. + +2006-04-07 Reiner Steib + + * pgg-gpg.el: Revert to revision 1.8 to allow the use of gpg-agent. + +2006-04-07 Nick Roberts + + * progmodes/gdb-ui.el (gdb-init-2): Set current filename using + GDB list command without argument for greater generality. + +2006-04-06 Reiner Steib + + * subr.el (string-or-null-p): New function. + + * textmodes/paragraphs.el (sentence-end): Use string-or-null-p. + + * textmodes/ispell.el (ispell-local-dictionary): Use string-or-null-p. + + * files.el: Update comment about safe-local-variable declarations. + +2006-04-06 J.D. Smith + + * progmodes/idlwave.el: Updated to IDLWAVE version 6.0. + See idlwave.org. + + * progmodes/idlw-shell.el: Updated to IDLWAVE version 6.0. + See idlwave.org. Includes code to obsolete idlw-rinfo.el. + + * progmodes/idlw-help.el: Updated to IDLWAVE version 6.0. + See idlwave.org. + + * progmodes/idlw-complete-structtag.el: Updated to IDLWAVE + version 6.0 (minimal changes). See idlwave.org. + + * progmodes/idlw-toolbar.el: Updated to IDLWAVE version + 6.0 (minimal changes). See idlwave.org. + + * progmodes/idlw-rinfo.el: File obsoleted and removed. + +2006-04-06 Romain Francoise + + * pgg-gpg.el: Sync back with Gnus 5.10, reverting changes that add + symmetric encryption features and a new asynchronous interface to + GnuPG. This new version is version 1.4, plus whitespace changes. + +2006-04-06 Reiner Steib + + * files.el: Move some `safe-local-variable' declarations to the + respective files. + + * textmodes/ispell.el (ispell-check-comments) + (ispell-local-dictionary): Mark as safe. + + * abbrev.el (abbrev-mode): Mark as safe. + + * add-log.el (change-log-default-name): Mark as safe. + + * textmodes/reftex-vars.el (reftex-vref-is-default) + (reftex-fref-is-default, reftex-level-indent) + (reftex-guess-label-type): Mark as safe. + + * textmodes/fill.el (colon-double-space): Mark as safe. + + * textmodes/paragraphs.el (paragraph-start, paragraph-separate) + (sentence-end-double-space, sentence-end-without-period) + (sentence-end-without-space, sentence-end, sentence-end-base) + (page-delimiter, paragraph-ignore-fill-prefix): Mark as safe. + +2006-04-06 Kim F. Storm + + * ido.el (ido-mode): Remove ido-ignore-unc-host-regexps from + the :set-after list. + (ido-downcase-unc-hosts): New user option. Default on. + (ido-ignore-unc-host-regexps): Don't reset ido-unc-hosts-cache + when it is set, as regexps are now applied on the fly. + (ido-unc-hosts): Keep all known hosts in ido-unc-hosts-cache. + Make C-a DTRT--filter hosts through ido-ignore-unc-host-regexps + on the fly, but only when ido-process-ignore-lists is set. + Do case insensitive filtering if ido-downcase-unc-hosts is set. + Only downcase names if ido-downcase-unc-hosts is set. + +2006-04-06 Juanma Barranquero + + * ido.el (ido-unc-hosts-cache): Fix typo in docstring. + + * woman.el (WoMan-xref-man-page): Fix call to `substring'. + +2006-04-05 Kim F. Storm + + * ido.el (ido-mode): Set after ido-unc-hosts and + ido-ignore-unc-host-regexps. + (ido-save-history): Save ido-unc-hosts-cache. + (ido-load-history): Load ido-unc-hosts-cache. + (ido-reread-directory): Refresh unc hosts cache in // dir. + + * startup.el (fancy-splash-screens): Set emulation-mode-map-alists + to nil while displaying slash screen. + +2006-04-05 Daiki Ueno + + * pgg-gpg.el (pgg-gpg-encrypt-region, pgg-gpg-sign-region): + Wait for BEGIN_SIGNING too, new in GnuPG 1.4.3. + +2006-04-05 Kenichi Handa + + * international/characters.el: Setup cases of Latin, Greek, and + Cyrillic characters in CJK charsets. + +2006-03-29 Daiki Ueno + + * pgg-gpg.el (pgg-gpg-start-process): Don't bind + default-enable-multibyte-characters. This reverts the change from + revision 6.17 which is no longer necessary because the passphrase + is sent separately now. GnuPG messages are unreadable under + multibyte locales with default-enable-multibyte-characters set to nil. + +2006-04-04 Andreas Schwab + + * files.el: Mark `left-margin', `byte-compile-dynamic-docstrings' + and `byte-compile-warnings' as `safe-local-variable'. + +2006-04-04 Dan Nicolaescu + + * man.el (Man-mode-map): Restore the \r binding. + (Man-abstract-xref-man-page): If Man-target-string is a function, + call it. + (Man-highlight-references): Use Man-default-man-entry to get the + target. Deal with xrefs too. + (Man-highlight-references0): Don't call the target function. + + * woman.el (WoMan-xref-man-page): Strip the section number, woman + cannot deal with it. + +2006-04-04 Daiki Ueno + + * pgg-gpg.el: Clean up process buffers every time gpg processes + complete. + +2006-04-04 Kenichi Handa + + * sort.el (sort-build-lists): Don't bind inhibit-field-text-motion + here. + (sort-lines, sort-numeric-fields, sort-fields, sort-columns): + Temporarily bind inhibit-field-text-motion to t. + +2006-04-03 Stefan Monnier + + * startup.el (normal-splash-screen): Only set mode-line-format in the + splash buffer, so as not to interfere when debugging the code. + Ignore errors when switching buffer. + +2006-04-03 Romain Francoise + + * dired.el (dired-dnd-protocol-alist): Fix typo. + +2006-04-03 Reiner Steib + + * savehist.el (savehist): Add :version. + (savehist-ignored-variables): New variable. + (savehist-minibuffer-hook): Don't save variables listed in + `savehist-ignored-variables'. + + * dired.el (dired-dnd-protocol-alist): Mention that change does + only apply to new buffers in doc string. + +2006-04-03 Lennart Borgman (tiny change) + + * recentf.el (recentf-open-files-item): Include newline in button + field, so opening a file will work, when the point is at the end + of the file name. Allow, for example, to [i]search a file by + extension and just push RET to open it. + +2006-04-03 Daiki Ueno + + * pgg-gpg.el (pgg-gpg-process-filter) + (pgg-gpg-wait-for-completion): Check if buffer is alive. + + * pgg-gpg.el (pgg-gpg-process-sentinel): Don't remove GNUPG: + lines, temporary fix. + +2006-04-02 Dan Nicolaescu + + * ibuf-macs.el (define-ibuffer-column): Document the new parameter. + +2006-04-02 Richard Stallman + + * progmodes/compile.el (compilation-message-face): Make it defcustom. + +2006-04-02 Dan Nicolaescu + + * ibuf-macs.el (define-ibuffer-column): Add a new key: + header-mouse-map. + + * ibuffer.el (ibuffer-name-header-map, ibuffer-size-header-map) + (ibuffer-mode-header-map): New keymaps. + (ibuffer-update-title-and-summary): Enable mouse face highlighting + and keybindings for column headers. + (name, size, mode) : Add a header-mouse-map + property. + +2006-04-02 Drew Adams + + * speedbar.el (speedbar-after-create-hook): Doc fix. + +2006-04-02 Michael Ernst + + * shell.el (shell-directory-tracker) + (shell-dynamic-complete-command): Doc fixes. + +2006-04-01 Matt Hodges + + * pcomplete.el (pcomplete-show-completions): Recognize TAB on text + terminals. + +2006-04-01 Kim F. Storm + + * ido.el (ido-unc-hosts-cache): New defvar. + (ido-unc-hosts): If value of defcustom is a function, call it to + get list of UNC hosts. Add function-item choices to specify + ido-unc-hosts-net-view or user function. + (ido-ignore-unc-host-regexps): New defcustom. + (ido-unc-hosts-net-view, ido-unc-hosts): New functions. + (ido-is-unc-root, ido-is-unc-host, ido-file-name-all-completions) + (ido-exhibit): Call ido-unc-hosts to get list of UNC hosts. + +2006-03-13 Stefan Monnier + + * pcvs-util.el (cvs-insert-strings): Fix bug with strings longer than + wwidth. + +2006-03-31 Juanma Barranquero + + * ido.el (ido-cache-unc-host-shares-time, ido-report-no-match) + (ido-max-work-file-list, ido-switch-buffer) + (ido-read-file-name-as-directory-commands): + Fix typos in docstrings. + +2006-03-30 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-system-coding-system): Define and use after + Mac-specific coding systems are ready. + +2006-03-27 Romain Francoise + + * net/rcirc.el (rcirc-connect): Add autoload cookie. + + * ldefs-boot.el: Update. + +2006-03-27 Daiki Ueno + + * pgg-gpg.el: Invoke gpg asynchronous, to avoid querying for + passphrases when it is not needed. + (pgg-gpg-use-agent): Add, to hard code that pgg shouldn't wait for + passphrase stuff from gpg, should only be necessary when you use + gpg with a smartcard. + +2006-03-27 Nick Roberts + + * comint.el (comint-dynamic-list-completions): Allow user to + select *Completions* buffer. + +2006-03-27 Carsten Dominik + + * textmodes/org.el (org-get-level-face): Fix bug with level counting. + +2006-03-26 Andreas Schwab + + * progmodes/gud.el (gdb): Only complain about multiple debugging + when the gdb process is still running. + +2006-03-25 Eli Zaretskii + + * mail/rmail.el (tool-bar-map): Defvar it. + (rmail-tool-bar-map): Tool-bar buttons for Rmail. + (rmail-perm-variables): Make rmail-tool-bar-map a local variable. + +2006-03-25 Sven Joachim (tiny change) + + * help.el (print-help-return-message): Suggest to use + display-buffer instead of switch-to-buffer-other-window to restore + the previous window without selecting it. + +2006-03-25 YAMAMOTO Mitsuharu + + * frame.el (select-frame-by-name): Call x-focus-frame also when + window-system is mac. + + * term/mac-win.el: Adjust Courier font specifications in + x-fixed-font-alist. + (mac-select-convert-to-string): Use utf-16be-mac or utf-16le-mac + when directly encoding to UTF-16 in native byte order, no BOM. + +2006-03-25 Kim F. Storm + + * emulation/cua-base.el (cua-rectangle-mark-key): New defcustom. + (cua--init-keymaps): Use it instead of fixed C-return. + (cua-mode): Set after it. + + * emulation/cua-rect.el (cua--init-rectangles): + Use cua-rectangle-mark-key instead of fixed C-return. + +2006-03-25 Nick Roberts + + * progmodes/gdb-ui.el (gdba): Revert 2006-03-10 change for case of + "run" in .gdbinit. + (gdb-var-create-regexp): Remove "^done" prefix for gdb-mi.el. + +2006-03-24 Romain Francoise + + * files.el (ctl-x-5-map): Really bind C-x 5 C-o to + `display-buffer-other-frame'. + +2006-03-24 Kim F. Storm + + * apropos.el (apropos-synonyms): Add selection => region. + +2006-03-24 Nick Roberts + + * progmodes/gdb-ui.el (gdb-var-create-regexp) + (gdb-var-list-children-regexp, gdb-var-update-regexp) + (gdb-var-list-children-regexp-1, gdb-var-update-regexp-1) + (gdb-data-list-register-values-regexp) + (gdb-stack-list-locals-regexp, gdb-stack-list-locals-handler): + Future proof against new fields being added to MI output. + (gdb-send): Don't treat backslashes for program input as + continuations. + (gdb-assembler-handler): Don't use window-start for this handler. + (gdb-frame-handler): Don't change to hollow arrow if overlay + arrow doesn't move to new frame. + +2006-03-24 Nick Roberts + + * progmodes/gdb-ui.el (gdb-continuation): Declare earlier to + prevent compiler warnings. + (gdb-stopped): Check for gud-last-last-frame (case: signal). + (breakpoint-disabled): Make lighter for contrast with overlay arrow. + (gdb-assembler-custom): Use hollow-right-triangle for assembler + buffer too. + +2006-03-23 Reiner Steib + + * pgg-gpg.el (pgg-gpg-update-agent): Check for + make-network-process, so we can use the same code in Gnus v5-10 + too and have this file fully synchronized with that release. + +2006-03-23 Romain Francoise + + * ibuf-ext.el (ibuffer-read-filter-group-name): + Use `ibuffer-generate-filter-groups' to make completion list match + the filter groups that are really displayed in the Ibuffer buffer. + (ibuffer-generate-filter-groups): Add new args noempty, nodefault. + +2006-03-23 Kenichi Handa + + * international/mule-cmds.el (sort-coding-systems): Describe that + the argument is modified in docstring. + +2006-03-22 Sascha Wilde + + * pgg-gpg.el (pgg-gpg-use-agent): Disable by default. + (pgg-gpg-update-agent): New function. + (pgg-gpg-use-agent-p): New function. + (pgg-gpg-process-region, pgg-gpg-encrypt-region) + (pgg-gpg-encrypt-symmetric-region, pgg-gpg-decrypt-region) + (pgg-gpg-sign-region): Use it. + +2006-03-21 Chong Yidong + + * cus-edit.el (custom-face-set): Call custom-push-theme before + face-spec set so that `changed' theme is correctly saved. + (custom-face-reset-standard): Reset to recalculated face rather + than defface spec. + + * custom.el (custom-push-theme): Only save `changed' theme if the + current face does not match the defface specs. + +2006-03-21 Simon Josefsson + + * pgg-gpg.el: Ideas below based on patch from Sascha Wilde + . + (pgg-gpg-use-agent): New variable. + (pgg-gpg-process-region): Use it. + (pgg-gpg-encrypt-region): Likewise. + (pgg-gpg-encrypt-symmetric-region): Likewise. + (pgg-gpg-decrypt-region): Likewise. + (pgg-gpg-sign-region): Likewise. + (pgg-gpg-possibly-cache-passphrase): Don't cache a nil password. + +2006-03-21 Carsten Dominik + + * textmodes/org.el (org-open-at-point): Fix bug in wiki-style + bracket links. + +2006-03-21 Kim F. Storm + + * progmodes/gdb-ui.el (gdb-reset): Set buffer local value of + fringe-indicator-alist instead of modifying global value. + (gdb-frame-handler): Likewise. + +2006-03-21 Nick Roberts + + * diff-mode.el (diff-function): Make it inherit from diff-header + instead of diff-context. + + * progmodes/gdb-ui.el (hollow-right-triangle): Define as fringe + bitmap. + (gdb-info-stack-custom): Rename from gdb-info-frames-custom and + change names in macro above for consistency. + (gdb-frame-handler): Use hollow-right-triangle for all selected + frames which except the innermost (where execution has stopped). + (gdb-reset): Reset buffer-local values of overlay-arrow. + +2006-03-20 Richard Stallman + + * simple.el (set-mark-command): Doc fix. + + * files.el (display-buffer-other-frame): New command. + (ctl-x-4-map): Bind C-x 5 C-o to it. + +2006-03-20 Stefan Monnier + + * jit-lock.el (jit-lock-function): Check for the actual defer-timer + rather than just defer-time, in case defer-time has been changed but + the timer isn't running yet. + (jit-lock-deferred-fontify): Correspondingly let-bind defer-timer. + +2006-03-19 Luc Teirlinck + + * help-mode.el (help-follow-symbol): New function. + Essentially identical to the old `help-follow', but do not let + `push-button' do the work when on an xref. + (help-mode-map): Bind `help-follow-symbol' to "C-c C-c". + +2006-03-19 Richard Stallman + + * help-mode.el (help-xref-symbol-regexp): Make no xref for symbol + preceded by the word `program'. + (help-follow-mouse, help-follow): Throw error if not on xref. + Delete no longer used args. + +2006-03-20 Nick Roberts + + * progmodes/gdb-ui.el (gdb-stopped): Even when there is no source + annotation ensure gud-overlay-arrow-position is redisplayed. + +2006-03-19 Roland Winkler + + * textmodes/bibtex.el (bibtex-include-OPTkey) + (bibtex-entry-field-alist, bibtex-generate-url-list): Mark as risky. + (bibtex-autokey-name-case-convert) + (bibtex-autokey-titleword-case-convert): Make these the aliases + for the following two variables. + (bibtex-autokey-name-case-convert-function) + (bibtex-autokey-titleword-case-convert-function): Make these the + real names. + (bibtex-font-lock-keywords): Make bibtex-font-lock-url and + bibtex-font-lock-crossref sublists. + (bibtex-mode): Revert 2005-12-30 change (which made + completion-ignore-case buffer-local). + (bibtex-url): Simplify. + +2006-03-19 Kim F. Storm + + * emulation/cua-rect.el (cua--highlight-rectangle): Set overlay + cursor property value to 2 (to align with C level change). + +2006-03-19 Bill Wohler + + * image.el (image-load-path-for-library): Shorten first line in + docstring. + +2006-03-18 Richard Stallman + + * mail/rmail.el (rmail-reply-regexp): Undo previous change. + +2006-03-18 Ben North (tiny change) + + * isearch.el (isearch-other-meta-char): Handle user bindings for + shifted control characters. + +2006-03-18 Agustin Martin + + * textmodes/ispell.el (ispell-skip-region-alist): Add "_+" to the + part that matches email addresses, file names, etc. + +2006-03-18 Eli Zaretskii + + * term/w32-win.el (mouse-set-font): + Mention w32-list-proportional-fonts in the doc string. + +2006-03-18 Kim F. Storm + + * ido.el (ido-cache-ftp-work-directory-time): Doc fix. + (ido-unc-hosts): New user option to explicitly define list of know + UNC-style hosts for completion. + (ido-cache-unc-host-shares-time): New user option. + (ido-is-unc-root, ido-is-unc-host, ido-cache-unc-valid): + New helper functions for UNC file-name support. + (ido-may-cache-directory): Check for UNC host. Simplify. + (ido-wash-history): Clean out old UNC hosts. + (ido-nonreadable-directory-p): UNC hosts are always readable. + (ido-directory-too-big-p): UNC hosts are never too big. + (ido-set-current-directory): Handle UNC root path. + (ido-file-name-all-completions): Complete UNC host names from + ido-unc-hosts list. Cache UNC host shares. + (ido-make-file-list-1): Don't filter UNC root. + (ido-exhibit): Check for // in root directory, and switch to UNC + mode by setting ido-current-directory to //. + +2006-03-17 Luc Teirlinck + + * cus-edit.el (customize-changed-options): Mention explicit + version number as default in prompt. + +2006-03-17 Bill Wohler + + * image.el (image-load-path-for-library): Minor docstring fix. + +2006-03-17 Carsten Dominik + + * textmodes/org.el (org-read-date): Include subgroup 5 into + replacement text. + (org-popup-calendar-for-date-prompt): Fix customization type. + +2006-03-17 Nick Roberts + + * progmodes/gdb-ui.el (gud-watch): Provide completion. + (gdb-continuation): New variable. + (gdb-send): Deal with continuation lines. + + * progmodes/gud.el (gud-gdb-complete-command) + (gud-gdb-run-command-fetch-lines): Adapt for use with watch + expressions. + (gud-tooltip-mode): Use buffer-local value. + +2006-03-16 Kim F. Storm + + * ido.el (ido-edit-input): Use selected match, if any. + +2006-03-16 Bill Wohler + + * image.el (image-load-path-for-library): Prefer user's images in + image-load-path. + +2006-03-16 Martin Rudalics + + * mouse.el (mouse-drag-vertical-line): Use window-inside-edges + when checking for attempt to drag leftmost or rightmost scrollbar. + +2006-03-16 Nick Roberts + + * progmodes/gdb-ui.el (gdb-inferior-status): New variable. + (gdb-force-mode-line-update): New function. + (gdb-resync, gdb-starting, gdb-signal, gdb-exited, gdb-stopped) + (gdb-exited): Use them. + (gdb-signal): New function. + (gdb-annotation-rules): Provide a rule for it. + +2006-03-16 Kenichi Handa + + * international/mule.el (auto-coding-regexp-alist): Add entries + for Unicode BOM. + + * sort.el (sort-build-lists): Temporarily bind + inhibit-field-text-motion to t. + +2006-03-15 Luc Teirlinck + + * locate.el (locate-command, locate-make-command-line) + (locate-fcodes-file, locate-update-command) + (locate-prompt-for-command, locate, locate-with-filter) + (locate-get-file-positions): Doc fixes. + (locate-buffer-name, locate-header-face): Remove leading `*' in + defcustom. + (locate-filter-output): Use `keep-lines' instead of its alias + `delete-non-matching-lines'. + (locate-get-filename, locate-get-dirname): Add introductory comment. + (locate-find-directory-other-window): Give appropriate error + message if used outside main listing. + +2006-03-15 Stefan Monnier + + * font-lock.el (font-lock-lines-before): Delete variable, subsumed by + the new extend-region feature. + (font-lock-after-change-function): Update correspondingly. + * jit-lock.el (jit-lock-after-change): Update correspondingly. + * progmodes/grep.el (font-lock-lines-before): Don't disable. + +2006-03-15 Bill Wohler + + * image.el (image-load-path-for-library): Fix example by not + recommending that one binds image-load-path. Just defvar it to + placate compiler and only use it if previously defined. + +2006-03-15 Carsten Dominik + + * textmodes/org.el (org-insert-centered): Use `string-width' to + make underlining work for wide characters. + (org-goto-map, org-agenda-mode-map, org-mode-map): Explicitly bind + TAB to `org-cycle', to make sure that no binding in + `outline-mode-map' can supercede it. + +2006-03-14 Ken Manheimer + + * allout.el: Increment version to 2.2.1 in file commentary. + + (allout-version): Increment to 2.2.1. + + (allout-default-layout): New customization variable, used when the + file lacks a specific allout-layout. Uses allout-layout-type for + recursively nested definition. + + (allout-layout-type): Widget defining allout layouts, necessary for + self-recursive definition. + + (allout-mode): Incorporate allout-default-layout as fallback for + allout-layout. + + (allout-layout): Mark as 'safe-local-variable', and refer mention + fallback to `allout-default-layout' in absence of a specified value. + (allout-passphrase-verifier-string) + (allout-passphrase-hint-string): Mark as 'safe-local-variable'. + + (allout-file-passphrase-verifier-string): Obsolete variable, removed. + + (allout-get-encryption-passphrase-verifier): Use correct name of + passphrase verifier in docstring. + +2006-03-15 Nick Roberts + + * progmodes/gdb-ui.el (gdb-var-list): Change order of first two + elements. + (gdb-find-watch-expression): Make it work for arrays too. + Follow change to gdb-var-list. + (gud-watch): Allow the user to enter variable name with a prexix + arg. Create keybindings. + (gdb-var-create-handler, gdb-var-evaluate-expression-handler) + (gdb-var-list-children-handler, gdb-var-update-handler) + (gdb-var-delete, gdb-edit-value, gdb-speedbar-expand-node) + (gdb-var-list-children-handler-1, gdb-var-update-handler-1): + Follow change to gdb-var-list. + (gdb-starting): Don't show the overlay arrows when program is running. + + * progmodes/gud.el (gud-speedbar-buttons): Follow change to + gdb-var-list. + +2006-03-14 Bill Wohler + + * image.el (image-load-path-for-library): Pass value of path + rather than symbol. Always return list of directories. + Guarantee that image directory comes first. + +2006-03-14 Alan Mackenzie + + * font-core.el (font-lock-extend-region\(-function\)?.): + New function/variable. + + * font-lock.el (font-lock-after-change-function): + Call font-lock-extend-region. Obey font-lock-lines-before. + (font-lock-default-fontify-region): Remove reference to + font-lock-lines-before. + + * jit-lock.el (jit-lock-after-change): + Call font-lock-extend-region. Obey font-lock-lines-before. + +2006-03-14 David Ponce + + * tree-widget.el (tree-widget-themes-load-path) + (tree-widget-themes-directory, tree-widget-theme): Doc fix. + +2006-03-13 Ryan Yeske + + * net/rcirc.el (rcirc) : Add link to manual. + (rcirc-print): Mark the start of text at the end of the prompt. + (rcirc-track-minor-mode): Add autoload cookie. + (rcirc-update-activity-string): Add space to front of mode-line + indicator. + +2006-03-13 Miles Bader + + * net/rcirc.el (rcirc-nick-abbrevs): Remove variable. + (rcirc-abbrev-nick): Remove function. + (rcirc-format-response-string): Don't call `rcirc-abbrev-nick'. + +2006-03-13 David Ponce + + * tree-widget.el: Handle themes across all occurrences of the main + themes sub-directory found in tree-widget-themes-load-path. + (tree-widget-themes-directory, tree-widget-theme): Doc fix. + (tree-widget--locate-sub-directory): Return all occurrences. + (tree-widget-themes-path): New function. + Replace tree-widget-themes-directory, and return a list of directories. + (tree-widget-set-parent-theme) + (tree-widget-lookup-image): Use it. + +2006-03-13 Carsten Dominik + + * textmodes/org.el (org-link-search): Avoid self-matching of + links, allow target text to be distributed over several lines. + (org-search-not-link): New function. + (org-set-regexps-and-options, org-get-current-options): + New startup options. + (org-export-as-html): Take odd-level setting from local variable. + (org-fontify-emphasized-text): New option. + (org-set-font-lock-defaults): Include emphasized text. + (org-follow-mhe-link): Allow folder-only links, fix folder name. + (org-font-lock): Customize group renamed from `org-faces'. + +2006-03-13 John Paul Wallington + + * ibuf-ext.el (ibuffer-never-show-predicates): Add `require' + keyword; require `ibuf-ext' feature. Thanks to Zhang Wei. + +2006-03-12 Luc Teirlinck + + * cus-start.el (all): Delete :version keyword for members of the + fringe group, since the entire group is new in 22.1. + +2006-03-13 Nick Roberts + + * progmodes/gdb-ui.el (gdb-stack-list-locals-handler): Add local + map if value is hexadecimal (an address). + (gud-watch): Only search roots for existing watch expressions. + (gdb-speedbar-refresh): Bind speedbar-shown-directories to nil to + prevent caching problems with speedbar-update-directory-contents. + +2006-03-12 Juri Linkov + + * battery.el (battery-linux-proc-acpi): Check `capacity' for non-nil + before comparing with `low' and `warn'. + + * info.el (Info-dir-remove-duplicates): Move point to the + beginning of the current line after deleting the entries from + redundant heading. Use marker for `limit' and compare it with + point before calling `re-search-forward'. + +2006-03-11 Luc Teirlinck + + * simple.el (yank): Fix typo in docstring. + +2006-03-11 Ryan Yeske + + * mail/rmailsum.el (rmail-summary-next-msg): Skip deleted + messages, where "D" is the 6th character. + +2006-03-11 Eli Zaretskii + + * simple.el (yank): Fix last change. + +2006-03-11 David Ponce + - * ispell.el (ispell-find-aspell-dictionaries): Add aliases before - merging elements from the standard ispell-dictionary-alist. ++ * textmodes/ispell.el (ispell-find-aspell-dictionaries): Add aliases ++ before merging elements from the standard ispell-dictionary-alist. + (ispell-aspell-add-aliases): Add aliases to the passed dictionary + alist, and return the new alist. + +2006-03-11 Richard Stallman + + * mail/rmail.el (rmail-ignored-headers): Discard DomainKey-Signature. + + * eshell/eshell.el (eshell-prefer-to-shell): Variable deleted; + the way it is implemented is too unclean. + + * simple.el (kill-region, yank): Doc fix. + + * battery.el (battery-echo-area-format): Doc fix. + (battery-mode-line-format): Likewise. + (battery-linux-proc-apm, battery-linux-proc-acpi): Likewise. + (battery-linux-proc-acpi): Ignore batteries that say "charged". + +2006-03-11 Kurt Hornik + + * progmodes/octave-mod.el (octave-indent-for-comment): + Behave according to do string. + +2006-03-11 Agustin Martin + + * textmodes/ispell.el (ispell-menu-map-needed) [ispell-message]: + Be visible only if major mode is Mail Mode. + + * textmodes/flyspell.el (flyspell-external-point-words) + (flyspell-process-localwords): Fix last changes. + +2006-03-11 Eli Zaretskii + + * calendar/holidays.el (list-holidays): Doc fix. + + * international/mule.el (auto-coding-alist): Add .odt + (OpenOffice's open document) files. + + * files.el (auto-mode-alist): Add .odt (OpenOffice's open + document) files. Mention in the doc string the need to sync with + auto-coding-alist. + +2006-03-10 Chong Yidong + + * files.el (hack-local-variables-confirm): Don't prompt for ! if + enable-local-variables is set to always query, or there is no + savable variable. + +2006-03-10 Bill Wohler + + * image.el (image-load-path-for-library): Merge at least three + functions from Gnus and MH-E into this one function that can now + be shared. + +2006-03-11 Nick Roberts + + * progmodes/gdb-ui.el (gdb-remove-text-properties): Rename from + gdb-remove-mouse-face and remove help-echo too. + (gdb-enqueue-input): Correct conditional clause. + +2006-03-10 Glenn Morris + + * calendar/calendar.el (calendar-holidays): Doc fix. + * calendar/holidays.el (list-holidays): Doc fix. + +2006-03-10 Nick Roberts + + * progmodes/gdb-ui.el (gdba): Don't call gdb-init-1 explicitly as + it gets called in gdb-prompt anyway. + (gdb-use-separate-io-buffer): Only restore window arrangement for + gdb-many-windows. + (gdb-enqueue-input): Make it harder to send GDB input when program + is running. + (gdb-buffer-list): New variable. + (gdb-remove-mouse-face): New function. + (gdb-starting): Use it when GDB input won't get sent. + +2006-03-08 Juanma Barranquero + + * help.el (view-lossage): Remove trailing whitespace before + inserting "\n". + +2006-03-07 Chong Yidong + + * files.el (hack-local-variables-confirm): + Set coding-system-for-read to nil before writing to .emacs. + + * arc-mode.el (archive-extract): Check if an existing buffer name + comes from a different archive. + + * help.el (describe-key-briefly): If KEY is a down event, read and + discard the up event. + +2006-03-07 Nick Roberts + + * progmodes/gud.el (gud-speedbar-buttons): Allow pointers to + be edited and use font-lock-warning-face for any changes. + + * progmodes/gdb-ui.el (gdb-edit-value-handler): New function. + (gdb-edit-value): Use it to report any errors. + +2006-03-07 Juanma Barranquero + + * help.el (describe-key): Remove leftover test code. + +2006-03-07 Carsten Dominik + + * textmodes/org.el: Move defvars out of eval-when-compile. + Use buffer-file-name variable. + (org-agenda-file-to-end, org-agenda-file-to-front): Remove unused + arg `file'. + (org-level-faces): Remove startup dependency. + (org-cycle, org-map-tree, org-scan-tags) + (org-remember-handler): Don't call `outline-level' directly. + (org-mhe-search-all-folders): New option. + (org-mhe-get-message-folder-from-index) + (org-mhe-get-message-folder): Fix indexing search. + (org-format-agenda-item): Handle nil TAGS argument. + (org-cleaned-string-for-export, org-activate-target-links) + (org-make-target-link-regexp): Deal with empty radio target list. + (org-tag): New face. + (org-get-level-face): New function. + (org-set-font-lock-defaults): Simplify setup for headlines. + (org-complete): Pass common substring to `display-completion-list'. + +2006-03-06 David Ponce + + * tree-widget.el: Update Commentary header. + (tree-widget-theme-name): Ignore parent themes. + (tree-widget-set-parent-theme): New function. + (tree-widget-set-theme): Use it. + (tree-widget-set-image-properties): Move definition. Does nothing + if image properties have already been set. + (tree-widget-image-properties): Move definition. Receive an image + name. Set the :pointer property. + (tree-widget-lookup-image): Doc fix. Search in parent themes. + Don't set the :pointer image property. + (tree-widget-convert-widget): New function. Handle :dynargs + compatibility here. + (tree-widget): Use it to :convert-widget. Add the :expander-p + predicate to control when the :expander function is entered. + Thanks to Ken Manheimer for the idea. + (tree-widget-value-create): Handle :expander-p. widget-apply + :expander. + (tree-widget-expander-p): New function. Default value of the + :expander-p property. + +2006-03-06 Chong Yidong + + * help.el (describe-key): Properly handle the return value of + read-key-sequence when grabbing an up-event. Cleanup mouse-1 + remaps. Handle string and vector `follow-link' values. + +2006-03-06 Stefan Monnier + + * complete.el (PC-expand-many-files): Try be more careful when parsing + the shell's output. + +2006-03-05 Stefan Monnier + + * outline.el (hide-sublevels): Provide better interactive default. + +2006-03-06 Kenichi Handa + + * international/fontset.el (create-fontset-from-fontset-spec): + Fix regexp for paring FONTSET-SPEC (allow spaces after `:'). + +2006-03-05 Luc Teirlinck + + * progmodes/gud.el (gud-jdb-marker-filter): Quote `[' with two + backslashes instead of one in regexp. + (gud-tooltip-dereference): Add missing optional argument. + +2006-03-04 John Paul Wallington + + * wdired.el (toplevel): Require `cl' at compile-time. + +2006-03-04 Andreas Schwab + + * server.el (server-process-filter): Handle errors during + evaluation of the argument. + +2006-03-03 John Paul Wallington + + * t-mouse.el (t-mouse-drag-start, t-mouse-swap-alt-keys): Doc fix; + escape parentheses at beginning of line. + (t-mouse-tty, t-mouse-make-event): Doc fix; use imperative. + (t-mouse-mode): Remove period from end of error message. + +2006-03-03 Agustin Martin + + * textmodes/flyspell.el (flyspell-process-localwords): + Be case-sensitive. + +2006-03-03 Martin Rudalics + + * cus-edit.el (custom-quote): Remove function, since it has been + moved to custom.el. + + * font-lock.el (lisp-font-lock-keywords-2) + * emacs-lisp/rx.el (rx-check-any, rx-check-not) + * generic-x.el (reg-generic-mode): Quote "]"s in regexps when + they have no special meaning. + + * midnight.el (clean-buffer-list): Handle case where base-buffer of + indirect buffer gets killed before indirect buffer. Use dolist. + +2006-03-03 Ken Manheimer + + * emacs-lisp/edebug.el (edebug-display): Use `edebug-sit-for-seconds' + value instead of a literal constant (1) on more pauses. + +2006-03-03 Slawomir Nowaczyk (tiny change) + + * textmodes/flyspell.el (flyspell-external-point-words): + Be case-sensitive. + +2006-03-03 Ryan Yeske + + * net/rcirc.el (rcirc-url-regexp): Match entire url when it starts + with "www". + +2006-03-03 Ken Manheimer + + * allout.el: Restablish intermediate missing comment header to + preserve outline structure. + (allout-beginning-of-current-entry): Skip invisible text. + (allout-open-topic): Fix opening a topic at end-of-buffer. + (allout-minor-mode): Move nearer to allout-mode function. + +2006-03-02 Carsten Dominik + + * textmodes/org.el (org-paste-subtree): Remove (debug) form. + +2006-03-02 Nick Roberts + + * dframe.el (dframe-frame-mode): Don't burp when menu-bar-lines + is nil. + + * progmodes/gud.el (gud-speedbar-menu-items): + Use buffer-local-value and add missing :visible keyword. + + * progmodes/gdb-ui.el (gdb-speedbar-refresh): Quieten speedbar-refresh. + +2006-03-01 Carsten Dominik + + * textmodes/reftex-index.el (reftex-index-map): `follow-mouse' + must be `follow-link'. + + * textmodes/reftex-toc.el (reftex-toc-map): Likewise. + + * textmodes/org.el (org-export-as-html): Fix bugs in HTML + formatting: No nested anchors. + (org-all-targets): Fix bug with XEmacs compatibility. + (org-read-date): Add (require 'parse-time). + (org-set-tags): Fix bug with extra inserted space. + (org-export-html-style): Define a style class for targets. + (org-agenda-keymap, org-mouse-map): Add a binding for `follow-link'. + (org-hide-leading-stars): New option. + (org-hide): New face. + (org-set-font-lock-defaults): Allow to hide leading stars. + (org-get-legal-level, org-tr-level): New functions. + (org-odd-levels-only): New option. + (org-level-faces, org-paste-subtree, org-convert-to-odd-levels) + (org-demote, org-promote): Deal with double-star levels. + (org-convert-to-odd-levels): New command. + +2006-03-01 Nick Roberts + + * speedbar.el (speedbar-update-localized-contents): Try to + preserve window-start. + (speedbar-update-directory-contents): Try to preserve window-start + and window-point. + (speedbar-update-special-contents): Don't move back to start of window. + + * progmodes/gdb-ui.el (gdb-speedbar-refresh): Rename from + gdb-speedbar-timer-fn. Use speedbar-refresh instead of + speedbar-timer-fn. + (gdb-var-update-handler, gdb-var-update-handler-1): Use it. + (gdb-speedbar-expand-node): Use speedbar-delete-subblock + instead of gdb-speedbar-timer-fn. + +2006-02-28 Jay Belanger + + * calc/calccomp.el (math-compose-tex-matrix): Add a latex option. + (math-compose-expr): Use latex option when calling + `math-compose-tex-matrix' for latex mode. + +2006-02-28 Nick Roberts + + * speedbar.el: Re-instate comments about developing for speedbar + [this is what info and gdb-ui use even if better methods exist now]. + + * t-mouse.el: New file. + (t-mouse-tty): Use with-temp-buffer. Add more terminal types. + (t-mouse-lispy-buffer-posn-from-coords): Remove. + (t-mouse-make-event-element): Use posn-at-x-y instead. + (t-mouse-make-event): Deal with Fedora Core 3. + (t-mouse-make-event): Don't sink the `stupid text mode menubar'. + (t-mouse-mouse-position-function): New function. Use it instead + of advising mouse-position. + (t-mouse-mode): New minor mode. + (t-mouse-stop, t-mouse-run): Remove. Use t-mouse-mode instead. + +2006-02-27 Glenn Morris + + * calendar/calendar.el (calendar-holidays): Doc fix. + +2006-02-27 Nick Roberts + + * progmodes/gdb-ui.el (gdb-source-window): New variable. + Re-introduce the concept of a source window. + (gdb-get-buffer-create): Rename from gdb-get-create-buffer for + consistency with get-buffer-create. + (def-gdb-auto-update-handler, gdb-info-locals-handler) + (gdb-data-list-register-values-handler) + (gdb-stack-list-locals-handler): Try to preserve window-start as + well as window-point. + (gdb-display-source-buffer): New function (old concept). + (gdb-goto-breakpoint): Use it. + + * progmodes/gud.el (gud-display-line): Use gdb-display-source-buffer + for gdb-ui/gdb-mi (old concept). + +2006-02-27 Carsten Dominik + + * textmodes/reftex-index.el (reftex-index-map): Add `follow-mouse' + binding. + + * textmodes/reftex-toc.el (reftex-toc-map): Add `follow-mouse' binding. + + * textmodes/reftex-sel.el (reftex-select-label-map) + (reftex-select-bib-map): Add `follow-mouse' binding. + +2006-02-26 Luc Teirlinck + + * jka-cmpr-hook.el (jka-compr-compression-info-list) + (jka-compr-mode-alist-additions, jka-compr-load-suffixes): + Give :set functions to provide automatic updating. + Update docstring. Give compiler defvars early in the file + and move the defcustoms to a later spot where all called functions + are defined. + (jka-compr-file-name-handler-entry): Doc fix. + (jka-compr-compression-info-list--internal) + (jka-compr-mode-alist-additions--internal) + (jka-compr-load-suffixes--internal): New variables. + (jka-compr-install): Set the three above variables. + Update `load-file-rep-suffixes' instead of `load-suffixes'. + (jka-compr-update, jka-compr-set): New functions. + (auto-compression-mode): Doc fix. + + * jka-compr.el (jka-compr-uninstall): Replace `mapcar' with `mapc'. + Update `load-file-rep-suffixes' instead of `load-suffixes'. + Use jka-compr-compression-info-list--internal, + jka-compr-mode-alist-additions--internal and + jka-compr-load-suffixes--internal. + + * files.el (load-library): + * loadhist.el (file-loadhist-lookup): + * startup.el (command-line): + * subr.el (locate-library): + * emacs-lisp/autoload.el (update-directory-autoloads): + * emacs-lisp/find-func.el (find-library-suffixes): + Use `get-load-suffixes' instead of `load-suffixes'. + + * subr.el (locate-library): + * emacs-lisp/find-func.el (find-library-name): + Use `load-file-rep-suffixes' instead of '(""). + +2006-02-26 Kim F. Storm + + * ido.el (ido-save-history, ido-load-history): Simplify. + Don't use find-file-noselect to avoid interference from other modes. + +2006-02-25 Thien-Thi Nguyen + + * progmodes/sh-script.el (sh-mode): Fix bug: Arrange + to use the default shell if filename is not available. + Reported by Giorgos Keramidas. + +2006-02-25 John Williams (tiny change) + + * progmodes/etags.el (tags-completion-table): Do completion from + all the tables in the current list, as documented in the manual. + +2006-02-24 Alan Mackenzie + + * CC Mode Update to 5.31.3. + +2006-02-24 Alan Mackenzie + + * progmodes/cc-mode.el (c-postprocess-file-styles): + Bind inhibit-read-only to t, around the call to + c-remove-any-local-eval-or-mode-variables, so that it works on a + RO file. + +2006-02-24 Alan Mackenzie + + * progmodes/cc-awk.el: Correct a typo. + +2006-02-24 Alan Mackenzie + + * progmodes/cc-cmds.el, cc-mode.el: Rename c-hungry-backspace to + c-hungry-delete-backwards, at the request of RMS. Leave the old + name as an alias. + +2006-02-24 Alan Mackenzie + + * progmodes/cc-mode.el: Correct a typo. + +2006-02-24 Alan Mackenzie + + * progmodes/cc-defs.el: Update the version number to 5.31.3. + +2006-02-24 Alan Mackenzie + + * progmodes/cc-cmds.el (c-electric-brace): Fix clean-up + brace-else-brace (error due to mbeg, mend being undefined). + +2006-02-24 Alan Mackenzie + + * progmodes/cc-mode.el: File Local variables: Solve the problem + where both `mode' and c-file-offsets are specified: `mode' will + overwrite c-f-o's settings: + (c-remove-any-local-eval-or-mode-variables): New function. + (c-postprocess-file-styles): Call the above new function, within + c-tentative-buffer-change, to splat `mode' and `eval' before the + second hack-local-variables. + +2006-02-24 Alan Mackenzie + + * progmodes/cc-mode.el: + [Supersedes patch to cc-engine.el 2005-12-16T20:07:49Z!monnier@iro.umontreal.ca] + (c-after-change): Protect the match data with save-match-data. + It was getting corrupted by c-after-change-check-<>-operators. + - * cc-defs.el: [Supersedes patch V1.38]: ++ * progmodes/cc-defs.el: [Supersedes patch V1.38]: + (top level): Check for a buggy font-lock-compile-keywords ONLY in + XEmacs. GNU Emacs 22 now has a check which would throw an error here. + + * progmodes/cc-awk.el (c-awk-after-change): Protect the match data + with save-match-data. It was being corrupted when Font Lock was + not enabled. + +2006-02-24 Alan Mackenzie + + * progmodes/cc-langs.el (c-mode-menu): Add menu items for Electric + Mode and Subword Mode. + + * progmodes/cc-engine.el (c-beginning-of-statment-1): Distinguish + real labels ("case 1:" or "foo:") from non-labels ("public:"). + (c-forward-objc-directive): Replace c-forward-token-2 with crude + coding; c-f-t-2 doesn't move over a token at EOB. + + * progmodes/cc-defs.el (c-version): Update version number to 5.31.2. + + * progmodes/cc-cmds.el, cc-mode.el, cc-engine.el + (c-update-modeline): Concatenate the minor mode indicators + directly onto mode-name, removing c-submode-indicators. + Sometimes, c-s-i got separated from the mode name on the mode line. + + * progmodes/cc-cmds.el (c-electric-brace, c-electric-semi&comma) + (c-electric-colon): Correct doc-strings: "/ln" -> "/la". + +2006-02-24 Martin Stjernholm + + * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Improve the + error message when there's an evaluation error to show whether + it's loaded from source or not. + (c-filter-ops): Make it available at runtime too to work when + `c-make-init-lang-vars-fun' needs to evaluate from source. + +2006-02-24 Juanma Barranquero + + * help.el (help): Revert last part of 2006-02-23 change (deletion + of the `provide' call). + +2006-02-23 Juri Linkov + + * compare-w.el (compare-windows-highlight): Add new value + `persistent' and change :type from `boolean' to `choice'. + (compare-windows-overlays1, compare-windows-overlays2): + New internal variables. + (compare-windows-highlight): If compare-windows-highlight is + `persistent', add current overlays to compare-windows-overlays[12] + instead of adding compare-windows-dehighlight to pre-command-hook. + (compare-windows-dehighlight): Delete all overlays from + compare-windows-overlays[12]. + + * info.el (Info-search): Don't bind search-spaces-regexp to + Info-search-whitespace-regexp in non-regexp isearch mode. + +2006-02-23 Stefan Monnier + + * help.el (describe-mode): Pass `mode-name' to format-mode-line. + +2006-02-23 Juanma Barranquero + + * textmodes/org.el (org-xemacs-p) + (org-export-html-show-new-buffer, org-table-may-need-update) + (org-insert-item, org-mhe-get-message-real-folder) + (org-mhe-get-message-folder-from-index) + (org-mhe-get-message-folder, org-mhe-get-message-num) + (org-mhe-get-header, org-make-org-heading-search-string) + (org-make-org-heading-camel, org-table-sort-lines) + (org-format-org-table-html, org-format-table-table-html): + Fix typos in docstrings. + +2006-02-23 Carsten Dominik + + * textmodes/org.el (org-cleaned-string-for-export) + (org-solidify-link-text): New function. + (org-add-hook): Use `add-local-hook' instead of `make-local-hook' for + XEmacs, just to silence the compiler. + (org-export-as-ascii, org-export-as-html-and-open): + Use `org-cleaned-string-for-export' and create internal links. + (org-follow-mhe-link): Require mh-e, use folder. + +2006-02-23 Nick Roberts + + * progmodes/gud.el (gud-speedbar-buttons): Use shadow face properly. + + * progmodes/gdb-ui.el (gdb-debug-ring-max): Rename from + gdb-debug-log-length. + (gdb-debug-ring): Rename from gdb-debug-log-ring. Don't make + it a real ring but... + (gud-gdba-marker-filter): ...make it work like mark-ring. + (gdb-enable-debug): Rename from gdb-enable-debug-log. + (gdb-mouse-jump): New function. Add bindings. + +2006-02-23 Nick Roberts + + * progmodes/gdb-ui.el (gdb-signalled): New variable and function. + (gdb-debug-log-ring): Rename from gdb-debug-log and make a ring. + (gdb-send, gdb-send-item, gud-gdba-marker-filter): Use it. + (gdb-debug-log-length): Customize it's length. + (gud-watch, gdb-var-create-handler): Display function::var format + but don't use to create variable object. + (gdb-var-create-handler): Use message-box in place of message. + (gdb-stopped): Call gdb-exited if signalled. + +2006-02-22 Carsten Dominik + + * textmodes/reftex.el (reftex-locate-file): Remove duplicate function. + + * textmodes/reftex-vars.el (reftex-try-all-extensions): New option. + + * textmodes/reftex.el (reftex-locate-file): Search all extensions + if `reftex-try-all-extensions' is set. + + * textmodes/reftex-dcr.el (reftex-view-crossref): New argument to + fail silently when there is no valid argument at point. + (reftex-view-crossref-when-idle): Call `reftex-view-crossref' with + `fail-silently' argument. From a patch by David Reiter. + + * textmodes/org.el (org-mark-ring-push, org-mark-ring-goto): + New commands. + (org-mark-ring): New variable. + (org-mark-ring-length): New option. + (org-open-at-point, org-goto, org-open-file): Push old position + onto the mark ring. + (org-add-hook): New function. + (org-export-table-remove-special-lines): New option. + (org-skip-comments, org-format-org-table-html): Respect new + option `org-export-table-remove-special-lines'. + (org-open-file): Allow special command configuration for + directory link. + (org-file-apps): Fix bugs in customize type, added setting + for directories. + (org-activate-tags, org-format-agenda-item, org-complete) + (org-get-tags-at, org-scan-tags, org-make-tags-matcher) + (org-get-tags, org-get-buffer-tags, org-open-at-point) + (org-link-search, org-make-org-heading-search-string) + (org-make-org-heading-camel): Allow @ and 0-9 as tags characters. + (org-radio-targets, org-file-link-context-use-camel-case) + (org-activate-camels): New options. + (org-update-radio-target-regexp, org-all-targets) + (org-make-target-link-regexp, org-activate-target-links): + New functions. + (org-make-org-heading-search-string): New function. + (org-store-link, org-insert-link): Use new option + `org-file-link-context-use-camel-case'. + (org-activate-camels): Use new option `org-activate-camels'. + (org-link-regexp): Add mhe prefix. + (org-open-at-point, org-store-link): Support for mhe links. + (org-mhe-get-message-real-folder, org-mhe-get-message-folder) + (org-mhe-get-message-folder-from-index, org-mhe-get-message-num) + (org-mhe-get-header, org-follow-mhe-link): New functions. + (org-remove-angle-brackets, org-add-angle-brackets): + New functions. + (org-bracket-link-regexp): New constant. + (org-read-date): Fix bug that was rejecting all typed dates. + (org-link-search): Make hierarchy above visible after a match. + (org-follow-bbdb-link): Inhibit electric mode for BBDB. + (org-store-link): Fix bug with link creation when cursor is in + an empty line. + (org-open-at-point): Fix bug with matching a link. + Fixed buggy argument sequence in call to `org-view-tags'. + (org-compile-prefix-format): Set `org-prefix-has-tag'. + (org-prefix-has-tag): New variable. + (org-format-agenda-item): Remove tags from headline + if appropriate. + (org-agenda-remove-tags-when-in-prefix): New option. + +2006-02-21 Michael Kifer + + * ediff-diff.el (ediff-setup-diff-regions, ediff-setup-diff-regions3): + Fix the regular expressions. + +2006-02-21 Richard M. Stallman + + * progmodes/sh-script.el (sh-mode): Set shell type based on file name + if there's no other specific basis. + + * emacs-lisp/unsafep.el (unsafep): Don't treat &rest or &optional + as variables at all. + (unsafep-variable): Rename arg; doc fix. + + * abbrevlist.el (list-one-abbrev-table): Add autoload. + + * calendar/appt.el (diary-selective-display): Add defvar. + + * sort.el (sort-columns): Use Posix arg syntax for `sort'. + + * isearch.el (search-whitespace-regexp): Fix custom type. + + * help.el (describe-key-briefly): Compute interactive args + in same was as before previous change. + + * files.el (enable-local-variables): Doc fix. + +2006-02-21 Kim F. Storm + + * fringe.el: Cleanup as file is now pre-loaded. + (fringe-bitmaps): Initialize unconditionally. + (fringe-mode, set-fringe-style): Remove autoload cookies. + +2006-02-21 Giorgos Keramidas (tiny change) + + * fringe.el (fringe-bitmaps): Rename `horisontal-bar' to + `horizontal-bar'. + (fringe-cursor-alist): Use `horizontal-bar'. + +2006-02-20 Kim F. Storm + + * fringe.el (fringe-bitmaps): Update to new bitmap names. + (fringe-indicator-alist, fringe-cursor-alist): Initialize. + + * loadup.el: Load "fringe" on window systems. + +2006-02-20 Nick Roberts + + * progmodes/gud.el (gud-speedbar-buttons): Use shadow face for all + out of scope components. + + * progmodes/gdb-ui.el (gdb-speedbar-auto-raise): Don't enable by + default. + +2006-02-20 Chong Yidong + + * custom.el (customize-mark-to-save, customize-mark-as-set): + Load the symbol first. + +2006-02-20 Juanma Barranquero + + * buff-menu.el (list-buffers-noselect): Turn also "\n" into a + strech spec so it doesn't display as "^J" on the header line + when `Buffer-menu-use-header-line' is t. + +2006-02-20 Nick Roberts + + * speedbar.el (speedbar-make-button): Keep text properties + of string arguments if desired. + + * progmodes/gud.el (gud-speedbar-buttons): Fontify watch + expessions. + + * progmodes/gdb-ui.el (gdb-speedbar-expand-node): Force update + of speedbar. + +2006-02-19 Ryan Yeske + + * ffap.el (ffap-read-file-or-url): Bind `completion-ignore-case' + to value of `read-file-name-completion-ignore-case'. + +2006-02-19 Chong Yidong + + * custom.el (customize-mark-as-set): Push to `user' theme. + + * cus-edit.el (custom-save-variables): Allow unthemed values. + (customize-set-variable): Push setting to `user' theme. + +2006-02-19 Nick Roberts + + * progmodes/gud.el: Don't require font-lock as it's now + automatically loaded. + (gud-speedbar-buttons): Replace gdb-var-changed with + gdb-force-update. + + * progmodes/gdb-ui.el (gdb-force-update): Rename from + gdb-var-changed. + (gdb-post-prompt): Use it. + (gdb-var-create-handler, gdb-var-evaluate-expression-handler) + (gdb-var-update-handler, gdb-var-delete) + (gdb-speedbar-expand-node, gdb-var-list-children-handler-1) + (gdb-var-update-handler-1): Don't set gdb-var-changed, just set + gdb-force-update in gdb-post-prompt. + (gdb-reset): Clear watch expressions from speedbar when quitting. + +2006-02-19 Michael Kifer + - * viper-cmd.el (viper-insert-state-post-command-sentinel) ++ * emulation/viper-cmd.el (viper-insert-state-post-command-sentinel) + (viper-change-state-to-vi, viper-change-state-to-emacs): + Make aware of cursor coloring in the Emacs state. + (viper-special-read-and-insert-char): Use read-char-exclusive. + (viper-minibuffer-trim-tail): Workaround for fields in minibuffer. + - * viper-init.el (viper-emacs-state-cursor-color): New variable. ++ * emulation/viper-init.el (viper-emacs-state-cursor-color): ++ New variable. + - * viper-util.el (viper-save-cursor-color) ++ * emulation/viper-util.el (viper-save-cursor-color) + (viper-get-saved-cursor-color-in-replace-mode) + (viper-get-saved-cursor-color-in-insert-mode) - (viper-restore-cursor-color): Make aware of the cursor color in Emacs - state. ++ (viper-restore-cursor-color): Make aware of the cursor color ++ in Emacs state. + (viper-get-saved-cursor-color-in-emacs-mode): New function. + + * ediff-diff.el (ediff-ignore-case, ediff-ignore-case-option) + (ediff-ignore-case-option3, ediff-actual-diff-options) + (ediff-actual-diff3-options): New variables to control case sensitivity. + (ediff-make-diff2-buffer, ediff-setup-fine-diff-regions) + (ediff-setup-diff-regions3): Make aware of case-sensitivity. + (ediff-toggle-ignore-case): New function. + (ediff-extract-diffs, ediff-extract-diffs3): Preserve point in buffers. + + * ediff-help.el (ediff-long-help-message-narrow2) + (ediff-long-help-message-compare2, ediff-long-help-message-compare3) + (ediff-long-help-message-word-mode): Add ignore-case command. + (ediff-help-for-quick-help): Add ignore-case command. + + * ediff-merg.el: Move provide to the end. + + * ediff-ptch.el: Move provide to the end. + + * ediff-wind.el: Move provide to the end. + + * ediff-mult.el: Move provide to the end. + (ediff-set-meta-overlay): Enable follow-link. + + * ediff.el: Move provide to the end. + Break recursive load cycle in eval-when-compile. + (ediff-patch-buffer): Better heuristics. + + * ediff-util.el: Move provide to the end. + Break recursive load cycle in eval-when-compile. + (ediff-setup-keymap): Add binding for #c. Replace some defsubsts with + defuns. + (ediff-submit-report): Pass the values of ediff-diff3-program, + ediff-diff3-options. + +2006-02-19 Juanma Barranquero + + * help-fns.el (help-do-arg-highlight): Recognize also ARG- followed by + the opening bracket of the following bracketing pairs: {}, [], (), <>, + `' (for example, in the docstring of `windmove-default-keybindings'). + +2006-02-19 Nick Roberts + + * progmodes/gud.el (gud-speedbar-buttons): Update properly for + shadow face. Don't provide binding to edit variable when it is + out of scope. + + * progmodes/gdb-ui.el (gdb-var-evaluate-expression-handler) + (gdb-var-update-handler): Detect out of scope variables with pre + GDB 6.4 too. + (gdb-post-prompt): Revert change from 2006-02-17 (force update). + Reset status of variable objects to nil in update handlers. + (gdb-var-update-handler-1): Detect when a variable object comes + in scope. setcar on var changes gdb-var-list directly. + +2006-02-17 Juri Linkov + + * ffap.el (ffap) : Add explicit face declaration. + (ffap-highlight): Use face `ffap' directly instead of checking + for its existence. + + * icomplete.el (icomplete-get-keys): Use `t' for the second arg + `visible-ok' of `other-buffer' to find the right original buffer. + + * info.el (Info-search): Skip `Local Variables' node. + +2006-02-17 Juri Linkov + + * info.el (Info-find-file): Check for symbols `apropos', `history', + `toc' in the input filename, and return these symbols as is. + (Info-find-node-2): Set Info-current-file to symbols `apropos', + `history', `toc' instead of strings. + (Info-set-mode-line): For non-string Info-current-file use the + symbol's name inside **. + (Info-isearch-push-state): Add quote before Info-current-file and + Info-current-node. + (Info-isearch-pop-state): Use `equal' instead of `string='. + (Info-extract-pointer, Info-following-node-name): Use + `match-string-no-properties' instead of `match-string'. + (Info-up): Check `old-file' for `stringp'. + (Info-history): Use `equal' instead of `string-equal'. + Check `file' for `stringp'. + (Info-history): Use symbol `history' instead of string as first arg + of `Info-find-node'. + (Info-toc): Check `Info-current-file' for `stringp'. Use symbol + `toc' instead of string. + (Info-extract-menu-node-name): Use `buffer-substring-no-properties' + instead of `buffer-substring', and `match-string-no-properties' + instead of `match-string'. + (Info-index-nodes): Check for symbols `apropos', `history', `toc' + instead of strings. + (info-apropos): Use `Info-find-node' instead of `Info-goto-node'. + Use symbol `apropos' instead of string. + (Info-copy-current-node-name): Check `Info-current-file' for + `stringp' and construct a command with `Info-find-node' from it. + (Info-fontify-node): Use `match-string-no-properties' instead of + `match-string' and check file names for `stringp'. + (Info-desktop-buffer-misc-data): Check for symbols `apropos', + `history', `toc' instead of strings. + +2006-02-17 Chong Yidong + + * files.el: Rearrange functions and variables in the file local + variables section. + +2006-02-17 Reiner Steib + + * files.el: Add truncate-lines, ispell-check-comments and + ispell-local-dictionary as safe local variables. + +2006-02-18 Nick Roberts + + * progmodes/gud.el (gud-speedbar-buttons): Use shadow face for + out of scope variables. + (gud-speedbar-buttons): Use unless. + + * progmodes/gdb-ui.el (gdb-var-list): Update doc string. + (gdb-init-1, gdb-var-changed): Set gdb-var-changed to t initially. + (gdb-show-changed-values): Also use for out of scope variables. + (gdb-var-update-handler-1): Note if variable goes out of scope. + +2006-02-17 Ryan Yeske + + * net/rcirc.el (rcirc-connect): Make all arguments optional, and + default to global variable values for unsupplied args. + (rcirc-get-buffer-create): Fix bug with setting the target. + (rcirc-any-buffer): Rename from rcirc-get-any-buffer, and include + test for rcirc-always-use-server-buffer-flag here. + (rcirc-response-formats): Add %N, which is a facified nick. %n + uses the default face. Change the ACTION format string. If the + "nick" is the server, don't print anything for that field. + Comment fixes. + (rcirc-target-buffer): Don't test + rcirc-always-use-server-buffer-flag here. + (rcirc-print): Squeeze extra spaces out of the text before message. + (rcirc-put-nick-channel): Strip potential "@" char from nick + before adding them to nick table. + (rcirc-url-regexp): Improve to match address like "foo.com". + +2006-02-17 Eli Zaretskii + + * allout.el (allout-hidden-p): Move this defsubst before + allout-overlay-interior-modification-handler, where it is first + used. + +2006-02-17 Ken Manheimer + + * allout.el: Use allout invisible-text overlays instead of + selective display for concealed text. Also, lots of general + cleanup, and improved compatibility code. + + (allout-version): Incremented, corrected, revised, and refined + module commentary. + + (provide 'allout): Moved to the bottom, added a require of overlay. + + (allout-encrypt-unencrypted-on-saves): Defaults to t instead of + `except-current'. + (allout-write-file-hook-handler): Minimize delay. + (count-trailing-whitespace-region): New function so + auto-encryption of current topic can resituate cursor exactly. + PGP/GPG encryption trims trailing whitespace from lines, which + must be accounted for across encryption then decryption. + + (allout-command-prefix): Now defaults to "\C-c" rather than + just plain "\C-c", to avoid intruding on user's keybinding space. + + (allout-toggle-current-subtree-encryption): Pass along fetch-pass + parameter, so user request to provide a new password is done. + + (allout-outside-normal-auto-fill-function, allout-auto-fill): + Refined mechanism for auto-filling behavior while in allout mode. + + (allout-mode): Explicitly specify the mode map in the docstring. + Clarify provision for various write-file hook var names. + Adjusted for invisible-text overlays instead of selective-display. + + (allout-depth): Really return 0 if not within any topic. This + rectifies `allout-beginning-of-level' and sequence numbering + errors that occur when cutting and pasting numbered topics. + Changed from a in-line subst to a regular function, as well. + + (allout-pre-next-prefix): Renamed from allout-pre-next-preface. + + (allout-end-of-subtree, allout-end-of-subtree) + (allout-end-of-entry, allout-end-of-current-heading) + (allout-next-visible-heading, allout-open-topic, allout-show-entry) + (allout-show-children, allout-show-to-offshoot) + (allout-hide-current-entry, allout-show-current-entry): Rectified + handling of trailing blank lines between items. + + (allout-line-boundary-regexp, set-allout-regexp, allout-depth) + (allout-current-depth, allout-unprotected, allout-hidden-p) + (allout-on-current-heading-p, allout-listify-exposed) + (allout-chart-subtree, allout-goto-prefix) + (allout-back-to-current-heading, allout-get-body-text) + (allout-snug-back, allout-flag-current-subtree, allout-show-all) + (allout-hide-region-body, allout-toggle-subtree-encryption) + (allout-encrypt-string, allout-encrypted-key-info) + (allout-next-topic-pending-encryption, allout-encrypt-decrypted) + (allout-file-vars-section-data): Adjusted for use with + invisible-text overlays instead of selective-display. + + (allout-kill-line, allout-kill-topic, allout-yank-processing): + Reworked for use with invisible text overlays. + + (allout-current-topic-collapsed-p): New function. + + (allout-hide-current-subtree): Use allout-current-topic-collapsed-p + to know when to close the containing topic. + + (allout-pre-command-business, allout-post-command-business): + Simplify undo-batching and dynamic isearch exposure. + + (allout-set-overlay-category): New for invisible-text overlays. + Sets properties of allout-overlay-category, used by + allout-flag-region to set invisible-text overlay properties. + (allout-get-invisibility-overlay): Get the first qualifying + invisibility overlay, so we can find the extent of it. + (allout-back-to-visible-text): Get to just before the beginnining + of the current invisibility overlay, if any. + + (allout-overlay-insert-in-front-handler) + (allout-overlay-interior-modification-handler) + (allout-before-change-handler, allout-isearch-end-handler): New + functions to handle extraordinary actions affecting concealed + text. + + (allout-flag-region): Use overlays instead of selective-display + for invisible text - by inheritence from the properties of + allout-overlay-category in mainline Emacs, and applied + property-by-property in XEmacs, some recent versions of which + don't inherit the properties from the category. Provisions to + respond to concealed-text edits simplified drastically. + + (allout-isearch-rectification, allout-isearch-was-font-lock) + (allout-isearch-expose, allout-enwrap-isearch) + (allout-isearch-abort, allout-pre-was-isearching) + (allout-isearch-prior-pos, allout-isearch-did-quit) + (allout-isearch-dynamic-expose) + (allout-hide-current-entry-completely): Functions deleted. + + (allout-undo-aggregation): Explicit undo aggregation no longer + necessary due to transition away from selective-display. + + (set-allout-regexp, allout-up-current-level) + (allout-next-visible-heading, allout-forward-current-level) + (allout-open-topic, allout-reindent-body, allout-rebullet-topic) + (allout-kill-line, allout-yank-processing, allout-show-children) + (allout-expose-topic, allout-old-expose-topic) + (allout-listify-exposed, allout-insert-latex-header) + (allout-toggle-subtree-encryption, allout-encrypt-string) + (remove-from-invisibility-spec, allout-hide-current-subtree): + Ditched unused variables. + +2006-02-17 Agustin Martin + + * textmodes/ispell.el (ispell-change-dictionary): Call + ispell-buffer-local-dict instead of + ispell-accept-buffer-local-defs. + (ispell-local-dictionary-alist): Accept as valid any coding-system + supported by Emacs. + (ispell-dictionary-alist-3): Esperanto dictionary's coding system + changed to iso-8859-3. + +2006-02-17 Nick Roberts + + * speedbar.el (speedbar-frame-width): Make an inline function + instead of a macro. Use frame-width. + (speedbar-try-completion, speedbar-update-contents) + (speedbar-timer-fn): Use consp. + (speedbar-update-localized-contents): Try to preserve point. + + * progmodes/gdb-ui.el (gdba, gdb-var-list): Improve doc strings. + (menu): Re-order menu items. + (gdb-var-update-regexp, gdb-var-update-regexp-1): Match "in_scope" + field. + (gdb-var-update-handler-1): Use it for GDB 6.4+. + (gdb-post-prompt): Speed things by not forcing update. + +2006-02-16 Chong Yidong + + * wid-edit.el (widget-button-click): For mouse-1, cancel button + press and perform default action if we get a mouse movement event. + +2006-02-16 Juanma Barranquero + + * calendar/icalendar.el (icalendar--get-event-property) + (icalendar--get-event-property-attributes): Fix typos in + docstrings. + + * progmodes/flymake.el (flymake-fix-file-name): Fix typo in + docstring. + +2006-02-15 Juanma Barranquero + + * bs.el (bs-mode): Use `buffer-disable-undo'. + (bs--get-file-name): Simplify. + (bs-show-in-buffer): Mark the buffer as not modified. + +2006-02-14 Chong Yidong + + * wid-edit.el (widget-keymap): Bind down-mouse-1 to + widget-button-click. + + * cus-edit.el (custom-mode-map): Remove mouse-1 binding. + (custom-mode): Update docstring. + + * cus-theme.el (custom-new-theme-mode-map): Remove mouse-1 + binding. + + * files.el (hack-local-variables-confirm): Allow scrolling if the + file variable list is too long. Kill temp buffer after use. + +2006-02-15 Nick Roberts + + * progmodes/gud.el (gdb): Improve doc string. + (gdb-script-font-lock-keywords): Expand allowed character set. + + * progmodes/gdb-ui.el (gdb-use-separate-io-buffer) + (gdb-display-separate-io-buffer, gdb-frame-separate-io-buffer) + (gdb-separate-io-interrupt, gdb-separate-io-quit) + (gdb-separate-io-stop, gdb-separate-io-eof): + Rename from gdb-inferior-* to gdb-separate-*. + (gdb-set-gud-minor-mode-existing-buffers-1): Improve doc string. + +2006-02-14 Jay Belanger + + * calc/calc-arith.el (math-check-known-scalarp): Make sure + expression is a symbol before checking that it is bound. + + * calc/calcalg2.el (math-integrate-by-parts): Do a more careful + test to see if equation can be solved. + +2006-02-14 Chong Yidong + + * wid-edit.el (widget-button-click): Use :pressed-face property + for overlay face, if it exists. + + * cus-edit.el (custom-manual, custom-add-see-also) + (custom-add-parent-links, custom-group-link): Add :pressed-face + property to links. + + * files.el (hack-local-variables): Remove ignored variables before + checking if any variables need setting. + +2006-02-14 Jan Dj,Ad(Brv + + * cus-start.el (all): Add x-gtk-whole-detached-tool-bar. + +2006-02-14 Juanma Barranquero + + * help.el (where-is): Fix message for remapped commands. + + * mwheel.el (mouse-wheel-click-event, mouse-wheel-mode): + Fix typos in docstrings. + +2006-02-13 Chong Yidong + + * files.el (safe-local-variable-values): New option. + (hack-local-variables-prop-line): Return a list of variable-value + pairs if MODE-ONLY is non-nil. + (hack-local-variables): Construct list of variable-value pairs, + and apply or reject them in one go. Ask for confirmation if + variables are not known safe. + (hack-local-variables-confirm): Complete rewrite. Support + `safe-local-variable-values'. + (enable-local-variables): Update docstring to reflect new + behavior. + (ignored-local-variables): Ignore ignored-local-variables and + safe-local-variable-values. + (safe-local-variable-p): New function. + (risky-local-variable-p): `safe-local-variable' property check + moved to safe-local-variable-p. + (hack-one-local-variable): Checks moved to hack-local-variables. + + (byte-compile-dynamic, c-basic-offset, c-file-style) + (c-indent-level, comment-column, fill-column, fill-prefix) + (indent-tabs-mode, kept-new-versions, no-byte-compile) + (no-update-autoloads, outline-regexp, page-delimiter) + (paragraph-start, paragraph-separate, sentence-end) + (sentence-end-double-space tab-width, version-control): + Add `safe-local-variable' property. + + * find-lisp.el: Delete nonexistent `autocompile' file variable. + + * icomplete.el, play/landmark.el: Change nonexistent + `outline-layout' file variable to `allout-layout'. + +2006-02-14 Nick Roberts + + * progmodes/gdb-ui.el (gud-watch, gdb-invalidate-registers-1) + (gdb-get-changed-registers): Test value of gud-minor-mode relative + to gud-comint-buffer. + (gdb-speedbar-expand-node, gdb-locals-mode): Use functions in + gdb-ui.el for gdb-mi.el. + (gdb-post-prompt, gdb-get-changed-registers): Move test for + registers buffer to gdb-get-changed-registers. + (gdb-breakpoint-regexp): New regexp. Allow toggling and + deletion of catchpoints (throw and catch). + (gdb-toggle-breakpoint, gdb-delete-breakpoint) + (gdb-goto-breakpoint): Use it for both gdb-ui and gdb-mi. + (gdb-find-file-hook, gdb-set-gud-minor-mode-existing-buffers-1) + (gdb-var-list-children-1, gdb-info-breakpoints-custom) + (gdb-var-update-1, gdb-invalidate-locals-1): Use also for gdb-mi. + +2006-02-13 Jay Belanger + + * calc/calc-arith.el (math-check-known-matrixp): Make sure + expression is a symbol before checking that it is bound. + +2006-02-13 Richard M. Stallman + + * mouse.el (mouse-drag-mode-line-1): Use mouse-drag-move-window-bottom + for the minibuffer too, but not if resize-mini-windows will interfere. + + * help.el (describe-key-briefly, describe-key): Do all arg-reading + inside `interactive' spec. + (describe-key-briefly-internal, describe-key-internal): + Functions merged back into their callers. + +2006-02-13 Martin Rudalics + + * info.el (info-xref-visited): Inherit from info-xref too. + (Info-set-mode-line): Replace occurrences of `%' by `%%' + when propertizing Info-current-file and Info-current-node. + +2006-02-13 Juri Linkov + + * tumme.el (tumme-thumbnail-storage): Fix docstring. + (tumme-thumb-name): Fix per-directory format. + +2006-02-13 Juanma Barranquero + + * subr.el (substitute-key-definition): Doc fix (hide internal arg). + +2006-02-12 Miles Bader + + * net/rcirc.el (rcirc-format-response-string): Fix small bugs. + +2006-02-13 Mathias Dahl + + * tumme.el: Remove history section. If someone needs the it, it + can always be found in CVS. + +2006-02-12 Mathias Dahl + + * tumme.el (tumme-thumbnail-storage): Update docstring. Add info + about the Thumbnail Managing Standard option. + +2006-02-12 Richard M. Stallman + + * subr.el (substitute-key-definition): Doc fix. + + * simple.el (blink-matching-paren-dont-ignore-comments): Doc fix. + + * files.el (magic-mode-alist): Don't use `\\s ' in regexps. + + * info.el (Info-mode): Doc fix. + + * progmodes/ebrowse.el (ebrowse-global-prefix-key): Change to C-c C-m. + +2006-02-12 Michael Albinus + + * net/tramp.el (tramp-remote-path): Add "/usr/xpg4/bin" on top, + because on Solaris a POSIX compatible "id" is needed. Reported by + Magnus Henoch . + +2006-02-12 Juri Linkov + + * tumme.el: Remove todo item about Thumbnail Managing Standard. + (tumme) : Change :group to `multimedia'. + (tumme-thumbnail-storage): Add choice `standard' for Thumbnail + Managing Standard. + (tumme-cmd-create-thumbnail-options): Use %w and %h instead of %s. + Fix dostring. + (tumme-cmd-create-temp-image-options): Use %w and %h instead of %x + and %y. Fix docstring. + (tumme-cmd-pngnq-program, tumme-cmd-pngcrush-program) + (tumme-cmd-create-standard-thumbnail-command): New user options. + (tumme-thumb-size): Set default to 128 if tumme-thumbnail-storage + is `standard'. Fix docstring. + (tumme-thumb-width, tumme-thumb-height): New user options. + (tumme-external-viewer): Try to find various viewers. + (tumme-get-thumbnail-image): Use `create-image' instead of + constructing the `image' structure. + (tumme-insert-thumbnail): Use `png' if tumme-thumbnail-storage is + `standard'. + (tumme-thumb-name): Add file name generation for standard storage. + Simplify code for other storages. + (tumme-thumb-name): Use width %w and height %h instead of size %s. + Add modification time %m and thumbnail-nq8 %q. + Use `tumme-cmd-create-standard-thumbnail-command' if + tumme-thumbnail-storage is `standard'. + (tumme-dired-insert-marked-thumbs): New autoload command. + (tumme-dired-after-readin-hook): New function. + (tumme-line-up-dynamic): Use `tumme-thumb-width' instead of + `tumme-thumb-size'. + (tumme-display-image): Replace size-x %x and size-y %y with + width %w and height %h. + + * dired.el (dired-mode-map): Bind `\C-t\C-t' to + `tumme-dired-insert-marked-thumbs'. + +2006-02-12 Mathias Dahl + + * tumme.el (tumme-write-tag): Fix small bug (file name did not + include path). + (tumme-mark-tagged-files): Fix bug in regexp used to find rows + matching tag. + +2006-02-12 Miles Bader + + * net/rcirc.el (rcirc-nick-abbrevs, rcirc-response-formats): + New variables. + (rcirc-abbrev-nick): New function. + (rcirc-format-response-string): Rewrite to use the formats in + `rcirc-response-formats' and expand escape sequences therein. + A text-property `rcirc-text' is added over the actual response + text to make easy to find inside the returned string. + (rcirc-print): When filling, just look for the `rcirc-text' + text-property to find the appropriate fill prefix, instead of + using hardwired patterns. + +2006-02-11 Mathias Dahl + + * tumme.el: Enhance some docstrings. Add todo item about Thumbnail + Managing Standard. + +2006-02-11 Kim F. Storm + + * ido.el (ido-buffer-internal): Set mark for ido-insert-buffer. + Don't use insert-buffer; do insert-buffer-substring directly. + (ido-file-internal): Set mark for ido-insert-file. Use insert-file-1. + +2006-02-11 Martin Rudalics + + * files.el (revert-buffer, recover-file): Replace buffer-read-only + with inhibit-read-only. Suggested by Stefan Monnier. + (revert-buffer): Let insert-file-contents discard + buffer-undo-list. Simplify code. + (find-file, find-file-existing, revert-buffer): Doc-string fixes. + +2006-02-11 Eli Zaretskii + + * menu-bar.el (menu-bar-select-yank): Add a doc string. + + * help.el (describe-key-briefly): Now a wrapper for + describe-key-briefly-internal. Bind enable-disabled-menus-and-buttons + to t. Populate yank-menu if empty. + (describe-key-briefly-internal): Renamed from describe-key-briefly. + (describe-key): Now a wrapper for describe-key-internal. Bind + enable-disabled-menus-and-buttons to t. Populate yank-menu if empty. + (describe-key-internal): Renamed from describe-key. + +2006-02-11 Milan Zamazal + + * progmodes/glasses.el (glasses-separator): Doc fix. + (glasses-original-separator): New defcustom. + (glasses-make-readable, glasses-convert-to-unreadable): Use it. + +2006-02-11 Martin Rudalics + + * mwheel.el (mouse-wheel-up-event): Doc fix. + +2006-02-11 Mathias Dahl + + * tumme.el (tumme-dir): Change default value to "~/.emacs.d/tumme/". + (tumme-dir): New function. Copied from thumbs.el. + +2006-02-10 Juanma Barranquero + + * desktop.el (desktop-outvar): Fix typo. + (desktop-save-buffer-p): Doc fix. + + * subr.el (substitute-key-definition): Fix typo. + +2006-02-10 YAMAMOTO Mitsuharu + + * frame.el (select-frame-set-input-focus): Call x-focus-frame also + when window-system is mac. + + * term/mac-win.el (fontset-standard): Rename from "fontset-mac". + +2006-02-10 Kim F. Storm + + * subr.el (substitute-key-definition-key): Pass t for NOERROR to + indirect-function instead of using condition-case. + +2006-02-10 Mathias Dahl + + * tumme.el (tumme-copy-with-exif-file-name): Try to make docstring + less `colloquial'... + +2006-02-09 Mathias Dahl + + * tumme.el: Add a couple of todo items. + +2006-02-09 Lars Hansen + + * hilit-chg.el: Add highlight-changes-mode to desktop-locals-to-save. + (highlight-changes-mode): Don't change desktop-locals-to-save. + +2006-02-09 Chong Yidong + + * image-mode.el (image-toggle-display): Clear image cache if using + filename. + +2006-02-09 Masatake YAMATO + + * dired-x.el (dired-guess-shell-alist-default): Add .man as + a `dired-man' target. + + * progmodes/autoconf.el (autoconf-font-lock-keywords): Check start + boundary of symbols. + +2006-02-08 Peter Doornbosch (tiny change) + + * vc-svn.el (vc-svn-print-log): Show recent commits as well. + +2006-02-09 Juanma Barranquero + + * hilit-chg.el (hilit-chg-update-all-buffers): Use `mapc' instead of + `mapcar'; return nil. + +2006-02-08 Chong Yidong + + * mouse.el (mouse-drag-track): Don't change window if we rebind to + some other event. + +2006-02-08 Ryan Yeske + + * net/rcirc.el (rcirc-startup-channels-alist): + Add irc.freenode.net and #emacs as defaults. + (rcirc-ignore-all-activity-flag): Remove variable. + (rcirc-authinfo): New variable. + (rcirc-authinfo-filename): Remove variable. + (rcirc-always-use-server-buffer-flag): New flag. + (rcirc): M-x rcirc will automatically connect without prompting. + C-u M-x rcirc will prompt. Use rcirc-connect to create a + connection in lisp. + (rcirc-process-server-response-1): Remove everything but the nick + portion of the sender so it doesn't need to be done everywhere + else. Update related code. + (global-map): Remove global keybindings. + (rcirc-get-buffer-create): Make sure rcirc-topic is set. + (rcirc-send-input): Split into several functions. + (rcirc-process-input-line, rcirc-process-message) + (rcirc-process-command): New functions. + (rcirc-target-buffer): New function to determine where to route + messages. + (rcirc-user-nick): Save match data. + (rcirc-toggle-ignore-buffer-activity) + (rcirc-update-activity-string): Remove global ignore functionality, + which can be done now by toggling rcirc-track-minor-mode. + (rcirc-track-minor-mode-map): New keymap. + (rcirc-track-minor-mode): New minor-mode. + (ignore): Make the ignore output nicer. Always print it when + adding or removing nicks. + (rcirc-url-regexp): Improve. + (rcirc-mangle-text): Remove properties before using text in the + modeline. + (rcirc-authenticate): Authentication data comes from + rcirc-authinfo, not the file pointed to by rcirc-authinfo-file. + (rcirc-server-prefix): Inherit from rcirc-server. + +2006-02-08 Mathias Megyei (tiny change) + + * Makefile.in (compile): Append "|| true" to the end of the `find' + command, like compile-always does. + +2006-02-08 Sam Steingold + + * net/tramp.el (tramp-maybe-open-connection): Do not wait for + output from a dead connection. + +2006-02-07 Mathias Dahl + + * dired.el (dired-mode-map): Add more bindings for tumme. + +2006-02-07 Stefan Monnier + + * wdired.el (wdired-mode-map): Use remap. + (wdired-get-filename): Massage. + (wdired-perm-mode-map): Don't copy bindings from wdired-mode-map. + (wdired-preprocess-perms, wdired-set-bit, wdired-toggle-bit): Use the + `keymap' property rather than `local-map'. + +2006-02-07 Mathias Dahl + + * tumme.el (tumme-get-thumbnail-image): New utility function. + Suggested by from Chong Yidong. + (tumme-dired-with-window-configuration): Rename from + `tumme-dired'. Add code to save window configuration. + (tumme-restore-window-configuration): New command to restore the + window configuration that `tumme-dired-with-window-configuration' + saves before it changes the window configuration. + (tumme-show-all-from-dir): New command to display thumbnails for + all files in a directory entered by the user, like M-x thumbs. + (tumme-display-thumbs): Call `pop-to-buffer' after all thumbnails + have been created. + (tumme-display-thumbnail-original-image): Call `display-buffer'. + (obsolete-tumme-display-thumbnail-original-image-and-buffer): + Remove obsolete test function. + +2006-02-07 Juanma Barranquero + + * vc.el (small-temporary-file-directory): Remove defvar; there's + a defcustom for it in files.el. + + * tumme.el (tumme-get-thumbnail-image): Add missing arg to `error'. + Fix typo in message. + (tumme-gallery-generate): Fix typo in `error' message. + (tumme-display-window-height-correction) + (tumme-display-window-width-correction, tumme-line-up-dynamic) + (tumme-line-up-interactive): Dox fixes. + (tumme-cmd-rotate-original-options, tumme-display-properties-format) + (tumme-restore-window-configuration, tumme-format-properties-string) + (tumme-create-thumbs, tumme-display-previous-thumbnail-original): + Fix typos in docstrings. + +2006-02-07 Chris Moore + + * wdired.el (wdired-get-filename): Fix bug: Don't re-normalize OLD. + +2006-02-07 Nick Roberts + + * progmodes/gud.el (gud-tooltip-mode): Remove autoload cookie. + User should use hook if desired. + + * progmodes/gdb-ui.el (gdb-post-prompt): Regenerate breakpoints + buffer if necessary. + (gdb-delete-frame-or-window): New function. + (gdb-breakpoints-mode-map): Bind "q" to it. + +2006-02-06 Stefan Monnier + + * textmodes/nroff-mode.el: Clean up name space. + (nroff-mode-syntax-table): Remove spurious `1' in the syntax of \n. + (nroff-mode): Obey the global setting of nroff-electric-mode. + (nroff-electric-mode): Use define-minor-mode and derived-mode-p. + + * calendar/calendar.el (calendar-increment-month): Typo in last change. + +2006-02-06 Thien-Thi Nguyen + + * vc-svn.el (vc-svn-previous-version, vc-svn-next-version): New funcs. + +2006-02-06 Lars Hansen + + * generic-x.el (etc-fstab-generic-mode): Add file system types + cifs and usbdevfs. Allow special chars in file names. + +2006-02-05 Jay Belanger + + Update copyright notices of the files in lisp/calc. + +2006-02-05 Romain Francoise + + Update copyright notices of all files in the lisp/play directory. + +2006-02-04 Luc Teirlinck + + * ldefs-boot.el: Regenerate. + + * emacs-lisp/find-func.el (find-definition-noselect): Minor doc fix. + +2006-02-05 Kim F. Storm + + * files.el (magic-mode-regexp-match-limit): New defvar. + (set-auto-mode): Use it to limit magic-mode-alist matching. + +2006-02-04 Eli Zaretskii + + * info.el (Info-index, Info-mode): Improve the description of the + `i' command. + + * ldefs-boot.el: Regenerate. + +2006-02-03 Werner Lemberg + + * textmodes/nroff-mode.el (nroff-font-lock-keywords): Don't be + greedy to find the closing bracket in \*[...] and similar + expressions. This is a first rough fix -- many additional + refinements are necessary to make nroff mode really usable with groff. + +2006-02-03 Jens Petersen (tiny change) + + * international/mule-cmds.el (set-locale-environment): + Add "/usr/share/X11/locale/locale.alias" to search list for xorg-x11 + libX11. + +2006-02-03 Joe Wells (tiny change) + + * arc-mode.el (archive-maybe-copy): Fix the way directories in the + archive are created in archive-tmpdir. + +2006-02-02 John Paul Wallington + + * ibuffer.el (ibuffer-compressed-file-name-regexp): New defcustom. + (ibuffer-fontification-alist): Use it. + (ibuffer-mode-map): Bind `ibuffer-mark-compressed-file-buffers' + to "* z" and the Ibuffer Mark menu. + + * ibuf-ext.el (ibuffer-mark-compressed-file-buffers): New command. + +2006-02-02 Stefan Monnier + + * textmodes/table.el (*table--cell-describe-mode) + (*table--cell-describe-bindings): Undo last change since + print-help-return-message is not obsoleted by anything at all. + +2006-02-02 Luc Teirlinck + + * emulation/cua-base.el (cua-mode): Doc fix. + +2006-02-02 Juanma Barranquero + + * dframe.el (dframe-handle-make-frame-visible) + (dframe-handle-iconify-frame, dframe-get-focus) + (dframe-select-attached-frame, dframe-power-click) + (dframe-frame-mode): Fix typos in docstrings. + + * ezimage.el (ezimage-mail, ezimage-object-out-of-date) + (ezimage-insert-image-button-maybe, ezimage-insert-over-text): + Fix typos in docstrings. + + * hi-lock.el (hi-lock-mode, hi-lock-line-face-buffer) + (hi-lock-face-buffer, hi-lock-font-lock-hook) + (hi-lock-archaic-interface-message-used) + (hi-lock-file-patterns-range): Fix typos in docstrings. + + * savehist.el (savehist-loaded, savehist-load, savehist-install) + (savehist-autosave, savehist-trim-history): Fix typos in docstrings. + + * mail/mailclient.el (mailclient-place-body-on-clipboard-flag): + Fix typo in docstring. + + * net/newsticker.el (newsticker--decode-iso8601-date) + (newsticker--set-customvar, newsticker--buffer-insert-item) + (newsticker--do-run-auto-mark-filter) + (newsticker--parse-generic-feed): Doc fixes. + (newsticker--retrieval-timer-list, newsticker-url-list) + (newsticker-hide-immortal-items-in-echo-area) + (newsticker-hide-obsolete-items-in-echo-area) + (newsticker-new-item-face, newsticker--enclosure) + (newsticker-buffer-update, newsticker-w3m-show-inline-images) + (newsticker--parse-atom-0.3, newsticker--parse-rss-1.0) + (newsticker--parse-generic-feed, newsticker--cache-contains) + (newsticker--stat-num-items, newsticker-download-enclosures): + Fix typos in docstrings. + + * net/rcirc.el (rcirc-debug): Doc fix. + (rcirc-fill-column, rcirc-receive-message-hooks) + (rcirc-browse-url-map, rcirc-read-only-flag, rcirc-prompt) + (rcirc-mode, rcirc-generate-new-buffer-name) + (rcirc-startup-channels, rcirc-ignore-update-automatic) + (rcirc-cmd-ignore, rcirc-browse-url, rcirc-url-regexp): + Fix typos in docstrings. + (rcirc-print): "?\ " -> "?\s". + (rcirc-cmd-join): Improve argument/docstring consistency. + +2006-02-01 Mark A. Hershberger + + * xml.el (xml-parse-region): Move save-excursion and set-buffer up + before narrow-to-region. + +2006-02-01 Richard M. Stallman + + * simple.el (move-beginning-of-line): Scan properly for invis change. + + * replace.el (multi-occur-in-matching-buffers): Fix prev change. + +2006-02-01 Michael Albinus + + * net/tramp.el (tramp-convert-file-attributes): Set file's gid + change bit only when id-format is 'integer. Reported by Matt + Hodges . + +2006-02-01 Juanma Barranquero + + * hilit-chg.el (highlight-changes-initial-state) + (highlight-changes-global-initial-state): Doc fixes. + (highlight-changes-global-modes, global-highlight-changes): + Fix typos in docstrings. + +2006-02-01 Kim F. Storm + + * emulation/cua-base.el (cua-mode): Mention that CUA enables + transient-mark-mode in doc string. + +2006-01-31 Richard M. Stallman + + * replace.el (multi-occur): Doc fix. + (multi-occur-in-matching-buffers): Rename from + multi-occur-by-filename-regexp. Prefix arg says match + buffer names instead of file names. + +2006-01-31 Juanma Barranquero + + * bs.el: Allow non-default values of `bs-header-lines-length'. + (bs--running-in-xemacs): Remove (not needed anymore). + (bs--set-window-height): Simplify by using `fit-window-to-buffer' + instead of `shrink-window', thus avoiding having to compute the + height of the window. + (bs--up): Wrap around even when there's no header. + (bs--down): Use `forward-line' instead of `next-line'. + +2006-01-30 Chong Yidong + + * image-mode.el (image-toggle-display): Use file name if possible, + instead of unnecessarily allocating a (possibly huge) lisp string. + +2006-01-30 John Paul Wallington + + * subr.el (toplevel): Define `cl-assertion-failed' condition here + because the `assert' macro signals it at runtime. + + * emacs-lisp/cl.el (toplevel): Remove definition of + `cl-assertion-failed' condition. + +2006-01-30 Nick Roberts + + * thumbs.el (thumbs-marked-list): Make buffer-local and + permanent-local. + (thumbs-insert-thumb): Make help-echo non-sticky. + (thumbs-file-alist): Use eolp as check for (non)-image. + +2006-01-30 Juanma Barranquero + + * ediff-mult.el (ediff-meta-buffer-keymap-setup-hook) + (ediff-before-session-group-setup-hooks) + (ediff-default-filtering-regexp, ediff-meta-mark-equal-files): + Fix typos in docstrings. + + * window.el (bw-dir, bw-eqdir, balance-windows) + (split-window-keep-point): Fix typos in docstrings. + + * textmodes/org.el (org-allow-space-in-links, org-closed-string) + (org-quote-string, org-calendar-to-agenda-key) + (org-agenda-sorting-strategy, org-agenda-use-time-grid) + (org-show-following-heading, org-tags-column) + (org-use-tag-inheritance, org, org-allow-space-in-links) + (org-usenet-links-prefer-google, org-file-apps-defaults-gnu) + (org-enable-table-editor, org-calc-default-modes) + (org-table-allow-automatic-line-recalculation) + (org-export-html-style, org-export-with-fixed-width) + (org-export-with-sub-superscripts, org-special-keyword) + (org-formula, org-time-grid, org-table-may-need-update) + (org-mode, org-goto-ret, org-goto-left, org-goto-right) + (org-goto-quit, org-get-indentation, org-end-of-item) + (org-move-item-down, org-move-item-up) + (org-renumber-ordered-list, org-todo, org-log-done, org-occur) + (org-remove-occur-highlights, org-read-date, org-goto-calendar) + (org-agenda, org-agenda-day-view, org-agenda-previous-date-line) + (org-agenda-log-mode, org-agenda-toggle-diary) + (org-agenda-toggle-time-grid, org-agenda-cleanup-fancy-diary) + (org-agenda-file-to-end, org-agenda-no-heading-message) + (org-agenda-get-closed, org-format-agenda-item) + (org-cmp-priority, org-cmp-category, org-cmp-time) + (org-agenda-change-all-lines, org-agenda-diary-entry) + (org-scan-tags, org-after-todo-state-change-hook, org-tags-view) + (org-link-search, org-camel-to-words, org-open-file) + (org-remember-handler, org-table-convert-region) + (org-table-move-row-down, org-table-move-row-up) + (org-table-copy-region, org-table-wrap-region) + (org-table-toggle-vline-visibility) + (org-table-get-vertical-vector, org-table-modify-formulas) + (org-table-get-specials, org-recalc-commands) + (org-table-rotate-recalc-marks, org-table-eval-formula) + (orgtbl-make-binding, org-in-invisibility-spec-p, org-cycle) + (org-level-color-stars-only, org-insert-heading): + Fix typos in docstrings. + (last-arg): Add defvar. + + * makefile.w32-in (WINS): Add erc. + (MH_E_SRC): Update (copied from lisp/Makefile.in). + +2006-01-29 Bill Wohler + + * Makefile.in (MH_E_SRC): Add mh-compat.el, mh-folder.el, + mh-letter.el, mh-limit.el, mh-scan.el, mh-show.el, mh-thread.el, + mh-tool-bar.el, mh-xface.el. Remove mh-customize.el, mh-init.el. + (mh-autoloads): Don't use comments on otherwise empty lines. + +2006-01-29 Edward O'Connor + + * emulation/viper.el (viper-major-mode-modifier-list): + Add insert-state and vi-state entries for erc-mode. + (viper-go-away, viper-set-hooks): Add and remove + viper-comint-mode-hook from erc-mode-hook as appropriate. + + * emulation/viper.el (viper-insert-state-mode-list): Add erc-mode. + +2006-01-29 Juanma Barranquero + + * bs.el (bs--format-aux): Implement `middle' alignment as + described in the docstring for `bs-attributes-list'. + (bs--get-name): Simplify. Don't pad the buffer name. + +2006-01-27 Agustin Martin + + * textmodes/ispell.el (ispell-find-aspell-dictionaries): If no + English aspell dictionary is installed, use the first entry of + ispell-dictionary-alist-1. + +2006-01-27 Kevin Rodgers (tiny change) + + * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate): + Doc fix. + +2006-01-27 Michael Albinus + + * net/tramp-vc.el (vc-user-login-name): Wrap defadvice with a test + for `process-file', in order to let it work for older Emacsen too. + +2006-01-27 Eli Zaretskii + + * international/latexenc.el: Add a suitable `coding:' tag. + (latexenc-find-file-coding-system): Undo last change. + +2006-01-27 Arne J,Ax(Brgensen + + * international/latexenc.el (latexenc-find-file-coding-system): + Make sure latexenc-main-file is a regular file and is readable. + +2006-01-27 Andre Spiegel + + * vc-rcs.el (vc-rcs-fetch-master-state, vc-rcs-consult-headers): + Pass FILE to vc-user-login-name. + + * vc-sccs.el (vc-sccs-state): Pass FILE to vc-user-login-name. + +2006-01-27 Nick Roberts + + * thumbs.el (thumbs-do-thumbs-insertion): Suppress message when + there are no more images to display. + (thumbs-mark, thumbs-unmark): Revert change so that they move to + the next image. + +2006-01-26 Richard M. Stallman + + * cus-edit.el (custom-mode): Doc: Use advertised-widget-backward. + + * wid-edit.el (advertised-widget-backward): New alias. + (widget-keymap): Use advertised-widget-backward for S-TAB. + + * tumme.el: Correct the keywords. + (tumme-dir-max-size): Use defvar. + (tumme-setup-dired-keybindings, tumme-dired): Add autoload cookie. + + * simple.el (move-beginning-of-line): Take account of fields. + (clone-indirect-buffer-other-window): Take args like + clone-indirect-buffer, and work like it. + + * help-fns.el (describe-function): Don't pass `nil' as default. + + * files.el (risky-local-variable-p): Follow var aliases. + + * subr.el (lazy-completion-table): Doc fix. + + * mail/rmailsum.el (rmail-make-summary-line-1): Don't set + global binding of `line'. + +2006-01-25 Andre Spiegel + + * vc-hooks.el (vc-user-login-name): Rewritten to handle access via + Tramp. + + * vc.el (vc-default-dired-state-info): Pass FILE to + vc-user-login-name. + (vc-default-update-changelog): Don't use vc-user-login-name, we + don't need it here. + + * net/tramp-vc.el (vc-user-login-name): Comment out defadvice, it is + no longer necessary. + +2006-01-25 Kenichi Handa + + * international/mule.el (decode-char): Avoid the overhead of + calling utf-lookup-subst-table-for-decode if + utf-translate-cjk-mode is nil. + (encode-char): Avoid the overhead of calling + utf-lookup-subst-table-for-encode if utf-translate-cjk-mode is + nil. + +2006-01-22 Kenichi Handa + + * international/mule.el (make-subsidiary-coding-system): Reset + `coding-system-define-form' property of subsidiaries to nil. + Avoid duplicated entry in coding-system-alist. + (make-coding-system): Avoid duplicated entry in + coding-system-alist. + (define-coding-system-alias): Likewise. + +2006-01-24 Luc Teirlinck + + * completion.el: Minor fixes in introductory comment. + (completion-def-wrapper): Fix alist. + +2006-01-25 Nick Roberts + + * thumbs.el (thumbs-new-image-size): New function. + (thumbs-increment-image-size-element) + (thumbs-decrement-image-size-element, thumbs-increment-image-size) + (thumbs-decrement-image-size): Delete. + (thumbs-resize-image-1): Rename from thumbs-resize-image. Keep old + temp files and use to resize. + (thumbs-resize-image): Rename from thumbs-resize-image-interactive. + Use increment argument to enlarge/shrink. Preserve point. + (thumbs-shrink-image): Rename from thumbs-resize-image-size-down. + (thumbs-enlarge-image): Rename from thumbs-resize-image-size-up + (thumbs-show-thumbs-list): Set thumbs-buffer to current-buffer. + (thumbs-mark, thumbs-unmark): Preserve point. + (thumbs-modify-image): Keep old temp files and use to modify. + Cleanup old temp files at load time. Preserve point. + (thumbs-view-image-mode-map): Use new command names. + +2006-01-24 Stefan Monnier + + * log-view.el (log-view-minor-wrap): First rev is the one at point. + + * calendar/cal-menu.el: Avoid macros from calendar.el so as to break + the nastiest part of the cyclic dependency. + (cal-menu-update): Use dotimes and calendar-increment-month. + + * calendar/calendar.el: Remove unnecessary leading stars in docstrings. + (calendar-week-start-day): Add an :initializer. + (calendar-mode-map): Use suppress-keymap, and command remapping. + (describe-calendar-mode): Setup xref-stack info for the back button. + (calendar-star-date): Insert before delete. + (calendar-set-mode-line): Add file-modified info if applicable. + (calendar-increment-month): New function. + +2006-01-24 Tobias C. Rittweiler (tiny change) + + * font-lock.el (lisp-font-lock-keywords-2): + Recognize "& keywords" only at word boundaries. + +2006-01-24 Nick Roberts + + * thumbs.el (thumbs-extra-images): New variable. Make it buffer-local + and permanent-local. + (thumbs-max-image-number): New variable. + (thumbs-do-thumbs-insertion): Use them. + (thumbs-per-line): Change default to 4. + (thumbs-marked-list): Rename from thumbs-markedL. + (thumbs-cleanup-thumbsdir, thumbs-delete-images) + (thumbs-rename-images): Use -list instead of L for internal variables. + (thumbs-call-convert): Use call-process instead of shell-command. + (thumbs-insert-thumb): Add filename as help-echo to each image. + (thumbs-show-from-dir): Rename from thumbs-show-all-from-dir. + Give dir to thumbs-show-thumbs-list. + (thumbs-show-thumbs-list): Set default-directory to that of images. + (thumbs-dired-show): Rename from thumbs-dired-show-all. + (thumbs-display-thumbs-buffer, thumbs-show-more-images): New functions. + (thumbs-mode-map): Bind "+" to thumbs-show-more-images. + (thumbs-view-image-mode-map): Bind "^" to thumbs-display-thumbs-buffer. + +2006-01-23 Stefan Monnier + + * ses.el (ses-read-cell): Provide a default value. + +2006-01-23 Juanma Barranquero + + * term/w32-win.el (image-library-alist): Add additional names for + GIF library. + +2006-01-23 Arne J,Ax(Brgensen + + * international/latexenc.el (latexenc-find-file-coding-system): + Add file-regular-p check. + +2006-01-22 Stefan Monnier + + * simple.el (clone-buffer): Don't show the new buffer in the same + window. + +2006-01-23 Juri Linkov + + * faces.el (link, link-visited): New faces based on default values + of `info-xref' and `info-xref-visited'. + + * info.el (info-xref): Inherit from `link'. + (info-xref-visited): Inherit from `link-visited'. + + * cus-edit.el (custom-buffer-create-internal): Use widget type + `custom-manual' instead of `info-link' and don't set properties + `button-face' and `mouse-face' explicitly. + (custom-browse-group-tag, custom-browse-variable-tag) + (custom-browse-face-tag): Inherit from widget class + `custom-group-link' instead of `push-button'. + (custom-button-unraised): Inherit from `underline' face. + (custom-link): Inherit from `link' face. Fix doc and group. + (custom-add-parent-links, custom-group-value-create): Don't set + properties `button-face' and `mouse-face' explicitly for + `custom-group-link' widget. + (custom-group-link): Add properties `button-face' and `mouse-face' + to widget definition. + (custom-field-keymap): New variable. Put `custom-field-keymap' to + editable-field's :keymap property. + (custom-mode): Fix docstring: substitute keybindings for + `widget-forward' and `widget-backward' from `widget-keymap', + `widget-complete' from `custom-field-keymap', replace old + `Custom-move-and-invoke' with `widget-move-and-invoke'. Untabify. + + * desktop.el (desktop-load-file): Check for `fboundp' before + calling `symbol-function'. + + * simple.el (clone-buffer, clone-indirect-buffer) + (clone-indirect-buffer-other-window): Use `read-buffer' instead of + `read-string'. Fix prompts. + + * play/doctor.el (doctor-mode-map): Rename from `doc-mode-map'. + +2006-01-23 Nick Roberts + + * thumbs.el (thumbs-file-alist): Avoid creating duplicate entries. + +2006-01-22 Luc Teirlinck + + * startup.el (inhibit-splash-screen, initial-scratch-message): + Doc fixes. + +2006-01-22 Michael Albinus + + Sync with Tramp 2.0.52. + + * net/tramp.el, net/tramp-ftp.el, net/tramp-util.el, + * net/tramp-vc.el: Add code for unloading Tramp. See comment before + `tramp-unload-tramp' for checklist. + + * net/tramp.el: Require `timer-funcs' instead of `timer' if in + XEmacs. Contributed by Steve Youngs . + (tramp-unload-file-name-handler-alist) + (tramp-unload-tramp): New defuns. + (tramp-advice-PC-expand-many-files): New defadvice. + (tramp-save-PC-expand-many-files, tramp-setup-complete): Defuns + removed. + (tramp-handle-expand-file-name): Remove double slash. + (tramp-handle-file-attributes-with-ls): Return t as 9th attribute. + It doesn't matter, because it will be converted later on. + (tramp-handle-file-ownership-preserved-p): Rewritten. The old + implementation was just heuristic. + (tramp-post-connection): Set uid and gid properties. + (tramp-convert-file-attributes): Set file's gid change bit. + (tramp-get-remote-uid, tramp-get-remote-gid): New defuns. + (tramp-handle-expand-file-name): Use "~root" for tilde expansion + in case of su(do)? methods. The home directory of the local user + will be taken else. + (tramp-open-connection-telnet) + (tramp-open-connection-rsh, tramp-open-connection-su) + (tramp-open-connection-multi): Set PS1 to "$ ". Otherwise, a + local shell prompt could hurt. Reported by Romain Francoise + . + (tramp-let-maybe): Add `edebug-form-spec' property. + (tramp-handle-expand-file-name): Bind `default-directory' locally + to "/" in order to avoid problems with UNC shares or Cygwin + mounts. + (tramp-md5-function): Fix typo in error message. + + * net/tramp-ftp.el (tramp-ftp-enable-ange-ftp): New defun. + + * net/tramp-util.el (top): Apply `ignore' instead of `identity' + for byte-compiler pacification. + +2006-01-22 Andre Spiegel + + * vc-rcs.el (vc-rcs-state-heuristic): Use file-attributes with + ID-FORMAT `string'. This allows us to get rid of + `vc-user-login-name UID'. + + * vc-sccs.el (vc-sccs-state-heuristic): Likewise. + +2006-01-22 John Paul Wallington + + * hl-line.el (hl-line-highlight, hl-line-move): Doc fixes. + +2006-01-21 Martin Rudalics + + * emacs-lisp/find-func.el (find-definition-noselect) + (find-variable-noselect): Search variables in C source code too. + (find-function-C-source, find-function-noselect, find-function) + (find-function-other-frame, find-variable-noselect, find-variable) + (find-variable-other-frame, find-variable-at-point): + Fix docstrings. + +2006-01-21 Francesco Potort,Al(B + + * mail/rmailout.el (rmail-output): Don't use content-type if it is nil. + +2006-01-21 Agustin Martin + + * textmodes/flyspell.el (flyspell-emacs-popup, flypell-xemacs-popup): + Default to disabling the "Save affix" question. + +2006-01-21 Marien Zwart (tiny change) + + * progmodes/python.el (python-mode) : Pass nil as + the first arg to run-python. + +2006-01-21 Eli Zaretskii + + * startup.el (command-line-1): Handle --no-desktop if desktop.el + is not loaded. + +2006-01-20 Jay Belanger + + * calc/calcalg2.el (calc-sum-rec): Fix the sum when the lower + limit is 0. + + * calc/calc-arith.el (math-add-symb-fancy): Check the length of + the correct variable. + +2006-01-20 Carsten Dominik + + * textmodes/org.el (org-open-at-point): Fixed bug with matching a + link. Fixed buggy argument sequence in call to `org-view-tags'. + (org-compile-prefix-format): Set `org-prefix-has-tag'. + (org-prefix-has-tag): New variable. + (org-format-agenda-item): Remove tags from headline if + appropriate. + (org-agenda-remove-tags-when-in-prefix): New option. + (org-get-tags-at): New function. + +2006-01-20 Nick Roberts + + * thumbs.el (thumbs-buffer): New variable. Make it buffer local. + (thumbs-find-image): Move image name and number from buffer name + to mode name. Set thumbs-buffer. Preserve point so that large + images remain visible. + (thumbs-file-alist): Construct list in thumbs-buffer and reverse + order. + (thumbs-show-image-num): Get image from thumbs-file-alist. Set + mode name. + (thumbs-next-image, thumbs-previous-image): Make them work. + +2006-01-19 Luc Teirlinck + + * cus-edit.el (custom-buffer-create-internal): State in the text above + the whole buffer buttons that they do not operate on hidden items. + (custom-face-menu): Use `custom-face-save' instead of + `custom-face-save-command'. + (custom-face-save-command): Make it an alias for `custom-face-save' + and declare it obsolete. + (custom-face-save): Doc fix. + + * dired.el (dired-no-confirm): Add quote. + (dired-subdir-alist-pre-R): Add quote in + `make-variable-buffer-local' form and remove unbalanced parenthesis. + +2006-01-19 Stefan Monnier + + * textmodes/table.el (table-mode-indicator): Typo in last change. + +2006-01-19 Richard M. Stallman + + * outline.el (hide-leaves): Don't call outline-end-of-heading. + Fixes bug reported in Nov 2005. + + * isearch.el (isearch-forward): Doc fix. + + * dired.el (dired-move-to-filename-regexp): Define as alias. + (dired-no-confirm): Use defcustom. + (dired-subdir-alist-pre-R): Put defvar at top level. + + * battery.el (battery-linux-proc-acpi): Handle "last full capacity". + + * textmodes/bibtex.el (bibtex-strings, bibtex-reference-keys): + Mark as risky. + + * simple.el (set-mark-command): Doc fix. + (clone-indirect-buffer-other-window): + Read arg like clone-indirect-buffer. + (move-beginning-of-line): Skip invisible newlines. + +2006-01-19 Masatake YAMATO + + * progmodes/cpp.el (cpp-edit-load): Make the order of + listed conditions in a base C code buffer and its associate + CPP Edit buffer the same. + +2006-01-19 Kenichi Handa + + * mail/rmail.el (rmail-enable-mime): Docstring fixed. + (rmail-mime-feature): Likewise. + (rmail-require-mime-maybe): Use display-warning to show a warning + message. + + * international/mule.el (auto-coding-regexp-alist-lookup): New fun. + (find-auto-coding): Use auto-coding-regexp-alist-lookup. + +2006-01-18 Stefan Monnier + + * array.el: Move defvars out of eval-when-compile. + (array-make-template): Replace undeclared global var with a local one. + (array-mode): Inline initialization functions. + (array-init-local-variables, array-init-max-row) + (array-init-max-column, array-init-columns-per-line) + (array-init-field-width, array-init-rows-numbered) + (array-init-line-length, array-init-lines-per-row): Remove. + + * play/doctor.el: Move defvars out of eval-when-compile. Use dolist. + (doc-mode-map): Define explicitly. + (doctor-txtype): Use mapc. + + * textmodes/table.el: Move defvars out of eval-when-compile. + Remove harmful code meant to avoid byte-compiler warnings. + (table-fixed-mode-indicator): Remove. Use a more complex mode-line + specification that checks table-fixed-width-mode directly. + (table-recognize-region, table-recognize-cell): + Use restore-buffer-modified-p. + (table-fixed-width-mode): Remove code that refreshes + table-fixed-mode-indicator. + (*table--cell-describe-bindings, *table--cell-describe-mode): + Avoid obsolete name print-help-return-message. + (table--test-cell-list): Don't use replace-regexp from elisp. + (table--point-entered-cell-function, table--point-left-cell-function): + Don't set table-fixed-mode-indicator, use force-mode-line-update. + + * textmodes/org.el: Move defvars out of eval-when-compile. Move code + that was after the end of file. Use buffer-file-name variable. + (org-timestamp-change): Use with-current-buffer. + (org-todo-list): Don't unnecessarily define a new buffer-local var. + (org-agenda-file-to-end, org-agenda-file-to-front): Remove unused arg + `file'. + + * progmodes/fortran.el: Move defvars out of eval-when-compile. + (fortran-break-line): Remove unused var `opoint'. + (fortran-abbrev-start): Obey help-event-list. + +2006-01-18 Jesper Harder + + * mail/smtpmail.el (smtpmail-send-it): Use insert-buffer-substring. + +2006-01-18 Masatake YAMATO + + * progmodes/make-mode.el (makefile-imake-mode): New mode + derived from makefile-mode. + (makefile-imake-mode-syntax-table): New syntax table + derived from makefile-mode-syntax-table. + (makefile-mode): Write about makefile-imake-mode in doc string. + (makefile-mode-map): Bind "\C-c\C-m\C-i" to makefile-imake-mode. + (makefile-imake-font-lock-keywords): New font lock keywords. + + * files.el (auto-mode-alist): Add Imakefile. + +2006-01-17 Agustin Martin + + * textmodes/flyspell.el (ispell-kill-ispell-hook): Add to the hook when + loading the file rather than when turning on flyspell-mode. + +2006-01-16 Luc Teirlinck + + * cus-edit.el (customize-rogue): Minor doc fix. + +2006-01-17 Juri Linkov + + * dired-aux.el (dired-diff): Use dired-dwim-target-directory + instead of the file at the mark as default if the file at the mark + is the same as the file at point or if dired-dwim-target-directory + is not the same as the current directory and the mark is not active. + + * log-view.el (log-view-minor-wrap): Use the same logic to get + revisions as `log-view-diff'. + + * info.el (Info-revert-find-node): Check for Info-current-file + before preserving new-history. + + * man.el (Man-heading-regexp): Add `/'. + + * textmodes/sgml-mode.el: Add `coding: iso-2022-7bit' cookie. + (html-mode): Set `sentence-end-base' instead of `sentence-end'. + +2006-01-16 Juri Linkov + + * faces.el (mode-line-faces): New defgroup. + (mode-line-highlight): Move definition after new defgroup. + (mode-line, mode-line-inactive, mode-line-highlight): + Replace :group `modeline' with `mode-line-faces'. + (mode-line-buffer-id): New face. + (modeline-buffer-id): New face alias. + (vertical-border): Remove :group `modeline'. + + * bindings.el (propertized-buffer-identification): Use face + `mode-line-buffer-id' instead of `Buffer-menu-buffer'. + (mode-line-next-buffer, mode-line-previous-buffer): New functions. + (mode-line-buffer-identification-keymap): For mouse-1 replace + `mode-line-unbury-buffer' with `mode-line-previous-buffer'. + Replace `mode-line-bury-buffer' with `mode-line-next-buffer' for + mouse-3. + + * buff-menu.el (buffer-menu-buffer) : Renamed from + Buffer-menu-buffer. Doc fix. + (Buffer-menu-buffer): Face alias to buffer-menu-buffer. + (list-buffers-noselect): Use `buffer-menu-buffer' face instead of + `Buffer-menu-buffer'. + + * info.el (Info-mode-line-node-keymap): New defvar. + (Info-set-mode-line): Use `stringp' to check Info-current-file. + Propertize Info-current-node with `mode-line-buffer-id' and + `mode-line-highlight' faces and `Info-mode-line-node-keymap'. + + * time.el (display-time-mail-face): Replace :group `faces' with + `mode-line-faces'. + +2006-01-16 Kenichi Handa + + * international/code-pages.el: Add autoload cookies for cp125[0345678]. + + * language/european.el (cp1252): New alias for windows-1252. + + * international/mule.el (autoload-coding-system): Prepare for EOL + variants. + +2006-01-15 Dan Nicolaescu + + * term.el (term-raw-map): Add mapping for insert. + (term-send-insert): New. + (term-mode): Make variables local here instead of doing it in + `term-emulate-terminal'. + (term-emulate-terminal): Delete incorrect optimization for cr+lf. + Scroll reverse needs to take into account the scroll region. + Saving and restoring the cursor should save the color attributes too. + (term-reset-terminal): Reset the scroll region. + (term-handle-ansi-escape): Cursor up and down should take into + account the scroll region. + (term-set-scroll-region): Rename from `term-scroll-region'. + Move to 0,0 after setting the region. + (term-handle-scroll): Handle scroll up. + (term-down): Fix off by one error. + (term-delete-lines): Do not delete outside the scroll region. + (term-insert-lines): Take into account the scroll region. + +2006-01-15 Stefan Monnier + + * textmodes/ispell.el (ispell-internal-change-dictionary) + (ispell-change-dictionary): Undo most of last change of 2006-01-13. + (start, end): Move declaration outside of eval-when-compile. + + * textmodes/flyspell.el (flyspell-kill-ispell-hook): New fun. + (flyspell-mode-on): Use it. + + * textmodes/ispell.el (ispell-kill-ispell): Run new hook + ispell-kill-ispell-hook. + +2006-01-14 Luc Teirlinck + + * cus-edit.el (Custom-set, Custom-save, Custom-reset-current) + (Custom-reset-saved): Do not ask for confirmation in single option + buffers. + +2006-01-13 Richard M. Stallman + + * font-lock.el (lisp-font-lock-keywords-1): Minor rearrangement. + +2006-01-13 Romain Francoise + + * add-log.el (add-change-log-entry, change-log-merge): + Conditionally use `hard-newline'. + +2006-01-13 Martin Rudalics + + * wid-edit.el (widget-field-end): If the overlay is no longer + associated with a buffer, behave as if the overlay didn't exist. + + * cus-edit.el (custom-add-see-also, custom-add-parent-links): + Make sure the links use the `custom-link' face. + +2006-01-13 Stefan Monnier + + * progmodes/ld-script.el (auto-mode-alist): Use \' rather than $. + (ld-script-mode): Don't set indent-line-function since we don't + have one. + +2006-01-13 Carsten Dominik + + * textmodes/org.el (org-open-file): Use mailcap for selecting an + application. + (org-file-apps-defaults-gnu): Use mailcap as the default for + selecting an application on a UNIX system. + (org-agenda-show-tags): New command. + (org-table-insert-hline): Keep cursor in current table line. + (org-table-convert): Offset effect of modifying + `org-table-insert-hline'. + (org-format-agenda-item): New optional argument TAG. + (org-compile-prefix-format): Handle %T format for the tag. + (org-expand-wide-chars): New function. + (org-table-insert-row, org-table-insert-hline): + Use `org-expand-wide-chars'. + (org-open-file): Fix bug in program launch. + (org-get-time-of-day): Fix bug with times before 1am. + (org-agenda-menu): Add tags commands. + +2006-01-13 Agustin Martin + + * textmodes/ispell.el (ispell-init-process): Include the used + dictionary in ispell process start message. + (ispell-internal-change-dictionary): When flyspell-mode is active + and dictionary is changed, make sure ispell process is restarted + and flyspell word cache cleared out for the current buffer. + (ispell-change-dictionary): Make sure flyspell word cache is + cleared out in all buffers with active flyspell mode when + dictionary is globally changed. + Call ispell-internal-change-dictionary after dictionary change. + +2006-01-13 Eli Zaretskii + + * emacs-lisp/bytecomp.el (batch-byte-recompile-directory): Doc fix. + + * makefile.w32-in (MH_E_SRC): Synchronize with Makefile.in. + (pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD): Update Copyright + years. Fix small differences wrt Makefile.in. + (recompile): Use --eval '(batch-byte-recompile-directory 0)', like + Makefile.in does. + +2006-01-12 Bill Wohler + + * Makefile.in (MH_E_SRC): Replace mh-index.el and mh-pick.el with + mh-search.el. + +2006-01-12 Masatake YAMATO + + * progmodes/ld-script.el: Update copyright year. + +2006-01-12 Chong Yidong + + * cus-theme.el (custom-theme-add-variable, custom-theme-add-face): + Don't add widget if setting undefined. + +2006-01-12 John Paul Wallington + + * help-fns.el (describe-variable): Remove newlines from void + variable output. + +2006-01-13 Nick Roberts + + * wdired.el (wdired-mode-map): Add help echo for + wdired-abort-changes. + + * man.el (Man-file-name-regexp): Adjust for a list of files. + +2006-01-12 Masatake YAMATO + + * progmodes/ld-script.el (auto-mode-alist): Support + suffix conventions used in netbsd and eCos. + +2006-01-11 Luc Teirlinck + + * cus-edit.el (custom-reset-menu, custom-buffer-create-internal) + (custom-variable-menu, custom-face-menu, custom-group-menu) + (Custom-mode-menu): Change names of menu items. (As discussed on + emacs-devel.) + (custom-face-menu): Add "Undo Edits" item. + + * startup.el (init-file-user): defcustom -> defvar. + + * tooltip.el (tooltip-mode): Doc fix. + +2006-01-11 Stefan Monnier + + * reveal.el (reveal-post-command): window-buffer signals an error on + dead windows rather than returning nil. + (reveal-open-new-overlays): An overlay might die while we open others. + +2006-01-11 Bill Wohler + + * cus-dep.el (generated-custom-dependencies-file): Fix typo and + phrasing in docstring. + + * Makefile.in (MH_E_SRC): Rename from MH-E-SRC since the dashes + can give some systems gas. Add new file mh-buffers.el. + +2006-01-06 Masatake YAMATO + + * font-lock.el (cpp-font-lock-keywords): Font lock keywords for + C preprocessor forward ported from GNU Emacs 21.2. + + * progmodes/asm-mode.el (asm-font-lock-keywords): + Use `cpp-font-lock-keywords'. + + * progmodes/ld-script.el (ld-script-font-lock-keywords): Ditto. + + * progmodes/ld-script.el (auto-mode-alist): Use \\> instead + of $ for "\\.ld[s]?". + +2006-01-10 Stefan Monnier + + * progmodes/tcl.el (tcl-indent-command): Use indent-for-tab-command. + (tcl-indent-line): Return `noindent' if inside a string. + + * progmodes/flymake.el (flymake-split-string): Remove more than one + empty string at beg/end of the result. + (flymake-find-buildfile, flymake-find-possible-master-files): + Use expand-file-name. + (flymake-fix-file-name): Don't replace \ with / and don't remove ./ + since expand-file-name does it for us. Use directory-file-name. + (flymake-ler-get-full-file, flymake-ler-get-file, flymake-ler-get-line) + (flymake-ler-get-type, flymake-ler-get-text) + (flymake-ler-make-ler): Remove. Replace by defstruct. Update callers. + (flymake-current-line-no): Remove spurious interactive spec. + (flymake-delete-temp-directory): Remove unused var `slash-pos'. + (flymake-check-include): Remove arg inc-path merged into inc-name. + (flymake-check-patch-master-file-buffer): Fit in 80 columns. + Arg regexp-list replaced by a simple regexp. + (flymake-master-make-header-init, flymake-master-tex-init): + Correspondingly replace regexp-list with a regexp. Fix regexp. + +2006-01-10 Simon Josefsson + + * mail/smtpmail.el (smtpmail-try-auth-methods): Add comment + describing AUTH PLAIN fix. + +2006-01-10 Thien-Thi Nguyen + + * mail/emacsbug.el (report-emacs-bug-text-prompt): Delete var. + (report-emacs-bug): Don't record initial prompt text. + Instead, add text properties to prompting text. + (report-emacs-bug-hook): Delete prompting text. + +2006-01-09 Stefan Monnier + + * progmodes/flymake.el (flymake-find-buildfile): Remove invariant arg + `dirs'. Adjust callers. + +2006-01-09 John Paul Wallington + + * cus-edit.el (custom-comment) : Add TTY definitions. + +2006-01-09 Stefan Monnier + + * reveal.el (reveal-open-new-overlays): New extracted fun. + (reveal-close-old-overlays): Idem. Check overlays's liveness before + using them. Simplify the code. + (reveal-post-command): Use them. Fix up obsolete windows in + reveal-open-spots. + + * progmodes/flymake.el: Use `require' rather than autoload for + XEmacs's overlays. + (flymake-get-common-file-prefix, flymake-build-relative-filename): + Delete. Use file-relative-name instead. + (flymake-get-syntax-check-program-args, flymake-perl-init): + Simplify the resulting code. + + * log-view.el (log-view-file-re, log-view-message-re): Add support + for DaRCS output. + +2006-01-09 Alex Schroeder + + * mail/rmail.el (rmail-reply-regexp): Also ignore mailing list + identifiers sometimes added in square brackets at the beginning of + subject lines. + +2006-01-07 Richard M. Stallman + + * cus-edit.el (Custom-set, Custom-save): Doc fix. + (Custom-reset-current, Custom-reset-saved): Change question text. + (Custom-reset-standard): Likewise. + (custom-variable-reset-saved): Doc fix. + +2006-01-07 Eli Zaretskii + + * startup.el (init-file-user): Doc fix. + +2006-01-07 Alex Schroeder + + * mail/rmail.el (rmail-current-subject): New function. + (rmail-current-subject-regexp): New function. + (rmail-next-same-subject): Use it. + + * mail/rmailsum.el (rmail-summary-by-topic): + Use rmail-current-subject and rmail-current-subject-regexp. + (rmail-summary-next-same-subject): Ditto. + + * net/rcirc.el (rcirc-send-input): No longer check whether the + process is open, since not all commands need an open process. + (rcirc-send-string): Check whether the process is open before + sending anything. + (rcirc-ignore-list): New option. + (rcirc-ignore-list-automatic): New variable. + (rcirc-print): Take rcirc-ignore-list into account. + (rcirc-cmd-ignore): New command. + (rcirc-ignore-update-automatic): New function. + (rcirc-handler-PART, rcirc-handler-QUIT): Use it to maintain the + list if ignored nicks. + (rcirc-handler-NICK): Ditto, and also ignore the new nick. + +2006-01-06 David Reitter + + * mail/emacsbug.el (report-emacs-bug): Let explanations correctly + reflect the address to which the report will be sent. + +2006-01-06 Eli Zaretskii + + * progmodes/ld-script.el (auto-mode-alist): Recognize linker + scripts whose file-name extensions are "\.x[bdsru]?[cn]?$". + +2006-01-01 Michael Ernst (tiny changes) + + * textmodes/tildify.el: Fix typos (misspellings) in the commentary. + + * emacs-lisp/find-func.el (find-definition-noselect): Fix typo in + the doc string: "functoin" => "function". + * ldefs-boot.el: Likewise. + + * textmodes/bibtex.el (bibtex-validate-globally): Fix typo in a + message text: "Duplicat" => "Duplicate". + +2006-01-06 Sven Joachim (tiny change) + + * files.el (basic-save-buffer-2): If backing-up failed, reset + buffer-backed-up to nil. + +2006-01-06 Nick Roberts + + * progmodes/gud.el (gdb-script-skip-to-head) + (gdb-script-calculate-indentation): Indent for breakpoint command + lists also. + +2006-01-05 Bill Wohler + + * Makefile.in (compile-always): Add mh-autoloads dependency. + (bootstrap): Remove mh-autoloads dependency, as compile dependency + provides it. + (updates): Remove mh-autoloads dependency, since it probably has + already run recently (via recompile). + +2006-01-05 Stefan Monnier + + * textmodes/flyspell.el (flyspell-accept-buffer-local-defs): Add an + argument `force' to disable the flyspell-last-buffer optimization. + (flyspell-mode-on): Use it. + + * progmodes/flymake.el (flymake-get-cleanup-function): Default to + flymake-simple-cleanup. + (flymake-allowed-file-name-masks): Use this new default. + All the functions are now called in the right buffer rather than + passing the buffer as argument. + (flymake-process-sentinel): Switch to buffer before calling cleanup. + (flymake-parse-err-lines): Remove redundant buffer arg. + (flymake-get-program-dir): Comment out unused function. + (flymake-start-syntax-check, flymake-start-syntax-check-process): + Remove redundant buffer argument. + (flymake-get-real-file-name, flymake-simple-java-cleanup) + (flymake-simple-cleanup, flymake-master-cleanup): Remove buffer arg. + +2006-01-05 Richard M. Stallman + + * info.el (Info-find-node): Don't record previous node if have none. + (info): Go to directory only if history is empty. + + * simple.el (mark): Doc fix. + +2006-01-05 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-ae-parameter): Don't coerce data if it is + already of desired type. + (mac-ae-list): Coerce parameter to "list" type. + (mac-dispatch-apple-event): Replace cadr part of event with a + dummy position so that event-start returns it. + +2006-01-05 Carsten Dominik + + * textmodes/org.el (org-end-of-subtree): New function. + (org-cycle, org-subtree-end-visible-p, org-scan-tags): + Use `org-end-of-subtree'. + (org-agenda, org-agenda-convert-date): Protect calls to + `fit-window-to-buffer'. + (org-tags-view): Force matching of sublevels when doing a + todo-only search. Define the correct redo command, including the + arguments. + (org-agenda-redo): Display message. + (org-check-for-org-mode): New function. + (org-agenda-type): New variable. + (org-timeline, org-agenda-list, org-todo-list, org-tags-view): + Set `org-agenda-type'. + (org-agenda-check-type): New function. + (org-agenda-goto-today, org-agenda-later, org-agenda-earlier) + (org-agenda-week-view, org-agenda-day-view) + (org-agenda-next-date-line, org-agenda-previous-date-line) + (org-agenda-log-mode, org-agenda-toggle-diary) + (org-agenda-toggle-time-grid, org-agenda-date-later) + (org-agenda-date-prompt, org-agenda-diary-entry) + (org-agenda-execute-calendar-command, org-agenda-goto-calendar) + (org-agenda-convert-date, org-agenda-menu): + Use `org-agenda-check-type'. + (org-make-overlay, org-delete-overlay) + (org-detatch-overlay, org-move-overlay, org-overlay-put): + New compatibility functions. + (org-calendar-select-mouse): New command. + +2006-01-04 Chong Yidong + + * cus-edit.el (Custom-reset-current, Custom-reset-saved) + (Custom-reset-standard): Fix y-or-n-p messages. + (custom-link): New face for links. + (custom-buffer-create-internal, custom-manual): Use it. + (custom-face-save): Push to theme-face before setting face spec. + + * wid-edit.el (widget-default-mouse-face-get): New function. + (widget-specify-button): Handle mouse-face like button-face. + + * custom.el (load-theme): Clear old theme settings if reloading. + +2006-01-03 Luc Teirlinck + + * cus-edit.el (custom-buffer-create-internal): Move whole buffer + "Erase Customization" button back to same position it occupies in + the individual State menus. + +2006-01-04 Kim F. Storm + + * wid-edit.el (key-sequence): Rework widget to read key binding + using `kbd' syntax. Use C-q to insert literal key, event, or code. + (widget-key-sequence-default-value): Default value for empty sequence. + (widget-key-sequence-map): New map for reading key binding. Bind C-q. + (widget-key-sequence-read-event): New command for C-q. + (widget-key-sequence-validate, widget-key-sequence-value-to-internal) + (widget-key-sequence-value-to-external): New functions. + +2006-01-03 Stefan Monnier + + * progmodes/flymake.el (flymake-create-temp-with-folder-structure): + Use expand-file-name. + (flymake-delete-temp-directory): Use expand-file-name, + file-name-directory, and directory-file-name. + (flymake-strrchr): Delete. + (flymake-start-syntax-check): Don't pass the redundant buffer argument + to the init-f function. + (flymake-save-buffer-in-file, flymake-init-create-temp-buffer-copy) + (flymake-init-find-buildfile-dir) + (flymake-init-create-temp-source-and-master-buffer-copy) + (flymake-simple-make-init-impl, flymake-simple-make-init) + (flymake-master-make-init, flymake-master-make-header-init) + (flymake-simple-make-java-init, flymake-simple-ant-java-init) + (flymake-perl-init, flymake-simple-tex-init, flymake-master-tex-init) + (flymake-xml-init): Remove corresponding redundant buffer argument. + (flymake-allowed-file-name-masks): Remove last elems that are equal to + the default anyway. Clean up regexps. + + * progmodes/flymake.el (flymake-temp-source-file-name) + (flymake-master-file-name, flymake-temp-master-file-name) + (flymake-base-dir): New buffer-local vars. + (flymake-buffer-data, flymake-get-buffer-value) + (flymake-set-buffer-value): Replace those hash-tables by the new + buffer-local vars. Update callers. + + * progmodes/flymake.el (flymake-check-start-time) + (flymake-check-was-interrupted, flymake-err-info, flymake-is-running) + (flymake-last-change-time, flymake-new-err-info, flymake-timer): + Move definition, so we can remove redundant earlier declaration. + (flymake-replace-regexp-in-string, flymake-split-string) + (flymake-get-temp-dir): Use defalias. + (flymake-popup-menu): Remove `pos' argument. Use posn-at-point. + (flymake-xemacs-window-edges): Remove unused function. + (flymake-get-point-pixel-pos): Move. + (flymake-pid-to-names, flymake-reg-names) + (flymake-get-source-buffer-name, flymake-unreg-names): Remove. + Replace by a simple list flymake-processes and by process-buffer. + Update callers. Other than simplify the code, it uses buffers rather + than buffer-names so it doesn't get confused by uniquify. + (flymake-buffer-data): The global value should just be nil. + + * emacs-lisp/bytecomp.el (byte-compile-file-form-defalias): + Optimize the body of a defalias like any other code. + + * font-lock.el (font-lock-fontify-buffer, font-lock-fontify-region): + Make sure we've setup font-lock's vars. It may influence which + function we then call. + (font-lock-default-fontify-buffer): Don't bother calling set-defaults + here since it's too late anyway. + +2006-01-03 Romain Francoise + + * startup.el (fancy-splash-tail, normal-splash-screen): + Update copyright year. + +2006-01-02 J.D. Smith + + * mouse.el (mouse-drag-track): Rename, from + `mouse-drag-region-1'. Includes optional argument required to + enable post-drag event processing (e.g. delete region keys). + Can be used without this argument to track a mouse region and operate + on it as soon as the drag completes. + (mouse-drag-region): Use `mouse-drag-track'. + +2006-01-02 Chong Yidong + + * cus-edit.el (custom-guess-name-alist, custom-guess-doc-alist): + Move to `custom-buffer' group. + + * cus-theme.el: Rewrite the Custom New Theme Mode interface. + (custom-new-theme-mode-map, custom-theme-insert-variable-marker) + (custom-theme-insert-face-marker, custom-theme-variable-menu) + (custom-theme-face-menu): New variables. + (custom-theme-add-variable, custom-theme-variable-action) + (custom-variable-reset-theme, custom-theme-delete-variable) + (custom-face-reset-theme, custom-theme-face-action) + (custom-theme-delete-face, custom-theme-merge-theme) + (custom-theme-add-face, custom-theme-visit-theme): New functions. + +2006-01-01 Chong Yidong + + * custom.el: Move Custom Themes commentary to start of theme code. + (custom-known-themes): Rename `standard' theme to `changed'. + (custom-push-theme): Caller no longer specifies what theme to use + when doing `reset'---the setting is simply removed from the theme. + Delete MODE from `theme-value' and `theme-settings' properties. + (custom-declare-theme): Ignore &rest args since we don't use them. + + (custom-loaded-themes): Delete variable. + (custom-theme-load-themes, custom-theme-loaded-p) + (custom-theme-value): Delete functions. + + (custom-declare-theme): Signal error on invalid theme names. + (provide-theme): custom-loaded-themes was deleted. + (load-theme): Load the file unconditionally. + (enable-theme): Call `load-theme' if theme is undefined. + (custom-enabled-themes): Only update value for successful loads. + (disable-theme): Complete from enabled themes when interactive. + (custom-variable-theme-value): Calculate theme value directly. + + (custom-theme-reset-variables, custom-reset-variables): Mark as + XEmacs compatibility functions. We don't actually use these. + + * cus-edit.el (custom-variable-state-set): + Use custom-variable-theme-value instead of custom-theme-value. + (custom-face-state-set): Rename `standard' theme to `changed'. + (custom-save-variables, custom-save-faces): Delete unneeded + references to custom-reset-variables. + (custom-save-resets): Delete function. + (custom-save-variables, custom-save-faces): MODE argument deleted. + (custom-save-variables, custom-save-faces): Ignore theme values. + + * cus-face.el (custom-theme-reset-faces): Mark as XEmacs + compatibility function. + +2006-01-01 Richard M. Stallman + + * cus-edit.el (Custom-set, Custom-save): Ask for confirmation. + (Custom-reset-current, Custom-reset-saved): Likewise. + (Custom-reset-standard): Show message if aborted. + (custom-mode): Doc fix, describing those commands. + + * mouse.el (mouse-drag-region-1): When following link via mouse-2, + put on event-kind property. + +2005-12-31 Chong Yidong + + * custom.el (provide-theme): Ban `user' theme name. + (custom-enabling-themes): New variable. + (enable-theme): Don't enable user if custom-enabling-themes is t. + (custom-enabled-themes): Make it a defcustom. + (custom-theme-recalc-face): No-op if face is undefined. + + * cus-edit.el (custom-button-mouse): New variable. + (custom-button-mouse): New face. + (custom-raised-buttons, custom-mode): Use it. + + * cus-theme.el (custom-new-theme-mode): Use custom-button-mouse. + +2005-12-31 Eli Zaretskii + + * progmodes/gud.el (gud-display-line): Support hl-line in the + source buffer. + +2005-12-31 Lennart Borgman (tiny change) + + * mouse.el (mouse-drag-window-above): Verify that the found window + overlaps with the given window in the horizontal dimension. + +2005-12-31 Eli Zaretskii + + * Makefile.in (cvs-update): New target. + + * makefile.w32-in (cvs-update): Ditto. + +2005-12-30 Chong Yidong + + * cus-theme.el (custom-new-theme-mode): Use cus-edit faces. + (custom-new-theme-mode-map): New variable. + +2005-12-30 Richard M. Stallman + + * custom.el (custom-load-themes): Function deleted. + + * cus-edit.el (custom-save-loaded-themes): Function deleted. + (custom-save-variables): Don't delete or add custom-load-themes call. + +2005-12-30 Stefan Monnier + + * cus-start.el: Add `visible-cursor'. + + * progmodes/flymake.el (flymake-copy-buffer-to-temp-buffer): Simplify. + (flymake-parse-output-and-residual): Remove `source-buffer' argument. + (flymake-process-filter): Switch to buffer before calling it instead. + (flymake-post-syntax-check, flymake-highlight-err-lines) + (flymake-delete-own-overlays, flymake-parse-err-lines) + (flymake-start-syntax-check, flymake-start-syntax-check-process) + (flymake-count-lines, flymake-parse-residual): + Remove constant buffer argument. + (flymake-start-syntax-check-for-current-buffer): Remove. + Update callers to use flymake-start-syntax-check instead. + (flymake-display-err-menu-for-current-line): + Remove unused var `mouse-pos'. + (flymake-restore-formatting): Comment out unused function. + (flymake-report-status, flymake-report-fatal-status): Remove buffer + argument, use current-buffer instead. Update callers. + +2005-12-30 Roland Winkler + + * textmodes/bibtex.el (bibtex-mode): Make completion-ignore-case + buffer-local because choose-completion-delete-max-match requires + that we set completion-ignore-case (i.e., binding via let is not + sufficient). + (bibtex-complete): Always set completion-ignore-case and + choose-completion-string-functions. The latter is needed because + choose-completion-string-functions keeps its value if we quit the + *Completions* buffer without requesting a completion. + +2005-12-30 Andreas Schwab + + * progmodes/cc-defs.el: Ignore errors from font-lock-compile-keywords. + +2005-12-30 Eli Zaretskii + + * jit-lock.el (jit-lock-chunk-size): Doc fix. + +2005-12-30 Juri Linkov + + * locate.el (locate-fcodes-file, locate-header-face) + * progmodes/delphi.el (delphi-other-face) + * progmodes/glasses.el (glasses-face): Add tag "None" to const nil. + + * paren.el (show-paren-match, show-paren-mismatch): Use existing + group `paren-showing-faces'. + + * net/goto-addr.el (goto-address-highlight-keymap): Fix docstring. + (goto-address): Fix docstring. + + * net/webjump.el (webjump-sample-sites): Update URLs. + + * textmodes/fill.el (fill-single-word-nobreak-p): Use `sentence-end'. + + * subr.el (cancel-change-group): Add listp around pending-undo-list. + +2005-12-29 Stefan Monnier + + * font-lock.el (font-lock-compile-keywords): Signal an error when + font-lock-set-defaults hasn't been called. + +2005-12-29 Luc Teirlinck + + * subr.el (noreturn, 1value): Doc fixes. + +2005-12-29 Roland Winkler + + * textmodes/bibtex.el (bibtex-text-in-field-bounds): Handle case + that assoc-string returns nil. + +2005-12-29 Roland Winkler + + * textmodes/bibtex.el (bibtex-entry-type-whitespace) + (bibtex-entry-type-str, bibtex-empty-field-re) + (bibtex-search-backward-string, bibtex-preamble-prefix) + (bibtex-search-entry, bibtex-enclosing-entry-maybe-empty-head): Remove. + (bibtex-any-valid-entry-type): New variable. + (bibtex-parse-field-name): Simplify. + (bibtex-parse-string, bibtex-search-forward-string): New arg empty-key. + (bibtex-preamble-prefix): Include left delimiter. + (bibtex-search-forward-field, bibtex-search-backward-field): + Allow unbounded search past entry boundaries (required by bibtex-pop). + (bibtex-text-in-field-bounds): Use push. + (bibtex-text-in-field): Do not use bibtex-narrow-to-entry. + (bibtex-parse-preamble, bibtex-valid-entry) + (bibtex-beginning-first-field): New functions. + (bibtex-skip-to-valid-entry): Use bibtex-valid-entry. Fix regexp. + (bibtex-map-entries): Fix docstring. + (bibtex-flash-head): New arg prompt. Simplify. + (bibtex-enclosing-field): Include code of bibtex-inside-field. + (bibtex-insert-kill): Simplify. Always insert text past the + current field or entry. + (bibtex-format-entry): Use bibtex-parse-field. + (bibtex-pop): Use bibtex-beginning-of-entry and + bibtex-end-of-entry to initiate the search. Insert empty field if + we found ourselves. + (bibtex-print-help-message): New args field and comma. + Handle entry keys. + (bibtex-make-field): Use bibtex-beginning-of-entry. + (bibtex-end-of-entry): Use bibtex-valid-entry. Recognize any + invalid entry. + (bibtex-validate): Use bibtex-valid-entry and bibtex-parse-string. + Handle preambles. Simplify code for thorough test. + (bibtex-next-field, bibtex-find-text, bibtex-find-text-internal): + New arg comma. Handle entry heads. + (bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters) + (bibtex-kill-field, bibtex-copy-field-as-kil, bibtex-empty-field): + New arg comma. + (bibtex-kill-entry): Use bibtex-any-entry-maybe-empty-head. + (bibtex-fill-field): Simplify. + (bibtex-fill-entry): Use bibtex-beginning-first-field and + bibtex-parse-field. + (bibtex-convert-alien): Do not wait before calling bibtex-validate. + (bibtex-complete): Use bibtex-parse-preamble. + +2005-12-29 Nick Roberts + + * progmodes/gdb-ui.el (gdb-tooltip-print, gdb-tooltip-print-1): + Display name of expression instead of convenience variable. + (gdb-post-prompt): Only call gdb-get-changed-registers if needed. + + * progmodes/gud.el (gud-tooltip-dereference): Rename from + toggle-gud-tooltip-dereference. + (gud-tooltip-print-command): Move concatenation of "*" to expr to... + (gud-tooltip-tips): ...here when dereferencing. + +2005-12-28 Bill Wohler + + * simple.el (mh-e-user-agent): Move to mh-e/mh-comp.el and autoload. + +2005-12-28 Stefan Monnier + + * vc.el (vc-annotate-display): Replace optional arg `color-map' with + compulsory arg `ratio'. Inline body of vc-annotate-time-span. + (vc-annotate-display-autoscale): Adjust call. + (vc-annotate-display-default): Adjust call. Make arg compulsory. + Fix interactive spec. + (vc-annotate-time-span): Remove. + (vc-annotate-oldest-in-map): Rename from vc-annotate-car-last-cons. + (vc-annotate-mode-menu, vc-annotate-display-autoscale) + (vc-annotate-display-select): Use new name. + + * vc.el (vc-annotate-mode-map): Remove obsolete binding. + (vc-annotate-mode-menu): Remove left-over redundant declaration. + Correct the construction of span entries. Simplify. + (vc-annotate-display-select): Fix the nil case. + (vc-annotate): Remove obsolete (and now broken) code. + (vc-annotate-extract-revision-at-line): Remove obsolete code. + (vc-annotate-time-span): Remove unused arg `quantize'. Simplify. + +2005-12-28 Luc Teirlinck + + * subr.el (lazy-completion-table): Correct typo in docstring. + + * startup.el (command-line): Use `custom-reevaluate-setting' for + `send-mail-function'. + + * mail/sendmail.el (send-mail-function): Autoload the standard-value. + +2005-12-05 Ralf Angeli + + * mail/smtpmail.el (smtpmail-try-auth-methods): + Send credentials together with "AUTH PLAIN" command. + +2005-12-27 Richard M. Stallman + + * mouse.el (mouse-drag-region-1): When remapping mouse-1 to + mouse-2, go back to previously selected window, so it's selected + when mouse-2 command runs. + +2005-12-27 Juri Linkov + + * descr-text.el (describe-text-sexp): Use square brackets for + button [Show] to distinguish it from the property value `show'. + (describe-property-list): Use `insert-text-button' with + `help-face' type instead of putting face in quotes, because button + is not created automatically for a list of faces. + (describe-text-properties-1): Put button-type value in quotes to + distinguish from plain text "button". + (describe-char): Display code point values in hex. Don't use + `symbol-name' for `current-input-method' because it is a string. + Use `insert-text-button' with `help-face' type instead of putting + hardcoded face in quotes, because button is not created automatically. + +2005-12-27 Richard M. Stallman + + * progmodes/glasses.el (glasses-face): More specific custom type. + + * files.el (set-visited-file-name): Doc fix. + + * textmodes/flyspell.el (flyspell-external-point-words): + Use local var buffer-scan-pos to advance scan for next misspelling. + Advance it only after we find the misspelling. + +2005-12-27 Agustin Martin + + * textmodes/flyspell.el (flyspell-external-point-words): + New criteria for finding the misspelling in the buffer. + +2005-12-27 Nick Roberts + + * help-mode.el (help-insert-string): Set help-xref-stack-item + rather than call help-setup-xref. + + * descr-text.el (describe-char): Revert previous changes for + optional buffer argument. + +2005-12-27 Juri Linkov + + * help-mode.el (help-insert-string): New function. Save buffer + contents in cases where it is impossible to recompute the old contents. + + * descr-text.el (describe-char): Set help-xref-stack-item + explicitly after buffer has been generated. + +2005-12-27 Jan Dj,Ad(Brv + + * cus-start.el (all): Add x-gtk-show-hidden-files. + +2005-12-26 Richard M. Stallman + + * replace.el (perform-replace): Calculate match-again + before skipping read-only matches. + + * paren.el (paren-showing-faces): New group. + (show-paren-match, show-paren-mismatch): Move to that group. + + * button.el (button): Put into group `basic-faces'. + + * progmodes/make-mode.el: Remove faces from group `faces'. + + * apropos.el (apropos, apropos-value): Doc fix. + (apropos-documentation): Doc fix. + +2005-12-26 Stefan Monnier + + * subr.el (lazy-completion-table): Remove argument `args'. + + * textmodes/bibtex.el (bibtex-strings, bibtex-reference-keys): + Don't use the `args' argument of lazy-completion-table. + +2005-12-26 Nick Roberts + + * descr-text.el (describe-char): Add optional argument for buffer. + Set buffer appropriately. Call help-setup-xref. + Suggested by Stefan Monnier. + +2005-12-26 Juri Linkov + + * descr-text.el: Require `help-fns' at runtime. Don't require + `button' for byte compilation. + (describe-text-widget): Add `help-echo' for first button. + Use `help-info' for second. + (describe-property-list): Use `help-argument-name' instead of `italic'. + (describe-text-category): Add prompt to interactive spec. + Call `help-setup-xref'. + (describe-char): Use `help-character-set'. Add `help-echo' for + code point. Use `help-input-method'. Remove superfluous insert. + +2005-12-25 Richard M. Stallman + + * progmodes/cc-defs.el (c-emacs-features): Do parse-partial-sexp + at point, in case of narrowing. + + * progmodes/delphi.el (delphi-other-face): Allow nil in type. + + * locate.el (locate-header-face): Allow nil in type. + + * progmodes/cpp.el (cpp-face-none-list): Use cpp-face instead of face. + +2005-12-25 Romain Francoise + + * battery.el (battery-linux-proc-acpi): Also try + `/proc/acpi/thermal_zone/THM0/temperature'. + +2005-12-24 Chong Yidong + + * custom.el (custom-push-theme): Fix docstring. + + * cus-edit.el (custom-variable-set, custom-variable-save) + (custom-variable-save): Custom-quote widget values. + (customize-save-variable): Fix custom-push-theme call. + +2005-12-24 Eli Zaretskii + + * w32-fns.el (w32-batch-update-autoloads): New function. + + * makefile.w32-in (autoloads, $(lisp)/mh-e/mh-loaddefs.el): + Use w32-batch-update-autoloads, and don't setq generated-autoload-file + from the command line. + +2005-12-23 Chong Yidong + + * custom.el (custom-push-theme): Clarify docstring. VALUE nil for + reset means to remove setting from theme entirely. Don't keep + expanding theme-settings list; delete old entries if necessary. + + * cus-edit.el (custom-buffer-create-internal): Move "Erase + customization" button one line up. + (custom-themed): New face. + (custom-magic-alist): New value, THEMED, for theme settings. + (custom-variable-state-set, custom-face-state-set): + Check theme-value instead of saved-value. + (custom-variable-reset-standard, custom-face-reset-standard): + Remove theme setting entirely. Recalculate new values. + (custom-variable-set, custom-variable-set) + (custom-variable-reset-saved, custom-variable-reset-backup) + (custom-face-set, custom-face-reset-saved): Update `user' theme. + (custom-variable-save): Fix typos. + +2005-12-23 Juri Linkov + + * emacs-lisp/edebug.el (edebug-all-defs, edebug-all-forms): + Add autoload cookies. + (edebug-outside-d-c-i-n-s-w): New variable. + (edebug-display, edebug-outside-excursion): Use it to save the + original value of default-cursor-in-non-selected-windows. + Set default-cursor-in-non-selected-windows to t while Edebug + is active. + (edebug-mode, edebug-eval-mode): Doc fix. + + * mouse.el (mouse-choose-completion): Replace `buffer-substring' + with `buffer-substring-no-properties' to remove common substring + highlighting. + + * info.el (info-other-window, info): Rename function argument + `file' to `file-or-node'. + (Info-complete-menu-item): Use local variable `complete-nodes' to + keep the global value of `Info-complete-nodes' unchanged for + subsequent completions. + (info-tool-bar-map): Put `Info-index' icon just before `Info-search'. + + * simple.el (get-next-valid-buffer, last-buffer) + (next-error-buffer-p, next-error-find-buffer) + (minibuffer-history-sexp-flag): Doc fix. + + * savehist.el (savehist-mode-hook): Add `:group'. + + * log-view.el: Call autoload for vc-find-version. + (log-view-current-file): Adjust subgroup numbers. + (log-view-current-tag): Add `length'. + +2005-12-23 Richard M. Stallman + + * vc.el (vc-annotate-car-last-cons): Defn moved up. + +2005-12-23 Juri Linkov + + * hi-lock.el (hi-lock-archaic-interface-message-used) + (hi-lock-archaic-interface-deduce, hi-lock-mode): Doc fix. + (hi-lock-mode): Display "Hi" in the mode line only when + hi-lock-interactive-patterns or hi-lock-file-patterns is non-nil. + (hi-lock-write-interactive-patterns): + Use hi-lock-file-patterns-prefix instead of hard-coded "Hi-lock". + (hi-lock-set-pattern, hi-lock-set-file-patterns) + (hi-lock-font-lock-hook): Set 3rd arg `how' of + font-lock-add-keywords to t. + +2005-12-23 David Koppelman + + * hi-lock.el (hi-lock-highlight-range): New variable. + (hi-lock-mode, hi-lock-unface-buffer): Call font-lock-fontify-buffer + only if font-lock-fontified is non-nil. Remove overlays. + (hi-lock-set-pattern): Call font-lock-fontify-buffer if + font-lock-fontified is non-nil, otherwise use overlays (instead of + text properties). + (hi-lock-string-serialize-hash, hi-lock-string-serialize-serial): + New variables. + (hi-lock-string-serialize): New function. + +2005-12-23 Jan Dj,Ad(Brv + + * menu-bar.el (menu-find-file-existing): New function. + (menu-bar-file-menu): Use menu-find-file-existing for Open. + + * tool-bar.el (tool-bar-setup): Open changed to menu-find-file-existing. + +2005-12-22 Stefan Monnier + + * vc.el: Remove unnecessary leading * in docstrings. + (vc-annotate-mode-map): Move initialization into declaration. + (vc-static-header-alist): Nitpick on the regexp. + (vc-default-init-version): New fun. + (vc-register): Use it. + (vc-insert-headers): Use dolist. + (vc-annotate-get-backend): Remove unused function. + (vc-annotate-add-menu): Remove. Build the menu directly at toplevel. + (vc-annotate-mode): Remove corresponding call. + (vc-annotate-car-last-cons): Simplify. + (vc-annotate-buffers): Remove var. + (vc-annotate-backend): Make it buffer-local. + (vc-annotate): Move the interaction to the interactive spec. + Add a `buf' argument. + (vc-annotate-warp-version): Use this new `buf' argument to avoid + killing&creating a vc-annotate buffer, which is very disruptive when + the buffers are shown in dedicated frames. + +2005-12-23 Nick Roberts + + * descr-text.el: Add FSF as maintainer. + (describe-text-mode, describe-text-mode-map) + (describe-text-mode-hook, describe-text-done): Delete. Use normal + help-mode. + (describe-text-widget, describe-text-sexp) + (describe-property-list, describe-text-category) + (describe-text-properties, describe-text-properties-1) + (describe-char): Use help buttons instead of widgets. + (describe-char-unicodedata-file): Make URL link in doc string. + +2005-12-22 Richard M. Stallman + + * cus-edit.el (custom-variable-prompt): Say "variable" in prompt. + (custom-buffer-create-internal): Reword the top-of-buffer help intro. + Don't include buttons that write a file when there's no file. + (custom-variable-menu, custom-face-menu, custom-group-menu): + Don't include commands that write a file when there's no file. + (customize-browse): Reword the top-of-buffer help intro. + (custom-buffer-create-internal): Fix previous change. + (customize-changed-options-previous-release): Prev release is 21.1. + (customize-changed-options): Doc fix. + (customize-changed): New alias. + (custom-reset-menu, custom-magic-alist, Custom-mode-menu): + Say "standard values". + (Custom-reset-standard): Doc fix. + (custom-face-reset-standard): Doc fix. + +2005-12-22 Stefan Monnier + + * font-lock.el (font-lock-default-fontify-buffer): Try and set-defaults + even if font-lock-mode is non-nil since it may be t without having + turned on font-lock-mode-internal. + (font-lock-choose-keywords): Minor optimization. + (font-lock-add-keywords, font-lock-remove-keywords) + (font-lock-set-defaults): Don't call make-local-variable on a variable + that we know to already be local. + +2005-12-22 Katsumi Yamaoka + + * emacs-lisp/lisp.el (lisp-complete-symbol): Don't print progress + messages if in the minibuffer. + +2005-12-21 Stefan Monnier + + * textmodes/flyspell.el (flyspell-check-word-p): Don't quote - in a RE. + (tex-mode-flyspell-verify, flyspell-get-word) + (flyspell-external-point-words): Don't use point-min/max uselessly. + + * emacs-lisp/lisp.el (lisp-complete-symbol): Mostly undo the change + by Kevin Rodgers. Instead, just hide the completions buffer if we + don't need to show it. + +2005-12-21 Luc Teirlinck + + * wid-edit.el (file, directory): Doc fixes for the `define-widget's. + +2005-12-21 Stefan Monnier + + * emacs-lisp/lisp.el (lisp-complete-symbol): Don't call + delete-windows-on with an inexistent buffer. + +2005-12-22 Nick Roberts + + * progmodes/gud.el (gud-tooltip-modes, gud-tooltip-display): + Delete defcustom variable :tag names. + +2005-12-20 Stefan Monnier + + * log-view.el (log-view-file-re, log-view-message-re): Use shy groups. + (log-view-font-lock-keywords): Ajust subgroup numbers. + (log-view-current-tag): Don't hard code the number of subgroups. + +2005-12-20 Juri Linkov + + * tooltip.el (tooltip): Move defgroup before define-minor-mode. + (tooltip-x-offset, tooltip-y-offset): Doc fix. + + * menu-bar.el (menu-bar-menu-frame-live-and-visible-p) + (menu-bar-non-minibuffer-window-p): Instead of checking + display-multi-frame-p, use selected-frame when menu-updating-frame + is nil. + +2005-12-20 Stuart Herring (tiny change) + + * align.el (align-rules-list): Use [ \t] instead of \s- + for column separators in text mode. + +2005-12-20 Nick Roberts + + * help-mode.el (help-customize-variable, help-customize-face): + Don't pop help-xref-stack as help-follow no longer pushes + anything on to it. + +2005-12-20 Carsten Dominik + + * textmodes/org.el (org-agenda-custom-commands): New option. + (org-agenda): Offer custom commands on splash screen. + (org-make-tags-matcher): Parser for Boolean logic added. + (org-agenda-set-tags): New command. + (org-agenda-menu, org-agenda-mode-map): Add `org-agenda-set-tags'. + (org-set-tags): Efficiency improvements. + (org-auto-align-tags): New option. + (org-todo, org-demote, org-promote): Realign tags. + (org-tags-completion-function): Use also "&" and "|" as separators. + (org-org-menu): Agenda commands simplified. + +2005-12-19 Luc Teirlinck + + * cus-edit.el (customize-apropos, customize-apropos-options): + Docstring changes. + + * font-lock.el (font-lock): Add tags to the links in the defgroup. + +2005-12-19 Chong Yidong + + * longlines.el (longlines-mode): Wrap while widened. + (longlines-decode-region, longlines-encode-region): Compute max + just once. + +2005-12-19 YAMAMOTO Mitsuharu + + * cus-edit.el (mac): New group. + + * cus-start.el (all): Add user options in macterm.c. Add test for + Mac-related built-ins. Fix test for GTK-related built-ins. + + * term/mac-win.el (mac-handle-language-change) + (mac-ae-open-documents, mac-ae-get-url, mac-services-open-file) + (mac-services-open-selection, mac-services-mail-selection) + (mac-services-mail-to, mac-services-insert-text) + (mac-dispatch-apple-event): Add docstrings. + (x-get-selection, mac-select-convert-to-string): Select coding + system from `utf-16be' and `utf-16le' using `byteorder'. + +2005-12-18 Stefan Monnier + + * subr.el (lazy-completion-table): Don't be fooled if the var holds + a "list" (lambda ...) rather than a real completion list. + + * emacs-lisp/cl-extra.el (cl-macroexpand-all): Fix code-walk for + lexical-let when encountering ((lambda (...) ...) ...). + +2005-12-17 Chong Yidong + + * progmodes/sh-script.el (sh-mode): + * language/ethio-util.el (ethio-fidel-to-sera-mail-or-marker): + * textmodes/picture.el (picture-mode): Update docstrings. + +2005-12-17 Eli Zaretskii + + * makefile.w32-in (autoloads, custom-deps): Warn that parts of + commands enclosed in $(ARGQUOTE)s should not be split between two + lines, as that will break with GNU Make >3.80, when sh.exe is used + and arg quoting is with '..'. + (autoloads): Don't break the quoted --eval expression between + several lines. + +2005-12-17 Chong Yidong + + * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): + Capture error from printing circular structures. + +2005-12-17 Martin Rudalics + + * wid-edit.el (widget-checkbox-action): Clear undo info. + +2005-12-16 Bill Wohler + + * menu-bar.el (kill-this-buffer): Set a good example by using menu + bar, not menubar in comment. + +2005-12-16 Stefan Monnier + + * progmodes/cc-engine.el (c-after-change-check-<>-operators): + After-change-functions should not clobber the match data. + +2005-12-16 Juri Linkov + + * simple.el (choose-completion): Use `buffer-substring-no-properties' + instead of `buffer-substring'. + (completion-common-substring): Doc fix. + (completion-setup-function): Use minibuffer-completion-contents + instead of minibuffer-contents. Don't set common-string-length + initially. Remove special handling of partial-completion-mode. + Move computation of completion-base-size into one cond. + Call completion-base-size-function in mainbuf. In computation of + completion-base-size for file name completion don't move point to + the end of the minibuffer. Move computation of common-string-length + into one cond. Start putting faces only when common-string-length>=0. + Add condition to put completions-common-part when + common-string-length>0. + + * complete.el (PC-do-completion): Remove `(equal (point) beg)' to + place point at the first different character in the minibuffer + even if this position is at the beginning of the minibuffer. + + * info.el (Info-read-node-name-1): In completion-base-size-function's + lambda return 1 if common-substring or minibuffer-completion-contents + starts with (, and 0 otherwise. + + * emacs-lisp/crm.el (crm-minibuffer-completion-help): + Use `crm-current-element' for second arg of `display-completion-list'. + +2005-12-16 Klaus Zeitler + + * files.el (set-auto-mode): Look for an interpreter specified on + the first line also if search for mode specification succeeded, + but the mode is not known. + +2005-12-16 Carsten Dominik + + * textmodes/org.el (org-tags-match-list-sublevels): New option. + (org-open-at-point): Implement tag searches as links. + (org-fit-agenda-window, org-get-buffer-tags, org-get-tags) + (org-make-tags-matcher, org-scan-tags, org-activate-tags): New funs. + (org-tags-sparse-tree, org-tags-view, org-set-tags) + (org-agenda-dispatch): New commands. + (org-use-tag-inheritance, org-tags-column): New options. + (org-tab-follows-link, org-return-follows-link): New options. + (org-tags): New customize group. + (org-start-icalendar-file): Get local time zone. + (org-tags-completion-function): New function. + (org-set-font-lock-defaults): Make sure links will also be + highlighted inside headlines. + +2005-12-16 Mark Plaksin (tiny change) + + * term.el (term-emulate-terminal): + Let term-handle-ansi-terminal-messages override what Bash says about + its current directory. + +2005-12-16 K,Aa(Broly L$,1 q(Brentey + + * bindings.el (last-buffer): Move to simple.el. + * simple.el (last-buffer): Move here. + (get-next-valid-buffer): New function. + (next-buffer): Use frame-local buffer list, maintain buried buffer list. + (prev-buffer): Ditto. Rename to `previous-buffer'. + + * menu-bar.el (menu-bar-update-buffers): Update uses of `prev-buffer'. + * bindings.el (global-map): Ditto. + +2005-12-15 Luc Teirlinck + + * cus-edit.el: Introductory comment change. + (custom-magic-alist): Change message string for the `rogue' state. + +2005-12-15 Richard M. Stallman + + * tooltip.el: Delete defcustom variable :tag names. + + * complete.el (partial-completion-mode): Doc fix. + + * textmodes/flyspell.el (flyspell-external-point-words): + Use save-excursion to ensure we don't move backward in the + search loop, not even one character. + (flyspell-delete-all-overlays): Use remove-overlays directly. + + * textmodes/ispell.el (ispell-current-personal-dictionary): New var. + (ispell-start-process): Set that variable. + Clear ispell-buffer-local-name. + (ispell-internal-change-dictionary): + Set ispell-current-dictionary after killing process. + (ispell-buffer-local-dict): + Don't set spell-personal-dictionary after killing process. + (ispell-buffer-local-words): Don't clear out ispell-buffer-local-name. + (ispell-tex-skip-alists, ispell-html-skip-alists) + (ispell-skip-region-alist): Mark as risky. + + * net/newsticker.el (newsticker--retrieval-timer-list) + (newsticker--display-timer, newsticker-running-p) + (newsticker-ticker-running-p): Definitions moved up. + +2005-12-16 Nick Roberts + + * progmodes/gdb-ui.el (gdb-many-windows): Echo new state in minibuffer. + +2005-12-15 David Ponce + + * recentf.el (recentf-dialog-goto-first): Fix missing error condition. + (recentf-edit-list, recentf-open-files): Signal an error when + there is no recent file. + +2005-12-14 Lennart Borgman + + * textmodes/texinfmt.el (texinfo-format-region): Set buffer to + read-only except for texinfo-format-region evaluation. + +2005-12-14 Richard M. Stallman + + * vc.el (vc-default-previous-version, vc-default-next-version) + (vc-do-command): Doc fixes. + +2005-12-14 Roland Winkler + + * textmodes/bibtex.el (bibtex-expand-strings) + (bibtex-autokey-expand-string, bibtex-name-part) + (bibtex-entry-type-whitespace, bibtex-entry-type-str) + (bibtex-any-entry-maybe-empty-head, bibtex-string-type) + (bibtex-preamble-prefix, bibtex-string-empty-key): New variables. + (bibtex-entry-type, bibtex-entry-head): Match only valid entries. + (bibtex-entry-postfix, bibtex-known-entry-type-re) + (bibtex-valid-entry-re, bibtex-any-valid-entry-re) + (bibtex-valid-entry-whitespace-re, bibtex-empty-field-re) + (bibtex-field-name-for-parsing, bibtex-remove-delimiters-string) + (bibtex-beginning-of-last-entry): Remove. + (bibtex-parse-field-name): Use bibtex-field-name. Issue error + message if comma is missing but buffer is read-only. + (bibtex-parse-field-text): Handle whitespaces at the end of field + text. Return 3-element list with beginning and end of field text + and end of field. + (bibtex-end-of-text-in-field, bibtex-end-of-field): Change accordingly. + (bibtex-parse-field): Remove arg name. Use bibtex-field-name. + (bibtex-search-forward-field, bibtex-search-backward-field): + Search always delimited by limits of entry. Use more efficient + search algorithms. + (bibtex-name-in-field): Use bibtex-start-of-name-in-field and + bibtex-end-of-name-in-field. + (bibtex-text-in-field-bounds): Handle BibTeX strings when + extracting the content of a field. + (bibtex-text-in-field): Use search limits. + (bibtex-parse-string-prefix): Handle empty string keys based on + bibtex-string-empty-key. + (bibtex-parse-string): Fix docstring. + (bibtex-text-in-string): Use bibtex-text-in-field-bounds. + (bibtex-preamble-prefix, bibtex-strings): New functions. + (bibtex-skip-to-valid-entry): Include preceding whitespace in + BibTeX entries (consistent with other BibTeX functions). + (bibtex-map-entries): Use bibtex-skip-to-valid-entry. + (bibtex-search-entry): Fix docstring. Simplify. + (bibtex-flash-head, bibtex-complete-string-cleanup) + (bibtex-count-entries, bibtex-sort-buffer): Simplify. + (bibtex-beginning-of-first-entry): Use bibtex-skip-to-valid-entry. + (bibtex-parse-entry): New optional arg content. + (bibtex-format-entry, bibtex-autofill-entry, bibtex-url): Use it. + Use bibtex-text-in-field-bounds. + (bibtex-print-help-message): Handle BibTeX strings and preambles. + (bibtex-end-of-entry): Use bibtex-preamble-prefix and + bibtex-parse-string-postfix. + (bibtex-find-text-internal): New function. + (bibtex-remove-delimiters): Use it. + (bibtex-find-text): Use it. New optional arg help. + (bibtex-complete): Handle BibTeX string and preamble entries. + (bibtex-Preamble): Fix order of closing delimiters. + +2005-12-14 Stefan Monnier + + * vc.el (vc-default-revert): New fun. + + * vc-mcvs.el (vc-mcvs-revert): Fix call to vc-default-revert. + +2005-12-14 Romain Francoise + + * font-lock.el (font-lock-keywords-alist): Rename `append' to `how'. + (font-lock-add-keywords, font-lock-update-removed-keyword-alist): + (font-lock-remove-keywords): Likewise. + +2005-12-14 Juri Linkov + + * log-view.el (log-view-diff): Doc fix. + + * isearch.el (isearch-query-replace): Use (mark) instead of + isearch-opoint if mark is active in transient-mark-mode. + +2005-12-14 Aaron S. Hawley + + * isearch.el (isearch-query-replace): Check for isearch-other-end. + +2005-12-14 Per Abrahamsen + + * progmodes/cpp.el (cpp-face): New widget. + (cpp-known-face, cpp-unknown-face, cpp-edit-list): Use it. + +2005-12-14 Juri Linkov + + * help-macro.el (make-help-screen): Bind `inhibit-read-only' to t + around `erase-buffer' and `insert'. + + * descr-text.el (describe-text-properties): Replace buffer name + "*Help-2*" with "*Help*<2>". + (describe-char): Add functions print-help-return-message, + toggle-read-only. Use help-setup-xref with nil to not store + describe-char in help-xref-stack. Use help-make-xrefs to + make [back] button. + + * desktop.el (desktop-minor-mode-table): Add vc-dired-mode with nil. + + * wdired.el (wdired-old-point): New internal variable. + (wdired-change-to-wdired-mode): Set it buffer-locally. + (wdired-abort-changes): Restore point after aborting changes. + +2005-12-13 Stefan Monnier + + * vc.el (vc-do-command): Add a new value t for okstatus. + + * vc-svn.el (vc-svn-registered): Use it to avoid popping up a spurious + frame in case of errors. + +2005-12-13 Jan Dj,Ad(Brv + + * menu-bar.el (menu-bar-showhide-fringe-menu): Move "On the Right" + so it comes after "On the Left" in the menu. + +2005-12-12 Luc Teirlinck + + * cus-edit.el (customize-apropos, customize-apropos-options) + (customize-apropos-faces, customize-apropos-groups): Doc fixes. + +2005-12-12 Bill Wohler + + * vc-svn.el (vc-svn-registered): Fix problem of visiting + non-writable Subversion-controlled files by saving window + configuration before calling vc-do-command. vc-do-command calls + pop-to-buffer on error which is unexpected during registration. + +2005-12-12 Jay Belanger + + * calc/README: Update the summary of changes. + +2005-12-12 Stefan Monnier + + * descr-text.el (describe-char): Rework last fix to solve the problem + is the same way it's solved for everything else in that function + (i.e. by extracting the info before setting up the *Help* buffer). + +2005-12-12 Kim F. Storm + + * subr.el (version-regexp-alist): Allow space as separator before + non-numeric part, e.g. "1.0 alpha". + (version-to-list): Interpret .X.Y version as 0.X.Y version. + +2005-12-12 Carsten Dominik + + * textmodes/org.el (org-agenda, org-timeline, org-todo): + Implement Logging and the keep-modes setting. + (org-get-category): Make sure a string is returned. + (org-log-done): New function. + (org-log-done, org-closed-string): New options. + +2005-12-12 Jan Dj,Ad(Brv + + * tooltip.el (tooltip-y-offset): Change default to 20. + +2005-12-12 Richard M. Stallman + + * mouse.el (mouse-drag-vertical-line): Use adjust-window-trailing-edge. + + * frame.el (display-hourglass): Doc fix. + + * help.el (help-for-help-internal): Simplify entry for `a'. + + * info.el (Info-on-current-buffer): Doc fix. + (info-insert-file-contents): Don't test (featurep 'jka-compr). + + * startup.el (inhibit-splash-screen): Make this the real name. + (inhibit-startup-message): Make this the alias. + (command-line): Find only simple.el, and use its directory + to fill in other preloaded files' names. + (command-line): Deactivate the mark if deactivate-mark is set. + + * international/mule.el (load-with-code-conversion): + Bind deactivate-mark. + + * progmodes/compile.el (compilation-error-regexp-alist): Doc fix. + +2005-12-11 Luc Teirlinck + + * cus-edit.el (customize-apropos): Avoid listing an option more + than once under different aliases. No longer list user options + that are not defined with defcustom (unless a prefix arg is given). + Doc fix. + (customize-apropos-options): Doc fix. + +2005-12-11 Juri Linkov + + * frame.el (set-background-color, set-foreground-color) + (set-cursor-color, set-mouse-color, set-border-color): + Add explicit prompts to read colors by `facemenu-read-color'. + (show-trailing-whitespace, blink-cursor-delay) + (blink-cursor-interval, display-hourglass, hourglass-delay): + Remove tags. + (display-hourglass, hourglass-delay): Doc fix. + (cursor-in-non-selected-windows): Capitalize words in tag. + + * faces.el (frame-background-mode): Replace `choice-item' keywords + with `const' to not make [default] button. Change default value tag + from `default' to `automatic'. Doc fix. + (trailing-whitespace) : Change group `whitespace' to + `whitespace-faces'. + +2005-12-11 Richard M. Stallman + + * buff-menu.el (Buffer-menu-sort-column): Not a user variable. + +2005-12-11 YAMAMOTO Mitsuharu + + * term/mac-win.el: Create keymap for mac-apple-event-map. + +2005-12-11 Nick Roberts + + * tooltip.el (tooltip-mode): Move to start of file so that it + appears at top of customize buffer. + + * progmodes/gud.el (gud-tooltip-modes, gud-tooltip-display): + Add the gud groupname. + (gud-tooltip-mode): Add the tooltip groupname. + (gud-tooltip-echo-area): Add the gud groupname. Remove tag to + avoid conflict with tooltip-use-echo-area. + +2005-12-10 Romain Francoise + + * help.el (help-for-help-internal): Add `r' in doc string. + +2005-12-10 Johan Bockg,Ae(Brd + + * align.el (align-regexp, align-highlight-rule): + Use region-beginning and region-end instead of point and mark, so that + repetition (with `repeat-complex-command') recomputes the region + bounds. + +2005-12-10 Lennart Borgman + + * window.el (bw-get-tree, bw-get-tree-1, bw-find-tree-sub) + (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir) + (bw-refresh-edges, bw-adjust-window, bw-balance-sub): New functions. + (balance-windows): Rewrite using the above new functions. + +2005-12-10 David Koppelman + + * hi-lock.el (hi-lock-mode): Rename from hi-lock-buffer-mode; + react if global-hi-lock-mode seems intended. + (global-hi-lock-mode): Renamed from hi-lock-mode. + (hi-lock-archaic-interface-message-used) + (hi-lock-archaic-interface-deduce): New variables. + (turn-on-hi-lock-if-enabled, hi-lock-line-face-buffer) + (hi-lock-face-buffer, hi-lock-face-phrase-buffer) + (hi-lock-find-patterns, hi-lock-font-lock-hook): + Replace hi-lock-buffer-mode with hi-lock-mode. + +2005-12-10 Kevin Rodgers (tiny change) + + * emacs-lisp/lisp.el (lisp-complete-symbol): Regenerate the + completion list, even after a partial completion has been + inserted in the current buffer. If there are more than 1 + completion, redisplay the *Completions* buffer; if the + completion is unique, delete the *Completions* window. + +2005-12-10 Eli Zaretskii + + * mail/rmail.el (rmail-next-same-subject): Handle multiple "Re: " + strings and long subject lines that were broken into multiple + lines at arbitrary places. Handle subjects that have "Re: " in + the middle. + +2005-12-10 John W. Eaton + - * emacs/octave-mod.el (octave-electric-space): Don't indent ++ * progmodes/octave-mod.el (octave-electric-space): Don't indent + comments or strings if octave-auto-indent is nil. + +2005-12-10 YAMAMOTO Mitsuharu + + * term/mac-win.el: Require url when compiling. + Call mac-process-deferred-apple-events after loading init files. + (mac-apple-event-map): New defvar. Define event handlers in it. + (core-event, internet-event): New Apple event class symbols. + (open-application, reopen-application, open-documents) + (print-documents, open-contents, quit-application) + (application-died, show-preferences, autosave-now, get-url): + New Apple event ID symbols. + (about): New HICommand ID symbol. + (mac-event-spec, mac-event-ae): New macros. + (mac-ae-parameter, mac-ae-list, mac-bytes-to-integer) + (mac-ae-selection-range, mac-ae-text-for-search) + (mac-ae-open-documents, mac-ae-text, mac-ae-get-url): New functions. + (mac-application-menu-map): Remove keymap. Handlers for HICommand + and Services menu events are now defined in mac-apple-event-map. + (mac-drag-n-drop): Remove selection range handling. + +2005-12-10 Kenichi Handa + + * simple.el (zap-to-char): + * isearch.el (isearch-process-search-char): Translate CHAR by + translation-table-for-input. + +2005-12-09 Chong Yidong + + * foldout.el (foldout-exit-fold): Properly hide subtree. + +2005-12-09 Reiner Steib + + * files.el (save-buffer): + * international/ucs-tables.el (ucs-set-table-for-input): + * mail/mail-extr.el (mail-extract-address-components): + * mail/sendmail.el (mail-mode): Reformat doc string. + +2005-12-09 Juri Linkov + + * isearch.el (isearch-highlight): Change main overlay priority + from 1 to 1001. Simplify. + (isearch-lazy-highlight-update): Change lazy overlay priority + from 0 to 1000. + + * replace.el (replace-highlight): Change overlay priority from + 1 to 1001. + + * textmodes/ispell.el (ispell-highlight-spelling-error-overlay): + Change overlay priority from 1 to 1001. Reuse existing overlay. + + * compare-w.el (compare-windows-highlight): Change overlay + priority from 1 to 1000. + + * menu-bar.el (menu-bar-edit-menu): Add listp around + pending-undo-list to disable menu item "undo" when pending + undo list is empty. + + * locate.el (locate): Disable undo in *Locate* buffer. + +2005-12-09 Kim F. Storm + + * mail/smtpmail.el (smtpmail-via-smtp): Disable undo in SMTP buffer. + +2005-12-09 David Ponce + + * recentf.el: Improvement of the menu code. + (recentf-enabled-p): Move before first use. Use `kill-emacs-hook' + instead of menu hook. + (recentf-show-menu, recentf-hide-menu): New functions. + (recentf-menu-customization-changed, recentf-mode): Use them. + (recentf-menu-action, recentf-max-menu-items) + (recentf-menu-open-all-flag, recentf-menu-append-commands-flag) + (recentf-arrange-by-rule-others) + (recentf-arrange-by-rules-min-items) + (recentf-arrange-by-rule-subfilter): Don't use + `recentf-menu-customization-changed'. + (recentf-arrange-rules): Likewise. Accept functions to compute + sub-menu titles. + (recentf-menu-filter): Likewise. Doc fix. + (recentf-menu-value-shortcut): Doc fix. + (recentf-dump-variable): Quote atom value. + (recentf-make-menu-items): Update to use it as a menu filter. + (recentf-match-rule): New function. + (recentf-arrange-by-rule): Use it. + (recentf-indirect-mode-rule): New function. + (recentf-build-mode-rules): Use it. + (recentf-dir-rule): New function. + (recentf-arrange-by-dir): Use it. + (recentf-filter-changer-current): Rename from + `recentf-filter-changer-state'. All references updated. + (recentf-filter-changer-alist): Update filter names. + (recentf-filter-changer-select): New function. + (recentf-filter-changer): Use it. Make a sub-menu from filters + available in `recentf-filter-changer-alist'. + (recentf-data-cache, recentf-clear-data) + (recentf-update-menu): Remove. All references updated. + (recentf-match-rule-p, recentf-build-dir-rules) + (recentf-filter-changer-goto-next) + (recentf-filter-changer-get-current) + (recentf-filter-changer-get-next): Remove. + +2005-12-08 Luc Teirlinck + + * cus-edit.el (custom-buffer-create-internal): Relabel the whole + buffer "Reset" button to "Reset to Current" for consistency with + the State buttons. + +2005-12-08 John Paul Wallington + + * ibuf-ext.el (define-ibuffer-filter filename): + If `dired-directory' is a list then really use its car. + +2005-12-08 Kim F. Storm + + * emulation/cua-rect.el (cua--rectangle-aux-replace): + Fix indention of text on right side of replaced rectangle. + +2005-12-09 Nick Roberts + + * progmodes/gud.el (gud-speedbar-buttons, gud-tooltip-tips): + No need to check gud-comint-buffer is bound. + (gdb): Prevent multiple debugging when first session uses gdba. + +2005-12-08 Alan Mackenzie + + CC Mode update to 5.31. + + * progmodes/cc-subword.el: Add a dummy `c-subword-mode' for + Emacsen which lack `define-minor-mode'. (Currently Emacs <21. + We might do this function properly in the future). + + * progmodes/cc-cmds.el, cc-defs.el, cc-styles.el, cc-vars.el: + New macros c-sentence-end and c-default-value-sentence end, to cope + with Emacs 22's new function `sentence-end'. + +2005-12-08 Martin Stjernholm + + * progmodes/cc-cmds.el (c-show-syntactic-information): Solve the + compat issue using `c-put-overlay' and `c-delete-overlay'. + + * progmodes/cc-defs.el (c-put-overlay, c-delete-overlay): + New compat macros to handle overlays/extents. + +2005-12-08 Alan Mackenzie + + * progmodes/cc-fix.el: Add definitions of the macros push and pop + (for GNU Emacs 20.4). + - * progmodes/cc-defs.el: ++ * progmodes/cc-defs.el + (i): Load cc-fix.elc for `push' and `pop' (for GNU Emacs 20.4). + + * progmodes/cc-cmds.el (c-show-syntactic-information): Change the + highlighting mechanism so it will work in XEmacs too. + + * progmodes/cc-defs.el: Insert c-int-to-char. + + * progmodes/cc-langs.el (c-nonsymbol-token-char-list): Insert a + call to the new macro c-int-to-char. This solves XEmacs's + regarding characters as different from integers. + +2005-12-08 Martin Stjernholm + + * progmodes/cc-fonts.el (c-make-syntactic-matcher): + New internal helper. + + (c-cpp-matchers, c-basic-matchers-before): Use the `eval' + construct to make the indirect face lookup work in XEmacs. + + (c-cpp-matchers): Append the negation char face to the existing + fontification, so that the cpp face doesn't disappear. + Use `c-make-syntactic-matcher' to avoid negation chars in comments + and strings. + + * progmodes/cc-fonts.el (c-negation-char-face-name): New variable + to map to `font-lock-negation-char-face' in emacsen where it exists. + +2005-12-08 Alan Mackenzie + + * progmodes/cc-mode.el: Bind c-subword-mode to C-c C-w. + + * progmodes/cc-subword.el, cc-cmds.el, cc-mode.el: + Rename "c-subword-move-mode" as "c-subword-mode". + + * progmodes/cc-mode.el: Added tty suitable bindings for C-c + and C-c C-. (To the c-hungry- delete functions). + +2005-12-08 Martin Stjernholm + + * progmodes/cc-mode.el: Added autoload directive for + `c-subword-move-mode' for use in older emacsen. + +2005-12-08 Alan Mackenzie + + * progmodes/cc-mode.el: + (i): Insert a binding for C-c C-backspace into + c-bind-special-erase-keys which works in TTYs. + (ii): Make sure that when file styles are used, any explicitly + given style variables take priority over those in the style. + Do this by calling `hack-local-variables' a second time. + + * progmodes/cc-vars.el: Add language specific customization + widgets for AWK to c-doc-comment-style, c-require-final-newline + and c-default-style. Add a defcustom for awk-mode-hook. + Give c-syntactic-element and c-syntactic-context doc-strings by + directly setting their `variable-documentation' propery. + This allows Emacs 22.1 to read these with C-h v. + + * progmodes/cc-awk.el: Apply a tidy-up patch (from Stefan Monnier). + +2005-12-08 Martin Stjernholm + + * progmodes/cc-fonts.el, cc-vars.el + (gtkdoc-font-lock-doc-comments, gtkdoc-font-lock-doc-protection) + (gtkdoc-font-lock-keywords): GtkDoc patterns contributed by + Masatake YAMATO. + + (c-doc-comment-style): Made GtkDoc default in C mode. + + * progmodes/cc-mode.el: Fixed key bindings for C-c C- + and C-c C-. + + (c-bind-special-erase-keys): New function for use on + `normal-erase-is-backspace-hook' to bind C-c C- correctly. + + * progmodes/cc-cmds.el (c-hungry-delete): New function to fix + key behavior in XEmacs according to `delete-forward-p'. + C.f. `c-electric-delete'. + +2005-12-08 Alan Mackenzie + + * progmodes/cc-mode.el: Give c-hungry-backspace and + c-hungry-delete-forward permanent key bindings. + + * progmodes/cc-cmds.el (c-electric-semi&comma): + Bind c-syntactic-context for calls to "criteria functions", for + consistency with other calls to user functions. + + * progmodes/cc-cmds.el (c-indent-command): Expunge use of + `current-prefix-arg', since this might be the prefix arg to a + command which calls c-indent-command as a function. Change the + interactive spec from "p" to "P". + + * progmodes/cc-styles.el: Amend the doc-string of c-set-style, in + reponse to a report from Joseph Kiniry that it + was difficult to understand. + +2005-12-08 Martin Stjernholm + + * progmodes/cc-engine.el (c-on-identifier): Fix bug when at the + first char of an identifier. + + * progmodes/cc-engine.el (c-on-identifier): Handle the "operator + +" syntax in C++. + +2005-12-08 Alan Mackenzie + + * progmodes/cc-cmds.el (c-mask-paragraph): Correct, so that + auto-fill doesn't split a c-comment's last word from a hanging + "*/" when a space is typed between them after fill-column. + + * progmodes/cc-defs.el: New macro c-delete-and-extract-region. + + * progmodes/cc-styles.el (c-set-style) + (c-setup-paragraph-variables): Abort the command if we're not in a + CC Mode buffer. + + * progmodes/cc-align.el (c-lineup-C-comments): Correct indentation + with blank comment-prefix, and a blank line as the comment's + second line. + +2005-12-08 Martin Stjernholm + + * progmodes/cc-fonts.el (c-cpp-matchers, c-basic-matchers-before): + Incorporate the patterns added in the Emacs development branch + for the new Emacs 22 face `font-lock-negation-char-face'. + + * progmodes/cc-fonts.el (c-invalid-face-name): Use "red1" instead + of "red" since it stands out better in xterms and DOS terminals. + + * progmodes/cc-engine.el (c-literal-faces): + Add `font-lock-comment-delimiter-face' which is new in Emacs 22. + +2005-12-08 Alan Mackenzie + + * progmodes/cc-cmds.el: Make C-c C-a (`c-toggle-auto-newline') + forcibly enable c-electric-flag. + + * progmodes/cc-vars.el, cc-cmds.el: New clean-up + `comment-close-slash' on c-electric-slash: if enabled, typing `/' just + after the comment-prefix of a C-style comment will close that comment. + +2005-12-08 Martin Stjernholm + + * progmodes/cc-fonts.el (c-basic-matchers-before) + (c-complex-decl-matchers): Fix the "not-arrow-prefix" regexp used + in Pike. + + * progmodes/cc-langs.el (c-other-op-syntax-tokens): Only C++ has + digraphs. + + * progmodes/cc-fonts.el, cc-langs.el, cc-engine.el + (c-cpp-message-directives, c-cpp-include-directives) + (c-opt-cpp-macro-define, c-opt-cpp-macro-define-start) + (c-cpp-expr-directives): Introduce new language constants to + control cpp syntax in a cleaner way. + + (c-cpp-expr-functions): Rename from c-cpp-defined-fns. + + (c-cpp-matchers, c-forward-to-cpp-define-body): Use them. + + * progmodes/cc-langs.el, cc-fonts.el (c-string-escaped-newlines) + (c-multiline-string-start-char): New language constants and + variables to specify how newlines in string literals work. + + (c-font-lock-invalid-string): Use them. + + * progmodes/cc-cmds.el (c-try-one-liner): Robustness fix if an + unbalanced close brace is entered. Optimization by avoiding going + back over arbitrarily large blocks. Removed hints that this + function only would be relevant/useful in AWK. + + (c-electric-brace): Indent syntactically after the cleanups since + lineup functions might do it differently then. + + * progmodes/cc-engine.el, cc-langs.el + (c-opt-op-identifier-prefix): New language constant and variable. + + (c-just-after-func-arglist-p, c-after-special-operator-id) + (c-search-decl-header-end, c-inside-bracelist-p): Use it. + + * progmodes/cc-align.el, cc-engine.el + (c-after-special-operator-id): New helper to handle C++ operator + identifiers. + + (c-lineup-topmost-intro-cont, c-just-after-func-arglist-p) + (c-guess-basic-syntax): Handle C++ operator identifiers in + declarations. + + * progmodes/cc-langs.el (c-assignment-operators): Add the + trigraph version of ^= too. + + * progmodes/cc-langs.el (c-assignment-operators): Add the + trigraph version of |= in C++. + + * progmodes/cc-fonts.el (c-font-lock-declarators): + Handle `c-decl-hangon-kwds' after the identifier name. + + * progmodes/cc-engine.el (c-guess-basic-syntax): When deciding + whether an arglist is "nonempty", ignore a comment after the open + paren if it isn't followed by a non-comment token on the same line. + + * progmodes/cc-engine.el (c-guess-basic-syntax): Case 4: + Enable heuristics below the point to cope with classes inside special + brace lists in Pike. + +2005-12-08 Alan Mackenzie + + * progmodes/cc-cmds.el: Amend c-point-syntax to handle macros. + +2005-12-08 Martin Stjernholm + + * progmodes/cc-guess.el (cc-guess-install): New function to + install an already guessed style in another buffer. + + * progmodes/cc-defs.el (c-tentative-buffer-changes): No longer + sets `inhibit-read-only' - `c-save-buffer-state' should be used + anyway if the change always is undone. + +2005-12-08 Alan Mackenzie + + Implement togglable electricity: + + * progmodes/cc-defs.el: Enhance c-save-buffer-state's doc-string, + saying when it should be used. + + * progmodes/cc-engine.el: Add the new buffer-local variable, + c-electric-flag. + + * progmodes/cc-langs.el: Change the name of c-toggle-auto-state to + c-toggle-auto-newline. + + * progmodes/cc-mode.el: Rename c-toggle-auto-state to + c-toggle-auto-newline. Remove the binding for + c-toggle-auto-hungry-state. Add the binding C-c C-l for the new + c-toggle-electric-state. + + * progmodes/cc-vars.el: Make c-syntactic-indentation buffer local. + + * progmodes/cc-cmds.el: Add `c-bytecomp-defun's for + c-\(forward\|backward\)-subword. + (c-update-modeline): Add the new modeline flag `l' for + `c-electric-flag'. Make the auto-newline flag `a' dependent on `l'. + (c-toggle-auto-state): Rename it to `c-toggle-auto-newline'. + Make the old name an alias of the new name. + (c-toggle-electric-state): New function. + (c-electric-\(pound\|brace\|slash\|star\|semi&comma\|colon\|lt-gt\|paren\|continued-statement\)): + Adapt these functions to do electric things only when + c-electric-flag is non-nil. + (c-point-syntax, c-brace-newlines, c-try-oneliner): Extract these + new functions from c-electric-brace. + (c-point-syntax): Add a check for "virtual semicolons" in AWK + mode, so that the tentative extra newline doesn't change the + syntax of the following brace. + (c-electric-brace): Restructure by extracting the above functions. + Tidy up the coding somewhat. + (c-electric-semi&comma, c-electric-colon, c-electric-paren): + restructure a bit. + +2005-12-08 Martin Stjernholm + + * progmodes/cc-cmds.el (c-show-syntactic-information): Show the + anchor position(s) using faces. Thanks to Masatake YAMATO for the idea. + + * progmodes/cc-mode.el, cc-cmds.el, cc-defs.el, cc-engine.el + (c-submode-indicators): Change name from `c-auto-hungry-string' + since it's now used to track another submode. + + (c-update-modeline): Convert to function and extended to check + `c-subword-move-mode'. + + (c-forward-into-nomenclature, c-backward-into-nomenclature): + Convert to compat aliases for `c-forward-subword' and + `c-backward-subword'. + + * progmodes/cc-subword.el: New functions and minor mode to handle + SillyCapsedStyleIndentifiers, contributed by Masatake YAMATO: + + (c-forward-subword, c-backward-subword, c-mark-subword) + (c-kill-subword, c-backward-kill-subword, c-transpose-subwords) + (c-capitalize-subword, c-downcase-subword, c-upcase-subword): + Functions corresponding to the standard word handling functions. + + (c-subword-move-mode): Minor mode that replaces all the standard + word handling functions with their subword equivalences. + +2005-12-08 Alan Mackenzie + + * progmodes/cc-vars.el (c-cleanup-list): Insert a customization + entry for one-liner-defun. + + * progmodes/cc-defs.el: Give c-tentative-buffer-changes its own + name in its def-edebug-spec. + + * progmodes/cc-cmds.el (c-electric-brace): Make the + one-liner-defun clean-up work with empty-defun-braces. o-l-d now + compacts space before a comment, if this will make things fit on + one line. + + Introduce an "awk" style, mainly for auto-newline and clean-ups. + + * progmodes/cc-align.el: New function c-snug-1line-defun-close. + + * progmodes/cc-cmds.el: In c-electric-brace, add code for new + clean-up one-liner-defun. + + * progmodes/cc-styles.el: Add the new "awk" style. + + * progmodes/cc-vars.el: Add description of one-liner-defun to + c-cleanup-list's doc-string. New user options, + c-max-one-liner-length. In c-default-style, set the default style + for AWK to "awk". + +2005-12-08 Martin Stjernholm + + * progmodes/cc-engine.el (c-forward-label): Fix fontification of + macros inside labels. + + * progmodes/cc-engine.el (c-looking-at-bos): Obsolete in favor of + `c-at-statement-start-p' and `c-at-expression-start-p'. + + * progmodes/cc-defs.el (c-tnt-chng-record-state): Don't signal an + error if the mark isn't set. + + * progmodes/cc-engine.el (c-guess-continued-construct) + (c-guess-basic-syntax): Use `c-forward-decl-or-cast-1' to more + accurately detect functions inside functions. + + * progmodes/cc-engine.el (c-at-expression-start-p): New function + like `c-at-statement-start-p' that additionally recognizes commas + and expression parentheses as delimiters. + + * progmodes/cc-engine.el (c-looking-at-inexpr-block): Add flag + to avoid heuristics that doesn't work for unclosed blocks. + (c-at-statement-start-p): New function. + + * progmodes/cc-engine.el, cc-fonts.el: Fixes in handling of + Objective-C directives, e.g. directives spanning lines should work + reasonably well now. + + (c-put-c-type-property, c-clear-c-type-property): New helpers. + + (c-forward-objc-directive): New function to move over any ObjC + directive. + + (c-just-after-func-arglist-p, c-guess-basic-syntax) + (c-basic-matchers-before): Use it. + + (c-font-lock-objc-iip-decl): Remove. + + * progmodes/cc-engine.el (c-guess-basic-syntax): Some improvement + in the template arglist recognition. + + * progmodes/cc-styles.el (c-style-alist): Fix several + inconsistencies in the Whitesmith style. + + * progmodes/cc-align.el (c-lineup-after-whitesmith-blocks): + New lineup function to get lines after Whitesmith style blocks + correctly indented. + + (c-lineup-whitesmith-in-block): Back out the compensation for + opening parens since it's done using `add' lists in the style + definition instead. Don't use the anchor position since it varies + too much between the syntactic symbols. :P + + * progmodes/cc-vars.el (c-valid-offset): Update. + + * progmodes/cc-engine.el (c-evaluate-offset): Extend to handle + lists where the offsets are combined according to several + different methods: `first', `min', `max', and `add'. + Report offset evaluation errors with `c-benign-error' so that some kind + of reindentation still is done. + + * progmodes/cc-engine.el (c-guess-basic-syntax): + Anchor `arglist-intro' the same way as `arglist-cont-nonempty' and + `arglist-close'. + + * progmodes/cc-engine.el (c-guess-basic-syntax): Fix similar + situations for `arglist-cont-nonempty' and `arglist-close'. + + * progmodes/cc-langs.el (c-opt-identifier-concat-key-depth): New const. + + * progmodes/cc-defs.el: Use `cc-bytecomp-fboundp' and + cc-bytecomp-boundp' in a number of places. + + * progmodes/cc-engine.el (c-beginning-of-statement-1): Fix a + macro related issue. + +2005-12-08 Alan Mackenzie + + * progmodes/cc-awk.el: Change the terminology of regexps: A char + list is now [asdf], a char class [:alpha:]. + Include code for char classes. + Set c-awk-NL-prop on lines ending in open strings. (Bug fix.) + Add character classes (e.g. "[:alpha:]") into AWK Mode's regexps. + + Remove (nearly all of) the cruft associated with AWK Mode's former + concept of "virtual semicolons": + + Adapt c-beginning-of-statement, c-end-of-statement (together with + subfunctions) to use the new notion of "virtual semicolon" in + place of the old awkward special handling for AWK. There remains + much cruft in cc-awk.el, cc-cmds.el and cc-engine.el to clear out. + * progmodes/cc-cmds.el: + (c-ascertain-adjacent-literal): In the backwards direction, now + recognises AWK regexp delimiters as string delimiters. + (c-after-statement-terminator-p): Adapt for virtual semicolons; + check more rigorously for "end of macro". + (c-back-over-illiterals, c-forward-over-illiterals): Adapt for + virtual semicolons; + (c-beginning-of-statement): Adapt for virtual semicolons; Separate + out the code for forward movement into ... + (c-end-of-statement): Now contains the code for forward movement, + adapted for virtual semicolons. + + * progmodes/cc-engine.el: + (c-ws*-string-limit-regexp): New regexp. + (c-forward-single-comment, c-backward-single-comment): Comment out + the (now redundant) "special" AWK stuff. + + * progmodes/cc-styles.el, cc-vars.el: Change the settings of + c-string-par-start, c-string-par-separate to be more like Text + Mode than Fundamental Mode. + +2005-12-08 Martin Stjernholm + + * progmodes/cc-fonts.el (c-font-lock-declarations): Always narrow + to the fontified region so that fontification doesn't occur + outside it (could happen e.g. when fontifying a line with an + unfinished declaration). + +2005-12-08 Alan Mackenzie + + * progmodes/cc-awk.el: Move regexps for analysing AWK code to near the + start of the file. ^L now separate sections of the file. + (c-awk-non-eol-esc-pair-re, c-awk-blank-or-comment-line-re) + (c-awk-one-line-possibly-open-string-re) + (c-awk-regexp-one-line-possibly-open-char-class-re) + (c-awk-one-line-possibly-open-regexp-re) + (c-awk-one-line-non-syn-ws*-re): New defonsts. + (c-awk-at-vsemi-p, c-awk-vsemi-status-unknown-p): New functions. + + Amend the concept of "virtual semicolons" (in the indentation + engine) for languages like AWK, such that they are now + conceptually attached to end of the last token of a statement, not + the end of the line. (In AWK Mode, however, the pertinent text + property is still physically set on the EOL.) Remove the specific + tests for awk-mode, thus facilitating the introduction of other + language modes where EOLs can end statements. + (Note: The funtionality in cc-cmds.el, specifically + c-beginning/end-of-statement has yet to be amended.) + + * progmodes/cc-defs.el (c-at-vsemi-p, c-vsemi-status-unknown-p): + New macros. + + * progmodes/cc-langs.el: Added `#' into AWK Mode's value of + c-stmt-delim-chars. New c-lang-defvars: c-at-vsemi-p-fn, + c-vsemi-status-unknown-p-fn (in a new page). + + * progmodes/cc-engine.el: In c-beginning-of-statement-1, + c-crosses-statement-barrier-p, c-guess-basic-syntax, replace + numerous awkward forms like + (if (c-major-mode-is 'awk-mode) (c-awk-prev-line-incomplete-p)) + with (c-at-vsemi-p). Fix a few typos. In c-guess-basic-syntax, new + variable before-ws-ip, the place just after char-before-ip appears. + + * progmodes/cc-mode.el: Fix what's almost a semantic ambiguity in + a comment. + +2005-12-08 Martin Stjernholm + + * progmodes/cc-cmds.el (c-electric-brace): Clean up using + `c-tentative-buffer-changes'. + + * progmodes/cc-defs.el (c-region-is-active-p): Simplify and + convert to macro to choose between Emacs and XEmacs at compile time. + + (c-set-region-active): New set counterpart to `c-region-is-active-p'. + + (c-tentative-buffer-changes): New macro to handle temporary buffer + changes in a convenient way. + + (c-tnt-chng-record-state, c-tnt-chng-cleanup): Internal helpers + for `c-tentative-buffer-changes'. + + * progmodes/cc-engine.el (c-looking-at-inexpr-block): Tighten up + the checks for paren sexps between the point and the keyword, to + avoid some false alarms. + + * progmodes/cc-engine.el, cc-langs.el (c-looking-at-inexpr-block): + Fixed a situation where an error could be thrown for unbalanced + parens. Changed to make use of c-keyword-member' to avoid some + repeated regexp matches. + + (c-opt-lambda-key, c-opt-inexpr-block-key, c-opt-inexpr-class-key): + These language variable are no longer necessary. + + (c-block-stmt-kwds): New language constant used by + c-looking-at-inexpr-block'. + + (c-guess-basic-syntax): Remove an optional check that looked at + the existence of the now removed language variables. + + * progmodes/cc-engine.el (c-fdoc-shift-type-backward) + (c-forward-decl-or-cast-1): Fix invalid recognition of C++ style + object instantiation expressions as declarations in some contexts. + This bug only affected languages where the declarator can't be + enclosed in parentheses. + + * progmodes/cc-styles.el (c-style-alist): Fix the GNU style to + insert newlines before and after substatement braces. + + * progmodes/cc-engine.el: Improved the heuristics for recognizing + function declaration headers and the handling of C++ style member + init lists. + + (c-just-after-func-arglist-p): Rewritten to use + `c-forward-decl-or-cast-1'. Now behaves a bit differently too. + + (c-beginning-of-member-init-list): Remove since it isn't used anymore. + + (c-guess-basic-syntax): Adapt case 5B for the new + `c-just-after-func-arglist-p'. Merge cases 5B.1 and 5B.3. + Remove cases 5D.1 and 5D.2 since they aren't trigged anymore (case 5B.1 + covers all cases now). + + * progmodes/cc-defs.el (c-point): Add `bosws' and `eosws'. + +2005-12-08 Alan Mackenzie + + * progmodes/cc-cmds.el, cc-styles.el, cc-vars.el: New variables + c-string-par-start/separate c-sentence-end-with-esc-eol, + initialised in c-setup-paragraph-variables, used in string + scanning subroutines of c-beginning-of-statement. + + * progmodes/cc-cmds.el (c-electric-brace): Don't delete a comment + which precedes the newly inserted `{'. + +2005-12-08 Martin Stjernholm + + * progmodes/cc-engine.el, cc-langs.el: Rewrote the recognition + function for declaration level blocks. It should now cope with + templates better and also be a lot more comprehensible. + + (c-looking-at-decl-block): The new function. + + (c-search-uplist-for-classkey): The old one. It's now a wrapper + for compatibility. + + (c-add-class-syntax, c-guess-continued-construct) + (c-guess-basic-syntax): Adapt for `c-looking-at-decl-block'. + + (c-decl-block-key): Change to tell apart ambiguous and + unambiguous keywords. Pike specials are now handled directly in + the code instead. + + (c-block-prefix-disallowed-chars, c-block-prefix-charset): + New language constants and variables to make the backward skip in + `c-looking-at-decl-block' as tight as possible. + + (c-nonsymbol-token-char-list): New language constant. + + * progmodes/cc-engine.el (c-backward-<>-arglist): New function to + find balanced template arglists backwards. + + * progmodes/cc-defs.el (c-make-bare-char-alt): New helper for + making char classes for `c-syntactic-skip-backward'. + + * progmodes/cc-engine.el (c-guess-basic-syntax): Simplify case + 16D - can't be a class-close at that point. + + * progmodes/cc-engine.el (c-guess-basic-syntax) + (c-add-class-syntax): Don't narrow out the enclosing declaration + level. This makes everything a lot easier, and it was actually + only four small places that needed it to work. Some places that + previously did `widen' are removed now, which has the effect that + `c-guess-basic-syntax' never will look at things outside the + current narrowment now. The anchor position for `topmost-intro' + is affected by this, but it was so bogus it was basically useless + before, and now it's equally bogus but in a slightly different way. + + (c-narrow-out-enclosing-class): Gone. + + (c-most-enclosing-brace, c-least-enclosing-brace): Don't filter to + the narrowed region. + + (c-least-enclosing-brace): Remove silly optional argument. + + * progmodes/cc-engine.el (c-beginning-of-decl-1): Fix bug where + the point could be left directly after an open paren when finding + the beginning of the first decl in the block. + + * progmodes/cc-engine.el, cc-fonts.el (c-forward-keyword-clause): + Specify which submatch to use. + + * progmodes/cc-langs.el (c-symbol-start): Include `@' in ObjC. + + (c-decl-start-re): No longer any need for special treatment of + ObjC due to the above. + + (c-other-block-decl-kwds): Handle "extern" in ObjC too since it + presumably follows C in that regard. + + * progmodes/cc-langs.el (c-identifier-ops, c-after-id-concat-ops): + New language constants to specify operator tokens inside + identifiers in a more high level way. + + (c-opt-identifier-prefix-key): New internal language constant. + + (c-opt-identifier-concat-key, c-opt-after-id-concat-key) + (c-identifier-start, c-identifier-key): Now completely calculated + from other constants. + + (c-identifier-last-sym-match): Decommission since it's no longer used. + + (c-operators): Use `c-identifier-ops'. Document `postfix-if-paren'. + + * progmodes/cc-engine.el (c-forward-name): Remove the + optimization when c-identifier-key is equal to c-symbol-key since + it doesn't work in byte compiled files. Don't record empty + regions as identifiers. + + * progmodes/cc-langs.el (c-filter-ops): New helper function to + simplify access to `c-operators' and its likes. + + (c-operator-list, c-all-op-syntax-tokens) + (c-nonsymbol-token-regexp, c-<>-multichar-token-regexp) + (c-<-op-cont-regexp, c->-op-cont-regexp, c-expr-kwds) + (c-primary-expr-regexp, c-cast-parens): Use it. + + * progmodes/cc-defs.el (c-lang-const): Fixes to allow use without + an explicit language in functions. + + * progmodes/cc-defs.el (c-make-keywords-re): Add an appendable + variant of adornment. + + * progmodes/cc-langs.el (c-any-class-key): Remove unused language + variable. + + (c-type-decl-prefix-key): Remove some now unnecessary cruft from + the Pike value. + + * progmodes/cc-engine.el (c-on-identifier) + (c-simple-skip-symbol-backward): Small fix for handling "-" + correctly in `skip-chars-backward'. Affected the operator lfun + syntax in Pike. + + * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Disable the + diagnostic message about precompiled language vars not being used. + + * progmodes/cc-langs.el (c-paren-nontype-kwds): The GCC keyword + "__attribute__" is followed by a parenthesis. + + (c-type-start-kwds, c-prefix-spec-kwds, c-prefix-spec-kwds-re) + (c-specifier-key, c-not-decl-init-keywords): Some cleanup using new + language constants `c-type-start-kwds' and `c-prefix-spec-kwds'. + + * progmodes/cc-fonts.el, cc-langs.el, cc-engine.el: + Internal cleanups to properly detect the declared identifiers in + various declarations. + + (c-decl-start-kwds): New language constant to recognize + declarations that can start anywhere. Used for class declarations + in Pike. + + (c-specifier-key, c-not-decl-init-keywords) + (c-decl-prefix-or-start-re, c-find-decl-prefix-search) + (c-find-decl-spots): Implement `c-decl-start-kwds'. + + (c-other-decl-kwds, c-postfix-decl-spec-kwds, c-decl-hangon-kwds) + (c-decl-hangon-key, c-forward-decl-or-cast-1): Separate the + handling of the compiler specific extension keywords into a new + language constant `c-decl-hangon-kwds' that defines keyword + clauses to be ignored in declarations. + + (c-forward-id-comma-list, c-forward-keyword-clause): Don't skip + past unrecognized tokens when handling `c-colon-type-list-kwds'. + Necessary to stop at the declared identifier in e.g. IDL valuetype + declarations. + + (c-typedef-decl-kwds, c-typeless-decl-kwds, c-type-list-kwds) + (c-prefix-spec-kwds-re, c-postfix-spec-kwds) + (c-after-suffixed-type-decl-key, c-opt-postfix-decl-spec-key) + (c-forward-decl-or-cast-1): Recognize the declared identifier in + class and enum declarations as such and not as part of the type. + + (c-forward-decl-or-cast-1, c-forward-label): Relax the + interpretation of PRECEDING-TOKEN-END when there's no preceding token. + + (c-forward-decl-or-cast-1): Don't disregard sure signs of + declarations when there's some syntax error later on. + + (c-complex-decl-matchers): Did away with a reference to + `c-specifier-key'. + + * progmodes/cc-engine.el (c-maybe-labelp): Provide no default + value - this variable is always dynamically bound. + + * progmodes/cc-engine.el, cc-fonts.el, cc-langs.el, cc-menus.el + * cc-mode.el, cc-styles.el, cc-vars.el, cc-align.el, cc-awk.el + * cc-cmds.el, cc-defs.el: Change the policy for marking up + functions that might do hidden buffer changes: All such internal + functions are now marked instead of those that don't. + + (c-beginning-of-macro, c-end-of-macro, c-(forward|backward)-comments) + (c-(forward|backward)-single-comment, c-parse-state, c-on-identifier) + (c-(fast-|slow-|)in-literal, c-literal-limits, c-collect-line-comments) + (c-literal-type): Allow these functions to make hidden buffer changes, + so that they are free to use text property caching later on. + + (c-electric-backspace, c-electric-delete-forward, c-electric-pound) + (c-electric-brace, c-electric-slash, c-electric-star) + (c-electric-semi&comma, c-electric-colon, c-electric-lt-gt) + (c-electric-paren, c-electric-continued-statement, c-indent-command) + (c-indent-region, c-mask-paragraph, c-indent-new-comment-line) + (c-context-line-break): Add `c-save-buffer-state' calls to comply + with the changed semantics of the functions above. + + * progmodes/cc-engine.el (c-beginning-of-statement-1): Fix a bug + when macros occur in obscure places. Optimized the sexp movement + a bit. + +2005-12-08 Alan Mackenzie + + Enhancements for c-beginning-of-statement to work in AWK Mode: + + * progmodes/cc-awk.el: Supersede c-awk-NL-prop value `;' + (completed statement) with `}' (statement completed by closing + brace or semicolon) and `$' (statement completed by EOL). + + (c-awk-virtual-semicolon-ends-prev-line-p) + (c-awk-virtual-semicolon-ends-line-p) + (c-awk-skip-semantic-ws-forward, c-awk-skip-semantic-ws-backward) + (c-awk-at-statement-end-p): New functions. + + * progmodes/cc-cmds.el: Simplify the structure of functions + c-forward-over-illiterals, c-back-over-illiterals. Enhance these + two functions and c-beginning-of-statement to handle AWK Mode. + + * progmodes/cc-engine.el: Enhance c-forward-single-comment, + c-backward-single-comment for AWK mode. Attempt to clarify their + doc-strings. + + * progmodes/cc-mode.el: Put M-a and M-e into awk-mode-map. + +2005-12-08 Martin Stjernholm + + * progmodes/cc-engine.el, cc-fonts.el, cc-langs.el: Cleaned up the + label handling. Labels are now recognized in a uniform and more + robust way, regardless of context. Text properties are put on all + labels to recognize the following declarations better. + Multiword labels are handled both in indentation and fontification for + the benefit of language extensions like Qt. For consistency, keywords + in labels are now fontified with the label face instead. + That also applies to "case" and "default". + + (c-beginning-of-statement-1): Fix some bugs in the label + handling. Disregard `c-nonlabel-token-key' in labels that begin + with `c-label-kwds'. + + (c-find-decl-spots): Support that the callback adds more + `c-decl-end' spots to find. + + (c-forward-decl-or-cast-1): Don't treat a list of plain + identifiers followed by a colon as a declaration. + + (c-forward-label): New function to recognize labels. + + (c-guess-basic-syntax): Replace uses of `c-label-key' with + `c-forward-label'. Moved the label recognition cases (14 and 15) + earlier since they aren't so context sensitive now. Handle labels + on the top level gracefully. Moved access label recognition to + the generic label case (CASE 15) - removed CASE 5E. + + (c-font-lock-declarations): Add recognition of labels in the + same round since we need to handle labels in parallell with other + declarations to recognize both accurately. It should also improve + speed. + + (c-simple-decl-matchers, c-basic-matchers-after): + Move `c-font-lock-labels' so that it only is used on decoration level 2 + since `c-font-lock-declarations' handles it otherwise. + + (c-complex-decl-matchers): Remove the simplistic recognition of + access labels. + + (c-decl-prefix-re): Remove the kludges that was necessary to cope + with labels earlier. + + (c-decl-start-re): New language variable to make + `c-font-lock-declarations' stop for the special protection labels + in Objective-C that start with `@'. + + (c-label-key): Remove since it's no longer used. + + (c-recognize-colon-labels, c-label-prefix-re): New language + constants to support recognition of generic colon-terminated labels. + + (c-type-decl-end-used): `c-decl-end' is now used whenever there + are colon terminated labels. + + * progmodes/cc-align.el (c-lineup-arglist): Fix bug when the + first argument starts with a special brace list. + + * progmodes/cc-engine.el, cc-fonts.el (c-forward-decl-or-cast-1) + (c-font-lock-declarations): Break out the declaration and cast + recognition from `c-font-lock-declarations' to a new function, so + that it can be used in the indentation engine. + + * progmodes/cc-engine.el (c-find-decl-spots): Fix bug in backing + up to the start of the literal. Fixed bug with the point on the + wrong side of the search limit that could happen when the start + position is inside a literal. + + * progmodes/cc-engine.el (c-parse-state) + (c-invalidate-state-cache): Modify the use of `c-state-cache-end' + so that it's kept a little bit back to increase the hit rate. + + (c-parse-state): Change the macro handling and fixed some + glitches. Macro context is checked more often than necessary now, + but otoh less garbage conses are generated. + + * progmodes/cc-engine.el (c-parse-state) + (c-invalidate-state-cache): Cache the last position where + `c-state-cache' applies. This can speed up refontification quite + a bit in blocks where there are many non-brace parens before the point. + + (c-state-cache-end): New variable for this. + + (c-guess-basic-syntax, c-debug-parse-state): Adapt for the new + cache variable. + + * progmodes/cc-engine.el (c-find-decl-spots): Take more care to + get close initial continue positions when the start position is + inside a literal or macro. Do not call the callback for spots + before the start position (which can happen e.g. for `c-decl-end' + spots inside comments). Optimize better in special cases when the + region is a single line inside a literal or macro (typically when + the current line is refontified). + + * progmodes/cc-engine.el (c-guess-basic-syntax): Simplify calls + to `c-add-stmt-syntax' - there's no need to explicitly whack off + entries from the paren state. + + * progmodes/cc-engine.el (c-add-stmt-syntax): Narrow down the + special case for "else if" clauses. + + * progmodes/cc-engine.el (c-looking-at-inexpr-block) + (c-add-stmt-syntax): Use `c-recognize-paren-inexpr-blocks'. + + * progmodes/cc-langs.el (c-recognize-paren-inexpr-blocks): + New language variable to recognize the gcc extension with statement + blocks inside expressions. + + * progmodes/cc-engine.el (c-add-stmt-syntax): Restructure to make + it somewhat more comprehensible. The argument AT-BLOCK-START is + no longer used and hence removed. + + (c-guess-continued-construct, c-guess-basic-syntax): Update calls + to `c-add-stmt-syntax'. + + * progmodes/cc-engine.el (c-backward-to-decl-anchor): + Use `c-beginning-of-statement-1' instead of duplicating parts of it. + This fixes bogus label recognition. + + * progmodes/cc-engine.el (c-add-type, c-check-type) + (c-forward-name, c-forward-type): Improve storage of template + types in `c-found-types' so that they can be recognized better. + + (c-syntactic-content): Add option to skip past nested parens. + + * progmodes/cc-engine.el (c-forward-name): + Set `c-last-identifier-range' all the time. It's less work that way. + Handle that there might not be an identifier to store in + `c-last-identifier-range'. + + (c-forward-type): Handle that `c-last-identifier-range' might be + nil from `c-forward-name'. + + * progmodes/cc-defs.el (c-safe-scan-lists) + (c-(go-)?(up|down)-list-(forward|backward)): Add limit arguments. + + * progmodes/cc-defs.el (c-save-buffer-state): Use `unwind-protect' + to work even if the form fails. + + * progmodes/cc-engine.el (c-parse-state): Speedup when moving far + down in a large file in one go. + + (c-get-fallback-start-pos): New helper function for `c-parse-state'. + + * progmodes/cc-align.el (c-lineup-assignments): New lineup + function which is like `c-lineup-math' but returns nil instead of + `c-basic-offset' when it doesn't match. + + (c-lineup-math): Change to use `c-lineup-assignments'. + +2005-12-08 Alan Mackenzie + + * progmodes/cc-cmds.el: Fix some bugs in subfunctions of + c-beginning-of-statement. New subfunctions + c-in-comment-line-prefix-p, c-narrow-to-comment-innards. + +2005-12-08 Martin Stjernholm + + * progmodes/cc-fonts.el, cc-langs.el: Use `c-simple-ws' instead of + hardcoded char classes whereever possible. Changed a couple of + places to use skip by syntax instead of skip by char class. + + * progmodes/cc-langs.el (c-unterminated-block-comment-regexp): + Fix a bug in the regexp that caused extreme backtracking. + + * progmodes/cc-langs.el (c-block-comment-starter) + (c-block-comment-ender): New language constants to specify in a + single place how block comments look. + + (c-comment-start-regexp, c-block-comment-start-regexp) + (comment-start, comment-end, comment-start-skip) + (c-syntactic-ws-start, c-syntactic-ws-end, c-nonwhite-syntactic-ws) + (c-syntactic-ws, c-nonempty-syntactic-ws) + (c-single-line-syntactic-ws, c-syntactic-eol): Now built from + `c-line-comment-starter', `c-block-comment-starter' and + `c-block-comment-ender'. + + (c-block-comment-regexp, c-unterminated-block-comment-regexp): + New language constants to break up things a bit. + + (c-simple-ws): New language constant for simple whitespace. + + * progmodes/cc-defs.el (c-concat-separated): New convenience function. + + * progmodes/cc-defs.el (c-make-keywords-re): Add kludge for bug + in `regexp-opt' in Emacs 20 and XEmacs when strings contain + newlines. Allow and ignore nil elements in the list. + +2005-12-08 Alan Mackenzie + + * progmodes/cc-cmds.el: Comment out a (n almost certainly + superfluous) check, (eq here (point-max)) in c-beginning-of-statement. + + * progmodes/cc-cmds.el: Tidy up the comments in + c-beginning-of-statement and subfunctions. + + * progmodes/cc-awk.el: Replace calls to put-text-property to the + more flexible c-put-char-property and c-clear-char-properties. + Add the author's email address. + + * progmodes/cc-langs.el (c-block-comment-start-regexp): New variable. + + * progmodes/cc-cmds.el: Fix bug with M-e, when point is inside the + closing "*/" of a block comment. + + * progmodes/cc-cmds.el: Tidy c-beginning-of-sentence (and + subfunctions) so that it works at BOB and EOB. + + * progmodes/cc-cmds.el, cc-vars.el: More updating of + c-beginning-of-statement, including new variable + c-block-comment-start-regexp. + +2005-12-08 Martin Stjernholm + + * progmodes/cc-langs.el (c-known-type-key): Optimize simple + symbols from `*-font-lock-extra-types' so that there's no need to + use `regexp-opt' on those lists. + + * progmodes/cc-langs.el (c-type-decl-suffix-key): Fix when + `c-type-modifier-kwds' is empty. + + * progmodes/cc-fonts.el (c-font-lock-invalid-string): Fix when + there are several strings on the same line. + + * progmodes/cc-engine.el (c-literal-limits): Remove the + compatibility function for older emacsen. `c-literal-limits-fast' + has now taken the place of this function. + + * progmodes/cc-vars.el (c-emacs-features): Remove compatibility + with older emacsen: We now require `pps-extended-state'. + +2005-12-08 Alan Mackenzie + + * progmodes/cc-cmds.el: New function c-beginning-of-sentence, + which obviates the need to hack sentence-end. This now handles + escaped newlines in strings correctly. Correct minor bugs in + c-move-over-sentence and in c-beginning-of-statement. + + * progmodes/cc-cmds.el (c-beginning-of-statement (and + subfunctions)): Adapt c-\(back\|forward\)-over-illiterals such + that movement over macros and code are rigorously separated from + eachother. Correct a few incidental bugs. + + * progmodes/cc-cmds.el: Restructure c-beginning-of-statement: + Improve its doc-string. Improve the handling of certain specific cases. + +2005-12-08 Martin Stjernholm + + * progmodes/cc-engine.el, cc-fonts.el, cc-langs.el + (c-guess-basic-syntax): Change the way class-level labels are + recognized; they can now contain essentially any symbols. + + (c-opt-extra-label-key): New language variable to cope with the + special protection label syntax in Objective-C. + + (c-opt-access-key): Remove; this is now handled better by + `c-nonlabel-token-key' and `c-opt-extra-label-key'. + + (c-complex-decl-matchers): Update to handle that + `c-opt-access-key' no longer exists. + + * progmodes/cc-engine.el (c-guess-basic-syntax): Make use of the + improved label recognition in `c-beginning-of-statement-1'. + + * progmodes/cc-engine.el (c-beginning-of-member-init-list): + Recognize bitfields better. + + * progmodes/cc-engine.el (c-beginning-of-inheritance-list): + Remove some cruft and fixed a bug that could cause it to go to a + position further down. + + * progmodes/cc-langs.el, cc-engine.el + (c-beginning-of-statement-1): Improve detection of labels in + declaration contexts. + + (c-beginning-of-decl-1): Use it. + + (c-nonlabel-token-key): New language constant and variable needed + by `c-beginning-of-statement-1'. + + * progmodes/cc-engine.el (c-guess-basic-syntax): Fix bug that + manifested itself due to the correction in `c-forward-sexp'. + + * progmodes/cc-defs.el (c-forward-sexp, c-backward-sexp): + Make these behave as documented when used at the buffer limits. + + * progmodes/cc-mode.el, cc-engine.el, cc-langs.el + (c-type-decl-end-used): Made this a language variable. + + * progmodes/cc-mode.el (c-after-change): Widen the buffer to work + correctly when `combine-after-change-calls' is used together with + temporary narrowings. + + * progmodes/cc-engine.el (c-beginning-of-statement-1): + Report labels correctly when the start point is immediately after the + colon. + + * progmodes/cc-defs.el (c-parse-sexp-lookup-properties): + Remove since it isn't used anymore. + + * progmodes/cc-cmds.el (c-electric-lt-gt): Detect and mark angle + bracket arglists such as template parens in C++. + + * progmodes/cc-engine.el (c-syntactic-skip-backward): Fix a bug + in the last check-in. Some optimization. + + * progmodes/cc-engine.el (c-syntactic-skip-backward): Fix bug + where it could stop at the same level in a preceding sexp when + PAREN-LEVEL is set. + + * progmodes/cc-mode.el (c-basic-common-init): Turn on syntax-table + text property lookup only when it's needed. + + * progmodes/cc-langs.el, cc-engine.el, cc-fonts.el, cc-mode.el: + Change the policy for paren marked angle brackets to be more + persistent; once marked they remain marked even when they're found + to be unbalanced in the searched region. This should keep the + paren syntax around even when individual lines are refontified in + multiline template arglists. + + (c-parse-and-markup-<>-arglists): New dynamically bound variable + to control markup so that incorrect angle bracket arglists aren't + marked in contexts where the correct value for + `c-disallow-comma-in-<>-arglists' isn't known. + + (c-forward-<>-arglist, c-forward-<>-arglist-recur): The reparse + argument has become `c-parse-and-markup-<>-arglists'. + + (c-remove-<>-arglist-properties): Remove - no longer used. + + (c-after-change-check-<>-operators): New function used on + `after-change-functions' to avoid that "<" and ">" characters that + are part of longer operators have paren syntax. + + (c-<>-multichar-token-regexp): New language variable used by + `c-after-change-check-<>-operators'. + + (c-after-change): Call `c-after-change-check-<>-operators'. + + (c-font-lock-<>-arglists): Use the context properties set by + `c-font-lock-declarations' to set `c-disallow-comma-in-<>-arglists' + correctly to avoid doing invalid markup. + + (c-font-lock-declarations): Remove code that undoes the invalid + markup done by `c-font-lock-<>-arglists'. + + (c-complex-decl-matchers): `c-font-lock-<>-arglists' now runs + after `c-font-lock-declarations'. + + * progmodes/cc-engine.el (c-syntactic-skip-backward): + Add paren-level feature. + + (c-guess-basic-syntax): Improve the anchor position for + `template-args-cont' in nested template arglists. There's still + much to be desired in this area, though. + +2005-12-08 Alan Mackenzie + + * progmodes/cc-cmds.el, cc-engine.el, cc-langs.el, cc-vars.el: + Make the "Text Filling and Line Breaking" commands work for AWK buffers. + +2005-12-08 Martin Stjernholm + + * progmodes/cc-defs.el, cc-engine.el (c-mode-is-new-awk-p): + Removed; (c-major-mode-is 'awk-mode) can be used instead now. + + * progmodes/cc-mode.el: Always set up AWK mode since emacsen where + it doesn't work no longer are supported. + + * progmodes/cc-mode.el, cc-styles.el, cc-vars.el, cc-defs.el + * cc-engine.el, cc-fonts.el, cc-langs.el, cc-cmds.el: CC Mode now + requires support for the syntax-table' text property, which rules + out Emacs 19 and XEmacs < 21.4. Removed various compatibility + cruft associated with those versions. + + * progmodes/cc-defs.el, cc-fix.el: CC Mode now requires support + for the `syntax-table' text property, which rules out Emacs 19 and + XEmacs < 21.4. Removed various compatibility cruft associated + with those versions. + + * progmodes/cc-vars.el (c-emacs-features): CC Mode now requires + support for the `syntax-table' text property. + + * progmodes/cc-fonts.el (c-nonbreakable-space-face): Remove the + variable and use an extra quoted face name instead. All the + emacsen flavors handle that correctly. + + * progmodes/cc-fonts.el (c-font-lock-complex-decl-prepare) + (c-font-lock-declarators, c-font-lock-declarations) + (c-complex-decl-matchers, c-basic-matchers-after): Use a text + property to mark the items in in declarator lists to handle + refontification inside multiline declarations better. + + * progmodes/cc-fonts.el (c-font-lock-declarations): Recognize a + construct like "a * b = c;" as a declaration. + +2005-12-08 Kim F. Storm + + * emulation/cua-base.el (cua-use-hyper-key): Replace by ... + (cua-rectangle-modifier-key): ... this. New defcustom. Can now + select either meta, hyper, or super modifier for rectangle commands. + (cua--rectangle-modifier-key): New defvar. + (cua--M/H-key): Use it. Remove special case for `space'. + (cua--init-keymaps): Initialize it from cua-rectangle-modifier-key + on X, to meta otherwise. Always bind C-return to toggle + rectangle. Pass ?\s instead of `space' to cua--M/H-key. + + * emulation/cua-rect.el (cua-help-for-rectangle): + Use cua--rectangle-modifier-key. Handle super modifier too. + (cua--init-rectangles): Always bind C-return to toggle rectangle. + Pass ?\s instead of `space' to cua--M/H-key and cua--rect-M/H-key. + + * ido.el: Move Acknowledgements and History after Commentary. + Minor changes to Commentary. + + * emulation/cua-base.el (cua--select-keymaps): Enable repeat + keymap if cua--prefix-override-timer is `shift'. + (cua--shift-control-prefix): New function; emulate "type prefix + key twice" functionality to handle shifted prefix key override. + (cua--shift-control-c-prefix, cua--shift-control-x-prefix): + New commands. + (cua--init-keymaps): Bind them to S-C-c and S-C-x. + +2005-12-08 Carsten Dominik + + * textmodes/org.el (org-insert-heading): Try to do items before + headings. + (org-agenda-mode): Quote `org-agenda-mode-hook'. + (org-insert-item): New function. + (org-renumber-ordered-list): Don't skip to higher level lists. + +2005-12-08 Juri Linkov + + * info.el (Info-mode-map): Bind M-TAB to `Info-prev-reference'. + + * button.el (button-buffer-map): Bind M-TAB to `backward-button'. + + * wid-edit.el (widget-keymap): Bind M-TAB to `widget-backward'. + + * pcvs.el (defun-cvs-mode): Put `definition-name' property on + the constructed function name fun-1. + + * cus-edit.el (custom-add-parent-links): Filter out custom-group-link, + because such links don't lead to parent documentation. + +2005-12-08 Kenichi Handa + + * descr-text.el (describe-char): Use *Help-2* buffer if the + current buffer is *Help*. Call describe-text-properties while + setting the original buffer. + +2005-12-07 Bill Wohler + + * files.el (auto-mode-alist): Remove mh-letter-mode. Unnecessary, + and causes problems with non-MH users (such as Gnus users). + +2005-12-08 Nick Roberts + + * progmodes/gdb-ui.el (gdb-find-file-unhook): Delete variable. + (gdb-set-gud-minor-mode, gdb-set-gud-minor-mode): Delete functions. + (gdb-set-gud-minor-mode-existing-buffers, gdb-init-2): Use GDB + command "info sources". Move calls to GDB command "list". + (gdb-find-file-hook): Just use gdb-source-file-list. + (gdb-source-file-regexp): Use regexp for pre-GDB 6.4. + (gdb-source-file-regexp-1): New regexp for GDB 6.4+ only. + (gdb-set-gud-minor-mode-existing-buffers-1): Use it. + (gdb-data-list-register-values-handler): Use correct trigger name. + +2005-12-07 Kim F. Storm + + * ido.el (ido-completion-map): Rename from ido-mode-map. + (ido-common-completion-map, ido-file-completion-map) + (ido-file-dir-completion-map, ido-buffer-completion-map): + Rename from ido-mode-....-map. + (ido-init-completion-maps): Rename from ido-init-mode-maps. + (ido-setup-completion-map): Rename from ido-define-mode-map. + (ido-read-internal): Bind minibuffer-local-filename-completion-map + to ido-completion-map. + +2005-12-07 Kenichi Handa + + * international/mule-cmds.el + (set-display-table-and-terminal-coding-system): If the coding + system specified in `unibyte-display' property is different from + the arg coding-system, don't setup standard-display-table. + +2005-12-06 Stefan Monnier + + * emacs-lisp/edebug.el (edebug-skip-whitespace): read1:lread.c says + that comments end at \n, regardless of selective-display. + +2005-12-07 Nick Roberts + + * progmodes/gdb-ui.el (gdb-error-regexp, gdb-first-post-prompt) + (gdb-version): New variables. + (gdb-source-file-list, gdb-register-names) + (gdb-changed-registers): New variables for use with GDB 6.4+. + (gdb-ann3): Replace with... + (gdb-init-1, gdb-init-2): ...two new functions. + (gdba, gdb-prompt): Call gdb-init-1. + (gdb-get-version): New function. Call gdb-init-2 from here. + (gud-watch): Make it work with mouse events too. + (gdb-post-prompt): Don't add to queue until GDB version is known. + (gdb-speedbar-expand-node, gdb-post-prompt, gdb-registers-mode) + (gdb-locals-mode): Use gdb-version. + (gdb-memory-format-map, gdb-memory-unit-map) + (gdb-locals-watch-map): Rename from gdb-*-*-keymap. + (gdb-locals-font-lock-keywords-1) + (gdb-locals-font-lock-keywords-2): New variables. + (gdb-find-file-hook): Make it work with GDB 6.4+ too. + (gdb-set-gud-minor-mode-existing-buffers-1) + (gdb-var-list-children-1, gdb-var-list-children-handler-1) + (gdb-var-update-1, gdb-var-update-handler-1) + (gdb-data-list-register-values-handler) + (gdb-data-list-register-values-custom) + (gdb-get-changed-registers, gdb-get-changed-registers-handler) + (gdb-stack-list-locals-handler, gdb-get-register-names): + New functions for use with GDB 6.4+. + (gdb-locals-watch-map-1): New variable for use with GDB 6.4+. + (gdb-source-file-regexp, gdb-var-list-children-regexp-1) + (gdb-var-update-regexp-1, gdb-data-list-register-values-regexp) + (gdb-stack-list-locals-regexp) + (gdb-data-list-register-names-regexp): New regexps for use with + GDB 6.4+. + +2005-12-06 Stefan Monnier + + * progmodes/cc-defs.el (c-emacs-features): Don't assume point-min==1. + +2005-12-06 Nozomu Ando + + * mail/smtpmail.el (smtpmail-try-auth-methods): Make password + prompts work for AUTH PLAIN. Also reported by Steve Allan + . + +2005-12-06 K,Aa(Broly L$,1 q(Brentey + + * frame.el (set-frame-parameter): Add doc string. + +2005-12-06 Carsten Dominik + + * textmodes/org.el (org-occur-highlights): New variable. + (org-highlight-new-match, org-remove-occur-highlights): New functions. + (org-highlight-sparse-tree-matches): New option. + (org-do-occur): New function. + (org-get-heading): Make it work also at beginning of line. + (org-category-table): New variable. + (org-get-category-table, org-get-category) + (org-camel-to-words, org-link-search): New functions. + (org-select-this-todo-keyword): New variable. + (org-todo-list): New command. + (org-shiftright, org-shiftleft): New commands. + (org-agenda-todo): Add prefix argument. + (org-show-hierarchy-above): New option. + (org-show-todo-tree): Numerical prefix creates tree for specific + TODO keyword. + (org-outline-level): New function, to assign a level to plain + lists items. + (org-cycle-include-plain-lists): New option. + (org-mode): Use `org-outline-level' as value of `outline-level'. + (org-cycle): Temporarily switch `outline-regexp' if + `org-cycle-include-plain-lists' is non-nil. + (org-start-icalendar-file): Fix format bug. + (org-agenda-get-day-entries): Create category table. + (org-agenda-get-todos, org-agenda-get-timestamps) + (org-agenda-get-deadlines, org-agenda-get-scheduled) + (org-agenda-get-blocks): Use `org-get-category'. + (org-context-in-file-links): Rename from + `org-line-numbers-in-file-links'. + +2005-12-06 Romain Francoise + + * window.el (balance-windows): Delete extraneous third arg in call + to `enlarge-window'. + +2005-12-06 Kenichi Handa + + * international/kinsoku.el (kinsoku-longer): Check eolp, not eobp. + +2005-12-06 Nick Roberts + + * progmodes/gdb-ui.el (gdb-var-create-handler) + (gdb-var-evaluate-expression-handler, gdb-frame-handler) + (gdb-var-list-children-handler, gdb-var-update-handler): + Current buffer is already gdb-partial-output-buffer, don't + make it current again. + +2005-12-05 Luc Teirlinck + + * buff-menu.el (Buffer-menu-use-frame-buffer-list): New user option. + (list-buffers-noselect): Use it. + +2005-12-05 Stefan Monnier + + * mail/sendmail.el: Remove unnecessary leading-star in docstrings. + (mail-yank-ignored-headers): Use regexp-opt. + (mail-mode-map): Move initialization into declaration. + (mail-sent-via): Remove unused shadowed var `to-line'. + (mail-mailer-swallows-blank-line): Use with-temp-buffer. + (mail-bury, sendmail-send-it, mail-do-fcc): Use with-current-buffer. + (mail-do-fcc): Use dolist and push. + (mail-mode-fill-paragraph): Pass the arg to fill-region-as-paragraph. + (mail-yank-ignored-headers): Don't autoload. + +2005-12-05 Kenichi Handa + + * international/mule-cmds.el (set-language-info-internal): New fun. + (set-language-info): Call set-language-info-internal to update + language-info-alist. If LANG-ENV is the current one, call + set-language-environment to make INFO effective now. + (set-language-info-alist): Likewise. + (locale-language-names): With locale "en", use English + lang. env. but set the default codings to iso-8859-1. + +2005-12-04 Nick Roberts + + * progmodes/gdb-ui.el (gdb-use-inferior-io-buffer) + (gdb-speedbar-auto-raise): Echo new state in minibuffer. + (gdb-var-create-handler, gdb-assembler-custom): Use search-forward + for plain strings. + (gdb-frames-mode): Remove redundant call to font-lock-mode. + (gdb-all-registers): Rename from toggle-gdb-all-registers. + Create registers buffer if necessary. Echo new state in minibuffer. + (gdb-registers-mode-map, gdb-registers-mode): Use gdb-all-registers. + +2005-12-03 Chong Yidong + + * info.el (Info-fontify-node): Match external links using + non-directory part of filename. + +2005-12-04 Juri Linkov + + * font-core.el (global-font-lock-mode): Use define-global-minor-mode + instead of easy-mmode-define-global-mode. Add `:group font-lock'. + (font-lock-mode): Replace `:group font-lock' with `nil nil nil' + because there is no customization option for it. + + * font-lock.el (lisp-font-lock-keywords-1): + Add define-global-minor-mode. + + * emacs-lisp/autoload.el (make-autoload): Add define-global-minor-mode. + + * emacs-lisp/derived.el (define-derived-mode): Put `definition-name' + properties on the constructed variable names. + + * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): + Put `definition-name' properties on the constructed function names + next-sym and prev-sym. + + * emacs-lisp/find-func.el (find-function-regexp): + Add define-global-minor-mode. Replace `easy-mmode-define-global-mode' + with `easy-mmode-define-[a-z-]+'. Add easy-menu-define. + (find-variable-regexp): Add easy-mmode-defmap, easy-mmode-defsyntax + and easy-menu-define. + + * emacs-lisp/lisp-mode.el: Put `doc-string-elt' property on + easy-mmode-define-global-mode and define-global-minor-mode. + (lisp-imenu-generic-expression): Add define-global-minor-mode. + + * progmodes/cwarn.el (global-cwarn-mode): Use define-global-minor-mode + instead of easy-mmode-define-global-mode. + + * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode): + Use define-minor-mode instead of easy-mmode-define-minor-mode. + + * cus-edit.el (customize-group, customize-group-other-window): + Filter out autoloaded options from the group completion list by + using heuristics that autoloaded groups don't have `custom-autoload' + property on their symbols (they have only `custom-loads'). + + * simple.el (completion-setup-function): Put completions-common-part + face on complete completion string too (i.e. completion string + without completions-first-difference face). + + * man.el (Man-section-regexp): Add 0-9 to support "3X11" sections. + +2005-12-03 Eli Zaretskii + + * view.el (view-mode): Doc fix. + + * disp-table.el (standard-display-european): Add to the warning + message a reference to the doc string. + + * play/yow.el (apropos-zippy): Call print-help-return-message, + similar to other Help and Apropos commands. + + * help.el (print-help-return-message): If pop-up-frames is + non-nil, set up help-return-method to delete the help window and, + possibly, its frame as well, and don't display message about + scrolling the help window. Doc fix. + (help-return-method): Doc fix. + +2005-12-03 Martin Rudalics + + * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Fix bug + whereby names of length one or names starting with a + symbol-constituent character would not be returned. + +2005-12-03 Johan Bockg,Ae(Brd + + * subr.el (atomic-change-group): Add edebug and indentation spec. + +2005-12-02 Stefan Monnier + + * completion.el (save-completions-file-name): Fix typo in last change. + +2005-12-02 Jan Dj,Ad(Brv + + * info.el: Move back/forward history to the beginning of the tool bar. + +2005-12-02 Ken Manheimer + + * allout.el (eval-when-compile): Remove unnecessary load of cl. + Add fset of allout-real-isearch-abort during compile to fix + byte-compilation warnings. + (allout-mode-p): Move definition of this macro above all uses, or + byte compilation in barren Emacs (eg, during Emacs build) will + lack the definition. + (allout-mode): Move this variable above any uses, or byte + compilation will fail. + (allout-resolve-xref): Remove use of personal file-reference function. + (allout-toggle-current-subtree-encryption): Do the current (ie, + visible containing) topic, rather than nearest around point. Doc fix. + (allout-toggle-subtree-encryption): New function, workhorse that + works on nearest topic containing point. + (allout-encrypt-string): Signal requirement for newer version of pgg. + (allout-resumptions): Doc fix. + +2005-12-02 Eli Zaretskii + + * international/latexenc.el (latex-inputenc-coding-alist): Doc fix. + +2005-12-02 Agustin Martin + + * textmodes/flyspell.el (flyspell-external-point-words): + Consider a misspelling as found in the string search if: (a) misspelling + and found string lengths match, or (b) misspelling is found as + element in a boundary-chars separated longer string, or (c) + ispell-program-name is really ispell and misspelling is found as + part of a TeX string. After successful match move beginning of + search region to end of match. Warn about not found misspellings + once the process is done. + (flyspell-large-region): Do not set ispell-parser to tex if in TeX mode. + +2005-12-02 Nick Roberts + + * progmodes/gud.el (gud-menu-map): Put gud-finish back on the + tool bar (removed inadvertently). + +2005-12-02 Juri Linkov + + * log-view.el (log-view-diff): Clarify doc string. + +2005-12-01 Bill Wohler + + * Makefile.in (mh-loaddefs.el): Reinsert Change Log as its absence + triggers lm-verify errors. + +2005-12-01 Luc Teirlinck + + * simple.el (transient-mark-mode, line-number-mode) + (column-number-mode, size-indication-mode): Remove `:require nil'. + +2005-12-01 Nick Roberts + + * progmodes/gdb-ui.el (gdb-ann3): Bind mouse-2 to gdb-mouse-until + in the margin also. + (gdb-breakpoints-mode-map): Use D instead of d for + gdb-delete-breakpoint. + (gdb-get-frame-number): Require a number to match on. + (gdb-threads-mode-map): Add follow-link binding. + +2005-11-30 Jason Rumney + + * isearch.el (isearch-mode-map): Avoid exiting search on + language-change event. + +2005-11-30 Romain Francoise + + * speedbar.el (speedbar-default-position): New defcustom. + (speedbar-frame-reposition-smartly): Use it. + + * dframe.el (dframe-reposition-frame-emacs): Fix position + computation for `left' location. + Update copyright year. + +2005-11-30 Stefan Monnier + + * help.el (help-map): Move initialization into declaration. + + * emacs-lisp/autoload.el (make-autoload): Handle defgroup specially. + + * help-fns.el (help-argument-name): Don't autoload. + It's useless and triggers a bug in cus-dep.el causing ldefs-boot + to be re-loaded when customizing the `help' group. + +2005-11-30 John Paul Wallington + + * help-fns.el (describe-function-1): Fill arglist output. + +2005-11-30 Kim F. Storm + + * emulation/cua-rect.el (cua--rectangle-overlays): Make permanent-local. + (cua--rectangle-post-command): Cleanup overlays and deactivate mark + after revert-buffer (or anything else which kills all local variables). + + * apropos.el (apropos-parse-pattern): Doc fix. + Set apropos-regexp directly, rather than expecting callers to do so. + (apropos-command, apropos, apropos-value, apropos-documentation): + Simplify calls to apropos-parse-pattern. + +2005-11-29 Chong Yidong + + * hi-lock.el (hi-lock-line-face-buffer, hi-lock-face-buffer) + (hi-lock-face-phrase-buffer): Use hi-yellow face. + (hi-lock-write-interactive-patterns): Use comment-region. + + * longlines.el (longlines-mode): Add mail-setup-hook. + + * mail/mailheader.el, mail/sendmail.el: Revert 2005-11-17 changes. + + * simple.el (sendmail-user-agent-compose, next-line): + Conditionally use hard-newline. + +2005-11-29 Reiner Steib + + * international/latexenc.el (latex-inputenc-coding-alist): + Reword doc string. + +2005-11-29 Chong Yidong + + * help.el (describe-key-briefly, describe-key): Recognize default + bindings. + +2005-11-29 Romain Francoise + + * view.el (view-inhibit-help-message): New defcustom. + (view-mode-enter): Use it. + +2005-11-29 Michael Kifer + + * ediff-wind.el (ediff-setup-control-frame, ediff-make-wide-display): + Preserve user position. + +2005-11-28 Luc Teirlinck + + * font-lock.el: Throw error if facemenu is not loaded to prevent + accidental change of loading order in loadup.el. (Suggested by RMS.) + + * loadup.el: Add comment explaining why facemenu must be loaded + before font-lock. + +2005-11-28 Jay Belanger + + * calc/calc.el: Change global keybinding for calc-dispatch to "\C-x*". + (calc-dispatch-map): Add more keys for `calc-same-interface'. + + * calc/calc-misc.el (calc-dispatch-help): Update docstring. + + * calc/calc-embed.el (calc-do-embedded): Update help message. + + * calc/calc-prog.el (calc-user-define-invokation): Update help message. + +2005-11-28 Stefan Monnier + + * log-edit.el (log-edit-insert-cvs-rcstemplate): Ignore stderr. + + * emacs-lisp/elp.el (elp-not-profilable): Replace interactive-p with + called-interactively-p. + (elp-profilable-p): Rename from elp-not-profilable-p. + Invert result and take into account macros and autoloaded functions. + (elp-instrument-function): Update call. + (elp-instrument-package): Update call. Add completion. + (elp-pack-number): Use match-string. + (elp-results-jump-to-definition-by-mouse): Merge into + elp-results-jump-to-definition and then remove. + (elp-output-insert-symname): Make help echo text single-line. + + * replace.el (query-replace-map): Move initialization into declaration. + (occur-engine): Use with-current-buffer. + (occur-mode-goto-occurrence): Make it work for mouse-clicks as well. + (occur-mode-mouse-goto): Replace with an alias. + +2005-11-28 Juri Linkov + + * simple.el (quoted-insert): Let-bind input-method-function to nil. + + * term/w32-win.el: Bind [S-tab] to [backtab]. + + * info.el (Info-fontify-node): Set 2nd arg `noerror' of + `Info-find-file' to t. + + * replace.el (occur-mode-mouse-goto): Pop, don't switch. + (occur-mode-goto-occurrence): Let-bind same-window-buffer-names + and same-window-regexps. + (occur-next-error): Don't move point for arg 0. + +2005-11-28 Chong Yidong + + * replace.el (occur-mode-goto-occurrence): Pop, don't switch. + +2005-11-28 Stefan Monnier + + * log-edit.el (log-edit-changelog-use-first): New var. + (log-edit-changelog-ours-p): Use it. + (log-edit-insert-changelog): Set it with new arg `use-first'. + (log-edit-insert-cvs-rcstemplate, log-edit-insert-filenames): New funs. + (log-edit-hook): Add them to the list of suggested options. + + * textmodes/flyspell.el (flyspell-last-buffer): New var. + (flyspell-accept-buffer-local-defs): Use it to avoid doing silly + redundant work. + (flyspell-mode-on): Use add-hook for after-change-functions. + (flyspell-mode-off): Use remove-hook for after-change-functions. + (flyspell-changes): Make it buffer-local. + (flyspell-after-change-function): Make it non-interactive. Use push. + (flyspell-post-command-hook): Check input-pending-p while processing + the potentially long list of buffer changes. + +2005-11-28 K,Aa(Broly L$,1 q(Brentey + + * buff-menu.el (list-buffers-noselect): Display the selected + frame's buffer list, not the global one. + +2005-11-28 Nick Roberts + + * xt-mouse.el (xterm-mouse-event): Set last-input-event so + that (list last-input-event) works as in interactive spec. + +2005-11-27 Luc Teirlinck + + * loadup.el ("facemenu"): Load facemenu before font-lock, because + `facemenu-keymap' needs to be defined when font-lock is loaded. + Otherwise, `M-o M-o' is not bound to `font-lock-fontify-block'. + +2005-11-27 Stefan Monnier + + * completion.el: Remove useless leading * in defcustom docstrings. + (save-completions-file-name): Use ~/.emacs.d if available. + (completion-standard-syntax-table): Rename from + cmpl-standard-syntax-table and fold initialization into declaration, + thus removing cmpl-make-standard-completion-syntax-table. + (completion-lisp-syntax-table, completion-c-syntax-table) + (completion-fortran-syntax-table, completion-c-def-syntax-table): Idem. + (cmpl-saved-syntax, cmpl-saved-point): Remove. + (symbol-under-point, symbol-before-point) + (symbol-under-or-before-point, symbol-before-point-for-complete) + (add-completions-from-c-buffer): Use with-syntax-table. + (make-completion): Don't return a list of completion entries. + Update callers. + (cmpl-prefix-entry-head, cmpl-prefix-entry-tail): Use defalias. + (completion-initialize): Rename from initialize-completions. + (completion-find-file-hook): Rename from cmpl-find-file-hook. + (kill-emacs-save-completions): Collect stats here. + (save-completions-to-file, load-completions-from-file): + Use with-current-buffer. + (completion-def-wrapper): Rename from def-completion-wrapper. Make it + into a function. Move all calls to toplevel. + (completion-lisp-mode-hook): New fun. + (completion-c-mode-hook, completion-setup-fortran-mode): + Set the syntax-table here. Use local-set-key. + (completion-saved-bindings): New var. + (dynamic-completion-mode): Make it into a proper minor mode. + (load-completions-from-file): Remove unused var `num-uses'. + + * emacs-lisp/cl-macs.el (defstruct): Don't define the default + constructor if it is explicitly overridden. + + * complete.el (PC-completion-as-file-name-predicate): + Use minibuffer-completing-file-name. + (partial-completion-mode): Use find-file-not-found-functions. + (PC-lisp-complete-symbol): Use with-syntax-table. + (PC-look-for-include-file): Remove dead setq. + (PC-look-for-include-file, PC-expand-many-files, PC-do-completion) + (PC-complete): Use with-current-buffer. + + * progmodes/sh-script.el (sh-font-lock-syntactic-keywords): \ doesn't + escape single quotes. + +2005-11-27 Luc Teirlinck + + * dabbrev.el (dabbrev-completion): Simplify code, by getting rid + of `if' whose condition always returned nil. Doc fix. + + * buff-menu.el (Buffer-menu-revert-function): Make the selected + window's buffer the current buffer around the call to + `list-buffers-noselect'. This is necessary to mark that buffer + with a `.' in the Buffer Menu when called from Lisp, for instance + by Auto Revert Mode. + +2005-11-28 Nick Roberts + + * progmodes/gdb-ui.el (gdb-stopped): Detect child process when + attaching to it. + (gdb-pre-prompt): Make sure gdb-error is reset. + + * progmodes/gud.el (gud-gdb-marker-filter): When GDB is invoked + with a child process, detect it. + (gud-speedbar-buttons): Match regexp more carefully. + +2005-11-27 Richard M. Stallman + + * mouse.el (mouse-drag-move-window-bottom): + Use adjust-window-trailing-edge. + +2005-11-27 Luc Teirlinck + + * simple.el (blink-matching-open): Ignore + `blink-matching-paren-on-screen' if `show-paren-mode' is enabled. + (blink-matching-paren-on-screen): Update docstring. + + * paren.el (show-paren-mode): No longer change + `blink-matching-paren-on-screen'. + +2005-11-27 John Paul Wallington + + * progmodes/gdb-ui.el (gdb-goto-breakpoint, gdb-frames-select) + (gdb-threads-select, gdb-edit-register-value): + Use `posn-set-point' instead of `mouse-set-point' because the + latter is not fbound when configured without X. + +2005-11-27 Kim F. Storm + + * emulation/cua-rect.el (cua--highlight-rectangle): Preserve + existing face when partially highlighting a TAB in a rectangle. + +2005-11-26 Kim F. Storm + + * ido.el (ido-mode-map): Doc fix. + (ido-mode-common-map, ido-mode-file-map) + (ido-mode-file-dir-map, ido-mode-buffer-map): New keymaps. + (ido-define-mode-map): Rewrite. Select one of the new maps as + parent for ido-mode-map instead of building from scratch. + (ido-init-mode-maps): New defun to initialize new maps. + (ido-mode): Call it. + (ido-switch-buffer): Doc fix -- use \. + (ido-find-file): Doc fix -- use \. + +2005-11-26 John Paul Wallington + + * arc-mode.el (archive-extract): Use `posn-set-point' instead of + `mouse-set-point' because the latter is not fbound when configured + without X. + +2005-11-26 Thien-Thi Nguyen + + * files.el (file-relative-name): Doc fix. + +2005-11-26 Kurt Hornik + + * progmodes/octave-inf.el (inferior-octave-startup): Force a + non-empty string for secondary prompt PS2. + +2005-11-25 Chong Yidong + + * progmodes/compile.el (compilation-setup): Fix last change. + +2005-11-26 Nick Roberts + + * progmodes/gdb-ui.el (gdb-info-breakpoints-custom) + (gdb-mouse-toggle-breakpoint-margin) + (gdb-mouse-toggle-breakpoint-fringe, gdb-threads-select): + Add gdb-server-prefix to keep out of command history. + (gdb-edit-register-value): New function. + (gdb-registers-mode-map): Bind mouse-2 and RET to it. + (gdb-info-registers-custom): Use above map. + +2005-11-25 Chong Yidong + + * custom.el (enable-theme): Signal error if argument is not a + theme. Don't recalculate a face if it's not loaded yet. + + * cus-face.el (custom-theme-set-faces): Don't change saved-face if + the `user' theme is in effect. + + * info.el (Info-on-current-buffer): Record actual filename in + Info-current-file, instead of t, or a fake filename if a non-file + buffer. Make autoload. + (Info-find-node, Info-revert-find-node): No need to check for + Info-current-file nil. + (Info-set-mode-line, Info-up, Info-copy-current-node-name): + Info-current-file is now never `t'. + (Info-fontify-node): Many simplifications due to Info-current-file + always being valid. Use Info-find-file to find node filename. + +2005-11-25 David Kastrup + + * longlines.el (longlines-wrap-line): Reorder wrapping to "insert + new character, then delete" in order to preserve markers. + +2005-11-25 David Ponce + + * recentf.el (recentf-arrange-by-rule): Handle a special + `auto-mode-alist'-like "strip suffix" rule. + (recentf-build-mode-rules): Handle second level auto-mode entries. + +2005-11-25 Michael Kifer + - * viper-keym.el (viper-ESC-key): Use different values in terminal and - window modes. ++ * emulation/viper-keym.el (viper-ESC-key): Use different values ++ in terminal and window modes. + - * viper.el (viper-emacs-state-mode-list): Delete mail-mode, add - jde-javadoc-checker-report-mode. ++ * emulation/viper.el (viper-emacs-state-mode-list): Delete mail-mode, ++ add jde-javadoc-checker-report-mode. + - * ediff-wind (ediff-make-wide-display): Slight simplification. ++ * ediff-wind.el (ediff-make-wide-display): Slight simplification. + + * ediff.el (ediff-date): Change the date of last update. + +2005-11-24 Chong Yidong + + * hi-lock.el (hi-lock-buffer-mode): Renamed from `hi-lock-mode'. + Use define-minor-mode, and make it a local mode. Turn on font-lock. + (hi-lock-mode): New global minor mode. + (turn-on-hi-lock-if-enabled): New function. + (hi-lock-line-face-buffer, hi-lock-face-buffer, hi-lock-set-pattern): + Change arguments to regexp and face instead of a font-lock pattern. + Directly set face property, instead of refontifying. + (hi-lock-font-lock-hook): Check if font-lock is being turned on. + (hi-lock-find-patterns): Use line-number-at-pos. + + (hi-lock-face-phrase-buffer): Call hi-lock-buffer-mode. Use new + arguments for hi-lock-set-pattern. + (hi-lock-unface-buffer, hi-lock-set-file-patterns): + Call font-lock-fontify-buffer. + (hi-lock-find-file-hook, hi-lock-current-line) + (hi-lock-refontify, hi-lock-set-patterns): Delete unused functions. + + (hi-lock-font-lock-hook): Turn off hi-lock when font lock is + turned off. + + * progmodes/compile.el (compilation-setup): Don't fiddle with + font-lock-defaults. + +2005-11-25 Nick Roberts + + * progmodes/gdb-ui.el (gdb-var-create-handler) + (gdb-var-list-children-handler): Find values for all variable + objects. gud-speedbar-buttons decides whether to display them. + +2005-11-24 Romain Francoise + + * info.el (Info-speedbar-fetch-file-nodes): Prefix temporary + buffer name with a space. + +2005-11-24 Carsten Dominik + + * textmodes/org.el (org-export-plain-list-max-depth): Rename from + `org-export-local-list-max-depth'. Change default value to 3. + (org-auto-renumber-ordered-lists) + (org-plain-list-ordered-item-terminator): New options. + (org-at-item-p, org-beginning-of-item, org-end-of-item) + (org-get-indentation, org-get-string-indentation) + (org-maybe-renumber-ordered-list, org-renumber-ordered-list): + New functions. + (org-move-item-down, org-move-item-up): New commands. + (org-export-as-html): New classes for CSS support. Bug fix in + regular expression detecting fixed-width regions. Respect + `org-local-list-ordered-item-terminator'. + (org-set-autofill-regexps, org-adaptive-fill-function): "1)" is + also a list item. + (org-metaup, org-metadown, org-shiftmetaup, org-shiftmetadown): + New item moving functions. + +2005-11-24 Juri Linkov + + * isearch.el (isearch-repeat): With empty search ring set + `isearch-error' to the error string instead of signaling error + with the function `error'. + +2005-11-24 YAMAMOTO Mitsuharu + + * term/mac-win.el: Make modifier `ctrl' an alias for `control'. + +2005-11-24 Nick Roberts + + * progmodes/gdb-ui.el (gdb-speedbar-auto-raise): New function + and variable. + (gdb-var-create-handler, gdb-var-list-children-handler): + Don't match on "char **...". + (gdb-var-update-handler): Find values for all variable objects. + (gdb-info-frames-custom): Identify frames by leading "#". + + * progmodes/gud.el (gud-speedbar-menu-items): Add + gdb-speedbar-auto-raise as radio button. + (gud-speedbar-buttons): Raise speedbar if requested. + Don't match on "char **...". + (gud-speedbar-buttons): Add (pointer) value for non-leaves. + Make it editable. + +2005-11-23 Chong Yidong + + * info.el (Info-fontify-node): Handle the case where + Info-current-file is t. + +2005-11-23 Stefan Monnier + + * simple.el (blink-matching-open): Fix off-by-one in last change. + +2005-11-23 YAMAMOTO Mitsuharu + + * term/mac-win.el: Don't change default directory. + +2005-11-22 Luc Teirlinck + + * cus-edit.el (Custom-reset-standard): Make it handle Custom group + buffers correctly. (It used to throw an error in such buffers.) + Make it ask for confirmation in group buffers and other Custom + buffers containing more than one customization item. + +2005-11-22 John Paul Wallington + + * net/goto-addr.el (goto-address-fontify): Put `follow-link' + property on mail and url overlays. + (goto-address-at-point): Use `posn-set-point' instead of + `mouse-set-point' because the latter is not fbound when configured + without X. + +2005-11-22 Lars Hansen + + * ls-lisp.el (ls-lisp-parse-symlink): Delete. + (ls-lisp-classify, ls-lisp-format): Delete call to + ls-lisp-parse-symlink. + (ls-lisp-handle-switches): Handle symlinks to directories as + directories when ls-lisp-dirs-first in non-nil. + +2005-11-21 Luc Teirlinck + + * startup.el (command-line): Make sure that loaddefs.el is handled + correctly in load-history. + +2005-11-22 Nick Roberts + + * progmodes/gdb-ui.el (gdb-locals-watch-keymap): New local map. + (gdb-struct-string, gdb-array-string): New constants. + (gdb-info-locals-handler): Use them. + (gdb-reset): Reset gdb-var-list to nil. + +2005-11-21 Stefan Monnier + + * progmodes/sh-script.el (sh-font-lock-paren): Handle continued lines + in patterns. + +2005-11-21 Juri Linkov + + * custom.el (defcustom): Update link types in docstring. + +2005-11-20 Martin Rudalics + + * custom.el (defgroup): Add doc-string-elt info. + + * widget.el (define-widget): Don't use declare for the doc-string-elt. + +2005-11-20 Stefan Monnier + + * newcomment.el (comment-enter-backward): Fix last fix. + + * simple.el (blink-matching-open): + * paren.el (show-paren-function): Allow new paren-class info. + +2005-11-20 Chong Yidong + + * faces.el: Revert 2005-11-17 change. :ignore-defface is now + handled automagically. + +2005-11-20 Andreas Schwab + + * descr-text.el (describe-char): When copying overlays put them + over the full char description instead of just the first character + of it. + +2005-11-20 Juri Linkov + + * simple.el (what-cursor-position): + * descr-text.el (describe-char): Use Lisp-readable syntax + for octal and hex. Reorder decimal, octal and hex values. + Remove excess whitespace in the output. Use `=' in `column=' + like in `point=' and `Hscroll='. + + * international/mule-cmds.el (encoded-string-description): + Use Lisp-readable syntax for hex. + +2005-11-19 Stefan Monnier + + * newcomment.el (comment-enter-backward): Handle the case where the + comment is closed by EOB. + +2005-11-19 Chong Yidong + + * longlines.el (longlines-before-revert-hook) + (longlines-after-revert-hook): New functions. + (longlines-mode): Turn off longlines temporarily when reverting. + Add a message-setup-hook. + (longlines-decode-buffer): New function. + (longlines-wrap-line): Preserve marker positions. + +2005-11-19 Andreas Schwab + + * emacs-lisp/shadow.el: Handle compressed files. + +2005-11-19 Romain Francoise + + * net/browse-url.el (browse-url-default-browser): Signal an error + if no usable browser can be found, rather than try to load w3. + +2005-11-16 Ryan Yeske + + * net/rcirc.el (rcirc-mangle-text): Add bold face property without + replacing existing properties. + (rcirc-my-nick, rcirc-other-nick, rcirc-server) + (rcirc-nick-in-message, rcirc-prompt): Use min-colors and remove + tty specs. + (rcirc-server-prefix, rcirc-server): New faces. + (rcirc-url-regexp): Generate with rx macro. + (rcirc-last-server-message-time): New variable. + (rcirc-filter): Record time of last message. + (rcirc-keepalive): Kill processes that did not send a message + since the last ping. + (rcirc-mode): Give rcirc-topic a local binding here. + +2005-11-19 Micha,Ak(Bl Cadilhac + + * subr.el (read-passwd): Fontify the prompt as we do with other + prompts. + +2005-11-19 Ryan Yeske + + * ffap.el (ffap-menu-rescan): Use inhibit-read-only instead of + binding buffer-read-only to nil. + +2005-11-19 Eli Zaretskii + + * complete.el (partial-completion-mode): + Mention completion-auto-help in the doc string. + + * man.el (Man-highlight-references): Doc fix. Reformat code in a + more Lisp-ish way. + +2005-11-19 Slawomir Nowaczyk (tiny change) + + * ls-lisp.el (ls-lisp-format-file-size): Format file size with 9 + digits, not 8, to avoid misalignment for files larger than 100MB. + +2005-11-19 Eli Zaretskii + + * menu-bar.el (menu-bar-describe-menu) : + Mention "keyboard shortcuts" in the help text. + +2005-11-19 YAMAMOTO Mitsuharu + + * startup.el (fancy-splash-default-action): Discard only + mouse-down and succeeding mouse-up events in the splash screen + window so that drag-n-drop event can be processed. + +2005-11-18 Chong Yidong + + * longlines.el (longlines-mode): Add hacks for mail-mode and + message-mode. + +2005-11-18 Carsten Dominik + + * textmodes/org.el (org-table-sort-lines): New command. + (org-tbl-menu): Add entry for `org-table-sort-lines'. + (org-add-file): Command removed, use `org-agenda-file-to-front' + instead. + (org-export-icalendar): Use `org-icalendar-combined-name'. + (org-cycle-agenda-files, org-agenda-file-to-end) + (org-agenda-file-to-front): New commands. + (org-table-tab-jumps-over-hlines, org-export-html-style): + New options. + (org-table-next-field): Use `org-table-tab-jumps-over-hlines'. + (org-at-table.el-p, org-set-autofill-regexps, org-html-protect): + New functions. + (org-fill-paragraph): Call `org-table-align' in tables. + (org-mode): Call `org-set-autofill-regexps'. + (org-export-as-html): Support for local handformatted lists. + Modified to produce valid HTML 4.0. Use `org-export-html-style'. + (org-export-local-list-max-depth): New option. + (org-html-expand): Use `org-html-protect'. + +2005-11-18 Nick Roberts + + * progmodes/gud.el (gud-install-speedbar-variables): Bind gud-pp + to "p". + (gdb): Move definition of gud-pp to... + + * progmodes/gdb-ui.el (gdb-ann3): ...here. Make it work in the + speedbar. + (gdb-find-watch-expression): New function. + +2005-11-17 Chong Yidong + + * faces.el (face-attribute, set-face-attribute): Mention existence + of `:ignore-defface' setting in docstring. + +2005-11-17 Stefan Monnier + + * simple.el (completion-setup-function): Fix last change. + +2005-11-17 John Paul Wallington + + * ibuf-ext.el (ibuffer-interactive-filter-by-mode): + Use `posn-set-point' instead of `mouse-set-point' because the + latter is not fbound when configured without X. + + * comint.el (comint-insert-input): Likewise. + +2005-11-17 Chong Yidong + + * simple.el (hard-newline): New variable. + (sendmail-user-agent-compose, next-line): Use it. + + * mail/sendmail.el (mail-setup, mail-send, mail-insert-from-field) + (sendmail-send-it, mail-do-fcc, mail-cc, mail-bcc, mail-fcc) + (mail-mail-reply-to, mail-mail-followup-to) + (mail-position-on-field, mail-signature, mail-yank-original) + (mail-attach-file): Likewise. + + * mail/mailheader.el (mail-header-format) + (mail-header-format-function): Likewise. + + * add-log.el (add-change-log-entry, change-log-merge): Likewise. + +2005-11-17 Juri Linkov + + * font-lock.el (font-lock-faces): Rename this defgroup from + `font-lock-highlighting-faces'. + (font-lock-comment-face, font-lock-comment-delimiter-face) + (font-lock-string-face, font-lock-doc-face) + (font-lock-keyword-face, font-lock-builtin-face) + (font-lock-function-name-face, font-lock-variable-name-face) + (font-lock-type-face, font-lock-constant-face) + (font-lock-warning-face, font-lock-negation-char-face) + (font-lock-preprocessor-face) + (font-lock-regexp-grouping-backslash) + (font-lock-regexp-grouping-construct): Rename :group from + `font-lock-highlighting-faces' to `font-lock-faces'. + + * cus-edit.el (lisp, c, tex): + * progmodes/ada-mode.el (ada): + * progmodes/asm-mode.el (asm): + * progmodes/cperl-mode.el (cperl-faces): + * progmodes/cpp.el (cpp): + * progmodes/dcl-mode.el (dcl): + * progmodes/f90.el (f90): + * progmodes/fortran.el (fortran): + * progmodes/icon.el (icon): + * progmodes/idlwave.el (idlwave-misc): + * progmodes/m4-mode.el (m4): + * progmodes/make-mode.el (makefile): + * progmodes/meta-mode.el (meta-font): + * progmodes/modula2.el (modula2): + * progmodes/octave-mod.el (octave): + * progmodes/pascal.el (pascal): + * progmodes/perl-mode.el (perl): + * progmodes/prolog.el (prolog): + * progmodes/ps-mode.el (PostScript-edit): + * progmodes/scheme.el (scheme): + * progmodes/sh-script.el (sh-script): + * progmodes/simula.el (simula): + * progmodes/tcl.el (tcl): + * textmodes/nroff-mode.el (nroff): + * textmodes/reftex-vars.el (reftex-fontification-configurations): + * textmodes/sgml-mode.el (sgml): + * textmodes/texinfo.el (texinfo): + Add :link (custom-group-link font-lock-faces) to defgroup. + + * hi-lock.el (hi-lock): Rename this defgroup from + `hi-lock-interactive-text-highlighting'. Change parent group from + `faces' to `font-lock'. Add link to the manual. + (hi-lock-mode, hi-lock-file-patterns-range) + (hi-lock-exclude-modes, hi-lock-faces): Rename :group from + `hi-lock-interactive-text-highlighting' to `hi-lock'. + (hi-lock-faces): Add :group `faces'. + + * cus-edit.el (custom-variable-prompt): Clarify the code. + + * faces.el (face-read-string): Set the default value arg of + completing-read. + +2005-11-16 Luc Teirlinck + + * rfn-eshadow.el (file-name-shadow-properties) + (file-name-shadow-tty-properties, file-name-shadow-mode): + Remove autoloads, because the file is now preloaded. + +2005-11-16 Stefan Monnier + + * printing.el (easy-menu-intern): Don't define. + (pr-get-symbol): Use easy-menu-intern only if defined. + + * simple.el (blink-matching-open): Simplify a bit. + (completion-setup-function): Fix the case of partial-completion-mode + when the minibuffer's contents start with "-". + Obey completion-base-size-function even when + minibuffer-completing-file-name is non-nil. + +2005-11-16 Richard M. Stallman + + * net/eudcb-ph.el (eudc-ph-open-session): + Use set-process-query-on-exit-flag. + + * mail/smtpmail.el (smtpmail-send-it): Use insert-buffer-contents. + + * international/ucs-tables.el (ucs-set-table-for-input): + Use make-local-variable, not make-variable-buffer-local. + + * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): + Improve warning message text. + + * savehist.el (savehist-save-hook): Add :group. + + * menu-bar.el (menu-bar-help-menu): + Rename Find Extra Packages to External Packages. + + * cus-edit.el (Custom-reset-standard): Verify that + :custom-standard-value prop exists before calling it. + + * apropos.el (apropos-calc-scores): Use apropos-pattern. + +2005-11-16 Martin Rudalics + + * wid-edit.el (color): Enclose %t in %{...%}. + + * cus-edit.el (face): Enclose %t in %{...%}. + +2005-11-16 Hrvoje Niksic + + * savehist.el (savehist-mode-hook): Re-add the var. + (savehist-mode): Use it. + +2005-11-16 Stefan Monnier + + * textmodes/flyspell.el: Fix commenting convention. + Remove unnecessary leading * in custom docstrings. + (flyspell-emacs): Remove unused var. + (flyspell-delete-region-overlays): Use remove-overlays. + (flyspell-accept-buffer-local-defs): Use save-current-buffer. + (flyspell-debug-signal-no-check, flyspell-debug-signal-changed-checked) + (flyspell-debug-signal-pre-word-checked, flyspell-post-command-hook) + (flyspell-debug-signal-word-checked): Use with-current-buffer. + (make-flyspell-overlay): Don't locally reuse a global name. + (flyspell-highlight-incorrect-region) + (flyspell-highlight-duplicate-region): Use flyspell-unhighlight-at. + (flyspell-check-previous-highlighted-word): Use flyspell-overlay-p. + (flyspell-notify-misspell): Remove unused args `start' and `end'. + (flyspell-word): Adjust call accordingly. Use ispell-send-string. + Wrap calls to accept-process-output inside with-local-quit since it's + often called from a post-command-hook. + (flyspell-correct-word, flyspell-auto-correct-word): + Use ispell-send-string. + (flyspell-xemacs-popup): Remove unused arg `event'. Update call. + + * calendar/diary-lib.el (diary-list-entries): Also hide the + terminating newline. + +2005-11-16 Carsten Dominik + + * textmodes/reftex.el (reftex-use-fonts): Remove the check for + window-system, to allow fonts on tty. + +2005-11-17 Nick Roberts + + * progmodes/gud.el (gud-speedbar-item-info): New function. + (gud-install-speedbar-variables): Use it to display data type + of watch expression as a tooltip in speedbar. + +2005-11-15 Luc Teirlinck + + * font-core.el (global-font-lock-mode): Add :version keyword, + because default was changed. + + * jka-cmpr-hook.el (auto-compression-mode): Ditto. + + * startup.el (command-line): Use `custom-reevaluate-setting' for + `file-name-shadow-mode'. + + * loadup.el: Preload rfn-eshadow. + + * rfn-eshadow.el (file-name-shadow-mode): Set :init-value to t. + Add :version keyword. + (file-name-shadow-properties, file-name-shadow-tty-properties) + (file-name-shadow): Add :version keyword. + + * cus-edit.el (custom-add-parent-links): Fix bug whereby, for + instance, `(fringe custom-face)' shadowed `(fringe custom-group)' + in the custom-group property of the symbol frames and the fringe + group got no link to its parent group frames. + Doc fix. + +2005-11-16 Nick Roberts + + * progmodes/gud.el (gud-stop-subjob): New function. + (gud-menu-map, gud-tool-bar-map): Use it. + +2005-11-16 Kim F. Storm + + * progmodes/gud.el (gud-menu-map): Let [stop] stop program rather + than kill it. + (gud-tool-bar-map): Likewise. Move cont/until/finish buttons + to a more useful/logical place. + +2005-11-16 Nick Roberts + + * progmodes/gud.el (gud-menu-map): Make visibility of stop and + go buttons complementary. + +2005-11-15 Stefan Monnier + + * rfn-eshadow.el (rfn-eshadow-regexp): Remove. + (rfn-eshadow-sifn-equal): New function. + (rfn-eshadow-update-overlay): Rewrite to use substitute-in-file-name. + +2005-11-15 Michael Kifer + - * viper-utils.el (viper-non-word-characters-reformed-vi): ++ * emulation/viper-utils.el (viper-non-word-characters-reformed-vi): + Quote `-' in string. + - * viper.el (viper-emacs-state-mode-list): Ensure that ++ * emulation/viper.el (viper-emacs-state-mode-list): Ensure that + rcirc-mode buffers come up in Emacs state. + + * ediff-util.el (ediff-make-temp-file): Use proper file-name-handler + operation. + +2005-11-15 Dan Nicolaescu + + * term.el (term-termcap-format): Fix typos. + (term-down): Fix the negative argument case. + +2005-11-16 Nick Roberts + + * progmodes/gdb-ui.el: Remove face-alias left over from change on + 2005-08-15. + (gdb-ann3): New command gud-go. + (menu): Accomodate gdb-mi.el. + (gdb-assembler-custom): Make buffer of selected window current + so that set-window-point works. + + * progmodes/gud.el (gud-menu-map, gud-tool-bar-map): Re-define + buttons and include new ones. + +2005-11-16 Kim F. Storm + + * progmodes/gud.el (gud-tool-bar-item-visible-no-fringe): New function. + (gud-menu-map): Use it. + +2005-11-14 Luc Teirlinck + + * jka-cmpr-hook.el (auto-compression-mode): Enable it in a way + that works correctly for Custom and that does not override a user + who disables it. + + * help-mode.el (help-make-xrefs, help-xref-on-pp) + (help-xref-interned, help-follow): Make hyperlinks for variables + that are unbound, but have a non-nil variable-documentation property. + + * emacs-lisp/derived.el (define-derived-mode): Remove defvar for + mode hook. (It conflicted with defcustoms for some mode hooks.) + Use the `variable-documentation' property to give the mode hook a + docstring and expand that docstring. + +2005-11-14 Hrvoje Niksic + + * savehist.el (savehist-mode): Don't bother with + `custom-set-minor-mode'. + (savehist-coding-system): Check XEmacs version. + (history-length): Declare also at run time. + (savehist-mode): Don't emit a message. Don't run the minor mode hook. + Don't set the customize state. + (savehist-minibuffer-hook): Special case for when + minibuffer-history-variable is equal to t. + +2005-11-14 Stefan Monnier + + * files.el (write-file): Refresh VC status. + + * calendar/diary-lib.el (diary-list-entries, diary-show-all-entries) + (mark-diary-entries, make-diary-entry): Check default-major-mode rather + than fundamental-mode to see if the mode was set. + +2005-11-14 Romain Francoise + + * dired-x.el: If `vm-visit-folder' doesn't exist, define it as a + dummy function in `eval-when-compile' to avoid compiler warning. + Require `man' at compile time. + +2005-11-14 Jay Belanger + - * calc-alg.el (calcFunc-write-out-power): Rename it to ++ * calc/calc-alg.el (calcFunc-write-out-power): Rename it to + calcFunc-powerexpand. + (math-write-out-power): Rename it to math-powerexpand; have it + handle negative exponents. + (calc-writeoutpower): Rename it to calc-powerexpand. + - * calc-ext.el: Change calcFunc-writeoutpower and ++ * calc/calc-ext.el: Change calcFunc-writeoutpower and + calc-writeoutpower to calcFunc-powerexpand and calc-powerexpand in + autoloads. + Add calcFunc-ldiv to autoloads. + - * calc-arith.el (calcFunc-ldiv): New function. ++ * calc/calc-arith.el (calcFunc-ldiv): New function. + - * calc.el (calc-left-divide): New function. ++ * calc/calc.el (calc-left-divide): New function. + +2005-11-14 Juri Linkov + + * cus-edit.el (custom-variable-prompt): Set the default value arg + of completing-read. + + * cus-dep.el (custom-make-dependencies): Reverse the list of + found dependencies. + +2005-11-14 Dan Nicolaescu + + * menu-bar.el (menu-bar-options-menu): Delete "Syntax + Highlighting" entry, it is on by default now. + (menu-bar-options-save): Do not save global-font-lock-mode. + +2005-11-13 Richard M. Stallman + + * textmodes/flyspell.el (flyspell-large-region): + Call flyspell-accept-buffer-local-defs. + +2005-11-13 Agustin Martin + + * textmodes/flyspell.el (flyspell-notify-misspell): + Fix misspelling of "Misspelling". + (flyspell-process-localwords): New function. + (flyspell-large-region): Call flyspell-process-localwords and + flyspell-delete-region-overlays. + (flyspell-delete-region-overlays): New function. + (flyspell-delete-all-overlays): Call that. + +2005-11-13 Richard M. Stallman + + * help.el (help-for-help-internal): Improve doc of C-h a. + (describe-key): Improve prompt; doc fix. + +2005-11-13 Stefan Monnier + + * vc-svn.el (vc-svn-registered): Catch all errors. + + * cus-dep.el (custom-make-dependencies): Typo. + +2005-11-13 Michael Albinus + + * net/tramp-util.el (top): Fix compilation warning. + +2005-11-13 Kim F. Storm + + * help.el (help-for-help-internal): Fix `a' entry. Add `d' entry. + +2005-11-13 Nick Roberts + + * progmodes/gud.el (gud-menu-map): Move parentheses (again). + (gud-speedbar-buttons): Match on "const char *" too. + + * progmodes/gdb-ui.el (gdb-var-create-handler) + (gdb-var-list-children-handler): Match on "const char *" too. + (gdb-var-evaluate-expression-handler): Match on empty string. + (gdb-var-update-handler): Only call + gdb-var-evaluate-expression-handler when required. + +2005-11-13 Nick Roberts + + * progmodes/gud.el (gud-menu-map): Revert to window-fringes for + selected window. This still doesn't work for speedbar. + (gud-speedbar-buttons): Handle string expressions properly. + + * progmodes/gdb-ui.el (gdb-var-evaluate-expression-handler) + (gdb-var-create-handler): Handle string expressions properly. + (gdb-var-list-children-regexp, gdb-var-list-children-handler): + Handle string expressions properly. Move "type" field into regexp. + +2005-11-12 Karl Fogel + + * bookmark.el (bookmark-maybe-message): New function to reduce + code duplication: invokes `message' iff baud-rate is high enough. + (bookmark-write-file): Use above instead of an inline conditional. + (bookmark-load): Same. + +2005-11-12 Karl Fogel + + * bookmark.el (bookmark-write-file): Don't visit the destination + file, just write the data to it using write-region. This is + similar to saveplace.el at 2005-05-29T08:36:26Z!rms@gnu.org, but with an additional + change to avoid visiting the file in the first place. + +2005-11-12 Chong Yidong + + * hi-lock.el (hi-lock-mode): Set the default value of + font-lock-defaults. + +2005-11-11 Luc Teirlinck + + * find-lisp.el (find-lisp-find-dired-insert-file): Pass `string' + arg to `file-attributes'. + (find-lisp-format): The UID and GID can now be strings. + +2005-11-12 Kim F. Storm + + * help.el (help-map): Bind C-h d to apropos-documentation. + + * simple.el (what-cursor-position): Print (EOB) instead of (100%) + when point is at end-of-buffer. + + * apropos.el (apropos-match-face): Doc fix. + (apropos-sort-by-scores): Add new choice `verbose'. + (apropos-documentation-sort-by-scores): New defcustom. + (apropos-pattern): Now contains the pattern entered by the user. + (apropos-pattern-quoted): New defvar. + (apropos-regexp): New defvar, containing the regexp corresponding + to apropos-pattern. + (apropos-all-words-regexp): Rename from apropos-all-regexp. + (apropos-read-pattern): New defun. Use it to read pattern arg in + interactive calls; returns list of words for a word list, and + string for a regexp. + (apropos-parse-pattern): Rename from apropos-rewrite-regexp. Now + parses a list of words or regexp as returned by apropos-read-pattern. + (apropos-calc-scores): Return nil if apropos-regexp doesn't match. + (apropos-score-doc): Return a very high score if the string + entered by the user matches literally. + (apropos-variable): Doc fix. Use apropos-read-pattern. + (apropos-command): Doc fix. Use apropos-read-pattern and + apropos-parse-pattern. Call apropos-print with nosubst=t. + (apropos, apropos-value): Doc fix. Use apropos-read-pattern and + apropos-parse-pattern. + (apropos-documentation): Doc fix. Use apropos-read-pattern and + apropos-parse-pattern. Locally bind apropos-sort-by-scores to + apropos-documentation-sort-by-scores. Call apropos-print with + nosubst=t. + (apropos-documentation-internal): Pass doc string through + substitute-key-definition before adding text properties. + Highlight substring matching literal user input if possible. + (apropos-documentation-check-doc-file): Remove locals beg and end. + Fix calculation of score (as added twice). Pass doc string through + substitute-key-definition before adding text properties. + (apropos-documentation-check-elc-file): Pass doc string through + substitute-key-definition before adding text properties. + Highlight substring matching literal user input if possible. + (apropos-print): Add new arg NOSUBST; if set, command and variable + doc strings have already been passed through substitute-key-definition. + Add code to handle apropos-accumulator items without score element + for backwards compatibility (e.g. with woman package). + Only show scores if apropos-sort-by-scores is `verbose'. + +2005-11-10 Stefan Monnier + + * jka-cmpr-hook.el (jka-compr-install): Use push and dolist. + Add jka-compr-load-suffixes to load-suffixes. + + * jka-compr.el: Require jka-cmpr-hook. + (jka-compr-info-compress-message, jka-compr-info-compress-program) + (jka-compr-info-compress-args, jka-compr-info-uncompress-message) + (jka-compr-info-uncompress-program, jka-compr-info-uncompress-args) + (jka-compr-info-can-append, jka-compr-info-strip-extension) + (jka-compr-info-file-magic-bytes, jka-compr-get-compression-info) + (jka-compr-info-regexp): Remove. Provided by jka-cmpr-hook. + (jka-compr-uninstall): Remove entries from + jka-compr-added-to-file-coding-system-alist after they are used. + (jka-compr-error): Remove unused var `curbuf'. + (jka-compr-file-local-copy): Remove unused var `notfound'. + +2005-11-10 Romain Francoise + + * apropos.el (apropos-calc-scores): Use `apropos-pattern'. + +2005-11-11 Nick Roberts + + * progmodes/gud.el (gud-menu-map): Move parentheses. + (gdb): New command gud-pv. + +2005-11-10 Stefan Monnier + + * tar-mode.el: Remove spurious or unnecessary leading stars + in docstrings. + (tar-header-block-tokenize): Also obey default-file-name-coding-system. + (tar-parse-octal-integer-safe): Use mapc. + (tar-header-block-summarize): Remove unused var `ck'. + (tar-summarize-buffer): Don't clear the modified-p bit if it wasn't + cleared before. Obey default-enable-multibyte-characters. + Use mapconcat. Simplify setting of tar-header-offset. + (tar-mode-map): Move initialization inside delcaration. + (tar-flag-deleted): Use `abs'. + (tar-expunge-internal): Remove unused var `line'. + (tar-expunge-internal): Don't hardcode point-min==1. + (tar-expunge): Widen while doing set-buffer-multibyte. + (tar-rename-entry): Use file-name-coding-system. + (tar-alter-one-field): Don't hardcode point-min==1. + (tar-subfile-save-buffer): string-as-unibyte works on unibyte strings. + (tar-pad-to-blocksize): Don't hardcode point-min==1. Clarify the code. + +2005-11-10 Masatake YAMATO + + * add-log.el (add-log-current-defun): Handle class::method + notation of c++. Fix incorrect comment. + +2005-11-10 Alan Mackenzie + + * help-fns.el (describe-variable): Make C-h v work when a variable + has variable documentation yet is unbound. + +2005-11-10 Masatake YAMATO + + * man.el (Man-highlight-references): Set an empty + string to `Man-arguments' if it is nil. + Suggested by Reiner Steib . + +2005-11-09 Stefan Monnier + + * Makefile.in (mh-loaddefs.el, loaddefs.el): Better follow the + commenting conventions. + + * cus-dep.el (custom-make-dependencies): Simplify. + Better follow the commenting conventions. + +2005-11-09 Richard M. Stallman + + * apropos.el (apropos-pattern): Rename from apropos-regexp. + (apropos-orig-pattern): Rename from apropos-orig-regexp. + All uses changed. + (apropos-rewrite-regexp): Doc fix. + (apropos-variable, apropos-command, apropos, apropos-value): + Change prompt; carry through the argument renaming. + +2005-11-09 Luc Teirlinck + + * find-lisp.el: Require dired. + (find-lisp-find-dired-internal): Do not call + `abbreviate-file-name' on DIR. + +2005-11-10 Nick Roberts + + * progmodes/gud.el (gdb): Make gud-pp use user-defined command pp1. + +2005-11-09 Nick Roberts + + * progmodes/gud.el (gud-menu-map): Ensure tool-bar is constant + when using the speedbar. + (gdb): New command gud-pp. + (gud-menu-map, gud-tool-bar-map): Put it on the tool bar. + +2005-11-09 Juri Linkov + + * replace.el (occur-excluded-properties): New defcustom. + (occur-1, occur-engine, occur-accumulate-lines): Use it. + +2005-11-08 Jay Belanger + + * calc/calc-units.el (math-convert-units): Replace any composite + unit by its definition. + +2005-11-08 Lars Hansen + + * emacs-lisp/autoload.el (update-directory-autoloads): + Add obsolete function alias. + +2005-11-07 Stefan Monnier + + * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't set + comment-indent-function. + (lisp-comment-indent): Replace by an alias for comment-indent-default. + + * reveal.el (reveal-post-command): Rework the handling of + reveal-open-spots, so as to be more reliable. There were several + tricky corner cases where an open spot might be lost, or where + a closed spot might end up on the list of open spots. + Only reveal text that's ellipsised. + +2005-11-07 Carsten Dominik + + * textmodes/org.el (org-export-as-html): Remove bogus (debug) form. + +2005-11-07 John Paul Wallington + + * ibuffer.el (ibuffer): Search iconified frames too when + getting Ibuffer buffer's window. + +2005-11-06 Richard M. Stallman + + * progmodes/compile.el (compilation-internal-error-properties): + save-excursion around the computation of MARKER. + +2005-11-06 Piet van Oostrum + + * textmodes/flyspell.el (flyspell-external-point-words): + flyspell-get-word returns a list, not just a string. + +2005-11-06 John Paul Wallington + + * ibuffer.el (ibuffer): Search all visible frames when getting + Ibuffer buffer's window. + +2005-11-07 Masatake YAMATO + + * man.el (Man-reference-regexp): Accept spaces between + `Man-name-regexp' and `Man-section-regexp'. + (Man-apropos-regexp): New variable. + (Man-abstract-xref-man-page): Use value for `Man-target-string' + if available. + (Man-highlight-references, Man-highlight-references0): + Handle the case when `Man-arguments' includes "-k". + (Man-highlight-references0): Rename the argument `TARGET-POS' to + `TARGET'. `TARGET' can be a number, function or nil. + +2005-11-06 Nick Roberts + + * progmodes/gdb-ui.el (gdb-var-create-handler, gdb-var-delete) + (gdb-edit-value, gdb-speedbar-expand-node, gdb-get-create-buffer) + (gdb-breakpoints-mode, gdb-toggle-breakpoint, gdb-delete-breakpoint) + (gdb-goto-breakpoint, gdb-frames-mode, gdb-registers-mode) + (gdb-locals-mode, gdb-find-file-hook): Use buffer-local-value. + (gdb-send-item): Use buffer-local-value and simplify. + +2005-11-05 Luc Teirlinck + + * startup.el (command-line): Use `custom-reevaluate-setting' for + `global-font-lock-mode'. + + * font-core.el (global-font-lock-mode): Enable `global-font-lock-mode' + by default, except in batch mode or when the -D option is given. + + * emacs-lisp/easy-mmode.el (define-global-minor-mode): Pass all + specified keyword args on to `define-minor-mode'. Update docstring. + +2005-11-05 Romain Francoise + + * replace.el (occur-engine): Add marker at end of line, too. + +2005-11-04 Ken Manheimer + + * pgg-pgp.el (pgg-pgp-encrypt-region, pgg-pgp-decrypt-region) + (pgg-pgp-encrypt-symmetric-region, pgg-pgp-encrypt-symmetric) + (pgg-pgp-encrypt, pgg-pgp-decrypt-region, pgg-pgp-decrypt) + (pgg-pgp-sign-region, pgg-pgp-sign): Add optional PASSPHRASE + argument to all these routines, so the passphrase can be managed + externally and passed in to the system. + (pgg-pgp-decrypt-region, pgg-pgp-sign-region): Use new name for + pgg-add-passphrase-to-cache function. + + * pgg-pgp5.el (pgg-pgp5-encrypt-region, pgg-pgp5-decrypt-region) + (pgg-pgp5-encrypt-symmetric-region, pgg-pgp5-encrypt-symmetric) + (pgg-pgp5-encrypt, pgg-pgp5-decrypt-region, pgg-pgp5-decrypt) + (pgg-pgp5-sign-region, pgg-pgp5-sign): Add optional PASSPHRASE + argument to all these routines, so the passphrase can be managed + externally and passed in to the system. + (pgg-pgp5-sign-region): Use new name of pgg-add-passphrase-to-cache + function. + +2005-11-04 Dan Nicolaescu + + * font-lock.el: Don't deal with font-lock-face-attributes here, + move the code ... + + * startup.el (command-line): ... here. Use face-spec-set instead + of custom-declare-face. + + * faces.el (face-spec-set): Reset the face if spec is not nil. + +2005-11-04 Stefan Monnier + + * newcomment.el (comment-region-internal): Box more tightly in the + common case where there's no TAB in the boxed text. + +2005-11-04 Jan Dj,Ad(Brv + + * info.el (info-tool-bar-map): Use images prev-node, next-node and + up-node. + +2005-11-04 Ulf Jasper + - * newsticker.el: Commentary updated. Code formatting changed. ++ * net/newsticker.el: Commentary updated. Code formatting changed. + (newsticker-version): Change to "1.9". + (newsticker, newsticker-feed): Doc fix. + (newsticker-url-list): Doc fix. Add option "Weekly". + (newsticker-retrieval-interval): Add option "Weekly". + (newsticker-headline-processing): Doc fix. + (newsticker-auto-mark-filter): Remove. + (newsticker-auto-mark-filter-list): New. + (newsticker-layout, newsticker-sort-method): Doc fix. + (newsticker-hide-old-items-in-newsticker-buffer) + (newsticker-heading-format, newsticker-item-format) + (newsticker-desc-format): Doc fix. + (newsticker-show-all-rss-elements): Remove. + (newsticker-show-all-news-elements): New. + (newsticker-faces, newsticker-ticker): Doc fix. + (remove-from-invisibility-spec): Code formatting. + (newsticker--process-ids): New. + (newsticker-mode): Doc fix. + (newsticker-mode): Change mode-line-format. + (newsticker-start): Remove debug output. + (newsticker-start-ticker): Doc fix. Add autoload cookie. + (newsticker-w3m-show-inline-images): Code formatting. + (newsticker-next-item): Call `force-mode-line-update'. + (newsticker-previous-item): Call `force-mode-line-update'. + (newsticker-next-feed): Call `force-mode-line-update'. + (newsticker-previous-feed): Call `force-mode-line-update'. + (newsticker-mark-all-items-at-point-as-read): Code formatting. + (newsticker-show-old-items): Do not show descs. + (newsticker-hide-entry): Hide too much. + (newsticker-hide-entry, newsticker-show-entry) + (newsticker-toggle-auto-narrow-to-feed): Code formatting. + (newsticker-set-auto-narrow-to-feed): Update buffer immediately. + (newsticker-toggle-auto-narrow-to-item): Code formatting. + (newsticker-set-auto-narrow-to-item): Update buffer immediately. + (newsticker-running-p, newsticker-ticker-running-p): Autoload cookie. + (newsticker-get-news): Call `force-mode-line-update'. + Collect process ids. + (newsticker--sentinel): Change coding system handling. + Move image retrieval to new functions newsticker--get-logo-url-*. + Move feed parsing to new functions newsticker--parse-*. + Update list of process ids. + (newsticker--get-logo-url-atom-1.0, newsticker--get-logo-url-atom-0.3) + (newsticker--get-logo-url-rss-2.0, newsticker--get-logo-url-rss-1.0) + (newsticker--get-logo-url-rss-0.92, newsticker--get-logo-url-rss-0.91) + (newsticker--parse-atom-0.3, newsticker--parse-atom-1.0) + (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92) + (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0) + (newsticker--parse-generic-feed, newsticker--parse-generic-items): New. + (newsticker--decode-coding-string): Remove. + (newsticker--decode-numeric-entities): Check input. Format code. + (newsticker--remove-whitespace): Check input. + (newsticker--do-forget-preformatted): Doc fix. + (newsticker--decode-rfc822-date): Allow for missing time. + (newsticker--update-process-ids): New. + (newsticker--image-sentinel): Change comment. + (newsticker--image-read): Change error message. + (newsticker--imenu-goto): Doc fix. Show headline title. + (newsticker--buffer-set-uptodate): Call `force-mode-line-update'. + (newsticker--buffer-do-insert-text): Clean whitespace in + html-rendered headline title. Code formatting. + Call `newsticker--buffer-print-extra-elements'. + (newsticker--buffer-print-extra-element): Remove. + (newsticker--buffer-print-extra-elements): New. + (newsticker--buffer-do-print-extra-element): New. + (newsticker--buffer-insert-enclosure): Doc fix. Use MBytes for + large sizes. + (newsticker--run-auto-mark-filter) + (newsticker--do-run-auto-mark-filter): + Use `newsticker-auto-mark-filter-list'. + +2005-11-04 Ryan Yeske + + * net/rcirc.el: Use split-string OMIT-NULLS argument. + (rcirc-print): Force redisplay before running hooks. Do long + buffer truncation after making new text read-only. Deal with nil + text when decoding strings. If TARGET is nil, use either the + currently selected buffer, if it is an rcirc buffer and of the + same process or the process buffer. + (rcirc-mode): Remove header-line. Recompute short buffer names. + Initialize rcirc-buffer-alist here instead of rcirc-get-buffer-create. + (rcirc-short-buffer-name): Add variable. + (rcirc-kill-buffer-hook): Recompute short buffer names. + Remove nick from private channel. + (rcirc-send-input): Send command text to current-buffer. + Don't clear overlay arrow here. + (rcirc-short-buffer-name): Return a short buffer name. + (rcirc-update-short-buffer-names, rcirc-abbreviate) + (rcirc-rebuild-tree, rcirc-make-trees): Add functions to generate + buffer-name abbreviations. + (rcirc-kill-buffer-hook-1): Split to make debugging easier. + Do not touch nick-table when killing a parted channel. + (rcirc-window-configuration-change): Rename from rcirc-update-activity. + Clear arrow from current buffer if it is now hidden. + (rcirc-current-buffer): Add variable. + (rcirc-my-nick, rcirc-other-nick, rcirc-server) + (rcirc-nick-in-message, rcirc-prompt, rcirc-mode-line-nick): + Remove -face from names. + (rcirc-update-activity-string): Print "DND" when globally ignoring + activity. + (rcirc-ignore-buffer-activity-flag): Rename from + rcirc-ignore-channel-activity. + (rcirc-ignore-all-activity-flag): Doc fix. + (rcirc-channels): Remove variable. + (rcirc-kill-buffer-hook): + (rcirc-get-buffer-create): Add nick to private channel. + (rcirc-multiline-edit-submit): Remove tabs. + (rcirc-put-nick-channel, rcirc-channel-nicks): Look up nicks case + folded. + (rcirc-remove-nick-channel): Bug fix. + (rcirc-toggle-ignore-buffer-activity): Rename from + rcirc-toggle-ignore-channel-activity. + (rcirc-record-activity): Add buffers to the front of the list. + (rcirc-update-activity): Remove killed buffers from list. + (rcirc-process-server-response-1): Remove last argument if it is + null before calling handler. + (rcirc): Add "rcirc" defcustom prefix. + (rcirc-prompt): Simplify default prompt. + Use custom-initialize-default. + (rcirc-private-chats): Remove variable. + (rcirc-prompt): Change initialization. + (rcirc-version): Remove function. + (rcirc-id-string): Add constant. + (rcirc-last-buffer): Remove variable. + (rcirc-buffer-alist): Add variable. + (rcirc-connect): Update variable setup. + (rcirc-sentinel, rcirc-update-prompt): Use `rcirc-buffer-alist'. + (rcirc-trap-errors-flag): Rename from `rcirc-trap-errors' change + default. + (rcirc-handler-generic): Trigger activity. + (rcirc-send-message): Create the buffor of the target. + (rcirc-generate-new-buffer-name): Rename from `rcirc-get-buffer-name'. + (rcirc-get-buffer): Just return nil if there is no matching buffer. + (rcirc-multiline-edit-cancel): Remove function. + (rcirc-set-last-buffer): Remove function. + (rcirc-get-any-buffer): Add function. + (rcirc-join-channels): Don't print /join text. + (rcirc-toggle-ignore-channel-activity): Add and update echo area + messages. + (rcirc-cmd-ctcp): Use rcirc-send-string to send request. + (rcirc-handler-NOTICE): Recognize CTCP responses. + (rcirc-handler-332, rcirc-handler-332): Use a temp buffer for + constructing TOPIC string for buffers we are not JOINed. + (rcirc-handler-CTCP-response): Add handler. + (rcirc-multiline-edit-submit): Restore the window-configuration + before adjusting point. + (rcirc): Add customization group. + (rcirc-server, rcirc-port, rcirc-nick, rcirc-user-name) + (rcirc-user-full-name, rcirc-startup-channels-alist) + (rcirc-fill-flag, rcirc-fill-column, rcirc-fill-prefix) + (rcirc-ignore-all-activity-flag, rcirc-time-format) + (rcirc-input-ring-size, rcirc-read-only-flag) + (rcirc-buffer-maximum-lines, rcirc-authinfo-file-name) + (rcirc-auto-authenticate-flag, rcirc-prompt, rcirc-print-hooks): + Change defvar to defcustom. + (rcirc-update-prompt): Add optional ALL arg, which will update + prompts in all rcirc buffers. Regexp quote replacement text. + (rcirc-fill-column): Accept frame-width as a value. + (rcirc-set-changed): Add function. + (rcirc-next-active-buffer): Write more meaningful messages. + (rcirc-faces): Add customization group. + (rcirc-my-nick-face, rcirc-other-nick-face, rcirc-server-face) + (rcirc-nick-in-message-face, rcirc-prompt-face) + (rcirc-mode-line-nick-face): Move into rcirc-faces group. + (with-rcirc-process-buffer): Move before first usage. + (rcirc-debug-buffer): Rename from `rcirc-log-buffer'. + (rcirc-debug-flag): Rename from `rcirc-log-p'. + (rcirc-debug): Rename from `rcirc-log'. + (rcirc-format-response-string): Do not print `-' chars for a + NOTICE with no sender. Simplify output of server responses. + +2005-11-04 Henrik Enberg + + (rcirc-browse-url-map, rcirc-browse-url-at-point) + (rcirc-browse-url-at-mouse, rcirc-mangle-text): + Make urls mouse and RET clickable. + +2005-11-04 Henrik Enberg + + * mail/rmailout.el (rmail-output-to-rmail-file, rmail-output): Doc fix. + +2005-11-04 Ken Manheimer + + * pgg-pgp.el (pgg-pgp-encrypt-region, pgg-pgp-decrypt-region) + (pgg-pgp-encrypt-symmetric-region, pgg-pgp-encrypt-symmetric) + (pgg-pgp-encrypt, pgg-pgp-decrypt-region, pgg-pgp-decrypt) + (pgg-pgp-sign-region, pgg-pgp-sign): Add optional PASSPHRASE + argument to all these routines, so the passphrase can be managed + externally and passed in to the system. + (pgg-pgp-decrypt-region, pgg-pgp-sign-region): Use new name for + pgg-add-passphrase-to-cache function. + + * pgg-pgp5.el (pgg-pgp5-encrypt-region, pgg-pgp5-decrypt-region) + (pgg-pgp5-encrypt-symmetric-region, pgg-pgp5-encrypt-symmetric) + (pgg-pgp5-encrypt, pgg-pgp5-decrypt-region, pgg-pgp5-decrypt) + (pgg-pgp5-sign-region, pgg-pgp5-sign): Add optional PASSPHRASE + argument to all these routines, so the passphrase can be managed + externally and passed in to the system. + (pgg-pgp5-sign-region): Use new name of pgg-add-passphrase-to-cache + function. + +2005-11-04 Edward O'Connor (tiny change) + + * net/goto-addr.el (goto-address-url-regexp): Remove `data:' URLs + from goto-address-url-regexp. + +2005-11-04 Carsten Dominik + + * textmodes/org.el (org-read-date, org-goto-calendar) + (org-recenter-calendar, org-agenda-goto-calendar): + Temporarily clear `calendar-move-hook'. + +2005-11-04 Michael Kifer + - * ediff-merge.el (ediff-merge-region-is-non-clash): Return t, if not - merging. ++ * ediff-merg.el (ediff-merge-region-is-non-clash): ++ Return t, if not merging. + + * ediff-util.el (ediff-previous-difference): Don't skip regions that + have merge clashes. + +2005-11-04 YAMAMOTO Mitsuharu + + * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event): + Undo previous change. + + * startup.el (command-line): Use `custom-reevaluate-setting' for + mouse-wheel-down-event and mouse-wheel-up-event. Don't call + tty-register-default-colors on Mac. + +2005-11-04 Nick Roberts + + * progmodes/gdb-ui.el (gdb-buffer-type): Remove duplicate declaration. + (gdb-buffer-type): Make it automatically buffer local... + (gdb-get-create-buffer): ...and set it accordingly. + (gdb-frame-gdb-buffer, gdb-display-gdb-buffer): Make these + actually work. + +2005-11-03 Dan Nicolaescu + + * font-lock.el (font-lock-warning-face): Use the more vivid red1, + not red. + +2005-11-04 Nick Roberts + + * progmodes/gdb-ui.el (gud-watch): Use save-selected-window in + case GUD buffer is not visible. + (gdb-goto-breakpoint): Try to force display in source buffer. + (gdb-frame-gdb-buffer): Copy other similar functions. + (gdb-restore-windows): Don't display source if not asked for. + (gdb-assembler-buffer-name): Don't capitalise. + +2005-11-03 Richard M. Stallman + + * wid-edit.el (key-sequence): New widget type. + + * simple.el (set-mark-command-repeat-pop): New variable. + (set-mark-command): Only interpret plan C-@ after a pop as a pop + if set-mark-command-repeat-pop is true. + + * info.el (Info-fontify-node): Don't display extra "see" if there + already is one here. + + * mouse.el: Fix special handling of DEL after dragging a region: + (mouse-drag-region-1): Treat mouse-set-region like mouse-set-point. + (mouse-region-delete-keys): Change to defcustom. Add [backspace]. + + * mail/feedmail.el: Use insert-buffer-substring, not insert-buffer. + + * textmodes/ispell.el (ispell-command-loop): Change `i' description + not to assume it pertains to an affix. + + * textmodes/flyspell.el (flyspell-post-command-hook): + Bind deactivate-mark to prevent deactivation. + +2005-11-03 Lars Hansen + + * dired-x.el: Add menu bindings for dired-do-find-marked-files, + dired-do-relsymlink, dired-flag-extension, dired-mark-extension, + dired-mark-omitted, dired-do-relsymlink-regexp, dired-omit-mode. + +2005-11-03 Romain Francoise + + * net/eudcb-mab.el: Now part of GNU Emacs. Update FSF's address. + Update copyright years. + +2005-11-03 Sam Steingold + + * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event): + Use system-type instead of window-system because window-system is not + correctly defined during loadup. + +2005-11-02 Mark A. Hershberger + + * xml.el (xml-syntax-table): Allow xml.el to compile in XEmacs. + (xml-parse-tag): Join strings separated by a comment properly. + +2005-11-02 Andreas Schwab + + * emacs-lisp/byte-opt.el (byte-optimize-pure-func): Fix last fix. + +2005-11-02 Stefan Monnier + + * emacs-lisp/byte-opt.el (string-to-syntax): Mark it as pure. + (byte-optimize-pure-func): Quote the eval'd value. + + * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs): + Rename from perl-font-lock-syntactic-face-function. + Change the calling convention so it can be used as a font-lock MATCHER. + Do the parse-partial-sexp loop outselves. + (perl-font-lock-syntactic-keywords): Use it. + (perl-mode): Don't set font-lock-syntactic-face-function any more. + +2005-11-02 Nick Roberts + + * progmodes/gdb-ui.el (gdb-mouse-until): Make it work in the + disassembly buffer too. + (gdb-exited): Remove overlay arrows when execution has finished. + (gdb-info-frames-custom, gdb-info-threads-custom) + (gdb-info-registers-custom): Don't add inappropriate text + properties if inferior is not active. + +2005-11-02 Glenn Morris + + * progmodes/fortran.el (fortran-blink-match): + Use `blink-matching-delay'. + +2005-11-02 John Mongan (tiny change) + + * progmodes/f90.el (f90-match-end): Use `blink-matching-delay'. + +2005-11-02 Lars Hansen + + * net/tramp.el (tramp-action-out-of-band): Handle scp message + "Permission denied". + +2005-11-01 Richard M. Stallman + + * textmodes/flyspell.el (flyspell-external-point-words): + Pass nil to flyspell-get-word. + +2005-11-02 Kim F. Storm + + * menu-bar.el (menu-bar-options-menu): Show "Shift Movement (CUA)" + item instead of "C-x/C-c/C-v (CUA)" if cua-enable-cua-keys is nil. + +2005-11-01 Stefan Monnier + + * calendar/cal-menu.el (date, event): Don't declare as dynamic-var. + (calendar-mouse-holidays, calendar-mouse-view-diary-entries) + (calendar-mouse-print-dates): Add optional `event' argument. + Update interactive-spec. + (calendar-mouse-cal-tex-menu, cal-tex-mouse-filofax): + Use `calendar-event-to-date' instead of `event'. + +2005-11-02 Masatake YAMATO + + * progmodes/ld-script.el (ld-script-builtins): + Add more words: "DATA_SEGMENT_ALIGN", "DATA_SEGMENT_END", + "DATA_SEGMENT_RELRO_END", "LENGTH", "ORIGIN", and "SEGMENT_START". + (auto-mode-alist): Accept .ld, .lds, ld.in and .lds.in. + +2005-11-01 Romain Francoise + + * vc-sccs.el: Update copyright year. + * ezimage.el: Likewise. + +2005-11-01 KOBAYASHI Yasuhiro (tiny change) + + * info.el (Info-fontify-node): Use `string-width' for fontifying + underlined titles. + +2005-11-01 Juri Linkov + + * info.el (Info-fontify-node): Downcase node header keywords Node, + Prev, Next, Up before comparison. + (Info-history): Insert absolute directory name, and put invisible + property on it. + +2005-11-01 Juri Linkov + + * info.el (Info-file-supports-index-cookies): New variable. + (Info-find-node-2): Check makeinfo version for index cookie support. + (Info-index-nodes): Search for nodes with index cookies only when + Info-file-supports-index-cookies is t. Otherwise, search nodes + with "Index" in the node name. + (Info-index-node): Search index cookie in the current node only when + Info-file-supports-index-cookies is t. Otherwise, check the word + "Index" in the node name. + (Info-find-emacs-command-nodes): Remove code that searches nodes + with "Index" node name in the top menu. + +2005-11-01 Stefan Monnier + + * progmodes/scheme.el (scheme-mode-variables): Use the default + comment-indent-function. + + * faces.el (face-attribute): Handle the case where a face inherits from + a non-existent face. + + * simple.el (eval-expression-print-format): Use lisp-readable syntax + for octal and hexa output, and merge the char into the paren. + (kill-new): Use push. + (copy-to-buffer): Use with-current-buffer. + (completion-setup-function): Move code in loop to remove redundancy. + (minibuffer-local-must-match-map): Don't add bindings that duplicate + those inherited from minibuffer-local-completion-map. + + * savehist.el (savehist-mode) : + Use custom-set-minor-mode if available. + (savehist-mode) : Run the minor mode hook, set the custom state + and emit a message if applicable. + +2005-11-01 Hrvoje Niksic + + * savehist.el: Sync up to version 19. + (savehist-mode): New minor mode. + (savehist-file): Use ~/.emacs.d or ~/.xemacs if available. + (savehist-length): Remove (use history-length instead). + (savehist-file-modes): Rename from savehist-modes. + (savehist-save-hook, savehist-loaded): New vars. + (savehist-load): Use savehist-mode. Try to smooth up transition from + old format to new format. + (savehist-install): Allow savehist-autosave-interval to be nil. + (savehist-save): Run the new hook. Be more careful to only trim the + history variables. + (savehist-trim-history): New fun. Replaces savehist-process-for-saving. + (savehist-printable): Print into a buffer rather than char-by-char. + +2005-11-01 John Wiegley + + * iswitchb.el (iswitchb-define-mode-map): Re-enable the + toggle-ignore keybinding (C-a). The author said it had been + disabled much earlier due to a possible incompatibility, but after + many months of usage I have encountered no problems (and it is a + rather useful option, especially for switching to " *temp*"). + + * net/eudcb-mab.el (eudc-mab-query-internal): Add backend + support for OS/X's AddressBook, by calling out to the open source + program "contacts" (installable through Fink). + + * net/eudc.el (eudc-expand-inline): If the + `eudc-multiple-match-handling-method' is set to `all', delete the + query string before inserting the query result. + + * eshell/em-ls.el (eshell-do-ls): Add no-op support for --dired + flag, to prevent Eshell from using the system ls when + `eshell-ls-insert-directory' is in used. + (eshell-ls-insert-directory): Disable font-lock in directory + buffer so that Eshell's own fontification is seen. This broke + recently due to changes in font-lock, so this goes back to version + 21 behavior. + +2005-11-01 Nick Roberts + + * progmodes/gdb-ui.el (gdb-use-inferior-io-buffer): New function. + (menu, toggle-gdb-use-inferior-io-buffer): Get rid of defadvice. + (gdb-many-windows): Doc fix. + +2005-10-31 Romain Francoise + + * help-fns.el (describe-simplify-lib-file-name): Add autoload cookie. + +2005-10-31 Dan Nicolaescu + + * loadup.el: Load emacs-lisp/syntax, font-lock and jit-lock so + that global-font-lock-mode can be enabled by default. + + * font-lock.el (font-lock-keywords, font-lock-mode-internal) + (font-lock-add-keywords, font-lock-remove-keywords) + (font-lock-fontify-buffer): Remove autoload cookies. + + * jit-lock.el (jit-lock-register): Likewise. + + * emacs-lisp/syntax.el (syntax-ppss): Likewise. + +2005-10-31 Nick Roberts + + * progmodes/gdb-ui.el (gdb-many-windows): Leave window configuration + intact if there is no gud-comint-buffer. + +2005-10-31 Luc Teirlinck + + * progmodes/gud.el (gud-filter): Use comint-update-fence to delete + old prompt comint-prompt-read-only is t and GDB commands are + issued from tool bar etc. + +2005-10-31 Masatake YAMATO + + * vc.el (vc-directory-exclusion-list): Add "{arch}". + +2005-10-30 Chong Yidong + + * thumbs.el (thumbs-thumbsdir): Default to ~/.emacs.d/thumbs. + (thumbs-thumbsdir): Make .emacs.d if it does not exist. + +2005-10-30 Michael Albinus + + * net/tramp.el (tramp-chunksize): Escape parentheses in docstring + starting at beginning of line. Fontification is messed up when + `open-paren-in-column-0-is-defun-start' set to t. + Reported by John Paul Wallington . + +2005-10-30 Luc Teirlinck + + * comint.el (comint-send-input): Call `comint-update-fence' when + `comint-process-echoes' and `comint-prompt-read-only' are both + non-nil, to avoid leftover read-only newline. + +2005-10-30 Richard M. Stallman + + * textmodes/flyspell.el (flyspell-external-point-words): + Detect when WORD can't be checked properly because + flyspell-get-word finds just part of it, and move on. + + * textmodes/ispell.el (ispell-dictionary-alist-5): Add . as + boundarychar for Polish. + (ispell-dictionary-alist-4): Add . as boundarychar for Italian. + (ispell-dictionary-alist-3): Add . and @ as boundarychars for French. + +2005-10-31 Nick Roberts + + * progmodes/gdb-ui.el (gdb-tooltip-print-1): Fix regexp. + (gdb-registers-font-lock-keywords): Delete. + (gdb-registers-mode): Don't fontify. + (gdb-info-registers-custom): Use text properties instead as, in + future, changed register values will use font-lock-warning-face. + (gdb-local-font-lock-keywords): Rename to... + (gdb-locals-font-lock-keywords): ...for consistency. + +2005-10-30 Andre Spiegel + + * vc.el (vc-switch-backend): Better error message if the buffer is + not visiting a file under version control. + + * vc-cvs.el (vc-cvs-delete-file): Commit the file after removing it. + +2005-10-29 Chong Yidong + + * startup.el (command-line): Use ~/.emacs.d/init.el instead of + ~/.emacs.d/.emacs. + +2005-10-29 Richard M. Stallman + + * replace.el (occur-mode-mouse-goto): Always go to other window. + (occur-mode-goto-occurrence): Always switch in same window. + + * simple.el (undo): Display message at end, not at start. + + * emacs-lisp/timer.el (timer-activate, timer-activate-when-idle): + New arg REUSE-CELL. + (cancel-timer-internal): New function. + (timer-event-handler): Use cancel-timer-internal, + and pass the cell it returns to timer-activate... + + * jit-lock.el (jit-lock-function, jit-lock-stealth-fontify) + (jit-lock-deferred-fontify, jit-lock-context-fontify) + (jit-lock-after-change): Test memory-full. + +2005-10-29 Ken Manheimer + + * pgg-gpg.el (pgg-gpg-select-matching-key): Fix: look at the right + part of the decoded armor to find the key-identifier. + (pgg-gpg-lookup-key-owner): New function to return the + human-readable identifier of a key owner. + (pgg-gpg-lookup-id-from-key-owner): Make it easy to identify the + key itself. + (pgg-gpg-decrypt-region): Prompt with the key owner (rather than + the key value) if we have a key and can match it against a secret + key. Also, added a note pointing out fact that the prompt only + indicates the first matching key. + + * pgg.el (pgg-decrypt): Passing along PASSPHRASE in call to + pgg-decrypt-region. + (pgg-pending-timers): A new hash for tracking the passphrase cache + timers, so that new ones supercede old ones. + (pgg-add-passphrase-to-cache): Rename from + `pgg-add-passphrase-cache' to reduce confusion (all callers + changed). Modified to cancel old timers when new ones are added. + (pgg-remove-passphrase-from-cache): Rename from + `pgg-remove-passphrase-cache' to reduce confusion (all callers + changed). Modified to cancel old timers when their keys are + removed from the cache. + (pgg-cancel-timer): In Emacs, an alias for cancel-timer; in + XEmacs, an indirection to delete-itimer. + (pgg-read-passphrase-from-cache, pgg-read-passphrase): + Extract pgg-read-passphrase-from-cache from pgg-read-passphrase so + users can only check cache without risk of prompting. Correct bug in + notruncate behavior. + (pgg-read-passphrase-from-cache, pgg-read-passphrase) + (pgg-add-passphrase-cache, pgg-remove-passphrase-cache): + Add informative docstrings. + (pgg-decrypt): Convey provided passphrase in subordinate call to + pgg-decrypt-region. + + * pgg.el (pgg-encrypt-region, pgg-encrypt-symmetric-region) + (pgg-encrypt-symmetric, pgg-encrypt, pgg-decrypt-region) + (pgg-decrypt, pgg-sign-region, pgg-sign): Add optional + `passphrase' argument, so the passphrase can be managed externally + and then passed in to the system. + + * pgg.el (pgg-read-passphrase, pgg-add-passphrase-cache) + (pgg-remove-passphrase-cache): Add optional NOTRUNCATE argument, + so the passphrase cache can be used reliably with identifiers + besides a pgp packet's key id. + + * pgg-gpg.el (pgg-pgp-encrypt-region) + (pgg-pgp-encrypt-symmetric-region, pgg-pgp-encrypt-symmetric) + (pgg-pgp-encrypt, pgg-pgp-decrypt-region, pgg-pgp-decrypt) + (pgg-pgp-sign-region, pgg-pgp-sign): Add optional PASSPHRASE + argument to all these routines, so the passphrase can be managed + externally and passed in to the system. + + * pgg-gpg.el (pgg-gpg-possibly-cache-passphrase): Add optional + `notruncate' argument, so the passphrase cache can be used + reliably with identifiers besides a pgp packet's key id. + +2005-10-29 Sascha Wilde + + * pgg-gpg.el (pgg-gpg-encrypt-symmetric-region): New function for + symmetric encryption. + (pgg-gpg-symmetric-key-p): New function to check for an symmetric + encrypted session key. + (pgg-gpg-decrypt-region): When decrypting a symmetric encrypted + message ask for the passphrase in a proper way. + + * pgg.el (pgg-encrypt-symmetric, pgg-encrypt-symmetric-region): + New user commands for symmetric encryption. + +2005-10-29 Roland Winkler + + * textmodes/conf-mode.el (conf-assignment-sign) + (conf-assignment-regexp): Fix docstrings. + (conf-mode-initialize): New function. + (conf-mode): Remove optional args. Use delay-mode-hooks to + recognize recursive calls. + (conf-unix-mode, conf-windows-mode, conf-javaprop-mode) + (conf-space-mode, conf-colon-mode, conf-ppd-mode) + (conf-xdefaults-mode): Use define-derived-mode and + conf-mode-initialize. + +2005-10-29 Romain Francoise + + * help-fns.el (describe-simplify-lib-file-name): Fix regexp. + +2005-10-29 Ken Manheimer + + * pgg-gpg.el (pgg-gpg-select-matching-key): Fix: look at the right + part of the decoded armor to find the key-identifier. + (pgg-gpg-lookup-key-owner): New function to return the + human-readable identifier of a key owner. + (pgg-gpg-lookup-id-from-key-owner): Make it easy to identify the + key itself. + (pgg-gpg-decrypt-region): Prompt with the key owner (rather than + the key value) if we have a key and can match it against a secret + key. Also, added a note pointing out fact that the prompt only + indicates the first matching key. + + * pgg.el (pgg-decrypt): Passing along PASSPHRASE in call to + pgg-decrypt-region. + (pgg-pending-timers): A new hash for tracking the passphrase cache + timers, so that new ones supercede old ones. + (pgg-add-passphrase-to-cache): Rename from + `pgg-add-passphrase-cache' to reduce confusion (all callers + changed). Modified to cancel old timers when new ones are added. + (pgg-remove-passphrase-from-cache): Rename from + `pgg-remove-passphrase-cache' to reduce confusion (all callers + changed). Modified to cancel old timers when their keys are + removed from the cache. + (pgg-cancel-timer): In Emacs, an alias for cancel-timer; in + XEmacs, an indirection to delete-itimer. + (pgg-read-passphrase-from-cache, pgg-read-passphrase): + Extract pgg-read-passphrase-from-cache from pgg-read-passphrase so + users can only check cache without risk of prompting. Correct bug in + notruncate behavior. + (pgg-read-passphrase-from-cache, pgg-read-passphrase) + (pgg-add-passphrase-cache, pgg-remove-passphrase-cache): + Add informative docstrings. + (pgg-decrypt): Convey provided passphrase in subordinate call to + pgg-decrypt-region. + +2005-10-20 Ken Manheimer + + * pgg.el (pgg-encrypt-region, pgg-encrypt-symmetric-region) + (pgg-encrypt-symmetric, pgg-encrypt, pgg-decrypt-region) + (pgg-decrypt, pgg-sign-region, pgg-sign): Add optional + `passphrase' argument, so the passphrase can be managed externally + and then passed in to the system. + + * pgg.el (pgg-read-passphrase, pgg-add-passphrase-cache) + (pgg-remove-passphrase-cache): Add optional NOTRUNCATE argument, + so the passphrase cache can be used reliably with identifiers + besides a pgp packet's key id. + + * pgg-gpg.el (pgg-pgp-encrypt-region) + (pgg-pgp-encrypt-symmetric-region, pgg-pgp-encrypt-symmetric) + (pgg-pgp-encrypt, pgg-pgp-decrypt-region, pgg-pgp-decrypt) + (pgg-pgp-sign-region, pgg-pgp-sign): Add optional PASSPHRASE + argument to all these routines, so the passphrase can be managed + externally and passed in to the system. + + * pgg-gpg.el (pgg-gpg-possibly-cache-passphrase): Add optional + `notruncate' argument, so the passphrase cache can be used + reliably with identifiers besides a pgp packet's key id. + +2005-10-29 Sascha Wilde + + * pgg-gpg.el (pgg-gpg-encrypt-symmetric-region): New function for + symmetric encryption. + (pgg-gpg-symmetric-key-p): New function to check for an symmetric + encrypted session key. + (pgg-gpg-decrypt-region): When decrypting a symmetric encrypted + message ask for the passphrase in a proper way. + + * pgg.el (pgg-encrypt-symmetric, pgg-encrypt-symmetric-region): + New user commands for symmetric encryption. + +2005-10-28 Bill Wohler + + * help-mode.el (help-url): New button type. Calls browse-url. + (help-xref-url-regexp): New regexp to recognize URLs in docstring. + Similar to Info nodes: URL `url'. + (help-make-xrefs): Create help-url buttons for + help-xref-url-regexp matches. + +2005-10-29 Nick Roberts + + * tool-bar.el (tool-bar-add-item-from-menu) + (tool-bar-local-item-from-menu): Fix doc strings. + +2005-10-28 Romain Francoise + + * ldefs-boot.el: Update. + + * subr.el (locate-library): Move from help-fns.el. + * help-fns.el (locate-library): Move to subr.el. + +2005-10-28 Richard M. Stallman + + * net/tramp.el (tramp-completion-mode): defvar moved up. + + * emacs-lisp/easymenu.el (easy-menu-change): Doc fix. + + * tool-bar.el (tool-bar-mode): Delete autoload cookie. + + * files.el (find-file-noselect): Use %d to format large file size. + + * bindings.el (mode-line-format): Add %e. + + * loadup.el ("facemenu"): Load unconditionally. + ("image", "international/fontset", "dnd", "mwheel", "tool-bar"): + ("x-dnd"): Load, when appropriate. + + * startup.el (command-line): Call before-init-hook earlier. + Warn about some bad characters in -u user name. + + * textmodes/flyspell.el (flyspell-large-region): Pass -t if Tex file. + (flyspell-external-point-words): Error if misspelled word is not found. + Set flyspell-large-region-beg at end of word. + +2005-10-28 Andreas Schwab + + * view.el (View-revert-buffer-scroll-page-forward): + Use view-page-size-default. + +2005-10-28 Juri Linkov + + * international/quail.el (quail-get-current-str): Translate last + raw character for deterministic input methods. + +2005-10-27 Jay Belanger + + * calc/calc-ext.el: Add functions to autoloads. + (math-identity-matrix-p, math-ident-row-p): New functions. + + * calc/calc-arith.el (calc-mul-symb-fancy): Add checks for + multiplication by an identity matrix; don't turn multiplication by + an inverse matrix into division. + (math-div-symbol-fancy): Replace division by matrices with + multiplication by inverse. + + * calc/calc-misc.el (calcFunc-inv): Check for symbolic matrices. + + * calc/calc-alg.el (calcFunc-writeoutpower, math-write-out-power) + (calc-writeoutpower): New functions. + +2005-10-27 Romain Francoise + + * replace.el (occur-engine): Include colon in mouse-face highlight. + + * dired-x.el: Change Maintainer field. + +2005-10-26 Chong Yidong + + * longlines.el (longlines-mode): Bind after-change-functions to + nil during initial decoding and final encoding. + +2005-10-26 Dan Nicolaescu + + * term.el (term-emulate-terminal, term-handle-colors-array) + (term-handle-ansi-escape): Specify the terminfo capabilities + implemented. + +2005-10-26 Richard M. Stallman + + * info.el (Info-fontify-node): Fix detection of sentence-break + before *Note. + +2005-10-26 Romain Francoise + + * smerge-mode.el: Add `tools' to file keywords. + +2005-10-26 Nick Roberts + + * progmodes/gud.el (gud-menu-map): Only display gud-until icon + when the fringe is not available. + + * progmodes/gdb-ui.el (def-gdb-auto-updated-buffer) + (def-gdb-auto-update-trigger): Simplify construction. + (gdb-locals-buffer): Use def-gdb-auto-update-trigger instead of + def-gdb-auto-updated-buffer as gdb-info-locals-handler is + defined explicitly. + (gdb-assembler-buffer): Use def-gdb-auto-update-handler instead of + def-gdb-auto-updated-buffer as gdb-invalidate-assembler is + defined explicitly. + (gdb-info-locals-custom): Remove as it's a no-op. + +2005-10-25 Chong Yidong + + * longlines.el (longlines-mode): Remove narrowing before + performing the initial decoding or final encoding. + +2005-10-25 Romain Francoise + + * emacs-lisp/find-func.el (find-library-name): Also strip + extension if library name ends in .el, to take advantage of + `find-library-suffixes'. + +2005-10-25 Richard M. Stallman + + * menu-bar.el (menu-bar-help-menu): Say which kind of therapist. + +2005-10-25 Juri Linkov + + * textmodes/texinfo.el (texinfo-mode): Change charset of one + quotation mark from [mule-unicode-0100-24ff] to [japanese-jisx0208]. + +2005-10-25 Stefan Monnier + + * play/blackbox.el (blackbox-mode-map): Move init into declaration. + (blackbox-redefine-key): Add argument `map'. + + * jit-lock.el (jit-lock-fontify-now): Be careful not to skip multiline + regions when moving the jit-lock-context-unfontify-pos boundary. + +2005-10-25 Reiner Steib + + * net/browse-url.el (browse-url-of-buffer): Add ".html" to filename. + +2005-10-25 Masatake YAMATO + + * dired-x.el (dired-virtual): Don't use `dired-insert-headerline'. + +2005-10-25 Micha,Ak(Bl Cadilhac + + * play/blackbox.el (blackbox-redefine-key): New function. + (blackbox-mode-map): Use it to remap existing bindings for cursor + motion instead of binding literal keys. + +2005-10-25 Glenn Morris + + * calendar/diary-lib.el (diary-list-entries): Prevent infloop when + diary does not end in a newline. Do not assume a blank line at + the start of the diary file. + +2005-10-25 Kenichi Handa + + * international/quail.el (quail-translate-key): If the input + method is deterministic and failed to handle the last key, restart + the key handling loop from an appropriate key. + +2005-10-25 Michael Albinus + + * vc.el (vc-dired-mode): Extend comment for binding of + `directory-listing-before-filename-regexp'. + +2005-10-25 Stefan Monnier + + * textmodes/texinfo.el (texinfo-mode): + * textmodes/paragraphs.el (sentence-end-base): Use real chars, so as + not to unnecessarily expose emacs-mule's internal char codes. + +2005-10-25 Nick Roberts + + * progmodes/gdb-ui.el (gdb-put-breakpoint-icon): Correct help-echo. + Display hand pointer and help-echo on disabled icon too. + (gdb-mouse-until): New function. + (gdb-ann3): Bind it to mouse-2 and drag-mouse-1 in left fringe. + +2005-10-24 Chong Yidong + + * menu-bar.el (menu-bar-help-menu): Rename "psychiatrist", in line + with 2005-10-23 change to doctor.el. + + * finder.el (finder-mode-map): Add follow-link binding. + +2005-10-25 Kim F. Storm + + * progmodes/gdb-ui.el (gdb-ann3): Bind mouse-3 in left fringe + to gdb-mouse-toggle-breakpoint-fringe. + (gdb-mouse-toggle-breakpoint-margin): Rename from + gdb-mouse-toggle-breakpoint. Fix doc. + (gdb-mouse-toggle-breakpoint-fringe): New defun. + (gdb-put-string): Add optional SPROPS arg. Add props to string. + (gdb-put-breakpoint-icon): Add gdb-bptno and gdb-enabled + string properties also for fringe breakpoint bitmaps. + +2005-10-24 Carsten Dominik + + * textmodes/org.el (org-start-icalendar-file): Fix format form. + +2005-10-25 Masatake YAMATO + + * simple.el (completion-common-substring): + Use `completion-common-substring' prior to `completion-base-size'. + +2005-10-24 Hrvoje Niksic + + * savehist.el: Require CL while compiling. + (savehist-history-variables): Remove. + (savehist-save-minibuffer-history, savehist-additional-variables) + (savehist-minibuffer-history-variables): New vars. + (savehist-save): Use them. + (savehist-uninstall, savehist-minibuffer-hook): New funs. + (savehist-install): New fun, extracted from savehist-load. + (savehist-load): Use them. + +2005-10-24 Stefan Monnier + + * emacs-lisp/lisp-mode.el (easy-mmode-define-global-mode): Don't add + a dummy doc-string-elt property. + (defalias, defvaralias, define-category): Add a docstring property. + + * image.el (defimage): + * widget.el (define-widget): + * custom.el (defface, defcustom): Add `doc-string' declaration. + + * emacs-lisp/advice.el (ad-make-advised-definition): Fix arg-order. + (defadvice): Add `doc-string' declaration. + + * emacs-lisp/byte-run.el (macro-declaration-function): + Handle `doc-string' declarations. + (define-obsolete-function-alias, define-obsolete-variable-alias): + Add `doc-string' declaration. + +2005-10-24 Kenichi Handa + + * international/utf-7.el (utf-7): Add autoload cookie. + + * term/x-win.el: Register more Cyrillic characters in x-keysym-table. + +2005-10-24 Eli Zaretskii + + * makefile.w32-in (autoloads): Use "." instead of $(lisp) in the + list of directories passed to batch-update-autoloads. Add "." to + the list of the echoed directories. + + * pgg-def.el: + * pgg-gpg.el: + * pgg-parse.el: + * pgg-pgp.el: + * pgg-pgp5.el: + * pgg.el: Moved here from the gnus subdirectory. + +2005-10-24 Nick Roberts + + * progmodes/gud.el (gud-filter): Bind inhibit-read-only to t + in case comint-prompt-read-only is set to t. + + * progmodes/gdb-ui.el (gdb-send): Bind inhibit-read-only to t + in case comint-prompt-read-only is set to t. + +2005-10-24 Ulf Jasper + + * calendar/icalendar.el (icalendar-version): Increase to 0.13. + Now a string. + (icalendar-import-format): Handle CLASS, STATUS, URL. + Rename `subject' to `summary'. + (icalendar-import-format-summary): Rename from + `icalendar-import-format-subject'. + (icalendar-import-format-url, icalendar-import-format-status) + (icalendar-import-format-class): New variables. + (icalendar--rris): Take variable argument list. + (icalendar--datestring-to-isodate): Remove unnecessary + calendar-style check when converting dates with explicit month names. + (icalendar-export-region): Change return type of conversion + subroutines. Bury current buffer unless error occurred. + (icalendar--convert-to-ical) + (icalendar--parse-summary-and-rest): New functions. + (icalendar--convert-ordinary-to-ical) + (icalendar--convert-weekly-to-ical) + (icalendar--convert-yearly-to-ical) + (icalendar--convert-block-to-ical) + (icalendar--convert-cyclic-to-ical) + (icalendar--convert-anniversary-to-ical): Change return type. + Strip trailing blanks from subject. + (icalendar--convert-sexp-to-ical): Change return type. + Strip trailing blanks from subject. Handle simple sexp + entries as generated by icalendar.el. + (icalendar--convert-float-to-ical) + (icalendar--convert-date-to-ical): Strip trailing blanks from subject. + (icalendar-import-file): Doc fix. + (icalendar--format-ical-event): Handle CLASS, STATUS, URL. + Correct call to icalendar--rris. + (icalendar--convert-ical-to-diary): Doc fix. Rename `subject' to + `summary'. + (icalendar--add-diary-entry): Rename `subject' to `summary'. + +2005-10-24 Romain Francoise + + * server.el (server-sentinel): Set query-on-exit flag to nil on + new client processes (it isn't inherited from the server process). + + * replace.el (occur-engine): Rearrange text properties. + +2005-10-23 Stefan Monnier + + * emacs-lisp/debug.el (debugger-make-xrefs): Don't assume + case-fold-search is nil. + (debug-help-follow): Use help-xref-interned directly. + +2005-10-23 Chong Yidong + + * thumbs.el (thumbs-image-type): Add .pbm. + +2005-10-23 Richard M. Stallman + + * faces.el (inhibit-face-set-after-frame-default): New variable. + (set-face-attribute): Bind it. + (face-set-after-frame-default): Test it. + + * help-fns.el (describe-simplify-lib-file-name): New function. + (describe-function-1, describe-variable): Use it. + + * faces.el (describe-face): Use describe-simplify-lib-file-name. + + * tooltip.el (tooltip-x-offset, tooltip-y-offset): Change defaults. + Eliminate nil as possible value. + (tooltip-hide-delay): Reduce internal-border-width. + + * menu-bar.el (menu-bar-file-menu) : Change help-echo string. + (menu-bar-file-menu) : Likewise. + + * simple.el (line-move-finish): Ignore fields computing LINE-END. + + * international/mule.el (load-with-code-conversion): + Pass full file name to `eval-buffer' unless preloading. + + * textmodes/flyspell.el (flyspell-large-region): + Call ispell-check-version. + + * textmodes/ispell.el (ispell-local-dictionary-overridden): + Fix the make-variable-buffer-local call that was supposed + to be for this variable. + (ispell-aspell-supports-utf8): Doc fix. + (ispell-find-aspell-dictionaries): Preserve elements of + ispell-dictionary-alist for dictionaries that aspell doesn't report. + (ispell-aspell-find-dictionary): Return nil on error. + + * play/doctor.el (doctor-doc): Don't say "psychiatrist". + (doctor-symptoms): Likewise. + + * add-log.el (add-log-current-defun): Clean up handling of DEFUNs. + +2005-10-23 Chong Yidong + + * cus-edit.el (custom-button, custom-button-pressed): New vars. + (custom-raised-buttons): Add :set spec. + (custom-button-unraised, custom-button-pressed-unraised): + New faces, so that custom-raised-buttons actually does something. + (custom-mode): Use custom-button and custom-button-pressed. + + * wid-edit.el (widget-specify-button): Don't ignore + widget-mouse-face on graphic terminals. + (widget-move-and-invoke): Cleanup. + +2005-10-23 Thien-Thi Nguyen + + * whitespace.el (whitespace-cleanup): Doc fix. + +2005-10-23 Romain Francoise + + * emulation/viper.el (viper-set-hooks): Quote forms passed to + `eval-after-load' to avoid evaluating their result. + +2005-10-23 Michael Albinus + + * files.el (directory-listing-before-filename-regexp): + New defvar. Replaces `dired-move-to-filename-regexp' from dired.el. + + * dired.el (dired-move-to-filename-regexp): Remove. + All occurrences replaced by `directory-listing-before-filename-regexp'. + + * dired-x.el, locate.el, vc.el: + Replace `dired-move-to-filename-regexp' by + `directory-listing-before-filename-regexp'. In vc.el it is + overwritten locally; maybe this can be handled in files.el too. + + * net/ange-ftp.el (ange-ftp-date-regexp): Remove. All occurrences + replaced by `directory-listing-before-filename-regexp'. + +2005-10-23 Andreas Schwab + + * font-lock.el (lisp-font-lock-keywords-2): Add eval-at-startup + and eval-next-after-load. + +2005-10-23 MIYOSHI Masanori (tiny change) + + * mouse.el (mouse-drag-region): If the *Messages* buffer doesn't + exist, create it. + +2005-10-23 Ken Manheimer + + * allout.el: Remove autoloads for mailcrypt and crypt++. + Require pgg, pgg-gpg during compilation. + (allout-version): Increment version number to 2.1, and use a literal + rather than RCS Id. + (allout-default-encryption-scheme): Remove. + (allout-passphrase-verifier-handling) + (allout-passphrase-verifier-string) + (allout-file-passphrase-verifier-string) + (allout-passphrase-hint-string): Rename -key- to -passphrase-. + (allout-passphrase-hint-handling): Rename and simplify. + (allout-init): Use `find-file-hook' if available, otherwise + `find-file-hooks'. + (allout-mode): Use `write-file-functions' if available, otherwise + `local-write-file-hooks' and, instead of making auto-save-hook + buffer local, make the write-file-hook activity contingent to + allout-mode. + (allout-mode): Use key-binding substitution in the docstring. + (allout-kill-line): Spell-out kill ring data structure mutation + instead of using byte-compiler-complaint-provoking `pop'. + (allout-insert-listified): Use `insert' rather than `insert-string' + (allout-toggle-current-subtree-encryption): Update docstring, adjust + to new gpp-based encryption, use new `allout-encrypted-topic-p'. + (allout-encrypt-string): Totally revamped vis new underlying + encryption facilities. + (allout-mc-activate-passwd): Remove. + (allout-obtain-passphrase): New, more or less replaces + allout-mc-activate-passwd. + (allout-encrypted-key-info): More or less replaces + allout-encrypted-text-type. + (outlineify-sticky, outlinify-sticky): Add autoload cookie. + (my-mark-marker): Use `(featurep 'xemacs)'. + +2005-10-23 Lars Hansen + + * emacs-lisp/bytecomp.el (byte-compile-lambda): New arg add-lambda. + (byte-compile-file-form-defmumble, byte-compile-defun) + (byte-compile-defmacro): Use it. + (byte-compile-form): Don't call byte-compile-set-symbol-position + when a byte-compile handler is called. + +2005-10-22 Romain Francoise + + * savehist.el (savehist-history-variables): Add `grep-find-history'. + + * subr.el (eval-after-load): Convert library name to an absolute + file name using locate-library, since load-history no longer has + library names in it. + +2005-10-22 Richard M. Stallman + + * files.el (make-temp-file): Move from subr.el. + * subr.el (make-temp-file): Move to files.el. + + * window.el (get-buffer-window-list): Move from subr.el. + * subr.el (get-buffer-window-list): Move to window.el. + + * image.el (image-load-path): Use eval-at-startup to initialize. + + * subr.el (eval-at-startup): New macro. + + * subr.el: Much rearrangement of functions and division + into pages. No code changes. + +2005-10-22 Kenichi Handa + + * tar-mode.el (tar-extract): Be sure to call + find-operation-coding-system if set-auto-coding doesn't find a + coding system. + +2005-10-22 Kim F. Storm + + * image.el (image-type-header-regexps): Rename from image-type-regexps. + Change users. + (image-type-file-name-regexps): New defconst. + (image-type-from-data): Simplify loop. + (image-type-from-buffer): New defun. + (image-type-from-file-header): Use it instead of image-type-from-data. + Use image-search-load-path instead of only looking in data-directory. + (image-type-from-file-name): New defun. + (image-search-load-path): Change `pathname' to `filename'. + Make PATH arg optional, default to image-load-path. + +2005-10-21 Richard M. Stallman + + * textmodes/texinfo.el (texinfo-mode): Set sentence-end-base. + + * textmodes/paragraphs.el (sentence-end-base): New variable. + (sentence-end): Use sentence-end-base. + +2005-10-21 Stefan Monnier + + * font-lock.el (font-lock-default-fontify-region): Check the multiline + property independently from the font-lock-multiline variable. + +2005-10-21 Richard M. Stallman + + * emacs-lisp/find-func.el (find-library-name): Doc fix. + + * startup.el (command-line): Convert library names + in `load-history' to absolute file names. + + * subr.el (symbol-file): Doc fix. + + * loadhist.el (file-loadhist-lookup): Call locate-library + instead of find-library-name. Don't try converting + abs file names to library names, since load-history no longer + has library names in it. + (file-dependents, file-provides, file-requires): Doc fixes. + +2005-10-21 Juri Linkov + + * progmodes/etags.el (tags-table-mode): New function. + (tags-verify-table): Replace initialize-new-tags-table with + tags-table-mode. + + * desktop.el (desktop-buffers-not-to-save): Remove TAGS from the + default value. + (desktop-modes-not-to-save): Add tags-table-mode to the + default value. + + * info.el (Info-index-next): Add total number of index + alternatives to the message. + + * textmodes/fill.el (fill-nobreak-p): Fix first two rules to skip + backward only space (instead of space and period) before looking + at sentence end. + + * simple.el (set-variable): Use user-variable-p instead of symbolp. + Add the old variable value as 4th default-value arg of read-string. + +2005-10-21 YAMAMOTO Mitsuharu + + * cus-face.el (custom-declare-face): Make face from X resources + also on Mac. + + * disp-table.el (standard-display-g1, standard-display-graphic): + Refuse to use string glyphs also on Mac. + (standard-display-european): Don't set terminal coding system also + on Mac. + + * frame.el (display-screens): Use x-display-screens also on Mac. + +2005-10-21 Romain Francoise + + * net/rcirc.el: Now part of GNU Emacs. Update FSF's address. + +2005-10-21 Stefan Monnier + + * progmodes/sh-script.el (sh-font-lock-syntactic-keywords): Make $@ + and $? into sexps. + + * font-lock.el (font-lock-compile-keywords): Add a help-echo to the + warning face on open-paren-in-column-0. + + * emacs-lisp/syntax.el (syntax-ppss-flush-cache): Fix corner + boundary case. Fix typo. + Suggested by Martin Rudalics . + +2005-10-21 Carsten Dominik + + * textmodes/org.el (org-combined-agenda-icalendar-file) + (org-icalendar-include-todo, org-icalendar-combined-name): New options. + (org-export-icalendar-this-file) + (org-export-icalendar-all-agenda-files) + (org-export-icalendar-combine-agenda-files): New commands. + (org-export-icalendar, org-print-icalendar-entries) + (org-start-icalendar-file, org-finish-icalendar-file) + (org-ical-ts-to-string): New functions. + (org-read-date, org-goto-calendar) + (org-agenda-goto-calendar): Inhibit displaying diary entries by + call to `calendar'. + (orgtbl-setup): Remove the :keys arguments from the menu description. + (org-after-save-iCalendar-file-hook): New variable. + +2005-10-21 Kenichi Handa + + * language/vietnamese.el (tcvn-5712): Make it an alias of + vietnamese-tcvn coding-system. + +2005-10-20 Michael Albinus + + * net/ange-ftp.el (ange-ftp-date-regexp): Handle also the case no + group id is given. + +2005-10-20 Stefan Monnier + + * progmodes/sh-script.el (sh-escaped-line-re): New var. + (sh-here-doc-open-re, sh-font-lock-close-heredoc): Use it. + (sh-font-lock-open-heredoc): Try to properly handle heredoc starters + whose line is either continued or ends with a comment. + +2005-10-20 Romain Francoise + + * net/rcirc.el (with-rcirc-process-buffer): Move above its first user. + + * replace.el (occur-engine): Add follow-link property. + + * font-core.el (font-lock-mode): Doc fix. + +2005-10-20 Richard M. Stallman + + * net/rcirc.el: New file. + +2005-10-20 Bryan Henderson (tiny change) + + * term.el (term-term-name): Initialize to "eterm-color". + +2005-10-20 Ken Manheimer + + * allout.el: Add autoloads of crypt++ and mailcrypt routines, all + for encryption functionality. + Move allout customization subgroup from `editing' to `outlines' group. + Fix commentary keywords to legitimate ones. + Update author info (using my current email address, obscurified). + (allout-encrypt-string, allout-encryption-produce-work-buffer) + (allout-encrypted-topic-p, allout-encrypted-text-type) + (allout-mc-activate-passwd, allout-create-encryption-key-verifier) + (allout-situate-encryption-key-verifier) + (allout-get-encryption-key-verifier, allout-verify-key) + (allout-next-topic-pending-encryption) + (allout-encrypt-decrypted, allout-encrypted-type-prefix): New funcs. + (outline-topic-encryption-bullet, outline-default-encryption-scheme) + (outline-key-verifier-handling, outline-key-hint-handling) + (outline-encrypt-unencrypted-on-saves): New defcustoms. + (allout-file-key-verifier-string, allout-encryption-scheme) + (allout-key-verifier-string, allout-key-hint-string) + (allout-after-save-decrypt): New variables. + (allout-write-file-hook-handler, allout-auto-save-hook-handler) + (allout-after-saves-handler): New hook functions. + (allout-post-command-business): Do allout-after-save-decrypt. + (allout-enable-file-variable-adjustment): Custom var to enable + mechanism for adding and adjusting settings of Emacs file variables. + (allout-adjust-file-variable, allout-file-vars-section-data): + New functions, implement the mechanism. + (outlineify-sticky): Use the file vars mechanism. + (allout-inhibit-protection, allout-during-write-cue) + (allout-override-protect, allout-before-change-protect): Remove. + (allout-flag-region, allout-open-topic): Adjust read-only text. + (allout-open-line-not-read-only): Add to facilitate read-only + text based protection. + (allout-kill-line): Revise to adjust read-only text, clue the + user about the inhibition. + (allout-unprotected): Use unwind-protect. + (allout-shift-in, allout-shift-out): Disallow manually shifting a + topic deeper than the offspring depth of the previous topic - + avoiding confusing "containment discontinuities". + (allout-reindent-bodies): Fix retention of body relative hanging + indent during promotion of collapsed bodies. + (allout-open-topic): Make it easy to open new topic with same + bullet as current topic - topic creation functions provided with + any universal argument provokes now prompt for bullet, defaulting + to the bullet of the previous topic. + (allout-plain-bullets-string, allout-distinctive-bullets-string): + Plain bullet alternates `.' period and `,' comma only. All other + bullets are relegated to special status (but customizable). + (allout-end-of-entry): Rename from allout-end-of-current-entry + since it actually operates w.r.t. most immediately containing + entry, visible or not. + (allout-hide-current-entry, allout-show-current-entry): Use the + revised version. + (allout-old-expose-topic): Solidify deprecation. + (allout-end-of-subtree): Add so we can span concealed as well + as visible topics. + (allout-end-of-current-subtree): Use `allout-end-of-subtree'. + (allout-end-of-current-heading): Tweak to just respect the first line. + (allout-get-body-text): Add. + (allout-ascend-to-depth, allout-ascend): Position at end of prefix + when invoked interactively. + (allout-up-current-level): Use `interactive-p'. + (allout-mode, allout-init): Miscellaneous docstring and + operational refinements, as well as hookups of new encryption stuff. + (allout-beginning-of-current-entry): Now works as advertised. + (allout-end-of-current-entry): Remove of superfluous allout-show-entry. + (allout-isearch-rectification): Refine condition for isearching. + (allout-isearch-abort, allout-enwrap-isearch) + (allout-flag-region, my-region-active-p): Relocate some macros. + (allout-title): Fallback title is (buffer-name), not + non-existing (current-buffer-name). + (subst-char-in-string): Define if absent (for some XEmacs versions). + +2005-10-20 Jari Aalto + + * mail/sendmail.el (mail-setup-hook, mail-aliases) + (mail-yank-prefix, mail-indentation-spaces, mail-yank-hooks) + (mail-citation-prefix-regexp, mail-signature-file) + (mail-default-headers, mail-bury-selects-summary) + (mail-send-nonascii): Add autoload cookies. + +2005-10-20 Emanuele Giaquinta (tiny change) + + * frame.el (blink-cursor-mode): Add `mac' to the list of + window-system's that support blinking cursor. + +2005-10-20 Reiner Steib + + * textmodes/org.el (org-level-color-stars-only): Fix typo in docstring. + +2005-10-20 Eli Zaretskii + + * makefile.w32-in ($(lisp)/mh-e/mh-loaddefs.el): + Bind find-file-suppress-same-file-warnings to t, to avoid warnings due + to different drive letter case in D:/foo/bar.el vs d:/foo/bar.el. + +2005-10-20 Kim F. Storm + + * ido.el (ido-is-tramp-root): Simplify regexp matching tramp root. + (ido-set-current-directory): Don't add / after final @. + (ido-file-name-all-completions-1): Adapt to fixed tramp completion. + Explicitly handle ange-ftp completion oddities. + (ido-make-file-list): Don't rotate list at tramp root to avoid + triggering tramp file handler for expand-file-name via get-file-buffer. + +2005-10-19 Stefan Monnier + + * savehist.el (savehist-coding-system): Revert to checking XEmacs. + +2005-10-19 Jay Belanger + + * calc/calc-units.el (math-standard-units): Add units, adjust + symbols and update values. + (math-unit-prefixes): Add more prefixes. + +2005-10-19 Romain Francoise + + * bookmark.el (bookmark-menu-heading): New face. + (bookmark-bmenu-list): Use it. + Don't fiddle with `baud-rate' at top-level. + +2005-10-18 Chong Yidong + + * image.el (create-image, find-image): Mention max-image-size in + docstring. + +2005-10-18 Stefan Monnier + + * savehist.el (savehist-load): Revert to checking XEmacs. + + * textmodes/conf-mode.el: Don't use font-lock-defaults-alist. + Various docstring and line-width fixups. + (conf-mode): Use cond. + Set font-lock-defaults. Don't set comment-use-syntax. + +2005-10-18 David Ponce + + * tree-widget.el (tree-widget-button-click): New function. + (tree-widget-button-keymap): Use it. + +2005-10-18 Romain Francoise + + * bookmark.el (bookmark-insert-location, bookmark-bmenu-list) + (bookmark-bmenu-hide-filenames): Add follow-link property. + Improve help-echo text. + + * ffap.el (find-file-at-point): Doc fix. + +2005-10-18 YAMAMOTO Mitsuharu + + * mouse.el (mouse-set-region): Don't do sit-for on a mac frame. + +2005-10-18 Masatake YAMATO + + Install to the CVS repository what I forgot to install in my + 2005-10-16 changes. + + * progmodes/python.el (python-complete-symbol): Pass the common + prefix substring of completion to `display-completion-list'. + + * textmodes/org.el (org-complete): Ditto. + +2005-10-18 Masatake YAMATO + + Fix a bug reported by Sven Joachim . + + * woman.el (WoMan-xref-man-page): New button type derived + from `Man-abstract-xref-man-page'. + (woman-mode): Pass `WoMan-xref-man-page' to `Man-highlight-references'. + + * man.el (Man-abstract-xref-man-page): New button type. + (Man-xref-man-page): Make it derived from `Man-abstract-xref-man-page'. + (Man-highlight-references): Add new optional argument `xref-man-type'. + +2005-10-18 Nick Roberts + + * progmodes/gud.el (gud-menu-map): Correct condition for fringe. + +2005-10-17 Chong Yidong + + * cus-edit.el (Custom-move-and-invoke): Delete. + (custom-mode-map): Bind mouse-1 to widget-move-and-invoke. + + * wid-edit.el (widget-move-and-invoke): New function, from + Custom-move-and-invoke. + +2005-10-17 Bill Wohler + + Move all remaining images from lisp/toolbar to etc/images, move + lisp/toolbar/tool-bar to lisp and "delete" lisp/toolbar. Place + the low resolution images in their own directory (low-color). + + * toolbar/attach.*, toolbar/cancel.*, toolbar/close.* + * toolbar/copy.*, toolbar/cut.*, toolbar/diropen.*, toolbar/exit.* + * toolbar/help.*, toolbar/home.*, toolbar/index.*, toolbar/info.* + * toolbar/mail.*, toolbar/new.*, toolbar/open.*, toolbar/paste.* + * toolbar/preferences.*, toolbar/print.*, toolbar/save.* + * toolbar/saveas.*, toolbar/search.*, toolbar/search-replace.* + * toolbar/spell.*, toolbar/undo.*: Move to etc/images. + + * toolbar/lc-copy.*: Move to etc/images/low-color/copy.*. + * toolbar/lc-cut.*: Move to etc/images/low-color/cut.*. + * toolbar/lc-help.*: Move to etc/images/low-color/help.*. + * toolbar/lc-home.*: Move to etc/images/low-color/home.*. + * toolbar/lc-index.*: Move to etc/images/low-color/index.*. + * toolbar/lc-new.*: Move to etc/images/low-color/new.*. + * toolbar/lc-open.*: Move to etc/images/low-color/open.*. + * toolbar/lc-paste.*: Move to etc/images/low-color/paste.*. + * toolbar/lc-preferences.*: Move to etc/images/low-color/preferences.*. + * toolbar/lc-print.*: Move to etc/images/low-color/print.*. + * toolbar/lc-save.*: Move to etc/images/low-color/save.*. + * toolbar/lc-saveas.*: Move to etc/images/low-color/saveas.*. + * toolbar/lc-search.*: Move to etc/images/low-color/search.*. + * toolbar/lc-spell.*: Move to etc/images/low-color/spell.*. + * toolbar/lc-undo.*: Move to etc/images/low-color/undo.*. + + To conform with convention, replace the underscore (_) in the + following image names with dash (-) or (/) as appropriate. + + * toolbar/back_arrow.*: Move to etc/images/back-arrow.*. + * toolbar/fld_open.*: Move to etc/images/fld-open.*. + * toolbar/fwd_arrow.*: Move to etc/images/fwd-arrow.*. + * toolbar/jump_to.*: Move to etc/images/jump-to.*. + * toolbar/left_arrow.*: Move to etc/images/left-arrow.*. + * toolbar/right_arrow.*: Move to etc/images/right-arrow.*. + * toolbar/up_arrow.*: Move to etc/images/up-arrow.*. + * toolbar/lc-back_arrow.*: Move to etc/images/low-color/back-arrow.*. + * toolbar/lc-fwd_arrow.*: Move to etc/images/low-color/fwd-arrow.*. + * toolbar/lc-jump_to.*: Move to etc/images/low-color/jump-to.*. + * toolbar/lc-left_arrow.*: Move to etc/images/low-color/left-arrow.*. + * toolbar/lc-right_arrow.*: Move to etc/images/low-color/right-arrow.*. + * toolbar/lc-up_arrow.*: Move to etc/images/low-color/up-arrow.*. + * toolbar/mail_compose.*: Move to etc/images/mail/compose.*. + * toolbar/mail_send.*: Move to etc/images/mail/send.*. + + * info.el (info-tool-bar-map): Replace underscores in image names + with dashes. + + * makefile.w32-in (WINS): Remove toolbar. + + * menu-bar.el: Replace toolbar/tool-bar.el with tool-bar.el in comment. + + * tool-bar.el: Move to lisp from toolbar. Now that + toolbar is empty, it should be deleted when folks run "cvs up -P". + +2005-10-18 Jay Belanger + + * calc/calc-store.el (calc-store-into): Get the proper variable name + to display in message. + +2005-10-18 Nick Roberts + + * progmodes/gdb-ui.el (gdb-var-create-handler): Make watch + expressions display in speedbar for all buffers when debugging. + (gdb-speedbar-expand-node): Ensure node contraction is always updated. + + * speedbar.el (speedbar-set-mode-line-format): Indent properly. + (speedbar-insert-button, speedbar-make-button): + Use add-text-properties. + (speedbar-update-localized-contents) + (speedbar-update-directory-contents) + (speedbar-update-special-contents): Use dolist. + (speedbar-buffer-easymenu-definition): Add a menu separator. + +2005-10-17 Jason Rumney + + * makefile.w32-in: Use $(lisp) consistently. + (pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD): New targets + for shell specific generation of mh-autoloads. + +2005-10-17 Richard M. Stallman + + * textmodes/tex-mode.el (tex-font-lock-keywords-2): Undo prev change. + +2005-10-17 Stefan Monnier + + * jit-lock.el (jit-lock-fontify-now): + Move jit-lock-context-unfontify-pos to avoid wasted work. + +2005-10-17 Michael Albinus + + * net/tramp.el (tramp-completion-mode): New defvar. Used in + `tramp-completion-mode' for checking if we are in completion mode. + (tramp-completion-handle-file-name-all-completions): Reorder code + in order to complete for file names only in case there are no + method/user/host completions. This is necessary for cooperation + with ido. Reported by Kim F. Storm . + +2005-10-16 Chong Yidong + + * longlines.el (longlines-search-forward) + (longlines-search-backward): Match any number of spaces. + +2005-10-16 Thien-Thi Nguyen + + * diff-mode.el (diff-mode): Doc fix. + +2005-10-16 David Reitter + + * mail/sendmail.el (send-mail-function): Use mailclient-send-it + as default on darwin and windows systems. + +2005-10-16 Sven Joachim (tiny change) + + * arc-mode.el (archive-zip-extract): Doc fix. + +2005-10-16 Romain Francoise + + * mouse.el (mouse-1-click-follows-link): Doc fix. + +2005-10-16 Stefan Monnier + + * savehist.el: Don't require CL at runtime. + (savehist-xemacs): Remove. + (savehist-coding-system): Use utf-8 if present, regardless of religion. + (savehist-no-conversion): Use (featurep 'xemacs). + (savehist-load): Check existence of start-itimer rather than XEmacs. + Use an idle timer. + (savehist-process-for-saving): Replace use of CL funs `subseq' and + `delete-if-not'. + +2005-10-16 Hrvoje Niksic + + * savehist.el: Newer version. + (savehist-autosave-interval, savehist-coding-system, savehist-timer) + (savehist-last-checksum, savehist-no-conversion): New vars. + (savehist-autosave, savehist-process-for-saving, savehist-printable): + New functions. + (savehist-load, savehist-save): Use them. + (savehist-delimit): Remove. + +2005-10-16 Stefan Monnier + + * progmodes/compile.el (compilation-goto-locus): Display the + compilation buffer first and the source buffer second, in case they're + in overlapping frames. Don't raise the compilation frame if it was the + selected window upon entry. Pass the `other-window' arg to + pop-to-buffer. + + * info.el (Info-fontify-node): Use dolist. + Change add-text-properties to put-text-property. + +2005-10-16 Roland Winkler + + * textmodes/bibtex.el (bibtex-font-lock-url): Catch when point past + bound of search. + +2005-10-16 Masatake YAMATO + + * dabbrev.el (dabbrev-completion): Pass the common + prefix substring of completion to `display-completion-list'. + + * filecache.el (file-cache-minibuffer-complete) + (file-cache-complete): Ditto. + + * tempo.el (tempo-display-completions): Ditto. + + * wid-edit.el (widget-file-complete, widget-color-complete): Ditto. + + * emacs-lisp/lisp.el (lisp-complete-symbol): Ditto. + + * eshell/em-hist.el (eshell-list-history): Ditto. + + * mail/mailabbrev.el (mail-abbrev-complete-alias): Ditto. + + * mail/mailalias.el (mail-complete): Ditto. + + * progmodes/etags.el (complete-tag): Ditto. + + * progmodes/make-mode.el (makefile-complete): Ditto. + + * progmodes/meta-mode.el (meta-complete-symbol): Ditto. + + * progmodes/octave-mod.el (octave-complete-symbol): Ditto. + + * progmodes/pascal.el (pascal-complete-word) + (pascal-show-completions): Ditto. + + * textmodes/bibtex.el (bibtex-complete-internal): Ditto. + + * simple.el (completion-common-substring): New variable. + (completion-setup-function): Use `completion-common-substring' + to put faces. + +2005-10-16 YAMAMOTO Mitsuharu + + * term/mac-win.el: Apply 2005-10-09 change for term/x-win.el. + (x-get-selection, mac-select-convert-to-string): Convert from/to + UTF-16 clipboard data as in native byte order, no BOM. + +2005-10-16 Nick Roberts + + * progmodes/gud.el (gud-tool-bar-map): Rename the images + appropriately (gud/next, gud/nexti, gud/step, gud/stepi). + (gud-sentinel): Use speedbar-frame to check for speedbar. + +2005-10-15 Richard M. Stallman + + * savehist.el: New file. + +2005-10-14 Karl Chen + + * textmodes/tex-mode.el (tex-font-lock-keywords-2): + Fix bug in \bf fontification. + +2005-10-15 Stefan Monnier + + * pcvs.el (cvs-edit-log-files): New var. + (cvs-mode-edit-log): New arg `file'. + (cvs-edit-log-minor-wrap): Don't set the ignore-marks property. + Instead force the use of the original file and nothing else. + (cvs-edit-log-filelist): Don't use the cvs-mode-* function unless + the cvs-minor-wrap-function is set. + (cvs-do-edit-log): Obey the vars set in cvs-edit-log-minor-wrap. + +2005-10-14 Bill Wohler + + * toolbar/gud-break.*: Moved to etc/images/gud/break.*. + * toolbar/gud-cont.*: Moved to etc/images/gud/cont.*. + * toolbar/gud-down.*: Moved to etc/images/gud/down.*. + * toolbar/gud-finish.*: Moved to etc/images/gud/finish.*. + * toolbar/gud-ni.*: Moved to etc/images/gud/ni.*. + * toolbar/gud-n.*: Moved to etc/images/gud/n.*. + * toolbar/gud-print.*: Moved to etc/images/gud/print.*. + * toolbar/gud-pstar.*: Moved to etc/images/gud/pstar.*. + * toolbar/gud-remove.*: Moved to etc/images/gud/remove.*. + * toolbar/gud-run.*: Moved to etc/images/gud/run.*. + * toolbar/gud-si.*: Moved to etc/images/gud/si.*. + * toolbar/gud-s.*: Moved to etc/images/gud/s.*. + * toolbar/gud-until.*: Moved to etc/images/gud/until.*. + * toolbar/gud-up.*: Moved to etc/images/gud/up.*. + * toolbar/gud-watch.*: Moved to etc/images/gud/watch.*. + + * progmodes/gud.el (gud-tool-bar-map): Rename the images + appropriately (for example, gud-break to gud/break). + +2005-10-14 Chong Yidong + + * longlines.el (longlinges-search-function) + (longlines-search-forward, longlines-search-backward): New functions. + (longlines-mode): Set isearch-search-fun-function to + longlinges-search-function. + + * mouse.el (mouse-drag-region-1): Handle the case where a + double-click event is bound to an arbitrary function. + +2005-10-14 David Ponce + + * recentf.el (recentf-track-opened-file) + (recentf-track-closed-file, recentf-update-menu) + (recentf-used-hooks, recentf-enabled-p): Move before dialog stuff. + (recentf-dialog-mode-map): Map follow-link to RET, so dialogs obey + mouse-1-click-follows-link. + +2005-10-13 Jan Dj,Ad(Brv + + * toolbar/diropen.xpm, toolbar/diropen.pbm: New versions made from + Gnome file-manager.png. Suggested by + Joachim Nilsson . + + * toolbar/README: Add diropen.xpm. + +2005-10-13 Bill Wohler + + * makefile.w32-in (MH_E_SRC): Rename from MH-E-SRC per NMAKE + restrictions. Suggested by David Robinow . + +2005-10-13 Stefan Monnier + + * progmodes/mixal-mode.el (mixal-operation-codes-alist): + Don't waste the byte-compiler's time on constant data. + +2005-10-13 Kenichi Handa + + * international/utf-8.el (utf-8-compose): Display an invalid UTF-8 + byte with `escape-glyph' face. + + * international/fontset.el (ccl-encode-unicode-font): + Lookup utf-subst-table-for-encode, not ucs-mule-cjk-to-unicode. + Handle the case that ucs-mule-to-mule-unicode translates a character to + ASCII (usually for IPA characters). + +2005-10-12 Stefan Monnier + + * info.el (Info-fontify-node): Don't be fooled by a lone "...". + Don't hide the underline of titles if font-lock-mode is disabled. + +2005-10-12 Bill Wohler + + * makefile.w32-in (MH-E-SRC): New. Used by mh-autoloads. + (mh-autoloads): New. Builds mh-e/mh-loaddefs.el. Rebuilds if any + files in MH-E-SRC have been updated. + (updates, compile, recompile, bootstrap): Depend on mh-autoloads. + +2005-10-12 Stefan Monnier + + * progmodes/mixal-mode.el (mixal-operation-codes): Remove. + (mixal-mode-syntax-table): Add \n as end-comment. + (mixal-operation-codes-alist): Immediately initialize to full value. + (mixal-add-operation-code): Remove. + (mixal-describe-operation-code): Make the arg non-optional. + Use the interactive spec instead. + Use mixal-operation-codes-alist rather than mixal-operation-codes. + (mixal-font-lock-keywords): Don't highlight comments here any more. + (mixal-font-lock-syntactic-keywords): New var. + (mixal-mode): Use it. Fix comment-start-skip. + +2005-10-12 Jan Dj,Ad(Brv + + * startup.el (command-line-x-option-alist): -nb => -nbi. + +2005-10-12 Kim F. Storm + + * startup.el (fancy-splash-default-action): Discard mouse click in + the splash screen window, as it has no sensible meaning in the + next window to be selected. Fixes error reported by Jan D. + +2005-10-12 Reiner Steib + + * desktop.el (desktop-load-file): Do nothing when FUNCTION is nil. + +2005-10-11 Stefan Monnier + + * progmodes/mixal-mode.el: Sync with version in the GNU MDK project. + Try to fix up minor layout issues like indentation, line break, etc... + (mixal-mode-syntax-table): Don't try to specify comment syntax, + because it doesn't work. + (mixal-operation-codes): Add some more codes. + (mixal-font-lock-keywords): Process comments here. + (mixal-mode): mixasm no longer needs -g option. + +2005-10-11 Sven Joachim (tiny change) + + * progmodes/sh-script.el (sh-tmp-file): + Use mktemp -t. Finish support for es and rc shells. + +2005-10-11 Jay Belanger + + * calc/calcalg2.el (calc-integral): With an argument, compute the + definite integral. + +2005-10-11 Chong Yidong + + * mouse.el (mouse-drag-region-1): Don't try to catch a + double-click when doing follow-link (it's overridden anyway). + +2005-10-11 Juanma Barranquero + + * emacs-lisp/autoload.el (update-directory-autoloads): Doc fix. + (autoload-print-form-outbuf): Add docstring. + +2005-10-11 Juri Linkov + + * info.el (Info-mode-menu): Delete menu item "Edit". + (Info-mode): Delete description of Info-edit from docstring, + and rearrange descriptions of Info commands in the order + they are documented in the Info manual. + +2005-10-11 Stefan Monnier + + * calendar/appt.el (appt-check): Use diary-selective-display var. + +2005-10-10 Richard M. Stallman + + * net/newsticker.el (newsticker-start, newsticker-show-news): + Add autoload cookies. + +2005-10-10 Emanuele Giaquinta + + * progmodes/sh-script.el (sh-tmp-file): Use mktemp. + +2005-10-10 Karl Chen + + * jka-cmpr-hook.el (jka-compr-handler): Fix typo in `operations' prop. + +2005-10-10 Jay Belanger + + * calc/calc-arith.el (math-check-known-scalarp) + (math-check-known-matrixp): Check the values of arguments that are + variables. + (math-check-known-square-matrixp): New function. + (math-known-square-matrixp): Use math-check-known-square-matrixp. + (math-super-types): Add sqmatrix type. + + * calc/calc-mode.el (calc-matrix-mode, math-get-modes-vec): Change the + mode name `square' to `sqmatrix'. + + * calc/calc.el (calc-matrix-mode, calc-set-mode-line): Change the + mode name `square' to `sqmatrix'. + +2005-10-10 Stefan Monnier + + * progmodes/etags.el (select-tags-table-mode): Don't use + selective-display. + (tags-select-tags-table): Pass `button' to the action function. + (select-tags-table): Place the side-info on button properties rather + than in hidden text. Abbreviate file names. + (select-tags-table-mode-map): Inherit rather than copy buttom-map. + (select-tags-table-select): Add `button' argument. + Get side-info from the button property rather than from hidden text. + +2005-10-11 Nick Roberts + + * progmodes/gud.el (gud-install-speedbar-variables): Add more bindings. + (gud-speedbar-buttons): Preserve point if possible. + (gud-sentinel): Restore previous speedbar display type. + + * progmodes/gdb-ui.el (gdba): Improve diagram. + (def-gdb-auto-update-handler, gdb-info-locals-handler) + (gdb-put-breakpoint-icon, gdb-remove-breakpoint-icons): + Call get-buffer-window once. + +2005-10-10 Stefan Monnier + + * progmodes/pascal.el (pascal-mode-map): Move init into declaration. + (pascal-mode-syntax-table): Make (* *) markers same class as { ... }. + (pascal-indent-command): Remove unused var `ind'. + (pascal-indent-case): Remove unused var `oldpos'. + (pascal-outline-map): Don't inherit from pascal-mode-map anymore, + since it's now used as a proper minor mode map. + (pascal-outline): Rename to pascal-outline-mode. + (pascal-outline-mode): Use define-minor-mode. + (pascal-outline-mode, pascal-outline-change): Use overlays rather than + selective-display. + +2005-10-10 Andreas Schwab + + * textmodes/tex-mode.el (tex-font-lock-keywords-2): Adjust match + number. Reported by Karl Chen . + + * Makefile.in ($(lisp)/mh-e/mh-loaddefs.el): Fix for building + outside source directory. + +2005-10-10 Carsten Dominik + + * textmodes/org.el (org-mode-map): Explicit definition of `C-c + C-x' as a prefix. + (orgtbl-mode-map): Full keymap instead of sparse, because all + `self-insert-command' keys are redefined in this map. + (org-export-as-html): Specify charset for HTML file, by taking it + from the coding system. + +2005-10-10 Kenichi Handa + + * textmodes/flyspell.el (flyspell-check-word-p): + If unread-command-events is non-empty, don't call sit-for. + +2005-10-09 Richard M. Stallman + + * font-lock.el (font-lock-syntactic-keywords) + (font-lock-keywords): Doc fixes. + + * textmodes/flyspell.el (flyspell-external-point-words): + Simplify logic, and don't try to check for consecutive appearances + of one incorrect word. + +2005-10-10 Nick Roberts + + * speedbar.el (speedbar-buffer-easymenu-definition): Add menu + separator. + + * progmodes/gud.el (gud-last-speedbar-buffer): Remove. + (gud-install-speedbar-variables): Add GUD to speedbar "Displays" list. + (gud-expansion-speedbar-buttons): New function. + (gud-speedbar-buttons): Check for gud-comint-buffer. + +2005-10-09 Bill Wohler + + * Makefile.in (updates): Add mh-loaddefs dependency. + +2005-10-09 Chong Yidong + + * speedbar.el (speedbar-file-key-map): Fix typo. + +2005-10-09 Daniel Brockman + + * cus-start.el (line-spacing): Add custom spec. + +2005-10-09 Romain Francoise + + * textmodes/ispell.el (ispell-check-version): Fix last change. + +2005-10-09 Jan Dj,Ad(Brv + + * term/x-win.el: Remove -i, --icon-type from comment. + + * startup.el (command-line-x-option-alist): Remove options -i, + -itype, --icon-type, added -nb, --no-bitmap-icon. + +2005-10-09 Nick Roberts + + * progmodes/gud.el (gud-speedbar-menu-items): Use :visible + instead of :active. + +2005-10-08 Eric Hanchrow (tiny change) + + * textmodes/ispell.el (ispell-check-version): + Ignore hyphen, and all that follows, in aspell's version text. + +2005-10-08 Jay Belanger + + * calc/calc-arith.el (math-known-square-matrixp): New function. + (math-pow-fancy): Check for matrices before distributing exponent + across products. + + * calc/calc-keypd.el (calc-do-keypad): Widen keypad window for + fullscreen keypad. Suggested by Luc Teirlinck. + (calc-keypad-show-input): Add space for formatting. + + * calc/calc-mode.el (calc-matrix-mode, math-get-modes-vec): + Add square matrix option. + + * calc/calc-poly.el (math-expand-term): Check for matrices instead + of checking calc-matrix-mode when deciding how to expand. + + * calc/calc.el (calc-set-mode-line): Add square matrix option. + +2005-10-08 Lars Hansen + + * net/tramp.el (tramp-perl-directory-files-and-attributes): + Add error handling. + (tramp-handle-directory-files-and-attributes): Handle perl error msg. + +2005-10-08 Michael Albinus + + Sync with Tramp 2.0.51. + + * net/tramp.el (tramp-handle-set-visited-file-modtime) + (tramp-handle-insert-file-contents, tramp-handle-write-region): + Insert special handling for `last-coding-system-used', again + it still seems to be necessary (unlike stated before). + Reported by Toshinori Sugita . + (tramp-password-prompt-regexp): There might be other words before + trailing ":". Reported by Kurt Steinkraus . + (tramp-chunksize): Improve docstring. + (tramp-set-auto-save-file-modes): Octal integer code #o600 breaks + Emacs 20. Use `tramp-octal-to-decimal' therefore. Reported by + Christian Joergensen . + +2005-10-07 Glenn Morris + + * progmodes/f90.el (f90-keywords-re, f90-mode): Doc fix. + (f90-font-lock-keywords-2, f90-mode-abbrev-table): Add `double + precision'. + +2005-10-07 Romain Francoise + + * ibuf-ext.el (ibuffer-do-shell-command-pipe) + (ibuffer-do-shell-command-pipe-replace) + (ibuffer-do-shell-command-file, ibuffer-do-eval) + (ibuffer-do-view-and-eval, ibuffer-do-rename-uniquely) + (ibuffer-do-revert, ibuffer-do-replace-regexp) + (ibuffer-do-query-replace, ibuffer-do-query-replace-regexp) + (ibuffer-do-print, ibuffer-filter-by-mode, ibuffer-filter-by-used-mode) + (ibuffer-filter-by-name, ibuffer-filter-by-filename) + (ibuffer-filter-by-size-gt, ibuffer-filter-by-size-lt) + (ibuffer-filter-by-content, ibuffer-filter-by-predicate) + (ibuffer-do-sort-by-major-mode, ibuffer-do-sort-by-mode-name) + (ibuffer-do-sort-by-alphabetic, ibuffer-do-sort-by-size): + Autoload file sans suffix. + + * emulation/cua-base.el (cua-toggle-global-mark): Likewise. + +2005-10-07 David Ponce + + * recentf.el (recentf-menu-open-all-flag): New option. + (recentf-digit-shortcut-command-name): New function. + (recentf--shortcuts-keymap): New variable. + (recentf-menu-shortcuts): New variable. + (recentf-make-menu-items): Initialize it. Replace the "More..." + menu item by "All...", if `recentf-menu-open-all-flag' is non-nil. + (recentf-menu-value-shortcut): New function. + (recentf-make-menu-item): Use it. No more in-lined. + (recentf-dialog-mode-map): Base on `recentf--shortcuts-keymap'. + (recentf-open-most-recent-file): Rename from + `recentf-open-file-with-key'. Don't depend on key binding. + (recentf-mode-map): New variable. + (recentf-mode): Use it. + +2005-10-06 Bill Wohler + + * mh-e/mh-loaddefs.el: Remove. Now generated automatically. + + * Makefile.in (AUTOGENEL): Add mh-e/mh-loaddefs.el. + (MH-E-SRC): New. Used by mh-autoloads. + (mh-autoloads): New. Builds mh-e/mh-loaddefs.el. Rebuilds if any + files in MH-E-SRC have been updated. + (compile, recompile, bootstrap): Depend on mh-autoloads. + +2005-10-07 Nick Roberts + + * progmodes/gud.el (gud-menu-map): Only display un-intuitive + gud-break and gud-remove icons when the fringe is not available. + + * progmodes/gdb-ui.el (gdb-fringe-width -> gdb-buffer-fringe-width): + Typo. + +2005-10-06 Micha,Ak(Bl Cadilhac + + * play/zone.el (zone): Wrap body with save-window-excursion. + +2005-10-06 Stefan Monnier + + * calendar/cal-menu.el (calendar-mouse-view-diary-entries): + Use the new `list-only' arg to diary-list-entries. + + * calendar/diary-lib.el: Use overlays rather than selective-display. + (diary-selective-display): New var. + (diary-header-line-format): Use it. + (diary-list-entries): Add argument `list-only'. + Put the buffer in diary-mode. Don't add \^M at beg and end. + Replace \^M by invisible overlays. + (diary-unhide-everything): Replace \^M by invisible overlays. + (print-diary-entries): Look for overlays rather than \^M. + Add a space to the temp buffer name. + (diary-show-all-entries, mark-diary-entries, make-diary-entry): + Put the buffer in diary-mode. + (list-sexp-diary-entries): Replace \^M by invisible overlays. + (diary-anniversary): Make the year arg optional. + (diary-time-regexp): New const. + (diary-font-lock-keywords): Use it to accept a few more time formats. + + * pcvs.el (cvs-sentinel): Make sure we do re-enable undo. + +2005-10-06 Thien-Thi Nguyen + + * textmodes/artist.el (artist-ellipse-mirror-quadrant): + Fix bug introduced 2005-07-03: Use (car (last ...)) + to faithfully reproduce replaced artist-last. + (artist-set-arrow-points-for-poly): Likewise. + Suggested by Johan Bockg,Ae(Brd. + +2005-10-06 Juanma Barranquero + + * dframe.el (x-pointer-hand2, x-pointer-top-left-arrow): + * wid-edit.el (widget): + * progmodes/gdb-ui.el (gdb-buffer-fringe-width): + * progmodes/vhdl-mode.el (speedbar-attached-frame): Add defvars. + +2005-10-06 Kenichi Handa + + * international/mule-cmds.el (set-language-environment): + Fix setting up of case-table for unibyte mode. + + * simple.el (what-cursor-position): If the character is displayed + by some `display' text property, show that. Don't use + single-key-description for eight-bit characters in multibyte mode. + +2005-10-06 Nick Roberts + + * progmodes/gdb-ui.el (gdb-fringe-width): New variable. + (gdb-ann3): Set it. + (gdb-put-breakpoint-icon): Don't take fringe-width from speedbar frame. + (gdb-info-frames-custom): Use inverse-video for first five + characters of selected frame only. + (gdb-get-frame-number): Select frame even when point is on frame + number. + +2005-10-06 Masatake YAMATO + + * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): + Put `font-lock-function-name-face'. + (gdb-info-frames-custom): Put `font-lock-function-name-face' + and `font-lock-variable-name-face' + (gdb-registers-font-lock-keywords): New font lock keywords definition. + (gdb-registers-mode): Use `gdb-registers-font-lock-keywords'. + (gdb-memory-font-lock-keywords): New font lock keywords definition. + (gdb-memory-mode): Use `gdb-memory-font-lock-keywords'. + (gdb-local-font-lock-keywords): New font lock keywords definition. + (gdb-locals-mode): Use `gdb-local-font-lock-keywords' + (gdb-threads-font-lock-keywords): New font lock keywords definition. + (gdb-threads-mode): Use `gdb-threads-font-lock-keywords'. + +2005-10-05 Michael Kifer + + * ediff-merge.el (ediff-merge-region-is-non-clash): New defsubst. + (ediff-merge-region-is-non-clash-to-skip): Previously called + ediff-merge-region-is-non-clash. + + * ediff-mult.el (ediff-append-custom-diff, ediff-meta-show-patch): + Use insert-buffer-substring. + + * ediff-ptch.el (ediff-fixup-patch-map): Use better heuristics for + selecting files to patch. Also bug fixes. + + * ediff-util.el (ediff-setup): Bug fix. + (ediff-next-difference): Never skip clashes that differ in white + space only. + + * ediff-wind.el (ediff-setup-control-frame) + (ediff-destroy-control-frame): Check the menubar feature. + - * viper-cmd.el (viper-normalize-minor-mode-map-alist) ++ * emulation/viper-cmd.el (viper-normalize-minor-mode-map-alist) + (viper-refresh-mode-line): Use make-local-variable to localize + some vars instead of make-variable-buffer-local. Suggested by + Stefan Monnier. + - * viper-init.el (viper-make-variable-buffer-local): Delete alias. ++ * emulation/viper-init.el (viper-make-variable-buffer-local): ++ Delete alias. + (viper-restore-cursor-type, viper-set-insert-cursor-type): + Use make-local-variable instead of make-variable-buffer-local. + Suggested by Stefan Monnier. + - * viper.el (viper-mode): Don't use viper-make-variable-buffer-local. ++ * emulation/viper.el (viper-mode): Don't use ++ viper-make-variable-buffer-local. + (viper-comint-mode-hook): Use make-local-variable on + require-final-newline. + (viper-non-hook-settings): Don't use make-variable-buffer-local. + +2005-10-05 Stefan Monnier + + * progmodes/scheme.el (scheme-mode-syntax-table): Mark ; as being + also the second char of a comment-start sequence. + (scheme-sexp-comment-syntax-table): New var. + (lambda, define): Set their scheme-doc-string-elt property. + (scheme-font-lock-syntactic-face-function): Handle sexp-comments. + Use lisp-font-lock-syntactic-face-function now that it properly + handles |...| symbols. + (scheme-mode-variables): Set lisp-doc-string-elt-property, + parse-sexp-lookup-properties and font-lock-extra-managed-props. + + * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Move the nesting + bit from # to |. + (lisp-font-lock-syntactic-face-function): Distinguish |...| symbols. + + * emacs-lisp/lisp-mode.el (lambda): Add its doc-string-elt property. + (lisp-doc-string-elt-property): New var. + (lisp-font-lock-syntactic-face-function): Use it. + Rewrite to recognize docstrings even for forms not at toplevel. + + * progmodes/scheme.el (scheme-mode-syntax-table): Put the nested + annotation on the | part of #| rather than on the # part. + (scheme-font-lock-syntactic-face-function): New function, to + distinguish strings from |...| symbols. + (scheme-mode-variables): Use it. Also fix up the font-lock-time + syntax-table so that #|...|# is properly highlighted. + + * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function): + Don't mark as docstring the 3rd elem of an unknown toplevel form. + +2005-10-04 Stefan Monnier + + * bindings.el (global-map): Resync [home] and [end] bindings with C-a + and C-e. + + * emacs-lisp/eldoc.el: Move comments into docstrings. + (eldoc-message-commands): Initialize in its declaration. + Add move-beginning-of-line and move-end-of-line. + (eldoc-add-command, eldoc-add-command-completions) + (eldoc-remove-command, eldoc-remove-command-completions): Simplify. + + * outline.el (outline-mark-subtree): Activate the mark. + + * calendar/appt.el (appt-time-regexp): New var. + (appt-add, appt-make-list): Use it. + (appt-convert-time): Clean up. + + * textmodes/tex-mode.el (tex-font-lock-syntactic-face-function): + Don't set any syntax-table property here. + (tex-font-lock-verb): New function. Do it here. + (tex-font-lock-syntactic-keywords): Use it. + +2005-10-04 Richard M. Stallman + + * wid-edit.el (widget-file-complete): Get the widget start point + the right way. Default directory to `/' if file has none. + + * x-dnd.el (x-dnd-drop-data): Check for dedicated windows. + + * textmodes/flyspell.el (flyspell-mode-on): + Call ispell-maybe-find-aspell-dictionaries. + + * textmodes/ispell.el (ispell-word, ispell-region): + Call ispell-maybe-find-aspell-dictionaries. + (ispell-accept-buffer-local-defs): + Don't call ispell-maybe-find-aspell-dictionaries. + +2005-10-04 Richard M. Stallman + + * iswitchb.el (iswitchb-buffer-ignore): Label it risky. + +2005-10-04 Emilio C. Lopes + + * iswitchb.el (iswitchb-ignore-buffername-p): Use `functionp' + instead of `fboundp' in order to allow for anonymous functions. + +2005-10-04 Chong Yidong + + * info.el (Info-next, Info-prev, Info-up): Select info buffer, in + case the user clicks on the link while another window is selected. + (Info-speedbar-hierarchy-buttons): Use speedbar-current-frame. + + * dframe.el (dframe-update-keymap): Use mouse-1-click-follows-link + functionality. + (dframe-help-echo): Save point in case mouse tracking is off. + +2005-10-04 Thien-Thi Nguyen + + * net/ange-ftp.el (ange-ftp-ls): Fix typo introduced in last change. + +2005-10-03 Stefan Monnier + + * progmodes/cc-styles.el (c-setup-paragraph-variables): Make sure we do + not change the global value of those vars. + + * progmodes/cc-mode.el (c-basic-common-init): Remove calls to + make-local-variable which we do not need any more. + +2005-10-03 Chong Yidong + + * speedbar.el (speedbar-ignored-path-regexp, speedbar-line-path) + (speedbar-ignored-path-expressions, speedbar-buffers-line-path) + (speedbar-add-ignored-path-regexp, speedbar-buffers-line-path) + (speedbar-path-line): Define obsolete aliases. + (speedbar-line-directory): Doc fix. + + * progmodes/vhdl-mode.el (vhdl-speedbar-initialize) + (vhdl-speedbar-rescan-hierarchy): Call speedbar-line-directory + instead of speedbar-line-path. + +2005-10-03 Jan Dj,Ad(Brv + + * x-dnd.el (x-dnd-drop-data): Don't set dnd-open-file-other-window + to nil if dropping on a window. Handle dropping on a minibuffer window + like dropping on a non-window part of Emacs. + +2005-10-03 Stefan Monnier + + * net/ange-ftp.el: Use with-current-buffer. + (ange-ftp-insert-directory): Do not follow symlinks any more. + + * textmodes/ispell.el (ispell-find-aspell-dictionaries): + Remove interactive spec. + +2005-10-03 Kim F. Storm + + * ido.el (ido-mode): Use custom-initialize-set. + +2005-10-02 Richard M. Stallman + + * progmodes/ebnf2ps.el (ebnf-eps-production-list): + Use insert-buffer-substring. + + * net/tramp.el: Pacify byte compiler warnings in pacification code. + (tramp-handle-file-local-copy): Use insert-buffer-substring. + +2005-10-02 Stefan Monnier + + * net/ange-ftp.el (ange-ftp-insert-directory): Undo unintended part + in last change. + (ange-ftp-insert-directory): Fix up the search for the case where + `file' is absolute. + +2005-10-02 Romain Francoise + + * progmodes/compile.el (compile-goto-error): Delete extra paren. + +2005-10-02 Andreas Schwab + + * ediff-ptch.el (ediff-fixup-patch-map): Handle file names without + directory component in the session info. + +2005-10-01 Richard M. Stallman + + * comint.el (comint-redirect-subvert-readonly): Doc fix. + + * simple.el (next-error-internal): New function. + + * progmodes/compile.el (compilation-buffer-name): New arg MODE-COMMAND. + (compilation-start): Pass new arg to compilation-buffer-name. + (compile-goto-error): Use next-error-internal. + +2005-10-01 Chong Yidong + + * speedbar.el: Remove RCS tag. + (speedbar-check-read-only): Handle non-existent files. + + * dframe.el, ezimage.el, sb-image.el: Remove RCS tags. + + * info.el (Info-speedbar-hierarchy-buttons) + (Info-speedbar-goto-node): Call speedbar-select-attached-frame. + +2005-10-01 Roland Winkler + + * textmodes/bibtex.el (bibtex-valid-entry-whitespace-re): + Do not match newline. + (bibtex-realign): Do not use bibtex-valid-entry-whitespace-re. + (bibtex-summary): Remove unnecessary save-excursion. + (bibtex-fill-field-bounds): Use fill-region-as-paragraph. + +2005-10-01 YAMAMOTO Mitsuharu + + * term/mac-win.el: Add charset info for "iso10646-1". + Modify default fontset to use ATSUI-compatible fonts for some charsets + if available. + +2005-10-01 Chong Yidong + + * speedbar.el: Re-apply arch tag. + (speedbar-version): Rename to version 1.0. Suggested by Eric + M. Ludlam. + Reapply two changes from Emacs CVS' version of speedbar lost + during the merge: + (speedbar-use-imenu-flag): Avoid unnecessary use of locate-library. + (speedbar-frame-parameters): Improve customize type. + +2005-09-30 Stefan Monnier + + * net/ange-ftp.el (ange-ftp-gwp-start): Use with-current-buffer. + (ange-ftp-file-directory-p): Fix the symlink case. + (ange-ftp-insert-directory): When listing a single file, get a list of + the parent buffer and extract the relevant line. Inspired from a patch + by Katsumi Yamaoka . + (ange-ftp-file-name-sans-versions): Simplify. + +2005-09-30 Bill Wohler + + Move MH-E image files from toolbar and mail directories into + etc/images. + + * mail/reply2.*: Move to etc/images/mail/reply*. + + * toolbar/execute.*, toolbar/highlight.*, toolbar/mh-logo.xpm: + * toolbar/page-down.*, toolbar/show.*, toolbar/widen.*: Move to + etc/images. + + * toolbar/alias.*, toolbar/refile.*, toolbar/repack.*: + * toolbar/reply*: Move to etc/images/mail. + + * toolbar/rescan.*: Move and rename to etc/images/refresh.*. + +2005-09-30 Eric M. Ludlam + + * speedbar.el: New version 1.0pre3. + + Frame management code (including timer, and mouse click specifics) + moved to dframe.el: + (speedbar-attached-frame): Removed. Use dframe-attached-frame. + (speedbar-timer): Removed. Use dframe-timer. + (speedbar-close-frame): Removed. Use dframe-close-frame. + (speedbar-activity-change-focus-flag): Removed. Use + dframe-activity-change-focus-flag. + (speedbar-update-speed, speedbar-navigating-speed): Obsolete. Use + dframe-update-speed. + + (speedbar-current-frame): New macro. Use this instead of the + variable speedbar-frame. + + (speedbar-use-images, speedbar-expand-image-button-alist) + (speedbar-insert-image-button-maybe): Moved to sb-image.el. + + (speedbar-find-image-on-load-path): Removed. Replaced by + defezimage in ezimage.el. + (speedbar-expand-image-button-alist): Removed. Replaced by + ezimage-expand-image-button-alist in ezimage.el. + + (speedbar-ignored-directory-regexp) + (speedbar-add-ignored-directory-regexp) + (speedbar-ignored-directory-expressions) + (speedbar-line-directory, speedbar-buffers-line-directory) + (speedbar-directory-line, speedbar-buffers-line-directory): + Renamed, replacing `path' with `directory'. + + (speedbar-create-directory, speedbar-expand-line-descendants) + (speedbar-toggle-line-expansion) + (speedbar-contract-line-descendants): New commands. + + (speedbar-query-confirmation-method, speedbar-select-frame-method) + (speedbar-use-tool-tips-flag): New options. + + (speedbar-check-read-only, speedbar-require-version) + (speedbar-insert-separator, speedbar-buffers-tail-notes) + (speedbar-handle-delete-frame, speedbar-try-completion) + (speedbar-update-localized-contents): New functions. + + (speedbar-incompatible-version, speedbar-ro-to-do-point) + (speedbar-object-read-only-indicator): New variables. + + (speedbar-visiting-tag-hook, speedbar-before-visiting-file-hook): + New hooks. + + (speedbar-separator-face): New face. + + (speedbar-supported-extension-expressions): Add `.g' and `.ma?k'. + (speedbar-ignored-modes): Add fundamental-mode. + (speedbar-directory-unshown-regexp): Add . directories. + + (speedbar-key-map): Remove old SPC and DEL page up/down keys. + (speedbar-file-key-map): Add SPC to toggle node expansion, `[' and + `]' for full expand/close. + (speedbar-buffers-key-map): Add SPC to toggle node expansion. + + (speedbar-check-vc): Support hidden files. + (speedbar-vc-check-dir-p): Use vc-state if available for CVS. + (speedbar-this-file-in-vc): Use vc-state if available. If VC + state is nil, it is not checked out. + + (speedbar-line-text, speedbar-line-token): Support expand buttons + with no text. + (speedbar-refresh): Universal argument acts as power-click. + (speedbar-fetch-dynamic-tags): If a buffer is in Emacs, switch to + that buffer to get variable values. + + And many other bugfixes. + + * dframe.el, ezimage.el, sb-image.el: New files. + + * sb-*.xpm: Remove files. New image files installed into + etc/images/ezimage. + +2005-09-30 Kenichi Handa + + * ps-mule.el (ps-mule-show-warning): If a character is in + ps-print-translation-table, don't treat it as non-printable. + +2005-09-30 David Ponce + + * tree-widget.el (tree-widget-themes-load-path): New variable. + (tree-widget-themes-directory): Doc fix. + (tree-widget-image-formats) [Emacs]: Doc fix. + (tree-widget--locate-sub-directory): New function. + (tree-widget-themes-directory): Use it. + + * recentf.el (recentf-filename-handlers): Rename from + `recentf-filename-handler'. Allow a list of functions. + (recentf-menu-items-for-commands): Fix :help strings. + (recentf-apply-filename-handlers): New function. + (recentf-expand-file-name): Use it. + (recentf-cleanup): Remove duplicates too. + +2005-09-29 Juri Linkov + + * faces.el: Rearrange face definitions to be in the same order as + their face descriptions in "(emacs)Standard Faces". + + * isearch.el (isearch, lazy-highlight): Add group `basic-faces'. + + * tooltip.el (tooltip): Add group `basic-faces'. + + * buff-menu.el (Buffer-menu-buffer): Remove group + `font-lock-highlighting-faces'. + + * progmodes/compile.el (compilation-error, compilation-warning) + (compilation-info, compilation-line-number, compilation-column-number): + Change group from `font-lock-highlighting-faces' to `compilation'. + + * progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face) + (vhdl-font-lock-attribute-face, vhdl-font-lock-enumvalue-face) + (vhdl-font-lock-function-face, vhdl-font-lock-directive-face) + (vhdl-font-lock-reserved-words-face) + (vhdl-font-lock-translate-off-face, syntax-alist): Remove group + `font-lock-highlighting-faces'. + + * cus-edit.el (custom-buffer-sort-alphabetically): Default to nil. + +2005-09-28 Kim F. Storm + + * emulation/cua-base.el: Set CUA move property on additional commands: + up-list, down-list, backward-up-list, end-of-defun beginning-of-defun, + forward-sexp, backward-sexp, forward-list, backward-list. + +2005-09-28 Romain Francoise + + * comint.el (comint-show-output): Really set point at the + beginning of the output when not using `comint-use-prompt-regexp'. + +2005-09-27 Jay Belanger + + * calc/calc-lang.el (math-oper-table): Raise the precedence of "/" + in TeX mode. + +2005-09-26 Juanma Barranquero + + * textmodes/org.el (org-table-sum): Fix format string. + + * textmodes/tex-mode.el (tex-insert-quote, latex-indent): + Quote face names. + +2005-09-26 Romain Francoise + + * isearch.el (isearch-forward-regexp): Close doc string. + +2005-09-25 Richard M. Stallman + + * simple.el (blink-matching-open): Don't no-op when point is BEGV+1. + + * isearch.el (isearch-forward, isearch-forward-regexp): Doc fixes. + + * progmodes/compile.el (compilation-error-properties): + When getting the file from the previous error message, + correctly decode the new data format. + + * progmodes/cc-cmds.el (c-electric-paren): + Call old-blink-paren only for close-paren. + +2005-09-24 Andreas Schwab + + * term/rxvt.el (rxvt-register-default-colors): Delete redundant + condition. + +2005-09-25 Romain Francoise + + * dired-aux.el (dired-copy-file-recursive): + * dired.el (dired-delete-file): + * ediff-mult.el (ediff-dir-diff-copy-file): + * ediff-util.el (ediff-test-save-region): + * forms.el (forms-mode): + * ido.el (ido-file-internal, ido-delete-file-at-head): + * log-edit.el (log-edit-done): + * ses.el (ses-yank-resize): + * play/gomoku.el (gomoku-human-plays, gomoku) + (gomoku-human-resigns, gomoku-prompt-for-other-game) + (gomoku-offer-a-draw): + * play/landmark.el (lm-human-resigns, lm): + * net/eudcb-ldap.el (eudc-ldap-check-base): + * play/mpuz.el (mpuz-offer-abort, mpuz-try-letter, mpuz-close-game): + * progmodes/ebrowse.el (ebrowse-find-pattern): + * progmodes/idlw-shell.el (idlwave-shell-set-bp-check): + * textmodes/reftex-index.el (reftex-index-initialize-phrases-buffer): + End `yes-or-no-p' and `y-or-n-p' prompts with question mark and space. + + * vc.el (vc-delete-file): + * play/gomoku.el (gomoku-terminate-game, gomoku) + (gomoku-prompt-for-move, gomoku-human-takes-back): + * play/landmark.el (lm-human-takes-back, lm-prompt-for-move) + (lm-start-robot, lm-human-plays): Remove extraneous spaces in messages. + +2005-09-24 Dan Nicolaescu + + * term/rxvt.el (rxvt-register-default-colors): Add support for 255 + color rxvt terminals by using the code xterm.el used to use before + 2005-04-09 in order to match the colors used by rxvt. + +2005-09-24 Emanuele Giaquinta (tiny change) + + * term/rxvt.el (rxvt-register-default-colors): Add support for 88 + colors rxvt-unicode terminals by using the same code as xterm.el. + +2005-09-24 Stefan Monnier + + * textmodes/tex-mode.el (tex-font-lock-append-prop) + (tex-font-lock-suscript, tex-insert-quote, latex-indent): Adjust to the + new symbol used for the tex-verbatim face. + +2005-09-24 Emilio C. Lopes + + * woman.el (woman-file-name): + * wid-edit.el (widget-file-prompt-value) + (widget-coding-system-prompt-value): + * w32-fns.el (set-w32-system-coding-system): + * vc.el (vc-version-diff, vc-annotate): + * textmodes/reftex-auc.el (reftex-arg-cite) + (reftex-arg-index-tag): + * textmodes/refer.el (refer-get-bib-files): + * textmodes/artist.el (artist-figlet-choose-font): + * terminal.el (terminal-emulator): + * replace.el (occur-read-primary-args): + * rect.el (string-rectangle, string-insert-rectangle): + * ps-print.el (ps-print-preprint): + * progmodes/pascal.el (pascal-goto-defun): + * progmodes/etags.el (visit-tags-table, visit-tags-table-buffer): + * progmodes/compile.el (compilation-find-file): + * printing.el (pr-interactive-n-up): + * play/animate.el (animate-birthday-present): + * net/rcompile.el (remote-compile): + * man.el (man, Man-goto-section, Man-follow-manual-reference): + * mail/rmailsum.el (rmail-summary-search-backward) + (rmail-summary-search): + * mail/rmailout.el (rmail-output-read-rmail-file-name) + (rmail-output-read-file-name): + * mail/rmail.el (rmail-search, rmail-search-backwards): + * mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs): + * locate.el (locate): + * international/quail.el (quail-show-keyboard-layout): + * international/mule.el (set-buffer-file-coding-system) + (revert-buffer-with-coding-system, set-file-name-coding-system) + (set-terminal-coding-system, set-keyboard-coding-system) + (set-next-selection-coding-system): + * international/mule-diag.el (describe-coding-system) + (describe-font, describe-fontset): + * international/mule-cmds.el (universal-coding-system-argument) + (search-unencodable-char, describe-input-method) + (set-language-environment, describe-language-environment): + * international/codepage.el (codepage-setup): + * international/code-pages.el (codepage-setup): + * info.el (Info-search, Info-follow-reference) + (Info-search-backward): + * emacs-lisp/advice.el (ad-read-advised-function) + (ad-read-advice-class, ad-clear-cache, ad-activate) + (ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name) + (ad-enable-advice, ad-disable-advice, ad-remove-advice) + (ad-read-regexp): + * ediff-util.el (ediff-toggle-regexp-match): + * ediff-ptch.el (ediff-prompt-for-patch-file): + * dired-aux.el (dired-diff): + * diff.el (diff): + * cus-edit.el (custom-variable-prompt): + * calendar/timeclock.el (timeclock-ask-for-project): + * calc/calcalg3.el (calc-get-fit-variables): + * calc/calc-store.el (calc-edit-variable) + (calc-permanent-variable): + * vc-mcvs.el (vc-mcvs-register): + * shadowfile.el (shadow-define-literal-group): + * woman.el (woman-file-name): + * vc.el (vc-version-diff, vc-merge): + * textmodes/reftex-index.el (reftex-index-complete-tag): + * format.el (format-decode-buffer, format-decode-region): + * emulation/viper-cmd.el (viper-read-string-with-history): + * emacs-lisp/debug.el (cancel-debug-on-entry): + * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): + * ediff.el (ediff-merge-revisions) + (ediff-merge-revisions-with-ancestor, ediff-revision): + * completion.el (interactive-completion-string-reader): + * calc/calc-prog.el (calc-user-define-formula): + Follow convention for reading with the minibuffer. + +2005-09-24 Steven Huwig (tiny change) + + * progmodes/python.el (python-describe-symbol): Add globals() and + locals() to the arguments of emacs.ehelp. + +2005-09-24 Magnus Henoch + + * textmodes/ispell.el (ispell-maybe-find-aspell-dictionaries): + New function, code extracted from ispell-valid-dictionary-list. + (ispell-valid-dictionary-list, ispell-accept-buffer-local-defs): + Call it. + +2005-09-24 Eli Zaretskii + + * subr.el (version-regexp-alist): Extend valid syntax for version + strings: allow any of the characters -,_,+ to separate the + alpha/beta/rc part from the version part. Doc fix. + (version-to-list): Doc fix. Bind case-fold-search to t, as advertised. + +2005-09-23 David Reitter + + * mail/mailclient.el: New file. + +2005-09-23 Richard M. Stallman + + * textmodes/flyspell.el (flyspell-highlight-incorrect-region) + (flyspell-incorrect-hook, flyspell-highlight-duplicate-region): + Doc fixes. + + * progmodes/cc-mode.el (c-font-lock-init): + Specify font-lock-lines-before. + +2005-09-23 Stefan Monnier + + * smerge-mode.el (smerge-remove-props): Cause re-highlighting of the + whole conflict. + +2005-09-23 Carsten Dominik + + * textmodes/org.el (org-mode-map, orgtbl-mode-map): + Move keybindings with `C-c C-h' prefix to `C-c C-x' prefix. Make use + of `remap' feature when available. Additional key bindings for + better tty support. + (org-mode-restart, org-force-self-insert): New commands. + (org-time-stamp-inactive): New command. + (org-remap): New function. + (org-table-auto-blank-field, org-level-color-stars-only): New options. + (org-enable-fixed-width-editor): Move to `org-structure' + customization group. + (org-self-insert-command, orgtbl-self-insert-command): Modify to + blank field after field motion commands. + +2005-09-23 Kenichi Handa + + * international/mule-cmds.el (set-language-environment): + Don't check utf-translate-cjk-lang-env is nil or not on deciding if we + have to call utf-translate-cjk-load-tables. + +2005-09-22 Stefan Monnier + + * mouse.el (mouse-move-drag-overlay): Fix last change. + +2005-09-22 David Ponce + + * tree-widget.el (tree-widget-value-create): Fix previous change. + +2005-09-21 Dan Nicolaescu + + * term/xterm.el (terminal-init-xterm): Fix loading rxvt at run time. + +2005-09-21 Stefan Monnier + + * mouse.el (mouse-move-drag-overlay): New function. + (mouse-drag-region-1): Use it. + Try to simplify a bit the state handling. Handle clicks on links + inside intangible areas. + (mouse-save-then-kill): Minor simplification. + (mouse-secondary-overlay): Make it always non-nil instead of + recreating it each time. + (mouse-start-secondary, mouse-set-secondary, mouse-drag-secondary) + (mouse-kill-secondary, mouse-secondary-save-then-kill): + Simplify accordingly. + +2005-09-21 Dan Nicolaescu + + * term/rxvt.el (rxvt-standard-colors): Fix some colors. + +2005-09-20 Michael Kifer + + * ediff-ptch.el (ediff-prompt-for-patch-file): More intuitive prompt. + (ediff-file-name-sans-prefix): Treat nil as an empty string. + (ediff-fixup-patch-map): Better heuristic for intuiting the file names + to patch. + + * ediff-util.el: Use insert-buffer-substring. + + * ediff-vers.el (cvs-run-ediff-on-file-descriptor): Bug fix. + + * emulation/viper-cmd.el (viper-change-state): Don't move over the + field boundaries in the minibuffer. + (viper-set-minibuffer-style): Add viper-minibuffer-post-command-hook. + (viper-minibuffer-post-command-hook): New hook. + (viper-line): Don't move cursor at bolp. + + * emulation/viper-ex.el (ex-pwd, viper-info-on-file): Fix message. + + * emulation/viper-init.el: Add alias to make-variable-buffer-local to + avoid compiler warnings. + + * emulation/viper-macs.el (ex-map): Better messages. + + * emulation/viper-utils.el (viper-beginning-of-field): New function. + + * emulation/viper.el: Replace make-variable-buffer-local with + viper-make-variable-buffer-local everywhere, to avoid warnings. + +2005-09-19 Stefan Monnier + + * mouse.el (mouse-drag-mode-line-1, mouse-drag-vertical-line): + Delete unused var `old-selected-window'. + (mouse-drag-region-1): Delete unused vars `start-frame', `end-of-range'. + (mouse-drag-secondary): Delete unused var `start-frame'. + +2005-09-19 Emanuele Giaquinta (tiny change) + + * term/rxvt.el (terminal-init-rxvt): Add entry for [end]. + +2005-09-19 Stefan Monnier + + * calendar/calendar.el (mark-visible-calendar-date): Save excursion. + Re-indent within 80 columns. Use inhibit-read-only. + +2005-09-19 Romain Francoise + + * calendar/diary-lib.el (mark-diary-entries): Revert last change. + +2005-09-19 Stefan Monnier + + * font-lock.el (font-lock-default-fontify-region): Don't add a line + unconditionally, since the after-change-function already did it. + +2005-09-19 Miles Bader + + * net/newsticker.el: Get rid of CVS keyword. + +2005-09-19 Johan Bockg,Ae(Brd + + * dired-aux.el (dired-handle-overwrite): Don't use `format' here. + The prompt is formatted later. + +2005-09-19 David Ponce + + * tree-widget.el (tree-widget-value-create): Save the converted + tree :node widget. + +2005-09-19 Juanma Barranquero + + * progmodes/sh-script.el (sh-blink): Fix spurious reference to + variable `message'. + +2005-09-18 Michael Albinus + + * net/tramp.el (tramp-login-prompt-regexp): Expand regexp in order + to cover prompts like "login as:". Reported by Slawomir Nowaczyk + . + +2005-09-18 Chong Yidong + + * image.el (image-load-path): Use symbol `data-directory' instead + of its value, for backward compatibility with packages that bind + it during `find-image'. Suggested by Katsumi Yamaoka. + (image-search-load-path): Handle symbols whose values are strings. + +2005-09-18 Romain Francoise + + * calendar/diary-lib.el (mark-diary-entries): Rearrange to wrap + with-current-buffer form in save-excursion. + +2005-09-18 Deepak Goel + + * apropos.el (apropos-command): Fix `message' call: first arg + should be a format spec. In this and all other cases that appear + below and elsewhere in the source code, I made a change only when + two conditions were satisfied: [1] I can think of a possibility + that the arguments would cause an error, for example, the code in + question relies on external variables such as filenames. [2] I + was sure that the arg to `message' could not have been nil in the code. + + * textmodes/tildify.el (tildify-region): Ditto. + + * textmodes/reftex-index.el (reftex-index-change-entry) + (reftex-index-phrase-selection-or-word, reftex-query-index-phrase): + * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite): + * textmodes/org.el (org-complete, org-deadline, org-schedule) + (org-priority, org-table-sum): + * textmodes/ispell.el (ispell-check-version, ispell-parse-output): + * textmodes/flyspell.el (flyspell-mode-on, flyspell-notify-misspell) + (flyspell-word, flyspell-display-next-corrections): + * textmodes/bibtex.el (bibtex-print-help-message): + * textmodes/artist.el (artist-key-set-point-poly): + * term/mac-win.el (mac-services-insert-text): + * progmodes/vhdl-mode.el (vhdl-warning, vhdl-print-warnings) + (vhdl-hooked-abbrev, vhdl-template-insert-fun) + (vhdl-port-paste-testbench, vhdl-compose-new-component) + (vhdl-compose-configuration): + * progmodes/sh-script.el (sh-blink, sh-show-indent) + (sh-set-indent, sh-learn-line-indent): + * progmodes/ps-mode.el (ps-mode-target-column): + * progmodes/idlwave.el (idlwave-make-tags) + (idlwave-scan-library-catalogs): + * progmodes/idlw-shell.el (idlwave-shell-parse-stack-and-display): + * progmodes/gud.el (gud-jdb-analyze-source): + * progmodes/flymake.el (flymake-log): + * progmodes/ebnf2ps.el (ebnf-generate-region): + * progmodes/cmacexp.el (c-macro-expansion): + * progmodes/ada-xref.el (ada-treat-cmd-string): + * progmodes/ada-mode.el (ada-create-case-exception-substring) + (ada-justified-indent-current, ada-batch-reformat): + * play/zone.el (zone): + * play/landmark.el (lm-move): + * play/decipher.el (decipher-show-alphabet): + * net/newsticker.el (newsticker--display-jump) + (newsticker--display-scroll): + * mail/rmail-spam-filter.el (rsf-add-subject-to-spam-list) + (rsf-add-sender-to-spam-list, rsf-add-region-to-spam-list): + * mail/feedmail.el (feedmail-dump-message-to-queue): + * eshell/esh-proc.el (eshell-remove-process-entry): + * emulation/ws-mode.el (ws-last-error): + * emulation/viper-macs.el (ex-map-read-args, ex-unmap-read-args) + (viper-record-kbd-macro): + * emulation/viper-ex.el (ex-pwd, viper-info-on-file): + * emacs-lisp/lisp-mnt.el (lm-report-bug): + * emacs-lisp/find-func.el (find-function-noselect): + * calendar/timeclock.el (timeclock-status-string) + (timeclock-workday-remaining-string, timeclock-workday-elapsed-string) + (timeclock-when-to-leave-string): + * calendar/icalendar.el (icalendar--convert-ical-to-diary): + * calc/calc-units.el (calc-enter-units-table): + * calc/calc-mode.el (calc-mode-record-mode): + * woman.el (woman-mini-help): + * wdired.el (wdired-change-to-wdired-mode): + * vc.el (vc-retrieve-snapshot): + * strokes.el (strokes-read-stroke, strokes-read-complex-stroke): + * startup.el (display-startup-echo-area-message): + * simple.el (set-goal-column): + * ses.el (ses-command-hook, ses-recalculate-cell): + * server.el (server-process-filter): + * printing.el (pr-interface-txt-print, pr-interface-printify) + (pr-interface-ps): + * pcvs.el (cvs-help): + * log-edit.el (log-edit, log-edit-mode-help): + * iswitchb.el (iswitchb-possible-new-buffer): + * isearch.el (isearch-edit-string): + * image-mode.el (image-mode, image-minor-mode): + * ibuf-macs.el (define-ibuffer-filter): + * hi-lock.el (hi-lock-find-patterns): + * files.el (toggle-read-only): + * ediff-util.el (ediff-copy-diff) + (ediff-write-merge-buffer-and-maybe-kill): + * echistory.el (Electric-history-undefined): + * dnd.el (dnd-insert-text): + * dired-aux.el (dired-query): + * desktop.el (desktop-restore-file-buffer, desktop-lazy-create-buffer): + * bookmark.el (bookmark-bmenu-locate): + * obsolete/fast-lock.el (@top-level) : + Fix `message' calls to ensure first arg is a format string. + The change was made only when these two conditions were satisfied: + [1] when there is a possibility that the arguments would cause an error + for example, if the code in question relies on external variables + such as filenames, and + [2] if the arg to `message' could not have been nil in the code. + + * pcomplete.el (pcomplete--help): Fix `message' format spec. + Not having a %s would be weird, though not technically wrong. + +2005-09-18 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-add-charset-info): Doc fix. + +2005-09-17 Romain Francoise + + * shell.el (shell-resync-dirs): Handle echoing processes more + reliably. Don't insert resync command if `comint-process-echoes' + is non-nil. + +2005-09-17 Magnus Henoch + + * textmodes/ispell.el (ispell-aspell-supports-utf8): New variable. + (ispell-check-version): Set ispell-aspell-supports-utf8 to t for + aspell versions >= 0.60. + (ispell-valid-dictionary-list): Call ispell-find-aspell-dictionaries + only if ispell-aspell-supports-utf8 is non-nil. + +2005-09-17 Johan Bockg,Ae(Brd + + * progmodes/scheme.el (scheme-mode-variables): Use setq to assign + buffer-local value to lisp-indent-function. + +2005-09-17 Milan Zamazal + + * progmodes/glasses.el (glasses-make-readable): If + glasses-separator differs from underscore, put appropriate + overlays over underscore characters. + (glasses-convert-to-unreadable): If glasses-separator differs from + underscore, try to convert glasses-separator characters to + underscores. + +2005-09-16 Stefan Monnier + + * calendar/diary-lib.el (mark-diary-entries): Don't move point. + Use with-syntax-table and dolist. + +2005-09-16 Carsten Dominik + + * textmodes/reftex-auc.el: + * textmodes/reftex-cite.el: + * textmodes/reftex-dcr.el: + * textmodes/reftex-global.el: + * textmodes/reftex-parse.el: + * textmodes/reftex-ref.el: + * textmodes/reftex-sel.el: + * textmodes/reftex-toc.el: + * textmodes/reftex-vars.el: + * textmodes/reftex.el: Small changes to remove compiler warnings. + + * textmodes/reftex-index.el: Likewise. + (reftex-query-index-phrase): More efficient use of markers. + +2005-09-15 Chong Yidong + + * image.el (image-load-path): New variable. + (image-search-load-path): New function. + (find-image): Search for images in `image-load-path'. + +2005-09-15 Richard M. Stallman + + * follow.el: Change Maintainer field. + +2005-09-15 David Ponce + + * recentf.el (recentf-save-file-modes): New option. + (recentf-save-list): Use it. + +2005-09-15 Nick Roberts + + * bindings.el (mode-line-eol-desc, mode-line-coding-system-map) + (mode-line-mule-info, mode-line-modified): Move bindings from + mouse-3 to mouse-1. + +2005-09-15 Chong Yidong + + * simple.el (sendmail-user-agent-compose): Revert last change. + +2005-09-14 Stefan Monnier + + * net/ange-ftp.el (ange-ftp-process-filter): Revert to ^#+$. + Use with-current-buffer. + (ange-ftp-gwp-start): Remove unused var `gw-user'. + (ange-ftp-guess-hash-mark-size): Remove unused var `result'. + (ange-ftp-insert-directory): Remove unused var `short'. + (ange-ftp-file-name-sans-versions): Remove unused var `host-type'. + + * pcvs-defs.el (cvs-version): Recognize CVSNT version string. + (cvs-execute-single-dir): Change default: cvs-1.9 is ancient. + + * calendar/cal-menu.el: Don't require easymenu, since we don't use it. + (check-calendar-holidays, diary-list-entries): Autoload. + Otherwise `emacs -q' followed by "mouse-2 -> diary entries" burps. + (calendar-mouse-holidays, calendar-mouse-view-diary-entries): Simplify. + + * calendar/diary-lib.el (diary-show-all-entries): Fix last change, + which mistakenly removed a call to display-buffer. + +2005-09-14 Juanma Barranquero + + * obsolete/iso-insert.el: Move to obsolete/ from international/. + +2005-09-14 Thien-Thi Nguyen + + * progmodes/hideshow.el + (hs-hide-comments-when-hiding-all): Remove autoload cookie. + (hs-allow-nesting): New user var. + (hs-discard-overlays): Skip "internal" overlays if nesting allowed. + (hs-hide-block-at-point): When nesting allowed, + if there is already an overlay in place, delete it. + (hs-safety-is-job-n): Delete func; remove call sites. + (hs-hide-level-recursive): Don't pre-clean if nesting allowed. + (hs-overlay-at): New func. + (hs-already-hidden-p, hs-show-block): Use it. + (hs-hide-all): Don't pre-clean if nesting allowed. + (hs-show-all): Temporarily disallow + nesting around call to `hs-discard-overlays'. + +2005-09-14 Chong Yidong + + * mouse.el (mouse-major-mode-menu): Make `prefix' optional. + Delete unused local var. + +2005-09-13 Juanma Barranquero + + * help-fns.el (describe-categories): "?\ " -> "?\s". + (help-do-arg-highlight): Recognize also ARG-n, as in + `move-to-left-margin' (ARG+n is already recognized). Simplify. + + * international/codepage.el (dos-unsupported-char-glyph): + * net/newsticker.el (tool-bar-map, w3-mode-map) + (w3m-minor-mode-map): + * progmodes/vhdl-mode.el (conf-alist, conf-entry, conf-key) + (ent-alist): + * textmodes/reftex-vars.el (reftex-tables-dirty): Add defvars. + +2005-09-13 Chong Yidong + + * custom.el (custom-push-theme): Handle the case where a symbol is + bound but face properties have not yet been assigned. + + * mail/sendmail.el (mail): Use new buffer if `noerase' is `new'. + Fix behavior if noerase is `t' and there is no mail buffer. + + * simple.el (sendmail-user-agent-compose): Use a new mail buffer + if `continue' is nil, rather than signal an error. + +2005-09-12 Richard M. Stallman + + * font-lock.el (font-lock-keywords): Add autoload. + + * help-fns.el (describe-variable): Rearrange to put source link + in a predictable place. + + * net/newsticker.el: New file. + +2005-09-12 Stefan Monnier + + * calendar/calendar.el (calendar-for-loop): Add edebug info. + (calendar-basic-setup): Use the new nil arg. + (number-of-diary-entries): Move to diary-lib.el. + + * calendar/diary-lib.el: Use with-current-buffer, match-string. + (diary-list-entries): Use with-syntax-table and dolist. + Rename from list-diary-entries. + Use number-of-diary-entries if `number' is nil. + (diary, diary-view-entries): Use this new name and new nil arg value. + (number-of-diary-entries): Move from calendar.el. + (diary-unhide-everything): New function. + (include-other-diary-files, fancy-diary-display) + (diary-show-all-entries, make-diary-entry): Use it. + (diary-mail-entries): Use buffer-string. + (mark-diary-entries): Fix long standing paren typo. + (diary-sexp-entry): Use count-lines. + (make-diary-entry): Avoid `previous-line'. + (diary-mode-map): New var. + (diary-mode): Redraw cal after saving. Setup header-line. + (fancy-diary-display-mode): Use local-set-key. + + * startup.el (command-line): Try calling various terminal-init-foo-bar + functions by stripping hyphenated suffixes from $TERM. + + * files.el (normal-mode): Check boundness of font-lock-keywords. + +2005-09-12 Richard M. Stallman + + * progmodes/compile.el: Don't decide a file's directory + until the user actually tries to go there. + (compilation-next-error-function): + Pass compilation-find-file the directory from the file-struct. + (compilation-internal-error-properties): Separate local FILE-STRUCT + from FILE. Doc the args better. Rename arg FMT to FMTS. + (compilation-find-file): Arg DIR renamed to DIRECTORY. + Expand it, and if nil, use default-directory. + (compilation-get-file-structure): Don't mix specified directory + with default directory. Put specified directory into + file-struct. Don't make the file name absolute. + + * progmodes/compile.el (compilation-error-regexp-alist): Doc fix. + (compile-command): Add autoload. + (compilation-disable-input): Add autoload. + +2005-09-11 Stephen Gildea + + * time-stamp.el: Mention variable `time-stamp-pattern' in doc + strings of the variables it can override. + (time-stamp): New (as yet undocumented) time-stamp-format escapes + %Q and %q, for fully-qualified domain name and unqualified host name. + +2005-09-11 Kim F. Storm + + * emacs-lisp/authors.el (authors-aliases): Update list. + (authors-fixed-entries): Update mldrag.el entry. + +2005-09-10 Alan Mackenzie + - * page.el (narrow-to-page): Exclude _entire_ multi-line delimiter - from the region narrowed to. ++ * textmodes/page.el (narrow-to-page): Exclude _entire_ multi-line ++ delimiter from the region narrowed to. + +2005-09-10 Magnus Henoch + + * textmodes/ispell.el (ispell-check-version): Signal an error if + aspell version is less than 0.60. + +2005-09-10 Pascal Dupuis (tiny change) + + * progmodes/octave-inf.el (inferior-octave-startup): + Resync current dir at the end. + +2005-09-10 Emilio C. Lopes + + * woman.el (woman-topic-at-point-default): + Rename to woman-use-topic-at-point-default. + (woman-topic-at-point): Rename to woman-use-topic-at-point. + (woman-file-name): Reflect renames above. Automatically use the + word at point as topic if woman-use-topic-at-point is non-nil. + Otherwise offer it as default but don't insert it in the + minibuffer. Also use `test-completion' instead of `assoc' as + suggested by Stefan Monnier. + +2005-09-10 Andre Spiegel + + * vc.el (vc-directory, vc-update-change-log): Throw an error on + the attempt to do it over Tramp. This is not yet supported. + +2005-09-10 Eli Zaretskii + + * menu-bar.el (menu-bar-menu-frame-live-and-visible-p) + (menu-bar-non-minibuffer-window-p): New functions. + ("Split Window", "Save As..."): Use them. + ("Postscript Print Buffer (B+W)", "Postscript Print Buffer") + ("Print Buffer", "Truncate Long Lines in this Buffer"): + Use menu-bar-menu-frame-live-and-visible-p. + ("Save Buffer", "Insert File", "Open Directory...") + ("Open File...", "Visit New File..."): + Use menu-bar-non-minibuffer-window-p. + (kill-this-buffer-enabled-p, dired ): + Use menu-bar-non-minibuffer-window-p. + +2005-09-09 Eli Zaretskii + + * cus-start.el (all): Don't complain about fringe-related + built-ins if fringes are not supported. Ditto about + selection-related built-ins. Fix the test for GTK-related built-ins. + + * menu-bar.el ("Split Window", "Postscript Print Buffer (B+W)") + ("Postscript Print Buffer", "Print Region", "Save As...") + ("Save", "Insert File...", "Open Directory...") + ("Open File...", "Visit New File..."") + ("Truncate Long Lines in this Buffer"): Don't look at + menu-updating-frame if this display does not support multiple frames. + +2005-09-09 Frederik Fouvry + + * mail/sendmail.el (default-sendmail-coding-system): Doc fix. + +2005-09-09 Emilio C. Lopes + + * woman.el: Format- and whitespace-related changes. + +2005-09-09 Eli Zaretskii + + * woman.el: Fix my email address. + +2005-09-08 Richard M. Stallman + + * progmodes/sh-script.el (sh-skeleton-pair-default-alist): New var. + (sh-mode): Locally set skeleton-pair-default-alist. + + * progmodes/make-mode.el (makefile-add-log-defun): Trim the result. + + * progmodes/flymake.el: Require `compile' unconditionally. + + * mail/sendmail.el (send-mail-function): Add Mailclient alternative. + + * woman.el (woman-file-name): Provide a default, not initial input. + + * smerge-mode.el (smerge-resolve): Pass args to smerge-remove-props. + + * font-lock.el (font-lock-support-mode): Doc fix. + + * descr-text.el (describe-property-list): Handle non-symbol prop names. + +2005-09-08 Richard M. Stallman + + * simple.el (blink-matching-open): Get rid of text props from + the string shown in echo area. Don't permanently set point. + Some rearrangements. + +2005-09-08 Reiner Steib + + * recentf.el (recentf-filename-handler): Add custom choice + `abbreviate-file-name'. + + * msb.el (msb--very-many-menus): Fix typo. + + * disp-table.el (standard-display-european): Don't set + enable-multibyte-characters to nil. + +2005-09-08 David Ponce + + * recentf.el (recentf-show-file-shortcuts-flag): New option. + (recentf-expand-file-name): Doc fix. + (recentf-dialog-mode-map): Define digit shortcuts. + (recentf--files-with-key): New variable. + (recentf-show-digit-shortcut-filter): New function. + (recentf-open-files-items): New function. + (recentf-open-files): Use it. + (recentf-open-file-with-key): New command. + +2005-09-08 Chong Yidong + + * buff-menu.el (Buffer-menu-sort-by-column): New function. + Suggested by Kim F. Storm. + (Buffer-menu-sort-button-map): Global keymap for sort buttons. + (Buffer-menu-make-sort-button): Use global keymap. + +2005-09-07 Michael Albinus + + * woman.el (top): Remap `man' command by `woman' in `woman-mode-map'. + (Man-getpage-in-background-advice): Remove defadvice; it isn't + necessary any longer with the remapped command. + (Man-bgproc-sentinel-advice): Remove defadvice which counts + formatting time only. + + * net/tramp.el (tramp-action-password) + (tramp-multi-action-password): Compile the password prompt from + `method', `user' and `host'. Sometimes it isn't obvious which + password to enter, for example with remote files offered by + recentf.el, or with multiple steps. Suggested by Robert Marshall + . + +2005-09-07 Stefan Monnier + + * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): + Fix regexp for when "s///" is at the beginning of line. + +2005-09-07 Jay Belanger + + * calc/calc-poly.el (math-expand-term): Multiply out any powers + when in matrix mode. + +2005-09-06 Stefan Monnier + + * buff-menu.el (Buffer-menu-make-sort-button): Add docstrings, use + non-anonymous functions. + +2005-09-06 Chong Yidong + + * buff-menu.el (Buffer-menu-make-sort-button): Allow mouse-1 clicks + when using a header line. Otherwise, use mouse-1-click-follows-link. + + * mouse.el (mouse-drag-header-line): Do nothing if the header-line + can't be moved; don't signal an error. + +2005-09-05 Chong Yidong + + * cus-theme.el (custom-theme-write-faces): Save the current face + spec, not the defface spec. + + * custom.el (custom-known-themes): Clarify meaning of "standard". + (custom-push-theme): Save old values in the standard theme. + (disable-theme): Correct typo. + (custom-face-theme-value): Deleted unused function. + (custom-theme-recalc-face): Rewritten to treat enable/disable properly. + +2005-09-05 Stefan Monnier + + * progmodes/compile.el (compilation-goto-locus): Take into account + iconified frames when determining whether the buffer is + already visible. + Don't reset window height if the window already existed. + +2005-09-04 Chong Yidong + + * custom.el (load-theme): Rename from require-theme. + Add interactive spec. + (enable-theme): Rename from custom-enable-theme. + Add interactive spec. + (disable-theme): Rename from custom-disable-theme. + Add interactive spec. + (custom-make-theme-feature): Doc fix. + (custom-theme-directory): Doc fix. + (provide-theme): Call enable-theme. + +2005-09-02 Stefan Monnier + + * obsolete/lazy-lock.el (lazy-lock-mode): + * obsolete/fast-lock.el (fast-lock-mode): Don't try to turn on + font-lock-mode if it's off. Print a warning instead. + + * progmodes/compile.el (compilation-start): Ignore errors if the + process died before we get to send-eof. + + * textmodes/tex-mode.el (tex-send-tex-command, tex-bibtex-file): + Undo last change. Enclosing the result in quotes broke things on Unix + since tex-send-command passes it through shell-quote-argument. + (tex-send-command): Pass `file' through convert-standard-filename + when possible. + (tex-uptodate-p): Handle the case where TeX hasn't put additional + info in a transcript. + +2005-09-02 Dan Nicolaescu + + * term/xterm.el (terminal-init-xterm): Add eval-when-compile to + fix compilation warning. Reorder the key definitions to group + together keys emitted by the current version of xterm. + + * progmodes/vhdl-mode.el (vhdl-highlight-faces) + (vhdl-speedbar-entity-face, vhdl-speedbar-entity-selected-face): + Reorder predicates to correct min-color usage. + +2005-09-01 Chong Yidong + + * longlines.el (longlines-mode): Inhibit read-only when encoding. + Kill local variables when longlines-mode is turned off. + +2005-09-01 Stefan Monnier + + * international/mule-cmds.el (set-locale-environment): Soothe compiler. + + * obsolete/lazy-lock.el (lazy-lock) : Move from font-lock.el. + + * obsolete/fast-lock.el (fast-lock) : Move from font-lock.el. + + * font-lock.el (fast-lock, lazy-lock) : Remove. + (font-lock-lines-before): Change default to being inactive. + (font-lock-default-fontify-region): Obey font-lock-lines-before. + (font-lock-after-change-function): Don't handle f-l-lines-before here. + +2005-08-31 Michael Albinus + + * net/tramp.el (tramp-handle-make-auto-save-file-name): + Deactivate temporarily advice if active (not needed for Emacs 22, + but for backwards compatibility). + (tramp-exists-file-name-handler): Rewrite. First implementation + was too simple. + (tramp-advice-make-auto-save-file-name): + Call `tramp-handle-make-auto-save-file-name' (again, just for + backwards compatibility). + +2005-08-31 Reto Zimmermann + + * progmodes/vhdl-mode.el + (vhdl-update-sensitivity-list): Handle multi-dimensional array access. + (vhdl-end-p): Fix indentation bug "else" after "-- when". + (vhdl-set-default-project): New function (easier setting of default). + (vhdl-port-copy): Handle extended identifiers for generics. + (vhdl-compiler-alist): Better description for error message regexp. + (vhdl-make): Query for target, use previous as default. + (vhdl-port-copy): Fix port copy for port names starting with "signal". + (vhdl-font-lock-keywords-2): Fix fontification for record + el. assign. + (vhdl-speedbar-make-subpack-line): Add package body link. + (vhdl-generate-makefile-1): Not include itself as dependency. + (vhdl-font-lock-init): Highlight c-preprocessor directives. + (vhdl-*ward-syntactic-ws): Skip c-preprocessor directives. + (vhdl-get-syntactic-context): Handle c-preprocessor directives. + (vhdl-update-sensitivity-list): Start scan at opening parenthesis. + (vhdl-fixup-whitespace-region): Fix jumping point (infinite loop). + (vhdl-update-sensitivity-list-buffer): Add string argument for `error'. + (vhdl-import-project): Add string argument for `error'. + (vhdl-compose-configuration) + (vhdl-compose-configuration-architecture): Add configuration + declaration generation. + (vhdl-scan-directory-contents): Scan for block/generate hierarchy. + (vhdl-trailer-re): Add "record" keyword (better indentation). + (vhdl-fixup-whitespace-region): "[^ \t\"-]+" instead of + "[^ \t-\"]+". + (vhdl-font-lock-keywords-2): Not highlight formal parameter after `|'. + (vhdl-testbench-entity-file-name) + (vhdl-testbench-architecture-file-name): Allow separate + customization of testbench file names. + (vhdl-beginning-of-block): Handle optional subprogram parameter list. + (vhdl-get-visible-signals): Allow newline within alias declaration. + (vhdl-update-sensitivity-list): Signal read only on certain attributes. + (vhdl-fixup-whitespace-region): Fix bug with strings (double quotes). + (member-ignore-case): Alias for missing function in XEmacs. + (vhdl-compiler-alist): Add unit-to-file name mapping for Cadence NC. + (vhdl-update-sensitivity-list): Ignore case on read signals. + (vhdl-replace-string): Adjust case only for file names. + (vhdl-update-sensitivity-list): Fix search for read signals. + (vhdl-update-sensitivity-list): Exclude formal parameters. + (vhdl-get-visible-signals): Include aliases of signals. + (vhdl-get-visible-signals): Fix signal name searching. + (vhdl-port-flatten, vhdl-port-reverse-direction): Better message. + (vhdl-fixup-whitespace-region): Fix for character + literals (e.g. `:'). + +2005-08-31 Juanma Barranquero + + * ansi-color.el (comint-last-output-start): + * bs.el (font-lock-verbose): + * diff-mode.el (add-log-buffer-file-name-function): + * dired-x.el (vm-folder-directory): + * faces.el (help-xref-stack-item): + * files.el (font-lock-keywords): + * find-lisp.el (dired-buffers, dired-subdir-alist): + * ido.el (cua-inhibit-cua-keys): + * log-view.el (cvs-minor-wrap-function): + * outline.el (font-lock-warning-face): + * simple.el (compilation-current-error): + * speedbar.el (ange-ftp-path-format, efs-path-regexp) + (font-lock-keywords, x-pointer-hand2, x-pointer-top-left-arrow): + * tooltip.el (comint-prompt-regexp): + * w32-fns.el (explicit-shell-file-name): + * term/mac-win.el (mac-charset-info-alist) + (mac-services-selection, mac-system-script-code): + * term/tty-colors.el (msdos-color-values): + * term/w32-win.el (xlfd-regexp-registry-subnum): + * term/x-win.el (x-keysym-table, x-selection-timeout) + (x-session-id, x-session-previous-id): + * textmodes/ispell.el (mail-yank-prefix): + * textmodes/makeinfo.el (tex-end-of-header, tex-start-of-header): + * textmodes/org.el (calc-embedded-close-formula) + (calc-embedded-open-formula) + (font-lock-unfontify-region-function): + * textmodes/reftex-global.el (isearch-next-buffer-function) + (TeX-master): + * textmodes/reftex.el (font-lock-keywords): + * textmodes/tex-mode.el (font-lock-comment-face) + (font-lock-doc-face): + * textmodes/texinfo.el (outline-heading-alist): + Add defvars. + + * textmodes/artist.el (x-pointer-crosshair): Add defvar. + (artist-spray-chars, artist-mode-init, artist-replace-string) + (artist-select-erase-char, artist-vap-find-endpoints-horiz) + (artist-vap-find-endpoints-vert, artist-vap-find-endpoints-swne) + (artist-vap-find-endpoints-nwse): "?\ " -> "?\s". + + * textmodes/conf-mode.el (outline-heading-end-regexp): Add defvar. + (conf-align-assignments): "?\ " -> "?\s". + + * textmodes/reftex-index.el (TeX-master): Add defvar. + (reftex-index-phrases-marker): Move up defvar. + + * textmodes/reftex-toc.el (zmacs-regions): Add defvar. + (reftex-toc-include-labels-indicator) + (reftex-toc-include-index-indicator) + (reftex-toc-max-level-indicator): Move up declarations. + + * net/tramp.el (tramp-handle-make-auto-save-file-name): Pass list + of args to `tramp-run-real-handler', even if it's empty in this case. + +2005-08-31 YAMAMOTO Mitsuharu + + * dired.el (dired-move-to-filename-regexp): Add date format for + Mac OS X 10.3 in East Asian locales. + +2005-08-31 Michael Albinus + + * files.el (make-auto-save-file-name): Add file name handler call + if applicable. + + * net/tramp.el (tramp-file-name-handler-alist) + (tramp-file-name-for-operation): Add `make-auto-save-file-name'. + (tramp-handle-make-auto-save-file-name): Rename from + `tramp-make-auto-save-file-name'. + (tramp-exists-file-name-handler): New defun. + (tramp-advice-make-auto-save-file-name): Make defadvice only when + `make-auto-save-file-name' is not a magic file name operation. + +2005-08-30 Richard M. Stallman + + * files.el (risky-local-variable-p): + Match `-predicates' and `-commands'. + + * cus-edit.el (custom-buffer-sort-alphabetically): Default to t. + (custom-save-all): Visit the file if necessary; + kill the buffer if we created it. + (custom-save-delete): Don't visit file or kill buffer here. + +2005-08-30 Carsten Dominik + + * textmodes/org.el (org-special-keyword): New face. + (org-table-copy-down, org-table-eval-formula) + (org-table-recalculate, org-init-section-numbers): + Use `string-to-number' instead of `string-to-int'. + (org-get-location): Use `insert-buffer-substring' instead of + `insert-buffer'. + (org-modify-diary-entry-string): New function. + (org-get-entries-from-diary): Set the hook for `add-to-diary-list'. + (org-disable-agenda-to-diary): Rename from `org-disable-diary'. + (org-toggle-fixed-width-section): Use QUOTE keyword if there is no + active region. + (org-export-as-html): Handle QUOTE keyword. + (org-quote-string): New option. + (org-bookmark-jump-unhide): New function, used for + `bookmark-after-jump-hook'. + (org-diary-default-entry): Apply only when not called through + `org-agenda'. + +2005-08-30 Juanma Barranquero + + * net/eudc.el (mode-popup-menu): + * play/handwrite.el (ps-printer-name, ps-lpr-command): + * progmodes/ada-mode.el (compile-auto-highlight) + (skeleton-further-elements): + * progmodes/autoconf.el (font-lock-syntactic-keywords): + * progmodes/cmacexp.el (msdos-shells): + * progmodes/compile.el (font-lock-extra-managed-props) + (font-lock-keywords, font-lock-maximum-size) + (font-lock-support-mode): + * progmodes/grep.el (font-lock-lines-before): + * progmodes/idlw-complete-structtag.el (idlwave-completion-help-info): + * progmodes/mixal-mode.el (compile-command): + * progmodes/perl-mode.el (font-lock-comment-face) + (font-lock-doc-face, font-lock-string-face): + * progmodes/prolog.el (comint-prompt-regexp): + * progmodes/sh-script.el (font-lock-comment-face) + (font-lock-set-defaults, font-lock-string-face): + * progmodes/sql.el (font-lock-keyword-face) + (font-lock-set-defaults, font-lock-string-face): + * progmodes/vhdl-mode.el (compilation-file-regexp-alist) + (itimer-version, lazy-lock-defer-contextually) + (lazy-lock-defer-on-scrolling, lazy-lock-defer-on-the-fly): + Add defvars. + + * progmodes/cperl-mode.el (cperl-electric-lbrace) + (cperl-electric-keyword, cperl-electric-pod) + (cperl-electric-backspace, cperl-forward-re) + (cperl-fix-line-spacing, cperl-fill-paragraph): "?\ " -> "?\s". + (vc-rcs-header, vc-sccs-header): Add defvars. + + * progmodes/fortran.el (fortran-indent-to-column): "?\ " -> "?\s". + (font-lock-syntactic-keywords, gud-find-expr-function): + Add defvars. + + * progmodes/gdb-ui.el (tool-bar-map): Add defvar. + (gdb-frame-parameters): Declare before use. + + * progmodes/gud.el (gdb-active-process, gdb-define-alist) + (gdb-macro-info, gdb-server-prefix, gdb-show-changed-values) + (gdb-var-changed, gdb-var-list, tool-bar-map): Add defvars. + (gud-expr-compound-sep, gud-expr-compound): "?\ " -> "?\s". + + * progmodes/idlw-help.el (browse-url-generic-args): Add defvar. + (idlwave-help-with-source): Use `insert-buffer-substring', not + `insert-buffer'. + +2005-08-29 Juri Linkov + + * outline.el (hide-entry, hide-leaves, outline-toggle-children): + Put outline-back-to-heading function call inside save-excursion. + +2005-08-29 Juanma Barranquero + + * man.el (Man-init-defvars, Man-translate-references) + (Man-support-local-filenames, Man-highlight-references): + * progmodes/sql.el (sql-interactive-mode): + * shell.el (shell-mode, shell-resync-dirs): Fix typos in docstrings. + + * emacs-lisp/checkdoc.el (compilation-error-regexp-alist) + (compilation-mode-font-lock-keywords): Add defvars. + (checkdoc-interactive-loop): "?\ " -> "?\s". + + * emacs-lisp/lisp-mode.el (font-lock-comment-face) + (font-lock-doc-face, font-lock-string-face) + (font-lock-keywords-case-fold-search): Add defvars. + (emacs-lisp-mode-syntax-table): "?\ " -> "?\s". + + * obsolete/sun-fns.el (mouse-select-or-drag-move-point): + Don't pass X and Y (they are ignored anyway). + (mouse-set-mark, mouse-select-window, mouse-delete-other-windows) + (mouse-delete-window): Make arguments optional. + + * obsolete/rnews.el (news-add-news-group): Don't use `end-of-line'. + (caesar-translate-table, minor-modes, news-buffer-save) + (news-group-name, news-minor-modes): Add defvars. + + * emacs-lisp/lselect.el (mouse-highlight-priority) + (x-lost-selection-functions, zmacs-regions): + * emacs-lisp/pp.el (font-lock-verbose): + * emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function): + * emacs-lisp/tcover-ses.el (ses-initial-global-parameters) + (ses-mode-map): + * emacs-lisp/tcover-unsafep.el (safe-functions): + * international/mule-cmds.el (mac-system-coding-system) + (mac-system-locale): + * language/ethio-util.el (rmail-current-message) + (rmail-message-vector): + * language/thai-util.el (thai-auto-composition-mode): + * mail/metamail.el (rmail-current-message, rmail-message-vector): + * mail/mspools.el (rmail-inbox-list, vm-crash-box) + (vm-folder-directory, vm-init-file, vm-init-file-loaded) + (vm-primary-inbox, vm-spool-files): + * mail/rmail.el (deleted-head, font-lock-fontified) + (mail-abbrev-syntax-table, mail-abbrevs, messages-head) + (rmail-use-spam-filter, rsf-beep, rsf-sleep-after-message) + (total-messages): + * mail/rmail-spam-filter.el (bbdb/mail_auto_create_p) + (rmail-summary-mode-map): + * mail/rmailkwd.el (rmail-buffer, rmail-current-message) + (rmail-last-label, rmail-last-multi-labels) + (rmail-summary-vector, rmail-total-messages): + * mail/rmailmsc.el (rmail-current-message, rmail-inbox-list): + * mail/rmailsum.el (msgnum): + * mail/uce.el (gnus-original-article-buffer, mail-reply-buffer) + (rmail-current-message): + * obsolete/fast-lock.el (font-lock-face-list): + * obsolete/rnewspost.el (mail-reply-buffer): + * obsolete/scribe.el (compile-command): + * obsolete/x-menu.el (x-process-mouse-hook): Add defvars. + +2005-08-28 John Paul Wallington + + * ibuf-ext.el (ibuffer-auto-update-changed): + Use `frame-or-buffer-changed-p' to check whether we need to update. + (ibuffer-auto-mode): Don't advise `get-buffer-create' and + `kill-buffer'. Initialise `ibuffer-auto-buffers-changed' + as a `frame-or-buffer-changed-p' state vector instead. + +2005-08-27 Romain Francoise + + * textmodes/makeinfo.el (makeinfo-compile): + Use `compilation-start'. Set `next-error-function' according to + `disable-errors'. + (makeinfo-next-error): New function. + (makeinfo-region): Adjust to new `makeinfo-compile' prototype. + (makeinfo-buffer): Likewise. + + * progmodes/compile.el (compilation-start): Add autoload cookie. + + * progmodes/antlr-mode.el: Don't autoload `compilation-start'. + * textmodes/sgml-mode.el: Likewise. + * progmodes/python.el: Likewise. + +2005-08-27 Eli Zaretskii + + * simple.el (blink-matching-paren-distance): Document the meaning + of nil value, and allow to customize to nil. + + * eshell/esh-ext.el (eshell-windows-shell-file): Look for + command.com, not command.exe. + +2005-08-26 John Wiegley + + * eshell/esh-cmd.el (eshell-rewrite-named-command): Change the + code around a bit so that an extraneous nil argument is not added + to a command when no args are given. + + * eshell/esh-arg.el (eshell-parse-double-quote): If a + double-quoted argument resolves to nil, return it as an empty + string rather than as nil. This made it impossible to pass "" to + a shell script as a null string argument. + +2005-08-26 Stefan Monnier + + * outline.el (outline-invent-heading): New fun. + (outline-promote, outline-demote): Use it. + (outline-move-subtree-down): Remove unused vars `re' and `txt'. + (outline-end-of-subtree): Remove unused var `opoint'. + +2005-08-26 David Reitter + + * menu-bar.el (truncate-lines, write-file, print-buffer) + (ps-print-buffer-faces, ps-print-buffer, split-window): + Disable menu items when the frame they refer to is invisible, or when + they refer to a buffer and the minibuffer is selected. + +2005-08-26 Pavel Kobiakov + + * progmodes/flymake.el (flymake-highlight-err-lines): + Use save-excursion around flymake-highlight-line to preserve point. + +2005-08-26 Eli Zaretskii + + * progmodes/octave-mod.el: Change Author and Maintainer address. + (octave-maintainer-address): Change Kurt's email address. + * progmodes/octave-inf.el: Change Author and Maintainer address. + * progmodes/octave-hlp.el: Change Author and Maintainer address. + +2005-08-26 Kim F. Storm + + * subr.el (version-list-<, version-list-<=, version-list-=): + Rename from integer-list-*. + (version-list-not-zero): Likewise. Fix while loop. + (version=): Use version-list-= instead of string-equal. + +2005-08-26 Richard M. Stallman + + * outline.el (outline-promote): Try shortening the heading. + As last resort, read the heading to use. + (outline-demote): As last resort, read the heading to use. + +2005-08-26 Romain Francoise + + * progmodes/compile.el (compilation-start): Doc fix. + + * progmodes/antlr-mode.el (antlr-default): Fix defface form. + (antlr-font-lock-additional-keywords): Fix reference to + `antlr-font-lock-literal-regexp' erroneously changed during the + mass face rename. + (antlr-run-tool): Use `compilation-start'. + + * textmodes/sgml-mode.el (sgml-validate): Use `compilation-start' + instead of the obsolete `compile-internal'. + +2005-08-26 Juanma Barranquero + + * calendar/cal-bahai.el (date, displayed-month, displayed-year) + (number, original-date): + * calendar/cal-china.el (date): + * calendar/cal-coptic.el (date): + * calendar/cal-french.el (date): + * calendar/cal-hebrew.el (date, entry, number, original-date): + * calendar/cal-islam.el (date, number, original-date): + * calendar/cal-iso.el (date): + * calendar/cal-julian.el (date): + * calendar/cal-mayan.el (date): + * calendar/cal-menu.el (date, event): + * calendar/cal-persia.el (date): + * calendar/lunar.el (date): + * calendar/solar.el (date): Add defvars. + + * emerge.el: + * ibuffer.el: + * info-xref.el: + * obsolete/bg-mouse.el: + * obsolete/sun-curs.el: + * obsolete/swedish.el: Move the `defvar's to the top level. + + * smerge-mode.el (smerge-refined-change): Add :group. + +2005-08-25 Stefan Monnier + + * smerge-mode.el (smerge-remove-props): Make the args non-optional. + (smerge-keep-n): Remove props. + (smerge-keep-base, smerge-keep-other, smerge-keep-mine) + (smerge-keep-current, smerge-kill-current): Don't remove props anymore + now that it's done in smerge-keep-n. + (smerge-refined-change): New face. + (smerge-refine-chopup-region, smerge-refine-highlight-change) + (smerge-refine): New funs. + (smerge-basic-map): Bind smerge-refine. + +2005-08-25 Juri Linkov + + * progmodes/grep.el (grep, grep-mode): Make buffer-local variables + compilation-process-setup-function and compilation-disable-input + in grep-mode instead of let-bindings in grep. + + * menu-bar.el (menu-bar-options-menu, menu-bar-options-save): + Delete "Automatic File De/compression" (auto-compression-mode). + +2005-08-25 Juanma Barranquero + + * obsolete/bg-mouse.el: Move to obsolete/ from term/. + Silence warning about non-existent variable. + +2005-08-25 Richard M. Stallman + + * menu-bar.el (menu-bar-describe-menu): Delete "What's New". + Rename "Describe Key" to "Describe Key or Mouse Operation". + + * mail/mailalias.el (build-mail-aliases): Delete comments + from the contents before processing them. + + * isearch.el (isearch-edit-string): Erase the Search prompt + if user enters an empty string and there is no default. + + * comint.el (comint-file-name-prefix): Add autoload. + +2005-08-25 Joe Corneli + + * subr.el (play-sound): Rearrange to avoid warning. + +2005-08-25 Carsten Dominik + + * calendar/diary-lib.el (diary-modify-entry-list-string-function): + New hook. + (add-to-diary-list): Call `diary-modify-entry-list-string-function'. + +2005-08-24 Stefan Monnier + + * emacs-lisp/easy-mmode.el (define-minor-mode): Simplify. + + * custom.el (custom-theme-set-variables): Sort minor modes last. + +2005-08-24 Vinicius Jose Latorre + + * subr.el (version-separator, version-regexp-alist): New vars used by + version comparison funs. + (integer-list-<, integer-list-=, integer-list-<=) + (integer-list-not-zero): New funs for integer list comparison. + (version-to-list, version=, version<, version<=): New funs for version + comparison. + +2005-08-24 Juanma Barranquero + + * emerge.el (merge-begin, merge-end, template, A-begin, A-end) + (B-begin, B-end, diff, diff-vector, valid-diff): Defvar at compile + time to silence the byte-compiler. + + * ibuffer.el (ibuffer-compile-make-eliding-form) + (ibuffer-check-formats): Use `with-no-warnings' to hide references + to `ibuffer-elide-long-columns' (which is defined on ibuffer.el, + so it's silly to get warnings for it). + (ibuffer-auto-mode, ibuffer-cached-filter-formats) + (ibuffer-compiled-filter-formats, ibuffer-filter-format-alist) + (ibuffer-filter-group-kill-ring, ibuffer-filter-groups) + (ibuffer-filtering-qualifiers, ibuffer-hidden-filter-groups) + (ibuffer-inline-columns, ibuffer-show-empty-filter-groups) + (ibuffer-tmp-hide-regexps, ibuffer-tmp-show-regexps): + Defvar at compile time. + (ibuffer-compiled-formats, ibuffer-cached-eliding-string) + (ibuffer-cached-formats, ibuffer-cached-elide-long-columns): + Declare them before use. + + * info-xref.el (info-xref-xfile-alist, info-xref-filename-heading) + (info-xref-good, info-xref-bad): Defvar at compile time. + + * obsolete/mlsupport.el (filter-region, execute-monitor-command): + Use `let*' instead of `let'. + + * obsolete/sun-curs.el (icon-edit, *mouse-window*, *mouse-x*) + (*mouse-y*, menu, char): Defvar at compile time. + (sc::menu): Declare it before use. + (sc::pack-one-line): Use `let', not `let*'. + + * obsolete/swedish.el (news-inews-hook, news-group-hook-alist) + (mail-send-hook): Defvar at compile time. + + * term/bg-mouse.el (bg-mouse-x, bg-mouse-y, bg-cursor-window): + Defvar at compile time. + + * term/sun-mouse.el (current-global-mousemap) + (current-local-mousemap): Declare them before use. + +2005-08-24 Carsten Dominik + + * bookmark.el (bookmark-after-jump-hook): New hook. + (bookmark-jump): Run `bookmark-after-jump-hook'. + +2005-08-23 Juri Linkov + + * faces.el (minibuffer-prompt): Doc fix. + +2005-08-23 Juanma Barranquero + + * progmodes/xscheme.el: Trivial changes to silence warnings. + (xscheme-previous-mode, xscheme-previous-process-state): + Add defvars. + (xscheme-last-input-end, xscheme-process-command-line) + (xscheme-process-name, xscheme-buffer-name) + (xscheme-expressions-ring-max, xscheme-expressions-ring) + (xscheme-expressions-ring-yank-pointer, xscheme-running-p) + (xscheme-control-g-synchronization-p) + (xscheme-control-g-disabled-p, xscheme-string-receiver) + (default-xscheme-runlight, xscheme-runlight) + (xscheme-runlight-string, xscheme-process-filter-state) + (xscheme-allow-output-p, xscheme-prompt, xscheme-mode-string): + Move to beginning of file. + (scheme-interaction-mode-commands-alist) + (scheme-interaction-mode-map, scheme-debugger-mode-map): + Declare them before use. Note: the initialization code for the + variables has not been moved because it uses functions that reference + the variables. + (xscheme-control-g-message-string, xscheme-process-filter-alist) + (xscheme-prompt-for-expression-map): Declare them before use. + (scheme-debugger-mode-commands): "?\ " -> "?\s". + +2005-08-23 Ed Swarthout (tiny change) + + * hexl.el (hexl-print-current-point-info): Fix simple spelling error. + +2005-08-22 Juri Linkov + + * faces.el (set-face-underline): Delete this duplicate function + and make an obsolete alias to set-face-underline-p. + (set-face-underline-p): Use docstring of set-face-underline. + (describe-face): Create hyperlink to parent face. + + * info.el (Info-insert-dir): Use save-excursion around + insert-buffer-substring. + (Info-isearch-search): Use LITERAL arg of replace-regexp-in-string. + (Info-escape-percent): Delete function. + (Info-fontify-node): Replace Info-escape-percent by + replace-regexp-in-string with REP arg set to lambda that + duplicates `%' and preserves text properties. + + * progmodes/compile.el (compilation-disable-input): Doc fix. + (define-compilation-mode): Doc fix and refill. + (kill-compilation): Use `mode-name' in the error message. + (compilation-find-file): Use `compilation-error' in the + read-file-name's prompt. + +2005-08-22 Stefan Monnier + + * smerge-mode.el (smerge-basic-map): Bind smerge-combine-with-next. + (smerge-auto-leave): Make undo re-enable the mode. + (debug-ignored-errors): Add the user-error of impossible resolution. + (smerge-resolve): Move things around a bit, in preparation for later. + (smerge-diff): Don't fail if the buffer has no associated file. + (ediff-ancestor-buffer, ediff-quit-hook): Quieten byte-compiler. + (smerge-conflict-overlay): New function. + (smerge-match-conflict): Don't add text properties here. + (smerge-find-conflict): Instead, add an overlay here. + Also check for the case where we're inside a conflict already, so as to + obviate the need for font-lock-multiline, which is unbearably slow with + large conflicts and ciomplex font-lock patterns. + (smerge-remove-props): Remove overlay rather than text-properties. + (smerge-mode): Don't set font-lock-multiline. + Remove overlays when turned off. + +2005-08-21 Kim F. Storm + + * ido.el (ido-ignore-item-p): Use save-match-data. + Bind case-fold-search to ido-case-fold locally. + +2005-08-20 Richard M. Stallman + + * files.el (normal-mode): If font lock is on, turn it off and on. + + * subr.el (replace-regexp-in-string): Doc fix. + + * startup.el (command-line-1): Don't suppress startup screen + due to existing processes. + + * progmodes/grep.el (grep): Bind compilation-disable-input to t. + + * progmodes/compile.el (compilation-disable-input): Default to nil. + +2005-08-20 Kevin Rodgers (tiny change) + + * progmodes/compile.el (compilation-disable-input): New defcustom. + (compilation-start): If compilation-disable-input is non-nil, send + EOF to the compilation process. + +2005-08-20 Eli Zaretskii + + * textmodes/tex-mode.el (tex-bibtex-file, tex-send-tex-command): + Run the argument of tex-shell-cd-command through + convert-standard-filename, to get the correct style of slashes on + Windows, and enclose the result in quotes, in case the file name + includes whitespace or other special characters. + +2005-08-19 Andreas Schwab + + * progmodes/gud.el (gud-kill-buffer-hook): Don't kill unrelated + process. + +2005-08-18 Luc Teirlinck + + * cus-start.el (minibuffer-prompt-properties): Correct typo. + +2005-08-18 Kim F. Storm + + * scroll-lock.el: Fix errors due to incorrect line wrapping. + +2005-08-18 Richard M. Stallman + + * scroll-lock.el: New file. + +2005-08-18 Thien-Thi Nguyen + + * dired.el (dired-move-to-end-of-filename): + Handle fifo as rendered by "ls -lF": Don't include trailing "|". + +2005-08-18 Kim F. Storm + + * ido.el (ido-everywhere): Fix defcustom :set function to disable + rather than toggle mode when custom value is nil. + (ido-everywhere): Fix defun doc string. + +2005-08-17 Richard M. Stallman + + * cus-start.el (minibuffer-prompt-properties): Use "Don't Enter" + as tag instead of "Inviolable". + +2005-08-17 Kim F. Storm + + * windmove.el (windmove-coordinates-of-position): Remove. + (windmove-coordinates-of-window-position): Remove. + (windmove-reference-loc): Use posn-at-point instead. + + * subr.el (insert-for-yank-1): Doc fix. + + * ido.el (ido-enter-matching-directory): Rename from + ido-enter-single-matching-directory. Change `slash' choice to + `only'. Add `first' choice. + (ido-exhibit): Adapt to above changes. + +2005-08-16 Luc Teirlinck + + * Makefile.in: Expand comment about building loaddefs.el. + +2005-08-16 Nick Roberts + + * progmodes/gdb-ui.el (toggle-gdb-use-inferior-io-buffer): + Comment use of defadvice. + + * progmodes/gud.el (gud-jump): Rework for gdb-ui. + +2005-08-15 Dan Nicolaescu + + * buff-menu.el, compare-w.el, emacs-lisp/testcover.el, + * play/gomoku.el, play/mpuz.el, progmodes/flymake.el, + * progmodes/gdb-ui.el, progmodes/idlw-help.el, + * progmodes/idlw-shell.el, progmodes/ld-script.el, + * progmodes/which-func.el, ruler-mode.el, strokes.el, + * textmodes/sgml-mode.el, textmodes/table.el: Do not use face-alias + for backward compatibility for faces that did not appear in the + previous Emacs release. + + * simple.el (next-error-follow-minor-mode): Fix init value and lighter. + +2005-08-15 Kim F. Storm + + * emulation/cua-base.el (cua-delete-region): Return t if + deleted region was non-empty. + (cua-replace-region): Inhibit overwrite-mode for + self-insert-command if replaced region was non-empty. + (cua--explicit-region-start, cua--status-string): Make them + buffer-local at top-level... + (cua-mode): ...rather than when mode is enabled. + +2005-08-15 Thien-Thi Nguyen + + * progmodes/vhdl-mode.el (vhdl-emacs-21): + Set t for Emacs 21, 22, and so on. + +2005-08-15 David Ponce + + * tree-widget.el: Update Commentary header. + (tree-widget-theme): Doc fix. + (tree-widget-space-width): New option. + (tree-widget-image-properties): Look up in the default theme too. + (tree-widget--cursors): Only for images with arrow pointer shape. + (tree-widget-lookup-image): Pointer shape is hand by default. + (tree-widget-icon): Rename generic icon widget from + `tree-widget-control'. + (tree-widget-*-icon): Rename from `tree-widget-*-control' and + derive from `tree-widget-icon'. + (tree-widget-handle): Improve default look and feel of the text + representation. + (tree-widget): Rename :*-control properties to :*-icon properties. + Add :action and :help-echo properties. + (tree-widget-after-toggle-functions): Move. + (tree-widget-close-node, tree-widget-open-node): Remove. + (tree-widget-before-create-icon-functions): New hook. + (tree-widget-value-create): Update to allow customization of icons + and nodes at run-time via that new hook. + (tree-widget-icon-create, tree-widget-leaf-node-icon-p) + (tree-widget-icon-action, tree-widget-icon-help-echo) + (tree-widget-action, tree-widget-help-echo): New functions. + +2005-08-15 Kim F. Storm + + * ido.el (ido-buffer-internal): Use with-no-warnings. + (ido-make-merged-file-list): Use while-no-input. + +2005-08-15 Richard M. Stallman + + * textmodes/flyspell.el (flyspell-mark-duplications-flag): Doc fix. + (flyspell-large-region): Fix doc and custom type. + +2005-08-14 Richard M. Stallman + + * files.el (interpreter-mode-alist): Doc fix. + + * mail/rmail.el (rmail-nonignored-headers): New variable. + (rmail-clear-headers): Use it. + (rmail-reply): Better handling of mail-followup-to header. + + * progmodes/sh-script.el (sh-font-lock-keywords-var): + Rename variable from sh-font-lock-keywords. In the `shell' entry, + don't try to refer to executable-font-lock-keywords. + (sh-font-lock-keywords-var-1): Rename from sh-font-lock-keywords-1. + (sh-font-lock-keywords-var-2): Rename from sh-font-lock-keywords-2. + (sh-font-lock-keywords): Append executable-font-lock-keywords here. + (sh-mode): Set comment-start-skip, local-abbrev-table, + imenu-case-fold-search. + (sh-set-shell): Don't set them here. + (sh-feature): Simplify. Get rid of the eval-a-variable feature. + Don't cache the results in the original alist; don't ever modify + that alist. + + * textmodes/flyspell.el (flyspell-mode): Autoload a defvar. + + * textmodes/ispell.el (lookup-words): Cope with case where ARGS is + empty. + +2005-08-15 Andreas Schwab + + * desktop.el: Put autoload cookie at risky-local-variable declarations. + + * dired.el, info.el, mail/rmail.el: Revert last change. + +2005-08-14 Thien-Thi Nguyen + + * dired.el: Fix dependency bug: Wrap `desktop-buffer-mode-handlers' + modification in `eval-after-load' form. + * info.el: Likewise. + * mail/rmail.el: Likewise. + +2005-08-14 Juri Linkov + + * progmodes/compile.el (compilation-mode-font-lock-keywords): + Remove highlighting of "Compilation started". Highlight only + the word "finished" in "Compilation finished". Add highlighting + of "interrupt", "killed", "terminated" and the exit code. + (compilation-start): Add newline after header. Use exactly the + same time stamp format as the finishing message. + (compilation-mode-map): Add ellipsis to "Search Files (grep)". + + * progmodes/grep.el (grep-mode-map): Add ellipsis to "Another grep". + (grep-mode-font-lock-keywords): Don't highlight "Grep started". + Add highlighting of "interrupt", "killed", "terminated". + + * delsel.el (delete-selection-pre-hook): If overwrite-mode is + enabled and the current command is self-insert-command, call it + explicitly with overwrite-mode bound to nil, to not allow it + to delete the character after the selected region. + +2005-08-12 Matt Hodges + + * emacs-lisp/eldoc.el: Add move-beginning-of-line, + move-end-of-line, end-of-line, and beginning-of-line to the list + of commands after which the echo area is updated. + +2005-08-12 Eli Zaretskii + + * cus-edit.el (custom-save-all, custom-save-delete): + Bind recentf-exclude to exclude custom-file. + +2005-08-12 Ehud Karni + + * mail/rmailsum.el (rmail-summary-end-of-message): New command + to go to the bottom of the mail message. Added to + `rmail-summary-mode-map' with key "/". + (rmail-summary-show-message): New (internal) function for use by + both `rmail-summary-beginning/end-of-message'. + (rmail-summary-beginning-of-message): Change to use + rmail-summary-show-message. + + * mail/rmail.el (rmail-end-of-message): New command to go to the + end of the current message. Added to `rmail-mode-map' with key "/". + (rmail-beginning-of-message): Fix to work as documented. + (rmail-mode): Change documentation. + + * progmodes/compile.el (compilation-start): Add the line + "Compilation started" with compilation start time. + (compilation-mode-font-lock-keywords): Add `started' to keywords. + +2005-08-11 Luc Teirlinck + + * menu-bar.el (menu-bar-options-menu): Standardize capitalization + of menu items. + +2005-08-11 Richard M. Stallman + + * simple.el (pop-global-mark): Reverse test of widen-automatically. + + * battery.el (battery-status-function): Don't use ignore-errors. + +2005-08-11 Lute Kamstra + + * emacs-lisp/generic.el (generic-font-lock-defaults): Declare with + define-obsolete-variable-alias. + +2005-08-11 Stefan Monnier + + * net/ange-ftp.el: Use \\` and \\' instead of ^ and $ in regexps. + (ange-ftp-send-cmd): Revert last change, and expand + the comment explaining the problem. + +2005-08-10 Luc Teirlinck + + * ldefs-boot.el: Update. + + * menu-bar.el (menu-bar-showhide-menu): Rename "Date, Time and Mail" + item to "Time, Load and Mail". Change help echo text. + + * time.el (display-time-use-mail-icon, display-time-format) + (display-time-string-forms): Shorten first line of docstrings. + +2005-08-10 Lars Hansen + + * desktop.el (desktop-buffer-mode-handlers): + Make non-customizable. Add autoload cookie. Change initial value to + nil; add elements in respective modules instead. Fix doc string. + (desktop-load-file): New function. + (desktop-minor-mode-handlers): New autoloaded variable. + (desktop-create-buffer): Call minor mode handlers. + Use desktop-load-file to load major and minor mode modules prior to + checking for a handler. + (desktop-save): Don't add nil to desktop-minor-modes for minor + modes with nil function in desktop-minor-mode-table. Don't delete + desktop file before rewriting it. + (desktop-locals-to-save): Add autoload cookie. Don't make + automatically buffer-local. Add variables column-number-mode, + size-indication-mode, indent-tabs-mode, + indicate-buffer-boundaries, indicate-empty-lines and + show-trailing-whitespace. + (desktop-clear): Allow desktop-clear-preserve-buffers to contain + regexps. Don't use desktop-clear-preserve-buffers-regexp. + (desktop-clear-preserve-buffers-regexp): Delete. + (desktop-clear-preserve-buffers): Update initial value and docstring. + (desktop-save-buffer): Fix doc string. + + * hilit-chg.el: Add handler to desktop-minor-mode-handlers. + (hilit-chg-desktop-restore): New function. + (highlight-changes-mode): Add highlight-changes-mode to + desktop-locals-to-save. + + * dired.el: Add handler to desktop-buffer-mode-handlers. + (dired-restore-desktop-buffer): Remove autoload cookie. + (dired-mode): Add autoload cookie. + + * info.el: Add handler to desktop-buffer-mode-handlers. + (Info-restore-desktop-buffer): Remove autoload cookie. + (Info-mode): Add autoload cookie. + + * mh-e/mh-e.el: Add handler to desktop-buffer-mode-handlers. + (mh-restore-desktop-buffer): Remove autoload cookie. + (mh-folder-mode): Add autoload cookie. + + * mail/rmail.el: Add handler to desktop-buffer-mode-handlers. + (rmail-restore-desktop-buffer): Remove autoload cookie. + +2005-08-11 Masatake YAMATO + + * hexl.el (hexl-address-region): + (hexl-ascii-region, hexl-font-lock-keywords): + (hexl-highlight-line-range): Use the term "region" + instead of "area" for consistency with the other symbols + defined in hexl.el. + +2005-08-09 Luc Teirlinck + + * menu-bar.el (menu-bar-options-save): Move `display-time-mode' to + correct group: it is set with `menu-bar-make-mm-toggle' (pointed + out by Juri Linkov). Add `display-battery-mode'. + +2005-08-09 Juri Linkov + + * progmodes/compile.el (compilation-mode-font-lock-keywords): + Remove `-text' from face variable names. + (compilation-error-file-name, compilation-warning-file-name) + (compilation-info-file-name): Delete faces. + (compilation-line-number, compilation-column-number): + Remove face underlining. + (compilation-message-face): Set to `underline' value by default. + (compilation-error-face, compilation-warning-face) + (compilation-info-face): Remove `-file-name' from face names. + (compilation-error-text-face, compilation-warning-text-face) + (compilation-info-text-face): Delete face variables. + (compilation-text-face): Delete function. + + * progmodes/grep.el (grep-regexp-alist): Use `.+?' instead of `[^:\n]+'. + (grep-mode-font-lock-keywords): Use `.+?' instead of `[^\n-]+'. + (grep-error-face): Set to `compilation-error' instead of + `compilation-error-face' (which is redefined to `grep-hit-face' in + grep buffers). + (grep-mode-font-lock-keywords): Remove `-text' from face variable + names. Use `grep-error-face' instead of `compilation-error-text-face'. + + * dired-aux.el (dired-do-query-replace-regexp): + Use `query-replace-read-args'. + + * replace.el (query-replace-read-from, query-replace-read-to) + (query-replace-read-args): Rename arg `string' to `prompt'. + + * menu-bar.el (menu-bar-showhide-menu): Add `showhide-battery'. + +2005-08-09 Katsumi Yamaoka + + * net/ange-ftp.el (ange-ftp-send-cmd): Make it work properly with + uploading files. + (ange-ftp-canonize-filename): Handle file names beginning with ~ + correctly. + +2005-08-09 Juanma Barranquero + + * textmodes/fill.el (canonically-space-region) + (fill-context-prefix, fill-french-nobreak-p) + (fill-delete-newlines, fill-comment-paragraph) + (justify-current-line): "?\ " -> "?\s". + +2005-08-09 Ben North (tiny change) + + * textmodes/fill.el (fill-nonuniform-paragraphs): + Improve argument/docstring consistency. + +2005-08-09 Richard M. Stallman + + * textmodes/ispell.el (ispell-word): More fboundp checks. + + * files.el (find-file-noselect): Don't call set-buffer-major-mode. + (find-file-noselect-1): Call it here, only if RAWFILE. + (normal-mode): Always set some major mode. + (save-some-buffers-action-alist): Change some explanation strings. + (file-name-non-special): In the `quote' method, use unwind-protect. + +2005-08-09 Magnus Henoch + + * textmodes/ispell.el (ispell-find-aspell-dictionaries): New command. + (ispell-have-aspell-dictionaries): New variable. + (ispell-aspell-data-dir, ispell-aspell-dict-dir): New variables. + (ispell-get-aspell-config-value): New function. + (ispell-aspell-find-dictionary): New function. + (ispell-aspell-add-aliases): New function. + (ispell-valid-dictionary-list): Call ispell-find-aspell-dictionaries if + appropriate. Don't look for ispell dictionaries if we use aspell. + (ispell-menu-map): Don't build a submenu of dictionaries. + +2005-08-09 Richard M. Stallman + + * progmodes/sql.el (sql-interactive-mode-map): Use fboundp. + (sql-read-passwd): Use read-passwd. + + * progmodes/idlw-toolbar.el (idlwave-toolbar) + (idlwave-toolbar-is-possible): Add defvars. + + * progmodes/idlw-shell.el (idlwave-xemacs-hack-mouse-track): + Avoid warnings. + + * progmodes/idlw-rinfo.el (idlwave-system-variables-alist) + (idlwave-system-class-info, idlwave-executive-commands-alist): + Use defvar. + + * progmodes/cc-engine.el (c-guess-basic-syntax): Add autoload. + + * mail/supercite.el (sc-ask, sc-no-blank-line-or-header): + Avoid warnings. + + * mail/rmail.el (rmail-ignored-headers): Don't hide mime-version: + and content-type: headers. + + * eshell/eshell.el (eshell): Avoid warnings about eshell-mode. + + * emacs-lisp/map-ynp.el (map-y-or-n-p): Reorder the options + and rename some of them to be more self-explanatory. + + * calendar/calendar.el (calendar-mode-map): Bind < and > usefully. + + * startup.el (command-line-1): Implement -scriptload. + + * replace.el (occur-engine): Initial *Occur* output not undoable. + + * menu-bar.el (menu-bar-file-menu): Rename some menu items + and improve help strings. + + * isearch.el (isearch-repeat): When changing direction, + mark search successful. + + * ediff-init.el: Use (featurep 'xemacs). + + * comint.el (send-invisible): Identify buffer, if not selected. + + * align.el: Delete autoload for c-guess-basic-syntax. + +2005-08-09 Juanma Barranquero + + * textmodes/refbib.el (r2b-convert-record, r2b-convert-buffer): + Improve argument/docstring consistency. Doc fixes. + (r2b-variables, r2bv-address, r2bv-annote, r2bv-author) + (r2bv-booktitle, r2bv-date, r2bv-decade, r2bv-editor) + (r2bv-entry-kind, r2bv-institution, r2bv-journal, r2bv-keywords) + (r2bv-kn, r2bv-month, r2bv-note, r2bv-number, r2bv-ordering) + (r2bv-organization, r2bv-pages, r2bv-primary-author) + (r2bv-publisher, r2bv-school, r2bv-title, r2bv-title-first-word) + (r2bv-tr, r2bv-type, r2bv-volume, r2bv-where, r2bv-year): + Defvar at compile time. + +2005-08-09 Juri Linkov + + * info.el: Replace `info' with upper-case `Info' where appropriate. + (info-title-1, info-title-2, info-title-3, info-title-4) + (info-menu-header): Move up face definitions. + (info-menu-star): Rename from `info-menu-5'. + (Info-fontify-node): Replace `info-menu-5' with `info-menu-star'. + (Info-fontify-visited-nodes): Fix docstring. + (Info-hide-note-references): Fix docstring. + (Info-up, Info-next-reference, Info-prev-reference): Put cursor on + menu items in the same way as on cross-references. + (info-apropos): Fix sorting order and formatting to be like in the + stand-alone Info browser. Display error messages for 1 sec. + (Info-mode-map): Move down `c' key binding. Bind `^' to `Info-up'. + (Info-mode-menu): Remove item for `Info-search-case-sensitively' + from the menu bar. + (Info-insert-dir): Restore point after calling + `insert-buffer-substring'. + +2005-08-08 Richard M. Stallman + + * emacs-lisp/lmenu.el (lucid-menubar-map, lucid-failing-menubar) + (recompute-lucid-menubar): Add defvars. + + * mail/sendmail.el (mail-yank-original): Use with-no-warnings. + + * mail/reporter.el (reporter-dump-state): Use insert-buffer-substring. + + * net/net-utils.el (run-dig): Rename from `dig'. + + * play/gametree.el (gametree-mode): Use make-local-variable, + not make-variable-buffer-local. + + * progmodes/ada-prj.el (ada-prj-display-page): Use with-no-warnings. + + * ansi-color.el (ansi-color-make-extent) + (ansi-color-set-extent-face): Use fboundp, not functionp. + + * autorevert.el (auto-revert-tail-mode): Use make-local-variable, + not make-variable-buffer-local. + + * bookmark.el (Info-current-file): Add defvar. + (bookmark-jump-noselect): Use with-no-warnings. + + * completion.el (c-mode-map, fortran-mode-map): Add defvars. + + * ebuff-menu.el (Helper-return-blurb): Add defvar. + + * ffap.el (gnus-summary-buffer, gnus-article-buffer): Add defvars. + + * find-file.el (ada-procedure-start-regexp) + (ada-package-start-regexp): Add defvars. + + * info.el (Info-insert-dir): Use insert-buffer-substring. + + * xml.el (xml-att-def-re): Add defvar. + + * icomplete.el (icomplete-exhibit): Adapt to new while-no-input + calling convention. + + * subr.el (while-no-input): Return t if there is input. + +2005-08-08 Luc Teirlinck + + * cus-start.el (all): Add `overflow-newline-into-fringe'. + +2005-08-08 Juanma Barranquero + + * cmuscheme.el (inferior-scheme-mode-hook, inferior-scheme-mode) + (scheme-prev-l/c-dir/file): Fix typos in docstrings. + +2005-08-08 Emilio C. Lopes + + * cmuscheme.el (scheme-start-file): Replace reference to + `user-emacs-directory' by "~/.emacs.d/". + +2005-08-08 Thien-Thi Nguyen + + * info.el (Info-dir-remove-duplicates): Avoid case folding + in loop; instead, keep downcased strings for comparison. + Suggested by Helmut Eller. + +2005-08-07 Michael Albinus + + Sync with Tramp 2.0.50. + + * net/tramp.el: Remove defvar of `last-coding-system-used' in the + XEmacs case; not necessary anymore. + (tramp-user-regexp): Allow "@" as part of user name. + (tramp-handle-set-visited-file-modtime) + (tramp-handle-insert-file-contents) + (tramp-handle-write-region): No special handling for + `last-coding-system-used', because this is done in + `tramp-accept-process-output' now. + (tramp-accept-process-output): New defun. + (tramp-process-one-action, tramp-process-one-multi-action) + (tramp-wait-for-regexp, tramp-wait-for-output) + (tramp-discard-garbage-erase-buffer): Call it. Reported by David + Howells . + (clear-visited-file-modtime): Defadvice removed. The check for + unset buffer's modtime does not need to be based on + `tramp-buffer-file-attributes'. Suggested by RMS. + (tramp-message): Insert "\n" if not being at beginning of line. + (tramp-find-shell): Use `tramp-barf-if-no-shell-prompt' for code + sequence with same logic. + (tramp-completion-handle-expand-file-name): Discard call of + `tramp-drop-volume-letter'. It is not necessary, and there have + been problems with (expand-file-name "~/.netrc" "/") in ange-ftp. + Reported by Richard G. Bielawski . + (tramp-do-copy-or-rename-file-out-of-band): Transfer message + should always be visible. + (tramp-handle-insert-directory, tramp-setup-complete) + (tramp-set-process-query-on-exit-flag) + (tramp-append-tramp-buffers): Pacify byte-compiler. + (tramp-bug): Delete non-existing variables from list. + Apply `tramp-load-report-modules' as pre-hook. + Mask `tramp-password-prompt-regexp', `tramp-shell-prompt-pattern' and + `shell-prompt-pattern' because of non-7bit characters. + Reported by Sebastian Luque . + (tramp-reporter-dump-variable, tramp-load-report-modules): New defuns. + (tramp-match-string-list): Remove function. + (tramp-wait-for-regexp): Remove call of that function. + Suggested by Kim F. Storm . + (tramp-set-auto-save-file-modes): Use octal integer code #o600 + instead of octal character code ?\600. The latter resulted in a + syntax error with XEmacs. + + * net/tramp-smb.el: Remove defvar of `last-coding-system-used' in the + XEmacs case; not necessary anymore. + (tramp-smb-handle-write-region): No special handling for + `last-coding-system-used', because this is done in + `tramp-accept-process-output' now. + (tramp-smb-wait-for-output): Call `tramp-accept-process-output'. + +2005-08-06 Luc Teirlinck + + * wid-edit.el (widget-choice-value-create): + Unconditionally respect user choice. Set :explicit-choice back to nil + when no longer needed. + (widget-choice-action): Unconditionally respect user choice. + Eliminate :explicit-choice-value. + + * fringe.el (set-fringe-indicators-1, fringe-indicators): Delete. + + * menu-bar.el (menu-bar-options-save): Replace `fringe-indicators' + with `indicate-empty-lines' and `indicate-buffer-boundaries'. + (menu-bar-showhide-fringe-menu): Add new item "Empty line indicators" + running new function `toggle-indicate-empty-lines'. + Rename "Customize" item to "Customize fringe". + Rename "Indicators" item to "Buffer boundaries" and change help echo. + (menu-bar-showhide-fringe-ind-menu): Change several help echos. + Add `menu-bar-showhide-fringe-ind-customize' as "Other (customize)". + Delete "Empty lines only" item. + (menu-bar-showhide-fringe-ind-customize): New function. + (menu-bar-showhide-fringe-ind-mixed) + (menu-bar-showhide-fringe-ind-box) + (menu-bar-showhide-fringe-ind-right) + (menu-bar-showhide-fringe-ind-left) + (menu-bar-showhide-fringe-ind-none): Use `indicate-buffer-boundaries' + instead of `fringe-indicators'. + +2005-08-06 Michael Kifer + - * viper.el (viper-emacs-state-mode-list): Add recentf-dialog-mode. - Change the date of last update. ++ * emulation/viper.el (viper-emacs-state-mode-list): ++ Add recentf-dialog-mode. Change the date of last update. + +2005-08-06 Michael Kifer + - * viper-cmd.el (viper-harness-minor-mode, viper-exec-delete) ++ * emulation/viper-cmd.el (viper-harness-minor-mode, viper-exec-delete) + (viper-exec-yank, viper-put-back): Don't display modification msg + if in the minibuffer. + - * viper-init.el (viper-replace-overlay-cursor-color) ++ * emulation/viper-init.el (viper-replace-overlay-cursor-color) + (viper-insert-state-cursor-color, viper-vi-state-cursor-color): + Make variables frame local. + - * viper-util.el (viper-append-filter-alist): Use append instead of - nconc. ++ * emulation/viper-util.el (viper-append-filter-alist): ++ Use append instead of nconc. + - * viper.el (viper-vi-state-mode-list) ++ * emulation/viper.el (viper-vi-state-mode-list) + (viper-emacs-state-mode-list): Move help-mode and + completion-list-mode from the first list to the second. + (viper-mode): Docstring. + (viper-go-away, viper-non-hook-settings): Don't localize + minor-mode-alist in newer Emacsen. Add advice to + set-cursor-color. Don't bind "\C-c\\". + +2005-08-06 Emilio C. Lopes + + * cmuscheme.el (scheme-trace-command, scheme-untrace-command) + (scheme-macro-expand-command): New user options. + (scheme-trace-procedure, scheme-expand-current-form): New commands. + (scheme-form-at-point, scheme-start-file) + (scheme-interactively-start-process): New functions. + (scheme-get-process): New function, extracted from `scheme-proc'. + (run-scheme): Call `scheme-start-file' to get start file, and pass + it to `make-comint'. + (switch-to-scheme, scheme-proc): + Call `scheme-interactively-start-process' if no Scheme buffer/process + is available. + +2005-08-06 Juri Linkov + + * progmodes/compile.el (compilation-mode-font-lock-keywords): + Use `compilation-text-face', `compilation-info-text-face' and + `compilation-error-text-face' instead of `font-lock-keyword-face'. + (compilation-error): New face. + (compilation-error-file-name): Inherit from + `compilation-error' instead of `font-lock-warning-face'. + (compilation-warning-file-name): Inherit from + `compilation-warning' instead of `font-lock-warning-face'. + (compilation-info, compilation-error-file-name) + (compilation-warning-file-name, compilation-info-file-name) + (compilation-line-number, compilation-column-number): Doc fix. + (compilation-error-text-face, compilation-warning-text-face) + (compilation-info-text-face): New face variables. + (compilation-line-face, compilation-column-face) + (compilation-enter-directory-face) + (compilation-leave-directory-face): Doc fix. + (compilation-text-face): New function. + + * progmodes/grep.el (grep-regexp-alist): Set 5th arg `TYPE' to 0 + instead of 1 to display binary file names as info file links. + (grep-error-face): Use `compilation-error-face' instead of + `font-lock-keyword-face'. + (grep-mode-font-lock-keywords): Use `compilation-info-text-face' + and `compilation-warning-text-face' instead of + `font-lock-keyword-face'. Use `compilation-error-text-face' + instead of `grep-error-face'. + +2005-08-05 Kenichi Handa + + * international/code-pages.el: Add autoload cookies for all coding + systems. + +2005-08-04 Luc Teirlinck + + * cus-start.el (all): Put undo.c where it alphabetically belongs. + +2005-08-04 Juri Linkov + + * progmodes/compile.el (compilation-mode-map): + * progmodes/grep.el (grep-mode-map): + Bind TAB to `compilation-next-error' and [backtab] to + `compilation-previous-error'. + + * progmodes/grep.el (grep-regexp-alist): Replace complex regexp + matching line numbers, column numbers and their ranges with regexp + matching only line numbers. + (grep-context-face): New face variable. + (grep-mode-font-lock-keywords): Use it. + + * faces.el (read-face-name): Delete duplicate faces. + +2005-08-02 Juanma Barranquero + + * thumbs.el (thumbs-find-image): Don't make variables + automatically buffer local. + (thumbs-current-tmp-filename, thumbs-current-image-filename) + (thumbs-image-num): Make automatically buffer local. + (thumbs-show-thumbs-list): Use `make-local-variable', not + `make-variable-buffer-local'. + (thumbs-insert-image): Make `thumbs-current-image-size' buffer-local. + + * play/doctor.el (doctor-type-symbol): "?\ " -> "?\s". + (**mad**, *debug*, *print-space*, *print-upcase*, abuselst) + (abusewords, account, afraidof, arerelated, areyou, bak, beclst) + (bother, bye, canyou, chatlst, continue, deathlst, describe) + (drnk, drugs, eliza-flag, elizalst, famlst, feared, fears) + (feelings-about, foullst, found, hello, history, howareyoulst) + (howdyflag, huhlst, ibelieve, improve, inter, isee, isrelated) + (lincount, longhuhlst, lover, machlst, mathlst, maybe, moods) + (neglst, obj, object, owner, please, problems, qlist) + (random-adjective, relation, remlst, repetitive-shortness) + (replist, rms-flag, schoollst, sent, sexlst, shortbeclst) + (shortlst, something, sportslst, stallmanlst, states, subj) + (suicide-flag, sure, things, thlst, toklst, typos, verb, want) + (whatwhen, whereoutp, whysay, whywant, zippy-flag, zippylst): + Defvar at compile time. + + * progmodes/ada-mode.el (ada-mode): Use `make-local-variable', + not `make-variable-buffer-local'. + +2005-08-02 Kim F. Storm + + * emulation/cua-rect.el (cua--highlight-rectangle): Only show + rectangle overlay in selected window. + +2005-08-01 Luc Teirlinck + + * cus-start.el (all): Put `indicate-empty-lines' in fringe group + instead of display group. Make `indicate-buffer-boundaries' + customizable through Custom. + +2005-08-01 Juanma Barranquero + + * progmodes/gdb-ui.el (gdb-frame-address, gdb-var-changed) + (gdb-output-sink, gdba, gdb-cpp-define-alist-program) + (gdb-set-gud-minor-mode, gdb-exited, gdb-setup-windows) + (gdb-put-string): Fix typos in docstrings. + +2005-08-01 Nick Roberts + + Update copyright notices of files in progmodes directory for + release of Emacs 22.1. + + * progmodes/gdb-ui.el (gdb-enable-debug-log): Add autoload cookie. + + * progmodes/gud.el (gud-tooltip-mode): Add autoload cookie. + Don't barf if the GUD buffer has been killed. + +2005-08-01 Kim F. Storm + + * textmodes/table.el (table-yank-handler): Change defcustom to defvar. + +2005-07-29 Stefan Monnier + + * simple.el (next-error-follow-minor-mode): + make-variable-buffer-local -> make-local-variable. + + * emacs-lisp/cl-extra.el: Require CL also when compiling. + + * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local) + (byte-compile-form-make-variable-buffer-local): New functions to warn + about misuses of make-variable-buffer-local where make-local-variable + was meant. + +2005-07-29 Juanma Barranquero + + * bs.el (bs-attributes-list): Doc fix. + (bs): Update url-link. + + * desktop.el (desktop-save-buffer): Fix typos in docstring. + (desktop-load-default): Simplify. + + * ibuffer.el (ibuffer-columnize-and-insert-list) + (ibuffer-mouse-toggle-mark, ibuffer-count-marked-lines) + (ibuffer-unmark-all, ibuffer-toggle-marks) + (ibuffer-unmark-forward, ibuffer-unmark-backward) + (ibuffer-compile-make-format-form, ibuffer-format-column) + (ibuffer-current-buffers-with-marks) + (ibuffer-update-title-and-summary): "?\ " -> "?\s". + (ibuffer): Doc fix. + (ibuffer-mode): Fix typo in docstring. + (ibuffer-hooks, ibuffer-mode-hooks): Make obsolete and declare + with `define-obsolete-variable-alias'. + (ibuffer-elide-long-columns): Mark as obsolete. Doc fix. + +2005-07-29 Kenichi Handa + + * international/mule-cmds.el (select-message-coding-system): + Be sure to use LF for end-of-line. If no coding system is decided, + return iso-8859-1-unix. + +2005-07-28 Stefan Monnier + + * net/ange-ftp.el (ange-ftp-gateway-fatal-msgs) + (ange-ftp-pending-error-line): New vars. + (ange-ftp-process-handle-line, ange-ftp-process-filter): Use them + to handle the non-fatal no-route-to-host messages. + (internal-ange-ftp-mode): Make the no-match regexp more efficient. + +2005-07-28 Juanma Barranquero + + * isearch.el (isearch-mode-map, isearch-other-meta-char) + (isearch-quote-char, isearch-printing-char) + (isearch-text-char-description): "?\ " -> "?\s". + (isearch-lazy-highlight-cleanup) + (isearch-lazy-highlight-initial-delay) + (isearch-lazy-highlight-interval) + (isearch-lazy-highlight-max-at-a-time) + (isearch-lazy-highlight-face, isearch-lazy-highlight-cleanup): + Declare with define-obsolete-*-alias macros. + (isearch-forward): Fix typo in docstring. + (search-invisible, search-ring-yank-pointer) + (regexp-search-ring-yank-pointer): Doc fixes. + + * recentf.el (recentf-menu-append-commands-p): Declare with + `define-obsolete-variable-alias'. + (recentf-max-saved-items, recentf-menu-filter) + (recentf-arrange-by-rule-subfilter): Doc fixes. + (recentf-menu-append-commands-flag) + (recentf-initialize-file-name-history, recentf-expand-file-name) + (recentf-clear-data): Fix typos in docstrings. + +2005-07-28 Nick Roberts + + * progmodes/gdb-ui.el: Smarten comments. + (gdb-info-breakpoints-custom): Use nowarn when finding file. + +2005-07-27 Dan Nicolaescu + + * term/apollo.el (terminal-init-apollo): New function containing + all former top level forms in the file. + * term/bobcat.el (terminal-init-bobcat): + * term/cygwin.el (terminal-init-cygwin): + * term/iris-ansi.el (terminal-init-iris-ansi): + * term/linux.el (terminal-init-linux): + * term/news.el (terminal-init-news): + * term/rxvt.el (terminal-init-rxvt): + * term/sun.el (terminal-init-sun): + * term/tvi970.el (terminal-init-tvi970): + * term/vt100.el (terminal-init-vt100): + * term/vt102.el (terminal-init-vt102): + * term/vt125.el (terminal-init-vt125): + * term/vt200.el (terminal-init-vt200): + * term/vt201.el (terminal-init-vt201): + * term/vt220.el (terminal-init-vt220): + * term/vt240.el (terminal-init-vt240): + * term/vt300.el (terminal-init-vt300): + * term/vt320.el (terminal-init-vt320): + * term/vt400.el (terminal-init-vt400): + * term/vt420.el (terminal-init-vt420): + * term/wyse50.el (terminal-init-wyse50): + * term/xterm.el (terminal-init-xterm): Likewise. + + * term/README: Describe the terminal-init-* functionality. + + * startup.el (command-line): After loading the terminal initialization + file call the corresponding terminal initialization function. + +2005-07-27 Kenichi Handa + + * ps-bdf.el (bdf-read-font-info): Ignore glyphs whose ENCODING is + negative. + + * ps-mule.el (ps-mule-bitmap-prologue): Fix arguments to setcharwidth. + (ps-mule-composition-prologue): Fix for the case that + RelativeCompose is false. + +2005-07-26 Stefan Monnier + + * smerge-mode.el (smerge-ediff): Use insert-buffer-substring. + + * descr-text.el (describe-char): Handle the case where the list of + chars is displayed in a separate frame. + Be a bit more discriminating when looking for the char. + +2005-07-26 Juanma Barranquero + + * bookmark.el (bookmark-automatically-show-annotations) + (bookmark-read-annotation-text-func): Doc fixes. + (bookmark-save): Improve argument/docstring consistency. + (bookmark-get-bookmark, bookmark-get-bookmark-record) + (bookmark-alist-from-buffer) + (bookmark-upgrade-file-format-from-0) + (bookmark-grok-file-format-version) + (bookmark-maybe-upgrade-file-format, bookmark-kill-line) + (bookmark-read-annotation-mode) + (bookmark-insert-current-bookmark, bookmark-jump) + (bookmark-exit-hook): Fix typos in docstrings. + (bookmark-exit-hooks): Define as obsolete alias. + (bookmark-exit-hook-internal): Run `bookmark-exit-hook', + not `bookmark-exit-hooks'. Fix docstring. + (bookmark-bmenu-select): "?\ " -> "?\s". + +2005-07-25 Ari Roponen (tiny change) + + * startup.el (command-line): Fix typo. + +2005-07-24 Richard M. Stallman + + * tooltip.el (tooltip-mode): Test emacs-basic-display, + not emacs-quick-startup. + +2005-07-24 Juanma Barranquero + + * emacs-lisp/re-builder.el (reb-with-current-window): Delete. + (reb-next-match, reb-show-subexp): Use `with-selected-window' + instead of `reb-with-current-window'. + (reb-prev-match): Likewise. Also, don't move left if the search + was unsuccessful. + (reb-initialize-buffer): New function. + (re-builder, reb-change-syntax): Use it. + + * man.el (Man-goto-page): Make second argument NOERROR optional. + +2005-07-23 Richard M. Stallman + + * man.el (Man-bgproc-sentinel): Check here for failure to find + any man page in the output, and report the error here. + (Man-arguments): Make it permanent local. + (Man-goto-page): New arg NOERROR. Never kill the current buffer. + (Man-mode): Pass t for NOERROR. + + * progmodes/grep.el (grep-error-face): Use font-lock-keyword-face. + (grep-mode-font-lock-keywords): + Don't use compilation-...-face for messages that are not file names. + + * progmodes/compile.el (compilation-mode-font-lock-keywords): + Don't use compilation-...-face for messages that are not file names. + +2005-07-22 Juri Linkov + + * startup.el (normal-splash-screen): Update menu name. + + * tempo.el (tempo-insert-template): Fix 2005-07-16 change. + +2005-07-22 Dan Nicolaescu + + * term/xterm.el: Load term/rxvt if the terminal is actually an + rxvt terminal. + (xterm-rxvt-set-background-mode): Remove, not used anymore. + + * term/rxvt.el (function-key-map): Use substitute-key-definition + to bind {C,S,C-S}-{f1-f10}. Add a few missing key bindings. + + * term/cygwin.el: New file. + +2005-07-22 Kim F. Storm + + * image-file.el (insert-image-file, image-file-yank-handler): + Fix last change to maintain a (unique) yank-handler on yanked images. + +2005-07-22 Eduardo Mu,Aq(Boz (tiny change) + + * dired.el (dired-move-to-filename-regexp): Recognize the B suffix + of the file size (as in "177B" for 177 bytes). This happens with + "ls -lh" on FreeBSD. + +2005-07-22 Juanma Barranquero + + * hilit-chg.el (highlight-changes-global-initial-state) + (highlight-compare-buffers, hilit-chg-turn-on-maybe) + (hilit-chg-fixup, highlight-changes-mode): + Fix typos in docstrings. + (highlight-changes-global-modes, highlight-changes-rotate-faces): + Doc fixes. + +2005-07-21 Luc Teirlinck + + * emacs-lisp/easy-mmode.el (define-minor-mode): Never call the + mode function using `eval-after-load'. + +2005-07-21 Kim F. Storm + + * mail/emacsbug.el (report-emacs-bug): Request that backtraces are + included when reporting an Emacs crash, and tell about the DEBUG file. + + * image-file.el (insert-image-file): Add yank-handler. + (image-file-yank-handler): Yank handler to make unique copies of + images when they are yanked into a buffer next to each other. + +2005-07-21 Juanma Barranquero + + * comint.el (comint-use-prompt-regexp, comint-send-input) + (comint-source-default, comint-extract-string) + (comint-get-source, comint-word, comint-completion) + (comint-source, comint-prompt-read-only, comint-update-fence): + Fix typos in docstrings. + (comint-use-prompt-regexp-instead-of-fields, comint-kill-output): + Declare with define-obsolete-*-alias macros. + (comint-previous-matching-input-from-input) + (comint-next-matching-input-from-input) + (comint-previous-matching-input, comint-next-matching-input) + (comint-forward-matching-input): + Improve argument/docstring consistency. + + * desktop.el (desktop-clear-preserve-buffers-regexp): + Also preserve the *server* buffer. + + * simple.el (clone-indirect-buffer): Doc fix. + (fixup-whitespace, just-one-space) + (backward-delete-char-untabify, lambda): "?\ " -> "?\s". + (next-error, next-error-highlight) + (next-error-highlight-no-select, next-error-last-buffer) + (next-error-buffer-p, next-error-find-buffer, next-error) + (previous-error, next-error-no-select, previous-error-no-select) + (open-line, split-line, minibuffer-prompt-width, kill-new) + (binary-overwrite-mode): Fix typos in docstrings. + (set-fill-column): Fix typo in message. + + * skeleton.el (skeleton-proxy-new): Doc fix. + + * strokes.el (strokes-load-hook): Doc fix. + (strokes-grid-resolution, strokes-get-grid-position) + (strokes-renormalize-to-grid, strokes-read-stroke) + (strokes-read-complex-stroke, strokes-file, strokes-last-stroke) + (strokes-global-map): Fix typos in docstrings. + (strokes-help): Doc fix. Fix help message and pass it through + `substitute-command-keys'. + + * tempo.el (tempo-insert-prompt, tempo-interactive) + (tempo-show-completion-buffer, tempo-tags, tempo-match-finder) + (tempo-insert-string-functions, tempo-local-tags) + (tempo-define-template, tempo-insert-template) + (tempo-insert-prompt-compat, tempo-is-user-element) + (tempo-insert-mark, tempo-find-match-string, tempo-complete-tag): + Fix typos in docstrings. + + * vcursor.el (vcursor-other-window, vcursor-bind-keys) + (vcursor-key-bindings, vcursor-use-vcursor-map) + (vcursor-find-window, vcursor-scroll-down) + (vcursor-disable, vcursor-beginning-of-buffer) + (vcursor-end-of-buffer): Fix typos in docstrings. + (vcursor-relative-move, vcursor-get-char-count): + Improve argument/docstring consistency. + + * version.el: "?\ " -> "?\s". + + * wid-edit.el (widget-default-create, widget-after-change) + (widget-default-format-handler, widget-checklist-add-item) + (widget-radio-add-item, widget-choose, widget-specify-secret) + (widget-field-value-create, widget-field-value-get) + (widget-editable-list-format-handler) + (widget-editable-list-entry-create, widget-group-value-create) + (widget-documentation-link-add) + (widget-documentation-string-value-create): "?\ " -> "?\s". + (widget-convert-text): Doc fix. + (widget-narrow-to-field, widget-field-find) + (widget-url-link-action, widget-emacs-library-link-action) + (widget-color-notify): Fix typos in docstrings. + + * w32-fns.el (w32-shell-name): Use `bound-and-true-p'. + (x-select-text, set-w32-system-coding-system) + (w32-add-charset-info): Fix typos in docstrings. + + * emulation/cua-base.el (cua-mode, cua-enable-register-prefix) + (cua-enable-cua-keys, cua-use-hyper-key) + (cua-virtual-rectangle-edges): Fix typos in docstrings. + (cua--M/H-key, cua--init-keymaps): "?\ " -> "?\s". + + * net/tramp.el (tramp-handle-load): Fix typo in error message. + + * emacs-lisp/re-builder.el (regexp-builder): Declare with + `defalias' instead of faking it. + + * eshell/em-ls.el (eshell-ls-decorated-name): Doc fix. + (eshell-ls-missing, eshell-ls-dired-initial-args) + (eshell-ls-use-in-dired): Fix typos in docstrings. + +2005-07-20 Kim F. Storm + + * emulation/cua-base.el (cua-mode): Improve doc string. + +2005-07-20 Juanma Barranquero + + * abbrev.el (expand-region-abbrevs): Doc fix. + (inverse-add-mode-abbrev, inverse-add-global-abbrev): + Improve argument/docstring consistency. + + * arc-mode.el (archive-get-descr, archive-alternate-display): + Doc fixes. + (archive-l-e): Improve argument/docstring consistency. + (archive-tmpdir, archive-unixdate, archive-unixtime) + (archive-chmod-entry): Fix typos in docstrings. + (archive-unflag, archive-unflag-backwards) + (archive-unmark-all-files): "?\ " -> "?\s". + + * buff-menu.el (Buffer-menu-unmark): Doc fix. + (Buffer-menu-not-modified, Buffer-menu-execute) + (Buffer-menu-toggle-read-only, Buffer-menu-buffer+size) + (list-buffers-noselect, Buffer-menu-select): "?\ " -> "?\s". + + * composite.el (compose-string, encode-composition-rule) + (compose-last-chars): Fix typos in docstrings. + + * desktop.el (desktop-enable, desktop-basefilename): + Declare with `define-obsolete-variable-alias'. + (desktop-internal-v2s): Don't quote keywords. + (desktop-clear): "?\ " -> "?\s". + + * dired.el (dired-align-file, dired-flag-backup-files) + (dired-change-marks, dired-unmark-all-files): "?\ " -> "?\s". + (dired-listing-switches, dired-ls-F-marks-symlinks) + (dired-dwim-target, dired-load-hook, dired-mode-hook) + (dired-directory, dired-faces, dired, dired-revert) + (dired-mode, dired-summary, dired-view-file) + (dired-copy-filename-as-kill, dired-delete-file) + (dired-no-confirm, dired-unmark-all-marks) + (dired-sort-by-date-regexp, dired-sort-by-name-regexp) + (dired-sort-inhibit, dired-sort-other): Fix typos in docstrings. + (dired-undo, dired-get-file-for-visit, dired-sort-toggle-or-edit): + Fix typos in message strings. + + * dired-x.el (virtual-dired): Declare with `defalias'. + (dired-mark-unmarked-files, dired-local-variables-file) + (dired-omit-here-always): Doc fix. + (dired-omit-mode, dired-find-subdir) + (dired-enable-local-variables, dired-clean-up-buffers-too) + (dired-extra-startup, dired-mark-extension, dired-jump) + (dired-jump-other-window, dired-omit-localp, dired-virtual-mode) + (dired-smart-shell-command, dired-guess-shell-alist-user) + (dired-man, dired-initial-position, dired-x-hands-off-my-keys) + (dired-x-bind-find-file, dired-x-submit-report): + Fix typos in docstrings. + (dired-mark-unmarked-files): "?\ " -> "?\s". + + * dirtrack.el (dirtrack-list): Fix typos in docstring. + + * faces.el (describe-face): "?\ " -> "?\s". + (read-all-face-attributes, read-face-font, modify-face) + (face-attr-construct, italic): Fix typos in docstrings. + (frame-update-face-colors): Declare with + `define-obsolete-function-alias'. + + * files.el (find-file-noselect, recode-file-name): Doc fixes. + (insert-directory, kill-some-buffers): "?\ " -> "?\s". + (magic-mode-alist, buffer-file-numbers-unique) + (write-file-functions, get-free-disk-space): + Fix typos in docstrings. + (find-file-not-found-hooks, find-file-hooks, write-file-hooks) + (write-contents-hooks, write-file-hooks): + Declare with `define-obsolete-variable-alias'. + + * forms-d2.el (arch-rj): Fix typo in docstrings. + (arch-tocol): Likewise. "?\ " -> "?\s". + + * frame.el (set-frame-font, cursor-in-non-selected-windows): + Fix typo in docstring. + (set-screen-width, set-screen-height): Delete redundant info in + doctrings. + (new-frame, screen-height, screen-width): Declare with + `define-obsolete-function-alias'. + (delete-frame-hook, blink-cursor): Declare with + `define-obsolete-variable-alias'. + + * paths.el (prune-directory-list): Fix typos in docstring. + + * pcvs-util.el (cvs-flags-query, cvs-strings->string) + (cvs-prefix-get): Fix typos in docstrings. + + * ps-print.el (ps-extend-face-list, ps-extend-face) + (ps-print-background-image): Fix typos in docstrings. + (ps-default-fg, ps-default-bg): Doc fixes. + + * s-region.el (s-region-bind): Doc fix. + (s-region-move-p1, s-region-move-p2): Fix typos in docstrings. + + * textmodes/org.el (org-table-formula-substitute-names) + (org-table-get-vertical-vector): Doc fixes. + (org-table-recalculate): Remove unused argument to `message'. + +2005-07-19 Carsten Dominik + + * textmodes/org.el (org-table-column-names) + (org-table-column-name-regexp) + (org-table-named-field-locations): New variables. + (org-archive-subtree): Protect `this-command' when calling + `org-copy-subtree' and `org-cut-subtree', to avoid appending to + the kill buffer. + (org-complete): Remove fixed-formula completion. + (org-edit-formulas-map): New variable. + (org-table-edit-formulas): New command. + (org-finish-edit-formulas, org-abort-edit-formulas) + (org-show-variable, org-table-get-vertical-vector): New functions. + (org-table-maybe-eval-formula): Handle `:=' fields. + (org-table-get-stored-formulas, org-table-store-formulas) + (org-table-get-formula, org-table-modify-formulas) + (org-table-replace-in-formulas): Handle named field formulas. + (org-table-get-specials): Store locations of named fields. + +2005-07-19 Juri Linkov + + * progmodes/grep.el (grep-regexp-alist) + (grep-mode-font-lock-keywords, grep-process-setup): + Use default GNU grep match color "01;31m" instead of "01;41m". + (grep-regexp-alist, grep-mode-font-lock-keywords): + Use `\\[[0-9]*m' instead of `\\[00m'. + (grep-regexp-alist): Move `\\(?:\033\\[K\\)?' from sgr_end to + sgr_start where its handling is more important. Use the real + length of sgr_start instead of constant 8. + (grep-mode-font-lock-keywords): Don't delete `\\(?:\033\\[K\\)?' + specially. Delete all remaining escape sequences. + (grep-process-setup): Set "GREP_COLORS" for GNU grep 2.5.1-cvs. + (grep-regexp-alist): Make hyperlink only for binary file name + instead of the whole line. + (grep-mode-map): Bind `backtab' to `compilation-previous-file'. + (grep-mode): Add autoload. + + * emacs-lisp/find-func.el (find-function-regexp): + Add `define-compilation-mode'. + +2005-07-19 Juri Linkov + + * compare-w.el (compare-ignore-whitespace, compare-windows-sync) + (compare-windows-sync-string-size, compare-windows-recenter) + (compare-windows-highlight, compare-windows): Add version 22.1. + (compare-windows) : Inherit from lazy-highlight instead + of duplicating its default value. + + * cus-edit.el (custom-mode-map): Bind `C-c C-c' to `Custom-set'. + (Custom-mode-menu): Use `info' instead of `Info-goto-node'. + + * descr-text.el (describe-char): Create link buttons for `charset' + and `code point'. Add the current input method name with a link + button to `to input' field. Print face names of display table + characters in `The display table entry is displayed by' section + instead of printing face-id in the `display' field. + Guess hardcoded faces and create a link button for them. + Skip empty fields when calculating max-width. + Treat `widget-create' specially while inserting strings from the + collected field list. + (describe-char-after): Made obsolete in version 22.1, not 21.5. + + * diff-mode.el (diff-file-header): Change foreground color from + yellow to green on light backgrounds. + (diff-context): Inherit from `shadow' only for color/grayscale + with more than 88 colors. + (diff-indicator-removed, diff-indicator-added) + (diff-indicator-changed): New faces. + (diff-font-lock-keywords): Use new faces. Regroup rules. + Add "^---$" for `normal' diff format. Fontify `#' lines with + font-lock-comment-delimiter-face and font-lock-comment-face. + Add `#' to ^[^...] in the rule for `diff-context-face'. + + * faces.el (mode-line-highlight): Replace RoyalBlue4 with + a button-like box. Inherit from `highlight' on low colors. + (shadow): Use shades of gray only for color/grayscale with + more than 88 colors. Use green for light backgrounds with + 8 colors, and yellow for dark backgrounds with 8 colors. + + * font-lock.el (font-lock-regexp-grouping-backslash): + Don't inherit from escape-glyph (use bold for all cases). + + * info.el (info-xref-visited): Use light foreground color `violet' + for dark backgrounds instead of dark color `magenta3'. + (info-title-1): Use `yellow' color for dark backgrounds. + + * isearch.el (isearch): Use not-too-dark magenta3 instead of + too-light magenta2. + + * replace.el (match): Use slightly more light RoyalBlue3 instead + of dark RoyalBlue4. + + * wid-edit.el (widget-inactive): Inherit from `shadow'. + +2005-07-19 Juanma Barranquero + + * novice.el (disabled-command-hook): Declare it with + `define-obsolete-variable-alias'. + + * desktop.el (desktop-enable, desktop-buffer-modes-to-save) + (desktop-buffer-misc-functions, desktop-buffer-handlers) + (desktop-load-default): Add release to obsolescence info. + (desktop-globals-to-clear, desktop-buffer-mode-handlers) + (desktop-append-buffer-args, desktop-read): + Fix typos in docstrings. + (desktop-kill): Fix typo in message. + (desktop-save): Doc fix. + +2005-07-19 Michael Kifer + - * viper-cmd.el (viper-escape-to-state): Bug fix. ++ * emulation/viper-cmd.el (viper-escape-to-state): Bug fix. + (viper-envelop-ESC-key): Change the definition of fast + keysequence so it'll work with keyboard macros. + + * ediff.el (ediff-patch-buffer): Change the docstring. + +2005-07-19 Kenichi Handa + + * international/mule-cmds.el (select-safe-coding-system): Try to + use an auto-coding (if any) before anything else. If the found + auto-coding is invalid, show a warning message. + + * international/mule.el (find-auto-coding): New function created + by modifying the body of set-auto-coding. + (set-auto-coding): Use find-auto-coding to find a coding. + +2005-07-18 Richard M. Stallman + + * allout.el (allout-isearch-expose): Use isearch-mode-end-hook-quit, + not isearch-mode-end-hook-error. + (allout-before-change-protect): Fix error message. + +2005-07-18 Juri Linkov + + * allout.el (allout-mode): + * calculator.el (calculator-copy): + * custom.el (custom-known-themes): + * dired.el (dired-desktop-buffer-misc-data) + (dired-restore-desktop-buffer): + * dired-x.el (dired-omit-marker-char): + * files.el (basic-save-buffer): + * font-core.el (font-lock-mode): + * calendar/calendar.el (calendar-goto-hebrew-date) + (calendar-goto-coptic-date, calendar-goto-ethiopic-date) + (calendar-goto-persian-date): + * language/ethio-util.el (ethio-sera-to-fidel-region): + * textmodes/picture.el (picture-mode): + Delete duplicate duplicate words. + +2005-07-18 Juri Linkov + + * isearch.el (isearch-mode-map): Remove key bindings for regexp + chars * ? } |. + (isearch-fallback): Don't call `isearch-process-search-char'. + (isearch-*-char, isearch-}-char, isearch-|-char): Remove functions. + (isearch-process-search-char): Call `isearch-fallback' for regexp + chars * ? } |. + (isearch-return-char): Make obsolete with `make-obsolete' instead + of simply documenting it as obsolete in the docstring. + (isearch-fallback): Refill docstring. + + * international/isearch-x.el + (isearch-process-search-multibyte-characters): Remove unneeded + `concat'. Add intermediate values to `junk-hist' instead of + `minibuffer-history'. Test the length of `str'. + +2005-07-18 Juanma Barranquero + + * allout.el (allout-resolve-xref): Fix typos in error strings. + (allout-before-change-protect): Remove unneeded `concat'. + + * array.el (array-mode, array-reconfigure-rows) + (untabify-backward): Fix typos in docstrings. + (array-reconfigure-rows): Use `insert-buffer-substring', not + `insert-buffer'. + + * calendar/icalendar.el (icalendar--get-unfolded-buffer): + * progmodes/ada-mode.el (ada-make-body): + Use `insert-buffer-substring' and `goto-char', not `insert-buffer'. + + * dired.el (dired-log): + * tar-mode.el (tar-subfile-save-buffer): + * play/zone.el (zone-pgm-stress-destress): + Use `insert-buffer-substring', not `insert-buffer'. + +2005-07-17 Simon Josefsson + + * mail/smtpmail.el (smtpmail-auth-supported): Prefer PLAIN over LOGIN. + +2005-07-16 Jose E. Marchesi + - * lisp/mail/smtpmail.el (smtpmail-auth-supported): - Add plain auth method. ++ * mail/smtpmail.el (smtpmail-auth-supported): Add plain auth method. + (smtpmail-try-auth-methods): Add AUTH PLAIN dialog. + +2005-07-17 Kim F. Storm + + * ido.el (dired-other-window): Add ido property. + +2005-07-16 Juanma Barranquero + + * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): + Fix typo in docstring. + (byte-compile-interactive-only-functions): Add `insert-buffer' and + `insert-file-literally'. + + * emacs-lisp/edebug.el (def-edebug-form-spec): Add obsolescence + info and delete redundant message. Doc fix. + (edebug-install-custom-print-funcs, edebug-reset-print-funcs) + (edebug-uninstall-custom-print-funcs): Define as obsolete aliases. + +2005-07-16 Richard M. Stallman + + * emacs-lisp/bytecomp.el (byte-compile-and-recursion): New function. + (byte-compile-and): Use byte-compile-and-recursion. + (byte-compile-or-recursion): New function. + (byte-compile-or): Use that. + (byte-compile-if): Guard the else-clause too. + (byte-compile-maybe-guarded): Handle (not (featurep 'emacs)). + + * isearch.el (isearch-mode-end-hook-quit): New variable. + (isearch-done): Bind it. + (isearch-mode-end-hook): Doc fix. + + * allout.el (allout-isearch-did-quit): Variable deleted. + (allout-real-isearch-abort): Function name no longer used. + (allout-mode): Do allout-enwrap-isearch whenever feature is wanted. + (allout-isearch-rectification): isearch-mode always exists. + Don't set allout-isearch-did-quit. + (allout-isearch-expose): Check isearch-mode-end-hook-error, not + allout-isearch-did-quit. + (allout-enwrap-isearch): Just add the hook. + (allout-isearch-abort): Function deleted. + (allout-pre-command-business): Avoid warning. + + * progmodes/pascal.el (pascal-outline-map): Use fboundp, not boundp. + Correctly avoid warnings. + (pascal-outline): Likewise. + + * progmodes/f90.el (f90-abbrev-start): Avoid warning. + + * progmodes/asm-mode.el (asm-comment): Use with-no-warnings. + + * play/tetris.el (tetris-mode): Avoid warning. + + * play/snake.el (snake-mode): Avoid warning. + + * play/gamegrid.el (gamegrid-shared-game-dir): Add defvar. + (gamegrid-set-display-table): Avoid warning. + (gamegrid-set-timer): Likewise. + (gamegrid-make-mono-tty-face): Use set-face-inverse-video-p. + (gamegrid-add-score-with-update-game-score-1): Take FILE + as argument. + (gamegrid-add-score-with-update-game-score): Pass that argument. + Rename have-shared-game-dir to gamegrid-shared-game-dir. + + * net/eudc-hotlist.el (eudc-hotlist-mode): Avoid warnings. + + * net/eudc-bob.el (eudc-jump-to-event): Avoid warning. + (eudc-bob-display-jpeg, eudc-bob-can-display-inline-images): Likewise. + + * mail/uce.el (uce-reply-to-uce): Replace beginning-of-buffer + and insert-file. + + * mail/supercite.el (sc-no-blank-line-or-header): Avoid warning. + (sc-ask): Avoid warnings. + + * eshell/em-hist.el (eshell-rebind-keys-alist): Add defvar. + (eshell-hist-initialize): Use that var the natural way. + + * emulation/viper-init.el (viper-activate-input-method): Avoid warning. + + * emacs-lisp/re-builder.el (reb-cook-regexp): + Avoid warning calling lre-compile-string. + (reb-color-display-p): Avoid warning. + + * calculator.el (calculator-last-input): Guard uses + of event-key and key-press-event-p. + (event-key, key-press-event-p): Delete definitions. + + * emacs-lisp/find-gc.el (find-gc-unsafe-list) + (find-gc-source-directory, find-gc-subrs-callers) + (find-gc-noreturn-list, find-gc-source-files) + (find-gc-subrs-called): Vars renamed and defvar'd. + + * emacs-lisp/checkdoc.el (checkdoc-make-overlay) + (checkdoc-overlay-put, checkdoc-delete-overlay) + (checkdoc-overlay-start, checkdoc-overlay-end) + (checkdoc-mode-line-update, checkdoc-char=): + Define such that compiler knows they are defined. + (checkdoc-call-eval-buffer): Delete. Use eval-buffer directly. + (checkdoc-read-event): Delete. Use read-event directly. + + * whitespace.el (whitespace-make-overlay) + (whitespace-overlay-put, whitespace-delete-overlay) + (whitespace-overlay-start, whitespace-overlay-end): + Define such that compiler knows they are defined. + (whitespace): Move conditional inside. + + * tempo.el (tempo-insert-template): Suppress warning. + + * ediff-diff.el (longlines-mode): Add defvar. + +2005-07-16 Gary Howell (tiny change) + + * server.el: Bind "C-x #" in a way that works even if C-x is + redefined to a command key, not a prefix key. + +2005-07-16 Johan Bockg,Ae(Brd (tiny change) + + * emacs-lisp/cl-macs.el (cl-make-type-test): Defer evaluation of + cl-make-type-test till execution time. + +2005-07-16 Markus Rost + + * dired-x.el (dired-do-relsymlink-regexp): Add missing optional + arg ARG and use it. + +2005-07-16 Johan Bockg,Ae(Brd (tiny change) + + * emacs-lisp/cl-macs.el (cl-make-type-test): Add `atom' type. + +2005-07-15 Luc Teirlinck + + * emacs-lisp/easy-mmode.el (define-minor-mode): Avoid constructing + a defcustom with two :set or :type keywords. + +2005-07-15 Richard M. Stallman + + * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table): + Don't give ^M comment-end syntax. + +2005-07-16 Nick Roberts + + * progmodes/gdb-ui.el (gdb-var-update, gdb-var-update-handler): + Don't consider gdbmi (gdb-mi.el has its own update functions). + (gdb-var-delete): Make it work for gdbmi as well. + (gdb-speedbar-expand-node): Move var-update here for gdbmi. + + * progmodes/gud.el (etags, sdb): Only require etags when needed. + (gud-speedbar-menu-items): Correct logic for enabling items. + +2005-07-15 Kim F. Storm + + * ido.el: Fix commentary. + (ido-define-mode-map): Move ido-next-work-file to C-M-o. + Use with-no-warnings around ffap-guesser. + (ido-file-internal, ido-read-file-name, ido-read-directory-name): + Let bind minibuffer-completing-file-name to t. + +2005-07-15 Juanma Barranquero + + * startup.el (site-run-file, keyboard-type): Doc fixes. + (command-line): Check for "--basic-display" argument; also for + "--quick", not "--bare-bones" (which was renamed). + (fancy-splash-text): Add missing item "Getting New Versions". + (normal-splash-screen): Fix typos and improve consistency with + `fancy-splash-text'. Update copyright year. + + * hexl.el (hexl-mode-map): Recognize also `ehelp-command' as a + valid binding for `help-char'. + + * emacs-lisp/derived.el (derived-mode-hook-name): Doc fix. + +2005-07-14 Dan Nicolaescu + + * term.el (term-mode): Disable cua-mode for term buffers. + +2005-07-14 Juanma Barranquero + + * add-log.el (add-log-mailing-address, change-log-merge): + Doc fixes. + (change-log-get-method-definition): Fix typo in docstring. + +2005-07-14 Kim F. Storm + + * emulation/cua-base.el: + (cua--pre-command-handler-1, cua--pre-command-handler) + (cua--post-command-handler-1, cua--post-command-handler): + Split in two. Check (buffer local) value of cua-mode. + (cua-selection-mode): New command. + +2005-07-13 Luc Teirlinck + + * custom.el (custom-initialize-safe-set) + (custom-initialize-safe-default): Doc fixes. + + * frame.el (blink-cursor-mode): Use `custom-initialize-safe-default' + and simplify :init-value again. + + * tooltip.el (tooltip-mode): Use `custom-initialize-safe-default' + and simplify :init-value again. Delete autoload. + + * startup.el (command-line): Use `custom-reevaluate-setting' again + for tooltip-mode. + + * emacs-lisp/easy-mmode.el (define-minor-mode): Avoid constructing + a defcustom with two :initialize keywords. + +2005-07-13 Juanma Barranquero + + * allout.el (my-mark-marker, allout-isearch-prior-pos) + (allout-unprotected, allout-undo-aggregation, allout-snug-back) + (allout-post-command-business, allout-flag-region) + (isearch-reenable-font-lock, allout-yank) + (allout-insert-latex-header, allout-insert-latex-trailer) + (allout-latex-verbatim-quote-curr-line, allout-latexify-exposed) + (allout-latex-verb-quote): Fix typos in docstrings. + (allout-enwrap-isearch, regexp-sans-escapes): Doc fixes. + (allout-unprotected, allout-prefix-data): + Improve argument/docstring consistency. + (allout-chart-subtree): Fix argument spec. + (allout-open-topic): Rename `use_sib_bullet' argument to + `use-sib-bullet'. Doc fix. + + * whitespace.el (whitespace-check-buffer-leading) + (whitespace-check-buffer-trailing) + (whitespace-check-buffer-indent) + (whitespace-check-buffer-spacetab) + (whitespace-check-buffer-ateol, whitespace-highlighted-space) + (whitespace-check-leading-whitespace) + (whitespace-check-trailing-whitespace) + (whitespace-check-spacetab-whitespace) + (whitespace-check-indent-whitespace) + (whitespace-check-ateol-whitespace, whitespace-abort-on-error) + (whitespace-modes): Fix typos in docstrings. + (defgroup, defcustom): Doc fixes. + + * winner.el (winner-mode, winner-boring-buffers) + (winner-pending-undo-ring): Doc fixes. + (winner-ring): Remove unneeded `progn'. + (winner-equal): `defsubst' it. + (winner-redo): Fix message. + +2005-07-13 Kim F. Storm + + * simple.el (line-move-1): Always use vertical-motion to + do the last (or only) line move to ensure some movement. + Undo 2005-06-23 change--don't check for overlays. + +2005-07-13 YAMAMOTO Mitsuharu + + * term/mac-win.el (ccl-encode-mac-roman-font) + (ccl-encode-mac-centraleurroman-font) + (ccl-encode-mac-cyrillic-font, ccl-encode-mac-symbol-font): + (ccl-encode-mac-dingbats-font): Remove check for ASCII. + Change charset-id boundary of dimension to ?\xef. + (mac-char-fontspec-list): New constant. + (fontset-add-mac-fonts): Use it. Accept non-string `base-family' + argument. Nil uses itself as family in font-spec. Previous + behavior for nil is now provided by non-nil non-string argument. + All callers changed. Add font-specs for Mac fonts to + "fontset-default" unless iso8859-1 fonts are installed. + +2005-07-13 Stefan Monnier + + * progmodes/sh-script.el (sh-get-indent-info): Only indent + a continuation line if the \ is preceded by SPC or TAB. + (sh-get-indent-info): Simplify. + (sh-mark-init, sh-learn-buffer-indent, sh-add-completer): + Use with-current-buffer. + + * font-lock.el (font-lock-fontify-keywords-region): Avoid inf-loops + when the matched text is empty. + +2005-07-12 Luc Teirlinck + + * startup.el (command-line): Revert to previous handling of + tooltip-mode. Explain in comment why the complexity is needed. + + * tooltip.el (tooltip-mode): Revert to previous implementation of + its defcustom. + + * frame.el (blink-cursor-mode): Revert to previous implementation + of its defcustom. Update comment. + +2005-07-12 Lars Hansen + + * desktop.el: Update e-mail address. + +2005-07-12 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-services-mail-selection) + (mac-services-mail-to): New functions. + (mac-application-menu-map): Bind them. + +2005-07-12 wulei (tiny change) + + * progmodes/gdb-ui.el: Add note about buffering with Windows. + +2005-07-11 Luc Teirlinck + + * custom.el (custom-reevaluate-setting): Doc fix. + +2005-07-11 Jay Belanger + + * calc/calc.el (calc-embedded-announce-formula-alist) + (calc-embedded-open-close-plain-alist) + (calc-embedded-open-close-mode-alist): Add checks for additional + major modes (due to Robert J. Chassell ). + +2005-07-11 Juanma Barranquero + + * custom.el (custom-enable-theme): Don't add theme to + `custom-enabled-themes' with `push' because there is no + setf-method for `delq'. + +2005-07-11 Richard M. Stallman + + * custom.el (custom-declare-variable): Doc fix. + + * dired-aux.el (dired-compare-directories): Remove "." and ".." + from the alists. + + * emacs-lisp/edebug.el (edebug-slow-after, edebug-slow-before): + Do nothing if edebug-active. + + * emacs-lisp/edebug.el (edebug-enter): Don't with-timeout-suspend here. + (edebug-display): Do it here instead. + +2005-07-10 Richard M. Stallman + + * cus-face.el (custom-theme-set-faces): Make it work. + (custom-reset-faces): Doc fix. + (custom-theme-reset-internal-face, custom-theme-face-value): + Functions deleted. + + * custom.el (custom-push-theme): Maintain list of the settings + of a given theme in its theme-settings property. + Maintain position of old settings in the theme-value + or theme-face property. + (custom-enabled-themes): New variable. + (custom-theme-enabled-p): New function. + (provide-theme): Update custom-enabled-themes. + Disable and reenable the `user' theme. + (require-theme): Doc fix. + (custom-do-theme-reset, custom-remove-theme): Functions deleted. + (custom-theme-value, custom-theme-variable-value): Likewise. + (custom-theme-reset-internal): Likewise. + (custom-theme-load-themes): Fix bugs and use custom-disable-theme. + (custom-enable-theme, custom-disable-theme): New functions. + (custom-variable-theme-value, custom-face-theme-value): Likewise. + (custom-theme-recalc-variable, custom-theme-recalc-face): Likewise. + (custom-theme-reset-variables): Simplify. + (deftheme, custom-declare-theme, custom-make-theme-feature): + Definitions moved. + +2005-07-10 Chong Yidong + + * longlines.el (longlines-show-region) + (longlines-unshow-hard-newlines): Recognize hard newlines by + non-nil hard property, instead of t. + +2005-07-10 Michael Kifer + - * viper-cmd.el (viper--key-maps): New variable. ++ * emulation/viper-cmd.el (viper--key-maps): New variable. + (viper-normalize-minor-mode-map-alist): Use viper--key-maps and + emulation-mode-map-alists. + (viper-envelop-ESC-key): Use viper-subseq. + (viper-search-forward/backward/next): Disable debug-on-error. + - * viper-keym.el (viper-toggle-key, viper-quoted-insert-key) ++ * emulation/viper-keym.el (viper-toggle-key, viper-quoted-insert-key) + (viper-ESC-key): New defcustoms. + - * viper-macs.el (ex-map-read-args): Use viper-subseq. ++ * emulation/viper-macs.el (ex-map-read-args): Use viper-subseq. + - * viper-util.el (viper-key-to-emacs-key): Use viper-subseq. ++ * emulation/viper-util.el (viper-key-to-emacs-key): Use viper-subseq. + (viper-subseq): Copy of subseq from cl.el. + - * viper.el (viper-go-away, viper-set-hooks): Use ++ * emulation/viper.el (viper-go-away, viper-set-hooks): Use + emulation-mode-map-alists, advise self-insert-command, add-minor-mode. + - * viper-mous.el (viper-current-frame-saved): Use defvar. ++ * emulation/viper-mous.el (viper-current-frame-saved): Use defvar. + - * viper-init.el: Get rid of -face in face names. ++ * emulation/viper-init.el: Get rid of -face in face names. + + * ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3): + Make it work with longlines mode. + + * ediff-mult.el (ediff-meta-mode-hook): New variable. + + * ediff-ptch.el (ediff-file-name-sans-prefix): Quote regexp. + + * ediff-init.el: Get rid of -face in face names. + +2005-07-10 Richard M. Stallman + + * emacs-lisp/edebug.el (edebug-enter): Call with-timeout-suspend + and with-timeout-unsuspend. + + * emacs-lisp/debug.el (debug): Call with-timeout-suspend + and with-timeout-unsuspend. + + * emacs-lisp/timer.el (with-timeout-timers): New variable. + (with-timeout): Bind that variable to record timers. + (with-timeout-suspend, with-timeout-unsuspend): New functions. + + * emacs-lisp/debug.el (debug-help-follow): New function. + (debugger-mode-map): Use that instead of help-follow. + (debugger-setup-buffer): Use eval-buffer-list + to handle eval-buffer frames. + +2005-07-10 N. Raghavendra (tiny change) + + * timezone.el (timezone-parse-date): Change first regexp + so it will not mistakenly match dates with no time zone. + +2005-07-10 Jeff Dwork (tiny change) + + * facemenu.el (facemenu-read-color): Do case-insensitive matching. + +2005-07-10 Luc Teirlinck + + * custom.el (custom-initialize-safe-set) + (custom-initialize-safe-default): New functions. + + * frame.el (blink-cursor-mode): Use `custom-initialize-safe-default' + and simplify :init-value. + + * tooltip.el (tooltip-mode): Use `custom-initialize-safe-default' + and simplify :init-value. Delete obsolete comment. + + * startup.el (command-line): Use `custom-reevaluate-setting' to + handle `tooltip-mode'. Delete obsolete comment. + + * files.el (set-visited-file-name): Avoid calling + `file-name-nondirectory' with a nil argument. + +2005-07-09 Richard M. Stallman + + * emacs-lisp/debug.el (debugger-setup-buffer): When eval-buffer + was called with nil for the buffer, handle the read position right. + Handle read position for eval-region, too. + +2005-07-09 Juri Linkov + + * fringe.el (fringe-mode): Add period in docstring. + (fringe-query-style): Build prompt depending on `all-frames' arg. + + * dired.el (dired-marker-char): Avoid quotations for `do' and `mark' + to not create links to unrelated functions in the Help buffer. + + * progmodes/compile.el (compilation-mode-hook, compilation-mode): + Doc fix. + + * simple.el (next-error-hook): New variable. + (next-error): Use it. Doc fix. + + * textmodes/ispell.el (ispell-command-loop): Add current + dictionary name and program name to mode-line-format. + (ispell-region, ispell-process-line): Add current dictionary name + and program name to messages. + +2005-07-08 Jay Belanger + + * calc/calc.el (calc-embedded-announce-formula-alist) + (calc-embedded-open-close-formula-alist) + (calc-embedded-open-close-word-alist) + (calc-embedded-open-close-plain-alist) + (calc-embedded-open-close-new-formula-alist) + (calc-embedded-open-close-mode-alist) + (calc-embedded-new-buffer-hook, calc-embedded-new-formula-hook) + (calc-embedded-mode-hook): New variables. + + * calc/calc-embed.el (calc-embedded-firsttime) + (calc-embedded-firsttime-buf, calc-embedded-firsttime-formula): + New variables. + (calc-do-embedded): Use calc-embedded-firsttime, + calc-embedded-firsttime-buf and calc-embedded-firsttime-formula to + determine whether or not to run hooks. + (calc-embedded-make-info): Set calc-embedded-firsttime-buf and + calc-embedded-firsttime-formula appropriately. + Set calc-embedded delimiter variables according to mode. + +2005-07-08 Richard M. Stallman + + * emacs-lisp/checkdoc.el (checkdoc-proper-noun-list): + Check for "emacs", etc., as entire symbol, not just as word. + (checkdoc-file-comments-engine): Use regexp-quote on FN. + + * files.el (set-visited-file-name): Report the error + for "empty filename" earlier. + (kill-some-buffers): Ignore buffers already dead. + + * fringe.el (fringe-mode): Doc fix. + + * emacs-lisp/bytecomp.el (byte-compile-maybe-guarded): + Check for (featurep 'xemacs) and turn off warnings in what it guards. + Use unwind-protect to ensure byte-compile-unresolved-functions + is updated. + + * whitespace.el (whitespace-buffer-leading-cleanup): + Simplify w/ skip-chars-forward. + (whitespace-buffer-trailing-cleanup): Simplify w/ skip-chars-backward. + + * mail/rmail.el (rmail-only-expunge): Fix paren error. + Unconditionally try to leave point at the same old place. + +2005-07-08 Ralf Angeli (tiny change) + + * comint.el (comint-postoutput-scroll-to-bottom) + (comint-show-maximum-output): Take scroll-margin into consideration. + +2005-07-08 Kim F. Storm + + * ido.el (ido-use-filename-at-point): New choice `guess'. + (ido-file-internal): Try ffap-guesser if selected. + + * ido.el (ido-before-fallback-functions): New hook. + (ido-buffer-internal, ido-file-internal, ido-read-buffer) + (ido-read-file-name): Run it. + +2005-07-07 Stefan Monnier + + * progmodes/hideif.el (hide-ifdef-use-define-alist): Pass a list of + strings rather than a list of symbols to the completion function. + +2005-07-07 Jay Belanger + + * calc/calc-units.el (math-apply-units): Change the places in + which units are simplified. + +2005-07-07 Luc Teirlinck + + * cus-edit.el (customize-option, customize-option-other-window): + Make them handle aliases. + + * custom.el (custom-variable-p): Make it recursively follow + aliases. Mention that in the docstring. + +2005-07-07 Richard M. Stallman + + * cus-start.el (exec-path): Use `directory' instead of `file'. + Fix tag for nil. + +2005-07-07 Juanma Barranquero + + * replace.el (occur-rename-buffer): Use `generate-new-buffer' also + when called non-interactively. Doc fix. + +2005-07-07 Lute Kamstra + + * elide-head.el (elide-head-headers-to-hide): Recognize the FSF's + new address as well. + +2005-07-07 Kenichi Handa + + * international/mule.el (make-coding-system): + Describe `ascii-incompatible' property in the docstring. + (set-file-name-coding-system): Signal an error if coding-system is + ascii-incompatible. + (set-keyboard-coding-system): Likewise. + + * international/mule-cmds.el (set-default-coding-systems): + Don't set default-file-name-coding-system and + default-keyboard-coding-system if coding-system is ASCII-incompatible. + + * international/utf-16.el: Declare that all UTF-16-based coding + systems are ASCII-incompatible. + +2005-07-07 Nick Roberts + + * progmodes/gud.el: Require font-lock for displaying errors. + Used by gdb-ui.el. + +2005-07-07 Juanma Barranquero + + * hi-lock.el (hi-lock-find-patterns): Protect also against invalid + values for the pattern lists which are `read'able but not + `append'able (like symbols). + +2005-07-06 Richard M. Stallman + + * progmodes/flymake.el (flymake-float-time): Instead of + with-no-warnings, test for XEmacs. + (flymake-replace-regexp-in-string): Test fboundp of replace-in-string + to avoid warning. + +2005-07-06 Juanma Barranquero + + * w32-vars.el (w32-fixed-font-alist): Fix typo in `defcustom' tag. + +2005-07-05 Lute Kamstra + + * battery.el: Add support for Darwin (with much debugging help + from Samuel Lauber ). + (battery-status-function, battery-echo-area-format) + (battery-mode-line-format): Add support for pmset on Darwin. + (battery-load-low, battery-load-critical): New user options. + (battery-pmset): New function. + +2005-07-05 Lute Kamstra + + Update FSF's address in GPL notices. + + * textmodes/page-ext.el: Update FSF's address. + +2005-07-04 Stefan Monnier + + * emacs-lisp/lisp-mode.el (lisp-mode-variables): Prevent adaptive + filling from using prefix when filling a single-line docstring. + + * progmodes/flymake.el: Remove useless eval-when-compile. + + * arc-mode.el (archive-lzh-ogm): Reorder save excursion/restriction. + +2005-07-04 Richard M. Stallman + + * textmodes/org.el (org-file-apps-defaults-gnu): + Rename from org-file-apps-defaults-linux. + (org-default-apps): Don't test system-type for `linux'. + (org-file-apps): Doc fix. + +2005-07-04 David Ponce + + * tree-widget.el: Improve header Commentary section. + (tree-widget) [defgroup] + (tree-widget-image-enable, tree-widget-themes-directory) + (tree-widget-theme, tree-widget-image-properties-emacs) + (tree-widget-image-properties-xemacs, tree-widget-create-image) + (tree-widget-image-formats, tree-widget-control) + (tree-widget-empty-control, tree-widget-leaf-control) + (tree-widget-guide, tree-widget-end-guide, tree-widget-no-guide) + (tree-widget-handle, tree-widget-no-handle, tree-widget-p) + (tree-widget-keep, tree-widget-after-toggle-functions) + (tree-widget-open-node, tree-widget-close-node): Doc fix. + (tree-widget-open-control, tree-widget-close-control): Fix doc and + :help-echo message. + (tree-widget-set-theme): Doc fix. Use `string-equal'. + (tree-widget-image-properties): Doc fix. Clearer implementation. + (tree-widget--cursors): New constant. + (tree-widget-lookup-image): New function split from + `tree-widget-find-image'. Clearer implementation. + (tree-widget-find-image): Use it. + (tree-widget-button-keymap): Use `set-keymap-parent'. + (tree-widget) [define-widget]: Use `widget-children-value-delete'. + Define the sub-widgets here. + (tree-widget-node): Check that :node is not a tree-widget. + (tree-widget-get-super, tree-widget-open-control) + (tree-widget-close-control, tree-widget-empty-control) + (tree-widget-leaf-control, tree-widget-guide) + (tree-widget-end-guide, tree-widget-no-guide, tree-widget-handle) + (tree-widget-no-handle, tree-widget-value-delete) + (tree-widget-map): Remove. + (tree-widget-children-value-save): Doc fix. Simplified. + (tree-widget-value-create): Update according to previous changes. + +2005-07-04 Carsten Dominik + + * textmodes/org.el: Leading space replaced by TABS. + (org-recalc-marks, org-table-rotate-recalc-marks) + (org-table-get-specials): Treat "^" and "_" marks. + (org-table-justify-field-maybe): Optional argument NEW. + (org-table-eval-formula): Parsing of the format simplified. + New modes C,I. Honor the %= parameter in the current table. + Avoid unnecessary re-align by using the NEW argument to + `org-table-justify-field-maybe'. + (org-calc-default-modes): Default for date-format mimicks org-mode. + (org-agenda, org-timeline): Quote argument in org-agenda-redo-command. + +2005-07-03 Luc Teirlinck + + * cus-face.el (custom-theme-set-faces): Make it handle face + aliases whose alias declarations are pre- or autoloaded. + +2005-07-04 Juri Linkov + + * faces.el (read-face-name): Put the code for getting a face name + from the buffer before adding the faces from the `face' property. + Use `completing-read-multiple' instead of `completing-read'. + Require `crm'. Add default value and post-process the returned + list of faces. + + * emacs-lisp/crm.el (crm-find-current-element) + (crm-minibuffer-complete-and-exit): Handle minibuffer prompt. + + * emacs-lisp/lisp-mode.el (eval-defun-1): + * emacs-lisp/edebug.el (edebug-eval-defun): + Remove unnecessary quotes. + +2005-07-04 Juanma Barranquero + + * progmodes/prolog.el (prolog-eof-string): Doc fixes. + (prolog-indent-level): Fix typo in docstring. + + * info.el (Info-history, Info-history-forward) + (Info-history-list, Info-speedbar-fetch-file-nodes): Doc fixes. + + * add-log.el (add-change-log-entry): + * comint.el (comint-dynamic-list-input-ring) + (comint-dynamic-list-completions): + * dabbrev.el (dabbrev-expand): + * delim-col.el (delimit-columns-rectangle-line): + * diff-mode.el (diff-context->unified, diff-reverse-direction) + (diff-unified->context): + * ediff-init.el (ediff-abbrev-jobname): + * ediff-mult.el (ediff-replace-session-status-in-meta-buffer) + (ediff-replace-session-activity-marker-in-meta-buffer): + * info.el (Info-summary): + * lpr.el (printify-region): + * printing.el (pr-create-interface): + * ps-print.el (ps-print-quote): + * ses.el (ses-column-widths, ses-print-cell) + (ses-adjust-print-width, ses-center): + * shell.el (shell-file-name-quote-list): + * strokes.el (strokes-read-stroke, strokes-read-complex-stroke) + (strokes-fill-current-buffer-with-whitespace) + (strokes-xpm-for-stroke, strokes-list-strokes) + (strokes-xpm-char-bit-p, strokes-xpm-for-compressed-string): + * term.el (term-dynamic-list-input-ring) + (term-dynamic-list-completions): + * calc/calc.el (math-format-stack-value): + * emacs-lisp/edebug.el (edebug-display-freq-count): + * progmodes/delphi.el (delphi-indent-line, delphi-fill-comment) + (delphi-new-comment-line): + * progmodes/ebnf2ps.el (ebnf-eps-filename, ebnf-trim-right): + * progmodes/executable.el (executable-set-magic): + * progmodes/python.el (inferior-python-mode): + * progmodes/scheme.el (scheme-mode-syntax-table): + * progmodes/sh-script.el (sh-maybe-here-document): + * progmodes/sql.el (sql-copy-column): + * progmodes/tcl.el (tcl-comment-indent, tcl-quote): + * textmodes/bibtex.el (bibtex-mode): + * textmodes/sgml-mode.el (html-imenu-index, sgml-attributes) + (sgml-auto-attributes): + * textmodes/table.el (table-insert, table-shorten-cell) + (table--generate-source-scan-lines, table-delete-row) + (*table--cell-delete-char, table--spacify-frame) + (table--horizontally-shift-above-and-below) + (table--cell-insert-char, table--cell-blank-str) + (table--fill-region-strictly): + * textmodes/tex-mode.el (tex-insert-quote, latex-find-indent): + * textmodes/texinfo.el (texinfo-insert-quote): "?\ " -> "?\s". + + * add-log.el (change-log): + * apropos.el (apropos): + * comint.el (comint-completion, comint-source): + * dabbrev.el (dabbrev): + * delim-col.el (columns): + * diff-mode.el (diff-mode): + * ediff.el (ediff): + * ediff-diff.el (ediff-diff): + * ediff-init.el (ediff-highlighting, ediff-merge, ediff-hook): + * ediff-mult.el (ediff-mult): + * ediff-ptch.el (ediff-ptch): + * ediff-wind.el (ediff-window): + * facemenu.el (facemenu): + * indent.el (indent): + * info.el (info): + * jka-cmpr-hook.el (compression, jka-compr): + * lpr.el (lpr): + * outline.el (outlines): + * pcmpl-cvs.el (pcmpl-cvs): + * pcmpl-rpm.el (pcmpl-rpm): + * printing.el (printing): + * ps-print.el (postscript, ps-print, ps-print-horizontal) + (ps-print-vertical, ps-print-headers, ps-print-font) + (ps-print-color, ps-print-face, ps-print-n-up, ps-print-zebra) + (ps-print-background, ps-print-printer, ps-print-page) + (ps-print-miscellany): + * ses.el (ses): + * shell.el (shell, shell-directories, shell-faces): + * startup.el (initialization): + * strokes.el (strokes): + * term.el (term): + * uniquify.el (uniquify): + * w32-vars.el (w32): + * calc/calc.el (calc): + * emacs-lisp/bytecomp.el (bytecomp): + * emacs-lisp/cl-indent.el (lisp-indent): + * emacs-lisp/edebug.el (edebug): + * emacs-lisp/elp.el (elp): + * emacs-lisp/testcover.el (testcover): + * emacs-lisp/trace.el (trace): + * emulation/viper-ex.el (viper-ex): + * emulation/viper-mous.el (viper-mouse): + * mail/mailalias.el (mailalias): + * mail/supercite.el (supercite, supercite-frames) + (supercite-attr, supercite-cite, supercite-hooks): + * net/rcompile.el (remote-compile): + * net/rlogin.el (rlogin): + * obsolete/ooutline.el (outlines): + * progmodes/delphi.el (delphi): + * progmodes/ebnf2ps.el (postscript, ebnf2ps, ebnf-special) + (ebnf-except, ebnf-repeat, ebnf-terminal, ebnf-non-terminal) + (ebnf-production, ebnf-shape, ebnf-displacement, ebnf-syntactic) + (ebnf-optimization): + * progmodes/etags.el (etags): + * progmodes/executable.el (executable): + * progmodes/idlwave.el (idlwave): + * progmodes/pascal.el (pascal): + * progmodes/prolog.el (prolog): + * progmodes/python.el (python): + * progmodes/scheme.el (scheme): + * progmodes/sh-script.el (sh, sh-script): + * progmodes/sql.el (SQL): + * progmodes/tcl.el (tcl): + * textmodes/bibtex.el (bibtex, bibtex-autokey): + * textmodes/enriched.el (enriched): + * textmodes/makeinfo.el (makeinfo): + * textmodes/sgml-mode.el (sgml): + * textmodes/table.el (table-hooks): + * textmodes/tex-mode.el (tex-file, tex-run, tex-view): + * textmodes/texinfo.el (texinfo): + * textmodes/two-column.el (two-column): + Finish `defgroup' description with period. + + * emacs-lisp/cl-indent.el (lisp-indent-maximum-backtracking): + * eshell/esh-var.el (eshell-var): + * progmodes/vhdl-mode.el (vhdl-testbench): + * textmodes/org.el (org): Fix typos in docstrings. + + * emacs-lisp/timer.el (with-timeout): Improve argument/docstring + consistency. + + * progmodes/flymake.el (flymake-find-file): Remove. + (flymake-float-time): Use `with-no-warnings'. + (flymake-check-start-time, flymake-check-was-interrupted) + (flymake-err-info, flymake-is-running, flymake-last-change-time) + (flymake-new-err-info): `defvar' at compile time. + +2005-07-03 Juanma Barranquero + + * replace.el (occur-hook): Doc fix. + (occur-1): Don't call `occur-hook' if there are no matches. + +2005-07-03 Richard M. Stallman + + * emulation/tpu-edt.el (tpu-original-global-map): Don't copy + global-map, save the same map. + (global-map): Don't alter it at top level. + (tpu-edt-on): Save global map in tpu-original-global-map, then copy. + Then alter it here instead. + (tpu-edt-off): Set global-map to the saved one. + + * emulation/tpu-edt.el (tpu-emacs19-p): Var deleted. + All references simplified. + (tpu-lucid-emacs-p): Rename from tpu-lucid-emacs19-p. Uses changed. + (zmacs-regions): Add defvar. + (repeat-complex-command-map): Everything about that deleted. + + * textmodes/artist.el (artist-key-is-drawing) + (artist-key-endpoint1, artist-key-poly-point-list) + (artist-key-shape, artist-key-draw-how, artist-popup-menu-table) + (artist-key-compl-table, artist-rb-save-data) + (artist-arrow-point-1, artist-arrow-point-2): Move defvars up. + Don't put them in eval-when-compile. + (artist-set-arrow-points-for-poly): Use `last', not `artist-last'. + + * progmodes/ebrowse.el (ebrowse-revert-tree-buffer-from-file): + Use with-no-warnings. + + * net/browse-url.el (dos-windows-version): Add defvar. + + * mail/supercite.el (filladapt-prefix-table): Add defvar. + + * mail/rmailsum.el (rmail-summary-redo): Add defvar. + (rmail-summary-mode-map, rmail-summary-overlay): Defvars moved up. + (rmail-new-summary-line-count): Rename from new-summary-line-count. + Add defvar. + (rmail-summary-beginning-of-message): Use with-no-warnings. + (rmail-summary-first-message, rmail-summary-last-message): Likewise. + + * emulation/vip.el (vip-replace-string, ex-map, ex-read): + Use with-no-warnings. + + * emulation/vi.el (vi-mark-region): Use c-mark-function. + (c-mark-function): Add point-moving-unit property. + (vi-goto-line): Use with-no-warnings. + + * emulation/edt.el (edt-last-copied-word): Add defvar. + (zmacs-region-stays): Likewise. + (edt-mark-section-wisely): Use c-mark-function for C. + Use makr-defun for Fortran. + (time-string): defvar deleted. + (edt-display-the-time): Don't set time-string. + + * emacs-lisp/macroexp.el (macroexp-accumulate): Rename arg to var+list. + + * emacs-lisp/bytecomp.el (byte-compile-nogroup-warn): + Don't warn when name is not constant + or for defining the group `emacs'. + + * tooltip.el (gud-tooltip-mode): Add defvar. + + * startup.el (default-frame-background-mode): Add defvar. + + * smerge-mode.el (smerge-mode): Add duplicate defvar near top. + + * info.el (tool-bar-map): Add defvar. + + * dired.el (dnd-protocol-alist): Add defvar. + + * dired-aux.el (dired-query): Display question with answer, when + the user answers. + + * custom.el (custom-add-option): Doc fix. + + * bookmark.el (Info-current-node, Info-suffix-list): Add defvars. + +2005-07-03 Eli Zaretskii + + * font-lock.el (font-lock-regexp-grouping-construct): Fix the + bogus name from the last change. + +2005-07-02 Luc Teirlinck + + * custom.el (custom-declare-variable): Fix typos in comment. + (custom-known-themes): Doc fix. + (custom-theme-directory): New defcustom. + (require-theme): Make it check `custom-theme-directory'. + + * cus-theme.el (custom-new-theme-mode): New function. + (custom-theme-name, custom-theme-variables, custom-theme-faces) + (custom-theme-description): Add compiler defvars. + (customize-create-theme): Add doc to the "*New Custom Theme*" + buffer. Use `custom-new-theme-mode'. + (custom-theme-write): Put the created buffer in emacs-lisp-mode + and save it to the `custom-theme-directory'. Make this the + default directory of the buffer. + +2005-07-02 David Hunter (tiny change) + + * progmodes/flymake.el (flymake-mode, flymake-mode-off): + Fix unbalanced parentheses. + +2005-07-02 Stefan Monnier + + * progmodes/flymake.el (flymake-mode-on, flymake-mode-off): Move body + into flymake-mode and delegate to flymake-mode. + + * find-file.el (ff-which-function-are-we-in): Clean up. + +2005-07-02 Juanma Barranquero + + * replace.el (occur-rename-buffer): Fix docstring. + + * emulation/edt.el (*EDT-keys*, edt-default-global-map) + (edt-last-copied-word, edt-learn-macro-count) + (edt-orig-page-delimiter, edt-orig-transient-mark-mode) + (edt-rect-start-point, edt-user-global-map, rect-start-point) + (time-string, zmacs-region-stays): + * emulation/edt-mapper.el (edt-save-function-key-map) + (EDT-key-name): `defvar' to silence the byte-compiler. + +2005-07-02 Martin Rudalics + + * font-lock.el (font-lock-regexp-grouping-backslash): Rename from + font-lock-regexp-backslash. Doc fix. + (font-lock-regexp-backslash-grouping-construct): Rename from + font-lock-regexp-backslash-construct. Doc fix. + (lisp-font-lock-keywords-2): Fix highlighting of Elisp regexp + grouping constructs. + +2005-07-02 Eli Zaretskii + + * makefile.w32-in (bootstrap): Remove the $(EMACS) binary after + updating all the prerequisites. + +2005-07-01 Juanma Barranquero + + * textmodes/org.el (org-agenda-start-on-weekday) + (org-calendar-to-agenda-key, org-agenda-sorting-strategy) + (org-agenda-use-time-grid, org-archive-location) + (org-allow-space-in-links, org-usenet-links-prefer-google) + (org-enable-table-editor, org-export-default-language) + (org-export-html-show-new-buffer, org-fill-paragraph) + (org-cycle, org-goto-ret, org-goto-left, org-goto-right) + (org-goto-quit, org-occur, org-eval-in-calendar) + (org-agenda-cleanup-fancy-diary, org-agenda-no-heading-message) + (org-agenda-diary-entry, org-remember-help) + (org-table-convert-region, org-at-table-p) + (org-table-move-row-down, org-table-move-row-up) + (org-table-copy-region, org-table-toggle-vline-visibility) + (org-table-get-stored-formulas, org-table-get-specials) + (org-recalc-commands, org-table-eval-formula) + (org-table-formula-substitute-names, orgtbl-make-binding) + (org-format-org-table-html, org-format-table-table-html) + (org-format-table-table-html-using-table-generate-source) + (org-customize): Fix typos in docstrings. + (org-level-2, org-at-timestamp-p, org-agenda-day-view) + (org-agenda-toggle-diary, org-agenda-toggle-time-grid) + (org-back-to-heading): Doc fixes. + (org-agenda-toggle-time-grid, org-cmp-category, org-cmp-time) + (org-agenda-change-all-lines, org-get-header): + Improve argument/docstring consistency. + (orgtbl-error): Fix error message. + + * progmodes/flymake.el (flymake-find-possible-master-files) + (flymake-master-file-compare, flymake-get-line-err-count) + (flymake-highlight-line, flymake-gui-warnings-enabled): + Fix typos in docstrings. + (flymake-parse-line, flymake-get-project-include-dirs-function) + (flymake-get-prev-err-line-no, flymake-goto-prev-error): + Doc fixes. + (flymake-get-project-include-dirs-function) + (flymake-make-err-menu-data): + Improve argument/docstring consistency. + +2005-07-01 Lute Kamstra + + * battery.el (battery-linux-proc-apm): Fix typo in docstring. + Catch errors with ignore-errors. Use temporary buffer. + (battery-linux-proc-acpi): Fix typo in docstring. Document `%r'. + + * facemenu.el (facemenu-unlisted-faces): Delete foreground and + background color faces. + (facemenu-set-foreground, facemenu-set-background): + Use facemenu-set-face-from-menu. + (facemenu-set-face-from-menu): Treat face names that start with + "fg:" or "bg:" as special. + (facemenu-add-new-color): Don't create faces. Simplify. + +2005-06-30 Richard M. Stallman + + * emacs-lisp/crm.el (crm-do-completion): Handle minibuffer prompt. + (crm-find-current-element): Likewise. + +2005-06-30 Johan Bockg,Ae(Brd + + * help-fns.el (help-do-arg-highlight): Regexp-quote argument names. + +2005-06-30 Stefan Monnier + + * arc-mode.el (archive-extract): Make it work as a mouse binding. + (archive-mouse-extract): Make it an obsolete alias. + (archive-mode-map): Don't use archive-mouse-extract any more. + (archive-mode, archive-extract): write-contents-hooks -> + write-contents-functions. + (archive-arc-rename-entry, archive-lzh-rename-entry): Remove unused + first arg. + (archive-rename-entry): Update the call. + (archive-zip-summarize): Remove unused var `method'. + (archive-lzh-summarize): Remove unused var `creator'. + + * emacs-lisp/debug.el (debug): Quieten Drew Adams by killing the + dedicated frame upon exit. + + * arc-mode.el: Bind inhibit-read-only rather than buffer-read-only. + (archive-zip-extract, archive-zip-expunge) + (archive-zip-update, archive-zip-update-case): Use executable-find. + (archive-resummarize, archive-flag-deleted, archive-unmark-all-files): + Use restore-buffer-modified-p. + (archive-extract, archive-add-new-member, archive-write-file-member): + Use with-current-buffer. + (archive-lzh-ogm, archive-zip-chmod-entry): Use dolist. + +2005-06-30 Andreas Schwab + + * progmodes/gud.el (gud-filter): Remove unneeded progn. + +2005-06-30 Glenn Morris + + * progmodes/sh-script.el (sh-get-kw): `&' also separates words. + +2005-06-30 Juri Linkov + + * faces.el (vertical-border): Inherit from mode-line-inactive + only on tty. + +2005-06-30 Juanma Barranquero + + * help-fns.el (help-do-arg-highlight): Highlight also -ARG (for + example, -NLINES in the `occur' docstring). + + * replace.el (occur-1): When no matches are found, do not set the + `buffer-read-only' and modified flags for the occur buffer, + because it is deleted. + + * emulation/cua-base.el (cua-check-pending-input) + (cua-repeat-replace-region, cua-mode, cua-debug) + (cua-auto-tabify-rectangles, cua-inhibit-cua-keys): + Fix typos in docstrings. + + * emulation/cua-gmrk.el (cua-toggle-global-mark) + (cua-cut-region-to-global-mark) + (cua--cut-rectangle-to-global-mark): + Remove period from end of messages. + + * emulation/cua-rect.el (cua-do-rectangle-padding): + Remove period from end of messages. + (cua--rectangle-seq-format): Fix typo in docstring. + (cua-sequence-rectangle, cua-fill-char-rectangle): + Improve argument/docstring consistency. + +2005-06-29 Juri Linkov + + * faces.el (default-frame-background-mode): New internal variable. + (frame-set-background-mode): Use it. + + * startup.el (normal-top-level): Set default-frame-background-mode + instead of frame-background-mode. Before setting it, test for its + nil value. Remove tests for frame-background-mode and frame + parameter `reverse'. Add test for "unspecified-fg". + + * term/xterm.el (xterm-rxvt-set-background-mode): + * term/rxvt.el (rxvt-set-background-mode): + Set default-frame-background-mode instead of frame-background-mode. + +2005-06-29 Juanma Barranquero + + * simple.el (set-variable): Warn about obsolete user variables. + + * imenu.el (imenu--completion-buffer): + * mouse.el (mouse-buffer-menu-alist): + * msb.el (msb-invisible-buffer-p): + * calendar/diary-lib.el (diary-header-line-format): + * emacs-lisp/pp.el (pp-buffer): + * progmodes/cperl-mode.el (cperl-do-auto-fill): + * textmodes/picture.el (picture-replace-match): + Change space constants followed by a sexp to "?\s ". + + * play/decipher.el (decipher-loop-with-breaks): + * textmodes/texinfo.el (texinfo-insert-@item): Change space + constants "protected" from end of line by a comment to "?\s". + +2005-06-29 Stefan Monnier + + * font-lock.el (save-buffer-state): Use `declare'. + + * progmodes/cperl-mode.el (cperl-find-pods-heres): Don't gratuitously + reset the syntax-table to cperl-mode-syntax-table. + (cperl-mode): Make _ into word-syntax during font-locking so "print" in + "foo_print_bar" is not matched as a reserved keyword. + +2005-06-29 Carsten Dominik + + * textmodes/org.el (orgtbl-setup): New function, for delayed + setup for the orgtbl commands. + (org-calc-default-modes): New option. + (orgtbl-make-binding): Use `defun' to get better help display. + (org-diary): Call `org-compile-prefix-format'. + (org-table-formula-substitute-names): New function. + (org-agenda-day-view, org-agenda-week-view): New commands. + (org-agenda-toggle-week-view): Command removed. + (org-tbl-menu): Split off from org-org-menu. + (org-mode): Move removal of outline-mode menus to here. + (org-table-formula-debug): New option. + (org-table-insert-row): Keep first field if just "#" or "*". + (org-mode): Paragraph regexps fixed. + (org-table-recalculate-regexp): New constant. + (org-table-justify-field-maybe): Avoid replace if not necessary. + (org-copy-special, org-cut-special): Use `call-interactively'. + (org-table-copy-region): Take region from `interactive' call. + (org-trim): Return string even if no match. + (org-formula): New face. + (org-set-font-lock-defaults): No longer highlight "FIXME". + But highlight formula-related fields in table. + (org-table-p): Use regexp, not fontification. + (org-table-align): Handle white space at end of line. + (org-table-formula-evaluate-inline): New option. + (org-mode): Auto-wrapping in comment lines turned off. + (org-table-copy-down): Evaluate only in copied field, not in + destination. + (org-table-current-formula): Variable removed. + (org-table-store-formulas, org-table-get-stored-formulas) + (org-table-modify-formulas, org-table-replace-in-formulas) + (org-table-maybe-eval-formula): New functions. + (org-table-get-formula): Modify to use stored formulas. + (org-table-insert-column, org-table-delete-column) + (org-table-move-column): Call `org-table-modify-formulas'. + (org-complete): Add completion for keyword formulas. + (orgtbl-mode): Pull orgtbl-mode-map to start of + minor-mode-map-alist. + +2005-06-29 Stefan Monnier + + * progmodes/python.el (python-check): Require `compile' before + modifying its variables. + + * newcomment.el (comment-indent-default): Don't get fooled by an early + end of buffer. + +2005-06-28 Vinicius Jose Latorre + + * ps-print.el (ps-print-version): Fix version number. + +2005-06-28 Luc Teirlinck + + * textmodes/ispell.el (ispell-word): Remove stray parenthesis. + +2005-06-28 Richard M. Stallman + + * textmodes/flyspell.el (flyspell-use-local-map): Variable deleted. + (flyspell-local-mouse-map): Declaration deleted. + (flyspell-mouse-map): Bind only mouse-2. + (flyspell-mode-map): Don't test flyspell-use-local-map. + (flyspell-overlay-keymap-property-name): Var deleted. + (flyspell-mode-on): Don't make local bindings for + flyspell-mouse-map and flyspell-mode-map. + (make-flyspell-overlay): Unconditionally put on `keymap' text prop. + + * textmodes/ispell.el (ispell-word): Do not ignore short words. + + * progmodes/compile.el (compilation-next-error-function): + Don't switch buffers; operate on the current buffer. + + * progmodes/compile.el (compilation-error-file-name) + (compilation-warning-file-name, compilation-info-file-name) + (compilation-line-number, compilation-column-number): New faces. + (compilation-error-face, compilation-warning-face) + (compilation-info-face, compilation-line-face) + (compilation-column-face): Use them. + + * facemenu.el (facemenu-add-face): Warn when font-lock is active. + + * comint.el (comint-password-prompt-regexp): Accept ", try again". + + * bindings.el (global-map): Bind insertchar and its variants. + +2005-06-27 Richard M. Stallman + + * textmodes/artist.el (artist-text-overwrite) + (artist-figlet-get-extra-args, artist-text-see-thru): Use read-string. + +2005-06-27 Vinicius Jose Latorre + + * ps-print.el: It was not working the page selection for printing. + Reported by Sebastian Tennant . + (ps-print-version): New version 6.6.7. + (ps-end-sheet): New fun. + (ps-header-sheet, ps-end-job): Call it. + +2005-06-27 Luc Teirlinck + + * subr.el (add-to-list, add-to-ordered-list): Doc fixes. + +2005-06-27 Lute Kamstra + + * facemenu.el (facemenu-unlisted-faces): Add foreground and + background color faces. + (facemenu-get-face): Delete function. + (facemenu-set-face-from-menu): Don't call facemenu-get-face. + (facemenu-add-new-color): Make second argument mandatory. + Create the appropriate face and return it. Simplify. + (facemenu-set-foreground, facemenu-set-background): Don't check if + color is defined. Use return value of facemenu-add-new-color. + +2005-06-26 Nick Roberts + + * progmodes/gud.el (gud-filter): Add missing argument to + with-selected-window. + +2005-06-26 Stefan Monnier + + * emacs-lisp/easy-mmode.el (define-minor-mode): Don't automatically add + a :require to the defcustom. + + * emacs-lisp/autoload.el (make-autoload): Add the :setter for + defcustoms corresponding to minor modes. + +2005-06-26 David Ponce + + * recentf.el: Require tree-widget instead of wid-edit. + (recentf-filename-handler): Fix widget :type. + (recentf-cancel-dialog, recentf-open-more-files) + (recentf-open-files-action): Doc fix. + (recentf-dialog-goto-first): New function. + (recentf-dialog-mode-map): Set parent keymap first. + (recentf-dialog-mode): Define with define-derived-mode. + Don't display continuation lines in dialogs. + (recentf-edit-list): Rename from recentf-edit-selected-items. + (recentf-edit-list-select): Rename from recentf-edit-list-action. + Simplify. + (recentf-edit-list-validate): New function. + (recentf-edit-list): Update accordingly. + (recentf-open-files-item-shift): Remove. + (recentf-open-files-item): Convert menu elements into tree and + link widgets. Don't create the widgets. + (recentf-open-files): Update accordingly. + (recentf-save-list): Untabify. + +2005-06-25 Luc Teirlinck + + * replace.el (keep-lines-read-args): Add INTERACTIVE arg. + (keep-lines): Add INTERACTIVE arg. Never delete lines only + partially contained in the active region. Do not take active + region into account when called from Lisp, unless INTERACTIVE arg + is non-nil. Use `forward-line' instead of `beginning-of-line' to + avoid trouble with fields. Make marker point nowhere when no + longer used. Always return nil. Doc fix. + (flush-lines): Add INTERACTIVE arg. Do not take active region + into account when called from Lisp, unless INTERACTIVE arg is + non-nil. Use `forward-line' instead of `beginning-of-line' to + avoid trouble with fields. Make marker point nowhere when no + longer used. Always return nil. Doc fix. + (how-many): Add INTERACTIVE arg. Make RSTART and REND args + interchangeable. Do not take active region into account when + called from Lisp, unless INTERACTIVE arg is non-nil. Do not print + message in echo area when called from Lisp, unless INTERACTIVE arg + is non-nil. Avoid saying "1 occurrences". Do not use markers. + Return the number of matches. Doc fix. + (occur): Doc fix. + (perform-replace): Make comment follow double space convention for + the sake of `outline-minor-mode'. + + * faces.el (facep): Doc fix. + +2005-06-25 Richard M. Stallman + + * facemenu.el (facemenu-enable-faces-p): New function. + (facemenu-background-menu, facemenu-foreground-menu) + (facemenu-face-menu): Add menu-enable property. + + * jka-compr.el (jka-compr-insert-file-contents): + Special handling if cannot find the uncompression program. + + * cus-face.el (custom-face-attributes): Add autoload. + + * emacs-lisp/lisp-mode.el (lisp-mode-variables): + Bind comment-indent-function locally. + + * window.el (save-selected-window): Use save-current-buffer. + + * subr.el (with-selected-window): Use save-current-buffer. + + * progmodes/gud.el (gud-filter): Simplify using with-selected-window + and with-current-buffer. + +2005-06-24 Richard M. Stallman + + * simple.el (line-move-1): Fix previous change. + +2005-06-24 Juanma Barranquero + + * replace.el (occur-1): Set `buffer-read-only' and the + buffer-modified flag before running `occur-hook' to protect + against unintentional buffer switches that can lead to data loss. + +2005-06-24 Nick Roberts + + * progmodes/gud.el (gud-tooltip-print-command): Indent properly. + (gud-gdb-marker-filter): Use font-lock-warning-face for any + initial error. + + * progmodes/gdb-ui.el (gdb-send): Remove warning face from errors + after fresh input. + (gdb-var-create-handler): Put name of expression in quotes. + +2005-06-23 Luc Teirlinck + + * emacs-lisp/ring.el (ring-elements): Make it return a list of the + elements of RING in order, and without bogus nil elements. + +2005-06-23 Richard M. Stallman + + * simple.el (set-variable): Args renamed; doc fix. + (line-move-1): When there are overlays around, use vertical-motion. + + * faces.el (escape-glyph): Use brown against light background. + (nobreak-space): Rename from no-break-space. + Fix previous change. + + * dired-aux.el (dired-do-copy): Fix arg prompt. + + * mail/sendmail.el (mail-setup-with-from): Fix custom type. + +2005-06-23 Glenn Morris + + * mail/emacsbug.el (report-emacs-bug): Use "X server distributor" + rather than "Distributor". + +2005-06-23 Lute Kamstra + + * emacs-lisp/debug.el (debugger-special-form-p): New defun. + (debug-on-entry): Use it. New interactive declaration that uses + function-called-at-point. + +2005-06-23 Kim F. Storm + + * subr.el (save-match-data): Add comment about using evaporate arg + to set-match-data. + +2005-06-22 Glenn Morris + + * cus-edit.el (customize-face) + (customize-face-other-window): Handle face aliases. + + * faces.el (face-documentation, set-face-attribute) + (face-spec-set): Handle face aliases. + +2005-06-22 Juanma Barranquero + + * help-mode.el (help-make-xrefs): If a symbol representing a face + name is not followed by the word "face", it could still be a + function or variable name, so don't bypass other checks. + +2005-06-22 Juri Linkov + + * ps-print.el (ps-face-foreground-name, ps-face-background-name): + Replace aliased functions with calls where second arg `inherit' is t. + +2005-06-22 Nick Roberts + + * progmodes/gdb-ui.el (gdb-error): New variable. + (gdb-error): New function. + (gdb-annotation-rules): Act on error-begin and error annotations. + (gdb-concat-output): Use font-lock-warning-face for errors. + +2005-06-22 Miles Bader + + * bindings.el (propertized-buffer-identification): Use renamed + `Buffer-menu-buffer' face. + + * faces.el (vertical-border): Rename from `vertical-divider'. + (escape-glyph): Change dark-background color back to `cyan'. + +2005-06-21 Juri Linkov + + * faces.el (face-user-default-spec): Try getting `customized-face' + prior to `saved-face'. + (frame-background-mode): Refill docstring. + + * emacs-lisp/lisp-mode.el (eval-defun-1): + * emacs-lisp/edebug.el (edebug-eval-defun): + Set `saved-face' temporarily to nil before calling form. + Set `customized-face' to the new spec after that. + +2005-06-21 Juanma Barranquero + + * subr.el (1value, lambda, key-substitution-in-progress): + Doc fixes. + + * autoinsert.el (auto-insert-alist): + * ses.el (ses-call-printer): + * subr.el (noreturn): + * emacs-lisp/lisp.el (check-parens): + * emacs-lisp/byte-opt.el (byte-optimize-pure-func): + * net/browse-url.el (browse-url-mosaic): + * progmodes/cc-defs.el (c-safe-scan-lists): + * progmodes/ebnf-abn.el (ebnf-abn-lex): + * progmodes/ebnf-bnf.el (ebnf-bnf-lex): + * progmodes/ebnf-dtd.el (ebnf-dtd-lex): + * progmodes/ebnf-ebx.el (ebnf-ebx-lex): + * progmodes/ebnf-iso.el (ebnf-iso-lex): + * progmodes/ebnf-yac.el (ebnf-yac-lex): Fix spellings. + +2005-06-21 Reiner Steib + + * pcvs-defs.el (cvs-menu): Add cvs-mode-mark and cvs-mode-unmark. + +2005-06-21 Glenn Morris + + * calendar/appt.el (appt-make-list): Activate the package, if + not already active (for backwards compatibility). + +2005-06-20 Kim F. Storm + + * subr.el (add-to-ordered-list): Test membership with eq. Simplify. + +2005-06-20 Miles Bader + + * faces.el (vertical-divider): New face. + +2005-06-20 Juanma Barranquero + + * simple.el (kill-whole-line): Doc fix. + (next-error-buffer-p, next-error-find-buffer) + (clone-indirect-buffer): Fix typos in docstrings. + (comment-line-break-function): Doc fix: don't say variable + is automatically buffer-local (it isn't). + +2005-06-19 Michael Albinus + + * net/tramp-ftp.el (top): + * net/tramp-smb.el (top): + * net/tramp-util.el (top): + * net/tramp-uu.el (top): + * net/tramp-vc.el (top): + * net/tramp.el (top): Revert copyright years back to original + ones. Tramp has a life outside GNU Emacs. + +2005-06-19 Nick Roberts + + * tooltip.el (tooltip-use-echo-area): Don't make it obsolete. + +2005-06-18 Juri Linkov + + * progmodes/grep.el (grep-regexp-alist): Use backreference at the + end of first regexp to limit the match to the position between + line number and source line with same separator character as used + between file name and line number. In the second regexp limit + mouse-face area to file name and line number by adding new group + for them and referring it in HYPERLINK arg. + (grep-regexp-alist, grep-mode-font-lock-keywords): Use shy group. + (grep-mode): Set font-lock-lines-before to 0 to not refontify the + previous line where grep markers may be already removed. + +2005-06-18 Peter Kleiweg + + * progmodes/ps-mode.el: Update version and maintainer's email address. + +2005-06-18 Steve Youngs + + * net/browse-url.el (browse-url-browser-function) + (browse-url-default-browser): Add firefox. + (browse-url-firefox-program, browse-url-firefox-arguments) + (browse-url-firefox-startup-arguments) + (browse-url-firefox-new-window-is-tab): New defcustoms. + (browse-url-firefox, browse-url-firefox-sentinel): New functions. + +2005-06-17 Richard M. Stallman + + * startup.el (command-line): Warn if specified user name has + no home directory. + + * term.el (term-get-old-input, term-input-filter, term-input-sender) + (term-mode-hook, term-exec-hook, term-escape-char): Doc fixes. + + * longlines.el (longlines-mode, longlines-show-hard-newlines): + Doc fixes. + + * faces.el (underline): Try bold if terminal doesn't support underline. + + * mail/sendmail.el (mail-setup-with-from): New variable. + (mail-insert-from-field): New function. + (sendmail-send-it): Call it. + (mail-setup): Optionally call it here. + + * term/linux.el: Call tty-no-underline. + +2005-06-17 Luc Teirlinck + + * emacs-lisp/edebug.el (edebug-goto-here): Doc fix. + +2005-06-17 Miles Bader + + * ediff-init.el (ediff-current-diff-A, ediff-current-diff-B) + (ediff-current-diff-C, ediff-current-diff-Ancestor) + (ediff-fine-diff-A, ediff-fine-diff-B, ediff-fine-diff-C) + (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B) + (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A) + (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor): + Remove "-face" suffix from face names. + (ediff-current-diff-face-A, ediff-current-diff-face-B) + (ediff-current-diff-face-C, ediff-current-diff-face-Ancestor) + (ediff-fine-diff-face-A, ediff-fine-diff-face-B) + (ediff-fine-diff-face-C, ediff-fine-diff-face-Ancestor) + (ediff-even-diff-face-A, ediff-even-diff-face-B) + (ediff-even-diff-face-C, ediff-even-diff-face-Ancestor) + (ediff-odd-diff-face-A, ediff-odd-diff-face-B) + (ediff-odd-diff-face-C, ediff-odd-diff-face-Ancestor): + New backward-compatibility aliases for renamed faces. + (ediff-current-diff-face-A, ediff-current-diff-face-B) + (ediff-current-diff-face-C, ediff-current-diff-face-Ancestor) + (ediff-fine-diff-face-A, ediff-fine-diff-face-B) + (ediff-fine-diff-face-C, ediff-fine-diff-face-Ancestor) + (ediff-even-diff-face-A, ediff-even-diff-face-B) + (ediff-even-diff-face-C, ediff-even-diff-face-Ancestor) + (ediff-odd-diff-face-A, ediff-odd-diff-face-B) + (ediff-odd-diff-face-C, ediff-odd-diff-face-Ancestor): + Use renamed ediff faces. + + * eshell/esh-test.el (eshell-test-ok, eshell-test-failed): + Remove "-face" suffix from face names. + (eshell-test-ok-face, eshell-test-failed-face): + New backward-compatibility aliases for renamed faces. + (eshell-run-test): Use renamed eshell-test faces. + + * eshell/em-prompt.el (eshell-prompt): Remove "-face" suffix from + face name. + (eshell-prompt-face): New backward-compatibility alias for renamed + face. + (eshell-emit-prompt): Use renamed eshell-prompt face. + + * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink) + (eshell-ls-executable, eshell-ls-readonly, eshell-ls-unreadable) + (eshell-ls-special, eshell-ls-missing, eshell-ls-archive) + (eshell-ls-backup, eshell-ls-product, eshell-ls-clutter): + Remove "-face" suffix from face names. + (eshell-ls-directory-face, eshell-ls-symlink-face) + (eshell-ls-executable-face, eshell-ls-readonly-face) + (eshell-ls-unreadable-face, eshell-ls-special-face) + (eshell-ls-missing-face, eshell-ls-archive-face) + (eshell-ls-backup-face, eshell-ls-product-face) + (eshell-ls-clutter-face): + New backward-compatibility aliases for renamed faces. + (eshell-ls-decorated-name): Use renamed eshell-ls faces. + + * progmodes/cc-fonts.el (c-nonbreakable-space-face): + Remove "-face" suffix from face name. + (c-cpp-matchers): Use the variable `c-nonbreakable-space-face' + instead of literal face. + +2005-06-17 Juanma Barranquero + + * emacs-lisp/warnings.el (display-warning, lwarn) + (warning-minimum-log-level): Doc fixes. + (warning-minimum-level, warning-minimum-log-level): + Add :debug to :type choices. + + * progmodes/ada-mode.el (ada-format-paramlist) + (ada-get-indent-case, ada-check-matching-start) + (ada-check-defun-name, ada-goto-matching-decl-start) + (ada-goto-matching-start, ada-goto-matching-end, ada-tab) + (ada-untab, ada-move-to-start, ada-fill-comment-paragraph) + (ada-make-subprogram-body): Follow error conventions. + (ada-case-exception-file, ada-indent-comment-as-code) + (ada-indent-handle-comment-special, ada-indent-renames) + (ada-indent-return, ada-search-directories-internal) + (ada-tab-policy, ada-case-exception-substring) + (ada-other-file-alist, ada-matching-start-re) + (ada-matching-decl-start-re, ada-contextual-menu-last-point) + (ada-imenu-generic-expression, ada-compile-goto-error) + (ada-in-comment-p, ada-in-string-p, ada-in-string-or-comment-p) + (ada-popup-menu, ada-add-extensions, ada-mode) + (ada-region-selected, ada-create-case-exception) + (ada-create-case-exception-substring, ada-after-keyword-p) + (ada-activate-keys-for-case, ada-adjust-case-region) + (ada-adjust-case-buffer, ada-format-paramlist) + (ada-scan-paramlist, ada-insert-paramlist) + (ada-indent-newline-indent) + (ada-indent-newline-indent-conditional) + (ada-justified-indent-current, ada-goto-previous-word) + (ada-indent-current, ada-get-indent-open-paren) + (ada-get-indent-paramlist, ada-get-indent-end) + (ada-get-indent-case, ada-get-indent-when, ada-get-indent-if) + (ada-get-indent-block-start, ada-get-indent-subprog) + (ada-get-indent-noindent, ada-get-indent-label) + (ada-get-indent-loop, ada-get-indent-type, ada-goto-stmt-start) + (ada-search-prev-end-stmt, ada-goto-next-non-ws) + (ada-goto-stmt-end, ada-goto-next-word) + (ada-check-matching-start, ada-check-defun-name) + (ada-goto-matching-decl-start, ada-goto-matching-start) + (ada-goto-matching-end, ada-search-ignore-string-comment) + (ada-in-decl-p, ada-looking-at-semi-or) + (ada-looking-at-semi-private, ada-in-paramlist-p) + (ada-in-open-paren-p, ada-tab, ada-indent-current-function) + (ada-untab-hard, ada-move-to-start, ada-move-to-end) + (ada-next-procedure, ada-previous-procedure, ada-next-package) + (ada-previous-package, ada-create-menu) + (ada-fill-comment-paragraph-justify) + (ada-fill-comment-paragraph-postfix, ada-fill-comment-paragraph) + (ada-other-file-name, ada-last-which-function-line) + (ada-last-which-function-subprog, ada-which-function) + (ada-get-body-name, ada-outline-level, ada-narrow-to-defun) + (ada-gen-treat-proc, ada-check-emacs-version) + (ada-continuation-indent, ada-align-region-separate): + Fix typos in docstrings. + (ada-adjust-case, ada-adjust-case-interactive): Doc fixes. + +2005-06-16 Lute Kamstra + + * simple.el (fundamental-mode): Run after-change-major-mode-hook + conditionally. + +2005-06-16 Juanma Barranquero + + * comint.el (comint-replace-by-expanded-filename) + (comint-prompt-regexp, comint-delimiter-argument-list) + (comint-preinput-scroll-to-bottom): + * info.el (Info-hide-cookies-node): + * ls-lisp.el (ls-lisp-classify): + * find-file.el (ff-search-directories, ff-special-constructs) + (ff-find-other-file): + * font-lock.el (font-lock-keywords): + * shell.el (shell-prompt-pattern) + (shell-dynamic-complete-functions, shell-mode) + (shell-delimiter-argument-list): + * term.el (term-replace-by-expanded-filename) + (term-prompt-regexp, term-delimiter-argument-list): + * woman.el (woman-ignore, woman0-if): + * emacs-lisp/derived.el (derived-mode-init-mode-variables): + * emacs-lisp/elint.el (elint-init-env): + * emacs-lisp/regexp-opt.el (regexp-opt-depth): + * eshell/esh-mode.el (eshell-preinput-scroll-to-bottom): + * language/ethio-util.el (ethio-tilde-escape) + (ethio-use-three-dot-question): + * net/zone-mode.el (zone-mode-load-time-setup): + * progmodes/cc-align.el (c-lineup-argcont): + * progmodes/cc-awk.el (c-awk-beginning-of-defun): + * progmodes/cperl-mode.el (cperl-set-style-back): + * progmodes/inf-lisp.el (inferior-lisp-prompt): + * progmodes/vhdl-mode.el (vhdl-beginning-of-libunit): + Fix spellings in docstrings. + + * textmodes/sgml-mode.el (sgml-calculate-indent, html-tag-help): + * progmodes/modula2.el (m2-for): Fix spellings. + + * menu-bar.el (menu-bar-games-menu): Fix typo in menu help string. + + * simple.el (undo-more): Don't use `format' on `error' arguments. + Improve argument/docstring consistency. + (pending-undo-list): Doc fix. + + * smerge-mode.el (smerge-ensure-match): + * emulation/vip.el (vip-ex): + * net/zone-mode.el (zone-mode-update-serial): + * progmodes/idlwave.el (idlwave-complete): + * progmodes/vhdl-mode.el (vhdl-visit-file) + (vhdl-compose-wire-components): + Don't use `format' on `error' arguments. + + * tooltip.el (tooltip-start-delayed-tip, tooltip-timeout) + (tooltip-use-echo-area, tooltip-process-prompt-regexp) + (tooltip-help-tips): Fix typos in docstrings. + +2005-06-16 David Ponce + + * tree-widget.el (tree-widget-value-create): Simplify last change. + +2005-06-15 Matt Hodges + + * ido.el (ido-incomplete-regexp): New variable. + (ido-set-matches-1): Handle invalid-regexp error and set + ido-incomplete-regexp. + (ido-incomplete-regexp): New face. + (ido-completions): Use it. + (ido-complete, ido-exit-minibuffer, ido-completions): + Handle incomplete regexps. + (ido-completions): Add check for complete match when entering a regexp. + +2005-06-15 Stefan Monnier + + * subr.el (add-to-ordered-list): Use a weak hash-table to avoid leaks. + +2005-06-15 Roland Winkler + + * textmodes/bibtex.el (bibtex-Preamble): Enclose BibTeX preamble + by field delimiters. + +2005-06-15 David Ponce + + * tree-widget.el: eval-and-compile inlined functions so they will + be available at run-time too. + (tree-widget-super-format-handler) + (tree-widget-format-handler): Remove. + (tree-widget-value-create): Handle the :indent property. + +2005-06-15 Miles Bader + + * progmodes/which-func.el (which-func): Only inherit + `font-lock-function-name-face' when that makes sense against the + default mode-line face, otherwise set the face color explicitly. + + * progmodes/cperl-mode.el (cperl-init-faces): Use literal cperl + faces instead of (non-existent) variables. + +2005-06-14 Stefan Monnier + + * iswitchb.el (iswitchb-to-end): Replace mapcar with dolist. + (iswitchb-get-matched-buffers): Likewise. Simplify. + +2005-06-14 Miles Bader + + * progmodes/ld-script.el (ld-script-location-counter): + Remove "-face" suffix from face name. + (ld-script-location-counter-face): + New backward-compatibility alias for renamed face. + (ld-script-location-counter-face): Use renamed face. + + * progmodes/cperl-mode.el (cperl-nonoverridable, cperl-array) + (cperl-hash): Remove "-face" suffix from face names. + (cperl-nonoverridable-face, cperl-array-face, cperl-hash-face): + New backward-compatibility aliases for renamed faces. + (cperl-find-pods-heres, cperl-init-faces, cperl-ps-print-init) + (cperl-ps-print-face-properties): Use renamed cperl-mode faces. + + * progmodes/which-func.el (which-func): Remove "-face" suffix from face + name. + (which-func-face): New backward-compatibility alias for renamed face. + (which-func-format): Use renamed which-func face. + + * progmodes/vhdl-mode.el (vhdl-prompt, vhdl-attribute, vhdl-enumvalue) + (vhdl-function, vhdl-directive, vhdl-reserved-word) + (vhdl-translate-off): Remove "-face" suffix and "font-lock-" from face + names. + (vhdl-speedbar-entity, vhdl-speedbar-architecture) + (vhdl-speedbar-configuration, vhdl-speedbar-package) + (vhdl-speedbar-library, vhdl-speedbar-instantiation) + (vhdl-speedbar-subprogram, vhdl-speedbar-entity-selected) + (vhdl-speedbar-architecture-selected) + (vhdl-speedbar-configuration-selected) + (vhdl-speedbar-package-selected) + (vhdl-speedbar-instantiation-selected): Remove "-face" suffix from face + names. + (vhdl-font-lock-keywords-2, vhdl-font-lock-keywords-5): + Use renamed faces. + (vhdl-prompt-face, vhdl-attribute-face, vhdl-enumvalue-face) + (vhdl-function-face, vhdl-directive-face, vhdl-reserved-words-face) + (vhdl-translate-off-face): Variables renamed to remove "font-lock-". + Use renamed faces. + (syntax-alist): Don't use "font-lock-" or "-face" in generated face + names. + (vhdl-font-lock-init, vhdl-ps-print-settings): Use renamed faces. + (vhdl-speedbar-insert-hierarchy, vhdl-speedbar-expand-entity) + (vhdl-speedbar-expand-package, vhdl-speedbar-update-current-unit) + (vhdl-speedbar-make-inst-line, vhdl-speedbar-make-pack-line) + (vhdl-speedbar-make-subpack-line, vhdl-speedbar-make-subprogram-line) + (vhdl-speedbar-item-info, vhdl-speedbar-check-unit): Use renamed faces. + + * progmodes/sh-script.el (sh-heredoc): Remove "-face" suffix from + face name. + (sh-heredoc-face): New backward-compatibility alias for renamed face. + (sh-heredoc-face): Use renamed sh-heredoc face. + + * progmodes/idlw-help.el (idlwave-help-link): + Remove "-face" suffix from face name. + (idlwave-help-link-face): + New backward-compatibility alias for renamed face. + (idlwave-highlight-linked-completions): Use renamed idlwave-help faces. + + * progmodes/idlw-shell.el (idlwave-shell-bp-face) + (idlwave-shell-disabled-bp): Remove "-face" suffix from face names. + (idlwave-shell-bp-face, idlwave-shell-disabled-bp): + New backward-compatibility aliases for renamed faces. + (idlwave-shell-disabled-breakpoint-face) + (idlwave-shell-breakpoint-face): Use renamed idlwave-shell faces. + + * progmodes/flymake.el (flymake-errline, flymake-warnline): + Remove "-face" suffix from face names. + (flymake-errline-face, flymake-warnline-face): + New backward-compatibility aliases for renamed faces. + (flymake-highlight-line): Use renamed flymake faces. + + * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class) + (ebrowse-file-name, ebrowse-default, ebrowse-member-attribute) + (ebrowse-member-class, ebrowse-progress): + Remove "-face" suffix from face names. + (ebrowse-tree-mark-face, ebrowse-root-class-face) + (ebrowse-file-name-face, ebrowse-default-face) + (ebrowse-member-attribute-face, ebrowse-member-class-face) + (ebrowse-progress-face): + New backward-compatibility aliases for renamed faces. + (ebrowse-show-progress, ebrowse-show-file-name-at-point) + (ebrowse-set-mark-props, ebrowse-draw-tree-fn) + (ebrowse-draw-member-buffer-class-line, ebrowse-draw-member-long-fn) + (ebrowse-draw-member-short-fn): Use renamed ebrowse faces. + + * progmodes/antlr-mode.el (antlr-default, antlr-keyword, antlr-syntax) + (antlr-ruledef, antlr-tokendef, antlr-ruleref, antlr-tokenref) + (antlr-literal): Remove "-face" suffix and "font-lock-" from face + names. + (antlr-font-lock-default-face, antlr-font-lock-keyword-face) + (antlr-font-lock-syntax-face, antlr-font-lock-ruledef-face) + (antlr-font-lock-tokendef-face, antlr-font-lock-ruleref-face) + (antlr-font-lock-tokenref-face, antlr-font-lock-literal-face): New + backward-compatibility aliases for renamed faces. + (antlr-default-face, antlr-keyword-face, antlr-syntax-face) + (antlr-ruledef-face, antlr-tokendef-face, antlr-ruleref-face) + (antlr-tokenref-face, antlr-literal-face): Variables renamed to + remove "font-lock-". Use renamed antlr-mode faces. + (antlr-font-lock-additional-keywords): Use renamed faces. Replace + literal face-names with face variable references. + + * buff-menu.el (Buffer-menu-buffer): Remove "-face" suffix from + face name. + (Buffer-menu-buffer-face): New backward-compatibility alias for + renamed face. + (list-buffers-noselect): Use renamed Buffer-menu-buffer face. + +2005-06-15 Daniel Pfeiffer + + * progmodes/make-mode.el (makefile-space, makefile-makepp-perl): + Eliminate "-face" suffix. + (makefile-targets): Inherit from font-lock-function-name-face and + eliminate "-face" suffix. + (makefile-shell): Remove attributes and eliminate "-face" suffix. + (makefile-*-font-lock-keywords): Append makefile-targets in rule + actions, instead of prepending, to make it less visible. + (makefile-previous-dependency, makefile-match-dependency): + Don't match a target on a continuation line. + + * files.el (auto-mode-alist): Put Makefile in gmake mode. + +2005-06-15 Nick Roberts + + * progmodes/gdb-ui.el (menu): Re-order menu items. + (gdb-tooltip-print): Respect tooltip-use-echo-area. + + * progmodes/gud.el (tooltip-use-echo-area): Remove alias. + Define in tooltip.el. + (gud-tooltip-process-output): Respect tooltip-use-echo-area. + (gud-tooltip-tips): Respect tooltip-use-echo-area and + gud-tooltip-echo-area. + + * tooltip.el (tooltip-use-echo-area): Restore from gud.el for + backward compatibility and make obsolete. + (tooltip-help-tips): Use tooltip-use-echo-area. + (tooltip-show-help-function): Rename to... + (tooltip-show-help): ...this, because it is a function. + (tooltip-mode, tooltip-help-message): Call tooltip-show-help. + +2005-06-14 Luc Teirlinck + + * emacs-lisp/edebug.el (edebug-all-defs, edebug-initial-mode) + (edebug-print-length, edebug-print-level, edebug-print-circle) + (edebug-modify-breakpoint, edebug-eval-last-sexp) + (edebug-eval-print-last-sexp): Doc fixes. + +2005-06-14 Kim F. Storm + + * ido.el (ido-mode): Make a new keymap every time we enable ido, + as the coverage buffer/file/both may change. + +2005-06-14 Lute Kamstra + + * net/ange-ftp.el (internal-ange-ftp-mode): Use delay-mode-hooks + and run-mode-hooks. Simplify. + + * mail/rmailedit.el (rmail-edit-mode): + * progmodes/octave-inf.el (inferior-octave-mode): + * progmodes/sql.el (sql-interactive-mode): Use delay-mode-hooks. + + * recentf.el (recentf-dialog-mode): Use kill-all-local-variables + and run-mode-hooks. + (recentf-edit-list, recentf-open-files): Don't call + kill-all-local-variables directly. + + * emacs-lisp/debug.el (debug-on-entry): Fix docstring. + +2005-06-14 Juanma Barranquero + + * emacs-lisp/byte-run.el (make-obsolete) + (define-obsolete-function-alias): Rename arguments FUNCTION and + NEW to OBSOLETE-NAME and CURRENT-NAME respectively. + (make-obsolete-variable, define-obsolete-variable-alias): + Rename arguments VARIABLE and NEW to OBSOLETE-NAME and CURRENT-NAME + respectively. + + * isearchb.el (isearchb-activate): + * pcvs.el (cvs-mode): + * ses.el (ses-load): + * vc-arch.el (vc-arch-checkin, vc-arch-diff): + * net/tramp.el (tramp-find-file-exists-command) + (tramp-find-shell): + * progmodes/ada-mode.el (ada-create-case-exception) + (ada-create-case-exception-substring, ada-make-subprogram-body): + * progmodes/idlw-shell.el (idlwave-shell-move-to-bp): + * progmodes/idlwave.el (idlwave-complete-class-structure-tag-help): + * progmodes/vhdl-mode.el (vhdl-speedbar-place-component): + * textmodes/org.el (org-promote, org-evaluate-time-range) + (org-agenda-next-date-line, org-agenda-previous-date-line) + (org-agenda-error, org-open-at-point, org-table-move-row) + (org-format-table-table-html-using-table-generate-source) + (org-shiftcursor-error, org-ctrl-c-ctrl-c): + * textmodes/reftex.el (reftex-access-scan-info): + * textmodes/reftex-toc.el (reftex-toc-dframe-p) + (reftex-toc-promote-prepare): Follow error conventions. + + * diff-mode.el (diff-mode): Fix typo in docstring. + + * forms.el (forms--intuit-from-file): Fix reference to + `forms-number-of-fields' in error message. + (forms-print): Fix quoting in error message. + + * forms.el (forms-mode): + * emulation/vi.el (vi-goto-insert-state): + * progmodes/flymake.el (flymake-new-err-info) + (flymake-start-syntax-check-for-current-buffer) + (flymake-simple-cleanup): + * eshell/esh-var.el (eshell/export): + * progmodes/gud.el (xdb): + * textmodes/flyspell.el (flyspell-incorrect-hook) + (flyspell-maybe-correct-transposition) + (flyspell-maybe-correct-doubling): Fix quoting in docstring. + +2005-06-13 Luc Teirlinck + + * emacs-lisp/debug.el (cancel-debug-on-entry): Mention default in + minibuffer prompt. + +2005-06-13 Kim F. Storm + + * subr.el (add-to-ordered-list): New defun. + + * emulation/cua-base.el (cua-mode): Use add-to-ordered-list to + add cua--keymap-alist to emulation-mode-map-alists. + +2005-06-13 Stefan Monnier + + * subr.el (complete-in-turn): New macro. + (dynamic-completion-table, lazy-completion-table): Add debug info. + + * faces.el (read-face-name): Use complete-in-turn complete non-aliases + in preference to face aliases. + + * textmodes/fill.el (fill-match-adaptive-prefix): New function. + (fill-context-prefix): Use it to avoid guessing absurdly long prefixes. + Remove unused vars `start' and `firstline'. + (fill-nobreak-p): Fix line-move-invisible -> line-move-invisible-p. + (justify-current-line, fill-individual-paragraphs): Remove unused vars. + +2005-06-13 Eli Zaretskii + + * cus-start.el (all): Don't complain about missing GTK-related + variables, unless either `gtk' is boundp or this isn't a + `windows-nt' build. + +2005-06-13 Lute Kamstra + + * abbrev.el (edit-abbrevs-mode): Use kill-all-local-variables and + run-mode-hooks. + + * ediff-mult.el (ediff-meta-mode): + * ediff-util.el (ediff-mode): Use run-mode-hooks. + + * ledit.el (ledit-mode): Use delay-mode-hooks. + + * woman.el (woman-mode-line-format): Delete constant. + (woman-mode-map): Initialize it properly. + (woman-mode): Set mode-class property to special. + Use delay-mode-hooks and run-mode-hooks. Use the right keymap. + Set major-mode and mode-name. Don't set mode-line-format directly. + (Man-getpage-in-background): Don't reference woman-mode-line-format. + + * emacs-lisp/debug.el (cancel-debug-on-entry): Make the empty + string argument obsolete. + +2005-06-13 Carsten Dominik + + * textmodes/org.el (org-CUA-compatible): New option. + (org-disputed-keys): New variable. + (org-key): New function. + (orgtbl-make-binding): Add docstring to the created function. + (org-mode): Set paragraph start/separate regexps. + (orgtbl-mode): Don't start `orgtbl-mode' in `org-mode' buffers. + (org-archive-location, org-archive-mark-done) + (org-archive-stamp-time): New options. + (org-archive-subtree): New command. + (org-fill-paragraph): New function. + (org-mode): Set `fill-paragraph-function' to `org-fill-paragraph'. + (org-fake-empty-table-line): Function removed. + (org-format-org-table-html): Do not create empty table lines at + separator lines. Improved table header treatment. + (org-link-format): New option. + (org-make-link): New function. + (org-insert-link, org-store-link): Use org-make-link. + (org-open-file): Quote file name for shell command, to allow + spaces in file names. + (org-link-regexp): Fix bug with mailto link. + (org-link-maybe-angles-regexp, org-protected-link-regexp): + New constants. + (org-export-as-html): Deal with the optional angles around a link. + Better treatment of file: links. + (org-open-at-point): Replace @{ and @} with < and >. + (org-run-mode-hooks): Function removed. + (org-agenda-mode): No longer use `org-run-mode-hooks'. + +2005-06-13 Nick Roberts + + * progmodes/gdb-ui.el (gdb-registers-mode): Let gdbmi use + MI command -data-list-register-values. + (gdb-post-prompt): Indent properly. + +2005-06-13 Juanma Barranquero + + * hilit-chg.el (highlight-changes-colors): Rename from + `highlight-changes-colours'. + (highlight-changes-colours): Keep as obsolete alias. + (highlight-changes-face-list): Doc fix. + (hilit-chg-make-list): Use `highlight-changes-colors'. + +2005-06-12 Mark A. Hershberger + + * progmodes/cperl-mode.el (cperl-mode): Remove stray paren in + defun-prompt-regexp. + +2005-06-12 Eli Zaretskii + + * loadup.el: Don't say we are dumping under 2 names on windows-nt + and cygwin. + + * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH): + Don't use an old loaddefs.el, as in Makefile.in. + +2005-06-12 Lute Kamstra + + * Makefile.in (bootstrap-prepare): Don't use an old loaddefs.el. + + * man.el (Man-mode-map): Initialize it properly. + (Man-mode): Set mode-class property to special. + + * calendar/calendar.el (calendar-mode): Use run-mode-hooks. + +2005-06-11 Luc Teirlinck + + * menu-bar.el (menu-bar-make-toggle): Remove stray backslash. + A newline is needed in the docstring there. + + * emacs-lisp/debug.el (debug-on-entry, cancel-debug-on-entry): + Doc fixes. + +2005-06-11 Vinicius Jose Latorre + + * printing.el: Doc fix. The menubar is no more changed when printing + is loaded, it only changes when pr-menu-bind or pr-update-menus is + called. Now, the menubar changing will work in Emacs 20, 21 and 22. + (pr-version): New version number (6.8.4). + (pr-menu-bind): New command. + (pr-update-menus): Docstring and code fix. + (pr-menu-print-item): Now is a global var in Emacs and XEmacs. + Docstring fix. + (pr-txt-printer-alist, pr-ps-printer-alist, pr-gv-command) + (pr-gs-command, pr-gs-switches, pr-ps-utility-alist): Docstring fix. + +2005-06-11 Thien-Thi Nguyen + + * emacs-lisp/ewoc.el: Doc fixes for public funcs: + "Returns" to "return", document useful return values, etc. + +2005-06-11 Alan Mackenzie + - * fill.el (fill-context-prefix): Try `adaptive-fill-function' ++ * textmodes/fill.el (fill-context-prefix): Try `adaptive-fill-function' + BEFORE `adaptive-fill-regexp' when determining a fill prefix. + (adaptive-file-function): Minor amendment to doc-string. + +2005-06-11 Frederik Fouvry + + * thumbs.el (thumbs-per-line, thumbs-thumbsdir-max-size) + (thumbs-relief, thumbs-margin, thumbs-image-resizing-step): + Fix :type--it is `integer', not `string'. + + * faces.el (modeline-highlight): Rename from (the erroneous) + `modeline-higilight'. + +2005-06-11 Lute Kamstra + + * emacs-lisp/edebug.el (edebug-eval-mode-map): Don't copy + lisp-interaction-mode-map but make it the parent. + (edebug-eval-mode): Use define-derived-mode. + +2005-06-11 Andreas Schwab + + * bindings.el: Add binding of `ESC functionkey' for every + `M-functionkey'. + * hexl.el (hexl-mode-map): Likewise. + +2005-06-10 Michael Hotchin (tiny change) + + * progmodes/compile.el (compilation-error-regexp-alist-alist) + [msft]: update regexp for newer msft compilers. + +2005-06-10 Mark A. Hershberger + + * xml.el (start-chars, xml-parse-dtd): Add the ability to skip + ATTLIST portions of included DTDs. + (xml-parse-dtd): Eliminate use of inefficient match-data. + +2005-06-10 Miles Bader + + * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial) + (mpuz-text): Remove "-face" suffix from face names. + (mpuz-unsolved-face, mpuz-solved-face, mpuz-trivial-face) + (mpuz-text-face): New backward-compatibility aliases for renamed faces. + (mpuz-create-buffer, mpuz-paint-digit): Use renamed mpuz faces. + + * play/gomoku.el (gomoku-O, gomoku-X): + Remove "-face" suffix from face names. + (gomoku-font-lock-O-face, gomoku-font-lock-X-face): + New backward-compatibility aliases for renamed faces. + (gomoku-font-lock-keywords): Use renamed gomoku faces. + +2005-06-10 Juanma Barranquero + + * thumbs.el: Fixes for changes of 2005-06-09. + (thumbs-thumbsdir): Force `thumbs-thumbsdir' to be interpretable + as a directory. + (thumbs-thumbname): Remove directory separator from format string; + `thumbs-thumbsdir' now returns a valid directory name. + (thumbs-temp-dir): New defsubst. + (thumbs-temp-file, thumbs-resize-image, thumbs-modify-image): + Use it. + + * cus-edit.el (minibuffer): + * files.el (make-backup-file-name-function): + * filesets.el (filesets-external-viewers): + * hilit-chg.el (highlight-changes-colours) + (highlight-changes-face-list, highlight-changes-rotate-faces): + * ielm.el (ielm-dynamic-return, inferior-emacs-lisp-mode): + * kmacro.el (kmacro-call-macro): + * log-edit.el (log-edit-changelog-full-paragraphs): + * mouse.el (mouse-1-click-follows-link): + * skeleton.el (skeleton-autowrap): + * subr.el (insert-for-yank-1): + * tempo.el (tempo-insert-region): + * terminal.el (terminal-emulator): + * time.el (display-time-mail-face): + * vc.el (vc-annotate): + * vcursor.el (vcursor-copy-line): + * woman.el (woman-bold-headings, woman-ignore) + (woman-default-faces, woman-monochrome-faces): + * calendar/todo-mode.el (todo-insert-threshold): + * emulation/pc-select.el (pc-select-selection-keys-only) + (pc-selection-mode): + * emulation/vip.el (vip-find-char-forward): + * emulation/viper-cmd.el (viper-find-char-forward): + * international/mule-cmds.el + (select-safe-coding-system-accept-default-p) + (input-method-exit-on-invalid-key): + * international/mule-diag.el (describe-coding-system): + * international/ucs-tables.el (unify-8859-on-encoding-mode): + * net/browse-url.el (browse-url-xterm-program): + * obsolete/lazy-lock.el (lazy-lock-mode): + * progmodes/cperl-mode.el (cperl-info-on-command-no-prompt) + (cperl-mode): + * progmodes/cpp.el (cpp-face-light-name-list) + (cpp-face-dark-name-list): + * progmodes/delphi.el (delphi-newline-always-indents): + Fix spellings in docstrings. + + * ido.el (ido-mode, ido-file-extensions-order) + (ido-default-file-method, ido-default-buffer-method) + (ido-max-prospects, ido-slow-ftp-hosts, ido-setup-hook) + (ido-decorations, ido-read-file-name-as-directory-commands) + (ido-read-file-name-non-ido, ido-work-directory-list) + (ido-ignore-item-temp-list, ido-current-directory) + (ido-magic-forward-char, ido-enter-find-file) + (ido-enter-switch-buffer, ido-visit-buffer, ido-switch-buffer) + (ido-find-file, ido-read-buffer): Fix typos in docstrings. + +2005-06-10 Lute Kamstra + + * play/dunnet.el (dun-mode): Use define-derived-mode. + (dungeon-mode-map): Rename to dun-mode-map. Keep old name as an + obsolete alias. + + * play/doctor.el (doctor-mode-map): Remove defvar. + (doctor-mode): Use define-derived-mode. + + * mail/mspools.el (mspools-mode): + * net/eudc-hotlist.el (eudc-hotlist-mode): + * play/blackbox.el (blackbox-mode): Use run-mode-hooks. + +2005-06-10 Miles Bader + + * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate): + Remove "-face" suffix from face names. + (flyspell-incorrect-face, flyspell-duplicate-face): + New backward-compatibility aliases for renamed faces. + (flyspell-mode-on, make-flyspell-overlay) + (flyspell-highlight-incorrect-region) + (flyspell-highlight-duplicate-region) + (flyspell-display-next-corrections) + (flyspell-auto-correct-previous-word): Use renamed flyspell faces. + + * textmodes/texinfo.el (texinfo-heading): Remove "-face" suffix + from face name. + (texinfo-heading-face): New backward-compatibility alias for + renamed face. + (texinfo-heading-face): Use renamed texinfo-heading face. + + * textmodes/tex-mode.el (tex-math, tex-verbatim): Remove "-face" + suffix from face names. + (tex-math-face, tex-verbatim-face): + New backward-compatibility aliases for renamed faces. + (tex-math-face, tex-verbatim-face): Use renamed tex-mode faces. + (tex-insert-quote): Use `tex-verbatim-face' variable instead of + literal face name. + + * textmodes/table.el (table-cell): Remove "-face" suffix from face + name. + (table-cell-face): New backward-compatibility alias for renamed face. + (table--put-cell-face-property, table--update-cell-face): + Use renamed table-cell face. + + * textmodes/sgml-mode.el (sgml-namespace): Remove "-face" suffix + from face name. + (sgml-namespace-face): New backward-compatibility alias for + renamed face. + (sgml-namespace-face): Use renamed sgml-namespace face. + + * textmodes/org.el (org-level-1, org-level-2, org-level-3) + (org-level-4, org-level-5, org-level-6, org-level-7) + (org-level-8, org-warning, org-headline-done) + (org-deadline-announce, org-scheduled-today) + (org-scheduled-previously, org-link, org-done, org-table) + (org-time-grid): Remove "-face" suffix from face names. + (org-level-1-face, org-level-2-face, org-level-3-face) + (org-level-4-face, org-level-5-face, org-level-6-face) + (org-level-7-face, org-level-8-face, org-warning-face) + (org-headline-done-face, org-deadline-announce-face) + (org-scheduled-today-face, org-scheduled-previously-face) + (org-link-face, org-done-face, org-table-face) + (org-time-grid-face): + New backward-compatibility aliases for renamed faces. + (org-level-faces, org-set-font-lock-defaults, org-timeline) + (org-agenda, org-agenda-get-todos, org-agenda-get-deadlines) + (org-agenda-get-timestamps, org-agenda-get-scheduled) + (org-agenda-add-time-grid-maybe, org-table-p): Use renamed org faces. + + * emulation/viper-init.el (viper-search, viper-replace-overlay) + (viper-minibuffer-emacs, viper-minibuffer-insert) + (viper-minibuffer-vi): Remove "-face" suffix from face names. + (viper-search-face, viper-replace-overlay-face) + (viper-minibuffer-emacs-face, viper-minibuffer-insert-face) + (viper-minibuffer-vi-face): + New backward-compatibility aliases for renamed faces. + (viper-search-face, viper-replace-overlay-face) + (viper-minibuffer-emacs-face, viper-minibuffer-insert-face) + (viper-minibuffer-vi-face): Use renamed viper faces. + + * emacs-lisp/testcover.el (testcover-nohits, testcover-1value): + Remove "-face" suffix from face names. + (testcover-nohits-face, testcover-1value-face): + New backward-compatibility aliases for renamed faces. + (testcover-mark): Use renamed testcover faces. + + * calendar/diary-lib.el (diary-button): Remove "-face" suffix from + face name. + (diary-button-face): New backward-compatibility alias for renamed face. + (diary-entry): Use renamed diary-button face. + + * calendar/calendar.el (diary, calendar-today, holiday) + (mark-visible-calendar-date): Remove "-face" suffix from face names. + (diary-face, calendar-today-face, holiday-face): + New backward-compatibility aliases for renamed faces. + (eval-after-load "facemenu", diary-entry-marker) + (calendar-today-marker, calendar-holiday-marker, diary-face): + Use renamed calendar faces. + + * compare-w.el (compare-windows): Remove "-face" suffix from face name. + (compare-windows-face): New backward-compatibility alias for + renamed face. + (compare-windows-highlight): Use renamed compare-windows face. + + * strokes.el (strokes-char): Remove "-face" suffix from face name. + (strokes-char-face): New backward-compatibility alias for renamed face. + (strokes-encode-buffer): Use renamed strokes-char face. + + * pcvs-info.el (cvs-header, cvs-filename, cvs-unknown) + (cvs-handled, cvs-need-action, cvs-marked, cvs-msg): + Remove "-face" suffix from face names. + (cvs-header-face, cvs-filename-face, cvs-unknown-face) + (cvs-handled-face, cvs-need-action-face, cvs-marked-face) + (cvs-msg-face): New backward-compatibility aliases for renamed faces. + (cvs-fi-up-to-date-face, cvs-fi-unknown-face, cvs-fileinfo-pp): + Use renamed pcvs faces. + * pcvs.el (cvs-mode-find-file): Use renamed pcvs faces. + * pcvs-defs.el (cvs-mode-map): Likewise. + * cvs-status.el (cvs-status-font-lock-keywords): Likewise. + + * info.el (info-title-1, info-title-2, info-title-3) + (info-title-4): Remove "-face" suffix from and downcase face names. + (Info-title-1-face, Info-title-2-face, Info-title-3-face) + (Info-title-4-face): + New backward-compatibility aliases for renamed faces. + (Info-fontify-node): Use renamed info faces. + + * hilit-chg.el (highlight-changes, highlight-changes-delete): + Remove "-face" suffix from face names. + (highlight-changes-face, highlight-changes-delete-face): + New backward-compatibility aliases for renamed faces. + (hilit-chg-cust-fix-changes-face-list, hilit-chg-make-ov) + (hilit-chg-make-list): Use renamed highlight-changes faces. + + * generic-x.el (show-tabs-tab, show-tabs-space): + Remove "-face" suffix from face names. + (show-tabs-tab-face, show-tabs-space-face): + New backward-compatibility aliases for renamed faces. + (show-tabs-generic-mode-font-lock-defaults-1) + (show-tabs-generic-mode-font-lock-defaults-2): + Use renamed show-tabs faces. + + * smerge-mode.el (smerge-mine, smerge-other, smerge-base) + (smerge-markers): Remove "-face" suffix from face names. + (smerge-mine-face, smerge-other-face, smerge-base-face) + (smerge-markers-face): + New backward-compatibility aliases for renamed faces. + (smerge-mine-face, smerge-other-face, smerge-base-face) + (smerge-markers-face): Use renamed smerge faces. + + * log-view.el (log-view-file, log-view-message): Remove "-face" + suffix from face names. + (log-view-file-face, log-view-message-face): + New backward-compatibility aliases for renamed faces. + (log-view-file-face, log-view-message-face): Use renamed log-view + faces. + + * paren.el (show-paren-match, show-paren-mismatch): + Remove "-face" suffix from face names. + (show-paren-match-face, show-paren-mismatch-face): + New backward-compatibility aliases for renamed faces. + (show-paren-function): Use renamed show-paren faces. + + * ruler-mode.el (ruler-mode-default, ruler-mode-pad) + (ruler-mode-margins, ruler-mode-fringes) + (ruler-mode-column-number, ruler-mode-fill-column) + (ruler-mode-comment-column, ruler-mode-goal-column) + (ruler-mode-tab-stop, ruler-mode-current-column): Remove "-face" + suffix from face names. + (ruler-mode-default-face, ruler-mode-pad-face) + (ruler-mode-margins-face, ruler-mode-fringes-face) + (ruler-mode-column-number-face, ruler-mode-fill-column-face) + (ruler-mode-comment-column-face, ruler-mode-goal-column-face) + (ruler-mode-tab-stop-face, ruler-mode-current-column-face): + New backward-compatibility aliases for renamed faces. + (ruler-mode-pad, ruler-mode-margins, ruler-mode-fringes) + (ruler-mode-column-number, ruler-mode-fill-column) + (ruler-mode-comment-column, ruler-mode-goal-column) + (ruler-mode-tab-stop, ruler-mode-current-column) + (ruler-mode-mouse-grab-any-column, ruler-mode-ruler): Use renamed + faces. + + * whitespace.el (whitespace-highlight): Remove "-face" suffix from + face name. + (whitespace-highlight-the-space): Use renamed face. + (whitespace-highlight-face): New backward-compatibility alias for + renamed face. + + * woman.el (woman-italic, woman-bold, woman-unknown) + (woman-addition, woman-symbol-face): + Remove "-face" suffix from face names. + (woman-italic-face, woman-bold-face, woman-unknown-face) + (woman-addition-face): + New backward-compatibility aliases for renamed faces. + (woman-default-faces, woman-monochrome-faces, woman-man-buffer) + (woman-decode-region, woman-replace-match) + (woman-display-extended-fonts, woman-special-characters) + (woman-font-alist, woman-change-fonts, woman2-TH, woman2-SH): + Use renamed woman faces. + + * longlines.el (longlines-visible-face): Face removed. + + * diff-mode.el (diff-header, diff-file-header, diff-index) + (diff-hunk-header, diff-removed, diff-added, diff-changed) + (diff-function, diff-context, diff-nonexistent): Remove "-face" + suffix from face names. + (diff-header-face, diff-file-header-face, diff-index-face) + (diff-hunk-header-face, diff-removed-face, diff-added-face) + (diff-changed-face, diff-function-face, diff-context-face) + (diff-nonexistent-face): New backward-compatibility aliases for + renamed faces. + (diff-header-face, diff-file-header-face) + (diff-index, diff-index-face, diff-hunk-header) + (diff-hunk-header-face, diff-removed, diff-removed-face) + (diff-added, diff-added-face, diff-changed-face, diff-function) + (diff-function-face, diff-context-face, diff-nonexistent) + (diff-nonexistent-face): Use renamed diff-mode faces. + + * progmodes/compile.el (compilation-warning-face) + (compilation-info-face): Remove "-face" suffix from face names. + (compilation-warning-face, compilation-info-face): + New backward-compatibility aliases for renamed faces. + (compilation-warning-face, compilation-info-face): + Use renamed compilation faces. + + * add-log.el (change-log-date, change-log-name) + (change-log-email, change-log-file, change-log-list) + (change-log-conditionals, change-log-function) + (change-log-acknowledgement): Remove "-face" suffix from face names. + (change-log-date-face, change-log-name-face) + (change-log-email-face, change-log-file-face) + (change-log-list-face, change-log-conditionals-face) + (change-log-function-face, change-log-acknowledgement-face): + New backward-compatibility aliases for renamed faces. + (change-log-font-lock-keywords): Use renamed change-log faces. + + * cus-edit.el (custom-invalid, custom-rogue, custom-modified) + (custom-set, custom-changed, custom-saved, custom-button) + (custom-button-pressed, custom-documentation, custom-state) + (custom-comment, custom-comment-tag, custom-variable-tag) + (custom-variable-button, custom-face-tag, custom-group-tag-1) + (custom-group-tag): Remove "-face" suffix from face names. + (custom-magic-alist, custom-magic-value-create) + (custom-group-sample-face-get, custom-mode): Use renamed custom faces. + (custom-invalid-face, custom-rogue-face, custom-modified-face) + (custom-set-face, custom-changed-face, custom-saved-face) + (custom-button-face, custom-button-pressed-face) + (custom-documentation-face, custom-state-face) + (custom-comment-face, custom-comment-tag-face) + (custom-variable-tag-face, custom-variable-button-face) + (custom-face-tag-face, custom-group-tag-face-1) + (custom-group-tag-face): + New backward-compatibility aliases for renamed faces. + + * wid-edit.el (widget-documentation, widget-button) + (widget-field, widget-single-line-field, widget-inactive) + (widget-button-pressed): "-face" suffix removed from face names. + (widget-documentation-face, widget-button-face) + (widget-field-face, widget-single-line-field-face) + (widget-inactive-face, widget-button-pressed-face): + New backward-compatibility aliases for renamed faces. + (widget-documentation-face, widget-button-face) + (widget-button-pressed-face, widget-specify-field) + (widget-specify-inactive): Use renamed widget faces. + +2005-06-10 Kenichi Handa + + * term/x-win.el (x-clipboard-yank): Remove condition-case + wrapping. + +2005-06-11 Kenichi Handa + + * add-log.el (change-log-font-lock-keywords): Make the regexp for + date lines stricter. + +2005-06-10 Zhang Wei + + * term/x-win.el (x-clipboard-yank): Use x-selection-value instead + of x-get-selection. + +2005-06-10 Juanma Barranquero + + * comint.el (comint-mode, comint-snapshot-last-prompt): + * frame.el (frame-current-scroll-bars): + * term.el (term-mode, term-check-proc, term-input-sender) + (term-simple-send, term-extract-string, term-word) + (term-match-partial-filename): + * window.el (window-current-scroll-bars): + * emulation/cua-base.el (cua-normal-cursor-color) + (cua-read-only-cursor-color, cua-overwrite-cursor-color) + (cua-global-mark-cursor-color): + * mail/undigest.el (rmail-forward-separator-regex): + Fix typos in docstrings. + + * comint.el (comint-check-proc, make-comint-in-buffer) + (comint-source-default): Doc fixes. + + * term.el (term-send-string): Improve argument/docstring consistency. + +2005-06-09 Luc Teirlinck + + * comint.el (comint-send-input): Bind `inhibit-read-only' around + call to `delete-region'. + (comint-mode-hook): Do not enable Font Lock by default. + +2005-06-09 Lute Kamstra + + * textmodes/ispell.el (ispell-menu-map-needed): flyspell-mode + could be void. + +2005-06-09 Stefan Monnier + + * emacs-lisp/debug.el (debugger-will-be-back): New var. + (debug): Use it. + (debugger-step-through, debugger-continue, debugger-jump) + (debugger-return-value): Set it when needed. + (debugger-make-xrefs, debugger-frame, debugger-frame-clear): + Use inhibit-read-only. + +2005-06-09 Juanma Barranquero + + * window.el (shrink-window-if-larger-than-buffer) + (window-size-fixed): Fix typo in docstring. + + * thumbs.el: Don't set `auto-image-file-mode'. Do not create the + thumbnails directory on loading. + (thumbs-conversion-program): Use `eq' to check the system type, + not `equal'. + (thumbs-temp-dir): Initialize to `temporary-file-directory', + not "/tmp". Fix docstring. + (thumbs-thumbsdir): New function to return the thumbnails + directory, creating it if needed. + (thumbs-cleanup-thumbsdir, thumbs-thumbname): Use it. + (thumbs-temp-file): Delete variable and make it into a function. + (thumbs-resize-image, thumbs-modify-image): Use it. + (thumbs-kill-buffer): Simplify. + (thumbs-gensym): Defalias or duplicate CL `gensym'. + (thumbs-resize-image, thumbs-resize-interactive): Fix typos in + docstrings. + +2005-06-09 Kim F. Storm + + * subr.el (save-match-data): Add RESEAT arg `evaporate' to + set-match-data to free markers in match-data. + + * replace.el (replace-match-data): Pass RESEAT arg `t' to + match-data to unchain markers in match-data. + +2005-06-08 Stefan Monnier + + * emacs-lisp/debug.el (debug): Don't iconify if we know we'll re-enter + the debugger immediately anyway. Undo the 2005-06-06 change, rendered + unnecessary now. + +2005-06-08 Richard M. Stallman + + * emacs-lisp/easy-mmode.el (define-minor-mode): If BODY is empty, + give the variable a doc string that doesn't say don't set it directly. + + * textmodes/ispell.el (ispell-check-version): + Use match-string-no-properties. + (ispell-region, ispell-buffer-local-parsing, ispell-buffer-local-dict) + (ispell-buffer-local-words): Likewise. + + * progmodes/make-mode.el (makefile-shell-face): Make this a no-op + except on terminals with enough colors to really display it. + (makefile-dependency-regex): Delete spurious `bb'. + + * faces.el (escape-glyph): Use blue once again in last case. + (no-break-space): Redefine so that it isn't invisible on a tty. + +2005-06-08 Kim F. Storm + + * ido.el (ido-read-file-name): Fallback to read-file-name on C-f + also when reading directory name. + +2005-06-08 Lute Kamstra + + * textmodes/flyspell.el (flyspell-mode): Use define-minor-mode. + (flyspell-mode-line-string): Remove autoload cookie. + (flyspell-mode): Remove defvar. + +2005-06-07 Lute Kamstra + + * textmodes/org.el (org-run-mode-hooks): New function. + (org-agenda-mode): Use it. + +2005-06-07 David McCabe (tiny change) + + * emacs-lisp/lisp-mode.el (defstruct): Set `doc-string-elt' property. + +2005-06-06 Stefan Monnier + + * international/iso-cvt.el (iso-sgml2iso-trans-tab): Add NBSP. + +2005-06-06 Luc Teirlinck + + * font-lock.el (font-lock-add-keywords): Doc fix. + +2005-06-06 Stefan Monnier + + * textmodes/tex-mode.el (tex-guess-mode): Add RequirePackage. + (tex-compile-default): In the absence of any history, use the order in + tex-compile-alist to choose the preferred command. + (tex-compile-commands): Reorder a bit. + + * textmodes/flyspell.el (flyspell-auto-correct-binding) + (flyspell-incorrect-face, flyspell-duplicate-face): + Use (X)Emacs-agnostic code. + (flyspell-mode-map): Don't overwrite at each load. Remove code + redundant with the subsequent add-minor-mode. Merge Emacs and + XEmacs code. + (flyspell-word): Minor simplification. + (flyspell-math-tex-command-p): Quieten the byte-compiler. + (flyspell-external-point-words): Remove unused vars `size' and `start'. + (flyspell-do-correct): Rename from flyspell-xemacs-correct. + Merge the corresponding Emacs code. + (flyspell-correct-word, flyspell-xemacs-popup): + Use flyspell-do-correct. + + * emacs-lisp/debug.el (debug): Don't bury the buffer unless it's in + a dedicated window. + + * international/latexenc.el (latexenc-find-file-coding-system): + Undo part of last patch, to turn off a compiler warning. + +2005-06-06 Juri Linkov + + * tmm.el (tmm-inactive, tmm-remove-inactive-mouse-face): + Rename `tmm-inactive-face' to `tmm-inactive'. + +2005-06-06 Matt Hodges + + * iswitchb.el: Rename faces. + +2005-06-06 Kim F. Storm + + * emulation/cua-base.el (cua-rectangle, cua-rectangle-noselect) + (cua-global-mark): Remove -face suffix from face names. + + * emulation/cua-gmrk.el (cua--init-global-mark): + Remove cua-global-mark face setup. + +2005-06-06 Richard M. Stallman + + * progmodes/make-mode.el (makefile-dependency-regex): Handle whitespace + just like other allowed characters. + (makefile-match-dependency): Exclude leading and training whitespace + from the range of regexp subexp 1. + (makefile-macroassign-regex): Don't try to match the body, + just the name of the macro being defined. + + * info.el (Info-read-node-name-2): New function. + (Info-read-node-name-1): Use that. + Add a completion-base-size-function property. + + * simple.el (completion-setup-function): Look for + completion-base-size-function property of minibuffer-completion-table. + + * files.el (locate-file-completion): Doc fix. + + * printing.el: Don't call pr-update-menus; user must do that. + + * emacs-lisp/debug.el (debugger-window): New variable. + (debug): Use debugger-window if it is set and still alive. + Record debugger-window for next entry. + + * mail/supercite.el (sc-mail-glom-frame): Mark as risky. + +2005-06-06 Matthias F,Av(Brste + + * files.el (hack-local-variables-confirm): New arg FLAG-TO-CHECK. + (hack-one-local-variable, hack-local-variables) + (hack-local-variables-prop-line): Pass that arg. + +2005-06-06 Kim F. Storm + + * ido.el (ido-first-match, ido-only-match, ido-subdir) + (ido-indicator): Remove -face suffix from face names. + +2005-06-06 Juri Linkov + + * font-lock.el (font-lock-regexp-backslash) + (font-lock-regexp-backslash-construct): New faces. + (lisp-font-lock-keywords-2): Use new faces. Match `?:' only + after `('. Add `while-no-input' to control structures. + + * faces.el (no-break-space, shadow): New faces. + (escape-glyph): Use less loud colors pink2 and red4. + + * diff-mode.el (diff-context-face) + * dired.el (dired-ignored) + * rfn-eshadow.el (file-name-shadow) + * tmm.el (tmm-inactive-face): Inherit from `shadow' face. + + * info.el (Info-title-1-face): Use green instead of yellow because + bold yellow is not readable on light backgrounds. + + * progmodes/compile.el (compilation-start): Move `erase-buffer' up + before selecting the desired mode to not spend time fontifying + old contents. + +2005-06-06 Juanma Barranquero + + * thumbs.el (thumbs-thumbsdir-max-size, thumbs-image-resizing-step) + (thumbs-thumbsdir-auto-clean): Fix typos in docstrings. + + * ps-print.el (ps-default-fg, ps-default-bg): + Fix typos in docstrings. + + * isearchb.el (isearchb): Don't pass a spurious second argument to + `iswitchb-completions'. + +2005-06-05 Nick Roberts + + * progmodes/gdb-ui.el (gdb-info-locals-handler): Use window point + to preserve point. + (gdb-find-file-hook): Add doc string. + + * progmodes/gud.el (gdb, gud-menu-map): Add command to evaluate + C dereferenced pointer expression. + (gud-tool-bar-map): Put it on the tool bar. Re-order icons. + + * toolbar/gud-pstar.xpm, toolbar/gud-pstar.pbm: New files. + + * toolbar/gud-break.xpm, toolbar/gud-cont.xpm, toolbar/gud-down.xpm + * toolbar/gud-finish.xpm, toolbar/gud-ni.xpm, toolbar/gud-n.xpm + * toolbar/gud-print.xpm, toolbar/gud-remove.xpm, toolbar/gud-run.xpm + * toolbar/gud-si.xpm, toolbar/gud-s.xpm, toolbar/gud-until.xpm + * toolbar/gud-up.xpm, toolbar/gud-watch.xpm: + Make background transparent. + +2005-06-04 Luc Teirlinck + + * font-lock.el (font-lock-add-keywords): Doc fix. Comment change. + (font-lock-remove-keywords): Doc fix. + (font-lock-mode-major-mode): Compiler defvar. + (font-lock-set-defaults): Use `font-lock-mode-major-mode'. + + * font-core.el (font-lock-mode-major-mode): Compiler defvar. + (font-lock-mode): Update `font-lock-mode-major-mode'. + (font-lock-set-defaults): Compiler defvar. + (font-lock-default-function): Take `font-lock-mode-major-mode' + into account. + + * emacs-lisp/easy-mmode.el (define-global-minor-mode): Make it + keep track of which major mode it enabled the minor mode for. + Use find-file-hook again. Update docstring. + + * simple.el (eval-expression-print-level) + (eval-expression-print-length, eval-expression-debug-on-error): + Doc fixes. + +2005-06-04 Matt Hodges + + * iswitchb.el (iswitchb-single-match-face) + (iswitchb-current-match-face, iswitchb-virtual-matches-face) + (iswitchb-invalid-regexp-face): New faces. + (iswitchb-completions): Use them. + (iswitchb-use-faces): Rename from iswitchb-use-fonts, which is + now marked as an obsolete alias. + (iswitchb-read-buffer): Remove check for bound font variables. + (iswitchb-invalid-regexp): New free variable. + (iswitchb-get-matched-buffers): Catch invalid-regexp errors and + set iswitchb-invalid-regexp. + (iswitchb, iswitchb-complete, iswitchb-completions): Deal with + invalid regexps. + (iswitchb-completions): Add check for complete match when entering + a regexp. + (iswitchb-completions): Remove require-match argument. + (iswitchb-exhibit): Fix caller. + (iswitchb-common-match-inserted): New variable. + (iswitchb-complete, iswitchb-completion-help): Use it. + +2005-06-04 David Reitter (tiny change) + - * url-http.el (url-http-chunked-encoding-after-change-function): ++ * url/url-http.el (url-http-chunked-encoding-after-change-function): + Use `url-http-debug' instead of `message'. + +2005-06-04 Thierry Emery (tiny change) + - * url-http.el (url-http-parse-headers): Pass redirected URL as a - callback argument. ++ * url/url-http.el (url-http-parse-headers): Pass redirected URL ++ as a callback argument. + +2005-06-04 Kim F. Storm + + * simple.el (line-move): Only call sit-for when moving backwards. + + * ido.el (ido-make-merged-file-list-1): New defun split from + ido-make-merged-file-list. + (ido-make-merged-file-list): Bind throw-on-input around call to + ido-make-merged-file-list-1. Return input-pending-p if + interrupted by more input available. + (ido-read-internal): Handle input-pending-p return value from + ido-make-merged-file-list. + +2005-06-03 Stefan Monnier + + * textmodes/flyspell.el (flyspell-check-word-p): Simplify silly + compatibility code. + + * international/latexenc.el (latexenc-find-file-coding-system): + Don't inherit the EOL part of the coding-system from the + tex-main buffer. Fit within 80 columns. + +2005-06-03 Matt Hodges + + * tmm.el (tmm-inactive-face): New face. + (tmm-remove-inactive-mouse-face): New function. + (tmm-prompt, tmm-add-one-shortcut) + (tmm-add-prompt, tmm-get-keymap): Make active menu items visible + but not selectable. + +2005-06-03 Juanma Barranquero + + * faces.el (face-equal): Improve argument/docstring consistency. + +2005-06-03 Daniel Pfeiffer + + * progmodes/make-mode.el (makefile-targets-face) + (makefile-shell-face, makefile-makepp-perl-face): Add :version. + (makefile-bsdmake-dependency-regex) + (makefile-makepp-rule-action-regex) + (makefile-bsdmake-rule-action-regex): New constants. + (makefile-makepp-mode, makefile-bsdmake-mode): Use them. + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Allow (...) within `...' for makepp messages. + +2005-06-03 Michael Kifer + + * ediff-diff.el (ediff-same-contents): Eliminate CL-type functions. + + * ediff-mult.el (ediff-intersect-directories): Make sure that ".." and + "." files are deleted from all file lists before comparison. + - * viper-keym.el (viper-toggle-key, viper-quoted-insert-key) ++ * emulation/viper-keym.el (viper-toggle-key, viper-quoted-insert-key) + (viper-ESC-key): Made them customizable. + - * viper.el (viper-non-hook-settings): Fix the names of defadvices. ++ * emulation/viper.el (viper-non-hook-settings): ++ Fix the names of defadvices. + +2005-06-01 Luc Teirlinck + + * autorevert.el (auto-revert-buffers): Use save-match-data. + +2005-06-01 Stefan Monnier + + * emacs-lisp/easymenu.el (easy-menu-return-item): Quick fix to find + menu items with a nil command binding. + +2005-06-01 Juanma Barranquero + + * emacs-lisp/cl-macs.el (defsetf): + Improve argument/docstring consistency. + + * faces.el (list-faces-display): Improve the formatting by + computing the maximum length required for any face-name (reworked + patch of 1999-01-11, accidentally deleted on 1999-07-21). + (internal-find-face): Remove redundant info in docstring. + +2005-06-01 Nick Roberts + + * progmodes/gdb-ui.el (gdb-set-gud-minor-mode-1) + (gdb-info-breakpoints-custom, gdb-delete-breakpoint) + (gdb-goto-breakpoint, gdb-source-info, gdb-get-location) + (gdb-assembler-custom): Improve regexps. + (def-gdb-auto-update-handler): Use window point to preserve point. + +2005-05-31 Stefan Monnier + + * thumbs.el (thumbs-mode): Fix misuse of make-variable-buffer-local. + +2005-05-31 Jay Belanger + + * calc/calc-embed.el (calc-embedded-word): Change argument passed + to calc-embedded. + (calc-embedded-make-info): Have plain prefix argument select + entire line. + +2005-05-31 Juanma Barranquero + + * faces.el (list-faces-display): Signal error if passed a regexp + that matches no face name. + + * simple.el (filter-buffer-substring): Fix typo in docstring. + +2005-05-31 Richard M. Stallman + + * progmodes/vhdl-mode.el (vhdl-fill-region): Test ARG, not INTERACTIVE. + (vhdl-emacs-21): Doc fix. + (vhdl-mode): Unconditionally set comment-padding. + (vhdl-fixup-whitespace-region): Insert spaces only where + there are none. + (vhdl-statistics-buffer): Make the Emacs 21 behavior universal. + +2005-05-30 John Wiegley + + * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el + * eshell/em-unix.el, eshell/esh-ext.el, eshell/esh-io.el + * eshell/esh-util.el, eshell/esh-var.el: Change all uses of + `directory-sep-char' to ?/, and all uses of `string-to-int' to + `string-to-number'. + +2005-05-30 Jay Belanger + + * calc/calc.el (calc-bug-address): Fix docstring. + (calc-window-hook, calc-trail-window-hook): New variables. + (calc-trail-display): Restore use of calc-trail-window-hook. + (calc): Restore use of calc-window-hook. + +2005-05-31 Masatake YAMATO + + * emacs-lisp/find-func.el (find-function-noselect): Handle subroutines. + + * help-fns.el (help-C-file-name): Add autoload mark for + `find-function-noselect'. + +2005-05-30 Stefan Monnier + + * textmodes/tex-mode.el (tex-compile-commands, tex-compile) + (tex-start-tex): Undo all but the last part of the 2005-05-28 change. + +2005-05-30 Glenn Morris + + * calendar/diary-lib.el (mark-included-diary-files): Only kill + included diary buffer if it was not already being visited. + Reported by Stephen Berman . + + * calendar/icalendar.el (top-level): Do not require appt. + + * mail/supercite.el (sc-select-attribution): Only use a list + element from sc-attrib-selection-list if it returns a string. + Reported by Davide G. M. Salvetti . + +2005-05-30 Juanma Barranquero + + * thumbs.el (thumbs-thumbname): The resulting thumbname now + includes a hash value to improve its uniqueness, and has a ".jpg" + extension. Also, it is now a valid filename on all systems. + (thumbs-make-thumb): Use `let', not `let*'. + (thumbs-show-thumbs-list): Check for JPEG availability. + +2005-05-30 Richard M. Stallman + + * filesets.el (filesets-menu-ensure-use-cached): + Prevent warning when emacs-version>= is undefined. + + * printing.el (pr-interactive-n-up): Use string-to-number. + + * emulation/tpu-mapper.el: Use eval-buffer, not eval-current-buffer. + + * emacs-lisp/bytecomp.el (byte-compile-nogroup-warn): + Warn only when name to be defined is quoted. + +2005-05-30 Nick Roberts + + * progmodes/gdb-ui.el (gdb-toggle-breakpoint): + Make regexp more robust. + (gdb-display-assembler-buffer, gdb-frame-assembler-buffer): + Force regeneration of disassembly. + +2005-05-29 Jay Belanger + + * calc/calc.el (calc-user-invocation): Check if + calc-invocation-macro is non-nil. + +2005-05-29 Juri Linkov + + * add-log.el (change-log-font-lock-keywords): + Add `+' to e-mail regexp to accept mail address with keywords. + + * man.el (Man-name-regexp): Add `:' to accept qualified names. + +2005-05-29 Luc Teirlinck + + * progmodes/inf-lisp.el (inferior-lisp-mode): Use delay-mode-hooks. + + * ielm.el (inferior-emacs-lisp-mode): Ditto. + +2005-05-29 Richard M. Stallman + + * textmodes/flyspell.el (flyspell-auto-correct-previous-word): + Undo the change that moves to end of the current word. + +2005-05-29 Nick Roberts + + * progmodes/gdb-ui.el (gdb-memory-set-repeat-count): + Throw error when count <= 0 to ensure input is a number. + (gdb-read-memory-custom): Pick up address from buffer. + (gdb-memory-mode): Allow user to increment and decrement + memory address from header line. + +2005-05-29 Richard M. Stallman + - * flyspell.el (flyspell-version): Function deleted. ++ * textmoddes/flyspell.el (flyspell-version): Function deleted. + (flyspell-auto-correct-previous-hook): Doc fix. + + * jit-lock.el (jit-lock-function, jit-lock-after-change): + Do nothing if memory is full. + + * font-lock.el (font-lock-fontify-syntactically-region): + Pass t for GREEDY to looking-back. + + * saveplace.el (save-place-alist-to-file): Write the file + using write-region. + + * subr.el (looking-back): New argument GREEDY. + + * progmodes/compile.el (compilation-start): Set the mode + before inserting the initial text. + + * progmodes/which-func.el (which-func-update-1): Turn the mode + off in case of error by setting which-func-mode. + +2005-05-29 Peter Heslin (tiny change) + - * flyspell.el (flyspell-auto-correct-previous-word): ++ * textmodes/flyspell.el (flyspell-auto-correct-previous-word): + Narrow down to what's on the screen, and recenter overlays + at the end of the next word. + +2005-05-29 Manuel Serrano + - * flyspell.el (flyspell-emacs, flyspell-use-local-map): Vars moved up. ++ * textmodes/flyspell.el (flyspell-emacs, flyspell-use-local-map): ++ 8Vars moved up. + (flyspell-default-delayed-commands): Add backward-delete-char-untabify. + (flyspell-abbrev-p): Default to nil. + (flyspell-use-global-abbrev-table-p): Doc fix. + (flyspell-large-region): Allow nil as value. + (flyspell-use-meta-tab, flyspell-auto-correct-binding): New variables. + + (mail-mode-flyspell-verify): More robust handling + of `mail-header-separator'. More efficient signature detection. + Allow for regexp metacharacters in message-header-separator. + Adding `To' not to be checked in mail-mode-flyspell-verify. + + (flyspell-prog-mode): Run flyspell-prog-mode-hook. + (flyspell-mouse-map): Bind M-TAB only if flyspell-use-meta-tab. + Bind flyspell-auto-correct-binding. + Bind C-. and C-, . + (flyspell-mode-map): Likewise. + (flyspell-mode): Doc fix. + (flyspell-accept-buffer-local-defs): Preserve current buffer. + (flyspell-mode-on): Bind flyspell-mouse-map and flyspell-mode-map. + (flyspell-word-cache-result): New var, always local. + (flyspell-check-pre-word-p): Doc fix. + (flyspell-check-changed-word-p): Handle spc like newline. + (flyspell-post-command-hook): Set flyspell-word-cache-result. + (flyspell-word-search-backward, flyspell-word-search-forward): + New functions. + (flyspell-word): Return t if nothing to check. + When parsing TeX code, check for after } or \. + Use flyspell-word-search-backward to find previous word. + Return nil if duplicated word. + For word already checked, return same value as last time. + Set flyspell-word-cache-result after checking. + Don't clobber the return value. + (flyspell-get-word): Major rewrite. + (flyspell-external-point-words): New locals pword, pcount. + Fix size used in progress message. + Find the proper corresponding word in flyspell-large-region-buffer. + (flyspell-region): Check for flyspell-large-region = nil. + (flyspell-highlight-incorrect-region): Clean up overlays in region. + (flyspell-auto-correct-word): Check that WORD is a cons. + (flyspell-correct-word): Likewise. + +2005-05-29 Daniel Pfeiffer + + * progmodes/make-mode.el (makefile-rule-action-regex) + (makefile-macroassign-regex, makefile-makepp-mode) + (makefile-bsdmake-mode): Continuation lines may be empty. + Reported by Joshua Varner. + (makefile-makepp-font-lock-keywords): Add $(stem). + +2005-05-28 Karl Berry + + * textmodes/tex-mode.el: Now that tex-send-command calls + shell-quote-argument (2005-03-31 change), remove all calls to + shell-quote-argument; they all end up invoking tex-send-command. + The double quoting loses on filenames with non-safe characters, + such as "@". Reported by Frederik Fouvry. + +2005-05-29 Nick Roberts + + * progmodes/gdb-ui.el (gdb-assembler-custom): Be more careful + about preserving point. + +2005-05-27 Jay Belanger + + * calc/calc-misc.el (calc-info-goto-node): Use info instead of + Info-goto-node. + + * calc/calc-embed.el (calc-embed-arg): New variable. + (calc-do-embedded-activate, calc-embedded-activate-formula) + (calc-embedded-edit, calc-do-embedded-activate): Replace undeclared + variable by new variable. + (calc-embedded-make-info): Replace undeclared variable by new + variable. When selecting region with positive prefix + argument, use end of previous line instead of beginning of line. + + * calc/calc-aent.el (calc-arg-values): Declare it. + + * calc/calc-ext.el (calc-help-map, calc-alg-map, calc-alg-esc-map): + Declare them. + + * calc/calc-stuff.el (math-decls-cache-tag): Declare it. + + * calc/calc.el (calc-alg-map): Declare it. + + * calc/calcalg2.el (math-decls-cache, math-decls-all): Declare them. + +2005-05-28 Nick Roberts + + * progmodes/gdb-ui.el (gdb-all-registers): New variable. + (gdb-registers-buffer, toggle-gdb-all-registers): + Toggle display of floating point registers. + (gdb-registers-mode-map): Bind SPC to toggle-gdb-all-registers. + + * progmodes/gud.el (gud-goto-info): Use info. Don't use require. + (toggle-gud-tooltip-dereference): + Rename from gud-toggle-tooltip-dereference. + +2005-05-27 Stefan Monnier + + * info.el (Info-goto-node): Revert autoload addition (2004-06-12). + +2005-05-27 Jay Belanger + + * calc/calc-prog.el (calc-kbd-report): Remove. + (calc-kbd-query): Rewrite. + +2005-05-27 Juanma Barranquero + + * image.el (image-library-alist): Move to image.c. + (image-type-available-p): Doc fix. + +2005-05-27 Lute Kamstra + + * calc/calc.el (calc): + * outline.el (outline-1, outline-2, outline-3, outline-4) + (outline-5, outline-6, outline-7, outline-8): + * textmodes/dns-mode.el (dns-mode): + * textmodes/sgml-mode.el (sgml-namespace-face): + * textmodes/tex-mode.el (superscript, subscript, tex-math-face) + (tex-verbatim-face, tex-use-reftex): + * textmodes/texinfo.el (texinfo-heading-face): + Specify customization group. + + * longlines.el: Don't require easy-mmode. + (longlines-visible-face): Specify customization group. + +2005-05-27 Kenichi Handa + + * language/cyrillic.el: Add cyrillic-iso8859-5 characters in the + encoding table of windows-1251. + + * international/ucs-tables.el (ucs-set-table-for-input): + If translation-table-for-input of a coding system is a symbol, get + its translation-table property. + + * international/code-pages.el: Don't register a coding system into + non-iso-charset-alist more than once. + (cp-make-coding-system): Likewise. + +2005-05-26 John Wiegley + + * eshell/esh-cmd.el (eshell-eval-command): If the return value of + `eshell-resume-eval' is wrapped in a list, it indicates that the + command was run asynchronously. In that case, unwrap the value + before checking the delimiter value. + + * eshell/em-cmpl.el (eshell-complete-parse-arguments): If the + character before a space at the end of a line is \, assume the space + is part of the last argument rather than a final argument separator. + + * eshell/esh-io.el (eshell-get-target): If `eshell-buffer-shorthand' + is in use, and the target is `t' or `nil' (which are the most common + values), don't assume that the symbol target is a buffer. + +2005-05-26 Luc Teirlinck + + * calendar/calendar.el (calendar-mode-line-format): + Use mode-line-highlight as mouse-face. + + * time.el (display-time-string-forms, display-time-update): + Use mode-line-highlight as mouse-face. + +2005-05-26 Jay Belanger + + * calc/calc.el (calc-language-alist): Remove extra defvar. + +2005-05-26 Lute Kamstra + + * arc-mode.el (archive-mode): + * bookmark.el (bookmark-read-annotation-mode) + (bookmark-edit-annotation-mode, bookmark-bmenu-mode): + * bs.el (bs-mode): + * calc/calc-yank.el (calc-edit-mode): + * calc/calc.el (calc-mode, calc-trail-mode): + * calculator.el (calculator-mode): + * chistory.el (command-history-mode): + * comint.el: + * cus-edit.el (custom-mode): + * descr-text.el (describe-text-mode): + * ebuff-menu.el (Electric-buffer-menu-mode): + * ediff-util.el (ediff-mode): + * emacs-lisp/re-builder.el (reb-mode): + * emulation/vi.el (vi-mode-setup): + * emulation/ws-mode.el (wordstar-mode): + * eshell/esh-mode.el (eshell-mode): + * forms.el (forms-mode): + * help-mode.el (help-mode): + * hexl.el (hexl-mode): + * ibuffer.el (ibuffer-mode): + * ielm.el (inferior-emacs-lisp-mode): + * info.el (Info-mode, Info-edit-mode): + * international/swedish.el: + * ledit.el (ledit-from-lisp-mode): + * locate.el (locate-mode): + * mail/rmail.el (rmail-mode): + * mail/rmailedit.el (rmail-edit-mode): + * mail/rmailsum.el (rmail-summary-mode): + * mail/supercite.el (sc-electric-mode): + * net/eudc.el (eudc-mode): + * net/quickurl.el (quickurl-list-mode): + * net/snmp-mode.el (snmp-mode, snmpv2-mode): + * obsolete/ooutline.el (outline-mode): + * obsolete/options.el (Edit-options-mode): + * obsolete/rnews.el (news-mode): + * obsolete/rnewspost.el (news-reply-mode): + * play/5x5.el (5x5-mode): + * play/decipher.el (decipher-mode, decipher-stats-mode): + * play/gomoku.el (gomoku-mode): + * play/snake.el (snake-mode): + * play/solitaire.el (solitaire-mode): + * play/tetris.el (tetris-mode): + * progmodes/ada-mode.el (ada-mode): + * progmodes/antlr-mode.el (antlr-mode): + * progmodes/autoconf.el (autoconf-mode): + * progmodes/dcl-mode.el (dcl-mode): + * progmodes/delphi.el (delphi-mode): + * progmodes/ebrowse.el (ebrowse-tree-mode) + (ebrowse-electric-list-mode, ebrowse-member-mode) + (ebrowse-electric-position-mode): + * progmodes/f90.el (f90-mode): + * progmodes/fortran.el (fortran-mode): + * progmodes/icon.el (icon-mode): + * progmodes/idlw-help.el (idlwave-help-mode): + * progmodes/idlw-shell.el (idlwave-shell-mode): + * progmodes/idlwave.el (idlwave-mode): + * progmodes/inf-lisp.el (inferior-lisp-mode): + * progmodes/m4-mode.el (m4-mode): + * progmodes/meta-mode.el (metafont-mode, metapost-mode): + * progmodes/modula2.el (modula-2-mode): + * progmodes/octave-inf.el (inferior-octave-mode): + * progmodes/octave-mod.el (octave-mode): + * progmodes/pascal.el (pascal-mode): + * progmodes/sh-script.el (sh-mode): + * progmodes/sql.el (sql-mode, sql-interactive-mode): + * progmodes/vhdl-mode.el (vhdl-mode): + * progmodes/xscheme.el (scheme-interaction-mode): + * replace.el (occur-mode): + * ses.el (ses-mode): + * simple.el (completion-list-mode): + * skeleton.el: + * speedbar.el (speedbar-mode): + * term.el (term-mode): + * terminal.el (terminal-edit-mode): + * textmodes/reftex-index.el (reftex-index-mode) + (reftex-index-phrases-mode): + * textmodes/reftex-sel.el (reftex-select-label-mode) + (reftex-select-bib-mode): + * textmodes/reftex-toc.el (reftex-toc-mode): + * wdired.el (wdired-change-to-wdired-mode): + * wid-browse.el (widget-browse-mode): + Use run-mode-hooks. + + * array.el (array-mode): + * calendar/todo-mode.el (todo-mode): + * man.el (Man-mode): + * play/landmark.el (lm-mode): + * play/mpuz.el (mpuz-mode): + Use kill-all-local-variables and run-mode-hooks. + + * subr.el (delay-mode-hooks): Specify indentation. + +2005-05-26 Mark A. Hershberger + + * xml.el (xml-substitute-special): Don't die for undefined xml + entities. + +2005-05-26 Jay Belanger + + * calc/calc-prog.el (calc-user-define-edit): Don't find substring + of nil. + +2005-05-27 Nick Roberts + + * progmodes/gdb-ui.el (gdb-frame-address): + Rename from gdb-current-address. + (gdb-previous-frame-address): Rename from gdb-previous-address. + (gdb-selected-frame): Rename from gdb-current-frame. + (gdb-get-selected-frame): Rename from gdb-get-current-frame. + (gdb-frame-number): Rename from gdb-current-stack-level. + (gdb-ann3): Match new mode-name for disassembly buffer. + Extend initialization of variables. + (gdb-post-prompt): Update disassembly from gdb-frame-handler. + (gdb-memory-mode): Use mouse-face in header line. + (gdb-assembler-buffer-name): Call it disassembly and give frame + in mode line. + (gdb-source-spec-regexp, gdb-assembler-custom) + (gdb-invalidate-assembler, gdb-frame-handler): + Make robust to leading zeroes in address format. + +2005-05-26 Carsten Dominik + + * textmodes/org.el (org-mode): Use `define-derived-mode' to + define `org-mode'. + (org-agenda-mode): Use `run-mode-hooks' instead of `run-hooks'. + +2005-05-26 Stefan Monnier + + * log-edit.el (log-edit-changelog-entries): Distinguish between + filenames like xfns.c and fns.c. + +2005-05-25 Luc Teirlinck + + * buff-menu.el (Buffer-menu-revert-function): Improve handling of + point after reverting. + (Buffer-menu-make-sort-button): Handle the case where + `Buffer-menu-use-header-line' is nil. + +2005-05-25 Thien-Thi Nguyen + + * vms-patch.el (vms-magic-right-square-brace, vms-magic-colon): + New funcs. In minibuffer-local-completion-map bind `]', `/' + and `:' to them. + +2005-05-25 Stefan Monnier + + * startup.el (normal-top-level): Allow modification of load-path while + we're iterating over it. + +2005-05-25 Juanma Barranquero + + * thumbs.el (thumbs-thumbsdir-max-size, thumbs-temp-file) + (thumbs-cleanup-thumbsdir, thumbs-call-convert) + (thumbs-resize-interactive, thumbs-insert-image) + (thumbs-insert-thumb, thumbs-dired-show-marked) + (thumbs-find-image-at-point, thumbs-delete-images) + (thumbs-rename-images, thumbs-next-image, thumbs-dired-setroot) + (thumbs-increment-image-size, thumbs-decrement-image-size): + Fix typos in docstrings. + +2005-05-24 Andre Spiegel + + * progmodes/cperl-mode.el (cperl-vc-header-alist): Obsolete. + (cperl-vc-rcs-header, cperl-vc-sccs-header): New user options. + (cperl-mode): Use them. + +2005-05-24 Juanma Barranquero + + * window.el (quit-window, shrink-window-if-larger-than-buffer): + Doc fixes. + +2005-05-24 Nick Roberts + + * progmodes/gdb-ui.el (gdb-inferior-io-mode-map): + Bind C-d to gdb-inferior-io-eof. + + * dired.el (dired-dnd-popup-notice): Use message-box. + +2005-05-23 Masatake YAMATO + + * bindings.el (mode-line-major-mode-keymap): + Bind [mode-line down-mouse-1] to `mouse-major-mode-menu'. + + * faces.el (mode-line-highlight): New face. + + * ruler-mode.el (ruler-mode-ruler): Use mode-line-highlight + as mouse-face. + + * bindings.el (top-level, help-echo, mode-line-modified) + (mode-line-mule-info, mode-line-eol-desc): Use mode-line-highlight + as mouse-face. + +2005-05-23 Juanma Barranquero + + * progmodes/cc-engine.el (c-guess-basic-syntax): + Remove spurious call to `zerop'. + + * emacs-lisp/cl.el (acons, pairlis): Add docstring. + +2005-05-23 Martin Stjernholm + + CC Mode update to 5.30.10: + - * cc-fonts.el (c-font-lock-declarators): Fix bug where the point - could go past the limit in decoration level 2, thereby causing - errors during interactive fontification. ++ * progmodes/cc-fonts.el (c-font-lock-declarators): Fix bug where ++ the point could go past the limit in decoration level 2, thereby ++ causing errors during interactive fontification. + - * cc-mode.el (c-make-inherited-keymap): Fix cc-bytecomp bug when - the file is evaluated interactively. ++ * progmodes/cc-mode.el (c-make-inherited-keymap): Fix cc-bytecomp ++ bug when the file is evaluated interactively. + - * cc-engine.el (c-guess-basic-syntax): Handle operator ++ * progmodes/cc-engine.el (c-guess-basic-syntax): Handle operator + declarations somewhat better in C++. + - * cc-styles.el, cc-mode.el (c-run-mode-hooks): New helper macro to - make use of `run-mode-hooks' which has been added in Emacs 21.1. ++ * progmodes/cc-styles.el, cc-mode.el (c-run-mode-hooks): ++ New helper macro to make use of `run-mode-hooks' ++ which has been added in Emacs 21.1. + (c-mode, c++-mode, objc-mode, java-mode, idl-mode, pike-mode) + (awk-mode): Use it. + (make-local-hook): Suppress warning about obsoleteness. + - * cc-engine.el, cc-align.el, cc-cmds.el ++ * progmodes/cc-engine.el, cc-align.el, cc-cmds.el + (c-append-backslashes-forward, c-delete-backslashes-forward) + (c-find-decl-spots, c-semi&comma-no-newlines-before-nonblanks): + Compensate for return value from `forward-line' when it has moved + but not to a different line due to eob. + - * cc-engine.el (c-guess-basic-syntax): Fix anchoring in ++ * progmodes/cc-engine.el (c-guess-basic-syntax): Fix anchoring in + `objc-method-intro' and `objc-method-args-cont'. + +2005-05-23 Alan Mackenzie + + CC Mode update to 5.30.10: + - * cc-mode.el, cc-engine.el, cc-align.el: Change the FSF's address - in the copyright statement. Incidentally, change "along with GNU - Emacs" to "along with this program" where it occurs. ++ * progmodes/cc-mode.el, cc-engine.el, cc-align.el: Change the FSF's ++ address in the copyright statement. Incidentally, change "along with ++ GNU Emacs" to "along with this program" where it occurs. + - * cc-mode.el: Add a fourth parameter `t' to the awk-mode autoload, - so that it is interactive, hence can be found by M-x awk-mode ++ * progmodes/cc-mode.el: Add a fourth parameter `t' to the awk-mode ++ autoload, so that it is interactive, hence can be found by M-x awk-mode + whilst cc-mode is yet to be loaded. Reported by Glenn Morris + . + - * cc-awk.el: Add character classes (e.g. "[:alpha:]") into AWK ++ * progmodes/cc-awk.el: Add character classes (e.g. "[:alpha:]") into AWK + Mode's regexps. + +2005-05-23 Kevin Ryde + - * cc-align.el (c-lineup-argcont): Ignore conses for {} pairs from - c-parse-state, to avoid a lisp error (on bad code). ++ * progmodes/cc-align.el (c-lineup-argcont): Ignore conses for {} pairs ++ from c-parse-state, to avoid a lisp error (on bad code). + +2005-05-23 Lute Kamstra + + * subr.el (font-lock-defaults): Remove defvar as it's already + defined in font-core.el. + + * font-lock.el (font-lock-beginning-of-syntax-function): Fix docstring. + +2005-05-23 Nick Roberts + + * progmodes/gdb-ui.el (gdb-info-locals-handler): Make regexps + more general and work when GDB variable "print pretty" is on, + as with Emacs, for example. + +2005-05-22 Luc Teirlinck + + * font-core.el: Update comment. + + * emacs-lisp/easy-mmode.el (define-global-minor-mode): + Use `after-change-major-mode-hook' instead of `find-file-hook'. + + * buff-menu.el (Buffer-menu-mode): Use `run-mode-hooks'. + +2005-05-22 Eli Zaretskii + + * simple.el (yank, yank-pop): Mention `yank-excluded-properties' + and `yank-handler' in the doc strings. + +2005-05-22 Stefan Monnier + + * emacs-lisp/cl.el (eql): Remove. It's a builtin already. + +2005-05-22 Richard M. Stallman + + * help.el (describe-key): Move print-help-return-message call + out of conditional. + + * progmodes/etags.el (list-tags): Use with-no-warnings. + + * mail/smtpmail.el (smtpmail-open-stream): Use with-no-warnings. + (smtpmail-send-queued-mail): Avoid beginning-of-buffer. + (starttls-extra-args, starttls-extra-arguments): Add defvars. + + * mail/mailalias.el (mail-get-names): Avoid beginning-of-buffer. + + * language/viet-util.el (viet-viscii-nonascii-translation-table): + Add defvar. + + * emulation/viper-ex.el (viper-ex-work-buf, viper-ex-print-buf): + Use defvar, not defconst. + + * hexl.el (hexl-follow-line): Use with-no-warnings. + + * emulation/tpu-extras.el: Use write-file-functions instead of + write-file-hooks. + + * dired.el (dired-font-lock-keywords): Fontify files with junk + extensions even if marked by -F. + +2005-05-22 Juanma Barranquero + + * emacs-lisp/cl.el (pushnew, cl-macroexpand, floatp-safe, plusp) + (minusp, oddp, evenp, mapcar*, list*, copy-list, adjoin, subst): + * emacs-lisp/cl-extra.el (coerce, map, maplist, cl-mapc, mapl) + (mapcan, mapcon, some, every, notany, notevery, signum, isqrt) + (concatenate, list-length, get*, getf, cl-remprop): + * emacs-lisp/cl-macs.el (function*, case, ecase, typecase) + (etypecase, progv, lexical-let, lexical-let*) + (multiple-value-bind, multiple-value-setq, shiftf): + Improve argument/docstring consistency. + + * subr.el (focus-frame, unfocus-frame): Revert deletion on 2005-05-01. + +2005-05-22 Andre Spiegel + + * vc-cvs.el (vc-cvs-checkout-model): Handle the case where FILE + doesn't exist. + + * vc.el (vc-trunk-p): Add autoload cookie. The function is used in + vc-rcs.el when vc-mistrust-permissions is t, which is not the default. + +2005-05-22 Nick Roberts + + * emacs-lisp/bytecomp.el: Remove make-obsolete-variable for + already deleted variables: auto-fill-hook, blink-paren-hook, + lisp-indent-hook, inhibit-local-variables, unread-command-event, + suspend-hooks, comment-indent-hook, meta-flag, + before-change-function, after-change-function, + font-lock-doc-string-face. + +2005-05-21 Luc Teirlinck + + * emacs-lisp/derived.el (define-derived-mode): Doc fix. + +2005-05-21 Eli Zaretskii + + * mail/rmail.el (rmail-reply): Filter the list in reply-to through + rmail-dont-reply-to. + +2005-05-21 Frederik Fouvry + + * mail/sendmail.el (mail-send): Use [[:space:]] instead of a + literal blank when splitting new-header-values. + +2005-05-21 Matt Hodges + + * calendar/cal-menu.el (cal-menu-update): Add separator as a + string so that tmm doesn't create a completion entry for it. + + * textmodes/table.el (table-disable-menu): Ditto. + +2005-05-21 Richard M. Stallman + + * progmodes/idlwave.el (idlwave-doc-header): Use insert-file-contents. + + * progmodes/flymake.el (flymake-makehash): Use with-no-warnings. + + * net/rcompile.el (remote-compile): Use compilation-start. + + * tmm.el (tmm-shortcut): Avoid using beginning-of-buffer. + +2005-05-21 Daniel Pfeiffer + + * files.el (auto-mode-alist): Check GNUmakefile before makefile. + Default to makefile-bsdmake-mode on BSD systems. + + * imenu.el (imenu-generic-expression, imenu--generic-function'): + REGEXP may also be a search function now. The part of doc-string + for describing the structure was 95% identical to that of + `imenu--generic-function'. Unify it there. + + * progmodes/make-mode.el (makefile-imenu-generic-expression): + Use function to find dependencies, because regexp alone is so complex, + it easily goes into an endless loop. + (makefile-makepp-mode): Also add submenu for Perl functions + defined in the makefile. + (makefile-bsdmake-mode): Special imenu-generic-expression no + longer needed, due to function call. + (makefile-match-dependency): Take BOUND into account when checking + if we're through. + +2005-05-20 Jay Belanger + + * calc/calc-units.el (calc-invalidate-units-table): + Use inhibit-read-only. + (math-build-units-table-buffer): Use view-mode. + +2005-05-20 David Kastrup + + * emacs-lisp/easymenu.el (easy-menu-add): Correct docstring since + easy-menu-add is not a nop on Emacs; and clarify when to call it. + +2005-05-20 Lute Kamstra + + * diff-mode.el (diff-header-face, diff-file-header-face) + (diff-index-face, diff-hunk-header-face, diff-removed-face) + (diff-added-face, diff-changed-face, diff-function-face) + (diff-context-face, diff-nonexistent-face): Put them in the + diff-mode customization group. + +2005-05-20 Stefan Monnier + + * progmodes/vhdl-mode.el (vhdl-font-lock-match-item): Simplify regexp. + + * progmodes/sh-script.el (sh-mode, sh-get-word): Minor regexp fixes. + + * font-lock.el (lisp-font-lock-keywords-2): Don't error. + Minor regexp-optimization. + +2005-05-20 Carsten Dominik + + * textmodes/org.el (org-agenda-toggle-time-grid): New command. + (org-agenda-use-time-grid, org-agenda-time-grid): New options. + (org-agenda-add-time-grid-maybe): New function. + (org-agenda): Call `org-agenda-add-time-grid-maybe'. + (org-table-create): `dotimes' instead of `mapcar'. + (org-xor): Simplify implementation. + (org-agenda): `inhibit-redisplay' turned on. + (org-agenda-change-all-lines): Use `org-format-agenda-item' to get + a consistent line after a state change. + (org-agenda-remove-times-when-in-prefix): New option. + (org-prefix-has-time): New variable. + (org-parse-time-string): Optional argument NODEFAULT. + (org-format-agenda-item): Parse items for time-of-day + specifications and move these into the prefix if possible. + (org-agenda-priority): Get current heading, not previous heading + during agenda remote editing. + +2005-05-20 Juanma Barranquero + + * emacs-lisp/cl-seq.el (reduce, fill, replace, remove*) + (remove-if, remove-if-not, delete*, delete-if, delete-if-not) + (remove-duplicates, delete-duplicates, substitute) + (substitute-if, substitute-if-not, nsubstitute, nsubstitute-if) + (nsubstitute-if-not, find, find-if, find-if-not, position) + (position-if, position-if-not, count, count-if, count-if-not) + (mismatch, search, sort*, stable-sort, merge, member*) + (member-if, member-if-not, assoc*, assoc-if, assoc-if-not) + (rassoc*, rassoc-if, rassoc-if-not, union, nunion) + (intersection, nintersection, set-difference, nset-difference) + (set-exclusive-or, nset-exclusive-or, subsetp, subst-if) + (subst-if-not, nsubst, nsubst-if, nsubst-if-not, sublis) + (nsublis, tree-equal): Improve argument/docstring consistency. + + * subr.el (send-string, send-region): Remove obsolescence declaration. + (window-dot, set-window-dot, read-input, show-buffer) + (eval-current-buffer, string-to-int): + Add release number to obsolescence declarations. + +2005-05-19 Kim F. Storm + + * ido.el (ido-magic-forward-char): Enter ido-find-file at end of input. + (ido-magic-backward-char): Enter ido-switch-buffer at start of input. + +2005-05-20 Matt Hodges + + * faces.el (list-faces-display): Make back button respect optional + regexp arg. + +2005-05-19 Juanma Barranquero + + * calculator.el (calculator-radix-grouping-mode) + (calculator-radix-grouping-digits, calculator-displayer) + (calculator-radix-grouping-separator, calculator-copy-displayer): + * dabbrev.el (dabbrev-search-these-buffers-only): + * diff-mode.el (diff-jump-to-old-file, diff-update-on-the-fly) + (diff-advance-after-apply-hunk, diff-mode-hook) + (diff-minor-mode-prefix): + * imenu.el (imenu-use-popup-menu): + * jit-lock.el (jit-lock-context-time): + * newcomment.el (comment-fill-column, comment-column) + (comment-style, comment-padding, comment-multi-line) + (comment-empty-lines, comment-auto-fill-only-comments): + * reveal.el (reveal-around-mark): + * uniquify.el (uniquify-buffer-name-style) + (uniquify-after-kill-buffer-p) + (uniquify-ask-about-buffer-names-p, uniquify-ignore-buffers-re) + (uniquify-min-dir-content, uniquify-separator) + (uniquify-trailing-separator-p, uniquify-strip-common-suffix): + * w32-vars.el (w32-fixed-font-alist): + * emacs-lisp/testcover.el (testcover-potentially-1value-functions): + * obsolete/rsz-mini.el (resize-minibuffer-frame-max-height): + * progmodes/antlr-mode.el (antlr-font-lock-maximum-decoration): + * progmodes/perl-mode.el (perl-indent-level) + (perl-continued-statement-offset, perl-continued-brace-offset) + (perl-brace-offset, perl-brace-imaginary-offset) + (perl-label-offset, perl-indent-continued-arguments) + (perl-tab-always-indent, perl-tab-to-comment, perl-nochange): + * progmodes/tcl.el (tcl-indent-level) + (tcl-continued-indent-level, tcl-auto-newline) + (tcl-tab-always-indent, tcl-electric-hash-style) + (tcl-help-directory-list, tcl-use-smart-word-finder) + (tcl-application, tcl-command-switches, tcl-prompt-regexp) + (inferior-tcl-source-command): + * textmodes/fill.el (enable-kinsoku): + * textmodes/reftex-vars.el (reftex-index-phrases-wrap-long-lines): + * textmodes/table.el (table-yank-handler): + Specify missing group (and type, if simple) in defcustom. + +2005-05-19 Luc Teirlinck + + * progmodes/compile.el (compilation-finish-function): Fix defvar. + +2005-05-19 Richard M. Stallman + + * progmodes/make-mode.el (makefile-mode): Use run-mode-hooks. + + * subr.el (event-basic-type): Don't get an error. + (left-fringe-p): Function deleted. + + * buff-menu.el (Buffer-menu-buffer-face): In group Buffer-menu. + (list-buffers-noselect): Set `font-lock-face' property, not `face'. + + * dired-aux.el (dired-copy-file-recursive): Handle symlinks + in recursive copy. + + * frame.el (show-trailing-whitespace): In group `whitespace-faces'. + + * emacs-lisp/byte-run.el (eval-when-compile): Doc fix. + + * emacs-lisp/bytecomp.el + (byte-compile-file-form-custom-declare-variable): + Call byte-compile-nogroup-warn if appropriate. + + * progmodes/compile.el (compilation-finish-function): Mark obsolete. + (compilation-set-window): Don't call left-fringe-p; do it directly. + +2005-05-19 Jay Belanger + + * calc/calc-graph.el (calc-graph-format-data): Make sure + var-PlotRejects is bound before trying to check its value. + +2005-05-19 Carsten Dominik + + * textmodes/reftex.el (reftex-isearch-minor-mode): Move the + definition of this variable from reftex-global.el to reftex.el, + because it is needed in the menu. + +2005-05-19 Lute Kamstra + + * emacs-lisp/copyright.el (copyright-fix-years): Make sure all + years are fixed. Don't insert a space after a dash. + +2005-05-19 Kim F. Storm + + * emulation/crisp.el (crisp-home, crisp-end): Put CUA property. + +2005-05-19 Daniel Pfeiffer + + * font-lock.el (lisp-font-lock-keywords-2): Do \\) only in + strings, because (eq ... ?\\) is fairly frequent. + + * progmodes/make-mode.el (makefile-add-this-line-targets): + Simplify and integrate into `makefile-pickup-targets'. + (makefile-add-this-line-macro): Simplify and integrate into + `makefile-pickup-macros'. + (makefile-pickup-filenames-as-targets): Simplify. + (makefile-previous-dependency, makefile-match-dependency): + Don't stumble over `::'. + +2005-05-19 Nick Roberts + + * subr.el (post-command-idle-hook, post-command-idle-delay): + Remove obsoletion of post-command-idle-hook and + post-command-idle-delay. + + * faces.el (list-faces-display): Provide button when describe-face + is called to take user back to the list of faces. + + * help-fns.el (describe-variable): Remove hyperlinks in a + variable's value as these are quite frequently inappropriate. + + * follow.el (follow-submit-feedback, follow-mode): + Remove references to post-command-idle-hook. + +2005-05-18 Daniel Pfeiffer + + * progmodes/make-mode.el (makefile-previous-dependency) + (makefile-match-dependency): Check for := (and in bsd mode also + !=) to give a better result, even when font-lock is not on. + +2005-05-18 Jay Belanger + + * calc/calc-help.el (calc-s-prefix-help): + Add `calc-copy-special-constant' to help string. + +2005-05-18 Luc Teirlinck + + * emacs-lisp/eldoc.el (eldoc-mode): Doc fix. + +2005-05-18 Jay Belanger + + * calc/calc-poly.el (math-factor-poly-coefs): Make sure the terms + in linear factors are in proper order. + +2005-05-18 Carsten Dominik + + * textmodes/reftex-vars.el (reftex-cite-format-builtin): + Support for jurabib. + + * textmodes/reftex.el (featurep): Define aliases for overlay + commands, for XEmacs compatibility, and use these aliases in + overlay initializations. + (reftex-highlight): Use `reftex-move-overlay'. + (reftex-unhighlight): Use `reftex-delete-overlay'. + (reftex-uniq): Function removed. Use `reftex-uniquify' instead. + (reftex-access-search-path): Use `reftex-uniquify' instead of + `reftex-uniq'. + + * textmodes/reftex-sel.el (reftex-select-unmark): Overlay + `before-string' property modification enables for Emacs as well. + (reftex-select-item): Use `reftex-delete-overlay'. + (reftex-select-mark): Use `reftex-make-overlay' and + `reftex-overlay-put'. + (reftex-select-unmark): Use `reftex-delete-overlay' and + `reftex-overlay-put'. + +2005-05-18 Lute Kamstra + + * emacs-lisp/lisp.el (check-parens): Fix docstring. + +2005-05-18 Juanma Barranquero + + * add-log.el (add-change-log-entry): + * array.el (array-make-template, array-reconfigure-rows) + (array-init-max-row, array-init-max-column) + (array-init-columns-per-line, array-init-field-width): + * replace.el (replace-match-maybe-edit, perform-replace): + * textmodes/spell.el (spell-region): + Replace `read-input' by `read-string'. + + * forms.el (forms-mode): + * finder.el (finder-compile-keywords): + * shadowfile.el (shadow-read-files): + Replace `eval-current-buffer' by `eval-buffer'. + + * terminal.el (te-pass-through): + * net/ange-ftp.el (ange-ftp-process-filter, ange-ftp-gwp-filter) + (ange-ftp-raw-send-cmd): + * net/telnet.el (telnet-interrupt-subjob, telnet-c-z) + (send-process-next-char, telnet-initial-filter, telnet): + Replace `send-string' by `process-send-string'. + + * progmodes/prolog.el (inferior-prolog-mode): Doc fix. + (prolog-consult-region): Replace `send-string' by + `process-send-string'; replace `send-region' by `process-send-region'. + + * progmodes/delphi.el (delphi-log-msg): + Replace `set-window-dot' by `set-window-point'. + + * subr.el (window-dot, set-window-dot, read-input, send-string) + (send-region, show-buffer, eval-current-buffer): + Make really obsolete, as the comment says. + +2005-05-17 Kim F. Storm + + * emulation/cua-base.el (cua-use-hyper-key): Doc fix. + (cua--init-keymaps): Bind C-return instead of S-return to set + rectangle mark. + + * emulation/cua-rect.el (cua--init-rectangles): Bind C-return + instead of S-return to toggle/clear rectangle mark. + +2005-05-17 Daniel Pfeiffer + + * progmodes/make-mode.el (makefile-dependency-skip): New variable. + (makefile-macroassign-regex, makefile-make-font-lock-keywords): + Also fontify plain strings assigned to variables, mostly so that a + colon has a face and is thus not taken as a dependency separator. + (makefile-previous-dependency): Inline the new matcher, because it + is too complex to work in both directions. + (makefile-match-dependency): Eliminate `backward' arg (see above). + Completely reimplemented so as to not sometimes go into an endless + loop. It should also be more efficient, because first it only + searches for `:', instead of applying the very complex regexp. + (makefile-mode): Cancel `font-lock-support-mode', because blocks + to be fontified in one piece can be too long for JIT. + Makefiles are never *that* big. + +2005-05-17 Reiner Steib + + * dired.el (dired-mode): Simplify. + +2005-05-17 Lute Kamstra + + * emacs-lisp/easy-mmode.el (define-minor-mode): Don't generate a + defcustom for the mode hook variable. + + * emacs-lisp/authors.el (authors): Do parse the ChangeLogs of the + Emacs Lisp Reference Manual. + +2005-05-17 Juanma Barranquero + + * emacs-lisp/cl.el (eql, floatp-safe, plusp, minusp, oddp) + (evenp, list*): + * emacs-lisp/cl-macs.el (macrolet, symbol-macrolet): + * emacs-lisp/cl-seq.el (subsetp, tree-equal): Doc fixes. + + * net/tramp-smb.el (tramp-smb-open-connection): + Pass `tramp-chunksize' as fifth (required) argument. + +2005-05-16 Daniel Pfeiffer + + * font-lock.el (lisp-font-lock-keywords-1): + Set `font-lock-negation-char-face' for [^...] char group. + (lisp-font-lock-keywords-2): Highlight regexp's \\( \\| \\). + + * progmodes/make-mode.el (makefile-dependency-regex): Turn it into + a var, and refine it to mask one more level of nested vars. + (makefile-rule-action-regex): Turn it into a var, and refine it so + it recognizes backslashed continuation lines as belonging to the + same command. + (makefile-macroassign-regex): Refine it so it recognizes + backslashed continuation lines as belonging to the same command. + (makefile-var-use-regex): Don't look at the next char, because it + might be the same one to be skipped by the initial [^$], leading + to an overlooked variable use. + (makefile-make-font-lock-keywords): Remove two parameters, which + are now variables that some of the modes set locally. + Handle dependency and rule action matching through functions, because + regexps alone match too often. Dependency matching now comes + last, so it can check, whether a colon already matched something else. + (makefile-mode): Inform that font-lock improves makefile parsing + capabilities. + (makefile-match-dependency, makefile-match-action): New functions. + +2005-05-16 Juanma Barranquero + + * emacs-lisp/cl-extra.el (equalp): Doc fix. + + * align.el (align-regexp): + * ansi-color.el (ansi-color-get-face): + * array.el (array-reconfigure-rows, array-init-max-row) + (array-init-max-column, array-init-columns-per-line) + (array-init-field-width): + * dired-aux.el (dired-trample-file-versions): + * dired-x.el (dired-mark-sexp): + * ediff-diff.el (ediff-extract-diffs, ediff-get-diff3-group): + * edmacro.el (edmacro-finish-edit, edmacro-parse-keys): + * emerge.el (emerge-extract-diffs, emerge-get-diff3-group): + * faces.el (face-read-integer): + * files.el (backup-extract-version, insert-directory): + * hexl.el (hexl-insert-decimal-char): + * server.el (server-process-filter): + * shell.el (shell-extract-num): + * startup.el (command-line-1): + * term.el (term-command-hook): + * time-stamp.el (time-stamp, time-stamp-string-preprocess) + (time-stamp-do-number): + * time.el (display-time-update): + * timezone.el (timezone-parse-date, timezone-zone-to-minute) + (timezone-fix-time): + * vms-patch.el (vms-suspend-resume-hook): + * calendar/appt.el (appt-convert-time): + * calendar/cal-bahai.el (mark-bahai-diary-entries): + * calendar/cal-hebrew.el (mark-hebrew-diary-entries): + * calendar/cal-islam.el (mark-islamic-diary-entries): + * calendar/calendar.el (calendar-cursor-to-date) + (calendar-star-date): + * calendar/diary-lib.el (diary-attrtype-convert) + (mark-diary-entries, diary-entry-time): + * calendar/solar.el (solar-get-number): + * emacs-lisp/lisp-mnt.el (lm-last-modified-date): + * emacs-lisp/re-builder.el (reb-display-subexp): + * emulation/edt.el (edt-set-scroll-margins): + * emulation/tpu-extras.el (tpu-set-scroll-margins): + * emulation/vip.el (vip-get-ex-token, vip-get-ex-buffer) + (vip-get-ex-count): + * emulation/viper-ex.el (viper-get-ex-token) + (viper-get-ex-buffer, viper-get-ex-count, ex-next): + * international/fontset.el (fontset-plain-name): + * mail/feedmail.el (feedmail-look-at-queue-directory): + * mail/mailalias.el (mail-get-names): + * mail/rmail.el (rmail-convert-to-babyl-format): + * mail/rmailsum.el (rmail-make-basic-summary-line) + (rmail-summary-next-same-subject, rmail-summary-rmail-update) + (rmail-summary-goto-msg): + * mail/smtpmail.el (smtpmail-read-response): + * net/ange-ftp.el (ange-ftp-guess-hash-mark-size) + (ange-ftp-vms-add-file-entry): + * play/gametree.el (gametree-looking-at-ply) + (gametree-current-branch-score): + * progmodes/ada-xref.el (ada-prj-find-prj-file) + (ada-xref-find-in-modified-ali, ada-find-in-src-path): + * progmodes/cperl-mode.el (condition-case): + * progmodes/ebrowse.el (ebrowse-set-tree-indentation) + (ebrowse-set-member-buffer-column-width) + (ebrowse-select-1st-to-9nth): + * progmodes/etags.el (etags-snarf-tag): + * progmodes/flymake.el (flymake-parse-line): + * progmodes/idlw-shell.el (idlwave-shell-parse-line) + (idlwave-shell-filter-bp, idlwave-shell-goto-next-error) + (idlwave-shell-menu-def): + * progmodes/ps-mode.el (ps-run-goto-error): + * progmodes/vhdl-mode.el (vhdl-read-offset, vhdl-load-cache) + (vhdl-speedbar-contract-level): + * term/mac-win.el (x-handle-numeric-switch): + * term/sun-mouse.el (sun-get-frame-data): + * term/w32-win.el (x-handle-numeric-switch): + * term/x-win.el (x-handle-numeric-switch): + * textmodes/ispell.el (ispell-parse-output): + * textmodes/nroff-mode.el (nroff-outline-level): + * textmodes/reftex-cite.el (reftex-bib-sort-year) + (reftex-bib-sort-year-reverse, reftex-format-citation): + * textmodes/reftex-parse.el (reftex-init-section-numbers) + (reftex-section-number): + * textmodes/texinfmt.el (texinfo-paragraphindent): + Replace `string-to-int' by `string-to-number'. + + * international/latexenc.el: Add page marker to force the "Local + Variables:" string out of the last page. + +2005-05-16 Nick Roberts + + * progmodes/gud.el (gud-tooltip-mode): Add gud prefix to + tooltip-change-major-mode. + (gud-tooltip-print-command): Remove case where gud-minor-mode + is gdb ("--fullname"). + (gud-tooltip-tips): Turn GUD tooltips off for this case and + explain to user. + +2005-05-16 Jay Belanger + + * calc/calc-store.el (calc-copy-special-constant): New function. + + * calc/calc-ext.el (calc-init-extensions): Add binding for + `calc-copy-special-constant'. + + * calc/calc-prog.el (calc-edit-format-macro-buffer): Add a case + for the `calc-copy-special-constant' command. + +2005-05-16 Nick Roberts + + * subr.el (left-fringe-p): New function. + + * progmodes/compile.el (compilation-setup): Set local value of + overlay-arrow-string to "" always. + (compilation-set-window): Left fringe then don't scroll. + No left fringe then no arrow and scroll message to top. + (compilation-context-lines): Adjust doc string accordingly. + +2005-05-16 Kim F. Storm + + * ido.el (ido-magic-forward-char, ido-magic-backward-char) + (ido-magic-delete-char): New commands for C-f, C-b, C-d. + (ido-wide-find-dir-or-delete-dir): New command for M-d. + (ido-define-mode-map): Bind them. Add C-x prefix to fallback commands. + (ido-read-file-name): Handle commands with ido property value + equal to find-file as reading a file name, to allow C-d to enter dired. + (ibuffer-find-file): Add ido property with value find-file. + +2005-05-15 Kim F. Storm + + * subr.el (open-network-stream-nowait): Remove. + (open-network-stream-server): Remove. + +2005-05-15 Richard M. Stallman + + * faces.el (describe-face): Output a definition link button. + + * help-mode.el (help-face-def): New button type. + + * emacs-lisp/copyright.el (copyright-fix-years): + Match properly if the first year is 2-digit. + Don't mess up the whitespace after the years by filling. + + * dired-aux.el (dired-mark-confirm): + Pass t to dired-get-marked-files for DISTINGUISH-ONE-MARKED. + + * dired.el (dired-map-over-marks): New arg DISTINGUISH-ONE-MARKED. + (dired-get-marked-files): New arg DISTINGUISH-ONE-MARKED. + (dired-mark-pop-up): Handle FILES = (t FILE) specially. + + * emacs-lisp/lisp-mode.el (lisp-mode-variables): + Set font-lock-comment-start-skip. + + * font-lock.el (font-lock-comment-start-skip): New variable. + (font-lock-comment-end-skip): New variable. + (font-lock-fontify-syntactically-region): Use them if non-nil. + +2005-05-15 Jay Belanger + + * calc/calc-store.el (calc-store-value): Return a string rather + than display it as a message. + Use calc-var-name for variable name. + (calc-store-into): Add the result of calc-store-value to message. + (calc-copy-variable): Add a message. + (calc-store-exchange): Improve error messages. + (calc-store-binary, calc-store-map): Don't reset the values of + special constants. + +2005-05-14 Luc Teirlinck + + * emacs-lisp/derived.el (define-derived-mode): Add link to Elisp + manual to docstring. + + * files.el (hack-local-variables-confirm): Add STRING argument. + Make the function handle non file visiting buffers correctly. + (hack-local-variables-prop-line, hack-local-variables) + (hack-one-local-variable): Use STRING arg of + `hack-local-variables-confirm'. + +2005-05-14 Michael Albinus + + Sync with Tramp 2.0.49. + + * net/tramp.el (tramp-handle-dired-call-process) + (tramp-handle-insert-directory):`insert-buffer' cannot be used + because the contents of the Tramp buffer is changed before + insertion (`expand-file' and alike). + (tramp-handle-insert-directory): If `localname' has an empty + nondirectory name, it must not be quoted. + (tramp-pre-connection): Add parameter CHUNKSIZE. Make local + variable `tramp-chunksize'. Change callees. + (tramp-open-connection-setup-interactive-shell): Check remote host + for buggy `send-process-string' implementation. + Set `tramp-chunksize' if found. Reported by Michael Kifer + (and a lot of other people all the years). + (tramp-handle-shell-command): `insert-buffer' cannot be used + because the contents of the Tramp buffer is changed before + insertion (`expand-file' and alike). Reported by Fr,Ai(Bd,Ai(Bric Bothamy + . + (tramp-set-auto-save): Actions should be done for Tramp file name + handler only. Ange-FTP has its own auto-save mechanism. + Reported by Richard G. Bielawski . + (tramp-set-auto-save-file-modes): Set file modes of + `buffer-auto-save-file-name' to ?\600 as fallback solution. + Reported by Ferenc Wagner . + (tramp-bug): Remove obsolete variable. + (tramp-append-tramp-buffers): Rewrite partly. More suitable check + for presence of `mml-mode'. Make it running for older Emacsen as well. + +2005-05-14 John Paul Wallington + + * ibuf-ext.el (define-ibuffer-filter filename): + If `dired-directory' is a list, use its car. + +2005-05-14 Daniel Brockman (tiny change) + + * ibuffer.el (define-ibuffer-column filename): + If `dired-directory' is a list, use its car. + +2005-05-14 Richard M. Stallman + + * subr.el (symbol-file): Doc fix. + + * emacs-lisp/bytecomp.el (byte-compile-nogroup-warn): New function. + (byte-compile-form): Call byte-compile-nogroup-warn. + (byte-compile-warning-types): Doc fix. + + * eshell/esh-mode.el (eshell-find-tag): Use with-no-warnings. + + * progmodes/cc-engine.el (c-literal-faces): + Add font-lock-comment-delimiter-face. + + * net/net-utils.el (dig): Use with-no-warnings. + + * mail/supercite.el (sc-cite-frame-alist, sc-uncite-frame-alist) + (sc-recite-frame-alist, sc-default-cite-frame) + (sc-default-uncite-frame, sc-default-recite-frame) + (sc-attrib-selection-list, sc-rewrite-header-list): + Mark as risky-local-variable. + + * international/ogonek.el (ogonek-jak, ogonek-how): + Don't use beginning-of-buffer. + + * emacs-lisp/eldoc.el (eldoc-documentation-function): Add autoload. + + * calendar/solar.el (solar-data-list): Move definition up. + + * dnd.el (dnd-protocol-alist): Add autoload. + + * progmodes/sh-script.el: Many doc usage fixes. + (sh-indent-after-do): Change default to match common styles. + +2005-05-13 Luc Teirlinck + + * files.el (interpreter-mode-alist) + (auto-mode-interpreter-regexp): Doc fixes. + +2005-05-13 Matt Hodges + + * tmm.el (tmm-get-keymap): Include only active menus and menu items. + + * emacs-lisp/easymenu.el (easy-menu-define): Doc fixes. + +2005-05-13 Jan Dj,Ad(Brv + + * dired.el (dired-mode): make-variable-buffer-local => + make-local-variable. + +2005-05-13 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-select-convert-to-string): Try coding + systems in mac-script-code-coding-systems if specified one cannot + encode string for `com.apple.traditional-mac-plain-text'. + +2005-05-13 Daniel Pfeiffer + + * progmodes/make-mode.el (makefile-targets-face) + (makefile-shell-face, makefile-makepp-perl-face): New faces. + (makefile-dependency-regex): Fix it to not make the colon in + $(var:a=b) special. + (makefile-rule-action-regex): New regexp for highlighting embedded + Shell strings. + (makefile-macroassign-regex): Handle != for highlighting as + embedded Shell strings. + (makefile-var-use-regex): New const. + (makefile-statements, makefile-automake-statements) + (makefile-gmake-statements, makefile-makepp-statements) + (makefile-bsdmake-statements): New consts. + (makefile-make-font-lock-keywords): New function. + (makefile-automake-font-lock-keywords) + (makefile-gmake-font-lock-keywords) + (makefile-makepp-font-lock-keywords) + (makefile-bsdmake-font-lock-keywords): New consts. + (makefile-mode-map): Add switchers between the various submodes. + (makefile-mode): Document the availability of the variants. + (makefile-automake-mode, makefile-gmake-mode) + (makefile-makepp-mode, makefile-bsdmake-mode): New derived modes. + + * files.el (auto-mode-alist, interpreter-mode-alist): Set up the + new variants of makefile-mode. + +2005-05-12 Stefan Monnier + + * font-lock.el (font-lock-comment-delimiter-face): Fix up + the inheritance. + +2005-05-12 Luc Teirlinck + + * progmodes/inf-lisp.el (inferior-lisp-mode-hook) + (inferior-lisp-load-hook): Convert defcustoms back to defvars. + + * files.el (normal-mode): Extend the scope of the + `enable-local-variables' binding to include the `set-auto-mode' call. + (magic-mode-alist): Doc fix. + +2005-05-12 Stefan Monnier + + * font-lock.el (font-lock-comment-delimiter-face): Inherit from + font-lock-comment-face rather than copying its setting. + +2005-05-12 Andreas Schwab + + * eshell/esh-mode.el (eshell-send-input): Doc fix. + +2005-05-12 Lute Kamstra + + * emacs-lisp/generic.el (define-generic-mode): Don't generate a + defcustom for the mode hook variable. Delete the last argument. + * generic-x.el: Fix callers of define-generic-mode. + (generic-x-modes): Delete group. + (show-tabs-tab-face, show-tabs-space-face): Put them in the + generic-x customization group. + +2005-05-12 Kim F. Storm + + * font-lock.el (font-lock-negation-char-face): Default to "off". + + * progmodes/cc-fonts.el (c-basic-matchers-before): Don't apply + font-lock-negation-char-face to ! in !=. + +2005-05-12 Masatake YAMATO + + * add-log.el (find-change-log): Fix typos in the docstring + of function. + +2005-05-11 Arne J,Ax(Brgensen + + * international/latexenc.el (latexenc-find-file-coding-system): + Avoid `re-search-forward' when looking for input encoding because + of speed and safety. Better regular expressions for recognizing + input encoding. Limit a search for TeX-master/tex-main-file to + the local variable section. + +2005-05-11 Dan Nicolaescu + + * progmodes/sh-script.el (sh-mode-default-syntax-table): Set the + syntax of $ to "'" (quote). + +2005-05-11 Reiner Steib + + * dnd.el (dnd-protocol-alist): Improve custom type. + + * dired.el (dired-dnd-protocol-alist): New variable. + (dired-mode): Use `dired-dnd-protocol-alist'. Move call of + `dired-mode-hook' to the end. + +2005-05-11 Stefan Monnier + + * font-lock.el (font-lock-fontify-syntactically-region): Don't use + comment-end if comment-start-skip is not set. + Obey the font-lock-comment-delimiter-face variables. + +2005-05-11 Stefan Monnier + + * files.el (executable-find): Move from executable.el. Use + locate-file. + * progmodes/executable.el (executable-find): Move to files.el. + + * font-lock.el (font-lock-fontify-keywords-region): Use a marker + when trying to ensure forward progress. + +2005-05-11 Chong Yidong + + * mouse-sel.el (mouse-sel-follow-link-p): New function. + (mouse-select, mouse-select-internal, mouse-extend-internal): + Use it to implement mouse-1-click-follows-link functionality. + +2005-05-11 Richard M. Stallman + + * font-lock.el (font-lock-fontify-syntactically-region): + Use font-lock-comment-delimiter-face for comment delimiters. + +2005-05-10 Jay Belanger + + * calc/calc-help.el (calc-m-prefix-help): Add mention of + preserving embedded modes. + +2005-05-10 Richard M. Stallman + + * progmodes/sh-script.el (sh-indent-for-do): Default to 0. + + * progmodes/ada-mode.el (ada-adjust-case-skeleton): + Move from ada-stmt.el. + (ada-mode): Add ada-adjust-case-skeleton to skeleton-end-hook. + + * progmodes/ada-stmt.el (ada-adjust-case-skeleton): + Move to ada-mode.el. + (ada-stmt-mode-hook): Delete; do the work in ada-mode. + + * cus-edit.el (custom-file): Call file-chase-links. + + * files.el (read-directory-name): Fix previous change. + (hack-local-variables-confirm): New function. + (hack-local-variables-prop-line, hack-local-variables) + (hack-one-local-variable): Use it. + +2005-05-10 Lute Kamstra + + * font-lock.el (font-lock-keywords-alist) + (font-lock-removed-keywords-alist): Clarify docstrings. + +2005-05-10 Nick Roberts + + * progmodes/gdb-ui.el (gdb-macro-info): New variable. + (gdb-source-info): Check for preprocessor info. + (gdb-tooltip-print-1): New function. Don't print tooltip if it is + a macro for a function. + (gdb-info-breakpoints-custom): Try to find file again if not already + found (user might have used GDB dir command). + (gdb-get-location): Update gdb-location-alist correctly for change + to gdb-info-breakpoints-custom. + + * progmodes/gud.el (gud-tooltip-mode): Require tooltip to be safe. + (gud-tooltip-print-command): Add gdbmi case. + (gud-tooltip-tips): Call gdb-tooltip-print-1 first if there is + preprocessor info. + +2005-05-09 Reiner Steib + + * startup.el (fancy-splash-insert): Fix typo in doc string. + +2005-05-09 Juanma Barranquero + + * obsolete/float.el (string-to-float): + * obsolete/hilit19.el (hilit-add-pattern): + * obsolete/rnews.el (news-parse-range, news-select-message) + (news-get-pruned-list-of-files): Replace `string-to-int' by + `string-to-number'. + + * obsolete/uncompress.el: Set `find-file-not-found-functions', not + `find-file-not-found-hooks'; use `add-hook'. + (uncompress-while-visiting): Set `write-file-functions', not + `write-file-hooks'; use `add-hook'. + +2005-05-09 Kim F. Storm + + * emulation/cua-base.el (cua-copy-region, cua-cut-region) + (cua-paste): Handle clipboard action. + (cua--init-keymaps): Remap clipboard-kill-region and + clipboard-kill-ring-save. + +2005-05-08 Eli Zaretskii + + * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): + Improve commentary. + + * simple.el (next-error-overlay-arrow-position): Revert the change + made on 2005-04-30. + +2005-05-07 Jay Belanger + + * calc/calcsel2.el (calc-commute-left, calc-commute-right) + (calc-sel-unpack, calc-sel-isolate): Rename variable `reselect' to + `calc-sel-reselect'. + + * calc/calc-mode.el (calc-save-modes): Reset the modes list if + Calc is in embedded mode. + +2005-05-07 Eli Zaretskii + + * progmodes/compile.el (compilation-setup): + Set overlay-arrow-string to an empty string on text terminals. + + * textmodes/ispell.el (ispell-program-name): Try looking for + "aspell" along exec-path, and if found, use it as the default + speller program. + +2005-05-07 Jirka Kosek (tiny change) + + * international/mule.el (sgml-xml-auto-coding-function): + Recognize encoding='FOO' in single quotes as well as in double quotes. + +2005-05-07 Johan Bockg,Ae(Brd + + * emacs-lisp/cl-macs.el (cl-transform-lambda): Recognize `declare' + as well as `interactive', so that defmacro* would recognize + `declare' forms. + +2005-05-07 Eli Zaretskii + + * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): + Explain more about the LIGHTER arg's usage in the doc string. + Add commentary to clarify what the code does. Fix the regexp that + strips whitespace from LIGHTER. Quote LIGHTER before using it, + since it could have characters special to regular expressions. + +2005-05-07 Matt Hodges (tiny change) + + * replace.el (occur-1): Bind inhibit-read-only so that + erase-buffer doesn't barf on read-only text properties (likewise + for add-text-properties in occur-engine). Mark buffer as unmodified. + (occur-engine): Don't set buffer-read-only here. + +2005-05-06 Stefan Monnier + + * pcvs.el (cvs-mode-commit, cvs-mode-edit-log): Don't fiddle with + list-buffers-directory. This caused the *cvs-commit* buffer to be + sometimes mistakenly reused as a *cvs* buffer. + +2005-05-07 Nick Roberts + + * tooltip.el: Move code for GUD tooltips into gud.el. + (require): CL no longer needed to compile case. + (tooltip-mode): Do not toggle functions for GUD tooltips. + (tooltip-gud-tips-p): Remove. Replace with minor mode + gud-tooltip-mode in gud.el. + (tooltip-gud-modes, tooltip-gud-display, tooltip-gud-echo-area) + (tooltip-gud-toggle-dereference): Rename in gud.el by replacing + tooltip-gud prefix with gud-tooltip and obsolete. + (tooltip-change-major-mode, tooltip-activate-mouse-motions-if-enabled) + (tooltip-mouse-motions-active, tooltip-activate-mouse-motions) + (tooltip-mouse-motion): Mouse movement functions/variable. + Rename in gud.el by adding gud prefix. + (tooltip-gud-original-filter, tooltip-gud-dereference) + (tooltip-gud-event, tooltip-toggle-gud-tips) + (tooltip-gud-process-output, tooltip-gud-print-command) + (tooltip-gud-tips): GUD tooltip functions/variables. Rename in + gud.el by replacing tooltip-gud prefix with gud-tooltip. + (gdb-tooltip-print): Move to gdb-ui.el. + + * progmodes/gud.el: Move code for GUD tooltips from tooltip.el. + (require): CL needed to compile case. + (gud-tooltip-mode): Use to toggle GUD tooltips instead of + tooltip-gud-tips-p. Make it a minor-mode. + (gud-find-file): Only prepare GUD tooltips if gud-tooltip-mode is t. + (gud-menu-map): GUD tooltips use gud-tooltip-mode now. + (gud-tooltip-modes, gud-tooltip-display, gud-tooltip-echo-area) + (gud-tooltip-change-major-mode) + (gud-tooltip-activate-mouse-motions-if-enabled) + (gud-tooltip-mouse-motions-active, gud-tooltip-activate-mouse-motions) + (gud-tooltip-mouse-motion, gud-tooltip-toggle-dereference) + (gud-tooltip-original-filter, gud-tooltip-dereference) + (gud-tooltip-event, tooltip-toggle-gud-tips) + (gud-tooltip-process-output, gud-tooltip-print-command) + (gud-tooltip-tips): Move from tooltip.el. + + * progmodes/gdb-ui.el (gdb-tooltip-print): Move from tooltip.el. + (gdb-cpp-define-alist-flags): Doc fix. + (gdb-set-gud-minor-mode-1): Only prepare GUD tooltips if + gud-tooltip-mode is t. + +2005-05-06 Stefan Monnier + + * net/goto-addr.el (goto-address-fontify): Make sure the overlays + evaporate if their text is deleted. + (goto-address-at-point): Make it work as a mouse binding as well. + (goto-address-at-mouse): Obsolete it. Update users. + +2005-05-06 Glenn Morris + + * calendar/appt.el (top-level): No longer activate on load. + +2005-05-06 Juanma Barranquero + + * calendar/cal-bahai.el (mark-bahai-diary-entries): + * net/webjump.el (webjump): + * progmodes/idlw-help.el (idlwave-do-context-help1) + (idlwave-highlight-linked-completions): + * textmodes/po.el (po-find-file-coding-system-guts): + Replace `assoc-ignore-case' by `assoc-string'. + +2005-05-06 Eli Zaretskii + + * files.el (locate-file): Doc fix. + + * progmodes/gdb-ui.el (gdb-cpp-define-alist-program): Doc fix. + Remove the redundant test for ms-dos. + + * progmodes/cmacexp.el (c-macro-preprocessor): Use locate-file to + look for the preprocessor with exec-suffixes. If not found in + standard places, look in exec-path. Remove most of the tests that + used system-type. + + * loadup.el: Load jka-cmpr-hook instead of jka-comp-hook. + + * jka-compr.el (jka-compr-uninstall): Add autoload cookie. + + * jka-cmpr-hook.el: Renamed from jka-comp-hook.el, to avoid + file-name clash with jka-compr.el on 8+3 filesystems. + +2005-05-06 YAMAMOTO Mitsuharu + + * term/mac-win.el: Don't define or bind scroll bar functions if + x-toolkit-scroll-bars is t. + (x-select-text, x-get-selection-value): Clear + x-last-selected-text-clipboard if x-select-enable-clipboard is + nil. + (PRIMARY): Put mac-scrap-name property. + (mac-select-convert-to-file-url): New function. + (public.file-url): New selection target type. Add to + selection-converter-alist. + (x-get-selection, x-selection-value): Handle it. + (x-cut-buffer-or-selection-value): New alias. + +2005-05-05 Roland Winkler + + * textmodes/bibtex.el (bibtex-summary): Use current BibTeX + entry to avoid calling bibtex-find-entry with arg global + being t. Remove arg key. + (bibtex-summary-function, bibtex-complete-crossref-cleanup) + (bibtex-copy-summary-as-kill): Change accordingly. + +2005-05-05 Stefan Monnier + + * textmodes/org.el (org-get-entries-from-diary): Remove unused vars. + (org-agenda-date-later): Use with-current-buffer. + +2005-05-05 Luc Teirlinck + + * emacs-lisp/byte-run.el (define-obsolete-function-alias) + (define-obsolete-variable-alias): Doc Fixes. + +2005-05-06 Kim F. Storm + + * simple.el (line-move-1): Fix 2005-04-26 change. Must still use + vertical-motion when selective-display is active. + + * ido.el (ido-setup-hook): New hook. + (ido-define-mode-map-hook): Remove hook; use ido-setup-hook instead. + (ido-input-stack): New var. + (ido-define-mode-map): Bind M-b to ido-push-dir. Move old + ido-next-work-file binding to M-O. + Bind M-f to ido-wide-find-file-or-pop-dir. + (ido-define-mode-map): Don't run ido-define-mode-map-hook. + (ido-read-internal): Run ido-setup-hook. + Catch quit in read-file-name and read-string to cancel edit. + Handle new push, pop, and pop-all exit codes (for M-b/M-f). + Automatically pop-all when completing a directory name (RET). + (ido-file-internal): Add with-no-warnings around ffap and dired code. + (ido-exit-minibuffer): Use exit-minibuffer instead of throw. + (ido-wide-find-file, ido-wide-find-dir): Catch quit to cancel find. + (ido-push-dir, ido-pop-dir, ido-wide-find-file-or-pop-dir): + New functions for M-b/M-f to move among the directory components. + (ido-make-merged-file-list): Catch quit to cancel merge. + (ido-make-dir-list): Delete "." when ido-input-stack is non-empty. + (ido-completion-help): No warnings for ido-completion-buffer-full. + +2005-05-05 Daniel Pfeiffer + + * font-lock.el (font-lock-negation-char-face): New face and variable. + * progmodes/cc-fonts.el (c-cpp-matchers): Use it. + * progmodes/sh-script.el (sh-font-lock-keywords): Use it. + * progmodes/cperl-mode.el (cperl-init-faces): Use it. + * progmodes/make-mode.el (makefile-font-lock-keywords): Use it. + +2005-05-05 Juanma Barranquero + + * emacs-lisp/byte-run.el (define-obsolete-function-alias): + Fix typo in docstring. + + * progmodes/ebrowse.el (ebrowse-install-1-to-9-keys) + (ebrowse-print-statistics-line) + (ebrowse-electric-position-mode-hook): Fix typo in docstring. + + * term/w32-win.el (image-library-alist): Add additional name for + Xpm library. + +2005-05-05 Nick Roberts + + * progmodes/cmacexp.el (c-macro-preprocessor): Update for BSD and + use gcc instead of cpp. + + * progmodes/gdb-ui.el (gdb-cpp-define-alist-flags): New variable. + (gdb-create-define-alist): Use it. + (gdb-cpp-define-alist-program): Update for MS-DOS. + +2005-05-04 Nick Roberts + + * progmodes/cmacexp.el (c-macro-preprocessor): Update for Mac OS X. + +2005-05-04 Richard M. Stallman + + * help.el (describe-key): No error when UNTRANSLATED is nil. + + * simple.el (line-move-1): Fix previous change to signal errors + appropriately. + +2005-05-03 Ulf Jasper + + * calendar/icalendar.el (icalendar-version): Now at 0.12. + (icalendar-duration-correction): Remove. + (icalendar--get-event-properties): Split result at commas. + (icalendar--decode-isoduration): New optional argument + DURATION-CORRECTION. + (icalendar--convert-ordinary-to-ical, icalendar--convert-sexp-to-ical) + (icalendar--convert-yearly-to-ical, icalendar--convert-weekly-to-ical) + (icalendar--convert-block-to-ical, icalendar--convert-float-to-ical) + (icalendar--convert-date-to-ical, icalendar--convert-cyclic-to-ical) + (icalendar--convert-anniversary-to-ical): New functions, extracted + from icalendar-export-region, with bug fixes. + (icalendar-export-region): Use the above functions. + (icalendar-import-buffer): Check before saving diary file. + (icalendar--convert-recurring-to-diary) + (icalendar--convert-non-recurring-all-day-to-diary) + (icalendar--convert-non-recurring-not-all-day-to-diary): New functions, + extracted from icalendar--convert-ical-to-diary, with bug fixes. + (icalendar--convert-ical-to-diary): Use the above functions. + +2005-05-03 Nick Roberts + + * progmodes/cc-mode.el (cc-define-alist, cc-create-define-alist): + Remove these recent additions. + (c-mode): Restore to before 2005-04-28. + + * progmodes/cc-vars.el (cc-define-list-program): Remove this + recent addition. + + * progmodes/gdb-ui.el (gdb-cpp-define-alist-program) + (gdb-define-alist): New variables. + (gdb-create-define-alist): New function. + (gdb-set-gud-minor-mode-1): Handle gdb-define-alist. + (gdb-source, gdb-memory-set-repeat-count): Replace string-to-int + with string-to-number. + (gdb-reset): Kill gdb-define-alist. Move assignments outside loop. + + * progmodes/gud.el: Replace string-to-int with string-to-number. + (gud-find-file): Handle gdb-define-alist. + + * tooltip.el (tooltip-gud-tips): Use gdb-define-alist. + +2005-05-02 Jay Belanger + + * calc/calc-aent.el (math-read-token): + * calc/calc-bin.el (calc-word-size): + * calc/calc-ext.el (calc-read-number-fancy): + * calc/calc-forms.el (calc-time, calc-date-notation, math-this-year) + (math-parse-date, math-parse-standard-date, calcFunc-tzone): + * calc/calc-frac.el (calc-over-notation): + * calc/calc-graph.el (calc-graph-plot, calc-graph-set-styles) + (calc-graph-num-points, calc-graph-init): + * calc/calc-prog.el (calc-read-parse-table-part) + (calc-edit-macro-repeats): + * calc/calc-yank.el (calc-do-grab-rectangle): + * calc/calc.el (calcDigit-key, math-read-number, math-read-bignum): + Replace `string-to-int' by `string-to-number'. + +2005-05-02 Kim F. Storm + + * kmacro.el: Use executing-kbd-macro-index variable. + +2005-05-02 Thien-Thi Nguyen + + * net/rlogin.el (rlogin-parse-words): Delete func. + (rlogin): Use split-string, not rlogin-parse-words. + Also, if there are option-like elements in the parsed args, + take the host to be the first arg immediately following them. + Suggested by Michael Mauger. + +2005-05-01 Luc Teirlinck + + * subr.el (executing-macro): Use `define-obsolete-variable-alias'. + +2005-05-02 Nick Roberts + + * progmodes/cc-mode.el (cc-create-define-alist): Use a shell. + (cc-mode-cpp-program): Rename to cc-define-list-program and + move to cc-vars.el. + + * progmodes/cc-vars.el (cc-define-list-program): + Change to "gcc -E -dM -". Make customizable. + +2005-05-02 Kim F. Storm + + * emulation/cua-base.el: Fix check for CUA-mode if no init file. + +2005-05-02 Nick Roberts + + * progmodes/cc-mode.el (cc-mode-cpp-program): Change to "gcc -E". + + * international/mule-util.el (truncate-string): Remove alias and + obsolete declaration. + + * international/mule-cmds.el (update-iso-coding-systems): + Remove alias and obsolete declaration. + + * international/mule.el (coding-system-parent): Remove alias and + obsolete declaration. + + * subr.el (define-function, sref): Remove aliases and obsolete + declarations. + (chars-in-region): Remove obsolete declaration. + +2005-05-01 Richard M. Stallman + + * info.el (Info-mode): Set widen-automatically to nil, locally. + + * simple.el (widen-automatically): New variable. + (pop-global-mark): Obey widen-automatically. + +2005-05-01 Dan Nicolaescu + + * term/xterm.el (function-key-map): Call substitute-key-definition + before the keymap size is increased by a lot of define-key calls. + +2005-05-01 Richard M. Stallman + + * subr.el (add-to-invisibility-spec, remove-from-invisibility-spec): + Rename ARG to ELEMENT. Doc fix. + +2005-05-01 Nick Roberts + + * allout.el (allout-exposure): Remove macro and obsolete declaration. + Remove references to allout-exposure/change to allout-new-exposure. + + * emacs-lisp/bytecomp.el (dot, dot-min, dot-max): Don't create + bytecode symbols. + + * subr.el (dot, dot-marker, dot-min, dot-max, buffer-flush-undo) + (compiled-function-p, focus-frame, unfocus-frame): + Remove aliases and obsolete declarations. + Back out inadvertent changes from previous commit. + +2005-05-01 Luc Teirlinck + + * files.el (require-final-newline): Make Custom tags consistent + with mode-require-final-newline. + (mode-require-final-newline): Doc fix. + +2005-05-01 Stefan Monnier + + * international/latexenc.el (latexenc-find-file-coding-system): + Fix regular expressions. + +2005-05-01 David Kastrup + + * international/latexenc.el (latexenc-find-file-coding-system): + Fix regular expressions. + +2005-05-01 Nick Roberts + + * subr.el (string-to-int): Make obsolete. + +2005-04-30 Richard M. Stallman + + * simple.el (next-error-overlay-arrow-position): Turn off, for ttys. + - * loadup.el: load jka-comp-hook. ++ * loadup.el: Load jka-comp-hook. + + * jka-compr.el: Many functions and vars moved to jka-comp-hook.el. + (jka-compr-handler): Add autoload. `put' calls moved + to jka-comp-hook.el. + (compression, jka-compr): defgroups moved to jka-comp-hook.el. + (jka-compr-inhibit): Autoload. + + * jka-comp-hook.el: New file. + Enable the mode by default. + + * files.el (backup-buffer-copy): Use copy-file instead + of write-region, and put back the 'excl. + +2005-04-30 Chong Yidong + + * progmodes/flymake.el (flymake-split-string) + (flymake-split-string, flymake-log, flymake-pid-to-names) + (flymake-reg-names, flymake-get-source-buffer-name) + (flymake-unreg-names, flymake-add-line-err-info) + (flymake-add-err-info): Clarify docstrings. + (flymake-popup-menu, flymake-make-emacs-menu) + (flymake-make-xemacs-menu): Add docstrings. + (flymake-get-buffer-*, flymake-set-buffer-*): Functions deleted. + Set variables directly throughout. + +2005-04-30 Nick Roberts + + * progmodes/cc-mode.el (cc-create-define-alist): Check that file + exists. Initialize cc-define-alist. + (c-mode): Add cc-create-define-alist locally to after-save-hook. + If there is no file (Macroexpansion) don't create an alist. + +2005-04-29 Sam Steingold + + * progmodes/cc-mode.el (cc-mode-cpp-program): New user variable. + (cc-create-define-alist): Use it instead of the hard-coded string. + +2005-04-29 Stefan Monnier + + * international/mule-conf.el (file-coding-system-alist): Fix regexp + for latexenc. + +2005-04-29 Lute Kamstra + + * emacs-lisp/generic.el: Improve commentary section. + (define-generic-mode): Improve docstring. + +2005-04-29 Carsten Dominik + + * textmodes/org.el (many places): Change to quiet the byte compiler. + (org-prefix-format-compiled): New variable. + (org-compile-prefix-format): New function. + (org-timeline, org-agenda, org-diary): Call org-compile-prefix-format. + (org-agenda-prefix-format, org-timeline-prefix-format): New options. + (org-agenda-get-scheduled): Check if file is opened in `org-mode'. + (org-get-entries-from-diary): Use `org-get-time-of-day' for + consistency with entries from `org-mode' files. + (org-get-time-of-day): Fix bug with partial matches early in a line. + (org-non-link-chars): New constant. + (org-link-regexp): Respect `org-non-link-chars'. + (org-agenda-day-view): Remove command. + (org-agenda-toggle-week-view): Rename from `org-agenda-week-view'. + (org-follow-bbdb-link, org-store-link): Search also company field. + (org-highlight-overlay): New variable. + (org-highlight, org-unhighlight): New functions. + (org-agenda-mode): Add pre-command-hook to remove highlight. + (org-evaluate-time-range): Behavior depends upon whether time stamp + contains a time or not. + (org-show-subtree, org-show-entry): New functions. + (org-agenda-cleanup-fancy-diary): Remove empty lines. + +2005-04-28 Luc Teirlinck + + * comint.el (comint-output-filter-functions): Add autoload cookie. + +2005-04-28 Kim F. Storm + + * ido.el (ido-everywhere): Fix last change. + +2005-04-28 Arne J,Ax(Brgensen + + * international/latexenc.el: New file. + * international/mule-conf.el (file-coding-system-alist): For .tex, + .ltx, .dtx and .drv extensions, use `latexenc-find-file-coding-system'. + +2005-04-28 Lute Kamstra + + * font-lock.el (font-lock-add-keywords) + (font-lock-remove-keywords): Clarify docstring. + (font-lock-keywords-alist, font-lock-removed-keywords-alist): + Don't start docstrings with a `*'. + (font-lock-update-removed-keyword-alist): Give it a docstring. + + * generic-x.el: Update commentary section. + Only require font-lock when compiling. + Define all modes conditionally. + Place all generic modes in the generic-x-modes customization group. + (generic-x-modes): New customization group. + (generic-default-modes, generic-mswindows-modes) + (generic-unix-modes, generic-other-modes): New constants. + (generic-define-mswindows-modes, generic-define-unix-modes): + Update docstrings. Make them obsolete. + (generic-extras-enable-list): New default value. Update docstring. + Improve :type. Change :set function. + (bat-generic-mode-syntax-table, rul-generic-mode-syntax-table): + Fix docstring. + + * emacs-lisp/generic.el (generic-mode-internal): + Simplify font-lock-defaults. + (define-generic-mode): Fix docstring. + +2005-04-28 Stefan Monnier + + * progmodes/grep.el (grep-mode-font-lock-keywords): Use the + font-lock-face property to highlight matches. + +2005-04-28 Nick Roberts + + * progmodes/cc-mode.el (cc-create-define-alist): New function. + (cc-define-alist): New variable. + (c-mode): Make it local and initialize it. + + * progmodes/gdb-ui.el (gdb-active-process): New variable. + (gdb-exited): New function. + (gdb-annotation-rules): Use it. + (gdb-starting): Set gdb-active-process to t. + (gdb-stopping): Amend doc string. + (gdb-reset): Set gdb-active-process to nil. + + * tooltip.el (tooltip-gud-tips): Show the associated #define + directives when a C program under GDB is not executing. + +2005-04-27 Stefan Monnier + + * progmodes/cperl-mode.el (cperl-mode): Don't precompile the + font-lock-fontify-syntactic-keywords. + + * font-lock.el (font-lock-default-fontify-region): Don't force + parse-sexp-lookup-properties to nil. + +2005-04-27 Alexander Klimov (tiny change) + + * man.el (man-mode-syntax-table): Set up `:' to have + word-constituent syntax. + +2005-04-27 Lute Kamstra + + * novice.el (disable-command): Don't add spurious newlines to the + init file. Reported by Dan Jacobson . + +2005-04-26 Jay Belanger + + * calc/calc-yank.el (calc-edit-finish): Make sure there is more + than one window before deleting window. + +2005-04-26 Luc Teirlinck + + * shell.el (shell-prompt-pattern): Doc fix. + (shell-mode): Set paragraph-separate buffer locally to "\\'". + + * comint.el (comint-prompt-regexp, comint-get-old-input) + (comint-use-prompt-regexp) + (comint-use-prompt-regexp-instead-of-fields) + (comint-replace-by-expanded-history, comint-send-input) + (comint-output-filter, comint-get-old-input-default) + (comint-line-beginning-position, comint-bol, comint-show-output) + (comint-backward-matching-input, comint-forward-matching-input) + (comint-next-prompt, comint-previous-prompt): + Rename `comint-use-prompt-regexp-instead-of-fields' to + `comint-use-prompt-regexp'. Keep old name as alias and declare + obsolete. + (comint-use-prompt-regexp): Shorten first line of doc string. + + * ielm.el (inferior-emacs-lisp-mode): Adapt to above name change. + Set paragraph-separate buffer locally to "\\'". + + * hippie-exp.el (try-expand-line, try-expand-line-all-buffers): + Adapt to above name change. + + * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp) + (smbclient-prompt-regexp): Ditto. + + * progmodes/inf-lisp.el (inferior-lisp-prompt): Ditto. + +2005-04-27 Nick Roberts + + * progmodes/gdb-ui.el (gdb-location-alist): Rename from + gdb-location-list. + Break lines that are over 80 characters wide. + +2005-04-26 Stefan Monnier + + * pcvs-info.el (cvs-fileinfo->full-path, cvs-display-full-path): + New fun and var, to preserve compatibility. + + * pcvs.el, pcvs-info.el: Rename "full-path" -> "full-name". + +2005-04-26 Dominique de Waleffe (tiny change) + + * pcvs-info.el (cvs-fileinfo->backup-file): Don't pass the full file + name to file-newer-than-file-p. + +2005-04-26 Richard M. Stallman + + * simple.el (line-move-1): Avoid using vertical-motion in easy cases. + + * progmodes/python.el (python-mode): + Use new name eldoc-documentation-function. + + * hexl.el (hexl-mode): Use new name eldoc-documentation-function. + + * emacs-lisp/eldoc.el (eldoc-mode): Doc fix. + (eldoc-documentation-function): + Rename from eldoc-print-current-symbol-info-function. Calls changed. + +2005-04-26 Nick Roberts + + * emacs-lisp/byte-run.el (define-obsolete-function-alias): New macro. + +2005-04-25 Dan Nicolaescu + + * term/xterm.el (function-key-map): Fix strings for + {C,S,A,C-S}-f[1-4]. Use substitute-key-definition to bind + {C,S,A,C-S}-{f1-f12}. + +2005-04-26 Kenichi Handa + + * international/mule-cmds.el (select-safe-coding-system): + Fix previous change. + +2005-04-26 Lute Kamstra + + * emacs-lisp/easy-mmode.el (define-minor-mode): Fix docstring. + + * font-lock.el (font-lock-fontify-region-function): Fix docstring. + (font-lock-comment-delimiter-face): Ditto. + + * calc/calc.el (calc-trail-mode): Don't set font-lock-defaults. + +2005-04-25 Jay Belanger + + * calc/calc-help.el (calc-view-news): Let-bind inhibit-read-only + to t while inserting information; use help-mode. + +2005-04-25 Dan Nicolaescu + + * term.el (ansi-term-color-vector): Use the xterm colors. + (term-raw-map): Don't add mappings for \eO and \e[. Map deletechar. + +2005-04-25 Lute Kamstra + + * font-core.el (font-lock-defaults): Fix docstring. + + * font-lock.el (font-lock-syntactic-face-function): Fix docstring. + +2005-04-25 Kenichi Handa + + * international/mule-cmds.el (select-safe-coding-system): + Don't check consistency with coding: spec, etc if raw-text or + no-conversion was found to be safe. + +2005-04-24 Richard M. Stallman + + * mail/sendmail.el (mail-font-lock-keywords): Match any number of + citation markers at start of each line. + + * mail/rmail.el (rmail-font-lock-keywords): Match any number of + citation markers at start of each line. + + * font-lock.el (font-lock-comment-delimiter-face): Doc fix. + + * files.el (mode-require-final-newline): Fix previous change. + (require-final-newline): Fix type label. + +2005-04-24 Glenn Morris + + * progmodes/f90.el (f90-calculate-indent): Fix treatment of first + statement in buffer (broken by 2004-11-24 change). + +2005-04-24 Kim F. Storm + + * ido.el (ido-everywhere): Save and restore old read-buffer-function + and read-file-name-function values. Don't overwrite existing + non-nil values if ido-mode is enabled without ido-everywhere. + +2005-04-24 Luc Teirlinck + + * files.el (mode-require-final-newline): Minor doc fix. + +2005-04-24 Eli Zaretskii + + * subr.el (syntax-after): Doc fix. + (syntax-class): If argument is nil, return nil. Mask off upper 16 + bits, not 8 bits. + + * files.el (mode-require-final-newline): Doc fix. + (backup-buffer-copy): Fix last change. + +2005-04-24 YAMAMOTO Mitsuharu + + * term/mac-win.el: Require select. Set selection-coding-system to + mac-system-coding-system. Call menu-bar-enable-clipboard. + (x-last-selected-text-clipboard, x-last-selected-text-primary) + (x-select-enable-clipboard): New variables. + (x-select-text, x-get-selection, x-selection-value) + (x-get-selection-value, mac-select-convert-to-string) + (mac-services-open-file, mac-services-open-selection) + (mac-services-insert-text): New functions. + (CLIPBOARD, FIND): Put mac-scrap-name property. + (com.apple.traditional-mac-plain-text, public.utf16-plain-text) + (public.tiff): Put mac-ostype property. + (selection-converter-alist): Add entries for them. + (mac-application-menu-map): New keymap. + (interprogram-cut-function, interprogram-paste-function): Set to + x-select-text and x-get-selection-value, respectively. + (split-window-keep-point): Set to t. + +2005-04-23 Richard M. Stallman + + * files.el (read-directory-name): Always pass non-nil + DEFAULT-FILENAME arg to read-file-name. + (backup-buffer-copy, basic-save-buffer-2): Take care against + writing thru an unexpected existing symlink. + (revert-buffer): In indirect buffer, revert the base buffer. + (magic-mode-alist): Doc fix. + (buffer-stale-function): Doc fix. + (minibuffer-with-setup-hook): Avoid warning. + (mode-require-final-newline): Doc and custom fix. + + * follow.el (follow-end-of-buffer): Use with-no-warnings. + + * font-lock.el (font-lock-comment-face): On terminals with few colors, + use the default appearance. + (font-lock-comment-delimiter-face): New face, new variable. + + * imenu.el (imenu--generic-function): The official position of a + definition is the start of the line that BEG is in. + + * midnight.el (midnight-timer): Move defvar up. + + * mouse.el (mouse-drag-region-1): Delete some debugging code. + + * saveplace.el (save-place-to-alist): Use with-no-warnings. + + * startup.el (command-line): Use with-no-warnings. + + * window.el (window-size-fixed): New defvar. + + * emacs-lisp/easymenu.el (easy-menu-do-define): Use defalias, not fset. + + * mail/rmail.el (rmail-font-lock-keywords): + Use font-lock-comment-delimiter-face. + + * mail/sendmail.el (mail-font-lock-keywords): + Use font-lock-comment-delimiter-face. + + * progmodes/compile.el (next-error-highlight-timer): New defvar. + +2005-04-23 SAITO Takuya (tiny change) + + * progmodes/compile.el (compilation-mode-font-lock-keywords): + Specify t for LAXMATCH when matching directories. + Save match data around compilation-compat-error-properties form. + +2005-04-23 David Kastrup + + * textmodes/tex-mode.el (TeX-mode, plain-TeX-mode, LaTeX-mode): + Mention that the autoloaded aliases should be kept for AUCTeX. + +2005-04-23 Andreas Schwab + + * isearch.el (isearch-forward): Doc fix. + +2005-04-23 Eli Zaretskii + + * jit-lock.el (jit-lock-stealth-time): Change default value to 16. + (jit-lock-stealth-nice): Change default value to 0.5. + +2005-04-23 Eric Hanchrow (tiny change) + + * abbrev.el (write-abbrev-file): Write table entries in + alphabetical order by table name. + +2005-04-22 Kim F. Storm + + * ido.el (ido-read-internal): Fix `list' completion. + +2005-04-22 Kenichi Handa + + * recentf.el (recentf-save-file-coding-system): New variable. + (recentf-save-list): Encode the file by + recentf-save-file-coding-system and add coding: tag. + +2005-04-22 Nick Roberts + + * emacs-lisp/byte-run.el (define-obsolete-variable-alias): New macro. + +2005-04-21 Lute Kamstra + + * loadhist.el (unload-feature): Don't remove a function from hooks + if it is about to be restored to an autoload . Remove functions + that will become unbound from auto-mode-alist. Simplify the code. + + * subr.el (assq-delete-all): New implementation that is linear, + not quadratic. Suggested by David Kastrup . + (rassq-delete-all): New function. + + * menu-bar.el (menu-bar-options-save, menu-bar-showhide-menu): + Add size-indication-mode. + +2005-04-21 Kenichi Handa + + * international/mule-cmds.el: Add autoload for widget-value in + eval-when-compile. + +2005-04-21 Nick Roberts + + * menu-bar.el (menu-bar-options-save, menu-bar-showhide-menu): + Add tooltip-mode. + + * bindings.el (mode-line-mode-menu): Remove tooltip-mode. + +2005-04-20 Luc Teirlinck + + * progmodes/inf-lisp.el (inferior-lisp): New defgroup. + (inferior-lisp-filter-regexp, inferior-lisp-program) + (inferior-lisp-load-command, inferior-lisp-prompt) + (inferior-lisp-mode-hook, lisp-source-modes) + (inferior-lisp-load-hook): defvar->defcustom. + (inferior-lisp-program, inferior-lisp-prompt) + (inferior-lisp-load-hook): Doc fixes. + (inferior-lisp-install-letter-bindings): Small change in + introductory comment. + +2005-04-20 Dan Nicolaescu + + * vc.el (vc-annotate-color-map): Change some colors so that text + using them as foreground is readable on both white and black + backgrounds. + +2005-04-20 Stefan Monnier + + * international/mule-conf.el (translation-table-for-input): + Remove redundant declaration. + +2005-04-20 Nick Roberts + + * progmodes/gud.el (gud-menu-map): Add tooltip-toggle-gud-tips. + + * tooltip.el (tooltip-gud-tips-p): Expand documentation. + (tooltip-toggle-gud-tips): New function. + +2005-04-20 YAMAMOTO Mitsuharu + + * term/mac-win.el (mac-symbol-encoder): Fix mappings of left and + right angle brackets. + +2005-04-20 Nick Roberts + + * tooltip.el (tooltip-use-echo-area): Replace as alias and deprecate. + +2005-04-19 Stefan Monnier + + * progmodes/flymake.el (flymake-get-absolute-file-name-basedir): + Remove. Update callers to use expand-file-name instead. + + * subr.el (syntax-class): New function. + + * simple.el (blink-matching-open): Use it. + + * paren.el (show-paren-function): Use it to recognize parens that are + also used in 2-char comment markers. + +2005-04-19 Lute Kamstra + + * loadhist.el (unload-feature): Update for new format of + load-history. Simplify the code. + +2005-04-19 YAMAMOTO Mitsuharu + + * term/mac-win.el: Add coding: tag and set it to iso-2022-7bit. + (mac-add-charset-info): New function. Initialize variable + mac-charset-info-alist using it. + (mac-centraleurroman, mac-cyrillic): Do not use UCS in table data + for translation. + (mac-symbol-encoder, mac-dingbats-encoder): New translation table. + (mac-font-encoder-list): Add entries for mac-symbol and mac-dingbats. + (ccl-encode-mac-symbol-font, ccl-encode-mac-dingbats-font): + New CCL programs. + +2005-04-19 Kim F. Storm + + * simple.el (next-buffer, prev-buffer, next-error) + (scroll-other-window, keyboard-quit, keyboard-escape-quit) + (clone-indirect-buffer-other-window): Move bindings to bindings.el. + + * bindings.el (next-buffer, prev-buffer, next-error) + (scroll-other-window, keyboard-quit, keyboard-escape-quit) + (clone-indirect-buffer-other-window): Move bindings from simple.el. + (next-buffer, prev-buffer): Add C-x C-right and C-x C-left bindings. + (next-error, previous-error): Add M-g M-n/n and M-g M-p/p bindings. + +2005-04-18 Stefan Monnier + + * isearch.el (isearch-edit-string): Make the search-ring available for + minibuffer history commands. + (minibuffer-local-isearch-map): Remove bindings for M-p and M-n, + the default history commands now work just as well. + (isearch-ring-retreat-edit, isearch-ring-advance-edit): Remove. + +2005-04-18 Kim F. Storm + + * emulation/cua-base.el (cua--pre-command-handler): Add more + elaborate check for shift modifier on non-window systems. + +2005-04-18 Lars Hansen + + * desktop.el: Make "--no-desktop" turn off `desktop-save-mode'. + +2005-04-18 Kim F. Storm + + * tooltip.el (tooltip-show): Change second arg to USE-ECHO-AREA + and make it optional. Don't test tooltip-gud-echo-area here. + (tooltip-gud-process-output, gdb-tooltip-print): + Pass tooltip-gud-echo-area to tooltip-show. + (tooltip-help-tips): Remove second optional arg to tooltip-show. + +2005-04-18 YAMAMOTO Mitsuharu + + * tooltip.el (tooltip-mode): `emacs-quick-startup' and + `display-graphic-p' may not be bound yet. + +2005-04-17 Luc Teirlinck + + * startup.el (command-line): No longer enable Xterm Mouse mode by + default in terminals compatible with xterm. + + * xt-mouse.el (xterm-mouse-mode): Set init value back to nil. + +2005-04-18 Nick Roberts + + * tooltip.el (tooltip-gud-echo-area): Rename from + tooltip-use-echo-area. + (tooltip-show, tooltip-gud-process-output, gdb-tooltip-print) + (tooltip-help-tips): Allow GUD tooltips to be displayed in echo + area independently of where help tooltips are displayed. + +2005-04-17 David Kastrup + + * cus-theme.el (custom-theme-write-variables): Quote variables + where necessary. + +2005-04-17 Richard M. Stallman + + * simple.el (yank-excluded-properties): Add follow-link to value. + + * jka-compr.el (jka-compr-compression-info-list): Fix custom type. + + * startup.el (fancy-splash-max-time): Just 30 seconds. + (fancy-splash-delay): Just 7. + (fancy-splash-screens): No time limit other than fancy-splash-max-time. + + * loadhist.el (unload-feature): Update for new format of load-history. + Simplify the code. + + * mail/rmail.el (rmail-ignored-headers): Ignore more headers + (rmail-font-lock-keywords): Don't fontify the text of a citation. + + * mail/sendmail.el (mail-font-lock-keywords): + Don't fontify subject text. + Don't fontify the text of a citation. + +2005-04-17 Mark H. Weaver (tiny change) + + * comint.el (comint-output-filter): Run comint-output-filter-functions + with point where the user had it. + +2005-04-16 Stefan Monnier + + * international/ucs-tables.el (ucs-set-table-for-input): + Disable when using unify-on-decoding. + +2005-04-16 Dan Nicolaescu + + * emulation/cua-base.el (cua-global-mark-face): Add special case + for displays supporting a high number of colors. + +2005-04-16 Matt Hodges (tiny change) + + * repeat.el (repeat): Invoke pre-command-hook and post-command-hook. + +2005-04-16 Chong Yidong + + * filesets.el (filesets-add-buffer): If user supplies a name of a + non-existing fileset, create a new fileset. + +2005-04-16 Carsten Dominik + + * textmodes/org.el (org-up-heading-all): Fix bug with + `outline-up-heading-all'. + +2005-04-16 Andreas Schwab + + * files.el (auto-mode-alist): Handle /etc/sysconfig/*, + /etc/permissions.d/* and /etc/aliases.d/*. + +2005-04-16 Kenichi Handa + + * international/code-pages.el (cp-make-coding-system): + Set `translation-table-for-input' property value to the symbol + ucs-mule-to-mule-unicode, not to that value. + (pt154): Escape guillemet by `\'. + +2005-04-15 Luc Teirlinck + + * loadup.el: Load tooltip if x-show-tip is fboundp. + + * startup.el (command-line): Add comment. + + * tooltip.el (tooltip-mode): Specify correct standard value for + Custom in init-value. + +2005-04-15 Nick Roberts + + * progmodes/gud.el (gud-goto-info): Use existing Info buffer, if + possible. + +2005-04-15 Carsten Dominik + + * textmodes/org.el (org-agenda-date-prompt): Rename from + `org-agenda-date-today'. + (org-evaluate-time-range): Insert at point instead of directly + after time range. + (org-first-headline-recenter, org-subtree-end-visible-p) + (org-optimize-window-after-visibility-change): New functions + (org-agenda-post-command-hook): Don't allow point at end of line, + to make sure it always hits the text properties. + (org-agenda-next-date-line, org-agenda-previous-date-line): + New commands. + (org-set-regexps-and-options): Category may contain white space. + (org-agenda-get-deadlines, org-agenda-get-scheduled): + Improve marker positions. + (org-agenda-new-marker): Argument POS made optional. + (org-agenda-get-timestamps): Deadlines which are done are listed + in org-done-face now. + (org-agenda-get-todos, org-agenda-get-timestamps) + (org-agenda-get-deadlines, org-agenda-get-scheduled): + Set `undone-face' and `done-face' properties. + (org-last-todo-state-is-todo): New variable. + (org-todo): Set `org-last-todo-state-is-todo'. + (org-agenda-todo): Change face according to + `org-last-todo-state-is-todo'. And change other lines referring to + the same entry. + (org-calendar-goto-agenda): New command. + (org-calendar-to-agenda-key): New option. + (org-startup-folded): New allowed value `content'. + (org-set-regexps-and-options): Accept new value `content' for + `org-startup-folded'. + (org-get-current-options): Handle new value `content' for + `org-startup-folded'. + (org-insert-todo-heading): New command. + (org-mode): Insert first line "*-* mode: org-mode -*-" when called + interactively in empty file and option + `org-insert-mode-line-in-empty-file' has been set. + (org-agenda-todo, org-agenda-priority): Modify to use + `org-agenda-change-all-lines'. + (org-warning-face): Change color on dark background. + +2005-04-14 YAMAMOTO Mitsuharu + + * international/mule-cmds.el (set-locale-environment): On Mac OS, + use preferences AppleLocale and AppleLanguages, and variable + mac-system-locale for default locale. On Mac OS Classic, use + mac-system-coding-system for default coding systems. + + * term/mac-win.el: Don't set file-name-coding-system. + Decode variables system-name, emacs-build-system, user-login-name, and + user-full-name by mac-system-coding-system on Mac OS Classic. + (mac-system-coding-system): New variable. + +2005-04-13 Luc Teirlinck + + * startup.el (command-line): Handle `xterm-mouse-mode' before + reading init file. + + * xt-mouse.el (xterm-mouse-mode): Adapt to above change. + +2005-04-13 Glenn Morris + + * progmodes/sh-script.el (sh-here-document-word): Make it a + defcustom. Doc fix. + (sh-add): Bash uses $(( )) for arithmetic. + (sh-while-getopts) : Set OPTIND back to 1 at end. + (sh-maybe-here-document): Remove quotes and leading whitespace + from heredoc word when closing. Indent heredoc with tabs if word + starts with "-". + +2005-04-13 Richard M. Stallman + + * simple.el (undo): Fix previous change. + + * custom.el (defface): Doc fix. + +2005-04-13 Lute Kamstra + + * Makefile.in (DONTCOMPILE): Remove list. + (compile, compile-always): Don't use DONTCOMPILE. + (update-authors): Load the library in which batch-update-authors + is defined. + * makefile.w32-in (DONTCOMPILE): Remove list. + (compile, compile-always): Fix comments. + (update-authors): Load the library in which batch-update-authors + is defined. + + * generic-x.el (generic-mode-ini-file-find-file-hook): + Rename to ini-generic-mode-find-file-hook. + Keep generic-mode-ini-file-find-file-hook as an alias. + (ini-generic-mode-find-file-hook): Rename from + generic-mode-ini-file-find-file-hook. Fix docstring. + (ini-generic-mode): Docstring change. + (bat-generic-mode-run-as-comint): Silence the byte compiler. + + * help.el (describe-key-briefly): UNTRANSLATED can be nil when + called from lisp. + + * generic.el: Move to the emacs-lisp subdir. + +2005-04-12 Dan Nicolaescu + + * term/xterm.el (function-key-map): Add mappings for A-, C-, S- + and C-S- function and cursor motion keys. + +2005-04-12 Luc Teirlinck + + * startup.el (command-line): Enable Xterm Mouse mode by default. + * xt-mouse.el (xterm-mouse-mode): Provide correct standard value + for Custom. No longer show "Mouse" in mode line when enabled. + Doc fix. + +2005-04-12 Kim F. Storm + + * emulation/cua-base.el (cua-rectangle-face) + (cua-rectangle-noselect-face): Define face attributes here. + + * emulation/cua-rect.el (cua--init-rectangles): Remove face setup. + +2005-04-12 Jan Dj,Ad(Brv + + * startup.el (command-line): Turn off blinking cursor if + cursorBlink in resources is off or false. + +2005-04-12 YAMAMOTO Mitsuharu + + * term/mac-win.el (dnd): Require dnd. + (mac-drag-n-drop): Call dnd-handle-one-url. + (kTextEncodingMacRoman, kTextEncodingISOLatin1) + (kTextEncodingISOLatin2): Remove constants. + (mac-script-code-coding-systems): New constant. + (mac-handle-language-change): New function. + (special-event-map): Bind it to `language-change' event. + (mac-centraleurroman, mac-cyrillic): New coding systems. + (mac-font-encoder-list, ccl-encode-mac-centraleurroman-font) + (ccl-encode-mac-cyrillic-font): Rename mac-centraleurroman-encoder + and mac-cyrillic-encoder to encode-mac-centraleurroman and + encode-mac-cyrillic, respectively. + +2005-04-12 Nick Roberts + + * progmodes/gud.el, progmodes/gdb-ui.el (gdb-assembler-mode): + Don't set overlay-arrow-string to "=>" as this is done + globally in C now. + +2005-04-12 Lute Kamstra + + * generic-x.el (rc-generic-mode, rul-generic-mode): + Fix auto-mode-alist entries. + (etc-fstab-generic-mode): Tweak fontification. + + * generic.el (generic-make-keywords-list): Fix docstring. + (generic-mode-internal): Simplify generic-font-lock-keywords. + +2005-04-11 Rajesh Vaidheeswarran + + * whitespace.el (whitespace-buffer-leading) + (whitespace-buffer-trailing): Revert the incorrect test inversion. + However, fix the highlight area for the leading and + trailing whitespaces to show space. + +2005-04-11 Rajesh Vaidheeswarran + + * whitespace.el (whitespace-version): Bump to 3.5. + + (whitespace-buffer-leading, whitespace-buffer-trailing): + Invert sense of the test to highlight the whitespace. + +2005-04-12 Nick Roberts + + * progmodes/gud.el (gud-display-line): GUD uses its own + overlay arrow now so don't set overlay-arrow-string. + (gud-pdb-command-name): Revert back to "pdb" (2004-04-26). + +2005-04-11 Dan Nicolaescu + + * term.el (term-ansi-current-bold, term-ansi-current-underline) + (term-ansi-current-reverse, term-ansi-current-invisible) + (term-ansi-face-already-done): Change to boolean. + (term-reset-terminal, term-handle-colors-array): Handle the above + vars accordingly. + (term-buffer-vertical-motion): Rename from buffer-vertical-motion. + (term-emulate-terminal): Use the new name. + + * faces.el (secondary-selection): Use yellow1, not yellow. + (trailing-whitespace): Use red1, not red. + +2005-04-11 Jan Dj,Ad(Brv + + * dired.el (dired-mode): Use dnd-* instead of x-dnd-* + (dired-dnd-handle-local-file): Call dnd-get-local-file-name. + (dired-dnd-handle-file): Call dnd-get-local-file-uri. + + * cus-edit.el (dnd): New group. + + * term/w32-win.el (dnd): Require dnd + (w32-drag-n-drop): Call dnd-handle-one-url. + + * x-dnd.el: Require dnd. + (x-dnd-handle-uri-list, x-dnd-handle-file-name): + Call dnd-handle-one-url. + (x-dnd-types-alist, x-dnd-insert-utf8-text) + (x-dnd-insert-utf16-text, x-dnd-insert-ctext): Change x-dnd-insert-text + to dnd-insert-text. + (x-dnd-protocol-alist, x-dnd-open-file-other-window) + (x-dnd-handle-one-url, x-dnd-get-local-file-uri) + (x-dnd-get-local-file-name, x-dnd-open-local-file) + (x-dnd-open-file, x-dnd-insert-text): Move to dnd.el (without x-). + + * dnd.el (dnd-protocol-alist): New file with generic DND functions. + +2005-04-11 JUAN-LEON Lahoz Garcia + + * wdired.el: Doc fixes. + (wdired-confirm-overwrite): Rename from wdired-is-ok-overwrite. + (wdired-use-dired-vertical-movement): Rename from + wdired-always-move-to-filename-beginning. + (wdired-mode-map): Use `ignore' instead of `wdired-newline'. + (wdired-change-to-wdired-mode): Change mode name. + (wdired-newline): Delete. + +2005-04-11 Richard M. Stallman + + * whitespace.el (whitespace-highlight-the-space): + Don't call whitespace-unhighlight-the-space here. + + * simple.el (undo): Record t in undo-equiv-table + for the redo record made by an undo-in-region. + +2005-04-12 Nick Roberts + + * progmodes/gdb-ui.el (gdb-display-inferior-io-buffer) + (gdb-frame-inferior-io-buffer): New Functions to control + display of separate IO buffer. + (menu): Add them to menu-bar. + (gdb-display-buffer): Check for buffer another frame. + Protect GUD buffer. + (gdb-setup-windows): Create IO buffer if not already there. + (gdb-memory-mode): Remove purecopy noops. + +2005-04-11 Glenn Morris + + * progmodes/f90.el (f90-electric-insert): Add optional prefix arg, + and pass to self-insert-command. + +2005-04-11 Lute Kamstra + + * generic.el: Commentary section cleanup. + (generic): Delete. + (generic-use-find-file-hook, generic-lines-to-scan) + (generic-find-file-regexp, generic-ignore-files-regexp) + (default-generic-mode, generic-mode-find-file-hook) + (generic-mode-ini-file-find-file-hook): Move to generic-x.el. + * generic-x.el (generic-x): Docstring fix. Put it in the data group. + (generic-use-find-file-hook, generic-lines-to-scan) + (generic-find-file-regexp, generic-ignore-files-regexp) + (default-generic-mode, generic-mode-find-file-hook) + (generic-mode-ini-file-find-file-hook): Move from generic.el. + +2005-04-10 Karl Fogel + + * bookmark.el (bookmark-write-file): Catch errors writing file. + This is the same change as saveplace.el at 2005-04-10T23:32:00Z!rms@gnu.org. + +2005-04-10 Richard M. Stallman + + * startup.el (fancy-splash-tail): Update copyright year. + (command-line): Split part of -Q into -D. + (emacs-basic-display): New defvar. + (fancy-splash-text): Correct name of menu item. + + * saveplace.el (save-place-alist-to-file): Catch errors writing file. + + * info.el (Info-fontify-node): Handle fontification of multiple * Menu + lines in one node. + + * comint.el (comint-send-input): New arg ARTIFICIAL. + Callers in this file changed. + + * abbrev.el (define-abbrevs): Read system abbrevs properly. + + * emacs-lisp/map-ynp.el (map-y-or-n-p): Clarify RET/q in help message. + +2005-04-10 Chong Yidong + + * url/url-ldap.el (url-ldap): Add docstring. Fix call to + `ldap-search-internal'. + +2005-04-10 Stefan Monnier + + * files.el (set-auto-mode-1): Use line-end-position. + + * international/latin-1.el: + * international/latin-2.el: + * international/latin-3.el: + * international/latin-4.el: + * international/latin-5.el: + * international/latin-8.el: + * international/latin-9.el: Give punctuation syntax to NBSP. + + * textmodes/bibtex.el (bibtex-autokey-titleword-ignore) + (bibtex-reference-key, bibtex-autokey-demangle-name, bibtex-mode): + Use char-classes to accept non-ascii letters, accepted in some recent + bibtex implementations. + +2005-04-10 Luc Teirlinck + + * custom.el (custom-set-minor-mode): Any non-nil value for the + variable should enable the mode when set through Custom. + +2005-04-10 Stefan Monnier + + * progmodes/vhdl-mode.el (vhdl-mode-map-init): Don't override default + TAB binding so tab-always-indent is obeyed. + (vhdl-minibuffer-local-map): Move initialization into declaration. + (vhdl-mode-abbrev-table-init): Mark the abbrevs as `system'. + (vhdl-run-when-idle, vhdl-create-mode-menu, vhdl-character-to-event) + (vhdl-hooked-abbrev): Avoid test for XEmacs. + (vhdl-current-line): Use line-beginning-position. + (vhdl-doc-variable, vhdl-doc-mode): Call help-setup-xref before + with-output-to-temp-buffer, so the current position can be recorded. + +2005-04-10 Masatake YAMATO + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Add regexp for gcov. + +2005-04-06 Katsumi Yamaoka + + * calendar/time-date.el (time-to-seconds, seconds-to-time) + (days-to-time, time-subtract, time-add): Don't use the #xhhhh + syntax which Emacs 20 doesn't support. + +2005-04-09 Richard M. Stallman + + * help.el (describe-key-briefly, describe-key): + Replace strings as event types with "(any string)". + +2005-04-09 Stefan Monnier + + * arc-mode.el (archive-mode-map): Move initialization into + the declaration. Override *all* bindings of `undo'. + (archive-lemacs): Remove, use (featurep 'xemacs) instead. + +2005-04-09 Jay Belanger + + * calc/calc-units.el (math-standard-units): Redefine Watt hour as W*hr. + +2005-04-09 Dan Nicolaescu + + * term/xterm.el (xterm-rgb-convert-to-16bit): Simplify. + (xterm-register-default-colors): Update color values computation + to match xterm-200. + +2005-04-09 Kenichi Handa + + * international/code-pages.el (iso-latin-7): Fix the map. + +2005-04-08 Luc Teirlinck + + * emacs-lisp/lisp.el (defun-prompt-regexp) + (parens-require-spaces, buffer-end, end-of-defun) + (insert-parentheses): Doc fixes. + +2005-04-08 Kim F. Storm + + * comint.el (comint-highlight-prompt): Fix face spec. + * hi-lock.el (hi-green): Likewise. + +2005-04-08 Dan Nicolaescu + + * cus-edit.el (custom-modified-face): + * comint.el (comint-highlight-input): Fix previous changes. + * term.el (term-handle-ansi-escape): Add a comment. + +2005-04-08 Stefan Monnier + + * whitespace.el (whitespace-highlight-the-space): Put the same overlay + in the buffer and in whitespace-highlighted-space. + (whitespace-unhighlight-the-space): Simplify. + (whitespace-buffer): Simplify. + +2005-04-08 Dan Nicolaescu + + * textmodes/table.el (table-cell-face): Add special case for + displays supporting a high number of colors. + * progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face) + (vhdl-font-lock-reserved-words-face) + (vhdl-speedbar-architecture-face) + (vhdl-speedbar-instantiation-face) + (vhdl-speedbar-architecture-selected-face) + (vhdl-speedbar-instantiation-selected-face): Likewise. + * progmodes/sh-script.el (sh-heredoc-face): Likewise. + * progmodes/idlw-help.el (idlwave-help-link-face): Likewise. + * progmodes/ebrowse.el (ebrowse-tree-mark-face) + (ebrowse-root-class-face, ebrowse-member-attribute-face) + (ebrowse-progress-face): Likewise. + * progmodes/compile.el (compilation-info-face): Likewise. + * progmodes/cc-fonts.el (c-invalid-face): Likewise. + * emacs-lisp/re-builder.el (reb-match-3): Likewise. + * calendar/calendar.el (diary-face): Likewise. + * woman.el (woman-italic-face, woman-bold-face) + (woman-unknown-face): Likewise. + * wid-edit.el (widget-button-pressed-face): Likewise. + * whitespace.el (whitespace-highlight-face): Likewise. + * smerge-mode.el (smerge-mine-face, smerge-base-face): Likewise. + * pcvs-info.el (cvs-marked-face): Likewise. + * info.el (info-xref): Likewise. + * ido.el (ido-subdir-face, ido-indicator-face): Likewise. + * hilit-chg.el (highlight-changes-face) + (highlight-changes-delete-face): Likewise. + * hi-lock.el (hi-yellow, hi-green, hi-blue-b, hi-green-b) + (hi-red-b): Likewise. + * generic-x.el (show-tabs-tab-face, show-tabs-space-face): Likewise. + * font-lock.el (font-lock-keyword-face) + (font-lock-function-name-face, font-lock-warning-face): Likewise. + * cus-edit.el (custom-invalid-face, custom-modified-face) + (custom-set-face, custom-changed-face, custom-variable-tag-face) + (custom-group-tag-face-1, custom-group-tag-face): Likewise. + * comint.el (comint-highlight-prompt): Likewise. + +2005-04-08 Lute Kamstra + + * font-lock.el (font-lock-keywords): Docstring fixes. + +2005-04-08 Kenichi Handa + + * ps-mule.el (ps-mule-show-warning): If the number of unprintable + chars are more than a limit, print " and more..." at the tail. + +2005-04-08 Kim F. Storm + + * emacs-lisp/authors.el (authors-aliases): Update list. + (authors-ignored-files): New list. + (authors-fixed-entries): Fix typo. + (authors-renamed-files-alist): Update list. + (authors-add): Check authors-ignored-files. + +2005-04-08 Carsten Dominik + + * calendar/diary-lib.el (add-to-diary-list): MARKER argument made + optional, to ensure backward compatibility. + +2005-04-08 Stephen Eglen + + * textmodes/flyspell.el (flyspell-large-region): Doc fix. + +2005-04-08 Kim F. Storm + + * buff-menu.el (Buffer-menu-mode-map): Map follow-link to mouse-face. + + * mouse.el (mouse-on-link-p): Doc fix. + +2005-04-07 Luc Teirlinck + + * ielm.el (ielm-prompt-read-only): Doc fix. + + * comint.el (comint-prompt-read-only): Doc fix. + +2005-04-07 Benjamin Rutt + + * ffap.el (ffap-pass-wildcards-to-dired): New user option to + ensure dired always handles wildcards passed to ffap. + (find-file-at-point): Use it. + (ffap-dired-wildcards): Doc fix. + +2005-04-07 Juri Linkov + + * simple.el (next-error-overlay-arrow-position): New defvar. + Put "=>" on its property `overlay-arrow-string'. Add it to + `overlay-arrow-variable-list'. + + * progmodes/compile.el (compilation-setup): + Set `next-error-overlay-arrow-position' to nil. Also set it to + nil in the local hook `kill-buffer-hook'. Make local variable + `overlay-arrow-string' and set it to "=>". + (compilation-goto-locus): Set BOL position to + `next-error-overlay-arrow-position' instead of + `overlay-arrow-position'. + + * info.el (Info-mode): Add `Info-kill-buffer' to `kill-buffer-hook' + locally instead of adding it to the global hook. + (Info-kill-buffer): Move up. + +2005-04-06 Dan Nicolaescu + + * term/xterm.el (xterm-standard-colors): Update color values from + xterm-200. + +2005-04-06 Stefan Monnier + + * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add \bfseries. + + * fast-lock.el: + * lazy-lock.el: Move them to the obsolete subdir. + +2005-04-06 JUAN-LEON Lahoz Garcia + + * wdired.el (wdired-advise-functions, wdired-add-skip-in-replace) + (wdired-add-replace-advice): Remove. + (wdired-change-to-wdired-mode): Use query-replace-skip-read-only. + +2005-04-06 Kim F. Storm + + * startup.el (command-line): Add --bare-bones alias for -Q. + +2005-04-06 YAMAMOTO Mitsuharu + + * term/mac-win.el: Use create-fontset-from-mac-roman-font to + create the startup fontset if a font specification ends with + `mac-roman'. + +2005-04-06 Lute Kamstra + + * add-log.el (change-log-font-lock-keywords): Complete 2005-04-03 + change. + + * emacs-lisp/copyright.el (copyright-update-year): Replace the + right subexpression. Suggested by Jay Bingham . + +2005-04-05 Lute Kamstra + + * generic.el (generic-mode-internal): Fix 2005-03-31 change. + (define-generic-mode): Ditto. Fix debug declaration. + + * generic-x.el (show-tabs-tab-face, show-tabs-space-face): + Put them in the generic-x group. + + * calendar/timeclock.el (timeclock): Doc fix. + + * generic.el (define-generic-mode): Don't use custom-current-group. + Document default :group value. + * emacs-lisp/easy-mmode.el (define-minor-mode): Ditto. + (define-global-minor-mode): Don't use custom-current-group. + +2005-04-05 Glenn Morris + + * startup.el (command-line-1): Display startup-echo-area-message + when fancy splash screen is in use. + + * progmodes/sh-script.el (sh-builtins) : Add `caller'. + (sh-escaped-newline): New face. + (sh-font-lock-keywords) : Improve regexp for escaped + newline, and use sh-escaped-newline face. + + * progmodes/tcl.el (tcl-escaped-newline): New face. + (tcl-builtin-list): New variable. + (tcl-set-font-lock-keywords): Add builtins, variables, and escaped + newlines. Fix keywords subexpression number. + +2005-04-05 Carsten Dominik + + * textmodes/org.el (org-diary-default-entry): Fix call to + `add-to-diary-entry'. + +2005-04-05 Kim F. Storm + + * ediff-init.el: Use (featurep 'xemacs). + +2005-04-05 David Ponce + + * cus-edit.el (face): Derive from symbol widget. Display sample + of the current face on the fly. + (widget-face-sample-face-get, widget-face-notify): New functions. + (widget-face-value-create): Remove. + + * wid-edit.el (widget-field-end): Temporarily remove field + narrowing before to call `get-char-property'. + +2005-04-04 Jay Belanger + + * calc/calc-aent.el (math-read-replacement-list): Add subscripts. + (math-read-subscripts): New variable. + (math-read-preprocess-string): Process subscripts. + +2005-04-04 Luc Teirlinck + + * comint.el (comint-prompt-read-only): Doc fix. + + * dired.el (dired-copy-filename-as-kill): Make `-' arg behave like + `-1'. Doc fix. + +2005-04-04 Carsten Dominik + + * textmodes/org.el (org-insert-mode-line-in-empty-file): + Change default value to nil. + +2005-04-04 Lute Kamstra + + * autorevert.el (auto-revert-mode): Specify :group. + * battery.el (display-battery-mode): Specify :group. + * diff-mode.el (diff-minor-mode): Specify :group. + * font-core.el (font-lock-mode): Specify :group. + * hl-line.el (hl-line-mode): Specify :group. + * iimage.el (iimage): New customization group. + (iimage-mode): Specify :group. + * longlines.el (longlines-mode): Specify :group. + * master.el: Don't require easy-mmode. + (master): New customization group. + (master-mode): Specify :group. + * msb.el (msb-mode): Specify :group. + * reveal.el (reveal-mode): Specify :group. + * simple.el (next-error-follow-minor-mode): Specify :group. + * smerge-mode.el (smerge-mode): Specify :group. + * emacs-lisp/eldoc.el (eldoc-mode): Specify :group. + * emulation/cua-base.el (cua-mode): Specify :group. + * international/encoded-kb.el (encoded-kbd-mode): Specify :group. + * language/thai-util.el (thai-auto-composition-mode) + (thai-word-mode): Specify :group. + * mail/supercite.el (sc-minor-mode): Specify :group. + * progmodes/cwarn.el (cwarn-mode): Specify :group. + * progmodes/flymake.el (flymake-mode): Specify :group. + * progmodes/glasses.el (glasses-mode): Specify :group. + * progmodes/hideif.el (hide-ifdef-mode): Specify :group. + * textmodes/enriched.el (enriched-mode): Specify :group. + * textmodes/refill.el (refill-mode): Specify :group. + + * add-log.el (change-log-font-lock-keywords): Names in + parenthesized lists can contain spaces. + +2005-04-04 Thien-Thi Nguyen + + * startup.el (fancy-splash-text): Shorten default text of + "Emacs Tutorial" line. Also, if the current language env + indicates an available tutorial file other than TUTORIAL, + extract its title and append it to the line in parentheses. + (fancy-splash-insert): If arg is a thunk, funcall it. + +2005-04-04 Jay Belanger + + * calc.el (calc-language-alist): Add tags to customization type. + +2005-04-03 Luc Teirlinck + + * xt-mouse.el (xterm-mouse-mode): Add explicit Custom group, mouse. + Doc fix. + +2005-04-03 Marcelo Toledo + + * add-log.el (change-log-font-lock-keywords): The manual + describing a Change Log entry, says: (...) "Aside from these + header lines, every line in the change log starts with a space or + a tab.". The font-lock was not highlighting lines started with + spaces, added support for it. + +2005-04-03 Roland Winkler + + * textmodes/bibtex.el (bibtex-url): Use format to generate the url. + (bibtex-generate-url-list): Update docstring accordingly. Put the + complex example in the docstring. + (bibtex-font-lock-url): Use pop. + +2005-04-03 Stefan Monnier + + * progmodes/tcl.el (tcl-set-font-lock-keywords): Use new \_< ops. + + * pcvs.el (cvs-checkout): Prompt for cvsroot as well. + +2005-04-03 Glenn Morris + + * filesets.el (filesets-set-default): Doc fix. + +2005-04-03 Lute Kamstra + + * generic.el (define-generic-mode): Add argument to specify + keywords for defcustom. + (default-generic-mode): Specify :group. + + * generic-x.el: Specify :group for all generic modes. + + * desktop.el (desktop-no-desktop-file-hook) + (desktop-after-read-hook): Doc fix. + +2005-04-02 Luc Teirlinck + + * simple.el (visible-mode): Use explicit :group keyword. + This changes the group of `visible-mode-hook' from paren-blinking + to editing-basics. + +2005-04-02 Sergey Poznyakoff (tiny change) + + * mail/rmail.el (rmail-parse-url): Bugfix. Parse traditional + mailbox specifications as well as URLs. + (rmail-insert-inbox-text): Remove unused conditional branches. + +2005-04-01 Jay Belanger + + * calc/calc-graph.el (calc-gnuplot-name, calc-gnuplot-plot-command) + (calc-gnuplot-print-command): Move definitions to calc.el. + + * calc/calc-embed.el (calc-embedded-announce-formula) + (calc-embedded-open-formula, calc-embedded-close-formula) + (calc-embedded-open-word, calc-embedded-close-word) + (calc-embedded-open-plain, calc-embedded-close-plain) + (calc-embedded-open-new-formula, calc-embedded-close-new-formula) + (calc-embedded-open-mode, calc-embedded-close-mode): + Move definitions to calc.el. + + * calc/calc.el (calc-settings-file, calc-language-alist): + Make customizable. + (calc-embedded-announce-formula, calc-embedded-open-formula) + (calc-embedded-close-formula, calc-embedded-open-word) + (calc-embedded-close-word, calc-embedded-open-plain) + (calc-embedded-close-plain, calc-embedded-open-new-formula) + (calc-embedded-close-new-formula, calc-embedded-open-mode) + (calc-embedded-close-mode, calc-gnuplot-name) + (calc-gnuplot-plot-command, calc-gnuplot-print-command): Move here + from other files and make customizable. + +2005-04-01 Stefan Monnier + + * pcvs.el (cvs-temp-buffer, cvs-mode-kill-process, cvs-buffer-check): + Use buffer-live-p. + (cvs-mode-run): Don't call cvs-update-header here. + (cvs-run-process): Call cvs-update-header. + Use process properties for cvs-postprocess and cvs-buffer so that + the sentinel can behave better if the temp buffer is killed. + Use a pipe rather than a tty, to better handle unexpected prompts. + (cvs-sentinel): Rewrite. Call cvs-update-header. + +2005-04-01 Andre Spiegel + + * vc-hooks.el (vc-workfile-unchanged-p): Disable mtime check when + we go via Tramp or Ange-FTP. Suggested by Kai Grossjohann. + +2005-03-31 Stefan Monnier + + * generic.el (define-generic-mode): Add indentation rule. + +2005-03-31 Luc Teirlinck + + * files.el (mode-require-final-newline): Make Custom correctly + report a nil value and allow to set it to nil via Custom. + Doc fix. + +2005-04-01 Kenichi Handa + + * international/characters.el: Enable the correct case setting for + dotless-i and dotted-I. + +2005-04-01 Kim F. Storm + + * ido.el (ido-file-internal): Fall back to non-ido command if + initial directory is on slow ftp (or tramp) host. + +2005-03-31 Richard M. Stallman + + * emacs-lisp/autoload.el (make-autoload): + Handle define-global-minor-mode. + + * emacs-lisp/easy-mmode.el (define-global-minor-mode): + Rename from easy-mmode-define-global-mode. + (easy-mmode-define-global-mode): Alias for define-global-minor-mode. + + * progmodes/scheme.el (scheme-mode-syntax-table): + Update syntax of | and # for two-character comment syntax. + +2005-03-31 Lute Kamstra + + * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode) + (define-minor-mode): Call custom-current-group at load-time. + + * generic.el (define-generic-mode): Add debug declaration. + Add defcustom for the mode hook. + (generic-mode-internal): Use run-mode-hooks. + +2005-03-31 Kim F. Storm + + * mouse.el (mouse-1-click-follows-link): Increase to 450 ms. + (mouse-fixup-help-message): New defun called by show_help_echo + to fixup mouse-2 prefix in help messages when applicable. + + * tooltip.el (tooltip-show-help-function): Don't fixup message here. + +2005-03-31 Kenichi Handa + + * language/thai-word.el (thai-find-word-ends): Pay attention to + the case that we reach the end of buffer. + + * textmodes/fill.el (fill-text-properties-at): New function. + (fill-newline): Use fill-text-properties-at instead of + text-properties-at. + +2005-03-31 Olive Lin (tiny change) + + * textmodes/tex-mode.el (tex-start-tex): Use shell-quote-argument, + not comint-quote-filename. + +2005-03-31 Thien-Thi Nguyen + + * help-fns.el (help-with-tutorial): Revert last change. + +2005-03-31 Kim F. Storm + + * emulation/cua-base.el (cua-scroll-down): Add CUA property. + +2005-03-30 Paul Eggert + + * calendar/cal-china.el: Update reference to "Calendrical + Calculations" book; there's a new edition. + * calendar/cal-coptic.el: Likewise. + * calendar/cal-french.el: Likewise. + * calendar/cal-hebrew.el: Likewise. + * calendar/cal-islam.el: Likewise. + * calendar/cal-iso.el: Likewise. + * calendar/cal-julian.el: Likewise. + * calendar/cal-mayan.el: Likewise. + * calendar/cal-persia.el: Likewise. + * calendar/calendar.el: Likewise. + * calendar/holidays.el: Likewise. + * calendar/lunar.el: Likewise. + * calendar/solar.el: Likewise. + + * calendar/calendar.el (calendar-day-abbrev-array): Remove trailing + white space from doc string. + +2005-03-30 Jay Belanger + + * calc/calc-help.el (calc-full-help): Remove email address. + +2005-03-30 Thien-Thi Nguyen + + * help-fns.el (help-with-tutorial): Delete title line. + +2005-03-30 Glenn Morris + + * calendar/cal-x.el (calendar-one-frame-setup) + (calendar-only-one-frame-setup, calendar-two-frame-setup): Use t + rather than `symbol' for set-window-dedicated-p. + + * calendar/appt.el (appt-buffer-name): Make it a constant. + (appt-add): Doc fix. + + * filesets.el (filesets-menu-path, filesets-menu-before) + (filesets-menu-in-menu): Doc fix. Now valid in GNU Emacs. + (filesets-menu-cache-file): Use directory ~/.emacs.d. + (filesets-add-submenu): Delete and use add-submenu instead. + +2005-03-30 Carsten Dominik + - * org.el (org-agenda-phases-of-moon, org-agenda-sunrise-sunset) - (org-agenda-convert-date, org-agenda-goto-calendar): New commands. ++ * textmodes/org.el (org-agenda-phases-of-moon) ++ (org-agenda-sunrise-sunset, org-agenda-convert-date) ++ (org-agenda-goto-calendar): New commands. + (org-diary-default-entry): New function. + (org-get-entries-from-diary): Better parsing of diary entries. + (org-agenda-check-no-diary): New function. + ("diary-lib"): Advice to function `add-to-diary-list', to allow + linking to diary entries. + (org-agenda-execute-calendar-command): New function. + (org-agenda): Improve visible section in window. + Use `org-fit-agenda-window'. + (org-fit-agenda-window): New option. + (org-move-subtree-down): Better handling of empty lines + at end of subtree. + (org-cycle): Numeric prefix is interpreted now as show-subtree N + levels up. + (org-fontify-done-headline): New option. + (org-headline-done-face): New face. + (org-set-font-lock-defaults): Use `org-headline-done-face'. + (org-table-copy-down): Rename from `org-table-copy-from-above'. + When current field is non-empty, it is copied to next row. + (org-table-copy-from-above): Fix bug which made it + impossible to copy fields containing only a single non-white character. + +2005-03-30 Kim F. Storm + + * kmacro.el (kmacro-end-macro): Isearch may store this command + into the macro -- so ignore it when executing keyboard macro. + +2005-03-30 Nick Roberts + + * tooltip.el (tooltip-gud-display): Use gud-overlay-arrow-position. + +2005-03-29 Kenichi Handa + + * language/thai.el ("Thai"): Set setup-function and exit-function + for Thai language environment. + + * language/thai-util.el: Require thai-word. + (thai-word-mode-map): New variable. + (thai-word-mode): New minor mode. + (setup-thai-language-environment-internal): New function. + (exit-thai-language-environment-internal): New function. + + * language/thai-word.el (thai-word-table): Declare it by defvar, + use dolist to initialize it. + (thai-kill-word, thai-backward-kill-word, thai-transpose-words) + (thai-fill-find-break-point): New functions. + +2005-03-29 Richard M. Stallman + + * simple.el (idle-update-delay): Move definition up. + (set-mark): Doc fix. + +2005-03-29 Chong Yidong + + * longlines.el: New file. + + * simple.el (buffer-substring-filters): New variable. + (filter-buffer-substring): New function. + (kill-region, copy-region-as-kill): Use it. + + * register.el (copy-to-register, append-to-register) + (prepend-to-register): Use filter-buffer-substring. + +2005-03-30 Nick Roberts + + * progmodes/gud.el (gdb): (Re)-initialize gud-filter-pending-text. + (gud-filter-pending-text): Move in front of gdb. + (gud-overlay-arrow-position): New variable. + (gud-sentinel, gud-display-line): Use it in place of + overlay-arrow-position. + +2005-03-29 Glenn Morris + + * progmodes/fortran.el (fortran-if-indent): Doc fix. + (fortran-font-lock-keywords-2): Add "where", "elsewhere". + (fortran-font-lock-keywords-4): New variable. + (fortran-blocks-re, fortran-end-block-re) + (fortran-start-block-re): New constants, for hideshow. + (hs-special-modes-alist): Add a Fortran entry. + (fortran-mode-map): Bind fortran-end-of-block, + fortran-beginning-of-block to \M-\C-n, \M-\C-p. + (fortran-mode): Doc fix. Add fortran-font-lock-keywords-4. + (fortran-looking-at-if-then, fortran-end-of-block) + (fortran-beginning-of-block): New functions, for hideshow. + + * progmodes/f90.el (f90-end-block-re, f90-start-block-re): + Doc fix. Tweak regexp. + (f90-beginning-of-block): Push mark first. + +2005-03-29 Jay Belanger + + * calc/calc.el: Update copyright date. + (calc-version): Increase to 2.1. + (calc-version-date): Remove. + + * calc/calc-help.el: Update copyright date. + (calc-full-help): Remove reference to calc-version-date. + Update copyright date. + +2005-03-29 Stefan Monnier + + * vc.el (vc-do-command): Use a pipe for async processes, so password + prompts don't show up at places where the user can't reply. + +2005-03-29 Olive Lin (tiny change) + + * textmodes/tex-mode.el (tex-send-command): shell-quote-argument + on the file name we pass to the inferior shell. + +2005-03-29 Stephan Stahl (tiny change) + + * progmodes/which-func.el (which-function): Be robust in the face of an + imenu--make-index-alist failure. + +2005-03-29 Stefan Monnier + + * reveal.el (reveal-mode-map): Don't override C-a and C-e. + + * progmodes/python.el (python-preoutput-filter): Fix last change. + +2005-03-29 Lute Kamstra + + * emacs-lisp/debug.el (debug-on-entry): Handle autoloaded + functions and compiled macros. + (debug-convert-byte-code): Handle macros too. + (debug-on-entry-1): Don't signal an error when trying to clear a + function that is not set to debug on entry. + +2005-03-29 Jay Belanger + + * calc/calc-lang.el: Add functions to math-function-table + properties of tex and math. + +2005-03-29 Kenichi Handa + + * ps-mule.el (ps-mule-plot-string): Translate characters by + ps-print-translation-table. + (ps-mule-begin-job): Call find-charset-region/string with + ps-print-translation-table. + (ps-mule-printable-p): Return t if CHARSET is ascii or latin-iso8859-1. + + * ps-print.el (ps-print-translation-table): New variable. + (ps-plot-region): Translate characters by ps-print-translation-table. + +2005-03-29 Juri Linkov + + * simple.el (next-error-highlight-timer): New variable. + + * progmodes/compile.el (compilation-goto-locus): + Use `next-error-highlight-timer' instead of `sit-for'. + +2005-03-28 Stefan Monnier + + * mail/supercite.el (sc-mail-field): Use assoc-string. + (sc-get-address): Simplify regexps. + + * files.el (minibuffer-with-setup-hook): New macro. + (find-file-read-args): Use it to avoid let-binding + minibuffer-with-setup-hook (which breaks turning on/off + file-name-shadow-mode while in the prompt). + + * complete.el (PC-read-include-file-name-internal): + Use test-completion. + +2005-03-28 Luc Teirlinck + + * font-lock.el: Bind `font-lock-fontify-block' to M-o M-o. + +2005-03-28 Stefan Monnier + + * window.el (window-buffer-height): Use count-screen-lines. + + * progmodes/python.el (python-preoutput-leftover): New var. + (python-preoutput-filter): Use it. + (python-send-receive): Loop until all the result has been received. + +2005-03-28 Juri Linkov + + * dired.el (dired-mode-map): Add ellipsis to "Compare directories". + + * menu-bar.el (menu-bar-file-menu): Remove ellipsis from + "Recover Crashed Session". + (menu-bar-search-menu): Add ellipsis to "Search tagged files". + (menu-bar-replace-menu): Add ellipsis to "Replace in tagged files". + (menu-bar-goto-menu): Add ellipsis to "Set Tags File Name". + (menu-bar-goto-menu): Add ellipsis to "Tags Apropos". + (menu-bar-options-menu): Add ellipsis to "Set Font/Fontset". + (menu-bar-manuals-menu): Add ellipsis to "Find Command in Manual". + (menu-bar-manuals-menu): Add ellipsis to "Find Key in Manual". + (menu-bar-help-menu): Remove ellipsis from "Find Emacs Packages". + + * ediff-hook.el (menu-bar-ediff-misc-menu, ediff-misc-menu): + Remove ellipsis from "Ediff Manual", "Customize Ediff", "List + Ediff Sessions", "Toggle use of separate control buffer frame", + "Use separate frame for Ediff control buffer". + + * bookmark.el (menu-bar-bookmark-map): Add ellipsis to "Jump to + Bookmark", "Set Bookmark", "Insert Contents", "Insert Location", + "Rename Bookmark", "Delete Bookmark". + + * info.el (Info-mode-menu): Remove ellipsis from "Index". + Add ellipsis to "Lookup a String", "Lookup a string in all indices". + Add `:active Info-index-alternatives' to "Next Matching Item". + + * wdired.el (wdired-change-to-wdired-mode): + Mention `wdired-abort-changes' key in the initial message. + + * international/mule.el (auto-coding-alist): Associate non-ascii + image filename extensions with `no-conversion'. + +2005-03-27 Stefan Monnier + + * international/iso-acc.el: + * obsolete/iso-acc.el: Move iso-acc to the obsolete subdir. + +2005-03-26 Luc Teirlinck + + * textmodes/sgml-mode.el (html-mode): Doc update. + + * autorevert.el (auto-revert-check-vc-info): Minor doc fix. + +2005-03-26 Dan Nicolaescu + + * term.el (term-move-columns): Fix face after extending a line. + (term-insert-spaces): Likewise. + (term-reset-terminal): Fix off by one error. + +2005-03-26 Eli Zaretskii + + * international/mule.el (auto-coding-alist): Add .xpi files. + + * files.el (auto-mode-alist): Add .xpi files. + +2005-03-26 Jure Cuhalev (tiny change) + + * textmodes/ispell.el (ispell-dictionary-alist-6): Add slovenian. + +2005-03-26 Eli Zaretskii + + * term/bobcat.el: Don't use keyswap.el, since it is now obsolete. + +2005-03-26 Glenn Morris + + * calendar/cal-menu.el (top level): Delete local C-down-mouse-3 + binding. Suggested by Stephan Stahl . + + * calendar/cal-move.el (calendar-beginning-of-year): Move the + cursor to Jan 1 when needed. + (calendar-end-of-year): Fix -/+ typo. + Reported by Chong Yidong . + +2005-03-26 Stefan Monnier + + * progmodes/flymake.el (flymake-mode): Add autoload cookie. + + * emacs-lisp/debug.el (debugger-record-expression): Add a missing + format to `message'. Inspired by Deepak Goel . + +2005-03-25 Richard M. Stallman + + * filesets.el (filesets-init): Add autoload. + + * mail/mailalias.el (mail-directory): Doc fix. + +2005-03-25 Frederik Fouvry + + * mail/mailalias.el (mail-directory-process): Do nothing if + mail-directory-process is an atom. + (mail-get-names): Ignore mail-directory-names if it is an atom. + (mail-directory-process defvar): Doc fix. + (mail-names): Doc fix. + +2005-03-25 Johan Bockg,Ae(Brd (tiny change) + + * textmodes/flyspell.el (mail-mode-flyspell-verify): Fix regexp syntax. + +2005-03-26 Kenichi Handa + + * international/mule-util.el (detect-coding-with-priority): + Call update-coding-systems-internal before detect-coding-region. + +2005-03-26 Nick Roberts + + * progmodes/gdb-ui.el (gdb-breakpoints-mode-map) + (gdb-frames-mode-map): Add follow-link property. + +2005-03-25 Jay Belanger + + * calc/calcalg2.el (calc-solve-for): Use "Variable(s)" to prompt + for variables. + +2005-03-25 Juri Linkov + + * image-mode.el: Optimize image filename extension regexps in + autoload cookies. Associate .x[bp]m with `image-mode-maybe' + in `auto-mode-alist'. + (image-mode): Add `image-toggle-display-text' to local hook + `change-major-mode-hook'. Display the image as an image by + default. Set `cursor-type' and `truncate-lines' if the image + is already displayed. Take into account the current mode (image + or text) in message. + (image-minor-mode): New minor mode. + (image-mode-maybe, image-toggle-display-text): New functions. + (image-toggle-display): Use called-interactively-p. + Let-bind `inhibit-read-only' to t. + + * image-mode.el (image-minor-mode): Set `cursor-type' and + `truncate-lines' if the image is already displayed. Add turning + image-minor-mode off to `change-major-mode-hook'. Add message. + Call `image-toggle-display-text' after turning image-minor-mode off. + +2005-03-25 Stefan Monnier + + * international/mule-cmds.el (set-locale-environment): For Mac OS X's + Terminal.app, use utf-8. + (set-display-table-and-terminal-coding-system): Add coding-system arg. + (set-locale-environment): Use it. + + * term/xterm.el: Undo last change, better done in mule-cmds.el. + + * emacs-lisp/rx.el (rx-constituents): Add symbol-start and symbol-end. + + * progmodes/python.el (python-close-block-statement-p) + (python-outdent-p, python-current-defun): Use symbol-end. + +2005-03-25 Karl Chen + + * files.el (save-some-buffers): Doc fix. + +2005-03-25 Werner Lemberg + + * complete.el, thumbs.el: Replace `legal' with `valid'. + * calendar/calendar.el: Replace `legal' with `valid'. + * emacs-lisp/advice.el: Replace `legal' with `valid'. + * mail/supercite.el: Replace `legal' with `valid'. + * progmodes/cperl-mode.el, progmodes/idlw-shell.el + * progmodes/idlwave.el, progmodes/vhdl-mode.el: + Replace `legal' with `valid'. + * textmodes/reftex-vars.el, textmodes/reftex.el: + Replace `legal' with `valid'. + +2005-03-25 Werner Lemberg + + * calc/calc-forms.el, calc/calc-sel.el + * midnight.el, vc-cvs.el + * emacs-lisp/cl-macs.el + * emulation/vip.el + * eshell/esh-io.el, eshell/esh-var.el + * mail/supercite.el + * progmodes/ebnf-abn.el, progmodes/ebnf-bnf.el + * progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-iso.el + * progmodes/ebnf-yac.el, progmodes/ebnf2ps.el, progmodes/idlwave.el + * progmodes/sh-script.el, progmodes/xscheme.el + * textmodes/refbib.el, textmodes/refer.el, textmodes/reftex-cite.el + * textmodes/reftex-index.el, textmodes/reftex-parse.el + * textmodes/reftex-ref.el, textmodes/reftex-vars.el + * textmodes/reftex.el, textmodes/org.el: + Replace `illegal' with `invalid'. + +2005-03-24 Stefan Monnier + + * progmodes/flymake.el (flymake-get-file-name-mode-and-masks) + (flymake-find-buildfile, flymake-find-possible-master-files) + (flymake-check-include, flymake-parse-line): Replace loops over the + length of lists, by loops over lists, to remove silly O(n,A2(B) behavior. + + * progmodes/flymake.el (flymake-ensure-ends-with-slash): Remove. + Substitute file-name-as-directory in the rest of the file. + (flymake-get-common-file-prefix): Rewrite, using compare-strings. + (flymake-replace-region): Remove unused arg `buffer'. + (flymake-check-patch-master-file-buffer): Update calls to it. + (flymake-add-err-info): Remove unused var `count'. + (flymake-mode): Use define-minor-mode. + + * progmodes/flymake.el: Use with-current-buffer. + (flymake-float-time, flymake-get-temp-dir, flymake-line-end-position) + flymake-replace-regexp-in-string, flymake-line-beginning-position) + (flymake-popup-menu, flymake-current-row, flymake-selected-frame): + Avoid testing for `xemacs'. + (flymake-nop): Move. + (flymake-region-has-flymake-overlays): Return the computed value. + (flymake-reformat-err-line-patterns-from-compile-el): Use dolist. + Remove unused var `endline'. + (flymake-get-line-count): Remove unused function. + (flymake-display-err-menu-for-current-line): Unused var move-mouse-pos. + + * emulation/vi.el: + * generic.el: + * hilit-chg.el (global-highlight-changes): + * hi-lock.el (hi-lock-mode): + * follow.el: find-file-hooks -> find-file-hook. + + * comint.el (comint-insert-input): Obey mouse-yank-at-point. + +2005-03-24 Juri Linkov + + * dired.el (dired-mode-map): Add menu item "Compare directories" + for dired-compare-directories. + + * dired-aux.el (dired-compare-directories): Add autoload cookie. + Doc fix. Replace `read-file-name' with `read-directory-name'. + +2005-03-24 Stefan Monnier + + * term/xterm.el: If running in Terminal.app set coding-system to utf-8. + +2005-03-24 Jay Belanger + + * calc/calc-embed.el (calc-embedded-mode-change): Save all + relevant mode settings in calc-embedded-original-modes when modes + are permanently changed. + +2005-03-24 Stefan Monnier + + * autoinsert.el: find-file-hooks -> find-file-hook. + +2005-03-24 Lute Kamstra + + * generic.el (generic-font-lock-defaults): Make it obsolete. + (generic-font-lock-keywords): New variable to replace + generic-font-lock-defaults. + (generic-mode-set-font-lock): Delete it. + (generic-mode-internal): Don't call generic-mode-set-font-lock. + (generic-bracket-support): Add docstring. + + * generic-x.el: Rename generic-font-lock-defaults to + generic-font-lock-keywords throughout. + (mailagent-rules-setup-function): Delete it. + (mailagent-rules-generic-mode): Use anonymous function instead. + (show-tabs-generic-mode-font-lock-defaults-1) + (show-tabs-generic-mode-font-lock-defaults-2): Make them constants. + Quote faces. + (show-tabs-tab-face, show-tabs-space-face): Specify background, + not foreground. + + * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): + Recognize define-generic-mode. + +2005-03-23 Stefan Monnier + + * icomplete.el (icomplete-simple-completing-p): Don't turn on icomplete + if there's no completion table. + +2005-03-23 Miles Bader + + * progmodes/gdb-ui.el (breakpoint-enabled, breakpoint-disabled): + Remove tty-specific variants, as they're no longer needed. + +2005-03-23 Lute Kamstra + + * generic-x.el: Code cleanup: make args constant whenever possible. + (installshield-statement-keyword-list) + (installshield-system-functions-list) + (installshield-system-variables-list, installshield-types-list) + (installshield-funarg-constants-list): Make them constants. + + * generic.el (generic-make-keywords-list): Add autoload cookie. + + * calendar/time-date.el: Add comment on time value formats. + Don't require parse-time. + (with-decoded-time-value): New macro. + (encode-time-value): New function. + (time-to-seconds, time-less-p, time-subtract, time-add): Use them. + (days-to-time): Return a valid time value when arg is huge. + (time-since): Use time-subtract. + (time-to-number-of-days): Use time-to-seconds. + +2005-03-23 David Ponce + + * recentf.el (recentf-keep): New option. + (recentf-menu-action): Default to `find-file'. + (recentf-keep-non-readable-files-flag) + (recentf-keep-non-readable-files-p) + (recentf-file-readable-p, recentf-find-file) + (recentf-cleanup-remote): Remove. + (recentf-include-p): More robust. + (recentf-keep-p): New function. + (recentf-remove-if-non-kept): Rename from + `recentf-remove-if-non-readable'. Use `recentf-keep-p'. + All callers updated. + (recentf-menu-items-for-commands): Fix help string. + (recentf-track-closed-file): Update. Doc fix. + (recentf-cleanup): Update. Count removed files. Doc fix. + +2005-03-23 Kim F. Storm + + * progmodes/gdb-ui.el (breakpoint-enabled, breakpoint-disabled): + Don't inherit from fringe face (now happens automatically). + +2005-03-22 Kim F. Storm + + * tooltip.el (tooltip-show-help-function): Ignore negative mouse + position values. + +2005-03-22 Stefan Monnier + + * menu-bar.el (showhide-date-time): Remove. + (menu-bar-showhide-menu): Use menu-bar-make-mm-toggle. + (menu-bar-make-mm-toggle): Simplify. + +2005-03-22 JUAN-LEON Lahoz Garcia + + * progmodes/perl-mode.el (perl-font-lock-keywords-2): + Accept qualified variable and function names. + +2005-03-22 Thien-Thi Nguyen + + * bindings.el (completion-ignored-extensions): + Remove ".lis" for `vax-vms'. + +2005-03-22 Andreas Schwab + + * generic-x.el: Revert last change. + * ldefs-boot.el: Update. + +2005-03-22 Jay Belanger + + * calc/calc-embed.el (calc-embedded-original-modes): New variable. + (calc-embedded-save-original-modes) + (calc-embedded-restore-original-modes): New functions. + (calc-do-embedded): Save original modes when entering embedded mode + and restore when leaving embedded mode. + (calc-embedded-modes-change): Change the value of + calc-embedded-original-modes to reflect permanent changes. + +2005-03-22 Lute Kamstra + + * generic-x.el: Require generic again. + +2005-03-22 Miles Bader + + * progmodes/gdb-ui.el (breakpoint-enabled, breakpoint-disabled): + Tweak details to look good on both ttys and bitmap displays, light + or dark background, etc. + +2005-03-21 Kim F. Storm + + * tooltip.el (tooltip-show-help-function): Check car and cdr of + mouse position. + +2005-03-21 Stefan Monnier + + * icomplete.el: Don't forcibly turn on the mode upon load. + (icomplete-mode): Use define-minor-mode. + (icomplete-eoinput): Default to nil. + (icomplete-minibuffer-setup): Remove autoload. + (icomplete-tidy): Simplify. + (icomplete-exhibit): Use buffer-undo-list to determine if we're still + in the initial state or if the user has modified the field. + Fix handling of icomplete-max-delay-chars. + Remove code that handles the oddball case where + minibuffer-completion-table is an integer. + Wrap icomplete-completions in while-no-input in case building + completions takes more time than expected. + (icomplete-completions): Simplify. + +2005-03-21 Richard M. Stallman + + * jka-compr.el (jka-compr-really-do-compress): + Make variable buffer-local. + + * image-mode.el: Handle .xpm files too. + (image-toggle-display): Preserve modification flag. + + * help.el (where-is): Don't mention aliases with no key bindings. + +2005-03-21 Lute Kamstra + + * generic.el: Fix commentary section. Don't require cl for + compilation. + (generic-mode-list): Add autoload cookie. + (generic-use-find-file-hook, generic-lines-to-scan) + (generic-find-file-regexp, generic-ignore-files-regexp) + (generic-mode, generic-mode-find-file-hook) + (generic-mode-ini-file-find-file-hook): Fix docstrings. + (define-generic-mode): Make it a defmacro. Fix docstring. + (generic-mode-internal): Code cleanup. Add autoload cookie. + (generic-mode-set-comments): Code cleanup. + * generic-x.el: Don't prevent compilation. Don't require generic. + Follow coding conventions. Minor code cleanup. + (etc-fstab-generic-mode): Add some keywords. + * font-lock.el (lisp-font-lock-keywords-1): Font lock a call to + define-generic-mode like a function declaration. + +2005-03-21 Jay Belanger + + * calc/calc-embed.el (calc-do-embedded): Put data on stack before + changing modes. + +2005-03-21 Sam Steingold + + * add-log.el (add-log-current-defun): Support more C DEFUN forms. + +2005-03-21 Thien-Thi Nguyen + + * progmodes/dcl-mode.el (dcl-font-lock-keywords): + Add underscore to "f$ lexicals" regexp. + +2005-03-20 Juri Linkov + + * subr.el (progress-reporter-do-update): When `min-value' is equal + to `max-value', set `percentage' to 0 and prevent division by zero. + +2005-03-20 Michael Albinus + + Sync with Tramp 2.0.48. + + * net/tramp.el (all): Change all addresses to .gnu.org. + (tramp-append-tramp-buffers): New defun. + (tramp-bug): Apply `tramp-append-tramp-buffers' as post-hook. + Catch `dont-send' signal. + (tramp-set-auto-save-file-modes): Set always permissions, because + there might be an old auto-saved file belonging to another + original file. This could be a security threat. Reported by + Kjetil Kjernsmo . + Check for Emacs 21.3.50 removed. + + * net/tramp-smb.el (all): Remove debug construct for + `with-parsed-tramp-file-name'. + (tramp-smb-prompt): Prompt can contain spaces inside directory names. + (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file): + No error message if DIRECTORY or FILENAME doesn't exist. + (tramp-smb-open-connection): Check existence of + `tramp-smb-program'. + +2005-03-20 Stefan Monnier + + * progmodes/perl-mode.el (perl-font-lock-syntactic-face-function): + Properly handle the case where the `m' or `s' command's argument is not + yet terminated. + (perl-indent-new-calculate): New function. + (perl-indent-line): Use it. + +2005-03-20 Miles Bader + + * progmodes/gdb-ui.el (gdb-put-breakpoint-icon): Use breakpoint faces + in text-mode too. Change to new face names. + (breakpoint-enabled): Rename from `breakpoint-enabled-bitmap-face'. + Add `:weight bold' attribute. + (breakpoint-disabled): Rename from `breakpoint-disabled-bitmap-face'. + +2005-03-19 Juri Linkov + + * files.el (auto-mode-alist): Add comment. Optimize jar/ear/war. + + * international/mule.el (auto-coding-alist): Sync with + `auto-mode-alist' by adding upper case archive file extensions + and adding ear/war to jar extension. + +2005-03-19 David Casperson (tiny change) + + * textmodes/tex-mode.el (tex-view): If tex-shell process is not + running, restart it. + +2005-03-19 Yoichi NAKAYAMA (tiny changes) + + * finder.el (finder-current-item): Throw an error on an empty line. + + * man.el (Man-follow-manual-reference): If current-word returns + nil, use "". + +2005-03-19 Matt Hodges + + * simple.el (goto-line): Doc fix. + +2005-03-19 Aaron S. Hawley + + * files.el (save-buffer): Doc fix. + +2005-03-19 Michael R. Mauger + + * recentf.el (recentf-cleanup-remote): New variable. + (recentf-cleanup): Use it to conditionally check availability of + remote files. + +2005-03-19 Joe Edmonds (tiny change) + + * emacs-lisp/lisp-mode.el (lisp-mode-variables): Recognize `@' in + function names. + +2005-03-19 Eli Zaretskii + + * language/thai-word.el: New file. + +2005-03-19 JUAN-LEON Lahoz Garcia + + * files.el (backup-buffer): If the file's directory is not + writable, use copy instead of move to backup the file. + +2005-03-19 Eli Zaretskii + + * obsolete/keyswap.el: Moved to obsolete/ from term/. + +2005-03-19 Vinicius Jose Latorre + + * ps-print.el (ps-generate-string-list, ps-generate-header-line): + Use functionp instead of symbolp and fboundp. Reported by Drkm + . + (ps-print-version): New version 6.6.6. + +2005-03-18 Tak Ota + + * textmodes/table.el (table--line-column-position): New idiom. + (table--row-column-insertion-point-p): New function to test + validity of row and column insertion operation at a location. + (table-global-menu, table-cell-menu): Use above functions for + deterministic test operation. + (table--editable-cell-p): Behave in deterministic fashion. + +2005-03-18 Juri Linkov + + * isearch.el (isearch-lazy-highlight-new-loop): + Make arguments beg and end optional. + (isearch-update): Remove optional arguments nil from + isearch-lazy-highlight-new-loop. + (isearch-lazy-highlight-search): Let-bind case-fold-search to + isearch-lazy-highlight-case-fold-search instead of + isearch-case-fold-search, and let-bind isearch-regexp to + isearch-lazy-highlight-regexp. + Use isearch-lazy-highlight-last-string instead of isearch-string. + + * replace.el (perform-replace): Remove bindings of global + variables isearch-string, isearch-regexp, isearch-case-fold-search. + Add three new arguments to `replace-highlight'. + (replace-highlight): Add arguments string, regexp, case-fold. + Let-bind isearch-string, isearch-regexp, isearch-case-fold-search + to allow isearch-lazy-highlight-new-loop to use these values + to set corresponding isearch-lazy-highlight-* internal + variables whose values lazy highlighting will use regardless of + changes to global variables isearch-string, isearch-regexp, + isearch-case-fold-search during lazy highlighting loop. + (replace-dehighlight): Rename `isearch-lazy-highlight-cleanup' + to `lazy-highlight-cleanup'. + + * textmodes/ispell.el (ispell-lazy-highlight): New defcustom. + (ispell-highlight-face): Set default face to `isearch' when + lazy highlighting is enabled. + (ispell-highlight-spelling-error-overlay): Set `ispell-overlay' + priority to 1. Add lazy highlighting. + (ispell-highlight-spelling-error-xemacs): Remove obsolete arg + from `isearch-dehighlight'. + +2005-03-18 David Ponce + + * files.el (hack-local-variables): Do a case-insensitive search + for End. + +2005-03-18 Juri Linkov + + * isearch.el (lazy-highlight-cleanup) : Rename from + `isearch-lazy-highlight-cleanup', add alias to old name and + declare obsolete. Add release numbers to other obsolete vars. + (isearch-done, isearch-lazy-highlight-new-loop): + Rename `isearch-lazy-highlight-cleanup' to `lazy-highlight-cleanup'. + (lazy-highlight-cleanup) : Doc fix. + (isearch-lazy-highlight-update): Rename obsolete + `isearch-lazy-highlight-face' to `lazy-highlight-face'. + +2005-03-18 Kenichi Handa + + * language/thai-util.el: Fix categorization of Thai characters in + thai-category-table. + (thai-composition-pattern): Adjust it for the above change. + (thai-self-insert-command, thai-compose-syllable): New functions. + (thai-compose-region): Use thai-compose-syllable. + (thai-compose-string): Likewise. + (thai-composition-function): Likewise. + (thai-auto-composition): New function. + (thai-auto-composition-mode): New minor mode. + + * language/thai.el: Fix patterns to be registered in + composition-function-table. + + * international/quail.el (quail-input-method): Locally bind + inhibit-modification-hooks to t. + +2005-03-17 Richard M. Stallman + + * progmodes/perl-mode.el (perl-mode-hook): Defvar it. + (perl-mode): Use run-mode-hooks. + + * mail/rmail.el (rmail-movemail-program, rmail-pop-password) + (rmail-pop-password-required, rmail-remote-password): Doc fixes. + (rmail-preserve-inbox, rmail-probe, rmail-autodetect): Doc fix. + + * mail/sendmail.el (sendmail-send-it): Reenable the code + to compute resend-to-address and use it. + + * tar-mode.el (tar-mode): Turn off undo unconditionally. + + * image-mode.el: New file. + + * image.el (insert-sliced-image): Add autoload cookie. + + * font-lock.el (font-lock-lines-before): New user option. + (font-lock-after-change-function): Obey it. + + * bindings.el (esc-map): Make M-g a prefix. + Bind M-g g and M-g M-g to goto-line. + + * faces.el (face-id): Doc fix. + +2005-03-17 Frederik Fouvry + + * mail/rmail.el (rmail-unknown-mail-followup-to): New function. + (rmail-show-message): Use rmail-unknown-mail-followup-to. + (rmail-reply): Recognize Mail-Followup-To and Mail-Reply-To headers. + + * mail/sendmail.el (mail-yank-ignored-headers) + (mail-font-lock-keywords, mail-mode-fill-paragraph): + Add Mail-Followup-To and Mail-Reply-To headers. + (mail-citation-hook): Add autoload cookie. + (mail-mode): Doc fix. + (mail-mode-map): Bind mail-mail-followup-to and mail-mail-reply-to. + (mail-send): Compute Mail-Followup-To and Mail-Reply-To headers. + (mail-mode-fill-paragraph): Handle those headers. + (mail-mailing-lists): New variable. + (mail-mail-reply-to, mail-mail-followup-to): New functions. + +2005-03-17 Juri Linkov + + * isearch.el (isearch-fallback): Check for `(car previous)' + before calling `isearch-other-end-state'. + +2005-03-17 Kim F. Storm + + * simple.el (move-beginning-of-line): Move to beginning of buffer + line, as well as beginning of screen line. + +2005-03-16 Glenn Morris + + * calendar/diary-lib.el (mark-diary-entries): Use new optional + argument REDRAW rather than calendar-redrawing variable. + * calendar/calendar.el (calendar-redrawing): Delete. + (redraw-calendar): Do not bind calendar-redrawing. + +2005-03-16 Matt Hodges + + * calendar/diary-lib.el (diary-redraw-calendar): Preserve point in + diary-file buffer. + +2005-03-16 Stefan Monnier + + * help.el (describe-mode): Allow a :minor-mode-function property to + specify a different minor mode toggle function than the variable. + * simple.el (auto-fill-function): + * subr.el (add-minor-mode): Use it. + +2005-03-16 Kenichi Handa + + * language/ethio-util.el (sera-being-called-by-w3): New variable. + (ethio-sera-to-fidel-ethio): Check also sera-being-called-by-w3. + (ethio-fidel-to-sera-buffer): Likewise. + +2005-03-16 Juri Linkov + + * emacs-lisp/find-func.el (find-function-regexp): + Add defun-emitting macro `menu-bar-make-toggle'. + + * isearch.el: Put `isearch-scroll' property to + `split-window-horizontally'. + + * info.el: Update error messages for `debug-ignored-errors'. + (Info-isearch-search): Doc fix. + (Info-find-node): Move up code to go into info buffer before + recording the node to the history. + (Info-fontify-node): Fontify titles only if the next line + has two or more `*', `=', `-', `.'. + Display "go to this node" for empty (match-string 3). + +2005-03-16 YAMAMOTO Mitsuharu + + * term/mac-win.el: Add mouse pointer shape constants. + +2005-03-15 Kim F. Storm + + * simple.el (move-beginning-of-line): Use vertical-motion. + +2005-03-15 Juri Linkov + + * isearch.el (isearch-error): New variable. + (isearch-invalid-regexp, isearch-within-brackets): Remove. + (isearch-error-state): Rename from `isearch-invalid-regexp-state'. + (isearch-within-brackets-state): Remove. + (isearch-case-fold-search-state, isearch-pop-fun-state): + Decrease frame index. + (isearch-mode, isearch-top-state, isearch-push-state) + (isearch-edit-string, isearch-abort, isearch-search-and-update) + (isearch-fallback, isearch-message-prefix, isearch-message-suffix) + (isearch-search, isearch-lazy-highlight-new-loop): + Replace `isearch-invalid-regexp' with `isearch-error'. + Remove `isearch-within-brackets'. + (isearch-search): Add `search-failed' handler to `condition-case'. + (isearch-lazy-highlight-search): Add `condition-case' to catch + errors and allow `isearch-lazy-highlight-update' to try + highlighting from the beginning of the window. + (isearch-repeat): Move up code to set isearch-wrapped to t + before calling isearch-wrap-function. + + * info.el (Info-isearch-initial-node): New internal variable. + (Info-search): Signal an error in isearch mode when search leaves + the initial node. Signal an error when `bound' is non-nil and + nothing was found in the current subfile. + (Info-isearch-search): Remove `condition-case'. + (Info-isearch-wrap): Don't wrap when search failed during leaving + the initial node. If `Info-isearch-search' is nil, wrap around + the current node. + (Info-isearch-start): New fun. + (Info-mode): Add buffer-local hook `Info-isearch-start' to + `isearch-mode-hook'. + +2005-03-15 YAMAMOTO Mitsuharu + + * simple.el (normal-erase-is-backspace): Set default to t if + running on Mac. + + * term/mac-win.el (function-key-map): Sync with x-win.el. + +2005-03-15 Kenichi Handa + + * international/mule-cmds.el (locale-language-names): Modify the + format of elements and add more entries. + (locale-preferred-coding-systems): Add more entries. + (set-locale-environment): Adjust for the change of + locale-language-names. + +2005-03-14 Stefan Monnier + + * pcvs.el (smerge-ediff): Remove bogus autoload. + +2005-03-14 Lute Kamstra + + * emacs-lisp/debug.el (debugger-make-xrefs): Docstring fix. + Ignore a `*' at the beginning of a line. + + * subr.el (macro-declaration-function): Move to emacs-lisp/byte-run.el. + * emacs-lisp/byte-run.el (macro-declaration-function): Move from + subr.el. + (dont-compile, eval-when-compile, eval-and-compile): Use declare + to specify indentation. + + * generic.el (define-generic-mode): Let generic-mode-list be a + list of strings; test membership with equal. + +2005-03-14 Kim F. Storm + + * simple.el (next-line, previous-line): Add optional try-vscroll + arg to recognize interactive use. Pass it on to line-move. + (line-move): Don't perform auto-window-vscroll when defining or + executing keyboard macro to ensure consistent behavior. + +2005-03-13 Stefan Monnier + + * pcvs-util.el (cvs-string->strings): Strip trailing whitespace. + +2005-03-13 Lute Kamstra + + * emacs-lisp/debug.el (debug): Set debug-on-exit before calling + debugger-setup-buffer so that backtrace marks the frames set to + debug-on-exit and we don't have to do it manually. Set an extra + debug-on-exit for macro's. + (debugger-setup-buffer): Don't mark the top frame manually. + +2005-03-12 Lute Kamstra + + * emacs-lisp/byte-run.el: Replace lisp-indent-hook with + lisp-indent-function throughout. + (with-no-warnings): Set lisp-indent-function property. + +2005-03-12 Thien-Thi Nguyen + + * progmodes/dcl-mode.el (dcl-mode-syntax-table): + Add entry for backslash. + +2005-03-12 Juri Linkov + + * info.el (Info-search): Four fixes for backward search. + +2005-03-11 Jay Belanger + + * calc/calc.el (calc-language-alist): New variable. + * calc/calc-embed.el (calc-embedded-language-alist): Remove. + (calc-embedded-find-modes): Use calc-language-alist instead of + calc-embedded-language-alist. + +2005-03-11 Glenn Morris + + * calendar/calendar.el (calendar-redrawing): New internal + variable. + (redraw-calendar): Remove bogus save-excursion from previous + change. Bind calendar-redrawing to t for mark-diary-entries. + * calendar/diary-lib.el (mark-diary-entries): No need to redraw + calendar if that is why we were called. + +2005-03-11 Kenichi Handa + + * international/mule.el (make-coding-system): Set property + coding-system-define-form to nil. + (define-coding-system-alias): Likewise. + +2005-03-11 Kenichi Handa + + These changes are suggested by Dave Love . + + * textmodes/fill.el: Change encoding to iso-2022-7bit and add + coding: tag. + (adaptive-fill-regexp): Add more bullets. + (fill-french-nobreak-p): Add Latin-1 and Latin-9 guillemets in + regexps. + +2005-03-10 Stefan Monnier + + * help.el (describe-mode): Properly handle non-trivial lighters. + Don't ignore minor modes that are not listed in minor-mode-list. + + * tooltip.el (tooltip-mode): Don't complain that you can't turn the + feature ON when the user requests to turn it OFF. + +2005-03-10 Lute Kamstra + + * emacs-lisp/debug.el (debug-entry-code): Delete it. + (implement-debug-on-entry): New function to replace debug-entry-code. + (debug-on-entry-1): Use implement-debug-on-entry. Delete the + second argument as the 2005-03-07 change makes it obsolete. + (debug-on-entry, cancel-debug-on-entry): Update call to + debug-on-entry-1. + (debug, debugger-setup-buffer): Comment update. + (debugger-frame-number): Update to work with implement-debug-on-entry. + +2005-03-10 Jay Belanger + + * calc/calc-embed.el (math-ms-args): Declare it. + (calc-embedded-eval-expr, calc-embedded-eval-get-var): Use variable + math-ms-args. + (calc-embedded-subst): Use math-multi-subst-rec to substitute + variables. + +2005-03-10 Nick Roberts + + * progmodes/gdb-ui.el (gdb-var-create-handler, gdb-get-location): + Use message-box. + + * tooltip.el (tooltip-mode): Use define-minor-mode and simplify. + (tooltip-activate-mouse-motions-if-enabled): Use dolist. + (tooltip-gud-tips): Simplify. + (tooltip-gud-tips-p): Remove superfluous :set. + (tooltip-gud-modes): Add fortran-mode. + (gdb-tooltip-print): Remove newline for tooltip-use-echo-area. + + * bindings.el (mode-line-mode-menu): Add tooltip-mode to mode-line. + +2005-03-09 Kim F. Storm + + * play/animate.el (animate-place-char): Use forward-line instead + of next-line to improve performance. + +2005-03-09 Simon Josefsson + + * net/browse-url.el (browse-url-default-browser): Doc fix. + +2005-03-09 Miles Bader + + * emacs-lisp/bytecomp.el (byte-compile-variable-ref) + (byte-compile-obsolete): Change " since VER" to " (as of Emacs VER)". + +2005-03-09 Kenichi Handa + + * international/latin-1.el: Set case and syntax for 255 only if + set-case-syntax-set-multibyte is nil. + + * textmodes/ispell.el (ispell-insert-word): New function. + (ispell-word): Use ispell-insert-word to insert a new word. + (ispell-process-line): Likewise. + (ispell-complete-word): Likewise. + +2005-03-09 Glenn Morris + + * calendar/calendar.el (redraw-calendar): Preserve point. + Reported by Matt Hodges . + (calendar-week-start-day): Move after definition of + redraw-calendar. Delete buffer test, since redraw-calendar has + that now. + + * calendar/diary-lib.el (mark-diary-entries): Only call + redraw-calendar in the first of any recursive calls. + Reported by Alan Shutko . + +2005-03-08 Juri Linkov + + * textmodes/sgml-mode.el (sgml-tag, html-tag-alist) + (html-horizontal-rule, html-line, html-image, html-checkboxes) + (html-radio-buttons): Add a space before the trailing `/>' where + sgml-xml-mode is non-nil. + (sgml-delete-tag): Check if the tag ends with `/>' to not delete + the subsequent tag of the empty XML tag. + (html-href-anchor): Don't set initial input to "http:". + (html-image): Ask for the image URL and set point inside alt="". + (html-name-anchor): Duplicate the name in the `id' attribute when + sgml-xml-mode is non-nil. + (html-paragraph): Remove \n before

. + (html-checkboxes, html-radio-buttons): Insert `checked="checked"' + instead of `checked' when sgml-xml-mode is non-nil. + + * facemenu.el (list-colors-print): Print #RRGGBB in default face. + Remove 1 space before #RRGGBB to not truncate it on terminal + windows w/o fringes. Remove 1 space between bg and fg examples + to get more space. + (list-colors-duplicates): Replace `and' with `if' for `boundp' to + avoid byte-compile warnings. + + * image-file.el (image-file-handler): Put `safe-magic' property to + `image-file-handler'. + + * info.el (Info-isearch-search): Emulate word search in + isearching through multiple Info nodes with Info-search. + (Info-isearch-wrap): Allow isearch-word. + +2005-03-08 Lute Kamstra + + * emacs-lisp/debug.el (debugger-step-through): Make sure that + stepping into the debugger's code is not possible. + (debugger-jumping-flag): Docstring update. + +2005-03-08 Jay Belanger + + * calc/calc-embed.el (calc-do-embedded): Reset mode line when + embedded mode begins. + (calc-embedded-language-alist): New variable. + (calc-embedded-find-modes): Use calc-embedded-language-alist to + set default language mode. + +2005-03-08 Kenichi Handa + + * international/ccl.el (define-ccl-program): Fix docstring about + extra 256 bytes assured for the output buffer. + + * international/utf-16.el (ccl-encode-mule-utf-16le-with-signature): + Fix BUFFER_MAGNIFICATION to 2. + (ccl-encode-mule-utf-16be-with-signature): Likewise. + +2005-03-07 Karl Chen + + * align.el (align-rules-list): Added an alignment rule for CSS + declarations (applies to css-mode and html-mode buffers). + +2005-03-07 Stefan Monnier + + * emacs-lisp/debug.el (debug-on-entry-1): Fix handling of macros. + +2005-03-07 Kim F. Storm + + * simple.el (move-beginning-of-line): New command. + + * bindings.el (global-map): Bind C-a to move-beginning-of-line. + + * reveal.el (reveal-mode-map): Bind C-a to beginning-of-line. + + * emulation/cua-base.el: Put CUA move property on move-end-of-line + and move-beginning-of-line. + + * apropos.el (apropos-print): Omit command from M-x ... RET. + +2005-03-07 Nick Roberts + + * progmodes/gdb-ui.el (gdb-var-create-handler): Handle just MI case. + (gdb-send, gdb-send-item): Log items sent from gdb-send too. + +2005-03-06 Richard M. Stallman + + * bindings.el (esc-map): Bind M-g to goto-line. + + * facemenu.el (global-map): Bind M-o, not M-g. + +2005-03-06 Jan Dj,Ad(Brv + + * menu-bar.el (menu-bar-file-menu): Add the same :enable to + "Open Directory" as for "Open File". + +2005-03-06 Chong Yidong + + * simple.el (activate-mark-hook, deactivate-mark-hook): Add defvars. + (push-mark-command): Run activate-mark-hook. + +2005-03-06 Richard M. Stallman + + * help-mode.el (help-mode-finish): Don't alter the element + in view-return-to-alist if there already is one. + + * jit-lock.el (jit-lock-stealth-fontify): When calling sit-for, + make sure the current buffer is the expected one. + + * novice.el (disabled-command-function): Output in *Disabled Command*. + Explicitly ignore non-keyboard events, and explicitly handle C-g. + + * textmodes/flyspell.el (flyspell-large-region): + Pass args differently for aspell. + + * files.el (mode-require-final-newline): Doc fix. + +2005-03-03 Stephan Stahl (tiny change) + + * progmodes/which-func.el (which-function): + Specify NOERROR when calling imenu--make-index-alist. + +2005-03-05 Stefan Monnier + + * simple.el (normal-erase-is-backspace): Define default value. + + * custom.el (custom-theme-set-variables): Remove unused var + `immediate'. + (custom-reevaluate-setting): Simple function to handle variables + that are defined before their default value can really be + computed. + + * startup.el (command-line): Use it for temporary-file-directory, + small-emporary-file-directory, auto-save-file-name-transforms, + blink-cursor-mode, and normal-erase-is-backspace. + + * font-lock.el (font-lock-fontify-keywords-region): Ensure forward + progress, even with buggy anchored keywords. + +2005-03-05 Luc Teirlinck + + * simple.el (goto-line): Remove unbalanced final parenthesis. + +2005-03-05 Richard M. Stallman + + * simple.el (goto-line): Use a number at point as the default. + With C-u as arg, switch buffers. + +2005-03-05 Juri Linkov + + * frame.el (blink-cursor-mode): Replace `emacs-quick-startup' + with `no-blinking-cursor'. + + * startup.el (no-blinking-cursor): New defvar. + (command-line): Add `--no-blinking-cursor' to longopts. + Set `no-blinking-cursor' to t for command line arguments + -Q, -nbc, --no-blinking-cursor. Replace `emacs-quick-startup' + with `no-blinking-cursor' in the condition for calling + `blink-cursor-mode'. + +2005-03-04 Luc Teirlinck + + * menu-bar.el (menu-bar-make-mm-toggle): Doc fix. + (menu-bar-options-save): Add blink-cursor-mode. + (menu-bar-options-menu): Add blink-cursor-mode. + +2005-03-04 Ulf Jasper + + * calendar/icalendar.el (icalendar-version): Increase to 0.11. + (icalendar-export-file, icalendar-export-region) + (icalendar-import-file, icalendar-import-buffer): Add autoload cookies. + (icalendar--convert-ical-to-diary): Fix problem with DURATION. + +2005-03-04 Lute Kamstra + + * emacs-lisp/debug.el (debugger-step-after-exit): Make it a defvar. + (debug-function-list): Ditto. + +2005-03-04 Robert J. Chassell + + * textmodes/texinfmt.el (texinfo-append-refill): + Redefine the types of line to which @refill + is not appended by replacing a search for `@refill\\|@bye' with + `@refill\\|^[ \t]*@'. The intent is to solve both the `@end + itemize@refill' bug and the unfilled long lines bug. + (texinfmt-version): Update number and date. + +2005-03-04 Reiner Steib + + * international/code-pages.el (windows-1250, windows-125[2-8]) + (iso-8859-10, -13, -16, georgian-ps): Add autoload cookies. + +2005-03-03 Stefan Monnier + + * frame.el (blink-cursor-mode): `emacs-quick-startup' may not be + bound yet. + +2005-03-02 Romain Francoise + + * ibuf-ext.el (ibuffer-filter-disable): Move back to the current + buffer after removing limits. + (ibuffer-pop-filter): Ditto. + Update copyright. + +2005-03-02 Miles Bader + + * button.el (make-text-button): If the user doesn't specify a + type, use the default. Rewrite to use `add-text-properties' and + plist functions. + +2005-03-01 Lute Kamstra + + * emacs-lisp/debug.el (inhibit-debug-on-entry): Add docstring. + (debugger-jumping-flag): New var. + (debug-entry-code): Use it. + (debugger-jump): Use debugger-jumping-flag and add + debugger-reenable to post-command-hook. + (debugger-reenable): Use debugger-jumping-flag and remove itself + from post-command-hook. + (debug, debug-on-entry, cancel-debug-on-entry): Remove call to + debugger-reenable. + +2005-03-01 Robert J. Chassell + + * textmodes/texinfmt.el (texinfo-no-refill-regexp): Comment out + inclusion of "itemize\\|", which may be unnecessary, is certainly + inelegant, and stops refilling in itemize lists when formatting + Japanese Texinfo files to Info. + Update copyright to 2005. + +2005-03-01 Nick Roberts + + * progmodes/gdb-ui.el (gdb-get-location): Use a warning instead + of an error if GDB can't find the source file. + +2005-03-01 Glenn Morris + + * calendar/calendar.el (redraw-calendar): Work from any buffer, + not just the calendar. + + * calendar/diary-lib.el (mark-diary-entries): Remove any old marks + first. + (diary-redraw-calendar): New function. + (make-diary-entry): Add diary-redraw-calendar to local + write-contents-functions. Turn off selective display before + inserting in diary. + +2005-03-01 Kim F. Storm + + * emacs-lisp/copyright.el (copyright-fix-years): New command. + +2005-03-01 Lute Kamstra + + * emacs-lisp/debug.el (debug-on-entry-1): Reimplement to make sure + that debug-entry-code can be safely removed from a function while + this code is being evaluated. Revert the 2005-02-27 change as the + new implementation no longer requires it. Make sure that a + function body containing just a string is not mistaken for a docstring. + (debug): Skip one more frame in case of debug on entry. + (debugger-setup-buffer): Delete one more frame line in case of + debug on entry. + (debugger-frame-number): Update to use the new text introduced by + the 1999-11-03 change. Skip one more frame in case of debug on entry. + +2005-02-28 Kim F. Storm + + * double.el (double-translate-key): Call force-window-update after + read-event to avoid crash in redisplay. + +2005-02-28 Stefan Monnier + + * emacs-lisp/debug.el (inhibit-debug-on-entry): New var. + (debug): Use it. Move the inhibit-trace earlier. + (debug-entry-code): New const. + (debug-on-entry-1): Use it. + +2005-02-28 Chong Yidong + + * international/utf-16.el (ccl-encode-mule-utf-16le): + Fix BUFFER_MAGNIFICATION to 2. + (ccl-encode-mule-utf-16be): Likewise. + +2005-02-28 Kenichi Handa + + * international/utf-16.el (ccl-encode-mule-utf-16le-with-signature): + Fix BUFFER_MAGNIFICATION to 4. + (ccl-encode-mule-utf-16be-with-signature): Likewise. + +2005-02-28 Nick Roberts + + * speedbar.el (speedbar-update-flag): Doc fix. + (speedbar-show-info-under-mouse): Give set-mouse-position the right + argument. + +2005-02-27 Stefan Monnier + + * reveal.el (reveal-post-command): Don't try to reveal overlays which + have a non-nil `invisible' property but are actually visible. + + * progmodes/perl-mode.el (perl-imenu-generic-expression): Add entries + for perldoc sections. + (perl-outline-regexp, perl-outline-level): New var and function. + (perl-mode): Use them. + +2005-02-27 Glenn Morris + + * calendar/diary-lib.el (diary-remind): Discard any mark portion + from diary-entry. Reported by Andrew Kemp . + +2005-02-27 Luc Teirlinck + + * cus-edit.el: Comment change. + (custom-buffer-create-internal): Slightly reword text at top of + Custom buffers. Mention there that saving an option edits the + init file. Add link to Emacs manual node on `custom-file'. + (custom-magic-alist): Rewrite individual State messages to use + capitalized keywords. Doc fix. + +2005-02-27 Matt Hodges + + * calendar/calendar.el (calendar-buffer): Move above + calendar-week-start-day. + (calendar-week-start-day): Doc fix. Add :set function. + (calendar-minimum-window-height): New variable. + (generate-calendar-window): Only resize window if selected-window + is displaying the calendar buffer. Use new variable + calendar-minimum-window-height. + (generate-calendar): Reword error message. + (calendar-mode-map): Bind DEL to scroll-other-window-down. + +2005-02-27 Andreas Schwab + + * vc.el (vc-do-command): Don't run command asynchronously when + operating in a remote directory. + + * net/tramp.el (tramp-file-name-for-operation): Fix misapplied + change from sync with Tramp 2.0.47. + +2005-02-27 Richard M. Stallman + + * textmodes/ispell.el (ispell-change-dictionary): Doc fix. + + * textmodes/flyspell.el (flyspell-mode-on): + Call ispell-change-dictionary only if necessary. + + * emacs-lisp/re-builder.el (regexp-builder): New function. + + * register.el (describe-register-1): Explicitly handle + yank-excluded-properties = t. + + * cus-edit.el (custom-buffer-create-internal): Improve progress msgs. + (custom-magic-alist): Change the status descriptions again. + (face widget-type): Total rewrite based on `restricted-sexp' + to eliminate the confusing double hiding levels. + + * emacs-lisp/debug.el (debug-on-entry-1): + If function body is empty, add nil as body form. + +2005-02-26 Stefan Monnier + + * emacs-lisp/trace.el (inhibit-trace): New var. + (trace-make-advice): Use it. + + * emacs-lisp/debug.el (debug): Put back the inhibit-trace. + +2005-02-26 Kim F. Storm + + * mouse.el (mouse-1-click-in-non-selected-windows): New defcustom. + (mouse-on-link-p, mouse-drag-region-1): Use it. + +2005-02-25 Lute Kamstra + + * replace.el (query-replace-read-from): Fix 2005-02-19 change. + +2005-02-24 Luc Teirlinck + + * frame.el (blink-cursor-mode): Add :group keyword. + +2005-02-24 Ulf Jasper + + * calendar/icalendar.el (icalendar--decode-isodatetime): + New optional argument DAY-SHIFT. + (icalendar-export-region): Fix coding-system-for-write. + (icalendar--convert-ical-to-diary): Shift end-day of all-day + events by one. + +2005-02-24 Stefan Monnier + + * textmodes/tex-mode.el (tex-font-lock-keywords-3): #n is atomic. + +2005-02-24 Kim F. Storm + + * international/iso-acc.el (iso-accents-compose): Fix crash + during redisplay. Call force-window-update after read-event + and delete-region to signal that window is not accurate. + +2005-02-23 Stefan Monnier + + * emacs-lisp/debug.el (debug): Hide the buffer if it's not killed. + Remove unused and inexistent var `inhibit-trace'. + (debugger-mode): Use run-mode-hooks. + (debugger-list-functions): Add buttons; setup xref stack. + +2005-02-23 Richard M. Stallman + + * calendar/appt.el (appt-time-msg-list): 3rd elt of each + appointment says it was explicitly made. + (appt-add): Set the 3rd element. + (appt-make-list): Preserve explicit appointments. + + * subr.el (find-tag-default): Catch errors in forward-sexp. + +2005-02-23 Juri Linkov + + * info.el (Info-isearch-search): New defcustom. + (Info-isearch-search): Call the default isearch function + when Info-isearch-search is nil. + (Info-isearch-wrap): Use variable Info-isearch-search. + +2005-02-22 Luc Teirlinck + + * cus-edit.el: Comment change. + +2005-02-22 Kim F. Storm + + * progmodes/hideif.el (hide-ifdef-use-define-alist): + Use completing-read. Suggested by Juan-Leon Lahoz Garcia. + +2005-02-22 Simon Josefsson + + * net/browse-url.el (browse-url-netscape-new-window-is-tab): + New variable. + (browse-url-netscape): Use it. Suggested by "Johann 'Myrkraverk' + Oskarsson" . + +2005-02-22 Kim F. Storm + + * mouse.el (mouse-on-link-p): If arg POS is a mouse event, + check that window of that event is the selected window. + (mouse-drag-region-1): Compare mouse event window to selected + window before setting point. + + * tooltip.el (tooltip-show-help-function): Pass event to + mouse-on-link-p so it can check selected window. + +2005-02-22 Kenichi Handa + + * ps-mule.el (ps-mule-header-string-charsets): Delete it. + (ps-mule-show-warning): New function. + (ps-mule-begin-job): Use ps-mule-show-warning if unprintable + characters are found. + + * ps-print.el (ps-header-footer-string): Return a list of header + and footer strings. + +2005-02-21 Wolfgang Jenkner (tiny change) + + * pcvs.el (cvs-retrieve-revision): Fix thinko. + +2005-02-21 Stefan Monnier + + * frame.el (blink-cursor-mode): Use define-minor-mode. + + * term/mac-win.el (function-key-map): Use char-names more consistently. + (file-name-coding-system): Only set it for MacOS-9. The other case is + already handled in mule-cmds.el (where it also works when mac-win.el + is not used). + +2005-02-21 Kenichi Handa + + * international/mule.el (ctext-pre-write-conversion): Always use + " *code-converting-work*" buffer for work. + + * textmodes/ispell.el (ispell-dictionary-alist): Fix docstring. + +2005-02-20 Thien-Thi Nguyen + + * progmodes/scheme.el (scheme-font-lock-keywords-2): Handle named-let. + +2005-02-20 Jonathan Yavner + + * ses.el (undo-more): Restore defadvice, but only the part that + allows changes outside the restricted area of the buffer. + +2005-02-20 Kim F. Storm + + * simple.el (line-move): Add fourth optional arg try-vscroll which + must be set to perform auto-window-vscroll. + When moving backwards and doing auto-window-vscroll, automatically + vscroll to the last part of lines which are taller than the window. + (next-line, previous-line): Set try-vscroll arg on line-move. + +2005-02-19 Dan Nicolaescu + + * replace.el (query-replace, query-replace-regexp) + (replace-string, replace-regexp): When operating on region, make + the minibuffer prompt say so. + + * isearch.el (isearch-forward): Document isearch-query-replace and + isearch-query-replace-regexp keybindings. + +2005-02-19 Jay Belanger + + * calc/calc-aent.el (math-read-token): Add local variable. + + * calc/calc-prog.el (calc-user-define-edit): Add local variable. + (calc-edit-top): Move declaration to earlier in file. + (calc-edit-macro-repeats): Add local variables. + + * calc/calcalg2.el: Add differentiation rule for calcFunc-coth. + Adjust differentiation rules for calcFunc-tan, calcFunc-cot, + calcFunc-tanh. + Adjust integration rule for calcFunc-tan. + +2005-02-19 Michael Kifer + - * viper-cmd.el (viper-prefix-commands): Make into a defconst. ++ * emulation/viper-cmd.el (viper-prefix-commands): Make into a defconst. + (viper-exec-buffer-search): Use regexp-quote to quote buffer string. + (viper-minibuffer-setup-sentinel): Make some variables buffer-local. + (viper-skip-separators): Bug fix. + (viper-set-searchstyle-toggling-macros): Allow to unset macros in a + particular major mode. + (viper-del-backward-char-in-replace): Don't put deleted char on the + kill ring. + - * viper-ex.el (viper-color-display-p): New function. ++ * emulation/viper-ex.el (viper-color-display-p): New function. + (viper-has-face-support-p): Use viper-color-display-p. + - * viper-keym.el (viper-gnus-modifier-map): New keymap. ++ * emulation/viper-keym.el (viper-gnus-modifier-map): New keymap. + - * viper-macs.el (viper-unrecord-kbd-macro): Bug fix. ++ * emulation/viper-macs.el (viper-unrecord-kbd-macro): Bug fix. + - * viper-util.el (viper-glob-unix-files): Fix shell status check. ++ * emulation/viper-util.el (viper-glob-unix-files): ++ Fix shell status check. + (viper-file-remote-p): Make equivalent to file-remote-p. + - * viper.el (viper-major-mode-modifier-list): ++ * emulation/viper.el (viper-major-mode-modifier-list): + Use viper-gnus-modifier-map. + +2005-02-19 David Kastrup + + * subr.el (subregexp-context-p): Fix garbled doc string by adding + quoting. + +2005-02-19 Jay Belanger + + * calc/calc-math.el (calc-arctan, calc-tanh, calc-arctanh): + Remove extra definitions. + (calc-coth): New function. + (calcFunc-cot): Fix `let'. + +2005-02-19 Eli Zaretskii + + * faces.el (escape-glyph, minibuffer-prompt): Add commentary for + the reasons we use "type pc" in these faces. + + * button.el (button): Ditto. + +2005-02-19 Michael Mauger + + * replace.el (query-replace-read-from): Set the value of + query-replace-from-history-variable to handle the case of an empty + string entered to accept the suggested default. + + * net/tramp.el (tramp-file-name-for-operation): + Use dired-call-process instead of dired-call-process-command. + +2005-02-19 Jay Belanger + + * calc/calc-arith.el (math-trig-inverses, math-div-trig) + (math-div-non-trig): New variables. + (math-combine-prod-trig, math-div-new-trig, math-div-new-non-trig) + (math-div-isolate-trig, math-div-isolate-trig-term): New functions. + (math-combine-prod, math-div-symb-fancy): Add simplifications for + trig expressions. + +2005-02-19 Nick Roberts + + * progmodes/gdb-ui.el (gdb-var-update-handler) + (gdb-speedbar-timer-fn): Ensure speedbar updates with new values + for watch expressions, + (gdb-var-create-handler): Don't set speedbar-update-flag. + (gdb-post-prompt): Simplify test for speedbar. + +2005-02-19 Michael Kifer + + * ediff.el (ediff-set-diff-overlays-in-one-buffer) + (ediff-set-fine-overlays-in-one-buffer, ediff-goto-word): Make sure + we use the syntax table of the correct buffer. + (ediff-same-file-contents, ediff-same-contents): Enhancements thanks to + Felix Gatzemeier. + + * ediff-init.el (ediff-hide-face): Check for definedness of functions. + (ediff-file-remote-p): Make synonymous with file-remote-p. + In all deffaces ediff-*-face-*, use min-colors. + + * ediff-mult.el (ediff-meta-mark-equal-files): Make use of + ediff-recurse-to-subdirectories. + (ediff-mark-if-equal): Check that the arguments are strings, use + ediff-same-contents (after to Felix Gatzemeier). + + * ediff.el (ediff-merge-on-startup): Don't set buffer-modified-p to + nil. + +2005-02-18 Stefan Monnier + + * log-view.el (log-view-message-re): Fix up Subversion regexp. + +2005-02-18 David Kastrup + + * progmodes/meta-mode.el (meta-mark-active): Fix condition to just + use `mark-active' when defined. + +2005-02-18 Kenichi Handa + + * ps-print.el (ps-font-info-database): New entry + ZapfChancery-MediumItalic with correct font name. Fix font name + of the entry Zapf-Chancery-MediumItalic. + +2005-02-16 Luc Teirlinck + + * autorevert.el (auto-revert-stop-on-user-input): Further doc fix. + +2005-02-16 Kim F. Storm + + * ido.el (ido-fallback-command): Pass user input to fallback command. + +2005-02-16 Nick Roberts + + * progmodes/gdb-ui.el (gdb-set-gud-minor-mode-existing-buffers) + (gdb-find-file-hook): Add server prefix. + +2005-02-16 Richard M. Stallman + + * replace.el (perform-replace): Pass new args to replace-highlight. + (replace-highlight): Take region args, + and pass them to isearch-lazy-highlight-new-loop. + + * novice.el (disabled-command-hook): Autoload the defalias + and the make-obsolete-variable call. + + * menu-bar.el (menu-bar-select-frame): FRAME defaults to selected. + + * isearch.el (isearch-lazy-highlight-start-limit) + (isearch-lazy-highlight-end-limit): New variables limit + the region for highlighting. + (isearch-lazy-highlight-new-loop): New args BEG and END. + (isearch-lazy-highlight-search): Use the new vars. + (isearch-lazy-highlight-update): Likewise. + + * dired.el (dired-build-subdir-alist): Bind buffer-undo-list to t. + + * cus-start.el (all): Use default-boundp. + +2005-02-15 David Casperson (tiny change) + + * menu-bar.el (menu-bar-select-frame): Handle current frame. + +2005-02-15 Luc Teirlinck + + * autorevert.el (auto-revert-stop-on-user-input) + (auto-revert-verbose): Doc fixes. + +2005-02-15 Benjamin Riefenstahl + + * international/mule-cmds.el (set-locale-environment): Remove call + to set-selection-coding-system on Windows. + +2005-02-15 Jay Belanger + + * calc/calc-alg.el: Add simplification rules for calcFunc-sec, + calcFunc-csc, calcFunc-cot, calcFunc-sech, calcFunc-csch, and + calcFunc-coth. + (math-simplify-sqrt): Add simplifications. + + * calc/calc-arith.el (math-real-if-arg-functions): Add functions + to list. + + * calc/calc-ext.el: Add functions to autoloads. + + * calc/calc-math.el (calc-sec, calc-csc, calc-cot, calc-sech) + (calc-csch, calc-coth, calcFunc-sec, calcFunc-csc, calcFunc-cot) + (calcFunc-sech, calcFunc-csch, calcFunc-coth, math-sec-raw) + (math-csc-raw, math-cot-raw): New functions. + + * calc/calc-rules.el (calc-DistribRules, calc-NegateRules): Add rules. + + * calc/calc-undo.el (calc-handle-undo): Remove prefix from + the variable name in a message. + + * calc/calc-units.el: Add simplification rules for calcFunc-sec, + calcFunc-csc, calcFunc-cot. + + * calc/calcalg2.el: Add derivative and integration rules for + calcFunc-sec, calcFunc-csc, calcFunc-cot, calcFunc-sech, + calcFunc-csch, calcFunc-coth. + (math-do-integral-methods): Add to checks for when to use + substitutions. + + * calc/calccomp.el (math-eqn-special-funcs): Add functions to list. + +2005-02-15 Lute Kamstra + + * emacs-lisp/lisp-mode.el (lisp-mode-variables): + Add ;;;###autoload to `outline-regexp'. Suggested by Stefan Monnier + . + (lisp-outline-level): Improve efficiency. Suggested by David + Kastrup . + +2005-02-15 Nick Roberts + + * progmodes/gdb-ui.el (gdb-find-file-unhook): New variable. + (gdb-set-gud-minor-mode, gdb-set-gud-minor-mode-1) + (gdb-set-gud-minor-mode-existing-buffers): New functions. + (gdb-find-file-hook): New hook. Add it to find-file-hook. + (gdb-info-breakpoints-custom, gdb-source-info): Simplify. + +2005-02-14 Luc Teirlinck + + * cus-start.el (all): Comment change. + +2005-02-14 Lute Kamstra + + * cus-start.el (all): Check if symbol is void. + +2005-02-14 Carsten Dominik + + * textmodes/reftex-cite.el (reftex-do-citation): Cleanup single + optional argument to \cite. + +2005-02-14 Richard M. Stallman + + * cus-edit.el (custom-buffer-create-internal): Update help message. + (custom-magic-alist): Update help messages. + + * cus-start.el (all): Allow a var to specify a standard value. + +2005-02-12 Luc Teirlinck + + * custom.el (custom-theme-set-variables): Handle variable aliases. + + * frame.el (blink-cursor-timer): Doc fix. + (blink-cursor): Make it an alias for `blink-cursor-mode' and + declare obsolete. + (blink-cursor-mode): Define with defcustom and use correct + standard expression in that defcustom. + * startup.el (command-line): Adapt to above changes in frame.el. + +2005-02-11 Lute Kamstra + + * apropos.el (apropos-score-doc): Prevent division by zero. + +2005-02-11 Ulf Jasper + + * calendar/icalendar.el (icalendar--get-event-property): Doc fix. + (icalendar--get-event-property-attributes) + (icalendar--get-event-properties) + (icalendar--datetime-to-diary-date): New functions. + (icalendar--split-value): Doc fix. + (icalendar--datetime-to-noneuropean-date) + (icalendar--datetime-to-european-date): New optional argument + SEPARATOR. Return result as a string instead of a list. + (icalendar--get-weekday-number): Check if ABBREVWEEKDAY is nil. + (icalendar--convert-string-for-export): Rename arg S to STRING. + (icalendar-export-region): Doc fix. Change name of error buffer. + Save output buffer. + (icalendar-import-file): Add blank at end of prompt. + (icalendar-import-buffer): Doc fix. Do not switch to error + buffer. Indicate status in return value. + (icalendar--convert-ical-to-diary): Doc fix. Change name of error + buffer. Save output buffer. Handle exception from recurrence + rules (EXDATE, EXRULE). Handle start- and end-date of recurring + events. Fix problems with weekly all-day events. + +2005-02-10 Richard M. Stallman + + * simple.el (eval-expression-print-format): + Avoid warning about edebug-active. + + * help.el (help-for-help-internal): Rename from help-for-help. + (help-for-help): Define with defalias. + + * font-core.el (font-lock-default-function): Use with-no-warnings. + + * cus-edit.el (custom-buffer-create-internal): Improve help-echo. + + * custom.el (defface): Doc fix. + +2005-02-10 Nick Roberts + + * progmodes/gdb-ui.el (gdb-ann3): Re-instate GDB command "set + width 0" to prevent word wrapping problems. + +2005-02-09 Kim F. Storm + + * ido.el (ido-file-extensions-order): New defcustom. + (ido-file-extension-lessp, ido-file-extension-aux) + (ido-file-extension-order): New advanced file ordering. + (ido-file-lessp): New simple file ordering. + (ido-sort-list): Remove. + (ido-make-file-list): Use ido-file-lessp or ido-file-extension-lessp. + (ido-make-dir-list, ido-completion-help): Use ido-file-lessp. + +2005-02-08 Dan Nicolaescu + + * progmodes/grep.el (grep-regexp-alist): Match an optional ^[[K + that some versions of grep produce. + (grep-mode-font-lock-keywords): Likewise. + +2005-02-09 Nick Roberts + + * progmodes/gdb-ui.el (gdb-location-list): New variable. + (gdb-cdir): Delete. + (gdb-info-breakpoints-custom, gdb-goto-breakpoint) + (gdb-source-info): Treat case when source file is in another + directory properly. + (gdb-get-location): New function. + +2005-02-07 Jay Belanger + + * calc/calc-prog.el (calc-write-parse-table-part) + (calc-fix-token-name): Fix a check for language type. + + * calc/calccomp.el (math-compose-expr): Fix a check for language type. + +2005-02-07 Andre Spiegel + + * vc-hooks.el (vc-make-version-backup): Ignore file-errors such + as directory not writable. + +2005-02-07 Kim F. Storm + + * emulation/cua-base.el (cua-max-undo, cua-undo): Remove. + (cua--standard-movement-commands): Remove list. + Instead, set CUA property value to move for movement commands. + (cua-movement-commands): Remove. Users must set CUA prop instead. + (cua--pre-command-handler): Check CUA property. + (cua--init-keymaps): Don't remap undo commands. + (cua-mode): Don't call cua--rectangle-on-off. + + * emulation/cua-rect.el (cua--undo-list, cua--tidy-undo-counter) + (cua--rect-undo, cua--tidy-undo-lists, cua--rectangle-on-off): Remove. + (cua--rect-undo-set-point): New var. + (cua--rectangle-undo-boundary): Setup undo apply entry. + (cua--rect-undo-handler): New function for rectangle undo. + (cua--rect-start-position, cua--rect-end-position): Add. + (cua--rectangle-post-command): Call cua--rectangle-set-corners + for restored rectangle. Set point if cua--rect-undo-set-point. + +2005-02-06 Jay Belanger + + * calc/calc-lang.el (calc-tex-language): Display more information + in messages. + + * calc/calccomp.el (math-compose-expr): Allow multiline matrices + in TeX mode. + +2005-02-06 Richard M. Stallman + + * emacs-lisp/lisp.el (buffer-end): Doc fix. + +2005-02-05 Arne J,Ax(Brgensen (tiny change) + + * net/ldap.el (ldap-search-internal): Support attributes with + optional descriptions separated by a semi-colon, as in + "userCertificate;binary". + +2005-02-05 Jan Dj,Ad(Brv + + * x-dnd.el (x-dnd-handle-xdnd): Handle the case where the flags + isn't a cons (i.e. the version is 0). + +2005-02-05 Eli Zaretskii + + * help.el (help-for-help): Doc fix. + +2005-02-05 Nick Roberts + + * progmodes/gdb-ui.el: Update copyright. Put GDB-Frames before + GDB-Windows on the menu-bar as this works better. + +2005-02-04 Jay Belanger + + * calc/calc-embed.el (calc-embedded-update): Don't put in + unnecessary newlines. Adjust the end of formula marker. + + * calc/calc-lang.el (math-latex-parse-frac): Don't use arguments. + (math-latex-parse-two-args): New function. + +2005-02-03 Lute Kamstra + + * help-fns.el (help-with-tutorial): Make sure that users cannot + remove the entire text of the tutorial by means of `undo'. + +2005-02-03 Stefan Monnier + + * textmodes/ispell.el (ispell-internal-change-dictionary): Fix problem + in recent changes, where the ispell process was repeatedly + killed & restarted. + + * international/mule-cmds.el (set-locale-environment): Set file-name + coding system to utf-8 on Darwin systems. + (set-default-coding-systems): Don't set default-file-name-coding-system + on Darwin systems. + +2005-02-03 Richard M. Stallman + + * hi-lock.el (hi-lock-mode): Turning on Hi-Lock turns on Font-Lock. + +2005-02-03 Matt Hodges + + * faces.el (list-faces-display): Add optional argument. + +2005-02-02 Stefan Monnier + + * font-core.el (font-lock-default-function): Handle the rare case where + only font-lock-keywords is set. + +2005-02-02 Kenichi Handa + + * international/characters.el: Cancel previous change for + I-WITH-DOT-ABOVE and DOTLESS-i. + + * international/latin-5.el: Cancel previous change. + +2005-02-02 Nick Roberts + + * progmodes/gud.el: Correction to syntax in gud-menu-map. + +2005-02-02 Kenichi Handa + + * international/latin-5.el (tbl): Setup cases of I-WITH-DOT-ABOVE, + DOTLESS-i. + + * international/characters.el: Setup cases of GREEK-FINAL-SIGMA, + Y-WITH-DIAERESIS, I-WITH-DOT-ABOVE, DOTLESS-i. + + * case-table.el (get-upcase-table): New function. + (copy-case-table): Copy upcaes table too if non-nil. + (set-case-syntax-delims): Maintain upcase table too. + (set-case-syntax-pair): Likewise. + (set-upcase-syntax, set-downcase-syntax): New functions. + (set-case-syntax): Maintain upcase table too. + +2005-02-02 Nick Roberts + + * progmodes/gdb-ui.el (gdb-goto-info): Delete. + + * progmodes/gud.el (gud-goto-info): New function. + (gud-tool-bar-map): Use correct icon. + +2005-02-01 Thien-Thi Nguyen + + * emacs-lisp/lisp-mode.el (lisp-indent-function): Fix bug: + When delegating, order args in the funcall correctly. + +2005-02-01 Thien-Thi Nguyen + + * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix. + +2005-02-01 Carsten Dominik + + * textmodes/reftex.el (reftex-access-scan-info): Error out in a + buffer not visiting a file. + +2005-01-31 Jay Belanger + + * calc/calc-embed.el (calc-embedded-find-bounds): Set the formula + bound on the line with the formula. + +2005-01-31 Kim F. Storm + + * ses.el (ses-create-cell-variable-range) + (ses-destroy-cell-variable-range, ses-reset-header-string) + (ses-set-with-undo, ses-unset-with-undo, ses-aset-with-undo) + (ses-insert-row): Fix format of apply undo entries. + +2005-01-31 Jay Belanger + + * calc/calc-aent.el (math-read-token): Separate the TeX and LaTeX + parts. + + * calc/calc-embed.el (calc-embedded-open-formula) + (calc-embedded-close-formula): Ignore matrix environments. + + * calc/calc-ext.el (math-read-big-expr): Make LaTeX the default + TeX mode. + + * calc/calc-lang.el (math-function-table, math-oper-table) + (math-variable-table): Adjust the LaTeX portions. + + * calc/calc.el (math-tex-ignore-words): Remove LaTeX portion. + (math-latex-ignore-words): New constant. + +2005-01-31 Richard M. Stallman + + * textmodes/ispell.el (ispell-local-dictionary-overridden): New var. + (ispell-local-dictionary): Doc fix. + (ispell-dictionary-alist): Don't include ispell-local-dictionary-alist. + Don't reinitialize at run time. Don't defcustom. + All uses changed to append ispell-local-dictionary-alist, + or check it first. + (ispell-current-dictionary): New variable for dictionary in use. + (ispell-dictionary): Now used only for global default. + (ispell-start-process): Set ispell-current-dictionary, + not ispell-dictionary. + (ispell-change-dictionary): Use this only for setting + user preferences. + (ispell-internal-change-dictionary): New function + to change the current dictionary in use. + (ispell-region, ispell-process-line, ispell-buffer-local-dict): + Use ispell-current-dictionary. + Handle ispell-local-dictionary-overridden. + (ispell-buffer-local-dict): Call ispell-internal-change-dictionary. + +2005-01-31 Jay Belanger + + * calc/calc-aent.el (math-read-token): Add support for LaTeX. + + * calc/calc-ext.el: Add calc-latex-language to autoloads. + (calc-mode-map): Add calc-latex-language. + + * calc/calc-lang.el (calc-latex-language, math-latex-parse-frac) + (math-latex-print-frac): New functions. + (math-oper-table, math-function-table, math-variable-table) + (math-complex-format, math-input-filter): Add latex properties. + (calc-set-language): Set math-expr-special-function-mapping. + + * calc/calc-prog.el (calc-edit-user-syntax, calc-fix-token-name) + (calc-write-parse-table-part): Add LaTeX support. + + * calc/calc.el (calc-language): Adjust docstring. + (calc-set-mode-line): Add LaTeX support. + (math-expr-special-function-mapping): New variable. + (math-tex-ignore-words): Add to list. + + * calc/calccomp.el (math-compose-expr, math-compose-rows): + Add LaTeX support. + (math-compose-expr): Add support for special functions. + + * calc/calc-help.el (calc-d-prefix-help): Add LaTeX. + +2005-01-31 Nick Roberts + + * progmodes/gdb-ui.el (gdb-memory-address) + (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit) + (gdb-memory-mode-map, gdb-memory-format-keymap) + (gdb-memory-format-menu, gdb-memory-unit-keymap) + (gdb-memory-unit-menu): New variables for a buffer + that lets the user examine program memory. + (gdb-memory-set-address, gdb-memory-set-repeat-count) + (gdb-memory-format-binary, gdb-memory-format-octal) + (gdb-memory-format-unsigned, gdb-memory-format-signed) + (gdb-memory-format-hexadecimal, gdb-memory-format-menu) + (gdb-memory-format-menu-1, gdb-memory-unit-giant) + (gdb-memory-unit-word, gdb-memory-unit-halfword) + (gdb-memory-unit-byte, gdb-memory-unit-menu) + (gdb-memory-unit-menu-1, gdb-make-header-line-mouse-map) + (gdb-memory-mode, gdb-memory-buffer-name) + (gdb-display-memory-buffer, gdb-frame-memory-buffer): + New functions for above buffer. + +2005-01-30 Richard M. Stallman + + * cus-edit.el (custom-bury-buffer): Function deleted. + (custom-buffer-done-function): Option deleted. + (custom-buffer-done-kill): New replacement option. + (Custom-buffer-done): Call quit-window. + (custom-buffer-create-internal): Update for above changes. + +2005-01-29 Luc Teirlinck + + * simple.el (undo-ask-before-discard): New var. + (undo-outer-limit-truncate): Implement it. + (undo-extra-outer-limit): Doc update. + +2005-01-29 Richard M. Stallman + + * ses.el (undo-more): Delete defadvice. + (ses-begin-change): Doc fix. + + * dired.el (dired-mode-map): Remap `undo' and `advertised-undo' + instead of rebinding C-x u and C-_. + + * files.el (normal-backup-enable-predicate): Return nil for files + in /tmp, regardless of temporary-file-directory. + + * man.el (Man-getpage-in-background): Disable undo in Man buffer. + + * rect.el (delete-rectangle-line, delete-extract-rectangle-line) + (open-rectangle, delete-whitespace-rectangle-line) + (clear-rectangle-line): If FILL, pass t instead of FILL + for move-to-column's 2nd arg. + + * simple.el (undo): Fix the test for continuing a series of undos. + (undo-more): Set pending-undo-list to t when we reach end. + (pending-undo-list): Move up defvar. + + * wid-edit.el (widget-button-click): + Shorten the range of the track-mouse binding. + + * comint.el (comint-insert-input): Undo previous changes; + use last-input-event in interactive spec. + +2005-01-29 Eli Zaretskii + + * progmodes/compile.el (compilation-start): Bind buffer-read-only + to nil before invoking call-process. Reset buffer's modified flag + after fontifying it in the no-async branch. + + * wid-edit.el (widget-specify-button): If mouse pointer shape + cannot be changed, use mouse face instead. + +2005-01-29 Nick Roberts + + * progmodes/gdb-ui.el (gdb-info-breakpoints-custom) + (gdb-goto-breakpoint): Make breakpoint handling work on template + functions in C++. Reported by Martin Reed . + (gdb-assembler-custom): Update to recognize breakpoint information + added on 2005-01-19. + +2005-01-28 Stefan Monnier + + * progmodes/scheme.el (scheme-mode-variables): Set comment-add. + (dsssl-mode): Use define-derived-mode. + (scheme-mode-initialize): Remove. + (scheme-mode): Use run-mode-hooks. + + * cus-edit.el (customize-group-other-window) + (custom-buffer-create-other-window): Don't override special-display-*. + (custom-mode-map): Make it dense. + + * emacs-lisp/lisp-mode.el (eval-defun-1): Make sure `defvar' always + sets the default value. + +2005-01-28 Eli Zaretskii + + * descr-text.el: Add more keywords. + +2005-01-27 Stefan Monnier + + * speedbar.el: Avoid unnecessary use of locate-library. + + * international/mule-cmds.el (standard-display-european-internal): + Don't fiddle with latin-1 non-break space any more since it's now + special cased in the C code. + Don't "do&undo" setting for 160 (especially, don't undo incorrectly). + +2005-01-26 Luc Teirlinck + + * cus-start.el (all): Add `undo-outer-limit'. + +2005-01-25 Roland Winkler + + * textmodes/bibtex.el (bibtex-format-entry): + Use `bibtex-empty-field-re' only on the text of fields, not on entire + field lines. + (bibtex-autofill-entry): Use `bibtex-empty-field-re' on a string, + not on part of a buffer. + +2005-01-25 Lute Kamstra + + * textmodes/bibtex.el (bibtex-empty-field-re): Don't match + nonempty field text strings like "{letters\\macro{}more letters}". + Clarify docstring. + (bibtex-sort-entry-class, bibtex-autokey-titleword-ignore) + (bibtex-entry-offset, bibtex-parse-association) + (bibtex-parse-field-name): Fix typos in docstrings. + (bibtex-field-list, bibtex-find-crossref): Fix typos in error messages. + +2005-01-24 Dan Nicolaescu + Juri Linkov + + * textmodes/reftex-global.el (reftex-isearch-push-state-function) + (reftex-isearch-pop-state-function, reftex-isearch-isearch-search) + (reftex-isearch-switch-to-next-file, reftex-isearch-turn-off) + (reftex-isearch-turn-on, reftex-isearch-minor-mode): New functions. + + * textmodes/reftex.el (reftex-mode-menu): Add entry for reftex + isearch minor mode. + +2005-01-24 Luc Teirlinck + + * help-at-pt.el (help-at-pt-display-when-idle): Add autoload cookie. + +2005-01-24 Lute Kamstra + + * textmodes/ispell.el (ispell-dictionary-alist-4): Rewrite the + CASECHARS and NOT-CASECHARS regular expressions of the + "nederlands" and "nederlands8" dictionaries to prevent a "Range + striding over charsets" error. + +2005-01-24 Jay Belanger + + * calc/calc-store.el (calc-declare-variable): Use calc-var-name to + display variable name. + +2005-01-24 Kenichi Handa + + * international/encoded-kb.el (encoded-kbd-iso2022-single-shift): + Fix setting of the element of encoded-kbd-iso2022-invocations. + +2005-01-24 Nick Roberts + + * progmodes/gdb-ui.el (gdb-goto-breakpoint, gdb-frames-select) + (gdb-threads-select): Change to also accept mouse events. + (gdb-mouse-goto-breakpoint, gdb-frames-mouse-select) + (gdb-threads-mouse-select): Delete. + +2005-01-23 Luc Teirlinck + + * files.el (insert-directory): Take care of empty directory, + listed without -a switch. + +2005-01-23 Stefan Monnier + + * textmodes/refill.el (refill-post-command-function): + Add `indent-new-comment-line' and `reindent-then-newline-and-indent' + to the list of functions that we should be careful not to undo. + (refill-late-fill-paragraph-function): Remove. + (refill-saved-state): New var. + (refill-mode): Use it to save fill-paragraph-function. + Save also the value of auto-fill-function. + + * term/w32-win.el: Simplify code. + +2005-01-23 Kim F. Storm + + * simple.el (line-move): Adapt to new return value from + pos-visible-in-window-p. + + * simple.el (line-move): Fix last change. Check partial + visibility at point rather than at window-start. + +2005-01-22 Jason Rumney + + * term/w32-win.el (xw-defined-colors): Remove debug-message. + +2005-01-22 David Kastrup + + * progmodes/grep.el: Add alias `find-grep' for `grep-find'. + +2005-01-22 Eli Zaretskii + + * type-break.el (type-break-mode): Add a test for + type-break-file-name being non-nil. + +2005-01-22 Toby Allsopp (tiny change) + + * net/eudc.el (top level): Call (message "") via progn, so that + eudc-options-file is loaded. + +2005-01-22 Kim F. Storm + + * simple.el (line-move-1): Rename from line-move. + (line-move): New function that adjusts vscroll for partially + visible rows, and calls line-move-1 otherwise. + +2005-01-21 Ren,Ai(B Kyllingstad + + * pcomplete.el: Define pcomplete-read-event instead of read-event, + since it's not a complete read-event implementation. + +2005-01-20 Jay Belanger + + * calc/calc-ext.el (calc-fancy-prefix-other-key): Set prefix arg + for called function. + +2005-01-20 Steven Tamm + + * term/mac-win.el (process-connection-type): Remove. + Controlled now by s/darwin.h:PTY_ITERATION. + +2005-01-20 Stefan Monnier + + * window.el (handle-select-window): Don't switch window when we're + in the minibuffer. + +2005-01-10 Paul Pogonyshev + + * subr.el (dotimes-with-progress-reporter): New macro. + + * ses.el (ses-dotimes-msg): Remove macro. + Use `dotimes-with-progress-reporter' instead. + +2005-01-19 Steven Tamm + + * term/mac-win.el (process-connection-type): Use new + operating-system-release variable to use ptys on Darwin 7 (OS X + 10.3) when using carbon build. + +2005-01-19 Jay Belanger + + * calc/calc-ext.el (calc-fancy-prefix-other-key): Don't clear + flags if the last command was a tab or M-tab. + + * calc/calc-prog.el (calc-user-define-edit): Put original formula + in formula editing buffer. + +2005-01-19 Nick Roberts + + * progmodes/gdb-ui.el (gdb-put-breakpoint-icon): Add help-echo for + breakpoint image symbol in margin. + +2005-01-19 Jay Belanger + + * calc/calc-prog.el (calc-execute-kbd-macro): + Ignore calc-keep-arg-flag. + +2005-01-19 Kenichi Handa + + * textmodes/ispell.el (ispell-looking-at): New function. + (ispell-process-line): Use ispell-looking-at to compare the ispell + output and the buffer contents. + +2005-01-18 Jay Belanger + + * calc/calc.el (calc-display-raw): Fix docstring. + +2005-01-18 Stefan Monnier + + * simple.el (blink-matching-open): Strip extra info from syntax. + + * progmodes/sh-script.el (sh-here-doc-open-re): Don't allow | or other + funny chars in the end-of-here-doc marker. + +2005-01-19 Nick Roberts + + * progmodes/gdb-ui.el (gdb-put-string): Copy/create strings so + that enable/disabled state of breakpoints is shown correctly in + fringe and on ttys. + (gdb-put-breakpoint-icon, gdb-info-breakpoints-custom): + Add breakpoint information as text properties. + (gdb-mouse-toggle-breakpoint): + Rename to gdb-mouse-set-clear-breakpoint. + (gdb-mouse-toggle-breakpoint): New function. Enable/disable + breakpoints in the margin. + (gdb-remove-strings): Simplify. + +2005-01-17 Jay Belanger + + * calc/calc-yank.el (calc-edit-mode): Inhibit read-only when + erasing buffer. + +2005-01-17 Richard M. Stallman + + * progmodes/grep.el (grep-find): Copy from `grep' the condition + for calling grep-compute-defaults. + + * play/decipher.el (decipher-mode): Don't call decipher-read-alphabet + if buffer is empty. + + * emacs-lisp/lisp.el (backward-kill-sexp, kill-sexp): Doc fixes. + +2005-01-17 Stefan Monnier + + * hilit-chg.el (highlight-changes-mode): Don't autoload. + + * bindings.el (mode-line-mode-menu): Use bound-and-true-p for all the + non-preloaded variables. + +2005-01-17 Steven Tamm + + * textmodes/tex-mode.el (tex-start-shell): Adding -i to the + tex-shell cause to force interactivity when using pipes. + +2005-01-17 Kim F. Storm + + * simple.el (just-one-space): Make arg optional. + +2005-01-17 Nick Roberts + + * xt-mouse.el (xterm-mouse-event): Set new optional fourth arg in + posn-at-x-y to t to access left-margin. + +2005-01-16 Michael Albinus + + Sync with Tramp 2.0.47. + + * net/tramp.el (tramp-operation-not-permitted-regexp): New defcustom, + catching keep-date problems in cp/scp operations. + (tramp-handle-copy-file): Don't call `set-file-modes' + unconditionally. Specialized functions should know better what is + necessary. This improves performance a little bit, and the + functions could catch errors with `cp -p' and `scp -p'. + (tramp-do-copy-or-rename-file-via-buffer) + (tramp-do-copy-or-rename-file-out-of-band): Call `set-file-modes' + when appropriate. + (tramp-do-copy-or-rename-file-directly): Mask `cp -p' error. + Call `set-file-modes' when appropriate. + (tramp-action-out-of-band): Mask `scp -p' error. Reported by Isak + Johnsson . + (tramp-get-buffer, tramp-get-debug-buffer): Discard the undo list + of both Tramp buffer and debug buffer. Reported by Joakim Verona + . + (tramp-file-name-for-operation): Mark `shell-command' as magic for + Emacs only. + + * net/tramp-util.el (tramp-minor-mode): New minor mode. Add it to + `find-file-hooks' and `dired-mode-hook'. + (tramp-minor-mode-map): Respective map. Add remapping for + `compile' and `recompile'. + (tramp-remap-command, tramp-recompile): New defuns. + (tramp-compile): Enable `tramp-minor-mode' and `compilation-mode' + in buffer "*Compilation*". Call the commands asynchronously. + + * net/tramp-vc.el (tramp-vc-do-command, tramp-vc-do-command-new) + (tramp-vc-simple-command): Call `tramp-handle-shell-command' but + `shell-command', because it isn't magic in XEmacs. Reported by + Adrian Aichner . + + * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add entry for + `substitute-in-file-name'. + (tramp-smb-handle-substitute-in-file-name): New defun. + (tramp-smb-advice-PC-do-completion): Delete advice. + +2005-01-16 Kai Grossjohann + + * net/tramp.el (tramp-wait-for-output): Fix typo in echo processing. + Fix error in deleting region. + +2005-01-15 Richard M. Stallman + + * emacs-lisp/lisp-mnt.el (lm-with-file): Use Lisp mode in temp buffer. + In non-temp buffer, switch syntax table temporarily. + + * emacs-lisp/lisp-mode.el (indent-pp-sexp): Doc fix. + + * replace.el (occur-accumulate-lines, occur-engine): Avoid warnings. + + * tar-mode.el (tar-extract): Bind buffer-undo-list to t. + + * imenu.el (imenu--split-menu): Copy menulist before sorting. + (imenu--generic-function): Use START, not BEG, as pos of definition. + + * simple.el (just-one-space): Argument specifies number of spaces. + + * simple.el (eval-expression-print-format): Avoid warning + about edebug-active. + +2005-01-15 James R. Van Zandt (tiny change) + + * progmodes/sh-script.el: Code copied from make-mode.el + with small changes, + (sh-mode-map): Bind C-c C-\. + (sh-backslash-column, sh-backslash-align): New variables. + (sh-backslash-region, sh-append-backslash): New functions. + +2005-01-15 Sergey Poznyakoff + + * mail/rmail.el: Updated to work with movemail from GNU Mailutils + (rmail-pop-password, rmail-pop-password-required): Move to + rmail-obsolete group. + (rmail-set-pop-password): Rename to rmail-set-remote-password. + All callers updated. + (rmail-get-pop-password): Rename to rmail-get-remote-password. + Take an argument specifying whether it is POP or IMAP mailbox we + are using. All callers updated. + (rmail-pop-password-error): Rename to + rmail-remote-password-error. Added mailutils-specific error message. + (rmail-movemail-search-path) + (rmail-movemail-variant-in-use): New variables. + (rmail-remote-password, rmail-remote-password-required): + New customization variables. + (rmail-probe, rmail-autodetect, rmail-movemail-variant-p): New funs. + (rmail-parse-url): New function. + (rmail-get-new-mail, rmail-insert-inbox-text): Update for use + with GNU mailutils movemail. + +2005-01-15 Kevin Ryde + + * info-look.el (c-mode/symbol): Add ^` to prefix, and change + suffix to space, $ or '$, to correctly position point when going + to @table style constants like DBL_MAX. + +2005-01-15 Jorgen Schaefer (tiny change) + + * type-break.el (type-break-mode, type-break-file-time) + (type-break-file-keystroke-count, type-break-choose-file): + Don't store data in or load data from the file if type-break-file-name + is nil. + (type-break-file-name): Doc update as per the above. + +2005-01-15 Stephen Eglen (tiny change) + + * woman.el (woman-dired-define-key-maybe): If KEY is undefined, + lookup-key might return nil; handle that. + +2005-01-15 Alan Mackenzie + - * ebrowse.el (ebrowse-class-in-tree): Return the tail of the tree - rather than the element found, thus enabling the tree to be setcar'd. ++ * progmodes/ebrowse.el (ebrowse-class-in-tree): ++ Return the tail of the tree rather than the element found, ++ thus enabling the tree to be setcar'd. + +2005-01-14 Carsten Dominik + + * textmodes/org.el (org-show-following-heading): New option. + (org-show-hierarchy-above): Use `org-show-following-heading'. + (org-cycle): Documentation fix. + - * textmodes/org.el (orgtbl-optimized): New option ++ * textmodes/org.el (orgtbl-optimized): New option. + (orgtbl-mode): New command, a minor mode. + (orgtbl-mode-map): New variable. + (turn-on-orgtbl, orgtbl-mode, orgtbl-make-binding) + (orgtbl-error, orgtbl-self-insert-command) + (orgtbl-delete-backward-char, orgtbl-delete-char): New functions. + + * textmodes/org.el (org-mode): `org-table-may-need-update' is now + a local variable in each org-mode buffer. + + * textmodes/org.el (org-set-regexps-and-options): Rename from + `org-set-regexps'. Added checking for STARTUP keyword. + (org-get-current-options): Add STARTUP options. + (org-table-insert-row): Make mode intelligent about when + realignment is needed. + (org-self-insert-command, org-delete-backward-char, org-delete-char): + New commands. + (org-enable-table-editor): New default value `optimized'. + (org-table-blank-field): Support blanking regions if active. + +2005-01-14 Carsten Dominik + + * textmodes/reftex-cite.el (reftex-bib-sort-year): Catch the case + if the year is not given. + + * textmodes/reftex-ref.el (reftex-replace-prefix-escapes): + Add new escapes %m and %M, fixed bug with %F by adding + save-match-data. + (reftex-reference): Remove ?. from list of spaces. + (reftex-label-info): Add automatic label prefix recognition. + + * textmodes/reftex-index.el (reftex-index-next-phrase): + Add slave parameter to call of `reftex-index-this-phrase'. + (reftex-index-this-phrase): New optional argument. + (reftex-index-region-phrases): Add slave parameter to call of + `reftex-index-this-phrase'. + (reftex-display-index): New argument redo. + (reftex-index-rescan): Add `redo' to arguments of + `reftex-display-index'. + (reftex-index-Rescan, reftex-index-revert) + (reftex-index-switch-index-tag): Add `redo' to arguments of + `reftex-display-index'. + (reftex-index-make-phrase-regexp): Fix bug with case-sensitive + indexing. Fix bug with matching is there is a quote before or + after the word. + + * textmodes/reftex-cite.el (reftex-all-used-citation-keys): + Fix bug when collecting citation keys in lines with comments. + (reftex-citation): Prefix argument no longer rescans the document, + but forces prompting for optional arguments of cite macros. + (reftex-do-citation): Prompting for optional arguments implemented. + + * textmodes/reftex-vars.el (reftex-cite-format-builtin): + Add optional arguments to most cite commands. + (reftex-cite-cleanup-optional-args): New option + (reftex-cite-prompt-optional-args): New option. + (reftex-trust-label-prefix): New option. + + * textmodes/reftex-toc.el (reftex-toc-find-section): + Add push-mark before changing the position in the buffer. + + * textmodes/reftex.el (reftex-prefix-to-typekey-alist): New variable. + (reftex-compile-variables): Compute reftex-prefix-to-typekey-alist. + +2005-01-14 Nick Roberts + + * xt-mouse.el (xterm-mouse-event): Compute window co-ordinates + more carefully. + +2005-01-13 Stefan Monnier + + * textmodes/sgml-mode.el (sgml-fill-nobreak): New fun. + (sgml-mode): Use it. + (sgml-get-context): Better keep track of implicitly closed tags. + +2005-01-13 Kenichi Handa + + * textmodes/ispell.el: These changes are to fix misalignment error + caused by equivalent characters of different Emacs charsets. + (ispell-unified-chars-table): New variable. + (ispell-get-decoded-string): New function. + (ispell-get-casechars, ispell-get-not-casechars) + (ispell-get-otherchars): Call ispell-get-decoded-string. + +2005-01-12 Johan Bockg,Ae(Brd + + * custom.el (custom-declare-variable): Just put symbol instead + of (defvar . symbol) in `current-load-list'. + +2005-01-12 Reiner Steib + + * emacs-lisp/elint.el: Fixed typo in Commentary section. + +2005-01-12 Jay Belanger + + * calc/calc-help.el (calc-describe-key): Use temporary info buffer + to create a Calc summary. + +2005-01-12 Kim F. Storm + + * mouse.el (mouse-on-link-p): Change functionality and doc + string to comply with latest description in lisp ref. + +2005-01-12 Nick Roberts + + * xt-mouse.el (xterm-mouse-translate, xterm-mouse-event): + Enable mouse clicks on mode-line, header-line and margin. + (event-type): Give mouse event symbols an `event-kind' property + with value `mouse-click'. + +2005-01-12 Juri Linkov + + * facemenu.el (list-colors-display): Add new arg buffer-name. + Use it. Fix docstring. Replace code for identifying duplicate + colors by the name with call to `list-colors-duplicates' which + identifies duplicate colors by the value unless the color + is one of special Windows colors. Set truncate-lines to t. + Print sorted duplicate color names on each line. Indent to 22 + \(the longest color name in rgb.txt) instead of 20. Optimize. + (list-colors-duplicates): New function. + (facemenu-color-name-equal): Delete function. + + * facemenu.el (list-colors-print): New function created from code + in list-colors-display. Print #RRGGBB at the window right edge. + (list-colors-display): When temp-buffer-show-function is not + defined, call list-colors-print from temp-buffer-show-hook + to get the right value of window-width in list-colors-print + after the buffer is displayed. + + * simple.el (pop-mark): Move deactivate-mark out of conditional + part to deactivate the active mark regardless of the state of the + mark ring. + + * desktop.el (desktop-save): Add `mode: emacs-lisp' to the local + variables line in desktop files. + +2005-01-12 Juri Linkov + + * isearch.el (search-highlight, isearch, isearch-lazy-highlight): + Bring together isearch highlight related options. + (lazy-highlight): Replace group `replace' by `matching'. + (lazy-highlight-cleanup, lazy-highlight-initial-delay) + (lazy-highlight-interval, lazy-highlight-max-at-a-time) + (lazy-highlight): Add aliases to old names isearch-lazy-highlight-... + and declare them obsolete. + (lazy-highlight-face): Rename from isearch-lazy-highlight-face. + (isearch-faces): Remove defgroup. + (isearch-overlay, isearch-highlight, isearch-dehighlight): + Move isearch highlighting code closer to lazy highlighting code. + + * replace.el (query-replace-lazy-highlight): Add lazy-highlight group. + (query-replace-highlight, query-replace-lazy-highlight) + (query-replace): Move definitions to the beginning of the file. + +2005-01-11 Juri Linkov + + * toolbar/back_arrow.xpm, toolbar/back_arrow.pbm + * toolbar/lc-back_arrow.xpm, toolbar/lc-fwd_arrow.xpm + * toolbar/fwd_arrow.xpm, toolbar/fwd_arrow.pbm: New icons. + + * info.el (Info-history-forward): New variable. + (Info-select-node): Reset Info-history-forward to nil. + (Info-last): Turn into defalias. + (Info-history-back): Rename from Info-last. + Add current node to Info-history-forward. + (Info-history-forward): New fun. + (Info-mode-map): Replace Info-last by Info-history-back. + Bind Info-history-forward to "r". + (Info-mode-menu): Replace Info-last by Info-history-back. + Fix menu item text. Add menu item for Info-history-forward. + (info-tool-bar-map): Replace Info-last by Info-history-back. + Replace its icon "undo" by "back_arrow". Add icon "fwd_arrow" + for Info-history-forward. + (Info-mode): Replace Info-last by Info-history-back in docstring. + Add local variable Info-history-forward. + (Info-goto-emacs-command-node): Replace Info-last by Info-history-back. + +2005-01-11 Stefan Monnier + + * mouse.el (mouse-drag-mode-line-1, mouse-drag-vertical-line) + (mouse-drag-region, mouse-drag-region-1, mouse-drag-secondary): + Ignore select-window events rather than fiddle with + mouse-autoselect-window. + +2005-01-11 Matthew Mundell + + * type-break.el (type-break-mode): Fix previous change. + +2005-01-10 Jay Belanger + + * calc/calc-ext.el (calc-reset): Reset when inside embedded + calculator; only reset when point is inside a calculator. + Don't adjust the window height if the window takes up the whole height + of the frame. + +2005-01-10 Thien-Thi Nguyen + + * ebuff-menu.el (Electric-buffer-menu-mode): + Preserve value of buffer-local var header-line-format. + +2005-01-09 Jay Belanger + + * calc/calc.el (calc-mode-var-list-restore-saved-values): + Make sure settings file exists before accessing it. + + * calc/calc-embed.el (calc-embedded-subst): + Replace math-multi-subst-rec, which is only supposed to be called + by math-multi-subst, by math-multi-subst. + +2005-01-09 Andre Spiegel + + * vc.el (vc-allow-async-revert): New user option. + (vc-disable-async-diff): New internal variable. + (vc-revert-buffer): Use them to disable asynchronous diff. + + * vc-cvs.el, vc-arch.el, vc-svn.el, vc-mcvs.el (vc-cvs-diff) + (vc-arch-diff, vc-svn-diff, vc-mcvs-diff): Don't diff + asynchronously if vc-disable-async-diff is t. + +2005-01-09 Jay Belanger + + * calc/calc.el (defcalcmodevar): New macro. + (calc-mode-var-list-restore-default-values) + (calc-mode-var-list-restore-saved-values): New functions. + (calc-mode-var-list): Use defcalcmodevar to define it. + (calc-always-load-extensions, calc-line-numbering) + (calc-line-breaking, calc-display-just, calc-display-origin) + (calc-number-radix, calc-leading-zeros, calc-group-digits) + (calc-group-char, calc-point-char, calc-frac-format) + (calc-prefer-frac, calc-hms-format, calc-date-format) + (calc-float-format, calc-full-float-format, calc-complex-format) + (calc-complex-mode, calc-infinite-mode, calc-display-strings) + (calc-matrix-just, calc-break-vectors, calc-full-vectors) + (calc-full-trail-vectors, calc-vector-commas, calc-vector-brackets) + (calc-matrix-brackets, calc-language, calc-language-option) + (calc-left-label, calc-right-label, calc-word-size) + (calc-previous-modulo, calc-simplify-mode, calc-auto-recompute) + (calc-display-raw, calc-internal-prec, calc-angle-mode) + (calc-algebraic-mode, calc-incomplete-algebraic-mode) + (calc-symbolic-mode, calc-matrix-mode, calc-shift-prefix) + (calc-window-height, calc-display-trail, calc-show-selections) + (calc-use-selections, calc-assoc-selections) + (calc-display-working-message, calc-auto-why, calc-timing) + (calc-mode-save-mode, calc-standard-date-formats, calc-autorange-units) + (calc-was-keypad-mode, calc-full-mode, calc-user-parse-tables) + (calc-gnuplot-default-device, calc-gnuplot-default-output) + (calc-gnuplot-print-device, calc-gnuplot-print-output) + (calc-gnuplot-geometry, calc-graph-default-resolution) + (calc-graph-default-resolution-3d, calc-invocation-macro) + (calc-show-banner): Use defcalcmodevar to declare them and set + their default values. + + * calc/calc-ext.el (calc-reset): Restore saved values of variables + instead of default values (but restore default values if there is + an argument of 0). + +2005-01-09 David Kastrup + + * desktop.el (desktop-restore-eager): Fix typo in type. + +2005-01-08 Richard M. Stallman + + * cus-edit.el (customize): Delete :link. + +2005-01-08 Jay Belanger + + * calc/calc.el (calc-mode): Remove the extension from the + `calc-settings-file' file name when loading it. + +2005-01-08 Kim F. Storm + + * info.el (Info-mode-map, Info-next-link-keymap) + (Info-prev-link-keymap, Info-up-link-keymap): + Map follow-link to mouse-face. + (Info-fontify-node): Add "mouse-2: " prefix to tooltip. + +2005-01-08 Jay Belanger + + * calc/calc.el (calc-settings-file): Change default value. + Suggested by cgw in a comment in calc-mode.el. + + * calc/calc-mode.el (calc-settings-file-name): + Compare calc-settings-file to user-init-file instead of ~/.emacs. + Replace ~/.emacs in a prompt by calc-settings-file. + +2005-01-07 Lars Hansen + + * desktop.el (desktop-restore-eager, desktop-lazy-verbose) + (desktop-lazy-idle-delay): New customizable variables. + (desktop-buffer-args-list): New variable. + (desktop-append-buffer-args): New function. + (desktop-save): Call desktop-append-buffer-args for some buffers. + (desktop-lazy-create-buffer): New function. + (desktop-idle-create-buffers): New function. + (desktop-read): Add message about buffers to restore lazily. + (desktop-lazy-abort): New command. + (desktop-clear): Call desktop-lazy-abort. + (desktop-lazy-complete): New command. + +2005-01-06 Richard M. Stallman + + * emacs-lisp/find-func.el (find-face-definition): + Rename from find-face. + +2005-01-06 Kim F. Storm + + * simple.el (completion-list-mode-map): Map follow-link to mouse-face. + + * man.el (Man-xref-man-page, Man-xref-header-file) + (Man-xref-normal-file): Add follow-link property. + +2005-01-06 Jay Belanger + + * calc/calc-units.el: Make sure the proper macro definitions are + available when compiling. + +2005-01-06 Juri Linkov + + * isearch.el (isearch-lazy-highlight-update): + Rename `isearch-lazy-highlight-interval' to `lazy-highlight-interval'. + +2005-01-06 Miles Bader + + * isearch.el (lazy-highlight): Rename from `lazy-highlight-face'. + (isearch-lazy-highlight-face): Use new name. + +2005-01-05 Stefan Monnier + + * uniquify.el (uniquify-rationalize-file-buffer-names): + Re-add an interactive spec. + (uniquify-rationalize-file-buffer-names): Fix corner case when renaming + to the same name. + + * isearch.el (isearch-dehighlight): Remove unused arg `totally'. + (isearch-update, isearch-done): Adjust calls accordingly. + +2005-01-05 Richard M. Stallman + + * custom.el (custom-set-variables, custom-theme-set-variables): + Clarify documentation. + + * emacs-lisp/find-func.el (find-variable) + (find-variable-other-window, find-variable-other-frame): + Fix the TYPE args to find-function-read and find-function-do-it. + (find-function): Doc fix. + (find-function-at-point): Replace function-at-point alias. + +2005-01-04 Richard M. Stallman + + * cus-face.el (custom-declare-face): + Record defface in current-load-list. + + * help-fns.el (variable-at-point): New arg ANY-SYMBOL. + + * emacs-lisp/find-func.el: Doc fixes. + (find-face-regexp): New variable. + (find-function-regexp-alist): New variable. + (find-function-C-source): Third arg is now TYPE. + (find-function-search-for-symbol): Handle general TYPE. + (find-function-read, find-function-do-it): Handle general TYPE. + (find-definition-noselect, find-face): New functions. + (function-at-point): Alias deleted. + +2005-01-04 Stefan Monnier + + * battery.el (display-battery-mode): Rename from display-battery. + Handle the case where it gets turned off. + +2005-01-04 Richard M. Stallman + + * cus-edit.el (customize): Make :link point to user doc. + + * man.el (Man-fontify-manpage): Turn off undo generation. + + * add-log.el (change-log-font-lock-keywords): Don't match just "From". + +2005-01-04 Andreas Schwab + + * files.el (insert-directory): Only look for error lines in + inserted text. Don't move too far after processing --dired markers. + +2005-01-04 Richard M. Stallman + + * mail/mailabbrev.el (sendmail-pre-abbrev-expand-hook): + Don't expand if the character is @, period, dash, etc. + (define-mail-abbrev): Quote names that contain problem characters. + +2005-01-04 Thien-Thi Nguyen + + * progmodes/hideshow.el: No longer require `cl'; `dolist' is standard. + +2005-01-03 Richard M. Stallman + + * replace.el (replace-dehighlight): Use lazy-highlight-cleanup. + (query-replace-highlight, query-replace-lazy-highlight) + (query-replace): Definitions moved up. Doc fix. + +2005-01-03 Richard M. Stallman + + * isearch.el (lazy-highlight): Group renamed from isearch-lazy-... + (lazy-highlight-cleanup, lazy-highlight-initial-delay) + (lazy-highlight-interval, lazy-highlight-max-at-a-time) + (lazy-highlight-face): Rename from isearch-lazy-... + Change all references to them. + +2005-01-03 Luc Teirlinck + + * cus-edit.el (custom-file): Doc fix for defcustom. + (custom-file): The function no longer sets the variable + `custom-file' to its return value. + + * startup.el (command-line): No longer load `custom-file'. + +2005-01-03 Stefan Monnier + + * emacs-lisp/find-func.el (find-variable-regexp): Avoid defface. + + * progmodes/perl-mode.el (perl-nochange, perl-calculate-indent): + Don't confuse module-prefixed identifiers for labels. + Reported by Juan-Leon Lahoz Garcia . + +2005-01-02 Richard M. Stallman + + * files.el (basic-save-buffer-1): Fix previous change. + + * loadhist.el (file-loadhist-lookup): New function. + (file-provides, file-requires): Use it. + + * electric.el (Electric-pop-up-window): Use fit-window-to-buffer + instead of calculating the right size. + +2005-01-02 Karl Chen + + * vc-svn.el (vc-svn-diff): Stay local if possible. + +2005-01-02 Stefan Monnier + + * vc-arch.el (vc-arch-workfile-version): Handle the empty-branch case. + + * files.el (hack-local-variables): Fix last change. + +2005-01-02 Jay Belanger + + * calc/calc-yank.el (calc-edit-top): New variable. + (calc-edit-mode): Set calc-edit-top to be the beginning of the edited + object. Change header properties. + (calc-edit-finish, calc-edit-finish-stack-object) + (calc-edit-show-buffer): Use calc-edit-top to find the beginning of the + edited object. + * calc/calc-sel.el (calc-finish-selection-edit): Use calc-edit-top + for the beginning of the edited object. + * calc/calc-embed.el (calc-embedded-finish-edit): Use calc-edit-top + for the beginning of the edited object. + * calc/calc-prog.el (calc-edit-macro-finish-edit) + (calc-finish-formula-edit, calc-macro-repeats) + (calc-edit-macro-adjust-buffer, calc-edit-format-macro-buffer) + (calc-edit-macro-pre-finish-edit): Use calc-edit-top for the + beginning of the edited object. + (calc-user-define-edit): Change the header for editing macros. + Remove unnecessary variable. + +2005-01-01 Jay Belanger + + * calc/calc-yank.el (calc-edit-mode): Change default header. + (calc-edit-finish, calc-show-edit-buffer): Adjust to handle new header. + * calc/calc-store.el (calc-edit-variable): Change title to match new + header. + * calc/calc-prog.el (calc-edit-user-syntax): Change title in edit + mode to match new header. + (calc-user-define-edit): Change titles to include names of commands. + (calc-finish-formula-edit): Adjust to handle new header. + (calc-finish-macro-edit): Remove. + (calc-edit-macro-repeats, calc-edit-macro-adjust-buffer) + (calc-edit-macro-command, calc-edit-macro-command-type) + (calc-edit-macro-combine-alg-ent, calc-edit-macro-combine-ext-command) + (calc-edit-macro-combine-var-name, calc-edit-macro-combine-digits) + (calc-edit-format-macro-buffer, calc-edit-macro-pre-finish-edit) + (calc-edit-macro-finish-edit): New functions. + (calc-user-define-edit): Use new functions to edit named calc macros. + +2005-01-01 Stefan Monnier + + * files.el (hack-local-variables): Cleanup prefix/suffix matching. + + * ses.el (copy-region-as-kill): Deactivate mark. + +2005-01-01 Richard M. Stallman + + * replace.el (occur-1): If the output buffer is also an input, + don't kill it, rename it. + + * faces.el (set-face-background, set-face-foreground): Doc fix. + + * cus-face.el (custom-face-attributes): Fix :help-echo strings + for :foreground and :background. + + * dired.el (dired-view-command-alist): Variable deleted. + (dired-view-file, dired-mouse-find-file-other-window): + Delete the code to use it. + +2005-01-01 Kim F. Storm + + * image.el (insert-sliced-image): Use t for line-height property. + +See ChangeLog.11 for earlier changes. + +;; Local Variables: +;; coding: iso-2022-7bit +;; add-log-time-zone-rule: t +;; End: + + Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc. + + This file is part of GNU Emacs. + + GNU Emacs is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + GNU Emacs is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GNU Emacs; see the file COPYING. If not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. + +;;; arch-tag: e39939be-dab3-400e-86f5-0e2701a883c1 diff --cc lisp/emulation/tpu-edt.el index 12e64940b06,1379bc43a55..425ac450fae --- a/lisp/emulation/tpu-edt.el +++ b/lisp/emulation/tpu-edt.el @@@ -2425,36 -2489,9 +2432,36 @@@ If FILE is nil, try to load a default f (if (eq tpu-global-map parent) (set-keymap-parent map (keymap-parent parent)) (setq map parent))))) - (ad-disable-regexp "\\`tpu-") + (ignore-errors (ad-disable-regexp "\\`tpu-")) (setq tpu-edt-mode nil)) + +;;;### (autoloads (tpu-set-cursor-bound tpu-set-cursor-free tpu-set-scroll-margins +;;;;;; tpu-cursor-free-mode) "tpu-extras" "tpu-extras.el" "e0629234f1abe076917a303456b48329") +;;; Generated autoloads from tpu-extras.el + +(autoload 'tpu-cursor-free-mode "tpu-extras" "\ +Minor mode to allow the cursor to move freely about the screen. + +\(fn &optional ARG)" t nil) + +(autoload 'tpu-set-scroll-margins "tpu-extras" "\ +Set scroll margins. + +\(fn TOP BOTTOM)" t nil) + +(autoload 'tpu-set-cursor-free "tpu-extras" "\ +Allow the cursor to move freely about the screen. + +\(fn)" t nil) + +(autoload 'tpu-set-cursor-bound "tpu-extras" "\ +Constrain the cursor to the flow of the text. + +\(fn)" t nil) + +;;;*** + (provide 'tpu-edt) ;; arch-tag: f3dfe61c-2cbd-4f73-b9cc-eb215020b857 diff --cc lisp/gnus/ChangeLog index 5f49f2dc81a,38ef3175a92..de0af040849 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@@ -1,3 -1,7 +1,17 @@@ + 2007-10-23 Richard Stallman + + * gnus-group.el (gnus-group-highlight): Mark as risky. + ++2007-10-23 Katsumi Yamaoka ++ ++ * gnus.el (gnus-server-to-method): Return method found first in ++ gnus-newsrc-alist. ++ ++2007-10-20 Reiner Steib ++ ++ * html2text.el (html2text-fix-paragraph): Use `forward-line' instead of ++ `next-line'. ++ 2007-10-18 Katsumi Yamaoka * nnmail.el (nnmail-fancy-expiry-target): Use rmail-dont-reply-to to diff --cc lisp/gnus/gnus.el index 0e8e9908cf4,0e8e9908cf4..6fe8b1c3cbe --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el @@@ -3512,24 -3512,24 +3512,23 @@@ that that variable is buffer-local to t (cadar servers))))) (pop servers)) (car servers)) -- ;; This could be some sort of foreign server that I -- ;; simply haven't opened (yet). Do a brute-force scan -- ;; of the entire gnus-newsrc-alist for the server name -- ;; of every method. As a side-effect, loads the -- ;; gnus-server-method-cache so this only happens once, -- ;; if at all. -- (let (match) -- (mapcar -- (lambda (info) -- (let ((info-method (gnus-info-method info))) -- (unless (stringp info-method) -- (let ((info-server (gnus-method-to-server info-method))) -- (when (equal server info-server) -- (setq match info-method)))))) -- (cdr gnus-newsrc-alist)) -- match)))) -- (when result -- (push (cons server result) gnus-server-method-cache)) ++ ;; This could be some sort of foreign server that I ++ ;; simply haven't opened (yet). Do a brute-force scan ++ ;; of the entire gnus-newsrc-alist for the server name ++ ;; of every method. As a side-effect, loads the ++ ;; gnus-server-method-cache so this only happens once, ++ ;; if at all. ++ (let ((alist (cdr gnus-newsrc-alist)) ++ method match) ++ (while alist ++ (setq method (gnus-info-method (pop alist))) ++ (when (and (not (stringp method)) ++ (equal server (gnus-method-to-server method))) ++ (setq match method ++ alist nil))) ++ match)))) ++ (when result ++ (push (cons server result) gnus-server-method-cache)) result))) (defsubst gnus-server-get-method (group method) diff --cc lisp/gnus/html2text.el index 4baf491d47b,4baf491d47b..9f0916f797b --- a/lisp/gnus/html2text.el +++ b/lisp/gnus/html2text.el @@@ -352,7 -352,7 +352,7 @@@ formatting, and then moved afterward." (setq refill-start (point)) (goto-char p2) (re-search-backward ".+[^<][^b][^r][^>]$" refill-start t) -- (next-line 1) ++ (forward-line 1) (end-of-line) ;; refill-stop should ideally be adjusted to ;; accomodate the "
" strings which are removed diff --cc lisp/menu-bar.el index d0da787b8a9,a44165ff633..c05a4e66a9a --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@@ -1763,31 -1772,7 +1764,31 @@@ turn on menu bars; otherwise, turn off "Menu-bar mode disabled. Use M-x menu-bar-mode to make the menu bar appear.")) menu-bar-mode) +(defun toggle-menu-bar-mode-from-frame (&optional arg) + "Toggle menu bar on or off, based on the status of the current frame. +See `menu-bar-mode' for more information." + (interactive (list (or current-prefix-arg 'toggle))) + (if (eq arg 'toggle) + (menu-bar-mode (if (> (frame-parameter nil 'menu-bar-lines) 0) 0 1)) + (menu-bar-mode arg))) + +(defun menu-bar-open (&optional frame) + "Start key navigation of the menu bar in FRAME. + +This function decides which method to use to access the menu +depending on FRAME's terminal device. On X displays, it calls +`x-menu-bar-open'; otherwise it calls `tmm-menubar'. + +If FRAME is nil or not given, use the selected frame." + (interactive) + (if (eq window-system 'x) + (x-menu-bar-open frame) + (with-selected-frame (or frame (selected-frame)) + (tmm-menubar)))) + +(global-set-key [f10] 'menu-bar-open) + (provide 'menu-bar) - ;;; arch-tag: 6e6a3c22-4ec4-4d3d-8190-583f8ef94ced + ;; arch-tag: 6e6a3c22-4ec4-4d3d-8190-583f8ef94ced ;;; menu-bar.el ends here diff --cc lisp/progmodes/f90.el index 29ffbcfe6b1,65d7da3c33a..49cfa504b89 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el @@@ -531,42 -389,12 +531,42 @@@ and variable-name parts, respectively. f90-font-lock-keywords-1 (list ;; Variable declarations (avoid the real function call). - '("^[ \t0-9]*\\(real\\|integer\\|c\\(haracter\\|omplex\\)\\|\ -logical\\|double[ \t]*precision\\|type[ \t]*(\\sw+)\\)\ + ;; NB by accident (?), this correctly fontifies the "integer" in: + ;; integer () function foo () + ;; because "() function foo ()" matches \\3. + ;; The "pure" part does not really belong here, but was added to + ;; exploit that hack. + ;; The "function foo" bit is correctly fontified by keywords-1. + ;; TODO ? actually check for balanced parens in that case. + '("^[ \t0-9]*\\(?:pure\\|elemental\\)?[ \t]*\ +\\(real\\|integer\\|c\\(haracter\\|omplex\\)\\|\ - enumerator\\|generic\\|procedure\\|logical\\|double[ \t]*precision\\)\ ++enumerator\\|generic\\|procedure\\|logical\\|double[ \t]*precision\\|type[ \t]*(\\sw+)\\)\ \\(.*::\\|[ \t]*(.*)\\)?\\([^&!\n]*\\)" (1 font-lock-type-face t) (4 font-lock-variable-name-face t)) - ;; do, if, select, where, and forall constructs. - '("\\<\\(end[ \t]*\\(do\\|if\\|select\\|forall\\|where\\)\\)\\>\ + ;; Derived type/class variables. + ;; TODO ? If we just highlighted the "type" part, rather than + ;; "type(...)", this could be in the previous expression. And this + ;; would be consistent with integer( kind=8 ), etc. + '(f90-typedec-matcher + (1 font-lock-type-face) (2 font-lock-variable-name-face)) + ;; "real function foo (args)". Must override previous. Note hack + ;; to get "args" unhighlighted again. Might not always be right, + ;; but probably better than leaving them as variables. + ;; NB not explicitly handling this case: + ;; integer( kind=1 ) function foo() + ;; thanks to the happy accident described above. + ;; Not anchored, so don't need to worry about "pure" etc. + '("\\<\\(\\(real\\|integer\\|c\\(haracter\\|omplex\\)\\|\ +logical\\|double[ \t]*precision\\|\ +\\(?:type\\|class\\)[ \t]*([ \t]*\\sw+[ \t]*)\\)[ \t]*\\)\ +\\(function\\)\\>[ \t]*\\(\\sw+\\)[ \t]*\\(([^&!\n]*)\\)" + (1 font-lock-type-face t) (4 font-lock-keyword-face t) + (5 font-lock-function-name-face t) (6 'default t)) + ;; enum (F2003; cf type in -1). + '("\\<\\(enum\\)\\>\\([^()\n]*::\\)?[ \t]*\\(\\sw+\\)" + (1 font-lock-keyword-face) (3 font-lock-function-name-face)) + ;; end do, enum (F2003), if, select, where, and forall constructs. + '("\\<\\(end[ \t]*\\(do\\|if\\|enum\\|select\\|forall\\|where\\)\\)\\>\ \\([ \t]+\\(\\sw+\\)\\)?" (1 font-lock-keyword-face) (3 font-lock-constant-face nil t)) '("^[ \t0-9]*\\(\\(\\sw+\\)[ \t]*:[ \t]*\\)?\\(\\(if\\|\ diff --cc lisp/progmodes/fortran.el index 023e285659a,f58318c2a39..9ce55c27780 --- a/lisp/progmodes/fortran.el +++ b/lisp/progmodes/fortran.el @@@ -87,23 -88,14 +87,23 @@@ with a character in column 6. :group 'fortran-indent) (put 'fortran-tab-mode-default 'safe-local-variable 'booleanp) -(defcustom fortran-tab-mode-string "/t" - "*String to appear in mode line in TAB format buffers." +;; TODO add more detail of what tab mode is to doc string. +(defcustom fortran-tab-mode-string + (propertize "/t" 'help-echo "This buffer is in Fortran TAB mode" + 'mouse-face 'mode-line-highlight + 'local-map + (make-mode-line-mouse-map 'mouse-1 + (lambda () + (interactive) + (describe-variable + 'fortran-tab-mode-string)))) + "String to appear in mode line in TAB format buffers." :type 'string :group 'fortran-indent) - (put 'fortran-tab-mode-string 'risky-local-variable t) + (put 'fortran-tab-mode-string 'safe-local-variable 'stringp) (defcustom fortran-do-indent 3 - "*Extra indentation applied to DO blocks." + "Extra indentation applied to DO blocks." :type 'integer :group 'fortran-indent) (put 'fortran-do-indent 'safe-local-variable 'integerp) diff --cc lisp/textmodes/css-mode.el index 0ad883ca367,106148979cf..8660f75fa95 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el @@@ -33,10 -33,8 +33,12 @@@ ;;; Code: +(defgroup css nil + "Cascading Style Sheets (CSS) editing mode." + :group 'languages) + + (eval-when-compile (require 'cl)) + (defun css-extract-keyword-list (res) (with-temp-buffer (url-insert-file-contents "http://www.w3.org/TR/REC-CSS2/css2.txt") diff --cc src/ChangeLog index 3ec3e4a9421,05995663862..36e6ca3b00d --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -2,2721 -2,28564 +2,2730 @@@ * window.c (window_min_size_2): Don't count header-line. -2007-10-25 Juanma Barranquero - - * w32.c (init_environment): Fix tiny memory leak. - (w32_get_resource): Remove unused variable `ok'. - -2007-10-24 Jason Rumney - - * w32fns.c: Include math.h. - -2007-10-24 Richard Stallman - - * frame.c (x_figure_window_size): For fullscreen case, - set USPosition | PPosition without clobbering rest of window_prompting. - - * keyboard.c (Fcurrent_idle_time): Doc fix. - - * print.c (Fwith_output_to_temp_buffer): Doc fix. - -2007-10-19 Juanma Barranquero - - * process.c (Fset_process_filter): Doc fix. - -2007-10-17 Glenn Morris - - * minibuf.c (Qcompletion_ignore_case): New Lisp_Object. - (syms_of_minibuf): Add Qcompletion_ignore_case. - * dired.c (Qcompletion_ignore_case): Change to external. - (syms_of_dired) [VMS]: Remove Qcompletion_ignore_case. - * fileio.c (Qcompletion_ignore_case): New external Lisp_Object. - (Fread_file_name): Use it rather than intern'ing. - - * coding.c (Qcompletion_ignore_case): New external Lisp_Object. - (Fread_coding_system): Ignore case of user input. - -2007-10-16 YAMAMOTO Mitsuharu - - * xdisp.c (handle_display_prop): Ignore display specs after - replacing one when string text is being replaced. - (handle_single_display_spec): Pretend as if characters with display - property haven't been consumed only when buffer text is being replaced. - -2007-10-14 Juanma Barranquero - - * eval.c (do_autoload): Don't save autoloads. - - * data.c (Ffset): Save autoload of the function being set. - -2007-10-07 John Paul Wallington - - * xfns.c (x_create_tip_frame): Set the `display-type' frame - parameter before setting up faces. - -2007-10-13 Eli Zaretskii - - * msdos.c (dos_rawgetc): Undo last change (there's no ``leaving - selected frame'' on MSDOS). - -2007-10-12 Martin Rudalics - - * frame.c (Qexplicit_name): New variable. - (x_report_frame_params): Report it in parameter alist. - (syms_of_frame): Intern and staticpro it. - -2007-10-09 Jason Rumney - - * w32term.c (x_set_window_size): Disable code that attempts to tell - Lisp code about a size change before it actually happens. - -2007-10-09 Richard Stallman - - * xdisp.c (handle_invisible_prop): After setting up an ellipsis, - return HANDLED_RETURN. - -2007-10-06 Martin Rudalics - - * keyboard.c (kbd_buffer_get_event): Break loop waiting for input - when there's an unread command event. - - * frame.c (focus_follows_mouse): Moved here from frame.el to allow - window autoselection act appropriately when leaving selected frame. - (syms_of_frame): Initialize focus_follows_mouse. - * frame.h (focus_follows_mouse): Extern it. - * macterm.c (XTread_socket): When focus_follows_mouse is nil - make SELECT_WINDOW_EVENT only if we don't leave the selected - frame. - * msdos.c (dos_rawgetc): Likewise. - * w32term.c (w32_read_socket): Likewise. - * xterm.c (handle_one_xevent): Likewise. - * xdisp.c (syms_of_xdisp): In doc-string of - mouse-autoselect-window mention focus-follows-mouse. - -2007-10-06 Andreas Schwab - - * fileio.c (Fwrite_region): Ignore EINVAL error from fsync. - -2007-10-05 YAMAMOTO Mitsuharu - - * macterm.c (mac_load_query_font): Fix missing return value. - [USE_CG_DRAWING] (mac_define_fringe_bitmap, mac_destroy_fringe_bitmap): - Add BLOCK_INPUT. - -2007-10-04 Juanma Barranquero - - * image.c (syms_of_image) : Fix typo in docstring. - -2007-10-02 Richard Stallman - - * xdisp.c (get_window_cursor_type): Implement documented behavior - for cursor-in-non-selected-windows = t. - -2007-10-01 Juanma Barranquero - - * lread.c (Fload): Fix typo in docstring. - -2007-09-29 Juri Linkov - - * emacs.c (standard_args): Change priority of "--no-splash" - from 40 to 3. Add "--no-desktop" with the same priority. - -2007-09-29 Jason Rumney - - * w32.c (w32_get_resource): Always close registry keys. - -2007-09-27 Jason Rumney - - * makefile.w32-in (LIBS): Add COMCTL32. - - * w32fns.c (globals_of_w32fns): Init common controls. - -2007-09-21 Richard Stallman - - * image.c (our_memory_buffer): Renamed from omfib_buffer. - -2007-09-21 Juanma Barranquero - - * w32term.c (x_draw_glyph_string): Use strike_through_color, not - underline_color, to draw strike-through. - -2007-09-20 Glenn Morris - - * process.c (Fmake_network_process): Doc fix. - -2007-09-19 Richard Stallman - - * buffer.c (Foverlays_at): Doc fix. - -2007-09-18 Stefan Monnier - - * fns.c (Fplist_put): Preserve uneven tail data. - -2007-09-16 Jan Dj,Ad(Brv - - * gtkutil.c (xg_get_image_for_pixmap): Always create a GdkPixbuf - when we have no file name for the icon. - (xg_tool_bar_expose_callback): Remove. - (xg_create_tool_bar): Don't connect expose signal to - xg_tool_bar_expose_callback. - -2007-09-16 Andreas Schwab - - * alloc.c (reset_malloc_hooks): Set the hooks to the previous - values instead of zapping them. - -2007-09-15 Glenn Morris - - * s/hpux.h: No longer define `static' as nothing. - -2007-09-14 Glenn Morris - - * fringe.c (init_fringe_bitmap) : Move to file scope. - * gtkutil.c (xg_separator_p) : Move to file scope. - * image.c (our_memory_fill_input_buffer) : Move to file - scope and rename to omfib_buffer for clarity. - (gif_load) : Move to file scope. - -2007-09-14 Peter O'Gorman (tiny change) - - * gtkutil.c (xg_get_file_with_chooser): Move GCPRO1 after declarations. - - * termhooks.h (enum event_kind): Remove trailing comma. - - * frame.h (enum): Remove trailing comma. - -2007-09-14 Jan Dj,Ad(Brv - - * keyboard.c, xterm.c, xfaces.c (abs): #undef before #define. - -2007-09-12 Glenn Morris - - * gtkutil.c (cnt): Rename to menu_grab_callback_cnt for clarity. - (menu_grab_callback): All uses changed. - - * xselect.c (cnt): Rename to x_reply_selection_request_cnt for clarity. - (x_reply_selection_request): All uses changed. - -2007-09-06 Pixel (tiny change) - - * image.c (gif_load): Fix bug: Handle nonexistent colormap. - -2007-09-06 Glenn Morris - - * gtkutil.c (menu_grab_callback) : - * xselect.c (x_reply_selection_request) : Move static - variable to file scope. - -2007-09-02 Dhuvra Krishnamurthy (tiny change) - - * w32proc.c (delete_child): Don't terminate threads of zombies. - -2007-09-02 Jan Dj,Ad(Brv - - * keyboard.c: Qrtl is new. - (parse_tool_bar_item): Handle :rtl keyword. - (syms_of_keyboard): Intern :rtl keyword. - - * dispextern.h (enum tool_bar_item_idx): Add TOOL_BAR_ITEM_RTL_IMAGE. - - * gtkutil.c (file_for_image, find_rtl_image): New functions. - (xg_get_image_for_pixmap): Use file_for_image - (update_frame_tool_bar): If direction is RTL, use RTL image if - defined. Use Gtk stock images or named theme icons if defined. - -2007-08-29 Martin Rudalics - - * keyboard.h (struct kboard): New elt Vlast_repeatable_command. - - * keyboard.c (syms_of_keyboard): Set up new Lisp variable - last-repeatable-command. - (init_kboard): Initialize Vlast_repeatable_command. - (command_loop_1): Set it to real_this_command unless that was - bound to an input event. - (mark_kboards): Mark it. - -2007-08-28 Juanma Barranquero - - * image.c (syms_of_image) : - Doc fixes. - -2007-08-28 Jan Dj,Ad(Brv - - * gtkutil.c (xg_tool_bar_expose_callback): Just do SET_FRAME_GARBAGED - so no Lisp code is executed. - -2007-08-27 YAMAMOTO Mitsuharu - - * macterm.c (x_draw_composite_glyph_string_foreground): Draw rectangle - for nonexistent or zero-width glyph in composition glyph. - -2007-08-27 Richard Stallman - - * eval.c (condition-case): Doc fix. - -2007-08-27 Masatake YAMATO - - * xfaces.c (tty_supports_face_attributes_p): Fix code - for LFACE_INVERSE_INDEX and LFACE_BACKGROUND_INDEX; code - was copied and not edited. - -2007-08-23 Stefan Monnier - - * lread.c (load_warn_old_style_backquotes): Fix up array size typo. - -2007-08-22 Stefan Monnier - - * lread.c (Qold_style_backquotes): New var. - (syms_of_lread): Init and staticpro it. - (load_warn_old_style_backquotes): New fun. - (Fload): Use them to warn about old style backquotes. - (end_of_file_error, Fload): Remove unused vars. - - * lisp.h (Fclear_face_cache, Fx_send_client_event): Declare. - - * lread.c (Vold_style_backquotes): New var. - (syms_of_lread): Init and export it to Elisp. - (read1): Set it when we find an old-style (back)quote. - -2007-08-22 Jason Rumney - - * w32reg.c (SYSTEM_DEFAULT_RESOURCES): Add missing NULL terminator. - -2007-08-21 Stefan Monnier - - * insdel.c (reset_var_on_error): New fun. - (signal_before_change, signal_after_change): - Use it to reset (after|before)-change-functions to nil in case of error. - Bind inhibit-modification-hooks to t. - Don't bind (after|before)-change-functions to nil while they run. - -2007-08-19 Andreas Schwab - - * alloc.c (pure): Round PURESIZE up. - -2007-08-17 Jan Dj,Ad(Brv - - * xterm.c (handle_one_xevent): Remove check that mouse click is in - active frame. - -2007-08-15 Philippe Waroquiers - - * term.c (tty_default_color_capabilities): Declare static - variables in file scope, to avoid HPUX compiler problem. - -2007-08-13 Jan Dj,Ad(Brv - - * gtkutil.c (update_frame_tool_bar): Use -1 as index - to gtk_toolbar_insert. - -2007-08-11 YAMAMOTO Mitsuharu - - * xterm.c (x_draw_image_glyph_string): Adjust stipple origin when - filling pixmap with stippled background. - -2007-08-10 Stefan Monnier - - * print.c (new_backquote_output): Rename from old_backquote_output. - (print): Inverse its logic (according to its name) so as to match the - behavior of new_backquote_flag in lread.c. - -2007-08-09 YAMAMOTO Mitsuharu - - * gmalloc.c (posix_memalign): New function. - -2007-08-08 Glenn Morris - - * Replace `iff' in doc-strings and comments. - -2007-08-07 Chong Yidong - - * dispextern.h (struct image): New members. - - * image.c: Sync to trunk version. - (search_image_cache, uncache_image, image-refresh): New functions. - Check for fg and bg colors. - (lookup_image): Use search_image_cache. Cache fg and bg colors. - (pbm_load): Another check for invalid image data. - (png_load): Ignore default background field. - - * xdisp.c (move_it_by_lines): Remove incorrect optimization. - -2007-08-07 Jan Dj,Ad(Brv - - * gmalloc.c (__malloc_initialize): Remove pthread_once. Not needed. - -2007-08-07 Sam Steingold - - * gmalloc.c (__morecore): Fix the declaration to comply with the - definition. - -2007-08-07 YAMAMOTO Mitsuharu - - * emacs.c (main) - [HAVE_GTK_AND_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: - Call malloc_enable_thread on interactive startup. - - * gmalloc.c (_malloc_thread_enabled_p) [USE_PTHREAD]: New variable. - (LOCK, UNLOCK, LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS) - [USE_PTHREAD]: Conditionalize with it. - (malloc_atfork_handler_prepare, malloc_atfork_handler_parent) - (malloc_atfork_handler_child, malloc_enable_thread) [USE_PTHREAD]: - New functions. - -2007-08-06 Chong Yidong - - * xdisp.c (redisplay_window): When restoring original buffer - position, make sure it is still valid. - -2007-08-06 Martin Rudalics - - * window.c (window_min_size_2): New function. - (window_min_size_1, size_window, Fdisplay_buffer) - (Fsplit_window, adjust_window_trailing_edge): Use it to avoid - windows without mode- or header-lines when window-min-height is - too small. - (size_window): Reset nodelete_p after testing it, following an - earlier note by Kim F. Storm. - (display_buffer): Do not set split_height_threshold to twice the - value of window_min_height to avoid changing the value of a - customizable variable. Rather explicitly check whether the - height of the window that shall be splitted is at least as large - as split_height_threshold. - (Fwindow_full_width_p): New defun. - (syms_of_window): Defsubr it. - - * window.h: Add EXFUN for Fwindow_full_width_p. - -2007-08-06 Andreas Schwab - - * window.c (Fdisplay_buffer): Use NILP. - (Fset_window_scroll_bars): Likewise. - -2007-08-03 Richard Stallman - - * fileio.c (Fvisited_file_modtime): Use make_time. - -2007-08-01 Ryo Yoshitake (tiny change) - - * mac.c (init_mac_osx_environment): Adjust load-path on self-contained - build. - -2007-07-30 Stefan Monnier - - * eval.c (init_eval_once): Bump max_lisp_eval_depth to 400. - -2007-07-25 Glenn Morris - - * Relicense all FSF files to GPLv3 or later. - - * COPYING: Switch to GPLv3. - -2007-07-24 Jason Rumney - - * w32fns.c (x_real_positions): Get real position from OS instead of - calculating it. - -2007-07-23 Jason Rumney - - * filelock.c (current_lock_owner): Allow for @ sign in username. - -2007-07-20 Eli Zaretskii - - * makefile.w32-in (clean): Don't delete *~. - - * w32proc.c (IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32): - Define if not defined. - -2007-07-18 Jason Rumney - - * w32proc.c (w32_executable_type): Handle 64 bit executables. - -2007-07-16 Juanma Barranquero - - * coding.c (Ffind_operation_coding_system): - * eval.c (For, Fand, Fprogn): - * keyboard.c (Ftrack_mouse): - * print.c (Fwith_output_to_temp_buffer): - * window.c (Fsave_window_excursion): Doc fixes (some reported - by Johan Bockg,Ae(Brd). - -2007-07-15 Richard Stallman - - * data.c (Fsetq_default): Doc fix. - - * eval.c (Fsetq): Doc fix. - -2007-07-11 Jason Rumney - - * makefile.w32-in (LIBS): Include OLE32. - - * w32fns.c (w32_msg_pump) : Initialize COM. - (w32_msg_pump) : Uninitialize COM. - -2007-06-28 YAMAMOTO Mitsuharu - - * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event): - Check WINDOWP before using XWINDOW. - -2007-06-27 Juanma Barranquero - - * buffer.c (syms_of_buffer) : Fix typo in docstring. - -2007-06-26 YAMAMOTO Mitsuharu - - * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Check this after including config.h. - (_aligned_blocks_mutex) [USE_PTHREAD]: New variable. - (LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS): New macros. - (_free_internal, memalign): Use them. - (_malloc_mutex, _aligned_blocks_mutex) [USE_PTHREAD]: - Initialize to PTHREAD_MUTEX_INITIALIZER. - (malloc_initialize_1) [USE_PTHREAD]: Don't use recursive mutex. - (morecore_nolock): Rename from morecore. All uses changed. - Use only nolock versions of internal allocation functions. - (_malloc_internal_nolock, _realloc_internal_nolock) - (_free_internal_nolock): New functions created from - _malloc_internal, _realloc_internal, and _free_internal. - (_malloc_internal, _realloc_internal, _free_internal): Use them. - Copy hook value to automatic variable before its use. - (memalign): Copy hook value to automatic variable before its use. - -2007-06-21 Jason Rumney - - * image.c (convert_mono_to_color_image): Swap fore and background. - -2007-06-20 Jason Rumney - - * w32bdf.c (w32_BDF_to_x_font): Unmap memory when finished. - (w32_free_bdf_font): Unmap memory not handle. - -2007-06-20 Juanma Barranquero - - * w32.c (_wsa_errlist): Fix typo in error message. - (init_environment): Ignore any environment variable from the - registry having a null value. - -2007-06-17 Jason Rumney - - * w32menu.c (add_menu_item): Don't use multibyte string functions on - unicode strings. - -2007-06-17 Juanma Barranquero - - * xdisp.c (syms_of_xdisp) : - Fix typo in docstring. - -2007-06-16 Eli Zaretskii - - * w32menu.c (add_menu_item): Escape `&' characters in menu items - and their keybindings. - -2007-06-14 Chong Yidong - - * composite.c (update_compositions): Check validity of compositions. - -2007-06-10 Jason Rumney - - * w32fns.c (Fx_file_dialog): Take size from struct not pointer. - -2007-06-06 Jason Rumney - - * s/ms-w32.h: Don't define HAVE_TZNAME. - -2007-06-06 Chong Yidong - - * image.c (xpm_load): Remove spurious call to - xpm_init_color_cache. - -2007-06-06 Martin Rudalics - - * syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD. - -2007-06-05 Dan Nicolaescu - - * xfaces.c (syms_of_xfaces): Delete stray semicolon. - * xdisp.c (next_element_from_buffer): - * window.c (delete_window): - * term.c (term_mouse_highlight): - * msdos.c (getdefdir): - * macterm.c (mac_create_bitmap_from_bitmap_data) - (init_font_name_table): - * fns.c (Fsxhash): - * data.c (Fmake_local_variable): - * ccl.c (ccl_driver): Likewise. - -2007-06-04 Juanma Barranquero - - * window.c (Fshrink_window): Reflow docstring. - -2007-06-02 Chong Yidong - - * Version 22.1 released. - - * xfns.c (x_set_name_internal): Undo last change. - -2007-06-01 Richard Stallman - - * xfns.c (x_encode_text): Add GCPRO. - (x_set_name_internal): Separate USE_GTK and non-USE_GTK cases. - -2007-06-01 YAMAMOTO Mitsuharu - - * xfns.c (x_set_name_internal): Save encoded name before - x_encode_text in case string data is relocated. - -2007-05-31 Richard Stallman - - * buffer.c (syms_of_buffer): Doc fix. - -2007-05-28 YAMAMOTO Mitsuharu - - * xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t - around current_column call. - -2007-05-24 Chong Yidong - - * xdisp.c (redisplay_window): If first window line is a - continuation line, recompute the new window start instead of - recentering. - -2007-05-24 YAMAMOTO Mitsuharu - - * macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event): - Call mac_wakeup_from_rne on window size change. - -2007-05-22 Richard Stallman - - * xterm.c (x_connection_closed): Remove NO_RETURN. - -2007-05-19 Stefan Monnier - - * syntax.c (skip_chars): Update syntax-table only after we checked that - the new location is valid. - -2007-05-19 YAMAMOTO Mitsuharu - - * macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around - mac_get_window_bounds. - -2007-05-17 Glenn Morris - - * m/macppc.h (ORDINARY_LINK): No longer define on OpenBSD. - -2007-05-16 YAMAMOTO Mitsuharu - - * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Also convert - dead key repeat and up events. - -2007-05-13 Chong Yidong - - * xterm.c (XTread_socket): Revert last change. - -2007-05-12 Chong Yidong - - * image.c (pbm_load): Correctly check image size for greyscale pbm. - - * xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). - -2007-05-07 Stefan Monnier - - * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object mixup (YAILOM) - -2007-05-06 Richard Stallman - - * process.c: Undo May 3 change. - -2007-05-03 Per Cederqvist (tiny change) - - * process.c (Faccept_process_output): Revert 2006-03-22 change so - that the third argument once again is in microseconds (not - milliseconds). This makes it compatible with Emacs 21 and - earlier. Problem found by Henrik Rindl,Av(Bw. - -2007-05-01 YAMAMOTO Mitsuharu - - * macmenu.c (mac_dialog_show): Apply 2007-04-27 change for xmenu.c. - (Fx_popup_dialog) [MAC_OSX]: Likewise. - -2007-04-29 Richard Stallman - - * insdel.c (replace_range): For undo, record insertion first. - -2007-04-29 YAMAMOTO Mitsuharu - - * xdisp.c (try_window_reusing_current_matrix): Fix number of - disabled lines. - -2007-04-27 Jan Dj,Ad(Brv - - * xmenu.c (xdialog_show): Call Fredisplay before showing the dialog. - - * gtkutil.c (xg_update_menubar, create_menus): Create empty - submenu for menu bar items. - -2007-04-24 Chong Yidong - - * xdisp.c (redisplay_window): Use BEG_UNCHANGED and END_UNCHANGED - values of the actual window. - -2007-04-23 Richard Stallman - - * process.c (Fstart_process): Doc fix. - -2007-04-23 Eli Zaretskii - - * process.c (Fstart_process): Doc fix. - -2007-04-22 Richard Stallman - - * abbrev.c (Fdefine_abbrev): Doc fix. - - * keymap.c (Fdefine_key): Minor doc fix. - -2007-04-21 Glenn Morris - - * keymap.c (Fdefine_key): Fix info ref in doc string. - -2007-04-20 Glenn Morris - - * sysdep.c (init_system_name): Don't accept localhost.localdomain. - -2007-04-19 Juanma Barranquero - - * minibuf.c (Fminibuffer_contents, Fminibuffer_contents_no_properties) - (Fminibuffer_completion_contents, Fdelete_minibuffer_contents): - Doc fixes. - -2007-04-16 Chong Yidong - - * dispnew.c (adjust_frame_glyphs_for_frame_redisplay): - Set garbaged flag in presence of window margins. - (showing_window_margins_p): New function. - - * xdisp.c (cursor_row_p): Only end row on newline if it's a - display string. Suggested by Lennart Borgman. - -2007-04-16 YAMAMOTO Mitsuharu - - * alloc.c (mem_insert): Set min_heap_address and max_heap_address - if they are not yet initialized. - -2007-04-15 Chong Yidong - - * xdisp.c (redisplay_window): When deciding whether or not to - recenter, don't use the reset values of BEG_UNCHANGED and - END_UNCHANGED. - -2007-04-13 Kim F. Storm - - * buffer.c (Fkill_buffer): gcpro BUF during kill_buffer_processes - and check that buffer is still alive upon return. - -2007-04-13 YAMAMOTO Mitsuharu - - * macterm.c [!TARGET_API_MAC_CARBON]: Include Displays.h. - (mac_screen_config_changed): New variable. - (mac_handle_dm_notification, init_dm_notification_handler) - (mac_get_screen_info): New functions. - [MAC_OS8] (main): Call init_dm_notification_handler. - (mac_initialize) [MAC_OSX]: Likewise. - (XTread_socket): Call mac_get_screen_info if screen config changed. - (mac_initialized): Make static. - (mac_initialize_display_info): Remove function. - (mac_term_init): Call mac_get_screen_info. Add partial contents of - mac_initialize_display_info. - -2007-04-12 YAMAMOTO Mitsuharu - - * mac.c (xrm_get_preference_database, Fmac_get_preference) - [TARGET_API_MAC_CARBON]: Use CFPreferencesAppSynchronize. - - * macterm.c [TARGET_API_MAC_CARBON] (mac_post_mouse_moved_event): - Use GetGlobalMouse instead of GetMouse and LocalToGlobal. - (mac_initialize_display_info) [MAC_OSX]: Use CGRectZero. - (mac_initialize_display_info) [!MAC_OSX]: dpyinfo->height and - dpyinfo->width are those of whole screen. - -2007-04-10 Chong Yidong - - * xdisp.c (note_mode_line_or_margin_highlight): Don't decrement - glyph pointer before start of glyph row. - -2007-04-09 YAMAMOTO Mitsuharu - - * s/darwin.h (__restrict, struct kboard): Remove outdated workarounds. - (C_SWITCH_SYSTEM): Remove `-I../mac/src'. - -2007-04-09 Martin Rudalics - - * indent.c (Fmove_to_column): Set next_boundary with correct start pt. - -2007-04-08 Richard Stallman - - * xdisp.c (syms_of_xdisp) : Default 100. - -2007-04-07 Chong Yidong - - * editfns.c (Ftranspose_regions): Validate interval before setting - text properties. - -2007-04-03 Eli Zaretskii - - * emacs.c (main): Fix instructions for building Emacs for profiling. - -2007-04-03 Jan Dj,Ad(Brv - - * gtkutil.c (xg_update_menubar): Call g_list_next after moving - menu bar item. - -2007-04-02 Juanma Barranquero - - * print.c (Fprin1_to_string): Use macro SPECPDL_INDEX. - -2007-04-01 Chong Yidong - - * keymap.c (Fcommand_remapping): New optional argument. - (where_is_internal): Use new keymaps argument. - (Fkey_binding): Caller changed. - - * keyboard.c (command_loop_1): Caller changed. - -2007-03-31 Eli Zaretskii - - * window.c (Fget_lru_window): Doc fix. - -2007-03-30 Chong Yidong - - * undo.c (Fprimitive_undo): Give clearer error message when trying - to change text properties outside accessible part of buffer. - -2007-03-29 Kim F. Storm - - * process.c (wait_reading_process_output) [HAVE_PTYS]: - When EIO happens, clear channel from descriptor masks before raising - SIGCHLD signal to avoid busy loop between read and sigchld_handler. - (sigchld_handler): Remove sleep (2007-03-11 & 2007-03-26 changes). - -2007-03-29 Juanma Barranquero - - * buffer.c (Fset_buffer_major_mode): Check that BUFFER is valid. - - * process.c (Fformat_network_address): Return nil when the - argument vector contains invalid values. - -2007-03-28 YAMAMOTO Mitsuharu - - * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Define USE_PTHREAD. - [USE_PTHREAD]: Include pthread.h. - (malloc_init_once_control, _malloc_mutex) [USE_PTHREAD]: New variables. - (malloc_initialize_1): New function created from __malloc_initialize. - (__malloc_initialize): Use it. - (LOCK, UNLOCK): New macros to make malloc etc. thread safe. - (_malloc_internal, _free_internal, _realloc_internal): Use them. - - * lread.c (readchar): Extend BLOCK_INPUT block to ferror/clearerr. - -2007-03-27 Juanma Barranquero - - * process.c (Fformat_network_address): Make args array big enough - to format IPv6 addresses. - -2007-03-27 Glenn Morris - - * m/hp800.h: Restore HP-UX support (removed 2007-01-29). - -2007-03-26 YAMAMOTO Mitsuharu - - * macfns.c (Fx_display_mm_height, Fx_display_mm_width): Scale whole - screen size in pixels by millimeters per pixel of main display. - - * macselect.c (get_scrap_target_type_list, x_own_selection): - Move assignments outside predicate macros. - (Vselection_converter_alist): Doc fix. - - * macterm.c (create_text_encoding_info_alist): Move assignments - outside predicate macros. - (mac_initialize_display_info) [MAC_OSX]: dpyinfo->height and - dpyinfo->width are those of whole screen. - -2007-03-26 Sam Steingold - - * process.c (sigchld_handler): Delay by 1ms instead of 1s to - alleviate sluggishness (the original problem is still fixed). - -2007-03-25 Kim F. Storm - - * intervals.c (merge_properties): Use explicit loop instead of - Fplist_member to avoid QUIT. Don't use Fcdr. - (intervals_equal): Likewise. Rewrite loop to perform length check - on the fly rather than calling Flength. Don't use Fcar. - -2007-03-24 Eli Zaretskii - - * editfns.c (Fgoto_char): Doc fix. - - * indent.c (Findent_to): Doc fix. - -2007-03-24 Chong Yidong - - * editfns.c (Ftranspose_regions): Use set_text_properties_1 - instead of Fset_text_properties to avoid GC. Signal after change. - -2007-03-24 Eli Zaretskii - - * xfns.c (Fx_show_tip): Doc fix. - - * macfns.c (Fx_show_tip): Doc fix. - - * w32fns.c (Fx_show_tip): Doc fix. - -2007-03-23 Kim F. Storm - - * intervals.c (merge_properties, intervals_equal): - Use Fplist_member instead of Fmemq to find properties. - -2007-03-23 Glenn Morris - - * unexhp9k800.c: Restore file with clarified legal status. - * m/sr2k.h: Restore since dependency unexhp9k800.c is restored. - -2007-03-22 Chong Yidong - - * widget.c (EmacsFrameSetCharSize): Catch X errors. - -2007-03-22 Kenichi Handa - - * fileio.c (Fcopy_file): Call barf_or_query_if_file_exists with - non-encoded file name. - (Frename_file): Likewise. - (Fadd_name_to_file): Likewise. - (Fmake_symbolic_link): Likewise. - -2007-03-20 YAMAMOTO Mitsuharu - - * Makefile.in (alloca.o, gtkutil.o): Depend on systime.h. - (dired.o, editfns.o, fileio.o, msdos.o): Depend on atimer.h. - (dosfns.o, window.o, fns.o, macselect.o): Depend on atimer.h and - systime.h. - (term.o, print.o, lread.o): Depend on blockinput.h, atimer.h, and - systime.h. - (macfns.o): Remove duplicate dependency on systime.h. - - * dispnew.c (Fopen_termscript): Add BLOCK_INPUT around fclose. - (Fsend_string_to_terminal): Add BLOCK_INPUT around fwrite. - - * fileio.c (do_auto_save_unwind): Add BLOCK_INPUT around fclose. - (Fdo_auto_save): Add BLOCK_INPUT around fwrite. - - * keyboard.c (record_char): Add BLOCK_INPUT around fwrite. - (Fopen_dribble_file): Add BLOCK_INPUT around fclose. - - * lread.c: Include blockinput.h. - (readchar, Fget_file_char): Add BLOCK_INPUT around getc. - (unreadchar): Add BLOCK_INPUT around ungetc. - (load_unwind): Add BLOCK_INPUT around fclose. - - * print.c: Include blockinput.h. - (Fredirect_debugging_output): Add BLOCK_INPUT around fclose. - - * process.c (Fmake_network_process) [HAVE_GETADDRINFO]: - Clear immediate_quit before calling freeaddrinfo. - Add BLOCK_INPUT around freeaddrinfo. - - * term.c: Include blockinput.h. - (write_glyphs, insert_glyphs): Add BLOCK_INPUT around fwrite. - -2007-03-19 Richard Stallman - - * keyboard.c (NUM_RECENT_KEYS): Bump up to 300. - - * buffer.c (syms_of_buffer): Doc fix. - -2007-03-18 Chong Yidong - - * image.c (pbm_load): Signal error for invalid image size. - -2007-03-18 YAMAMOTO Mitsuharu - - * macterm.c (note_mouse_movement): Don't return immediately for - LeaveNotify case. - - * macmenu.c (popup_activated_flag): New variable. - (x_activate_menubar, mac_menu_show): Set it during menu tracking. - (popup_activated): New function. - - * xdisp.c (redisplay_internal, note_mouse_highlight): - Check popup_activated for MAC_OS. - -2007-03-17 Juanma Barranquero - - * buffer.c (syms_of_buffer) : Doc fix. - Reported by Nikolaj Schumacher . - -2007-03-17 Richard Stallman - - * dired.c (file_name_completion): gcpro NAME. - -2007-03-17 Chong Yidong - - * xdisp.c (try_window_id): Increment matrix positions if the - buffer's byte count has increased, but not the character count. - -2007-03-12 Andreas Schwab - - * lisp.h: Declare check_obarray. - - * process.c (Fdelete_process): Properly handle deletion of first - element of deleted_pid_list. - (create_process): Declare pid as pid_t. - -2007-03-12 Kim F. Storm - - * process.c (sigchld_handler): Change type of pid to pid_t. - Scan deleted_pid_list explicitly to avoid using Fmember which don't - know about mark bits and make_fixnum_or_float which may malloc. - Reported by Andreas Schwab. - - * keyboard.c (read_key_sequence): Store original event into keybuf - when replaying sequence with local keymap(s) from string. - -2007-03-12 Glenn Morris - - * editfns.c (Fdecode_time, Fencode_time): Doc fix ("daylight - savings" to "daylight saving"). - -2007-03-11 Sam Steingold - - * process.c (sigchld_handler): Sleep before wait3 to avoid a busyloop. - -2007-03-11 YAMAMOTO Mitsuharu - - * macfns.c (Fx_server_vendor): Change vendor string to "Apple Inc.". - -2007-03-10 YAMAMOTO Mitsuharu - - * macterm.c [USE_CARBON_EVENTS] (mac_handle_mouse_event): - Ignore mouse wheel movement on title bar or tool bar. - -2007-03-10 Chong Yidong - - * keyboard.c (help_form_saved_window_configs): New var. - (read_char_help_form_unwind): New function. - (read_char): Don't restore window configuration if a mouse click - arrives while the help form is being displayed. - -2007-03-10 Kim F. Storm - - * xdisp.c (redisplay_window): Don't automatically select a new window - start for a contination line during mouse-click. - -2007-03-09 Jan Dj,Ad(Brv - - * xterm.c (handle_one_xevent): Ignore buttons > 3 for the tool bar. - -2007-03-09 Juanma Barranquero - - * keymap.c (Fdescribe_buffer_bindings): Check that BUFFER is valid. - -2007-03-08 Richard Stallman - - * keyboard.c (syms_of_keyboard): Doc fix. - -2007-03-08 Chong Yidong - - * minibuf.c (Ftry_completion): Don't short circuit if - completion-ignore-case is non-nil. - -2007-03-07 YAMAMOTO Mitsuharu - - * macfns.c (mac_set_scroll_bar_width, mac_frame_parm_handlers): - Undo 2006-03-06 changes. - - * macterm.c (XTset_vertical_scroll_bar) [MAC_OSX]: Don't show scroll - bar if its width is smaller than that of Aqua small scroll bar. - -2007-03-07 Stefan Monnier - - * minibuf.c (read_minibuf): Bind inhibit-read-only a bit longer so as - to handle correctly prompts with read-only property. - -2007-03-06 Jan Dj,Ad(Brv - - * sound.c (wav_play): Check header->data_length to see how much we - shall read. - (alsa_period_size): Convert ALSA period size in frames to bytes. - (alsa_write): Return if frames is zero. - -2007-03-06 Kenichi Handa - - * xselect.c (Vselection_coding_system): Documentation improved. - -2007-03-05 YAMAMOTO Mitsuharu - - * macterm.c (x_scroll_bar_create, XTread_socket): Replace #if - USE_TOOLKIT_SCROLL_BARS with #ifdef USE_TOOLKIT_SCROLL_BARS. - (x_set_window_size): Call SET_FRAME_GARBAGED. Clear window if - internal border width has changed. - - * macterm.h (struct mac_output): New member `internal_border_width'. - -2007-03-04 Richard Stallman - - * window.c (Fdisplay_buffer): Doc fix. - -2007-03-03 Glenn Morris - - * Makefile.in: Don't clear out LIB_X11_LIB, since XFT_LIBS does - not include -lX11 on Solaris. - -2007-03-02 Stuart D. Herring - - * keymap.c (Fkey_binding): Don't consider one-element lists as events. - -2007-03-01 Kenichi Handa - - * process.c (send_process_object): Check the process status and - signal an error if something is wrong. - -2007-02-28 Chong Yidong - - * insdel.c (Fcombine_after_change_execute): Return nil if - combine_after_change_buffer has been invalidated. - -2007-02-25 Dan Nicolaescu - - * m/xtensa.h: New file. - -2007-02-24 Nick Roberts - - * .gdbinit (xprintstr): Ensure GDB (> 6.6) prints symbol name - as strings and not character arrays. - -2007-02-24 YAMAMOTO Mitsuharu - - * macterm.c [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag) - (x_set_toolkit_scroll_bar_thumb): Add bar->min_handle as margin to - scroll bar handle size in order to avoid `scroll backward' problem. - (x_scroll_bar_create, XTset_vertical_scroll_bar) - [USE_TOOLKIT_SCROLL_BARS]: Initialize bar->min_handle. - - * macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: - New member `min_handle'. - -2007-02-23 Kim F. Storm - - * print.c (print): Reset print_number_index if Vprint_number_table - is nil. - -2007-02-23 Eli Zaretskii - - * w32.c (stat, get_long_basename, is_unc_volume): Use _mbspbrk - instead of strpbrk. - -2007-02-23 YAMAMOTO Mitsuharu - - * macmenu.c (mac_menu_show): Call unbind_to early. Use variable - `menu_item_selection' as in W32 version. - [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Add explicit - braces to avoid ambiguous `else'. - - * macterm.c (mac_display_info_for_display): Remove function. - (mac_flush_display_optional) [USE_CG_DRAWING]: New function. - (x_redisplay_interface) [USE_CG_DRAWING]: Set it as handler for - flush_display_optional. - [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_press): - New argument MOUSE_POS. All uses changed. Set bar->dragging to - negative integer if scroll bar handle is pressed. - [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_release): - Negative bar->dragging means scroll bar handle is not dragged. - [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag): Get initial - offset of scroll bar handle from negative bar->dragging. - (XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Modifiers for scroll - bar click is compared against mapped one. Set down/up_modifier - for scroll bar click event with control key. - - * macterm.h (x_display_info_for_display): Remove extern. - (SCROLL_BAR_UNPACK, SET_SCROLL_BAR_CONTROL_HANDLE): Don't limit - value to be unpacked to 32-bit on LP64 model. - -2007-02-23 Kenichi Handa - - * process.c (send_process_object_unwind): New function. - (send_process_object): New function. - (Fprocess_send_region): Call send_process_object. - (Fprocess_send_string): Likewise. - -2007-02-22 Jason Rumney - - * w32menu.c (w32_menu_show): Mark the frame's menu as inactive - when popup menu finishes. - - * w32fns.c (menubar_in_use): New flag. - (w32_wnd_proc) : - Use it. - - * w32menu.c (Fx_popup_menu): Don't free menu strings here. - (w32_menu_show): Do it here instead. - - * w32fns.c (w32_wnd_proc) : Set menubar_active frame - parameter. - - * w32menu.c (current_popup_menu): Make available globally. - (menubar_selection_callback): Free menu strings before pushing the - menu event into the keyboard buffer. Remove menu_command_in_progress. - - * w32fns.c (current_popup_menu): Use from w32menu.c. - (w32_wnd_proc) : Use menubar_active - and current_popup_menu to determine whether a menubar menu has - been cancelled. - - * w32term.h (w32_output): Remove menu_command_in_progress. - -2007-02-22 Kim F. Storm - - * dispnew.c (update_frame, update_single_window): Set force_p here if - redisplay_dont_pause is set or Vredisplay_preemption_period is nil... - (update_window, update_frame_1): ... instead of here. - (update_text_area): Clear mouse face on header lines. - -2007-02-21 Kim F. Storm - - * minibuf.c (Fassoc_string): Doc fix. Allow symbol for KEY too. - -2007-02-21 YAMAMOTO Mitsuharu - - * macterm.c (WINDOW_RESOURCE, TERM_WINDOW_RESOURCE): Remove macros. - [USE_MAC_TSM] (mac_handle_text_input_event): Remove unused variable - `mapped_modifiers'. - (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Use Keyboard - Layout Services routines to get current Unicode keyboard layout. - -2007-02-20 Chong Yidong - - * frame.c (x_set_screen_gamma): Apply gamma value to the frame's - bgcolor. - -2007-02-19 Kim F. Storm - - * minibuf.c (Fassoc_string): Allow symbols as keys. - - * w32term.c (w32_set_scroll_bar_thumb): Don't resize scroll-bar - handle while dragging, except when we get close to eob. - Fix position and size calculations so we don't scroll backwards - just by clicking on the handle. - -2007-02-17 YAMAMOTO Mitsuharu - - * Makefile.in (${emacsapp}Contents/Resources/Emacs.rsrc) - [HAVE_CARBON]: Remove target. - (macosx-app) [HAVE_CARBON]: Don't depend on it. - -2007-02-17 Juanma Barranquero - - * callproc.c (syms_of_callproc) : - : - (Fgetenv_internal): Fix typos in docstrings. - - * doc.c (Fsubstitute_command_keys): Fix typo in docstring. - -2007-02-16 Andreas Schwab - - * frame.c (Fmodify_frame_parameters): Return a value. - - * editfns.c (Fformat): Add support for '+' flag. - * doprnt.c (doprnt1): Likewise. Fix overflow checking. - -2007-02-14 Chong Yidong - - * s/umips.h: Unused file removed. - -2007-02-14 Juanma Barranquero - - * xfaces.c (Fcolor_distance): Don't continue checking a color for - errors after it has been correctly parsed as an RGB list. - -2007-02-14 Jan Dj,Ad(Brv - - * xterm.c (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN. - -2007-02-13 YAMAMOTO Mitsuharu - - * macfns.c (Fx_focus_frame): Move current process to foreground if - it is not. - [TARGET_API_MAC_CARBON] (Fx_file_dialog): Replace #if MAC_OSX with - #ifdef MAC_OSX. - (Fmac_set_font_panel_visible_p) [USE_MAC_FONT_PANEL]: Rename from - Fmac_set_font_panel_visibility. All uses changed. Rename argument - VISIBLE to FLAG. - - * macterm.c (MakeMeTheFrontProcess) [MAC_OSX]: Remove function. - (mac_initialize) [MAC_OSX]: Call SetFrontProcess instead of - MakeMeTheFrontProcess. - -2007-02-12 Chong Yidong - - * frame.c (x_set_screen_gamma): Clear face cache. - -2007-02-11 Juanma Barranquero - - * buffer.c (Fgenerate_new_buffer_name, Fbuffer_modified_tick): - Reflow docstrings. - -2007-02-10 Eli Zaretskii - - * window.c (Fwindow_height, Fwindow_hscroll) - (Fwindow_redisplay_end_trigger, Fwindow_point, Fwindow_start) - (Fwindow_end, Fwindow_display_table, Fwindow_text_height): - Document the effect of WINDOW arg being nil. - -2007-02-08 Kim F. Storm - - * minibuf.c (read_minibuf): Fix 2007-01-30 change. - Use Qlambda as interim value of Vminibuffer_completing_file_name. - (Fcompleting_read): Use non-filename maps if value is Qlambda (or Qnil). - (syms_of_minibuf) : Document lambda. - -2007-02-07 Juanma Barranquero - - * makefile.w32-in ($(TRES)): Use literal "../nt/emacs.rc" instead - of $(ALL_DEPS). - -2007-02-07 Eli Zaretskii - - * makefile.w32-in ($(TRES)): Depend on stamp_BLD, since $(TRES) is - put into $(BLD). - -2007-02-06 Chong Yidong - - * frame.c (Fmodify_frame_parameters): Don't bind - Qinhibit_default_face_x_resources, which has no effect. - (Qinhibit_default_face_x_resources): Symbol deleted. - -2007-02-03 Eli Zaretskii - - * indent.c (Fmove_to_column): Document that the argument COLUMN is - taken from prefix numeric argument. - -2007-02-03 Juanma Barranquero - - * lread.c (syms_of_lread) : Doc fix. - -2007-01-29 Andreas Seltenreich (tiny change) - - * xterm.c [!USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_expose): - Use the foreground color of the scroll-bar face when drawing - the scroll-bar's border. - -2007-02-02 Jan Dj,Ad(Brv - - * xterm.c (do_ewmh_fullscreen): Check that what != NULL before - calling wm_supports. - -2007-02-01 Juanma Barranquero - - * lread.c (syms_of_lread) : Doc fix. - Wording by Eli Zaretskii. - -2007-01-31 Jan Dj,Ad(Brv - - * gtkutil.c (update_frame_tool_bar): Initialize h/vmargin to 0. - -2007-01-30 Richard Stallman - - * minibuf.c (read_minibuf): - Save and clear Vminibuffer_completing_file_name. - (read_minibuf_unwind): Restore it. - (Vminibuffer_completion_table, Qminibuffer_completion_table) - (Vminibuffer_completion_predicate, Qminibuffer_completion_predicate) - (Vminibuffer_completion_confirm, Qminibuffer_completion_confirm) - (Vminibuffer_completing_file_name): Definitions moved up. - -2007-01-29 Chong Yidong - - * m/hp800.h: Restore, removing HP-UX support. - -2007-01-29 Jan Dj,Ad(Brv - - * Makefile.in: Use a variable, XFT_LIBS, instead #define LIB_X11_LIB. - -2007-01-28 Richard Stallman - - * minibuf.c (Ftry_completion, Fall_completions) - (Fcompleting_read, Ftest_completion): - Rename arg ALIST or TABLE to COLLECTION. - -2007-01-27 Chong Yidong - - * unexhp9k800.c: Remove due to lack of legal papers. - - * m/sr2k.h, m/hp800.h: Remove due to dependence on above. - -2007-01-27 Eli Zaretskii - - * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Doc fix. - - * minibuf.c (Fcompleting_read): Doc fix. - -2007-01-26 Jan Dj,Ad(Brv - - * gtkutil.c (xg_initialize): Call XftInit if HAVE_XFT. - - * Makefile.in: Use XFT_LIBS if defined. - -2007-01-26 YAMAMOTO Mitsuharu - - * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use - BLOCK_INPUT/UNBLOCK_INPUT. - - * blockinput.h (interrupt_input_blocked): Declare volatile. - - * keyboard.c (interrupt_input_blocked): Declare volatile. - - * syssignal.h (SIGNAL_THREAD_CHECK): Use pthread_equal. - -2007-01-24 Kim F. Storm - - * keymap.c (describe_map): Don't consider prefix keys to be shadowed. - -2007-01-23 Juanma Barranquero - - * editfns.c (Finsert_char): Doc fix. - (Fget_internal_run_time, Fdecode_time): Fix typos in docstrings. - -2007-01-22 YAMAMOTO Mitsuharu - - * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): - Don't pass keyboard modifiers to mac_store_drag_event, but put - them as kEventParamKeyModifiers Apple event parameter. - -2007-01-21 Chong Yidong - - * xdisp.c (try_window): Revert previous change. - - * dispnew.c (update_text_area): Revert 2006-09-17 change. - Always redraw non-mode-line rows with mouse-face. - -2007-01-20 Chong Yidong - - * xdisp.c (try_window): Clear mouse-face highlights first. - - * window.c (set_window_buffer): Revert 2006-11-22 change. - -2007-01-20 Eli Zaretskii - - * .gdbinit (ppt, xtype, xmisctype, xint, xptr, xmarker, xframe) - (xbuffer, xcons, xcar, xcdr): Fix doc strings. - -2007-01-20 Chong Yidong - - * keyboard.c (read_key_sequence): Extract local map only if the - given position is in an accessible buffer region. - -2007-01-19 Nick Roberts - - * .gdbinit: Reformat documentation so that first sentence - displays properly with "help user-defined" (like apropos). - -2007-01-18 Bruno Haible (tiny change) - - * epaths.in: Move PATH_DOC from local/info to local/share/info. - -2007-01-15 YAMAMOTO Mitsuharu - - * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]: - Create movable modal window instead of movable alert window. - (create_and_show_dialog) [!MAC_OSX]: Use DeactivateControl instead - of DisableControl. - - * macselect.c (Fmac_resume_apple_event): Set error number when - descriptor type of reply is non-null. - -2007-01-14 YAMAMOTO Mitsuharu - - * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]: - Use DisableControl for disabled items. Set default button to first - enabled one. Use icon of application in execution. - -2007-01-13 Eli Zaretskii - - * process.c (Fdelete_process, Fprocess_id, sigchld_handler): - Copy PID into EMACS_INT to avoid GCC warnings. - - * fns.c (maybe_resize_hash_table): Copy new size of hash table - into EMACS_INT to avoid GCC warnings. - - * editfns.c (Fuser_uid, Fuser_real_uid): Copy values returned by - geteuid and getuid into EMACS_INT to avoid GCC warnings. - - * dired.c (Ffile_attributes): Fix last change. - -2007-01-12 Eli Zaretskii - - * dired.c (Ffile_attributes): Copy some members of `struct stat' - into int's to avoid GCC warnings about limited range of short in - arguments to FIXNUM_OVERFLOW_P. - -2007-01-12 YAMAMOTO Mitsuharu - - * macmenu.c (HAVE_DIALOGS): Define if TARGET_API_MAC_CARBON. - (mac_handle_dialog_event, install_dialog_event_handler) - (create_and_show_dialog) [TARGET_API_MAC_CARBON]: New functions. - (DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN) - (DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH) - (DIALOG_MAX_INNER_WIDTH, DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE) - (DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH) - (DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE) - (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN) - (DIALOG_ICON_TOP_MARGIN) [TARGET_API_MAC_CARBON]: New macros. - (mac_dialog) [TARGET_API_MAC_CARBON]: Remove function. - (mac_dialog_show) [TARGET_API_MAC_CARBON]: Use create_and_show_dialog. - - * macterm.c (x_free_frame_resources) [USE_CG_DRAWING]: - Call mac_prepare_for_quickdraw. - (quit_char, make_ctrl_char) [TARGET_API_MAC_CARBON]: Move externs - outside #ifdef MAC_OSX. - (mac_quit_char_key_p) [TARGET_API_MAC_CARBON]: Move function - outside #ifdef MAC_OSX. - (mac_check_bundle) [MAC_OSX]: Remove unused function. - - * macterm.h (mac_quit_char_key_p): Move extern outside #ifdef MAC_OSX. - (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): Parenthesize definitions. - -2007-01-11 Jan Dj,Ad(Brv - - * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use pthread_equal, - block/unblock SIGIO. - -2007-01-10 Stefan Monnier - - * editfns.c (Fformat): Allow integer-format to work with floats of size - larger than most-positive-fixnum (but still smaller than MAXINT). - - * dired.c (Ffile_attributes): Use floats for large uids/gids. - -2007-01-09 Eli Zaretskii - - * emacs.c (syms_of_emacs) : Doc fix. - -2007-01-09 YAMAMOTO Mitsuharu - - * callproc.c (Fcall_process_region) [HAVE_MKSTEMP]: Add BLOCK_INPUT - around mkstemp. - - * image.c (XDrawLine) [MAC_OS]: Remove macro. - (XCreateGC_pixmap) [!HAVE_NTGUI]: Likewise. - (x_disable_image) [!HAVE_NTGUI]: Use XCreateGC instead of - XCreateGC_pixmap. - - * macgui.h (Display): Typedef to opaque type. - - * macmenu.c (mac_dialog_modal_filter) [MAC_OSX]: New function. - (Fx_popup_dialog) [MAC_OSX]: Use standard alert if called from - Fmessage_box, Fyes_or_no_p, or Fy_or_n_p. - [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030] (menu_quit_handler): - Use mac_quit_char_key_p. - - * macterm.c (XDrawLine): Rename from mac_draw_line_to_pixmap. - (XCreateGC): Change type of 2nd argument to void *. - (XFreeGC) [USE_CG_DRAWING && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: - Fix last change. - (mac_to_emacs_modifiers): Change return type to int. - [USE_CARBON_EVENTS] (mac_event_to_emacs_modifiers): Likewise. - (mac_mapped_modifiers): New function. - (XTread_socket): Use it. - [USE_TSM] (mac_handle_text_input_event): Likewise. - (do_window_update) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. - (mac_quit_char_modifiers, mac_quit_char_keycode) [MAC_OSX]: - Remove variables. - (mac_determine_quit_char_modifiers, init_quit_char_handler) - [MAC_OSX]: Remove functions. - (make_ctrl_char) [MAC_OSX]: Add extern. - (mac_quit_char_key_p) [MAC_OSX]: New function. - (mac_initialize) [MAC_OSX]: Don't call init_quit_char_handler. - - * macterm.h (FONT_MAX_WIDTH): Remove unused macro. - (XCreateGC): Change type in extern. - (XDrawLine): Rename from mac_draw_line_to_pixmap. - (mac_quit_char_key_p) [MAC_OSX]: Add extern. - -2007-01-08 Jan Dj,Ad(Brv - - * keyboard.c (init_keyboard): Initialize interrupt_input_blocked and - interrupt_input_pending. - - * xterm.h (x_display_info): New: net_supported_atoms, - nr_net_supported_atoms and net_supported_window. - - * xterm.c (last_user_time): New variable. - (handle_one_xevent): Set last_user_time from events that have Time. - Set net_supported_window to 0 when reparented. - (wm_supports): New function. - (do_ewmh_fullscreen): Use wm_supports to check for _NET_WM_STATE. - (x_term_init): Initialize net_supported_atoms, nr_net_supported_atoms - and net_supported_window. - -2007-01-05 Kim F. Storm - - * indent.c (Fvertical_motion): Fix it overshoot check for overlay - strings without embedded newlines immediately followed by newline. - -2007-01-05 YAMAMOTO Mitsuharu - - * editfns.c (Fformat_time_string, Fdecode_time, Fencode_time) - (Fcurrent_time_string, Fcurrent_time_zone): Add BLOCK_INPUT around - gmtime/localtime/emacs_memftimeu/mktime. - - * mac.c (Fmac_set_file_creator): Use MAC_EMACS_CREATOR_CODE - instead of 'EMAx'. - [!MAC_OSX] (sys_open, sys_creat, sys_fopen): Likewise. - - * macgui.h (struct _XGC) [USE_CG_DRAWING - && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New members cg_fore_color - and cg_back_color. - - * macmenu.c (Vshow_help_function) [TARGET_API_MAC_CARBON]: Add extern. - (restore_show_help_function, menu_target_item_handler) - [TARGET_API_MAC_CARBON]: New functions. - (install_menu_target_item_handler): New function. - (add_menu_item) [TARGET_API_MAC_CARBON]: Set help string as menu - item property. - - * macterm.c (CG_SET_FILL_COLOR_MAYBE_WITH_CGCOLOR) - (CG_SET_FILL_COLOR_WITH_GC_FOREGROUND) - (CG_SET_FILL_COLOR_WITH_GC_BACKGROUND) - (CG_SET_STROKE_COLOR_MAYBE_WITH_CGCOLOR) - (CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND): New macros. - (mac_cg_color_space_rgb) [USE_CG_DRAWING]: New variable. - (mac_cg_color_black) [USE_CG_DRAWING - && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New variable. - (init_cg_color) [USE_CG_DRAWING]: New function. - (mac_draw_line, mac_draw_rectangle) [USE_CG_DRAWING]: Use - CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND instead of CG_SET_STROKE_COLOR. - (mac_erase_rectangle, mac_clear_window, mac_draw_cg_image) - (mac_fill_rectangle, mac_draw_image_string_cg) [USE_CG_DRAWING]: - Use CG_SET_FILL_COLOR_WITH_GC_FOREGROUND or - CG_SET_FILL_COLOR_WITH_GC_BACKGROUND instead of CG_SET_FILL_COLOR. - (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Likewise. - (XCreateGC, XFreeGC, XSetForeground, XSetBackground) [USE_CG_DRAWING - && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use gc->cg_fore_color and/or - gc->cg_back_color. - (install_drag_handler, remove_drag_handler): Make extern. - (install_menu_target_item_handler): Add extern. - (install_window_handler): Call install_menu_target_item_handler. - [MAC_OS8] (main): Use MAC_EMACS_CREATOR_CODE instead of 'EMAx'. - (mac_initialize) [USE_CG_DRAWING]: Call init_cg_color. - - * macterm.h (MAC_EMACS_CREATOR_CODE): New enumerator. - -2007-01-04 Juanma Barranquero - - * window.c (Fwindow_end): Fix use of >= operator. - -2007-01-03 Richard Stallman - - * window.c (Fwindow_end): Check BUF_OVERLAY_MODIFF like BUF_MODIFF. - -2007-01-02 Jan Dj,Ad(Brv - - * gtkutil.h (xg_menu_item_cb_data_): Remove highlight_id and - unhighlight_id. - - * gtkutil.c (menuitem_highlight_callback): Invoked widget is the - parent of the menu item. Get menu item widget from event. - (xg_create_one_menuitem, xg_update_menu_item): highlight_id and - unhighlight_id has been removed. - (create_menus): Connect enter/leave-notify-event to the menu instead - of individual items. - -2006-12-31 Jan Dj,Ad(Brv - - * gtkutil.c (update_frame_tool_bar): Connect create-menu-proxy with - xg_tool_bar_menu_proxy. - (xg_tool_bar_menu_proxy): New function. - (xg_tool_bar_proxy_callback): New function. - -2006-12-30 Jan Dj,Ad(Brv - - * gtkutil.c (xg_tool_bar_button_cb): Save last modifier on widget. - (xg_tool_bar_callback): Remove check for button. - (update_frame_tool_bar): Put an event box in the tool bar and a button - in the event box. Attach enter/leave-notify-event to the event box. - -2006-12-30 Richard Stallman - - * keymap.c (Fdefine_key): Doc fix. - -2006-12-29 Kim F. Storm - - * frame.h (struct frame): New member minimize_tool_bar_window_p. - - * xdisp.c (auto_resize_tool_bars_p): Replace with ... - (Vauto_resize_tool_bars): ... this. - (syms_of_xdisp): DEFVAR_LISP and initialize it. Update doc string - to describe new value `grow-only', and use of C-l. - (display_tool_bar_line): Only use default face for border below - toolbar if not grow-only (to get acceptable visual appearence). - Explicitly set visible_height for empty toolbar lines. - (redisplay_tool_bar): Handle `grow-only' setting. Check and clear - minimize_tool_bar_window_p flag. - - * window.c (Frecenter): Set minimize_tool_bar_window_p flag - when called without arg to redraw with minimum toolbar height. - Update doc string. - -2006-12-29 Jason Rumney - - * s/ms-w32.h (tzname): Do not define in msvc8. - (utime): Do not define in msvc8. - - * regex.c (regerror): Change parameter name err_code. - -2006-12-26 Richard Stallman - - * search.c (Fsearch_forward): Doc fix. - - * callint.c (Finteractive): Doc fix. - -2006-12-25 Kim F. Storm - - * s/ms-w32.h (BROKEN_DATAGRAM_SOCKETS): Define it. - -2006-12-23 Eli Zaretskii - - * keyboard.c (some_mouse_moved): Fix last change. - -2006-12-22 Eli Zaretskii - - * callproc.c (syms_of_callproc) : Doc fix. - -2006-12-22 Mark Davies - - * m/amdx86-64.h, m/hp800.h: Add support for NetBSD. - * m/sh3el.h: New file. - -2006-12-22 Eli Zaretskii - - * makefile.w32-in (emacs, temacs): Depend on stamp_BLD instead of - $(BLD). - ($(OBJ0) $(OBJ1) $(WIN32OBJ)): New dependency on stamp_BLD. - (bootstrap-temacs): Pass $(XMFLAGS) to sub-make. - ($(OBJ0) $(OBJ1) $(WIN32OBJ)): Add lastfile.$(O) and firstfile.$(O). - (clean): Delete stamp_BLD. - -2006-12-22 YAMAMOTO Mitsuharu - - * macfns.c (mac_update_title_bar) [TARGET_API_MAC_CARBON]: - Call mac_update_proxy_icon also when buffer modification flag changed. - [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): Don't update alias, - but compare FSRef/FSSpec of resolved alias. - -2006-12-21 Kim F. Storm - - * w32.c (_sys_wait_accept): Fix handle leak. - -2006-12-20 Jan Dj,Ad(Brv - - * sound.c: Include if ALSA_SUBDIR_INCLUDE is - defined. - -2006-12-20 Kim F. Storm - - * s/ms-w32.h (BROKEN_NON_BLOCKING_CONNECT): Define it. - -2006-12-19 Juanma Barranquero - - * keyboard.c (syms_of_keyboard) : - * mac.c (Fmac_code_convert_string): - * search.c (Fsearch_forward): Doc fixes. - -2006-12-19 Kim F. Storm - - Rework 2006-12-04 change. A SIGUSR1 (SIGUSR2) signal now generates - a sigusr1 event instead of [signal usr1] sequence, and signal events - are now supposed to be handled via special-event-map. - - * keyboard.c (kbd_buffer_store_event_hold): Undo 2006-12-04 change. - (make_lispy_event): Don't generate Qsignal prefix for code 0. - Abort if signal code is unknown. - (store_user_signal_events): Don't make Qsignal prefix (code 0). - (Qsignal): Move declaration back to process.c. - (syms_of_keyboard): Don't intern or staticpro it here. - - * process.c (Qsignal): Declare here. - (syms_of_process): Intern or staticpro it. - - * emacs.c (main): Rename user signals to sigusr1 and sigusr2. - - * .gdbinit: Pass on SIGUSR1 and SIGUSR2 to Emacs. - -2006-12-19 Juanma Barranquero - - * buffer.c (syms_of_buffer) : - : Doc fixes. - -2006-12-17 Richard Stallman - - * fileio.c (Fread_file_name_internal): Pass Vread_file_name_predicate - to Ffile_name_completion. - - * dired.c (file_name_completion): New arg PREDICATE. Some cleanup. - (Ffile_name_completion): New arg PREDICATE. - -2006-12-17 Juanma Barranquero - - * buffer.c (Fkill_buffer): Doc fix. - (syms_of_buffer) : Doc fix. - -2006-12-16 Juanma Barranquero - - * minibuf.c (Ftry_completion): Check that obarray buckets are symbols. - -2006-12-16 Eli Zaretskii - - * w32fns.c (w32-window-exists-p): New function. - (syms_of_w32fns): Defsubr it. - - * prefix-args.c [STDC_HEADERS]: Include stdlib.h. - -2006-12-16 Juanma Barranquero - - * minibuf.c (Ftry_completion): Use `check_obarray' if ALIST is a vector. - -2006-12-15 Eli Zaretskii - - * emacs.c (USAGE3): Clarify documentation of --color. - -2006-12-15 YAMAMOTO Mitsuharu - - * mac.c (wakeup_from_rne_enabled_p) [TARGET_API_MAC_CARBON]: - New variable. - (ENABLE_WAKEUP_FROM_RNE, DISABLE_WAKEUP_FROM_RNE): New macros. - [!MAC_OSX] (select): Use them. - [MAC_OSX] (select_and_poll_event, sys_select): Likewise. - (mac_wakeup_from_rne) [TARGET_API_MAC_CARBON]: New function. - - * macfns.c (mac_atsu_font_face_attributes) [USE_ATSUI]: Add extern. - (Fmac_atsu_font_face_attributes) [USE_ATSUI]: New function. - (syms_of_macfns) [USE_ATSUI]: Defsubr it. - - * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): - Use mac_wakeup_from_rne instead of mac_post_mouse_moved_event. - - * macterm.c (mac_query_char_extents) [USE_ATSUI]: Don't call - ATSUGetGlyphBounds if not necessary. - (Vmac_atsu_font_table) [USE_ATSUI]: Remove variable. - (syms_of_macterm) [USE_ATSUI]: Don't defvar it. - (fm_get_style_from_font, atsu_find_font_from_family_name) - (atsu_find_font_family_name, mac_atsu_font_face_attributes) - [USE_ATSUI]: New functions. - (init_font_name_table) [USE_ATSUI]: Use atsu_find_font_family_name. - (mac_load_query_font) [USE_ATSUI]: Use atsu_find_font_from_family_name. - Don't get metrics for Latin-1 right half characters. - (mac_load_query_font): Don't load font if space width is not positive. - [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): - Use mac_wakeup_from_rne instead of mac_post_mouse_moved_event. - (XTread_socket): Call SelectWindow when unfocused frame is clicked. - - * macterm.h (mac_wakeup_from_rne) [TARGET_API_MAC_CARBON]: Add extern. - -2006-12-15 Kim F. Storm - - * keyboard.c (ignore_mouse_drag_p): New global var. - (some_mouse_moved): Return 0 if it is non-zero. - (make_lispy_event): Generate click event on mouse up if - ignore_mouse_drag_p is non-zero, even if mouse moved. - Clear ignore_mouse_drag_p on mouse down/up. - - * xdisp.c (redisplay_window): Set ignore_mouse_drag_p if tool-bar - is resized to avoid generating a mouse drag event. - -2006-12-14 Juanma Barranquero - - * w32fns.c (w32_wnd_proc): Force non-tooltip frames to respect the - minimum tracking size. Remove non-working old hack to do the same. - -2006-12-14 YAMAMOTO Mitsuharu - - * emacs.c (handle_user_signal): Move function to keyboard.c. - (main): Use add_user_signal for SIGUSR1 and SIGUSR2. - - * keyboard.c (make_lispy_event): Use find_user_signal_name. - (read_avail_input): Store pending user signal events. - (struct user_signal_info): New struct. - (user_signals): New variable. - (add_user_signal, store_user_signal_events) - (find_user_signal_name): New functions. - (handle_user_signal): Move function from emacs.c. Don't store - USER_SIGNAL_EVENT here, but increment number of pending signals. - - * keyboard.h (add_user_signals): Add extern. - -2006-12-11 Juanma Barranquero - - * buffer.c (syms_of_buffer) : - : - : Doc fixes. - - * xdisp.c (syms_of_xdisp) : Doc fix. - -2006-12-10 Kim F. Storm - - * xdisp.c (show_mouse_face): Never use text cursor in tool-bar. - -2006-12-10 Juanma Barranquero - - * abbrev.c (syms_of_abbrev) : - * buffer.c (syms_of_buffer) : - * keymap.c (Flookup_key): - * lread.c (Feval_buffer, Feval_region): - * macterm.c (syms_of_macterm) : - : - * marker.c (Fmarker_insertion_type): - * minibuf.c (syms_of_minibuf) : - * msdos.c (syms_of_msdos) : - * w32term.c (syms_of_w32term) : - : - * xdisp.c (format-mode-line): - * xterm.c (syms_of_xterm) : - : Doc fixes. - -2006-12-10 Andreas Schwab - - * systime.h (EMACS_GET_TIME): Remove check for - HAVE_STRUCT_TIMEZONE which is never defined. - -2006-12-10 Alan Mackenzie - - * syntax.c (Fpartial_parse_sexp): Correct Docco: Elt 8 of the - result is now neither the last elt nor optional for OLDSTATE. - -2006-12-09 Eli Zaretskii - - * process.c (Fsignal_process): Doc fix. Use XFLOAT_DATA to - extract the process ID from a Lisp float. - -2006-12-09 Chong Yidong - - * xterm.c (XTframe_raise_lower): Comment out _NET_ACTIVE_WINDOW code. - -2006-12-08 Eli Zaretskii - - * frame.h (PIX_TYPE): Redefine as `unsigned long', for 64-bit - platforms where long is 64-bit. - - * msdos.h (PIX_TYPE): Redefine as `unsigned long'. - -2006-12-08 NAKAJI Hiroyuki (tiny change) - - * m/amdx86-64.h: Add support for Solaris 10 on x86-64. - -2006-12-08 Kenichi Handa - - * xterm.c (x_query_font): Use xstricmp instead off strcasecmp. - -2006-12-08 Juanma Barranquero - - * emacs.c (syms_of_emacs) : Doc fix. - -2006-12-07 Kim F. Storm - - * process.c (parse_signal): Use xstricmp instead of strcasecmp. - (Fsignal_process): Don't use strncasecmp. - -2006-12-05 Glenn Morris - - * abbrev.c (Qforce): New Lisp_Object. - (Fdefine_abbrev): Do not overwrite non-system abbrevs with system - abbrevs, unless 'force is applied. - (syms_of_abbrev): Add Qforce. - -2006-12-04 Kim F. Storm - - * process.c (parse_signal): Rename macro from handle_signal. - (Fsignal_process): Also accept lower-case variants of signal - names (to align with signal names generated by Emacs itself). - - * emacs.c (handle_USR1_signal, handle_USR2_signal): Replace by... - (handle_user_signal): ... this, which generates two USER_SIGNAL_EVENTs - first with code == 0 [signal] and one with code == sig number. - (main): Use it as handler for SIGUR1 and SIGUSR2. - - * keyboard.c (kbd_buffer_store_event_hold): Don't throw-on-input - if first event in [signal xxx] sequence. - (lispy_user_signals, Qusr1_signal, Qusr2_signal): Remove. - (syms_of_keyboard): Don't intern and staticpro them. - (Qsignal): Declare here. - (syms_of_keyboard): Intern and staticpro it. - (make_lispy_event): Use it. Intern symbols on the fly for other - USER_SIGNAL_EVENTs events. - - * process.c (Qsignal): Declare extern. - (syms_of_process): Don't intern/staticpro it here. - - * process.c (read_process_output): Abort if carryover < 0. - -2006-12-04 YAMAMOTO Mitsuharu - - * config.in: Regenerate. - - * fileio.c [__NetBSD__]: Don't define `unix'. - (Funix_sync, syms_of_fileio): Use `#ifdef HAVE_SYNC' instead of - `#ifdef unix'. - -2006-12-04 Glenn Morris - - * Makefile.in (version): New variable, set by configure. - (bootstrapclean, mostlyclean): Also remove emacs-${version}. - -2006-12-03 Jan Dj,Ad(Brv - - * gtkutil.c (update_frame_tool_bar): Handle modifying a toolbar item - without an image. - -2006-12-01 Eli Zaretskii - - * w32fns.c (Fw32_shell_execute): Doc fix. - -2006-11-30 Chong Yidong - - * xdisp.c (move_it_to): Correctly count tab glyphs for continued - lines ending in tab. - -2006-11-30 Jan Dj,Ad(Brv - - * xterm.c (x_raise_frame): Move setting of _NET_ACTIVE_WINDOW - property ... - (XTframe_raise_lower): ... to here. - -2006-11-30 Kenichi Handa - - * regex.c (regex_compile): Fix previous change. - -2006-11-29 Juanma Barranquero - - * sound.c (Fplay_sound_internal): Remove spurious newline in docstring. - -2006-11-28 Chong Yidong - - * config.in: Regenerate. - -2006-11-28 Kenichi Handa - - * regex.c (regex_compile): Don't call SET_LIST_BIT with a - multibyte character. - -2006-11-27 Chong Yidong - - * s/aix4-2.h: Undefine _NO_PROTO. Suggested by Joe Buehler. - -2006-11-27 Kim F. Storm - - * window.c (set_window_buffer): Refactor recent changes. - -2006-11-27 Jason Rumney - - * w32term.c (w32_msg_worker): Declare correctly. - (w32_initialize): Don't cast w32_msg_worker. - - * w32fns.c (w32_msg_worker): Define as WINAPI and arg as void pointer. - -2006-11-26 Chong Yidong - - * m/amdx86-64.h: Look for standard libs in /usr/lib64 only if that - directory exists. - -2006-11-25 Eli Zaretskii - - * w16select.c (Fw16_set_clipboard_data): Fix the call to sit_for - as per the calling sequence change on 2006-07-11. - -2006-11-25 Chong Yidong - - * window.c (set_window_buffer): Use BLOCK_INPUT. - -2006-11-24 Juanma Barranquero - - * fns.c (substring_both): Add missing address operator. - -2006-11-24 Stefan Monnier - - * fns.c: Use AREF/ASIZE macros. - (concat): Provide the full ANSI prototype. - -2006-11-24 Juanma Barranquero - - * buffer.c (syms_of_buffer) : Doc fix. - -2006-11-23 William Smith (tiny change) - - * strftime.c (HAVE_SYS__MBSTATE_T_H): Fix typo. - -2006-11-22 Alfred M. Szmidt (tiny change) - - * s/openbsd.h (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and - /usr/pkg/lib from the library search path. - (LD_SWITCH_X_DEFAULT): New macro. - -2006-11-22 Chong Yidong - - * window.c (set_window_buffer): Clear mouse highlight if it is in - this window. - -2006-11-21 Chong Yidong - - * xfaces.c (realize_default_face): Check if the default font name - exists on this display before trying to use it. - -2006-11-21 Richard Stallman - - * fileio.c: Break line before &&, not after. - -2006-11-20 Eli Zaretskii - - * fns.c (concat) [!__GNUC__]: Add prototype. - -2006-11-20 Kenichi Handa - - * fileio.c (Fread_file_name_internal): Use SBYTES (not SCHARS) to - check the tailing slash of a filename. - -2006-11-20 KOBAYASHI Yasuhiro (tiny change) - - * indent.c (Fvertical_motion): Include composition in the case of - overshoot expected. - -2006-11-19 Andreas Schwab - - * xfaces.c (Fdisplay_supports_face_attributes_p): Initialize supports. - - * xmenu.c (Fx_popup_menu): Initialize selection. - -2006-11-18 Andreas Schwab - - * s/gnu-linux.h (GC_MARK_SECONDARY_STACK): Update call to mark_memory. - -2006-11-17 Tetsurou Okazaki (tiny change) - - * xterm.c (do_ewmh_fullscreen): Declare variable before XSETFRAME - to avoid gcc 2.96 error. - -2006-11-17 NIIMI Satoshi (tiny change) - - * search.c (simple_search): In the loop of backward searching, - check also the byte position against the limit. - -2006-11-14 Romain Francoise - - * minibuf.c (Fcompleting_read): Fix typo in docstring. - -2006-11-14 Kenichi Handa - - * coding.c (code_convert_region): Initialize coding->heading_ascii. - (decode_coding_string, code_convert_region): Likewise. - -2006-11-14 YAMAMOTO Mitsuharu - - * config.in: Regenerate. - - * macfns.c (Fx_display_mm_height, Fx_display_mm_width) - [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 - && MAC_OS_X_VERSION_MIN_REQUIRED == 1020]: Check if - CGDisplayScreenSize is available. - - * macmenu.c (menu_quit_handler, install_menu_quit_handler): - Replace `#ifdef HAVE_CANCELMENUTRACKING' with - `#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1030'. - (install_menu_quit_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 - && MAC_OS_X_VERSION_MIN_REQUIRED == 1020]: Check if - CancelMenuTracking is available. - - * macterm.c [USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg) - [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 - && MAC_OS_X_VERSION_MIN_REQUIRED == 1020]: Check if - CGContextShowGlyphsWithAdvances is available. - -2006-11-13 Jason Rumney - - * s/ms-w32.h: Define HAVE_INET_SOCKETS. - -2006-11-13 Nozomu Ando - - * alloc.c (mark_memory): New argument OFFSET. All uses changed. - Fix address calculations for case END < START. - (mark_stack): Impose Lisp_Object alignment on jmp_buf. - -2006-11-12 Juanma Barranquero - - * coding.c (Fencode_sjis_char, Fencode_big5_char): - Improve argument/docstring consistency. - - * editfns.c (Fmessage): Doc fixes. - - * process.c (syms_of_process) : Doc fix. - -2006-11-12 Chong Yidong - - * xmenu.c (popup_activated): Define outside HAVE_MENUS. - -2006-11-12 Romain Francoise - - * xselect.c (selection-coding-system): Fix docstring. - -2006-11-12 Juanma Barranquero - - * category.c (Fchar_category_set): Improve arg/docstring consistency. - - * data.c (Flogxor): - * fns.c (Frandom, Flength, Fsafe_length, Fstring_bytes) - (Fstring_equal, Fcompare_strings, Fstring_lessp, Fcopy_sequence) - (Fstring_make_unibyte): Fix typos in docstrings. - -2006-11-10 Jan Dj,Ad(Brv - - * xterm.h (struct x_display_info): Fix indentation. - - * xterm.c (do_ewmh_fullscreen, XTfullscreen_hook): New functions. - (x_check_fullscreen): Call do_ewmh_fullscreen. - (x_initialize): Set fullscreen_hook to XTfullscreen_hook. - - * frame.c (x_set_fullscreen): Call fullscreen_hook if set. - - * term.c: Define fullscreen_hook. - (syms_of_term): Initialize fullscreen_hook to NULL. - - * termhooks.h: Add fullscreen_hook. - -2006-11-08 Juanma Barranquero - - * bytecode.c (Fbyte_code): - * data.c (Fmakunbound): Use SYMBOL_CONSTANT_P macro. - -2006-11-06 Juanma Barranquero - - * lread.c (syms_of_lread): - * xsmfns.c (syms_of_xsmfns): Fix typo in docstring. - -2006-11-06 Martin Rudalics - - * macmenu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS. - - * w32menu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS. - Return nil if building without menus. - - * xmenu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS. - Return nil if building without menus. - -2006-11-05 Mark Davies (tiny change) - - * s/netbsd.h (POSIX_SIGNALS): Define. - -2006-11-05 Martin Rudalics - - * macmenu.c (Fmenu_or_popup_active_p): New function. - (syms_of_macmenu): Defsubr it. - - * w32menu.c (Fmenu_or_popup_active_p): New function. - (syms_of_w32menu): Defsubr it. - (popup_activated_flag, popup_activated): Remove. - - * xdisp.c (note_mouse_highlight) [HAVE_NTGUI]: Don't bother to - check popup_activated. - - * xmenu.c (Fmenu_or_popup_active_p): New function. - (syms_of_xmenu): Defsubr it. - -2006-11-05 YAMAMOTO Mitsuharu - - * unexmacosx.c (malloc_cookie): Remove unused variable. - (region_list_head, region_list_tail, lca, nlc, infile_lc_highest_addr) - (text_seg_lowest_offset, mh, curr_header_offset, infd, outfd) - (emacs_zone, data_segment_old_fileoff, data_segment_scp) - (num_unexec_regions, unexec_regions): Make variables static. - (print_regions, find_emacs_zone_regions): Make static. - (unexec_region_info): New typedef. - (unexec_regions): Change type from vm_range_t[] to unexec_region_info[]. - All uses changed. - (unexec_regions_recorder): Subtract size of trailing null pages from - filesize. Show filesize. - (unexec_regions_merge): Don't merge if null pages of preceding region - is not too small. Use long format in printf. - (copy_segment, copy_data_segment): Show filesize. - (copy_data_segment): Write filesize bytes of region data. - Adjust filesize in segment command accordingly. - (dump_it): Use long format in printf. - -2006-11-05 Juanma Barranquero - - * dosfns.c (Finsert_startup_screen): - * fns.c (Ffeaturep, syms_of_fns): - * frame.c (syms_of_frame): Fix typos in docstrings. - - * unexcw.c (unexec): Fix typo in output message. - -2006-11-04 Ralf Angeli - - * w32fns.c (w32_createwindow): Remove code for handling -geometry - command line option and `initial-frame-alist' which is superfluous - after the last change to `w32_createwindow'. - -2006-11-04 Slawomir Nowaczyk (tiny change) - - * w32proc.c (sys_wait): Only wait for processes with fd<0. - Others should be handled by sys_select instead. Fixes problems - with (progn (start-process "" nil "ls") (call-process "ls")). - -2006-11-04 Giorgos Keramidas (tiny change) - - * xmenu.c (Fmenu_bar_open): Declare variable before BLOCK_INPUT to - avoid gcc 2.95 error. - -2006-11-04 Chong Yidong - - * gtkutil.c (update_frame_tool_bar): If icon image is invalid and - wicon is null, insert an empty button. - -2006-11-03 Jan Dj,Ad(Brv - - * xterm.c (x_raise_frame): Send _NET_ACTIVE_WINDOW when raising the - window. - -2006-11-02 Juanma Barranquero - - * emacs.c (Fkill_emacs): Fix typo in docstring. - -2006-11-02 Nozomu Ando - - * unexmacosx.c (mach_header, segment_command, vm_region, section) - [_LP64]: New defines. - (VM_REGION_BASIC_INFO_COUNT, VM_REGION_BASIC_INFO, LC_SEGMENT) - (MH_MAGIC) [_LP64]: Redefine. - (delta): Remove variable. - (curr_file_offset, pagesize): New variables. - (ROUNDUP_TO_PAGE_BOUNDARY): New macro. - (data_segment_old_fileoff): Initialize explicitly. - (print_region, unexec_regions_recorder, print_load_command_name) - (copy_segment, copy_data_segment): Use long format in printf. - (MAX_UNEXEC_REGIONS): Increase to 400. - (unexec_regions_recorder): Don't warn too many regions here. - (find_emacs_zone_regions): Warn too many regions here. - (print_load_command_name) [_LP64]: Show correct load command name. - (copy_segment, copy_data_segment): Use variable `curr_file_offset'. - Show starting virtual memory address. Don't show ending file offset. - (copy_symtab, copy_dysymtab, copy_twolevelhints): New argument DELTA. - (dump_it): Use new local variable `linkedit_delta' and pass to them. - Error if trying to handle multiple DATA segments. - (unexec): Initialize variable `pagesize'. - -2006-11-01 Juanma Barranquero - - * eval.c (Fcatch): Doc fix. - -2006-10-31 YAMAMOTO Mitsuharu - - * image.c [MAC_OS] (image_load_qt_1, xpm_scan, xpm_make_color_table_v) - (xpm_put_color_table_v, xpm_get_color_table_v, xpm_make_color_table_h) - (xpm_put_color_table_h, xpm_get_color_table_h, xpm_str_to_color_key) - (xpm_load_image): Add const qualifier to arguments. - [MAC_OS] (xpm_color_key_strings): Make static const. - - * mac.c (create_apple_event_from_event_ref) - (create_apple_event_from_drag_ref, skip_white_space, parse_comment) - (parse_include_file, parse_binding, parse_component) - (parse_resource_name, parse_value, parse_resource_line) - (xrm_merge_string_database, xrm_get_resource) - (xrm_get_preference_database): Add const qualifier to arguments. - [MAC_OSX] (sys_select): Make variable `context' static const. - - * macfns.c (mac_color_map): Make static const. - (mac_color_map_lookup): Add const qualifier to arguments. - - * macmenu.c (install_menu_quit_handler): Make variable `typesList' - static const. - (name_is_separator): Add const qualifier to arguments. - - * macselect.c (init_service_handler): Make variable `specs' static - const. - - * macterm.c (mac_create_bitmap_from_bitmap_data): Make variable - `swap_nibbles' static const. - (atsu_get_text_layout_with_text_ptr): Make variables `lengths', - `tags', `sizes', `values' static const. - (mac_draw_string_common): Make variables `context' static. - Make variables `tags', `sizes', and `values' static const. - (pcm_get_status, x_detect_focus_change, x_scroll_bar_handle_click) - (xlfdpat_create, xlfdpat_block_match_1, xlfdpat_match) - (mac_to_x_fontname, parse_x_font_name, add_mac_font_name) - (mac_do_list_fonts, is_fully_specified_xlfd, do_grow_window) - (mac_store_event_ref_as_apple_event, mac_make_rdb): Add const - qualifier to arguments. - (xlfd_scalable_fields, keycode_to_xkeysym_table) - (fn_keycode_to_keycode_table): Make static const. - (mac_load_query_font): Make variables `tags', `sizes', `values', - `types', and `selectors' static const. - (mac_handle_command_event, mac_handle_window_event): - Make variables `names' and `types' static const. - (init_command_handler, install_window_handler): Make variables - `specs*' static const. - (mac_handle_font_event, mac_handle_text_input_event) - (mac_store_service_event): Make variables `names' and `types' - const. Make variables `names_*' and `types_*' static const. - - * macterm.h (create_apple_event_from_event_ref) - (create_apple_event_from_drag_ref, xrm_merge_string_database) - (xrm_get_resource, xrm_get_preference_database): Add const - qualifier to arguments in externs. - -2006-10-31 Kenichi Handa - - * xfns.c (xic_create_xfontset): Fix previous change. - -2006-10-30 Chong Yidong - - * s/openbsd.h (LD_SWITCH_SYSTEM): Add /usr/pkg/lib and - /usr/pkg/lib to library search path. - -2006-10-29 Mark Davies (tiny change) - - * ralloc.c (relinquish): Use a long for excess space counter to - handle 64-bit case correctly. - -2006-10-29 Jeramey Crawford - - * m/amdx86-64.h: Add defines for OpenBSD x86-64. - -2006-10-29 Juanma Barranquero - - * window.c (Fdisplay_buffer): Fix typo in docstring. - -2006-10-27 Ben North (tiny change) - - * w32term.c (x_draw_glyph_string_foreground): Set background mode - to TRANSPARENT before using overstrike to simulate bold faces. - - * xfaces.c (best_matching_font): Fix logic to decide whether to - use overstriking to simulate bold-face (it was reversed). - -2006-10-23 Kim F. Storm - - * xdisp.c (remember_mouse_glyph): Do nothing if glyphs are not - initialized. - - * keyboard.c (read_char): Make an element (t . EVENT) in - unread-command-events add EVENT to the current command's key sequence. - (syms_of_keyboard) : Update doc. - -2006-10-21 Richard Stallman - - * minibuf.c (Vread_expression_map): Define here. - (Qread_expression_history): New variable. - (syms_of_minibuf): Initialize them. - (Feval_minibuffer): Use Vread_expression_map and - Qread_expression_history. - -2006-10-21 Kenichi Handa - - * xfns.c (xic_create_fontsetname): If ADSTYLE field is not a wild - card, change it to "*". - (xic_create_xfontset): Call XCreateFontSet for each single - fontname in fontsetname. - -2006-10-19 Chong Yidong - - * callint.c (callint_message): Convert to a Lisp string. - (syms_of_callint): Initialize it. - (callint_message_size): Var deleted. - (Fcall_interactively): Use Fformat instead of doprnt to construct - prompt string. - -2006-10-19 YAMAMOTO Mitsuharu - - * xdisp.c (display_mode_line): Clear enabled_p flag on mode-line row. - -2006-10-19 YAMAMOTO Mitsuharu - - * macfns.c (Vmac_carbon_version_string) [TARGET_API_MAC_CARBON]: - New variable. - (syms_of_macfns) [TARGET_API_MAC_CARBON]: Defvar it. - -2006-10-19 Jan Dj,Ad(Brv - - * xselect.c (x_handle_selection_request): If the converted_selection - is nil or XCDR (converted_selection) is nil, decline the request. - -2006-10-16 Jan Dj,Ad(Brv - - * gtkutil.c (get_utf8_string): Remove warnings with casts. - (xg_tool_bar_button_cb): Ditto. - (xg_tool_bar_callback): Ditto. - -2006-10-16 YAMAMOTO Mitsuharu - - * dispnew.c (adjust_frame_glyphs_for_frame_redisplay): Remove unused - variable ch_dim. - (adjust_frame_glyphs_for_window_redisplay): Likewise. Don't allocate - menu bar window matrices on non-X systems. - - * mac.c (Fmac_get_preference, Fmac_code_convert_string): Add GCPROs. - - * macterm.c (mac_query_char_extents): Don't return glyph ID if layout - adjustment is needed. - (mac_load_query_font): Check if width and height are positive. - -2006-10-14 Richard Stallman - - * sysdep.c (init_sys_modes): Delete DEFVAR_LISP in the wrong place. - -2006-10-13 Chong Yidong - - * xdisp.c (decode_mode_spec): Ignore %c and %l constructs in frame - title. - -2006-10-12 Chong Yidong - - * keymap.c (Fkey_binding): Check Lisp_Object types before doing - XCAR and XINT. - -2006-10-12 Romain Francoise - - * image.c (xbm_read_bitmap_data): Delete extra semicolon. - -2006-10-10 Stefan Monnier - - * eval.c: Include xterm.h for x_fully_uncatch_errors and friends. - - * dispextern.h: Declare x_create_bitmap_from_xpm_data. - - * xterm.c (x_check_expected_move): Remove unused var `count'. - - * xmenu.c (syms_of_xmenu): Use Ffset rather than Fdefalias, since - Fdefalias is not declared in any *.h file. - -2006-10-09 Chong Yidong - - * dispnew.c (sit_for): Sit forever if TIMEOUT is t. - - * keyboard.c (command_loop_1): Handle non-number values of - `minibuffer-message-timeout'. - (Fexecute_extended_command): Fix typo. - - * minibuf.c (temp_echo_area_glyphs): Sit for - `minibuffer-message-timeout' seconds. - -2006-10-08 YAMAMOTO Mitsuharu - - * macterm.c (mac_draw_image_string, mac_draw_image_string_16): - Add argument OVERSTRIKE_P. - (mac_draw_string_common, mac_draw_image_string_cg): Likewise. - Support overstrike. - (mac_draw_string, mac_draw_string_16): Remove functions. - (x_draw_glyph_string_foreground): Use overstrike when needed. - (x_draw_composite_glyph_string_foreground): Likewise. - Use mac_draw_image_string_16 instead of mac_draw_string_16. - (mac_load_query_font): Rename from XLoadQueryFont. Take argument - F instead of DPY. All uses changed. Don't save/restore font. - -2006-10-07 Ralf Angeli - - * w32fns.c (w32_createwindow): Honour left and top positions if - supplied explicitly. - -2006-10-06 Kim F. Storm - - * xdisp.c (pos_visible_p): Fix value when EOB is visible. - -2006-10-05 Chong Yidong - - * frame.c (Qinhibit_face_set_after_frame_default): New var. - (syms_of_frame): Initialize it. - (x_set_frame_parameters): Avoid resetting :font attributes to the - new-frame defaults. - -2006-10-03 Stefan Monnier - - * lisp.h (clear_regexp_cache): Declare. - - * search.c (compile_pattern): Only check `cp->syntax_table' if needed. - (compile_pattern_1): Remember `used_syntax' in `cp->syntax_table'. - (clear_regexp_cache): Only flush those regexps which depend on - a syntax-table. - - * regex.c (regex_compile): Set the new `used_syntax' bit. - - * regex.h: Remove file local variables. - (struct re_pattern_buffer): New field `used_syntax'. - -2006-10-03 Kim F. Storm - - * process.c (list_processes_1): Run sentinels before removing dead - processes. Also remove `closed' network connections. - -2006-10-01 Stefan Monnier - - * xdisp.c (handle_fontified_prop): Don't fontify at EOB. - -2006-09-30 Eli Zaretskii - - * config.in: Regenerated. - -2006-09-29 Juri Linkov - - * buffer.c (syms_of_buffer): Reorder coding systems in the - docstring of %z to the real order displayed in the modeline. - -2006-09-28 Stefan Monnier - - * keymap.c (Fdefine_key): Yet another int/Lisp_Object mixup (YAILOM). - -2006-09-26 Chong Yidong - - * indent.c (Fvertical_motion): Do move back if the Lisp string - being displayed contains newlines. - -2006-09-26 YAMAMOTO Mitsuharu - - * macterm.c (mac_compute_glyph_string_overhangs, XLoadQueryFont) - [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw before QDTextBounds. - -2006-09-26 Kenichi Handa - - * keymap.c (Fsingle_key_description): For an invalid char, return - "Invalid char code NNNNN". - -2006-09-25 Chong Yidong - - * callint.c (Fcall_interactively): Doc fix. - -2006-09-25 YAMAMOTO Mitsuharu - - * macterm.c (x_underline_at_descent_line): New variable. - (syms_of_macterm): DEFVAR_BOOL it. - (x_draw_glyph_string): Use it. - (XLoadQueryFont): Calculate min_bounds.descent and max_bounds.descent. - -2006-09-25 Kenichi Handa - - * keymap.c (Fsingle_key_description): Return unique names for - generic characters. - -2006-09-24 Richard Stallman - - * search.c (compile_pattern_1): Don't BLOCK_INPUT. - -2006-09-24 Eli Zaretskii - - * makefile.w32-in ($(BLD)/fns.$(O), $(BLD)/w32proc.$(O)): - Depend on nt/inc/langinfo.h and nt/inc/nl_types.h. - - * w32proc.c (nl_langinfo): New function. - - * w32fns.c (w32-pass-alt-to-system, w32-alt-is-meta) - (w32-pass-lwindow-to-system, w32-enable-num-lock) - (w32-enable-caps-lock, w32-scroll-lock-modifier) - (w32-lwindow-modifier, w32-rwindow-modifier) - (w32-apps-modifier, w32-mouse-button-tolerance): Doc fix. - -2006-09-23 Juanma Barranquero - - * minibuf.c (Finternal_complete_buffer, Fread_minibuffer) - (Fdisplay_completion_list): Fix typos in docstrings. - -2006-09-23 Romain Francoise - - * s/gnu-linux.h (MAIL_USE_FLOCK): Check for HAVE_LIBLOCKFILE too. - -2006-09-23 Kenichi Handa - - * keymap.c (Fmap_keymap): Docstring mentions about generic character. - -2006-09-22 Stefan Monnier - - * regex.c (analyse_first): For eight-bit-control chars, mark both the - char's value and its leading byte in the fastmap. - (re_search_2): When fast-scanning without translation, be careful to - check that we only match the leading byte of a multibyte char. - - * charset.h (PREV_CHAR_BOUNDARY): Make it work from within a char's - byte sequence. - (AT_CHAR_BOUNDARY): New macro. - -2006-09-22 Kenichi Handa - - * fns.c (optimize_sub_char_table): Don't optimize a sub-char-table - whose default value is non-nil. - -2006-09-22 Jan Dj,Ad(Brv - - * gtkutil.c (xg_get_file_with_chooser): Only show C-l help for - Gtk+ versions < 2.10. - - * xfns.c (syms_of_xfns): Fix typo in help text for - x-gtk-file-dialog-help-text. - -2006-09-21 Kim F. Storm - - * fns.c (Fmemq): Refill doc string. - (Fmemql): New defun, like memq but using eql. - (syms_of_fns): Defsubr it. - -2006-09-20 Kim F. Storm - - * xdisp.c (pos_visible_p): CHARPOS < 0 means return info for - last visible glyph in window. - - * window.c (Fset_window_hscroll, Fwindow_line_height): - Doc fix. Use "off-window" instead of "off-screen". - (Fpos_visible_in_window_p): Likewise. - If POS is t, return info for last visible glyph in window. - -2006-09-19 Chong Yidong - - * search.c (struct regexp_cache): New entry syntax_table. - (compile_pattern_1): Set it. - (syms_of_search): Initialize it. - (compile_pattern): Require the syntax_table entry of the cache - element to match the current syntax table entry. - -2006-09-19 Stefan Monnier - - * window.c (Fwindow_end): Fix recent change. - -2006-09-19 Kim F. Storm - - * window.c (Fset_window_hscroll, Fpos_visible_in_window_p): - Doc fix. Use "off-screen" instead of "invisible". - (Fwindow_line_height): Make line numbers 0-based. Make line arg - optional; if nil, use current cursor row. Handle text terminals - properly. Return nil if non-interactive or pseudo-window. - -2006-09-19 Stefan Monnier - - * keymap.c: Include alloca.h if available. - (Fkey_binding): Only use AREF after checking it's a vector. - Remove unused var `window'. - -2006-09-19 YAMAMOTO Mitsuharu - - * emacs.c (shut_down_emacs) [!subprocesses]: Don't set - inhibit_sentinels. - - * mac.c [!MAC_OSX] (select): Fix argument name. - - * macmenu.c (enum mac_menu_kind, min_menu_id): New enumerator and - menu ID for Apple menu. - (menubar_selection_callback): Remove function. - (find_and_call_menu_selection): New function from xmenu.c. - (x_activate_menubar): Use it. - (set_frame_menubar): Don't use f->output_data.mac->menubar_active. - - * macterm.c (menubar_selection_callback): Remove extern. - (M_APPLE): Change to 234. - (do_apple_menu) [!TARGET_API_MAC_CARBON]: Make non-static. - (do_menu_choice): Remove function. - - * macterm.h (struct mac_output): Remove member menubar_active. - (do_menu_choice): Remove extern. - (do_apple_menu) [!TARGET_API_MAC_CARBON]: Add extern. - -2006-09-18 Jan Dj,Ad(Brv - - * xfns.c (syms_of_xfns): Rename x_gtk_show_chooser_help_text to - x_gtk_file_dialog_help_text. - - * gtkutil.c (xg_uses_old_file_dialog): Rename x-use-old-gtk-file-dialog - to x-gtk-use-old-file-dialog. - (xg_get_file_with_chooser): Rename x_gtk_show_chooser_help_text to - x_gtk_file_dialog_help_text. - - * xfns.c (syms_of_xfns): Ditto. - -2006-09-18 Kim F. Storm - - * window.c (Fwindow_line_visibility): Remove. - (Fwindow_line_height): New defun replacing it. - (syms_of_window): Defsubr it. - -2006-09-18 YAMAMOTO Mitsuharu - - * mac.c (SELECT_USE_CFSOCKET) [MAC_OSX]: Set default to 1. - [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Fix pointer type. - -2006-09-17 Jay Belanger - - * gmalloc.c: - * md5.c: - * md5.h: - * strftime.c: Replace "GNU Library General Public License" by "GNU - General Public License" throughout. - -2006-09-17 Kim F. Storm - - * dispnew.c (update_text_area): Undo 2000-07-18 change. - Always redrawing whole row if line has mouse-face in it causes - excessive flickering of the mode line. - -2006-09-17 Chong Yidong - - * search.c (clear_regexp_cache): New function. - - * syntax.c (Fmodify_syntax_entry): Clear regexp cache. - -2006-09-16 Jan Dj,Ad(Brv - - * gtkutil.c (xg_get_file_with_chooser): - Check x-gtk-show-chooser-help-text before adding the help text. - - * xfns.c (syms_of_xfns): New variable: x-gtk-show-chooser-help-text. - - * gtkutil.c (get_utf8_string): Try harder to convert to UTF8. Gtk+ - will simply crash if we fail. - -2006-09-16 Richard Stallman - - * regex.c (re_compile_pattern): Set gl_state.current_syntax_table. - -2006-09-15 Kim F. Storm - - * window.c (Fwindow_line_visibility): New defun for line-move-partial. - (syms_of_window): Defsubr it. - (Fwindow_end): Use window's buffer rather than current buffer. - -2006-09-15 Jay Belanger - - * COPYING: Replace "Library Public License" by "Lesser Public - License" throughout. - -2006-09-15 David Kastrup - - * Makefile.in (keymap.o): Add "keymap.h" and "window.h" dependencies. - - * keymap.c: include "window.h". - (Fcommand_remapping): New optional POSITION argument. - (Fkey_binding): New optional POSITION argument. Completely rework - handling of mouse clicks to get the same order of keymaps as - `read-key-sequence' and heed POSITION. Also temporarily switch - buffers to location of mouse click and back. - - * keyboard.c (command_loop_1): Adjust call of `Fcommand_remapping' - for additional argument. - (parse_menu_item): Adjust call of `Fkey_binding' for additional - argument. - (read_key_sequence): If there are both `local-map' and `keymap' - text properties at some buffer position, heed both. - - * keymap.h: Declare additional optional arguments of - `Fcommand_remapping' and `Fkey_binding'. - -2006-09-15 Juanma Barranquero - - * indent.c (Fcurrent_column, Findent_to): Fix typos in docstring. - -2006-09-14 Andreas Schwab - - * print.c: Whitespace fixup. - -2006-09-14 Kim F. Storm - - * xdisp.c (produce_image_glyph): Automatically crop wide images at - right window edge so we can draw the cursor on the same row to - avoid confusing redisplay by placing the cursor outside the visible - window area. - -2006-09-13 YAMAMOTO Mitsuharu - - * xterm.c (x_initialize): Don't install Xt event timer here. - (x_timeout_atimer_activated_flag): New var. - (x_activate_timeout_atimer): New function to install Xt timer. - (x_send_scroll_bar_event, x_process_timeouts): Use it. - - * xmenu.c (x_menu_set_in_use, popup_activate_callback) - (create_and_show_popup_menu, create_and_show_dialog): Use it. - - * xterm.h (x_activate_timeout_atimer): Add prototype. - -2006-09-13 Richard Stallman - - * print.c (print_string): When printcharfun is t, - copy string contents and call strout on the copy. - - * keyboard.c (read_char): If end_time specified, don't put the - event into this_command_keys. - (read_key_sequence): If Voverriding_terminal_local_map is specified, - don't check Voverriding_local_map at all. - -2006-09-12 Stefan Monnier - - * textprop.c (Fnext_property_change, Fnext_single_property_change) - (Fprevious_property_change, Fprevious_single_property_change): - Avoid changing limit, so we can correctly catch the case where the - property is constant up to limit. - -2006-09-12 YAMAMOTO Mitsuharu - - * macfns.c (mac_window) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: - * macterm.c (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: - Undo 2006-09-08 change. - -2006-09-11 Chong Yidong - - * keymap.c (Fkey_binding): Use string position for string objects. - -2006-09-11 Kim F. Storm - - * keymap.c (Fkey_binding): Fix last change. - - * editfns.c (Fmessage): Recommend using (message "%s" ...). - -2006-09-10 Chong Yidong - - * keymap.c (Fkey_binding): Check for local keymap for mouse click - events. - -2006-09-10 Kim F. Storm - - * keyboard.c (Finput_pending_p): Check Vunread_input_method_events - and Vunread_post_input_method_events. - - * dispnew.c (Fredisplay): Document return value. - -2006-09-10 Jan Dj,Ad(Brv - - * xfns.c (Fx_close_connection): Call xg_display_close when USE_GTK. - - * gtkutil.c (xg_display_close): Always change default display if needed, - check for < Gtk+ version 2.10 before calling gdk_display_close. - -2006-09-10 YAMAMOTO Mitsuharu - - * mac.c [MAC_OSX] (sys_select): Check argument `nfds' more rigidly. - Make variable `ofds' static. Remove variable `maxfd'. - - * macfns.c (Fx_file_dialog): Remove unused variable `f'. - Call check_mac. - - * macmenu.c (Vmenu_updating_frame, syms_of_macmenu): - * w32menu.c (Vmenu_updating_frame, syms_of_w32menu): - Apply 2006-09-08 change for xmenu.c. - - * xfns.c (Fx_file_dialog): Call check_x. - -2006-09-10 Kim F. Storm - - * xdisp.c (get_window_cursor_type): Use hollow cursor on - non-transparent images. - -2006-09-09 Eli Zaretskii - - * editfns.c (Fsystem_name): Mention "host" in the doc string. - (syms_of_editfns) : Likewise. - -2006-09-08 Martin Rudalics - - * xdisp.c (mouse_autoselect_window): Remove. - (Vmouse_autoselect_window): New variable. DEFVAR_LISP it. - - * dispextern.h (mouse_autoselect_window): Remove extern. - (Vmouse_autoselect_window): Add extern. - - * macterm.c (XTread_socket): Test Vmouse_autoselect_window - instead of mouse_autoselect_window. - - * msdos.c (dos_rawgetc): Likewise. - - * w32term.c (w32_read_socket): Likewise. - - * xterm.c (handle_one_xevent): Likewise. - -2006-09-08 Richard Stallman - - * xdisp.c (Vmenu_updating_frame): Define here. - (syms_of_xdisp): DEFVAR it here. - (update_menu_bar): Always return hooks_run. - Set Vmenu_updating_frame. - - * xdisp.c (redisplay_internal): Test Vinhibit_redisplay - before calculating SELECTED_FRAME. - - * xmenu.c (Vmenu_updating_frame): Don't define here. - (syms_of_xmenu): Don't DEFVAR it here. - - * xterm.c (x_error_quitter): For BadName error, just return. - - * eval.c (find_handler_clause): Give up on debugger if INPUT_BLOCKED_P. - - * casetab.c (init_casetab_once): Call set_case_table. - - * emacs.c (shut_down_emacs): Set inhibit_sentinels. - - * process.c (inhibit_sentinels): New variable. - (exec_sentinel): Test inhibit_sentinels. - (init_process): Initialize it. - - * process.h (inhibit_sentinels): Add decl. - - * search.c (looking_at_1, string_match_1, search_command): - Make syntax table's canon table point to eqv table. - -2006-09-08 Andreas Schwab - - * print.c (strout): Fix whitespace. - -2006-09-08 Kim F. Storm - - * xterm.c (x_draw_glyph_string): Fix 2006-08-24 change. - -2006-09-08 YAMAMOTO Mitsuharu - - * mac.c [!MAC_OSX]: Don't include keyboard.h. - [!MAC_OSX] (select): Try detect_input_pending before ReceiveNextEvent - in the same BLOCK_INPUT block, in case that some input has already - been read asynchronously. Pretend to be interrupted by a signal - if some input is available. - [MAC_OSX] (select_and_poll_event, sys_select): Likewise. - (SELECT_POLLING_PERIOD_USEC) [SELECT_USE_CFSOCKET]: Change to 100000. - Now used for ReceiveNextEvent timeout instead of select timeout. - (EVENT_CLASS_SOCK) [SELECT_USE_CFSOCKET]: Remove macro. - [SELECT_USE_CFSOCKET] (socket_callback): Add non-blocking connect - support. Quit event loop. - [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Add non-blocking - connect support. Reuse previously allocated CFRunLoopSource. - (Fmac_process_hi_command) [TARGET_API_MAC_CARBON]: New function. - (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. - - * macfns.c (mac_window) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: - Specify kWindowAsyncDragAttribute. - - * macterm.c (mac_handle_origin_change, mac_handle_size_change) - (mac_get_ideal_size): New functions. - (x_set_offset, x_set_window_size, x_make_frame_visible) - (do_zoom_window, mac_handle_window_event, XTread_socket): Use them. - (install_window_handler, mac_handle_window_event) - [USE_CARBON_EVENTS]: Handle kEventWindowGetIdealSize and - kEventWindowBoundsChanged. - (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Don't call - DragWindow. - -2006-09-07 Andreas Schwab - - * m/ibms390x.h (START_FILES, LIB_STANDARD): Override to - use lib64 instead of lib. - -2006-09-06 Stefan Monnier - - * Makefile.in: Avoid double quotes when possible. - -2006-09-06 Kenichi Handa - - * editfns.c (Fformat_time_string): Use make_unibyte_string to make - a Lisp string from the result of emacs_memftimeu call. - -2006-09-06 Kim F. Storm - - * xdisp.c (pos_visible_p): Remove exact_mode_line_heights_p arg; - so calculate heights even when pos-visible-in-window-p is called - with partially = t. Don't overshoot last_visible_y in move_it_to. - Return row height and row number in new rowh and vpos args. - (cursor_row_fully_visible_p): First line is always "fully visible". - (try_window): Don't clear matrix if vscrolled. - - * lisp.h (pos_visible_p): Update prototype. - - * window.c (Fpos_visible_in_window_p): Adapt to new pos_visible_p. - Return row height and row number for partially visible rows. - Modify return value to a 2 element list for fully visible rows and - 6 for partially visible row. - (window_scroll_pixel_based): Use pos_visible_p directly instead of - Fpos_visible_in_window_p. Fix auto vscrolling for partially - visible lines. Only vscroll backwards if already vscrolled - forwards. Unconditionally vscroll forwards if PT is first (and - only) line. Set new window start instead of scrolling at - start/end of tall line. - -2006-09-05 YAMAMOTO Mitsuharu - - * macterm.c (install_window_handler, mac_handle_window_event) - [USE_CARBON_EVENTS]: Handle kEventWindowClose. - [USE_MAC_TSM] (mac_handle_text_input_event): Set modifiers for - ASCII keystroke event. - -2006-09-04 Jan Dj,Ad(Brv - - * gtkutil.c (xg_get_file_with_chooser): Don't mention specific keys in - the file chooser message. Only call gtk_file_chooser_set_current_name - when action is SAVE. - -2006-09-04 Andreas Schwab - - * Makefile.in: Double all single and back quotes in C-style - comments to help fontifier. - -2006-09-03 Jason Rumney - - * w32.c (shutdown_handler): New function to exit cleanly on shutdown. - (globals_of_w32): Register it as a signal handler. - -2006-09-02 Juri Linkov - - * marker.c (Fmarker_position): Doc fix. - -2006-09-03 Eli Zaretskii - - * window.c (syms_of_window) : - : Doc fix. - -2006-09-02 Jan Dj,Ad(Brv - - * gtkutil.c (xg_get_file_with_chooser): Change file chooser message - for writing files. Call gtk_file_chooser_set_current_name to keep - default filename. - - * minibuf.c (Finternal_complete_buffer): Move after DEFUN:s it calls - -2006-09-02 Jindrich Makovicka (tiny change) - - * fns.c (concat) [__GNUC__]: Declare with - `__attribute__((noinline))'. - - * eval.c (apply1, call2) [__GNUC__]: Declare with - `__attribute__((noinline))'. - -2006-09-02 Stuart D. Herring - - * minibuf.c (Finternal_complete_buffer): New function. - (syms_of_minibuf): Defsubr it. - (Fread_buffer): Use it, instead of Vbuffer_alist. - -2006-09-01 Martin Rudalics - - * buffer.h (struct buffer_text): New field chars_modiff. - (CHARS_MODIFF, BUF_CHARS_MODIFF): New macros. - * buffer.c (Fbuffer_chars_modified_tick): New function returning - value of BUF_CHARS_MODIFF. - (syms_of_buffer): Defsubr it. - (Fget_buffer_create): Initialize BUF_CHARS_MODIFF. - * insdel.c (modify_region): New argument preserve_chars_modiff. - Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero. - (insert_1_both, insert_from_string_1, insert_from_buffer_1) - (adjust_after_replace, adjust_after_replace_noundo) - (replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF. - * lisp.h (modify_region): Add fourth argument in extern. - * casefiddle.c (casify_region): Call modify_region with fourth - argument zero to assert that CHARS_MODIFF is updated. - * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal) - (Ftranspose_regions): Likewise. - * textprop.c (Fadd_text_properties, Fset_text_properties) - (Fremove_text_properties, Fremove_list_of_text_properties): - Call modify_region with fourth argument 1 to avoid that - CHARS_MODIFF is updated. - -2006-08-31 Richard Stallman - - * editfns.c (Fformat): Don't sign-extend for %o or %x. - -2006-08-29 Chong Yidong - - * indent.c (Fvertical_motion): Don't move back if we were - displaying a Lisp string, either. - -2006-08-28 Kim F. Storm - - * xdisp.c (get_window_cursor_type) [!HAVE_WINDOW_SYSTEM]: - Don't attempt to replace cursor on image glyphs. - -2006-08-28 Kenichi Handa - - * coding.c (Fdetect_coding_region, Fdetect_coding_string): - Fix docstring about ISO-2022 control characters. - -2006-08-28 Kim F. Storm - - * xdisp.c (get_window_cursor_type): Replace BOX cursor on images - with a hollow box cursor if image is larger than 32x32 (or the default - frame font if that is bigger). Replace any other cursor on images - with hollow box cursor, as redisplay doesn't support bar and hbar - cursors on images. - -2006-08-27 YAMAMOTO Mitsuharu - - * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Undo previous - change. Move mutex lock/unlock operations inside BLOCK_INPUT. - - * dired.c (directory_files_internal_unwind, directory_files_internal) - (file_name_completion): Add BLOCK_INPUT around opendir/closedir. - - * image.c [MAC_OS] (image_load_qt_1): Use ComponentResult instead - of OSErr. - - * keyboard.c (in_sighandler): Remove variable. - (Fcurrent_idle_time): Add missing `doc:'. - (input_available_signal, init_keyboard): Undo previous change. - - * keyboard.h (in_sighandler): Remove extern. - - * mac.c (create_apple_event_from_event_ref, select) - (Fmac_get_file_creator, Fmac_get_file_type, Fmac_set_file_creator) - (Fmac_set_file_type, cfstring_create_normalized) - (mac_get_system_locale, select_and_poll_event, sys_select): - Use OSStatus instead of OSErr. - - * macfns.c [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): - Don't use FRAME_FILE_NAME. Use (FS)UpdateAlias. - (Fx_create_frame): Apply 2006-07-03 for xfns.c. - - * macselect.c (get_scrap_from_symbol, clear_scrap, put_scrap_string) - (put_scrap_private_timestamp, scrap_has_target_type, get_scrap_string) - (get_scrap_private_timestamp, get_scrap_target_type_list) - (x_own_selection, x_get_foreign_selection) - (Fx_disown_selection_internal, Fx_selection_owner_p) - (Fx_selection_exists_p): Use OSStatus instead of OSErr. - - * macterm.c (mac_draw_string_common, mac_query_char_extents) - (x_iconify_frame, XLoadQueryFont, install_window_handler) - (mac_handle_command_event, init_command_handler, init_menu_bar): - Use OSStatus instead of OSErr. - (x_free_frame_resources) [TARGET_API_MAC_CARBON]: Don't use - FRAME_FILE_NAME. - (x_query_font): Apply 2006-08-04 change for xterm.c. - (Qhi_command): Rename from Qhicommand. All uses changed. - - * macterm.h (struct mac_output) [TARGET_API_MAC_CARBON]: Remove member - file_name. - (FRAME_FILE_NAME): Remove macro. - (install_window_handler, create_apple_event_from_event_ref): - Return OSStatus instead of OSErr. - -2006-08-26 Kim F. Storm - - * buffer.c (Fset_buffer_multibyte): - * editfns.c (Fcurrent_time, Fget_internal_run_time): - * macfns.c (Fxw_color_values): - * w32fns.c (Fxw_color_values): - * xfns.c (Fxw_color_values): Simplify; use list3. - - * fileio.c (Fmake_directory_internal, Fdelete_directory) - (Fdelete_file): Simplify; use list1. - (Frename_file, Fadd_name_to_file, Fmake_symbolic_link): - Simplify; remove NO_ARG_ARRAY stuff, use list2. - -2006-08-25 Richard Stallman - - * buffer.c (Fswitch_to_buffer): Fix previous change. - -2006-08-25 Kim F. Storm - - * keyboard.c (Fcurrent_idle_time): Simplify. - -2006-08-25 Richard Stallman - - * fns.c (sxhash_string): Rotate properly; don't lose bits. - -2006-08-24 Francesc Rocher - - * xdisp.c (overline_margin): New variable. - (x_produce_glyphs): Use it. - (syms_of_xdisp): DEFVAR_INT it. - - * xterm.c (x_underline_at_descent_line): New variable. - (syms_of_xterm): DEFVAR_BOOL it. - (x_draw_glyph_string): Use it. - Draw underline and overline up to the end of line if the face - extends to the end of line. - - * macterm.c: Likewise. - - * w32term.c: Likewise. - -2006-08-24 Nick Roberts - - * buffer.c (Fswitch_to_buffer): Move buffer to front of - buffer-alist if necessary. - -2006-08-22 Kim F. Storm - - * xdisp.c (update_tool_bar): Redisplay toolbar also when only - number of items changes. - -2006-08-22 Stefan Monnier - - * buffer.c (Fset_buffer_multibyte): Record proper undo entry. - -2006-08-21 Jan Dj,Ad(Brv - - * keyboard.c: Clarify difference between in_sighandler and - handling_signal. - -2006-08-21 Kim F. Storm - - * macterm.c (x_draw_stretch_glyph_string): - * w32term.c (x_draw_stretch_glyph_string): - * xterm.c (x_draw_stretch_glyph_string): It is ok to draw a - stretch glyph in left marginal areas on header and mode lines. - -2006-08-21 Kenichi Handa - - * keyboard.c (syms_of_keyboard): Docstring of - Vunread_post_input_method_events and Vunread_input_method_events - fixed. - -2006-08-20 Chong Yidong - - * keyboard.c (show_help_echo): Preserve mouse movement flag if - tracking mouse. - -2006-08-20 Richard Stallman - - * xfaces.c (load_pixmap): Add quotes in error message. - - * keyboard.c (Fcurrent_idle_time): New function. - (syms_of_keyboard): defsubr it. - -2006-08-18 Nick Roberts - - * window.c (Fset_window_fringes): Do nothing on a tty. - (Fwindow_fringes): Put ? operator after the line break. - -2006-08-16 Andreas Schwab - - * print.c (debug_output_compilation_hack): Fix return type. - -2006-08-16 Richard Stallman - - * print.c (debug_output_compilation_hack): New function. - -2006-08-16 Kenichi Handa - - * fileio.c (choose_write_coding_system): Use LF for end-of-line - in auto-saving. - -2006-08-15 Chong Yidong - - * keyboard.c (read_char): Don't change idle timer state at all if - end_time is supplied. - -2006-08-15 Kenichi Handa - - * coding.c (ONE_MORE_BYTE_CHECK_MULTIBYTE): New arg RET. If SRC - is exhausted, return with RET. - (detect_coding_emacs_mule, detect_coding_iso2022) - (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8) - (detect_coding_utf_16, detect_coding_ccl): Adjusted for the above - change. - -2006-08-14 Chong Yidong - - * keyboard.c (read_char): Don't reset idle timers if a time limit - is supplied. - -2006-08-14 Kim F. Storm - - * .gdbinit (pitx): Print iterator position. - Limit stack dump in case iterator is not initialized. - -2006-08-12 Eli Zaretskii - - * frame.c (Fmouse_position, Fmouse_pixel_position) - (Fset_mouse_position, Fset_mouse_pixel_position): Doc fix. - -2006-08-11 Jan Dj,Ad(Brv - - * xselect.c (Fx_register_dnd_atom): New function. - (syms_of_xselect): Defsubr it. - (x_handle_dnd_message): Check that message_type is in - dpyinfo->x_dnd_atoms before generating lisp event. - - * xterm.h (struct x_display_info): Add x_dnd_atoms* to keep track - of drag and drop Atoms. - - * xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms* - -2006-08-10 Jan Dj,Ad(Brv - - * keyboard.c: Define in_sighandler. - (input_available_signal): Set in_sighandler. - (init_keyboard): Initialize in_sighandler. - - * keyboard.h: Declare in_sighandler. - - * alloc.c (UNBLOCK_INPUT_ALLOC, BLOCK_INPUT_ALLOC): Use in_sighandler - to check if mutex should be locked or not. - -2006-08-09 Richard Stallman - - * keyboard.c (keyremap_step): No-op if fkey->parent = nil. - (read_key_sequence): Always start fkey.start and fkey.end at 0, - and likewise for keytran. - -2006-08-09 Kenichi Handa - - * coding.c (syms_of_coding): Improve the docstring - of file-coding-system-alist. - -2006-08-07 Andreas Schwab - - * puresize.h (BASE_PURESIZE): Increase to 1120000. - -2006-08-06 Chong Yidong - - * buffer.c (Vchange_major_mode_hook, Qchange_major_mode_hook): New vars. - (Fkill_all_local_variables): Use it. - (syms_of_buffer): Defvar it. - -2006-08-05 Eli Zaretskii - - * w32.c (w32_valid_pointer_p): New function. - - * w32.h: Add prototype for w32_valid_pointer_p. - - * alloc.c: Include w32.h. - (valid_lisp_object_p) [WINDOWSNT]: Call w32_valid_pointer_p to do - the job. - - * keyboard.c (kbd_buffer_get_event): Return Qnil when current time - is exactly equal to end_time, not only when it is past that. - -2006-08-04 Chong Yidong - - * keyboard.c (read_char): Rebalance specpdl after receiving jump. - - * process.c: Reapply 2006-08-01 change. - -2006-08-04 Eli Zaretskii - - * w32fns.c (w32_query_font): Fix last change: use stricmp. - -2006-08-04 Stefan Monnier - - * editfns.c (Fsubst_char_in_region): Redo the setup work after running - the before-change-functions since they may have altered the buffer. - -2006-08-04 Ralf Angeli - - * w32fns.c (w32_createwindow): Handle -geometry command line option - and the geometry settings in the Registry. - -2006-08-04 Kenichi Handa - - * w32fns.c (w32_query_font): Compare names by ignoring case. - - * xterm.c (x_query_font): Compare names by ignoring case. - -2006-08-03 Jason Rumney - - * w32menu.c (w32_menu_show, w32_dialog_show): Call Fsignal to quit - when no option selected. - -2006-08-03 Chong Yidong - - * process.c: Revert last change. - -2006-08-01 Kim F. Storm - - * process.c (wait_reading_process_output_unwind): New function. - Restores waiting_for_user_input_p to saved value. - (wait_reading_process_output): Unwind protect waiting_for_user_input_p - instead of save/restore old value on stack. - -2006-07-30 Thien-Thi Nguyen - - * editfns.c: Undo 2006-06-27 change. - -2006-07-29 Eli Zaretskii - - * coding.c (Ffind_operation_coding_system): Revert the change from - 2006-05-29. - - * alloc.c [WINDOWSNT]: Include fcntl.h, to fix last change. - -2006-07-28 Richard Stallman - - * xfaces.c (lookup_named_face, Fdisplay_supports_face_attributes_p): - Add conditional aborts for clarity. - - * xdisp.c (update_menu_bar): New arg HOOKS_RUN. Callers changed. - Used to avoid running the hooks over and over for each frame. - (prepare_menu_bars): Pass value from update_menu_bar - as HOOKS_RUN of next call. - - * keyboard.c (safe_run_hooks_1): Don't crash if Vrun_hooks is nil. - -2006-07-28 Kim F. Storm - - * alloc.c (valid_pointer_p): New function (from valid_lisp_object_p). - (valid_lisp_object_p): Use it to check for valid SUBRP obj. - -2006-07-26 Chong Yidong - - * keyboard.c (read_char): New arg END_TIME specifying timeout. - All callers changed. Turn off echoing if END_TIME is non-NULL. - (kbd_buffer_get_event): New arg END_TIME. - - * lread.c (read_filtered_event): New arg SECONDS to wait until. - (Fread_char, Fread_event, Fread_char_exclusive): New arg SECONDS. - - * lisp.h: Update read-char, read-event, and read_filtered_event - prototypes. - - * keyboard.h: Include systime.h. Update read_char prototype. - -2006-07-25 YAMAMOTO Mitsuharu - - * alloc.c (find_string_data_in_pure): New function. - (make_pure_string): Use it to reuse existing string data if possible. - - * puresize.h (BASE_PURESIZE): Decrease to 1102000. - -2006-07-22 Stefan Monnier - - * keymap.c (Fdefine_key): If the key binding definition looks like an - XEmacs-style key sequence, convert it to Emacs's format. - -2006-07-22 Ralf Angeli - - * w32fns.c (w32_createwindow): If `left' and/or `top' frame - parameters are bound to some values, use that instead of - CW_USEDEFAULT. - -2006-07-21 Eli Zaretskii - - * w32.c (convert_time): Use explicit long double constants to - ensure long double arithmetics is used throughout. - -2006-07-20 YAMAMOTO Mitsuharu - - * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): New vars. - (init_alloc_once): Initialize them. - (pure_alloc): Allocate non-Lisp objects from the end of pure storage - without alignment. - - * puresize.h (BASE_PURESIZE): Decrease to 1141000. - -2006-07-18 Francis Litterio - - * w32term.c (x_calc_absolute_position): Fix frame positioning - with negative X/Y coordinates. - -2006-07-18 Dan Nicolaescu - - * xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN. - - * textprop.c (text_read_only): Likewise. - - * lread.c (end_of_file_error): Likewise. - - * lisp.h (circular_list_error, memory_full, buffer_memory_full): - Likewise. - - * eval.c (unwind_to_catch): Likewise. - - * buffer.h (buffer_slot_type_mismatch): Likewise. - -2006-07-18 Kim F. Storm - - Cleanup Fsignal calls that never returns; now only use it for Qquit. - - * eval.c (xsignal): New func. Like Fsignal, but marked no-return. - (xsignal0, xsignal1, xsignal2, xsignal3): New no-return functions. - (signal_error): New no-return function (from xfaces.c). - (Fthrow): Use xsignal2 instead of Fsignal + abort. - (error): Use xsignal1 instead of Fsignal + abort. - (FletX, Flet, grow_specpdl): Use signal_error. - (Feval, Ffuncall, funcall_lambda): Use xsignal1, xsignal2. - - * alloc.c (buffer_memory_full, memory_full): Use xsignal. Remove loop. - (list1): New function. - - * lisp.h (list1): Add EXFUN. - (xsignal, xsignal0, xsignal1, xsignal2, xsignal3, signal_error): - Add prototypes. Mark them as no-return. - - * buffer.c (Fbuffer_local_value, Fbarf_if_buffer_read_only): - Use xsignal1. - - * callint.c (check_mark): Use xsignal0. - - * casefiddle.c (casify_object): wrong_type_argument is no-return. - - * cmds.c (Fforward_char, Fdelete_char): Use xsignal0. - - * coding.c (Fcheck_coding_system): Use xsignal1. Remove loop. - (Fdefine_coding_system_internal): Use xsignal1. - - * data.c (circular_list_error): Use xsignal. - (wrong_type_argument): Use xsignal2. Don't care about return value. - (args_out_of_range, args_out_of_range_3): Use xsignal2, xsignal3. - Remove loop around Fsignal. - (indirect_variable, Fsymbol_value, set_internal, Fdefault_value) - (indirect_function, Findirect_function, Fstring_to_number) - (Fmakunbound, Ffmakunbound, Fsymbol_function, Ffset): Use xsignal1. - (arith_driver, float_arith_driver, Frem, Fmod, arith_error): - Use xsignal0. - - * doc.c (Fdocumentation): Use xsignal1. - - * editfns.c (region_limit, Fget_internal_run_time): Use xsignal0. - - * fileio.c (report_file_error): Use xsignal. - (barf_or_query_if_file_exists, Fcopy_file, Fdelete_file) - (Finsert_file_contents): Use xsignal2. - (syms_of_fileio): Use list2, list3. - - * floatfns.c (arith_error, range_error, domain_error): Use xsignal2. - (range_error2, domain_error2): Use xsignal3. - (rounding_driver, fmod_float): Use xsignal0. - (float_error): Use xsignal1. - (matherr): Use xsignal. - - * fns.c (Flength): wrong_type_argument is no-return. - (hashfn_user_defined, Fmake_hash_table): Use signal_error. - (Fmd5): Use xsignal1. - - * frame.c (x_set_line_spacing, x_set_screen_gamma): Use signal_error. - - * keyboard.c (recursive_edit_1): Use xsignal1. - - * keymap.c (Fmap_keymap): Use xsignal1. - - * lread.c (Fload): Use xsignal2, signal_error. - (end_of_file_error): Use xsignal0, xsignal1. - (read0): Use xsignal1. - (invalid_syntax): New error function marked no-return. - (read_integer, read1, read_list): Use it. - - * macselect.c (x_get_local_selection): Use signal_error. - - * msdos.c (Fmsdos_set_mouse_buttons): Use xsignal2. - - * search.c (compile_pattern_1): Use xsignal1. - (signal_failure): Remove (was only called once). - (search_command): Use xsignal1 instead of signal_failure. - - * syntax.c (scan_lists): Use xsignal3. - - * textprop.c (text_read_only): Use xsignal0, xsignal1. - - * unexsol.c (unexec): Use xsignal. - - * window.c (window_scroll_pixel_based, window_scroll_line_based): - Use xsignal0. - - * xfaces.c (signal_error): Move to eval.c. - (resolve_face_name): Use xsignal1. - - * xfns.c (x_decode_color): Use signal_error. - - * xselect.c (x_get_local_selection, copy_multiple_data) - (x_get_window_property_as_lisp_data) - (lisp_data_to_selection_data, CHECK_CUT_BUFFER) - (Fx_get_cut_buffer_internal): Use signal_error. - -2006-07-18 YAMAMOTO Mitsuharu - - * macterm.c (XTread_socket): Undo previous change. - -2006-07-18 YAMAMOTO Mitsuharu - - * macterm.c (keycode_to_xkeysym): Remove function. All uses now - directly lookup keycode_to_xkeysym_table. - [USE_MAC_TSM] (mac_handle_text_input_event): Don't construct - ASCII_KEYSTROKE_EVENT for non-zero keycode_to_xkeysym_table entries. - (XTread_socket): Use character codes to construct keypad key events. - (mac_initialize_display_info) [MAC_OSX]: Use CGDisplaySamplesPerPixel. - (x_delete_display): Apply 2006-07-04 change for xterm.c. - -2006-07-17 Richard Stallman - - * keyboard.c (Vcommand_error_function): New variable. - (syms_of_keyboard): Defvar it. - (cmd_error_internal): Simplify, and handle Vcommand_error_function. - - * dispnew.c (init_display): Mention DISPLAY as well as TERM in err msg. - -2006-07-17 Kim F. Storm - - * xdisp.c (handle_single_display_spec): Ensure the right value of - it->position is saved by push_it. - (pop_it): Restore it->object for GET_FROM_BUFFER and GET_FROM_STRING. - (reseat_1): Don't setup it->object twice. - (set_iterator_to_next): No need to set it->object after pop_it. - (move_it_to): Explicitly check to see if last move reached to_charpos. - -2006-07-17 Thien-Thi Nguyen - - * xdisp.c (display_mode_line): Preserve match data. - -2006-07-14 Kim F. Storm - - * w32.c (pfn_WSACreateEvent, pfn_WSACloseEvent): New func ptrs. - (init_winsock): Load them. Use ws2_32.dll. - (sys_listen): Undo last change. Just set FILE_LISTEN flag. - (sys_accept): Undo last change. Instead, set child status to - STATUS_READ_ACKNOWLEDGED and reset char_avail event so next - sys_select will wakeup the reader thread. - (_sys_wait_accept): New function used by reader thread to wait for - an incoming connection on a server socket. - - * w32.h (_sys_read_ahead, _sys_wait_accept): Add prototypes. - - * w32proc.c (reader_thread): Use _sys_wait_accept to wait on a - server socket (FILE_LISTEN flag). - -2006-07-14 Jan Dj,Ad(Brv - - * sound.c (alsa_init): Call snd_pcm_close after successful snd_pcm_open. - -2006-07-14 Kim F. Storm - - * w32.c: Fix high cpu load for server sockets. - (pfn_WSAEventSelect): New function ptr. - (init_winsock): Load it. - (sys_listen): Set FILE_LISTEN flag. Set event mask for socket's - char_avail event object to FD_ACCEPT. - (sys_accept): Check FILE_LISTEN flag. Set event mask on new - socket's char_avail event object to FD_READ|FD_CLOSE. - - * w32.h (FILE_LISTEN): New filedesc flag value. - -2006-07-13 Kim F. Storm - - * bytecode.c (Fbyte_code): Use CAR, CDR for Bcar, Bcdr. - Use CAR_SAFE, CDR_SAFE for Bcar_safe, Bcdr_safe. - Simplify loops and use CAR for Bnth and Belt. - - * data.c (Findirect_function): Optimize for no indirection. - - * eval.c (Fthrow): Remove loop around Fsignal. - (Feval, Fapply, Ffuncall): Optimize for no function indirection. - Use original function name in all signaled errors. - Simplify Fsignal calls (no return). - (funcall_lambda): Simplify Fsignal calls (no return). - -2006-07-13 Andreas Schwab - - * syntax.c (scan_sexps_forward): Use EMACS_INT for out_bytepos and - out_charpos. - -2006-07-13 Kenichi Handa - - * editfns.c (Fformat): Fix calculation of text property positions - of format string. - -2006-07-12 Kim F. Storm - - * lisp.h (CHECK_TYPE): New macro for generic type checking. - (CAR_SAFE, CDR_SAFE): New macros. - (ARRAYP, CHECK_ARRAY): New macros. - (CHECK_VECTOR_OR_STRING, CHECK_SUBR): New macros. - (CHECK_WINDOW_CONFIGURATION): New macro. - (CHECK_LIST_CONS, CHECK_LIST_END): New checks for list traversal. - (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST) - (CHECK_STRING, CHECK_STRING_CAR, CHECK_CONS, CHECK_SYMBOL) - (CHECK_CHAR_TABLE, CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE) - (CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS) - (CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER, CHECK_OVERLAY) - (CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT) - (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER): Use CHECK_TYPE. - - * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): - * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Use CHECK_TYPE. - - * callint.c (Fcall_interactively): - * casefiddle.c (casify_object): - * editfns.c (general_insert_function): - * fns.c (Flength, Felt, Ffillarray): - * data.c (Fcar, Fcdr): Remove loop around wrong_type_argument. - - * data.c (wrong_type_argument): Remove loop around Fsignal. - (Farrayp, Fsequencep): Use ARRAYP. - (Fcar): Use CAR. - (Fcar_safe): Use CAR_SAFE. - (Fcdr): Use CDR. - (Fcdr_safe): Use CDR_SAFE. - (Fsetcar, Fsetcdr): Use CHECK_CONS. - (Fsubr_arity, Fsubr_name): Use CHECK_SUBR. - (Faset): Use CHECK_ARRAY. - - * fns.c (Felt): Use CHECK_ARRAY. - (concat): Use CHECK_NUMBER. - (Fsubstring, substring_both): Use CHECK_VECTOR_OR_STRING. - (Fmemq): Use CHECK_LIST. - (Fassq, Fassoc, Frassq, Frassoc): Use CAR. - (assq_no_quit): Use CAR_SAFE. - (Fnthcdr, Fmember, Fdelq, Fdelete, Fnreverse, Fnconc): - Use CHECK_LIST_CONS. - (Freverse, Fplist_get, Flax_plist_get): Use CHECK_LIST_END. - - * bytecode.c (Fbyte_code): Use CHECK_VECTOR. - - * casetab.c (check_case_table): - * category.c (check_category_table): - * marker.c (Fcopy_marker): - * syntax.c (check_syntax_table): - * xfaces.c (load_pixmap): Use CHECK_TYPE. - - * fns.c (Fcopy_sequence, concat): - * fringe.c (Fdefine_fringe_bitmap): - * lread.c (check_obarray): Cleanup wrong_type_argument use. - - * keyboard.c (access_keymap_keyremap): Use ARRAYP. - - * keymap.c (Fdefine_key, Flookup_key): - * macros.c (Fstart_kbd_macro): Use CHECK_VECTOR_OR_STRING. - - * mac.c (Fmac_get_preference): Use CHECK_LIST_END. - - * search.c (Fset_match_data): Use CHECK_LIST. - - * sunfns.c (sun_item_create): Use CHECK_LIST_CONS. - - * window.c (Fwindow_configuration_frame, Fset_window_configuration): - (compare_window_configurations): Use CHECK_WINDOW_CONFIGURATION. - -2006-07-12 YAMAMOTO Mitsuharu - - * Makefile.in (dired.o, editfns.o, fileio.o): Depend on blockinput.h. - - * dired.c: Include blockinput.h. - (Ffile_attributes): Add BLOCK_INPUT around getpwuid/getgrgid. - - * editfns.c: Include blockinput.h. - (Fuser_login_name, Fuser_full_name): Add BLOCK_INPUT around - getpwuid/getpwnam. - - * fileio.c: Include blockinput.h. - (Fexpand_file_name, search_embedded_absfilename): Add BLOCK_INPUT - around getpwnam. - (search_embedded_absfilename): Remove spurious xfree. - -2006-07-11 Kim F. Storm - - * dispnew.c (sit_for): Reduce number of args from 5 to 3. - Now just one TIMEOUT arg that can be a Lisp float or Lisp int. - Combine args DISPLAY and INITIAL_DISPLAY into one arg DO_DISPLAY. - Signal error if TIMEOUT is not a number. - Undo 2006-06-14 change for non-preemptive display if TIMEOUT < 0. - The rework of sit_for args also fixes several incorrect Qt args - which should have been 1. - (Fredisplay): Pass 1 instead of Qt to swallow_events and - detect_input_pending_run_timers. - - * lisp.h (sit_for): Update prototype. - (Fredisplay): Add EXFUN. - - * dispextern.h (sit_for): Remove prototype. - - * callint.c (Fcall_interactively): - * minibuf.c (temp_echo_area_glyphs): - * keyboard.c (command_loop_1, read_char, Fexecute_extended_command): - * fileio.c (Fdo_auto_save): Update/simplify sit_for calls. - -2006-07-11 Stefan Monnier - - * syntax.c (forw_comment): Also use EMACS_INT for buffer positions. - -2006-07-11 Kim F. Storm - - * dispnew.c (Fredisplay): Add FORCE argument to force redisplay when - input is available. Fix test for redisplay_dont_pause non-nil. - Specbind redisplay-dont-pause to t if FORCE non-nil. - -2006-07-10 Chong Yidong - - * puresize.h (BASE_PURESIZE): Increment to 1211000. - - * dispnew.c (Fredisplay): New function, equivalent to (sit-for 0). - (Fsit_for): Function deleted. - - * keyboard.c (command_loop_1, Fexecute_extended_command): - Call sit_for instead of Fsit_for. - - * minibuf.c (temp_echo_area_glyphs): Likewise. - -2006-07-09 Stefan Monnier - - * syntax.c (Fforward_comment): Revert the reversion. - (back_comment, scan_lists): Also use EMACS_INT for buffer positions. - -2006-07-09 John Paul Wallington - - * syntax.c (Fforward_comment): Revert previous change. - -2006-07-09 Kim F. Storm - - * window.c (Fforce_window_update): Doc fix. - -2006-07-08 Stephen Gildea - - * fileio.c (do_auto_save_make_dir): Make the auto-save-list-file - directory unreadable for better user privacy. - -2006-07-07 Stefan Monnier - - * syntax.c (Fforward_comment): Fix int-32 vs EMACS_INT-64 mixup. - - * lread.c (read_filtered_event): Remove `register' qualifier because it - causes compilation problem with gcc-4.0.2-20051125 on amd64. - (readevalloop): Remove unused var `bpos'. - Yet another int/Lisp_Object mixup (YAILOM). - -2006-07-07 Eli Zaretskii - - * keyboard.c (Fexecute_extended_command): Mention the argument - PREFIXARG in the doc string. - -2006-07-07 Kim F. Storm - - * fringe.c (Fdefine_fringe_bitmap): Doc fix. - -2006-07-05 Chong Yidong - - * insdel.c (prepare_to_modify_buffer): For an indirect buffer, do - clash detection using the base buffer. - - * puresize.h (BASE_PURESIZE): Increment to 1210500. - -2006-07-04 Kim F. Storm - - * xterm.c (x_delete_display): Don't free or derefence NULL pointers. - -2006-07-04 Kenichi Handa - - * fontset.c (Fset_overriding_fontspec_internal): Check if we need - to update Voverriding_fontspec_alist. - -2006-07-03 Richard Stallman - - * xfns.c (Fx_create_frame): Move unwind_create_frame setup down. - - * xfaces.c (Fface_attribute_relative_p): Doc fix. - - * textprop.c (Fget_char_property_and_overlay): Doc fix. - - * eval.c (Fdefvaralias): Doc fix. - -2006-07-03 Kim F. Storm - - * dispnew.c (sit_for): Fix preempt condition. - -2006-07-02 Stefan Monnier - - * lread.c (read_filtered_event): Treat select-window just like - switch-frame. - -2006-07-02 Kim F. Storm - - * xdisp.c (display_tool_bar_line): Skip glyphs which are too big - to ever fit the tool-bar, - (MAX_FRAME_TOOL_BAR_HEIGHT): New macro. - (tool_bar_lines_needed): Use unused mode-line row as temp_row. - (redisplay_tool_bar): Only clear desired matrix if we actually - change the tool-bar window height. Only try to make the tool-bar - window bigger if there is actually room for it. - -2006-06-30 Ralf Angeli - - * w32term.c (x_make_frame_visible): Use SystemParametersInfo with - SPI_GETWORKAREA to find the dimensions of the screen work area, - and adjust vertical position of the frame in order to avoid being - covered by the task bar. - - * w32fns.c (w32_createwindow): Use CW_USEDEFAULT instead of - f->left_pos and SH_SHOW instead of f->top_pos in the call to - CreateWindow. Record the actual position in f->left_pos and - f->top_pos. - -2006-06-30 John Paul Wallington - - * w32console.c (syms_of_ntterm) : - Doc fix - default value has changed. - -2006-06-28 YAMAMOTO Mitsuharu - - * mac.c [!TARGET_API_MAC_CARBON]: Don't include FixMath.h or Scrap.h. - - * macfns.c (Fx_create_frame): Apply 2006-06-24 change for xfns.c. - - * macgui.h (USE_MAC_TSM) [TARGET_API_MAC_CARBON]: Set default to 1. - - * macterm.c (Qeql): Add extern. - (x_set_mouse_pixel_position) [MAC_OSX]: Use CGWarpMouseCursorPosition. - (fm_style_face_attributes_alist) [USE_ATSUI]: New variable. - (syms_of_macterm) [USE_ATSUI]: Initialize and staticpro it. - Change keys of Vmac_atsu_font_table from strings to numbers. - (fm_style_to_face_attributes) [USE_ATSUI]: New function. - (init_font_name_table) [USE_ATSUI]: Use it. - (saved_ts_script_language_on_focus) [USE_MAC_TSM]: New variable. - (syms_of_macterm) [USE_MAC_TSM]: Initialize and staticpro it. - [USE_MAC_TSM] (mac_tsm_resume): Restore script and language codes - only when saved_ts_script_language_on_focus coincides with - Vmac_ts_script_language_on_focus. - [USE_MAC_TSM] (mac_tsm_suspend): Save value of - Vmac_ts_script_language_on_focus to saved_ts_script_language_on_focus. - (XTread_socket) [USE_MAC_TSM]: Add Mac OS Classic support. - [USE_MAC_TSM] (mac_handle_text_input_event, init_tsm): Likewise. - -2006-06-27 Chong Yidong - - * editfns.c (Fdelete_field, Ffield_string, Ffield_beginning) - (Ffield_string_no_properties, Ffield_end): Mention - args-out-of-range error condition in docstring. - -2006-06-27 Kim F. Storm - - * xdisp.c (handle_composition_prop): Set stop_charpos before push_it. - -2006-06-25 Kim F. Storm - - * s/gnu-linux.h (SIGNALS_VIA_CHARACTERS): Define for Linux kernel - version 2.4 and later. - -2006-06-24 Chong Yidong - - * xfns.c (Fx_create_frame): Set font parameter directly instead of - using x_default_parameter, since x_get_args clears the parm alist. - -2006-06-24 Eli Zaretskii - - * dired.c (directory_files_internal) [WINDOWSNT]: Find files - case-insensitively. - -2006-06-24 Aidan Kehoe - - * lread.c (read_escape): When an unknown Unicode code point is - encountered as a string or character escape, signal an error. - -2006-06-23 Kim F. Storm - - * .gdbinit (pitx): Dump iterator stack. - - * xdisp.c (handle_composition_prop): Push iterator on stack. - (set_iterator_to_next): Pop iterator at end of composition. - -2006-06-23 Martin Rudalics - - * fileio.c (Frename_file) [DOS_NT]: Don't try to move directory to - itself on DOS_NT platforms, if the old and new names are identical - but for the letter-case. - -2006-06-21 Kim F. Storm - - * dispextern.h (struct it): Add `position' member to iterator stack. - Rename `pos' member to `current'. Rearrange and add comments. - - * xdisp.c (handle_stop): Set it->ignore_overlay_strings_at_pos_p - if we get any overlays. - (set_cursor_from_row): Don't clobber `end' if we rescan from - start_string. - (push_it, pop_it): Save it->position. - -2006-06-19 Richard Stallman - - * window.c (size_window): New arg FIRST_ONLY. All callers changed. - (adjust_window_trailing_edge): Specially compute FIRST_PARALLEL - for the case of a top-level window and the following minibuffer. - Don't exit because of no `next' when there is a parent. - Use the FIRST_ONLY feature when resizing following windows. - - * syntax.c (init_syntax_once): Give most control chars' syntax Spunct. - -2006-06-17 Kim F. Storm - - * dispnew.c (update_frame): Check for input pending on entry. - (update_window, update_frame_1): Break loop if input is detected. - -2006-06-16 Francis Litterio - - * xterm.c (x_check_expected_move, handle_one_xevent) - (x_set_offset, x_check_fullscreen): Extensive changes to make - frame positioning deterministic under X. - - * xterm.h (x_output): Add members left_before_move and - top_before_move. Removed members expected_left and expected_top. - -2006-06-16 Kim F. Storm - - * dispextern.h (struct it): Add union to iterator stack to save - image, composition, and stretch specific paramters. - - * xdisp.c (next_overlay_string): Fix assert. - (push_it, pop_it): Handle composition and stretch specific values. - Only handle it->slice in image (for now). - (back_to_previous_visible_line_start): Continue search if newline is - part of a compisition. Simplify. - (reseat_1): Set it->object to buffer. - (set_iterator_to_next): Set it->object to string or buffer, when - setting it->method to GET_FROM_STRING or GET_FROM_BUFFER. - (next_element_from_composition): Set it->object to buffer if not - from string. - (set_cursor_from_row): Only save start of string if not already - done to handle multiple strings in a row. - - * .gdbinit (pitx): Show composition parameters. - (pgx, pg): New commands to print a glyph structure. - (pgi, pgn): New commands to print specific/next glyph. - (pgrowx, pgrow): New commands to print all glyphs in a row. - -2006-06-16 YAMAMOTO Mitsuharu - - * macfns.c (Fx_display_mm_height, Fx_display_mm_width) - [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use CGDisplayScreenSize. - - * macterm.c (do_app_resume, do_app_suspend): Remove functions. - (mac_tsm_resume, mac_tsm_suspend) [USE_MAC_TSM]: New functions. - (mac_handle_window_event, XTread_socket) [USE_MAC_TSM]: Use them. - (Vmac_ts_script_language_on_focus) [USE_MAC_TSM]: New variable. - (syms_of_macterm) [USE_MAC_TSM]: Defvar it. - (saved_ts_language, saved_ts_component) [USE_MAC_TSM]: New variables. - (mac_initialize_display_info) [MAC_OSX]: Use Quartz Display - Services functions to get size of main display in pixels. - -2006-06-14 Chong Yidong - - * xdisp.c (back_to_previous_visible_line_start): - Reset it->continuation_lines_width. - -2006-06-14 Richard Stallman - - * eval.c (Fdefconst): Mark variable as risky. - - * callproc.c (Fcall_process): Doc fix. - - * window.c (adjust_window_trailing_edge): Don't break out of the loop - because there's no next window, if there are parallel windows. - Do break out when WINDOW is nil. - -2006-06-14 Kim F. Storm - - * dispextern.h (IT_STACK_SIZE): New macro specifying size of - iterator stack (instead of hardcoded number). Increase from 2 to - 4 to make room for propertized overlay strings before and after a - display string, image or composition. - (struct it): Add image_id and method members to iterator stack. - - * xdisp.c (init_from_display_pos): Don't set it->method and - overlay_string_index after pop_it. Add asserts. - (handle_stop): Look for overlay strings around a display string, - image, or composition. Handle properties on those strings. - (next_overlay_string): Don't set string, pos or method after pop_it. - (get_overlay_strings_1): Split from get_overlay_strings; don't - modify it if no overlay strings are found. - (get_overlay_strings): Use get_overlay_strings_1. Always set - it->string and it->method. - (push_it): Push it->image_id and it->method. Push it->object - instead of it->string if method is GET_FROM_IMAGE. - (pop_it): Pop it->image_id and it->method. Ppo it->object - instead of it->string if method is GET_FROM_IMAGE. - Reset it->current.string_pos if popped it->string is nil. - (reseat_1): Remove comment dated 19 May 2003. It expressed doubt - whether a given change was correct; but the change is correct. - Clear it->string_from_display_prop_p. - (set_iterator_to_next): Rely on it->method and it->image_id from - iterator stack, instead of setting them explicitly after pop_it. - - * dispnew.c (sit_for): Undo 2006-06-01 change. Instead, a - negative time forces redisplay even when input is available. - (Fsit_for): Doc fix. - -2006-06-13 Kim F. Storm - - * dispnew.c: Modify preemptive redisplay to be based on periodic - checks for input. - (PERIODIC_PREEMPTION_CHECKING): Define to 1 iff EMACS_HAS_USECS. - (Vredisplay_preemption_period): New variable. - (syms_of_display): DEFVAR_LISP and initialize it. - (preemption_period, preemption_next_check): New variables. - (update_frame, update_single_window): Initialize them based on - Vredisplay_preemption_period if !force_p. - (update_window, update_frame_1): Use them to determine when to - check for input. - -2006-06-03 Aidan Kehoe - - * lread.c (read_escape): Provide a Unicode character escape - syntax; \u followed by exactly four or \U followed by exactly - eight hex digits in a comment or string is read as a Unicode - character with that code point. - -2006-06-09 Eli Zaretskii - - * window.c (window_scroll_pixel_based): Signal "Beginning of - buffer" when scroll-down at the beginning of an empty buffer. - -2006-06-06 YAMAMOTO Mitsuharu - - * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event): - Exclude 0x7f from ASCII range. - -2006-06-05 Jason Rumney - - * w32term.c (w32_set_scroll_bar_thumb, x_scroll_bar_create) - (w32_set_vertical_scroll_bar, w32_scroll_bar_handle_click) - (x_scroll_bar_report_motion): Remove workarounds for - versions of Windows NT < 3.51. - [!SIF_ALL]: Remove. - (pfnSetScrollInfo, pfnGetScrollInfo): Remove. - (w32_initialize): Don't dynamically load Get/SetScrollInfo. - -2006-06-04 David Kastrup - - * dispnew.c: Mention `redisplay-dont-pause' in doc string of - `sit-for'. - -2006-06-03 YAMAMOTO Mitsuharu - - * macfns.c (x_set_icon_name): Apply 2006-06-02 change for xfns.c. - - * macgui.h (USE_MAC_TSM): Set default to 1 on Mac OS X. - - * macterm.c (tsm_document_id) [USE_MAC_TSM]: New variable. - (Qtext_input, Qupdate_active_input_area, Qunicode_for_key_event) - [USE_MAC_TSM]: Likewise. - (syms_of_macterm) [USE_MAC_TSM]: Intern and staticpro them. - (Qbefore_string) [USE_MAC_TSM]: Add extern. - (do_app_resume, do_app_suspend) [USE_MAC_TSM]: Call - ActivateTSMDocument/DeactivateTSMDocument. - (mac_store_event_ref_as_apple_event): Call mac_post_mouse_moved_event. - (mac_handle_window_event) [USE_MAC_TSM]: Handle - kEventWindowFocusAcquired/kEventWindowFocusRelinquish. - (mac_handle_text_input_event) [USE_MAC_TSM]: New function. - (install_window_handler) [USE_MAC_TSM]: Install it. Register - kEventWindowFocusAcquired/kEventWindowFocusRelinquish. - (keycode_to_xkeysym_table): Add entry for f16. - (XTread_socket) [USE_MAC_TSM]: Set/reset read_socket_inev - before/after passing keystroke event to toolbox dispatcher. - (init_tsm) [USE_MAC_TSM]: New function. - (mac_initialize) [USE_MAC_TSM]: Call it. - (Vmac_ts_active_input_overlay) [USE_MAC_TSM]: New defvar. - - * macterm.h (EVENT_PARAM_TEXT_INPUT_SEQUENCE_NUMBER): New enumerator. - -2006-06-02 John Paul Wallington - - * xfns.c (x_set_name_internal): Set icon to `text', derived from - name, when frame's icon_name isn't a string rather than only when - it is nil. - -2006-06-03 Eli Zaretskii - - * w32fns.c (x_set_icon_name): Don't use arg if it's not a string - and not nil. - -2006-06-02 Chong Yidong - - * xfns.c (x_set_icon_name): No-op if arg is non-nil and not a - string. - -2006-06-02 YAMAMOTO Mitsuharu - - * xdisp.c (next_element_from_composition): Set it->object to - it->string if composition is coming from string. - (set_cursor_from_row): Don't return 0 unless row displays a - continued line. - (dump_glyph): Dump composite glyph. - -2006-06-02 Jan Dj,Ad(Brv - - * gtkutil.c (menu_nav_ended): Check that menubar_widget is not NULL. - -2006-06-01 Richard Stallman - - * window.c (Fsplit_window): Doc fix. - -2006-06-01 Micha,Ak(Bl Cadilhac - - * process.c (deleted_pid_list): New variable to store the pids - of deleted processes. Declare it only if SIGCHLD is defined. - (init_process): Initialize it. - (syms_of_process): Staticpro it. - (Fdelete_process): Add pid of the deleted process to it. Check after - the addition and before the kill if the process is already stopped, - in which case it is deleted from the list and not killed. - (sigchld_handler): Define it only if SIGCHLD is. Search the process - that signaled Emacs in `deleted_pid_list' before `Vprocess_alist'. - Original idea by Stefan Monnier. - -2006-06-01 Kim F. Storm - - * dispnew.c (sit_for): Perform redisplay even if input is pending - when redisplay-dont-pause is non-nil. - -2006-06-01 YAMAMOTO Mitsuharu - - * macterm.c (mac_handle_visibility_change): Set buf.arg to Qnil. - (XTread_socket): Remove obsolete comment. - -2006-06-01 Jan Dj,Ad(Brv - - * xmenu.c (syms_of_xmenu): Make accelerate-menu an alias for - menu-bar-open. - -2006-06-01 Jan Dj,Ad(Brv - - * xmenu.c (Fmenu_bar_open, syms_of_xmenu): Change menu-bar-start to - menu-bar-open. - - * gtkutil.c (menu_nav_ended): Change x-menu-bar-start to menu-bar-open. - -2006-05-31 Juri Linkov - - * minibuf.c (Vhistory_add_new_input): New variable. - (read_minibuf): Use it. - (syms_of_minibuf) : New Lisp variable. - (syms_of_minibuf) : Doc fix. - -2006-05-31 Kim F. Storm - - * process.c (select_wrapper): Add wrapper around select to work around - "incomplete backtrace" bug in gdb 5.3, when emacs is stopped inside - select called from wait_reading_process_output. - -2006-05-30 Andreas Schwab - - * xmenu.c (Fmenu_bar_start): Return a value. - -2006-05-30 Richard Stallman - - * coding.c (Ffind_operation_coding_system): Doc fix. - -2006-05-30 Eli Zaretskii - - * w32term.c (x_draw_hollow_cursor): Fix last change. - -2006-05-29 Kim F. Storm - - * w32term.c (x_draw_stretch_glyph_string): Fix last change. - -2006-05-29 Eli Zaretskii - - * coding.c (Ffind_operation_coding_system): Doc fix. - -2006-05-29 YAMAMOTO Mitsuharu - - * macfns.c [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): - Call mac_set_font_info_for_selection if font panel is made visible. - - * macterm.c (font_panel_shown_p) [USE_MAC_FONT_PANEL]: New variable. - (mac_font_panel_visible_p, mac_show_hide_font_panel) - [USE_MAC_FONT_PANEL]: New functions. - [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): - Return immediately if font panel is not visible. - - * macterm.h (mac_font_panel_visible_p, mac_show_hide_font_panel): - Add externs. - -2006-05-29 Dan Nicolaescu - - * search.c (matcher_overflow): Mark as NO_RETURN. - - * xterm.c (x_connection_closed): Likewise. - - * sysdep.c (croak): Likewise. - - * sound.c (sound_perror, alsa_sound_perror): Likewise. - - * lisp.h (die, nsberror): Likewise. - -2006-05-29 Jan Dj,Ad(Brv - - * sound.c (alsa_open, alsa_configure, alsa_write): - Move assignment to err out of if-statement. - - * gtkutil.c (menu_nav_ended): New function. - (create_menus): Connect menu_nav_ended to "selection-done" to fix - grabs. - - * xmenu.c (Fmenu_bar_start): New function for USE_GTK and USE_X_TOOLKIT. - -2006-05-28 Dan Nicolaescu - - * charset.h (invalid_character): Mark as NO_RETURN. - -2006-05-29 Kenichi Handa - - * coding.c (Ffind_operation_coding_system): Call a function by - safe_call1 instead of call1. - -2006-05-28 Stefan Monnier - - * window.c (struct saved_window): Add `dedicated'. - (Fset_window_configuration, save_window_save): Save/restore the - `dedicated' flag. - -2006-05-28 Kim F. Storm - - * xdisp.c (set_cursor_from_row): If cursor cannot be set in row, - don't update w->cursor and return 0. Return 1 on success. - (try_cursor_movement): Repeat set_cursor_from_row on successive rows - until it succeeds. - - * dispextern.h (set_cursor_from_row): Update prototype. - -2006-05-28 Kim F. Storm - - * xdisp.c (get_phys_cursor_geometry): Return computed x and y through - parameters. Adjust x and width in case cursor in on a partially - visible stretch glyph on the left edge. - (erase_phys_cursor): Don't erase into left fringe/margin in case - previous cursor glyph is a partially visible stretch glyph on left. - - * dispextern.h (get_phys_cursor_geometry): Update prototype. - - * xterm.c (x_draw_stretch_glyph_string): Fix problems with invisible - cursor and erasing cursor on partially visible stretch glyph on left. - (x_draw_hollow_cursor): Compute x via get_phys_cursor_geometry. - - * macterm.c: Likewise. - - * w32term.c: Likewise. - -2006-05-27 YAMAMOTO Mitsuharu - - * macselect.c (mac_handle_apple_event): - Return errAEEventNotHandled if key binding is not found. - -2006-05-26 Eli Zaretskii - - * emacs.c (main) [PROFILING]: Enable also for __MINGW32__. - [__MINGW32__]: MinGW-specific declaration of `etext'. - - * w32heap.c (etext, edata): Remove unused definitions. - -2006-05-26 Chong Yidong - - * fileio.c (Fcopy_file): Delete argument MUSTBENEW. - Incorporate the exclusive file-opening functionality into the behavior - when OK-IF-ALREADY-EXISTS is nil. - (Frename_file): Call Fcopy_file without MUSTBENEW argument. - -2006-05-26 Jan Dj,Ad(Brv - - * sound.c (alsa_configure): Move get period/buffer_size after - setting hwparams. - -2006-05-26 Kenichi Handa - - * coding.c (Ffind_operation_coding_system): Allow (FILENAME - . BUFFER) in TARGET. - -2006-05-25 Chong Yidong - - * image.c (png_load): Don't call fclose on NULL. - -2006-05-25 Luc Teirlinck - - * fns.c (Fyes_or_no_p): - * callint.c (Fcall_interactively): Fread_from_minibuffer now takes - only seven args. - -2006-05-25 Juri Linkov - - * lisp.h (Fread_from_minibuffer): Decrement number of args. - - * minibuf.c (read_minibuf): Remove arg KEEP_ALL. Callers changed. - (Fread_from_minibuffer): Remove arg KEEP_ALL. Callers changed. - - * buffer.c (mode-line-format): Fix docstring. - -2006-05-25 Richard Stallman - - * emacs.c (main, Fdump_emacs): Don't test __linux or __linux__. - -2006-05-24 Luc Teirlinck - - * puresize.h (BASE_PURESIZE): Increase to 1210000. - -2006-05-24 Alan Mackenzie - - * lread.c (Vload_history): Enhance doc-string to say that the file - is the absolute truename of the loaded file. - - * lread.c (Vafter_load_alist): doc-string: state that an element - now has a regexp to match file names, not a file name as such. - - * lread.c (readevalloop): Call file-truename on the name for - load-history, except at preloading time. - - * lread.c (Fload): At preloading time, preserve the extension of - the filename which goes into load-history. New var hist_file_name. - - * lread.c (Fload): Do eval-after-load stuff by calling the lisp - function do-after-load-evaluation. - -2006-05-24 YAMAMOTO Mitsuharu - - * mac.c (ae_attr_table): New variable. - (syms_of_mac): Intern and staticpro its elements. - (mac_aelist_to_lisp): Also convert Apple event attributes. - (mac_ae_put_lisp): New function. - (create_apple_event_from_event_ref) [MAC_OSX]: Use typeUTF8Text. - - * macfns.c (Fx_server_version): Use gestaltSystemVersionMajor etc. - - * macselect.c (Qemacs_suspension_id): New variable. - (syms_of_macselect): Intern and staticpro it. - (struct suspended_ae_info): New struct. - (deferred_apple_events, defer_apple_events) - (Fmac_process_deferred_apple_events): Use it. - (suspended_apple_events): New variable. - (mac_handle_apple_event_1): New function. - (mac_handle_apple_event): Use it. Don't process previously - suspended events. - (cleanup_suspended_apple_events, get_suspension_id) - (cleanup_all_suspended_apple_events): New functions. - (init_apple_event_handler): Call cleanup_all_suspended_apple_events - at exit. - (Fmac_cleanup_expired_apple_events, Fmac_ae_set_reply_parameter) - (Fmac_resume_apple_event): New defuns. - (syms_of_macselect): Defsubr them. - - * macterm.c (fn_keycode_to_keycode_table, XTread_socket) [MAC_OSX]: - Fix last change. Don't map `fn' modifier if pressed with F1 ... F12. - - * macterm.h (TYPE_FILE_NAME): Change from macro to enumerator. - (KEY_EMACS_SUSPENSION_ID_ATTR): New enumerator. - (keyReplyRequestedAttr) [MAC_OS_X_VERSION_MAX_ALLOWED < 1030]: Likewise. - (gestaltSystemVersionMajor, gestaltSystemVersionMinor) - (gestaltSystemVersionBugFix) [MAC_OS_X_VERSION_MAX_ALLOWED < 1040]: - Likewise. - (typeUTF8Text, kEventParamWindowMouseLocation) - [MAC_OSX && MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Likewise. - (x_get_focus_frame, mac_ae_put_lisp): Add externs. - -2006-05-23 YAMAMOTO Mitsuharu - - * macterm.c (fn_keycode_to_xkeysym_table, convert_fn_keycode): Remove. - (fn_keycode_to_keycode_table) [MAC_OSX]: New variable. - (mac_set_unicode_keystroke_event) [TARGET_API_MAC_CARBON]: New function. - (XTread_socket) [TARGET_API_MAC_CARBON]: Use it. - (XTread_socket) [MAC_OSX]: Try 'uchr' Unicode keyboard-layout - resource to backtranslate key with modifiers. - (XTread_socket): Don't set read_socket_inev around AEProcessAppleEvent. - -2006-05-23 Jan Dj,Ad(Brv - - * xterm.c: Remove declarations already in xterm.h - - * xterm.h: Add extern declarations for x_clear_errors, - x_fully_uncatch_errors, x_catching_errors and - x_alloc_lighter_color_for_widget. Remove duplicated declarations. - -2006-05-21 Richard Stallman - - * xfaces.c (best_matching_font): Abort for best == NULL - before we start to use it. - - * buffer.c (syms_of_buffer, Fmake_overlay): Doc fixes. - -2006-05-20 Kim F. Storm - - * xfaces.c (best_matching_font): Fix crash in 2006-05-17 change. - -2006-05-20 YAMAMOTO Mitsuharu - - * macterm.c (convert_fn_keycode): Fix last change. - -2006-05-19 Eli Zaretskii - - * w32.c (init_environment): Perform the processing of environment - variables on a copy of default variables and their values, not on - the original. Simplify code that calls ExpandEnvironmentStrings - and make buf1[] and buf2[] more visible for easier debugging. - -2006-05-19 YAMAMOTO Mitsuharu - - * frame.c (x_set_border_width): Remove #ifndef MAC_OS. - - * image.c [MAC_OS] (gif_load): Allocate Lisp string first. - - * macfns.c (Fx_focus_frame): Don't check dpyinfo->x_focus_frame. - - * macterm.c (XTread_socket) [TARGET_API_MAC_CARBON && MAC_OSX]: - Forward keyUp events to toolbox_dispatcher. - - * window.c (foreach_window): Check WINDOWP (FRAME_ROOT_WINDOW (f)). - -2006-05-18 Jan Dj,Ad(Brv - - * config.in: Regenerated (HAVE_ALSA). - - * sound.c (alsa_sound_perror, alsa_open, alsa_period_size) - (alsa_configure, alsa_close, alsa_choose_format, alsa_write) - (snd_error_quiet, alsa_init): New functions. - (vox_init): Return 0 if unable to open device. - (Fplay_sound_internal): Test for alsa first and use vox (oss) as - a fallback. - (struct sound_device): Add period_size. - (wav_play, au_play): Use period_size if set. - - * Makefile.in (CFLAGS_SOUND): New flags for ALSA. - (ALL_CFLAGS): Add CFLAGS_SOUND. - -2006-05-18 Kenichi Handa - - * callproc.c (Fcall_process): Reject encoding arguments by - ascii-incompatible coding systems (e.g. utf-16). - - * coding.c (Qascii_incompatible): New variable. - (syms_of_coding): Setup Qascii_incompatible. - (setup_coding_system): Be sure to initialize coding->common_flags. - Check `ascii-incompatible' property of the coding system. - - * coding.h (CODING_ASCII_INCOMPATIBLE_MASK): New macro. - -2006-05-18 Kim F. Storm - - * xdisp.c (display_tool_bar_line): Restore entire tool-bar - geometry when backtracking in case last image doesn't fit on line. - -2006-05-18 MIYOSHI Masanori (tiny change) - - * xdisp.c (display_tool_bar_line): Don't adjust tool-bar height by - more than height of one frame default line. - -2006-05-17 Richard Stallman - - * xfaces.c (better_font_p): Any font beats no font. - (best_matching_font): Simplify based on above change. - - * buffer.c (Fprevious_overlay_change, Fnext_overlay_change): Doc fixes. - -2006-05-16 Kim F. Storm - - * xterm.c (handle_one_xevent): Check that f is not NULL before - calling x_kill_gs_process. - -2006-05-14 Richard Stallman - - * textprop.c (Fnext_single_char_property_change) - (Fprevious_single_char_property_change): Don't allow returning - value beyond LIMIT in any cases. - (Fnext_char_property_change, Fprevious_char_property_change): Doc fix. - - * intervals.c (get_local_map): Abort if POSITION outside BEGV, ZV. - -2006-05-14 Jan Dj,Ad(Brv - - * xterm.c (handle_one_xevent): Check that f is not NULL before - calling _XEditResCheckMessages. - -2006-05-14 Kim F. Storm - - * xterm.c (handle_one_xevent): Fix crash in 2006-03-24 change. - -2006-05-13 Eli Zaretskii - - * frame.c (x_set_border_width): Fix error message to say "frame", - not "window". - - * Makefile.in (SOME_MACHINE_LISP): Add fringe.elc. - -2006-05-12 Chong Yidong - - * intervals.c (set_point_both): Fix mixup before before and after - in variable names. - - * editfns.c (Fline_beginning_position): Inhibit point-motion hooks - while setting point temporarily. - -2006-05-11 Richard Stallman - - * lread.c (readevalloop): Abort if START non-nil for non-buffer input. - -2006-05-11 Kim F. Storm - - * xdisp.c (redisplay_tool_bar): Handle large tool-bar-border values. - -2006-05-11 Kenichi Handa - - * fileio.c (Finsert_file_contents): Fix for the case of IO error - while handling replace operation. - -2006-05-10 Kenichi Handa - - * xfaces.c (realize_default_face) [HAVE_X_WINDOWS]: If the font - chosen for the default face was different from the frame font, - adjust the frame font. - -2006-05-10 YAMAMOTO Mitsuharu - - * image.c (Qduration) [MAC_OS]: Undo previous change. - (syms_of_image) [MAC_OS]: Likewise. - [MAC_OS] (gif_load): Emulate Graphic Control Extension block. - - * macfns.c (x_to_mac_color): Fix shift amount change. - (mac_set_font) [USE_MAC_FONT_PANEL]: Use x_get_focus_frame. - [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): Doc fix. - - * macselect.c (Vmac_service_selection) [MAC_OSX]: Rename from - Vmac_services_selection. All uses changed. - (mac_store_service_event): Rename from mac_store_services_event in - extern and calls. - - * macterm.c (Qservice) [MAC_OSX]: Rename from Qservices. All uses - changed. - [MAC_OSX] (mac_store_service_event): Rename from - mac_store_services_event. All callers changed. - [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): Add args - FACE_ID and C. All callers changed. - (x_free_frame_resources) [USE_MAC_FONT_PANEL]: Call - mac_set_font_info_for_selection when focus frame is destroyed. - (XTread_socket): Revert to FrontNonFloatingWindow/FrontWindow. - - * macterm.h (mac_set_font_info_for_selection): Add 2nd and 3rd - args in extern. - -2006-05-09 Chong Yidong - - * keymap.c (describe_map): Avoid generating duplicate entries if - the shadowed binding has the same definition. - -2006-05-09 Kenichi Handa - - * keymap.c (push_key_description): Handle invalid character key. - -2006-05-08 Kenichi Handa - - * callproc.c (Fcall_process): Use system_eol_type for encoding - arguments if eol_type is not yet decided. - - * coding.h (system_eol_type): Extern it. - - * coding.c (setup_coding_system): For invalid coding-system, set - coding->eol_type to CODING_EOL_UNDECIDED. - (encode_coding): Cancel previous change. - (shrink_encoding_region): Likewise. - (code_convert_region1): Likewise. - (code_convert_string1): Likewise. - (code_convert_string_norecord): Likewise. - - * fileio.c (choose_write_coding_system): Use system_eol_type for - encoding if eol_type is not yet decided. - - * process.c (setup_process_coding_systems): Use system_eol_type - for encoding if eol_type is not yet decided. - (read_process_output): Likewise. - (send_process): Likewise. - -2006-05-07 Juanma Barranquero - - * minibuf.c (syms_of_minibuf) : Fix typo in doc. - -2006-05-07 YAMAMOTO Mitsuharu - - * mac.c (Fmac_clear_font_name_table): Move defun to macfns.c. - (syms_of_mac): Likewise for defsubr. - - * macfns.c (mac_set_font): New function. - (mac_frame_parm_handlers, syms_of_macfns): Replace x_set_font with it. - (mac_window) [TARGET_API_MAC_CARBON && MAC_OSX]: Specify - kWindowToolbarButtonAttribute when creating window. - (Fmac_clear_font_name_table): Move from macfns.c. - (syms_of_macfns): Likewise for defsubr. - [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): New defun. - (syms_of_macfns) [USE_MAC_FONT_PANEL]: Defsubr it. - - * macgui.h (USE_MAC_FONT_PANEL): Define to 1 if USE_ATSUI is set - and build is done on Mac OS X 10.2 and later. - - * macselect.c (mac_do_receive_drag): Remove unused variable `index'. - (mac_store_services_event): Change return type in extern. - - * macterm.c (XLoadQueryFont) [USE_ATSUI]: Set font->mac_fontnum to - FMFontFamily value. - [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): New function. - (x_new_focus_frame) [USE_MAC_FONT_PANEL]: Use it. - (QCfamily, QCweight, QCslant, Qnormal, Qbold, Qitalic): Add extern. - (QWindow) [MAC_OSX]: Likewise. - (Qfont) [USE_MAC_FONT_PANEL]: Likewise. - (Vmac_atsu_font_table) [USE_ATSUI]: New variable. - (syms_of_macterm) [USE_ATSUI]: Defvar it. - (Qtoolbar_switch_mode) [MAC_OSX]: New variable. - (Qpanel_closed, Qselection) [USE_MAC_FONT_PANEL]: Likewise. - (syms_of_macterm): Intern and staticpro them. - (init_font_name_table) [USE_ATSUI]: Add data to Vmac_atsu_font_table. - [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): - New function. - [USE_CARBON_EVENTS] (mac_handle_command_event): Use it. - [MAC_OSX] (mac_store_services_event): Likewise. - [USE_CARBON_EVENTS] (mac_handle_window_event) [MAC_OSX]: Handle - kEventWindowToolbarSwitchMode event. - (install_window_handler) [USE_CARBON_EVENTS && MAC_OSX]: Register it. - [MAC_OSX] (mac_store_services_event): Change return type to OSStatus. - [USE_MAC_FONT_PANEL] (mac_handle_font_event): New function. - (install_window_handler) [USE_MAC_FONT_PANEL]: Install it. - (XTread_socket): Select window on mouse click if x_focus_frame is NULL. - - * macterm.h (mac_set_font_info_for_selection): Add extern. - -2006-05-06 YAMAMOTO Mitsuharu - - * image.c (Qduration) [MAC_OS]: New variable. - (syms_of_image) [MAC_OS]: Intern and staticpro it. - [MAC_OS] (gif_load): Save image extension data in img->data.lisp_val. - [MAC_OSX] (image_load_quartz2d): Use cfstring_create_with_utf8_cstring - instead of cfstring_create_with_string. - -2006-05-06 Kim F. Storm - - * .gdbinit (xframe): Print frame name. - (xlist): New command to print a list (max 10 elements). - (xpr): Print lisp object of any type. - (pitx): Print it->pixel_width. - -2006-05-05 Kenichi Handa - - * xdisp.c (handle_composition_prop): Fix for the case of empty - composition component. - -2006-05-05 YAMAMOTO Mitsuharu - - * keyboard.c (make_lispy_event) [MAC_OS]: Get Apple event info - from event->arg. - - * termhooks.h (enum event_kind) [MAC_OS]: Update comment for - MAC_APPLE_EVENT. - - * macterm.h (mac_make_lispy_event_code): Remove extern. - (mac_post_mouse_moved_event): Add extern. - (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to - `const AEDesc *' in externs. - (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: New extern. - - * mac.c (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to - `const AEDesc *'. - [TARGET_API_MAC_CARBON] (create_apple_event): New function. - [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): Use it. - Use xrealloc instead of repeated xmalloc/xfree. - [TARGET_API_MAC_CARBON] (create_apple_event_from_drag_ref): - New function. - - * macmenu.c (restore_menu_items, cleanup_popup_menu): Return a value. - - * macselect.c: Update copyright year. - (mac_store_apple_event): Change return type to void in extern. - (mac_handle_apple_event): Don't get return value from - mac_store_apple_event. - [TARGET_API_MAC_CARBON] (Vmac_dnd_known_types): New variable. - (syms_of_macselect) [TARGET_API_MAC_CARBON]: Defvar it. - [TARGET_API_MAC_CARBON] (mac_do_track_drag): Move function from - macterm.c. Use Vmac_dnd_known_types as acceptable flavors. - [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise. New - implementation using create_apple_event_from_drag_ref. - [TARGET_API_MAC_CARBON] (mac_do_track_dragUPP) - (mac_do_receive_dragUPP): Move variables from macterm.c. - (install_drag_handler, remove_drag_handler): New functions. - - * macterm.c (XTread_socket) [TARGET_API_MAC_CARBON]: Try window - path select also for proxy icon click. - [TARGET_API_MAC_CARBON] (mac_post_mouse_moved_event): New function. - [USE_TOOLKIT_SCROLL_BARS] (scroll_bar_timer_callback): Use it. - (xlfdpat_create): Remove unused label `error' and trailing sentences. - (mac_do_track_drag, mac_do_receive_drag): Move functions to macselect.c. - (mac_do_track_dragUPP, mac_do_receive_dragUPP): Move variables to - macselect.c. - (install_drag_handler, remove_drag_handler): Add extern. - (mac_store_apple_event): Change return type to void. All uses changed. - Create Lisp object from Apple event and store it into input event. - (mac_make_lispy_event_code): Remove function. - [TARGET_API_MAC_CARBON] (mac_store_drag_event): New function. - (install_window_handler): Call install_drag_handler. - (remove_window_handler): Call remove_drag_handler. - -2006-05-03 Richard Stallman - - * sound.c (Fplay_sound_internal): Dynamically allocate - current_sound_device and current_sound. - (sound_cleanup): Free them. - - * minibuf.c (read_minibuf): Don't use read_minibuf_noninteractive - when inside a keyboard macro. - -2006-05-02 Andreas Schwab - - * xmenu.c (restore_menu_items): Return a value. - -2006-05-01 Martin Rudalics - - * syntax.c (Fforward_comment): Detect generic comment at beginning of - buffer when moving backwards. - -2006-05-01 YAMAMOTO Mitsuharu - - * dispnew.c (update_window): Don't set changed_p when mode/header - line is updated. - - * xdisp.c (prepare_menu_bars) [MAC_OS]: Call mac_update_title_bar. - (get_glyph_face_and_encoding, get_char_face_and_encoding): - Don't distinguish known faces from others. - - * mac.c (mac_coerce_file_name_ptr): Try typeFSRef if coercion - through typeFileURL failed. - - * macfns.c (mac_update_title_bar): New function. - [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): New function. - (show_hourglass, hide_hourglass) [USE_CG_DRAWING]: - Call mac_prepare_for_quickdraw. - - * macgui.h (USE_ATSUI): Set default to 1 if MAC_OSX is defined. - (USE_CG_DRAWING): Don't define if compiled on Mac OS X 10.1. - (enum pcm_status): New enum. - (XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID) - (XCharStructRow): Remove. Now validity is represented by - non-negativeness of sum of ascent and descent. - (struct MacFontStruct): Change type of member `rows'. - (struct _XGC) [USE_CG_DRAWING]: Add member `clip_rects'. - - * macterm.c (mac_draw_line, mac_draw_line_to_pixmap): - Adjust endpoints of strictly horizontal/vertical lines. - (mac_set_clip_rectangles) [USE_CG_DRAWING]: Set clip_rects. - (pcm_init, pcm_get_status): New functions. - (x_per_char_metric, XLoadQueryFont): Use them instead of - XCharStructRow and related macros. - (x_draw_relief_rect): Don't adjust arguments of mac_draw_line. - (x_free_frame_resources) [TARGET_API_MAC_CARBON]: Free FRAME_FILE_NAME. - (XTread_socket) [TARGET_API_MAC_CARBON]: Handle proxy icon drag - and window path pop-up menu on title bar. - (mac_use_core_graphics) [USE_CG_DRAWING]: Set default to 1. - - * macterm.h (mac_update_title_bar): Add extern. - (struct mac_output) [TARGET_API_MAC_CARBON]: New member `file_name'. - (FRAME_FILE_NAME): New macro. - - * unexmacosx.c (unexec): Error if trying unexec from dumped executable. - -2006-04-30 Richard Stallman - - * keymap.c (Fdefine_key): Improve error message - when KEY begins with a non-prefix key. - -2006-04-30 Martin Rudalics - - * syntax.c (Fforward_comment): Don't forget to break out of the loop - when we skipped backward over a generic comment. - -2006-04-27 Nick Roberts - - * .gdbinit (pp1, pv1): Only print value as expression is now - printed out by gud-print. - (pv1): Correct doc string. - -2006-04-26 Stefan Monnier - - * keymap.c (store_in_keymap): Change `def' arg to not be `register'. - Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8): - keymap.c:895: error: address of register variable `def' requested. - -2006-04-26 Jason Rumney - - * w32term.c (construct_mouse_wheel): Handle negative coordinates. - - * w32fns.c (w32_wnd_proc) : - : Call signal_user_input in the cases - where we preempt mouse_button_timer. - -2006-04-25 Miles Bader - - * editfns.c (Ffield_beginning, find_field): Undo change of 2006-04-23. - -2006-04-24 Stefan Monnier - - * process.h: Include headers for pid_t. - -2006-04-24 Kim F. Storm - - * xdisp.c (fill_stretch_glyph_string): Set s->nchars = 1 for code which - does last_glyph=s->first_glyph+s->nchars-1, e.g. if stretch has relief. - (produce_stretch_glyph): Assume that face box height and width is - already included in stretch glyph size so caller doesn't have to - consider the extra space otherwise added (fixes problem in ses.el). - - * frame.c (x_set_font): Clear f->n_tool_bar_rows and current frame - matrices to force recalculation of tool-bar height after font change. - - * xdisp.c (tool_bar_lines_needed): New local `temp_row' for clarity. - Clear it when done, so we don't accidentally draw a second copy of - the tool-bar after resetting f->n_tool_bar_rows. - (redisplay_tool_bar): Update tool-bar-lines frame parameter whenever - we recalculate f->n_tool_bar_rows. - -2006-04-23 Lars Hansen - - * editfns.c (find_field): Fix comment. - (Ffield_beginning): Fix bug when POS is at field beginning. - -2006-04-22 Eli Zaretskii - - * puresize.h (BASE_PURESIZE): Increase to 1205000. - -2006-04-21 Kim F. Storm - - * xdisp.c (redisplay_window): Fix last change. Don't recenter if - window start is at BEGV. - - * dispextern.h (struct image): New member `corners'. - (TOP_CORNER, LEFT_CORNER, BOT_CORNER, RIGHT_CORNER): New macros. - - * image.c (four_corners_best): New arg CORNERS specifies what pixels - to look at in case image has margin. - (x_create_bitmap_mask): Pass NULL for CORNERS to four_corners_best. - (image_background, image_background_transparent) - (x_build_heuristic_mask): Pass img->corners to four_corners_best. - (gif_load): Set img->corners according to image's margin spec. - Use img->corners values directly where applicable. - Save image extension data in img->data.lisp_val. - (gif_clear_image): New function to free img->data.lisp_val. - (gif_type): Use it instead of generic x_clear_image. - (Fimage_extension_data): New defun. - (syms_of_image): Defsubr it. - -2006-04-21 John Sullivan (tiny change) - - * window.c (Fdisplay_buffer): Doc fix. - -2006-04-21 Eli Zaretskii - - * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Increase to 25000. - -2006-04-21 YAMAMOTO Mitsuharu - - * image.c [MAC_OS] (xpm_load_image): Fill in background field - while we have ximg handy. - - * macmenu.c (restore_menu_items, save_menu_items): New functions - from xmenu.c. - (set_frame_menubar, digest_single_submenu): Apply 2006-04-18 - changes for xmenu.c. - - * macterm.c (x_per_char_metric): Return NULL if glyph width is 0. - (add_mac_font_name): New function. - (init_font_name_table): Use it. Adopt the first found font from - those having the same family name. - -2006-04-21 Nick Roberts - - * xdisp.c (note_mouse_highlight): Use build_string. - -2006-04-20 Lars Hansen - - * textprop.c (Fremove_list_of_text_properties): - Ensure modify_region is called only when buffer is modified and that - signal_after_change is allways called in that case. - - * print.c (PRINTFINISH): Call signal_after_change. - -2006-04-20 Kim F. Storm - - * xdisp.c (redisplay_window): Fix last change. - - * xdisp.c (redisplay_window): If current window start is not at the - beginning of a line, select a new window start if buffer is modified - and window start is in the modified region, but the first change is - before window start. - -2006-04-18 Richard Stallman - - * xmenu.c (restore_menu_items, save_menu_items): New fns. - (set_frame_menubar): Use save_menu_items. Save updated vector in - the frame before unwinding it. Don't use unuse_menu_items. - Don't use discard_menu_items. - (digest_single_submenu): Abort if an item is not in a pane. - (init_menu_items): Put the error check at the top. - - * keymap.c (describe_map): Make "shadowed" warning more verbose. - - * window.c (adjust_window_trailing_edge): Correctly distinguish - series vs parallel cases, even when window has no parent. - - * abbrev.c (record_symbol): New function. - (Finsert_abbrev_table_description): Sort the abbrevs alphabetically. - -2006-04-18 YAMAMOTO Mitsuharu - - * image.c (x_create_bitmap_from_data) [MAC_OS]: Don't check return - value of xmalloc. - - * mac.c (mac_coerce_file_name_ptr, mac_coerce_file_name_desc) - (create_apple_event_from_event_ref, xrm_get_preference_database) - (cfstring_create_normalized): Don't check return value of xmalloc. - - * macselect.c (get_scrap_target_type_list, defer_apple_events) - (copy_scrap_flavor_data, mac_handle_service_event): Don't check - return value of xmalloc/xrealloc. - - * macterm.c (XCreateGC, x_per_char_metric, xlfdpat_create) - (init_font_name_table, init_font_name_table, mac_do_list_fonts) - (XLoadQueryFont, mac_store_apple_event): Don't check return value - of xmalloc. - -2006-04-17 Kim F. Storm - - * window.c (coordinates_in_window): On the vertical border, - calculate the row number measured from the top of the window, not - the top of the frame. - (window_loop): Test w->dedicated with !NILP instead of EQ Qt. - (window_scroll_pixel_based): Fix off-by-one bug in 2002-12-23 change. - -2006-04-16 Eli Zaretskii - - * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Reduce to 24000. - -2006-04-16 Romain Francoise - - * puresize.h (BASE_PURESIZE): Decrement back to 1200000. - -2006-04-16 Andreas Schwab - - * puresize.h (PURESIZE_RATIO): Reduce to 10/6. - -2006-04-15 Romain Francoise - - * puresize.h (BASE_PURESIZE): Increment to 1210000. - -2006-04-13 Micha,Ak(Bl Cadilhac - - * print.c (Fprin1_to_string): Mention in the `doc' that the - behavior is modified by `print-level' and `print-length'. - -2006-04-13 Kenichi Handa - - * coding.c (setup_coding_system): If eol-type is not yet decided - and system_eol_type is not LF, set CODING_REQUIRE_ENCODING_MASK. - If coding_system is nil, return 0. - (code_convert_region1): Even if coding_system is nil, don't skip - conversion if system_eol_type is not LF. - (code_convert_string1): Likewise. - (code_convert_string_norecord): Likewise. - -2006-04-13 Kenichi Handa - - * coding.c (setup_coding_system): Fix previous change. - (encode_coding): If eol_type is not yet decided, use system_eol_type. - (shrink_encoding_region): If eol_type is not yet decided and - system_eol_type is not LF, don't shrink. - -2006-04-13 Nick Roberts - - * xdisp.c (note_mouse_highlight): Add help echo for dragging vertical - line. - -2006-04-12 Richard Stallman - - * keyboard.c (read_key_sequence): Explicitly avoid keybuf[-1]. - - * process.c (conv_lisp_to_sockaddr): If FAMILY unknown, just return. - (Fprocess_send_eof): Abort if fail to open null device. - -2006-04-12 YAMAMOTO Mitsuharu - - * fns.c [HAVE_MENUS && MAC_OS]: Include macterm.h. - - * image.c [MAC_OS] (xpm_load_image): Add parentheses around - assignment used as truth value. Add explicit braces to avoid - ambiguous `else'. - [MAC_OS] (gif_load): Remove unused variable `gcpro1'. - - * lisp.h (syms_of_fontset, Fset_fontset_font): Put extern and - EXFUN in #ifdef HAVE_WINDOW_SYSTEM. - (syms_of_xfns, syms_of_xsmfns, syms_of_xselect, syms_of_xterm): - Put externs in #ifdef HAVE_X_WINDOWS. - (syms_of_macfns, syms_of_macselect, syms_of_macterm) - (syms_of_macmenu, syms_of_mac) [MAC_OS]: Add externs. - (init_mac_osx_environment) [MAC_OSX]: Add extern. - - * mac.c (init_process): Remove undef. - (select) [MAC_OSX]: Undefine before including sysselect.h. - (posix_pathname_to_fsspec, fsspec_to_posix_pathname) [MAC_OSX]: - Remove functions and prototypes. - (parse_value): Add parentheses around + inside shift. - (path_from_vol_dir_name): Make static. - (get_temp_dir_name): Remove unused variables `cpb' and `dir_name'. - [!MAC_OSX] (get_path_to_system_folder): Likewise. - (Fmac_get_file_creator, Fmac_get_file_type): Remove unused - variable `cCode'. - (Fmac_coerce_ae_data): Remove unused variables `fref' and `fs'. - (Fmac_get_preference): Add explicit braces to avoid ambiguous `else'. - - * macfns.c (x_to_mac_color): Remove unused variable `tail'. - (x_set_mouse_color): Remove unused variable `dpy'. - (Fx_create_frame): Remove unused variable `x_frame_count'. - (Fx_server_version): Add explicit braces to avoid ambiguous `else'. - (x_sync): Move from macterm.c. - (Fx_file_dialog): Remove unused variable `default_filter_index'. - - * macmenu.c (min_menu_id): Make element type explicit. - - * macselect.c (get_flavor_type_from_symbol): Remove unused - variable `val'. - (get_scrap_private_timestamp, x_get_foreign_selection) - (copy_scrap_flavor_data): Add explicit braces to avoid ambiguous `else'. - (Fmac_process_deferred_apple_events): Remove unused variables - `keyword', `reply', `apple_event', `count', and `err'. - - * macterm.c: Don't include gnu.h. - (x_io_error_quitter, x_draw_image_foreground_1): Remove prototypes. - (x_sync): Move to macfns.c. - [USE_CG_DRAWING] (mac_define_fringe_bitmap): Remove unused - variable `mask_bits'. - (mac_compute_glyph_string_overhangs): Avoid ambiguous `else'. - (x_draw_image_glyph_string): Remove unused variable `pixmap'. - (x_mac_to_emacs_modifiers): Remove function. - (XTset_vertical_scroll_bar, mac_handle_visibility_change) - (x_make_frame_visible, xlfdpat_create, mac_handle_command_event): - Add explicit braces to avoid ambiguous `else'. - (x_make_frame_visible): Remove unused variables `type', - `original_top', and `original_left'. - (mac_do_list_fonts, XTread_socket): Add parentheses around && within ||. - (x_load_font): Remove unused variables `full_name', and `value'. - (do_get_menus, do_init_managers, do_check_ram_size) [!MAC_OS8]: - Remove functions. - (do_zoom_window): Reorganize variables with respect to conditionals. - (init_command_handler): Remove unused variable `err'. - [MAC_OSX] (mac_check_bundle): Remove unused variable `child'. - - * macterm.h (x_set_mouse_position, x_set_mouse_pixel_position) - (x_make_frame_invisible, x_iconify_frame, x_free_frame_resources) - (x_destroy_window, x_wm_set_size_hint, x_delete_display, XFreeGC) - (do_menu_choice, have_menus_p, x_real_positions) - (x_set_menu_bar_lines, x_pixel_width, x_pixel_height, x_char_width) - (x_char_height, x_sync, x_set_tool_bar_lines, x_activate_menubar) - (free_frame_menubar): Add externs. - - * unexmacosx.c: Include config.h before using HAVE_MALLOC_MALLOC_H. - (malloc, realloc, free): Add undefs. - (read_load_commands): Remove unused variable `n' and `j'. - (copy_data_segment): Remove unused variable `r'. - - * xdisp.c (get_glyph_string_clip_rects): Add parentheses around && - within ||. Add explicit braces to avoid ambiguous `else'. - (dump_glyph_row): Remove label for `inverse_p' from legend. - - * xfaces.c (Finternal_merge_in_global_face, try_font_list): - Add explicit braces to avoid ambiguous `else'. - -2006-04-11 Micha,Ak(Bl Cadilhac - - * dispnew.c (init_display): Don't init X display if the user asked - for a non-X display. - -2006-04-12 Kenichi Handa - - * coding.c (setup_coding_system): Use system_eol_type for default - coding->eol_type. - -2006-04-11 Dan Nicolaescu - - * lisp.h (wrong_type_argument): Mark as NO_RETURN. - - * data.c (wrong_type_argument): Try to avoid compiler warnings due - to the fact the function is now marked as NO_RETURN. - -2006-04-10 Eli Zaretskii - - * s/ms-w32.h (pid_t) [_MSC_VER]: New typedef. - -2006-04-10 Romain Francoise - - * xrdb.c (gethomedir): Use xstrdup. - -2006-04-10 Andreas Schwab - - * xrdb.c (gethomedir): Make sure to always return a pointer that - can be passed to free. - -2006-04-09 Richard Stallman - - * lisp.h (Fkill_emacs): Undo previous change. - -2006-04-08 Richard Stallman - - * search.c (boyer_moore): Test ch >= 0400, not >. - -2006-04-09 Dan Nicolaescu - - * puresize.h (pure_write_error): Mark as NO_RETURN. - - * lisp.h (args_out_of_range, args_out_of_range_3) - -2006-04-08 Eli Zaretskii - - * w32fns.c (w32_wnd_proc) : Ignore mouse movements - if a menu is active on this frame. - -2006-04-08 Dan Nicolaescu - - * lisp.h (report_file_error): Mark as NO_RETURN. - -2006-04-08 Eli Zaretskii - - * alloc.c [STDC_HEADERS]: Include stddef.h. - - * lisp.h (PSEUDOVECSIZE): Fix last change. - -2006-04-08 Stefan Monnier - - * process.h (struct Lisp_Process): Replace Lisp_Objects `pid', - `raw_status_high', and `raw_status_low' with plain integers, and move - them to the end of the structure. - - * alloc.c (allocate_process): Use PSEUDOVECSIZE to initialize the - pseudovector's size field so only the Lisp_Object fields get GC'd. - - * process.c (update_status, make_process, Fdelete_process) - (Fprocess_status, list_processes_1, start_process_unwind) - (create_process, Fmake_network_process, server_accept_connection) - (wait_reading_process_output, send_process, Fprocess_running_child_p) - (process_send_signal, proc_encode_coding_system, Fprocess_send_eof) - (sigchld_handler, status_notify): Adjust to new non-Lisp fields for - `pid' and `raw_status'. - (Fprocess_id, Fsignal_process): Same, and additionally use floats when - representing PIDs that are larger than most-positive-fixnum. - - * keymap.c (describe_map): Only use XINT if we checked INTEGERP. - - * lisp.h (OFFSETOF, PSEUDOVECSIZE): New macros. - -2006-04-08 Eli Zaretskii - - * w32fns.c (Fx_show_tip): Add 3 to the 5th arg of SetWindowPos. - -2006-04-03 Paul Eggert - - * editfns.c (TM_YEAR_IN_ASCTIME_RANGE): New macro, identical to - ../lib-src/b2m.c and ../lib-src/editfns.c. - (Fcurrent_time_string): Use it. - Document that the year might not consume 4 columns if it's outside - the range 1000-9999. - Check for asctime failure. - Don't assume that the output string length is always exactly 24. - -2006-04-03 YAMAMOTO Mitsuharu - - * macterm.c (XTread_socket): Initialize variable `f' before its use. - -2006-04-03 Kenichi Handa - - * image.c: Include "charset.h" and "coding.h". - (x_find_image_file): Return an encoded file name. - -2006-04-01 Eli Zaretskii - - * configure: Regenerated. - -2006-03-31 Kenichi Handa - - * xfns.c (xg_set_icon): Delete superfluous UNGCPRO. - -2006-03-30 Dan Nicolaescu - - * xdisp.c (syms_of_xdisp): Fix variable name. - -2006-03-30 Kenichi Handa - - * xterm.c (x_term_init): Delete superfluous UNGCPRO. - -2006-03-29 Juanma Barranquero - - * keyboard.c (process_tool_bar_item): Reorder dummy args. - -2006-03-29 Stefan Monnier - - * keyboard.c (tool_bar_items): Use map_keymap. - (process_tool_bar_item): Add dummy args to fit the required interface. - -2006-03-25 Eli Zaretskii - - * .gdbinit (pr, pp, pp1, pv, pv1): Force print_output_debug_flag - to zero before calling debug_print or safe_debug_print. - - * print.c (print_output_debug_flag): New global variable. - (Fexternal_debugging_output) [WINDOWSNT]: Don't call - OutputDebugString if print_output_debug_flag is zero. - -2006-03-24 Paul Eggert - - * editfns.c (TM_YEAR_BASE): Move up, so the changes below can use it. - (Fdecode_time, Fencode_time): Use TM_YEAR_BASE instead of 1900. - (Fdecode_time): Cast tm_year to EMACS_INT. - (Fcurrent_time_string): Report an invalid time specification if - the argument is invalid. Also, check for out-of-range time stamps. - -2006-03-24 Kim F. Storm - - * xterm.c (handle_one_xevent): - * w32term.c (w32_read_socket): - * macterm.c (XTread_socket): Don't let key-press clear mouse face - on in toolbar window if mouse-highlight is an integer. - - * fns.c (sxhash_list): Include last non-nil CDR in hash. - -2006-03-24 YAMAMOTO Mitsuharu - - * macmenu.c (enum mac_menu_kind): New enum. - (min_menu_id): New variable. - (POPUP_SUBMENU_ID, MIN_POPUP_SUBMENU_ID, MIN_MENU_ID) - (MIN_SUBMENU_ID): Remove defines. All uses are replaced with - min_menu_id and enumerators in enum mac_menu_kind. - (fill_menu, dispose_menus, install_menu_quit_handler): New arg KIND. - All uses changed. Add range check for menu ID. - (fill_menubar): Add range check for menu ID. - [HAVE_CANCELMENUTRACKING] (menu_quit_handler): Check error code of - GetEventParameter. - (set_frame_menubar, mac_menu_show): Call install_menu_quit_handler - for each menu kind. - -2006-03-22 Kim F. Storm - - * xdisp.c: Undo 2006-03-21 change. - - * term.c: Define aliases for append_glyph and produce_stretch_glyph - when `static' is defined to avoid name clash with those in xdisp.c. - - * process.c (Faccept_process_output): Fix to comply with lisp - reference. Change arg "timeout" to "seconds" and allow both - integer and float value. Change arg "timeout-msec" to "millisec" - and interpret" as milliseconds rather than microseconds. Fix doc - string accordingly. - -2006-03-21 Ken Raeburn - - * xdisp.c (store_next_glyph): Rename from append_glyph. - (generate_stretch_glyph): Rename from produce_stretch_glyph. - All callers changed accordingly. - -2006-03-21 Jan Dj,Ad(Brv - - * xterm.c: x_session_initialized new variable. - (x_term_init): Use x_session_initialized to check if - x_session_initialize should be called. - (x_initialize): Initialize x_session_initialized. - -2006-03-21 Kim F. Storm - - * fringe.c (draw_fringe_bitmap): Don't calculate default overlay arrow - bitmap here, but ... - (update_window_fringes): ... here, so we can test if it has changed. - -2006-03-20 Andreas Schwab - - * dispnew.c (init_display): Check DISPLAY here. - - * emacs.c (main): Don't check here. - - * xterm.c (x_display_ok): Don't use DISPLAY env var. - -2006-03-20 Stefan Monnier - - * window.c (window_scroll_pixel_based): Yet another int/Lisp_Object - mixup (YAILOM). - -2006-03-20 Eli Zaretskii - - * emacs.c (main): Fix last change. - -2006-03-20 Kenichi Handa - - * fileio.c (Fwrite_region): Set visit_file to Qnil before GCPRO it. - - * keymap.c (map_keymap): Set tail to Qnil before GCPRO it. - - * xfns.c (xg_set_icon): Remove unnecessary GCPRO. - - * xterm.c (x_term_init): Remove unnecessary GCPRO. - -2006-03-19 Kim F. Storm - - * xdisp.c (set_cursor_from_row): Fix cursor property on overlay string, - so it doesn't associate overlay string with following glyph by default. - Allow integer property value to specify explicit number of buffer - positions associate with overlay string. - -2006-03-18 Chong Yidong - - * xterm.c (x_display_ok): Fix minor bug and compilation warnings. - -2006-03-18 Nozomu Ando - - * m/pmax.h (BROKEN_NOCOMBRELOC) [__NetBSD__]: Define. - (LIB_STANDARD, START_FILES) [__NetBSD__]: Don't define. - (START_FILES, RUN_TIME_REMAP, UNEXEC) [__NetBSD__, __OpenBSD__]: - Don't redefine. - - * m/mips.h: Don't use unexmips on NetBSD. - (LIBS_MACHINE): Move definition lower, so it doesn't use - LD_SWITCH_MACHINE, START_FILES, LIB_STANDARD, LIBS_TERMCAP, - C_SWITCH_MACHINE, and C_DEBUG_SWITCH. - - * unexelf.c [BROKEN_NOCOMBRELOC]: Include assert.h. - (unexec) [BROKEN_NOCOMBRELOC]: Handle platforms whose nocombreloc - option is broken (e.g., MIPS/NetBSD). - -2006-03-18 Craig McDaniel (tiny change) - - * sheap.c (STATIC_HEAP_SIZE): Enlarge STATIC_HEAP_SIZE to 12MB. - Remove the HAVE_X_WINDOWS conditional. - -2006-03-18 Vivek Dasmohapatra (tiny change) - - * emacs.c (main): If user asks for a display that is unavailable, - simulate -nw. - - * xterm.c (x_display_ok): New function. - - * xterm.h: Add prototype for x_display_ok. - -2006-03-18 Eli Zaretskii - - * w32fns.c (Fw32_select_font): Doc fix. - -2006-03-16 YAMAMOTO Mitsuharu - - * image.c [MAC_OS] (XPutPixel, XGetPixel) - [!WORDS_BIG_ENDIAN && USE_CG_DRAWING]: Don't use specialized - version when depth is 32. - (mac_create_cg_image_from_image) [MAC_OS && USE_CG_DRAWING]: - New function. - (prepare_image_for_display) [MAC_OS && USE_CG_DRAWING]: Use it. - (x_clear_image_1) [MAC_OS && USE_CG_DRAWING]: Release CGImage. - - * macterm.c (XCreatePixmap) [!WORDS_BIG_ENDIAN && USE_CG_DRAWING]: - Create GWorld in ARGB pixel format. - (mac_copy_area, mac_copy_area_with_mask) [USE_CG_DRAWING]: - Remove functions. - (x_draw_image_foreground) [USE_CG_DRAWING]: Use mac_draw_cg_image - instead of mac_copy_area/mac_copy_area_with_mask. - -2006-03-15 Kim F. Storm - - * xdisp.c (extend_face_to_end_of_line): Always add space glyph to - empty row. Fixes memory corruption revealed by 2006-03-02 change. - (display_tool_bar_line): Skip empty tool-bar line if HEIGHT < 0. - (tool_bar_lines_needed): Fix tool-bar display in case the tool-bar - width is exactly the same as the window width. Don't count a final - empty tool-bar line (pass HEIGHT = -1 to display_tool_bar_line). - -2006-03-15 Juanma Barranquero - - * fringe.c (w32_init_fringe, w32_reset_fringes): Revert to being - conditional on HAVE_NTGUI, not WINDOWS_NT. - -2006-03-15 YAMAMOTO Mitsuharu - - * dispextern.h (mac_init_fringe) [MAC_OS]: Add prototype. - - * fringe.c (mac_init_fringe) [MAC_OS]: New function. - - * macterm.c (mac_initialize) [USE_CG_DRAWING]: Call mac_init_fringe. - (max_fringe_bmp, fringe_bmp) [USE_CG_DRAWING]: New variables. - (mac_define_fringe_bitmap, mac_destroy_fringe_bitmap) - (mac_draw_cg_image) [USE_CG_DRAWING]: New functions. - (mac_draw_bitmap) [USE_CG_DRAWING]: Remove function. - (x_draw_fringe_bitmap) [USE_CG_DRAWING]: Use mac_draw_cg_image - instead of mac_draw_bitmap. - (x_redisplay_interface) [USE_CG_DRAWING]: Set handlers for - define_fringe_bitmap and destroy_fringe_bitmap. - -2006-03-14 Chong Yidong - - * xterm.c (x_uncatch_errors): Block input for entire function. - -2006-03-12 Jason Rumney - - * w32fns.c (Fx_create_frame): Remove call to - Qface_set_after_frame_default (from xfns.c 2003-05-26). - - * w32menu.c (Fx_popup_menu): Call w32_free_menu_strings when - finished with the menu. - - * w32term.c: Sync 2005-10-24 xterm.c changes. - (last_mouse_glyph_frame): New var. - (note_mouse_movement): Say mouse moved if current frame differs - from last_mouse_glyph_frame, and update last_mouse_glyph_frame. - (w32_mouse_position): Set last_mouse_glyph_frame. - Remove OLD_REDISPLAY_CODE block. - -2006-03-12 YAMAMOTO Mitsuharu - - * macgui.h [USE_ATSUI && MAC_OSX]: Define USE_CG_TEXT_DRAWING to 1. - - * macterm.h (struct mac_output) [USE_CG_DRAWING]: New member cg_context. - (mac_prepare_for_quickdraw) [USE_CG_DRAWING]: Add prototype. - - * mac.c (sys_select) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. - - * macfns.c (x_create_tip_frame): Apply 2006-03-11 change for xfns.c. - - * macterm.c (mac_draw_rectangle, x_draw_glyph_string_foreground) - (x_draw_composite_glyph_string_foreground) - (x_draw_image_foreground): Undo previous changes. - (x_draw_hollow_cursor): Likewise. Subtract 1 from the last - argument of mac_draw_rectangle. - (CG_SET_FILL_COLOR, CG_SET_STROKE_COLOR): New macros. - (mac_draw_string_common, mac_draw_image_string_cg): Use them. - (FRAME_CG_CONTEXT) [USE_CG_DRAWING]: New macro. - (mac_begin_cg_clip, mac_end_cg_clip, mac_prepare_for_quickdraw) - [USE_CG_DRAWING]: New functions. - (mac_draw_line, mac_erase_rectangle, mac_clear_window) - (mac_fill_rectangle, mac_draw_rectangle, mac_draw_string_common) - (mac_draw_image_string_cg) [USE_CG_DRAWING]: Add Quartz 2D drawing part. - (mac_draw_bitmap, mac_invert_rectangle, mac_draw_string_common) - (mac_copy_area, mac_scroll_area, x_scroll_bar_create) - (x_scroll_bar_remove, XTset_vertical_scroll_bar, x_set_window_size) - (XTread_socket) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. - -2006-03-12 L$,1 q(Brentey K,Aa(Broly - - * xfns.c (x_icon): Disable redundant call to `x_wm_set_window_state'. - -2006-03-11 Jason Rumney - - * w32fns.c (signal_user_input): New function. - (post_character_message): Use it for keyboard input. - (w32_msg_pump): Use it for mouse input. - -2006-03-11 Luc Teirlinck - - * window.c: Rename preserve_y to window_scroll_pixel_based_preserve_y. - (window_scroll_pixel_based, syms_of_window): Adapt to above change. - -2006-03-11 Eli Zaretskii - - * w32fns.c (w32_wnd_proc): Ignore middle and extra button events - if a menu is already active (the menubar_active flag is on). - -2006-03-11 David Ponce - - * xfns.c (x_create_tip_frame): Preserve received parms by copying them. - -2006-03-11 Eli Zaretskii - - * w32term.c: Add x_fully_uncatch_errors and x_catching_errors to - the list of unused display error handling functions. - - * eval.c (unwind_to_catch): Call x_fully_uncatch_errors only if - HAVE_X_WINDOWS. - (internal_condition_case, internal_condition_case_1) - (internal_condition_case_2): Call x_catching_errors only if - HAVE_X_WINDOWS. - - * vm-limit.c [HAVE_GETRLIMIT]: Don't define unconditionally. - Don't include sys/resource.h unless defined. - -2006-03-11 Richard Stallman - - * keymap.c (describe_map): Shorten string to indicate shadowed binding. - - * vm-limit.c (get_lim_data, lim_data, data_space_start): - Move from mem-limits.h. - (enum warnlevel): New data type. - (check_memory_limits): Rewrite the logic about warnings. - Use standard `struct rlimit'. Check return values for nonsense. - (memory_warnings): Always clear lim_data. - - * mem-limits.h (get_lim_data, lim_data, data_space_start): - Move to vm-limit.c. - - * xterm.c (x_fully_uncatch_errors, x_catching_errors): New functions. - - * eval.c (unwind_to_catch): Call x_fully_uncatch_errors. - (internal_condition_case_1, internal_condition_case_2): - Abort if within unclosed x_catch_errors. - -2006-03-11 Romain Francoise - - * process.c (Vprocess_adaptive_read_buffering): Doc fix. - -2006-03-11 Giorgos Keramidas (tiny change) - - * lisp.h: Remove duplicate prototypes. Make the prototype of - getloadavg be conditioned on HAVE_GETLOADAVG being undefined. - -2006-03-11 Eli Zaretskii - - * xterm.c (x_draw_hollow_cursor): Subtract 1 from the last - argument of XDrawRectangle. - - * xdisp.c (get_phys_cursor_geometry): Don't decrease height by 1. - - * macterm.c (mac_draw_rectangle): Don't add 1 to width and height. - (x_draw_glyph_string_foreground) - (x_draw_composite_glyph_string_foreground) - (x_draw_image_foreground): Don't subtract 1 from width and height - arguments to mac_draw_rectangle. - (x_draw_hollow_cursor): Add 1 to w->phys_cursor_width. - -2006-03-10 Kim F. Storm - - * alloc.c (USE_POSIX_MEMALIGN): Fix last change. - -2006-03-09 Stefan Monnier - - * alloc.c (USE_POSIX_MEMALIGN): New macro. - (ABLOCKS_BASE, lisp_align_malloc, lisp_align_free): Use it. - -2006-03-09 Kenichi Handa - - * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): Fix decoding - ASCII component of a composition. - -2006-03-08 Luc Teirlinck - - * window.c: Declare preserve_y as a static global variable. - (window_scroll_pixel_based): No longer declare preserve_y; - it is global now. - (syms_of_window): Set preserve_y to -1. - -2006-03-08 YAMAMOTO Mitsuharu - - * image.c [MAC_OS] (XPutPixel): Set alpha channel bits if pixmap - depth is 32. - [MAC_OS] (XGetPixel): Strip off alpha channel bits if pixmap - depth is 32. - -2006-03-06 Chong Yidong - - * xdisp.c (handle_invisible_prop): Don't update it->position with - a buffer position if we're in a display string. - -2006-03-06 YAMAMOTO Mitsuharu - - * macterm.h (MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH) - (MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH): New defines. - - * macfns.c (x_default_scroll_bar_color_parameter) - (x_set_scroll_bar_foreground, x_set_scroll_bar_background): - Remove unnecessary prototypes. - (x_set_scroll_bar_default_width): - Use MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH. - (mac_set_scroll_bar_width): New function. - (mac_frame_parm_handlers): Set it as handler for scroll-bar-width. - - * macterm.c (get_control_part_bounds): Fix type of return value. - (x_set_toolkit_scroll_bar_thumb, x_scroll_bar_create) - (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: Don't show - scroll bar if it is not tall enough to display scroll bar thumb. - [USE_CARBON_EVENTS] (mac_convert_event_ref) - (mac_handle_command_event, mac_handle_window_event) - (mac_handle_mouse_event): Check error code of GetEventParameter. - (convert_fn_keycode) [MAC_OSX]: Likewise. - -2006-03-05 Andreas Schwab - - * xselect.c (x_catch_errors_unwind): Fix missing return value. - -2006-03-02 Kim F. Storm - - * frame.h (struct frame): New member n_tool_bar_rows. - - * xdisp.c: Minimize the unpleasent visual impact of the requirement - that non-toolkit tool-bars must occupy an integral number of screen - lines, by distributing the rows evenly over the tool-bar screen area. - (Vtool_bar_border): New variable. - (syms_of_xdisp): DEFVAR_LISP it. - (display_tool_bar_line): Add HEIGHT arg for desired row height. - Make tool-bar row the desired height. Use default face for border - below tool-bar. - (tool_bar_lines_needed): Add N_ROWS arg. Use it to return number of - actual tool-bar rows. - (redisplay_tool_bar): Calculate f->n_tool_bar_rows initially. - Adjust the height of the tool-bar rows to fill tool-bar screen area. - (redisplay_tool_bar): Calculate f->n_tool_bar_rows when tool-bar area - is resized. - -2006-03-01 Luc Teirlinck - - * search.c (Fregexp_quote): Do not precede a literal `]' with two - backslashes to try to make clear that it has a literal meaning; it - does not do that. (It could close a character alternative - containing a backslash.) - -2006-02-28 Chong Yidong - - * xselect.c (x_catch_errors_unwind): New function. - (x_reply_selection_request): Put x_uncatch_errors in an unwind. - (Fx_get_atom_name): Call x_uncatch_errors earlier. - - * window.c (Qscroll_up, Qscroll_down): New syms. - (window_scroll_pixel_based): Make preserve_y static to avoid - getting point stuck when scrolling 1 line. - -2006-02-26 Chong Yidong - - * xterm.h, xterm.c (x_uncatch_errors): Delete unneccessary argument. - - * xterm.c (x_load_font, x_term_init, XTmouse_position) - (handle_one_xevent, x_connection_closed, x_list_fonts): - No arg for x_uncatch_errors. - - * xselect.c (x_own_selection, x_decline_selection_request) - (x_reply_selection_request, x_get_foreign_selection) - (Fx_get_atom_name, Fx_send_client_event): Likewise. - - * xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame): - Likewise. - -2006-02-26 Luc Teirlinck - - * lread.c: Declare Vload_file_rep_suffixes instead of - deleted variable default_suffixes. - (Fget_load_suffixes): New function. - (Fload): Use Fget_load_suffixes and Vload_file_rep_suffixes. - No longer use deleted variable default_suffixes. Update docstring. - (syms_of_lread): defsubr Sget_load_suffixes. - Expand `load-suffixes' docstring. - Delete default_suffixes and DEFVAR_LISP the new variable - `load-file-rep-suffixes'. - - * w32.c (check_windows_init_file): Use Fget_load_suffixes instead - of Vload_suffixes. - - * lisp.h: EXFUN Fget_load_suffixes. - Extern Vload_file_rep_suffixes. - - * eval.c (specpdl_ptr): Remove volatile qualifier for consistency - with lisp.h. - -2006-02-26 Stefan Monnier - - * lisp.h (struct specbinding, specpdl_ptr): Remove the volatile - qualifier which was trying to avoid the bug that was fixed by - yesterday's changes to xterm.c. - -2006-02-25 Chong Yidong - - * xterm.h (x_catch_errors) Return value changed to void. - (x_uncatch_errors): Delete unused count argument. - - * xterm.c (x_catch_errors): Don't use record_unwind_protect, since - it can be called in a signal handler. - (x_catch_errors_unwind): Function deleted. - (x_uncatch_errors): Deallocate last x_error_message_stack struct. - (x_check_errors): Call x_uncatch_errors before signalling error. - - (x_load_font, x_term_init, XTmouse_position, handle_one_xevent) - (x_connection_closed, x_list_fonts): Use new versions of - x_catch_errors and x_uncatch_errors. - - * xselect.c (x_own_selection, x_decline_selection_request) - (x_reply_selection_request, x_get_foreign_selection) - (Fx_get_atom_name, Fx_send_client_event): Likewise. - - * xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame): - Likewise. - - * eval.c (record_unwind_protect): Add an assertion. - -2006-02-25 Stefan Monnier - - * process.c (Fmake_network_process): Init the process's mark. - -2006-02-25 Kim F. Storm - - * buffer.c (modify_overlay): Force redisplay if we modify an - overlay at the end of the buffer. - -2006-02-24 Jan Dj,Ad(Brv - - * gtkutil.c (xg_get_image_for_pixmap): If x_find_image_file returns - nil the image file has been removed, in that case use the (cached) - pixmap. - -2006-02-24 Kenichi Handa - - * fileio.c (Finsert_file_contents): When a text is replaced - partially, be sure to set point before the inserted characters. - -2006-02-23 Zhang Wei (tiny change) - - * xfns.c (Fx_file_dialog): Return a decoded file name. - -2006-02-23 YAMAMOTO Mitsuharu - - * dispnew.c (update_text_area): Avoid needless redraw of rightmost - glyph whose face is extended to the text area end. - - * macterm.c (x_set_toolkit_scroll_bar_thumb): Don't set control - values if control is not visible or values are not changed. - -2006-02-22 Stefan Monnier - - * window.c (Fwindow_list): Check `window' before doing XWINDOW. - The default `window' should not be "on a different frame". - -2006-02-22 Kim F. Storm - - * indent.c (Fvertical_motion): Only try to move back if we can. - -2006-02-22 YAMAMOTO Mitsuharu - - * macgui.h (struct _XGC) [!MAC_OSX || !USE_ATSUI]: New member - n_clip_rects. - - * macmenu.c (digest_single_submenu): Apply 2006-02-19 change for - xmenu.c. - - * macterm.c (GC_CLIP_REGION): Remove macro. - (mac_begin_clip, mac_end_clip): Take arg GC instead of REGION. - All uses changed. Don't do clipping if n_clip_rects is zero. - (mac_set_clip_rectangles): Use xassert instead of abort. - Set n_clip_rects. Don't make clip_region empty when number of - clipping rectangles is zero. - (mac_reset_clip_rectangles): Set n_clip_rects directly instead of - calling mac_set_clip_rectangles. - (x_set_toolkit_scroll_bar_thumb): Temporarily hide scroll bar to - avoid multiple redraws. - -2006-02-22 Kim F. Storm - - * fringe.c (draw_fringe_bitmap): Fix overlay-arrow display. - -2006-02-21 Kim F. Storm - - * fringe.c (syms_of_fringe) : Doc fix. - -2006-02-21 Zhang Wei - - * xfns.c (Fx_file_dialog, Motif and GTK): DECODE_FILE before - returning it. - -2006-02-21 Giorgos Keramidas (tiny change) - - * fringe.c (horizontal_bar_bits): Rename from `horisontal_bar_bits'. - (standard_bitmaps): Use it. - -2006-02-21 YAMAMOTO Mitsuharu - - * macterm.c (mac_draw_string_common): Remove arg MODE. New arg - BG_WIDTH. All uses changed. Draw background if BG_WIDTH is not zero. - (mac_draw_image_string, mac_draw_image_string_16): New arg BG_WIDTH. - [USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg): Rename from - mac_draw_string_cg. New arg BG_WIDTH. All uses changed. - Draw background if BG_WIDTH is not zero. Use float constants as - divisors instead of double. Use alloca instead of xmalloc/xfree. - (x_draw_glyph_string_background, x_draw_glyph_string_foreground) - [!MAC_OS8 || USE_ATSUI]: Background may be drawn using - mac_draw_image_string* functions. - (XLoadQueryFont) [MAC_OS8 && USE_ATSUI]: Don't adjust heights of - some fonts when srcCopy text transfer mode might be used. - (mac_begin_clip, mac_end_clip): Check if region is empty. - (mac_set_clip_rectangles): When resetting clip region, make it - empty instead of disposing of it. - -2006-02-20 Kim F. Storm - - * Makefile.in: Add fringe.elc to WINDOW_SUPPORT. - - * buffer.h (struct buffer): New members fringe_indicator_alist and - fringe_cursor_alist. - - * buffer.c (init_buffer_once): Set dummy default values for - fringe-indicator-alist and fringe-cursor-alist. The proper - default values are set by pre-loading fringe.el. - (syms_of_buffer): defvar_per_buffer new fringe-indicator-alist and - fringe-cursor-alist buffer-local variables and defvar_lisp_nopro - corresponding default- variables. - - * fringe.c (enum fringe_bitmap_type): Remove. Change all uses - to use `int'. - (NO_FRINGE_BITMAP, UNDEF_FRINGE_BITMAP, MAX_STANDARD_FRINGE_BITMAPS): - Define explicitly. - (Qtruncation, Qcontinuation, Qempty_line, Qtop_bottom) - (Qhollow_small): New variables. - (syms_of_fringe): Intern and staticpro them. - (question_mark_bits): Rename from unknown_bits. - (left_curly_arrow_bits): Rename from continuation_bits. - (right_curly_arrow_bits): Rename from continued_bits. - (left_triangle_bits): Rename from ov_bits. - (right_triangle_bits): Add. - (filled_rectangle_bits): Rename from filled_box_cursor_bits. - (hollow_rectangle_bits): Rename from hollow_box_cursor_bits. - (filled_square_bits): Add. - (vertical_bar_bits): Rename from bar_cursor_bits. - (horizontal_bar_bits): Rename from hbar_cursor_bits. - (empty_line_bits): Rename from zv_bits. - (standard_bitmaps): Update to use new names. - (draw_fringe_bitmap_1): Make static. - (get_logical_cursor_bitmap, get_logical_fringe_bitmap): New functions - to map from logical cursors and indicators to physical bitmaps. - (draw_fringe_bitmap): Resolve fringe cursor and overlay-arrow - bitmaps using symbol names instead of bitmap numbers. - (update_window_fringes): Use logical indicator symbol names - instead of bitmap numbers for logical. Add bitmap cache. - (LEFT_FRINGE, RIGHT_FRINGE): New helper macros. - -2006-02-20 Chong Yidong - - * regex.c: Revert 2006-02-19 change. - (xmalloc, xrealloc): Define these when not linked to Emacs. - Redefine malloc -> xmalloc, realloc -> xrealloc as in Emacs case. - -2006-02-19 Luc Teirlinck - - * regex.c (extend_range_table_work_area): Fix typo. - -2006-02-19 Richard M. Stallman - - * xterm.c (x_catch_errors): Use xmalloc. - - * regex.c (extend_range_table_work_area): Call xmalloc and xrealloc. - (regex_compile): Likewise. - (regcomp): Use xmalloc. - - * gtkutil.c (malloc_widget_value): Use xmalloc. - - * vm-limit.c [HAVE_GETRLIMIT]: Include sys/resource.h. - (check_memory_limits) [HAVE_GETRLIMIT]: Use getrlimit. - - * xmenu.c (digest_single_submenu): When pane_string is empty, - do initialize save_wv. - -2006-02-19 YAMAMOTO Mitsuharu - - * xdisp.c (update_menu_bar) [MAC_OS]: Don't set - w->update_mode_line if arg F is not the selected frame. - - * macmenu.c (popup_activated_flag, submenu_id) - (next_menubar_widget_id): Remove variables. - (initialize_frame_menubar): Remove function. - (pop_down_menu, mac_menu_show): Simplify save value. - (dispose_menus): New function. - (pop_down_menu, fill_menubar): Use it. - (fill_submenu): Remove function. All uses changed to fill_menu. - (add_menu_item): Remove args SUBMENU and FORCE_DISABLE. New arg - POS. Don't call SetMenuItemHierarchicalID here. - (fill_menu): Add arg SUBMENU_ID. Return submenu_id that is to be - used next. Call SetMenuItemHierarchicalID here. - (fill_menubar): Add arg DEEP_P. All uses changed. Clean up menu - objects if needed. Reuse existing menu bar titles if possible. - (set_frame_menubar): Don't clean up menu objects here. - -2006-02-18 Chong Yidong - - * window.c (window_min_size_1): Ensure room for the scroll bar and - fringes. - -2006-02-17 Romain Francoise - - * puresize.h (BASE_PURESIZE): Increment to 1200000. - -2006-02-17 Stefan Monnier - - * alloc.c (Fmake_symbol): Comment-out left-over assert from before the - addition of the BLOCK_INPUTs. - -2006-02-17 Juanma Barranquero - - * window.c (Fset_window_scroll_bars): Doc fix. - -2006-02-17 Kenichi Handa - - * xdisp.c (display_mode_element): Call display_string with correct - PREC arg (which must be a number of characters, not column width). - -2006-02-15 YAMAMOTO Mitsuharu - - * frame.c (x_get_arg): Clear out PARAM in ALIST also on Mac. - - * macfns.c (x_set_menu_bar_lines): Menu bar is always shown on Mac. - - * macmenu.c (set_frame_menubar): Don't call DrawMenuBar. - -2006-02-14 Richard M. Stallman - - * frame.c (x_get_arg): Clear out all occurrences of PARAM in ALIST. - - * m/ibms390x.h: New file. - -2006-02-14 Jan Dj,Ad(Brv - - * gtkutil.c (xg_tool_bar_detach_callback): Set show-arrow to the - value of x-gtk-whole-detached-tool-bar. - (xg_tool_bar_attach_callback): Set show-arrow to TRUE. - - * xfns.c (syms_of_xfns): New variable: x-gtk-whole-detached-tool-bar. - -2006-02-14 Jan Dj,Ad(Brv - - * xterm.c (x_x_to_emacs_modifiers): Make non-static. - - * xterm.h: Declare x_x_to_emacs_modifiers. - - * gtkutil.c (xg_tool_bar_button_cb): New function. - (xg_tool_bar_callback): Call x_x_to_emacs_modifiers to - store modifiers in event. - (update_frame_tool_bar): Connect button-release-event to - xg_tool_bar_button_cb. - -2006-02-13 Richard M. Stallman - - * .gdbinit (xwindow): Update the code to show the window box. - -2006-02-13 Jan Dj,Ad(Brv - - * xterm.c (note_mouse_movement): Check for NULL FRAME_X_OUTPUT (frame). - -2006-02-12 Richard M. Stallman - - * cmds.c (internal_self_insert): Handle weird auto-fill-function. - -2006-02-11 Eli Zaretskii - - * keyboard.c (Venable_disabled_menus_and_buttons): New variable. - (syms_of_keyboard): DEVFAR_LISP and initialize it. - (parse_tool_bar_item, parse_menu_item): If that variable is - non-nil, don't disable menu items and tool-bar buttons. - -2006-02-11 Juanma Barranquero - - * doc.c (Fsubstitute_command_keys): Doc fix. - -2006-02-10 Thien-Thi Nguyen - - * data.c (Findirect_function): Rewrite docstring. - Fix omission bug: Declare new arg NOERROR. - -2006-02-10 YAMAMOTO Mitsuharu - - * macfns.c (x_set_mouse_color): Don't call rif->define_frame_cursor - if window_desc is not set yet. - (Fx_create_frame): Remove variable x_frame_name. Apply 2005-12-07 - and 2006-01-26 changes for xfns.c. Call x_iconify_frame if frame - parameter `visibility' is `icon'. - (Fx_create_frame, x_create_tip_frame): Use "fontset-standard" - instead of "fontset-mac". - (Fx_focus_frame): New defun. - (syms_of_macfns): Defsubr it. - - * macterm.c (mac_define_frame_cursor): Don't change pointer shape - for unfocused frame. - (x_raise_frame): Call BringToFront instead of SelectWindow. - (x_lower_frame): Use NULL instead of nil. - (x_make_frame_visible): Don't call SelectWindow. - (XTread_socket): Increment handling_signal at the start, decrement - it at the end. - [USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): Use - CFPreferencesGetAppIntegerValue instead of Fmac_get_preference. - -2006-02-10 Kim F. Storm - - * data.c (Findirect_function): Add NOERROR arg. All callers changed - to pass Qnil for NOERROR. - - * keymap.c (current_minor_maps_error): Remove. - (current_minor_maps): Pass Qt for NOERROR to Findirect_function - instead of using internal_condition_case_1+current_minor_maps_error. - -2006-02-09 Jan Dj,Ad(Brv - - * xterm.c (handle_one_xevent): Must note mouse movement even for nil - frames for GTK, in that case it is the tool bar. This is so that - highlighted text get reset properly. - -2006-02-09 Juanma Barranquero - - * alloc.c (Fmake_bool_vector, Fpurecopy): Doc fixes. - -2006-02-08 Jan Dj,Ad(Brv - - * window.c (adjust_window_trailing_edge): Check that shrinking - does not set a window to size zero or less. - -2006-02-08 Miles Bader - - * editfns.c (Fconstrain_to_field): Use Fget_char_property instead - of Fget_text_property (other field functions work with overlays as - well as text-properties). - -2006-02-07 Kenichi Handa - - * dispextern.h (unibyte_display_via_language_environment): Extern it. - - * xterm.h (unibyte_display_via_language_environment): - * w32term.h (unibyte_display_via_language_environment): - * macterm.h (unibyte_display_via_language_environment): Delete extern. - -2006-02-07 Kenichi Handa - - * term.c (append_glyph): Refer to it->char_to_display instead of it->c. - (produce_glyphs): Set the character to print in - it->char_to_display. Handle unibyte-display-via-language-environment. - (produce_stretch_glyph): Set character to print in it->char_to_display. - -2006-02-06 Kenichi Handa - - * lread.c (openp): Initialize encoded_fn before GCPRO it. - -2006-02-05 Ken Raeburn - - * editfns.c (Fconstrain_to_field): Fix int/Lisp_Object mixup. - - * lisp.h (XPNTR) [!NO_UNION_TYPE && !HAVE_SHM && !DATA_SEG_BITS]: - Cast bitfield value to EMACS_INT, to suppress gcc warning. - - * xrdb.c (malloc, realloc, free) [emacs]: Undefine macros before - defining. - -2006-02-03 Kim F. Storm - - * xdisp.c: Cache last merged escape glyph face. - (last_escape_glyph_frame, last_escape_glyph_face_id) - (last_escape_glyph_merged_face_id): New variables. - (get_next_display_element): Use/update them. - (redisplay_internal): Reset them before redisplay. - - * xdisp.c (set_iterator_to_next): Optimize 2004-12-13 fix. - Only recheck faces after displaying ellipsis. - -2006-02-02 Kenichi Handa - - * coding.c (decode_composition_emacs_mule): Fix handling of - incorrect format data. - -2006-01-31 Jan Dj,Ad(Brv - - * gtkutil.c (update_frame_tool_bar): Use new tool bar function - gtk_toolbar_insert() so we can have tool bars of different sizes. - -2006-01-30 Luc Teirlinck - - * data.c (Flistp): Doc fix. - -2006-01-30 Juanma Barranquero - - * window.c (Fother_window, Fwindow_vscroll, Fset_window_vscroll): - Fix typos in docstrings. - -2006-01-28 Luc Teirlinck - - * data.c (Fcar, Fcdr): Add links to Elisp manual to the docstrings. - -2006-01-27 Chong Yidong - - * alloc.c (make_interval, allocate_string) - (allocate_string_data, make_float, Fcons, allocate_vectorlike) - (Fmake_symbol, allocate_misc): Use BLOCK_INPUT when accessing - global variables. - -2006-01-27 Eli Zaretskii - - * dired.c (DIRENTRY_NONEMPTY) [__CYGWIN__]: Don't use d_ino; use - the MSDOS definition. - -2006-01-26 Richard M. Stallman - - * alloc.c (check_pure_size): Make overflow message an "error message". - - * keymap.c (Fmap_keymap): Doc fix. - - * xfns.c (Fx_create_frame): Put all specified parms into f->param_alist - unless they were cleared out. - - * frame.c (x_get_arg): "Clear out" the parm in ALIST if found there. - -2006-01-26 L$,1 q(Brentey K,Aa(Broly - - * editfns.c (Fconstrain_to_field): Fix behaviour on field boundaries. - (find_field): Set before_field to after_field when pos is at BEGV. - (Fline_beginning_position, Fline_end_position): - Clarify confusing doc string. - - * cmds.c (Fbeginning_of_line, Fend_of_line): Clarify confusing doc - string. - -2006-01-26 Kenichi Handa - - * callproc.c (Fcall_process): GCPRO error_file. Encode infile, - current_dir, and error_file. On reporting an error, decode them - back. - -2006-01-24 Stefan Monnier - - * regex.c (IMMEDIATE_QUIT_CHECK): Use it with SYNC_INPUT as well. - (re_match_2_internal) : - Don't check for quit, since any loop will go through fail or jump. - -2006-01-24 Chong Yidong - - * alloc.c (allocate_string_data): Update next_free immediately, to - reduce risk of memory clobberage. - -2006-01-24 L$,1 q(Brentey K,Aa(Broly - - * xdisp.c (handle_invisible_prop): Set it->position to fix cursor - display when point moves across an ellipsis. If there are - adjacent invisible texts, don't lose the second one's ellipsis. - (x_produce_glyphs): Doc fix. - -2006-01-23 Stefan Monnier - - * xterm.c (x_catch_errors_unwind): Yet another int/Lisp_Object mixup. - -2006-01-23 Kim F. Storm - - * xdisp.c (handle_single_display_spec): Fix handling of space - property on char from string: set *position rather than - it->current.pos. - (produce_stretch_glyph): Reduce width of stretch glyphs so they - don't get wider than the window (unless truncate-lines is on). - -2006-01-22 Stefan Monnier - - * xterm.c: Avoid allocating Lisp data from a signal handler. - (x_error_message): New var to replace x_error_message_string. - (x_error_catcher, x_catch_errors, x_catch_errors_unwind) - (x_check_errors, x_had_errors_p, x_clear_errors, x_error_handler) - (syms_of_xterm): Use it instead of x_error_message_string. - - * alloc.c (lisp_align_free): Add an assertion. - (make_interval, allocate_string, make_float, Fcons, Fmake_symbol) - (allocate_misc): If ENABLE_CHECKING is on, check we're not called from - a signal handler. - -2006-01-21 Luc Teirlinck - - * dired.c (syms_of_dired) : Doc fix. - -2006-01-21 Romain Francoise - - * xdisp.c (get_window_cursor_type): Fix last change. - Update copyright year. - -2006-01-20 Eli Zaretskii - - * lread.c (Fload): Don't leak the file descriptor returned by - openp if we are going to signal an error. - - * w32.c (sys_close): If FD is outside [0..MAXDESC) limits, pass it - directly to _close. - (sys_dup): Protect against new_fd larger than fd_info[] can handle. - (sys_read): If FD is outside [0..MAXDESC) limits, pass it directly - to _read. - (sys_write): If FD is outside [0..MAXDESC) limits, pass it - directly to _write. - - * .gdbinit: Don't dereference Vsystem_type's Lisp_Symbol pointer - if it is NULL. - -2006-01-20 Kenichi Handa - - * puresize.h (BASE_PURESIZE): Increment to 1190000. - -2006-01-19 Chong Yidong - - * xdisp.c (get_window_cursor_type): Use cursor type specified by - the selected buffer for the echo area too. - -2006-01-19 Richard M. Stallman - - * keymap.c (Fmap_keymap): Doc fix. - - * s/irix6-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): New definitions. - - * keyboard.c (echo_char): Don't omit the space between first two - echoed chars. - - * minibuf.c (read_minibuf): Fix previous change. - -2006-01-19 Kenichi Handa - - * xterm.c (handle_one_xevent): Handle keysyms 0x1000000..0x10000FF. - -2006-01-17 Richard M. Stallman - - * frame.c (x_frame_get_and_record_arg): Don't record Qunbound - value in f->param_alist. - -2006-01-15 Andreas Schwab - - * search.c (Freplace_match): Use UPPERCASEP instead of !NOCASEP. - -2006-01-13 Richard M. Stallman - - * Makefile.in: Define new macro WINDOW_SUPPORT. - (lisp): Use it. - (SOME_MACHINE_LISP): Add conditionally loaded files. - -2006-01-12 YAMAMOTO Mitsuharu - - * macterm.c [USE_ATSUI] (atsu_get_text_layout_with_text_ptr) - [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Specify kATSLineUseQDRendering. - (XLoadQueryFont) [USE_ATSUI]: Display diacritical marks in - decomposed form. - - * process.c [HAVE_INTTYPES_H]: Include inttypes.h. - (ifflag_table): Fix typo (IFF_OACTIV -> IFF_OACTIVE). - (Fnetwork_interface_info): Use HAVE_STRUCT_IFREQ_IFR_NETMASK - macro. Also try member ifr_addr when getting netmask. - -2006-01-10 Stefan Monnier - - * fileio.c (Fexpand_file_name): Remove redundant tests. - Fix elimination of // so that it doesn't prevent elimination of an - immediately following /. or /.. - -2006-01-09 Jan Dj,Ad(Brv - - * gtkutil.c (xg_toggle_notify_cb): New function. - (xg_toggle_visibility_cb): Move setting of x_gtk_show_hidden_files to - xg_toggle_notify_cb. - (xg_get_file_with_chooser): Add callback to xg_toggle_notify_cb when - parameter value changes so the toggle button gets updated. - -2006-01-06 Nick Roberts - - * .gdbinit: Fix typo. - -2006-01-05 Eli Zaretskii - - * .gdbinit: Fix last change. - -2006-01-05 Kim F. Storm - - * process.c (Fmake_network_process): Use AF_INET instead of - AF_UNSPEC when AF_INET6 is not defined. - -2006-01-05 YAMAMOTO Mitsuharu - - * mac.c (mac_coerce_file_name_ptr, mac_coerce_file_name_desc): - Don't check that the other type is known file-related one. - - * macfns.c (Fx_server_version): Use gestaltSystemVersionMajor, - gestaltSystemVersionMinor, and gestaltSystemVersionBugFix on Mac - OS X 10.4 and later. - -2006-01-04 Jan Dj,Ad(Brv - - * gtkutil.c (xg_get_image_for_pixmap): If the image is from a file, - let GTK do all image processing. Importing Emacs own pixmaps to GTK - looks bad for inactive tool bar items with some Gnome themes. - -2006-01-04 Eli Zaretskii - - * .gdbinit: Avoid a warning message when x_error_quitter is not - compiled in. - - * process.c [WINDOWSNT]: Undef AF_INET6 to disable IPv6 support - for w32. - -2006-01-04 Kim F. Storm - - * process.c: Add IPv6 support. - (Qipv4, Qipv6): New vars. - (syms_of_process): Intern and staticpro them. - (Fformat_network_address): Handle 9 or 8 element vector as IPv6 address - with or without port number. Handle 4 element vector as IPv4 address - without port number. - (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) - (conv_lisp_to_sockaddr): Handle IPv6 addresses. - (Fmake_network_process): Use :family 'ipv4 and 'ipv6 to explicitly - request that address family only. :family nil or omitted means to - determine address family from the specified :host and :service. - (ifflag_table): Add missing OpenBSD IFF_ flags. - (server_accept_connection): Handle IPv6 addresses. - (init_process): Add (:family ipv4) and (:family ipv6) sub-features. - - * .gdbinit: Undo last change. Instead, look at Vsystem_type to - determine which breakpoints to set. - -2006-01-03 Stefan Monnier - - * keymap.c (describe_map_compare): Yet another int/Lisp_Object mixup. - - * window.h (Fwindow_minibuffer_p): Declare (for use in minibuf.c). - -2006-01-03 Romain Francoise - - * emacs.c (main): Update copyright year. - -2006-01-03 Ken Raeburn - - * callproc.c (delete_temp_file): Bind file-name-handler-alist to - nil for the call to internal_delete_file. - -2006-01-01 Ken Raeburn - - * callproc.c (Fcall_process_region): Bind file-name-handler-alist - to nil for the call to Fwrite_region. - -2005-12-31 Richard M. Stallman - - * minibuf.c (read_minibuf): Clear out all other minibuffer windows. - -2005-12-31 Eli Zaretskii - - * emacs.c (gdb_pvec_type): A dummy variable for GDB's sake. - -2005-12-30 Luc Teirlinck - - * textprop.c (set_text_properties): Reword description of return value. - Return Qnil if caller wants to remove all text properties from a - string and the string already has no intervals. - -2005-12-30 Stefan Monnier - - * term.c (visible_cursor): New boolean var. - (set_terminal_modes, tty_show_cursor): Use "vs" or "ve" depending on - visible_cursor. - (syms_of_term): Export the new var as "visible-cursor". - -2005-12-30 Eli Zaretskii - - * .gdbinit: Tell users not to worry about GDB warnings that some - functions do not exist in the binary. - -2005-12-30 Andreas Schwab - - * process.c (Fnetwork_interface_info): Correctly terminate the - loop over ifflag_table. - -2005-12-29 Richard M. Stallman - - * lread.c (readevalloop): Test for reading a whole buffer - before actually reading anything. Handle all cases, including - START = END = nil and an already-narrowed buffer. - Convert END to a marker if it is a number. - - * keymap.c (describe_map): Put sparse map elements into an array, - sort them, then output a sequence of identical bindings on one line. - (struct describe_map_elt): New data type. - (describe_map_compare): New function. - -2005-12-28 Jan Dj,Ad(Brv - - * gtkutil.c (xg_get_file_with_chooser): Change message shown - in file chooser. - -2005-12-27 Richard M. Stallman - - * lread.c (readevalloop): Set PT and ZV in the proper buffer, - not the current one. - - * minibuf.c (Fminibuffer_message): Doc fix. - (read_minibuf): Set current_buffer->enable_multibyte_characters sooner. - - * eval.c (do_autoload): Ignore elements of Vautoload_queue - where car is not symbol. - -2005-12-27 Kenichi Handa - - * charset.c (lisp_string_width): Check multibyteness of STRING. - -2005-12-27 Jan Dj,Ad(Brv - - * xfns.c (x_show_hidden_files): New variable. - (syms_of_xfns): Defvar it. - - * gtkutil.c (xg_toggle_visibility_cb): New function. - (xg_get_file_with_chooser): Add toggle hidden files and a message - to the new file chooser dialog. Show hidden files if - x_show_hidden_files is non-zero. - -2005-12-26 Richard M. Stallman - - * keyboard.h: Undo previous change. - - * Makefile.in (undo.o): Undo previous change. - - * undo.c: Undo previous change. - -2005-12-26 Luc Teirlinck - - * keyboard.h: extern last_point_position_window. - - * undo.c: include keyboard.h. - - * Makefile.in (undo.o): Depend on keyboard.h. - -2005-12-26 Richard M. Stallman - - * commands.h (last_point_position_window): Declare. - - * undo.c: Depend on window.h. - (record_point): Save old point from the correct window. - - * keyboard.c (last_point_position_window): New variable. - (command_loop_1): Set last_point_position_window. - (syms_of_keyboard): Init it. - - * Makefile.in (undo.o): Depend on window.h. - -2005-12-25 Richard M. Stallman - - * eval.c (un_autoload): Expect (0 . OFEATURES) in Vautoload_queue - to undo a `provide'. - - * fns.c (Fprovide): Store (0 . OFEATURES) in Vautoload_queue. - -2005-12-25 Giorgos Keramidas - - * m/amdx86-64.h [__FreeBSD__] (START_FILES, LIB_STANDARD): - define for FreeBSD on this platform. - -2005-12-24 YAMAMOTO Mitsuharu - - * macterm.h (TYPE_FILE_NAME): New define. - (posix_pathname_to_fsspec, fsspec_to_posix_pathname): Remove externs. - - * mac.c (posix_pathname_to_fsspec, fsspec_to_posix_pathname): - Add prototypes. Make static. - (mac_aedesc_to_lisp): Initialize err to noErr. - (mac_coerce_file_name_ptr, mac_coerce_file_name_desc) - (init_coercion_handler): New functions. - (Fmac_coerce_ae_data): Use coercion of Apple event data for - translation from/to file names. - - * macterm.c: Don't include sys/param.h. - (init_coercion_handler): Add extern. - [MAC_OS8] (main): Call init_coercion_handler. - (mac_initialize) [MAC_OSX]: Likewise. - [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Use coercion of - Apple event data for translation from/to file names. - - * macfns.c [TARGET_API_MAC_CARBON] (Fx_file_dialog): Likewise. - - * image.c [MAC_OS] (find_image_fsspec): Likewise. - -2005-12-23 Martin Rudalics - - * insdel.c (insert, insert_and_inherit, insert_before_markers) - (insert_before_markers_and_inherit): Make sure FROM is correct - when `after-change-functions' are called. - -2005-12-23 Jan Dj,Ad(Brv - - * xfns.c (Fx_uses_old_gtk_dialog): New function. - - * gtkutil.c (xg_uses_old_file_dialog): New function. - (xg_get_file_name): Use xg_uses_old_file_dialog. - - * gtkutil.h: Declare xg_uses_old_file_dialog. - -2005-12-22 Richard M. Stallman - - * xmenu.c (xmenu_show): Call inhibit_garbage_collection. - -2005-12-22 YAMAMOTO Mitsuharu - - * mac.c (Fmac_coerce_ae_data) [MAC_OSX]: Fix memory leak. - - * macgui.h (XCharStruct): Remove member `valid_p'. - (STORE_XCHARSTRUCT): Don't set member `valid_p'. - (XCharStructRow): New typedef. - (XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID): - New macros. - (struct MacFontStruct): Add member `bounds'. Remove member - `per_char'. All uses for QuichDraw Text fonts are changed to - `bounds.per_char'. ATSUI font bounds are represented as an array - `bounds.rows' of XCharStructRow's, each of which consists of a - bitmap of valid entries and an array of char bounds. - - * macterm.c (mac_per_char_metric): Add prototype. - (x_per_char_metric) [USE_CG_TEXT_DRAWING]: Remove prototype. - (mac_query_char_extents): New function. - (x_per_char_metric): Use it. - (XLoadQueryFont): Likewise. Consolidate min/max_bounds calculations. - [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): - Use mac_per_char_metric instead of x_per_char_metric. - (mac_text_extents_16): New function. - (mac_compute_glyph_string_overhangs): Use it. - (mac_unload_font): Free member `bounds' in struct MacFontStruct. - -2005-12-21 Stefan Monnier - - * minibuf.c (Fdisplay_completion_list): Use XCAR/XCDR. - (Fminibuffer_completion_help): Remove duplicates before display. - -2005-12-21 L$,1 q(Brentey K,Aa(Broly - - * print.c (print_preprocess): Don't lose print_depth levels while - iterating. - -2005-12-21 YAMAMOTO Mitsuharu - - * macmenu.c (Qmac_apple_event): Add extern. - (set_frame_menubar, mac_menu_show keymp_panes) - (single_keymap_panes, list_of_panes, list_of_item) - (single_menu_item): Add argument types to prototypes. - (mac_dialog_show) [HAVE_DIALOGS]: Likewise. - (struct skp): New struct (from xmenu.c). - (single_keymap_panes, single_menu_item, list_of_panes) - (list_of_item): Sync with xmenu.c. - (Fx_popup_menu, Fx_popup_dialog): Likewise. Don't get window from - POSITION if it is mac-apple-event event. - (menubar_selection_callback): Don't use menu_command_in_progress. - (set_frame_menubar): First parse all submenus, then make - widget_value trees from them. Don't allocate any widget_value - objects until we are done with the parsing. - (parse_single_submenu, digest_single_submenu): New functions. - (single_submenu): Function deleted, replaced by those two. - (install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't create - or dispose of EventHandlerUPP. Install hander to all submenus. - (mac_menu_show) [!HAVE_MULTILINGUAL_MENU]: Use ENCODE_MENU_STRING - instead of ENCODE_SYSTEM. - (free_frame_menubar, fill_submenu, fill_menu): Don't use NULL for - integer values. - [HAVE_DIALOGS] (mac_dialog_show): Sync with xdialog_show (in xmenu.c). - (add_menu_item) [TARGET_API_MAC_CARBON]: Use CFString functions to - format menu item string. Don't use NULL for integer value. - - * macterm.h (struct mac_output): Remove unused member - menu_command_in_progress. - -2005-12-20 Juri Linkov - - * xmenu.c (Fx_popup_menu): Set Vmenu_updating_frame to f if - position is non-nil, else set it to nil. - - * macmenu.c (Fx_popup_menu): Add `else' to set - Vmenu_updating_frame to nil only if position is nil. - - * w32menu.c (Fx_popup_menu): Add `else' to set - Vmenu_updating_frame to nil only if position is nil. - -2005-12-19 YAMAMOTO Mitsuharu - - * keyboard.c (make_lispy_event): Drag-and-drop items are now - stored in member `args' of struct input_event. - - * termhooks.h (struct input_event): Fix comment for DRAG_N_DROP_EVENT. - - * xselect.c (x_handle_dnd_message): Drag-and-drop items are now - stored in member `args' of struct input_event. - - * w32term.c (construct_drag_n_drop): Likewise. - - * macterm.c (mac_do_receive_drag): Likewise. - (x_use_underline_position_properties): Undo 2005-07-13 change. - (syms_of_macterm) : Likewise. - (mac_use_core_graphics, mac_wheel_button_is_mouse_2) - (mac_pass_command_to_system, mac_pass_control_to_system): - New boolean variables renamed from Lisp_Object ones - Vmac_use_core_graphics, Vmac_wheel_button_is_mouse_2, - Vmac_pass_command_to_system, and Vmac_pass_control_to_system. - All uses changed. - (syms_of_macterm): DEFVAR_BOOL them. Remove previous DEFVAR_LISPs. - Make them user options. - (mac_handle_command_event, mac_store_services_event): - Call create_apple_event_from_event_ref without 5th argument. - (backtranslate_modified_keycode): Mask off modifier keys that are - mapped to some Emacs modifiers before passing it to KeyTranslate. - (syms_of_macterm): Make variables `mac-emulate-three-button-mouse', - `mac-wheel-button-is-mouse-2', and `mac-*-modifier' user options. - Fix docstrings of `mac-*-modifier'. - - * mac.c (create_apple_event_from_event_ref): Remove arg `types'. - (do_applescript): Change argument types to Lisp_Object. - All uses changed. - - * macterm.h (create_apple_event_from_event_ref): Remove 5th - argument from extern. - -2005-12-18 Dan Nicolaescu - - * xfns.c (Fx_backspace_delete_keys_p): In case we cannot determine - the answer, return `lambda', not nil. - -2005-12-17 Eli Zaretskii - - * makefile.w32-in (bootstrap-temacs): Warn that parts of commands - enclosed in $(ARGQUOTE)s should not be split between two lines, as - that will break with GNU Make >3.80, when sh.exe is used and - arg quoting is with '..'. - -2005-12-17 Chong Yidong - - * print.c (print_preprocess): Just signal an error if print_depth - is exceeded. - -2005-12-17 Eli Zaretskii - - * .gdbinit: Set a breakpoint on w32_abort. - -2005-12-16 Juri Linkov - - * minibuf.c (Fminibuffer_completion_contents): New Lisp function - created from minibuffer_completion_contents. - (minibuffer_completion_contents): Remove. - (do_completion, Fminibuffer_complete_word) - (Fminibuffer_completion_help): Replace minibuffer_completion_contents - with Fminibuffer_completion_contents. - (syms_of_minibuf): Add Sminibuffer_completion_contents. - (Fdisplay_completion_list): Doc fix. - (display_completion_list_1): Use `nil' for second arg of - `Fdisplay_completion_list'. - -2005-12-14 Jan Dj,Ad(Brv - - * xfns.c (compute_tip_xy): Handle negative dx and dy. - - * w32fns.c (compute_tip_xy): Ditto. - - * macfns.c (compute_tip_xy): Ditto. - -2005-12-14 Chong Yidong - - * print.c (print_preprocess): Go to a deeper print_depth to avoid - print_object loop. - -2005-12-14 Kyotaro HORIGUCHI (tiny change) - - * coding.c (code_convert_region_unwind): GCPRO arg. - -2005-12-12 Jan Dj,Ad(Brv - - * xfns.c (compute_tip_xy): Calculate root_y the same way as root_x, - i.e. dy is offset from top of frame instead of bottom. - - * macfns.c (compute_tip_xy): Ditto. - - * w32fns.c (compute_tip_xy): Ditto. - - * gtkutil.c (SSDATA): New macro to remove compiler warnings. - (xg_get_image_for_pixmap, xg_create_frame_widgets) - (xg_get_file_with_chooser): Use SSDATA instead of SDATA. - - * xmenu.c (menubar_selection_callback): Do nothing if the callback - is for an unselected radio menu item. - -2005-12-11 Richard M. Stallman - - * xdisp.c (syms_of_xdisp) : Doc fix. - - * lisp.h [! NO_UNION_TYPE] (EQ): Use == so args are computed just once. - - * keymap.c (Fset_keymap_parent, store_in_keymap): Use CHECK_IMPURE. - (Flookup_key): Doc fix. - (syms_of_keymap) : Doc fix. - - * fns.c (Frequire): Treat evaluating from a source file - like loading the file. - - * floatfns.c (Flog): Doc fix. - - * fileio.c (Finsert_file_contents): Set Vdeactivate_mark - when we change the buffer. - -2005-12-11 Juri Linkov - - * minibuf.c (display_completion_list_1): - Call `minibuffer_completion_contents' instead of using `nil' as - second arg of `Fdisplay_completion_list'. - (keys_of_minibuf): Unbind SPC in - Vminibuffer_local_filename_completion_map (see also related - change on 2005-12-06). - -2005-12-11 YAMAMOTO Mitsuharu - - * emacs.c (main) [MAC_OS8]: Undo previous change. - - * macselect.c (syms_of_macselect) : - Initialize to nil. Keymap is now created in lisp/term/mac-win.el. - -2005-12-10 YAMAMOTO Mitsuharu - - * Makefile.in (macselect.o): Depend on keymap.h. - - * emacs.c (main) [MAC_OS8]: Call syms_of_keymap before - syms_of_macselect. - - * image.c (init_image) [MAC_OS]: Don't call EnterMovies. - [!HAVE_GIF && MAC_OS] (gif_load): Call EnterMovies. - - * keyboard.c (Qmac_apple_event) [MAC_OS]: New variable. - (syms_of_keyboard) [MAC_OS]: Initialize it. - (make_lispy_event) [MAC_OS]: Build lisp event for MAC_APPLE_EVENT. - - * mac.c (Qundecoded_file_name): New variable. - (syms_of_mac): Initialize it. - (mac_aelist_to_lisp, mac_aedesc_to_lisp): New functions. - [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): New fun. - (Fmac_coerce_ae_data): New defun. - (syms_of_mac): Defsubr it. - - * macselect.c: Include keymap.h. - (mac_ready_for_apple_events): New variable. - (Vmac_apple_event_map, Qmac_apple_event_class) - (Qmac_apple_event_id): New variables. - (syms_of_macselect): Initialize them. - (Qundefined, mac_store_apple_event): Add externs. - (struct apple_event_binding): New struct. - (find_event_binding_fun, find_event_binding) - (mac_find_apple_event_spec, defer_apple_events) - (mac_handle_apple_event, init_apple_event_handler) - (copy_scrap_flavor_data): New functions. - (Fmac_process_deferred_apple_events): New defun. - (syms_of_macselect): Defsubr it. - (mac_store_services_event): Fix extern. - (mac_handle_service_event): Don't allocate Lisp objects during - asynchronous input processing. Use mac_store_services_event - instead of mac_store_application_menu_event. - - * macterm.c (Qmac_ready_for_drag_n_drop, Qapplication, Qabout) - (Qpreferences): Remove variables. - (syms_of_macterm) : Don't initialize them. - (Qhicommand) [USE_CARBON_EVENTS]: New variable. - (syms_of_macterm) [USE_CARBON_EVENTS]: Initialize it. - (init_required_apple_events, do_ae_open_application) - (do_ae_print_documents, do_ae_open_documents) - (do_ae_quit_application): Remove functions and prototypes. - (mac_ready_for_apple_events, Qundefined, init_apple_event_handler) - (mac_find_apple_event_spec): Add externs. - (mac_store_application_menu_event): Remove function. - (mac_store_apple_event, mac_make_lispy_event_code): New functions. - (mac_handle_command_event): Create Apple event from Carbon event. - Use mac_store_apple_event instead of mac_store_application_menu_event. - [MAC_OSX] (mac_store_services_event): Likewise. - (struct SelectionRange, SelectionRange): Remove struct and typedef. - [MAC_OS8] (main): Call init_apple_event_handler instead of - init_required_apple_events. - (mac_initialize) [MAC_OSX]: Likewise. - [!USE_CARBON_EVENTS] (mac_wait_next_event): - Use mac_ready_for_apple_events instead of Qmac_ready_for_drag_n_drop. - - * macterm.h (mac_make_lispy_event_code, mac_aedesc_to_lisp): - Add externs. - (create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: Likewise. - (Fmac_get_preference): Add EXFUN. - - * termhooks.h (enum event_kind) [MAC_OS]: Add new MAC_APPLE_EVENT - event. - -2005-12-09 Richard M. Stallman - - * xfns.c (Fx_create_frame): Reinstate previous change. - -2005-12-09 Eli Zaretskii - - * w32fns.c (w32_abort) [__GNUC__]: Add instructions for attaching - GDB to the abort dialog. - -2005-12-09 Kyotaro HORIGUCHI (tiny change) - - * indent.c (Fvertical_motion): Force move if starting on - stretch glyph. - -2005-12-08 Richard M. Stallman - - * lread.c (read_escape) <\s>: Don't treat strings specially. - - * xfns.c (Fx_create_frame): Comment out previous change. - -2005-12-07 L$,1 q(Brentey K,Aa(Broly - - * xfns.c (Fx_create_frame): Initialize Vdefault_minibuffer_frame, - when needed. - -2005-12-06 Stefan Monnier - - * minibuf.c (keys_of_minibuf): Just unbind SPC in - Vminibuffer_local_filename_completion_map rather than forcing it - explicitly to the same binding as the global map. - -2005-12-06 Ken Raeburn - - * buffer.c (Fkill_buffer): Avoid dangerous side effects in NILP args. - * bytecode.c (Fbyte_code): Likewise. - * fileio.c (internal_delete_file, Fread_file_name_internal): Likewise. - * minibuf.c (Fminibuffer_complete_and_exit): Likewise. - * undo.c (truncate_undo_list): Likewise. - -2005-12-05 Richard M. Stallman - - * window.c (enlarge_window): Eliminate arg preserve_before. - Assume it is 0. All callers changed. - (Fenlarge_window, Fshrink_window): Likewise. - -2005-12-02 Eli Zaretskii - - * w32fns.c (compute_tip_xy): Put tip above pointer if it doesn't - fit below. - -2005-12-02 Jan Dj,Ad(Brv - - * xterm.h: Add prototype for xg_set_icon_from_xpm_data. - - * xfns.c (x_real_positions): int ign => unsigned int. - (xg_set_icon_from_xpm_data): Remove unused variable err. - (x_set_name_internal, Fx_create_frame, xg_set_icon): Add cast - to remove compiler warning. - (compute_tip_xy): Put tip above pointer if it doesn't fit below. - -2005-12-02 David Reitter - - * minibuf.c (Fcompleting_read): If Vminibuffer_completing_file_name is - non-nil, use the new keymaps Vminibuffer_local_filename_completion_map - and Vminibuffer_local_must_match_filename_map keymaps. - (keys_of_minibuf): Bind SPC in the new file-name completion keymaps. - - * keymap.c (Vminibuffer_local_filename_completion_map) - (Vminibuffer_local_must_match_filename_map): New variables. - (syms_of_keymap): DEFVAR_LISP them, initialize them, and set their - parent to be Vminibuffer_local_completion_map and - Vminibuffer_local_must_match_map, respectively. - - * commands.h (Vminibuffer_local_filename_completion_map) - (Vminibuffer_local_must_match_filename_map): Declare the new keymaps. - -2005-12-01 Stefan Monnier - - * window.c (Fset_window_configuration): Don't accidentally copy the - window-point of one window to another. - -2005-11-30 L$,1 q(Brentey K,Aa(Broly - - * buffer.c (Fpop_to_buffer): Remove superfluous call to record_buffer. - -2005-11-30 Kim F. Storm - - * alloc.c: Include fcntl.h. Define O_WRONLY if not defined. - (valid_lisp_object_p) [!GC_MARK_STACK]: Validate pointer by - passing it to `emacs_write'. - -2005-11-29 Ari Roponen (tiny change) - - * atimer.c (stop_other_atimers): Fix loop to correctly compute `prev'. - -2005-11-27 Richard M. Stallman - - * window.c (adjust_window_trailing_edge): New function. - (Fadjust_window_trailing_edge): New function. - (syms_of_window): Defsubr it. - (window_deletion_count): New variable. - (delete_window): Update window_deletion_count. - -2005-11-26 Eli Zaretskii - - * minibuf.c (syms_of_minibuf): Mention the extension of - `completion-auto-help's meaning by complete.el. - -2005-11-26 Henrik Enberg - - * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): - Handle :inherit property as a lisp expression. - -2005-11-24 YAMAMOTO Mitsuharu - - * macterm.c (Qcontrol): Rename from Qctrl. All uses changed. - (syms_of_macterm): Staticpro Qcontrol, Qmeta, Qalt, Qhyper, - Qsuper, and Qmodifier_value. - (Vmac_control_modifier, Vmac_option_modifier) - (Vmac_command_modifier, Vmac_function_modifier) - (Vmac_emulate_three_button_mouse, Vmac_wheel_button_is_mouse_2) - (Vmac_pass_command_to_system, Vmac_pass_control_to_system) - (Vmac_charset_info_alist): Doc fixes. - -2005-11-23 YAMAMOTO Mitsuharu - - * emacs.c (main) [MAC_OSX]: Change working directory to home - directory if `-psn_*' option is specified. - - * mac.c (DECODE_UTF_8): Remove macro. - [TARGET_API_MAC_CARBON] (cfstring_to_lisp_nodecode): New function - created from cfstring_to_lisp. - [TARGET_API_MAC_CARBON] (cfstring_to_lisp): Use it. - (xrm_get_preference_database) [TARGET_API_MAC_CARBON]: Likewise. - - * macterm.h (cfstring_to_lisp_nodecode) [TARGET_API_MAC_CARBON]: - Add prototype. - -2005-11-21 Ken Raeburn - - * keymap.c (shadow_lookup): Use make_number to pass a number to - Fsubstring. - -2005-11-21 Juri Linkov - - * puresize.h (BASE_PURESIZE): Increment to 1180000. - -2005-11-20 Chong Yidong - - * xfaces.c (Finternal_set_lisp_face_attribute): - Use :ignore-defface for new frame defaults when `unspecified' is - supplied. - (Finternal_get_lisp_face_attribute): Hide :ignore-defface. - (merge_face_vectors): Don't do :ignore-defface overwriting here. - (Finternal_merge_in_global_face): Do it here. - -2005-11-20 Juri Linkov - - * charset.c (invalid_character): Use Lisp-readable syntax - for octal and hex. Reorder decimal, octal and hex values. - -2005-11-20 Nick Roberts - - * lisp.h: Use typedef when Lisp_Object is EMACS_INT so that - this type is recognised when debugging. - -2005-11-19 Andreas Schwab - - * .gdbinit (nextcons, xcdr, xfloat): Update for changes in - Lisp_Cons and Lisp_Float. - -2005-11-19 YAMAMOTO Mitsuharu - - * macterm.c [USE_CG_TEXT_DRAWING] (cg_text_anti_aliasing_threshold): - New variable. - [USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): New fun. - (init_font_name_table) [USE_ATSUI && USE_CG_TEXT_DRAWING]: Use it. - [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): Don't do antialiasing if - font size is smaller than or equal to cg_text_anti_aliasing_threshold. - -2005-11-17 Chong Yidong - - * image.c (x_create_bitmap_from_xpm_data): Free attributes on fail. - - * xfaces.c (Qignore_defface): New variable. - (syms_of_xfaces): Provide `:ignore-defface'. - (IGNORE_DEFFACE_P): New macro. - (check_lface_attrs, lface_fully_specified_p) - (Finternal_set_lisp_face_attribute) - (Fface_attribute_relative_p, Fmerge_face_attribute): - Handle Qignore_defface as a possible value. - (merge_face_vectors): The merged face is `unspecified' if the - mergee specifies `:ignore-defface'. - -2005-11-16 Stefan Monnier - - * lread.c (readevalloop): Add missing GCPROs. - -2005-11-16 Chong Yidong - - * xfns.c (xg_set_icon_from_xpm_data): New function. - - * gnu.h (gnu_xpm_bits): Rename from gnu_bits. - (gnu_xbm_bits): Rename from gnu_bits (xbm version). - - * xterm.c (x_bitmap_icon): Use the xpm if available. - - * image.c (x_create_bitmap_from_xpm_data): New function. - (x_create_bitmap_from_xpm_data): Initialize XpmAttributes. - -2005-11-15 Luc Teirlinck - - * Makefile.in (lisp, shortlisp): Add rfn-eshadow. - -2005-11-16 Nick Roberts - - * .gdbinit: Make SIGTSTP work like SIGINT normally does. - -2005-11-15 Andreas Schwab - - * lisp.h (struct Lisp_Cons): Make cdr a union. - (XCDR_AS_LVALUE): Adjust. - (struct Lisp_Float): Make data a union. - (XFLOAT_DATA): Adjust. - - * alloc.c (free_float): Make free list chaining aliasing-safe. - (make_float): Likewise. - (free_cons): Likewise. - (Fcons): Likewise. - (check_cons_list): Likewise. - (Fmake_symbol): Likewise. - (allocate_misc): Likewise. - (free_misc): Likewise. - (gc_sweep): Likewise. - -2005-11-15 YAMAMOTO Mitsuharu - - * mac.c (HASHKEY_QUERY_CACHE): New define. - (xrm_create_database, xrm_q_put_resource): Empty query cache. - (xrm_get_resource): Use query cache. - - * image.c (init_image) [MAC_OS]: Don't call EnterMovies if - inhibit_window_system is set. - -2005-11-13 YAMAMOTO Mitsuharu - - * macgui.h (USE_CG_TEXT_DRAWING): New define. - (struct MacFontStruct) [USE_CG_TEXT_DRAWING]: New members cg_font - and cg_glyphs. - - * macterm.c [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): New function. - (x_draw_glyph_string_foreground) [USE_CG_TEXT_DRAWING]: Use it. - (XLoadQueryFont) [USE_CG_TEXT_DRAWING]: Set members cg_font and - cg_glyphs in struct MacFontStruct if synthesized bold or italic is - not used and font substitution never occurs for ASCII and Latin-1 - characters. - (XLoadQueryFont): Maximum and minimum metrics are now those among - ASCII characters. - (XLoadQueryFont) [!MAC_OS8 || USE_ATSUI]: Apply WebKit-style - height adjustments for Courier, Helvetica, and Times. - - * s/darwin.h (LIBS_CARBON) [!HAVE_CARBON]: Remove `-framework Carbon'. - -2005-11-11 David Reitter - - * macterm.c (syms_of_macterm): Remove macCtrlKey, macShiftKey, - macMetaKey, macAltKey. Introduce Qctrl, Qmeta, - Vmac_control_modifier / mac-control-modifier, - Vmac_option_modifier / mac-option-modifier, - Vmac_command_modifier / mac-command-modifier. - (mac_to_emacs_modifiers): Use the new style modifier - variables. Return UInt32 (modifiers are longs now.) - (backtranslate_modified_keycode): New function (refactoring). - (XTread_socket): Use new modifier variables and refactored function. - (mac_determine_quit_char_modifiers): Remove macMetaKey (there is - no dedicated meta key. Not in use anyway.) - (convert_fn_keycode): Map Fn-keys to their original keycode - using a table (english keyboard only). - -2005-11-11 Kim F. Storm - - * .gdbinit (pitx): Fix output format if n_overlay_strings > 0. - Add post hook to "backtrace" to always dump lisp call stack to - increase chance of people sending it to us when reporting bugs. - - * doc.c (Fsubstitute_command_keys): Doc fix. - - * dispextern.h (struct it): New member ignore_overlay_strings_at_pos_p. - - * xdisp.c (handle_stop): Skip overlay string handling if - ignore_overlay_strings_at_pos_p is set. - (set_iterator_to_next): At end of display vector, set - ignore_overlay_strings_at_pos_p if dpvec came from an overlay - string, so we skip those overlay strings at current pos. - -2005-11-10 Lars Hansen - - * fileio.c (file-regular-p): Doc fix. - -2005-11-10 Kim F. Storm - - * alloc.c (valid_lisp_object_p): New function to validate that - an object is really a valid Lisp_Object. - - * lisp.h (valid_lisp_object_p): Add prototype. - - * print.c (safe_debug_print): New function to be called from gdb - to print Lisp objects; use valid_lisp_object_p to avoid crashing - if user tries to print something which is not a Lisp object. - - * .gdbinit (pp, pp1): Use safe_debug_print. - (pv, pv1): New commands to print value of a lisp variable. - -2005-11-10 Nick Roberts - - * .gdbinit (pp1): New user-defined function. - -2005-11-09 YAMAMOTO Mitsuharu - - * image.c [MAC_OSX] (image_load_quartz2d): Fix memory leak. - - * mac.c [MAC_OSX] (init_mac_osx_environment): Reinitialize locale - related variables for dumped executable. - - * unexmacosx.c (unexec_write_zero): New function. - (copy_data_segment): Clear uninitialized local variables in - statically linked libraries. - - * s/darwin.h (C_SWITCH_SYSTEM): Remove -fno-common. - -2005-11-09 Juri Linkov - - * keymap.c (shadow_lookup): If Flookup_key returns a number, - call it again with a sub-key-sequence, and if its return value - is non-nil (sub-key is bound), return nil. - -2005-11-08 Kim F. Storm - - * process.c (Fsignal_process): Recognize signal names with and - without SIG prefix, e.g. SIGHUP and HUP. - - * search.c (search_buffer): No need to initialize base_pat. - -2005-11-04 Stefan Monnier - - * window.c (Fget_lru_window, Fget_largest_window, window_loop): - Don't abuse the `mini' arg. Use the `obj' arg instead. - -2005-11-04 Kim F. Storm - - * xdisp.c (show_mouse_face): Clear mouse face to eol. - -2005-11-03 Dan Nicolaescu - - * Makefile.in (lisp, shortlisp): Add emacs-lisp/syntax.elc, - font-lock.elc and jit-lock.elc. - -2005-11-03 Richard M. Stallman - - * window.c (Fenlarge_window): Rename SIDE to HORIZONTAL. - (enlarge_window): Rename WIDTHFLAG to HORIZ_FLAG. - (CURBEG, CURSIZE): Use HORIZ_FLAG instead of WIDTHFLAG. - - * sheap.c (STATIC_HEAP_SIZE): Increment both definitions. - - * alloc.c (refill_memory_reserve): Move decl out of conditionals. - -2005-11-03 Stefan Monnier - - * window.c (Fdisplay_buffer): Fix last change to not use - a dedicated window. - -2005-11-01 Kim F. Storm - - * fringe.c (update_window_fringes): Undo 2005-10-27 change. - Instead, rotate the bottom angle bitmap 180 degrees to indicate - that the bottom row does not end in a newline. - -2005-11-01 Andreas Schwab - - * unexelf.c (unexec): Handle .plt section in BSS segment. - -2005-11-01 Stefan Monnier - - * lread.c (readevalloop): Yet another int/Lisp_Object mixup (YAILOM). - - * window.c (window_loop): For LRU and LARGEST, let the `mini' argument - determine whether to consider dedicated windows as well. - (Fget_lru_window, Fget_largest_window): Add `dedicated' argument. - (Fdisplay_buffer): Do consider dedicated windows in those cases where - we will split the window rather than reuse it. - Don't try to use windows on other displays. - -2005-10-31 Dan Nicolaescu - - * puresize.h (BASE_PURESIZE): Increment to 1170000. - -2005-10-31 Romain Francoise - - * macfns.c: Update copyright year. - * m/gould.h: Likewise. - -2005-10-30 Kim F. Storm - - * xdisp.c (display_line): Restore it->current_x and call - extend_face_to_end_of_line when last glyph doesn't fit on line. - (set_glyph_string_background_width): Remove specific tests here - to see if face background should extend to end of line. Simplify. - -2005-10-30 Richard M. Stallman - - * alloc.c (BYTES_USED): Use uordblks, not arena. - (bytes_used_when_reconsidered): New variable. - (emacs_blocked_free): Set that. - -2005-10-29 Chong Yidong - - * alloc.c (emacs_blocked_free): Fix typo. - -2005-10-29 Richard M. Stallman - - * data.c (Fmake_variable_frame_local): Doc fix. - - * xdisp.c (handle_fontified_prop): Do nothing if memory full. - (format_mode_line_unwind_data): New arg SAVE_PROPTRANS - controls whether to save and restore mode_line_proptrans_alist. - Callers changed. - (unwind_format_mode_line): Work with that feature. - (redisplay_internal): Don't call prepare_menu_bars if memory full. - (move_elt_to_front): New function. - (display_mode_element): Use move_elt_to_front. - Don't bother munging text props on a null string. - Delete obsolete elts from mode_line_proptrans_alist. - (decode_mode_spec): Test Vmemory_full, not spare_memory. - (Fformat_mode_line): Clear mode_line_proptrans_alist after saving. - - * lisp.h (memory_full_cons_threshold): Declare. - (internal_lisp_condition_case): Declare. - - * alloc.c (syms_of_alloc) : Doc fix. - (Fmemory_full_p): Function deleted. - (syms_of_alloc): Don't defsubr it. - (memory_full_cons_threshold): New variable. - (spare_memory): Now a vector of 7 elts. - (buffer_memory_full): Don't set Vmemory_full here. - (xfree): Don't try to refill here. - (emacs_blocked_free): Record BYTES_USED in local var. - (memory_full): Now free all the slots in spare_memory. - (refill_memory_reserve): Allocate each slot in spare_memory. - (init_alloc_once): Call refill_memory_reserve. - - * keyboard.c (command_loop_1): Don't set Vmemory_full here. - - * eval.c (internal_lisp_condition_case): New function. - (Fcondition_case): Use internal_lisp_condition_case. - (Feval): Test Vmemory_full and memory_full_cons_threshold. - (Ffuncall): Likewise. - - * bytecode.c (Fbyte_code): Use internal_lisp_condition_case. - -2005-10-29 Stefan Monnier - - * syntax.c (Fparse_partial_sexp): Fix docstring. - -2005-10-28 Romain Francoise - - * puresize.h (BASE_PURESIZE): Increment to 1130000. - -2005-10-28 Richard M. Stallman - - * xfns.c (syms_of_xfns): Provide `x' as feature. - - * xdisp.c (decode_mode_spec): Define %e to indicate memory full. - - * editfns.c (Fformat): Don't include string padding - between info[n].start and info[n].end. - - * alloc.c (spare_memory): No longer static. - (xfree) [!SYSTEM_MALLOC]: Call refill_memory_reserve. - - * puresize.h (BASE_PURESIZE): Increment to 1120000. - -2005-10-27 Chong Yidong - - * data.c (Fmake_variable_frame_local): Add clarification to docstring. - - * fringe.c (update_window_fringes): Handle case where buffer ends - with a newline. - -2005-10-27 Kenichi Handa - - * coding.h (DECODE_SYSTEM): Fix argument name; name->str. - -2005-10-24 Kenichi Handa - - * charset.h (charset_mule_unicode_0100_24ff) - (charset_mule_unicode_2500_33ff, charset_mule_unicode_e000_ffff): - Extern them. - - * charset.c (charset_mule_unicode_0100_24ff) - (charset_mule_unicode_2500_33ff, charset_mule_unicode_e000_ffff): - New variables. - (Fsetup_special_charsets): Initialize them. - - * xterm.c (handle_one_xevent): Handle keysyms directly mapped to - supported Unicode characters. - -2005-10-25 Jason Rumney - - * w32fns.c (w32_to_x_font): Avoid forcing font widths. - -2005-10-25 YAMAMOTO Mitsuharu - - * image.c [MAC_OS] (image_load_qt_1): Check image size. - Use GraphicsImportGetImageDescription instead of - GraphicsImportGetNaturalBounds. - [MAC_OSX] (image_load_quartz2d): Check image size. - [MAC_OS] (xpm_load_image): Likewise. - - * macterm.c (last_mouse_glyph_frame): New var. - (note_mouse_movement): Say mouse moved if current frame differs - from last_mouse_glyph_frame, and update last_mouse_glyph_frame. - (XTmouse_position): Set last_mouse_glyph_frame. - (XTread_socket): Clear last_mouse_glyph_frame on mouse up/down event. - (mac_draw_string_common) [USE_ATSUI && WORDS_BIG_ENDIAN]: Fix typo. - Use EndianU16_BtoN. - (mac_draw_string_common) [MAC_OSX]: Don't use ATSUClearLayoutControls. - (x_per_char_metric, XLoadQueryFont) - [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Use device origins to get - glyph bounds. - (mac_to_x_fontname, mac_do_list_fonts) - (mac_initialize_display_info): Change screen resolutions to 72dpi. - -2005-10-25 Masatake YAMATO - - * minibuf.c (Fdisplay_completion_list): Small doc fix. - -2005-10-24 Kim F. Storm - - * xterm.c: Undo 2005-10-23 change. - (last_mouse_glyph_frame): New var. - (note_mouse_movement): Say mouse moved if current frame differs - from last_mouse_glyph_frame, and update last_mouse_glyph_frame. - (XTmouse_position): Set last_mouse_glyph_frame. - (handle_one_xevent): Clear last_mouse_glyph_frame [instead of - last_mouse_glyph] on mouse up/down event. - - * editfns.c (Fcompare_buffer_substrings): Fix last change. - -2005-10-23 Stefan Monnier - - * editfns.c (Fcompare_buffer_substrings): Handle multibyte chars. - -2005-10-23 Jan Dj,Ad(Brv - - * xterm.c (note_mouse_movement): Always call note_mouse_highlight - so tool tips don't interfere with press on tool bar button. - -2005-10-23 Richard M. Stallman - - * casetab.c (Fset_case_table): Doc fix. - - * lread.c (build_load_history): Replace STREAM arg with ENTIRE. - (readevalloop): Compute ENTIRE properly. - (syms_of_lread) : Doc fix. - -2005-10-21 Richard M. Stallman - - * lread.c (Fload): Simplify gcpro structure. - Gcpro FOUND as well as FILE, but not EFOUND. - Unless preloading, record FOUND instead of FILE in Vload_history. - Rename repeat local FILE to MSG_FILE. - (syms_of_lread) : Doc fix. - -2005-10-21 Kenichi Handa - - * search.c (boyer_moore): Add parens to fix and/or precedence bug. - -2005-10-20 Kim F. Storm - - * buffer.c (clone_per_buffer_values): Remove unused var tem. - (init_buffer): Remove unused vars dotstat, pwdstat. - - * ccl.c (check_ccl_update): Remove unused var vp. - - * fileio.c (auto_save_error): Call SAFE_FREE. - - * fns.c (Fchar_table_range): Remove unused var i. - - * minibuf.c (display_completion_list_1): New wrapper function - for Fdisplay_completion_list. - (Fminibuffer_completion_help): Use it. - - * term.c (encode_terminal_code): Remove unused var src_start. - - * window.c (Fwindow_tree): Remove unused var alist. - - * xterm.c (x_calc_absolute_position): Remove unused vars win_x, win_y. - -2005-10-20 Aubrey Jaffer (tiny change) - - * unexelf.c (unexec): Fix calls to `fatal' with less than 3 arguments. - -2005-10-20 Olli Savia (tiny change) - - * syssignal.h [__Lynx__]: Undef SIGPOLL along with SIGIO. - -2005-10-20 Andreas Schwab - - * minibuf.c (Fdisplay_completion_list): Doc fix. - -2005-10-19 Kim F. Storm - - * image.c (check_image_size): Handle integer Vmax_image_size value - directly as max pixel value. Use default frame size for null frame. - (syms_of_image) : Describe integer value. - -2005-10-19 Romain Francoise - - * emacs.c (main): Update copyright year. - -2005-10-18 Chong Yidong - - * image.c (Vmax_image_size): New variable. - (check_image_size): New function. - (xbm_read_bitmap_data, pbm_load, png_load, jpeg_load, tiff_load) - (gif_load, gs_load): Use it. - (lookup_image): Try loading again if previous load failed. - (xbm_read_bitmap_data): Add a new argument, a pointer to the frame - to display in, NULL if none. - (xbm_load_image, xbm_file_p): Pass xbm_read_bitmap_data the new - argument. - -2005-10-18 Richard M. Stallman - - * search.c (Fstring_match): Doc fix. - -2005-10-18 YAMAMOTO Mitsuharu - - * macterm.c (note_mouse_movement): Use PtInRect. - (XTread_socket): Also ignore mouse motion just before a button - release event. Don't process button release event when mouse is - not grabbed. - -2005-10-16 Masatake YAMATO - - * minibuf.c (Fdisplay_completion_list): Add new optional - argument COMMON_SUBSTRING. Bind `completion-common-substring' - to the optional argument during running `completion-setup-hook'. - -2005-10-16 YAMAMOTO Mitsuharu - - * mac.c [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp): - Allow nil as argument. - [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Regard nil - for encoding arguments as UTF-16 in native byte order, no BOM. - - * macfns.c (Fx_create_frame): Add debugging code. - (Fx_show_tip): Set frame pixel width and height. - - * macterm.c (MAC_WINDOW_NORMAL_GC): Remove macro. - (FRAME_NORMAL_GC): New macro. - (mac_draw_line, mac_clear_area, mac_clear_window) - (mac_fill_rectangle, mac_draw_string, mac_draw_string_16) - (mac_draw_image_string, mac_draw_image_string_16): Rename from - XDrawLine, XClearArea, XClearWindow, XFillRectangle, XDrawString, - XDrawString16, XDrawImageString, and XDrawImageString16, respectively. - All uses changed. - (mac_draw_line, mac_erase_rectangle, mac_clear_area) - (mac_clear_window, mac_draw_bitmap, mac_draw_rectangle) - (mac_invert_rectangle, mac_draw_string_common, mac_draw_string) - (mac_draw_string_16, mac_draw_image_string) - (mac_draw_image_string_16, mac_copy_area, mac_copy_area_with_mask) - (mac_scroll_area): Drawing functions now take frame as destination. - All uses changed. - (mac_draw_string_common): Get port height with FRAME_PIXEL_HEIGHT. - (x_draw_fringe_bitmap): Set clipping area in face->gc. - - * macterm.h (mac_clear_area): Add extern. - -2005-10-14 YAMAMOTO Mitsuharu - - * macterm.c (note_mouse_movement, XTread_socket): Apply 2005-10-14 - changes for xterm.c. - - * w32term.c (note_mouse_movement, w32_read_socket): Likewise. - -2005-10-14 Kenichi Handa - - * search.c (search_buffer): Give up BM search on case-fold-search - if one of a target character has a case-equivalence of different - charset even if that target charcter is an ASCII. - - * casefiddle.c (casify_object): Fix for the case that case - conversion change the byte length. - -2005-10-14 Kim F. Storm - - * xterm.c (note_mouse_movement): Return 1 if mouse moved; 0 otherwise. - (handle_one_xevent): Only clear help_echo_string; restore it if - note_mouse_movement didn't record any mouse movement. - - * xdisp.c (pos_visible_p): Convert w->hscroll to pixels before use. - (remember_mouse_glyph): Clear RECT if mouse is over an image glyph. - - * keyboard.c (make_lispy_position): Adjust wx for left margin if - ON_TEXT. - (Fposn_at_x_y): Fix calculation of x coordinate. - (Fposn_at_point): Return nil if point is hscrolled out of view. - -2005-10-13 Andreas Schwab - - * sysdep.c (request_sigio, unrequest_sigio): Do nothing in - non-interactive mode. - -2005-10-12 YAMAMOTO Mitsuharu - - * xterm.c, w32term.c, macterm.c (note_mouse_movement): Undo last change. - -2005-10-12 Kim F. Storm - - * xterm.c (handle_one_xevent): Clear last_mouse_glyph on mouse up/down. - -2005-10-12 Romain Francoise - - * buffer.c (init_buffer): Rename `rc' to `len' for clarity. - -2005-10-12 YAMAMOTO Mitsuharu - - * xdisp.c (remember_mouse_glyph): Use MATRIX_BOTTOM_TEXT_ROW to - get end of text rows. Obtain header-line/mode-line rows directly. - - * xterm.c, w32term.c, macterm.c (note_mouse_movement): - Restore help_echo_string if mouse is moved inside last_mouse_glyph. - -2005-10-12 Kim F. Storm - - * xdisp.c (remember_mouse_glyph): New generic version based on - glyph_rect and remember_mouse_glyph from xterm.c enhanced to - properly handle all different window areas. - - * dispextern.h (remember_mouse_glyph): Add prototype. - - * xterm.c (glyph_rect, remember_mouse_glyph): Remove X versions. - (note_mouse_movement, XTmouse_position): Use generic - remember_mouse_glyph, add last_mouse_glyph arg. - - * w32term.c (note_mouse_movement): Fix last_mouse_glyph check. - (glyph_rect, remember_mouse_glyph): Remove w32 specific versions. - (note_mouse_movement, w32_mouse_position): Use generic - remember_mouse_glyph, add last_mouse_glyph arg. - - * macterm.c (note_mouse_movement): Add call to remember_mouse_glyph. - (glyph_rect, remember_mouse_glyph): Remove mac specific versions. - (XTmouse_position): Adapt to use generic remember_mouse_glyph - instead of pixel_to_glyph_coords. - - * window.c (coordinates_in_window): Fix x position for ON_RIGHT_MARGIN. - Fix x position for ON_TEXT when left margin width > 0. - -2005-10-11 Kim F. Storm - - * window.c (coordinates_in_window): Fix y position for ON_SCROLL_BAR. - - * keyboard.c (make_lispy_position): Fix buffer calculations for - mouse click or movement in right fringe and the margins. - -2005-10-11 Juanma Barranquero - - * image.c (fn_jpeg_stdio_src): Don't define it. - (init_jpeg_functions): Don't initialize `fn_jpeg_stdio_src'. - (our_common_init_source): Rename from `our_init_source'. - (our_common_term_source): Rename from `our_term_source'. - (our_memory_fill_input_buffer): Rename from - `our_fill_input_buffer'. - (our_memory_skip_input_data): Rename from `our_skip_input_data'. - (jpeg_memory_src): Use the new names. - (struct jpeg_stdio_mgr): New struct. - (JPEG_STDIO_BUFFER_SIZE): New constant. - (our_stdio_fill_input_buffer, our_stdio_skip_input_data) - (jpeg_file_src): New functions. - (jpeg_load): Use `jpeg_file_src' instead of `fn_jpeg_stdio_src'. - -2005-10-11 YAMAMOTO Mitsuharu - - * macterm.c (PER_CHAR_METRIC): Remove unused macro. - (fm_font_family_alist): New variable. - (syms_of_macterm): Initialize and staticpro it. - (decode_mac_font_name): Replace '-' in family name with '_' if it - occurs just once. Lower family name. - (parse_x_font_name): Rename from x_font_name_to_mac_font_name. - All uses changed. Remove argument MF and code conversion for it. - Add argument SIZE. Rename argument MF_DECODED to FAMILY, and CS - to CHARSET. Parse font size. Lower family name. Return integer - value for status of parsing. - (init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name. - Don't use Fdowncase because family name is already lowered by - decode_mac_font_name. - (init_font_name_table): Always call decode_mac_font_name. - Add pair of family name and its reference to fm_font_family_alist. - (mac_clear_font_name_table): Clear fm_font_family_alist. - (XLoadQueryFont): Move font size parsing part to parse_x_font_name. - Lookup fm_font_family_alist to get font family reference. - (XLoadQueryFont) [USE_ATSUI]: Don't use Fdowncase because family - name is already lowered by parse_x_font_name. - -2005-10-11 Kim F. Storm - - * xterm.c (glyph_rect): Return 0 if position is outside text area. - - * keyboard.c (make_lispy_position): Fix buffer position calculation for - mouse click or movement in fringe. - -2005-10-10 Jason Rumney - - * xterm.c (remember_mouse_glyph): New function. - (note_mouse_movement): Use it to remember the current glyph if changed. - (XTmouse_position): Fix calculation of fake glyph under mouse. - Move code to calculate glyph under mouse into remember_mouse_glyph. - -2005-10-10 Jan Dj,Ad(Brv - - * emacs.c (USAGE3, standard_args): -nb => -nbi. - -2005-10-10 Juanma Barranquero - - * frame.c (Fredirect_frame_focus): Fix typos in docstring. - (next_frame, prev_frame, set_term_frame_name): Make static. - - * window.c (Fwindow_tree): Fix spelling. - -2005-10-09 Romain Francoise - - * window.c (Fwindow_end): Don't try to redisplay if non-interactive. - -2005-10-09 Jan Dj,Ad(Brv - - * emacs.c (standard_args): Remove options -i, -itype, --icon-type. - Add options -nb, --no-bitmap-icon. - - * xfns.c (Fx_create_frame): Make bitmapIcon have default on. - -2005-10-08 YAMAMOTO Mitsuharu - - * macgui.h (MAX_CLIP_RECTS): New define. - (struct _XGC): New member clip_region. - (struct _XGC) [MAC_OSX && USE_ATSUI]: New members n_clip_rects and - clip_rects. - - * macterm.c (GC_CLIP_REGION): New macro. - (saved_port_clip_region): New variable. - (mac_begin_clip, mac_end_clip): New functions. - (XDrawLine, mac_erase_rectangle, mac_draw_bitmap, XFillRectangle) - (mac_draw_rectangle, mac_draw_string_common, mac_copy_area) - (mac_copy_area_with_mask, mac_scroll_area): Use them. - (mac_set_clip_rectangle, mac_reset_clipping): Remove functions. - [USE_ATSUI] (atsu_get_text_layout_with_text_ptr) - [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Specify kATSLineFractDisable. - (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Clip to clipping - rectangles stored in gc. - (XFreeGC): Dispose of clipping region. - (mac_set_clip_rectangles, mac_reset_clip_rectangles): New functions. - (x_draw_fringe_bitmap, x_set_glyph_string_clipping) - (x_draw_relief_rect, x_draw_box_rect, x_draw_stretch_glyph_string) - (x_draw_glyph_string, x_clip_to_row, x_draw_hollow_cursor) - (x_draw_bar_cursor): Use them. - (x_set_glyph_string_clipping): Use get_glyph_string_clip_rects to - get multiple clipping rectangles. - - * macterm.h (mac_term_init): Add types to extern. - (struct mac_output): Remove members mWP and pending_menu_activation. - Put members scroll_bar_foreground_pixel and - scroll_bar_background_pixel in #if 0. - (FRAME_MAC_WINDOW, FRAME_X_WINDOW): Use window_desc. - - * xfaces.c (x_create_gc, x_free_gc) [MAC_OS]: Add BLOCK_INPUT. - Add debugging code. - -2005-10-08 Kim F. Storm - - * window.c (window_tree, Fwindow_tree): Rename fns added 2005-10-04. - -2005-10-07 Kim F. Storm - - * dispnew.c (redraw_overlapped_rows, redraw_overlapping_rows) - [!HAVE_WINDOW_SYSTEM]: Don't declare them... - (update_window) [!HAVE_WINDOW_SYSTEM]: ...and don't call them. - -2005-10-07 YAMAMOTO Mitsuharu - - * dispextern.h (struct glyph_string): Rename member for_overlaps_p - to for_overlaps. Now occupy 3 bits. - (OVERLAPS_PRED, OVERLAPS_SUCC, OVERLAPS_BOTH) - (OVERLAPS_ERASED_CURSOR): New defines. - (struct redisplay_interface): Add new OVERLAPS arg to member - fix_overlapping_area. - (x_fix_overlapping_area): Add new OVERLAPS arg. - (get_glyph_string_clip_rects): Add extern. - - * dispnew.c (redraw_overlapping_rows): - Call rif->fix_overlapping_area with new OVERLAPS arg as redrawn part. - - * xdisp.c: Rename member for_overlaps_p in struct glyph_string to - for_overlaps. - (get_glyph_string_clip_rects): New function created from - get_glyph_string_clip_rect. Set clipping rectangles according to the - value of for_overlaps. Enable to store multiple clipping rectangles. - (get_glyph_string_clip_rect): Use get_glyph_string_clip_rects. - (fill_composite_glyph_string, fill_glyph_string, draw_glyphs): - Rename argument OVERLAPS_P to OVERLAPS. All uses in macros changed. - (x_fix_overlapping_area): Add OVERLAPS arg. Pass it to draw_glyphs. - (draw_phys_cursor_glyph): Set width of erased cursor to use it for - calculating clipping rectangles later. Call x_fix_overlapping_area - with new OVERLAPS arg to draw only erased cursor area. - (expose_overlaps): Call x_fix_overlapping_area with new OVERLAPS arg - to draw overlaps in both preceding and succeeding rows. - - * xterm.c, w32term.c, macterm.c: Rename member for_overlaps_p in - struct glyph_string to for_overlaps. - -2005-10-04 Richard M. Stallman - - * alloc.c (refill_memory_reserve): Conditionalize the body, - not the function's existence. - -2005-10-04 Kim F. Storm - - * window.c (window_split_tree): New function. - (Fwindow_split_tree): New defun. - (syms_of_window): Defsubr it. - -2005-10-04 YAMAMOTO Mitsuharu - - * macterm.c (mac_invert_rectangle): New function. - (XTflash): Use it. - -2005-10-04 Stefan Monnier - - * regex.h (re_char): Don't expose it in the interface. - (re_set_whitespace_regexp): Adjust the arg's type to not use it. - - * regex.c (re_char): Move it back here. - (re_set_whitespace_regexp): Change the arg's type to not use it. - - * keyboard.c (make_lispy_event): If point has moved between down and up - event, make it a drag, not a click, to mirror what - mouse-drag-region expects. - -2005-10-02 Dan Nicolaescu - - * lisp.h (fatal): Undo previous change. - * term.c (fatal): Undo previous change. - -2005-10-01 Richard M. Stallman - - * xfaces.c (face_color_gray_p): Colors close to black count as gray. - -2005-10-01 Kim F. Storm - - * xdisp.c (try_window): Skip scroll-margin check if ZV is visible. - -2005-10-01 YAMAMOTO Mitsuharu - - * keyboard.c (init_keyboard) [MAC_OSX]: Don't install SIGINT handler. - - * macfns.c (start_hourglass): Apply 2005-05-07 change for xfns.c. - (x_create_tip_frame) [GLYPH_DEBUG]: Uncomment debugging code. - (Fx_create_frame, x_create_tip_frame) [USE_ATSUI]: - Try ATSUI-compatible 12pt Monaco font first. - - * macgui.h (struct _XCharStruct): New member valid_p. - (STORE_XCHARSTRUCT): Set valid_p. - (struct MacFontStruct) [USE_ATSUI]: New member mac_style. - - * macterm.c (mac_draw_string_common, x_per_char_metric) - (mac_compute_glyph_string_overhangs, init_font_name_table) - (XLoadQueryFont, mac_unload_font) [USE_ATSUI]: Add ATSUI support. - (atsu_get_text_layout_with_text_ptr) [USE_ATSUI]: New function. - (x_draw_glyph_string_background) - (x_draw_glyph_string_foreground) [MAC_OS8 && USE_ATSUI]: Don't use - XDrawImageString. Always draw background and foreground separately. - (x_draw_glyph_string_foreground) [USE_ATSUI]: Don't use 8-bit - functions for one-byte chars when using ATSUI-compatible fonts. - (atsu_font_id_hash) [USE_ATSUI]: New variable. - (syms_of_macterm) [USE_ATSUI]: Initialize and staticpro it. - (XLoadQueryFont): Set min_byte1, max_byte1, min_char_or_byte2, and - max_char_or_byte2 more in detail. - (quit_char_comp, mac_check_for_quit_char) [MAC_OSX]: Remove functions. - -2005-09-30 Dan Nicolaescu - - * image.c (slurp_file, xbm_read_bitmap_data): Cast to the correct type. - * xterm.c (handle_one_xevent, handle_one_xevent): Likewise. - - * unexelf.c (fatal): Fix prototype. - - * term.c (fatal): Implement using varargs. - - * regex.c (re_char): Move typedef ... - * regex.h (re_char): ... here. - (re_iswctype, re_wctype, re_set_whitespace_regexp): New prototypes. - - * emacs.c (malloc_set_state): Fix return type. - (endif): Fix type. - - * lisp.h (fatal): Add argument types. - - * dispextern.h (fatal): Delete prototype. - - * systime.h (make_time): Prototype moved from ... - * editfns.c (make_time): ... here. - - * editfns.c: Move systime.h include after lisp.h. - * dired.c: - * xsmfns.c: - * process.c: Likewise. - - * alloc.c (old_malloc_hook, old_realloc_hook, old_realloc_hook): - Add parameter types. - (__malloc_hook, __realloc_hook, __free_hook): Fix prototypes. - (emacs_blocked_free): Change definition to match __free_hook. - (emacs_blocked_malloc): Change definition to match __malloc_hook. - (emacs_blocked_realloc): Change definition to match __realloc_hook. - -2005-09-30 Romain Francoise - - * minibuf.c (Fread_buffer): Follow convention for reading from the - minibuffer with a default value. Doc fix. - -2005-09-29 Juri Linkov - - * editfns.c (Fmessage, Fmessage_box, Fmessage_or_box): - Rename argument name `string' to `format-string'. - (Fformat): Doc fix. - -2005-09-28 Kim F. Storm - - * image.c (gif_load): Fix size of allocated image buffer - for images where a sub-image may be larger than the image's - total height/width specifications. - -2005-09-28 YAMAMOTO Mitsuharu - - * macgui.h (struct _XCharStruct): Each member now takes short value. - -2005-09-27 Dan Nicolaescu - - * xfaces.c (lookup_derived_face): Add parameter type. - - * xdisp.c (cursor_row_fully_visible_p): Add parameter type. - - * marker.c (verify_bytepos): Add parameter type. - - * process.c (get_operating_system_release): Move prototype ... - - * systime.h (get_operating_system_release): ... here. - - * xterm.c (handle_one_xevent): Refer to union field to match the - type required by the function definition. - (set_vertical_scroll_bar): Move prototype ... - - * xterm.h: ... here. - - * fns.c (internal_equal, seed_random): Fix prototypes. - (internal_equal): Add missing parameter. - -2005-09-25 Richard M. Stallman - - * keyboard.c (update_menu_bindings): Variable deleted. - (syms_of_keyboard): Don't defvar it. - (parse_menu_item): Don't test it. - -2005-09-23 Richard M. Stallman - - * editfns.c (Fformat): Explicitly test for end of format string - and don't use `index'. - -2005-09-23 Dan Nicolaescu - - * s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): - Define BROKEN_GET_CURRENT_DIR_NAME. - - * sysdep.c (get_current_dir_name): Also define if - BROKEN_GET_CURRENT_DIR_NAME. - - * m/ibmrs6000.h: Test for USG5, not USG5_4. - -2005-09-22 Kim F. Storm - - * xdisp.c (message_dolog): Add warning about GC and Lisp strings. - (message2): Fix commentary. Ok to use alloca'ed memory. - Still not ok to use Lisp string data (because of GC). - (set_message): Add comment why GC cannot happen. - -2005-09-22 YAMAMOTO Mitsuharu - - * macterm.c (xlfdpat_block_match_1): Fix assertion. - (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't add style - variants for a scalable font multiple times. - -2005-09-21 YAMAMOTO Mitsuharu - - * process.c (create_process) [RTU || UNIPLUS || DONT_REOPEN_PTY]: - Setup slave tty options before forking. - -2005-09-20 Jan Dj,Ad(Brv - - * gtkutil.c (xg_set_geometry): Do a gtk_window_move if program - positions have been set for the frame (as is done for frames in - special-display-buffer-names). - -2005-09-19 Kim F. Storm - - * editfns.c (Fformat): Don't scan past end of format string that - ends in %. Reported by Johan Bockg,Ae(Brd. - -2005-09-18 Andreas Schwab - - * window.h (struct window): Remove height_fixed_p, no longer set. - - * window.c (make_window): Don't initialize height_fixed_p. - (window_fixed_size_p): Don't use it. - -2005-09-18 John Paul Wallington - - * data.c (Fdefalias): Signal an error if SYMBOL is not a symbol. - -2005-09-18 YAMAMOTO Mitsuharu - - * Makefile.in (SOME_MACHINE_OBJECTS): Undo previous change. - - * macfns.c (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: - New variables. - [TARGET_API_MAC_CARBON] (Fx_file_dialog): Don't allow multiple - file selection. - - * sysdep.c [MAC_OS8]: Don't include stdlib.h. Include sys/param.h. - -2005-09-17 Eli Zaretskii - - * Makefile.in (XMENU_OBJ) [!HAVE_CARBON]: Reinstate variable. - (obj): Use XMENU_OBJ, not a literal xmenu.o. - -2005-09-16 Romain Francoise - - * fileio.c (syms_of_fileio) : Doc fix. - -2005-09-15 Richard M. Stallman - - * xdisp.c (overlay_arrow_at_row): Add HAVE_WINDOW_SYSTEM conditional. - (display_mode_element): Instead of `lisp_string' and `this', - record `offset' and increment that. - `last_offset' replaces `last'. - - * Makefile.in (XMENU_OBJ): Variable deleted. - (obj): Use xmenu.o unconditionally. - (SOME_MACHINE_OBJECTS): Delete xmenu.o. - - * emacs.c (main): Don't conditionalize syms_of_xmenu on HAVE_XMENU. - -2005-09-15 Kim F. Storm - - * xdisp.c (move_it_vertically): Don't try to fetch byte BEGV-1. - (reseat_at_next_visible_line_start): Likewise (in xassert). - -2005-09-14 Romain Francoise - - * fileio.c (write_region_inhibit_fsync): New variable. - (Fwrite_region): Use it to skip call to fsync. - (syms_of_fileio): Initialize it. - -2005-09-14 Kenichi Handa - - * coding.c (code_convert_region_unwind): Argument format changed. - (run_pre_post_conversion_on_str): If pre-write-conversion function - changed the current buffer, delete the new buffer. - (run_pre_write_conversin_on_c_str): Likewise. - - * fileio.c (Fexpand_file_name): Check multibyteness of - default_directory. - -2005-09-13 Kenichi Handa - - * composite.c (compose_chars_in_text): Delete it. - - * composite.h (compose_chars_in_text): Delete extern. - -2005-09-13 Kim F. Storm - - * print.c (print_error_message): Fix last change. - -2005-09-12 Kim F. Storm - - * composite.c (compose_chars_in_text): Fix setup of `pend'. - Unconditionally reload `ptr' and `pend' after eval. - - * xdisp.c (message3): Pass copy of lisp string to message_dolog. - - * print.c (print_error_message): Pass copy of caller name to - message_dolog. - - * fileio.c (auto_save_error): Pass copy of lisp string to message2. - -2005-09-12 Kenichi Handa - - * xdisp.c (display_mode_element): Be sure to make variables THIS - and LISP_STRING point into a string data of ELT. - -2005-09-12 Kim F. Storm - - * editfns.c (Ftranslate_region_internal): Reload `tt' after - signal_after_change that may have GC'ed. - (Fmessage, Fmessage_box, Fmessage_or_box): Doc fix. - - * keymap.c (Fdescribe_buffer_bindings): Reload `translate' - after insert while runs signal_after_change. - - * minibuf.c (Fminibuffer_complete_word): Move `completion_string' - declaration to where it is used. - - * w32.c (check_windows_init_file): Fix allocation of error buffer. - - * xfns.c (x_encode_text): Declare static. Add FREEP arg. - (x_set_name_internal): Call x_encode_text with new FREEP arg to - know if xfree is needed instead of guessing. - - * xterm.h (x_encode_text): Remove prototype. - -2005-09-11 Chris Prince (tiny change) - - * w32term.c (x_bitmap_icon): Load small icons too. - -2005-09-10 Romain Francoise - - * buffer.c (init_buffer): Grow buffer to add directory separator - and terminal zero. Fix typos. - -2005-09-10 Eli Zaretskii - - * buffer.c (init_buffer): Fix error message for failed call to - get_current_dir_name. - (get_current_dir_name): Remove prototype. - - * xsmfns.c (get_current_dir_name): Remove prototype. - - * lisp.h (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: - Add prototype. - - * sysdep.c [WINDOWSNT]: Add prototype for getwd. - Don't #undef NULL after including blockinput.h. - - * config.in: Regenerated. - -2005-09-10 Giuseppe Scrivano - - Remove the MAXPATHLEN limitations: - - * sysdep.c (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: - New function. - - * buffer.c (init_buffer): Use it. - - * xsmfns.c (smc_save_yourself_CB): Ditto. - -2005-09-09 Kim F. Storm - - * doc.c (Fsubstitute_command_keys): Lookup key binding for - commands that are remapped from some other command. - - * xdisp.c (try_window_reusing_current_matrix): Clear mode_line_p - flag in disabled rows below the window. - - * frame.h (struct frame): New member updated_p. - - * xdisp.c (redisplay_internal): Mark updated frames in new updated_p - member. Remove local `updated' array and associated variables. - -2005-09-07 Kim F. Storm - - * xdisp.c (handle_display_prop): Respect overlay window property. - - * xdisp.c (try_window): Remove superfluous cursor_height calculation. - Fixes crash reported by YAMAMOTO Mitsuharu. - -2005-09-06 YAMAMOTO Mitsuharu - - * macterm.c (struct xlfdpat_block, struct xlfdpat): New structs. - (xlfdpat_destroy, xlfdpat_create, xlfdpat_exact_p) - (xlfdpat_block_match_1, xlfdpat_match): New functions. - (xlfdpat_block_match): New macro. - (mac_to_x_fontname): Don't use tolower for non-ASCII characters. - (x_font_name_to_mac_font_name): Set coding.dst_multibyte to 0. - (add_font_name_table_entry): Increase font_name_table_size more - rapidly. - (mac_c_string_match): Remove function. - (mac_do_list_fonts): Use XLFD pattern match instead of regular - expression match. - - * xfaces.c (xstrlwr): Don't use tolower for non-ASCII characters. - -2005-09-03 Richard M. Stallman - - * xdisp.c (redisplay_internal): Make UPDATED as long as needed. - (move_it_in_display_line_to): Stop after last char on line even - on a windowing terminal, if that's the specified stop position. - - * fns.c (Fsort): Doc fix. - - * editfns.c (Fpropertize): Don't insist that properties be symbols. - -2005-09-02 Stefan Monnier - - * dired.c (directory_files_internal_unwind, directory_files_internal) - (file_name_completion): Use a Save_Value object rather than a cons of - two 16bit ints to store the DIR*. - (directory_files_internal, file_name_completion): Handle both EINTR and - EAGAIN consistently after `readdir'. - -2005-09-01 Stefan Monnier - - * intervals.c (update_interval): Add position info in error. - - * dispnew.c (window_to_frame_hpos, update_window): - Avoid gcc warning about unused variable `f'. - -2005-08-31 Jason Rumney - - * w32menu.c (add_menu_item): If unicode_append_menu returns an - error, revert to using AppendMenu. - -2005-08-31 YAMAMOTO Mitsuharu - - * image.c (PIX_MASK_DRAW, PIX_MASK_RETAIN): Remove argument. - All uses changed. - [MAC_OS] (XPutPixel, XGetPixel): Add efficient versions for common - cases. - (x_create_x_image_and_pixmap) [MAC_OS]: Don't call x_destroy_x_image. - [MAC_OS] (find_image_fsspec) [!MAC_OSX]: Don't use FSRef. - Use posix_pathname_to_fsspec. - [MAC_OS] (xpm_load_image): Fill in background_transparent field - while we have mask. - - * macgui.h [!TARGET_API_MAC_CARBON] (GetPixDepth): New define. - - * macterm.h (PIX_MASK_DRAW, PIX_MASK_RETAIN): Move defines to image.c. - -2005-08-29 Stefan Monnier - - * syntax.c (update_syntax_table): Properly reproduce the special +1 - setting of e_property at the end of the buffer when bumping into the - INTERVALS_AT_ONCE limit. - -2005-08-27 Eli Zaretskii - - * emacs.c (USAGE1): Fix the description of the -Q option. - -2005-08-26 Stefan Monnier - - * xdisp.c (pos_visible_p): Yet another int/Lisp_Object mixup (YAILOM). - -2005-08-26 Kim F. Storm - - * xdisp.c (resize_mini_window): Fix 2005-08-20 change. - Don't move PT to new window start. - -2005-08-25 YAMAMOTO Mitsuharu - - * keyboard.c (kbd_buffer_get_event) [MAC_OS]: Make events for - ICONIFY/DEICONIFY_EVENT. - - * macterm.c (mac_copy_area, mac_copy_area_with_mask): - Restore background color. - (mac_handle_visibility_change): New function. - (x_make_frame_invisible, x_iconify_frame) - (XTread_socket) [!USE_CARBON_EVENTS]: Use it. - [USE_CARBON_EVENTS] (mac_handle_window_event) - (install_window_handler): Handle visibility change events. - (x_make_frame_visible): Don't reposition window if it is iconified - or asked for visible before. Select and uncollapse window when it - is made visible. - (x_make_frame_invisible): Don't reset x_highlight_frame. - (x_iconify_frame): Likewise. Make invisible frame visible before - it is iconified. - (read_socket_inev): Move variable outside #if USE_CARBON_EVENTS. - (do_window_update): Don't change visibility of invisible frame. - -2005-08-22 Juri Linkov - - * term.c (turn_on_face): Check for TS_set_foreground and - TS_set_background depending on standout_mode. Simplify. - -2005-08-21 Kim F. Storm - - * fringe.c (update_window_fringes): Only put TOP and BOTTOM - bitmaps on fully visible rows. - - * fringe.c (update_window_fringes): Replace FORCE_P arg with - KEEP_CURRENT_P arg; if non-zero, don't update current row fringes, - and return 0. - - * xdisp.c (redisplay_window): Call update_window_fringes with - KEEP_CURRENT_P non-0 if we are going to refresh fringes later. - -2005-08-20 Richard M. Stallman - - * xdisp.c (display_echo_area_1): Get display start pos from w->start. - (resize_mini_window): Set w->start, and PT, so as to display the tail - end of the buffer, if it doesn't all fit. - -2005-08-18 Kim F. Storm - - * xdisp.c (calc_pixel_width_or_height): Use actual display - resolution when available instead of Vdisplay_pixels_per_inch. - -2005-08-17 Kim F. Storm - - * xdisp.c (pos_visible_p): Adjust X value if window is hscrolled. - - * dispnew.c (buffer_posn_from_coords): Check that target row is - within matrix. - -2005-08-16 Jan Dj,Ad(Brv - - * xterm.c (x_wm_set_icon_pixmap): Move GTK specific code to - xg_set_frame_icon and call it. - - * gtkutil.c (xg_set_frame_icon): New function. - - * gtkutil.h (xg_set_frame_icon): Declare it. - -2005-08-16 Kim F. Storm - - * dispnew.c (increment_row_positions): Skip non-enabled rows. - - * window.c (SAVED_WINDOW_VECTOR_SIZE): Remove dangerous define. - (Fcurrent_window_configuration): Use VECSIZE macro instead. - -2005-08-15 Richard M. Stallman - - * xdisp.c (message3_nolog): Clear echo_message_buffer. - -2005-08-15 Kim F. Storm - - * lisp.h (QUIT) [!SYNC_INPUT]: Throw t to Vthrow_on_input. - - * process.c (deactivate_process, status_notify, read_process_output) - (update_status, status_convert, decode_status, allocate_pty) - (make_process, remove_process, list_processes_1) - (create_process_1, unwind_request_sigio, read_process_output) - (send_process, keyboard_bit_set): Declare static. - (Fdelete_process): Simplify. Pass process to status_notify, so we - don't try to read output from it. - (status_notify): New arg deleting_process--don't try to read - output from that process. - - * lisp.h (deactivate_process, status_notify, read_process_output): - Remove prototypes. - -2005-08-14 Richard M. Stallman - - * image.c (syms_of_image): Init Qxbm, Qpbm before calling - define_image_type. - -2005-08-13 Jan Dj,Ad(Brv - - * gtkutil.c (xg_get_pixbuf_from_pix_and_mask): New function. - (xg_get_image_for_pixmap): Move some code to - xg_get_pixbuf_from_pix_and_mask, and call it. - - * gtkutil.h (xg_get_pixbuf_from_pix_and_mask): Declare. - - * xterm.c (x_wm_set_icon_pixmap): Call xg_get_pixbuf_from_pix_and_mask - to get an GTK icon and set it with GTK functions to avoid having GTK - override an icon set with just X functions. - -2005-08-11 Richard M. Stallman - - * image.c (syms_of_image): Init image_types here, and call - define_image_type. - (init_image): Not here. - -2005-08-09 Richard M. Stallman - - * bytecode.c (BYTE_CODE_QUIT): Throw t to Vthrow_on_input. - - * lisp.h (QUIT): Throw t to Vthrow_on_input. - -2005-08-09 Thien-Thi Nguyen - - * floatfns.c (Fexpt): Use floats for negative exponent. - -2005-08-08 Jan Dj,Ad(Brv - - * gtkutil.c (xg_modify_menubar_widgets): Remove semicolon that - should not be there, causing menu display errors with GTK 2.6.9. - -2005-08-07 Richard M. Stallman - - * floatfns.c (Fexpt): Undo previous change. - - * dispnew.c (Fframe_or_buffer_changed_p): Take an arg - so it can be used with various state vectors. - - * emacs.c (endif): Convert -script into -scriptload. - (standard_args): Add -scriptload. Allow -basic-display with one dash. - - * fns.c (syms_of_fns): Add `emacs' to features. - - * term.c (set_terminal_modes): If no TS_termcap_modes string, - output newlines to scroll the old screen contents off the screen. - -2005-08-06 Thien-Thi Nguyen - - * floatfns.c (Fexpt): Use floats for negative exponent. - Reported by D Goel. - -2005-08-02 Richard M. Stallman - - * frame.c (Fframe_char_width): Doc fix. - -2005-07-30 Juanma Barranquero - - * xdisp.c (syms_of_xdisp) : - Defvar it. - -2005-07-28 Juanma Barranquero - - * w32fns.c (my_set_window_pos, my_show_window): Don't declare. - (my_create_window, my_create_tip_window): Make static. - - * w32term.c (my_show_window, my_set_window_pos, my_set_focus) - (my_set_foreground_window, my_destroy_window): Make static. - -2005-07-26 Paul Eggert - - Merge gnulib getopt implementation into Emacs. - - * s/cygwin.h (C_SWITCH_SYSTEM): Remove, since gettext.h is - now part of lib-src. - -2005-07-26 Stefan Monnier - - * eval.c (Fdefvar): Allow (defvar enable-multibyte-characters). - -2005-07-25 Jason Rumney - - * w32menu.c (w32_menu_display_help): Suppress tooltip when - navigating menus with the keyboard. - -2005-07-23 Richard M. Stallman - - * insdel.c (syms_of_insdel): staticpro combine_after_change_buffer. - - * bytecode.c (MAYBE_GC): Test gc_cons_threshold and - gc_relative_threshold, one by one. - - * keyboard.c (read_char): Test gc_cons_threshold. - (syms_of_keyboard): staticpro Qecho_area_clear_hook. - - * eval.c (Feval, Ffuncall): Test gc_cons_threshold and - gc_relative_threshold, one by one. - - * alloc.c (gc_cons_threshold): Not static. - (gc_cons_combined_threshold): Var deleted. - (gc_relative_threshold): New variable. - (Fgarbage_collect, init_alloc_once): Compute gc_relative_threshold - instead of gc_cons_combined_threshold. - - * lisp.h (gc_cons_threshold, gc_relative_threshold): Declare. - (gc_cons_combined_threshold): Declaration deleted. - -2005-07-23 YAMAMOTO Mitsuharu - - * mac.c: Don't include stdlib.h or string.h. - (Fdo_applescript, Fmac_file_name_to_posix) - (Fmac_file_name_to_posix): Doc fixes. - [TARGET_API_MAC_CARBON] (Fmac_get_preference) - (Fmac_code_convert_string): Likewise. - [MAC_OSX] (init_mac_osx_environment): Fall back on terminal mode - if the executable is not contained in a bundle. - - * macfns.c: Don't include stdlib.h or string.h. Include atimer.h. - (gray_width, gray_height): Remove defines. - (gray_bits, gray_bitmap_width, gray_bitmap_height) - (gray_bitmap_bits): Remove variables. - (lispy_function_keys): Remove extern. - (free_frame_menubar): Add extern. - (x_window_to_frame): Remove function. - (unwind_create_tip_frame): Add declaration. - (x_set_name_internal): New function. - (x_set_name, x_set_title): Use it. - (Fx_create_frame, Fx_display_grayscale_p, Fx_display_pixel_width) - (Fx_display_pixel_height, Fx_display_planes) - (Fx_display_color_cells, Fx_server_max_request_size) - (Fx_server_vendor, Fx_server_version, Fx_display_screens) - (Fx_display_mm_height, Fx_display_mm_width) - (Fx_display_backing_store, Fx_display_visual_class) - (Fx_display_save_under, Fx_synchronize, Fx_show_tip): Doc fixes. - - * macmenu.c (Fx_popup_menu, Fx_popup_dialog): Doc fixes. - - * macselect.c (Fx_own_selection_internal): Follow error conventions. - (Fx_get_selection_internal, Fx_selection_owner_p) - (Fx_selection_exists_p): Doc fixes. - (syms_of_macselect) : Likewise. - -2005-07-21 Juanma Barranquero - - * buffer.c (syms_of_buffer) : Doc fix. - - * ccl.c (Fregister_ccl_program): Fix typos in docstring. - (Fccl_execute_on_string): Likewise; add usage info. - - * composite.c (Fcompose_region_internal) - (Fcompose_string_internal): - Improve argument/docstring consistency. - - * minibuf.c (Fminibuffer_prompt_end, Feval_minibuffer): - Fix typos in docstrings. - - * textprop.c (Fnext_char_property_change) - (Fprevious_char_property_change): Doc fixes. - - * window.c (Fset_window_margins, Fset_window_fringes): - Improve argument/docstring consistency. - - * xfaces.c (Finternal_lisp_face_p): Doc fix. - -2005-07-21 Andreas Schwab - - * eval.c (restore_stack_limits): Return a value. - -2005-07-20 Juanma Barranquero - - * eval.c (Fdefvar): Doc fix. - -2005-07-20 Kim F. Storm - - * fileio.c (Fdo_auto_save, do_auto_save_unwind): - Use make_save_value to unwind protect stream. - - * lread.c (Fload, load_unwind): - Use make_save_value to unwind protect stream. - -2005-07-19 Juanma Barranquero - - * eval.c (Fprog2, Fcalled_interactively_p), - (syms_of_eval) : Doc fixes. - (syms_of_eval) : - (Finteractive_p): Fix typos in docstrings. - -2005-07-19 Kim F. Storm - - * w32fns.c (Vx_hand_shape): Variable removed. - (syms_of_w32fns): Intern and staticpro Qw32_charset_default. - -2005-07-19 Kenichi Handa - - * fns.c (Fstring_as_multibyte): Escape backslashes in the docstring. - -2005-07-18 Stefan Monnier - - * buffer.h (Fgenerate_new_buffer_name): Declare (for use in coding.c). - -2005-07-18 Kim F. Storm - - * frame.h (struct frame): New member already_hscrolled_p. - - * xdisp.c (redisplay_internal): Only try to hscroll each frame once - to avoid redisplay looping hscrolling back and forth ad infinitum. - -2005-07-18 Juri Linkov - - * buffer.c (scroll-up-aggressively, scroll-down-aggressively): - * keymap.c (Fminor_mode_key_binding): - * macterm.c (mac-emulate-three-button-mouse): - Delete duplicate duplicate words. - -2005-07-18 Ken Raeburn - - * minibuf.c (Ftest_completion): Fix odd syntax in test. - -2005-07-18 YAMAMOTO Mitsuharu - - * macfns.c (x_set_cursor_color): Use XSetBackground and XSetForeground. - - * macgui.h (struct _XGC): New struct. - (GC): Use it. - (GCForeground, GCBackground, GCFont): Use X11 mask values. - (XCreateGC, XParseGeometry): Move externs to macterm.h. - - * macterm.c (x_bitmap_icon, x_make_frame_visible): Remove declarations. - (XSetFont): Add declaration. - (mac_set_forecolor, mac_set_backcolor, mac_set_colors): - Remove functions. - (GC_FORE_COLOR, GC_BACK_COLOR, GC_FONT, MAC_WINDOW_NORMAL_GC): - New defines. - (XDrawLine, mac_draw_line_to_pixmap, XClearWindow) - (mac_draw_bitmap, XCreatePixmapFromBitmapData, XFillRectangle) - (mac_draw_rectangle, mac_draw_string_common, mac_scroll_area): - Use them. - (mac_erase_rectangle): New function. - (XClearArea, x_draw_fringe_bitmap, x_clear_glyph_string_rect) - (x_draw_stretch_glyph_string): Use it. - (XChangeGC, XCreateGC, XGetGCValues, XSetForeground) - (XSetBackground, XSetFont): Adjust for new GC implementation. - (x_draw_fringe_bitmap, x_draw_box_rect): Use GC to set colors. - (XTset_vertical_scroll_bar): Clear area under scroll bar. - - * macterm.h (struct mac_display_info): Change types of - scratch_cursor_gc black_relief.gc, and white_relief.gc to GC. - (XCreateGC, XParseGeometry): Move externs from macgui.h. - - * xfaces.c [MAC_OS] (XCreateGC): Remove extern. - -2005-07-16 Richard M. Stallman - - * buffer.c (Fmake_overlay): Doc fix. - -2005-07-16 Eli Zaretskii - - * w32proc.c (syms_of_ntproc): staticpro Qhigh, Qlow, - Vw32_valid_locale_ids, and Vw32_valid_codepages. - -2005-07-16 YAMAMOTO Mitsuharu - - * mac.c [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): - Use Fstring_as_unibyte instead of string_make_unibyte. - -2005-07-15 Richard M. Stallman - - * xdisp.c (select_frame_for_redisplay): Use find_symbol_value. - -2005-07-15 Kim F. Storm - - * xdisp.c: Fix redisplay loop in last change. - (IT_POS_VALID_AFTER_MOVE_P): New macro. - (move_it_vertically_backward, move_it_by_lines): Use it. - -2005-07-14 Jason Rumney - - * w32.c (init_environment): Default HOME directory to user's - appdata directory if possible. - -2005-07-14 Kim F. Storm - - * .gdbinit (pitx): Fix output format. Print string charpos. - - * lread.c (syms_of_lread): Initialize seen_list. - - * search.c (syms_of_search): Staticpro searchbuf.whitespace_regexp. - - * syntax.c (syms_of_syntax): Staticpro lisp objects in gl_state. - Staticpro re_match_object. - -2005-07-14 YAMAMOTO Mitsuharu - - * macselect.c (get_scrap_target_type_list): Avoid NULL pointer - dereference. - - * macterm.c (mac_window_to_frame): Remove duplicate define. - -2005-07-14 Kenichi Handa - - * coding.c (code_convert_region_unwind): ARG is changed to a cons. - (code_convert_region): Adjust for the above change. - (set_conversion_work_buffer): If the work buffer is already in - use, generate a new buffer and return it. Otherwise return Qnil. - (run_pre_post_conversion_on_str): Adjust for the above change. - (run_pre_write_conversin_on_c_str): Likewise. - -2005-07-13 Kim F. Storm - - * xdisp.c (start_display): Don't reseat to next visible line start - if current start position is in a string or image. - (move_it_vertically_backward): Be sure to move out of strings and - images when moving it2 forward. - (move_it_by_lines): When moving forward, move to next buffer - position if we end up in a string or image. When moving backward, - count rows moved over when moving to start of current row in case - row starts in middle of a string or image. Also move further - backward if we end up in a string or image. - (try_cursor_movement): If overlay string spans multiple lines, - move backward to set cursor on start of an overlay string. - (cursor_row_p): Row is ok if cursor is at newline from string, but - string starts on this line (so we always position cursor at start - of string). - - * indent.c (Fvertical_motion): If start position is on an image, - don't move back if we move too far (that's almost certain to happen). - - * xdisp.c (cursor_row_fully_visible_p): Allow partially visible - row in minibuffer windows. - (try_window): Don't check margins in minibuffer windows. - -2005-07-13 YAMAMOTO Mitsuharu - - * macterm.c: Don't include stdlib.h or composite.h. - (x_use_underline_position_properties, last_mouse_press_frame) - (x_noop_count, Qvendor_specific_keysyms): Remove unused variables. - (syms_of_macterm, mac_initialize): Don't initialize them. - (waiting_for_input, initial_argv, initial_argc) - (Vcommand_line_args, Vx_no_window_manager, errno, window_scroll) - (set_frame_menubar, path_from_vol_dir_name): Remove externs. - (extra_keyboard_modifiers): Fix type in extern. - (x_window_to_frame, x_window_to_scroll_bar): Remove declarations. - (x_scroll_bar_report_motion): Add argument types to declaration. - (mac_compute_glyph_string_overhangs): Add declaration. - (disable_mouse_highlight): Remove unused variable. - [USE_TOOLKIT_SCROLL_BARS] (construct_scroll_bar_click) - (x_scroll_bar_handle_press, x_scroll_bar_handle_release) - (x_scroll_bar_handle_drag): Remove argument `timestamp'. - All callers changed. - [USE_TOOLKIT_SCROLL_BARS] (construct_scroll_bar_click): Don't set - timestamp. - [USE_CARBON_EVENTS] (mac_handle_mouse_event): Likewise. - (x_scroll_bar_create, XTset_vertical_scroll_bar): Show scroll bar - only when its width is less than the height. - (XTredeem_scroll_bar): Sync with xterm.c. - (font_name_table, font_name_table_size, font_name_count): - Make static. - (drag_and_drop_file_list): Remove variable. Previous use is now - local to function. - (do_ae_open_documents): Move DRAG_N_DROP event construction part - from XTread_socket. - (XTread_socket): Consolidate setting of event timestamp. - Move DRAG_N_DROP event construction part to do_ae_open_documents. - Support extra_keyboard_modifiers. - - * xfaces.c (try_font_list) [MAC_OS]: Try font family name - beginning with that for ASCII. - -2005-07-13 Stefan Monnier - - * alloc.c (gc_cons_combined_threshold, Vgc_cons_percentage): New vars. - (Fgarbage_collect, init_alloc_once): Set gc_cons_combined_threshold. - (syms_of_alloc): Declare gc-cons-percentage. - - * eval.c (Feval, Ffuncall): - * keyboard.c (read_char): - * bytecode.c (MAYBE_GC): Use gc_cons_combined_threshold. - - * lisp.h (gc_cons_combined_threshold): Declare. - -2005-07-12 Kim F. Storm - - * coding.c (Qprocess_argument): - * coding.h (Qprocess_argument): Remove unused var. - - * xselect.c (intern): Remove dup. intern and staticpro for QTIMESTAMP. - -2005-07-12 YAMAMOTO Mitsuharu - - * mac.c [!TARGET_API_MAC_CARBON]: Include charset.h, coding.h, and - Endian.h. - [!MAC_OSX] (fchmod, fchown): New functions. - (mac_get_code_from_arg): Don't accept Lisp integer as argument. - Use SBYTES and EndianU32_BtoN. - (mac_get_object_from_code): Return 4 byte string even if argument - is 0. Use make_unibyte_string and EndianU32_NtoB. - (Fmac_get_file_creator, Fmac_get_file_type, Fmac_set_file_creator) - (Fmac_set_file_type): Fix documents and argument declarations. - Don't specify kFSCatInfoNodeFlags. Support Mac OS Classic. - -2005-07-11 Stefan Monnier - - * window.c (Frecenter): Yet another int/Lisp_Object mixup (YAILOM). - -2005-07-11 Jan Dj,Ad(Brv - - * xfaces.c (x_update_menu_appearance): Use fontSet resource for - Lucid if X_I18N, font otherwise. - -2005-07-10 Steven Tamm - - * mac.c (Fmac_get_file_type, Fmac_get_file_creator): Add. - (Fmac_set_file_type, Fmac_set_file_creator): Add. - (mac_get_object_from_code, mac_get_code_from_arg): Add. - -2005-07-10 Richard M. Stallman - - * lread.c (Qeval_buffer_list, Veval_buffer_list): New vars. - (syms_of_lread): Set up eval-buffer-list. - (Feval_buffer, Feval_region): Bind eval-buffer-list. - -2005-07-08 Richard M. Stallman - - * eval.c (Fdefvar): Allow defvaring a constant to itself quoted. - -2005-07-08 Kim F. Storm - - * keyboard.c (menu_bar_items): Don't GCPRO menu_bar_items_vector here. - (syms_of_keyboard): Initialize and staticpro menu_bar_items_vector. - -2005-07-07 Kim F. Storm - - * window.c (Frecenter): Fix last change (set iarg before use). - -2005-07-06 Richard M. Stallman - - * window.c (Frecenter): When arg is inside the scroll margin, - move it out of the margin. - -2005-07-06 Jason Rumney - - * w32console.c (initialize_w32_display): Detect when the console - dimensions are insane, and default to 80x25 instead. - (w32_use_full_screen_buffer): Default to nil. - -2005-07-06 YAMAMOTO Mitsuharu - - * macterm.c (mac_draw_vertical_window_border): Use foreground of - VERTICAL_BORDER_FACE_ID for vertical border line. - (mac_encode_char): Call check_ccl_update in advance. - (mac_to_x_fontname, x_font_name_to_mac_font_name) - (init_font_name_table, mac_do_list_fonts, XLoadQueryFont): - Don't assume that font family length is less than 32. - (x_compute_min_glyph_bounds): Make static. - (x_load_font): Never set fonts_changed_p to zero. - -2005-07-04 Lute Kamstra - - * Update FSF's address in GPL notices. - -2005-07-03 Richard M. Stallman - - * xdisp.c (try_window): Fix previous change in how it handles - a partially-visible line or one only partly past the margin. - - * window.c (window_scroll_pixel_based): Take account - of this_scroll_margin when finding point when scrolling up. - -2005-06-29 Ralf Angeli - - * window.c (window_scroll_pixel_based, window_scroll_line_based): - Handle `scroll-preserve-screen-position' non-nil, non-t specially. - (syms_of_window) : Doc fix. - -2005-07-02 Juri Linkov - - * w32term.c (w32_draw_vertical_window_border): Use foreground of - VERTICAL_BORDER_FACE_ID for vertical border line. - -2005-07-02 Eli Zaretskii - - * fileio.c (Fcopy_file): Rearrange the code that calls fchown and - fchmod so that chmod doesn't get called on MSDOS before the file - is closed. - -2005-07-01 Jason Rumney - - * w32term.c (cleartype_active): New flag for enabling sub-pixel - workaround. - (w32_initialize): Initialize it. - (w32_native_per_char_metric): Allow a couple of extra pixels when - Cleartype is active. - - * w32term.c (w32_initialize): Move check for screen reader here - from syms_of_w32term. - -2005-06-30 Jan Dj,Ad(Brv - - * xterm.c (handle_one_xevent): bzero compose_status when nbytes - is not zero. - -2005-07-01 Masatake YAMATO - - * emacs.c (main): Passing ADD_NO_RANDOMIZE to `personality'. - -2005-06-30 Juri Linkov - - * xdisp.c (x_draw_vertical_border): If left fringe is not present - decrease x coord of vertical border by 1 pixel to not occupy text - area of the right window. - - * xterm.c (x_draw_vertical_window_border): Use foreground of - VERTICAL_BORDER_FACE_ID for vertical border line. - - * term.c (turn_on_face): In standout mode apply specified - fg to bg, and specified bg to fg (this makes the logic of - inversion on terminal consistent with X). - -2005-06-29 Juanma Barranquero - - * eval.c (user_variable_p_eh): New function. - (Fuser_variable_p): Use it. Clarify docstring. - Return t for aliases of user options, nil for alias loops. - -2005-06-27 Richard M. Stallman - - * eval.c (Fdefvar): Improve error message. - -2005-06-27 YAMAMOTO Mitsuharu - - * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Fix last - change. - -2005-06-27 Juanma Barranquero - - * eval.c (Fdefvar): Don't try to set constant symbols. - -2005-06-25 Richard M. Stallman - - * macfns.c (Fx_show_tip): Pass new arg to try_window. - - * w32fns.c (Fx_show_tip): Pass new arg to try_window. - - * xfns.c (Fx_show_tip): Pass new arg to try_window. - - * xdisp.c (try_window): New arg CHECK_MARGINS. Calls changed. - (redisplay_window): Handle try_window reporting point in scroll margin. - - * dispextern.h (try_window): Declare new arg. - - * fileio.c (Fcopy_file): New arg PRESERVE_UID_GID. - Use fchmod to copy the file modes. - (Frename_file): Don't copy UID and GID here; - instead, specify t for PRESERVE_UID_GID when calling Fcopy_file. - - * eval.c (call_debugger): Take full care of extending stack limits - to make space for the debugger, and restore the change afterward. - Bind debug-on-error to nil. - (restore_stack_limits): New subroutine. - (Fsignal): Extend specpdl bound along with eval depth bound, - for calling edebug. Don't do either one, for calling debugger. - (find_handler_clause): Don't bind debug-on-error here. - Don't unbind anything either. - Temporarily advance max_specpdl_size for calling - internal_with_output_to_temp_buffer. - (grow_specpdl): Don't alter max_specpdl_size before signaling - an error. - (syms_of_eval) : Doc fix. - - * lread.c (read1): 0.0e+NaN should make a "positive" NaN. - -2005-06-24 Eli Zaretskii - - * fileio.c (Frename_file): Undo last change: no need to ifdef away - chown on DOS_NT platforms. - - * w32.c (sys_chown): New function. - - * s/ms-w32.h (chown): New; define to sys_chown. - -2005-06-24 Juanma Barranquero - - * xdisp.c (syms_of_xdisp) : Doc fix. - (syms_of_xdisp) : Doc fix. - - * fileio.c (Frename_file)[!DOS_NT]: Don't call chown on MSDOS/Windows. - -2005-06-23 Richard M. Stallman - - * xdisp.c (get_next_display_element): Finish reversing the tests of - Vnobreak_char_display. - - * xdisp.c (Vnobreak_char_display): Rename from Vshow_nonbreak_escape. - All uses changed. - (Qnobreak_space): Rename from Qno_break_space. All uses changed. - (syms_of_xdisp): Define nobreak-char-display and nobreak-space. - - * fileio.c (Frename_file): Preserve owner and group, if possible, - when copying. - -2005-06-23 Juanma Barranquero - - * abbrev.c (Funexpand_abbrev): - * category.c (Fmake_category_set): - * dispnew.c (Fsleep_for, Fsit_for): - * editfns.c (Fsubst_char_in_region): - * eval.c (Fdefvar, Fdefconst, Feval, Ffuncall): - * frame.c (make_frame_without_minibuffer): - * lread.c (read_vector): - * macfns.c (check_x_frame): - * process.c (Fstop_process, Fcontinue_process): - * search.c (Freplace_match): - * syntax.c (Fstring_to_syntax): - * w32fns.c (check_x_frame, check_x_display_info): - * xfaces.c (x_supports_face_attributes_p): - * xselect.c (Fx_own_selection_internal): Follow error conventions. - - * image.c (fn_png_init_io): Don't define it. - (init_png_functions) [HAVE_NTGUI]: Don't initialize fn_png_init_io. - (png_read_from_file): New function, based on png_read_from_memory. - (png_load): Use it, instead of fn_png_init_io. - -2005-06-23 Kim F. Storm - - * search.c (Fmatch_data): Remove evaporate option. - (Fset_match_data): Do not mention evaporate option in doc string. - Add commentary explaining evaporate arg (for internal use only). - (unwind_set_match_data): Add comment on evaporate use. - -2005-06-22 Miles Bader - - * xfaces.c (Qvertical_border): Rename from `Qvertical_divider'. - (realize_basic_faces, syms_of_xfaces): Update references to it. - * dispextern.h (enum face_id): Rename `VERTICAL_DIVIDER_FACE_ID' - to `VERTICAL_BORDER_FACE_ID'. - * dispnew.c (build_frame_matrix_from_leaf_window): Update references. - -2005-06-21 Juri Linkov - - * dispextern.h: Add extern Qframe_set_background_mode. - - * xfaces.c: Rename obsolete function Qframe_update_face_colors to - Qframe_set_background_mode. - - * frame.c (Fmodify_frame_parameters): - Call frame-set-background-mode after changing the background color - on non-window non-dos branch. - -2005-06-21 Juanma Barranquero - - * fns.c (Fchar_table_range): - * process.c (Fmake_network_process): Fix spellings. - -2005-06-20 Kim F. Storm - - * fns.c (Fsort): Doc fix. - -2005-06-20 Miles Bader - - * xfaces.c (Qvertical_divider): New variable. - (realize_basic_faces): Realize its face. - (syms_of_xfaces): Initialize it. - - * dispextern.h (enum face_id): Add `VERTICAL_DIVIDER_FACE_ID'. - - * dispnew.c (build_frame_matrix_from_leaf_window): Display vertical - window-separator on ttys using `vertical-divider' face by default. - -2005-06-17 Richard M. Stallman - - * xdisp.c (get_next_display_element): - Reverse test of Vshow_nonbreak_escape. - - * term.c (produce_special_glyphs): Use spec_glyph_lookup_face. - (Ftty_no_underline): New function. - (syms_of_term): defsubr it. - - * keyboard.c (read_char): Call restore_getcjmp after jump occurs. - - * dispnew.c (spec_glyph_lookup_face): New function. - (build_frame_matrix_from_leaf_window): Use it. - - * dispextern.h (spec_glyph_lookup_face): Add declaration. - - * buffer.c (syms_of_buffer) : Doc fix. - -2005-06-12 Richard M. Stallman - - * keyboard.c (read_char): After catching a longjmp, - call restore_getcjmp. - -2005-06-17 Juanma Barranquero - - * xselect.c (lisp_data_to_selection_data): Fix spelling. - -2005-06-15 YAMAMOTO Mitsuharu - - * macterm.c (mac_compute_glyph_string_overhangs): Don't set - overhangs unless the given glyph type is noncomposite CHAR_GLYPH. - [USE_CARBON_EVENTS] (mac_convert_event_ref): Convert dead key down - events. - (XTread_socket): Don't pass keyboard events with the option - modifier to the system when Vmac_command_key_is_meta is nil or - Vmac_option_modifier is non-nil. - [USE_CARBON_EVENTS] (read_socket_inev): New variable. - [USE_CARBON_EVENTS] (init_command_handler): Fix argument. - [USE_CARBON_EVENTS] (mac_handle_mouse_event): New Carbon event - handler function. - (install_window_handler) [USE_CARBON_EVENTS]: Install it. - (XTread_socket) [USE_CARBON_EVENTS]: Move mouse wheel event - handler part to mac_handle_mouse_event. - -2005-06-14 Juanma Barranquero - - * eval.c (Fdefvaralias): Rename arguments SYMBOL and ALIASED to - NEW-ALIAS and BASE-VARIABLE, respectively. - -2005-06-13 Stefan Monnier - - * xdisp.c (note_mode_line_or_margin_highlight): Lisp_Object/int mixup. - (get_phys_cursor_geometry, format_mode_line_unwind_data) - (get_line_height_property, x_produce_glyphs): Remove unused vars. - - * coding.c (run_pre_post_conversion_on_str): Remove unused var `buf'. - -2005-06-13 Eli Zaretskii - - * w32term.c (x_use_underline_position_properties): New variable. - (x_draw_glyph_string): Remind in a comment to change doc string of - x-use-underline-position-properties if/when underline positioning - is implemented. - (syms_of_w32term): DEFVAR_BOOL x-use-underline-position-properties, - and initialize it to nil. - -2005-06-12 Jason Rumney - - * w32fns.c (NEWOPENFILENAME): New struct. - (Fx_file_dialog): Use it to trick the system into giving us up to - date dialogs on systems that are documented to support it. - Do not set OFN_FILEMUSTEXIST flag if looking for a directory. - -2005-06-12 Eli Zaretskii - - * w32fns.c (w32_abort): Use the MB_YESNO dialog instead of - MB_ABORTRETRYIGNORE. Never return, even if DebugBreak does. - -2005-06-11 Eli Zaretskii - - * image.c (x_create_x_image_and_pixmap) [HAVE_NTGUI]: Cast 4th arg - to CreateDIBSection to avoid a compiler warning. - (pbm_load): Cast 3rd arg to IMAGE_BACKGROUND to avoid a compiler - warning. - (png_load): Cast return values of fn_png_create_read_struct and - fn_png_create_info_struct, to avoid compiler warnings on W32. - Cast 3rd arg to IMAGE_BACKGROUND and image_background_transparent - to avoid compiler warnings. - (jpeg_load): Cast return value of fn_jpeg_std_error to avoid a - compiler warning on W32. Cast 3rd arg to IMAGE_BACKGROUND to - avoid a compiler warning. - (tiff_load): Cast return values of fn_TIFFOpen and - fn_TIFFClientOpen to avoid compiler warning on W32. Cast 3rd arg - to IMAGE_BACKGROUND to avoid a compiler warning. - (gif_load): Cast return values of fn_DGifOpenFileName and - fn_DGifOpen to avoid compiler warnings on W32. Cast 3rd arg to - IMAGE_BACKGROUND to avoid a compiler warning. - (DrawText) [HAVE_NTGUI || MAC_OS]: If already defined, undef - before redefining. - - * w32bdf.c (create_offscreen_bitmap): Cast `bitsp' to `void **' in - the call to CreateDIBSection, to avoid a compiler warning. - -2005-06-11 Jason Rumney - - * w32fns.c (Fx_file_dialog): Unblock input before falling back to - minibuffer. - * macfns.c (Fx_file_dialog): Likewise. - -2005-06-10 Eli Zaretskii - - * makefile.w32-in ($(TEMACS)): Depend on addsection.exe. - -2005-06-10 Juanma Barranquero - - * process.c (syms_of_process) [ADAPTIVE_READ_BUFFERING]: - * w32fns.c (syms_of_w32fns): Fix spellings. - -2005-06-10 Eli Zaretskii - - * unexw32.c (COPY_CHUNK, COPY_PROC_CHUNK): Add a new argument - `verbose'; print diagnostic messages only if it is non-zero. - All callers changed to pass a zero value unless DEBUG_DUMP is defined - in the environment. - (copy_executable_and_dump_data): Print section names with %.8s. - -2005-06-10 Masatake YAMATO - - * xdisp.c (note_mode_line_or_margin_highlight): Call clear_mouse_face - when mouse_face is not given. - -2005-06-09 Luc Teirlinck - - * window.c (Fselect_window): Adapt call to Fselect_frame. - - * lisp.h: Update EXFUN of Fselect_frame. - - * keyboard.c (command_loop_1): Adapt call to Fselect_frame. - - * frame.c (Fhandle_switch_frame, Fselect_frame): Delete unused arg - no_enter. - (Fset_mouse_position, Fset_mouse_pixel_position, Ficonify_frame): - Adapt to above change. - -2005-06-10 Juanma Barranquero - - * fns.c (Fmemq, Fmaphash): Doc fixes. - -2005-06-09 Juanma Barranquero - - * xfaces.c (Fdisplay_supports_face_attributes_p): - Fix typo in docstring. - -2005-06-08 Steven Tamm - - * unexmacosx.c (copy_data_segment): Copy __la_sym_ptr2 section - used by gcc4 on intel mac. - -2005-06-09 Kim F. Storm - - * search.c (Fmatch_data): Add optional RESEAT arg. Unchain markers - in REUSE list if non-nil; free them if equal to evaporate. - (Fset_match_data): Add optional RESEAT arg. Unchain markers in LIST - if non-nil; free them if equal to evaporate. Use XCAR/XCDR. - (restore_search_regs): Rename from restore_match_data. Uses changed. - (unwind_set_match_data): New function. - (record_unwind_save_match_data): New function like save-match-data. - - * lisp.h (Fmatch_data, Fset_match_data): Fix EXFUN. - (record_unwind_save_match_data): Add prototype. - (restore_search_regs): Rename from restore_match_data. - - * composite.c (compose_chars_in_text): - * eval.c (do_autoload): - * macmenu.c (set_frame_menubar): - * process.c (read_process_output, exec_sentinel): - * xmenu.c (set_frame_menubar): - * xdisp.c (prepare_menu_bars, update_menu_bar, update_tool_bar): - * w32menu.c (set_frame_menubar): - Use record_unwind_save_match_data. - -2005-06-08 Richard M. Stallman - - * xdisp.c (get_next_display_element): Alter previous change: - Distinguish Vshow_nonbreak_escape = t or not t. - For t, use escape_glyph once again, as before previous change. - Use space or hyphen for display, instead of the non-ASCII char. - (syms_of_xdisp) : Doc fix. - - * process.c (Fstart_process): Don't touch command_channel_p slot. - - * process.h (struct process): Delete command_channel_p. - -2005-06-07 Masatake YAMATO - - * xdisp.c (note_mode_line_or_margin_highlight): - Check the overlapping of re-rendering area to avoid flickering. - (note_mouse_highlight): Call clear_mouse_face if PART - is not ON_MODE_LINE nor ON_HEADER_LINE. - -2005-06-07 Kim F. Storm - - * process.c: Improve commentary for adaptive read buffering. - -2005-06-06 Stefan Monnier - - * xterm.c (x_create_toolkit_scroll_bar): Use XtNarrowScrollbars - if available. - -2005-06-06 Jan Dj,Ad(Brv - - * macmenu.c (menu_quit_handler, install_menu_quit_handler): - New functions for popping down menus on C-g. - (set_frame_menubar, mac_menu_show): Call install_menu_quit_handler. - - * macterm.c: Make mac_quit_char_modifiers and mac_quit_char_keycode - non-static. - - * config.in: Add HAVE_CANCELMENUTRACKING. - -2005-06-06 Eli Zaretskii - - * w32heap.h (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_PTR): Remove macros. - - * unexw32.c (RVA_TO_PTR): Move here from w32heap.h. - - * w32proc.c (RVA_TO_PTR): New macro. - - * w32heap.c (RVA_TO_PTR): No need to #undef now. - - * makefile.w32-in ($(BLD)/emacs.$(O), $(BLD)/w32select.$(O)): - Depend on w32heap.h. - -2005-06-06 Luc Teirlinck - - * keyboard.c (command_loop_1): Update Vthis_original_command. - -2005-06-06 Richard M. Stallman - - * xmenu.c (popup_get_selection): Undo previous change. - -2005-06-06 Juri Linkov - - * xdisp.c (Qno_break_space): New variable. - (syms_of_xdisp): Initialize it. - (get_next_display_element): Add no-break space and soft hypen - codes for iso8859-2 and iso8859-5. Don't add `\' for them. - Use `no-break-space' face for no-break spaces. - -2005-06-06 Jan Dj,Ad(Brv - - * window.c (delete_window): Handle the case where a h/vchild has - a h/vchild. - -2005-06-05 Eli Zaretskii - - * w32.c (sys_setsockopt): Change arg 4 to `const void *'. In the - call to pfn_setsockopt, cast optval to `const char *'. - -2005-06-04 Eli Zaretskii - - * w32.c (gettimeofday): Use struct _timeb, not struct timeb. - (open_unc_volume): Cast return value of map_w32_filename, to avoid - compiler warnings. - - * s/ms-w32.h (fileno): Don't define if already defined. - - * emacs.c: Include w32heap.h, to avoid compiler warning about sbrk. - - * makefile.w32-in (DOC): Define to point to the generated DOC-X. - -2005-06-04 Richard M. Stallman - - * xmenu.c (popup_get_selection): Click not in menu deactivates menu. - -2005-06-04 Jan Dj,Ad(Brv - - * macmenu.c (cleanup_popup_menu): New function. - (Fx_popup_menu): Unwind protect cleanup_popup_menu in case - mac_menu_show Quit:s. - (mac_menu_show): Quit on cancel if not popped up on click (i.e. - a dialog). - -2005-06-04 Kim F. Storm - - * coding.c (decode_coding_string): Handle CODING_FINISH_INTERRUPT. - - * callproc.c (Fcall_process): Don't use alloca to gradually - increase size of buf, as it effectively uses twice the necessary - space on the stack. Instead, pre-allocate buf of full size, and - gradually increase the read size. - - * bytecode.c (BYTE_CODE_QUIT): Check Vthrow_on_input. - - * eval.c (unbind_to): Preserve value of Vquit_flag. - - * xterm.c (handle_one_xevent): Also ignore mouse motion just - before a button release event. - -2005-06-03 Juanma Barranquero - - * xfaces.c (Finternal_lisp_face_equal_p): Really report - on faces in a frame, if the argument FRAME is non-nil. - Improve argument/docstring consistency. - -2005-06-02 Kim F. Storm - - * xdisp.c (MODE_LINE_NOPROP_LEN): New macro. - (x_consider_frame_title, Fformat_mode_line): Save offset into - mode_line_noprop_buf rather than pointer, in case buffer is relocated. - -2005-06-01 Kim F. Storm - - * fns.c (mapcar1): Maybe exit loop if original sequence was modified. - -2005-06-01 YAMAMOTO Mitsuharu - - * macterm.c (mac_to_x_fontname, mac_do_list_fonts): Set XLFD - resolution fields for scalable fonts to 0. - - * xfaces.c (build_scalable_font_name): Round pixel size to the - nearest integer. - -2005-06-01 Kim F. Storm - - * xdisp.c (display_mode_line): Support nested calls to redisplay - and format-mode-line. Set mode_line_target to MODE_LINE_DISPLAY. - -2005-05-31 Stefan Monnier - - * fileio.c (Finsert_file_contents): - * xdisp.c (note_mode_line_or_margin_highlight): Lisp_Object/int mixup. - -2005-05-31 Kim F. Storm - - * xdisp.c (mode_line_noprop_buf, mode_line_noprop_buf_end) - (mode_line_noprop_ptr): Rename from frame_title_*. - (store_mode_line_noprop_char): Rename from store_frame_title_char. - (store_mode_line_noprop): Rename from store_frame_title. - (mode_line_target): New enum to specify current output target - for mode line formatting. - (display_mode_element): Test it rather than frame_title_ptr and - mode_line_string_list to determine where output should go. - (mode_line_proptrans_alist, mode_line_string_alist): Make static. - (Vmode_line_unwind_vector): New variable. - (format_mode_line_unwind_data, unwind_format_mode_line): - New functions for unwind protection in mode line formatting. - (x_consider_frame_title): Use them and new local var 'title_start' - to support nested calls to format-mode-line and redisplay. - Set mode_line_target to MODE_LINE_TITLE. - (Fformat_mode_line): Use them and new local var 'string_start' to - support nested calls to format-mode-line and redisplay. - Set mode_line_target to MODE_LINE_NOPROP or MODE_LINE_STRING. - Don't trim trailing dashes. - (decode_mode_spec): Don't make infinite number of trailing dashes - for MODE_LINE_NOPROP and MODE_LINE_STRING targets. - (syms_of_xdisp): Initialize and staticpro mode_line_string_face, - mode_line_string_face_prop, and Vmode_line_unwind_vector. - (init_xdisp): Initialize mode_line_noprop_ptr to start of _buf. - Initialize mode_line_target to MODE_LINE_DISPLAY. - -2005-05-29 Richard M. Stallman - - * buffer.c (Fbuffer_local_value): Call indirect_variable. - -2005-05-28 Masatake YAMATO - - * xdisp.c (note_mode_line_or_margin_highlight): Change the - pointer to a hand cursor when hoovering over a mouse-face. - -2005-05-27 Kenichi Handa - - * xterm.c (x_encode_char): Call check_ccl_update in advance. - - * ccl.c: Now an element of Vccl_program_table is a vector of - length 4, not 3. - (ccl_get_compiled_code): New arg idx. Caller changed. - Adjust for the change of Vccl_program_table. - (setup_ccl_program): Adjust for the change of Vccl_program_table. - (check_ccl_update): New function. - (Fregister_ccl_program): Use ASET to set an element of a vector. - Adjusted for the change of Vccl_program_table. - - * ccl.h (struct ccl_program): New member idx. - (check_ccl_update): Extern it. - -2005-05-27 Juanma Barranquero - - * image.c (Vimage_library_alist): Move from image.el. - (syms_of_image): Defvar it. - (lookup_image_type): Use it. - - * buffer.c (Fbuffer_local_value): Make argument name match its use - in docstring. - -2005-05-26 Juanma Barranquero - - * keyboard.c (Frecursive_edit): Fix typo in docstring. - (Fposn_at_x_y): Make argument name match its use in docstring. - -2005-05-26 Lute Kamstra - - * eval.c (Frun_hooks): Mention run-mode-hooks in docstring. - -2005-05-24 Masatake YAMATO - - * xdisp.c (note_mode_line_or_margin_highlight): Use b and e - as loop sentinels. - -2005-05-24 Nick Roberts - - * xmenu.c (Fx_popup_dialog): Add a third boolean argument to - select frame title ("Question"/"Information"). - (xdialog_show): Use it. - - * macmenu.c (Fx_popup_dialog, mac_dialog_show): As for xmenu.c. - - * w32menu.c (Fx_popup_dialog, w32_dialog_show): As for xmenu.c. - - * fns.c (Fyes_or_no_p, Fy_or_n_p): Call Fx_popup_dialog with - a third argument (Qnil). - - * lisp.h: x-popup-dialog can have three arguments. - - * editfns.c (Fmessage_box): Use "Information" for frame title. - -2005-05-23 Thien-Thi Nguyen - - * termcap.c [VMS]: Include . - -2005-05-23 Masatake YAMATO - - * xdisp.c (note_mode_line_or_margin_highlight): Add code - for mouse-face. Change the type of the first argument from `window' - to `Lisp_Object'. - (note_mouse_highlight): Call note_mode_line_or_margin_highlight with - window instead of w. - -2005-05-22 Andreas Schwab - - * process.c (send_process): Move misplaced volatile. - -2005-05-21 Richard M. Stallman - - * xdisp.c (display_mode_element): If we're processing a list and - padding is specified, put it after the last element. - -2005-05-21 Eli Zaretskii - - * fileio.c (Fexpand_file_name) [DOS_NT]: Don't try to support - "superroot" on DOS_NT systems. - -2005-05-21 David Hunter (tiny change) - - * process.c (send_process): Restore the SIGPIPE handler if we - catch a SIGPIPE. - -2005-05-20 Juanma Barranquero - - * image.c (lookup_image, png_read_from_memory): Remove hacks (and - misleading comments). - (DEF_IMGLIB_FN): Use C calling convention for image libraries. - -2005-05-20 KOBAYASHI Yasuhiro - - * window.c (Fwindow_inside_edges, Fwindow_inside_pixel_edges): - Correct the right value. - -2005-05-19 Nick Roberts - - * keyboard.c (syms_of_keyboard): Remove Lisp variables - post-command-idle-hook and post-command-idle-delay. - (command_loop_1): Don't try to execute post-command-idle-hook. - -2005-05-16 Kim F. Storm - - * xdisp.c (handle_display_prop): Handle empty replacement. - (handle_single_display_spec): Return -1 for empty replacement. - - * keyboard.c (adjust_point_for_property): Skip empty overlay string. - - * .gdbinit (pitx): Print more info about iterator. - -2005-05-16 Andreas Schwab - - * unexmacosx.c (unexec_realloc): Move declarations before statements. - -2005-05-14 Richard M. Stallman - - * xdisp.c (message3): Call cancel_echoing. - - * alloc.c (Fmemory_full_p): New function. - (syms_of_alloc): defsubr it. - - * process.c (send_process_trap): Unblock SIGPIPE. - (send_process): Reset SIGPIPE handler before reporting error. - -2005-05-14 Nick Roberts - - * emacs.c (syms_of_emacs): Fix doc string for system-type. - -2005-05-13 Richard M. Stallman - - * fileio.c (Ffind_file_name_handler): Handle lambda-exp as handler. - (Finsert_file_contents): If we read 0 bytes from a special file, - unlock the visited file if we locked it. - (Fmake_symbolic_link, Frecent_auto_save_p): Doc fixes. - (Ffile_exists_p, Ffile_symlink_p): Doc fixes. - -2005-05-13 YAMAMOTO Mitsuharu - - * emacs.c (main) [MAC_OS8]: Call init_atimer before mac_term_init. - - * keyboard.c (readable_events) [USE_TOOLKIT_SCROLL_BARS]: - Regard toolkit scroll bar thumb drag events as squeezable and prevent - redisplay from being paused by them. - - * mac.c [!MAC_OSX]: Include keyboard.h and syssignal.h. - [!MAC_OSX] (target_ticks): Remove variable. - [!MAC_OSX] (check_alarm, pause, index): Remove functions. - [!MAC_OSX && __MRC__] (sys_strftime): Likewise. - [!MAC_OSX] (select): If fd 0 is not set in rfds and some input - event occurs before timeout, behave as if the function were interrupted. - [!MAC_OSX] (sigblock, sigsetmask, alarm): Simulate SIGALRM - handling using Time Manager routines. - [!MAC_OSX] (mac_atimer_task, mac_atimer_qlink, signal_mask): - New variables. - [!MAC_OSX] (mac_atimer_handler, set_mac_atimer, remove_mac_atimer) - (setitimer): New functions. - - * macfns.c, macmenu.c: Don't include signal.h. - - * macterm.c [USE_TOOLKIT_SCROLL_BARS] (get_control_part_bounds): - Rename from get_control_part_bound. All callers changed. - (x_scroll_bar_clear): New function. - (x_clear_frame): Use it. - (XTset_vertical_scroll_bar): Don't call Draw1Control. - (x_scroll_bar_handle_click): Change type of second argument from - int to ControlPartCode. - (check_alarm): Remove declaration. - (XTread_socket) [!TARGET_API_MAC_CARBON]: Don't call it. - (XTread_socket): Use ControlPartCode instead of SInt16. - -2005-05-13 Nozomu Ando - - * unexmacosx.c: Include assert.h. - (MACOSX_MALLOC_MULT16): New define. - [MACOSX_MALLOC_MULT16] (ptr_in_unexec_regions): Determine whether - ptr is in unexec regions by checking it is multiple of 16. - (unexec_malloc_header_t): New typedef. - (unexec_malloc, unexec_realloc, unexec_free): Store and use - allocated size information in unexec_malloc_header. - -2005-05-10 Richard M. Stallman - - * xterm.c (noinclude): Add #undef. - - * image.c, xfns.c, xmenu.c: Don't include signal.h. - -2005-05-09 Juanma Barranquero - - * fileio.c (Fexpand_file_name, Frename_file, Fadd_name_to_file) - (Fmake_symbolic_link, Faccess_file, Frecent_auto_save_p): - Doc fixes. - - * dired.c (Ffile_name_completion): Make argument name - match its use in docstring. - -2005-05-08 Luc Teirlinck - - * eval.c (Fdefvaralias): Remove any pre-existing - variable-documentation property of the alias. - -2005-05-07 Thien-Thi Nguyen - - * xfns.c (start_hourglass): Do nothing when running on a tty. - -2005-05-07 Juanma Barranquero - - * fns.c (Fchar_table_range): Fix typos in docstring. - -2005-05-06 Stefan Monnier - - * fns.c (Fchar_table_range): Yet Another Int/Lisp_Object Mixup. - -2005-05-06 Eli Zaretskii - - * lread.c (Flocate_file_internal): Doc fix. - - * Makefile.in (lisp, shortlisp): Add jka-cmpr-hook.elc. - -2005-05-06 YAMAMOTO Mitsuharu - - * macselect.c (x_own_selection): Accept Lisp string as result of - selection converter function. - (x_clear_frame_selections): Don't call x-lost-selection-functions - if Emacs is not owner of the selection. - (Vmac_services_selection): Put variable and initialization in - #ifdef MAC_OSX. - (syms_of_macselect) [MAC_OSX]: Set default value of - Vmac_services_selection to PRIMARY. - - * macterm.c (toolkit_scroll_bar_interaction): Remove unused variable. - (mac_handle_tool_bar_click): Remove unused function and declaration. - [USE_TOOLKIT_SCROLL_BARS] (scroll_bar_timer_callback) - (install_scroll_bar_timer, set_scroll_bar_timer) - (control_part_code_to_scroll_bar_part, construct_scroll_bar_click) - (get_control_part_bound, x_scroll_bar_handle_press) - (x_scroll_bar_handle_release, x_scroll_bar_handle_drag) - (x_set_toolkit_scroll_bar_thumb): New functions and declarations. - [USE_TOOLKIT_SCROLL_BARS] (last_scroll_bar_part, scroll_bar_timer) - (scroll_bar_timer_event_posted_p): New variables. - [USE_TOOLKIT_SCROLL_BARS] (SCROLL_BAR_FIRST_DELAY) - (SCROLL_BAR_CONTINUOUS_DELAY): New macros. - (x_scroll_bar_create): Set control reference with NewControl. - (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: - Initialize track_top and track_height to nil. - (x_scroll_bar_set_handle, x_scroll_bar_note_movement): - Put functions in #ifndef USE_TOOLKIT_SCROLL_BARS. - (XTset_vertical_scroll_bar): Don't make space between scroll bar - and associated window. - (XTset_vertical_scroll_bar) [MAC_OSX]: Get scroll bar area width - from window config. - (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: - Set track_top and track_height to nil when scroll bar size is changed. - Recalculate them if they are nil. - (XTread_socket) [MAC_OSX]: Use control kind to determine if the - clicked control is a scroll bar. - (XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Use toolkit scroll bar - event handler functions. Don't add modifiers to scroll bar click - events. Call scroll bar release handler when window is deactivated. - (mac_initialize): Remove unused code for X toolkit. - (syms_of_macterm) [!USE_TOOLKIT_SCROLL_BARS]: - Initialize Vx_toolkit_scroll_bars to nil. - - * macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: - New members track_top and track_height. - - * sysselect.h [DARWIN || MAC_OSX]: Temporarily undefine - init_process when including sys/select.h. - -2005-05-05 Luc Teirlinck - - * eval.c (Fdefvaralias): Doc fix. - - * xmenu.c (Fx_popup_menu, Fx_popup_dialog): Doc fixes. - -2005-05-05 Kim F. Storm - - * buffer.c (init_buffer_once): Set cursor_in_non_selected_windows - default value. - (syms_of_buffer): Add default-cursor-in-non-selected-windows. - Fix type of cursor-in-non-selected-windows. - -2005-05-03 Jan Dj,Ad(Brv - - * mac.c: #undef init_process so not to conflict with system headers. - -2005-05-02 Richard M. Stallman - - * buffer.c (syms_of_buffer): Define cursor-in-non-selected-windows. - - * buffer.h (struct buffer): Add cursor_in_non_selected_windows slot. - - * xdisp.c (Vcursor_in_non_selected_windows) - (Qcursor_in_non_selected_windows): Vars deleted. - (syms_of_xdisp): Don't initialize them. - (get_window_cursor_type): Use cursor_in_non_selected_windows - buffer slot. - -2005-05-02 Kim F. Storm - - * macros.c (executing_kbd_macro_index): Rename from - executing_macro_index. All uses changed. - (executing_kbd_macro_iterations): Rename from - executing_macro_iterations. All uses changed. - (executing_kbd_macro): Rename from executing_macro. - All uses changed. - (syms_of_macros): Rename Lisp var executing-macro-index to - executing-kbd-macro-index. - - * xdisp.c (move_it_in_display_line_to): Fix last change. - -2005-05-01 Luc Teirlinck - - * xmenu.c (Fx_popup_menu): Doc fix. - - * charset.c (syms_of_charset): Delete defsubr for Schars_in_region. - -2005-05-02 Jason Rumney - - * emacs.c (USAGE3, USAGE4): Keep strings below 2048 bytes. - -2005-05-02 Nozomu Ando - - * sysselect.h: Fix typo. - -2005-05-02 Nick Roberts - - * charset.c (Fchars_in_region): Remove as obsolete. - -2005-05-01 Kim F. Storm - - * xdisp.c (move_it_in_display_line_to): Stop if we move beyond - TO_CHARPOS. This may happen if last glyphs was an image or stretch - glyph. - -2005-05-01 Luc Teirlinck - - * dispnew.c (sit_for): Vexecuting_macro -> Vexecuting_kbd_macro. - -2005-05-01 Richard M. Stallman - - * xmenu.c [not HAVE_X_TOOLKIT] (xmenu_show): - If user cancels the menu, quit unless FOR_CLICK. - - * macros.c (Vexecuting_kbd_macro): Rename from Vexecuting_macro. - All uses changed. - (syms_of_macros): Define only executing-kbd-macro, not executing-macro. - * keyboard.c: Change Vexecuting_macro to Vexecuting_kbd_macro. - * macros.h (Vexecuting_kbd_macro): Declare instead of Vexecuting_macro. - * commands.h (Vexecuting_kbd_macro): Likewise. - -2005-05-01 Thien-Thi Nguyen - - * sysdep.c (get_frame_size) [VMS]: Use a fresh i/o channel. - -2005-04-30 Richard M. Stallman - - * fileio.c (Ffind_file_name_handler): Handle the `operations' - property of the file name handler. - (Qoperations): New variable. - (syms_of_fileio): Initialize and staticpro it. - - * xdisp.c (set_message_1): Delete xassert. - -2005-04-29 YAMAMOTO Mitsuharu - - * mac.c: Don't include time.h. Include sysselect.h after systime.h. - - * macfns.c (Fx_server_version): Add BLOCK_INPUT around Gestalt. - - * macgui.h [HAVE_CARBON && MAC_OSX]: Don't undefine/define mktime - before/after including Carbon.h if there is a working mktime. - -2005-04-28 Kim F. Storm - - * xfaces.c (resolve_face_name): Add arg SIGNAL_P. Calls changed. - Fix cyclic alias check. If alias loop is detected, signal - circular-list error if SIGNAL_P, and return Qdefault if !SIGNAL_P. - -2005-04-28 Lute Kamstra - - * eval.c (do_autoload): Record only autoloads in the autoload - property of symbols. - -2005-04-28 Nick Roberts - - * emacs.c (USAGE1): Add --basic-display and --quick options. - -2005-04-27 Kim F. Storm - - * data.c (syms_of_data) Staticpro Qcyclic_variable_indirection. - -2005-04-26 Richard M. Stallman - - * window.c (Fsame_window_p, Fspecial_display_p): Doc fixes. - (syms_of_window): Doc fixes. - - * indent.c (Fvertical_motion): Undo previous change. - -2005-04-26 Kenichi Handa - - * fns.c (char_table_range): New function. - (Fchar_table_range): Signal an error if characters in the range - have inconsistent values. Don't check the parent. - -2005-04-25 Kenichi Handa - - * fontset.c (fontset_set): Fix previous change. - -2005-04-24 Richard M. Stallman - - * indent.c (Fvertical_motion): Bind fontification-functions to nil. - -2005-04-24 Eli Zaretskii - - * regex.c (re_search_2, re_match_2_internal): Convert second arg - of RE_TRANSLATE to int, to shut up GCC warnings. - - * fileio.c (Fcopy_file): Doc fix. - [MSDOS]: Fix call to emacs_open: buffer_file_type not defined and - not needed. - -2005-04-24 YAMAMOTO Mitsuharu - - * Makefile.in [HAVE_CARBON] (MAC_OBJ): Add macselect.o. - (SOME_MACHINE_OBJECTS): Likewise. - (mac.o): Depend on ccl.h. - (macselect.o): New target. - - * emacs.c (main) [MAC_OS8 || MAC_OSX && HAVE_CARBON]: - Call syms_of_macselect. - - * frame.c (Fdelete_frame) [MAC_OS]: Call x_clear_frame_selections. - - * mac.c [!TARGET_API_MAC_CARBON]: Don't include charset.h or coding.h. - (QCLIPBOARD): Remove variable. - (syms_of_mac): Don't initialize it. - (Fmac_paste_function, Fmac_cut_function, Fx_selection_exists_p): - Remove functions. - (syms_of_mac): Don't defsubr them. - [TARGET_API_MAC_CARBON] (Qmime_charset, QNFD, QNFKD, QNFC, QNFKC) - (QHFS_plus_D, QHFS_plus_C): New variables. - (syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them. - [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp) - (cfstring_create_normalized): New functions. - [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Likewise. - (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. - - * macterm.c (handling_window_update, terminate_flag): - Remove variables. - (do_window_update, do_ae_quit_application, XTread_socket): - Don't use them. - (WNE_SLEEP_AT_SUSPEND, WNE_SLEEP_AT_RESUME): Don't define. - [USE_CARBON_EVENTS && MAC_OSX] (mac_handle_service_event) - (init_service_handler): Move to macselect.c. Remove declarations. - [USE_CARBON_EVENTS && MAC_OSX] (init_service_handler): Add extern. - (Qapplication, Qabout): New variables. - (syms_of_mac): Initialize them. - [USE_CARBON_EVENTS && MAC_OSX] (Qpreferences, Qservices, Qpaste) - (Qperform): New variables. - (syms_of_mac) [USE_CARBON_EVENTS && MAC_OSX]: Initialize them. - (do_get_menus) [TARGET_API_MAC_CARBON]: Don't call AppendResMenu. - (do_menu_choice): Unhighlight menu bar also when menu_id is 0. - (mac_store_application_menu_event, init_menu_bar): New functions. - [USE_CARBON_EVENTS] (mac_handle_command_event) - (init_command_handler): New functions. - (mac_handle_window_event): Return noErr on window update event. - (do_ae_quit_application): Call mac_store_application_menu_event. - (mac_initialize) [USE_CARBON_EVENTS]: Call init_command_handler - and init_menu_bar. - - * macterm.h (x_clear_frame_selections): Add extern. - - * macselect.c: New file for selection processing on Mac OS. - -2005-04-23 Richard M. Stallman - - * fileio.c (Fcopy_file): New arg MUSTBENEW. - (Frename_file): Pass new arg to Fcopy_file. - - * window.c (window_size_fixed): Variable deleted. - (syms_of_window): Initialize window-size-fixed to nil. - But don't DEFVAR window_size_fixed. - -2005-04-23 Andreas Schwab - - * m/macppc.h (LD_SWITCH_MACHINE) [LINUX]: Don't define. - (START_FILES, LIB_STANDARD) [LINUX && _ARCH_PPC64]: Override to - use lib64 instead of lib. - (_LP64) [_ARCH_PPC64]: Define if not defined. - -2005-04-23 David Hunter (tiny change) - - * s/ms-w32.h (HAVE_PWD_H): Define. - -2005-04-22 Kenichi Handa - - * fns.c (copy_sub_char_table): Explicitly copy the default value - of the sub-chartable. - - * fontset.c (fontset_set): When a sub-chartable is created, - explicitly sets the defalt value. - -2005-04-22 Kim F. Storm - - * fns.c (Fplist_get): Replace by Fsafe_plist_get. - (Fsafe_plist_get): Rename to Fplist_get. - (Fsafe_get): Remove, as Fget now uses safe Fplist_get. - (defsubr): Remove defsubr for Fsafe_plist_get and Fsafe_get. - - * lisp.h (Fsafe_plist_get, Fsafe_get): Remove EXFUN. - - * xdisp.c (store_mode_line_string, produce_stretch_glyph) - (note_mode_line_or_margin_highlight, note_mouse_highlight): - Use Fplist_get instead of Fsafe_plist_get. - - * xfaces.c (resolve_face_name): Use Fget instead of Fsafe_get. - -2005-04-21 Miles Bader - - * xdisp.c (dump_glyph_row): Don't display overlay_arrow_p field. - -2005-04-20 Thien-Thi Nguyen - - * sysdep.c: Remove reference to defunct vms-pwd.h. - * dired.c: Likewise. Also, for pwd.h, use HAVE_PWD_H, not !VMS. - * editfns.c, fileio.c, filelock.c, sysdep.c, xrdb.c: Likewise. - - * config.in: Regenerate. - -2005-04-20 Kenichi Handa - - * lisp.h (CHAR_TABLE_DEFAULT_SLOT_ASCII): New macro. - (CHAR_TABLE_DEFAULT_SLOT_8_BIT_CONTROL): New macro. - (CHAR_TABLE_DEFAULT_SLOT_8_BIT_GRAPHIC): New macro. - - * alloc.c (make_sub_char_table): Argument changed to initial - value of the slots. - - * data.c (Faref): Handle special slots used as default values of - ascii, eight-bit-control, eight-bit-control. Don't ignore a - default value set for a group of characters. - (Faset): Signal an error if IDXVAL is not a valid character code. - Make a sub-chartable with correct initial value. - - * fns.c (Fset_char_table_range): Don't set slots used as default - values for ascii, eight-bit-control, eight-bit-graphic. - Don't call Faref with charset-id. - (Fset_char_table_default): Document how to treat normal character - argument. Handle special slots used as default values of ascii, - eight-bit-control, eight-bit-control. Make a sub chartable if - necessary. - -2005-04-20 Kenichi Handa - - * search.c (boyer_moore): Fix previous change. - -2005-04-19 Kim F. Storm - - * xdisp.c (setup_for_ellipsis): Reset saved_face_id to use default - face unless last visible char and first invisible char have the - same face. Also use default face if saved_face_id is undefined. - -2005-04-19 YAMAMOTO Mitsuharu - - * macgui.h (MacFontStruct): Remove member `fontname'. Add member - `full_name'. - [TARGET_API_MAC_CARBON] (MacFontStruct): Use type int for - mac_scriptcode member. - - * macterm.c (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): Remove variables. - (syms_of_mac): Don't initialize them. - (Vmac_charset_info_alist): New variable. - (syms_of_mac): Defvar it. - (create_text_encoding_info_alist): New function. - (decode_mac_font_name, mac_to_x_fontname) - (x_font_name_to_mac_font_name, init_font_name_table): Don't hard - code the correspondence among XLFD charsets, Mac script codes, and - Emacs coding systems. Use Vmac_charset_info_alist and result of - create_text_encoding_info_alist instead. - (init_font_name_table) [TARGET_API_MAC_CARBON]: Use Font Manager - routines also on Mac OS Classic. - (init_font_name_table) [!TARGET_API_MAC_CARBON]: - Use add_font_name_table_entry. - (mac_do_list_fonts): Regard 0 in XLFD scaleble fields as - specified. Derive unspecified scalable fields from specified one. - (x_list_fonts): Consider Valternate_fontname_alist. - (kDefaultFontSize): Change value from 9 to 12. - (XLoadQueryFont): Get decoded font family, font face, and charset - from x_font_name_to_mac_font_name. Set full name of loaded font. - (mac_unload_font): Free `full_name' member. - (x_load_font): Don't try XLoadQueryFont if x_list_fonts returns - NULL. Copy full_name member of struct MacFontStruct to that of - struct font_info. - -2005-04-19 Kim F. Storm - - * xdisp.c (handle_stop): Set saved_face_id to current face if - selective_display_ellipsis_p so ellipsis will be shown in same - face as preceding text. - (setup_for_ellipsis): Don't set saved_face_id here. - (next_element_from_display_vector): Default to saved_face_id. - - * fns.c (Fsafe_get): New function. - (syms_of_fns): Defsubr it. - - * lisp.h (Fsafe_get): EXFUN it. - - * xfaces.c (resolve_face_name): Use Fsafe_get to avoid redisplay - loops in case of bad face property lists. Limit number of face - alias lookups to 10 (in case of face alias loops). - -2005-04-18 Kim F. Storm - - * dispextern.h (struct glyph_row): New member overlay_arrow_bitmap. - It replaces the corresponding member from struct window, as a - window may now show multiple overlay arrows. - Remove member overlay_arrow_p, superseeded by overlay_arrow_bitmap. - - * dispnew.c (row_equal_p, update_window_line, scrolling_window): - Compare overlay_arrow_bitmap than overlay_arrow_p members. - - * fringe.c (draw_fringe_bitmap): Use overlay_arrow_bitmap from row - rather than from window. - (update_window_fringes): Compare overlay_arrow_bitmap rather than - overlay_arrow_p members. - (Ffringe_bitmaps_at_pos): Return fringe overlay_arrow_bitmap name - if not default. - - * window.h (struct window): Remove member overlay_arrow_bitmap. - - * window.c (make_window): Don't initialize overlay_arrow_bitmap. - - * xdisp.c (overlay_arrow_string_or_property): Remove PBITMAP arg. - Calls changed. Don't check for overlay-arrow-bitmap property here. - (overlay_arrow_at_row): Remove PBITMAP arg. Instead, if left - fringe is present, return Lisp integer for bitmap (or -1 for default). - Fix value of overlay-arrow-bitmap property to be a symbol, use - lookup_fringe_bitmap to parse it. - (display_line): Change call to overlay_arrow_at_row. Store integer - return value as overlay bitmap in row rather than window. - Only show overlay arrow if row displays text, or if no other overlay - arrow is seen in window (if overlay marker is at point-max). - -2005-04-18 Thien-Thi Nguyen - - * xfaces.c (realize_x_face) [!HAVE_WINDOW_SYSTEM]: Return NULL. - -2005-04-18 Lute Kamstra - - * lread.c (Vloads_in_progress): Static. - * fns.c (Vloads_in_progress): Remove extern. - (load_in_progress): Add extern. - (Frequire): Use load_in_progress instead of Vloads_in_progress. - -2005-04-18 Thien-Thi Nguyen - - * xmenu.c (Fx_popup_menu): Initialize error_name to NULL. - -2005-04-18 YAMAMOTO Mitsuharu - - * macterm.c (XTread_socket): Don't beep on keyboard input even if - no frame is visible. - -2005-04-16 Dan Nicolaescu - - * term.c (struct keys): Add support for shifted keys. - -2005-04-16 Richard M. Stallman - - * xdisp.c (with_echo_area_buffer): Delete WHICH < 0 case. - (set_message): Call with_echo_area_buffer with WHICH = 0. - (set_message_1): Erase the echo area buffer first thing. - (echo_area_display): Don't clear echo_message_buffer. - -2005-04-16 YAMAMOTO Mitsuharu - - * Makefile.in (mac.o): Depend on charset.h and coding.h. - - * mac.c: Include charset.h and coding.h. - [TARGET_API_MAC_CARBON] (Qutf_8): Remove extern. - [TARGET_API_MAC_CARBON] (cfstring_create_with_string): New function. - [TARGET_API_MAC_CARBON] (Fmac_get_preference): Use it. - - * macfns.c [TARGET_API_MAC_CARBON] (Fx_file_dialog): Likewise. - - * image.c [MAC_OSX] (image_load_quartz2d): Likewise. - - * macterm.c (x_autoselect_window_p): Remove variable. - (last_window): New variable. - (XTreassert_line_highlight, x_change_line_highlight): - Remove declarations. - (mac_focus_changed, x_detect_focus_change): New functions and - declarations. - (XTextExtents16, front_emacs_window): Remove function. - (mac_focus_frame): New function. - (XTmouse_position, do_menu_choice, do_zoom_window, XTread_socket) - (mac_check_for_quit_char): Use it instead of front_emacs_window. - (x_scroll_bar_report_motion): Obtain window from control owner. - (x_make_frame_invisible): Set window manager size hint. - (do_mouse_moved): Remove function. - (XTread_socket): Move its contents here. Generate select-window - event on mouse movement if needed. Use x_detect_focus_change on - activate/deactivate events. Don't deiconify frame or invalidate - window rectangle when dnd items are dropped. - Don't activate/deactivate root control. - (frame_highlight, frame_unhighlight): Activate/deactivate root - control here. - (syms_of_macterm): Delete DEFVAR_BOOL for x_autoselect_window_p. - - * macterm.h (cfstring_create_with_string) [TARGET_API_MAC_CARBON]: - New extern. - -2005-04-15 Luc Teirlinck - - * Makefile.in: Define new macro TOOLTIP_SUPPORT. - (lisp): Use it. - (SOME_MACHINE_LISP): Add tooltip. - -2005-04-14 YAMAMOTO Mitsuharu - - * mac.c [!TARGET_API_MAC_CARBON]: Include MacLocales.h. - Don't include TextEncodingConverter.h. - (mac_system_script_code, Vmac_system_locale): New variables. - (syms_of_mac): Defvar them. - (mac_get_system_locale): New function. - - * macfns.c (x_set_name, x_set_title) [!TARGET_API_MAC_CARBON]: - Use ENCODE_SYSTEM to encode title bar string. - (x_create_tip_frame): Apply 2005-03-18 change for xfns.c. - (Fx_file_dialog) [TARGET_API_MAC_CARBON && !MAC_OSX]: - Use CFStringGetSystemEncoding to get system default string encoding. - - * macterm.c [!TARGET_API_MAC_CARBON]: Don't include - TextEncodingConverter.h. - -2005-04-13 Steven Tamm - - * macterm.c (syms_of_macterm): Remove redundant definition of - mac-pass-control-to-system. - -2005-04-12 Stefan Monnier - - * window.c (Fset_window_configuration): Be careful when you choose - among several possible points for the new_current_buffer. - -2005-04-12 YAMAMOTO Mitsuharu - - * keyboard.c (poll_for_input) [SYNC_INPUT]: Don't call - poll_for_input_1. Set interrupt_input_pending to 1 instead. - (Qlanguage_change) [MAC_OS]: New variable. - (syms_of_keyboard) [MAC_OS]: Intern and staticpro it. - (kbd_buffer_get_event) [MAC_OS]: Make event for LANGUAGE_CHANGE_EVENT. - - * macterm.c (mac_keyboard_text_encoding) - (current_mac_keyboard_text_encoding): Remove variables. - (XTread_socket): Store language-change event if keyboard script change - is detected. Don't convert input to `mac_keyboard_text_encoding'. - (syms_of_macterm): Delete DEFVAR_INT for mac-keyboard-text-encoding. - - * termhooks.h (enum event_kind) [MAC_OS]: Add LANGUAGE_CHANGE_EVENT. - -2005-04-10 Richard M. Stallman - - * emacs.c (standard_args): Rename --bare-bones to --quick. - Add -D aka --basic-display. - - * buffer.c (Fmake_indirect_buffer): Clear out some local variables. - -2005-04-09 Richard M. Stallman - - * keymap.c (where_is_internal): Convert a string used as event type - into "(any string)". - - * lread.c (Vloads_in_progress): Not static. - * fns.c (Vloads_in_progress): Add extern. - (Frequire): Don't do LOADHIST_ATTACH if Vloads_in_progress is nil. - -2005-04-09 Thien-Thi Nguyen - - * dispnew.c (mirror_line_dance): Avoid crash if W2 is null. - -2005-04-09 Lute Kamstra - - * print.c (PRINTPREPARE): Check if the marker PRINTCHARFUN is - within the accessible part of the buffer. - -2005-04-09 Kim F. Storm - - * lread.c (readevalloop): Add args START and END as region in - current buffer to read. Callers changed. - When specified, narrow to this region only when reading, - not during eval. Track next point to read from during eval. - Also restore point to "real" buffer position before eval. - (Feval_region): Don't save excursion and restriction here, and - don't narrow to region. Just pass region to readevalloop. - Note: Point is now preserved even when PRINTFLAG is nil. - -2005-04-08 Kim F. Storm - - * xdisp.c (syms_of_xdisp): Init overlay-arrow-string to "=>". - -2005-04-06 Kim F. Storm - - * emacs.c (standard_args): Add -Q, --bare-bones, -bare-bones. - -2005-04-06 YAMAMOTO Mitsuharu - - * mac.c (cfdate_to_lisp): Add `const' for variable `epoch_gdate'. - (Fmac_get_preference): Doc fix. - - * macfns.c (Fx_create_frame, x_create_tip_frame): - Add "fontset-mac" to fallback font/fontsets. - -2005-04-04 Kim F. Storm - - * alloc.c (Fgarbage_collect): Call CHECK_CONS_LIST before and after gc. - - * eval.c (Ffuncall): Always call CHECK_CONS_LIST on entry. - Call it again after autoload. - -2005-04-02 Jan Dj,Ad(Brv - - * alloc.c (allocate_string_data): Call BLOCK_INPUT before calling - mallopt. - - * ralloc.c (r_alloc_init): Ditto. - -2005-04-01 Kenichi Handa - - * lisp.h (Vascii_upcase_table, Vascii_canon_table) - (Vascii_eqv_table): Extern them. - - * casetab.c (set_case_table): If standard is nonzero, setup - Vascii_upcase_table, Vascii_canon_table, and Vascii_eqv_table. - - * search.c (looking_at_1): Use current_buffer->case_canon_table, - not DOWNCASE_TABLE. - (string_match_1): Likewise. - (fast_c_string_match_ignore_case): Use Vascii_canon_table, not - Vascii_downcase_table. - (fast_string_match_ignore_case): Likewise. - (search_buffer): Fix checking of boyer-moore usability. - (boyer_moore): Calculate translate_prev_byte1/2/3 in advance. - No need of tranlating characters in PAT. Fix calculation of - simple_translate. - -2005-03-31 Stefan Monnier - - * xterm.c [HAVE_XAW3D]: Include ThreeD.h for XtNbeNiceToColormap. - (x_create_toolkit_scroll_bar): Test XtNbeNiceToColormap before using it. - Use XtNtopShadowPixel and XtNbottomShadowPixel. - (x_set_toolkit_scroll_bar_thumb): Remove ugly old hack that didn't - really work and that breaks with some versions of Xaw3d. - -2005-03-31 Kenichi Handa - - * coding.c (syms_of_coding): Fix previous change. - -2005-03-30 Stefan Monnier - - * fileio.c (search_embedded_absfilename): Fix last change. - -2005-03-25 Kenichi Handa - - * coding.c (syms_of_coding): Suggest to use set-coding-category in - the docstring of coding-category-list. - -2005-03-31 Kim F. Storm - - * keyboard.c (Qmouse_fixup_help_message): New var. - (syms_of_keyboard): Intern and staticpro it. - (show_help_echo): Apply mouse-fixup-help-message to help string. - -2005-03-30 Kim F. Storm - - * xdisp.c (display_line): Allow multiple overlay arrows in window. - -2005-03-28 Stefan Monnier - - * fileio.c (Fexpand_file_name): Use IS_DEVICE_SEP. - (file_name_absolute_p): New fun, extracted from Ffile_name_absolute_p. - (Ffile_name_absolute_p): Use it. - (search_embedded_absfilename): New fun, extracted from - Fsubstitute_in_file_name. Use file_name_absolute_p. - Free the pw data after use. - (Fsubstitute_in_file_name): Use it. - After cutting a prefix, re-check file-name-handler. - -2005-03-26 Lennart Borgman - - * w32term.h (x_output): Add focus_state. - - * w32term.c (x_focus_changed, w32_detect_focus_change): New functions. - (w32_read_socket) : Call w32_detect_focus_change. - -2005-03-25 Stefan Monnier - - * minibuf.c (Fminibuffer_complete_and_exit, Fself_insert_and_exit): - Use Fexit_minibuffer. - (Fexit_minibuffer): Mark it as no-return, deactivate the mark. - -2005-03-24 Stefan Monnier - - * dired.c (Ffile_attributes): Add a missing gcpro. - - * alloc.c (make_number): The arg can be bigger than `int'. - * lisp.h (make_number): Make prototype more precise. - - * process.c, dired.c (Vfile_name_coding_system) - (Vdefault_file_name_coding_system): - * callproc.c (Vdoc_file_name, Vfile_name_coding_system) - (Vdefault_file_name_coding_system): Remove unused declarations. - -2005-03-24 Jan Dj,Ad(Brv - - * xmenu.c (create_and_show_popup_menu): Just remove menu and return - if it failed to pop up (Gnome "show pointer on ctrl" option makes - menus fail to pop up). - -2005-03-24 Stefan Monnier - - * xdisp.c (get_next_display_element): Also use `\ ' & `\-' for latin-9. - Just prepend a backslash without replacing the NBSP by an SPC. - -2005-03-22 Kim F. Storm - - * xfaces.c (lookup_derived_face): Add arg SIGNAL_P. - * dispextern.h (lookup_derived_face): Fix prototype. - * msdos.c (XMenuActivate): Fix call to lookup_derived_face. - - * xdisp.c (handle_single_display_spec): Derive left-fringe and - right-fringe face from fringe face. - - * fringe.c (draw_fringe_bitmap_1, Fset_fringe_bitmap_face): - Derive face from fringe face. - -2005-03-22 Jan Dj,Ad(Brv - - * xrdb.c (x_load_resources): Undo previous change (2005-03-18). - -2005-03-22 David Kastrup - - * textprop.c (Fnext_char_property_change) - (Fprevious_char_property_change): Allow marker as limit. - (Fnext_single_char_property_change) - (Fprevious_single_char_property_change): Check that limit is a - number in strings. - (Fnext_single_char_property_change): Coerce position to integer. - (Fprevious_single_char_property_change): Same here. - -2005-03-21 Thien-Thi Nguyen - - * s/openbsd.h (LD_SWITCH_SYSTEM_tmp): Define if undefined. - -2005-03-19 Stefan Monnier - - * frame.c (Fignore_event): Remove. - (syms_of_frame): Don't defsubr it. - - * keyboard.c (keys_of_keyboard): Just use `ignore' instead of the - redundant `ignore-event'. - -2005-03-19 Eli Zaretskii - - * unexec.c (write_segment, unexec): Move these functions to avoid - forward references (which cause errors with "gcc -gcoff"). - -2005-03-18 Jan Dj,Ad(Brv - - * xfns.c (x_create_tip_frame): Remove setting of Vx_resource_name so - that it doesn't become "tooltip". The specbind is enough. - - * xrdb.c (x_load_resources): Use different char *helv when I18N - is present. - -2005-03-17 Kenichi Handa - - * coding.c (syms_of_coding): Docstring of coding-category-list fixed. - -2005-03-17 Stefan Monnier - - * xfaces.c (x_update_menu_appearance) [HAVE_X_I18N]: - Use xic_create_fontsetname even for non-Motif menus. - Don't forget to free the fontsetname. - - * xfns.c (xic_create_fontsetname): Add a final catch-all font pattern. - -2005-03-17 Richard M. Stallman - - * dispnew.c (mirror_line_dance): Set W2 according to FRAME_FROM. - - * fileio.c (Fcopy_file, Frename_file, Fadd_name_to_file) - (Fmake_symbolic_link): Use G to read the new file name. - - * callint.c (Finteractive): Document G option. - (Fcall_interactively): Implement G option. - - * buffer.c (buffer_lisp_local_variables): New function, - broken out from Fbuffer_local_variables. - (clone_per_buffer_values): Use buffer_lisp_local_variables. - -2005-03-17 Stefan Monnier - - * xfns.c (xic_create_fontsetname): Add `motif' argument. - Always return a freshly allocated string. - (xic_create_xfontset): Adjust call. - - * xfaces.c (x_update_menu_appearance) [USE_MOTIF]: - Use xic_create_fontsetname to create a fontset so utf-8 locales work. - (dump_realized_face): Fix warning. - - * emacs.c (Fkill_emacs): YAILOM. - - * frame.c (Fignore_event): Fix ancient obscure C-u handling bug. - -2005-03-17 YAMAMOTO Mitsuharu - - * mac.c (HASHKEY_TERMINAL): Remove. - (HASHKEY_MAX_NID): New macro. - (xrm_q_get_resource_1): Rename from xrm_q_get_resource. Add extra - argument. - (xrm_q_get_resource): Call xrm_q_get_resource_1 with extra argument. - (xrm_create_database, xrm_q_put_resource) - (xrm_merge_string_database, xrm_q_get_resource_1) - (xrm_q_get_resource): Change resource database representation so - that it may not use multiple hash tables for a single database. - [TARGET_API_MAC_CARBON] (xrm_cfproperty_list_to_value): YAILOM. - -2005-03-16 Stefan Monnier - - * xmenu.c (ENCODE_MENU_STRING) [HAVE_X_I18N]: Use ENCODE_SYSTEM. - - * coding.h (ENCODE_SYSTEM, DECODE_SYSTEM) [!WINDOWSNT]: Use the - locale-coding-system, as was already done for WINDOWSNT. - - * keyboard.c (read_char): Only do the 7-bit-meta -> 27-bit-meta - translation for chars in the 0-255 range. - -2005-03-16 Lute Kamstra - - * floatfns.c (Ffloor): Doc fix. - -2005-03-16 YAMAMOTO Mitsuharu - - * mac.c: Include macterm.h instead of directly including Carbon.h. - [TARGET_API_MAC_CARBON] (Qstring, Qnumber, Qboolean, Qdate, Qdata) - (Qarray, Qdictionary): New variables. - (syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them. - [TARGET_API_MAC_CARBON] (Qutf_8): Add extern. - [TARGET_API_MAC_CARBON] (DECODE_UTF_8): New macro. - [TARGET_API_MAC_CARBON] (struct cfdict_context): New struct used - in callback for CFDictionaryApplyFunction. - [TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp) - (cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp) - (cfobject_desc_to_lisp, cfdictionary_add_to_list) - (cfdictionary_puthash, cfproperty_list_to_lisp): New functions. - [TARGET_API_MAC_CARBON] (Fmac_get_preference): New function. - (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. - (P, LOOSE_BINDING, SINGLE_COMPONENT, HASHKEY_TERMINAL): New macro. - (skip_white_space, parse_comment, parse_include_file) - (parse_binding, parse_component, parse_resource_name, parse_value) - (parse_resource_line, xrm_create_database, xrm_q_put_resource) - (xrm_merge_string_database, xrm_q_get_resource, xrm_get_resource) - (xrm_cfproperty_list_to_value, xrm_get_preference_database): - New functions. - - * macfns.c (mac_get_rdb_resource): Remove function. - (x_get_string_resource): Use xrm_get_resource. - - * macgui.h (XrmDatabase): Typedef to Lisp_Object. - - * macterm.c (x_list_fonts): FONT-LIST-CACHE is now cadr part of - name_list_element. - (mac_make_rdb): Create resource database from preferences and - argument string. - (mac_term_init): Save resource database to cddr part of - name_list_element. - - * macterm.h (xrm_merge_string_database, xrm_get_resource) - (xrm_get_preference_database): Add externs. - [TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp) - (cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp) - (cfobject_desc_to_lisp, cfproperty_list_to_lisp): Likewise. - - * process.c (init_process): Change `#ifdef DARWIN' to `#if - defined (DARWIN) || defined (MAC_OSX)' - - * s/darwin.h (DARWIN): Don't define. - -2005-03-16 YAMAMOTO Mitsuharu - - * macfns.c (Qhyper, Qsuper, Qmeta, Qalt, Qctrl, Qcontrol, Qshift): - Remove unused variables. - (syms_of_macfns): Don't initialize them. Likewise for - Qface_set_after_frame_default. Defvar and initialize - Vx_window_horizontal_drag_shape. - (x_set_mouse_color): Change mouse pointer shape. - (mac_window) [!MAC_OSX]: Create root control. - (Fx_create_frame): Remove initializations of mouse pointer shapes. - (hourglass_started): New function (from xfns.c). - (start_hourglass, cancel_hourglass): Put function body in #ifdef - MAC_OSX. - (show_hourglass) [TARGET_API_MAC_CARBON]: Create progress - indicator for each non-tooltip frame if needed, and show it. - (hide_hourglass) [TARGET_API_MAC_CARBON]: Hide progress indicators. - - * macgui.h [!TARGET_API_MAC_CARBON]: Include Appearance.h and - Controls.h. Use ThemeCursor instead of CursHandle. - - * macterm.c (activate_scroll_bars, deactivate_scroll_bars): - Remove functions and declarations. - (mac_set_colors): Take argument for saving background color. - All callers changed. - (XDrawLine, XClearArea, mac_draw_bitmap, XFillRectangle) - (mac_draw_rectangle, mac_draw_string_common): Save and Restore - background color. - (x_update_end, mac_do_track_drag): Don't reset background color. - (mac_define_frame_cursor) [!TARGET_API_MAC_CARBON]: - Use SetThemeCursor. - (x_set_window_size) [TARGET_API_MAC_CARBON]: Move progress - indicator control to the upper-right corner of the window. - (arrow_cursor) [!TARGET_API_MAC_CARBON]: Remove variable. - (do_init_managers) [!TARGET_API_MAC_CARBON]: Don't initialize it. - (do_window_update): Update controls after updating content area. - (mac_handle_window_event): Remove unused extern. - (XTread_socket): Check both control handle and control part code - to determine whether a scroll bar is clicked. Activate/deactivate - root control instead of contained scroll bar controls. - (make_mac_terminal_frame): Use ThemeCursor constants. - - * macterm.h (struct mac_output) [TARGET_API_MAC_CARBON]: - New member hourglass_control. - (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): New defines. - (activate_scroll_bars, deactivate_scroll_bars): Remove declarations. - -2005-03-15 YAMAMOTO Mitsuharu - - * macterm.c (keycode_to_xkeysym_table): Change mapping so that it - coincides with that in Apple X11 except `clear', `enter' on - laptops, and fn + `enter' on laptops. - -2005-03-12 Stefan Monnier - - * xmenu.c (ENCODE_MENU_STRING): Explicitly use string_make_unibyte. - (list_of_panes, list_of_items, Fx_popup_menu): Use XCAR/XCDR. - (digest_single_submenu, xmenu_show): Use ENCODE_MENU_STRING. - - * xfns.c (xic_defaut_fontset): New constant. - (xic_create_fontsetname): New function. - Extracted from create_frame_xic. Try to generate a slightly - better fontset. - (xic_create_xfontset): Use it. - (create_frame_xic): Simplify. - -2005-03-11 Stefan Monnier - - * fileio.c (Fmake_symbolic_link): Fix last change. - -2005-03-11 Richard M. Stallman - - * fileio.c (Frename_file, Fadd_name_to_file) - (Fmake_symbolic_link): If NEWNAME or LINKNAME is a directory, - expand the basename of FILE relative to it. - -2005-03-11 Kenichi Handa - - * fileio.c (Finsert_file_contents): Call Fcheck_coding_system - before calling setup_coding_system so that autoloading of a coding - system work. - -2005-03-10 Jan Dj,Ad(Brv - - * xfns.c (hourglass_started): New function. - - * dispextern.h: Declare hourglass_started. - - * keyboard.c (Fexecute_extended_command): Restart hourglass - after call to Fcompleting_read if already started. - - * gtkutil.c (xg_update_scrollbar_pos): Call x_sync so that the - GTK main loop is entered in xterm.c, thus doing the redraw. - -2005-03-10 Kim F. Storm - - * xdisp.c (pos_visible_p): Fix X value in last line of buffer. - -2005-03-08 Kenichi Handa - - * frame.c (x_set_font): Call set_default_ascii_font if an - available font is found. - - * fontset.c (set_default_ascii_font): New function. - (syms_of_fontset): Don't set FONTSET_ASCII (Vdefault_fontset) here. - - * fontset.h (set_default_ascii_font): Extern it. - -2005-03-07 Kim F. Storm - - * xdisp.c (CLEAR_IMAGE_CACHE_COUNT): New const. - (clear_image_cache_count): New var. - (redisplay_internal): Don't clear face and image caches in the - middle of redisplay; do it afterwards. - - * blockinput.h (TOTALLY_UNBLOCK_INPUT): Avoid dangling else. - - * xdisp.c (notice_overwritten_cursor): Check that phys_cursor.vpos - is valid. If not, clear phys_cursor_on_p and return. - -2005-03-07 Andreas Schwab - - * blockinput.h (UNBLOCK_INPUT_TO): Always call UNBLOCK_INPUT. - -2005-03-06 Richard M. Stallman - - * keyboard.c (Ftop_level): Let Fthrow deal with UNBLOCK_INPUT. - - * eval.c (unwind_to_catch): Use UNBLOCK_INPUT_TO. - (Feval, Ffuncall): Use CHECK_CONS_LIST. - - * lisp.h (CHECK_CONS_LIST): New macro (two definitions). - - * blockinput.h (UNBLOCK_INPUT_TO): New macro. - (TOTALLY_UNBLOCK_INPUT): Handle a pending signal if any. - -2005-03-05 Juri Linkov - - * emacs.c (USAGE1): Replace Info node name "command arguments" - with "emacs invocation". - (USAGE3): Fix usage of `--color=MODE' which actually doesn't - allow arguments `--color' and `MODE' to be separated by space. - Add --no-blinking-cursor, -nbc. - (standard_args): Add -nbc, --no-blinking-cursor. - -2005-03-04 Thien-Thi Nguyen - - * s/vms.h: Define NO_HYPHENS_IN_FILENAMES. - * s/vms4-4.h, s/vms5-5.h: Undefine NO_HYPHENS_IN_FILENAMES. - * fileio.c (Fexpand_file_name) [VMS]: - Use NO_HYPHENS_IN_FILENAMES, not VMS4_4. - * doc.c (munge_doc_file_name) [VMS]: Likewise. - (Fsnarf_documentation): Call munge_doc_file_name. - -2005-03-04 Thien-Thi Nguyen - - * s/vms.h (FILE_SYSTEM_CASE): New macro. - * fileio.c (Fexpand_file_name) [VMS]: Don't upcase the name - "manually"; this is now handled generally via FILE_SYSTEM_CASE. - -2005-03-04 YAMAMOTO Mitsuharu - - * emacs.c (main): Change `#ifdef HAVE_CARBON' to `#if - defined (MAC_OSX) && defined (HAVE_CARBON)'. - - * image.c [!MAC_OSX && TARGET_API_MAC_CARBON]: Include QuickTime.h. - - * mac.c [!MAC_OSX && HAVE_CARBON]: Include Carbon.h. - [!MAC_OSX] (select) [TARGET_API_MAC_CARBON]: Use ReceiveNextEvent. - (posix_pathname_to_fsspec, fsspec_to_posix_pathname): New functions. - (mac_clear_font_name_table): Move extern to macterm.h. - - * macfns.c (install_window_handler): Move extern to macterm.h. - (Fx_file_dialog): Check STRINGP (default_filename) to see it is - valid. Don't check !NILP (dir) because it is already checked with - CHECK_STRING. - (Fx_file_dialog) [!MAC_OSX]: Use FSSpec instead of FSRef for - specifying the default location and obtaining the selected filename. - - * macgui.h [!MAC_OSX && HAVE_CARBON]: Include Carbon.h. - - * macmenu.c [TARGET_API_MAC_CARBON]: Don't include headers that - are included via Carbon.h. - - * macterm.c [TARGET_API_MAC_CARBON && !MAC_OSX]: - Define USE_CARBON_EVENTS to 1. - (qd) [__MRC__ && TARGET_API_MAC_CARBON]: Don't declare. - (x_free_frame_resources): Call remove_window_handler for - non-tooltip windows. - [TARGET_API_MAC_CARBON]: Don't include headers that are included - via Carbon.h. - [TARGET_API_MAC_CARBON] (mac_do_track_dragUPP) - (mac_do_receive_dragUPP): New variables. - (mac_handle_service_event, init_service_handler): Put declarations - and definitions in #ifdef MAC_OSX. - (install_window_handler) [TARGET_API_MAC_CARBON]: Create UPPs for - drag-and-drop handler functions and register them. - (remove_window_handler): New function. - (do_ae_open_documents, mac_do_receive_drag) [!MAC_OSX]: - Use fsspec_to_posix_pathname. - (main): Change #if !TARGET_API_MAC_CARBON to #ifdef MAC_OS8. - (XTread_socket) [!MAC_OSX]: Don't pass keyboard events to TSM. - [MAC_OS8] (make_mac_terminal_frame) [TARGET_API_MAC_CARBON]: - Set default cursors. - (mac_initialize) [USE_CARBON_EVENTS && !MAC_OSX]: Don't call - init_service_handler or init_quit_char_handler. - (mac_initialize) [!MAC_OSX]: Don't call MakeMeTheFrontProcess. - - * macterm.h (install_window_handler, remove_window_handler) - (posix_pathname_to_fsspec, fsspec_to_posix_pathname) - (mac_clear_font_name_table): New externs. - -2005-03-03 Thien-Thi Nguyen - - * fileio.c (FILE_SYSTEM_CASE): Define macro if not already defined. - (Ffile_name_directory): Use FILE_SYSTEM_CASE unconditionally. - (Fexpand_file_name): Likewise. - -2005-03-03 Thien-Thi Nguyen - - * emacs.c (Fkill_emacs): Use EXIT_SUCCESS; - no longer special-case VMS. Add bogus return value. - -2005-03-02 Kim F. Storm - - * dispextern.h (XASSERTS): Define to 0 if not already defined. - (xassert) [!XASSERTS]: Define dummy version. - -2005-03-02 Kim F. Storm - - * xdisp.c (redisplay_window): YABX (yet another bogus xassert). - Reported by David Kastrup. - -2005-03-01 Ehud Karni - - * xdisp.c (get_next_display_element): Fix control and escape - glyph from display vector. - -2005-03-01 Stefan Monnier - - * keyboard.c (Fposn_at_x_y): Check integerness of X and Y. - -2005-02-27 Richard M. Stallman - - * xdisp.c (fast_find_position): Rename END to BEG. - (syms_of_xdisp) : Doc fix. - -2005-02-27 Jan Dj,Ad(Brv - - * gtkutil.c (xg_resize_outer_widget): Remove unneeded call to - gtk_window_resize and x_wm_set_size_hint. - -2005-02-25 Kim F. Storm - - * dispextern.h (OVERLAY_STRING_CHUNK_SIZE): Increase from 3 to 16. - - * xdisp.c (init_from_display_pos): Don't read past end of - it->overlay_strings array. - -2005-02-25 Stephan Stahl (tiny change) - - * buffer.c (syms_of_buffer): Fix typo. - -2005-02-23 Lute Kamstra - - * buffer.c (Foverlay_buffer): Doc fix. - -2005-02-22 Kim F. Storm - - * minibuf.c (Ftry_completion, Fall_completions): Allow both string - and symbol keys in alists and hash tables. - - * xdisp.c (fast_find_position): Fix search for start of overlay. - -2005-02-21 Kim F. Storm - - * window.c (window_scroll_pixel_based): When scrolling backwards, - handle partial visible line at end of window even when we hit PT. - -2005-02-21 Stefan Monnier - - * keymap.h: Declare Fcurrent_active_maps, used in doc.c. - -2005-02-21 Kim F. Storm - - * xdisp.c (move_it_vertically_backward): Eliminate two xasserts. - I think those asserts are bogus if buffer contains invisible text - or images. - -2005-02-21 David Kastrup - - * gtkutil.c (xg_create_frame_widgets): UNBLOCK_INPUT on error. - -2005-02-20 Kim F. Storm - - * xdisp.c (pos_visible_p): Be sure to move to the specified - position. Always get the full ascent / descent of the - corresponding row, to return reliable rtop and rbot values. - (back_to_previous_visible_line_start): Fix 2005-01-18 change. - Must look one character back, as back_to_previous_line_start - returns position after the newline. - (move_it_vertically_backward): Fix heuristic for when to move further - back in case line_height * 2/3 is larger than window height. - (cursor_row_fully_visible_p): Rename make_cursor_line_fully_visible_p - as it does not do anything anymore. Add arg current_matrix_p to - use current matrix rather than desired matrix when set. - (try_cursor_movement): Don't scroll to make cursor row fully - visible if cursor didn't move. This avoids unexpected recentering - in case of blinking cursor or accepting process output. - Use current matrix to check cursor row visibility. - (redisplay_window): Fix whether to recenter or move to top in case - cursor line is taller than window height. - (find_first_unchanged_at_end_row): Stop search if we reach a row - which not enabled (instead of abort). - -2005-02-18 Kim F. Storm - - * xfaces.c (Finternal_set_lisp_face_attribute): Allow :color property - to be nil in a :box attribute value list; customize prints that - as lisp value when no box color is specified. - - * .gdbinit (pitx, pit): Pretty print display iterator. - (prowx, prow): Pretty print glyph row. - (pcursorx, pcursor): Pretty print a window cursor. - (pwinx, pwin): Pretty print struct window. - -2005-02-18 Stefan Monnier - - * alloc.c (BLOCK_BYTES): Harmless typo. - -2005-02-17 Andreas Schwab - - * xfns.c (hack_wm_protocols): Use correct type for last parameter - of XGetWindowProperty to avoid aliasing issues. - (Fx_window_property): Likewise. - - * xselect.c (Fx_disown_selection_internal): Use union of struct - input_event and struct selection_input_event to avoid aliasing issues. - - * xterm.c (handle_one_xevent): Use union of struct input_event and - struct selection_input_event to avoid aliasing issues. - (SET_SAVED_MENU_EVENT): Adapt reference to inev. - -2005-02-17 Kim F. Storm - - * dispextern.h (enum it_method): New enum. - (GET_FROM_*): Its members. - (struct it): Change member method from function pointer to enum. - - * xdisp.c (check_it, init_from_display_pos, handle_stop) - (setup_for_ellipsis, handle_single_display_spec) - (handle_composition_prop, next_overlay_string) - (get_overlay_strings, reseat_1, reseat_to_string) - (next_element_from_ellipsis, BUFFER_POS_REACHED_P) - (in_display_vector_p, display_line, get_next_display_element): - Change it->method from function pointer to enum. - (get_next_element): New array to map it->method to function. - (get_next_display_element): Use it. - (set_iterator_to_next): Use switch instead of if/else chain. - -2005-02-15 Benjamin Riefenstahl - - * w32select.c: Summary: Thorough rework to implement Unicode - clipboard operations and delayed rendering. - - Drop last_clipboard_text and related code, keep track of - ownership via clipboard_owner instead. Drop old #if0 sections. - - (DEFAULT_LCID, ANSICP, OEMCP, QUNICODE, QANSICP, QOEMCP) - (clipboard_owner, modifying_clipboard, cfg_coding_system) - (cfg_codepage, cfg_lcid, cfg_clipboard_type, current_text) - (current_coding_system, current_requires_encoding) - (current_num_nls, current_clipboard_type, current_lcid): - New static variables. - - (convert_to_handle_as_ascii, convert_to_handle_as_coded) - (render, render_all, run_protected, lisp_error_handler) - (owner_callback, create_owner, setup_config) - (enum_locale_callback, cp_from_locale, coding_from_cp): - New local functions. - - (term_w32select, globals_of_w32select): New global functions. - - (Fw32_set_clipboard_data): Ignore parameter FRAME, use - clipboard_owner instead. Use delayed rendering and provide - all text formats. Provide CF_LOCALE if necessary. - - (Fw32_get_clipboard_data): Handle CF_UNICODETEXT and - CF_LOCALE. Fall back to CF_TEXT, if CF_UNICODETEXT is not - available. Force DOS line-ends for decoding. - - (Fx_selection_exists_p): Handle CF_UNICODETEXT. - - (syms_of_w32select): Init and register new variables. - - * w32.h: Add prototypes for globals_of_w32select and - term_w32select. Make the neighboring K&R declarations into - prototypes, too. - - * emacs.c: Include w32.h to get function prototypes. - (main): Call globals_of_w32select. - - * w32.c (term_ntproc): Call term_w32select. - - * s/ms-w32.h: Guard MSC-specific #pragmas with an #ifdef. - -2005-02-16 Kim F. Storm - - * xdisp.c (BUFFER_POS_REACHED_P): Return true if pos reached and - at end of display vector. - -2005-02-15 Richard M. Stallman - - * xdisp.c (get_next_display_element): Fix escape-glyph criterion - for mode and header lines. - - * lread.c (syms_of_lread) : Doc fix. - - * keymap.h (describe_map_tree): Change decl. - - * keyboard.c (command_loop_1): Always use safe_run_hooks - to run Qdeferred_action_function. - - * keymap.c (describe_map_tree): New arg MENTION_SHADOW. Calls changed. - (describe_map, describe_vector): Likewise. When it's 1, - don't omit shadowed bindings, instead mark them as shadowed. - - * doc.c (Fsubstitute_command_keys): Compute list of shadowing maps - for describe_map_tree. Pass 1 for MENTION_SHADOW. - - * data.c (Fsetq_default): Allow no arg case. - -2005-02-14 Kenichi Handa - - * coding.c (encode_coding_string): Always return a unibyte string. - If NOCOPY is nonzero and there's no need of encoding, make STR - unibyte directly. - - * xselect.c (lisp_data_to_selection_data): If OBJ is a non-ASCII - multibyte string, signal an error instead of aborting. - -2005-02-12 Dan Nicolaescu - - * keyboard.c: If HAVE_FCNTL_H include fcntl.h. - -2005-02-12 Kim F. Storm - - * xdisp.c (expose_window): Don't fix overlaps for mode lines. - -2005-02-10 Kim F. Storm - - * xdisp.c (try_window_id): Set first_unchanged_at_end_row to NULL - if it moves outside window or it doesn't display text. - -2005-02-09 Kim F. Storm - - * undo.c (Fprimitive_undo): Check that undo function does not - switch buffer. - -2005-02-08 Jan Dj,Ad(Brv - - * xselect.c (selection_data_to_lisp_data): For the special case - type == XA_ATOM, data contains array of int, not array of Atom. - (x_property_data_to_lisp, selection_data_to_lisp_data): - Comment update: data must be array of int for format == 32. - -2005-02-08 Stefan Monnier - - * undo.c (Fprimitive_undo): Check veracity of delta,start,end. - -2005-02-07 Jan Dj,Ad(Brv - - * xfns.c (Fx_change_window_property): Use long array when format is 32. - (Fx_window_property): If format is 32 and long is bigger than 32 bits, - convert long array returned from XGetWindowProperty to an int array. - (x_set_tool_bar_lines): Check that width and height is greater than - zero before clearing area. - - * xselect.c (x_reply_selection_request): Pass long array to - XChangeProperty so that 64 bit longs are handeled correctly. - (x_get_window_property): If format is 32 and long is bigger than 32 - bits convert data from XGetWindowProperty from long array to int array. - (lisp_data_to_selection_data): When the input is a vector and the - format is 32, allocate a long array even if long is bigger than 32 bits. - (x_fill_property_data): Use char, short and long as the man page - for XChangeProperty specifies. This way the data returned is OK for - both 32 and 64 bit machines. - (x_handle_dnd_message): Calculate size correctly even for 64 bit - machines. - (Fx_send_client_event): Undo change from 2005-02-05, - x_fill_property_data now handles that case. - - * xfns.c (Fx_backspace_delete_keys_p): Add comment about the - reason for the approach in the code. - -2005-02-07 Kim F. Storm - - * undo.c (Fprimitive_undo): Record max one dummmy apply element. - -2005-02-06 Richard M. Stallman - - * eval.c (Frun_hook_with_args) - (Frun_hook_with_args_until_success) - (Frun_hook_with_args_until_failure): Doc fixes. - -2005-02-05 Andreas Schwab - - * sysdep.c (sys_subshell): Properly terminate execlp argument list. - -2005-02-05 Jan Dj,Ad(Brv - - * xselect.c (Fx_send_client_event, x_handle_dnd_message): Handle - the longs in a XClientMessageEvent correctly when long is 64 bits. - -2005-02-05 Eli Zaretskii - - * xfaces.c (face_color_supported_p): Use HAVE_WINDOW_SYSTEM - instead of HAVE_X_WINDOWS, for non-X windowed sessions. - -2005-02-03 Jan Dj,Ad(Brv - - * xmenu.c (menubar_selection_callback): Force out GTK buffered - events so the menu event comes after them. This is to prevent sit-for - from exiting on buffered events directly after a menu selection, - lisp code for Help => About Emacs uses sit-for. - - * gtkutil.c (create_menus): Connect selection-done event instead of - the deactivate event to deactivate_cb. This will make the last - leave event come before the call to deactivate_cb, so the leave - event does not make sit-for exit after a menu selection. - -2005-02-03 Kim F. Storm - - * dispnew.c (build_frame_matrix_from_leaf_window) - [!GLYPH_DEBUG]: Fix xassert. - - * xfaces.c (x_free_gc) [!GLYPH_DEBUG]: Fix xassert. - - * xfns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert. - -2005-02-03 YAMAMOTO Mitsuharu - - * mac.c: Use MAC_OS_X_VERSION_MAX_ALLOWED to conditionalize by - the compiling OS version. - - * macfns.c (x_create_tip_frame): Likewise. - - * macterm.c (mac_draw_string_common, x_make_frame_visible): Likewise. - -2005-02-03 Richard M. Stallman - - * xterm.c (x_error_quitter): On GCC 3 and up, specify noinline. - - * xdisp.c (echo_area_display): Clear echo_message_buffer. - - * buffer.c (Fbury_buffer): Doc fix. - -2005-02-02 Steven Tamm - - * macfns.c (unwind_create_frame): Fix compile error due to - xassert being uncondition, but predicate is. - * dispnew.c (update_window): Fix compile error due to - xassert being uncondition, but predicate is. - -2005-02-02 Miles Bader - - * dispextern.h (xassert): Enable unconditionally. - -2005-02-02 Kim F. Storm - - * undo.c (Fprimitive_undo): Fix dummy apply undo entry. - -2005-02-02 Kenichi Handa - - * casefiddle.c (casify_object): Enable changing characters of - different byte length. - (casify_region): Fix loop condition, args to replace_range_2, and - update opoint_byte. - - * insdel.c (replace_range_2): Fix bugs in adjusting markers and point. - -2005-02-01 Kim F. Storm - - * xdisp.c (back_to_previous_visible_line_start): Reset iterator - stack before calling handle_display_prop. - -2005-01-31 Kim F. Storm - - * undo.c (Qapply): New lisp var. - (syms_of_undo): Intern and staticpro it. - (Fprimitive_undo): Support formats (apply FUNNAME . ARGS) and - (apply DELTA BEG END FUNNAME . ARGS) instead of (FUNNAME . ARGS). - - * buffer.c (syms_of_buffer) : Doc fix. - -2005-01-30 Jesper Harder - - * macterm.c (syms_of_macterm) - : Fix docstring indentation. - -2005-01-29 Luc Teirlinck - - * undo.c (syms_of_undo) : Doc update. - Increase value to 3 Meg. - -2005-01-29 Jan Dj,Ad(Brv - - * xfns.c (show_hourglass): Use FRAME_X_WINDOW as parent for GTK, - button events are not received otherwise. - -2005-01-29 Richard M. Stallman - - * buffer.c (syms_of_buffer) : Doc fix. - - * undo.c (Fprimitive_undo): Handle (FUNNAME . ARGS) by calling FUNNAME. - -2005-01-28 Stefan Monnier - - * keymap.c (access_keymap): YAILOM. - -2005-01-27 Kim F. Storm - - * xdisp.c (get_phys_cursor_geometry): New function to calculate - phys cursor position and size for hollow cursor. Position is - aligned with get_glyph_string_clip_rect and ensures that a hollow - cursor is shown, even when the actual glyph is not visible. - - * dispextern.h (get_phys_cursor_geometry): Add prototype. - - * xterm.c (x_clip_to_row): Ensure y >= 0. - (x_draw_hollow_cursor): Use get_phys_cursor_geometry. - - * w32term.c (x_draw_hollow_cursor): Use get_phys_cursor_geometry. - - * macterm.c (x_draw_hollow_cursor): Use get_phys_cursor_geometry. - -2005-01-27 Stefan Monnier - - * xterm.c (x_error_quitter): Add a prototype. Make it static again. - -2005-01-27 Kim F. Storm - - * xdisp.c (get_glyph_string_clip_rect): Always show a cursor - glyph, even when row is only partially visible and actual cursor - position is not visible. - -2005-01-24 Richard M. Stallman - - * xterm.c (x_error_quitter): No longer static, and moved after - x_error_handler. - -2005-01-24 Kim F. Storm - - * xdisp.c (move_it_by_lines): If we move forward after going too - far back, cancel move if end position is same as start position. - -2005-01-24 YAMAMOTO Mitsuharu - - * dispextern.h (struct glyph_string): New members clip_head and - clip_tail. - - * xdisp.c (get_glyph_string_clip_rect): Restrict horizontal clip - region to the area between clip_head and clip_tail. - (draw_glyphs): Record the area that need to be actually redrawn to - the new variables clip_head and clip_tail when there are - overhangs. Set values of these variables to the corresponding - members in struct glyph_string. Refine x coordinates for - notice_overwritten_cursor using clip_head and clip_tail. - - * macgui.h (STORE_XCHARSETSTRUCT): New macro. - - * macterm.c (mac_compute_glyph_string_overhangs): Implement with - QDTextBounds. - (x_draw_glyph_string): Don't fill the background of the successor - of a glyph with a right overhang if the successor will draw a cursor. - (XLoadQueryFont): Obtain font metrics using QDTextBounds. - (x_redisplay_interface): Add entry for compute_glyph_string_overhangs. - -2005-01-24 Kim F. Storm - - * window.c (window_scroll_pixel_based): Fix scrolling in the wrong - direction if window height was smaller than next-screen-context-lines. - Now always scroll at least one line in the requested direction. - Ensure that we actually do scroll backwards when requested to do so. - - * xdisp.c (redisplay_window): Only try to make cursor line fully - visible once (to avoid redisplay loop). - -2005-01-23 Kim F. Storm - - * window.c (Fpos_visible_in_window_p): Simplify return value for - partially visible rows. - (window_scroll_pixel_based): Adapt to that change. - - * window.c (window_scroll_pixel_based): Force moving to next line - if scrolling doesn't move start point, e.g. if looking at tall image. - - * xdisp.c (pos_visible_p): Return 0 if non-interactive. - Clear last_height before calling line_bottom_y to get real height. - Fix calculation of y. - -2005-01-22 Steven Tamm - - * s/darwin.h: Removed PTY_ITERATION from here. - (DARWIN): Define. - - * process.c (init_process): Default process-connection-type to - nil on darwin 6 or less, t if it is 7 or higher. This way the - broken pty behavior is still allowed on darwin 6 for interactive - processes for people that know what they are doing. - -2005-01-22 Kim F. Storm - - * window.c (auto_window_vscroll_p): New boolean. - (syms_of_window): DEFVAR_BOOL it. - (Fpos_visible_in_window_p): Extend return value to include RTOP - and RBOT values if FULLY is nil. - (window_scroll_pixel_based): Adjust vscroll for partially visible - rows if auto_window_vscroll_p is set. - (Fset_window_vscroll): Do nothing if vscroll is not modified. - - * xdisp.c (pos_visible_p): Replace FULLY arg by RTOP and RBOT args - to return number of partially invisible pixels at top and bottom - of the dislay row at POS. - - * lisp.h (pos_visible_p): Fix prototype. - -2005-01-21 Richard M. Stallman - - * fileio.c (Fcopy_file): Doc fix. - -2005-01-21 Jan Dj,Ad(Brv - - * gtkutil.c (xg_tool_bar_detach_callback): Remove unused variable bw. - (xg_get_file_name): Move declaration ofx_use_old_gtk_file_dialog to - start of function for older compilers. - -2005-01-20 Richard M. Stallman - - * editfns.c (Fmessage): If arg is "", return "" (as before). - - * keymap.c (access_keymap): Protect from bad value of meta_prefix_char. - - * .gdbinit (xgetptr, xgetint, xgettype): Copy $arg0 into a temp - variable. - -2005-01-20 Steven Tamm - - * editfns.c (Voperating_system_release): Add. - (init_editfns): Assign new variable operating-system-release - based on call to uname if available. - (get_operating_system_release): Add function to - allow c-level access to operating system release. - - * config.h: Regenerated. - - * s/darwin.h (PTY_ITERATION): Don't allow PTYs on darwin 6 or less. - (MIN_PTY_KERNEL_VERSION): Define minimum kernel version for - using ptys as '7'. - -2005-01-20 Kim F. Storm - - * alloc.c (STRING_MARKED_P, VECTOR_MARKED_P): Return boolean. - - * xterm.c (x_draw_glyph_string_box): Fix last_x for full width rows. - Thanks to Chong Yidong for debugging this. - - * macterm.c (x_draw_glyph_string_box): Likewise. - - * w32term.c (x_draw_glyph_string_box): Likewise. - - * indent.c (Fvertical_motion): Temporarily disable selective display. - -2005-01-19 Kim F. Storm - - * xdisp.c (note_mode_line_or_margin_highlight): Fix :pointer - image property. - - * fns.c (sweep_weak_table): Advance prev pointer when we keep a pair. - -2005-01-18 Kim F. Storm - - * xdisp.c (fast_find_position): Backtrack to find first row if - charpos is inside a display overlay that spans multiple lines. - -2005-01-18 Kenichi Handa - - * coding.c (decode_coding_iso2022): Translate invalid codes if - translation-table is specified. - -2005-01-18 Kim F. Storm - - * xdisp.c (back_to_previous_visible_line_start): Undo 2004-12-28 - change. If handle_display_prop indicates newline is replaced by - image or text, move back to start of relevant overlay or interval - and continue scan from there. Simplify. - -2005-01-17 Kim F. Storm - - * dispnew.c (mode_line_string, marginal_area_string): - Fix off-by-one error in search for glyph. - -2005-01-16 Kim F. Storm - - * macterm.c (syms_of_macterm) : Doc fix. - -2005-01-16 Steven Tamm - - * macterm.c (mac_to_x_fontname): Remove spurious argument. - -2005-01-16 Andreas Schwab - - * macterm.c (mac_draw_string_common): Fix compilation on OSX 10.1. - -2005-01-16 Jan Dj,Ad(Brv - - * fringe.c (Fdefine_fringe_bitmap, init_fringe): When assigning - fringe_faces, cast result from xmalloc/xrealloc to Lisp_Object *. - -2005-01-16 YAMAMOTO Mitsuharu - - * keyboard.c (READABLE_EVENTS_DO_TIMERS_NOW) - (READABLE_EVENTS_FILTER_EVENTS, READABLE_EVENTS_IGNORE_SQUEEZABLES): - New flags for readable_events. - (get_filtered_input_pending, readable_filtered_events): Remove. - (tracking_off): Call readable_events and get_input_pending with - flag READABLE_EVENTS_DO_TIMERS_NOW. - (readable_events): Move code from old readable_filtered_events here, - but check new READABLE_EVENTS_* in argument flags instead of previous - two boolean arguments do_timers_now and filter_events. - If we are doing mouse tracking and the mouse moved, return only if - READABLE_EVENTS_IGNORE_SQUEEZABLES is not set in flags. - (swallow_events): Call get_input_pending with flag - READABLE_EVENTS_DO_TIMERS_NOW. - (get_input_pending): Move code from old get_filtered_input_pending - here. Replace boolean arguments do_timers_now, filter_events with - flags, and pass flags to readable_events. Document new - READABLE_EVENTS_* flags. - (detect_input_pending_ignore_squeezables): New function. - (detect_input_pending_run_timers): Call get_input_pending with flag - READABLE_EVENTS_DO_TIMERS_NOW. - (Finput_pending_p): Call get_input_pending with flags - READABLE_EVENTS_DO_TIMERS_NOW and READABLE_EVENTS_FILTER_EVENTS. - - * dispnew.c (update_window, update_frame_1): Replace calls to - detect_input_pending with detect_input_pending_ignore_squeezables - so that redisplay is not paused if the event queue contains only - mouse movements. - - * lisp.h: Declare detect_input_pending_ignore_squeezables. - -2005-01-15 Steven Tamm - - * macterm.c (Vmac_use_core_graphics): Declare variable for - mac-allow-anti-aliasing. - (syms_of_macterm): DEFVAR_LISP and initialize it. - (mac_draw_string_common): Use core graphics text rendering if - mac-allow-anti-aliasing is enabled. - - * macfns.c (Fx_file_dialog): Save As dialog includes only the - file name in the text box. - -2005-01-15 YAMAMOTO Mitsuharu - - * macfns.c (x_set_foreground_color, x_set_background_color): - Sync with xfns.c. - (mac_window, x_create_tip_frame): Use XSetWindowBackground. - * macterm.c (XSetBackground, XSetWindowBackground): New functions. - * macterm.h (XSetBackground, XSetWindowBackground): Add externs. - -2005-01-14 Kim F. Storm - - * keyboard.c (Fposn_at_x_y): Add optional arg WHOLE. - -2005-01-13 Richard M. Stallman - - * keymap.c (Fcurrent_active_maps): Ignore Voverriding_local_map - if Voverriding_terminal_local_map is non-nil. - - * keyboard.c (syms_of_keyboard): Doc fix. - -2005-01-13 Kim F. Storm - - * xdisp.c (Fformat_mode_line): Fix last change. Remove NO_PROPS arg - (specify 0 for FACE instead). Reorder arg list. Doc fix. - -2005-01-12 Richard M. Stallman - - * xdisp.c (Fformat_mode_line): New arg FACE specifies a default - face property for characters that don't specify one. - - * fns.c (Frequire): Record in load-history unconditionally. - -2005-01-10 Kim F. Storm - - * dispextern.h (merge_faces): Rename from merge_into_realized_face. - - * xfaces.c (merge_faces): Rename from merge_into_realized_face. - Callers changed. - Add support to merge with lisp face id too (if face_name is t). - - * xdisp.c (get_next_display_element, next_element_from_display_vector): - Don't lookup lface_id from display table glyphs here; instead use - merge_faces to merge the lisp face id into current face. - -2005-01-09 Kim F. Storm - - * dispextern.h (struct it): New member dpvec_face_id. - (merge_into_realized_face): Add prototype. - - * xfaces.c (merge_into_realized_face): New function. Used to - merge escape-glyph face or face from display table into current face. - - * xdisp.c (Vshow_nonbreak_escape): New lisp var. - (syms_of_xdisp): DEFVAR_LISP it. - (escape_glyph_face): Remove var. - (redisplay_window): Don't initialize it. - (setup_for_ellipsis, get_next_display_element): - Set it->dpvec_face_id to -1. - (get_next_display_element): Test Vshow_nonbreak_escape. - Do not setup escape_glyph_face. - Properly merge escape-glyph face or face from display table with - current face for escape and control characters. - Set it->dpvec_face_id to relevant face id instead of adding it to each - element of display vector. - (next_element_from_display_vector): If it->dpvec_face_id is set, - use that instead of lface_id from glyph itself. - -2005-01-08 Jan Dj,Ad(Brv - - * xterm.h (struct x_output): New member, toolbar_detached. - - * gtkutil.c (xg_create_frame_widgets): Set initial tool bar height to - 38. - (xg_tool_bar_detach_callback): Set toolbar_detached to 1. - (xg_tool_bar_attach_callback): Set toolbar_detached to 0. - (xg_create_tool_bar): Initialize toolbar_detached. - (update_frame_tool_bar): Only set FRAME_TOOLBAR_HEIGHT (f) if - toolbar_detached is zero. - -2005-01-07 Jan Dj,Ad(Brv - - * xmenu.c (create_and_show_popup_menu): Pass zero as button to - gtk_menu_popup if not for_click, so callbacks for the menu are called. - - * gtkutil.c (xg_gtk_scroll_destroy, xg_create_scroll_bar) - (xg_tool_bar_callback, xg_tool_bar_help_callback) - (update_frame_tool_bar): Cast to EMACS_INT to avoid compiler warning. - - * xselect.c (x_get_foreign_selection, x_fill_property_data) - (Fx_get_atom_name, Fx_send_client_event): Replace XFLOAT with - XFLOAT_DATA to get extract number from Lisp object. - -2005-01-07 Kim F. Storm - - * xdisp.c (set_iterator_to_next): Fix 2004-12-13 change. - Set stop_charpos to current charpos instead of 0. - -2005-01-06 Nick Roberts - - * xdisp.c (Fformat_mode_line): First arg now required. - -2005-01-06 YAMAMOTO Mitsuharu - - * macterm.c (XLoadQueryFont): Correctly handle 0 size - font widths that are returned from some Japanese fonts. - -2005-01-06 Kim F. Storm - - * fringe.c (fringe_faces): Change to Lisp_Object pointer. - (draw_fringe_bitmap_1): Lookup user defined fringe faces here. - (destroy_fringe_bitmap): Set fringe_faces element to nil. - (Fdefine_fringe_bitmap, init_fringe): Change allocation of - fringe_faces array and init elements to nil. - (Fset_fringe_bitmap_face): Set fringe_faces to face name instead of - non-persistent face id. - (mark_fringe_data): New function for GC. - - * alloc.c (mark_fringe_data): Declare extern. - (Fgarbage_collect): Call mark_fringe_data. - - * alloc.c (overrun_check_free): Invalidate freed memory if - XMALLOC_CLEAR_FREE_MEMORY is defined. - -2005-01-05 YAMAMOTO Mitsuharu - - * macfns.c: Include sys/param.h. - [TARGET_API_MAC_CARBON] (mac_nav_event_callback): New declaration - and function. - [TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size - of filename string. Set event callback function when creating - dialog boxes. Add code conversions for filenames. Don't dispose - of apple event descriptor record if failed to create it. - - * macterm.c: Include sys/param.h. - [USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for - kEventWindowUpdate. - (install_window_handler) [USE_CARBON_EVENTS]: Register it. - (do_ae_open_documents) [TARGET_API_MAC_CARBON]: Get FSRef instead - of FSSpec from apple event descriptor record. - (do_ae_open_documents) [TARGET_API_MAC_CARBON]: Use MAXPATHLEN for - size of filename string. - [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise. - [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Return error when a - file dialog is in action. - [TARGET_API_MAC_CARBON] (mac_do_track_drag): Likewise. - Reject only when there are no filename items. Set background color - before (un)highlighting the window below the dragged items. - (XTread_socket) [USE_CARBON_EVENTS]: Don't call do_window_update. - -2005-01-05 Romain Francoise - - * term.c (encode_terminal_code): Fix buffer size computation. - -2005-01-04 Richard M. Stallman - - * xdisp.c (Fformat_mode_line): Doc fix. - -2005-01-04 Stefan Monnier - - * alloc.c (refill_memory_reserve): Move. - (emacs_blocked_free, emacs_blocked_malloc, emacs_blocked_realloc) - (reset_malloc_hooks, uninterrupt_malloc) [SYNC_INPUT]: Don't define. - -2005-01-03 Richard M. Stallman - - * window.c (window_scroll_pixel_based): Don't correct preserve_y - for CURRENT_HEADER_LINE_HEIGHT when moving backwards. - -2005-01-03 Jason Rumney - - * w32bdf.c (w32_load_bdf_font): Set fontp->average_width and - fontp->space_width to FONT_WIDTH so they are valid. - - * w32fns.c (w32_load_system_font): Set FONT_WIDTH to maximum, not - average width. Set fontp->average_width and fontp->space_width to - their appropriate values. - - * w32term.c (x_new_font): Set FRAME_COLUMN_WIDTH to - fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to - fontp->space_width. - -2005-01-03 YAMAMOTO Mitsuharu - - * macterm.c (x_new_font): Set FRAME_SPACE_WIDTH. - (x_font_min_bounds, XLoadQueryFont): Use the correct font width - metrics for max and min bounds. - (x_load_font): Correctly calculate average font width metrics. - -2005-01-02 Richard M. Stallman - - * alloc.c (Fgarbage_collect): Don't truncate_undo_list on dead buffers. - -2004-12-31 Jan Dj,Ad(Brv - - * xterm.c (handle_one_xevent): Clear area in expose event for GTK. - -2004-12-31 Richard M. Stallman - - * xdisp.c (setup_for_ellipsis, get_next_display_element): - Set it->ellipsis_p to 1 or 0. - (display_line): Record whether row ends in mid-ellipsis. - (set_cursor_from_row): If ends in ellipsis, find start of it. - (cursor_row_p): If PT's at the end of the ellipsis the row - ends within, don't display cursor on this row. - - * dispextern.h (struct it): New element ellipsis_p. - (struct glyph_row): New element ends_in_ellipsis_p. - - * xdisp.c (BUFFER_POS_REACHED_P): We haven't reached the specified - position if we're reading from something other than the buffer. - - * window.c (window_scroll_pixel_based): Only look at - Vscroll_preserve_screen_position if the old PT can't be kept. - (syms_of_window) : Doc fix. - -2004-12-30 Kim F. Storm - - * xdisp.c (get_line_height_property): New function extracted from - original calc_line_height_property. - (calc_line_height_property): Rework. Handle t and (nil . ratio). - (x_produce_glyphs): Use them to handle line-height and - line-spacing according to new height spec. - (Qtotal): Remove. - (syms_of_xdisp): Remove intern and staticpro for Qtotal. - -2004-12-30 Kenichi Handa - - * fileio.c (Finsert_file_contents): Don't use - current_buffer->buffer_file_coding_system even if REPLACE is - non-nil. Call Qafter_insert_file_set_coding with the second arg VISIT. - - * fontset.h (struct font_info): New members space_width and - average_width. - - * frame.h (struct frame): New member space_width. - (FRAME_SPACE_WIDTH): New macro. - - * xterm.h (struct x_display_info): New member Xatom_AVERAGE_WIDTH. - - * xterm.c (x_new_font): Set FRAME_COLUMN_WIDTH to - fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to - fontp->space_width. - (x_load_font): Calculate fontp->space_width and fontp->average_width. - (x_term_init): Initialize dpyinfo->Xatom_AVERAGE_WIDTH. - - * xdisp.c (x_produce_glyphs): Calculate tab width by - FRAME_SPACE_WIDTH, not FRAME_COLUMN_WIDTH. - -2004-12-29 Sanghyuk Suh - - * macterm.c (SelectionRange): Add Xcode position apple event struct. - (do_ae_open_documents): Handle Xcode-style file position open events. - -2004-12-29 Luc Teirlinck - - * buffer.c (syms_of_buffer) : Correct typo. - -2004-12-29 Richard M. Stallman - - * buffer.c (syms_of_buffer) : Doc fix. - -2004-12-29 YAMAMOTO Mitsuharu - - * macfns.c (install_window_handler): Modify extern to return OSErr - value. - (mac_window): Handle return value of install_window_handler. - - * macterm.c (reflect_byte): Remove function. - (mac_create_bitmap_from_bitmap_data): Don't call reflect_byte. - Lookup table instead. - (mac_do_font_lists): Simplify calculation of the longest - nonspecial string. - (init_mac_drag_n_drop): Remove function and declaration. - (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call - init_mac_drag_n_drop. - (mac_do_track_drag): New function and declaration. - (install_window_handler): Return OSErr value. - (install_window_handler) [TARGET_API_MAC_CARBON]: - Register handlers for tracking/receiving drag-and-drop items. - (do_ae_open_documents): Generate unibyte strings for filenames. - (mac_do_receive_drag) [TARGET_API_MAC_CARBON]: Likewise. - Reject only non-filename items. Set event modifiers, and return value. - -2004-12-28 Dan Nicolaescu - - * coding.c (decode_coding): Fix previous change. - -2004-12-28 Richard M. Stallman - - * xdisp.c (back_to_previous_visible_line_start): - Don't call handle_display_prop. - -2004-12-28 Dan Nicolaescu - - * coding.c (decode_coding_XXX, decode_composition_emacs_mule) - (decode_coding_emacs_mule, encode_coding_emacs_mule) - (decode_coding_iso2022, encode_designation_at_bol) - (encode_coding_iso2022, decode_coding_sjis_big5, decode_eol) - (decode_coding): Constify arguments and local vars. - -2004-12-27 Jan Dj,Ad(Brv - - * xmenu.c (popup_get_selection): Only pop down dialogs - on C-g and Escape. - (popup_get_selection): Remove parameter down_on_keypress. - (create_and_show_popup_menu, create_and_show_dialog): - Remove parameter down_on_keypress to popup_get_selection. - -2004-12-27 YAMAMOTO Mitsuharu - - * dispextern.h: Change HAVE_CARBON to MAC_OS. - (struct glyph_string): Likewise. - - * emacs.c (main) [MAC_OS8]: Call mac_term_init instead of - mac_initialize. - - * fileio.c (Fnext_read_file_uses_dialog_p, Fread_file_name): - Change TARGET_API_MAC_CARBON to HAVE_CARBON. - - * fns.c (vector): Change MAC_OSX to MAC_OS. - - * frame.c (x_set_frame_parameters, x_report_frame_params) - (x_set_fullscreen): Remove #ifndef HAVE_CARBON. - (x_set_border_width, Vdefault_frame_scroll_bars): - Change HAVE_CARBON to MAC_OS. - - * image.c [MAC_OS]: Include sys/stat.h. - [MAC_OS && !MAC_OSX]: Include sys/param.h, ImageCompression.h, and - QuickTimeComponents.h. - - * mac.c [!MAC_OSX] (mac_wait_next_event): Add extern. - [!MAC_OSX] (select): Use mac_wait_next_event. - [!MAC_OSX] (run_mac_command): Change EXEC_SUFFIXES to Vexec_suffixes. - [!MAC_OSX] (select, run_mac_command): Change `#ifdef - TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'. - (mac_clear_font_name_table): Add extern. - (Fmac_clear_font_name_table): New defun. - (syms_of_mac): Defsubr it. - [MAC_OSX] (SELECT_POLLING_PERIOD_USEC): New define. - [MAC_OSX] (select_and_poll_event): New function. - [MAC_OSX] (sys_select): Use it. - [MAC_OSX && SELECT_USE_CFSOCKET] (socket_callback): New function. - [MAC_OSX && SELECT_USE_CFSOCKET] - (SELECT_TIMEOUT_THRESHOLD_RUNLOOP, EVENT_CLASS_SOCK): New defines. - [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Use CFSocket and - RunLoop for simultaneously monitoring two kinds of inputs, window - events and process outputs, without periodically polling. - - * macfns.c (mac_initialized): Remove extern. - (stricmp): Put in #if 0. All callers changed to use xstricmp in - xfaces.c. - (strnicmp): Decrement `n' at the end of each loop, not the beginning. - (check_mac): Use the term "Mac native windows" instead of "Mac OS". - (check_x_display_info, x_display_info_for_name): Sync with xfns.c. - (mac_get_rdb_resource): New function (from w32reg.c). - (x_get_string_resource): Use it. - (install_window_handler): Add extern. - (mac_window): New function. - (Fx_create_frame): Use it instead of make_mac_frame. - Set parameter for Qfullscreen. Call x_wm_set_size_hint. - (Fx_open_connection, Fx_close_connection): New defuns. - (syms_of_macfns): Defsubr them. - (x_create_tip_frame) [TARGET_API_MAC_CARBON]: - Add kWindowNoUpdatesAttribute to the window attribute. - (x_create_tip_frame) [!TARGET_API_MAC_CARBON]: Use NewCWindow. - (x_create_tip_frame): Don't call ShowWindow. - (Fx_show_tip): Call ShowWindow. - (Fx_file_dialog): Change `#ifdef TARGET_API_MAC_CARBON' to `#if - TARGET_API_MAC_CARBON'. - (mac_frame_parm_handlers): Set handlers for Qfullscreen. - (syms_of_macfns) [MAC_OSX]: Initialize mac_in_use to 0. - - * macgui.h [!MAC_OSX]: Don't include Controls.h. Include Windows.h. - (Window): Typedef to WindowPtr and move outside `#if - TARGET_API_MAC_CARBON'. - (XSizeHints): New struct. - - * macterm.c (x_update_begin, x_update_end) - [TARGET_API_MAC_CARBON]: Disable screen updates during update of a - frame. - (x_draw_glyph_string_background, x_draw_glyph_string_foreground) - [MAC_OS8]: Use XDrawImageString/XDrawImageString16. - (construct_mouse_click): Put in #if 0. - (x_check_fullscreen, x_check_fullscreen_move): Remove decls. - (x_scroll_bar_create, x_scroll_bar_handle_click): Change `#ifdef - TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'. - (activate_scroll_bars, deactivate_scroll_bars) - [!TARGET_API_MAC_CARBON]: Use ActivateControl/DeactivateControl. - (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Reposition window - if the position is neither user-specified nor program-specified. - (x_free_frame_resources): Free size_hints. - (x_wm_set_size_hint): Allocate size_hints if needed. Set size_hints. - (mac_clear_font_name_table): New function. - (mac_do_list_fonts): Initialize font_name_table if needed. - (x_list_fonts): Don't initialize font_name_table. Add BLOCK_INPUT - around mac_do_list_fonts. - (mac_unload_font): New function. - (x_load_font): Add BLOCK_INPUT around XLoadQueryFont. - (init_mac_drag_n_drop, mac_do_receive_drag): Enclose declarations - and definitions with #if TARGET_API_MAC_CARBON. - [USE_CARBON_EVENTS] (mac_handle_window_event): Add decl. - (install_window_handler): Add decl. - (do_window_update): Add BeginUpdate/EndUpdate for the tooltip - window. Use UpdateControls. Get the rectangle that should be - updated and restrict the target of expose_frame to it. - (do_grow_window): Set minimum height/width according to size_hints. - (do_grow_window) [TARGET_API_MAC_CARBON]: Use ResizeWindow. - (do_zoom_window): Don't use x_set_window_size. - [USE_CARBON_EVENTS] (mac_handle_window_event): New function. - (install_window_handler): New function. - [!USE_CARBON_EVENTS] (mouse_region): New variable. - [!USE_CARBON_EVENTS] (mac_wait_next_event): New function. - (XTread_socket) [USE_CARBON_EVENTS]: Move call to - GetEventDispatcherTarget inside BLOCK_INPUT. - (XTread_socket) [!USE_CARBON_EVENTS]: Use mac_wait_next_event. - Update mouse_region when mouse is moved. - (make_mac_frame): Remove. - (make_mac_terminal_frame): Put in #ifdef MAC_OS8. - Initialize mouse pointer shapes. Change values of f->left_pos and - f->top_pos. Don't use make_mac_frame. Use NewCWindow. - Don't call ShowWindow. - (mac_initialize_display_info) [MAC_OSX]: Create mac_id_name from - Vinvocation_name and Vsystem_name. - (mac_make_rdb): New function (from w32term.c). - (mac_term_init): Use it. Add BLOCK_INPUT. Error if display has - already been opened. Don't pass argument to - mac_initialize_display_info. Don't set dpyinfo->height/width. - Add entries to x_display_list and x_display_name_list. - (x_delete_display): New function. - (mac_initialize): Don't call mac_initialize_display_info. - (syms_of_macterm) [!MAC_OSX]: Don't call Fprovide. - - * macterm.h (check_mac): Add extern. - (struct mac_output): New member size_hints. - (FRAME_SIZE_HINTS): New macro. - (mac_unload_font): Add extern. - - * xdisp.c (expose_window, expose_frame): Remove kludges for Mac. - - * xfaces.c (clear_font_table) [MAC_OS]: Call mac_unload_font. - -2004-12-27 Richard M. Stallman - - * buffer.c (Fbuffer_disable_undo): Delete (move to simple.el). - (syms_of_buffer): Don't defsubr it. - - * process.c (list_processes_1): Set undo_list instead - of calling Fbuffer_disable_undo. - - * xdisp.c (single_display_spec_string_p): Rename from - single_display_prop_string_p. - (single_display_spec_intangible_p): Rename from - single_display_prop_intangible_p. - (handle_single_display_spec): Rename from handle_single_display_prop. - Rewritten to be easier to understand. - - Change in load-history format. Functions now get (defun . NAME), - and variables get just NAME. - - * data.c (Fdefalias): Use (defun . FN_NAME) in LOADHIST_ATTACH. - - * eval.c (Fdefun, Fdefmacro): Use (defun . FN_NAME) in LOADHIST_ATTACH. - (Fdefvaralias, Fdefvar, Fdefconst): Use just SYM in LOADHIST_ATTACH. - (Qdefvar): Var deleted. - (syms_of_eval): Don't initialze it. - - * lread.c (syms_of_lread) : Doc fix. - -2004-12-27 Jan Dj,Ad(Brv - - * xmenu.c (popup_get_selection): Pop down on C-g. - (set_frame_menubar): Install translations for Lucid/Motif/Lesstif that - pops down menu on C-g. - (xdialog_show): If dialog popped down and no button in the dialog was - pushed, call Fsignal to quit. - (xmenu_show): In no toolkit version, if menu returns NO_SELECT call - Fsignal to quit. - - * xfns.c (Fx_file_dialog): Motif/Lesstif version: Pop down on C-g. - - * gtkutil.c (xg_initialize): Install bindings for C-g so that - dialogs and menus pop down. - -2004-12-27 Kenichi Handa - - * coding.c (code_convert_region): Fix calculation of `ratio'. - -2004-12-25 Jan Dj,Ad(Brv - - * gtkutil.c (update_frame_tool_bar): Make the value of - tool-bar-button-margin control margins of images in tool bar. - - * alloc.c (check_depth): New variable. - (overrun_check_malloc, overrun_check_realloc): Only add - overhead and write check pattern if check_depth is 1 (to handle - recursive calls). Increase/decrease check_depth in entry/exit. - (overrun_check_free): Only check for overhead if check_depth is 1. - Increase/decrease check_depth in entry/exit. - -2004-12-23 Jan Dj,Ad(Brv - - * keyboard.c (input_available_signal): Call SIGNAL_THREAD_CHECK - before touching input_available_clear_time, to avoid accessing it - from multiple threads. - -2004-12-23 Jason Rumney - - * image.c (__WIN32__) [HAVE_NTGUI]: Define for correct behaviour - of JPEG library. - -2004-12-22 Richard M. Stallman - - * emacs.c (main): If batch mode, set Vundo_outer_limit to nil. - - * lisp.h (Vundo_outer_limit): Fix decl. - - * undo.c (Vundo_outer_limit): Replaces undo_outer_limit. - Uses changed. - (syms_of_undo): Initialize appropriately. - (truncate_undo_list): If it's nil, there's no limit. - -2004-12-22 Kenichi Handa - - * xselect.c (Fx_get_cut_buffer_internal): Return a unibyte string. - -2004-12-21 Richard M. Stallman - - * eval.c (unwind_to_catch): Clear immediate_quit. - - * xdisp.c (get_next_display_element): Display codes 8a0 and 8ad - specially as `\ ' and `\-'. - - * keyboard.c (kbd_buffer_store_event_hold): - In the code for while-no-input, handle immediate_quit. - - * alloc.c (Fgarbage_collect): Update call to truncate_undo_list. - Call that at the very start. - (undo_limit, undo_strong_limit, undo_outer_limit): Move to undo.c. - (syms_of_alloc): Don't define undo-limit, - undo-strong-limit and undo-outer-limit here. - - * undo.c (truncate_undo_list): Return void. - Take just one argument, the buffer. - Make it current, and inhibit recursive GC. - Access and update the undo list directly; return void. - Refer to the undo...limit variables directly. - Test undo_outer_limit only after counting the whole current command. - When it's exceeded, call the function in undo-outer-limit-function. - (undo_limit, undo_strong_limit, undo_outer_limit): From alloc.c. - (Vundo_outer_limit_function): New variable. - (syms_of_undo): Define undo-limit, undo-strong-limit - and undo-outer-limit here, and undo-outer-limit-function. - Doc fixes. - - * lisp.h (truncate_undo_list): Update decl. - -2004-12-21 Piet van Oostrum - - * fileio.c (Fread_file_name): Delete duplicates in - file-name-history when history_delete_duplicates is true. - -2004-12-20 YAMAMOTO Mitsuharu - - * macterm.c (mac_do_list_fonts): Fix memory leak - -2004-12-20 Richard M. Stallman - - * regex.c (re_match_2_internal) : - Fix calls to UPDATE_SYNTAX_TABLE_FORWARD. - -2004-12-18 YAMAMOTO Mitsuharu - - * macterm.c (endif, x_font_name_to_mac_font_name): - Use maccentraleurroman instead of maccentraleuropean - (mac_c_string_match, mac_do_list_fonts): Speed up font search by - quickly finding a specific font without needing regexps. - -2004-12-15 Jan Dj,Ad(Brv - - * syssignal.h: Declare main_thread. - (SIGNAL_THREAD_CHECK): New macro. - - * keyboard.c (input_available_signal): Move thread checking code - to macro SIGNAL_THREAD_CHECK and call that macro. - (interrupt_signal): Call SIGNAL_THREAD_CHECK. - - * alloc.c (uninterrupt_malloc): Move main_thread to emacs.c. - - * emacs.c: Define main_thread. - (main): Initialize main_thread. - (handle_USR1_signal, handle_USR2_signal, fatal_error_signal) - (memory_warning_signal): Call SIGNAL_THREAD_CHECK. - - * floatfns.c (float_error): Call SIGNAL_THREAD_CHECK. - - * dispnew.c (window_change_signal): Call SIGNAL_THREAD_CHECK. - - * sysdep.c (select_alarm): Call SIGNAL_THREAD_CHECK. - - * process.c (send_process_trap, sigchld_handler): - Call SIGNAL_THREAD_CHECK. - - * data.c (arith_error): Call SIGNAL_THREAD_CHECK. - - * atimer.c (alarm_signal_handler): Call SIGNAL_THREAD_CHECK. - - * xterm.c (xg_scroll_callback): Update XG_LAST_SB_DATA before - returning when xg_ignore_gtk_scrollbar is true. - -2004-12-14 Kim F. Storm - - * keyboard.c (read_char): Save and restore echo_string when - handling input method. - -2004-12-13 Richard M. Stallman - - * eval.c (syms_of_eval) : Doc fix. - - * keyboard.c (Vthrow_on_input): New variable. - (syms_of_keyboard): Defvar and initialize it. - (kbd_buffer_store_event_hold): Handle Vthrow_on_input. - - * lisp.h (QUIT): Check for Vthrow_on_input. - (Vthrow_on_input): Declare it. - -2004-12-13 Kim F. Storm - - * xdisp.c (set_iterator_to_next): Reset stop_charpos after display - vector. - -2004-12-12 Richard M. Stallman - - * indent.c (Fvertical_motion): Call move_it_by_lines even if LINES = 0. - - * minibuf.c (Fall_completions): Add var `zero' and use it in loop. - (Ftry_completion): Really use outer `zero'; eliminate inner one. - -2004-12-12 Kenichi Handa - - * term.c (encode_terminal_code): Fix previous change. - -2004-12-11 Stefan Monnier - - * keyboard.c (handle_async_input): Remove pthread mutex handling. - (input_available_signal): Move pthread thingy to !SYNC_INPUT branch. - - * syntax.c (Fforward_word): Avoid non-idempotent side-effects - in macro arguments. - - * minibuf.c (Ftry_completion, Fall_completions): Don't use - XFASTINT blindly. - - * emacs.c (main, Fdump_emacs): Don't touch malloc hooks if SYNC_INPUT. - -2004-12-11 Jan Dj,Ad(Brv - - * w32term.c (x_calc_absolute_position): Remove calculation of - difference between inner and outer window. Don't subtract difference - for left and top calculations. - - * xterm.c (x_calc_absolute_position): Don't subtract outer_pixel_diff - for left and top calculations. Remove call to x_real_positions. - [Bug report by Drew Adams in November.] - (x_check_expected_move): Do not set change_gravity to 1 when calling - x_set_offset. - -2004-12-08 Richard M. Stallman - - * xdisp.c (get_next_display_element): Use `escape-glyph' for - control chars and escaped octal codes. - (Qescape_glyph): New variable. - (syms_of_xdisp): Initialize it. - (escape_glyph_face): New variable. - (redisplay_window): Initialize it. - -2004-12-07 Paul Eggert - - * image.c (our_fill_input_buffer, jpeg_load, CHECK_LIB_AVAILABLE) - (init_image): Use 1 rather than TRUE. TRUE's not always defined. - -2004-12-07 Jan Dj,Ad(Brv - - * emacs.c (Fdump_emacs): Add ! defined (SYSTEM_MALLOC) around - reset_malloc_hooks. - - * keyboard.c (handle_async_input, input_available_signal): - Add ! defined (SYSTEM_MALLOC) around thread code. - - * alloc.c: Add comment about the reason for (UN)BLOCK_INPUT_ALLOC. - -2004-12-07 Stefan Monnier - - * eval.c (init_eval_once): Increase max_specpdl_size to 1000. - - * config.in: Regenerate. - -2004-12-07 Jan Dj,Ad(Brv - - * xmenu.c (Fx_popup_menu): Correct documentation about position. - (xmenu_show): Do not call XTranslateCoordinates. Adjust position - if not given by a mouse click to correspond with x-popup-menu - documentation. - - * config.in: Regenerate. - - * gtkutil.c: Include signal.h and syssignal.h. - (xg_get_file_name): Block and unblock __SIGRTMIN if defined. - - * alloc.c: If HAVE_GTK_AND_PTHREAD, include pthread.h, - new variables main_thread and alloc_mutex, - define (UN)BLOCK_INPUT_ALLOC to use alloc_mutex to protect - emacs_blocked_* calls and only do (UN)BLOCK_INPUT in the main thread. - If not HAVE_GTK_AND_PTHREAD, (UN)BLOCK_INPUT_ALLOC is the same - as (UN)BLOCK_INPUT. - (emacs_blocked_free, emacs_blocked_malloc) - (emacs_blocked_realloc): Use (UN)BLOCK_INPUT_ALLOC. - (uninterrupt_malloc): Initialize main_thread and alloc_mutex. - (reset_malloc_hooks): New function. - - * lisp.h: Declare reset_malloc_hooks. - - * emacs.c (Fdump_emacs): Call reset_malloc_hooks. - - * keyboard.c: Conditionally include pthread.h. - (handle_async_input, input_available_signalt): If not in the main - thread, block signal, send signal to main thread and return. - - * gtkutil.c (xg_get_file_with_chooser): Handle local files only. - Set current folder in file chooser if default_filename is a directory. - -2004-12-05 Stefan Monnier - - * regex.c (GET_UNSIGNED_NUMBER): Signal an error when reaching the end. - Remove redundant correctness checks. - (regex_compile): Fix up error codes for \{..\} expressions. - -2004-12-05 Richard M. Stallman - - * regex.c (regex_compile): Fix end-of-pattern case for space. - -2004-12-03 YAMAMOTO Mitsuharu - - * macterm.h (cfstring_create_with_utf8_cstring): Add prototype. - * mac.c (cfstring_create_with_utf8_cstring): Add to prevent - crashes with invalid characters. - * macmenu.c (add_menu_item): Use it. - * image.c (image_load_quartz2d): Likewise. - * macfns.c (x_set_name, x_set_title): Likewise. - (Fx_file_dialog): Likewise. Use constant CFRefs instead of - creating them each time for labels. - -2004-12-02 Richard M. Stallman - - * config.in (RE_TRANSLATE_P): If make_number is not a macro, - don't use it here. - - * eval.c (Fcalled_interactively_p): Don't check INTERACTIVE. - (interactive_p): Skip Scalled_interactively_p frames - like Sinteractive_p frames. - (unwind_to_catch): Clear handling_signal. - - * data.c (Fmake_variable_buffer_local): Doc fix. - (Fmake_local_variable): Doc fix. - - * insdel.c (insert_from_string_before_markers) - (insert_from_string): Don't modify buffer on empty insertion. - - * window.c (Fget_lru_window, Fget_largest_window): Doc fixes. - -2004-12-01 YAMAMOTO Mitsuharu - - * macmenu.c (add_menu_item): Fallback on MacRoman if encoding - menu text as UTF8 fails. - -2004-12-01 Kim F. Storm - - * alloc.c: Add commentary for last change. - (XMALLOC_PUT_SIZE, XMALLOC_GET_SIZE): New macros to handle - sizeof(size_t) != 4. - (overrun_check_malloc, overrun_check_realloc, overrun_check_free): - Use them. Also clear header and trailer of freed memory. - (GC_STRING_OVERRUN_COOKIE_SIZE): Rename from GC_STRING_EXTRA. - (string_overrun_cookie): Rename from string_overrun_pattern. - (GC_STRING_EXTRA): Define from GC_STRING_OVERRUN_COOKIE_SIZE. - -2004-12-01 Andreas Schwab - - * lisp.h: Declare string_to_multibyte. - -2004-12-01 Kenichi Handa - - * w32console.c (w32con_write_glyphs): Decide coding here. - Adjusted for the change of encode_terminal_code. - - * term.c (encode_terminal_code): Don't make it "static". - -2004-11-30 Kenichi Handa - - * term.c (encode_terminal_buf, encode_terminal_bufsize): New variables. - (encode_terminal_code): Argument changed. Encode all - characters at once, and return a pointer to the result of encoding. - (write_glyphs): Decide coding here. Adjusted for the above change. - (insert_glyphs): Likewise. - (term_init): Initialize encode_terminal_bufsize to 0. - - * coding.c (Vcode_conversion_workbuf_name): New variable. - (syms_of_coding): Initialize and staticpro it. - (set_conversion_work_buffer): New function. - (run_pre_post_conversion_on_str): Use it. - (run_pre_write_conversin_on_c_str): New function. - - * coding.h (run_pre_write_conversin_on_c_str): Extern it. - -2004-11-30 YAMAMOTO Mitsuharu - - * keyboard.c: Don't undef SIGIO - * s/darwin.h (NO_SOCK_SIGIO): Define NO_SOCK_SIGIO on carbon - * Makefile.in (mac.o): Depend on blockinput.h and atimer.h. - (macfns.o): Don't depend on ccl.h. - * macfns.c (mac_frame_parm_handlers): Set handlers for - Qleft_fringe and Qright_fringe. - * macterm.c (mac_fill_rectangle_to_pixmap) - (mac_draw_rectangle_to_pixmap, mac_copy_area_to_pixmap) - (mac_copy_area_with_mask_to_pixmap, x_draw_image_foreground_1): - Put in #if 0. - (mac_scroll_area) [TARGET_API_MAC_CARBON]: Use ScrollWindowRect. - (x_flush) [TARGET_API_MAC_CARBON]: Don't traverse frames. - (XFlush) [TARGET_API_MAC_CARBON]: Define to an empty replacement. - (x_draw_glyph_string_background, x_draw_glyph_string_foreground) - [!MAC_OS8]: Added ifdef'd out code for os8. Don't use - XDrawImageString. Always draw background and foreground separately. - (x_draw_image_foreground): Use clipping instead of computing the - intersection rectangle. - (x_draw_image_glyph_string): Don't draw an image with mask to a - pixmap. - (x_redisplay_interface): Set flush_display_optional member to 0. - (XTread_socket): Correctly reset the TEConverter - object. - -2004-11-30 Kim F. Storm - - * lisp.h: New defines to enable buffer overrun checking. - (GC_CHECK_STRING_OVERRUN, GC_CHECK_STRING_FREE_LIST) - (XMALLOC_OVERRUN_CHECK, GC_CHECK_CONS_LIST): Add. - - * alloc.c: Add more checks for buffer overruns. - (XMALLOC_OVERRUN_CHECK_SIZE, xmalloc_overrun_check_header) - xmalloc_overrun_check_trailer, overrun_check_malloc) - overrun_check_realloc, overrun_check_free): Add. - (GC_STRING_EXTRA, string_overrun_pattern): Add. - (check_sblock, allocate_string_data, compact_small_strings): - Set and check string_overrun_pattern if GC_CHECK_STRING_OVERRUN. - (check_cons_list): Condition on GC_CHECK_CONS_LIST. - (check_string_free_list): Add. - (allocate_string, sweep_strings): Call check_string_free_list. - - * emacs.c (malloc_initialize_hook): Don't free malloc_state_ptr if - XMALLOC_OVERRUN_CHECK to avoid crash during load. - -2004-11-29 Kim F. Storm - - * fns.c (concat): Use SAFE_ALLOCA. - -2004-11-29 Stefan Monnier - - * sysdep.c (emacs_write): Don't use QUIT. - -2004-11-29 Kenichi Handa - - * buffer.c (init_buffer): Set current_buffer->directory to a - multibyte string made by string_to_multibyte. - - * emacs.c (init_cmdargs): Set unibyte strings in Vcommand_line_args. - -2004-11-27 Andreas Schwab - - * alloc.c (mark_stack): Call GC_MARK_SECONDARY_STACK if defined. - - * s/gnu-linux.h: Enable no-op gcpros on ia64. - (GC_MARK_SECONDARY_STACK) [__ia64__]: Define. - - * filelock.c (lock_file_1): Call get_boot_time early. - Increase buffer size. - -2004-11-27 Eli Zaretskii - - * lisp.h (DECL_ALIGN): Define non-trivially only if NO_DECL_ALIGN - is not defined. - -2004-11-27 Kim F. Storm - - * search.c (syms_of_search) : Move 'doc:' - marker out of doc string. - -2004-11-26 Stefan Monnier - - * s/darwin.h (POSIX_SIGNALS): Undo the removal of 2002-08-25, - which was not mentioned in the log. - -2004-11-26 Kim F. Storm - - * fringe.c (update_window_fringes): Prefer truncation bitmaps over - angle bitmaps at top/bottom line. - - * xdisp.c: Undo recent changes for restoring saved_face_id. Instead, - set it when it->method is set to next_element_from_display_vector. - (setup_for_ellipsis): Add LEN argument. Callers changed. - Set it->saved_face_id. - (get_next_display_element): Use loop instead of recursion. - Set it->saved_face_id. Combine duplicate code for ctr chars. - (next_element_from_display_vector): Do not set it->saved_face_id. - (next_element_from_ellipsis): Use setup_for_ellipsis. - -2004-11-26 Eli Zaretskii - - * eval.c (Fdefvar): Declare pdl from last change as `volatile' to - prevent compiler warnings. - -2004-11-25 Stefan Monnier - - * keyboard.c (command_loop_1): Print a message describing the key - the user just pressed when this key has no binding. - - * sysdep.c (sys_signal): Don't use SA_RESTART if SYNC_INPUT is set. - (emacs_open, emacs_read, emacs_write): Check QUIT when interrupted. - - * lread.c (readchar): Check QUIT when `getc' is interrupted. - -2004-11-24 Richard M. Stallman - - * coding.c (run_pre_post_conversion_on_str): Bind Qinhibit_read_only. - - * buffer.c (syms_of_buffer) : Doc fix. - -2004-11-24 Kim F. Storm - - * xdisp.c (move_it_in_display_line_to, display_line): - Restore saved_face_id also when truncate-lines or hscrolled. - -2004-11-23 Jan Dj,Ad(Brv - - * gtkutil.c (xg_get_file_name): Rename use-old-gtk-file-dialog to - x-use-old-gtk-file-dialog. - - * xfns.c: Define x_use_old_gtk_file_dialog. - (syms_of_xfns): Rename use-old-gtk-file-dialog to x-... Move it - outside ifdef USE_GTK. - -2004-11-23 Stefan Monnier - - * coding.h (ENCODE_FILE, DECODE_FILE, ENCODE_SYSTEM, DECODE_SYSTEM): - Don't use XFASTINT blindly. - - * config.in (RE_TRANSLATE_P): Don't use XFASTINT blindly. - - * indent.c (skip_invisible): Avoid non-idempotent side-effects - in macro arguments. - - * keymap.c (Flookup_key): Check INTEGERP before XINT. - - * lread.c (oblookup): Don't use XFASTINT blindly. - - * window.c (Fset_window_scroll_bars): Don't use XINT if it isn't int. - (decode_next_window_args, window_loop): Don't use XFASTINT blindly. - -2004-11-23 Kim F. Storm - - * dispextern.h (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P) - (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Not if dpvec_index is zero. - - * xfaces.c (lookup_named_face): Add signal_p arg. Return -1 if - signal_p is zero and face name is unknown. - (Fx_list_fonts): Don't signal error in lookup_named_face. - (Fface_font): Signal error in lookup_named_face. - (ascii_face_of_lisp_face): Likewise. - - * dispextern.h (lookup_named_face): Fix prototype. - - * xdisp.c (handle_single_display_prop): Don't signal error in - lookup_named_face for unknown fringe face name. - (highlight_trailing_whitespace): Don't signal error in - lookup_named_face if trailing-whitespace face unknown. - (calc_line_height_property): Don't signal error in - lookup_named_face if specified face name is unknown. - - * fringe.c (update_window_fringes): Show top row indicator if - window has header-line. Don't show arrow at bob and eob - if the boundary indicators are not used. - (Fset_fringe_bitmap_face): Signal error in lookup_named_face. - - * window.c (set_window_buffer): Clear display_error_modiff. - -2004-11-22 Kim F. Storm - - * fringe.c (update_window_fringes): Provide sensible fall-back - value for non-nil indicate-buffer-boundaries setting. - -2004-11-22 Markus Rost - - * minibuf.c (Fminibuffer_complete_and_exit): Fix previous change. - -2004-11-22 Stefan Monnier - - * eval.c (Fdefvar): Warn when var is let-bound but globally void. - -2004-11-21 Kim F. Storm - - * xdisp.c (erase_phys_cursor): Clear hollow cursor inside TEXT_AREA. - - * xterm.c (x_clip_to_row): Add area arg. Callers changed. - (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. - - * w32term.c (w32_clip_to_row): Add area arg. Callers changed. - (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. - - * macterm.c (x_clip_to_row): Add area arg. Callers changed. - (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. - - * xdisp.c (move_it_in_display_line_to, display_line): - Restore saved_face_id if overflow-newline-into-fringe is enabled and - line is continued before or in middle of element from display vector. - - * indent.c (Fvertical_motion): Fix last change. Use another - method to detect if iterator moved too far ahead after reseat. - - * xdisp.c (IT_EXPAND_MATRIX_WIDTH): New macro. Do not - expand matrix width for overflow in zero-width area. - (append_glyph, append_composite_glyph, produce_image_glyph) - (append_stretch_glyph): Use it to avoid loop in redisplay. - (note_mode_line_or_margin_highlight): Don't let help-echo from - string override help-echo from image map. - -2004-11-20 Luc Teirlinck - - * fns.c (Fyes_or_no_p): Call Fread_from_minibuffer with extra argument. - * callint.c (Fcall_interactively): Ditto. - -2004-11-20 Stefan Monnier - - * minibuf.c (Fminibuffer_complete_and_exit): - Fixup the case of the completed value, for case-indep completion. - -2004-11-20 Richard M. Stallman - - * lisp.h (Fread_from_minibuffer): Add arg in decl. - - * minibuf.c (read_minibuf): New arg KEEP_ALL. Callers changed. - (Fread_from_minibuffer): New arg KEEP_ALL. Callers changed. - - * search.c (Vsearch_spaces_regexp): - Rename from Vsearch_whitespace_regexp. All uses changed. - -2004-11-20 Thien-Thi Nguyen - - * eval.c (init_eval_once): Increase `max_specpdl_size' to 650. - -2004-11-19 Richard M. Stallman - - * search.c (Vsearch_whitespace_regexp): New variable. - (syms_of_search): Defvar it. - (compile_pattern_1): Call re_set_whitespace_regexp with it. - (search_buffer): No regexp is trivial if Vsearch_whitespace_regexp - is non-nil. - (struct regexp_cache): New element whitespace_regexp. - (syms_of_search): Initialize whitespace_regexp elements. - (compile_pattern): Compare whitespace_regexp elements. - (compile_pattern_1): Set whitespace_regexp elements. - - * regex.c (regex_compile): Substitute whitespace_regexp - for spaces, if it is nonzero. - (whitespace_regexp): New variable. - (re_set_whitespace_regexp): New function. - -2004-11-19 Kim F. Storm - - * indent.c (Fvertical_motion): Fix last change. - -2004-11-18 Kim F. Storm - - * indent.c (Fvertical_motion): Undo 2004-11-16 change. - Instead, move back again if reseating moves too far ahead. - -2004-11-17 Luc Teirlinck - - * xdisp.c (message3): Call clear_message. - -2004-11-17 Kim F. Storm - - * xdisp.c (erase_phys_cursor): Adjust cursor row visible height. - -2004-11-16 Jan Dj,Ad(Brv - - * gtkutil.c (xg_get_file_name): Typo in HAVE_GTK_FILE_SELECTION_NEW. - - * xmenu.c (x_menu_in_use): Remove. - (x_menu_set_in_use): Also set popup_activated_flag. - - * xfns.c (Fx_file_dialog): Call popup_activated instead of - x_menu_in_use. Call x_menu_set_in_use in Motif version also. - - * xterm.h (x_menu_in_use): Remove. - -2004-11-16 Richard M. Stallman - - * keymap.c (Fmap_keymap): New arg SORT-FIRST. - Use map-keymap-internal to implement that. - - * indent.c (Fvertical_motion): In batch mode, use vmotion directly. - -2004-11-16 Stefan Monnier - - * xdisp.c (get_glyph_string_clip_rect, init_glyph_string): Check it's - a window before using XWINDOW. - - * window.c (make_window, Fselect_window, make_dummy_parent) - (save_window_save): - * frame.c (make_frame): - * fns.c (concat): Avoid side-effects inside XSETFASTINT's arguments. - - * lisp.h (NILP): Use EQ rather than XFASTINT. - -2004-11-16 Kim F. Storm - - * fringe.c (Fdefine_fringe_bitmap): Always set 'h'. Simplify. - - * indent.c (Fvertical_motion): Fix last change. Only reseat when - moving backwards. - -2004-11-16 Luc Teirlinck - - * dispextern.h: Extern reseat_at_previous_visible_line_start. - -2004-11-16 Kenichi Handa - - * xdisp.c (display_mode_element): Fix previous change (calculate - end position of substring to display correctly). - -2004-11-16 Kim F. Storm - - * keyboard.c (Fposn_at_point): Remove extra */ after doc string. - Reported by Andrew M. Scott. - -2004-11-15 Kim F. Storm - - * fns.c (Fsafe_plist_get): New defun. - (syms_of_fns): Defsubr it. - - * lisp.h (Fsafe_plist_get): Add EXFUN. - - * xdisp.c (store_mode_line_string, produce_stretch_glyph): - Use Fsafe_plist_get. - (note_mode_line_or_margin_highlight, note_mouse_highlight): - Fix image map element parsing. Use Fsafe_plist_get. - -2004-11-15 Richard M. Stallman - - * xdisp.c (get_next_display_element): Fix previous change. - -2004-11-14 Jan Dj,Ad(Brv - - * window.c (shrink_windows): Handle special case of one window left - when trying to shrink the final reminder. Grow windows if - total_removed is less than total_shrink. - - * xmenu.c (pop_down_menu): Remove global variable current_menu, - extract pointer from arg with XSAVE_VALUE. - (create_and_show_popup_menu, create_and_show_dialog, xmenu_show): - Construct arg to record_unwind_protect with make_save_value. - -2004-11-13 Richard M. Stallman - - * xdisp.c (reseat_at_previous_visible_line_start): No longer static. - (get_next_display_element): Fix previous change to apply only to \n. - - * indent.c (Fvertical_motion): Scan to PT from start of line to - make iterator consistent. - - * minibuf.c (syms_of_minibuf) : Doc fix. - -2004-11-14 Jan Dj,Ad(Brv - - * gtkutil.c (pop_down_file_dialog): Add BLOCK_INPUT. - - * xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use. - Record unwind with clean_up_file_dialog. - - * xterm.h (x_menu_in_use, x_menu_set_in_use, x_menu_wait_for_event): - Declare. - - * xmenu.c (x_menu_in_use, x_menu_set_in_use): New functions. - -2004-11-13 Jan Dj,Ad(Brv - - * gtkutil.c (xg_file_sel_ok, xg_file_sel_cancel) - (xg_file_sel_destroy): Remove. - (xg_file_response_cb, pop_down_file_dialog) - (xg_get_file_name_from_chooser, xg_get_file_name_from_selector): - New functions. - (xg_get_file_with_chooser, xg_get_file_with_selection): - Take new arg func, set it to xg_get_file_name_from_chooser/selector. - Move common code to xg_get_file_name. Return widget created. - (xg_get_file_name): Set name, transient for, modal and destroy - with parent here. Connect response signal to xg_file_response_cb, - connect delete-event to gtk_true. Record pop_down_file_dialog - for unwind. Do event loop and call x_menu_wait_for_event in loop. - (xg_create_widget): Make dialogs modal. - - * xmenu.c (unuse_menu_items, pop_down_menu): Arg is of type - Lisp_Object. - (popup_get_selection): Move unwind protect ... - (create_and_show_popup_menu, create_and_show_dialog): ... to here. - Move destroy of widget to pop_down_menu. - (popup_widget_loop): Move unwind protect ... - (create_and_show_popup_menu, create_and_show_dialog): ... to here. - Move destroy of widget to pop_down_menu. - (pop_down_menu): BLOCK_INPUT and destroy widget/window. - (xmenu_show): Record unwind pop_down_menu. Move XMenuDestroy, - x_mouse_leave and grabbed = 0 to pop_down_menu. - -2004-11-13 Kim F. Storm - - * xdisp.c (make_cursor_line_fully_visible_p): New variable. - (syms_of_xdisp): DEFVAR_BOOL it. - (make_cursor_line_fully_visible, try_cursor_movement) - (try_window_id): Use it. - -2004-11-12 Kim F. Storm - - * dispextern.h (struct glyph_row): New member extra_line_spacing. - (struct it): New member max_extra_line_spacing. - (MR_PARTIALLY_VISIBLE, MR_PARTIALLY_VISIBLE_AT_TOP) - (MR_PARTIALLY_VISIBLE_AT_BOTTOM): New helper macros. - (MATRIX_ROW_PARTIALLY_VISIBLE_P): Fix to return false if invisible - part of last line is only extra line spacing (so the text on the - line is fully visible). Use helper macros. - Add W arg (to use them). All callers changed. - (MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P) - (MATRIX_ROW_PARTIALLY_VISIBLE_AT_BOTTOM_P): Use helper macros. - - * window.c (window_scroll_pixel_based, Frecenter): - Use move_it_vertically_backward directly. - (Frecenter): Fix calculation of new start pos for negative arg. - Before, the new start pos was sometimes chosen too far back, so - the last line became only partially visible, and thus would be - either only semi-visible or automatically scrolled to the middle - of the window by redisplay. - - * xdisp.c (init_iterator): Clear it.max_extra_line_spacing. - (move_it_vertically_backward): Don't recure to move further back. - (move_it_vertically): Remove superfluous condition. - (move_it_by_lines): Clear last_height when moved 0 lines. - (resize_mini_window): Use it.max_extra_line_spacing. - (display_tool_bar_line): Clear row->extra_line_spacing. - (try_scrolling): Use move_it_vertically_backward directly. - (redisplay_window): Likewise. - (compute_line_metrics): Set row->extra_line_spacing. - (display_line, display_string): Likewise. - (x_produce_glyphs): Update it->max_extra_line_spacing. - - * xmenu.c (pop_down_menu): Return nil. - -2004-11-12 Jan Dj,Ad(Brv - - * xmenu.c (x_menu_wait_for_event): New function. - (popup_get_selection, popup_widget_loop): Call x_menu_wait_for_event - to handle timers. - (popup_widget_loop): Add argument do_timers. - (create_and_show_popup_menu, create_and_show_dialog): Pass 1 for - do_timers to popup_widget_loop. - (xmenu_show): Call XMenuActivateSetWaitFunction so that - x_menu_wait_for_event is called by XMenuActivate. - (create_and_show_popup_menu): Pass 1 for do_timers to - popup_get_selection. - (pop_down_menu): New function. - (popup_get_selection, popup_widget_loop): Unwind protect to - pop_down_menu. - (popup_widget_loop): Add argument widget. - (create_and_show_popup_menu, create_and_show_dialog): Pass new - argument widget to popup_widget_loop. - -2004-11-10 Stefan Monnier - - * keymap.c (Fkeymap_prompt): Accept symbol keymaps. - -2004-11-09 Kim F. Storm - - * xselect.c: Include and (for getpid). - Fix various comments referring to XEvents instead of input events. - (x_queue_event): Fix format strings. - (x_stop_queuing_selection_requests): Likewise. - - * xdisp.c (produce_image_glyph): Remove unused variable 'face_ascent'. - (pint2hrstr): Add extra braces to silence compiler. - - * print.c (print_object): Fix format string. - - * lread.c (read1): Fix next_char matching. - - * lisp.h (Fdelete): Add EXFUN. - (replace_range_2): Add prototype. - - * keyboard.c (read_avail_input): Remove unused variable 'discard'. - - * intervals.h (NULL_INTERVAL_P): Add separate version when - ENABLE_CHECKING is not defined to silence compiler. - (compare_string_intervals): Add prototype. - - * fringe.c (destroy_fringe_bitmap): Fix return type. - (Ffringe_bitmaps_at_pos): Remove unused var 'old_buffer'. - - * emacs.c (Fdump_emacs): Fix format string. - - * doc.c: Include . - (Fsubstitute_command_keys): Remove unused variable 'firstkey'. - - * data.c (store_symval_forwarding): Remove unused variables. - - * callint.c (Fcall_interactively): Remove unused variable 'funcar'. - -2004-11-09 Jan Dj,Ad(Brv - - * Makefile.in (stamp-oldxmenu): If HAVE_GTK, don't add dependencies - to ${OLDXMENU}. - -2004-11-09 Kim F. Storm - - * process.c (Fmake_network_process): Remove kludge for interrupted - connects on BSD. If connect is interrupted, just close socket and - start over rather than sleeping and retry with same socket. - -2004-11-09 Jan Dj,Ad(Brv - - * .cvsignore: Add buildobj.lst. - - * doc.c: New variable Vbuild_files. - (Fsnarf_documentation): If Vbuild_files is nil, populate it with - file names from buildobj.lst. Only attach docstrings from files - that are in Vbuild_files. - (syms_of_doc): Defvar Vbuild_files. - - * Makefile.in (SOME_MACHINE_OBJECTS): Add fringe.o, image.o - and w32*.o. - (temacs${EXEEXT}): Generate buildobj.lst when temacs is linked. - (mostlyclean): Rm buildobj.lst - - * makefile.w32-in ($(TEMACS)): Generate buildobj.lst when temacs - is linked. - -2004-11-09 Kim F. Storm - - * fringe.c (update_window_fringes): Update fringe bitmaps if - cur and row ends_at_zv_p differs. If bitmaps of a row is updated, - also update previous row to get rid of misc. artifacts. - -2004-11-08 Kim F. Storm - - * xdisp.c (fast_find_position): Fix start pos if header line present. - (note_mouse_highlight): Clear mouse face if we move out of text area. - -2004-11-08 Eli Zaretskii - - * editfns.c: Move #include "systime.h" before . - Don't include explicitly. - Include unconditionally, not just on MacOS. - -2004-11-08 Kenichi Handa - - * fontset.c (fontset_pattern_regexp): Cancel my previous change; - don't pay attention to '\' before '*'. - (fontset_pattern_regexp): Change the meaning of the second arg. - (Fnew_fontset): Call fs_query_fontset, not Fquery_fontset. - (check_fontset_name): Try NAME as literal at first, and if it - failes, try NAME as pattern. - -2004-11-07 Jan Dj,Ad(Brv - - * emacs.c (Fdump_emacs): Only output warning on GNU/Linux. - -2004-11-07 Andreas Schwab - - * lisp.h (Fmsdos_downcase_filename): Declare. - * dired.c (Fmsdos_downcase_filename): Don't declare here. - * fileio.c: Likewise. - -2004-11-07 Jan Dj,Ad(Brv - - * dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs in - comparisons with integers instead of Lisp_Object address. - (Fmsdos_set_keyboard): Declare argument allkeys. - - * msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s. - - * dired.c (Fmsdos_downcase_filename): Declare extern on MSDOS to avoid - int/Lisp_Object mixup. - - * fileio.c: Ditto. - -2004-11-06 Steven Tamm - - * editfns.c: Need to include sys/time.h before resource.h on darwin. - -2004-11-06 Richard M. Stallman - - * callint.c (Fcall_interactively): Avoid reusing EVENT for other data. - - * xfaces.c (merge_named_face): GCPRO the face_name in the - named_merge_point struct that we make. - (merge_face_heights): Eliminate GCPRO arg. All callers changed. - - * keyboard.c (command_loop_1): Change Vtransient_mark_mode - before deciding whether to inactivate mark. - -2004-11-06 Lars Brinkhoff - - * config.in: Regenerate (add HAVE_GETRUSAGE). - * editfns.c (Fget_internal_run_time): New function. - (syms_of_data): Defsubr it. - * fns.c (sxhash): As far as possible, merge calculation of - hash code for symbols and strings. - -2004-11-06 Eli Zaretskii - - * frame.c (syms_of_frame): Fix the example in the doc string. - -2004-11-06 Jan Dj,Ad(Brv - - * eval.c (Feval): Remove check for INPUT_BLOCKED_P. - - * xmenu.c (popup_get_selection, create_and_show_popup_menu) - (create_and_show_dialog): Revert change from 2004-10-31. - -2004-11-05 Luc Teirlinck - - * macros.c (syms_of_macros) : Doc fix. - -2004-11-05 Kim F. Storm - - * print.c (print_object): Print Lisp_Misc_Save_Value objects. - - * fileio.c (Ffile_modes): Doc fix. - (auto_save_1): Check for Ffile_modes nil value. - -2004-11-05 Kim F. Storm - - * xselect.c (struct selection_event_queue, selection_queue) - (x_queue_selection_requests, x_queue_event) - (x_start_queuing_selection_requests) - (x_stop_queuing_selection_requests): Add new queue for selection - input events to replace previous XEvent queue in xterm.c. - (queue_selection_requests_unwind): Adapt to new queue. - (x_reply_selection_request): Adapt to new queue. - Unexpect wait_object in case of x errors (memory leak). - (x_handle_selection_request, x_handle_selection_clear): Make static. - (x_handle_selection_event): New function. May queue selection events. - (wait_for_property_change_unwind): Use save_value instead of cons. - Clear property_change_reply_object. - (wait_for_property_change): Abort if already waiting. - Use save_value instead of cons for unwind data. - (x_handle_property_notify): Skip events already arrived, but don't - free them, as "arrived" field is checked by wait_for_property_change, - and it will be freed by unwind or explicit unexpect_property_change. - (x_get_foreign_selection): Add to new queue. - (receive_incremental_selection): Don't unexpect wait_object when done - as it has already been freed by previous wait_for_property_change. - - * xterm.h (x_start_queuing_selection_requests) - (x_stop_queuing_selection_requests, x_handle_selection_request) - (x_handle_selection_clear): Remove prototypes. - (x_handle_selection_event): Add prototype. - - * xterm.c (handle_one_xevent): Don't queue X selection events - here, it may be too late if we start queuing after we have already - stored some selection events into the kbd buffer. - (struct selection_event_queue, queue, x_queue_selection_requests) - (x_queue_event, x_unqueue_events, x_start_queuing_selection_requests) - (x_stop_queuing_selection_requests): Remove/move to xselect.c. - (x_catch_errors_unwind): Block input around final XSync. - - * keyboard.h (kbd_buffer_unget_event): Add prototype. - - * keyboard.c (kbd_buffer_store_event_hold): Remove obsolete code. - (kbd_buffer_unget_event): New function. - (kbd_buffer_get_event, swallow_events): Combine SELECTION events - and use x_handle_selection_event. - (mark_kboards): Don't mark x and y of SELECTION_CLEAR_EVENT. - -2004-11-05 Jan Dj,Ad(Brv - - * xselect.c (TRACE3): New debug macro. - (x_reply_selection_request): Use it. - (receive_incremental_selection): In call to TRACE0, the name of - a symbol is in xname. - -2004-11-05 Kim F. Storm - - * fontset.c (fontset_pattern_regexp): Use unsigned char. - -2004-11-04 Jan Dj,Ad(Brv - - * fileio.c (Fnext_read_file_uses_dialog_p): New function. - - * gtkutil.h (use_old_gtk_file_dialog): Declare. - - * gtkutil.c: Make use_old_gtk_file_dialog non-static. - (xg_initialize): Move DEFVAR_BOOL for use_old_gtk_file_dialog ... - * xfns.c (syms_of_xfns): ... to here. - - * gtkutil.c (xg_get_file_with_chooser): Expand DEFAULT_FILENAME if - it doesn't start with /. - -2004-11-04 Kenichi Handa - - * fontset.c (fontset_pattern_regexp): If '*' is preceded by '\', - treat it as a literal character. - -2004-11-03 Kim F. Storm - - * .gdbinit (ppt): New function. - -2004-11-02 Jan Dj,Ad(Brv - - * xterm.c (x_window_to_scroll_bar): Only call - xg_get_scroll_id_for_window if toolkit scroll bars are used. - - * gtkutil.c (xg_get_file_with_chooser): Use GTK_STOCK_OK instead - of save. - -2004-11-02 Andreas Schwab - - * window.c (Fscroll_right): Fix last change. - -2004-11-02 Kim F. Storm - - * Makefile.in (callproc.o): Depend on blockinput.h, atimer.h, systime.h. - -2004-11-02 YAMAMOTO Mitsuharu - - * callproc.c (Fcall_process): Block input around vfork. - -2004-11-02 Kim F. Storm - - * eval.c (Fcalled_interactively_p): Rename from Fcall_interactive_p. - (syms_of_eval): Defsubr it. - -2004-11-02 Richard M. Stallman - - * insdel.c (replace_range_2): New function. - - * casefiddle.c (casify_region): Handle changes in byte-length - using replace_range_2. - - * emacs.c (USAGE3): Delete --horizontal-scroll-bars, -hb. - - * xdisp.c (back_to_previous_visible_line_start): - Subtract 1 from pos when checking previous newline for invisibility. - - * window.c (window_scroll_pixel_based): Update preserve_y - for header line if any. - (Fscroll_left, Fscroll_right): Don't call interactive_p; - use a new second argument instead. - - * eval.c (Fcall_interactive_p): New function. - (interactive_p): Don't test INTERACTIVE here. - (Finteractive_p): Doc fix. - - * eval.c (Feval): Abort if INPUT_BLOCKED_P. - -2004-11-02 KOBAYASHI Yasuhiro - - * w32fns.c (w32_font_match): Use fast_string_match_ignore_case for - comparing font names. - -2004-11-02 Jan Dj,Ad(Brv - - * fileio.c (Fread_file_name): Pass Qt as fifth parameter to - Fx_file_dialog if only directories should be read. - - * lisp.h: Fx_file_dialog takes 5 parameters. - - * xfns.c (Fx_file_dialog): Both Motif and GTK version: - Add parameter only_dir_p. - In Motif version, don't put DEFAULT_FILENAME in filter part of the - dialog, just text field part. Do not add DEFAULT_FILENAME - to list of files if it isn't there. - In GTK version, pass only_dir_p parameter to xg_get_file_name. - - * macfns.c (Fx_file_dialog): Add parameter only_dir_p. - Check only_dir_p instead of comparing prompt to "Dired". When using - a save dialog, add option kNavDontConfirmReplacement, change title - to "Enter name", change text for save button to "Ok". - - * w32fns.c (Fx_file_dialog): Add parameter only_dir_p. - Check only_dir_p instead of comparing prompt to "Dired". - - * gtkutil.c (xg_get_file_with_chooser, xg_get_file_with_selection): - New functions, only defined ifdef HAVE_GTK_FILE_CHOOSER_DIALOG_NEW - and HAVE_GTK_FILE_SELECTION_NEW respectively. - (xg_get_file_name): Add parameter only_dir_p. - Call xg_get_file_with_chooser or xg_get_file_with_selection - depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog. - (xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog. - - * gtkutil.h (xg_get_file_name): Add parameter only_dir_p. - - * config.in: Rebuild (added HAVE_GTK_FILE_*). - -2004-11-01 Kim F. Storm - - * process.c (connect_wait_mask, num_pending_connects): - Only declare and use them if NON_BLOCKING_CONNECT is defined. - (init_process): Initialize them if NON_BLOCKING_CONNECT defined. - (IF_NON_BLOCKING_CONNECT): New helper macro. - (wait_reading_process_output): Only declare and use local vars - Connecting and check_connect when NON_BLOCKING_CONNECT is defined. - -2004-11-01 Andy Petrusenco (tiny change) - - * w32term.c (x_scroll_run): Delete region objects after use. - -2004-10-31 Jan Dj,Ad(Brv - - * xmenu.c: Add prototypes for forward function declarations. - (popup_get_selection): Remove parameter do_timers, remove call to - timer_check. - (create_and_show_popup_menu, create_and_show_dialog): - Remove parameter do_timers from call to popup_get_selection. - - * xdisp.c (update_tool_bar): Pass a copy of f->tool_bar_items to - tool_bar_items and assign the result to f->tool_bar_items if - not equal. Move BLOCK/UNBLOCK_INPUT from around call to - tool_bar_items to assignment of result. - - * atimer.c (alarm_signal_handler): Do not call set_alarm if - pending_atimers is non-zero. - -2004-10-31 Kim F. Storm - - * dispnew.c (margin_glyphs_to_reserve): Don't use ncols_scale_factor. - -2004-10-28 Will - - * macterm.c: Allow user to assign key modifiers to the Mac Option - key via a 'mac-option-modifier' variable. - -2004-10-28 Stefan Monnier - - * xselect.c (Vx_lost_selection_functions, Vx_sent_selection_functions): - Rename from Vx_lost_selection_hooks and Vx_sent_selection_hooks. - (x_handle_selection_request, x_handle_selection_clear) - (x_clear_frame_selections, syms_of_xselect): Adjust accordingly. - -2004-10-28 Richard M. Stallman - - * w32fns.c (Fx_server_vendor, Fx_server_version): Doc fixes. - - * xfns.c (Fx_server_vendor, Fx_server_version): Doc fixes. - -2004-10-27 Stefan Monnier - - * syntax.c (scan_sexps_forward): Give precedence to a 2-char - comment-starter over a 1-char one. - -2004-10-27 Richard M. Stallman - - * xdisp.c (get_next_display_element): In mode lines, - treat newline and tab like other control characters. - - * editfns.c (Fmessage): Doc fix. - - * indent.c (vmotion): When moving up, check the newline before. - Make prevline an int, not a Lisp_Object. - -2004-10-27 Kim F. Storm - - * editfns.c (Fformat): Allocate discarded table with SAFE_ALLOCA. - Only allocate info and discarded tables once. - - * lisp.h (USE_SAFE_ALLOCA): Add and init sa_must_free integer. - (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Increment it when malloc is used. - (SAFE_FREE): Test it to determine if we need to unwind to free. - Remove size arg. All users changed. - (SAFE_FREE_LISP) Remove. All users changed to use SAFE_FREE. - -2004-10-26 Jan Dj,Ad(Brv - - * gtkutil.c: Put empty line between comment and function body. - (xg_destroy_widgets): Rename from remove_from_container. - Just destroy all widgets in list. Argument wcont removed. - (xg_update_menubar, xg_update_submenu): Call xg_destroy_widgets - instead of remove_from_container. - (xg_display_close, xg_create_tool_bar, update_frame_tool_bar) - (free_frame_tool_bar): Add comment. - - * xfns.c (xic_create_xfontset): Check that FRAME_XIC_BASE_FONTNAME - is not NULL before strcmp. - -2004-10-26 Kim F. Storm - - * callint.c (Fcall_interactively): Add 'U' code to get the - up-event discarded by a previous 'k' or 'K' argument. - -2004-10-26 David Kastrup - - * buffer.c (syms_of_buffer): Fix a few typos. - -2004-10-26 Jan Dj,Ad(Brv - - * xsmfns.c: Put empty line between comment and function body. - Use two spaces before comment end. - -2004-10-25 Kenichi Handa - - * fontset.c (fontset_pattern_regexp): Optimize for the case that - PATTERN is full XLFD. - -2004-10-24 Kenichi Handa - - * regex.h (enum reg_errcode_t): New value REG_ERANGEX. - - * regex.c (re_error_msgid): Add an entry for REG_ERANGEX. - (regex_compile): Return REG_ERANGEX if appropriate. - -2004-10-22 Kenichi Handa - - * editfns.c (Ftranslate_region_internal): New function. - (syms_of_editfns): Defsubr it. - -2004-10-22 Jan Dj,Ad(Brv - - * xfns.c (xic_create_xfontset): Initialize missing_list to NULL. - -2004-10-21 K,Aa(Broly L$,1 q(Brentey - - * xterm.h (x_output): New member `xic_base_fontname'. - (FRAME_XIC_BASE_FONTNAME): New macro. - (xic_free_xfontset): Declare. - - * xfns.c (xic_create_xfontset): Share fontsets between frames - based on base_fontname. - (xic_free_xfontset): New function. - (free_frame_xic): Use it. - (xic_set_xfontset): Ditto. - - * xterm.c (xim_destroy_callback): Ditto. - -2004-10-20 B. Anyos (tiny change) - - * w32term.c (x_draw_glyph_string): Use overline_color for overlines. - -2004-10-20 Jan Dj,Ad(Brv - - * xterm.h (XSync): If USE_GTK, define XSync as process_all and then - XSync. - - * emacs.c (my_heap_start, heap_bss_diff, MAX_HEAP_BSS_DIFF): - New variables and constant. - (main): Calculate heap_bss_diff. If we are dumping and the - heap_bss_diff is greater than MAX_HEAP_BSS_DIFF, set PER_LINUX32 - and exec ourself again. - (Fdump_emacs): If heap_bss_diff is greater than MAX_HEAP_BSS_DIFF - print a warning. - - * lastfile.c: Make my_endbss and my_endbss_static available on all - platforms. - - * Makefile.in (RUN_TEMACS): Remove @SETARCH@. - * config.in (HAVE_PERSONALITY_LINUX32): Regenerate. - -2004-10-19 Luc Teirlinck - - * data.c (Flocal_variable_if_set_p): Doc fix. - -2004-10-19 Jason Rumney - - * w32.c (init_environment): Set emacs_dir correctly when running - emacs from the build directory. - -2004-10-19 Richard M. Stallman - - * editfns.c (Fdelete_and_extract_region): - If region is empty, return null string. - -2004-10-19 Jan Dj,Ad(Brv - - * gtkutil.h (xg_update_scrollbar_pos): Remove arguments real_left - and canon_width. - (xg_frame_cleared): Remove. - - * gtkutil.c (xg_frame_cleared, xg_fixed_handle_expose) - (xg_find_top_left_in_fixed): Remove. - (xg_create_scroll_bar): Put an event box widget between - the scroll bar widget and the edit widget. - (xg_show_scroll_bar): Show the parent widget (the event box). - (xg_remove_scroll_bar): Destroy parent (the event box) also. - (xg_update_scrollbar_pos): Remove arguments real_left and canon_width. - Move the parent (the event box) widget inside the fixed widget. - Move window clear to xterm.c. - - * gtkutil.h (xg_frame_cleared): Remove. - - * xterm.c (x_clear_frame): Remove call to xg_frame_cleared - (x_scroll_bar_create, XTset_vertical_scroll_bar): - Remove arguments left and width to xg_update_scrollbar_pos. - (XTset_vertical_scroll_bar): Do x_clear_area for USE_GTK also. - -2004-10-19 Kenichi Handa - - * xdisp.c (display_mode_element): Fix display of wide chars. - -2004-10-18 Jan Dj,Ad(Brv - - * gtkutil.c (xg_update_scrollbar_pos): Change XClearWindow to - gdk_window_clear and move gdk_window_process_all_updates after - clear so events are sent to the X server in correct order. - -2004-10-18 Kenichi Handa - - * fontset.c (fs_load_font): Use fast_string_match_ignore_case for - comparing font names. - (fs_query_fontset): Use fast_string_match for comparing fontset names. - (list_fontsets): Likewise. - - * search.c (fast_string_match_ignore_case): New function. - - * lisp.h (fast_string_match_ignore_case): Extern it. - -2004-10-17 Kim F. Storm - - * xdisp.c (overlay_arrow_at_row): Return overlay string rather - than bitmap if there is not left fringe. - (get_overlay_arrow_glyph_row): Also used on windows system. - (display_line): Display overlay string if no left fringe. - -2004-10-16 Jason Rumney - - * w32fns.c (w32_font_match): Encode font name being matched. - -2004-10-16 Richard M. Stallman - - * window.c (Fspecial_display_p): Doc fix. - -2004-10-15 Stefan Monnier - - * doc.c (Fsubstitute_command_keys): Fix remap-handling. - Don't ignore menus, because where-is-internal already does it for us. - -2004-10-15 Kim F. Storm - - * xdisp.c (redisplay_window): Only update fringes and vertical - border on window frames. - -2004-10-14 Andreas Schwab - - * m/ia64.h (DATA_SEG_BITS): Don't define. - -2004-10-14 Kim F. Storm - - * xterm.h: Include Xutil.h after keysym.h to work around bug - in some X versions. - -2004-10-13 Stefan Monnier - - * fns.c (map_char_table): Add missing gcpros. - -2004-10-13 Stefan Monnier - - * keymap.c (get_keymap): An autoload form is not a keymap. - - * textprop.c (syms_of_textprop): Make `syntax-table' nonsticky. - -2004-10-13 Kim F. Storm - - * callproc.c (Fcall_process): Simplify handling of display arg. - Resume `display_on_the_fly' once a coding system is determined. - - * xdisp.c (redisplay_preserve_echo_area): Fix last change. - -2004-10-12 Kim F. Storm - - * xdisp.c (redisplay_preserve_echo_area): Flush display in case - caller, such as call-process, is not going to poll for input. - (calc_line_height_property): Handle case where it->object is nil. - - * xterm.c (x_redisplay_interface): Fix flush_display_optional. - -2004-10-12 Kenichi Handa - - * xdisp.c (get_next_display_element): - If unibyte_display_via_language_environment is zero, display 8-bit - chars in octal in unibyte buffer. - -2004-10-12 Kim F. Storm - - * doc.c (Fsubstitute_command_keys): Ignore remappings unless there - are no ordinary bindings. - -2004-10-11 Jan Dj,Ad(Brv - - * xfns.c (syms_of_xfns): Defsubr x-file-dialog for GTK also. - -2004-10-10 YAMAMOTO Mitsuharu - - * macterm.c (x_raise_frame): Add BLOCK_INPUT around SelectWindow. - (x_lower_frame): Add BLOCK_INPUT around SendBehind. - (make_mac_frame): Add BLOCK_INPUT around the making of a - terminal frame. - (mac_initialize): Add BLOCK_INPUT around carbon initialization. - * macgui.h (mktime): Use emacs_mktime. - * macfns.c (Fx_file_dialog): Add BLOCK_INPUT around more code. - Make a cancel file-open dialog be like C-g. - * mac.c (mktime): Use emacs_mktime. - (Fdo_applescript): Add BLOCK_INPUT around do_applescript. - (Fmac_paste_function): Add better error handling for carbon cut/paste. - -2004-10-10 Kim F. Storm - - * keyboard.c (timer_resume_idle): New function to resume idle - timer without resetting timers on the idle list. - (read_char): Use timer_resume_idle. Remove local var last_idle_start. - (timer_start_idle, timer_stop_idle): Declare static. - (read_key_sequence): Use timer_resume_idle instead of timer_start_idle. - - * keyboard.h (timer_start_idle, timer_stop_idle): Remove prototypes. - -2004-10-08 Steven Tamm - - * config.in (HAVE_MALLOC_MALLOC_H): Regenerate. - * macterm.c (mac_check_for_quit_char): Remove warning for using - NULL where 0 should be used. - * unexmacosx.c: Use malloc/malloc.h on Tiger instead of - objc/malloc.h - * mac.c: Include time.h for Tiger compatibility. - -2004-10-07 Kim F. Storm - - * xdisp.c (redisplay_window): Fix flicker on vertical line between - windows. Update vertical line after drawing window fringes, but - only if actually drawing any bitmaps--or there is no fringe. - - * xterm.c (x_update_window_end): Likewise. - * macterm.c (x_update_window_end): Likewise. - * w32term.c (x_update_window_end): Likewise. - - * fringe.c (draw_window_fringes): Return value now indicates if - any fringe bitmaps were redrawn (or there are no fringes). - - * dispextern.h (draw_window_fringes): Update prototype. - -2004-10-06 YAMAMOTO Mitsuharu - - * macfns.c (mac_get_window_bounds): Add extern. - (x_real_positions): Use mac_get_window_bounds. - - * macmenu.c (update_submenu_strings): Apply 2004-09-07 change for - xmenu.c (YAILOM). - - * macterm.c [!MAC_OSX]: Include Windows.h. - (front_emacs_window): Rename from mac_front_window. All uses - changed. Return the frontmost non-tooltip emacs window. - (mac_get_window_bounds): New function. - (x_calc_absolute_position): Use the difference of width and height - between the inner and outer window. - (x_set_offset): Specify window position by the coordinae of the - outer window. Adjust the position if the title bar is completely - outside the screen. - (app_is_suspended, app_sleep_time): Remove unused variables. - (do_app_resume, do_app_suspend): Remove their contents because - window-activate/deactivate events will do the job. - (do_zoom_window): Remove unused variables. Make compliant to the - standard way of zooming. Set f->left_pos and f->top_pos. - (XTread_socket): Don't use argument `expected'. Don't use - FrontWindow to determine the clicked window. Exclude unprocessed - mouseUp cases in the early stage. Add parentheses to fix operator - precedence. - (XTread_socket) [TARGET_API_MAC_CARBON]: Don't specify drag area. - -2004-10-05 Jan Dj,Ad(Brv - - * config.in: Regenerate. - - * Makefile.in (RUN_TEMACS): Check HAVE_RANDOM_HEAPSTART instead of - HAVE_EXECSHIELD. - -2004-10-05 Jan Dj,Ad(Brv - - * xterm.c (x_find_modifier_meanings): Ignore any Super or Hyper for - a row if Alt or Meta has been found for that row. Also stop scanning - for Keysyms for that row. - -2004-10-04 Kim F. Storm - - * fringe.c (Ffringe_bitmaps_at_pos): Change return value from cons - to list. Include overlay arrow bitmap in return value. - - * xterm.c (XTset_vertical_scroll_bar): Improve handling of scroll - bars with fractional column width. If scroll bar separates two - windows, move it towards the window it belongs to. Only update - the padding area below the scroll bar widget when necessary, - i.e. when scroll bar widget is created, moved, or resized. - - * xdisp.c (define_frame_cursor1): Do not change frame cursor - while tracking/dragging mouse. - (x_draw_vertical_border): Do not draw line if frame has scroll bars. - - * window.c (coordinates_in_window): Relax check for cursor - on vertial border between mode lines. - (Fset_window_fringes): Do not allow negative widths. - (Fset_window_scroll_bars): Likewise. - - * .gdbinit (pp): Shorthand for p ARG + pr. - (ff): New command: flush frame updates (X only). - -2004-10-03 Michael Albinus - - * fileio.c (auto_save_1) Call Ffile_modes for remote files. - -2004-09-30 Kenichi Handa - - * process.c (send_process): Free composition data. - - * fileio.c (Finsert_file_contents): Free composition data. - - * coding.c (code_convert_region): Don't skip ASCIIs if there are - compositions to encode. - (encode_coding_string): Likewise. Free composition data. - -2004-09-30 Florian Weimer - - * coding.c (code_convert_region): Free composition data. - -2004-09-29 Kim F. Storm - - * fringe.c: Remove limit on number of bitmaps. - (fringe_bitmaps, fringe_faces): Change to pointers. - (max_fringe_bitmaps): New var. - (Fdefine_fringe_bitmap): Expand fringe_bitmaps and fringe_faces. - (init_fringe): Allocate fringe_bitmaps and fringe_faces. - - * dispextern.h (FRINGE_ID_BITS): Increase to 16 bits (64K bitmaps). - (struct glyph_row): Reorder fringe_bitmap related fields. - (struct it): Likewise. - - * w32term.c (fringe_bmp): Change to pointer. - (max_fringe_bmp): New var. - (w32_define_fringe_bitmap): Expand fringe_bmp. - (w32_draw_fringe_bitmap): Check max_fringe_bmp. - (w32_destroy_fringe_bitmap): Likewise. - -2004-09-29 Kim F. Storm - - * fringe.c: Simplify last change. - (lookup_fringe_bitmap): New function. - (valid_fringe_bitmap_p, resolve_fringe_bitmap): Remove. - (Fdestroy_fringe_bitmap): Use lookup_fringe_bitmap. - Keep standard bitmaps in Vfringe_bitmaps. - (Fdefine_fringe_bitmap): Use lookup_fringe_bitmap. - (Fset_fringe_bitmap_face): Likewise. - - * dispextern.h (lookup_fringe_bitmap): Add prototype. - (valid_fringe_bitmap_p): Remove prototype. - - * xdisp.c (handle_single_display_prop): Use lookup_fringe_bitmap. - -2004-09-29 Kim F. Storm - - * fringe.c (destroy_fringe_bitmap, init_fringe_bitmap) - (w32_init_fringe, w32_reset_fringes): Fix bootstrap (NULL rif). - - * dispextern.h (valid_fringe_bitmap_p): Fix prototype. - - * fringe.c (Vfringe_bitmaps): New variable. - (syms_of_fringe): DEFVAR_LISP it. - (valid_fringe_bitmap_p): Rename from valid_fringe_bitmap_id_p. - Change arg to Lisp_Object and fail if not an integer. - (get_fringe_bitmap_name, resolve_fringe_bitmap) - (destroy_fringe_bitmap): New functions. - (Fdestroy_fringe_bitmap): Change arg to bitmap symbol. - Use destroy_fringe_bitmap. Remove symbol from Vfringe_bitmaps and - clear its fringe property. - (init_fringe_bitmap): Use destroy_fringe_bitmap instead of - Fdestroy_fringe_bitmap. - (Fdefine_fringe_bitmap): Add BITMAP arg specifying new or existing - bitmap symbol; remove WHICH arg. Add symbol to Vfringe_bitmaps - and set fringe property. Signal error if no free slots. - (Fset_fringe_bitmap_face): Change arg to bitmap symbol. - (Ffringe_bitmaps_at_pos): Return bitmap symbols instead of numbers. - - * xdisp.c (handle_single_display_prop): Fringe bitmaps are now - symbols with a fringe property. - -2004-09-27 Kim F. Storm - - * buffer.c (syms_of_buffer) : - Doc fix. Format may now be a symbol or alist, not a cons. - - * fringe.c (update_window_fringes): Handle new formats of - indicate-buffer-boundaries (symbol or alist). No longer - allow a simple cons. - (Ffringe_bitmaps_at_pos): Use nil value for no bitmap. - -2004-09-25 Jan Dj,Ad(Brv - - * config.in: Rebuild. - -2004-09-24 Jan Dj,Ad(Brv - - * config.in: Rebuild. - - * Makefile.in: Run setarch i386 ./temacs if exec-shield is present. - -2004-09-18 Stefan Monnier - - * xterm.c (x_term_init): Work around a bug in some X servers. - -2004-09-18 Richard M. Stallman - - * buffer.c (syms_of_buffer) : Doc fix. - - * xdisp.c (try_window_reusing_current_matrix): - Handle the case where we reach the old displayed text, - out of sync with the old line boundary. - -2004-09-14 Stefan Monnier - - * fileio.c (Finsert_file_contents): Fix case of replacement in a - narrowed buffer. - -2004-09-14 Kim F. Storm - - * puresize.h (PURESIZE_RATIO): Define based on BITS_PER_EMACS_INT. - - * xfaces.c (Qface_no_inherit): New var. - (syms_of_xfaces): Intern and staticpro it. - (Finternal_make_lisp_face, Finternal_set_lisp_face_attribute) - (Finternal_copy_lisp_face, update_face_from_frame_parameter): - Don't increment face_change_count when face has non-nil - face-no-inherit property. - -2004-09-13 Stefan Monnier - - * bytecode.c (BYTE_CODE_QUIT): Add missing AFTER_POTENTIAL_GC. - (Fbyte_code): Remove dead code after `wrong_type_argument'. - - * alloc.c (Fgarbage_collect): Mark keyboards, gtk data, and specpdl - before doing the mark_stack_check_gcpros since they're not on the stack. - -2004-09-12 Kim F. Storm - - * editfns.c (Fformat): Handle format strings with multiple text - properties. Reverse text property list from the format string, - so the positions are in increasing order. - -2004-09-10 Jan Dj,Ad(Brv - - * xselect.c (x_reply_selection_request): XSync and UNBLOCK before - x_uncatch_errors so that possible protocol errors are delivered. - -2004-09-10 Eli Zaretskii - - * Makefile.in (msdos.o): Depend on buffer.h, commands.h, and - blockinput.h. - (dosfns.o): Depend on blockinput.h, window.h, dispextern.h, - charset.h, and coding.h - (w16select.o): Depend on buffer.h, charset.h, coding.h, and composite.h. - (term.o): Depend on window.h and keymap.h. - (abbrev.o): Depend on syntax.h. - (callint.o): Depend on keymap.h. - (casefiddle.o): Depend on charset.h and keymap.h. - (category.o): Depend on keymap.h. - (coding.o): Depend on dispextern.h. - (cmds.o): Depend on keyboard.h and keymap.h. - (dispnew.o): Depend on indent.h and intervals.h. - (doc.o): Depend on keymap.h. - (editfns.o): Depend on frame.h. - (emacs.o): Depend on dispextern.h. - (fileio.o): Don't depend on ccl.h. - (filelock.o): Depend on charset.h and coding.h. - (frame.o): Depend on w32term.h and macterm.h. - (insdel.o): Depend on region-cache.h. - (keyboard.o): Depend on keymap.h, w32term.h, and macterm.h. - (minibuf.o): Depend on $(INTERVALS_SRC) and keymap.h. - (search.o): Depend on $(INTERVALS_SRC). - (syntax.o): Depend on keymap.h, regex.h, and $(INTERVALS_SRC). - (window.o): Depend on keymap.h, blockinput.h, $(INTERVALS_SRC), - xterm.h, w32term.h, and macterm.h. - (xdisp.o): Depend on keyboard.h, $(INTERVALS_SRC), xterm.h, - w32term.h, and macterm.h. - (xfaces.o): Depend on keyboard.h, $(INTERVALS_SRC), - region-cache.h, xterm.h, w32term.h, and macterm.h. - (bytecode.o): Depend on dispextern.h, frame.h, and xterm.h. - (data.o): Depend on frame.h. - (fns.o): Depend on keymap.h, xterm.h, and blockinput.h. - (print.o): Depend on termchar.h and $(INTERVALS_SRC). - (lread.o): Depend on $(INTERVALS_SRC), termhooks.h, and coding.h. - (intervals.o): Depend on keymap.h. - - * msdos.c (msdos_set_cursor_shape, IT_display_cursor): - Add debugging print-out to termscript. - -2004-09-09 Richard M. Stallman - - * xdisp.c (decode_mode_spec): Use current buffer for most purposes. - -2004-09-08 Richard M. Stallman - - * window.c (Fset_window_buffer): Doc fix. - - * xdisp.c (Fformat_mode_line): New arg BUFFER says which buffer to use. - -2004-09-08 Dan Nicolaescu - - * minibuf.c (history_delete_duplicates): New variable. - (read_minibuf): Use it. - (syms_of_minibuf): Create the corresponding lisp variable. - -2004-09-08 Kim F. Storm - - * xdisp.c (set_cursor_from_row): Also look at 'cursor' property in - overlay just before point. - -2004-09-07 Luc Teirlinck - - * buffer.h (struct buffer): Add auto_save_file_format field. - * buffer.c (reset_buffer, init_buffer_once): - Handle auto_save_file_format field. - (syms_of_buffer): Add DEFVAR_PER_BUFFER for - `buffer-auto-save-file-format'. - * fileio.c: Delete declaration for removed Vauto_save_file_format. - (build_annotations): Adapt to replacement of - `auto-save-file-format' with the new buffer-local variable - `buffer-auto-save-file-format'. - (syms_of_fileio): Delete DEFVAR_LISP for auto-save-file-format. - -2004-09-07 Jason Rumney - - * w32term.h (AppendMenuW_Proc): Move declaration from w32menu.c. - - * w32fns.c (w32_wnd_proc) : - Handle Unicode menu titles. - -2004-09-07 Kim F. Storm - - * xdisp.c (set_cursor_from_row): Fix last change. Only use 'cursor' - property from text property or overlay strings at point. - -2004-09-07 Stefan Monnier - - * xmenu.c (update_submenu_strings): YAILOM. - (set_frame_menubar): Make sure last_i is initialized. - -2004-09-03 Jason Rumney - - * w32menu.c (_widget_value): Add lname and lkey. - (digest_single_submenu): Set lname and lkey in widget_value - instead of name and key. - (update_submenu_strings): New function. - (set_frame_menubar): Remove call to inhibit_garbage_collection, - call update_submenu_strings. - - * w32menu.c (globals_of_w32menu): Check for Unicode API. - (digest_single_submenu, w32_menu_show): Encode menu strings as - UTF-8 if Unicode API is available. - (utf8to16): New function. - (add_menu_item): Use it when calling Unicode API. - -2004-09-03 Kim F. Storm - - * xdisp.c (set_cursor_from_row): Look for non-nil `cursor' property - in overlay or text-property strings; set cursor on corresponding - glyph rather than at end of the string. - -2004-09-02 YAMAMOTO Mitsuharu - - * macfns.c (x_real_positions): Save the current window port and - set a new one before obtaining the global coordinate. - Use FRAME_MAC_WINDOW. - (x_set_name, x_set_title): Encode title to UTF8. - Use SetWindowTitleWithCFString. - (Fx_server_version): Get correct OS version. - - * macmenu.c (add_menu_item): Remove unused variable `i'. - Don't let separator items destroy refence constants of other menu items. - - * macterm.c (x_update_end): Move SetPortWindowPort to inside - BLOCK_INPUT. - (x_set_offset): Use FRAME_MAC_WINDOW. - - * xdisp.c (note_mouse_highlight): Set the mouse pointer shape to - nontext_cursor if it is on a scroll bar. - - * s/darwin.h (LIBS_CARBON): New define to specify libraries for - Carbon support. - (LD_SWITCH_SYSTEM_TEMACS): Don't link with unused libstdc++. - Use LIBS_CARBON. - -2004-09-02 Jan Dj,Ad(Brv - - * xfns.c (x_set_name_internal): New function. Check if we shall call - xfree before ENCODE_UTF_8. - (x_set_name, x_set_title): Call x_set_name_internal. - -2004-08-31 NAKAMURA Toshikazu (tiny change) - - * w32fns.c (w32_load_font): If a BDF font is already loaded, do not - reload it. - -2004-08-30 Jan Dj,Ad(Brv - - * macmenu.c (_widget_value): Add lname and lkey. - (single_submenu): Set lname and lkey in widget_value - instead of name and key. - (update_submenu_strings): New function. - (set_frame_menubar): Remove call to inhibit_garbage_collection, - call update_submenu_strings. - - * xmenu.c (digest_single_submenu): Set lname and lkey in widget_value - instead of name and key. - (update_submenu_strings): New function. - (set_frame_menubar): Remove call to inhibit_garbage_collection, - call update_submenu_strings. - - * gtkutil.h (_widget_value): Added lname and lkey. - -2004-08-30 Steven Tamm - - * macmenu.c (mac_menu_show): Remove shadowing of menu variable - by using different names for inner loop variables. - -2004-08-27 Jan Dj,Ad(Brv - - * xmenu.c (set_frame_menubar): Reintroduce inhibit_garbage_collection - from 2002-07-15T00:01:34Z!raeburn@raeburn.org so that strings from ENCODE_UTF_8 isn't GC:ed before used. - - * gtkutil.c (xg_create_frame_widgets): Compensate for tool bar when - tool bar items is 0. - -2004-08-26 YAMAMOTO Mitsuharu - - * macmenu.c (ENCODE_MENU_STRING): Added to handle multibyte - strings in menu items. - (single_submenu): Use ENCODE_MENU_STRING - (mac_menu_show): Use ENCODE_MENU_STRING. Reset grabbed because - button release isn't passed to event loop - (add_menu_item): Use SetMenuItemWithCFString - -2004-08-26 Steven Tamm - - * fileio.c (Fread_file_name): Call x_file_dialog on carbon on - tool-bar/menu click. - * macfns.c (Fx_file_dialog): Implement using NavServices. - -2004-08-24 Jan Dj,Ad(Brv - - * xterm.c (x_catch_errors_unwind): Do not XSync if display has closed. - - * xfns.c (x_window_to_frame, x_any_window_to_frame) - (x_non_menubar_window_to_frame, x_menubar_window_to_frame) - (x_top_window_to_frame): Return 0 if wdesc is None. - -2004-08-22 Richard M. Stallman - - * process.c (process_send_signal) [SIGNALS_VIA_CHARACTERS, - HAVE_TERMIOS]: If there's no char for this signal, drop through - and use system calls. - - * bytecode.c (Fbyte_code) : Cannot GC. - -2004-08-20 Kim F. Storm - - * process.c (wait_reading_process_output): Rename from - wait_reading_process_input. All uses changed. - (wait_reading_process_output_1): Rename from - wait_reading_process_input_1. All uses changed. - - * dispnew.c (Fsleep_for): Remove obsolete code. - -2004-08-20 Kenichi Handa - - * syntax.c (skip_chars): Fix for unibyte case. - -2004-08-19 Stefan Monnier - - * syntax.c (char_quoted): Mixup byte/char pos. - (back_comment): Fixup globals in all cases. - -2004-08-19 Jan Dj,Ad(Brv - - * xfns.c (x_set_name, x_set_title): Encode title to UTF8 before - passing it to gtk_window_set_title. - -2004-08-19 Kim F. Storm - - * process.c (wait_reading_process_input): Clean up. - Add wait_for_cell, wait_proc, and just_wait_proc args - to avoid overloading `read_kbd' and `do_display' args. - Change read_kbd arg to int. All callers changed. - - * process.c (process_send_signal): Use CDISABLE. - - * sysdep.c (child_setup_tty, init_sys_modes): Use CDISABLE. - -2004-08-18 Kim F. Storm - - * process.c (Faccept_process_output): Add arg JUST-THIS-ONE; - forward to wait_reading_process_input via DO_DISPLAY arg. - (wait_reading_process_input): If DO_DISPLAY < 0 for a process - object, only process output from that process; also inhibit - running timers if DO_DISPLAY==-2. - -2004-08-17 Kim F. Storm - - * process.c (process_send_signal): Fix last change--use - _POSIX_VDISABLE instead of CVDISABLE when available. - -2004-08-16 Richard M. Stallman - - * sysdep.c (child_setup_tty) [SIGNALS_VIA_CHARACTERS]: - Set VQUIT and VINTR chars to the standard ones if they are unset. - [AIX]: Don't do that here. And don't force VINTR to standard - when SIGNALS_VIA_CHARACTERS. - - * process.c (process_send_signal) - [SIGNALS_VIA_CHARACTERS, HAVE_TERMIOS]: Clean up. - Do nothing if the character is CVDISABLE. - - * xfaces.c (merge_face_ref): Specifying `unspecified' is a no-op. - - * intervals.c (move_if_not_intangible): - Force POSITION to be between BEGV and ZV. - -2004-08-14 John Paul Wallington - - * buffer.c (Frestore_buffer_modified_p): Doc fix. - - * fileio.c (Fread_file_name): Doc fix. - - * minibuf.c (syms_of_minibuf) : Doc fix. - -2004-08-09 Luc Teirlinck - - * keymap.c (Fmake_keymap, Fmap_keymap, Fwhere_is_internal): Doc fixes. - -2004-08-08 Luc Teirlinck - - * keyboard.c: Declare Qdisabled_command_function instead of - Qdisabled_command_hook. - (Fcommand_execute): Use Qdisabled_command_function instead of - Qdisabled_command_hook. - (syms_of_keyboard): Ditto. - -2004-08-07 Luc Teirlinck - - * keymap.c (Flocal_key_binding, Fglobal_key_binding) - (syms_of_keymap) : Doc fixes. - -2004-08-07 Stefan Monnier - - * window.c (window_list_1): YAILOM. - - * fileio.c (make_temp_name): Handle multibyte prefixes. - -2004-08-06 Luc Teirlinck - - * keyboard.c (syms_of_keyboard) : - Doc fix. - -2004-08-03 Kenichi Handa - - * coding.c (decode_coding_string): Adjust coding->consumed, and - etc. with shrinked_bytes. - -2004-08-03 Kim F. Storm - - * indent.c (compute_motion): Fix check for full width window - in non-window case. Do not count left truncation glyph on - window systems. - -2004-08-02 Luc Teirlinck - - * data.c (Finteractive_form): Doc fix. - -2004-08-02 Kim F. Storm - - * indent.c (compute_motion): Use actual window width if WIDTH is -1, - properly accounting for continuation glyph on non-window systems. - (Fcompute_motion): Use actual window width if WIDTH is nil, and - actual window width/height if TOPOS is nil, properly accounting for - continuation glyphs on non-window systems, and optional header lines. - (vmotion): Let compute_motion calculate actual window width. - - * window.c (window_scroll_line_based): Let compute_motion - calculate actual window width. - -2004-08-02 Kim F. Storm - - * process.c (read_process_output): Use whole read buffer. - Don't trigger adaptive read buffering on errors. - -2004-07-31 Luc Teirlinck - - * keymap.c (Fset_keymap_parent, Fdefine_prefix_command): Doc fixes. - - * keyboard.c (syms_of_keyboard) : Doc fix. - - * callint.c (Fcall_interactively): Doc fix. - -2004-07-30 Richard M. Stallman - - * abbrev.c (Fexpand_abbrev): Undo previous change. - -2004-07-30 Kim F. Storm - - * editfns.c (Fformat): Allocate extra (dummy) element in info. - -2004-07-28 Luc Teirlinck - - * eval.c (Fdefvar, Fdefconst): Doc fixes. - -2004-07-27 Kim F. Storm - - * xdisp.c (move_it_in_display_line_to): Check BUFFER_POS_REACHED_P after - we have ensured that the glyph fits on the current line (or returned - MOVE_LINE_CONTINUED otherwise). - -2004-07-26 Kim F. Storm - - * xdisp.c (move_it_in_display_line_to): If overflow-newline-into-fringe - is enabled, return MOVE_LINE_CONTINUED rather than MOVE_POS_MATCH_OR_ZV - if target position is at end of display line but char is not a newline. - -2004-07-25 Richard M. Stallman - - * window.c (coordinates_in_window): Return ON_SCROLL_BAR - instead of ON_VERTICAL_BORDER, when on scroll bar. - (Fcoordinates_in_window_p): Handle ON_SCROLL_BAR--return nil. - - * dispextern.h (enum window_part): Add ON_SCROLL_BAR. - - * window.c (Fcoordinates_in_window_p): - Take account of FRAME_INTERNAL_BORDER_WIDTH. - - * alloc.c (check_cons_list): New function (contents commented out). - -2004-07-24 Luc Teirlinck - - * xfaces.c (Fcolor_supported_p): Doc fix. - - * frame.c (Fselect_frame, Fset_frame_selected_window) - (Fframe_visible_p, Fraise_frame): Doc fixes. - -2004-07-24 Richard M. Stallman - - * keyboard.h (not_single_kboard_state): Declare. - - * fileio.c (Fwrite_region): Doc fix. - - * window.c (Fwindow_at): Take account of FRAME_INTERNAL_BORDER_WIDTH. - - * abbrev.c (Fexpand_abbrev): Run Qpre_abbrev_expand_hook - only when a real abbrev is present. - - * xfns.c (x_icon_verify): New function. - (Fx_create_frame): Use it. - -2004-07-22 Barry Fishman (tiny change) - - * s/gnu-linux.h: Use GC_MARK_STACK if __amd64__ is defined. - -2004-07-21 Kim F. Storm - - * window.h (struct glyph_matrix): New members nrows_scale_factor - and ncols_scale_factor. - - * window.c (make_window): Initialize nrows_scale_factor and - ncols_scale_factor members. - - * dispnew.c (margin_glyphs_to_reserve): Apply ncols_scale_factor. - (allocate_matrices_for_frame_redisplay): Fix left/right margin mix-up. - (required_matrix_height): Apply nrows_scale_factor. - (required_matrix_width): Apply ncols_scale_factor. - - * xdisp.c (display_line): Increment nrows_scale_factor and set - fonts_changed_p if past last allocated row. - (append_glyph, append_composite_glyph, produce_image_glyph) - (append_stretch_glyph): Increment ncols_scale_factor and set - fonts_changed_p if current area is full. - -2004-07-21 Jan Dj,Ad(Brv - - * widget.c (EmacsFrameDestroy): Don't abort if normal_gc is 0. - -2004-07-19 Luc Teirlinck - - * window.c (Fpos_visible_in_window_p, Fset_window_hscroll) - (Fwindow_inside_pixel_edges, Fwindow_end, Fset_window_point) - (Fset_window_start, Fscroll_up, Fscroll_down) - (Fother_window_for_scrolling, Fscroll_other_window) - (Fsave_window_excursion, Fset_window_vscroll) - (syms_of_window) : Doc fixes. - -2004-07-19 KOBAYASHI Yasuhiro - - * w32fns.c (Fx_file_dialog): Use ENCODE_FILE instead of - ENCODE_SYSTEM for filenames. - -2004-07-18 YAMAMOTO Mitsuharu - - * mac.c (sys_select): Block input around call to - ReceiveNextEvent to prevent breakage. Correctly handle - blocking on event queue only by calling ReceiveNextEvent - instead of select (since GUI events aren't on an fd). - (sys_read): Remove function - * sysdep.c: Remove redefine of read to sys_read if HAVE_CARBON - -2004-07-18 YAMAMOTO Mitsuharu - - * mac.c (sys_select): Redo sys_select to use alarm-based - polling instead of 1 sec timeouts (like solaris). - - * macterm.c (x_make_frame_visible): Comment in polling on - frame creation. - - * keyboard.c: Undef SIGIO on Carbon - - * atimer.c (alarm_signal_handler): Call alarm handlers after - scheduling. - - * eval.c (Feval): Remove quit_char test - - * process.c (wait_reading_process_input): Remove clearing - stdin for select call on process input. - -2004-07-18 Luc Teirlinck - - * xdisp.c (syms_of_xdisp) : Correct - capitalization error in docstring. - -2004-07-17 Juanma Barranquero - - * keyboard.c (not_single_kboard_state): Do nothing unless - MULTI_KBOARD is defined. - -2004-07-17 Richard M. Stallman - - * window.c (coordinates_in_window): Inside the window but outside - its box to the L or R, return ON_VERTICAL_BORDER. - (window_list_1): Rotate the list to start with WINDOW. - - * print.c (print_preprocess): Test for print_depth at limit - before entering in being_printed. - - * keyboard.c (not_single_kboard_state): New function. - (stuff_buffered_input): Now no-op only if no SIGTSTP. - - * frame.c (Fdelete_frame): If we're in single_bboard_state on - this kboard, and we delete its last frame, go to any_kboard_state. - - * buffer.c (syms_of_buffer) : Doc fix. - -2004-07-15 KOBAYASHI Yasuhiro - - * w32fns.c (Fx_file_dialog): Encode strings in system coding - system before passing them to OS functions for display. - -2004-07-15 David Kastrup - - * search.c (syms_of_search): Staticpro `saved_last_thing_searched'. - Apparently fixes an abort condition. - -2004-07-14 Luc Teirlinck - - * fileio.c (Fvisited_file_modtime): Return a list of two integers, - instead of a cons. - -2004-07-14 K,Aa(Broly L$,1 q(Brentey - - * keyboard.c (echo_dash): Do nothing if there already is a dash - at the end of the echo string. - -2004-07-12 Kim F. Storm - - * alloc.c (mark_object): Only look at Lisp_Misc_Save_Value - if GC_MARK_STACK. - -2004-07-10 Luc Teirlinck - - * buffer.c (Fswitch_to_buffer, Fpop_to_buffer): Doc fixes. - - * window.c (Fwindow_buffer, Fother_window, Fget_lru_window) - (Fget_largest_window, Fget_buffer_window, Fdelete_windows_on) - (Freplace_buffer_in_windows, Fset_window_buffer) - (Fselect-window, Fdisplay-buffer, Fsplit_window): Doc fixes. - (syms_of_window): Expand docstring of `display-buffer-function'. - -2004-07-09 Luc Teirlinck - - * editfns.c (Ffloat_time, Fformat_time_string, Fdecode_time) - (Fcurrent_time_string, Fcurrent_time_zone): Mention in docstrings - that time values of the type (HIGH . LOW) are considered obsolete. - -2004-07-06 Luc Teirlinck - - * keyboard.c (syms_of_keyboard): Fix `keyboard-translate-table' - docstring. - - * fns.c (Fclear_string): Declare `len' before call to CHECK_STRING. - -2004-07-06 John Paul Wallington - - * eval.c (Fdefmacro): Signal an error if NAME is not a symbol. - - * fns.c (Fclear_string): Signal an error if STRING is not a string. - -2004-07-05 Jan Dj,Ad(Brv - - * macterm.c (mac_initialize_display_info): Use CGGetActiveDisplayList - instead of CGMainDisplayID (only in OSX 10.2 and later). - -2004-07-04 John Paul Wallington - - * fileio.c (read_file_name_completion_ignore_case): New variable. - (syms_of_fileio): Declare and initialise it. - (Fread_file_name): Bind `completion-ignore-case' to respect it. - -2004-07-03 Eli Zaretskii - - * msdos.c (dos_rawgetc): Use make_number to produce Lisp objects - for event.x and event.y. - -2004-07-01 Kenichi Handa - - * w32select.c (Fw32_set_clipboard_data): Update `nbytes' correctly - after getting a new string by pre-write-conversion. - -2004-06-30 Stefan Monnier - - * xterm.c (x_detect_focus_change): Remove unused var `nr_events'. - (x_calc_absolute_position): Remove unused var `child'. - - * xfaces.c (x_supports_face_attributes_p) - (Fdisplay_supports_face_attributes_p): YAILOM. - (tty_supports_face_attributes_p): Remove unused var `i'. - - * syntax.c (skip_chars): Remove unused labels fwd_unibyte_ok and - back_unibyte_ok. - - * search.c (match_limit, Fmatch_data, Fset_match_data): YAILOM. - - * fontset.c (Fset_fontset_font): Remove unused vars `family' and - `registry'. - - * Makefile.in (${etc}DOC): Fix file name of make-docfile. - -2004-06-30 Andreas Schwab - - * image.c (CHECK_LIB_AVAILABLE): Add third parameter LIBRARIES. - (Finit_image_library): Pass LIBRARIES through to - CHECK_LIB_AVAILABLE. Declare parameters. Doc fix. - (lookup_image_type): Pass Qnil as second argument to - Finit_image_library. - - * lisp.h (Finit_image_library): Declare. - -2004-06-29 YAMAMOTO Mitsuharu - - * macterm.c (do_window_activate, do_window_deactivate): Remove. - (XTread_socket): Send mouse button events to the toolbox - dispatcher even when the mouse is grabbed. Don't process window - activate events for non-Emacs windows. Replace function calls to - do_window_activate and do_window_deactivate with their contents. - Reset mouse grabbing status when a window is deactivated. - -2004-06-29 Steven Tamm - - * macterm.c (mac_get_emulated_btn) - (mac_event_to_emacs_modifiers): Fix emulated mouse button - support to correctly mask out modifiers. - -2004-06-29 David Kastrup - - * search.c (Fset_match_data): Allow buffer before end of list - which can happen if set-match-data is using a pre-consed list. - -2004-06-28 Steven Tamm - - * macterm.c (XTread_socket): Correctly set the frame position - after the window is moved. - -2004-06-28 Jan Dj,Ad(Brv - - * gtkutil.c (xg_get_image_for_pixmap): Call g_object_unref on - gpix and gmask just before return to avoid memory leak. - (xg_get_image_for_pixmap): Add workaround for monochrome displays - so insensitive and activated icons look ok. - -2004-06-27 Jason Rumney - - * w32fns.c (file_dialog_callback): Disable edit control if set - to directories only on CDN_INITDONE message. - (Fx_file_dialog): Default to directories only when prompt starts - with "Dired". - -2004-06-25 Kim F. Storm - - * alloc.c (allocate_misc): Update total_free_markers. - (free_misc): New function. - (safe_alloca_unwind, free_marker): Use it. - - * lisp.h (free_misc): Add prototype. - - * fns.c (Fmapconcat, Fmapcar): Remove superfluous GCPROs. - -2004-06-24 Richard M. Stallman - - * emacs.c (Vsignal_USR1_hook, Vsignal_USR2_hook): Definitions deleted. - (syms_of_emacs): Lisp variables deleted. - -2004-06-23 David Kastrup - - * search.c (Freplace_match): Adjust the match-data more thoroughly - when replacing strings in the buffer. - (Fmatch_data): When INTEGERS is non-nil and the last match was in - a buffer, add the buffer as last element to the match data. - (Fset_match_data): If an additional element of the match-data is a - buffer, restore it to last_thing_searched. - (save_search_regs): Save last_thing_searched as part of the match data. - (restore_match_data): Restore it again. - -2004-06-23 Luc Teirlinck - - * keymap.c (Ftext_char_description): Doc fix. - * doc.c (Fsnarf_documentation): Doc fix. - -2004-06-22 Kim F. Storm - - * fns.c (Fmapcar, Fmapconcat): GCPRO the args array. - - * lisp.h (struct Lisp_Save_Value): New member dogc. - (SAFE_ALLOCA_LISP): Change second arg to number of elements. - Set dogc member in Lisp_Save_Value object so it will be GC'ed. - (SAFE_FREE_LISP): New macro. - - * alloc.c (safe_alloca_unwind): Clear dogc and pointer members. - (make_save_value): Init new dogc member. - (mark_object): Mark Lisp_Save_Value pointer array if dogc is set. - - * fns.c (Fmapconcat, Fmapcar): Use new SAFE_ALLOCA_LISP and - SAFE_FREE_LISP macros. - -2004-06-22 Kim F. Storm - - * lisp.h (SAFE_ALLOCA_LISP): New macro to allocate Lisp_Objects. - Temporarily inhibits GC if memory is xmalloc'ed, as the Lisp_Objects - in that memory area are unknown to GC. Add comments. - - * fns.c (Fmapconcat, Fmapcar): Use SAFE_ALLOCA_LISP. - -2004-06-21 Kim F. Storm - - * lisp.h (MAX_ALLOCA): Define here. - (safe_alloca_unwind): Add prototype. - (USE_SAFE_ALLOCA, SAFE_ALLOCA, SAFE_FREE): New macros. - - * alloc.c (safe_alloca_unwind): New function. - - * casefiddle.c (casify_object): Use SAFE_ALLOCA. - - * charset.c (Fstring): Use SAFE_ALLOCA. - - * coding.c (MAX_ALLOCA): Remove define. - - * data.c (MAX_ALLOCA): Remove define. - (Faset): Use SAFE_ALLOCA. - - * editfns.c (Fformat, Ftranspose_regions): Use SAFE_ALLOCA. - - * fns.c (string_make_multibyte, string_to_multibyte) - (string_make_unibyte, Fmapconcat, Fmapcar): Use SAFE_ALLOCA. - (MAX_ALLOCA): Remove define. - (Fbase64_encode_region, Fbase64_encode_string) - (Fbase64_decode_region, Fbase64_decode_string): Use SAFE_ALLOCA. - (Fbase64_encode_region, Fbase64_encode_string): Fix potential - memory leak if encoding fails. - - * xdisp.c (add_to_log): Use SAFE_ALLOCA. - -2004-06-21 Eli Zaretskii - - * print.c (Fwith_output_to_temp_buffer): Doc fix. - -2004-06-20 Richard M. Stallman - - * xfaces.c (Finternal_copy_lisp_face): Small cleanup; doc fix. - - * search.c (match_limit): Cleaner err msg when no match data available. - - * window.c (syms_of_window): Doc fix. - - * keyboard.c (command_loop_1): Handle values `only' and `identity' - for Vtransient_mark_mode. - - * buffer.c (syms_of_buffer): Doc fix. - -2004-06-21 David Kastrup - - * minibuf.c (Ftry_completion, Fall_completions): Do lazy binding - and unbinding of `case-fold-search' according to - `completion-ignore-case' around calls of string-match and - predicates, respectively. Should give satisfactory performance - in all relevant cases. - -2004-06-17 Jan Dj,Ad(Brv - - * xterm.c (x_draw_image_foreground_1): Subtract slice.x/y from - clip_x/y_origin. - - * fns.c (string_to_multibyte): Use xmalloc/xfree instead of alloca. - - * macfns.c (Fx_display_color_cells): Do not limit return value to 256. - - * macterm.c (mac_initialize_display_info): Initialize n_planes correctly - on Mac OSX. - -2004-06-16 Luc Teirlinck - - * buffer.c (syms_of_buffer): Clarify `fill-column' docstring. - -2004-06-16 Kim F. Storm - - * dispextern.h (Vimage_types): Remove extern. - -2004-06-16 Miles Bader - - * image.c (lookup_image_type): Initialize image type if necessary. - -2004-06-15 Kim F. Storm - - * xdisp.c (try_cursor_movement): Exclude header line from scroll - margin at top of window. - (try_window_reusing_current_matrix): Calculate proper cursor position - after scrolling up with non-zero scroll margin, as the old cursor - position corresponds to value of PT before executing this command. - (try_window_id): Consider scroll margin at bottom of window too; - otherwise we fail to scroll when hl-line-mode is enabled. - - * syntax.c (skip_chars): Only recognize [:class:] when it has the - proper format and class is a lower-case word. - -2004-06-14 Jan Dj,Ad(Brv - - * gtkutil.c (xg_get_image_for_pixmap): New function. - (xg_get_gdk_pixmap_and_mask): Remove. - (update_frame_tool_bar): Call xg_get_image_for_pixmap instead of - xg_get_gdk_pixmap_and_mask. - - * xterm.h (struct x_display_info): Typo in comment fixed. - -2004-06-14 Juanma Barranquero - - * dispextern.h (Vimage_types): Make it conditional on - HAVE_WINDOW_SYSTEM. - - * image.c (Vimage_types): Move from xdisp.c. - (Vimage_type_cache): New variable. - (define_image_type): New argument indicating whether an image - library was loaded; cache loaded status and return t on success, - nil otherwise. - (CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros. - (w32_delayed_load): New function to load an image library from a - list of possible filenames. - (init_xpm_functions, init_png_functions, init_jpeg_functions) - (init_tiff_functions, init_gif_functions): Use `w32_delayed_load'. - (CHECK_LIB_AVAILABLE): Call `define_image_library' with new argument. - (Finit_image_library): New function, extracted from `init_image'. - Try to initialize an image library on demand and cache whether we - were successful or not. - (syms_of_image): Initialize `Vimage_types' and - `Vimage_type_cache'. Add recognized image types to Vimage_types. - Export `init-image-library'. - (init_image): Remove initialization of all image types, except xbm - and pbm. - - * xdisp.c (Vimage_types): Delete (moved to image.c). - -2004-06-14 Andreas Schwab - - * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): - Avoid calling specbind when completion-regexp-list is empty. - -2004-06-13 Richard M. Stallman - - * regex.h (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) - (re_wctype, re_iswctype, re_wctype_to_bit): - Non-function definitions moved here from regex.c. - - * regex.c (re_wctype, re_iswctype): Function defs longer static. - (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) - (re_wctype, re_iswctype, re_wctype_to_bit): - Non-function definitions moved to regex.h. - - * window.c (Fselect_window): Doc fix. - - * syntax.c: Include regex.h. - (skip_chars): New arg HANDLE_ISO_CLASSES. Callers changed. - If requested, make a list of classes, then check the scanned - chars for membership in them. - (in_classes): New function. - Doc fix. - - * keyboard.c (cmd_error): Don't call any_kboard_state - if inside a recursive edit level. - -2004-06-13 K,Aa(Broly L$,1 q(Brentey - - * keyboard.c (command_loop): Call any_kboard_state before - command_loop_2 when at top level. - -2004-06-13 Andreas Schwab - - * print.c (print_object): Always use %ld for printing EMACS_INT. - - * keyboard.c (cancel_hourglass_unwind): Return a value. - (modify_event_symbol): Always use %ld for printing EMACS_INT. - (Fexecute_extended_command): Likewise. - - * syntax.h (SYNTAX_ENTRY_FOLLOW_PARENT): Rename local variable to - avoid clashes. - (SYNTAX): Likewise. - (SYNTAX_WITH_FLAGS): Likewise. - (SYNTAX_MATCH): Likewise. - - * syntax.c (char_quoted): Avoid warning about undefined operation. - (find_defun_start): Likewise. - (scan_lists): Likewise. - (INC_FROM): Likewise. - (scan_sexps_forward): Likewise. - - * image.c: Include . - - * xfaces.c (face_attr_equal_p): Declare parameters. - -2004-06-13 Kenichi Handa - - * ccl.c (CCL_READ_CHAR): If hit EOF, set REG to -1. - -2004-06-12 Matthew Mundell - - * eval.c (Fdefun): Signal an error if NAME is not a symbol. - -2004-06-12 Kenichi Handa - - * ccl.c (CCL_CALL_FOR_MAP_INSTRUCTION): Save eof_ic in - ccl_prog_stack_struct and update it. - (CCL_INVALID_CMD): If CCL_DEBUG is defined, call ccl_debug_hook. - (CCL_READ_CHAR): Get instruction counter from eof_ic, not from - ccl->eof_ic on EOF. - (ccl_debug_hook): New function. - (struct ccl_prog_stack): New member eof_ic. - (ccl_driver): Handle EOF in subrountine call correctly. - -2004-06-11 Kenichi Handa - - * coding.c (encode_coding_string): Check CODING_FINISH_INTERRUPT. - -2004-06-11 Kim F. Storm - - * emacs.c (shut_down_emacs): Inhibit redisplay during shutdown. - -2004-06-11 Juanma Barranquero - - * keyboard.c (Fposn_at_point): Doc fix. - -2004-06-11 David Kastrup - - * search.c (match_limit): Don't flag an error if match-data - exceeding the allocated search_regs.num_regs gets requested, just - return Qnil. - -2004-06-08 Miles Bader - - * xfaces.c (push_named_merge_point): Return 0 when a cycle is detected. - -2004-06-07 Juanma Barranquero - - * editfns.c (Fuser_login_name, Ffloat_time, Fencode_time) - (Fcurrent_time_string, Fcurrent_time_zone) - (Finsert_buffer_substring, Ftranspose_regions): Doc fixes. - -2004-06-07 Miles Bader - - * xfaces.c (struct named_merge_point): New type. - (push_named_merge_point): New function. - (merge_named_face): New function. - (merge_face_ref, face_at_buffer_position, face_at_string_position): - Use `merge_named_face'. - (merge_face_inheritance): Function removed. - (merge_face_ref): Rename from `merge_face_vector_with_property'. - Add new `err_msgs' and `named_merge_points' args. Return error - status. Only print error messages if ERR_MSGS is true. Don't try to - do :inherit attribute validation. - (merge_face_heights): Handle `unspecified' in both directions. - (merge_face_vectors): Rename `cycle_check' arg to `named_merge_points'. - Call `merge_face_ref' instead of `merge_face_inheritance'. - (Fdisplay_supports_face_attributes_p, Fface_attributes_as_vector) - (compute_char_face, face_at_buffer_position) - (face_at_string_position): Call `merge_face_ref' instead of - `merge_face_vector_with_property'. - -2004-06-07 Kenichi Handa - - * coding.c (find_safe_codings): Check NILP (safe_codings) only at - the necessary places. - -2004-06-07 Kim F. Storm - - * process.c (Fdelete_process): Undo 2004-05-28 change. - Instead, call status_notify also for network process. - (status_message): Use process instead of status as arg. - Give messages "deleted" or "connection broken by remote peer" for - an exited network process. - (status_notify): Change call to status_message. - (read_process_output): Increase readmax to 4096. Do not increase - buffer size for datagram channels (default is now large enough). - -2004-06-06 Steven Tamm - - * macfns.c (x_create_tip_frame): Fix Mac OS X 10.1 compilation - problem due to newly defined variable. - -2004-06-06 Miles Bader - - * xfaces.c (Fdisplay_supports_face_attributes_p): Give up - immediately if non-interactive or not initialized. - -2004-06-05 Richard M. Stallman - - * minibuf.c (Fcompleting_read): Doc fix. - -2004-06-05 Andreas Schwab - - * macfns.c (x_create_tip_frame): Fix declaration after statement. - -2004-06-05 Juanma Barranquero - - * keymap.c (Fdescribe_vector): Fix docstring. - (Fkey_description, Fglobal_key_binding): Fix typo in docstring. - -2004-06-05 Miles Bader - - * xfaces.c (tty_supports_face_attributes_p): Make sure the specified - attributes have different values than the default face. - -2004-06-04 Eli Zaretskii - - * xfaces.c (x_supports_face_attributes_p): Make this function - conditional on HAVE_WINDOW_SYSTEM. - (Fdisplay_supports_face_attributes_p) [HAVE_WINDOW_SYSTEM]: - Don't call x_supports_face_attributes_p if it was not compiled in. - -2004-06-04 Miles Bader - - * xfaces.c (tty_supports_face_attributes_p): New function, mostly - from Ftty_supports_face_attributes_p. - (x_supports_face_attributes_p): New function. - (Ftty_supports_face_attributes_p): Function deleted. - (Fdisplay_supports_face_attributes_p): New function. - (syms_of_xfaces): Initialize Sdisplay_supports_face_attributes_p. - (face_attr_equal_p): New function. - (lface_equal_p): Use it. - -2004-06-03 Juanma Barranquero - - * w32fns.c (Fx_display_grayscale_p, Fw32_send_sys_command) - (Vw32_color_map): Fix typo in docstring. - (Fx_create_frame, Fw32_find_bdf_fonts, Fx_show_tip) - (Fw32_unregister_hot_key, Fw32_reconstruct_hot_key): - Make argument names match their use in docstring. - -2004-06-02 Juanma Barranquero - - Work around bugs/problems with MinGW builds of graphics libraries - called from MSVC builds of Emacs. - - * image.c (lookup_image): Make pointer to img static. - (png_read_from_memory): Disable "global" optimization. - -2004-06-01 Stefan Monnier - - * eval.c (Fcondition_case): Fix usage. Simplify. - - * mem-limits.h (EXCEEDS_LISP_PTR) [USE_LSB_TAG]: Never true. - -2004-05-29 YAMAMOTO Mitsuharu - - * macfns.c: Don't include ccl.h. - [MAC_OSX]: Don't include QuickTime/QuickTime.h. - [!MAC_OSX]: Don't include alloca.h, Windows.h, Gestalt.h, or - TextUtils.h. - (Fx_create_frame): Sync with xfns.c. Initialize cursor descriptors. - (Fx_display_mm_height, Fx_display_mm_width): Calculate length from - display height/width. - (compute_tip_xy, Vx_max_tooltip_size): Declare. - (unwind_create_tip_frame, compute_tip_xy): New functions. - (x_create_tip_frame, Fx_show_tip, Fx_hide_tip): Sync with xfns.c. - (syms_of_macfns): Initialize Qcancel_timer, Vx_max_tooltip_size, - and last_show_tip_args. - - * macgui.h [!MAC_OSX]: Include Gestalt.h. - (Cursor, No_Cursor): New defines. - [!TARGET_API_MAC_CARBON] (SetPortWindowPort): New compatibility macro. - [!TARGET_API_MAC_CARBON] (arrow_cursor): Declare. - - * macmenu.c (mac_menu_show, mac_dialog): Use SetPortWindowPort. - - * macterm.c: Don't include Gestalt.h. - (enum mouse_tracking_type, mouse_tracking_in_progress): Remove. - (XDrawLine, XClearArea, XClearWindow, mac_draw_bitmap) - (mac_set_clip_rectangle, mac_reset_clipping, XCreatePixmap) - (XFillRectangle, mac_draw_rectangle, mac_draw_string_common) - (mac_copy_area, mac_copy_area_with_mask, x_update_end) - (construct_mouse_click, XTmouse_position) - (x_scroll_bar_report_motion, x_calc_absolute_position) - (do_mouse_moved, do_zoom_window, mac_do_receive_drag) - (XTread_socket, make_mac_frame): Use SetPortWindowPort. - (note_mouse_movement): Clear the mouse face and reset the pointer - shape when the pointer goes outside the frame without grabbing. - (mac_front_window): New function. - (mac_window_to_frame): New macro. - (XTmouse_position, x_scroll_bar_report_motion, do_window_update) - (do_window_activate, do_window_deactivate, do_app_resume) - (do_app_suspend, do_mouse_moved, do_menu_choice, do_grow_window) - (do_zoom_window, mac_do_receive_drag, XTread_socket) - (mac_check_for_quit_char): Use mac_front_window and/or - mac_window_to_frame. - (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a - scroll-bar click event. - (mac_define_frame_cursor): Change the pointer shape. - (x_free_frame_resources): Reset tip_window to NULL when it is - disposed of. - [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable. - [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor. - (do_window_update): Don't do anything if the updated window is the - tooltip window. - (do_mouse_moved): Handle mouse movement events here (previously in - XTread_socket). Clear the mouse face if - dpyinfo->mouse_face_hidden is set. - (do_os_event, do_events): Remove (now in XTread_socket). - (XTread_socket): Immediately return if interrupt_input_blocked. - Loop until all the events in the queue are processed. - Rearrange codes for mouse grabbing. Add tooltip support. Include the - contents of do_os_event and do_events. Remove mouse movement - handling (now in do_mouse_moved). Add the case where - Vmouse_highlight has an integer value. - (NewMacWindow): Remove. - (make_mac_frame): Do what NewMacWindow previously did. Don't do - excess initializations. - (make_mac_terminal_frame): Previous initializations in - make_mac_frame are moved here. - (mac_initialize_display_info): - Initialize dpyinfo->mouse_face_overlay and dpyinfo->mouse_face_hidden. - - * xdisp.c [MAC_OS] (No_Cursor): Remove variable. - (define_frame_cursor1): Don't treat HAVE_CARBON as a special case. - -2004-05-29 Richard M. Stallman - - * lisp.h (truncate_undo_list): Update decl. - - * alloc.c (undo_outer_limit): New variable. - (syms_of_alloc): Defvar it. - (Fgarbage_collect): Pass undo_outer_limit to truncate_undo_list. - - * undo.c (truncate_undo_list): New arg LIMITSIZE. - - * alloc.c (lisp_align_malloc): Check for base == 0 - regardless of HAVE_POSIX_MEMALIGN. - Clean up HAVE_POSIX_MEMALIGN handling of `err'. - -2004-05-28 Stefan Monnier - - * alloc.c: Undo Kim's recent changes and fix the same bug differently. - (marker_blocks_pending_free): Remove. - (Fgarbage_collect): Sweep after cleaning up undo-lists. - Mark the undo lists after claning them up. - Don't free block in marker_blocks_pending_free. - (mark_buffer): Don't mark undo_list. - (gc_sweep): Sweep hash-tables and strings first. - Do free marker blocks that are empty. - -2004-05-28 Jim Blandy - - * regex.c (print_partial_compiled_pattern): Add missing 'break' - after 'case wordend'. For symbeg and symend, print to stderr, - like the other cases. - -2004-05-28 Noah Friedman - - * process.c (Fdelete_process): Do not call remove_process. - -2004-05-28 Stefan Monnier - - * alloc.c (struct backtrace): Remove. - (Fgarbage_collect): Use the new mark_backtrace. - - * eval.c (mark_backtrace): New function. - - * minibuf.c (run_exit_minibuf_hook): New function. - (read_minibuf_unwind): Don't run exit-minibuffer-hook any more. - (read_minibuf): Use separate unwind handler to run exit-minibuf-hook. - -2004-05-27 Kim F. Storm - - * xdisp.c (back_to_previous_visible_line_start): Skip backwards - over display properties, e.g. images, that replace buffer text. - -2004-05-25 Kim F. Storm - - * alloc.c (marker_blocks_pending_free): New var. - (gc_sweep): Store free marker blocks on that list. - (Fgarbage_collect): Free them after undo-list cleanup. - - * process.c (wait_reading_process_input): Check connect_wait_mask - before actually accepting connection in case it has already been - accepted due to recursion. - -2004-05-23 K,Aa(Broly L$,1 q(Brentey - - * coding.c (Fset_safe_terminal_coding_system_internal): - Set suppress_error in safe_terminal_coding, not terminal_coding. - -2004-05-22 Richard M. Stallman - - * alloc.c (Fmake_string): Doc fix. - - * buffer.c (clone_per_buffer_values): Copy the alist of local vars, - and the alist pairs too. - - * casefiddle.c (casify_object): Return OBJ unchanged if not real char. - - * emacs.c (main): Update copyright year. - - * fileio.c (Fread_file_name): Expand DIR if not absolute. - - * insdel.c (del_range_2, replace_range): Don't write an anchor - if the gap is empty. - - * xdisp.c (try_scrolling): If scroll-up-aggressively or - scroll-down-aggressively is small but positive, put point - near the screen edge. - -2004-05-22 Juanma Barranquero - - * keymap.c (Fdefine_key): Doc fix. - -2004-05-22 Kim F. Storm - - * alloc.c (struct backtrace): Add debug_on_exit member. - (Fgarbage_collect): Clear out buffer undo_list markers after gc_sweep. - Identify those markers as Lisp_Misc_Free objects. Clear car and cdr of - the removed cons cells. - (mark_object): Undo previous change - disallow Lisp_Misc_Free objects. - (gc_sweep): Clear cons_blocks before sweeping strings, so we don't have - any cons cells pointing to unallocated stings. - Do not lisp_free any marker blocks, as there may still be pointers - to them from buffer undo lists at this stage of GC. - - * keyboard.c (struct backtrace): Add debug_on_exit member. - (Fcommand_execute): Clear it. - -2004-05-20 Luc Teirlinck - - * intervals.c (lookup_char_property): Do not prematurely return nil. - -2004-05-19 Jim Blandy - - Add support for new '\_<' and '\_>' regexp operators, matching the - beginning and end of symbols. - - * regex.c (enum syntaxcode): Add Ssymbol. - (init_syntax_once): Set the syntax for '_' to Ssymbol, not Sword. - (re_opcode_t): New opcodes `symbeg' and `symend'. - (print_partial_compiled_pattern): Print the new opcodes properly. - (regex_compile): Parse the new operators. - (analyse_first): Skip sym(beg|end) (they match only the empty string). - (mutually_exclusive_p): `symend' is mutually exclusive with \s_ and - \sw; `symbeg' is mutually exclusive with \S_ and \Sw. - (re_match_2_internal): Match symbeg and symend. - - * search.c (trivial_regexp_p): \_ is no longer a trivial regexp. - -2004-05-19 Kim F. Storm - - * .gdbinit (xsymbol): Fix last change. - -2004-05-18 Stefan Monnier - - * .gdbinit (xprintstr): New fun. - (xstring, xprintsym): Use it. - - * w32proc.c (create_child): Use INTMASK. - - * alloc.c (Fgarbage_collect): Do all the marking before flushing - unmarked elements of the undo list. - -2004-05-18 David Ponce - - * print.c (print): Reset print_depth before to call print_object. - -2004-05-18 Jason Rumney - - * w32console.c: Prefix RIF functions with w32con_ to avoid - namespace clash with functions in term.c and w32term.c. - - * w32menu.c (add_menu_item, w32_menu_display_help) - [USE_LISP_UNION_TYPE]: Cast from Lisp_Object using i member. - - * w32term.h (display_x_get_resource, vga_stdcolor_name): Add prototype. - -2004-05-18 Eli Zaretskii - - * lisp.h (DECL_ALIGN): Remove restriction on MS-DOS systems. - - * msdos.c (syms_of_msdos): Initialize dos-unsupported-char-glyph - with make_number. - (IT_write_glyphs): Extract glyph from dos-unsupported-char-glyph - with XINT. - -2004-05-18 Kim F. Storm - - * blockinput.h (INPUT_BLOCKED_P): New macros. - - * keyboard.c (Frecursive_edit): Return immediately if input blocked. - (Ftop_level): Unblock input if blocked. - - * buffer.h (GET_OVERLAYS_AT): New macro. - * msdos.c (IT_note_mouse_highlight): Use it. - * textprop.c (get_char_property_and_overlay): Use it. - * xdisp.c (next_overlay_change, note_mouse_highlight): Use it. - * xfaces.c (face_at_buffer_position): Use it. - - * print.c (print_object): Increase buf size. - -2004-05-17 Jason Rumney - - * w32fns.c (Fw32_register_hot_key, Fw32_unregister_hot_key) - (Fw32_toggle_lock_key) [USE_LISP_UNION_TYPE]: Cast from - Lisp_Object using i member. - (w32_quit_key): Rename from Vw32_quit_key, and make an int. - (syms_of_w32fns, globals_of_w32fns): Use Lisp_Object and int - consistently. - - * w32proc.c (create_child): Use make_number instead of masking pid. - - * w32fns.c (w32_color_map_lookup): Return a Lisp_Object. - (x_to_w32_charset, w32_to_x_charset, w32_to_all_x_charsets): - Use EQ to compare Lisp_Objects. - (w32_parse_hot_key): Use int for lisp_modifiers consistently. - - * w32term.c (w32_num_mouse_buttons): Rename from - Vw32_num_mouse_buttons and make it an int. - - * w32.c (init_environment): Use it. - - * w32fns.c (w32_wnd_proc): Likewise. - - * w32proc.c (w32_pipe_read_delay): Rename from - Vw32_pipe_read_delay and make it an int. - - * w32.c (_sys_read_ahead): Use it. - - * lisp.h (egetenv) [USE_CRT_DLL]: Remove condition. - - * w32proc.c (create_child) [USE_LSB_TAG]: Don't try to mask pid. - - * w32inevt.c (w32_console_mouse_position, do_mouse_event) - (key_event): Don't mix Lisp_Object and int. - - * w32heap.c (init_heap) [USE_LSB_TAG]: Don't check heap location. - - * keyboard.c (kbd_buffer_get_event): Don't use event->code and - modifiers in language change event. - -2004-05-17 Kim F. Storm - - * alloc.c (mark_object): Ignore Lisp_Misc_Free objects. - Such objects may be freed markers which still exist on an undo list. - -2004-05-16 Juanma Barranquero - - * data.c (Fset_default): Make argument names match their use in - docstring. - -2004-05-15 Andreas Schwab - - * emacs.c (gdb_array_mark_flag): Define. - * .gdbinit: Mask off gdb_array_mark_flag from vector sizes. - -2004-05-15 Eli Zaretskii - - * lisp.h (DECL_ALIGN) [MSDOS]: Don't define DECL_ALIGN to use - __attribute__((__aligned__)), so that USE_LSB_TAG would not become - defined for the MS-DOS build. - -2004-05-14 Stefan Monnier - - * w32fns.c (Fw32_define_rgb_color): Avoid XSET. - -2004-05-14 Kenichi Handa - - * ccl.c (Fccl_execute_on_string): Fix setting elements of STATUS. - -2004-05-14 YAMAMOTO Mitsuharu - - * lisp.h (Vx_resource_name, Vx_resource_class): Move from xfns.c - section to frame.c section. - (Fxw_display_color_p, Fx_file_dialog): Declare if - HAVE_WINDOW_SYSTEM defined. - - * macfns.c (Fx_create_frame): Fix int/Lisp_Object mixup. - - * macmenu.c (set_frame_menubar): Use NILP to test a lisp value. - - * macterm.c (mac_get_emulated_btn, mac_event_to_emacs_modifiers) - (mac_get_mouse_btn): Use NILP and EQ to test/compare lisp values. - (XTread_socket): Fix int/Lisp_Object mixup. - (mac_check_for_quit_char): Fix pointer/Lisp_Object mixup. - - * macterm.h (struct frame, struct face, struct image) - (display_x_get_resource, Fx_display_color_p) - (Fx_display_grayscale_p, Fx_display_planes, x_free_gcs): - Add prototypes. - -2004-05-14 Kim F. Storm - - * process.c (wait_reading_process_input): Make reentrant. - Make Available and Connecting non-static. Save and restore value - of waiting_for_user_input_p. - -2004-05-13 Kim F. Storm - - * keyboard.c (mark_kboards): Don't mark x and y members - that are overloaded in selection request events. - -2004-05-13 Stefan Monnier - - * lisp.h (USE_LSB_TAG): Make it the default when it is known to work. - -2004-05-13 Glenn Morris - - * window.c (Fdisplay_buffer, Fsplit_window) - (split-height-threshold): Doc fix. - -2004-05-13 Juanma Barranquero - - * xfaces.c (Ftty_supports_face_attributes_p) - (Finternal_copy_lisp_face): Fix typo in docstring. - (Finternal_get_lisp_face_attribute): Fix docstring. - -2004-05-12 Jan Dj,Ad(Brv - - * xfns.c (syms_of_xfns): Provide x-toolkit also for GTK. - -2004-05-11 Steven Tamm - - * macfns.c (Fx_create_frame): Default to using tool-bar by - setting tool-bar-lines to 1 in default-frame-alist. - -2004-05-11 YAMAMOTO Mitsuharu - - * image.c (xpm_scan, xpm_make_color_table_v, xpm_put_color_table_v) - (xpm_get_color_table_v, xpm_make_color_table_h) - (xpm_put_color_table_h, xpm_get_color_table_h) - (xpm_str_to_color_key, xpm_load_image, xpm_load) - (syms_of_image): Support XPM on Carbon Emacs. Does not - depend on libXpm, but only supports XPM version 3 without extensions. - -2004-05-11 YAMAMOTO Mitsuharu - - * macterm.c (x_flush, XTframe_up_to_date): Use FRAME_MAC_P - instead of FRAME_X_P - -2004-05-11 Kim F. Storm - - * process.c (read_process_output): Grow decoding_buf when needed; - this could cause a crash in allocate_string and compact_small_strings. - -2004-04-29 Jim Blandy - - * regex.c (mutually_exclusive_p): In 'case wordbeg', compare op2 - against proper opcode. - -2004-05-10 Juanma Barranquero - - * process.c (Fstart_process): Fix docstring. - - * charset.c (Fget_unused_iso_final_char): Fix typos in docstring. - (Fchar_bytes, Fchar_width, Fstring_width, Fchar_direction) - (Fsplit_char, Fchar_charset): Make argument names match their use - in docstring. - -2004-05-10 Richard M. Stallman - - * print.c (print_preprocess): Use being_printed, loop_count and - halftail to detect overdeep nesting and cyclic cdr chains. - -2004-05-10 Andreas Schwab - - * lisp.h (Fmake_symbolic_link): Declare. - - * fileio.c (Frename_file): Remove extra argument in call to - Fmake_symbolic_link. - -2004-05-10 Kim F. Storm - - * xdisp.c (calc_line_height_property): Use string position when - object is a string. - -2004-05-10 Kenichi Handa - - * print.c (temp_output_buffer_setup): Bind inhibit-read-only and - inhibit-modification-hooks to t temporarily before calling - Ferase_buffer. - - * xfns.c (x_create_tip_frame): Bind inhibit-read-only and - inhibit-modification-hooks to t temporarily before calling - Ferase_buffer. - - * w32fns.c (x_create_tip_frame): Bind inhibit-read-only and - inhibit-modification-hooks to t temporarily before calling - Ferase_buffer. - - * fns.c (count_combining): Delete it. - (concat): Don't check combining bytes. - -2004-05-09 Jason Rumney - - * w32fns.c (Vw32_ansi_code_page): New Lisp variable. - (globals_of_w32fns): Set it. - -2004-05-09 Piet van Oostrum - - * data.c (Fquo): Simplify. - -2004-05-08 Peter Whaite (tiny change) - - * data.c (Fquo): If any argument is float, do the computation in - floating point. - -2004-05-08 Juanma Barranquero - - * process.c (Fwaiting_for_user_input_p, Fmake_network_process) - (Fset_process_query_on_exit_flag, Vprocess_adaptive_read_buffering): - Fix spelling of Emacs on docstring. - (Fset_process_coding_system, Fprocess_coding_system) - (Fset_process_filter_multibyte, Fprocess_filter_multibyte_p): - Make argument names match their use in docstring. - (Fprocess_id, Fprocess_query_on_exit_flag, Finterrupt_process): - Fix docstring. - - * editfns.c (Finsert_buffer_substring): Make argument names match their - use in docstring. - - * syntax.c (Fmodify_syntax_entry): Fix docstring. - -2004-05-07 Steven Tamm - - * macterm.c (mac_check_for_quit_char): Adding BLOCK_INPUT - around call to ReceiveEvent to avoid certain crashes. - -2004-05-07 YAMAMOTO Mitsuharu - - * macterm.c (mac_draw_line_to_pixmap, XCreatePixmapFromBitmapData) - (mac_fill_rectangle_to_pixmap, mac_draw_rectangle_to_pixmap) - (mac_copy_area_to_pixmap, mac_copy_area_with_mask_to_pixmap): - Save/restore the current graphics port and device handle when - drawing into an offscreen graphics world. - - * image.c [MAC_OS] (XPutPixel, XGetPixel, image_load_qt_1) - (gif_load): Likewise. - -2004-05-07 Juanma Barranquero - - * window.c (Fset_window_buffer): Fix docstring. - -2004-05-06 Thien-Thi Nguyen - - * emacs.c (main) [VMS]: Fix var ref. - -2004-05-06 Romain Francoise - - * data.c (Fsetq_default): Fix docstring. - -2004-05-06 Jason Rumney - - * image.c (Display) [HAVE_NTGUI]: Redefine while loading xpm.h - to avoid name clash. - -2004-05-04 Jan Dj,Ad(Brv - - * fileio.c (barf_or_query_if_file_exists): Use lstat. - (Frename_file): Handle renaming of symlinks across file systems. - (Frename_file): Put symlink handling inside #ifdef S_IFLNK. - -2004-05-04 Kim F. Storm - - * xdisp.c (Qtotal): New var. - (syms_of_xdisp): Intern and staticpro it. - (calc_line_height_property): New arg total. Set it if - line-spacing property has format (total . VALUE). - (x_produce_glyphs): Ignore line-spacing if line-height is 0. - Handle total line-spacing property. - -2004-05-03 Jan Dj,Ad(Brv - - * gtkutil.c (xg_update_scrollbar_pos): Call XClearWindow to clear - "under" scroll bar when size/position changes. - -2004-05-03 Jason Rumney - - * makefile.nt: Remove. - -2004-05-02 Eli Zaretskii - - * syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): - Avoid compiler warnings. - - * Makefile.in (region-cache.o): Depend on config.h. - -2004-05-02 Romain Francoise - - * indent.c (compute_motion): Save vpos in prev_vpos when dealing - with continuation lines, too. - -2004-05-02 Thien-Thi Nguyen - - * syssignal.h (init_signals): Move decl outside `#ifdef POSIX_SIGNALS'. - -2004-05-01 Stefan Monnier - - * xdisp.c (calc_line_height_property): YAILOM (yet another - int/Lisp_Object mixup). - -2004-05-01 Eli Zaretskii - - * msdos.c (top-level): Add "#pragma pack(0)" after , to - undo bad effect of pack(4) in some versions of system headers. - -2004-05-01 Jason Rumney - - * w32term.c (x_draw_hollow_cursor): Sync with xterm.c - -2004-04-30 Kim F. Storm - - * buffer.c (syms_of_buffer) : Allow float value. - (syms_of_buffer) : Doc fix. - - * dispextern.h (struct it): Remove member use_default_face. - Add members override_ascent, override_descent, override_boff. - - * xdisp.c (init_iterator): Handle line-spacing float value. - Initialize override_ascent member. - (append_space_for_newline): Reset override_ascent. - Remove use_default_face. - (calc_line_height_property): New function to calculate value of - line-height and line-spacing properties. Look at overlays, too. - Set override_ascent, override_descent, override_boff members when - using another face than the current face. Float values are now - relative to the frame default font, by default; accept a cons - of ratio and face name to specify value relative to a specific face. - (x_produce_glyphs): Use calc_line_height_property. - Use override_ascent etc. when set to handle different face heights. - A negative line-spacing property value is interpreted as a total - line height, rather than inter-line spacing. - (note_mouse_highlight): Allocate room for 40 overlays initially. - -2004-04-29 Stefan Monnier - - * data.c (Fsubr_name): New fun. - (syms_of_data): Defsubr it. - -2004-04-29 Kim F. Storm - - * xdisp.c (null_glyph_slice): New var. - (append_glyph, append_composite_glyph, append_stretch_glyph): - Use it to initialize glyph slice. - -2004-04-27 Stefan Monnier - - * xdisp.c (x_produce_glyphs): Fix the proverbial int/Lisp_Object mixup. - (on_hot_spot_p): Make sure we always return a value. - (Flookup_image_map): Remove unused var ix and iy. - (note_mode_line_or_margin_highlight): Remove unused var `image'. - -2004-04-27 Eli Zaretskii - - * msdos.c (init_environment): If one of the TMP... environment - variables is set to a drive letter without a trailing slash, - append a slash. - -2004-04-27 Matthew Mundell - - * editfns.c (lisp_time_argument): Provide externally. - - * fileio.c (Fset_file_times): New function. - (syms_of_fileio): Intern and staticpro it. - -2004-04-27 Kim F. Storm - - * xdisp.c (x_produce_glyphs): Fix last change; handle newline in - header line strings. - - * dispextern.h (struct it): New member use_default_face. - - * xdisp.c (Qline_height): New variable. - (syms_of_xdisp): Intern and staticpro it. - (append_space_for_newline): Partially undo 2004-04-25 change; - add default_face_p arg, and restore callers. - Clear it->use_default_face after use. - (x_produce_glyphs): Set default font for ascii char if - it->use_default_font is set. Change line-spacing property to set - just extra line spacing. Handle new line-height property. - -2004-04-26 Andreas Schwab - - * print.c (print_object): Print non-ascii characters in bool - vector representation as octal escapes. - - * lisp.h (BOOL_VECTOR_BITS_PER_CHAR): Define. - * print.c (print_object): Use it instead of BITS_PER_CHAR for - bool vectors. - * lread.c (read1): Likewise. - * alloc.c (Fmake_bool_vector): Likewise. - * data.c (Faref, Faset): Likewise. - * fns.c (Fcopy_sequence, concat, internal_equal, Ffillarray) - (mapcar1): Likewise. - -2004-04-26 Steven Tamm - - * lread.c (init_lread): Fix typo in HAVE_CARBON test logic. - -2004-04-26 Miles Bader - - * lisp.h (CYCLE_CHECK): Macro moved from xfaces.c. - -2004-04-26 Juanma Barranquero - - * buffer.c (Fpop_to_buffer): Fix docstring. - -2004-04-26 Steven Tamm - - * lread.c (init_lread): Don't display missing lisp directory - warnings with Carbon Emacs because self-contained bundled Emacs - may be built without correct installation path. - -2004-04-25 Kim F. Storm - - * macterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines. - - * xterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines. - - * xdisp.c (append_space_for_newline): Rename from append_space. - Remove DEFAULT_FACE_P arg; always use current face. Callers changed. - (x_produce_glyphs): Handle line-spacing property on newline char. - If value is t, adjust ascent and descent to fit current row height. - If value is an integer or float, set extra_line_spacing to integer - value, or to float value x current line height. - -2004-04-23 Kenichi Handa - - * fontset.c (Finternal_char_font): If POSITION is nil, return - font for displaying CH with the default face. - -2004-04-23 Juanma Barranquero - - * makefile.w32-in: Add "-*- makefile -*-" mode tag. - -2004-04-21 Stefan Monnier - - * lisp.h (XINT) [EXPLICIT_SIGN_EXTEND && !NO_UNION_TYPE]: - Don't make assumptions about the relative place of i and val. - (EQ) [!NO_UNION_TYPE]: Don't forget to check the type match as well. - -2004-04-21 Kim F. Storm - - * dispextern.h (struct glyph_slice): New struct. - (struct glyph): New member slice. - (GLYPH_SLICE_EQUAL_P): New macro. - (GLYPH_EQUAL_P): Use it. - (struct glyph_string): New member slice. - (struct it_slice): New struct. - (struct it): New member slice, add member to stack too. - New member constrain_row_ascent_descent_p. - (image_ascent): Add prototype. - - * dispnew.c (buffer_posn_from_coords): Return full image width - and height even for image slices (posn is relative to full image). - (marginal_area_string): Adjust x0,y0 for image slice. - - * image.c (image_ascent): Add slice arg; calculate ascent for - image slice (or full image). - - * keyboard.c (Fposn_at_x_y, Fposn_at_point): New defuns. - (syms_of_keyboard): Defsubr them. - - * lisp.h (pos_visible_p): Fix prototype. - - * macterm.c (x_draw_relief_rect): Add top_p and bot_p args. - (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. - (x_draw_image_foreground, x_draw_image_relief) - (x_draw_image_foreground_1, x_draw_image_glyph_string): - Draw sliced images. - - * w32term.c (w32_draw_relief_rect): Add top_p and bot_p args. - (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. - (x_draw_image_foreground, x_draw_image_relief) - (w32_draw_image_foreground_1, x_draw_image_glyph_string): - Draw sliced images. - - * w32term.h (image_ascent): Remove prototype. - - * window.c (Fpos_visible_in_window_p): Return pixel position if - PARTIALLY arg is non-nil. Simplify. Doc fix. - (Fwindow_vscroll, Fset_window_vscroll): Add optional PIXEL_P arg - to return/set vscroll in pixels. - - * window.h (Fwindow_vscroll, Fset_window_vscroll): Fix EXFUN. - - * xdisp.c (Qslice): New variable. - (syms_of_xdisp): Intern and staticpro it. - (pos_visible_p): Return pixel position in new x and y args. - (init_iterator): Reset it->slice info. - (handle_display_prop): Parse (slice ...) property. - (push_it, pop_it): Save/restore slice info. - (make_cursor_line_fully_visible): Fix 2004-04-14 change. Do not - force repositioning of tall row if window is vscrolled, as that - would reset vscroll. - (append_space): Set it->constrain_row_ascent_descent_p to avoid - increasing row height if row is non-empty. - (fill_image_glyph_string): Copy slice info. - (take_vertical_position_into_account): Simplify. - (produce_image_glyph): Handle iterator slice info, setup glyph - slice info. Do not force minimum line height. - (x_produce_glyphs): If it->constrain_row_ascent_descent_p is set, - do not increase height (ascent/descent) of non-empty row when - adding normal character glyph; instead reduce glyph ascent/descent - appropriately; if row is higher than current glyph, adjust glyph - descent/ascent to reposition glyph within the existing row. - Likewise, when char is newline, only set ascent/descent if row is - currently empty. - (note_mouse_highlight): Handle hotspots with sliced image. - - * xterm.c (x_draw_relief_rect): Add top_p and bot_p args. - (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. - (x_draw_image_foreground, x_draw_image_relief) - (x_draw_image_foreground_1, x_draw_image_glyph_string): - Draw sliced images. - - * xterm.h (image_ascent): Remove prototype. - -2004-04-20 Stefan Monnier - - * keymap.c (Fkey_description): Fix the usual int/Lisp_Object mixup. - -2004-04-20 John Paul Wallington - - * fns.c (Fassoc, Feql): Fix indentation. - - * fontset.c (regularize_fontname): Rename from regulalize_fontname. - -2004-04-19 John Paul Wallington - - * fns.c (Feql): New function. - (syms_of_fns): Defsubr it. - -2004-04-18 Jason Rumney - - * w32select.c (Fw32_set_clipboard_data): Get sequence number - after closing the clipboard. - -2004-04-16 Luc Teirlinck - - * buffer.c (Fbuffer_base_buffer): Doc fix. - -2004-04-17 Kim F. Storm - - * keymap.c (Fkey_description): Add optional PREFIX arg. - Combine prefix with KEYS to make up the full key sequence to describe. - Correlate meta_prefix_char and following (simple) key to describe - as meta modifier. All callers changed. - (describe_map): Rename arg `keys' to `prefix'. Remove local - `elt_prefix' var. Use Fkey_description with prefix instead of - elt_prefix combined with Fsingle_key_description. - (describe_vector): Declare static. Replace arg `elt_prefix' with - `prefix'. Add KEYMAP_P arg. Add local var `elt_prefix'; use it - if !KEYMAP_P. Use Fkey_description with prefix instead of - Fsingle_key_description. - - * keymap.h (Fkey_description): Fix prototype. - (describe_vector): Remove prototype. - - * xdisp.c (update_overlay_arrows): Fix handling of up_to_date < 0. - - * image.c (PNG_BG_COLOR_SHIFT): Remove. - (png_load): Fix calculation of transparent background color on X - and W32 platforms. - -2004-04-16 Juanma Barranquero - - * xdisp.c (try_scrolling): Make sure `scroll-conservatively' is - not too large before computing how much to scroll. - -2004-04-15 Stefan Monnier - - * dired.c (Ffile_attributes): Don't pass extra nil arg to file-handler. - -2004-04-14 Luc Teirlinck - - * fileio.c (Fverify_visited_file_modtime, Fvisited_file_modtime): - Add hyperlink to Elisp manual to the docstring. - -2004-04-14 Stefan Monnier - - * callint.c (fix_command): Use XDCR. - -2004-04-14 Nick Roberts - - * window.c (Fget_lru_window): Doc fix. - -2004-04-14 Kim F. Storm - - * editfns.c (Fformat): Fix allocation size of precision array. - - * dispnew.c (update_window): Only set changed_p if - scrolling_window actually did scroll. - (scrolling_window): Only return 1 if we actually did scroll. - - * xdisp.c (get_glyph_string_clip_rect): Fix reduction of cursor - height to glyph height when cursor row is not fully visible. - (make_cursor_line_fully_visible): Add FORCE_P arg to return - failure in case row is higher than window. Callers changed. - (try_scrolling): Fix loop in scrolling if last_line_misfit (from Gerd). - Try to scroll partially visible, higher-than-window cursor row. - (redisplay_window): Always try to scroll partially visible, - higher-than-window cursor row - both initially and again with - centering_position = 0. - Clear desired matrix before retrying with centering_position = 0. - -2004-04-13 Stefan Monnier - - * syntax.c (scan_lists): Simplify backward string scan. - Fix off-by-one boundary check for string and comment fences. - -2004-04-13 Joe Buehler - - * sheap.c, unexcw.c: New files. - -2004-04-12 Luc Teirlinck - - * buffer.c (Fmake_indirect_buffer): Throw an error if the intended - base buffer has been killed. Correct the error message if the - base buffer does not exist. - -2004-04-12 Joe Buehler - - * s/cygwin.h: Changes for Cygwin unexec() support, changes in - Cygwin itself. Add support for Xaw3d scrollbars. - - * puresize.h: Set up PURE_P() for Cygwin unexec() support. - - * lastfile.c: Define my_endbss[] for Cygwin unexec() support. - - * gmalloc.c (__default_morecore): Use bss_sbrk(), not __sbrk(), - before Cygwin unexec. - - * Makefile.in: Link changes for Cygwin unexec() support. - -2004-04-12 Andreas Schwab - - * buffer.c (Fmake_indirect_buffer): Check that NAME is a string. - -2004-04-11 Luc Teirlinck - - * buffer.c (Fgenerate_new_buffer_name): Return NAME argument if - IGNORE argument equals NAME. Doc fix. - -2004-04-11 Masatake YAMATO - - * buffer.c (fix_start_end_in_overlays): Make overlays - empty if they are backwards. - -2004-04-09 Stefan Monnier - - * xfaces.c (face_color_supported_p): Fix compilation without X11. - -2004-04-07 Stefan Monnier - - * doc.c (Fsnarf_documentation): Ignore new file name entries. - -2004-04-06 Kim F. Storm - - * msdos.c (clear_mouse_face): Only clear mouse highlight if not hidden. - (dos_rawgetc): Set mouse_face_hidden after clearing highlight. - - * w32term.c (w32_read_socket): Set mouse_face_hidden after - clearing highlight. - - * xdisp.c (clear_mouse_face): Only clear mouse highlight if not hidden. - - * xterm.c (handle_one_xevent): Set mouse_face_hidden after - clearing highlight. - - * indent.c (vmotion): Do not reserve one column for continuation - marks on window frames. - -2004-04-04 Eli Zaretskii - - * charset.h (SINGLE_BYTE_CHAR_P): Fix macro to avoid warnings - from GCC. - -2004-04-03 Stefan Monnier - - * .gdbinit-union: Remove. - - * .gdbinit: Make it work for USE_LSB_TAG and !NO_LISP_UNION. - (xgetptr, xgetint, xgettype): New funs. Use them everywhere. - ($nonvalbits): Remove. - ($valmask): Set it by calling xreload to avoid redundancy. - - * emacs.c (gdb_use_union, gdb_use_lsb): New vars. - (gdb_emacs_intbits): Remove. - -2004-03-31 Jan Dj,Ad(Brv - - * data.c (Fbyteorder): Make test work even if unsigned is not 4 bytes. - -2004-03-30 Kenichi Handa - - * editfns.c (Fformat): Fix initialization of the array info. - -2004-03-30 Kim F. Storm - - * xterm.c (x_mouse_click_focus_ignore_position): New var. - (syms_of_xterm): DEFVAR_BOOL it. - (ignore_next_mouse_click_timeout): New var. - (handle_one_xevent): Clear it on KeyPress, set it on EnterNotify. - Use it to filter mouse clicks following focus event. - -2004-03-29 David Ponce - - * callint.c (Fcall_interactively): Fix last change. - -2004-03-28 Stefan Monnier - - * eval.c (Fcommandp): Simplify. - - * data.c (Finteractive_form): Rename from Fsubr_interactive_form. - Extend to handle all kinds of functions. - - * lisp.h (Finteractive_form): Declare. - - * callint.c (Fcall_interactively): Use it. - -2004-03-26 Kim F. Storm - - * xdisp.c (syms_of_xdisp): Include `void-variable' in list_of_error - to catch errors in calc_pixel_width_or_height during redisplay. - -2004-03-26 Masatake YAMATO - - * buffer.c (fix_start_end_in_overlays): Rename fix_overlays_in_range. - - * lisp.h (fix_start_end_in_overlays): Likewise. - - * insdel.c (adjust_markers_for_insert): Call fix_start_end_in_overlays. - - * editfns.c (Ftranspose_regions): Likewise. - -2004-03-20 Jan Dj,Ad(Brv - - * xterm.c (handle_one_xevent): Do not pass key press events to GTK. - -2004-03-19 Richard M. Stallman - - * s/sol2-6.h: Delete previous change. - -2004-03-19 Kim F. Storm - - * xdisp.c (move_it_in_display_line_to): Fix MOVE_TO_POS case when - to_charpos corresponds to newline in right fringe. Use local - BUFFER_POS_REACHED_P macro. - -2004-03-19 Jan Dj,Ad(Brv - - * xdisp.c (calc_pixel_width_or_height): Add ifdef HAVE_WINDOW_SYSTEM - to compile on non-window system. - -2004-03-19 Kim F. Storm - - * dispextern.h (calc_pixel_width_or_height): Add prototype. - - * image.c (Qcenter): Move to xdisp.c. - - * xdisp.c (Qcenter): Declare here. - (syms_of_xdisp): Intern and staticpro it. - (handle_single_display_prop): Allow space display property on all - platforms. - (display_mode_line): Set mode_line_p before displaying line. - (calc_pixel_width_or_height): Declare extern. Add separate :align-to - handling. Remove complex cases for fringes and scroll-bars. - Add left, right, and center alignment positions. Add text (area) - width/height. Return width or height for image specs. - (produce_stretch_glyph): Improve handling of :align-to. Is now - relative to left of text area by default, but other base offsets - can be specified -- also for text lines. - - * term.c (produce_glyphs): Handle IT_STRETCH. - (produce_stretch_glyph): New function to handle space width and - align-to display properties on non-window systems. - -2004-03-17 Stefan Monnier - - * fileio.c (Fread_file_name): Set completion-ignore-case for - case-insensitive systems. - -2004-03-14 Masatake YAMATO - - * xdisp.c (note_mode_line_or_margin_highlight): Accept HEADER_LINE - when keymap and cursor are setup. - -2004-03-14 Steven Tamm - - * Makefile.in (XMENU_OBJ) [HAVE_CARBON]: Do not include xmenu.o. - -2004-03-14 Kim F. Storm - - * dispextern.h (x_find_image_file): Add prototype. - - * image.c (x_find_image_file): Make extern. - - * xfns.c (x_find_image_file): Remove prototype. - -2004-03-13 Eli Zaretskii - - * Makefile.in (XMENU_OBJ): Include xmenu.o if HAVE_MENUS is defined. - - * emacs.c (main): Call syms_of_xmenu only if HAVE_MENUS is defined. - -2004-03-12 Richard M. Stallman - - * fns.c (internal_equal): New arg PROPS controls comparing - text properties. All callers changed. - (Fequal_including_properties): New function. - (syms_of_fns): defsubr it. - -2004-03-12 Kim F. Storm - - Fix image support on MAC. From YAMAMOTO Mitsuharu. - - * dispextern.h (XImagePtr, XImagePtr_or_DC): Add typedefs. - (image_background, image_background_transparent): Fix prototypes. - - * image.c (XImagePtr, XImagePtr_or_DC): Move typedefs to dispextern.h. - - * macfns.c (x_list_fonts, x_get_font_info, x_load_font) - (x_query_font, x_find_ccl_program, x_set_window_size) - (x_make_frame_visible, mac_initialize, XCreatePixmap) - (XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground) - (mac_draw_line_to_pixmap): Move prototypes to macterm.h. - - * macterm.h (x_list_fonts, x_get_font_info, x_load_font) - (x_query_font, x_find_ccl_program, x_set_window_size) - (x_make_frame_visible, mac_initialize, XCreatePixmap) - (XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground) - (mac_draw_line_to_pixmap): Add prototypes. - -2004-03-12 YAMAMOTO Mitsuharu - - * macterm.c (XTread_socket): Fix mouse click on tool bar. - -2004-03-11 Kim F. Storm - - * dispextern.h: Move image related prototypes from xfns.c section - to image.c. Condition them by HAVE_WINDOW_SYSTEM rather than - HAVE_X_WINDOWS. - - * Makefile.in (XOBJ): Consolidate into one list. Add image.o. - Move gtkutil.o to new GTK_OBJ list. - (XMENU_OBJ) [HAVE_MENUS]: Move declaration to proper place. - (GTK_OBJ) [USE_GTK]: New declaration. - (obj): Add $(GTK_OBJ) to list. - -2004-03-11 Steven Tamm - - * image.c [MAC_OSX]: Include sys/stat.h. - - * macfns.c (syms_of_macfns): Remove definitions of things now - defined in image.c. - -2004-03-11 Kim F. Storm - - The following changes consolidates the identical/similar image - support code previously found in xfns.c, w32fns.c, and macfns.c - into a new file image.c. - - * makefile.w32-in (OBJ1): Add image.o. - ($(BLD)/image.$(O)): Add dependencies. - - * Makefile.in (XOBJ, MAC_OBJ): Add image.o. - (image.o): Add dependencies. - - * image.c: New file with consolidated image support code. - (COLOR_TABLE_SUPPORT): New define to control whether - color table support is available (X only). - (Bitmap_Record): Common name for x_bitmap_record, - w32_bitmap_record, and mac_bitmap_record. - (XImagePtr): Common name for pointer to XImage or equivalent. - (XImagePtr_or_DC): New type to simplify code sharing; equivalent - to XImagePtr on X+MAC, and to HDC on W32. - (GET_PIXEL): Wrapper for XGetPixel or equivalent. - (NO_PIXMAP): Common name for "None" or equivalent. - (PNG_BG_COLOR_SHIFT): Bits to shift PNG background colors. - (RGB_PIXEL_COLOR): Common type for an integer "pixel color" value. - (PIX_MASK_RETAIN, PIX_MASK_DRAW): Portability macros (from macfns.c). - (FRAME_X_VISUAL, x_defined_color, DefaultDepthOfScreen): - Define with suitable equivalents on W32 and MAC for code sharing. - (XDrawLine): Define on MAC for code sharing. - (Destroy_Image, Free_Pixmap): Wrappers for code sharing. - (IF_LIB_AVAILABLE): Macro to simplify code sharing. - (Vx_bitmap_file_path, Vimage_cache_eviction_delay) - (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) - (x_reference_bitmap, x_create_bitmap_from_data) - (x_create_bitmap_from_file, x_destroy_bitmap) - (x_destroy_all_bitmaps, x_create_bitmap_mask) - (XGetImage, XPutPixel, XGetPixel, XDestroyImage) - (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) - (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) - (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) - (define_image_type, lookup_image_type, valid_image_p) - (image_error, enum image_value_type, struct image_keyword) - (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) - (make_image, free_image, prepare_image_for_display, image_ascent) - (four_corners_best, image_background, image_background_transparent) - (x_clear_image_1, x_clear_image, x_alloc_image_color) - (make_image_cache, free_image_cache, clear_image_cache) - (Fclear_image_cache, postprocess_image, lookup_image, cache_image) - (forall_images_in_image_cache, x_create_x_image_and_pixmap) - (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) - (find_image_fsspec, image_load_qt_1, image_load_quicktime) - (init_image_func_pointer, image_load_quartz2d) - (struct ct_color, init_color_table, free_color_table) - (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) - (cross_disabled_images, x_to_xcolors, x_from_xcolors) - (x_detect_edges, x_emboss, x_laplace, x_edge_detection) - (x_disable_image, x_build_heuristic_mask) - (XBM support, XPM support, PBM support, PNG support, JPEG support) - (TIFF support, GIF support, Ghostscript support): Consolidate image - code from xfns.c, w32fns.c, and macfns.c. - (syms_of_image): Consolidate image related symbol setup here. - (init_image): Consolidate image related initializations here. - - * emacs.c (main) [HAVE_WINDOW_SYSTEM]: Add calls to syms_of_image - and init_image. Remove call to init_xfns. - - * macterm.h (struct mac_bitmap_record): Add file member. - Not currently used, but simplifies code sharing. - - * macfns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) - (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) - (x_reference_bitmap, x_create_bitmap_from_data) - (x_create_bitmap_from_file, x_destroy_bitmap) - (x_destroy_all_bitmaps, x_create_bitmap_mask) - (XGetImage, XPutPixel, XGetPixel, XDestroyImage) - (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) - (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) - (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) - (define_image_type, lookup_image_type, valid_image_p) - (image_error, enum image_value_type, struct image_keyword) - (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) - (make_image, free_image, prepare_image_for_display, image_ascent) - (four_corners_best, image_background, image_background_transparent) - (x_clear_image_1, x_clear_image, x_alloc_image_color) - (make_image_cache, free_image_cache, clear_image_cache) - (Fclear_image_cache, postprocess_image, lookup_image, cache_image) - (forall_images_in_image_cache, x_create_x_image_and_pixmap) - (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) - (find_image_fsspec, image_load_qt_1, image_load_quicktime) - (init_image_func_pointer, image_load_quartz2d) - (struct ct_color, init_color_table, free_color_table) - (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) - (cross_disabled_images, x_to_xcolors, x_from_xcolors) - (x_detect_edges, x_emboss, x_laplace, x_edge_detection) - (x_disable_image, x_build_heuristic_mask) - (XBM support, XPM support, PBM support, PNG support, JPEG support) - (TIFF support, GIF support, Ghostscript support): Merge with image - code from xfns.c and macfns.c into image.c. - (syms_of_xfns): Move image related symbols to image.c. - (init_external_image_libraries, init_xfns): Remove; initialization - moved to init_image in image.c. - - * w32fns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) - (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) - (x_reference_bitmap, x_create_bitmap_from_data) - (x_create_bitmap_from_file, x_destroy_bitmap) - (x_destroy_all_bitmaps, x_create_bitmap_mask) - (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) - (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) - (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) - (define_image_type, lookup_image_type, valid_image_p) - (image_error, enum image_value_type, struct image_keyword) - (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) - (make_image, free_image, prepare_image_for_display, image_ascent) - (four_corners_best, image_background, image_background_transparent) - (x_clear_image_1, x_clear_image, x_alloc_image_color) - (make_image_cache, free_image_cache, clear_image_cache) - (Fclear_image_cache, postprocess_image, lookup_image, cache_image) - (forall_images_in_image_cache, x_create_x_image_and_pixmap) - (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) - (struct ct_color, init_color_table, free_color_table) - (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) - (cross_disabled_images, x_to_xcolors, x_from_xcolors) - (x_detect_edges, x_emboss, x_laplace, x_edge_detection) - (x_disable_image, x_build_heuristic_mask) - (XBM support, XPM support, PBM support, PNG support, JPEG support) - (TIFF support, GIF support, Ghostscript support): Merge with image - code from xfns.c and macfns.c into image.c. - (syms_of_xfns): Move image related symbols to image.c. - (init_external_image_libraries, init_xfns): Remove; initialization - moved to init_image in image.c. - - * xfns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) - (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) - (x_reference_bitmap, x_create_bitmap_from_data) - (x_create_bitmap_from_file, x_destroy_bitmap) - (x_destroy_all_bitmaps, x_create_bitmap_mask) - (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) - (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) - (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) - (define_image_type, lookup_image_type, valid_image_p) - (image_error, enum image_value_type, struct image_keyword) - (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) - (make_image, free_image, prepare_image_for_display, image_ascent) - (four_corners_best, image_background, image_background_transparent) - (x_clear_image_1, x_clear_image, x_alloc_image_color) - (make_image_cache, free_image_cache, clear_image_cache) - (Fclear_image_cache, postprocess_image, lookup_image, cache_image) - (forall_images_in_image_cache, x_create_x_image_and_pixmap) - (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) - (struct ct_color, init_color_table, free_color_table) - (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) - (cross_disabled_images, x_to_xcolors, x_from_xcolors) - (x_detect_edges, x_emboss, x_laplace, x_edge_detection) - (x_disable_image, x_build_heuristic_mask) - (XBM support, XPM support, PBM support, PNG support, JPEG support) - (TIFF support, GIF support, Ghostscript support): Merge with - w32fns.c and macfns.c image code into image.c. - (syms_of_xfns): Move image related symbols to image.c. - (init_xfns): Remove; initialization moved to init_image in image.c. - - * lisp.h (syms_of_image, init_image): Add protoypes. - (init_xfns): Remove prototype. - - * dispextern.h (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) - (x_reference_bitmap, x_create_bitmap_from_data) - (x_create_bitmap_from_file, x_destroy_bitmap) - (x_create_bitmap_mask): Move prototypes from dispextern.h. - (gamma_correct) [MAC_OS]: Add prototype. - - * xterm.h (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) - (x_reference_bitmap, x_create_bitmap_from_data) - (x_create_bitmap_from_file, x_destroy_bitmap) - (x_create_bitmap_mask): Move prototypes to dispextern.h. - -2004-03-09 Kenichi Handa - - * coding.c (decode_coding_emacs_mule): Handle insufficent source - correctly. - -2004-03-04 Richard M. Stallman - - * s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS): New definition. - - * window.c (Fdisplay_buffer): Doc fix. - - * buffer.c (Fpop_to_buffer): Doc fix. - -2004-03-03 Kim F. Storm - - * xdisp.c (display_line): Fix call to get_overlay_arrow_glyph_row. - -2004-03-02 Stefan Monnier - - * editfns.c (Ftranslate_region): Lisp_Object/int mixup. - -2004-03-02 Richard M. Stallman - - * indent.c (compute_motion): Save vpos in prev_vpos, like hpos etc. - -2004-03-02 Kenichi Handa - - * doc.c (Fsubstitute_command_keys): Fix counding bytes. - -2004-03-02 Kim F. Storm - - * window.h (struct window): New member overlay_arrow_bitmap. - - * window.c (make_window): Initialize overlay_arrow_bitmap. - - * xdisp.c (Voverlay_arrow_variable_list): New variable to properly - implement and integrate multiple overlay arrows with redisplay. - (syms_of_xdisp): DEFVAR_LISP and initialize it. - (last_arrow_position, last_arrow_string): Replace by properties. - (Qlast_arrow_position, Qlast_arrow_string) - (Qoverlay_arrow_string, Qoverlay_arrow_bitmap): New variables. - (syms_of_xdisp): Intern and staticpro them. - (overlay_arrow_string_or_property, update_overlay_arrows) - (overlay_arrow_in_current_buffer_p, overlay_arrows_changed_p) - (overlay_arrow_at_row): New functions for multiple overlay arrows. - (redisplay_internal): Use them instead of directly accessing - Voverlay_arrow_position etc. for multiple overlay arrows. - (mark_window_display_accurate): Use update_overlay_arrows. - (try_cursor_movement): Use overlay_arrow_in_current_buffer_p. - (try_window_id): Use overlay_arrows_changed_p. - (get_overlay_arrow_glyph_row): Add overlay_arrow_string arg. - (display_line): Use overlay_arrow_at_row to check multiple - overlay arrows, and get relevant overlay-arrow-string and - overlay-arrow-bitmap. Set w->overlay_arrow_bitmap accordingly. - (produce_image_glyph): Set pixel_width = 0 for fringe bitmap. - (syms_of_xdisp): Remove last_arrow_position and last_arrow_string. - - * fringe.c (draw_fringe_bitmap): Use w->overlay_arrow_bitmap if set. - (update_window_fringes): Remove unused code. - -2004-03-01 Jason Rumney - - * w32term.c (w32_read_socket): Fix last change to ButtonPress handling. - -2004-03-01 Juanma Barranquero - - * fringe.c (Fdefine_fringe_bitmap): Fix typo in docstring. - - * makefile.w32-in ($(BLD)/fringe.$(O)): Add dependencies. - -2004-03-01 Jan Dj,Ad(Brv - - * xfns.c (Fx_display_color_cells): Use number of planes to calculate - how many colors can be displayed. - -2004-03-01 Kenichi Handa - - * editfns.c (Ftranslate_region): Handle multibyte chars in TABLE - correctly. - -2004-02-28 Kim F. Storm - - * dispnew.c (update_window): Update header line also if there are - no other changes in window (move code after set_cursor label). - - * lisp.h (mark_window_display_accurate): Remove prototype. - - * window.c (window_loop, Fforce_window_update): Force mode line - updates by setting prevent_redisplay_optimizations_p and - update_mode_lines. - -2004-02-28 Jan Dj,Ad(Brv - - * xfns.c (x_window): Fix indentation. - - * xterm.c (x_calc_absolute_position): Call x_real_positions - to get WM window sizes and use those to calculate position. - (x_set_offset): Remove code commented out. - -2004-02-28 Miles Bader - - * keyboard.c (adjust_point_for_property): #ifdef-out dodgy xassert. - -2004-02-28 Kim F. Storm - - * keyboard.c (kbd_buffer_store_event_hold): New function to store - an event into kbd fifo, but with special handling of quit event; - a quit event is saved for later, and further events are discarded - until the saved quit event has been processed. - (kbd_buffer_store_event): Use kbd_buffer_store_event_hold. - (gen_help_event): Store help event in kbd fifo. - (NREAD_INPUT_EVENTS): Remove. - (read_avail_input): Adapt to new read_socket_hook interface. - Remove allocation and initialization of local input_event buffer, - as read_socket_hook stores events directly in fifo. Allocate and - initialize local hold_quit event to handle postponed quit event - (and store it if set by kbd_buffer_store_event_hold). - - * keyboard.h (kbd_buffer_store_event_hold): Add prototype. - (gen_help_event): Fix prototype. - - * macterm.c (XTread_socket): Remove bufp_r and - numcharsp args. Add hold_quit arg. - Rework to use just one, local, inev input_event. Store inev - directly in fifo using kbd_buffer_store_event_hold. - - * sysdep.c (BUFFER_SIZE_FACTOR): Remove. - (read_input_waiting): Adapt to new read_socket_hook interface. - Remove allocation and initialization of local input_event buffer, - as read_socket_hook stores events directly in fifo. Allocate and - initialize local hold_quit event to handle postponed quit event - (and store it if set by kbd_buffer_store_event_hold). - - * term.c (read_socket_hook): Fix arg list. - - * termhooks.h (read_socket_hook): Fix prototype. - - * w32inevt.c (w32_console_read_socket): Remove bufp_r and - numcharsp args. Add hold_quit arg. - Rework to use just one, local, inev input_event. Store inev - directly in fifo using kbd_buffer_store_event_hold. - - * w32inevt.h (w32_console_mouse_position): Fix prototype. - - * w32term.c (w32_read_socket): Remove bufp_r and numcharsp args. - Add hold_quit arg. Rework to use just one, local, inev - input_event. Store inev directly in fifo using - kbd_buffer_store_event_hold. Update count in one place. - Postpone call to gen_help_event until inev is stored; use new - local do_help for this. - Remove local emacs_event in handing of ButtonPress event; just use - inev instead (so no reason to copy it later). - - * xsmfns.c (x_session_check_input): Remove numchars arg. - - * xterm.c (x_focus_changed, x_detect_focus_change): - Remove numchars arg. Always store event into bufp arg. - Return nothing. Callers changed accordingly. - (glyph_rect): Simplify. - (STORE_KEYSYM_FOR_DEBUG): New macro. - (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc. - (current_bufp, current_numcharsp) [USE_GTK]: Remove. - (current_hold_quit) [USE_GTK]: Add. - (event_handler_gdk): Adapt to new handle_one_xevent. - (handle_one_xevent): Remove bufp_r and numcharsp args. - Add hold_quit arg. Rework to use just one, local, inev - input_event. Store inev directly in fifo using - kbd_buffer_store_event_hold. Update count in one place. - Postpone call to gen_help_event until inev is stored; use new - local do_help for this. - Simplify handling of keysyms (consolidate common code). Fix bug - where count was updated with nchars instead of nbytes. - Remove local emacs_event in handing of ButtonPress event; just use - inev instead (so no reason to copy it later). - Remove `out' label. Rename label `ret' to `done'; add various - `goto done' to clarify code flow in deeply nested blocks. - (x_dispatch_event): Simplify as handle_one_xevent now calls - kbd_buffer_store_event itself. - (XTread_socket): Remove bufp_r and numcharsp args. Add hold_quit - arg. Call handle_one_xevent with new arglist. Store event from - x_session_check_input in fifo. - [USE_GTK]: Setup current_hold_quit. - Decrement handling_signal before unblocking input. - (x_initialize) [USE_GTK]: Initialize current_count. - - * xterm.h (x_session_check_input): Fix prototype. - -2004-02-26 YAMAMOTO Mitsuharu - - * s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework QuickTime'. - - * dispextern.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in - macgui.h). - - * emacs.c (main) [HAVE_CARBON]: Call init_xfns. - - * macgui.h [MAC_OSX]: Include Carbon/Carbon.h. - (mktime, DEBUG, Z, free, malloc, realloc, max, min) - (init_process) [MAC_OSX]: Avoid conflicts with Carbon/Carbon.h. - [!MAC_OSX]: Include QDOffscreen.h and Controls.h. - (INFINITY) [MAC_OSX]: Avoid conflict with definition in math.h. - (Bitmap): Remove typedef. - (Pixmap): Change int to GWorldPtr. - - * macmenu.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). - - * macterm.h [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). - (RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG): - New #define to extract 16-bit depth color components from unsigned - long representation. - (PIX_MASK_DRAW, PIX_MASK_RETAIN): New #define to represent pixel - colors used for masks. - (struct mac_display_info): Add color_p. Remove n_cbits. - - * macfns.c: Include sys/types.h and sys/stat.h. - [MAC_OSX]: Do not include Carbon/Carbon.h (now in macgui.h). - Include QuickTime/QuickTime.h. - (XCreatePixmap, XCreatePixmapFromBitmapData, XFreePixmap) - (XSetForeground, mac_draw_line_to_pixmap): Add externs for - functions defined in macterm.c. - (XImagePtr): New typedef. Corresponds to XImage * in xfns.c. - (ZPixmap): New #define for compatibility with xfns.c. - (XGetImage, XPutPixel, XGetPixel, XDestroyImage) - (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image) - (find_image_fsspec, image_load_qt_1, image_load_quicktime): - New functions. - (four_corners_best, x_create_x_image_and_pixmap) - (x_destroy_x_image, unwind_create_frame, x_disable_image) - (x_edge_detection, init_color_table, colors_in_color_table) - (lookup_rgb_color, lookup_pixel_color, postprocess_image) - (x_put_x_image, slurp_file, xbm_scan, xbm_load, xbm_load_image) - (xbm_image_p, xbm_read_bitmap_data, xbm_file_p, x_to_xcolors) - (x_from_xcolors, x_detect_edges): New declarations (from xfns.c). - (mac_color_map_lookup, x_to_mac_color): Fix Lisp_Object/unsigned - long mixup. - (mac_defined_color, x_to_x_colors): Use RED16_FROM_ULONG etc. - (x_decode_color): Don't use n_cbits (in struct mac_display_info). - (x_set_foreground_color, x_set_cursor_color): Sync with w32fns.c. - (x_set_cursor_type, Fxw_color_values, valid_image_p) - (image_value_type, parse_image_spec, image_ascent, x_clear_image) - (x_alloc_image_color, clear_image_cache, lookup_image) - (x_find_image_file, xbm_read_bitmap_file_data) - (enum xbm_keyword_index, xbm_format, xbm_image_p, xbm_scan) - (xbm_read_bitmap_data, xbm_load, pbm_image_p, pbm_scan_number) - (enum pbm_keyword_index, pbm_format, enum png_keyword_index) - (png_format, png_image_p, enum jpeg_keyword_index, jpeg_format) - (jpeg_image_p, enum tiff_keyword_index, tiff_format, tiff_image_p) - (enum gif_keyword_index, gif_format, gif_image_p): Sync with xfns.c. - (x_make_gc): Sync with xfns.c. Enclose unused `border_tile' with - #if 0. - (x_free_gcs): Sync with xfns.c. Enclose unused `border_tile' with - #if 0. Free white_relief.gc and black_relief.gc. - (unwind_create_frame, x_emboss, x_laplace, x_edge_detection): - New functions (from xfns.c). - (Fx_create_frame): Record unwind_create_frame. - (Fxw_display_color_p): Use dpyinfo->color_p. - (Fx_display_grayscale_p, Fx_display_planes): Don't use - dpyinfo->n_cbits. - (Fx_display_color_cells): Use dpyinfo->n_planes; - (QCmatrix, QCcolor_adjustment, QCmask, Qemboss, Qedge_detection) - (Qheuristic, cross_disabled_images, emboss_matrix) - (laplace_matrix): New variables (from xfns.c). - (Fimage_size, Fimage_mask_p, four_corners_best, image_background) - (x_clear_image_1, postprocess_image, slurp_file, xbm_load_image) - (xbm_file_p, x_to_xcolors, x_from_xcolors, x_detect_edges) - (image_background_transparent): New function (from xfns.c). - Use PIX_MASK_DRAW/PIX_MASK_RETAIN. - (image_load_quicktime): Add declaration. - [MAC_OSX] (image_load_quartz2d): Likewise. - [MAC_OSX] (CGImageCreateWithPNGDataProviderProcType): New typedef. - [MAC_OSX] (MyCGImageCreateWithPNGDataProvider): New variable. - [MAC_OSX] (init_image_func_pointer, image_load_quartz2d): New funs. - (xbm_load_image_from_file, x_laplace_read_row) - (x_laplace_write_row, pbm_read_file): Remove functions. - [HAVE_XPM] (enum xpm_keyword_index, xpm_format, xpm_image_p) - (xpm_load): Sync with xfns.c (although XPM is not supported yet). - (colors_in_color_table): Sync with xfns.c (although not used). - (lookup_rgb_color): Don't lookup color table. Just do gamma - correction. - (COLOR_INTENSITY): New #define (from xfns.c). - (x_disable_image): New function (from xfns.c). - Use PIX_MASK_DRAW/PIX_MASK_RETAIN. - (x_build_heuristic_mask): Sync with xfns.c. - Use PIX_MASK_DRAW/PIX_MASK_RETAIN. - (HAVE_PBM): Remove #ifdef. - (pbm_load): Sync with xfns.c. Set img->width and img->height - before IMAGE_BACKGROUND. - (png_image_p, png_load): Don't enclose declarations with #if HAVE_PNG. - (Qpng, enum png_keyword_index, png_format, png_type, png_image_p): - Don't enclose with #if HAVE_PNG. - [!HAVE_PNG] (png_load) [MAC_OSX]: Use image_load_quartz2d if a - symbol _CGImageCreateWithPNGDataProvider is defined. - Otherwise use image_load_quicktime. - [!HAVE_PNG] (png_load) [!MAC_OSX]: Use image_load_quicktime. - [HAVE_PNG] (png_load): Sync with xfns.c. - Use PIX_MASK_DRAW/PIX_MASK_RETAIN. - (jpeg_image_p, jpeg_load): Don't enclose declarations with #if - HAVE_JPEG. - (Qjpeg, enum jpeg_keyword_index, jpeg_format, jpeg_type) - (jpeg_image_p): Don't enclose with #if HAVE_JPEG. - [!HAVE_JPEG] (jpeg_load) [MAC_OSX]: Use image_load_quartz2d. - [!HAVE_JPEG] (jpeg_load) [!MAC_OSX]: Use image_load_quicktime. - [HAVE_JPEG] (jpeg_load): Sync with xfns.c. - (tiff_image_p, tiff_load): Don't enclose declarations with #if - HAVE_TIFF. - (Qtiff, enum tiff_keyword_index, tiff_format, tiff_type) - (tiff_image_p): Don't enclose with #if HAVE_TIFF. - [!HAVE_TIFF] (tiff_load): Use image_load_quicktime. - [HAVE_TIFF] (tiff_error_handler, tiff_warning_handler): - New functions (from xfns.c). - [HAVE_TIFF] (tiff_load): Sync with xfns.c. - (gif_image_p, gif_load): Don't enclose declarations with #if HAVE_GIF. - (Qgif, enum gif_keyword_index, gif_format, gif_type, gif_image_p): - Don't enclose with #if HAVE_GIF. - [!HAVE_GIF] (gif_load): Use Quicktime Movie Toolbox if it is - animated gif. Otherwise use image_load_quicktime. - [HAVE_GIF] (gif_lib.h): Temporarily define DrawText as - gif_DrawText to avoid conflict with QuickdrawText.h. - [HAVE_GIF] (gif_load): Sync with xfns.c. - (enum gs_keyword_index, gs_format, gs_image_p, gs_load) - [HAVE_GHOSTSCRIPT] (x_kill_gs_process): Sync with xfns.c (although - Ghostscript is not supported yet). - (syms_of_macfns): Initialize Qemboss, Qedge_detection, Qheuristic, - QCmatrix, QCcolor_adjustment, and QCmask. Add DEFVAR_BOOL - cross_disabled_images (from xfns.c). Remove #if 0 for supported - image types. Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and - HAVE_PNG. Add defsubr for Simage_size and Simage_mask_p. - (init_xfns): Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and - HAVE_PNG. Call EnterMovies to support animated gifs. - Call init_image_func_pointer to bind a symbol - _CGImageCreateWithPNGDataProvider if it is defined. - - * macterm.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). - (x_draw_bar_cursor): Sync declaration with xterm.c. - (XFreePixmap, mac_draw_rectangle_to_pixmap, mac_copy_area) - (mac_copy_area_to_pixmap): Implementation with GWorld (offscreen - graphics). - (mac_set_forecolor, mac_set_backcolor): Use RED16_FROM_ULONG etc. - (mac_draw_line_to_pixmap, XCreatePixmap) - (XCreatePixmapFromBitmapData, mac_fill_rectangle_to_pixmap) - (mac_copy_area_with_mask, mac_copy_area_with_mask_to_pixmap): - New functions. - (mac_draw_bitmap) [TARGET_API_MAC_CARBON]: - Use GetPortBitMapForCopyBits instead of the cast to Bitmap *. - Cast bits to char *. - (reflect_byte): New function (from w32fns.c). - (mac_create_bitmap_from_bitmap_data): Use it and don't stuff bits - due to byte alignment. - (mac_scroll_area) [TARGET_API_MAC_CARBON]: - Use GetPortBitMapForCopyBits instead of the cast to Bitmap *. - (XSetForeground): Remove static (now used in macfns.c). - (HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New #define (from w32term.c). - (mac_alloc_lighter_color, x_destroy_window): Sync with w32term.c. - (x_setup_relief_color, x_setup_relief_colors, x_draw_box_rect) - (x_draw_glyph_string_box, x_draw_image_foreground) - (x_draw_image_foreground_1, x_draw_image_glyph_string) - (x_draw_stretch_glyph_string, x_draw_glyph_string) - (x_draw_hollow_cursor, x_draw_bar_cursor, mac_draw_window_cursor): - Sync with xterm.c. - (x_draw_relief_rect): Sync with xterm.c. Make 1 pixel shorter - than the xterm.c version when a strictly horizontal or vertical - line is drawn. - (XTset_terminal_window): Add static. - (x_make_frame_visible): Add UNBLOCK_INPUT. - (x_free_frame_resources): New funcion (from xterm.c). - (XTread_socket): Call handle_tool_bar_click if mouse up/down event - occurs in tool bar area. - (mac_initialize_display_info): Remove dpyinfo->n_cbits. - Set dpyinfo->color_p. Determine dpyinfo->n_planes using HasDepth. - Initialize image cache. - (stricmp, wildstrieq, mac_font_pattern_match, mac_font_match): - Enclose unused functions with #if 0. - (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): New variables. - (decode_mac_font_name): New function to apply code conversions - from a mac font name to an XLFD font name according to its script code. - (x_font_name_to_mac_font_name): Apply code conversion from an XLFD - font name to a mac font name according to REGISTRY and ENCODING fields. - (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't use a font - whose name starts with `.'. - (init_font_name_table): Use decode_mac_font_name. Add both - jisx0208.1983-sjis and jisx0201.1976-0 entries if the script code - of a font is smJapanese. - (mac_do_list_fonts): New function to list fonts that match a given - pattern. - (x_list_fonts, XLoadQueryFont): Use it. - (XLoadQueryFont): Set rbearing field for each variable width - character to avoid needless redraw. - (syms_of_macterm): Initialize Qbig5, Qcn_gb, Qsjis, and Qeuc_kr. - -2004-02-26 Kim F. Storm - - * keyboard.c (NREAD_INPUT_EVENTS): Temporarily increase to 512 - as read_socket_hook handler on X aborts if buffer is too small - and W32 handler doesn't always check buffer limit. - - * xdisp.c (handle_single_display_prop): Handle left-fringe and - right-fringe similar to a display margin image. Specifically, - the characters having the fringe prop are no longer shown, and - we use IT_IMAGE/next_element_from_image with image_id = -1 to - do this. Set fringe bitmap face_id in it->face_id. - (produce_image_glyph): Handle image_id < 0 as "no image" case, but - still realize it->face (i.e. the fringe bitmap face). - -2004-02-25 Miles Bader - - * xdisp.c (check_it): Check string/string_pos consistency. - (init_iterator): Initialize string-related fields properly. - -2004-02-11 Miles Bader - - * xdisp.c (produce_image_glyph): Force negative descents to zero. - -2004-02-10 Miles Bader - - * xfns.c (lookup_image): Remove xassert(!interrupt_input_blocked); - BLOCK_INPUT can be nested, so it doesn't make much sense. - -2004-02-24 Michael Mauger - - * w32fns.c (slurp_file, xbm_scan, xbm_load_image) - (xbm_read_bitmap_data): Use unsigned char for image data. - -2004-02-23 Luc Teirlinck - - * abbrev.c (Finsert_abbrev_table_description): Doc fix. - -2004-02-22 Jason Rumney - - * w32term.c (w32_draw_fringe_bitmap): Draw overlaid bitmaps - correctly over other bitmaps. - -2004-02-21 Eli Zaretskii - - * emacs.c (USAGE1): Split into two halves. - (USAGE2): Second half of the old USAGE1. - (USAGE3): Rename from USAGE2. - (USAGE4): Rename from USAGE3. - -2004-02-21 Juri Linkov - - * emacs.c (USAGE1): Add --no-desktop. Move --display from USAGE2. - Fix --multibyte. Move --help, --version to USAGE2. Add alias - --file. Fix -f, -l. Sort options. Untabify. - (USAGE2): Add -hb. Fix --name, --title. Sort options. Untabify. - -2004-02-19 Luc Teirlinck - - * category.c (Fdefine_category, Fcategory_docstring) - (Fget_unused_category, Fset_category_table) - (Fcategory_set_mnemonics): Doc fixes. - -2004-02-20 Kim F. Storm - - * keyboard.c: Undo 2004-02-16 and 2004-02-17 changes. - The following changes are relative to the 2004-01-21 revision. - (NREAD_INPUT_EVENTS): Define as max number of input events to read - in one call to read_socket_hook. Value is 8. - (read_avail_input): Separate and rework handling of read_socket_hook - and non-read_socket_hook cases. Use smaller input_event buffer - in read_socket_hook case, and repeat if full buffer is read. - Use new local variable 'discard' to skip input after C-g. - In non-read_socket_hook case, just use a single input_event, and - call kbd_buffer_store_event on the fly for each character. - -2004-02-19 Stefan Monnier - - * lisp.h (union Lisp_Object): Give a more precise type for `type'. - Remove unused `gu' alternative. - -2004-02-19 Andreas Schwab - - * fringe.c (Fdefine_fringe_bitmap): Use && instead of & to avoid - warning. - -2004-02-18 Kim F. Storm - - * xdisp.c (get_window_cursor_type, display_and_set_cursor): - Fix last change. - -2004-02-17 Kim F. Storm - - * xdisp.c (fast_find_position): Fix return value of new version; - it was inverted compared to the 21.1 version. - (get_window_cursor_type): Don't look at glyph if NULL. - (display_and_set_cursor): Set glyph to NULL if cursor in fringe. - - * keyboard.c: Rework previous change; it didn't consider that the - buf array was allocated on the stack. - (prev_read): Remove variable. - (read_avail_input_buf): New static event buffer array. - (in_read_avail_input): New static variable to handle re-entrancy. - (read_avail_input): Change buf to pinter to read_avail_input_buf. - Use in_read_avail_input to handle re-entrance; when re-entered, - fully initialize and use tmp_buf array instead of read_avail_input_buf. - Do not initialize read_avail_input_buf in full here; instead assume it - is always cleared on entry. To ensure that, we clear (just) the - entries that were used before we return. - (init_keyboard): Initialize read_avail_input_buf here. - -2004-02-16 Jesper Harder - - * cmds.c (Fend_of_line): Doc fix. - -2004-02-16 Dmitry Antipov (tiny change) - - * keyboard.c (prev_read): New static variable. - (read_avail_input): Use it to zero out only those slots in buf[] - that were used last time we were called. - -2004-02-16 Eli Zaretskii - - * Makefile.in (obj): Move fringe.o from here... - (XOBJ, MAC_OBJ): ...to here. - -2004-02-16 Stephen Eglen - - * fringe.c (init_fringe_bitmap): Define j in MAC_OS code. - -2004-02-15 Stefan Monnier - - * data.c (Fbyteorder): - * fringe.c (Fdefine_fringe_bitmap): - * xdisp.c (handle_single_display_prop): - * xselect.c (x_handle_dnd_message): Lisp_Object/int mixup. - -2004-02-16 Jason Rumney - - * w32term.c (w32_draw_fringe_bitmap): Handle overlay fringe bitmaps. - -2004-02-15 Steven Tamm - - * macterm.c (Vmac_emulate_three_button_mouse): New variable for - controlling emulation of a three button mouse with option and - command keys. - (Qreverse, mac_get_enumlated_btn): Handle the emulation. - (mac_event_to_emacs_modifiers, XTread_socket): Ditto. - -2004-02-15 Kim F. Storm - - * buffer.c (syms_of_buffer): Doc fix for indicate-buffer-boundaries. - - * fringe.c (init_fringe_bitmap) [MAC_OS, WORDS_BIG_ENDIAN]: - Perform byte-swapping. - -2004-02-14 Kim F. Storm - - * dispextern.h (struct draw_fringe_bitmap_params): Change member - bits from char to short to facilitate wider bitmaps. - (struct redisplay_interface): Fix prototype of define_fringe_bitmap - member. - - * fringe.c (struct fringe_bitmap): Change member bits from char to - short to facilitate 16 bits wide bitmaps. Modify all standard - bitmaps accordingly. - (BYTES_PER_BITMAP_ROW, STANDARD_BITMAP_HEIGHT): New macros. - (FRBITS): Use STANDARD_BITMAP_HEIGHT instead of just sizeof. - (draw_fringe_bitmap): Ditto. - (init_fringe_bitmap) [MAC_OS]: Don't bitswap. - (init_fringe_bitmap) [HAVE_X_WINDOWS]: Enhance bitswapping to - handle up to 16 bits wide bitmaps. - (Fdefine_fringe_bitmap): Doc fix. Handle wider bitmaps. - (Ffringe_bitmaps_at_pos): Add missing arg declarations. - - * macterm.c (mac_draw_bitmap): Handle 16 bits wide bitmaps directly. - (x_draw_fringe_bitmap): Use enhanced mac_draw_bitmap, so we no longer - need to call mac_create_bitmap_from_bitmap_data and mac_free_bitmap. - - * w32term.c (w32_define_fringe_bitmap): Bitmaps are now 16 bits wide, - so it is no longer necessary to expand them here. - - * xterm.c (x_draw_fringe_bitmap): Handle wider bitmaps (max 16 bits). - -2004-02-12 Kim F. Storm - - * window.c (Fwindow_fringes): Doc fix. - -2004-02-10 Jan Dj,Ad(Brv - - * xselect.c (x_get_foreign_selection): Add new optional parameter - time_stamp. - (Fx_get_selection_internal): Ditto, pass time_stamp to - x_get_foreign_selection. - - * data.c (Fbyteorder): New function. - -2004-02-09 Jan Dj,Ad(Brv - - * atimer.c: Move include stdio.h to same place as in other files. - - * region-cache.c: Ditto. - - * sysdep.c: Ditto. - - * xfaces.c: Ditto. - -2004-02-09 Sam Steingold - - * w32term.c (w32_draw_fringe_bitmap): Fix a typo in the last patch. - -2004-02-09 Kim F. Storm - - * fringe.c: New file. Move original fringe related declarations - and code from dispextern.h and xdisp.c here. - Rework code to support user defined fringe bitmaps, redefining - standard bitmaps, ability to overlay user defined bitmap with - overlay arrow bitmap, and add faces to bitmaps. - (Voverflow_newline_into_fringe): Declare here. - (enum fringe_bitmap_align): New enum. - (..._bits): All bitmaps are now defined without bitswapping; that - is now done in init_fringe_once (if necessary). - (standard_bitmaps): New array with specifications for the - standard fringe bitmaps. - (fringe_faces): New array. - (valid_fringe_bitmap_id_p): New function. - (draw_fringe_bitmap_1): Rename from draw_fringe_bitmap. - (draw_fringe_bitmap): New function which draws fringe bitmap, - possibly overlaying bitmap with cursor in right fringe or the - overlay arrow in the left fringe. - (update_window_fringes): Do not handle overlay arrow here. - Compare and copy fringe bitmap faces. - (init_fringe_bitmap): New function. - (Fdefine_fringe_bitmap, Fdestroy_fringe_bitmap): New DEFUNs to - define and destroy user defined fringe bitmaps. - (Fset_fringe_bitmap_face): New DEFUN to set face for a fringe bitmap. - (Ffringe_bitmaps_at_pos): New DEFUN to read current fringe bitmaps. - (syms_of_fringe): New function. Defsubr new DEFUNs. - DEFVAR_LISP Voverflow_newline_into_fringe. - (init_fringe_once, init_fringe): New functions. - (w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: New functions. - - * Makefile.in (obj): Add fringe.o. - (fringe.o): New dependencies. - - * dispextern.h (FRINGE_ID_BITS): New definition for number of - bits allocated to hold a fringe number. Increase number of bits - from 4 to 8 to allow user defined fringe bitmaps. - (struct glyph_row, struct it): New members left_user_fringe_bitmap, - left_user_fringe_face_id, right_user_fringe_bitmap, - right_user_fringe_face_id. - (enum fringe_bitmap_type, struct fringe_bitmap, fringe_bitmaps): - Move to new file fringe.c. - (MAX_FRINGE_BITMAPS): Define here. - (struct draw_fringe_bitmap_params): New members bits, cursor_p, - and overlay_p. Change member which to int. - (struct redisplay_interface): New members define_fringe_bitmap - and destroy_fringe_bitmap. - (valid_fringe_bitmap_id_p): Add prototype. - (w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: Add prototypes. - - * dispnew.c (row_equal_p): Compare fringe bitmap faces and overlay - arrows. - (update_frame): Do flush_display if force_flush_display_p to - ensure display (specifically fringes) are updated in a timely - manner when resizing the frame by dragging the mouse. - (update_window_line): Update row if overlay arrow changed. - (scrolling_window): Redraw fringe bitmaps if fringe bitmap faces - or overlay arrow changed. - - * emacs.c (main) [HAVE_WINDOW_SYSTEM]: Call init_fringe_once, - syms_of_fringe, and init_fringe. - - * frame.h (struct frame): New member force_flush_display_p. - - * lisp.h (syms_of_fringe, init_fringe, init_fringe_once): - Add prototypes. - - * macterm.c (mac_draw_bitmap): Add overlay_p arg. - (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps; - thanks to YAMAMOTO Mitsuharu for advice on how to do this. - Use cursor color for displaying cursor in fringe. - (x_redisplay_interface): Add null handlers for - define_fringe_bitmap and destroy_fringe_bitmap functions. - - * w32term.c (w32_draw_fringe_bitmap): Copy unadapted code from - xterm.c to handle overlayed fringe bitmaps and to use cursor color - for displaying cursor in fringe. - (w32_define_fringe_bitmap, w32_destroy_fringe_bitmap): New W32 - specific functions to define and destroy fringe bitmaps in fringe_bmp. - (w32_redisplay_interface): Add them to redisplay_interface. - (w32_term_init): Call w32_init_fringe instead of explicitly - defining fringe bitmaps in fringe_bmp array. - (x_delete_display): Call w32_reset_fringes instead of explicitly - destroying fringe bitmaps in fringe_bmp array. - - * xdisp.c (Voverflow_newline_into_fringe, syms_of_xdisp) - (left_bits, right_bits, up_arrow_bits, down_arrow_bits) - (continued_bits, continuation_bits, ov_bits, first_line_bits) - (last_line_bits, filled_box_cursor_bits, hollow_box_cursor_bits) - (bar_cursor_bits, hbar_cursor_bits, zv_bits, hollow_square_bits) - (fringe_bitmaps, draw_fringe_bitmap, draw_row_fringe_bitmaps) - (draw_window_fringes, compute_fringe_widths, update_window_fringes): - Move fringe handling vars and code to new file fringe.c. - (handle_display_prop): Handle left-fringe and right-fringe - display properties; store user fringe bitmaps in iterator. - (move_it_in_display_line_to): Handle cursor in fringe at eob. - (clear_garbaged_frames): Set force_flush_display_p if resized. - (redisplay_window): Redraw fringe bitmaps if not just_this_one_p. - (display_line): Handle cursor in fringe at eob. - (display_line): Set row user fringe bitmaps from iterator. - - * xterm.c (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps. - Use cursor color for displaying cursor in fringe. - (x_redisplay_interface): Add null handlers for - define_fringe_bitmap and destroy_fringe_bitmap functions. - -2004-02-07 Jan Dj,Ad(Brv - - * macfns.c (Fx_change_window_property): Make doc string and - parameters same as for X version. - - * w32fns.c (Fx_change_window_property): Ditto. - -2004-02-07 Kim F. Storm - - * xdisp.c (hscroll_window_tree): Position cursor near to right - margin in hscrolled window when jumping to end of line (rather - than centering cursor). - - * process.c (wait_reading_process_input): Don't do adaptive read - buffering if waiting for a specific process. - -2004-02-05 Luc Teirlinck - - * minibuf.c (Fminibufferp, Fread_from_minibuffer) - (Fread_minibuffer, Feval_minibuffer) - (Fread_string, Fread_no_blanks_input) - (Fcompleting_read): Doc fixes. - (syms_of_minibuf): Doc fixes for minibuffer-completion-table and - completion-regexp-list. Define Qcase_fold_search and staticpro it. - (read_minibuf): Fix initial comment. - (Ftry_completion, Fall_completions, Ftest_completion): Bind - case-fold-search to the value of completion-ignore-case when - checking completion-regexp-list. - (Fdisplay_completion_list): Make it handle arguments that are - symbols. Doc fix. - -2004-02-05 Jan Dj,Ad(Brv - - * xterm.h: Add declaration of free_frame_menubar. - - * xfns.c (x_create_bitmap_mask): Removed unused variable depth. - (x_set_menu_bar_lines): Added ! defined USE_GTK for olines. - (Fx_change_window_property): Add declaration of parameters type and - format. Remove unused variable cons. - - * xselect.c: Include stdio.h. - -2004-02-05 Kenichi Handa - - * fns.c (Fset_char_table_range): Fix previous change. - - * buffer.c (Fset_buffer_multibyte): Fix docstring. - -2004-02-04 Luc Teirlinck - - * editfns.c (Fchar_after, Fchar_before): Doc fixes. - -2004-02-04 Stefan Monnier - - * keymap.c (Vmouse_events): Rename from Vmenu_events. - (syms_of_keymap): Add mouse-[45], header-line, and mode-line to it. - -2004-02-04 Kenichi Handa - - * fns.c (Fset_char_table_range): Handle charsets ascii, - eight-bit-control, and eight-bit-graphic correctly. - -2004-02-03 Jason Rumney - - * w32select.c (Fw32_set_clipboard_data): Make coding iso2022 safe. - - * w32fns.c (x_to_w32_font): Likewise. - -2004-02-03 Jan Dj,Ad(Brv - - * xterm.h: Add x_handle_dnd_message, x_check_property_data, - x_fill_property_data, x_property_data_to_lisp and check_x_display_info. - - * xterm.c (handle_one_xevent): Call x_handle_dnd_message for - ClientMessages. - - * xselect.c: Include termhooks.h and X11/Xproto.h. - (x_check_property_data, x_fill_property_data) - (x_property_data_to_lisp, mouse_position_for_drop) - (Fx_get_atom_name, x_handle_dnd_message): New functions for DND support. - (Fx_send_client_event): Move here from xfns.c. - (syms_of_xselect): Add Sx_get_atom_name and Sx_send_client_message. - - * xfns.c (x-send-client-message): Move to xselect.c. - (Fx_change_window_property): Add optional arguments TYPE, FORMAT and - OUTER_P. - (Fx_window_property): Add optional arguments TYPE, SOURCE, DELETE_P, - VECTOR_RET_P. Handle AnyPropertyType. Call x_property_data_to_lisp - if vector_ret_p is true. - (syms_of_xfns): Sx_send_client_message moved to xselect.c. - -2004-02-02 Eli Zaretskii - - * fileio.c (Fcopy_file): If NEWNAME is a directory, expand the - basename of FILE relative to it, not FILE itself. - -2004-02-02 Kenichi Handa - - * coding.c (coding_restore_composition): Check invalid - composition data more rigidly. - -2004-01-30 Luc Teirlinck - - * fileio.c (Fread_file_name_internal): Correctly handle the case - where insert-default-directory is nil. - (Fread_file_name): Always return an empty string if the user exits - with an empty minibuffer. Adapt the docstring accordingly. - (syms_of_fileio): Adapt the docstring of insert-default-directory - to the change in Fread_file_name. - -2004-01-29 Eli Zaretskii - - * alloca.c [!alloca]: Fix the prototype for xfree. - -2004-01-29 Kenichi Handa - - * fns.c (string_char_to_byte): Optimize for ASCII only string. - (string_byte_to_char): Likewise. - -2004-01-28 Peter Runestig - - * makefile.w32-in, w32fns.c: Add `default-printer-name' function. - -2004-01-27 Steven Tamm - - * unexmacosx.c (unexec_copy): Do not copy more than was - requested to prevent overwriting during unexec. - -2004-01-27 Jan Dj,Ad(Brv - - * process.c (sigchld_handler): Add comment about not calling malloc. - - * process.h: Add extern to synch_process_termsig. - -2004-01-27 Steven Tamm - - * macterm.c (make_mac_frame, make_mac_terminal_frame): - Move setting of scroll bars from make_mac_frame to - make_mac_terminal_frame to prevent clobbering of scroll-bar-mode. - -2004-01-26 Richard M. Stallman - - * search.c (Freplace_match): Handle nonexistent - back-references properly. - -2004-01-03 Richard M. Stallman - - * window.c (decode_any_window): New function. - (Fwindow_height, Fwindow_width, Fwindow_edges) - (Fwindow_pixel_edges, Fwindow_inside_edges) - (Fwindow_inside_pixel_edges): Use decode_any_window. - -2004-01-27 Jan Dj,Ad(Brv - - * process.h: synch_process_termsig new variable. - - * callproc.c: Define synch_process_termsig. - (Fcall_process): Initiate synch_process_termsig to zero and - check if non-zero and get signal name after subprocess has ended. - - * process.c (sigchld_handler): Set synch_process_termsig - if terminated by a signal. synch_process_death setting removed. - - * sysdep.c (mkdir, rmdir): Also check synch_process_termsig. - -2004-01-26 Andreas Schwab - - * print.c (print_preprocess): Declare size as EMACS_INT to not - lose bits. - (print_object): Likewise. - * alloc.c (Fpurecopy): Likewise. - -2004-01-25 Luc Teirlinck - - * window.c (Fwindow_minibuffer_p): Doc fix. - -2004-01-24 Jonathan Yavner - - * editfns.c (Fformat): Make both passes accept the same set of flags. - -2004-01-23 Kenichi Handa - - * fns.c (Fmd5): If OBJECT is a buffer different from the current - one, set buffer to OBJECT temporarily. - -2004-01-21 Stefan Monnier - - * keyboard.c (kbd_buffer_gcpro): Remove. - (kbd_buffer_store_event, clear_event, Fdiscard_input) - (stuff_buffered_input, init_keyboard, syms_of_keyboard): - Don't initialize and/or maintain the variable any more. It was made - redundant by my commit of 2003-06-15. - - * lisp.h [USE_LSB_TAG && !DECL_ALIGN]: Signal an error. - -2004-01-21 Jan Dj,Ad(Brv - - * lisp.h: Add undef DECL_ALIGN. - -2004-01-21 Stefan Monnier - - * process.c (wait_reading_process_input) [SYNC_INPUT]: - Check interrupt_input_pending explicitly. - - * lisp.h (QUIT) [SYNC_INPUT]: Check interrupt_input_pending as well. - - * keyboard.c (handle_async_input): New fun, - extracted from input_available_signal. - (input_available_signal, reinvoke_input_signal): Use it. - -2004-01-20 Stefan Monnier - - * buffer.c (buffer_defaults, buffer_local_symbols): Use DECL_ALIGN. - - * lisp.h [USE_LSB_TAG]: Add definitions for Lisp_Object value - manipulation macros for when tags are in the lower bits. - (struct Lisp_Free) [USE_LSB_TAG]: Add padding. - (DECL_ALIGN): New macro. - (DEFUN): Use it. - - * lisp.h [ENABLE_CHECKING]: Don't force union type. - - * s/darwin.h (__attribute__): Remove outdated workaround. - - * macterm.c (main) [USE_LSB_TAG]: Don't range check the ram. - - * alloc.c (lisp_malloc, lisp_align_malloc) [USE_LSB_TAG]: - Don't check range of malloc address. - (pure_alloc) [USE_LSB_TAG]: Enforce alignment. - - * process.c (wait_reading_process_input): Lisp_Object/int mixup. - - * dired.c (Ffile_attributes): Lisp_Object/int mixup. - -2004-01-19 Kenichi Handa - - * fontset.c (fontset_font_pattern): Fix previous change. - -2004-01-16 Miles Bader - - * xdisp.c (Voverflow_newline_into_fringe) - (move_it_in_display_line_to, redisplay_internal) - (update_window_fringes, redisplay_window, display_line, window): - Add `#ifdef HAVE_WINDOW_SYSTEM' around fringe-drawing stuff, so - that it compiles without a window-system. - * dispnew.c (direct_output_for_insert, update_window): Likewise. - -2004-01-16 Kim F. Storm - - * buffer.h (struct buffer): New member indicate_buffer_boundaries. - - * buffer.c (init_buffer_once): Set buffer_defaults and - buffer_local_flags for indicate_buffer_boundaries. - (syms_of_buffer): Defvar_per_buffer it, and defvar_lisp_nopro - default- variable for it. - - * dispextern.h (struct glyph_row): New members left_fringe_bitmap, - right_fringe_bitmap, redraw_fringe_bitmaps_p for new fringe handling. - New members exact_window_width_line_p and cursor_in_fringe_p for - overflowing newlines into right fringe. - New members indicate_bob_p, indicate_top_line_p, indicate_eob_p, - and indicate_bottom_line_p for buffer boundaries and scrolling. - (enum fringe_bitmap_type): Add UP_ARROW_BITMAP, DOWN_ARROW_BITMAP, - FIRST_LINE_BITMAP, LAST_LINE_BITMAP, FILLED_BOX_CURSOR_BITMAP, - HOLLOW_BOX_CURSOR_BITMAP, BAR_CURSOR_BITMAP, HBAR_CURSOR_BITMAP, - and HOLLOW_SQUARE_BITMAP. - (draw_fringe_bitmap, draw_window_fringes, update_window_fringes): - Add prototypes. - - * dispnew.c (row_equal_p, update_window_line): Compare fringe bitmaps - instead of related indicator fields. - Compare exact_window_width_line_p and cursor_in_mouse_face_p indicators. - (direct_output_for_insert): Handle exact width lines like - contined lines. Call update_window_fringes. - (update_window): Call update_window_fringes. - (scrolling_window): Don't skip desired rows with changed bitmaps. - Check if fringe bitmaps changes when assigning scrolled rows. - - * xdisp.c (Voverflow_newline_into_fringe): New variable. - (IT_OVERFLOW_NEWLINE_INTO_FRINGE): New macro. - (move_it_in_display_line_to): Overflow newline into fringe for - rows that are exactly as wide as the window. - (up_arrow_bits, down_arrow_bits, first_line_bits, last_line_bits) - (filled_box_cursor_bits, hollow_box_cursor_bits, bar_cursor_bits) - (hbar_cursor_bits, hollow_square_bits): New fringe bitmaps. - (fringe_bitmaps): Add new bitmaps. - (draw_fringe_bitmap): Make extern. Remove WHICH arg. - Select proper bitmap for cursor in fringe when appropriate. - Handle alignment of bitmap to top or bottom of row. - (draw_row_fringe_bitmaps): Don't select bitmaps here; that is now - done by update_window_fringes. - (update_window_fringes, draw_window_fringes): New functions. - (redisplay_internal): Call update_window_fringes in case only - cursor row is updated. - (redisplay_window): Call update_window_fringes. - Explicitly call draw_window_fringes if redisplay was done using - the current matrix or the overlay arrow is in the window. - (try_window_reusing_current_matrix): Mark scrolled rows for - fringe update (to update buffer-boundaries / scrolling icons). - (find_last_unchanged_at_beg_row): Handle exact width lines line - continued lines. - (display_line): Overflow newline into fringe for rows that are - exactly as wide as the window. Don't append space for newline - in this case. - (notice_overwritten_cursor): Explicitly clear cursor bitmap - in fringe as if it had been overwritten. - (erase_phys_cursor): Erase cursor bitmap in fringe. - (syms_of_xdisp): Mark show-trailing-whitespace and - void-text-area-pointer as user options. - DEFVAR_LISP Voverflow_newline_into_fringe. Enable by default. - - * xterm.c (x_update_window_end): Call draw_window_fringes. - (x_after_update_window_line): Just set redraw_fringe_bitmaps_p - in row instead of actually drawing fringe bitmaps. - (x_draw_fringe_bitmap): Handle bottom aligned bitmaps. - (x_draw_window_cursor): Draw cursor in fringe. - - * w32term.c (x_update_window_end): Call draw_window_fringes. - (x_after_update_window_line): Just set redraw_fringe_bitmaps_p - in row instead of actually drawing fringe bitmaps. - (w32_draw_fringe_bitmap): Handle bottom aligned bitmaps. - (w32_draw_window_cursor): Draw cursor in fringe. - - * macterm.c (x_update_window_end): Call draw_window_fringes. - (x_after_update_window_line): Just set redraw_fringe_bitmaps_p - in row instead of actually drawing fringe bitmaps. - (x_draw_fringe_bitmap): Handle bottom aligned bitmaps. - (mac_draw_window_cursor): Draw cursor in fringe. - -2004-01-16 Jan Dj,Ad(Brv - - * xterm.c (handle_one_xevent): Don't handle characters that are part - of an old style (XLookupString) compose sequence. - -2004-01-15 Kenichi Handa - - * search.c (Freplace_match): Use make_multibyte_string or - make_unibyte_string according to the buffer multibyteness. - -2004-01-14 Stefan Monnier - - * alloc.c (struct interval_block, struct string_block) - (struct symbol_block, struct marker_block, live_string_p) - (live_cons_p, live_symbol_p, live_float_p, live_misc_p): - Better preserve alignment for objects in blocks. - (FLOAT_BLOCK_SIZE): Adjust for possible alignment padding. - - * lread.c (defvar_per_buffer): Remove dead declaration. - - * macterm.c (do_check_ram_size): Don't hardcode the lisp address - space size. - -2004-01-12 Jan Dj,Ad(Brv - - * xmenu.c (popup_get_selection): Check new parameter down_on_keypress - if a key press should pop down. Only pop down if a key is pressed - outside the menu/dialog. - (create_and_show_popup_menu): Pass 0 for down_on_keypress to - popup_get_selection. - (create_and_show_dialog): Pass 1 for down_on_keypress to - popup_get_selection. - -2004-01-11 Jan Dj,Ad(Brv - - * alloc.c (allocate_vectorlike): Surround calls to mallopt with - BLOCK/UNBLOCK_INPUT. - -2004-01-08 Jan Dj,Ad(Brv - - * xmenu.c (Fx_popup_dialog): Add an Ok button if no buttons are - specified. - -2004-01-08 Kenichi Handa - - * editfns.c (Fformat): Fix '&' to '&&'. - -2004-01-08 Andreas Schwab - - * print.c (print_preprocess) : Only mask - size if PSEUDOVECTOR_FLAG is set. - -2004-01-07 Kenichi Handa - - * charset.c (Fdeclare_equiv_charset): Fix docstring. - - * fontset.c (fontset_ref_via_base): Fix previous change. - -2004-01-07 Kim F. Storm - - * process.c (read_process_output): Only activate adaptive - buffering if we read less than 256 bytes at a time. - -2004-01-06 Kim F. Storm - - * dispnew.c (buffer_posn_from_coords): Return both buffer/string - object and image object. Return glyph width and height. - (mode_line_string, marginal_area_string): Ditto. - - * dispextern.h (buffer_posn_from_coords, mode_line_string) - (marginal_area_string): Fix prototypes. - - * keyboard.h (POSN_POSN, POSN_SET_POSN): Rename macros from - POSN_BUFFER_POSN and POSN_SET_BUFFER_POSN. All uses changed. - (POSN_INBUFFER_P, POSN_BUFFER_POSN): New macros. - - * keyboard.c (make_lispy_position): Use modified mode_line_string, - buffer_posn_from_coords, and marginal_area_string functions to - include both string object and image object in the lispy position. - Also add actual glyph width and height to position. - (read_key_sequence): Use real buffer position from mouse - event to find keymap property even when click is in marginal area. - - * xdisp.c (note_mode_line_or_margin_highlight): Use modified - mode_line_string and marginal_area_string functions to handle - both string object and image object properties. - -2004-01-06 Andreas Schwab - - * syntax.c (skip_chars): Treat '-' at end of string as ordinary - character. - -2004-01-02 Andreas Schwab - - * macterm.c (emacs_options, x_initialized, same_x_server): - Remove unused (and duplicated) definitions. - -2004-01-02 Kim F. Storm - - * process.h (struct Lisp_Process): New members for adaptive read - buffering: adaptive_read_buffering, read_output_delay, and - read_output_skip. - - * process.c (ADAPTIVE_READ_BUFFERING): New conditional. - (READ_OUTPUT_DELAY_INCREMENT, READ_OUTPUT_DELAY_MAX) - (READ_OUTPUT_DELAY_MAX_MAX): New constants. - (process_output_delay_count, process_output_skip): New vars. - (Vprocess_adaptive_read_buffering): New variable. - (make_process): Initialize adaptive read buffering members. - (Fstart_process): Set adaptive_read_buffering member. - (deactivate_process): Cleanup adaptive read buffering. - (wait_reading_process_input): Temporarily omit delayed - subprocesses from the set of file descriptors to read from; - adjust the select timeout if we skipped any subprocesses. - (read_process_output): Increase adaptive read buffering delay if - we read less than a full buffer; reduce delay when we read a - full buffer. - (send_process): Simplify using local Lisp_Process var. - Reset adaptive read buffering delay after write. - (init_process): Initialize process_output_delay_count and - process_output_skip. - (syms_of_process): DEFVAR_LISP Vprocess_adaptive_read_buffering. - -2004-01-01 Jason Rumney - - * w32term.c (w32_text_out): Use s->font, for consistency with callers. - -2003-12-30 Luc Teirlinck - - * print.c (Ferror_message_string): Add hyperlink in the docstring - to the definition of `signal' in the Elisp manual. - * eval.c (Fsignal): Ditto. - -2003-12-29 James Clark - - * fns.c (internal_equal): Return t for two NaN arguments. - -2003-12-29 Richard M. Stallman - - * data.c (store_symval_forwarding): Handle setting - default-fill-column, etc., by changing the value in - buffers that use the default. - - * minibuf.c (Fset_minibuffer_window): Doc fix. - - * fileio.c (choose_write_coding_system): Ignore auto_saving - if using the visited file for auto saves. - (Fwrite_region): Don't update SAVE_MODIFF - if auto-saving in visited file. - -2003-12-29 Kenichi Handa - - * dispextern.h (face_font_available_p): Extern it. - - * fontset.c (Voverriding_fontspec_alist): New variable. - (lookup_overriding_fontspec): New function. - (fontset_ref_via_base): Call lookup_overriding_fontspec if necessary. - (fontset_font_pattern): Likewise. - (regulalize_fontname): New function. - (Fset_fontset_font): Call regulalize_fontname. - (Fset_overriding_fontspec_internal): New function. - (syms_of_fontset): Initialize and staticpro Voverriding_fontspec_alist. - Defsubr Sset_overriding_fontspec_internal. - - * xfaces.c (face_font_available_p): New function. - -2003-12-28 Richard M. Stallman - - * buffer.c (Fother_buffer): Don't crash if BUF is nil - or if its name is nil. - - * buffer.c (Fkill_buffer): Don't delete auto-save file - if it's the same as the visited file. - -2003-12-28 Luc Teirlinck - - * coding.c (Fcheck_coding_system): Doc fix. - -2003-12-28 Kim F. Storm - - * Makefile.in (eval.o): Depend on dispextern.h. - - * dispnew.c (buffer_posn_from_coords): Fix calculation of dy for - image glyph using image's ascent. - (mode_line_string): Return image glyph as object clicked on. - Adjust y0 for image glyph using image's ascent. - - * dispextern.h (FACE_ID_BITS, MAX_FACE_ID): New defines. - (struct glyph): New members, ascent and descent. Used to save - this glyph's ascent and descent, instead of having. - (struct glyph): Declare member face_id using FACE_ID_BITS. - (find_hot_spot): Add prototype. - - * keyboard.c (Qimage): Remove extern (now in lisp.h). - (QCmap): Declare extern. - (make_lispy_position): When position is inside image hot-spot, - use hot-spot element's id as posn element. - - * lisp.h (IMAGEP): New macro to test for image object type. - (Qimage): Declare extern. - - * macfns.c (Qimage): Remove extern (now in lisp.h). - (valid_image_p, parse_image_spec): Use IMAGEP macro. - - * macterm.c (Qface, Qmouse_face): Remove unused externs. - - * w32fns.c (Qimage): Remove extern (now in lisp.h). - (valid_image_p, parse_image_spec): Use IMAGEP macro. - - * w32menu.c (Qmouse_click, Qevent_kind): Remove unused externs. - - * w32term.c (Qface, Qmouse_face): Remove unused externs. - - * xdisp.c (Qarrow, Qhand, Qtext, Qpointer): New variables for - pointer types. - (Qrelative_width, Qalign_to): Remove unused variables. - (Vvoid_text_area_pointer): Replace Vshow_text_cursor_in_void. - (QCmap, QCpointer, Qrect, Qcircle, Qpoly): New variables for image - maps. - (x_y_to_hpos_vpos): Return glyph relative coordinates through new - dx and dy args. Remove buffer_only_p arg (always 0). Simplify - code accordingly. - (get_glyph_string_clip_rect): Draw cursor using glyph's rather - than row's ascent and height, to get sensible height on tall rows. - (build_desired_tool_bar_string): Remove Qimage extern. - (get_tool_bar_item): Fix call to x_y_to_hpos_vpos. - (produce_image_glyph): Adjust it.ascent to minimum row ascent if - image glyph is alone on the last line. - (append_glyph, append_composite_glyph, produce_image_glyph) - (append_stretch_glyph): Set glyph's ascent and descent. - (on_hot_spot_p): New function to check if position is inside an - rectangular, circular, or polygon-shaped image hot-spot, - (find_hot_spot): New function to search for image hot-spot. - (Flookup_image_map): New defun to search for image hot-spot. - (define_frame_cursor1): New aux function to determine frame - pointer. - (note_mode_line_or_margin_highlight, note_mouse_highlight): Handle - `pointer' text property and :pointer image property to control - frame pointer shape. Detect image hot-spots for pointer and - help_echo properties. Use define_frame_cursor1. - (note_mouse_highlight): Use Vvoid_text_area_pointer. - (syms_of_xdisp): Defsubr new defun. Intern and staticpro new - variables. DEFVAR_LISP Vvoid_text_area_pointer instead of - Vshow_text_cursor_in_void. - - * xfaces.c (cache_face): Abort if c->size exceeds MAX_FACE_ID. - - * xfns.c (x_set_mouse_color): Remove bogus x_check_errors call. - (Qimage): Remove extern (now in lisp.h). - (valid_image_p, parse_image_spec): Use IMAGEP macro. - - * xmenu.c (show_help_event): Remove unused code. - - * xterm.c (Qface, Qmouse_face): Remove unused externs. - (x_draw_hollow_cursor): Draw cursor using glyph's rather than - row's ascent and descent, to get a sensible height on tall rows. - -2003-12-25 Luc Teirlinck - - * minibuf.c (Fcompleting_read): Undo previous change. - -2003-12-25 Lars Hansen - - * dired.c (Fdirectory_files, Fdirectory_files_and_attributes): - Arguments GCPRO'ed in call to file name handler. - -2003-12-25 Thien-Thi Nguyen - - * termcap.c (tgetst1): Scan for "%pN"; if all - N are continuous in [1,9], remove all "%pN". - -2003-12-24 Jan Dj,Ad(Brv - - * gtkutil.c (xg_frame_set_char_size): Call x_wm_set_size_hint. - - * xfaces.c (lface_fully_specified_p): Take into account that - MAC OS always have unspecified stipple. - -2003-12-24 Thien-Thi Nguyen - - * tparam.c (tparam1): Add handling for `%pN', which - means use param N for the next substitution. - -2003-12-24 Thien-Thi Nguyen - - * xfaces.c (Fcolor_gray_p): Fix omission bug: - In case `frame' is nil, consult the selected frame. - (Fcolor_supported_p): Likewise. - -2003-12-23 Luc Teirlinck - - * fns.c (Frandom, Fstring_make_multibyte, Fset_char_table_range): - Doc fixes. - - * minibuf.c (read_minibuf): Allow INITIAL to be a cons of a string - and an integer. Adapt the introductory comment accordingly. - (Fread_from_minibuffer): Delete code moved into read_minibuf. - Doc fix. - (Fread_minibuffer, Fread_no_blanks_input): Adapt to changes in - read_minibuf. - (Fcompleting_read): Delete code moved into read_minibuf. - (Ftest_completion): Make it handle obarrays and hash tables correctly. - -2003-12-03 Kenichi Handa - - * coding.c (decode_coding_iso2022): Fix for preserving UTF-8 - encoding sequence. - -2003-12-01 Kenichi Handa - - * composite.c (syms_of_composite): Don't make the compostion hash - table week. - -2003-11-30 Luc Teirlinck - - * intervals.h: Add EXFUN for Fget_char_property_and_overlay. - * textprop.c (Fget_char_property_and_overlay): New function. - (syms_of_textprop): Defsubr it. - -2003-11-29 Jan Dj,Ad(Brv - - * dispnew.c (buffer_posn_from_coords): Add ifdef HAVE_WINDOW_SYSTEM - to compile on terminal configuration. - - * fileio.c (Fread_file_name): Check use_file_dialog also before - calling Fx_file_dialog. - - * fns.c (use_file_dialog): New variable. - (syms_of_fns): DEFVAR_BOOL use-file-dialog. - -2003-11-29 Kim F. Storm - - * msdos.c (Qcursor_type, Qbar, Qhbar): Declare extern. - (syms_of_msdos): Don't intern and staticpro them. - -2003-11-27 Kim F. Storm - - * dispnew.c (buffer_posn_from_coords): Calculate and return pixel - coordinates relative to glyph at posn. If glyph is an image, - return that as object at posn. Callers changed. - (mode_line_string, marginal_area_string): Calculate and return - pixel coordinates relative to glyph. Callers changed. - - * dispextern.h (buffer_posn_from_coords, mode_line_string) - (marginal_area_string): Fix prototypes. - (window_box_left_offset, window_box_right_offset): Add prototypes. - - * frame.h (get_specified_cursor_type, get_window_cursor_type): - Remove prototypes. - - * keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): Fix defines. - - * keyboard.c (make_lispy_position): Add x and y coordinates - relative to the current glyph as 7th element of position. - If glyph is an image, return it in the object element. - (read_key_sequence): Skip checks for keymap property in cases - where POSN_STRING is not a string (e.g. an image). - - * xdisp.c (Vdisplay_pixels_per_inch): New variable. - (Vshow_text_cursor_in_void): New variable. - (glyph_to_pixel_coords): Don't use negative hpos. - (x_y_to_hpos_vpos): Fix for partially visible first glyph. - (append_stretch_glyph): Change ascent arg to be actual value - in pixels rather than ratio to height. Callers changed. - (calc_pixel_width_or_height): New aux function, implementing - pixel based artihmetic for glyph widths and heights. - (produce_stretch_glyph): Use calc_pixel_width_or_height for - :width, :height, :align-to, and :ascent, thus allowing these to - be specified in pixels as well as multiples of characters. - Don't produce stretch glyphs with zero width or height. - (get_specified_cursor_type): Declare static. - (get_window_cursor_type): Declare static. Add glyph arg to be - able to know when cursor is on an image; always substitute - hollow-box cursor for filled-box cursor on images, to avoid - negative images and flicker when blinking the cursor. - (display_and_set_cursor): Pass glyph to get_window_cursor_type. - (note_mode_line_or_margin_highlight): Use non-text cursor rather - than vertical scroll-bar cursor in display margins. - (note_mouse_highlight): Use non-text cursor rather than text - cursor in fringes and over images in the text area. - Use non-text cursor when mouse pointer is outside editable text, - i.e. in the void after end-of-line or end-of-buffer; this was - already done for W32, but is now standard for all systems -- - user can toggle show-text-cursor-in-void to get old behaviour. - (syms_of_xdisp): DEFVAR_LISP Vshow_text_cursor_in_void and - Vdisplay_pixels_per_inch. - -2003-11-25 Andreas Schwab - - * fns.c (internal_equal) : Declare size as - EMACS_INT to not lose bits. - (Ffillarray): Don't set bits beyond the size of a bool vector. - -2003-11-25 Kim F. Storm - - * print.c (Fredirect_debugging_output) [!GNU_LINUX]: Do not - define this defun on systems that cannot use stderr as lvalue. - -2003-11-24 Gerd Moellmann - - * s/freebsd.h (LD_SWITCH_SYSTEM_TEMACS) - [__FreeBSD_version >= 500042]: Define as -znocombreloc because - ld's default is incompatible with unexec. - -2003-11-23 Kim F. Storm - - * window.c (enum window_loop): Add REDISPLAY_BUFFER_WINDOWS. - (window_loop): Handle REDISPLAY_BUFFER_WINDOWS. - (Fforce_window_update): New defun. - (syms_of_window): Defsubr it. - (Fset_window_margins, Fset_window_fringes): Doc fix. - - * print.c (Fredirect_debugging_output): New defun. - (syms_of_print): Defsubr it. - -2003-11-22 Luc Teirlinck - - * fns.c (Fset_char_table_parent): Doc fix. - -2003-11-22 Kim F. Storm - - * dispnew.c (buffer_posn_from_coords): Return actual row/column - for glyph clicked on, rather than (unused) pixel positions. - (mode_line_string, marginal_area_string): Change X and Y args to - pointers for returning actual row/column for glyph clicked on. - Simplify and optimize loops. - - * dispextern.h (mode_line_string, marginal_area_string): - Update prototypes. - - * keyboard.c (make_lispy_position): New function for generating - mouse click positions from frame and pixel coordinates. - Enhanced to return buffer position and actual row/column for - events outside the text area using updated mode_line_string and - marginal_area_string functions. - Return left-fringe and right-fringe clicks as such, rather than - clicks in text area. - (make_lispy_event) [USE_X_TOOLKIT, USE_GTK]: Don't call - pixel_to_glyph_coords, as we never use the results. - (make_lispy_event): Use make_lispy_position for MOUSE_CLICK_EVENT, - WHEEL_EVENT, and DRAG_N_DROP_EVENT to replace redundant code. - Eliminate unused code in WHEEL_EVENT handling. - (make_lispy_movement): Use make_lispy_position. - - * window.c (coordinates_in_window): Remove redundant tests. - Fix returned X pixel value for left-margin. - - * xdisp.c (note_mode_line_or_margin_highlight): Adapt to new - mode_line_string and marginal_area_string parameters. - -2003-11-22 Lars Hansen - - * w32.c (struct the_group, getgrgid): Add. - * mac.c (struct my_group, getgrgid): Add. - -2003-11-21 Luc Teirlinck - - * fns.c (Fassq, Fassoc, Frassq, Frassoc): Doc fixes. - -2003-11-21 Lars Hansen - - * dired.c (Ffile_attributes): Add parameter ID-FORMAT and - include in call to file name handler. Optionally translate numeric - UID and GID to strings. Update docstring. - (directory_files_internal): Add parameter ID-FORMAT. - (Fdirectory_files_and_attributes): Add parameter ID-FORMAT and - include in call to file name handler and call to - directory_files_internal. Update Docstring. - (Fdirectory_files): Add dummy parameter in call to - directory_files_internal. - * lisp.h (Qinteger): Add. - (Qinteger_or_floatp, Qinteger_or_float_or_marker_p): Remove. - (Ffile_attributes): Add parameter. - * data.c (Qinteger): Export. - -2003-11-21 Luc Teirlinck - - * fns.c (Freverse, Fnreverse): Doc fixes. - -2003-11-19 Kim F. Storm - - * xdisp.c (init_iterator): Initialize it->start to position - before reseating (in case start position is invisible). - (init_to_row_start): Set it->start to row-start. - (redisplay_window): Accept optional_new_start if start position - is invisible (in which case IT_CHARPOS overshoots PT). - (display_line): Setup row->start from it->start (rather than - it->current which is wrong if first char on line is invisible). - When done, reseat it->start to it->current (= start of next row). - (expose_area): Fix exposure of text area when first char (e.g. TAB) - is only partially visible. - - * dispextern.h (struct it): New member start. - -2003-11-17 Stefan Monnier - - * alloc.c (make_float, Fcons): Clear the markbit at init time. - (make_float, Fcons, Fmake_symbol, allocate_misc): Move the increment - of block_index outside of the macro call. - (Fgarbage_collect): Remove null code. - - * m/amdx86-64.h: Don't redefine XPNTR. - - * keyboard.c (parse_modifiers, apply_modifiers): Use INTMASK instead - of VALMASK. - - * fns.c (hashfn_eq, hashfn_eql, hashfn_equal, hash_put) - (sxhash_string, sxhash): Use INTMASK instead of VALMASK. - (maybe_resize_hash_table): Use MOST_POSITIVE_FIXNUM. - - * lisp.h (VALMASK): Only define for non-union type. - (MARKBIT): Remove. - (ARRAY_MARK_FLAG): Use previous value of MARKBIT. - (XTYPE): Define unconditionally. - (XSETTYPE): Remove one more remnant. - (EQ): Define differently for the union and non-union cases. - (INTMASK): New bit mask. - (struct Lisp_Marker): Move down to prepare for upcoming patch. - (GC_EQ): Delegate to EQ. - - * coding.c (coding_restore_composition): Lisp_Object/int mixup. - -2003-11-17 Jan Dj,Ad(Brv - - * xterm.c (x_window_to_scroll_bar): Move check of display to - where window_id is compared. - -2003-11-17 Kim F. Storm - - * dispextern.h (struct it): New member first_vpos. - - * xdisp.c (start_display): Set it->first_vpos. - (try_window_id): Use first_vpos to start display in first _text_ - line if no reusable lines at start of window with header line. - -2003-11-16 Jan Dj,Ad(Brv - - * w32fns.c (XPutPixel): - * w32bdf.c (w32_init_bdf_font): - * sunfns.c (sel_read): - * process.c (Fmake_network_process): - * frame.c (store_frame_param): - * fontset.c (Fset_fontset_font): - * emacs.c (shut_down_emacs): - * ccl.c (ccl_driver): Remove period at end of error message. - - * config.in: Regenerate. - - * xfns.c (x_window_to_frame, x_any_window_to_frame) - (x_non_menubar_window_to_frame, x_menubar_window_to_frame) - (x_top_window_to_frame): Add Display* argument to xg_win_to_widget. - (x_create_bitmap_mask, xg_set_icon, create_frame_xic) - (xic_set_statusarea, x_window, gif_load): Formatting adjustments. - - * xterm.h (struct x_display_info): New field xg_cursor for GTK. - - * xterm.c: Add Display * to x_window_to_scroll_bar declaration. - (XTmouse_position, handle_one_xevent): Pass Display* to - x_window_to_scroll_bar. - (x_window_to_scroll_bar): Take a Display* argument. - Check that display for frame is equal to Display* argument. - (event_handler_gdk): Remove current_dpyinfo. Get dpyinfo from - x_display_info_for_display instead. Use Display in xev instead - of GDK_DISPLAY. - (x_dispatch_event): Call x_display_info_for_display. - (XTread_socket): Move GTK part out of loop. current_dpyinfo removed. - (x_connection_closed): Call xg_display_close for GTK. - (x_term_init): Call xg_display_open for additional displays. - Initiate dpyinfo->xg_cursor with call to xg_create_default_cursor - for GTK. - - * xmenu.c (single_menu_item, mouse_position_for_popup) - (x_activate_menubar): Formatting adjustments. - - * xdisp.c (update_tool_bar, redisplay_tool_bar): Formatting - adjustments. - - * gtkutil.c (xg_get_gdk_display, xg_set_screen, xg_display_open) - (xg_display_close, xg_create_default_cursor) - (xg_get_gdk_pixmap_and_mask): New functions for multiple display - handling. - (xg_left_ptr_cursor): Remove. - (xg_set_cursor): Change cursor to GdkCursor*. Do not create - cursor here. - (xg_win_to_widget): Take Display* argument, call - gdk_xid_table_lookup_for_display. - (xg_create_frame_widgets, xg_get_file_name, create_menus) - (xg_create_widget, xg_modify_menubar_widgets): Call xg_set_screen. - (xg_create_widget, xg_create_scroll_bar): Use xg_cursor - in FRAME_X_DISPLAY_INFO. - (xg_get_scroll_id_for_window): Take Display* argument. - (update_frame_tool_bar): Call xg_get_gdk_pixmap_and_mask. - (xg_initialize): Remove xg_left_ptr_cursor. - - * gtkutil.h (xg_get_scroll_id_for_window, xg_win_to_widget): Add - Display* argument. - (xg_display_open, xg_display_close, xg_create_default_cursor): Declare. - -2003-11-14 Jan Dj,Ad(Brv - - * xterm.c (x_detect_focus_change): Do not change focus frame for - Enter/LeaveNotify if the current focus frame has explicit focus. - -2003-11-14 Kim F. Storm - - * dispnew.c (update_text_area): Fix redisplay error when hscroll - is active and first glyph is only partially visible. - -2003-11-13 Kenichi Handa - - * xdisp.c (select_frame_for_redisplay): New function. - (redisplay_internal): Record also selected_frame for - unwind_redisplay. Call select_frame_for_redisplay before - redrawing each frame. - (unwind_redisplay): Argument changed to a cons. - -2003-11-12 Luc Teirlinck - - * fns.c (Fstring_to_multibyte): Doc fix. - -2003-11-11 Kenichi Handa - - * xterm.c (x_list_fonts): Fix excluding of auto-scaled fonts. - -2003-11-09 Jan Dj,Ad(Brv - - * xfns.c (x_window): Set XtNx and XtNy in shell widget for - program specified positions. - -2003-11-08 Jan Dj,Ad(Brv - - * xterm.c (XAW_ARROW_SCROLLBARS): Define it for Xaw 1.5E. - -2003-11-08 Kenichi Handa - - * Makefile.in (lisp): Add kannada.el. - (shortlisp): Likewise. - -2003-11-07 Kenichi Handa - - * coding.c (coding_allocate_composition_data): - Reset coding->composing to COMPOSITION_NO. - (coding_restore_composition): Detect invalid composition data. - Give Fstring and Fvector a Lispy integer, not C int. - -2003-11-05 Stefan Monnier - - * floatfns.c (Flogb): Don't use VALMASK. - - * m/amdx86-64.h (VALBITS, XINT, XUINT): Remove. - * m/ia64.h (VALBITS, XINT, XUINT): Remove. - - * lisp.h (XINT): Move the cast to clarify what is going on. - (GCTYPEMASK, XSETTYPE): Remove. - (XGCTYPE): Make it an alias of XTYPE. - -2003-11-03 Jan Dj,Ad(Brv - - * xterm.c (x_term_init): Fix formatting. - -2003-11-02 Jan Dj,Ad(Brv - - * gtkutil.h (xg_have_tear_offs): Declare. - (xg_keep_popup, xg_did_tearoff): Remove. - - * gtkutil.c: Remove variable xg_did_tearoff. - (xg_have_tear_offs): New function. - (tearoff_remove): Just decrease xg_detached_menus. - (tearoff_activate): Increase xg_detached_menus and call - tearoff_remove when tearoff is removed. - (xg_keep_popup): Remove function. - (create_menus): Give add_tearoff_p as argument to recursive - call to create_menus. - (xg_create_widget): Use variables instead of multiple - strcmp. Tell create_menus to create tear off only for - menu bar menus. - (xg_update_menubar): Change title for a detached menu also. - (xg_modify_menubar_widgets): Always call xg_update_menubar, regardless - of deep_p. - (xg_initialize): Initialize xg_detached_menus, remove - initialization of xg_did_tearoff. - - * xmenu.c (set_frame_menubar): For GTK, set deep_p if - xg_have_tear_offs returns non-zero. - (create_and_show_popup_menu): Remove setting of xg_did_tearoff and - call to xg_keep_popup. - -2003-11-01 Andrew Choi - - * macterm.c (XTread_socket): Handle menubar selection and grow - window only for mouseDown events. - -2003-10-31 Jan Dj,Ad(Brv - - * xterm.c (x_term_init): For GTK part, increase x_initialized - to check for more than one display. Use error instead of return 0. - -2003-10-31 Andrew Choi - - * unexmacosx.c (unrelocate): New function (contributed by Nozomu Ando). - (copy_dysymtab): Call it. - -2003-10-31 Luc Teirlinck - - * eval.c (Fdefvaralias): Doc fix. - -2003-10-26 Luc Teirlinck - - * data.c (Fsetplist): Doc fix. - -2003-10-14 Lute Kamstra - - * window.c (Fset_window_fringes): Clarify docstring. - -2003-10-14 Kim F. Storm - - * window.c (Fset_window_margins): Simplify arg checking. - -2003-10-13 Richard M. Stallman - - * regex.c (MAX_BUF_SIZE): Reduce to 2**15. - (print_partial_compiled_pattern): Replace assert with a printout. - (skip_noops, mutually_exclusive_p): Change args, values to re_char *. - - * alloc.c (lisp_align_malloc): If BASE is 0, call memory_full. - - * window.c (Fset_window_margins): Allow only integers as args. - (syms_of_window) : Doc fixes. - -2003-10-13 Lute Kamstra - - * window.c (Fset_window_fringes): Elaborate docstring. - -2003-10-12 Andrew Choi - - * macterm.c (XTread_socket): Call DragWindow only for mouseDown events. - - * s/darwin.h (GC_MARK_STACK): Define. - -2003-10-12 Jan Dj,Ad(Brv - - * window.c (shrink_windows): New function. - (size_window): Call shrink_windows to calculate window sizes when - shrinking frame with more than one window. - -2003-10-12 Kim F. Storm - - * xdisp.c (compute_fringe_widths): Doc fix. - -2003-10-08 Kenichi Handa - - * coding.c (Fcoding_system_p): Return t for auto-loading coding system. - -2003-10-07 Kenichi Handa - - * coding.c (Qcoding_system_define_form): New variable. - (syms_of_coding): Intern and staticpro it. - (Fcheck_coding_system): Try to autoload the definition of - CODING-SYSTEM. - -2003-10-05 Luc Teirlinck - - * fns.c (Frequire): Doc fix. - -2003-10-05 Jan Dj,Ad(Brv - - * xfns.c (Fx_send_client_event): New function as a base for - manipulating extended window manager hints. - (Fx_send_client_event): Remove unused variable s. - - * w32term.c (w32_read_socket): Remove call to x_check_fullscreen_move, - that function is removed. - - * xterm.c (x_set_offset): Use move_offset_left/top instead of - x/y_pixels_outer_diff. - (x_check_expected_move): Calculate move_offset_left/top. - - * xterm.h (struct x_output): New members: move_offset_top/left. - - * frame.c (x_set_frame_parameters): Remove x_fullscreen_move, - call x_set_offset directly. - - * frame.h (enum): FULLSCREEN_MOVE_WAIT removed. - - * frame.c (Fdelete_frame): Free decode_mode_spec_buffer. - - * xterm.c (x_delete_display): Free font names and font_encoder - in dpyinfo->font_table. - - * xfns.c (Fx_close_connection): Only call XFreeFont here. - Move xfree of font names to x_delete_display. - - * xterm.h (struct x_display_info): New member, wm_type. - (struct x_output): New members, expected_top/left and - check_expected_move. - - * xterm.c (handle_one_xevent): Reset wm_type when ReparentNotify - is received. - (handle_one_xevent): Rename x_check_expected_move from - x_check_fullscreen_move. - (x_set_offset): Only add WM decoration sizes to modified_top/left - for X_WMTYPE_A. Set check_expected_move when WM type is unknown. - (x_check_expected_move): Rename from x_check_fullscreen_move. - Removed fullscreen specific code. Use check_expected_move, - expected_left/top instead. Also, set wm_type. - (x_term_init): Initialize wm_type to unknown. - - * frame.c (x_fullscreen_move): Remove addition of WM decoration - sizes to move_x/y. - -2003-10-03 Kenichi Handa - - * macterm.c (x_load_font): Clear all members of FONTP before start - filling them. - -2003-10-02 Kenichi Handa - - * fontset.c (fs_load_font): Don't set fontp->font_encoder to NULL - before calling find_ccl_program_func. Call find_ccl_program_func - only when fontp->font_encoder is not NULL. - - * xterm.c (x_load_font): Clear all members of FONTP before start - filling them. - -2003-10-03 John Paul Wallington - - * keymap.c (map_keymap): Don't abort when binding is a vector. - -2003-10-02 Jason Rumney - - * makefile.w32-in (emacs.o, coding.o, bytecode.o): - Sync dependencies with Makefile.in. - (alloca.o): Remove. - - * w32fns.c (w32_load_system_font): Clear all members of FONTP before - filling them. - - * w32bdf.c (w32_load_bdf_font): Likewise. - -2003-09-30 Richard M. Stallman - - * term.c (set_tty_color_mode): Calculate current_mode_spec - regardless of value of VAL. - - * intervals.c (graft_intervals_into_buffer): - Set BUF_INTERVALS (buffer)->up_obj when appropriate. - Handle over_used when splitting UNDER. - -2003-09-30 YAMAMOTO Mitsuharu - - * regex.c (regex_compile): Free the stack when returning from function. - -2003-09-28 Kenichi Handa - - * fontset.c (Finternal_char_font): Change return value to - cons (FONT-NAME . GLYPH-CODE). - -2003-09-28 Eli Zaretskii - - * term.c (tty_setup_colors): Treat any negative argument as -1. - -2003-09-27 Gaute B Strokkenes (tiny change) - - * process.c (send_process): Delete unused temp_buf. - -2003-09-26 Dave Love - - * xterm.c (x_bitmap_mask): Declare. - -2003-09-25 Dave Love - - * Makefile.in (fns.o): Depend on md5.h. - -2003-09-25 Kim F. Storm - - * window.c (set_window_buffer): Fix redisplay problems when - switching between buffers with different display margin widths. - -2003-09-23 Kim F. Storm - - * process.c (set_socket_option): Fix :bindtodevice option. - (Fset_network_process_option): Update process contact list when - setting option succeeds. - (Fmake_network_process): Doc fix. - -2003-09-23 Dave Love - - * process.c (Fnetwork_interface_info): Use HAVE_STRUCT_IFREQ... macros. - -2003-09-22 Eli Zaretskii - - * term.c (set_tty_color_mode): Use INTEGERP to test whether a - color mode is an integer number (it could be -1). - -2003-09-22 Richard M. Stallman - - * intervals.c (graft_intervals_into_buffer): Correct the main loop - in the case where OVER is longer than UNDER. - -2003-09-22 Masatake YAMATO - - * window.c (Fset_window_scroll_bars): Validate the value of - `vertical_type'. - -2003-09-21 Kim F. Storm - - * frame.c (Vdefault_frame_scroll_bars): New variable. - (x_set_vertical_scroll_bars): Use it instead of hardcoded values. - (syms_of_frame): DEFVAR_LISP it, and initialize according to - window-system default scroll bar position. - - * window.c (Fwindow_scroll_bars): Doc fix. - -2003-09-19 Jan Dj,Ad(Brv - - * xterm.c (x_set_offset): Take window manager decorations into account. - -2003-09-19 Richard M. Stallman - - * atimer.h: Don't include lisp.h. - (P_): Define it here (as well as elsewhere). - - * print.c (Fprin1_to_string): Move the PRINTPREPARE - later, so that PRINTFINISH won't unbind Qinhibit_modification_hooks. - - * data.c (Fvariable_binding_locus): New function. - (syms_of_data): defsubr it. - (Flocal_variable_p): Delete duplicate call to indirect_variable. - -2003-09-18 Dave Love - - * alloc.c (GC_MALLOC_CHECK): Move conditional undef after lisp.h. - - * process.c (Fnetwork_interface_info): Fix type error. - (Fnetwork_interface_list): Doc fix. - (read_process_output, read_process_output): Delete unused var. - -2003-09-17 Kim F. Storm - - * process.c (Fnetwork_interface_list, Fnetwork_interface_info): - Require HAVE_NET_IF_H and HAVE_SYS_IOCTL_H to include these fns. - (Fnetwork_interface_info): Check that ifreq struct has required - fields before accessing them; this requires that those fields are - defined as macros, which may be too restrictive on some platforms, - but it is better than failing on other platforms. - (syms_of_process): Only defsubr above fns when included. - -2003-09-17 Dave Love - - * unexalpha.c: Don't include varargs.h. - -2003-09-17 Kim F. Storm - - * process.c (Fset_process_sentinel): Add sentinel to childp plist - for network process. - (socket_options): Add `:' prefix to option names. Add optbit field. - (set_socket_option): Remove no_error arg and special handling of s < 0. - Return 1< - - * Makefile.in: Depend on coding.h. - -2003-09-14 Kim F. Storm - - * process.c [HAVE_SOCKETS]: Include sys/ioctl.h and net/if.h. - (Fnetwork_interface_list, Fget_network_interface_info): New defuns. - (syms_of_process): Defsubr them. - - * config.in: Regenerate. - -2003-09-12 Stefan Monnier - - * m/sr2k.h (XMARKBIT, XUNMARK): Remove. - * m/news-r6.h (XUNMARK): Remove. - * m/mips.h (XUNMARK): Remove. - * m/mips-siemens.h (XUNMARK): Remove. - * m/iris4d.h (XUNMARK): Remove. - * m/hp800.h (XMARKBIT, XUNMARK): Remove. - -2003-09-11 Stefan Monnier - - * lisp.h (VALBITS): Don't remove 1 for the markbit. - (union Lisp_Object): Use unsigned int for types. Remove markbit. - (MARKBIT): Remove 1 from VALBITS so we still use same old val. - (XTYPE): Use unsigned right-shift. - (XMARKBIT, XMARK, XUNMARK): Remove. - - * alloc.c (init_intervals, init_symbol, init_marker): - Don't preallocate anything. - (Fgarbage_collect, mark_object): Ignore the markbit. - - * bytecode.c (mark_byte_stack, unmark_byte_stack): Ignore the markbit. - -2003-09-08 Lute Kamstra - - * xdisp.c (pint2hrstr): New function. - (decode_mode_spec): Add `%i' and `%I' specs. - * buffer.c (syms_of_buffer): Document `%i' and `%I' constructs - for `mode-line-format'. - -2003-09-07 Andreas Schwab - - * alloc.c: Use long instead of int when casting ABLOCKS_BUSY to - avoid warning. - -2003-09-07 Eli Zaretskii - - * editfns.c (region_limit): Support any non-zero value of BEGINNINGP. - -2003-09-03 Kim F. Storm - - * xdisp.c (get_window_cursor_type): Partially undo 2002-03-01 - change (superseded by 2002-08-30 change); the default blink-off - cursor is now again "no cursor". - -2003-09-01 Jason Rumney - - * makefile.w32-in (alloca.o): Remove. - (coding.o): Depend on intervals.h - (emacs.o, bytecode.o): Depend on window.h - -2003-09-01 Dave Love - - * Makefile.in (alloca.o): Remove commands. - (coding.o): Depend on intervals.h composite.h window.h. - (emacs.o): Depend on window.h keyboard.h keymap.h. - (gtkutil.o): Depend on keyboard.h charset.h coding.h. - (bytecode.o): Depend on window.h. - -2003-08-31 Jason Rumney - - * w32term.c (w32_per_char_metric): Allow cached metrics to be - returned even when font_type is unknown. - - * xdisp.c (init_iterator): Remove old WINDOWSNT conditional. - -2003-08-30 Jan Dj,Ad(Brv - - * xterm.c (x_term_init): Initialize new fields in x_display_info. - - * xterm.h (struct x_display_info): Add red/green/blue_bits and - *_offset. - - * xfns.c (lookup_rgb_color): Use new fields in x_display_info to - calculate pixel value. - -2003-08-29 Gerd Moellmann - - * xdisp.c (redisplay_internal): Fix change of 2003-04-30. - Don't tell redisplay display is accurate when it's actually been - paused for pending input. - -2003-08-29 Richard M. Stallman - - * dispnew.c (adjust_glyph_matrix): Call window_box - whenever W is nonzero. - - * data.c (Fmake_variable_buffer_local, Fmake_local_variable) - (Fkill_local_variable, Fmake_variable_frame_local) - (Flocal_variable_p, Flocal_variable_if_set_p): - Use indirect_variable to trace thru variable aliases. - - * config.in: Updated. - - * callint.c (Fcall_interactively): Save and restore - Vthis_command, Vthis_original_command, real_this_command, - and current_kboard->Vlast_command. - - * abbrev.c (Fexpand_abbrev): Insert before deleting. - -2003-08-29 Gerd Moellmann - - * xfns.c (lookup_rgb_color): Handle TrueColor visuals specially. - -2003-08-28 David Abrahams (tiny change) - - * coding.c (decode_coding_iso2022): Initialize local variable c2. - (decode_coding_sjis_big5): Likewise. - -2003-08-27 Jason Rumney - - * w32.c (sys_pipe): Protect against file descriptor overflow. - - * w32fns.c (syms_of_w32fns): Remove non-existent functions. - - * w32term.c (w32_read_socket): Fix WM_MOUSEWHEEL assignment. - -2003-08-26 Terje Rosten - - * xfns.c (Vgtk_version_string): New variable. - (syms_of_xfns): DEFVAR_LISP it. Provide gtk. - -2003-08-24 Eli Zaretskii - - * term.c (term_init): Remove `const' from buffer_size's declaration. - - * Makefile.in (msdos.o): Depend on intervals.h. - - * msdos.c: Include intervals.h, since STRING_INTERVALS requires that. - -2003-08-21 Jan Dj,Ad(Brv - - * xterm.h (struct x_display_info): New fields: client_leader_window - and Xatom_wm_client_leader. - - * xterm.c (x_initialize): Move call to x_session_initialize to ... - (x_term_init): ... here. Initialize client_leader fields in dpyinfo. - - * xsmfns.c (create_client_leader_window): New function. - (x_session_initialize): Call create_client_leader_window, take - dpyinfo as argument. - - * xfns.c (Fx_create_frame): Set property WM_CLIENT_LEADER. - - * Makefile.in (xsmfns.o): Add more depenedencies. - -2003-08-21 Dave Love - - * m/iris4d.h: Use _MIPS_SZLONG, not _LP64. - -2003-08-21 Kenichi Handa - - * term.c (term_init): Fix previous change; don't rely on the - length of `buffer' if TERMINFO is defined. - -2003-08-20 Dave Love - - * atimer.h: Include lisp.h. - - * lisp.h (EMACS_LISP_H): New. - (popup_activated_flag): Don't declare. - - * alloca.c: Some merging with gnulib. Change logic and doc - concerning (x)malloc/(x)free -- no longer Emacs-specific. - [DO_BLOCK_INPUT]: Don't include lisp.h. - (xmalloc, xfree): Declare. - (malloc): Don't declare. - - * Makefile.in (LWLIB_OPTIONS): Remove (unused). - (alloca.o): Remove obsolete stuff concerning alloca.s. Depend on - atimer.h, blockinput.h. - - * alloc.c (lisp_align_malloc): Change type of `aligned'. - - * alloca.s: Remove. - -2003-08-19 Gerd Moellmann - - * s/freebsd.h [__FreeBSD_version >= 400000]: Define TERMINFO, - use -lncurses. - - * term.c (term_init): Use a buffer of size 4096 for tgetent since - FreeBSD returns something longer than 2044. Abort if the end of - the buffer is overwritten. - -2003-08-19 Miles Bader - - * xterm.c (x_term_init): Correctly use result of Ffile_readable_p. - -2003-08-19 Gerd Moellmann - - * alloc.c (lisp_align_malloc): Check for memory full when - allocating ablocks, which also avoids freeing a pointer into an - ablocks structure. - - * puresize.h (BASE_PURESIZE): Increase to 1100000. - - * buffer.c (Fmove_overlay): Set overlay's next pointer unconditionally. - -2003-08-16 Richard M. Stallman - - * editfns.c (Fencode_time): Doc fix. - -2003-08-16 David Ponce - - * fileio.c (Fwrite_region): Fix conditional expression to issue - the right message. - -2003-08-16 Juri Linkov - - * syntax.c (Fforward_word): Argument changed to optional. - Set default value to 1. - -2003-08-15 Kenichi Handa - - * xfaces.c (better_font_p): Prefer a real scalable font; i.e. not - what autoscaled. - (best_matching_font): Once we find a better scalable font, set - non_scalable_has_exact_height_p to 1. - (try_font_list): Call try_alternative_families to try any family - with the given registry. - -2003-08-09 Andreas Schwab - - * alloc.c (mark_object): Handle Lisp_Misc_Save_Value. - - * print.c (print_string): Fix printing of multibyte string with - nontrivial printcharfun. - -2003-07-31 Jan Dj,Ad(Brv - - * xfns.c (xg_set_icon): Rewrite to compile with GTK 2.0 and 2.2. - - * xterm.c (x_bitmap_icon): Return if xg_set_icon succeeds. - -2003-07-31 Kenichi Handa - - * process.c (read_process_output): Return the actually read bytes - instead of the result of decoding. - -2003-07-31 Kenichi Handa - - * xterm.h (struct x_bitmap_record): New member have_mask. - - * xfns.c (x_create_bitmap_from_data): Initialize have_mask member - to 0. - (x_create_bitmap_from_file): Likewise. - (x_destroy_bitmap): Check have_mask member before freeing a mask. - (x_destroy_all_bitmaps): Likewise. - (x_create_bitmap_mask): Set have_mask member to 1. - -2003-07-30 Richard M. Stallman - - * Makefile.in (CFLAGS) [!OPTIMIZE]: Undo previous change. - -2003-07-29 Jan Dj,Ad(Brv - - * gtkutil.c (xg_mark_data): Update calls to mark_object. - -2003-07-29 Richard M. Stallman - - * xterm.c (xim_open_dpy, xim_initialize, xim_close_dpy): - Conditionalize XIM code on HAVE_XIM. - - * fns.c (Fclear_string): New function. - (syms_of_fns): defsubr it. - -2003-07-28 KOBAYASHI Yasuhiro - - * xfns.c (xic_set_preeditarea): Add the left fringe width to spot.x. - -2003-07-22 Stefan Monnier - - * xfns.c: Don't check HAVE_PNG_H: autoconf doesn't seem to find it. - - * buffer.c (delete_all_overlays): New function. - * buffer.h (delete_all_overlays): Declare. - * coding.c (run_pre_post_conversion_on_str): - * print.c (temp_output_buffer_setup): - * fileio.c (Finsert_file_contents): - * minibuf.c (get_minibuffer): Use it. - -2003-07-22 Andrew Choi - - * unexmacosx.c (unexec_regions_sort_compare): - (unexec_regions_merge): New functions. Sort and merge unexec - regions before dumping them. - -2003-07-22 Dave Love - - * xfns.c [HAVE_PNG]: Consider both png.h and libpng/png.h. - -2003-07-21 Stefan Monnier - - * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P) - (GC_STRING_CHARS, string_bytes): Use ARRAY_MARK_FLAG rather than - MARKBIT as the gcmarkbit for strings. - -2003-07-21 Richard M. Stallman - - * s/openbsd.h (LD_SWITCH_SYSTEM_TEMACS): Add undef. - - * fns.c (Flocale_info): Rename from Flanginfo. Doc fixes. - (syms_of_fns): Corresponding change. - - * alloc.c (syms_of_alloc): Doc fixes. - -2003-07-20 Han Boetes (tiny change) - - * s/netbsd.h: Use -Wl syntax. - -2003-07-17 Richard M. Stallman - - * xterm.c (xim_initialize): Redo 6/24 change. - -2003-07-15 Stefan Monnier - - * buffer.c (copy_overlays): Use EMACS_INT for positions. - (Fswitch_to_buffer): Don't signal an error when switching to the same - buffer in a dedicated window. - - * alloc.c: Use bitmaps for cons, as was done for floats. - (init_float, init_cons): Let the normal code allocate the first block. - (CONS_BLOCK_SIZE): Redefine based on BLOCK_BYTES and bitmap size. - (CONS_BLOCK, CONS_INDEX, CONS_MARKED_P, CONS_MARK, CONS_UNMARK): - New macros. - (struct cons_block): Move conses to the beginning. Add gcmarkbits. - (Fcons): Use lisp_align_malloc and CONS_UNMARK. - (live_cons_p): Check the pointer is not past the `conses' array. - (mark_maybe_object, mark_maybe_pointer): Use CONS_MARKED_P. - (mark_object, mark_buffer): Use CONS_MARKED_P and CONS_MARK. - (survives_gc_p): Use CONS_MARKED_P and simplify. - (gc_sweep): Use CONS_MARKED_P, CONS_UNMARK, and lisp_align_free. - -2003-07-13 Paul Eggert - - GCC 3.3 (sparc) no longer puts "int foo = 0;" into data; it - puts it into BSS instead, at least on Solaris 8 and 9. - This is a valid optimization, and it may occur on other platforms, - so Emacs should not assume that initializing a static variable to - zero puts it into data. - * alloc.c (pure, staticvec): - Initialize these arrays to nonzero, so that they're not - put into BSS by that optimization. - -2003-07-13 Stefan Monnier - - * alloc.c (BLOCK_PADDING): Rename from ABLOCKS_PADDING. Update users. - (lisp_align_malloc): Use posix_memalign is available. - (ABLOCKS_BASE): Use HAVE_POSIX_MEMALIGN as an optimization. - (STRING_BLOCK_SIZE): Rename from STRINGS_IN_STRING_BLOCK - for consistency. Update users. - -2003-07-13 Richard M. Stallman - - * s/netbsd.h (START_FILES_1, END_FILES_1): Always define them. - -2003-07-13 Terje Rosten - - * xterm.c (x_bitmap_icon, x_wm_set_icon_pixmap): Modify to add mask, - and use the Gtk+ function gtk_window_icon_from_file if available. - - * xfns.c (x_bitmap_mask, x_create_bitmap_mask): New functions to - handle mask of bitmaps. - (x_allocate_bitmap_record, x_destroy_bitmap): Modify to handle the - mask property. - (xg_set_icon): New function, wrapper for gtk_window_icon_from_file. - - * xterm.h (xg_set_icon): New function. - -2003-07-12 Paul Eggert - - * unexelf.c (unexec): Consider a section to precede the .bss - section if its addresses overlap that of .bss. - -2003-07-12 Richard M. Stallman - - * Makefile.in (CFLAGS) [!OPTIMIZE]: Set CFLAGS to -g. - - * config.in (HAVE_CRTIN): Add #undef. - (INLINE): Really inline only if OPTIMIZE is defined. - - * s/netbsd.h (START_FILES, LIB_STANDARD): Use START_FILES_1, - END_FILES_1. - (START_FILES_1, END_FILES_1): New macros (conditional). - (LD_SWITCH_SYSTEM_TEMACS): Define. - - * s/openbsd.h: Don't include bsd4-3.h. - (TERMINFO): Define. - (LIBS_TERMCAP): Define. - (LD_SWITCH_SYSTEM): Define (two definitions). - - * xfns.c: Include libpng/png.h instead of png.h. - -2003-07-11 Andreas Schwab - - * buffer.c (modify_overlay): Update prototype. - * lisp.h (adjust_overlays_for_insert, adjust_overlays_for_delete): - Likewise. - -2003-07-09 Stefan Monnier - - * lisp.h (VALBITS): Define in terms of GCTYPEBITS. - (struct interval): Move to intervals.h. - (struct Lisp_Marker): Use EMACS_INT for position info. - (forward_point): Remove prototype of defunct function. - (Qmodification_hooks, Qrear_nonsticky, Fnext_property_change) - (Fget_text_property, Fset_text_properties, Ftext_propertes_not_all) - (syms_of_textprop, set_text_properties): Remove prototypes that are - already in intervals.h. - - * intervals.h (struct interval): Move from lisp.h. - Use EMACS_INT for position and size info. - - * coding.c: Include intervals.h for Fset_text_properties. - - * buffer.h (struct buffer_text, struct buffer): Use EMACS_INT for - position and length information. - -2003-07-09 Stefan Monnier - - * buffer.h (struct buffer_text, struct buffer): Use EMACS_INT for - position and length information. - -2003-07-09 Stefan Monnier - - Change overlays_after and overlays_before so the overlays themselves - are linked into lists, rather than using cons cells. After all each - Lisp_Misc already occupies 5 words, so we can add a `next' field to - Lisp_Overlay for free and save up one cons cell per overlay (not - to mention one indirection when traversing the list of overlay). - - * lisp.h (struct Lisp_Overlay): New field `next'. - - * buffer.h (struct buffer): Change overlays_before and overlays_after - from Lisp lists of overlays to pointers to overlays. - - * buffer.c (overlay_strings, recenter_overlay_lists): - Fix typo in eassert in last commit. - (unchain_overlay): New function. - (add_overlay_mod_hooklist): Use AREF. - (copy_overlays, reset_buffer, overlays_at, overlays_in) - (overlay_touches_p, overlay_strings, recenter_overlay_lists) - (fix_overlays_in_range, fix_overlays_before, Fmake_overlay) - (Fmove_overlay, Fdelete_overlay, Foverlay_lists) - (report_overlay_modification, evaporate_overlays, init_buffer_once): - Adjust to new type of overlays_(before|after). - - * alloc.c (mark_object): Mark the new `next' field of overlays. - (mark_buffer): Manually mark the overlays_(after|before) fields. - - * coding.c (run_pre_post_conversion_on_str): - * editfns.c (overlays_around): - * xdisp.c (load_overlay_strings): - * fileio.c (Finsert_file_contents): - * indent.c (current_column): - * insdel.c (signal_before_change, signal_after_change): - * intervals.c (set_point_both): - * print.c (temp_output_buffer_setup): Use new type for - overlays_(before|after). - -2003-07-08 Stefan Monnier - - * buffer.c (report_overlay_modification): Don't run hooks while - traversing the list of overlays. - - * buffer.h (struct buffer): Use an int for overlay_center. - (overlays_at, evaporate_overlays, recenter_overlay_lists) - (overlay_strings, fix_overlays_before): Use EMACS_INT for positions. - - * buffer.c (reset_buffer, recenter_overlay_lists) - (adjust_overlays_for_insert, adjust_overlays_for_delete) - (fix_overlays_in_range, Fmake_overlay, Fmove_overlay) - (evaporate_overlays, init_buffer_once): Update use of overlay_center. - (overlays_at, evaporate_overlays, recenter_overlay_lists) - (overlay_strings, fix_overlays_before): Use EMACS_INT for positions. - - * xdisp.c (fast_find_position): Remove unused var. - - * cmds.c (Qexpand_abbrev): New sym. - (syms_of_cmds): Initialize it. - (internal_self_insert): Use it to call expand-abbrev. - -2003-07-09 Kim F. Storm - - * xterm.c (use_xim) [!USE_XIM]: Default to disable XIM if Emacs - was configured with --without-xim. - (x_term_init) [!USE_XIM]: Use `useXIM' resource to turn on XIM. - -2003-07-07 Richard M. Stallman - - * xdisp.c (reseat_1): Set it->area to TEXT_AREA. - - * alloc.c (Fgarbage_collect): Doc fix. - -2003-07-07 Nozomu Ando - - * buffer.c (Fkill_buffer): Clear charpos cache if necessary. - -2003-07-06 Stefan Monnier - - * minibuf.c (read_minibuf): UNGCPRO before returning. - (Ftry_completion, Fall_completions): Doc fix. - - * alloc.c (live_float_p): Check that p is not past the `floats' array, - now that `floats' is not the last element of the struct any more. - -2003-07-06 Jason Rumney - - * w32term.h (ClipboardSequence_Proc): New type. - - * w32fns.c (clipboard_sequence_fn): New variable. - (globals_of_w32fns): Initialize it. - - * w32select.c (last_clipboard_sequence_number): New variable. - (Fw32_set_clipboard_data, Fw32_get_clipboard_data): Use sequence - number if possible. - -2003-07-06 Stefan Monnier - - * m/amdx86-64.h (MARKBIT): - * m/ia64.h (MARKBIT): Remove definition since lisp.h does not compare - MARKBIT and ARRAY_MARK_FLAG any more. - - * m/hp800.h (XSETMARKBIT): - * m/sr2k.h (XSETMARKBIT): - * lisp.h (XSETMARKBIT): Remove unused macro. - - * lisp.h (mark_object): Change prototype. - - * alloc.c (mark_object): Change arg *Lisp_Object -> Lisp_Object. - (last_marked): Change accordingly. - (mark_interval, mark_maybe_object, mark_maybe_pointer) - (Fgarbage_collect, mark_glyph_matrix, mark_face_cache, mark_image) - (mark_buffer): Update calls to mark_object. - - * bytecode.c (mark_byte_stack): - * fns.c (sweep_weak_table): - * keyboard.c (mark_kboards): Update calls to mark_object. - -2003-07-06 Jason Rumney - - * alloc.c (struct ablock): Only include padding when there is some. - -2003-07-04 Stefan Monnier - - * alloc.c (ALIGN): Add casts to simplify usage. - (BLOCK_ALIGN, BLOCK_BYTES, ABLOCKS_PADDING, ABLOCKS_SIZE) - (ABLOCKS_BYTES, ABLOCK_ABASE, ABLOCKS_BUSY, ABLOCKS_BASE): New macros. - (struct ablock, struct ablocks): New types. - (free_ablock): New global var. - (lisp_align_malloc, lisp_align_free): New functions. - (FLOAT_BLOCK_SIZE): Redefine in terms of BLOCK_BYTES. - (struct float_block): Reorder and add gcmarkbits. - (GETMARKBIT, SETMARKBIT, UNSETMARKBIT, FLOAT_BLOCK, FLOAT_INDEX) - (FLOAT_MARKED_P, FLOAT_MARK, FLOAT_UNMARK): New macros. - (init_float, make_float): Use lisp_align_malloc. - (free_float, live_float_p): Don't use `type' any more. - (make_float): Use FLOAT_UNMARK to access to mark bit. - (mark_maybe_object, mark_maybe_pointer, survives_gc_p): - Use FLOAT_MARKED_P to access the mark bit. - (pure_alloc): Simplify use of ALIGN. - (mark_object): Use FLOAT_MARK to access the mark bit. - (gc_sweep): Use new macros to access the float's mark bit. - (init_alloc_once): Init free_ablock. - - * lisp.h (struct Lisp_Float): Remove unused field `type'. - -2003-06-27 Stefan Monnier - - * alloc.c (VECTOR_MARK, VECTOR_UNMARK, VECTOR_MARKED_P): New macros. - (GC_STRING_BYTES): Don't mask markbit (it's only used on `size'). - (allocate_buffer): Move. - (string_bytes): Don't mask markbit of `size_byte'. - (mark_maybe_object, mark_maybe_pointer, Fgarbage_collect) - (mark_object, mark_buffer, survives_gc_p, gc_sweep): - Use the `size' field of buffers (rather than the `name' field) for - the mark bit, as is done for all other vectorlike objects. - Use the new macros to access the mark bit of vectorlike objects. - -2003-06-26 Richard M. Stallman - - * puresize.h (BASE_PURESIZE): Increment base size. - - * xdisp.c (fast_find_position): Enable Gerd's new definition. - - * xterm.c (xim_initialize): Undo previous change. - -2003-06-26 Stefan Monnier - - * alloc.c (survives_gc_p): Simplify. - - * buffer.c (set_buffer_internal_1): Test CONSP for lists. - - * window.c (Fset_window_dedicated_p): Simplify. - (display_buffer_1): Don't raise the win from which minibuf was entered. - (temp_output_buffer_show): Don't assume BEG == 1. Simplify. - (Fminibuffer_selected_window): Simplify. - - * buffer.h (struct buffer_text): Lisp_Object `markers' => Lisp_Marker. - - * lisp.h (unchain_marker): Lisp_Object arg => Lisp_Marker. - (struct Lisp_Marker): Lisp_Object `chain' => Lisp_Marker `next'. - - * insdel.c (check_markers, adjust_markers_for_delete) - (adjust_markers_for_insert, adjust_markers_for_replace) - (prepare_to_modify_buffer, RESTORE_VALUE): - * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos) - (Fset_marker, set_marker_restricted, set_marker_both, unchain_marker) - (set_marker_restricted_both, Fbuffer_has_markers_at, count_markers): - * alloc.c (Fmake_marker, free_marker, gc_sweep): - * buffer.c (Fget_buffer_create, Fkill_buffer, Fset_buffer_multibyte): - * editfns.c (save_excursion_restore, transpose_markers): - * window.c (delete_window): - * xdisp.c (message_dolog): Update for new types. - -2003-06-26 Jan Dj,Ad(Brv - - * xfaces.c (set_font_frame_param): Set default_face_done_p to zero. - (realize_default_face): Use default_face_done_p for the force_p - argument to set_lface_from_font_name. Set default_face_done_p to one. - - * frame.c (make_frame): Initialize default_face_done_p. - - * frame.h (struct frame): Add default_face_done_p. - - * config.in: Add XRegisterIMInstantiateCallback_arg6 so it - will be defined. - -2003-06-25 Stefan Monnier - - * alloc.c (make_interval, Fmake_symbol, allocate_misc): - Initialize the new field `gcmarkbit'. - (mark_interval, MARK_INTERVAL_TREE): Use the new `gcmarkbit' field. - (mark_interval_tree): Don't mark the tree separately from the nodes. - (UNMARK_BALANCE_INTERVALS): Don't unmark the tree. - (mark_maybe_object, mark_maybe_pointer, Fgarbage_collect) - (mark_object, survives_gc_p, gc_sweep): Use new `gcmarkbit' fields. - - * lisp.h (struct interval, struct Lisp_Symbol, struct Lisp_Free) - (struct Lisp_Marker, struct Lisp_Intfwd, struct Lisp_Boolfwd) - (struct Lisp_Kboard_Objfwd, struct Lisp_Save_Value) - (struct Lisp_Buffer_Local_Value, struct Lisp_Overlay) - (struct Lisp_Objfwd, struct Lisp_Buffer_Objfwd): Add `gcmarkbit' field. - -2003-06-24 Dave Love - - * xterm.c (xim_initialize): Use XRegisterIMInstantiateCallback_arg6. - - * strftime.c: Test HAVE_SYS__MBSTATE_H, not __hpux. Merge changes - from gnulib. - -2003-06-21 Richard M. Stallman - - * fileio.c (Fwrite_region): Alternate messages - for append and partial write. - - * keyboard.c (read_key_sequence): When converting upcase fn key to - downcase, update fkey and keytran so `backspace' gets translated. - - * keyboard.c (read_avail_input): Don't signal SIGHUP in batch mode. - - * process.c (wait_reading_process_input): Don't signal SIGIO - in batch mode. - -2003-06-17 Kenichi Handa - - * Makefile.in (xselect.o): Don't depend on charset.h, coding.h, - composite.h. - - * xselect.c: Don't include charset.h, coding.h, composite.h. - (Qforeign_selection): New variable. - (syms_of_xselect): Intern and static it. - (selection_data_to_lisp_data): Return a unibyte string made from - data with `foreign-selection' text property. - -2003-06-15 Stefan Monnier - - * termhooks.h (EVENT_INIT): New macro. - - * keyboard.c (mark_kboards): Move from alloc.c. Mark kbd_buffer. - - * alloc.c (mark_kboards): Move to keyboard.c. - - * keyboard.c (record_asynch_buffer_change, read_avail_input): - * xterm.c (x_dispatch_event): - * xmenu.c (find_and_call_menu_selection): - * xdisp.c (handle_tool_bar_click): - * w32menu.c (menubar_selection_callback): - * sysdep.c (kbd_input_ast, read_input_waiting): - * msdos.c (dos_rawgetc): - * macterm.c (mac_check_for_quit_char): - * macmenu.c (menubar_selection_callback): - * gtkutil.c (xg_tool_bar_callback): Don't pass uninitialized - data to kbd_buffer_store_event. - -2003-06-15 Kim F. Storm - - * xdisp.c (x_fix_overlapping_area): Always use area relative X - to fix redisplay problem with tall characters (such as ,AC(B). - -2003-06-13 Kai Gro,A_(Bjohann - - * fileio.c (Fcopy_file): Doc fix: copies file modes, too. - -2003-06-12 Kenichi Handa - - * fileio.c (Fwrite_region): Save and restore restriction. - -2003-06-12 Dave Love - - * alloca.c (alloca): Declare arg as size_t. - - * sysdep.c: Remove redundant include of unistd.h, stdlib.h. - Use HAVE_DECL_SYS_SIGLIST, not SYS_SIGLIST_DECLARED. - -2003-06-11 Dave Love - - * search.c (shrink_regexp_cache): Use xrealloc. - (syms_of_search): Use xmalloc. - -2003-06-10 Kim F. Storm - - * xdisp.c (phys_cursor_in_rect_p): Fix 2003-05-24 change. - Adjust phys_cursor.x to be relative to window box, rather than - text area before checking -- to ensure cursor is redrawn when - exposing window. - Note: This also fixes a similar (older) bug if display margins - are present. - -2003-06-06 Kenichi Handa - - * coding.c (encoding_buffer_size): If coding->type is - coding_type_ccl, double magnification on CRLF encoding. - -2003-06-06 Jason Rumney - - * w32reg.c (SYSTEM_DEFAULT_RESOURCES): New constant. - (w32_get_string_resource): Try SYSTEM_DEFAULT_RESOURCES last. - - * xfaces.c (Finternal_face_x_get_resource): Do it on Windows and - Mac too. - -2003-06-05 Dave Love - - * strftime.c: Merge changes from gnulib. - - * mktime.c (__mktime_internal): Merge changes from gnulib - involving year 69 and dst2. - - Changes to merge with gnulib version and be consistent with the - autoconf test: - - * getloadavg.c: Set NLIST_STRUCT from HAVE_NLIST_H. - Use HAVE_STRUCT_NLIST_N_UN_N_NAME, not NLIST_NAME_UNION. - [HAVE_LOCALE_H]: Include locale.h. - (getloadavg) [HAVE_SETLOCALE]: Run sscanf in C locale. - -2003-06-05 Kim F. Storm - - * window.c (coordinates_in_window): Convert X and Y to window - relative coordinates inside mode-line and header-line parts. - Convert X and Y to margin area relative coordinates inside left - and right display margin parts. - -2003-06-05 Jason Rumney - - * w32fns.c (add_system_logical_colors_to_map): New function. - (Fx_open_connection): Use it. - -2003-06-04 Stefan Monnier - - * process.c (allocate_pty): Revert part of the previous patch. - (Faccept_process_output): Simplify. - -2003-06-04 Jason Rumney - - * termhooks.h (enum event_kind): Remove MOUSE_WHEEL_EVENT. - - * keyboard.c (Qmouse_wheel, mouse_wheel_syms) - (lispy_mouse_wheel_names): Remove. - (syms_of_keyboard): Remove Qmouse_wheel and mouse_wheel_syms. - Always define drag_and_drop_syms. - - * macterm.c (XTread_socket): Map mouse wheel events to Emacs - WHEEL_EVENT events. - -2003-06-03 Stefan Monnier - - * xdisp.c (update_tool_bar): Add missing UNGCPRO. - - * buffer.c (init_buffer_once): Make kill-buffer-hook permanent-local. - -2003-06-03 Jan Dj,Ad(Brv - - * gtkutil.c (make_menu_item): Make sure we don't crash on a NULL - menu item label. - -2003-06-03 Richard M. Stallman - - * window.c (Fwindow_edges): Doc fix. - (Fwindow_pixel_edges, Fwindow_inside_edges) - (Fwindow_inside_pixel_edges): New functions. - (syms_of_window): defsubr them. - - * window.h (WINDOW_LEFT_FRINGE_COLS, WINDOW_RIGHT_FRINGE_COLS) - (WINDOW_MODE_LINE_LINES, WINDOW_HEADER_LINE_LINES): New macros. - -2003-06-02 Stefan Monnier - - * dispnew.c (Fsit_for): Don't lie about the number of args. - -2003-06-02 Dave Love - - * callproc.c: Use HAVE_FCNTL_H, not USG5. - (syms_of_callproc) : Doc fix. - - * doc.c: Use HAVE_FCNTL_H, not USG5. - - * xfaces.c (font_rescale_ratio): Fix for K&R. - - * termcap.c: Use HAVE_FCNTL_H, not _POSIX_VERSION. - - * mem-limits.h: Use HAVE_SYS_RESOURCE_H, HAVE_SYS_VLIMIT_H. - - * lread.c [HAVE_FCNTL_H]: Include fcntl.h. - - * gtkutil.c: Include keyboard.h, charset.h, coding.h. - (xg_create_frame_widgets): Use ENCODE_UTF_8. - - * xterm.c (Qutf_8): Move to coding.c - - * xmenu.c (ENCODE_MENU_STRING): New. - (list_of_panes, list_of_items, digest_single_submenu, xmenu_show): - Use it. - - * coding.h (ENCODE_UTF_8): New. - (Qutf_8): Declare. - - * coding.c (Qutf_8): New. - (syms_of_coding): Intern it. - - * fns.c: Doc fixes. - -2003-06-02 Kenichi Handa - - * buffer.c (Fset_buffer_multibyte): Fix previous change. - -2003-06-01 Stefan Monnier - - * lread.c (openp): Make sure STR is a string. - -2003-06-01 David Ponce - - * termhooks.h (enum event_kind): Add new WHEEL_EVENT event. - Declare MOUSE_WHEEL_EVENT only if MAC_OSX defined. - - * keyboard.c (Qmouse_wheel): Declare only if MAC_OSX defined. - (mouse_wheel_syms, lispy_mouse_wheel_names): Likewise. - (discard_mouse_events): Discard WHEEL_EVENT events too. - (lispy_wheel_names, wheel_syms): New. - (syms_of_keyboard): Init and staticpro `wheel_syms'. Init and - staticpro `Qmouse_wheel' and `mouse_wheel_syms' only if MAC_OSX defined. - (make_lispy_event): Add WHEEL_EVENT handler. - - * w32term.c (construct_mouse_wheel): Construct WHEEL_EVENT. - (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs - WHEEL_EVENT events. - -2003-05-31 John Paul Wallington - - * Makefile.in (lisp, shortlisp): byte-run, float-sup, map-ynp, and - timer are in lisp/emacs-lisp. - -2003-05-31 Kenichi Handa - - * buffer.c (Fset_buffer_multibyte): Correctly recover a narrowed - region when a buffer is changed to unibyte. - - * charset.h (VALID_LEADING_CODE_P): New macro. - (UNIBYTE_STR_AS_MULTIBYTE_P): Check more rigidly. - - * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): If coding->flags - is nonzero, accept multibyte form of eight-bit-control chars. - (decode_composition_emacs_mule): Likewise. - (decode_coding_emacs_mule): Likewise. - (encode_coding_emacs_mule): If coding->flags is nonzero, produce - multibyte form of eight-bit-control chars. - - * fileio.c (Qauto_save_coding, auto_save_coding): New variables. - (Finsert_file_contents): If coding-system-for-read is bound to - Qauto_save_coding, use the coding system emacs-mule with special - setting for recovering a file. - (choose_write_coding_system): On auto saving, use the coding - system emacs-mule with special setting for auto saving. - (syms_of_fileio) : Intern and staticpro it. - -2003-05-30 Kenichi Handa - - * coding.c (ccl_coding_driver): Set ccl->eight_bit_control - properly before calling ccl_driver. - - * ccl.h (struct ccl_program) : Comment fixed. - - * ccl.c (CCL_WRITE_CHAR): Increment extra_bytes only when it is nonzero. - (ccl_driver): Initialize extra_bytes to ccl->eight_bit_control. - (setup_ccl_program): Initialize ccl->eight_bit_control to zero. - -2003-05-29 Glenn Morris - - * xfaces.c (realize_default_face): Do not abort if lface is - non-existent - reverts change from 2003-05-19. - -2003-05-29 Kenichi Handa - - * coding.c (decode_coding_iso2022): Pay attention to the byte - sequence of CTEXT extended segment, and retain those bytes as is. - -2003-05-28 Kenichi Handa - - * coding.c (ENCODE_UNSAFE_CHARACTER): Adjust for the name change - of CODING_REPLACEMENT_CHARACTER. - (decode_coding_iso2022): If CODING_FLAG_ISO_SAFE, set - CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in coding->mode, and - check this flag on encoding. - (encode_coding_sjis_big5): - Check CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag of coding->mode. - (Fset_terminal_coding_system_internal): - Set CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in terminal_coding.mode - instead of setting CODING_FLAG_ISO_SAFE flag in terminal_coding.flags. - - * coding.h (CODING_REPLACEMENT_CHARACTER): Rename from - CODING_INHIBIT_CHARACTER_SUBSTITUTION. - (CODING_MODE_INHIBIT_UNENCODABLE_CHAR): New macro. - -2003-05-28 Richard M. Stallman - - * print.c (syms_of_print) : Doc fix. - - * eval.c (unbind_to): Move init of this_binding to separate statement. - -2003-05-28 Kim F. Storm - - * xdisp.c (expose_window): Fix error in calculation of - window relative coordinates of area to redisplay. - -2003-05-27 Jason Rumney - - * w32term.c (GET_WHEEL_DELTA_WPARAM): New macro. - -2003-05-27 David Ponce - - Handle W32 mouse wheel events as mouse click events, like in X. - - * keyboard.c (make_lispy_event) [WINDOWSNT]: Don't handle - MOUSE_WHEEL_EVENT anymore. - - * w32term.c (construct_mouse_wheel): Result is a MOUSE_CLICK_EVENT. - Scrolling down/up the mouse wheel is respectively mapped to mouse - button 4 and 5. - (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs - MOUSE_CLICK_EVENT events. Forward w32 MSH_MOUSEWHEEL events as - WM_MOUSEWHEEL events. - -2003-05-27 Andreas Schwab - - * buffer.c (syms_of_buffer) : Doc fix. - - * xdisp.c (try_window_id): Avoid aborting if PT is inside a - partially visible line. - - * alloc.c (Fgarbage_collect): Fix last change. - -2003-05-26 John Paul Wallington - - * xfns.c (Fx_create_frame): Don't call Qface_set_after_frame_default. - -2003-05-25 Stefan Monnier - - * window.c (Fset_window_buffer): Add type of `keep_margins'. - (Fset_window_fringes, Fset_window_scroll_bars): Declare before use. - - * window.h (window_box_text_cols): Declare. - - * xdisp.c (window_text_bottom_y, draw_row_fringe_bitmaps) - (x_draw_vertical_border): Remove unused var `f'. - - * xfaces.c (build_scalable_font_name): Remove `unused var - pixel_size' warning. - - * xfns.c (png_load): Remove `unused vars intent, image_gamma' warning. - - * unexelf.c (unexec): Remove `unused var n' warning. - - * strftime.c (my_strftime_localtime_r): Remove `defined but - unused' warning. - - * process.c (allocate_pty): Remove `unused var stb' and - `cp might be used uninitialized' warnings. - - * dispnew.c (mode_line_string): Remove unused var `f'. - - * coding.c (find_safe_codings): Remove unused var `i'. - - * bytecode.c (Fbyte_code): Remove `unused val' warning. - - * buffer.c (Fkill_buffer): Remove unused var `list'. - - * alloc.c (Fgarbage_collect): Remove `unused var tail' warning. - -2003-05-25 Jan Dj,Ad(Brv - - * frame.c (make_frame): Condition want_fullscreen with - HAVE_WINDOW_SYSTEM. - -2003-05-25 Juanma Barranquero - - * window.c (Fset_window_scroll_bars): Fix typo in argument name. - (Fwindow_scroll_bars): Fix typo in docstring. - -2003-05-24 Kim F. Storm - - The following changes serve several purposes: - - 1) Swap the position of fringes and display margins in windows, i.e. - the fringes are now displayed between the margins and the text area - (by default). - - 2) Allow fringe and scroll bar parameters to be set per-buffer and - per-window (like display margins). Such settings are now stored - in window configurations, preserved when frames are resized, and - copied when windows are split vertically or horizontally. - Several bugs related to display margins have been fixed. - - 3) Consistently use FRAME_FONT and FRAME_FONTSET macros. - - 4) Use FRAME_COLUMN_WIDTH (f) consistently throughout the code - rather than FRAME_WIDTH (FRAME_FONT (f)). - - 5) Introduce a consistent naming of variables, members and macros - depending on whether their value is measured in pixels or in - canonical columns/lines. Pixel dimensions are named *_width and - *_height, while canonical columns/lines are named *_cols and - *_lines. Pixel positions are named *_x and *_y, while column/line - positions are named *_col and *_line. - - 6) Consolidate more of the X, W32, and MAC gui code by moving - common data into struct frame, and generalize it for the non-gui - case by using suitable defaults. - - 7) Cleanup and consolidate the macros controlling frame and window - layout into frame.h and window.h, and generalize the use of the - various window_box_* functions (enhanced to handle the new fringe - position and the per-window fringe and scroll bar settings). - - * frame.h (struct frame): Rename members height to text_lines, - width to text_cols, window_height to total_lines, window_width to - total_cols, new_height to new_text_lines, new_width to - new_text_cols. All uses changed. - (struct frame): New members which consolidate common members of - x_output, w32_output, and mac_output structures: left_pos, - top_pos, pixel_height, pixel_width, x_pixels_diff, y_pixels_diff, - win_gravity, size_hint_flags, border_width, internal_border_width, - line_height, fringe_cols, left_fringe_width, right_fringe_width, - want_fullscreen. All uses changed. - (struct frame): New member column_width contaning the canonical - column width, analogue to line_height. All uses changed. - (struct frame): Rename members scroll_bar_pixel_width to - config_scroll_bar_width, and scroll_bar_cols to - config_scroll_bar_cols. All uses changed. - (struct frame): New member scroll_bar_actual_width which - consolidates and renames the vertical_scroll_bar_extra member of - x_output, w32_output, and mac_output structures. All uses changed. - (FRAME_PIXEL_HEIGHT): Rename from PIXEL_HEIGHT and moved - from x/w32/macterm.h files. All uses changed. Also change code - which referred to f->output_data...->pixel_height. - (FRAME_PIXEL_WIDTH): Rename from PIXEL_WIDTH and moved - from x/w32/macterm.h files. All uses changed. Also change code - which referred to f->output_data...->pixel_width. - (FRAME_LINES): Rename from FRAME_HEIGHT. All uses changed. - Also change code which referred to f->height. - (FRAME_COLS): Rename from FRAME_WIDTH. All uses changed. - Also change code which referred to f->width. - (FRAME_NEW_HEIGHT, FRAME_NEW_WIDTH): Remove macros; change uses - to update new_text_lines and new_text_cols members directly. - (FRAME_CONFIG_SCROLL_BAR_WIDTH): Rename from - FRAME_SCROLL_BAR_PIXEL_WIDTH. All uses changed. - (FRAME_CONFIG_SCROLL_BAR_COLS): Rename from - FRAME_SCROLL_BAR_COLS. All uses changed. - (FRAME_LEFT_SCROLL_BAR_COLS, FRAME_RIGHT_SCROLL_BAR_COLS): - Rename from FRAME_LEFT_SCROLL_BAR_WIDTH and - FRAME_RIGHT_SCROLL_BAR_WIDTH, resp. All uses changed. - (FRAME_SCROLL_BAR_AREA_WIDTH, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH) - (FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH): New macros. - (FRAME_TOTAL_COLS): Rename from FRAME_WINDOW_WIDTH. - (SET_FRAME_COLS): Rename from SET_FRAME_WIDTH. - (FRAME_TOTAL_COLS_ARG): Rename from FRAME_WINDOW_WIDTH_ARG. - (WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Remove unused macro. - (WINDOW_VERTICAL_SCROLL_BAR_HEIGHT): Remove unused macro. - (FRAME_LINE_HEIGHT): Rename from CANON_Y_UNIT. - Unconditionally return line_height member (it now has proper value - also for non-window frames). - (FRAME_COLUMN_WIDTH): Rename from CANON_X_UNIT. Unconditionally - return new column_width member (rather than the default font width). - (FRAME_FRINGE_COLS, FRAME_LEFT_FRINGE_WIDTH) - (FRAME_RIGHT_FRINGE_WIDTH): Rename from FRAME_X_... and moved - from x/w32/macterm.h files. Unconditionally return corresponding - member of frame structure (they now have proper values also for - non-window frames). - (FRAME_TOTAL_FRINGE_WIDTH): Rename from FRAME_FRINGE_WIDTH. - Calculate return value from left and right widths. - (FRAME_INTERNAL_BORDER_WIDTH): Unconditionally return - internal_border_width member (has proper value for non-window frame). - (FRAME_PIXEL_X_FROM_CANON_X): Rename from PIXEL_X_FROM_CANON_X. - (FRAME_PIXEL_Y_FROM_CANON_Y): Rename from PIXEL_Y_FROM_CANON_Y. - (FRAME_CANON_X_FROM_PIXEL_X): Rename from CANON_X_FROM_PIXEL_X. - (FRAME_CANON_Y_FROM_PIXEL_Y): Rename from CANON_Y_FROM_PIXEL_Y. - (FRAME_LINE_TO_PIXEL_Y): Rename from CHAR_TO_PIXEL_ROW, - consolidated from xterm.h, macterm.h, and w32term.h. - (FRAME_COL_TO_PIXEL_X): Rename from CHAR_TO_PIXEL_COL, - consolidated from xterm.h, macterm.h, and w32term.h. - (FRAME_TEXT_COLS_TO_PIXEL_WIDTH): Rename from - CHAR_TO_PIXEL_WIDTH consolidated from x/mac/w32term.h. - (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Rename from - CHAR_TO_PIXEL_HEIGHT consolidated from x/mac/w32term.h. - (FRAME_PIXEL_Y_TO_LINE): Rename from PIXEL_TO_CHAR_ROW - consolidated from x/mac/w32term.h. - (FRAME_PIXEL_X_TO_COL): Rename from PIXEL_TO_CHAR_COL - consolidated from x/mac/w32term.h. - (FRAME_PIXEL_WIDTH_TO_TEXT_COLS): Rename from - PIXEL_TO_CHAR_WIDTH consolidated from x/mac/w32term.h. - (FRAME_PIXEL_HEIGHT_TO_TEXT_LINES): Rename from - PIXEL_TO_CHAR_HEIGHT consolidated from x/mac/w32term.h. - - * window.h (struct window): Rename members left to left_col, - top to top_line, height to total_lines, width to total_cols, - left_margin_width to left_margin_cols, right_margin_width to - right_margin_cols, orig_height to orig_total_lines, orig_top to - orig_top_line. All uses changed. - (struct window): New members left_fringe_width, right_fringe_width, - fringes_outside_margins, scroll_bar_width, vertical_scroll_bar_type. - (WINDOW_XFRAME, WINDOW_FRAME_COLUMN_WIDTH, WINDOW_FRAME_LINE_HEIGHT): - New macros primarily used to simplify other macros. - (WINDOW_TOTAL_COLS): New macro. Change relevant code that - referred to XINT (w->width). - (WINDOW_TOTAL_LINES): New macro. Change relevant code that - referred to XINT (w->height). - (WINDOW_TOTAL_WIDTH): New macro. Change relevant code that - referred to XINT (w->width) * canon_x_unit. - (WINDOW_TOTAL_HEIGHT): New macro. Change relevant code that - referred to XINT (w->height) * canon_y_unit. - (WINDOW_LEFT_EDGE_COL): New macro. Change relevant code that - referred to XINT (w->left). - (WINDOW_RIGHT_EDGE_COL): Rename from WINDOW_RIGHT_EDGE. Change - all uses and code that referred to XINT (w->left) + XINT (w->width). - (WINDOW_TOP_EDGE_LINE): New macro. Change relevant code that - referred to XINT (w->top). - (WINDOW_BOTTOM_EDGE_LINE): New macro. Change relevant code that - referred to XINT (w->top) + XINT (w->height). - (WINDOW_LEFT_EDGE_X): New macro. Change relevant code that - referred to XINT (w->left) * canon_x_unit. - (WINDOW_RIGHT_EDGE_X): New macro. Change relevant code that - referred to (XINT (w->left) + XINT (w->width)) * canon_x_unit. - (WINDOW_TOP_EDGE_Y): New macro. Change relevant code that - referred to XINT (w->top) * canon_y_unit. - (WINDOW_BOTTOM_EDGE_Y): New macro. Change relevant code that - referred to (XINT (w->top) + XINT (w->height)) * canon_y_unit. - (WINDOW_LEFTMOST_P): New macro. - (WINDOW_BOX_LEFT_EDGE_COL): Rename from WINDOW_LEFT_MARGIN. - All uses changed. - (WINDOW_BOX_RIGHT_EDGE_COL): Rename from WINDOW_RIGHT_MARGIN. - All uses changed. - (WINDOW_BOX_LEFT_EDGE_X): Rename from - WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, moved from dispextern.h. - Do not exclude left fringe width. - (WINDOW_BOX_RIGHT_EDGE_X): Rename from - WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X, moved from dispextern.h. - Do not exclude fringe widths. - (WINDOW_LEFT_FRINGE_WIDTH, WINDOW_RIGHT_FRINGE_WIDTH) - (WINDOW_FRINGE_COLS, WINDOW_TOTAL_FRINGE_WIDTH): New macros. - Change relevant code that referred to FRAME_LEFT_FRINGE_WIDTH, - FRAME_RIGHT_FRINGE_WIDTH, FRAME_FRINGE_COLS, and - FRAME_TOTAL_FRINGE_WIDTH to allow per-window fringe settings. - (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS): New macro. - (WINDOW_VERTICAL_SCROLL_BAR_TYPE, WINDOW_HAS_VERTICAL_SCROLL_BAR) - (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT) - (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT) - (WINDOW_CONFIG_SCROLL_BAR_WIDTH, WINDOW_CONFIG_SCROLL_BAR_COLS): - New macros. Change code which referenced corresponding - FRAME_VERTICAL_SCROLL_BAR_TYPE, FRAME_HAS_VERTICAL_SCROLL_BARS, - FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT, - FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT, - FRAME_SCROLL_BAR_PIXEL_WIDTH, and FRAME_SCROLL_BAR_COLS macros to - allow per-window scroll-bar settings. - (WINDOW_LEFT_SCROLL_BAR_COLS, WINDOW_RIGHT_SCROLL_BAR_COLS): New macros. - (WINDOW_LEFT_SCROLL_BAR_AREA_WIDTH): New macro. Change code that - referred to FRAME_LEFT_SCROLL_BAR_WIDTH. - (WINDOW_RIGHT_SCROLL_BAR_AREA_WIDTH): New macro. Change code - that referred to FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT and - FRAME_SCROLL_BAR_WIDTH. - (WINDOW_SCROLL_BAR_COLS, WINDOW_SCROLL_BAR_AREA_WIDTH) - (WINDOW_SCROLL_BAR_AREA_X): New macros. - (WINDOW_HEADER_LINE_HEIGHT): Rename from - WINDOW_DISPLAY_HEADER_LINE_HEIGHT, moved from dispextern.h. - (WINDOW_BOX_HEIGHT_NO_MODE_LINE): Rename from - WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, moved from dispextern.h. - (WINDOW_BOX_TEXT_HEIGHT): Rename from - WINDOW_DISPLAY_PIXEL_WIDTH, moved from dispextern.h. - (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y) - (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) - (WINDOW_TEXT_TO_FRAME_PIXEL_X): Move here from dispextern.h. - (WINDOW_LEFT_MARGIN_WIDTH): Rename from - WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH, moved from dispextern.h. - (WINDOW_RIGHT_MARGIN_WIDTH): Rename from - WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, moved from dispextern.h. - (window_from_coordinates): Update prototype. - (Fset_window_buffer): Update EXFUN. - (set_window_buffer): Update prototype. - - * dispextern.h (struct glyph_matrix): Rename members window_left_x - to window_left_col, window_top_y to window_top_line. All uses - changed. - (FRAME_INTERNAL_BORDER_WIDTH_SAFE): Remove macro; can now safely - use FRAME_INTERNAL_BORDER_WIDTH macro instead as - internal_border_width is now set to 0 for non-window frames. - (WINDOW_DISPLAY_PIXEL_WIDTH, WINDOW_DISPLAY_PIXEL_HEIGHT) - (WINDOW_DISPLAY_MODE_LINE_HEIGHT, WINDOW_DISPLAY_HEADER_LINE_HEIGHT) - (WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, WINDOW_DISPLAY_TEXT_HEIGHT) - (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X) - (WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y, WINDOW_DISPLAY_BOTTOM_EDGE_PIXEL_Y) - (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y) - (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) - (WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH) - (WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, WINDOW_WANTS_MODELINE_P): - Move to window.h and renamed [see window.h changes]. - (WINDOW_AREA_TO_FRAME_PIXEL_X, WINDOW_AREA_PIXEL_WIDTH) - (WINDOW_DISPLAY_TEXT_AREA_PIXEL_WIDTH): Remove macros. - (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): - Use WINDOW_TOTAL_LINES. - (frame_update_line_height): Remove prototype. - - * buffer.h (struct buffer): Rename members measured in columns: - left_margin_width to left_margin_cols, right_margin_width to - right_margin_cols. All uses changed. - New members left_fringe_width, right_fringe_width, - fringes_outside_margins for per-buffer fringe settings. - New members scroll_bar_width and vertical_scroll_bar_type for - per-buffer scroll bar settings. - - * buffer.c (init_buffer_once): Set buffer_defaults and - buffer_local_flags for new buffer-local variables - left_fringe_width, right_fringe_width, fringes_outside_margins, - scroll_bar_width, and vertical_scroll_bar_type. - (syms_of_buffer): Defvar_per_buffer them, and defvar_lisp_nopro - default-* variables for them. - - * dispnew.c: Make (many) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - (mode_line_string): No need to adjust width for mode lines, as it - is already adjusted by the caller. - (marginal_area_string): Handle fringes inside/outside margins. - - * frame.c: Make (many) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - (make_frame): Initialize left_fringe_width, right_fringe_width, - fringe_cols, scroll_bar_actual_width, border_width, - internal_border_width, column_width, line_height, x_pixels_diff, - y_pixels_diff, want_fullscreen, size_hint_flags, and win_gravity - members with values suitable for a non-window frames. - - * gtkutil.c: Make (many) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - - * indent.c: Make (few) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - - * keyboard.c: Make (many) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - (make_lispy_event): Use window positions returned from - window_from_coordinates when constructing the lisp event for - MOUSE_CLICK_EVENT and DRAG_N_DROP_EVENT, rather than calculating - (incorrect) values locally. - (make_lispy_movement): Use window positions returned from - window_from_coordinates when constructing the lisp event, rather - than calculating (incorrect) values locally. - - * scroll.c: Make (some) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - - * sunfns.c (Fsun_menu_internal): Adapt to per-window fringes and - scroll-bars. - - * sysdep.c: Make (few) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - - * term.c: Make (some) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - - * widget.c: Make (few) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - - * window.c: Make (many) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - (make_window): Initialize new members - left_margin_cols, right_margin_cols, left_fringe_width, - right_fringe_width, fringes_outside_margins, scroll_bar_width, - and vertical_scroll_bar_type. - (coordinates_in_window): Adapt to new fringe/margin positions - and per-window fringes and scroll-bars. - Fix bug related to incorrectly adjusting coordinates by - frame's internal_border_width (the effect normally negible since - the internal_border_width is typically 0 or 1 pixel, but very - noticeable for an internal_border_width of e.g. 25 pixels). - Upon successful return (other than ON_NOTHING), the coordinates - are now always properly converted to window relative for the - given display element. - (window_from_coordinates): Add new parameters wx and wy to - return the window relative x and y position in the returned - window and part. A null arg means, don't return the position. - All callers changed. - (adjust_window_margins): New function which may reduce the width - of the display margins if a window's text area is too small after - resizing or splitting windows. - (size_window): Fix bug that did not account for display margin - widths when checking the minimum width of a window; use - adjust_window_margins. - (set_window_buffer): Call Fset_window_fringes and - Fset_window_scroll_bars to setup per-window elements. - Add new arg KEEP_MARGINS_P. Non-nil means to keep window's - existing display margin, fringe widths, and scroll bar settings - (e.g. after splitting a window or resizing the frame). - All callers changed. - (Fset_window_buffer): New arg KEEP_MARGINS. All callers changed. - (Fsplit_window): Duplicate original window's display margin, - fringe, and scroll-bar settings; then call Fset_window_buffer with - KEEP_MARGINS non-nil. This fixes a bug which caused a split - window to only preserve the display margins in one of the windows. - When splitting horizontally, call adjust_window_margins on both - windows to ensure that the text area of the new windows is non too - narrow. This fixes a bug which could cause Emacs to trap if the - width of the split window was less than the width of the display - margins. - (window_box_text_cols): Rename from window_internal_width. - All uses changed. Adapt to per-window fringes and scroll bars. - Fix bug that caused vertical separator to be subtracted also on - window frames. Fix another bug that did not reduce the returned - value by the columns used for display margins. - (window_scroll_line_based): Fix bug related to scrolling too much - when display margins are present (implicitly fixed by the fix to - window_box_text_cols). - (scroll_left, scroll_right): Fix bug related to scrolling too far - by default when display margins are present (implicitly fixed by - the fix to window_box_text_cols). - (struct saved_window): Rename members left to left_col, top to - top_line, width to total_cols, height to total_lines, orig_top to - orig_top_line, orig_height to orig_total_lines. All uses changed. - New members left_margin_cols, right_margin_cols, - left_fringe_width, right_fringe_width, fringes_outside_margins, - scroll_bar_width, and vertical_scroll_bar_type for saving - per-window display elements. - (Fset_window_configuration): Restore display margins, fringes, - and scroll bar settings. This fixes a bug which caused display - margins to be discarded when saving and restoring a window - configuration. - (save_window_save): Save display margins, fringes, and scroll bar - settings. This fixes a bug which caused display margins to be - discarded when saving and restoring a window configuration. - (Fset_window_margins): Do nothing if display margins are not - really changed. Otherwise, call adjust_window_margins to ensure - the text area doesn't get too narrow. This fixes a bug which - could cause Emacs to trap if setting display margins wider than - the width of the window. - (Fset_window_fringes): New defun to allow user to specifically set - this window's fringe widths and position vs. display margins. - (Fwindow_fringes): New defun to return window's actual fringe settings. - (Fset_window_scroll_bars): New defun to allow user to specifically - set this window's scroll bar width and position. - (Fwindow_scroll_bars): New defun to return window's actual scroll - bar settings. - (compare_window_configurations): Also compare display margins, - fringes, and scroll bar settings. - (syms_of_window): Defsubr new defuns for fringe and scroll bars. - - * xdisp.c: Make (many) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - (window_box_width): Adapt to per-window fringes and scroll bars, - and new fringe vs. display margin position. Note that returned - value is no longer guaranteed to be a whole multiple of the frame - column width, since per-window fringes may now be any width. - (window_box_left_offset): New function like window_box_left, but - value is relative to left border of window (rather than frame). - (window_box_right_offset): New function like window_box_right, - but value is relative to left border of window. - (window_box_left): Adapt to per-window fringes and scroll bars, - and new fringe vs. display margin position. Simplify by using - WINDOW_LEFT_EDGE_X and window_box_left_offset. - (window_box): Allow null args for unnecessary return values; - change/simplify relevant callers. - (x_y_to_hpos_vpos): Adapt to per-window fringes and scroll bars, - and new fringe vs. display margin position. - Use window_box_left_offset and window_box_right_offset - (get_glyph_string_clip_rect): Adapt to per-window fringes and - scroll bars, and new fringe vs. display margin position. - Use WINDOW_LEFT_EDGE_X and WINDOW_TOTAL_WIDTH. - (draw_fringe_bitmap): Rework to handle per-window fringes and new - fringe vs. display margin position. - (hscroll_window_tree): Use window_box_width instead of window_box. - (redisplay_window): Adapt to per-window scroll bars. - (draw_glyphs): Rework to handle per-window fringes and scroll - bars, and new fringe vs. display margin position. - Use WINDOW_LEFT_EDGE_X, WINDOW_TOTAL_WIDTH, and window_box_left. - (x_clear_end_of_line): Adapt to per-window fringes and scroll - bars, and new fringe vs. display margin position. Fix bug which - increased total width of full_width rows by width of scroll bars - although window's total width already includes that. - (x_fix_overlapping_area): Simplify using window_box_left_offset. - (expose_area): Simplify using window_box_left_offset. - (x_draw_vertical_border): Handle per-window scroll bar settings, - mixing windows with left, right and no scroll bars. - - * xfaces.c [WINDOWSNT]: Move redefinition of FONT_WIDTH macro to - where it's used in x_list_fonts (for clarity). - (frame_update_line_height): Remove unused function; functionality - is now done directly when setting the default font in x_set_font. - - * xfns.c: Make (many) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - - * xmenu.c: Make (some) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - - * xterm.h (struct x_output): Move members left_pos, top_pos, - border_width, pixel_height, pixel_width, line_height, - internal_border_width, vertical_scroll_bar_extra, - left_fringe_width, right_fringe_width, fringe_cols, - fringes_extra, win_gravity, size_hint_flags, want_fullscreen, - x_pixels_diff, and y_pixels_diff to struct frame (frame.h). - (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. - (FRAME_DEFAULT_FONT_WIDTH): Remove macro. - (PIXEL_WIDTH, PIXEL_HEIGHT) - (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) - (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to - frame.h and renamed [see frame.h changes]. - (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) - (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) - (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h - and renamed [see frame.h changes]. - - * xterm.c: Make (several) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. - (scroll_run): Adapt to new fringe position. - (glyph_rect): Use window coordinates returned from - window_from_coordinates rather than frame_to_window_pixel_xy. - (XTset_vertical_scroll_bar): Adapt to per-window fringes and - scroll-bars. - (handle_one_xevent): Simplify a USE_GTK conditional. - (x_clip_to_row): Remove superfluous whole_line_p arg and code - (fringes are now inside margins, i.e. always in the clipping area). - All callers changed. - (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT - directly, then call compute_fringe_widths. Don't call - frame_update_line_height. - - * w32term.h (struct w32_output): Move members left_pos, top_pos, - border_width, pixel_height, pixel_width, line_height, - internal_border_width, vertical_scroll_bar_extra, - left_fringe_width, right_fringe_width, fringe_cols, - fringes_extra, win_gravity, size_hint_flags, want_fullscreen, - x_pixels_diff, and y_pixels_diff to struct frame (frame.h). - (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. - (FRAME_DEFAULT_FONT_WIDTH): Remove macro. - (PIXEL_WIDTH, PIXEL_HEIGHT) - (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) - (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to - frame.h and renamed [see frame.h changes]. - (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) - (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) - (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h - and renamed [see frame.h changes]. - - * w32term.c: Make (several) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. - (glyph_rect): Use window coordinates returned from - window_from_coordinates rather than frame_to_window_pixel_xy. - (XTset_vertical_scroll_bar): Adapt to per-window fringes and - scroll-bars. - (w32_clip_to_row): Remove superfluous whole_line_p arg and code - (fringes are now inside margins, i.e. always in the clipping area). - All callers changed. - (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT - directly, then call compute_fringe_widths. Don't call - frame_update_line_height. - - * w32console.c: Make (few) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - - * w32fns.c: Make (many) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - - * w32menu.c: Make (few) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - - * macterm.h (struct mac_output): Move members left_pos, top_pos, - border_width, pixel_height, pixel_width, line_height, - internal_border_width, vertical_scroll_bar_extra, - left_fringe_width, right_fringe_width, fringe_cols, - fringes_extra, win_gravity, size_hint_flags, want_fullscreen, - x_pixels_diff, y_pixels_diff to struct frame (frame.h). - (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. - (FRAME_DEFAULT_FONT_WIDTH): Remove macro. - (PIXEL_WIDTH, PIXEL_HEIGHT) - (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) - (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to - frame.h and renamed [see frame.h changes]. - (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) - (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) - (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h - and renamed [see frame.h changes]. - - * macterm.c: Make (several) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. - (glyph_rect): Use window coordinates returned from - window_from_coordinates rather than frame_to_window_pixel_xy. - (XTset_vertical_scroll_bar): Adapt to per-window fringes and - scroll-bars. - (x_clip_to_row): Remove superfluous whole_line_p arg and code - (fringes are now inside margins, i.e. always in the clipping area). - All callers changed. - (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT - directly, then call compute_fringe_widths. Don't call - frame_update_line_height. - - * macfns.c: Make (several) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - (x_real_positions): Set f->x_pixels_diff and f->y_pixels_diff to 0. - - * macmenu.c: Make (few) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - - * msdos.h (struct x_output): Remove members left_pos, top_pos, - and line_height, and use corresponding new members in struct - frame. All uses changed. - (FRAME_LINE_HEIGHT, FRAME_INTERNAL_BORDER_WIDTH): Remove macros; - superseeded by corresponding macros in frame.h. - - * msdos.c: Make (several) trivial substitutions for renamed and - new macros in dispextern.h, frame.h and window.h. - (IT_note_mouse_highlight): Use updated window coordinates returned - by window_from_coordinates, rather than adjusting them locally. - (internal_terminal_init): No need to initialize line_height here; - it now defaults to 1. - -2003-05-24 Stefan Monnier - - * keyboard.c (read_key_sequence): Adjust fkey and keytran when - dropping `down' events. - -2003-05-24 Andreas Schwab - - * coding.c (find_safe_codings): Fix last change. - -2003-05-24 Istvan Marko (tiny change) - - * xfns.c (x_window): Fix typo from 2003-05-21 change. - -2003-05-23 Stefan Monnier - - * xdisp.c (display_mode_element): Increase max depth. - Simplify the error handling code. Use a different error string - for the case where we hit the depth limit. - - * lisp.h (Vfundamental_mode_abbrev_table): Don't declare. - - * buffer.c (reset_buffer_local_variables): Remove redundant setting. - -2003-05-21 Stefan Monnier - - * intervals.c (get_local_map): Don't get char-property of previous - point any more: get_pos_property already does it and better. - -2003-05-21 Dave Love - - [Merged from unicode branch.] - - * xfns.c (x_window, x_window): Use use_xim. - - * xterm.c (use_xim): Initialize. - (xim_open_dpy, xim_initialize, xim_close_dpy): Use use_xim. - (x_term_init): Maybe set use_xim. - - * xterm.h (use_xim) [HAVE_X_I18N]: Declare. - -2003-05-21 Jason Rumney - - * unexw32.c (_start): Remove _fmode initialization. - - * emacs.c (main) [WINDOWSNT]: Move it here. - -2003-05-20 Dave Love - - * s/gnu-linux.h (MAIL_USE_FLOCK): Make it conditional. - -2003-05-19 Richard M. Stallman - - * xfaces.c (Finternal_set_lisp_face_attribute): Handle Qunspecified - as value for QCfont attribute. - (realize_default_face): lface should already exist; crash if not. - Specify 0 for FORCE_P when calling set_lface_from_font_name. - - * frame.c (Fignore_event): Doc fix. - -2003-05-19 Kenichi Handa - - * coding.c (decode_coding_string): Handle post-read-conversion - even if the coding doesn't require decoding. - -2003-05-18 Richard M. Stallman - - * callproc.c (Fcall_process_region): Doc fix. - -2003-05-17 Stefan Monnier - - * lread.c (Fload): Print a message if package is obsolete. - - * window.c (Fselect_window): Add optional `norecord' arg. - (select_window_1): Fold into Fselect_window. - (select_window_norecord): New function. - (temp_output_buffer_show): Use it. Preserve current buffer. - - * window.h (Fselect_window): Update declaration. - - * window.c (delete_window, Fother_window, Fset_window_configuration): - * minibuf.c (read_minibuf): - * macterm.c (x_new_focus_frame): - * frame.c (do_switch_frame, Fset_frame_selected_window, Fdelete_frame): - * callint.c (Fcall_interactively): - * xterm.c (x_new_focus_frame): Pass nil as new arg to Fselect_window. - - * buffer.c (Fpop_to_buffer): Pass norecord to Fselect_window. - -2003-05-17 David Kastrup - - * process.c (read_process_output): Back out change from 2003-03-09. - -2003-05-17 Stefan Monnier - - * editfns.c (get_pos_property): Don't assume that `object' = nil. - - * textprop.c (text_property_stickiness): New arg `buffer'. - - * intervals.h (text_property_stickiness): New arg `buffer'. - (get_pos_property): Declare. - - * intervals.c (get_local_map): Use get_pos_property, to obey - stickiness and empty overlays. - (create_root_interval, graft_intervals_into_buffer): Use BEG. - (merge_properties, intervals_equal, merge_properties_sticky): - Use XCAR, XCDR. - (adjust_for_invis_intang): Pass new arg to text_property_stickiness. - -2003-05-17 Richard M. Stallman - - * minibuf.c (read_minibuf): If buffer is empty, record the default - in the history. - (Fminibuffer_complete_word): When deleting the overlap, take account - of its real position. - - * fns.c (map_char_table): Fix previous change. - - * syntax.c (find_defun_start): - When open_paren_in_column_0_is_defun_start, - return beginning of buffer. - - * lisp.h (map_char_table): Declare added arg. - - * fns.c (map_char_table): New arg TABLE gets the master table. - All calls changed. - Process default and inheritance, resorting to Faref if necessary. - - * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap) - (Faccessible_keymaps): Pass new arg to map_char_table. - - * fontset.c (Ffontset_info): Pass new arg to map_char_table. - - * casetab.c (set_case_table): Pass new arg to map_char_table. - - * data.c (let_shadows_buffer_binding_p): Make target of p volatile. - - * lisp.h (specbinding_func): New typedef. - (struct specbinding): Use specbinding_func, to put the `volatile' - in the right place. - - * alloc.c (Fgarbage_collect): Cast pointers into specpdl - to avoid GCC warning. - -2003-05-16 Ralph Schleicher - - * fileio.c (Fdelete_file): Handle symlinks pointing to directories. - -2003-05-15 Stefan Monnier - - * keyboard.c (apply_modifiers): Don't fill the other cache. - -2003-05-14 Stefan Monnier - - * .gdbinit-union: New file, for USE_LISP_UNION_TYPE users. - - * window.h (Qwindowp, Qwindow_live_p, Vwindow_list) - (Fwindow_end, Fselected_window, Fdelete_window, Fwindow_buffer) - (Fget_buffer_window, Fsave_window_excursion, Fsplit_window) - (Fset_window_configuration, Fcurrent_window_configuration) - (compare_window_configurations, Fcoordinates_in_window_p, Fwindow_at) - (Fpos_visible_in_window_p, mark_window_cursors_off) - (window_internal_height, window_internal_width, Frecenter) - (Fscroll_other_window, Fset_window_start, temp_output_buffer_show) - (replace_buffer_in_all_windows, init_window_once, init_window) - (syms_of_window, keys_of_window): Move from lisp.h. - * lisp.h: Move window.c declarations to window.h. - - * bytecode.c: Include window.h. - * emacs.c: Include window.h. - - * keyboard.c (make_lispy_event): Apply modifiers to multibyte-char key. - (keyremap): Add `parent' field. - (keyremap_step): Use it. Remove `parent' argument. - (read_key_sequence): Setup and use the new `parent' field. - -2003-05-11 Stefan Monnier - - * keyboard.c (adjust_point_for_property): Ensure termination. - -2003-05-10 Stefan Monnier - - * keyboard.c (follow_key): Remove dead variable `did_meta'. - (access_keymap_keyremap, keyremap_step): New funs, extracted from the - duplicated handling of function-key-map and key-translation-map - in read_key_sequence. - (read_key_sequence): Use them. - - * keyboard.c (adjust_point_for_property): Try harder to move point - to the non-sticky end of an invisible property. - - * xdisp.c (single_display_prop_intangible_p): Make `space' display - property intangible as well. - -2003-05-10 Andreas Schwab - - * xmenu.c (single_menu_item): Change last parameter to void* to - avoid warning. - -2003-05-09 Richard M. Stallman - - * print.c (Fprin1_to_string): Instead of gcpro, set abort_on_gc. - Bind Qinhibit_modification_hooks to t so there will be no GC. - Rename local `tem' to `save_deactivate_mark'. - - * eval.c (specpdl_ptr): Declare volatile. - (unbind_to): Copy the whole binding and decrement specpdl_ptr - before doing the work of unbinding it. - - * lisp.h (struct specbinding): Declare elements volatile. - (specpdl_ptr): Declare volatile. - - * Makefile.in (alloca.o): Specify -DDO_BLOCK_INPUT in compiling. - - * alloca.c: Test DO_BLOCK_INPUT rather than `emacs' - for use of BLOCK_INPUT and inclusion of lisp.h and blockinput.h. - -2003-05-08 Dave Love - - * coding.c (Vlast_coding_system_used): Doc fix. - -2003-05-07 Jason Rumney - - * fileio.c (Ffile_symlink_p): Let handlers handle symlinks even - when system does not support them. - -2003-05-05 Stefan Monnier - - * fileio.c (Qwrite_region_annotate_functions): New var. - (build_annotations): Use it to process the global part of the hook. - (syms_of_fileio): Init and staticpro it. - - * keyboard.c (safe_run_hooks_error): Display a message instead of - silently ignoring the error. - -2003-05-03 Stefan Monnier - - * keyboard.c (input_available_signal): Mark static. - (menu_bar_items): Use map_keymap. - (menu_bar_one_keymap): Remove. - (menu_bar_item): Adjust arglist (for use in map_keymap). - Properly hide a second binding when not both are keymaps. - - * xmenu.c (struct skp): New struct, to pass args through map_keymap. - (single_keymap_panes): Use it and map_keymap. - (single_menu_item): Use skp as well. - - * keymap.h (map_keymap_function_t): New type. - (map_keymap): Declare. - - * keymap.c (map_keymap_item, map_keymap_char_table_item, map_keymap) - (map_keymap_call, Fmap_keymap): New functions. - (syms_of_keymap): Defsubr map-keymap. - -2003-05-02 Jan Dj,Ad(Brv - - * gtkutil.c (create_dialog, make_widget_for_menu_item) - (make_menu_item, create_menus, xg_update_menu_item): Don't call - ..._with_mnemonic functions for menu items. - -2003-05-01 Kenichi Handa - - * coding.c (coding_system_accept_latin_extra_p): Delete this - function. - (find_safe_codings): Pay attention to - the property tranlsation-table-for-encode of each codings. - (syms_of_coding): Give Qtranslation_table the extra slot number 2. - -2003-05-01 Stefan Monnier - - * eval.c (Funwind_protect): Use func=Fprogn rather than symbol=Qnil. - -2003-04-30 Stefan Monnier - - * eval.c (unbind_to): Don't handle symbol = Qnil any more. - - * lisp.h (CHECK): Wrap args in parenthesis. - (specbind): Fix doc: symbol = Qnil is not supported any more. - - * bytecode.c (Fbyte_code) : - Use Fprogn rather than 0 and Qnil. - - * keyboard.c (parse_modifiers_uncached): Parse `down', `drag', - `double', and `triple' modifiers as well. - -2003-04-30 Richard M. Stallman - - * keyboard.c (echo_char): Don't clear out a dash that follows a space. - - * alloc.c (abort_on_gc): New variable. - (Fgarbage_collect): Abort if abort_on_gc is set. - - * lisp.h (abort_on_gc): Add decl. - - * eval.c (Fsignal): Clear abort_on_gc. - - * editfns.c (Fformat): Set abort_on_gc during first scan of format. - Reinit FORMAT_START and END before second scan. - - * xdisp.c (move_it_vertically_backward): Do the final big else - even if nlines is 0. - - * xdisp.c (redisplay_internal): Finish the per-frame loop - even if redisplay is suspended by input. - -2003-04-24 Andrew Choi - - * macterm.c (x_list_fonts): Return all fonts that match if - maxnames = -1. - -2003-04-25 Kenichi Handa - - * syntax.c (skip_chars): Fix previous change. - -2003-04-24 Kenichi Handa - - * syntax.c (skip_chars): Make the code faster by using the common - technique of *p, *stop, and *endp. - -2003-04-23 Jan Dj,Ad(Brv - - * xdisp.c (update_tool_bar): BLOCK_INPUT before calling - tool_bar_items so GTK tool bar expose callback does not access items - being updated. - -2003-04-19 Stefan Monnier - - * eval.c (Fapply): Undo last change and add a comment about why. - -2003-04-18 Miles Bader - - * data.c (Faset): Calculate nbytes earlier, to satisfy the now - pickier PARSE_MULTIBYTE_SEQ. - -2003-04-17 Stefan Monnier - - * eval.c (For, Fand, Fprogn, un_autoload, do_autoload): - Use XCDR, XCAR, CONSP. - (Fdefmacro): Fix docstring. Use XCAR, XCDR. - (Fapply): Remove unnecessary GCPRO. - - * doc.c (Fsubstitute_command_keys): Remove spurious casts. - - * charset.h (PARSE_MULTIBYTE_SEQ): Pretend `length' is used. - - * buffer.h: Don't hardcode BEG==1. - - * abbrev.c (Fdefine_abbrev_table): Use XCAR, XCDR. - -2003-04-16 Richard M. Stallman - - * xdisp.c (try_window, try_window_reusing_current_matrix): - When at end of window, set window_end_pos to Z-ZV. - - * buffer.c (Foverlay_recenter): Doc fix. - -2003-04-14 Stefan Monnier - - * dispnew.c (Fsit_For): Support XEmacs-style arg list. - -2003-04-14 Andrew Choi - - * macterm.c (mac_check_for_quit_char): Don't check more often than - once a second. - -2003-04-11 Stefan Monnier - - * keyboard.c (kbd_buffer_get_event): Don't handle SELECT_WINDOW_EVENT - specially, so that they can't hide an implicit switch-frame event. - (make_lispy_event): Handle SELECT_WINDOW_EVENT. - (head_table): Use switch-frame as event_kind for select-window. - (keys_of_keyboard): Don't bind [select-window] in special-event-map. - - * editfns.c (Fformat): Lisp_Object/int mixup. - (format2): Remove unused var numargs. - -2003-04-11 Kenichi Handa - - * fileio.c (Vafter_insert_file_adjust_coding_function): Delete. - (Qafter_insert_file_set_coding): New variable. - (syms_of_fileio): Initialize and staticpro it. Delete declaration - for after-insert-file-adjust-coding-function. - (Finsert_file_contents): Call Qafter_insert_file_set_coding - instead of Vafter_insert_file_adjust_coding_function. - -2003-04-11 Kenichi Handa - - * lisp.h (temp_echo_area_glyphs): Adjust prototype. - - * minibuf.c (temp_echo_area_glyphs): Change the arg to Lisp - string. Callers changed. - -2003-04-10 Kenichi Handa - - * fileio.c (Vafter_insert_file_adjust_coding_function): New variable. - (syms_of_fileio): Declare it as a lisp variable. - (Finsert_file_contents): - Call Vafter_insert_file_adjust_coding_function before calling - decode-format. - -2003-04-09 Jan Dj,Ad(Brv - - * xterm.c (xg_scroll_callback): Call gtk_range_get_adjustment to - get GtkAdjustment as widget now is a GtkRange. - - * gtkutil.c (xg_create_scroll_bar): Connect to value-changed on - GtkRange to avoid memory leak. - -2003-04-09 Kenichi Handa - - * xfaces.c (Vface_font_rescale_alist): New variable. - (struct font_name): New member rescale_ratio. - (font_rescale_ratio): New function. - (split_font_name): If NUMERIC_P is nonzero, set font->rescale_ratio. - (better_font_p): On comparing point sized, pay attention to - recale_ratio member of fonts. - (build_scalable_font_name): Reflect font->rescale_ratio in the - font name. - (syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp variable. - - * lread.c (read1): Before calling index, check if the 2nd - arguemnt is in ASCII range. - -2003-04-08 Richard M. Stallman - - * fileio.c (Ffile_symlink_p): Doc fix. - - * editfns.c (Fformat): Translate positions of text properties - in the format string to apply them to the result. - - * fileio.c (Finsert_file_contents): Doc fix. - (syms_of_fileio) : Doc fix. - -2003-04-08 Ivan Zakharyaschev (tiny change) - - * lread.c (openp): Get the Qfile_exists_p handler for STRING, not FN. - -2003-04-08 Steven Tamm - - * mac.c (init_mac_osx_environment): Switch libexec and bin so - that self-contained application finds libexec files. - -2003-04-08 Kenichi Handa - - * coding.c (code_convert_region_unwind): - Set Vlast_coding_system_used to the argument. - (code_convert_region): If post-read-conversion function changed - the value of last-coding-sytem, keep the new value in - coding->symbol so that it won't be overridden. - (run_pre_post_conversion_on_str): Likewise. - (coding_system_accept_latin_extra_p): New function. - (find_safe_codings): Pay attention to characters registered in - latin-extra-code-table. - -2003-04-07 Thien-Thi Nguyen - - * Makefile.in (md5.o): Add missing dependency info. - -2003-04-06 Richard M. Stallman - - * xselect.c (x_handle_selection_request): Move UNGCPRO to very end. - - * marker.c (verify_bytepos): New function. - - * intervals.c (set_intervals_multibyte_1): When becoming - multibyte, adjust right and left child sizes to a whole set of - characters. If an interval gets zero total-length, delete it. - If an interval consists of just its children, delete one of them. - - * intervals.h (CHECK_TOTAL_LENGTH): New macro. - * intervals.c: Add many calls to CHECK_TOTAL_LENGTH. - - * alloc.c (VALIDATE_LISP_STORAGE): Macro deleted. - All calls deleted. - (lisp_malloc): Do the work here directly. - -2003-04-06 Gareth Jones (tiny change) - - * fns.c (Flength): Return SUB_CHAR_TABLE_ORDINARY_SLOTS for sub - char tables. - -2003-04-04 Kenichi Handa - - * editfns.c (Fformat): Use a copy of FORMAT string so that we can - destructively change "%S" to "%s". - -2003-04-03 Miles Bader - - * xfaces.c (choose_face_font): Make sure *NEEDS_OVERSTRIKE is - always set. - -2003-04-01 Dave Love - - * xfns.c (xpm_lookup_color): Grok "opaque". - -2003-03-31 Andrew Choi - - * frame.c (x_report_frame_params) [HAVE_CARBON]: Do not report - parent window ID. - - * macfns.c (syms_of_macfns): Remove call to init_x_parm_symbols. - - * macterm.h (struct mac_output): Define x_pixels_diff and - y_pixels_diff. - -2003-03-31 Juanma Barranquero - - * makefile.w32-in ($(BLD)/frame.$(O)): Add dependency on - blockinput.h and files included from it. - -2003-03-31 Kim F. Storm - - The following changes consolidates the common code related to - frame-parameter handling from the xfns.c, w32fns.c, and macfns.c - files into frame.c. - - * frame.c: Include blockinput.h. - (Vx_resource_name, Vx_resource_class, Qx_frame_parameter) - (Qx_resource_name, Qface_set_after_frame_default): Define vars here. - (Qauto_raise, Qauto_lower, ...): Define all frame parameter - related vars here. - (struct frame_parm_table, frame_parms): New table for describing - frame parameters and their associated Q-variable. - The order of the parameters corresponds to the sequence of the - frame_parm_handlers table in redisplay_interface. - (x_fullscreen_move, x_set_frame_parameters) - (x_report_frame_params, x_set_fullscreen, x_set_line_spacing) - (x_set_screen_gamma, x_set_font, x_set_fringe_width) - (x_set_border_width, x_set_internal_border_width, x_set_visibility) - (x_set_autoraise, x_set_autolower, x_set_unsplittable) - (x_set_vertical_scroll_bars, x_set_scroll_bar_width, x_icon_type): - Generic functions for processing of frame parameters. - (validate_x_resource_name, xrdb_get_resource, Fx_get_resource) - (display_x_get_resource, x_get_resource_string): Functions for - generic access to X resources. - (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) - (x_default_parameter, Fx_parse_geometry): Functions for generic - access to frame parameters. - (x_figure_window_size): Generic calculation of frame size. - Fixed to add space needed for tool bar. Also setup size_hint_flags. - (syms_of_frame): Intern and staticpro frame parameter variables. - Defvar_lisp Vx_resource_class and Vx_resource_name here. - Defsubr Sx_get_resource and Sx_parse_geometry. - - * frame.h (Qauto_raise, Qauto_lower, ...): Declare extern all frame - parameter related vars defined in frame.c. - (EMACS_CLASS): Define here. - (enum FULLSCREEN_*): Define here. - (x_set_scroll_bar_default_width, x_wm_set_icon_position) - (x_set_offset, x_new_font, x_new_fontset): Add prototypes. - (x_fullscreen_adjust, x_set_frame_parameters, x_report_frame_params) - (x_set_fullscreen, x_set_line_spacing, x_set_screen_gamma, x_set_font) - (x_set_fringe_width, x_set_border_width, x_set_internal_border_width) - (x_set_visibility, x_set_autoraise, x_set_autolower) - (x_set_unsplittable, x_set_vertical_scroll_bars) - (x_set_scroll_bar_width, x_icon_type, validate_x_resource_name) - (x_figure_window_size): Add prototypes. - - * dispextern.h (frame_parm_handler): New typedef. - (struct redisplay_interface): New member frame_parm_handlers. - (enum resource_types): Move declaration here. - (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) - (x_default_parameter): Add prototypes. - - * window.c: Remove extern decl for frame parameter vars. - (change_window_heights): New generic function; - replaces x_change_window_heights. All users changed. - - * window.h (change_window_heights): Add prototype. - - * xfaces.c: Remove extern decl for frame parameter vars. - - * xterm.h (EMACS_CLASS): Remove. Use generic define. - (struct w32_display_info): Fix type of xrdb member. - (enum FULLSCREEN_*): Remove. - Remove prototypes for generic functions (in frame.h). - - * xfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame - parameters now defined in frame.h and frame.c. - (Vx_resource_name): Remove. Use generic var. - (enum x_frame_parms): Remove (bogus, unused enum). - (check_x_display_info): Make non-static (for frame.c). - (struct x_frame_parm_table, x_frame_parms): Remove. - (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) - (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) - (x_set_border_width, x_set_internal_border_width, x_set_visibility) - (x_change_window_heights, x_set_autoraise, x_set_autolower) - (x_set_vertical_scroll_bars, x_set_scroll_bar_width) - (validate_x_resource_name, Fx_get_resource, x_get_resource_string) - (x_default_parameter, Fx_parse_geometry, x_figure_window_size): - Remove. Use generic functions instead. - (enum resource_types): Remove. - (x_set_scroll_bar_default_width): New global function (for frame.c). - (Fx_create_frame): Depend on x_figure_window_size to add space for - toolbar and setup size_hint_flags. - (x_frame_parm_handlers): New table for redisplay_interface. - (syms_of_xfns): Don't intern/staticpro removed vars. - - * xterm.c: Remove unnecessary extern declarations. - (x_fullscreen_adjust): Remove. Use generic instead. - (x_redisplay_interface): Add x_frame_parm_handlers member. - - * w32gui.h (XrmDatabase): New (dummy) typedef. - - * w32term.h (EMACS_CLASS): Remove. Use generic define. - (struct w32_display_info): Fix type of xrdb member. - (enum FULLSCREEN_*): Remove. - (x_fullscreen_adjust): Remove prototype. - - * w32fns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame - parameters now defined in frame.h and frame.c. - (Vx_resource_name): Remove. Use generic var. - (enum x_frame_parms): Remove (bogus, unused enum). - (check_x_display_info): Make non-static (for frame.c). - (struct x_frame_parm_table, x_frame_parms): Remove. - (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) - (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) - (x_set_border_width, x_set_internal_border_width, x_set_visibility) - (x_change_window_heights, x_set_autoraise, x_set_autolower) - (x_set_vertical_scroll_bars, x_set_scroll_bar_width) - (validate_x_resource_name, Fx_get_resource, x_get_resource_string) - (x_default_parameter, Fx_parse_geometry, x_figure_window_size): - Remove. Use generic functions instead. - (enum resource_types): Remove. - (x_set_scroll_bar_default_width): New global function (for frame.c). - (Fx_create_frame): Depend on x_figure_window_size to add space for - toolbar and setup size_hint_flags. - (w32_frame_parm_handlers): New table for redisplay_interface. - (syms_of_w32fns): Don't intern/staticpro removed vars. - - * w32term.c: Remove unnecessary extern declarations. - (x_fullscreen_adjust): Remove. Use generic instead. - (x_redisplay_interface): Add w32_frame_parm_handlers member. - - * w32reg.c (x_get_string_resource): Use XrmDatabase. - - * macgui.h (XrmDatabase): New (dummy) typedef. - - * macterm.h (EMACS_CLASS): Remove. - (struct mac_display_info): Add xrdb member. - (struct mac_output): Add want_fullscreen member. - - * macfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame - parameters now defined in frame.h and frame.c. - (Vx_resource_name): Remove. Use generic var. - (check_x_display_info): Make non-static (for frame.c). - (struct x_frame_parm_table, x_frame_parms): Remove. - (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) - (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) - (x_set_border_width, x_set_internal_border_width, x_set_visibility) - (x_change_window_heights, x_set_autoraise, x_set_autolower) - (x_set_vertical_scroll_bars, x_set_scroll_bar_width) - (validate_x_resource_name, Fx_get_resource, x_get_resource_string) - (x_default_parameter, Fx_parse_geometry, x_figure_window_size): - Remove. Use generic functions instead. - (enum resource_types): Remove. - (x_set_scroll_bar_default_width): New global function (for frame.c). - (mac_frame_parm_handlers): New table for redisplay_interface. - (syms_of_macfns): Don't intern/staticpro removed vars. - - * macterm.c: Remove unnecessary extern declarations. - (x_redisplay_interface): Add mac_frame_parm_handlers member. - - * Makefile.in (frame.o): Add dependency on blockinput.h and files - included from it (atimer.h and systime.h). - -2003-03-30 Andreas Schwab - - * xdisp.c (x_insert_glyphs): Fix swapped width and height - parameters for shift_glyphs_for_insert. - - * macterm.c (x_redisplay_interface): Add missing entry for - draw_vertical_window_border. - -2003-03-29 Kai Gro,A_(Bjohann - - * fileio.c (Fexpand_file_name): In the no-handler case, after - expanding, look again for a handler and invoke it. This is needed - for filenames like "/foo/../user@host:/bar/../baz" -- the first - expansion produces "/user@host:/bar/../baz" which needs to be - expanded again for the finame result "/user@host:/baz". - -2003-03-28 Jan Dj,Ad(Brv - - * gtkutil.c (xg_tool_bar_item_expose_callback): Reduce size - of area to be redrawn for better performance. - -2003-03-28 Stefan Monnier - - * xterm.c (take_vertical_position_into_account): Remove. - (xt_action_hook): Call set_vertical_scroll_bar if needed. - (XM_SB_MIN, XM_SB_RANGE): Remove (min is now set to 0). - (xm_scroll_callback, x_create_toolkit_scroll_bar) - (x_set_toolkit_scroll_bar_thumb): Simplify. - (x_scroll_bar_expose): Only compile if !USE_TOOLKIT_SCROLL_BARS. - (XTread_socket): Remove unused var. - (x_make_frame_invisible): Replace goto with else. - - * xdisp.c (set_vertical_scroll_bar): New fun. - (redisplay_window): Use it. - -2003-03-26 Richard M. Stallman - - * xdisp.c (update_tool_bar): Recompute tool bar if - update_mode_lines is set. Set w->update_mode_line - only if the tool bar contents actually change. - (update_menu_bar): Undo previous change. - -2003-03-26 Jan Dj,Ad(Brv - - * gtkutil.c (xg_resize_widgets): Don't call xg_frame_cleared. - (xg_frame_set_char_size): Calculate scroll bar width before frame - width. Call SET_FRAME_GARBAGED and cancel_mouse_face. - (xg_separator_p): Check for all documented separator types. - (xg_update_scrollbar_pos): Variable gheight not needed, use height. - (update_frame_tool_bar): Don't call gdk_window_process_all_updates. - - * xdisp.c (update_menu_bar): Set w->update_mode_line to Qt - so tool bar gets updated. - -2003-03-26 Stefan Monnier - - * data.c (store_symval_forwarding): Re-instate part of the code - that was deleted with too much enthusiasm. - -2003-03-25 Stefan Monnier - - * data.c (store_symval_forwarding): Delete special read-only - hack for type == -1, since we now use ->constant instead. - (Fkill_local_variable): Don't use XBUFFER if it can be nil. - - * buffer.c (overlays_in): Declare static. - (syms_of_buffer) : Use the symbol's - `constant' field rather than the variable's `type' field. - -2003-03-24 Andrew Choi - - * config.in [MAC_OSX]: Do not redefine bcopy, bzero, and bcmp. - - * dispextern.h [HAVE_CARBON]: Include Carbon.h. - - * fns.c [MAC_OSX]: Do not redefine vector. - - * keyboard.c [MAC_OSX]: Handle SIGINT with interrupt_signal. - - * macgui.h: Remove definition of No_Cursor. - - * macterm.h: Include Carbon.h. Replace (struct Cursor *) by Cursor. - - * xdisp.c: Define No_Cursor. - (x_write_glyphs, notice_overwritten_cursor) - (draw_phys_cursor_glyph, note_mode_line_or_margin_highlight) - (note_mouse_highlight): Remove Mac-specific code. - (note_mouse_highlight): Use bcmp instead of == to compare Cursors. - -2003-03-24 John Paul Wallington - - * xdisp.c (redisplay_window): If mini window's buffer is not - empty, then redisplay it like other windows. - -2003-03-23 Kim F. Storm - - * w32term.c (w32_draw_window_cursor): Fix last change. - -2003-03-23 Kenichi Handa - - * alloc.c (make_string_from_bytes, make_specified_string): - Add `const' for the arg CONTENTS. - - * lisp.h (make_string_from_bytes, make_specified_string): - Prototypes adjusted. - -2003-03-23 Jan Dj,Ad(Brv - - * xdisp.c (get_glyph_string_clip_rect): Remove ; at end of #endif. - - * gtkutil.h: Take two more arguments to xg_update_scrollbar_pos. - (XG_SB_RANGE): New define. - - * gtkutil.c (xg_fixed_handle_expose): New function. - (xg_create_frame_widgets): Call xg_fixed_handle_expose for - expose events. - (xg_update_scrollbar_pos): Take two more arguments, left and width - of scroll bar including borders. - Clear left and right part outside scroll bar separately as some - themes have bars that are not an even number of pixels. - Don't set reallocate_redraws, don't call - gdk_window_process_all_updates. - (xg_set_toolkit_scroll_bar_thumb): Upper value is fixed, - so no need to change it. Calculate size and value with XG_SB_RANGE. - - * xterm.c (x_scroll_bar_create, XTset_vertical_scroll_bar): - Pass left and width of scroll bar including borders to - xg_update_scrollbar_pos. - -2003-03-22 Thien-Thi Nguyen - - * Makefile.in: Make sure space precedes end-of-line backslashes. - -2003-03-22 Kim F. Storm - - * xdisp.c (pixel_to_glyph_coords, glyph_to_pixel_coords): - Add generic versions here. Remove system specific versions - defined elsewhere. - - * dispextern.h (pixel_to_glyph_coords, glyph_to_pixel_coords): - Add prototypes. - - * xterm.h (STORE_NATIVE_RECT): New macro. - -2003-03-21 Kim F. Storm - - * xdisp.c (get_glyph_string_clip_rect): - Use FRAME_INTERNAL_BORDER_WIDTH. - - * dispextern.h (struct redisplay_interface): Add active_p - argument to draw_window_cursor member. All uses changed. - -2003-03-21 Kim F. Storm - - The following changes consolidate code related to writing and - inserting glyphs, exposing frame, the tool bar, the mouse face, - the output cursor, and help echo from xterm.c, w32term.c and - macterm.c into xdisp.c. It also generalizes the use of the - window_part enum instead of using numeric values throughout. - - * xdisp.c: Consolidate gui-independent code here. - Include keymap.h. - (Qhelp_echo): Import. - (mouse_autoselect_window, x_stretch_cursor_p): Declare here. - (help_echo_string, help_echo_window, help_echo_object) - (previous_help_echo_string, help_echo_pos): Declare here. - (output_cursor, last_mouse_frame, last_tool_bar_item): Declare here. - (estimate_mode_line_height): Define here. Handle windowing - systems directly (without using estimate_mode_line_height_hook). - (x_y_to_hpos_vpos, get_tool_bar_item, note_tool_bar_highlight): - (update_window_cursor, update_cursor_in_window_tree) - (fast_find_position, fast_find_string_pos) - (note_mode_line_highlight, note_mode_line_or_margin_highlight) - (expose_area, expose_line, expose_overlaps, expose_window) - (expose_window_tree, phys_cursor_in_rect_p): New generic versions; - declared static as they are only used locally in xdisp.c. - (draw_glyphs): Rename from x_draw_glyphs and make static. - (tool_bar_item_info, notice_overwritten_cursor): Make static. - (frame_to_window_pixel_xy, get_glyph_string_clip_rect) - (set_output_cursor, x_cursor_to, handle_tool_bar_click) - (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line): - (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) - (display_and_set_cursor, x_update_cursor, x_clear_cursor) - (show_mouse_face, clear_mouse_face, cursor_in_mouse_face_p) - (note_mouse_highlight, x_clear_window_mouse_face) - (cancel_mouse_face, x_draw_vertical_border, expose_frame) - (x_intersect_rectangles): New generic functions for use by xdisp.c - and GUI front-ends. - (syms_of_xdisp): Initialize and staticpro help_echo* variables. - Defvar_bool "x-streach-cursor" and "mouse-autoselect-window" here. - - * dispextern.h (Display_Info): Generic typedef for *_display_info. - (NativeRectangle): Generic typedef for rectangle type. - (enum window_part): Move here from window.c. - (struct redisplay_interface): New members flush_display_optional, - define_frame_cursor, clear_frame_area, draw_window_cursor, - draw_vertical_window_border, shift_glyphs_for_insert. - Rename member clear_mouse_face to clear_window_mouse_face. - (estimate_mode_line_height_hook): Remove hook. - (auto_raise_tool_bar_buttons_p): Don't declare extern. - (tool_bar_item_info): Remove prototype. - (help_echo_string, help_echo_window, help_echo_object) - (previous_help_echo_string, help_echo_pos) - (last_mouse_frame, last_tool_bar_item, mouse_autoselect_window): - (x_stretch_cursor_p, output_cursor): Declare extern. - (x_draw_glyphs, notice_overwritten_cursor): Remove prototypes. - (x_write_glyphs), x_insert_glyphs, x_clear_end_of_line) - (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) - (display_and_set_cursor, set_output_cursor, x_cursor_to) - (x_update_cursor, x_clear_cursor, x_draw_vertical_border) - (frame_to_window_pixel_xy, get_glyph_string_clip_rect) - (note_mouse_highlight, x_clear_window_mouse_face, cancel_mouse_face) - (handle_tool_bar_click, clear_mouse_face, show_mouse_face) - (cursor_in_mouse_face_p, expose_frame, x_intersect_rectangles): - Add prototypes. - (mode_line_string, marginal_area_string): Fix prototypes. - - * window.c (enum window_part): Move to dispextern.h. - (coordinates_in_window): Use enum window_part member names - instead of numbers to describe return value. - (struct check_window_data): Change part member to window_part. - (check_window_containing): Return window_part unaltered. - (window_from_coordinates): Change part arg from int to enum - window_part. Allow part arg to be null. All users changed. - - * window.h (window_from_coordinates): Fix prototype. - - * term.c (estimate_mode_line_height): Move to xdisp.c. - - * keyboard.c (make_lispy_event): Use enum window_part. - - * dispnew.c (mode_line_string, marginal_area_string): Use enum - window_part instead of int in arg list. Users changed. - - * xterm.h (No_Cursor): Declare as None for X. - (struct mac_output): Replace member cross_cursor by hand_cursor. - - * xterm.c: Remove consolidated defines and code. - (BETWEEN): Remove unused macro. - (x_draw_vertical_window_border, x_shift_glyphs_for_insert) - (x_define_frame_cursor, x_clear_frame_area) - (x_draw_window_cursor): New X-specific functions for RIF. - (x_redisplay_interface): Add new members. - - * xfns.c: Setup and use hand_cursor instead of cross_cursor. - - * w32term.h (struct w32_output): Remove cross_cursor member. - - * w32term.c: Remove consolidated defines and code. - (BETWEEN): Remove unused macro. - (w32_draw_vertical_window_border, w32_shift_glyphs_for_insert) - (w32_define_frame_cursor, w32_clear_frame_area) - (w32_draw_window_cursor): New W32-specific functions for RIF. - (w32_redisplay_interface): Add new members. - - * w32gui.h (No_Cursor): Define as 0 for W32. - (XRectangle): Add X compatible rectangle type. - (NativeRectangle): Declare as RECT for W32. - (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. - - * w32fns.c: Remove setup of cross_cursor (already has hand_cursor). - - * w32console.c: Remove consolidated defines and code. - - * msdos.h (Display_Info): Add generic typedef. - - * msdos.c: Remove consolidated defines and code. - (IT_note_mouse_highlight, dos_rawgetc): Use enum window_part. - - * macterm.h (struct mac_output): Replace member cross_cursor by - hand_cursor. - (activate_scroll_bars, deactivate_scroll_bars): Add prototypes. - - * macterm.c: Remove consolidated defines and code. - (BETWEEN): Remove unused macro. - (mac_draw_vertical_window_border, mac_shift_glyphs_for_insert) - (mac_define_frame_cursor, mac_clear_frame_area) - (mac_draw_window_cursor): New Mac-specific functions for RIF. - (x_redisplay_interface): Add new members. - - * macgui.h (No_Cursor): Define as 0 for Mac. - (XRectangle): Add X compatible rectangle type. - (NativeRectangle): Declare as Rect for Mac. - (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. - - * macfns.c (x_set_mouse_color): Setup hand_cursor. - (x_set_cursor_color): Use x_display_and_set_cursor. - - * Makefile.in (xdisp.o): Add dependency on blockinput.h and files - included from it. Add dependency on keymap.h. - - * makefile.w32-in (xdisp.o): Add dependency on keymap.h. - -2003-03-21 Kenichi Handa - - * fileio.c (Fexpand_file_name): Fix previous change. - -2003-03-19 Kenichi Handa - - * fileio.c (Ffile_name_directory): Reconstruct file name by - make_specified_string. - (Ffile_name_nondirectory, Ffile_name_as_directory) - (Fdirectory_file_name, Fexpand_file_name) - (Fsubstitute_in_file_name): Likewise. - (Fread_file_name): Compare decoded homedir with DIR and - DEFAULT_FILENAME. - - * alloc.c (make_specified_string): If NCHARS is negative, count - the number of characters. - -2003-03-18 Jan Dj,Ad(Brv - - * gtkutil.c (xg_frame_cleared): Call gtk_widget_queue_draw for - all widgets. - - * gtkutil.h: Removed xg_ignore_next_thumb. - -2003-03-18 Kenichi Handa - - * coding.c (Vchar_coding_system_table): Remove this variable. - (Vcoding_system_safe_chars): New variable. - (intersection): Remove this function. - (find_safe_codings): Don't use Vchar_coding_system_table, but try - all codings in SAFE_CODINGS. - (Ffind_coding_systems_region_internal): Adjust for the change of - find_safe_codings. Get generic coding systems from - Vcoding_system_safe_chars. - (Fdefine_coding_system_internal): New function. - (syms_of_coding): Defsubr Sdefine_coding_system_internal. - Initialize and staticpro Vcoding_system_safe_chars. - -2003-03-18 Jan Dj,Ad(Brv - - * gtkutil.c (xg_set_toolkit_scroll_bar_thumb): Check if new values - equal old values before updating. - - * xterm.c (xg_scroll_callback): Remove xg_ignore_next_thumb. - - * gtkutil.c (xg_initialize): Remove xg_ignore_next_thumb. - -2003-03-17 Jan Dj,Ad(Brv - - * gtkutil.c: Removed handle_fixed_child, struct xg_last_sb_pos. - (xg_resize_widgets): Don't call foreach(handle_fixed_child). - (xg_gtk_scroll_destroy): Remove free of struct xg_last_sb_pos. - (scroll_bar_button_cb): Set bar->dragging to nil on button release. - (xg_create_scroll_bar): Pass bar to button event callback. - (xg_find_top_left_in_fixed): New function. - (xg_update_scrollbar_pos): Don't call gdk_window_clear on - whole scroll bar area. Get old position with - xg_find_top_left_in_fixed, calculate and only clear needed areas. - (xg_set_toolkit_scroll_bar_thumb): Do not adjust scroll bar if - dragging is in progress. Calculate whole as for Motif. - Remove code that saved last values. Call gtk_range functions to - set scroll bar sizes. - - * gtkutil.h: Removed xg_ignore_next_thumb. - -2003-03-17 Juanma Barranquero - - * makefile.w32-in ($(BLD)/xdisp.$(O)): Add dependency on blockinput.h - and files included from it. - -2003-03-18 Stefan Monnier - - * keymap.c (accessible_keymaps_1): Break cycles but without preventing - multiple occurrences of the same keymap under different prefixes. - (Faccessible_keymaps): Remove code redundant since 1994-08-03T07:39:00Z!rms@gnu.org. - -2003-03-16 Jason Rumney - - * w32gui.h: Use HDC for Display. - - * w32term.c (w32_encode_char): Prevent double-byte chars from - crashing Emacs. - - * w32fns.c (jpeg_load, png_load, slurp_file): Read image files - as binary. - -2003-03-16 Juanma Barranquero - - * xdisp.c (x_produce_glyphs): Use FRAME_BASELINE_OFFSET. - -2003-03-16 Kim F. Storm - - The following changes consolidate some of the gui-independent - parts of the processing and drawing of "glyph strings" from - xterm.c, w32term.c, and macterm.c into xdisp.c. - - * dispextern.h (struct glyph): Reduce face_id member from 22 to - 21 bits (this reduces number of faces from 4M to 2M). - Replace W32 specific w32_font_type member (2 bits) by generic - font_type member (3 bits) for portability. - (FONT_TYPE_UNKNOWN): New define, default for font_type member. - (enum draw_glyphs_face): Define here. - (struct glyph_string): Define here. Merge W32 and X versions. - (struct redisplay_interface): New members per_char_metric, - encode_char, compute_glyph_string_overhangs, draw_glyph_string. - (VCENTER_BASELINE_OFFSET): Define here. - (dump_glyph_string, x_get_glyph_overhangs, x_produce_glyphs) - (x_draw_glyphs, notice_overwritten_cursor): Declare prototypes here. - - * xdisp.c: Consolidate gui-independent "glyph string" code here. - (dump_glyph_string): Moved here. - (init_glyph_string, append_glyph_string_lists, append_glyph_string) - (prepend_glyph_string_lists, get_glyph_face_and_encoding) - (fill_composite_glyph_string, fill_glyph_string) - (fill_image_glyph_string, fill_stretch_glyph_string) - (left_overwritten, left_overwriting, right_overwritten) - (right_overwriting, get_char_face_and_encoding) - (set_glyph_string_background_width, compute_overhangs_and_x) - (append_glyph, append_composite_glyph, produce_image_glyph) - (take_vertical_position_into_account, append_stretch_glyph) - (produce_stretch_glyph): New generic functions (based on X version). - Call platform specific functions through rif. - (INIT_GLYPH_STRING): New macro, hides W32 details. - (BUILD_STRETCH_GLYPH_STRING, BUILD_IMAGE_GLYPH_STRING) - (BUILD_CHAR_GLYPH_STRINGS, BUILD_COMPOSITE_GLYPH_STRING) - (BUILD_GLYPH_STRINGS): Generic macros (based on X version). - (x_draw_glyphs, x_get_glyph_overhangs, x_produce_glyphs) - (notice_overwritten_cursor): - Generic functions exported to platform modules. Users changed. - - * xterm.h (FONT_DESCENT, FRAME_X_OUTPUT, FRAME_BASELINE_OFFSET) - (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE) - (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): - New macros for consolidated code. - - * xterm.c: Remove consolidated defines and code. - (x_per_char_metric, x_encode_char) - (x_compute_glyph_string_overhangs): Adapt to RIF requirements. - (x_redisplay_interface): Add new members. - - * w32gui.h (Display): Add dummy typedef for consolidation. - (XChar2b): Define alias for wchar_t for consolidation. - (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros. - - * w32term.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY) - (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): - New macros for consolidation. - - * w32term.c: Remove consolidated defines and code. - (BUILD_WCHAR_T, BYTE1, BYTE2): Macros removed; callers changed - to use STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2 instead. - (w32_per_char_metric): Change font_type arg to int for RIF. - (w32_encode_char): Return int according to RIF requirements. - (w32_compute_glyph_string_overhangs): Adapt to RIF. - (w32_get_glyph_overhangs): New function for RIF. Uses generic - x_get_glyph_overhangs. - (w32_redisplay_interface): Add new members. - - * macgui.h (XChar2b): Move typedef here for consolidation. - (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros. - - * macterm.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY): - (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): New macros for - consolidation. - - * macterm.c: Remove consolidated defines and code. - (mac_per_char_metric): New function for RIF. - (mac_encode_char): Adapt to new RIF requirements. - (mac_compute_glyph_string_overhangs): Adapt for RIF. - (x_redisplay_interface): Add new members. - -2003-03-15 Stefan Monnier - - * keymap.c (Vmenu_events): New var. - (syms_of_keymap): Initialize it. - (where_is_internal): Check more carefully what is a menu event. - -2003-03-14 Richard M. Stallman - - * lread.c (read1): After #!, exit loop on eof. - -2003-03-14 Jan Dj,Ad(Brv - - * gtkutil.h: Add declaration for xg_frame_cleared. - - * xterm.c (x_clear_frame): Call xg_frame_cleared for GTK. - - * gtkutil.c (struct xg_last_sb_pos): New structure. - (handle_fixed_child): New function. - (xg_resize_widgets): Call handle_fixed_child on all scroll bar widgets - and force a redraw on them. - (xg_gtk_scroll_destroy): Free struct xg_last_sb_pos also. - (xg_create_scroll_bar): Add struct xg_last_sb_pos to scroll bar - so we can avoid unneeded redraws. - (xg_update_scrollbar_pos): Invalidate data in xg_last_sb_pos - and force a redraw on the scroll bar. - (xg_set_toolkit_scroll_bar_thumb): Do not change/redraw scroll bar - if xg_last_sb_pos shows the positions are up to date. - (xg_frame_cleared): New function. - -2003-03-13 Kenichi Handa - - * coding.c (Fdetect_coding_region): Fix docstring. - (Fdetect_coding_string): Fix docstring. - -2003-03-13 Andreas Schwab - - * gtkutil.c: Add prototype for create_menus. - - * data.c (long_to_cons): Fix type of top. - - * xselect.c (selection_data_to_lisp_data): Use int instead of - long for an integer of size 4. - - * gtkutil.c (xg_update_frame_menubar): Add missing return value. - (xg_tool_bar_help_callback): Likewise. - -2003-03-12 Andreas Schwab - - * xterm.c (x_term_init) [USE_GTK]: Fix typo. - -2003-03-12 Kim F. Storm - - The following changes consolidate the fringe handling from - xterm.c, w32term.c, and macterm.c into xdisp.c. - - * xdisp.c: Consolidate fringe handling code here. - (left_bits, right_bits, continued_bits, continuation_bits) - (ov_bits, zv_bits): Define fringe bitmaps. - (fringe_bitmaps): New array holding fringe bitmaps. - (draw_fringe_bitmap): Draw a specific bitmap; call display - specific drawing routine via rif->draw_fringe_bitmap. - (draw_row_fringe_bitmaps): Generic replacement for - x_draw_row_fringe_bitmaps; all callers changed. - (compute_fringe_widths): Generic replacement for - x_compute_fringe_widths; all callers changed. - - * dispextern.h (enum fringe_bitmap_type): Define here. - (struct fringe_bitmap, struct draw_fringe_bitmap_params): New. - (fringe_bitmaps): Declare extern. - (struct redisplay_interface): New member draw_fringe_bitmap. - (draw_row_fringe_bitmaps, compute_fringe_widths): Declare extern. - - * xterm.c: Remove generic fringe code. - (x_draw_fringe_bitmap): Only perform actual fringe drawing. - (x_redisplay_interface): Add x_draw_fringe_bitmap member. - - * w32term.c: Remove generic fringe code. - (w32_draw_fringe_bitmap): Only perform actual fringe drawing. - (w32_redisplay_interface): Add w32_draw_fringe_bitmap member. - - * macterm.c: Remove generic fringe code. - (x_draw_fringe_bitmap): Only perform actual fringe drawing. - (x_redisplay_interface): Add x_draw_fringe_bitmap member. - -2003-03-11 Stefan Monnier - - * print.c (Fprin1_to_string): Return unibyte string if possible. - -2003-03-09 David Kastrup - - * process.c (read_process_output): We have allocated enough space - for readmax and carryover, so actually use the alloted space. - -2003-03-09 Jan Dj,Ad(Brv - - * keyboard.c (make_lispy_event): Extend mouse_syms if needed for - toolkit scrollbar click. - - * xterm.c (x_window_to_scroll_bar): Call xg_get_scroll_id_for_window - for USE_GTK. - (x_scroll_bar_handle_click): Use this function for toolkit scrollbars - also. - (handle_one_xevent): ButtonPress/Release: If event is for a toolkit - scrollbar and control is pressed, call x_scroll_bar_handle_click. - - * gtkutil.h (xg_get_scroll_id_for_window): Declare. - - * gtkutil.c (xg_get_scroll_id_for_window): New function. - (xg_tool_bar_item_expose_callback): New function. - (xg_tool_bar_expose_callback): Call update_frame_tool_bar. - (xg_create_tool_bar): Connect xg_tool_bar_expose_callback to expose - on the tool bar widget. - (update_frame_tool_bar): Connect xg_tool_bar_item_expose_callback - to expose on the tool bar item widgets. - -2003-03-08 Jan Dj,Ad(Brv - - * gtkutil.c (update_frame_tool_bar): Compare pixmap ID instead of - struct image* when deciding to update (struct image* may have been - deleted from the image cache). - - * xterm.c (handle_one_xevent): Pass ReparentNotify to Xt even if - the event isn't for a frame (i.e. for dialogs). - -2003-03-07 Kenichi Handa - - * coding.c (CODING_ADD_COMPOSITION_COMPONENT): If the number of - composition components reaches the limit, terminate composing. - (COMPOSITION_OK): New macro. - (detect_coding_iso2022): Use it if an escape sequence for - composition is found. - (coding_restore_composition): Adjust the number of composition - components if it is not sane. - -2003-03-06 Juanma Barranquero - - * w32term.h (struct w32_display_info): Add xrdb member to support - passing resources via -xrm on Windows. - - * w32term.c (w32_make_rdb): New function. - (w32_term_init): Use it to initialize xrdb member of w32_display_info - struct. Delete leftover code. - - * w32fns.c (Fx_get_resource, x_get_resource_string): Pass xrdb to check - for resources passed on the command line. - - * w32reg.c (w32_get_rdb_resource): New function. - (x_get_string_resource): Use it, so resources passed with -xrm - supercede the ones in the registry. - -2003-03-04 Jan Dj,Ad(Brv - - * xterm.c (x_detect_focus_change): Call x_any_window_to_frame - instead of x_top_window_to_frame. - -2003-03-03 Jan Dj,Ad(Brv - - * xsmfns.c (smc_save_yourself_CB): Add --no-splash to options - when restarting Emacs. - -2003-03-03 Richard M. Stallman - - * buffer.c (Fkill_buffer): Use Frun_hook_with_args_until_failure - to run kill-buffer-query-functions. - (Qkill_buffer_query_functions): New var. - (syms_of_buffer): Init and staticpro it. - -2003-03-02 Jan Dj,Ad(Brv - - * xterm.h (XSync): Define as gdk_window_process_all_updates for GTK. - -2003-02-25 Kim F. Storm - - * xdisp.c (redisplay_window): Fix infinite loop in redisplay. - If centering point failed to make whole line visible and vscroll - is non-zero, disable vscroll and try centering point again. - - * lread.c (read1): Accept `single space' syntax like (? x). - -2003-02-25 Jan Dj,Ad(Brv - - * keyboard.c (cancel_hourglass_unwind): Surround with - #ifdef HAVE_X_WINDOWS. - -2003-02-25 Kenichi Handa - - * buffer.c (Fset_buffer_multibyte): Pay attention to the buffer - process only when "subprocesses" is defined. - -2003-02-24 Stefan Monnier - - * syntax.c (back_comment): Only check nestedness of 2nd char if needed. - -2003-02-24 Juanma Barranquero - - * callint.c (fix_command): Declare as static void and move before - Fcall_interactively. - - * xdisp.c (Qwhen): Declare external; it's now defined in callint.c. - (syms_of_xdisp): Don't initialize Qwhen. - -2003-02-23 Jan Dj,Ad(Brv - - * keyboard.c (cancel_hourglass_unwind): New function. - (command_loop_1): Cancel hourglass with unwind-protect. - -2003-02-23 Richard M. Stallman - - * callint.c (fix_command): New subroutine, from Fcall_interactively. - Detect (when ... (region-beginning)) etc. - (Fcall_interactively): Call fix_command. - (Qif, Qwhen): New variables. - (syms_of_callint): Init and staticpro them. - - * regex.c (print_partial_compiled_pattern): Output to stderr. - -2003-02-23 Kai Gro,A_(Bjohann - - * dired.c (directory_files_internal): Don't expand directory. - (Fdirectory_files, Fdirectory_files_and_attributes): Do it here - instead. From Lars Hansen . - -2003-02-22 Stefan Monnier - - * fns.c (string_to_multibyte): Remove unused var i. - (Flanginfo): Fix int/Lisp_Object mixup. - (void_call2): New fun. - (Fmap_char_table): Use it in place of call2. - - * xfaces.c (x_face_list_fonts): Fix int/Lisp_Object mixup. - - * macros.c (Fstart_kbd_macro): Remove redundant assignment. - - * keymap.c (copy_keymap_1): Make it static. - - * alloc.c (Fgarbage_collect): Don't use XSETFLOAT. - -2003-02-22 David Ponce - - * lread.c (Fload): Don't check STRING_MULTIBYTE. - -2003-02-21 Jan Dj,Ad(Brv - - * process.h: Removed subtty field from struct Lisp_Process. - - * process.c (create_process): Remove setting of subtty. - (emacs_get_tty_pgrp): New function. - (Fprocess_running_child_p, process_send_signal): - Call emacs_get_tty_pgrp instead of ioctl. - (process_send_signal): Call EMACS_KILLPG if ioctl TIOCSIGSEND fails. - -2003-02-21 Kai Gro,A_(Bjohann - - * keymap.c (Fdefine_key): Doc fix. - -2003-02-21 Juanma Barranquero - - Port of patch for RC by Klaus Zeitler . - - * s/hpux10.h: Define POLL_INTERRUPTED_SYS_CALL, not - POLLING_PROBLEM_IN_SELECT. - - * s/hpux11.h: Include hpux10-20.h instead of hpux10.h. - Delete #undef of POLLING_PROBLEM_IN_SELECT. - - * s/hpux10-20.h: New file. - - * process.c (wait_reading_process_input): - Use POLL_INTERRUPTED_SYS_CALL, not POLLING_PROBLEM_IN_SELECT. - -2003-02-20 Kenichi Handa - - * fontset.c (check_fontset_name): If NAME is nil, return the - default fontset. - (override_font_info): New function. - (Fset_fontset_font): Document that NAME nil means the default fontset. - (Ffontset_info): If FONTSET is not the default fontset, merge - FONTSET onto the copy of the default fontset, and work on that - copy. Document that NAME nil means the default fontset. - (Ffontset_font): Document that NAME nil means the default fontset. - - * process.c (setup_process_coding_systems): If the process's - in/out descriptor is -1, do nothing. - -2003-02-19 Andreas Schwab - - * lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte): - Add prototypes. - -2003-02-19 Kenichi Handa - - * xfaces.c (try_alternative_families): Try all scalable fonts if - Vscalable_fonts_allowed is not Qt. - -2003-02-19 Jan Dj,Ad(Brv - - * xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found. - -2003-02-18 Jan Dj,Ad(Brv - - * xterm.c (x_list_fonts): If maxnames is less than 0, get all font - names. - - * xfaces.c (x_face_list_fonts): Allocate struct font_name here. - (sorted_font_list): Move allocation of struct font_name to - x_face_list_fonts. - (Fx_font_family_list): Set font-list-limit to -1 to get all font names. - (Fx_list_fonts): Set maxnames to -1 to get all font names. - -2003-02-18 Kim F. Storm - - * lread.c (read1): Fix last change. - "`" is not always special. Allow "?" after a character constant. - -2003-02-18 Andrew Choi - - * unexmacosx.c (copy_data_segment): Also copy __cfstring section. - -2003-02-18 Andreas Schwab - - * window.c (window_scroll_pixel_based): Move outside a - multi-glyph character before setting new window start. - - * xdisp.c (in_display_vector_p): New function. - * dispextern.h (in_display_vector_p): Declare. - -2003-02-18 Kim F. Storm - - * lread.c (read1): Fix and relax read syntax. - Recognize "[", ";", "#", and "?" after a dotted-pair dot. - Only recognize "," after dotted-pair dot if inside backquote. - Never include "`" or "," (inside backquote) in a symbol. - Allow dotted-pair dot after a character constant. - Allow "`" and "," (inside backquote) after a character constant. - -2003-02-17 Jan Dj,Ad(Brv - - * gtkutil.c (xg_tool_bar_expose_callback): New function. - (xg_create_tool_bar): Force style of tool bar to be horizontal with - icons. Set name of tool bar to emacs-toolbar. - (update_frame_tool_bar): Connect expose event to - xg_tool_bar_expose_callback. - -2003-02-17 Richard M. Stallman - - * keyboard.c (this_command_key_count_reset): New variable. - Initiatize to 0 where this_command_key_count is set. - (read_char): Save and restore this_command_key_count_reset - around input method code. - (read_char): If this_command_key_count_reset, echo reread commands. - (Freset_this_command_lengths): Set this_command_key_count_reset to 1. - -2003-02-17 Kenichi Handa - - * fns.c (string_to_multibyte): Always return a multibyte string. - -2003-02-16 Jason Rumney - - * w32fns.c (w32_list_bdf_fonts, w32_list_fonts): - Negative max_fonts parameter means list all. - -2003-02-14 Dave Love - - * fns.c (Flanginfo): Doc fix. - -2003-02-13 Kim F. Storm - - * lread.c (read_escape): Interpret \s as a SPACE character, except - for \s-X in a character constant which still is the super modifier. - (read1): Signal an `invalid read syntax' error if a character - constant is immediately followed by a digit or symbol character. - - * search.c (Fmatch_data): Doc fix. Explicitly state that - match-data is undefined if last search failed. - - * keymap.c (Fcommand_remapping): Rename from Fremap_command. - All uses changed. - -2003-02-12 Juanma Barranquero - - * eval.c (Fdefmacro): Fix typo. - -2003-02-12 Kim F. Storm - - * macros.c (Fstart_kbd_macro): If appending, and last keyboard - macro is a string, convert meta modifiers in string when copying - the string into a vector. - -2003-02-11 Kim F. Storm - - * keymap.c (Fremap_command): Return nil if arg is not a symbol. - -2003-02-11 Kenichi Handa - - * Makefile.in (lisp, shortlisp): Add malayalam.el and tamil.el. - -2003-02-10 Kim F. Storm - - * process.c: Doc fixes. - (syms_of_process): Add `:' prefix to QCfilter_multibyte. - -2003-02-10 Kenichi Handa - - * fns.c (Fstring_to_multibyte): Fix typo in the docstring. - - * process.c (QCfilter_multibyte): New variable. - (setup_process_coding_systems): New function. - (Fset_process_buffer, Fset_process_filter): - Call setup_process_coding_systems. - (Fstart_process): Initialize the member `filter_multibyte' of - struct Lisp_Process. - (create_process): Call setup_process_coding_systems. - (Fmake_network_process): New keyward `:filter-multibyte'. - Initialize the member `filter_multibyte' of struct Lisp_Process. - Call setup_process_coding_systems. - (server_accept_connection): Call setup_process_coding_systems. - (read_process_output): If the process has a filter, decide the - multibyteness of a string to given to the filter by - `filter_multibyte' member of the process. If the process doesn't - have a filter and the result of conversion is unibyte, use - Fstring_to_multibyte (not Fstring_make_multibyte) to get the - multibyte form. - (Fset_process_coding_system): Call setup_process_coding_systems. - (Fset_process_filter_multibyte): New function. - (Fprocess_filter_multibyte_p): New function. - (syms_of_process): Intern and staticpro QCfilter_multibyte. - Defsubr Sset_process_filter_multibyte and - Sprocess_filter_multibyte_p. - - * process.h (struct Lisp_Process): New member filter_multibyte. - - * lisp.h (setup_process_coding_systems): Add prototype. - - * buffer.c (Fset_buffer_multibyte): If the current buffer has a - process, update coding systems for the process. - -2003-02-09 Kenichi Handa - - * fns.c (string_to_multibyte): New function. - (Fstring_to_multibyte): New function. - (syms_of_fns): Defsubr it. - -2003-02-08 Andreas Schwab - - * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable - instead of the substitution. - -2003-02-08 Jan Dj,Ad(Brv - - * xterm.c (x_make_frame_visible): Call gtk_window_deiconify. - - * xmenu.c (menu_position_func): Adjust menu popup position so that - the menu is fully visible. - -2003-02-07 Jan Dj,Ad(Brv - - * xterm.c (x_text_icon, x_raise_frame, x_lower_frame) - (x_make_frame_invisible, x_wm_set_icon_position): - Use FRAME_OUTER_WINDOW instead of ifdef X_TOOLKIT/else/endif. - - * xfns.c (x_set_name, x_set_title): Ditto. - -2003-02-04 Richard M. Stallman - - * keyboard.c (echo_now): Update before_command_echo_length. - (Freset_this_command_lengths): Reset this_command_key_count etc. - immediately rather than arranging to do it later. - (before_command_key_count_1, before_command_echo_length_1) - (before_command_restore_flag): Vars deleted. - (add_command_key): Don't handle before_command_restore_flag. - (read_char, record_menu_key): Don't update before_command_key_count or - before_command_echo_length. - (read_char): Don't handle before_command_restore_flag. - - * keyboard.c (command_loop_1): Don't call adjust_point_for_property - in direct-output clauses if it wouldn't be called in the ordinary case. - -2003-02-04 Kim F. Storm - - * keyboard.c (syms_of_keyboard) : Doc fix. - -2003-02-02 Jan Dj,Ad(Brv - - * gtkutil.c (remove_from_container): Copying list is not needed. - (xg_update_menubar, xg_update_menu_item, xg_update_submenu) - (xg_modify_menubar_widgets, update_frame_tool_bar): Call g_list_free - on list returned from gtk_container_get_children to avoid memory leak. - -2003-02-01 Jason Rumney - - * w32fns.c (w32_create_pixmap_from_bitmap_data): Use alloca for - local malloc. - [HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel - definitions in xpm.h. - (init_xpm_functions): New function. - (xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm. - (init_external_image_libraries): Try to load libXpm.dll. - - * fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting - timestamp. - -2003-01-31 Dave Love - - * syntax.c (Fskip_chars_forward) - (open-paren-in-column-0-is-defun-start): Doc fix. - -2003-01-31 Joe Buehler - - * fileio.c: Support // at start of name for Cygwin (just added proper - preprocessor tests). - - * keyboard.c: Port to Cygwin (just added proper preprocessor tests). - - * Makefile.in: Use @EXEEXT@ for Cygwin. - - * mem-limits.h: Added ifdef to define BSD4_2 for Cygwin. - - * s/cygwin.h: Added for Cygwin port. - -2003-01-31 Juanma Barranquero - - * w32fns.c (DrawText): Kludge to avoid a redefinition on Windows - when including gif_lib.h. - (init_gif_functions, init_tiff_functions): New functions. - (gif_load, tiff_load): Sync with xfns.c version. Adjust colors for - Windows. Disable color table lookups. Call library functions - through pointers determined at runtime. - (init_external_image_libraries): Try to load libungif.dll and - libtiff.dll. - -2003-01-31 Kenichi Handa - - * xdisp.c (SKIP_GLYPHS): New macro. - (set_cursor_from_row): Skip all glyphs that comes from overlay string. - -2003-01-30 Jan Dj,Ad(Brv - - * gtkutil.c (free_frame_tool_bar): Remove debug printf. - -2003-01-30 Dave Love - - * alloc.c (Vgc_elapsed, gcs_done): New variables. - (Fgarbage_collect): Use them. - (init_alloc, syms_of_alloc): Set them up. - -2003-01-30 Juanma Barranquero - - * w32fns.c (init_external_image_libraries): Add missing operator. - -2003-01-29 Jason Rumney - - * w32fns.c (init_external_image_libraries): Allow jpeg-62.dll as - an alternative name for jpeg.dll. - -2003-01-29 Kenichi Handa - - * xdisp.c (set_cursor_from_row): Pay attention to string display - properties. - -2003-01-28 Benjamin Riefenstahl - - * macterm.c (keycode_to_xkeysym_table): Add , , - . - (keycode_to_xkeysym_table): Reformat and add more comments. - (XTread_socket): Drop special case for backspace. - -2003-01-28 Andrew Choi - - * macfns.c (x_to_mac_color): Correct the order for parsing the RGB - values in old-style RGB specs. - -2003-01-27 Juanma Barranquero - - * w32fns.c (init_external_image_libraries): Try alternate names for the - jpeg dll. - -2003-01-27 Jan Dj,Ad(Brv - - * gtkutil.c (create_dialog, xg_separator_p) - (xg_item_label_same_p, xg_update_menu_item): Check for NULL string - before calling strcmp or strlen. - -2003-01-26 Jan Dj,Ad(Brv - - * gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display - and handle image load failure. - -2003-01-26 Jason Rumney - - * w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper): - New functions. - (jpeg_load): Sync with xfns.c version. Adjust colors for Windows. - Disable color table lookups. Call jpeg library functions - through pointers determined at runtime. - (init_external_image_libraries): Try to load jpeg.dll. - -2003-01-25 Richard M. Stallman - - * lisp.h: Declare format2 instead of format1. - - * fileio.c (barf_or_query_if_file_exists): - Call format2 instead of format1. - - * editfns.c (format2): New function, replaces format1 - but takes exactly two Lisp Objects as format args. - - * buffer.c (Fkill_buffer): Call format2 instead of format1. - -2003-01-25 Jan Dj,Ad(Brv - - * xterm.h: Change to return value of x_dispatch_event to int. - - * xterm.c (x_filter_event): New function. - (event_handler_gdk, XTread_socket): Call x_filter_event. - (x_dispatch_event): Change to return value of finish. - (event_handler_gdk): Use return value from x_dispatch_event. - - * xfns.c (x_window): Call create_frame_xic for GTK version to - initialize input methods. - - * gtkutil.h: Add (void) prototypes. - - * gtkutil.c (create_menus): Remove code that puts the help menu to - the right. - -2003-01-25 Jason Rumney - - * w32fns.c (XPutPixel): Handle monochrome images; used for masks. - [HAVE_PNG]: Sync with xfns.c version. - (png_load): Adjust colors for Windows. Use Windows - bitmaps. Disable color table lookups. - (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros. - (init_png_functions): New function. - (png_read_from_memory, png_load): Call png library functions - through pointers determined at runtime. - (QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare. - (init_external_image_libraries): New function. - (init_xfns): Call it. - -2003-01-24 Andreas Schwab - - * minibuf.c (Fminibuffer_message): Verify type of parameter. - -2003-01-24 Jan Dj,Ad(Brv - - * gtkutil.c (xg_initialize): Initialize id_to_widget here instead - of static initializer. - -2003-01-24 Dave Love - - * s/gnu-linux.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more - architectures. - - * alloc.c (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]: - Use __alignof__. - -2003-01-24 Kenichi Handa - - * keyboard.c (adjust_point_for_property): New second arg MODIFIED. - It it is nonzero, don't pretend that an invisible area doesn't exist. - (command_loop_1): Call adjust_point_for_property with proper - second arg. - -2003-01-22 Jason Rumney - - Sync changes with xterm.c and xfns.c. - - * w32term.c (x_draw_glyph_string_foreground) - (x_draw_composite_glyph_string_foreground): Implement overstriking. - - * w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current - phys_cursor's hpos is overwritten. This is still not completely - correct, as it doesn't really make sense to use hpos at all to - get the cursor glyph (as that is relative to the width of the - characters on the line, which may have changed during the update). - - * w32term.c (notice_overwritten_cursor): Handle the special case - of the cursor being in the first blank non-text line at the - end of a window. - - * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor) - (x_draw_phys_cursor_glyph): Set phys_cursor_width here. - Compute from the x position returned by x_draw_glyphs. - - (x_display_and_set_cursor): Don't set phys_cursor_width here, - except for NO_CURSOR and system caret, to make phys_cursor_width - contain what its name suggests. - (notice_overwritten_cursor): Consider the cursor image erased if - the output area intersects the cursor image in y-direction. - - * w32term.c (note_mode_line_or_margin_highlight): Rename from - note_mode_line_highlight and extend. - - * w32term.c (last_window): New variable. - (w32_read_socket) : Generate SELECT_WINDOW_EVENTs. - (note_mouse_movement): Remove reimplemented code in #if 0. - - * w32fns.c (x_set_cursor_type): Set cursor_type_changed, - not update_mode_lines, and always set it to 1. - -2003-01-21 Jason Rumney - - * w32fns.c (IDC_HAND): Define it if system headers don't. - -2003-01-21 KOBAYASHI Yasuhiro - - * w32term.h (struct w32_output): New member hand_cursor. - (WM_EMACS_SETCURSOR): New message definition. - - * w32term.c (note_mode_line_highlight): Delete #if 0 to enable - function w32_define_cursor. - (note_mouse_highlight): Initialize, setup cursor accoding to mouse - position, change member name output_data.x to output_data.w32 and - add function w32_define_cursor. - (show_mouse_face): Delete #if 0 to enable function w32_define_cursor - and change member name output_data.x to output_data.w32. - (w32_initialize_display_info): - Setup dpyinfo->vertical_scroll_bar_cursor. - - * w32fns.c (Vx_hand_shape): New variable. - (w32_wnd_proc): Add message entries for WM_SETCURSOR and - WM_EMACS_SETCURSOR. - (x-create-frame): Setup Cursor types. - -2003-01-21 David Ponce - - * w32term.c (w32_encode_char): For DIM=1 charset, set - ccl->reg[2] to -1 before calling ccl_driver. - (Sync. with xterm.c x_encode_char change by Kenichi Handa - on 2002-09-30.) - (w32_draw_relief_rect): Declare all args. - (w32_define_cursor): New. - - * w32fns.c (w32_load_cursor): New function. - (w32_init_class): Use it. - (x_put_x_image): Declare all args. - -2003-01-21 Richard Dawe - - * Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG. - -2003-01-21 Jan Dj,Ad(Brv - - * gtkutil.c: Must include stdio.h before termhooks.h. - -2003-01-21 Dave Love - - * alloc.c (Fgc_status): Print zombie list. - (mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: - Fix assignment of zombies. - (Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: - Don't take car of non-cons. - - * s/sol2-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. - - * s/sunos4-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. - -2003-01-20 David Ponce - - * w32menu.c (digest_single_submenu): Declare all args. - - Sync with 2002-12-23 Richard M. Stallman - changes in xmenu.c: - - (parse_single_submenu): Use individual keymap's prompt - string as pane name, if there is one. - (set_frame_menubar): Save menu_items_n_panes from each call to - parse_single_submenu and use it when calling digest_single_submenu. - -2003-01-20 Steven Tamm - - * macterm.c (XTread_socket): Check for valid, visible window - before sending a scroll-wheel event. - -2003-01-20 Richard M. Stallman - - * xdisp.c (redisplay_window): If mini window's buffer is not - a minibuffer, then redisplay it like other windows. - -2003-01-20 Jan Dj,Ad(Brv - - * gtkutil.c (xg_create_frame_widgets): Check if there is an - external tool bar before setting tool bar height. - -2003-01-19 Jan Dj,Ad(Brv - - * xterm.c (handle_one_xevent): Surround popup_activated - with #ifdef:s for non-toolkit version. - - * Makefile.in (XOBJ): Add gtkutil.o if USE_GTK. - (gtkutil.o): New file. - (TOOLKIT_DEFINES): Set to -DUSE_GTK if HAVE_GTK. - (LIBW): Set to @GTK_LIBS@ if USE_GTK. - - * gtkutil.c: New file for GTK version. - - * gtkutil.h: New file for GTK version. - - * xterm.h: Add xt_or_gtk_widget. - Include gtk files for USE_GTK. - (struct x_output): Add toolbar_height. - (struct x_output): Add GTK widgets and Gdk size_hints. - (GTK_WIDGET_TO_X_WIN, FRAME_GTK_OUTER_WIDGET, FRAME_GTK_WIDGET) - (FRAME_OUTER_WINDOW): New macros for USE_GTK. - (FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation. - - * xterm.c: Include gtkutil.h for USE_GTK. - (free_frame_menubar): Declare extern void for USE_GTK. - (note_mouse_highlight): Check popup_activated for USE_GTK. - (xt_action_hook): Don't compile if USE_GTK. - (x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK. - (xg_scroll_callback): New function. - (x_create_toolkit_scroll_bar): Call xg_create_scroll_bar for USE_GTK. - (x_set_toolkit_scroll_bar_thumb): Call xg_set_toolkit_scroll_bar_thumb - for USE_GTK. - (x_scroll_bar_create): Call xg_update_scrollbar_pos and - xg_show_scroll_bar for USE_GTK. - (x_scroll_bar_remove): Call xg_remove_scroll_bar for USE_GTK. - (XTset_vertical_scroll_bar): Call xg_update_scrollbar_pos for USE_GTK. - (event_handler_gdk): New function for USE_GTK. - (handle_one_xevent): Call xg_resize_widgets for USE_GTK. - (handle_one_xevent): Make sure widget is mapped before - calling x_real_positions for USE_GTK. - (XTread_socket): Add GTK event loop for USE_GTK. - (x_set_window_size): Call xg_frame_set_char_size for USE_GTK. - (x_make_frame_visible): Call gtk_widget_show_all for USE_GTK. - (x_make_frame_invisible): Call gtk_widget_hide for USE_GTK. - (x_iconify_frame): Add code for USE_GTK. - (x_free_frame_resources): Call gtk_widget_destroy for USE_GTK. - (x_wm_set_size_hint): Only compile if not USE_GTK. GTK version - is in gtkutil.c. - (x_term_init): Add initialization for GTK. - (syms_of_xterm): Set Vx_toolkit_scroll_bars for USE_GTK. - - * xmenu.c: Include gtkutil.h for USE_GTK. - (Fx_popup_menu): Use current position if x and y are nil. - (single_menu_item, single_menu_item, Fx_popup_dialog): - Check for USE_GTK. - (popup_widget_loop): New function for USE_GTK. - (x_activate_menubar): Add code for USE_GTK. - (popup_activate_callback, popup_deactivate_callback) - (menu_highlight_callback, menubar_selection_callback): - Add USE_GTK versions. - (update_frame_menubar): Call xg_update_frame_menubar for USE_GTK. - (set_frame_menubar): Call xg_modify_menubar_widgets for USE_GTK. - (free_frame_menubar): Only compile if not USE_GTK. GTK version - is in gtkutil.c. - (popup_selection_callback): New version for USE_GTK. - (create_and_show_popup_menu): New fuction, one USE_GTK version and - one USE_X_TOOLKIT version. - (xmenu_show): Call create_and_show_popup_menu. - (dialog_selection_callback): New version for USE_GTK. - (create_and_show_dialog): New fuction, one USE_GTK version and - one USE_X_TOOLKIT version. - (xdialog_show): Call create_and_show_dialog. - - * xfns.c: Include gtkutil for USE_GTK. - (x_window_to_frame, x_any_window_to_frame) - (x_non_menubar_window_to_frame, x_menubar_window_to_frame) - (x_top_window_to_frame): Add code for USE_GTK. - (x_set_background_color): Call xg_set_background_color for GTK. - (x_set_menu_bar_lines): Check for USE_GTK. - (x_set_tool_bar_lines): Call update_frame_tool_bar for USE_GTK. - (x_set_name, x_set_title): Call gtk_window_set_title for USE_GTK. - (x_window): Call xg_create_frame_widgets for USE_GTK. - (Fx_create_frame): Check for USE_GTK. - (Fx_file_dialog): New implementation for USE_GTK. - - * xdisp.c: Add check for USE_GTK for extern void set_frame_menubar. - (update_menu_bar): Add check for USE_GTK. - (update_tool_bar): Add check for USE_GTK and external tool bar. - (redisplay_tool_bar): Add check for USE_GTK and external tool bar. - (redisplay_internal): Add check for USE_GTK and popup_activated. - (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR. - (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR. - (display_menu_bar): Add check for USE_GTK - - * lisp.h (Vx_resource_name): Declare extern. - - * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT - for USE_GTK. - (make_lispy_event): Check MENU_BAR_EVENT for USE_GTK. - - * frame.h (struct frame): Add external_tool_bar. Check for USE_GTK. - (FRAME_EXTERNAL_TOOL_BAR): New macro. - (FRAME_EXTERNAL_MENU_BAR): Check for USE_GTK. - - * fileio.c (Fread_file_name): Add check for USE_GTK. - - * dispnew.c (adjust_frame_glyphs_for_window_redisplay): - Add check for USE_GTK. - - * config.in: Added HAVE_GTK. - - * alloc.c (Fgarbage_collect): Call xg_mark_data for GTK. - -2003-01-18 Stefan Monnier - - * charset.h (Funibyte_char_to_multibyte): Export. - -2003-01-18 Jan Dj,Ad(Brv - - * xmenu.c (mouse_position_for_popup): New function. - (Fx_popup_menu): Call mouse_position_for_popup for X and - mouse_position_hook for others. - -2003-01-17 Kim F. Storm - - * editfns.c (Finsert): Mention `string-make-multibyte' and - `string-as-multibyte' in doc string. - -2003-01-17 Kenichi Handa - - * fontset.c (syms_of_fontset): Setup Vfont_encoding_alist here. - - * editfns.c (Fformat): Convert an unibyte char argument that is - formatted by "%c" to multibyte if the total result must be a - multibyte string. - -2003-01-16 Kim F. Storm - - * process.c (set-process-filter): Document unibyte/multibyte-ness - of string argument. - -2003-01-16 Kenichi Handa - - * charset.h (NEXT_CHAR_BOUNDARY, PREV_CHAR_BOUNDARY): New macros. - - * regex.c (GET_CHAR_BEFORE_2): Use PREV_CHAR_BOUNDARY. - (re_search_2): Likewise. - -2003-01-15 Kenichi Handa - - * xdisp.c (message_dolog): Fix bug of the case that *Message* - buffer is unibyte. - -2003-01-15 Francesco Potort,Al(B - - * fns.c (Fsubstring): Clarify doc string. - - * textprop.c (Ftext_properties_at, Fnext_char_property_change) - (Fprevious_char_property_change) - (Fnext_single_char_property_change) - (Fprevious_single_char_property_change, Fnext_property_change) - (Fnext_single_property_change, Fprevious_property_change) - (Fprevious_single_property_change, Fadd_text_properties) - (Fput_text_property, Fset_text_properties) - (Fremove_text_properties, Fremove_list_of_text_properties) - (Ftext_property_any, Ftext_property_not_all): Clarify doc strings. - -2003-01-14 Kim F. Storm - - * process.h (struct Lisp_Process): New member plist replaces old - member private_vars. All uses changed. - - * process.c: Reworked 2003-01-12 change -- call a plist a plist! - (QCplist): Rename from QCvars. Change all uses. - (Fprocess_plist): Replaces Fprocess_variable. Simplified. - (Fset_process_plist): Replaces Fset_process_variable. Simplify. - (syms_of_process): Intern, staticpro, defsubr these. - (Fmake_network_process): Describe :plist arg. Remove :vars arg. - -2003-01-14 Francesco Potort,Al(B - - * m/delta.h: Remove (obsolete). - -2003-01-13 Francesco Potort,Al(B - - * fileio.c (Fdelete_directory, Fdelete_file): Document the - behaviour in front of symlinks. - (Fdelete_file): Raise an error on directories. - -2003-01-13 Dave Love - - * fns.c (Freverse): Use QUIT. - -2003-01-13 Richard M. Stallman - - * minibuf.c (minibuffer_completion_contents): - Error if point is inside prompt. - - * keyboard.c (command_loop_1): Don't redisplay directly - if there's a post-command-hook. - - * fileio.c (syms_of_fileio) : Doc fix. - (Fdo_auto_save): Add gcpros around Ffile_name_directory. - -2003-01-12 Kim F. Storm - - * process.h (struct Lisp_Process): New member private_vars. - - * process.c (QCvars): New variable. - (syms_of_process): Intern and staticpro it. - (Fset_process_contact): Removed function. - (Fprocess_variable, Fset_process_variable): New functions. - (syms_of_process): Defsubr them. - (Fstart_process): Initialize private_vars plist to nil. - (Fmake_network_process): New arg :vars to setup the private - variables for new network process. - (server_accept_connection): Copy server's private variables to - client process. - - * alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious - crashes). Code rewritten and simplified. Now directly aligns the - pointer and recalculates pure_bytes_used, rather than aligning the - size and adjusting the pointer. - -2003-01-11 Kim F. Storm - - * process.c (Fset_process_contact): New function. - (syms_of_process): defsubr it. - (make-network-process): Update doc. - -2003-01-10 Andreas Schwab - - * alloc.c (pure_alloc): Correct alignment for Lisp_Floats. - Reported by Berthold Gunreben . - -2003-01-10 Dave Love - - * composite.c (syms_of_composite): Make composition_hash_table weak. - -2003-01-09 Kim F. Storm - - * process.c (Fmake_network_process): Convert new port number - to host byte order for `:service t' case. From Mario Lang. - -2003-01-08 Jan Dj,Ad(Brv - - * xfns.c (Fx_file_dialog): Call XtAppNextEvent and x_dispatch_event - instead of XtAppProcessEvent. - - * xterm.c (handle_one_xevent): New function. - (x_dispatch_event): New function. - (XTread_socket): Call handle_one_xevent. - - * xterm.h (FRAME_OUTER_TO_INNER_DIFF_X/Y): New. - - * xmenu.c (Fx_popup_menu): If popping up at mouse position, - call XQueryPointer to get coordinates. - (popup_get_selection): Do not set popup_activated_flag to zero, - let popup_deactivate_callback do that. Needed for Motif. - Call x_dispatch_event instead of XtDispatchEvent. - (xmenu_show): Calculate root coordinate from frame top/left position. - -2003-01-08 Kim F. Storm - - * process.c (server_accept_connection): Fix recording of new - connection's local address in :local property of contact info. - (Fmake_network_process): Record local network address for new - client processes in :local property of contact info. - (format-network-address): Add arg OMIT-PORT. Change callers. - -2003-01-07 Dave Love - - * Makefile.in (fns.o): Depend on coding.h. - -2003-01-06 Dave Love - - * fns.c: Include coding.h. Use POINTER_TYPE*, not void*. - (Vlocale_coding_system): Declare. - (Qcodeset, Qdays, Qmonths, Qpaper): New. - (Flanginfo): New. - (syms_of_fns): Initialize new stuff. - -2003-01-07 Markus Rost - - * minibuf.c (Fread_variable): Doc fix. - - * eval.c (Fuser_variable_p): Doc change. For custom variables, - use the same test as for custom-variable-p. - -2003-01-05 Richard M. Stallman - - * xdisp.c (try_scrolling): New arg LAST_LINE_MISFIT. - Count LAST_LINE_MISFIT in scroll margin for end of window. - Move label too_near_end before setting SCROLL_MARGIN_POS. - Set LAST_LINE_MISFIT before jumping there. - - * xdisp.c (try_scrolling): Calculate amount_to_scroll better in - scroll_conservatively case. If scrolling that much doesn't change - STARTP, move it down one line. - - * xdisp.c (redisplay_window): Pass last_line_misfit arg to - try_scrolling. Make it 1 after make_cursor_line_fully_visible fails. - - * xdisp.c (setup_echo_area_for_printing): Kill Emacs if no - selected frame. - - * keymap.c (apropos_predicate, apropos_accumulate): Make them static. - (syms_of_keymap): Staticpro them. - (Fapropos_internal): Initialize them and clear them out. - Don't GCPRO them. - - * buffer.c (syms_of_buffer) : Doc fixes. - - * lisp.h: New misc type Lisp_Save_Value. - (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value. - (XSAVE_VALUE): New macro. - (struct Lisp_Save_Value): New data type. - (union Lisp_Misc): Add u_save_value alternative. - (make_save_value): Declare. - - * alloc.c (make_save_value): New function. - - * xterm.c (x_catch_errors): Save dpy using make_save_value. - (x_catch_errors_unwind): Call XSync. - -2003-01-01 Richard M. Stallman - - * window.c (window_scroll_pixel_based): Partially undo last change. - - * keyboard.c (command_loop_1): Call adjust_point_for_property - in direct action cases for Qforward_char and Qbackward_char. - Set already_adjusted so it won't be done twice. - -2002-12-30 Richard Dawe - - * src/config.in (!HAVE_SIZE_T): Fix order of arguments in - type definition of size_t. - -2003-01-02 Steven Tamm - - * macterm.c (syms_of_macterm): Provide the feature "mac-carbon" to - distinguish Carbon GUI builds from X11 builds on darwin. - -2002-12-30 Steven Tamm - - * macterm.c (syms_of_macterm): Set mac-wheel-button-is-mouse-2 - to default to t. - -2002-12-29 Francesco Potort,Al(B - - * data.c (Fstring_to_number, Fminus): Better English in doc strings. - -2002-12-28 Steven Tamm - - * Makefile.in (macosx-bundle): Fix Mac OS X/Carbon port to - allow building in a different directory than source. Uses some - GNU Make extensions, but there is no other make on Mac OS X. - -2002-12-26 Francesco Potort,Al(B - - * data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local) - (Fsetq_default, Fmake_local_variable, Fkill_local_variable) - (Fmake_variable_frame_local, Faset, Fnumber_to_string, Fminus) - (Fstring_to_number): Mention the returned value in the doc strings. - -2002-12-23 Richard M. Stallman - - * buffer.c (syms_of_buffer) - : Doc fix. - - * xmenu.c (parse_single_submenu): Use individual keymap's prompt - string as pane name, if there is one. - (set_frame_menubar): Save menu_items_n_panes from each call to - parse_single_submenu and use it when calling digest_single_submenu. - - * window.c (window_scroll_pixel_based): Fix check for reaching BEGV. - Don't try to make last line fully visible if it is past end of window. - -2002-12-22 Steven Tamm - - * macmenu.c (MIN_POPUP_SUBMENU_ID): Add. - (mac_menu_show): Add support for hierarchical popup menus. - (add_menu_item): Remove indentation support. - (fill_submenu, fill_menu): Create hierarchical menus - instead of using indentation. - -2002-12-22 Richard M. Stallman - - * xdisp.c (try_cursor_movement): Don't call try_window here. - (redisplay_window): Never redisplay minibuffer when inactive. - - * window.c (select_window_1): Undo 9/21 change. - -2002-12-22 Steven Tamm - - * macterm.c (XTread_socket): Call KeyTranslate for control and - meta to deal correctly shifted non-alpha characters, like C-S-5 - being treated like C-%. Do not look for shift key to deal - with masking off control-key with mac-reverse-ctrl-meta. - -2002-12-21 Richard M. Stallman - - * xmenu.c (popup_get_selection): Now static. New arg DO_TIMERS. - If it is non-nil, run timers. Use an unwind-protect to requeue - the events that were read ahead. - (popup_get_selection_unwind): New subroutine. - (popup_get_selection_queue): File-scope variable now holds that queue. - (xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection. - (xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection. - Use an unwind-protect to pop down the dialog box. - (xdialog_show_unwind): New subroutine implements that. - - * xdisp.c (row_containing_pos): Change exit test using last_y. - (try_window_id): Abort if row_containing_pos returns null. - - * lread.c (load_error_handler): New function. - (Fload): Handle errors in Fsubstitute_in_file_name. - Don't expect Fsignal to return. - - * eval.c: Errors and throws work right with interrupt blocking. - (struct catchtag): New elt interrupt_input_blocked. - (unwind_to_catch): Restore interrupt_input_blocked from saved value. - (internal_catch, Fcondition_case, internal_condition_case) - (internal_condition_case_1, internal_condition_case_2): Save it. - (Fsignal): Don't do TOTALLY_UNBLOCK_INPUT. - - * editfns.c (Fformat): Add parens. - - * dired.c (file_name_completion): Fix that change. - Delete special quit-handling code; just use QUIT. - -2002-12-21 Tak Ota - - * dired.c (file_name_completion): Close directory on error - just as in directory_files_internal. - -2002-12-19 David Kastrup - - * window.c (Fset_window_configuration): Set old_point to correct - value when new_current_buffer == current_buffer. - -2002-12-17 Ben Key - - Revisited my earlier fix for the following entry in etc/PROBLEMS: - "Emacs built on Windows 9x/ME crashes at startup on Windows XP, - or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." - - These changes were in part based upon suggestions made by Peter - 'Luna' Runestig [peter@runestig.com]. - - * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token) - (g_b_init_get_token_information, g_b_init_lookup_account_sid) - (g_b_init_get_sid_identifier_authority ): Add several static - global variables. - - * w32.c (globals_of_w32): New function. Used to initialize those - global variables that must always be initialized on startup even - when the global variable initialized is non zero. Its primary - purpose at this time is to set the global variables - g_b_init_is_windows_9x, g_b_init_open_process_token, - g_b_init_get_token_information, g_b_init_lookup_account_sid, and - g_b_init_get_sid_identifier_authority to 0 on startup. - Called from main. - - * w32.c (is_windows_9x): Perform initialization only if - g_b_init_is_windows_9x is equal to 0. On initialization set - g_b_init_is_windows_9x equal to 1. - - * w32.c (open_process_token): Perform initialization only if - g_b_init_open_process_token is equal to 0. On initialization set - g_b_init_open_process_token equal to 1. - - * w32.c (get_token_information): Perform initialization only if - g_b_init_get_token_information is equal to 0. On initialization - set g_b_init_get_token_information equal to 1. - - * w32.c (lookup_account_sid): Perform initialization only if - g_b_init_lookup_account_sid is equal to 0. On initialization - set g_b_init_lookup_account_sid equal to 1. - - * w32.c (get_sid_identifier_authority): Perform initialization - only if g_b_init_get_sid_identifier_authority is equal to 0. - On initialization set g_b_init_get_sid_identifier_authority equal to 1. - - * w32fns.c (globals_of_w32fns): New function. Used to initialize - those global variables that must always be initialized on startup - even when the global variable initialized is non zero. - Its primary purpose at this time is to initialize the global variable - track_mouse_event_fn. - - * w32fns.c (w32_wnd_proc): Remove initialization of - track_mouse_event_fn from the handler for the WM_SETFOCUS message. - - * w32fns.c (syms_of_w32fns): Call globals_of_w32fns. - - * w32menu.c (globals_of_w32menu): New function. Used to - initialize those global variables that must always be initialized - on startup even when the global variable initialized is non zero. - Its primary purpose at this time is to initialize the global - variables get_menu_item_info and set_menu_item_info. - - * w32menu.c (initialize_frame_menubar): Remove initialization of - get_menu_item_info and set_menu_item_info. - - * w32menu.c (syms_of_w32menu): Call globals_of_w32menu. - - * w32.h (globals_of_w32, globals_of_w32fns, globals_of_w32menu): - Declare them. - - * emacs.c (main): Call globals_of_w32 prior to calling - init_environment if WINDOWSNT is defined. Call globals_of_w32fns - and globals_of_w32menu if initialized is non zero and HAVE_NTGUI - is defined. - - * w32term.c (x_update_window_begin): Fix Windows API error - detected by BoundsChecker. Test to determine if - w32_system_caret_hwnd is NULL prior to attempting to use - SendMessage to send the WM_EMACS_HIDE_CARET message to it. - - * w32term.c (x_update_window_end): Fix Windows API error - detected by BoundsChecker. Test to determine if - w32_system_caret_hwnd is NULL prior to attempting to use - SendMessage to send the WM_EMACS_SHOW_CARET message to it. - -2002-12-17 Kenichi Handa - - * coding.c (coding_system_require_warning): New variable. - (syms_of_coding): DEFVAR it. - - * coding.h (coding_system_require_warning): Extern it. - - * fileio.c (choose_write_coding_system): Even if - Vcoding_system_for_write is non-nil, if - coding_system_require_warning is nonzero, call - Vselect_safe_coding_system_function. - -2002-12-17 Markus Rost - - * Makefile.in (lisp, shortlisp): Add cus-face and timer. - (lisp): Add font-core. - -2002-12-13 Stefan Monnier - - * textprop.c (text_read_only): New arg `propval'. - (get_char_property_and_overlay): Remove unused var `next_overlay'. - (verify_interval_modification): Use text_read_only's new arg. - -2002-12-13 Kenichi Handa - - * coding.c (Funencodable_char_position): Set pend correctly. - -2002-12-12 Jason Rumney - - * w32term.c (last_mousemove_x, last_mousemove_y): New variables. - (w32_read_socket) : Use them to detect non-movement. - Be more careful about when help_events are generated. - -2002-12-12 Steven Tamm - - * macterm.c (mac_check_for_quit_char): Correctly set the - modifiers of the event to 0. - * mac.c (sys_select): Duplicate rfds before calling select to - ensure that rfds survive the while loop. - -2002-12-11 Kim F. Storm - - * xdisp.c (try_window_id): Don't call set_cursor_from_row if - row_containing_pos returned NULL. - -2002-12-10 Steven Tamm - - * mac.c (sys_read): Fix sys_read to not call select if IO is - non-blocking. - (sys_select): Fix sys_select to not use a timeout larger than - the one given. - -2002-12-10 Juanma Barranquero - - * editfns.c (Fformat): Use alloca, not _alloca. - -2002-12-09 Richard M. Stallman - - * buffer.c (Fget_buffer_create): Call Qucs_set_table_for_input - as the last thing. - -2002-12-09 Dave Love - - * s/sol2-8.h: Removed. (Not necessary.) - -2002-12-09 Matthew Swift - - * editfns.c (Fformat): Handle precision in string conversion - specifiers like libc functions do (ie, print at most that many - characters). - -2002-12-08 Richard M. Stallman - - * xdisp.c (row_containing_pos): Check more carefully - whether charpos is really in the row before returning it. - -2002-12-07 Steven Tamm - - * sysdep.c (emacs_read) [HAVE_CARBON]: Have emacs_read use sys_read. - - * eval.c (Feval) [HAVE_CARBON]: Calls mac_check_for_quit_char at - each stack frame. This may change as it could be time consuming. - - * macterm.c (mac_check_for_quit_char, quit_char_comp) - (init_quit_char_handler, mac_determine_quit_char_modifiers) - (mac_initialize): Add code to check for pressing of quit_char - in the OS event queue. - - * mac.c (sys_select): Call mac_check_for_quit_char every second - while blocking on select. - - * mac.c (sys_read): Use sys_select to test for input first - before calling read, to allow C-g to break. - -2002-12-07 Richard M. Stallman - - * minibuf.c (Fcompleting_read): Doc fix. - - * lread.c (syms_of_lread) : Doc fix. - - * fileio.c (Fcopy_file): Set immediate_quit around emacs_open call. - - * eval.c (Fdefun, Fdefmacro): Record in load-history redefining an - autoload. - - * data.c (Fdefalias): Record in load-history redefining an autoload. - - * alloca.c: Undo ifdef change accidentally made on 12-04. - -2002-12-06 Francesco Potort,Al(B - - * xfns.c (png_load): Avoid double gamma correction for PNG images. - -2002-12-04 Richard M. Stallman - - * sysdep.c (fcntl.h): Test only HAVE_FCNTL_H. - - * fileio.c (fcntl.h): Test only HAVE_FCNTL_H. - - * alloca.c: Don't use #error. - -2002-12-03 Dave Love - - * buffer.c (Qucs_set_table_for_input): New. - (Fget_buffer_create): Use it. - (Qset_buffer_major_mode_hook): Deleted. - (Fset_buffer_major_mode): Revert previous change. - (init_buffer_once): Intern ucs-set-table-for-input. - (syms_of_buffer): Delete Qset_buffer_major_mode_hook. - Add &Qucs_set_table_for_input. - -2002-12-03 Andreas Schwab - - * callint.c (Fcall_interactively): Use next_event only if less - than key_count. - -2002-12-02 Andrew Choi - - * macmenu.c (add_menu_item, fill_menubar): Truncate menu item - names to 255 characters. - - * macterm.c (XTread_socket): If all frames have been collapsed, - expand the first one before handling drag-and-drop events. - - * s/darwin.h (GETPGRP_NO_ARG): Delete. Replaced by GETPGRP_VOID, - which is detected by autoconf. - -2002-12-01 Steven Tamm - - * unexmacosx.c (copy_twolevelhints, dump_it): Now corrects the - offset in two hints table to allow prebinding to be redone and - allow the executable to be stripped. - -2002-11-29 Dave Love - - * fns.c (Frequire): Don't call LOADHIST_ATTACH if feature was - already provided. - -2002-11-29 Richard M. Stallman - - * xdisp.c (start_display): Check more intelligently for - whether the line is continued. - (move_it_vertically_backward): Clear it->continuation_lines_width. - -2002-11-28 Dave Love - - * s/amdahl.h, s/unipl5-0.h, m/sgi3000.h, s/3700.h, s/alliant-2800.h: - * s/alliant.h, s/altos.h: Deleted. (Unused/empty.) - -2002-11-27 Steven Tamm - - * fns.c (Frequire): Change nesting allowance from 2 to 3 to cause - more descriptive error output from lread.c:Fload upon most require - cycles during boostrapping. - -2002-11-27 Jason Rumney - - * fileio.c (Finsert_file_contents): Give a more appropriate error - for files bigger than 2Gb when off_t is 32 bit. - - * dired.c (Ffile_attributes): Don't return negative file sizes for - files bigger than 2Gb when off_t is 32 bit. - -2002-11-27 Dave Love - - * s/irix6-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. - - * systty.h: Don't conditionally define GETPGRP_NO_ARG. - Test GETPGRP_VOID instead. - [BSD_TERMIOS]: Remove definitions (never used). - - * s/osf5-0.h (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist): - Don't define. - (GC_SETJMP_WORKS, GC_MARK_STACK): Define. - - * m/mips.h (WORDS_BIG_ENDIAN): Define conditionally. - -2002-11-25 Jason Rumney - - * w32.c (sys_write): Avoid non-blocking mode, which is not fully - supported. - -2002-11-25 Dave Love - - * unexalpha.c (update_dynamic_symbols): Cast arg of fatal_unexec. - - * Makefile.in (TEMACS_LDFLAGS): Update last change. - -2002-11-25 Andreas Schwab - - * m/ia64.h: Restore `#ifndef NOT_C_CODE' deleted by last change. - -2002-11-24 Steven Tamm - - * unexmacosx.c (unexec_realloc): Use malloc_default_zone to - determine the size of pointers alloced in unexed space instead - of using possibly invalid emacs_zone pointers. This fixes the - binary incompatibility problems caused by updates to libSystem.B. - -2002-11-24 Richard M. Stallman - - * search.c (Fstring_match): Doc fix. - - * callint.c (Fcall_interactively): If a command fails because - `*' detects a read-only buffer, but RECORD_FLAG is set, - record it anyway if the args don't actually do tty input. - -2002-11-22 Dave Love - - * sysdep.c (stuff_char) [PROTOTYPES]: Provide ISO C arglist. - - * keyboard.c (interrupt_signal): Provide forward declaration. - (kbd_buffer_store_event): Don't declare interrupt_signal. - - * xdisp.c (store_frame_title_char) [PROTOTYPES]: Provide ISO C arglist. - -2002-11-21 Richard M. Stallman - - * eval.c (interactive_p): Skip any number of bytecode - and special form frames, in any order. - -2002-11-20 Jason Rumney - - * w32fns.c (convert_mono_to_color_image): New function. - (xbm_load, xbm_load_image): Use it when foreground or background - is explicitly set. - -2002-11-19 Dave Love - - * s/usg5-4.h, sco4.h (bcopy, bzero, bcmp): Don't define. - -2002-11-18 Jason Rumney - - * w32fns.c (x_build_heuristic_mask): Filter palette info from color. - (XPutPixel): Swap blue and red. - (xpm_format, pbm_format, png_format, jpeg_format, tiff_format) - (gif_format, gs_format): Use IMAGE_ASCENT_VALUE. - (xpm_image_p, pbm_image_p, png_image_p, jpeg_image_p) - (tiff_image_p, gif_image_p, gs_image_p): Don't check ascent. - -2002-11-18 Dave Love - - * m/orion105.h (HAVE_ALLOCA): Don't define. - - * m/m68k.h, m/arm.h, mtekxd88.h, m/tower32v3.h: Don't define alloca. - - * m/intel386.h: Don't include alloca.h or define alloca. - - * m/ia64.h: Don't include alloca.h, stdlib.h. Don't declare - malloc, realloc, calloc. - - * m/hp800.h, m/sr2k.h, m/ns16000.h, m/wicat.h (bcopy, bzero) - (bcmp): Don't define. - - * m/delta.h (bcopy, bzero, bcmp, alloca): Don't define. - - * m/amdahl.h: Don't define LIB_STANDARD. - - * m/alpha.h: Move OSF1 stuff from here to s/osf1.h. - - * s/osf1.h: Move OSF1 stuff from m/alpha.h to here. - - * s/irix4-0.h, s/irix5-0.h, m/powerpcle.h, m/sparc.h: - Don't include alloca.h. - - * s/aix3-2.h (HAVE_FSYNC): Don't define. - - * regex.c (_GNU_SOURCE): Don't define. - - * process.c (_GNU_SOURCE): Don't define. - - * fileio.c (_GNU_SOURCE, HAVE_FSYNC): Don't define. - -2002-11-18 Markus Rost - - * s/sol2-8.h: Include sol2-6.h. - -2002-11-18 Miles Bader - - * dispextern.h (struct face): Add `overstrike' field. - * xterm.c (x_draw_glyph_string_foreground) - (x_draw_composite_glyph_string_foreground): Implement overstriking. - * xfaces.c (load_face_font): Set `face->overstrike' based on - result from choose_face_font. - (best_matching_font, choose_face_font): Add `needs_overstrike' - argument, and use it to return whether overstriking is desirable - for this face/font combo. - (set_font_frame_param: Pass new argument to choose_face_font. - -2002-11-17 Ben Key - - This change is my fix for the following entry in etc/PROBLEMS: - "Emacs built on Windows 9x/ME crashes at startup on Windows XP, - or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." - - * w32.c: Added wrapper functions around the win32 API functions - OpenProcessToken, GetTokenInformation, LookupAccountSid, and - GetSidIdentifierAuthority. These wrapper functions serve two - purposes: - 1. They ensure that the wrapped function can never be called - when Emacs is running on an operating system on which they are - not supported (Microsoft Windows 95 / 98 / ME). - 2. They call the wrapped functions via function pointers rather - than calling them directly. This avoids taking advantage of the - undocumented fact that although these functions are not supported - in the 9x branch of Microsoft Windows, the functions do exist in - the version of advapi32.dll that is found in the 9x branch of - Microsoft Windows. - - * w32.c (init_user_info): Replace the calls to the win32 API - functions OpenProcessToken, GetTokenInformation, LookupAccountSid, - and GetSidIdentifierAuthority with calls to the newly added - wrapper functions. - - * w32.h: Added extern declarations for the following functions: - syms_of_w32term, syms_of_w32fns, syms_of_w32select, - syms_of_w32menu, and void syms_of_fontset. - - * w32fns.c (w32_wnd_proc): Add code to reinitialize the - function pointer track_mouse_event_fn in the handler for the - WM_SETFOCUS message. - - * w32menu.c (initialize_frame_menubar): Add code to - reinitialize the function pointers set_menu_item_info and - get_menu_item_info. - -2002-11-17 Ben Key - - * sound.c: Added a partial implementation of play-sound-internal - for Microsoft Windows. Added various #ifdef / #else / #endif - code blocks to separate the code that will compile under - Microsoft Windows from the code that is specific to GNU/Linux. - Moved several blocks of code around to make this separation of code - into Windows compatible and GNU/Linux compatible code blocks easier. - - * makefile.w32-in: Include sound.c and link with WinMM.lib. - - * s/ms-w32.h: Defined the symbol HAVE_SOUND so that the newly - added support for play-sound-internal under Windows would be - included in the build of Emacs. - -2002-11-16 Jason Rumney - - * w32fns.c (w32_load_system_font): Don't disable Cleartype. - - * w32term.c (w32_get_glyph_string_clip_rect): Clip cursor tightly. - -2002-11-15 Stefan Monnier - - * keyboard.c (command_loop_1): Fix int/Lisp_Object mixup. - (adjust_point_for_property): Move out of display and invisible even if - we were already inside before (in case a property was added while - we weren't looking). Be more careful when handling invisible props. - Skip invisible text as if it really wasn't there at all. - -2002-11-15 Jason Rumney - - * w32term.c (x_draw_image_foreground) - (w32_draw_image_foreground_1): Use standard copy and invert - operations to draw images. - - * w32fns.c (x_create_x_image_and_pixmap): Fill in palette for - depth of 1. - (xbm_read_bitmap_data): Invert bits as xbm is read in. - (XPutPixel): Don't invert bits here. - -2002-11-15 Jason Rumney - - * w32term.c (x_draw_image_foreground, x_draw_image_glyph_string) - (w32_draw_image_foreground_1): Handle image masks. - (x_draw_image_glyph_string): Don't BitBlt transparently. - - * w32fns.c (w32_defined_color): Adjust RGB values for Emacs. - (x_from_xcolors): Adjust RGB values for W32. - (image_background, image_background_transparent) - (postprocess_image, x_to_xcolors, x_disable_image) - (x_build_heuristic_mask): Adapt for W32 and enable. - (x_create_x_image_and_pixmap): Mark images with palettes as such. - (xbm_load): Remove unused variable. - -2002-11-14 Richard M. Stallman - - * buffer.c (syms_of_buffer): Doc fix. - -2002-11-14 Dave Love - - * alloc.c (SETJMP_WILL_NOT_WORK): Add note. - - * xterm.c (x_draw_relief_rect, x_draw_box_rect, x_update_cursor): - * xmenu.c (unuse_menu_items, digest_single_submenu): - * xfns.c (x_put_x_image): - * xdisp.c (message2_nolog, set_message): - * undo.c (record_point): - * terminfo.c (tparam): - * syntax.c (scan_sexps_forward): - * scroll.c (calculate_scrolling, calculate_direct_scrolling): - * composite.c (update_compositions): - * cm.c (calccost, cmgoto): - * charset.c (c_string_width): Declare all args (per C99). - - * frame.h (get_specified_cursor_type, get_window_cursor_type): Declare. - - * lisp.h (get_specified_cursor_type, get_window_cursor_type): - Don't declare. - - * emacs.c (main) [!VMS]: Avoid third arg. - - * fns.c (Fcopy_sequence): Doc fix. - (Fmap_char_table): Cast `call2'. - -2002-11-14 Francesco Potort,Al(B - - * s/sol2-8.h: New file. - -2002-11-14 Kim F. Storm - - * buffer.c (syms_of_buffer) : Document symbol - dependency on `risky-local-variable' and the :propertize form. - -2002-11-12 Stefan Monnier - - * fns.c (Fmap_char_table): Don't use map_char_table's function arg. - - * syntax.c (scan_sexps_forward): Undo last patch. - Use a more obvious fix: check eob before updating the syntax table. - -2002-11-09 Stefan Monnier - - * syntax.c (scan_sexps_forward): Update syntax table before reading - a char rather than after so we don't update the table past eob. - -2002-11-09 Dave Love - - * buffer.c (Fset_buffer_major_mode): Fix last change. - - * regex.c (regexec): Fix pmatch declaration. - - * cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input. - - * keyboard.c (command_loop_1): Apply Vtranslation_table_for_input - to self-inserting characters. - (syms_of_keyboard) : Doc fix. - - * coding.c (Vtranslation_table_for_input): New. - (syms_of_coding): DEFVAR it. - -2002-11-08 Juanma Barranquero - - * w32term.c (w32_draw_fringe_bitmap): Remove unused local variable - window. - -2002-11-08 Pavel Jan,Am(Bk - - * process.c (Fformat_network_address): Remove unused locals p, - cp, and i. - -2002-11-06 Dave Love - - * buffer.c (Qset_buffer_major_mode_hook): New. - (Fset_buffer_major_mode): Use it. - -2002-11-06 Richard M. Stallman - - * xterm.c (x_term_init): Use turn_on_atimers, not start_polling - and stop_polling. - - * process.c (wait_reading_process_input): - Test POLLING_PROBLEM_IN_SELECT, not hpux. - Avoid initialization for auto Lisp_Object var. - - * s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef. - - * s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined. - -2002-11-05 Richard M. Stallman - - * s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef. - - * callint.c (Fcall_interactively): New local filter_specs. - (Fcall_interactively): Check for progn as well as let. - Add a gcpro. - (Qprogn): New variable. - (syms_of_callint): Staticpro and init Qprogn. - -2002-11-04 John Paul Wallington - - * lread.c (Feval_buffer): Doc fix. - -2002-11-04 Dave Love - - * keyboard.c (read_char): Always translate iff - Vkeyboard_translate_table is a char table and c is valid. - - * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table - and fix C types. - -2002-11-03 Stefan Monnier - - * xdisp.c (single_display_prop_intangible_p): Strings are intangible. - - * editfns.c (get_pos_property): Don't hardcode Qfield. - - * keyboard.c (adjust_point_for_property): Handle `display' prop on - overlays. Also handle `invisible' prop. - -2002-11-02 Stefan Monnier - - * coding.c (decode_coding_emacs_mule, decode_coding_iso2022) - (decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL. - -2002-11-01 Andreas Schwab - - * editfns.c (Fmessage): Revert last change to properly handle %%. - -2002-11-01 Stefan Monnier - - * xmenu.c (unuse_menu_items): New fun. - (menu_items_inuse): New var. - (syms_of_xmenu): Initialize it. - (init_menu_items): Use it to detect re-entrance. - (Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset when done. - (Fx_popup_menu): Remove spurious XSETFRAME. - - * editfns.c (find_field): Make an exception for nil fields. - -2002-11-01 Dave Love - - * m/gec63.h: Deleted. - -2002-10-31 Dave Love - - * xterm.c (XTread_socket): Fix last change. - (xaw_scroll_callback): Cast call_data to long to avoid warning. - -2002-10-31 Stefan Monnier - - * process.c (Fformat_network_address): Fix int/Lisp_Object mixup. - -2002-10-30 Stefan Monnier - - * editfns.c (overlays_around, get_pos_property): New funs. - (find_field): Use them. - Also be careful not to modify POS before its last use. - (Fmessage): Don't Fformat if there's nothing to format. - -2002-10-30 Dave Love - - * process.c [HAVE_SYS_WAIT]: Include sys/wait.h. - [HAVE_PTY_H]; Include pty.h. - - * lread.c (Fload) : Close fd. - - * xterm.c (Qeql): Declare. - (Vx_keysym_table): New. - (syms_of_xterm): Initialize it. - (XTread_socket): Use it. Deal with ASCII keysyms. - (XSetIMValues) [HAVE_X11R6]: Prototype. - - * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended. - (lispy_kana_keys): Comment out. - (make_lispy_event) [XK_kana_A]: Comment out. - (modify_event_symbol) : - Fix sprintf call. - - * s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by - regexp.h change). - (TERMINFO, LIBS_TERMCAP): Define. - - * s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY. - (bcmp): Define conditional on HAVE_BCMP. - (NO_SIOCTL_H): Don't define. - (TIOCSIGSEND): Don't make conditional on IRIX6. - - * s/sol2-5.h: Don't include strings.h. - (bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef. - - * s/irix6-0.h (IRIX6): Don't define. - (bcopy, bcmp, bzero): Don't undef. - - * s/irix6-5.h: Don't include strings.h. - (IRIX6): Don't define. - (bcopy, bcmp, bzero): Don't undef. - - * syntax.c (Fforward_comment): Doc fix. - -2002-10-29 Kim F. Storm - - * process.c (Fsignal_process): Allow PROCESS to be specified by - name in addition to pid (as integer or string). - -2002-10-28 Harald Maier (tiny change) - - * w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build - environments. - -2002-10-27 Kim F. Storm - - * xterm.c (note_mouse_highlight): Don't use mouse-face if hidden. - - * w32term.c (note_mouse_highlight): Don't use mouse-face if hidden. - - * msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden. - - * macterm.c (note_mouse_highlight): Don't use mouse-face if hidden. - -2002-10-26 Richard M. Stallman - - * editfns.c (Fformat): Detect invalid format letters for floats. - -2002-10-25 Kenichi Handa - - * xfns.c (x_set_name): Encode by Qcompound_text unconditionally. - (x_set_title): Likewise. - -2002-10-25 Juanma Barranquero - - * macgui.h: - * w32gui.h: Remove definition of XColor. - - * dispextern.h [!HAVE_X_WINDOWS]: Define XColor. - -2002-10-24 Kim F. Storm - - * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR. - Callers changed (supply dummy arg). - - * lisp.h (get_window_cursor_type): Update prototype. - - * w32term.c (x_display_and_set_cursor): Get active_cursor from - get_window_cursor_type to track system caret. - -2002-10-24 Kim F. Storm - - * process.c (Fformat_network_address): New function. - (syms_of_process): Defsubr it. - (list_processes_1): Use it to format :local/:remote address if - service/host is not set; before Emacs would crash in that case. - (Fmake_network_process): Don't use Ffind_operation_coding_system - to setup coding system if host or service is not set. - -2002-10-23 Juanma Barranquero - - Patch suggested by Jay Finger . - - * w32term.c (w32_term_init): Pass XColor to w32_define_color, not - COLORREF. - - * macgui.h: - * w32gui.h: Add definition of XColor. - - * macfns.c: - * w32fns.c: - * xfaces.c: Remove definition of XColor. - -2002-10-22 Stefan Monnier - - * xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char. - - * window.c (window_loop): For GET_LRU_WINDOW and GET_LARGEST_WINDOW>, - Only ignore truly dedicated windows. For UNSHOW_BUFFER, delete the - window if it is dedicated. - (Fshrink_window): Add preserve_before as was done for enlarge_window. - (Vspecial_display_function): Update docstring. - - * buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer) - (call_overlay_mod_hooks): Use CONSP and XCAR/XCDR. - (Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE; - -2002-10-21 Stefan Monnier - - * casefiddle.c (casify_region): Don't treat a prefix char as part - of a word when at the beginning. - -2002-10-17 Juanma Barranquero - - * lread.c (syms_of_lread): Fix typos. - -2002-10-17 Dave Love - - * Makefile.in (TEMACS_LDFLAGS): Add trailing comment. - -2002-10-16 Richard M. Stallman - - * fileio.c (Fcopy_file): Fix backward test of KEEP_TIME. - -2002-10-14 Juanma Barranquero - - * w16select.c (syms_of_win16select): Fix docstring for - `selection-coding-system'. - - * w32select.c (syms_of_w32select): Likewise. - -2002-10-14 Stefan Monnier - - * syntax.c (scan_lists): Don't get fooled by a symbol ending with - a backslash-quoted char. - (scan_lists, scan_sexps_forward): Pacify the compiler. - -2002-10-13 Richard M. Stallman - - * window.c (window_scroll): Set immediate_quit. - - * print.c (print): When backquote form is the car of a list, - output in old style. Use old_backquote_output to output all - comma forms inside it in old style too. - - * buffer.h (struct buffer): Move `undo_list' down below `name'. - -2002-10-11 Markus Rost - - * emacs.c (syms_of_emacs) : Doc fix (not run in - batch mode). - - * lread.c (Fload): Doc fix (load-suffixes). - -2002-10-10 Steven Tamm - - * macterm.c (syms_of_macterm, mac_get_mouse_btn): - Reverse functionality of mac-wheel-button-is-mouse-2 to be correct. - Also switch the default to Qnil from Qt. - -2002-10-08 Kenichi Handa - - * coding.c (code_convert_region): When we need more GAP for - conversion, pay attention to the case that coding->produced is not - greater than coding->consumed. - -2002-10-07 Richard M. Stallman - - * unexelf.c (unexec): Redo 9/16 change, but only if IRIX6_5. - -2002-10-06 Andrew Choi - - * macmenu.c (mac_menu_show): Add j to count menu items; match - menu_item_selection to it to find selected item. - -2002-10-06 Jan Dj,Ad(Brv - - * xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all - cases. The correct fix is to pass ReparentNotify to Xt. - The shell widget interprets ConfigureNotify differently depending - on if it has been reparented or not. - -2002-10-05 Markus Rost - - * editfns.c (Fformat_time_string): Doc fix. - -2002-10-05 John Paul Wallington - - * fns.c (Flength): Doc fix. - -2002-10-04 Stefan Monnier - - * keyboard.c (keyremap): New struct. - (read_key_sequence): Use it: globally replace keytran_foo with - keytran.foo and fkey_foo with fkey.foo. Rename temp vars - keytran_next and fkey_next to just `next'. - -2002-10-04 Steven Tamm - - * macterm.c (keycode_to_xkeysym_table): Change return to be - treated like an X keysym. - -2002-10-03 Jan Dj,Ad(Brv - - * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0, - and USE_MOTIF, call XTranslateCoordinates to get the real x and y. - This is to also handle x/y changes that occur because of a resize. - -2002-10-02 John Paul Wallington - - * frame.c (Vdelete_frame_functions): New variable. - (syms_of_frame): Initialize and defvar it. - (Fdelete_frame): Use it instead of delete-frame-hook. Don't run - it when frame's `tooltip' parameter is non-nil. - - * xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t. - - * w32fns.c (x_create_tip_frame): Likewise. - - * macfns.c (x_create_tip_frame): Likewise. - -2002-09-30 Kenichi Handa - - * xterm.c (x_encode_char): For DIM=1 charset, set ccl->reg[2] to - -1 before calling ccl_driver. - - * coding.c (decode_coding_emacs_mule): Check coding->cmp_data. - Only when it is non-nil, handle composition sequence. - (setup_coding_system) <0>: Don't force composition handling. - - * Makefile.in (lisp, shortlisp): Add utf-16.elc. - -2002-09-29 Richard M. Stallman - - * search.c (Freplace_match): Adjust match data for the substitution - just made in the buffer. - - * xdisp.c (STOP_POLLING, RESUME_POLLING): New macros. - (redisplay_internal): Use them. Do RESUME_POLLING at end of function. - -2002-09-27 Richard M. Stallman - - * keyboard.c (STOP_POLLING, RESUME_POLLING): New macros. - (read_char): Use them. Do all exits thru the end of the function. - -2002-09-27 Kenichi Handa - - * xfaces.c (try_font_list): Pay attention to the case that FAMILY - is nil. - -2002-09-26 Richard M. Stallman - - * regex.h (__restrict_arr): Don't define if already defined. - - * coding.c (run_pre_post_conversion_on_str): - Save and restore Vdeactivate_mark. - -2002-09-26 John Paul Wallington - - * minibuf.c (Fminibufferp): Add an optional `buffer' argument. - -2002-09-26 Kenichi Handa - - * xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY. If it is - nonzero, try face's family at first. Otherwise try FAMILY at first. - (choose_face_font): If C is a single byte char or latin-1, call - try_font_list with PREFER_FACE_FAMILY 1. - -2002-09-21 Richard M. Stallman - - * window.c (select_window_1): Don't select frame. - Set frame's selected window only when frame itself is selected. - (Fselect_window): Doc fix. - -2002-09-18 Kim F. Storm - - * process.c (make-network-process): Doc fix (there is no - network-server-log-function hook). - -2002-09-18 Richard M. Stallman - - * print.c (print): Clear out the unused parts of Vprint_number_table. - (syms_of_print): Doc fix for `print-number-table'. - - * unexelf.c (unexec): Undo previous change. - -2002-09-17 Andreas Schwab - - * m/alpha.h [LINUX]: Don't define DATA_START. - -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. - - * unexsol.c (unexec): Don't downcase first letter of error msg. - - * xfaces.c (Fcolor_supported_p): Just one arg is required. - -2002-09-12 Markus Rost - - * unexsol.c: Include buffer.h, charset.h, coding.h. - -2002-09-11 Richard M. Stallman - - * unexsol.c: Don't use report_file_error; do it by hand - using dlerror. - - * process.c (wait_reading_process_input, both versions): - Before calling turn_on_atimers, call stop_polling. - - * emacs.c (syms_of_emacs) : Doc fix. - - * xdisp.c (try_scrolling): If after make_cursor_line_fully_visible - we go to too_near_end, call clear_glyph_matrix. - (redisplay_window): After make_cursor_line_fully_visible, - call clear_glyph_matrix and bypass `goto done'. - - * xfns.c (x_report_frame_params): If FRAME_SCROLL_BAR_PIXEL_WIDTH is 0 - and we have non-toolkit scroll bars, return nil for scroll-bar-width. - -2002-09-10 Richard M. Stallman - - * fileio.c (Fdo_auto_save): Catch error making directory. - Only call push_message if we need to. - At the same time, make an unwind-protect to pop it. - Rename local message_p to old_message_p. - (do_auto_save_make_dir, do_auto_save_eh): New functions. - (do_auto_save_unwind): Don't call pop_message. - - * lisp.h (pop_message_unwind): Renamed from push_message_unwind. - - * keyboard.c (Fexecute_extended_command): Use pop_message_unwind. - - * alloc.c (Fgarbage_collect): Use pop_message_unwind. - - * xdisp.c (pop_message_unwind): Renamed from push_message_unwind. - -2002-09-10 Stefan Monnier - - * regex.c (DISCARD_FAILURE_REG_OR_COUNT): Delete. - (CHECK_INFINITE_LOOP): Don't pop anything: just set `cycle' to 1. - (re_match_2_internal): Be more careful with infinite loops. - -2002-09-10 Kim F. Storm - - * macros.c (end_kbd_macro): New function. - (Fend_kbd_macro): Use it. - - * macros.h (end_kbd_macro): Declare extern. - - * keyboard.c (Fdiscard_input): If defining keyboard macro, - end and save it instead of discarding it. - -2002-09-09 Markus Rost - - * s/sol2-6.h: Fix typo. Add comment. - -2002-09-09 Richard M. Stallman - - * regex.c (regnum_t): Use signed int, not unsigned int. - - * s/sol2-6.h: New file. - - * s/sol2-5.h (UNEXEC): Definition deleted. - -2002-09-08 Kim F. Storm - - * macros.c (executing_macro_index): Change type to EMACS_INT. - (syms_of_macros): DEFVAR_INT it (needed by kmacro). - - * macros.h (executing_macro_index): Change type to EMACS_INT. - -2002-09-06 Richard M. Stallman - - * casetab.c (set_case_table): Make canon table point to eqv table. - -2002-09-06 Juanma Barranquero - - * coding.c (syms_of_coding): Fix spacing. - - * composite.c (Fcompose_region_internal) - (Fcompose_string_internal): Likewise. - - * data.c (Flsh): Likewise. - - * fontset.c (Fset_fontset_font): Likewise. - - * macfns.c (Fx_server_max_request_size): Likewise. - - * w16select.c (syms_of_win16select): Likewise. - - * w32select.c (syms_of_w32select): Likewise. - - * xselect.c (syms_of_xselect): Likewise. - -2002-09-05 Richard M. Stallman - - * regex.c (set_image_of_range_1): In no-TRANSLATE case, - call EXTEND_RANGE_TABLE and return a proper value. - (set_image_of_range): Don't call set_image_of_range_1 - if no TRANSLATE or if range includes all of Latin-1. - Only call it for the Latin-1 part of the range. - For other cases, make two separate ranges, - one for the original specified characters and one for - their case-conversions. - -2002-09-04 Richard M. Stallman - - * s/sol2-5.h (UNEXEC): Use unexsol.o. - - * window.c (displayed_window_lines): Correct for one-off bug - in HEIGHT on non-window displays. - - * regex.c (set_image_of_range_1): New function. - (set_image_of_range): Use set_image_of_range_1 for Latin-1. - Return a value to indicate running out of memory. - (SET_RANGE_TABLE_WORK_AREA): Check value from set_image_of_range. - (extend_range_table_work_area): New subroutine. - (EXTEND_RANGE_TABLE): Replaces EXTEND_RANGE_TABLE_WORK_AREA. - Different calling conventions, and used from set_image_of_range{,_1}. - (IMMEDIATE_QUIT_CHECK): Definitions moved. - -2002-09-04 Juanma Barranquero - - * makefile.w32-in: All dependencies updated. - -2002-09-01 Richard M. Stallman - - * unexsol.c: New file. - - * xfns.c (Qbox): Declare external, don't define. - - * xdisp.c (redisplay_window) : - If point is on semi-visible last line, reposition - it at previous line. - - * alloc.c (display_malloc_warning): Use display-warning. - (malloc_warning_1): Function deleted. - - * alloc.c [ALLOC_DEBUG]: #undef INLINE. - - * lread.c (read1): Handle #! by skipping the line. - -2002-08-31 Richard M. Stallman - - * Makefile.in (TEMACS_LDFLAGS): Renamed from ALL_LDFLAGS. - Don't include LDFLAGS. - (temacs): Pass LDFLAGS separately, and not via YMF_PASS_LDFLAGS. - -2002-08-31 Eli Zaretskii - - * xdisp.c (get_window_cursor_type): Don't use x_highlight_frame - member of x_display_info unless we compile for some window system. - -2002-08-31 Kim F. Storm - - * xdisp.c (Valternate_cursor_type, Qalternate_cursor_type): Removed. - (get_window_cursor_type): Don't use them. - (syms_of_xdisp): Remove intern, staticpro, and defvar for them. - -2002-08-30 Kenichi Handa - - * xdisp.c (get_next_display_element): Fix previous change. - -2002-08-30 Andrew Choi - - * macterm.c (expose_overlaps): New function (merge code from xterm.c). - (expose_window): Use it to fix the display of overlapping - rows (merge code from xterm.c). - - * macfns.c (Qbox): Add extern declaration. - -2002-08-30 Juanma Barranquero - - * w32fns.c (Qbox): Make extern. - (syms_of_w32fns): Remove initialization of Qbox. - -2002-08-30 Rune Kleveland (tiny change) - - * xfns.c (Fx_open_connection): Fix error message. - -2002-08-30 Kim F. Storm - - The following changes consolidates the handling of the cursor - type in xdisp.c, moving duplicate code and functionality from - xfns.c, xterm.c, w32fns.c, w32term.c, macfns.c, and macterm.c. - - * frame.h (enum text_cursor_kinds): Consolidated here. - Added DEFAULT_CURSOR value. - (struct frame) - : New fields. - Consolidated from output_x, output_w32 and output_mac structs. - (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) - (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros consolidated here. - - * xdisp.c (Qbar, Qhbar, Qbox, Qhollow, Vblink_cursor_alist): - Variables consolidated here. - (Valternate_cursor_type, Qalternate_cursor_type): New variables. - (Vcursor_in_non_selected_windows): Renamed from - cursor_in_non_selected_windows and changed to Lisp_Object. - (syms_of_xdisp): Define and staticpro new and moved variables. - (get_specified_cursor_type): Renamed from x_specified_cursor_type; - consolidated here. Recognize Qhollow setting. - (set_frame_cursor_types): New function to set frame cursor types - based on the frame parameters. - (get_window_cursor_type): New function to calculate new cursor - type and width for the specified window. Based on duplicated - code consolidated here. - Enhancements: cursor-in-non-selected-windows may be a cursor type, - check buffer-local alternate-cursor-type and blink-cursor-alist - before using built-in blink off methods. - - * dispextern.h (cursor_in_non_selected_windows): Extern removed. - - * lisp.h (Qcursor_in_non_selected_windows): Extern removed. - (get_specified_cursor_type, get_window_cursor_type) - (set_frame_cursor_types): Added prototypes. - - * macfns.c (x_specified_cursor_type): Removed. - (x_set_cursor_type): Use set_frame_cursor_types. - (Qbar, Qbox): Removed. - (syms_of_macfns): Don't intern or staticpro them. - - * macterm.c (x_specified_cursor_type): Remove prototype. - (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. - (x_display_and_set_cursor): Use get_window_cursor_type. - Remove unused local variables cursor_non_selected, active_cursor. - Redraw cursor if hbar cursor width changes. - (make_mac_frame): Set FRAME_DESIRED_CURSOR. - - * macterm.h (enum text_cursor_kinds): Removed. - (struct output_mac) - : Members removed. - (FRAME_DESIRED_CURSOR): Macro removed. - - * w32fns.c (Vblink_cursor_alist): Removed. - (Qbar, Qhbar, Qbox, Qhollow): Removed. - (syms_of_w32fns): Don't intern, staticpro, or define them. - (x_specified_cursor_type): Removed. - (x_set_cursor_type): Use set_frame_cursor_types. - - * w32term.c (x_specified_cursor_type): Remove prototype. - (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. - (x_display_and_set_cursor): Use get_window_cursor_type. - Remove unused local variables cursor_off_state. - Redraw cursor if hbar cursor width changes. - Changed all occurrences of w32_highlight_frame to x_highlight_frame. - - * w32term.h (enum text_cursor_kinds): Removed. - (struct output_w32) - : Members removed. - (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) - (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. - (struct w32_display_info) : Renamed member from - w32_highlight_frame. - - * xfns.c (Vblink_cursor_alist): Removed. - (Qbar, Qhbar, Qbox, Qhollow): Removed. - (syms_of_xfns): Don't intern, staticpro, or define them. - (x_specified_cursor_type): Removed. - (x_set_cursor_type): Use set_frame_cursor_types. - - * xterm.c (x_specified_cursor_type): Remove prototype. - (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. - (x_display_and_set_cursor): Use get_window_cursor_type. - Remove unused local variables cursor_off_state. - Redraw cursor if hbar cursor width changes. - - * xterm.h (enum text_cursor_kinds): Removed. - (struct output_x) - : Members removed. - (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) - (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. - (x_specified_cursor_type): Remove prototype. - -2002-08-28 Richard M. Stallman - - * w32fns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and - FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. - (Vblink_cursor_alist): New variable. - (syms_of_w32fns): Initialize and defvar it. - (x_specified_cursor_type): Recognize Qbox for filled box. - Exceptions are hollow boxes. - (Qbox, Qhollow): New variables. - (syms_of_w32fns): Initialize and staticpro them. - - * w32term.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): - New macros. - (struct w32_output): New fields blink_off_cursor, - blink_off_cursor_width. - (FRAME_CURSOR_WIDTH): New macro. - - * w32term.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR - and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. - - * w32term.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH - for bar cursor. - - * w32term.c (expose_overlaps): New function. - (expose_window): Use it to fix the display of overlapping rows. - -2002-08-28 Simon Josefsson - - * xfns.c (Fx_open_connection): Improve help when X connection - fails, xhost is insecure and xauth is better. - -2002-08-28 Juanma Barranquero - - * makefile.w32-in: Add missing dependencies on w32term.h and - composite.h. - - * emacs.c (USAGE1): Add missing newline. - -2002-08-27 Andrew Choi - - * s/darwin.h [HAVE_LIBNCURSES]: Define HAVE_TERMINFO. - -2002-08-27 Richard M. Stallman - - * xfns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and - FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. - (Vblink_cursor_alist): New variable. - (syms_of_xfns): Initialize and defvar it. - (x_specified_cursor_type): Recognize Qbox for filled box. - Exceptions are hollow boxes. - (Qbox, Qhollow): New variables. - (syms_of_xfns): Initialize and staticpro them. - - * xterm.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): - New macros. - (struct x_output): New fields blink_off_cursor, blink_off_cursor_width. - - * xterm.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR - and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. - - * emacs.c (main): Handle --script. - (USAGE1): Mention --script. - (standard_args): Define sort order for --script. - -2002-08-27 Gerd Moellmann - - * xdisp.c (redisplay_updating_p): Variable removed. - (inhibit_free_realized_faces, Qinhibit_free_realized_faces): - New variables. - (init_iterator): Don't free realized faces if - inhibit_free_realized_faces is set. - (redisplay_internal): Bind Qinhibit_free_realized_faces to nil. - (syms_of_xdisp): DEFVAR_BOOL inhibit-free-realized-faces, - initialize Qinhibit_free_realized_faces. - - * dispextern.h (PRODUCE_GLYPHS): Set inhibit_free_realized_faces - when iterator is adding glyphs to a glyph matrix. - -2002-08-27 Kenichi Handa - - * xdisp.c (get_next_display_element): In unibyte case, don't use - octal form for such eight-bit characters that can be converted to - multibyte char. - -2002-08-26 Kim F. Storm - - * frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize - foreground and background colors. From Joe Buehler. - -2002-08-26 Miles Bader - - * bytecode.c (Fbyte_code): Fsub1 can GC, so protect it. - -2002-08-25 Andrew Choi - - * emacs.c (main): Call init_mac_osx_environment if HAVE_CARBON is - defined instead of MAC_OSX. - - * s/darwin.h (select): Define select to sys_select only if - HAVE_CARBON is defined. - (HAVE_WORKING_VFORK): #undef it. Define vfork to fork. - (DONT_REOPEN_PTY): #def it. - - * macterm.c (XTread_socket): Remove code to call - SendEventToEventTarget for keys with command modifiers when - mac_command_key_is_meta is nil. - -2002-08-24 Andreas Schwab - - * eval.c (Fdefvar): Fix last change. - -2002-08-23 Richard M. Stallman - - * eval.c (Fdefvar, Fdefconst, Fdefvaralias): - Record variables in load history as (defvar . VAR). - (Fdefvar): Don't record in load history if no initial value. - (Qdefvar): New variable. - (syms_of_eval): Init and staticpro it. - - * lread.c (syms_of_lread): Doc fix. - (build_load_history): Use Fmember to see if a definition - is already in the Vload_history element. - - * process.c (Fstart_process): Remove /: from program name. - - * emacs.c (decode_env_path): Don't add /: if file name handler - has a `safe-magic' property. - - * callproc.c (Fcall_process): Remove /: from program name. - -2002-08-23 Stefan Monnier - - * regex.c (PATFETCH): Remove the translating fetch. - (PATFETCH_RAW): Rename to PATFETCH. - (set_image_of_range): New fun. - (SET_RANGE_TABLE_WORK_AREA): Use it. - (regex_compile): Don't translate the pattern chars so eagerly. - Only do it when inserting an `exactn' bytecode or when handling - a char-range. - (mutually_exclusive_p): Avoid empty statement. - -2002-08-22 Kim F. Storm - - * xdisp.c (redisplay_window): Do not `goto try_to_scroll' when we - end up on a partially visible line; this reverts a specific part - of the 2002-07-07 change by Richard M. Stallman to "fix" a nasty - display error which has been reported several times now. - However it introduces the problem that changes was supposed to fix. - See my comments in the source if you want to debug this further. - -2002-08-20 Kenichi Handa - - * abbrev.c (Fexpand_abbrev): Fix for the multibyte case. - -2002-08-19 Eli Zaretskii - - * msdos.c (croak): Add `void' to definition. - - * sysdep.c (request_sigio, unrequest_sigio) [MSDOS]: - Don't define them, they are defined in msdos.c. - - * mem-limits.h [MSDOS]: Declare etext. - - * fileio.c (Ffile_name_directory) [DOS_NT]: Don't declare `beg' - `const' since CORRECT_DIR_SEPS modifies its target. - -2002-08-19 Kim F. Storm - - * keyboard.c (Fclear_this_command_keys): Add optional arg - KEEP-RECORD to avoid clearing lossage when we just want to clear - the current key sequence (kmacro needs this). - -2002-08-19 Kenichi Handa - - * composite.c (run_composition_function): Call FUNC if it is fboundp. - - * composite.h (COMPOSITION_MODIFICATION_FUNC): If PROP is not a - cons, return Qnil. - -2002-08-17 Richard M. Stallman - - * s/sol2-5.h (BROKEN_SIGIO): Add #undef. - - * sysdep.c [!VMS]: Include sys/files.h. - - * editfns.c (save_restriction_restore): Defend from unchained marker. - - * buffer.c (overlays_at): Handle extending vec uniformly. - (overlays_in): Handle extending vec from length 0 as in overlays_at. - -2002-08-15 Andrew Choi - - * mac.c (init_mac_osx_environment): New function. - - * emacs.c (main) [MAC_OSX]: Call init_mac_osx_environment. - -2002-08-14 Kim F. Storm - - * macros.c (Fstart_kbd_macro): Added NO-EXEC argument to inhibit - executing macro before appending to it (when used from Lisp). - (Fexecute_kbd_macro): Added LOOPFUNC argument to supply function - which is called prior to each iteration of macro (for kmacro.el). - (Fend_kbd_macro, Fcall_last_kbd_macro): Likewise. - - * lisp.h (Fexecute_kbd_macro): Update prototype. - - * keyboard.c (Fcommand_execute): Update call to Fexecute_kbd_macro. - -2002-08-14 Kenichi Handa - - * xselect.c (QUTF8_STRING): New variable. - (symbol_to_x_atom): Pay attention to QUTF8_STRING. - (x_atom_to_symbol): Likewise. - (x_get_local_selection): New argument local_request. If it is - nonzero, call handler_fn with the second arg nil. - (x_handle_selection_request): Call x_get_local_selection with - local_request 0. - (lisp_data_to_selection_data): Don't encode the string here. - (Fx_get_selection_internal): Call x_get_local_selection with - local_request 1. - (syms_of_xselect): Intern and staticpro QUTF8_STRING. - - * xterm.c (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING. - - * xterm.h (struct x_display_info): New member Xatom_UTF8_STRING. - -2002-08-13 Richard M. Stallman - - * minibuf.c (Fminibufferp): New function. - (syms_of_minibuf): Defsubr it. - (Fminibuffer_prompt_end): Handle non-minibuffers specially. - -2002-08-13 Gerd Moellmann - - * coding.c (Funencodable_char_position): Lisp_Object/int mixup. - -2002-08-12 Richard M. Stallman - - * syswait.h: Only the include of sys/wait.h tests HAVE_SYS_WAIT_H. - [!VMS] (WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSTOPPED, WIFSIGNALED) - (WSTOPSIG, WTERMSIG): Define each one independently if not defined - already. - - * buffer.c (syms_of_buffer) : Doc fix. - -2002-08-11 Andrew Choi - - * macterm.c (XTmouse_position): Check wp with is_emacs_window. - (Vmac_pass_command_to_system): New variable. - (Vmac_pass_control_to_system): New variable. - (do_mouse_moved): Check wp with is_emacs_window. - (XTread_socket): Check window_ptr with is_emacs_window. - Call FrontNonFloatingWindow instead of FrontWindow. Send keydown - events back to Mac Toolbox for processing, depending on values of - Vmac_pass_command_to_system and Vmac_pass_control_to_system. - (syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and - Vmac_pass_control_to_system. - -2002-08-10 Kenichi Handa - - * coding.c (unencodable_char_position): New function. - (Funencodable_char_position): New function. - (syms_of_coding): Defsubr Funencodable_char_position. - -2002-08-10 Andrew Choi - - * mac.c (sys_select) [MAC_OSX]: New function. - - * macterm.c (MakeMeTheFrontProcess): New function. - (mac_initialize): Call MakeMeTheFrontProcess. - - * s/darwin.h: Define select to sys_select. - -2002-08-09 Richard M. Stallman - - * keyboard.c (make_lispy_event): Test WINDOWSNT, not WINDOWS_NT. - -2002-08-09 Gerd Moellmann - - * xdisp.c (forward_to_next_line_start): Return 0 when reaching the - end of the buffer. - -2002-08-08 Ken Raeburn - - * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup. - - * puresize.h (BASE_PURESIZE): Increase to 910000. - -2002-08-08 Kenichi Handa - - * coding.c (Ffind_operation_coding_system): For write-region, if - VISIT is a filename, make it the target. - -2002-08-07 Richard M. Stallman - - * alloc.c (mark_object): Detect long lists for debugging. - (mark_object_loop_halt): New variable. - - * s/hpux10.h (C_SWITCH_SYSTEM): #undef it. - - * data.c (Fmake_variable_frame_local): Doc fix. - -2002-08-01 David Ponce - - * w32menu.c (local_heap, local_alloc, local_free): New macros. - (malloc_widget_value, free_widget_value) - (w32_free_submenu_strings): Use them. - - (push_submenu_start, push_submenu_end, push_left_right_boundary) - (push_menu_pane, push_menu_item, single_keymap_panes) - (single_menu_item, Fx_popup_menu, menubar_selection_callback) - (single_submenu, set_frame_menubar) - (w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE. - - (Fx_popup_menu): Don't show pop up menu until preceding one is - actually cleaned up. Moved UNGCPRO outside #ifdef HAVE_MENUS block. - - * w32menu.c: Changes adapted from xmenu.c - (set_frame_menubar): First parse all submenus, - then make widget_value trees from them. - Don't allocate any widget_value objects - until we are done with the parsing. - (parse_single_submenu): New function. - (digest_single_submenu): New function. - (single_submenu): Function deleted, replaced by those two. - -2002-08-04 Andrew Choi - - * macterm.c (XTread_socket): Check that FrontNonFloatingWindow - returns a valid window pointer before proceeding for keyDown and - autoKey events. - -2002-08-03 Andrew Choi - - * macterm.c (USE_CARBON_EVENTS): New macro. - (macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros. - (x_iconify_frame): Call CollapseWindow. - (Vmac_reverse_ctrl_meta): New variable. - (Vmac_wheel_button_is_mouse_2): New variable. - (init_mac_drag_n_drop): New function. - (mac_do_receive_drag): New function. - (mac_handle_service_event): New function. - (init_service_handler): New function. - (mac_to_emacs_modifiers): New function. - (mac_event_to_emacs_modifiers): New function. - (mac_get_mouse_btn): New function. - (mac_convert_event_ref): New function. - (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent, - SendEventToEventTarget, mac_event_to_emacs_modifiers, and - mac_get_mouse_btn. - (mac_initialize): Call init_mac_drag_n_drop and init_service_handler. - - * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and - lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT. - (kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and - TOOL_BAR_EVENT for MAC_OS as well. - (make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well - as for WINDOWS_NT. - (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX. - - * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for MAC_OSX. - -2002-08-03 Gerd Moellmann - - * xdisp.c (forward_to_next_line_start): Fix a condition that - lead to a newline being skipped. - -2002-08-02 Andrew Choi - - * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p. - -2002-08-01 Richard M. Stallman - - * Makefile.in (SOME_MACHINE_OBJECTS): Add fontset.o. - -2002-07-31 Andrew Choi - - * macfns.c: #undef init_process before #define-ing it. - - * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if - HAVE_CARBON is defined. - -2002-07-31 Richard M. Stallman - - * xmenu.c (set_frame_menubar): First parse all submenus, - then make widget_value trees from them. - Don't allocate any widget_value objects - until we are done with the parsing. - (parse_single_submenu): New function. - (digest_single_submenu): New function. - (single_submenu): Function deleted, replaced by those two. - -2002-07-30 Juanma Barranquero - - * w32proc.c (syms_of_ntproc): Fix docstring of - `w32-get-true-file-attributes'. - -2002-07-28 Richard M. Stallman - - * s/hpux8.h (HPUX8): Define this before including hpux.h. - (HAVE_SYS_WAIT_H): #define deleted; we let Autoconf decide. - - * s/hpux.h (HAVE_SYS_WAIT_H): The #undef is conditional on HPUX8. - - * keyboard.c (make_lispy_event): - Use #ifdef to test USE_TOOLKIT_SCROLL_BARS. - Explicitly clear up_modifier in event->modifiers. - -2002-07-27 Richard M. Stallman - - * xterm.h (FRAME_CURSOR_WIDTH): New macro. - - * xterm.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH - for bar cursor. - -2002-07-26 Kenichi Handa - - * coding.c (detect_coding_iso2022): While checking a byte sequence - for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check - it in the normal loop. - -2002-07-24 Gerd Moellmann - - * xterm.c (expose_overlaps): New function. - (expose_window): Use it to fix the display of overlapping rows. - - * xdisp.c (unwind_redisplay): Clear redisplay_updating_p. - -2002-07-23 Ken Raeburn - - * lisp.h (XPNTR): Use NO_UNION_TYPE version for union as well, - since it only depends on XUINT. - - * m/alpha.h (BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT, - EMACS_UINT, SPECIAL_EMACS_INT, DATA_SEG_BITS, - PNTR_COMPARISON_TYPE, VALBITS, MARKBIT, XINT, XUINT, XPNTR): - Macros deleted. - - * mem-limits.h (start_of_data): If DATA_START is defined, prefer - its value over other approaches. - * sysdep.c (start_of_data): Don't define the function if a macro - form has been defined. - -2002-07-23 Gerd Moellmann - - * xdisp.c (redisplay_updating_p): New variable. - (init_iterator): Don't free realized faces when - redisplay_updating_p is set. - (redisplay_internal): Set redisplay_updating_p while updating - the display. - -2002-07-23 Richard M. Stallman - - * editfns.c (Fmessage): Treat "" like nil. - -2002-07-23 Kenichi Handa - - * xdisp.c (face_before_or_after_it_pos): - Call FETCH_MULTIBYTE_CHAR with byte postion, not char position. - -2002-07-22 Juanma Barranquero - - * callproc.c (init_callproc) [DOS_NT]: - Initialize Vshared_game_score_directory to nil. - (syms_of_callproc) [DOS_NT]: Likewise. - -2002-07-22 Gerd Moellmann - - * xdisp.c (display_line): Replace an abort with xassert. - -2002-07-21 Richard M. Stallman - - * xdisp.c (redisplay_window): Don't test BEG_UNCHANGED - and END_UNCHANGED when setting buffer_unchanged_p. - Use current_matrix_up_to_date_p to decide whether to use - try_cursor_movement. - - * config.in (HAVE_SHARED_GAME_DIR): Undef deleted. - - * epaths.in (PATH_GAME): New macro, edited by ../Makefile.in. - - * callproc.c (init_callproc): Set up Vshared_game_score_directory. - Set to nil if dir does not exist. - (syms_of_callproc): Init unconditionally and simply. - - * buffer.c (Fbuffer_list): Doc fix. - -2002-07-21 Ken Raeburn - - * sysdep.c (end_of_text, end_of_data): Unused functions deleted. - - * buffer.c (mmap_realloc): When shrinking, make sure number of - pages to unmap is rounded towards zero. - - * m/mips-siemens.h (XSETUINT, XSETPNTR): Unused macros deleted. - (XSETINT): Deleted. - - * m/att3b.h (XINT): Don't define. - (VALBITS, VALMASK, XTYPE): Deleted. - (DATA_SEG_BITS): Define. - * m/gec63.h (VALBITS, VALAMASK, XTYPE, XSETTYPE, XPNTR, XSET, - ARRAY_MARK_FLAG): Deleted. - (DATA_SEG_BITS): Define. - * m/pfa50.h (VALBITS, VALMASK, XTYPE): Deleted. - (DATA_SEG_BITS): Define. - -2002-07-20 Richard M. Stallman - - * print.c (print_error_message): New args CONTEXT and CALLER. - Calls changed. - - * lisp.h (print_error_message): Declare new args. - - * keyboard.c (cmd_error_internal): Pass Vsignaling_function - and CONTEXT to print_error_message, don't print them here. - For a Quit, don't use Vsignaling_function. - Call message_log_maybe_newline. - - * Makefile.in (xsmfns.o): Don't depend on lisp.h. - -2002-07-20 Kim F. Storm - - * xdisp.c (redisplay_window): Test MODIFF to set buffer_unchanged_p. - -2002-07-19 Ken Raeburn - - * bytecode.c (struct byte_stack): Pointers into byte string now - point to const. - * callproc.c (Fcall_process): Make NEW_ARGV array hold pointer to - const. - * charset.h (BCOPY_SHORT): Source pointer now points to const. - * coding.c (encode_eol, detect_coding, detect_eol): - (decode_coding, encode_coding, detect_coding_system): - Source strings now treated as const. - (decode_coding_string, encode_coding_string): Use STRING_COPYIN to - modify Lisp string contents. - * coding.h (decode_coding, encode_coding, detect_coding, - detect_eol): Declarations updated. - * composite.c (compose_chars_in_text): Treat Lisp string contents - as const. - * dispnew.c (safe_bcopy): Source pointer now points to const. - * lisp.h (STRING_COPYIN): New macro. - (detect_coding_system, safe_bcopy, temp_output_buffer_setup): - (internal_with_output_to_temp_buffer): Declarations updated. - * print.c (temp_output_buffer_setup): - (internal_with_output_to_temp_buffer): Buffer name argument is now - pointer to const. - * sound.c (struct sound_device): Function pointer field "write" - buffer argument now points to const. - (vox_write): Buffer argument points to const. - * syntax.c (Fstring_to_syntax, skip_chars): Treat Lisp string - contents as const. - * sysdep.c (emacs_write): Buffer pointer now const. - * term.c (encode_terminal_code): Buffer pointer now const. - * xfaces.c (may_use_scalable_font_p): Argument now points to const. - (x_face_list_fonts, x_update_menu_appearance): - (hash_string_case_insensitive): Treat Lisp string contents as const. - -2002-07-19 Juanma Barranquero - - * xdisp.c (syms_of_xdisp): Remove redundant deprecation info. - - * fileio.c (syms_of_fileio): Likewise. - (Ffile_name_as_directory): Fix argument name in docstring. - (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP. - -2002-07-18 Richard M. Stallman - - * data.c (Fdefalias): Doc fix. - -2002-07-17 Dave Love - - * intervals.h (text_property_stickiness): Use P_. - - * ccl.c: Remove `emacs' conditionals. - (ccl_backtrace_table): Fix size spec. - (ccl_driver): Fix type errors. - -2002-07-16 Ken Raeburn - - * alloc.c (xstrdup, make_string, make_unibyte_string) - (make_multibyte_string, build_string): String pointer args now - point to const. - * charset.c (find_charset_in_text, c_string_width): - (chars_in_text, multibyte_chars_in_text, parse_str_as_multibyte): - * fileio.c (report_file_error): - * insdel.c (copy_text, count_size_as_multibyte, insert_1): - (count_combining_before, count_combining_after, insert_1_both): - (insert, insert_and_inherit, insert_string): - (insert_before_markers, insert_before_markers_and_inherit): - * lread.c (intern, oblookup, hash_string): - * minibuf.c (temp_echo_area_glyphs): - * search.c (fast_c_string_match_ignore_case): - * sysdep.c (emacs_open, set_file_times): - * xfaces.c (xstricmp): - * xdisp.c (store_frame_title, string_char_and_length): - (message_dolog, message2, message2_nolog, set_message): Likewise. - (set_message_1): Cast message string argument to const pointer. - * editfns.c (general_insert_function): Insertion function now - takes pointer to const for input data. - * charset.h (find_charset_in_text, c_string_width): - (parse_str_as_multibyte): Declarations updated. - * dispextern.h (xstricmp): Declaration updated. - * lisp.h (chars_in_text, multibyte_chars_in_text, copy_text): - (count_size_as_multibyte, count_combining_before): - (count_combining_after, insert_1, insert_1_both, message_dolog): - (insert, insert_and_inherit, insert_before_markers) - (insert_before_markers_and_inherit, set_message, message2): - (message2_dolog, build_string, make_string, make_unibyte_string): - (make_multibyte_string, intern, oblookup, report_file_error): - (fast_c_string_match_ignore_case, temp_echo_area_glyphs): - (emacs_open, xstrdup): Declarations updated. - * systime.h (set_file_times): Declaration updated. - - * charset.c (find_charset_in_text, lisp_string_width): Use const - for pointer to lisp string data. - * charset.h (FETCH_STRING_CHAR_ADVANCE): - (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): - * coding.c (Ffind_coding_systems_region_interval): - * fileio.c (Ffile_name_directory, Ffile_name_nondirectory): - (Fmake_directory_internal, Fdelete_directory): - (Ffile_name_absolute_p, Fwrite_region, double_dollars): - * fontset.c (font_family_registry, fs_query_fontset): - (list_fontsets): - * frame.c (Fframe_parameter): - * keyboard.c (cmd_error_internal): - * keymap.c (Fdescribe_buffer_bindings): - * lread.c (complete_filename_p, openp): - * minibuf.c (Fminibuffer_complete_word): - * xdisp.c (string_pos_nchars_ahead, init_from_display_pos): - (face_before_or_after_it_pos, next_element_from_string): - (get_overlay_arrow_glyph_row, display_mode_element): - (decode_mode_spec_coding): - * xterm.c (same_x_server): Likewise. - - * buffer.c (reset_buffer_local_variables): Delete "#if 0" - settings of non-existent fields. - - * editfns.c (Fstring_to_char): Don't use XSTRING/XSETSTRING to - copy a lisp value. - - * lread.c (Fintern_soft): Use string macros instead of - Lisp_String fields. - * keyboard.c (echo_char, parse_modifiers_uncached): - (parse_solitary_modifier, Fexecute_extended_command): Likewise. - * textprop.c (validate_interval_range, interval_of): Likewise. - - * fontset.c (Fset_fontset_font): Use SDATA instead of XSTRING()->data. - - * charset.h (FETCH_STRING_CHAR_ADVANCE) - (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SBYTES instead of - XSTRING()->size_byte. - - * lisp.h (SDATA, SREF): Produce rvalue. - (SSET): New macro. - * alloc.c (make_event_array): Use SSET for storing into a string. - * buffer.c (Fother_buffer): Use SREF when retrieving a byte from - a string. - * casefiddle.c (casify_object): Use SSET. - * charset.h (FETCH_STRING_CHAR_ADVANCE) - (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA when getting - address of string contents. - * data.c (Faref): Use SDATA. - (Faset): Use SDATA, SSET. - * dired.c (directory_files_internal): Use SSET. - * fileio.c (Fmake_symbolic_link, Fexpand_file_name): Use SSET. - (Fread_file_name): Use SREF, SSET. - * fns.c (concat): Use SSET. - (concat, Fdelete): Use SDATA. - * insdel.c (insert_from_string_1): Use SDATA. - * keyboard.c (Fevent_convert_list): Use SREF. - * lread.c (Fload): Use SDATA, SSET. - * macfns.c (validate_x_resource_name): Use SSET. - * process.c (status_message): Use SSET. - * search.c (wordify): Use SDATA. - (Freplace_match): Use SREF. - * w32fns.c (validate_x_resource_name): Use SSET. - * xfns.c (validate_x_resource_name): Use SSET. - * xterm.c (x_catch_errors, x_clear_errors): Use SSET. - -2002-07-16 Richard M. Stallman - - * s/hpux11.h (USG_SUBTTY_WORKS): Defined. - - * xdisp.c (reconsider_clip_changes): - Don't test prevent_redisplay_optimizations_p. - (redisplay_internal): Test prevent_redisplay_optimizations_p - along with clip_changed in some cases. - (try_window_id): Likewise. - (redisplay_window): New local var buffer_unchanged_p. - - * keyboard.c (cmd_error) [HAVE_X_WINDOWS]: Maybe call cancel_houglass. - - * process.c (create_process): Test USG_SUBTTY_WORKS. - (process_send_signal): Clean up handling of GID. - Detect errors in ioctls meant to set GID. - - * window.c (temp_output_buffer_show): - Don't set prevent_redisplay_optimizations_p. - -2002-07-15 Juanma Barranquero - - * eval.c (Fdefvaralias): Add docstring argument. - -2002-07-15 Ken Raeburn - - * lisp.h (STRING_INTERVALS): Produce rvalue. - (STRING_SET_INTERVALS): New macro. - * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it. - * fns.c (Fstring_as_multibyte): Likewise. - * intervals.c (balance_possible_root_interval, delete_interval) - (create_root_interval, copy_intervals_to_string): Likewise. - * textprop.c (set_text_properties): Likewise. Use NULL_INTERVAL - instead of 0. - -2002-07-14 Ken Raeburn - - * lisp.h (STRING_SET_CHARS): New macro. - (SCHARS, SBYTES): Produce rvalues. - * dired.c (directory_files_internal): Use STRING_SET_CHARS. - * fns.c (concat): Likewise. - * lread.c (read_vector): Likewise. - - * lisp.h (SMBP): Delete. All uses changed to STRING_MULTIBYTE. - (STRING_SET_UNIBYTE): New macro. - (SET_STRING_BYTES): Delete. Callers (all of which supplied a - length of -1) changed to use STRING_SET_UNIBYTE. - * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, - casefiddle.c, category.c, ccl.c, charset.c, charset.h, coding.c, - composite.c, data.c, dired.c, dispnew.c, disptab.h, doc.c, - dosfns.c, editfns.c, emacs.c, eval.c, fileio.c, filelock.c, fn.c, - fontset.c, frame.c, indent.c, insdel.c, intervals.c, keyboard.c, - keymap.c, lread.c, mac.c, macfns.c, macmenu.c, macterm.c, - minibuf.c, msdos.c, print.c, process.c, search.c, sound.c, - sunfns.c, syntax.c, syntax.h, sysdep.c, textprop.c, undo.c, - w16select.c, w32.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, - w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, - xselect.c, xsmfns.c, xterm.c: Most uses of XSTRING combined with - STRING_BYTES or indirection changed to SCHARS, SBYTES, - STRING_INTERVALS, SREF, SDATA; explicit size_byte references left - unchanged for now. - -2002-07-13 Kim F. Storm - - * keyboard.c (command_loop_1): Invert check on Vmemory_full. - -2002-07-12 Richard M. Stallman - - * fileio.c (Fwrite_region): Doc fix. - - * print.c (print_error_message): Don't handle Vsignaling_function here. - - * keyboard.c (cmd_error_internal): Handle Vsignaling_function here. - (command_loop_1): Avoid certain actions after memory-full error. - - * eval.c (Fsignal): Don't call cancel_hourglass. - For a memory-full error, don't call Vsignal_hook_function - and don't set Vsignaling_function. - - * process.c (process_send_signal): Add abort call. - -2002-07-11 Markus Rost - - * keymap.c (Fkey_binding): Fix typo. - -2002-07-11 Richard M. Stallman - - * alloc.c (Vmemory_full): New variable. - (Vmemory_signal_data): Rename from memory_signal_data. - Uses changed. - (syms_of_alloc): Defvar them. - (memory_full, buffer_memory_full): Set Vmemory_full. - - * lisp.h (Vmemory_full): Add declaration. - (current_column, indented_beyond_p): Change declaration. - - * indent.c (last_known_column): Declare as double, not float. - (current_column, current_column_1, string_display_width) - (position_indentation): Return `double'. - (indented_beyond_p): Arg `column' is `double'. Callers changed. - - * xdisp.c (message_dolog): Do nothing if Vmemory_full is non-nil. - (back_to_previous_visible_line_start) - (reseat_at_next_visible_line_start, next_element_from_buffer): - Use `double', not `float', when calling indented_beyond_p. - - * s/hpux11.h (BROKEN_SA_RESTART): Define. - - * sysdep.c (sys_signal): Test BROKEN_SA_RESTART. - -2002-07-11 Juanma Barranquero - - * alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, coding.c, - * composite.c, dired.c, dispnew.c, editfns.c, emacs.c, eval.c, - * fileio.c, fns.c, insdel.c, keyboard.c, keymap.c, lread.c, macfns.c, - * macmenu.c, macros.c, minibuf.c, print.c, process.c, sound.c, - * textprop.c, w32fns.c, w32menu.c, window.c, xfaces.c, xfns.c, - * xmenu.c, xselect.c, xterm.c: Use SPECPDL_INDEX wherever makes sense. - -2002-07-10 Juanma Barranquero - - * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE. - All callers changed. - -2002-07-09 Stefan Monnier - - * data.c (Fdefalias): Add an optional `docstring' argument. - (set_internal, Fsetq_default): Use XCAR/XCDR. - - * composite.c (HASH_VALUE, HASH_KEY): - * ccl.c (HASH_VALUE): Remove (it's in lisp.h now). - -2002-07-09 Kenichi Handa - - * callproc.c (Fcall_process): Fix previous change. - -2002-07-07 Stefan Monnier - - * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): - Add support for hash-tables. - (Ftry_completion): Return t even if the string appears multiple times. - - * fns.c (Fnconc): Use XCDR. - (Fprovide): Use CONSP and XCDR. - (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) - (HASH_TABLE_SIZE): Delete: moved to lisp.h. - (Fmake_hash_table): Accept `:size nil'. - (Fmakehash): Delete: moved to subr.el. - (syms_of_fns): Don't defsubr makehash. - - * lisp.h (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) - (HASH_TABLE_SIZE): Move from fns.c. - -2002-07-07 Richard M. Stallman - - * xdisp.c (make_cursor_line_fully_visible): Don't try short scrolls. - Instead just return 0 when there is something to be done. - (try_scrolling): If make_cursor_line_fully_visible returns 0, - retry scrolling as if cursor were off the bottom. - (try_cursor_movement): If make_cursor_line_fully_visible returns 0, - return CURSOR_MOVEMENT_MUST_SCROLL. - (redisplay_window): If make_cursor_line_fully_visible returns 0, - go to try_to_scroll. - - * buffer.c (Fbuffer_local_value): Store current value into its binding - so we get the up-to-date value for the binding that is loaded. - - * eval.c (Fdefmacro): Doc fix. - -2002-07-05 Dave Love - - * keyboard.c (read_key_sequence): Set initial_idleness_start_time - correctly. - - * ccl.c (Vtranslation_hash_table_vector, GET_HASH_TABLE) - (HASH_VALUE, CCL_LookupIntConstTbl, CCL_LookupCharConstTbl): New. - (ccl_driver): Add cases for CCL_LookupIntConstTbl, - CCL_LookupCharConstTbl. - (syms_of_ccl): Defvar translation-hash-table-vector. - -2002-07-05 Pavel Jan,Am(Bk - - * xdisp.c: Remove unused variable `face'. - -2002-07-04 Juanma Barranquero - - * keyboard.c (post_command_idle_hook): Remove redundant (and inexact) - obsolescence information. - -2002-07-03 Andrew Choi - - * macterm.c (x_list_fonts): Fix comment. Cache fonts matching - pattern. Search cache first. - (init_font_name_table): Also add entry for jisx0201.1976-0 coding - for Japanese font. - (XLoadQueryFont): Use it. - -2002-07-02 Richard M. Stallman - - * keymap.c (Fdefine_key): Doc fix. - - * xterm.c (x_term_init): Turn off polling around XtOpenDisplay. - -2002-07-02 Juanma Barranquero - - * keymap.c (syms_of_keymap): Fix typo. - -2002-07-01 Andrew Choi - - * s/darwin.h: Define POSIX_SIGNALS. - - * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef - and FSRefMakePath to convert FSSpec returned with Apple Event to - Posix pathname. - (mac_initialize) [TARGET_API_MAC_CARBON]: - Call init_required_apple_events and disable the `Quit' menu item - provided automatically by the Carbon Toolbox. - -2002-07-01 Dave Love - - * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl - for K&R. - - * xterm.c: Fix prototype for K&R. - - * term.c (costs_set): Declare static, non-initialized for pcc. - -2002-07-01 Richard M. Stallman - - * keyboard.c (timer_last_idleness_start_time): New variable. - (timer_start_idle): Set that. - (read_key_sequence): Use that to reset timer_idleness_start_time - to previous value. - - * window.c (Frecenter): With arg, set optional_new_start. - - * xdisp.c (redisplay_internal): Make optional_new_start really work. - - * minibuf.c (Fminibuffer_complete_and_exit): Move to end of - buffer for completion. - -2002-06-29 Ken Raeburn - - * xdisp.c (store_mode_line_string): Lisp_Object/int mixup. - -2002-06-28 Jan Dj,Ad(Brv - - * keyboard.c (readable_filtered_events): New function that filters - FOCUS_IN_EVENT depending on parameter. - (readable_events): Calls readable_filtered_events, not filtering - FOCUS_IN_EVENT. - (get_filtered_input_pending): New function, filtering parameter passed - to readable_filtered_events. - (get_input_pending): Calls get_filtered_input_pending, not filtering - FOCUS_IN_EVENT. - (Finput_pending_p): Calls get_filtered_input_pending, DO filter - FOCUS_IN_EVENT. - - * xterm.h (struct x_output): Add focus_state. - - * xterm.c (x_focus_changed): New function. - (x_detect_focus_change): New function. - (XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut - EnterNotify and LeaveNotify to track X focus changes. - -2002-06-28 Andreas Schwab - - * lisp.h: Remove duplicate declaration of code_convert_string_norecord. - -2002-06-27 Kim F. Storm - - * xdisp.c (mode_line_string_list, mode_line_string_face) - (mode_line_string_face_prop): New variables. - (store_mode_line_string): New function. - (display_mode_element): Use store_mode_line_string to - add mode-line string elements to mode_line_string_list - when mode_line_string_list is non-nil. - (Fformat_mode_line): Now returns propertized string by - default. New arg NO-PROPS to ignore properties. - (decode_mode_spec): Only add two dashes for %- in propertized - mode-line string. - (syms_of_xdisp): Init and staticpro mode_line_string_list. - -2002-06-27 Stefan Monnier - - * minibuf.c (minibuffer_completion_contents): Add return type. - -2002-06-27 Juanma Barranquero - - * charset.c (Fchar_bytes): Remove obsolescence info from docstring. - -2002-06-26 Juanma Barranquero - - * fileio.c (read_file_name_cleanup): Add missing return. - -2002-06-26 Richard M. Stallman - - * window.c (Frecenter): Don't set force_start flag. - - * minibuf.c (do_completion, Fminibuffer_complete_word) - (Fminibuffer_completion_help): Complete just the text before point. - (minibuffer_completion_contents): New function. - - * buffer.c (Fbury_buffer): Use frames_discard_buffer. - - * frame.c (frames_bury_buffer): Function deleted. - -2002-06-25 Miles Bader - - * callint.c (Fcall_interactively): When checking to see if doprnt hit - the end of callint_message, allow for a terminating '\0'. - -2002-06-24 Juanma Barranquero - - * w32select.c: Include composite.h. - - * w16select.c: Likewise. - -2002-06-24 Kenichi Handa - - * callproc.c (Fcall_process): If code detection is necessary, - call detect_coding directly here. - - * coding.c (detect_eol): Preserve coding->cmp_data. - - * w16select.c (Fw16_get_clipboard_data): - * w32fns.c (w32_to_x_font): - * w32select.c (Fw32_get_clipboard_data): - * xselect.c (selection_data_to_lisp_data): - * xterm.c (XTread_socket): Disable composition handling. - -2002-06-24 Stefan Monnier - - * print.c (temp_output_buffer_setup): Kill all local variables. - -2002-06-22 Stefan Monnier - - * lread.c (Fread): Remove redundant and imprecise declaration. - - * xfns.c (check_x_display_info): Use check_x_frame. - - * .gdbinit (xprintsym): Use the new `xname' field. - (xsymbol): Use it. - -2002-06-22 Jason Rumney - - * w32fns.c (file_dialog_callback): New function. - (Fx_file_dialog): Allow selecting directories as well as files. - -2002-06-21 Pavel Jan,Am(Bk - - * m/pmax.h (START_FILES): Define START_FILES for NetBSD and - OpenBSD. Add support for mipseb-*-netbsd* machines. - -2002-06-17 Andrew Choi - - * macterm.c (mac_scroll_area): Set foreground and backcolor to - black and white before scrolling. Restore frame background and - foreground color after scrolling. - (do_window_update): Call XClearWindow before calling expose_frame. - (make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and - FRAME_FOREGROUND_PIXEL of frame. - - * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, - test Mac command key as key. - -2002-06-17 Stefan Monnier - - * window.c (Fset_window_configuration): Lisp_Object/int mixup. - - * keyboard.c (read_key_sequence): Be more careful with first_unbound. - Lookup keys in function-key-map immediately so that key-translation-map - can be applied earlier. - Remove function_key_possible and key_translation_possible, replaced - by checking `keytran_start < t'. - - * .gdbinit (xsymbol): Use the new `xname' field. - -2002-06-17 Andrew Choi - - * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, - test Mac command key as key. - - * mac.c (do_applescript): Call initialize_applescript if necessary - when first called. Dispose of result_desc only when there is no error. - (Fdo_applescript): Use %d format specifier instead of %ld. - -2002-06-16 Andrew Choi - - * macterm.c (XTread_socket): Call FrontNonFloatingWindow instead - of FrontWindow for cases keyDown and autoKey. - - * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of - Vdefault_fontset to Monaco with mac-roman coding. - - * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine - init_process before and after inclusion of Carbon/Carbon.h, resp. - - * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and - cursor_gc. - (add_font_name_table_entry): New function. - (init_font_name_table): Use add_font_name_table_entry; add italic, - bold, and bold-italic entries for truetype fonts. - - * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces - for Mac too. - (try_font_list) [MAC_OS]: If no font matches given registry, try - fonts with any registry matching face_family. - (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here. - - * s/darwin.h: If autoconf detects the Ncurses library, define - LIBS_TERMCAP to -lncurses to use it. - -2002-06-16 Eli Zaretskii - - * strftime.c [__hpux]: Include sys/_mbstate_t.h. - -2002-06-15 Richard M. Stallman - - * window.c (Fset_window_configuration): Explicitly preserve - the point value that new_current_buffer had at the start. - -2002-06-14 Juanma Barranquero - - * composite.c (Fcompose_region_internal, Fcompose_string_internal): - Fix typos. - -2002-06-14 Kim F. Storm - - * insdel.c (insert_1_both, insert_from_string_1) - (insert_from_buffer_1): Recalculate END_UNCHANGED in case the - insert happened in the end_unchanged region. Otherwise, the - redisplay may be confused and duplicate the last line in the - buffer [seen after save-buffer when require-final-newline==t]. - -2002-06-13 Jason Rumney - - * w32.c (init_environment): Remove EMACSLOCKDIR. - (stat): Swap _S_IFDIR and _S_IFREG. - -2002-06-13 Pavel Jan,Am(Bk - - * keyboard.c, macterm.c, macmenu.c, msdos.c, sysdep.c - * termhooks.h, xmenu.c, xsmfns.c, xterm.h, xterm.c, w32term.c, - * w32menu.c, w32inevt.c: Rename enum event_kind as follows: - ascii_keystroke to ASCII_KEYSTROKE_EVENT, multibyte_char_keystroke - to MULTIBYTE_CHAR_KEYSTROKE_EVENT, non_ascii_keystroke to - NON_ASCII_KEYSTROKE_EVENT, timer_event to TIMER_EVENT, mouse_click - to MOUSE_CLICK_EVENT, mouse_wheel to MOUSE_WHEEL_EVENT, - language_change_event to LANGUAGE_CHANGE_EVENT, scroll_bar_click - to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to - W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to - SELECTION_REQUEST_EVENT, selection_clear_event to - SELECTION_CLEAR_EVENT, buffer_switch_event to BUFFER_SWITCH_EVENT, - delete_window_event to DELETE_WINDOW_EVENT, iconify_event to - ICONIFY_EVENT, deiconify_event to DEICONIFY_EVENT, - menu_bar_activate_event to MENU_BAR_ACTIVATE_EVENT, drag_n_drop to - DRAG_N_DROP_EVENT, save_session_event to SAVE_SESSION_EVENT and - no_event to NO_EVENT. - -2002-06-12 Pavel Jan,Am(Bk - - * macmenu.c: Remove declaration of Qmouse_click and Qevent_kind. - -2002-06-12 Stefan Monnier - - * intervals.c (textget): Don't forget to `return'. - (lookup_char_property): Use XCAR/XCDR. - -2002-06-12 Juanma Barranquero - - * xdisp.c (Fformat_mode_line): Fix typo. - -2002-06-12 Kim F. Storm - - * xdisp.c (Fformat_mode_line): New function. - (frame_title_buf, frame_title_buf_end, frame_title_ptr) - (store_frame_title_char, store_frame_title): Use unconditionally. - (init_xdisp): Defsubr Fformat_mode_line. - Initialize frame_title_buf etc. unconditionally. - -2002-06-11 Stefan Monnier - - * keyboard.c (read_key_sequence): - Remove prev_(fkey|keytran}_(map|start|end) since we don't want to pass - things through those maps after downcasing events. - Enforce that keytran_end <= fkey_start, i.e. that key-translation-map - applies after function-key-map. - Make sure that keytran can be done in the middle in the sequence. - Be careful not to throw away events past the one we downcase. - - * lread.c (read_integer): Remove unused var `tem'. - (read1): Fix int/Lisp_Object mixup. - - * xfaces.c (tty_lookup_color): Type bool/Lisp_Object mismatch fixed. - -2002-06-11 Richard M. Stallman - - * keyboard.c (readable_events): Ignore any number of - FOCUS_IN_EVENT events and return 0 if nothing else in buffer. - -2002-06-09 Miles Bader - - * xfaces.c (Ftty_supports_face_attributes_p): New function. - (parse_rgb_list, tty_lookup_color): New functions. - (tty_defined_color): Use `tty_lookup_color' to do all the work. - (color_distance, Fcolor_distance): New functions. - (TTY_SAME_COLOR_THRESHOLD): New macro. - (Qtty_color_standard_values): New variable. - (syms_of_xfaces): Initialize new vars & functions. - -2002-06-08 Colin Walters - - * textprop.c (Vchar_property_alias_alist): New variable. - (syms_of_textprop) : DEFVAR_LISP. - - * intervals.c (lookup_char_property): New function for looking up - overlay and text properties, created from textget. - (textget): Use it. - - * intervals.h (lookup_char_property): Declare. - (Vchar_property_alias_alist): Declare. - - * buffer.c (Foverlay_get): Use lookup_char_property. - -2002-06-07 Sam Steingold - - * xselect.c (lisp_data_to_selection_data): Fix last change: - *data_ret is not a Lisp string, while unibyte_string is. - -2002-06-07 Eli Zaretskii - - * xselect.c (lisp_data_to_selection_data): Fix last change: - set size_ret. - -2002-06-07 Andreas Schwab - - * m/amdx86-64.h: New file. - -2002-06-05 Eli Zaretskii - - * fns.c (Fstring_make_unibyte): Doc fix. - - * xselect.c (lisp_data_to_selection_data): If the requested type - is STRING, call string_make_unibyte to encode the selected text - as a string. - - * window.c (Fset_window_hscroll): Doc fix. - -2002-06-05 Pavel Jan,Am(Bk - - * fileio.c (choose_write_coding_system): - Call select-safe-coding-system properly. - -2002-06-03 Richard M. Stallman - - * xdisp.c (message_with_string): Error if STRING is not a string. - - * fns.c (md5): Pass FILE arg to Vselect_safe_coding_system_function. - - * fileio.c (choose_write_coding_system): Pass FILE arg to - Vselect_safe_coding_system_function. - -2002-06-03 Ken Raeburn - - * buffer.c (fix_overlays_before): Fix list-walking bug in 05-19 change. - -2002-06-02 Thien-Thi Nguyen - - * bytecode.c (Fbyte_code): Cast `current_column' return value to int. - * cmds.c (Fdelete_backward_char, internal_self_insert): Likewise. - * keymap.c (describe_command): Likewise. - * minibuf.c (read_minibuf): Likewise. - - * xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec): - Cast `current_column' return value to int. - (back_to_previous_visible_line_start) - (reseat_at_next_visible_line_start, next_element_from_buffer): - Cast `indented_beyond_p' 3rd arg to float. - - * indent.c (last_known_column): Now a float. - (current_column_1, position_indentation, current_column) - (string_display_width): Return float. - (Fcurrent_column): Cast `current_column' return value to int. - (Fcurrent_indentation): Cast `position_indentation' retval to int. - (indented_beyond_p): Third arg now a float. - (compute_motion, vmotion): Cast `indented_beyond_p' 3rd arg to float. - - * lisp.h (current_column): Now returns float. - (indented_beyond_p): 3rd arg now a float. - -2002-05-31 Eli Zaretskii - - * xfns.c (x_encode_text): Return stringp non-NULL if coding_system - is Qcompound_text_with_extensions. - - * xselect.c (lisp_data_to_selection_data): Always set selection - type as string if x_encode_text returns streingp non-NULL. - - * s/netbsd.h: Include /usr/pkg in the run time shared library path. - -2002-05-30 Richard M. Stallman - - * window.c (Fset_window_configuration): Correct the handling - of point in current buffer, to work with multiple windows. - -2002-05-29 Colin Walters - - * lread.c (Fread_from_string): Don't depend on order of evaluation - for C function parameters. - -2002-05-28 Richard M. Stallman - - * xterm.c (x_display_and_set_cursor): Change the cursor in the same - way for blinked-off state and for a nonselected window. - - * window.c (window_scroll_pixel_based): Don't call Fbolp; - instead, see if the new start pos is at beginning of line. - - * fileio.c (Fwrite_region): If START is a string, don't - make any annotations. - - * eval.c (syms_of_eval): Doc fix. - -2002-05-28 Colin Walters - - * emacs.c (USAGE1): Add --no-splash. - (standard_args): Ditto. - -2002-05-28 Colin Walters - - * lread.c (readchar_count): New variable. - (readchar): Increment it. - (unreadchar): Decrement it. - (read_multibyte): Decrement it. - (Vread_with_symbol_positions): New variable. - (Vread_symbol_positions_list): New variable. - (read_internal_start): New function, created from Fread and - Fread_from_string. Handle Vread_symbol_positions_list and - Vread_with_symbol_positions. - (readevalloop, Fread, Fread_from_string): Use it. - (read1): Use readchar_count to add symbol positions to - Vread_symbol_positions_list if Vread_with_symbol_positions is non-nil. - (syms_of_lread): DEFVAR_LISP and initialize them. - - * lread.c (read0, read1, read_list, read_vector, read_multibyte) - (substitute_object_recurse, substitute_object_in_subtree) - (substitute_in_interval): Prototype. - (read_multibyte): Return c if it's less than zero. - -2002-05-28 Kim F. Storm - - * fileio.c (Fread_file_name_internal): Added brute-force - speed up for using predicate file-directory-p. - -2002-05-28 Kim F. Storm - - * fileio.c (Vread_file_name_function, Vread_file_name_predicate): - New variables. - (syms_of_fileio): DEFVAR_LISP them. - (read_file_name_cleanup): New unwind function. - (Fread_file_name_internal): Only return completions satifying - Vread_file_name_predicate. Temporarily unwind protect and rebind - default-directory while checking completions against the predicate. - (Fread_file_name): Added PREDICATE argument. Specbind it to - Vread_file_name_predicate during completion. - Call Vread_file_name_function to read the file name if non-nil. - - * lisp.h (Fread_file_name): Now has 6 args. - - * callint.c (Fcall_interactively) <"D">: Supply Qfile_directory_p - predicate for Fread_file_name when reading directory name. - Supply Qnil for predicate in other calls to Fread_file_name. - -2002-05-26 Miles Bader - - * term.c (tty_capable_p): New function. - * dispextern.h (tty_capable_p): New function declaration. - (TTY_CAP_INVERSE, TTY_CAP_UNDERLINE, TTY_CAP_BOLD, TTY_CAP_DIM) - (TTY_CAP_BLINK, TTY_CAP_ALT_CHARSET): New macros. - -2002-05-23 Stefan Monnier - - * fileio.c (read_non_regular, Finsert_file_contents): Use BEG_BYTE. - (Finsert_file_contents, build_annotations): Use XCAR, XCDR. - (Vwrite_region_annotate_functions): Docstring fix. - -2002-05-23 Kim F. Storm - - * xterm.c (x_write_glyphs): Clear phys_cursor_on_p if current - phys_cursor's hpos is overwritten. This is still not completely - correct, as it doesn't really make sense to use hpos at all to - get the cursor glyph (as that is relative to the width of the - characters on the line, which may have changed during the update). - -2002-05-22 Jason Rumney - - * w32fns.c (enumfont_t): Remove tail, make pattern a normal - Lisp_Object. - (enum_font_cb2, enum_font_maybe_add_to_list, w32_list_fonts): - Use modified enumfont_t struct. - - * w32term.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. - - * w32term.c (x_draw_bar_cursor): New argument KIND; callers changed. - Handle the `hbar' cursor type. - (x_display_and_set_cursor): Handle the HBAR_CURSOR case. - - * w32fns.c (Qhbar): New variable. - (x_specified_cursor_type): Use it. - -2002-05-21 Ken Raeburn - - * w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for - now, when the address is needed. - -2002-05-21 Colin Walters - - * Makefile.in (shortlisp): Add font-core.el. - -2002-05-20 Richard M. Stallman - - * buffer.c (syms_of_buffer) : Doc fix. - - * keyboard.c (read_char_minibuf_menu_prompt): Don't list - equivalent key bindings here. - -2002-05-20 Ken Raeburn - - Change symbol structure to contain a lisp object for the symbol - name: - * lisp.h (struct Lisp_Symbol): Replace field "name" with a lisp - object field named "xname". - (SYMBOL_NAME): New macro. - * abbrev.c (write_abbrev): Use SYMBOL_NAME instead of XSYMBOL and - name field. - * alloc.c (Fmake_symbol): Set symbol xname field instead of name. - (mark_object, gc_sweep): Use symbol xname field and XSTRING - instead of name field. - * buffer.c (buffer_slot_type_mismatch): Use XSTRING and - SYMBOL_NAME instead of XSYMBOL and name field. - * callint.c (Fcall_interactively): Use XSTRING and SYMBOL_NAME - instead of XSYMBOL and name field. - * charset.c (Fdefine_charset, Fdeclare_equiv_charset): Use XSTRING - and SYMBOL_NAME instead of XSYMBOL and name field. - * coding.c (Fread_coding_system, code_convert_region1) - (code_convert_string1, code_convert_string_norecord) - (Ffind_operation_coding_system): Use SYMBOL_NAME instead of - XSYMBOL and name field. - * data.c (Fkeywordp, Fsymbol_name, store_symval_forwarding) - (Fmake_variable_buffer_local, Fmake_local_variable) - (Fmake_variable_frame_local): Use SYMBOL_NAME and XSTRING instead - of XSYMBOL and name field. - * editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of - XSYMBOL and name field. - * emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING - instead of XSYMBOL and name field. - * eval.c (do_autoload): Use SYMBOL_NAME and XSTRING instead of - XSYMBOL and name field. - * fns.c (Fstring_equal, Fstring_lessp, Frequire, sxhash): - Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. - * fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING - instead of XSYMBOL and name field. - * keyboard.c (echo_char, record_char, parse_modifiers_uncached) - (parse_modifiers, apply_modifiers, Fevent_convert_list) - (parse_solitary_modifier, Fexecute_extended_command): - Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. - * keymap.c (silly_event_symbol_error, Fsingle_key_description) - (Fdescribe_buffer_bindings): Use SYMBOL_NAME and XSTRING instead - of XSYMBOL and name field. - (describe_command, describe_translation): Use SYMBOL_NAME and - assignment instead of XSYMBOL and name field and XSETSTRING. - * lread.c (Fintern_soft, oblookup): Use SYMBOL_NAME and XSTRING - instead of XSYMBOL and name field. - (Funintern): Use SYMBOL_NAME and assignment instead of XSYMBOL and - name field and XSETSTRING. - * macfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead - of XSYMBOL and name field. - * minibuf.c (Fread_command, Fread_variable): Use SYMBOL_NAME and - assignment instead of XSYMBOL and name field and XSETSTRING. - * print.c (print_error_message, print_object): Use SYMBOL_NAME and - XSTRING instead of XSYMBOL and name field. - * process.c (set_socket_options, Fsignal_process): Use SYMBOL_NAME - and XSTRING instead of XSYMBOL and name field. - * w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME - and XSTRING instead of XSYMBOL and name field. - * xfaces.c (merge_face_vector_with_property): Use SYMBOL_NAME and - XSTRING instead of XSYMBOL and name field. - * xfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead - of XSYMBOL and name field. - * xselect.c (symbol_to_x_atom, x_get_foreign_selection): - Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. - -2002-05-19 Ken Raeburn - - * lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR - and XCDR real rvalues in most configurations. - - * buffer.c (fix_overlays_in_range, fix_overlays_before): - Don't take the address of the cdr part of a cons cell; instead, track - the parent cell and call XSETCDR, or set the variable for the head - of the list if we haven't started down the list yet. - -2002-05-19 Richard M. Stallman - - * doc.c (reread_doc_file): Don't ask for confirmation. - -2002-05-18 Jason Rumney - - * w32fns.c (w32_create_pixmap_from_bitmap_data): New function. - (xbm_load_image): Use it. - (xbm_load): Ditto. - (xbm_read_bitmap_data): Reverted to xfns.c version. - From David Ponce . - -2002-05-17 Eli Zaretskii - - * msdos.c (sig_suspender, sigprocmask): Don't define for DJGPP - 2.02 and later. - -2002-05-16 Juanma Barranquero - - * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Fix typo. - -2002-05-15 Stefan Monnier - - * keyboard.c (read_char_x_menu_prompt): Use an equivalent but more - meaningful test. - (read_char_minibuf_menu_prompt): Fix typo. - -2002-05-15 Eli Zaretskii - - * eval.c (Fcommandp): Doc fix. - -2002-05-13 Stefan Monnier - - * keymap.c (keymap_parent): New fun, extracted from Fkeymap_parent. - (Fkeymap_parent, keymap_memberp, fix_submap_inheritance): Use it. - (Fset_keymap_parent): Gcpro a bit more. - (access_keymap): Gcpro around meta_map call and around the main loop. - (get_keyelt): Gcpro when following indirect references. - (copy_keymap_item): New fun, extracted from Fcopy_keymap. - (copy_keymap_1, Fcopy_keymap): Use it. Don't copy the parent map. - (Fdefine_key, Flookup_key): Gcpro before calling get_keymap. - Remove useless ad-hoc remap code. - -2002-05-13 Richard M. Stallman - - * search.c (search_buffer): Give up boyer moore search if inverse - translation change charset_base. - -2002-05-12 Eli Zaretskii - - * coding.c (decode_coding) : If a lone CR - characters is carried over from the previous block of text, adjust - coding->produced to account for the extra character. - -2002-05-11 Andreas Schwab - - * coding.c (intersection): Keep the elements of the returned list - in the same order as in the first list. - -2002-05-11 Kim F. Storm - - * keymap.c (current_minor_maps): Fix resizing of cmm_maps; - only update cmm_size if realloc actually succeeds. - Testing with initial size of 2 elements revealed that using - realloc on GNU/Linux would cause a random trap in xmalloc - later on, so I rewrote the code to use malloc/bcopy/free instead - of realloc. - -2002-05-10 Jason Rumney - - * w32fns.c (enum_font_cb2): Avoid DBCS raster fonts. - -2002-05-10 Eli Zaretskii - - * coding.c (encode_coding_sjis_big5): Enclose bitwise AND in - parens, to ensure correct evaluation order. - -2002-05-10 Kim F. Storm - - * keymap.c (Vemulation_mode_map_alists): New variable. - (syms_of_keymap): DEFVAR_LISP it. - (current_minor_maps): Process keymap alists in that list before - minor-mode-overriding-map-alist and minor-mode-map-alist. - -2002-05-09 Richard M. Stallman - - * search.c (Freplace_match): Doc fix. - -2002-05-09 Kim F. Storm - - * macterm.c (x_draw_image_foreground, x_draw_image_foreground_1): - Enlarge cursor rectangle drawn around image with non-zero relief. - - * w32term.c (x_draw_image_foreground, w32_draw_image_foreground_1): - Enlarge cursor rectangle drawn around image with non-zero relief. - - * xterm.c (x_draw_image_foreground, x_draw_image_foreground_1): - Enlarge cursor rectangle drawn around image with non-zero relief. - -2002-05-07 Eli Zaretskii - - * xselect.c (lisp_data_to_selection_data): Don't set selection - type if comes from the Lisp object's car. If the selection - contains a pure ASCII text, always return QSTRING as its type. - -2002-05-06 Pavel Jan,Am(Bk - - * mac.c (mac-cut-function): Doc fix. - -2002-05-05 Richard M. Stallman - - * s/gnu.h [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it. - -2002-05-04 Jason Rumney - - * keyboard.c (make_lispy_event) : Set count to 1 - for event-click-count. - - * process.c (init_process): Only add server subfeature if we can - use non-blocking I/O. - -2002-05-04 Andrew Choi - - * macterm.c (XTread_socket): Call WaitNextEvent once instead of - repeatedly. - -2002-05-03 Jason Rumney - - * process.c (Fmake_network_process): Only support server sockets - when we can make them non-blocking. - - * s/ms-w32.h (HAVE_SELECT): Define. - - * w32.h (FILE_NDELAY): New flag. - - * w32.c (sys_getpeername, fcntl): New functions. - (_sys_read_ahead): Temporarily block on non-blocking sockets. - - * w32proc.c: Include sys/file.h. - -2002-05-03 Colin Walters - - * callproc.c (Vgame_score_directory): Renamed to - Vshared_game_score_directory. - -2002-04-30 Richard M. Stallman - - * s/gnu.h [emacs]: Include stdio.h. - (GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional. - - * eval.c (do_autoload): Error if called while preparing to dump. - - * fns.c (Frequire): Error if need to load while preparing to dump. - -2002-04-28 Colin Walters - - * callproc.c (Vgame_score_directory) [!HAVE_SHARED_GAME_DIR]: - Default to "~/.emacs.d/games". - -2002-04-29 Stefan Monnier - - * lread.c (openp): Change arg exec_only to predicate. - (build_load_history): Use XCAR/XCDR. - (Flocate_file_internal): New fun. - (syms_of_lread): Defsubr it. - (Fload): Update call to openp. - - * lisp.h (openp): Update prototype. - - * xfns.c (x_create_bitmap_from_file, x_find_image_file): - * w32proc.c (sys_spawnve): - * w32fns.c (x_create_bitmap_from_file, x_find_image_file): - * w32.c (check_windows_init_file): - * sound.c (Fplay_sound_internal): - * process.c (Fstart_process): - * macfns.c (x_create_bitmap_from_file, x_find_image_file): - * mac.c (run_mac_command): - * emacs.c (init_cmdargs): - * callproc.c (Fcall_process): Update call to openp. - - * textprop.c (remove_properties): Don't use XCAR without CONSP. - - * xterm.c (XTread_socket): Disable the Xutf8LookupString code. - -2002-04-29 Pavel Jan,Am(Bk - - * dispextern.h (DEFAULT_TOOL_BAR_BUTTON_MARGIN) - (DEFAULT_TOOL_BAR_BUTTON_RELIEF): Change default values. - -2002-04-28 Richard M. Stallman - - * minibuf.c (Fall_completions, Ftry_completion): New arg to Fcommandp. - - * eval.c (Fcommandp): New arg for_call_interactively. - * lisp.h (Fcommandp): Declare new arg. - -2002-04-28 Jason Rumney - - * w32proc.c (syms_of_w32proc): Get true file attributes by default. - - * w32.c (stat, fstat): Use file index information to generate - inodes for directories where available. - -2002-04-26 Andrew Choi - - * Makefile.in (C_SWITCH_SYSTEM_TEMACS): Add. - [HAVE_CARBON]: Include Mac object files. - - * alloc.c, callproc.c, dispextern.h, dispnew.c, emacs.c, - fontset.c, frame.c, frame.h, keyboard.c, sysdep.c, term.c, - termcap.c, window.c, xdisp.c, xfaces.c: Use macros MAC_OS8, - MAC_OSX, and MAC_OS instead of macintosh. - - * editfns.c [MAC_OS8]: Include stdio.h. - - * emacs.c [MAC_OS8]: Call mac_initialize instead of x_term_init. - - * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of - Apple Monaco. - - * process.c (QCfamily, QCfilte): Declare extern. - (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before - calling select. - - * termcap.c [MAC_OSX]: Don't define tgetnum, PC, tputs, and tgetent. - - * tparam.c [MAC_OSX]: Don't define BC and UP. - - * config.in [HAVE_CARBON]: Add. - - * mac.c, macgui.h, macfns.c, macmenu.c, macterm.c, macterm.h: - Move here from mac/src and mac/inc. - - * s/darwin.h, m/powermac.h, unexmacosx.c: New files. - -2002-04-26 Gerd Moellmann - - * xterm.c (x_draw_phys_cursor_glyph): Undo last change. - Compute phys_cursor_width from the x position returned - by x_draw_glyhs, which is cheaper. - (x_display_and_set_cursor): Compute the buffer-local value - of `cursor-in-non-selected-windows' only when needed. - -2002-04-25 Gerd Moellmann - - * xterm.c (x_draw_phys_cursor_glyph): Take into account that a box - cursor on a stretch glyph has a width that depends on - x_stretch_cursor_p. - -2002-04-25 Pavel Jan,Am(Bk - - * abbrev.c (abbrev-start-location): Doc fix. - - * indent.c (Fvertical_motion): Fix last change. - -2002-04-25 Gerd Moellmann - - * indent.c (Fvertical_motion): Move to the start of the line - containing PT before moving up or down. - -2002-04-24 Gerd Moellmann - - * dispnew.c (update_text_area): Set phys_cursor_on_p to 0 in the - case of writing a whole row, more or less analogous to the case of - writing only parts of a row. - - * xterm.c (x_display_and_set_cursor): Set phys_cursor_width to - 0 for NO_CURSOR. - - * xterm.c (notice_overwritten_cursor): Fix an off by 1 error. - -2002-04-23 Colin Walters - - * buffer.c (syms_of_buffer): Doc fix. - -2002-04-23 Gerd Moellmann - - * xterm.c (notice_overwritten_cursor): Handle the special case - of the cursor being in the first blank non-text line at the - end of a window. - - * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor) - (x_draw_phys_cursor_glyph): Set phys_cursor_width here. - (x_display_and_set_cursor): Don't set phys_cursor_width here, for - bar cursors only, to make phys_cursor_width contain what its name - suggests. - (notice_overwritten_cursor): Consider the cursor image erased if - the output area intersects the cursor image in y-direction. - -2002-04-23 Simon Marshall - - * xfns.c (x_set_mouse_color): Change default for cross_cursor - to XC_hand2. - -2002-04-23 Pavel Jan,Am(Bk - - * xdisp.c: Remove unused global variable `minibuf_prompt_pixel_width'. - -2002-04-22 Kim F. Storm - - * textprop.c (remove_properties): Fixed trap for malformed plist. - -2002-04-22 Richard M. Stallman - - * cmds.c (Fend_of_line): Handle intangible text in mid line. - - * window.c (make_window): Initialize height_fixed_p, - last_cursor_off_p, and p->cursor_off_p slots. - -2002-04-20 Pavel Jan,Am(Bk - - * fns.c (use-dialog-box): Doc fix. - -2002-04-19 Pavel Jan,Am(Bk - - * xterm.c (note_mode_line_or_margin_highlight): Remove unused - variables `row', `i' and `area'. - (XTread_socket) : Pass KeyPress events when in menu to - toolkit library. - -2002-04-19 Stefan Monnier - - * xfaces.c (clear_font_table): Don't free the default font of - a frame even if it's on another display. - (Finternal_set_lisp_face_attribute): Don't use XFRAME on something - that could be Qt. - -2002-04-19 Juanma Barranquero - - * indent.c (Fmove_to_column): Remove unused local variable - `next_boundary_byte'. - (current_column_1): Likewise. - -2002-04-19 Eli Zaretskii - - * msdos.c (Qhbar): New variable. - (syms_of_msdos): Intern and staticpro it. - (IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar' - cursor type. - -2002-04-19 Dave Lambert - - Theses change implement an underscore-like (`hbar') cursor. - - * xterm.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. - - * xterm.c (x_draw_bar_cursor): New argument KIND; callers changed. - Handle the `hbar' cursor type. - (x_display_and_set_cursor): Handle the HBAR_CURSOR case. - - * xfns.c (Qhbar): New variable. - (syms_of_xfns): Intern and staticpro it. - (x_specified_cursor_type): Handle `hbar' cursor. - - * s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is - not defined. - -2002-04-18 Richard M. Stallman - - * textprop.c (remove_properties): New arg LIST allows scanning - either a list or a plist. - (interval_has_some_properties_list): New function, like - interval_has_some_properties using list instead of plist. - All callers changed. - (Fremove_list_of_text_properties): New function. - (syms_of_textprop): Defsubr it. - -2002-04-17 Eli Zaretskii - - * s/sol2.h (HAVE_LIBKSTAT): Define only if not already defined. - -2002-04-17 Juanma Barranquero - - * indent.c (Fmove_to_column): Remove unused local variable `end_byte'. - -2002-04-17 Eli Zaretskii - - * window.c (coordinates_in_window): Don't report on margin area - if its width is zero. - -2002-04-16 Jason Rumney - - * w32fns.c (Fx_file_dialog): Decode file name before using. - - * w32term.c (construct_drag_n_drop): Likewise. - -2002-04-16 Eli Zaretskii - - * puresize.h (BASE_PURESIZE): Increase to 830000, since we now - store load-history in pure space. - - * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 50000. - -2002-04-16 Stefan Monnier - - * xterm.c (Qlatin_1, Qutf_8): New vars. - (syms_of_xterm): Initialize them. - (XTread_socket): Eliminate incorrect optimization that tried to avoid - decoding the output of X*LookupString. - Always use latin-1 to decode the output of XLookupString. - Try Xutf8LookupString if XmbLookupString failed. - - * region-cache.c (new_region_cache): Use BEG. - -2002-04-16 Gerd Moellmann - - * buffer.c (MMAP_ALLOCATED_P): New macro to be set from system - configuration files. - (mmap_enlarge): Enlarge mapped regions only if MMAP_ALLOCATED_P - returns 0. - -2002-04-15 Andreas Schwab - - * config.in: Regenerated using autoheader. - - * m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/alpha.h, - m/altos.h, m/amdahl.h, m/apollo.h, m/arm.h, m/att3b.h, m/aviion.h, - m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h, - m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/gec63.h, - m/gould.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ia64.h, - m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h, - m/ibms390.h, m/intel386.h, m/iris4d.h, m/irist.h, m/isi-ov.h, - m/m68k.h, m/macppc.h, m/masscomp.h, m/mg1.h, m/mips-siemens.h, - m/mips.h, m/news-r6.h, m/news.h, m/next.h, m/nh3000.h, m/nh4000.h - m/ns32000.h, m/orion.h, m/pfa50.h, m/plexus.h, m/pmax.h, - m/powerpcle.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h, - m/sparc.h, m/sr2k.h, m/symmetry.h, m/tad68k.h, m/tahoe.h, - m/targon31.h, m/tek4300.h, m/tekxd88.h, m/template.h, m/tower32.h, - m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/windowsnt.h, - m/xps100.h, s/aix3-2.h, s/aix4-2.h, s/irix4-0.h, s/irix5-0.h, - s/sco5.h, s/unixware.h: Don't set HAVE_ALLOCA, C_ALLOCA and - STACK_DIRECTION, now set by autoconf. - -2002-04-14 Pavel Jan,Am(Bk - - * dispnew.c (marginal_area_string): Sort arguments. - - * dispextern.h (marginal_area_string): Add prototype. - -2002-04-13 Richard M. Stallman - - * fileio.c (Finsert_file_contents): - Don't call temp_output_buffer_setup--do just part, by hand. - - * coding.c (run_pre_post_conversion_on_str): - Don't call temp_output_buffer_setup--do just part, by hand. - - * keyboard.c (command_loop_1): Don't call start_hourglass - or cancel_hourglass when executing a macro. - - * marker.c (count_markers): New function. - - * xdisp.c (display_mode_element): Don't let mode_line_proptrans_alist - grow without limit. Move recently used elements to the front. - -2002-04-13 Eli Zaretskii - - * unexelf.c (unexec) [__sgi]: Undo the change from 2002-01-20. - -2002-04-12 Gerd Moellmann - - * xdisp.c (sync_frame_with_window_matrix_rows): Don't give frame - rows marginal areas. - (Fdump_frame_glyph_matrix) [GLYPH_DEBUG]: New function. - (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. - - * dispnew.c (marginal_area_string): Check that glyph row is enabled. - -2002-04-12 Dave Love - - * dispnew.c (marginal_area_string): New. - - * window.c (window_part): Add ON_LEFT_MARGIN, ON_RIGHT_MARGIN. - (Qleft_margin, Qright_margin): Declare. - (coordinates_in_window, (Fcoordinates_in_window_p): Deal with margins. - - * xterm.c (note_mode_line_or_margin_highlight): Renamed from - note_mode_line_highlight and extended. - - * keyboard.c (Qleft_margin, Qright_margin): Declare. - (make_lispy_event): Deal with mouse events in margins. - -2002-04-12 Stefan Monnier - - * msdos.c (dos_rawgetc): Use a single event for HELP_EVENT. - - * keyboard.c (command_loop_1): Turn off transient-mark-mode rather - than deactivating the mark if tmm is set to `lambda'. - (gen_help_event, kbd_buffer_store_help_event, kbd_buffer_get_event): - Use a single event for HELP_EVENT. - (Fexecute_extended_command): Save last_point_position. - -2002-04-12 Pavel Jan,Am(Bk - - * lisp.h (Fpropertize): Add prototype. - - * fns.c (Fy_or_n_p): Use `minibuffer-prompt' face for prompt. - -2002-04-10 Colin Walters - - * config.in: Add HAVE_SHARED_GAME_DIR. - - * callproc.c (Vgame_score_directory): New variable. - (syms_of_callproc) : DEFVAR_LISP. - -2002-04-10 Richard M. Stallman - - * puresize.h (BASE_PURESIZE): Reduce again to avoid big excess. - -2002-04-09 Stefan Monnier - - * minibuf.c (read_minibuf): Use empty_string. - (Ftry_completion): Allow lambda forms and lists of strings for `alist'. - Short-circuit the search as soon as it "failed". - (Fall_completions): Allow lambda forms and lists of strings for alist. - (Fcompleting_read): Set Qminibuffer_completion_confirm to nil - when require_match is nil. - (Ftest_completion): Rename from `test_completion' and export to elisp. - Call the predicate also when alist is a list. - Obey Vcompletion_regexp_list. - (do_completion, Fminibuffer_complete_and_exit): Use it. - (Fassoc_string): Rename from `assoc_for_completion'. - Allow list of strings as well and export to elisp. - -2002-04-08 Stefan Monnier - - * puresize.h (BASE_PURESIZE): Increase to 900KB. - -2002-04-08 Juanma Barranquero - - * w32.c (sys_accept): Don't hide variable `s'. - -2002-04-05 Gerd Moellmann - - * callint.c (Fcall_interactively): Use INTEGERP instead of - NUMBERP for checking Vhistory_length. - -2002-04-05 Pavel Jan,Am(Bk - - * sound.c (Fplay_sound_internal): Renamed from Fplay_sound. - Doc fix to reflect it. - -2002-04-04 Richard M. Stallman - - * xdisp.c (display_mode_element): New arg RISKY. - Disregard text props found or specified within a variable - that isn't marked risky-local-variable. - (Qrisky_local_variable): New variable. - (syms_of_xdisp): Init and staticpro it. - -2002-04-04 Stefan Monnier - - * undo.c (record_point): New fun. - (record_delete, record_insert): Use it. - -2002-04-03 Juanma Barranquero - - * doc.c (Fdocumentation): Add missing parentheses. - (Fdocumentation_property): Likewise. - -2002-04-03 Stefan Monnier - - * doc.c (Fdocumentation, Fdocumentation_property): When the doc - data is 0, just return nil. - -2002-04-03 Eli Zaretskii - - * msdos.c (syms_of_msdos): Fix last change with - mouse_autoselect_window. - -2002-04-03 Pavel Jan,Am(Bk - - * w32term.c, xterm.c, msdos.c: Rename autoselect_window_p to - mouse_autoselect_window. - -2002-04-02 Stefan Monnier - - * keyboard.c (make_lispy_event): Handle unknown keysyms together - with system-specific keysyms. Use it also for unknown function keys. - - * doc.c (reread_doc_file): Return whether reload was attempted. - (Fdocumentation, Fdocumentation_property): Don't try to reload - if the doc is 0 and only ask once. - - * Makefile.in (lisp, shortlisp): Add ucs-tables.elc. - -2002-04-02 Eli Zaretskii - - * keyboard.c (read_char): If the event was Qselect_window, - restore timer_idleness_start_time to its previous value. - - * msdos.c (dos_rawgetc): Generate SELECT_WINDOW_EVENTs when required. - -2002-04-01 Stefan Monnier - - * region-cache.c (new_region_cache): Use BEG. - - * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): - Use BEG and BEG_BYTE. - - * doc.c (get_doc_string): Return nil if the location is wrong. - (reread_doc_file): New fun. - (Fdocumentation, Fdocumentation_property): - Call it if get_doc_string fails. - (Fsnarf_documentation): Make it work for a dumped Emacs. - - * charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE. - Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case. - - * charset.c (Fstring): Allow 0 arguments. - - * xterm.c (XTread_socket): Fix int/Lisp_Object confusion. - - * process.c (DATAGRAM_CONN_P, list_processes_1) - (Fprocess_datagram_address, Fset_process_datagram_address) - (Fset_network_process_options, server_accept_connection): - Fix some int/Lisp_Object confusions (thank you union types). - -2002-04-01 Pavel Jan,Am(Bk - - * msdos.c: Rename x_autoselect_window_p to autoselect_window_p. - - * w32term.c: Likewise. - (note_mouse_movement): Put code for x_autoselect_window_p in #if 0. - - * keyboard.c (Qselect_window): New symbol. - (head_table): Use it. - (keys_of_keyboard): Bound select-window event to handle-select-window. - (kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT. - - * xterm.c: Rename x_autoselect_window_p to autoselect_window_p. - (last_window): New variable. - (XTread_socket): Generate SELECT_WINDOW_EVENTs. - (note_mouse_movement): Remove reimplemented code in #if 0. - (XTread_socket): Generate SELECT_WINDOW_EVENTs only for - Emacs windows. - - * termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'. - -2002-03-31 Gerd Moellmann - - * xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P. - Callers changed. - -2002-03-30 Richard M. Stallman - - * window.c (window_scroll_pixel_based): Exit the move_it_by_lines - loop whenever it stops making progress. - - * widget.c (set_frame_size): Don't call change_frame_size. - -2002-03-30 Gerd Moellmann - - * dispnew.c (direct_output_for_insert): - Call mark_window_display_accurate. - -2002-03-29 Jason Rumney - - * w32term.c (w32_draw_relief_rect): Fix calculations of line lengths. - -2002-03-29 Eli Zaretskii - - * Makefile.in (lread.o): Depend on coding.h. - - * lread.c (openp, Fload): Encode the file name before passing it - to `stat', `access', and `emacs_open'. - (openp): GCPRO the encoded file name. Don't recompute Lisp - strings unnecessarily. - -2002-03-29 Kim F. Storm - - * fns.c (Flax_plist_put): Doc fix. - -2002-03-28 Miles Bader - - * process.c (DATAGRAM_CONN_P): Make sure PROC is really a process. - -2002-03-27 Pavel Jan,Am(Bk - - * process.c (set-network-process-options): Add usage. - (make-network-process): Doc fix. - -2002-03-26 Eli Zaretskii - - * emacs.c (Fdump_emacs): Fix a typo in "command-line-processed". - -2002-03-26 Richard M. Stallman - - * fns.c (Fsubstring_no_properties): New function. - (Flax_plist_get, Flax_plist_put): New functions. - (syms_of_fns): defsubr them. - - * xdisp.c (update_menu_bar): Test only update_mode_lines; - don't test or alter w->update_mode_line. - - * window.c (Fdisplay_buffer): Doc fix. - -2002-03-24 Richard M. Stallman - - * regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces. - -2002-03-24 Gerd Moellmann - - * eval.c (Qdeclare, Vmacro_declaration_function): New variables. - (Fdefmacro): Handle `(declare ...)'. - (syms_of_eval) : Initialize and staticpro. - (syms_of_eval) : DEFVAR_LISP. - -2002-03-24 Jason Rumney - - * w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data) - (xbm_file_p): Add prototypes. - (xbm_format, xbm_image_p): Sync with xfns.c. - (reflect_byte): New function. - (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows. - (xbm_load_image): Create bitmaps with a depth of 1. - (init_xfns): Enable XBM images. - -2002-03-23 Jason Rumney - - * w32term.c (w32_handle_tool_bar_click): Detect up and down events - correctly. Do not pass up_modifier to keyboard buffer. - - * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals. - -2002-03-22 Stefan Monnier - - * Makefile.in (bootstrapclean): New target. - (bootstrap-temacs, bootstrap-doc): Remove. - (bootstrap-emacs): Use a bog-standard `temacs'. - Don't bother to build a DOC file. - - * sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause. - - * emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup - in temacs even if !CANNOT_DUMP. - (standard_args): Keep --no-loadup even if !CANNOT_DUMP. - - * alloc.c (check_pure_size): Only output a warning. - -2002-03-22 Jason Rumney - - * w32fns.c (Fx_create_frame): Enable tool-bar when images are - supported. - - * w32term.c (zv_bits): Declare as short, for word alignment. - (w32_read_socket) : Fix last change. - (syms_of_w32term): Define x-use-underline-position-properties. - - * w32fns.c (x_set_cursor_color): Set cursor_gc as well. - (clear_image_cache): Block input, fix logic, clear matrices in - all frames that share this cache. - -2002-03-22 Eli Zaretskii - - * emacs.c (main): Update the Copyright year in the blurb printed - by "emacs --version". - - * xdisp.c (message_with_string): Fix syntax of a call to GCPRO2. - - * xterm.c (XTread_socket): If XK_ISO_Lock and - XK_ISO_Last_Group_Lock are defined, handle keysyms between - XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch. - -2002-03-21 Kim F. Storm - - * keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so - menu-bar bindings in keymap and local-map properties _are_ used. - But try keymap property first in accordance with 2002-01-03 patch. - Added comment describing why this is not always reliable. - (tool_bar_items): Ditto for tool-bar. - -2002-03-21 Jason Rumney - - * w32fns.c (x_clear_image_1): Disable color table code. - -2002-03-21 Kim F. Storm - - * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch - removed the wrong version of the DEFUN macro; fixed it. - - * fns.c (Ffeaturep): Allow subfeature to be a list (test using - Fmember rather than Fmemq). - (Fprovide): Check that subfeatures is a list. - - * process.c (QCfeature, QCdatagram): Removed variables. - (QCtype, Qdatagram): New variables. - (network_process_featurep): Removed function. - (Fmake_network_process): Removed :feature check. - Use :type 'datagram instead of :datagram t to create a datagram - socket. This allows us to add other connection types (e.g. raw - sockets) later in a consistent manner. - (init_process) [subprocess, HAVE_SOCKETS]: Provide list of - supported subfeatures for feature make-network-process. - (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram. - Intern and staticpro QCtype and Qdatagram. - (syms_of_process) [!subprocess]: Intern and staticpro QCtype. - - * xfns.c (QCtype): Remove duplicate declaration and - initialization (is now declared in process.c). - - * w32fns.c (QCtype): Remove duplicate declaration and - initialization (is now declared in process.c). - -2002-03-21 Richard M. Stallman - - * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro. - (CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT - when jumping to `fail' to avoid undoing reg changes in the - last iteration of the loop. - (GET_UNSIGNED_NUMBER): Skip spaces around the number. - - * Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o): - Depend on process.h. - -2002-03-20 Jason Rumney - - Most of the following changes are still conditional on HAVE_IMAGES - which is not set by default on Windows. - - * emacs.c (main) [WINDOWSNT]: Call init_xfns. - - * w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame. - (Fimage_size, Fimage_mask_p, XPutPixel): New functions. - (four_corners_best, x_clear_image_1, x_clear_image) - (x_alloc_image_color, postprocess_image) - (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image) - (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows. - (init_xfns, syms_of_w32fns): Initialize image functions and constants. - - * w32gui.h (struct XImage): Define. - - * w32term.c (w32_read_socket) : Use XFASTINT to - extract mouse co-ordinates. - -2002-03-20 Jason Rumney - - * w32.c (init_winsock): Dynamically load new server and UDP - socket functions. - (socket_to_fd): New function. - (sys_socket): Use it. - (sys_setsockopt, sys_listen, sys_getsockname, sys_accept) - (sys_recvfrom, sys_sendto): New wrapper functions. - - * process.c (QCfamily, QCfilter): Remove duplicate declaration - and initialization. - - * makefile.w32-in (LIBS): Remove $(WSOCK32). - -2002-03-20 Eli Zaretskii - - * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): - Don't use "sun" as a variable, it's a predefined constant on Sun - machines. - -2002-03-20 Pavel Jan,Am(Bk - - * bytecode.c (Fbyte_code): Revert last change. - -2002-03-19 Kim F. Storm - - * makefile.w32-in (LIBS): Add $(WSOCK32). - From David Ponce . - -2002-03-18 Pavel Jan,Am(Bk - - * process.c (wait_reading_process_input): Move variables `pname' - and `pnamelen' down where they are used. - - * bytecode.c (Fbyte_code): Discard unused computed value to - prevent gcc warning. - - * lisp.h (Fplist_member): Add prototype. - -2002-03-18 Kim F. Storm - - * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT, - HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and HAVE_SYS_UN_H. - - * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H. - Remove explicit GNU_LINUX settings for datagram support. - -2002-03-18 Pavel Jan,Am(Bk - - * process.c (Fmake_network_process): Remove unused variable `sa'. - Doc fix. Add usage:. - (set_socket_options): Remove unused variables `optnum' and `opttype'. - -2002-03-17 Richard M. Stallman - - * xdisp.c (cursor_type_changed): New variable. - (redisplay_internal): Redisplay all windows if cursor_type_changed. - Clear it when clearing windows_or_buffers_changed. - (try_cursor_movement, redisplay_window, try_window_id) - (try_window_reusing_current_matrix): Test cursor_type_changed - along with windows_or_buffers_changed. - - * window.h (cursor_type_changed): New variable. - - * xfns.c (x_set_cursor_type): Set cursor_type_changed, - not update_mode_lines, and always set it to 1. - - * xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed - if no frames needed redrawing. - -2002-03-17 Kim F. Storm - - The following changes add support for network server processes, - datagram connections, and local (unix) sockets. - - * process.h (struct Lisp_Process): New member log. - Doc fix: Member command used to indicate stopped network process. - Doc fix: Member childp contains plist for network process. - Doc fix: Member kill_without_query is inverse of query-on-exit flag. - - * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily) - (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery, QCstop) - (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature): New - variables. - (NETCONN1_P): New macro. - (DATAGRAM_SOCKETS): New conditional symbol. - (datagram_address): New array. - (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros. - (status_message): Use concat3. - (Fprocess_status): Add `listen' status to doc string. Return - `stop' for a stopped network process. - (Fset_process_buffer): Update contact plist for network process. - (Fset_process_filter): Ditto. Don't enable input for stopped - network processes. Server must listen, even if filter is t. - (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag): - New functions. - (Fprocess_kill_without_query): Removed. Now defined in simple.el. - (Fprocess_contact): Added KEY argument. Handle datagrams. - (list_processes_1): Optionally show only processes with the query - on exit flag set. Dynamically adjust column widths. Omit tty - column if not needed. Report stopped network processes. Identify - server and datagram network processes. - (Flist_processes): New optional arg `query-only'. - (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) - (conv_lisp_to_sockaddr, set_socket_options) - (network_process_featurep, unwind_request_sigio): New helper - functions. - (Fprocess_datagram_address, Fset_process_datagram_address): - (Fset_network_process_options): New lisp functions. - (Fopen_network_stream): Removed. Now defined in simple.el. - (Fmake_network_process): New lisp function. Code is based on - previous Fopen_network_stream, but heavily reworked with new - property list based argument list, support for datagrams, server - processes, and local sockets in addition to old client-only - functionality. - (server_accept_connection): New function. - (wait_reading_process_input): Use it to handle incoming connects. - Do not enable input on a new connection if process is stopped. - (read_process_output): Handle datagram sockets. Use 2k buffer for - them. - (send_process): Handle datagram sockets. - (Fstop_process, Fcontinue_process): Apply to network processes. A - stopped network process is indicated by setting command field to t. - (Fprocess_send_eof): No-op if datagram connection. - (Fstatus_notify): Don't read input for a stream server socket or a - stopped network process. - (init_process): Initialize datagram_address array. - (syms_of_process): Intern and staticpro new variables, defsubr new - functions. - -2002-03-16 Jason Rumney - - * w32fns.c (w32_to_all_x_charsets): Return correct type in - startup case. - -2002-03-16 Richard M. Stallman - - * xdisp.c (redisplay_internal, redisplay_windows): - Use list_of_error to call internal_condition_case_1. - (safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2} - so as to catch all errors with no possibility of debugger redisplay. - (list_of_error): New variable. - (syms_of_xdisp): Init and staticpro it. - - * print.c (print_object): Delete `\ ' from printed rep of frame. - -2002-03-15 Eli Zaretskii - - * msdos.c (dos_rawgetc): Disable the x-autoselect-window feature, - until its implementation is fixed. - -2002-03-14 Pavel Jan,Am(Bk - - * xfns.c (png_load): Remove unused variable `gamma_str'. - -2002-03-14 Richard M. Stallman - - * xfns.c (x_real_positions): Handle failure in XQueryTree. - -2002-03-14 Miles Bader - - * intervals.c (adjust_for_invis_intang): New function. - (set_point_both): Use `adjust_for_invis_intang' to do most of the - work for dealing with invisible+intangible regions. Do so before - and after both forward and backward movements, to handle both - front-sticky and rear-sticky cases. - * textprop.c (text_property_stickiness): Function moved here from - `editfns.c'. - * intervals.h (text_property_stickiness): New declaration. - * editfns.c (char_property_eq): Function removed. - (text_property_stickiness): Function moved to `textprop.c'. - -2002-03-13 Jason Rumney - - * config.in: Add STRFTIME_NO_POSIX2. - - * strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX - and %OX when underlying strftime does not. - -2002-03-13 Stefan Monnier - - * xterm.c (x_set_toolkit_scroll_bar_thumb) : - Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per - line) to avoid annoying flicker. - (xm_scroll_callback): Get rid of the now unnecessary kludge. - (XTread_socket): Mark it static. - - * xdisp.c (display_mode_element): Fix int/Lisp_Object mixup. - -2002-03-13 Kim F. Storm - - * puresize.h (BASE_PURESIZE): Increase to 775000. - -2002-03-12 Juanma Barranquero - - * editfns.c (syms_of_editfns): Fix typo. - -2002-03-12 Gerd Moellmann - - * xsmfns.c: Include stdio.h because termhooks.h needs it. - Include termopt.h for interrupt_input. - -2002-03-11 Andreas Schwab - - * coding.c (syms_of_coding) : Doc fix. - -2002-03-11 Gerd Moellmann - - * xterm.c (note_mouse_movement): Put code for - x_autoselect_window_p in #if 0. - - * lread.c (Fload): Don't assume that message_with_string uses the - string it is given like a C string. - -2002-03-10 Jan Dj,Ad(Brv - - * xterm.h (x_session_check_input, x_session_initialize): Declare. - - * xterm.c (XTread_socket): Add call to x_session_check_input and - x_session_have_connection. - (x_initialize): Add call to x_session_initialize. - - * termhooks.h (enum event_kind): Add save_session_event. - - * keyboard.c: Add Emacs event save_session_event. - - * emacs.c (main): Add call to syms_of_xsmfns. - - * lisp.h (syms_of_xsmfns): Declare extern. - - * config.in: Add HAVE_X_SM. - - * Makefile.in (LIBXT): Add -lSM -lICE - if HAVE_X_SM and not USE_X_TOOLKIT. - (XOBJ): New file xsmfns.c added. - - * xsmfns.c: New file for X session management. - -2002-03-09 Jason Rumney - - * fileio.c (Fcopy_file) [WINDOWS_NT]: Ensure file is not - read-only when setting modified time. - -2002-03-08 Gerd Moellmann - - * xdisp.c (move_it_vertically_backward): At the end of the function, - when moving forward by lines, treat terminal frames specially. - - * keyboard.c (echo_char): Make sure to add a separator between - keys even if echo_dash hasn't been called. - - * xdisp.c: Use new string macros. - (update_echo_area): Pass number of bytes to message3 instead of - number of chars. - (set_message_1): Don't access a string's size_byte directly. - (decode_mode_spec_coding): Use number of bytes of eoltype string - instead number of chars. - - * lisp.h (SREF, SDATA, SCHARS, SBYTES, SMBP): New macros. - -2002-03-08 Juanma Barranquero - - * w32fns.c (Fx_display_color_cells): Force 24+ bit color depths to - 24-bit. - -2002-03-06 Jason Rumney - - * w32term.c (x_draw_hollow_cursor): Draw same size as block cursor. - -2002-03-06 Gerd Moellmann - - * keyboard.c (echo_prompt, echo_char, echo_dash, echo_now) - (cancel_echoing, echo_length, echo_truncate): Changed to - work with new kboard definition. - (echo_now): Use message3_nolog instead of message2_nolog. - - * alloc.c (mark_kboards): Mark echo_string. - - * keyboard.h (ECHOBUFSIZE): Removed. - (struct kboard): Member echoptr removed, member echobuf renamed - to echo_string. - - * xdisp.c (message_with_string): Use Fformat instead of doprnt and - message3 instead of message2 to display the message using STRING's - text properties. - -2002-03-05 Andreas Schwab - - * xdisp.c (hscroll_margin): Change to EMACS_INT. - -2002-03-05 Per Abrahamsen - - * frame.c (default-frame-alist): Explain that setting it doesn't - affect existing frames. - -2002-03-05 Stefan Monnier - - * indent.c (skip_invisible): Fix my brain fart. - - * dispnew.c (sit_for): Don't wait if executing a kbd macro. - -2002-03-04 Stefan Monnier - - * dosfns.c, dosfns.h, dispnew.c, dispextern.h, commands.h, charset.c, - * alloc.c, abbrev.c, emacs.c, eval.c, keyboard.c, keyboard.h, - * lisp.h, lread.c, sysdep.c, termcap.c, termchar.h, w32term.c, - * window.c, xdisp.c, xselect.c, xterm.c: Change defvar_int definition - and variables to use EMACS_INT instead of just int. - - * buffer.c (syms_of_buffer): Allow non-string `mode-name'. - -2002-03-04 Eli Zaretskii - - * sysdep.c (sys_subshell) [MSDOS]: If PWD is set in the - environment, pass it down with corrected value. - -2002-03-04 Pavel Jan,Am(Bk - - * lread.c (read_filtered_event): Do not call start_hourglass - before returning. - -2002-03-04 Juanma Barranquero - - * w32term.c (x_display_and_set_cursor): Fix typo. - -2002-03-03 Richard M. Stallman - - * fileio.c (Fmake_temp_name): Doc fix. - -2002-03-03 Gary Wong - - * termcap.c [!emacs]: Replace ospeed for building standalone - libtermcap, for binary compatibility. - - * tparam.c [!emacs]: Move #define of bcopy to after string.h. - -2002-03-03 Richard M. Stallman - - * xrdb.c (file_p): Rename arg `path' to `filename'. - - * abbrev.c (Fexpand_abbrev): Increment plist as use count - only if it is an integer. - - * xfns.c (png_load): Set screen_gamma based on f->gamma. - If png_get_sRGB gives an answer, call png_set_gamma - using the default image gamma value. - - * lread.c (read1): When reading from a file, default string to - multibyte only if it has some multibyte characters. - - * print.c (print_object): Output multibyte chars 128...255 - using \x even if ! print_escape_multibyte. - - * xdisp.c (display_mode_element): Move the places where - bytepos, charpos, this, and lisp_string are set. - Use lisp_string to set bytepos. - - * xdisp.c (redisplay_internal): - Call clear_image_cache only if HAVE_WINDOW_SYSTEM. - - * xdisp.c (display_mode_element): Merge properties specified with - :propertize onto those that come with the string. - -2002-03-03 Eli Zaretskii - - * xdisp.c (syms_of_xdisp) : Renamed from - automatic-hscrolling. Users changed. - : Renamed from automatic-hscroll-margin. - Users changed. - : Renamed from automatic-hscroll-step. Users changed. - -2002-03-02 Eli Zaretskii - - * buffer.c (syms_of_buffer) : Doc fix. - -2002-03-02 Kim F. Storm - - * window.c (Fminibuffer_selected_window): New function. - (syms_of_window): Defsubr it. - -2002-03-01 Kim F. Storm - - * window.h (struct window): New member phys_cursor_width. - - * window.c (make_window, replace_window): Init phys_cursor_width. - - * xterm.c (x_display_and_set_cursor): Blink box cursor using - hollow box cursor. Blink bar cursor using 1 pixel wide bar. - - * w32term.c (x_display_and_set_cursor): Blink box cursor using - hollow box cursor. Blink bar cursor using 1 pixel wide bar. - - * lisp.h (GCPRO6): New macro. - - * process.c (Fopen_network_stream): Use GCPRO6. - -2002-03-01 Kim F. Storm - - * process.c (Qconnect, Qfailed): New variables. - (syms_of_process): Intern and staticpro them. - (Fprocess_status): Document connect and failed return values. - [NON_BLOCKING_CONNECT]: New conditional. - (connect_wait_mask, num_pending_connects): New variables. - (status_message): Convert Qfailed status. - (Fopen_network_stream): Added support for non-blocking connect. - New optional args: filter, sentinel, non_blocking. Doc updated. - [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code. - (deactivate_process): Handle pending non-blocking connect. - (wait_reading_process_input): Poll for status of non-blocking - connects. Exec sentinel directly when connect succeeds. - (status_notify): Don't read process output if not yet connected. - -2002-02-28 Kim F. Storm - - * window.c (minibuf_selected_window): Renamed from - Vminibuf_selected_window. Users changed. - (syms_of_window): Staticpro it. - -2002-02-26 Kim F. Storm - - The following changes add a new Vminibuf_selected_window variable - which is similar to Vminibuf_scroll_window, but which is only set - on entry to the minibuffer (from a non-minibuffer window): - - * window.c (Vminibuf_selected_window): New variable. - (struct save_window_data): New member minibuf_selected_window. - (Fset_window_configuration): Restore Vminibuf_selected_window. - (Fcurrent_window_configuration): Save Vminibuf_selected_window. - Set minibuf_scroll_window member to nil if minibuf_level is 0. - (compare_window_configurations): Compare minibuf_selected_window. - - * window.h (Vminibuf_selected_window): Declare extern. - - * minibuf.c (read_minibuf): Set Vminibuf_selected_window on first - entry to minibuffer or on entry from a non-minibuffer window. - - * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): Compare with - Vminibuf_selected_window instead of Vminibuf_scroll_window. - - * xdisp.c (init_iterator): Compare with Vminibuf_selected_window - instead of Vminibuf_scroll_window when deciding in which window - the region should be highlighted. Consequently, the region remains - highlighteded even when a completion buffer is also displayed. - -2002-02-26 Eli Zaretskii - - * fileio.c (Fsubstitute_in_file_name): Fix the change from 2002-02-08. - - * xselect.c (Qcompound_text_with_extensions): Renamed from - Qcompound_text_no_extensions. - (lisp_data_to_selection_data, syms_of_xselect): Use the new name. - -2002-02-26 Juanma Barranquero - - * w32proc.c (syms_of_ntproc): Doc fix. - -2002-02-24 Pavel Jan,Am(Bk - - * intervals.h: Include "dispextern.h" unconditionally. - -2002-02-24 Jason Rumney - - * Makefile.in (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc - and disp-table.elc. - (lisp): Add emacs-lisp/backquote.elc. - -2002-02-24 Kim F. Storm - - * keymap.c (Flookup_key): Fix problem in 2001-12-28 patch: - The validation of the event type was too strict as it didn't - allow string events; buffer names are used in bindings for - menu-bar-select-buffer (see `menu-bar-update-buffers'). - -2002-02-23 Kim F. Storm - - The following changes rework my patch of 2002-02-06 which - added command remapping by entering the commands directly into - the keymaps. Now, command remapping uses an explicit `remap' - prefix in the keymaps, i.e. [remap COMMAND]. - - * keymap.c (Qremap, remap_command_vector): New variables. - (is_command_symbol): Remove function. - (Fdefine_key): No longer accept a symbol for KEY. - Added validation of [remap COMMAND] argument for KEY. - The DEF is no longer required to be a symbol when remapping a command. - (Fremap_command): New function to remap command through keymaps. - (Flookup_key): Perform command remapping initiated by - Fremap_command directly for speed. - (Fkey_binding): Use Fremap_command for command remapping. - (where_is_internal): Handle new command remapping representation. - (syms_of_keymap): Intern Qremap, initialize remap_command_vector, - staticpro them. Defsubr Fremap_command. - - * keymap.h (Fremap_command): Declare extern. - (is_command_symbol): Remove extern. - - * keyboard.c (command_loop_1): Use Fremap_command for command - remapping; now try command remapping for all symbols. - -2002-02-23 Eli Zaretskii - - * coding.h (run_pre_post_conversion_on_str): Add prototype. - -2002-02-23 Jason Rumney - - * w32select.c (Fw32_set_clipboard_data): Run pre-write-conversion - on the string before encoding it. - (Fw32_get_clipboard_data): Run post-read-conversion on the string - after decoding it. - - * w32fns.c (w32_wnd_proc) : Fix last change. +2007-10-26 Dan Nicolaescu -2002-02-23 Pavel Jan,Am(Bk + * frame.h (struct frame): Move all bit fields after the first bit + field to take advantage of the available space. Group all the + chars together to reduce wasted space due to padding. - * w32term.c (enter_timestamp): Remove unused static variable to - prevent warning. +2007-10-26 Juanma Barranquero - * xterm.c (enter_timestamp): Put in #if 0 to prevent warning. + * minibuf.c (Fread_minibuffer, Feval_minibuffer): Reflow docstrings. -2002-02-23 Eli Zaretskii + * alloc.c (spare_memory, stack_copy, stack_copy_size, ignore_warnings) + (Vdead, dont_register_blocks, staticvec, staticidx, interval_block) + (n_interval_blocks, init_strings, check_string_bytes, check_sblock) + (init_float, free_float, n_cons_blocks, init_cons, all_vectors) + (n_vectors, symbol_block, symbol_block_index, symbol_free_list) + (n_symbol_blocks, init_symbol, marker_block, marker_free_list) + (n_marker_blocks, init_marker, valid_pointer_p, make_pure_float) + (last_marked, mark_object_loop_halt): Make static. - * w16select.c (Fw16_get_clipboard_data): Fix last change. - - * xselect.c (selection_data_to_lisp_data): Fix last change. - -2002-02-22 Jason Rumney - - * w32term.h (struct w32_output): New member menu_command_in_progress. - - * w32menu.c (menubar_selection_callback): Free the menu and - clear the menu_command_in_progress flag. - - * w32fns.c (mouse_move_timer, mouse_button_timer): Initialize. - (menu_free_timer): New variable. - (MENU_FREE_ID, MENU_FREE_DELAY): New constants. - (w32_wnd_proc) : Handle menu_free_timer. - : Delay before freeing menu. Do nothing if a - menu command is in progress. - : Set the menu_command_in_progress flag. - Kill any menu_free_timer that is running. - - * w32term.c (w32_text_out): Renamed from W32_TEXTOUT. - Call ExtTextOutA rather than ExtTextOut. - -2002-02-22 Eli Zaretskii - - * puresize.h (BASE_PURESIZE): Increase to 755000. - -2002-02-22 Eli Zaretskii - - * w16select.c (Fw16_set_clipboard_data): Run pre-write-conversion - on the string before encoding it. - (Fw16_get_clipboard_data): Run post-read-conversion on the string - after decoding it. - -2002-02-22 Eli Zaretskii - - Support for ICCCM Extended Segments in X selections: - - * xselect.c : New variable. - (syms_of_xselect): Intern and staticpro it. - (selection_data_to_lisp_data): Run post-read-conversion on decoded - selection text. - (lisp_data_to_selection_data): If next-selection-coding-system is - compound-text-no-extensions, set the type of selection to be - compound-text. - - * xterm.h (x_encode_text): Update prototype. - - * xfns.c (x_encode_text): Accept additional arg SELECTIONP; all - callers changed. If SELECTIONP is non-zero, run the - pre-write-conversion function before encoding the selection text. - -2002-02-21 Kim F. Storm - - * frame.c (syms_of_frame): Change mouse-highlight default to t. - - * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: - Correct composing of language-change event. - -2002-02-20 Kim F. Storm - - * keyboard.c (menu_bar_items): Don't include keymap or local-map - bindings at PT when building menu (the menu is not updated often - enough for this to work reliable). - (tool_bar_items): Likewise. - (current_active_maps): Removed unused (and buggy) function. - -2002-02-20 Pavel Jan,Am(Bk - - * xfns.c (gif_load): Use correct width and height for GIF images. - -2002-02-19 Eli Zaretskii - - * floatfns.c (Fatan): Accept an optional second arg and call - atan2 if passed 2 args. - -2002-02-18 Jason Rumney - - * w32term.c (glyph_rect): Determine the row and glyph more precisely. - -2002-02-17 Jason Rumney - - * w32term.c (x_autoselect_window_p): New variable. - (syms_of_w32term): DEFVAR_BOOL and initialize it. - (note_mouse_movement): Use it. - - * w32fns.c (w32_load_system_font): Never set fonts_changed_p to zero. - - * w32bdf.c (w32_load_bdf_font): Maybe set fonts_changed_p. - - * w32fns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): - New variables. - (syms_of_w32fns): Intern and staticpro them. - (x_frame_parms) <"fullscreen">: New parameter. - (x_fullscreen_move, x_set_fullscreen): New functions. - (x_set_frame_parameters): Support Qfullscreen. - (x_real_positions): Save x/y_pixels_diff frame params. - (x_figure_window_size): Support full-screen frames. - (Fx_create_frame): Default the fullscreen parameter. - - * w32term.c (x_check_fullscreen, x_check_fullscreen_move) - (x_fullscreen_adjust): New functions. - (w32_read_socket) : Don't resize to - fullscreen. Call x_check_fullscreen_move, and set the - want_fullscreen member of output_data.w32 - : Call x_check_fullscreen. - - * w32term.h: New enum for FULLSCREEN_* constants. - (struct w32_output): New members want_fullscreen, x_pixels_diff, - y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff. - (x-fullscreen-adjust): New prototype. - -2002-02-17 Kim F. Storm - - * frame.c (Vmouse_highlight): New variable. - (syms_of_frame): DEFVAR_LISP it. - - * frame.h (Vmouse_highlight): Declare extern. - - * xterm.h (struct x_display_info): Add mouse_face_hidden. - - * xterm.c (disable_mouse_highlight): Removed variable. - (note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. - (show_mouse_face): Don't show highlight if mouse_face_hidden is set. - (XTread_socket): Turn mouse_face_hidden off after mouse movement, - and on after keyboard input. - (x_term_init): Initialize mouse_face_hidden. - - * msdos.h (struct display_info): Add mouse_face_hidden. - - * msdos.c (disable_mouse_highlight): Removed variable. - (show_mouse_face): Don't show highlight if mouse_face_hidden is set. - (IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. - (internal_terminal_init): Initialize mouse_face_hidden. - (dos_rawgetc): Turn mouse_face_hidden off after mouse movement, - and on after keyboard input. - - * w32term.h (struct w32_display_info): Add mouse_face_hidden. - - * w32term.c (disable_mouse_highlight): Removed variable. - (note_mouse_highlight): Disable highlight if Vmouse_highlight is nil. - (show_mouse_face): Don't show highlight if mouse_face_hidden is set. - (w32_read_socket): Turn mouse_face_hidden off after mouse movement, - and on after keyboard input. - (w32_initialize_display_info): Initialize mouse_face_hidden. - -2002-02-16 Eli Zaretskii - - * msdos.c (last_mouse_window): New variable. - (dos_rawgetc): Fix last change--if the mouse is in the same window - as recorded in last_mouse_window, don't select this window. - - * Makefile.in (lisp, shortlisp): Use cus-start.elc, not cus-start.el. - - * msdos.c (x_autoselect_window_p): New variable. - (syms_of_msdos): Defvar it. - (dos_rawgetc): If x_autoselect_window_p is set, select the window in - which the last mouse movement occured, unless it is already selected. - - * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step): - New variables. - (syms_of_xdisp): DEVFAR them. - (hscroll_window_tree): Use automatic_hscroll_margin and - Vautomatic_hscroll_step to compute the amount of window scrolling. - -2002-02-16 Pavel Jan,Am(Bk - - * xterm.c (x-autoselect-window): New variable. - (note_mouse_movement): Use it. - - * keyboard.c: Do not include "systime.h" twice. - -2002-02-15 Andreas Schwab - - * puresize.h (PURESIZE_RATIO): Increase to 9/5. - - * alloc.c (NSTATICS): Increase to 1280. - -2002-02-15 Kai Gro,A_(Bjohann - - * alloc.c (NSTATICS): Bump to 1026. - - * xterm.c (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym) - (Vx_super_keysym): New variables. - (syms_of_xterm): DEFVAR_LISP them. - (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the - variables to determine which keys to use for the various modifiers. - -2002-02-13 Kim F. Storm - - * window.c (Vmode_line_in_non_selected_windows): Removed. - (mode_line_in_non_selected_windows): New variable. - (syms_of_window): DEFVAR_BOOL it. - - * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): - Use mode_line_in_non_selected_windows. - (mode_line_in_non_selected_windows): Declare extern. - (Vmode_line_in_non_selected_windows): Removed extern. - -2002-02-13 Richard M. Stallman - - * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector) - (Fthis_single_command_keys, Fthis_single_command_raw_keys) - (Fclear_this_command_keys): Doc fixes. - - * xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face) - (update_face_from_frame_parameter): Increment face_change_count - and windows_or_buffers_changed to force redisplay using changed faces. - - * xdisp.c (QCpropertize): New variable. - (mode_line_proptrans_alist): New variable. - (display_mode_element): New arg PROPS; all calls changed. - Implement this, for strings. - Handle literal output of strings by sharing the - main-line code for strings, using local var `literal'. - Handle :propertize feature. - (syms_of_xdisp): Initialze and staticpro QCpropertize and - mode_line_proptrans_alist. - -2002-02-11 Kim F. Storm - - * window.c (Vmode_line_in_non_selected_windows): New variable. - (syms_of_window): DEFVAR_LISP it. - - * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro. - (CURRENT_MODE_LINE_FACE_ID): Use it. - (Vmode_line_in_non_selected_windows): Declare extern. - - * xdisp.c (display_mode_lines): Use CURRENT_MODE_LINE_FACE_ID_3 - to get mode line face. - -2002-02-11 Eli Zaretskii - - * msdos.c (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these - variables; cus-start.el doesn't need them anymore. - -2002-02-09 Kim F. Storm - - * insdel.c (make_gap_smaller): Preserve BEG_UNCHANGED during gap - reduction. This fixes a display problem where stray newlines were - inserted in the window (corrected by C-l). Clarified code (IMHO). - -2002-02-09 Eli Zaretskii - - * dispextern.h (CURRENT_MODE_LINE_FACE_ID): Fix last change. - - * xdisp.c (display_mode_lines): Fix last change. - -2002-02-09 Jason Rumney - - * w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows - match each other. - (w32_load_system_font): Prevent Cleartype fonts from loading. - (Fx_show_tip): Ensure tip frames are above other topmost windows. - -2002-02-09 Kim F. Storm - - * dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro. - (CURRENT_MODE_LINE_HEIGHT): Use it. - (enum face_id): Add MODE_LINE_INACTIVE_FACE_ID. - - * xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID. - (pos_visible_p, handle_face_prop): Likewise. - (display_mode_lines): Likewise, but for the real selected window. - (init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID. - - * xfaces.c (Qmode_line_inactive): New face variable for mode-line - in non-selected windows. - (realize_basic_faces): Realize it. - (syms_of_term): Intern and staticpro it. - -2002-02-08 Kim F. Storm - - * alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): - Changed mail addresses to emacs-devel@gnu.org. - -2002-02-08 Eli Zaretskii - - * fileio.c (Fsubstitute_in_file_name): If the file name includes - ~user, and there's no such user, don't discard everything before ~user. - - * floatfns.c (Fround): Doc fix. - -2002-02-08 Pavel Jan,Am(Bk - - * sysdep.c (init_system_name): Put unused variable `p' in #if 0. - -2002-02-07 Stefan Monnier - - * lisp.h (Fx_file_dialog): Add extern decl (used in fileio.c). - -2002-02-07 Kim F. Storm - - * keymap.c (where_is_internal): Only check whether definition is - remapped if it fulfills is_command_symbol. - -2002-02-07 Andreas Schwab - - * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k. - - * alloc.c (mark_stack): Don't assume sizeof (Lisp_Object) is 4. - -2002-02-06 Kim F. Storm - - * keymap.c (Fdefine_key): Allow symbol as KEY argument for - defining command remapping. Doc updated. - (Flookup_key): Remap command through keymap if KEY is a symbol. - (is_command_symbol): New function. - (Fkey_binding): Use it. New optional argument NO-REMAP. - Doc updated. Callers changed. Perform command remapping via - recursive call unless that arg is non-nil. - (where_is_internal): New argument no_remap. Callers changed. - Call recursively to find original key bindings for a remapped - comand unless that arg is non-nil. - (Fwhere_is_internal): New optional argument NO-REMAP. - Doc updated. Callers changed. Pass arg to where_is_internal. - - * keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype. - (is_command_symbol): Add prototype. - - * keyboard.c (Vthis_original_command): New variable. - (syms_of_keyboard): DEFVAR_LISP it. - (command_loop_1): Set it, and perform command remapping. - -2002-02-06 Pavel Jan,Am(Bk - - * keyboard.c (recursive_edit_1): Call cancel_hourglass unconditionally. - -2002-02-06 Jason Rumney - - * w32term.c (w32_native_per_char_metric): Disable 2002-01-20 change. - -2002-02-06 Eli Zaretskii - - * charset.c (get_charset_id): Use if-else instead of ?:. - -2002-02-06 Richard M. Stallman - - * filelock.c (S_ISLNK): Define if not defined. - -2002-02-03 Richard M. Stallman - - * fileio.c (Fdo_auto_save): Improve "auto save disabled" msg. - - * lread.c (read1): Redesign strategy for force_multibyte and - force_singlebyte. Now is_multibyte records whether read_buffer - is multibyte. Encountering any multibyte character makes it so. - -2002-02-02 Stefan Monnier - - * term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and - with the same sequence, map that sequence to f10 rather than f0. - -2002-02-03 Andreas Schwab - - * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the - latter never being defined on GNU/Linux. - -2002-02-02 Eli Zaretskii - - * xfaces.c (realize_default_face): Don't set the weight and slant of - the default face to Qnormal, unless these attributes are unspecified. - -2002-02-02 Pavel Jan,Am(Bk - - * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]: - Call cancel_hourglass unconditionally. - - * eval.c (Fsignal): Remove duplicated declaration of - the variable `display_hourglass_p'. - -2002-01-31 Richard M. Stallman - - * editfns.c (region_limit): Nicer error message. - - * coding.c (decode_composition_emacs_mule): - Give up if NCOMPONENT gets too large to index `component'. - - * callint.c (check_mark): New arg to specify clearer error message. - Callers changed. - -2002-01-27 Richard M. Stallman - - * minibuf.c (Fcompleting_read): Doc fix. - -2002-01-27 Pavel Jan,Am(Bk - - * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function) - (Fread_variable, Fread_buffer, minibuffer-completion-confirm): - Fix doc-strings. - -2002-01-26 Richard M. Stallman - - * buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively. - - * xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively - and scroll_up_aggressively. - -2002-01-26 Pavel Jan,Am(Bk - - * keyboard.c (parse_tool_bar_item): Remove duplicated prototypes. - -2002-01-25 Stefan Monnier - - * textprop.c (Fnext_property_change, Fnext_single_property_change) - (Fprevious_property_change, Fprevious_single_property_change): - Stay within the narrowed-buffer boundaries. - -2002-01-25 Eli Zaretskii - - * term.c (Ftty_display_color_cells): New function. - (syms_of_term): Defsubr it. - (Ftty_display_color_cells, Ftty_display_color_p): Change the - argument name to DISPLAY. Doc fix. - - * dispextern.h: Add prototype for set_tty_color_mode and - tty_setup_colors. - -2002-01-24 Jason Rumney - - * w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt. - If region left to draw is not what was expected, mark the frame as - garbaged. + * frame.c (syms_of_frame) : + Fix typo in docstring. - * w32fns.c (w32_wnd_proc) : Initialize update_rect. - Combine the regions returned by BeginPaint and GetUpdateRect. +2007-10-25 Juanma Barranquero -2002-01-23 Jason Rumney + * w32.c (init_environment): Fix tiny memory leak. + (w32_get_resource): Remove unused variable `ok'. - * w32term.c (x_update_window_begin): Only hide caret if - w32_use_visible_system_caret is set. - (x_update_window_end): Only show caret if - w32_use_visible_system_caret is set. - (syms_of_w32term): Handle SystemParametersInfo call failing. +2007-10-25 Stefan Monnier - * w32fns.c (syms_of_w32fns): Initialize w32_visible_system_caret_hwnd. + Make `window-system' into a keyboard-local variable (rather than + frame-local as done originally by multi-tty). -2002-01-22 Richard M. Stallman + * keyboard.h (struct kboard): Add Vwindow_system. + * keyboard.c (init_kboard): Set a default for Vwindow_system. + (mark_kboards): Mark Vwindow_system. - * unexelf.c (unexec): Define n so as to cause compilation error - for the code where people have often written n instead of nn. + * dispnew.c (syms_of_display) : Declare terminal-local. + (init_display): Don't set the obsolete `window-system' frame-param. - * .gdbinit (hookpost-run): Defined. + * xterm.c (x_term_init): + * w32term.c (w32_create_terminal): + * term.c (init_tty): Set Vwindow_system. + * macterm.c (mac_create_terminal): Set a keyboard (missing piece of the + multi-tty merge maybe?), copied from w32term.c. Set Vwindow_system. -2002-01-22 Jan Dj,Ad(Brv + * xfns.c (Fx_create_frame, x_create_tip_frame): + * w32fns.c (Fx_create_frame, x_create_tip_frame): + * macfns.c (Fx_create_frame): + Don't set the obsolete `window-system' frame-param. - * xfns.c (x_set_frame_parameters): Typo in previous fix corrected. + * frame.h (Qwindow_system): Remove. + * frame.c (Qwindow_system): Remove. In `syms_of_frame' as well. + (Fmake_terminal_frame): Don't set obsolete `window-system' frame-param. -2002-01-21 Jan Dj,Ad(Brv ++2007-10-24 Richard Stallman + - * xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust - if fullscreen is being set. ++ * frame.c (x_figure_window_size): For fullscreen case, ++ set USPosition | PPosition without clobbering rest of window_prompting. + -2002-01-21 Pavel Jan,Am(Bk ++ * keyboard.c (Fcurrent_idle_time): Doc fix. + - * minibuf.c (Fminibuffer_contents) - (Fminibuffer_contents_no_properties, Fread_from_minibuffer) - (Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes. ++ * print.c (Fwith_output_to_temp_buffer): Doc fix. + -2002-01-21 Richard M. Stallman +2007-10-23 Stefan Monnier - * window.c (check_frame_size): Fix minimum height calculation. + * process.c (unwind_request_sigio): Only define if __ultrix__. -2002-01-20 Ken Raeburn + * callproc.c (child_setup): Remove spurious *. - * dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window - height before comparison. - (WINDOW_WANTS_HEADER_LINE_P): Likewise. + * lisp.h (Fget_text_property): Declare. + (have_menus_p): Declare it here rather than in sys-dep header files. + * macterm.h (have_menus_p): + * msdos.h (have_menus_p): + * xterm.h (have_menus_p): Remove. -2002-01-20 Jason Rumney + * data.c (Fmake_variable_buffer_local, Fmake_local_variable) + (Fmake_variable_frame_local): Just check the variable's const-ness + rather than checking nil or t. - * w32term.c (w32_system_caret_width): Remove. - (w32_use_visible_system_caret): New user flag. - (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether - Windows reports a screen reader running. - (x_update_window_begin): Hide the system caret. - (x_update_window_end): Show the system caret. - (x_display_and_set_cursor): Don't draw a cursor when - w32_use_visible_system_caret is set. Do not adjust width. +2007-10-22 Jason Rumney - * w32fns.c (w32_visible_system_caret_hwnd): New static variable. - (w32_wnd_proc) : Set it. - : Arrange for system caret to be visible if - the user requests it. Use system default width when creating. - : Handle new messages. + * w32fns.c: Include math.h. + (w32_abort): Declaration moved to nt/config.nt. - * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET): - New window messages. + * s/ms-w32.h (HAVE_STDLIB_H): Define. + (abort): Redefinition moved to nt/config.nt. -2002-01-20 Richard M. Stallman + * m/windowsnt.h: Remove. - * window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1. +2007-10-22 Juanma Barranquero -2002-01-20 Pavel Jan,Am(Bk + * emacs.c (Fdump_emacs): Fix typo in message. + (syms_of_emacs) : Fix typo in docstring. + : Reflow docstring. - * doprnt.c (doprnt1): Fix typos in error call. +2007-10-22 Juri Linkov -2002-01-20 Eli Zaretskii + * minibuf.c: Allow minibuffer default to be a list of default values. + With empty input use the first element of this list as returned default. + (string_to_object) + (read_minibuf_noninteractive): If defalt is cons, set val to its car. + (read_minibuf): If defalt is cons, set histstring to its car. + (Fread_string): If default_value is cons, set val to its car. + (Fread_buffer): If def is cons, use its car. + (Fcompleting_read): If defalt is cons, set val to its car. - * unexelf.c (unexec) [__sgi]: Support the .got sections. +2007-10-21 Michael Albinus -2002-01-20 Jason Rumney + * fileio.c (Fcopy_file): Call file name handler with preserve_uid_gid. - * w32term.c (w32_native_per_char_metric): Don't trust the metrics - that Windows returns. If a double check fails, try to guess how - ExtTextOut is going to act. +2007-10-20 Juanma Barranquero - * w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp - in place of stricmp. - (w32_list_synthesized_fonts): Removed. - (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions. - (struct enumfont_t): New element; list. - (enum_font_cb2): List all style and charset variations of a font. - (Fw32_select_font): New optional argument; include_proportional. - Exclude vertical fonts. Exclude proportional fonts unless - include_proportional is non-nil. - (w32_enable_synthesized_fonts): Change to a boolean. - (Fw32_send_sys_command): Doc fix. + * doc.c (Fdocumentation): Check for advice in all cases. -2002-01-19 Pavel Jan,Am(Bk +2007-10-19 Chong Yidong - * dispnew.c (update_frame): Move the variable `tem' to the block - where it is used. + * Makefile.in [HAVE_LIBRESOLV]: Add -lresolv to linker flags. -2002-01-19 Jason Rumney +2007-10-19 Richard Stallman - * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around - call to face-set-after-frame-default. + * doc.c (Fdocumentation): Check for and handle an advised function. -2002-01-18 Richard M. Stallman +2007-10-19 Juanma Barranquero - * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1. - (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room. + * process.c (Fset_process_filter): Doc fix. -2002-01-17 Richard M. Stallman +2007-10-18 Stefan Monnier - * window.c (enlarge_window): When exceeding size of parent, - directly delete all the siblings instead of trying to resize it. + * keyboard.c (read_key_sequence): Undo a change introduced by multi-tty + which caused key-translation-map to applied repeatedly (thus breaking + double-mode). -2002-01-17 Pavel Jan,Am(Bk +2007-10-17 Stefan Monnier - * term.c (set_tty_color_mode): Remove unused variable `tem'. + * xselect.c (x_own_selection, x_handle_selection_clear) + (x_clear_frame_selections): + * w32menu.c (list_of_panes, list_of_items): + * w32fns.c (w32_color_map_lookup, Fx_create_frame, Fx_display_list): + * textprop.c (validate_plist, interval_has_all_properties) + (interval_has_some_properties, interval_has_some_properties_list) + (add_properties, text_property_list): + * process.c (Fget_buffer_process, list_processes_1, status_notify): + * minibuf.c (Fassoc_string): + * macselect.c (x_own_selection, x_clear_frame_selections) + (Fx_disown_selection_internal): + * keymap.c (Fcommand_remapping, where_is_internal, describe_map_tree): + Use CONSP rather than !NILP and XC[AD]R rather than Fc[ad]r. -2002-01-16 Henrik Enberg +2007-10-17 Chong Yidong - * lread.c (init_lread): Move the installed-lisp dirs later in the path. + * process.c: Link to libs for calling res_init() if available. + (Fmake_network_process): Call res_init() before getaddrinfo or + gethostbyname, if possible. -2002-01-16 Kim F. Storm +2007-10-17 Stefan Monnier - * xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row - is invisible. This can happen if cursor is on top line of a - window, and we switch to a buffer with a header line. + * lread.c (read1): Set pvectype for char_tables. - * w32term.c (x_erase_phys_cursor): Ditto. + * lisp.h (XMISCANY, XMARKER, XINTFWD, XBOOLFWD, XOBJFWD, XOVERLAY) + (XBUFFER_OBJFWD, XBUFFER_LOCAL_VALUE, XKBOARD_OBJFWD, XSAVE_VALUE): + Add type checks. + (SOME_BUFFER_LOCAL_VALUEP, GC_SOME_BUFFER_LOCAL_VALUEP): Remove. -2002-01-16 Pavel Jan,Am(Bk + * alloc.c (free_misc): Use XMISCTYPE. + (live_misc_p, gc_sweep): Use Lisp_Misc_Any. - * xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of - `dont_resize' only when used. +2007-10-17 Glenn Morris - * xdisp.c: Remove forgotten extern declaration of `Qimage'. + * minibuf.c (Qcompletion_ignore_case): New Lisp_Object. + (syms_of_minibuf): Add Qcompletion_ignore_case. + * dired.c (Qcompletion_ignore_case): Change to external. + (syms_of_dired) [VMS]: Remove Qcompletion_ignore_case. + * fileio.c (Qcompletion_ignore_case): New external Lisp_Object. + (Fread_file_name): Use it rather than intern'ing. -2002-01-15 Eli Zaretskii + * coding.c (Qcompletion_ignore_case): New external Lisp_Object. + (Fread_coding_system): Ignore case of user input. - * xdisp.c (display_mode_element): When computing charpos, depend - on multibyteness of elt, not the text in field. +2007-10-16 YAMAMOTO Mitsuharu -2002-01-15 Pavel Jan,Am(Bk + * xdisp.c (handle_display_prop): Ignore display specs after + replacing one when string text is being replaced. + (handle_single_display_spec): Pretend as if characters with display + property haven't been consumed only when buffer text is being replaced. - * buffer.c (Fkill_all_local_variables): - Increment `update_mode_lines' only once. +2007-10-16 Stefan Monnier + + * xfns.c (Fx_create_frame, Fx_display_list): + * window.c (window_fixed_size_p, enlarge_window) + (shrink_window_lowest_first): + * macterm.c (init_font_name_table): + * macfns.c (Fx_create_frame, Fx_display_list): + * lread.c (close_load_descs): + * keyboard.c (read_char_x_menu_prompt): + * fns.c (Fmember, Fmemql, Fdelete, Fset_char_table_parent): + * coding.c (code_convert_region_unwind): Test the type of an object + rather than just !NILP before extracting data from it. + + * alloc.c (Fpurecopy): Set the pvec tag on pseudo vectors. + + * lisp.h (enum Lisp_Misc_Type): Del Lisp_Misc_Some_Buffer_Local_Value. + (XMISCANY): New macro. + (XMISCTYPE): Use it. + (struct Lisp_Misc_Any): New type. + (union Lisp_Misc): Use it. + (struct Lisp_Buffer_Local_Value): Add `local_if_set' bit. + * data.c (Fboundp, store_symval_forwarding, swap_in_global_binding) + (find_symbol_value, set_internal, default_value, Fset_default) + (Fmake_variable_buffer_local, Fmake_local_variable) + (Fkill_local_variable, Fmake_variable_frame_local, Flocal_variable_p) + (Flocal_variable_if_set_p, Fvariable_binding_locus): + The SOME_BUFFER_LOCAL_VALUEP distinction is replaced by local_if_set. + * alloc.c (allocate_buffer): Set the size and tag. + (allocate_misc, mark_maybe_object, mark_object, survives_gc_p): + Use XMISCANY. + (die): Follow the GNU convention for error messages. + * print.c (print_object): SOME_BUFFER_LOCAL_VALUEP -> local_if_set. + * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Don't set the + tag any more. + (set_buffer_internal_1): + * frame.c (store_frame_param): + * eval.c (specbind): + * xdisp.c (select_frame_for_redisplay): Drop SOME_BUFFER_LOCAL_VALUEP. -2002-01-14 Pavel Jan,Am(Bk + * doc.c (Fsnarf_documentation): Simplify. - * lisp.h (adjust_after_replace_noundo) - (Fupdate_coding_systems_internal): Add prototypes. +2007-10-14 Juanma Barranquero - * sound.c (Fplay_sound): Initialize header_size also for :data case. + * w32term.c (w32_font_is_double_byte, my_create_scrollbar): Make static. + (syms_of_w32term) : Fix typo in docstring. -2002-01-14 Eli Zaretskii +2007-10-14 Stefan Monnier - Support for the --color command-line argument and tty-color-mode - frame parameter: + * buffer.c (Fmake_indirect_buffer): Set the buffer's tag. - * term.c (tty_default_color_capabilities, tty_setup_colors) - (set_tty_color_mode): New functions. - (term_init): Call tty_default_color_capabilities. - (Qtty_color_mode_alist): New variable. - (syms_of_term): Intern and staticpro it. +2007-10-14 Juanma Barranquero - * frame.c (store_frame_param): Call set_tty_color_mode for termcap - frames. - (do_switch_frame): For termcap frames, switch the tty - color mode as specified by the frame's parameters. - (Qtty_color_mode): New variable. - (syms_of_frame): Intern and staticpro it. + * eval.c (do_autoload): Don't save autoloads. - * emacs.c (USAGE2): Add the --color option. - (standard_args): Ditto. + * data.c (Ffset): Save autoload of the function being set. -2002-01-13 Jan Dj,Ad(Brv +2007-10-07 John Paul Wallington - * xterm.h (struct x_output): New members want_fullscreen, - x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and - y_pixels_outer_diff. - New enum for FULLSCREEN_* constants. - (FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget - is NULL. - (x_fullscreen_adjust): Add prototype. + * xfns.c (x_create_tip_frame): Set the `display-type' frame + parameter before setting up faces. - * emacs.c (USAGE2): Add the new full-screen arguments. - (standard_args): Ditto. +2007-10-13 Eli Zaretskii - * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): - New variables. - (syms_of_xfns): Intern and staticpro them. - (x_frame_parms) <"fullscreen">: New parameter. - (x_fullscreen_move, x_set_fullscreen): New functions. - (x_set_frame_parameters): Support for Qfullscreen. - (x_real_positions): More accurate computation of the frame position. - (x_figure_window_size): Support full-screen frames. - (Fx_create_frame): Default the fullscreen parameter. + * ccl.c (Fregister_code_conversion_map): + * keyboard.c (append_tool_bar_item): Reformat last change. - * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions. - (XTread_socket) : Call x_check_fullscreen. - : Don't resize to fullscreen. - Call x_check_fullscreen_move, and set the want_fullscreen member of - output_data.x. + * lisp.h (eabs): Rename from `abs'. All callers changed. -2002-01-13 Jason Rumney +2007-10-05 Dmitry Antipov - * w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages - for mice with more than 3 buttons. + * buffer.c (add_overlay_mod_hooklist): + * ccl.c (Fregister_ccl_program, Fregister_code_conversion_map): + * fontset.c (make_fontset): + * keyboard.c (GROW_RAW_KEYBUF, menu_bar_items, menu_bar_item) + (append_tool_bar_item): + * macmenu.c (grow_menu_items): + * w32menu.c (grow_menu_items): + * xmenu.c (grow_menu_items): Use larger_vector. - * w32term.c (parse_button): New parameter xbutton. Callers changed. - (w32_read_socket): Handle new "XBUTTON" messages. +2007-10-13 Eli Zaretskii - * w32fns.c (w32_pass_extra_mouse_buttons_to_system): New user option. - (syms_of_w32fns): DEFVAR_BOOL it. - (w32_wnd_proc): Handle new "XBUTTON" messages. + * msdos.c (dos_rawgetc): Undo last change (there's no ``leaving + selected frame'' on MSDOS). -2002-01-13 Pavel Jan,Am(Bk +2007-10-10 Patrick Mahan (tiny change) - * keyboard.c (read_key_sequence): Remove unused variable `extra_maps'. + * macfns.c (x_create_tip_frame): Set terminal for frame. -2002-01-13 Andreas Schwab +2007-10-10 Stefan Monnier - * xterm.c (x_load_font): Never set fonts_changed_p to zero. + * frame.c (Qenvironment): Remove. + (syms_of_frame) : Don't initialize. + (Fdelete_frame): Don't treat the `environment' param specially. + * frame.h (Qenvironment): Don't declare. + * callproc.c (set_initial_environment): Don't set unused frame param. -2002-01-12 Andreas Schwab + * frame.c (Fframe_with_environment): Remove. + (syms_of_frame) : Don't declare. - * .gdbinit (xbuffer): Remove address operator since data is now a - pointer. + * lisp.h (Fframe_with_environment): Don't declare. -2002-01-11 Richard M. Stallman +2007-10-10 Juanma Barranquero - * insdel.c (adjust_after_replace_noundo): New function. + * indent.c (indent_tabs_mode, last_known_column) + (last_known_column_modified): Make static. + (syms_of_indent) : Remove redundant info in docstring. - * coding.c (code_convert_region): Don't copy old text if undo disabled. +2007-10-10 Katsumi Yamaoka -2002-01-09 Jason Rumney + * puresize.h (BASE_PURESIZE): Increase to 1170000. - * xdisp.c (x_consider_frame_title): Don't count the tooltip frame - when checking for multiple frames. +2007-10-09 Richard Stallman -2002-01-08 Richard M. Stallman + * xdisp.c (handle_invisible_prop): After setting up an ellipsis, + return HANDLED_RETURN. - * window.c (delete_window): Rewrite the code for changing the - selected window to handle the case where WINDOW is not a leaf. +2007-10-08 Martin Rudalics -2002-01-07 Eli Zaretskii + * keyboard.c (kbd_buffer_get_event): Break loop waiting for input + when there's an unread command event. - * process.c (send_process): Set src_multibyte to 1 after the call - top setup_coding_system, not before the call. + * frame.c (focus_follows_mouse): Move here from frame.el to allow + window autoselection act appropriately when leaving selected frame. + (syms_of_frame): Initialize focus_follows_mouse. + * frame.h (focus_follows_mouse): Extern it. + * macterm.c (XTread_socket): When focus_follows_mouse is nil + make SELECT_WINDOW_EVENT only if we don't leave the selected frame. + * msdos.c (dos_rawgetc): Likewise. + * w32term.c (w32_read_socket): Likewise. + * xterm.c (handle_one_xevent): Likewise. + * xdisp.c (syms_of_xdisp): In doc-string of + mouse-autoselect-window mention focus-follows-mouse. -2002-01-07 Jason Rumney +2007-10-08 YAMAMOTO Mitsuharu - * xmenu.c (set_frame_menubar, xmenu_show): - (xdialog_show): Initialize wv->help to Qnil. + * macterm.c (mac_load_query_font): Fix missing return value. + [USE_CG_DRAWING] (mac_define_fringe_bitmap, mac_destroy_fringe_bitmap): + Add BLOCK_INPUT. - * w32menu.c (single_submenu, set_frame_menubar, w32_menu_show): - (w32_dialog_show): Initialize wv->help to Qnil. +2007-10-08 Richard Stallman -2002-01-06 Jason Rumney + * xdisp.c (get_window_cursor_type): Implement documented behavior + for cursor-in-non-selected-windows = t. - * xmenu.c (single_submenu): Initialize wv->help to Qnil. +2007-10-08 Jason Rumney - * w32menu.c (w32_menu_display_help): Revert last change. + * w32.c (w32_get_resource): Always close registry keys. - * xmenu.c (menu_highlight_callback): Revert last change. +2007-10-08 Jason Rumney -2002-01-06 Andreas Schwab + * makefile.w32-in (LIBS): Add COMCTL32. - * insdel.c (make_gap_larger): Make sure buffer size does not - overflow range of int. + * w32fns.c (globals_of_w32fns): Init common controls. -2002-01-05 Jason Rumney +2007-10-08 Richard Stallman - * w32term.c (x_draw_glyphs): Don't call notice_overwritten_cursor if - OVERLAPS_P. + * image.c (our_memory_buffer): Rename from omfib_buffer. - * w32menu.c (w32_menu_display_help): Hide any tooltip window. +2007-10-08 Richard Stallman - * w32fns.c (compute_tip_xy): If tooltip won't fit on the screen - to the left or to the right of the pointer, put it against - the left screen edge. - (x_frame_parms): Add missing braces around initializer. + * buffer.c (Foverlays_at): Doc fix. - * w32term.c (x_setup_relief_colors): Don't compute an image's - background color if it doesn't have a Pixmap. - (notice_overwritten_cursor): Don't depend on - output_cursor and updated_area. Compare pixel coordinates with - window's cursor pixel coordinates. - (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): - Call notice_overwritten_cursor with new arg list. - (show_mouse_face): Fix bug setting a row's mouse_face_p flag - unconditionally. - (x_draw_image_relief): Use predefined macro instead of - constant when the value of `tool_bar_button_relief' is negative. +2007-10-08 Stefan Monnier - * w32term.c (x_display_and_set_cursor): Fix PostMessage arg types. + * fns.c (Fplist_put): Preserve uneven tail data. -2002-01-04 Richard M. Stallman +2007-10-08 Peter O'Gorman (tiny change) - * xmenu.c (menu_highlight_callback): Hide any tooltip window. + * termhooks.h (enum event_kind): Remove trailing comma. -2002-01-03 Richard M. Stallman + * frame.h (enum): Remove trailing comma. - * keymap.c (Fcurrent_active_maps): Put the `keymap' property map first. - (Fkey_binding): Try the `keymap' property map first. - (Fdescribe_buffer_bindings): Show `keymap' property bindings before - minor mode bindings. +2007-10-08 Dhuvra Krishnamurthy (tiny change) -2002-01-03 Kim F. Storm + * w32proc.c (delete_child): Don't terminate threads of zombies. - * keyboard.c (read_key_sequence): Fix cast of submaps arg to bcopy. +2007-10-08 Martin Rudalics -2002-01-02 Richard M. Stallman + * keyboard.h (struct kboard): New elt Vlast_repeatable_command. - * keyboard.c (read_key_sequence): Handle the keymap property - before minor mode maps. + * keyboard.c (syms_of_keyboard): Set up new Lisp variable + last-repeatable-command. + (init_kboard): Initialize Vlast_repeatable_command. + (command_loop_1): Set it to real_this_command unless that was + bound to an input event. + (mark_kboards): Mark it. - * editfns.c (Fformat): Update thissize from field_width - based on the actual width, in the string case. +2007-10-08 Richard Stallman -2002-01-01 Pavel Jan,Am(Bk + * eval.c (condition-case): Doc fix. - * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Parenthesize assignment - when used as truth value to prevent gcc warnings. +2007-10-08 Masatake YAMATO - * sysdep.c, unexapollo.c, w32.c, w32bdf.c, w32heap.c, w32inevt.c, - * w32proc.c: Include . + * xfaces.c (tty_supports_face_attributes_p): Fix code + for LFACE_INVERSE_INDEX and LFACE_BACKGROUND_INDEX; code + was copied and not edited. -2002-01-01 Andreas Schwab +2007-10-09 Stefan Monnier + + Add new `input-decode-map' keymap and use it for terminal + escape sequences. + * keyboard.h (struct kboard): Add Vinput_decode_map. + Remove Vlocal_key_translation_map. + * keyboard.c (read_key_sequence): Add support for input-decode-map. + (init_kboard): Init input-decode-map. + Replace local-key-translation-map back with key-translation-map. + (syms_of_keyboard): Declare input-decode-map. + Remove local-key-translation-map. Update docstrings. + (mark_kboards): Mark Vinput_decode_map. + Don't mark Vlocal_key_translation_map. + * keymap.c (Fdescribe_buffer_bindings): Describe input-decode-map. + Replace local-key-translation-map back with key-translation-map. + * term.c (term_get_fkeys_1, CONDITIONAL_REASSIGN): + Bind in input-decode-map rather than function-key-map. + + * lisp.h (XSETPSEUDOVECTOR): Don't set the tag anymore. + This was made redundant by the previous introduction of XSETPVECTYPE. - * eval.c (max_specpdl_size, max_lisp_eval_depth): Define as int, - not EMACS_INT, to make them compatible with DEFVAR_INT. - * lisp.h (max_specpdl_size): Adjust declaration. +2007-10-09 Richard Stallman -2002-01-01 Richard M. Stallman + * image.c (free_bitmap_record): Rename from Free_Bitmap_Record. - * print.c (print_object): Test print_escape_nonascii only for - unibyte strings. - (PRINTPREPARE): Once again bind Qprint_escape_nonascii - when outputting to a multibyte buffer. +2007-09-29 Richard Stallman -2001-12-29 Richard M. Stallman + * eval.c (internal_condition_case_2, internal_condition_case_1) + (internal_condition_case): Reenable abort if x_catching_errors () + to see if that really happens and why. - * print.c (print_object): In multibyte string, use hex escapes. - Use octal only for unibyte strings. - (PRINTPREPARE): Don't ever set Qprint_escape_nonascii. +2007-10-06 Andreas Schwab - * lread.c (read_escape): New arg BYTEREP for reporting whether - escape forces unibyte or multibyte. - (read1): When reading a string, take note of that info. + * fileio.c (Fwrite_region): Ignore EINVAL error from fsync. -2001-12-29 Ken Raeburn +2007-10-04 Juanma Barranquero - * abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero - comparison to test lisp value returned by Fget. + * image.c (syms_of_image) : Fix typo in docstring. -2001-12-29 Richard M. Stallman +2007-10-03 Stefan Monnier - * lisp.h (max_specpdl_size): Add declaration. + * frame.h (struct frame): Don't try to GC-mark menu_bar_items_used. - * fileio.c (Fdo_auto_save): If NO_MESSAGE, don't call push_message. +2007-10-02 Stefan Monnier - * keymap.c (silly_event_symbol_error): New subrtn, from Fdefine_key. - Handle modifier bits. Correct typo in error message. + * window.h (struct window): + * window.c (struct save_window_data, struct saved_window): + * termhooks.h (struct terminal): + * process.h (struct Lisp_Process): + * frame.h (struct frame): + * buffer.h (struct buffer): + * lisp.h (struct Lisp_Vector, struct Lisp_Char_Table) + (struct Lisp_Bool_Vector, struct Lisp_Subr, struct Lisp_Hash_Table): + The size field of (pseudo)vectors is now unsigned. + (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Simplify accordingly. -2001-12-28 Richard M. Stallman + * lisp.h (struct Lisp_Hash_Table): Move non-traced elements at the end. + Turn `count' into an integer. - * abbrev.c: Use the plist of an abbrev for multiple params if nec. - (Fdefine_abbrev): New arg SYSTEM-FLAG for a system abbrev. - (Fdefine_global_abbrev, Fdefine_mode_abbrev): - Update calls to Fdefine_abbrev. - (write_abbrev): Update for changed data format. - Don't list "system" abbrevs. - (Fexpand_abbrev): Update use count with new data format. - (describe_abbrev): Update for changed data format. - (Fdefine_abbrev_table): Handle the new SYSTEM-FLAG. + * fns.c (make_hash_table, hash_put, hash_remove, hash_clear) + (sweep_weak_table, sweep_weak_hash_tables, Fhash_table_count): + * print.c (print_object) : `count' is an int. + * alloc.c (allocate_hash_table): Use ALLOCATE_PSEUDOVECTOR. + (mark_object) : Use mark_vectorlike. - * config.in (HAVE_MBSINIT): Add #undef. + * alloc.c (allocate_pseudovector): New fun. + (ALLOCATE_PSEUDOVECTOR): New macro. + (allocate_window, allocate_terminal, allocate_frame) + (allocate_process): Use it. + (mark_vectorlike): New function. + (mark_object) : Use it. + (mark_terminals): Use it. + (Fmake_bool_vector, Fmake_char_table, make_sub_char_table) + (Fmake_byte_code): Use XSETPVECTYPE. - * strftime.c (mbsinit): Define as no-op if not available. + * frame.c (Fframe_parameters): Minor simplification. - * s/sco5.h (LIBX11_SYSTEM) [MOTIF]: Add -lgen. - (sigprocmask_set): Conditionalize decl on ! NOT_C_CODE. + * insdel.c (adjust_markers_for_insert): Generalize assertion checks. - * keymap.c (Flookup_key): Error message if key has wrong data type. - (Fdefine_key): Add error message for trying to bind [DEL], [RET], etc. - (exclude_key): New variable. + * marker.c (Fmarker_buffer): Make test for odd case into a failure. -2001-12-28 Gerd Moellmann + * buffer.c (Fget_buffer_create, init_buffer_once): + * lread.c (defsubr): + * window.c (Fcurrent_window_configuration): Use XSETPVECTYPE. - * xterm.c (x_setup_relief_colors): Don't compute an image's - background color if it doesn't have a Pixmap. + * lisp.h (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Don't let them be + defined differently in the m/*.h files. + (XCHAR_TABLE, XBOOL_VECTOR): Add assertion checking. + (XSETPVECTYPE): New macro. + (XSETPSEUDOVECTOR): Use it. - * xterm.c (notice_overwritten_cursor): Don't depend on - output_cursor and updated_area. Compare pixel coordinates with - window's cursor pixel coordinates. - (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): - Call notice_overwritten_cursor with new arg list. - (show_mouse_face): Fix bug setting a row's mouse_face_p flag - unconditionally. + * buffer.c (syms_of_buffer) : Move from abbrev.c. + (DEFVAR_PER_BUFFER, defvar_per_buffer): Move from lisp.h and lread.c. - * xdisp.c (try_scrolling) : Add the - height of the cursor line to the amount to scroll. + * lisp.h (defvar_per_buffer, DEFVAR_PER_BUFFER): + * lread.c (defvar_per_buffer): + * abbrev.c (syms_of_abbrev) : Move to buffer.c. -2001-12-27 Richard M. Stallman + * window.c (candidate_window_p): Only consider as visible frames that + are on the same terminal. - * intervals.c (set_point_both): The position after an invisible, - intangible character is not an acceptable stopping point. + * m/ibms390x.h (MARKBIT): Remove unused macro. -2001-12-27 Ken Raeburn +2007-10-01 Juanma Barranquero - * window.c (enlarge_window): In new preserve_before code, convert - CURBEG from lisp object to integer before doing arithmetic. + * lread.c (Fload): Fix typo in docstring. -2001-12-27 Richard M. Stallman +2007-10-01 Micha,Ak(Bl Cadilhac - * bytecode.c (Fbyte_code): Undo previous change. + * floatfns.c (Fexpt): Manually check for overflows, so that a power + of a non-zero value can't yield zero. -2001-12-26 Kim F. Storm +2007-09-29 Stefan Monnier - * keyboard.c (record_char): Ignore duplicate help-echo events only - separated by mouse-movement. When tracking mouse, only record - first and last mouse-movement event in same window. - Don't record mouse-movement events in keyboard macros. + * term.c (term_clear_mouse_face, term_mouse_highlight) + (tty_write_glyphs_with_face): Only define is HAVE_GPM. -2001-12-25 Richard M. Stallman + * print.c (safe_debug_print): Use XHASH. - * window.c (enlarge_window): New arg PRESERVE_BEFORE. Callers changed. - (Fenlarge_window): New arg PRESERVE_BEFORE. + * lisp.h (DECL_ALIGN, USE_LSB_TAG): Move logic to before definition of + Lisp elements such as tags. + (XHASH): New macro. + (EQ): Use it. + (SREF, SSET, STRING_COPYIN): Use SDATA. + (VOID_TO_LISP, CVOID_TO_LISP, LISP_TO_VOID, LISP_TO_CVOID): Remove. - * bytecode.c (Fbyte_code): Use Fstring_make_unibyte - instead of Fstring_as_unibyte. + * alloc.c (mark_terminal): Remove left-over declaration. + (enum mem_type): Replace all vector subtypes -> MEM_TYPE_VECTORLIKE. + (allocate_vectorlike): Remove type argument. Adjust callers. + (live_vector_p, mark_maybe_pointer, valid_lisp_object_p): + Only handle the one remaining MEM_TYPE_VECTORLIKE. -2001-12-22 Pavel Jan,Am(Bk + * alloc.c (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): New macros + to avoid unnecessary BLOCK_INPUTs when SYNC_INPUT is used. + (xmalloc, xrealloc, xfree, lisp_malloc, lisp_free, lisp_align_malloc) + (lisp_align_free, make_interval, allocate_string, allocate_string_data) + (make_float, Fcons, allocate_vectorlike, Fmake_symbol, allocate_misc): + Use them. - The following changes remove mocklisp support: + * xfaces.c (load_face_font, free_realized_face, clear_face_gcs): + Don't let signal handlers run when a GC is freed but not yet NULL'ed. + (x_free_gc): Remove BLOCK_INPUT since it's now redundant. - * mocklisp.h, mocklisp.c: Files removed. +2007-09-28 Dan Nicolaescu - * lisp.h: Remove declarations of variables `Vmocklisp_arguments', - `Qmocklisp' and `Qmocklisp_arguments'. - Remove prototype of syms_of_mocklisp. + * Makefile.in (lisp, shortlisp): Delete server.elc, it is not + loaded by default. - * makefile.nt, makefile.w32-in, Makefile.in: Remove mocklisp files. +2007-09-28 Stefan Monnier - * callint.c: Do not include mocklisp.h. - (Fcall_interactively): Do not test for mocklisp case. + * term.c (Fgpm_mouse_start): Don't signal an error if already activated + on this tty. + (Fgpm_mouse_stop): Only deactivate if it was activated on this tty. - * eval.c: Remove variables `Qmocklisp_arguments', - `Vmocklisp_arguments' and `Qmocklisp'. Remove prototype of ml_apply. - (Fprogn, Fwhile, Fcommandp, Feval, Ffuncall, funcall_lambda): - Do not test for mocklisp case. - (Fwhile): Remove unused variable `tem'. - (syms_of_eval): Remove variable `moclisp-arguments'. + * term.c (mouse_face_window): Rename from Qmouse_face_window. + Update all users. + (handle_one_term_event): Use Gpm_DrawPointer. + (Fgpm_mouse_start): Rename from Fterm_open_connection. + Signal errors instead of returning nil. Always return nil. + (Fgpm_mouse_stop): Rename from Fterm_close_connection. + Make it a noop if gpm-mouse was not activated. + (syms_of_term): Update names. - * data.c (wrong_type_argument): Remove mocklisp case. +2007-09-27 Stefan Monnier - * doc.c (Fdocumentation): Remove mocklisp case. + * sysdep.c (narrow_foreground_group, widen_foreground_group): Static. + (init_sys_modes): Check that gpm_tty is the current tty. - * emacs.c (main): Do not call syms_of_mocklisp. + * alloc.c (allocate_terminal): Set the vector size to only count the + lisp fields. Initialize those to nil. + (mark_object): Don't treat terminals specially. + (mark_terminal): Remove. + (mark_terminals): Use mark_object instead. -2001-12-21 Richard M. Stallman + * termhooks.h (struct terminal): Move all Lisp_Object fields traced by + the GC to the beginning. - * xfns.c (compute_tip_xy): If tooltip won't fit on the screen - to the left or to the right of the pointer, put it against - the left screen edge. + * indent.h: + * indent.c: Use EMACS_INT for ints coming from Elisp data. -2001-12-21 Eli Zaretskii + * indent.c (Fmove_to_column): Use EMACS_INT for buffer positions. - * Makefile.in (distclean): Remove .gdbinit if we are building - outside the source tree. +2007-09-25 Jason Rumney -2001-12-19 Eli Zaretskii + * frame.c (make_terminal_frame): Remove special case for WINDOWSNT. - * w32.c (emacs_root_dir): New function. + * w32console.c (create_w32cons_output): Remove. - * msdos.c (emacs_root_dir): New function. + * term.c (init_tty): Call init_sys_modes on WINDOWSNT also. - * fileio.c (Fexpand_file_name) [DOS_NT]: Use the root directory - of the current drive as the fallback for default_directory. + * sysdep.c (init_sys_modes): Use set_terminal_modes_hook. + (reset_sys_modes): Use reset_terminal_modes_hook. - * dired.c (file_name_completion): Run the elements of - completion-ignored-extensions through ENCODE_FILE. +2007-09-24 Stefan Monnier - * lisp.h (scmp): Remove prototype, since it's now a static - function private to dired.c. + * eval.c (do_autoload): Don't output any message. -2001-12-18 Richard M. Stallman +2007-09-24 Juri Linkov - * dired.c (scmp): Function moved from minibuf.c. - Delete multibyte handling--used only on encoded strings. + * emacs.c (standard_args): Change priority of "--no-splash" + from 40 to 3. Add "--no-desktop" with the same priority. - * minibuf.c (scmp): Function moved to dired.c. +2007-09-23 Dmitry Antipov - * fns.c (merge): Add QUIT call. + * alloc.c (gc_sweep): Check cons cell mark bits word by word + and optimize the case where they are all 1. -2001-12-18 Dave Love +2007-09-23 Johannes Weiner - * Makefile.in (lisp, shortlisp): Add language/utf-8-lang.el, - language/georgian.el. + * lisp.h (abs): Define if not defined. + * keyboard.c, sound.c, w32term.c, xfaces.c, xterm.c: + Don't define `abs', since it's defined in lisp.h. -2001-12-18 Eli Zaretskii +2007-09-22 Eli Zaretskii - * Makefile.in (lisp, shortlisp): Synchronize with changes to - lisp/Makefile.in:DONTCOMPILE. + * term.c (DEV_TTY): New macro. Provide a definition for MS-Windows. + (FRAME_TERMCAP_P) [WINDOWSNT]: Don't define to zero. + (Fcontrolling_tty_p, Fresume_tty, dissociate_if_controlling_tty) + (init_tty): Use DEV_TTY instead of "/dev/tty". + [WINDOWSNT]: No need to protect from NAME arg being null. -2001-12-18 Pavel Jan,Am(Bk +2007-09-21 Dan Nicolaescu - * xdisp.c (window_box_height): Do not return negative values. - From Gerd Moellmann . + * term.c (Fsuspend_tty): Run suspend-tty-functions before cleaning + up the tty state. - * keyboard.c (head_table): Add missing braces around initializer. +2007-09-21 Stefan Monnier - * term.c (keys): Likewise. + * termhooks.h (term_gpm): Delete. Use gpm_tty's NULLness instead. + (gpm_tty): Change its type. + * term.c (term_gpm): Delete. Use gpm_tty's NULLness instead. + (gpm_tty): Change its type and initialize it. + (Fterm_open_connection): Check the frame is indeed a tty. + Use the new gpm_tty. + (Fterm_close_connection): Use the new gpm_tty. + * keyboard.c (tty_read_avail_input): Use the new gpm_tty. + * sysdep.c (init_sys_modes): term_gpm -> gpm_tty. - * xfns.c (x_frame_parms, visual_classes): Likewise. +2007-09-21 Juanma Barranquero -2001-12-17 Sam Steingold + * w32term.c (x_draw_glyph_string): Use strike_through_color, not + underline_color, to draw strike-through. - * coding.c (DECODE_COMPOSITION_END): Fixed a typo in the last - patch (COMPOSING_P, not COMPOSING). +2007-09-21 Stefan Monnier -2001-12-17 Richard M. Stallman + * lisp.h (allocate_terminal): Declare. - * editfns.c (Fcompare_buffer_substrings): Add QUIT to main loop. + * window.c (candidate_window_p): Consider frames that are being placed + by the user as somewhere between visible and iconified. + (window_loop): Prefer windows on the current frame. + (Fselect_window): Move the use of select-frame to the beginning so we + can just delegate all the work (it'll call us back anyway). - * coding.c (code_convert_region): Update coding->cmp_data->char_offset - before calling decode_coding. + * frame.c (Qdisplay_environment_variable): + * frame.h (Qdisplay_environment_variable): Delete. - * charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal. + * .gdbinit (xbacktrace): Print the arg's address rather than the value + of the first arg, since that value may be a union. - * coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING_P (coding) - instead of only for COMPOSITION_DISABLED. + * callproc.c (child_setup, getenv_internal): Use the frame's `display' + parameter rather than Qdisplay_environment_variable. If all else + fails, look for DISPLAY in initial-environment. -2001-12-16 Richard M. Stallman +2007-09-21 Glenn Morris - * alloc.c (pure_alloc): After overflow, allocate just a small block. + * Makefile.in (emacstool): Remove target. + (lisp, shortlisp): Remove termdev.elc. - * Makefile.in (xmenu.o, xterm.o, fontset.o): Depend on buffer.h. +2007-09-21 Markus Triska - * buffer.h (struct buffer): New field `display_error_modiff'. - * buffer.c (reset_buffer): Initialize `display_error_modiff'. + * xterm.c (x_delete_display): Compile session management conditionally. - * window.c (Frecenter): Clear display_error_modiff field. +2007-09-20 Stefan Monnier - * xdisp.c (redisplay_window_0, redisplay_window_1): New functions. - Call redisplay_window, but not if display_error_modiff field says no. - (redisplay_window_error): New function. - (displayed_buffer): New variable. - (redisplay_internal, redisplay_windows): Call the new functions - instead of redisplay_window directly. + * callproc.c (getenv_internal_1): New function. + (getenv_internal): Use it. + (Fgetenv_internal): Use it. Accept an env-list as optional arg. -2001-12-15 Richard M. Stallman + * terminal.c (get_terminal): Don't accept ints to represent terminals. + (Fterminal_name, Fterminal_parameters, Fterminal_parameter) + (Fset_terminal_parameter): Work with dead terminals as well. + (Fmodify_terminal_parameters): Remove. - * keyboard.c (syms_of_keyboard) : Doc fix. + * terminal.c (get_terminal): Handle terminals. + Make sure the terminal returned is live. + (create_terminal): Use allocate_terminal. + (mark_terminals): Move to alloc.c. + (delete_terminal): Use terminal->name as liveness status. + NULL out fields after freeing their contents. + Don't deallocate the object. + (Fframe_terminal): Use FRAME_TERMINAL. Return the terminal object + rather than an int. + (Fterminal_live_p): Accept non-integer arguments. + (Fterminal_list): Return terminal objects rather than an ints. -2001-12-14 Andrew Innes + * alloc.c (enum mem_type): New member for `terminal' objects. + (allocate_terminal): New function. + (mark_maybe_pointer, valid_lisp_object_p, mark_object): + Handle terminals. + (mark_terminal): New fun. + (mark_terminals): Move from terminal.c. - * makefile.w32-in (EMACSLOADPATH): Define. - ($(EMACS)): Run `list-load-path-shadows' after dumping Emacs. - (bootstrap-temacs): Remove dependency on bootstrap-clean. + * term.c (get_tty_terminal): Don't treat output_initial specially. + (Fsuspend_tty, Fresume_tty): Use terminal objects rather than ints. + (delete_tty): Use terminal->name as liveness status. -2001-12-13 Eli Zaretskii + * termhooks.h (struct terminal): Make it into a pseudovector. + Remove `deleted' replaced by checking `name's nullness. - * xfns.c (x_report_frame_params): Make the scroll-bar-width frame - parameter have a numeric value all the time. + * print.c (print_object): Handle terminals. - * w32fns.c (x_report_frame_params): Likewise. + * lisp.h (enum pvec_type): New `terminal' pseudovector. + (XTERMINAL, XSETTERMINAL, TERMINALP, GC_TERMINALP): New macros. -2001-12-12 Richard M. Stallman + * frame.c (make_terminal_frame): + * keyboard.c (tty_read_avail_input): + * w32term.c (x_delete_terminal): + * xfns.c (Fx_create_frame, x_create_tip_frame): + * xterm.c (x_delete_terminal): Use terminal->name as liveness status. - * fileio.c (Fwrite_region): Doc fix. +2007-09-20 Glenn Morris - * xdisp.c (CLEAR_FACE_CACHE_COUNT): Redefine as 500. - (redisplay_internal): Call clear_image_cache only for window terminals. + * process.c (Fmake_network_process): Doc fix. -2001-12-12 Gerd Moellmann +2007-09-19 Jason Rumney - * xdisp.c (move_it_vertically_backward): Change heuristic - for the case that we didn't move far enough initially. + * dispextern.h (w32_init_fringe, mac_init_fringe): Declare rif argument. - * window.c (Frecenter): Simplify computation in the case of window - system frames and ARG < 0; use window_box_height. +2007-09-19 Micha,Ak(Bl Cadilhac -2001-12-11 Richard M. Stallman + * coding.c (detect_eol_type, detect_eol_type_in_2_octet_form): + Fix a C warning regarding variable constness. - * Makefile.in, mem-limits.h, dispnew.c, emacs.c, fileio.c: - * process.c, sysdep.c, unexec.c: Test GNU_LINUX, not LINUX. + * xterm.c (handle_one_xevent): Fix a C warning. -2001-12-11 Andrew Innes +2007-09-18 Jason Rumney - * insdel.c (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if - arg is negative. + * w32fns.c (Fx_focus_frame): Rename from Fw32_focus_frame. -2001-12-11 Richard M. Stallman +2007-09-17 Jan Dj,Ad(Brv - * m/hp800.h: Split the __hpux conditional into the parts - that are right for GNU/Linux too and the parts that are not. - Use the former if GNU_LINUX. - (HAVE_ALLOCA, LOAD_AVE_TYPE, LOAD_AVE_CVT): New defs for GNU/Linux. + * gtkutil.c (gdpy_def): New variable. + (xg_initialize): Initialize gdpy_def. + (xg_display_close): If no other display exists, set gdpy_def to a + new connection. - * s/gnu-linux.h (GNU_LINUX): Defined. +2007-09-16 Jan Dj,Ad(Brv -2001-12-11 Pavel Jan,Am(Bk + * gtkutil.c (xg_get_image_for_pixmap): Always create a GdkPixbuf + when we have no file name for the icon. + (xg_tool_bar_expose_callback): Remove. + (xg_create_tool_bar): Don't connect expose signal to + xg_tool_bar_expose_callback. + (xg_get_file_with_chooser): Move GCPRO1 after declarations. - * macros.c, msdos.c, w16select.c: Change doc-string comments to - `new style' [w/`doc:' keyword]. +2007-09-16 Andreas Schwab -2001-12-10 Jason Rumney + * alloc.c (reset_malloc_hooks): Set the hooks to the previous + values instead of zapping them. - * w32menu.c (w32_free_submenu_strings): Clear menu item struct - before using. +2007-09-14 Glenn Morris -2001-12-09 Pavel Jan,Am(Bk + * fringe.c (init_fringe_bitmap) : Move to file scope. + * gtkutil.c (xg_separator_p) : Move to file scope. + * image.c (our_memory_fill_input_buffer) : Move to file + scope and rename to omfib_buffer for clarity. + (gif_load) : Move to file scope. - * dosfns.c: Change doc-string comments to `new style' [w/`doc:' - keyword]. +2007-09-14 Kenichi Handa -2001-12-09 Eli Zaretskii + * xterm.c (handle_one_xevent): Skip decoding if nbytes is zero. - * dosfns.c (dos-display-scancodes, dos-decimal): Doc fix. +2007-09-13 Jason Rumney - * s/hpux10.h (srand48): Don't undefine. + * fringe.c (w32_init_fringe, mac_init_fringe): Add rif argument. -2001-12-09 Jason Rumney + * w32term.c (w32_term_init): Pass rif to w32_init_fringe. - * w32menu.c (_widget_value): Make `help' field a Lisp_Object. - Add comment to explain where the struct came from. - (single_submenu, w32_menu_show): Set `help' field as Lisp_Object. - (add_menu_item): Process pop-up menus first to avoid memory leak. - (add_menu_item, w32_menu_display_help): Use `help' field as - Lisp_Object. - (w32_free_submenu_strings): Only free owner-drawn strings. + * macterm.c (mac_initialize): Don't call mac_init_fringe here. + (mac_term_init): Call here instead, passing rif. -2001-12-09 Pavel Jan,Am(Bk +2007-09-13 Glenn Morris - * COPYING: Moved back. + * s/hpux.h: No longer define `static' as nothing. - * charset.c (char_to_string_1, translate_char, Fdefine_charset): - Add parentheses around && within ||. +2007-09-13 Johan Bockg,Ae(Brd - * indent.c (compute_motion): Likewise. + * callint.c (Fcall_interactively): Remove unused var `fun'. - * intervals.c (merge_properties_sticky): Likewise. +2007-09-12 Romain Francoise - * coding.c (setup_coding_system, shrink_encoding_region) - (Fdecode_sjis_char): Likewise. + * window.c (prefer_window_split_horizontally, display_buffer): + Revert 2007-09-08 change. -2001-12-07 Andreas Schwab +2007-09-12 Glenn Morris - * xdisp.c (display_mode_element): Don't read past end of string if - it ends with '%'. + * alloca.c: Remove file. + * Makefile.in (alloca): Do not undef. + (allocaobj, alloca.o): Remove. + (otherobj): Remove allocaobj. + * keyboard.c (command_loop_1): Remove #ifdef C_ALLOCA block. + * regex.c (C_ALLOCA): Remove all references and code that was only + used when this was defined. + * search.c (boyer_moore): Remove #ifdef C_ALLOCA block. + * xmenu.c (xmenu_show): Remove #ifdef C_ALLOCA block. + * m/ibms390x.h, m/sh3el.h (C_ALLOCA): Remove references to this. - * alloc.c (inhibit_garbage_collection): Don't exceed value an int - can hold. + * Makefile.in (SOURCES, unlock, relock): Delete. - * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): - Rename from most_positive_fixnum and most_negative_fixnum, resp., and - type changed to Lisp_Object. - (syms_of_data): DEFVAR_LISP them. + * gtkutil.c (cnt): Rename to menu_grab_callback_cnt for clarity. + (menu_grab_callback): All uses changed. -2001-12-07 Richard M. Stallman + * xselect.c (cnt): Rename to x_reply_selection_request_cnt for clarity. + (x_reply_selection_request): All uses changed. - * callproc.c (init_callproc): Set Vdata_directory based on the source - location whenever Emacs was run uninstalled. +2007-09-11 Stefan Monnier -2001-12-06 Paul Eggert + * lread.c (load_warn_old_style_backquotes): Change message to look + better when it appears in the middle of byte-compiler messages. - * config.in (HAVE_WORKING_VFORK): New #undefs. - * process.c (create_process): - Use HAVE_WORKING_VFORK, not HAVE_VFORK. - * m/cnvrgnt.h (HAVE_VFORK): Remove #define. - * m/ibm370aix.h (HAVE_VFORK): Remove #undef. - * m/ibmps2-aix.h (HAVE_VFORK): Remove #define. - * m/intel386.h (HAVE_VFORK): Likewise. - * m/mips-siemens.h (HAVE_VFORK): Likewise. - * m/mips.h (HAVE_VFORK): Likewise. - * s/freebsd.h (vfork): Remove #define. - * s/lynxos.h (HAVE_VFORK): Remove #undef. - * s/usg5-4-2.h: Fix comment about vfork. +2007-09-10 Dan Nicolaescu -2001-12-06 Richard M. Stallman + * s/darwin.h (MULTI_KBOARD): Only define for Carbon. - * s/hpux10.h (random): Add undef. - (HAVE_RANDOM): Define it just once. + * xterm.c (x_create_terminal): Add comment. -2001-12-06 Stefan Monnier + * term.c (clear_tty_hooks, set_tty_hooks): Add comments. - * eval.c: Undo last change: the standard syntax is not wanted. +2007-09-10 Richard Stallman -2001-12-06 Eli Zaretskii + * xterm.c (x_term_init): Give error if can't open DISPLAY_NAME. - * xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Remove all the - scroll bars of the frame before deleting the frame itself. If the - frame has a widget, delete the frame with XtDestroyWidget, and do - not call XDestroyWindow before that. +2007-09-10 Micha,Ak(Bl Cadilhac -2001-12-06 Kim F. Storm + * lisp.h (struct Lisp_Subr): Rename `prompt' field to `intspec'. + (DEFUN): Document `intspec', use it instead of `prompt'. - * xfns.c (x_report_frame_params): Return actual fringe widths. + * eval.c (Fcommandp): Change `->prompt' to `->intspec'. - * w32fns.c (x_report_frame_params): Return actual fringe widths. + * data.c (Finteractive_form): If the interactive specification starts + with a `(', use it as a Lisp form. -2001-12-05 Andrew Innes + * fileio.c (Fset_file_modes): Add an interactive spec that reads a file + name and file modes. - * alloc.c (Fgarbage_collect): Shrink buffer gaps that are - excessively large. + * callint.c (Fcall_interactively): Comment fixes. - * insdel.c (make_gap_larger): New function. - (make_gap_smaller): New function. - (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: - Call make_gap_smaller if arg is negative. +2007-09-10 Stefan Monnier -2001-12-04 Stefan Monnier + * callint.c (Fcall_interactively): Use Finteractive_form also for subrs + and compiled functions. - * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal prototype. - Pass a dummy argument when calling interrupt_signal. - (parse_menu_item): Mark disabled items before checking for empty def. - (read_char_minibuf_menu_prompt): Make safety more visible. - (read_key_sequence): Add a `first_unbound' variable. - Use it to detect C-c ESC ESC ESC ESC ... cases and drop the - unbound prefix as soon as we can detect it. +2007-09-08 Fredrik Axelsson - * doc.c (Fsnarf_documentation): Add prototype. - (get_doc_string): Handle negative arguments. - (Fdocumentation): Use AREF and ASIZE. - Move the calls to get_doc_string to a single place. - Don't confuse an interactive-spec for a docstring reference. - (Fdocumentation_property): Take advantage of the fact that - get_doc_string now ignores the sign of the docstring position. + * window.c (prefer_window_split_horizontally): New variable. + (display_buffer): Consider splitting window horizontally depending + on prefer_window_split_horizontally. - * eval.c: Use standard syntax for usage in docstrings. +2007-09-08 Eli Zaretskii -2001-12-03 Pavel Jan,Am(Bk + * sysdep.c [WINDOWSNT]: Don't include sysselect.h. - * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief' an option. +2007-09-07 Stefan Monnier -2001-12-02 Pavel Jan,Am(Bk + * s/cygwin.h (GC_MARK_STACK): Enable conservative stack marking. - * xterm.c (x_draw_image_relief): Use predefined macro instead of - constant when the value of `tool_bar_button_relief' is negative. + * frame.c (x_set_frame_parameters): Check number is positive before + using XFASTINT. -2001-12-02 Richard M. Stallman + * window.c (freeze_window_start): Don't presume selected_window holds + a window object. + (Fdisplay_buffer): Remove `register' since `buffer' needs to be gcpro'd. - * xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object. - (single_submenu, xmenu_show): Set `help' field as Lisp_Object. +2007-09-07 Angelo Graziosi (tiny change) - * fileio.c (read_non_regular): Delete Fsignal call. + * term.c (dissociate_if_controlling_tty): Call setsid on CYGWIN. -2001-12-01 Stefan Monnier +2007-09-07 Stefan Monnier - * lisp.h (run_hook_list_with_args): Undo last change. + * window.c (Vsplit_window_preferred_function): New var. + (Fdisplay_buffer): Use it. + (syms_of_window): Export, and initialize it. -2001-12-01 Gerd Moellmann +2007-09-06 Pixel (tiny change) - * xterm.c (x_draw_fringe_bitmap): Always undo clipping. + * image.c (gif_load): Fix bug: Handle nonexistent colormap. -2001-12-01 Jason Rumney +2007-09-06 Glenn Morris - * window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c. + * gtkutil.c (menu_grab_callback) : + * xselect.c (x_reply_selection_request) : Move static + variable to file scope. - * w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT) - [!WM_MOUSELEAVE]: Define. +2007-09-06 Stefan Monnier - * w32menu.c (current_popup_menu, get_menu_item_info): - (set_menu_item_info): New vars. - (set_frame_menubar): Doc fix clarifying GC interaction with menus. - (w32_menu_show): Set current_popup_menu. - (add_menu_item): Allocate new strings for owner-drawn menu items - and help strings. - Use owner-draw for disabled menu items again. - (w32_menu_display_help): Ignore owner-drawn items and popup menus. - (w32_free_submenu_strings, w32_free_menu_strings): New functions. + * xdisp.c (redisplay_internal): Make sure Elisp code always sees + consistent values of selected_frame and selected_window. - * w32fns.c (trackmouse_window, track_mouse_event_fn): New vars. - (w32_wnd_proc) : Notice when mouse enters frame. - : Free menu strings. - : Stop tracking mouse. - (x_create_tip_frame): Specify no minibuffer, modeline or fringes. +2007-09-04 Jason Rumney - * w32term.c (w32_read_socket) : Cancel help echo - and mouse face. + * w32console.c (initialize_w32_display): Zero unused hooks. -2001-12-01 Kim F. Storm +2007-09-04 Dan Nicolaescu - The following changes add left-fringe and right-fringe - frame parameters to adjust fringe widths, or remove one or - both fringes. + * term.c (Vsuspend_tty_functions, Vresume_tty_functions) + (syms_of_term, Fsuspend_tty, Fresume_tty): Undo previous change. - * frame.h (struct frame): Remove trunc_area_pixel_width and - trunc_area_cols fields. - (Qleft_fringe, Qright_fringe): Declare. - (FRAME_RIGHT_FRINGE_WIDTH): New macro. +2007-09-04 Jason Rumney - * frame.c (Qleft_fringe, Qright_fringe): New vars. - (syms_of_frame): Initialize them. + * term.c (init_tty) [WINDOWSNT]: Add hooks that are not accessible + in w32console.c. Set up input. Remove XXX comments that have been + confirmed as correct. - * window.c (coordinates_in_window): Handle separate left and right - fringe widths. + * s/ms-w32.h (MULTI_KBOARD): Define. - * xterm.h (struct x_output): Add left_fringe_width, right_fringe_width, - and fringe_cols fields. - (FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros. - (FRAME_X_FRINGE_COLS): Use fringe_cols field. - (FRAME_X_FRINGE_WIDTH): Use fringes_extra field. - (FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field. - (FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field. - (x_compute_fringe_widths): Add prototype. + * w32console.c (one_and_only_w32cons): Remove. + (initialize_w32_display): Take terminal argument. - * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to - fill fringe evenly with small dashes. - (x_draw_fringe_bitmap): Clear background if necessary. Align and - clip the new ZV bitmap to avoid jitter between rows. - (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear - background. Don't draw fringe bitmaps if fringe width is zero. - (x_compute_fringe_widths): New function. - (x_new_font, x_set_window_size_1): Use it. + * term.c (init_tty) [WINDOWSNT]: Pass terminal to + initialize_w32_display. + (init_tty) [MULTI_KBOARD]: Include this code on WINDOWSNT too. - * xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms. - (x_set_frame_parameters): Process `font' parameter before other - parameters as fringe widths depend on it. - (x_set_fringe_width): New function. - (x_figure_window_size): Use x_compute_fringe_widths. - (Fx_create_frame): Process `left-fringe' and `right-fringe' frame - parameters. + * termhooks.h (enum event_kind) : New event. - * widget.c (set_frame_size): Use x_compute_fringe_widths. - (EmacsFrameSetCharSize): Ditto. + * keyboard.c (discard_mouse_events): Discard it. + (make_lispy_event): Translate it to a lisp event. + (lispy_wheel_names): Add wheel-left and right events. + (syms_of_keyboard): Enlarge wheel_syms. - * w32term.h: Merged changes from xterm.h. - * w32term.c: Merged changes from xterm.c. - * w32fns.c: Merged changes from xfns.c. + * w32fns.c (w32_wnd_proc) : Merge with WM_MOUSEWHEEL. + : Pass new system message to lisp. -2001-11-29 Pavel Jan,Am(Bk + * w32term.h (WM_MOUSEHWHEEL): Define if system headers don't. - * COPYING: Removed. + * w32term.c (construct_mouse_wheel): Make HORIZ_WHEEL_EVENT + from WM_MOUSEHWHEEL. + (w32_read_socket) : Treat as WM_MOUSEWHEEL. -2001-11-29 Dave Love + * w32fns.c (x_create_tip_frame) [MULTI_KBOARD]: Get keyboard from + terminal. - * coding.c (syms_of_coding) : Give it an - extra extra slot. - (detect_coding_mask): Fix call of detect_coding_iso2022. + * w32term.c (w32_create_terminal) [MULTI_KBOARD]: Create a new + keyboard for the terminal. -2001-11-29 Pavel Jan,Am(Bk +2007-09-04 Dan Nicolaescu - * fileio.c (file-name-coding-system) - (default-file-name-coding-system): Doc fix (links to referenced - variables added). + * term.c (Vsuspend_tty_hook): Rename from Vsuspend_tty_functions. + (Vresume_tty_hook): Rename from Vresume_tty_functions. + (syms_of_term): Rename suspend-tty-functions to suspend-tty-hook + and resume-tty-function to resume-tty-hook. + (Fsuspend_tty, Fresume_tty): Use new names. -2001-11-28 Stefan Monnier +2007-09-02 Jan Dj,Ad(Brv - * lisp.h (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5): - Add dummy uses of gcproN variables. + * gtkutil.c (update_frame_tool_bar): Handle stock name as a named icon + if it starts with "n:". - * category.c (describe_category, describe_category_1) - (Fdescribe_categories): Remove. (Moved to lisp/help-fns.el.) - (syms_of_category): Don't defsubr Sdescribe_categories. +2007-08-31 Jan Dj,Ad(Brv -2001-11-28 Richard M. Stallman + * gtkutil.c (update_frame_tool_bar): Initialize wbutton to NULL. - * fileio.c (Ffind_file_name_handler): Avoid initializer for `result'. +2007-08-31 Stefan Monnier - * Makefile.in (lispdir): New variable, referring to build dir. - (TAGS-LISP): Find Makefile in $(lispdir), not $(lispsource). + * frame.h: + * frame.c (Qterm_environment_variable): Remove. + (syms_of_frame): Don't init and staticpro it. -2001-11-28 Andrew Innes + * callproc.c (getenv_internal): Remove special case for $TERM. - * w32menu.c (w32_menu_display_help): Actually add the new argument - OWNER. + * callproc.c (Vinitial_environment): New variable. + (set_initial_environment): Initialize it. + (syms_of_callproc): Declare it. + (child_setup): Don't mess with TERM via Qterm_environment_variable; the + TERM under which a process runs is never related to the TERM in which + Emacs is running. -2001-11-28 Jason Rumney +2007-08-29 Dan Nicolaescu - * w32menu.c (add_menu_item): Do not use owner-draw for disabled - menu items. From David Ponce . - (w32_dialog_show) [HAVE_DIALOGS]: Compile whole function - conditionally. - (w32_menu_display_help): New argument OWNER. Rewritten to store a - help event in the owner frame's keyboard buffer. + * config.in (HAVE_WINDOW_SYSTEM): Don't undef MULTI_KBOARD here... + * s/darwin.h: ... do it here. - * w32fns.c (w32_wnd_proc) : Display help directly. - (Fx_show_tip): Don't subtract last width from row width. +2007-08-29 Stefan Monnier - * w32term.c (w32_read_socket) : Remove. - (w32_read_socket): Use EQ to compare frames. + * lisp.h (set_initial_environment): Rename from set_global_environment. -2001-11-28 Gerd Moellmann + * Makefile.in (${etc}DOC): Re-add a ${EXEEXT} which seems to have been + removed by mistake on the multi-tty branch. - * xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if - OVERLAPS_P. + * frame.c (make_terminal_frame): Yet Another Int/Lisp_Object Mixup. + (Fmodify_frame_parameters): Return a value. -2001-11-28 Pavel Jan,Am(Bk + * image.c (png_load): Comment-out var only used in commented-out code. - * xdisp.c (message_dolog): Remove unused variables `gcpro2', - `gcpro3' and `gcpro4'. + * term.c (mark_ttys): Don't bother checking top_frame (incorrectly) + before passing it to mark_object. - * coding.c (decode_coding_string): Remove unused variable `gcpro1'. + * xfaces.c (internal_resolve_face_name): Return a value. + (internal_resolve_face_name, resolve_face_name_error): Comment out. -2001-11-28 Stefan Monnier + * xfns.c (check_x_display_info): Yet Another Int/Lisp_Object Mixup. + (x_icon): Comment-out var only used in commented-out code. - * ccl.c: Use AREF and ASIZE. +2007-08-29 Romain Francoise -2001-11-27 Stefan Monnier + * keyboard.c (Fset_input_mode): Don't call `Fset_quit_char' if + QUIT hasn't been provided. - * lisp.h (run_hook_list_with_args): Remove. - (LIST_END_P): Fix call to wrong_type_argument. - (make_fixnum_or_float): Use EMACS_INT rather than int. +2007-08-29 Dan Nicolaescu -2001-11-26 Stefan Monnier + * callproc.c (child_setup, getenv_internal): Use the + display-environment-variable and term-environment-variable frame + params. + (set_initial_environment): Initialise Vprocess_environment. - * syntax.c (syms_of_syntax): Remove defsubr of Sdescribe_syntax. - (describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove. + * config.in: Disable multi-keyboard support on a mac. - * eval.c: Use AREF and ASIZE. - (Ffetch_bytecode): Add the file name to the error message. + * frame.c (Qterm_environment_variable) + (Qdisplay_environment_variable): New variables. + (syms_of_frame): Intern and staticpro them. + (Fmake_terminal_frame): Disable output method test. - * fileio.c (Ffind_file_name_handler): Give precedence to handlers - which match the end of the file-name. - (Fsubstitute_in_file_name): Don't signal an error if $ENVVAR - is not a valid env var, but leave it as is instead. + * frame.h: Declare them here. - * keymap.c (access_keymap): Handle t bindings like nil bindings. - Make nil bindings in char-tables transparent. - (store_in_keymap): Turn a nil binding into a t binding for char-tables. + * macfns.c (x_set_mouse_color): Get rif from the frame. + (x_set_tool_bar_lines): Don't use updating_frame. + (mac_window): Add 2 new parameters for consistency with other systems. + (Fx_create_frame): Fix doc string. Rename the parameter. Set the + frame parameters following what is done in X11 and w32. Don't use + FRAME_MAC_DISPLAY_INFO. + (Fx_open_connection, start_hourglass): Remove window-system check. + (x_create_tip_frame): Get the keyboard from the terminal. -2001-11-26 Richard M. Stallman + * macmenu.c: Reorder includes. + (Fx_popup_menu): Use terminal specific mouse_position_hook. - * textprop.c (set_text_properties_1): Allow START, END in either order. - Do nothing if range is empty. + * macterm.c (XTset_terminal_modes, XTreset_terminal_modes): Add a + terminal parameter. + (x_clear_frame): Add a frame parameter. + (note_mouse_movement): Get rif from the frame. + (mac_term_init): Initialize the terminal. + (mac_initialize): Make static and move terminal initialization ... + (mac_create_terminal): ... to this new function. - * Makefile.in (mallocobj): Simplify logic using auxiliary vars. + * macterm.h (struct mac_display_info): Add terminal. + (mac_initialize): Delete declaration. - * Makefile.in (mostlyclean): Delete bootstrap-emacs here. - (clean): Not here. + * puresize.h (BASE_PURESIZE): Increase base value to 1164000. -2001-11-25 Stefan Monnier + * sysdep.c: Comment out text after #endif. - * textprop.c (set_text_properties_1): Clearly mark that the - interval should not be empty. + * term.c (init_tty): Only use terminal->kboard when MULTI_KBOARD + is defined. Better initialize ttys in windows. Use terminal + specific mouse_position_hook. - * intervals.c (graft_intervals_into_buffer): - Don't call set_text_properties_1 on an empty interval. + * termhooks.h (union display_info): Add mac_display_info. -2001-11-25 Richard M. Stallman + * w32fns.c (Fx_create_frame): Use kboard from the terminal. + Set the default minibuffer frame, window_system and the rest of the + frame parameters following what is done in X11. - * unexelf.c (unexec): Index by n, not nn, when checking for ".sbss". + * w32term.c (w32_initialize): Make static. - * callproc.c (Fcall_process): When we make a bigger buffer for bufptr, - don't lose the data in it. + * xselect.c (x_handle_selection_clear): Only access + terminal->kboard when MULTI_KBOARD is defined. -2001-11-25 Juanma Barranquero + * s/darwin.h (SYSTEM_PURESIZE_EXTRA): Define here. + (SYSTEM_PURESIZE_EXTRA): Only define on Carbon. - * abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks. +2007-08-29 Jason Rumney - * buffer.c (Fkill_buffer): Likewise. + * frame.c (Fdelete_frame): Only get kboard when MULTI_KBOARD defined. + (make_terminal_frame) [WINDOWSNT]: Initialize terminal. - * print.c (temp_output_buffer_setup): Likewise. + * fringe.c (w32_init_fringe w32_reset_fringes) [HAVE_NTGUI]: + (mac_init_fringe) [MAC_OS]: Get rif from selected_frame. -2001-11-25 Stefan Monnier + * keyboard.c (restore_kboard_configuration): Only define when + MULTI_KBOARD defined. - * xfaces.c (merge_face_heights): Coerce back to int explicitly. + * makefile.w32-in: Update dependancies from Makefile.in. + (OBJ1): Add terminal.$(O) -2001-11-25 Eli Zaretskii + * term.c (dissociate_if_controlling_tty) [WINDOWSNT]: + Don't define function body. + (init_tty) [WINDOWSNT]: Use selected_frame for initializing. - * window.c (Fset_window_vscroll): Doc fix. From Kalle Olavi - Niemitalo . + * termhooks.h (display_info) [WINDOWSNT]: Add w32. -2001-11-25 Jason Rumney + * w32.c (request_sigio, unrequest_sigio): Remove. - * w32term.h (FRAME_X_FRINGE_COLS): No fringe on tip frames. + * w32console.c (w32con_move_cursor, w32con_clear_to_end) + (w32con_clear_frame, w32con_clear_end_of_line) + (w32con_ins_del_lines, w32con_insert_glyphs, w32con_write_glyphs) + (w32con_delete_glyphs, w32con_set_terminal_window) + (scroll_line, w32_sys_ring_bell): Add frame arg. + (w32con_set_terminal_modes, w32con_reset_terminal_modes): + Add terminal arg. + (PICK_FRAME): Remove. + (w32con_write_glyphs): Use frame specific terminal coding. + (one_and_only_w32cons): New global variable. + (initialize_w32_display): Use it for storing hooks. + (create_w32cons_output): New function. - * w32fns.c (x_create_tip_frame): Set frame's fringes_extra to 0. - (Fx_show_tip): Block input during frame creation. - (Fx_show_tip, Fx_hide_tip): Enable. + * w32inevt.c, w32inevt.h (w32_console_read_socket): Make first + arg a frame. -2001-11-24 Richard M. Stallman + * w32fns.c (x_create_tip_frame): Set terminal and ref count. + Set window_system. + (x_set_tool_bar_lines): Don't use updating_frame. + (Fx_create_frame): Set terminal and ref count. + (Fx_open_connection): Remove window-system check. - * lread.c (Fload): Detect recursive load error for more than 3 - nestings of the same file. - (Vrecursive_load_depth_limit): Variable deleted. - (syms_of_lread) : Variable deleted. + * w32menu.c (Fx_popup_menu): Use terminal specific mouse_position_hook. -2001-11-24 Jason Rumney + * w32term.c (w32_term_init): Call add_keyboard_wait_descriptor. + (w32_set_terminal_modes, w32_reset_terminal_modes): Add terminal arg. + (x_clear_frame, x_delete_glyphs, w32_ring_bell, x_ins_del_lines): + Add frame arg. + (x_delete_terminal, w32_create_terminal): New functions. + (w32_term_init): Create a terminal. + (w32_initialize): Move terminal specific initialization to + w32_create_terminal. - * xfns.c (compute_tip_xy): Initialize root_x and root_y from - mouse position if either left or top is not specified. + * w32term.h (x_output): Remove foreground_pixel and background_pixel. + (w32_clear_rect, w32_clear_area): Use background from frame. + (w32_display_info): Add terminal. + (w32_sys_ring_bell, x_delete_display): Declare here. - * w32fns.c (w32_wnd_proc) : Revert last change. - : Let tip frames resize without restriction. - (my_create_tip_window, Fx_show_tip): Adjust size for external border. - (my_create_tip_window): Assign tip_window. - (x_create_tip_frame): Use same defaults as X. - (compute_tip_xy): Remove unused variable. Use full screen width. - (Fx_show_tip): Do not double height. Call ShowWindow directly. + * xdisp.c (display_menu_bar) [HAVE_NTGUI]: Check frame type. - * w32term.c (x_after_update_window_line): Doc fix. - (w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip - frames. - : Redo mouse highlight when hiding tip frame. + * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Bump to 50k. - * xdisp.c (prepare_menu_bars) [HAVE_WINDOW_SYSTEM]: Use tip_frame - for all Windowed systems. +2007-08-29 Kalle Olavi Niemitalo (tiny change) -2001-11-23 Eli Zaretskii + * keyboard.c (interrupt_signal, handle_interrupt, Fset_quit_char): + Fix get_named_tty calls for the controlling tty. - * msdos.c (IT_clear_screen): If the frame's faces are not yet - realized, use the initial screen colors to clear the screen. +2007-08-29 ARISAWA Akihiro (tiny change) -2001-11-23 Pavel Jan,Am(Bk + * term.c (dissociate_if_controlling_tty)[USG]: Fix parse error. - * textprop.c (Fset_text_properties): Remove unused variables - `unchanged', `prev_changed', `s' and `len'. +2007-08-29 Yoshiaki Kasahara (tiny change) - * search.c (Freplace_match): Remove unused variable `inslen'. - - * keymap.c (access_keymap): Remove unused variables `c1' and `c2'. - -2001-11-22 Jason Rumney - - * w32fns.c (x_window_to_frame): Remove irrelevant TODO comment. - (w32_wnd_proc) : Show help echo directly. - (my_create_tip_window): New function. - (x_create_tip_frame, compute_tip_xy): Adapt for Windows. - (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows. - -2001-11-20 Jason Rumney - - * coding.h (Vw32_system_coding_system) [WINDOWSNT]: Remove. - (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system. - - * w32fns.c (Vw32_system_coding_system): Remove. - (w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system. - -2001-11-19 Stefan Monnier - - * fileio.c (Fwrite_region): Move choose_write_coding_system to - after build_annotations. - - * syntax.c (describe_syntax): Add dummy arg. - (describe_syntax_1): Update call to describe_vector. - - * category.c (describe_category): Add dummy arg. - (describe_category_1): Update call to describe_vector. - - * keymap.c (Fdescribe_vector): Add `describer' parameter. - (describe_command, describe_translation): Add dummy second param. - (describe_map): Call elt_describer with two arguments. - (describe_vector_princ): Add `fun' parameter. - Call it instead of the hardcoded `princ'. - (describe_vector): Add arg `args'. - Pass it as a new second argument to elt_describer. + * term.c (tty_insert_glyphs): Add missing first parameter. - * keymap.h (describe_vector): Update prototype. +2007-08-29 K,Aa(Broly L$,1 q(Brentey - * frame.c: Don't include keymap.h any more. - (keys_of_frame): Remove. + * buffer.c (Fbuffer_list, Fbury_buffer): + Take frame->buried_buffer_list into account. - * lisp.h (keys_of_frame): Remove declaration. + * cm.c (current_tty): New variable, for cmputc(). + (cmputc): Use it. + (cmcheckmagic): Add tty parameter, look up terminal streams there. + (calccost): Add tty parameter. Use emacs_tputs() instead of tputs(). + (cmgoto): Add tty parameter. Pass it on to calccost(). + Use emacs_tputs() instead of tputs(). - * emacs.c (main): Don't call `keys_of_frame' any more. + * cm.h (emacs_tputs): New macro to set current_tty, and then call + tputs(). + (current_tty): New variable, for cmputc(). + (cmcheckmagic, cmputc, cmgoto): Add prototypes. -2001-11-14 Andreas Schwab + * eval.c (unwind_to_catch): Don't call x_fully_uncatch_errors. + (internal_condition_case, internal_condition_case_1) + (internal_condition_case_2): Don't abort when x_catching_errors. - * unexelf.c [!defined MAP_ANON]: Define MAP_ANON to MAP_ANONYMOUS - if defined, 0 otherwise. - (MAP_FAILED): Define if not defined and use it to test mmap failure. - (unexec) [!MAP_ANON]: Use /dev/zero as file to map. + * fns.c (Fyes_or_no_p): Don't try to open an X dialog on tty terminals. + (Fy_or_n_p): Likewise. Use temporarily_switch_to_single_kboard to + prevent crashes caused by bogus longjmps in read_char. -2001-11-19 Richard M. Stallman + * keymap.h (Fset_keymap_parent): Add EXFUN. - * indent.c (current_column_1): Fix handling of scan_bytes for mb chars. + * macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL) + * w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): + Remove redundant definition. -2001-11-18 Jason Rumney + * macfns.c (x_set_mouse_color, x_make_gc): + Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. - * w32term.c (note_mouse_highlight): Fix type of variable `ignore'. - (x_draw_bar_cursor): If the background color of the glyph under - the cursor equals the frame's cursor color, use the glyph's - foreground color for drawing the bar cursor. - (x_after_update_window_line): Clear internal border in different - circumstances. - (w32_set_vertical_scroll_bar): Check for width and height > 0. - (w32_draw_relief_rect): Correct relief by 1 pixel. - (x_set_glyph_string_background_width): - Set extends_to_end_of_line_p if the row's fill_line_p is set and - drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}. - (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR - if cursor_in_non_selected_windows is false. - (show_mouse_face): Clean up. Recognize overwritten cursor differently. - (x_draw_glyphs): Remove parameters REAL_START and REAL_END. - Notice if cursor gets overwritten. - (notice_overwritten_cursor): Renamed from - note_overwritten_text_cursor. Rewritten to take glyph widths - into account, and to take X positions as parameters. - (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p - around call to x_draw_glyphs. - (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and - `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background - color to use for image glyph reliefs. - (x_draw_image_relief): Accept zero tool_bar_button_relief. - (glyph_rect): Remove unused variable `area'. + * w32term.c (x_free_frame_resources): + Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. + (w32_initialize): Use the accessor macros for terminal characteristics. - * w32fns.c (x_set_frame_parameters): Avoid infinite recursion for - some items. - (x_set_internal_border_width): Set frame garbaged when window - doesn't exist yet. - (Fx_create_frame): Accept zero tool_bar_button_relief. - (x_clear_image_1, four_corners_best, image_background) - (image_background_transparent): New functions. - (xpm_format, png_format, jpeg_format, tiff_format, gif_format) - (gs_format): Add `:background' entry. - (lookup_image): Set IMG's background color if specified. - (pbm_load, xbm_load_image, png_load): Set IMG's background field - when appropriate. - (x_clear_image_1): Reset `background_valid' and - `background_transparent_valid' fields. - (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of - calculating it here. Set IMG's background_transparent field. - (enum xpm_keyword_index): Add XPM_BACKGROUND. - (enum png_keyword_index): Add PNG_BACKGROUND. - (enum jpeg_keyword_index): Add JPEG_BACKGROUND. - (enum tiff_keyword_index): Add TIFF_BACKGROUND. - (enum gif_keyword_index): Add GIF_BACKGROUND. - (enum gs_keyword_index): Add GS_BACKGROUND. - (pbm_load, png_load, jpeg_load, tiff_load, gif_load): - Pre-calculate image background color where necessary. - (x_create_x_image_and_pixmap, xbm_load, gs_load): - Use display info's n_cbits entry for screen depth. - (Fx_show_tip): Remove unused variables `buffer', `top', - `left', `max_width' and `max_height'. + * macterm.c (mac_initialize): Use Fset_input_interrupt_mode. + Use the accessor macros for terminal characteristics. + * msdos.c (internal_terminal_init): Use the accessor macros for + terminal characteristics. + (ScreenVisualBell, internal_terminal_init): + Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. - * w32menu.c (w32_menu_show, push_menu_pane): Doc fixes. + * termopts.h (no_redraw_on_reenter): Declare. -2001-11-18 Gerd Moellmann + * alloc.c (emacs_blocked_malloc): Disable mallopt call. + (mark_terminals, mark_ttys): Declare. + (Fgarbage_collect): Call them. + (mark_object): Mark buried_buffer_list. - * puresize.h (BASE_PURESIZE): Increase to 750000. + * prefix-args.c: Include stdlib.h for exit. -2001-11-18 Pavel Jan,Am(Bk + * syssignal.h: Add comment. - * frame.c (Fframe_live_p): Doc fix. + * indent.c: Include stdio.h. -2001-11-18 Richard M. Stallman + * window.h (Vinitial_window_system): Declare. + (Vwindow_system): Delete declaration. - * xdisp.c (message_dolog_marker1, message_dolog_marker2) - (message_dolog_marker3): New static variables hold three markers. - (syms_of_xdisp): Initialize and staticpro them. - (message_dolog): Use message_dolog_marker1..3 instead of - allocating markers each time. Unchain them when done. + * fontset.c (Finternal_char_font): Use FRAME_RIF. -2001-11-17 Richard M. Stallman + * image.c (lookup_image): Don't initialize `c' until the xasserts + have been run. - * doc.c (Fsnarf_documentation): Doc fix. + * gtkutil.c (xg_create_frame_widgets): Use FRAME_BACKGROUND_PIXEL and + FRAME_FOREGROUND_PIXEL. -2001-11-17 Andreas Schwab + * print.c (print_preprocess): Don't lose print_depth levels while + iterating. - * xterm.c (note_mouse_highlight): Fix type of variable `ignore'. + * widget.c (update_from_various_frame_slots): + Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. -2001-11-17 Richard M. Stallman + * window.c (set_window_buffer): Don't call clear_mouse_face on tty + frames. + (window_internal_height): Remove bogus make_number call. + (init_window_once): Call make_terminal_frame with two zero parameters. - * fileio.c (Fwrite_region): Avoid initializer for Lisp_Object. + * fileio.c (Fread_file_name): Update comment. -2001-11-17 Jason Rumney + * callint.c (Fcall_interactively): + Use temporarily_switch_to_single_kboard instead of single_kboard_state. + Make sure it is correctly unwound. + + * xsmfns.c (x_session_close): New function. + + * coding.h (terminal_coding, safe_terminal_coding, keyboard_coding): + Delete declarations. + + * xterm.h: Remove declaration for x_fully_uncatch_errors. + (x_output): Remove background_pixel and foreground_pixel fields. + (x_display_info): Add new field TERMINAL. Remove KBOARD field. + (x_delete_device): + (x_session_close): Declare. + + * lread.c: Include setjmp.h. Update declaration of `read_char'. + (read_filtered_event): Call `read_char' with a local + `wrong_kboard_jmpbuf'. + + * minibuf.c (read_minibuf): Call temporarily_switch_to_single_kboard. + Don't call single_kboard_state. Use FRAME_RIF. + + * process.c (Fmake_network_process): Don't unrequest_sigio on modern + systems. + + * lisp.h (set_process_environment): Rename to `set_global_environment'. + (Fframe_with_environment, Fset_input_meta_mode) + (Fset_quit_char): EXFUN. + (x_create_device, tty_output, terminal, tty_display_info): Declare. + (init_sys_modes, reset_sys_modes): Update prototypes. + (init_all_sys_modes, reset_all_sys_modes): New prototypes. + + * keyboard.h (struct kboard): Add new fields Vlocal_function_key_map, + Vlocal_key_translation_map, and Vkeyboard_translate_table. + (Vfunction_key_map, Vkeyboard_translate_table, single_kboard_state): + Delete declarations. + (Vfunction_key_map, Vkey_translation_map, push_kboard, pop_kboard) + (temporarily_switch_to_single_kboard, tty_read_avail_input): + New declarations. + + * emacs.c (main): Don't call init_sys_modes(), the new term_init() + already does that during init_display(). Call syms_of_keymap + before syms_of_keyboard. Call `syms_of_terminal'. + Call set_initial_environment, not set_process_environment. + (shut_down_emacs): Call reset_all_sys_modes() instead of + reset_sys_modes(). + + * xfaces.c (x_free_gc): Protect xassert with GLYPH_DEBUG. + (internal_resolve_face_name, resolve_face_name_error): New functions. + (resolve_face_name): Protect against loops and errors thrown by Fget. + (realize_default_face): Don't use FRAME_FONT unless frame is an X frame. + (Ftty_supports_face_attributes_p): Update tty_capable_p call. + + * scroll.c: Replace CURTTY() with local variables throughout the + file (where applicable). + (calculate_scrolling, calculate_direct_scrolling) + (scrolling_1, scroll_cost): Use the accessor macros for terminal + characteristics. + + * keymap.c (Vfunction_key_map): Remove. + (Fdescribe_buffer_bindings): Update references to Vfunction_key_map. + (syms_of_keymap): Remove DEFVAR for Vfunction_key_map. + (Vkey_translation_map): Remove. + (syms_of_keymap): Remove DEFVAR for key-translation-map. + (Fdescribe_buffer_bindings): + (read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards): + Update for terminal-local key-translation-map. + + * Makefile.in (callproc.o): Update dependencies. + (lisp, shortlisp): Add termdev.elc. + (obj): Add terminal.o. + (terminal.o): Add dependencies. + [HAVE_CARBON]: Make terminal.o depend on macgui.h. + (data.o, fns.o): Add termhooks.h dependency. + (SOME_MACHINE_LISP): Add dnd.elc. + (minibuf.o): Fix typo. + Update dependencies. + + * data.c (do_symval_forwarding, store_symval_forwarding) + (find_symbol_value): Use the selected frame's keyboard, not + current_kboard. + + * .gdbinit (init_sys_modes): Use Vinitial_window_system instead of + Vwindow_system. + + * xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]: Rename from + Fmenu_bar_open. + (syms_of_xmenu): Update defsubr. + (mouse_position_for_popup, Fx_popup_menu) + (Fx_popup_dialog, x_activate_menubar, update_frame_menubar) + (set_frame_menubar, free_frame_menubar) + (create_and_show_popup_menu, xmenu_show, ) + (create_and_show_dialog, xdialog_show, xmenu_show): Abort if not + an X frame. + + * xselect.c (x_own_selection): Abort if not an X frame. + (some_frame_on_display): Check if it is an X frame. + (x_handle_selection_clear): Deal with MULTI_KBOARD. + + * coding.c: Include frame.h and termhooks.h. + (terminal_coding, keyboard_coding): Delete. + (Fset_terminal_coding_system_internal): + (Fset_keyboard_coding_system_internal): + (Fkeyboard_coding_system): + (Fterminal_coding_system): Add a terminal parameter. + Get terminal_coding from the terminal. + (init_coding_once): Don't call setup_coding_system here. + + * dispextern.h (set_scroll_region, turn_off_insert) + (turn_off_highlight, background_highlight, clear_end_of_line_raw) + (tty_clear_end_of_line, tty_setup_colors) + (delete_tty, updating_frame) + (produce_special_glyphs, produce_glyphs, write_glyphs) + (insert_glyphs): Remove. + (raw_cursor_to, clear_to_end, tty_turn_off_insert) + (tty_turn_off_highlight, get_tty_size): Add declaration. + (tabs_safe_p, init_baud_rate, get_tty_terminal): Update prototypes. + + * frame.h (enum output_method): Add output_initial. + (struct x_output): Delete. + (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): + Access foreground_pixel and background_pixel directly from the frame. + (tty_display): Delete. + (struct frame): Add buried_buffer_list, foreground_pixel, + background_pixel and terminal. Delete kboard + (union output_data): Add tty. + (FRAME_KBOARD): Get the kboard from the terminal. + (FRAME_INITIAL_P): New macro. + (Qtty, Qtty_type, Qterminal, Qterminal_live_p, Qenvironment) + (Qterm_environment_variable, Qdisplay_environment_variable) + (make_terminal_frame, Qburied_buffer_list, Qwindow_system): + New declarations. + + * termchar.h (tty_output, tty_display_info): New structures. + (tty_list): Declare. + (FRAME_TTY, CURTTY): New macros. + (must_write_spaces, min_padding_speed, fast_clear_end_of_line) + (line_ins_del_ok, char_ins_del_ok, scroll_region_ok) + (scroll_region_cost, memory_below_frame, fast_clear_end_of_line) + (dont_calculate_costs, no_redraw_on_reenter): Remove declarations. + + * callproc.c: Include frame.h and termhooks.h, for terminal + parameters. + (add_env): New function. + (child_setup): Use it. + (child_setup, getenv_internal): Handle the new Vprocess_environment. + (getenv_internal): Fix get_terminal_param call. + (Fgetenv_internal, egetenv): Update doc. + (syms_of_callproc): Initialize Vprocess_environment to nil. + Register and initialize them. Remove obsolete defvars. Update doc + strings. + (child_setup): Handle Vlocal_environment_variables. + (getenv_internal): Add terminal parameter. + Handle Vlocal_environment_variables. + (Fgetenv_internal): Add terminal parameter. + (child_setup, getenv_internal, Fgetenv_internal): Store the local + environment in a frame (not terminal) parameter. Update doc strings. + (set_initial_environment): Rename from set_global_environment. + Store Emacs environment in initial frame parameter. + + * xdisp.c (redisplay_internal): Update references to + `previous_terminal_frame'. + (display_mode_line, Fformat_mode_line): Replace calls to + `push_frame_kboard' with `push_kboard'. + (get_glyph_string_clip_rects): Add extra parentheses and + braces to prevent compiler warnings. + (calc_pixel_width_or_height): Add xassert to check that the + frame is alive. Don't call `lookup_image' on a termcap frame. + (message2_nolog, message3_nolog, redisplay_internal) + (set_vertical_scroll_bar, redisplay_window, check_x_display_info) + (x_set_scroll_bar_foreground, x_set_scroll_bar_background) + (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p) + (Fx_display_pixel_width, Fx_display_pixel_height) + (Fx_display_planes, Fx_display_color_cells) + (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version) + (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width) + (Fx_display_backing_store, Fx_display_visual_class) + (Fx_display_save_under, Fx_close_connection, x_create_tip_frame): + Use FRAME_TERMINAL_P, FRAME_WINDOW_P, FRAME_TTY and FRAME_RIF. + + * xfns.c (x_set_foreground_color x_set_background_color) + (x_set_mouse_color, x_set_cursor_color, x_make_gc): + Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. + (Fx_create_frame, x_create_tip_frame, build_string, x_window) + (Fx_create_frame, x_create_tip_frame): Don't create frames on a + terminal that is being deleted. + (Fx_create_frame): Use `store_frame_param' to set `window-system' + frame parameter, and make sure it overrides any user-supplied setting. + (Fx_close_connection, Fx_synchronize): Unify argument names with + the rest of the DEFUNs. + + * dispnew.c (Fsend_string_to_terminal): Update call to + `get_tty_terminal'. + (Fredraw_frame, Fsend_string_to_terminal) + (Fsend_string_to_terminal, init_display): Use FRAME_RIF, + FRAME_TERMCAP_P and FRAME_TTY. + (window_change_signal): Don't believe width/height values that are + impossibly small. + (Vinitial_window_system): Rename from Vwindow_system. + (termscript, Wcm, rif): Delete. + + * termhooks.h (struct terminal): New struct containing the + previously global text display hooks and new members NAME, + DELETED and PARAM_ALIST. + (FRAME_TERMINAL, TERMINAL_TERMINAL_CODING) + (TERMINAL_KEYBOARD_CODING, TERMINAL_ACTIVE_P, FRAME_WINDOW_P) + (FRAME_RIF): New macros. + (get_terminal_param, get_device): New declarations. + (termscript): Delete declaration. + + * xterm.c (x_initialize): Use Fset_input_interrupt_mode. + (XTflash, x_free_frame_resources, x_scroll_bar_create) + (x_scroll_bar_set_handle): Use FRAME_BACKGROUND_PIXEL and + FRAME_FOREGROUND_PIXEL. + (x_fully_uncatch_errors): Disable definition. + (x_scroll_bar_expose): Fix reference to foreground pixel. + (XTread_socket): Disable loop on all X displays. + (x_delete_terminal): Don't set terminal->deleted and let + delete_terminal delete the frames on the terminal. + (x_delete_display): Doc update to reflect changes in + delete_terminal. + (x_display_info) : Move member earlier in the struct. + (deleting_tty): Remove old variable. + (Fsuspend_tty): Call clear_tty_hooks. + (Fresume_tty, init_tty): Call set_tty_hooks. + (Ftty_display_color_p, Ftty_display_color_cells): Don't throw + errors on X frames. + (x_catch_errors_unwind): Abort if x_error_message is NULL. + (handle_one_xevent): Initialize `f' to NULL. + (x_delete_terminal, x_create_terminal): New functions. + (XTset_terminal_modes, XTreset_terminal_modes) + (XTread_socket, x_connection_closed, x_term_init) + (x_term_init, x_delete_display): Add terminal parameter. + (x_term_init) [!HAVE_GTK_MULTIDISPLAY]: Refuse to create secondary + X connections. + + * frame.c (Fframep): Deal with output_initial. + (Qbuffer_predicate, Qbuffer_list, Qburied_buffer_list, Qtty) + (Qtty_type, Qwindow_system, Qenvironment) + (Qterm_environment_variable, Qdisplay_environment_variable): New vars. + (x_set_screen_gamma, store_frame_param): Fix compilation errors. + (make_terminal_frame): Don't create frames on a terminal that is + being deleted. + (make_terminal_frame): Use FRAME_BACKGROUND_PIXEL and + FRAME_FOREGROUND_PIXEL. + (store_frame_param): Check for found_for_frame before calling XFRAME. + (Fmake_terminal_frame): Handle NULL tty names correctly. + (syms_of_frame): Enhance doc string of `default-frame-alist'. + (Fdelete_frame): Remove unused variable `count'. + (Qenvironment): New variable. + (Fdelete_frame): Don't allow other frames to refer to a deleted + frame in their 'environment parameter. + (Fframe_with_environment): New function. + (syms_of_frame): Defsubr it. Initialize and staticpro Qenvironment. + (get_future_frame_param): New function. + (Fmake_terminal_frame): Use it. + (x_set_frame_parameters, x_set_screen_gamma): Use FRAME_RIF. + + * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames. + * sysdep.c (reset_sys_modes): Update for renames. + + * keyboard.c (tty_read_avail_input): New function. + (Fset_input_interrupt_mode, Fset_output_flow_control): New functions. + (syms_of_keyboard): Defsubr them. + (Fset_input_meta_mode, Fset_quit_char): New functions. + (Fset_input_mode): Split to above functions. + + (read_char_minibuf_menu_prompt): Add wrong_kboard_jmpbuf + parameter. Use it in call to `read_char'. + (read_char): Declare. Update call to `read_char_minibuf_menu_prompt'. + Set wrong_kboard_jmpbuf correctly in recursive calls. + Use current_kboard to access Vkeyboard_translate_table. + Enhance comment before extra longjmp to wrong_kboard_jmpbuf. + Add wrong_kboard_jmpbuf parameter to allow for recursive calls. + Update longjmp invocations. Remember the original current_kboard, + and longjmp to `wrong_kboard_jmpbuf' when a filter, timer or sentinel + changes it. Comment out unnecessary calls to + `record_single_kboard_state' and `any_kboard_state'. + Update recursive calls. + (wrong_kboard_jmpbuf): Remove global variable. + (read_key_sequence): Remove unused variable wrong_kboard_jmpbuf. + Handle deleted interrupted_kboards correctly; that is a legal + case. Add `wrong_kboard_jmpbuf' local variable. Update setjmp + and read_char calls. Abort if interrupted_kboard died in read_char. + (any_kboard_state, single_kboard_state) + (push_frame_kboard): Remove function. + (pop_kboard): Switch out of single_kboard mode if the kboard has + been deleted. Remove unused variable. Help debugging by not + changing current_kboard unnecessarily. Set current_kboard to the + kboard of the selected frame when the stored kboard object has + been deleted before pop_kboard. + (temporarily_switch_to_single_kboard): Change first parameter to a + frame pointer. Throw an error when caller wants to change kboards + while in single_kboard mode. Don't push_kboard if we weren't in + single kboard state. Don't pop_kboard if we popped into any + kboard state. + (restore_kboard_configuration): Abort if pop_kboard changed the + kboard in single_kboard mode. Call pop_kboard only after setting + up single_kboard mode. + (Frecursive_edit): Switch to single_kboard mode only in nested + command loops. + (cmd_error, command_loop, command_loop_1, timer_check): + Comment out unnecessary call to `any_kboard_state' and + `record_single_kboard_state'. + (delete_kboard): Exit single_kboard mode if we have just deleted + that kboard. Use FRAME_KBOARD. + (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not + `fatal_error_signal'. + (record_single_kboard_state): Don't push_kboard if we weren't in + single kboard state. Don't pop_kboard if we popped into any + kboard state. + (push_frame_kboard): Rename to push_kboard. + (kbd_buffer_get_event): Use FRAME_TERMINAL. + (read_avail_input): Read input from all terminals. + (mark_kboards): Also mark Vkeyboard_translate_table. + (kbd_buffer_store_event_hold): Simplify condition. + (read_key_sequence): Reinitialize fkey and keytran at each replay. + (Vkeyboard_translate_table): Move to struct kboard. + (init_kboard): Initialize Vkeyboard_translate_table. + (syms_of_keyboard): Use DEFVAR_KBOARD to define + Vkeyboard_translate_table. Update doc strings. Update docs of + local-function-key-map and function-key-map. + + * terminal.c: New file. + + * term.c: Include errno.h. + (Vring_bell_function, device_list, initial_device) + (next_device_id, ring_bell, update_begin, update_end) + (set_terminal_window, cursor_to, raw_cursor_to) + (clear_to_end, clear_frame, clear_end_of_line) + (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines) + (Fdisplay_name, create_device, delete_device): Move to terminal.c. + (syms_of_term): Move their initialization to terminal.c. + (get_tty_terminal, Fdisplay_tty_type, Ftty_display_color_p) + (Ftty_display_color_cells) + (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output) + (clear_tty_hooks, set_tty_hooks) + (init_tty, maybe_fatal): New functions. + (Ftty_type): Return nil if terminal is not on a tty instead of + throwing an error. Doc update. + (syms_of_term) : + Doc update. Initialize new subrs and variables. + (delete_tty): Use terminal->deleted. + (tty_set_terminal_modes): Rename from set_terminal_modes. + (tty_reset_terminal_modes): Rename from reset_terminal_modes. + (set_scroll_region): Rename to `tty_set_scroll_region'. + (turn_on_insert): Rename to `tty_turn_on_insert'. + (turn_off_insert): Rename to `tty_turn_off_insert'. + (turn_off_highlight): Rename to `tty_turn_off_highlight'. + (turn_on_highlight): Rename to `tty_turn_on_highlight'. + (toggle_highligh): Rename to `tty_toggle_highlight'. + (background_highlight): Rename to `tty_background_highlight'. + (highlight_if_desired): Rename to `tty_highlight_if_desired'. + (tty_ring_bell, tty_update_end, tty_set_terminal_window) + (tty_set_scroll_region, tty_background_highlight) + (tty_cursor_to, tty_raw_cursor_to, tty_clear_to_end) + (tty_clear_frame, tty_clear_end_of_line, tty_write_glyphs) + (tty_insert_glyphs, tty_delete_glyphs, tty_ins_del_lines) + (term_get_fkeys, tty_setup_colors, dissociate_if_controlling_tty): + Add static modifier. + (tty_reset_terminal_modes, tty_set_terminal_window) + (tty_set_scroll_region, tty_background_highlight) + (tty_highlight_if_desired, tty_cursor_to) + (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame) + (tty_clear_end_of_line, tty_write_glyphs, tty_insert_glyphs) + (tty_delete_glyphs, tty_ins_del_lines, turn_on_face): Update for + renames. - * xterm.c (notice_overwritten_cursor): Take care of end < 0 case. +2007-08-28 Jan Dj,Ad(Brv -2001-11-17 Gerd Moellmann + * keyboard.c: Qrtl is new. + (parse_tool_bar_item): Handle :rtl keyword. + (syms_of_keyboard): Intern :rtl keyword. - * xdisp.c (tool_bar_item_info): Avoid calling Fget_text_property - with invalid position. + * dispextern.h (enum tool_bar_item_idx): Add TOOL_BAR_ITEM_RTL_IMAGE. -2001-11-16 Richard M. Stallman + * gtkutil.c (xg_tool_bar_expose_callback): Just do SET_FRAME_GARBAGED + so no Lisp code is executed. + (file_for_image, find_rtl_image): New functions. + (xg_get_image_for_pixmap): Use file_for_image + (update_frame_tool_bar): If direction is RTL, use RTL image if + defined. Use Gtk stock images if defined. - * syswait.h: Delete conditionals for HPUX7, ISC 4.1, and convex. +2007-08-27 YAMAMOTO Mitsuharu - * s/isc4-1.h (HAVE_SYS_WAIT_H): Add #undef. - * s/hpux.h (HAVE_SYS_WAIT_H): Add #undef. - * s/hpux8.h (HAVE_SYS_WAIT_H): Define it. + * macterm.c (x_draw_composite_glyph_string_foreground): Draw rectangle + for nonexistent or zero-width glyph in composition glyph. - * m/convex.h (HAVE_SYS_WAIT_H): Add #undef. +2007-08-25 Stefan Monnier -2001-11-16 Stefan Monnier + * m/amdx86-64.h: Redirect to intel386.h if compiling for i386. - * fileio.c (build_annotations): Split off the tail. - (build_annotations_2): New fun. Extracted from build_annotations. - (Fwrite_region): Split the call to build_annotations into two - calls to build_annotations and build_annotations_2. + * xdisp.c (Finvisible_p): New function. + (syms_of_xdisp): defsubr it. -2001-11-16 Pavel Jan,Am(Bk +2007-08-24 Juanma Barranquero - * sysdep.c (wait_for_kbd_input) [VMS]: Do not call - clear_waiting_for_input with argument. + * image.c (syms_of_image) : + Doc fixes. - * xterm.h (x_update_cursor): Remove duplicated prototype. +2007-08-24 YAMAMOTO Mitsuharu - * keyboard.h (clear_waiting_for_input): Remove duplicated prototype. + * mac.c [MAC_OSX] (select_and_poll_event, sys_select): Fix last changes. - * xterm.c (waiting_for_input): Remove unnecessary declaration. +2007-08-24 Martin Rudalics - * data.c (Ftimes, Fquo, Frem, Fmod): Doc fix. + * fileio.c (Finsert_file_contents): Consult CHARS_MODIFF to tell + whether decoding has modified buffer contents. -2001-11-16 Stefan Monnier +2007-08-24 Jason Rumney - * fileio.c (choose_write_coding_system): New fun, extracted - from Fwrite_region. - (Fwrite_region): Use it. + * image.c [HAVE_NTGUI]: Define dynamic loaded functions for SVG. + (Qgdk_pixbuf, Qglib) [HAVE_NTGUI]: New symbols. + (syms_of_image) [HAVE_NTGUI]: Intern and staticpro them. + (init_svg_functions) [HAVE_NTGUI]: New function. + (fn_g_type_init, fn_g_object_unref, fn_g_error_free): New #defines. + (svg_load_image): Use them. + (svg_load_image) [HAVE_NTGUI]: Implement background. - * eval.c (max_specpdl_size, max_lisp_eval_depth): Use EMACS_INT. - (funcall_lambda, run_hook_with_args): Make static and add prototype. - (ml_apply, find_handler_clause): Add prototype. +2007-08-23 YAMAMOTO Mitsuharu -2001-11-16 Eli Zaretskii + * Makefile.in (RSVG_LIBS, RSVG_CFLAGS): New variables. + (ALL_CFLAGS): Use ${RSVG_CFLAGS} instead of @RSVG_CFLAGS@. + (LIBX): Remove @RSVG_LIBS@. + (LIBES): Add $(RSVG_LIBS). - * config.in: Add #undef HAVE_COFF_H. + * image.c (svg_load_image): Blend with specified background if exists. + Use IMAGE_BACKGROUND. Add Mac OS Support. - * unexec.c (coff.h): Don't include unless HAVE_COFF_H is defined. - Required for ISC 4.1. + * mac.c (wakeup_from_rne_enabled_p) [MAC_OSX]: Remove variable. + (ENABLE_WAKEUP_FROM_RNE, DISABLE_WAKEUP_FROM_RNE) [MAC_OSX]: + Remove macros. + [MAC_OSX] (socket_callback): Do nothing. + [MAC_OSX] (select_and_poll_event): Use CFRunLoopRunInMode instead of + ReceiveNextEvent. + [MAC_OSX] (sys_select): Likewise. Don't set context as argument to + socket_callback. + (mac_wakeup_from_rne) [MAC_OSX]: Do nothing. -2001-11-16 Eli Zaretskii +2007-08-22 Glenn Morris - * syswait.h (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by - Andrew Wiseman . + * image.c (x_find_image_file): Search in etc/images/ rather than etc/. -2001-11-16 Kim F. Storm +2007-08-22 Paul Pogonyshev - The following changes are made to clean up the various internal - references to the fringes to actually use the term `fringe' for - them. Previously, they were called `flags areas', `bitmap areas', - `left/right side of windows', or implicitly as `flags' or - `bitmaps': + * Makefile.in (ALL_CFLAGS, LIBX): Add RSVG_LIBS. - * dispextern.h (FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID. - Comments fixed. Use renamed symbols. + * image.c: Add support for SVG images. Some additional comments + by Joakim Verona . When HAVE_RSVG is defined: + (svg_image_p): New function to test for SVG image. + (svg_load): New function to load SVG image. + (svg_load_image): New function, helper for svg_load. + (Qsvg): New Lisp_object. + (svg_keyword_index): New enum. + (svg_format): New static `image_keyword' struct. + (svg_type): New static `image_type' struct. + (librsvg/rsvg.h): Include it. - * dispnew.c: Comment fix. Use renamed symbols. +2007-08-23 Stefan Monnier - * frame.h (FRAME_FRINGE_COLS): Renamed from FRAME_FLAGS_AREA_COLS. - (FRAME_FRINGE_WIDTH): Renamed from FRAME_FLAGS_AREA_WIDTH. - (FRAME_LEFT_FRINGE_WIDTH): Renamed from FRAME_LEFT_FLAGS_AREA_WIDTH. + * lread.c (load_warn_old_style_backquotes): Fix up array size typo. - * msdos.c: Comment fix. +2007-08-22 Stefan Monnier - * w32fns.c: Use renamed symbols. + * lread.c (Qold_style_backquotes): New var. + (syms_of_lread): Init and staticpro it. + (load_warn_old_style_backquotes): New fun. + (Fload): Use them to warn about old style backquotes. + (end_of_file_error, Fload): Remove unused vars. - * w32term.c: Comment fixes. Use renamed symbols. - (fringe_bitmap_type): Renamed from bitmap_type. - (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. - (w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap. - (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. + * lisp.h (Fclear_face_cache, Fx_send_client_event): Declare. - * w32term.h: Comment fixes. Use renamed symbols. - (fringes_extra): Renamed from flags_areas_extra. - (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. - (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. - (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. - (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. - (FRAME_X_LEFT_FRINGE_WIDTH): - Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. - (FRAME_X_RIGHT_FRINGE_WIDTH): - Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. + * lread.c (Vold_style_backquotes): New var. + (syms_of_lread): Init and export it to Elisp. + (read1): Set it when we find an old-style (back)quote. - * widget.c: Use renamed symbols. +2007-08-22 Jason Rumney - * window.c: Comment fixes. Use renamed symbols. - (coordinates-in-window-p): Doc fix. + * w32reg.c (SYSTEM_DEFAULT_RESOURCES): Add missing NULL terminator. - * xdisp.c: Comment fixes. Use renamed symbols. +2007-08-22 Katsumi Yamaoka - * xfaces.c (realize_basic_faces): Use FRINGE_FACE_ID. + * puresize.h (BASE_PURESIZE): Increase to 1140000. - * xfns.c: Use renamed symbols. +2007-08-19 Richard Stallman - * xterm.c: Comment fixes. Use renamed symbols. - (fringe_bitmap_type): Renamed from bitmap_type. - (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. - (x_draw_fringe_bitmap): Renamed from x_draw_bitmap. - (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. + * eval.c (Ffunction, Fquote): Signal error if not 1 argument. - * xterm.h: Comment fixes. Use renamed symbols. - (fringes_extra): Renamed from flags_areas_extra. - (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. - (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. - (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. - (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. - (FRAME_X_LEFT_FRINGE_WIDTH): - Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. - (FRAME_X_RIGHT_FRINGE_WIDTH): - Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. +2007-08-19 Andreas Schwab -2001-11-15 Jason Rumney + * alloc.c (pure): Round PURESIZE up. - * w32menu.c (add-menu-item): Make help_echo and radio buttons - work for most menu items. From David Ponce - . +2007-08-17 Jan Dj,Ad(Brv -2001-11-15 Gerd Moellmann + * xterm.c (handle_one_xevent): Remove check that mouse click is in + active frame. - * xfns.c (x_set_frame_parameters): Revert change of 2001-11-07. - Some x_set_* function expect to be called even if old and new - value are equal. +2007-08-16 Richard Stallman - * xdisp.c (build_desired_tool_bar_string): Accept zero - tool_bar_button_relief. + * eval.c (Fcommandp): Add parens to clarify. - * xfns.c (Fx_create_frame): Accept zero tool_bar_button_relief. + * minibuf.c (Fall_completions): Use enum for type of table. - * xterm.c (x_draw_image_relief): Accept zero tool_bar_button_relief. + * emacs.c (USAGE2): Improve text. - * xterm.c (x_draw_bar_cursor): If the background color of the - glyph under the cursor equals the frame's cursor color, use - the glyph's foreground color for drawing the bar cursor. +2007-08-15 Philippe Waroquiers - * dispnew.c (direct_output_forward_char): Fix character/byte - position comparison. + * term.c (tty_default_color_capabilities): Declare static + variables in file scope, to avoid HPUX compiler problem. -2001-11-15 Miles Bader +2007-08-13 Jan Dj,Ad(Brv - * editfns.c (find_field): Add BEG_LIMIT and END_LIMIT parameters. - (Fdelete_field, Ffield_string, Ffield_string_no_properties): - Update arguments to find_field. - (Ffield_beginning, Ffield_end): Add LIMIT param, pass to find_field. - (Fconstrain_to_field): Use LIMIT arg to shorten search time. - * lisp.h (Ffield_beginning, Ffield_end): Update EXFUN decl. - * minibuf.c (Fminibuffer_prompt_end): Update args to Ffield_end. + * gtkutil.c (update_frame_tool_bar): Use -1 as index + to gtk_toolbar_insert. -2001-11-14 Richard M. Stallman +2007-08-13 Stefan Monnier - * editfns.c (Fpropertize): Allow call with 1 arg. + * fileio.c (Finsert_file_contents): Yet Another Int/Lisp_Object Mixup. - * dispextern.h (image_background, image_background_transparent): - Conditionalize on HAVE_X_WINDOWS. + * insdel.c (reset_var_on_error): New fun. + (signal_before_change, signal_after_change): + Use it to reset (after|before)-change-functions to nil in case of error. + Bind inhibit-modification-hooks to t. + Don't bind (after|before)-change-functions to nil while they run. -2001-11-13 Richard M. Stallman +2007-08-11 YAMAMOTO Mitsuharu - * print.c (Fprin1_to_string): Doc fix. + * xterm.c (x_draw_image_glyph_string): Adjust stipple origin when + filling pixmap with stippled background. - * sunfns.c (Fsun_change_cursor_icon): Doc fix. +2007-08-10 YAMAMOTO Mitsuharu - * floatfns.c (Fceiling, Ffloor): Doc fixes. + * macterm.c [TARGET_API_MAC_CARBON] (mac_handle_window_event): + Don't use invisible frame as parent window for repositioning. - * filelock.c (Funlock_buffer, Ffile_locked_p): Doc fixes. +2007-08-10 Stefan Monnier - * fileio.c (Ffile_accessible_directory_p): Doc fix. + * print.c (new_backquote_output): Rename from old_backquote_output. + (print): Inverse its logic (according to its name) so as to match the + behavior of new_backquote_flag in lread.c. - * eval.c (syms_of_eval): Doc fix. +2007-08-09 YAMAMOTO Mitsuharu - * coding.c (syms_of_coding): Doc fix. + * gmalloc.c (posix_memalign): New function. - * doc.c (Fsnarf_documentation): Doc fix. + * macterm.c (frame_highlight, frame_unhighlight): Don't call + ActivateControl/DeactivateControl here. + [USE_MAC_TOOLBAR] (free_frame_tool_bar): Suppress animation when + frame-notice-user-settings is non-nil. + [USE_MAC_FONT_PANEL] (mac_handle_font_event): Also record parameter + for kEventParamFMFontStyle. + [TARGET_API_MAC_CARBON] (mac_handle_keyboard_event): Don't check + mac_pass_command_to_system and mac_pass_control_to_system here. + (XTread_socket): Call ActivateControl/DeactivateControl here. + (XTread_socket) [TARGET_API_MAC_CARBON]: + Check mac_pass_command_to_system and mac_pass_control_to_system here. + (mac_handle_window_event) [USE_MAC_TOOLBAR]: Add further workaround + for window repositioning. - * dispnew.c (syms_of_display): Doc fix. +2007-08-08 Glenn Morris - * category.c (Fget_unused_category): Doc fix. + * Replace `iff' in doc-strings and comments. - * buffer.c (syms_of_buffer): Doc fixes. +2007-08-07 Chong Yidong -2001-11-14 Eli Zaretskii + * xdisp.c (move_it_by_lines): Remove incorrect optimization. - * print.c (prin1, print): Doc fix. +2007-08-07 Martin Rudalics -2001-11-14 Pavel Jan,Am(Bk + * fileio.c (Finsert_file_contents): Run format-decode and + after_insert_file_functions on entire buffer when REPLACE is + non-nil and inhibit modification_hooks and point_motion_hooks. + For consistency, run after_insert_file_functions iff something + got inserted. Move signal_after_change and update_compositions + after code running after_insert_file_functions. Make sure that + undo_list doesn't record intermediate steps of the decoding process. - * fontset.h: Remove declarations of variables - `Vhighlight_wrong_size_font' and `Vclip_large_size_font'. +2007-08-07 YAMAMOTO Mitsuharu - * fontset.c: Remove variables `Vhighlight_wrong_size_font' and - `Vclip_large_size_font'. + * emacs.c (main) + [HAVE_GTK_AND_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: + Call malloc_enable_thread on interactive startup. -2001-11-13 Jason Rumney + * gmalloc.c (_malloc_thread_enabled_p) [USE_PTHREAD]: New variable. + (LOCK, UNLOCK, LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS) + [USE_PTHREAD]: Conditionalize with it. + (malloc_atfork_handler_prepare, malloc_atfork_handler_parent) + (malloc_atfork_handler_child, malloc_enable_thread) [USE_PTHREAD]: + New functions. - * w32fns.c: Doc fix. +2007-08-06 Chong Yidong -2001-11-13 Pavel Jan,Am(Bk + * xdisp.c (redisplay_window): When restoring original buffer + position, make sure it is still valid. - * xfaces.c (Fface_attributes_as_vector): Doc fix. + * image.c (png_load): Ignore png-supplied background color. - * fns.c: Doc fix. +2007-08-06 YAMAMOTO Mitsuharu - * emacs.c: Doc fix. + * mac.c [TARGET_API_MAC_CARBON] (cfdate_to_lisp): Obtain microsec value. + Use kCFAbsoluteTimeIntervalSince1970. - * coding.c: Doc fix. + * macmenu.c (quit_dialog_event_loop) [TARGET_API_MAC_CARBON]: + New variable. + [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Set it if dialog + event loop should be quit. + [TARGET_API_MAC_CARBON] (create_and_show_dialog) [!MAC_OSX]: + Quit dialog event loop if quit_dialog_event_loop is set. + + * macselect.c [!TARGET_API_MAC_CARBON]: Include Scrap.h. + (Selection): New typedef. Use instead of ScrapRef. + (mac_get_selection_from_symbol): Rename from get_scrap_from_symbol. + (mac_valid_selection_target_p): Rename from valid_scrap_target_type_p. + (mac_clear_selection): Rename from clear_scrap. + (get_flavor_type_from_symbol): New argument SEL and subsume function of + scrap_has_target_type. All uses changed. + (mac_get_selection_ownership_info, mac_valid_selection_value_p) + (mac_selection_has_target_p): New functions. + (mac_put_selection_value): Rename from put_scrap_string. + (mac_get_selection_value): Rename from get_scrap_string. + (mac_get_selection_target_list): Rename from get_scrap_target_type_list. + (put_scrap_private_timestamp, scrap_has_target_type) + (get_scrap_private_timestamp): Remove functions. + (SCRAP_FLAVOR_TYPE_EMACS_TIMESTAMP): Remove define. + (x_own_selection, x_get_local_selection): + Use mac_valid_selection_value_p. + (x_own_selection): Don't use put_scrap_private_timestamp. + Record OWNERSHIP-INFO into Vselection_alist instead. + (x_get_local_selection): Don't check type if request is local. + (Fx_selection_owner_p): Don't use get_scrap_private_timestamp. + Detect ownership change with OWNERSHIP-INFO in Vselection_alist instead. + +2007-08-04 Jan Dj,Ad(Brv + + * gtkutil.c (xg_tool_bar_callback): Generate two TOOL_BAR_EVENT:s, + add comment explaining why. - * cmds.c, composite.c, dired.c, doc.c, filelock.c, floatfns.c, - * fontset.c, insdel.c, keymap.c: Change doc-string comments to - `new style' [w/`doc:' keyword]. +2007-08-03 Richard Stallman -2001-11-12 Richard M. Stallman + * fileio.c (Fvisited_file_modtime): Use make_time. - * xterm.c (XTread_socket): Don't update focus for EnterNotify or - LeaveNotify events. Only FocusIn and FocusOut do that now. - (x_display_and_set_cursor): Do display hollow cursors in active - minibuffer windows when they are not selected. +2007-08-01 Ryo Yoshitake (tiny change) -2001-11-12 Jason Rumney + * mac.c (init_mac_osx_environment): Adjust load-path on self-contained + build. - * w32console.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, - * w32term.c: Change doc-string comments to `new style' - [w/`doc:' keyword]. Doc fixes. +2007-07-31 Stefan Monnier - * w32fns.c: Don't define max. - (Fx_open_connection): Only execute once. + * gtkutil.c (xg_tool_bar_callback): Generate a single TOOL_BAR_EVENT. -2001-11-12 Pavel Jan,Am(Bk +2007-07-30 Katsumi Yamaoka - * ccl.c: Change macros to use do-while block instead of if-else. - Use braces to follow GNU Coding Standards. + * puresize.h (BASE_PURESIZE): Increase to 1130000. -2001-11-11 Richard M. Stallman +2007-07-30 Richard Stallman - * sysdep.c (child_setup_tty): Don't clear ICRNL or INLCR. + * lread.c (readevalloop, read1): Treat NBSP as whitespace. - * lread.c (read_escape): Use end_of_file_error for reporting eof. +2007-07-29 Jan Dj,Ad(Brv - * insdel.c (replace_range): Use adjust_markers_for_replace - instead of adjust_markers_for_delete and adjust_markers_for_insert. + * gmalloc.c (__malloc_initialize): Remove pthread_once. Not needed. - * intervals.h (set_text_properties, set_text_properties_1): Declare. +2007-07-28 Nick Roberts - * textprop.c (set_text_properties_1): New subroutine - broken out of set_text_properties. - (set_text_properties): Use set_text_properties_1. + * xdisp.c (decode_mode_spec): Use '@' instead of 'R' to test for + remote default-directory. - * intervals.c (graft_intervals_into_buffer): - Use set_text_properties_1 to clear out properties. + * buffer.c (mode-line-format): Update doc string. - * search.c (Freplace_match): Use replace_range to insert - and delete. Don't request property inheritance from - surrounding text. +2007-07-27 YAMAMOTO Mitsuharu -2001-11-10 Jason Rumney + * w32term.c (w32_draw_fringe_bitmap): Extend fringe background to + scroll bar gap. + (x_scroll_bar_create): Set bar->fringe_extended_p. + (w32_set_vertical_scroll_bar): Put leftmost/rightmost scroll bars + on frame edge. Check fringe background extension. Don't clear + extended fringe background area. - * w32fns.c (enum_font_cb2): Use leading @ on face name to detect - vertical fonts. Allow them if face name is explicitly specified. - Do not give up if we find a font that cannot be converted to an xlfd. + * w32term.h (struct scroll_bar): New member fringe_extended_p. + (w32_fill_area): Enclose multiple statements with do ... while (0). -2001-11-10 Gerd Moellmann + * xterm.c (x_draw_fringe_bitmap) [USE_TOOLKIT_SCROLL_BARS]: + Extend fringe background to scroll bar gap. + (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: + Set bar->fringe_extended_p. + (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: + Put leftmost/rightmost scroll bars on frame edge. Check fringe + background extension. Don't clear extended fringe background area. - * unexelf.c (unexec): Use mmap/munmap to allocate buffers - instead of malloc/free. + * xterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: + New member fringe_extended_p. -2001-11-09 Pavel Jan,Am(Bk +2007-07-25 Glenn Morris - * xfaces.c (merge_face_vectors): Use braces to follow GNU - Coding Standards. - (Finternal_set_lisp_face_attribute): Likewise. + * Relicense all FSF files to GPLv3 or later. - * buffer.c (Fbury_buffer): Likewise. + * COPYING: Switch to GPLv3. - * indent.c (current_column_1): Remove unused variable `prev_col'. +2007-07-25 Stefan Monnier - * coding.c (encode_coding): Use precomputed value of `src'. - (encode_coding): Remove unused variable `src_end'. - (code_convert_region): Remove unused variables `count'. + * eval.c (Fcommandp): Pay attention to the `interactive-form' property. -2001-11-07 Jason Rumney + * data.c (Finteractive_form): Check for the presence of an + `interactive-form' symbol property more thoroughly. - * w32term.c (x_display_and_set_cursor): Do not move system caret - if cursor_glyph is NULL. + * data.c (Finteractive_form): Use an `interactive-form' property if + present, analogous to the function-documentation property. -2001-11-07 Pavel Jan,Am(Bk +2007-07-24 Jason Rumney - * keymap.c (access_keymap): Fix compilation error. + * w32fns.c (x_real_positions): Get real position from OS instead of + calculating it. -2001-11-07 Miles Bader +2007-07-23 Jason Rumney - * xfns.c (x_set_frame_parameters): Avoid infinite recursion. + * filelock.c (current_lock_owner): Allow for @ sign in username. -2001-11-07 Pavel Jan,Am(Bk +2007-07-22 Nick Roberts - * intervals.c (graft_intervals_into_buffer): - Remove #ifdef'd-out code. - (graft_intervals_into_buffer): Remove unused variable `middle'. + * xdisp.c (decode_mode_spec): Add case 'R' for to test for + remote default-directory. - * lread.c (Feval_region): Remove obsolete #ifdef'd-out - code (eval-current-buffer). - Change doc-string comments to `new style' [w/`doc:' keyword]. + * buffer.c (mode-line-format): Describe above case in doc string. -2001-11-06 Richard M. Stallman +2007-07-20 Eli Zaretskii - * keymap.c (access_keymap): Don't use initializers on Lisp_Object. + * w32proc.c (IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32): + Define if not defined. -2001-11-06 Stefan Monnier +2007-07-18 Jason Rumney - * lread.c (read1): Fix behavior with nested backquoting. + * w32proc.c (w32_executable_type): Handle 64 bit executables. - * keyboard.c (make_lispy_event): Check integerness and fix - Lisp_Object/int mixup. +2007-07-18 Richard Stallman -2001-11-06 Pavel Jan,Am(Bk + * data.c (Fsetq_default): Doc fix. - * fns.c (copy_hash_table): Remove unused variable `v'. + * eval.c (Fsetq): Doc fix. - * fontset.c (fontset_font_pattern): Remove unused variable - `family_registry'. +2007-07-18 Juanma Barranquero - * indent.c (current_column_1): Remove unused variable `prev_col'. + * coding.c (Ffind_operation_coding_system): + * eval.c (For, Fand): Doc fixes. + Reported by Johan Bockg,Ae(Brd. -2001-11-05 Richard M. Stallman +2007-07-18 Jan Dj,Ad(Brv - * m/news-risc.h (BROKEN_PROTOTYPES): Defined. + * xfns.c (Fx_focus_frame): Call x_ewmh_activate_frame. - * buffer.c (Fkill_buffer): Don't delete auto save file - if buffer is modified. + * xterm.h: Declare x_ewmh_activate_frame. -2001-11-05 Andrew Innes + * xterm.c (x_ewmh_activate_frame): New function. + (XTframe_raise_lower): Move code to x_ewmh_activate_frame. - * w32proc.c (Fw32_set_keyboard_layout): Use CHECK_NUMBER_CAR and - CHECK_NUMBER_CDR. +2007-07-17 Martin Rudalics -2001-11-05 Richard M. Stallman + * window.c (Fdisplay_buffer): If largest or LRU window is the + only window, split it even if it is not eligible for splitting. + This restores the original behavior broken by the 2007-07-15 + change. - * unexelf.c (unexec): Minor changes; clean up comments. +2007-07-17 Glenn Morris -2001-11-05 Sam Steingold + * abbrev.c (abbrev_check_chars): New function. + (Fdefine_global_abbrev, Fdefine_mode_abbrev): + Call abbrev_check_chars to check abbrev characters are word + constituents. Doc fix. - * w32term.c (x_display_and_set_cursor): Fix w32 compilation error. +2007-07-17 Stefan Monnier -2001-11-05 Andreas Schwab + * process.c (Fstart_process, Fmake_network_process) + (read_process_output): Fix up last changes. - * sound.c (sound_perror): Save errno from being clobbered. +2007-07-16 Eli Zaretskii -2001-11-05 Dale Hagglund + * makefile.w32-in (clean): Don't delete *~. - * unexelf.c (unexec): Don't use `mmap'. Instead, read and write - the program image directly. +2007-07-16 Andreas Schwab -2001-11-05 Pavel Jan,Am(Bk + * window.c (Fdisplay_buffer): Use NILP. + (Fset_window_scroll_bars): Likewise. - * buffer.h (Fbuffer_local_value): Add prototype. +2007-07-15 Martin Rudalics -2001-11-04 Richard M. Stallman + * window.c (window_min_size_2): New function. + (window_min_size_1, size_window, Fdisplay_buffer) + (Fsplit_window, adjust_window_trailing_edge): Use it to avoid + windows without mode- or header-lines when window-min-height is + too small. + (size_window): Reset nodelete_p after testing it, following an + earlier note by Kim F. Storm. + (display_buffer): Do not set split_height_threshold to twice the + value of window_min_height to avoid changing the value of a + customizable variable. Rather explicitly check whether the + height of the window that shall be splitted is at least as large + as split_height_threshold. + (Fwindow_full_width_p): New defun. + (syms_of_window): Defsubr it. - * buffer.c (Fbuffer_local_value): Remove extra args from CHECK_SYMBOL - and CHECK_BUFFER. + * window.h: Add EXFUN for Fwindow_full_width_p. - * keyboard.c (read_char): Use Fcar and Fcdr, not Fnth. - (record_char): Likewise. +2007-07-14 Jason Rumney - * keyboard.c (make_lispy_event): Don't insist a drag event must - move to a different buffer position. Instead, check for moving at - least double_click_fuzz. + * process.c [WINDOWSNT]: Don't undefine AF_INET6. - * fns.c (Fmake_hash_table): Use XCAR and XCDR, not Fnth and Flength. +2007-07-14 Richard Stallman - * keyboard.c (echo-area-clear-hook): Undo Oct 29 change. + * eval.c (maybe_call_debugger): New function. + (find_handler_clause): Use maybe_call_debugger. + Call it when the handler says `debug'. + Eliminate DEBUGGER_VALUE_PTR. + (Fsignal): Eliminate debugger_value. + (Qdebug): New variable. + (syms_of_eval): Initialize it. - * indent.c (current_column_1, Fmove_to_column): Separate the code - for display-table glyphs from the code for buffer text, to fix - bugs in the former. +2007-07-14 Juanma Barranquero -2001-11-04 Michael Welsh Duggan + * eval.c (Fprogn): + * keyboard.c (Ftrack_mouse): + * print.c (Fwith_output_to_temp_buffer): + * window.c (Fsave_window_excursion): Doc fix. - * buffer.c (Fbuffer_local_value): New function. - (syms_of_buffer): Defsubr it. +2007-07-13 Stefan Monnier - * xterm.c, w32term.c (x_display_and_set_cursor): Use buffer-local - value of `cursor-in-non-selected-windows'. + * eval.c (init_eval_once): Bump max_lisp_eval_depth to 400. - * lisp.h (Qcursor_in_non_selected_windows): New declaration. - * xdisp.c (Qcursor_in_non_selected_windows): New variable. - (syms_of_xdisp): Initialize it. +2007-07-12 Stefan Monnier -2001-11-04 Pavel Jan,Am(Bk + * process.h (struct Lisp_Process): Turn slots infd, outfd, + kill_without_query, pty_flag, tick, update_tick, decoding_carryover, + inherit_coding_system_flag, filter_multibyte, adaptive_read_buffering, + read_output_delay, and read_output_skip from Lisp_Objects to ints. + Remove unused encoding_carryover. + * process.c: Adjust all functions accordingly. - * xfns.c (Fx_create_frame): Doc fix. +2007-07-12 Richard Stallman - * coding.c: Change doc-string comments to `new style' [w/`doc:' - keyword]. + * term.c: Include unistd.h only if HAVE_UNISTD_H. - * eval.c (top_level_value, top_level_set): Remove commented and - #ifdef'd-out code. - (Fdefvar): Fix usage in doc-string. +2007-07-11 Jason Rumney -2001-11-03 Richard M. Stallman + * makefile.w32-in (LIBS): Include OLE32. - * xfns.c: Include unistd.h, if it exists. + * w32fns.c (w32_msg_pump) : Initialize COM. + (w32_msg_pump) : Uninitialize COM. - * editfns.c: Move the include of ctype.h after unistd.h. +2007-07-11 Stefan Monnier - * gmalloc.c: Test BROKEN_PROTOTYPES. + * lisp.h (struct Lisp_Hash_Table): Turn next_weak into a bare pointer. + * fns.c (weak_hash_tables): Rename from Vweak_hash_tables and turned + from a Lisp_Object into a bare pointer. + (make_hash_table, copy_hash_table, sweep_weak_hash_tables, init_fns): + Adjust the code correspondingly. -2001-11-03 Ken Raeburn + * alloc.c (emacs_blocked_free): Remove unused var `bytes_used_now'. - * lisp.h (CHECK_STRING_CAR): New macro. - * lread.c (Fload): Use XSETCARFASTINT, XSETCDRFASTINT instead of - treating XCAR and XCDR as lvalues. - (openp): Use CHECK_STRING_CAR. - (read_list): Use XSETCDR instead of treating XCDR as lvalue. + * term.c: Include unistd.h for ttyname, used in handle_one_term_event. + (term_show_mouse_face): Remove unused var `j'. + (handle_one_term_event): Remove unused vars `i' and `j'. + Don't cast return value of ttyname since it's not necessary. -2001-11-03 Eli Zaretskii +2007-07-10 Stefan Monnier - * s/sco5.h (sigprocmask_set): Declare as extern SIGMASKTYPE. - (SIGMASKTYPE): Define. + * alloc.c (mark_maybe_pointer): Enforce mult-of-8 alignment when using + USE_LSB_TAG. Suggested by Dmitry Antipov . - * syssignal.h (sigunblock): Don't define if already defined. + * fns.c (map_char_table): Use an array of int for `indices' rather than + an array of Lisp_Objects (which are only ever integers anyway). + (Fmap_char_table): Update caller. + * lisp.h: Update prototype. + * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap): + * fontset.c (Ffontset_info): + * casetab.c (set_case_table): Update callers. -2001-11-02 Pavel Jan,Am(Bk + * editfns.c (Ftranspose_regions): Use EMACS_INT for positions. - * eval.c (debugger_may_continue, Vdebug_ignored_errors) - (call_debugger, Fcondition_case, skip_debugger, unbind_to): - Fix typos in comments. + * keymap.c (struct accessible_keymaps_data) + (struct where_is_internal_data): New structures. + (accessible_keymaps_1, where_is_internal_1): Use them to change + interface to adhere to the one used by map_keymap. + (Faccessible_keymaps, where_is_internal): Use map_keymap. + (accessible_keymaps_char_table, where_is_internal_2): Remove. - * mocklisp.c (Fml_defun, Fml_while, Fml_substr): Remove commented - and #ifdef'd-out code. - Fix and reindent comments. + * keymap.h (map_keymap_function_t): More informative prototype. - * mocklisp.h: Remove comment which is a copy of comment in mocklisp.c. +2007-07-10 Guanpeng Xu - * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused - argument `i' in macros. + * search.c (Vinhibit_changing_match_data, search_regs_1): New vars. + (looking_at_1): Don't change search_regs and last_thing_searched + if `inhibit-changing-match-data' is non-nil. + (string_match_1, search_buffer, set_search_regs): Likewise. + (syms_of_search): Add Lisp level definition for + `inhibit-changing-match-data' and set it to nil. + (boyer_moore): If `inhibit-changing-match-data' is non-nil, compute + start and end of the match, instead of using values in search_regs. - * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Remove unused argument - `i' in macros. +2007-07-01 Stefan Monnier - * lisp.h (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST) - (CHECK_STRING, CHECK_CONS, CHECK_SYMBOL, CHECK_CHAR_TABLE) - (CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE, CHECK_BUFFER) - (CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS, CHECK_NUMBER) - (CHECK_NATNUM, CHECK_MARKER, CHECK_NUMBER_COERCE_MARKER) - (CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT) - (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY) - (CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): Remove unused argument `i' - in macros. + * minibuf.c (Fcompleting_read): New value `confirm-only' + for `require-match'. - * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, - * casefiddle.c, category.c, ccl.c, charset.c, cmds.c, coding.c, - * composite.c, data.c, dired.c, dispnew.c, doc.c, dosfns.c, emacs.c, - * eval.c, fileio.c, filelock.c, fns.c, fontset.c, frame.c, frame.h, - * indent.c, keyboard.c, keymap.c, lread.c, macros.c, marker.c, - * minibuf.c, mocklisp.c, msdos.c, print.c, process.c, search.c, - * sunfns.c, syntax.c, textprop.c, undo.c, w16select.c, w32console.c, - * w32fns.c, w32menu.c, w32proc.c, w32select.c, window.c, xdisp.c, - * xfaces.c, xmenu.c, xselect.c: Update usage of CHECK_ macros - (remove unused second argument). +2007-06-28 Stefan Monnier -2001-11-02 Stefan Monnier + * fileio.c (Fdo_auto_save): Revert last patch installed unwillingly as + part of the 2007-06-27 change to syms_of_fileio. - * syntax.c (describe_syntax): New wrapper. - (Finternal_describe_syntax_value): Rename from describe_syntax. - Don't insert space at front and \n at the end. - (syms_of_syntax): Defsubr Sinternal_describe_syntax_value. +2007-06-28 YAMAMOTO Mitsuharu - * regex.c (re_wctype): Try to fix some warnings. - (regcomp, regexec): Don't forget the __restrict. + * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event): + Check WINDOWP before using XWINDOW. Consolidate return statements. -2001-11-02 Richard M. Stallman +2007-06-27 Richard Stallman - * textprop.c (Fget_char_property): Doc fix. + * fileio.c (syms_of_fileio) : Doc fix. -2001-11-02 Pavel Jan,Am(Bk +2007-06-27 Juanma Barranquero - * process.c (Fstart_process): Add usage to doc-string. + * buffer.c (syms_of_buffer) : Fix typo in docstring. - * data.c (Fsetq_default): Ditto. +2007-06-26 YAMAMOTO Mitsuharu - * callint.c (Finteractive): Ditto. + * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Check this after including config.h. + (_aligned_blocks_mutex) [USE_PTHREAD]: New variable. + (LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS): New macros. + (_free_internal, memalign): Use them. + (_malloc_mutex, _aligned_blocks_mutex) [USE_PTHREAD]: + Initialize to PTHREAD_MUTEX_INITIALIZER. + (malloc_initialize_1) [USE_PTHREAD]: Don't use recursive mutex. + (morecore_nolock): Rename from morecore. All uses changed. + Use only nolock versions of internal allocation functions. + (_malloc_internal_nolock, _realloc_internal_nolock) + (_free_internal_nolock): New functions created from + _malloc_internal, _realloc_internal, and _free_internal. + (_malloc_internal, _realloc_internal, _free_internal): Use them. + Copy hook value to automatic variable before its use. + (memalign): Copy hook value to automatic variable before its use. -2001-11-01 Stefan Monnier +2007-06-26 Kenichi Handa - * macros.c: Don't include keymap.h any more. + * coding.c (Ffind_operation_coding_system): Docstring improved. + (syms_of_coding): Docstring of `file-coding-system-alist' improved. -2001-11-01 Richard M. Stallman +2007-06-25 David Kastrup - * data.c (Fmake_local_variable): Doc fix. + * keymap.c (Fcurrent_active_maps): Add `position' argument. + (Fwhere_is_internal): Adjust call to `current-active-maps' to + cater for additional parameter. - * eval.c (Frun_hooks, Frun_hook_with_args_until_failure): Doc fix. - (Frun_hook_with_args_until_success, Frun_hook_with_args): Doc fix. + * keymap.h: Adjust number of parameters to `current-active-maps'. - * keymap.c (Fdescribe_buffer_bindings): Print character property - bindings along with or instead of the buffer local map. - Make the overriding maps override what they should. + * doc.c (Fsubstitute_command_keys): Adjust call of + `current-active-maps'. -2001-11-01 Pavel Jan,Am(Bk +2007-06-25 David Kastrup - * window.c (grow_mini_window): Fix typo in comment. + * callint.c (Fcall_interactively): Make the parsing of interactive + specs somewhat more readable. -2001-11-01 Gerd Moellmann +2007-06-23 YAMAMOTO Mitsuharu - * xterm.c (x_scroll_bar_create): Check for width and height > 0. - (XTset_vertical_scroll_bar): Likewise. + * macterm.c (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe background + to scroll bar gap also when bitmap fills fringe. Draw only foreground + if extended background has already been filled. - * xfns.c (x_build_heuristic_mask): Use four_corners_best - instead of IMAGE_BACKGROUND. +2007-06-22 YAMAMOTO Mitsuharu - * xfns.c (four_corners_best): Reindent. + * macgui.h (USE_CG_DRAWING): Don't require USE_ATSUI. + (USE_MAC_TOOLBAR): Require USE_CG_DRAWING. - * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): - Handle :box so that it is possible to specify sexprs. + * macmenu.c (mac_dialog_modal_filter, Fx_popup_dialog) [MAC_OSX]: + Put special treatment for Fmessage_box, Fyes_or_no_p, and Fy_or_n_p + in #if 0 as it is not compatible with y-or-n-p-with-timeout. + (timer_check) [TARGET_API_MAC_CARBON]: Add extern. + [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Use QuitEventLoop + instead of QuitAppModalLoopForWindow. Consolidate QuitEventLoop calls. + (pop_down_dialog) [TARGET_API_MAC_CARBON]: New function. + [TARGET_API_MAC_CARBON] (create_and_show_dialog): Use it for unwind. + Run timers during dialog popup. + (Fmenu_or_popup_active_p) [TARGET_API_MAC_CARBON]: Use popup_activated. -2001-10-31 Eli Zaretskii +2007-06-21 Jason Rumney - * s/hpux11.h: New file. + * image.c (convert_mono_to_color_image): Swap fore and background. -2001-10-31 Pavel Jan,Am(Bk +2007-06-20 Jason Rumney - * emacs.c (USAGE1): Show command line option --no-window-system - instead of --no-windows in usage. - (standard_args): Rename --no-windows to --no-window-system. - (bug_reporting_address): Follow Emacs coding conventions. + * w32bdf.c (w32_BDF_to_x_font): Unmap memory when finished. + (w32_free_bdf_font): Unmap memory not handle. - * eval.c (Fcommandp): Doc fix. - Change doc-string comments to `new style' [w/`doc:' keyword]. +2007-06-20 Sam Steingold - * frame.c (Fframe_live_p): Doc fix. + * gmalloc.c (__morecore): Fix the declaration to comply with the + definition. - * buffer.c (selective-display-ellipses): Doc fix. +2007-06-20 Juanma Barranquero -2001-10-31 Gerd Moellmann + * w32term.c (w32_delete_display): Remove leftover declaration. + (w32_define_cursor, w32_initialize): Make static. - * lread.c (to_multibyte): Fix computation of new read_buffer_size. + * w32.c (_wsa_errlist): Fix typo in error message. + (init_environment): Ignore any environment variable from the + registry having a null value. - * xfaces.c (realize_x_face): If C is not a single-byte character, - set the face's colors_copied_bitwise_p instead of the defaulted_p - members which have a different meaning. - (free_face_colors): Do nothing for a face whose colors have been - copied bitwise. +2007-06-20 Glenn Morris - * dispextern.h (struct face) : New member. + * Makefile.in (LIBGIF): Default to -lgif. -2001-10-31 Pavel Jan,Am(Bk +2007-06-17 Jason Rumney - * marker.c, mocklisp.c: Change doc-string comments to `new style' - [w/`doc:' keyword]. + * w32menu.c (add_menu_item): Don't use multibyte string functions on + unicode strings. -2001-10-31 Gerd Moellmann +2007-06-16 Juanma Barranquero - * fns.c (require_unwind): Return Lisp_Object. + * xdisp.c (syms_of_xdisp) : + Fix typo in docstring. -2001-10-31 Pavel Jan,Am(Bk +2007-06-16 Eli Zaretskii - * keyboard.c (lucid-menu-bar-dirty-flag): Doc fix. - (last-input-char): Revert doc-string to be the same as the - doc-string of `last-input-event'. + * w32menu.c (add_menu_item): Escape `&' characters in menu items + and their keybindings. - * xdisp.c: Fix typos in comments. +2007-06-15 Chong Yidong -2001-10-31 Gerd Moellmann + * composite.c (update_compositions): Fix last fix. - * window.c (grow_mini_window): Handle case that the root - window is already smaller than the nominal mininum height. +2007-06-14 Jason Rumney -2001-10-30 Stefan Monnier + * w32.c (get_process_times_fn): New function pointer. + (globals_of_w32): Intialize it if present in kernel32.dll. + (w32_get_internal_run_time): New function. - * emacs.c (main): Don't call keys_of_macros any more. + * editfns.c (Fget_internal_run_time) [WINDOWSNT]: Use it. - * lisp.h (keys_of_macros): Remove. +2007-06-14 Kenichi Handa - * macros.c (keys_of_macros): Remove. + * composite.c (update_compositions): Check the validness of + compositions. - * xfaces.c (Fface_attribute_relative_p): Declare args. +2007-06-14 YAMAMOTO Mitsuharu -2001-10-30 Jason Rumney + * frame.h (struct frame) [MAC_OS]: New member external_tool_bar. + (FRAME_EXTERNAL_TOOL_BAR) [MAC_OS]: Use it. - * w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer. - (enum_font_cb2): Ignore fonts with vertical orientation. + * macfns.c (mac_window) [USE_MAC_TOOLBAR]: Set toolbar_win_gravity. + (x_set_tool_bar_lines) [USE_MAC_TOOLBAR]: Set FRAME_EXTERNAL_TOOL_BAR. -2001-10-30 Richard M. Stallman + * macgui.h (USE_MAC_TOOLBAR): New define. - * keyboard.c (Finput_pending_p): Doc fix. + * macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler): + Return immediately unless popup is activated. -2001-10-30 Gerd Moellmann + * macterm.c (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe + background to scroll bar gap. + (x_scroll_bar_create) [MAC_OSX]: Set bar->fringe_extended_p. + (XTset_vertical_scroll_bar) [MAC_OSX]: Put leftmost/rightmost + scroll bars on frame edge. Check fringe background extension. + Don't clear extended fringe background area. + (TOOLBAR_IDENTIFIER, TOOLBAR_ICON_ITEM_IDENTIFIER) + (TOOLBAR_ITEM_COMMAND_ID_OFFSET, TOOLBAR_ITEM_COMMAND_ID_P) + (TOOLBAR_ITEM_COMMAND_ID_VALUE, TOOLBAR_ITEM_MAKE_COMMAND_ID): + [USE_MAC_TOOLBAR]: New macros. + (mac_move_window_with_gravity, mac_get_window_origin_with_gravity) + (mac_handle_toolbar_event, mac_image_spec_to_cg_image) + (mac_create_frame_tool_bar, update_frame_tool_bar, free_frame_tool_bar) + (mac_tool_bar_note_mouse_movement, mac_handle_toolbar_command_event) + [USE_MAC_TOOLBAR]: New functions. + (mac_handle_window_event) [USE_MAC_TOOLBAR]: Reposition window + manually if previous repositioning has failed. + (mac_handle_keyboard_event): Use precomputed event kind. + (XTread_socket) [USE_MAC_TOOLBAR]: Handle click in structure region + as tool bar item click. Handle mouse movement over tool bar items. - * xterm.c (x_after_update_window_line): Don't run the code - clearing in borders for rows whose visible height is 0. + * macterm.h (struct mac_output) [USE_MAC_TOOLBAR]: New member + toolbar_win_gravity. + (struct scroll_bar) [MAC_OSX]: New member fringe_extended_p. + (update_frame_tool_bar, free_frame_tool_bar) [USE_MAC_TOOLBAR]: + Add externs. - * xdisp.c (clear_garbaged_frames): Redraw the frame only if its - resized_p flag is set. If not set, use the much less flickering - method previously used. + * xdisp.c (update_tool_bar, redisplay_tool_bar, redisplay_window) + [USE_MAC_TOOLBAR]: Sync with GTK+ tool bar display. - * dispnew.c (change_frame_size_1): Set frame's resized_p. +2007-06-14 Chong Yidong - * frame.h (struct frame) : New member. + * image.c (search_image_cache): Remove unused variable. - * lread.c (to_multibyte): Ensure read_buffer is at least twice - as large as the number of bytes to convert. +2007-06-13 Chong Yidong - * lread.c (to_multibyte): New function. - (read1): Use it. + * xfns.c, xmenu.c: Link to xaw3d if available. -2001-10-30 Eli Zaretskii +2007-06-13 YAMAMOTO Mitsuharu - * msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c). + * dispextern.h (struct image) [HAVE_WINDOW_SYSTEM]: New members + frame_foreground and frame_background. -2001-10-30 Gerd Moellmann + * image.c (lookup_image): Save frame foreground and background colors. + (search_image_cache): Check if saved and current frame colors match. - * xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel. - (x_set_glyph_string_background_width): Set extends_to_end_of_line_p - if the row's fill_line_p is set and drawing the last glyph with - DRAW_IMAGE_{RAISED,SUNKEN}. +2007-06-12 Stefan Monnier - * xdisp.c (clear_garbaged_frames): Call Fredraw_frame. + * regex.c (regex_compile): Remove the `regnum' counter. + Use bufp->re_nsub instead. Add support for \(?N:RE\). -2001-10-29 Stefan Monnier +2007-06-11 Stefan Monnier - * xmenu.c: Include coding.h and charset.h. - (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT. - (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part. - (single_submenu, xmenu_show): Use ENCODE_SYSTEM. - Explicitly set wv->help. Use `TRUE' rather than `True'. - (menu_help_callback): Use empty_string. + * term.c: Include intervals.h to declare Fget_text_property. - * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos. - (Fx_popup_dialog): Explicitly init f. - (w32_menu_display_help): Use empty_string. +2007-06-10 Jason Rumney -2001-10-29 Richard M. Stallman + * w32fns.c (Fx_file_dialog): Take size from struct not pointer. - * fns.c (Frequire): Detect recursive try to require the same - feature 3 or more levels deep, and get error. - (require_unwind): New subroutine. - (require_nesting_list): New variable. - (syms_of_fns): Init and staticpro it. +2007-06-08 Juanma Barranquero - * print.c (print_object): Clarify indication of insertion type. + * callint.c (Fcall_interactively): + * editfns.c (Fdelete_and_extract_region): + * fileio.c (Fread_file_name): + * fns.c (Fmapconcat): + * keyboard.c (cmd_error_internal): + * keymap.c (Fkey_description): + * lread.c (openp): + * minibuf.c (read_minibuf): + * search.c (wordify): + * sunfns.c (sel_read): + * xdisp.c (Fformat_mode_line, syms_of_xdisp): + * xfns.c (x_default_scroll_bar_color_parameter): + * xmenu.c (menu_help_callback): + * xselect.c (Fx_get_atom_name): + * xterm.c (x_term_init): Use empty_unibyte_string. -2001-10-29 Eli Zaretskii +2007-06-08 Dmitry Antipov (tiny change) - * coding.c (syms_of_coding): Document that locale-coding-system is - used for decoding input on X. + * alloc.c (init_strings): Initialize canonical empty strings. + (make_uninit_string, make_uninit_multibyte_string): Return appropriate + canonical empty string when the requested size is 0. - * window.c (Fscroll_left, Fscroll_right): Doc fix. + * emacs.c (empty_unibyte_string): Rename from empty_string. + (empty_multibyte_string): New canonical empty string. + (syms_of_emacs): Don't initialize empty_string. -2001-10-29 Pavel Jan,Am(Bk + * lisp.h (STRING_SET_UNIBYTE): Return the canonical empty unibyte + string, if appropriate. + (empty_unibyte_string, empty_multibyte_string): New externs. + (empty_string): Remove extern. - * keyboard.c (Finput_pending_p): Fix typo in doc-string. - (echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it. + * lread.c (syms_of_lread): Use empty_unibyte_string. -2001-10-29 Gerd Moellmann +2007-06-07 Jason Rumney - * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area, - use NO_CURSOR if cursor_in_non_selected_windows is false. + * s/ms-w32.h: Don't define HAVE_TZNAME. - * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for - the slant attribute if FRAME is t. + * editfns.c (Fcurrent_time_zone): Remove hack for Japanese Windows. - * xfns.c (x_set_internal_border_width): Set frame garbaged - when X window doesn't exist yet. +2007-06-07 YAMAMOTO Mitsuharu - * xterm.c (x_after_update_window_line): Clear internal border - in different circumstances. + * mac.c (xrm_get_preference_database): Remove BLOCK_INPUT. - * xterm.c (XTread_socket) : Don't use - STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa - . + * macfns.c (mac_get_window_bounds): Move extern to macterm.h. + (compute_tip_xy) [TARGET_API_MAC_CARBON]: Use GetGlobalMouse. -2001-10-28 Eli Zaretskii + * macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler): + Don't call next handler. + [TARGET_API_MAC_CARBON] (install_menu_target_item_handler): + Remove argument. Install handler to application. + (set_frame_menubar): Don't change deep_p. + (mac_menu_show): Use FRAME_OUTER_TO_INNER_DIFF_X and + FRAME_OUTER_TO_INNER_DIFF_Y. + (DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P) + (DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID) + [HAVE_DIALOGS]: New macros. + [HAVE_DIALOGS] (mac_handle_dialog_event, create_and_show_dialog): + Use them. + (fill_menubar) [TARGET_API_MAC_CARBON]: Use CFString. + + * macselect.c [MAC_OSX] (install_service_handler): Rename from + init_service_handler. All callers changed. Return OSStatus value. + + * macterm.c (mac_begin_cg_clip): New arg F. Call SetPortWindowPort. + All callers changed so as not to call SetPortWindowPort. + (mac_begin_cg_clip) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. + (mac_draw_image_string_atsui) [USE_ATSUI]: New function created from + mac_draw_string_common. + (mac_draw_image_string_qd): Likewise. + (mac_draw_string_common): Use them. Add INLINE. + (XTmouse_position, x_scroll_bar_report_motion) [TARGET_API_MAC_CARBON]: + Use FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y, and + GetGlobalMouse. + (x_set_mouse_pixel_position) [MAC_OSX]: Use FRAME_OUTER_TO_INNER_DIFF_X + and FRAME_OUTER_TO_INNER_DIFF_Y. + [TARGET_API_MAC_CARBON] (mac_handle_mouse_event): Likewise. + [USE_MAC_TSM] (mac_handle_text_input_event): Likewise. + (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Move code for + repositioning window to mac_handle_window_event. + (x_make_frame_invisible) [TARGET_API_MAC_CARBON]: Move code for + saving window location to mac_handle_window_event + [USE_MAC_FONT_PANEL] (mac_show_hide_font_panel): Install handler here. + (install_menu_target_item_handler): Remove argument in extern. + [TARGET_API_MAC_CARBON] (mac_event_to_emacs_modifiers): + Also accept command events. + (do_keystroke): New function created from XTread_socket. + (init_command_handler): Remove functions. + [TARGET_API_MAC_CARBON] (mac_handle_window_event): Reposition window + and save window location by kEventWindowShowing and kEventWindowHiding + handlers here. Don't call next handler for window state change and + focus events. + (mac_handle_application_event, mac_handle_keyboard_event) + [TARGET_API_MAC_CARBON]: New functions. + (install_window_handler) [TARGET_API_MAC_CARBON]: Register handlers for + kEventWindowShowing and kEventWindowHiding events. Move installation + of mouse, font, text input and menu target item handlers to + install_application_handler. + (install_application_handler) [TARGET_API_MAC_CARBON]: New function. + (mac_handle_cg_display_reconfig) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: + New function. + (init_dm_notification_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: + Register it. + (XTread_socket) [TARGET_API_MAC_CARBON]: + Consolidate SendEventToEventTarget calls. + Use FRAME_OUTER_TO_INNER_DIFF_X and FRAME_OUTER_TO_INNER_DIFF_Y. + Move application activation handler to mac_handle_application_event. + Move keyboard handler to mac_handle_keyboard_event. + (XTread_socket) [!TARGET_API_MAC_CARBON]: Use do_keystroke. + (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call + init_command_handler. Call install_application_handler. - * m/ibms390.h: New file. From Adam Thornton - . + * macterm.h (mac_get_window_bounds): Move extern from macfns.c. + (FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): New macros. -2001-10-28 Gerd Moellmann +2007-06-07 Glenn Morris - * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color. + * emacs.c (main): Use `emacs-copyright' in --version output. - * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing - a loop counter. +2007-06-06 Chong Yidong -2001-10-28 Pavel Jan,Am(Bk + * image.c (xpm_load): Remove spurious call to xpm_init_color_cache. - * emacs.c: Use argv[0] instead of "emacs" when -t was specified. +2007-06-06 YAMAMOTO Mitsuharu - * keyboard.c: Change doc-string comments to `new style' [w/`doc:' - keyword]. - Fix typos in comments. + * macfns.c (mac_window): Replace WindowPtr with WindowRef. - * emacs.c (bug_reporting_address): New function. - Use it when displaying usage message. + * macgui.h: Replace WindowPtr with WindowRef. - * minibuf.c (read_minibuf): Remove unused external declaration of - variable `Qread_only'. + * macmenu.c: Replace MenuHandle and GetMenuHandle with MenuRef and + GetMenuRef, respectively. Replace WindowPtr with WindowRef. + Replace ControlHandle with ControlRef. + (install_menu_quit_handler): Rename arg MENU_HANDLE to ROOT_MENU. - * keymap.c (access_keymap): Remove unused variable `charset'. + * macterm.c: Replace MenuHandle and GetMenuHandle with MenuRef and + GetMenuRef, respectively. Replace WindowPtr with WindowRef. + Replace ControlHandle with ControlRef. + (USE_CARBON_EVENTS): Remove. Use TARGET_API_MAC_CARBON instead. + [MAC_OS8] (do_get_menus): Rename variable `menu_handle' to `menu'. -2001-10-28 Miles Bader + * macterm.h (struct scroll_bar): Rename member control_handle_low + and control_handle_high to control_ref_low and control_ref_high. + All uses changed. + (SCROLL_BAR_CONTROL_REF, SET_SCROLL_BAR_CONTROL_REF): Rename from + SCROLL_BAR_CONTROL_HANDLE and SET_SCROLL_BAR_CONTROL_HANDLE, + respectively. All uses changed. + (XCreatePixmap, XCreatePixmapFromBitmapData, XSetWindowBackground) + (install_window_handler, remove_window_handler): Replace WindowPtr + with WindowRef in externs. - * xfaces.c (merge_face_heights): Handle TO being relative as well. - Remove #ifdef'd-out code. - (Fface_attribute_relative_p, Fmerge_face_attribute): New functions. - (syms_of_xfaces): Initialize them. +2007-06-05 Juanma Barranquero -2001-10-27 Jason Rumney + * xfaces.c (Finternal_lisp_face_p): Signal error for face alias loops. - * w32fns.c (w32_wnd_proc) : Destroy the system caret. - : Track cursor - position using the system caret. +2007-06-03 Nick Roberts - * w32term.c (w32_system_caret_hwnd, w32_system_caret_width) - (w32_system_caret_height, w32_system_caret_x) - (w32_system_caret_y): New variables for tracking system caret. - (w32_initialize): Initialize them. - (x_display_and_set_cursor): Make system caret follow the active cursor. + * keyboard.c (discard_mouse_events): Add GPM_CLICK_EVENT case. - * w32term.h (WM_EMACS_TRACK_CARET, WM_EMACS_DESTROY_CARET): - New messages types. + * frame.c (Fmouse_position, Fmouse_pixel_position): + Condition on HAVE_GPM too. - * w32term.c (note_mouse_highlight): Clear old help_echo. + * term.c (term_mouse_highlight): Remove unused variables. + (Fterm_open_connection): Set gpm_zerobased to 1. + (term_mouse_movement, term_mouse_click, handle_one_term_event): + Use zero based co-ordinates. + (handle_one_term_event): Report a drag as mouse movement too. -2001-10-27 Pavel Jan,Am(Bk + * Makefile.in (MOUSE_SUPPORT): Define for HAVE_GPM. - * xterm.c: Fix typo in a comment. +2007-06-03 Chong Yidong - * emacs.c: Fix typos in comments. - Remove unnecessary spaces. - Change doc-string comments to `new style' [w/`doc:' keyword]. - (USAGE2): Fix typos in usage string. + * image.c (search_image_cache): New function. Require background + color match if background color is unspecified in the image spec. + (uncache_image, lookup_image): Use it. - * xterm.c: Fix typo in a comment. +2007-06-01 Juanma Barranquero - * lisp.h (gdb_lisp_params): Remove code in #if 0 which is now in - emacs.c. + * window.c (Fshrink_window): Reflow docstring. -2001-10-27 Gerd Moellmann +2007-06-02 Chong Yidong - * xdisp.c (move_it_vertically_backward): Use 2/3 line_height - instead of 1/2 line_height in the heuristic for skipping - farther backward when target_y was not reached. + * Version 22.1 released. - * sound.c (sound_perror): Unblock SIGIO, turn on atimers. - Display errno only if non-zero. - (sound_warning): New function. - (vox_configure): Don't treat failing to set sample rate as error. - (various places): Improve error messages. +2007-06-01 Richard Stallman -2001-10-26 Eli Zaretskii + * xfns.c (x_encode_text): Add GCPRO. - * fileio.c (Faccess_file): Run the argument filename through - Fexpand_file_name, before using it. +2007-06-01 YAMAMOTO Mitsuharu - * dispnew.c (syms_of_display) : Add a reference to - ring-bell-function. Suggested by Alf-Ivar Holm + * xfns.c (x_set_name_internal): Save encoded name before + x_encode_text in case string data is relocated. -2001-10-26 Gerd Moellmann +2007-05-31 Richard Stallman - * insdel.c (insert_1_both): Do nothing if NCHARS == 0. + * buffer.c (syms_of_buffer): Doc fix. - * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: - Fix clearing in the case of scroll bars on the right. +2007-05-30 Nick Roberts -2001-10-26 Juanma Barranquero + * sysdep.c (init_sys_modes): Add rather than replace with + O_NONBLOCK. - * w32gui.h (XImage): Add a dummy typedef. + * frame.c [HAVE_GPM] (Fset_mouse_pixel_position): Add call to + term_mouse_moveto. -2001-10-26 Gerd Moellmann + * termhooks.h (term_mouse_moveto): New extern. - * xfns.c (XScreenNumberOfScreen): Fix struct to pointer comparison. + * term.c (mouse_face_window): Rename... + (Qmouse_face_window): ...to this. + (term_show_mouse_face, term_clear_mouse_face) + (term_mouse_highlight): Use Qmouse_face_window. + (term_mouse_moveto): New function. + (term_mouse_position): Make it work. + (syms_of_term): Uncomment assignment to mouse_position_hook. + Staticpro Qmouse_face_window. -2001-10-25 Eli Zaretskii +2007-05-28 YAMAMOTO Mitsuharu - * frame.c (Fframe_parameter): Fix last change. + * xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t + around current_column call. - * fileio.c: Revert last change (which removed old commented-out - version of expand-file-name). Add a comment that explains why - this old version should not be removed. +2007-05-26 Dan Nicolaescu -2001-10-25 Gerd Moellmann + * xfaces.c (syms_of_xfaces): Delete stray semicolon. + * xdisp.c (next_element_from_buffer): + * window.c (delete_window): + * term.c (term_mouse_highlight): + * msdos.c (getdefdir): + * macterm.c (mac_create_bitmap_from_bitmap_data) + (init_font_name_table): + * fns.c (Fsxhash): + * data.c (Fmake_local_variable): + * ccl.c (ccl_driver): Likewise. - * frame.c (Fframe_parameter): Fix a bug whereby some - ``artificial'' frame parameters, like `minibuffer' were not - obtained by calling Fframe_parameters. +2007-05-24 YAMAMOTO Mitsuharu - * xterm.c (show_mouse_face): Clean up. Recognize overwritten - cursor differently. + * macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event): + Call mac_wakeup_from_rne on window size change. - * xdisp.c (move_it_vertically_backward): Compute line height - differently. Add heuristic to try to be more compatible to 20.x. +2007-05-25 Chong Yidong -2001-10-25 Stefan Monnier + * image.c (uncache_image): Fix typo. - * lisp.h (make_fixnum_or_float): Coerce double to int explicitly. +2007-05-23 Johannes Weiner (tiny change) - * editfns.c (text_property_stickiness): Fix Lisp_Object used as - boolean. + * keyboard.c (make_lispy_movement): Condition on HAVE_GPM too. -2001-10-25 Miles Bader +2007-05-22 Richard Stallman - * xfns.c (png_load): Make sure SPECIFIED_BG is a string. - BG is a pointer to a structure, not a structure. - (gif_format, png_format): Add missing commas. + * xterm.c (x_connection_closed): Remove NO_RETURN. -2001-10-24 Richard M. Stallman +2007-05-22 Martin Rudalics - * xfaces.c (Fface_attributes_as_vector): New function. - (syms_of_xfaces): Defsubr it. + * syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD. -2001-10-24 Pavel Jan,Am(Bk +2007-05-21 Chong Yidong - * dispnew.c (sync_window_with_frame_matrix_rows): Remove unused - variable `area'. + * image.c (uncache_image): New function. + (Fimage_refresh): New function. -2001-10-25 Pavel Jan,Am(Bk +2007-05-20 Jan Dj,Ad(Brv - * search.c (scan_newline): Remove unused variable `selective_display'. + * Makefile.in: Move GPM check outside HAVE_X_WINDOWS. -2001-10-25 Miles Bader +2007-05-20 Nick Roberts - * dispextern.h (struct image): Add `background', - `background_valid', and `background_transparent' fields. - (image_background, image_background_transparent): New declarations. - (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros. - * xfns.c (image_background, image_background_transparent) - (four_corners_best): New functions. - (xpm_format, png_format, jpeg_format, tiff_format, gif_format) - (gs_format): Add `:background' entry. - (lookup_image): Set IMG's background color if specified. - (pbm_load, xbm_load_image, png_load): Set IMG's background field - when appropriate. - (x_clear_image_1): Reset `background_valid' and - `background_transparent_valid' fields. - (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of - calculating it here. Set IMG's background_transparent field. - (enum xpm_keyword_index): Add XPM_BACKGROUND. - (enum png_keyword_index): Add PNG_BACKGROUND. - (enum jpeg_keyword_index): Add JPEG_BACKGROUND. - (enum tiff_keyword_index): Add TIFF_BACKGROUND. - (enum gif_keyword_index): Add GIF_BACKGROUND. - (enum gs_keyword_index): Add GS_BACKGROUND. - (pbm_load, png_load, jpeg_load, tiff_load, gif_load): - Pre-calculate image background color where necessary. - * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and - `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background - color to use for image glyph reliefs. + * config.in, keyboard.c, Makefile.in, sysdep.c, term.c, + * termhooks.h: Use HAVE_GPM instead of HAVE_GPM_H. -2001-10-24 Gerd Moellmann +2007-05-20 Nick Roberts - * xterm.c (x_draw_glyphs): Don't check for cursor overwriting - in full-width rows. + * keyboard.c (make_lispy_event): Make case GPM_CLICK_EVENT + conditional on [HAVE_GPM_H]. - * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: - Fix clearing of area not covered by scroll bar. +2007-05-19 Stefan Monnier -2001-10-24 Pavel Jan,Am(Bk + * syntax.c (skip_chars): Update syntax-table only after we checked that + the new location is valid. - * xterm.c (x_insert_glyphs): Remove unused variables `real_end' - and `real_start'. - (x_draw_image_foreground): Remove unused variables `mask' and `xgcv'. - (glyph_rect): Remove unused variable `area'. +2007-05-19 YAMAMOTO Mitsuharu -2001-10-24 Gerd Moellmann + * macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around + mac_get_window_bounds. - * xdisp.c: Change #ifdef GLYPH_DEBUG to #if. +2007-05-20 Nick Roberts - * xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos. - (row_containing_pos): Take additional argument DY. - Treat rows ending in middle of char differently. - (display_line): Handle tabs on window systems differently. + * Makefile.in (LIBGPM): Allow it to be set from configure. + If set then link Emacs with it. - * xterm.c, w32term.c (fast_find_position): Call row_containing_pos - with additional argument. + * config.in: Regenerate. - * dispextern.h (row_containing_pos): Adjust prototype. + * lisp.h (add_gpm_wait_descriptor, delete_gpm_wait_descriptor): + New externs. + + * termhooks.h [HAVE_GPM_H] (enum event_kind): Add GPM_CLICK_EVENT. + Include gpm.h. + (handle_one_term_event, term_gpm): New externs. + + * sysdep.c [HAVE_GPM_H] (init_sys_modes): Make gpm_fd nonblocking + and allow it to be interrupted by SIGIO. + + * process.c (gpm_wait_mask, max_gpm_desc): New variables. + (wait_reading_process_output): Wait on gpm_fd too. + (add_gpm_wait_descriptor, delete_gpm_wait_descriptor)): New functions. + (add_gpm_wait_descriptor_called_flag): New variable. + (delete_keyboard_wait_descriptor): Check gpm_wait_mask. + + * keyboard.c [HAVE_GPM_H] (Qmouse_fixup_help_message) + (make_lispy_movement, tracking_off, Ftrack_mouse, some_mouse_moved) + (show_help_echo, readable_events, kbd_buffer_get_event, init_keyboard): + Extend HAVE_MOUSE ifdefs to HAVE_GPM_H. + (make_lispy_event): Add case GPM_CLICK_EVENT. + (read_avail_input): Handle mouse input. + + * term.c (write_glyphs_with_face): New function. + [HAVE_GPM_H]: Include buffer.h, sys/fcntl.h. + (mouse_face_beg_row, mouse_face_beg_col, mouse_face_end_row) + (mouse_face_end_col, mouse_face_past_end, mouse_face_window) + (mouse_face_face_id, term_gpm, pos_x, pos_y) + (last_mouse_x, last_mouse_y): New variables. + (term_show_mouse_face, term_clear_mouse_face, fast_find_position) + (term_mouse_highlight, term_mouse_movement, term_mouse_position) + (term_mouse_click, handle_one_term_event, Fterm_open_connection) + (Fterm_close_connection): New functions. + (term_init): Initialise mouse_face_window. + +2007-05-19 Chong Yidong - * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing) - (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables. - (try_window_id, try_window_reusing_current_matrix) - (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited. - (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables. + * xdisp.c (redisplay_window): If first window line is a + continuation line, recompute the new window start instead of + recentering. -2001-10-24 Pavel Jan,Am(Bk +2007-05-18 Glenn Morris - * xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of - gnuemacs). - (HAVE_BOXES): Fix typo in comment. - (push_menu_pane): Fix typo in comment. + * m/alpha.h (ORDINARY_LINK): No longer define on OpenBSD. + Suggested by Alfred M. Szmidt . - * xdisp.c (display_prop_string_p): Remove unused local declaration - of `Qwhen'. - (single_display_prop_string_p): Remove unused local declarations - of `Qwhen' and `Qmargin'. - (string_buffer_position): Remove unused variable `around'. - (store_frame_title): Remove unused variable `width'. +2007-05-17 Glenn Morris - * window.c: Don't define max. - (coordinates_in_window): Remove unused variable `uy'. + * m/macppc.h (ORDINARY_LINK): No longer define on OpenBSD. - * widget.c: Don't define max. +2007-05-16 YAMAMOTO Mitsuharu - * process.c: Don't define max. - (create_process): Remove unused variable `buffer'. + * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Also convert + dead key repeat and up events. -2001-10-23 Gerd Moellmann +2007-05-14 Chong Yidong - * xfaces.c (Finternal_set_lisp_face_attribute): Fix compilation error. + * image.c (pbm_load): Check image size for monochrome pbm. -2001-10-23 Eli Zaretskii +2007-05-13 Chong Yidong - * xfaces.c (Finternal_set_lisp_face_attribute) - [HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the - frame is on a windowed display. + * xterm.c (XTread_socket): Revert last change. -2001-10-23 Gerd Moellmann +2007-05-12 Chong Yidong - * dispnew.c (sync_window_with_frame_matrix_rows): - Fix handling of windows which aren't full-width, fix handling - of marginal areas. + * image.c (pbm_load): Correctly check image size for greyscale pbm. - * lread.c (syms_of_lread) : Raise to 50. + * xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). -2001-10-23 Andreas Schwab +2007-05-07 Stefan Monnier - * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override - LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc". + * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object + mixup (YAILOM). -2001-10-23 Gerd Moellmann +2007-05-07 Andreas Schwab - * xterm.c (x_draw_glyphs): Remove parameters READ_START and - REAL_END. Notice if cursor gets overwritten. - (notice_overwritten_cursor): Take X positions as parameters. - (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p - around call to x_draw_glyphs. + * keymap.c (Flookup_key): Fix typo in last change. -2001-10-23 Pavel Jan,Am(Bk +2007-05-07 Stefan Monnier - * syntax.c (modify-syntax-entry): Fix argument names (use CHAR - instead of C) and usage. + * keymap.c (Fdefine_key, Flookup_key): Only do the 0x80->meta_modifier + mapping for unibyte strings. - * editfns.c (char-to-string): Fix argument names (use CHAR instead - of C) and usage. +2007-05-01 YAMAMOTO Mitsuharu - * xfns.c (Fx_show_tip): Remove unused variables `buffer', `top', - `left', `max_width' and `max_height'. + * macmenu.c (mac_dialog_show): Apply 2007-04-27 change for xmenu.c. + (Fx_popup_dialog) [MAC_OSX]: Likewise. -2001-10-23 Gerd Moellmann +2007-04-29 Richard Stallman - * xdisp.c (display_line): For a tab continued to the next line, - set row's ends_in_middle_of_char_p. + * insdel.c (replace_range): For undo, record insertion first. -2001-10-22 Gerd Moellmann +2007-04-29 Andreas Schwab - * xdisp.c (display_line): Fix computation of continuation lines - width for TABs. + * lisp.h (VECSIZE): Use OFFSETOF. -2001-10-22 Pavel Jan,Am(Bk +2007-04-29 YAMAMOTO Mitsuharu - * xdisp.c (build_desired_tool_bar_string): Remove unused variable - `Qlaplace'. + * xdisp.c (try_window_reusing_current_matrix): Fix number of + disabled lines. - * fileio.c: Remove unused code. +2007-04-28 Richard Stallman -2001-10-22 Miles Bader + * lread.c (read_escape): In a string, \s is always space. - * lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL) - (DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD): - Remove `DOC_STRINGS_IN_COMMENTS' cases. +2007-04-27 Jan Dj,Ad(Brv -2001-10-21 Jason Rumney + * xmenu.c (xdialog_show): Call Fredisplay before showing the dialog. - * w32term.c (x_erase_phys_cursor): Remove inverse_p again. + * gtkutil.c (xg_update_menubar, create_menus): Create empty + submenu for menu bar items. -2001-10-21 Eli Zaretskii - - * mocklisp.c (Fml_if, Fml_provide_prefix_argument) - (Finsert_string): Avoid the multi-line string literals warning. - -2001-10-22 Miles Bader - - * doc.c (Vhelp_manyarg_func_alist): Variable removed. - (Fdocumentation): Don't use it. - (syms_of_doc): Don't initialize it. - - * keyboard.c (Ftrack_mouse): Add usage: string to doc string. - * print.c (Fwith_output_to_temp_buffer): Likewise. - * window.c (Fsave_window_excursion): Likewise. - * editfns.c (Fsave_excursion, Fsave_current_buffer) - (Fsave_restriction): Likewise. - * eval.c (Frun_hooks, Frun_hook_with_args) - (Frun_hook_with_args_until_failure) - (Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif) - (Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun) - (Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch) - (Funwind_protect, Fcondition_case): Likewise. - * coding.c (Ffind_operation_coding_system): Likewise. - * keyboard.c (Ftrack_mouse): Likewise. - -2001-10-21 Miles Bader - - * fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply) - (Fmake_hash_table): Add usage: string to doc string. - * editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers) - (Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat) - (Fencode_time, Finsert_and_inherit_before_markers): Likewise. - * mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument) - (Fml_prefix_argument_loop): Likewise. - -2001-10-21 Pavel Jan,Am(Bk - - * fileio.c (Finsert_file_contents): Remove unused variable `gap_size'. - - * sysdep.c (init_sys_modes): Change doc-string comments to `new - style' [w/`doc:' keyword]. - - * data.c, fileio.c, indent.c, print.c, search.c, sound.c, - * sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string - comments to `new style' [w/`doc:' keyword]. - -2001-10-21 Jason Rumney - - * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName. - - * w32term.c (remember_mouse_glyph): New function. - (w32_mouse_position): Use it. - (note_mouse_movement): If the mouse moved off the glyph, remember - its new position. - - * w32term.h (struct w32_output): Correct spelling of x_compatible. - (w32_display_info): Add mouse_face_overlay. - - * w32term.c (notice_overwritten_cursor): Renamed from - note_overwritten_text_cursor. Rewritten to take glyph widths into - account. - (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P. - (fast_find_string_pos): New function. - (fast_find_position): Return the correct vpos. Add parameter - STOP. In the final row, stop before glyphs having STOP as object. - Don't consider glyphs that are not from a buffer. - (fast_find_position) [0]: Add a presumably more correct version - for after 21.1. - (expose_window_tree, expose_frame): Don't compute intersections here. - (expose_window): Do it here instead. - (expose_window_tree, expose_window, expose_line): Return 1 when - overwriting mouse-face. - (expose_window): If W is the window currently being updated, mark - the frame garbaged. - (expose_frame): If mouse-face was overwritten, redo it. - (x_use_underline_position_properties): New variable. - (syms_of_xterm): DEFVAR_BOOL it. - (x_draw_glyph_string): Add comment to use it in future. - (x_draw_glyph_string): Restore clipping after drawing box. - Fix a computation of the underline position. - (w32_get_glyph_string_clip_rect): Minor cleanup. - (x_fill_stretch_glyph_string): Remove an assertion. - (x_produce_glyphs): Don't convert multibyte characters - to unibyte characters in unibyte buffers. - (cursor_in_mouse_face_p): New function. - (x_draw_stretch_glyph_string): Use it to choose a different GC - when drawing a cursor within highlighted text. Don't draw - background again if it has already been drawn. - (x_draw_glyph_string_box): Don't draw a full-width - box just because the glyph row's full_width_p flag is set. - (x_draw_glyphs): Fix computation of rightmost x for - full-width rows. - (x_dump_glyph_string): Put in #if GLYPH_DEBUG. - (w32_draw_relief_rect): Extend left shadow to the bottom and left; - change bottom shadow accordingly. Some cleanup. - (x_update_window_end): Handle overwritten mouse face - also for tool bar windows. - (show_mouse_face): Set the glyph row's mouse_face_p flag also when - DRAW is DRAW_IMAGE_RAISED. - (clear_mouse_face): Return 1 if text with mouse face was - actually redrawn. Make the function static. - Reset dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might - optimize away highlighting if we pass over that same overlay again. - (note_mouse_highlight): Call mouse_face_overlay_overlaps - to detect a case where we have to highlight a different region - despite not having left the currently highlighted region. - Set mouse_face_overlay in the x_display_info. Avoid changing the - mouse pointer shape when show_mouse_face has already done it, or - there is no need. Handle mouse-face and help-echo in strings. - (glyph_rect): New function. - (w32_mouse_position): Use it to raise the threshold for mouse - movement event generation. - (w32_initialize_display_info): Initialize the x_display_info's - mouse_face_overlay. - (w32_set_vertical_scroll_bar): Don't clear a zero height - or width area. - (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure - a widget to zero height. - - * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]: - Protect unibyte strings created by replacing their multibyte - equivalents in menu_items. - (w32_menu_show): Don't overwrite an item's name with its key - description in case the description is a multibyte string. - (single_submenu): Some cleanup. - - * w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed. - (postprocess_image): New function. - (lookup_image): Call it for all image types except PostScript. - (x_kill_gs_process): Call postprocess_image. - (tiff_error_handler, tiff_warning_handler): New functions. - (tiff_load): Install them as handlers. - (x_kill_gs_process): Recognize if someone has cleared the image - cache under us. - (valid_image_p): Protect better against invalid image - specifications. Previous code could signal an error. - (Fx_hide_tip, Fshow_tip): Doc fix. - (Fv_max_tooltip_size): New variable. - (syns_of_xfns): DEFVAR_LISP it. - (Fx_show_tip): Add parameter TEXT. Set the tip frame's root - window buffer to *tip* right after creating the frame. Set frame's - window_width. Use a maximum tooltip size specified by - Vx_max_tooltip_size, if that has valid contents. - (compute_tip_xy): Add parameters WIDTH and HEIGHT. - Make sure the tooltip is completely visible. - (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil. - (Fx_create_frame): Adjust the frame's height for presence - of the tool bar before calling x_figure_window_size. - (x_set_tool_bar_lines): Clear the tool bar window's current matrix - when the window gets smaller. - (x_set_foreground_color): Set frame's cursor_pixel. - (x_set_foreground_color, x_set_background_color): Cleaned up. - (x_set_font): Handle case of x_new_fontset returning the same name - as before, although there was a change in fontsets. - -2001-10-21 Miles Bader - - * data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior) - (Flogxor): Add usage: string to doc string. - * charset.c (Fstring): Likewise. - * callproc.c (Fcall_process_region, Fcall_process): Likewise. - * alloc.c (Fmake_byte_code, Fvector, Flist): Likewise. - -2001-10-21 Pavel Jan,Am(Bk - - * buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords. - - * alloc.c: Reindent DEFUNs with doc: keywords. - - * abbrev.c (Finsert_abbrev_table_description): Reindent. - - * frame.c: Change doc-string comments to `new style' [w/`doc:' - keyword]. - -See ChangeLog.9 for earlier changes. +See ChangeLog.10 for earlier changes. ;; Local Variables: ;; coding: iso-2022-7bit diff --cc src/eval.c index eaa1a6855f6,ee73655d748..7f5f58a2e81 --- a/src/eval.c +++ b/src/eval.c @@@ -2194,10 -2162,17 +2194,17 @@@ do_autoload (fundef, funname /* Preserve the match data. */ record_unwind_save_match_data (); - /* Value saved here is to be restored into Vautoload_queue. */ + /* If autoloading gets an error (which includes the error of failing + to define the function being called), we use Vautoload_queue + to undo function definitions and `provide' calls made by + the function. We do this in the specific case of autoloading + because autoloading is not an explicit request "load this file", + but rather a request to "call this function". + + The value saved here is to be restored into Vautoload_queue. */ record_unwind_protect (un_autoload, Vautoload_queue); Vautoload_queue = Qt; - Fload (Fcar (Fcdr (fundef)), Qnil, noninteractive ? Qt : Qnil, Qnil, Qt); + Fload (Fcar (Fcdr (fundef)), Qnil, Qt, Qnil, Qt); /* Once loading finishes, don't undo it. */ Vautoload_queue = Qt;