Commit b1f367f7 authored by Paul Eggert's avatar Paul Eggert
Browse files

Merge from trunk.

parents 13464394 4f8a4547
......@@ -632,3 +632,11 @@ mytest my.email.address
Then if you do all your testing with 'Package: mytest', the resulting
mails should only go to your email address.
** Adding new tags
Add them to @gTags in /etc/debbugs/config.
I think you also have to add them to 'tags' and 'tags_single_letter'
in /usr/share/perl5/Debbugs/Config.pm.
And update /var/www/Developer.html with a description of what the tag means.
And the "valid tags" list in /var/www/index.html.
2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
* help.texi (Misc Help): Mention `describe-prefix-bindings'
explicitly (bug#8904).
2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
* trouble.texi (Checklist): Use an `M-x' example instead of an
......
......@@ -589,11 +589,13 @@ displays the contents of the syntax table, with explanations of each
character's syntax (@pxref{Syntax Tables,, Syntax Tables, elisp, The
Emacs Lisp Reference Manual}).
@findex describe-prefix-bindings
You can get a list of subcommands for a particular prefix key by
typing @kbd{C-h} after the prefix key. (There are a few prefix keys
for which this does not work---those that provide their own bindings
for @kbd{C-h}. One of these is @key{ESC}, because @kbd{@key{ESC} C-h}
is actually @kbd{C-M-h}, which marks a defun.)
typing @kbd{C-h} (@code{describe-prefix-bindings}) after the prefix
key. (There are a few prefix keys for which this does not
work---those that provide their own bindings for @kbd{C-h}. One of
these is @key{ESC}, because @kbd{@key{ESC} C-h} is actually
@kbd{C-M-h}, which marks a defun.)
@node Help Files
@section Help Files
......
2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
Tim Cross <theophilusx@gmail.com> (tiny change)
Glenn Morris <rgm@gnu.org>
* keymaps.texi (Toolkit Differences): New node. (Bug#8176)
2011-07-15 Andreas Schwab <schwab@linux-m68k.org>
* help.texi (Keys in Documentation): Revert last change.
2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
* help.texi (Keys in Documentation): Clarify that \= only quotes
the next character, and doesn't affect longer sequences in
particular (bug#8935).
* debugging.texi (Using Debugger): Mention
@code{eval-expression-debug-on-error} (bug#8549).
2011-07-14 Eli Zaretskii <eliz@gnu.org>
* display.texi (Other Display Specs): Document that `left-fringe'
......
......@@ -306,6 +306,16 @@ and it is wise to go back to the backtrace buffer and exit the debugger
the debugger gets out of the recursive edit and kills the backtrace
buffer.
When the debugger has been entered, the @code{debug-on-error}
variable is temporarily set according to
@code{eval-expression-debug-on-error}. If the latter variable is
non-@code{nil}, @code{debug-on-error} will temporarily be set to
@code{t}. This means that any further errors that occur while doing a
debugging session will (by default) trigger another backtrace. If
this is not want you want, you can either set
@code{eval-expression-debug-on-error} to @code{nil}, or set
@code{debug-on-error} to @code{nil} in @code{debugger-mode-hook}.
@cindex current stack frame
The backtrace buffer shows you the functions that are executing and
their argument values. It also allows you to specify a stack frame by
......
......@@ -2019,8 +2019,10 @@ an existing menu, you can specify its position in the menu using
various features.
* Menu Separators:: Drawing a horizontal line through a menu.
* Alias Menu Items:: Using command aliases in menu items.
* Toolkit Differences:: Not all toolkits provide the same features.
@end menu
@node Simple Menu Items
@subsubsection Simple Menu Items
......@@ -2309,6 +2311,28 @@ itself). To request this, give the alias symbol a non-@code{nil}
causes menu items for @code{make-read-only} and @code{make-writable} to
show the keyboard bindings for @code{toggle-read-only}.
@node Toolkit Differences
@subsubsection Toolkit Differences
The various toolkits with which you can build Emacs do not all support
the same set of features for menus. Some code works as expected with
one toolkit, but not under another.
One example is menu actions or buttons in a top-level menu-bar. The
following works with the Lucid toolkit or on MS Windows, but not with
GTK or Nextstep, where clicking on the item has no effect.
@example
(defun menu-action-greet ()
(interactive)
(message "Hello Emacs User!"))
(defun top-level-menu ()
(interactive)
(define-key lisp-interaction-mode-map [menu-bar m]
'(menu-item "Action Button" menu-action-greet)))
@end example
@node Mouse Menus
@subsection Menus and the Mouse
......
......@@ -1099,11 +1099,12 @@ use short names like @code{x}.
@node Lexical Binding
@subsection Use of Lexical Scoping
Emacs Lisp can be evaluated in two different modes: in dynamic binding mode or
lexical binding mode. In dynamic binding mode, all local variables use dynamic
scoping, whereas in lexical binding mode variables that have been declared
@dfn{special} (i.e., declared with @code{defvar} or @code{defconst}) use
dynamic scoping and all others use lexical scoping.
Emacs Lisp can be evaluated in two different modes: in dynamic binding
mode or lexical binding mode. In dynamic binding mode, all local
variables use dynamic scoping, whereas in lexical binding mode
variables that have been declared @dfn{special} (i.e., declared with
@code{defvar}, @code{defcustom} or @code{defconst}) use dynamic
scoping and all others use lexical scoping.
@defvar lexical-binding
When non-nil, evaluation of Lisp code uses lexical scoping for non-special
......
2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
* flymake.texi (Example -- Configuring a tool called via make):
Use /dev/null instead of the Windows "nul" (bug#8715).
2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
* widget.texi (Setting Up the Buffer): Remove mention of the
......
......@@ -483,7 +483,7 @@ our case this target might look like this:
@verbatim
check-syntax:
gcc -o nul -S ${CHK_SOURCES}
gcc -o /dev/null -S ${CHK_SOURCES}
@end verbatim
The format of error messages reported by @code{gcc} is already
......
2011-07-16 Bill Wohler <wohler@newt.com>
Release MH-E version 8.2.92.
* NEWS, MH-E-NEWS: Update for MH-E release 8.2.92.
2011-07-12 Bill Wohler <wohler@newt.com>
Release MH-E version 8.2.91.
......
......@@ -3,6 +3,11 @@
Copyright (C) 2001-2011 Free Software Foundation, Inc.
See the end of the file for license conditions.
* Changes in MH-E 8.2.92
Version 8.2.92 actually corrects the error in the modeline glyph when
running XEmacs 21.5.31 in a terminal.
* Changes in MH-E 8.2.91
Version 8.2.91 fixes the folder window problem that was introduced
......@@ -14,8 +19,6 @@ from SourceForge and explicitly load MH-E will have to be change their
`load-path' to "/path/to/mh-e/emacs/trunk/lisp/mh-e" instead. Note the
addition of "trunk."
This version of MH-E is packaged with GNU Emacs 24.1
* Changes in MH-E 8.2.90
In 2010, the version control system (VCS) of Emacs was upgraded from
......@@ -32,6 +35,15 @@ meaning that `+f/b/b TAB' can complete to `+foo/bar/baz'.
Also, RFC 2047-encoded Subject header fields in replies are now
decoded.
This version of MH-E is packaged with GNU Emacs 24.1
** Bug Fixes in MH-E 8.2.90
*** Make mh-showing a legitimate minor mode
The `mh-showing-mode' variable is now defined with `define-minor-mode'
(closes SF #482666).
* Changes in MH-E 8.2
......
......@@ -488,7 +488,7 @@ $ESHELL nor variable `explicit-shell-file-name' is set.
** MH-E
*** Upgraded to MH-E version 8.2.91. See MH-E-NEWS for details.
*** Upgraded to MH-E version 8.2.92. See MH-E-NEWS for details.
** comint and modes derived from it use the generic completion code.
......
2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/gnutls.el (gnutls-log-level): Removed.
* textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
indentation character (bug#6380).
* files.el (buffer-offer-save): Made permanently local (bug#6241).
* doc-view.el (doc-view-make-safe-dir): Rewrite the error message
to clarify what the problem is (bug#4291).
* simple.el (current-kill): Clarify what
`interprogram-paste-function' does (bug#7500).
(auto-fill-mode): Document `auto-fill-function' in relation to
`auto-fill-mode' (bug#2470).
2011-07-16 Lawrence Mitchell <wence@gmx.li>
* emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
method if slot is read-only (bug#9035).
2011-07-16 Martin Rudalics <rudalics@gmx.at>
* frame.el (select-frame-set-input-focus): New argument
NORECORD.
* window.el (pop-to-buffer): Select window used even if it was
selected before, see discussion of (Bug#8615), (Bug#6954). Pass
argument NORECORD on to select-frame-set-input-focus.
2011-07-15 Glenn Morris <rgm@gnu.org>
* subr.el (read-char-choice): Allow quitting. (Bug#9001)
Respect help-form.
2011-07-09 Lawrence Mitchell <wence@gmx.li>
* net/gnutls.el (gnutls-min-prime-bits): New variable.
(gnutls-negotiate): Use it.
2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/gnutls.el (gnutls-negotiate): Upcase
`gnutls-algorithm-priority'.
2011-07-15 Glenn Morris <rgm@gnu.org>
* jka-compr.el (jka-compr-verbose): Move from here...
* jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
Add missing :version tag.
* info.el: No need to require jka-compr when compiling.
2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/gnutls.el (gnutls-algorithm-priority): New variable.
(gnutls-negotiate): Use it.
* emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
* info.el (Info-beginning-of-buffer): New command.
(Info-mode-map): Use it instead of `beginning-of-buffer' to allow
announcing `b' as the key (bug#8325).
(Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
* emacs-lisp/cl-macs.el (declare): Doc string fix-up.
* international/mule-cmds.el
(describe-specified-language-support): Make the error message
clearer (bug#8905).
* emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
* isearch.el (isearch-barrier): Add a doc string, since it's
mentioned in a function doc string (bug#8678).
2011-07-15 Martin Rudalics <rudalics@gmx.at>
* window.el (switch-to-buffer): Call pop-to-buffer with normalized
buffer argument (Bug#9083) and self-identifying label argument.
2011-07-15 Glenn Morris <rgm@gnu.org>
* emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
* man.el (Man-fontify-manpage): Fix message when formatting the
......
......@@ -569,18 +569,18 @@ at the top edge of the page moves to the previous page."
(defun doc-view-make-safe-dir (dir)
(condition-case nil
(let ((umask (default-file-modes)))
(unwind-protect
(progn
;; Create temp files with strict access rights. It's easy to
;; loosen them later, whereas it's impossible to close the
;; time-window of loose permissions otherwise.
(set-default-file-modes #o0700)
(make-directory dir))
;; Reset the umask.
(set-default-file-modes umask)))
(unwind-protect
(progn
;; Create temp files with strict access rights. It's easy to
;; loosen them later, whereas it's impossible to close the
;; time-window of loose permissions otherwise.
(set-default-file-modes #o0700)
(make-directory dir))
;; Reset the umask.
(set-default-file-modes umask)))
(file-already-exists
(if (file-symlink-p dir)
(error "Danger: %s points to a symbolic link" dir))
(when (file-symlink-p dir)
(error "Danger: %s points to a symbolic link" dir))
;; In case it was created earlier with looser rights.
;; We could check the mode info returned by file-attributes, but it's
;; a pain to parse and it may not tell you what we want under
......@@ -589,7 +589,12 @@ at the top edge of the page moves to the previous page."
;; This also ends up checking a bunch of useful conditions: it makes
;; sure we have write-access to the directory and that we own it, thus
;; closing a bunch of security holes.
(set-file-modes dir #o0700))))
(condition-case error
(set-file-modes dir #o0700)
(file-error
(error
(format "Unable to use temporary directory %s: %s"
dir (mapconcat 'identity (cdr error) " "))))))))
(defun doc-view-current-cache-dir ()
"Return the directory where the png files of the current doc should be saved.
......
......@@ -282,7 +282,7 @@ Not documented
;;;;;; flet progv psetq do-all-symbols do-symbols dotimes dolist
;;;;;; do* do loop return-from return block etypecase typecase ecase
;;;;;; case load-time-value eval-when destructuring-bind function*
;;;;;; defmacro* defun* gentemp gensym) "cl-macs" "cl-macs.el" "9f551dc739a39b3c8b420fbd1ab71879")
;;;;;; defmacro* defun* gentemp gensym) "cl-macs" "cl-macs.el" "2261724608e3223036b863d214f7dc0c")
;;; Generated autoloads from cl-macs.el
(autoload 'gensym "cl-macs" "\
......@@ -541,7 +541,13 @@ values. For compatibility, (values A B C) is a synonym for (list A B C).
\(fn TYPE FORM)" nil (quote macro))
(autoload 'declare "cl-macs" "\
Declare SPECS about the current function while compiling.
For instance
(declare (warn 0))
will turn off byte-compile warnings in the function.
See Info node `(cl)Declarations' for details.
\(fn &rest SPECS)" nil (quote macro))
......
......@@ -1601,6 +1601,13 @@ values. For compatibility, (values A B C) is a synonym for (list A B C).
;;;###autoload
(defmacro declare (&rest specs)
"Declare SPECS about the current function while compiling.
For instance
\(declare (warn 0))
will turn off byte-compile warnings in the function.
See Info node `(cl)Declarations' for details."
(if (cl-compiling-file)
(while specs
(if (listp cl-declare-stack) (push (car specs) cl-declare-stack))
......@@ -2389,8 +2396,10 @@ value, that slot cannot be set via `setf'.
(push (cons accessor t) side-eff)
(push (list 'define-setf-method accessor '(cl-x)
(if (cadr (memq :read-only (cddr desc)))
(list 'error (format "%s is a read-only slot"
accessor))
(list 'progn '(ignore cl-x)
(list 'error
(format "%s is a read-only slot"
'accessor)))
;; If cl is loaded only for compilation,
;; the call to cl-struct-setf-expander would
;; cause a warning because it may not be
......
......@@ -102,7 +102,7 @@ and `debugger-reenable' to temporarily disable debug-on-entry.")
(setq debugger 'debug)
;;;###autoload
(defun debug (&rest debugger-args)
"Enter debugger. To return, type \\<debugger-mode-map>`\\[debugger-continue]'.
"Enter debugger. \\<debugger-mode-map>`\\[debugger-continue]' returns from the debugger.
Arguments are mainly for use when this is called from the internals
of the evaluator.
......
......@@ -100,7 +100,7 @@ Put first the functions more likely to cause a change and cheaper to compute.")
(cons beg end))
(defvar syntax-propertize--done -1
"Position upto which syntax-table properties have been set.")
"Position up to which syntax-table properties have been set.")
(make-variable-buffer-local 'syntax-propertize--done)
(defun syntax-propertize--shift-groups (re n)
......@@ -283,7 +283,7 @@ The return value is a function suitable for `syntax-propertize-function'."
(setq keywords font-lock-syntactic-keywords))))))
(defun syntax-propertize (pos)
"Ensure that syntax-table properties are set upto POS."
"Ensure that syntax-table properties are set until POS."
(when (and syntax-propertize-function
(< syntax-propertize--done pos))
;; (message "Needs to syntax-propertize from %s to %s"
......
......@@ -151,6 +151,7 @@ Automatically local in all buffers."
:type 'boolean
:group 'backup)
(make-variable-buffer-local 'buffer-offer-save)
(put 'buffer-offer-save 'permanent-local t)
(defcustom find-file-existing-other-name t
"Non-nil means find a file under alternative names, in existing buffers.
......
......@@ -747,12 +747,15 @@ the user during startup."
(declare-function x-focus-frame "xfns.c" (frame))
(defun select-frame-set-input-focus (frame)
(defun select-frame-set-input-focus (frame &optional norecord)
"Select FRAME, raise it, and set input focus, if possible.
If `mouse-autoselect-window' is non-nil, also move mouse pointer
to FRAME's selected window. Otherwise, if `focus-follows-mouse'
is non-nil, move mouse cursor to FRAME."
(select-frame frame)
is non-nil, move mouse cursor to FRAME.
Optional argument NORECORD means to neither change the order of
recently selected windows nor the buffer list."
(select-frame frame norecord)
(raise-frame frame)
;; Ensure, if possible, that FRAME gets input focus.
(when (memq (window-system frame) '(x w32 ns))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment