* lisp/progmodes/python.el (run-python): Explain why we remove the current
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c04f2ac0
SM
12010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
bac2de0f
SM
3 * progmodes/python.el (run-python): Explain why we remove the current
4 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
5
c04f2ac0
SM
6 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
7
7100ff98
SM
82010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9
03f70355
SM
10 * progmodes/octave-mod.el: Rely on elecric-*-modes.
11 (octave-mode-map): Don't bind ;, SPC, and LF.
12 (octave-auto-indent, octave-auto-newline): Remove.
13 (electric-layout-rules): Declare.
14 (octave-mode): Set electric-layout-rules.
15 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
16 (octave-reindent-then-newline-and-indent, octave-electric-semi)
17 (octave-electric-space): Remove.
18
7100ff98
SM
19 * electric.el (electric-layout-mode): New minor mode.
20 (electric--after-char-pos): New function.
21 (electric-indent-post-self-insert-function): Use it.
22 (electric-layout-rules): New var.
23 (electric-layout-post-self-insert-function): New function.
24 (electric-indent-mode): Make them interact better.
25
cca982d0
SM
262010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
29 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
30 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
31
84992dff
AM
322010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
33
34 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
35 Make sure to check inside the word (Bug#6761).
36
afa42fe3
CY
372010-11-14 Chong Yidong <cyd@stupidchicken.com>
38
39 * startup.el (command-line): If the cursorColor resource is set,
40 change the cursor face-spec (Bug#7392).
41
a798747d 422010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
1c9b9df0 43
a798747d 44 The main features of the following allout.el changes are:
1c9b9df0
KM
45 - implement user customization for the allout key bindings
46 - add a customization control by which the user can inhibit use of
a798747d 47 a trailing Ctrl-H, so by default it's reserved for use with
1c9b9df0
KM
48 describe-prefix-bindings
49 - adapt to new version of called-interactively-p, while
a798747d 50 maintaining backwards compatibility with old version
1c9b9df0
KM
51 - fix hotspot navigation so i works properly with meta-modified keys
52
a798747d
GM
53 * allout.el (allout-keybindings, allout-bind-keys)
54 (allout-keybindings-binding, allout-prefixed-keybindings)
55 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
56 (allout-keybindings-list, allout-mode-map-adjustments)
57 (allout-setup-mode-map): Establish allout-mode keymaps as user
58 customizable settings, and also establish a customizable setting which
59 regulates whether or not a trailing control-h is reserved for use with
60 describe-prefix-bindings - and inhibit it by default, so that control-h
61 *is* reserved for describe-prefix-bindings unless the user changes it.
62
63 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
64 and accurately between modified and unmodified events, and handle
1c9b9df0
KM
65 modified events more comprehensively.
66
a798747d
GM
67 * allout.el (allout-substring-no-properties):
68 Alias to use or provide version of `substring-no-properties'.
69 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1c9b9df0 70
a798747d
GM
71 * allout.el (allout-next-single-char-property-change):
72 Alias to use or provide version of `next-single-char-property-change'.
73 (allout-annotate-hidden, allout-hide-by-annotation):
74 Use `allout-next-single-char-property-change'.
1c9b9df0 75
a798747d
GM
76 * allout.el (allout-select-safe-coding-system):
77 Alias to use or provide version of `select-safe-coding-system'.
78 (allout-toggle-subtree-encryption):
79 Use `allout-select-safe-coding-system'.
1c9b9df0 80
a798747d
GM
81 * allout.el (allout-set-buffer-multibyte):
82 Alias to use or provide version of `set-buffer-multibyte'.
83 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1c9b9df0 84
a798747d
GM
85 * allout.el (allout-called-interactively-p): Macro for using the
86 different versions of called-interactively-p identically, depending on
87 the subroutine's argument signature.
88 (allout-back-to-current-heading, allout-beginning-of-current-entry):
89 Use `(interactive "p")' instead of `(called-interactively-p)'.
1c9b9df0 90
a798747d
GM
91 * allout.el (allout-init, allout-ascend, allout-end-of-level)
92 (allout-previous-visible-heading, allout-forward-current-level)
93 (allout-backward-current-level, allout-show-children):
94 Use `allout-called-interactively-p' instead of `called-interactively-p'.
1c9b9df0 95
a798747d
GM
96 * allout.el (allout-before-change-handler):
97 Exempt edits to the (overlaid) character after the allout outline
98 bullet from edit confirmation prompt.
1c9b9df0 99
a798747d
GM
100 * allout.el (allout-add-resumptions):
101 Ensure that it respects correct buffer for keybindings.
1c9b9df0 102
a798747d
GM
103 * allout.el (allout-beginning-of-line):
104 Use `allout-previous-single-char-property-change' alias for the sake of
105 diverse compatibility.
1c9b9df0 106
a798747d
GM
107 * allout.el (allout-end-of-line):
108 Use `allout-mark-active-p' to encapsulate respect for mark activity.
1c9b9df0 109
0216b738
CY
1102010-11-13 Chong Yidong <cyd@stupidchicken.com>
111
112 * frame.el (frame-notice-user-settings): Don't clobber other
113 user-set parameters when calling face-set-after-frame-default in
114 response to background-color parameter (Bug#7373).
115
0eb025fb
EZ
1162010-11-13 Eli Zaretskii <eliz@gnu.org>
117
118 * international/characters.el (glyphless-char-display-control):
4a9f985c
EZ
119 Renamed from glyphless-char-control; all users changed. Doc fix.
120 Signal an error if display method is not one of the recognized
121 symbols.
0eb025fb 122
6e060cee
MA
1232010-11-13 Michael Albinus <michael.albinus@gmx.de>
124
125 * net/tramp-compat.el (tramp-compat-line-beginning-position)
126 (tramp-compat-line-end-position): Remove them.
127
128 * net/tramp.el (tramp-parse-rhosts-group)
129 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
130 (tramp-parse-hosts-group, tramp-parse-passwd-group)
131 (tramp-parse-netrc-group, tramp-parse-putty-group)
132 * net/tramp-cmds.el (tramp-append-tramp-buffers)
133 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
134 (tramp-sh-handle-file-selinux-context)
135 (tramp-sh-handle-file-name-all-completions)
136 (tramp-sh-handle-insert-directory)
137 (tramp-sh-handle-expand-file-name, tramp-find-executable)
138 (tramp-wait-for-output, tramp-send-command-and-read)
139 * net/tramp-smb.el (tramp-smb-read-file-entry)
140 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
141
142 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
143 `point-at-bol'.
144 (tramp-remote-coding-commands): Add an alternative using "base64
145 -d -i". This is needed for older base64 versions from GNU
146 coreutils. Reported by Klaus Reichl
147 <Klaus.Reichl@thalesgroup.com>.
148
8da5345f
HN
1492010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
150
151 * simple.el (count-words-region): New function.
152
c156a63b
SM
1532010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
154
78835dd0
SM
155 * shell.el (shell-dir-cookie-re): New custom variable.
156 (shell-dir-cookie-watcher): New function.
157
ebff325e
SM
158 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
159 and compilation-mode (bug#7350).
160
4e9e1584
SM
161 * vc/smerge-mode.el (smerge-refine): Choose better default part to
162 highlight when one of them is empty.
163
4490f875
SM
164 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
165 trailing space.
166 (skeleton-newline): New function.
167 (skeleton-internal-1): Use it.
168
c156a63b
SM
169 * simple.el (open-line): `newline' may strip trailing space.
170
f3bb9e16
KR
1712010-11-12 Kevin Ryde <user42@zip.com.au>
172
173 * international/mule-cmds.el (princ-list): Use mapc.
174
7847454a
GM
1752010-11-12 Glenn Morris <rgm@gnu.org>
176
177 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
178 Use it to replace all instances of "*Compile-Log*"
179
aa310257
SM
1802010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
181
182 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
183 indentation specs.
184
cbf83ce9
SM
1852010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
186
187 * progmodes/modula2.el: Use SMIE and skeleton.
188 (m2-mode-syntax-table): (*..*) can be nested.
189 Add //...\n. Fix paren syntax.
190 (m2-mode-map): Remove LF and TAB bindings.
191 (m2-indent): Add safety property.
192 (m2-smie-grammar): New var.
193 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
194 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
195 (m2-mode): Use define-derived-mode.
196 (m2-newline, m2-tab): Remove.
197 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
198 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
199 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
200 (m2-import): Use define-skeleton.
201
e7c4fb1e
GM
2022010-11-11 Glenn Morris <rgm@gnu.org>
203
b3e4c911
GM
204 * obsolete/lucid.el: Don't warn about any CL functions in this file.
205
b3e22bd4
GM
206 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
207 (ls-lisp-verbosity): Add custom :set-after property.
208 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
209 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
210 (ls-lisp-insert-directory): Update caller.
606dcd9e
GM
211 (ls-lisp-set-options): New function.
212 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
213 Doc fix.
b3e22bd4 214
55a4b4fe
GM
215 * play/landmark.el (lm-prompt-for-move):
216 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
217
e7c4fb1e
GM
218 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
219
220 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
221 (idlwave-study-twins): Prefix dynamic local variable `name'.
222 (idlwave-routine-twin-compare): Update for above change.
223
224 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
225 Prefix dynamic local variables `name', `kwd', and `link'.
226 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
227 * progmodes/idlw-complete-structtag.el
228 (idlwave-complete-structure-tag-help):
229 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
230 (idlwave-complete-sysvar-tag-help)
231 (idlwave-complete-class-structure-tag-help):
232 Update for above name changes.
233
afe2870b
LMI
2342010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
235
236 * net/browse-url.el (browse-url-browser-function): Change the
237 default to use `browse-url-mail' on mailto: URLs.
238
fbe3be3f
CY
2392010-11-10 Chong Yidong <cyd@stupidchicken.com>
240
cbf83ce9
SM
241 * emacs-lisp/package.el (package-read-all-archive-contents):
242 Reset package-archive-contents to nil before re-reading.
fbe3be3f 243
a7cfbaea 2442010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
bd4532fc
AM
245
246 * textmodes/flyspell.el (flyspell-word): Do not re-check words
247 already found as misspellings by (flyspell-large-region), just
c97685d4 248 do highlighting (bug#7322).
bd4532fc 249
13e7256f
GM
2502010-11-10 Glenn Morris <rgm@gnu.org>
251
6d2a1e35
GM
252 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
253
d4aca69c
GM
254 * emulation/edt.el (edt-with-position): New macro.
255 (edt-find-forward, edt-find-backward, edt-find-next-forward)
256 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
257 (edt-paragraph-forward, edt-paragraph-backward): Use it.
258
f8a09adb
GM
259 * emulation/tpu-extras.el (tpu-with-position): New macro.
260 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
261
c026460b
GM
262 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
263
dea53a43
GM
264 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
265 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
266 (texinfo-master-menu, texinfo-insert-node-lines)
267 (texinfo-multiple-files-update):
268 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
269 Use line-beginning-position.
270
72bc50c0
GM
271 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
272 No recent Emacs supports system-type `emx'.
273
274 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
275 (ada-command-separator, ada-default-prj-properties)
276 (ada-find-any-references): Update for above name change.
277
278 * dirtrack.el (dirtrack-directory-function)
279 (dirtrack-canonicalize-function):
280 * filecache.el (file-cache-completion-ignore-case)
281 (file-cache-case-fold-search, file-cache-ignore-case):
282 * term.el (serial-port-is-file-p): Cosmetic change.
283
284 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
285 Remove non-existent `windows-95' system-type.
286 * dired.el (dired-chown-program): Remove non-existent `linux'
287 system-type.
288
17731c39
GM
289 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
290 (ping-program-options): Remove non-existent `linux' system-type.
291
9228bbd3
GM
292 * startup.el (package-initialize): Update declaration.
293
6e404950
GM
294 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
295 (ls-lisp-handle-switches): Use time-less-p.
296 (ls-lisp-format-time): Use float-time.
297
6f0d4bb6
GM
298 * textmodes/remember.el (remember-time-to-seconds): Remove.
299 (remember-store-in-mailbox): Use float-time.
300
301 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
302
303 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
304 never a real function.
305 (with-no-warnings): Remove compat stub, now unused.
306 (time-less-p): Doc fix.
307 (time-to-number-of-days): Simplify.
308
73171bd4
GM
309 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
310 Remove.
311 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
312 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
313 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
314 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
315 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
316
13e7256f
GM
317 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
318 (eshell-shuffle-files, eshell-shorthand-tar-command)
319 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
320 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
321 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
322 Prefix dynamic local variable `matches'.
323
b565f5a1
GM
324 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
325 Prefix dynamic local variable `skeleton'.
326
5ad3e885
KY
3272010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
328
329 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
330 in mail buffer; make yank-action always a command that yanks original
331 buffer.
332
14121c52
GM
3332010-11-09 Glenn Morris <rgm@gnu.org>
334
335 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
336
d607b96b 3372010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
73525e72 338
9bdba5f5
SM
339 * minibuffer.el (minibuffer-completion-help): Specify the end of the
340 completion field (bug#7211).
341
73525e72
SM
342 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
343 Fix handling of backslash escapes.
344 (python-quote-syntax): Adjust accordingly.
345
d607b96b 3462010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
05539fb3
RL
347
348 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
349 (vc-mtn-workfile-branch): Adjust to new output format.
350
d607b96b 3512010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
cc4d2366
SM
352
353 * international/mule-cmds.el (princ-list): Mark as obsolete.
354
d607b96b 3552010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7f925a67
SM
356
357 * emacs-lisp/smie.el: New package.
358
d607b96b 3592010-11-09 Michael Albinus <michael.albinus@gmx.de>
6ce78fdc 360
7f925a67
SM
361 * files.el (backup-by-copying-when-mismatch):
362 Set `permanent-local' property.
6ce78fdc
MA
363
364 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
09def8be 365 `permanent-local' property for `backup-by-copying-when-mismatch'.
6ce78fdc 366
d607b96b 3672010-11-09 Eli Zaretskii <eliz@gnu.org>
21620882
EZ
368
369 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
370
d607b96b 3712010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
8468f78b 372
7f925a67 373 * progmodes/verilog-mode.el (verilog-insert-one-definition)
8468f78b 374 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
7f925a67
SM
375 AUTOINOUT for SV style multidimensional arrays, bug294.
376 Reported by Eric Mastromarchi.
377 (verilog-preprocess): Use with-current-buffer and
8468f78b
WS
378 font-lock-fontify-buffer to cleanup style issues.
379
d607b96b 3802010-11-09 Glenn Morris <rgm@gnu.org>
cb5e49a3
GM
381
382 * locate.el (locate, locate-mode): Doc fixes.
383
d607b96b 3842010-11-09 Chong Yidong <cyd@stupidchicken.com>
381d186f
CY
385
386 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
387 user for confirmation.
388 (server-force-stop): Use it.
389 (server-start): Use server-force-stop for kill-emacs-hook, to
390 avoid user interaction while killing Emacs.
391
9b026d9f
GM
3922010-11-09 Glenn Morris <rgm@gnu.org>
393
3406534c 394 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
e814121e 395 (meta-indent-line): Simplify.
3406534c 396
9b026d9f
GM
397 * vc/emerge.el (emerge-line-number-in-buf):
398 * textmodes/ispell.el (ispell-region):
399 * textmodes/fill.el (current-fill-column):
400 * progmodes/xscheme.el (xscheme-send-current-line):
401 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
402 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
403 * progmodes/sh-script.el (sh-handle-prev-do):
404 * progmodes/meta-mode.el (meta-indent-line):
405 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
406 (idlwave-in-quote):
407 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
408 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
409 * progmodes/fortran.el (fortran-looking-at-if-then):
410 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
411 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
412 (cperl-find-pods-heres):
413 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
414 * net/quickurl.el (quickurl-list-insert):
415 * net/ldap.el (ldap-search-internal):
416 * net/eudc.el (eudc-expand-inline):
417 * mail/sendmail.el (sendmail-send-it):
418 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
419 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
420 (viper-brac-function):
421 * calc/calc-yank.el (calc-do-grab-region):
422 * calc/calc-keypd.el (calc-keypad-press):
423 * term.el (term-move-columns, term-insert-spaces):
424 * speedbar.el (speedbar-highlight-one-tag-line):
425 * simple.el (current-word):
426 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
427 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
428 (Info-scroll-down):
429 * hippie-exp.el (he-line-beg):
430 * epa.el (epa--marked-keys):
431 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
432 (dired-update-file-line, dired-add-entry, dired-remove-entry)
433 (dired-relist-entry):
434 * buff-menu.el (Buffer-menu-buffer):
435 * array.el (current-line):
436 * allout.el (allout-resolve-xref)
437 (allout-latex-verbatim-quote-curr-line):
438 Replace yet more uses of end-of-line etc with line-end-position, etc.
439
db94771e
SM
4402010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
441
1398b795
SM
442 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
443 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
444 (checkdoc-syntax-table): Initialize in the declaration.
445 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
446 the mode on unconditionally.
447
db94771e
SM
448 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
449 (extent-end-position, extent-start-position): Remove setf method for
450 non-existing functions (bug#7319).
451
674728d4
SM
4522010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
453
454 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
455 (smie-precs->prec2): Rename from smie-precs-precedence-table.
456 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
457 (smie-prec2->grammar): Rename from smie-prec2-levels.
458 (smie-grammar): Rename from smie-op-levels.
459 (smie-indent--hanging-p): Rename from smie-hanging-p.
460 (smie-rule-hanging-p): New alias.
461 (smie-indent--bolp): Rename from smie-bolp.
462 (smie-indent--hanging-p): New alias.
463 (smie--token): New dynamically bound variable.
464 (smie-indent--parent): New function.
465 (smie-rule-parent-p): Use it; rename from smie-parent-p.
466 (smie-rule-next-p): Rename from smie-next-p.
467 (smie-rule-prev-p): Rename from smie-prev-p.
468 (smie-rule-sibling-p, smie-rule-parent)
469 (smie-indent--separator-outdent, smie-rule-separator): New functions.
470 (smie-rule-separator-outdent): New var.
471 (smie-indent--rule): Merge with smie-indent--column.
472 (smie-indent-forward-token, smie-indent-backward-token):
473 Also recognize close parens.
474 (smie-indent-keyword): Don't use smie-indent--column any more.
475 (smie-indent-after-keyword): Ignore closers by default.
476 (smie-indent-line): Use with-demoted-errors.
477 * progmodes/octave-mod.el (octave-smie-grammar):
478 Rename from octave-smie-op-levels.
479 (octave-smie-rules): Adjust to new behavior.
480 * progmodes/prolog.el (prolog-smie-grammar):
481 Rename from prolog-smie-op-levels.
482
26f097bf
GM
4832010-11-07 Glenn Morris <rgm@gnu.org>
484
de3490e1
GM
485 * eshell/esh-util.el (subst-char-in-string)
486 (directory-files-and-attributes): These compatibility definitions are
487 not needed on any version of Emacs since at least 21.4.
488
3ba6b2ee
GM
489 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
490 (verilog-get-end-of-line): Remove.
491 (verilog-within-string, verilog-re-search-forward-substr)
492 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
493 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
494 Use point-at-bol, point-at-eol.
495 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
496 Remove.
497 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
498 (electric-pascal-terminate-line, pascal-set-auto-comments)
499 (pascal-indent-paramlist, pascal-indent-declaration)
500 (pascal-get-lineup-indent, pascal-func-completion)
501 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
502 Use point-at-bol, point-at-eol.
503 * progmodes/flymake.el (flymake-line-beginning-position)
504 (flymake-line-end-position): Remove.
505 (flymake-highlight-line): Use point-at-bol, point-at-eol.
506 * eshell/esh-util.el (line-end-position, line-beginning-position):
507 Remove compat definitions.
508
76fc02b6
GM
509 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
510 Use end-of-line N.
511 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
512 Use line-end-position.
513
e180ab9f
GM
514 * emacs-lisp/chart.el (chart-zap-chars):
515 * play/decipher.el (decipher-set-map):
516 * progmodes/ada-mode.el (ada-get-current-indent)
517 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
518 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
519 * progmodes/ada-xref.el (ada-initialize-runtime-library)
520 (ada-get-all-references):
521 * progmodes/cperl-mode.el (cperl-electric-paren)
522 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
523 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
524 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
525 (cperl-word-at-point-hard):
526 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
527 (idlwave-shell-filename-string, idlwave-shell-batch-command)
528 (idlwave-shell-display-line):
529 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
530 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
531 * progmodes/js.el (js--re-search-forward-inner)
532 (js--re-search-backward-inner):
533 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
534 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
535 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
536 * textmodes/flyspell.el (flyspell-process-localwords):
537 * textmodes/ispell.el (ispell-buffer-local-parsing)
538 (ispell-buffer-local-dict, ispell-buffer-local-words):
539 Use point-at-bol and point-at-eol.
540
26f097bf
GM
541 * speedbar.el (speedbar-generic-item-info)
542 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
543 (speedbar-add-indicator, speedbar-check-vc-this-line)
544 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
545 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
546 Replace more uses of end-of-line etc with line-end-position.
547
b05fde66
GM
5482010-11-06 Glenn Morris <rgm@gnu.org>
549
5ed619e0
GM
550 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
551 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
552 (texinfo-delete-existing-pointers, texinfo-find-pointer)
553 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
554 (texinfo-multiple-files-update):
555 * textmodes/table.el (table--probe-cell-left-up)
556 (table--probe-cell-right-bottom):
557 * textmodes/picture.el (picture-tab-search):
558 * textmodes/page-ext.el (pages-copy-header-and-position)
559 (pages-directory-for-addresses):
560 * progmodes/vera-mode.el (vera-get-offset):
561 * progmodes/simula.el (simula-calculate-indent):
562 * progmodes/python.el (python-pdbtrack-overlay-arrow):
563 * progmodes/prolog.el (end-of-prolog-clause):
564 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
565 * progmodes/icon.el (indent-icon-exp):
566 * progmodes/etags.el (tag-re-match-p):
567 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
568 * progmodes/ebnf2ps.el (ebnf-begin-file):
569 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
570 (dcl-save-local-variable):
571 * play/life.el (life-setup):
572 * play/gametree.el (gametree-looking-at-ply):
573 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
574 * mail/sendmail.el (mail-mode-auto-fill):
575 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
576 * emacs-lisp/edebug.el (edebug-overlay-arrow):
577 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
578 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
579 (woman-tab-to-tab-stop, WoMan-warn-ignored):
580 * type-break.el (type-break-file-keystroke-count):
581 * term.el (term-replace-by-expanded-history-before-point)
582 (term-skip-prompt, term-extract-string):
583 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
584 (speedbar-contract-line, speedbar-toggle-line-expansion)
585 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
586 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
587 * sort.el (sort-skip-fields):
588 * skeleton.el (skeleton-internal-list):
589 * simple.el (line-move-finish, line-move-to-column):
590 * shell.el (shell-forward-command):
591 * misc.el (copy-from-above-command):
592 * makesum.el (double-column):
593 * ebuff-menu.el (electric-buffer-update-highlight):
594 * dired.el (dired-move-to-end-of-filename):
595 * dframe.el (dframe-popup-kludge):
596 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
597 * arc-mode.el (archive-get-lineno):
598 Use line-end-position and line-beginning-position.
599
e2a9c0bc
GM
600 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
601 (idlwave-study-twins): Prefix dynamic local `class'.
602 (idlwave-routine-twin-compare): Update for above name change.
603
4e44448f
GM
604 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
605 Use boundp tests to silence compiler. Update for changed name of
606 bytecomp-filename variable.
607
8f6c3eac
GM
608 * emulation/viper-cmd.el (viper-read-string-with-history):
609 Prefix dynamic local `initial'.
610 (viper-minibuffer-standard-hook): Update for above name change.
611
79d1dabe
GM
612 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
613 (elint-init-form): Update for above name change.
614
0e4bb7f0
GM
615 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
616 local variables `cbeg' and `cend' a prefix.
617 (mail-extr-voodoo): Update for above name change.
618
c8f3bf36
GM
619 * textmodes/reftex-toc.el (reftex-toc-do-promote)
620 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
621 (reftex-toc-promote-action): Doc fix.
622
623 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
624 `prompt', `data' a prefix.
625 (reftex-select-post-command-hook, reftex-select-callback)
626 (reftex-select-mouse-accept, reftex-select-read-cite):
627 Update for above name changes.
628
629 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
630 `refstyle' to reftex-refstyle.
631 (reftex-offer-label-menu): Update for above name change.
632 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
633 `refstyle' name change.
634
b05fde66
GM
635 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
636 with with-current-buffer.
637 (diff, template): Give dynamic local variables a prefix.
638 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
639 (emerge-line-number-in-buf): Update for above name change.
640 (emerge-combine-versions-internal): Rename local `template' to
641 emerge-combine-template.
642 (emerge-combine-versions-edit): Update for above name change.
643
5d8f9169
RA
6442010-11-06 Ralf Angeli <angeli@caeruleus.net>
645
646 * textmodes/reftex-cite.el
647 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
648 entries with whitespace after \bibitem.
649 (reftex-create-bibtex-file): Match entries containing numbers and
650 symbol constituents. Make sure that entries with whitespace at
651 various places are found.
652
f8aefe82
MA
6532010-11-05 Christian Millour <cm@abtela.com> (tiny change)
654
655 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
656
e06918d2
JD
6572010-11-05 Jan Djärv <jan.h.d@swipnet.se>
658
659 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
660
17fc58c9
GM
6612010-11-05 Glenn Morris <rgm@gnu.org>
662
f7fe4837
GM
663 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
664 (woman2-roff-buffer): Give local variable `request' a prefix.
665 (woman0-macro): Rename argument `request' in the same way.
666 (woman-request): New name for `request' dynamic variable.
667 (woman-unquote, woman-forward-arg): Update for above name change.
668 (woman1-roff-buffer): Give local variable `unquote' a prefix.
669 (woman1-unquote): New name for `unquote' dynamic variable.
670 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
671 (woman-translations): Rename from `translations'. No longer global.
672 (woman2-tr, woman-translate): Update for above name change.
673 (woman-translate): Check for bound variable.
674 (woman2-roff-buffer): Give local variable `translations' a prefix.
675
869c4186
GM
676 * play/doctor.el: Give all local variables a prefix. Update callers.
677 (doc$, doctor-put-meaning): Use backquote.
678
215461a8
GM
679 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
680 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
681
17fc58c9
GM
682 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
683 variables bytes, ptr, op a prefix.
684 (disassemble-offset): Update for above change.
685
015eea59
CY
6862010-11-03 Chong Yidong <cyd@stupidchicken.com>
687
688 * emacs-lisp/package.el (package-unpack): Remove no-op.
689 (package--builtins, package--dir): Doc fix.
690 (package-activate-1, package-activate, package-install)
691 (package-compute-transaction): Fix error message.
692 (package-delete): Use delete-directory. Omit system packages.
693 (package-initialize): Set package-alist to nil first.
694 (package-menu-mark-delete, package-menu-mark-install): Don't add
695 symbols that are inconsistent with the package state.
696 (package-menu-execute): Perform deletions and installations as
697 single batch operations.
698
033862d1
GM
6992010-11-03 Glenn Morris <rgm@gnu.org>
700
0b03a950
GM
701 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
702 (props): Remove unnecessary declaration.
703
e337e22c
GM
704 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
705 set-process-query-on-exit-flag.
706
a88e24dd 707 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
728618ba
GM
708 (reftex-toc-do-promote): Remove unused local `mpos'.
709 (reftex-toc-restore-region): Make `mpos' local to this function.
a88e24dd 710
537b04b9
GM
711 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
712
52365e61
GM
713 * play/landmark.el (lm-losing-threshold): Correct spelling.
714 (lm-human-plays): Use new name.
715
cd32f8a9
GM
716 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
717 (gomoku-human-plays): Use new name.
718
033862d1
GM
719 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
720 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
721 (gomoku-score-trans-table, gomoku-winning-threshold)
722 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
723
4b99edf2
CY
7242010-11-03 Chong Yidong <cyd@stupidchicken.com>
725
726 * emacs-lisp/package.el: Don't put built-in packages in
727 package-alist, to avoid loading inefficiencies.
728 (package-built-in-p): Make VERSION optional, and treat it as a
729 minimum acceptable version.
730 (package-activate): Search separately for built-in packages. Emit
731 a warning if a dependency fails.
732 (define-package): Handle most common case, where there is no
733 obsolete package, first.
734 (package-compute-transaction): Print required version in error.
735 (package--initialized): New variable.
736 (list-packages): Use it.
737 (package-initialize): Optional arg NO-ACTIVATE. Don't put
738 built-in packages in packages-alist; keep it separate. Set
739 package--initialized.
740 (describe-package): Avoid activating packages as a side-effect.
741 Search separately for built-in packages.
742 (describe-package-1): Handle the case where an elpa package is
743 simultaneously built-in and available/installed.
744 (package-installed-p, package--generate-package-list): Search
745 separately for built-in packages.
746 (package-load-descriptor): Doc fix.
747
3225dcaa
SM
7482010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
749
750 * progmodes/perl-mode.el (perl-syntax-propertize-function):
751 Handle __DATA__ and __END__.
752
fa14dc18
NF
7532010-11-02 Noah Friedman <friedman@splode.com>
754
755 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
756 nil, do not ask to recompile files that are not already compiled,
757 and do not recompile them.
758
0f75c62a
CY
7592010-11-02 Chong Yidong <cyd@stupidchicken.com>
760
761 * emacs-lisp/package.el (package-initialize): Ensure that
762 obsoleted built-in packages are not in package-activated-list
763 during activation.
764 (describe-package-1): Make the "installed" status override
765 "built-in".
766
b29f5b7b
VJL
7672010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
768
769 * subr.el (version-separator, version-regexp-alist): Remove '*'
770 from docstring.
771 (version-list-<=, version<=, version=): Doc fix.
772
b18fad6d
KH
7732010-11-01 Kenichi Handa <handa@m17n.org>
774
775 * faces.el (glyphless-char): Inherit underline for tty.
776
a8039db1 7772010-11-01 Kenichi Handa <handa@m17n.org>
b2cca856
KH
778
779 Implement various display methods for glyphless characters.
780
781 * international/characters.el (char-acronym-table): New variable.
782 (glyphless-char-control): New variable.
783 (update-glyphless-char-display): New funciton.
784
785 * faces.el (glyphless-char): New face.
786
28886d5e
GM
7872010-11-01 Glenn Morris <rgm@gnu.org>
788
919dd7aa
GM
789 * calendar/holidays.el (general-holidays, oriental-holidays)
790 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
791 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
792 the definitions of their targets.
793
c79fc059
GM
794 * emacs-lisp/smie.el (smie): New custom group.
795 (smie-blink-matching-inners, smie-indent-basic): Add :group.
796
c8ccffb1
GM
797 * faces.el (xw-defined-colors, x-setup-function-keys):
798 * mouse-sel.el (x-select-text):
799 * term/w32console.el (x-setup-function-keys): Update declarations.
800
f4ff702e
GM
801 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
802
806c491a
GM
803 * textmodes/ispell.el (comment-add): Declare.
804
c3dfebd1
GM
805 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
806 Declare.
807
28886d5e
GM
808 * info.el (finder-keywords-hash, package-alist): Declare.
809
693c9d15
CY
8102010-11-01 Chong Yidong <cyd@stupidchicken.com>
811
812 * finder.el (finder-compile-keywords): Don't use intern-soft,
813 since package names may not yet exist in the obarray.
814
8152010-11-01 Chong Yidong <cyd@stupidchicken.com>
4624de78
CY
816
817 * vc/vc-arch.el (vc-arch-checkin):
818 * vc/vc-cvs.el (vc-cvs-checkin):
819 * vc/vc-mtn.el (vc-mtn-checkin):
820 * vc/vc-rcs.el (vc-rcs-checkin):
821 * vc/vc-sccs.el (vc-sccs-checkin):
822 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
823 since 2010-04-21 commit by Stefan Monnier.
824
36967cf7
GM
8252010-11-01 Glenn Morris <rgm@gnu.org>
826
feb5e60a
GM
827 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
828
1f023ca9
GM
829 * startup.el (package-enable-at-startup, package-initialize):
830 Silence compiler.
831
36967cf7
GM
832 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
833 Silence compiler.
834
430e7297
JD
8352010-10-31 Julien Danjou <julien@danjou.info>
836
837 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
838 (byte-recompile-directory):
839 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
430e7297
JD
840 Use `byte-recompile-file'.
841
c8c59954
GM
8422010-10-31 Glenn Morris <rgm@gnu.org>
843
844 * cus-start.el: Handle standard values via a keyword.
845 Only set version property if specified.
846 (cursor-in-non-selected-windows, menu-bar-mode)
847 (tool-bar-mode, show-trailing-whitespace):
848 Do not specify standard values.
849 (transient-mark-mode, temporary-file-directory): Use :standard.
850
04e63796
JD
8512010-10-31 Jan Djärv <jan.h.d@swipnet.se>
852
853 * term/x-win.el (x-get-selection-value): New function that gets
854 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
855
2699a554 8562010-10-31 Michael Albinus <michael.albinus@gmx.de>
a057950d
MA
857
858 * net/tramp.el (tramp-handle-insert-file-contents): For root,
859 preserve owner and group when editing files. (Bug#7289)
860
35fcc05c 8612010-10-31 Glenn Morris <rgm@gnu.org>
d2ce10d2
GM
862
863 * speedbar.el (speedbar-mode):
864 * play/fortune.el (fortune-in-buffer, fortune):
865 * play/gomoku.el (gomoku-mode):
866 * play/landmark.el (lm-mode):
867 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
868 Replace inappropriate uses of toggle-read-only. (Bug#7292)
869
82f7efc3
GM
870 * select.el (x-selection): Mark it as an obsolete alias.
871
2699a554 8722010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
ca39416c 873
f486841f 874 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
ca39416c
AH
875 major-mode (bug#7284).
876
2699a554 8772010-10-31 Glenn Morris <rgm@gnu.org>
aab705a2
GM
878
879 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
880 rather than just an unused variable that inherits from the real one.
881
e6ef5dd9
AM
8822010-10-31 Alan Mackenzie <acm@muc.de>
883
884 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
885 This fixes bug #7185.
886
8a500a91
CY
8872010-10-30 Chong Yidong <cyd@stupidchicken.com>
888
889 * startup.el (command-line): Search for package directories, and
890 don't load package.el if none are found.
891
892 * emacs-lisp/package.el (describe-package, list-packages): Call
893 package-initialize if it has not been called yet.
894
4f9e41e4
AM
8952010-10-30 Alan Mackenzie <acm@muc.de>
896
897 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
898 which fontifies the tail of an enum.
899 (c-basic-matchers-after): Insert a call to the above new function.
900 This fixes bug #7264.
901
88f43c67
GM
9022010-10-30 Glenn Morris <rgm@gnu.org>
903
904 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
905 tool-bar-mode, transient-mark-mode. (Bug#7306)
906 Include the :set property in the dumped Emacs.
907
c4d17d50
SM
9082010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 SMIE: change indent rules format, improve smie-setup.
911 * emacs-lisp/smie.el (smie-precs-precedence-table)
912 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
913 Mark them pure so the tables gets built at compile time.
914 (smie-bnf-precedence-table): Store the closer-alist in the table.
915 (smie-prec2-levels): Preserve the closer-alist.
916 (smie-blink-matching-open): Be more forgiving in case of indentation.
917 (smie-hanging-p): Rename from smie-indent--hanging-p.
918 (smie-bolp): Rename from smie-indent--bolp.
919 (smie--parent, smie--after): New dynamic vars.
920 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
921 (smie-indent-rules): Remove.
922 (smie-indent--offset-rule): Remove fun.
923 (smie-rules-function): New var.
924 (smie-indent--rule): New fun.
925 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
926 (smie-indent-exps): Use it.
927 (smie-setup): Setup paren blinking; add keyword args for token
928 functions; extract closer-alist from op-levels.
929 (smie-indent-debug-log): Remove var.
930 (smie-indent-debug): Remove fun.
931 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
932 (prolog-smie-rules): New fun to replace it.
933 (prolog-mode-variables): Simplify.
934 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
935 it's setup automatically.
936 (octave-smie-indent-rules): Remove.
937 (octave-smie-rules): New fun to replace it.
938 (octave-mode): Simplify.
939
9d794026
GM
9402010-10-29 Glenn Morris <rgm@gnu.org>
941
e088c02a
GM
942 * files.el (temporary-file-directory): Remove (already defined in C).
943 * cus-start.el: Add temporary-file-directory.
944
9d794026
GM
945 * abbrev.el (abbrev-mode):
946 * composite.el (auto-composition-mode):
947 * menu-bar.el (menu-bar-mode):
948 * simple.el (transient-mark-mode):
949 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
950 that they do not define the associated variables twice.
951 * simple.el (transient-mark-mode): Remove defvar.
952 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
953 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
954 Handle multiple groups, and also custom-delayed-init-variables.
955 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
956
dcc029e0
SM
9572010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
958
959 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
960 (pcase-if): Add one minor optimization.
961 (pcase-split-equal): Rename from pcase-split-eq.
962 (pcase-split-member): Rename from pcase-split-memq.
963 (pcase-u1): Add strings to the member optimization.
964 Add `guard' variant of predicates.
965 (pcase-q1): Add string patterns.
966
a62b88d4
SM
9672010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
970
f41f19b0
GM
9712010-10-28 Glenn Morris <rgm@gnu.org>
972
b3edb781
GM
973 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
974 Move menu-bar related settings to ../menu-bar.el.
975 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
976 Move ns-specific settings here from term/ns-win.el.
977
f41f19b0
GM
978 * simple.el (x-selection-owner-p): Remove unused declaration.
979
6175cd08
SM
9802010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * minibuffer.el (completion-cycling): New var (bug#7266).
983 (minibuffer-complete, completion--do-completion):
984 Use completion--flush-all-sorted-completions.
985 (minibuffer-complete): Only cycle if completion-cycling is set.
986 (completion--flush-all-sorted-completions): Unset completion-cycling.
987 (minibuffer-force-complete): Set completion-cycling.
988 (completion-all-sorted-completions): Move declaration before first use.
989
19677c71
LL
9902010-10-28 Leo <sdl.web@gmail.com>
991
992 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
993 which changes the order of matches seen by users (bug#7231).
994
9952010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
77b143eb
JBK
996
997 * progmodes/compile.el (compilation-mode-font-lock-keywords):
998 Don't confuse -omega as "-o mega".
999
2122161f
SM
10002010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
1001
ce8794df
SM
1002 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1003 (log-edit-author): New dynamic var.
1004 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1005 to return the author if different from committer.
1006 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1007
80cb310d
SM
1008 * play/landmark.el: Adjust commenting convention.
1009 (lm-nil-score): Rename from nil-score.
1010 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1011 (OOOOscore): Move into a let in lm-score-trans-table.
1012 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1013
2122161f
SM
1014 * electric.el (electric-indent-chars): Autoload.
1015 * progmodes/octave-mod.el (octave-mode):
1016 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1017 (ruby-mode-abbrev-table): Merge initialization and declaration.
1018
e925113b
GM
10192010-10-27 Glenn Morris <rgm@gnu.org>
1020
208d109c
GM
1021 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1022 variable.
1023
7d3e3843
GM
1024 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1025
e925113b
GM
1026 * term/ns-win.el: Restore require of cl when compiling.
1027 (menu-bar-final-items): Remove non-existent `windows' menu.
1bcc4637
GM
1028 (ns-handle-nxopen): Optionally handle the temp-case.
1029 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1030 (ns-insert-file, ns-find-file): Use `pop'.
e925113b 1031
b94a5a43
GM
10322010-10-26 Glenn Morris <rgm@gnu.org>
1033
1034 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1035
fc3eda04
AR
10362010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
1037
1038 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1039 global map.
1040 * term/common-win.el (x-setup-function-keys): Remove most of the
1041 keymappings. Comment on the remaining ones.
1042
c79b0b1c
PO
10432010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
1044
c31dc2c0 1045 * server.el (server-port): New option. (Bug#854)
c79b0b1c
PO
1046 (server-start): Use server-port.
1047
725513b7
GM
10482010-10-26 Glenn Morris <rgm@gnu.org>
1049
d7d8c62a
GM
1050 * term/ns-win.el (ns-version-string): Remove unused declaration.
1051 (ns-invocation-args): Change to x-invocation-args.
1052 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1053 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1054 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1055 Use x-invocation-args instead of ns-invocation-args.
1056 (ns-initialize-window-system, handle-args-function-alist):
1057 Use x-handle-args instead of ns-handle-args.
1058 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1059 * startup.el (command-line-ns-option-alist): Replace
1060 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1061 ns-handle-iconic with the x- equivalents.
1062
725513b7
GM
1063 * term/common-win.el (x-select-enable-clipboard):
1064 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1065
1066 * term/ns-win.el: No need to require cl when compiling.
1067 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1068 (xw-defined-colors): Use the common-win definitions.
1069 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1070 (ns-handle-iconic): Make it an alias for x-handle-iconic.
1071 * term/common-win.el (x-select-text, x-alternatives-map)
1072 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1073 * loadup.el [ns]: Load common-win.
1074
77ec02d8
DU
10752010-10-26 Daiki Ueno <ueno@unixuser.org>
1076
1077 * epa-mail.el (epa-mail-encrypt): Handle local-part only
6ee79275 1078 recipients; expand mail aliases (Bug#7280).
77ec02d8 1079
6a5c2175
GM
10802010-10-25 Glenn Morris <rgm@gnu.org>
1081
59ba9d59
GM
1082 * term/common-win.el (x-handle-switch): Simplify with pop.
1083 Optionally handle numeric switches.
1084 (x-handle-numeric-switch): Just call x-handle-switch.
1085 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1086 (x-handle-name-switch, x-handle-display, x-handle-args):
1087 Simplify with pop.
1088
6a5c2175
GM
1089 * term/ns-win.el: Do not require easymenu.
1090 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1091 <spell>: Move adjustments to menu-bar.el.
1092 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1093 <separator-undo, spell>: Move ns-win's adjustments here.
1094 * loadup.el [ns]: Do not load easymenu.
1095
01898dc2
CY
10962010-10-24 Chong Yidong <cyd@stupidchicken.com>
1097
1098 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6a5c2175 1099 Delete (Bug#7222).
01898dc2
CY
1100
1101 * startup.el (fancy-startup-tail): Instead of using inline images,
1102 refer to image files from etc/.
1103
1104 * wid-edit.el (checkbox): Likewise.
1105 (widget-image-find): Center image specs.
1106
a44d921f
GM
11072010-10-24 Glenn Morris <rgm@gnu.org>
1108
1109 * term/ns-win.el (x-select-text): Doc fix.
1110 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1111 (x-select-text): Move to term/common-win.
1112 * term/w32-win.el (xw-defined-colors): Move to common-win.
1113 * term/x-win.el (xw-defined-colors, x-alternatives-map)
1114 (x-setup-function-keys, x-select-text): Move to common-win.
1115 * term/common-win.el (x-select-text, x-alternatives-map)
1116 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1117 definitions here.
1118
709228c0 11192010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
a11de514
R
1120
1121 * net/mairix.el (mairix-searches-mode-map):
1122 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1123
0c382083 11242010-10-24 Michael McNamara <mac@mail.brushroad.com>
a03c2342
WS
1125
1126 * verilog-mode.el (verilog-directive-re): Make this variable
1127 auto-built for efficiency of execution and updating.
1128 (verilog-extended-complete-re): Support 'pure' fucntion & task
1129 declarations (these have no bodies).
ca39416c
AH
1130 (verilog-beg-of-statement): General cleanup to enable support of
1131 'pure' fucntion & task declarations (these have no bodies).
1132 These efforts together fix Verilog bug210 from veripool; which was also
a03c2342
WS
1133 noticed by Steve Pearlmutter.
1134 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
ca39416c
AH
1135 (verilog-directive-nest-re, verilog-set-auto-endcomments):
1136 Support `elsif. Reported by Shankar Giri.
a03c2342
WS
1137 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1138 attribute handling for lining up declarations and assignments.
1139 (verilog-beg-of-statement-1): Fix issue where continued declaration
1140 is indented differently if it is after a begin..end clock.
1141 (verilog-in-attribute-p, verilog-skip-backward-comments)
1142 (verilog-skip-forward-comment-p): Support proper treatment of
1143 attributes by indent code. Reported by Jeff Steele.
ca39416c 1144 (verilog-in-directive-p): Fix comment to correctly describe function.
a03c2342
WS
1145 (verilog-backward-up-list, verilog-in-struct-region-p)
1146 (verilog-backward-token, verilog-in-struct-p)
1147 (verilog-in-coverage-p, verilog-do-indent)
1148 (verilog-pretty-declarations): Use verilog-backward-up-list as
1149 wrapper around backward-up-list inorder to properly skip comments.
1150 Reported by David Rogoff.
1151 (verilog-property-re, verilog-endcomment-reason-re)
1152 (verilog-beg-of-statement, verilog-set-auto-endcomments)
1153 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1154 of if). Reported by Max Bjurling and
1155 (verilog-calc-1): Fix for clocking block in modport
1156 declaration. Reported by Brian Hunter.
1157
0c382083 11582010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
a03c2342
WS
1159
1160 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1161 (verilog-gate-keywords, verilog-read-sub-decls)
1162 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1163 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1164 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
1165 (verilog-read-decls): Fix spaces in V2K module parameters causing
1166 mis-identification as interfaces, bug287.
1167 (verilog-read-decls): Fix not treating "parameter string" as a
1168 parameter in AUTOINSTPARAM.
1169 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1170 treating `elsif similar to `endif inside AUTOSENSE.
ca39416c 1171 (verilog-do-indent): Implement correct automatic or static task or
a03c2342
WS
1172 function end comment highlight. Reported by Steve Pearlmutter.
1173 (verilog-font-lock-keywords-2): Fix highlighting of single
1174 character pins, bug264. Reported by Michael Laajanen.
1175 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1176 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1177 (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
1178 interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
ca39416c
AH
1179 (verilog-pretty-expr): Fix interactive arguments, bug272.
1180 Reported by Mark Johnson.
1181 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1182 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
a03c2342
WS
1183 bug269. Suggested by Gary Delp.
1184 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
ca39416c
AH
1185 (verilog-preprocessor, verilog-set-compile-command):
1186 Create verilog-preprocess and verilog-preprocessor to show
1187 preprocessed output.
a03c2342
WS
1188 (verilog-get-beg-of-line, verilog-get-end-of-line)
1189 (verilog-modi-file-or-buffer, verilog-modi-name)
1190 (verilog-modi-point, verilog-within-string): Move defmacro's
1191 before first use to avoid warning. Reported by Steve Pearlmutter.
1192 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1193 (verilog-colorize-region, verilog-highlight-buffer)
1194 (verilog-highlight-includes, verilog-highlight-modules)
1195 (verilog-highlight-region, verilog-mode): Rename colorize to
1196 highlight to match other packages. Disable module highlighting,
1197 as received speed complaints, reenable for experimentation only
1198 using new verilog-highlight-modules.
1199 (verilog-read-decls): Fix regexp stack overflow in very large
1200 AUTO_TEMPLATEs, bug250.
1201 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1202 (verilog-scan): Create verilog-save-buffer-state to standardize
1203 making insignificant changes that shouldn't call hooks.
1204 (verilog-save-no-change-functions, verilog-save-scan-cache)
1205 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1206 Create verilog-save-no-change-functions to wrap verilog-scan
1207 preservation, and fix to work with nested preserved calls.
1208 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1209 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1210 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
1211 (verilog-submit-bug-report): Update variable list to be complete.
1212 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1213 breaking on-the-fly font-locking.
1214 (verilog-colorize-buffer, verilog-colorize-include-files)
1215 (verilog-colorize-include-files-buffer, verilog-colorize-region)
1216 (verilog-load-file-at-mouse, verilog-load-file-at-point)
1217 (verilog-mode, verilog-read-inst-module-matcher): With point on a
1218 AUTOINST cell instance name, middle mouse button now finds-file on
1219 it. Suggested by Brad Dobbie.
1220 (verilog-alw-get-temps, verilog-auto-reset)
1221 (verilog-auto-sense-sigs, verilog-read-always-signals)
1222 (verilog-read-always-signals-recurse): Fix loop indexes being
1223 AUTORESET. AUTORESET now assumes any variables in the
1224 initialization section of a for() should be ignored. Reported by
1225 Dan Dever.
1226 (verilog-error-font-lock-keywords)
1227 (verilog-error-regexp-emacs-alist)
1228 (verilog-error-regexp-xemacs-alist): Fix error detection of
1229 Cadence HAL, reported by David Asher. Repair drift between the
1230 three similar error variables.
1231 (verilog-modi-lookup, verilog-modi-lookup-cache)
1232 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1233 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1234 Fix slow verilog-auto expansion on very large files.
ca39416c
AH
1235 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1236 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
a03c2342
WS
1237 "{1*2{...". Broke in last revision.
1238 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1239 submodule connections with replications "{#{a},#{b}}".
1240
0c382083
CY
12412010-10-24 Juanma Barranquero <lekktu@gmail.com>
1242
1243 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1244 Fix typo in docstring.
1245
12462010-10-24 Kenichi Handa <handa@m17n.org>
1247
1248 * face-remap.el (text-scale-adjust): Call read-event with a proper
1249 prompt.
1250
12512010-10-24 Chong Yidong <cyd@stupidchicken.com>
1252
1253 * emacs-lisp/unsafep.el: Don't mark functions that display
1254 messages as safe. Suggested by Johan Bockgård.
1255
12562010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1257
1258 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1259 Turn comments into docstrings.
1260
1261 * minibuffer.el (completion--replace): Move point where it belongs
1262 when there's a common suffix (bug#7215).
1263
9317e499
CY
12642010-10-24 Chong Yidong <cyd@stupidchicken.com>
1265
1266 Merge read-color and facemenu-read-color (Bug#7242).
1267
1268 * faces.el (read-color): Use the completion code from
1269 facemenu-read-color. Require match in completion. Doc fix.
1270
1271 * facemenu.el (facemenu-read-color): Alias for read-color.
1272 (facemenu-set-foreground, facemenu-set-background): Use
1273 read-color.
1274
1275 * frame.el (set-background-color, set-foreground-color)
1276 (set-cursor-color, set-mouse-color, set-border-color): Use
1277 read-color.
1278
a44d921f 12792010-10-24 Leo <sdl.web@gmail.com>
59dd6f73
LL
1280
1281 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1282 argument of delete-file and delete-directory (Bug#7011).
1283
43207249
CY
12842010-10-24 Chong Yidong <cyd@stupidchicken.com>
1285
1286 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1287 button-buffer-map.
1288
484db896 12892010-10-24 Ralf Angeli <angeli@caeruleus.net>
f34e6aaa
CY
1290
1291 * emacs-lisp/package.el (package--generate-package-list): Make the
1292 *Packages* buffer read-only.
1293
10f5e3e6
AM
12942010-10-24 Alan Mackenzie <acm@muc.de>
1295
1296 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1297 result of `c-beginning-of-decl-1' between invocations of a lambda
1298 function (Bug #7265).
1299
3ec6ca72
DU
13002010-10-24 Daiki Ueno <ueno@unixuser.org>
1301
1302 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1303 executable is not available on the system (Bug#7268).
1304
ec514007
GM
13052010-10-24 Glenn Morris <rgm@gnu.org>
1306
f5f25615
GM
1307 * select.el (selection-coding-system, next-selection-coding-system):
1308 Sync doc with C versions.
3646b86d 1309
8aa0f263
GM
1310 * w32-vars.el (x-select-enable-clipboard):
1311 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1312 * term/common-win.el (x-select-enable-clipboard): Move here.
1313
46710489
GM
1314 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1315 definition of C variable.
1316
ec514007
GM
1317 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1318 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1319 Don't redefine things that are defined in C.
1320 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1321 (show-trailing-whitespace, auto-hscroll-mode)
1322 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1323 Set up the appropriate custom properties.
1324
8a79905d
CY
13252010-10-24 Chong Yidong <cyd@stupidchicken.com>
1326
1327 Bind "C-c ]" to ...
1328 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
1329 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
1330 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
1331 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
1332
aa02a29f
GM
13332010-10-23 Glenn Morris <rgm@gnu.org>
1334
7dfc15df
GM
1335 * textmodes/flyspell.el (flyspell-mode): If there was an error,
1336 say what it was.
1337
66c6abf0
GM
1338 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
1339 Sync docs with C version.
f3d87560 1340
3193e969
GM
1341 * term/ns-win.el (xw-defined-colors):
1342 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
1343
6f748f70
GM
1344 * term/pc-win.el (x-select-enable-clipboard):
1345 * term/x-win.el (x-select-enable-clipboard):
1346 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
1347
7aa93795
GM
1348 * comint.el (comint-password-prompt-regexp): Make it less vague.
1349 Bump version.
1350
17284e30
GM
1351 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
1352
aa02a29f
GM
1353 * help.el (finder-by-keyword): Remove unnecessary autoload.
1354
69b55131
GM
13552010-10-22 Glenn Morris <rgm@gnu.org>
1356
9a0dd02d
GM
1357 * loadup.el: Unconditionally load float-sup.
1358 * paren.el (show-paren-delay):
1359 * emacs-lisp/float-sup.el:
1360 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
1361 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
1362 (lazy-lock-stealth-verbose): Assume float support.
1363 * ps-print.el: Assume float support on Emacs.
1364 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
1365 Remove non-float branch.
1366
69b55131
GM
1367 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
1368 src/Makefile no longer being pre-processed.
1369
7c23d9e8
SM
13702010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1371
1372 * emacs-lisp/find-func.el (find-library): Use test-completion.
1373
23737b4a
LMI
13742010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1375
7c23d9e8 1376 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
23737b4a 1377
6e060cee 13782010-10-21 Michael Albinus <michael.albinus@gmx.de>
01d884cf
MA
1379
1380 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
1381 space in stat format string.
1382 (tramp-send-command): Unset $PS1 when using here documents, in
1383 order not to get several prompts.
1384 (tramp-get-inline-coding): Return `nil' in case of errors.
1385
08ffb131
DU
13862010-10-21 Daiki Ueno <ueno@unixuser.org>
1387
7c23d9e8
SM
1388 * hexl.el (hexl-mode, hexl-mode-exit):
1389 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
08ffb131
DU
1390 (hexl-revert-buffer-function): New function.
1391 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
1392
ba7fdf30
AM
13932010-10-19 Alan Mackenzie <acm@muc.de>
1394
7c23d9e8
SM
1395 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1396 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
7f0789c9
AM
1397 that these keywords aren't wrongly matched as identifiers.
1398
ba7fdf30
AM
1399 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1400 setting of c-new-BEG and c-new-END from c-before-change to
e64ae4e8 1401 c-after-change. (Bug#7181)
ba7fdf30 1402
7fd8732d
CY
14032010-10-19 Chong Yidong <cyd@stupidchicken.com>
1404
1405 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
1406 Don't mark as safe.
1407
1408 * custom.el (custom-theme-set-variables): Likewise.
1409 (load-theme): Add custom-theme-set-faces and
1410 custom-theme-set-variables to safe-functions while loading.
1411 (custom-enabled-themes): Mark as risky.
1412
3f12b18c
JD
14132010-10-18 Julien Danjou <julien@danjou.info>
1414
1415 * bindings.el: Remove end dashes in default mode-line-format.
1416
b8a47412
CY
14172010-10-19 Chong Yidong <cyd@stupidchicken.com>
1418
1419 * bindings.el (global-map): Bind C-d to delete-char and deletechar
1420 to delete-forward-char.
1421
1422 * simple.el (normal-erase-is-backspace-mode): Remap delete to
1423 deletechar, and hence delete-forward-char.
1424
ca3fa302
JB
14252010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1426
1427 * repeat.el (repeat): Use read-key (bug#6256).
1428
14292010-10-19 Chong Yidong <cyd@stupidchicken.com>
1430
1431 * emacs-lisp/unsafep.el: Don't mark functions that display
1432 messages as safe. Suggested by Johan Bockgård.
1433
14342010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1435
1436 * minibuffer.el (completion--replace): Move point where it belongs
1437 when there's a common suffix (bug#7215).
1438
14392010-10-19 Kenichi Handa <handa@m17n.org>
1440
1441 * international/characters.el: Add category '|' (word breakable)
1442 to fullwidth characters.
1443
3224b54d
MA
14442010-10-19 Michael Albinus <michael.albinus@gmx.de>
1445
1446 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
1447 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
1448 order to make stat results a float. Patch by Andreas Schwab
1449 <schwab@linux-m68k.org>.
1450
36ba6f07
JD
14512010-10-18 Julien Danjou <julien@danjou.info>
1452
1453 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
1454 hidden by `make-pointer-invisible'.
1455
43f964fc
SM
14562010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1457
1458 * files.el (locate-file-completion-table): Strip non-matching elements
1459 before checking length of list (bug#7238).
1460
e48eb343
CY
14612010-10-18 Chong Yidong <cyd@stupidchicken.com>
1462
1463 * custom.el (custom-theme-set-variables): Mark as a safe function.
1464 (load-theme): Check forms using unsafep.
1465
1466 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
1467
df987d70
AM
14682010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
1469
43f964fc
SM
1470 * textmodes/ispell.el (ispell-aspell-find-dictionary):
1471 Fix aspell data file searching (bug#7230).
df987d70 1472
29a4c45b
CY
14732010-10-16 Chong Yidong <cyd@stupidchicken.com>
1474
1475 * cus-theme.el (custom-theme--migrate-settings): New var.
1476 (customize-create-theme): Allow editing the `user' theme.
1477 (custom-theme-add-variable, custom-theme-add-var-1)
1478 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
1479 to the front of each variable or face widget.
1480 (custom-theme-write): Save theme settings in the correct order.
1481 Optionally, remove saved settings from user customizations.
43f964fc
SM
1482 (custom-theme-write-variables, custom-theme-write-faces):
1483 Save only the checked widgets.
29a4c45b
CY
1484 (customize-themes): Add a link for migrating custom settings.
1485
43f964fc
SM
1486 * custom.el (custom-declare-theme, provide-theme):
1487 Use custom-theme-name-valid-p.
29a4c45b
CY
1488 (custom-theme-name-valid-p): Remove checks that are now
1489 unnecessary since themes no longer obey load-path.
1490
1491 * cus-edit.el (custom-variable-value-create): For the simple
1492 style, hide documentation string when hidden.
1493
782b5e8d
CY
14942010-10-16 Chong Yidong <cyd@stupidchicken.com>
1495
647bc502
CY
1496 * cus-edit.el (custom-variable, custom-face): Combine the
1497 :inhibit-magic and :display-style properties into a single
1498 :custom-style property.
43f964fc
SM
1499 (custom-toggle-hide-variable, custom-toggle-hide-face):
1500 New functions. If hiding an edited value, save it to :shown-value.
1501 (custom-variable-value-create, custom-face-value-create): Use them.
647bc502
CY
1502 (custom-magic-reset): Allow magic property to be unset.
1503
782b5e8d
CY
1504 * custom.el: Custom themes no longer use load-path.
1505 (custom-theme-load-path): New option. Change built-in theme
1506 directory to etc/.
1507 (custom-enabled-themes): Add custom-theme-load-path dependency.
1508 (custom-theme--load-path): New function.
1509 (load-theme, custom-available-themes): Use it.
1510
1511 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
1512 (customize-themes): Link to custom-theme-load-path variable.
647bc502
CY
1513 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
1514 :custom-style property.
782b5e8d
CY
1515
1516 * themes/*.el: Moved to etc/.
1517
99f65cfa
RA
15182010-10-16 Ralf Angeli <angeli@caeruleus.net>
1519
1520 * textmodes/reftex-cite.el
1521 (reftex-extract-bib-entries-from-thebibliography): Do not move
1522 point when searching for \bibitem entries. Match entries with
1523 spaces or tabs in front of arguments.
1524
da16abfc
CY
15252010-10-16 Chong Yidong <cyd@stupidchicken.com>
1526
1527 * cus-theme.el (customize-create-theme): Delete overlays after
1528 erasing. If given a THEME arg, display only the faces of that arg
1529 instead of custom-theme--listed-faces.
1530 (custom-theme-variable-menu, custom-theme-variable-action)
43f964fc 1531 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
da16abfc
CY
1532 (custom-theme-add-variable, custom-theme-add-face): Apply value
1533 from the theme settings, instead of the current value.
1534 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
1535 (custom-theme-visit-theme): Allow calling outside theme buffers.
1536 (custom-theme-merge-theme): Don't enable the theme when merging.
1537 (custom-theme-write-variables, custom-theme-write-faces): Use the
1538 :shown-value properties to save buffer values, not global ones.
1539 (customize-themes): Display a warning about user customizations.
1540
1541 * cus-edit.el (custom-variable-value-create)
1542 (custom-face-value-create): Obey new special properties
1543 :shown-value and :inhibit-magic.
1544
aa095b2d
MA
15452010-10-15 Michael Albinus <michael.albinus@gmx.de>
1546
1547 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3224b54d
MA
1548 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
1549 <dale@codefu.org>.
aa095b2d 1550
7ca9cfda
KH
15512010-10-14 Kenichi Handa <handa@m17n.org>
1552
9650fc61
KH
1553 * mail/rmail.el (rmail-show-message-1): Catch an error of
1554 base64-decode-region and just show an error message (bug#7165).
1555
43f964fc 1556 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
7ca9cfda
KH
1557 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
1558 a font-spec (bug#7197).
1559
220d91b8 15602010-10-14 Glenn Morris <rgm@gnu.org>
7163badd
GM
1561
1562 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
1563
220d91b8 15642010-10-14 Juanma Barranquero <lekktu@gmail.com>
51e4f4a8 1565
c0943d3d
JB
1566 * international/mule.el (define-coding-system):
1567 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
51e4f4a8
JB
1568 * composite.el (compose-region): Fix typo in docstring.
1569
4983ddea
CY
15702010-10-14 Chong Yidong <cyd@stupidchicken.com>
1571
de43f11b
CY
1572 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
1573 only after checking the theme-face property.
1574
4983ddea
CY
1575 * faces.el (face-spec-reset-face): Reset all attributes in one
1576 single call to set-face-attribute.
1577 (face-spec-match-p): Make it a defsubst.
1578 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
1579 (x-create-frame-with-faces, tty-create-frame-with-faces)
1580 (tty-set-up-initial-frame-faces): Don't recompute face specs in
1581 frame-set-background-mode, since they are recomputed immediately
1582 afterwards in face-set-after-frame-default.
1583 (face-set-after-frame-default): Minor optimization.
1584 (cursor): Provide non-trivial defface spec.
1585
1586 * custom.el (custom-theme-recalc-face): Simplify.
1587
a974dcf2
JB
15882010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
1589
43f964fc 1590 * calc/calc-alg.el (math-var): Rename from `var'.
a974dcf2
JB
1591 (math-is-polynomial, math-is-poly-rec): Replace `var'
1592 with `math-var'.
1593
43f964fc 1594 * calc/calcalg2.el (math-var): Rename from `var'.
a974dcf2
JB
1595 (calcFunc-table, math-scan-for-limits): Replace `var'
1596 with `math-var'.
1597
10e4702a
GM
15982010-10-13 Glenn Morris <rgm@gnu.org>
1599
1600 * subr.el (last): Deal with dotted lists (reported in bug#7174).
1601
88f427d5
SB
16022010-10-13 Stephen Berman <stephen.berman@gmx.net>
1603
1604 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
1605
a1d16a7b
G
16062010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1607
1608 * net/tls.el (tls-program): Remove spurious %s from openssl.
1609 (tls-starttls-switches): Remove starttls hack.
1610 (open-tls-stream): Ditto.
1611 (tls-find-starttls-argument): Ditto.
1612
2e288d54
JB
16132010-10-13 Juanma Barranquero <lekktu@gmail.com>
1614
1615 * image.el (image-library-alist): Declare as obsolete alias.
1616 (image-type-available-p): Use `dynamic-library-alist'.
1617
1618 * term/w32-win.el (dynamic-library-alist):
1619 Use instead of `image-library-alist'.
1620
35744400
IS
16212010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
1622
1623 * subr.el (last): Make it faster. (Bug#7174)
1624
290fe464
RO
16252010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
1626
1627 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
1628
2919746c
CY
16292010-10-12 Chong Yidong <cyd@stupidchicken.com>
1630
1631 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
1632 (describe-theme-1): Extract doc from unloaded themes.
1633
1634 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
1635
1636 * themes/tango-theme.el:
1637 * themes/tango-dark-theme.el:
1638 * themes/wheatgrass-theme.el: New files.
1639
6b09b5d1
CY
16402010-10-12 Chong Yidong <cyd@stupidchicken.com>
1641
1642 * cus-theme.el (describe-theme, customize-themes)
1643 (custom-theme-save): New commands.
1644 (custom-new-theme-mode-map): Bind C-x C-s.
1645 (custom-new-theme-mode): Use custom--initialize-widget-variables.
1646 (customize-create-theme): New optional arg THEME.
1647 (custom-theme-revert): Use it.
1648 (custom-theme-visit-theme): Remove dead code.
1649 (custom-theme-merge-theme): Use custom-available-themes.
1650 (custom-theme-write): Make interactive.
1651 (custom-theme-write): Use custom-theme-name-valid-p.
1652 (describe-theme-1, custom-theme-choose-revert)
1653 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
1654 New funs.
1655 (custom-theme-allow-multiple-selections): New option.
1656 (custom-theme-choose-mode): New major mode.
1657
43f964fc
SM
1658 * custom.el (custom-theme-set-variables): Remove dead code.
1659 Obey custom--inhibit-theme-enable.
6b09b5d1
CY
1660 (custom--inhibit-theme-enable): New var.
1661 (provide-theme): Obey it.
1662 (load-theme): Replace load with manual read/eval, in order to
1663 check for correctness. Use custom-theme-name-valid-p.
1664 (custom-theme-name-valid-p): New function.
1665 (custom-available-themes): Use it.
1666
1667 * cus-edit.el (custom--initialize-widget-variables): New function.
1668 (Custom-mode): Use it.
1669
43f964fc
SM
1670 * cus-face.el (custom-theme-set-faces): Remove dead code.
1671 Obey custom--inhibit-theme-enable.
6b09b5d1
CY
1672
1673 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
1674
16366259
JB
16752010-10-12 Juanma Barranquero <lekktu@gmail.com>
1676
cb7d821e 1677 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
16366259 1678
4c14013d 16792010-10-12 Jan Djärv <jan.h.d@swipnet.se>
9386ae12 1680
4c14013d
JB
1681 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
1682 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
1683 (mac-right-option-modifier): New alias for ns-right-option-modifier.
1684
1685 * cus-start.el (all): ns-right-alternate-modifier is new.
9386ae12 1686
4c14013d 16872010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4c528197
SM
1688
1689 * emacs-lisp/lisp.el (lisp-completion-at-point):
1690 Use emacs-lisp-mode-syntax-table for the whole function.
1691
4c14013d 16922010-10-12 David Koppelman <koppel@ece.lsu.edu>
c58059f2
DK
1693
1694 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4c528197
SM
1695 instead of font-lock-mode before adding keywords.
1696 Remove hi-lock-mode off code. Remove inhibit hack.
c58059f2
DK
1697 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
1698 non-nil; removed hook inhibit hack.
1699
4c14013d 17002010-10-12 Glenn Morris <rgm@gnu.org>
c7d6d8a1 1701
d15f9a2b
GM
1702 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
1703 (load-path-shadows-find): ... to this.
1704 (list-load-path-shadows): Update for above change.
1705
c7d6d8a1
GM
1706 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
1707
f0b7f5a8
KY
17082010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
1709
1710 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
1711 Fix comment for declare-function.
1712
05d22d02
CY
17132010-10-11 Chong Yidong <cyd@stupidchicken.com>
1714
1715 * custom.el (custom-fix-face-spec): New function; code moved from
1716 custom-face-edit-fix-value.
1717 (custom-push-theme): Use it when checking if a face has been
1718 changed outside customize.
1719 (custom-available-themes): New function.
1720 (load-theme): Use it.
1721
43f964fc 1722 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
05d22d02
CY
1723
1724 * custom.el (custom-push-theme): Cleanup (use cond).
1725 (disable-theme): Recompute the saved-face property.
1726 (custom-theme-recalc-face): Follow face alias before setting prop.
1727
43f964fc
SM
1728 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1729 New variables, containing checkbox images.
05d22d02
CY
1730
1731 * startup.el (fancy-startup-tail):
1732 * wid-edit.el (checkbox): Use them.
1733
293e7c22
DN
17342010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
1735
a0310a6c
DN
1736 * shell.el (shell-mode-map):
1737 * progmodes/modula2.el (m2-mode-map):
1738 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
1739 * play/mpuz.el (mpuz-mode-map):
1740 * play/landmark.el (lm-mode-map):
1741 * play/decipher.el (decipher-mode-map):
1742 * play/5x5.el (5x5-mode-map):
1743 * net/telnet.el (telnet-mode-map):
1744 * net/quickurl.el (quickurl-list-mode-map):
1745 * net/mairix.el (mairix-searches-mode-map):
1746 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
1747 * net/dig.el (dig-mode-map):
1748 * mail/mspools.el (mspools-mode-map):
1749 * hexl.el (hexl-mode-map):
1750 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
1751 (wordstar-C-o-map, wordstar-C-q-map):
1752 * emacs-lisp/edebug.el (edebug-eval-mode-map):
1753 * emacs-lisp/chart.el (chart-map):
1754 * edmacro.el (edmacro-mode-map):
1755 * erc/erc-list.el (erc-list-menu-mode-map):
1756 * array.el (array-mode-map): Declare and define in one step.
1757
293e7c22
DN
1758 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
1759
446b12da
DU
17602010-10-10 Daiki Ueno <ueno@unixuser.org>
1761
1762 * epa.el (epa-passphrase-callback-function): Display filename
1763 passed as the 3rd arg.
43f964fc
SM
1764 * epa-file.el (epa-file-passphrase-callback-function):
1765 Pass filename to epa-passphrase-callback-function.
446b12da 1766
76c16af8
CY
17672010-10-09 Chong Yidong <cyd@stupidchicken.com>
1768
1769 * cus-edit.el (custom-face-widget-to-spec)
1770 (custom-face-get-current-spec, custom-face-state): New functions.
1771 (custom-face-set, custom-face-mark-to-save)
1772 (custom-face-value-create, custom-face-state-set): Use them.
1773
1774 * cus-theme.el (custom-theme--listed-faces): New var.
1775 (customize-create-theme): Use *Custom Theme* as the buffer name.
1776 Set revert-buffer-function. Optional arg BUFFER. Insert all
1777 faces listed in custom-theme--listed-faces.
1778 (custom-theme-revert): New function.
1779 (custom-theme-add-variable, custom-theme-add-face): Insert at the
1780 bottom of the list.
1781 (custom-theme-write): Prompt for theme name if empty.
1782 (custom-theme-write-variables): Use dolist.
1783 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
1784
e15f8aaa
AM
17852010-10-09 Alan Mackenzie <acm@muc.de>
1786
1787 Enhance fontification of declarators to take account of the
1788 presence/absence of "typedef".
1789
1790 * cc-engine.el (c-forward-type): New &optional param
1791 "brace-block-too".
1792 (c-forward-decl-or-cast-1): cdr of return value now indicates the
43f964fc 1793 presence of either or both of a "struct"-like keyword and "typedef".
e15f8aaa
AM
1794
1795 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
1796 fontification of declarators which follow a "}".
1797 (c-font-lock-declarations): Fontify declarators according to the
1798 presence/absence of "typedef".
1799
1800 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
1801 for "typedef".
1802 (c-typedef-decl-key): New lang variable built from
1803 c-typedef-decl-kwds.
1804
cf321e50
LMI
18052010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
1806
77aec221
LMI
1807 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
1808 since that's too annoying. Move the filter groups commands to
1809 TAB/backtab.
1810
7450df5d
LMI
1811 * epa.el (epa-passphrase-callback-function): Say what we're
1812 querying the password for.
1813
cf321e50 1814 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
43f964fc 1815 behaviour, don't bury the ibuffer buffer when visiting other buffers.
cf321e50 1816
587faadd
CY
18172010-10-08 Chong Yidong <cyd@stupidchicken.com>
1818
1819 * cus-edit.el (custom-commands, custom-buffer-create-internal)
1820 (custom-magic-value-create): Pad button tags with spaces.
1821 (custom-face-edit): New variable.
1822 (custom-face-value-create): Determine whether to use the usual
43f964fc
SM
1823 face editor here, instead of using custom-face-selected.
1824 Pass face defaults to custom-face-edit widget.
587faadd
CY
1825 (custom-face-selected, custom-display-unselected): Delete widgets.
1826 (custom-display-unselected-match): Function removed.
43f964fc
SM
1827 (custom-face-set, custom-face-mark-to-save):
1828 Accept custom-face-edit widgets as the direct widget child.
587faadd
CY
1829
1830 * wid-edit.el (widget--completing-widget): New var.
1831 (widget-default-complete): Bind it when doing completion.
1832 (widget-string-complete, widget-file-complete): Use it.
1833
a1ab97d0
GM
18342010-10-09 Glenn Morris <rgm@gnu.org>
1835
85d50db7
GM
1836 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
1837 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
1838 (holiday-hebrew-misc): Small simplifications.
1839
3fb78d1f
GM
1840 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
1841
a1ab97d0
GM
1842 * net/browse-url.el: Don't require thingatpt, term, dired,
1843 executable, or w3-auto when compiling.
1844 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
1845 Declare.
1846 (browse-url-text-emacs): Require term.
1847
2187e5bb
AS
18482010-10-08 Andreas Schwab <schwab@linux-m68k.org>
1849
1850 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
1851
e5d49589
GM
18522010-10-08 Glenn Morris <rgm@gnu.org>
1853
5823f53f
GM
1854 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
1855
e5d49589
GM
1856 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
1857 (shadows-compare-text-p): Make it an obsolete alias for...
1858 (load-path-shadows-compare-text): ... new name.
1859 (find-emacs-lisp-shadows): Update for above name change.
1860 (load-path-shadows-same-file-or-nonexistent): New name for the old
1861 shadow-same-file-or-nonexistent.
1862
4628bef1 18632010-10-08 Chong Yidong <cyd@stupidchicken.com>
397ae226
CY
1864
1865 * minibuffer.el (completion--some, completion--do-completion)
1866 (minibuffer-complete-and-exit, minibuffer-completion-help)
1867 (completion-basic-try-completion)
1868 (completion-basic-all-completions)
1869 (completion-pcm--find-all-completions): Use lexical-let to
1870 avoid some false matches in variable completion (Bug#7056)
1871
4628bef1 18722010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
8686a5ea
OOS
1873
1874 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
1875
4628bef1 18762010-10-08 Leo <sdl.web@gmail.com>
83b8ea28
LL
1877
1878 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
1879 return non-nil if the file exists (Bug#7090).
1880
4628bef1 18812010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
55586d2a
SM
1882
1883 * minibuffer.el (completion--replace):
1884 Better preserve markers (bug#7138).
1885
4628bef1 18862010-10-08 Juanma Barranquero <lekktu@gmail.com>
2b7ba565
JB
1887
1888 * server.el (server-process-filter): Doc fix.
1889
4628bef1 18902010-10-08 Drew Adams <drew.adams@oracle.com>
53ad04fc
DA
1891
1892 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
1893
4628bef1 18942010-10-08 Andreas Schwab <schwab@linux-m68k.org>
c19f76a1 1895
0cceab3d
AS
1896 * Makefile.in (ELCFILES): Update.
1897
e4adf61e
GM
18982010-10-08 Glenn Morris <rgm@gnu.org>
1899
24ac444f
GM
1900 * vc/ediff-wind.el (ediff-setup-control-frame):
1901 * vc/ediff-ptch.el (ediff-default-backup-extension):
1902 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
1903 (ediff-exec-process): Remove system-types emx, windows-95.
1904
e4adf61e
GM
1905 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
1906
61328d7c
CY
19072010-10-07 Chong Yidong <cyd@stupidchicken.com>
1908
1909 * cus-edit.el (custom-variable, custom-face): Doc fix.
1910 (custom-face-edit): Add value-create attribute.
1911 (custom-face-edit-value-create)
43f964fc
SM
1912 (custom-face-edit-value-visibility-action): New functions.
1913 Hide unused face attributes by default, and add a visibility toggle.
61328d7c
CY
1914 (custom-face-edit-deactivate): Show empty values with shadow face.
1915 (custom-face-selected): Only use this for face specs with default
1916 attributes.
1917 (custom-face-value-create): Cleanup.
1918
1919 * wid-edit.el (widget-checklist-value-create): Use dolist.
1920 (widget-checklist-match-find): Make second arg optional.
1921
ac44263a
GM
19222010-10-07 Glenn Morris <rgm@gnu.org>
1923
849b02b4
GM
1924 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
1925 Prefix things.
1926
ac44263a
GM
1927 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
1928 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
1929 load-path-shadows-mode, update references.
06d9ef85
GM
1930 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
1931 Rename variable and button.
1932 (list-load-path-shadows): Update button caller.
ac44263a 1933
29c72a6e
SM
19342010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1935
1936 * emacs-lisp/smie.el (smie-bnf-classify): New function.
1937 (smie-bnf-precedence-table): Use it to remember the closers/openers.
1938 (smie-merge-prec2s): Handle those new entries.
1939 (smie-prec2-levels): Only set precedence to nil for actual
1940 openers/closers.
1941 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
1942 that is now unnecessary.
1943
775f75bc 19442010-10-07 Miles Bader <miles@gnu.org>
07ff7702
MB
1945
1946 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
1947
7e1e2a6e
GM
19482010-10-07 Glenn Morris <rgm@gnu.org>
1949
58d1ac6d
GM
1950 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
1951 (mail-position-on-field): Remove declarations.
1952 (mail-position-on-field): Autoload it.
1953 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
1954 and mail-header-end. Don't require sendmail.
1955
7b9235ad
GM
1956 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
1957 (shadow-mode): New mode.
1958 (shadow-find-file): New button.
1959 (list-load-path-shadows): Use shadow-mode and buttons.
1960
52da2182
GM
1961 * iimage.el (iimage-version): Remove.
1962 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
1963 Turn into defcustoms.
1964 (iimage-mode-map): Give it a doc string.
1965
7e1e2a6e
GM
1966 * calendar/appt.el (appt-activate): Give a warning rather than an error
1967 if there is no diary-file.
1968
e44eccd7
MA
19692010-10-06 Michael Albinus <michael.albinus@gmx.de>
1970
29c72a6e
SM
1971 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1972 Use `tramp-handle-find-backup-file-name'.
e44eccd7 1973
4583e796
GM
19742010-10-06 Glenn Morris <rgm@gnu.org>
1975
6aecca99
GM
1976 * font-core.el (font-lock-defaults-alist): Remove variable.
1977 (font-lock-mode): Doc fix.
1978 (font-lock-default-function): Do not consult font-lock-defaults-alist.
1979 * font-lock.el (font-lock-refresh-defaults): Doc fix.
1980 (font-lock-set-defaults): Doc fix.
1981 Do not consult font-lock-defaults-alist.
1982
645a6257
GM
1983 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
1984
4583e796
GM
1985 * emacs-lisp/cl.el: No longer provide cl-19.
1986
bd8fadca
MA
19872010-10-05 Michael Albinus <michael.albinus@gmx.de>
1988
1989 * net/tramp.el (tramp-handle-directory-files-and-attributes)
1990 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
1991 New defuns, taken from tramp-smb.el.
1992 (tramp-coding-system-change-eol-conversion)
43f964fc 1993 (tramp-set-process-query-on-exit-flag): Remove.
bd8fadca 1994
43f964fc 1995 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
bd8fadca
MA
1996 (tramp-compat-coding-system-change-eol-conversion)
1997 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
1998 from tramp.el.
1999
2000 * net/tramp-gvfs.el:
2001 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2002 by `tramp-compat-set-process-query-on-exit-flag'.
2003
43f964fc
SM
2004 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2005 Use `tramp-handle-directory-files-and-attributes',
bd8fadca
MA
2006 `tramp-handle-file-exists-p' and
2007 `tramp-handle-file-newer-than-file-p'.
2008 (tramp-imap-handle-file-exists-p)
2009 (tramp-imap-handle-file-executable-p)
2010 (tramp-imap-handle-file-readable-p)
2011 (tramp-imap-handle-directory-files-and-attributes)
43f964fc 2012 (tramp-imap-handle-file-newer-than-file-p): Remove.
bd8fadca
MA
2013
2014 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2015 by `tramp-compat-set-process-query-on-exit-flag' and
2016 `tramp-coding-system-change-eol-conversion' by
2017 `tramp-compat-coding-system-change-eol-conversion'.
2018
43f964fc
SM
2019 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2020 Use `tramp-handle-directory-files-and-attributes',
bd8fadca
MA
2021 `tramp-handle-file-exists-p' and
2022 `tramp-handle-file-newer-than-file-p'.
2023 (tramp-smb-handle-directory-files-and-attributes)
2024 (tramp-smb-handle-file-exists-p)
43f964fc
SM
2025 (tramp-smb-handle-file-newer-than-file-p): Remove.
2026 (tramp-smb-maybe-open-connection):
2027 Replace `tramp-set-process-query-on-exit-flag' by
bd8fadca
MA
2028 `tramp-compat-set-process-query-on-exit-flag'.
2029
726c5357
GM
20302010-10-05 Glenn Morris <rgm@gnu.org>
2031
2032 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2033
4a93e698
MA
20342010-10-04 Michael Albinus <michael.albinus@gmx.de>
2035
2036 Continue reorganization of load dependencies. (Bug#7156)
2037
2038 * net/tramp.el (tramp-handle-file-local-copy-hook)
2039 (tramp-delete-temp-file-function): Move down.
2040 (tramp-exists-file-name-handler): Move up.
2041 (tramp-register-file-name-handlers): Simplify autoload.
2042 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2043 (tramp-handle-directory-files, tramp-handle-dired-uncache)
2044 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2045 (tramp-handle-file-name-completion)
2046 (tramp-handle-file-name-directory)
2047 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2048 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2049 (tramp-handle-find-backup-file-name)
2050 (tramp-handle-insert-file-contents, tramp-handle-load)
2051 (tramp-handle-substitute-in-file-name)
2052 (tramp-handle-unhandled-file-name-directory)
2053 (tramp-mode-string-to-int, tramp-local-host-p)
43f964fc 2054 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4a93e698
MA
2055
2056 * net/tramp-gvfs.el (top):
2057 * net/tramp-smb.el (top): Do not require 'tramp-sh.
2058
2059 * net/tramp-sh.el (all): Move several objects to tramp.el, see
2060 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2061
b4593555
GM
20622010-10-04 Glenn Morris <rgm@gnu.org>
2063
2064 * calendar/appt.el (appt-add): Ensure reminders are enabled.
2065 (appt-activate): Give status messages.
2066
8762aa10
TZ
20672010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2068
2069 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
2070 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
43f964fc
SM
2071 `gnutls-negotiate' (formerly `starttls-negotiate').
2072 Remove trivial wrapper `starttls-open-stream'.
8762aa10 2073
82fb8701
DN
20742010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
2075
2076 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2077 log-outgoing commands.
2078 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2079 to create a buffer local revert-buffer-function variable.
2080 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2081 revert-buffer-function lambda.
2082
c1ae068b
LMI
20832010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
2084
2085 * net/gnutls.el (starttls-negotiate): Use the plist interface to
43f964fc
SM
2086 `gnutls-boot'. Make TYPE the only required parameter.
2087 Allow TRUSTFILES and KEYFILES to be lists.
c1ae068b
LMI
2088 (open-ssl-stream): Use it.
2089
67141a37
GM
20902010-10-03 Glenn Morris <rgm@gnu.org>
2091
77f38949
GM
2092 * subr.el (directory-sep-char): Remove obsolete variable.
2093 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2094 it is "necessary".
2095
67141a37
GM
2096 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2097 * vc/vc.el (vc-static-header-alist): Doc fix.
2098 * vc/vc-cvs.el (vc-cvs-header):
2099 * vc/vc-rcs.el (vc-rcs-header):
2100 * vc/vc-sccs.el (vc-sccs-header):
2101 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2102 * obsolete/vc-mcvs.el (vc-mcvs-header):
2103 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2104 on XEmacs.
2105
96bcef2e
CY
21062010-10-03 Chong Yidong <cyd@stupidchicken.com>
2107
43f964fc
SM
2108 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2109 Remove obsolete use of binary-overwrite-mode (Bug#7001).
96bcef2e 2110
ef47f179
GM
21112010-10-03 Glenn Morris <rgm@gnu.org>
2112
0437978e
GM
2113 * obsolete/x-menu.el: Remove file, obsolete since 21.1
2114
aee3c6f7
GM
2115 * textmodes/rst.el (rst-font-lock-keywords-function):
2116 Drop Emacs 20 code.
2117
f88cd114
GM
2118 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2119
6abfe35f
GM
2120 * printing.el: Drop Emacs 20 code.
2121
59e31cfa
GM
2122 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2123 without having used appt.el already).
2124
922ad43e
GM
2125 * subr.el (make-local-hook): Remove function obsolete since 21.1.
2126 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2127 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2128 XEmacs.
2129 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2130 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2131
ef47f179
GM
2132 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2133 (charset-width, find-charset-region, chars-in-region, forward-point)
2134 (encode-coding-string, coding-system-p, ccl-execute-on-string)
2135 (define-ccl-program, multibyte-string-p, string-make-multibyte):
2136 Remove compatibility cruft (none of these are used by ps*.el).
2137
ac6ca7ba
KR
21382010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2139
2140 * subr.el (booleanp): Return t instead of a list (Bug#7086).
2141
2a847524
CY
21422010-10-03 Chong Yidong <cyd@stupidchicken.com>
2143
43f964fc
SM
2144 * server.el (server-process-filter, server-return-error):
2145 Give emacsclient time to shut down after receiving an error string.
2a847524 2146
4bc3c53d
MA
21472010-10-02 Michael Albinus <michael.albinus@gmx.de>
2148
2149 * files.el (remote-file-name-inhibit-cache): New defcustom.
2150
43f964fc
SM
2151 * time.el (display-time-file-nonempty-p):
2152 Use `remote-file-name-inhibit-cache'.
4bc3c53d 2153
43f964fc
SM
2154 * net/tramp.el (tramp-completion-reread-directory-timeout):
2155 Fix docstring.
4bc3c53d
MA
2156
2157 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2158 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2159 `remote-file-name-inhibit-cache'. Check also for an integer
2160 value. Add/increase counter when `tramp-verbose' >= 10.
2161 (tramp-set-file-property): Add/increase counter when
2162 `tramp-verbose' >= 10.
2163
2164 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2165 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2166 (tramp-bug): Set tramp-autoload cookie. Report all interned
2167 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
2168 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
2169 characters only in strings.
2170
2171 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2172 to backward compatibility.
2173
2174 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2175 (tramp-handle-file-name-all-completions)
43f964fc
SM
2176 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2177 (tramp-open-connection-setup-interactive-shell):
2178 Call `tramp-cleanup-connection' directly.
4bc3c53d 2179
9c524fcb
GM
21802010-10-02 Glenn Morris <rgm@gnu.org>
2181
3226d6ca
GM
2182 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2183
2184 * subr.el (char-bytes): Remove obsolete function.
2185
2186 * isearch.el (isearch-return-char): Remove obsolete function.
2187
2188 * mouse.el: No longer provide mldrag.
2189 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2190 Remove obsolete aliases.
2191
2192 * comint.el (comint-kill-output): Remove obsolete alias.
2193
2194 * composite.el (decompose-composite-char): Remove obsolete function.
2195 * ps-def.el (decompose-composite-char): Remove unused function.
2196
2197 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2198
2199 * outline.el (outline-visible): Remove obsolete function.
2200
2201 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2202 * faces.el (internal-find-face, internal-get-face)
2203 (frame-update-faces, frame-update-face-colors)
2204 (x-frob-font-weight, x-frob-font-slant)
2205 (internal-frob-font-weight, internal-frob-font-slant)
2206 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2207 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2208 (x-make-font-bold-italic): Remove functions and aliases, obsolete
2209 since Emacs 21.1.
2210 * emulation/viper-util.el (viper-get-face):
2211 * obsolete/lucid.el (find-face, get-face): Use facep.
2212 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2213 Remove unused functions.
2214 * vc/ediff-util.el (ediff-submit-report): Doc fix.
2215
9c524fcb
GM
2216 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2217 delete tempfile if interrupted during compilation.
2218
aecb42aa
LMI
22192010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2220
2221 * net/tls.el (tls-starttls-switches): Give up on using starttls with
2222 gnutls-cli.
2223 (tls-program): Add --insecure to be consistent with the defaults from
2224 openssl s_client. Now all three commands are insecure.
2225
73077a9a
EZ
22262010-10-01 Eli Zaretskii <eliz@gnu.org>
2227
2228 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2229 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2230 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2231
1ef075bb
GM
22322010-10-01 Glenn Morris <rgm@gnu.org>
2233
1fcaf927
GM
2234 * obsolete/sc.el: Remove file.
2235
1ef075bb
GM
2236 * files.el (temporary-file-directory): On darwin, also try
2237 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2238
a16f5f64
JB
22392010-10-01 Juanma Barranquero <lekktu@gmail.com>
2240
2241 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
2242 Let's not break compatibility gratuitously, shall we?
2243
6b958814
G
22442010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2245
47e08896 2246 * net/tls.el (tls-starttls-switches): New variable.
6b958814
G
2247 (tls-find-starttls-argument): Use it.
2248 (open-tls-stream): Ditto.
2249
47e08896 2250 * net/netrc.el (netrc-credentials): Return the value of the "default"
6b958814
G
2251 entry.
2252 (netrc-machine): Ditto.
2253
cad90f3b
EZ
22542010-09-30 Eli Zaretskii <eliz@gnu.org>
2255
2256 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2257
968ef9b4
JB
22582010-09-30 Juanma Barranquero <lekktu@gmail.com>
2259
2260 * server.el (server-start): Don't write pid to the authentication file.
2261 (server-create-tty-frame): Don't send pid.
2262 (server-process-filter): Send pid at the start of every connection.
2263
3536dea8
GM
22642010-09-30 Glenn Morris <rgm@gnu.org>
2265
8e378d88
GM
2266 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2267 (show-all-diary-entries): Remove obsolete function aliases.
2268
3536dea8
GM
2269 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2270 Remove options, obsolete since 22.1.
2271 (appt-display-format, appt-display-message): Remove
2272 backwards-compatibility code.
2273 (appt-check): No longer check appt-issue-message.
2274 (appt-make-list): No longer autoload it. Doc fix. No longer
2275 activate the package.
2276
df7fcaff
LMI
22772010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2278
2279 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
bac5cef8
LMI
2280 (starttls-negotiate): Just call boot, and let the handshake be
2281 triggered from the read loop.
df7fcaff 2282
c2828614
GM
22832010-09-29 Glenn Morris <rgm@gnu.org>
2284
17a46341
GM
2285 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2286 not displaying the diary.
2287 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2288 * calendar/appt.el (appt-check): No longer need to kill diary.
2289
7161e329
GM
2290 * calendar/diary-lib.el (diary-list-entries): Move the
2291 "Preparing..." message entirely here.
2292 (diary-simple-display, diary-fancy-display): Move "Preparing..."
2293 messages to diary-list-entries.
2294 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2295 diary-display-function.
2296
d0de6cba
GM
2297 * calendar/diary-lib.el (diary-include-other-diary-files):
2298 Trap some recursive includes.
2299
c2828614
GM
2300 * calendar/appt.el (appt-activate): Check diary file.
2301
0c43b6f8
KY
23022010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
2303
2304 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2305 construction.
2306
2307 * calendar/time-date.el: No need to require cl for Emacs 21.
2308
97ce2730
GM
23092010-09-28 Glenn Morris <rgm@gnu.org>
2310
2311 * calendar/appt.el (appt-check): Minor simplification.
2312
e0a185ae
KY
23132010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
2314
2315 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2316 citation prefix.
2317
c19f76a1
AS
23182010-09-27 Andreas Schwab <schwab@linux-m68k.org>
2319
95b6d681
JB
2320 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2321 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
c19f76a1 2322
fd057fd2
KH
23232010-09-27 Kenichi Handa <handa@m17n.org>
2324
2325 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2326 "ustar" format.
2327
368b3544
KH
23282010-09-27 Kenichi Handa <handa@m17n.org>
2329
2330 * international/mule.el (define-coding-system): Docstring fixed.
2331
2332 * international/mule-diag.el (describe-character-set): Use princ
2333 with proper print-length and print-level instead of insert.
2334
95b6d681 23352010-09-27 Juanma Barranquero <lekktu@gmail.com>
fb5f3a23
JB
2336
2337 * window.el (walk-windows): Doc fix (bug#7105).
2338
99368725
SM
23392010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2340
2341 * emacs-lisp/float-sup.el (e): Remove.
2342
8ed70bf3
LMI
23432010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
2344
2345 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
2346 variable.
2347 (starttls-negotiate): Use it.
2348
d2e9d0bb
LMI
23492010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2350
2351 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
2352 back.
2353
15413fb4
SM
23542010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
2357
1821a7b4
LMI
23582010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2359
6303aba1
LMI
2360 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
2361
1821a7b4
LMI
2362 * net/netrc.el (netrc-store-data): New function.
2363
8af55556
TZ
23642010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
2365
2366 * net/gnutls.el: GnuTLS glue code to set up a connection.
2367
42343747
JD
23682010-09-25 Julien Danjou <julien@danjou.info>
2369
2370 * notifications.el: Call dbus-register-signal only if it is bound.
2371
ec60da52
GM
23722010-09-25 Glenn Morris <rgm@gnu.org>
2373
2374 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2375 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2376 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2377 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2378 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2379 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
2380 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
2381 * eshell/esh-util.el, eshell/esh-var.el:
2382 Remove leading `*' from docs of faces and defcustoms.
2383
4c964351
UM
23842010-09-25 Ulrich Mueller <ulm@gentoo.org>
2385
2386 * eshell/em-ls.el (eshell-ls-archive-regexp):
2387 * eshell/esh-util.el (eshell-tar-regexp):
2388 * ibuffer.el (ibuffer-compressed-file-name-regexp):
2389 * info.el (Info-suffix-list):
2390 * international/mule.el (auto-coding-alist):
2391 * woman.el (woman-file-regexp, woman-file-compression-regexp):
2392 * progmodes/etags.el (tags-compression-info-list):
2393 Support xz compression.
2394
41f54b73
CY
23952010-09-25 Chong Yidong <cyd@stupidchicken.com>
2396
2397 * files.el (get-free-disk-space): Don't assume the "df" output
2398 columns line up (Bug#6995).
2399
40b1a3a9
JB
24002010-09-25 Juanma Barranquero <lekktu@gmail.com>
2401
2402 * finder.el (finder-unknown-keywords):
2403 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2404 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2405
ba3033ee
JB
24062010-09-25 Juanma Barranquero <lekktu@gmail.com>
2407
2408 * server.el (server-start): Revert part of 2010-08-08 change. Using
2409 address 127.0.0.1 for local host is now done in Fmake_network_process.
2410
5e339ee2
GM
24112010-09-24 Glenn Morris <rgm@gnu.org>
2412
2413 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
2414 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
2415 * textmodes/css-mode.el, textmodes/dns-mode.el:
2416 Move autoloaded auto-mode-alist entries to files.el.
2417 * files.el (auto-mode-alist): Move entries here.
2418
af3ccb5c
GM
24192010-09-23 Glenn Morris <rgm@gnu.org>
2420
2421 * isearch.el (isearch-lazy-highlight-cleanup)
2422 (isearch-lazy-highlight-initial-delay)
2423 (isearch-lazy-highlight-interval)
2424 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
2425 * net/net-utils.el (ipconfig-program-options):
2426 Move aliases to options before the associated definitions.
2427
266a86bd 24282010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
c9805d23
SM
2429
2430 * newcomment.el (comment-normalize-vars): Better test validity of
2431 comment-end-skip.
2432
27ffea71 24332010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9e0d4f9e
SM
2434
2435 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
2436 (float-e): New name for `e'.
2437 (degrees-to-radians, radians-to-degrees):
2438 * calendar/solar.el (solar-longitude):
2439 * calculator.el (calculator-registers, calculator-funcall):
2440 * textmodes/artist.el (artist-spray-random-points):
2441 * play/bubbles.el (bubbles--initialize-images): Use new names.
2442
27ffea71 24432010-09-23 Eric M. Ludlam <zappo@gnu.org>
a2930e43
EL
2444
2445 Update to CEDET 1.0's version of EIEIO.
2446
9e0d4f9e
SM
2447 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
2448 New function.
a2930e43
EL
2449 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
2450 (eieio-default-eval-maybe): Eval val instead of unquoting only.
2451 (class-precedence-list): If class is nil, return nil.
2452 (eieio-generic-call): If class of first input arg is nil, don't
2453 look up static methods, and do check for primary methods.
2454 (initialize-instance): See if the default needs to be evaluated
2455 during the constructor.
2456 (eieio-perform-slot-validation-for-default): Don't do the check
2457 for values that will eventually be evaluated.
2458 (eieio-eval-default-p): New function.
2459 (eieio-default-eval-maybe): Use it.
2460
27ffea71 24612010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
a2930e43
EL
2462
2463 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
2464 method-invocation-order.
2465 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
2466 (eieio-class-precedence-dfs): Compute class precedence list using
2467 dfs algorithm.
2468 (eieio-class-precedence-bfs): Compute class precedence list using
2469 bfs algorithm.
9e0d4f9e 2470 (eieio-class-precedence-c3): Compute class precedence list using
a2930e43
EL
2471 c3 algorithm.
2472 (class-precedence-list): New function.
2473 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
2474 (inconsistent-class-hierarchy): New error symbol.
2475 (call-next-method): Stow the replacement argument list for future
2476 call-next-method invocations.
2477
266a86bd 24782010-09-23 Glenn Morris <rgm@gnu.org>
87e798a7 2479
ea7f9ebf
GM
2480 * calendar/appt.el (appt-check): If not displaying the diary,
2481 use (diary 1) to only get the entries we need.
2482 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
2483 that it is in day order. (Bug#7019)
2484
1bf6d075
GM
2485 * calendar/appt.el (appt-check): Rather than showing the diary,
2486 just turn off invisible display, and only if needed.
2487
87e798a7
GM
2488 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
2489
1fc7dabf
GM
24902010-09-23 Glenn Morris <rgm@gnu.org>
2491
7a16788b
GM
2492 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2493 (byte-compile-defvar, byte-compile-cl-warn):
27ffea71 2494 Start warnings with lower-case, like the majority.
7a16788b 2495
19543b17
GM
2496 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
2497
54238e6d
GM
2498 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
2499
ce009d0b
GM
2500 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
2501 * files.el (auto-mode-alist): Move ld-script entries here, further down
2502 the list.
2503
7b344dfe
GM
2504 * vc/add-log.el: Don't require timezone when compiling.
2505 (timezone-make-date-sortable): Autoload it.
2506 (change-log-sortable-date-at): Don't require timezone.
2507 Use `ignore-errors'.
2508
d9703498
GM
2509 * comint.el (comint-use-prompt-regexp-instead-of-fields):
2510 Move alias before definition, so it does not need autoloading.
2511
1fc7dabf
GM
2512 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
2513 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
2514 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
2515 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
2516 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
2517 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
2518 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
2519 * textmodes/tex-mode.el, textmodes/two-column.el:
2520 Remove leading `*' from docs of defcustoms etc.
2521
7676efad
TZ
25222010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
2523
2524 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
2525
b069e5a6
G
25262010-09-22 Dan Christensen <jdc@uwo.ca>
2527
2528 * calendar/time-date.el (date-to-time): Try using parse-time-string
2529 first before using the slower timezone-make-date-arpa-standard.
2530
1bf68d53
KY
25312010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
2532
2533 * calendar/time-date.el (format-seconds): Comment fix.
2534
cd205c76
GM
25352010-09-22 Glenn Morris <rgm@gnu.org>
2536
2537 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
2538 is not automatically buffer-local.
2539
4ddea91b
SM
25402010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
2543 (smie-indent-comment): Be more careful with comment-start-skip.
2544 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
2545 (smie-indent-functions): Use them.
2546
b0f037ed
MA
25472010-09-21 Michael Albinus <michael.albinus@gmx.de>
2548
2549 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
2550
8cf1771a
JD
25512010-09-21 Jan Djärv <jan.h.d@swipnet.se>
2552
36a1b6db
JD
2553 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
2554 tool-bar-position. Don't modify frame parameters here.
180fb94a 2555 (menu-bar-options-save): Add tool-bar-position.
36a1b6db 2556
8cf1771a
JD
2557 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
2558
0097720d
SM
25592010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2560
5d8e0d5d
SM
2561 * textmodes/reftex-parse.el (reftex-what-macro)
2562 (reftex-context-substring): Let-bind forward-sexp-function to nil
2563 since we don't need/want to treat \begin...\end as a block (bug#7053).
2564
984edd22
SM
2565 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
2566
2567 * simple.el (blink-matching-open): Use syntax-class.
2568
3672149f
SM
2569 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
2570 Set invisibility spec for pascal's outline mode.
2571 (pascal-outline-change): Clean up calling convention.
2572 (pascal-show-all, pascal-hide-other-defuns): Update callers.
2573
549d0e1e
SM
2574 * progmodes/prolog.el (prolog-smie-forward-token)
2575 (prolog-smie-backward-token): New functions.
2576 (prolog-mode-variables): Use them to parse "!," correctly.
2577 Set up smie-blink-matching for ".".
2578
a9cb95dd
SM
2579 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
2580 and `end'.
2581 (ispell-region, ispell-process-line): Update users.
2582
de558d10
SM
2583 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
2584 point-min==1.
2585
94eb3112
SM
2586 * textmodes/ispell.el: Fix commenting convention.
2587 (ispell-parse-output): Simplify, use push.
2588 (ispell-region): Use match-string-no-properties.
2589 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
2590 (ispell-minor-mode): Use define-minor-mode.
2591 (ispell-message): Remove unused var `skip-regexp'.
2592 (ispell-add-per-file-word-list): Use dynamic let-binding.
2593 Try and use the proper comment marker.
2594
1f7f45a5
SM
2595 * mail/sendmail.el: Fix commenting convention.
2596 (sendmail-send-it): Use line-beginning-position.
2597
0097720d
SM
2598 * help-fns.el (describe-variable): Add original value, if applicable.
2599
596880ea
JB
26002010-09-20 Juanma Barranquero <lekktu@gmail.com>
2601
f0713411
JB
2602 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
2603
596880ea
JB
2604 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
2605
37c0347e
SM
26062010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2607
2bc01104
SM
2608 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
2609 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
2610 (smie-prec2-levels): Use them to better diagnose precedence cycles.
2611 (smie-blink-matching-check): Don't signal a mismatch if car is t.
2612 (smie-blink-matching-open): Rewrite to remove assumptions, so that
2613 something like "." can also be a closer.
2614 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
2615 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
2616 Rename internal functions to use "--". Update callers.
2617
e2c3f530
SM
2618 * frame.el (make-frame-names-alist): Don't list frames on other displays.
2619
37c0347e
SM
2620 * fringe.el (fringe-styles): New var.
2621 (fringe-mode, fringe-query-style): Use it.
2622
74790210
MM
26232010-09-18 Michael R. Mauger <mmaug@yahoo.com>
2624
2625 * progmodes/sql.el: Version 2.8
93acd23d 2626 (sql-login-params): Update widget structure; changes still needed.
74790210
MM
2627 (sql-product-alist): Add :list-all and :list-table features for
2628 SQLite, Postgres and MySQL products.
2629 (sql-redirect): Handle default value.
2630 (sql-execute, sql-execute-feature): New functions.
2631 (sql-read-table-name): New function.
93acd23d 2632 (sql-list-all, sql-list-table): New functions. User API.
74790210
MM
2633 (sql-mode-map, sql-interactive-mode-map): Add key definitions
2634 for above functions.
2635 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
2636 for above functions.
2637 (sql-postgres-login-params): Add user and database defaults.
2638 (sql-buffer-live-p): Bug fix.
93acd23d 2639 (sql-product-history): New variable.
74790210
MM
2640 (sql-read-product): New function. Use it.
2641 (sql-set-product, sql-product-interactive): Use it.
2642 (sql-connection-history): New variable.
93acd23d 2643 (sql-read-connection): New function. Use it.
74790210
MM
2644 (sql-connect): New function.
2645 (sql-for-each-login): Redesign function interface.
2646 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
93acd23d
JB
2647 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
2648 (sql-comint): Check for program. Existing live buffer.
74790210
MM
2649 (sql-comint-postgres): Add port parameter.
2650
cec01cd2
SM
26512010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2652
2653 * emacs-lisp/warnings.el: Fix commenting convention.
2654 (display-warning): Use special mode and make the buffer read-only.
2655
c2a845b5
JB
26562010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
2657
2658 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
2659 empty string when it follows a repeated or optional pattern.
2660
f5632fb6
SM
26612010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2662
2663 * indent.el (indent-according-to-mode): Apply syntax-propertize.
2664 (indent-region): Use indent-according-to-mode.
2665
71b961e8
EZ
26662010-09-18 Eli Zaretskii <eliz@gnu.org>
2667
2668 * fringe.el (fringe-mode): Doc fix.
2669
dbbd7ad4
KRC
26702010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
2671
2672 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
2673 refreshing the preview buffer.
2674
b879a6e2
SM
26752010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
2678 (latex-syntax-propertize-rules): New consts; replace
2679 tex-font-lock-syntactic-keywords.
2680 (tex-env-mark, latex-env-before-change): New functions.
2681 (latex-electric-env-pair-mode): New minor mode.
2682 (tex-font-lock-verb): Change arguments; do move point.
2683 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
2684 representation as a form of comment.
2685 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
2686 (doctex-syntax-propertize-rules): New const; replaces
2687 doctex-font-lock-syntactic-keywords.
2688 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
2689
2690 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
2691 (fortran-make-syntax-propertize-function): New function; replaces
2692 fortran-font-lock-syntactic-keywords.
2693 (fortran-mode): Use it.
2694 (fortran-line-length): Use it. Improve interactive spec.
2695
2696 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
2697 (syntax-propertize-rules): Add var-ref case. Fix offset computation
2698 when adding surrounding \(..\).
2699
2700 * progmodes/js.el (js-mode): Fix last change (bug#7054).
2701
4be520fb
SM
27022010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2703
269c197e
SM
2704 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
2705 Use with-current-buffer.
2706
4be520fb
SM
2707 * isearch.el (isearch-face): Rename from `isearch'.
2708 (isearch-highlight): Use new name.
2709
a67597d6
EZ
27102010-09-17 Eli Zaretskii <eliz@gnu.org>
2711
2712 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
2713 5, for `half' width fringes. (Bug#6933)
2714
31c381e8
SM
27152010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2716
3fe6ef4e
SM
2717 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2718 (byte-compile-defvar): "foo/bar" does not lack a prefix.
2719
31c381e8
SM
2720 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
2721
fb0cf781
J
27222010-09-17 Stephen Berman <stephen.berman@gmx.net>
2723
2724 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
2725 in calculating new frame position. Add more space between new and
2726 parent on the left (Bug#7048).
2727
1a9dc3b5
MA
27282010-09-17 Michael Albinus <michael.albinus@gmx.de>
2729
2730 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
2731 defmacro.
2732
dff0fdc3
CY
27332010-09-16 Chong Yidong <cyd@stupidchicken.com>
2734
31c381e8 2735 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6e23d4a4 2736
117c96c7
CY
2737 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
2738 obsolete alias for x-selection-value.
2739
dff0fdc3
CY
2740 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
2741
c6f2191f
MA
27422010-09-16 Michael Albinus <michael.albinus@gmx.de>
2743
2744 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
2745 cookie.
2746
6139f995
MA
27472010-09-15 Michael Albinus <michael.albinus@gmx.de>
2748
2749 * net/tramp-compat.el (tramp-compat-with-temp-message)
2750 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
2751 (tramp-compat-process-put): New defuns.
2752
2753 * net/tramp.el (top):
2754 * net/tramp-gvfs.el (top):
2755 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
2756
31c381e8
SM
2757 * net/tramp.el (tramp-progress-reporter-update):
2758 Use `tramp-compat-funcall'.
6139f995
MA
2759
2760 * net/tramp.el (tramp-process-actions):
2761 * net/tramp-gvfs.el (tramp-handle-vc-registered):
2762 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
31c381e8
SM
2763 (tramp-get-remote-stat, tramp-get-remote-readlink):
2764 Use `tramp-compat-with-temp-message'.
6139f995
MA
2765
2766 * net/tramp-sh.el (top): Require 'cl.
2767 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
31c381e8
SM
2768 (tramp-open-connection-setup-interactive-shell):
2769 Use `tramp-compat-process-put'.
6139f995 2770
22c3ce97
AM
27712010-09-15 Alan Mackenzie <acm@muc.de>
2772
2773 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
2774 indentation.
a4ee83cc 2775 (c-forward-<>-arglist-recur): Fix an infinite recursion.
22c3ce97 2776
4f1e9960
SM
27772010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
2778
2779 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
2780 `lexical' for warnings related to lexical scoping.
2781 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
2782 global vars which don't have a prefix and could hence affect lexical
2783 scoping in unrelated files.
2784
01e80360
LMI
27852010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2786
2787 * net/imap.el: Revert back to version
2788 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
2789 seem problematic.
2790
5e2a84e3
JB
27912010-09-14 Juanma Barranquero <lekktu@gmail.com>
2792
2793 * obsolete/old-whitespace.el (whitespace-unload-function):
2794 Explicitly pass `obarray' to `unintern' to avoid a warning.
2795
f3a30a50
SM
27962010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2797
2798 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
2799 Add `when' argument. Update callers.
2800
2801 * subr.el (unintern): Declare the obarray arg mandatory.
2802
92b99a01
GM
28032010-09-14 Glenn Morris <rgm@gnu.org>
2804
67ae9766
GM
2805 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
2806 Doc fixes.
2807
92b99a01
GM
2808 * calendar/diary-lib.el (diary-included-files): New variable.
2809 (diary-list-entries): Maybe initialize diary-included-files.
2810 (diary-include-other-diary-files): Append to diary-included-files.
2811 * calendar/appt.el (appt-update-list): Also check the members of
2812 diary-included-files. (Bug#6999)
08151ec5 2813 (appt-check): Doc fix.
92b99a01 2814
6664fc59 28152010-09-14 David Reitter <david.reitter@gmail.com>
5a66ed0f
DR
2816
2817 * simple.el (line-move-visual): Do not truncate goal column to
2818 integer size. (Bug#7020)
2819
6664fc59 28202010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
dba28758
SM
2821
2822 * repeat.el (repeat): Allow repeating when the last event is a click.
2823 Suggested by Drew Adams (bug#6256).
2824
6664fc59 28252010-09-14 Sascha Wilde <wilde@sha-bang.de>
681b88dd
SM
2826
2827 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
2828 Replace setting HGRCPATH to "" by some less invasive --config options.
2829
6664fc59 28302010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
71e657fc
SM
2831
2832 * font-lock.el (font-lock-beginning-of-syntax-function):
2833 Mark as obsolete.
2834
6664fc59 28352010-09-14 Glenn Morris <rgm@gnu.org>
639b9d87
GM
2836
2837 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
2838 and tool-bar modes. (Bug#6211)
2839 (menu-bar-mode): Move setting of standard-value after the
2840 minor-mode definition, otherwise it seems to have no effect.
2841
6664fc59 28422010-09-14 Masatake YAMATO <yamato@redhat.com>
33bd47be
MY
2843
2844 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
2845 Fix typo. (Bug#6976)
2846
6664fc59 28472010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9c405a86
CY
2848
2849 * whitespace.el: Allow cleaning up blanks without blank
2850 visualization (Bug#6651). Adjust help window for
2851 whitespace-toggle-options (Bug#6479). Allow to use fill-column
71e657fc
SM
2852 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
2853 (whitespace-style): Add new value 'face. Adjust docstring.
2854 (whitespace-space, whitespace-hspace, whitespace-tab):
2855 Adjust foreground property face.
9c405a86
CY
2856 (whitespace-line-column): Adjust docstring and type declaration.
2857 (whitespace-style-value-list, whitespace-toggle-option-alist)
2858 (whitespace-help-text): Adjust const initialization.
2859 (whitespace-toggle-options, global-whitespace-toggle-options):
2860 Adjust docstring.
2861 (whitespace-display-window, whitespace-interactive-char)
2862 (whitespace-style-face-p, whitespace-color-on): Adjust code.
2863 (whitespace-help-scroll): New fun.
2864
ba96ddf5
KY
28652010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
2866
2867 * calendar/time-date.el (format-seconds): Comment fix.
2868
a386ac70
MM
28692010-09-13 Michael R. Mauger <mmaug@yahoo.com>
2870
2871 * progmodes/sql.el: Version 2.7.
2872 (sql-buffer-live-p): Improve detection.
2873 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2874 (sql-set-sqli-buffer): Use it.
2875 (sql-product-interactive): Run `sql-set-sqli-hook'.
2876 (sql-rename-buffer): Code cleanup.
2877 (sql-redirect, sql-redirect-value): New functions. More to come.
2878
5d921df2
JB
28792010-09-13 Juanma Barranquero <lekktu@gmail.com>
2880
2881 Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
2882 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2883 (TRAMP_SRC): New macro.
2884 ($(lisp)/net/tramp-loaddefs.el): New target.
2885
03c1ad43
MA
28862010-09-13 Michael Albinus <michael.albinus@gmx.de>
2887
2888 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
2889
2890 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
2891
2892 * net/tramp.el (top): Don't show loading message. Require just
4f1e9960
SM
2893 'tramp-compat, everything else is required there.
2894 Use `ignore-errors' where appropriate.
03c1ad43
MA
2895 (tramp-inline-compress-start-size, tramp-copy-size-limit)
2896 (tramp-terminal-type, tramp-end-of-output)
2897 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
2898 (tramp-completion-function-alist-ssh)
2899 (tramp-completion-function-alist-telnet)
2900 (tramp-completion-function-alist-su)
2901 (tramp-completion-function-alist-putty, tramp-remote-path)
2902 (tramp-remote-process-environment, tramp-sh-extra-args)
2903 (tramp-actions-before-shell, tramp-uudecode)
2904 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
2905 (tramp-perl-file-attributes)
2906 (tramp-perl-directory-files-and-attributes)
2907 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
2908 (tramp-perl-encode, tramp-perl-decode)
2909 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
2910 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
2911 (tramp-handle-make-symbolic-link, tramp-handle-load)
2912 (tramp-handle-file-name-as-directory)
2913 (tramp-handle-file-name-directory)
2914 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2915 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
2916 (tramp-do-file-attributes-with-ls)
2917 (tramp-do-file-attributes-with-perl)
2918 (tramp-do-file-attributes-with-stat)
2919 (tramp-handle-set-visited-file-modtime)
2920 (tramp-handle-verify-visited-file-modtime)
2921 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
2922 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
2923 (tramp-handle-file-selinux-context)
2924 (tramp-handle-set-file-selinux-context)
2925 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
2926 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
2927 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
2928 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
2929 (tramp-handle-file-ownership-preserved-p)
2930 (tramp-handle-directory-file-name, tramp-handle-directory-files)
2931 (tramp-handle-directory-files-and-attributes)
2932 (tramp-do-directory-files-and-attributes-with-perl)
2933 (tramp-do-directory-files-and-attributes-with-stat)
2934 (tramp-handle-file-name-all-completions)
2935 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
2936 (tramp-handle-copy-file, tramp-handle-copy-directory)
2937 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
2938 (tramp-do-copy-or-rename-file-via-buffer)
2939 (tramp-do-copy-or-rename-file-directly)
2940 (tramp-do-copy-or-rename-file-out-of-band)
2941 (tramp-handle-make-directory, tramp-handle-delete-directory)
2942 (tramp-handle-delete-file)
2943 (tramp-handle-dired-recursive-delete-directory)
2944 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
2945 (tramp-handle-insert-directory)
2946 (tramp-handle-unhandled-file-name-directory)
2947 (tramp-handle-expand-file-name)
2948 (tramp-handle-substitute-in-file-name)
2949 (tramp-handle-executable-find, tramp-process-sentinel)
2950 (tramp-handle-start-file-process, tramp-handle-process-file)
2951 (tramp-handle-call-process-region, tramp-handle-shell-command)
2952 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
2953 (tramp-handle-insert-file-contents)
2954 (tramp-handle-insert-file-contents-literally)
2955 (tramp-handle-find-backup-file-name)
2956 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
2957 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
2958 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
2959 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
2960 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
2961 (tramp-find-file-exists-command, tramp-open-shell)
2962 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
2963 (tramp-open-connection-setup-interactive-shell)
2964 (tramp-local-coding-commands, tramp-remote-coding-commands)
2965 (tramp-find-inline-encoding, tramp-call-local-coding-command)
2966 (tramp-inline-compress-commands, tramp-find-inline-compress)
2967 (tramp-compute-multi-hops, tramp-maybe-open-connection)
1fc7dabf 2968 (tramp-send-command, tramp-wait-for-output)
03c1ad43
MA
2969 (tramp-send-command-and-check, tramp-barf-unless-okay)
2970 (tramp-send-command-and-read, tramp-mode-string-to-int)
2971 (tramp-convert-file-attributes, tramp-check-cached-permissions)
2972 (tramp-file-mode-from-int, tramp-file-mode-permissions)
2973 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
2974 (tramp-method-out-of-band-p, tramp-local-host-p)
2975 (tramp-get-remote-path, tramp-get-remote-tmpdir)
2976 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
2977 (tramp-get-test-command, tramp-get-test-nt-command)
2978 (tramp-get-file-exists-command, tramp-get-remote-ln)
2979 (tramp-get-remote-perl, tramp-get-remote-stat)
2980 (tramp-get-remote-readlink, tramp-get-remote-trash)
2981 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
2982 (tramp-get-local-uid, tramp-get-local-gid)
6664fc59 2983 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
03c1ad43
MA
2984 tramp-sh.el.
2985 (tramp-methods, tramp-default-method-alist)
2986 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
2987 Move initialization to tramp-sh.el.
2988 (tramp-temp-name-prefix): Make it a defconst.
2989 (tramp-dissect-file-name): Don't check anymore for multi-hop
2990 methods.
2991 (tramp-debug-outline-regexp): Add a docstring.
31c381e8 2992 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
03c1ad43
MA
2993 (tramp-get-debug-buffer): Use it.
2994
2995 * net/tramp-cache.el (top): Set tramp-autoload cookie for
2996 initialization forms.
2997 (tramp-set-connection-property): Don't protect `tramp-message'
2998 call, it isn't necessary any longer.
2999 (tramp-dump-connection-properties): Use `ignore-errors'.
3000
3001 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3002 'password-cache and 'auth-source.
3003
3004 * net/tramp-gvfs.el (top):
3005 * net/tramp-smb.el (top): Require 'tramp-sh.
3006
3007 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3008
3009 * net/tramp-sh.el: New file, derived from tramp.el.
3010 (top): Initialize `tramp-methods', `tramp-default-method-alist',
6139f995 3011 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
31c381e8
SM
3012 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3013 Use `ignore-errors' where appropriate.
3014 (tramp-sh-file-name-handler-alist): Rename from
03c1ad43
MA
3015 `tramp-file-name-handler-alist'.
3016 (tramp-send-command-and-check): Return t or nil. Remove all
3017 `zerop' checks, where called.
3018 (tramp-handle-set-file-modes)
3019 (tramp-do-copy-or-rename-file-directly)
3020 (tramp-handle-delete-directory, tramp-handle-delete-file)
93acd23d 3021 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
03c1ad43
MA
3022 (tramp-sh-file-name-handler, tramp-send-command-and-check)
3023 (tramp-get-remote-ln): Set tramp-autoload cookie.
3024
3025 * net/tramp-fish.el: Remove file.
3026
c5fe4acb
DU
30272010-09-13 Daiki Ueno <ueno@unixuser.org>
3028
3029 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3030 buffer-file-name to avoid file-locking. (Bug#7026)
3031
7ea2d383
MA
30322010-09-13 Julien Danjou <julien@danjou.info>
3033
3034 * notifications.el (notifications-notify): Add support for
3035 image-path and sound-name.
3036 (notifications-specification-version): Add this variable.
3037
5616cc54
SM
30382010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3039
31c381e8 3040 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5616cc54 3041
94c7243b
LL
30422010-09-12 Leo <sdl.web@gmail.com>
3043
3044 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3045 (rcirc-completion-start): New variables.
3046 (rcirc-nick-completions): Rename to rcirc-completions.
3047 (rcirc-nick-completion-start-offset): Delete.
3048 (rcirc-completion-at-point): New function for constructing
3049 completion data for both nicks and irc commands. Add to
3050 completion-at-point-functions in rcirc mode.
3051 (rcirc-complete): Rename from rcirc-nick-complete; use
3052 rcirc-completion-at-point.
3053 (defun-rcirc-command): Update rcirc-client-commands.
3054
0f34ae28
GM
30552010-09-11 Glenn Morris <rgm@gnu.org>
3056
3057 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3058 atomically, to avoid parallel build errors. (Bug#4196)
3059
9250002f
MM
30602010-09-11 Michael R. Mauger <mmaug@yahoo.com>
3061
3062 * progmodes/sql.el: Version 2.6
3063 (sql-dialect): Synonym for "sql-product".
3064 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3065 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3066 Set "sql-buffer" to buffer name not buffer object so multiple sql
3067 interactive buffers work properly. Reverts misguided changes in
3068 earlier work.
3069 (sql-comint): Make sure different buffer name is used if "*SQL*"
3070 buffer is for a different product.
3071 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3072 login param.
3073 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3074 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3075 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3076 Accept new buffer name or prompt for one.
3077 (sql-port): Default to zero.
3078 (sql-comint-mysql): Handle "sql-port" as a numeric.
3079 (sql-port-history): Delete unused variable.
3080 (sql-get-login): Default "sql-port" to a number.
31c381e8 3081 (sql-product-alist): Correct Postgres prompt and terminator regexp.
9250002f
MM
3082 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3083 "sqlite3" executables.
31c381e8 3084 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
9250002f
MM
3085 (sql-buffer-live-p): New function.
3086 (sql-mode-menu, sql-send-string): Use it.
3087 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3088 syntax pattern.
3089 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3090 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3091
a9ec34f4
LMI
30922010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3093
31c381e8 3094 * net/netrc.el (netrc-credentials): New convenience function.
a9ec34f4 3095
cf38dd42
SM
30962010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3097
3098 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3099 to replace texinfo-font-lock-syntactic-keywords.
3100 (texinfo-mode): Use it.
3101
3102 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3103 Use syntax-propertize-function.
3104
3105 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3106 replace sgml-font-lock-syntactic-keywords.
3107 (sgml-mode): Use it.
3108
3109 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3110 since we don't use it.
3111
3112 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3113
3114 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3115 if available.
3116 (vhdl-fontify-buffer): Adjust.
3117
3118 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3119 replace tcl-font-lock-syntactic-keywords.
3120 (tcl-mode): Use it.
3121
3122 * progmodes/simula.el (simula-syntax-propertize-function): New var to
3123 replace simula-font-lock-syntactic-keywords.
3124 (simula-mode): Use it.
3125
3126 * progmodes/sh-script.el (sh-st-symbol): Remove.
3127 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3128 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3129 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3130 (sh-font-lock-paren): Set syntax-multiline.
3131 (sh-font-lock-syntactic-keywords): Remove.
3132 (sh-syntax-propertize-function): New function to replace it.
3133 (sh-mode): Use it.
3134
3135 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3136 Define while compiling.
3137 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3138 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3139 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3140 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3141 (ruby-here-doc-end-syntax): Only define when
3142 syntax-propertize is not available.
3143 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3144 New functions.
3145 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3146 (electric-indent-chars): Silence bytecompiler.
3147 (ruby-mode): Use prog-mode, syntax-propertize-function, and
3148 electric-indent-chars.
3149
3150 * progmodes/python.el (python-syntax-propertize-function): New var to
3151 replace python-font-lock-syntactic-keywords.
3152 (python-mode): Use it.
3153 (python-quote-syntax): Simplify and adjust to new use.
3154
3155 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3156 replace perl-font-lock-syntactic-keywords.
3157 (perl-syntax-propertize-special-constructs): New fun to replace
3158 perl-font-lock-special-syntactic-constructs.
3159 (perl-font-lock-syntactic-face-function): New fun.
3160 (perl-mode): Use it.
3161
3162 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3163 to replace octave-font-lock-close-quotes.
3164 (octave-syntax-propertize-function): New function to replace
3165 octave-font-lock-syntactic-keywords.
3166 (octave-mode): Use it.
3167
3168 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3169 replaces mixal-font-lock-syntactic-keywords.
3170 (mixal-mode): Use it.
3171
3172 * progmodes/make-mode.el (makefile-syntax-propertize-function):
3173 New var; replaces makefile-font-lock-syntactic-keywords.
3174 (makefile-mode): Use it.
3175 (makefile-imake-mode): Adjust.
3176
3177 * progmodes/js.el (js--regexp-literal): Define while compiling.
3178 (js-syntax-propertize-function): New var; replaces
3179 js-font-lock-syntactic-keywords.
3180 (js-mode): Use it.
3181
3182 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3183 replaces gdb-script-font-lock-syntactic-keywords.
3184 (gdb-script-mode): Use it.
3185
3186 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3187 (fortran--font-lock-syntactic-keywords): New var.
3188 (fortran-line-length): Update syntax-propertize-function and
3189 fortran--font-lock-syntactic-keywords.
3190
3191 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3192
3193 * progmodes/cfengine.el (cfengine-mode):
3194 Use syntax-propertize-function.
3195 (cfengine-font-lock-syntactic-keywords): Remove.
3196
3197 * progmodes/autoconf.el (autoconf-mode):
3198 Use syntax-propertize-function.
3199 (autoconf-font-lock-syntactic-keywords): Remove.
3200
3201 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3202 (ada-after-change-function, ada-initialize-syntax-table-properties)
3203 (ada-handle-syntax-table-properties): Only define when
3204 syntax-propertize is not available.
3205 (ada-mode): Use syntax-propertize-function.
3206
3207 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3208 (font-lock-fontify-syntactic-keywords-region): Move handling of
3209 font-lock-syntactically-fontified to...
3210 (font-lock-default-fontify-region): ...here.
3211 Let syntax-propertize-function take precedence.
3212 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3213
3214 * emacs-lisp/syntax.el (syntax-propertize-function)
3215 (syntax-propertize-chunk-size, syntax-propertize--done)
3216 (syntax-propertize-extend-region-functions): New vars.
3217 (syntax-propertize-wholelines, syntax-propertize-multiline)
3218 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3219 (syntax-propertize): New functions.
3220 (syntax-propertize-rules): New macro.
3221 (syntax-ppss-flush-cache): Set syntax-propertize--done.
3222 (syntax-ppss): Call syntax-propertize.
3223
3224 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3225
36f7d366
AM
32262010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
3227
3228 * textmodes/ispell.el (ispell-init-process): Improve comments.
3229 XEmacs compatibility changes regarding (add-hook) 'local option
3230 and (set-process-query-on-exit-flag).
3231
8fca3921
MA
32322010-09-09 Michael Albinus <michael.albinus@gmx.de>
3233
cf38dd42
SM
3234 * net/tramp-cache.el (tramp-parse-connection-properties):
3235 Set tramp-autoload cookie.
8fca3921 3236
399653d6
GM
32372010-09-09 Glenn Morris <rgm@gnu.org>
3238
3239 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3240 (imagemagick-register-types): Doc fix.
3241
c34a9669
SM
32422010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3243
b073dc4b
SM
3244 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3245
3246 * progmodes/js.el (require): Require is already "eval-and-compile".
3247 (js--re-search-forward): Avoid `eval'. Preserve the error data.
3248 (js--re-search-backward): Use js--re-search-forward.
3249
3250 * progmodes/fortran.el (fortran-line-length): Don't recompute
3251 syntactic keywords redundantly a second time.
3252
3253 * progmodes/ada-mode.el: Replace "(set '" with setq.
3254 (ada-mode): Simplify.
3255 (ada-create-case-exception, ada-adjust-case-interactive)
3256 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3257 (ada-search-ignore-string-comment, ada-move-to-start)
3258 (ada-move-to-end): Use with-syntax-table.
3259
3260 * font-lock.el (save-buffer-state): Remove `varlist' arg.
3261 (font-lock-unfontify-region, font-lock-default-fontify-region):
3262 Update usage correspondingly.
3263 (font-lock-fontify-syntactic-keywords-region):
3264 Set parse-sexp-lookup-properties buffer-locally here.
3265 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3266
c34a9669
SM
3267 * simple.el (blink-matching-open): Don't burp if we can't find a match.
3268
13639aab
GM
32692010-09-08 Glenn Morris <rgm@gnu.org>
3270
5a972c36
GM
3271 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3272 Error if not compiled with -DBYTE_CODE_METER.
3273
13639aab
GM
3274 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3275 Ignore dir-locals-file.
3276
331b2b90
SM
32772010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
3278
3279 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3280 Not a const.
3281 (compilation-error-regexp-alist-alist): Rule out ": " in file names
3282 for the `gnu' messages.
3283 (compilation-set-skip-threshold): New command.
3284 (compilation-start): Use \' rather than $.
3285 (compilation-forget-errors): Use clrhash.
3286
73b4d51a
AM
32872010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
3288
3289 * textmodes/ispell.el (ispell-valid-dictionary-list):
3290 Simplify logic.
3291
0f34aa77
MA
32922010-09-08 Michael Albinus <michael.albinus@gmx.de>
3293
3294 Migrate to Tramp 2.2. Rearrange load dependencies.
3295 (Bug#1529, Bug#5448, Bug#5705)
3296
3297 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3298 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3299 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3300
3301 * net/tramp.el (top): Remove all other tramp-* loads except
3302 tramp-compat.el. Remove all changes to tramp-unload-hook for
3303 other tramp-* packages. Rearrange defun order. Change calls of
3304 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3305 `tramp-compat-octal-to-decimal' to new function names.
3306 (tramp-terminal-type, tramp-initial-end-of-output)
3307 (tramp-methods, tramp-foreign-file-name-handler-alist)
3308 (tramp-tramp-file-p, tramp-completion-mode-p)
3309 (tramp-send-command-and-check, tramp-get-remote-path)
3310 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3311 (tramp-shell-quote-argument): Set tramp-autoload cookie.
3312 (with-file-property, with-connection-property): Move to
3313 tramp-cache.el.
3314 (tramp-local-call-process, tramp-decimal-to-octal)
3315 (tramp-octal-to-decimal): Move to tramp-compat.el.
3316 (tramp-handle-shell-command): Do not require 'shell.
3317 (tramp-compute-multi-hops): No special handling for tramp-gw-*
3318 symbols.
3319 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3320
3321 * net/tramp-cache.el (top): Require 'tramp. Add to
3322 `tramp-unload-hook'.
3323 (tramp-cache-data, tramp-get-file-property)
3324 (tramp-set-file-property, tramp-flush-file-property)
3325 (tramp-flush-directory-property, tramp-get-connection-property)
3326 (tramp-set-connection-property, tramp-flush-connection-property)
3327 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3328 cookie.
3329 (with-file-property, with-connection-property): New defuns, moved
3330 from tramp.el.
3331 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
3332 macro.
3333
3334 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
3335 (tramp-version): Set tramp-autoload cookie.
3336
3337 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
3338 changes to tramp-unload-hook for other tramp-* packages. Add to
3339 `tramp-unload-hook'.
3340 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
3341 (tramp-compat-call-process): New defuns, moved from tramp.el.
3342
3343 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
3344 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
3345 to `tramp-unload-hook'. Change call of
3346 `tramp-compat-decimal-to-octal' to new function name.
3347 (tramp-fish-method): Make it a defconst.
3348 (tramp-fish-file-name-p): Make it a defsubst.
3349 (tramp-fish-method, tramp-fish-file-name-handler)
3350 (tramp-fish-file-name-p): Set tramp-autoload cookie.
3351
3352 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
3353 `tramp-foreign-file-name-handler-alist'. Add to
3354 `tramp-unload-hook'.
3355 (tramp-ftp-method): Make it a defconst.
3356 (tramp-ftp-file-name-p): Make it a defsubst.
3357 (tramp-ftp-method, tramp-ftp-file-name-handler)
3358 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
3359
3360 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
3361 `tramp-foreign-file-name-handler-alist'. Add to
3362 `tramp-unload-hook'. Change checks, whether package can be
3363 loaded.
3364 (tramp-gvfs-file-name-p): Make it a defsubst.
3365 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
3366 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
3367 (tramp-gvfs-handle-file-directory-p): New defun.
3368 (tramp-gvfs-file-name-handler-alist): Use it.
3369
3370 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
3371 `tramp-foreign-file-name-handler-alist'. Add to
3372 `tramp-unload-hook'.
3373 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
3374 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
3375 defconst.
3376 (tramp-gw-tunnel-method, tramp-gw-socks-method)
3377 (tramp-gw-open-connection): Set tramp-autoload cookie.
3378
3379 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
3380 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
3381 to `tramp-unload-hook'. Change checks, whether package can be
3382 loaded.
3383 (tramp-imap-file-name-p): Make it a defsubst.
3384 (tramp-imap-method, tramp-imaps-method)
3385 (tramp-imap-file-name-handler)
3386 (tramp-imap-file-name-p): Set tramp-autoload cookie.
3387
3388 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
3389 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
3390 to `tramp-unload-hook'. Change checks, whether package can be
3391 loaded. Change call of `tramp-compat-decimal-to-octal' to new
3392 function name.
3393 (tramp-smb-tunnel-method): Make it a defconst.
3394 (tramp-smb-file-name-p): Make it a defsubst.
3395 (tramp-smb-method, tramp-smb-file-name-handler)
3396 (tramp-smb-file-name-p): Set tramp-autoload cookie.
3397
3398 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3399 (tramp-uuencode-region): Set tramp-autoload cookie.
3400
3401 * net/trampver.el (top) Add to `tramp-unload-hook'.
3402 (tramp-version, tramp-bug-report-address): Set tramp-autoload
3403 cookie. Update release number.
3404
308e764f
AM
34052010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
3406
3407 * textmodes/ispell.el (ispell-start-process): Make sure original
3408 arg list is properly initialized (Bug#6993, Bug#6994).
3409
10999305 34102010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
3fa0dc8f
AK
3411
3412 * files.el (directory-abbrev-alist): Use \` as default regexp.
19fe13df
SM
3413
3414 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
3415 chars like - or ] (bug#6984).
3416 (rx-any-condense-range): Explode 2-char ranges.
3417
10999305
CY
34182010-09-06 Glenn Morris <rgm@gnu.org>
3419
3420 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
3421
34222010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1e05f387
SM
3423
3424 * textmodes/bibtex.el:
3425 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
3426
f292afe5
LMI
34272010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3428
331b2b90 3429 * net/imap.el (imap-message-map): Remove optional buffer parameter,
f292afe5
LMI
3430 since no callers use it.
3431 (imap-message-get): Ditto.
3432 (imap-message-put): Ditto.
3433 (imap-mailbox-map): Ditto.
3434 (imap-mailbox-put): Ditto.
3435 (imap-mailbox-get): Ditto.
a131b9b8 3436 (imap-mailbox-get): Revert last change for this function.
f292afe5 3437
dfe1285d
LMI
34382010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3439
331b2b90 3440 * net/imap.el (imap-fetch-safe): Remove function, and alter all
31b5f292
LMI
3441 callers to use `imap-fetch' instead. According to the comments, this
3442 should be safe, since all other IMAP clients use the 1:* syntax.
331b2b90
SM
3443 (imap-enable-exchange-bug-workaround): Remove.
3444 (imap-debug): Remove -- doesn't seem very useful.
dfe1285d 3445
3ff31c90
LMI
34462010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3447
3448 * net/imap.el (imap-log): New convenience function used throughout
3449 instead of repeating the same code all over the place.
3450
dfe1285d 34512010-09-05 David De La Harpe Golden <david@harpegolden.net>
93d68d4f
DDLHG
3452
3453 * mouse.el (mouse-save-then-kill): Save region to kill-ring
3454 when mouse-drag-copy-region is non-nil (Bug#6956).
3455
93a596e1
CY
34562010-09-05 Chong Yidong <cyd@stupidchicken.com>
3457
8d76af4a
CY
3458 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
3459 Improve regexps (Bug#6987).
3460 (dired-sort-toggle): Search more robustly for -t flag.
3461
93a596e1
CY
3462 * files.el (get-free-disk-space): Search more robustly for
3463 "available" column. Suggested by Ehud Karni
3464 <ehud@unix.mvs.co.il>.
3465
733946e7
JB
34662010-09-05 Juanma Barranquero <lekktu@gmail.com>
3467
3468 * international/uni-bidi.el:
3469 * international/uni-category.el:
3470 * international/uni-combining.el:
3471 * international/uni-decimal.el:
3472 * international/uni-mirrored.el:
3473 * international/uni-name.el: Regenerate.
3474
2e664aab
SM
34752010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3476
6aeafb34
SM
3477 * electric.el (electric-indent-post-self-insert-function):
3478 Don't reindent with a sloppy indentation function.
3479
2e664aab
SM
3480 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
3481 border case in change-log-mode.
3482
13ef65a4
CY
34832010-09-04 Chong Yidong <cyd@stupidchicken.com>
3484
3485 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3486 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
3487 Recognize leading tab in gcc-include regexp. Ignore names with
3488 leading "from" or "in" in gnu regexp (Bug#6937).
3489
5abf1556
SM
34902010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3491
6aeafb34 3492 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5abf1556
SM
3493 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
3494 (ispell-start-process): Avoid setq and simplify logic.
3495 (ispell-init-process): Setup kill-buffer-hook locally when needed.
3496 (kill-buffer-hook): Don't use it globally with code that uses
3497 expand-file-name since that may call kill-buffer via
3498 code_conversion_restore.
3499
0be01d2c
CY
35002010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
3501
3502 * emacs-lisp/package.el (package-directory-list): Only call
3503 file-name-nondirectory on a string.
3504
ebf662f4
CY
35052010-09-02 Chong Yidong <cyd@stupidchicken.com>
3506
5abf1556
SM
3507 * emacs-lisp/package.el (package--download-one-archive):
3508 Ensure that archive-contents is valid before saving it.
ebf662f4
CY
3509 (package-activate-1, package-mark-obsolete, define-package)
3510 (package-compute-transaction, package-list-maybe-add): Use push.
3511
e5eddfd1
SM
35122010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3513
89acf735
SM
3514 Use SMIE's blink-paren for octave-mode.
3515 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
3516 Backslashes do not escape single-quotes, single-quotes do.
3517 (octave-block-else-regexp, octave-block-end-regexp)
3518 (octave-block-match-alist): Remove.
3519 (octave-smie-bnf-table): New var, with old content.
3520 (octave-smie-op-levels): Use it.
3521 (octave-smie-closer-alist): New var.
3522 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
3523 (octave-blink-matching-block-open): Remove.
3524 (octave-reindent-then-newline-and-indent, octave-electric-semi)
3525 (octave-electric-space): Let self-insert-command run expand-abbrev and
3526 blink parens.
3527
3b843809
SM
3528 * electric.el (electricity): New group.
3529 (electric-indent-chars): New var.
3530 (electric-indent-post-self-insert-function): New fun.
3531 (electric-indent-mode): New minor mode.
3532 (electric-pair-skip-self): New custom.
3533 (electric-pair-post-self-insert-function): New function.
3534 (electric-pair-mode): New minor mode.
3535
0da20854
SM
3536 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
3537 calcAlg-blink-matching-open.
3538 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
3539 (calc-do-alg-entry): Only touch the part of the keymap that varies.
3540 Use the new blink-matching-check-function.
3541
a49e651e
SM
3542 Provide blink-matching support to SMIE.
3543 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
3544 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
3545 (smie-blink-matching-check, smie-blink-matching-open): New functions.
3546
e5eddfd1
SM
3547 * simple.el (newline): Fix last change to properly remove itself from
3548 the hook.
3549
b13ebb5c
SM
35502010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3551
3552 * simple.el (newline): Eliminate optimization.
3553 Use post-self-insert-hook to set hard-newline and things before
3554 running post-self-insert-hook.
3555 (blink-matching-check-mismatch): New function.
3556 (blink-matching-check-function): New variable.
3557 (blink-matching-open): Use them.
3558 Skip back forward over prefix chars skipped by forward-sexp.
3559 Don't check if the parens are backslash escaped.
3560 (blink-paren-post-self-insert-function): Check backslash escaping here.
3561
e687c2cd
CY
35622010-09-02 Chong Yidong <cyd@stupidchicken.com>
3563
b13ebb5c
SM
3564 * emacs-lisp/package.el (package-menu-mode-map):
3565 Change package-menu-revert bindings to revert-buffer.
e687c2cd
CY
3566 (package-menu-mode): Set revert-buffer-function.
3567 (package-menu-revert): Doc fix.
3568
567efba9
AM
35692010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
3570
3571 * textmodes/ispell.el (ispell-init-process): Use "~/" as
3572 `default-directory' unless using Ispell per-directory personal
3573 dictionaries and not in a mini-buffer under XEmacs.
3574 (kill-buffer-hook): Do not kill ispell process on exit when
93acd23d 3575 `ispell-process-directory' is "~/". (Bug#6143)
567efba9 3576
6d7cc563
JD
35772010-09-02 Jan Djärv <jan.h.d@swipnet.se>
3578
08d4877e
J
3579 * simple.el (kill-new): Call interprogram-cut-function with only
3580 one argument.
3581
45240125
JD
3582 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
3583 Remove cut buffer from error message.
3584
3585 * term/x-win.el (x-select-text):
3586 * term/pc-win.el (x-selection-value):
3587 * term/ns-win.el (x-selection-value):
3588 * eshell/em-term.el:
3589 * w32-fns.el (x-get-selection-value):
3590 * mouse-sel.el (mouse-sel-set-selection-function):
3591 * frame.el (display-selections-p): Remove cut-buffer in documentation.
3592
6d7cc563
JD
3593 * term/x-win.el: Update documentation for x-last-selected-text-*.
3594 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
3595 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
3596 (x-select-text): Remove argument PUSH, update documentation. Remove
3597 cut-buffer code.
3598 (x-selection-value-internal): Was previously x-selection-value.
5986b97d 3599 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6d7cc563
JD
3600 Update documentation, remove cut-buffer code. Call
3601 x-selection-value-internal.
3602 (x-clipboard-yank): Call x-selection-value-internal.
3603 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
3604
3605 * term/pc-win.el (x-last-selected-text):
3606 x-cut-buffer-or-selection-value renamed to x-selection-value
3607 (x-select-text): Remove argument PUSH, update documentation.
3608
3609 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
3610 x-cut-buffer-or-selection-value renamed to x-selection-value
3611 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
3612 (x-select-text): Remove argument PUSH, update documentation.
3613
3614 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
3615
3616 * w32-fns.el (x-last-selected-text):
3617 x-cut-buffer-or-selection-value renamed to x-selection-value.
3618 (x-cut-buffer-max): Remove.
3619 (x-select-text): Remove argument PUSH, update documentation.
3620
3621 * simple.el (interprogram-cut-function): Remove mention of PUSH.
3622
3623 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
3624
3625 * mouse-sel.el (mouse-sel-get-selection-function):
3626 x-cut-buffer-or-selection-value renamed to x-selection-value.
5986b97d 3627 (x-select-text): Remove optional push.
6d7cc563 3628
4de81ee0
SM
36292010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3630
8f4e9110
SM
3631 * simple.el (blink-paren-function): Move from C to here.
3632 (blink-paren-post-self-insert-function): New function.
3633 (post-self-insert-hook): Use it.
3634
4de81ee0
SM
3635 * emacs-lisp/pcase.el (pcase-split-memq):
3636 Fix overenthusiastic optimisation.
3637 (pcase-u1): Handle the case of a lambda pred.
3638
d419e1d9
KH
36392010-08-31 Kenichi Handa <handa@m17n.org>
3640
3641 * international/mule-cmds.el (standard-display-european-internal):
3642 Setup standard-display-table for 8-bit characters by storing 8-bit
3643 characters in the element vector.
3644
1e05f387
SM
3645 * disp-table.el (standard-display-8bit):
3646 Setup standard-display-table for 8-bit characters by storing 8-bit
d419e1d9
KH
3647 characters in the element vector.
3648 (standard-display-european): Likewise.
3649
61f7096c
CY
36502010-08-31 Masatake YAMATO <yamato@redhat.com>
3651
3652 * textmodes/nroff-mode.el (nroff-view): New command.
3653 (nroff-mode-map): Bind it to C-c C-c.
3654
ec5d3ff7
SM
36552010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
3656
c8977b2e
SM
3657 * emacs-lisp/smie.el (smie-down-list): New command.
3658
ec5d3ff7
SM
3659 Remove old indentation and navigation code on octave-mode.
3660 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
3661 smie-down-list rather than add a binding for octave-down-block.
3662 (octave-mark-block, octave-blink-matching-block-open):
3663 Rely on forward-sexp-function.
3664 (octave-fill-paragraph): Don't narrow, so you can use
3665 indent-according-to-mode.
3666 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
3667 (octave-in-block-p, octave-re-search-forward-kw)
3668 (octave-re-search-backward-kw, octave-indent-calculate)
3669 (octave-end-as-array-index-p, octave-block-end-offset)
3670 (octave-scan-blocks, octave-forward-block, octave-backward-block)
3671 (octave-down-block, octave-backward-up-block, octave-up-block)
3672 (octave-before-magic-comment-p, octave-indent-line): Remove.
3673
187d3296
CY
36742010-08-31 Chong Yidong <cyd@stupidchicken.com>
3675
3676 * emacs-lisp/package.el (package--read-archive-file): Just use
3677 `read', to avoid copying an additional string.
3678 (package-menu-mode): Set header-line-format here.
3679 (package-menu-refresh, package-menu-revert): Signal an error if
3680 not in the Package Menu.
3681 (package-menu-package-list): New var.
3682 (package--generate-package-list): Operate on the current buffer;
3683 don't assume that it is *Packages*, since the user may rename it.
3684 Allow persistent package listings and sort keys using
3685 package-menu-package-list and package-menu-package-sort-key.
3686 (package-menu--version-predicate): Fix version calculation.
3687 (package-menu-sort-by-column): Don't select the window.
ec5d3ff7
SM
3688 (package--list-packages): Create the *Packages* buffer.
3689 Set package-menu-package-list-key.
187d3296
CY
3690 (list-packages): Sorting by status is now the default.
3691 (package-buffer-info): Use match-string-no-properties.
3692 (define-package): Add a &rest argument for future proofing, but
3693 don't use it yet.
3694 (package-install-from-buffer, package-install-buffer-internal):
ec5d3ff7
SM
3695 Merge into a single function, package-install-from-buffer.
3696 (package-install-file): Change caller.
187d3296
CY
3697
3698 * finder.el: Load finder-inf using `require'.
3699 (finder-list-matches): Sorting by status is now the default.
3700 (finder-compile-keywords): Simpify printing.
3701
e17b68ed
SM
37022010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3703
3704 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3705 (octave-mode-map): Remove special bindings for forward/backward-block
3706 and octave-backward-up-block. Use smie-close-block.
3707 (octave-continuation-marker-regexp): New var.
3708 (octave-continuation-regexp): Use it.
3709 (octave-operator-table, octave-smie-op-levels)
3710 (octave-operator-regexp, octave-smie-indent-rules): New vars.
3711 (octave-smie-backward-token, octave-smie-forward-token): New funs.
3712 (octave-mode): Use SMIE.
3713 (octave-close-block): Delete.
3714
42b6a73b
EZ
37152010-08-30 Eli Zaretskii <eliz@gnu.org>
3716
3717 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
3718 CLIPBOARD, not in PRIMARY. (Bug#6944)
3719
f291fe60
SM
37202010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3721
ee992a8c
SM
3722 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
3723 a list of parents.
3724 (smie-indent-column): Allow indirection through variables.
3725
d36b74ca
SM
3726 * composite.el (save-buffer-state): Delete, unused.
3727 * font-lock.el (save-buffer-state): Use with-silent-modifications.
3728 (font-lock-default-fontify-region): Use with-syntax-table.
3729 * jit-lock.el (with-buffer-unmodified): Remove.
3730 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
3731
f291fe60
SM
3732 Use `declare' in defmacros.
3733 * window.el (save-selected-window):
3734 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
3735 * progmodes/python.el (def-python-skeleton):
3736 * net/dbus.el (dbus-ignore-errors):
3737 * jka-cmpr-hook.el (with-auto-compression-mode):
3738 * international/mule.el (with-category-table):
3739 * emacs-lisp/timer.el (with-timeout):
3740 * emacs-lisp/lisp-mnt.el (lm-with-file):
3741 * emacs-lisp/eieio.el (with-slots):
3742 * emacs-lisp/easymenu.el (easy-menu-define):
3743 * emacs-lisp/debug.el (debugger-env-macro):
3744 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
3745 (Multiple-value-call, Multiple-value-prog1):
3746 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
3747 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
3748 edebug rule to definition.
3749 * emacs-lisp/lisp-mode.el (save-selected-window)
3750 (with-current-buffer, combine-after-change-calls)
3751 (with-output-to-string, with-temp-file, with-temp-buffer)
3752 (with-temp-message, with-syntax-table, read-if, eval-after-load)
3753 (dolist, dotimes, when, unless):
3754 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
3755
96ae4c8f
CY
37562010-08-29 Chong Yidong <cyd@stupidchicken.com>
3757
3758 * finder.el: Require `package'.
3759 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
3760 (finder-package-info): Var deleted.
3761 (finder-keywords-hash, finder--builtins-alist): New vars.
3762 (finder-compile-keywords): Compute package--builtins and
3763 finder-keywords-hash instead of finder-keywords-hash, respecting
3764 the "Package" header.
f291fe60
SM
3765 (finder-unknown-keywords, finder-list-matches):
3766 Use finder-keywords-hash and package--list-packages.
96ae4c8f
CY
3767 (finder-mode): Don't set font-lock-defaults.
3768 (finder-exit): We don't use "*Finder-package*" and "*Finder
3769 Category*" buffers anymore.
3770
3771 * emacs-lisp/package.el (package--builtins-base): Var deleted.
3772 (package--builtins): Set default value to nil.
3773 (package-initialize): Load precomputed value of package--builtins
3774 from finder-inf.el.
3775 (package-alist, package-compute-transaction)
3776 (package-download-transaction): Improve docstring.
3777 (package-read-all-archive-contents): Do not change
3778 package--builtins here.
3779 (list-packages): Make package-list-packages an alias for this.
3780 Sort by status by default.
3781 (package--list-packages): Add optional PACKAGES arg.
3782 (describe-package-1): Use font-lock-face property. For built-in
3783 packages, insert file commentary.
3784 (package--generate-package-list): Rename from
3785 package-list-packages-internal; all callers changed. Add optional
3786 PACKAGES arg. Add alphabetical sort fallbacks.
3787 (package-menu--version-predicate, package-menu--status-predicate)
3788 (package-menu--description-predicate)
3789 (package-menu--name-predicate): New functions.
3790
3791 * info.el (Info-finder-find-node): Search package-alist instead of
3792 finder-package-info.
3793
e2046ecf
CY
37942010-08-29 Chong Yidong <cyd@stupidchicken.com>
3795
3796 * subr.el (version-regexp-alist): Don't use "a" and "b" for
3797 "alpha" and "beta".
3798 (version-to-list): Handle versions like "10.3d".
3799
6fe79b7c
SM
38002010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3801
3802 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
3803 (macroexp-accumulate): Use `declare'.
3804
1a868076
VJL
38052010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3806
3807 * whitespace.el (whitespace-style): Adjust type declaration.
3808
9e69cb05
KH
38092010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
3810
3811 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3812 empty argument to gvfs-copy.
3813
38142010-08-26 Chong Yidong <cyd@stupidchicken.com>
3815
3816 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3817 handle new TRASH arg of `delete-file'.
3818
38192010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
3820
3821 * net/tramp.el (tramp-handle-insert-directory): Don't use
3822 `forward-word', its default syntax could be changed.
3823
38242010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3825 Michael Albinus <michael.albinus@gmx.de>
3826
3827 Implement compression for inline methods.
3828
3829 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
3830 (tramp-copy-size-limit): Allow also nil.
3831 (tramp-inline-compress-commands): New defconst.
3832 (tramp-find-inline-compress, tramp-get-inline-compress)
3833 (tramp-get-inline-coding): New defuns.
3834 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
3835 replaced by `tramp-get-inline-coding'.
3836 (tramp-handle-file-local-copy, tramp-handle-write-region)
3837 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
3838
38392010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
3840
3841 Detect ssh 'ControlMaster' argument automatically in some cases.
3842
3843 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
3844 (tramp-default-method): Use it.
3845
38462010-08-26 Karel Klíč <kklic@redhat.com>
3847
3848 * net/tramp.el (tramp-file-name-for-operation):
3849 Add file-selinux-context.
3850
38512010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
3852
3853 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
3854
38552010-08-26 Chong Yidong <cyd@stupidchicken.com>
3856
3857 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
3858 (Bug#6907).
3859
4142607e
NW
38602010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
3861
3862 * progmodes/js.el: Make indentation more customizable (Bug#6914).
3863 (js-paren-indent-offset, js-square-indent-offset)
3864 (js-curly-indent-offset): New options.
3865 (js--proper-indentation): Use them.
3866
88a36e60
DC
38672010-08-26 Daniel Colascione <dan.colascione@gmail.com>
3868
3869 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
3870 instead of inspecting font-lock properties (Bug#6916).
3871
38dbc4d8
DR
38722010-08-26 David Reitter <david.reitter@gmail.com>
3873
3874 * server.el (server-visit-files): Run pre-command-hook and
76e3243a 3875 post-command-hook for each buffer while it is current (Bug#6910).
38dbc4d8
DR
3876 (server-execute): Do not run hooks here.
3877
44ffae96
MA
38782010-08-26 Michael Albinus <michael.albinus@gmx.de>
3879
3880 Sync with Tramp 2.1.19.
3881
20b8ac83
MA
3882 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3883 (tramp-reporter-dump-variable, tramp-load-report-modules)
3884 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
3885 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
3886
3887 * net/tramp-compat.el (top): Do not autoload
3888 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
3889 only when `start-file-process' is not bound.
3890 (byte-compile-not-obsolete-vars): Define if not bound.
3891 (tramp-compat-funcall): New defmacro.
3892 (tramp-compat-line-beginning-position)
3893 (tramp-compat-line-end-position)
3894 (tramp-compat-temporary-file-directory)
3895 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
3896 (tramp-compat-copy-file, tramp-compat-copy-directory)
3897 (tramp-compat-delete-file, tramp-compat-delete-directory)
3898 (tramp-compat-number-sequence, tramp-compat-process-running-p):
3899 Use it.
3900 (tramp-advice-file-expand-wildcards): Do not use
3901 `tramp-handle-file-remote-p'.
3902 (tramp-compat-make-temp-file): Simplify fallback implementation.
3903 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3904 (tramp-compat-copy-tree): Remove function.
3905 (tramp-compat-delete-file): New defun.
3906 (tramp-compat-delete-directory): Provide implementation for older
3907 Emacsen.
3908 (tramp-compat-file-attributes): Handle only
3909 `wrong-number-of-arguments' error.
3910
95b6d681
JB
3911 * net/tramp-fish.el (tramp-fish-handle-copy-file):
3912 Add PRESERVE_SELINUX_CONTEXT.
20b8ac83
MA
3913 (tramp-fish-handle-delete-file): Add TRASH arg.
3914 (tramp-fish-handle-directory-files-and-attributes):
3915 Do not use `tramp-fish-handle-file-attributes.
3916 (tramp-fish-handle-file-local-copy)
3917 (tramp-fish-handle-insert-file-contents)
3918 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
3919
3920 * net/tramp-gvfs.el (top): Require url-util.
3921 (tramp-gvfs-mount-point): Remove.
3922 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
3923 and `set-file-selinux-context'.
3924 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
3925 (tramp-gvfs-handle-file-selinux-context)
3926 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
3927 (with-tramp-dbus-call-method): Format trace message.
3928 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
3929 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
1e05f387
SM
3930 Implement backup call, when operation on local files fails.
3931 Use progress reporter. Flush properties of changed files.
20b8ac83
MA
3932 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
3933 `tramp-compat-delete-file'.
3934 (tramp-gvfs-handle-expand-file-name): Expand "~/".
3935 (tramp-gvfs-handle-make-directory): Make more traces.
3936 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
3937 (tramp-gvfs-url-file-name): Hexify file name in url.
3938 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3939 into account for the resulting file name.
3940 (tramp-gvfs-handler-askquestion): Preserve current message, in
3941 order to let progress reporter continue afterwards. (Bug#6257)
1e05f387
SM
3942 Return dummy mountpoint, when the answer is "no".
3943 See `tramp-gvfs-maybe-open-connection'.
20b8ac83
MA
3944 (tramp-gvfs-handler-mounted-unmounted)
3945 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
1e05f387
SM
3946 attribute "default_location". Set "prefix" property.
3947 Handle default-location.
20b8ac83
MA
3948 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3949 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3950 exists. Raise an error, if not (due to a corresponding answer
93acd23d
JB
3951 "no" in interactive questions, for example).
3952 Use `tramp-compat-funcall'.
20b8ac83
MA
3953
3954 * net/tramp-imap.el (top): Autoload `epg-make-context'.
3955 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3956 (tramp-imap-do-copy-or-rename-file)
3957 (tramp-imap-handle-insert-file-contents)
3958 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
3959 (tramp-imap-handle-delete-file): Add TRASH arg.
3960
1e05f387
SM
3961 * net/tramp-smb.el (tramp-smb-handle-copy-file):
3962 Add PRESERVE-SELINUX-CONTEXT.
20b8ac83
MA
3963 (tramp-smb-handle-copy-file)
3964 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3965 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
3966 Use `with-progress-reporter'.
3967 (tramp-smb-handle-delete-file): Add TRASH arg.
3968
3969 * net/tramp.el (tramp-methods): Move hostname to the end in all
3970 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
3971 appropriate.
3972 (tramp-verbose): Describe verbose level 9.
3973 (tramp-completion-function-alist)
3974 (tramp-file-name-regexp, tramp-chunksize)
3975 (tramp-local-coding-commands, tramp-remote-coding-commands)
3976 (with-connection-property, tramp-completion-mode-p)
3977 (tramp-action-process-alive, tramp-action-out-of-band)
3978 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
3979 (tramp-exists-file-name-handler): Fix docstring.
3980 (tramp-remote-process-environment): Use `format' instead of
3981 `concat'. Protect version string by apostroph.
3982 (tramp-shell-prompt-pattern): Do not use a shy group in case of
3983 XEmacs.
3984 (tramp-file-name-regexp-unified)
3985 (tramp-completion-file-name-regexp-unified): On W32 systems, do
3986 not regard the volume letter as remote filename. (Bug#5447)
3987 (tramp-perl-file-attributes)
3988 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3989 (tramp-vc-registered-read-file-names): Read input as
3990 here-document, otherwise the command could exceed maximum length
3991 of command line.
3992 (tramp-file-name-handler-alist): Add `file-selinux-context' and
3993 `set-file-selinux-context'.
3994 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
3995 backtrace functions.
3996 (tramp-error-with-buffer): Don't show the connection buffer when
3997 we are in completion mode.
3998 (tramp-progress-reporter-update, tramp-remote-selinux-p)
3999 (tramp-handle-file-selinux-context)
4000 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4001 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4002 New defuns.
4003 (with-progress-reporter): New defmacro.
4004 (tramp-debug-outline-regexp): New defconst.
4005 (top, tramp-rfn-eshadow-setup-minibuffer)
4006 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4007 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4008 (tramp-completion-mode-p, tramp-check-for-regexp)
4009 (tramp-open-connection-setup-interactive-shell)
4010 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4011 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4012 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4013 Use `tramp-compat-funcall'.
4014 (tramp-handle-make-symbolic-link): Flush file properties.
4015 (tramp-handle-load, tramp-handle-file-local-copy)
4016 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4017 (tramp-handle-vc-registered, tramp-maybe-send-script)
4018 (tramp-find-shell): Use `with-progress-reporter'.
4019 (tramp-do-file-attributes-with-stat): Add space in format string,
4020 in order to work around a bug in pdksh. Reported by Gilles Pion
4021 <gpion@lfdj.com>.
4022 (tramp-handle-verify-visited-file-modtime): Do not send a command
4023 when the connection is not established.
4024 (tramp-handle-set-file-times): Simplify the check for utc.
4025 (tramp-handle-directory-files-and-attributes)
4026 (tramp-get-remote-path): Use `copy-tree'.
4027 (tramp-completion-handle-file-name-all-completions): Ensure, that
4028 non remote files are still checked. Oops.
1e05f387
SM
4029 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4030 Handle PRESERVE-SELINUX-CONTEXT.
20b8ac83
MA
4031 (tramp-do-copy-or-rename-file): Add progress reporter.
4032 (tramp-do-copy-or-rename-file-directly): Do not use
4033 `tramp-handle-file-remote-p'.
4034 (tramp-do-copy-or-rename-file-out-of-band):
4035 Use `tramp-compat-delete-directory'.
4036 (tramp-do-copy-or-rename-file-out-of-band)
4037 (tramp-compute-multi-hops, tramp-maybe-open-connection):
4038 Use `format-spec-make'.
4039 (tramp-handle-delete-file): Add TRASH arg.
4040 (tramp-handle-dired-uncache): Flush directory cache, not only file
4041 cache.
4042 (tramp-handle-expand-file-name)
4043 (tramp-completion-handle-file-name-all-completions)
1e05f387
SM
4044 (tramp-completion-handle-file-name-completion):
4045 Use `tramp-connectable-p'.
20b8ac83
MA
4046 (tramp-handle-start-file-process): Set connection property "vec".
4047 Use it, in order to invalidate file caches. Check only for
4048 `remote-tty' process property.
4049 Implement tty setting. (Bug#4604, Bug#6360)
4050 (tramp-file-name-for-operation): Add `call-process-region' and
4051 `set-file-selinux-context'.
4052 (tramp-find-foreign-file-name-handler)
4053 (tramp-advice-make-auto-save-file-name)
4054 (tramp-set-auto-save-file-modes): Remove superfluous check for
4055 `stringp'. This is done inside `tramp-tramp-file-p'.
4056 (tramp-file-name-handler): Trace 'quit. Catch the error for some
4057 operations when we are in completion mode. This gives the user
4058 the chance to correct the file name in the minibuffer.
4059 (tramp-completion-mode-p): Use `non-essential'.
4060 (tramp-handle-file-name-all-completions): Backward/ XEmacs
4061 compatibility: Use `completion-ignore-case' if
4062 `read-file-name-completion-ignore-case' does not exist.
4063 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4064 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4065 `tramp-open-shell'.
4066 (tramp-action-password): Hide password prompt before next run.
4067 (tramp-process-actions): Widen connection buffer for the trace.
4068 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4069 process property. Trace stty settings if `tramp-verbose' >= 9.
4070 Apply workaround for IRIX64 bug. Move argument of last
4071 `tramp-send-command' where it belongs to.
4072 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4073 front of `login-args'.
4074 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4075 on "/dev/null" instead of "/".
4076 (tramp-get-ls-command-with-dired): Make test for "--dired"
4077 stronger.
4078 (tramp-set-auto-save-file-modes): Adapt version check.
4079 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4080 (tramp-handle-process-file): Call the program in a subshell, in
4081 order to preserve working directory.
4082 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4083 `tramp-remote-sh' from `tramp-methods'.
4084 (tramp-get-ls-command): Make test for "--color=never" stronger.
4085 (tramp-check-for-regexp): Use (forward-line 1).
4086
44ffae96
MA
4087 * net/trampver.el: Update release number.
4088
cb6c4991
CY
40892010-08-26 Chong Yidong <cyd@stupidchicken.com>
4090
4091 * help.el (help-map): Bind `C-h P' to describe-package.
4092
4093 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4094
4095 * emacs-lisp/package.el (package-refresh-contents): Catch errors
4096 when downloading archives.
4097 (describe-package-1): Add package commentary.
4098 (package-install-button-action): New function.
4099 (package-menu-mode-map): Bind ? to package-menu-describe-package.
4100 (package-menu-view-commentary): Function removed.
4101 (package-list-packages-internal): Hide the `package' package too.
4102
b60f961f
KH
41032010-08-25 Kenichi Handa <handa@m17n.org>
4104
4105 * language/misc-lang.el ("Arabic"): New language environment.
4106 Setup composition-function-table for Arabic characters.
4107
4108 * international/fontset.el (setup-default-fontset): Fix typo for
4109 arabic OTF spec (fini->fina).
4110
a0c16be4
J
41112010-08-25 Jan Djärv <jan.h.d@swipnet.se>
4112
4113 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4114 on all frames.
4115
85cc3d4f
VJL
41162010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4117
4118 * whitespace.el: Allow cleaning up blanks without blank
4119 visualization (Bug#6651). Adjust help window for
4120 whitespace-toggle-options (Bug#6479). Allow to use fill-column
4121 instead of whitespace-line-column (from EmacsWiki). New version
4122 13.1.
4123 (whitespace-style): Added new value 'face. Adjust docstring.
4124 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
4125 foreground property face.
4126 (whitespace-line-column): Adjust docstring and type declaration.
4127 (whitespace-style-value-list, whitespace-toggle-option-alist)
4128 (whitespace-help-text): Adjust const initialization.
4129 (whitespace-toggle-options, global-whitespace-toggle-options):
4130 Adjust docstring.
4131 (whitespace-display-window, whitespace-interactive-char)
4132 (whitespace-style-face-p, whitespace-color-on): Adjust code.
4133 (whitespace-help-scroll): New fun.
4134
cb8759ca
CY
41352010-08-24 Chong Yidong <cyd@stupidchicken.com>
4136
4137 * emacs-lisp/package.el (list-packages): Alias for
4138 package-list-packages.
4139
44a41a47
KR
41402010-08-24 Kevin Ryde <user42@zip.com.au>
4141
be7748e7
KR
4142 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4143 (Bug#5651).
4144
44a41a47
KR
4145 * progmodes/ruby-mode.el (ruby): Add defgroup.
4146
edfd00fa
CY
41472010-08-24 Chong Yidong <cyd@stupidchicken.com>
4148
4149 * progmodes/python.el: Add Ipython support (Bug#5390).
4150 (python-shell-prompt-alist)
4151 (python-shell-continuation-prompt-alist): New options.
4152 (python--set-prompt-regexp): New function.
4153 (inferior-python-mode, run-python, python-shell): Require
4154 ansi-color. Use python--set-prompt-regexp to set the comint
4155 prompt based on the Python interpreter.
4156 (python--prompt-regexp): New var.
4157 (python-check-comint-prompt)
4158 (python-comint-output-filter-function): Use it.
4159 (run-python): Use a pipe (Bug#5694).
4160
41612010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
4162
4163 * progmodes/python.el (python-send-region): Send a different
4164 Python command if Ipython is in use.
4165 (python-check-version): Use a Python command to find the version.
4166
1c409d0b
CY
41672010-08-24 Chong Yidong <cyd@stupidchicken.com>
4168
4169 * mouse.el (mouse-yank-primary): Avoid setting primary when
4170 deactivating the mark (Bug#6872).
4171
733946e7 41722010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
9027027d
CF
4173
4174 * progmodes/python.el (python-block-pairs): Allow use of "finally"
4175 with "else" (Bug#3991).
4176
e73f184c
MA
41772010-08-23 Michael Albinus <michael.albinus@gmx.de>
4178
4179 * net/dbus.el: Accept UNIX domain sockets as bus address.
4180 (top): Don't initialize `dbus-registered-objects-table' anymore,
4181 this is done in dbusbind,c.
4182 (dbus-check-event): Adapt test for bus.
4183 (dbus-return-values-table, dbus-unregister-service)
4184 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4185 Adapt doc string.
4186
1a140747
JB
41872010-08-23 Juanma Barranquero <lekktu@gmail.com>
4188
4189 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4190
7133b7ee
JL
41912010-08-22 Juri Linkov <juri@jurta.org>
4192
4193 * simple.el (read-extended-command): New function with the logic
4194 for `completing-read' moved to Elisp from `execute-extended-command'.
4195 Use `function-called-at-point' in `minibuffer-default-add-function'
4196 to get a command name for M-n (bug#5364, bug#5214).
4197
198a7a97
CY
41982010-08-22 Chong Yidong <cyd@stupidchicken.com>
4199
4200 * startup.el (command-line-1): Issue warning for ignored arguments
4201 --unibyte, etc (Bug#6886).
4202
c00725d7
LL
42032010-08-22 Leo <sdl.web@gmail.com>
4204
4205 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4206 (ignore, bright, dim, keyword): Split list of nicknames before
4207 passing to rcirc-add-or-remove (Bug#6894).
4208
bc7d7ea6
CY
42092010-08-22 Chong Yidong <cyd@stupidchicken.com>
4210
4211 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4212
b0126eac 42132010-08-22 Leo <sdl.web@gmail.com>
e0143335 4214
\81ukasz Stelmach, 2010-08-26 17:33:52 +0200">d5720b4c 4215 Fix buffer-list rename&refresh after killing a buffer in ido.
76e3243a 4216 * ido.el: Revert Óscar's.
e0143335
LL
4217 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4218 Remember the buffers at head, rather than their name.
76e3243a 4219 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
e0143335 4220
b0126eac 42212010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8f081e96
SM
4222 Stefan Monnier <monnier@iro.umontreal.ca>
4223
4224 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4225 extra backslash added to each line (bug#6890).
4226
b0126eac 42272010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3ff78624
SM
4228
4229 * subr.el (read-key): Don't echo keystrokes (bug#6883).
4230
b0126eac 42312010-08-22 Glenn Morris <rgm@gnu.org>
635f7282
GM
4232
4233 * menu-bar.el (menu-bar-games-menu): Add landmark.
4234
b0126eac 42352010-08-22 Glenn Morris <rgm@gnu.org>
fb89a654 4236
9130a2d6
GM
4237 * align.el (align-regexp): Make group and spacing arguments
4238 use the interactive defaults when non-interactive. (Bug#6698)
4239
fb89a654
GM
4240 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4241 expansion, so as not to need sendmail.
4242 (mail-text-start): Remove declaration.
4243 (rmail-retry-failure): Require sendmail.
4244
b0126eac 42452010-08-22 Chong Yidong <cyd@stupidchicken.com>
186e86db
SM
4246
4247 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4248
b0126eac 42492010-08-22 Michael Albinus <michael.albinus@gmx.de>
a67e6f13 4250
186e86db
SM
4251 * progmodes/flymake.el (flymake-start-syntax-check-process):
4252 Use `start-file-process' in order to let it run also on remote hosts.
a67e6f13 4253
b0126eac 42542010-08-22 Kenichi Handa <handa@m17n.org>
f3cc64f8
KH
4255
4256 * files.el: Add `word-wrap' as safe local variable.
4257
b0126eac 42582010-08-22 Glenn Morris <rgm@gnu.org>
bb25c8d7
GM
4259
4260 * woman.el (woman-translate): Case matters. (Bug#6849)
4261
b0126eac 42622010-08-22 Chong Yidong <cyd@stupidchicken.com>
a4aae1a5
CY
4263
4264 * simple.el (kill-region): Doc fix (Bug#6787).
4265
b0126eac 42662010-08-22 Glenn Morris <rgm@gnu.org>
721dce17
GM
4267
4268 * calendar/diary-lib.el (diary-header-line-format):
4269 Fit it to the window, not the frame.
4270
b0126eac 42712010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7467d0a8
AS
4272
4273 * subr.el (ignore-errors): Add debug declaration.
4274
b0126eac 42752010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
1fcf76af
GG
4276
4277 * whitespace.el (whitespace-color-off): Remove post-command-hook
4278 locally.
4279
537ffaf3
SM
42802010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4281
4282 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4283
d64b8a68
CY
42842010-08-21 Chong Yidong <cyd@stupidchicken.com>
4285
4286 * cus-edit.el (custom-group-value-create): Add extra newline
4287 before end line (Bug#6876).
4288
d2625c3d
CY
42892010-08-21 Chong Yidong <cyd@stupidchicken.com>
4290
4291 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4292 when extending it. Before killing on the second click, check if
4293 the buffer is the correct one. Doc fix.
4294 (mouse-secondary-save-then-kill): Allow usage without first
4295 calling mouse-start-secondary, by defaulting to point. Don't save
4296 an empty secondary selection. Doc fix.
4297
80525855
VJL
42982010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4299
91bdeb66
VJL
4300 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
4301 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
537ffaf3 4302 New version 13.0.
80525855
VJL
4303 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4304 Adjust initialization.
4305 (whitespace-bob-marker, whitespace-eob-marker)
4306 (whitespace-buffer-changed): New vars.
4307 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4308 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
537ffaf3
SM
4309 (whitespace-post-command-hook, whitespace-display-char-on):
4310 Adjust code.
80525855 4311 (whitespace-looking-back, whitespace-buffer-changed): New funs.
85cc3d4f 4312 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
80525855 4313
4b9c0a49
SM
43142010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
4315
118cf454
SM
4316 * files.el (locate-file-completion-table): Only list the .el and .elc
4317 extensions if there's no other choice (bug#5955).
4318
a2e5caf7
SM
4319 * facemenu.el (facemenu-self-insert-data): New var.
4320 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4321 New functions.
4322 (facemenu-add-face): Use them.
4323
4b9c0a49
SM
4324 * simple.el (blink-matching-open): Obey forward-sexp-function.
4325
0193499f
SM
43262010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
4327
b2a15250
SM
4328 * simple.el (prog-mode-map): New var.
4329 (prog-indent-sexp): New command.
4330
b5ba2d6f
SM
4331 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
4332
9acd1bdc
SM
4333 * progmodes/prolog.el (smie): Require.
4334
8723cfa4
SM
4335 * emacs-lisp/smie.el (smie-default-backward-token)
4336 (smie-default-forward-token): Strip properties.
4337 (smie-next-sexp): Be more careful with associative operators.
4338 (smie-forward-sexp-command): Generalize.
4339 (smie-backward-sexp-command): Simplify.
4340 (smie-closer-alist): New var.
4341 (smie-close-block): New command.
4342 (smie-indent-debug-log): New var.
4343 (smie-indent-offset-rule): Add a few more cases.
4344 (smie-indent-column): New function.
4345 (smie-indent-after-keyword): Use it.
4346 (smie-indent-keyword): Use it.
4347 Fix up the opener code's point position.
4348 (smie-indent-comment): Only applies at BOL.
4349 (smie-indent-debug): New command.
4350
0193499f
SM
4351 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
4352 declarations that are useful before running the macro.
4353
0c9b8993
GM
43542010-08-18 Joakim Verona <joakim@verona.se>
4355
4356 * image.el (imagemagick-types-inhibit): New variable.
4357 (imagemagick-register-types): New function.
4358 * image-mode.el (image-transform-properties): New function.
ccd80618
JV
4359 (image-transform-set-scale, image-transform-fit-to-height)
4360 (image-transform-set-rotation, image-transform-set-resize)
0c9b8993
GM
4361 (image-transform-fit-to-width, image-transform-fit-to-height):
4362 New functions.
ccd80618
JV
4363 (image-toggle-display-image): Support image transforms.
4364
1075cd61
KY
43652010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
4366
4367 * image.el (create-animated-image): Don't add heuristic mask to image
4368 (Bug#6839).
4369
64cb6c78
J
43702010-08-18 Jan Djärv <jan.h.d@swipnet.se>
4371
0193499f
SM
4372 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
4373 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
64cb6c78 4374
ff80a446
SM
43752010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
4376
afa22f7c
SM
4377 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
4378
ff80a446
SM
4379 Font-lock '...' strings, plus various simplifications and fixes.
4380 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4381 (octave-font-lock-close-quotes): New function.
4382 (octave-font-lock-syntactic-keywords): New var.
4383 (octave-mode): Use it. Set beginning-of-defun-function.
4384 (octave-mode-map): Don't override the <foo>-defun commands.
4385 (octave-mode-menu): Pass it directly to easy-menu-define;
4386 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
4387 (octave-block-match-alist): Fix up last change so that
4388 octave-close-block uses the more specific keyword.
4389 (info-lookup-mode): Silence byte-compiler.
4390 (octave-beginning-of-defun): Not interactive any more.
4391 Optimize slightly.
4392 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
4393 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4394 (octave-completion-at-point-function): Make sure point is within
4395 beg..end.
4396 (octave-reindent-then-newline-and-indent):
4397 Use reindent-then-newline-and-indent.
4398 (octave-add-octave-menu): Remove.
4399
2269b349
JD
44002010-08-17 Jan Djärv <jan.h.d@swipnet.se>
4401
489cd5bd
JD
4402 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4403 (report-emacs-bug-can-use-xdg-email): New functions.
4404 (report-emacs-bug): Set can-xdg-email to result of
4405 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
4406 \C-cm to report-emacs-bug-insert-to-mailer and add help text
4407 about it.
30ebab6d 4408
a2fb159c
GM
4409 * net/browse-url.el (browse-url-default-browser): Add cond
4410 for browse-url-xdg-open.
4411 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
4412
44132010-08-17 Glenn Morris <rgm@gnu.org>
4414
4415 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
4416 (c-fontify-recorded-types-and-refs): Define for compiler.
4417 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
4418 before use.
4419
4420 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
4421 Fix format call.
4422
bb6aba9c
MA
44232010-08-17 Michael Albinus <michael.albinus@gmx.de>
4424
4425 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
4426 properties.
4427 (tramp-handle-process-file): Call the program in a subshell, in
4428 order to preserve working directory.
4429 (tramp-action-password): Hide password prompt before next run.
4430 (tramp-process-actions): Widen connection buffer for the trace.
4431
8f10c937
DD
44322010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4433
4434 * net/rcirc.el (rcirc-log-process-buffers): New option.
4435 (rcirc-print): Use it.
4436 (rcirc-generate-log-filename): New function.
4437 (rcirc-log-filename-function): Change default to
4438 rcirc-generate-log-filename (Bug#6828).
4439
7c23dd44
CY
44402010-08-16 Chong Yidong <cyd@stupidchicken.com>
4441
4442 * simple.el (deactivate-mark): If select-active-regions is `only',
4443 only set selection for temporarily active regions.
4444
4445 * cus-start.el: Change defcustom for select-active-regions.
4446
6d3e82d2
CY
44472010-08-15 Chong Yidong <cyd@stupidchicken.com>
4448
4449 * mouse.el (mouse--drag-set-mark-and-point): New function.
ff80a446
SM
4450 (mouse-drag-track): Use LOCATION arg to push-mark.
4451 Use mouse--drag-set-mark-and-point to take click-count into
6d3e82d2
CY
4452 consideration when updating point and mark (Bug#6840).
4453
c68263b1
CY
44542010-08-15 Chong Yidong <cyd@stupidchicken.com>
4455
4456 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4457 Give the Ruby rule a lower priority than Gnu (Bug#6778).
4458
456f369a
ŠN
44592010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
4460
ff80a446
SM
4461 * font-lock.el (lisp-font-lock-keywords-2):
4462 Add combine-after-change-calls, condition-case-no-debug,
456f369a
ŠN
4463 with-demoted-errors, and with-silent-modifications (Bug#6025).
4464
c22e18f5
KR
44652010-08-14 Kevin Ryde <user42@zip.com.au>
4466
4467 * emacs-lisp/copyright.el (copyright-update-year)
b7716b25
CY
4468 (copyright-update): Temporary switch-to-buffer to ensure the
4469 buffer change being queried is visible (Bug#5394).
c22e18f5 4470
6f1a6faf
TT
44712010-08-14 Tom Tromey <tromey@redhat.com>
4472
4473 * progmodes/etags.el (tags-file-name): Mark safe if stringp
4474 (Bug#6733).
4475
e7afcf30
EZ
44762010-08-14 Eli Zaretskii <eliz@gnu.org>
4477
4478 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
4479 MS-DOS. (Bug#6689)
4480
2b4e6277
J
44812010-08-13 Jan Djärv <jan.h.d@swipnet.se>
4482
4483 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
4484 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4485 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4486 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
ff80a446
SM
4487 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
4488 Call menu-bar-set-tool-bar-position.
2b4e6277 4489
dc94fc85
SM
44902010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4491
c5683ceb
SM
4492 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
4493 comment style (bug#6834).
4494 * progmodes/scheme.el (scheme-mode-syntax-table):
4495 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
4496 "b" flag in "' 14b" syntax.
4497
c82d5b11
SM
4498 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
4499 for (un)commenting the region and performing completion.
4500 (octave-mode-menu): Use standard commands for help and completion.
4501 (octave-mode-syntax-table): Support %{..%} comments (sort of).
4502 (octave-mode): Use define-derived-mode.
4503 Set completion-at-point-functions and don't set columns.
4504 Don't disable adaptive-fill-regexp.
4505 (octave-describe-major-mode, octave-comment-region)
4506 (octave-uncomment-region, octave-comment-indent)
4507 (octave-indent-for-comment): Remove.
4508 (octave-indent-calculate): Rename from calculate-octave-indent.
7e82caa7 4509 (octave-indent-line, octave-fill-paragraph): Update caller.
c82d5b11
SM
4510 (octave-initialize-completions): No need to make an alist.
4511 (octave-completion-at-point-function): New function.
4512 (octave-complete-symbol): Use it.
4513 (octave-insert-defun): Use define-skeleton.
4514
4515 * progmodes/octave-mod.el (octave-mode): Set comment-add.
4516 (octave-mode-map): Use comment-dwim (bug#6829).
dc94fc85 4517
61b6abbd
AL
45182010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
4519
4520 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
4521 indentation of inserted comment.
4522
3a46642b
J
45232010-08-11 Jan Djärv <jan.h.d@swipnet.se>
4524
4525 * faces.el (region): Add type gtk that uses gtk colors.
4526
4527 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4528 Handle theme-name change.
4529
3bd2cfef
MM
45302010-08-10 Michael R. Mauger <mmaug@yahoo.com>
4531
4532 * progmodes/sql.el: Version 2.5
4533 (sql-product-alist): Add :prompt-cont-regexp property for several
4534 database products.
4535 (sql-prompt-cont-regexp): New variable.
61b6abbd
AL
4536 (sql-output-newline-count, sql-output-by-send):
4537 New variables. Record number of newlines in input text.
3bd2cfef
MM
4538 (sql-send-string): Handle multiple filters and count newlines.
4539 (sql-send-magic-terminator): Count terminator newline.
4540 (sql-interactive-remove-continuation-prompt): Filters output to
4541 remove continuation prompts; one for each newline.
4542 (sql-interactive-mode): Set up new variables, prompt regexp and
4543 output filter.
4544 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
61b6abbd 4545 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
3bd2cfef 4546
d02c9bcd
SM
45472010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4548
4549 * emacs-lisp/pcase.el: New file.
4550
80ca4f1e
MA
45512010-08-10 Michael Albinus <michael.albinus@gmx.de>
4552
4553 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
4554 as here-document, otherwise the command could exceed maximum
4555 length of command line.
d02c9bcd
SM
4556 (tramp-handle-vc-registered): Call script accordingly.
4557 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
80ca4f1e 4558
2948599b
KH
45592010-08-10 Kenichi Handa <handa@m17n.org>
4560
4561 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
4562 composable pattern.
4563
148cef8e
CY
45642010-08-09 Chong Yidong <cyd@stupidchicken.com>
4565
4566 * emacs-lisp/package.el (package-version-split)
4567 (package--version-first-nonzero, package-version-compare):
4568 Functions removed.
4569 (package-directory-list, package-load-all-descriptors)
4570 (package--built-in, package-activate, define-package)
4571 (package-installed-p, package-compute-transaction)
4572 (package-read-all-archive-contents)
4573 (package--add-to-archive-contents, package-buffer-info)
d02c9bcd
SM
4574 (package-tar-file-info, package-list-packages-internal):
4575 Use version-to-list and version-list-*.
148cef8e 4576
d02c9bcd
SM
4577 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4578 Use version-to-list.
148cef8e
CY
4579 (package-upload-buffer-internal): Use version-list-<=.
4580
82a9ce0f
KH
45812010-08-09 Kenichi Handa <handa@m17n.org>
4582
231e5e5f 4583 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
82a9ce0f
KH
4584 composable pattern.
4585
7adf5fdc
CY
45862010-08-08 Chong Yidong <cyd@stupidchicken.com>
4587
fc560445
CY
4588 * tutorial.el (tutorial--default-keys): C-d is now bound to
4589 delete-forward-char (Bug#6826).
4590
7adf5fdc
CY
4591 * mouse.el (mouse-drag-track): Remove accidentally-removed check
4592 for `double' value of mouse-1-click-follows-link (Bug#6807).
4593
e54a1075
JB
45942010-08-08 Johan Bockgård <bojohan@gnu.org>
4595
4596 * replace.el (replace-highlight): Bind isearch-forward and
4597 isearch-error, ensuring that highlighting is updated if the user
4598 switches the search direction (Bug#6808).
4599
4600 * isearch.el (isearch-lazy-highlight-forward): New var.
4601 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4602 (isearch-lazy-highlight-update): Use it.
4603
7815fe19 46042010-08-08 Kenichi Handa <handa@m17n.org>
7a84eee5 4605
8d9e03e4
JB
4606 * international/mule.el (define-charset): Store NAME as :base property.
4607 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7a84eee5
KH
4608 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
4609 current priority. Force using the designation of the specific
8d9e03e4 4610 charset by adding `charset' text property. Improve the whole algorithm.
7a84eee5 4611
7815fe19 46122010-08-08 Juanma Barranquero <lekktu@gmail.com>
f6b55526
JB
4613
4614 * emulation/pc-select.el (pc-selection-mode-hook)
4615 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
4616 (pc-selection-mode): Fix typos in docstrings.
4617
7815fe19 46182010-08-08 Kenichi Handa <handa@m17n.org>
6b4d96c2
KH
4619
4620 * language/cyrillic.el: Don't add "microsoft-cp1251" to
4621 ctext-non-standard-encodings-alist here.
4622
8d9e03e4
JB
4623 * international/mule.el (ctext-non-standard-encodings-alist):
4624 Add "koi8-r" and "microsoft-cp1251".
6b4d96c2
KH
4625 (ctext-standard-encodings): New variable.
4626 (ctext-non-standard-encodings-table): List only elements for
4627 non-standard encodings.
186e86db 4628 (ctext-pre-write-conversion): Adjust for the above change.
6b4d96c2
KH
4629 Check ctext-standard-encodings.
4630
4631 * international/mule-conf.el (compound-text): Doc fix.
4632 (ctext-no-compositions): Doc fix.
4633 (compound-text-with-extensions): Doc fix.
4634
7815fe19 46352010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
c613687b
SM
4636
4637 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
4638
8d9e03e4 46392010-08-08 Juanma Barranquero <lekktu@gmail.com>
d5b8058f 4640
9ebc731b
JB
4641 * progmodes/which-func.el (which-func-format): Split help-echo text
4642 into lines, like other mode-line tooltips.
4643
d5b8058f
JB
4644 * server.el (server-start): When using TCP sockets, force IPv4
4645 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
4646
8d9e03e4 46472010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
a2077b7f
SM
4648
4649 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
4650
8d9e03e4 46512010-08-08 Juanma Barranquero <lekktu@gmail.com>
f63a7652
JB
4652
4653 * term.el (term-delimiter-argument-list): Reflow docstring.
4654 (term-read-input-ring, term-write-input-ring, term-send-input)
4655 (term-bol, term-erase-in-display, serial-supported-or-barf):
4656 Fix typos in docstrings.
4657
8d9e03e4 46582010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
a7e26d8b
SM
4659
4660 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
4661
8d9e03e4 46622010-08-08 Juanma Barranquero <lekktu@gmail.com>
bbc4e17c
JB
4663
4664 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
4665
8d9e03e4 46662010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
9aea20c9
MK
4667
4668 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
4669 Fix typo in docstring (bug#6747).
4670
7815fe19 46712010-08-08 Leo <sdl.web@gmail.com>
16b0b347
LL
4672
4673 * eshell/esh-io.el (eshell-get-target): Better detection of
4674 read-only file (Bug#6762).
4675
7815fe19 46762010-08-08 Juanma Barranquero <lekktu@gmail.com>
ad9ae065
JB
4677
4678 * align.el (align-default-spacing): Doc fix.
4679 (align-region-heuristic, align-regexp): Fix typos in docstrings.
4680
733946e7 46812010-08-08 Stephen Peters <speters@itasoftware.com>
81ee9410 4682
490b89ac 4683 * calendar/icalendar.el
93acd23d
JB
4684 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
4685 (icalendar--get-weekday-numbers): New.
81ee9410 4686 (icalendar--convert-recurring-to-diary): Handle multiple byday
93acd23d 4687 values in weekly rules. (Bug#6766)
81ee9410 4688
490b89ac
UJ
46892010-08-08 Ulf Jasper <ulf.jasper@web.de>
4690
4691 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
4692 (icalendar--create-uid, icalendar-export-region)
4693 (icalendar--parse-summary-and-rest): Code formatting.
4694
2c695727
JB
46952010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4696
4697 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
4698 to italicize headers.
4699 (calc-highlight-selections-with-faces): New variable.
4700 (calc-selected-face, calc-nonselected-face): New faces.
4701
4702 * calc/calccomp.el (math-comp-highlight-string): Use
4703 `calc-highlight-selections-with-faces' to determine how to highlight
4704 sub-formulas.
4705
4706 * calc/calc-sel.el (calc-show-selections): Change message to when
4707 using faces to highlight selections.
4708
b93d4f22
MM
47092010-08-07 Michael R. Mauger <mmaug@yahoo.com>
4710
8d9e03e4
JB
4711 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
4712 Add SQLite 3 keywords, functions and datatypes.
4713 (sql-interactive-mode): Remove `comint-process-echoes' set to t
b93d4f22
MM
4714 (Bug#6686).
4715
9852377f
CY
47162010-08-07 Chong Yidong <cyd@stupidchicken.com>
4717
4718 * simple.el (select-active-regions): Move to keyboard.c.
4719 (deactivate-mark): Used saved-region-selection.
4720 (select-active-region): Function removed.
4721 (activate-mark, set-mark, push-mark-command)
4722 (handle-shift-selection): Don't call it.
4723 (keyboard-quit): Avoid adding the region to the window selection.
4724
4725 * mouse.el (mouse-drag-track): Remove hacks to deal with old
4726 select-active-regions implementation.
4727 (mouse-yank-at-click): Doc fix.
4728
4729 * cus-start.el: Add custom declaration for select-active-regions.
4730
822775bf
EZ
47312010-08-07 Eli Zaretskii <eliz@gnu.org>
4732
4c5130d6
EZ
4733 * simple.el (delete-forward-char): Doc fix.
4734
822775bf
EZ
4735 * tutorial.el (help-with-tutorial): Hack safe file-local variables
4736 after reading the tutorial.
4737
bd4c5e3e
AM
47382010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
4739
4740 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
4741 for the case that a C style comment has its delimiters alone on
4742 their respective lines.
4743
d00fa9b6
MA
47442010-08-06 Michael Albinus <michael.albinus@gmx.de>
4745
8d9e03e4 4746 * net/tramp.el (tramp-handle-start-file-process): Set connection
d00fa9b6
MA
4747 property "vec".
4748 (tramp-process-sentinel): Use it for flushing the cache. We
4749 cannot do it via the process buffer, the buffer could be deleted
4750 already when running the sentinel.
4751
47522010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
942415f3
MA
4753
4754 * comint.el (comint-mode): Make directory tracking functions
4755 functional on remote files. (Bug#6764)
4756
b3d42406
DN
47572010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
4758
4759 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
4760
29cf3e20
EZ
47612010-08-05 Eli Zaretskii <eliz@gnu.org>
4762
4763 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
4764 unexec.c => unexcoff.c.
4765
4766 * emacs-lisp/authors.el (authors-fixed-entries): Rename
4767 unexec.c => unexcoff.c.
4768
39e1bf0b
MA
47692010-08-05 Michael Albinus <michael.albinus@gmx.de>
4770
4771 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
4772 cache, not only file cache.
4773 (tramp-process-sentinel): New defun.
4774 (tramp-handle-start-file-process): Use it, in order to invalidate
4775 file caches.
4776
9f982e22
LL
47772010-08-03 Leo <sdl.web@gmail.com>
4778
4779 * server.el (server-start): Simplify loop.
4780
0798a8d8
SM
47812010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4782
548c5c47
SM
4783 * frame.el (screen-height, screen-width, set-screen-width)
4784 (set-screen-height): Remove ancient compatibility aliases.
4785
3311d1c2
SM
4786 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
4787 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
4788
0798a8d8
SM
4789 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
4790 that change current buffer.
4791
26ee77a6
YM
47922010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4793
4794 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
4795 beginning of the string. Use `string-match-p'. (Bug#6765)
4796
aa1859f5
J
47972010-08-01 Jan Djärv <jan.h.d@swipnet.se>
4798
4799 * cus-start.el (x-gtk-use-system-tooltips): New variable.
4800
376c2b6b
CY
48012010-08-01 Chong Yidong <cyd@stupidchicken.com>
4802
0798a8d8 4803 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
376c2b6b 4804 (package--builtins): Tweak descriptions.
0798a8d8
SM
4805 (package-print-package): Upcase descriptions if necessary.
4806 Show all built-in packages in font-lock-builtin-face.
4807 (package-list-packages-internal): Omit "emacs" package.
4808 Show status of built-in packages as "built-in".
376c2b6b 4809
16041401
CY
48102010-07-31 Chong Yidong <cyd@stupidchicken.com>
4811
4812 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
4813 before killing to preserve the primary selection (Bug#6701).
4814
4815 * term/x-win.el (x-select-text): Doc fix.
4816
0798a8d8
SM
48172010-07-31 Nathaniel Flath <flat0103@gmail.com>
4818
4819 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
4820 The following functions were modified or created:
452ea855
AM
4821
4822 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
4823 (objc-font-lock-extra-types):
452ea855 4824 * progmodes/cc-mode.el (c-basic-common-init):
452ea855
AM
4825 * progmodes/cc-langs.el (c-make-mode-syntax-table)
4826 (c++-make-template-syntax-table)
4827 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
4828 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
4829 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
4830 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
452ea855
AM
4831 * progmodes/cc-fonts.el (c-make-inverse-face)
4832 (c-basic-matchers-after):
452ea855
AM
4833 * progmodes/cc-engine.el (c-forward-keyword-clause)
4834 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
4835 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
4836 (c-guess-continued-construct, c-guess-basic-syntax):
4837
37766706
J
48382010-07-31 Jan Djärv <jan.h.d@swipnet.se>
4839
0798a8d8 4840 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
37766706 4841
cd83d522
EZ
48422010-07-31 Eli Zaretskii <eliz@gnu.org>
4843
4844 * files.el (bidi-paragraph-direction): Define safe local values.
4845
4846 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
4847 language-info-alist. Remove outdated FIXME in a comment.
4848
28e5cf7c
AM
48492010-07-31 Alan Mackenzie <acm@muc.de>
4850
4851 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
4852 Auto-fill broken in C/C++ modes.
4853
bfeabdc3
JD
48542010-07-29 Jan Djärv <jan.h.d@swipnet.se>
4855
4856 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4857 (menu-bar-showhide-tool-bar-menu-customize-disable)
4858 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
0798a8d8
SM
4859 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
4860 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
bfeabdc3
JD
4861 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
4862 make a menu for Options => toolbar that can move it.
4863
063e5294
CY
48642010-07-29 Chong Yidong <cyd@stupidchicken.com>
4865
4866 * emacs-lisp/package-x.el (package--make-rss-entry):
4867 (package-maint-add-news-item, package--update-news)
4868 (package-upload-buffer-internal): New arg ARCHIVE-URL.
4869
4870 * emacs-lisp/package.el (package-archive-url): Rename from
4871 package-archive-id.
4872 (package-install): Doc fix.
4873 (package-download-single, package-download-tar, package-install)
4874 (package-menu-view-commentary): Callers changed.
4875
683cc385
MA
48762010-07-29 Michael Albinus <michael.albinus@gmx.de>
4877
4878 * net/tramp.el (tramp-handle-start-file-process): Check only for
4879 `remote-tty' process property.
4880 (tramp-open-shell): Don't check for tty.
4881 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4882 process property.
4883
4884 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
4885 host.
4886
bc44bef7
PH
48872010-07-28 Chong Yidong <cyd@stupidchicken.com>
4888
4889 * emacs-lisp/package.el (package-load-list, package-archives)
4890 (package-archive-contents, package-user-dir)
4891 (package-directory-list, package--builtins, package-alist)
4892 (package-activated-list, package-obsolete-alist): Mark as risky.
4893
48942010-07-28 Phil Hagelberg <phil@evri.com>
4895
4896 Add support for non-default package repositories.
4897 * emacs-lisp/package.el (package-archive-base): Var deleted.
4898 (package-archives): New variable.
4899 (package-archive-contents): Doc fix.
0798a8d8 4900 (package-load-descriptor): Do nothing if descriptor file is missing.
bc44bef7
PH
4901 (package--write-file-no-coding): New function.
4902 (package-unpack-single): Use it.
4903 (package-archive-id): New function.
4904 (package-download-single, package-download-tar)
4905 (package-menu-view-commentary): Use it.
4906 (package-installed-p): Make second argument optional.
4907 (package-read-all-archive-contents): New function.
4908 (package-initialize): Use it.
4909 (package-read-archive-contents): Add ARCHIVE argument.
4910 (package--add-to-archive-contents): New function.
4911 (package-install): Don't call package-read-archive-contents.
4912 (package--download-one-archive): Store archive file in a
4913 subdirectory of package-user-dir.
4914 (package-menu-execute): Remove spurious line movement.
4915
8a52f00a
JD
49162010-07-28 Jan Djärv <jan.h.d@swipnet.se>
4917
4918 * cus-start.el (tool-bar-style): Add text-image-horiz.
4919
b21d3ceb
MA
49202010-07-28 Michael Albinus <michael.albinus@gmx.de>
4921
4922 * progmodes/gud.el (gud-common-init): Check for remoteness of
4923 `file', and not of `default-directory'.
4924
8fbcce2d
MA
49252010-07-28 Michael Albinus <michael.albinus@gmx.de>
4926
4927 * net/tramp.el (tramp-methods): Move hostname to the end in all
4928 ssh `tramp-login-args'.
4929 (tramp-verbose): Describe verbose level 9.
4930 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
4931 (tramp-open-connection-setup-interactive-shell): Trace stty
4932 settings if `tramp-verbose' >= 9.
4933 (tramp-handle-start-file-process): Implement tty setting.
4934 (Bug#4604, Bug#6360)
4935
4936 * net/tramp-cmds.el (tramp-bug): Recommend setting of
4937 `tramp-verbose' to 9.
4938
128440c9
AH
49392010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
4940
4941 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
4942 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
4943 Remove references to package `lisp-re' (bug#4369).
4944
ae0c2494
TT
49452010-07-27 Tom Tromey <tromey@redhat.com>
4946
4947 * progmodes/js.el (js-mode):
4948 * progmodes/make-mode.el (makefile-mode):
4949 * progmodes/simula.el (simula-mode):
4950 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
4951
0ed082fe 49522010-07-27 Juanma Barranquero <lekktu@gmail.com>
fe4be04c
JB
4953
4954 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
4955
7c7c04c0
JB
4956 * time.el (display-time-day-and-date): Remove spurious * in docstring.
4957 (display-time-world-buffer-name, display-time-world-mode-map):
4958 Fix typos in docstrings.
4959
0ed082fe 49602010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
c9088194
SK
4961
4962 * image-mode.el (image-display-size): New function.
4963 (image-forward-hscroll, image-next-line, image-eol, image-eob)
4964 (image-mode-fit-frame): Use it (Bug#6639).
4965
0ed082fe 49662010-07-27 Chong Yidong <cyd@stupidchicken.com>
dad7c716
CY
4967
4968 * dired.el (dired-buffers-for-dir): Handle list values of
4969 dired-directory (Bug#6636).
4970
aa2d4bd3
SS
49712010-07-26 Sam Steingold <sds@gnu.org>
4972
4973 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4974 Do not call `x-get-selection' the second time, reuse the value.
4975
78b84da3
DU
49762010-07-26 Daiki Ueno <ueno@unixuser.org>
4977
4978 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
0798a8d8 4979 which consist of control chars only. Suggested by Richard Stallman.
78b84da3 4980
4f195cf7
DU
49812010-07-25 Daiki Ueno <ueno@unixuser.org>
4982
4983 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
4984 exists before passing an error to find-file-not-found-functions
4985 (bug#6723).
4986
195e19e4
LH
49872010-07-23 Lukas Huonker <l.huonker@gmail.com>
4988
4989 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
4990 Remove leading nil element, adjust values.
4991 (tetris-shapes, tetris-shape-scores):
4992 Change representation of shapes and remove some redundancy.
4993 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
4994 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
4995 Adjust for working with new representation of shapes.
4996 (tetris-shape-rotations): New function.
4997 (tetris-move-bottom, tetris-move-left, tetris-move-right)
4998 (tetris-rotate-prev, tetris-rotate-next):
4999 Adjust for working with the new version of tetris-test-shape.
5000
9cf2db99
MT
50012010-07-23 Markus Triska <markus.triska@gmx.at>
5002
5003 * progmodes/ps-mode.el: Use comint (bug#5954).
5004 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5005 (ps-mode-other-newline): Simplify.
5006 (ps-run-mode): Derive from comint-mode instead of
5007 fundamental-mode, yielding input history etc.
5008 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5009 (ps-run-send-string): Adapt for comint-mode.
5010 (ps-run-newline): Remove now unneeded function.
5011
225d5e9e
MA
50122010-07-23 Michael Albinus <michael.albinus@gmx.de>
5013
5014 * net/tramp.el (tramp-methods): Move hostname to the end in all
5015 plink `tramp-login-args'.
5016
84bc68f2
MA
50172010-07-23 Michael Albinus <michael.albinus@gmx.de>
5018
5019 * net/tramp.el (tramp-open-shell): New defun.
5020 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5021 Use it.
5022
1eb5ca1c
MA
50232010-07-23 Michael Albinus <michael.albinus@gmx.de>
5024
5025 * net/tramp.el (tramp-file-name-regexp-unified)
5026 (tramp-completion-file-name-regexp-unified): On W32 systems, do
5027 not regard the volume letter as remote filename. (Bug#5447)
5028
440735a7
JB
50292010-07-23 Juanma Barranquero <lekktu@gmail.com>
5030
5031 * custom.el (custom-declare-variable): Give a clearer error message
5032 when the docstring is missing (bug#6476).
5033
5474c40f
MM
50342010-07-22 Michael R. Mauger <mmaug@yahoo.com>
5035
5036 * progmodes/sql.el: Version 2.4. Improved Login prompting.
5037 (sql-login-params): New widget definition.
5038 (sql-oracle-login-params, sql-mysql-login-params)
5039 (sql-solid-login-params, sql-sybase-login-params)
5040 (sql-informix-login-params, sql-ingres-login-params)
5041 (sql-ms-login-params, sql-postgres-login-params)
5042 (sql-interbase-login-params, sql-db2-login-params)
5043 (sql-linter-login-params): Use it.
5044 (sql-sqlite-login-params): Use it; Define "database" parameter as
5045 a file name.
c4cc8b9a 5046 (sql-sqlite-program): Change to "sqlite3".
5474c40f
MM
5047 (sql-comint-sqlite): Make sure database name is complete.
5048 (sql-for-each-login): New function.
5049 (sql-connect, sql-save-connection): Use it.
5050 (sql-get-login-ext): New function.
5051 (sql-get-login): Use it.
5052 (sql-make-alternate-buffer-name): Handle :file parameters.
5053
9c0deccb
JB
50542010-07-22 Juanma Barranquero <lekktu@gmail.com>
5055
5056 * dired.el (dired-no-confirm): Document value t and fix defcustom to
5057 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
5058
aac818a8
TL
50592010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
5060
5061 * dired.el (dired-mode-map): Use command remapping (bug#6632).
5062
47d2734f
LM
50632010-07-22 Lawrence Mitchell <wence@gmx.li>
5064
5065 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5066
10e73994
MA
50672010-07-21 Michael Albinus <michael.albinus@gmx.de>
5068
5069 * net/tramp.el (tramp-get-ls-command)
5070 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5071 instead of "/".
5072
d26b0ea9
MM
50732010-07-20 Michael R. Mauger <mmaug@yahoo.com>
5074
5075 * progmodes/sql.el: Version 2.3.
5076 (sql-connection-alist): Changed keys from symbols to strings;
5077 enhanced the widget definition.
5078 (sql-mode-menu): Added submenu to select connections.
5079 (sql-interactive-mode-menu): Added "Save Connection" item.
5080 (sql-add-product): Fixed menu item.
5081 (sql-get-product-feature): Improved error handling.
5082 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5083 (sql-make-alternate-buffer-name): Simplified.
5084 (sql-product-interactive): Handle missing product.
5085 (sql-connect): Support string keys, minor improvements.
5086 (sql-save-connection): New function.
5087 (sql-connection-menu-filter): New function.
5088
af4b9ae5
MA
50892010-07-20 Michael Albinus <michael.albinus@gmx.de>
5090
5091 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5092 (tramp-open-connection-setup-interactive-shell): Apply
5093 workaround for IRIX64 bug. Move argument of last
5094 `tramp-send-command' where it belongs to.
5095
da040a16
MA
50962010-07-20 Michael Albinus <michael.albinus@gmx.de>
5097
5098 * net/tramp.el (tramp-perl-file-attributes)
5099 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5100 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5101 front of `login-args'.
5102
16f3ade5
JB
51032010-07-19 Juanma Barranquero <lekktu@gmail.com>
5104
5105 * time.el (display-time-world-mode): Define with `define-derived-mode'.
5106 Set `show-trailing-whitespace' to nil.
5107 (display-time-world-display): Simplify.
5108
00af0b67
AM
51092010-07-18 Alan Mackenzie <acm@muc.de>
5110
5111 Enhance `c-file-style' in file/directory local variables.
a628ad9d 5112 * progmodes/cc-mode.el (c-count-cfss): New function.
00af0b67
AM
5113 (c-before-hack-hook): Call `c-set-style' differently according to
5114 whether c-file-style was set in file or directory local
5115 variables.
5116
30c4d8dc
MM
51172010-07-18 Michael R. Mauger <mmaug@yahoo.com>
5118
5119 * progmodes/sql.el: Version 2.2.
5120 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
5121 defcustom :safe keyword rather than putting safe-local-variable
5122 property.
5123 (sql-password): Use defcustom :risky keyword rather than putting
5124 risky-local-variable property.
5125 (sql-oracle-login-params, sql-sqlite-login-params)
5126 (sql-solid-login-params, sql-sybase-login-params)
5127 (sql-informix-login-params, sql-ingres-login-params)
5128 (sql-ms-login-params, sql-postgres-login-params)
5129 (sql-interbase-login-params, sql-db2-login-params)
c4cc8b9a 5130 (sql-linter-login-params): Add `port' option.
30c4d8dc
MM
5131 (sql-get-product-feature): Added NO-INDIRECT parameter.
5132 (sql-comint-oracle, sql-comint-sybase)
5133 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5134 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5135 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5136 (sql-comint-linter): Renamed sql-connect-* functions to
5137 sql-comint-*.
5138 (sql-product-alist, sql-mode-menu): Renamed as above and
5139 :sqli-connect-func to :sqli-comint-func.
c4cc8b9a 5140 (sql-connection): New variable.
30c4d8dc
MM
5141 (sql-interactive-mode): Set it.
5142 (sql-connection-alist): New variable.
5143 (sql-connect): New function.
5144 (sql--alt-buffer-part, sql--alt-if-not-empty)
a628ad9d 5145 (sql-make-alternate-buffer-name): Improved alternative buffer name.
30c4d8dc 5146
f12492c8
TV
51472010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5148
5149 * image-mode.el (image-bookmark-make-record): Do not set context
5150 in an image (Bug#6650).
5151
91023c68
CY
51522010-07-17 Chong Yidong <cyd@stupidchicken.com>
5153
5154 * simple.el (select-active-region): New function.
5155 (push-mark-command, set-mark, activate-mark)
5156 (handle-shift-selection): Use it.
5157 (deactivate-mark): Don't check for size of region.
5158
5159 * mouse.el (mouse-drag-track): Use select-active-region.
5160
1c0e8f0e
MA
51612010-07-17 Michael Albinus <michael.albinus@gmx.de>
5162
5163 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5164 "--dired" stronger.
5165
2490cbbc
CY
51662010-07-17 Chong Yidong <cyd@stupidchicken.com>
5167
5168 * term/x-win.el (x-select-enable-primary): Change default to nil.
5169 (x-select-enable-clipboard): Add :version keyword.
5170
5171 * mouse.el (mouse-drag-copy-region):
5172 * simple.el (select-active-regions): Likewise.
5173
f253ef6a
RS
51742010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
5175
a628ad9d 5176 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
f253ef6a
RS
5177 (vc-coding-system-for-diff): Use it to decide whether to inherit
5178 from the file the EOL format for reading the diffs of that file.
5179 (Bug#4451)
5180
134a027f
EZ
51812010-07-16 Eli Zaretskii <eliz@gnu.org>
5182
5183 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5184 unibyte, so compressed attachments are not compressed again.
5185
7e4289ad
MA
51862010-07-16 Michael Albinus <michael.albinus@gmx.de>
5187
5188 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5189 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5190 (tramp-find-shell): Simplify setting connection property.
5191 (tramp-get-ls-command): Make test for "--color=never" stronger.
5192
7473fff9 51932010-07-15 Simon South <ssouth@member.fsf.org>
2c6a779a
SS
5194
5195 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5196 blocks within record declarations (i.e. variant parts) correctly.
5197
a11b38ee
SS
51982010-07-15 Simon South <ssouth@member.fsf.org>
5199
5200 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5201 over literal tokens when parsing so newlines aren't "absorbed" by
5202 single-line comments. Corrects the indentation of case blocks
5203 that have a comment on the first line.
5204
077e0753
KF
52052010-07-14 Karl Fogel <kfogel@red-bean.com>
5206
5207 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5208 by Drew Adams (Bug#5504).
5209
243881ed
J
52102010-07-14 Jan Djärv <jan.h.d@swipnet.se>
5211
5212 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
dd86ea11 5213 now that Unicode is used (Bug#6594).
243881ed 5214
f9d71b42
CY
52152010-07-14 Chong Yidong <cyd@stupidchicken.com>
5216
5217 * term/x-win.el (x-select-enable-clipboard): Default to t.
5218 (x-initialize-window-system): Don't overwrite Paste menu item.
5219
5220 * simple.el (select-active-regions): Default to t.
5221 (push-mark-command): Don't overwrite primary with empty string.
5222
5223 * mouse.el: Bind mouse-2 to mouse-yank-primary.
5224 (mouse-drag-copy-region): Default to nil.
5225
5226 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5227 Cut/Copy/Paste menu bar items.
5228
a628ad9d 52292010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8f2eaa8a
TV
5230
5231 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5232 Patch applied by Karl Fogel.
5233
5234 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5235 and `bookmark-current-buffer' if they have been already set in
5236 another buffer (e.g gnus-art).
5237
e44fa724 52382010-07-13 Karl Fogel <kfogel@red-bean.com>
a628ad9d 5239 Thierry Volpiatto <thierry.volpiatto@gmail.com>
e44fa724
KF
5240
5241 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5242
5243 * bookmark.el (bookmark-make-record-default): Allow unneeded
5244 information to be omitted from the record.
5245
5246 Adjust declarations and calls:
5247
5248 * info.el (bookmark-make-record-default): Adjust declaration.
5249 (Info-bookmark-make-record): Adjust call.
5250
5251 * woman.el (bookmark-make-record-default): Adjust declaration.
5252 (woman-bookmark-make-record): Adjust call.
5253
5254 * man.el (bookmark-make-record-default): Adjust declaration.
5255 (Man-bookmark-make-record): Adjust call.
5256
5257 * image-mode.el (bookmark-make-record-default): Adjust declaration.
5258
5259 * doc-view.el (bookmark-make-record-default): Adjust declaration.
5260
0c4371fe
KF
52612010-07-13 Karl Fogel <kfogel@red-bean.com>
5262
5263 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5264 This is also from Thierry Volpiatto's patch in bug #6444. However,
5265 because it was extraneous to the functional change in that patch,
5266 and causes a re-indendation, I am committing it separately.
5267
2bb8db3e 52682010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
068a0233
KF
5269
5270 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5271 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
2bb8db3e 5272 Patch applied by Karl Fogel (Bug#6444).
068a0233 5273
21bd02a6
CY
52742010-07-13 Chong Yidong <cyd@stupidchicken.com>
5275
5276 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5277
79cb9c05
AR
52782010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
5279
5280 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5281 Dempsky; bug#5084). Remove incorrect binding for S-tab.
5282 (ns-alternatives-map): Change S-tab binding to backtab
5283 (bug#6616).
5284
5285 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5286 under ns.
5287
beb000f9
AS
52882010-07-12 Andreas Schwab <schwab@linux-m68k.org>
5289
dd86ea11
JB
5290 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5291 (Bug#5806)
e9952282 5292
beb000f9
AS
5293 * language/tv-util.el (tai-viet-re): Remove format.
5294
6f2cdcd1
KH
52952010-07-12 Kenichi Handa <handa@m17n.org>
5296
dd86ea11
JB
5297 * language/hebrew.el: Remove no-byte-compile declaration.
5298 Change coding: tag to utf-8. Register hebrew-shape-gstring in
6f2cdcd1
KH
5299 composition-function-table for 3-character looking back.
5300 (hebrew-font-get-precomposed): New function.
5301 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5302
f479ef6e
CY
53032010-07-11 Chong Yidong <cyd@stupidchicken.com>
5304
5305 * mouse.el (mouse-drag-track): Handle select-active-regions
5306 (Bug#6612).
5307
3277c1ee
MA
53082010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
5309
5310 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5311 empty argument to gvfs-copy.
5312
3260caf8
GM
53132010-07-10 Glenn Morris <rgm@gnu.org>
5314
5315 * calendar/calendar.el (calendar-week-end-day): New function.
5316 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5317 Respect calendar-week-start-day. (Bug#6606)
5318 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5319 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5320 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5321 respect calendar-week-start-day.
5322
c876b263
CY
53232010-07-10 Chong Yidong <cyd@stupidchicken.com>
5324
5325 * simple.el (use-region-p): Doc fix (Bug#6607).
5326
dce34635
AG
53272010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
5328
5329 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
5330 regexps for cucumber and ruby.
5331
c0397930
DU
53322010-07-08 Daiki Ueno <ueno@unixuser.org>
5333
5334 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
5335 (epa-file-insert-file-contents): Hack to prevent
192cfe77 5336 find-file from opening empty buffer when decryption failed
c0397930
DU
5337 (bug#6568).
5338
fd5539c6
AM
53392010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
5340
a628ad9d
JB
5341 * textmodes/ispell.el (ispell-alternate-dictionary):
5342 Use file-readable-p.
fd5539c6
AM
5343 Return nil if no word-list is found at default locations.
5344 (ispell-complete-word-dict): Default to nil.
5345 (ispell-command-loop): Use 'word-list' when using lookup-words.
5346 (lookup-words): Use ispell-complete-word-dict or
5347 ispell-alternate-dictionary. Check for word-list availability
5348 and handle errors if needed with better messages (Bug#6539).
5349 (ispell-complete-word): Use ispell-complete-word-dict or
5350 ispell-alternate-dictionary.
5351
4565b08e
CS
53522010-07-07 Christoph Scholtes <cschol2112@gmail.com>
5353
5354 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
5355 builtins (BufferError, BytesWarning, WindowsError; callables
5356 bin, bytearray, bytes, format, memoryview, next, print; __package__).
5357
a2c270e7
GM
53582010-07-07 Glenn Morris <rgm@gnu.org>
5359
5360 * play/zone.el (top-level): Do not require timer, tabify, or cl.
5361 (zone-shift-left): Ignore intangibility, and any errors from
5362 forward-char.
5363 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
5364 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
5365 deleting, and copying text properties.
5366 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
5367 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
5368 to point-max is hard.
5369 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
5370 (zone-fill-out-screen): Ignore intangibility.
5371
81133808
CY
53722010-07-05 Chong Yidong <cyd@stupidchicken.com>
5373
4ad11f8c
CY
5374 * menu-bar.el (menu-bar-mode):
5375 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
5376 if it has been set.
5377
81133808
CY
5378 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
5379 word/line selection (Bug#6565).
5380
b24344ca
JB
53812010-07-04 Juanma Barranquero <lekktu@gmail.com>
5382
5383 * net/dbus.el (dbus-send-signal): Declare function.
5384
b1ce08da
MA
53852010-07-04 Michael Albinus <michael.albinus@gmx.de>
5386
5387 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
5388 (dbus-register-property): New optional argument EMITS-SIGNAL.
5389 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
5390
5592c08f
CY
53912010-07-03 Chong Yidong <cyd@stupidchicken.com>
5392
5393 * mouse.el (mouse-drag-overlay): Variable deleted.
5394 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5395 (mouse--remap-link-click-p): New function.
5396 (mouse-drag-track): Handle dragging by using temporary Transient
5397 Mark mode, instead of a special overlay.
5398 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5399 mouse-show-mark.
5400
5401 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5402 deleted.
5403
a6ed0e28
JL
54042010-07-02 Juri Linkov <juri@jurta.org>
5405
5406 * autoinsert.el (auto-insert-alist): Fix readability
5407 by using dotted pair notation for lambda.
5408
c91e692b
JL
54092010-07-02 Juri Linkov <juri@jurta.org>
5410
5411 * faces.el (read-face-name): Rename arg `string-describing-default'
5412 to `default'. Doc fix. Display the default value in quotes
5413 in the prompt. With empty input, return the `default' arg,
5414 unless the default value is a string (in which case return nil).
5415 (describe-face): Replace the string `default' arg of `read-face-name'
5416 with the symbol `default'.
5417
23640f8f
CY
54182010-07-02 Chong Yidong <cyd@stupidchicken.com>
5419
5420 * emulation/viper-cmd.el (viper-delete-backward-char)
5421 (viper-del-backward-char-in-insert)
5422 (viper-del-backward-char-in-replace, viper-change)
5423 (viper-backward-indent): Replace delete-backward-char with
5424 delete-char (Bug#6552).
5425
b32d1614
CY
54262010-07-01 Chong Yidong <cyd@stupidchicken.com>
5427
5428 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
5429
c1ef4455
CY
54302010-06-30 Chong Yidong <cyd@stupidchicken.com>
5431
5432 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
5433 argument passed to frame-creation-function (Bug#5378).
5434
5435 * faces.el (x-handle-named-frame-geometry)
5436 (x-handle-reverse-video, x-create-frame-with-faces)
5437 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
5438 separately consult default-frame-alist. It is now passed as the
5439 PARAMETER argument.
5440
55702e89
AS
54412010-06-30 Andreas Schwab <schwab@linux-m68k.org>
5442
5443 * startup.el (command-line): Don't call tool-bar-setup in a
5444 tty-only build.
5445
dc9a226c
CY
54462010-06-30 Chong Yidong <cyd@stupidchicken.com>
5447
5448 * ruler-mode.el (ruler--save-header-line-format): New fun.
5449 (ruler-mode): Use it as a setter function, so as not to overwrite
5450 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
5451
a2f043d3
CY
54522010-06-29 Chong Yidong <cyd@stupidchicken.com>
5453
5454 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
5455 (vc-root-diff, vc-print-root-log, vc-log-incoming)
5456 (vc-log-outgoing): Use it.
5457 (vc-diff-internal): Set diff-vc-backend.
5458
5459 * vc/diff-mode.el (diff-vc-backend): New var.
5460
62d115ef
J
54612010-06-28 Jan Djärv <jan.h.d@swipnet.se>
5462
5463 * dynamic-setting.el (font-setting-change-default-font): Remove
5464 call to message.
5465
1180f752
KH
54662010-06-28 Kenichi Handa <handa@m17n.org>
5467
5468 * international/quail.el (quail-insert-kbd-layout): Fix the
5469 showing of untranslated characters.
5470
b9229673
CY
54712010-06-28 Chong Yidong <cyd@stupidchicken.com>
5472
5473 * simple.el (delete-active-region): New option.
5474 (delete-backward-char): Implement in Lisp.
5475 (delete-forward-char): New command.
5476
5477 * mouse.el (mouse-region-delete-keys): Deleted.
5478 (mouse-show-mark): Simplify.
5479
5480 * bindings.el (global-map): Bind delete and DEL, the former to
5481 delete-forward-char.
5482
a628ad9d 54832010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
2286174e
CY
5484
5485 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
5486 (ruby-mode): Bind indent-line-function (Bug#5119).
5487
3468f435
CY
54882010-06-27 Chong Yidong <cyd@stupidchicken.com>
5489
5490 * startup.el (command-line): Recognize "0" X resource value.
5491
6431f2e6
CY
54922010-06-27 Chong Yidong <cyd@stupidchicken.com>
5493
5494 * startup.el (command-line): Use X resources to set the value of
5495 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
5496
5497 * menu-bar.el (menu-bar-mode):
5498 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
5499 Set init-value to t.
5500
5501 * frame.el (frame-notice-user-settings): Don't change
5502 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
5503 vice versa (Bug#2249).
5504
b61dfbe2
EZ
55052010-06-26 Eli Zaretskii <eliz@gnu.org>
5506
5507 * w32-fns.el (w32-convert-standard-filename): Doc fix.
5508
f5cbf40e
AM
55092010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
5510
a628ad9d
JB
5511 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
5512 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
f5cbf40e 5513
a628ad9d 5514 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
dd86ea11 5515 default directories are expanded (Bug#6143).
f5cbf40e 5516
8f3b8a5f
JL
55172010-06-24 Juri Linkov <juri@jurta.org>
5518
5519 * minibuffer.el (completions-format): Change default from nil to
5520 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
5521
5af72a47
JL
55222010-06-24 Juri Linkov <juri@jurta.org>
5523
5524 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
5525 buffer-locally to lambda that re-runs the vc diff command.
5526 (Bug#6447)
5527
8f804316
CY
55282010-06-24 Chong Yidong <cyd@stupidchicken.com>
5529
5530 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
5531 echo area is in use (Bug#3412).
5532
be19ef0b
GM
55332010-06-22 Glenn Morris <rgm@gnu.org>
5534
6555773f
GM
5535 * textmodes/texinfmt.el (texinfo-format-region)
5536 (texinfo-raise-lower-sections, texinfo-format-separate-node)
5537 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
5538 (texinfo-format-option, texinfo-noindent):
5539 Use line-beginning-position and line-end-position.
5540
be19ef0b
GM
5541 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
5542 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
5543 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
5544 utf-8 characters.
5545
7f0b7b3e
KF
55462010-06-21 Karl Fogel <kfogel@red-bean.com>
5547
49554388
GM
5548 * play/zone.el (zone-fall-through-ws): Fix next-line ->
5549 forward-line fallout.
5550
e8579ebc
CY
55512010-07-06 Chong Yidong <cyd@stupidchicken.com>
5552
5553 * mouse.el (mouse-appearance-menu): Add docstring.
5554
5555 * help.el (describe-key): Print up-event using key-description.
5556
5d1cd8bd
MA
55572010-07-03 Michael Albinus <michael.albinus@gmx.de>
5558
5559 * net/zeroconf.el (zeroconf-resolve-service)
95b6d681 5560 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
5d1cd8bd
MA
5561 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
5562
112dbc0e
MA
55632010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
5564
5565 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
5566
d0cb23ca
DN
55672010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
5568
5569 Avoid displaying files with a nil state in vc-dir.
a628ad9d 5570 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
d0cb23ca
DN
5571 cases that cause insertion.
5572 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
5573 with a nil state.
5574
01b229d1
CY
55752010-06-30 Chong Yidong <cyd@stupidchicken.com>
5576
5577 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
5578
8bf1c786 55792010-06-29 Leo <sdl.web@gmail.com>
a354ac6a
LL
5580
5581 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
5582
dfc6544c
CY
55832010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
5584
5585 * generic-x.el (bat-generic-mode): Fix regexp for command line
5586 switches (Bug#5719).
5587
b7d4de51
CY
55882010-06-27 Masatake YAMATO <yamato@redhat.com>
5589
dfc6544c
CY
5590 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
5591 of nconc to avoid pure storage error (Bug#6239).
b7d4de51 5592
3726248f
CY
55932010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
5594
8bf1c786 5595 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
3726248f
CY
5596 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
5597 bindings of bookmark-automatically-show-annotations (Bug#6515).
5598
aca54191
EZ
55992010-06-25 Eli Zaretskii <eliz@gnu.org>
5600
5601 * arc-mode.el (archive-zip-extract): Don't quote the file name on
5602 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
5603
2330fa87
ŠN
56042010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
5605
5606 * comint.el (make-comint, make-comint-in-buffer): Mention return
5607 value in the docstrings. (Bug#6498)
5608
29115ca9
YR
56092010-06-24 Yoni Rabkin <yoni@rabkins.net>
5610
5611 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
5612 since it is not present when using some non-default switches.
5613
2c79f053
KF
56142010-06-23 Karl Fogel <kfogel@red-bean.com>
5615
7f0b7b3e
KF
5616 * simple.el (compose-mail): Fix doc string to refer to
5617 `compose-mail-user-agent-warnings', instead of to the
5618 nonexistent `compose-mail-check-user-agent'.
5619
43a91810
AM
56202010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
5621
5622 Fix an indentation bug:
5623
5624 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
5625 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
5626 of existing values.
5627
5628 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
5629 (c-clear->-pair-props-if-match-before): now return t when they've
5630 cleared properties, nil otherwise.
5631 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
5632 by taking account of the existing value.
5633
5634 * progmodes/cc-defs.el
5635 (c-clear-char-property-with-value-function): Fix this to clear the
5636 property rather than overwriting it with nil.
5637
8adb4c33
CY
56382010-06-20 Chong Yidong <cyd@stupidchicken.com>
5639
5640 * emacs-lisp/package.el (package-print-package): Add link to
5641 package description via describe-package.
5642 (describe-package-1): List package requirements. Add button to
5643 perform installation.
5644 (package-menu-describe-package): New command.
5645
5646 * help-mode.el (help-package): New button type.
5647
cced7584
CY
56482010-06-19 Chong Yidong <cyd@stupidchicken.com>
5649
5650 * emacs-lisp/package.el: Move package-list-packages binding to
5651 menu-bar.el.
5652 (describe-package, describe-package-1, package--dir): New funs.
5653 (package-activate-1): Use package--dir.
5654
5655 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
5656
5657 * help-mode.el (help-package-def): New button type.
5658
5659 * menu-bar.el: Move package-list-packages binding here from
5660 package.el.
5661
d148e8f9
GH
56622010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
5663
5664 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
5665
b1a03ef6
SM
56662010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5667
5668 * emacs-lisp/edebug.el (edebug-read-list):
5669 Phase out old-style backquotes.
5670
dbd6da78
JL
56712010-06-17 Juri Linkov <juri@jurta.org>
5672
5673 * help-mode.el (help-mode): Set buffer-local variable
5674 revert-buffer-function to help-mode-revert-buffer.
5675 (help-mode-revert-buffer): New function.
5676
5677 * info.el (Info-revert-find-node): Check for major-mode Info-mode
5678 before popping to "*info*" (like in other Info functions).
5679 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
5680 old-history-forward. Pop to old-buffer-name or "*info*" to
5681 recreate the killed buffer. Set Info-history-forward from
5682 old-history-forward.
5683 (Info-breadcrumbs-depth): Add :group and :version.
5684
64eba874
DN
56852010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
5686
5687 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
5688
26508c03
AM
56892010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
5690
a628ad9d
JB
5691 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
5692 for languages like Portuguese with pt_{BR,PT} and no plain pt.
26508c03 5693
69582fcd
JB
56942010-06-17 Juanma Barranquero <lekktu@gmail.com>
5695
54ea2a0d
JB
5696 * emacs-lisp/package.el (package-menu-mode-map):
5697 Move initialization into declaration.
5698
69582fcd
JB
5699 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
5700
44198b6e
CY
57012010-06-17 Chong Yidong <cyd@stupidchicken.com>
5702
5703 * emacs-lisp/package.el (package-archive-base): Point to
5704 elpa.gnu.org.
5705 (package-enable, package-load-list): New defcustoms.
5706 (package-user-dir, package-directory-list): Turn into defcustoms.
5707 Don't include package-user-dir in package-directory-list.
5708 (package--builtins-base): Don't include Emacs as a "package".
5709 (package-subdirectory-regexp): New var.
5710 (package-load-all-descriptors, package-compute-transaction)
5711 (package-download-transaction): Obey package-load-list.
5712 (package-activate-1): Rename from package-do-activate.
5713 (package-list-packages-internal): Check package-load-list.
5714 (package-load-descriptor, package-generate-autoloads)
5715 (package-unpack, package-unpack-single)
5716 (package--read-archive-file, package-delete): Use
5717 expand-file-name.
5718
5719 * emacs-lisp/package-x.el: New file. Package uploading
5720 functionality split out from package.el.
5721
95b6d681 5722 * startup.el (command-line): Load packages after reading init file.
44198b6e
CY
5723
57242010-06-17 Tom Tromey <tromey@redhat.com>
5725
5726 * emacs-lisp/package.el: New file.
5727
50d76a9f
DN
57282010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
5729
5730 Fix vc-annotate for renamed files when using Git.
76e3243a 5731 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
50d76a9f
DN
5732 ls-files. Doe not pass the object as a file name to cat-file, it
5733 is not a file name.
5734 (vc-git-annotate-command): Pass the file name using -- to avoid
5735 ambiguity with the revision.
5736 (vc-git-previous-revision): Pass a relative file name.
5737
6095a05b
GM
57382010-06-22 Glenn Morris <rgm@gnu.org>
5739
943375a6
GM
5740 * progmodes/js.el (js-mode-map): Use standard capitalization and
5741 ellipses for menu entries.
5742
6095a05b
GM
5743 * wid-edit.el (widget-complete): Doc fix.
5744
4514199e
JH
57452010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
5746
5747 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
5748
c4786d60
DN
57492010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
5750
11c46b39 5751 Fix annotating other revisions for renamed files in vc-annotate.
76e3243a 5752 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
11c46b39 5753 VC backend. Use it when non-nil.
a628ad9d
JB
5754 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
5755 (Bug#6487)
11c46b39 5756
c4786d60 5757 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
76e3243a 5758 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
c4786d60
DN
5759 Do not pass the file name to the 'previous-revision call when we
5760 don't want a file diff. (Bug#6489)
5761
04ec0963
DN
57622010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
5763
11c46b39 5764 Fix finding revisions for renamed files in vc-annotate.
76e3243a 5765 * vc/vc.el (vc-find-revision): Add an optional argument for
04ec0963 5766 the VC backend. Use it when non-nil.
76e3243a 5767 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
04ec0963
DN
5768 backend to vc-find-revision. (Bug#6487)
5769
c036381c
DN
57702010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
5771
5772 Fix reading file names in Git annotate buffers.
95b6d681
JB
5773 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
5774 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
c036381c 5775
05c123e6
AM
57762010-06-20 Alan Mackenzie <acm@muc.de>
5777
5778 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
5779 in file local variables, set it first.
5780
4111f0c7
GM
57812010-06-19 Glenn Morris <rgm@gnu.org>
5782
74739ffd
GM
5783 * descr-text.el (describe-char-unicode-data): Insert separating
5784 space when needed. (Bug#6422)
5785
4111f0c7
GM
5786 * progmodes/idlwave.el (idlwave-action-and-binding):
5787 Fix typo in 2009-12-03 change. (Bug#6450)
5788
e20f0421
SM
57892010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5790
5791 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
5792 handling for `lambda' (misunderstanding).
5793
fb3e306a
JB
57942010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
5795
dd86ea11 5796 * calc/calc-poly.el (math-accum-factors): Make sure that
fb3e306a
JB
5797 constants aren't distributed after they are factored out.
5798
e020fb59
JL
57992010-06-16 Juri Linkov <juri@jurta.org>
5800
5801 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
5802 `list-colors-print'. (Bug#6332)
5803
b8add347
SM
5804 * subr.el (read-quoted-char): Fix up last change (bug#6290).
5805
36901266
SM
58062010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
5807
49b2e83d
SM
5808 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
5809 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
5810
36901266
SM
5811 * font-lock.el (font-lock-major-mode): Rename from
5812 font-lock-mode-major-mode to distinguish it from
5813 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
5814 (font-lock-set-defaults):
5815 * font-core.el (font-lock-default-function): Adjust users.
5816 (font-lock-mode): Don't set it at all.
5817
2a64315a 58182010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
12755d08 5819
76e3243a 5820 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
12755d08 5821
2a64315a 58222010-06-16 Glenn Morris <rgm@gnu.org>
d7cd4abb
GM
5823
5824 * calendar/appt.el (appt-time-msg-list): Doc fix.
5825 (appt-check): Let-bind appt-warn-time.
5826 (appt-add): Make the 3rd argument optional.
5827 Simplify argument names. Doc fix. Check for integer WARNTIME.
5828 Only add WARNTIME to the output list if non-nil.
5829
2a64315a 58302010-06-16 Ivan Kanis <apple@kanis.eu>
a675c749
IK
5831
5832 * calendar/appt.el (appt-check): Let the 3rd element of
5833 appt-time-msg-list specify the warning time.
5834 (appt-add): Add new argument with the warning time. (Bug#5176)
5835
2a64315a 58362010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
a9de35fe 5837
76e3243a 5838 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
a9de35fe
BR
5839 older than version 1.6. (Bug#6361)
5840
2a64315a 58412010-06-16 Helmut Eller <eller.helmut@gmail.com>
37a7e764
HE
5842
5843 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
5844 used by cl-do-arglist. (Bug#6408)
5845
30d7ac37
AM
58462010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
5847
a628ad9d 5848 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
30d7ac37
AM
5849 portuguese casechars/not-casechars for missing 'çÇ'.
5850 Suggested by Rolando Pereira (bug#6434).
5851
8fd02581
JB
58522010-06-15 Juanma Barranquero <lekktu@gmail.com>
5853
5854 * facemenu.el (list-colors-sort): Doc fix.
5855
b15922cc
BR
58562010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
5857
5858 * progmodes/sql.el (sql-connect-mysql): Fix typo.
5859
f0bf7c8e
JL
58602010-06-14 Juri Linkov <juri@jurta.org>
5861
5862 Add sort option `list-colors-sort'. (Bug#6332)
5863 * facemenu.el (color-rgb-to-hsv): New function.
5864 (list-colors-sort): New defcustom.
5865 (list-colors-sort-key): New function.
5866 (list-colors-display): Doc fix. Sort list according to the option
5867 `list-colors-sort'.
5868 (list-colors-print): Add HSV values to `help-echo' property of
5869 RGB strings.
5870
c42fe9a5
JL
58712010-06-14 Juri Linkov <juri@jurta.org>
5872
5873 * compare-w.el: Move to the "vc" subdirectory.
5874
b263a4c4
SM
58752010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5876
d8b0cddd
SM
5877 * image-mode.el (image-mode-map): Remap left-char and right-char.
5878
b263a4c4
SM
5879 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
5880
89877f5f
CY
58812010-06-12 Chong Yidong <cyd@stupidchicken.com>
5882
133a8d82
CY
5883 * term/common-win.el (x-colors): Add all the color names defined
5884 in rgb.txt (Bug#6332).
5885
89877f5f
CY
5886 * facemenu.el (list-colors-print): Don't print extra names if it
5887 will overflow the window width.
5888
5889 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
133a8d82 5890 change (Bug#6343).
89877f5f 5891
9d1f18b5
EZ
58922010-06-12 Eli Zaretskii <eliz@gnu.org>
5893
5894 * files.el (make-directory): Doc fix (bug#6396).
5895
b81a0b56
MA
58962010-06-12 Michael Albinus <michael.albinus@gmx.de>
5897
5898 * net/tramp.el (tramp-remote-process-environment): Protect version
5899 string by apostroph.
5900 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5901 XEmacs.
5902 (tramp-file-name-for-operation): Add `call-process-region'.
5903 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5904
5905 * net/tramp-compat.el (top): Do not autoload
5906 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5907 only when `start-file-process' is not bound.
5908 (tramp-advice-file-expand-wildcards): Do not use
5909 `tramp-handle-file-remote-p'.
5910 (tramp-compat-make-temp-file): Handle the case, that
5911 `make-temp-file' has no third argument EXTENSION.
5912
69f18acc
JB
59132010-06-11 Juanma Barranquero <lekktu@gmail.com>
5914
5fee75d4
JB
5915 * makefile.w32-in (WINS_BASIC): Include new directory vc.
5916
69f18acc
JB
5917 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
5918
9766adfb
JL
59192010-06-11 Juri Linkov <juri@jurta.org>
5920
5921 * finder.el (finder-known-keywords): Add keyword "vc"
5922 for version control.
5923
5924 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
5925 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
5926 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
5927 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
5928
56b2854f
JL
59292010-06-11 Juri Linkov <juri@jurta.org>
5930
5931 Move version control related files to the "vc" subdirectory.
5932 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
5933 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
5934 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
5935 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
5936 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
5937 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
5938 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
5939 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
5940 Move files to the "vc" subdirectory.
5941
6534e58a
CY
59422010-06-11 Chong Yidong <cyd@stupidchicken.com>
5943
5944 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
5945 (Bug#6367).
5946
84d9562f
SE
59472010-06-11 Stephen Eglen <stephen@gnu.org>
5948
5949 * shell.el: Bind `shell-resync-dirs' to M-RET.
5950
3ef0a6a5
MA
59512010-06-10 Michael Albinus <michael.albinus@gmx.de>
5952
5953 * notifications.el: Move file from lisp/net, because it is
5954 supposed to talk locally to the user.
5955
fa4003da
MA
59562010-06-10 Julien Danjou <julien@danjou.info>
5957
5958 * net/notifications.el (notifications-on-action-signal)
5959 (notifications-on-closed-signal): Pass notification id as first
b81a0b56 5960 argument to the callback functions. Add docstrings.
fa4003da
MA
5961 (notifications-notify): Fix docstring.
5962
46e6650e
GM
59632010-06-10 Glenn Morris <rgm@gnu.org>
5964
5965 * emacs-lisp/authors.el (authors-ignored-files)
5966 (authors-valid-file-names): Add some files.
5967
a71832f7
SM
59682010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5969
5970 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
5971 merge conflict, giving preference to the emacs-23 version of the code.
5972
8c6eab5a
SM
59732010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5974
989bc97f
SM
5975 * emacs-lisp/advice.el (ad-compile-function):
5976 Define warning-suppress-types before we let-bind it (bug#6275).
5977
8c6eab5a
SM
5978 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
5979 declare it, make it buffer-local and permanent-local (bug#6324).
5980 (vc-resynch-window): Adjust name.
5981 * vc-hooks.el (vc-find-file-hook): Adjust name.
5982
890a18d6
MA
59832010-06-09 Michael Albinus <michael.albinus@gmx.de>
5984
5985 * net/notifications.el (notifications-notify): Fix docstring.
5986
bf3e70eb
JB
59872010-06-09 Juanma Barranquero <lekktu@gmail.com>
5988
5989 Update to Unicode 6.0.0 beta.
5990 * international/charprop.el: Update copyright.
5991 * international/mule-cmds.el (ucs-names): Update character ranges.
5992 * international/uni-bidi.el:
5993 * international/uni-category.el:
5994 * international/uni-combining.el:
5995 * international/uni-comment.el:
5996 * international/uni-decimal.el:
5997 * international/uni-decomposition.el:
5998 * international/uni-digit.el:
5999 * international/uni-lowercase.el:
6000 * international/uni-mirrored.el:
6001 * international/uni-name.el:
6002 * international/uni-numeric.el:
6003 * international/uni-old-name.el:
6004 * international/uni-titlecase.el:
6005 * international/uni-uppercase.el: Regenerate.
6006
b978141d
JB
60072010-06-09 Juanma Barranquero <lekktu@gmail.com>
6008
ee8359ba
JB
6009 * emacs-lisp/smie.el (comment-string-strip): Declare function.
6010 (smie-precs-precedence-table): Fix typo in docstring.
6011
f64ab8fb
JB
6012 * vc-mtn.el (log-edit-extract-headers): Declare function.
6013
883ffa8c
JB
6014 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6015
b978141d
JB
6016 * net/notifications.el (dbus-register-signal): Declare function.
6017 (notifications-notify): Fix typos and reflow docstring.
6018
5f4f2ae4
DN
60192010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6020
6021 Improve VC create/retrieve tag/branch.
6022 * vc.el (vc-create-tag): Do not read the directory name for VCs
6023 with repository revision granularity. Adjust the tag/branch
6024 prompt. Reset VC properties.
6025 (vc-retrieve-tag): Do not read the directory name for VCs
6026 with repository revision granularity. Reset VC properties.
6027
41a86354
MA
60282010-06-09 Julien Danjou <julien@danjou.info>
6029
ef33fd34 6030 * net/notifications.el: New file.
41a86354 6031
fab43c76
DN
60322010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
6033
00fd1147
DN
6034 Add optional support for resetting VC properties.
6035 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6036 call vc-file-clearprops when true.
6037 (vc-resynch-buffer): Add new optional argument, pass it down.
6038 (vc-resynch-buffers-in-directory): Likewise.
6039
fab43c76
DN
6040 Improve support for special markup in the VC commit message.
6041 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6042 * vc-hg.el (vc-hg-checkin): Add support for Date:.
6043 * vc-git.el (vc-git-checkin):
6044 * vc-bzr.el (vc-bzr-checkin): Likewise.
6045
e7d67e73
SM
60462010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6047
6048 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6049 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6050
277e6741
MP
60512010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
6052
6053 * iimage.el: Remove images as soon as the underlying text is modified.
6054 (iimage-modification-hook): New function.
6055 (iimage-mode-buffer): Use it.
6056
83156c18
SM
60572010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6058
6059 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6060 smie-indent-offset-after. Add :prev case. Make a bit more generic.
6061 (smie-indent-virtual): Remove `virtual' arg. Update callers.
6062 (smie-indent-keyword): Add handling of open-paren keywords.
6063 (smie-indent-comment-continue): Don't assume comment-continue.
6064
13b5221f
MR
60652010-06-07 Martin Rudalics <rudalics@gmx.at>
6066
6067 * window.el (pop-to-buffer): Remove the conditional that
6068 compares new-window and old-window, so it will reselect
6069 the selected window unconditionally.
6070 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6071
c2ea5810
SM
60722010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6073
6074 * emacs-lisp/smie.el (smie-indent-offset-after)
6075 (smie-indent-forward-token, smie-indent-backward-token): New functions.
6076 (smie-indent-after-keyword): Use them.
6077 (smie-indent-fixindent): Only applies to the indentation of the BOL.
6078 (smie-indent-keyword): Tweak the black magic.
6079 (smie-indent-comment-continue): Strip comment-continue before use.
6080 (smie-indent-functions): Indent comments before keywords.
6081
27dd3c11
JL
60822010-06-06 Juri Linkov <juri@jurta.org>
6083
6084 * isearch.el (isearch-lazy-highlight-search): Fix looping
6085 by checking for empty match. This syncs this loop with the
6086 similar loop in `isearch-search'. (Bug#6362)
6087
35b148ee
JB
60882010-06-05 Juanma Barranquero <lekktu@gmail.com>
6089
6090 * net/dbus.el (dbus-register-method): Declare function.
6091 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6092 (dbus-introspect): Doc fix.
6093 (dbus-event-bus-name, dbus-introspect-get-interface)
6094 (dbus-introspect-get-argument): Reflow docstrings.
6095
eccdfe5f
DN
60962010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
6097
6098 vc-log-incoming/vc-log-outgoing fixes for Git.
6099 * vc-git.el (vc-git-log-view-mode): Fix font lock for
6100 incoming/outgoing logs.
6101 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6102 instead of vc-git-compute-remote.
6103 (vc-git-compute-remote): Remove.
6104
86253dc0
CY
61052010-06-04 Chong Yidong <cyd@stupidchicken.com>
6106
6107 * term/common-win.el (x-colors): Add "dark green" and "dark
6108 turquoise" (Bug#6332).
6109
0665f661
JL
61102010-06-04 Juri Linkov <juri@jurta.org>
6111
6112 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6113 Instead of setting `replace' to t and replacing the same string
6114 with itself, don't do certain actions when
6115 kill-do-not-save-duplicates is non-nil and string is equal to car
6116 of kill-ring: don't call menu-bar-update-yank-menu, don't push
6117 interprogram-paste strings to kill-ring, and don't push the input
6118 argument `string' to kill-ring.
6119 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6120
087fc47a
JB
61212010-06-04 Juanma Barranquero <lekktu@gmail.com>
6122
6123 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6124
4f201088
MA
61252010-06-04 Michael Albinus <michael.albinus@gmx.de>
6126
6127 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6128 (tramp-gvfs-handler-mounted-unmounted)
6129 (tramp-gvfs-connection-mounted-p): Handle default-location.
6130
6131 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6132 move files to trash.
6133
18ccd78a
JB
61342010-06-04 Juanma Barranquero <lekktu@gmail.com>
6135
6136 * international/mule-cmds.el (nonascii-insert-offset)
6137 (nonascii-translation-table): Add obsolescence information.
6138
6139 * international/mule.el (make-translation-table-from-vector): Doc fix.
6140
3845c322
GM
61412010-06-03 Glenn Morris <rgm@gnu.org>
6142
6143 * desktop.el (desktop-clear-preserve-buffers):
6144 Add "*Warnings*" buffer. (Bug#6336)
6145
54d3626e
DN
61462010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
6147
6941ffec
DN
6148 vc-log-incoming/vc-log-outgoing improvements for Git.
6149 * vc-git.el (vc-git-log-outgoing): Use the same format as the
6150 short log.
6151 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
6152
54d3626e
DN
6153 Add bindings for vc-log-incoming and vc-log-outgoing.
6154 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6155 and vc-log-outgoing.
6156 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6157 and vc-log-outgoing.
6158
aa1bc616
CY
61592010-06-03 Chong Yidong <cyd@stupidchicken.com>
6160
6161 * net/rcirc.el (rcirc-sort-nicknames): Remove.
6162 (rcirc-handler-366): Always sort nicknames.
6163
e2d2a205
JB
61642010-06-03 Juanma Barranquero <lekktu@gmail.com>
6165
6166 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6167
44ea155d
CY
61682010-06-03 Chong Yidong <cyd@stupidchicken.com>
6169
a628ad9d 6170 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
44ea155d 6171
a91dedc4
SM
61722010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6173
6174 * net/rcirc.el (rcirc-sort-nicknames): Change default.
6175 (rcirc-sort-nicknames-join): Avoid setq.
6176
c62bf05a
DD
61772010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6178
6179 * net/rcirc.el (rcirc-sort-nicknames): New custom.
6180 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6181 (rcirc-handler-366): Use them.
6182
dd2c3c92
SM
61832010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6184
6185 Split smie-indent-calculate into more manageable chunks.
6186 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6187 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6188 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6189 (smie-indent-exps): Extract from smie-indent-calculate.
6190 (smie-indent-functions): New var.
6191 (smie-indent-functions): Use them.
6192
927c346b
SM
61932010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6194
6195 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6196 (smie-indent-calculate): Simplify and cleanup.
6197
1efeec86
MA
61982010-06-02 Michael Albinus <michael.albinus@gmx.de>
6199
6200 * net/tramp-gvfs.el (top): Require url-util.
927c346b
SM
6201 (tramp-gvfs-mount-point): Remove.
6202 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6203 New defuns.
1efeec86
MA
6204 (with-tramp-dbus-call-method): Format trace message.
6205 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
927c346b
SM
6206 Implement backup call, when operation on local files fails.
6207 Use progress reporter. Flush properties of changed files.
1efeec86
MA
6208 (tramp-gvfs-handle-make-directory): Make more traces.
6209 (tramp-gvfs-url-file-name): Hexify file name in url.
6210 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6211 into account for the resulting file name.
6212 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6213 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
6214 (tramp-gvfs-handler-mounted-unmounted)
6215 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6216 attribute "default_location". Set "prefix" property.
6217 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6218 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6219 exists. Raise an error, if not (due to a corresponding answer
6220 "no" in interactive questions, for example).
6221
89877f5f 62222010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9cac248c
DN
6223
6224 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6225
24f574a9
JB
62262010-06-01 Juanma Barranquero <lekktu@gmail.com>
6227
6228 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6229 right-*. (Bug#6265)
6230
290736f2
DN
62312010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
6232
61158bfa
DN
6233 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6234 * vc-git.el (vc-git-compute-remote): New function.
6235 (vc-git-log-outgoing): Use it instead of hard coding a value.
6236 (vc-git-log-incoming): New function.
6237
5828f6ca
DN
6238 Improve state updating for VC tag commands.
6239 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6240 to update the state of all buffers in the directory.
6241
290736f2
DN
6242 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6243
feceda26
SM
62442010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6245
6246 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6247 `file-directory-p' to the filename part rather than to the whole text.
6248
896114cf
SM
62492010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6252
1603358c
DA
62532010-05-31 Drew Adams <drew.adams@oracle.com>
6254
6255 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6256
fe40dc63
JB
62572010-05-31 Juanma Barranquero <lekktu@gmail.com>
6258
6259 * subr.el (momentary-string-display): Just use read-event to read
6260 the exit event (Bug#6238).
6261
9e8014c6
EZ
62622010-05-30 Eli Zaretskii <eliz@gnu.org>
6263
6264 * international/mule.el (define-coding-system): Doc fix (bug#6313).
6265
61a08071
JB
62662010-05-30 Juanma Barranquero <lekktu@gmail.com>
6267
6268 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6269 Suggested by Eli Zaretskii <eliz@gnu.org>.
6270
5feec8ca
SM
62712010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6272
6273 * minibuffer.el (completion-file-name-table): Don't return a boundary
6274 past the end of `string' (bug#6299).
6275 (completion--file-name-table): Delegate to completion-file-name-table
6276 for the `boundaries' case.
6277
8175cb90
JB
62782010-05-30 Juanma Barranquero <lekktu@gmail.com>
6279
2b94133f
JB
6280 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6281 movement commands.
6282
8175cb90
JB
6283 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6284 `path-separator', but maintain compatibility with Emacs 20.2.
6285
0191e222
CY
62862010-05-29 Chong Yidong <cyd@stupidchicken.com>
6287
6288 * server.el (server-process-filter): Receive parent-id argument
6289 from emacsclient.
6290 (server-create-window-system-frame): New arg. Pass parent-id as
6291 frame parameter.
6292
9b655a0a
EZ
62932010-05-29 Eli Zaretskii <eliz@gnu.org>
6294
db5dce9d
EZ
6295 Bidi-sensitive word movement with arrow keys.
6296 * subr.el (right-arrow-command, left-arrow-command): Move to
6297 bindings.el.
6298
6299 * bindings.el (right-char, left-char): Move from subr.el and
6300 rename from right-arrow-command and left-arrow-command.
6301 (right-word, left-word): New functions.
6302 (global-map) <right>: Bind to right-char.
6303 (global-map) <left>: Bind to left-char.
6304 (global-map) <C-right>: Bind to right-word.
6305 (global-map) <C-left>: Bind to left-word.
6306
9b655a0a
EZ
6307 * ls-lisp.el (ls-lisp-classify-file): New function.
6308 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6309 (ls-lisp-classify): Call ls-lisp-classify-file.
6310 (insert-directory): Remove blanks from switches.
6311
fcb52808
CY
63122010-05-29 Chong Yidong <cyd@stupidchicken.com>
6313
6314 * ansi-color.el: Delete unused escape sequences (Bug#6085).
6315 (ansi-color-drop-regexp): New constant.
6316 (ansi-color-apply, ansi-color-filter-region)
896114cf 6317 (ansi-color-apply-on-region): Delete unrecognized control sequences.
fcb52808
CY
6318 (ansi-color-apply): Build string list before calling concat.
6319
0040735a
JL
63202010-05-28 Juri Linkov <juri@jurta.org>
6321
6322 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6323 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6324 (Bug#5270)
6325
b6827fff
MA
63262010-05-28 Michael Albinus <michael.albinus@gmx.de>
6327
6328 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6329 to ignored backtrace functions.
6330 (with-progress-reporter): Expand docstring.
6331 (tramp-handle-delete-file): Implement TRASH argument.
6332 (tramp-get-remote-trash): New defun.
6333
eba082a2
MA
63342010-05-28 Michael Albinus <michael.albinus@gmx.de>
6335
6336 * net/tramp-compat.el (tramp-compat-delete-file): Use
6337 `symbol-value' for backward compatibility.
6338
6339 * net/tramp.el (tramp-handle-make-symbolic-link)
6340 (tramp-handle-load)
6341 (tramp-do-copy-or-rename-file-via-buffer)
6342 (tramp-do-copy-or-rename-file-directly)
6343 (tramp-do-copy-or-rename-file-out-of-band)
6344 (tramp-handle-process-file, tramp-handle-call-process-region)
6345 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6346 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6347 (tramp-delete-temp-file-function): Use `delete-file' instead
6348 of `tramp-compat-delete-file'.
6349
6350 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6351 (tramp-fish-handle-make-symbolic-link)
6352 (tramp-fish-handle-process-file): Use `delete-file' instead
6353 of `tramp-compat-delete-file'.
6354
6355 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
6356 `delete-file' instead of `tramp-compat-delete-file'.
6357
6358 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6359 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
6360 `tramp-compat-delete-file'.
6361
6362 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
6363 `delete-file' instead of `tramp-compat-delete-file'.
6364
6365 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6366 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6367 (tramp-smb-handle-write-region): Use `delete-file' instead of
6368 `tramp-compat-delete-file'.
6369 (tramp-smb-handle-delete-directory): Use 'trash as arg.
6370
f1a5d776
CY
63712010-05-27 Chong Yidong <cyd@stupidchicken.com>
6372
6373 * dired.el (dired-delete-file): New arg TRASH.
c4ce1145 6374 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
f1a5d776
CY
6375 (dired-do-flagged-delete, dired-do-delete): Use trash.
6376
6377 * speedbar.el (speedbar-item-delete): Allow trashing.
6378
6379 * files.el (delete-directory): New arg TRASH.
6380
6381 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
6382 (ange-ftp-rename-remote-to-remote)
6383 (ange-ftp-rename-local-to-remote)
6384 (ange-ftp-rename-remote-to-local, ange-ftp-load)
6385 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
6386 `delete-file'.
6387 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
6388 allow trashing.
6389
6390 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6391 handle new TRASH arg of `delete-file'.
6392
c4ce1145 6393 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
f1a5d776
CY
6394 (tramp-handle-make-symbolic-link, tramp-handle-load)
6395 (tramp-do-copy-or-rename-file-via-buffer)
6396 (tramp-do-copy-or-rename-file-directly)
6397 (tramp-do-copy-or-rename-file-out-of-band)
6398 (tramp-handle-process-file, tramp-handle-call-process-region)
6399 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6400 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6401 (tramp-delete-temp-file-function): Use null TRASH arg in
6402 tramp-compat-delete-file call.
6403
6404 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6405 (tramp-fish-handle-delete-file)
6406 (tramp-fish-handle-make-symbolic-link)
6407 (tramp-fish-handle-process-file): Use null TRASH arg in
6408 `tramp-compat-delete-file' call.
6409
6410 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6411 arg in `tramp-compat-delete-file' call.
6412
6413 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6414 (tramp-gvfs-handle-write-region): Use null TRASH arg in
6415 `tramp-compat-delete-file' call.
6416
6417 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
6418 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
6419 `tramp-compat-delete-file' call.
6420
6421 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6422 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6423 (tramp-smb-handle-write-region): Use null TRASH arg in
6424 tramp-compat-delete-file call.
6425 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
6426 (tramp-smb-handle-delete-file): Rename arg.
6427
6428 * diff.el (diff-sentinel):
6429 * epg.el (epg--make-temp-file, epg-decrypt-string)
6430 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6431 * jka-compr.el (jka-compr-partial-uncompress)
6432 (jka-compr-call-process, jka-compr-write-region):
6433 * server.el (server-sentinel): Remove optional arg from
6434 delete-file, reverting 2010-05-03 change.
6435
ecb0ab90
CY
64362010-05-27 Chong Yidong <cyd@stupidchicken.com>
6437
6438 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
6439 font-lock-constant-face, not obsolete font-lock-reference-face.
6440
2b25da45
KH
64412010-05-27 Kenichi Handa <handa@m17n.org>
6442
6443 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
6444 element of GSTRING is nil.
6445
11e4d8c0
SM
64462010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6447
6448 * emacs-lisp/smie.el (smie-forward-token-function)
6449 (smie-backward-token-function): New vars.
6450 (smie-backward-sexp, smie-forward-sexp)
6451 (smie-indent-hanging-p, smie-indent-calculate): Use them.
6452 (smie-default-backward-token): Rename from smie-backward-token and
6453 skip comments.
6454 (smie-default-forward-token): Rename from smie-forward-token and
6455 skip comments.
6456 (smie-next-sexp): Handle nil results from next-token.
6457 (smie-indent-calculate): Add a new case for special `fixindent' comments.
6458
4da3541b
CY
64592010-05-27 Chong Yidong <cyd@stupidchicken.com>
6460
896114cf
SM
6461 * progmodes/verilog-mode.el (verilog-type-font-keywords):
6462 Use font-lock-constant-face, not obsolete font-lock-reference-face.
4da3541b
CY
6463
64642010-05-27 Masatake YAMATO <yamato@redhat.com>
6465
6466 * htmlfontify.el (hfy-face-resolve-face): New function.
6467 (hfy-face-to-style): Use it (Bug#6279).
6468
6dc439cb
SM
64692010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6470
6471 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
6472 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
6473
021eb8d7
GM
64742010-05-26 Glenn Morris <rgm@gnu.org>
6475
6476 * emulation/edt.el (edt-load-keys): Use locate-library.
6477
bef4957b
CY
64782010-05-25 Chong Yidong <cyd@stupidchicken.com>
6479
6480 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
6481 (log-edit-changelog-entries): Doc fix.
6dc439cb
SM
6482 (log-edit-changelog-insert-entries): Args changed.
6483 Rename relative filenames in ChangeLog entries. Delete tabs.
bef4957b
CY
6484 (log-edit-insert-changelog-entries): Reorganize return value of
6485 `log-edit-changelog-entries' to pass filenames to
6486 log-edit-changelog-insert-entries.
6487
84fb0956
TV
64882010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6489
6490 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
6491 `image-dired-dired-insert-marked-thumbs' to
6492 `image-dired-dired-toggle-marked-thumbs'.
6493
6494 * image-dired.el: Require cl when compiling.
6495 (image-dired-dired-toggle-marked-thumbs): Rename from
6496 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
6497 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
6498 to 'no-dir. Skip files whose names don't match
6499 `image-file-name-regexp'. When file has a thumbnail overlay,
6500 delete it. (Bug#5270)
6501
0fb1193d
JL
65022010-05-25 Juri Linkov <juri@jurta.org>
6503
6504 * image-mode.el (image-mode): Add image-after-revert-hook to
6505 after-revert-hook.
6506 (image-after-revert-hook): New function. (Bug#5669)
6507
fc937924
JL
65082010-05-25 Juri Linkov <juri@jurta.org>
6509
6510 * image.el (image-animated-p): When delay between animated images
6511 is 0, set it to 10 (0.1 sec). (Bug#6258)
6512
fa9ba953
MA
65132010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6514
6515 * net/tramp.el (tramp-handle-insert-directory): Don't use
f5c8afe6 6516 `forward-word', its default syntax could be changed.
fa9ba953 6517
9e021389
MA
65182010-05-25 Michael Albinus <michael.albinus@gmx.de>
6519
6520 * net/tramp.el (tramp-progress-reporter-update): New defun.
6521 (with-progress-reporter): Use it.
6522 (tramp-process-actions):
6523 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
6524 current message, in order to let progress reporter continue
6525 afterwards. (Bug#6257)
6526
6169260b
GM
65272010-05-25 Glenn Morris <rgm@gnu.org>
6528
6529 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
6530 Add :version.
6531
d26781af
RY
65322010-05-25 Ryan Yeske <rcyeske@gmail.com>
6533
8826afe3 6534 * net/rcirc.el (rcirc-default-user-name): Change to "user".
d26781af
RY
6535 (rcirc-default-full-name): Change to "unknown".
6536 (rcirc-user-name-history): Add variable.
8826afe3
GM
6537
65382010-05-25 Ryan Yeske <rcyeske@gmail.com>
acd0102a 6539 Jonathan Rockway <jon@jrock.us>
8826afe3
GM
6540
6541 * net/rcirc.el (rcirc-server-alist): Add :pass.
6542 (rcirc): When prompting for connection parameters, also prompt for
d26781af 6543 username and password.
a628ad9d 6544 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
d26781af
RY
6545 value to server when connecting.
6546
d355a0b7
SM
65472010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6548
f5228f84
SM
6549 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
6550 (smie-merge-prec2s): Pass the tables as separate args.
6551 (smie-bnf-precedence-table): Adjust call accordingly.
6552 (smie-prec2-levels): Set levels at the end.
6553
d355a0b7
SM
6554 Replace Lisp calls to delete-backward-char by delete-char.
6555 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
f5c8afe6
JB
6556 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
6557 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
76e3243a 6558 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
f5c8afe6
JB
6559 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
6560 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
6561 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
6562 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
6563 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
6564 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
6565 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
6566 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
6567 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
6568 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
d355a0b7
SM
6569 delete-backward-char by calls to delete-char.
6570
f668ef02
KH
65712010-05-25 Kenichi Handa <handa@m17n.org>
6572
6573 * language/hebrew.el (hebrew-shape-gstring): New function.
6574 Register it in composition-function-table for all Hebrew combining
6575 characters.
6576
397eb3f3
SM
65772010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6578
6579 * epa.el (epa--select-keys): Don't explicitly delete the window since
6580 that can fail (e.g. sole window in frame). Use dedication instead.
6581
171eda53 65822010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
ab0c07c0
SM
6583
6584 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
6585
110683ad
CY
65862010-05-22 Chong Yidong <cyd@stupidchicken.com>
6587
6588 * image.el (image-refresh): Define as an alias for image-flush.
6589
6590 * image-mode.el (image-toggle-display-image): Caller changed.
6591
df9db151
JL
65922010-05-21 Juri Linkov <juri@jurta.org>
6593
6594 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
6595 Remove "all" from grep-files-aliases. Split grep-files-aliases by
6596 whitespace, call wildcard-to-regexp on substrings and concat them
6597 with "\\|". (Bug#6114)
6598
c0209c2c
AM
65992010-05-21 Alan Mackenzie <acm@muc.de>
6600
171eda53
SM
6601 * progmodes/cc-engine.el (c-parse-state-get-strategy):
6602 Replace parameter `here' with `here-' and `here-plus', which sandwich
6603 any pertinent CPP construct.
c0209c2c
AM
6604 (c-remove-stale-state-cache-backwards): Fix a bug which happens
6605 when doing (c-parse-state) in a CPP construct: Exclude any "new"
6606 CPP construct from taking part in the scanning.
6607
655bded0
MA
66082010-05-21 Michael Albinus <michael.albinus@gmx.de>
6609
6610 * net/tramp.el (tramp-do-copy-or-rename-file)
171eda53
SM
6611 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
6612 Tune `with-progress-reporter' messages.
655bded0
MA
6613 (tramp-handle-vc-registered):
6614 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
6615 (tramp-fish-handle-insert-file-contents)
6616 (tramp-fish-maybe-open-connection):
6617 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6618 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
6619 (tramp-imap-handle-insert-file-contents)
6620 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6621
3e17a1a7
JB
66222010-05-21 Juanma Barranquero <lekktu@gmail.com>
6623
bf1e8d4a
JB
6624 * add-log.el (change-log-font-lock-keywords):
6625 Highlight all authors in multi-author entries.
6626
3e17a1a7
JB
6627 * smerge-mode.el (smerge-refine-ignore-whitespace)
6628 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
6629 Fix typos in docstrings.
6630 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
6631
969e684a
GM
66322010-05-21 Glenn Morris <rgm@gnu.org>
6633
e75c1e7d
GM
6634 * progmodes/fortran.el (fortran-mode):
6635 * progmodes/f90.el (f90-mode): Derive from prog-mode.
6636
969e684a
GM
6637 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
6638 having a relative path in src/Makefile.in.
6639
a50878fa
KR
66402010-05-20 Kevin Ryde <user42@zip.com.au>
6641
6642 * help-mode.el (help-make-xrefs): For Info node links turn
6643 newlines into spaces. Link node names with newlines are matched
6644 by help-xref-info-regexp and buttonized, this change ensures they
6645 can be followed successfully with RET. (Bug#6206)
6646
f66a2f90
JL
66472010-05-20 Juri Linkov <juri@jurta.org>
6648
6649 * locate.el (locate): Use pop-to-buffer instead of
6650 switch-to-buffer-other-window. (Bug#6204)
6651
201d895a
JL
66522010-05-20 Juri Linkov <juri@jurta.org>
6653
6654 * replace.el (replace-highlight): Fix lazy-highlighting
6655 for `M-s w str M-% str RET'.
6656
1ddb2ea0
MY
66572009-12-15 Masatake YAMATO <yamato@redhat.com>
6658
6659 * isearch.el (isearch-yank-word-or-char): Pull next subword
6660 when `subword-mode' is activated. (Bug#6220)
6661
a6020335
MH
66622010-05-20 Mark A. Hershberger <mah@everybody.org>
6663
6664 * isearch.el (isearch-update-post-hook): New hook.
6665 (isearch-update): Use the new hook. (Bug#6225)
6666
50de6a38
JL
66672010-05-20 Juri Linkov <juri@jurta.org>
6668
6669 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
6670 [f1], [help], and (char-to-string help-char) instead of "\C-h".
6671 (Bug#6222)
6672
5d944a8f
JL
66732010-05-20 Juri Linkov <juri@jurta.org>
6674
6675 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
6676 (Bug#6223)
6677
f5d6548a
JL
66782010-05-20 Juri Linkov <juri@jurta.org>
6679
6680 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
6681 FILE-NAME to read from the minibuffer when called interactively
6682 with prefix argument instead of using buffer-file-name.
6683 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
6684
6685 * dired.el: Update autoloads.
6686
f8e63691
CY
66872010-05-20 Chong Yidong <cyd@stupidchicken.com>
6688
6689 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
6690 nxml-finish-element, for consistency with SGML mode.
6691
6692 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
6693 octave-close-block.
6694
07d7c3bd
JB
66952010-05-20 Juanma Barranquero <lekktu@gmail.com>
6696
6697 * composite.el: Require cl when compiling.
6698 (reference-point-alist, compose-gstring-for-graphic)
6699 (compose-gstring-for-terminal): Fix typos in docstrings.
6700
7bce8510
JL
67012010-05-19 Juri Linkov <juri@jurta.org>
6702
6703 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
6704 set-window-parameter.
6705
a7723e05
MA
67062010-05-19 Michael Albinus <michael.albinus@gmx.de>
6707
6708 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
6709 where appropriate.
6710 (tramp-maybe-open-connection): Use it.
6711
3f2e7735
EZ
67122010-05-19 Eli Zaretskii <eliz@gnu.org>
6713
6714 * simple.el (move-end-of-line): Make sure we are at line beginning
6715 before backing up to end of previous line.
6716
8d9181c7
MA
67172010-05-19 Michael Albinus <michael.albinus@gmx.de>
6718
8c4ec20f
MA
6719 * password-cache.el (password-cache-remove): Fix docstring.
6720
8d9181c7
MA
6721 * net/secrets.el: Autoload the widget functions.
6722 (secrets-search-items, secrets-create-item)
6723 (secrets-get-attributes, secrets-expand-item): Attributes will be
6724 stored on the password database without leading ":", as all other
6725 clients do as well.
6726 (secrets-mode): Fix docstring.
6727 (secrets-show-secrets): Provide it as autoloaded command only when
6728 D-Bus support is available. Check existence of Secret Service API.
6729
2a96c2a7
SM
67302010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6731
6732 * indent.el (indent-region): Deactivate region (bug#6200).
6733
d24e10b1
GM
67342010-05-19 Glenn Morris <rgm@gnu.org>
6735
6736 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
6737
2833d915
KH
67382010-05-19 Kenichi Handa <handa@m17n.org>
6739
6740 * composite.el: Register compose-gstring-for-graphic in
d24e10b1 6741 composition-function-table only for combining characters (Mn, Mc, Me).
2833d915 6742
134c2f29
JB
67432010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
6744
6745 * calc/calc-trail.el (calc-trail-isearch-forward)
6746 (calc-trail-isearch-backward): Ensure that the new window
6747 point is set correctly.
6748
278847cd
SM
67492010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6750
6751 * subr.el (read-quoted-char): Resolve modifiers after key
6752 remapping (bug#6212).
6753
3a8e7cbd
MA
67542010-05-18 Michael Albinus <michael.albinus@gmx.de>
6755
6756 Add visualization code for secrets.
6757 * net/secrets.el (secrets-mode): New major mode.
6758 (secrets-show-secrets, secrets-show-collections)
6759 (secrets-expand-collection, secrets-expand-item)
6760 (secrets-tree-widget-after-toggle-function)
6761 (secrets-tree-widget-show-password): New defuns.
6762
472e7ec1
SM
67632010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6764
224b70cb
SM
6765 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
6766 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
6767 handled in smie-next-sexp.
6768 (smie-indent-calculate): Provide a starting indentation (so the
6769 recursion is well-founded ;-).
6770
472e7ec1
SM
6771 Fix handling of non-associative equal levels.
6772 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
6773 when it's not needed.
6774 (smie-op-left, smie-op-right): New functions.
6775 (smie-next-sexp): New function, extracted from smie-backward-sexp.
6776 Better handle equal levels to distinguish the associative case from
6777 the "multi-keyword construct" case.
6778 (smie-backward-sexp, smie-forward-sexp): Use it.
6779
35e53abd
JB
67802010-05-18 Juanma Barranquero <lekktu@gmail.com>
6781
5d8fe0ba
JB
6782 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
6783
35e53abd
JB
6784 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
6785 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
6786
5ad4bef5
SM
67872010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6788
6789 Provide a simple generic indentation engine and use it for Prolog.
6790 * emacs-lisp/smie.el: New file.
6791 * progmodes/prolog.el (prolog-smie-op-levels)
6792 (prolog-smie-indent-rules): New var.
6793 (prolog-mode-variables): Use them to configure SMIE.
6794 (prolog-indent-line, prolog-indent-level): Remove.
6795
00681a3c
JB
67962010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6797
560bb7ae 6798 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
00681a3c
JB
6799 order before computing the averages.
6800
eba62f7a
JB
68012010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
6802
597517ef 6803 * calc/calc-vec.el (calc-histogram):
5ad4bef5 6804 (calcFunc-histogram): Allow vectors as inputs.
597517ef
JB
6805 (math-vector-avg): New function.
6806
560bb7ae 6807 * calc/calc-ext.el (math-group-float): Have the number of digits
eba62f7a
JB
6808 being grouped depend on the radix (Bug#6189).
6809
8c5ff6dd
KR
68102010-05-15 Ken Raeburn <raeburn@raeburn.org>
6811
6812 * version.el (emacs-copyright, emacs-version): Don't define here,
6813 now that emacs.c defines it.
6814
98d8b17e
EZ
68152010-05-15 Eli Zaretskii <eliz@gnu.org>
6816
71078429
EZ
6817 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
6818 "Describe Language Environment" menu item.
6819
ce6233c1
EZ
6820 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
6821
d20e1419
EZ
6822 Bidi-sensitive movement with arrow keys.
6823 * subr.el (right-arrow-command, left-arrow-command): New functions.
6824
6825 * bindings.el (global-map): Bind them to right and left arrow keys.
6826
98d8b17e
EZ
6827 Don't override standard definition of convert-standard-filename.
6828 * files.el (convert-standard-filename): Call
6829 w32-convert-standard-filename and dos-convert-standard-filename on
6830 the corresponding systems.
6831
6832 * w32-fns.el (w32-convert-standard-filename): Rename from
6833 convert-standard-filename. Doc fix.
6834
6835 * dos-fns.el (dos-convert-standard-filename): Doc fix.
6836 (convert-standard-filename): Don't defalias.
6837 (register-name-alist, make-register, register-value)
6838 (set-register-value, intdos): Obsolete aliases for the
6839 corresponding dos-* functions and variables.
6840 (dos-intdos): Add a doc string.
6841
ae6bc504
JB
68422010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
6843
6844 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
6845 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
6846 (math-compose-tex-func):
6847 * calc/calccomp.el (math-compose-expr):
6848 * calc/calc-ext.el (math-format-flat-expr-fancy):
6849 * calc/calc-store.el (calc-read-var-name):
6850 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
6851
6852 * calc/calc.el (var-π, var-φ, var-γ): New variables.
560bb7ae 6853 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
ae6bc504 6854 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
560bb7ae 6855 (math-standard-units): Add units.
ae6bc504 6856
c26ea4b2
SM
68572010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6858
7aefa445 6859 * progmodes/asm-mode.el (asm-mode):
13973643
SM
6860 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
6861
c26ea4b2
SM
6862 * pcomplete.el (pcomplete-completions-at-point): New function,
6863 extracted from pcomplete-std-complete.
6864 (pcomplete-std-complete): Use it.
6865
02be533b
GM
68662010-05-15 Glenn Morris <rgm@gnu.org>
6867
6868 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6869 Remove references to CVS, RCS and Old directories.
6870
78ed0efc
JB
68712010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
6872
ae6bc504 6873 * calc/calc-bin.el (math-format-twos-complement): Group digits when
78ed0efc
JB
6874 appropriate.
6875
10dcc561
SM
68762010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6877
5ccaa359
SM
6878 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
6879 (sh-mode-syntax-table): Give it a default value instead.
6880 (sh-header-marker): Make buffer-local.
6881 (sh-mode): Move make-local-variable to the corresponding setq.
6882 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
6883 Use complete-with-action.
6884
10dcc561
SM
6885 * simple.el (prog-mode): New (abstract) major mode.
6886 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
6887 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
6888
c38762fd
JB
68892010-05-14 Juanma Barranquero <lekktu@gmail.com>
6890
6891 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
6892 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
6893 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
6894 (sql-make-alternate-buffer-name, sql-placeholders-filter)
6895 (sql-escape-newlines-filter, sql-input-sender)
6896 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
6897
2ef3c144
CY
68982010-05-13 Chong Yidong <cyd@stupidchicken.com>
6899
560bb7ae 6900 Add TeX open-block and close-block keybindings to SGML, and vice versa.
2ef3c144
CY
6901
6902 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
6903 latex-open-block and C-c / to latex-close-block.
6904
6905 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
6906 and C-c C-e to sgml-close-tag.
6907
3b30ccda
MA
69082010-05-13 Michael Albinus <michael.albinus@gmx.de>
6909
6910 * net/tramp.el (with-progress-reporter): Create reporter object
3a8e7cbd 6911 only when the message would be displayed. Handle nested calls.
3b30ccda
MA
6912 (tramp-handle-load, tramp-handle-file-local-copy)
6913 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10dcc561
SM
6914 (tramp-maybe-send-script, tramp-find-shell):
6915 Use `with-progress-reporter'.
3b30ccda
MA
6916 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
6917 Fix message text.
6918
6919 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6920 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6921 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6922 Use `with-progress-reporter'.
6923
57ff5d7b
AM
69242010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
6925
a628ad9d
JB
6926 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
6927 process everytime when spellchecking from the minibuffer (bug#6143).
57ff5d7b 6928
5a70d10f
SM
69292010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6930
791ffe1c
SM
6931 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
6932
5a70d10f
SM
6933 * dos-fns.el: Add "dos-" prefix for namespace control.
6934 (convert-standard-filename): Define as alias for
6935 dos-convert-standard-filename but only if applicable.
6936
38d93f03
AM
69372010-05-12 Alan Mackenzie <acm@muc.de>
6938
6939 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
6940 Push the mark at the start of these functions when appropriate.
6941
902a6d8d
SM
69422010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6943
6944 * minibuffer.el (completion-cycle-threshold): New custom var.
6945 (completion--do-completion): Use it.
6946 (minibuffer-complete): Use cycling if appropriate.
6947
9ee120ba
JB
69482010-05-11 Juanma Barranquero <lekktu@gmail.com>
6949
6950 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
6951 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
6952
841c4085
JL
69532010-05-11 Juri Linkov <juri@jurta.org>
6954
6955 * scroll-all.el (scroll-all-check-to-scroll):
6956 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
6957
8a67c70e
SM
69582010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6959
f2b9ed18
SM
6960 * iimage.el (iimage-mode-map): Move initialization into declaration.
6961 (iimage-mode-buffer): Use with-silent-modifications.
6962 Simplify calling convention. Adjust callers.
6963 (iimage-mode): Don't run hook redundantly.
6964
8a67c70e
SM
6965 * minibuffer.el (completion-pcm--pattern->regex):
6966 Fix last change (bug#6160).
6967
4bbedd98
JL
69682010-05-10 Juri Linkov <juri@jurta.org>
6969
6970 Remove nodes visited during Isearch from the Info history.
6971 * info.el (Info-isearch-initial-history)
6972 (Info-isearch-initial-history-list): New variables.
6973 (Info-isearch-start): Record initial values of
6974 Info-isearch-initial-history and Info-isearch-initial-history-list.
6975 Add Info-isearch-end to isearch-mode-end-hook.
6976 (Info-isearch-end): New function.
6977
94ecf5da
MA
69782010-05-10 Michael Albinus <michael.albinus@gmx.de>
6979
6980 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8a67c70e
SM
6981 format string, in order to work around a bug in pdksh.
6982 Reported by Gilles Pion <gpion@lfdj.com>.
94ecf5da
MA
6983 (tramp-handle-verify-visited-file-modtime): Do not send a command
6984 when the connection is not established.
6985 (tramp-handle-set-file-times): Simplify the check for utc.
6986
c5eb971b
JB
69872010-05-10 Juanma Barranquero <lekktu@gmail.com>
6988
6989 Fix use of `filter-buffer-substring' (rework previous change).
6990 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
6991 (cua-repeat-replace-region):
6992 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
6993 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6994 (cua-cut-region-to-global-mark): Use it.
6995
7492acc9
MM
69962010-05-09 Michael R. Mauger <mmaug@yahoo.com>
6997
77e2fc7a
JB
6998 * progmodes/sql.el: Version 2.1.
6999 (sql-product-alist): Redesign structure of product info.
7000 (sql-product, sql-user, sql-server, sql-database): Safe variables.
7492acc9
MM
7001 (sql-port, sql-port-history): New variables.
7002 (sql-interactive-product): New variable.
7003 (sql-send-terminator): New variable.
77e2fc7a 7004 (sql-imenu-generic-expression): Add "Types" imenu entry.
7492acc9
MM
7005 (sql-oracle-login-params, sql-sqlite-login-params)
7006 (sql-mysql-login-params, sql-solid-login-params)
7007 (sql-sybase-login-params, sql-informix-login-params)
7008 (sql-ingres-login-params, sql-ms-login-params)
7009 (sql-postgres-login-params, sql-interbase-login-params)
7010 (sql-db2-login-params, sql-linter-login-params)
7011 (sql-oracle-scan-on): New variables.
77e2fc7a
JB
7012 (sql-mode-map): Add C-c C-i to start interactive mode.
7013 (sql-mode-menu): Update existing menu entries.
7014 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7492acc9
MM
7015 (sql-mode-oracle-font-lock-keywords)
7016 (sql-mode-postgres-font-lock-keywords)
7017 (sql-mode-ms-font-lock-keywords)
7018 (sql-mode-sybase-font-lock-keywords)
7019 (sql-mode-informix-font-lock-keywords)
7020 (sql-mode-interbase-font-lock-keywords)
7021 (sql-mode-ingres-font-lock-keywords)
7022 (sql-mode-solid-font-lock-keywords)
7023 (sql-mode-mysql-font-lock-keywords)
7024 (sql-mode-sqlite-font-lock-keywords)
7025 (sql-mode-db2-font-lock-keywords)
77e2fc7a 7026 (sql-mode-linter-font-lock-keywords): Update initialization to
7492acc9
MM
7027 reduce run-time complexity.
7028 (sql-add-product, sql-del-product): New functions.
7029 (sql-set-product-feature, sql-get-product-feature): New functions.
7030 (sql-product-font-lock): Update product API.
7031 (sql-add-product-keywords): New function.
7032 (sql-highlight-product): Update product API.
7033 (sql-help-list-products): New function.
7034 (sql-help): Dynamically lists free and non-free products.
77e2fc7a 7035 (sql-get-login): Correct bug in handling history and added
7492acc9
MM
7036 prompt for port.
7037 (sql-copy-column): Copy without properties.
7038 (sqli-input-sender): Apply filters to SQLi input.
77e2fc7a
JB
7039 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7040 Implement as a filter.
7492acc9
MM
7041 (sql-escape-newlines-filter): Implement as a filter.
7042 (sql-remove-tabs-filter): New function.
7043 (sql-send-magic-terminator): New function.
7044 (sql-send-string): Implement magic terminator.
7045 (sql-send-region): Use `sql-send-string'.
7046 (sql-interactive-mode): Use product API.
7047 (sql-product-interactive): Use product API.
7048 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7049 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7050 (sql-db2, sql-linter): Use `sql-product-interactive'.
7051 (sql-connect): New function.
7052 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7053 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7054 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
77e2fc7a
JB
7055 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7056 Use `sql-connect'.
7492acc9 7057
79ccd68f
SM
70582010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7059
7060 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7061 New custom variable.
7062 (completion-pcm--string->pattern): Use it.
7063 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7064 Make it handle any symbol as `any'.
7065 (completion-pcm--merge-completions): Extract common suffix for the new
7066 `prefix' symbol as well.
7067 (completion-substring--all-completions): Use the new `prefix' symbol.
7068
0d5852cf
MA
70692010-05-09 Michael Albinus <michael.albinus@gmx.de>
7070
7071 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7072 not bound.
7073 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7074 (tramp-compat-funcall): New defmacro.
7075 (tramp-compat-line-beginning-position)
7076 (tramp-compat-line-end-position)
7077 (tramp-compat-temporary-file-directory)
7078 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7079 (tramp-compat-copy-file, tramp-compat-copy-directory)
7080 (tramp-compat-delete-file, tramp-compat-delete-directory)
7081 (tramp-compat-number-sequence, tramp-compat-process-running-p)
7082 * net/tramp.el (top, with-progress-reporter)
7083 (tramp-rfn-eshadow-setup-minibuffer)
7084 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7085 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7086 (tramp-completion-mode-p, tramp-check-for-regexp)
7087 (tramp-open-connection-setup-interactive-shell)
7088 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7089 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7090 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7091 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7092 (tramp-reporter-dump-variable, tramp-load-report-modules)
7093 (tramp-append-tramp-buffers)
7094 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7095
7096 * net/tramp-imap.el (top): Autoload `epg-make-context'.
7097
f913fe7d
SM
70982010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7099
7100 * progmodes/compile.el (compilation-buffer-modtime): Rename from
7101 buffer-modtime. Adjust users.
7102
0235128c 71032010-05-08 Chong Yidong <cyd@stupidchicken.com>
f034e176 7104
77e2fc7a 7105 * international/mule.el (auto-coding-alist): Only purecopy
3b180a24 7106 car of each item, not the whole list (Bug#6083).
f034e176 7107
0235128c 71082010-05-08 Chong Yidong <cyd@stupidchicken.com>
f5d6ff44
CY
7109
7110 * progmodes/js.el (js-mode): Make paragraph variables local before
7111 calling c-setup-paragraph-variables (Bug#6071).
7112
0235128c 71132010-05-08 Eli Zaretskii <eliz@gnu.org>
aa4d4e4a
EZ
7114
7115 * composite.el (compose-region, reference-point-alist): Fix typos
7116 in the doc strings.
7117
77e2fc7a 71182010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9822590b
AK
7119
7120 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7121 gnuplot's "set" command.
7122
0235128c 71232010-05-08 Juanma Barranquero <lekktu@gmail.com>
29c48340
JB
7124
7125 * abbrev.el (last-abbrev-text): Doc fix.
7126 (abbrev-prefix-mark): Don't escape parenthesis.
7127
0235128c 71282010-05-08 Andreas Schwab <schwab@linux-m68k.org>
8ed6fc47
AS
7129
7130 * composite.el (find-composition): Doc fix.
7131
0235128c 71322010-05-08 Juanma Barranquero <lekktu@gmail.com>
063c6324
JB
7133
7134 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7135 (sql-oracle-program, sql-sqlite-options)
7136 (sql-query-placeholders-and-send): Doc fixes.
7137 (sql-set-product, sql-interactive-mode): Reflow docstrings.
7138 (sql-imenu-generic-expression, sql-buffer)
7139 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7140 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7141 (sql-mode-sybase-font-lock-keywords)
7142 (sql-mode-informix-font-lock-keywords)
7143 (sql-mode-interbase-font-lock-keywords)
7144 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7145 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7146 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7147 (sql-product-feature, sql-highlight-product)
7148 (comint-line-beginning-position, sql-rename-buffer)
0235128c
SM
7149 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7150 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
063c6324
JB
7151 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7152 Fix typos in docstrings.
7153
0235128c 71542010-05-08 Juri Linkov <juri@jurta.org>
e89dee79
JL
7155
7156 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7157 property instead of `invisible' and `after-string' (bug#5998).
7158
0235128c 71592010-05-08 Juri Linkov <juri@jurta.org>
316d12fb
JL
7160
7161 * image-mode.el (image-mode-as-text): Fix typo in docstring.
7162
0235128c 71632010-05-08 Juanma Barranquero <lekktu@gmail.com>
770255e9
JB
7164
7165 * filecache.el (file-cache-add-directory-list)
7166 (file-cache-add-directory-recursively): Fix typos in docstrings.
7167
0235128c 71682010-05-08 Kenichi Handa <handa@m17n.org>
ece33a6e
KH
7169
7170 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
b106e264 7171 (gujarati-composable-pattern): Fix typo.
ece33a6e 7172
0235128c 71732010-05-08 Kenichi Handa <handa@m17n.org>
771533aa
KH
7174
7175 * language/indian.el (oriya-composable-pattern)
0235128c
SM
7176 (tamil-composable-pattern, malayalam-composable-pattern):
7177 Add two-part vowels to "v" (vowel sign).
771533aa 7178
0235128c 71792010-05-08 Chong Yidong <cyd@stupidchicken.com>
790c2e44 7180
99833607
CY
7181 * files.el (copy-directory): Handle symlinks (Bug#5982).
7182
0235128c 71832010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
808ecc4e
CY
7184
7185 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7186 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
7187 (Bug#5846).
7188
0235128c 71892010-05-08 Glenn Morris <rgm@gnu.org>
d2c7b917 7190
0ca12598
GM
7191 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7192
d2c7b917
GM
7193 * minibuffer.el (completion-at-point): Doc fix.
7194
ba5bf5f0
SM
71952010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7196
7197 * electric.el (Electric-command-loop): Minor tweak.
7198
7199 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7200 better with dedicated windows.
7201
0235128c
SM
72022010-05-07 Chong Yidong <cyd@stupidchicken.com>
7203
7204 * Version 23.2 released.
7205
560bb7ae 72062010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
4e2af782 7207 Stefan Monnier <monnier@iro.umontreal.ca>
5b3a105e
SM
7208
7209 Highlight vendor specific properties.
7210 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7211 (css-proprietary-property): New face.
7212 (css-font-lock-keywords): Use them.
7213
c0162ade
EZ
72142010-05-07 Eli Zaretskii <eliz@gnu.org>
7215
7216 * cus-start.el (all): Add native condition for tool-bar-* symbols.
7217
f3ee9200
SM
72182010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7219
05623156
SM
7220 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7221 * files.el (auto-mode-alist): Remove redundant entries.
7222
f3ee9200
SM
7223 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7224 * simple.el (auto-save-mode): Move from files.el.
7225 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7226
560bb7ae 72272010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
5146e84c 7228
76e3243a 7229 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
5146e84c 7230
765d4319
KY
72312010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
7232
7233 * mail/binhex.el (binhex-decode-region-internal)
7234 * mail/uudecode.el (uudecode-decode-region-internal)
7235 * net/dns.el (dns-read-string-name, dns-write, dns-read)
7236 (dns-read-type, dns-query)
7237 * pgg-parse.el (pgg-parse-armor)
7238 * pgg.el (pgg-verify-region)
7239 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7240 XEmacs.
7241
86d21cc0 7242 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
765d4319 7243
f83483ff
JB
72442010-05-07 Juanma Barranquero <lekktu@gmail.com>
7245
40ab7974
JB
7246 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7247
f83483ff
JB
7248 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7249 * emulation/cua-base.el (cua-repeat-replace-region):
7250 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7251 (cua-cut-region-to-global-mark):
7252 Remove text properties with `set-text-properties'.
7253
9566840f
MA
72542010-05-06 Michael Albinus <michael.albinus@gmx.de>
7255
f3ee9200
SM
7256 * net/tramp.el (top, with-progress-reporter):
7257 Use `symbol-function' inside `funcall'.
9566840f
MA
7258
7259 * net/tramp-compat.el (tramp-compat-file-attributes)
f3ee9200
SM
7260 (tramp-compat-delete-file, tramp-compat-delete-directory):
7261 Handle only `wrong-number-of-arguments' error.
9566840f
MA
7262
7263 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7264 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7265 inside `funcall'.
7266
0c495c21
SM
72672010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7268
1493963b
SM
7269 * minibuffer.el (completion--sreverse, completion--common-suffix):
7270 New functions.
7271 (completion-pcm--merge-completions): Extract common suffix when safe.
7272
0c495c21
SM
7273 * emacs-lisp/easy-mmode.el (define-minor-mode):
7274 Make :variable more flexible.
7275 * files.el (auto-save-mode): Use it to define using define-minor-mode.
7276
221a0647
JL
72772010-05-05 Juri Linkov <juri@jurta.org>
7278
7279 Add `slow' and `history' tags to the desktop data.
7280
7281 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7282 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7283 (Info-finder-find-node): Require `finder.el' to be able
7284 to restore node from the desktop.
7285 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
7286 data `Info-history' and `slow' tag in the assoc list.
7287 (Info-restore-desktop-buffer): Don't restore nodes with the
7288 `slow' tag. Restore `Info-history'.
7289
66bdc868
MA
72902010-05-05 Michael Albinus <michael.albinus@gmx.de>
7291
7292 Add FORCE argument to `delete-file'.
7293
7294 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7295 forcing to delete the temporary file.
7296 (ange-ftp-delete-file): Add FORCE arg.
7297 (ange-ftp-rename-remote-to-remote)
7298 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
0c495c21
SM
7299 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7300 Force file deletion.
66bdc868
MA
7301
7302 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7303
7304 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7305 (tramp-handle-make-symbolic-link, tramp-handle-load)
7306 (tramp-do-copy-or-rename-file-via-buffer)
7307 (tramp-do-copy-or-rename-file-directly)
7308 (tramp-do-copy-or-rename-file-out-of-band)
7309 (tramp-handle-process-file, tramp-handle-call-process-region)
7310 (tramp-handle-shell-command, tramp-handle-file-local-copy)
7311 (tramp-handle-insert-file-contents, tramp-handle-write-region)
7312 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7313
7314 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7315 (tramp-fish-handle-make-symbolic-link)
7316 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7317
0c495c21
SM
7318 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7319 Use `tramp-compat-delete-file'.
66bdc868
MA
7320
7321 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7322 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7323
7324 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7325 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7326
7327 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7328 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7329 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
7330 `tramp-compat-delete-file'.
7331
f44379e7
SM
73322010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7333
365f8d85
SM
7334 Minor cleanups.
7335 * subr.el (add-minor-mode): Use push.
7336 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
7337 * emulation/edt.el (edt-select-mode): Simplify.
7338
80ac5d4d
SM
7339 Use define-minor-mode in more cases.
7340 * term/tvi970.el (tvi970-set-keypad-mode):
7341 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7342 (normal-erase-is-backspace-mode):
7343 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
7344 (set-scroll-bar-mode-1): (Re)move to its sole caller.
7345 (get-scroll-bar-mode): New function.
7346 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
7347
7348 Use define-minor-mode for less obvious cases.
f44379e7
SM
7349 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
7350 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
7351 * international/iso-ascii.el (iso-ascii-mode):
7352 * frame.el (auto-raise-mode, auto-lower-mode):
7353 * composite.el (global-auto-composition-mode): Use define-minor-mode.
7354
c04b03f8
MA
73552010-05-04 Michael Albinus <michael.albinus@gmx.de>
7356
7357 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
7358 in order to see error messages for failed logins.
7359
53967e09
CY
73602010-05-03 Chong Yidong <cyd@stupidchicken.com>
7361
7362 * diff.el (diff-sentinel):
7363
7364 * epg.el (epg--make-temp-file, epg-decrypt-string)
7365 (epg-verify-string, epg-sign-string, epg-encrypt-string):
7366
7367 * jka-compr.el (jka-compr-partial-uncompress)
7368 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
7369
7370 * server.el (server-sentinel): Use delete-file's new FORCE arg
7371 (Bug#6070).
7372
56eb0904
SM
73732010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7374
7375 Use define-minor-mode where applicable.
7376 * view.el (view-mode):
7377 * type-break.el (type-break-query-mode)
7378 (type-break-mode-line-message-mode):
7379 * textmodes/reftex.el (reftex-mode):
7380 * term/vt100.el (vt100-wide-mode):
7381 * tar-mode.el (tar-subfile-mode):
7382 * savehist.el (savehist-mode):
7383 * ibuf-ext.el (ibuffer-auto-mode):
7384 * composite.el (auto-composition-mode):
7385 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7386 Use define-minor-mode.
7387 (vhdl-mode): Use static mode-line format.
7388 (vhdl-mode-line-update): Delete.
7389 (vhdl-create-mode-menu, vhdl-activate-customizations)
7390 (vhdl-hs-minor-mode): Don't bother calling it.
7391
672eb710
SM
73922010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7393
8f92b8ad
SM
7394 * simple.el (with-wrapper-hook): Move.
7395 (buffer-substring-filters): Mark obsolete.
7396 (filter-buffer-substring-functions): New variable.
1fada563 7397 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
8f92b8ad 7398
c04b03f8 73992010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4e2af782 7400 Michael Albinus <michael.albinus@gmx.de>
6a29a838
MA
7401
7402 Implement compression for inline methods.
7403
7404 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7405 (tramp-copy-size-limit): Allow also nil.
7406 (tramp-inline-compress-commands): New defconst.
7407 (tramp-find-inline-compress, tramp-get-inline-compress)
7408 (tramp-get-inline-coding): New defuns.
cb7f3653 7409 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
c04b03f8 7410 replaced by `tramp-get-inline-coding'.
6a29a838
MA
7411 (tramp-handle-file-local-copy, tramp-handle-write-region)
7412 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7413
8c0bf8b3
SM
74142010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7415
07125a91
SM
7416 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
7417 Remove unused functions.
7418
f3a47002
SM
7419 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
7420 Set find-tag-default-function as a variable rather than a property.
7421
8c0bf8b3
SM
7422 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
7423 * progmodes/etags.el (tags-completion-at-point-function):
7424 Remove left over interactive spec. Add autoloading stub.
7425 (complete-tag): Use tags-completion-at-point-function.
7426
27601456
CY
74272010-04-30 Chong Yidong <cyd@stupidchicken.com>
7428
cb7f3653 7429 * minibuffer.el (tags-completion-at-point-function): Fix return value.
27601456 7430
09d0284d
CY
74312010-04-29 Chong Yidong <cyd@stupidchicken.com>
7432
27d3cd56
CY
7433 * ido.el (ido-init-completion-maps): Remove C-v binding.
7434 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
09d0284d 7435
3a07ffce
CY
74362010-04-29 Chong Yidong <cyd@stupidchicken.com>
7437
7438 * minibuffer.el (tags-completion-at-point-function): New function.
7439 (completion-at-point-functions): Use it.
7440
3a07ffce
CY
7441 * progmodes/etags.el (complete-tag): Revert last change.
7442
3d14bb73
AM
74432010-04-29 Alan Mackenzie <acm@muc.de>
7444
7445 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
7446 off-by-one error (in end of macro position).
7447
7d353d11
SM
74482010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7449
7450 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
7451 firefox is absent. Don't autoload.
7452 (browse-url-galeon-program): Don't autoload.
7453
48111a85
CY
74542010-04-28 Chong Yidong <cyd@stupidchicken.com>
7455
7456 * bindings.el (complete-symbol): Move into minibuffer.el.
7457
7458 * minibuffer.el (complete-tag): Move from etags.el. If tags
7459 completion cannot be performed, return nil instead of signalling
7460 an error.
7461 (completion-at-point): Make it an alias for complete-symbol.
7462 (complete-symbol): Move from bindings.el, and replace with the
7463 body of completion-at-point.
7464
7465 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
7466
7ba94701
MA
74672010-04-28 Michael Albinus <michael.albinus@gmx.de>
7468
7469 * net/tramp.el (tramp-remote-selinux-p): New defun.
7470 (tramp-handle-file-selinux-context)
7471 (tramp-handle-set-file-selinux-context): Use it.
7472
95c6cc3e
SS
74732010-04-28 Sam Steingold <sds@gnu.org>
7474
7475 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7476 `safe-local-variable' if the value is a string or a symbol with
7477 the property `bug-reference-url-format'.
7478
36045ff3
CY
74792010-04-28 Chong Yidong <cyd@stupidchicken.com>
7480
537ffaf3
SM
7481 * progmodes/bug-reference.el (bug-reference-url-format):
7482 Revert 2010-04-27 change due to security risk.
36045ff3 7483
56924d99
SM
74842010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 Make it possible to locally disable a globally enabled mode.
7487 * simple.el (fundamental-mode): Run fundamental-mode-hook.
7488 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
7489 rather than kill-all-local-variables so it runs fundamental-mode-hook.
7490 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7491 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
7492 that subsequent hooks get a chance to disable it.
7493
ccaa4765
SM
74942010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7495
17818d71
SM
7496 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7497 Avoid re-enabling a minor mode after the user turned the minor mode
7498 off if MODE-enable-in-buffers is run twice (typically once from
7499 fundamental-mode's after-change-major-mode-hook and a second time from
7500 run-mode-hook's own after-change-major-mode-hook).
7501
ccaa4765
SM
7502 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
7503
2a6f654e
SS
75042010-04-27 Sam Steingold <sds@gnu.org>
7505
7506 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7507 `safe-local-variable' if the value is a string or a function, as
7508 documented and implemented on 2010-04-02.
7509
cecaa674
JB
75102010-04-27 Juanma Barranquero <lekktu@gmail.com>
7511
7512 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
7513 when method is 'kill.
7514
75152010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
1e116bb3 7516
a628ad9d
JB
7517 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
7518 condition in default directory check.
1e116bb3
AM
7519 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
7520 Kill ispell process when killing its associated buffer.
7521
7dd7fbb9
JD
75222010-04-27 Jan Djärv <jan.h.d@swipnet.se>
7523
7524 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
7525 but we aren't using it.
7526
7ac82b84
J
75272010-04-25 Jan Djärv <jan.h.d@swipnet.se>
7528
7529 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
7530 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
7531
fea1add4
GM
75322010-04-24 Glenn Morris <rgm@gnu.org>
7533
7534 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
7535 Ignore VCS-ignore files, and deleted nextstep preferences files.
7536 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
7537 (authors-ambiguous-files): New list.
7538 (authors-valid-file-names): Add some deleted files.
7539 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
7540 (authors-disambiguate-file-name): New function. (Bug#5501)
7541 (authors-canonical-file-name): Doc fix.
7542 Don't warn about obsolete files.
7543 (authors-canonical-file-name, authors-scan-el):
7544 Use authors-disambiguate-file-name.
7545
cbcfee6e
GM
7546 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7547 Add autoload cookies.
7548 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
7549 (generated-autoload-file): Set file-local value to "htmlfontify.el".
7550 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
7551 They have definitions / compiler macros in cl.el.
7552 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7553 Replace manual autoloads with generated ones.
7554 (htmlfontify-unload-rgb-file): Remove autoload.
7555 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
7556
3b548e1b
SM
75572010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7558
9ae0c310
SM
7559 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
7560 (byte-compile-setq-default): Optimize for the
7561 single-var case and don't call byte-compile-form in this case to avoid
7562 inf-loop with byte-compile-set-default.
7563
3b548e1b
SM
7564 * progmodes/compile.el (compilation-start): Abbreviate default directory.
7565
632c5478
MA
75662010-04-23 Michael Albinus <michael.albinus@gmx.de>
7567
7568 Implement SELINUX backends.
7569
3b548e1b
SM
7570 * net/tramp.el (tramp-file-name-handler-alist):
7571 Add `file-selinux-context' and `set-file-selinux-context'.
632c5478
MA
7572 (tramp-handle-file-selinux-context)
7573 (tramp-handle-set-file-selinux-context): New defuns.
3b548e1b
SM
7574 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7575 Handle PRESERVE-SELINUX-CONTEXT.
632c5478 7576
3b548e1b
SM
7577 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7578 Add `file-selinux-context' and `set-file-selinux-context'.
632c5478
MA
7579 (tramp-gvfs-handle-file-selinux-context)
7580 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7581 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7582
7583 * net/ange-ftp.el (ange-ftp-copy-file):
7584 * net/tramp-fish.el (tramp-fish-handle-copy-file):
7585 * net/tramp-imap.el (tramp-imap-handle-copy-file):
3b548e1b
SM
7586 * net/tramp-smb.el (tramp-smb-handle-copy-file):
7587 Add PRESERVE-SELINUX-CONTEXT.
632c5478 7588
a94d821f
MA
75892010-04-22 Michael Albinus <michael.albinus@gmx.de>
7590
7591 Synchronize with Tramp repository.
7592
7593 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
7594 (tramp-action-process-alive, tramp-action-out-of-band)
7595 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7596 (tramp-exists-file-name-handler): Fix docstring.
7597 (with-progress-reporter): New defmacro.
7598 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
7599 (tramp-maybe-open-connection): Use it.
7600
a92375d9
MA
76012010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
7602
7603 Detect ssh 'ControlMaster' argument automatically in some cases.
7604
7605 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7606 (tramp-default-method): Use it.
7607
489fe4c2
MA
76082010-04-22 Michael Albinus <michael.albinus@gmx.de>
7609
25f14cdb
MA
7610 * net/tramp.el (tramp-handle-copy-file): Add new optional
7611 parameter `preserve-selinux-context'.
7612 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
7613
a92375d9
MA
76142010-04-22 Michael Albinus <michael.albinus@gmx.de>
7615
489fe4c2
MA
7616 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
7617 Ensure, that non remote files are still checked. Oops.
7618
acd1f317
MA
76192010-04-21 Michael Albinus <michael.albinus@gmx.de>
7620
7621 Fix Bug#5840.
7622
7623 * icomplete.el (icomplete-completions): Use `non-essential'.
7624
7625 * net/tramp.el (tramp-connectable-p): New defun.
7626 (tramp-handle-expand-file-name)
7627 (tramp-completion-handle-file-name-all-completions)
7628 (tramp-completion-handle-file-name-completion): Use it.
7629
62c5b459
SM
76302010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7631
7632 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
7633
f904c0f9
JD
76342010-04-21 Jan Djärv <jan.h.d@swipnet.se>
7635
7636 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
7637
7638 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
7639
7640 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
7641 is present.
7642
7643 * info.el (info-tool-bar-map): Add labels.
7644
7645 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
7646
7647 * cus-edit.el (custom-commands): Add labels for tool bar.
7648 (custom-buffer-create-internal, Custom-mode): Adjust for
7649 labels in custom-commands.
7650
7651 * dynamic-setting.el: Renamed from font-setting.el.
7652
c5cbeb12
LL
76532010-04-21 John Wiegley <jwiegley@gmail.com>
7654
7655 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
7656 toggles the use of virtual buffers.
537ffaf3 7657 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
c5cbeb12
LL
7658 (ido-toggle-virtual-buffers): New function.
7659
fcc93746
JB
76602010-04-21 Juanma Barranquero <lekktu@gmail.com>
7661
7662 Use `define-derived-mode'; fix window selection; doc fixes.
7663 * play/tetris.el (tetris, tetris-update-speed-function)
7664 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
7665 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
7666 (tetris-rotate-next, tetris-end-game, tetris-start-game)
7667 (tetris-pause-game): Fix typos in docstrings.
7668 (tetris-mode-map, tetris-null-map):
7669 Move initialization into declaration.
7670 (tetris-mode): Define with `define-derived-mode';
7671 set show-trailing-whitespace to nil.
7672 (tetris): Prefer window already displaying the "*Tetris*" buffer.
7673
574c05e2
KK
76742010-04-21 Karel Klíč <kklic@redhat.com>
7675
7676 * files.el (backup-buffer): Handle SELinux context, and return it
7677 if a backup was made by renaming.
7678 (backup-buffer-copy): Set SELinux context to the target file.
7679 (basic-save-buffer): Set SELinux context of the newly written file.
7680 (basic-save-buffer-1): Now it also returns any SELinux context.
7681 (basic-save-buffer-2): Set SELinux context of the newly created file,
7682 and return it.
7683 * net/tramp.el (tramp-file-name-for-operation):
7684 Add file-selinux-context.
7685
e97a42c1
SM
76862010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7687
f2b9ed18
SM
7688 Make the log-edit comments use RFC822 format throughout.
7689
e97a42c1
SM
7690 * vc.el (vc-checkin, vc-modify-change-comment):
7691 Adjust to new vc-start/finish-logentry.
7692 (vc-find-conflicted-file): New command.
7693 (vc-transfer-file): Adjust to new vc-checkin.
7694 (vc-next-action): Improve scoping.
7695
7696 * vc-hg.el (vc-hg-log-edit-mode): Remove.
7697 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
7698
7699 * vc-git.el (vc-git-log-edit-mode): Remove.
7700 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
7701 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
7702
7703 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
7704 (vc-start-logentry): Remove argument `extra'.
7705 (vc-finish-logentry): Remove extra args.
7706
7707 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
7708 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
7709 (vc-bzr-conflicted-files): New function.
7710
7711 * log-edit.el (log-edit-extra-flags)
7712 (log-edit-before-checkin-process): Remove.
7713 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
7714 (log-edit-headers-alist): New var.
7715 (log-edit-header-contents-regexp): New const.
7716 (log-edit-match-to-eoh): New function.
7717 (log-edit-font-lock-keywords): Use them.
7718 (log-edit): Insert a "Summary:" header as default.
7719 (log-edit-mode): Mark font-lock rules as case-insensitive.
7720 (log-edit-done): Cleanup headers.
7721 (log-view-process-buffer): Remove.
7722 (log-edit-extract-headers): New function to replace it.
7723
938efb77
JB
77242010-04-20 Juanma Barranquero <lekktu@gmail.com>
7725
7726 * subr.el (default-direction-reversed): Remove obsolescence info.
7727
1cfb415b
SM
77282010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7729
cb4f9513
SM
7730 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
7731 windows/frames.
7732
6e610c72
SM
7733 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
7734 I.e. include text after point in the completion region.
7735 Also, return nil when we're not after/in a symbol.
7736
1cfb415b
SM
7737 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
7738 default enable-multibyte-characters.
7739
c80fa13c
SM
77402010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7741
87926e02
SM
7742 * international/mule.el: Help the user choose a valid coding-system.
7743 (read-buffer-file-coding-system): New function.
7744 (set-buffer-file-coding-system): Use it. Prompt the user if the
7745 coding-system cannot encode all the chars.
7746
c80fa13c
SM
7747 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
7748 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
7749 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
7750 Don't use *vc-bzr-shelve*.
7751
6e104790 77522010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
bce31830
DN
7753
7754 Fix the version number for added files.
7755 * vc-hg.el (vc-hg-working-revision): Check if the file is
7756 registered after hg parent fails (Bug#5961).
7757
6e104790 77582010-04-19 Glenn Morris <rgm@gnu.org>
0433ffa6
GM
7759
7760 * htmlfontify.el (htmlfontify-buffer)
7761 (htmlfontify-copy-and-link-dir): Autoload entry points.
7762
6e104790 77632010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
8507c65c
CY
7764
7765 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
7766 name relative to the project root (Bug#5960).
7767
6e104790 77682010-04-19 Glenn Morris <rgm@gnu.org>
e9ef9777
GM
7769
7770 * vc-git.el (vc-git-print-log): Doc fix.
7771
6e104790 77722010-04-19 Óscar Fuentes <ofv@wanadoo.es>
3808c51f
CY
7773
7774 * ido.el (ido-file-internal): Fix 2009-12-02 change.
7775
6e104790 77762010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
7860d2e3
CY
7777
7778 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
7779 default settings (Bug#5928).
7780
6e104790 77812010-04-19 Glenn Morris <rgm@gnu.org>
119850e9
GM
7782
7783 * progmodes/fortran.el (fortran-match-and-skip-declaration):
7784 New function.
0a23b2c3 7785 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
119850e9 7786
6e104790 77872010-04-19 Kenichi Handa <handa@m17n.org>
86a366f4
KH
7788
7789 * language/indian.el (malayalam-composable-pattern): Fix previous
7790 change (add U+0D4D "SIGN VIRAMA").
7791 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
7792 (tamil-composable-pattern): Fix typo in the regexp.
7793 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
7794 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
7795 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
7796
6e104790 77972010-04-19 Chong Yidong <cyd@stupidchicken.com>
8afe2ec6
CY
7798
7799 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
7800 paragraph-separate (Bug#5821).
7801
6e104790 78022010-04-19 Juri Linkov <juri@jurta.org>
3c5d6dfb
JL
7803
7804 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
7805
7806 * info.el (Info-find-node-2): Comment out code that skips
7807 breadcrumbs line.
7808 (Info-mouse-follow-link): New command.
7809 (Info-link-keymap): New keymap.
7810 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
7811 Return a string with links instead of inserting breadcrumbs
7812 to the Info buffer.
7813 (Info-fontify-node): Comment out code that inserts breadcrumbs.
7814 Instead of putting the `invisible' text property over the Info
7815 header, make an overlay over the Info header with the `invisible'
7816 property and `after-string' set to the string returned by
7817 `Info-breadcrumbs'.
7818
6e104790 78192010-04-19 Chong Yidong <cyd@stupidchicken.com>
6baa27a2
CY
7820
7821 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
7822 Reported by monkey@sandpframing.com.
7823
98923800
SM
78242010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7825
b5feea0f
SM
7826 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
7827 (tmm-get-keymap): Add key-binding shortcuts now that they're not
7828 available in the "keyseq cache" any more.
7829
98923800
SM
7830 * custom.el (defcustom): Add edebug spec.
7831
fd5c9dfa
JL
78322010-04-18 Juri Linkov <juri@jurta.org>
7833
7834 Test for special mode-class in view-buffer instead of view-file (bug#5513).
7835
7836 * view.el (view-file, view-buffer): Move test for special mode-class
7837 from view-file to view-buffer.
7838
7839 * tar-mode.el (tar-extract): Turn if's into one cond
7840 like in arc-mode.el.
7841
b3671a51
JL
78422010-04-18 Juri Linkov <juri@jurta.org>
7843
7844 Add 7z archive format support (bug#5475).
7845
7846 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
7847 (archive-7z-extract): New defcustom.
7848 (archive-find-type): Add magic string for 7z.
7849 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
7850 If `stderr-file' is non-nil, use `(t stderr-file)' for the
7851 `buffer' arg of `call-process'.
7852 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
7853 call the function `archive-7z-extract' with the variable
7854 `archive-7z-extract' let-bound to `archive-zip-extract'.
7855 (archive-7z-summarize, archive-7z-extract): New functions.
7856
7857 * international/mule.el (auto-coding-alist):
7858 * files.el (auto-mode-alist): Add 7z file extension.
7859
8a37fb25
SM
78602010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7861
e9515805
SM
7862 * loadup.el: Setup hash-cons for pure data.
7863
f8ea0098
SM
7864 Fix duplicate entries in cedet's loaddefs.el files.
7865 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
7866 Should make most file-local generated-autoload-file unnecessary.
7867 (print-readably): Silence warnings.
7868 (autoload-find-destination): Take load-name as an arg to make sure
7869 it's the same as the one that will be in the file.
7870 (autoload-generate-file-autoloads): Adjust to above changes.
7871 Try to make the dataflow a bit simpler.
7872
8a37fb25
SM
7873 * cvs-status.el (cvs-refontify): Remove unused.
7874
f8b91752
JB
78752010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
7876
76e3243a 7877 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
f8b91752 7878
76e3243a 7879 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
f8b91752
JB
7880 twos-complement mode.
7881
d8b01fef
JB
78822010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
7883
76e3243a
JB
7884 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
7885 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
d8b01fef
JB
7886 (calc-inverse): Add "Option" to message, as appropriate.
7887 (calc-hyperbolic): Add "Option" to message, as appropriate.
7888 (calc-option, calc-is-option): New functions.
7889
76e3243a 7890 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
d8b01fef
JB
7891 (calc-option-prefix-help): New function.
7892
76e3243a 7893 * calc/calc-misc.el (calc-help): Add "Option" entry.
d8b01fef 7894
76e3243a 7895 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
d8b01fef
JB
7896 (calc-option-flag): New variable.
7897 (calc-do): Set `calc-option-flag to nil.
7898 (calc-set-mode-line): Add "Opt " as appropriate.
7899
74f806a1
JL
79002010-04-16 Juri Linkov <juri@jurta.org>
7901
7902 Move scrolling commands from simple.el to window.el
7903 because their primitives are implemented in window.c.
7904
7905 * simple.el (scroll-error-top-bottom)
7906 (scroll-up-command, scroll-down-command, scroll-up-line)
7907 (scroll-down-line, scroll-other-window-down)
7908 (beginning-of-buffer-other-window, end-of-buffer-other-window):
7909 * window.el (scroll-error-top-bottom)
7910 (scroll-up-command, scroll-down-command, scroll-up-line)
7911 (scroll-down-line, scroll-other-window-down)
7912 (beginning-of-buffer-other-window, end-of-buffer-other-window):
7913 Move from simple.el to window.el because their primitives are
7914 implemented in window.c.
7915
ad40eec5
JL
79162010-04-16 Juri Linkov <juri@jurta.org>
7917
7918 * isearch.el (isearch-lookup-scroll-key): Check both
7919 `isearch-scroll' and `scroll-command' properties.
7920 (scroll-up, scroll-down): Remove `isearch-scroll' property.
7921
7922 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
7923
7924 * simple.el (scroll-up-command, scroll-down-command)
7925 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
7926
a4b000fb
JL
79272010-04-15 Juri Linkov <juri@jurta.org>
7928
7929 * simple.el (scroll-up-command, scroll-down-command)
7930 (scroll-up-line, scroll-down-line): Put `scroll-command'
7931 property on the these symbols. Remove them from
7932 `scroll-preserve-screen-position-commands'.
7933
7934 * mwheel.el (mwheel-scroll): Put `scroll-command' and
7935 `isearch-scroll' properties on the `mwheel-scroll' symbol.
7936 Remove it from `scroll-preserve-screen-position-commands'.
7937
7938 * isearch.el (isearch-allow-scroll): Doc fix.
7939
4874f5e6
MA
79402010-04-15 Michael Albinus <michael.albinus@gmx.de>
7941
7942 * net/tramp.el (tramp-error-with-buffer): Don't show the
7943 connection buffer when we are in completion mode.
7944 (tramp-file-name-handler): Catch the error for some operations
7945 when we are in completion mode. This gives the user the chance to
7946 correct the file name in the minibuffer.
7947
82883f0a
GM
79482010-04-15 Glenn Morris <rgm@gnu.org>
7949
7950 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
7951
528b9ea9
JB
79522010-04-15 Juanma Barranquero <lekktu@gmail.com>
7953
7954 Simplify by using `define-derived-mode'.
7955 * info.el (Info-mode):
7956 * calendar/todo-mode.el (todo-mode):
7957 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
7958 (gomoku-mode-map): Move initialization into declaration.
7959
5f2b693f
MA
79602010-04-14 Michael Albinus <michael.albinus@gmx.de>
7961
7962 Fix Bug#5840.
7963 * ido.el (ido-file-name-all-completions-1):
7964 * minibuffer.el (minibuffer-completion-help):
7965 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
7966
ebb9641f
SM
79672010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7968
38111a5a
SM
7969 * simple.el (non-essential): New var.
7970
ebb9641f
SM
7971 Add a new field `location' to bookmarks for non-file bookmarks.
7972 * bookmark.el (bookmark-location): Use the new field, if present.
7973 (bookmark-insert-location): Undo last change, not needed any more.
7974 * man.el (Man-bookmark-make-record):
7975 * woman.el (woman-bookmark-make-record): Add `location' field.
7976
7b05466f
JL
79772010-04-14 Juri Linkov <juri@jurta.org>
7978
7979 * simple.el (scroll-error-top-bottom): New defcustom.
7980 (scroll-up-command, scroll-down-command): Use it. Doc fix.
7981
7982 * emulation/pc-select.el (pc-select-override-scroll-error):
7983 Obsolete in favor of `scroll-error-top-bottom'.
7984
32129746
JL
79852010-04-14 Juri Linkov <juri@jurta.org>
7986
7987 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
7988 `scroll-up-command' and `M-v' to `scroll-down-command'.
7989
7990 * emulation/cua-rect.el (cua--init-rectangles):
7991 * forms.el (forms--change-commands):
7992 * image-mode.el (image-mode-map):
7993 Remap scroll-down-command and scroll-up-command
7994 in addition to scroll-down and scroll-up.
7995
9013a7f8
JL
79962010-04-14 Juri Linkov <juri@jurta.org>
7997
7998 * mwheel.el (scroll-preserve-screen-position-commands):
7999 Add mwheel-scroll to this list of commands.
8000
8001 * simple.el (scroll-preserve-screen-position-commands):
8002 Add scroll-up-command, scroll-down-command, scroll-up-line,
8003 scroll-down-line to this list of commands.
8004
3b7e1d5f
SM
80052010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8006
c1e25821
SM
8007 * obsolete/complete.el: Move from lisp/complete.el.
8008
5b31b787
SM
8009 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8010
3b7e1d5f
SM
8011 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8012 to the minor mode function now turns the mode ON unconditionally.
8013
398a825b
SM
80142010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8015
a544e7c1
SM
8016 * vc-dir.el (vc-dir-kill-line): New command.
8017 (vc-dir-mode-map): Bind it to C-k.
8018
a1979d8e
SM
8019 * bookmark.el (bookmark-insert-location): Handle a nil filename.
8020
398a825b
SM
8021 * woman.el: Add bookmark declarations to silence the compiler.
8022 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8023 step to compatibility between man and woman bookmarks.
8024 Adjust for Man-default-bookmark-title renaming.
8025 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
8026
8027 * man.el: Add bookmark declarations to silence the compiler.
8028 (Man-name-local-regexp): Make it match NAME as well.
8029 (Man-getpage-in-background): Return the buffer.
8030 (Man-notify-when-ready): Use `case'.
8031 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8032 Don't hardcode "NAME". Simplify.
8033 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8034 Rename from Man-bookmark-make-record.
8035 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
8036 we have the actual man-args. Use Man-getpage-in-background rather
8037 than `man' since the arg is already processed. Let bookmark.el do the
8038 window handling. Only wait for the relevant process.
8039 Don't forget to autoload.
8040
8041 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8042
45be326a
TV
80432010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8044
8045 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8046 New functions.
8047 (woman-mode): Setup bookmark support.
8048
8049 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8050 (man-bookmark-jump): New functions.
8051 (Man-mode): Setup bookmark support.
8052
3acb4c93
CY
80532010-04-10 Jari Aalto <jari.aalto@cante.net>
8054
8055 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8056 recognize ssh-keygen prompt (Bug#2817).
8057
b6bbb65e
MA
80582010-04-10 Michael Albinus <michael.albinus@gmx.de>
8059
8060 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8061
b533bc97
MA
80622010-04-10 Michael Albinus <michael.albinus@gmx.de>
8063
8064 Synchronize with Tramp repository.
8065
8066 * net/tramp.el (tramp-completion-function-alist)
8067 (tramp-file-name-regexp, tramp-chunksize)
45be326a
TV
8068 (tramp-local-coding-commands, tramp-remote-coding-commands):
8069 Fix docstring.
8070 (tramp-remote-process-environment): Use `format' instead of `concat'.
b533bc97
MA
8071 (tramp-handle-directory-files-and-attributes)
8072 (tramp-get-remote-path): Use `copy-tree'.
8073 (tramp-handle-file-name-all-completions): Backward/ XEmacs
8074 compatibility: Use `completion-ignore-case' if
8075 `read-file-name-completion-ignore-case' does not exist.
8076 (tramp-do-copy-or-rename-file-directly): Do not use
8077 `tramp-handle-file-remote-p'.
45be326a
TV
8078 (tramp-do-copy-or-rename-file-out-of-band):
8079 Use `tramp-compat-delete-directory'.
b533bc97 8080 (tramp-do-copy-or-rename-file-out-of-band)
45be326a
TV
8081 (tramp-compute-multi-hops, tramp-maybe-open-connection):
8082 Use `format-spec-make'.
b533bc97
MA
8083 (tramp-find-foreign-file-name-handler)
8084 (tramp-advice-make-auto-save-file-name)
8085 (tramp-set-auto-save-file-modes): Remove superfluous check for
8086 `stringp'. This is done inside `tramp-tramp-file-p'.
8087 (tramp-debug-outline-regexp): New defconst.
8088 (tramp-get-debug-buffer): Use it.
8089 (tramp-check-for-regexp): Use (forward-line 1).
8090 (tramp-set-auto-save-file-modes): Adapt version check.
8091
45be326a
TV
8092 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8093 Wrap call of `featurep' for 2nd argument.
b533bc97
MA
8094 (tramp-compat-make-temp-file): Simplify fallback implementation.
8095 (tramp-compat-copy-tree): Remove function.
8096 (tramp-compat-delete-directory): Provide implementation for older
8097 Emacsen.
8098
8099 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8100 Do not use `tramp-fish-handle-file-attributes.
8101
8102 * net/trampver.el: Update release number.
8103
ba33df00
GM
81042010-04-10 Glenn Morris <rgm@gnu.org>
8105
8106 * progmodes/compile.el (compilation-save-buffers-predicate):
8107 Add missing :version tag.
8108
4a8ae76f
SS
81092010-04-09 Sam Steingold <sds@gnu.org>
8110
8111 * progmodes/compile.el (compilation-save-buffers-predicate):
8112 Remove the "autoload" cookie.
8113
0880716f
SS
8114 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8115 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8116 and `bug-reference-prog-mode' can be used in hooks directly.
8117
6aebd58c
DN
81182010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
8119
8120 Add --author support to git commit.
8121 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8122 (vc-git-log-edit-mode): New minor mode.
45be326a
TV
8123 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8124 New declarations.
6aebd58c 8125
f6d90772
ER
81262010-04-09 Eric Raymond <esr@snark.thyrsus.com>
8127
8128 * vc-hooks.el, vc-git.el: Improve documentation comments.
8129
e754e83b
SM
81302010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8131
8132 Fix some of the problems in defsubst* (bug#5728).
8133 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8134 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8135
9e86ab0b
SS
81362010-04-07 Sam Steingold <sds@gnu.org>
8137
e754e83b
SM
8138 * progmodes/compile.el (compilation-save-buffers-predicate):
8139 New custom variable.
9e86ab0b
SS
8140 (compile, recompile): Pass it to `save-some-buffers'.
8141
b0c8b840
JD
81422010-04-07 Jan Djärv <jan.h.d@swipnet.se>
8143
8144 * wid-edit.el (widget-choose): Move cursor to the second line of
8145 the buffer (Bug#5695).
8146
31527c56
DN
81472010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8148
8149 Add new VC methods: vc-log-incoming and vc-log-outgoing.
8150 * vc.el (vc-print-log-setup-buttons): New function split out from
8151 vc-print-log-internal.
8152 (vc-log-internal-common): New function, a parametrized version of
8153 vc-print-log-internal.
8154 (vc-print-log-internal): Just call vc-log-internal-common with the
8155 right arguments.
8156 (vc-incoming-outgoing-internal):
8157 (vc-log-incoming, vc-log-outgoing): New functions.
8158 (vc-log-view-type): New permanent local variable.
8159
8160 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8161
8162 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8163 of the dynamic bound vc-short-log.
8164 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8165
8166 * vc-git.el (vc-git-log-outgoing): New function.
8167 (vc-git-log-view-mode): Use vc-log-view-type instead
8168 of the dynamic bound vc-short-log.
8169
8170 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8171 of the dynamic bound vc-short-log. Highlight the tag.
8172 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8173 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8174 (vc-hg-incoming-mode): Remove.
8175 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8176
7ec69e2b
DN
81772010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
8178
8179 Fix default-directory for vc-root-diff.
8180 * vc.el (vc-root-diff): Bind default-directory to the root
8181 directory for the diff command.
8182
fd9ea9d3
WS
81832010-04-07 Michael McNamara <mac@mail.brushroad.com>
8184
6e104790 8185 * progmodes/verilog-mode.el (verilog-forward-sexp):
31527c56
DN
8186 (verilog-calc-1): Support "disable fork" and "fork wait" multi
8187 word keywords, suggested by Steve Pearlmutter.
6e104790 8188 (verilog-pretty-declarations): Support lineup of declarations in
fd9ea9d3 8189 port lists.
6e104790 8190 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
c4cc8b9a 8191 fix bug for /* / comments.
6e104790 8192 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
fd9ea9d3 8193 Speed up and simplfy as this is never called with a bound.
6e104790
SM
8194 (verilog-pretty-declarations): Enhance to line up declarations
8195 inside a parameter list, suggested by Alan Morgan.
8196 (verilog-pretty-expr): Tune assignment regular expression match
8197 string for corner cases; also use markers instead of character
8198 number as indent changes the later.
fd9ea9d3
WS
8199
82002010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
8201
6e104790
SM
8202 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8203 as missing keyword.
8204 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8205 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
8206 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8207 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
8208 Tennant.
8209 (verilog-keywords):
fd9ea9d3
WS
8210 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8211 1800-2009 keywords, including "global.".
8212
2a07afc5
JW
82132010-04-06 John Wiegley <jwiegley@gmail.com>
8214
8b32731a 8215 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
2a07afc5 8216 appearing in buffer list (if a live buffer name matched a recentf
8b32731a 8217 file basename). Should use uniquify to offer a real solution.
2a07afc5 8218
f9a27d86
JW
82192010-04-06 John Wiegley <jwiegley@gmail.com>
8220
8b32731a
JB
8221 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8222 comment to code, and add a :version tag.
8223 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
f9a27d86 8224
9caf8a8f
JB
82252010-04-06 Juanma Barranquero <lekktu@gmail.com>
8226
8227 Enable recentf-mode if using virtual buffers.
8228 * ido.el (recentf-list): Declare for byte-compiler.
93acd23d 8229 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
9caf8a8f
JB
8230 (ido-make-buffer-list): Simplify.
8231 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
8232
5a97d2da
JL
82332010-04-05 Juri Linkov <juri@jurta.org>
8234
8235 Scrolling commands which scroll a line instead of full screen.
8236 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8237
8238 * simple.el (scroll-up-line, scroll-down-line): New commands.
8239 Put property isearch-scroll=t on them.
8240
8241 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8242 Remove commands.
8243
79ce172a
JL
82442010-04-05 Juri Linkov <juri@jurta.org>
8245
8b32731a 8246 Scrolling commands which do not signal errors at top/bottom.
79ce172a
JL
8247 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8248
8249 * simple.el (scroll-up-command, scroll-down-command): New commands.
8250 Put property isearch-scroll=t on them.
8251
8252 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8253 `scroll-down-command' and [next] from `scroll-up' to
8254 `scroll-up-command'.
8255
8256 * emulation/cua-base.el: Put property CUA=move on
8257 `scroll-up-command' and `scroll-down-command'.
8258 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8259 and `scroll-down-command' to `cua-scroll-down'.
8260
309d5b43
JB
82612010-04-05 Juanma Barranquero <lekktu@gmail.com>
8262
6460e534 8263 * help.el (describe-mode): Return nil.
309d5b43 8264
0523d117
JW
82652010-04-04 John Wiegley <jwiegley@gmail.com>
8266
8267 * ido.el (ido-use-virtual-buffers): New variable to indicate
f9a27d86 8268 whether "virtual buffer" support is enabled for IDO.
0523d117
JW
8269 (ido-virtual): Face used to indicate virtual buffers in the list.
8270 (ido-buffer-internal): If a buffer is chosen, and no such buffer
8271 exists, but a virtual buffer of that name does (which would be why
8272 it was in the list), recreate the buffer by reopening the file.
8273 (ido-make-buffer-list): If virtual buffers are being used, call
8274 `ido-add-virtual-buffers-to-list' before the make list hook.
8275 (ido-virtual-buffers): New variable which contains a copy of the
8276 current contents of the `recentf-list', albeit pared down for the
8277 sake of speed, and with proper faces applied.
8278 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8279 create a list of "virtual buffers" to present to the user in
8280 addition to the currently open set. Note that this logic could
8281 get rather slow if that list is too large. With the default
8282 `recentf-max-saved-items' of 200, there is little speed penalty.
8283
202ff0d6
SM
82842010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * font-lock.el: Require CL when compiling.
8287 (font-lock-turn-on-thing-lock): Use `case'.
8288
ef43a0f4
EZ
82892010-04-03 Eli Zaretskii <eliz@gnu.org>
8290
8291 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8292 Zaretskii.
ef43a0f4 8293
9c13a46e
JL
82942010-04-02 Juri Linkov <juri@jurta.org>
8295
8296 * ehelp.el (electric-help-orig-major-mode):
8297 New buffer-local variable.
8298 (electric-help-mode): Set it to original major-mode. Doc fix.
8299 (with-electric-help): Use `electric-help-orig-major-mode' instead
8300 of (default-value 'major-mode). Doc fix.
8301 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8302
3fb87bf5
SS
83032010-04-02 Sam Steingold <sds@gnu.org>
8304
8305 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8306 `vc-hg-command' with a list of flags.
8307
202ff0d6
SM
8308 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8309 Also accept "patch" and "RFE".
dbb5e44a
SS
8310 (bug-reference-fontify): `bug-reference-url-format' can also be a
8311 function to be able to handle the bug kind.
202ff0d6 8312 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
dbb5e44a 8313
d0b22876
JD
83142010-04-02 Jan Djärv <jan.h.d@swipnet.se>
8315
8316 * tmm.el (tmm-get-keymap): Check with symbolp before passing
8317 value to fboundp, it may not be a symbol.
8318
1625d379
CY
83192010-03-31 Chong Yidong <cyd@stupidchicken.com>
8320
202ff0d6 8321 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
1625d379 8322
1cd095c6
JL
83232010-03-31 Juri Linkov <juri@jurta.org>
8324
8325 * simple.el (next-line, previous-line): Re-throw a signal
8326 with `signal' instead of using `ding'.
8327 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8328
67189e62
JL
83292010-03-31 Juri Linkov <juri@jurta.org>
8330
8331 * simple.el (keyboard-escape-quit): Raise deselecting the active
8332 region higher than exiting the minibuffer.
8333 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
8334
1546c559
JL
83352010-03-31 Juri Linkov <juri@jurta.org>
8336
8337 * image.el (image-animated-p): Use `image-metadata' instead of
8338 `image-extension-data'. Get GIF extenstion data from metadata
8339 property `extension-data'.
8340
85626eef
SM
83412010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8342
8343 * simple.el (append-to-buffer): Simplify.
8344
85738751 83452010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
b42da387
TA
8346
8347 * textmodes/artist.el (artist-mode): Fix typo in docstring.
8348 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
8349
85738751 83502010-03-31 Kenichi Handa <handa@m17n.org>
42763dda
KH
8351
8352 * language/sinhala.el (composition-function-table): Fix regexp for
8353 the new Unicode specification.
8354
8355 * language/indian.el (devanagari-composable-pattern)
8356 (tamil-composable-pattern, kannada-composable-pattern)
85626eef 8357 (malayalam-composable-pattern): Adjust for the new Unicode
42763dda
KH
8358 specification.
8359 (bengali-composable-pattern, gurmukhi-composable-pattern)
8360 (gujarati-composable-pattern, oriya-composable-pattern)
8361 (telugu-composable-pattern): New variables to cope with the new
8362 Unicode specification. Use them in composition-function-table.
8363
85738751 83642010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
fe59d705 8365
79d74ac5 8366 Make tmm-menubar work for the Buffers menu again (bug#5726).
fe59d705
SM
8367 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
8368 vectors rather than cons cells, as used in menu-bar-update-buffers.
8369
85738751 83702010-03-31 Chong Yidong <cyd@stupidchicken.com>
03ffe8be 8371
2a793f7f
CY
8372 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
8373 (js-insert-and-indent): Revert 2009-08-15 change, restoring
8374 electric punctuation for "{}();,:" (Bug#5586).
8375
03ffe8be
CY
8376 * mail/sendmail.el (mail-default-directory): Doc fix.
8377
85738751 83782010-03-31 Chong Yidong <cyd@stupidchicken.com>
03ffe8be
CY
8379
8380 * mail/sendmail.el (mail-default-directory): Doc fix.
8381
85738751 83822010-03-31 Eli Zaretskii <eliz@gnu.org>
94785022
EZ
8383
8384 * subr.el (version-regexp-alist, version-to-list)
8385 (version-list-<, version-list-=, version-list-<=)
8386 (version-list-not-zero, version<, version<=, version=): Doc fix.
8387 (Bug#5744).
8388
85738751 83892010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
431af6a4
DN
8390
8391 * vc.el (vc-root-diff): Doc fix.
8392
85738751 83932010-03-31 Chong Yidong <cyd@stupidchicken.com>
9d30a9f4 8394
9aa2c576
CY
8395 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
8396
9d30a9f4
CY
8397 * simple.el (append-to-buffer): Fix last change.
8398
85738751 83992010-03-31 Chong Yidong <cyd@stupidchicken.com>
d0fba174
CY
8400
8401 * simple.el (append-to-buffer): Ensure that point is preserved if
8402 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
8403 (Bug#5749)
8404
2372f278
SM
84052010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8406
8407 * files.el (auto-mode-case-fold): Change default to t.
8408
2223a1b3
JL
84092010-03-30 Juri Linkov <juri@jurta.org>
8410
8411 * dired-x.el (dired-omit-mode): Doc fix.
8412
0ef84fc8
JL
84132010-03-30 Juri Linkov <juri@jurta.org>
8414
8415 * replace.el (occur-accumulate-lines): Move occur-engine related
8416 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
8417 to be located after `occur-engine'.
8418
dc2d2590
JL
84192010-03-30 Juri Linkov <juri@jurta.org>
8420
8421 Make occur handle multi-line matches cleanly with context.
8422 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
8423
8424 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
8425 (occur-engine): Add local variables `ret', `prev-after-lines',
8426 `prev-lines'. Use more arguments for `occur-context-lines'.
8427 Set first elem of its returned list to `data', and the second elem
8428 to `prev-after-lines'. Don't print the separator line.
8429 In the end, print remaining context after-lines.
8430 (occur-context-lines): Add new arguments `begpt', `endpt',
8431 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
8432 after-lines of the previous match with before-lines of the
8433 current match and not overlap them. Return a list with two
8434 values: the output line and the list of context after-lines.
8435
47c88c06
JL
84362010-03-30 Juri Linkov <juri@jurta.org>
8437
8438 * replace.el (occur-accumulate-lines): Fix a bug where the first
8439 context line at the beginning of the buffer was missing.
8440
a7b02820
EZ
84412010-03-30 Eli Zaretskii <eliz@gnu.org>
8442
8443 * files.el: Make bidi-display-reordering safe variable for boolean
8444 values.
8445
9326ba26 84462010-03-29 Phil Hagelberg <phil@evri.com>
4e2af782 8447 Chong Yidong <cyd@stupidchicken.com>
9326ba26
CY
8448
8449 * subr.el: Extend progress reporters to perform "spinning".
85626eef
SM
8450 (progress-reporter-update, progress-reporter-do-update):
8451 Handle non-numeric value arguments.
9326ba26
CY
8452 (progress-reporter--pulse-characters): New var.
8453
f6f8aa12
CY
84542010-03-28 Chong Yidong <cyd@stupidchicken.com>
8455
8456 * progmodes/compile.el (compilation-start): Fix regexp detection
8457 of initial cd command (Bug#5771).
8458
7ed287b5
CY
84592010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
8460
8461 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
8462
146b8b16
NR
84632010-03-27 Nick Roberts <nickrob@snap.net.nz>
8464
8465 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
76e3243a
JB
8466 * progmodes/gdb-mi.el: Restore.
8467 * progmodes/gdb-ui.el: Remove.
8468 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
146b8b16 8469
b23caf75
GM
84702010-03-25 Glenn Morris <rgm@gnu.org>
8471
8472 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
8473 all dired buffers, even tramp ones. (Bug#5755)
8474
18c812bd
SM
84752010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8476
8477 Add "union tags" in mpc.el.
8478 * mpc.el: Remove backward compatibility code.
8479 (mpc-browser-tags): Change default.
8480 (mpc--find-memoize-union-tags): New var.
8481 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
8482 (mpc-cmd-find): Handle the case where the playlist does not exist.
8483 Handle union-tags.
8484 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
8485 (mpc-cmd-add): Use mpc-cmd-flush.
8486 (mpc-tagbrowser-tag-name): New fun.
8487 (mpc-tagbrowser-buf): Use it.
8488 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
8489
efee6a6d
SM
84902010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8491
9586c41a
SM
8492 Misc cleanup.
8493 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
8494 Use replace-regexp-in-string.
8495 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
8496 (makefile-imake-mode-syntax-table): Move init into defvar.
8497 (makefile-mode): Use define-derived-mode.
8498
efee6a6d
SM
8499 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
8500 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
8501 not be present any more.
8502
c6f3804c
JB
85032010-03-24 Juanma Barranquero <lekktu@gmail.com>
8504
8505 * faces.el (set-face-attribute): Fix typo in docstring.
8506 (face-valid-attribute-values): Reflow docstring.
8507
e867cb5d 85082010-03-24 Glenn Morris <rgm@gnu.org>
4c3a215a 8509
efee6a6d 8510 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
4c3a215a 8511
e867cb5d 85122010-03-24 Chong Yidong <cyd@stupidchicken.com>
e9ba3e26
CY
8513
8514 * indent.el (indent-for-tab-command): Doc fix.
8515
e867cb5d 85162010-03-24 Alan Mackenzie <acm@muc.de>
657071fc 8517
efee6a6d
SM
8518 * progmodes/cc-engine.el (c-remove-stale-state-cache):
8519 Fix off-by-one error. Fixes bug #5747.
657071fc 8520
e867cb5d 85212010-03-24 Juanma Barranquero <lekktu@gmail.com>
c8de140b
JB
8522
8523 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
8524 (image-dired-read-comment): Doc fix.
8525
efee6a6d
SM
8526 * json.el (json-object-type, json-array-type, json-key-type)
8527 (json-false, json-null, json-read-number):
c8de140b
JB
8528 * minibuffer.el (completion-in-region-functions):
8529 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
8530 (cal-tex-cursor-week):
8531 * emacs-lisp/trace.el (trace-function):
8532 * eshell/em-basic.el (eshell/printnl):
8533 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
8534 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
8535 * obsolete/levents.el (allocate-event, event-key, event-object)
8536 (event-point, event-process, event-timestamp, event-to-character)
8537 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
8538 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
8539 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
8540 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
8541 (reftex-highlight-selection): Fix typos in docstrings.
8542
e867cb5d 85432010-03-24 Juanma Barranquero <lekktu@gmail.com>
d1200087
JB
8544
8545 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
8546
e867cb5d 85472010-03-24 Glenn Morris <rgm@gnu.org>
f454672b
GM
8548
8549 * mail/rmail.el (rmail-highlight-face): Restore option deleted
8550 2008-02-13 without comment; mark it obsolete.
8551 (rmail-highlight-headers): Use rmail-highlight-face once more.
8552
e867cb5d 85532010-03-24 Chong Yidong <cyd@stupidchicken.com>
d5704d66
CY
8554
8555 * woman.el (woman2-process-escapes): Only consume the newline if
8556 the filler character is on a line by itself (Bug#5729).
8557
e867cb5d 85582010-03-24 Kenichi Handa <handa@m17n.org>
fade35dd
KH
8559
8560 * language/indian.el (devanagari-composable-pattern): Add more
8561 consonants.
8562
e867cb5d 85632010-03-24 Michael Albinus <michael.albinus@gmx.de>
c8215db1
MA
8564
8565 * net/trampver.el: Update release number.
8566
e867cb5d 85672010-03-24 Michael Albinus <michael.albinus@gmx.de>
c0e17ff2 8568
efee6a6d
SM
8569 * net/tramp.el (tramp-find-executable):
8570 Use `tramp-get-connection-buffer'. Make the regexp for checking
c0e17ff2
MA
8571 output of "wc -l" more robust.
8572 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
8573 (tramp-open-connection-setup-interactive-shell): Remove workaround
8574 for OpenSolaris bug, it is not needed anymore.
8575
e867cb5d 85762010-03-24 Glenn Morris <rgm@gnu.org>
eb123b12
GM
8577
8578 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
8579
e867cb5d 85802010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
5f8d2ce0
WS
8581
8582 * files.el (auto-mode-alist): Accept more verilog file patterns.
8583
b2b8574b
SM
85842010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8585
8586 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
8587
1d94ebb0
GM
85882010-03-24 Glenn Morris <rgm@gnu.org>
8589
7e263967
GM
8590 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
8591 log-edit-before-checkin-process.
8592
5ac92c5f
GM
8593 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
8594
8595 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
ebbe23dd 8596
549f324a
GM
8597 * vc-dispatcher.el (vc-start-logentry): Doc fix.
8598 (log-view-process-buffer, log-edit-extra-flags): Declare.
8599
495b517c
GM
8600 * log-edit.el (log-edit-before-checkin-process): Doc fix.
8601
f4087766
SS
86022010-03-23 Sam Steingold <sds@gnu.org>
8603
8604 Fix bug#5620: recalculate all markers on compilation buffer
8605 modifications, not on file modifications.
8606 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
8607 the buffer modification time, for buffers not associated with files.
8608 (compilation-mode): Create it.
8609 (compilation-filter): Update it.
8610 (compilation-next-error-function): Use it instead of
8611 `visited-file-modtime' for timestamp.
8612
774642e5
JL
86132010-03-23 Juri Linkov <juri@jurta.org>
8614
8615 Implement Occur multi-line matches.
8616 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
8617
8618 * replace.el (occur): Doc fix.
8619 (occur-engine): Set `begpt' to the beginning of the first line.
8620 Set `endpt' to the end of the last match line. At first, count
8621 line numbers between `origpt' and `begpt'. Split out code from
8622 `out-line' variable to new let-bindings `match-prefix' and
8623 `match-str'. In `out-line' add non-numeric prefix to all
8624 non-first lines of multi-line matches. Finally, count lines
8625 between `begpt' and `endpt' and add to `lines'.
8626
f14d1172
JL
86272010-03-23 Juri Linkov <juri@jurta.org>
8628
8629 * replace.el (occur-accumulate-lines, occur-engine):
8630 Use `occur-engine-line' instead of duplicate code.
8631 (occur-engine-line): New function created from duplicate code
8632 in `occur-accumulate-lines' and `occur-engine'.
8633
53e87c57
JL
8634 * replace.el (occur-engine-line): Add optional arg `keep-props'.
8635 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
8636
75a3ff20
JL
86372010-03-23 Juri Linkov <juri@jurta.org>
8638
8639 * finder.el: Remove TODO tasks.
8640
8641 * info.el (Info-finder-find-node): Add node "all"
8642 with all package info. Handle a list of multiple keywords
8643 separated by comma.
8644 (info-finder): In interactive use with a prefix argument,
8645 use `completing-read-multiple' to read a list of keywords
8646 separated by comma.
8647
00278747
SM
86482010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8649
8650 Add a new completion style `substring'.
8651 * minibuffer.el (completion-basic--pattern): New function.
8652 (completion-basic-try-completion, completion-basic-all-completions):
8653 Use it.
8654 (completion-substring--all-completions)
8655 (completion-substring-try-completion)
8656 (completion-substring-all-completions): New functions.
8657 (completion-styles-alist): New style `substring'.
8658
64cb11cc
SM
86592010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8660
8661 Get rid of .elc files after removal of the corresponding .el.
8662 * Makefile.in (compile-clean): New target.
8663 (compile-main): Use it.
8664
835e2c65
JD
86652010-03-22 Jan Djärv <jan.h.d@swipnet.se>
8666
8667 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
8668 don't do make there. When compiling with separate object dir, there
8669 is no Makefile there.
8670
111a9dff
SM
86712010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8672
8673 Get rid of the ELCFILES abomination, again.
8674 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8675 (all, compile): Don't call compile-last.
8676 (compile-main): Build the "elcfiles" list dynamically.
8677 (compile-targets): New (internal) target.
8678
82c3d67a
AS
86792010-03-21 Andreas Schwab <schwab@linux-m68k.org>
8680
8681 * Makefile.in (top_srcdir): Define.
8682 (abs_top_builddir): Define.
8683 (srcdir): Don't append `/..'.
8684 (EMACS): Use ${abs_top_builddir}.
8685 (all, compile, compile-always, compile-last): Don't set emacswd.
64cb11cc
SM
8686 (update-subdirs, update-authors): Use $(top_srcdir) instead of
8687 $(srcdir).
82c3d67a
AS
8688 (lisp): Use $(srcdir) instead of @srcdir@.
8689
d66ecdbb
JL
86902010-03-21 Juri Linkov <juri@jurta.org>
8691
8692 Fix message of multi-line occur regexps and multi-buffer header lines.
8693 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
8694
8695 * replace.el (occur-1): Don't display regexp if it is longer
8696 than window-width. Use `query-replace-descr' to display regexp.
8697 (occur-engine): Don't display regexp in the buffer header for
8698 multi-buffer occur. Display a separate header line with total
8699 match count and regexp for multi-buffer occur.
8700 Use `query-replace-descr' to display regexp.
8701
f05e1b94
TZ
87022010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
8703
8704 * net/secrets.el: Fix parenthesis.
8705 (secrets-enabled): Fix parenthesis.
8706
801ba3ba
SM
87072010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8708
3613edce
SM
8709 Use more relative file and directory names.
8710 * Makefile.in (EMACS): Arrange for it to work when we chdir.
8711 (setwins, setwins_almost, setwins_for_subdirs):
8712 Don't `cd'; output relative names.
8713 (all, compile, compile-always, compile-last): Set emacswd.
8714 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
8715 Just cd to the lisp source dir so we can use relative file names.
8716
801ba3ba
SM
8717 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
8718
2b1400b9
GM
87192010-03-20 Glenn Morris <rgm@gnu.org>
8720
8721 * textmodes/rst.el: Use faces for font-lock customization, and make the
8722 old -face variables obsolete.
8723 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
8724 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
8725 (rst-block-face, rst-external-face, rst-definition-face)
8726 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
8727 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
8728 Make obsolete.
8729 (rst-font-lock-keywords-function): Update for above changes.
8730
5e418f17
JL
87312010-03-20 Juri Linkov <juri@jurta.org>
8732
8733 * s-region.el:
8734 * obsolete/s-region.el: Move to obsolete.
8735
b0287b39
JB
87362010-03-19 Juanma Barranquero <lekktu@gmail.com>
8737
8738 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
8739
3c95bbb6
DN
87402010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
8741
8742 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
8743
09158997
DN
87442010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
8745
8746 Add special markup processing for commit logs.
8747 * log-edit.el (log-edit-extra-flags): New variable.
8748 (log-edit): Add new argument MODE. Use that mode when non-nil
8749 instead of the log-view-mode.
8750 (log-view-process-buffer): New function.
8751
8752 * vc.el: Document that the checkin method takes optional
8753 arguments. Document new backend specific method: log-view-mode.
8754 (vc-default-log-edit-mode): New function.
8755 (vc-checkin): Use a backend specific log-view-mode.
8756 Pass extra arguments to the checkin method.
8757 (vc-modify-change-comment): Pass a dummy extra argument.
8758
8759 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
8760 log-edit.
8761 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
8762 (vc-finish-logentry): Process the log buffer before passing it
8763 down. Pass log-edit-extra-flags.
8764
8765 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
8766 command.
85626eef
SM
8767 (log-edit-extra-flags, log-edit-before-checkin-process):
8768 New declarations.
09158997
DN
8769
8770 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
8771 command.
85626eef
SM
8772 (log-edit-extra-flags, log-edit-before-checkin-process):
8773 New declarations.
09158997
DN
8774 (vc-hg-log-edit-mode): New derived mode.
8775
8776 * vc-arch.el (vc-arch-checkin):
8777 * vc-cvs.el (vc-cvs-checkin):
8778 * vc-git.el (vc-git-checkin):
8779 * vc-mtn.el (vc-mtn-checkin):
8780 * vc-rcs.el (vc-rcs-checkin):
8781 * vc-sccs.el (vc-sccs-checkin):
8782 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
8783
f430423d
SM
87842010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8785
8786 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
8787 parent typo).
8788
aa8f8277
GM
87892010-03-19 Glenn Morris <rgm@gnu.org>
8790
f430423d 8791 * password-cache.el (password-cache, password-cache-expiry): Autoload.
aa8f8277 8792
04525749
GM
87932010-03-18 Glenn Morris <rgm@gnu.org>
8794
c70815f1
GM
8795 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
8796
84d0a5f8
GM
8797 * replace.el (query-replace-history): Give it a doc string.
8798 (map-query-replace-regexp): Use query-replace-from-history-variable
8799 and query-replace-to-history-variable.
8800
e3a15161
GM
8801 * mail/hashcash.el (declare-function): Remove duplicate definition.
8802
27be0364
GM
8803 * mail/emacsbug.el (report-emacs-bug-pretest-address):
8804 Make it an obsolete alias for report-emacs-bug-address.
8805 (message-strip-special-text-properties): Declare.
8806 (report-emacs-bug): Remove test for a pretest bug address.
8807 Combine message-mode-specific code.
8808
88b8d18e
GM
8809 * mail/supercite.el: Don't require sendmail.
8810 (mh-in-header-p): Declare rather than using with-no-warnings.
8811 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
8812 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
8813
1a355d09
GM
8814 * calendar/cal-french.el: Convert to utf-8.
8815
04525749
GM
8816 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
8817 Emacs scripts.
8818
ae84eb97
MA
88192010-03-16 Michael Albinus <michael.albinus@gmx.de>
8820
8821 * net/secrets.el (secrets-enabled): New variable. Use it instead
8822 of a subfeature.
8823
7c75524e
MA
88242010-03-15 Michael Albinus <michael.albinus@gmx.de>
8825
8826 * net/secrets.el (top): Register the D-Bus signals only when the
f430423d
SM
8827 service "org.freedesktop.secrets" can be pinged.
8828 Provide subfeature `enabled'.
7c75524e 8829
57938a79
JL
88302010-03-14 Juri Linkov <juri@jurta.org>
8831
8832 Add finder unknown keywords.
8833
8834 * finder.el (finder-unknown-keywords): New function.
8835
8836 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
8837 to create a Finder node with unknown keywords.
8838
88f4758e
JL
88392010-03-14 Juri Linkov <juri@jurta.org>
8840
8841 * finder.el (finder-compile-keywords): Replace `princ' with
8842 `prin1' on a list of symbols interned from keyword strings.
8843
8844 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
8845 a comma, then split keywords using a comma and optional whitespace.
8846 Otherwise, split by whitespace.
8847
8848 * complete.el:
8849 * face-remap.el:
8850 * log-view.el:
8851 * net/hmac-def.el:
8852 * net/hmac-md5.el:
8853 * net/netrc.el:
8854 * progmodes/mixal-mode.el: Fix keywords.
8855
7725ebb7
MA
88562010-03-13 Michael Albinus <michael.albinus@gmx.de>
8857
8858 * Makefile.in (ELCFILES): Add net/secrets.elc.
8859
8860 * net/secrets.el: New file.
8861
6f320937
CY
88622010-03-12 Chong Yidong <cyd@stupidchicken.com>
8863
8864 * facemenu.el (list-colors-display, list-colors-print): New arg
8865 callback. Use it to allow selecting colors.
8866
8867 * wid-edit.el (widget-image-insert): Insert image prop even if the
8868 current display is non-graphic.
8869 (widget-field-value-set): New fun.
8870 (editable-field): Use it.
8871 (widget-field-value-get): Clean up unused var.
85626eef
SM
8872 (widget-color-value-create, widget-color--choose-action):
8873 New funs. Allow using list-colors-display to choose color.
6f320937 8874
647f9993
CY
88752010-03-12 Chong Yidong <cyd@stupidchicken.com>
8876
8877 * cus-edit.el: Resort topmost custom groups.
8878 (custom-buffer-sort-alphabetically): Default to t.
8879 (customize-apropos): Use apropos-parse-pattern.
8880 (custom-search-field): New var.
8881 (custom-buffer-create-internal): Add custom-apropos search field.
8882 (custom-add-parent-links): Don't display parent doc.
8883 (custom-group-value-create): Don't sort top-level custom group.
85626eef 8884 (custom-magic-value-create): Show visibility button before option name.
647f9993
CY
8885
8886 (custom-variable-state): New fun, from custom-variable-state-set.
8887 (custom-variable-state-set): Use it.
8888 (custom-group-value-create): Hide options with standard values
8889 using the :hidden-states property. Use progress reporter.
8890
8891 (custom-show): Simplify.
8892 (custom-visibility): Disable images by default.
8893 (custom-variable): New property :hidden-states.
8894 (custom-variable-value-create): Enable images for
8895 custom-visibility widgets. Use :hidden-states property to
8896 determine initial visibility.
8897
8898 * wid-edit.el (widget-image-find): Give images center ascent.
8899 (visibility): Add :on-image and :off-image properties.
8900 (widget-visibility-value-create): Use them.
8901
eba5b4dd
CY
89022010-03-12 Chong Yidong <cyd@stupidchicken.com>
8903
8904 * cus-edit.el (processes): Remove from development group.
8905 (oop, hypermedia): Delete group.
26f4b8ab 8906 (comm): Promote to top-level group.
eba5b4dd
CY
8907
8908 * net/browse-url.el (browse-url):
8909 * net/xesam.el (xesam):
8910 * net/tramp.el (tramp):
8911 * net/goto-addr.el (goto-address):
26f4b8ab 8912 * net/ange-ftp.el (ange-ftp): Put in comm group.
eba5b4dd
CY
8913
8914 * view.el (view): Remove from editing group.
8915
8916 * uniquify.el (uniquify): Put in files group.
8917
8918 * net/browse-url.el (browse-url):
8919 * ps-print.el (postscript): Put in external group.
8920
8921 * cus-edit.el (outlines):
8922 * textmodes/text-mode.el (text-mode-hook):
8923 * textmodes/table.el (table):
8924 * textmodes/picture.el (picture):
8925 * outline.el (outlines): Put in wp group.
8926
8927 * nxml/nxml-mode.el (nxml): Remove from wp group.
8928
8929 * net/tramp-imap.el (tramp-imap): Put in tramp group.
8930
8931 * mail/metamail.el (metamail): Remove from hypermedia group.
8932
8933 * cus-edit.el (abbrev):
8934 * whitespace.el (whitespace):
8935 * vcursor.el (vcursor):
8936 * reveal.el (reveal):
8937 * hl-line.el (hl-line): Put in convenience group.
8938
8939 * epg-config.el (epg): Put in data group.
8940
8941 * emulation/pc-select.el (pc-select): Put in emulations group.
8942
8943 * calculator.el (calculator): Put in applications group.
8944
8117868f
DN
89452010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
8946
8947 Add .dir-locals.el support for file-less buffers.
8948 * files.el (hack-local-variables): Split out code to apply local
8949 variable settings ...
8950 (hack-local-variables-apply): ... here. New function.
8951 (hack-dir-local-variables): Use the default directory for when the
8952 buffer does not have an associated file.
8953 (hack-dir-local-variables-non-file-buffer): New function.
8954 * diff-mode.el (diff-mode):
8955 * vc-annotate.el (vc-annotate-mode):
8956 * vc-dir.el (vc-dir-mode):
8957 * log-edit.el (log-edit-mode):
8958 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
8959
855a2294
DN
89602010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
8961
8962 Add support for shelving snapshots and for showing shelves.
8963 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
8964 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
8965 New functions.
8966 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8967 (vc-bzr-extra-menu-map): Map them.
8968
3e5b7009
GM
89692010-03-11 Glenn Morris <rgm@gnu.org>
8970
0dcf7d7e
GM
8971 * cus-edit.el (customize-changed-options-previous-release):
8972 Bump to 23.1.
8973
3e5b7009
GM
8974 * image.el (image-animate-max-time): Fix :version tag.
8975
288f9fc0
CY
89762010-03-10 Chong Yidong <cyd@stupidchicken.com>
8977
8978 * Branch for 23.2.
8979
53ef91b1
SM
89802010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * vc-git.el (vc-git-revision-table): Include remote branches.
8983
b41460ae 89842010-03-10 Kim F. Storm <storm@cua.dk>
0608aa45
KS
8985
8986 Animated image API.
8987 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
8988
8989 * image.el (image-animate-max-time): New defcustom.
8990 (image-animated-types): New defconst.
8991 (create-animated-image, image-animate-timer)
8992 (image-animate-start, image-animate-stop, image-animate-timeout)
8993 (image-animated-p): New functions.
8994
8995 * image-mode.el (image-toggle-display-image):
8996 Replace `create-image' with `create-animated-image'.
8997
e5d1fb10 89982010-03-09 Miles Bader <miles@gnu.org>
25344b05
MB
8999
9000 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9001 instead of "format:"; this ensures that the output is
9002 newline-terminated.
9003
4e7cafbe
CY
90042010-03-08 Chong Yidong <cyd@stupidchicken.com>
9005
9006 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9007 that all errors are caught, and that the return value is always a
9008 list (Bug#5692).
9009
aec66319
KH
90102010-03-08 Kenichi Handa <handa@m17n.org>
9011
9012 * language/misc-lang.el (windows-1256): New coding system.
ebc3ea5c 9013 (cp1256): New alias of windows-1256 (bug#5690).
aec66319 9014
b327c975
AS
90152010-03-07 Andreas Schwab <schwab@linux-m68k.org>
9016
9017 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9018 call to rfc822-bad-address. (Bug#5692)
9019
1c465a6a
CY
90202010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
9021
85626eef
SM
9022 * vc-git.el (vc-git-annotate-extract-revision-at-line):
9023 Use vc-git-root as default directory for revision path (Bug#5657).
1c465a6a 9024
a4e32226
CY
90252010-03-06 Chong Yidong <cyd@stupidchicken.com>
9026
9027 * calculator.el (calculator): Don't bind split-window-keep-point
9028 (Bug#5674).
9029
4c83ed3d
SM
90302010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
9031
9032 * vc-git.el: Re-flow to fit into 80 columns.
9033 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9034 Remove spurious `quote' element in each case alternative.
9035 (vc-git-show-log-entry): Use prog1.
9036 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9037
e8defde3
SM
90382010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
9039
9040 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9041
233f0c9f
CY
90422010-03-03 Chong Yidong <cyd@stupidchicken.com>
9043
9044 * macros.el (insert-kbd-macro): Look up keyboard macro using the
9045 definition, not the name (Bug#5481).
9046
254bedef 90472010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
bc91aee9
ŠN
9048
9049 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9050 argument with a local variable. (Bug#5670)
9051
7187cdae
JL
90522010-03-02 Juri Linkov <juri@jurta.org>
9053
9054 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
9055
9cf3544e
MA
90562010-03-02 Michael Albinus <michael.albinus@gmx.de>
9057
9058 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9059 error when FILENAME and NEWNAME are existing remote directories.
9060
9061 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9062 parameter DIR-FLAG.
9063
33f77982
GM
90642010-03-02 Glenn Morris <rgm@gnu.org>
9065
9066 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9067 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9068
d99ea08e
KH
90692010-03-01 Kenichi Handa <handa@m17n.org>
9070
e8defde3 9071 * language/burmese.el (burmese-composable-pattern): Rename from
d99ea08e
KH
9072 myanmar-composable-pattern.
9073
e8defde3
SM
9074 * international/characters.el (script-list):
9075 * international/fontset.el (script-representative-chars):
9076 Change myanmar to burmese.
d99ea08e 9077 (otf-script-alist): Likewise.
4aa2c3b2
KH
9078 (setup-default-fontset): Likewise. Re-fix :otf spec.
9079
b374f54d
KY
90802010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
9081
9082 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9083
71572c03
JD
90842010-02-28 Jan Djärv <jan.h.d@swipnet.se>
9085
9086 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9087
00cffdeb
MA
90882010-02-28 Michael Albinus <michael.albinus@gmx.de>
9089
9090 * net/tramp.el (tramp-handle-write-region): START can be a string.
9091 Take care in the checks. Reported by Dan Davison
9092 <davison@stats.ox.ac.uk>.
9093
d4b06783
MA
90942010-02-28 Michael Albinus <michael.albinus@gmx.de>
9095
9096 * net/dbus.el (dbus-introspect, dbus-get-property)
85626eef
SM
9097 (dbus-set-property, dbus-get-all-properties):
9098 Use `dbus-call-method' when noninteractive. (Bug#5645)
d4b06783 9099
8c3e96d2
CY
91002010-02-28 Chong Yidong <cyd@stupidchicken.com>
9101
de3a1fe9
CY
9102 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9103 * emacs-lisp/elint.el (elint-add-required-env):
de3a1fe9
CY
9104 * calendar/icalendar.el (icalendar--add-diary-entry):
9105 * calc/calcalg2.el (math-tracing-integral):
8c3e96d2
CY
9106 * files.el (recover-session-finish): Use with-current-buffer
9107 instead of save-excursion.
9108
c53b9c3b
SM
91092010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
9110
9111 Fix in-buffer completion when after-change-functions modify the buffer.
9112 * minibuffer.el (completion--replace): New function.
9113 (completion--do-completion): Use it and use relative movement.
9114
4a16bdc6
CY
91152010-02-27 Chong Yidong <cyd@stupidchicken.com>
9116
9117 * international/fontset.el (setup-default-fontset): Fix :otf spec.
d99ea08e 9118
b8280f39
CY
91192010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
9120
c53b9c3b
SM
9121 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9122 Allow the characters _<> in the stack entry (Bug#5653).
b8280f39 9123
f88cc4d6
KH
91242010-02-26 Kenichi Handa <handa@m17n.org>
9125
9126 * language/burmese.el: Fix entries in composition-function-table.
9127 (myanmar-composable-pattern): New variable.
9128
9129 * international/fontset.el (setup-default-fontset): Add an entry
9130 for myanmar.
9131
9132 * international/characters.el (script-list): Add Myanmar
9133 Extended-A.
9134
cdbf9100
GM
91352010-02-26 Glenn Morris <rgm@gnu.org>
9136
90a94603
GM
9137 * custom.el (custom-initialize-delay): Doc fix.
9138
cdbf9100
GM
9139 * mail/sendmail.el (send-mail-function): Autoload the call
9140 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9141
f95a5fd0
CY
91422010-02-24 Chong Yidong <cyd@stupidchicken.com>
9143
9144 * files.el (hack-local-variables-filter): For eval forms, also
9145 check safe-local-variable-p (Bug#5636).
9146
459a5f4b
MA
91472010-02-22 Michael Albinus <michael.albinus@gmx.de>
9148
9149 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9150 setting the modes by `ignore-errors'. It might fail, for example
9151 if the file is not owned by the user but the group.
9152 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9153
bb23f6e8
CY
91542010-02-21 Chong Yidong <cyd@stupidchicken.com>
9155
50c58e27
CY
9156 * files.el (directory-listing-before-filename-regexp): Use
9157 stricter matching for iso-style dates, to avoid false matches with
9158 date-like filenames (Bug#5597).
9159
b660eb70
CY
9160 * htmlfontify.el (htmlfontify): Doc fix.
9161
9162 * eshell/eshell.el (eshell): Doc fix.
9163
bb23f6e8
CY
9164 * startup.el (fancy-about-screen): In mode-line, apply
9165 mode-line-buffer-id face only to the buffer name (Bug#5613).
9166
3e39928c
CY
91672010-02-20 Kevin Ryde <user42@zip.com.au>
9168
f7e0618c
JB
9169 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9170 In `watcom' anchor regexp to start of line, to avoid slowness
3e39928c
CY
9171 (Bug#5599).
9172
0f00e948
EZ
91732010-02-20 Eli Zaretskii <eliz@gnu.org>
9174
9175 * subr.el (remove-yank-excluded-properties): Explain in a comment
9176 why `category' property is removed.
9177
3513efb2
CY
91782010-02-19 Chong Yidong <cyd@stupidchicken.com>
9179
9180 * isearch.el (isearch-update-post-hook, isearch-update): Revert
9181 2010-02-17 change.
9182
b4340b3f
UJ
91832010-02-19 Ulf Jasper <ulf.jasper@web.de>
9184
9185 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9186 (icalendar--convert-weekly-to-ical)
9187 (icalendar--convert-yearly-to-ical)
9188 (icalendar--convert-block-to-ical)
9189 (icalendar--convert-cyclic-to-ical)
9190 (icalendar--convert-anniversary-to-ical): Take care of time
9191 specifications where hour has 1-digit only (Bug#5549).
9192
8cfae03d
NR
91932010-02-19 Nick Roberts <nickrob@snap.net.nz>
9194
9195 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9196 of disassemble output in GDB 7.1.
9197
055e4eea
GM
91982010-02-19 Glenn Morris <rgm@gnu.org>
9199
9200 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9201 property. (Bug#5593)
9202
ff6b00de
SS
92032010-02-18 Sam Steingold <sds@gnu.org>
9204
9205 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9206
fe8c0b47
SM
92072010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
9208
9209 Use abbreviated file names in bookmarks (bug#5591).
9210 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9211 calls to expand-file-name.
9212 (bookmark-relocate): Use abbreviated file names in bookmarks.
9213 (bookmark-load): Use abbreviated file names in messages.
9214
73a37a69
MA
92152010-02-18 Michael Albinus <michael.albinus@gmx.de>
9216
9217 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9218 expand "." and "..". Reported by Thierry Volpiatto
9219 <thierry.volpiatto@gmail.com>.
9220
6e4f5731
MA
92212010-02-18 Michael Albinus <michael.albinus@gmx.de>
9222
9223 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9224 permissions of the temporary file to "0600". In case the remote
9225 file has no read permissions for the owner, there might be
9226 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
9227
922822010-02-18 Glenn Morris <rgm@gnu.org>
b788a98d
GM
9229
9230 * emacs-lisp/authors.el (authors-renamed-files-alist):
9231 Add entries for INSTALL.CVS.
9232
ba5bf642
MH
92332010-02-17 Mark A. Hershberger <mah@everybody.org>
9234
f7e0618c 9235 * vc-bzr.el: Fix typo in Known Bugs section.
ba5bf642 9236
f7e0618c 9237 * isearch.el (isearch-update-post-hook): New hook.
ba5bf642
MH
9238 (isearch-update): Use the new hook.
9239
aac0b0f2
MA
92402010-02-16 Michael Albinus <michael.albinus@gmx.de>
9241
fe8c0b47
SM
9242 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9243 Fix errors in copying directories.
aac0b0f2
MA
9244 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9245 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9246 (tramp-handle-delete-file)
9247 (tramp-handle-dired-recursive-delete-directory)
9248 (tramp-handle-write-region): Flush also the cache for the upper
9249 directory.
9250
05bbe066
CY
92512010-02-16 Chong Yidong <cyd@stupidchicken.com>
9252
e8ab3908
CY
9253 * simple.el (save-interprogram-paste-before-kill): Doc fix.
9254
ff90f4b0
CY
9255 * cus-edit.el (hardware): Doc fix.
9256
9257 * man.el (man): Add to external custom group.
9258
9259 * delim-col.el (columns): Move to wp custom group.
9260
9261 * doc-view.el (doc-view): Add to data custom group.
9262
fe8c0b47 9263 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
ff90f4b0 9264
05bbe066
CY
9265 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9266 by ispell-parse-output (Bug#5575).
9267
fa6ea913
KH
92682010-02-16 Kenichi Handa <handa@m17n.org>
9269
9270 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9271 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9272 (skkdic-convert): Use `euc-japan' coding system for writing.
9273
88fd78ae
GM
92742010-02-16 Glenn Morris <rgm@gnu.org>
9275
9276 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9277 tex-main-file before using it. (Bug#5562)
9278
2b8c974a
SM
92792010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
9280
9281 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9282 warnings, since it is annoying for the user to see them each time he
9283 runs the code.
9284
7540f029
MA
92852010-02-15 Michael Albinus <michael.albinus@gmx.de>
9286
9287 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9288 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9289 instead of PROC for caching "first-password-request". Otherwise,
9290 new processes would not profit from passwords already entered.
9291
2b8c974a
SM
9292 * net/tramp-cache.el (tramp-dump-connection-properties):
9293 Don't save "first-password-request" property.
7540f029 9294
fa5f7c5f
JB
92952010-02-14 Juanma Barranquero <lekktu@gmail.com>
9296
9297 * outline.el (outline-head-from-level):
9298 * simple.el (with-wrapper-hook):
fa5f7c5f
JB
9299 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9300 (elint-defun, elint-buffer-env, elint-top-form-logged)
9301 (elint-unbound-variable):
9302 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9303 Fix typos in docstrings.
9304
ecbaeb7b
MA
93052010-02-14 Michael Albinus <michael.albinus@gmx.de>
9306
9307 * files.el (insert-directory): When WILDCARD-REGEXP and
9308 FULL-DIRECTORY-P are nil, insert the file entry instead of the
9309 whole directory. (Bug#5551)
9310
9311 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
9312 dired's alignment sanity. (Bug#5516)
9313
91e3333f
JL
93142010-02-14 Juri Linkov <juri@jurta.org>
9315
9316 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9317 Remove remaining ^H with their preceding chars. (Bug#5566)
9318
36020642
GM
93192010-02-13 Glenn Morris <rgm@gnu.org>
9320
9321 * simple.el (transpose-subr): Give it a doc-string.
9322
9323 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9324 Doc fixes.
9325
f5952338
JL
93262010-02-12 Juri Linkov <juri@jurta.org>
9327
9328 * arc-mode.el (archive-unique-fname): Make directories for nested
9329 archives. (Bug#5540)
9330
918fe50f
JL
93312010-02-12 Juri Linkov <juri@jurta.org>
9332
9333 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
9334
c07ff221
SM
93352010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
9336
48b1e7cf
SM
9337 * subr.el (copy-overlay): Handle deleted overlays.
9338
c07ff221
SM
9339 * man.el (Man-completion-table): Don't signal an error if we can't run
9340 manual-program (bug#4056).
9341
0e374247
JB
93422010-02-10 Juanma Barranquero <lekktu@gmail.com>
9343
9344 * textmodes/artist.el (artist-mt): Fix typos in docstring.
9345
dbf8402b
SM
93462010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9347
348d1e60
SM
9348 * info.el (Info-bookmark-jump): Simplify.
9349
dbf8402b
SM
9350 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
9351 (bookmark-default-handler): Accept new bookmark field `buffer'.
9352
e6d23bb5
CY
93532010-02-10 Chong Yidong <cyd@stupidchicken.com>
9354
9355 * iswitchb.el (iswitchb-completions): Revert last change.
9356
a8e4290b
MA
93572010-02-10 Michael Albinus <michael.albinus@gmx.de>
9358
2b23acde 9359 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
348d1e60
SM
9360 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
9361 This prevents file names like "~/" being listed literally.
a8e4290b 9362
c59d6fad
DN
93632010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
9364
348d1e60
SM
9365 * term/xterm.el (xterm-maybe-set-dark-background-mode):
9366 Remove dead code. (Bug#5546)
c59d6fad 9367
3a66e78f
CY
93682010-02-09 Chong Yidong <cyd@stupidchicken.com>
9369
9370 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
9371 correctly (Bug#5548).
9372
f29fd869
CY
93732010-02-08 Jose E. Marchesi <jemarch@gnu.org>
9374
9375 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
fe8c0b47 9376 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
f29fd869 9377
7fad1447
KH
93782010-02-08 Kenichi Handa <handa@m17n.org>
9379
9380 * international/mule-util.el (with-coding-priority): Add autoload
48c2d18a 9381 cookie for putting `lisp-indent-function'.
7fad1447 9382
50e4518b
GM
93832010-02-07 Glenn Morris <rgm@gnu.org>
9384
9385 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
9386 Move F2003 named interfaces from keywords-2 to keywords-1, and
9387 use function-name-face rather than constant-face.
9388 Simplify "abstract interface" regexp.
9389
a4cc44cf
CY
93902010-02-07 Chong Yidong <cyd@stupidchicken.com>
9391
9392 * eshell/esh-util.el (eshell-file-attributes): New optional arg
9393 ID-FORMAT. Pass it to `file-attributes'.
9394
9395 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
9396
c917476d
CY
93972010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
9398
9399 * faces.el (set-face-attribute): Allow calling
9400 internal-set-lisp-face-attribute with 'unspecified family and
9401 foundry argument (Bug#5536).
9402
7cf3f3d6
GM
94032010-02-07 Glenn Morris <rgm@gnu.org>
9404
9405 * progmodes/f90.el (f90-font-lock-keywords-2)
9406 (f90-looking-at-type-like, f90-looking-at-program-block-end):
9407 Handle F2003 named interfaces.
9408
ffe87109
CY
94092010-02-06 Chong Yidong <cyd@stupidchicken.com>
9410
9411 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
9412 beg and end before calling c-get-state-before-change-functions.
9413
4775ecad
DN
94142010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
9415
9416 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
9417
0d17c4b9
JL
94182010-02-05 Juri Linkov <juri@jurta.org>
9419
9420 * doc-view.el (doc-view-mode):
9421 * image-mode.el (image-mode): Put property mode-class=special.
9422 (Bug#4896)
9423
8228a275
MH
94242010-02-05 Mark A. Hershberger <mah@everybody.org>
9425
9426 * vc-svn.el (vc-svn-revision-table): New function.
9427
d9320986
MA
94282010-02-05 Michael Albinus <michael.albinus@gmx.de>
9429
9430 * net/ange-ftp.el (ange-ftp-insert-directory):
9431 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9432 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9433 Handle also directories. (Bug#5478)
9434
f43d8ecc
GM
94352010-02-05 Glenn Morris <rgm@gnu.org>
9436
9437 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
9438
ce3a988d
CY
94392010-02-05 Chong Yidong <cyd@stupidchicken.com>
9440
9441 * startup.el (command-line-1): Convert options beginning with a
9442 single dash as well (Bug#5519).
9443
bdd42899
SM
94442010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
9445
51b23c44
SM
9446 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
9447 * minibuffer.el (completion-initials-expand): Only check the presence
9448 of delims *within* the boundaries, since otherwise the / delim is
9449 always found for files.
9450
bdd42899
SM
9451 Fix up various corner case problems.
9452 * doc-view.el (doc-view-last-page-number): New function.
9453 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
9454 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
9455 (doc-view-kill-proc): Avoid inf-loop in freak cases.
9456 (doc-view-reconvert-doc): Use the new recursive delete-directory.
9457 (doc-view-convert-current-doc): Don't create the resolution.el file
9458 here any more.
9459 (doc-view-pdf/ps->png): Do it here instead.
9460 (doc-view-already-converted-p): Check that resolution.el is present.
9461 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
9462 windows that are not yet showing images.
9463
d5b3979c
MA
94642010-02-04 Michael Albinus <michael.albinus@gmx.de>
9465
9466 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
9467 `dired-uncache' for every elemnt which is an absolute file name.
9468
9469 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
9470 directory, handle its directory component.
9471 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
9472 function is called permanently and creates noise, otherwise.
9473
9474 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9475 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9476 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
9477
b003beb1
DB
94782010-02-04 David Burger <dburger@google.com> (tiny change)
9479
9480 * macros.el (apply-macro-to-region-lines):
9481 Minor simplification. (Bug#5485)
9482
ea92f9f3
GM
94832010-02-04 Glenn Morris <rgm@gnu.org>
9484
a03ae20d
GM
9485 * mail/rmail.el (rmail-show-message-1): Handle malformed
9486 quoted-printable text. (Bug#5441)
9487
4d01b827
GM
9488 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
9489
ea92f9f3
GM
9490 * simple.el (visual-line-mode): Capitalize lighter.
9491
82055bb7
JW
94922010-02-03 John Wiegley <jwiegley@gmail.com>
9493
9494 * iswitchb.el (iswitchb-completions): Add bookmark files to the
9495 list of files considered for "virtual buffer" completions.
9496
8214b6e4
MA
94972010-02-03 Michael Albinus <michael.albinus@gmx.de>
9498
9499 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
dd86ea11 9500 also in case of (and (not full) (not wildcard)). This is needed
8214b6e4
MA
9501 when dired is called with a list of files, which are not in
9502 `default-directory'. (Bug#5478)
9503
1df9718f
SM
95042010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
9505
9506 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
9507
02ba1267
JL
95082010-02-02 Juri Linkov <juri@jurta.org>
9509
9510 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
9511 from unidiff to allow function-line after @@.
9512
a0c6a0fb
JL
95132010-02-02 Juri Linkov <juri@jurta.org>
9514
9515 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
9516 '(RCS SCCS) with inverted condition.
9517
c35fcd52
MA
95182010-02-02 Michael Albinus <michael.albinus@gmx.de>
9519
9520 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
9521 messages.
9522
6ba973c1
JL
95232010-02-01 Juri Linkov <juri@jurta.org>
9524
9525 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
9526 compare with "pkunzip" and "pkzip" instead of only "pkzip".
9527 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
9528 only when (car archive-zip-extract) is "unzip". (Bug#5475)
9529
0bca393f
SM
95302010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
9531
9532 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
9533 (doc-view-revert-buffer): New command.
9534 (doc-view-mode-map): Use it.
9535
7a444e2a
DN
95362010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
9537
9538 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
9539 pending merge is detected.
9540
ad6fc8f4
JL
95412010-01-31 Juri Linkov <juri@jurta.org>
9542
9543 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
9544 beginning of interactive spec like all other grep commands do.
9545 Put "all" in front of "gz". (Bug#5260)
9546
b9236874
DN
95472010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
9548
9549 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
9550
1e868757
CY
95512010-01-29 Chong Yidong <cyd@stupidchicken.com>
9552
9553 * dirtrack.el (dirtrack): Warn instead of signalling error if the
9554 regexp is incorrect (Bug#5476).
9555
e5c70c41
MA
95562010-01-29 Michael Albinus <michael.albinus@gmx.de>
9557
9558 * net/tramp.el (tramp-handle-insert-directory): Handle also
9559 symlinks, when FILENAME is not in `default-directory'.
9560
0c0b61f1
MA
95612010-01-28 Michael Albinus <michael.albinus@gmx.de>
9562
9563 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
e5c70c41 9564 FILE is not in `default-directory'. (Bug#5478)
0c0b61f1
MA
9565
9566 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
9567 of SWITCHES. Handle the case, FILENAME is not in
9568 `default-directory'. (Bug#5478)
9569 (tramp-register-file-name-handlers): Add safe-magic property.
9570
763f325e
CY
95712010-01-28 Chong Yidong <cyd@stupidchicken.com>
9572
9573 * arc-mode.el (archive-zip-extract): Quote the argument passed to
9574 unzip (Bug#5475).
9575
fd09a83f
CY
95762010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
9577
9578 * progmodes/flymake.el (flymake-allowed-file-name-masks)
9579 (flymake-master-make-header-init): Add other C++ filename masks.
9580 (flymake-find-possible-master-files)
9581 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
9582
7e5686f0
MA
95832010-01-28 Michael Albinus <michael.albinus@gmx.de>
9584
9585 Fix some busybox annoyances.
9586
9587 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
9588 not responding." string.
9589 (tramp-open-connection-setup-interactive-shell): Dump stty
9590 settings. Enable "neveropen" arg for all `tramp-send-command'
9591 calls. Handle "=" in variable values properly.
9592 (tramp-find-inline-encoding): Raise an error, when no encoding is
9593 found.
9594 (tramp-wait-for-output): Check, whether PROC buffer is available.
9595 Remove spurious " ^H" sequences, sent by busybox.
9596 (tramp-get-ls-command): Suppress coloring, if possible.
9597
c6265c10
GM
95982010-01-28 Glenn Morris <rgm@gnu.org>
9599
c85a168b
GM
9600 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
9601
c6265c10
GM
9602 * log-edit.el (log-edit-strip-single-file-name): Add missing
9603 :safe, :group, and :version tags.
9604
7d82a738
SB
96052010-01-27 Stephen Berman <stephen.berman@gmx.net>
9606
9607 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
9608 buffers. (Bug#5477)
9609
8b0e68ea
CY
96102010-01-27 David De La Harpe Golden <david@harpegolden.net>
9611
9612 * files.el (delete-directory): Handle moving to trash without
9613 first doing recursion (Bug#5436).
9614
368d3208
DN
96152010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
9616
9617 * vc-hooks.el (vc-path): Mark as obsolete.
9618
755da7fa
DN
96192010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
9620
e2396d80
DN
9621 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
9622 names too.
9623
755da7fa
DN
9624 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
9625 for the short log.
9626 (vc-bzr-log-view-mode): Adjust regexp for the above change.
9627
6a6d15ab 96282010-01-25 Mark A. Hershberger <mah@everybody.org>
aaef4f91 9629
ac9ffe99 9630 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
d9de6d6f 9631
48c2d18a 9632 * vc-bzr.el (vc-bzr-revision-table): New function.
aaef4f91 9633
504dcc71
EH
96342010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
9635
9636 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
9637 diff-index command. This requires at least git-1.5.5. (Bug#1589).
9638
51850286
DN
96392010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
9640
c2f1d6d8
DN
9641 Remove support for adding --signoff on commit.
9642 Future support will use an incompatible generic mechanism.
9643 * vc-git.el (vc-git-add-signoff): Remove variable.
9644 (vc-git-toggle-signoff): Remove function.
9645 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9646
51850286
DN
9647 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
9648 from xterm-set-background-mode. Return t if the background mode
9649 was set.
9650 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9651 earlier, call it again in case the background mode has changed.
9652
02c6d0d0
CY
96532010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
9654
9655 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
9656 (Bug#3541).
9657
064eee03
CY
96582010-01-23 Chong Yidong <cyd@stupidchicken.com>
9659
02c6d0d0
CY
9660 * emacs-lisp/assoc.el (aelement): Doc fix.
9661 (aput, adelete, amake): Use lexical-let (Bug#5450).
064eee03 9662
5336c3ec 96632010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
afb5d709 9664
48c2d18a 9665 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
afb5d709
SL
9666 is the same as subprogram call, not declaration. (Bug#5435).
9667
0536254e
MA
96682010-01-23 Michael Albinus <michael.albinus@gmx.de>
9669
9670 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
9671 (tramp-smb-maybe-open-connection): Use it.
9672
411d06c2
MA
96732010-01-22 Michael Albinus <michael.albinus@gmx.de>
9674
0536254e 9675 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
411d06c2 9676
c893016b
SM
96772010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
9678
9679 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
9680 just because we see "encoding: 8bit".
9681 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
9682
9425f8e1
CY
96832010-01-22 Chong Yidong <cyd@stupidchicken.com>
9684
9685 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
9686
6a801864
EZ
96872010-01-22 Eli Zaretskii <eliz@gnu.org>
9688
9689 * jka-compr.el (jka-compr-load): If load-file is not in
9690 load-history, try its file-truename version. (bug#5447)
9691
3e8f7d91
AM
96922010-01-21 Alan Mackenzie <acm@muc.de>
9693
9694 Fix a situation where deletion of a cpp construct throws an error.
537ffaf3
SM
9695 * progmodes/cc-engine.el (c-invalidate-state-cache):
9696 Before invoking c-with-all-but-one-cpps-commented-out, check that the
3e8f7d91
AM
9697 special cpp construct is still in the buffer.
9698 (c-parse-state): Record the special cpp with markers, not numbers.
9699
f0bd0ad5
CY
97002010-01-21 Kenichi Handa <handa@m17n.org>
9701
9702 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
9703 process last-command-event, as it is now decoded first (Bug#5380).
9704
5189d95b
CY
97052010-01-20 Chong Yidong <cyd@stupidchicken.com>
9706
9707 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
9708
e073d74a
GM
97092010-01-20 Glenn Morris <rgm@gnu.org>
9710
9711 * indent.el (tab-always-indent): Fix custom-type.
9712
8ee04f3a
AM
97132010-01-19 Alan Mackenzie <acm@muc.de>
9714
9715 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
9716 buffer throws "args out of range".
9717 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
9718 playing the role of delimiter.
9719
6a47c86a
SL
97202010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
9721
bf0b361c 9722 * progmodes/ada-mode.el: Fix bug#5400.
6a47c86a
SL
9723 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
9724 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
9725 changed. Delete RECURSIVE parameter; never used. Improve doc string.
9726 Improve comments in "is" portion. Handle null procedure declaration.
9727 (ada-move-to-end): Improve doc string.
9728
2acfb954
ÓF
97292010-01-18 Óscar Fuentes <ofv@wanadoo.es>
9730
e90d57c0 9731 * ido.el (ido-cur-list): Initialize to nil.
2acfb954 9732 Remove obsolete information from commentary.
e90d57c0
JB
9733 (ido-choice-list): Initialize to nil.
9734 (ido-get-bufname): Reject minibuffers.
9735 (ido-make-buffer-list): If "default" is a nonexistent
9736 buffer, ignore it, as per the function's comment.
9737 (ido-kill-buffer-internal): New function.
9738 (ido-kill-buffer-at-head): Use it.
9739 (ido-visit-buffer): Likewise.
2acfb954 9740
244b023e
CY
97412010-01-18 Chong Yidong <cyd@stupidchicken.com>
9742
9743 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
9744
db9e401b
JB
97452010-01-18 Juanma Barranquero <lekktu@gmail.com>
9746
db9e401b
JB
9747 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
9748 Fix typos in chart titles.
9749
9750 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
db9e401b
JB
9751 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
9752 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
9753 (describe-class, eieio-describe-generic, describe-generic):
9754 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
9755 (eieio-speedbar-expand):
9756 * emulation/viper-cmd.el (viper-exec-form-in-vi)
9757 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
9758 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
9759 (viper-del-backward-char-in-replace, viper-backward-indent)
9760 (viper-brac-function, viper-register-to-point, viper-submit-report):
9761 * net/tramp.el (tramp-remote-coding-commands):
9762 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
9763 Fix typos in docstrings.
9764
9295137d
CY
97652010-01-17 Chong Yidong <cyd@stupidchicken.com>
9766
9767 * mail/sendmail.el (mail-yank-original): Set the mark if the
9768 specified function for yanking does not do it.
9769
4d0bbcb6
DN
97702010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
9771
7902c120
DN
9772 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
9773
4d0bbcb6
DN
9774 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
9775 resyncing a directory.
9776
0b702bc1
SL
97772010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
9778
6a47c86a 9779 * progmodes/ada-mode.el: Fix bug#1920.
0b702bc1
SL
9780 (ada-ident-re): Delete ., allow multibyte characters.
9781 (ada-goto-label-re): New; matches goto labels.
9782 (ada-block-label-re): New; matches block labels.
9783 (ada-label-re): New; matches both.
9784 (ada-named-block-re): Deleted; callers changed to use
9785 `ada-block-label-re' instead.
9786 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
9787 Use `ada-block-label-re'.
9788 (ada-indent-on-previous-lines): Improve handling of goto labels.
9789 (ada-get-indent-block-start): Special-case block label.
9790 (ada-get-indent-label): Split into `ada-indent-block-label' and
9791 `ada-indent-goto-label'.
9792 (ada-goto-stmt-start, ada-goto-next-non-ws):
9793 Optionally ignore goto labels.
9794 (ada-goto-next-word): Simplify.
9795 (ada-indent-newline-indent-conditional): Insert newline before
9796 trying to fix indentation; doc fix.
9797
05287c49
JB
97982010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
9799
9800 * calc/calc.el (calc-command-flags): Give it an initial value.
9801
4963739e
JB
98022010-01-17 Juanma Barranquero <lekktu@gmail.com>
9803
4963739e
JB
9804 * files.el (minibuffer-with-setup-hook):
9805 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
9806 (artist-key-draw-continously, artist-key-do-continously-continously)
9807 (artist-key-set-point-continously, artist-mouse-draw-continously):
9808 Fix typos in docstrings.
9809
116bd1ee
CY
98102010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
9811
9812 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
9813 return t (Bug#3898).
9814
2784cd7a 98152010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
d4efdaea
CY
9816
9817 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
9818 can parse the output of the external commands (Bug#5279).
9819
abd5cfe8
CY
98202010-01-16 Jari Aalto <jari.aalto@cante.net>
9821
9822 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
9823
4fe22cdf
CY
98242010-01-16 Chong Yidong <cyd@stupidchicken.com>
9825
bbdc98ef
CY
9826 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
9827
c7dc1ac1
CY
9828 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
9829
4fe22cdf
CY
9830 * startup.el (command-line): Remove unused --icon-type arg.
9831 Handle --display arg, passing it to command-line-1 (Bug#5392).
9832
045b9da7
ML
98332010-01-16 Mario Lang <mlang@delysid.org>
9834
045b9da7
ML
9835 * emacs-lisp/chart.el (chart-translate-namezone):
9836 * textmodes/artist.el (artist-compute-popup-menu-table):
9837 Remove duplicated words in doc-strings.
9838
6554a5df
CY
98392010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
9840
9841 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
9842 to mairix-search to suppress threading (Bug#5342).
9843
ca4f0e9a
KH
98442010-01-15 Kenichi Handa <handa@m17n.org>
9845
9846 * international/mule-cmds.el (canonicalize-coding-system-name):
b7235808 9847 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
ca4f0e9a 9848
1db3226b
GM
98492010-01-15 Glenn Morris <rgm@gnu.org>
9850
56a03f46
GM
9851 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
9852
9853 * wid-edit.el (widget-keymap): Doc fix.
9854
1db3226b
GM
9855 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
9856 former seems to be more widely accepted by various svn versions.
9857
80cd4bb4
JB
98582010-01-14 Juanma Barranquero <lekktu@gmail.com>
9859
d1f18ec0
JB
9860 * find-cmd.el (find-constituents):
9861 * vc-arch.el (vc-arch-root):
9862 * window.el (window-body-height, pop-up-frames):
d1f18ec0
JB
9863 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
9864 * progmodes/ada-stmt.el (ada-if):
9865 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
9866 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
9867 (ispell-encoding8-command, ispell-aspell-supports-utf8)
9868 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
9869
80cd4bb4
JB
9870 * progmodes/flymake.el (flymake-post-syntax-check):
9871 Fix typo in error message.
9872
9c23ca47
JB
98732010-01-14 Juanma Barranquero <lekktu@gmail.com>
9874
9875 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
9876 which is always a string. (Bug#5313)
9877
8794c483
JB
98782010-01-14 Juanma Barranquero <lekktu@gmail.com>
9879
9880 * progmodes/ada-xref.el (ada-default-prj-properties):
9881 Simplify previous change.
9882
95005d39
SL
98832010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9884
9885 * progmodes/ada-xref.el (ada-default-prj-properties):
9886 Default ada_project_path to $ADA_PROJECT_PATH.
9887
98882010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
80e18d20
SL
9889
9890 * progmodes/ada-mode.el (ada-create-keymap):
9891 Override `narrow-to-defun' with `ada-narrow-to-defun'.
9892
fb0d1545
SL
98932010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9894
9895 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
9896 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
9897 (ada-get-current-indent, ada-imenu-generic-expression)
9898 (ada-which-function): Check for it.
9899
5c9434d0
SL
99002010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9901
9902 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
9903 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
9904
3a4f3a3b
GM
99052010-01-14 Glenn Morris <rgm@gnu.org>
9906
9907 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
9908
d9a7c140
KH
99092010-01-14 Kenichi Handa <handa@m17n.org>
9910
9911 * composite.el (auto-composition-mode): Make it a buffer local
9912 variable (permanent-local).
9913 (auto-composition-function): Set the default value to
9914 auto-compose-chars.
49caf252 9915 (auto-composition-mode): Make it a simple function, not a minor mode.
d9a7c140
KH
9916 (global-auto-composition-mode): Likewise.
9917 (turn-on-auto-composition-if-enabled): Delete it.
49caf252 9918
38bee102
KF
99192010-01-13 Karl Fogel <kfogel@red-bean.com>
9920
9921 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
d9a7c140 9922
b8b45afc
MA
99232010-01-12 Michael Albinus <michael.albinus@gmx.de>
9924
9925 * files.el (copy-directory): Compute target for recursive
9926 directories with identical names. (Bug#5343)
9927
893db5bc
GM
99282010-01-12 Glenn Morris <rgm@gnu.org>
9929
9930 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
9931 it to bug-gnu-emacs rather than emacs-pretest-bug.
9932
d8b8451f
SS
99332010-01-11 Sam Steingold <sds@gnu.org>
9934
9935 * imenu.el (imenu-default-create-index-function): Detect infinite
9936 loops caused by imenu-prev-index-position-function.
9937
30afcdff
JB
99382010-01-11 Juanma Barranquero <lekktu@gmail.com>
9939
9940 * htmlfontify.el (htmlfontify-load-rgb-file)
9941 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
9942 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
9943 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
9944 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
9945 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
9946 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
9947 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
9948 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
9949 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
9950 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
9951 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
9952 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
9953 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
9954 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
9955 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
9956 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
9957 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
9958 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
9959 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
9960 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
9961 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
9962 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
9963 backslash-quoting from parentheses, etc.
9964
92b1c416
CY
99652010-01-11 Chong Yidong <cyd@stupidchicken.com>
9966
9967 * progmodes/js.el: Autoload javascript-mode alias.
9968
4454adab
JB
99692010-01-11 Juanma Barranquero <lekktu@gmail.com>
9970
9971 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
9972 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
9973 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
9974 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
9975 Fix typos in docstrings.
9976 (ffap-url-regexp): Doc fix.
9977 (ffap-at-mouse): Fix typo in message.
9978
6589a2f9
GM
99792010-01-11 Glenn Morris <rgm@gnu.org>
9980
9981 * version.el (emacs-copyright): Set copyright year to 2010.
9982
4e5617ee
SM
99832010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
9984
9985 * format.el (format-annotate-function): Only set
9986 write-region-post-annotation-function after running to-fn so as not to
9987 affect nested write-region calls (bug#5273).
9988
52bee098
CY
99892010-01-10 Chong Yidong <cyd@stupidchicken.com>
9990
a069f067
CY
9991 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
9992 wisent/python.el.
9993
e709e39d
CY
99942010-01-09 Chong Yidong <cyd@stupidchicken.com>
9995
9996 * man.el (Man-goto-section): Signal error if the section is not
9997 found (Bug#5317).
9998
6ee86780
JB
99992010-01-09 Juanma Barranquero <lekktu@gmail.com>
10000
10001 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10002 URLs with a leading triple slash in the file: scheme. (Bug#5345)
10003
fa7b5f7b
CY
100042010-01-09 Chong Yidong <cyd@stupidchicken.com>
10005
10006 * progmodes/compile.el: Don't treat compile-command as safe if
10007 compilation-read-command might be nil (Bug#4218).
10008
de62c4d9
JD
100092010-01-09 Jan Djärv <jan.h.d@swipnet.se>
10010
10011 * startup.el (command-line-1): Use orig-argi to check for ignored X and
10012 NS options.
10013
e94be827
KH
100142010-01-08 Kenichi Handa <handa@m17n.org>
10015
4e5617ee
SM
10016 * international/fontset.el (build-default-fontset-data):
10017 Exclude characters in scripts kana, hangul, han, or cjk-misc.
e94be827 10018
1dfae2a2
JB
100192010-01-07 Juanma Barranquero <lekktu@gmail.com>
10020
10021 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10022 to `create-file-buffer' as it expects, not just a buffer name.
10023 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10024 to help uniquify. (Bug#3224)
10025
d0cf45b7
JD
100262010-01-06 Jan Djärv <jan.h.d@swipnet.se>
10027
10028 * font-setting.el (font-setting-change-default-font): Use user-spec
10029 instead of name.
10030
7534fa5e
DN
100312010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
10032
10033 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10034
fd579fdc
CY
100352010-01-05 Tom Tromey <tromey@redhat.com>
10036
4e5617ee
SM
10037 * progmodes/python.el (python-font-lock-keywords):
10038 Handle qualified decorators (Bug#881).
fd579fdc 10039
37860caf
DN
100402010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10041
10042 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10043 in a lightweight checkout.
10044
69db641d
KH
100452010-01-05 Kenichi Handa <handa@m17n.org>
10046
4e5617ee 10047 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
69db641d 10048
b25d6a02
DN
100492010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
10050
10051 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10052
137d88ca
DN
100532010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
10054
10055 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10056 checkouts. (Bug#618)
3d5d0aa9 10057 (vc-bzr-log-view-mode): Also highlight the author.
8e7e2286
DN
10058 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10059 (vc-bzr-shelve-menu-map):
10060 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10061 (vc-bzr-shelve-apply): Make prompt more explicit.
137d88ca 10062
da76998b
CY
100632010-01-02 Chong Yidong <cyd@stupidchicken.com>
10064
10065 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10066 They are valid characters in URL paths (rfc3986), and at least
10067 Firefox does not understand the encoded version (Bug#3166).
10068
b2ad70b6
CY
100692010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
10070
10071 * progmodes/octave-mod.el (octave-end-keywords)
4e5617ee
SM
10072 (octave-block-begin-or-end-regexp, octave-block-match-alist):
10073 Add "end" keyword (Bug#3061).
b2ad70b6
CY
10074 (octave-end-as-array-index-p): New function.
10075 (calculate-octave-indent): Use it.
10076
54136282
KF
100772010-01-02 Karl Fogel <kfogel@red-bean.com>
10078
10079 * bookmark.el: Consistently put the text property on the bookmark name.
10080 (bookmark-bmenu-marks-width): Bump back to 2, to include
10081 annotation marks.
10082 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10083 property on the bookmark name, instead of not putting it at all.
10084 (bookmark-bmenu-list): Fix where we put the text property.
10085
cc4d3cad
KF
100862010-01-02 Karl Fogel <kfogel@red-bean.com>
10087
10088 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10089 for showing buffer modified state (as added in the previous change).
10090
b894c439
KF
100912010-01-02 Karl Fogel <kfogel@red-bean.com>
10092
10093 * bookmark.el: Show modified state of bookmark buffer more accurately.
10094 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10095 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10096 (with-buffer-modified-unmodified): New macro.
10097 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10098 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
cc4d3cad 10099 Use new macro to preserve the buffer modified state.
b894c439 10100
3a69db53
KF
101012010-01-02 Karl Fogel <kfogel@red-bean.com>
10102
4e5617ee 10103 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
3a69db53
KF
10104 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10105 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10106 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10107 (bookmark-bmenu-rename, bookmark-bmenu-locate)
4e5617ee
SM
10108 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10109 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
3a69db53 10110
af414f10
EZ
101112010-01-02 Eli Zaretskii <eliz@gnu.org>
10112
4e5617ee
SM
10113 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10114 Make the lines in the generated doc string shorter. (Bug#4668)
af414f10 10115
f2ec0e5e
CY
101162010-01-02 Ryan Yeske <rcyeske@gmail.com>
10117
10118 * net/rcirc.el: Add follow-link binding (Bug#4738).
10119
38c1ba62
EZ
101202010-01-02 Eli Zaretskii <eliz@gnu.org>
10121
4e5617ee 10122 * Makefile.in (bzr-update): Rename from cvs-update.
38c1ba62
EZ
10123 (cvs-update): New target for backward compatibility.
10124
4e5617ee 10125 * makefile.w32-in (bzr-update): Rename from cvs-update.
38c1ba62
EZ
10126 (cvs-update): New target for backward compatibility.
10127
ea2c0f5b
KF
101282010-01-02 Karl Fogel <kfogel@red-bean.com>
10129
10130 * bookmark.el: Remove gratuitous gratitude.
10131
5ae329f4
KF
101322010-01-02 Karl Fogel <kfogel@red-bean.com>
10133
c4cc8b9a 10134 * bookmark.el (bookmark-bmenu-any-marks): New function.
47989945
KF
10135 (bookmark-bmenu-save): Clear buffer modification if no marks.
10136
101372010-01-02 Karl Fogel <kfogel@red-bean.com>
10138
10139 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
5ae329f4
KF
10140 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10141 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10142 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10143
10144 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10145 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10146 To: emacs-devel {_AT_} gnu.org
10147 Subject: bookmark.el bug report
10148 Date: Mon, 28 Dec 2009 14:19:16 +0800
10149 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10150
aef053eb
KF
101512010-01-02 Karl Fogel <kfogel@red-bean.com>
10152
10153 * bookmark.el: Improvements suggested by Drew Adams:
10154 (bookmark-bmenu-ensure-position): New name for
10155 `bookmark-bmenu-check-position'. Just ensure the position,
10156 don't return any meaningful value.
10157 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10158 New constants.
10159
0472835f
JB
101602010-01-02 Juanma Barranquero <lekktu@gmail.com>
10161
10162 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10163 (bookmark-yank-point, bookmark-bmenu-check-position):
10164 Fix typos in docstrings.
10165 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10166 (bookmark-name-from-full-record, bookmark-get-position)
10167 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10168 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10169 Remove useless quoting of parenthesis, etc. in docstrings.
10170
10171 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10172 (ediff-append-custom-diff): Fix typo in error message.
10173 (ediff-meta-mark-equal-files): Fix typos in messages.
10174
10175 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10176
0472835f
JB
10177 * net/imap-hash.el (imap-hash-make): Doc fix.
10178 (imap-hash-test): Fix typo in error message; reflow docstring.
10179 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10180 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10181 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10182 Fix typos in docstrings.
10183 (imap-hash-open-connection): Fix typo in error message.
10184
10185 * play/gomoku.el (gomoku): Fix typos in docstring.
10186
10187 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10188 (gdb-jsonify-buffer): Fix typos in docstring.
10189 (gdb-goto-breakpoint): Fix typo in error message.
10190 ("Display Other Windows"): Fix typo in help message.
10191 (gdb-speedbar-expand-node): Fix typo in question.
10192
10193 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10194 (idlwave-html-system-help-location, idlwave-html-help-location)
10195 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10196 (idlwave-help-browser-generic-args, idlwave-help-directory)
10197 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10198 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10199 (idlwave-online-help, idlwave-help-html-link)
10200 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10201 Fix typos in docstrings.
10202 (idlwave-help-with-source, idlwave-help-find-routine-definition):
10203 Reflow docstrings.
10204 (idlwave-help-assistant-start): Fix typo in error message.
10205
10206 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10207 (octave-electric-space): Fix typos in docstrings.
10208
9bbe0828
CY
102092010-01-01 Chong Yidong <cyd@stupidchicken.com>
10210
10211 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10212
a88c46c3
CY
102132010-01-01 Juri Linkov <juri@jurta.org>
10214
10215 * comint.el (comint-input-ring-size): Make it a defcustom and
918fa8ba 10216 increase the default to 500 (Bug#5148).
a88c46c3 10217
7ee6c59b
NR
102182009-12-31 Nick Roberts <nickrob@snap.net.nz>
10219
10220 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10221 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10222 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10223
a9c8a2cd
NR
102242009-12-30 Nick Roberts <nickrob@snap.net.nz>
10225
10226 Show working revision correctly for mercurial.
10227 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
d8c75479 10228 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
a9c8a2cd 10229
659e4408
JB
102302009-12-29 Juanma Barranquero <lekktu@gmail.com>
10231
10232 Declare some functions for the byte-compiler.
10233 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10234 (speedbar-timer-fn, speedbar-change-expand-button-char)
10235 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10236
7ee6c59b
NR
102372009-12-29 Nick Roberts <nickrob@snap.net.nz>
10238
10239 This changeset reverts GDB Graphical Interface to use annotations.
10240 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10241
460f6e7c
DN
102422009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
10243
10244 Make vc-dir work on subdirectories of the bzr root.
10245 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
10246 file names relative to it.
10247 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10248 relative directory to vc-bzr-after-dir-status.
10249
543f553a
TH
102502009-12-28 Tassilo Horn <tassilo@member.fsf.org>
10251
10252 * font-lock.el (font-lock-refresh-defaults): New function, which
10253 can be used to let font-lock react to external changes in
10254 variables like font-lock-defaults and keywords.
10255 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10256
2592ab76
DN
102572009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
10258
ac859983
DN
10259 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10260
2592ab76
DN
10261 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10262
58941d03
JB
102632009-12-28 Juanma Barranquero <lekktu@gmail.com>
10264
10265 Supersede color.diff settings in git log (bug#5211).
10266
10267 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10268 escape chars in its output when the user has color.diff set to `always'.
10269 This fix works on git 1.4.2 and newer (released on 2006-08-13).
10270
39764e76
KR
102712009-12-26 Kevin Ryde <user42@zip.com.au>
10272
10273 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10274 node. Keep previous "Index" name to work with past coreutils too.
10275
91c4831e
KR
10276 * man.el (man): Revise docstring a bit to show -a and -l as
10277 examples. Add -k description since support for it has otherwise
10278 been a secret. (Further to bug#3717.)
651e932e
KR
10279 (Man-bgproc-sentinel): When "-k foo" produces no output show error
10280 "no matches" rather than "Can't find manpage", as the latter reads
d8c75479 10281 like -k was interpreted as a page name, which is not so. (Bug#5431)
91c4831e 10282
7f4d4a97
MA
102832009-12-26 Michael Albinus <michael.albinus@gmx.de>
10284
10285 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10286 switches. Check also for //SUBDIRED// line.
10287
bcffff46
KH
102882009-12-25 Kenichi Handa <handa@m17n.org>
10289
10290 * language/indian.el (devanagari-composable-pattern): Fixed to
10291 handle ZWNJ and ZWJ. Use it in composition-function-table for
10292 Devanagari.
10293 (malayalam-composable-pattern): Fix previous change.
10294
dc1dcfa4
VJL
102952009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10296
10297 * ps-print.el (ps-face-attributes): It was not returning the
10298 attribute face for faces specified as string. Reported by harven
80525855 10299 <harven@free.fr>. (Bug#5254)
dc1dcfa4
VJL
10300 (ps-print-version): New version 7.3.5.
10301
6fe539d2
UJ
103022009-12-18 Ulf Jasper <ulf.jasper@web.de>
10303
85626eef
SM
10304 * calendar/icalendar.el (icalendar--convert-tz-offset):
10305 Fix timezone names.
10306 (icalendar--convert-tz-offset): Fix the "last-day-problem".
6fe539d2
UJ
10307 (icalendar--add-diary-entry): Remove the trailing blank that
10308 diary-make-entry inserts.
10309
1f3611c6
MA
103102009-12-17 Michael Albinus <michael.albinus@gmx.de>
10311
10312 Make `file-expand-wildcards' work for remote files.
10313
10314 * files.el (file-expand-wildcards): In case of remote files, check
10315 only local file name part for wildcards. Provide feature 'files
10316 and subfeature 'remote-wildcards. (Bug#5198)
10317
10318 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10319 if there is already an established connection.
10320 (tramp-advice-file-expand-wildcards): Remove it.
10321
10322 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
85626eef 10323 (tramp-advice-file-expand-wildcards): Move from tramp.el.
1f3611c6
MA
10324 Activate advice for older GNU Emacs versions. (Bug#5237)
10325
9762b219
JB
103262009-12-17 Juanma Barranquero <lekktu@gmail.com>
10327
10328 Some doc fixes (more needed).
10329
10330 * find-cmd.el (find-constituents): Reflow docstring.
10331 (find-cmd, find-prune, find-command): Fix typos in docstrings.
10332 (find-generic): Doc fix.
10333
cfb54897
JL
103342009-12-17 Juri Linkov <juri@jurta.org>
10335
10336 Fix regression from 23.1 to allow multiple modes in Local Variables.
10337
10338 * files.el (hack-local-variables-filter): While ignoring duplicates,
10339 don't take `mode' into account.
85626eef
SM
10340 (hack-local-variables-filter, hack-dir-local-variables):
10341 Don't remove duplicate `mode' from local-variables-alist (like `eval').
cfb54897 10342
ad974e9e
JL
103432009-12-17 Juri Linkov <juri@jurta.org>
10344
85626eef 10345 Make `dired-diff' safer. (Bug#5225)
ad974e9e
JL
10346
10347 * dired-aux.el (dired-diff): Signal an error when `file' equals to
10348 `current' or when `file' is a directory of the `current' file.
10349
3616e0b9
AS
103502009-12-17 Andreas Schwab <schwab@linux-m68k.org>
10351
10352 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
10353 unconditionally preloaded files.
10354
72b57560
JL
103552009-12-16 Juri Linkov <juri@jurta.org>
10356
10357 Revert to old 23.1 logic of using the file at the mark as default.
10358 * dired-aux.el (dired-diff): Use the file at the mark as default
10359 if it's not the same as the current file, and the target dir is
10360 the current dir or the mark is active. Add the current file
10361 as the arg of `dired-dwim-target-defaults'. Use the default file
10362 in the prompt. (Bug#5225)
10363
68712eb6
MA
103642009-12-15 Michael Albinus <michael.albinus@gmx.de>
10365
10366 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
10367 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
10368 (tramp-check-for-regexp): Check also, when an echoing shell stops
10369 to echo sent commands.
10370
fd471993
CY
103712009-12-14 Chong Yidong <cyd@stupidchicken.com>
10372
10373 * Makefile.in: Revert last change (Bug#5191).
10374
86b5e14c
DN
103752009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
10376
10377 * vc-hg.el (vc-hg-print-log): Fix argument order.
110de3bb
DN
10378 (vc-hg-working-revision): Make sure the command is executed in a
10379 known environment so that we can parse the output. (Bug#4417)
86b5e14c 10380
8cffbb75
CY
103812009-12-14 Chong Yidong <cyd@stupidchicken.com>
10382
10383 * progmodes/python.el (python-symbol-completions): Remove text
10384 properties from symbol string before calling python-send-receive.
10385
6c2b67ad
NR
103862009-12-14 Nick Roberts <nickrob@snap.net.nz>
10387
10388 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
5ce6e4f4 10389 when there are values for both file and line. (Bug#5060)
6c2b67ad 10390
ff6f4585
JL
103912009-12-14 Juri Linkov <juri@jurta.org>
10392
10393 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
10394 whitespace after the file name of the first line of unified format,
10395 because git-diff doesn't output whitespace and file modification time
10396 after the file name.
10397
d3de1c8e
JL
103982009-12-14 David Kastrup <dak@gnu.org>
10399
10400 * info.el (Info-hide-cookies-node): Before hiding a cookie,
10401 check if it already has the `display' property added by
10402 `Info-display-images-node', and not put the `invisible' property
10403 in this case.
10404
2f1b7dc4
GM
104052009-12-13 Glenn Morris <rgm@gnu.org>
10406
a0cefee5
GM
10407 * mail/emacsbug.el (message-sort-headers): Define for compiler.
10408 (report-emacs-bug): In message-mode, sort manually before storing
10409 original report text. (Bug#5178)
2f1b7dc4
GM
10410 Remove superfluous save-excursion.
10411
31bb373f
MA
104122009-12-12 Michael Albinus <michael.albinus@gmx.de>
10413
10414 * net/dbus.el (dbus-property-handler): Filter lambda forms out
10415 when responding to "GetAll" properties.
10416
5e1d4968
CY
104172009-12-12 Chong Yidong <cyd@stupidchicken.com>
10418
10419 * simple.el (compose-mail): Remove mail-setup-with-from from
10420 customization checks.
10421
097d86f9
EZ
104222009-12-12 Eli Zaretskii <eliz@gnu.org>
10423
10424 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
10425 RAR archives created on Unix systems.
10426
1d4adede
SM
104272009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
10428
10429 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
10430 the varalias that was accidentally removed by the 2009-11-19 change
10431 (bug#5186).
10432
3ff3655c
KH
104332009-12-12 Kenichi Handa <handa@m17n.org>
10434
10435 * language/indian.el (indian-compose-regexp): New function.
10436 (malayalam-composable-pattern): Fix the pattern.
10437 (composition-function-table): Set malayalam-composable-pattern for
10438 Malayalam characters.
10439
82d3343c
CY
104402009-12-11 Chong Yidong <cyd@stupidchicken.com>
10441
315eb96d
CY
10442 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
10443 rather than down-mouse-1, based on follow-link conventions.
10444
82d3343c
CY
10445 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
10446 are compiled.
10447
86a4c7ac
DN
104482009-12-11 Michael McNamara <mac@mail.brushroad.com>
10449
bf0b361c 10450 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
1d4adede
SM
10451 (verilog-vmm-statement-re, verilog-ovm-statement-re)
10452 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
10453 (verilog-leap-to-head, verilog-backward-token):
10454 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
86a4c7ac
DN
10455
104562009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
10457
bf0b361c
JB
10458 * progmodes/verilog-mode.el (verilog-auto-lineup)
10459 (verilog-nameable-item-re): Cleanup user-visible spelling and
10460 documentation errors. One reported by Gary Delp.
1d4adede 10461 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
86a4c7ac
DN
10462 (verilog-read-decls): Fix AUTOWIRE with types declared in a
10463 package, bug195. Reported by Pierre-David Pfister.
10464
fe03f49a
GM
104652009-12-11 Glenn Morris <rgm@gnu.org>
10466
47641aac
GM
10467 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
10468
85094855
GM
10469 * mail/emacsbug.el: No longer require sendmail.
10470 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
10471 (report-emacs-bug-orig-text): Doc fix.
10472 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
10473 New local variables, to adapt to different mail-user-agents.
10474 (report-emacs-bug): Fix test for a gnu.org address.
10475 Use overlays for emphasis, since font-lock defeats 'face property.
10476 Pretest bugs also end up at the newsgroup these days.
10477 Stop message-mode stripping text properties.
10478 Set and use the new buffer-local variables.
10479 (report-emacs-bug-hook): Add doc-string.
10480 Remove some unnecessary save-excursions and simplify.
10481 Use the appropriate hook and send-command.
10482
fe03f49a
GM
10483 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
10484 capitalization of some menu entries.
10485
345427f0
VJL
104862009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10487
277e6741
MP
10488 * whitespace.el (whitespace-display-char-on):
10489 Ensure `buffer-display-table' is unique when two or more windows are
345427f0
VJL
10490 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
10491 New version 12.1.
10492
c70ccbba
EZ
104932009-12-10 Eli Zaretskii <eliz@gnu.org>
10494
10495 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
10496 characters in the Attribute field.
10497
f1943c1b
DN
104982009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
10499
10500 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
10501
1c67aeaa
SM
105022009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
10503
10504 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
10505 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10506 Disregard autoload-excludes.
10507 (update-directory-autoloads): Obey autoload-excludes here instead.
10508 But don't store its contents in no-autoloads and remove entries that
10509 refer to excludes files.
10510
d8194864
GM
105112009-12-10 Glenn Morris <rgm@gnu.org>
10512
8c0171c0
GM
10513 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
10514 (expand-mail-aliases): Define for compiler.
10515
dba372dd
GM
10516 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
10517 Define for compiler.
10518
d8194864
GM
10519 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
10520 appropriate for the mail-user-agent in use.
10521
fe5facd3
MA
105222009-12-09 Michael Albinus <michael.albinus@gmx.de>
10523
10524 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
10525
99999a1d
DN
105262009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
10527
10528 Fix short log parsing and fontification.
10529 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
10530 Fix fontification for the [merge] label.
10531
2ea1c4aa
SM
105322009-12-09 Vivek Dasmohapatra <vivek@etla.org>
10533
85626eef 10534 Drop some properties to avoid surprises (bug#5002).
2ea1c4aa
SM
10535 * htmlfontify.el (hfy-ignored-properties): New defcustom.
10536 (hfy-fontify-buffer): Use it.
10537
9840deb6
SM
105382009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
10539
a0d1aadf
SM
10540 Minor cleanup.
10541 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
10542 Adjust all callers.
10543 (ffap-locate-file): Remove unused arg `dir-ok' and make other
10544 args compulsory. Adjust callers.
10545 (ffap-gopher-at-point): Remove unused var `name'.
10546
9840deb6
SM
10547 Get rid of the ELCFILES abomination.
10548 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10549 (compile-elcfiles): New phony target.
10550 (compile-main): Compute ELCFILES dynamically.
10551 (compile-clean): New target to remove left-over elc files.
10552 (compile, all): Use it.
10553
7eb3f9a8
KH
105542009-12-09 Kenichi Handa <handa@etlken>
10555
10556 * international/mule-diag.el: Require help-mode instead of help-fns.
10557
ae63e572
KH
105582009-12-09 Kenichi Handa <handa@m17n.org>
10559
5ce6e4f4 10560 * international/mule-cmds.el (ucs-names): Supply sufficiently
a0d1aadf
SM
10561 fine ranges instead of pre-calculating accurate ranges.
10562 Iterate with bigger gc-cons-threshold.
ae63e572 10563
e2f3c692
DN
105642009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
10565
10566 Add support for stashing a snapshot of the current tree.
10567 * vc-git.el (vc-git-stash-snapshot): New function.
10568 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
10569
cf6d0352
JB
105702009-12-08 Jose E. Marchesi <jemarch@gnu.org>
10571
10572 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
10573 instead of `(beginning|end)-of-line'.
10574
48e4acc9
GM
105752009-12-08 Glenn Morris <rgm@gnu.org>
10576
6e890faa
GM
10577 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
10578
48e4acc9
GM
10579 * Makefile.in (ELCFILES): Regenerate.
10580
d2a1dc7b
JL
105812009-12-07 Juri Linkov <juri@jurta.org>
10582
10583 Don't lazy-highlight the comint output in history Isearch mode.
10584
10585 * comint.el (comint-history-isearch-search): Instead of
10586 `comint-line-beginning-position', use `comint-after-pmark-p'
10587 to check if point if before the process mark, and go to
10588 `process-mark' in this case.
10589
51ef56c4
SM
105902009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10591
fb10ee4a
SM
10592 * textmodes/tex-mode.el (latex-complete)
10593 (latex-indent-or-complete): Remove.
10594 (latex-mode): Set completion-at-point-functions instead.
10595
10596 Provide a standard completion command and hook it into TAB.
51ef56c4
SM
10597 * minibuffer.el (completion-at-point-functions): New var.
10598 (completion-at-point): New command.
fb10ee4a 10599 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
51ef56c4
SM
10600 * progmodes/python.el (python-mode-map): Use completion-at-point.
10601 (python-completion-at-point): Rename from python-partial-symbol and
10602 adjust for use in completion-at-point-functions.
10603 (python-mode): Setup completion-at-point for Python completion.
10604 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
10605 extracted from lisp-complete-symbol.
10606 (lisp-complete-symbol): Use it.
10607 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
10608 setup completion-at-point for Elisp completion.
fb10ee4a
SM
10609 (emacs-lisp-mode-map, lisp-interaction-mode-map):
10610 Use completion-at-point.
51ef56c4 10611 * ielm.el (ielm-map): Use completion-at-point.
fb10ee4a 10612 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
51ef56c4
SM
10613 * progmodes/sym-comp.el: Move to...
10614 * obsolete/sym-comp.el: Move from progmodes.
10615
5e7a9022
EZ
106162009-12-07 Eli Zaretskii <eliz@gnu.org>
10617
10618 Prevent save-buffer in Rmail buffers from using the coding-system
10619 of the current message, and from clobbering the encoding mnemonics
10620 in the mode line (Bug#4623).
10621
10622 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
10623 flag, too.
10624 (rmail-message-encoding): New variable.
10625 (rmail-write-region-annotate): Record the encoding of the current
10626 message in rmail-message-encoding.
10627 (rmail-after-save-hook): New function, restores the encoding of
10628 the current message after the message collection is saved.
10629
9136e895
JL
106302009-12-07 Juri Linkov <juri@jurta.org>
10631
10632 * progmodes/grep.el (grep-read-files): Use `completing-read'
10633 instead of `read-string'. Set its `collection' arg to
10634 `read-file-name-internal'. (Bug#4301)
10635
40637410
JL
106362009-12-07 Juri Linkov <juri@jurta.org>
10637
10638 Correctly restore original Isearch point. (Bug#4994)
10639
10640 * isearch.el (isearch-mode): Move `isearch-push-state' after
10641 `(run-hooks 'isearch-mode-hook)'.
10642 (isearch-cancel): When `isearch-push-state-function' is defined,
10643 let-bind `isearch-cmds' to the first state (the last element of
10644 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
10645 function and restores the original point). Otherwise, move point
10646 to `isearch-opoint'.
10647
da10ce2b
SM
106482009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
10651 chars that don't have names, so the table can be built much faster at
10652 run-time.
10653
3d68fa99
CY
106542009-12-07 Chong Yidong <cyd@stupidchicken.com>
10655
f82b1493
CY
10656 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
10657 change. Suggested by David Kastrup.
10658
3d68fa99
CY
10659 * simple.el (compose-mail): Check for incompatibilities and warn.
10660 (compose-mail-user-agent-warnings): New option.
10661
662c5698
DN
106622009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10663
10664 Support showing a single log entry from vc-annotate.
10665 * vc.el (print-log): Add a new argument: START-REVISION.
10666 (vc-print-log-internal): Add a new optional argument and
10667 pass it to the backend.
10668 (vc-print-log, vc-print-root-log): Adjust callers.
10669 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
10670 buffer already displays the requested log entry, use it.
10671 Otherwise display only the log entry in question.
10672 * vc-svn.el (vc-svn-print-log):
e4070cdc 10673 * vc-mtn.el (vc-mtn-print-log):
662c5698
DN
10674 * vc-hg.el (vc-hg-state):
10675 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
10676 (vc-git-show-log-entry): Return t on success.
10677 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
10678 (vc-bzr-show-log-entry): Return t on success.
10679 * vc-rcs.el (vc-rcs-print-log):
10680 * vc-sccs.el (vc-sccs-print-log):
10681 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
10682
e4070cdc
GM
106832009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10684
5ce6e4f4
JB
10685 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
10686 Add menus to the meta mode. (Bug#5043)
e4070cdc 10687
5ce6e4f4 106882009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
662c5698
DN
10689
10690 * ediff-init.el (ediff-event-key): Use event-to-character instead of
2de386ca 10691 event-key.
662c5698 10692
662c5698
DN
10693 * ediff.el (ediff-buffers-internal): Add unwind-protect.
10694
dab816a9
MA
106952009-12-07 Michael Albinus <michael.albinus@gmx.de>
10696
10697 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
10698 Berbain <raphael.berbain@gmail.com>.
10699
10700 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
10701 characters.
10702 (tramp-initial-end-of-output): New defconst.
10703 (tramp-methods, tramp-find-shell)
10704 (tramp-open-connection-setup-interactive-shell)
10705 (tramp-maybe-open-connection): Use it.
10706 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
10707 existence of `#' and `$'.
10708
10709 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
10710 `tramp-initial-end-of-output'.
10711
a91e1f6b
DN
107122009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10713
10714 Get the background mode from the terminal for xterm, and set
10715 faces accordingly.
10716 * term/xterm.el (xterm-set-background-mode): New function.
10717 (terminal-init-xterm): Use it in case xterm supports background
10718 color queries. Recompute faces after getting the background
10719 color.
10720
5fa9d1ec
GM
107212009-12-07 Ulrich Mueller <ulm@gentoo.org>
10722
10723 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
10724 number comment back on its own line, for easier parsing.
10725
5e9fde5e
SM
107262009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10727
10728 Make it work for non-file buffers (bug#5102).
10729 * doc-view.el (doc-view-current-cache-dir):
10730 Use doc-view-buffer-file-name rather than buffer-file-name.
10731 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
10732
2f2f5242
CY
107332009-12-06 Óscar Fuentes <ofv@wanadoo.es>
10734
10735 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
10736 author field is too short.
10737
cebf8ec6
DN
107382009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
10739
5e9fde5e
SM
10740 * vc-git.el (vc-git-print-log): Handle a limit argument.
10741 Display the short log in graph form and with labels.
0d3f8a78
DN
10742 (vc-git-log-view-mode): Handle labels.
10743
cebf8ec6
DN
10744 Make vc-revert change VC state from 'added to 'unregistered.
10745 * vc-git.el (vc-git-revert): Call git reset first.
10746
8e39154d
UJ
107472009-12-06 Ulf Jasper <ulf.jasper@web.de>
10748
d8194864
GM
10749 * net/newst-backend.el, net/newst-plainview.el:
10750 * net/newst-reader.el, net/newst-ticker.el:
10751 * net/newst-treeview.el, net/newsticker.el:
10752 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
8e39154d 10753
ef187c24
CY
107542009-12-06 Chong Yidong <cyd@stupidchicken.com>
10755
238a0f3a
CY
10756 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
10757
2c6bb71a
CY
10758 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
10759 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
10760 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
10761 Update annotation regexp.
10762
ef187c24
CY
10763 * simple.el (beginning-of-visual-line): Constrain to field
10764 boundaries (Bug#5106).
10765
571855b6
UJ
107662009-12-06 Ulf Jasper <ulf.jasper@web.de>
10767
d8194864 10768 * xml.el (xml-substitute-numeric-entities): Move
571855b6 10769 newsticker--decode-numeric-entities in newst-backend.el to
d8194864 10770 xml-substitute-numeric-entities in xml.el. (Bug#5008)
571855b6
UJ
10771 * net/newst-backend.el (newsticker--parse-generic-feed)
10772 (newsticker--parse-generic-items)
d8194864 10773 (newsticker--decode-numeric-entities): Move
571855b6 10774 newsticker--decode-numeric-entities in newst-backend.el to
d8194864 10775 xml-substitute-numeric-entities in xml.el. (Bug#5008)
571855b6 10776
b857059c
CY
107772009-12-06 Daniel Colascione <dan.colascione@gmail.com>
10778
10779 * progmodes/js.el (js--js-not): Add null to the list of values.
10780
c2dae51b
CY
107812009-12-06 Chong Yidong <cyd@stupidchicken.com>
10782
d8194864 10783 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
c2dae51b 10784
ed0f72d2
RW
107852009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10786
10787 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
10788 delimiter if it is at the end of the current line.
10789 (bibtex-generate-url-list): Fix docstring.
10790
365b9a62
SM
107912009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10792
10793 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
10794 minibuffer's content with itself.
10795 Fold the confirm-after-completion case into the `confirm' case.
10796 (completion-pcm-word-delimiters): Add : and / to the delimiters.
10797
990a9cb1
KR
107982009-12-06 Kevin Ryde <user42@zip.com.au>
10799
10800 * ffap.el (ffap-rfc-path): Make this a defcustom since
d8194864 10801 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
990a9cb1 10802
8b5a10db 10803 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
d8194864 10804 manuals, similar to existing setup for help-mode. (Bug#3913.)
8b5a10db 10805
065543e7
JL
108062009-12-05 Juri Linkov <juri@jurta.org>
10807
10808 Save and restore dired buffer's point positions too. (Bug#4880)
10809
10810 * dired.el (dired-save-positions): Return in the first element
10811 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
10812 Doc fix.
10813 (dired-restore-positions): First restore buffer's position.
10814 While restoring window's positions, check if window still displays
10815 the original buffer.
10816
503edac9
CY
108172009-12-05 Chong Yidong <cyd@stupidchicken.com>
10818
9a594ee6
CY
10819 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
10820 if possible.
10821
925f8c70
CY
10822 * shell.el (shell): Require ansi-color (Bug#5113).
10823
10824 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
10825
503edac9
CY
10826 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
10827
8fea6b33
AM
108282009-12-05 Alan Mackenzie <acm@muc.de>
10829
10830 * progmodes/cc-mode.el (c-before-hack-hook)
10831 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
10832 `c-file-style' to work again. This reversion restores the current
212c5aef 10833 software to its state in Emacs 23.1. (Bug#4146)
8fea6b33 10834
5d1fd962
CY
108352009-12-05 Kevin Ryde <user42@zip.com.au>
10836
10837 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
10838 comment-start-skip to comment-end-skip as comment (Bug#4781).
10839
30760c8b
JL
108402009-12-05 Juri Linkov <juri@jurta.org>
10841
10842 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
10843 for virtual nodes. (Bug#4147)
10844 (Info-find-node-2): Set `Info-current-node-virtual' to nil
10845 when moving from a virtual node.
10846 (Info-mode-menu): Add `Info-virtual-index' to the menu.
10847 (Info-mode): Add `Info-virtual-index' to the docstring.
10848
403111a8
RW
108492009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10850
10851 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
10852 track of the buffer position of the end of a BibTeX entry as this
10853 position may change during reformatting.
10854 (bibtex-format-entry): Remove whitespace before processing
10855 numerical fields so that we recognize the latter properly.
10856 (bibtex-reformat): Do not use push which changes the global value
10857 of bibtex-entry-format.
10858 (bibtex-field-braces-alist, bibtex-field-strings-alist)
10859 (bibtex-field-re-init): Replace only space characters by regexp
10860 for whitespace.
365b9a62 10861 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
403111a8
RW
10862 (bibtex-initialize): Also update bibtex-strings.
10863 (bibtex-kill-field): Preserve white space at end of entry.
365b9a62
SM
10864 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
10865 Update bibtex-reference-keys.
403111a8 10866
25b54627
SM
108672009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
10868
10869 * minibuffer.el (completion-pcm--merge-try): Also consider placing
10870 point after a star, if that's the only place where modifications can
10871 make progress.
10872
35639eb4
DN
108732009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
10874
10875 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
10876 in docstrings.
10877
8b78760b
JL
108782009-12-04 Juri Linkov <juri@jurta.org>
10879
10880 * proced.el (proced): Call `(proced-update t)' to update process
10881 information instead of only running proced-post-display-hook.
10882 (proced-send-signal): Add a leading space to the buffer name
10883 " *Marked Processes*" to make this buffer ephemeral.
10884
2b3489a7
JL
108852009-12-04 Juri Linkov <juri@jurta.org>
10886
10887 * dired.el (dired-auto-revert-buffer): New defcustom.
10888 (dired-internal-noselect): Use it.
10889
9b9debd1
JL
108902009-12-04 Juri Linkov <juri@jurta.org>
10891
10892 Change roles of modes and functions in image-mode.el (Bug#5062).
10893
10894 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
10895 in `auto-mode-alist'.
10896 (image-mode-previous-major-mode): New variable.
10897 (image-minor-mode-map): Rename from `image-mode-text-map'.
10898 (image-mode): Move graceful error-handling code from
10899 `image-minor-mode' to here. On errors call `image-mode-as-text'.
10900 (image-minor-mode): Remove all image-handling code.
10901 Replace `image-mode-text-map' with `image-minor-mode-map'.
10902 Check for `image-type' in mode-line format string.
10903 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
10904 (image-mode-as-text): New function with most code from
10905 `image-mode-maybe'.
10906 (image-toggle-display-text): Move code that removes image
10907 properties from `image-toggle-display' to here.
10908 (image-toggle-display-image): New function with code that adds
10909 image properties copied from `image-toggle-display'.
10910 (image-toggle-display): Remove most code with leaving only code
10911 that toggles between `image-mode-as-text' and `image-mode'.
10912
0c74a301
UJ
109132009-12-04 Ulf Jasper <ulf.jasper@web.de>
10914
10915 * net/newst-treeview.el
10916 (newsticker--treeview-list-highlight-start): Restored call to
10917 save-excursion: Selected item was stuck.
10918 (newsticker--treeview-list-select): New.
10919 (newsticker--treeview-item-show-text)
10920 (newsticker--treeview-item-show)
10921 (newsticker--treeview-item-update): Use new
10922 newsticker-treeview-item-mode.
10923 (newsticker-treeview-update): Keep current item.
10924 (newsticker-treeview-next-new-or-immortal-item): Doc change.
10925 (newsticker--treeview-first-feed): Doc change.
10926 (newsticker-treeview-list-menu)
10927 (newsticker-treeview-item-menu): Added menu entries.
10928 (newsticker-treeview-item-mode): New.
10929
5ce6e4f4 10930 * net/newst-backend.el (newsticker-customize): Delete other
0c74a301
UJ
10931 windows.
10932
9eaeec5b
SS
109332009-12-04 Sam Steingold <sds@gnu.org>
10934
10935 * log-view.el (log-view-mode-map): "q" calls quit-window,
10936 like in all the other non-self-insert buffers.
10937
b2bf5be5
SM
109382009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
10939
10940 Minor cleanup.
10941 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
10942 key decoding rather than do it manually via last-input-event +
10943 ascii-character.
10944 (term-exec): Use delete-and-extract-region.
10945 (term-handle-ansi-terminal-messages): Remove unused var `end'.
10946 (term-process-pager): Remove unused var `i'.
10947 (term-dynamic-simple-complete): Make obsolete.
10948 (serial-update-config-menu): Remove unused vars `y' and `str'.
10949 (term-update-mode-line): Remove unused var `temp'.
10950
46e5c897
DN
109512009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10952
10953 Limit the number of log entries displayed by default.
10954 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
10955 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
10956 using a prefix argument.
10957
627e0a14
GM
109582009-12-03 Glenn Morris <rgm@gnu.org>
10959
10960 * progmodes/idlwave.el (class): Restore still useful declaration.
10961
8578c224
AM
109622009-12-03 Alan Mackenzie <acm@muc.de>
10963
4abc318c 10964 Enhance `c-parse-state' to run efficiently in "brace deserts".
8578c224 10965
b2bf5be5
SM
10966 * progmodes/cc-mode.el (c-basic-common-init):
10967 Call c-state-cache-init.
9762b219 10968 (c-neutralize-syntax-in-and-mark-CPP): Rename from
8578c224 10969 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
b2bf5be5 10970 placing `category' properties value 'c-cpp-delimiter at its boundaries.
8578c224
AM
10971
10972 * progmodes/cc-langs.el (c-before-font-lock-function):
10973 c-extend-and-neutralize-syntax-in-CPP has been renamed
10974 c-neutralize-syntax-in-and-mark-CPP.
10975
10976 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
10977 with `category' properties now, not `syntax-table' ones.
10978
10979 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
10980 enhanced (but slower) version of c-end-of-macro that won't land
10981 inside a literal or on another awkward character.
10982 (c-state-cache-too-far, c-state-cache-start)
10983 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
10984 (c-state-nonlit-pos-cache-limit, c-state-point-min)
10985 (c-state-point-min-lit-type, c-state-point-min-lit-start)
10986 (c-state-min-scan-pos, c-state-brace-pair-desert)
10987 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
10988 buffer local variables.
10989 (c-state-literal-at, c-state-lit-beg)
10990 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
10991 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
10992 (c-state-cache-top-paren, c-state-cache-after-top-paren)
10993 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
10994 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
10995 (c-renarrow-state-cache)
10996 (c-append-lower-brace-pair-to-state-cache)
10997 (c-state-push-any-brace-pair, c-append-to-state-cache)
10998 (c-remove-stale-state-cache)
10999 (c-remove-stale-state-cache-backwards, c-state-cache-init)
11000 (c-invalidate-state-cache-1, c-parse-state-1)
11001 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
b2bf5be5
SM
11002 (c-parse-state): Enhance and refactor.
11003 (c-debug-parse-state): Amend to deal with all the new variables.
8578c224
AM
11004
11005 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11006 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
b2bf5be5
SM
11007 modify to use category text properties rather than syntax-table ones.
11008 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
8578c224
AM
11009 to switch off/on the syntactic paren property of C++ template
11010 delimiters using the category property.
11011 (c-with-<->-as-parens-suppressed): Macro to invoke code with
11012 template delims suppressed.
11013 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11014 New constant/macros which apply category properties to the start
11015 and end of preprocessor constructs.
b2bf5be5 11016 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
8578c224
AM
11017 "comment out" the syntactic value of characters in preprocessor
11018 constructs.
11019 (c-with-cpps-commented-out)
11020 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11021 with characters in all or all but one preprocessor constructs
11022 "commented out".
11023
0d4dc442
RW
110242009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
11025
11026 * proced.el (proced-filter-alist): Use regexp-quote.
11027
a09dc9bf
MA
110282009-12-03 Michael Albinus <michael.albinus@gmx.de>
11029
11030 Cleanup.
11031 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11032 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
11033 arguments. Expand `default-directory'.
11034
11035 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11036 the benefit of returning an expanded localname.
11037 (tramp-tramp-file-p): Handle the case NAME is not a string.
11038
3f6bd790
DN
110392009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11040
4dfb3b9c
DN
11041 Add support for bzr shelve/unshelve.
11042 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11043 (vc-bzr-extra-menu-map): New variables.
11044 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11045 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11046 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11047 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11048 (vc-bzr-dir-extra-headers): Display shelves.
11049
3f6bd790
DN
11050 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11051
842d73a1
SM
110522009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11053
11054 * textmodes/bibtex.el (bibtex-complete-internal):
11055 Use completion-in-region.
11056 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11057
7fa4876f
DN
110582009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
11059
11060 Support applying stashes. Improve UI.
11061 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11062 (vc-git-stash-apply, vc-git-stash-pop)
11063 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11064 (vc-git-stash-menu): New functions.
11065 (vc-git-stash-menu-map): New variable.
11066 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11067
d6e82452
GM
110682009-12-03 Glenn Morris <rgm@gnu.org>
11069
11070 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11071 (vc-print-log-internal): Fix previous change.
11072 (vc-revert): Correct pluralization.
11073
8d222148
SM
110742009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11075
ea52206b
SM
11076 * progmodes/make-mode.el (makefile-special-targets-list): No need for
11077 it to be an alist any more.
11078 (makefile-complete): Use completion-in-region.
11079
69a94a37
SM
11080 * progmodes/octave-mod.el (octave-complete-symbol):
11081 Use completion-in-region.
11082
8d222148
SM
11083 Misc cleanup.
11084 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11085 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11086 (idlwave-complete-class): Don't quote lambda.
11087 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11088 (idlwave-mode-map): Move initialization into declaration.
11089 (idlwave-action-and-binding): Use backquotes.
11090 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11091 Simplify.
11092 (idlwave-is-pointer-dereference): Remove unused var `pos'.
11093 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11094 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11095 `parts', and `all-parts'.
11096 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11097 (idlwave-convert-xml-system-routine-info): Remove unused string
11098 `version-string'.
11099 (idlwave-display-user-catalog-widget): Use dolist.
11100 (idlwave-scanning-lib): Declare dynamically-scoped var.
11101 (idlwave-scan-library-catalogs): Remove unused var `flags'.
11102 (completion-highlight-first-word-only): Declare to silence bytecomp.
11103 (idlwave-popup-select): Tighten scope of `resp'.
11104 (idlwave-find-struct-tag): Remove unused var `beg'.
11105 (idlwave-after-load-rinfo-hook): Declare.
11106 (idlwave-sintern-class-info): Remove unused var `taglist'.
11107 (idlwave-find-class-definition): Remove unused var `list'.
11108 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11109 (idlwave-what-module-find-class): Remove unused var `classes'.
11110
3bb8691b
JB
111112009-12-03 Juanma Barranquero <lekktu@gmail.com>
11112
11113 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11114
f72f0c23
SM
111152009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11116
11117 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11118 buffers visited. Remove redundant current-buffer-saving.
11119
601a9508
SM
111202009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11121
11122 Use completion-in-buffer and remove uses of dynamic scoping.
11123 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11124 (pascal-buffer-to-use, pascal-flag): Don't declare.
11125 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11126 (pascal-get-completion-decl, pascal-keyword-completion):
11127 Add `pascal-str' argument, save-excursion,
11128 return the found completions, and don't filter with pascal-pred.
11129 (pascal-completion-cache): New var.
11130 (pascal-completion): Don't switch buffer any more (it was never
11131 necessary). Don't save-excursion any more (it's done by the called
11132 subroutines). Use a cache to avoid redundant computations.
11133 Use complete-with-action rather than pascal-completion-response and
11134 let it apply the predicate as well.
11135 (pascal-complete-word): Use completion-in-buffer when
11136 pascal-toggle-completions is nil.
11137 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11138 not used any more.
11139 (pascal-comp-defun): Don't change buffer any more.
11140 Use complete-with-action rather than pascal-completion-response and
11141 let it apply the predicate as well.
11142 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11143 when neded.
11144
1ff4cb98
KH
111452009-12-02 Kenichi Handa <handa@m17n.org>
11146
11147 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11148 shape for all Indic scripts.
11149
bb12edf1
SM
111502009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11151
11152 Use completion-in-buffer.
11153 * wid-edit.el (widget-field-text-end): New function.
11154 (widget-field-value-get): Use it.
11155 (widget-string-complete, widget-file-complete)
11156 (widget-color-complete): Use it and completion-in-region.
11157 (widget-complete): Don't narrow the buffer.
11158
5813f6ef
GM
111592009-12-02 Glenn Morris <rgm@gnu.org>
11160
c920f222
GM
11161 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
11162 (rmail-select-summary): Use rmail-pop-to-buffer.
60f2013c
GM
11163 * mail/rmailsum.el: Replace all pop-to-buffer calls with
11164 rmail-pop-to-buffer, to prevent horizontal splits.
c920f222 11165
5813f6ef
GM
11166 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11167 save-excursion with save-current-buffer.
11168 Widen before searching. (Bug#5093)
11169 (diary-list-sexp-entries): Remove superfluous save-excursion.
11170
34b1d750
GM
111712009-12-02 Michael Welsh Duggan <mwd@cert.org>
11172
11173 * woman.el (woman-make-bufname): Handle man-pages with "." in the
11174 name. (Bug#5038)
11175
b2d5f31a
GM
111762009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
11177
11178 * ido.el (ido-file-internal): Handle filenames at point that do
11179 not have a directory part. (Bug#5049)
11180
c710ac3c
JB
111812009-12-02 Juanma Barranquero <lekktu@gmail.com>
11182
11183 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11184 (mpc-songs-jump-to, mpc-resume): Doc fixes.
11185
9946be46
SM
111862009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
11187
11188 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11189 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11190 any more.
11191
b08016f2
SM
111922009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11193
e7440df4
SM
11194 * comint.el (comint-insert-input): Ignore clicks to the right of
11195 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11196
3bb8691b 11197 * vc.el (vc-print-log-internal): Don't wait for the process to
c767b665
SM
11198 terminate before setting up the major mode.
11199
f3b757f5
SM
11200 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11201 in case.
11202
a2877f1d
SM
11203 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11204 the last element.
11205
b08016f2
SM
11206 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11207
782d6e30
GM
112082009-12-01 Glenn Morris <rgm@gnu.org>
11209
11210 * window.el (window--display-buffer-2): Fix previous changes.
11211
28f57f7e
CY
112122009-12-01 Chong Yidong <cyd@stupidchicken.com>
11213
11214 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11215
c31a2fdc
GM
112162009-12-01 Glenn Morris <rgm@gnu.org>
11217
11218 * Makefile.in (ELCFILES): Add mpc.elc.
11219
e1ada222
SM
112202009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11221
11222 * mpc.el: New file.
11223
0c9ff2c5
GM
112242009-12-01 Glenn Morris <rgm@gnu.org>
11225
3689984f
GM
11226 * window.el (window-to-use): Define for compiler.
11227
3ab4308b
GM
11228 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11229 consistent with others (no final period).
11230
0c9ff2c5
GM
11231 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11232 (rmail-mime-show): Downcase the encoding. (Bug#5070)
11233
fb0c18ff
DN
112342009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
11235
11236 Make vc-print-log buttons work.
045b9da7 11237 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
fb0c18ff 11238
2ac7e73e
JB
112392009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
11240
11241 * savehist.el (savehist-autosave-interval): Allow setting to nil
11242 through customize. (Bug#5056)
11243
5237d741
JB
112442009-11-30 Juanma Barranquero <lekktu@gmail.com>
11245
11246 Fix references to jit-lock properties.
11247 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11248 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11249 (perl-font-lock-special-syntactic-constructs):
11250 Quote jit-lock-defer-multiline property.
11251
379241fa
DN
112522009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
11253
11254 * vc-git.el (vc-git-registered): Call vc-git-root only once.
11255
054ae856
JL
112562009-11-30 Juri Linkov <juri@jurta.org>
11257
11258 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11259 value `buffer' of `multi-isearch-next-buffer-current-function'.
11260 Use `(current-buffer)' when `buffer' is nil.
11261 (multi-isearch-next-buffer-from-list): Don't fallback to
11262 `(current-buffer)' when `buffer' is nil. (Bug#4947)
11263
67296dda
JL
112642009-11-30 Juri Linkov <juri@jurta.org>
11265
11266 * misearch.el (multi-isearch-read-buffers): Move canonicalization
11267 of buffers with `get-buffer' to `multi-isearch-buffers'.
11268 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11269 Canonicalize BUFFERS with `get-buffer'. Doc fix.
11270 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11271 FILES with `expand-file-name' converting relative file names
11272 to absolute. Doc fix. (Bug#4727)
11273
c585bf32
JL
112742009-11-30 Juri Linkov <juri@jurta.org>
11275
11276 * misearch.el (multi-isearch-read-buffers)
11277 (multi-isearch-read-matching-buffers): New functions.
11278 (multi-isearch-buffers, multi-isearch-buffers-regexp):
11279 Use them in the `interactive' spec. Doc fix.
11280 (multi-isearch-read-files, multi-isearch-read-matching-files):
11281 New functions.
11282 (multi-isearch-files, multi-isearch-files-regexp):
11283 Use them in the `interactive' spec. Doc fix. (Bug#4725)
11284
0a745733
JL
112852009-11-30 Juri Linkov <juri@jurta.org>
11286
11287 * doc-view.el (doc-view-continuous):
11288 Rename from `doc-view-continuous-mode'.
11289 (doc-view-menu): Move "Toggle display" to the top.
11290 Add submenu "Continuous" with radio buttons "Off"/"On"
11291 and "Save as Default".
11292 (doc-view-scroll-up-or-next-page)
11293 (doc-view-scroll-down-or-previous-page)
11294 (doc-view-next-line-or-next-page)
11295 (doc-view-previous-line-or-previous-page): Rename
11296 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
11297
1f9689eb
JL
112982009-11-30 Juri Linkov <juri@jurta.org>
11299
11300 * comint.el (comint-mode-map): Rebind `M-r' from
11301 `comint-previous-matching-input' to
11302 `comint-history-isearch-backward-regexp'.
11303 Unbind `M-s' to allow global key binding `M-s'.
11304 Add menu items for `comint-history-isearch-backward' and
11305 `comint-history-isearch-backward-regexp'. (Bug#3746)
11306
2952b1ae
JL
113072009-11-30 Juri Linkov <juri@jurta.org>
11308
11309 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11310 For def=recenter, replace `recenter' with `recenter-top-bottom'
11311 that is called with `this-command' and `last-command' let-bound
11312 to `recenter-top-bottom'. When the last `def' was not `recenter',
11313 set `recenter-last-op' to nil. (Bug#4981)
11314
7a9547ca
SM
113152009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
11316
20565545
SM
11317 Minor cleanup and simplification.
11318 * filecache.el (file-cache-add-directory)
11319 (file-cache-add-directory-recursively)
11320 (file-cache-add-from-file-cache-buffer)
11321 (file-cache-delete-file-regexp, file-cache-delete-directory)
11322 (file-cache-files-matching-internal, file-cache-display): Use dolist.
11323 (file-cache-temp-minibuffer-message): Delete function.
11324 (file-cache-minibuffer-complete): Use minibuffer-message instead.
11325
7a9547ca
SM
11326 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11327 Don't signal an error when bumping into EOB in tr, s, or y.
11328
08e968f3
JL
113292009-11-29 Juri Linkov <juri@jurta.org>
11330
11331 * startup.el (fancy-about-text): Fix wording of Guided Tour.
11332 (Bug#4960)
11333
11334 * descr-text.el (describe-char-unidata-list): Use lowercase name
11335 for "Unicode name" like in other tags.
11336
f8d170a4
JL
113372009-11-29 Juri Linkov <juri@jurta.org>
11338
11339 * ediff-util.el (ediff-minibuffer-with-setup-hook):
11340 New compatibility macro.
7a9547ca 11341 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
f8d170a4 11342
0116abbd
JL
113432009-11-29 Juri Linkov <juri@jurta.org>
11344
11345 Add defcustom to define the cycling order of `recenter-top-bottom'.
11346 (Bug#4981)
11347
11348 * window.el (recenter-last-op): Doc fix.
11349 (recenter-positions): New defcustom.
11350 (recenter-top-bottom): Rewrite to use `recenter-positions'.
11351 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
11352
61eef560
MA
113532009-11-29 Michael Albinus <michael.albinus@gmx.de>
11354
11355 Improve integration of Tramp and ange-ftp in eshell.
11356
e4070cdc 11357 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
61eef560
MA
11358 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
11359 (eshell/sudo): Flatten args. Let-bind `default-directory'.
11360
11361 * eshell/esh-util.el (top): Require also Tramp when compiling.
11362 (eshell-directory-files-and-attributes): Check for FTP remote
11363 connection.
11364 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
11365 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
11366 (eshell-file-attributes): Handle ".". Return `entry'.
11367
11368 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
11369 (ange-ftp-directory-files-and-attributes)
11370 (ange-ftp-real-directory-files-and-attributes): New defuns.
11371
11372 * net/tramp.el (tramp-maybe-open-connection): Open the remote
11373 shell with "exec" when possible. This prevents trailing prompts
11374 in `start-file-process'.
11375
f5467d3f
SM
113762009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11377
21f49db9
SM
11378 Try and remove assumptions about point-min==1.
11379 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
11380 (rng-compute-mode-line-string): Show the validation percentage in
11381 terms of the narrowed text, not the widened text.
11382 (rng-do-some-validation): Don't catch internal errors when debugging.
11383 (rng-first-error): Simplify.
11384 (rng-after-change-function): Remove work around. AFAIK the bug has
11385 been fixed a while ago.
11386
26224faf
SM
11387 * image-mode.el (image-minor-mode): Exit more gracefully when the image
11388 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
11389
d7117720
SM
11390 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
11391
f5467d3f
SM
11392 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
11393 `cd' doesn't always do it for us (bug#5067).
11394
11395 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
11396 on 2009-10-25 as part of some other change (bug#5067).
11397
c5269f1c
SM
113982009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11399
62a258a7
SM
11400 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
11401 `suspicious'.
11402 (byte-compile-warnings): Use byte-compile-warning-types.
11403 (byte-compile-save-excursion): Warn about use of set-buffer right
11404 after save-excursion.
11405
c5269f1c
SM
11406 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11407 the excursion as well.
11408
3ba30eb8
MA
114092009-11-27 Michael Albinus <michael.albinus@gmx.de>
11410
11411 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
11412 providing a Tramp related implementation of "su" and "sudo".
11413 (eshell-unix-initialize): Add "su" and "sudo".
11414
6c6f788d
DU
114152009-11-27 Daiki Ueno <ueno@unixuser.org>
11416
11417 * net/socks.el (socks-send-command): Convert binary request to
11418 unibyte before sending. This fixes mishandling of some port
11419 numbers such as 129.
11420
10c877fe
SM
114212009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
11422
6f06a171
SM
11423 * help.el (describe-bindings-internal): Remove `interactive'.
11424
10c877fe
SM
11425 * man.el (Man-completion-table): Trim a terminating "(".
11426 Remove the space between name page a section.
11427 Add the command's description on the `help-echo' property.
c5269f1c
SM
11428 Remove `process-connection-type' binding since it's unused by
11429 call-process.
10c877fe
SM
11430 Provide completion for the "<section> <name>" format as well.
11431 (Man-default-man-entry): Remove spurious var shadowing the argument.
11432
c44a4822
KR
114332009-11-26 Kevin Ryde <user42@zip.com.au>
11434
11435 * log-view.el: Add "Keywords: tools", since its other keywords
11436 aren't in finder-known-keywords, and following vc.el.
11437
9d58f081
KR
11438 * sha1.el (sha1-string-external): default-directory "/" in case
11439 otherwise non-existent. process-connection-type pipe for touch of
11440 efficiency recommended by elisp manual. (An aside in Bug#3911.)
11441
72fe6b25
SM
114422009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11443
11444 Misc coding convention cleanups.
11445 * htmlfontify.el (hfy-init-kludge-hook): Rename from
11446 hfy-init-kludge-hooks.
11447 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
11448 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
11449 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
11450 and push.
11451 (hfy-slant, hfy-weight): Use tables rather than code.
11452 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
11453 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
11454 (hfy-face-attr-for-class): Initialize `face-spec' directly.
11455 (hfy-face-to-css): Remove `nconc' with single arg.
11456 (hfy-p-to-face-lennart): Use `or'.
11457 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
11458 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
11459 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
11460 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
11461 (hfy-force-fontification): Use run-hooks.
11462
85e0a536
SM
114632009-11-26 Vivek Dasmohapatra <vivek@etla.org>
11464
11465 Various minor fixes.
11466 * htmlfontify.el (hfy-default-header): Add toggle_invis since
11467 Javascript belongs in the header, not the body.
11468 (hfy-javascript): Remove.
11469 (hfy-fontify-buffer): Don't insert it any more.
11470 (hfy-face-at): Handle (face0 face1 face2) style face properties.
11471 Fix bug in invis handling when there were no invis props in a chunk.
11472
62ccc42c
SM
114732009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
11474
11475 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
11476
2643c7aa
DN
114772009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
11478
11479 * finder.el (finder-mode-map): Add a menu.
11480
0e5c8aed
DN
114812009-11-26 Michael McNamara <mac@mail.brushroad.com>
11482
bf0b361c 11483 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
0e5c8aed
DN
11484 "unsigned" structs.
11485
11486 (verilog-leap-to-head, verilog-backward-token): Handle "disable
11487 fork" statement better.
11488
114892009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
11490
bf0b361c
JB
11491 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
11492 (verilog-delete-auto, verilog-delete-empty-auto-pair)
11493 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
11494 Reported by Clay Douglass.
0e5c8aed
DN
11495
11496 (verilog-auto-inst, verilog-auto-star-safe)
62ccc42c
SM
11497 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
11498 Fix removing "// Interfaces" when saving .* expansions. Reported by
0e5c8aed
DN
11499 Pierre-David Pfister.
11500
7629c4e7
GM
115012009-11-26 Glenn Morris <rgm@gnu.org>
11502
62ccc42c
SM
11503 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
11504 the scope.
7629c4e7 11505
a5d358f8
JB
115062009-11-25 Johan Bockgård <bojohan@gnu.org>
11507
11508 * vc-annotate.el (vc-annotate-revision-previous-to-line):
11509 Really use previous revision.
11510
002cbde5
KR
115112009-11-25 Kevin Ryde <user42@zip.com.au>
11512
11513 * man.el (Man-completion-table): default-directory "/" in case
11514 doesn't otherwise exist. process-environment COLUMNS=999 so as
11515 not to truncate long names. process-connection-type pipe to avoid
573f4575
KR
11516 any chance of hitting the pseudo-tty TIOCGWINSZ.
11517 (man): completion-ignore-case t for friendliness and since man
11518 itself is case-insensitive on the command line.
11519 Further to Bug#3717.
002cbde5 11520
8cb5ffe8
KR
11521 * arc-mode.el: Add "Keywords: files", so the details in its
11522 commentary can be reached from finder-by-keyword.
34607612
KR
11523 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
11524 editing mode, but it's comms related and sgml-mode.el has "comm"
11525 on that basis too.
b8dfcf54 11526 * textmodes/bibtex-style.el: Add "Keywords: tex".
5cf751b4
GM
11527 * international/isearch-x.el, international/ja-dic-cnv.el:
11528 * international/ja-dic-utl.el, international/kkc.el:
b8dfcf54 11529 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
34607612 11530
1e2d9ba1
JL
115312009-11-25 Juri Linkov <juri@jurta.org>
11532
11533 * man.el (Man-completion-table): Modify regexp to include
11534 section names to completion strings. (Bug#3717)
11535
a601d313
JL
115362009-11-25 Juri Linkov <juri@jurta.org>
11537
11538 Search recursively in gzipped files. (Bug#4982)
11539
11540 * progmodes/grep.el (grep-highlight-matches): Add new options
11541 `always' and `auto'. Doc fix.
11542 (grep-process-setup): Check `grep-highlight-matches' for
11543 `auto-detect' to determine the need to compute grep defaults.
11544 Move Windows/DOS specific --colors settings handling
11545 to `grep-compute-defaults'. Check `grep-highlight-matches'
11546 to get the value of "--color=".
11547 (grep-compute-defaults): Compute `grep-highlight-matches' when it
11548 has the value `auto-detect'. Move Windows/DOS specific settings
11549 from `grep-process-setup'.
11550 (zrgrep): New command with alias `rzgrep'.
11551
bde04ea9
JL
115522009-11-25 Juri Linkov <juri@jurta.org>
11553
11554 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
11555 to nil instead of switching off view-mode. (Bug#4896)
11556
7d6b4d3c
JL
115572009-11-25 Juri Linkov <juri@jurta.org>
11558
11559 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
11560
11561 * mwheel.el (mwheel-scroll-up-function)
11562 (mwheel-scroll-down-function): New defvars.
11563 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
11564 `scroll-up', and `mwheel-scroll-down-function' instead of
11565 `scroll-down'.
11566
11567 * doc-view.el (doc-view-scroll-up-or-next-page)
11568 (doc-view-scroll-down-or-previous-page): Add optional ARG.
11569 Use this ARG in the call to image-scroll-up/image-scroll-down.
11570 Change `interactive' spec to "P". Goto next/previous page only
11571 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
11572 SPC/DEL case). Doc fix.
11573 (doc-view-next-line-or-next-page)
11574 (doc-view-previous-line-or-previous-page): Rename arg to ARG
11575 for consistency.
11576 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
11577 `doc-view-scroll-up-or-next-page', and buffer-local
11578 `mwheel-scroll-down-function' to
11579 `doc-view-scroll-down-or-previous-page'.
11580
e237085f
JL
115812009-11-25 Juri Linkov <juri@jurta.org>
11582
11583 Provide additional default values (directories at other Dired
11584 windows) via M-n in the minibuffer of some Dired commands.
11585
11586 * dired-aux.el (dired-diff, dired-compare-directories)
11587 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
11588 `minibuffer-default' in `minibuffer-with-setup-hook'.
11589 (dired-dwim-target-directory): Find a window that displays Dired
11590 buffer instead of failing when the next window is not Dired.
11591 Use `get-window-with-predicate' to find for the next Dired window.
11592 (dired-dwim-target-defaults): New function.
11593
11594 * ediff-util.el (ediff-read-file-name):
11595 Use `dired-dwim-target-defaults' to set `minibuffer-default'
11596 in `minibuffer-with-setup-hook'.
11597
7d371eac
JL
115982009-11-25 Juri Linkov <juri@jurta.org>
11599
11600 Provide additional default values (file name at point or at the
11601 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
11602
11603 * minibuffer.el (read-file-name-defaults): New function.
11604 (read-file-name): Reset `minibuffer-default' to nil when
11605 it duplicates initial input `insdef'.
11606 Bind `minibuffer-default-add-function' to lambda that
11607 calls `read-file-name-defaults' in `minibuffer-selected-window'.
11608 (minibuffer-insert-file-name-at-point): New command.
11609
11610 * files.el (file-name-at-point-functions): New defcustom.
11611 (find-file-default): Remove defvar.
11612 (find-file-read-args): Don't use `find-file-default'.
11613 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11614 to `read-file-name'.
11615 (find-file-literally): Use `read-file-name' with
11616 `confirm-nonexistent-file-or-buffer'.
11617
11618 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
11619
11620 * dired.el (dired-read-dir-and-switches):
11621 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11622 to `read-file-name'.
11623 (dired-file-name-at-point): New function.
11624 (dired-mode): Add hook `dired-file-name-at-point' to
11625 `file-name-at-point-functions'.
11626
04ae543a
SM
116272009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11628
11629 Really make the *Completions* window soft-dedicated (bug#5030).
11630 * window.el (window--display-buffer-2): Add `dedicated' argument.
11631 (display-buffer): Pass it when needed so the dedicated flag is set
11632 after calling set-window-buffer, which would otherwise reset it.
11633
eb708e66
SM
116342009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11635
d6b8d4e7
SM
11636 * progmodes/meta-mode.el (meta-complete-symbol):
11637 * progmodes/etags.el (complete-tag):
e2d4ea5a
SM
11638 * mail/mailabbrev.el (mail-abbrev-complete-alias):
11639 Use completion-in-region.
11640
5f24557b
SM
11641 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
11642 (dabbrev-completion): Use completion-in-region.
11643 (dabbrev--abbrev-at-point): Simplify regexp.
11644
fe4346f0
SM
11645 * abbrev.el (abbrev--before-point): Use word-motion functions
11646 if :regexp is not specified (bug#5031).
11647
cb190d7d
SM
11648 * subr.el (string-prefix-p): New function.
11649
e2ec6dd5
SM
11650 * man.el (Man-completion-cache): New var.
11651 (Man-completion-table): Use it.
11652
eb708e66
SM
11653 * vc.el (vc-print-log-internal): Make `limit' optional for better
11654 compatibility (e.g. with vc-annotate.el).
11655
4cf8971b
KR
116562009-11-24 Kevin Ryde <user42@zip.com.au>
11657
eb708e66 11658 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
d8194864 11659 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
f69c67b6 11660
4cf8971b
KR
11661 * emacs-lisp/elint.el (elint-add-required-env): Better error message
11662 when .el source file not found or other error.
11663
d204c46c
SM
116642009-11-24 Markus Triska <markus.triska@gmx.at>
11665
11666 * linum.el (linum-update-window): Ignore intangible (bug#4996).
11667
bb301b9a
SM
116682009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11669
449c27f0
SM
11670 Handle the [back] button properly (bug#4979).
11671 * descr-text.el (describe-text-properties): Add a `buffer' argument.
11672 Use help-setup-xref, help-buffer, and with-help-window.
11673 (describe-char): Add `buffer' argument.
11674 Pass proper command to help-setup-xref. Don't meddle with
11675 help-xref-stack-item directly.
11676 (describe-text-category): Use with-help-window and help-buffer.
11677
32fe5377
SM
11678 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
11679 for the displayed buffer (bug#4887).
11680
bb301b9a
SM
11681 * man.el (Man-completion-table): New function.
11682 (man): Use it.
11683
35179414
DR
116842009-11-24 David Reitter <david.reitter@gmail.com>
11685
bb301b9a 11686 * vc-git.el (vc-git-registered): Use checkout directory (where
35179414
DR
11687 .git is) rather than the file's directory and a relative path spec
11688 to work around a bug in git.
11689
605a20a9
MA
116902009-11-24 Michael Albinus <michael.albinus@gmx.de>
11691
11692 Improve handling of processes on remote hosts.
11693
11694 * eshell/esh-util.el (eshell-path-env): New defvar.
11695 (eshell-parse-colon-path): New defun.
11696 (eshell-file-attributes): Use `eshell-parse-colon-path'.
11697
bb301b9a
SM
11698 * eshell/esh-ext.el (eshell-search-path):
11699 Use `eshell-parse-colon-path'.
605a20a9
MA
11700 (eshell-remote-command): Remove argument HANDLER.
11701 (eshell-external-command): Check for FTP remote connection.
11702
bb301b9a
SM
11703 * eshell/esh-proc.el (eshell-gather-process-output):
11704 Use `file-truename', in order to start also symlinked files.
11705 Apply `start-file-process' instead of `start-process'.
11706 Shorten `command' to the local file name part.
605a20a9 11707
bb301b9a
SM
11708 * eshell/em-cmpl.el (eshell-complete-commands-list):
11709 Use `eshell-parse-colon-path'.
605a20a9
MA
11710
11711 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
11712
11713 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
11714 to `eshell-directory-change-hook'.
11715
d1d33062
TH
117162009-11-24 Tassilo Horn <tassilo@member.fsf.org>
11717
11718 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
bb301b9a 11719 because it could be enabled automatically if view-read-only is non-nil.
d1d33062 11720
a34d8565 117212009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
d1d33062 11722
a34d8565
MK
11723 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
11724 made on 2009-11-22.
d1d33062 11725
c83b8d1b
GM
117262009-11-24 Glenn Morris <rgm@gnu.org>
11727
11728 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
11729 deleted variable bookmark-bmenu-bookmark-column.
11730
83505cfe
SM
117312009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11732
11733 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
11734
5241b291
CY
117352009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
11736
11737 * net/browse-url.el (browse-url-filename-alist): On Windows, add
11738 two slashes to the "file:" prefix.
11739 (browse-url-file-url): De-munge Cygwin filenames before passing
11740 them to Windows browser.
11741 (browse-url-default-windows-browser): Use call-process.
11742
aefcadb6
JL
117432009-11-23 Juri Linkov <juri@jurta.org>
11744
11745 Implement DocView Continuous mode. (Bug#4896)
11746 * doc-view.el (doc-view-continuous-mode): New defcustom.
83505cfe
SM
11747 (doc-view-mode-map): Bind C-n/<down> to
11748 `doc-view-next-line-or-next-page', C-p/<up> to
11749 `doc-view-previous-line-or-previous-page'.
aefcadb6
JL
11750 (doc-view-next-line-or-next-page)
11751 (doc-view-previous-line-or-previous-page): New commands.
11752
0d62bcea
JL
117532009-11-23 Juri Linkov <juri@jurta.org>
11754
11755 Implement Isearch in comint input history. (Bug#3746)
11756 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
11757 `isearch-mode-hook'.
11758 (comint-history-isearch): New defcustom.
11759 (comint-history-isearch-backward)
11760 (comint-history-isearch-backward-regexp): New commands.
11761 (comint-history-isearch-message-overlay): New buffer-local variable.
11762 (comint-history-isearch-setup, comint-history-isearch-end)
11763 (comint-goto-input, comint-history-isearch-search)
11764 (comint-history-isearch-message, comint-history-isearch-wrap)
11765 (comint-history-isearch-push-state)
11766 (comint-history-isearch-pop-state): New functions.
11767
b593f105
MA
117682009-11-23 Michael Albinus <michael.albinus@gmx.de>
11769
11770 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
11771 return.
11772 (tramp-handle-make-symbolic-link)
11773 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
11774 Quote file names.
11775 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
11776 (tramp-handle-process-file): Use it.
11777
0f202d5d
SM
117782009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
11779
11780 * window.el (move-to-window-line-last-op): Remove.
11781 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
11782
216349f8
SM
117832009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11784
0f202d5d 11785 Make M-r mirror the new cycling behavior of C-l.
216349f8
SM
11786 * window.el (move-to-window-line-last-op): New var.
11787 (move-to-window-line-top-bottom): New command.
11788 (global-map): Bind M-r move-to-window-line-top-bottom.
11789
c10e0633
GM
117902009-11-23 Sven Joachim <svenjoac@gmx.de>
11791
11792 * dired-x.el (dired-guess-shell-alist-default):
11793 Support xz format. (Bug#4953)
11794
953e0c1a
GM
117952009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
11796
11797 * emulation/viper-cmd.el: Use viper-last-command-char instead of
11798 last-command-char/last-command-event.
11799 (viper-prefix-arg-value): Do correct conversion of event-char for
11800 XEmacs.
11801
83505cfe
SM
11802 * emulation/viper-util.el, emulation/viper.el:
11803 Use viper-last-command-char instead of
11804 last-command-char/last-command-event.
953e0c1a 11805
83505cfe
SM
11806 * ediff-init.el, ediff-mult.el, ediff-util.el:
11807 Replace last-command-char and last-command-event
11808 with (ediff-last-command-char) everywhere.
953e0c1a
GM
11809
11810 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
11811 created in fundamental mode.
11812
11813 * ediff.el (ediff-version): Revert the change of interactive-p to
11814 called-interactively-p.
11815
9ee12eee
TH
118162009-11-22 Tassilo Horn <tassilo@member.fsf.org>
11817
11818 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
11819 generation from word-movement command names.
11820
8b571bf3
JD
118212009-11-21 Jan Djärv <jan.h.d@swipnet.se>
11822
11823 * cus-start.el (all): Add native condition for font-use-system-font.
11824
4121db47
AM
118252009-11-21 Nathaniel Flath <flat0103@gmail.com>
11826
83505cfe
SM
11827 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
11828 Correct the patch from 2009-11-18. (Bug#3910)
4121db47 11829
d71f5e0c
TH
118302009-11-21 Tassilo Horn <tassilo@member.fsf.org>
11831
11832 * progmodes/subword.el: Rename from lisp/subword.el.
11833
11834 * subword.el: Rename to progmodes/subword.el.
11835
11836 * Makefile.in (ELCFILES): Adapt to subword.el move.
11837
fc9d6ad6 118382009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4e2af782 11839 Stefan Monnier <monnier@iro.umontreal.ca>
fc9d6ad6
SM
11840
11841 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
11842 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
11843 (bookmark-bmenu-show-filenames): Use push.
11844 (bookmark-bmenu-hide-filenames): Use local var instead of
11845 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
11846 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
11847 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
11848 filenames now that the bookmark names are always available.
11849
26d9285f
SM
118502009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11851
11852 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
11853 (bookmark-search-pattern): Move and leave unbound.
11854 (bookmark-bmenu-mode-map): Change binding.
11855 (bookmark-read-search-input): Simplify.
11856 Don't use text-char-description. Don't error on non-char events.
11857 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
11858 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
11859 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
11860 Use a local var for the timer.
11861 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
11862 (i.e. bookmark-bmenu-search).
11863
d73a0317
GM
118642009-11-21 Glenn Morris <rgm@gnu.org>
11865
11866 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
11867
e572025f
CY
118682009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
11869
26d9285f
SM
11870 * net/browse-url.el (browse-url-default-windows-browser):
11871 Use cygstart for cygwin.
e572025f 11872
6aeaa3dc
KF
118732009-11-20 Karl Fogel <karl.fogel@red-bean.com>
11874
e4070cdc 11875 * bookmark.el: Formatting and doc fixes only:
6aeaa3dc
KF
11876 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
11877 (bookmark-bmenu-search): Wrap to fit within 80 columns.
194d44e7 11878 Minor grammar and punctuation fixes in doc string.
6aeaa3dc
KF
11879 (bookmark-read-search-input): Adjust to fit within 80 columns.
11880
a9b76eec
TH
118812009-11-20 Tassilo Horn <tassilo@member.fsf.org>
11882
11883 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
11884 (c-backward-into-nomenclature): Adapt to subword renaming.
11885
11886 * subword.el (subword-forward, subword-backward, subword-mark)
11887 (subword-kill, subword-backward-kill, subword-transpose)
11888 (subword-downcase, subword-upcase, subword-capitalize)
26d9285f
SM
11889 (subword-forward-internal, subword-backward-internal):
11890 Rename from forward-subword, backward-subword, mark-subword,
11891 kill-subword, backward-kill-subword, transpose-subwords,
11892 downcase-subword, upcase-subword, capitalize-subword,
11893 forward-subword-internal, backward-subword-internal.
a9b76eec 11894
1e7d4475
SM
118952009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11896
26d9285f
SM
11897 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
11898 New options.
1e7d4475
SM
11899 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
11900 New vars.
11901 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
11902 (bookmark-bmenu-filter-alist-by-regexp)
11903 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
11904 (bookmark-bmenu-search): New command.
11905 (bookmark-bmenu-mode-map): Bind it.
11906
653d1554
TH
119072009-11-20 Tassilo Horn <tassilo@member.fsf.org>
11908
ab84bfa0
TH
11909 * progmodes/cc-cmds.el: declare-functioned forward-subword and
11910 backward-subword to quit the byte-compiler.
11911
1f35fda9
TH
11912 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
11913
11914 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
11915
653d1554 11916 * progmodes/cc-cmds.el (c-update-modeline)
1e7d4475
SM
11917 (c-forward-into-nomenclature, c-backward-into-nomenclature):
11918 Refer to subword.el functions instead of cc-subword.el.
653d1554
TH
11919
11920 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
11921 subword.el functions instead of cc-subword.el.
11922
1e7d4475
SM
11923 * progmodes/cc-subword.el: Rename to subword.el.
11924 * subword.el: Rename from progmodes/cc-subword.el.
11925 (subword-mode-map): Rename from c-subword-mode-map.
11926 (subword-mode): Rename from c-subword-mode.
653d1554 11927 (global-subword-mode): New global minor mode.
1e7d4475
SM
11928 (forward-subword): Rename from c-forward-subword.
11929 (backward-subword): Rename from c-backward-subword.
11930 (mark-subword): Rename from c-mark-subword.
11931 (kill-subword): Rename from c-kill-subword.
11932 (backward-kill-subword): Rename from c-backward-kill-subword.
11933 (transpose-subwords): Rename from c-tranpose-subword.
11934 (downcase-subword): Rename from c-downcase-subword.
11935 (capitalize-subword): Rename from c-capitalize-subword.
11936 (forward-subword-internal): Rename from c-forward-subword-internal.
11937 (backward-subword-internal): Rename from c-backward-subword-internal.
653d1554 11938
9717f119
DN
119392009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
11940
8de724f3
DN
11941 * vc.el (vc-deduce-fileset): Allow non-state changing operations
11942 from a dired buffer.
11943 (vc-dired-deduce-fileset): New function.
11944 (vc-root-diff, vc-print-root-log): Use it.
11945
9717f119
DN
11946 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
11947 nil LIMIT argument to vc-print-log-internal.
11948
af4999b8
GM
119492009-11-20 Glenn Morris <rgm@gnu.org>
11950
11951 * Makefile.in (ELCFILES): Regenerate.
11952
b58edcb6
JB
119532009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
11954
02e1b488
SM
11955 * calc/calc.el (calc-set-mode-line):
11956 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
b58edcb6
JB
11957 (math-format-number): Rename `math-format-complement-signed' to
11958 `math-format-twos-complement'.
11959
02e1b488 11960 * calc/calc-bin.el (math-format-twos-complement): Rename from
b58edcb6
JB
11961 math-format-complement-signed.
11962 (calc-radix): Rename `calc-complement-signed-mode' to
11963 `calc-twos-complement-mode'.
02e1b488
SM
11964 (calc-octal-radix, calc-hex-radix): Add an argument for
11965 two's complement.
b58edcb6 11966
02e1b488
SM
11967 * calc/calc-embed.el (calc-embedded-mode-vars):
11968 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
b58edcb6 11969
02e1b488
SM
11970 * calc/calc-ext.el (calc-init-extensions):
11971 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
b58edcb6
JB
11972 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
11973
02e1b488
SM
11974 * calc/calc-units.el (math-build-units-table-buffer):
11975 Let `calc-twos-complement-mode' be nil.
b58edcb6
JB
11976
11977 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
11978 entries.
11979
11980 * calc/calc-vec.el (calcFunc-vunpack):
11981 * calc/calc-aent.el (calc-do-calc-eval):
11982 * calc/calc-forms.el (math-format-date):
11983 * calc/calc-graph.el (calc-graph-plot):
11984 * calc/calc-math.el (math-use-emacs-fn):
02e1b488
SM
11985 * calc/calccomp.el (math-compose-expr):
11986 Let `calc-twos-complement-mode' be nil.
11987
119882009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
11989
11990 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
11991 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
11992 * minibuffer.el (completion-in-region-functions): New hook.
11993 (completion-in-region): New function.
11994 * emacs-lisp/lisp.el (lisp-complete-symbol):
11995 * pcomplete.el (pcomplete-std-complete): Use it.
b58edcb6 11996
e3353a78
SM
119972009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
11998
eff77808
SM
11999 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12000 (latex-complete-alist): New vars.
12001 (latex-string-prefix-p, latex-complete-bibtex-keys)
12002 (latex-complete-envnames, latex-complete-refkeys)
12003 (latex-complete-data): New functions.
12004 (latex-complete, latex-indent-or-complete): New commands.
12005
d2c9fc42
SM
12006 * window.el (display-buffer-mark-dedicated): New var.
12007 (display-buffer): Obey it.
12008 * minibuffer.el (minibuffer-completion-help): Use it.
12009
31a1c477
SM
12010 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12011
bed4c972
SM
12012 * filecache.el (file-cache-add-file): Use push and cons.
12013 (file-cache-delete-file-regexp): Use push.
12014 (file-cache-complete): Use completion-in-region.
12015
8c22699f
SM
12016 * simple.el (with-wrapper-hook): Fix thinko.
12017
e3353a78
SM
12018 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12019 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12020 Use with-current-buffer and string-to-number.
12021 (hfy-fallback-colour-values): Use assoc-string.
12022 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12023 (hfy-face-at): Remove unused var `found-face'.
12024 (hfy-compile-stylesheet): Remove unused var `css'.
12025 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12026 and `orig-buffer'.
12027 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12028 Use with-current-buffer.
12029 (hfy-text-p): Use expand-file-name and fewer setq.
12030
acca02b0
SM
120312009-11-19 Vivek Dasmohapatra <vivek@etla.org>
12032
12033 * htmlfontify.el, hfy-cmap.el: New files.
12034
042b7cc6
JL
120352009-11-19 Juri Linkov <juri@jurta.org>
12036
12037 * minibuffer.el (completions-format): New defcustom.
12038 (completion--insert-strings): Implement vertical format.
12039
12040 * simple.el (switch-to-completions): Move point to the first
12041 completion when point was at the beginning of the buffer.
12042
da205913
JL
120432009-11-19 Juri Linkov <juri@jurta.org>
12044
12045 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
12046
12047 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12048
0b8ee421
CY
120492009-11-19 Chong Yidong <cyd@stupidchicken.com>
12050
12051 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12052 (mail-signature): Change default to t.
12053 (mail-from-style): Deprecate `system-default' value.
12054 (mail-insert-from-field): For default value of mail-from-style,
12055 default to `angles' unless `angles' needs quoting and `parens'
12056 does not.
12057 (mail-citation-prefix-regexp): Use citation regexp from
12058 message-mode.
12059
4265deab
MA
120602009-11-19 Michael Albinus <michael.albinus@gmx.de>
12061
acca02b0
SM
12062 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12063 Set variables for computing the prompt for reading password.
4265deab 12064
27cacd2d
GM
120652009-11-19 Glenn Morris <rgm@gnu.org>
12066
470bce7d
GM
12067 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
12068
7e705a1d
GM
12069 * textmodes/flyspell.el (sgml-lexical-context): Declare.
12070
27cacd2d
GM
12071 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12072 (newsticker-treeview-listwindow-height): Fix custom type.
12073
b2f0be0f
KH
120742009-11-19 Kenichi Handa <handa@m17n.org>
12075
12076 * descr-text.el (describe-char-padded-string): Compose with TAB
12077 only if there's a font for CH.
02e1b488 12078 (describe-char): Fix the condition for detecting a trivial composition.
b2f0be0f 12079
03446045 120802009-11-18 Nathaniel Flath <flat0103@gmail.com>
b96337b0
AM
12081
12082 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
03446045 12083 more accurate version of the regexp. (Bug#3910)
b96337b0 12084
03446045 120852009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
efa3639b
SS
12086
12087 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12088
e0620570
JB
120892009-11-18 Juanma Barranquero <lekktu@gmail.com>
12090
12091 * font-setting.el (font-use-system-font): Declare for byte-compiler.
12092 (font-setting-change-default-font): Fix typo in docstring.
12093
6cc6582e
AM
120942009-11-18 Alan Mackenzie <acm@muc.de>
12095
12096 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12097
dfb3c4c6
JD
120982009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12099
02e1b488 12100 * font-setting.el (font-use-system-font): Move ...
dfb3c4c6
JD
12101
12102 * cus-start.el (all): ... to here.
12103
e268e987
MA
121042009-11-17 Michael Albinus <michael.albinus@gmx.de>
12105
12106 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12107 Don't set `ad-return-value' if `ad-do-it' doesn't.
12108
303ffde8
MA
12109 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12110 modification time.
12111
637fa988
JD
121122009-11-17 Jan Djärv <jan.h.d@swipnet.se>
12113
12114 * menu-bar.el: Put "Use system font" in Option-menu.
ad413b35 12115 (menu-bar-options-save): Add font-use-system-font.
637fa988
JD
12116
12117 * loadup.el: If feature system-font-setting or font-render-setting is
12118 there, load font-setting.
12119
02e1b488 12120 * Makefile.in (ELCFILES): Add font-settings.el.
637fa988
JD
12121 * font-setting.el: New file.
12122
1d16a255
GM
121232009-11-17 Glenn Morris <rgm@gnu.org>
12124
12125 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12126
2d84f804
GM
12127 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12128 Preserve point in the list buffer. (Bug#4939)
12129 Use point-at-eol.
12130 (newsticker--treeview-list-update-highlight)
12131 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12132
14467b99
JB
121332009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12134
12135 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12136 Remove.
12137
12138 * calc/calc-ext.el (calc-init-extensions): Remove references to
12139 symclip.
12140
12141 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12142
12143 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
5237d741 12144 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14467b99
JB
12145 `calc-symclip'.
12146
e3c39c01
KR
121472009-11-16 Kevin Ryde <user42@zip.com.au>
12148
02e1b488 12149 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
5237d741 12150 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
e3c39c01 12151
497de631
KR
12152 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12153 (lm-keywords-list): Allow comma-only separator like "foo,bar".
12154 Ignore trailing spaces by omit-nulls to split-string (fixing
12155 regression from Emacs 21 due to the incompatible split-string
14467b99 12156 change). (Bug #4928.)
497de631 12157
48b27575
DN
121582009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
12159
5237d741 12160 * vc.el (vc-log-show-limit): Default to 2000.
48b27575
DN
12161 (vc-print-log-internal): Insert buttons to request more entries
12162 when limiting the output.
12163
12164 * vc-sccs.el (vc-sccs-print-log):
12165 * vc-rcs.el (vc-rcs-print-log):
12166 * vc-cvs.el (vc-cvs-print-log):
12167 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12168 LIMIT is non-nil.
12169
d3e97185
MA
121702009-11-16 Michael Albinus <michael.albinus@gmx.de>
12171
12172 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12173 error when `tramp-gvfs-dbus-event-vector' is set.
12174 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12175
68d87786
SM
121762009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12177
12178 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12179
c0a39702
MA
121802009-11-16 Michael Albinus <michael.albinus@gmx.de>
12181
12182 * net/dbus.el (dbus-unregister-service): New defun.
d3e97185 12183 (dbus-register-property): Register the handlers of
c0a39702
MA
12184 "org.freedesktop.DBus.Properties" for SERVICE.
12185 (dbus-property-handler): Fix docstring.
12186
1e857121
YM
121872009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12188
12189 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12190 Quote doc string reference in defvaralias as it is not in special form.
12191 (byte-compile-output-docform): Doc fix.
12192
887484c1
JB
121932009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
12194
12195 * calc/calc.el (math-2-word-size, math-half-2-word-size)
12196 (calc-complement-signed-mode): New variables.
12197 (calc-set-mode-line): Add indicator for twos-complements.
12198 (math-format-number): Format twos-complement notation.
12199
12200 * calc/calc-bin.el (calc-word-size): Reset the variables
12201 `math-2-word-size' and `math-half-2-word-size'.
68d87786
SM
12202 (math-format-complement-signed, math-symclip, calcFunc-symclip)
12203 (calc-symclip): New functions.
887484c1
JB
12204
12205 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12206
68d87786
SM
12207 * calc/calc-embed.el (calc-embedded-mode-vars):
12208 Add `calc-complement-signed-mode' to the list of modes.
887484c1
JB
12209
12210 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
68d87786 12211 (calc-b-oper-keys): Add `calc-symclip' to list.
887484c1
JB
12212
12213 * calc/calc-ext.el (math-read-number-fancy): Read complement
12214 signed numbers.
68d87786
SM
12215 (calc-init-extensions): Add binding for `calc-symclip'.
12216 Add autoload for `calcFunc-symclip' and `calc-symclip'.
887484c1
JB
12217
12218 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12219 `calc-symclip'.
68d87786 12220 (calc-modes-menu): Add item for twos complement mode.
887484c1 12221
5237d741 12222 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
887484c1 12223
4cf1d7e3
CY
122242009-11-15 Chong Yidong <cyd@stupidchicken.com>
12225
12226 * register.el (jump-to-register, insert-register): Handle Semantic
12227 tags. From commented-out advice in semantic/senator.el.
12228
f8e65267
DN
122292009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
12230
6616006b
DN
12231 * vc.el (vc-log-show-limit): New variable.
12232 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
12233 when using a prefix argument.
12234 (vc-print-log-internal): Add new argument LIMIT.
12235
12236 * vc-svn.el (vc-svn-print-log):
12237 * vc-mtn.el (vc-mtn-print-log):
12238 * vc-hg.el (vc-hg-print-log):
12239 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
1e7d4475 12240 pass it to the log command when set. Make the BUFFER argument
6616006b
DN
12241 non-optional.
12242
12243 * vc-sccs.el (vc-sccs-print-log):
12244 * vc-rcs.el (vc-rcs-print-log):
12245 * vc-git.el (vc-git-print-log):
12246 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12247 ignore it. Make the BUFFER argument non-optional
12248
f8e65267
DN
12249 * bindings.el (mode-line-buffer-identification): Do not purecopy.
12250
0566c4bc
CY
122512009-11-15 Chong Yidong <cyd@stupidchicken.com>
12252
7cce3c91
CY
12253 * dired.el (dired-mode-map): Move encryption items to "Operate"
12254 menu (Bug#4703).
12255
d7063de9
CY
12256 * strokes.el (strokes-update-window-configuration): Make strokes
12257 buffer current before erasing (Bug#4906).
12258
0fc10137
JL
122592009-11-15 Juri Linkov <juri@jurta.org>
12260
12261 * simple.el (set-mark-default-inactive): Add :type, :group
12262 and :version. (Bug#4876)
12263
f5fce4ec
MA
122642009-11-15 Michael Albinus <michael.albinus@gmx.de>
12265
12266 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12267 (archive-unique-fname): ... here. (Bug#4929)
12268
8d720a00
SM
122692009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
12270
589888fe
SM
12271 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12272 with a real fix.
12273
8d720a00
SM
12274 * novice.el (disabled-command-function): Add useful args.
12275 Setup the help buffer so that [back] works.
12276 Remove redundant call to help-mode.
12277 (disabled-command-function): Use `case'.
12278 (en/disable-command): New function extracted from enable-command.
12279 (enable-command, disable-command): Use it.
12280
a61344d6
GM
122812009-11-14 Glenn Morris <rgm@gnu.org>
12282
497f0cdd
GM
12283 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12284 constants. (Bug#4913)
12285
a61344d6
GM
12286 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12287
d501801e
GM
122882009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12289
12290 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12291 defined in C that have no doc-strings. (Bug#1063)
12292
5af27ac2
GM
122932009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
12294
12295 * cus-edit.el (data, files):
12296 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
12297
aec5395b
CY
122982009-11-14 Chong Yidong <cyd@stupidchicken.com>
12299
e7791447
CY
12300 * simple.el (shell-command): Doc fix (Bug#4891).
12301
aec5395b
CY
12302 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12303
7a41cd7f
GM
123042009-11-14 Glenn Morris <rgm@gnu.org>
12305
c3583c94
GM
12306 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12307 statements for vc-diff, emerge-quit, and rmail-cease-edit.
12308 If they are already loaded, eval-after-load will do the right thing.
12309
73900d1f
GM
12310 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12311 compiling.
12312
0028351d
GM
12313 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12314
f6714ede
GM
12315 * simple.el (x-selection-owner-p): Declare.
12316 (read-mail-command): Use custom radio type rather than choice.
12317 (completion-no-auto-exit): Doc fix.
12318
7a41cd7f 12319 * custom.el (defgroup):
5af27ac2 12320 * epg-config.el (epg): Doc fixes.
7a41cd7f 12321
2d0659ec
DN
123222009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
12323
12324 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12325 * international/ccl.el (define-ccl-program): Do not purecopy the
12326 docstring, defconst does it anyway.
12327
7fdbcd83
SM
123282009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12329
d499c5b9
SM
12330 * add-log.el (add-change-log-entry): Avoid displaying the changelog
12331 a second time.
12332
7fdbcd83
SM
12333 * x-dnd.el (x-dnd-maybe-call-test-function):
12334 * window.el (split-window-vertically):
12335 * whitespace.el (whitespace-help-on):
12336 * vc-rcs.el (vc-rcs-consult-headers):
12337 * userlock.el (ask-user-about-lock-help)
12338 (ask-user-about-supersession-help):
12339 * type-break.el (type-break-force-mode-line-update):
12340 * time-stamp.el (time-stamp-conv-warn):
12341 * terminal.el (te-set-output-log, te-more-break, te-filter)
5ce6e4f4 12342 (te-sentinel, terminal-emulator):
7fdbcd83
SM
12343 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
12344 (term-write-input-ring, term-check-source, term-start-output-log):
12345 (term-display-buffer-line, term-dynamic-list-completions):
12346 (term-ansi-make-term, serial-term):
12347 * subr.el (selective-display):
12348 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
12349 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
12350 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
12351 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
12352 (speedbar-remove-localized-speedbar-support)
12353 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
12354 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
12355 (speedbar-buffers-line-directory):
12356 * simple.el (shell-command-on-region, append-to-buffer)
12357 (prepend-to-buffer):
12358 * shadowfile.el (shadow-save-todo-file):
12359 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
12360 (scroll-bar-maybe-set-window-start):
12361 * sb-image.el (speedbar-image-dump):
12362 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
12363 (load-save-place-alist-from-file):
12364 * ps-samp.el (ps-print-message-from-summary):
12365 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
12366 (ps-background-image, ps-begin-job, ps-do-despool):
12367 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
12368 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
12369 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
12370 (pr-call-process, pr-file-list, pr-interface-save):
12371 * novice.el (disabled-command-function)
12372 (enable-command, disable-command):
12373 * mouse.el (mouse-buffer-menu-alist):
12374 * mouse-copy.el (mouse-kill-preserving-secondary):
12375 * macros.el (kbd-macro-query):
12376 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
12377 * informat.el (batch-info-validate):
12378 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
12379 * hippie-exp.el (try-expand-dabbrev-visible):
12380 * help-mode.el (help-make-xrefs):
12381 * help-fns.el (describe-variable):
12382 * generic-x.el (bat-generic-mode-run-as-comint):
12383 * finder.el (finder-mouse-select):
12384 * find-dired.el (find-dired-sentinel):
12385 * filesets.el (filesets-file-close):
12386 * files.el (list-directory):
12387 * faces.el (list-faces-display, describe-face):
12388 * facemenu.el (list-colors-display):
12389 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
12390 * epg.el (epg--process-filter, epg-cancel):
12391 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
12392 (epa--read-signature-type):
12393 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
12394 (emerge-file-names):
12395 * ehelp.el (electric-helpify):
12396 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
12397 * ediff-vers.el (rcs-ediff-view-revision):
12398 * ediff-util.el (ediff-setup):
12399 * ediff-mult.el (ediff-append-custom-diff):
12400 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
12401 (ediff-wordify):
12402 * echistory.el (Electric-command-history-redo-expression):
12403 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
12404 * disp-table.el (describe-display-table):
12405 * dired.el (dired-find-buffer-nocreate):
12406 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12407 * dabbrev.el (dabbrev--same-major-mode-p):
12408 * chistory.el (list-command-history):
12409 * apropos.el (apropos-documentation):
12410 * allout.el (allout-obtain-passphrase):
12411 (allout-copy-exposed-to-buffer):
12412 (allout-verify-passphrase): Use with-current-buffer.
12413
2ccbc060
GM
124142009-11-13 Glenn Morris <rgm@gnu.org>
12415
12416 * Makefile.in (ELCFILES): Regenerate.
12417
b172ed20
MA
124182009-11-13 Michael Albinus <michael.albinus@gmx.de>
12419
7fdbcd83
SM
12420 * net/dbus.el (dbus-registered-objects-table): Rename from
12421 `dbus-registered-functions-table', because it contains also properties.
b172ed20
MA
12422 (dbus-unregister-object): Unregister also properties.
12423 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12424 Use a timeout of 500 msec, in order to not block.
12425 (dbus-register-property, dbus-property-handler): New defuns.
12426
e96d62cd
SM
124272009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
12428
12429 * simple.el (minibuffer-default-add-completions): Drop deprecated
12430 4th arg.
12431
14bd267d
EZ
124322009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
12433
e96d62cd
SM
12434 * textmodes/artist.el (artist-mouse-choose-operation):
12435 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
5237d741 12436 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14bd267d
EZ
12437 (artist-compute-up-event-key): New function.
12438 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
12439
bf89fd7b
KH
124402009-11-13 Kenichi Handa <handa@m17n.org>
12441
12442 * language/japan-util.el: Make sure that the value of jisx0208
12443 property is jisx0208 character.
12444
f70b8925
DN
124452009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
12446
12447 * international/mule.el (auto-coding-regexp-alist): Only purecopy
12448 car or each item, not the whole list.
12449
4d93a9e0
SM
124502009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
12451
12452 * minibuffer.el (minibuffer-completion-help):
12453 Use minibuffer-hide-completions.
12454
05404988
SM
124552009-11-12 Per Starbäck <per@starback.se> (tiny change)
12456
12457 * dired.el (dired-save-positions, dired-restore-positions): New funs.
12458 (dired-revert): Use them (bug#4880).
12459
5297bc10
DN
124602009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12461
12462 * tooltip.el (tooltip-frame-parameters): Undo previous change.
12463
e2685eb7
JL
124642009-11-12 Juri Linkov <juri@jurta.org>
12465
12466 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
12467 New functions.
12468 (find-file-literally-at-point): Alias of `ffap-literally'.
12469
76410c3e
DN
124702009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
12471
6d341a2a
DN
12472 * textmodes/ispell.el (ispell-skip-region-alist):
12473 * textmodes/css-mode.el (auto-mode-alist):
12474 * progmodes/compile.el (auto-mode-alist):
12475 * international/mule.el (ctext-non-standard-encodings-alist)
12476 (ctext-non-standard-encodings-regexp):
12477 * simple.el (shell-command-switch, text-read-only):
12478 * replace.el (occur-mode-map):
12479 * paths.el (rmail-file-name):
12480 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
12481 * find-file.el (ff-special-constructs):
12482 * files.el (file-name-handler-alist):
12483 * composite.el: Purecopy strings.
12484
76410c3e
DN
12485 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
12486
aaa448c9
DN
124872009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12488
12489 * widget.el (define-widget): Purecopy the docstring.
12490 * international/mule-cmds.el (charset): Do not purecopy the
12491 docstring here, define-widget does it.
12492
12493 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
12494 * textmodes/bibtex-style.el (auto-mode-alist):
12495 * progmodes/inf-lisp.el (inferior-lisp-prompt):
12496 * progmodes/compile.el (compile-command):
12497 * language/korea-util.el (default-korean-keyboard):
12498 * international/mule-conf.el (file-coding-system-alist):
12499 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
12500 * tooltip.el (tooltip-frame-parameters):
12501 * newcomment.el (comment-end, comment-padding):
12502 * dired.el (dired-trivial-filenames):
12503 * comint.el (comint-file-name-prefix): Purecopy initial values.
12504
bbe650fd
MA
125052009-11-11 Michael Albinus <michael.albinus@gmx.de>
12506
12507 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
12508 (tramp-advice-minibuffer-electric-tilde): Unload advices via
12509 `tramp-unload'.
12510 (tramp-advice-make-auto-save-file-name)
12511 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
12512 after removing the advice.
12513
6bdad9ae
DN
125142009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
12515
2f7f4bee
DN
12516 * progmodes/grep.el (grep-regexp-alist):
12517 * international/mule-cmds.el (iso-2022-control-alist):
12518 * emacs-lisp/timer.el (timer-duration-words):
12519 * subr.el (version-separator, version-regexp-alist):
12520 * minibuffer.el (completion-styles-alist):
12521 * faces.el (face-attribute-name-alist, list-faces-sample-text):
12522 Change defvars to defconsts.
12523
a042de45
DN
12524 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
12525 * loadup.el ("international/mule-conf"): Load the byte compiled version.
12526 * international/mule-conf.el: Allow to be byte compiled.
12527
3b6acc72
DN
12528 * international/mule.el (define-charset): Purecopy props.
12529 (load-with-code-conversion): Purecopy doc string and file name.
12530 (put-charset-property): Purecopy strings.
12531 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
12532
1c2efdfb 12533 * international/mule-cmds.el (register-input-method): Purecopy arguments.
ebfa10d3
DN
12534 (define-char-code-property): Correctly purecopy the table.
12535
62591911
DN
12536 * international/ccl.el (define-ccl-program): Purecopy the docstring.
12537
8b908da6
DN
12538 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
12539
ff917d63
DN
12540 * subr.el (add-hook): Purecopy strings.
12541 (eval-after-load): Purecopy load-history-regexp and the form.
12542
af89cf77
DN
12543 * custom.el (custom-declare-group): Purecopy load-file-name.
12544
a3c20c83 12545 * subr.el (menu-bar-separator): New defconst.
04991a1c
DN
12546 * net/eudc.el (eudc-tools-menu):
12547 * international/mule-cmds.el (set-coding-system-map)
12548 (mule-menu-keymap):
12549 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12550 * vc-hooks.el (vc-menu-map):
a3c20c83
DN
12551 * replace.el (occur-mode-map):
12552 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
1c2efdfb 12553 (menu-bar-edit-menu, menu-bar-goto-menu)
a3c20c83
DN
12554 (menu-bar-custom-menu, menu-bar-showhide-menu)
12555 (menu-bar-options-menu, menu-bar-tools-menu)
12556 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
12557 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
12558 (menu-bar-help-menu):
12559 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
12560 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
12561
6bdad9ae
DN
12562 * term/x-win.el (x-gtk-stock-map):
12563 * progmodes/vera-mode.el (auto-mode-alist):
12564 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
12565 (inferior-lisp-program, inferior-lisp-load-command):
12566 * progmodes/hideshow.el (hs-special-modes-alist):
12567 * progmodes/gud.el (same-window-regexps):
12568 * progmodes/grep.el (grep-program, find-program, xargs-program):
12569 * net/telnet.el (same-window-regexps):
12570 * net/rlogin.el (same-window-regexps):
12571 * language/ethiopic.el (font-ccl-encoder-alist):
12572 * vc-sccs.el (vc-sccs-master-templates):
12573 * vc-rcs.el (vc-rcs-master-templates):
12574 * subr.el (cl-assertion-failed):
12575 * simple.el (next-error-overlay-arrow-position):
12576 * lpr.el (lpr-command):
12577 * locate.el (locate-ls-subdir-switches):
12578 * info.el (same-window-regexps, info)
12579 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
12580 * image-mode.el (image-mode, auto-mode-alist):
12581 * hippie-exp.el (hippie-expand-ignore-buffers):
12582 * format.el (format-alist):
12583 * find-dired.el (find-ls-subdir-switches, find-grep-options)
12584 (find-name-arg):
12585 * facemenu.el (facemenu-keybindings):
12586 * dired.el (dired-listing-switches, dired-chown-program):
12587 * diff.el (diff-switches, diff-command):
12588 * cus-edit.el (same-window-regexps):
12589 * bindings.el (mode-line-mule-info)
12590 (mode-line-buffer-identification): Purecopy strings.
12591
e0987650
JL
125922009-11-11 Juri Linkov <juri@jurta.org>
12593
3570691b 12594 * simple.el (dired-get-filename) <declare-function>:
e0987650
JL
12595 Tell the byte-compiler about dired-get-filename.
12596 (shell-command): In Dired mode, get filename from the current line
12597 as the default value.
12598
b16ff465
GM
125992009-11-10 Glenn Morris <rgm@gnu.org>
12600
e8a11b22
GM
12601 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
12602 * calendar/holidays.el, progmodes/cperl-mode.el:
12603 Update x-popup-menu declarations.
12604
b16ff465
GM
12605 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
12606 (list-load-path-shadows): Use dolist.
12607 (list-load-path-shadows): Use with-current-buffer.
12608
032c3399
JL
126092009-11-10 Juri Linkov <juri@jurta.org>
12610
12611 * minibuffer.el (read-file-name): Support a list of default values
12612 in `default-filename'. Use the first file name where only one
12613 element is required. Doc fix.
12614
8fb1629f
MA
126152009-11-09 Michael Albinus <michael.albinus@gmx.de>
12616
12617 * net/dbus.el (dbus-unregister-object): Release service, if no
12618 other method is registered for it.
12619
a51203ee 126202009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
fd4489f0
CY
12621
12622 * bookmark.el (bookmark-completing-read): Sort bookmark names if
12623 bookmark-sort-flag is non-nil (Bug#4653).
12624
9bf7dc8a
CY
126252009-11-08 Chong Yidong <cyd@stupidchicken.com>
12626
15207e74
CY
12627 * emulation/cua-base.el: Add CUA property to some CC mode commands
12628 (Bug#4100).
12629
8bf7ed70
KR
126302009-11-08 Kevin Ryde <user42@zip.com.au>
12631
12632 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
9bf7dc8a 12633 at end of sentence (Bug#4818).
8bf7ed70 12634
951802d0
CY
126352009-11-08 Jared Finder <jfinder@crypticstudios.com>
12636
12637 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12638 Handle "see declaration of" MSFT statements (Bug#4100).
12639
e8244310
MA
126402009-11-08 Michael Albinus <michael.albinus@gmx.de>
12641
12642 * net/tramp.el (tramp-advice-make-auto-save-file-name)
12643 (tramp-advice-file-expand-wildcards): Unload via
12644 `ad-remove-advice'.
12645
12646 * net/trampver.el: Update release number.
12647
a51203ee 126482009-11-08 Kevin Ryde <user42@zip.com.au>
e8244310
MA
12649
12650 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
12651 `ad-do-it'.
12652
a51203ee 126532009-11-08 Andr <m00naticus@gmail.com> (tiny change)
e8244310
MA
12654
12655 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
12656 in order to keep context in SELinux.
12657
bedd8a58
CY
126582009-11-08 Chong Yidong <cyd@stupidchicken.com>
12659
12660 * dired-aux.el (dired-query): Place cursor in echo area and allow
12661 C-g.
12662
12663 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
12664 menu item if not on a directory (Bug#4701).
12665
0484d600
MA
126662009-11-07 Michael Albinus <michael.albinus@gmx.de>
12667
12668 Sync with Tramp 2.1.17.
12669
12670 * net/tramp.el (tramp-handle-copy-directory): Don't use
12671 `file-remote-p' (due to compatibility).
12672
12673 * net/tramp-compat.el (tramp-compat-copy-directory)
12674 (tramp-compat-delete-directory): New defuns.
12675
12676 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12677 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
12678 `tramp-compat-delete-directory'.
12679
12680 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5ce6e4f4 12681 (tramp-smb-handle-delete-directory): Use
0484d600
MA
12682 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12683
12684 * net/trampver.el: Update release number.
12685
b42b2189
CY
126862009-11-07 Chong Yidong <cyd@stupidchicken.com>
12687
6960d7b9
CY
12688 * tar-mode.el (tar-copy): Call write-region on the right buffer
12689 (Bug#4857).
12690
b42b2189
CY
12691 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
12692 by hand, if necessary (Bug#4878).
12693
0ad57dfd
CY
126942009-11-06 Chong Yidong <cyd@stupidchicken.com>
12695
d19e23ae
CY
12696 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
12697 align size column (Bug#4839).
12698
0ad57dfd
CY
12699 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
12700 statement.
12701
0b7f397c
DN
127022009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
12703
12704 * progmodes/ld-script.el (auto-mode-alist):
12705 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
12706
12707 * cus-face.el (custom-declare-face): Purecopy face spec.
12708
495bd5ca
KH
127092009-11-06 Kenichi Handa <handa@m17n.org>
12710
12711 * international/uni-bidi.el: Re-generated.
12712 * international/uni-category.el: Re-generated.
12713 * international/uni-combining.el: Re-generated.
12714 * international/uni-mirrored.el: Re-generated.
12715
1e8780b1
DN
127162009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
12717
12718 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
12719 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
12720 (tex-start-options, slitex-run-command, latex-run-command)
12721 (tex-run-command, tex-directory):
12722 * textmodes/ispell.el (ispell-html-skip-alists)
12723 (ispell-tex-skip-alists, ispell-tex-skip-alists):
12724 * textmodes/fill.el (adaptive-fill-first-line-regexp):
12725 (adaptive-fill-regexp):
12726 * textmodes/dns-mode.el (auto-mode-alist):
12727 * progmodes/python.el (interpreter-mode-alist):
12728 * progmodes/etags.el (tags-compression-info-list):
12729 * progmodes/etags.el (tags-file-name):
12730 * net/browse-url.el (browse-url-galeon-program)
12731 (browse-url-firefox-program):
12732 * mail/sendmail.el (mail-signature-file)
12733 (mail-citation-prefix-regexp):
12734 * international/mule-conf.el (eight-bit):
12735 * international/latexenc.el (latex-inputenc-coding-alist):
12736 * international/fontset.el (x-pixel-size-width-font-regexp):
12737 * emacs-lisp/warnings.el (warning-type-format):
12738 * emacs-lisp/trace.el (trace-buffer):
12739 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
12740 (emacs-lisp-mode-map):
12741 * calendar/holidays.el (holiday-solar-holidays)
12742 (holiday-bahai-holidays, holiday-islamic-holidays)
12743 (holiday-christian-holidays, holiday-hebrew-holidays)
12744 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
12745 (hebrew-holidays-1, holiday-oriental-holidays)
12746 (holiday-general-holidays):
12747 * x-dnd.el (x-dnd-known-types):
12748 * tool-bar.el (tool-bar):
12749 * startup.el (site-run-file):
12750 * shell.el (shell-dumb-shell-regexp):
12751 * rfn-eshadow.el (file-name-shadow-tty-properties)
12752 (file-name-shadow-properties):
12753 * paths.el (remote-shell-program, news-directory):
12754 * mouse.el ([C-down-mouse-3]):
12755 * menu-bar.el (menu-bar-tools-menu):
12756 * jka-cmpr-hook.el (jka-compr-load-suffixes)
12757 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
12758 (jka-compr-compression-info-list):
12759 * isearch.el (search-whitespace-regexp):
12760 * image-file.el (image-file-name-extensions):
12761 * find-dired.el (find-ls-option):
12762 * files.el (directory-listing-before-filename-regexp)
12763 (directory-free-space-args, insert-directory-program)
12764 (list-directory-brief-switches, magic-fallback-mode-alist)
12765 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
12766 (automount-dir-prefix):
12767 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
12768 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
12769 (face-font-registry-alternatives, face-font-registry-alternatives)
12770 (face-font-family-alternatives):
12771 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
12772 (facemenu-foreground-menu, facemenu-face-menu):
12773 * epa-hook.el (epa-file-name-regexp):
12774 * dnd.el (dnd-protocol-alist):
12775 * textmodes/rst.el (auto-mode-alist):
a51203ee 12776 * button.el (default-button): Purecopy strings.
1e8780b1 12777
0adae11f
GM
127782009-11-06 Glenn Morris <rgm@gnu.org>
12779
12780 * Makefile.in (ELCFILES): Update.
12781
2adaf057
SM
127822009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
12783
8f72f03c
SM
12784 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
12785 * emacs-lisp/levents.el: Move to obsolete/levents.el.
12786
2adaf057
SM
12787 * nxml/xsd-regexp.el (xsdre-gen-categories):
12788 * nxml/xmltok.el (xmltok-parse-entity):
12789 * nxml/rng-parse.el (rng-parse-validate-file):
12790 * nxml/rng-maint.el (rng-format-manual)
12791 (rng-manual-output-force-new-line):
12792 * nxml/rng-loc.el (rng-save-schema-location-1):
12793 * nxml/rng-cmpct.el (rng-c-parse-file):
12794 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
12795 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
12796
14862301
SM
127972009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
12798
bf0b361c 12799 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14862301
SM
12800 Remove extra save-excursions and make-variable-buffer-local's.
12801 Suggested by Stefan Monnier.
12802
12803 (verilog-getopt-file, verilog-module-inside-filename-p)
12804 (verilog-set-define): Merge GNU 1.35 and repair changes from
12805 switching to using with-current-buffer.
12806
12807 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
12808 being treated as a number and confusing AUTORESET.
12809 Reported by Dan Dever.
12810
12811 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
12812 Add verilog-auto-ignore-concat to fix backward compatibility with
12813 older verilog-modes. Reported by Dan Katz.
12814
12815 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
12816 containing closing anchors "...$".
12817
12818 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
12819 Reported by Wade Smith.
12820
48c2d18a 12821 (verilog-batch-execute-func): Comment on function usage.
14862301
SM
12822
128232009-11-05 Michael McNamara <mac@mail.brushroad.com>
12824
bf0b361c
JB
12825 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
12826 for labels.
14862301
SM
12827
12828 (verilog-label-re, verilog-calc-1): Support proper indent of named
12829 asserts.
12830
12831 (verilog-backward-token, verilog-basic-complete-re)
12832 (verilog-beg-of-statement, verilog-indent-re): Support proper
12833 indent of the assert statement at the beginning of a block of text.
12834
12835 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
12836 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
12837 tokens as begins.
12838
4f8f657f
GM
128392009-11-05 Glenn Morris <rgm@gnu.org>
12840
775adc51
GM
12841 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
12842 Emacs 19. (Bug#1531)
12843 (byte-compile-fix-header): Update for the above change.
12844 Drop test for epoch::version.
12845
4ad6a5e7 12846 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
60878f2d
GM
12847 * cus-dep.el (custom-make-dependencies):
12848 * finder.el (finder-compile-keywords):
12849 Use autoload-rubric's feature argument.
4ad6a5e7 12850
4f8f657f
GM
12851 * calendar/diary-lib.el (top-level): Make load behave more like require.
12852
881e4184
GM
12853 * vc-git.el (vc-git-stash-map): Move definition before use.
12854
ba214964 128552009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
f6195dfb 12856
b6f8ba09
DN
12857 * custom.el (custom-declare-group): Purecopy standard-value.
12858 (custom-declare-group): Purecopy custom-prefix.
12859
7fdbcd83
SM
12860 * international/mule.el (load-with-code-conversion):
12861 Call do-after-load-evaluation unconditionally.
eb6f577b 12862
f6195dfb
DN
12863 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
12864
56f14120
SM
128652009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
12866
12867 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
12868
e5c89ce9
GM
128692009-11-04 Glenn Morris <rgm@gnu.org>
12870
12871 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
12872 (byte-compile-compatibility): Remove option.
12873 (byte-compile-close-variables, byte-compile-fix-header)
12874 (byte-compile-insert-header, byte-compile-output-docform)
12875 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
12876 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
12877 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
12878 (byte-compile-insert, byte-compile-defun):
12879 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
eef899a9
GM
12880 (byte-defop-compiler19): Remove.
12881 Without byte-compile-compatibility, the 'emacs19-opcode property is not
12882 used by anything. Replace all calls with byte-defop-compiler.
e5c89ce9 12883
e24f42ab
JL
128842009-11-04 Juri Linkov <juri@jurta.org>
12885
12886 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
12887 (menu-bar-options-menu): Don't quote the `prop' arg of
12888 `menu-bar-make-mm-toggle'.
12889
d3d5f4f5
JB
128902009-11-04 Juanma Barranquero <lekktu@gmail.com>
12891
12892 * calendar/calendar.el (cal-loaddefs):
12893 * calendar/diary-lib.el (diary-loaddefs):
12894 * calendar/holidays.el (hol-loaddefs):
12895 * eshell/esh-module.el (esh-groups): Load rather than require.
12896
6e39d3b2
SM
128972009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
12898
e96d62cd
SM
12899 * calendar/todo-mode.el (todo-add-category): Don't hardcode
12900 point-min==1.
7e83e8b4
SM
12901 (todo-top-priorities): Only display-buffer when called interactively.
12902 (todo-item-start): Don't save excursion point.
12903 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
12904 (todo-insert-item-here, todo-file-item, todo-remove-item):
12905 Adjust uses of todo-item-start and todo-item-end.
12906
fae4e5b9
SM
12907 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
12908 (autoload-rubric): Don't use any more.
fae4e5b9 12909
6e39d3b2
SM
12910 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
12911 and only put a prop if it is non-nil.
12912
c9753fb4
JL
129132009-11-03 Juri Linkov <juri@jurta.org>
12914
12915 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
12916 (menu-bar-options-menu): Fix list quoting (Bug#4429).
12917
12918 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
12919 and "Menu" to make top-level menu item visually one unit (like
12920 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
12921 multi-word menu items). Fix :help string for quit-window.
12922
db04f33f
GM
129232009-11-03 Glenn Morris <rgm@gnu.org>
12924
2aea6521
GM
12925 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
12926 (byte-compile-file-form-define-abbrev-table)
12927 (byte-compile-file-form-custom-declare-variable)
12928 (byte-compile-variable-ref, byte-compile-defvar):
12929 Whether or not a warning is enabled should only affect whether we issue
12930 the warning, not whether or not we collect the relevant data.
12931 Eg warnings can be turned on and off throughout the course of a file.
12932
db04f33f
GM
12933 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
12934 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
12935
937e6a56
SM
129362009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
12937
12938 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
12939 * play/mpuz.el (mpuz-create-buffer):
12940 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
12941 (lm-print-y,s,noise, lm-print-w0, lm-init):
12942 * play/gomoku.el (gomoku-prompt-for-move):
12943 * play/fortune.el (fortune-in-buffer):
12944 * play/dissociate.el (dissociated-press):
12945 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
5ce6e4f4 12946 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
937e6a56
SM
12947 * mail/supercite.el (sc-eref-show):
12948 * mail/smtpmail.el (smtpmail-send-it):
12949 * mail/rmailsum.el (rmail-summary-next-labeled-message)
12950 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
12951 (rmail-summary-undelete-many, rmail-summary-rmail-update)
12952 (rmail-summary-goto-msg, rmail-summary-expunge)
12953 (rmail-summary-get-new-mail, rmail-summary-search-backward)
12954 (rmail-summary-add-label, rmail-summary-output-menu)
12955 (rmail-summary-output-body):
12956 * mail/rfc822.el (rfc822-addresses):
12957 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
12958 * mail/mailpost.el (post-mail-send-it):
12959 * mail/hashcash.el (hashcash-generate-payment):
12960 * mail/feedmail.el (feedmail-run-the-queue)
12961 (feedmail-queue-send-edit-prompt-help-first)
12962 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
12963 (feedmail-deduce-address-list):
12964 * eshell/esh-ext.el (eshell-remote-command):
12965 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
12966 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
12967 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
12968 (viper-save-string-in-file, viper-valid-marker):
12969 * emulation/viper-keym.el (viper-toggle-key):
12970 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
12971 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
12972 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
12973 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12974 (viper-exec-form-in-emacs, viper-brac-function):
12975 * emulation/viper.el (viper-delocalize-var):
12976 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
12977 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
12978 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
12979 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
12980 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
12981 * emulation/edt.el (edt-electric-helpify):
12982 * emulation/cua-rect.el (cua--rectangle-aux-replace):
12983 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
12984 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
12985 (cua-indent-to-global-mark-column):
12986 * calendar/diary-lib.el (calendar-mark-1):
12987 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
12988 Use with-current-buffer.
12989 * emulation/viper.el (viper-delocalize-var): Use dolist.
12990
5b955562
CY
129912009-11-03 Chong Yidong <cyd@stupidchicken.com>
12992
12993 * comint.el (comint-replace-by-expanded-history-before-point):
12994 Replace !! with the previous input string literally (Bug#1795).
12995
6292c599
JB
129962009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
12997
12998 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
12999 to be made up of whitespace.
13000
8368c14e
CY
130012009-11-02 Chong Yidong <cyd@stupidchicken.com>
13002
13003 * minibuffer.el (read-file-name): Don't use file dialogs for
13004 remote directories (Bug#99).
13005
6f750f0d
CY
130062009-11-01 Chong Yidong <cyd@stupidchicken.com>
13007
13008 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13009
97ab3f47
AS
130102009-11-01 Andreas Schwab <schwab@linux-m68k.org>
13011
13012 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13013 instead of deleting the window or frame.
13014
673c1168
CY
130152009-10-31 Chong Yidong <cyd@stupidchicken.com>
13016
13017 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13018 Support face colors.
13019
937e6a56
SM
13020 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13021 New function. Support face colors (Bug#1168).
673c1168
CY
13022 (tex-common-initialization): Use it.
13023
13024 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13025 mode allows it (Bug#1168).
13026
c9349f0a
CY
130272009-10-31 Juri Linkov <juri@jurta.org>
13028
13029 * facemenu.el (list-colors-display): Don't mark buffer as
13030 modified (Bug#3948).
13031
ebf5c4f5
CY
130322009-10-31 Chong Yidong <cyd@stupidchicken.com>
13033
5c2dce75
CY
13034 * international/mule-diag.el (list-character-sets-1): Minor
13035 message fix (Bug#3526).
13036
26581f0e
CY
13037 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
13038 face property (Bug#4834).
13039 (etags-list-tags, etags-tags-apropos-additional)
13040 (etags-tags-apropos, tags-select-tags-table): Add follow-link
13041 property.
13042
ebf5c4f5
CY
13043 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13044 items.
13045
9a529312
SM
130462009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
13047
13048 * textmodes/two-column.el (2C-split):
13049 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13050 * textmodes/tex-mode.el (tex-set-buffer-directory):
13051 * textmodes/spell.el (spell-region, spell-string):
13052 * textmodes/reftex.el (reftex-erase-buffer):
13053 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13054 * textmodes/reftex-toc.el (reftex-toc-promote-action):
13055 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13056 (reftex-select-item):
13057 * textmodes/reftex-ref.el (reftex-label-info-update)
13058 (reftex-offer-label-menu):
13059 * textmodes/reftex-index.el (reftex-index-change-entry)
13060 (reftex-index-phrases-info):
13061 * textmodes/reftex-global.el (reftex-create-tags-file)
13062 (reftex-save-all-document-buffers, reftex-ensure-write-access):
13063 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13064 (reftex-view-crossref-from-bibtex):
13065 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13066 (reftex-extract-bib-entries-from-thebibliography)
13067 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13068 * textmodes/refbib.el (r2b-capitalize-title):
13069 (r2b-convert-buffer, r2b-help):
13070 * textmodes/page-ext.el (pages-directory)
13071 (pages-directory-goto-with-mouse):
13072 * textmodes/bibtex.el (bibtex-validate-globally):
13073 * textmodes/bib-mode.el (bib-capitalize-title):
13074 * textmodes/artist.el (artist-clear-buffer, artist-system):
13075 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13076 (local-set-scheme-interaction-buffer, xscheme-process-filter)
13077 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13078 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13079 (xscheme-send-control-g-interrupt, xscheme-start-process)
13080 (xscheme-process-sentinel, xscheme-cd):
13081 * progmodes/verilog-mode.el (verilog-read-always-signals)
13082 (verilog-set-define, verilog-getopt-file)
13083 (verilog-module-inside-filename-p):
13084 * progmodes/sh-script.el:
13085 * progmodes/python.el (python-pdbtrack-get-source-buffer)
13086 (python-pdbtrack-grub-for-buffer, python-execute-file):
13087 * progmodes/octave-inf.el (inferior-octave):
13088 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13089 (idlwave-shell-compile-helper-routines, idlwave-set-local)
13090 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13091 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13092 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13093 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13094 (idlwave-shell-filter, idlwave-shell-examine-highlight)
13095 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13096 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13097 (idlwave-shell-examine-display, idlwave-shell-run-region)
13098 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13099 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13100 * progmodes/idlw-help.el (idlwave-help-get-special-help)
13101 (idlwave-help-get-help-buffer):
13102 * progmodes/gud.el (gud-basic-call, gud-find-class)
13103 (gud-tooltip-activate-mouse-motions-if-enabled):
13104 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13105 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13106 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13107 (ebrowse-tags-next-file):
13108 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13109 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13110 (ebnf-eps-finish-and-write):
13111 * progmodes/cpp.el (cpp-edit-save):
13112 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13113 * progmodes/cc-defs.el (c-emacs-features):
13114 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13115 (antlr-directory-dependencies):
13116 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13117 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13118 (ada-find-any-references, ada-make-filename-from-adaname)
13119 (ada-make-body-gnatstub):
13120 * obsolete/rnews.el (news-list-news-groups):
5ce6e4f4 13121 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
9a529312
SM
13122 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13123 * net/rcirc.el (rcirc-debug):
13124 * net/newst-treeview.el (newsticker--treeview-list-add-item)
13125 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13126 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13127 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
5ce6e4f4 13128 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
9a529312
SM
13129 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13130 (newsticker--treeview-list-clear-highlight)
13131 (newsticker--treeview-list-update-highlight)
13132 (newsticker--treeview-list-highlight-start)
13133 (newsticker--treeview-tree-update-highlight)
13134 (newsticker--treeview-get-selected-item)
13135 (newsticker-treeview-mark-list-items-old)
13136 (newsticker--treeview-set-current-node):
13137 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13138 * net/newst-backend.el (newsticker--get-news-by-funcall)
13139 (newsticker--get-news-by-wget, newsticker--image-get)
13140 (newsticker--image-sentinel):
13141 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13142 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13143 (eudc-ph-close-session):
13144 * net/eudc.el (eudc-save-options):
13145 * language/thai-word.el (thai-update-word-table):
13146 * language/japan-util.el (japanese-string-conversion):
13147 * international/titdic-cnv.el (tsang-quick-converter)
13148 (ziranma-converter, ctlau-converter):
13149 * international/mule-cmds.el (describe-language-environment):
13150 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13151 (skkdic-convert-postfix, skkdic-convert-prefix):
13152 (skkdic-convert-okuri-nasi, skkdic-convert):
13153 * emacs-lisp/re-builder.el (reb-update-overlays):
13154 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13155 * emacs-lisp/gulp.el (gulp-send-requests):
13156 * emacs-lisp/find-gc.el (trace-call-tree):
13157 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13158 (eieio-describe-generic):
13159 * emacs-lisp/eieio-base.el (eieio-persistent-read):
13160 * emacs-lisp/edebug.el (edebug-outside-excursion):
13161 * emacs-lisp/debug.el (debugger-make-xrefs):
13162 * emacs-lisp/cust-print.el (custom-prin1-to-string):
13163 * emacs-lisp/chart.el (chart-new-buffer):
13164 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13165 Use with-current-buffer.
13166 * textmodes/artist.el (artist-system): Don't call
13167 copy-sequence on a fresh string.
13168 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13169
d566f228
GM
131702009-10-31 Stephen Berman <stephen.berman@gmx.net>
13171
13172 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
1c2efdfb 13173 is no item to edit. (Bug#4820)
d566f228 13174 (todo-top-priorities): Restore point and restore narrowing in Todo
1c2efdfb 13175 buffer. (Bug#4820)
d566f228 13176
f3628edd
GM
131772009-10-31 Glenn Morris <rgm@gnu.org>
13178
5cf3709c
GM
13179 * net/ange-ftp.el (top-level): Don't require dired when compiling.
13180 (comint-last-output-start, comint-last-input-start)
13181 (comint-last-input-end): Don't defvar when compiling.
13182 (ange-ftp-process-file): Use bound-and-true-p.
13183
4c814fd2
GM
13184 * pcmpl-rpm.el (top-level): Move provide statement to end.
13185 (pcmpl-rpm): Remove unused custom group.
13186
113b8dcc
GM
13187 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13188
31c615e4
GM
13189 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13190
416d3588
GM
13191 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13192 (byte-compile-warnings): Add `constants' as an option.
13193 (byte-compile-callargs-warn, byte-compile-arglist-warn)
13194 (display-call-tree): Update for byte-compile-fdefinition possibly
13195 returning `(macro lambda ...)'. (Bug#4778)
13196 (byte-compile-variable-ref, byte-compile-setq-default):
13197 Respect `constants' member of byte-compile-warnings.
13198
00f71f39
SM
131992009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13200
13201 * vc-bzr.el (vc-bzr-revision-keywords): New var.
13202 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13203 to "submit:".
13204
ca0a881a
DN
132052009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
13206
13207 * textmodes/ispell.el (ispell-skip-region-alist):
13208 * international/mule-conf.el (eight-bit):
13209 * international/fontset.el (font-encoding-alist):
13210 * startup.el (pure-space-overflow-message):
13211 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13212 * paths.el (gnus-nntp-service, rmail-spool-directory)
13213 (term-file-prefix):
13214 * files.el (save-some-buffers-action-alist):
13215 * cmuscheme.el (same-window-buffer-names):
13216 * ielm.el (same-window-buffer-names):
13217 * shell.el (same-window-buffer-names):
13218 * mail/sendmail.el (same-window-buffer-names):
13219 * progmodes/inf-lisp.el (same-window-buffer-names):
13220 * bindings.el (mode-line-client)
13221 (mode-line-column-line-number-mode-map):
13222 * language/tibetan.el (tibetan-precomposition-rule-regexp)
13223 (tibetan-precomposed-regexp): Purecopy string arguments.
13224
b861e45e
SM
132252009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13226
6df9b6d7
SM
13227 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13228 (calcDigit-nondigit):
13229 * calc/calc-yank.el (calc-copy-to-buffer):
13230 * calc/calc-units.el (calc-invalidate-units-table):
13231 * calc/calc-trail.el (calc-trail-yank):
13232 * calc/calc-store.el (calc-insert-variables):
13233 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13234 * calc/calc-prog.el (calc-read-parse-table):
13235 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13236 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13237 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13238 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13239 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13240 (calc-graph-name, calc-graph-find-command, calc-graph-view)
13241 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13242 * calc/calc-ext.el (calc-realign):
13243 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13244 (calc-embedded-finish-edit, calc-embedded-make-info)
13245 (calc-embedded-finish-command, calc-embedded-stack-change):
13246 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13247
70f44c65
SM
13248 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13249 shell-dynamic-complete-filename in preference to
13250 comint-dynamic-complete-filename.
13251
b861e45e
SM
13252 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13253 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13254 Don't consider whether the display supports colors.
13255 (bookmark-import-new-list): Use dolist.
13256 (bookmark-bmenu-mode-map): Move initialization into declaration.
13257 (bookmark-bmenu-list): Use dolist, simplify.
13258 (bookmark-show-all-annotations): Use save-selected-window and dolist.
13259 (menu-bar-final-items): Use push.
13260
8549241d 132612009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
cc63d28f
SM
13262
13263 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13264 it works on remote files.
13265 (vc-hg-diff): Don't pass any `--cwd' argument.
13266
30644573
KR
132672009-10-27 Kevin Ryde <user42@zip.com.au>
13268
cc63d28f
SM
13269 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13270 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
30644573
KR
13271 (Further to Bug#3921).
13272
9be01a63
MA
132732009-10-27 Michael Albinus <michael.albinus@gmx.de>
13274
13275 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13276 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13277 calling `tramp-imap-put-file'. Add file size to the call.
13278 (tramp-imap-get-file-entries): Compute also user name, file size,
13279 and date.
13280 (tramp-imap-handle-insert-directory): Insert uid and gid.
13281 (tramp-imap-handle-file-attributes): Transform uid and gid
13282 according to `id-format'.
13283 (tramp-imap-put-file): New optional parameter SIZE. Encode file
13284 size in header X-Size.
13285
41849bf9
JB
132862009-10-26 Juanma Barranquero <lekktu@gmail.com>
13287
13288 * simple.el (transpose-subr): Give clearer error when the mark
13289 is not set. (Bug#4807)
13290
293c24f9
MA
132912009-10-26 Michael Albinus <michael.albinus@gmx.de>
13292
cc63d28f
SM
13293 * net/tramp.el (tramp-perl-file-truename): New defconst.
13294 Perl code contributed by yary <not.com@gmail.com> (tiny change).
293c24f9 13295 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
cc63d28f
SM
13296 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13297 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
293c24f9 13298
cc63d28f
SM
13299 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13300 Ignore `dired-call-process'.
293c24f9
MA
13301 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13302
133032009-10-26 Julian Scheid <julians37@gmail.com>
13304
cc63d28f 13305 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
293c24f9
MA
13306 (tramp-get-remote-readlink): New defun.
13307 (tramp-handle-file-truename): Use it.
13308 (tramp-handle-file-exists-p): Check file-attributes cache, assume
13309 file exists if cache value present.
48c2d18a 13310 (tramp-check-cached-permissions): New defun.
293c24f9
MA
13311 (tramp-handle-file-readable-p): Use it.
13312 (tramp-handle-file-writable-p): Likewise.
13313 (tramp-handle-file-executable-p): Likewise.
13314 (tramp-handle-file-name-all-completions): Try using Perl to get
13315 partial completions. When perl not available, combine `cd' and
13316 `ls' into single remote operation and use shell expansion to get
13317 partial remote directory contents. Set `file-exists-p' cache for
13318 directory and any files returned by ls. Change cache handling to
13319 support partial directory contents. Use error message emitted by
13320 remote `cd' or Perl code for local tramp-error.
13321 (tramp-do-copy-or-rename-file-directly): Avoid separate
13322 tramp-send-command-and-check call.
cc63d28f
SM
13323 (tramp-handle-process-file): Merge three remote ops into one.
13324 Do not flush all caches when `process-file-side-effects' is set.
293c24f9
MA
13325 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13326 file-attributes shows uid/gid to be set already.
13327
a7610c52
DN
133282009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
13329
13330 * textmodes/tex-mode.el (tex-dvi-view-command)
13331 (tex-show-queue-command, tex-open-quote):
13332 * progmodes/ruby-mode.el (auto-mode-alist)
13333 (interpreter-mode-alist): Purecopy strings.
13334
13335 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
13336
13337 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
13338 string for the hook, keymap and abbrev table.
13339
13340 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
13341
13342 * x-dnd.el (x-dnd-xdnd-to-action):
13343 * startup.el (fancy-startup-text, fancy-about-text): Change to
13344 defconst from defvar.
13345
13346 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
13347
13348 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
13349 Purecopy initialization strings.
13350
13351 * mail/sendmail.el (mail-header-separator)
13352 (mail-personal-alias-file):
13353 * mail/rmail.el (rmail-default-dont-reply-to-names)
13354 (rmail-ignored-headers, rmail-retry-ignored-headers)
13355 (rmail-highlighted-headers, rmail-secondary-file-directory)
13356 (rmail-secondary-file-regexp):
13357 * files.el (null-device, file-name-invalid-regexp)
13358 (locate-dominating-stop-dir-regexp)
cc63d28f 13359 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
a7610c52
DN
13360 (interpreter-mode-alist): Use mapcar instead of mapc.
13361
13362 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
13363
13364 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
13365 (completion-ignored-extensions):
13366 (debug-ignored-errors): Purecopy strings.
13367
4fcc3d32
SM
133682009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13369
0667de21
SM
13370 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
13371 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
13372 (pcomplete--here): Use push.
13373
4fcc3d32
SM
13374 * subr.el (all-completions): Declare the 4th arg obsolete.
13375
955ef430
SM
133762009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13377
2d085307
SM
13378 * pcomplete.el (pcomplete-unquote-argument-function): New var.
13379 (pcomplete-unquote-argument): New function.
13380 (pcomplete--common-suffix): Always pay attention to case.
13381 (pcomplete--table-subvert): Quote and unquote the text.
13382 (pcomplete--common-quoted-suffix): New function.
13383 (pcomplete-std-complete): Use it and pcomplete-begin.
13384
955ef430
SM
13385 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
13386 we're inside a dedicated or minibuffer window.
13387
7c85c02b
KF
133882009-10-24 Karl Fogel <kfogel@red-bean.com>
13389
13390 * bookmark.el: Update documentation, especially documentation
13391 of `bookmark-alist' and of the bookmark file format.
13392 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
13393
3e8ae8a6
CY
133942009-10-24 Chong Yidong <cyd@stupidchicken.com>
13395
3e425845
CY
13396 * mail/emacsbug.el (report-emacs-bug): Clarify that the
13397 keybindings apply to the mail buffer (Bug#4003). Shrink help
13398 window to buffer.
13399
cdd47d48
CY
13400 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13401 (global-whitespace-mode, global-whitespace-newline-mode)
955ef430
SM
13402 (whitespace-toggle-options, global-whitespace-toggle-options):
13403 Doc fix (Bug#3660).
cdd47d48 13404
ba07c9ad
CY
13405 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
13406 of xmltok-start before the end tag was inserted (Bug#2840).
13407
3e8ae8a6
CY
13408 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13409 patterns that are preceded by an open-paren (Bug#1320).
13410
ab276820
CY
134112009-10-24 Sven Joachim <svenjoac@gmx.de>
13412
13413 * files.el (delete-directory): Delete symlinks to directories with
13414 delete-file (Bug#4739).
13415
905a9ed3
DN
134162009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
13417
a9a2a6db
DN
13418 * vc.el (vc-backend-for-registration): Rename from
13419 vc-get-backend-for-registration. Update callers.
13420
cc63d28f
SM
13421 * international/mule-cmds.el (set-language-info-alist):
13422 Purecopy lang-env.
905a9ed3
DN
13423 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
13424 (charset): Purecopy the name.
13425 (define-char-code-property): Purecopy string arguments.
13426
13427 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13428 Purecopy string arguments.
13429
13430 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13431 * ediff-hook.el (menu-bar-ediff-menu):
13432 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
13433 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
13434
d270305a
GM
134352009-10-24 Glenn Morris <rgm@gnu.org>
13436
6c74d523 13437 * comint.el (comint-dynamic-list-completions):
656fc5f5
GM
13438 * term.el (term-dynamic-list-completions): Use choose-completion rather
13439 than obsolete alias mouse-choose-completion.
13440
ae732337
GM
13441 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
13442 file-cache-choose-completion.
13443 (file-cache-choose-completion): Handle an optional event argument.
13444 (file-cache-mouse-choose-completion): Make it an obsolete alias.
13445
cc63d28f
SM
13446 * progmodes/octave-mod.el (octave-complete-symbol):
13447 Use choose-completion if mouse-choose-completion is ever removed.
ae480838 13448
9847dc91
GM
13449 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
13450 use.
13451
e8f2a5d5
GM
13452 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
13453 compiler.
13454
d270305a
GM
13455 * vc-hooks.el (vc-responsible-backend): Fix declaration.
13456
c6432f1e
SM
134572009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13458
13459 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
13460 Ignore `pred' now that we receive one.
13461 Handle test-completion specially.
13462
6ab196f9
DN
134632009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13464
13465 * vc.el (vc-responsible-backend): Throw an error if not backend is
1c2efdfb 13466 found. Remove the REGISTER argument. Move the code dealing with
6ab196f9
DN
13467 REGISTER ...
13468 (vc-get-backend-for-registration): ... here. New function.
13469 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
13470 of vc-responsible-backend, pass the file name instead of the
13471 directory name.
13472
48feed59
SM
134732009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
13474
13475 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
13476 New funs.
13477 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
13478 (pcomplete-comint-setup): Don't modify a global var via
13479 accidental side-effects.
13480 (pcomplete-shell-setup): Adjust call accordingly.
13481 (pcomplete-parse-comint-arguments): Use push.
13482
00006066
CY
134832009-10-23 Chong Yidong <cyd@stupidchicken.com>
13484
36bfa3af
CY
13485 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13486 Allow uncapitalized info node names (Bug#3921).
13487
00006066
CY
13488 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
13489 to the DEBUG file (Bug#3781).
13490
aa311d6e
CY
134912009-10-23 Jari Aalto <jari.aalto@cante.net>
13492
13493 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
13494 dictionary entry (Bug#4579).
13495
b88f2d0a
MA
134962009-10-23 Michael Albinus <michael.albinus@gmx.de>
13497
13498 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
13499 from `rfn-eshadow-update-overlay-hook' when unloading.
13500 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
13501 "rsyncc". Adjust doc string.
48c2d18a 13502 (tramp-temp-buffer-file-name): New buffer-local defvar.
b88f2d0a
MA
13503 (tramp-handle-insert-file-contents, tramp-handle-write-region):
13504 Keep temporary file when indicated by method ("rsync" and
13505 "rsyncc").
13506 (tramp-handle-write-region): Handle APPEND.
13507 (tramp-delete-temp-file-function): New defun. Added to
13508 `kill-buffer-hook'.
13509
1becddbb
JB
135102009-10-23 Juanma Barranquero <lekktu@gmail.com>
13511
13512 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
13513
8f43cbf3
DN
135142009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
13515
13516 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
13517 (color-name-rgb-alist, tty-standard-colors)
13518 (tty-color-mode-alist): Change to defconst.
13519
13520 * simple.el (mark-inactive): Purecopy message.
13521
13522 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
13523 (global-map, yank-menu):
13524 * textmodes/ispell.el (ispell-menu-map):
13525 * net/eudc.el (eudc-tools-menu):
13526 * international/mule-cmds.el (describe-language-environment-map)
13527 (setup-language-environment-map, set-coding-system-map)
13528 (mule-menu-keymap):
13529 * vc-hooks.el (vc-menu-entry, vc-menu-map):
13530 * replace.el (occur-mode-map):
13531 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
13532
1d228a31
JB
135332009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
13534
13535 * calc/calc.el (math-read-number, math-read-number-simple): Use
13536 `save-match-data'.
13537
3b067af1
SM
135382009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13539
28a90c44
SM
13540 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
13541 rather than fiddling with global-map bindings, since it should only
13542 affect per-terminal settings.
13543 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
13544
a452eee8
SM
13545 * minibuffer.el (completion-table-with-terminator): Allow to specify
13546 the terminator-regexp.
13547
ab14d7d5
SM
13548 * simple.el (switch-to-completions): Look for *Completions* in other
13549 frames as well.
13550
3b067af1
SM
13551 * pcomplete.el: Allow the use of completion-tables.
13552 (pcomplete-std-complete): New command.
13553 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
13554 (pcomplete--here): Use a function for `form' rather than an expression,
13555 so it can be byte-compiled.
13556 (pcomplete-here, pcomplete-here*): Adjust accordingly.
13557 Add edebug declaration.
13558 (pcomplete-show-completions): Remove unused var `curbuf'.
13559 (pcomplete-do-complete, pcomplete-stub):
1becddbb 13560 Don't assume `completions' is a list of strings any more.
3b067af1 13561
5480359e
JB
135622009-10-22 Juanma Barranquero <lekktu@gmail.com>
13563
13564 * find-dired.el (find-name-arg): Fix typo in docstring.
13565
3170b794
SM
135662009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
13567
48c23a25
SM
13568 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
13569 (pcmpl-linux-fs-types): Same, and update to new modules layout.
13570
56b14058
SM
13571 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
13572 pcomplete-entries.
13573
3170b794
SM
13574 * comint.el (comint-read-input-ring, comint-write-input-ring)
13575 (comint-substitute-in-file-name)
13576 (comint-dynamic-complete-as-filename)
13577 (comint-dynamic-simple-complete)
13578 (comint-dynamic-list-filename-completions)
13579 (comint-dynamic-list-completions)
13580 (comint-redirect-results-list-from-process): Minor simplifications.
13581
2affef34
KR
135822009-10-21 Kevin Ryde <user42@zip.com.au>
13583
3170b794
SM
13584 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
13585 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
2affef34 13586 the first form. And insert a blank line after ";;; Code" since
d8194864 13587 that's usual style. (Bug#4612)
2affef34 13588
e7b94bbb
KR
13589 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
13590
528c56e2
SM
135912009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13592
13593 * minibuffer.el (completion-table-with-terminator): Properly implement
13594 boundaries, in case `terminator' appears in the suffix.
13595 (completion--embedded-envvar-table): Don't return boundaries if
13596 there's no valid completion. Simplify.
13597 (completion-file-name-table): New completion table extracted from
13598 completion--file-name-table.
13599 (completion--file-name-table): Use it.
13600 (read-file-name-predicate): Declare obsolete.
13601 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
13602 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
13603 completion-file-name-table, and use the `pred' argument.
13604 * files.el (locate-file-completion-table): Use the `pred' arg rather
13605 than read-file-name-predicate.
13606 (abbreviate-file-name): Use \` rather than ^ for BOS.
13607
f9ed9b4f
DN
136082009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
13609
13610 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
13611 vc-responsible-backend to register, it causes problems.
13612
5f2022a3
SM
136132009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13614
13615 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
13616
fc754ea1
MA
136172009-10-21 Michael Albinus <michael.albinus@gmx.de>
13618
13619 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
13620 (tramp-smb-handle-file-attributes): Use it.
13621 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
13622 (tramp-smb-handle-insert-directory): Use `mapc' rather than
5f2022a3
SM
13623 `mapcar'. Use `tramp-smb-get-stat-capability'.
13624 Add `dired-filename' text properties.
fc754ea1
MA
13625 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
13626 (tramp-smb-maybe-open-connection): Simplify check for smbclient
13627 version.
13628
79bd5ba1
SM
136292009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
13630
13631 * subr.el (read-key-delay): Reduce to 0.01.
13632 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
13633 (bug#4751).
13634
3c13704d
SM
136352009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13636
554efd10
SM
13637 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
13638
c2a37b78
SM
13639 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
13640 (Info-menu): Remove unused vars `last' and `completions'.
13641 (Info-index-nodes): Remove unused var `node'.
13642
3c13704d
SM
13643 * info.el (Info-complete-menu-item): Use complete-with-action.
13644
d1e4c403
DN
136452009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
13646
13647 Make vc-annotate work through copies and renames.
3c13704d
SM
13648 * vc-annotate.el (vc-annotate-extract-revision-at-line):
13649 Return the file name too.
d1e4c403
DN
13650 (vc-annotate-revision-at-line)
13651 (vc-annotate-find-revision-at-line)
13652 (vc-annotate-revision-previous-to-line)
13653 (vc-annotate-show-log-revision-at-line): Update to get the file
13654 name from vc-annotate-extract-revision-at-line.
13655 (vc-annotate-show-diff-revision-at-line-internal): Change the
13656 argument to mean whether to show a file diff or not. Get the file
13657 name from vc-annotate-extract-revision-at-line.
3c13704d
SM
13658 (vc-annotate-show-diff-revision-at-line):
13659 Update vc-annotate-show-diff-revision-at-line call.
d1e4c403
DN
13660 (vc-annotate-warp-revision): Add an optional file argument.
13661
13662 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
13663 (vc-git-annotate-extract-revision-at-line): Also return the file
13664 name if found.
13665
13666 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
13667 command. Remove unused code.
13668 (vc-hg-annotate-re): Update to match --follow output.
13669 (vc-hg-annotate-extract-revision-at-line): Also return the file
13670 name if found.
13671
13672 * vc.el: Update annotate-extract-revision-at-line documentation.
13673
b0b0ef98
KR
136742009-10-18 Kevin Ryde <user42@zip.com.au>
13675
13676 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
13677 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
13678
a9e7f03d
KR
13679 * net/browse-url.el (browse-url): Identify alist with "consp and
13680 not functionp" and let all other things go down the `apply' leg,
13681 as suggested by Stefan. (Further to bug#4531.)
13682
7346a407
CY
136832009-10-18 Chong Yidong <cyd@stupidchicken.com>
13684
13685 * minibuffer.el (read-file-name): Check for repeat before putting
13686 a default argument in file-name-history (Bug#4657).
13687
13688 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
13689 read syntax (Bug#4737).
13690
3c13704d 13691 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
7346a407 13692
1da94541
CY
136932009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13694
13695 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
13696 (html-tag-alist, html-tag-help): Add descriptions for undocumented
13697 entries and make note of obsolete tags.
13698
2b93080a
SM
136992009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13700
13701 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
13702
18b5ffb5
GM
137032009-10-18 Glenn Morris <rgm@gnu.org>
13704
13705 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
13706 grep, so that binary files (eg international/uni-bidi.el) can match.
e5f035d7 13707 Remove test for "UnicodeData" files, since it is hopefully unnecessary
18b5ffb5
GM
13708 now, and in any case the file header format has changed.
13709
c2e161b2
GM
137102009-10-17 Glenn Morris <rgm@gnu.org>
13711
13712 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
13713 (flyspell-get-word, flyspell-large-region)
13714 (flyspell-auto-correct-previous-word): Doc/error message fixes.
13715
a1eb44f5
CY
137162009-10-17 Chong Yidong <cyd@stupidchicken.com>
13717
13718 * Makefile.in (ELCFILES): Add ede/shell.
13719
4418646e
DN
137202009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
13721
13722 * term/common-win.el (x-colors): Purecopy it.
13723
4062011e
SM
137242009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13725
13726 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
13727 permissive for when the buffer is empty.
13728 (tar-header-block-tokenize): Decode the username and groupname.
13729 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
13730
b0b111c3
JB
137312009-10-17 Eric Ludlam <zappo@gnu.org>
13732
13733 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
13734 contains multibyte characters, choose first applicable coding
13735 system automatically.
13736
2df48a87
SM
137372009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13738
13739 * international/mule-cmds.el (select-safe-coding-system): If the file
13740 has a coding cookie, use it regardless of any other setting (bug#4712).
13741
fd7dd48c
GM
137422009-10-17 Glenn Morris <rgm@gnu.org>
13743
3ee0b477 13744 * foldout.el (foldout-mouse-swallow-events):
cec05144
GM
13745 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
13746
2550e4b1
GM
13747 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
13748 (dired-keep-marker-copy, dired-keep-marker-hardlink)
13749 (dired-keep-marker-symlink, dired-dwim-target)
13750 (dired-copy-preserve-time): Do not autoload these defcustoms.
13751
fd7dd48c
GM
13752 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
13753 messages from messing up the file coding. (Bug#4623)
13754
f3e3a990
GM
137552009-10-17 Jari Aalto <jari.aalto@cante.net>
13756
13757 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
13758 if no match is found for the current dictionary. (Bug#4578)
13759
13760 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
13761 optional, since that is how it is documented, and this is often called
13762 with a nil argument. (Bug#4577)
13763 (flyspell-external-point-words, flyspell-auto-correct-word)
13764 (flyspell-correct-word-before-point, flyspell-word-search-forward)
13765 (flyspell-word-search-backward): Remove nil argument in calls to
13766 flyspell-get-word, since it is not needed now.
13767
137682009-10-17 Ulrich Mueller <ulm@gentoo.org>
13769
1becddbb 13770 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
f3e3a990 13771
b61374ab
GM
137722009-10-16 Glenn Morris <rgm@gnu.org>
13773
13774 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
13775
412707c2
SM
137762009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
13777
13778 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
13779 (ange-ftp-file-size): New function.
13780 (ange-ftp-file-attributes): Use it.
13781
0c6f436e
MA
137822009-10-16 Michael Albinus <michael.albinus@gmx.de>
13783
13784 * net/tramp-smb.el (tramp-smb-version): New defvar.
13785 (tramp-smb-maybe-open-connection): Use it, in order to avoid
13786 repeated checks.
13787
850bfd04
GM
137882009-10-16 Glenn Morris <rgm@gnu.org>
13789
13790 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
13791 Maybe copy some custom properties from old to new name. (Bug#4706)
13792
f3ed9aca
JB
137932009-10-16 Juanma Barranquero <lekktu@gmail.com>
13794
13795 * subr.el (error, sit-for, start-process-shell-command)
13796 (start-file-process-shell-command): Set the calling convention
13797 after the function definition.
13798
fd6c5134
SM
137992009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
13800
13801 * subr.el (error, sit-for, start-process-shell-command)
13802 (start-file-process-shell-command): Use the new
13803 set-advertised-calling-convention feature.
13804
73874eb7
KH
138052009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
13806
fd6c5134
SM
13807 * international/ucs-normalize.el (ucs-normalize-version):
13808 Change to 1.2.
13809 (check-range): Adjust for Unicode 5.2.
73874eb7 13810
03fb33cf
JL
138112009-10-15 Juri Linkov <juri@jurta.org>
13812
13813 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
13814 to the `menu-item' format.
13815
4260b402
MA
138162009-10-15 Michael Albinus <michael.albinus@gmx.de>
13817
13818 * net/tramp.el (tramp-replace-environment-variables): Do not fail
13819 if the environment variable does not exist.
13820
13821 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13822 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
13823 parameter.
13824 (tramp-smb-handle-add-name-to-file)
13825 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13826 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13827 (tramp-smb-handle-file-attributes)
13828 (tramp-smb-do-file-attributes-with-stat)
13829 (tramp-smb-handle-file-local-copy)
13830 (tramp-smb-handle-insert-directory)
13831 (tramp-smb-handle-make-directory)
13832 (tramp-smb-handle-make-directory-internal)
13833 (tramp-smb-handle-make-symbolic-link)
13834 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
13835 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
13836 (tramp-smb-maybe-open-connection): Apply the changed parameters.
13837 (tramp-smb-read-file-entry): Read Disk names in compressed format.
13838 Handle long file names.
13839 (tramp-smb-get-cifs-capabilities): Check, whether the connection
13840 process is running.
13841 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
13842 Read share names with "-g" option.
13843
d7a0fd6f
GM
138442009-10-15 Ryan Yeske <rcyeske@gmail.com>
13845
13846 * net/rcirc.el (rcirc-view-log-file): New command.
13847 (rcirc-track-minor-mode-map): Remove C-c ` binding.
13848 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
13849 specified.
13850
0b44494a
GM
138512009-10-15 Glenn Morris <rgm@gnu.org>
13852
af9fb32f
GM
13853 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
13854 from the second command-line argument.
13855 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
13856 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
13857 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
13858 w32-batch-update-autoloads.
13859 * emacs-lisp/autoload.el (autoload-make-program): New variable.
13860 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
13861
0b44494a
GM
13862 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
13863 the headers cannot be located. Simplify, subtracting superflous
13864 save-excursions.
13865
d5e63715
SM
138662009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
13867
13868 Replace completion-base-size by completion-base-position to fix bugs
13869 such as (bug#4699).
13870 * simple.el (completion-base-position): New var.
13871 (completion-base-size): Mark as obsolete.
13872 (choose-completion): Make it work for mouse events as well.
13873 Pass the new base-position to choose-completion-string.
13874 (choose-completion-guess-base-position): New function, extracted from
13875 choose-completion-delete-max-match.
13876 (choose-completion-delete-max-match): Use it. Make obsolete.
13877 (choose-completion-string): Use the new base-position info.
13878 (completion-root-regexp): Delete.
13879 (completion-setup-function): Preserve completion-base-position.
13880 Eliminate obsolete base-size manipulation.
13881 * minibuffer.el (display-completion-list): Don't mess with base-size.
13882 (minibuffer-completion-help): Set completion-base-position instead.
13883 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
13884 choose-completion.
13885 * textmodes/bibtex.el (bibtex-complete):
13886 * emacs-lisp/crm.el (crm--choose-completion-string):
13887 Adjust to new calling convention.
13888 * complete.el (partial-completion-mode): Use minibufferp to avoid
13889 bumping into incompatible change to choose-completion-string-functions.
13890 * ido.el (ido-choose-completion-string): Make its calling convention
13891 more permissive.
13892 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
13893 base-size manipulation.
13894 (comint-dynamic-list-input-ring): Use dotimes and push.
13895 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
13896 fundamental-mode. Use `or'.
13897
92f8bfc7
JL
138982009-10-14 Juri Linkov <juri@jurta.org>
13899
13900 * misearch.el (multi-isearch-next-buffer-from-list)
13901 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
13902
e78e280d
SM
139032009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13904
384ca163
SM
13905 * Makefile.in (compile-onefile): Load `bytecomp' rather than
13906 `bytecomp.el'.
13907
681e0e7c
SM
13908 * minibuffer.el (completion-pcm--merge-completions): Make sure the
13909 string we return is all made up of text from the completions rather
13910 than part from the completions and part from the input (bug#4219).
13911
e78e280d
SM
13912 * ido.el (ido-everywhere): Use define-minor-mode.
13913
13914 * buff-menu.el (list-buffers, ctl-x-map):
13915 Mark the entry points with ;;;###autoload cookies.
13916
b4e813ca
DN
139172009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
13918
52964e54
DN
13919 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
13920 correctly in the detached head case.
13921 (vc-git-print-log): Remove unused binding.
13922
b4e813ca
DN
13923 * vc.el (vc-responsible-backend): When a directory is passed for
13924 for registration create a VC repository if no backend is
13925 responsible for the directory argument.
13926 (vc-deduce-fileset): Tell vc-responsible-backend to register.
1043ce19
DN
13927
13928 * vc.el: Move comments about RCS and SCCS ...
13929 * vc-rcs.el:
13930 * vc-sccs.el: ... here, respectively.
13931
40ba9882
SM
139322009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13933
13934 * minibuffer.el (completion--file-name-table): Return nil if there's
13935 no file completion, even if substitute-in-file-name changed
13936 the string (bug#4708).
13937
04e0f59b
JL
139382009-10-13 Juri Linkov <juri@jurta.org>
13939
13940 * files-x.el (read-file-local-variable-value): Don't filter out
13941 minor modes from mode name completion (bug#4664).
13942
314c8e25
JB
139432009-10-13 Juanma Barranquero <lekktu@gmail.com>
13944
13945 * international/mule-cmds.el (ucs-names): Remove exclusion of
13946 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
13947
5c9b7d36
KH
139482009-10-13 Kenichi Handa <handa@m17n.org>
13949
13950 * international/uni-name.el: Regenerated.
13951
1e7a80f2
JB
139522009-10-13 Juanma Barranquero <lekktu@gmail.com>
13953
13954 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
13955 should be automatically buffer-local, but isn't.)
13956
cd29f88b
SS
139572009-10-12 Sam Steingold <sds@gnu.org>
13958
13959 * progmodes/compile.el (compilation-next-error-function): Fix the
0cd16af4 13960 timestamps if the buffer has been visited before.
0cd16af4
SS
13961 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
13962 non-anchored patterns, like the perl one (bug#3928).
cd29f88b 13963
37493a98
GM
139642009-10-12 Glenn Morris <rgm@gnu.org>
13965
13966 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
13967 Let-bind `size'.
13968
3b56b1e6
JB
139692009-10-12 Juanma Barranquero <lekktu@gmail.com>
13970
7422a4bb
JB
13971 * proced.el (proced-unload-function): New function.
13972
fa72d075
JB
13973 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
13974 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
13975 Doc fix.
13976
3b56b1e6
JB
13977 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
13978
4d9b4323
JL
139792009-10-11 Juri Linkov <juri@jurta.org>
13980
13981 * files-x.el (read-file-local-variable-value):
13982 Provide default value only for bound variables (bug#4664).
13983
f6f7e059
MA
139842009-10-11 Michael Albinus <michael.albinus@gmx.de>
13985
13986 * net/tramp.el (tramp-local-host-p): Function shall return nil for
13987 connection methods like smb.
13988
13989 * net/tramp-cache.el (tramp-flush-connection-property): The hash
13990 can be empty.
13991
13992 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13993 (tramp-smb-file-name-handler-alist): Add handlers for
13994 `add-name-to-file', `make-symbolic-link'.
13995 (tramp-smb-handle-add-name-to-file)
2992485f 13996 (tramp-smb-do-file-attributes-with-stat)
f6f7e059
MA
13997 (tramp-smb-handle-make-symbolic-link)
13998 (tramp-smb-get-cifs-capabilities): New defuns.
13999 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14000 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14001 (tramp-smb-handle-file-local-copy)
14002 (tramp-smb-handle-make-directory-internal)
3b56b1e6
JB
14003 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14004 The file name syntax depends on cifs capabilities.
14005 (tramp-smb-handle-file-attributes):
14006 Call `tramp-smb-do-file-attributes-with-stat' if possible.
14007 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14008 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
f6f7e059 14009
67868d26
CY
140102009-10-11 Chong Yidong <cyd@stupidchicken.com>
14011
14012 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14013 (eieio-defclass): Apply deftype handler and setf-method properties
14014 directly.
14015 (eieio-add-new-slot): Avoid union function from cl library.
14016 (eieio--typep): New function.
14017 (eieio-perform-slot-validation): Use it.
14018
6d6a5b7e
KF
140192009-10-10 Karl Fogel <kfogel@red-bean.com>
14020
3b56b1e6 14021 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
6d6a5b7e
KF
14022 Update documentation to refer to the variables documented in r1.135.
14023 (Bug#4188)
14024
67b70de9
KF
140252009-10-10 Karl Fogel <kfogel@red-bean.com>
14026
14027 * bookmark.el (Info-suffix-list): Remove this unused variable.
14028 (bookmark-current-point): Remove this obsolete variable.
14029 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14030 Adjust for removal of bookmark-current-point.
14031
14032 (bookmarks-already-loaded, bookmark-current-buffer)
14033 (bookmark-yank-point): Document. (Bug#4188)
14034
58ae51ae
GM
140352009-10-10 Glenn Morris <rgm@gnu.org>
14036
4619ff5e
GM
14037 * frame.el (frame-height): Doc fix.
14038
58ae51ae
GM
14039 * calendar/calendar.el (calendar-split-width-threshold): New option.
14040 (calendar-basic-setup): Use calendar-split-width-threshold.
14041
d364386c
JB
140422009-10-09 Juanma Barranquero <lekktu@gmail.com>
14043
14044 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14045 Ideographic Supplement" range (U+1F200..U+1F2FF).
14046
33e97a28
KF
140472009-10-09 Karl Fogel <kfogel@red-bean.com>
14048
02d0f051 14049 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
d364386c 14050 since the list will have been rebuilt anyway. (Bug#4349)
02d0f051
KF
14051
140522009-10-09 Karl Fogel <kfogel@red-bean.com>
14053
d364386c 14054 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
33e97a28
KF
14055 (bookmark-bmenu-execute-deletions): Don't save here, as
14056 bookmark-delete will now do so if necessary.
d364386c 14057 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
33e97a28
KF
14058 (Bug#4348)
14059
9656d87b
GM
140602009-10-09 Glenn Morris <rgm@gnu.org>
14061
14062 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14063
e6227f06
KF
140642009-10-09 Karl Fogel <kfogel@red-bean.com>
14065
14066 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14067 (bookmark-jump-other-window): Just invoke bookmark-jump with new
14068 argument now, so the two function's behaviors will match. (Bug#3645)
14069
288f783b
MA
140702009-10-08 Michael Albinus <michael.albinus@gmx.de>
14071
14072 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
e78e280d 14073 (tramp-file-name-real-host, tramp-file-name-port):
fc754ea1 14074 Apply `save-match-data'.
288f783b
MA
14075
14076 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14077 case both directories are remote.
14078 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
e78e280d 14079 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
288f783b 14080
872a1ea4
JB
140812009-10-07 Juanma Barranquero <lekktu@gmail.com>
14082
14083 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14084
ab2baced
GM
140852009-10-07 Glenn Morris <rgm@gnu.org>
14086
e78e280d
SM
14087 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14088 of concat.
ab2baced 14089
5c4634c1
SM
140902009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
14091
14092 * files-x.el (read-file-local-variable): Include some
14093 non-user-variables in the completion table (bug#4664).
14094
c2dc9732
MA
140952009-10-07 Michael Albinus <michael.albinus@gmx.de>
14096
14097 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14098 message.
14099
14100 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14101 (tramp-smb-file-name-handler-alist): Add handler for
14102 `copy-directory', `expand-file-name', `set-file-modes'.
14103 (tramp-smb-handle-copy-directory)
14104 (tramp-smb-handle-expand-file-name)
14105 (tramp-smb-handle-set-file-modes): New defuns.
14106 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14107 (tramp-smb-handle-file-attributes): Simplify check for retrieving
14108 entry.
14109 (tramp-smb-handle-insert-directory): Don't flush the cache.
14110 (tramp-smb-maybe-open-connection): Check for samba client and
14111 server versions.
14112
11be40a6
EZ
141132009-10-07 Eli Zaretskii <eliz@gnu.org>
14114
14115 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14116 to not error out of search for "^lisp=" fails.
14117
8c4afe20
JB
141182009-10-07 Juanma Barranquero <lekktu@gmail.com>
14119
14120 * makefile.w32-in (WINS_UPDATES): New macro.
14121 (custom-deps, finder-data, autoloads): Use it.
14122
429a1506
GM
141232009-10-07 Glenn Morris <rgm@gnu.org>
14124
ee2e93e2
GM
14125 * Makefile.in (autoloads): Revert previous change.
14126 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14127 the list of preloaded files passed on the command-line, get
14128 it from src/Makefile.
14129
429a1506
GM
14130 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14131 show the original buffer rather than a random one.
14132
a51203ee 141332009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
e7e2b26c
GM
14134
14135 * help.el (describe-no-warranty): Place point in a slightly better
14136 position in the GPLv3 text.
14137
f58f7520
SS
141382009-10-06 Sam Steingold <sds@gnu.org>
14139
14140 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14141 the comm attribute is present before calling regexp-quote.
14142
bde79dc0
JB
141432009-10-06 Juanma Barranquero <lekktu@gmail.com>
14144
14145 * play/animate.el (animate-string): For good effect, make sure
14146 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14147
14148 * play/animate.el (animate-sequence, animate-birthday-present):
14149 * misc.el (butterfly): Don't set `indent-tabs-mode'.
14150
25ab0302
GM
141512009-10-06 Glenn Morris <rgm@gnu.org>
14152
73fe714a
GM
14153 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14154
3405d98c
GM
14155 * emacs-lisp/autoload.el (autoload-excludes): New variable.
14156 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14157 (batch-update-autoloads): Process a string value of autoload-excludes,
14158 set during the build process.
14159 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
14160
9fb2cdc5
GM
14161 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14162 inside with-parsed... macro so that `v' is defined.
14163
7938ab41
GM
14164 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14165 * progmodes/fortran.el (fortran-end-of-block)
14166 (fortran-beginning-of-block):
14167 Also push mark in the macro case.
14168
eaf9b564
GM
14169 * emerge.el (emerge-show-file-name):
14170 * calc/calc.el (calc-quit):
14171 * calc/calc-misc.el (calc-big-or-small):
14172 * calc/calc-graph.el (calc-graph-view):
14173 * calc/calc-ext.el (calc-reset):
14174 * calendar/calendar.el (calendar-basic-setup):
14175 Use window-full-height-p.
14176
25ab0302
GM
14177 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14178 header we don't understand, don't insert another. (Bug#4624)
14179 If changing mime charset, insert the new one in the right place.
14180
00169eb6
GM
141812009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
14182
14183 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14184 (cal-tex-cursor-month): Correctly increment the end date for diary and
14185 holiday listing. (Bug#4626)
14186
82882188
SM
141872009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14188
40ba9882 14189 * help-fns.el (describe-function-1): Don't burp if the function is not
82882188
SM
14190 a symbol.
14191
a8f316ca
JB
141922009-10-05 Juanma Barranquero <lekktu@gmail.com>
14193
14194 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14195 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14196 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14197 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14198
14199 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14200 (eieio-default-superclass): Reflow docstrings.
14201 (this, class-option-assoc, defclass, eieio-class-un-autoload)
14202 (eieio-unbind-method-implementations, defmethod)
14203 (eieio-validate-slot-value, eieio-validate-class-slot-value)
14204 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14205 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14206 (eieio-slot-originating-class-p, eieio-slot-name-index)
14207 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14208 (constructor, initialize-instance, no-next-method, object-print)
14209 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14210 Fix typos in docstrings.
14211 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14212 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14213 (next-method-p): Doc fixes.
14214 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14215 Fix typos in error messages.
14216 (eieio-defmethod): Fix typo in description of generic method.
14217
14218 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14219 (eieio-persistent-save-interactive, slot-missing):
14220 Fix typos in docstrings.
14221 (eieio-instance-inheritor-slot-boundp): Doc fix.
14222
14223 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14224 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14225
14226 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14227 (eieio-custom-object-apply-reset):
14228 Fix typos in docstrings and error messages.
14229
14230 * emacs-lisp/eieio-datadebug.el (data-debug-show):
14231 Fix typo in docstring.
14232
14233 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14234 (eieio-browse-tree): Doc fix.
14235 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14236 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14237 Fix typos in docstrings.
14238
14239 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14240 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14241 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14242 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14243 Reflow docstrings.
14244
c66b7ac0
DN
142452009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
14246
4a827e0a 14247 * vc-hg.el (log-view-vc-backend): Declare for compiler.
82882188
SM
14248 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14249 Set log-view-vc-backend so that diff can work.
4a827e0a 14250
c66b7ac0
DN
14251 * log-view.el (log-view-diff): Use vc-diff-internal instead of
14252 vc-version-diff.
14253 (vc-diff-internal): Autoload this instead of vc-version-diff.
14254
1902a98c
EZ
142552009-10-05 Eli Zaretskii <eliz@gnu.org>
14256
a7a8618b
EZ
14257 * simple.el (eval-expression): Doc fix.
14258
1902a98c
EZ
14259 * progmodes/cwarn.el (cwarn-mode): Doc fix.
14260
0e1f2ee6
MA
142612009-10-05 Michael Albinus <michael.albinus@gmx.de>
14262
14263 * files.el (directory-files-no-dot-files-regexp): New defconst.
14264 (delete-directory): Use it.
14265 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
14266
263c02ef 14267 * net/tramp.el (tramp-verbose): Fix docstring.
82882188
SM
14268 (tramp-methods): Add recursive option to `tramp-copy-args'.
14269 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
263c02ef 14270 "scp1_old", "scp2_old", "rsync", "rsyncc".
a8f316ca 14271 (tramp-default-method): Check also for `auth-source-user-or-password'.
263c02ef
MA
14272 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14273 Add handler for `copy-directory'.
14274 (tramp-handle-copy-directory): New defun.
14275 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
a8f316ca
JB
14276 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14277 Optimize sent command.
263c02ef 14278
72aa7df4
SM
142792009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14280
4a34f065
SM
14281 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14282 window if necessary.
14283
72aa7df4
SM
14284 * calendar/calendar.el (calendar-basic-setup): Don't call
14285 switch-to-buffer in a dedicated window.
14286
5feb1ba7
KF
142872009-10-05 Karl Fogel <kfogel@red-bean.com>
14288
14289 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
194d44e7 14290 don't do anything related to relocating, just return nil.
5feb1ba7
KF
14291 (bookmark-error-no-filename): New error.
14292 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
194d44e7
JB
14293 bookmark has no file. Don't even attempt to handle things that
14294 are not files; the whole point of custom handlers is to keep that
14295 knowledge elsewhere anyway. Tighten some comments.
5feb1ba7
KF
14296 (bookmark-file-or-variation-thereof): Remove now-unused function.
14297 (bookmark-location): Doc string fix.
14298 (Bug#4250)
14299
1bd49952
KF
143002009-10-04 Karl Fogel <kfogel@red-bean.com>
14301
14302 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14303 don't use a file dialog, because they usually don't know how to read
14304 a directory target from the user. (Bug#4230)
14305 Also, make sure the prompt can display directories as well as files.
14306
825382c0
KF
143072009-10-04 Karl Fogel <kfogel@red-bean.com>
14308
14309 * bookmark.el (bookmark-set, bookmark-buffer-name):
14310 Improve doc strings. (Bug#1193)
14311
13901bcb
KF
143122009-10-04 Karl Fogel <kfogel@red-bean.com>
14313
4a34f065
SM
14314 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14315 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14316 (bookmark-get-annotation, bookmark-set-annotation)
14317 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14318 (bookmark-set-position, bookmark-get-front-context-string)
14319 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14320 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14321 (bookmark-jump-other-window, bookmark-handle-bookmark)
14322 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14323 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14324 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
194d44e7
JB
14325 Improve doc strings to say whether bookmark can be a string or
14326 a record or both, and make other consistency and clarity fixes.
4a34f065
SM
14327 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14328 (bookmark-default-annotation-text, bookmark-yank-word)
14329 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14330 (bookmark-import-new-list, bookmark-maybe-rename)
14331 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14332 (bookmark-bmenu-bookmark): Give these doc strings.
13901bcb 14333 (bookmark-bmenu-check-position): Give this a doc string, but also
194d44e7 14334 add a FIXME comment about how the function may be pointless.
13901bcb 14335 (bookmark-default-handler): Rework doc string and change a
194d44e7
JB
14336 parameter name, to clarify that this takes a bookmark record
14337 not a bookmark name.
13901bcb 14338 (bookmark-set): Change a parameter name to indicate its meaning,
194d44e7 14339 and improve the doc string a bit.
13901bcb
KF
14340 (Bug#4188)
14341
5c1b3e94
KF
143422009-10-04 Karl Fogel <kfogel@red-bean.com>
14343
14344 * bookmark.el (bookmark-alist): Document the new `handler' element
14345 in the param alist.
14346 (bookmark-make-record-function): Adjust documentation for above.
14347 (Bug#4193)
14348
8559076d
KF
143492009-10-04 Karl Fogel <kfogel@red-bean.com>
14350
14351 * info.el (Info-bookmark-make-record): Document this function.
14352 (Info-bookmark-jump): Document with a doc string, not just a comment.
14353 (Bug#4203)
14354
b4583b8c
MA
143552009-10-04 Michael Albinus <michael.albinus@gmx.de>
14356
14357 * files.el (copy-directory): New defun.
14358
14359 * dired-aux.el (dired-copy-file-recursive): Use it.
14360
131ae8f2
JB
143612009-10-04 Juanma Barranquero <lekktu@gmail.com>
14362
a30e71ae 14363 * files-x.el (modify-dir-local-variable)
dd9af436
CY
14364 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
14365 docstrings.
a30e71ae 14366
131ae8f2
JB
14367 * recentf.el (recentf-unload-function): New function.
14368
ccafbf06
GM
143692009-10-04 Glenn Morris <rgm@gnu.org>
14370
14371 * window.el (window-full-height-p): Add doc string.
14372
02c6f098
GM
143732009-10-04 Martin Rudalics <rudalics@gmx.at>
14374
14375 * window.el (window-full-height-p): New function. (Bug#4543)
14376
ed6b0195
DN
143772009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
14378
14379 * vc.el: Remove commented out code.
14380 (vc-derived-from-dir-mode): Remove, unused.
14381 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
14382
1b8d1cc7
MA
143832009-10-03 Michael Albinus <michael.albinus@gmx.de>
14384
4a34f065
SM
14385 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
14386 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
1b8d1cc7
MA
14387 there could be recursive loading when `default-directory' is a
14388 remote file name. (Bug#4614)
14389
ac3c593c
GM
143902009-10-03 Glenn Morris <rgm@gnu.org>
14391
686ea556
GM
14392 * calendar/calendar.el (calendar-basic-setup): Handle the case where
14393 the frame is wide.
14394 (calendar-generate-window): Test for shrinkability rather than width.
14395
ac3c593c
GM
14396 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
14397 reusing existing buffers, in case we happen to visit two files with the
14398 same basename. (Bug#4593)
14399
573709fd
EZ
144002009-10-02 Eli Zaretskii <eliz@gnu.org>
14401
4a34f065 14402 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
573709fd
EZ
14403 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
14404 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
14405 subdirs of cedet as well.
8f885d01 14406 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
573709fd 14407
8d6c1239
SM
144082009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14409
14410 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
14411 Obey advertised-signature-table.
14412
14413 * help-fns.el (help-function-arglist): Don't check
14414 advertised-signature-table.
14415 (describe-function-1): Do it here instead so it also applies to subrs.
14416
c4861de0
MA
144172009-10-02 Michael Albinus <michael.albinus@gmx.de>
14418
14419 * simple.el (start-file-process): Say in the doc-string, that file
14420 handlers might not support pty association, if PROGRAM is nil.
14421
14422 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
14423 HOST and USER are strings. They are nil, when there are
14424 incomplete entries in ~/.netrc, for example.
14425 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
14426 root directory ("device busy" error otherwise).
14427
8d6c1239
SM
14428 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
14429 Flush file properties of created directory.
c4861de0 14430
d2bda74f
EZ
144312009-10-02 Eli Zaretskii <eliz@gnu.org>
14432
14433 * makefile.w32-in (WINS_BASIC): Remove cedet.
14434 (WINS_CEDET): Add cedet.
14435 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
14436
895d1904
GM
144372009-10-02 Kevin Ryde <user42@zip.com.au>
14438
14439 * net/browse-url.el (browse-url): Pass any symbol in
14440 browse-url-browser-function to `apply', since if you've mistakenly put
14441 an unbound symbol then the error is clearer. (Bug#4531)
14442
32226619
JB
144432009-10-02 Juanma Barranquero <lekktu@gmail.com>
14444
14445 * allout.el (allout-init, allout-back-to-current-heading)
14446 (allout-beginning-of-current-entry, allout-ascend-to-depth)
14447 (allout-ascend, allout-up-current-level, allout-end-of-level)
14448 (allout-previous-visible-heading, allout-forward-current-level)
14449 (allout-backward-current-level, allout-show-children):
14450 * apropos.el (apropos-describe-plist):
14451 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
14452 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
14453 * completion.el (add-completion, add-permanent-completion):
14454 * descr-text.el (describe-text-category, describe-char):
14455 * desktop.el (desktop-lazy-abort):
14456 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
14457 * dired.el (dired-build-subdir-alist):
14458 * ediff.el (ediff-version):
14459 * elide-head.el (elide-head, elide-head-show):
14460 * emerge.el (emerge-version):
14461 * env.el (getenv):
14462 * face-remap.el (variable-pitch-mode):
14463 * faces.el (describe-face):
14464 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
14465 (dired-at-point):
14466 * files.el (find-file-existing, auto-save-mode):
14467 * font-lock.el (font-lock-fontify-buffer):
14468 * help-fns.el (describe-function, describe-variable)
14469 (describe-syntax, describe-categories):
14470 * help.el (view-lossage, describe-bindings, describe-key)
14471 (describe-mode):
14472 * hexl.el (hexl-current-address):
14473 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
14474 * info.el (Info-goto-emacs-key-command-node):
14475 * log-edit.el (log-edit-insert-cvs-template)
14476 (log-edit-insert-cvs-rcstemplate):
14477 * menu-bar.el (menu-bar-mode):
14478 * mouse.el (mouse-appearance-menu):
14479 * newcomment.el (comment-indent-new-line):
14480 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
14481 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
5ce6e4f4 14482 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
32226619
JB
14483 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
14484 * recentf.el (recentf-mode):
14485 * savehist.el (savehist-mode, savehist-save):
14486 * shadowfile.el (shadow-copy-files):
14487 * simple.el (kill-ring-save, next-line, previous-line)
14488 (normal-erase-is-backspace-mode):
14489 * strokes.el (strokes-update-window-configuration)
14490 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
14491 (strokes-xpm-for-stroke):
14492 * time.el (emacs-uptime, emacs-init-time):
14493 * tutorial.el (tutorial--describe-nonstandard-key)
14494 (tutorial--detailed-help):
14495 * type-break.el (type-break-mode)
14496 (type-break-mode-line-message-mode, type-break-query-mode)
14497 (type-break-guesstimate-keystroke-threshold):
14498 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
14499 * version.el (emacs-version):
14500 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
14501 * winner.el (winner-mode):
14502 * calendar/timeclock.el (timeclock-in, timeclock-out)
14503 (timeclock-status-string, timeclock-change)
14504 (timeclock-workday-remaining-string)
14505 (timeclock-workday-elapsed-string)
14506 (timeclock-when-to-leave-string):
14507 * calendar/todo-mode.el (todo-add-category):
14508 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
14509 * emacs-lisp/autoload.el (update-file-autoloads):
14510 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
14511 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
14512 (checkdoc-message-text, checkdoc-defun):
14513 * emacs-lisp/debug.el (debugger-list-functions):
14514 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14515 * emacs-lisp/eieio-opt.el (eieio-describe-class)
14516 (eieio-describe-generic):
14517 * emacs-lisp/lisp-mnt.el (lm-synopsis):
14518 * emacs-lisp/shadow.el (list-load-path-shadows):
14519 * emulation/cua-base.el (cua-mode):
14520 * emulation/edt.el (edt-set-scroll-margins):
14521 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
14522 (tpu-toggle-regexp, tpu-toggle-search-direction)
14523 (tpu-toggle-rectangle, tpu-toggle-control-keys):
14524 * emulation/tpu-extras.el (tpu-set-scroll-margins):
14525 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14526 (viper-set-parsing-style-toggling-macro)
14527 (viper-set-emacs-state-searchstyle-macros):
14528 * emulation/viper.el (viper-set-hooks):
14529 * eshell/esh-mode.el (eshell-truncate-buffer):
14530 * international/mule-cmds.el (prefer-coding-system)
14531 (describe-input-method, describe-language-environment):
14532 * international/mule-diag.el (list-character-sets)
14533 (describe-character-set, describe-coding-system)
14534 (describe-fontset, list-fontsets, list-input-methods):
14535 * mail/sendmail.el (mail-signature):
14536 * net/ange-ftp.el (ange-ftp-copy-file):
14537 * net/browse-url.el (browse-url):
14538 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
14539 * net/quickurl.el (quickurl-add-url):
14540 * net/rcirc.el (names, topic):
14541 * net/xesam.el (xesam-mode):
14542 * play/5x5.el (5x5-new-game):
14543 * play/yow.el (apropos-zippy):
14544 * progmodes/ada-mode.el (ada-mode-version):
14545 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
14546 (f90-end-of-block)
14547 (f90-beginning-of-block):
14548 * progmodes/fortran.el (fortran-end-of-block)
14549 (fortran-beginning-of-block):
14550 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
14551 * progmodes/python.el (python-describe-symbol, python-shell):
14552 * term/ns-win.el (ns-print-buffer):
14553 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
14554 * textmodes/flyspell.el (flyspell-mode-on):
14555 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
14556 (pages-directory-for-addresses):
14557 * textmodes/table.el (table-recognize-cell)
14558 (table-query-dimension, table-generate-source)
14559 (table-insert-sequence, table--warn-incompatibility):
14560 * textmodes/tex-mode.el (tex-validate-buffer):
14561 * textmodes/texinfmt.el (texinfmt-version)
14562 (texinfo-format-buffer):
14563 Use `called-interactively-p' instead of `interactive-p'.
14564
12a3c28c
JB
145652009-10-02 Juanma Barranquero <lekktu@gmail.com>
14566
14567 * image-mode.el (image-toggle-display):
14568 * emacs-lisp/elp.el (elp-instrument-function):
14569 * emacs-lisp/advice.el (ad-make-advised-definition):
14570 * emacs-lisp/easy-mmode.el (define-minor-mode):
14571 * net/browse-url.el (browse-url-maybe-new-window):
14572 * progmodes/sh-script.el (sh-learn-buffer-indent):
14573 Pass new argument 'any to `called-interactively-p'.
14574
171fda8a
JB
145752009-10-01 Juanma Barranquero <lekktu@gmail.com>
14576
171fda8a
JB
14577 * international/uni-bidi.el:
14578 * international/uni-category.el:
14579 * international/uni-combining.el:
14580 * international/uni-comment.el:
14581 * international/uni-decimal.el:
9c3c9fdf 14582 * international/uni-decomposition.el:
171fda8a
JB
14583 * international/uni-digit.el:
14584 * international/uni-lowercase.el:
14585 * international/uni-mirrored.el:
14586 * international/uni-name.el:
14587 * international/uni-numeric.el:
14588 * international/uni-old-name.el:
14589 * international/uni-titlecase.el:
14590 * international/uni-uppercase.el:
14591 Regenerate from Unicode 5.2.0 data.
14592
dcb9734a
GM
145932009-10-01 Glenn Morris <rgm@gnu.org>
14594
14595 * Makefile.in (ELCFILES): Regenerate.
14596
ced10a4c
SM
145972009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14598
9d28c33e
SM
14599 * subr.el (interactive-p): Mark obsolete.
14600 (called-interactively-p): Make the optional-ness of `kind' obsolete.
14601 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
14602 advertised-signature-table for subroutines as well.
14603
ced10a4c
SM
14604 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
14605 (set-advertised-calling-convention): New function.
14606 (make-obsolete, define-obsolete-function-alias)
14607 (make-obsolete-variable, define-obsolete-variable-alias):
14608 Make the optional-ness of `when' obsolete.
14609 (define-obsolete-face-alias): Make `when' non-optional.
14610 * help-fns.el (help-function-arglist):
14611 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
14612 Use advertised-signature-table.
14613
cc3dda16
MA
146142009-10-01 Michael Albinus <michael.albinus@gmx.de>
14615
14616 * files.el (delete-directory): New defun. The original function
14617 in fileio.c has been renamed to `delete-directory-internal'.
14618
14619 * dired.el (dired-delete-file): Call `delete-directory' with
14620 RECURSIVE parameter.
14621
5ce6e4f4 14622 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
cc3dda16
MA
14623 parameter RECURSIVE. Implementation is missing.
14624
14625 * net/tramp.el (tramp-handle-make-directory): Flush upper
14626 directory's file properties.
ced10a4c 14627 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
cc3dda16
MA
14628 (tramp-handle-dired-recursive-delete-directory): Flush directory
14629 properties after the remove command only.
14630
ced10a4c
SM
14631 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14632 Handle optional parameter RECURSIVE.
cc3dda16 14633
ced10a4c
SM
14634 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14635 Handle optional parameter RECURSIVE.
cc3dda16
MA
14636
14637 * net/tramp-smb.el (tramp-smb-errors): Add error message for
14638 connection timeout.
14639 (tramp-smb-handle-delete-directory): Handle optional parameter
14640 RECURSIVE.
14641
cf885595
SM
146422009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14643
e3a6b82f
SM
14644 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
14645 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
14646 (byte-compile-defmacro): Use backquotes.
14647
7201bfbb
SM
14648 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
14649
cf885595
SM
14650 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
14651 has no associated file.
14652 (vc-resynch-buffer): Use vc-dir-buffers.
14653
a4d2c321
GM
146542009-10-01 Glenn Morris <rgm@gnu.org>
14655
9ffe3f52
GM
14656 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
14657 (chart-file-count):
14658 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
14659 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
14660 * emacs-lisp/eieio-opt.el (eieio-describe-class):
14661 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
14662 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
14663 (eieio-copy-parents-into-subclass, make-instance, class-children)
14664 (eieio-generic-form):
bd2afec2 14665
9515cdcc
GM
14666 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
14667 match-data. (Bug#4555).
14668
a4d2c321
GM
14669 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
14670 rather than parsing it as a regexp. This relaxes the layout
14671 requirements and makes errors easier to detect.
14672 (check-declare-verify): Check file is regular.
14673 (check-declare-directory): Doc fix.
14674 * subr.el (declare-function): Doc fix.
14675
b15c31c7
GM
14676 * ibuffer.el (ibuffer-format-qualifier):
14677 * isearch.el (hi-lock-regexp-okay):
14678 * calc/calc.el (math-zerop):
14679 * mail/uce.el (rmail-msgbeg, rmail-msgend):
14680 * term/w32-win.el (setup-default-fontset, set-fontset-font):
14681 Remove unused declarations.
14682
b0b111c3
JB
146832009-09-30 Eric Ludlam <zappo@gnu.org>
14684
14685 * emacs-lisp/eieio.el (boolean-p): Delete.
14686
1fc28a2c
GM
146872009-09-30 Glenn Morris <rgm@gnu.org>
14688
1fc28a2c
GM
14689 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
14690
494f4fc7
GM
14691 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
14692 filename is not a string.
14693
561580e9
CY
146942009-09-29 Chong Yidong <cyd@stupidchicken.com>
14695
14696 * files.el (safe-local-eval-forms): Fix typo.
14697
dcbbecd4
SM
146982009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
14699
14700 * vc-hooks.el (vc-dir-buffers): New var.
14701 (vc-state-refresh): New function.
14702 (vc-state): Use it.
14703 (vc-after-save): Always ask the backend to recompute the new state.
14704 Always call vc-dir if necessary, using vc-dir-buffers.
14705 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
14706 Use vc-dir-buffers.
14707 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
14708 (vc-dir-prepare-status-buffer, vc-dir-update)
14709 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
14710 Don't call expand-file-name on default-directory.
14711
d88444f2
JB
147122009-09-29 Juanma Barranquero <lekktu@gmail.com>
14713
14714 * speedbar.el (speedbar-item-delete):
14715 * calc/calc-prog.el (calc-kbd-if):
14716 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
14717
14718 * epa.el (epa-key-list-mode-map):
14719 * hi-lock.el (hi-lock-menu): Fix typos in menus.
14720
14721 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
14722 (hs-show-hook): Fix typo in docstring.
14723
5da62d41
GM
147242009-09-29 Glenn Morris <rgm@gnu.org>
14725
8360fce0
GM
14726 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
14727 file-name-nondirectory call preventing location of cedet files.
14728 (check-declare-verify): Use literal search rather than re-search.
ae715515 14729 Add basic defmethod and defclass, and define-overloadable-function.
8360fce0
GM
14730
14731 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14732 Use tramp-compat-file-attributes rather than nonexistent
14733 tramp-compat-handle-file-attributes.
14734
5da62d41
GM
14735 * Makefile.in (lisptagsfiles4): New.
14736 (AUTOGENEL): Add cedet loaddefs files.
14737 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
14738 (update-elclist, compile-always, backup-compiled-files)
14739 (bootstrap-clean): Add yet another directory level.
14740 (update-elclist): Use LC_COLLATE rather than COLLATE.
14741 (ELCFILES): Update, via `make update-elclist'.
14742
48267264
JB
147432009-09-29 Juanma Barranquero <lekktu@gmail.com>
14744
14745 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
14746 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
14747 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
14748
2c4cd0b0
AS
147492009-09-28 Andreas Schwab <schwab@linux-m68k.org>
14750
14751 * Makefile.in (lisptagsfiles3): Define.
5da62d41 14752 (TAGS, TAGS-LISP): Use it.
2c4cd0b0
AS
14753 (update-elclist): Add third directory level to look for elc files.
14754 (compile-always): Likewise.
14755 (backup-compiled-files): Likewise.
14756 (bootstrap-clean): Likewise.
14757 (ELCFILES): Update.
14758
a2533e47
CY
147592009-09-28 Chong Yidong <cyd@stupidchicken.com>
14760
14761 * Makefile.in (ELCFILES): Add CEDET files.
14762
eefbedb1
MA
147632009-09-28 Michael Albinus <michael.albinus@gmx.de>
14764
14765 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
14766
14767 * net/tramp.el (top): Require tramp-imap.
14768
14769 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14770 Use `tramp-compat-handle-file-attributes'.
14771
147722009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
14773
14774 * net/tramp-imap.el: New package.
14775
b0b111c3
JB
147762009-09-28 Eric Ludlam <zappo@gnu.org>
14777
14778 * emacs-lisp/chart.el:
14779 * emacs-lisp/eieio-base.el:
14780 * emacs-lisp/eieio-comp.el:
14781 * emacs-lisp/eieio-custom.el:
14782 * emacs-lisp/eieio-datadebug.el:
14783 * emacs-lisp/eieio-opt.el:
14784 * emacs-lisp/eieio-speedbar.el:
14785 * emacs-lisp/eieio.el: New files.
14786
748e3d67
VJL
147872009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14788
14789 * whitespace.el (whitespace-trailing-regexp)
14790 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
14791 Fix doc string.
14792
15120dec
CY
147932009-09-27 Chong Yidong <cyd@stupidchicken.com>
14794
14795 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
14796 menu.
14797
14798 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
14799 menu-bar-ediff-menu.
14800
14801 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
14802 define-overloadable-function.
14803
14804 * progmodes/autoconf.el: Provide autoconf as well, so that this
14805 file can be `require'd.
14806
14807 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
14808
14809 * emacs-lisp/autoload.el (generated-autoload-feature)
14810 (generated-autoload-load-name): New vars.
14811 (autoload-rubric, autoload-generate-file-autoloads): Use them.
14812 (make-autoload): Recognize define-overloadable-function and
14813 defclass forms (for EIEIO).
14814
14815 * Makefile.in (update-subdirs): Exclude cedet directory.
14816
135abf91
AR
148172009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
14818
1becddbb 14819 * term/ns-win.el: Don't set the region face background. (Bug#4381)
135abf91
AR
14820
14821 * faces.el: Default light-background background for region face to
14822 ns_selection_color under NS.
14823
3d994264
TZ
148242009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
14825
14826 * net/imap-hash.el: New library, see NEWS.
14827
14828 * Makefile.in (ELCFILES): Add imap-hash.el.
14829
ce9a0ccb
SM
148302009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
14831
14832 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
14833 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
14834 * help-macro.el (make-help-screen): Avoid using an ambiguous function
14835 definition where the docstring could be taken for the return value.
14836
a92cdd49
GM
148372009-09-26 Glenn Morris <rgm@gnu.org>
14838
14839 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
14840 Add option to only show images below a certain size.
14841 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
14842 save-excursion calls.
14843
416ac2f1
EZ
148442009-09-26 Eli Zaretskii <eliz@gnu.org>
14845
14846 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
14847 subdirectories) and eieio.
14848
d9a13f68
AM
148492009-09-26 Alan Mackenzie <acm@muc.de>
14850
9c3c9fdf 14851 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
550d95a0 14852 buggy bracketing. (Bug#4289)
d9a13f68
AM
14853
14854 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
550d95a0 14855 character constants (as case labels). (Bug#4289)
d9a13f68 14856
182b3bec
CY
148572009-09-25 Juri Linkov <juri@jurta.org>
14858
14859 * files.el (safe-local-eval-forms): Allow time-stamp in
14860 before-save-hook (Bug#4554).
14861
8f75f2da
JB
148622009-09-25 Drew Adams <drew.adams@oracle.com>
14863
14864 * menu-bar.el (list-buffers-directory): Doc fix.
14865
8390fb80
SM
148662009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
14867
14868 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
14869 Try and avoid copying twice the same paragraph.
14870 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
14871 Remove save-excursion.
14872 (log-edit-changelog-entry): Do it here instead.
14873
11ee8d90
JB
148742009-09-25 Juanma Barranquero <lekktu@gmail.com>
14875
027b1942
JB
14876 * bs.el (bs--get-file-name): Use `list-buffers-directory'
14877 when available, instead of hardcoding mode names. Doc fix.
14878
11ee8d90
JB
14879 * menu-bar.el (list-buffers-directory): Add docstring.
14880 Make automatically buffer-local.
14881
14882 * dired.el (dired-mode):
14883 * files.el (cd-absolute):
14884 * pcvs.el (cvs-temp-buffer):
14885 * pcvs-util.el (cvs-get-buffer-create):
14886 * shell.el (shell-mode):
14887 * vc-dir.el (vc-dir-mode):
14888 Don't make `list-buffers-directory' buffer local.
14889
21289c5d
CY
148902009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
14891
8390fb80
SM
14892 * comint.el (comint-exec, comint-run, make-comint):
14893 Doc fixes (Bug#4542).
21289c5d 14894
e8652dd9
GM
148952009-09-25 Glenn Morris <rgm@gnu.org>
14896
14897 * mail/rmailmm.el (rmail-mime): New custom group.
14898 Move all defcustoms in this file into this group.
14899 (rmail-mime-media-type-handlers-alist): Revert previous change.
14900 (rmail-mime-show-images): New option.
14901 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
14902 references to it, since it wasn't actually used for anything.
14903 (rmail-mime-insert-image): New function.
14904 (rmail-mime-image): Use rmail-mime-insert-image.
14905 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
69220882
GM
14906 obey the value of `rmail-mime-show-images' option. Print the size of
14907 attachments.
e8652dd9 14908
fb652bb5
JB
149092009-09-25 David Engster <deng@randomsample.de>
14910
14911 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
14912
32a9841c
VJL
149132009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14914
14915 * whitespace.el: Does not highlight trailing spaces While point is
14916 at end of line. Does not highligt spaces at beginning of buffer
14917 while point is at beginning of buffer. Does not highlight spaces
14918 at end of buffer while point is at end of buffer. (Bug#4177)
14919 New version 12.0.
14920 (whitespace-display-mappings): Adjust initialization.
14921 (whitespace-point, whitespace-font-lock-refontify): New vars.
14922 (whitespace-color-on, whitespace-color-off): Adjust code.
14923 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
14924 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
14925 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
14926
e477ca84
CY
149272009-09-24 Chong Yidong <cyd@stupidchicken.com>
14928
14929 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
14930
14931 * textmodes/sgml-mode.el: Remove xml-mode alias.
14932
14933 * files.el (auto-mode-alist, conf-mode-maybe)
8390fb80 14934 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
e477ca84 14935
68712602
AM
149362009-09-24 Alan Mackenzie <acm@muc.de>
14937
14938 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
14939 c-forward-conditionals, but it doesn't move point and doesn't set
14940 the mark.
14941 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
14942 (c-down-conditional-with-else, c-backward-conditional)
14943 (c-forward-conditional): Refactor to use c-scan-conditionals.
14944
1659ada0
JB
149452009-09-24 Juanma Barranquero <lekktu@gmail.com>
14946
14947 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
14948 (help-default-arg-highlight): Remove.
14949 (help-highlight-arg): New function.
14950 (help-do-arg-highlight): Use it.
14951 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
14952
b3f01e46
SM
149532009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
14954
14955 * term.el (term-set-scroll-region, term-handle-ansi-escape):
14956 Undo last change, which didn't fix the problem and introduced others.
14957
107ef54a
NR
149582009-09-24 Nick Roberts <nickrob@snap.net.nz>
14959
14960 * progmodes/gdb-mi.el: Don't require speedbar.
14961 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
14962
ffa1fed6
GM
149632009-09-24 Glenn Morris <rgm@gnu.org>
14964
2157a2be
GM
14965 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
14966
6125167c
GM
14967 * term/ns-win.el (ns-reg-to-script): Define for compiler.
14968
ffa1fed6
GM
14969 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
14970 there is no newline after the final mime boundary. (Bug#4539)
14971 Move markers on insertion so that any buttons inserted don't end up in
14972 the next part of a multipart message.
2e9075d3
GM
14973 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
14974 (rmail-mime-bulk-handler): Optionally handle images.
14975 (rmail-mime-image): New button action.
14976 (rmail-mime-image-handler): New function.
14977 (rmail-mime-mode): New mode.
14978 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
ffa1fed6 14979
4a814992
SM
149802009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
14981
075518b5
SM
14982 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
14983 than just dropping elements from it (bug#4504).
14984
8ad2defc
SM
14985 * term.el (term-set-scroll-region): Don't move cursor any more.
14986 (term-handle-ansi-escape): Call term-goto here instead.
14987 Suggested by Ivan Kanis <apple@kanis.eu>.
14988
4a814992
SM
14989 * term.el: Require CL.
14990 (term-ansi-reset): New function.
14991 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
14992 (term-handle-colors-array): Simplify.
14993
5a0c3f56
JB
149942009-09-24 Juanma Barranquero <lekktu@gmail.com>
14995
14996 * allout.el (allout-overlay-interior-modification-handler)
14997 (allout-obtain-passphrase):
14998 * epa-file.el (epa-file-write-region):
14999 * ps-print.el (ps-begin-job):
15000 * vc-hooks.el (vc-toggle-read-only):
15001 * vc-rcs.el (vc-rcs-rollback):
15002 * vc-sccs.el (vc-sccs-rollback):
15003 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15004 (vc-version-diff, vc-revert, vc-rollback):
15005 * wdired.el (wdired-check-kill-buffer):
15006 * emacs-lisp/authors.el (authors):
15007 * net/socks.el (socks-open-connection):
15008 * net/zeroconf.el (zeroconf-service-add-hook):
15009 * obsolete/vc-mcvs.el (vc-mcvs-register):
15010 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15011 (gdb-select-frame):
15012 * progmodes/grep.el (lgrep, rgrep):
15013 * progmodes/idlw-help.el (idlwave-help-check-locations)
15014 (idlwave-help-html-link, idlwave-help-assistant-open-link):
15015 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15016 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15017 (reftex-toc-rename-label): Fix typos in error messages.
15018
15019 * dired-aux.el (dired-do-shell-command): Reflow docstring.
15020 (dired-copy-how-to-fn): Doc fix.
15021 (dired-files-attributes, dired-read-shell-command):
15022 Fix typos in docstrings.
15023
15024 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15025 (dired-x-find-file-other-window): Reflow docstrings.
15026 (dired-omit-marker-char, dired-read-shell-command)
15027 (dired-x-submit-report): Fix typos in docstrings.
15028
15029 * shell.el (shell-mode-hook):
15030 * view.el (View-scroll-line-forward):
15031 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15032 Fix typos in docstrings.
15033
15034 * net/dig.el (dig-invoke): Fix typo in docstring.
15035 (query-dig): Reflow docstring.
15036
15037 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15038 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15039 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15040 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15041 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15042 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15043 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15044 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15045 (idlwave-completion-map, idlwave-current-indent)
15046 (idlwave-custom-ampersand-surround, idlwave-customize)
15047 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15048 (idlwave-define-abbrev, idlwave-determine-class-special)
15049 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15050 (idlwave-end-block-reg, idlwave-end-of-statement)
15051 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15052 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15053 (idlwave-explicit-class-listed, idlwave-file-header)
15054 (idlwave-fill-paragraph, idlwave-find-class-definition)
15055 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15056 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15057 (idlwave-in-quote, idlwave-indent-action-table)
15058 (idlwave-indent-expand-table, idlwave-indent-line)
15059 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15060 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15061 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15062 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15063 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15064 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15065 (idlwave-outlawed-buffers, idlwave-popup-select)
15066 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15067 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15068 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15069 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15070 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15071 (idlwave-statement-type, idlwave-struct-skip)
15072 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15073 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15074 (idlwave-what-module-find-class): Fix typos in docstrings.
15075 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15076 (idlwave-calculate-cont-indent, idlwave-expand-equal)
15077 (idlwave-find-module, idlwave-find-structure-definition)
15078 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15079 (idlwave-list-load-path-shadows, idlwave-next-statement)
15080 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15081 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15082 (idlwave-template): Reflow docstrings.
15083
15084 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15085 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15086 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15087 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15088 (idlwave-shell-display-line, idlwave-shell-display-wframe)
15089 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15090 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15091 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15092 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15093 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15094 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15095 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15096 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15097 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15098 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15099 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15100 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15101 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15102 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15103 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15104 Fix typos in docstrings.
15105 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15106 (idlwave-shell-hide-output, idlwave-shell-mode)
15107 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15108 Reflow docstrings.
15109
15110 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15111
62136c5d
SM
151122009-09-24 Ivan Kanis <apple@kanis.eu>
15113
15114 * term.el (term-bold-attribute): New var.
15115 (term-handle-colors-array): Use it.
15116
9c1a45ed
NR
151172009-09-23 Nick Roberts <nickrob@snap.net.nz>
15118
15119 * progmodes/gdb-mi.el (gdb-version): New variable.
15120 (gdb-non-stop-handler): Set gdb-version.
15121 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15122 Condition "--thread" option on gdb-version.
15123 (gdb-invalidate-threads): Remove unused argument.
15124
03304f31
SM
151252009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15126
15127 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15128 to looking-back to avoid ridiculous slow down in large files (bug#4511).
15129
4f02f0c9
GM
151302009-09-23 Glenn Morris <rgm@gnu.org>
15131
15132 * mail/rmail.el (rmail-reply): Don't try to add a References header when
15133 replying to mail without References or Message-Id. (Bug#4525)
15134
a3b4b363
AR
151352009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
15136
15137 * term/ns-win.el (ns-reg-to-script): New variable.
15138
7bda18cc
DU
151392009-09-23 Daiki Ueno <ueno@unixuser.org>
15140
15141 * epg.el (epg-wait-for-status): Preserve existing 'error results.
15142
72169e55
SS
151432009-09-22 Sam Steingold <sds@gnu.org>
15144
15145 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
71630ffe
SS
15146 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15147 to 1 because hg returns status 1 when nothing is found.
0aa4f295 15148 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
72169e55 15149
905b7d38
SM
151502009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
15151
b0459dec
SM
15152 * textmodes/fill.el: Convert to utf-8 encoding.
15153 (fill-french-nobreak-p): Remove redundant » and « inherited from our
dd86ea11 15154 pre-Unicode days.
b0459dec 15155
905b7d38
SM
15156 * add-log.el (change-log-fill-forward-paragraph): New function.
15157 (change-log-mode): Use it so fill-region DTRT.
15158 Set fill-indent-according-to-mode here rather than in
15159 change-log-fill-paragraph.
15160 (change-log-fill-paragraph): Remove.
15161
baa7f3de
JB
151622009-09-22 Juanma Barranquero <lekktu@gmail.com>
15163
15164 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15165 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
15166
a8d789f0
GM
151672009-09-22 Glenn Morris <rgm@gnu.org>
15168
daedbbc2
GM
15169 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15170 the scroll-bar scroll the calendar window rather than the buffer.
15171
d8899a74
GM
15172 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15173 commands that move point (as opposed to scrolling).
15174
a8d789f0
GM
15175 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15176
15177 * emacs-lisp/elint.el (elint): New custom group.
15178 (elint-log-buffer): Make it a defcustom.
15179 (elint-scan-preloaded, elint-ignored-warnings)
15180 (elint-directory-skip-re): New options.
15181 (elint-builtin-variables): Doc fix.
15182 (elint-preloaded-env): New variable.
15183 (elint-unknown-builtin-args): Add an entry for encode-time.
15184 (elint-extra-errors): Make it a variable rather than a constant.
15185 (elint-preloaded-skip-re): New constant.
15186 (elint-directory): Skip files matching elint-directory-skip-re.
15187 (elint-features): New variable, local to linted buffers.
15188 (elint-update-env): Initialize elint-features. Possibly add
15189 elint-preloaded-env to the buffer's environment.
15190 (elint-get-top-forms): Bind elint-current-pos, for log messages.
15191 Skip quoted forms.
15192 (elint-init-form): New function, extracted from elint-init-env.
15193 Make non-list forms a warning rather than an error.
15194 Add the mode-map for define-derived-mode. Handle define-minor-mode,
15195 easy-menu-define, put that adds an error-condition, and provide.
15196 When requiring cl, also require cl-macs. Really require cl, to handle
15197 some cl macros. Store required libraries in the list elint-features,
15198 so as not to re-load them. Treat cc-require like require.
15199 (elint-init-env): Call elint-init-form to do the work.
15200 Handle eval-and-compile and such like.
15201 (elint-add-required-env): Do not clear messages.
15202 (elint-special-forms): Add handlers for function, defalias, if, when,
15203 unless, and, or.
15204 (elint-form): Add optional argument to ignore elint-special-forms,
15205 useful to prevent recursive calls from handlers. Doc fix.
15206 Respect elint-ignored-warnings.
15207 (elint-form): Respect elint-ignored-warnings.
15208 (elint-bound-variable, elint-bound-function): New variables.
15209 (elint-unbound-variable): Respect elint-bound-variable.
15210 (elint-get-args): Respect elint-bound-function.
15211 (elint-check-cond-form): Add some simple handling for (f)boundp and
15212 featurep tests.
15213 (elint-check-defalias-form): New handler.
15214 (elint-check-let-form): Make an empty let a warning rather than an
15215 error.
15216 (elint-check-setq-form): Make an empty setq a warning rather than an
15217 error. Respect elint-ignored-warnings.
15218 (elint-check-defvar-form): Accept null doc-strings.
15219 (elint-check-conditional-form): New handler. Does some simple-minded
15220 checking of featurep and (f)boundp tests.
15221 (elint-put-function-args): New function.
15222 (elint-initialize): Use elint-scan-doc-file rather than
15223 elint-find-builtin-variables. Use elint-put-function-args.
15224 Possibly scan preloaded-file-list.
15225 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15226 extend to handle functions as well.
15227
245be23c
JB
152282009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
15229
15230 * linum.el (linum-delete-overlays, linum-update-window):
15231 Do not modify the right margin. (Bug#3971)
15232
91fdbd6f
CY
152332009-09-21 Chong Yidong <cyd@stupidchicken.com>
15234
15235 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
15236 nxml-mode instead of xml-mode.
15237
7589d38e
JB
152382009-09-21 Kevin Ryde <user42@zip.com.au>
15239
15240 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
15241
5ac42715
SM
152422009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15243
15244 * net/dig.el (dig-mode): Use define-derived-mode.
15245
09c01323
DN
152462009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
15247
4096c5f2
DN
15248 * vc-dispatcher.el (vc-do-command): Return the process object in
15249 the asynchronous case. Use when instead of if. Do not run
5480359e 15250 vc-exec-after to display a message if not enabled. (Bug#4463)
4096c5f2 15251
0e172cc2
DN
15252 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15253 properties to the stash strings.
15254 (vc-git-stash-list): Return a list of strings.
15255 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15256 (vc-git-stash-show-at-point): New functions.
15257 (vc-git-stash-map): New keymap.
15258
03304f31
SM
15259 * register.el (ctl-x-r-map): Define the keys here instead of
15260 using autoload.
09c01323 15261
03304f31 152622009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
e3f36d03
SM
15263
15264 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15265 list, to workaround performance problem (bug#4485).
15266
2f5fc4d7
NR
152672009-09-20 Nick Roberts <nickrob@snap.net.nz>
15268
15269 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15270
b0f5fd2e
DU
152712009-09-20 Daiki Ueno <ueno@unixuser.org>
15272
15273 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15274 Document that this option is not recommended to use.
15275
f3445fab
GM
152762009-09-19 Glenn Morris <rgm@gnu.org>
15277
547c6921
GM
15278 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15279 variable `var'.
15280
f3445fab
GM
15281 * calc/calc-alg.el (var):
15282 * calc/calcalg2.el (var): Define for compiler.
15283
946c009b
CY
152842009-09-19 Chong Yidong <cyd@stupidchicken.com>
15285
e3f36d03
SM
15286 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15287 Doc fix (Bug#3932).
e2045997 15288
24aedbca
CY
15289 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15290
327dd27a
CY
15291 * time-stamp.el (time-stamp-month-dd-yyyy)
15292 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15293 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15294 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
e3f36d03
SM
15295 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15296 Remove functions that have been obsolete since 1995 (Bug#4436).
327dd27a 15297
946c009b
CY
15298 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15299 indent buffer only if called interactively (Bug#4452).
15300
3e70541a 153012009-09-19 Juanma Barranquero <lekktu@gmail.com>
4e2af782 15302 Eli Zaretskii <eliz@gnu.org>
3e70541a
JB
15303
15304 This fixes bug#4197 (merged to bug#865, though not identical).
15305 * server.el (server-auth-dir): Add docstring note about FAT32.
15306 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15307 but warn against using them.
15308
9b94c32e
NR
153092009-09-19 Nick Roberts <nickrob@snap.net.nz>
15310
15311 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15312 older GDB where there is no has_more field.
15313
66590684
GM
153142009-09-19 Glenn Morris <rgm@gnu.org>
15315
15316 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15317
9a1337f9
CY
153182009-09-18 Chong Yidong <cyd@stupidchicken.com>
15319
15320 * files.el (auto-mode-alist): Change default for XML files to nXML
15321 mode (Bug#4169).
15322
d7554167
JB
153232009-09-18 Juanma Barranquero <lekktu@gmail.com>
15324
15325 * server.el (server-ensure-safe-dir): Pass 'integer
15326 to `file-attributes', as suggested.
15327
35a3f9a4
SM
153282009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
15329
15330 * dired-aux.el (dired-query-alist): Remove spurious backslash.
15331 (dired-query): Use read-key.
15332
044f9b05
AR
153332009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
15334
15335 * cus-start.el (ns-use-qd-smoothing): Remove.
15336
6188ea49
GM
153372009-09-18 Glenn Morris <rgm@gnu.org>
15338
08cf18e4
GM
15339 * allout.el (top-level): Remove unnecessary progn.
15340
07eae5c5
GM
15341 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
15342
6726c25e
GM
15343 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
15344 definition of abbrev table.
15345
3f527154 15346 * speedbar.el (speedbar-track-mouse):
6188ea49
GM
15347 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
15348 * net/eudc.el (eudc-expand-inline):
770af4b4
GM
15349 * net/newst-backend.el (newsticker--cache-read-feed):
15350 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
6188ea49
GM
15351 condition-case handlers.
15352
ccb4c30c
NR
153532009-09-18 Nick Roberts <nickrob@snap.net.nz>
15354
15355 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
15356 (gdb-var-list): Add an element for has_more field.
15357 (gdb-non-stop-handler): Enable pretty printing for STL containers.
15358 (gdb-var-create-handler, gdb-var-list-children-handler-1)
15359 (gdb-var-update-handler-1): Parse output of dynamic variable
15360 objects (STL containers).
15361 (gdb-var-delete-1): Pass var1 as an explicit second argument.
15362 (gdb-get-field): Delete alias. Use bindat-get-field directly.
15363
15364 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
15365 gdb-var-list.
15366 (gud-speedbar-buttons): Make node expandable if expression "has more"
15367 children.
15368
8686ac71
JB
153692009-09-17 Juanma Barranquero <lekktu@gmail.com>
15370
15371 * startup.el (emacs-quick-startup): Remove variable and all uses.
15372 (command-line): Set `inhibit-x-resources' instead.
15373 (command-line-1): Use `inhibit-x-resources' instead.
15374
a69c67e8
CY
153752009-09-17 Chong Yidong <cyd@stupidchicken.com>
15376
15377 * subr.el: Fix last change to avoid using the `unless' macro,
15378 which breaks bootstrapping.
15379
354f0faf
SM
153802009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15381
15382 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
15383 extended definitions, in case we reload subr.el after having
15384 loaded CL.
15385 (eval-next-after-load): Mark as obsolete.
15386
98b9bf40
JL
153872009-09-17 Juri Linkov <juri@jurta.org>
15388
15389 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
15390 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
15391 (menu-bar-showhide-menu, menu-bar-tools-menu)
15392 (menu-bar-describe-menu, menu-bar-help-menu)
15393 (minibuffer-local-completion-map, minibuffer-local-map):
15394 Fix list quoting.
15395
28fab7b5
GM
153962009-09-17 Glenn Morris <rgm@gnu.org>
15397
88d5190c
GM
15398 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
15399 arguments, whether or not it has a handler.
15400
74f24ba7
GM
15401 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
15402
28fab7b5
GM
15403 * simple.el (hard-newline): Give it a doc-string.
15404
a8106aec
GM
15405 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15406 (lisp-mode-syntax-table): Give them doc-strings.
e4a09a11 15407
76251ad7
DN
154082009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
15409
72033dbe
DN
15410 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
15411 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
15412 (menu-bar-options-menu, menu-bar-showhide-menu)
15413 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
15414 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
15415 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
15416 (menu-bar-options-menu, menu-bar-tools-menu)
15417 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
15418 (menu-bar-help-menu):
15419 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
15420 string arguments.
15421
76251ad7
DN
15422 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
15423 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
15424 calls for the menu names and :help.
15425
97b952b7
SM
154262009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
15427
15428 * mouse.el (minor-mode-menu-from-indicator): Pay attention
15429 to :minor-mode-function (bug#4455).
15430
8f38189e
SM
154312009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15432
d2fd733e
SM
15433 * startup.el (command-line): Initialize the window-system after
15434 processing the command-line.
15435
8f38189e
SM
15436 * textmodes/page.el (what-page): Make sure we don't inf-loop if
15437 page-delimiter matches the empty string.
15438
77564fa4
GM
154392009-09-16 Glenn Morris <rgm@gnu.org>
15440
15441 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
15442 byte-compile-not-obsolete-var. It's a list now.
15443 (byte-compile-not-obsolete-funcs): New variable.
15444 (byte-compile-warn-obsolete): Don't warn about functions if they are in
15445 byte-compile-not-obsolete-funcs.
15446 (byte-compile-variable-ref, byte-compile-defvar): Update for
15447 byte-compile-not-obsolete-vars name-change and list nature.
15448 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
15449 and variables behind (f)boundp tests.
15450 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
15451
79d316d3
DN
154522009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15453
15454 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
15455
8fed6934
SM
154562009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15457
15458 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
15459 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
15460 Don't autoload.
15461
4078fd57
SE
154622009-09-15 Stephen Eglen <stephen@gnu.org>
15463
15464 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
5a0c3f56 15465 the virtual-buffers, use the name of the buffer specified by
4078fd57 15466 find-file-noselect, as the match may be a symlink. (This was a
5a0c3f56 15467 problem if the target and the symlink had different names.)
4078fd57 15468
838ff458
SM
154692009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15470
b3c7c12d
SM
15471 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
15472
13dc2bc2
SM
15473 * desktop.el (desktop-path): Check user-emacs-directory.
15474
49fec531
SM
15475 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
15476
0e328d37
SM
15477 * loadup.el: Use after-load-functions to GC after loading each file.
15478 Remove the explicit GC calls that used to be sprinkled around.
15479
838ff458
SM
15480 * subr.el (after-load-functions): New hook.
15481 (do-after-load-evaluation): Run it. Use string-match-p to detect
15482 `obsolete' packages, rather than painfully extracting the relevant
15483 directory name.
15484
a62f564f
GM
154852009-09-15 Glenn Morris <rgm@gnu.org>
15486
15487 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
15488 free variable `doc'.
15489
15490 * dired.el (dired-mode-map): Add menu entry for async shell command.
15491
15492 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
15493 variables, also consider the .elc files, since the .el files are
15494 normally gzipped (subsequent code locates the .el.gz from the .elc).
15495
15496 * calc/calc-prog.el (arglist): Define for compiler.
15497
15498 * calendar/diary-lib.el (diary-display-function): Change the default to
15499 fancy display.
15500 (body): Define for compiler.
15501
15502 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
15503 (byte-compile-file-form, byte-compile-lambda)
15504 (byte-compile-top-level-body, byte-compile-form)
15505 (byte-compile-variable-ref, byte-compile-setq)
15506 (byte-compile-setq-default, byte-compile-body)
15507 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
15508 (batch-byte-compile): Give some more local variables with common names
15509 a "bytecomp-" prefix to avoid masking warnings about free variables.
15510
cd05fe7f
GM
15511 * startup.el (command-line-1): Give local variables with common names a
15512 distinguishing prefix, so as not to hide free variable warnings during
15513 bootstrap.
15514
a62f564f
GM
15515 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
15516 clever and add a suffix to make a unique name, just let the user decide
15517 whether or not to overwrite it. If the input is a directory, write the
15518 default filename to that directory. (Bug#4388)
15519 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
15520 is a filename-as-a-directory.
15521
fbc88440
SM
155222009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
15523
15524 * textmodes/page.el (what-page): Don't move to beginning of line.
15525 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
15526
60308853
DN
155272009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
15528
15529 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
15530
32ba3abc
DN
155312009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
15532
9cd39aff
DN
15533 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
15534 * help.el (help-for-help-internal): Add purecopy calls for text.
15535
32ba3abc
DN
15536 * vc.el (top): print-log method now takes an optional SHORTLOG
15537 argument. Add a new method: root.
32ba3abc
DN
15538 (vc-root-diff, vc-print-root-log): New functions.
15539 (vc-log-short-style): New variable.
15540 (vc-print-log-internal): Add support for showing short logs.
15541
15542 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
15543 vc-print-root-log and vc-print-root-diff.
15544
15545 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
15546 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
15547 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
15548 short logs.
15549
15550 * vc-cvs.el (vc-cvs-print-log):
15551 * vc-mtn.el (vc-mtn-print-log):
15552 * vc-rcs.el (vc-rcs-print-log):
15553 * vc-sccs.el (vc-sccs-print-log):
15554 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
15555 that is ignored for now.
15556
837b0e99
DN
15557 * vc-mtn.el (vc-mtn-annotate-command):
15558 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
15559
31cd2dd4
SM
155602009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15561
15562 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
15563 to function-key-map, and give them ascii-character property.
15564 * term/x-win.el (x-alternatives-map):
15565 * term/ns-win.el (ns-alternatives-map):
15566 * term/internal.el (msdos-key-remapping-map):
15567 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
15568
d62e5bf2
GM
155692009-09-14 Glenn Morris <rgm@gnu.org>
15570
15571 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
15572 temp-buffers (2009-09-12).
15573
7d0105e5
SM
155742009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15575
15576 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
15577 the new read-key function.
15578
e17ed9ad
CY
155792009-09-13 Chong Yidong <cyd@stupidchicken.com>
15580
15581 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
15582 is defined (Bug#4405).
15583
1fc26e29
CY
155842009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
15585
15586 * recentf.el (recentf-cleanup): Use a hash table to find
15587 duplicates (Bug#4407).
15588
61dc96a2 155892009-09-13 Per Starbäck <per@starback.se> (tiny change)
7e73ea32
CY
15590
15591 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
15592 kp-0 to ascii equivalents (Bug#4325).
15593
42c3a9e3
CY
155942009-09-13 Chong Yidong <cyd@stupidchicken.com>
15595
1f5c1626
CY
15596 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
15597
42c3a9e3 15598 * eshell/em-hist.el:
31cd2dd4
SM
15599 * eshell/em-dirs.el (eshell-complete-user-reference):
15600 Declare pcomplete functions and variables to avoid compiler warnings.
42c3a9e3
CY
15601
156022009-09-13 Leo <sdl.web@gmail.com> (tiny change)
15603
15604 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
15605 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
15606 * eshell/em-alias.el (eshell-aliases-file):
31cd2dd4
SM
15607 * eshell/em-hist.el (eshell-history-file-name):
15608 Use expand-file-name instead of concat to make file names (Bug#4308).
42c3a9e3 15609
1e2b6acf
GM
156102009-09-13 Glenn Morris <rgm@gnu.org>
15611
15612 * ediff-merg.el (ediff-do-merge):
15613 * filesets.el (filesets-run-cmd):
15614 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
15615 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
15616 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
15617 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
15618 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
15619 Replace empty `let's with `progn'.
15620
adba8116
SM
156212009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15622
15623 * mail/sendmail.el (send-mail-function):
15624 * tooltip.el (tooltip-mode):
15625 * simple.el (transient-mark-mode):
15626 * rfn-eshadow.el (file-name-shadow-mode):
15627 * frame.el (blink-cursor-mode):
15628 * font-core.el (global-font-lock-mode):
15629 * files.el (temporary-file-directory)
15630 (small-temporary-file-directory, auto-save-file-name-transforms):
15631 * epa-hook.el (auto-encryption-mode):
15632 * composite.el (global-auto-composition-mode):
15633 Use custom-initialize-delay.
15634 * startup.el (command-line): Don't explicitly call
15635 custom-reevaluate-setting for all the above vars.
15636 * custom.el (custom-initialize-safe-set)
15637 (custom-initialize-safe-default): Delete.
15638
0a4afea9
SM
156392009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15640
9f94990d
SM
15641 * term/x-win.el (x-initialize-window-system):
15642 * term/w32-win.el (w32-initialize-window-system):
15643 * term/ns-win.el (ns-initialize-window-system): Don't call
15644 mouse-wheel-mode since it's enabled globally by default already.
15645
0a4afea9
SM
15646 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
15647 actually define the variable, but only silences the byte-compiler.
15648 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
15649 before looking it up.
15650 (mouse-wheel-scroll-amount): Also reset the bindings if this value
15651 is changed.
15652
bf01513f
GM
156532009-09-12 Glenn Morris <rgm@gnu.org>
15654
15655 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
15656 1000.
15657 (elint-add-required-env): Don't beep on error.
15658 (elint-forms): In case of error, return ENV unchanged.
afdceaec
GM
15659 (elint-init-env): Skip non-list forms.
15660 (elint-log): Handle unknown file positions.
bf01513f 15661
d85889e4
DU
156622009-09-12 Daiki Ueno <ueno@unixuser.org>
15663
15664 * epg.el (epg-make-context): Add autoload cookie.
15665 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
15666 (epg-decrypt-string, epg-start-verify, epg-verify-file)
15667 (epg-verify-string, epg-start-sign, epg-sign-file)
15668 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
15669 (epg-encrypt-string, epg-start-export-keys)
15670 (epg-export-keys-to-file, epg-export-keys-to-string)
15671 (epg-start-import-keys, epg-import-keys-from-file)
15672 (epg-import-keys-from-string, epg-start-receive-keys)
15673 (epg-receive-keys, epg-import-keys-from-server)
15674 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
15675 (epg-sign-keys, epg-start-generate-key)
0a4afea9
SM
15676 (epg-generate-key-from-file, epg-generate-key-from-string):
15677 Remove autoload cookie.
d85889e4 15678
8f825ee6
EZ
156792009-09-12 Eli Zaretskii <eliz@gnu.org>
15680
36b434ee
EZ
15681 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
15682 reevaluation of trash-directory.
15683
8f825ee6
EZ
15684 * mwheel.el: Fix last change.
15685 (mouse-wheel-mode): New defvar.
15686 (mouse-wheel-mode): Remove autoload cookie.
15687
5766c380
SM
156882009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15689
ab5c0fcd
SM
15690 * mwheel.el (mwheel-installed-bindings): New var.
15691 (mouse-wheel-mode): Use it, so as to make sure we really remove all
15692 the bindings we set last time. Use custom-initialize-delay.
15693 * loadup.el: Load mwheel after term/*-win.el.
15694 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
15695 and mouse-wheel-up-event now that their first evaluation is done
15696 sufficiently late to be correct.
15697
45448e64
SM
15698 * startup.el (tutorial-directory): Make it a defcustom.
15699 Use custom-initialize-delay rather than eval-at-startup to set it.
15700 * image.el (image-load-path): Make it a defcustom.
15701 Use custom-initialize-delay rather than eval-at-startup to set it.
15702 * subr.el (eval-at-startup): Remove.
15703 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
15704
5766c380
SM
15705 * subr.el (do-after-load-evaluation): Warn the user after loading an
15706 obsolete package.
15707
d6549da4
GM
157082009-09-12 Glenn Morris <rgm@gnu.org>
15709
15710 * proced.el (proced-mark-alt): Remove alias.
15711 (proced-mode-map): Remove proced-mark-alt.
15712
15713 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
15714 Elint file and directory. Remove initialization entry.
15715
15716 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
15717 commands.
15718 (elint-current-buffer): Set mode-line-process.
15719 (elint-init-env): Handle define-derived-mode.
15720 Fix declare-function with unspecified arglist. Guard against odd
15721 defalias statements (eg iso-insert's 8859-1-map).
15722 (elint-add-required-env): Use a temp buffer.
15723 (elint-form): Just print the function/macro name, not the whole form.
15724 Return env unchanged if we fail to parse a macro.
15725 (elint-forms): Guard against parse errors.
15726 (elint-output): New function, to handle batch mode.
15727 (elint-log-message): Add optional argument. Use elint-output.
15728 (elint-set-mode-line): New function.
15729
30194d4d
CY
157302009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
15731
15732 * emacs-lisp/elp.el (elp-not-profilable): Add more
15733 functions (Bug#4233).
15734
a035f9b0
CY
157352009-09-12 Chong Yidong <cyd@stupidchicken.com>
15736
15737 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
15738 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
15739
dad61164
NR
157402009-09-11 Nick Roberts <nickrob@snap.net.nz>
15741
15742 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
15743 (gdb-var-list-children): Use json parsing.
15744
9c3c9fdf 157452009-09-11 Daniel Colascione <dan.colascione@gmail.com>
34cab3d9
CY
15746
15747 * progmodes/js.el (js--proper-indentation): Handle the case where
15748 char-before is null. Reported by Deniz Dogan.
15749
b4587710
JB
157502009-09-11 Juanma Barranquero <lekktu@gmail.com>
15751
15752 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
15753
13890796
DU
157542009-09-11 Daiki Ueno <ueno@unixuser.org>
15755
15756 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
15757 (epg-digest-algorithm-alist): Add SHA224.
b18508dd 15758 (epg-context-set-passphrase-callback)
97d4bdba 15759 (epg-context-set-progress-callback): Add description about
b18508dd 15760 callback function.
13890796 15761
2efb64a8
SM
157622009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15763
790d0270
SM
15764 * custom.el (custom-delayed-init-variables): New var.
15765 (custom-initialize-delay): New function.
15766 * startup.el (command-line): "Re"evaluate all vars in
15767 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
15768 explicitly any more.
15769 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
15770 to avoid creating a ~/.emacs.d at build-time (bug#4347).
15771
15772 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
2efb64a8 15773
ac243a40
NR
157742009-09-11 Nick Roberts <nickrob@snap.net.nz>
15775
15776 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
15777 (gdb-var-update-handler): Use json parsing.
15778
657bc6fc
JB
157792009-09-11 Juanma Barranquero <lekktu@gmail.com>
15780
15781 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
15782 decode annotated text, regardless of language environment. (Bug#2741)
15783
b6fe8102
SM
157842009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15785
15786 * Makefile.in (autoloads): Make rmail.el writable as well.
15787
5cc443fe
GM
157882009-09-11 Glenn Morris <rgm@gnu.org>
15789
5515c54e
GM
15790 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
15791 loaddefs.el.
15792 * dired.el: Regenerate with extracted autoloads.
15793 * Makefile.in (autoloads): Make dired.el writable.
15794
15067158
GM
15795 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
15796 * ibuffer.el: Regenerate with extracted autoloads.
15797 * Makefile.in (autoloads): Make ibuffer.el writable.
15798
d35d0238
GM
15799 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
15800 * version.el (emacs-copyright, emacs-major-version)
15801 (emacs-minor-version): Reformat doc-strings for make-docfile.
15802
5cc443fe
GM
15803 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
15804 functions and variables, since they must be stuff specific to some other
15805 platform.
15806 (apropos-print): Make mouse-click message less specific about button.
15807
15808 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
15809 that records where a macro was defined.
15810 * help-fns.el (describe-function-1): Mention if a function has a
15811 compiler-macro.
15812 * help-mode.el (help-function-cmacro): New button.
15813
15814 * locate.el (top-level): Always require dired.
15815 (locate-mode-map): Initialize inside the defvar.
15816
15817 * net/ange-ftp.el (dired-compress-file): Declare.
15818 (ange-ftp-dired-compress-file): Add doc string.
15819
15820 * term/ns-win.el (x-display-name, x-setup-function-keys):
15821 Unify doc-strings with X versions.
15822
8cb95edf
SM
158232009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15824
726a4d09
SM
15825 * emulation/crisp.el (crisp-mode-map): Move initialization
15826 into declaration.
15827 (crisp-mode): Use define-minor-mode.
15828
8cb95edf
SM
15829 * progmodes/xscheme.el (xscheme-evaluation-commands):
15830 Put a :advertised-binding property rather than using
15831 advertised-xscheme-send-previous-expression.
15832 (advertised-xscheme-send-previous-expression): Declare obsolete.
15833 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
15834 `advertised-undo'.
15835 (crisp-mode): Add corresponding bindings to
15836 undo's :advertised-binding instead.
15837 * dired.el (dired-mode-map): Put a :advertised-binding property rather
15838 than using dired-advertised-find-file.
15839 (dired-advertised-find-file):
15840 * simple.el (advertised-undo):
15841 * wid-edit.el (advertised-widget-backward): Declare obsolete.
15842 (widget-keymap): Put a :advertised-binding property rather
15843 than using advertised-widget-backward.
15844 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
15845 than using advertised-undo.
15846 * tutorial.el (tutorial--default-keys): Adjust accordingly.
15847
07db5857
SS
158482009-09-10 Simon South <ssouth@slowcomputing.org>
15849
15850 * progmodes/delphi.el (delphi-tab): Indent region when Transient
15851 Mark mode is enabled and region is active; otherwise indent or
15852 insert TAB as usual.
15853 (delphi-mode): Update description of TAB-key binding.
15854
50d4ba39
SM
158552009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
15856
15857 * subr.el (define-key-rebound-commands): Mark obsolete.
15858 * startup.el (precompute-menubar-bindings): Remove.
15859 (normal-top-level): Remove obsolete code that tried to precompute
15860 menubar bindings.
15861 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
15862 define-key-rebound-commands and precompute-menubar-bindings.
15863
ffa894db
KY
158642009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
15865
15866 * net/imap.el (imap-interactive-login): Better messages.
15867 (imap-open): Fix bug with renamed buffer on reconnect.
15868 (imap-authenticate): Add buffer-local imap-last-authenticator variable
15869 for easier debugging and cleaner code. On successful (guessed based on
15870 server capabilities) secondary authentication, set imap-state
15871 correctly.
15872 (imap-last-authenticator): Define imap-last-authenticator as a variable
15873 to avoid warnings.
15874
9477096c
GM
158752009-09-10 Glenn Morris <rgm@gnu.org>
15876
15877 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
15878
15879 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
15880 (byte-compile-file-form-autoload): Don't warn about unknown functions
15881 where the autoload statement comes after the use.
15882 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
15883 that any handlers inside the body (eg require) are in turn respected.
15884
15885 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
15886 effects.
15887
15888 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
15889 and syntax and abbrev tables basic docs, if they don't have any.
15890
15891 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
15892
15893 * international/mule-cmds.el (top-level): Require cl when compiling.
15894 (view-hello-file): Use default-value rather than
15895 default-enable-multibyte-characters.
15896
15897 * progmodes/fortran.el: Move all safe and risky properties into the
15898 defcustoms.
15899
15900 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
15901 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
15902 * mail/undigest.el:
15903 Put autoloads in rmail.el rather than loaddefs.el.
15904 * mail/rmail.el: Regenerate with extracted autoloads.
15905
15906 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
15907 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
15908
9f16c547
NR
159092009-09-10 Nick Roberts <nickrob@snap.net.nz>
15910
15911 Reported in thread for Bug#4375.
15912 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
15913 "-data-evaluate-expression" instead of print.
15914 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
15915 (gdb-tooltip-print): Parse output from above MI command.
7ab133d1
NR
15916 (gdb): Revert 2009-08-11 change. User should detach inferior
15917 manually.
9f16c547
NR
15918
15919 Remove the word "separate" from IO functions as inferior
15920 output is now never displayed in the GUD buffer.
15921
50405cd0
JB
159222009-09-10 Juanma Barranquero <lekktu@gmail.com>
15923
15924 * startup.el (command-line-normalize-file-name): On Windows and
15925 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
15926
7ae62430
JL
159272009-09-10 Juri Linkov <juri@jurta.org>
15928
15929 * isearch.el (isearch-text-char-description): Propertize escape
15930 character sequences with the `escape-glyph' face. (Bug#4344)
15931
15932 * simple.el (shell-command): Set asynchronous process filter to
15933 `comint-output-filter'. (Bug#4343)
15934
15935 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
15936 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
15937 the list. Move "asm" to the bottom.
15938 (grep-find-ignored-directories): Add `choice' with nil value
15939 to empty the list easily.
15940 (grep-find-ignored-files): New option.
15941 (grep-files-history): Set to nil by default instead of '("ch" "el").
15942 (grep-compute-defaults): Add "<X>" to `grep-template'.
15943 (grep-read-files): Bind new local variables `default-alias' and
15944 `default-extension'. Use a list of default values for the file prompt.
15945 (lgrep): Add `--exclude=' command line options composed from
15946 `grep-find-ignored-files'.
15947 (rgrep): Add `-name' command line options composed from
15948 `grep-find-ignored-files'. (Bug#4301)
15949
cd875252
SM
159502009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
15951
15952 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
15953 (bug#4368).
15954
cdce0b33
KY
159552009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
15956
15957 * calendar/time-date.el (autoload):
15958 Expand define-obsolete-function-alias into defalias and make-obsolete
15959 for old Emacsen that Gnus supports.
15960 (with-no-warnings): Define it for old Emacsen.
15961 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
15962 is available.
15963 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
15964 float-time is available; suppress compile warning for time-to-seconds.
15965
159662009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
15967
15968 * net/imap.el (imap-message-map): Docstring fix.
15969
2b2eb431
GM
159702009-09-09 Glenn Morris <rgm@gnu.org>
15971
15972 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
15973 line numbers too. (Bug#4374)
15974
83a5aac5
SM
159752009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
15976
755e0210
SM
15977 * smerge-mode.el (smerge-remove-props, smerge-refine):
15978 Use with-silent-modifications (bug#4342).
15979
83a5aac5
SM
15980 * subr.el (with-silent-modifications): New macro.
15981
79f01fa7
JB
159822009-09-07 Juanma Barranquero <lekktu@gmail.com>
15983
15984 * files.el (top-level): Require `cl' when compiling.
15985
448ecec3
GM
159862009-09-07 Glenn Morris <rgm@gnu.org>
15987
15988 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
15989
8f09a02f
GM
15990 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
15991 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
15992
76ff67bf
NR
159932009-09-06 Nick Roberts <nickrob@snap.net.nz>
15994
15995 * vc-git.el (vc-git-annotate-command): Use separator to parse
15996 arguments correctly.
15997
943c8b75
EZ
159982009-09-06 Eli Zaretskii <eliz@gnu.org>
15999
16000 * proced.el (proced-mode): Doc fix.
16001
680db9ac
MA
160022009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
16003
16004 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16005 lstat fails.
16006 (tramp-do-file-attributes-with-ls): Check for file existence at
16007 remote end.
16008 (tramp-do-file-attributes-with-stat): Likewise.
16009 (tramp-convert-file-attributes): Return nil when attr is nil.
16010
3f12e5bd
GM
160112009-09-05 Glenn Morris <rgm@gnu.org>
16012
c8dc27bf
GM
16013 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16014 properties to this button.
16015 (diary-fancy-display): Don't extend the button to the final newline.
16016 (diary-fancy-display-mode): Continue to define "q" as a local key.
16017
cca065d8
GM
16018 * calendar/cal-china.el (holiday-chinese): Make it slightly more
16019 efficient.
16020
cddaedb6
GM
16021 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16022
3f12e5bd
GM
16023 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16024 (byte-compile-dest-file-function): New option.
16025 (byte-compile-dest-file): Doc fix.
16026 Obey byte-compile-dest-file-function.
16027 (byte-compile-cl-file-p): New function.
16028 (byte-compile-eval): Only suppress noruntime warnings about cl functions
16029 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
16030 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16031 than for file being previously loaded.
16032 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16033 (byte-compile-file-form-require): Handle the case where requiring a file
16034 indirectly causes CL to be loaded.
16035
049a231b
KF
160362009-09-05 Karl Fogel <kfogel@red-bean.com>
16037
16038 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16039 before killing the old buffer, since by the time `kill-buffer' is
16040 run so many buffer variables have been set to nil that it may not
16041 behave as expected. (Bug#4061)
16042
ef7ef2a0
KF
160432009-09-05 Karl Fogel <kfogel@red-bean.com>
16044
16045 * files.el (find-alternate-file): If the old buffer is modified
16046 and visiting a file, behave similarly to `kill-buffer' when
16047 killing it, thus reverting to the pre-1.878 behavior; see
16048 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16049 for discussion. Also, consult `buffer-file-name' as a variable
16050 not as a function, for consistency with the rest of the code.
16051
73d854cd
MA
160522009-09-04 Michael Albinus <michael.albinus@gmx.de>
16053
16054 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16055 also when adding a new directory.
16056
16057 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
16058 defun.
16059
df120481
SM
160602009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
16061
16062 * files.el (locate-file-completion-table): Make it provide boundary
16063 information, so partial-completion works better.
16064
c0bc6d79
SM
160652009-09-04 Leo <sdl.web@gmail.com> (tiny change)
16066
16067 * mail/footnote.el (Footnote-text-under-cursor):
16068 Check footnote-text-marker-alist before using it (bug#4324).
16069
f76a9756
GM
160702009-09-04 Glenn Morris <rgm@gnu.org>
16071
67d110f1
GM
16072 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16073 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16074 * play/solitaire.el, play/tetris.el:
16075 Remove leading * from defcustom and defface docs.
16076
b42d4989
GM
16077 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16078 necessary.
16079 (diary-fancy-overriding-map): New variable.
16080 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16081 Use view-mode.
16082
f76a9756
GM
16083 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16084 goto-line.
16085
e605eeeb
GM
160862009-09-03 Glenn Morris <rgm@gnu.org>
16087
597e2240
GM
16088 * arc-mode.el (archive-mode):
16089 * dos-fns.el (set-default-process-coding-system):
16090 * man.el (Man-getpage-in-background):
16091 * menu-bar.el (menu-bar-describe-menu):
16092 * server.el (server-process-filter):
16093 * startup.el (command-line):
16094 * tar-mode.el (tar-header-block-tokenize, tar-extract):
16095 * w32-fns.el (set-default-process-coding-system):
16096 * x-dnd.el (x-dnd-handle-file-name):
16097 * international/mule-cmds.el (mule-menu-keymap)
16098 (set-default-coding-systems, language-info-alist, set-language-info)
16099 (set-language-environment, standard-display-european-internal)
16100 (set-locale-environment):
16101 * international/mule-diag.el (mule-diag):
16102 * mail/emacsbug.el (report-emacs-bug):
16103 * mail/rmail.el (rmail-mode):
16104 * mail/sendmail.el (mail-setup):
16105 Use default-value rather than default-enable-multibyte-characters.
16106
f38184aa
GM
16107 * progmodes/f90.el: Move all safe properties into the defcustoms.
16108 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16109
e605eeeb
GM
16110 * calendar/appt.el (appt-check):
16111 * calendar/diary-lib.el (diary-set-header, diary-live-p)
16112 (diary-check-diary-file, diary-list-entries)
16113 (diary-include-other-diary-files, diary-simple-display)
16114 (diary-fancy-display, diary-print-entries)
16115 (diary-mark-included-diary-files, diary-make-entry):
16116 Don't call substitute-in-file-name on diary-file.
16117
734db384 161182009-09-03 Eduard Wiebe <usenet@pusto.de>
4e2af782 16119 Stefan Monnier <monnier@iro.umontreal.ca>
734db384
SM
16120
16121 * mail/footnote.el (footnote-prefix): Make it a defcustom.
16122 (footnote-mode-map): Move initialization into the declaration.
16123 (footnote-minor-mode-map): Define it rather than changing global-map.
16124 (footnote-mode): Use define-minor-mode.
16125
e5aa47f9
MA
161262009-09-02 Michael Albinus <michael.albinus@gmx.de>
16127
16128 * net/tramp.el (tramp-handle-file-attributes-with-ls)
16129 (tramp-do-file-attributes-with-perl)
16130 (tramp-do-file-attributes-with-stat): Rename from
16131 `tramp-handle-file-attributes-with-*'.
16132 (tramp-handle-file-attributes): Use them.
16133 (tramp-do-directory-files-and-attributes-with-perl)
16134 (tramp-do-directory-files-and-attributes-with-stat): Rename from
16135 `tramp-handle-directory-files-and-attributes-with-*'.
16136 (tramp-handle-directory-files-and-attributes): Use them.
16137 (tramp-method-out-of-band-p): Additional parameter SIZE.
16138 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16139 (tramp-handle-write-region): Use it.
734db384 16140 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
e5aa47f9
MA
16141 (tramp-handle-vc-registered): Check, whether the first run did
16142 return files to be tested.
16143 (tramp-advice-make-auto-save-file-name): Do not call directly
16144 `tramp-handle-make-auto-save-file-name', because this would bypass
16145 the locking mechanism.
16146
734db384 16147 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
e5aa47f9
MA
16148 (file-remote-p, process-file, start-file-process, set-file-times)
16149 (tramp-compat-file-attributes): Compatibility functions shall not
16150 call directly `tramp-handle-*', because this would bypass the
16151 locking mechanism.
16152 (tramp-compat-number-sequence): New defun.
16153
6e2ca895
GM
161542009-09-02 Glenn Morris <rgm@gnu.org>
16155
697c7714
GM
16156 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16157 alias for float-time.
16158 (time-to-number-of-days): In Emacs, use float-time.
16159 * net/newst-backend.el (time-add): Suppress warnings from compat
16160 function.
16161 * time.el (emacs-uptime, emacs-init-time):
16162 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16163 Use float-time rather than time-to-seconds.
16164
6e2ca895
GM
16165 * minibuffer.el (completion-initials-expand): Fix typo.
16166
16167 * faces.el (modeline, modeline-inactive, modeline-highlight)
16168 (modeline-buffer-id):
16169 * info.el (info-menu-5): Mark these face aliases as obsolete.
16170
ed17efec
NR
161712009-09-01 Nick Roberts <nickrob@snap.net.nz>
16172
16173 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16174 space ...
16175 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16176 no "--thread" option.
16177 (gdb-stopped): Don't print "Switched to thread" message when it is
16178 unchanged.
16179
fcb68f70
SM
161802009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
16181
16182 * minibuffer.el (completion-try-completion)
16183 (completion-all-completions): Remove ill-defined (and
16184 mistakenly installed and luckily never used nor documented)
16185 `completion-styles' property.
16186 (completion-initials-expand, completion-initials-all-completions)
16187 (completion-initials-try-completion): New functions.
16188 (completion-styles-alist): Add doc to each entry.
16189 Add new `initials' entry.
16190
83318a6d
NR
161912009-09-01 Nick Roberts <nickrob@snap.net.nz>
16192
16193 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16194 MI command -var-evaluate-expression.
16195 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16196 and tweak for case of string child.
734db384 16197 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
83318a6d 16198
d63eb0e7
GM
161992009-09-01 Glenn Morris <rgm@gnu.org>
16200
c4f6e489
GM
16201 * add-log.el (change-log-date-face, change-log-name-face)
16202 (change-log-email-face, change-log-file-face, change-log-list-face)
16203 (change-log-conditionals-face, change-log-function-face)
16204 (change-log-acknowledgement-face):
16205 * cus-edit.el (custom-invalid-face, custom-rogue-face)
16206 (custom-modified-face, custom-set-face, custom-changed-face)
16207 (custom-saved-face, custom-button-face, custom-button-pressed-face)
16208 (custom-documentation-face, custom-state-face, custom-comment-face)
16209 (custom-comment-tag-face, custom-variable-tag-face)
16210 (custom-variable-button-face, custom-face-tag-face)
16211 (custom-group-tag-face-1, custom-group-tag-face):
16212 * diff-mode.el (diff-header-face, diff-file-header-face)
16213 (diff-index-face, diff-hunk-header-face, diff-removed-face)
16214 (diff-added-face, diff-changed-face, diff-function-face)
16215 (diff-context-face, diff-nonexistent-face):
16216 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16217 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16218 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16219 (Info-title-4-face):
16220 * isearch.el (isearch-lazy-highlight-face):
16221 * log-view.el (log-view-file-face, log-view-message-face):
16222 * paren.el (show-paren-match-face, show-paren-mismatch-face):
16223 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16224 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16225 (cvs-msg-face):
16226 * smerge-mode.el (smerge-mine-face, smerge-other-face)
16227 (smerge-base-face, smerge-markers-face):
16228 * wid-edit.el (widget-documentation-face, widget-button-face)
16229 (widget-field-face, widget-single-line-field-face)
16230 (widget-inactive-face, widget-button-pressed-face):
16231 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16232 (woman-addition-face):
2fb1ec93
GM
16233 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16234 (eshell-ls-executable-face, eshell-ls-readonly-face)
16235 (eshell-ls-unreadable-face, eshell-ls-special-face)
16236 (eshell-ls-missing-face, eshell-ls-archive-face)
16237 (eshell-ls-backup-face, eshell-ls-product-face)
16238 (eshell-ls-clutter-face):
16239 * eshell/em-prompt.el (eshell-prompt-face):
16240 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
c4f6e489 16241 * obsolete/old-whitespace.el (whitespace-highlight-face):
0142e36b
GM
16242 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16243 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16244 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16245 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16246 (antlr-font-lock-literal-face):
c4f6e489
GM
16247 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16248 (ebrowse-root-class-face, ebrowse-file-name-face)
16249 (ebrowse-default-face, ebrowse-member-attribute-face)
16250 (ebrowse-member-class-face, ebrowse-progress-face):
16251 * progmodes/make-mode.el (makefile-space-face):
16252 * progmodes/sh-script.el (sh-heredoc-face):
16253 * textmodes/flyspell.el (flyspell-incorrect-face)
16254 (flyspell-duplicate-face):
16255 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
49c539a1 16256 * textmodes/texinfo.el (texinfo-heading-face):
c4f6e489
GM
16257 Mark face aliases with "-face" suffix as obsolete.
16258
d80619fa
GM
16259 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16260 compiler.
16261
5f68c1b7
GM
16262 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16263 (eudc-bob-sound-menu): Use defvar rather than defconst, since
16264 easy-menu-define wants to modify these.
16265
16266 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16267
16268 * net/browse-url.el (browse-url-file-url):
16269 * term/internal.el (dos-codepage-setup):
16270 Use default-value rather than default-enable-multibyte-characters.
16271
d80619fa 16272 * progmodes/etags.el (etags-goto-tag-location):
5f68c1b7
GM
16273 * progmodes/flymake.el (flymake-highlight-line)
16274 (flymake-goto-file-and-line, flymake-goto-line):
16275 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16276 (gdb-goto-breakpoint):
16277 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16278 * progmodes/python.el (python-find-function)
16279 (python-pdbtrack-track-stack-file):
16280 * progmodes/verilog-mode.el (verilog-surelint-off):
16281 * term/ns-win.el (ns-open-file-select-line):
16282 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16283 Use forward-line rather than goto-line.
16284
d63eb0e7
GM
16285 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16286 * textmodes/reftex-index.el (reftex-display-index):
16287 * textmodes/reftex-ref.el (reftex-offer-label-menu):
16288 * textmodes/reftex-toc.el (reftex-toc):
16289 Remove unnecessary bindings of default-major-mode (all are followed by
16290 major-mode check and possible mode switch).
16291
0afad278
NR
162922009-08-31 Nick Roberts <nickrob@snap.net.nz>
16293
16294 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16295 Handle watchpoints (bug#4282).
16296 (def-gdb-thread-buffer-command): Enable thread to be selected by
16297 clicking without selecting threads buffer first.
16298 (gdb-current-context-command): Use selected frame so that "up",
16299 "down" etc work in the GUD buffer.
16300 (gdb-update): Find selected frame before rendering stack buffer.
16301 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16302
4e135dd2
SM
163032009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
16304
16305 * progmodes/sym-comp.el (displayed-completions): Remove.
16306 (symbol-complete): Use minibuffer-complete.
16307
e61eba34
GM
163082009-08-31 Glenn Morris <rgm@gnu.org>
16309
16310 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16311
734db384
SM
16312 * apropos.el (apropos-symbols-internal):
16313 Handle (obsolete) face aliases.
e61eba34
GM
16314
16315 * faces.el (describe-face): Adjust the output format to be more like
16316 describe-variable, and to mention (obsolete) face aliases.
16317 Adjust the whitespace so that help-setup-xref works.
16318
16319 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16320 * calendar/diary-lib.el (diary-button-face):
16321 Mark these face aliases as obsolete.
16322
16323 * calendar/calendar.el (calendar-today): Doc fix.
16324
4cf71456
NR
163252009-08-31 Nick Roberts <nickrob@snap.net.nz>
16326
16327 * progmodes/gdb-mi.el (gdb-control-all-threads)
16328 (gdb-control-current-thread): Force tool bar update.
16329 (gdb-non-stop-handler): New function.
16330 (gdb-init-1): Use it to test if non-stop mode is supported.
16331 Remove unused gdbmi buffer type.
16332
e61eba34 163332009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6830f449
JL
16334
16335 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
7ae62430 16336 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
6830f449 16337
4324f7ca
NR
163382009-08-30 Nick Roberts <nickrob@snap.net.nz>
16339
16340 * comint.el (comint-exec-1): Check command is non-null first.
16341 Part of gdb-mi.el change (2009-08-28).
16342
a1bf889a
SM
163432009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16344
16345 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
16346
060c08b5
JB
163472009-08-30 Juanma Barranquero <lekktu@gmail.com>
16348
16349 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
16350 instead of `dolist' to avoid a recursive require when bootstrapping.
16351
ab22be48
SM
163522009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16353
73ebf88f
SM
16354 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
16355
80629cfc
SM
16356 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
16357
206d0387 16358 * net/imap.el (imap-send-command): Simplify.
734db384 16359 (imap-wait-for-tag): point-max -> buffer-size.
206d0387 16360
844f7784
SM
16361 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
16362
5ca4661e
SM
16363 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
16364 with constant argument.
16365
c61dc887
SM
16366 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
16367
7eb73deb
SM
16368 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
16369
5fe443de
SM
16370 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
16371 Change default, since most of our files don't have a history.
16372 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
16373 the user.
16374
6444d64a
SM
16375 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16376 Add comint-run.
16377
5cb16bfc
SM
16378 * calc/calc.el: Improve commenting convention.
16379 (calc-digit-map, toplevel): Simplify.
16380
0aeb71a7
SM
16381 * comint.el (comint-insert-input): Be careful to only set point if we
16382 don't delegate to some other command.
16383
9a9af856
SM
16384 * proced.el (proced-signal-list): Make it an alist.
16385 (proced-grammar-alist): Capitalize names.
16386 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
16387 Disable undo manually and make it read-only.
16388 Use completion-annotate-function.
16389
ab22be48
SM
16390 * minibuffer.el (minibuffer-message): If the current buffer is not
16391 a minibuffer, insert the message in the echo area rather than at the
16392 end of the buffer.
16393 (completion-annotate-function): New variable.
16394 (minibuffer-completion-help): Use it.
16395 (completion--embedded-envvar-table): Environment vars are
16396 always case-sensitive.
16397
4a948dbf
GM
163982009-08-30 Glenn Morris <rgm@gnu.org>
16399
16400 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
16401 from fortran-current-defun.
16402 (fortran-beginning-of-subprogram): Be more precise about finding the
16403 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
16404 (fortran-end-of-subprogram): Simplify.
16405 (fortran-current-defun): Use fortran-start-prog-re.
16406
486cf3b8
JB
164072009-08-29 Juanma Barranquero <lekktu@gmail.com>
16408
16409 * subr.el (do-after-load-evaluation): Simplify.
16410
db167d28
DN
164112009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
16412
16413 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
16414
16415 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
16416 (vc-rcs-print-log): Use it.
16417
16418 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
16419
efbc652a
SM
164202009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
16421
2aa0e5bf
SM
16422 * paths.el (abbrev-file-name): Move to abbrev.el.
16423 * abbrev.el (abbrev-file-name): Move from paths.el.
16424 Obey user-emacs-directory.
16425 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
16426 user-emacs-directory.
16427 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
16428 abbrev-file-name and calc-settings-file any more.
16429 * startup.el (command-line): Recompute abbrev-file-name and
16430 abbreviated-home-dir.
16431 (normal-no-mouse-startup-screen): Improve the generic code and get rid
16432 of the special code for when C-h bindings haven't been changed.
16433 (display-startup-echo-area-message): Use with-current-buffer.
16434 (command-line-1): Use a list of strings, rather than a list of lists
16435 of strings for longopts.
16436
51da8fe2
SM
16437 * files.el (get-free-disk-space): Use / for default-directory.
16438
0c3cc4dd
SM
16439 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
16440 Use with-current-buffer.
16441
d988dbf6
SM
16442 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
16443 Recognize immutable variables like most-positive-fixnum.
16444 (byte-compile-setq-default): Check and warn if trying to assign
16445 to an immutable variable, or a non-variable.
16446
efbc652a
SM
16447 * progmodes/cc-vars.el (c-comment-continuation-stars):
16448 * progmodes/cc-engine.el (c-looking-at-bos):
16449 * progmodes/cc-cmds.el (c-toggle-auto-state)
16450 (c-forward-into-nomenclature, c-backward-into-nomenclature)
16451 (c-comment-line-break-function): Add version of obsolescence.
16452
d30a05d1
JL
164532009-08-28 Juri Linkov <juri@jurta.org>
16454
16455 * files.el (magic-fallback-mode-alist): Add ZIP magic number
16456 associated with `archive-mode'.
16457
16458 * image.el (image-type-header-regexps): Use only JPEG magic number
16459 to determine JPEG images, and don't use `image-jpeg-p' because
16460 Emacs can display non-JFIF non-Exif JPEG images.
16461
1e8eecea
JB
164622009-08-28 Juanma Barranquero <lekktu@gmail.com>
16463
16464 * arc-mode.el (archive-mode):
16465 * emacs-lisp/re-builder.el (re-builder-unload-function):
16466 Protect against the default value of `major-mode' being nil.
16467
dd4fbf56
JB
164682009-08-28 Juanma Barranquero <lekktu@gmail.com>
16469
16470 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
16471 Fix typos in docstrings.
16472
16473 * progmodes/js.el (js--macro-decl-re): Doc fix.
16474 (js--plain-method-re, js--split-name): Refloc docstring.
16475 (js--class-styles, js--make-merged-item, js--splice-into-items):
16476 Fix typos in docstrings; reflow docstrings.
16477 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
16478 (js--variable-decl-matcher, js--inside-pitem-p)
16479 (js--parse-state-at-point, js--get-all-known-symbols)
16480 (js--symbol-history, js-find-symbol, js--js-references)
16481 (js--moz-interactor, js--js-encode-value, js--read-tab):
16482 Fix typos in docstrings.
16483
72f16325
SM
164842009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16485
14acf2f5
SM
16486 * textmodes/reftex.el (reftex-get-file-buffer-force):
16487 * progmodes/verilog-mode.el (verilog-batch-execute-func):
16488 * emulation/viper.el (viper-go-away, viper-set-hooks):
16489 * emacs-lisp/re-builder.el (re-builder-unload-function):
16490 * emacs-lisp/bytecomp.el (byte-compile-file):
16491 * ses.el (ses-unload-function):
16492 * hexl.el (hexl-find-file):
16493 * files.el (normal-mode):
16494 * ehelp.el (with-electric-help):
16495 * autoinsert.el (auto-insert-alist):
16496 * arc-mode.el (archive-mode):
16497 Use (default-value 'major-mode) instead of default-major-mode.
16498
72f16325
SM
16499 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
16500 * international/mule.el (load-with-code-conversion):
16501 * emacs-lisp/debug.el (debug):
16502 * ediff-vers.el (ediff-rcs-get-output-buffer):
16503 * dired.el (dired-internal-noselect): Don't let-bind
16504 default-major-mode around code that doesn't use it.
16505 E.g. buffer creation via get-buffer-create doesn't use it.
16506
aa485f7c
MA
165072009-08-28 Michael Albinus <michael.albinus@gmx.de>
16508
16509 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
16510 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
16511 when writing the temp file. Otherwise, epa-file gets confused.
16512 (tramp-register-file-name-handlers): Make it a defun. Move also
16513 `epa-file-handler' to the front of `file-name-handler-alist'.
16514
165152009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16516
16517 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
16518 start right after a ^M.
16519 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
16520 (tramp-completion-file-name-regexp-separate)
16521 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
72f16325
SM
16522 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
16523 Don't modify last-coding-system-used by accident.
aa485f7c
MA
16524 (tramp-completion-file-name-handler): Apply the checks here,
16525 instead during registration.
48c2d18a 16526 (tramp-register-file-name-handlers): Renamed from
aa485f7c
MA
16527 `tramp-register-file-name-handler'. Register both
16528 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
72f16325 16529 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
aa485f7c 16530
3f0c2b92
NR
165312009-08-28 Nick Roberts <nickrob@snap.net.nz>
16532
72f16325
SM
16533 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
16534 Remove variable ...
3f0c2b92
NR
16535 (gdb-init-1, gdb-display-separate-io-buffer)
16536 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
16537 references to it.
16538 (gdb-inferior-io-mode): Use make-comint-in-buffer.
16539 (gdb-inferior-filter): Use comint-output-filter to stop
16540 echoing and remove ^M characters.
16541
705e5bd9
SM
165422009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16543
009fdc2e
SM
16544 * emulation/viper-init.el (viper-restore-cursor-type):
16545 * emulation/cua-base.el (cua--update-indications):
16546 Replace default-cursor-type with (default-value 'cursor-type).
16547
b56a5ae0
SM
16548 * mail/sendmail.el (mail-recover-1):
16549 * international/mule-diag.el (describe-current-coding-system-briefly)
16550 (describe-current-coding-system):
16551 * international/mule-cmds.el (select-safe-coding-system)
16552 (select-message-coding-system)
16553 (set-language-environment-coding-systems, set-locale-environment):
16554 * hexl.el (hexl-insert-multibyte-char):
16555 * dos-w32.el (find-buffer-file-type-coding-system):
16556 * simple.el (what-cursor-position):
16557 Replace uses of default-buffer-file-coding-system
16558 with (default-value 'buffer-file-coding-system).
16559
de70529f
SM
16560 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
16561 Replace uses of default-cursor-in-non-selected-windows
16562 with (default-value 'cursor-in-non-selected-windows).
16563 Use with-current-buffer.
16564
705e5bd9
SM
16565 * mail/feedmail.el: Use CL macros.
16566 (feedmail-run-the-queue, feedmail-send-it-immediately):
16567 * dos-w32.el (find-buffer-file-type): Replace uses of
16568 default-buffer-file-type with (default-value 'buffer-file-type).
16569
4d985ac2
GM
165702009-08-28 Glenn Morris <rgm@gnu.org>
16571
16572 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
16573 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
16574 Use default-value of major-mode rather than default-major-mode.
16575
17c15b81
SM
165762009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16577
3a68ab06
SM
16578 * Makefile.in (update-elcfiles): Report left over elc files.
16579
9421bdd1
SM
16580 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
16581 expand-file-name and with-current-buffer.
16582 (mail-get-names, mail-directory): Use with-current-buffer.
16583
17c15b81
SM
16584 * vc.el (vc-read-revision): New function.
16585 (vc-version-diff, vc-merge): Use it.
16586
ba83a64e
SS
165872009-08-27 Sam Steingold <sds@gnu.org>
16588
16589 * simple.el (kill-do-not-save-duplicates): New user option.
16590 (kill-new): When it is non-nil, and the new string is the same as
16591 the latest kill, set replace to t to avoid duplicates in kill-ring.
16592
be3e598a 165932009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
d5b5c94a
MA
16594
16595 * net/tramp.el (tramp-handle-process-file): Do not flush all
16596 caches when `process-file-side-effects' is set.
16597 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17c15b81
SM
16598 instead of `tramp-find-file-exists-command'.
16599 Unset `process-file-side-effects'.
d5b5c94a
MA
16600
166012009-08-27 Michael Albinus <michael.albinus@gmx.de>
16602
16603 * net/tramp.el (tramp-methods): New method "rsyncc".
16604 (top): Add completion function for "rsyncc".
16605 (tramp-message-show-message): New defvar.
16606 (tramp-message, tramp-error): Use it.
16607 (tramp-do-copy-or-rename-file-directly): Extend check for direct
16608 remote copying.
16609 (tramp-do-copy-or-rename-file-out-of-band): Handle new
16610 `tramp-methods' entry `copy-env' of "rsyncc".
16611 (tramp-vc-registered-read-file-names): New defconst.
16612 (tramp-vc-registered-file-names): New defvar.
16613 (tramp-handle-vc-registered): Implement optimization strategy.
16614 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
16615 (tramp-vc-file-name-handler): New defun.
16616 (tramp-get-ls-command, tramp-get-test-command)
16617 (tramp-get-file-exists-command, tramp-get-remote-ln)
16618 (tramp-get-remote-perl, tramp-get-remote-stat)
17c15b81 16619 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
d5b5c94a
MA
16620
16621 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
16622 (tramp-cache-inhibit-cache): Extend doc string. It allows also
16623 timestamps.
16624 (tramp-get-file-property): Check for timestamps in
16625 `tramp-cache-inhibit-cache'.
16626 (tramp-set-file-property): Write timestamp.
16627
1339cf20
KH
166282009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
16629
16630 * language/japan-util.el (japanese-symbol-table): Add entries for
16631 cp932-2-byte.
16632
16633 * international/characters.el: Add category `j' to cp932-2-byte.
16634
726e3f1d
KH
166352009-08-27 Kenichi Handa <handa@m17n.org>
16636
16637 * international/fontset.el (build-default-fontset-data): New macro.
16638 (setup-default-fontset): Use build-default-fontset-data for CJK,
7b6fefac 16639 tibetan, ethiopic, and ipa.
726e3f1d 16640
4e3b4528
SM
166412009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16642
16643 * cus-start.el (default-major-mode): Customize `major-mode' instead.
16644 (enable-multibyte-characters): Not customizable any more.
16645
16646 * subr.el (default-mode-line-format, default-header-line-format)
16647 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
16648 (default-direction-reversed, default-truncate-lines)
16649 (default-left-margin, default-tab-width, default-case-fold-search)
16650 (default-left-margin-width, default-right-margin-width)
16651 (default-left-fringe-width, default-right-fringe-width)
16652 (default-fringes-outside-margins, default-scroll-bar-width)
16653 (default-vertical-scroll-bar, default-indicate-empty-lines)
16654 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
16655 (default-fringe-cursor-alist, default-scroll-up-aggressively)
16656 (default-scroll-down-aggressively, default-fill-column)
16657 (default-cursor-type, default-buffer-file-type)
16658 (default-cursor-in-non-selected-windows)
16659 (default-buffer-file-coding-system, default-major-mode)
16660 (default-enable-multibyte-characters): Mark as obsolete.
16661
b3cca6a6
DN
166622009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
16663
652cc1a2
DN
16664 * vc-dir.el (vc-dir-update): Remove debug helper.
16665
b3cca6a6
DN
16666 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
16667
4ed8c7aa
SS
166682009-08-26 Sam Steingold <sds@gnu.org>
16669
16670 * simple.el (save-interprogram-paste-before-kill): New user option.
16671 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
16672 save the interprogram-paste into kill-ring before overriding it
16673 with the Emacs kill.
16674
3b64d86b
DN
166752009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16676
16677 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
16678 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
16679 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
16680 and move to vc-rcs.el.
16681 (vc-default-next-revision): Rename to vc-rcs-next-revision and
16682 move to vc-rcs.el.
16683 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
16684 (vc-rcs-update-changelog): Remove.
16685 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
16686 and move to vc-rcs.el.
16687
16688 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
16689 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
16690 renaming.
16691 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
72f16325 16692 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
3b64d86b
DN
16693 vc.el, renamed to be RCS specific.
16694
72f16325
SM
16695 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
16696 New functions.
16697 (vc-cvs-update-changelog): Move here from vc.el.
3b64d86b
DN
16698
16699 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
16700 New functions.
16701
636a36a0
SM
167022009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
16703
16704 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
16705
239b3340
DN
167062009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16707
b91f0762 16708 * vc-git.el (vc-git-register): Use "git add" for directories.
2ddf440d
DN
16709 (vc-git-stash, vc-git-stash-show): New functions.
16710 (vc-git-extra-menu-map): Bind them.
b91f0762 16711
b8e54362
DN
16712 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
16713 directory correctly in case the item is a directory itself.
16714
239b3340
DN
16715 * vc.el: Document the desired behavior for reverted files in the
16716 `added' state.
dc810649
DN
16717 (vc-default-prettify-state-info): Remove function, unused.
16718
16719 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
239b3340 16720
e49c0179
GM
167212009-08-26 Glenn Morris <rgm@gnu.org>
16722
16723 * bindings.el (standard-mode-line-format): Reposition dashes in
16724 which-func entry. (Bug#4217)
16725
3029e594
GM
16726 * files.el (enable-local-variables, enable-local-eval)
16727 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
16728 the defcustoms.
16729 (auto-mode-alist, ignored-local-variables)
16730 (save-some-buffers-action-alist): Move risky declarations to the
16731 definitions.
16732 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
16733 (font-lock-defaults, format-alist, imenu--index-alist)
16734 (imenu-generic-expression, input-method-alist, minor-mode-alist)
16735 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
16736 (mode-line-modified, mode-line-mule-info, mode-line-position)
16737 (mode-line-process, mode-line-remote, outline-level)
16738 (parse-time-rules, rmail-output-file-alist)
16739 (special-display-buffer-names, vc-mode):
16740 Move risky declarations to the relevant files.
72f16325
SM
16741 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
16742 (mode-line-modified, mode-line-process, mode-line-position)
3029e594
GM
16743 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
16744 * font-core.el (font-lock-defaults):
16745 * format.el (format-alist):
16746 * vc-hooks.el (vc-mode):
16747 * window.el (special-display-buffer-names):
16748 * international/mule-cmds.el (input-method-alist):
16749 Define riskiness here (dumped file) rather than in files.el.
16750 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
16751 * imenu.el (imenu-generic-expression, imenu--index-alist):
16752 * outline.el (outline-level):
16753 * time.el (display-time-string):
16754 * calendar/parse-time.el (parse-time-rules):
16755 * mail/rmailout.el (rmail-output-file-alist):
16756 Autoload riskiness here, rather than placing in files.el.
16757
8476cfaf
SM
167582009-08-26 Andreas Schwab <schwab@linux-m68k.org>
16759
16760 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
16761
0b35b48e
MA
167622009-08-25 Michael Albinus <michael.albinus@gmx.de>
16763
16764 * simple.el (process-file-side-effects): New defvar.
16765
16766 * dired-aux.el (dired-show-file-type):
16767 * vc.el (vc-diff-internal):
16768 * vc-arch.el (vc-arch-diff):
16769 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
16770 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
16771 * vc-git.el (vc-git-registered, vc-git-working-revision)
16772 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
16773 (vc-git--empty-db-p):
16774 * vc-hooks.el (vc-user-login-name):
16775 * vc-svn.el (vc-svn-registered, vc-svn-state)
16776 (vc-svn-dir-extra-headers, vc-svn-find-revision):
16777 * progmodes/grep.el (grep-probe): Let-bind
16778 `process-file-side-effects' with nil.
16779
16780 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
16781
16782 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
16783 daemon. Replace ping by checking for running service for bluez
16784 and zeroconf. (Bug#4239)
16785
d54cc599
GM
167862009-08-25 Kevin Ryde <user42@zip.com.au>
16787
16788 * net/dig.el (dig): Add autoload cookie.
16789
7bfd055d
GM
167902009-08-25 Glenn Morris <rgm@gnu.org>
16791
bac9c66c
GM
16792 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
16793 load-history for absolute file-names.
16794 (byte-compile-file-form-require): Warn about use of the cl package.
16795
7bfd055d
GM
16796 * format.el (format-alist): Doc fix.
16797
5ac1f9e0
GM
16798 * play/bubbles.el (top-level): Don't require cl at run-time.
16799
af62aa88
GM
16800 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
16801 run-time cl).
16802
71e036af
DD
168032009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
16804
16805 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
16806 from cl package.
16807 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
16808
42110eaf
JB
168092009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
16810
16811 * calc/calc-alg.el (math-trig-rewrite)
16812 (math-hyperbolic-trig-rewrite): New functions.
16813 (calc-simplify): Simplify trig functions when asked.
16814
88421f3e
SM
168152009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16816
16817 * diff-mode.el (diff-find-source-location): Avoid goto-line.
16818
dbd9624e
KH
168192009-08-24 Kenichi Handa <handa@m17n.org>
16820
16821 * language/ind-util.el (mapthread): Delete it.
16822 (combinatorial): New function.
16823 (indian--puthash-cv): Use combinatorial instead of mapthread.
16824
9b89e3ee
GM
168252009-08-22 Kevin Ryde <user42@zip.com.au>
16826
16827 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
16828 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
16829 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
16830 Clarify docstring that the value is strings not symbols.
16831 (checkdoc-list-of-strings-p): New function.
16832
e6ce8c42
GM
168332009-08-22 Glenn Morris <rgm@gnu.org>
16834
2ddf2ea6 16835 * files.el (auto-mode-alist):
a3374680
GM
16836 * hippie-exp.el (he-concat-directory-file-name):
16837 * lpr.el (lpr-windows-system, printer-name):
16838 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
16839 * ps-print.el (ps-windows-system):
16840 * startup.el (command-line):
16841 * emulation/viper-ex.el (viper-glob-function):
16842 * international/mule-cmds.el (set-language-environment-coding-systems):
16843 * net/ange-ftp.el (ange-ftp-write-region):
16844 * obsolete/fast-lock.el (fast-lock-cache-name):
2ddf2ea6 16845 Remove code for defunct system-types emx, macos, mswindows, next-mach,
a3374680
GM
16846 unisoft-unix, vax-vms, win32, w32.
16847
977955fa
GM
16848 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
16849 given name if the pattern is not more specific.
16850
b4deec2e
GM
16851 * calendar/lunar.el (lunar-phase-names): New option.
16852 (lunar-phase): Doc fix.
16853 (lunar-cycles-per-year): New constant.
16854 (lunar-index): New function.
16855 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
16856 (lunar-phase-name): Use lunar-phase-names.
16857 (calendar-lunar-phases): Use format.
16858 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
16859
47e83968
GM
16860 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
16861 Copy imenu-example--name-and-position function here for own use.
16862 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
16863
e6ce8c42
GM
16864 * bs.el (bs--redisplay):
16865 * cus-edit.el (custom-redraw):
16866 * ibuffer.el (ibuffer-bury-buffer):
16867 * server.el (server-goto-line-column):
16868 * startup.el (command-line-1):
16869 * strokes.el (strokes-xpm-for-stroke):
16870 * term.el (term-display-buffer-line):
16871 * view.el (View-goto-line):
16872 * calc/calc.el (calc-do, calc-trail-buffer):
16873 * play/gamegrid.el (gamegrid-add-score-insecure):
16874 * progmodes/ada-mode.el (ada-compile-goto-error):
16875 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
16876 (ebrowse-select-1st-to-9nth):
47e83968 16877 * progmodes/cperl-mode.el (cperl-time-fontification):
e6ce8c42
GM
16878 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
16879 * progmodes/gud.el (gud-display-line):
16880 (idlwave-shell-display-line):
16881 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
16882 * progmodes/make-mode.el (makefile-browser-toggle):
16883 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
16884 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
16885 * textmodes/picture.el (picture-draw-rectangle):
16886 * textmodes/reftex-index.el (reftex-index-goto-letter):
16887 (reftex-select-jump-to-previous):
16888 * textmodes/reftex-sel.el (reftex-find-start-point)
16889 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
16890 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
16891 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
16892 * textmodes/tex-mode.el (tex-compilation-parse-errors):
16893 * textmodes/two-column.el (2C-associated-buffer):
16894 Use forward-line rather than goto-line.
16895
16896 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
16897 goto-line.
16898
4b18bdb3
GM
16899 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
16900 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
16901 (quick-check-list-to-regexp): Declare.
e6ce8c42 16902
72f16325
SM
16903 * progmodes/make-mode.el (makefile-browser-insert-selection):
16904 Use goto-char rather than goto-line.
e6ce8c42
GM
16905
16906 * progmodes/prolog.el (compilation-error-regexp-alist)
16907 (compilation-forget-errors): Declare.
16908
32a2cf25
JL
169092009-08-22 Juri Linkov <juri@jurta.org>
16910
16911 * progmodes/grep.el (lgrep, rgrep): At the beginning
16912 set `dir' to `default-directory' unless `dir' is a non-nil
16913 readable directory. (Bug#4052)
16914 (lgrep, rgrep): Change a weird way to report an error
16915 from using `read-string' to using `error'.
16916 Instead of using interactive arguments in the function body,
16917 add new argument `confirm'.
16918
5443c9b7
SM
169192009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
16920
cb5b40ee
SM
16921 * textmodes/remember.el (remember-buffer):
16922 * progmodes/cperl-mode.el (cperl-vc-header-alist):
16923 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
16924 (icalendar-extract-ical-from-buffer):
5443c9b7
SM
16925 * net/newst-treeview.el (newsticker-groups-filename):
16926 * net/newst-backend.el (newsticker-cache-filename):
16927 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
16928 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
16929 (speedbar-add-ignored-path-regexp, speedbar-line-path)
16930 (speedbar-buffers-line-path, speedbar-path-line)
16931 (speedbar-buffers-line-path):
16932 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
16933 (epg-sign-keys):
16934 * epa.el (epa-display-verify-result):
16935 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
16936
d6261cc1
GM
169372009-08-21 Glenn Morris <rgm@gnu.org>
16938
3e1ea342
GM
16939 * progmodes/js.el (inferior-moz-process): Fix declaration.
16940
ce86eeb5
GM
16941 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
16942
fff28970
GM
16943 * obsolete/rnewspost.el (news-mail-reply):
16944 Use goto-char rather than goto-line.
16945
d93e053b
GM
16946 * term/ns-win.el (ns-open-file-select-line):
16947 Use line-beginning-position rather than goto-line.
16948
d5d105e8
GM
16949 * apropos.el (apropos-command):
16950 * ehelp.el (electric-helpify):
16951 * printing.el (pr-show-setup):
16952 * strokes.el (strokes-help):
16953 * tutorial.el (tutorial--describe-nonstandard-key)
16954 (tutorial--detailed-help):
16955 * woman.el (woman-mini-help, woman-display-extended-fonts):
16956 * calc/calc-help.el (calc-describe-key):
16957 * emulation/edt.el (edt-electric-helpify):
16958 * international/mule-diag.el (mule-diag):
16959 * play/yow.el (apropos-zippy):
16960 * progmodes/python.el (python-describe-symbol):
16961 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
16962 * textmodes/table.el (*table--cell-describe-mode)
16963 (*table--cell-describe-bindings):
16964 Use help-print-return-message rather than the now obsolete alias.
16965
a8ab722f 16966 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
9b4c5ecd
GM
16967 (calendar-cursor-to-visible-date):
16968 * play/5x5.el (5x5-position-cursor):
16969 * play/decipher.el (decipher):
16970 * play/gomoku.el (gomoku-goto-xy):
16971 * play/landmark.el (lm-goto-xy):
16972 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
16973 (mpuz-paint-digit):
16974 Use forward-line, not goto-line.
a8ab722f 16975
d6261cc1
GM
16976 * mail/rmail.el (rmail-obsolete): Delete custom group.
16977 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
16978 (rmail-remote-password, rmail-remote-password-required):
16979 Remove unneeded :set-after and :set properties.
16980
9e846523
MA
169812009-08-21 Michael Albinus <michael.albinus@gmx.de>
16982
16983 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
16984
bbe1f502
DN
169852009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
16986
bcc5db24
DN
16987 * loadup.el: Remove leftover macos code.
16988
bbe1f502
DN
16989 * vc-git.el (vc-git-annotate-command): Run asynchronously.
16990 Explicitly pass the date format to git blame so that user local
16991 so that the output format can be parsed.
16992
6fd2d19a
MA
169932009-08-20 Michael Albinus <michael.albinus@gmx.de>
16994
16995 * net/dbus.el (top): Don't check for (getenv
16996 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
16997
31764e15
SM
169982009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
16999
17000 * log-edit.el (log-edit-strip-single-file-name): New var.
5443c9b7 17001 (log-edit-insert-changelog): Use it. Bug#3571
31764e15 17002
28930e39
SM
170032009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17004
4fd15622 17005 * subr.el (read-passwd): Use read-key so keypad keys work as well.
31764e15 17006 Bug#3287
4fd15622 17007
b3d8e4a0
SM
17008 * help.el (help-print-return-message): Rename from
17009 print-help-return-message.
17010
c9829c70
SM
17011 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17012 cvs-mode-map parent hack.
17013 (log-view-mode): Derive from special-mode.
17014
b932657b
SM
17015 * linum.el (linum-mode): window-size-change-functions is redundant.
17016 Adapt to new window-configuration-change-hook behavior.
17017 (linum-after-size, linum-after-config): Remove.
17018
1b700bca
SM
17019 * imenu.el (imenu-example--name-and-position)
17020 (imenu-example--lisp-extract-index-name)
17021 (imenu-example--create-lisp-index, imenu-example--create-c-index):
17022 Mark as obsolete.
17023
28930e39
SM
17024 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17025 (inferior-prolog-mode): Use it.
17026 (inferior-prolog-load-file): Reset list of errors.
17027
c9af0b68
KH
170282009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
17029
17030 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17031
17032 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17033
720c7cd6
MA
170342009-08-19 Michael Albinus <michael.albinus@gmx.de>
17035
17036 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17037 is running already.
17038
03a74b84
SM
170392009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17040
17041 * subr.el (listify-key-sequence-1): Use normal syntax since those
17042 integers are nowadays always represented by the same (positive) number
17043 on all platforms.
17044 (read-key-empty-map): New const.
17045 (read-key-delay): New var.
17046 (read-key): New function.
17047 (force-mode-line-update): Use with-current-buffer.
17048 (locate-user-emacs-file): Don't forget to abbreviate the file name.
17049 (start-process-shell-command, start-file-process-shell-command):
17050 Discourage the use of command-args.
17051
f43e88d4
GM
170522009-08-19 Glenn Morris <rgm@gnu.org>
17053
17054 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17055
890429cc
SM
170562009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
17057
85be9ec4
SM
17058 * simple.el (choose-completion-string): Don't rely on
17059 minibuffer-completing-file-name and ad-hoc checks to decide whether
17060 to continue completion or not.
17061
890429cc
SM
17062 * minibuffer.el (minibuffer-hide-completions): New function.
17063 (completion--do-completion): Use it.
17064 (completions-annotations): New face.
17065 (completion--insert-strings): Use it.
17066 (completion-pcm--delim-wild-regex): Add docstring.
17067 (completion-pcm--string->pattern): Add support for 0-width delimiters
17068 in completion-pcm--delim-wild-regex.
17069
265d4549
SM
170702009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
17071
d440b941
SM
17072 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17073 Remove unused var `buffer-modified-p'.
17074
265d4549
SM
17075 * minibuffer.el (completion--do-completion): Move point for the #b001
17076 case as well (bug#4176).
17077 (minibuffer-complete, minibuffer-complete-word): Don't move point.
17078
ba6f7d86
MA
170792009-08-18 Michael Albinus <michael.albinus@gmx.de>
17080
17081 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
17082 and :session buses.
17083
98819490
KH
170842009-08-18 Kenichi Handa <handa@m17n.org>
17085
265d4549
SM
17086 * international/ucs-normalize.el (ucs-normalize-version):
17087 Change to 1.1.
58627cf0
KH
17088 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17089 (utf-8-hfs): Make it perform normalization on encoding too.
17090
98819490
KH
17091 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
17092 (sentence-end-without-space): Delete duplicated chars.
17093 (sentence-end-base): Likewise.
e739cc85
KH
17094
17095 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
17096 (html-mode): Delete duplicated chars from sentence-end-base.
17097
17098 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
17099 (texinfo-mode): Delete duplicated chars from sentence-end-base.
98819490 17100
645b9326
CY
171012009-08-17 Chong Yidong <cyd@stupidchicken.com>
17102
17103 * files.el (hack-one-local-variable): If the mode function is for
17104 a minor mode, pass it an argument (Bug#4148).
17105
56c195af
MA
171062009-08-17 Michael Albinus <michael.albinus@gmx.de>
17107
17108 * net/tramp.el (tramp-register-completion-file-name-handler):
17109 Check also for (member 'partial-completion completion-styles).
17110
7a55c78b
CY
171112009-08-16 Chong Yidong <cyd@stupidchicken.com>
17112
17113 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17114 abbrev (Bug#3943).
17115
be3e598a 171162009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
8c777c8d
CY
17117
17118 * progmodes/cperl-mode.el: Merge upstream 6.2.
17119 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17120 (cperl-forward-re): Check cperl-brace-recursing.
17121 (cperl-highlight-charclass): New function.
17122 (cperl-find-pods-heres): Use it.
31cd2dd4 17123 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
8c777c8d 17124 (cperl-beautify-regexp-piece): Fix column calculation.
31cd2dd4 17125 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
8c777c8d
CY
17126 (cperl-beautify-level): Don't process entire regexp.
17127 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17128 calling man.
17129 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17130 (cperl-init-faces): Build a list in the normal way.
17131
81b1f9c9
CY
171322009-08-16 Chong Yidong <cyd@stupidchicken.com>
17133
17134 * calendar/parse-time.el (parse-time-string-chars): Save match
17135 data.
17136
c3732cb8
SM
171372009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
17138
55659495
SM
17139 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17140 (sql-product): Use it.
17141 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17142 (sql-set-product): Add completion.
17143 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17144 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17145 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17146 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17147 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17148 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17149 (sql-highlight-db2-keywords): Remove.
17150 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17151 (sql-highlight-product): Use derived-mode-p.
17152 (sql-set-sqli-buffer): Use with-current-buffer.
17153 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17154 Simplify.
17155
1ae79427
SM
17156 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17157
c3732cb8
SM
17158 * term.el: Fix commenting convention, turn comments into docstrings.
17159
f24b8bf3
CY
171602009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17161
17162 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17163
7b6fefac 171642009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
e1bdde78 17165
1200ac26 17166 * calendar/parse-time.el (parse-time-string-chars): Compute using
d0d3f6e9
CY
17167 character classes, to handle non-ascii characters (Bug#3190).
17168
171692009-08-16 Chong Yidong <cyd@stupidchicken.com>
1200ac26 17170
1abbe4e5
CY
17171 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17172 another heredoc if the user adds another < (Bug#3226).
17173
c3732cb8
SM
17174 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17175 Don't initialize based on window-system (Bug#4124).
19261da4 17176
daad00fc
CY
17177 * facemenu.el (facemenu-read-color): Use a completion function
17178 that accepts any defined color, such as RGB triplets (Bug#3677).
17179
e1bdde78
CY
17180 * files.el (get-free-disk-space): Change fallback default
17181 directory to /. Expand DIR argument before switching to fallback.
17182 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17183
9d73a99e
CY
171842009-08-15 Chong Yidong <cyd@stupidchicken.com>
17185
17186 * files.el (load-library): Doc fix.
17187
68b962d4 171882009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
9d73a99e 17189
953e0c1a 17190 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
c3732cb8 17191 (viper-if-string): Redefine C-s in the minibuffer to insert the last
68b962d4 17192 incremental search string.
9d73a99e 17193
c3732cb8 17194 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
68b962d4 17195 XEmacs.
9d73a99e 17196
c3732cb8
SM
17197 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17198 (ediff-merge-region-is-non-clash)
17199 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
68b962d4 17200 Also check if the job is really a merge job.
9d73a99e 17201
c3732cb8 17202 * ediff.el (ediff-current-file): New function.
9d73a99e 17203
2e330adc
CY
172042009-08-15 Chong Yidong <cyd@stupidchicken.com>
17205
17206 * progmodes/js.el: Edit docstrings throughout to follow Emacs
17207 conventions.
c3732cb8 17208 (js-insert-and-indent): Delete function.
2e330adc
CY
17209 (js-mode-map): Don't bind keys to js-insert-and-indent.
17210 (js-beginning-of-defun): Rename from js--beginning-of-defun.
17211 (js-end-of-defun): Rename from js--end-of-defun.
c3732cb8 17212 (js-auto-indent-flag): Delete variable.
2e330adc 17213
17b5d0f7
CY
172142009-08-14 Chong Yidong <cyd@stupidchicken.com>
17215
c3732cb8
SM
17216 * progmodes/js.el: Remove proclaim statement.
17217 Defvar which-func-imenu-joiner-function to silence compiler.
2e330adc 17218
ba2d8894
CY
17219 * files.el (auto-mode-alist): Use js-mode for .js files.
17220
c3732cb8 17221 * progmodes/js2-mode.el: Remove file.
17b5d0f7
CY
17222
17223 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17224
17225 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17226
c3732cb8 17227 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17b5d0f7
CY
17228
172292009-08-14 Daniel Colascione <dan.colascione@gmail.com>
4e2af782 17230 Karl Landstrom <karl.landstrom@brgeight.se>
17b5d0f7
CY
17231
17232 * progmodes/js.el: New file.
17233
b6377f1d
MH
172342009-08-14 Mark A. Hershberger <mah@everybody.org>
17235
17236 * timezone.el (timezone-parse-date): Add ability to understand ISO
17237 basic format (minimal separators) dates in addition to the
17238 already-supported extended format dates.
17239
bc0eef46
EZ
172402009-08-14 Eli Zaretskii <eliz@gnu.org>
17241
4e021e65
EZ
17242 * international/ucs-normalize.el: Add a `coding' file variable.
17243
bc0eef46
EZ
17244 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17245
53dab179
SS
172462009-08-14 Sam Steingold <sds@gnu.org>
17247
6801c38a 17248 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
53dab179 17249
6c58c39c
CY
172502009-08-13 Chong Yidong <cyd@stupidchicken.com>
17251
17252 * faces.el (help-argument-name): Define it here instead of
17253 help-fns.el, because in daemon mode help-fns.el may be loaded when
17254 faces are still uninitialized (Bug#1078).
17255
17256 * help-fns.el (help-argument-name): Move defface to faces.el.
17257
c7baf7e9
NR
172582009-08-13 Nick Roberts <nickrob@snap.net.nz>
17259
17260 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17261 create buffer with a pty but no process so that GDB can make the
17262 inferior the controlling process.
17263
9c40e995 172642009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
d6d30064
KH
17265
17266 * international/ucs-normalize.el: New file.
17267
8cdba32b
RS
172682009-08-13 Richard Stallman <rms@gnu.org>
17269
5c950923
RS
17270 * mail/rmail.el (rmail-get-attr-names):
17271 Accept an attribute header that is too short.
17272
76e1e40b
RS
17273 * mail/rmail.el (rmail-forget-messages):
17274 Ignore nil elt in rmail-message-vector. Use dotimes.
17275
1fc01b08
RS
17276 * progmodes/compile.el (compilation-goto-locus):
17277 Use next-error-move-function.
17278
8cdba32b
RS
17279 * simple.el (next-error-move-function): New variable.
17280
99910cf4
JL
172812009-08-12 Juri Linkov <juri@jurta.org>
17282
17283 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17284 always non-nil. (Bug#4052)
17285
17286 * replace.el (read-regexp): Return empty string when
17287 `default-value' is nil.
17288 (keep-lines-read-args): Don't use empty string as the
17289 default value for `read-regexp'. (Bug#2495)
17290
fc5bdf6c
JL
172912009-08-12 Juri Linkov <juri@jurta.org>
17292
17293 * international/mule-cmds.el (ucs-insert): Change arguments
17294 from `arg' to `character', `count', `inherit' to be the same
17295 as in `insert-char'. Doc fix. (Bug#4039)
17296
17297 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17298
77748848
JL
172992009-08-12 Juri Linkov <juri@jurta.org>
17300
17301 * files-x.el: New file.
17302
17303 * files.el: Move code that deals with adding/deleting
17304 file/directory-local variables to files-x.el.
17305
17306 * Makefile.in (ELCFILES): Add files-x.elc.
17307
c8a44c4e
DD
173082009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
17309
27a9fd5a
DD
17310 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17311 to use `goto-line'.
17312 (gdb-place-breakpoints, gdb-get-location): Rewritten without
17313 `goto-line'.
17314 (gdb-invalidate-disassembly): Do not refresh upon receiving
7b6fefac 17315 'update signal. Instead, update all disassembly buffers only after
27a9fd5a 17316 threads list.
107ef54a 17317 (gdb): Send -target-detach when buffer is killed (Bug#3794).
cf6e27cf
DD
17318 (gdb-starting): Moved -data-list-register-names...
17319 (gdb-stopped): ...here so it's sent when first thread stops.
17320 (gdb-registers-handler-custom): Do nothing if register names are
17321 unknown yet.
27a9fd5a 17322
c8a44c4e
DD
17323 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17324 from `gdb-mi.el' to avoid extra tangling.
17325
17326 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
7b6fefac 17327 change which breaks `gud-def' definitions used in `gdb'.
c8a44c4e
DD
17328 (gdb-update-gud-running): No extra fuss for updating frame number.
17329
dfd4e693
SM
173302009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
17331
51c4341f
SM
17332 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
17333 (describe-language-environment-map, setup-language-environment-map)
17334 (set-coding-system-map): Move initialization into declaration.
17335 (set-language-info-alist): Last arg to define-key-after can be skipped.
17336
17337 * international/quail.el (quail-completion-1): Simplify.
17338 (quail-define-rules): Use slightly more compact code.
17339 (quail-insert-decode-map): Propertize keys, compact columns.
17340
dfd4e693
SM
17341 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17342 Add goto-line.
17343
83326559
MB
173442009-08-10 Miles Bader <miles@gnu.org>
17345
17346 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
17347 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
17348 (js2-instance-member, js2-private-member, js2-private-function-call)
17349 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
17350 (js2-magic-paren, js2-external-variable):
17351 Remove "-face" suffix from face names.
17352 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
17353 (js2-highlight-undeclared-vars, js2-peek-token)
17354 (js2-parse-function-params, js2-mode-show-errors)
17355 (js2-mode-show-warnings, js2-make-magic-delimiter)
17356 (js2-mode-highlight-magic-parens): Update to use new face names.
17357
8e754ea2
MA
173582009-08-09 Michael Albinus <michael.albinus@gmx.de>
17359
17360 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
17361 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
17362
1c292fc7
CY
173632009-08-09 Chong Yidong <cyd@stupidchicken.com>
17364
18d433a7
CY
17365 * subr.el: Provide hashtable-print-readable.
17366
1c292fc7
CY
17367 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
17368 hs-c-like-adjust-block-beginning.
17369 (hs-hide-block-at-point): Stop hiding at the beginning of
17370 hs-block-end-regexp (Bug#700).
17371
2db0ae07
DD
173722009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
17373
17374 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
17375 a macro.
17376 (gdb-registers-handler-custom): Do not fail when register names
17377 are unavailable.
17378
fe4740a6
DD
173792009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17380
17381 * progmodes/gdb-mi.el (gdb-control-all-threads)
17382 (gdb-control-current-thread): Interactive setters for
17383 `gdb-gud-control-all-threads' to use in menu.
17384 (gdb-show-run-p): Show «Go» when process is not active.
7b6fefac 17385 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
fe4740a6
DD
17386 gud/thread.xpm and gud/all.xpm.
17387
ce299d55
CY
173882009-08-08 Yoni Rabkin <yoni@rabkins.net>
17389
17390 * net/net-utils.el (net-utils-font-lock-keywords): New var.
17391 (nslookup-font-lock-keywords): Make it a variable.
dba90ffd
CY
17392 (net-utils-mode): New mode for viewing diagnostic network output.
17393 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
17394 (net-utils-run-simple): New function.
17395 (ifconfig, iwconfig, netstat, arp, route): Use it.
ce299d55 17396
7c4654ad
DD
173972009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
17398
17399 * progmodes/gdb-mi.el (gdb-read-memory-custom)
17400 (gdb-memory-set-address, def-gdb-set-positive-number)
17401 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
17402 after changing settings.
17403 (gdb-invalidate-disassembly): Update when first shown.
17404 (gdb-edit-locals-value): Fixed.
17405 (gdb-registers-handler-custom): Print registers in right order and
17406 allow changing register values (only for current thread yet).
9cbac26b
DD
17407 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17408 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17409 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17410 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
17411 info in mode name.
17412 (gdb-registers-mode-map): TAB to switch to locals.
7c4654ad 17413
0f25a277
EZ
174142009-08-08 Eli Zaretskii <eliz@gnu.org>
17415
17416 * mail/rmail.el (rmail-add-mbox-headers)
17417 (rmail-set-message-counters-counter): Search for
17418 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
17419
b971be60
GM
174202009-08-08 Glenn Morris <rgm@gnu.org>
17421
17422 * Makefile.in (ELCFILES): Update.
17423
a35d3ad8
EZ
174242009-08-07 Eli Zaretskii <eliz@gnu.org>
17425
60c2df40
EZ
17426 * mail/sendmail.el (mail-yank-original): Set
17427 buffer-file-coding-system from the one used by the message whose
17428 text is yanked.
17429
8b0bcc2e
EZ
17430 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17431 to "windows" when "pgnuplot" is used.
17432 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
17433 call accept-process-output if "pgnuplot" is used.
17434 (calc-graph-init): Don't send -display and -geometry to
17435 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
17436 running "pgnuplot -V" with shell-command-to-string.
17437
17438 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
17439 the default.
17440
174412009-08-07 Eli Zaretskii <eliz@gnu.org>
17442
17443 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
a35d3ad8
EZ
17444 org/org-latex.elc.
17445
3bca7ca5
DN
174462009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
17447
3c53763c
DN
17448 * vc-dispatcher.el (vc-resynch-window): Update comment.
17449
3bca7ca5
DN
17450 * term.el (term-handle-ansi-escape): Add comments with the
17451 terminfo capabilities implemented.
17452
7b217360
DD
174532009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
17454
17455 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
17456 (gdb-var-create-handler): Rewritten using JSON parser.
17457 (gdb-propertize-header): Moved earlier.
17458 (gdb-set-header): Removed to avoid duplication.
17459 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
17460 Refresh disassembly buffers only after threads list have been
17461 update.
17462 (gdb-threads-header, gdb-registers-header): Per-buffer header line
17463 variables.
17464
b4d84ecf
JL
174652009-08-04 Juri Linkov <juri@jurta.org>
17466
17467 * files.el: Commands to add/delete file/directory-local variables.
17468 (read-file-local-variable, read-file-local-variable-value)
17469 (read-file-local-variable-mode, modify-file-local-variable)
17470 (modify-file-local-variable-prop-line)
17471 (modify-dir-local-variable): New functions.
17472 (add-file-local-variable, delete-file-local-variable)
17473 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
17474 (add-dir-local-variable, delete-dir-local-variable)
17475 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
17476 (copy-dir-locals-to-file-locals-prop-line): New commands.
17477
42da39c1
CY
174782009-08-04 Chong Yidong <cyd@stupidchicken.com>
17479
17480 * abbrev.el (insert-abbrev-table-description): Prettify output.
17481 Suggested by Karl Chen.
17482
98bf8494
DD
174832009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
17484
78b9fb28 17485 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
7b6fefac 17486 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
78b9fb28
DD
17487 (gdb-overlay-arrow-position, gdb-thread-position)
17488 (gdb-disassembly-position): Declare variables.
17489 (gdb-wait-for-pending): Function now.
17490 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
17491 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
17492 compilation goes smoothly.
17493 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
17494 (gdb-non-stop-setting): New customization setting which replaces
17495 `gdb-non-stop' so changing it doesn't break active GDB session.
17496 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
17497 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
17498 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
17499 (gdb-show-threads-by-default): New customization options.
17500 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
17501 routines.
17502 (gdb-get-buffer-create): Send buffers update signal when they are
17503 created.
17504 (gdb-invalidate-locals, gdb-invalidate-registers)
17505 (gdb-invalidate-breakpoints)
17506 (gdb-invalidate-threads, gdb-invalidate-disassembly)
17507 (gdb-invalidate-memory): Accept update signal.
17508 (gdb-current-context-command): Use --frame option.
17509 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
17510 Implement `gdb-frame-number' selection logic.
17511 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
17512 whether to show GUD toolbar buttons.
17513 (gdb-thread-exited): Unselect current thread when it exits.
17514 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
17515 (gdb-mark-line): Routine which sets overlay arrow or inverses
17516 video on fringeless displays.
17517 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
17518 to build aligned columns of data in GDB buffers and set text
17519 properties line-by-line.
17520 (gdb-invalidate-breakpoints)
17521 (gdb-breakpoints-list-handler-custom)
17522 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
17523 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
17524 (gdb-registers-handler-custom): Align data columns.
17525 (gdb-locals-handler-custom): Now prints data like in variable
17526 declarations.
17527 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
17528 Removed confusing buttons.
17529 (gdb-invalidate-threads): Append --frame.
17530 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
17531 between breakpoints/threads buffers.
17532 (gdb-set-window-buffer): Now can ignore dedicated windows.
17533 (gdb-propertize-header): Use `gdb-set-window-buffer'.
17534 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
17535 (def-gdb-thread-buffer-gud-command): Replaces
17536 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
17537 for fine thread control.
17538 (gdb-preempt-existing-or-display-buffer): New function used to
17539 display bound buffers without breaking window layout.
17540 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
17541 (gdb-select-frame): New version of `gdb-frames-select' which now
17542 sets `gdb-frame-number' so commands may use --frame option instead
17543 of inner debugger state.
17544 (gdb-frame-handler): Do not set `gdb-frame-number'.
17545 (gdb-threads-mode-map): Select threads with mouse.
17546
17547 * progmodes/gud.el (gdb-gud-context-call): Declare function to
17548 avoid compilation warning.
17549 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
17550 `gdb-show-stop-p`.
17551
566f3909
DD
17552 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
17553 Argument `key' renamed to `buffer-type'.
17554 (gdb-current-context-buffer-name): Do not add thread info to
17555 buffer name when no thread is selected.
17556 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
17557 command (bug 3794).
17558 (gdb-thread-selected): Handle `=thread-selected' notification.
17559 (gdb-wait-for-pending): New macro to deal with congestion problems.
17560 (gdb-breakpoints-list-handler-custom): Don't fail on pending
17561 breakpoints.
7b6fefac
JB
17562 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
17563 This fixes problem similar to one described in bug 3947.
566f3909
DD
17564 (gud-menu-map): More menu items.
17565 (gdb-init-1): Reset `gdb-thread-number' to nil.
17566
4a31122c
DD
17567 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
17568 non-stop settings.
17569
17570 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
17571 (gdb-current-context-command): Do not append --thread if
17572 `gdb-thread-number' is nil.
17573 (gdb-running-threads-count, gdb-stopped-threads-count): New
17574 variables.
17575 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
17576 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
17577 customization options.
17578 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
17579 GUD commands.
7b6fefac 17580 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
4a31122c
DD
17581 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
17582 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
17583 set `gdb-thread-number' and update `gud-running' properly.
17584 (gdb-running): Update threads list when new threads appear.
17585 (gdb-stopped): Support non-stop operation and new thread switching
17586 logic.
17587 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
17588 (gdb-json-partial-output): New set of JSON routines.
17589 (def-gdb-auto-update-trigger): New `signal-list' optional
17590 argument.
17591 (gdb-thread-list-handler-custom): Update `gud-running',
17592 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
17593 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
17594 (gdb-continue-thread, gdb-step-thread): New commands for fine
17595 thread execution control.
17596 (gud-menu-map): New menu items to switch non-stop options.
17597 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
0d25e058 17598 (gdb-send): Mimic RET properly (bug 3794).
4a31122c
DD
17599
17600 * progmodes/gdb-mi.el (gdb-rules-name-maker)
17601 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
17602 gdb-buffer-rules.
17603 (def-gdb-auto-update-handler): New nopreserve optional argument.
17604 (gdb-stack-list-frames-custom): Print stack from top to bottom.
17605
17606 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
17607 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
17608 (gdb-parent-mode): New mode to derive other GDB modes from.
17609 (gdb-display-disassembly-for-thread)
17610 (gdb-frame-disassembly-for-thread): New commands for threads
17611 buffer.
17612
17613 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
17614 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
a5c9f540
DD
17615 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
17616 (gdb-update): We now store all GDB buffers in a list so that they
17617 can be updated by traversing a list instead of calling invalidate
7b6fefac 17618 triggers explicitly.
a5c9f540
DD
17619 (def-gdb-trigger-and-handler): New macro to define trigger-handler
17620 pair for GDB buffer.
17621 (gdb-stack-buffer-name): Add thread information.
e7086683
DD
17622 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
17623 handle pending triggers.
17624 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
17625 (def-gdb-thread-buffer-simple-command)
17626 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
17627 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
7b6fefac
JB
17628 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
17629 New commands which show buffers bound to thread.
e7086683 17630 (gdb-stack-list-locals-regexp): Removed unused regexp.
4a31122c 17631
7b6fefac
JB
17632 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
17633 (gdb-locals-buffer-name, gdb-registers-buffer-name)
4a31122c
DD
17634 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
17635 to (gud-comint-buffer) in *-buffer-name functions
17636 because (gdb-get-target-string) already does that.
17637 (gdb-locals-handler-custom, gdb-registers-handler-custom)
17638 (gdb-changed-registers-handler): Rewritten without regexps.
17639
ba214964 17640 * progmodes/gdb-mi.el: Basic thread selection support.
4a31122c
DD
17641 (gdb-thread-number): New variable.
17642 (gdb-current-context-command): New macro which adds --thread
17643 option to command.
7b6fefac 17644 (gdb-threads-mode-map): Select thread with SPC.
4a31122c 17645 (gdb-thread-list-handler-custom): Mark current thread with overlay
7b6fefac 17646 arrow. Synchronize GDB thread and Emacs thread.
4a31122c
DD
17647 (gdb-select-thread): New command which selects current thread.
17648 (gdb-invalidate-frames, gdb-invalidate-locals)
17649 (gdb-invalidate-registers): Use --thread option.
20f12ed8 17650
2ac33804
MA
176512009-08-04 Michael Albinus <michael.albinus@gmx.de>
17652
17653 * net/tramp.el (top): Make check for tramp-gvfs loading more
8e754ea2 17654 robust. (Bug#3977)
2ac33804
MA
17655 (tramp-handle-insert-file-contents): `unwind-protect' must be
17656 inside `with-parsed-tramp-file-name'.
17657
17658 * net/tramp-gvfs.el (top): Remove superfluous message when loading
17659 fails.
17660
39d0296f
NR
176612009-08-03 Nick Roberts <nickrob@snap.net.nz>
17662
17663 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
17664 directory if CLASSPATH is not set.
17665
adcbca53
MA
176662009-08-03 Michael Albinus <michael.albinus@gmx.de>
17667
7b6fefac
JB
17668 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
17669 New defconst.
7ef849b6 17670 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
adcbca53 17671
30924b0b
CY
176722009-08-02 Kevin Ryde <user42@zip.com.au>
17673
7b6fefac
JB
17674 * net/newst-backend.el (newsticker--raw-url-list-defaults):
17675 Update freshmeat link. Delete newsforge.com as it seems gone.
30924b0b 17676
b6ce92f1
CY
176772009-08-02 Chong Yidong <cyd@stupidchicken.com>
17678
d977a092
CY
17679 * select.el (x-set-selection): Doc fix (Bug#4021).
17680
17681 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
17682
b6ce92f1
CY
17683 * help-fns.el (describe-variable): Treat list return values from
17684 dir-locals-find-file properly (Bug#4005).
17685
7b6fefac 176862009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
3eedbc85
MA
17687
17688 * net/tramp.el (tramp-debug-message): Print also microseconds.
17689
176902009-08-02 Michael Albinus <michael.albinus@gmx.de>
17691
17692 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
17693 or END is non-nil.
17694 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
17695 (tramp-get-debug-buffer): Change `outline-regexp' according to new
17696 format.
17697
5ce6e4f4 17698 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
3eedbc85
MA
17699 (tramp-get-file-property): Use it.
17700
17701 * autorevert.el (auto-revert-handler): Allow
17702 `auto-revert-tail-mode' for remote files.
17703
2aafe808
JR
177042009-08-02 Jason Rumney <jasonr@gnu.org>
17705
17706 * minibuffer.el (read-file-name): Treat confirm options to
7b6fefac 17707 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
2aafe808 17708
e094097c
CY
177092009-08-02 Chong Yidong <cyd@stupidchicken.com>
17710
17711 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
17712 (font-lock-variable-name-face, font-lock-constant-face): Darken
17713 the colors for light backgrounds.
17714
de94f281
EZ
177152009-08-01 Eli Zaretskii <eliz@gnu.org>
17716
17717 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
17718 month names. (Bug#3987)
17719
54b99340
CY
177202009-07-31 Chong Yidong <cyd@stupidchicken.com>
17721
17722 * simple.el (line-move-finish): Pass whole number to
17723 line-move-to-column.
34be836c 17724 (line-move-visual): Perform hscroll to the recorded position.
54b99340 17725
38216c30
JB
177262009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
17727
17728 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
17729
c779896d
CY
177302009-07-29 Alan Mackenzie <acm@muc.de>
17731
17732 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
17733
592ccae0
DD
177342009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
17735
35edc6c6
DD
17736 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
17737 (gdb-place-breakpoints): Use full path when setting breakpoints.
592ccae0 17738
5a9e3ab7
JB
177392009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
17740
17741 * calc/calc.el (calc-mode-map): Add keybinding for
17742 `calc-transpose-lines'.
17743
7b6fefac 177442009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
5a9e3ab7
JB
17745
17746 * calc/calc-misc.el (calc-transpose-lines): New function.
17747
905fb90e
MA
177482009-07-28 Michael Albinus <michael.albinus@gmx.de>
17749
17750 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
17751 Simplify check for out-of-band methods.
17752 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
17753 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
17754
76e14464
DN
177552009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
17756
17757 * vc-git.el (vc-git-checkin): Fix typo.
17758
6088b51f 177592009-07-28 Steve Yegge <steve.yegge@gmail.com>
af077012
SY
17760
17761 * progmodes/js2-mode.el: New file.
17762
b85157fe
NR
177632009-07-28 Nick Roberts <nickrob@snap.net.nz>
17764
17765 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
17766 (gud-menu-map): Adjust tooltip accordingly.
17767
d43c2b06
DN
177682009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
17769
1c0f0c3b
DN
17770 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
17771 (vc-bzr-log-view-mode): Adjust log-view-file-re.
17772
d43c2b06
DN
17773 * add-log.el (change-log-mode-map): Add a menu.
17774
3dec5c36
MA
177752009-07-27 Michael Albinus <michael.albinus@gmx.de>
17776
17777 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
17778 function returns nil.
17779 (dbus-handle-event): Handle special return value :ignore.
17780 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
17781
5704140c
CY
177822009-07-26 Chong Yidong <cyd@stupidchicken.com>
17783
17784 * view.el (view-mode-enable): Don't define Helper-return-blurb if
17785 it's not needed.
17786
3077d1f6
EZ
177872009-07-25 Eli Zaretskii <eliz@gnu.org>
17788
17789 Fix Bug#3888:
17790
17791 * w32-vars.el (x-select-enable-clipboard): Doc fix.
17792
17793 * term/pc-win.el (x-display-name, x-colors)
17794 (x-select-enable-clipboard, x-select-text): Doc fix.
17795
17796 * term/common-win.el (x-display-name, x-colors): Doc fix.
17797
17798 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
17799 (xw-defined-colors): Doc fix.
17800
17801 * w32-fns.el (x-select-text, x-setup-function-keys)
17802 (x-get-selection, x-set-selection): Doc fix.
17803
17804 * term/x-win.el (x-select-text, x-setup-function-keys)
17805 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
17806
17807 * select.el (x-set-selection): Doc fix.
17808
51768bc8
MA
178092009-07-25 Michael Albinus <michael.albinus@gmx.de>
17810
17811 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
17812 instead of "IsNSSSupportAvailable". Avahi ought to work also when
17813 "IsNSSSupportAvailable" method is not available. Reported by
17814 Steve Youngs <steve@sxemacs.org>.
17815
b11c2874
KH
178162009-07-24 Kenichi Handa <handa@m17n.org>
17817
17818 * international/characters.el: Fix setting of category ?C, ?|, ?K,
7b6fefac 17819 and ?H. Fix setting of case for Latin Extended and Greek Extended.
b11c2874
KH
17820 (build-unicode-category-table): Fix range checks.
17821
ba83b7b6
DN
178222009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
17823
17824 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
17825 the buffer we try to sync is current when calling
17826 vc-resynch-buffer.
17827
17828 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
17829 not show up to date files.
17830
7a8ae964
GM
178312009-07-24 Glenn Morris <rgm@gnu.org>
17832
17833 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
17834 Add autoload cookies. If necessary, initialize.
17835 (elint-log): Handle non-file buffers.
17836 (elint-initialize): Add optional argument to reinitialize.
17837 (elint-find-builtin-variables): Save excursion.
17838
a707eb05
DN
178392009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
17840
17841 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
17842 for Lint.
17843
0a2ddfa6
DN
178442009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
17845
d6a62b0d
DN
17846 * vc.el (vc-print-log-internal): New function, split out from ...
17847 (vc-print-log): ... here.
10b5dcad 17848 (vc-dir-move-to-goal-column): Declare.
d6a62b0d 17849
0a2ddfa6
DN
17850 * vc-git.el (vc-git-add-signoff): New variable.
17851 (vc-git-checkin): Use it.
17852 (vc-git-toggle-signoff): New function.
17853 (vc-git-extra-menu-map): Bind it to menu.
2a0e3379
DN
17854 (vc-git--run-command-string): Accept a nil FILE argument.
17855 (vc-git-stash-list): New function.
17856 (vc-git-dir-extra-headers): Use it.
0a2ddfa6 17857
589a99f2
GM
178582009-07-23 Glenn Morris <rgm@gnu.org>
17859
17860 * help-fns.el (describe-variable): Describe ignored and risky local
17861 variables in a similar way to that in which we describe safe ones.
17862
17863 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
17864 (byte-compile-output-file-form, byte-compile-output-docform)
17865 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
17866 Give some more local variables with common names a "bytecomp-" prefix,
17867 so as not to shadow things during compilation.
17868 * emacs-lisp/cl-macs.el (load-time-value)
17869 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
17870 `outbuffer' to `bytecomp-outbuffer'.
17871
17872 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
17873 since the next two variables cover them automatically now.
17874 (elint-builtin-variables, elint-autoloaded-variables): New.
17875 (elint-unknown-builtin-args): Remove all members, since they can be
17876 parsed automatically now.
17877 (elint-extra-errors): New.
17878 (elint-env-add-env, elint-env-add-macro): Use cadr.
17879 (elint-current-buffer): Use or. Change final message.
17880 (elint-get-top-forms): Use line-end-position.
17881 (elint-init-env): Use cadr. Handle autoload, declare-function,
17882 and defalias.
17883 (elint-add-required-env): Doc fix. Use or. Standardize error.
17884 (regexp-assoc): Remove unused function.
17885 (elint-top-form): Set elint-current-pos, to record the start of the
17886 top-level form, for compilation-mode.
17887 (elint-form): Trap errors in macro expansion. Use dolist.
17888 (elint-unbound-variable): Use elint-builtin-variables and
17889 elint-autoloaded-variables.
17890 (elint-get-args): Use cadr, or.
17891 (elint-check-cond-form): Use dolist, cadr.
17892 (elint-check-condition-case-form): Doc fix. Use cadr.
17893 Use elint-extra-errors.
17894 (elint-log): New function.
17895 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
17896 Distinguish errors and warnings.
17897 (elint-log-message): Use with-current-buffer. Inhibit read-only.
17898 Use a bytecomp-style format.
17899 (elint-clear-log): Preserve default-directory. Inhibit read-only.
17900 (elint-get-log-buffer): Use compilation mode. Disable undo.
17901 Don't truncate lines.
17902 (elint-initialize): Set builtin and autoloaded variable lists.
17903 Only process elint-unknown-builtin-args if non-nil.
17904 (elint-find-builtin-variables, elint-find-autoloaded-variables):
17905 New functions.
17906 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
17907
855b42a2
GM
179082009-07-22 Kevin Ryde <user42@zip.com.au>
17909
17910 * net/newst-backend.el (newsticker--parse-atom-1.0)
17911 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
17912 (newsticker--parse-rss-1.0):
17913 * progmodes/idlwave.el (idlwave-mode):
17914 * progmodes/idlw-shell.el (idlwave-shell-mode):
17915 * progmodes/vera-mode.el (vera-mode):
17916 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
17917 * progmodes/vhdl-mode.el (vhdl-mode):
17918 * textmodes/table.el (table-generate-source)
17919 (table--warn-incompatibility):
17920 Hyperlink urls in docstrings with URL `...'.
17921
fd413a37
GM
179222009-07-22 Glenn Morris <rgm@gnu.org>
17923
cb711556
GM
17924 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
17925 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
17926 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
17927 Remove leading * from defcustom docs.
17928
fd413a37
GM
17929 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
17930
17931 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
17932 defcustom doc.
17933 (list-load-path-shadows): Optionally, just return shadows as a string.
17934
17935 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
17936
a4f69701
CY
179372009-07-21 Chong Yidong <cyd@stupidchicken.com>
17938
17939 * mail/rmailedit.el (rmail-edit-mode): Use
17940 auto-save-include-big-deletions.
17941
17942 * mail/rmail.el (rmail-variables): Use
17943 auto-save-include-big-deletions.
17944
17945 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
17946 changes.
17947
ec06459c
JB
179482009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
17949
17950 * calc/calc.el (calc-undo-length): New variable.
17951 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
17952
b41b0976
RS
179532009-07-21 Richard Stallman <rms@gnu.org>
17954
17955 * files.el (auto-save-mode): Handle buffer-save-size = -2
17956 for toggling mode.
17957
4ed32706
GM
179582009-07-21 Glenn Morris <rgm@gnu.org>
17959
531b1264
GM
17960 * textmodes/ispell.el (ispell-looking-back): Update declaration.
17961
55d27f41
GM
17962 * calendar/todo-mode.el (calendar-current-date): Update declaration.
17963
02df3f4d
GM
17964 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
17965 silence compiler. Instead...
17966 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
17967 (ps-print-ensure-fontified): Update for above function name changes.
17968
fdd8417e
GM
17969 * printing.el (pr-mh-get-msg-num, pr-mh-show)
17970 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
17971 silence compiler. Instead...
17972 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
17973 (mh-show-buffer): Only define for compiler.
17974 (pr-mh-current-message): Update for above function name changes.
17975
4ed32706
GM
17976 * files.el (abort-if-file-too-large): Explicitly pass `filename'
17977 as an argument.
17978 (find-file-noselect, insert-file-1): Update for above change.
17979
17980 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
17981
17982 * mail/mailclient.el (mailclient-send-it): Fix message.
17983
17984 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
17985 (edebug-eval): Check cl-debug-env is bound.
17986 (print-level, print-circle): Don't redefine built-in variables.
17987
17988 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
17989 (custom-print-vectors): Remove old comments from doc.
17990
17991 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
17992 (emerge-version): Make the variable an obsolete alias for the
17993 emacs-version variable. Make the function obsolete.
17994 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
17995 Emerge options, rather than merging in into the main Options menu.
17996 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
17997 and auto advance modes. Disable edit/fast items when not relevant.
17998
86812144
CY
179992009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
18000
18001 * term/vt420.el (terminal-init-vt420): Fix typo.
18002
6bb90094
SS
180032009-07-20 Sam Steingold <sds@gnu.org>
18004
18005 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18006 variable (removed from compile.el on 2004-03-11).
18007
42e0a725
CY
180082009-07-20 Chong Yidong <cyd@stupidchicken.com>
18009
18010 * files.el (hack-local-variables-filter): Fix last change.
18011
2ee20f24
JL
180122009-07-19 Juri Linkov <juri@jurta.org>
18013
18014 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18015 (dir-local-variables-alist): New buffer-local variable.
18016 (hack-local-variables-filter): If variable is not dir-local,
18017 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18018 because file-local overrides dir-local.
3570691b 18019 (c-postprocess-file-styles) <declare-function>:
2ee20f24
JL
18020 Remove obsolete declaration.
18021 (hack-dir-local-variables): Add dir-local variable/value pair to
18022 `dir-local-variables-alist' and remove duplicates. Doc fix.
18023
18024 * help-fns.el (describe-variable): Add information about
18025 file-local and dir-local variables.
18026
89bf83cd
CY
180272009-07-19 Chong Yidong <cyd@stupidchicken.com>
18028
18029 * files.el (hack-local-variables-filter): Rewrite.
18030
1a8d3541
GM
180312009-07-19 Glenn Morris <rgm@gnu.org>
18032
d9e8a018
GM
18033 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18034 Silence compiler by only defining on XEmacs.
18035
da332cfb
GM
18036 * international/mule.el (auto-coding-regexp-alist): Only match
18037 BABYL... at the start of buffer, not of lines. (Bug#3790)
18038
1a8d3541
GM
18039 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18040 non-calendar buffers (Bug#3862). Restore "not on a date" message.
18041 (cal-menu-context-mouse-menu): Doc fix.
18042
18043 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18044
18045 * simple.el (mail-user-agent): Doc fix. Set :version tag.
18046
d842b103
JL
180472009-07-18 Juri Linkov <juri@jurta.org>
18048
18049 * info.el: Virtual Info keyword finder.
3570691b 18050 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
d842b103
JL
18051 (Info-finder-file): New variable.
18052 (Info-finder-find-file): New function.
18053 (finder-known-keywords, finder-package-info)
18054 (find-library-name, lm-commentary): Use defvar and
18055 declare-function to silence compiler warnings.
18056 (Info-finder-find-node): New function.
18057 (info-finder): New command.
18058
18059 * subr.el (process-kill-buffer-query-function): New function.
18060 (add-hook)<kill-buffer-query-functions>: Add hook
18061 `process-kill-buffer-query-function'.
18062
10d37df7
AM
180632009-07-18 Alan Mackenzie <acm@muc.de>
18064
7b6fefac 18065 * progmodes/cc-mode.el (c-before-hack-hook)
10d37df7
AM
18066 (c-postprocess-file-styles): Give invocation of `c-set-style'
18067 DONT-OVERRIDE parameter of t. Already set style variables will
18068 thus not be overridden by style settings given by `c-file-syle'.
18069
18070 * files.el (hack-local-variables-filter): Remove entries with
18071 duplicate keys from `file-local-variables-alist'.
18072
102e1a41
EZ
180732009-07-18 Eli Zaretskii <eliz@gnu.org>
18074
18075 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18076 x-set-selection if display-selections-p returns nil for the
18077 current frame.
18078
16f2e9fc
CY
180792009-07-18 Chong Yidong <cyd@stupidchicken.com>
18080
18081 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18082
f22693fc
EZ
180832009-07-18 Eli Zaretskii <eliz@gnu.org>
18084
a6c2c80c
EZ
18085 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18086 Accept nil in addition to a regexp.
18087 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18088 Accept nil in addition to a regexp.
18089 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18090 buffers that have an associated file. Handle nil values of
18091 desktop-buffers-not-to-save and desktop-files-not-to-save.
18092 (Bug#3833)
18093
f22693fc
EZ
18094 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18095 (x-disown-selection-internal): New functions.
18096
e456379a
NR
180972009-07-18 Nick Roberts <nickrob@snap.net.nz>
18098
18099 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18100 warning.
18101 (gdb-breakpoints-header): Move forward to avoid compiler warning.
18102 (gdb-make-header-line-mouse-map): Remove duplicate definition.
18103
0013b70f
CY
181042009-07-18 David De La Harpe Golden <david@harpegolden.net>
18105
18106 * simple.el (set-mark): Revert last change.
18107
0855c2ca
CY
181082009-07-17 Tassilo Horn <tassilo@member.fsf.org>
18109
18110 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18111 rendering of pngs is not possible instead of messaging a long
18112 description.
18113
3f5c9cad
CY
181142009-07-17 David De La Harpe Golden <david@harpegolden.net>
18115
18116 * w32-fns.el (x-selection-owner-p): New function.
18117
18118 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
6c6a75d5
CY
18119 (mouse-yank-at-click, mouse-yank-primary): If
18120 select-active-regions is non-nil, deactivate the mark before
18121 insertion.
3f5c9cad
CY
18122
18123 * simple.el (deactivate-mark, set-mark): Only save selection if we
18124 own it.
18125
1fc87f9b
KH
181262009-07-17 Kenichi Handa <handa@m17n.org>
18127
18128 * case-table.el (describe-buffer-case-table): Fix for the case
18129 that KEY is a cons.
18130
d56fdcd2
DN
181312009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
18132
18133 * vc-rcs.el (vc-rcs-find-file-hook):
18134 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18135
bede3e9f
MA
181362009-07-16 Michael Albinus <michael.albinus@gmx.de>
18137
18138 * net/tramp.el (tramp-wait-for-output): Handle the case when
18139 commands do not return a newline but a null byte before the shell
18140 prompt. (Bug#3858)
18141
7653ca1d
YM
181422009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
18143
18144 * term/ns-win.el (ns-set-alpha): Don't declare.
18145 (ns-set-background-alpha): Remove function.
18146
ed2a52e9
SM
181472009-07-16 Kevin Ryde <user42@zip.com.au>
18148
18149 * emacs-lisp/copyright.el (copyright-update): Save match-data across
18150 y-or-n-p, for safety.
18151
7a907299
RS
181522009-07-16 Richard Stallman <rms@gnu.org>
18153
18154 * files.el (auto-save-mode): If buffer-saved-size is -2,
18155 don't clobber it.
18156
18157 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18158 (rmail-retry-ignored-headers): Add more uninteresting fields.
18159
c0db3477
CY
181602009-07-15 Jari Aalto <jari.aalto@cante.net>
18161
18162 * net/rcirc.el (rcirc): Use history variables.
18163 (rcirc-server-name-history, rcirc-nick-name-history)
18164 (rcirc-server-port-history): New variables.
18165
6c875452
KH
181662009-07-15 Kenichi Handa <handa@m17n.org>
18167
bf974dc9
KH
18168 * international/mule-cmds.el (set-language-environment-charset):
18169 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18170 ignore them.
18171
6c875452
KH
18172 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18173 Delete unibyte-display.
18174
2066b4fe
CY
181752009-07-15 Chong Yidong <cyd@stupidchicken.com>
18176
18177 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18178
f9be2e35
CY
181792009-07-15 Chong Yidong <cyd@stupidchicken.com>
18180
18181 * simple.el (deactivate-mark): Optional argument FORCE.
18182 (set-mark): Use deactivate-mark.
18183
18184 * info.el (Info-search): No need to check transient-mark-mode
18185 before calling deactivate-mark.
18186
18187 * select.el (x-set-selection): Doc fix.
18188 (x-valid-simple-selection-p): Allow buffer values.
18189 (xselect--selection-bounds): Handle buffer values. Suggested by
18190 David De La Harpe Golden.
18191
18192 * mouse.el (mouse-set-region, mouse-drag-track): Call
18193 copy-region-as-kill before setting the mark, to let
18194 select-active-regions work.
18195
be3e598a 181962009-07-15 David De La Harpe Golden <david@harpegolden.net>
f9be2e35
CY
18197
18198 * simple.el (deactivate-mark): If select-active-regions is
18199 non-nil, copy the selection data into a string.
18200 (activate-mark): If select-active-regions is non-nil, set the
18201 selection to the current buffer.
18202 (set-mark): Update selection if select-active-regions is non-nil.
18203
18204 * select.el (x-valid-simple-selection-p): Allow buffer values.
18205
cbd61418
SM
182062009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
18207
18208 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18209 and more featureful message-mode.
18210
f470187f
CY
182112009-07-14 Chong Yidong <cyd@stupidchicken.com>
18212
18213 * select.el (x-set-selection): Doc fix.
18214 (x-valid-simple-selection-p): Disallow selection data consisting
18215 of a list or cons of integers, since that is not used.
18216 (xselect--selection-bounds, xselect--int-to-cons): New functions.
18217 (xselect-convert-to-string, xselect-convert-to-length)
18218 (xselect-convert-to-filename, xselect-convert-to-charpos)
18219 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18220
bfc99364
DD
182212009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
18222
18223 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18224 output in -break-info command (Emacs bug #3794).
18225
e32721f5
GM
182262009-07-14 Glenn Morris <rgm@gnu.org>
18227
1e46f9e4
GM
18228 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18229 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18230 (edebug-print-length, edebug-print-level, edebug-print-circle)
18231 (edebug-sit-for-seconds, edebug-view-outside)
18232 (edebug-bounce-point, edebug-set-global-break-condition)
18233 (edebug-Go-nonstop-mode, edebug-trace-mode)
18234 (edebug-Trace-fast-mode, edebug-continue-mode)
18235 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18236 (edebug-visit-eval-list): Doc fixes.
18237
e32721f5
GM
18238 * subr.el (def-edebug-spec): Doc fix.
18239
66a85e76
KH
182402009-07-14 Kenichi Handa <handa@m17n.org>
18241
18242 * international/characters.el: Fix setting of category ?C.
18243
28571246
JD
182442009-07-13 Jan Djärv <jan.h.d@swipnet.se>
18245
7b6fefac 18246 * term/ns-win.el (x-select-font): defalias x-select-font to
28571246
JD
18247 ns-popup-font-panel instead of generate-fontset-menu.
18248
5d74672c
EZ
182492009-07-12 Eli Zaretskii <eliz@gnu.org>
18250
7b6fefac 18251 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
5d74672c 18252
eb1727a4
CY
182532009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
18254
18255 * arc-mode.el (archive-find-type): Allow for a PK00 string before
18256 the PK\003\004 header (Bug#3770).
18257
208384c5
CY
182582009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
18259
18260 * pcomplete.el (pcomplete-comint-setup): Check for
18261 shell-dynamic-complete-filename too.
18262
774409a1
CY
182632009-07-11 Chong Yidong <cyd@stupidchicken.com>
18264
18265 * simple.el (temporary-goal-column): Change the value for
18266 line-move-visual to a cons cell.
18267 (line-move-visual): Record or set the window hscroll, if
18268 necessary (Bug#3494).
18269 (line-move-1): Handle cons value of temporary-goal-column.
18270
1639ee1d
KH
182712009-07-11 Kenichi Handa <handa@m17n.org>
18272
18273 * international/mule-diag.el (describe-character-set): Don't show
18274 width.
18275
2b1d2412
SS
182762009-07-10 Sam Steingold <sds@gnu.org>
18277
18278 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18279 Omake sometimes indents the errors it prints, so allow all
18280 regexps to start with spaces.
18281
ed3a5691
EZ
182822009-07-10 Eli Zaretskii <eliz@gnu.org>
18283
ed2a52e9
SM
18284 * cus-edit.el (customize-changed-options-previous-release):
18285 Bump value to 22.1. (Bug#3804)
ed3a5691 18286
49405d0e
SS
182872009-07-08 Sam Steingold <sds@gnu.org>
18288
18289 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18290 to be a cons cell (test . ignored-directory) to selectively ignore
18291 some directories depending on the location of the search.
18292
93c3eb7c
MA
182932009-07-08 Michael Albinus <michael.albinus@gmx.de>
18294
18295 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18296 remote user is root, on the local host.
18297 (tramp-local-host-p): Either the local user or the remote user
18298 must be root. (Bug#3771)
18299
6f2a8484
NR
183002009-07-08 Nick Roberts <nickrob@snap.net.nz>
18301
18302 * progmodes/gdb-mi.el (gdb): Remove description of
18303 gdb-use-separate-io-buffer.
69cb8d82 18304 (menu): Don't allow toggling of or enable
6f2a8484
NR
18305 gdb-use-separate-io-buffer from menubar.
18306
88d03607
CY
183072009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
18308
18309 * mail/unrmail.el (unrmail): Make sure the message ends with two
18310 newlines (Bug#3769).
18311
7ef5b8b2
GM
183122009-07-08 Glenn Morris <rgm@gnu.org>
18313
18314 * calendar/calendar.el (calendar-current-date): Rework previous change.
18315
3ce82f97
GM
183162009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
18317
18318 * calendar/calendar.el (calendar-current-date):
18319 Add an optional argument giving an offset from today.
18320
f35fc841
GM
183212009-07-08 Glenn Morris <rgm@gnu.org>
18322
18323 * tutorial.el (tutorial--describe-nonstandard-key):
18324 Adjust the message for when a key has been unbound.
18325 (help-with-tutorial): Hide the arch-tag.
18326
40149292
KH
183272009-07-08 Kenichi Handa <handa@m17n.org>
18328
69cb8d82
KH
18329 * international/fontset.el (setup-default-fontset): For each
18330 script, append (not set) font-specs.
18331
40149292
KH
18332 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
18333 docstring.
18334
ff0c4194
NR
183352009-07-08 Nick Roberts <nickrob@snap.net.nz>
18336
18337 * progmodes/gdb-mi.el (gdb-init-1): Move sending
18338 -data-list-register-names to ...
18339 (gdb-starting): ... here because GDB 7.0 requires execution to
18340 have started when using this MI command.
18341 (gdb-set-header): New function to distinguish select and
18342 unselected tabs in gdb buffers.
18343 (gdb-propertize-header): New macro that uses gdb-set-header.
18344 (gdb-breakpoints-header, gdb-locals-header): Use it.
6f2a8484 18345 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
ff0c4194 18346
8954c675
CY
183472009-07-07 Chong Yidong <cyd@stupidchicken.com>
18348
18349 * Makefile.in (ELCFILES): Remove fadr.elc.
18350
0996385d
DD
183512009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
18352
dc6b4519
DD
18353 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
18354 may contain frame information, so `string-match' should be used.
18355 (gdb-update): Disassembly is invalidated through
18356 `gdb-get-selected-frame'.
18357 (gdb-pad-string): New function to pad string with spaces.
18358 (gdb-invalidate-disassembly): Invalidate only if the buffer
18359 exists.
18360 (gdb-disassembly-handler-custom): Column alignment.
18361 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
18362 placing new ones.
18363 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
18364 end of line, too.
18365 (gdb-frame-handler): Match convention to for disassembly buffer
18366 mode name.
17c1380b 18367 (gdb-stack-list-frames-handler): Rewritten without regexps.
e7006f27
DD
18368 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
18369 not highlight breakpoints without line information.
69a197a2 18370 (gdb-input): Add trailing newline to command.
dc6b4519 18371
14340b25
DD
18372 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
18373 buffer properly.
18374 (gdb-breakpoints-list-handler-custom): Replacement for
7b6fefac 18375 `gdb-break-list-handler'. Using real parser instead of regexps
dc6b4519
DD
18376 now.
18377 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
18378 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
18379 to place breakpoints.
14340b25
DD
18380 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
18381 functions.
18382 (gdb-disassembly-handler-custom): Show overlay arrow.
18383 (gdb-disassembly-place-breakpoints): Show breakpoints in
18384 disassembly buffer.
18385 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
dc6b4519 18386 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
7b6fefac 18387 instead of parsing breakpoints buffer. Fixed old menu references
dc6b4519 18388 in `gud-menu-map'.
14340b25 18389
38d4f316 18390 * fadr.el: Remove.
1f2a6224 18391
7b6fefac 18392 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
0996385d 18393 (gdb-memory-address): New variable which holds top address of
7b6fefac 18394 memory page shown in memory buffer.
0996385d
DD
18395 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
18396 customization variables.
18397 New functions:
18398 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18399 display the memory buffer.
18400 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
18401 buffer display parameters.
18402 (def-gdb-memory-format, gdb-memory-format-binary)
18403 (gdb-memory-format-octal, gdb-memory-format-unsigned)
18404 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
18405 Functions for setting memory buffer format.
18406 (gdb-memory-unit-word, gdb-memory-unit-halfword)
18407 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18408 unit size used in memory buffer.
18409 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
18410 to next/previous page of memory buffer.
28d67a53 18411 Now using (bindat-get-field) instead of fadr functions.
0996385d 18412
9ba562d3
SS
184132009-07-07 Sam Steingold <sds@gnu.org>
18414
18415 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
18416 non-top-level files.
18417
a43977db
KH
184182009-07-07 Kenichi Handa <handa@m17n.org>
18419
18420 * international/mule-cmds.el (reset-language-environment): Put
18421 the highset priority to the charset iso-8859-1.
18422
d44d05e8
CY
184232009-07-06 Chong Yidong <cyd@stupidchicken.com>
18424
18425 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
18426 to the end of the line when locating the block (Bug#700).
18427
3e2fa353
MA
184282009-07-06 Michael Albinus <michael.albinus@gmx.de>
18429
18430 * net/tramp.el (tramp-handle-write-region): Flush file properties
18431 in case of short track.
18432
be3e598a 184332009-07-06 Michael McNamara <mac@mail.brushroad.com>
d88782c3 18434
bf0b361c
JB
18435 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
18436 Coded custom representation of verilog error regular expressions
18437 to work with Emacs-22's new format.
d88782c3 18438 (verilog-error-regexp-xemacs-alist): Coded custom representation
7b6fefac 18439 of verilog error regular expressions to work with XEmacs format.
d88782c3
DN
18440 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
18441 error recognition into XEmacs.
18442 (verilog-error-regexp-add-emacs): Hook routine to install verilog
18443 error recognition into Emacs-22.
18444
25c6f63e
CY
184452009-07-06 Chong Yidong <cyd@stupidchicken.com>
18446
18447 * woman.el: Remove stand-alone closing parentheses.
18448 (woman-file-name, woman2-format-paragraphs)
18449 (woman-leave-blank-lines): Code cleanup.
18450 (woman-use-own-frame): Change default to nil.
18451 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
18452 defaults to inherit from default faces.
18453 (woman2-process-escapes): Consume the newline after a stand-alone
18454 filler character (Bug#3651).
18455
f176290e
GM
184562009-07-06 Glenn Morris <rgm@gnu.org>
18457
18458 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
18459 (top-level): Move provide to the end.
18460 (ffap): Remove defunct URL from custom group.
18461
18462 * subr.el (eval-after-load): Doc fix.
18463
7b6fefac 184642009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
e4a5a307
JB
18465
18466 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
18467 `calc-embedded-word' is called twice.
18468
4b8b1ec5
SM
184692009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
18470
18471 * files.el (find-alternate-file-other-window, find-alternate-file):
18472 Obey confirm-nonexistent-file-or-buffer.
18473
d6ceb380
MA
184742009-07-05 Michael Albinus <michael.albinus@gmx.de>
18475
18476 * dired-aux.el (dired-show-file-type): Handle remote files.
18477
be3e598a 184782009-07-05 Jari Aalto <jari.aalto@cante.net>
c760f19e 18479
4b8b1ec5
SM
18480 * desktop.el (desktop-globals-to-save):
18481 Add file-name-history (Bug#2750).
c760f19e 18482
6d00ce04
CY
184832009-07-05 Chong Yidong <cyd@stupidchicken.com>
18484
4b8b1ec5 18485 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
6d00ce04 18486
6ee21b07
JB
184872009-07-04 Johan Bockgård <bojohan@gnu.org>
18488
18489 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
18490 property on entire argument since this is what eshell-lisp-command
18491 expects.
18492
f0dbdc25
MA
184932009-07-03 Michael Albinus <michael.albinus@gmx.de>
18494
18495 * net/tramp-gvfs.el (tramp-gvfs-methods)
18496 (tramp-gvfs-zeroconf-domain)
18497 (tramp-bluez-discover-devices-timeout): Add version flag.
18498 (tramp-gvfs-handler-mounted-unmounted)
18499 (tramp-gvfs-connection-mounted-p): Polish handling of
18500 incompatibilities between GVFS 0.2 and 1.0.
18501
e044e4fc
JD
185022009-07-03 Jan Djärv <jan.h.d@swipnet.se>
18503
4b8b1ec5 18504 * cus-start.el (all): Add make-pointer-invisible.
e044e4fc 18505
2e9b968b
JB
185062009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
18507
bf0b361c 18508 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
2e9b968b
JB
18509 formatted correctly.
18510
baf1a55e
JL
185112009-07-02 Juri Linkov <juri@jurta.org>
18512
18513 * info.el: Virtual Info files and nodes.
18514 (Info-virtual-files, Info-virtual-nodes): New variables.
18515 (Info-current-node-virtual): New variable.
18516 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
18517 New functions.
18518 (Info-file-supports-index-cookies): Use Info-virtual-file-p
18519 to check for a virtual file instead of checking a fixed list
18520 of node names.
18521 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
18522 instead of ad-hoc processing of "dir" and (apropos history toc).
18523 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
18524 instead of ad-hoc processing of "dir" and (apropos history toc).
18525 Reread a file when moving from a virtual node.
18526 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
18527 (Info-directory-toc-nodes, Info-directory-find-file)
18528 (Info-directory-find-node): New functions.
18529 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
18530 (Info-history): Move part of code to
18531 `Info-history-find-node'.
18532 (Info-history-toc-nodes, Info-history-find-file)
18533 (Info-history-find-node): New functions.
18534 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
18535 (Info-toc): Move part of code to `Info-toc-find-node'.
18536 (Info-toc-find-node): New function.
4b8b1ec5 18537 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
baf1a55e
JL
18538 the current Info file name to references because now the node
18539 "*TOC*" belongs to the same Info manual.
4b8b1ec5 18540 (Info-toc-build): Rename from `Info-build-toc'.
baf1a55e
JL
18541 (Info-toc-nodes): Rename input argument `file' to `filename'.
18542 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
18543 instead of ad-hoc processing of ("dir" apropos history toc).
18544 (Info-index-nodes): Use Info-virtual-file-p
18545 to check for a virtual file instead of checking a fixed list
18546 of node names.
18547 (Info-index-node): Add check for `Info-current-node-virtual'.
18548 Raise `save-match-data' higher up the tree to contain
18549 `search-forward' too (bug fix).
18550 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
18551 (Info-virtual-index-nodes): New variable.
18552 (Info-virtual-index-find-node, Info-virtual-index): New functions.
18553 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
18554 (Info-apropos-file, Info-apropos-nodes): New variables.
18555 (Info-apropos-toc-nodes, Info-apropos-find-file)
18556 (Info-apropos-find-node, Info-apropos-matches): New functions.
18557 (info-apropos): Move part of code to `Info-apropos-find-node' and
18558 `Info-apropos-matches'.
18559 (Info-mode-map): Bind "I" to `Info-virtual-index'.
18560 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
18561 for a virtual file instead of checking a fixed list of node names.
18562
18563 * simple.el (async-shell-command): New command.
18564
18565 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
18566
18567 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
18568 instead of `mount-info'.
18569
d04bc496
MA
185702009-07-02 Michael Albinus <michael.albinus@gmx.de>
18571
18572 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
4b8b1ec5 18573 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
d04bc496 18574
af0403e0
KH
185752009-07-02 Kenichi Handa <handa@m17n.org>
18576
18577 * international/mule.el (set-keyboard-coding-system): Force *-unix
18578 coding-system to avoid eol conversion.
18579
99278f8a
MA
185802009-07-01 Michael Albinus <michael.albinus@gmx.de>
18581
4b8b1ec5
SM
18582 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18583 Add handler for `process-file', `shell-command' and
99278f8a
MA
18584 `start-file-process'.
18585 (tramp-gvfs-handle-shell-command)
18586 (tramp-gvfs-handle-start-file-process)
18587 (tramp-gvfs-handle-process-file): New defuns.
4b8b1ec5 18588 (tramp-synce-list-devices): Simplify check for existence of property.
99278f8a 18589
3f1c6666
JD
185902009-07-01 Jan Djärv <jan.h.d@swipnet.se>
18591
18592 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
18593
3f396bac
KH
185942009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
18595
18596 * language/korean.el (set-language-info-alist): Add korean-cp949,
18597 cp949 to spec.
18598
c1185193
KH
185992009-07-01 Kenichi Handa <handa@m17n.org>
18600
18601 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
18602
18603 * international/encoded-kb.el: Deleted.
18604
18605 * international/mule.el (set-keyboard-coding-system): Perform the
18606 necessary setup here instead of calling encoded-kbd-setup-display.
18607
3f150a60
GM
186082009-07-01 Glenn Morris <rgm@gnu.org>
18609
18610 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
18611
b0d5b05b
GM
186122009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
18613
18614 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
18615
4f4126e6
MA
186162009-06-30 Michael Albinus <michael.albinus@gmx.de>
18617
4b8b1ec5
SM
18618 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
18619 Handle also the 'rename case, when setting file modes. (Bug#3712)
48c2d18a 18620 (tramp-default-file-modes): Remove execute permissions.
4f4126e6 18621
7ae3ea65 18622 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
d6ceb380
MA
18623 (top): Add a default for "synce" in `tramp-default-user-alist'.
18624 Add completion function for "synce" method.
18625 (tramp-hal-service, tramp-hal-path-manager)
4b8b1ec5
SM
18626 (tramp-hal-interface-manager, tramp-hal-interface-device):
18627 New defconst.
18628 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
18629 (tramp-synce-list-devices, tramp-synce-parse-device-names):
18630 New defuns.
d6ceb380
MA
18631
18632 * net/trampver.el: Update release number.
7ae3ea65 18633
0ad6626b
KH
186342009-06-30 Kenichi Handa <handa@m17n.org>
18635
18636 * international/fontset.el (setup-default-fontset): Add CJK fonts
18637 for symbols and the other miscellaneous characters.
18638
4b8b1ec5
SM
18639 * language/korea-util.el (setup-korean-environment-internal):
18640 Make char-width-table suitable for Korean environments.
0ad6626b
KH
18641 (exit-korean-environment): Cancel above.
18642
18643 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
18644 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
48c2d18a 18645 setup-function to make char-width-table suitable for respective
0ad6626b
KH
18646 environments, and an exit-function to cancel that.
18647
18648 * language/japan-util.el (setup-japanese-environment-internal):
18649 Call use-cjk-char-width-table with arg `ja_JP'.
18650
18651 * international/characters.el (cjk-char-width-table): Delete it.
18652 (cjk-char-width-table-list): New variable.
18653 (use-cjk-char-width-table): New arg local-name.
18654 (use-default-char-width-table): Fix for the case that Emacs is
18655 already using the default char-width-table.
18656
fd46e893
MA
186572009-06-29 Michael Albinus <michael.albinus@gmx.de>
18658
18659 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
18660 modes mandatory. (Bug#3712)
18661
b87d9f96
AM
186622009-06-29 Alan Mackenzie <acm@muc.de>
18663
18664 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
4b8b1ec5 18665 correction between the visible width of TABs and their number of bytes.
b87d9f96 18666
2d25aa5a
CY
186672009-06-29 Chong Yidong <cyd@stupidchicken.com>
18668
18669 * server.el (server-buffer-done): Prevent kill-buffer from
18670 prompting by clearing the buffer modification flag (Bug#3696).
18671
a3a8b002
DN
186722009-06-28 Michael McNamara <mac@mail.brushroad.com>
18673
bf0b361c 18674 * progmodes/verilog-mode.el (verilog-beg-of-statement)
4b8b1ec5 18675 (verilog-endcomment-reason-re): Support unique case and priority case.
a3a8b002
DN
18676 (verilog-basic-complete-re): Support localparam lineup.
18677 (verilog-beg-of-statement-1): Fix for robustness, unique case.
18678 (verilog-set-auto-endcomments): Fix for unique case, always_comb
18679 commenting.
18680 (verilog-leap-to-case-head): Now support *nested* unique &
18681 priority case statements.
18682 (verilog-auto-lineup): Make just declarations the default (as it
18683 had been).
4b8b1ec5 18684 (verilog-leap-to-case-head): Support priority/unique case statements.
a3a8b002 18685 (verilog-auto-lineup): Rework to give users radio buttons to
7b6fefac 18686 select the various styles of automatic lineup.
a3a8b002
DN
18687 (verilog-error-regexp-alist): Rework to support the XEmacs style
18688 of error regular expressions from compilers, lint tools &
18689 simulators. Note that GNU Emacs has made it impossible for a mode
18690 to load such things.
18691 (electric-verilog-terminate-line, verilog-indent-declaration)
18692 (verilog-auto-wiure): Rework for radio button selection of
18693 auto-lineup selection of specification of auto lineup.
18694 (verilog-beg-of-statement-1): Redesign to support proper operation
18695 in additional code, based on testing with auto-lineup.
18696 (verilog-calculate-indent, assignments & declarations)
18697 (verilog-backward-token): Enhance to support auto-lineup of
18698 assignments & declarations.
18699 (verilog-in-directive-p, verilog-at-struct-p): New function for
18700 easy test of whether we are.
18701 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
18702 to support safe execution at almost anyline.
18703 (verilog-calc-1): Properly support indenting deep inside generate
18704 blocks.
48c2d18a 18705 (verilog-init-font): Remove definition & use of verilog-init-font,
a3a8b002 18706 as it is redundant with font-lock-defaults.
a8f316ca 18707 (verilog-mode): Alter the definition of verilog-font-lock-defaults
a3a8b002
DN
18708 to avoid circular calls if syntax-ppss is a function (as is the
18709 case now in 22.x GNU Emacs) as that function would sometimes call
7b6fefac 18710 itself, leading to (nearly) infinite recursion.
a3a8b002
DN
18711 (verilog-ovm-begin-re, verilog-ovm-end-re)
18712 (verilog-ovm-statement-re, verilog-leap-to-head)
18713 (verilog-backward-token): Add support for OVM macros. Some are
18714 complete statements, and others open and close scopes like begin
18715 and end.
18716 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
18717 (verilog-defun-level-generate-only-re): Really fix the defun-list
7b6fefac 18718 compilation issue.
48c2d18a 18719 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
7b6fefac 18720 coverpoint, constraint and cross statements.
a3a8b002
DN
18721 (verilog-defun-level-list, verilog-generate-defun-level-list)
18722 (verilog-all-defun-level-list): Redo these specifications - it is
18723 too hard to support eval-when compile aggregation of lists also
18724 built at when-compile time.
18725 (verilog-defun-level-list): Place defconsts of variables used in
18726 building regular expressions which are built in eval-when-compile
18727 bodies in the same eval-when-compile body to facilitate compile
18728 without load.
18729 (verilog-beg-block-re-ordered): Support indenting
18730 virtual/protected tasks and functions.
7b6fefac 18731 (verilog-defun-level-list, verilog-in-generate-region-p)
a3a8b002
DN
18732 (verilog-backward-ws&directives, verilog-calc-1): Speed up
18733 indentation of some module items (generate items).
18734 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
18735 across virtual/protected tasks and functions.
18736
187372009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
18738
bf0b361c 18739 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
4b8b1ec5 18740 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
a3a8b002
DN
18741 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
18742 in concatenations. Reported by Yishay Belkind.
18743 (verilog-auto-ascii-enum): Support one-hot state machines in
18744 AUTOASCIIENUM. Suggested by Lloyd Gomez.
18745 (verilog-auto-inst, verilog-auto-inst-port): Include interface
18746 modport in AUTOINST and add vl-modport for users. Reported by
18747 David Rogoff.
18748 (verilog-auto-inout-module, verilog-auto-inst)
18749 (verilog-decls-get-interfaces, verilog-insert-definition)
18750 (verilog-insert-one-definition, verilog-read-decls)
18751 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
18752 (verilog-sig-modport, verilog-signals-combine-bus)
18753 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
18754 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
18755 Suggested by David Rogoff.
18756 (verilog-repair-open-comma): Fix non-insertion of comma when
18757 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
18758 (verilog-make-width-expression): Simplify [A-1:0] expression
18759 widths to just {A{1'b0}}.
18760 (verilog-mode): Cleanup checkdoc warnings.
4b8b1ec5
SM
18761 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
18762 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
a3a8b002
DN
18763 inputs/outputs or data type. Suggested by Vasu Kandadi.
18764 (next-error-last-buffer): Fix byte-compiler warning.
18765 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
18766 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
4b8b1ec5 18767 or shell command text during AUTO expansion. Suggested by Tad Truex.
a3a8b002 18768 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
4b8b1ec5
SM
18769 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
18770 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
7b6fefac 18771 in AUTOINOUT. Reported by Matthew Lovell.
a3a8b002
DN
18772 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
18773 causing use of <= assignments. Reported by Alex Reed.
18774 (verilog-read-decls): Fix triand, trior, wand, wor to be
18775 recognized by AUTOWIRE. Reported by Spencer Isaacson.
18776 (verilog-extended-complete-re): Support import "DPI-C" functions.
18777 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
4b8b1ec5 18778 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
a3a8b002
DN
18779 (verilog-insert-date, verilog-insert-year)
18780 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
18781 Windows systems. Reported by Michael Potts.
18782 (verilog-read-module-name): Fix AUTOINST when the child module
7b6fefac 18783 declaration's name is a tick define. Reported by Elliot Mednick.
a3a8b002 18784 (verilog-read-decls): Fix V2K parameter bit subscripts getting
7b6fefac 18785 passed to next parameter's definition. Reported by Bruce T.
a3a8b002
DN
18786 (verilog-read-decls): Fix detecting "parameter int" when using
18787 AUTOINSTPARAM. Reported by Bruce T.
18788 (verilog-goto-defun): Fix goto not finding modules unless first
7b6fefac 18789 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
4b8b1ec5 18790 (verilog-mode): Expand -f flag arguments on entry to mode so
a3a8b002
DN
18791 verilog-goto-defun will work. Reported by Lawrence Butcher.
18792 (verilog-getopt): Expand environment variables in -f file
18793 arguments. Suggested by Lawrence Butcher.
4b8b1ec5 18794 (verilog-set-define): Fix "Symbol's value as variable is void"
a3a8b002
DN
18795 when reading enumerations.
18796 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
18797 Suggested by Stephen Peltan.
4b8b1ec5 18798 (verilog-read-defines): Fix reading of enumerations in include
a3a8b002
DN
18799 files. Reported by Steve Peltan.
18800
f7c0d931
CY
188012009-06-28 David De La Harpe Golden <david@harpegolden.net>
18802
18803 * files.el (trash-directory): Fix defcustom type.
18804
baf1a55e 188052009-06-28 Juri Linkov <juri@jurta.org>
cebabb67
CY
18806
18807 * help-fns.el (describe-function-1): Correctly locate adviced
18808 functions in hyperlink (Bug#2438).
18809
d63a01ef
CY
188102009-06-28 Chong Yidong <cyd@stupidchicken.com>
18811
18812 * files.el (trash-directory): Change default to nil.
18813 (move-file-to-trash): If trash-directory is nil and
18814 system-move-file-to-trash is unbound, perform freedesktop-style
18815 trashing.
18816
188172009-06-28 David De La Harpe Golden <david@harpegolden.net>
18818
18819 * files.el (move-file-to-trash): Add freedesktop trash
18820 support (Bug#973).
18821
fc2f6a26
GM
188222009-06-28 Glenn Morris <rgm@gnu.org>
18823
18824 * autorevert.el (global-auto-revert-non-file-buffers)
18825 (global-auto-revert-mode): Doc fixes.
18826
00242b07
JB
188272009-06-27 Johan Bockgård <bojohan@gnu.org>
18828
18829 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
18830
f5594f03
CY
188312009-06-27 Chong Yidong <cyd@stupidchicken.com>
18832
e8a2b2da
CY
18833 * faces.el (x-handle-named-frame-geometry): Ensure that we have
18834 opened an X connection before calling x-get-resource (Bug#3194).
18835
f5594f03
CY
18836 * play/doctor.el: Remove reference to obsolete website.
18837 (make-doctor-variables): Correct grammar mistake (Bug#2633).
18838
3c3bf6ce
DN
188392009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
18840
18841 Remove find-file-not-found-hook VC method. (Bug#2757)
18842 * vc-hooks.el (vc-file-not-found-hook)
18843 (vc-default-find-file-not-found-hook): Remove functions.
18844 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
18845 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
18846 * vc.el:
18847 * vc-hg.el:
18848 * vc-git.el: Do not mention find-file-not-found-hook VC method.
18849
e26a7bc0
AM
188502009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
18851
18852 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
3570691b 18853 compatibility function for `looking-back'.
e26a7bc0 18854
4b8b1ec5 18855 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
7b6fefac 18856 Use `ispell-looking-back'.
e26a7bc0 18857
d9848600
MA
188582009-06-24 Michael Albinus <michael.albinus@gmx.de>
18859
18860 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
fc2f6a26 18861 rather than `filename'.
d9848600 18862
05fbc4a9
MB
188632009-06-23 Miles Bader <miles@gnu.org>
18864
18865 * face-remap.el (text-scale-set): New function.
18866
f86ca715
GM
188672009-06-23 Glenn Morris <rgm@gnu.org>
18868
33e2c2e5
GM
18869 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
18870
f529f302
GM
18871 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
18872
34995333
GM
18873 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
18874
cc80ccee
GM
18875 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
18876
84cb770d
GM
18877 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
18878 Simplify Persian conditionals.
18879
d916c965
GM
18880 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
18881 variable `filename'.
18882
b6a44b27
GM
18883 * comint.el (comint-insert-input): Doc fix.
18884
f86ca715
GM
18885 * Makefile.in (ELCFILES): Fix typo in previous change.
18886
666e158e
MB
188872009-06-23 Miles Bader <miles@gnu.org>
18888
18889 * cus-start.el: Add entry for `recenter-redisplay'.
18890
be3e598a 188912009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
77bf3f54
DN
18892
18893 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
18894 Add an optional argument for the backend, use it instead of
18895 calling vc-backend.
4b8b1ec5
SM
18896 (vc-mode-line): Add an optional argument for the backend.
18897 Pass the backend to vc-state and vc-working-revision. Move code for
77bf3f54
DN
18898 special handling for vc-state being a buffer to ...
18899
18900 * vc-rcs.el (vc-rcs-find-file-hook):
18901 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
18902
18903 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
18904 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
18905 vc-stay-local-p and vc-mode-line calls.
18906
18907 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
18908 (vc-cvs-diff, vc-cvs-annotate-command)
18909 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
18910 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
18911 vc-mode-line calls.
18912
18913 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
18914 direct comparison.
18915 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
18916 backend when calling vc-mode-line.
18917 (vc-register): Do not create a closure for calling the vc register
18918 function, call it directly.
18919
2764748c
DN
189202009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
18921
18922 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
18923 to make it obvious item can be clicked.
f5a0b281
DN
18924
18925 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
18926
d4a885b2
KH
189272009-06-23 Kenichi Handa <handa@m17n.org>
18928
18929 * language/korea-util.el (korean-key-bindings): Change the binding
18930 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
18931 same command.
18932
e3610693
MA
189332009-06-22 Michael Albinus <michael.albinus@gmx.de>
18934
18935 Sync with Tramp 2.1.16.
18936
18937 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
18938
18939 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
18940 when a loading of a package fails. Completion function for rsync
18941 is `tramp-completion-function-alist-ssh'.
18942 (all): Replace all calls of `split-string' and
18943 `tramp-split-string' by `tramp-compat-split-string'.
18944 (tramp-default-method): Use `tramp-compat-process-running-p'.
18945 (tramp-default-proxies-alist): Allow also Lisp forms.
18946 (tramp-remote-path): Add choice "Private Directories".
4b8b1ec5 18947 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
e3610693
MA
18948 (tramp-domain-regexp): Allow also "-", "_" and ".".
18949 (tramp-end-of-output): Remove newlines, and add "$" at the end.
18950 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
18951 (tramp-debug-message): Insert header line in debug buffer.
4b8b1ec5
SM
18952 (tramp-handle-directory-files-and-attributes-with-stat):
18953 Care about filenames with spaces, or starting with "-".
e3610693
MA
18954 (tramp-handle-dired-uncache): New defun.
18955 (tramp-handle-insert-directory): Don't flush the directory from
18956 cache, this is handled by `dired-uncache' now.
18957 (tramp-handle-insert-file-contents): Improve error handling.
18958 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18959 Quote `tramp-end-of-output'.
18960 (tramp-action-password): Improve trace message.
4b8b1ec5
SM
18961 (tramp-check-for-regexp): Both echoes must be present, before removing.
18962 (tramp-open-connection-setup-interactive-shell): Trace coding system.
e3610693
MA
18963 (tramp-compute-multi-hops): Eval cons cells of
18964 `tramp-default-proxies-alist'.
18965 (tramp-maybe-open-connection): Use the same command pattern for
18966 first hop and further hops.
18967 (tramp-wait-for-output): Remove handling of newlines.
18968 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
18969 (tramp-split-string): Remove function. It is handled in
18970 tramp-compat now.
18971
4b8b1ec5
SM
18972 * net/tramp-cmds.el (tramp-bug):
18973 Recommend `tramp-cleanup-all-connections' in the bug mail.
e3610693
MA
18974
18975 * net/tramp-compat.el (tramp-compat-split-string)
18976 (tramp-compat-process-running-p): New defuns.
18977
18978 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
18979 for `dired-uncache'.
18980
18981 * net/tramp-gvfs.el: New package.
18982
4b8b1ec5
SM
18983 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18984 Add handler for `dired-uncache'.
e3610693
MA
18985 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
18986
18987 * net/trampver.el: Update release number. Make version check fit
18988 for SXEmacs 22.
18989
13a3f374
JM
189902009-06-22 Jim Meyering <meyering@redhat.com>
18991
e0a28a3b 18992 Automatically handle .xz suffix (XZ-compressed files), too.
13a3f374
JM
18993 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
18994 XZ is the successor to LZMA: <http://tukaani.org/xz/>
18995
5242671e 189962009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
4e2af782 18997 Nick Roberts <nickrob@snap.net.nz>
13a3f374 18998
e0a28a3b 18999 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
5242671e
NR
19000 repository (http://sphinx.net.ru/hg/gdb-mi/).
19001
3fde45af
GM
190022009-06-22 Glenn Morris <rgm@gnu.org>
19003
46253b34
GM
19004 * files.el (dir-locals-collect-mode-variables): Allow for any number of
19005 `mode' and `eval' entries. (Bug#3430)
19006
97e18192
GM
19007 * Makefile.in (ELCFILES): Add fadr.elc.
19008
731a00fb
GM
19009 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19010 differing behavior of \n and ^ in strings. (Bug#3385)
19011
c66cd0ff
GM
19012 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19013
3fde45af
GM
19014 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19015 property.
19016 (lisp-indent-function): Make it a defcustom.
19017
db2241a0
NR
190182009-06-21 Nick Roberts <nickrob@snap.net.nz>
19019
19020 * progmodes/gdb-ui.el: Replace with ...
5242671e 19021 * progmodes/gdb-mi.el: ... this file.
db2241a0 19022 * progmodes/gud.el: Modify for gdb-mi.el.
fca428fe
GM
19023
190242009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
19025
db2241a0
NR
19026 * fadr.el: New file.
19027
38d4f316 19028See ChangeLog.14 for earlier changes.
e3d51b27
MR
19029
19030;; Local Variables:
19031;; coding: utf-8
e3d51b27
MR
19032;; End:
19033
775f75bc 19034 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
e3d51b27
MR
19035
19036 This file is part of GNU Emacs.
19037
19038 GNU Emacs is free software: you can redistribute it and/or modify
19039 it under the terms of the GNU General Public License as published by
19040 the Free Software Foundation, either version 3 of the License, or
19041 (at your option) any later version.
19042
19043 GNU Emacs is distributed in the hope that it will be useful,
19044 but WITHOUT ANY WARRANTY; without even the implied warranty of
19045 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19046 GNU General Public License for more details.
19047
19048 You should have received a copy of the GNU General Public License
19049 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.