Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d607b96b
Commit
d607b96b
authored
Nov 09, 2010
by
Stefan Monnier
Browse files
Merge from emacs-23
parents
27410d0a
c0098065
Changes
32
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
456 additions
and
428 deletions
+456
-428
.dir-locals.el
.dir-locals.el
+2
-0
ChangeLog
ChangeLog
+8
-0
configure
configure
+334
-374
configure.in
configure.in
+0
-5
doc/emacs/ChangeLog
doc/emacs/ChangeLog
+5
-0
doc/emacs/msdog.texi
doc/emacs/msdog.texi
+10
-2
doc/misc/ChangeLog
doc/misc/ChangeLog
+4
-0
etc/NEWS.23
etc/NEWS.23
+5
-2
lisp/ChangeLog
lisp/ChangeLog
+60
-0
lisp/Makefile.in
lisp/Makefile.in
+1
-0
lisp/dired.el
lisp/dired.el
+1
-1
lisp/emacs-lisp/cl-loaddefs.el
lisp/emacs-lisp/cl-loaddefs.el
+1
-1
lisp/files.el
lisp/files.el
+1
-0
lisp/international/mule-cmds.el
lisp/international/mule-cmds.el
+2
-1
lisp/locate.el
lisp/locate.el
+7
-10
lisp/ls-lisp.el
lisp/ls-lisp.el
+2
-1
lisp/minibuffer.el
lisp/minibuffer.el
+8
-5
lisp/net/tramp.el
lisp/net/tramp.el
+1
-2
lisp/progmodes/python.el
lisp/progmodes/python.el
+3
-15
lisp/progmodes/tcl.el
lisp/progmodes/tcl.el
+1
-9
No files found.
.dir-locals.el
View file @
d607b96b
...
...
@@ -2,6 +2,8 @@
(
sentence-end-double-space
.
t
)
(
fill-column
.
70
)))
(
c-mode
.
((
c-file-style
.
"GNU"
)))
(
log-edit-mode
.
((
log-edit-rewrite-fixes
" (bug#\\([0-9]+\\))"
.
"debbugs:\\1"
)))
(
change-log-mode
.
((
add-log-time-zone-rule
.
t
)
(
fill-column
.
74
)
(
bug-reference-url-format
.
"http://debbugs.gnu.org/%s"
)
...
...
ChangeLog
View file @
d607b96b
2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
* .dir-locals.el (log-edit-mode): Set log-edit-rewrite-fixes.
2010-11-09 Michael Albinus <michael.albinus@gmx.de>
* configure.in: Don't write a warning for D-Bus anymore.
2010-11-06 Andreas Schwab <schwab@linux-m68k.org>
* configure.in: Fix indentation.
...
...
configure
View file @
d607b96b
This diff is collapsed.
Click to expand it.
configure.in
View file @
d607b96b
...
...
@@ -3737,11 +3737,6 @@ to run if these resources are not installed."
echo
fi
if test "$HAVE_DBUS" = yes && test "${opsys}" != "gnu-linux"; then
echo "D-Bus integration has been tested for GNU/Linux only."
echo
fi
# Remove any trailing slashes in these variables.
[test "${prefix}" != NONE &&
...
...
doc/emacs/ChangeLog
View file @
d607b96b
2010-11-09 Eli Zaretskii <eliz@gnu.org>
* msdog.texi (Windows HOME): Add information regarding startup
directory when invoking Emacs from a desktop shortcut. (bug#7300)
2010-10-11 Glenn Morris <rgm@gnu.org>
* Makefile.in (MAKEINFO): Add explicit -I$srcdir.
...
...
doc/emacs/msdog.texi
View file @
d607b96b
...
...
@@ -31,7 +31,8 @@ here.
* Text and Binary:: Text files use CRLF to terminate lines.
* Windows Files:: File-name conventions on Windows.
* ls in Lisp:: Emulation of @code{ls} for Dired.
* Windows HOME:: Where Emacs looks for your @file{.emacs}.
* Windows HOME:: Where Emacs looks for your @file{.emacs} and
where it starts up.
* Windows Keyboard:: Windows-specific keyboard features.
* Windows Mouse:: Windows-specific mouse features.
* Windows Processes:: Running subprocesses on Windows.
...
...
@@ -329,7 +330,7 @@ names, which might cause misalignment of columns in Dired display.
@end ifnottex
@node Windows HOME
@section HOME Director
y
on MS-Windows
@section HOME
and Startup
Director
ies
on MS-Windows
@cindex @code{HOME} directory on MS-Windows
The Windows equivalent of the @code{HOME} directory is the
...
...
@@ -371,6 +372,13 @@ names, the Windows port of Emacs supports an alternative name
@file{_emacs} as a fallback, if such a file exists in the home
directory, whereas @file{.emacs} does not.
@cindex start directory, MS-Windows
@cindex directory where Emacs starts on MS-Windows
If you use a Windows desktop shortcut to start Emacs, it starts in
the directory specified by the shortcut. To control where that is,
right-click on the shortcut, select ``Properties'', and in the
``Shortcut'' tab modify the ``Start in'' field to your liking.
@node Windows Keyboard
@section Keyboard Usage on MS-Windows
@cindex keyboard, MS-Windows
...
...
doc/misc/ChangeLog
View file @
d607b96b
2010-11-09 Jay Belanger <jay.p.belanger@gmail.com>
* calc.texi: Use emacsver.texi to determine Emacs version.
2010-11-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus.texi (Customizing the IMAP Connection): Remove nnir mention,
...
...
etc/NEWS.23
View file @
d607b96b
...
...
@@ -41,7 +41,10 @@ This can be used in place of the default appt-message-warning-time.
* New Modes and Packages in Emacs 23.3
** smie.el is a generic navigation and indentation engine.
It takes a simple BNF description of the grammar, and provides both
sexp-style navigation (jumping over begin..end pairs) as well as
indentation, which can be adjusted via ad-hoc indentation rules.
* Incompatible Lisp Changes in Emacs 23.3
...
...
@@ -51,7 +54,7 @@ This can be used in place of the default appt-message-warning-time.
** `e' and `pi' are now called `float-e' and `float-pi'.
The old names are obsolete.
** The use of unintern without an obarray arg is declared obsolete.
** The function `princ-list' is declared obsolete.
** New function byte-to-string, like char-to-string but for bytes.
...
...
lisp/ChangeLog
View file @
d607b96b
2010-11-09 Glenn Morris <rgm@gnu.org>
* progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
* minibuffer.el (minibuffer-completion-help): Specify the end of the
completion field (bug#7211).
* progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
Fix handling of backslash escapes.
(python-quote-syntax): Adjust accordingly.
2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2010-11-09 Richard Levitte <richard@levitte.org> (tiny patch)
* vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
(vc-mtn-workfile-branch): Adjust to new output format.
2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
* international/mule-cmds.el (princ-list): Mark as obsolete.
2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/smie.el: New package.
2010-11-09 Michael Albinus <michael.albinus@gmx.de>
* files.el (backup-by-copying-when-mismatch):
Set `permanent-local' property.
* net/tramp.el (tramp-handle-insert-file-contents): Do not set
`permanent-local' property for `backup-by-copying-when-mismatch'.
2010-11-09 Eli Zaretskii <eliz@gnu.org>
* ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
* progmodes/verilog-mode.el (verilog-insert-one-definition)
(verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
AUTOINOUT for SV style multidimensional arrays, bug294.
Reported by Eric Mastromarchi.
(verilog-preprocess): Use with-current-buffer and
font-lock-fontify-buffer to cleanup style issues.
2010-11-09 Glenn Morris <rgm@gnu.org>
* locate.el (locate, locate-mode): Doc fixes.
2010-11-09 Chong Yidong <cyd@stupidchicken.com>
* server.el (server-start): New arg INHIBIT-PROMPT prevents asking
user for confirmation.
(server-force-stop): Use it.
(server-start): Use server-force-stop for kill-emacs-hook, to
avoid user interaction while killing Emacs.
2010-11-09 Glenn Morris <rgm@gnu.org>
* progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
...
...
lisp/Makefile.in
View file @
d607b96b
...
...
@@ -180,6 +180,7 @@ TAGS TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptags
els
=
`
echo
$(lisptagsfiles1)
$(lisptagsfiles2)
$(lisptagsfiles3)
$(lisptagsfiles4)
|
sed
-e
"s,
$(lisp)
/[^ ]*loaddefs[^ ]*,,"
-e
"s,
$(lisp)
/ldefs-boot[^ ]*,,"
`
;
\
${ETAGS}
-o
$@
$$
els
$(lisp)/emacs-lisp/smie.elc
\
# The src/Makefile.in has its own set of dependencies and when they decide
# that one Lisp file needs to be re-compiled, we had better recompile it as
# well, otherwise every subsequent make will again call us, until we finally
...
...
lisp/dired.el
View file @
d607b96b
...
...
@@ -3539,7 +3539,7 @@ Ask means pop up a menu for the user to select one of copy, move or link."
;;;;;; dired-run-shell-command dired-do-shell-command dired-do-async-shell-command
;;;;;; dired-clean-directory dired-do-print dired-do-touch dired-do-chown
;;;;;; dired-do-chgrp dired-do-chmod dired-compare-directories dired-backup-diff
;;;;;; dired-diff) "
dired-aux
" "
dired-aux.el
" "
4
16
d272299fd4774c47c2f677ee640a4
")
;;;;;; dired-diff) "
dired-aux
" "
dired-aux.el
" "
16
28b7a7d379fb4da8ae4bf29faad4b5
")
;;; Generated autoloads from dired-aux.el
(autoload 'dired-diff "
dired-aux
" "
\
...
...
lisp/emacs-lisp/cl-loaddefs.el
View file @
d607b96b
...
...
@@ -282,7 +282,7 @@ Not documented
;;;;;; 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
" "
82f8370745a60dc26536a0237cba893f
")
;;;;;; gensym) "
cl-macs
" "
cl-macs.el
" "
979862b54946a5fcbbccdd90fa3f84d8
")
;;; Generated autoloads from cl-macs.el
(autoload 'gensym "
cl-macs
" "
\
...
...
lisp/files.el
View file @
d607b96b
...
...
@@ -124,6 +124,7 @@ the default for a new file created there by you.
This variable is relevant only if `backup-by-copying' is nil."
:type
'boolean
:group
'backup
)
(
put
'backup-by-copying-when-mismatch
'permanent-local
t
)
(
defcustom
backup-by-copying-when-privileged-mismatch
200
"Non-nil means create backups by copying to preserve a privileged owner.
...
...
lisp/international/mule-cmds.el
View file @
d607b96b
...
...
@@ -2033,10 +2033,11 @@ See `set-language-info-alist' for use in programs."
"
Do
various
unibyte-mode
setups
for
language
environment
LANGUAGE-NAME.
"
(set-display-table-and-terminal-coding-system language-name))
(def
subst
princ-list (&rest args)
(def
un
princ-list (&rest args)
"
Print
all
arguments
with
`
princ
',
then
print
\"\\n\".
"
(while args (princ (car args)) (setq args (cdr args)))
(princ "
\n
"))
(make-obsolete 'princ-list "
use
mapc
and
princ
instead
" "
23.3
")
(put 'describe-specified-language-support 'apropos-inhibit t)
...
...
lisp/locate.el
View file @
d607b96b
...
...
@@ -270,7 +270,7 @@ that is, with a prefix arg, you get the default behavior."
(
defun
locate
(
search-string
&optional
filter
arg
)
"Run the program `locate', putting results in `*Locate*' buffer.
Pass it SEARCH-STRING as argument. Interactively, prompt for SEARCH-STRING.
With prefix arg, prompt for the exact shell command to run instead.
With prefix arg
ARG
, prompt for the exact shell command to run instead.
This program searches for those file names in a database that match
SEARCH-STRING and normally outputs all matching absolute file names,
...
...
@@ -286,7 +286,8 @@ the variables `locate-command' or `locate-make-command-line'.
The main use of FILTER is to implement `locate-with-filter'. See
the docstring of that function for its meaning.
ARG is the interactive prefix arg."
After preparing the results buffer, this runs `dired-mode-hook' and
then `locate-post-command-hook'."
(
interactive
(
list
(
locate-prompt-for-search-string
)
...
...
@@ -300,8 +301,7 @@ ARG is the interactive prefix arg."
(
locate-cmd-args
(
cdr
locate-cmd-list
))
(
run-locate-command
(
or
(
and
arg
(
not
locate-prompt-for-command
))
(
and
(
not
arg
)
locate-prompt-for-command
)))
)
(
and
(
not
arg
)
locate-prompt-for-command
))))
;; Find the Locate buffer
(
save-window-excursion
...
...
@@ -323,16 +323,13 @@ ARG is the interactive prefix arg."
(
and
filter
(
locate-filter-output
filter
))
(
locate-do-setup
search-string
)
))
(
locate-do-setup
search-string
)))
(
and
(
not
(
string-equal
(
buffer-name
)
locate-buffer-name
))
(
pop-to-buffer
locate-buffer-name
))
(
run-hooks
'dired-mode-hook
)
(
dired-next-line
3
)
;move to first matching file.
(
run-hooks
'locate-post-command-hook
)
)
)
(
run-hooks
'locate-post-command-hook
)))
;;;###autoload
(
defun
locate-with-filter
(
search-string
filter
&optional
arg
)
...
...
@@ -447,6 +444,7 @@ file name or is inside a subdirectory."
\\<locate-mode-map>
\
In
that
buffer,
you
can
use
almost
all
the
usual
dired
bindings.
\\[locate-find-directory]
visits
the
directory
of
the
file
on
the
current
line.
This
function
runs
`
locate-mode-hook
'
before
returning.
Operating
on
listed
files
works,
but
does
not
always
automatically
update
the
buffer
as
in
ordinary
Dired.
...
...
@@ -687,5 +685,4 @@ the database on the command line."
(
provide
'locate
)
;; arch-tag: 60c4d098-b5d5-4b3c-a3e0-51a2e9f43898
;;; locate.el ends here
lisp/ls-lisp.el
View file @
d607b96b
...
...
@@ -220,7 +220,8 @@ The Lisp emulation does not run any external programs or shells. It
supports ordinary shell wildcards if `ls-lisp-support-shell-wildcards'
is non-nil; otherwise, it interprets wildcards as regular expressions
to match file names. It does not support all `ls' switches -- those
that work are: A a c i r S s t u U X g G B C R n and F partly."
that work are: A a B C c F G g h i n R r S s t U u X. The l switch
is assumed to be always present and cannot be turned off."
(
if
ls-lisp-use-insert-directory-program
(
funcall
original-insert-directory
file
switches
wildcard
full-directory-p
)
...
...
lisp/minibuffer.el
View file @
d607b96b
...
...
@@ -42,7 +42,7 @@
;; provide the start info but not the end info in
;; completion-base-position.
;; - quoting is problematic. E.g. the double-dollar quoting used in
;; substit
i
e-in-file-name (and hence read-file-name-internal) bumps
;; substit
ut
e-in-file-name (and hence read-file-name-internal) bumps
;; into various bugs:
;; - choose-completion doesn't know how to quote the text it inserts.
;; E.g. it fails to double the dollars in file-name completion, or
...
...
@@ -1133,6 +1133,7 @@ variables.")
(
interactive
)
(
message
"Making completion list..."
)
(
lexical-let*
((
start
(
field-beginning
))
(
end
(
field-end
))
(
string
(
field-string
))
(
completions
(
completion-all-completions
string
...
...
@@ -1164,10 +1165,12 @@ variables.")
completions
)))
(
with-current-buffer
standard-output
(
set
(
make-local-variable
'completion-base-position
)
;; FIXME: We should provide the END part as well, but
;; currently completion-all-completions does not give
;; us the necessary information.
(
list
(
+
start
base-size
)
nil
)))
(
list
(
+
start
base-size
)
;; FIXME: We should pay attention to completion
;; boundaries here, but currently
;; completion-all-completions does not give us the
;; necessary information.
end
)))
(
display-completion-list
completions
)))
;; If there are no completions, or if the current input is already the
...
...
lisp/net/tramp.el
View file @
d607b96b
...
...
@@ -2864,8 +2864,7 @@ User is always nil."
(
set-buffer-modified-p
nil
)
;; For root, preserve owner and group when editing files.
(
when
(
string-equal
(
file-remote-p
filename
'user
)
"root"
)
(
set
(
make-local-variable
'backup-by-copying-when-mismatch
)
t
)
(
put
'backup-by-copying-when-mismatch
'permanent-local
t
)))
(
set
(
make-local-variable
'backup-by-copying-when-mismatch
)
t
)))
(
when
(
and
(
stringp
local-copy
)
(
or
remote-copy
(
null
tramp-temp-buffer-file-name
)))
(
delete-file
local-copy
))
...
...
lisp/progmodes/python.el
View file @
d607b96b
...
...
@@ -171,21 +171,9 @@
;; string delimiters. Fixme: Is there a better way?
;; First avoid a sequence preceded by an odd number of backslashes.
(
syntax-propertize-rules
(
;; (rx (not (any ?\\))
;; ?\\ (* (and ?\\ ?\\))
;; (group (syntax string-quote))
;; (backref 1)
;; (group (backref 1)))
;; Backrefs don't work in syntax-propertize-rules!
"[^\\]\\\\\\(\\\\\\\\\\)*\\(?:''\\('\\)\\|\"\"\\(?2:\"\\)\\)"
(
2
"\""
))
; dummy
(
;; (rx (optional (group (any "uUrR"))) ; prefix gets syntax property
;; (optional (any "rR")) ; possible second prefix
;; (group (syntax string-quote)) ; maybe gets property
;; (backref 2) ; per first quote
;; (group (backref 2))) ; maybe gets property
;; Backrefs don't work in syntax-propertize-rules!
"\\([RUru]\\)?[Rr]?\\(?:\\('\\)'\\('\\)\\|\\(?2:\"\\)\"\\(?3:\"\\)\\)"
(
;; ¡Backrefs don't work in syntax-propertize-rules!
(
concat
"\\(?:\\([RUru]\\)[Rr]?\\|^\\|[^\\]\\(?:\\\\.\\)*\\)"
;Prefix.
"\\(?:\\('\\)'\\('\\)\\|\\(?2:\"\\)\"\\(?3:\"\\)\\)"
)
(
3
(
ignore
(
python-quote-syntax
))))
;; This doesn't really help.
;;((rx (and ?\\ (group ?\n))) (1 " "))
...
...
lisp/progmodes/tcl.el
View file @
d607b96b
...
...
@@ -607,15 +607,11 @@ Commands:
(set (make-local-variable 'dabbrev-abbrev-skip-leading-regexp) "[$!]")
(set (make-local-variable 'dabbrev-abbrev-char-regexp) "\\sw\\|\\s_
")
;; This can only be set to t in Emacs 19 and XEmacs.
;; Emacs 18 and Epoch lose.
(set (make-local-variable 'parse-sexp-ignore-comments) t)
;; XEmacs has defun-prompt-regexp, but I don't believe
;; that it works for end-of-defun -- only for
;; beginning-of-defun.
(set (make-local-variable 'defun-prompt-regexp) tcl-omit-ws-regexp)
;; The following doesn't work in Lucid Emacs 19.6, but maybe
;; it will appear in later versions.
(set (make-local-variable 'add-log-current-defun-function)
'tcl-add-log-defun)
...
...
@@ -1201,11 +1197,7 @@ semicolon, opening brace, or opening bracket on the same line."
"Determine if point is in a comment.
Returns a list of the form `(FLAG . STATE)'. STATE can be used
as input to future invocations. FLAG is nil if not in comment,
t otherwise. If in comment, leaves point at beginning of comment.
This function does not work in Emacs 18.
See also `tcl-simple-scan-for-comment', a
simpler version that is often right, and works in Emacs 18."
t otherwise. If in comment, leaves point at beginning of comment."
(
let
((
bol
(
save-excursion
(
goto-char
end
)
(
line-beginning-position
)))
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment