* lisp/dired-aux.el (dired-diff): If file at point is a backup file,
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9d232fc4
JL
12013-02-28 Juri Linkov <juri@jurta.org>
2
3 * dired-aux.el (dired-diff): If file at point is a backup file,
4 use its original as the default value, and reverse the order
5 of arguments to the `diff' call. Doc fix. (Bug#13772)
6
779451da
MA
72013-02-28 Michael Albinus <michael.albinus@gmx.de>
8
9 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
10 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
11
ef3761e3
AM
122013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13
14 Initial support for hunspell dictionaries auto-detection (Bug#13639)
15
16 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
17 Ask hunspell about available and default dictionaries.
18 (ispell-parse-hunspell-affix-file): Extract relevant info from
19 hunspell affix file.
20 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
21 `ispell-dictionary-alist' entry for given dictionary after info
22 provided by `ispell-parse-hunspell-affix-file'.
23 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
24 of parsed hunspell dicts and associated affix files.
25 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
26 of parsed hunspell dicts and associated parameters.
27 (ispell-set-spellchecker-params):
28 Call `ispell-find-hunspell-dictionaries' if hunspell and not
29 previously done.
30 (ispell-start-process):
31 Call `ispell-hunspell-fill-dictionary-entry' for current
32 dictionary if it is not initialized.
33
930de676
SM
342013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
35
36 * imenu.el: Comment nitpicks.
37
3602cceb
SS
382013-02-28 Sam Steingold <sds@gnu.org>
39
40 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
41 See <http://stackoverflow.com/questions/14720205>.
42
bd0dd755
TV
432013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
44
45 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
46 (net-utils-mode): Use it.
47 (net-utils--revert-cmd): New var.
48 (net-utils-run-simple): Set it, and remove bogus interactive spec.
49 (traceroute): Use net-utils-run-simple.
50
929aeac6 512013-02-28 Glenn Morris <rgm@gnu.org>
f0e19dc1
GM
52
53 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
54
e7a1c32d
SM
552013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
58 (doc-view-fallback-mode): Remove overlays here.
59 (doc-view-toggle-display): Instead of here. Don't throw away
60 image-mode-winprops-alist.
61 (doc-view-goto-page): Don't mess with hscroll.
62
f2c88400
TV
632013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
64
65 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
66 &optional (bug#13819).
67
fa550654
MA
682013-02-27 Michael Albinus <michael.albinus@gmx.de>
69
70 * net/tramp-adb.el (tramp-adb-parse-device-names)
71 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
72
58bd4aa2
MA
732013-02-26 Michael Albinus <michael.albinus@gmx.de>
74
f2c88400
TV
75 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
76 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
58bd4aa2
MA
77 defined. POSIX environments fall back to the "C" locale then and
78 emit a warning, which shall be suppressed.
79
9f70f91e
SM
802013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
81
82 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
83 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
84
4c514b0f
SM
852013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
86
87 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
88
cd27a76d
JL
892013-02-25 Juri Linkov <juri@jurta.org>
90
91 * replace.el (read-regexp): Let-bind `default' to the first
92 element of `defaults' if it's a list, otherwise it should be
93 a string or nil. Let-bind `suggestions' to `defaults' if it's
94 a list, otherwise make a list with the string value. Doc fix.
95 (Bug#13805)
96
343a2aef
EZ
972013-02-25 Eli Zaretskii <eliz@gnu.org>
98
99 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
100 that match "\`\.#", to avoid compiling lock files, even if they
101 are readable (as they are on MS-Windows).
102
944c37ef
SM
1032013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * files.el (basic-save-buffer): Remove redundant directory-creation.
106
7a91562f
JB
1072013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
108
109 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
110 Add option to force `pi' to remain symbolic.
111 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
112 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
113 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
114 derivatives, when necessary.
115
2ae3d736
PK
1162013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
117
118 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
119 (ps-mode-octal-region): Use string-make-unibyte.
120
fd743628
GM
1212013-02-23 Glenn Morris <rgm@gnu.org>
122
e8ba2352
GM
123 * emulation/viper-cmd.el (viper-submit-report):
124 * progmodes/ps-mode.el (ps-mode-maintainer-address):
125 * progmodes/vera-mode.el (vera-mode-help-address):
126 * textmodes/artist.el (artist-maintainer-address):
127 * textmodes/reftex.el (reftex-report-bug):
128 * vc/ediff-util.el (ediff-submit-report):
129 Add bug-gnu-emacs to bug report address.
130
3296c443
GM
131 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
132 Remove bug report entries.
133 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
134
fd743628
GM
135 * emacs-lisp/bytecomp.el (byte-compile-level): New.
136 (byte-compile-file, byte-compile-from-buffer):
137 Use separate input/output buffers for each level of recursive
138 byte-compile-file calls. (Bug#13787)
139
c57a0aff
MA
1402013-02-23 Michael Albinus <michael.albinus@gmx.de>
141
142 * net/tramp.el (tramp-methods): Fix docstring.
143 (tramp-ssh-controlmaster-options): Rename it from
144 `tramp-ssh-controlmaster-template'. Return a string.
145 (tramp-default-method): Adapt check for
146 `tramp-ssh-controlmaster-options'.
147
4c514b0f
SM
148 * net/tramp-sh.el (tramp-methods):
149 Replace `tramp-ssh-controlmaster-template' by "%c".
c57a0aff
MA
150 (tramp-do-copy-or-rename-file-out-of-band)
151 (tramp-maybe-open-connection): Use it in format spec. Ensure,
152 that it is applied for the first hop only.
153
bba90ab2 1542013-02-22 Juri Linkov <juri@jurta.org>
54d9de11
JL
155
156 * isearch.el (isearch-lazy-highlight-new-loop):
157 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
158 to `isearch-other-end' if it is not nil. (Bug#13402)
159
160 * replace.el (replace-highlight): Let-bind `isearch-other-end'
161 to `match-beg'.
162
163 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
164 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
165 and `isearch-error' to nil.
166
29bb19dc
MA
1672013-02-22 Michael Albinus <michael.albinus@gmx.de>
168
169 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
170
4c514b0f
SM
171 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
172 Handle multibyte file names.
29bb19dc 173
153dd4d0
GM
1742013-02-22 Glenn Morris <rgm@gnu.org>
175
5c11fc55
GM
176 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
177 (sgml-transformation-function): Give it a :set function.
178 (sgml-tag): Doc fix.
179
f4146d98
GM
180 * cmuscheme.el (scheme-buffer):
181 * progmodes/inf-lisp.el (inferior-lisp-buffer):
182 * progmodes/tcl.el (inferior-tcl-buffer):
183 * textmodes/tex-mode.el (tex-command): Doc fixes.
184
5db881d0
GM
185 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
186
153dd4d0
GM
187 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
188
e224eb41
BG
1892013-02-21 Bastien Guerry <bzg@gnu.org>
190
191 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
192
cfbf790d 1932013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
c132ab79 194
4c514b0f
SM
195 * progmodes/python.el (python-info-current-defun):
196 Enhance match-data cluttering prevention.
c132ab79 197
cfbf790d 1982013-02-21 Glenn Morris <rgm@gnu.org>
e233e100
GM
199
200 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
201 loaded while outline-regexp is let bound. (Bug#9584)
202
cfbf790d 2032013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
33c0cb25
FEG
204
205 * progmodes/python.el (python-info-current-defun): Fix failed
206 defun name retrieval because of unwanted match-data cluttering.
207
886bae77
MA
2082013-02-21 Michael Albinus <michael.albinus@gmx.de>
209
d20e6e90
MA
210 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
211 defconst. Apply independent check for ControlPersist.
212
886bae77
MA
213 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
214 temporarily, via "env".
215
bed1791a
GM
2162013-02-21 Glenn Morris <rgm@gnu.org>
217
5313bbc7
GM
218 * info.el (Info-enable-edit): Remove.
219 (Info-edit): Disable it rather than using Info-enable.
220 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
221 (Info-cease-edit): Make editing of Info files obsolete.
222
bed1791a
GM
223 * informat.el (Info-tagify):
224 Handle buffers not visiting files. (Bug#13763)
225
c1bf363a
JB
2262013-02-21 Juanma Barranquero <lekktu@gmail.com>
227
228 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
229
b367ec7b
GM
2302013-02-21 Glenn Morris <rgm@gnu.org>
231
232 * files.el (basic-save-buffer): Move check for existing parent
233 directory after hooks. (Bug#13773)
234
b6c2bfff
SM
2352013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 * simple.el (command-execute): Move from C. Add obsolete check.
238 (extended-command-history): Move from C.
239
3bf1099f
UM
2402013-02-20 Ulrich Müller <ulm@gentoo.org>
241
242 * jka-cmpr-hook.el (jka-compr-compression-info-list)
243 (jka-compr-mode-alist-additions): Handle .txz suffix for
244 XZ-compressed tar archives (bug#13770).
245
d8d2d18a
BG
2462013-02-20 Bastien Guerry <bzg@gnu.org>
247
3bf1099f
UM
248 * outline.el (outline-regexp, outline-heading-end-regexp):
249 Make variables, not options (bug#13731).
d8d2d18a 250
1dfcc79e
GM
2512013-02-20 Glenn Morris <rgm@gnu.org>
252
dc504515
GM
253 * image.el (image-current-frame): Change from variable to function.
254 (image-show-frame): Rename from image-nth-frame. Update callers.
255 * image-mode.el (image-multi-frame): New variable.
256 (image-mode-map, image-mode, image-goto-frame):
257 Use image-multi-frame rather than image-current-frame.
258 (image-mode, image-goto-frame): Use image-current-frame as
259 function rather than as variable.
260
1dfcc79e
GM
261 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
262 * emacs-lisp/cl-macs.el (cl--make-type-test)
263 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
264
81ed22e4
MA
2652013-02-19 Michael Albinus <michael.albinus@gmx.de>
266
267 * net/tramp-cache.el (tramp-get-hash-table): New defun.
268 (tramp-get-file-property, tramp-set-file-property)
269 (tramp-get-connection-property, tramp-set-connection-property): Use it.
270 (tramp-flush-file-property, tramp-flush-directory-property):
271 Rename argument to KEY.
272 (tramp-flush-connection-property): Simplify a little bit.
273 (tramp-connection-property-p): New defun.
274 (top): Reapply saved values only if there isn't a corresponding
275 entry in `tramp-connection-properties'.
276
2af3b9c1
FEG
2772013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
278
872faefb
GM
279 * progmodes/python.el (python-indent-context):
280 Fix python-info-line-ends-backslash-p call.
2af3b9c1 281 (python-info-line-ends-backslash-p)
872faefb
GM
282 (python-info-beginning-of-backslash): Respect line-number argument.
283 (python-info-current-line-comment-p):
284 Fix behavior when not at beginning-of-line.
2af3b9c1
FEG
285 (python-util-position): Remove function.
286 (python-util-goto-line): New function.
287
872faefb 2882013-02-19 Michael Albinus <michael.albinus@gmx.de>
c9bcc580
MA
289
290 * eshell/em-unix.el (eshell/su): Require tramp.
291 (eshell/sudo): Require tramp. Remove now unnecessary check.
292
293 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
294 `tramp-current-connection' in order to avoid an error when several
295 commands are invoked in a short time in eshell and friends.
296
8ca4f1e0
SM
2972013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
298
299 Cleanup some of EIEIO's namespace.
300 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
301 Use it to define all the class-* and object-* field accessors (renamed
302 to eieio--class-* and eieio--object-*). Update all uses.
303 (eieio--class-num-slots, eieio--object-num-slots): Rename from
304 class-num-slots and object-num-slots.
305 (eieio--check-type): New macro.
306 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
307 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
308 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
309 (object-assoc-list-safe): Use it.
310 (eieio-defclass): Tighten regexp.
311 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
312 Remove unreachable code.
313 (object-class-fast): Declare obsolete.
314 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
315 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
316 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
317 Rename from class-name, object-name, object-set-name-string,
318 object-class, object-class-name, class-parents, class-children,
319 class-precedence-list, class-parent; with obsolete alias.
320 (class-of, class-direct-superclasses, class-direct-subclasses):
321 Declare obsolete.
322 (eieio-defmethod): Use `memq'; remove unreachable code.
323 * emacs-lisp/eieio-base.el (eieio-persistent-read):
324 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
325 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
326
327
587feed4
MH
3282013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
329
330 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
331 Use font-lock-keyword-face for macros and special forms (bug#8345).
332
a51e9ff7 3332013-02-17 Didier Verna <didier@didierverna.net>
e5b246e9
DV
334
335 * net/network-stream.el (network-stream-open-starttls):
336 Check that response to the starttls-command is non-nil. (Bug#13706)
337
913274cb
SM
3382013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
341 Don't assume all identifier chars have syntax word.
342 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
343 Remove bar-not-symbol. Adjust callers.
344 (lisp-mode-variables): Don't set a font-lock-syntax-table.
345
53db1d8b
LL
3462013-02-17 Leo Liu <sdl.web@gmail.com>
347
348 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
349
e630f18a
GM
3502013-02-17 Glenn Morris <rgm@gnu.org>
351
1bb1e038
GM
352 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
353
f05e2ff2
GM
354 * image-mode.el (image-mode-map): Add image-dired menu entry.
355
e630f18a
GM
356 * image-dired.el (tumme): Make this alias obsolete.
357
783b7b75
GM
3582013-02-16 Glenn Morris <rgm@gnu.org>
359
ed8d7fca
GM
360 * image.el (image-animated-types): Remove.
361 (image-multi-frame-p): Rename from image-animated-p, and generalize.
362 (image-animated-p): Make obsolete alias.
363 (image-animate, image-nth-frame, image-animate-timeout):
364 Use image-multi-frame-p.
365 (image-animate-timeout): If no delay, use image-default-frame-delay.
366 * image-mode.el (image-mode, image-toggle-animation):
367 Use image-multi-frame-p. (Bug#763, bug#10739)
368 (image-mode): Adjust startup message for a multi-frame image.
369
783b7b75
GM
370 * image-mode.el (image-mode-map): Give it a menu.
371
61addbc2
MA
3722013-02-16 Michael Albinus <michael.albinus@gmx.de>
373
374 * net/tramp-cache.el (tramp-connection-properties): New customer
375 option.
376 (tramp-get-connection-property): Use it.
377
378 * net/tramp-compat.el (top): Require 'trampver.
379
913274cb
SM
380 * net/tramp-sh.el (tramp-remote-process-environment):
381 Set tramp-autoload cookie.
61addbc2 382
a9bc03e2
KR
3832013-02-16 Kevin Ryde <user42@zip.com.au>
384
385 * info-look.el (info-lookup-select-mode): If major-mode has no
386 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
387
2b0afdd9
J
3882013-02-16 Jambunathan K <kjambunathan@gmail.com>
389
390 * replace.el (read-regexp): Tighten the regexp that matches tag.
391 When tag is retrieved with `find-tag-default', use regexp that
392 matches tag at point. Also update docstring (Bug#13687).
393
a7a84eea
EZ
3942013-02-16 Eli Zaretskii <eliz@gnu.org>
395
396 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
397 add watch for the file, not its parent directory, since w32notify
398 sets up the watch for the directory internally. (Bug#13725)
399
c0211c4e
GM
4002013-02-16 Glenn Morris <rgm@gnu.org>
401
99e619b6
GM
402 * image.el (image-default-frame-delay): New variable.
403 (image-animated-p): Use image-default-frame-delay.
404 (image-minimum-frame-delay): New constant.
405 (image-animate-timeout): Use image-minimum-frame-delay.
406
c0211c4e
GM
407 * image.el (image-nth-frame): New, split from image-animate-timeout.
408 (image-animate-timeout): Use image-nth-frame.
409 * image-mode.el (image-goto-frame, image-next-frame)
410 (image-previous-frame): New commands.
411 (image-mode-map): Add new frame commands.
412
6b6d804b
JB
4132013-02-16 Jonas Bernoulli <jonas@bernoul.li>
414
415 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
416 If col-desc already has help-echo, use it. (Bug#13563)
417
ef5ae980
GM
4182013-02-16 Glenn Morris <rgm@gnu.org>
419
bb9dfee1
GM
420 * image.el (image-current-frame): New variable.
421 (image-animate-timeout): Set image-current-frame.
422 * image-mode.el (image-mode): For animated images,
423 display a frame counter via mode-line-process.
424
ef5ae980
GM
425 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
426
6c8f113e
SM
4272013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
428
429 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
430
f852f6d8
AM
4312013-02-15 Alan Mackenzie <acm@muc.de>
432
433 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
434 global minor mode has been enabled, call the minor mode function
435 for a new buffer once only, after the major mode hook, whilst
436 allowing that hook explicitly to disable the minor mode.
6c8f113e
SM
437 (MODE-disable-in-buffer): New (generated) function.
438 (disable-MODE): New (generated) buffer local variable.
f852f6d8 439
d7e76a89
J
4402013-02-15 Jambunathan K <kjambunathan@gmail.com>
441
442 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
443 `iswitchb-next-match' and `iswitchb-prev-match' resply.
d7e76a89
J
444 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
445 `ido-next-match' and `ido-prev-match' resply.
d7e76a89
J
446 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
447 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
448 `icomplete-backward-completions' (Bug#13708).
449
ef5ae980 4502013-02-15 Glenn Morris <rgm@gnu.org>
9e16c3b4
GM
451
452 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
453
648e5523 4542013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
213ac168
SM
455
456 * net/goto-addr.el (goto-address-fontify): Add start and end args.
457 (goto-address-fontify-region): Use them instead of narrowing, so
458 syntax-ppss has access to the whole buffer.
459
648e5523 4602013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
ea5f4192
FEG
461
462 * progmodes/python.el: Explain how to restore "cc-mode"-like
463 forward-sexp movement in header documentation (Bug#13642).
464 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
465 comments and strings (GH bug 114).
466
648e5523 4672013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
5cd3d1e5
FEG
468
469 * progmodes/python.el (python-info-current-defun): Fix current
470 defun detection (Bug#13618).
471
648e5523 4722013-02-15 Chong Yidong <cyd@gnu.org>
a1d23eb5
CY
473
474 * xml.el (xml-parse-string): Fix typo in handling of bad character
475 references.
476
dec2a322
GM
4772013-02-15 Glenn Morris <rgm@gnu.org>
478
479 * play/fortune.el (fortune-compile): Simplify and fix previous change.
480
5267e6d3
MA
4812013-02-14 Michael Albinus <michael.albinus@gmx.de>
482
6c8f113e
SM
483 * net/tramp.el (tramp-debug-message):
484 Add `tramp-condition-case-unless-debug'.
5267e6d3
MA
485 (tramp-debug-on-error): New defvar.
486 (tramp-condition-case-unless-debug): New defun.
487 (tramp-file-name-handler): Use it.
488
f6b6e113
JL
4892013-02-14 Juri Linkov <juri@jurta.org>
490
491 * info.el (Info-isearch-filter): Treat non-nil values of
492 `search-invisible' including its default value `open'
493 like the value `t' to match hidden text. (Bug#13402)
494
6a378d89
GM
4952013-02-14 Glenn Morris <rgm@gnu.org>
496
497 * help-fns.el (find-lisp-object-file-name): Give special treatment
498 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
499
3ca2c015
DB
5002013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
501
502 * net/quickurl.el (quickurl-save-urls):
503 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
504
53ca88c4
DG
5052013-02-14 Dmitry Gutov <dgutov@yandex.ru>
506
507 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
508 depth for unfinished percent literal. Not using it in the caller.
509 (ruby-move-to-block): Jump over multiline literals of all types,
510 ignoring code-looking contents inside them.
71a048c1
DG
511 (ruby-add-log-current-method): Improve performance at the expense
512 of accuracy. `ruby-block-contains-point' is relatively slow, so
513 only use it for method and singleton class blocks.
53ca88c4 514
d7291032
MA
5152013-02-13 Michael Albinus <michael.albinus@gmx.de>
516
517 Use ControlMaster where applicable. (Bug#13677)
518
519 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
520 replacing `tramp-detect-ssh-controlmaster'.
521 (tramp-default-method): Use it.
522
523 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
524 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
525 arguments.
526 [scpc, rsyncc]: Remove methods.
527 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
528 and "ssh2_old".
529 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
530 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
531
1ead7dbd
SM
5322013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
533
534 * emacs-lisp/package.el (package--initialized): Move before first use.
535
5cbfe5b9
J
5362013-02-13 Jambunathan K <kjambunathan@gmail.com>
537
538 * icomplete.el (icomplete-hide-common-prefix): New user option.
539 (icomplete-first-match): New face.
540 (icomplete-completions): Correct handling of "complete but not
541 unique" (Bug#12638).
542
67f3e54a
YQ
5432013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
544
545 * descr-text.el (describe-char): Display the script (bug#13698).
546
4d0463b9
SM
5472013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
548
549 * tmm.el: Use lexical-binding and current-active-maps.
550 (tmm-menubar): Use map-keymap and pcase.
551 (tmm--completion-table): New function.
552 (tmm-prompt): Use it to fix the menu order.
553 (tmm-get-keybind): Use current-active-maps.
554
a2a538b1
CS
5552013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
556
557 Add dired-hide-details-mode. (Bug#6799)
558
559 * locate.el (locate-mode): Set parent mode property to dired-mode.
560
561 * find-dired.el (find-dired): Call dired-insert-set-properties on
562 initial information line. Set process mark on end of buffer.
563 (find-dired-sentinel):
564 Call dired-insert-set-properties on summary.
565
566 * dired.el (dired-hide-details-hide-symlink-targets)
567 (dired-hide-details-hide-information-lines): New options.
568 (dired-insert-directory):
569 Set properties after final treatment of output.
570 (dired-insert-set-properties):
571 Set dired-hide-details-* properties.
572 (dired-mode-map): Bind dired-hide-details-mode.
573 (dired-mode): Set buffer-invisibility-spec to a list.
574 (dired-next-line): Skip hidden lines.
575 (dired-previous-line): Use dired-next-line.
576 (dired-hide-details-mode): New minor mode.
577 (dired-hide-details-update-invisibility-spec): New function.
578
4e16ddf4
GM
5792013-02-13 Glenn Morris <rgm@gnu.org>
580
581 * play/yow.el: Move to obsolete/. (Bug#9384)
582
ef79c6ed
JL
5832013-02-13 Juri Linkov <juri@jurta.org>
584
585 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
586 to select `ediff-control-frame' and set input focus correctly on Xfce.
587 (Bug#12218)
588
9cec74cf
JL
5892013-02-13 Juri Linkov <juri@jurta.org>
590
591 * image-mode.el (image-mode-map):
592 * doc-view.el (doc-view-mode-map):
593 * vc/ediff-util.el (ediff-setup-keymap):
594 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
595
7132e457
DG
5962013-02-13 Dmitry Gutov <dgutov@yandex.ru>
597
598 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
599 performance. Instead of recalculating indentation fully for each
600 line, sum up indentation depth based only on visited lines.
601 (ruby-parse-partial): Increase the depth after "do" even when END
602 is right after it.
603 (ruby-parse-partial): When END is in the middle of a percent
604 literal, increase the depth if the delimiter chars belong to the
605 paren syntax class.
606
3c4a4b23
KK
6072013-02-13 Kirill A. Korinskiy <catap@catap.ru>
608
609 * play/fortune.el (fortune-compile): Also make the compiled file
610 if it does not exist at all, not just if it is old. (Bug#5338)
611
eeb468da
GM
6122013-02-13 Glenn Morris <rgm@gnu.org>
613
614 * emacs-lisp/package.el (package-menu-execute): Doc fix.
615
6162013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
a7da0114
YB
617
618 * lisp/emacs-lisp/package.el (package-menu-execute):
619 Add optional noquery argument. (Bug#13625)
620
01fcc3a5 6212013-02-13 Michael Albinus <michael.albinus@gmx.de>
e08e7d91
MA
622
623 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
624 if DIR exists and PARENTS is non-nil.
625
d6596b94
JB
6262013-02-13 Juanma Barranquero <lekktu@gmail.com>
627
628 * progmodes/js.el (js--multi-line-declaration-indentation):
629 Silence byte-compiler warning.
630
f1f05871
MA
6312013-02-12 Michael Albinus <michael.albinus@gmx.de>
632
633 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
634
635 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
636 only if it doesn't exist.
637
6c8f113e
SM
638 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
639 Set process marker.
f1f05871 640
62c0e847
TH
6412013-02-12 Tassilo Horn <tsdh@gnu.org>
642
643 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
644 UserInstallation when calling soffice to work around LibreOffice
645 bug 37531.
646
958614cf
GM
6472013-02-12 Glenn Morris <rgm@gnu.org>
648
0b244335
GM
649 * files.el (basic-save-buffer):
650 Offer to create a non-existing directory. (Bug#3016)
651
958614cf
GM
652 * calc/calc-graph.el (calc-graph-show-dumb):
653 * calendar/calendar.el (calendar-mode-map):
654 * cus-edit.el (custom-mode-map):
655 * ehelp.el (electric-help-map):
656 * emulation/vip.el (vip-mode-map):
657 * epa.el (epa-key-list-mode-map):
658 * info.el (Info-mode-map):
659 * mail/rmail.el (rmail-mode-map):
660 * mail/rmailsum.el (rmail-summary-mode-map):
661 * man.el (Man-mode-map):
662 * net/newst-plainview.el (newsticker-mode-map):
663 * progmodes/cpp.el (cpp-edit-mode-map):
664 * progmodes/grep.el (grep-mode-map):
665 * progmodes/idlw-help.el (idlwave-help-mode-map):
666 * simple.el (special-mode-map):
667 * startup.el (splash-screen-keymap):
668 * view.el (view-mode-map):
669 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
670
4fa60c54
EP
6712013-02-11 Elias Pipping <pipping@lavabit.com>
672
673 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
7e561c10 674 (bug#13679).
4fa60c54 675
99d0d6dc
SM
6762013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
677
678 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
679
31db8c31
GM
6802013-02-11 Glenn Morris <rgm@gnu.org>
681
5109429f
GM
682 * vc/diff.el (diff-use-labels): New variable.
683 (diff-no-select): Use --label rather than -L, and first
684 check that it is supported. (Bug#11067)
685
97a1cd9d
GM
686 * files.el (enable-dir-local-variables): New variable.
687 (hack-dir-local-variables): Respect enable-dir-local-variables.
688 * tutorial.el (help-with-tutorial):
689 Ignore directory-local variables. (Bug#11127)
690
31db8c31
GM
691 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
692 (vc-svn-global-switches): ... to here. (Bug#13513)
693
2f108463
CS
6942013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
695
99d0d6dc
SM
696 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
697 Handle "foo (bar, default: xxx): " prompts.
2f108463 698
490a9458 6992013-02-10 Chong Yidong <cyd@gnu.org>
e78e7e48 700
0ccdf61e
CY
701 * files.el (basic-save-buffer-1): Do not set
702 buffer-file-coding-system-explicit (Bug#4533).
703
e78e7e48
CY
704 * mail/emacsbug.el (report-emacs-bug): Change binding of
705 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
706
5d9c6f17
JB
7072013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
708
709 * calc/calc.el (calc-allow-units-as-numbers): New variable.
710 * calc/calc-units.el (calc-convert-units): Use new variable.
711
8549f9e8
EZ
7122013-02-09 Eli Zaretskii <eliz@gnu.org>
713
2d050423
EZ
714 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
715
8549f9e8
EZ
716 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
717 buffer-file-type.
718
719 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
720 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
721 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
722 coding-system-for-write instead.
723
724 * jka-compr.el (jka-compr-write-region): Don't bind
725 buffer-file-type.
726
727 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
728 buffer-file-type.
729
730 * files.el (file-name-buffer-file-type-alist): Remove defvar.
731 (insert-file-contents-literally): Remove reference to
732 file-name-buffer-file-type-alist.
733
734 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
735 make-obsolete.
736 (find-buffer-file-type-match, find-buffer-file-type): Remove.
737 (find-buffer-file-type-coding-system): Remove references to
738 find-buffer-file-type-match, find-buffer-file-type, and
739 buffer-file-type.
740 Don't put find-buffer-file-type-coding-system into
741 file-coding-system-alist.
742 (find-file-binary, find-file-text): Bind coding-system-for-read
743 instead of file-name-buffer-file-type-alist.
744
9cbab8d6 7452013-02-09 Jambunathan K <kjambunathan@gmail.com>
f63f9398
TH
746
747 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
9cbab8d6
GM
748 converter (Bug#13622).
749 (doc-view-unoconv-program): Make obsolete alias.
f63f9398
TH
750 (doc-view-odf->pdf-converter-program): New variable.
751 (doc-view-odf->pdf-converter-function): New variable.
752 (doc-view-mode-p): Use it.
9cbab8d6
GM
753 (doc-view-odf->pdf-converter-unoconv):
754 Rename from `doc-view-odf->pdf-converter-unoconv'.
f63f9398 755 (doc-view-odf->pdf-converter-soffice): New function.
9cbab8d6
GM
756 (doc-view-convert-current-doc):
757 Use `doc-view-odf->pdf-converter-function'.
f63f9398 758
044a9eac
CY
7592013-02-09 Chong Yidong <cyd@gnu.org>
760
123ecb68
CY
761 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
762 view-echo-area-messages (Bug#13340).
763
764 * help.el (view-echo-area-messages): Use display-buffer.
765
044a9eac
CY
766 * dired-x.el (dired-do-run-mail): Prompt for confirmation
767 (Bug#13561).
768
1a601680
SM
7692013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
770
7f526211
SM
771 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
772 Eval body right away, now that we do eager macroexpansion (bug#13605).
773
c9586acc
SM
774 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
775 (fundamental-mode): Use run-mode-hooks.
776
1a601680
SM
777 * eshell/esh-proc.el (eshell/kill): Fix last change.
778 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
779
276a61a6
AG
7802013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
781
782 * eshell/esh-proc.el (eshell/kill): Rewrite.
783
784 * eshell/em-ls.el (show-almost-all): Declare.
785 (eshell-do-ls): Add support for -A argument.
786
6130b96a
J
7872013-02-08 Jambunathan K <kjambunathan@gmail.com>
788
789 * icomplete.el (icomplete-forward-completions)
790 (icomplete-backward-completions): Handle corner case (bug#13602).
791
fed00072
MA
7922013-02-07 Michael Albinus <michael.albinus@gmx.de>
793
794 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
795 be nil. Handle this. (Bug#13636)
796
469c5a60
RS
7972013-02-07 Richard Stallman <rms@gnu.org>
798
799 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
800 `save-buffer-coding-system'.
801
8c4b24b2 8022013-02-07 Alan Mackenzie <acm@muc.de>
d23b0804 803
8c4b24b2 804 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
d23b0804
AM
805 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
806 (c-parse-state-get-strategy): Don't return 'BOD any more.
8c4b24b2
GM
807 (c-append-lower-brace-pair-to-state-cache):
808 Extra parameter HERE instead of narrowing.
809 Widen to top of buffer before searching backwards for a brace pair.
810 (c-state-push-any-brace-pair): Add HERE parameter to function call.
811 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
812 Narrow to parameter HERE, in place of being called narrowed.
d23b0804
AM
813 (c-remove-stale-state-cache): Extra parameter HERE in place of
814 narrowing. Check there's an open brace in the cache before
815 searching for its match.
816 (c-invalidate-state-cache-1): Add HERE parameter to function call.
817 (c-parse-state-1): Don't narrow here for 'forward strategy,
8c4b24b2
GM
818 instead passing extra parameter HERE to several functions.
819 Remove 'BOD strategy.
d23b0804 820
55b056ba
NR
8212013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
822
823 * emacs-lisp/package.el (describe-package-1): Tell what archive is
824 used to install the package.
825
e86762ec
GM
8262013-02-06 Glenn Morris <rgm@gnu.org>
827
5fd03926
GM
828 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
829 if we can't get user input. (Bug#6567)
830
e86762ec
GM
831 * startup.el (command-line): If simple.el is missing,
832 test and warn about for some possible causes.
833
6871e574
JD
8342013-02-05 Jan Djärv <jan.h.d@swipnet.se>
835
836 * cus-start.el (all): Add ns-use-native-fullscreen.
837
3505fa02
GM
8382013-02-05 Glenn Morris <rgm@gnu.org>
839
ed746aa7
GM
840 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
841
3505fa02
GM
842 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
843 Fix directory creation in fallback case.
844
50fdf399
TV
8452013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
846
847 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
848 (vc-update-change-log): Use dolist.
849
6e5c1569
CY
8502013-02-04 Chong Yidong <cyd@gnu.org>
851
852 * thingatpt.el: Rewrite the URL detection routines, absorbing some
853 code from ffap.el.
854 (thing-at-point-beginning-of-url-regexp): New var.
855 (thing-at-point-uri-schemes): Update list of URI schemes.
856 (thing-at-point-url-regexp): Variable deleted.
857 (thing-at-point-markedup-url-regexp): Disallow newlines.
858 (thing-at-point-newsgroup-regexp)
859 (thing-at-point-newsgroup-heads)
860 (thing-at-point-default-mail-uri-scheme): New variables.
861 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
50fdf399
TV
862 method to find the possible bounds of the URI at point.
863 New optional argument to find ill-formed URIs.
6e5c1569
CY
864 (thing-at-point-url-at-point): Rewrite. New arguments for finding
865 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
866 the scheme-adding heuristics from ffap-url-at-point.
50fdf399
TV
867 (thing-at-point--bounds-of-well-formed-url): New function.
868 Do parens matching to decide whether to include parens in the URI
6e5c1569
CY
869 (Bug#9153).
870
871 * ffap.el: Require thingatpt.
872 (ffap-url-at-point): Delegate URI detection to thing-at-point.
873 All URI-valid characters are now recognized (Bug#5673).
874 (ffap-string-at-point): Use use-region-p.
875 (ffap-url-regexp): Extra character is handled by thing-at-point.
876 (ffap-string-at-point-mode-alist): Allow parentheses.
877 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
878 Convert to aliases; code moved to thingatpt.el.
879 (ffap-gnus-hook): Use setq-local.
880
84a06b50
GM
8812013-02-04 Glenn Morris <rgm@gnu.org>
882
883 * emacs-lisp/ert.el (ert--explain-format-atom):
884 Don't try to print non-characters as characters. (Bug#13543)
885
5870b2b1
MA
8862013-02-03 Michael Albinus <michael.albinus@gmx.de>
887
888 * net/tramp.el (tramp-debug-message): Extend function exclude list.
889 (tramp-backtrace): New defun.
890 (tramp-handle-insert-file-contents): Use `visit' when inserting
891 the local copy.
892
50fdf399
TV
893 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
894 Use `remote-file-name-inhibit-cache'.
5870b2b1 895
659a9010
SM
8962013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
897
4813c453
SM
898 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
899 (bug#13614).
900
659a9010
SM
901 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
902 current-load-list (bug#13366).
903
35114711
CS
9042013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
905
906 * progmodes/compile.el (compilation-error-regexp-alist-alist):
907 Identify g++ template instantiation trace. (Bug#12287)
85a83ea0
CS
908 (compilation-mode-hook, compilation-start-hook)
909 (compilation-window-height): Simplify docstrings. (Bug#13379)
35114711 910
94fbc901 9112013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13841bfc
SM
912
913 * mouse.el (mouse-drag-track): Always deactivate the mark before
914 running the final event's command since that command is in charge of
915 activating the mark if needed (bug#13523).
916
94fbc901 9172013-02-02 Juri Linkov <juri@jurta.org>
dc2bc295
JL
918
919 * replace.el (perform-replace): Move let-bindings of isearch-*
920 variables deeper to the loop that searches for the next match.
921 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
922 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
923 (Bug#13579)
924
925 * isearch.el (isearch-search-fun-default): Check for null
926 first element of isearch-cmds as a precaution when it's used
927 with inactive isearch.
928
94fbc901 9292013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
f864e0ea
AN
930
931 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
932 error when buffer in question is narrowed so position 1 is out of
933 visible part.
934
94fbc901 9352013-02-02 Glenn Morris <rgm@gnu.org>
fb77fe0f
GM
936
937 * textmodes/remember.el (remember-clipboard): Doc fix.
938
94fbc901 9392013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
c517ec69
SM
940
941 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
942 properties (bug#13179).
943
98da8c0f
JL
9442013-02-02 Juri Linkov <juri@jurta.org>
945
946 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
947 instead of hard-coded default face `match'. (Bug#9438)
948
7b6d5ecf
CS
9492012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
950
af314ba0
CS
951 * vc/vc-arch.el (vc-arch-registered):
952 * vc/vc-bzr.el (vc-bzr-registered):
953 * vc/vc-cvs.el (vc-cvs-registered):
954 * vc/vc-git.el (vc-git-registered):
955 * vc/vc-hg.el (vc-hg-registered):
956 * vc/vc-mtn.el (vc-mtn-registered):
957 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
958 (Bug#13139)
959
7b6d5ecf
CS
960 * info.el (Info-next-reference, Info-prev-reference): Add numeric
961 prefix argument. (Bug#11656)
962
686d9fb6
SM
9632013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
964
965 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
966
48c828b9
GM
9672013-02-01 Glenn Morris <rgm@gnu.org>
968
1f4f0f46
GM
969 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
970 if the backend is known not to support it.
971
48c828b9
GM
972 * imenu.el (imenu-default-create-index-function):
973 Tweak infinite loop test to check for forward motion as well as none.
974
cd87ae10
AH
9752013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
976
977 * net/soap-client.el (soap-invoke): Encode the string for
686d9fb6
SM
978 `url-request-data' as UTF-8.
979 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
cd87ae10 980
86e100a6
GM
9812013-02-01 Glenn Morris <rgm@gnu.org>
982
983 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
984
0eb61895
GM
985 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
986
61642d9a
MA
9872013-01-31 Michael Albinus <michael.albinus@gmx.de>
988
989 * net/tramp.el (tramp-tramp-file-p): Comment check for
990 `string-as-unibyte'. The function does not exist on XEmacs, and
991 likely we need another approach.
992
993 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
994 `tramp-gw-*' variables are bound.
995
9dbda100
GM
9962013-01-31 Glenn Morris <rgm@gnu.org>
997
998 * files.el (basic-save-buffer-2): Choose coding system for
999 writing the file before backing it up, to reduce delay between
1000 backing up and writing the new version. (Bug#13522)
1001
ad4de702
MN
10022013-01-31 Michal Nazarewicz <mina86@mina86.com>
1003
1004 * simple.el (cycle-spacing): New command.
1005 (just-one-space): Use it.
1006
9ca243c6
SM
10072013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1008
c4f268a1
SM
1009 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
1010 (opascal-newline-always-indents): Remove custom.
1011 (opascal-tab, opascal-newline): Remove commands.
1012 (opascal-new-comment-line): Insert "\n" instead of calling newline.
1013 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
1014 (opascal-save-match-data): Remove, use save-match-data instead.
1015 (opascal-save-state): Use with-silent-modifications.
1016
9ca243c6
SM
1017 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
1018 (bug#13585).
1019
64ced394
JL
10202013-01-30 Juri Linkov <juri@jurta.org>
1021
1022 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1023 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
1024 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
1025
c56d2269
SM
10262013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1027
1028 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
1029 column if we're just deleting the backslashes.
1030 (makefile-fill-paragraph): Use eolp.
1031
382936d1
MA
10322013-01-30 Michael Albinus <michael.albinus@gmx.de>
1033
1034 * autorevert.el (auto-revert-use-notify): Fix docstring.
1035
dd331297
LL
10362013-01-30 Leo Liu <sdl.web@gmail.com>
1037
686d9fb6 1038 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
dd331297 1039
c491dd70
GM
10402013-01-30 Glenn Morris <rgm@gnu.org>
1041
1042 * mouse.el (mouse-drag-line): Avoid pushing same event onto
1043 unread-command-events twice in some cases. This tries to implement
1044 the 2012-07-26 changes in a different way. (Bug#13560)
1045
6ff930c3
FEG
10462013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
1047
1048 * progmodes/python.el
1049 (python-pdbtrack-comint-output-filter-function): Enhancements on
1050 stacktrace detection. (thanks @gnovak)
1051
1d4e7225
SM
10522013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
1055 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
1056 Use defvar-local.
1057 (jit-lock-register): Use setq-local.
1058
7c3fb76f
JB
10592013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
1060
1061 * calc-units.el (math-default-units-table): Remove initial value.
1062 (calc-convert-units): Treat expressions where all the units cancel as
1063 if they didn't have units.
1064
8bc8712e
MA
10652013-01-30 Michael Albinus <michael.albinus@gmx.de>
1066
1067 * net/tramp.el (tramp-process-connection-type): Fix docstring.
1068 (tramp-completion-reread-directory-timeout): Fix type.
1069 (tramp-connection-min-time-diff): New defcustom.
1070
1071 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1072
1886a16d
GM
10732013-01-30 Glenn Morris <rgm@gnu.org>
1074
1075 * imenu.el (imenu-default-create-index-function):
1076 Put back a version of the infinite loop test removed 2013-01-23.
1077
3f82a88a 10782013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
e4497086 1079
1d4e7225
SM
1080 * progmodes/python.el (python-shell-parse-command):
1081 Find python-shell-interpreter with modified environment.
e4497086 1082
3f82a88a 10832013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
beb6d07d
SM
1084
1085 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
1086
953e5b8c
AM
10872013-01-29 Alan Mackenzie <acm@muc.de>
1088
1089 Amend to fontify /regexp/s in actions correctly.
1090 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1d4e7225 1091 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
953e5b8c
AM
1092 are no longer included.
1093 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
1094 What used to be these variables without "-line" in the name.
686d9fb6 1095 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
953e5b8c
AM
1096 (c-awk-non-arith-op-bra-re): Now also matches {.
1097 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
1098 "return", and "case".
1099 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
1100 by /.
1101 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
686d9fb6 1102 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
953e5b8c 1103
1b69262a
MA
11042013-01-29 Michael Albinus <michael.albinus@gmx.de>
1105
1d4e7225
SM
1106 * autorevert.el (auto-revert-use-notify):
1107 Use `custom-initialize-default' for initialization. (Bug#13583)
2f52b560 1108
1b69262a
MA
1109 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
1110
1d4e7225
SM
1111 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1112 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1b69262a 1113 in `tramp-file-name-handler'.
ea55064c
MA
1114 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1115 compatibility.
1116 (tramp-compute-multi-hops): Check, whether
1117 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1b69262a 1118
b2dc4f52
SM
11192013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1122 (bug#13297).
1123
499572e4
DG
11242013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1125
1126 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1127 checks made superfluous by the \_< operator.
a324b8c7
DG
1128 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1129 temporarily) broken indentation.
b2dc4f52
SM
1130 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1131 Highlight nested constants, too. \_< broke that.
499572e4
DG
1132
11332013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1134
1135 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1136 instead of "\\b".
1137
629cb6ec
MA
11382013-01-27 Michael Albinus <michael.albinus@gmx.de>
1139
1140 * autorevert.el (auto-revert-handler): Notifications which result
1141 from a saved file shall not be taken into account. (Bug#13557)
1142
cc17363f
AS
11432013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1144
1145 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1146 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1147 (lisp-mode): Pass t for it. (Bug#13556)
1148
b7aea0ff
AM
11492013-01-25 Alan Mackenzie <acm@muc.de>
1150
1151 AWK Mode: Fix indentation bug at top level. Bug #12274.
1152
1153 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1154 just before CASE 5D.
1155
1314a64c
DA
11562013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1157
1158 * net/socks.el (socks-nslookup-host): Use string-to-number.
1159
ef3544f6
MA
11602013-01-25 Michael Albinus <michael.albinus@gmx.de>
1161
1162 * autorevert.el (auto-revert-remote-files)
1163 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1164 (auto-revert-notify-enabled, auto-revert-use-notify)
1165 (auto-revert-notify-watch-descriptor-hash-list)
1166 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1167 (auto-revert-notify-event-descriptor)
1168 (auto-revert-notify-event-action)
1169 (auto-revert-notify-event-file-name): Doc fix.
1170 (global-auto-revert-mode): Reorder checks.
1171 (auto-revert-notify-rm-watch): Respect changed values of
1172 `auto-revert-notify-watch-descriptor-hash-list'.
1173 (auto-revert-notify-add-watch): Check for
1174 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1175 `inotify-add-watch'. Watch `default-directory' instead of
1176 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1177 has a changed meaning now. (Bug#13540)
1178 (auto-revert-notify-handler): Change implementation wrt events
1179 returning from a directory.
1180 (auto-revert-handler): Reorder implementation for checks of remote
1181 files.
1182 (auto-revert-buffers): Fix parentheses error.
1183
830e46e6 11842013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
345f866e
FEG
1185
1186 * progmodes/python.el: Enhancements to header documentation about
1187 skeletons. (Bug#5716)
1188
ddc62155
FEG
1189 * imenu.el (imenu-default-create-index-function): Remove useless
1190 infinite loop check. (Bug#13438)
1191
830e46e6 11922013-01-25 Alan Mackenzie <acm@muc.de>
267eacb5
AM
1193
1194 Fix a bug in the state cache mechanism. Refactor this a bit.
1195
1196 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1197 `cache-pos' element from the return value.
1198 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1199 buffer to enable proper searching from beyond HERE. Amend the
1200 test for detecting the sought brace pair. Amend the value written
1201 to the "brace desert cache" when the brace isn't found.
1202 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1203 and several other variables analogously.
1204 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1205 parameter to a locally calculated variable.
1206 (c-parse-state-1): Change the calling conventions to the two
1207 defuns involving `cache-pos'.
1208
830e46e6 12092013-01-25 Chong Yidong <cyd@gnu.org>
4d4ddaa7
CY
1210
1211 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1212
3d4147ba
BG
12132013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1214
1215 * paren.el (show-paren-function): Make sure to set 'priority and
1216 'face only if the overlay does exist.
1217
e1ffa412
MA
12182013-01-24 Michael Albinus <michael.albinus@gmx.de>
1219
1220 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1221
1222 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1223 basic attributes.
1224 (tramp-sh-handle-set-file-acl): Improve error checking.
1225
5ad86e34
DA
12262013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1227
1228 * doc-view.el (doc-view-display): Force mode line update until all
1229 document is converted. Suggested by Stefan Monnier (Bug#13164).
1230
d6f9c03f
BG
12312013-01-23 Bastien Guerry <bzg@gnu.org>
1232
1233 * paren.el (show-paren-function): Make sure an overlay exists
1234 before trying to delete it. Also use `pos' as a position only
1235 when it is an integer.
1236
3544e11a
DA
12372013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1238
1239 * play/gametree.el (gametree-break-line-here): Use point-marker.
1240
19b50424
MA
12412013-01-22 Michael Albinus <michael.albinus@gmx.de>
1242
b2dc4f52
SM
1243 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1244 Mark descriptive parts with `display' property.
19b50424 1245
7fd5a843
AM
12462013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1247
1248 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1249 New variable to map standard dict names to hunspell ones.
1250 (ispell-set-spellchecker-params): Make sure specific dict names
1251 are used for standard dicts with hunspell.
1252
e6aff855
TH
12532013-01-21 Tassilo Horn <tsdh@gnu.org>
1254
1255 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1256 chars for note (%N) and url (%U).
1257 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1258
c84b0881
JL
12592013-01-21 Juri Linkov <juri@jurta.org>
1260
1261 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1262 in addition to existing separate binding `meta f10' in `global-map'.
1263 (Bug#13484)
1264
a36e2d26
MA
12652013-01-21 Michael Albinus <michael.albinus@gmx.de>
1266
1267 Improve XEmacs compatibility.
1268
1269 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1270
1271 * net/tramp-adb.el (top): Require `time-date'.
1272 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
b2dc4f52
SM
1273 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1274 Use `tramp-file-name-handler'.
1275 (tramp-adb-maybe-open-connection):
1276 Use `tramp-compat-set-process-query-on-exit-flag'.
a36e2d26 1277
b2dc4f52
SM
1278 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1279 Use `tramp-compat-funcall'.
a36e2d26
MA
1280
1281 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1282 `tramp-compat-funcall'.
1283
88c7dfa3
JH
12842013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1285
1286 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1287 reimplementation using "adb shell command ..." instead of running
1288 remote shell interactively.
1289
15df6fa4
GM
12902013-01-20 Glenn Morris <rgm@gnu.org>
1291
a576cc76
GM
1292 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1293 Add native profiler menu entries.
1294
15df6fa4
GM
1295 * profiler.el (profiler-running-p): New function.
1296 (profiler-cpu-profile): Use profiler-running-p.
1297 (profiler-report-mode-map): Add some more menu entries.
1298
c4d1e0c3
GM
12992013-01-19 Glenn Morris <rgm@gnu.org>
1300
1301 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1302 fixes 2012-12-07 change. (Bug#13499)
1303
795e7a5b 13042013-01-19 Leo Liu <sdl.web@gmail.com>
2fc71e3c
LL
1305
1306 * dired.el (dired-get-marked-files): Prune erroneous values due to
1307 last change. (Bug#13152)
1308
795e7a5b 13092013-01-19 Glenn Morris <rgm@gnu.org>
19503d5a
GM
1310
1311 * progmodes/etags.el (tags-table-check-computed-list):
1312 Preserve point in tags buffer. (Bug#13412)
1313
f8a42ad6
GM
1314 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1315
20de6ab6
CW
13162013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1317 Chong Yidong <cyd@gnu.org>
1318
b2dc4f52
SM
1319 * image-mode.el (image-next-file, image-previous-file):
1320 New commands (Bug#8453).
20de6ab6
CW
1321 (image-mode-map): Bind them to n and p.
1322 (image-mode--images-in-directory): New helper function.
1323
2a43515a
CY
13242013-01-19 Chong Yidong <cyd@gnu.org>
1325
1326 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1327 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1328 save and restore the old window configuration.
1329
b1170947
LL
13302013-01-18 Leo Liu <sdl.web@gmail.com>
1331
1332 * progmodes/js.el: Tweak autoload cookie for alias.
1333
0eb87688
MA
13342013-01-17 Michael Albinus <michael.albinus@gmx.de>
1335
1336 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1337 buffer local, again. This was lost with the fix on 2013-01-12.
1338
99d36ea8
JH
13392013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1340
1341 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1342 order to support several eshell buffers in parallel.
1343
68a08a32
MA
13442013-01-17 Michael Albinus <michael.albinus@gmx.de>
1345
1346 * autorevert.el (auto-revert-use-notify): In the :set function, do
1347 not modify `kill-buffer-hook'.
b2dc4f52
SM
1348 (auto-revert-notify-rm-watch):
1349 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
68a08a32
MA
1350 (auto-revert-notify-add-watch): Do not call
1351 `auto-revert-notify-rm-watch', but add it to a buffer local
1352 `kill-buffer-hook'.
1353
e59eee43
SM
13542013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1355
1356 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1357 call to `eval' rather than a backquoted lambda.
1358
6e8cd0ae
SM
13592013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1360
cb9c0a53
SM
1361 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1362 to return an explicit nil.
1363 (advice--remove-function): Change accordingly.
1364
1365 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1366 the use of nadvice.el.
1367
6e8cd0ae
SM
1368 * progmodes/which-func.el (which-function): Silence imenu errors
1369 (bug#13433).
1370
4586ce8a
MM
13712013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1372
6e8cd0ae 1373 * progmodes/sql.el: (sql-imenu-generic-expression):
4586ce8a
MM
1374 (sql-mode-font-lock-object-name): Match schema qualified names.
1375 (sql-connect): Use string keys.
1376 (sql-product-interactive): Wait for interpreter prompt.
1377 (sql-comint-oracle): Set process coding based on NLS_LANG.
1378
9d55215c
MM
13792013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1380
1381 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
1382 (sql-interactive-remove-continuation-prompt):
1383 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 1384
57dd9e68
LL
13852013-01-14 Leo Liu <sdl.web@gmail.com>
1386
1387 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1388 (Bug#13420)
1389
51e73492
GM
13902013-01-14 Glenn Morris <rgm@gnu.org>
1391
1392 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1393 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1394
c0511b57 13952013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 1396
6e8cd0ae
SM
1397 * progmodes/python.el (python-nav-end-of-statement):
1398 Fix cornercase when handling multiline strings.
50620051 1399
4c0a6d4a
RS
14002013-01-13 Richard Stallman <rms@gnu.org>
1401
9f7e86ef
RS
1402 * mail/sendmail.el (mail-position-on-field): Add doc string.
1403
6e8cd0ae
SM
1404 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1405 Get current message boundaries and pass them to
4c0a6d4a
RS
1406 message-forward-make-body-mime. Minor style changes.
1407
ad33a799
EZ
14082013-01-13 Eli Zaretskii <eliz@gnu.org>
1409
1410 * cus-start.el (all): Avoid warnings about
6e8cd0ae 1411 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 1412
616763d5
JD
14132013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1414
1415 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1416
e5b5a34d
SM
14172013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1418
1419 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1420 (jit-lock--debug-fontifying): New var.
1421 (jit-lock--debug-fontify): New function.
1422 * subr.el (condition-case-unless-debug): Don't prevent catching the
1423 error, just let the debbugger run.
1424 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1425 timer code and don't drop errors silently.
1426
2daddd9e
MA
14272013-01-12 Michael Albinus <michael.albinus@gmx.de>
1428
1429 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1430 `permanent-local' property.
71c661e4 1431 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 1432
86fbb162
EZ
14332013-01-12 Eli Zaretskii <eliz@gnu.org>
1434
1435 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1436 file notification by ACTION. For filtering by file name, compare
1437 only the non-directory part of the file name.
1438
a0784609
SM
14392013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1440
96c421bb
SM
1441 * autorevert.el: Use cl-lib instead of cl.
1442
a0784609
SM
1443 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1444 (vc-bzr-checkin): Use it.
1445 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1446 will preserve match-data.
1447
f90ff906 14482013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 1449
f90ff906
FD
1450 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1451 (js--declaration-keyword-re): New var.
1452 (js--multi-line-declaration-indentation): New function.
1453 (js--proper-indentation): Use it.
9fc9a531 1454
f90ff906 14552013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 1456
f90ff906
FD
1457 * calc/calc.el (calc-highlight-selections-with-faces)
1458 (calc-dispatch):
1459 * comint.el (comint-history-isearch-message):
1460 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
1461 * ffap.el (ffap-string-at-point-region, ffap-next)
1462 (ffap-string-at-point, ffap-string-around)
1463 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 1464 (ffap-literally):
9fc9a531 1465 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
1466 (font-lock-removed-keywords-alist):
1467 * help-mode.el (help-xref-symbol-regexp):
1468 * info.el (Info-find-emacs-command-nodes):
1469 * international/mule.el (add-to-coding-system-list):
1470 * isearch.el (isearch-message-function, isearch-fail-pos):
1471 * misearch.el (multi-isearch-next-buffer-function):
1472 * newcomment.el (comment-box):
9fc9a531 1473 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 1474 (pr-setting-database):
9fc9a531
AH
1475 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1476 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1477 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
1478 (pike-font-lock-keywords-3):
1479 * progmodes/compile.el (compile):
9fc9a531 1480 * progmodes/etags.el (tags-table-files)
f90ff906 1481 (tags-table-files-function, tags-included-tables-function):
9fc9a531 1482 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 1483 (gdb-restore-windows):
9fc9a531 1484 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
1485 (ps-n-up-filling-database):
1486 * server.el (server-buffer, server-log):
9fc9a531
AH
1487 * simple.el (newline, delete-backward-char, delete-forward-char)
1488 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 1489 (temporary-goal-column):
9fc9a531 1490 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
1491 (flyspell-default-deplacement-commands):
1492 * textmodes/ispell.el (ispell-accept-output):
1493 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 1494 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
1495 (compare-ignore-case, compare-windows-dehighlight):
1496 * vc/diff.el (diff):
9fc9a531
AH
1497 * whitespace.el (whitespace-point)
1498 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 1499 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 1500
65adfa20
MA
15012013-01-11 Michael Albinus <michael.albinus@gmx.de>
1502
1503 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1504 (auto-revert-notify-rm-watch): Ignore errors.
1505 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
1506 inotify, and '(size last-write-time) for w32notify.
1507 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
1508 watch fails - this is a fallback to the file modification check.
1509 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1510 (auto-revert-notify-event-action)
1511 (auto-revert-notify-event-file-name): New defuns.
1512 (auto-revert-notify-handler): Use them. Implement first
1513 plausibility checks.
1514 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1515
43b2e2e7
JD
15162013-01-11 Julien Danjou <julien@danjou.info>
1517
1518 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1519 max are almost equal. Also return the correct value for V which is
1520 already between 0 and 1.
1521
30818a23
DA
15222013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1523
1524 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1525
10e714d5
EZ
15262013-01-11 Eli Zaretskii <eliz@gnu.org>
1527
1528 * autorevert.el (auto-revert-notify-rm-watch)
1529 (auto-revert-notify-add-watch): Fix typos in w32notify function
1530 names.
1531
a778dd57
MA
15322013-01-10 Michael Albinus <michael.albinus@gmx.de>
1533
1534 * autorevert.el (auto-revert-notify-enabled): Move up.
1535 (auto-revert-use-notify): New defcustom.
1536 (auto-revert-mode, global-auto-revert-mode)
1537 (auto-revert-notify-add-watch, auto-revert-handler)
1538 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1539 `auto-revert-notify-enabled'.
1540
72781fef
EP
15412013-01-10 Elias Pipping <pipping@exherbo.org>
1542
1543 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1544 * doc-view.el (doc-view-document->bitmap):
1545 Use doc-view-single-page-converter-function instead of
1546 single-page-converter arg; adjust callers.
1547
e6ed8f08
FL
15482013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1549
1550 * progmodes/which-func.el (which-function): Understand Semantic's use
1551 of overlays in imenu--index-alist.
1552
327a6cca
WJ
15532013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1554
1555 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1556 (Man-man-k-use-anchor): New var.
1557 (Man-parse-man-k): New function.
1558 (Man-completion-table): Use it.
1559 (man): Flush the completion cache between uses.
1560
ed911257
MA
15612013-01-10 Michael Albinus <michael.albinus@gmx.de>
1562
1563 * autorevert.el: Add file watch support.
1564 (auto-revert-notify-enabled): New defconst.
1565 (auto-revert-notify-watch-descriptor-hash-list)
1566 (auto-revert-notify-watch-descriptor)
1567 (auto-revert-notify-modified-p): New defvars.
1568 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1569 (auto-revert-notify-handler): New defuns.
1570 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1571 when mode is disabled.
1572 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1573 (auto-revert-buffers): Add file watches for active buffers.
1574
58cc0a01
DA
15752013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1576
1577 * cus-start.el (toplevel): Only allow float values for
1578 scroll-up-aggressively and scroll-down-aggressively.
1579 Allow any number for line-spacing.
1580
bbc7ff25
SM
15812013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1582
1583 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1584 (doc-view-pdf->png-converter-function): Use mupdf if available.
1585 (doc-view-djvu->png-converter-function)
1586 (doc-view-ps->png-converter-function): Remove.
1587 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1588 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1589 (doc-view-already-converted-p): Adjust accordingly.
1590 (doc-view-mode-p): Simplify.
1591 (doc-view-enlarge): Use setq-local.
1592 (doc-view-pdf->png-converter-ghostscript)
1593 (doc-view-djvu->png-converter-ddjvu)
1594 (doc-view-pdf->png-converter-mupdf): Rework to call
1595 doc-view-start-process directly.
1596 (doc-view-pdf/ps->png): Simplify accordingly.
1597 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1598 (doc-view-document->bitmap): Rename from doc-view-document->png.
1599 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1600 (doc-view-set-slice-from-bounding-box): Fix completion table.
1601 (doc-view-mode): Use add-hook for after-revert-hook.
1602
3c855b96
GM
16032013-01-10 Glenn Morris <rgm@gnu.org>
1604
1605 * emacs-lisp/authors.el (authors-ignored-files)
1606 (authors-valid-file-names, authors-renamed-files-alist):
1607 Add some more entries.
1608
3f9549e8 16092013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
1610
1611 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1612 `t' pseudo-window entry.
1613
3f9549e8 16142013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
1615
1616 Fix bugs in the c-parse-state mechanism. Reuse some markers
1617 instead of continually generating new ones.
1618
1619 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1620 (c-state-old-cpp-end-marker): New variables.
1621 (c-append-lower-brace-pair-to-state-cache): Start a backward
1622 search for "}" definitively outside CPP constructs.
1623 (c-remove-stale-state-cache): Inform the caller of a need to
1624 search back for a brace pair in certain circumstances.
1625 (c-state-maybe-marker): New macro.
1626 (c-parse-state): Reuse markers when appropriate.
1627
3f9549e8 16282013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
1629
1630 * simple.el (execute-extended-command): Doc fix.
1631 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1632
3f9549e8 16332013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
1634
1635 * faces.el (read-face-name): Doc fix.
1636
b14abca9
RW
16372013-01-10 Roland Winkler <winkler@gnu.org>
1638
1639 * emacs-lisp/crm.el: Allow any regexp for separators.
1640 (crm-default-separator): All spaces around the default comma separator.
1641 (crm--completion-command): New macro.
1642 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1643 (crm-complete-and-exit): Handle non-single-char separators.
1644
2b541f9a
EP
16452013-01-09 Elias Pipping <pipping@lavabit.com>
1646
1647 * doc-view.el: Add support for DjVu (bug#13164).
1648 (doc-view-djvu->png-converter-function): New config var.
1649 (doc-view-single-page-converter-function, doc-view--image-type)
1650 (doc-view--image-file-extension): New vars.
1651 (doc-view-mode): Initialize them.
1652 (doc-view-goto-page): Use them.
1653 (doc-view-mode-p): Add support for ddjvu.
1654 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1655 (doc-view-set-up-single-converter): New funs.
1656 (doc-view-pdf/ps->png): Extend for djvu.
1657 (doc-view-document->png): Rename from doc-view-pdf->png.
1658 (doc-view-convert-current-doc): Handle djvu.
1659 (doc-view-insert-image, doc-view-display)
1660 (doc-view-already-converted-p): Don't hardcode png.
1661 (doc-view-set-doc-type): Recognize djvu docs.
1662
85f17e35
EP
16632013-01-09 Elias Pipping <pipping@lavabit.com>
1664
1665 * doc-view.el: Add support for mupdf converter (bug#13164).
1666 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1667 (doc-view-ps->png-converter-function): New config vars.
1668 (doc-view-pdf->png-converter-ghostscript)
1669 (doc-view-ps->png-converter-ghostscript)
1670 (doc-view-pdf->png-converter-mupdf): New functions.
1671 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1672
ccd04887
MA
16732013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1674
1675 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1676 first in session cache: When `tramp-own-remote-path' is in
1677 `tramp-remote-path', the remote path is only set in the session
1678 cache.
1679
c5ad92de
GM
16802013-01-09 Glenn Morris <rgm@gnu.org>
1681
fb9f7146
GM
1682 * emacs-lisp/trace.el (trace-function-foreground)
1683 (trace-function-background): Doc fix.
c5ad92de 1684
39a0786e
JL
16852013-01-09 Juri Linkov <juri@jurta.org>
1686
1687 * international/mule-cmds.el (read-char-by-name): Move let-binding
1688 of completion-ignore-case around completing-read to fix regression
1689 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1690 `string-match-p' using the nil value of `case-fold-search' and
1691 `completion-ignore-case' in `completion-pcm--all-completions'.
1692 (Bug#12615).
1693
fb9f7146 16942013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
1695
1696 * progmodes/compile.el (compilation-parse-errors):
1697 Fix typo. (Bug#13369)
1698
fb9f7146 16992013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
1700
1701 * comint.el (comint-send-input): Check size of buffer before
1702 waiting for process output, in case already accepted. (Bug#13290)
1703
677d5c92
PE
17042013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1705
1706 Spelling fixes.
1707 * net/tramp-adb.el (tramp-adb-get-toolbox):
1708 Fix misspelling of 'unknown'.
1709
073ca75b
JL
17102013-01-08 Juri Linkov <juri@jurta.org>
1711
1712 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1713 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1714 Use underline style wave on terminals that support it. (Bug#13000)
1715
a4648137
SM
17162013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1717
4bdc3526
SM
1718 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1719 the predicate returns nil.
1720
a4648137
SM
1721 * simple.el: Use lexical-binding.
1722 (primitive-undo): Use pcase.
1723 (minibuffer-history-isearch-push-state): Use a closure.
1724
3bace969
AH
17252013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1726
1727 * simple.el (primitive-undo): Move from undo.c.
1728
a731fc1b
SM
17292013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1730
1c851e98
SM
1731 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1732 (cvs-mode-remove-handled): Use it (bug#13380).
1733
a731fc1b
SM
1734 * emacs-lisp/nadvice.el (advice--tweak): New function.
1735 (advice--remove-function, advice--subst-main): Use it.
1736
1737 * emacs-lisp/advice.el: Update commentary.
1738
2a22c83b
MA
17392013-01-08 Michael Albinus <michael.albinus@gmx.de>
1740
a731fc1b
SM
1741 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1742 Remove spurious entry.
2a22c83b 1743
83c1803a
GM
17442013-01-08 Glenn Morris <rgm@gnu.org>
1745
1746 * net/tramp.el (tramp-default-host-alist): Add :version.
1747
8a2e287c
JL
17482013-01-08 Juri Linkov <juri@jurta.org>
1749
1750 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1751 single completion. (Bug#12456)
1752 (info--manual-names): Expand node completions into an explicit list
1753 before appending it to another list. Filter out internal buffers
1754 with the leading space in the buffer name. (Bug#10771)
1755
c6a22ce2
JL
17562013-01-08 Juri Linkov <juri@jurta.org>
1757
1758 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1759 that defaults to the Top node.
1760 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1761 the short format (FILENAME) goes to the Top node.
1762 (Info-build-node-completions): Rename arg `file' to `filename'.
1763 (Bug#13365)
1764
acfe10b7
BG
17652013-01-07 Bastien Guerry <bzg@gnu.org>
1766
a731fc1b
SM
1767 * menu-bar.el (menu-bar-search-documentation-menu):
1768 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
1769
17702013-01-07 Bastien Guerry <bzg@gnu.org>
1771
1772 * apropos.el (apropos-do-all): Update docstring.
1773 (apropos-user-option-button): New face.
1774 (apropos-user-option): Rename from `apropos-variable' and update
1775 docstring.
1776 (apropos-variable): Rewrite, now show all variables by default.
1777 (apropos-print): Mention "User option" instead of "Variable" when
1778 printing doc for user options. (Bug#13276)
1779
62bcf670
JH
17802013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1781
1782 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1783 Handle filename correctly, when parsing "source -> target" symlink
1784 output.
1785 (tramp-adb-handle-set-file-times): New defun.
1786
4986fa21
SM
17872013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1788
1789 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1790 advice list when the interactive-spec of ad-Advice-* changes.
1791
3bee311e
KY
17922013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1793
1794 * wid-edit.el (widget-default-get): Work for inlined elements.
1795 (Bug#12670)
1796
b49eebcc
MA
17972013-01-07 Michael Albinus <michael.albinus@gmx.de>
1798
1799 * net/tramp.el (tramp-default-host-alist): New defcustom.
1800 (tramp-find-host): Use it.
4986fa21 1801 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
1802 `eshell-directory-change-hook'.
1803
1804 * net/tramp-adb.el (top): Add adb specific entry in
1805 `tramp-default-host-alist'.
1806 (tramp-adb-file-name-host): Remove function.
1807 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1808 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1809
3bee311e 1810 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 1811
84f6744a
JH
18122013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1813
1814 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1815
b6cfbcd0
MA
18162013-01-06 Michael Albinus <michael.albinus@gmx.de>
1817
1818 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 1819 consist of more than one digit.
4986fa21
SM
1820 (tramp-adb-file-name-handler-alist):
1821 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
1822 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1823 (tramp-adb-handle-file-exists-p): Remove function.
1824 (tramp-adb-file-name-host): New defun.
1825 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1826 Use it.
1827 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1828
58ba7b1b
CY
18292013-01-06 Chong Yidong <cyd@gnu.org>
1830
1831 * vc/vc.el (vc-next-action): Detect buffer modifications
1832 conflicting with locking VCS operation (Bug#11490).
1833
1834 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1835
f4566fe9
MA
18362013-01-05 Michael Albinus <michael.albinus@gmx.de>
1837
1838 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1839 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1840
838cf298
MA
18412013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1842
1843 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1844 parsing of ls output using regular expression (handle filenames
1845 with spaces). Use virtual device number.
1846 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1847 cleanup).
1848
1bd71e9f
DU
18492013-01-04 Daiki Ueno <ueno@gnu.org>
1850
1851 * epg.el: Silence byte-compiler warnings.
1852 (epg--start): Use delete-char instead of delete-backward-char.
1853 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1854
00cd4c1c
DU
18552013-01-04 Daiki Ueno <ueno@gnu.org>
1856
1857 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1858 Suggested by Eli Zaretskii <eliz@gnu.org>.
1859
f99ced35
MA
18602013-01-04 Michael Albinus <michael.albinus@gmx.de>
1861
1862 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1863 non-negative integers. Otherwise, the default values are used.
1864 (tramp-convert-file-attributes): Convert uid and gid to integers.
1865
0f668a4d 18662013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 1867
d2be4dcc
GM
1868 * term.el (term-handle-colors-array): Ensure face attributes
1869 are fully specified, not nil. (Bug#13337)
1870
5b00b749
GM
1871 * term.el (term-default-fg-color, term-default-bg-color):
1872 Fix custom type.
1873
220740a3
GM
1874 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1875 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1876 rather than 'jka-compr being loaded. (Bug#13338)
1877
bdd9367d
WD
18782013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1879
1880 * icomplete.el (icomplete-completions):
1881 Honor icomplete-prospects-height once more following
1882 2012-11-29 changes. (Bug#13224)
1883
96dd18b1
SM
18842013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1885
c0bd248c
SM
1886 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1887 of called-interactively-p as well (bug#13237).
1888
4a74c818
SM
1889 * view.el (view--enable, view--disable): Rename from view-mode-enable
1890 and view-mode-disable and assume it's called from view-mode.
1891 (view-mode-enable, view-mode-disable): Redefine as obsolete
1892 compatibility layer above view-mode.
1893 (view-mode-enter): Call `view-mode'.
1894
1895 * files.el (after-find-file): Call `view-mode'.
1896
96dd18b1
SM
1897 * doc-view.el (doc-view-scale-internally): New var.
1898 (doc-view-enlarge, doc-view-insert-image): Obey it.
1899
c2cf1829
DU
19002013-01-03 Daiki Ueno <ueno@gnu.org>
1901
1902 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1903 exist. (Bug#13344)
1904
ad235a8b
GM
19052013-01-03 Glenn Morris <rgm@gnu.org>
1906
a8aa6c2d
GM
1907 * mail/rmail.el (rmail-set-header-1): Ignore case.
1908 Handle multi-line headers. (Bug#13330)
1909
a6d6c20b
GM
1910 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1911 Handle paragraph starting at beginning of buffer.
1912
ed5bdeb9
GM
1913 * subr.el (eval-after-load): Don't purecopy the form, so that it
1914 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1915
ad235a8b
GM
1916 * emacs-lisp/byte-run.el (defun): Place cl declarations
1917 after any interactive spec. (Bug#13265)
1918
9539d465 19192013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
1920
1921 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1922 defun. Don't check for DECL if DOCSTRING isn't a string.
1923 (defun): Likewise.
1924
9539d465 19252013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 1926
5ee1772e
GM
1927 * eshell/em-cmpl.el (eshell-pcomplete):
1928 More thoroughly imitate pcomplete. (Bug#13293)
1929
4cddca30
GM
1930 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1931 Return nil for empty path elements. (Bug#13296)
1932
9539d465 19332013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
1934
1935 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1936 order to improve efficiency (Based on Daniel Colascione's
1937 <dancol@dancol.org> patch). (Bug#13182)
1938
9539d465 19392013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
1940
1941 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1942
9539d465 19432013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
1944
1945 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1946 neither DOCSTRING nor DECL was given. (Bug#13316)
1947
aca3d51d
MA
19482013-01-02 Michael Albinus <michael.albinus@gmx.de>
1949
1950 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1951 `error' call.
1952 (tramp-do-copy-or-rename-file): Ignore errors when calling
1953 `set-file-extended-attributes'.
1954
4986fa21
SM
1955 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1956 Add handler for `file-acl'.
aca3d51d
MA
1957 (tramp-smb-handle-file-acl): New defun.
1958
87e65f96
JB
19592013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1960
1961 * calc/README: Mention ISO 8601 week-numbering dates.
1962
0aac98ac
MR
19632013-01-01 Martin Rudalics <rudalics@gmx.at>
1964
1965 * view.el (view-mode-enable): New argument run-view-mode-hook.
1966 Run view-mode-hook only when it's non-nil (Bug#13315).
1967 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1968 argument t.
1969
1a82330c
JH
19702012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1971
1972 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1973 (No device connected, invalid device name). (Bug #13299)
1974
27fcfe31
MR
19752012-12-31 Martin Rudalics <rudalics@gmx.at>
1976
1977 * window.el (window-resizable--p): Rename to window-resizable-p.
1978 (window-resize-no-error): New function.
1979
1980 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1981 broken in fix from 2012-12-28.
1982
96c052a5
SM
19832012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1984
1985 * subr.el (special-form-p): Don't signal errors on undef aliases.
1986
fd1f1603
JB
19872012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1988
1989 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
1990 `math-parse-iso-date' when it looks like it might be needed.
1991 Allow times of 24:00.
fd1f1603
JB
1992 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1993 of 24:00.
1994
8db39aeb
GM
19952012-12-30 Glenn Morris <rgm@gnu.org>
1996
1997 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1998 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1999 (rmail-summary-displayed, rmail-summary): Declare.
2000 (mairix-rmail-display): Just require rmail.
2001
d5e5e7b4 20022012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
2003
2004 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
2005 check for the tarball contents.
2006
d5e5e7b4 20072012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
2008
2009 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
2010 tarfile content listings (Bug#13136).
2011
d5e5e7b4 20122012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 2013
96c052a5
SM
2014 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2015 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 2016
4f752957
MA
20172012-12-30 Michael Albinus <michael.albinus@gmx.de>
2018
3ee24a3b
MA
2019 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
2020 integers, if they are real numbers. (Bug#13282)
2021
4f752957
MA
2022 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
2023 Return `t' on success.
2024
96c052a5
SM
2025 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2026 Add handler for `set-file-selinux-context'.
4f752957 2027
eff2eb58
MA
20282012-12-29 Michael Albinus <michael.albinus@gmx.de>
2029
2030 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
2031 (tramp-sh-handle-set-file-acl): Return `t' on success.
2032
ccad023b
EZ
20332012-12-29 Eli Zaretskii <eliz@gnu.org>
2034
96c052a5
SM
2035 * files.el (backup-buffer-copy, basic-save-buffer-2):
2036 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 2037 instead of signaling an error. (Bug#13298)
7e56b103 2038 (basic-save-buffer): Likewise.
ccad023b 2039
ccb1c17e
FEG
20402012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2041
2042 * progmodes/python.el: Support other commands triggering
2043 python-indent-line so indentation cycling continues to work.
2044 (python-indent-trigger-commands): New defcustom.
2045 (python-indent-line): Use it.
2046
16768034
FEG
20472012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2048
2049 * progmodes/python.el (python-shell-send-region): Add blank lines
2050 for non sent code so backtraces remain correct.
2051
66164d2f
FEG
20522012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
2053
2054 * progmodes/python.el: Remove cl dependency.
2055 (python-syntax-count-quotes): Replace incf call.
2056 (python-fill-string): Replace setf call.
2057
761231d1
DC
20582012-12-29 Damien Cassou <damien.cassou@gmail.com>
2059
43ebd12b 2060 * info.el (info-other-window): New arg, for consistency with info.
761231d1 2061
7c3e220a
MR
20622012-12-28 Martin Rudalics <rudalics@gmx.at>
2063
96c052a5
SM
2064 * mail/rmail.el (rmail-maybe-display-summary):
2065 Rewrite (Bug#13066).
7c3e220a 2066
361828b5
AS
20672012-12-28 Andreas Schwab <schwab@linux-m68k.org>
2068
2069 * epg.el (epg--start): Modify process-environment locally.
2070
23bd348c
DU
20712012-12-28 Daiki Ueno <ueno@gnu.org>
2072
2073 * epg.el: Support pinentry-curses.
2074 Suggested by Werner Koch in
2075 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
2076 (epg-agent-file, epg-agent-mtime): New variable.
2077 (epg--start): Record the modified time of gpg-agent socket file,
2078 to restore Emacs frame after pinentry-curses termination.
2079 (epg-wait-for-completion): Restore Emacs frame here.
2080
313f39aa
JL
20812012-12-27 Juri Linkov <juri@jurta.org>
2082
2083 * info.el (Info-file-completions): New variable.
2084 (Info-read-node-name-1): Complete node names in the Info file
2085 when a file name is given. Call `Info-build-node-completions'
2086 with a file name.
2087 (Info-build-node-completions): Add new arg `file'. When it is
2088 non-nil, visit it in a temporary buffer and cache its completions in
2089 `Info-current-file-completions'. Move most of the function body to
2090 `Info-build-node-completions-1'.
2091 (Info-build-node-completions-1): New function with the body from
2092 `Info-build-node-completions'. (Bug#12456)
2093
a45b7647
JL
20942012-12-27 Juri Linkov <juri@jurta.org>
2095
2096 * frame.el (frame-maximization-style): Remove user option.
2097 (cycle-frame-maximized): Remove function.
2098 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
2099 (toggle-frame-fullscreen): New command bound to <f11> instead of
2100 `toggle-frame-maximized'.
2101 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
2102
10ffd0be
MA
21032012-12-27 Michael Albinus <michael.albinus@gmx.de>
2104
2105 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
2106
2107 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2108 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2109 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2110 for `file-accessible-directory-p'. (Bug#13275)
2111
fd146719
SS
21122012-12-27 Sam Steingold <sds@gnu.org>
2113
2114 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2115 continuations, see <http://stackoverflow.com/questions/3582436>.
2116
82e2a1f0 21172012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
2118
2119 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
2120 "module" and "def" to have indentation before them.
2121 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 2122
ea0857a1
DG
2123 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2124
82e2a1f0 21252012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
2126
2127 Speed up fontification where there's large brace blocks.
2128 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2129 to a call of c-beginning-of-decl-1.
2130
c34339f3
VS
21312012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2132
2133 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
2134 (comint-postoutput-scroll-to-bottom):
2135 Call comint-adjust-window-point (Bug#13248).
c34339f3 2136
78269b95
DG
21372012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2138
2139 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2140 Rakefile regexp.
2141 (auto-mode-alist): Associate .gemspec files with ruby-mode
2142 (https://bugs.ruby-lang.org/issues/5453).
2143
bd8c13f9
JH
21442012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2145
96c052a5
SM
2146 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2147 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 2148 CyanogenMod).
bd8c13f9
JH
2149 (tramp-adb-handle-file-attributes)
2150 (tramp-adb-handle-insert-directory)
2151 (tramp-adb-handle-file-name-all-completions): Use it.
2152 (tramp-adb-get-toolbox): New defun. Check for remote shell
2153 implementation (BusyBox or Toolbox).
2154
dc646358
CK
21552012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2156
2157 * startup.el (initial-buffer-choice): Allow function as value
2158 (Bug#13251).
2159 (command-line-1): Handle case where initial-buffer-choice
2160 specifies a function.
2161 * server.el (server-execute): Handle case where
2162 initial-buffer-choice specifies a function.
2163
e7d52a4d
LI
21642012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2165
2166 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2167 its own function.
2168 (smtpmail-try-auth-methods): Forget the user name/password if the
2169 login is unsuccessful (bug#12424).
2170
cdb07539
MA
21712012-12-22 Michael Albinus <michael.albinus@gmx.de>
2172
1ef5f225
MA
2173 * notifications.el (notifications-notify): Protect body with
2174 `with-demoted-errors'.
2175
96c052a5
SM
2176 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2177 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
2178 change.
2179
594f37aa
CY
21802012-12-21 Chong Yidong <cyd@gnu.org>
2181
2182 * sort.el (sort-subr): Doc fix (Bug#13056).
2183
a4b0cca1 21842012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 2185
acc650b8
BG
2186 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2187
0e9c7693
MA
21882012-12-21 Michael Albinus <michael.albinus@gmx.de>
2189
2190 * simple.el (process-file): Overwrite stderr file, if exists.
2191
c6609164
DU
21922012-12-21 Daiki Ueno <ueno@gnu.org>
2193
2194 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 2195 (epg-error): Set `error-message' property.
c6609164 2196
aa26f345
CY
21972012-12-21 Chong Yidong <cyd@gnu.org>
2198
34b4b7eb
CY
2199 * international/mule-cmds.el (read-char-by-name): Signal an error
2200 if the user does not supply a valid character (Bug#13177).
2201
aa26f345
CY
2202 * simple.el (transpose-subr-1): Preserve marker positions by
2203 changing the insertion sequence (Bug#13122).
2204
05c22d87
KD
22052012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2206
2207 * simple.el (kill-region): Deactivate mark even for empty regions
2208 (Bug#13169).
2209
f5733f87
CY
22102012-12-21 Chong Yidong <cyd@gnu.org>
2211
2212 * help-fns.el (describe-variable): Make sure we get the right
2213 buffer name (Bug#13105). Suggested by Kelly Dean.
2214
fab6916d
MM
22152012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2216
2217 * comint.el (comint-redirect-previous-input-string): New variable.
2218 (comint-redirect-setup, comint-redirect-cleanup)
2219 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2220 (comint-redirect-preoutput-filter): Fix verbose message.
2221
91b982a0
MA
22222012-12-20 Michael Albinus <michael.albinus@gmx.de>
2223
2224 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2225 is too long for Tramp. See discussion in
2226 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2227
2228 * progmodes/compile.el (compilation-start): Remove line escape
2229 template.
2230
87523aed
DA
22312012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2232
2233 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2234 Adjust comment.
2235
ee3c0aec
JB
22362012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2237
2238 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2239 following non-comment text (bug#13207).
2240 (lm-header-multiline): Continuation lines need to be indented more than
2241 the first line.
2242 (lm-homepage): New function.
2243 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 2244
4a74c818
SM
22452012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2246
f4d79bd0
SM
2247 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2248 very beginning of a hunk (e.g. killing the first line).
2249
3c532af6
MA
22502012-12-19 Michael Albinus <michael.albinus@gmx.de>
2251
2252 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2253 and text properties from returned ACL string.
2254 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2255 for "setfacl" command.
2256
e0d01ef3
MA
22572012-12-18 Michael Albinus <michael.albinus@gmx.de>
2258
2259 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2260 `tramp-cleanup-this-connection', when the process has died.
2261 (Bug#13151)
2262
2387610d
SM
22632012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2266
19156242
KR
22672012-12-17 Kevin Ryde <user42@zip.com.au>
2268
2269 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2270
53b6a8b1
MA
22712012-12-17 Michael Albinus <michael.albinus@gmx.de>
2272
2273 Add support for preserving ACL entries of files.
2274
2275 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2276 `set-file-acl' handlers.
2277
19156242
KR
2278 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2279 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 2280
19156242
KR
2281 * net/tramp-compat.el (tramp-compat-copy-file):
2282 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 2283
19156242
KR
2284 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2285 Add `file-acl' and `set-file-acl' handlers.
2286 (tramp-gvfs-handle-copy-file):
2287 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2288 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2289 New defuns.
53b6a8b1 2290
19156242
KR
2291 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2292 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
2293 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2294 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
2295 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2296 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 2297
19156242
KR
2298 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2299 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
2300 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2301
6ae57a67
KD
23022012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2303
2304 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 2305 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
2306 *Metahelp* with a leading space (Bug#13190).
2307
7c3d167f
RF
23082012-12-16 Romain Francoise <romain@orebokech.com>
2309
2310 * files.el (file-extended-attributes)
2311 (set-file-extended-attributes): New functions.
2312 (backup-buffer): Use them to handle both SELinux context and ACL
2313 entries.
2314 (backup-buffer-copy): Work with an alist of extended attributes,
2315 rather than an SELinux context.
2316 (basic-save-buffer-2): Ditto.
2317
19b748ad
TM
23182012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2319
2320 * battery.el (battery-bsd-apm): New function.
2321
70042c64
JB
23222012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2323
2324 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2325 standard date formats.
2326
279f9b06
JL
23272012-12-15 Juri Linkov <juri@jurta.org>
2328
2329 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2330 `isearch-insert-char-by-name'.
2331 (with-isearch-suspended): New defmacro with body mostly from
2332 `isearch-edit-string' except the part that sets
2333 `isearch-new-string' and `isearch-new-message'.
2334 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2335 body that sets `isearch-new-string' and `isearch-new-message'.
2336 (isearch-insert-char-by-name): New command.
2337 * international/mule-cmds.el (read-char-by-name): Let-bind
2338 `enable-recursive-minibuffers' to t.
2339 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2340
8370def5
JL
23412012-12-15 Juri Linkov <juri@jurta.org>
2342
2343 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2344 (Bug#13175)
2345
178fb95d
CS
23462012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2347
2348 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2349 the prompt. (Bug#13045)
2350
a5f74442
GM
23512012-12-14 Glenn Morris <rgm@gnu.org>
2352
2353 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2354 Try to include filename in non-bytecomp warning. (Bug#13132)
2355
97976f9f
PE
23562012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2357
2358 Fix permissions bugs with setgid directories etc. (Bug#13125)
2359 * files.el (backup-buffer): Don't rely on 9th output of
2360 file-attributes, as it's now a placeholder. Instead, use the new
2361 optional arg of file-ownership-preserved-p.
2362 (file-ownership-preserved-p): New optional arg GROUP.
2363 Fix mishandling of setuid directories that would cause this
2364 function to return t when it should have returned nil.
2365 Document what happens if the file does not exist, and when
2366 it's not known whether the ownership will be preserved.
2367 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2368 Likewise.
2369 (tramp-get-local-gid): Use group-gid for integer, as that's
2370 faster and more reliable.
2371
016b2a42
JD
23722012-12-14 Julien Danjou <julien@danjou.info>
2373
19156242
KR
2374 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2375 Update keywords list, data type and PL/pgSQL.
016b2a42 2376
665e5e07
DA
23772012-12-14 Dave Abrahams <dave@boostpro.com>
2378
2379 * vc/ediff-util.el (ediff-buffer-type): New function.
2380 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2381 rather than taking it as as argument.
2382 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2383
d72e9e92
RC
23842012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2385
2386 * json.el: Add pretty-print option (bug#12634).
2387 (json-encoding-separator, json-encoding-default-indentation)
2388 (json--encoding-current-indentation, json-encoding-pretty-print)
2389 (json-encoding-lisp-style-closings): New vars.
2390 (json--with-indentation): New macro.
2391 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2392 (json-encode-array): Use it to obey json-encoding-pretty-print.
2393 (json-pretty-print-buffer, json-pretty-print): New commands.
2394
dbb530d9
DG
23952012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2396
2397 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2398 Extract `ruby-syntax-propertize-expansions'.
2399 (ruby-syntax-propertize-expansions): Only change syntax on
2400 certain string delimiters, to punctuation. This way the common
2401 functions like forward-word and thing-at-point still work.
2402 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
2403 (ruby-block-contains-point): New function.
2404 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 2405
ce0440ff
JB
24062012-12-13 Juanma Barranquero <lekktu@gmail.com>
2407
2408 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2409 unload-feature finishes even when aborting an ongoing edebug session.
2410 Also, do not worry about edebug-mode, unload-feature takes care of it.
2411
f10331bf
AS
24122012-12-13 Andreas Schwab <schwab@suse.de>
2413
2414 * net/tls.el (tls-program): Update customize type.
2415
5f3a3bb1
JB
24162012-12-13 Juanma Barranquero <lekktu@gmail.com>
2417
2418 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2419 (edebug-setup-hook, cl-read-load-hooks): Use it.
2420 (edebug-unload-function): New function. (Bug#13163)
2421
6ce21463
MA
24222012-12-13 Michael Albinus <michael.albinus@gmx.de>
2423
2424 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2425 Otherwise, there could be errors in autoloading. (Bug#13151)
2426
d754b364
JH
24272012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2428
2429 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2430 sequences.
2431
727f9739 24322012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
2433
2434 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2435 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2436 around `forward-comment' not recognizing ^M as whitespace.
2437
727f9739 24382012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
2439
2440 * progmodes/python.el (python-skeleton-class)
2441 (python-skeleton-def): Do not add space after defun name.
2442
eb8006c6
SM
24432012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2444
2445 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2446 (cl--symbol-function): Remove (now that funbound is like nil).
2447
4c74b1e4
GM
24482012-12-12 Glenn Morris <rgm@gnu.org>
2449
2450 * button.el (button--area-button-p): Fix typo.
2451
37f38bca
SS
24522012-12-12 Sam Steingold <sds@gnu.org>
2453
2454 * frame.el (frame-maximization-style): New user option.
2455 (toggle-frame-maximized): Toggle frame maximization according to
2456 `frame-maximization-style', bound to <f11>.
2457 (cycle-frame-maximized): Cycle between all maximization styles and
2458 non-maximized frame, bound to shift-<f11>.
2459
fd49a218
DC
24602012-12-12 David Cadé <codename68@gmail.com>
2461
2462 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2463
69e1c203
JB
24642012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2465
2466 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2467 (eieio-override-prin1): Don't quote kewords and booleans.
2468 (object-write) <eieio-default-superclass>: Don't put closing parens
2469 on new line, avoid needless empty lines, align values that are objects
2470 with the slot keyword (instead of beginning on the same line).
2471 (eieio-list-prin1): Align value with slot keyword; increase
2472 eieio-print-depth before printing members of the list.
2473
4b0df848
SM
24742012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2475
030f4af5
SM
2476 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2477 a display text-property.
2478 (report-emacs-bug-hook): Don't bother deleting it any more.
2479
6ac1f8ca
SM
2480 * hilit-chg.el (highlight-save-buffer-state): Delete.
2481 Use with-silent-modifications instead.
2482 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2483
4b0df848
SM
2484 * button.el: Handle buttons in display text-properties.
2485 (button--area-button-p, button--area-button-string):
2486 Use (STRING . STRING-POS) representation instead of just STRING.
2487
d46d2d3a
EZ
24882012-12-11 Eli Zaretskii <eliz@gnu.org>
2489
2490 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2491 subdirectory be skipped.
2492
a0099d31
GM
24932012-12-11 Glenn Morris <rgm@gnu.org>
2494
36327e4f
GM
2495 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2496
a0099d31
GM
2497 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2498 Treat preprocessor lines embedded in continuations like comments.
2499 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2500
ff3f6c26
JB
25012012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2502
2503 * calc/calc.el (calc-standard-date-formats): Add more date
2504 formats.
2505 * calc/calc-forms.el (math-parse-iso-date): New function.
2506 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2507 (math-parse-iso-date-validate): Add extra error checking.
2508 (calc-date-notation): Add ability to access new date formats.
2509
ed6f2cd4
SM
25102012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2511
2512 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2513 font-lock as well as when there's no text-property.
2514
c868b919
J
25152012-12-10 Jambunathan K <kjambunathan@gmail.com>
2516
2517 * hi-lock.el: Refine the choice of default face.
2518 (hi-lock-keyword->face): New function. Use it wherever we used
2519 cadadadr instead.
2520 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2521 (hi-lock--last-face): Remove var.
2522 (hi-lock--unused-faces): New var to replace it.
2523 (hi-lock-read-face-name): Use/maintain it.
2524 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2525 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2526 if it has another face.
2527
2b8c9064
EZ
25282012-12-10 Eli Zaretskii <eliz@gnu.org>
2529
2530 * subr.el (w32notify-handle-event): New function.
2531 (inotify-handle-event): Doc fix.
2532
81606b10
RS
25332012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2534
2535 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2536
265c2fbf 25372012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
2538
2539 * simple.el (just-one-space): Doc fix.
2540
265c2fbf 25412012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 2542
c868b919 2543 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 2544
265c2fbf 25452012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
2546
2547 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2548 narrowed buffer (bug#12361).
2549
265c2fbf 25502012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
2551
2552 * vc/vc-hooks.el (vc-state): Doc fix.
2553
265c2fbf 25542012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
2555
2556 * mail/rmail.el (rmail-maybe-display-summary):
2557 Preserve buffer, in case select-window changes it. (Bug#13066)
2558
265c2fbf 25592012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
2560
2561 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2562 cl-load-hook where they belong.
2563
bad162fd
SM
25642012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2567
ca065258
EZ
25682012-12-09 Eli Zaretskii <eliz@gnu.org>
2569
2570 Parallelize byte compilation on MS-Windows.
2571 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 2572 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
2573 (WINS_BASIC): Define as concatenation of the above.
2574 (compile): Subdivide into 4 separate and independent jobs that can
2575 be run in parallel.
2576 (compile0-CMD, compile0-SH): New targets for compiling
2577 COMPILE_FIRST files, which are prerequisites for the rest of the
2578 byte-compilation.
bad162fd
SM
2579 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2580 New targets for parallel compilation with cmd.exe.
ca065258
EZ
2581 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2582 compiling under a Unixy shell.
2583
5dea55d2
CY
25842012-12-09 Chong Yidong <cyd@gnu.org>
2585
2586 * simple.el (set-mark-default-inactive): Delete this
2587 accidentally-introduced option.
2588 (set-mark-command, exchange-point-and-mark): Remove calls.
2589
c6c08d3f
GM
25902012-12-09 Glenn Morris <rgm@gnu.org>
2591
2592 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2593 Respect a defcustom's :set function, if appropriate. (Bug#109)
2594 (eval-defun): Doc fix.
2595
858aab4c
JL
25962012-12-08 Juri Linkov <juri@jurta.org>
2597
2598 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2599 (Info-fontify-node, Info-bookmark-make-record): Remove the
2600 file extension from Info-current-file (Bug#13016).
2601
2e4ad7e5
SM
26022012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2603
2604 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2605 point, still provide some default.
2606 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2607 names, since we don't use it right now. Actually return the list.
2608 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2609
75498db0
CY
26102012-12-07 Chong Yidong <cyd@gnu.org>
2611
ffe7ba8f
CY
2612 * novice.el (disabled-command-function): Remove a spurious help
2613 xref (Bug#13043). Suggested by Kelly Dean.
2614
454eb095
CY
2615 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2616 syntax is specified (Bug#13025).
2617
75498db0
CY
2618 * info.el (Info-set-mode-line): Remove the file extension from
2619 Info-current-file if there is one (Bug#13016).
2620
13a40633
GM
26212012-12-07 Glenn Morris <rgm@gnu.org>
2622
54c8b5ba
GM
2623 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2624 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2625 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2626 and rmail-mime-decoded. (Bug#9841)
2627
13a40633
GM
2628 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2629 (batch-unrmail, unrmail): Doc fixes.
2630 (unrmail): Respect unrmail-mbox-format.
2631 * mail/rmail.el (rmail-mbox-format): New option.
2632 (rmail-show-message-1): Respect rmail-mbox-format.
2633
4611a3cc
SM
26342012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2635
2636 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2637
1812c724
SM
26382012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2639
338bfefa
SM
2640 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2641 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2642 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2643 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2644 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2645 (cl-progv): Don't rely on dynamic scoping to find the body.
2646 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2647 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2648 (cl-declaim): Use backquotes.
2649 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2650 Use "cl--" prefix for the object's tag.
2651
1812c724
SM
2652 * ses.el: Use advice-add/remove.
2653 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2654 (copy-region-as-kill, yank): Use advice-add.
2655 (ses-unload-function): Use advice-remove.
2656
24fc9480
JB
26572012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2658
2659 * button.el: Make them work in header-lines (bug#12817).
2660 (button-map): Add bindings for header-line and mode-line use.
2661 (button-get, button-put, button-label): `button' may now be a string.
2662 (button-activate): Don't make it a defsubst.
2663 (button--area-button-p, button--area-button-string): New functions.
2664 (make-text-button): Fix the return value when `beg' was a string.
2665 (push-button): Handle the mode-line case.
2666
853c1ffc
SM
26672012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2668
93852cb0
SM
2669 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2670 (sql-signum): Remove. Use `cl-signum' instead.
2671 (sql-read-passwd): Remove; use read-passwd instread.
2672 (sql-get-login-ext): Use read-string.
2673 (sql-get-login): Use dolist and pcase.
2674 (sql--completion-table): Rename from sql-try-completion.
2675 Use complete-with-action.
2676 (sql-mode): Don't change abbrev-all-caps globally.
2677 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2678 (sql-postgres-completion-object): Initialize vars in their `let'.
2679 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2680 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2681 (sql-comint-interbase): Use a single append, without setq.
2682 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2683
853c1ffc
SM
2684 * hi-lock.el: Rework the default face and the serialize regexp code.
2685 (hi-lock--auto-select-face-defaults): Remove.
2686 (hi-lock-string-serialize-serial): Remove.
2687 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2688 make weak.
2689 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2690 equal string.
2691 (hi-lock-set-pattern): Adjust accordingly.
2692 (hi-lock--regexps-at-point): Simplify accordingly.
2693 (hi-lock--auto-select-face-defaults): Remove.
2694 (hi-lock--last-face): New var to replace it.
2695 (hi-lock-read-face-name): Rewrite (bug#11095).
2696 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2697
5504e2c7
MA
26982012-12-06 Michael Albinus <michael.albinus@gmx.de>
2699
853c1ffc
SM
2700 * net/tramp.el (tramp-replace-environment-variables):
2701 Hide compiler warning.
5504e2c7
MA
2702 (tramp-file-name-for-operation): Remove `executable-find',
2703 `start-process', `call-process' and `call-process-region'.
2704
853c1ffc 2705 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
2706
2707 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2708 compatibility.
2709
2710 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2711
e1d51545
CY
27122012-12-06 Chong Yidong <cyd@gnu.org>
2713
2714 * ffap.el (ffap-replace-file-component): Fix typo.
2715
d8ad4d3f 27162012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
2717
2718 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2719 fix open-paren-like token test (bug#12785).
2720
d8ad4d3f 27212012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
2722
2723 * mail/rmailsum.el (rmail-new-summary): Tweak for
2724 rmail-maybe-display-summary changing buffer. (Bug#13066)
2725
d8ad4d3f 27262012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
2727
2728 * info.el (Info-fontify-node): Don't hide the last newline.
2729 (Bug#12272)
2730
9ad948e2
KY
27312012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2732
2733 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2734 so as to enable message-read-from-minibuffer to expand mail aliases.
2735
4b5c89ee
SM
27362012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2737
2738 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2739 the `intangible' property.
2740 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2741
5602a53a
DD
27422012-12-05 Deniz Dogan <deniz@dogan.se>
2743
2744 * net/rcirc.el (rcirc-urls): Update documentation.
2745 (rcirc-condition-filter): New function.
2746 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2747 and exclude consecutive duplicate URLs (Bug#6082).
2748
51b890ac
MA
27492012-12-05 Michael Albinus <michael.albinus@gmx.de>
2750
d5f97f62
MA
2751 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2752 Check return code of copy command.
2753
853c1ffc
SM
2754 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2755 Use group `tramp'. Add version.
51b890ac 2756
04b14f2b
CY
27572012-12-05 Chong Yidong <cyd@gnu.org>
2758
a3680194
CY
2759 * ffap.el (ffap-url-regexp): Don't require matching at front of
2760 string (Bug#4952).
2761 (ffap-url-p): If only a substring matches, return that.
2762 (ffap-url-at-point): Use the return value of ffap-url-p.
2763 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2764 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2765 (ffap-guess-file-name-at-point): Likewise.
2766 (ffap-replace-file-component): Fix typo.
2767
04b14f2b
CY
2768 * info.el (info-display-manual): Add existing Info buffers, whose
2769 files may not be in Info-directory-list, to the completion.
2770 (info--manual-names): New helper function.
2771
49596095
GM
27722012-12-05 Glenn Morris <rgm@gnu.org>
2773
2774 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2775 New functions, for detecting and resolving conflicts. (Bug#10709)
2776
b85aec93
J
27772012-12-04 Jambunathan K <kjambunathan@gmail.com>
2778
2779 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2780 (hi-lock-auto-select-face-defaults): New buffer local variable.
2781 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2782 (hi-lock-unface-buffer): Prompt user with useful defaults.
2783 With prefix arg, unhighlight all hi-lock patterns in buffer.
2784
8515507f
SM
27852012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2786
2787 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2788
72cebfb7
MA
27892012-12-04 Michael Albinus <michael.albinus@gmx.de>
2790
2791 * Makefile.in (TRAMP_SRC):
2792 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2793
0ec3f7ea
JH
27942012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2795
2796 * net/tramp-adb.el: New package.
2797
770de7cf
CY
27982012-12-04 Chong Yidong <cyd@gnu.org>
2799
ce3e7725
CY
2800 * terminal.el: Move to obsolete/.
2801
770de7cf
CY
2802 * longlines.el: Move to obsolete/.
2803
2804 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2805 Remove code referring to longlines mode.
2806
c38a186c
JL
28072012-12-03 Juri Linkov <juri@jurta.org>
2808
2809 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2810
329bfd64
AM
28112012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2812
2813 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
2814 (ispell-start-process, ispell-internal-change-dictionary):
2815 Make sure personal dictionary name is expanded after initial
2816 `default-directory' value. Use expanded strings for
2817 keep/restart checks and for value (Bug#13019).
329bfd64 2818
77a74935
JB
28192012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2820
2821 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2822
c5bc2d1d 28232012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
2824
2825 * files.el (dir-locals-read-from-file): Check file non-empty
2826 before reading. (Bug#13038)
2827
c5bc2d1d 28282012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
2829
2830 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2831 Remove any version extension before checking filename. (Bug#13006)
2832 (jka-compr-compression-info-list): Belated :version bump.
2833
c5bc2d1d 28342012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 2835
8ecba97d
CY
2836 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2837
a5bf43ba
CY
2838 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2839 (buffer-menu): Doc fix (Bug#12294).
2840
c5bc2d1d 28412012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
2842
2843 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2844 of diary-show-all-entries in the diary buffer (Bug#12994).
2845
c5bc2d1d 28462012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
2847
2848 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2849 "<STDIN>". This is binary safe.
2850
682ceaf8
JB
28512012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2852
2853 * calc/calc-forms.el (math-absolute-from-iso-dt)
2854 (math-date-to-iso-dt, math-parse-iso-date-validate)
2855 (math-iso-dt-to-date): New functions.
2856 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2857 (math-fd-isoweekday): New variables.
2858 (calc-date-notation, math-parse-standard-date, math-format-date)
2859 (math-format-date-part): Add support for more formatting codes.
2860
db47d5e9
DG
28612012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2862
2863 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2864 current buffer's file name when called interactively (Bug#12488).
2865
3faf4944
JL
28662012-12-02 Juri Linkov <juri@jurta.org>
2867
2868 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 2869 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 2870
cb5d51dc
YN
28712012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2872
2873 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2874 before using it for comparison (Bug#5297).
2875
f38cd76e
JA
28762012-12-01 Jari Aalto <jari.aalto@cante.net>
2877
2878 * textmodes/css-mode.el (css-current-defun-name): New function.
2879 (css-mode): Use it.
2880
2881 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2882 (html-mode): Use it.
2883
ba03d0d9
CY
28842012-12-01 Chong Yidong <cyd@gnu.org>
2885
2886 Modularize add-log-current-defun (Bug#2224).
2887 Suggested by Jari Aalto.
2888
2889 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2890 (add-log-current-defun): Move mode-specific code to other files.
2891 (add-log-lisp-like-modes, add-log-c-like-modes)
2892 (add-log-tex-like-modes): Variables deleted.
2893
2894 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2895 (lisp-mode-variables): Use it.
2896
2897 * progmodes/cc-mode.el (c-common-init):
2898 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2899 add-log-current-defun-function.
2900
2901 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2902 (m4-mode): Use it.
2903
2904 * progmodes/perl-mode.el (perl-current-defun-name): New.
2905 (perl-mode): Use it.
2906
853c1ffc
SM
2907 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2908 Use lisp-current-defun-name.
ba03d0d9
CY
2909
2910 * textmodes/tex-mode.el (tex-current-defun-name): New.
2911 (tex-common-initialization): Use it.
2912
2913 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2914 (texinfo-mode): Use it.
2915
92eadba5
CY
29162012-12-01 Chong Yidong <cyd@gnu.org>
2917
2918 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2919 * progmodes/autoconf.el (autoconf-mode):
2920 * progmodes/js.el (js-mode):
2921 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2922 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2923 * progmodes/perl-mode.el (perl-mode):
2924 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2925 * textmodes/css-mode.el (css-mode):
2926 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2927 (sgml-tags-invisible, sgml-guess-indent):
2928 * textmodes/tex-mode.el (tex-common-initialization)
2929 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2930 (doctex-mode, plain-tex-mode, latex-mode):
2931 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2932
3ddbf803
KK
29332012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2934
2935 * vc/vc-hg.el (vc-hg-next-revision):
2936 Ensure use of default "tip" output format. (Bug#6968)
2937
f0b6ae63
KS
29382012-12-01 Kim F. Storm <storm@cua.dk>
2939
2940 * startup.el (fancy-startup-tail): Add a clickable link
2941 (Bug#2176).
2942
c01bf73e
CY
29432012-12-01 Chong Yidong <cyd@gnu.org>
2944
2945 * startup.el (fancy-startup-tail): Improve the message about
2946 auto-save files (Bug#2176).
2947
f0b6ae63
KS
2948 * files.el (recover-session): Improve the descriptive message, and
2949 use substitute-command-keys.
2950
a9400458
GM
29512012-12-01 Glenn Morris <rgm@gnu.org>
2952
2953 * ido.el (ido-file-internal):
2954 Handle other-window, other-frame for dired. (Bug#13036)
2955
fb3bf6ce
GM
29562012-11-30 Glenn Morris <rgm@gnu.org>
2957
2958 * icomplete.el (icomplete-separator): Fix :version.
2959
a813fe3f
CY
29602012-11-30 Chong Yidong <cyd@gnu.org>
2961
2962 * shell.el (shell): For C-u M-x shell, use an inactive shell
2963 buffer as the default (Bug#1975).
276479fd
CY
2964 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2965 (shell-mode): Use them to reapply ansi colorization if Shell mode
2966 is re-enabled.
a813fe3f 2967
a8b733a5
CY
29682012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2969
2970 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2971
6fccd6e8
SB
29722012-11-30 Samuel Bronson <naesten@gmail.com>
2973
2974 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2975 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2976
53c9a337
TT
29772012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2978
2979 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2980 by move-to-column (Bug#3234).
2981
ccf520bb
CY
29822012-11-30 Chong Yidong <cyd@gnu.org>
2983
2984 * longlines.el (longlines-wrap-line, longlines-encode-region):
2985 Preserve text properties (Bug#1425).
2986
171b0949
OT
29872012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2988
2989 * vc/vc.el (vc-register): Allow registering a file which is
2990 already registered with a different backend (Bug#10589).
2991
cc37e70f
J
29922012-11-29 Jambunathan K <kjambunathan@gmail.com>
2993 Stefan Monnier <monnier@iro.umontreal.ca>
2994
2995 * icomplete.el: Change separator; add ido-style commands.
2996 (icomplete-show-key-bindings): Remove custom var.
2997 (icomplete-get-keys): Remove function.
2998 (icomplete-forward-completions, icomplete-backward-completions):
2999 New commands.
3000 (icomplete-minibuffer-map): New var.
3001 (icomplete-minibuffer-setup): Use it.
3002 (icomplete-exhibit): Don't delay if the list of completions is known.
3003 (icomplete-separator): New custom.
3004 (icomplete-completions): Use it.
3005 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3006 (minibuffer-force-complete-and-exit): New command.
3007 (minibuffer--complete-and-exit): New function extracted from
3008 minibuffer-complete-and-exit.
3009 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
3010
3011 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
3012 error message when the file doesn't exist (bug#12974).
3013
31646597
KD
30142012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3015
3016 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
3017
e9df8f87
GM
30182012-11-29 Glenn Morris <rgm@gnu.org>
3019
824eefe4
GM
3020 * files.el (hack-dir-local-variables): Warn if try to set
3021 coding via dir-locals, since it doesn't work. (Bug#7169)
3022
4ad900d9
GM
3023 Add desktop support for restoring vc-dir buffers. (Bug#10606)
3024 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3025 Set buffer-local value of desktop-save-buffer.
3026 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3027 New functions.
3028 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
3029 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
3030
e9df8f87
GM
3031 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
3032 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
3033 Doc fix.
3034 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
3035 Doc fixes.
3036
e7c8fcc4
JB
30372012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
3038
3039 * calc/calc-forms.el (calc-date-notation): Fix regexp
3040 used to find time codes. Fix symbol for seconds.
3041
48d6d9c0
GM
30422012-11-27 Glenn Morris <rgm@gnu.org>
3043
3044 * emacs-lisp/derived.el (derived-mode-make-docstring):
3045 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
3046
369f945d
SM
30472012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3048
3049 * textmodes/table.el (table-insert): Don't use `symbol-name' on
3050 lexically scoped variables (bug#13005).
3051
5c9cf0a3 30522012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 3053
999e745e
GM
3054 * vc/vc-hooks.el (vc-mistrust-permissions):
3055 Default to t, to avoid data-loss. (Bug#11490)
98f99594 3056
5c9cf0a3 30572012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 3058
999e745e
GM
3059 * progmodes/python.el (python-indent-guess-indent-offset):
3060 If indentation is guessed make python-indent-offset buffer-local.
3061
207cb73c 3062 Fix Imenu regression.
999e745e
GM
3063 * progmodes/python.el (python-nav-beginning-of-defun):
3064 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
3065 (python-imenu-prev-index-position): New function.
3066
5c9cf0a3 30672012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
3068
3069 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
3070
3071 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 3072 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 3073
5c9cf0a3 30742012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
3075
3076 * hippie-exp.el (hippie-expand-try-functions-list):
3077 Re-autoload it. (Bug#12982)
3078
5c9cf0a3 30792012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 3080
369f945d
SM
3081 * descr-text.el (describe-char-padded-string):
3082 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 3083
5c9cf0a3 30842012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
3085
3086 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
3087 and obsoletion message.
3088
5c9cf0a3 30892012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
3090
3091 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
3092 the constructs to keep outside of the `cl-block' (bug#12977).
3093
5c9cf0a3 30942012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
3095
3096 * mouse.el (mouse-drag-line): Even if the line is not draggable,
3097 keep reading until we get the up-event anyway, in order to process
3098 the up-event for mouse-1-click-follows-link (Bug#12971).
3099
848a2dd1
SM
31002012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
3101
3102 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
3103 base function is not yet defined (bug#12965).
3104 (ad-activate-advised-definition): Use ad-compile-function.
3105 (ad-activate): Use cond.
3106
9ad79506
LL
31072012-11-25 Leo Liu <sdl.web@gmail.com>
3108
3109 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
3110 (Bug#12979)
3111
e2cb57f5
VB
31122012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3113
3114 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3115 reftex-section-info-function in order to be compatible with
3116 Texinfo integration.
3117
3118 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
3119 (reftex-section-post-regexp, reftex-section-info-function):
3120 New variable.
3121 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3122 reftex-section-post-regexp, and reftex-section-info-function in order
3123 to be compatible with Texinfo integration.
3124
3125 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3126 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
3127 Texinfo integration.
3128
1c4f115d
CY
31292012-11-25 Chong Yidong <cyd@gnu.org>
3130
3131 * faces.el: Make face-spec-set more analogous to setq.
3132 (face-spec-set): Change the third arg to specify whether this
3133 function is being called via defface, customize, or a third party.
3134 Set the appropriate symbol properties. Clear the override spec if
3135 setting via Custom. Initialize face if necessary. (Bug#4988)
3136 (face-spec-recalc): Allow theme faces to completely replace the
3137 defface spec, in the same way as custom faces (Bug#8454).
3138
3139 * cus-face.el (custom-declare-face): Move face initialization to
3140 face-spec-set.
3141 (custom-theme-set-faces): Don't initialize the face name here, as
3142 that is now done in face-spec-set.
3143
3144 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3145 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3146 Simplify by using the new arg to face-spec-set.
3147
3148 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3149 reset face-override-spec too, and use custom-declare-face.
3150
c2350548
JD
31512012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3152
3153 * term/ns-win.el (ns-initialize-window-system): Move creation of
3154 fontsets here (Bug#11964).
3155
ecfc364c
VB
31562012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3157
3158 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3159 cell renaming.
3160
0917cc54
CY
31612012-11-24 Chong Yidong <cyd@gnu.org>
3162
433212bf
CY
3163 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3164 obsolete.
3165
0917cc54
CY
3166 * custom.el (custom-theme-set-variables): Use a topological sort
3167 for ordering by custom dependencies (Bug#12952).
3168 (custom--sort-vars, custom--sort-vars-1): New functions.
3169
d125ca15 31702012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
3171
3172 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3173 lexical-binding (bug#12938).
3174
d125ca15 31752012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
3176
3177 * image-mode.el (image-transform-check-size): Use assertions only
3178 for images of type imagemagick.
3179
3180 Otherwise no error, image-transform-fit-to-{width,height} is
3181 silently ignored, as before. Doc fix.
3182
d125ca15 31832012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
3184
3185 * faces.el (color-defined-p): Doc fix (Bug#12853).
3186
d125ca15 31872012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
3188
3189 * dired.el (dired-mark): Add optional arg `interactive'.
3190 Check for `use-region-p' if `interactive' is non-nil.
3191 (dired-unmark, dired-flag-file-deletion): Add optional arg
3192 `interactive'. Call `dired-mark' with the arg `interactive'.
3193 (Bug#10624)
3194
cc4c01bd
JL
3195 * wdired.el: Revert 2012-10-17 change partly and replace it with
3196 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3197 (wdired-finish-edit): Add marks for new file names to
3198 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3199 after `revert-buffer'.
3200 (wdired-do-renames): Remove calls to `dired-remove-file',
3201 `dired-add-file', `dired-add-entry'. (Bug#11795)
3202
d125ca15 32032012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 3204
dc310ed0
AM
3205 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3206
b03aabda
AM
3207 Fix bugs in the state cache. Enhance a debugging mechanism.
3208 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3209 "brace at column zero" strategy for C++.
3210 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3211 (c-parse-state-point): New variable.
3212 (c-record-parse-state-state): Record old parse state with
3213 `copy-tree'. Record previous value of point.
3214 (c-debug-parse-state-double-cons): New debugging function.
3215 (c-debug-parse-state): Call the above new function.
3216 (c-toggle-parse-state-debug): Output a confirmatory message.
3217
002c019c
SM
3218 * progmodes/cc-mode.el (c-before-change, c-after-change):
3219 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
3220 `c-after-change'.
3221
930a6273
CY
32222012-11-23 Chong Yidong <cyd@gnu.org>
3223
3224 * find-cmd.el (find-constituents): Add executable, ipath,
3225 readable, samefile, writable, daystart, regextype (Bug#12856).
3226
15c9d04e
SM
32272012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3228
3229 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3230
2ecb2679
PE
32312012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3232
3233 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3234 definition. This fixes a bootstrap failure.
a14a5a40
PE
3235 (calc-gregorian-switch): In menu, put dates before regions.
3236 This is easier to follow, lines up better in the menu, and lets us
3237 coalesce regions that switch at the same time. Give country
15c9d04e
SM
3238 names, not "Vatican", as that's better for non-expert users.
3239 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
3240 Bohemia and Moravia (which existed then and now) and not
3241 Czechoslovakia (which didn't exist then and doesn't exist now).
3242 What is now the U.S. mostly did not switch at the same time as
3243 Britain, so omit the U.S. Correct spelling of "Britain".
3244 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 3245
723da6aa
JB
32462012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3247
3248 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3249 after the variable is changed.
3250
21fa2482
DC
32512012-11-21 Daniel Colascione <dancol@dancol.org>
3252
3253 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
3254 in SQL declarations for font-lock.
3255 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 3256
3ca2f1bf
GM
32572012-11-21 Glenn Morris <rgm@gnu.org>
3258
1bf335cf
GM
3259 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3260 (face-italic-p): Add optional argument "inherit".
3261
3ca2f1bf
GM
3262 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3263 Remove -p suffix from names, for consistency with other set-face-*.
3264 (set-face-inverse-video): Fix interactive spec.
3265 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3266 * textmodes/table.el (table--update-cell-face):
3267 Use set-face-inverse-video rather than now obsolete alias.
3268
6ef2e5ef 32692012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
3270
3271 * simple.el (line-move): Don't call line-move-partial if
3272 scroll-conservatively is in effect. (Bug#12927)
3273
6ef2e5ef 32742012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 3275
93b05041
SM
3276 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3277 Fallback on completion-at-point rather than
3278 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3279 (eshell-cmpl-initialize): Setup completion-at-point.
3280
3281 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3282
bc715d67
SM
3283 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3284
6ef2e5ef 32852012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
3286
3287 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3288 are remote, check out-of-band property for both.
3289
6ef2e5ef 32902012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
3291
3292 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3293 code rewrite.
3294
6ef2e5ef 32952012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 3296
535efd4a
PE
3297 More minor time fixes.
3298 * calendar/time-date.el: Commentary fix.
3299 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3300 too much other code depends on (0 0) time stamps.
3301 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3302 Add a couple of FIXME comments.
3303
0c93aa38
PE
3304 Minor cleanup for times as lists of four integers.
3305 * files.el (dir-locals-directory-cache):
3306 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3307 Doc fixes.
3308 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3309 * ps-bdf.el (bdf-file-newer-than-time):
3310 Process four-integers time stamps, not two. Doc fixes.
3311
23ba2705
SM
33122012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3313
2e31777b
SM
3314 * uniquify.el (uniquify-managed): Use defvar-local.
3315 (rename-buffer, create-file-buffer): Advise with advice-add.
3316 (uniquify-unload-function): Unadvise accordingly.
3317
8b62d742
SM
3318 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3319 (trace-buffer): Don't purecopy.
3320 (trace-entry-message, trace-exit-message): Add `context' arg.
3321 (trace--timer): New var.
3322 (trace-make-advice): Adjust for use in nadvice.
3323 Add `context' argument. Delay `display-buffer' via a timer.
3324 (trace-function-internal): Use advice-add.
3325 (trace--read-args): New function.
3326 (trace-function-foreground, trace-function-background): Use it.
3327 (trace-function): Rename to trace-function-foreground and redefine as
3328 an alias to that new name.
3329 (untrace-function, untrace-all): Adjust to the use of nadvice.
3330
5d0ccd95
SM
3331 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3332
3837d988
SM
3333 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3334
23ba2705
SM
3335 * subr.el (called-interactively-p-functions): New var.
3336 (internal--called-interactively-p--get-frame): New macro.
3337 (called-interactively-p, interactive-p): Rewrite in Lisp.
3338 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3339 (called-interactively-p-functions): Use it.
3340 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3341 (called-interactively-p-functions): Use it.
3342 * allout.el (allout-called-interactively-p): Don't assume
3343 called-interactively-p is a subr.
3344
b0636be7
GM
33452012-11-20 Glenn Morris <rgm@gnu.org>
3346
3347 * profiler.el (profiler-report-mode-map): Add a menu.
3348 No need to bind `q' because we derive from special-mode.
3349 (profiler-report-find-entry): Handle calls from the menu-bar.
3350
855b17af
SM
33512012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3352
14146222
SM
3353 * emacs-lisp/byte-run.el (defun-declarations-alist):
3354 Allow a compiler-macro to be a lambda expression.
3355
3356 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3357 eval-when-compile.
3358 (python-syntax-context): Add compiler-macro.
3359 (python-font-lock-keywords): Simplify with De Morgan.
3360
1000d895
SM
3361 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3362
ac5392dc
SM
3363 * files.el (load-file): Require match in minibuffer selection, as was
3364 the case in Emacs-20 before we changed the spec to allow .elc files
3365 (bug#12935).
3366
19dc7206
SM
3367 * json.el: Don't require cl since we don't use it.
3368 * color.el: Don't require cl.
3369 (color-complement): `caddr' -> `nth 2'.
3370
855b17af
SM
3371 * calendar/time-date.el (time-to-seconds): De-obsolete.
3372
e8909bdc
JB
33732012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3374
3375 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3376 year numbers.
3377 (math-date-to-julian-dt): Adjust the initial approximation for the
3378 year to deal with the new definition of the DATE.
3379
6e9f7997
DC
33802012-11-19 Daniel Colascione <dancol@dancol.org>
3381
855b17af
SM
3382 * term/w32-win.el (cygwin-convert-path-from-windows):
3383 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 3384
6a3dd257
CY
33852012-11-18 Chong Yidong <cyd@gnu.org>
3386
3387 * filecache.el (file-cache--read-list): New function.
3388 (file-cache-add-directory-list, file-cache-add-file-list)
3389 (file-cache-delete-file-list, file-cache-delete-directory-list):
3390 Use it to read a list of files or directories (Bug#12846).
3391 (file-cache-add-file, file-cache-add-directory)
3392 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3393 (file-cache-delete-directory): Print an message.
3394
eef97f35
JB
33952012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3396
3397 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3398 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3399
913c8291
GM
34002012-11-18 Glenn Morris <rgm@gnu.org>
3401
3402 * image.el (insert-image, insert-sliced-image): Doc fix.
3403
2ac9538d 34042012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
3405
3406 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3407 (Bug#12810).
3408
2ac9538d 34092012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
3410
3411 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3412 response when the target file is in a subdirectory (Bug#12757).
3413
2ac9538d 34142012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
3415
3416 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3417
2ac9538d 34182012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 3419
9a5e2ee3
GM
3420 * emacs-lisp/cl-lib.el (face-underline-p):
3421 Use set-face-underline rather than the alias set-face-underline-p.
3422
65463c40 3423 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
3424 * subr.el (with-output-to-temp-buffer):
3425 Add doc xref to with-temp-buffer-window.
65463c40 3426
c9ed8e3d
JB
34272012-11-18 Juanma Barranquero <lekktu@gmail.com>
3428
3429 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3430 * calc/calc.el (math-format-date-cache): Declare.
3431
310e60d9
PE
34322012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3433
6f6b82d6
PE
3434 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3435 It also uses January 1, 1 AD as its day number 1.
310e60d9 3436 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 3437 (math-julian-date-beginning-int): Implement this.
310e60d9 3438
d7fe6352
JB
34392012-11-17 Juanma Barranquero <lekktu@gmail.com>
3440
3441 * descr-text.el (quail-find-key):
3442 * dired.el (desktop-file-name):
3443 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3444 * generic-x.el (comint-mode, comint-exec):
3445 * image-dired.el (widget-forward):
3446 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3447 (speedbar-change-expand-button-char)
3448 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3449 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3450 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3451 (widget-field-action, widget-value-set):
3452 * speedbar.el (imenu--make-index-alist):
3453 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3454 (ring-length, ring-insert):
3455 * vcursor.el (compare-windows-skip-whitespace):
3456 * woman.el (dired-get-filename):
3457 Declare functions.
3458
3459 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3460
c9f618db
JB
34612012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3462
3463 * calc/calc.el (calc-gregorian-switch): New variable.
3464
3465 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3466 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3467 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3468 (math-leap-year-p): Add option to distinguish between Julian
3469 and Gregorian calendars.
3470 (math-day-number): Use `math-day-in-year' to do the computations.
3471 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3472 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3473 to do the computations.
3474 (math-date-to-dt): Use `math-date-to-julian-dt' and
3475 `math-date-to-gregorian-dt' to do the computations.
3476 (calcFunc-weekday, math-format-date-part): Use the new version of
3477 the DATE to determine the weekday.
3478 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3479 when necessary.
3480
3804f7bc
EZ
34812012-11-17 Eli Zaretskii <eliz@gnu.org>
3482
3483 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3484 Cygwin; otherwise use 'file:'. (Bug#12914)
3485 (cygwin-convert-path-from-windows): Declare, to avoid
3486 byte-compiler warnings.
3487
de959d4d
AP
34882012-11-17 Andreas Politz <politza@fh-trier.de>
3489
3490 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3491 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3492 prefix and negative numeric prefix args (Bug#12795).
3493
e45deaef
SB
34942012-11-17 Stephen Berman <stephen.berman@gmx.net>
3495
3496 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3497 Don't signal an error with a score that is too low to add to the
3498 list of top scores. (Bug#12779)
3499
ec15e0ff
CY
35002012-11-17 Chong Yidong <cyd@gnu.org>
3501
8e7696a1
CY
3502 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3503
ec15e0ff
CY
3504 * filecache.el (file-cache-add-file): Handle relative file name in
3505 the argument (Bug#12694).
3506
60c4ee66
JH
35072012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3508
3509 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3510
cdc5d88c
SM
35112012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3512
dd0c5bbb
SM
3513 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3514
cdc5d88c
SM
3515 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3516
0ff7851c
MR
35172012-11-16 Martin Rudalics <rudalics@gmx.at>
3518
3519 * window.el (enlarge-window, shrink-window): Don't mention return
3520 value in doc-string (Bug#12896).
3521 (window--display-buffer): Don't resize frames - it won't work
3522 with all window managers and defeat pop-up-frame-alist.
3523 (display-buffer-alist): In doc-string explain that CONDITION can
3524 be a function and which arguments are passed to it (Bug#12854).
3525 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3526 expressions (Bug#12854).
3527 (display-buffer): Pass ACTION argument to
3528 display-buffer-assq-regexp.
3529
dedd1884
GM
35302012-11-16 Glenn Morris <rgm@gnu.org>
3531
7c82753d
GM
3532 * window.el (fit-frame-to-buffer-bottom-margin)
3533 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3534
dedd1884
GM
3535 * faces.el (face-underline-p): Use face-attribute-specified-or.
3536
96e05507 35372012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
3538
3539 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3540
96e05507 35412012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
3542
3543 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3544
96e05507 35452012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 3546
17c083ac
GM
3547 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3548 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3549
bde3c6c0
GM
3550 * faces.el (face-underline-p): Doc fix. Handle :underline being
3551 things other than `t' (a string, a list).
3552 (face-inverse-video-p): Doc fix.
3553 (set-face-underline): Rename it back from set-face-underline-p.
3554 Doc fix. Allow interactive input of values other than t.
3555 (read-face-attribute): Apply formatting to :underline,
3556 since like :box and :stipple it can take list values.
3557
e2e13f18
GM
3558 * term.el (ansi-term): Don't let C-x escape-char binding
3559 clobber the more standard C-c binding. (Bug#12842)
3560
e0ea8060
GM
3561 * subr.el (set-temporary-overlay-map): Doc fix.
3562
96e05507 35632012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
3564
3565 * window.el (record-window-buffer)
3566 (display-buffer-record-window): When copying the markers to
3567 window-point preserve window-point-insertion-type. (Bug#12588)
3568
96e05507 35692012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
3570
3571 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3572 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3573 Use new names for hooks rather than obsolete aliases.
3574
faeafc01
DC
35752012-11-15 Daniel Colascione <dancol@dancol.org>
3576
3577 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
3578 prefix instead of "file:" so that when FILE-NAME begins with "//",
3579 as it does when the target file is on a network share, url-handler
3580 isn't confused.
3581
1232d6c2
SM
35822012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3583
3584 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3585 a preactivated advice from an old advice.el; they're not compatible!
3586
47f01a8a
KY
35872012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3588
3589 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3590 Fix string-spec case.
3591
3592 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3593
a61428c4
SM
35942012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3595
3596 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3597 (advice--buffer-local-function-sample): New var.
3598 (advice--set-buffer-local, advice--buffer-local): New functions.
3599 (add-function, remove-function): Use them.
3600
875ce3a7
DA
36012012-11-15 Drew Adams <drew.adams@oracle.com>
3602
3603 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3604
589fc479
SM
36052012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3606
3607 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3608 potential binding of print-gensym to t, and prettify (back)quotes in
3609 case they appear in args's default values (bug#12884).
3610
1668ea90
SM
36112012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3612
3613 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3614 (advice-eval-interactive-spec): New function.
3615 (advice--make-interactive-form): Support around advice (bug#12844).
3616
8619323f
DG
36172012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3618
3619 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3620 more strict. Add docstring.
c62792e7
DG
3621 (ruby-expression-expansion-re): Extract from
3622 `ruby-match-expression-expansion'.
3623 (ruby-syntax-propertize-function): After everything else, search
3624 for expansions in string literals, mark their insides as
3625 whitespace syntax and save match data for font-lock.
3626 (ruby-font-lock-keywords): Use the 2nd group from expression
3627 expansion matches.
3628 (ruby-match-expression-expansion): Use the match data saved to the
3629 text property in ruby-syntax-propertize-function.
8619323f 3630
9c3912d3
SM
36312012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3632
3633 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3634 (bug#12879).
3635
5e9419e8
DG
36362012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3637
3638 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3639 start/end keyword a bit harder. Works with different values of N.
3640 Add more comments.
3641 (ruby-end-of-block): Update accordingly.
3642
3c442f8b
SM
36432012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3644
fa470af0
SM
3645 * woman.el (woman-file-name): Don't mess with unread-command-events
3646 (bug#12861).
3647
3c442f8b
SM
3648 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3649 Remove out of date self-require hack.
3650 (ad-do-advised-functions): Use simple `dolist'.
3651 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3652 (ad-advice-definition): Redefine as functions.
3653 (ad-advice-classes): Move before first use.
3654 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 3655 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 3656 (ad--defalias-fset): Remove functions.
fa470af0 3657 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
3658 (ad-get-orig-definition): Rewrite.
3659 (ad-make-advised-definition-docstring): Change base docstring.
3660 (ad-real-orig-definition): Rewrite.
3661 (ad-map-arglists): Change name of called function.
3662 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3663 (ad-make-advised-definition): Simplify.
3664 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 3665 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
3666 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3667 function and call ad-activate if needed.
3668 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3669 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3670 (ad-compile-function): Compile ad-Advice-*.
3671 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3672 (ad-start-advice, ad-stop-advice): Remove.
3673
5745cae6
DG
36742012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3675
3676 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3677 period before class method names, not after. Remove handling of
3678 one impossible case. Add comments.
3679
413d4689
SM
36802012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3681
7db1bda8
SM
3682 * emacs-lisp/advice.el: Remove support for freezing.
3683 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3684 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3685 Remove support for `freeze'.
3686
413d4689
SM
3687 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3688 override the default.
3689 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3690 cl--dotimes/dolist.
3691 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3692 `cl' is loaded.
3693
3694 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3695 from add-advice.
3696 (advice--strip-macro): New function.
3697 (advice--defalias-fset): Use them to handle macros.
3698 (advice-add): Use them.
3699 (advice-member-p): Correctly handle macros.
3700
f178c32d
DG
37012012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3702
7db1bda8
SM
3703 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3704 Never font-lock the beginning of singleton class as heredoc.
f178c32d 3705
f78ee6af 37062012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
3707
3708 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3709
f78ee6af 37102012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
3711
3712 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
3713 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3714 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 3715
f78ee6af 37162012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
3717
3718 Fix end-of-defun misbehavior.
3719 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3720 python-beginning-of-defun-function. Handle nested defuns
3721 correctly.
3722 (python-nav-end-of-defun): Rename from
3723 python-end-of-defun-function. Ensure forward movement.
f8705f6e 3724 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
3725 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3726 parent defuns as soon as possible.
3727
f78ee6af 37282012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
3729
3730 * progmodes/flymake.el (flymake-error-bitmap)
3731 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3732 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3733
f78ee6af 37342012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
3735
3736 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3737 backward, always stop at indentation. Reverts the change from
3738 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3739
f78ee6af 37402012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 3741
a1d3e07e
GM
3742 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3743 Add ibuffer-filter-by-derived-mode.
3744
84acf328
GM
3745 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3746 the same name shadowing each other.
3747
38785e75
GM
3748 * window.el (with-temp-buffer-window): Doc tweak.
3749
57fc0fee
GM
3750 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3751
6ba6a3e5
GM
3752 * help.el (temp-buffer-max-height):
3753 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
3754 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3755
231d8498
SM
37562012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3757
3758 * emacs-lisp/nadvice.el: New package.
3759 * subr.el (special-form-p): New function.
3760 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3761 (elp-all-instrumented-list): Remove var.
3762 (elp-not-profilable): Remove elp-wrapper.
3763 (elp-profilable-p): Use autoloadp and special-form-p.
3764 (elp--advice-name): New const.
3765 (elp-instrument-function): Use advice-add.
3766 (elp--instrumented-p): New predicate.
3767 (elp-restore-function): Use advice-remove.
3768 (elp-restore-all, elp-reset-all): Use mapatoms.
3769 (elp-set-master): Use elp--instrumented-p.
3770 (elp--make-wrapper): Rename from elp-wrapper, return a function
3771 suitable for advice-add. Use cl-inf.
3772 (elp-results): Use mapatoms+elp--instrumented-p.
3773 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3774 (debug-function-list): Remove var.
3775 (debug): Rename arg, and then let-bind it explicitly inside.
3776 (debugger-setup-buffer): Rename arg.
3777 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3778 (debugger-frame-number): Adjust to new debug-on-entry setup.
3779 (debug--implement-debug-on-entry): Rename from
3780 implement-debug-on-entry, add argument.
3781 (debugger-special-form-p): Remove, use special-form-p instead.
3782 (debug-on-entry): Use advice-add.
3783 (debug--function-list): New function.
3784 (cancel-debug-on-entry): Use it, along with advice-remove.
3785 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3786 (debugger-list-functions): Use debug--function-list instead of
3787 debug-function-list.
3788 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3789 (ad-special-form-p): Remove, use special-form-p instead.
3790 (ad-set-advice-info): Use add-function and remove-function.
3791 (ad--defalias-fset): Adjust accordingly.
3792
19e09879
GM
37932012-11-10 Glenn Morris <rgm@gnu.org>
3794
714cebd1
GM
3795 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3796 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3797 (report-emacs-bug-create-existing-bugs-buffer)
3798 (report-emacs-bug-parse-query-results)
3799 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3800
bf67dafa
GM
3801 * term.el (term-default-fg-color, term-default-bg-color):
3802 Make obsolete, rather than just saying "deprecated" in the doc.
3803
19e09879
GM
3804 * term.el (term): Rename from `term-face'.
3805 (term-current-face, ansi-term-color-vector)
3806 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3807 Update all users.
3808
6baf66d5 38092012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
3810
3811 * server.el (server-create-window-system-frame): Handle Nextstep
3812 specially (Bug#12780).
3813
6baf66d5 38142012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
3815
3816 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3817 Unautoload, and make obsolete. (Bug#7449)
3818
6baf66d5 38192012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
3820
3821 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3822 rename from diff-remove-trailing-whitespace (Bug#12831).
3823
6baf66d5 38242012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
3825
3826 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3827 miscompilation of trace.el.
3828
6baf66d5 38292012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
3830
3831 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3832
6baf66d5 38332012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
3834
3835 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3836 (bug#12812).
3837
6baf66d5 38382012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
3839
3840 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3841 a defcustom with an appropriate :set function.
3842 (minibuffer-default--in-prompt-regexps): New function.
3843
6baf66d5 38442012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 3845
031b2ea7
GM
3846 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3847 (define-modify-macro): Doc fixes.
3848
2ee1d59f
GM
3849 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3850 (gv-define-simple-setter): Update doc of `fix-return'.
3851
6baf66d5 38522012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 3853
b715ed44
SM
3854 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3855 twice when `fix-return' is set (bug#12813).
3856
d57c286e
SM
3857 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3858 gv-define-simple-setter (bug#12812).
3859
c9cac599
SM
3860 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3861 (bug#12756).
3862
6baf66d5 38632012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
3864
3865 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3866
5593ed90
GM
3867 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3868 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3869 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3870 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3871
3872 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3873
05a859c1
LL
38742012-11-10 Leo Liu <sdl.web@gmail.com>
3875
3876 * ido.el (ido-set-matches-1): Improve flex matching performance by
3877 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3878
32e5c58c
SM
38792012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3880
3881 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3882 (ad--defalias-fset): New function.
3883 (ad-safe-fset): Remove.
3884 (ad-make-freeze-definition): Use cl-letf*.
3885
f5925cd9
SM
38862012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3887
da03ef8a
SM
3888 * subr.el (dolist): Don't bind VAR in RESULT.
3889
6858633a
SM
3890 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3891 (fset, documentation): Don't save real def since we don't advise.
3892 (ad-do-advised-functions): Remove problematic `result-form'.
3893 (ad-safe-fset): `ad-real-fset' => `fset'.
3894 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3895 uses CL's dolist internally.
3896 (ad-arglist): Remove unused arg `name'.
3897 (ad-docstring, ad-make-advised-docstring):
3898 `ad-real-documentation' => `documentation'.
3899 (warning-suppress-types): Declare.
3900 (ad-set-arguments): Simple CSE.
3901 (ad-recover-normality): Sanity check.
3902
f5925cd9
SM
3903 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3904 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3905
93a66b3a
VB
39062012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3907
3908 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
3909 `ses-cell'. This means that the same mapping is done for all SES
3910 sheets. That is good enough for cells with standard A1 names, but
3911 not for named cell. So a hash map is added for the latter.
3912 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
3913 (ses-sym-rowcol): Use hashmap for named cell.
3914 (ses-is-cell-sym-p): New defun.
3915 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
3916 (ses-create-cell-variable): Add cell to hashmap when name is not
3917 A1-like.
93a66b3a
VB
3918 (ses-rename-cell): Check that cell new name is not already in
3919 spreadsheet with the use of ses-is-cell-sym-p
3920 (ses-rename-cell): Use hash map for named cells, but accept also
3921 renaming back to A1-like.
3922
67dd8ad1
SM
39232012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3924
57618ecf
SM
3925 * emacs-lisp/advice.el: Use new dynamic docstrings.
3926 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3927 Use dynamic-docstring-function instead of ad-advice-info.
3928 (ad--make-advised-docstring): New function extracted from
3929 ad-make-advised-docstring.
3930 (ad-make-advised-docstring): Use it.
3931 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3932 from sql-help.
3933 (sql-help): Use it with dynamic-docstring-function.
3934
67dd8ad1
SM
3935 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3936
be883b34
SM
39372012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3938
d41706aa
SM
3939 * files.el (hack-one-local-variable--obsolete): New function.
3940 (hack-one-local-variable): Use it for obsolete settings.
3941
85e55412
SM
3942 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3943 the new name.
3944
be883b34
SM
3945 * progmodes/js.el (js--filling-paragraph): New var.
3946 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3947 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3948 less sneaky.
3949
cabc040a
JD
39502012-11-08 Julien Danjou <julien@danjou.info>
3951
3952 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3953 `auto-mode-alist' (Bug#12835).
3954
d14bb752
SM
39552012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3956
79b3e376
SM
3957 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3958 (perl--prettify-symbols-alist): New const.
3959 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3960 New functions.
3961 (perl-font-lock-keywords-2): Use them.
3962 (perl-electric-noindent-p): New function.
3963 (perl-mode): Use it to set up electric-indent-mode.
3964 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3965 (perl-mode-map): Remove bindings for them.
3966 (perl-imenu-generic-expression, perl-outline-level):
3967 Match functions&packages in column>0.
3968
3b11e6ac
SM
3969 * env.el (env--substitute-vars-regexp): New const.
3970 (substitute-env-vars): Use it. Add `only-defined' arg.
3971 * net/tramp.el (tramp-replace-environment-variables): Use it.
3972
784c1a7b
SM
3973 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3974 Byte-compile *before* eval in eval-and-compile.
3975 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3976 (byte-compile-file-form-autoload): Don't hide actual definition.
3977 (byte-compile-maybe-guarded): Accept `functionp' as well.
3978
d14bb752
SM
3979 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3980
499a0f7a
MA
39812012-11-07 Michael Albinus <michael.albinus@gmx.de>
3982
3983 * notifications.el (notifications-get-server-information-method):
3984 New defconst.
3985 (notifications-get-capabilities): Fix docstring.
3986 (notifications-get-server-information): New defun.
3987
f0704a9a
AM
39882012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3989
3990 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3991 readability.
3992
b159a1fd
AM
3993 * textmodes/ispell.el: Experimental support for support debugging.
3994 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3995 buffer for ispell.
3996 (ispell-print-if-debug): New function to print stuff to
3997 `ispell-debug-buffer' if debugging is enabled.
3998 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3999 show some debugging info.
4000 (ispell-buffer-with-debug): New function that creates a debugging
4001 buffer and calls `ispell-buffer' with debugging enabled.
4002
056cb3a1
AM
4003 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
4004 comment in autoconf mode. (Bug#12768)
4005
8e6a67b7
DA
40062012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
4007
4008 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4009 frame-first-window, frame-root-window, frame-selected-window,
4010 minibuffer-selected-window, minibuffer-window,
4011 window-absolute-pixel-edges, window-at, window-body-height,
4012 window-body-width, window-display-table, window-combination-limit,
4013 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4014 window-inside-edges, window-inside-pixel-edges, window-left-child,
4015 window-left-column, window-margins, window-next-buffers,
4016 window-next-sibling, window-new-normal, window-new-total,
4017 window-normal-size, window-parameter, window-parameters, window-parent,
4018 window-pixel-edges, window-point, window-prev-buffers,
4019 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4020 window-start, window-text-height, window-top-child, window-top-line,
4021 window-total-height, window-total-width and window-use-time to the list
4022 of functions without side-effects.
4023 (toplevel): Add window-valid-p to the list of error-free functions
4024 without side-effects.
4025
53fc914f
AM
40262012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4027
f5925cd9
SM
4028 * textmodes/ispell.el (ispell-program-name):
4029 Update spellchecker parameters when customized.
53fc914f 4030
9749e2b0
GM
40312012-11-04 Glenn Morris <rgm@gnu.org>
4032
4033 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
4034
2cbafa56
CY
40352012-11-04 Chong Yidong <cyd@gnu.org>
4036
4037 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4038 same-window-* variables.
4039
85178ca1
JL
40402012-11-04 Juri Linkov <juri@jurta.org>
4041
4042 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
4043 (isearch-describe-key, isearch-describe-mode): Use a display
4044 action instead of binding same-window-* variables (Bug#10040).
4045
5c677d44
GM
40462012-11-03 Glenn Morris <rgm@gnu.org>
4047
49138400
GM
4048 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4049 Rename handler properties back from cl-- to cl-. (Bug#12788)
4050
5c677d44
GM
4051 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
4052
1d4341f9
EZ
40532012-11-03 Eli Zaretskii <eliz@gnu.org>
4054
4055 * term/pc-win.el: Don't load term/internal from here.
4056
4057 * loadup.el: Load term/internal from here.
4058
12fd5ee1
FEG
40592012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
4060
4061 * progmodes/python.el (inferior-python-mode): Fix hang in
4062 jit-lock (Bug#12645).
4063
43bcfda6
MR
40642012-11-03 Martin Rudalics <rudalics@gmx.at>
4065
4066 * window.el (switch-to-visible-buffer)
4067 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4068
376a8e83
GM
40692012-11-03 Glenn Morris <rgm@gnu.org>
4070
4071 * emacs-lisp/cl-lib.el (cl--random-time):
4072 Rename from cl-random-time. (Bug#12773)
4073 (cl--gensym-counter, cl--random-state): Update callers.
4074 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
4075
0f7b074f
CY
40762012-11-03 Chong Yidong <cyd@gnu.org>
4077
4078 * cus-start.el: Make cursor-type customizable (Bug#11633).
4079
3a6851d9
GM
40802012-11-02 Glenn Morris <rgm@gnu.org>
4081
00a3b041
GM
4082 * filecache.el: No need to load find-lisp when compiling.
4083 (find-lisp-find-files): Autoload it.
4084 (file-cache-add-directory-recursively): Don't require find-lisp.
4085
11fef14a
GM
4086 * image.el (image-type-from-file-name): Trivial simplification.
4087
3a6851d9
GM
4088 * emacs-lisp/bytecomp.el (byte-compile-eval):
4089 Decouple "noruntime" and "cl-functions" warnings.
4090
b4b096e4
SB
40912012-11-01 Stephen Berman <stephen.berman@gmx.net>
4092
4093 * play/gomoku.el (gomoku-display-statistics): Update mode line
4094 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
4095
218e997a
MR
40962012-10-31 Martin Rudalics <rudalics@gmx.at>
4097
4098 * window.el (quit-restore-window): If the window has been
4099 created on an existing frame and ended up as the sole window on
4100 that frame, do not delete it (Bug#12764).
4101
b08b6da7
SM
41022012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
4103
3618df45
SM
4104 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4105 Rename from sh--inside-arithmetic-expression, handle more cases
4106 (bug#11263).
4107
b08b6da7
SM
4108 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
4109 (sh-font-lock-open-heredoc): Use it (bug#12770).
4110
4ddedf94
GM
41112012-10-30 Glenn Morris <rgm@gnu.org>
4112
f43a5263
GM
4113 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
4114
4ddedf94
GM
4115 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4116
748b0d84
CY
41172012-10-29 Chong Yidong <cyd@gnu.org>
4118
b5dd9a77
CY
4119 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4120 function key is stored in a keyboard macro (Bug#4894).
4121
748b0d84
CY
4122 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4123
e07fcbdc
SM
41242012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4125
d7f9cc85
SM
4126 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4127 header comments".
4128 (diff-unified->context, diff-context->unified)
4129 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4130
c606253c
SM
4131 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4132
e07fcbdc
SM
4133 * files.el (find-alternate-file): Only ask one question (bug#12487).
4134
894b9dd9
CY
41352012-10-29 Chong Yidong <cyd@gnu.org>
4136
1dc2755a
CY
4137 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4138 Suggested by Dan Nicolaescu (Bug#6326).
4139
329c48d8
CY
4140 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4141
2230fa5b 4142 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 4143
e84cad57
CY
4144 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4145
1913c5f5
CY
4146 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4147
894b9dd9
CY
4148 * face-remap.el (face-remap-add-relative): Handle the case where a
4149 face-remapping-alist entry is a cons cell (Bug#12762).
4150
329c48d8
CY
41512012-10-29 Kevin Ryde <user42@zip.com.au>
4152
4153 * woman.el (woman-parse-numeric-value): Handle picas correctly
4154 (Bug#12639).
4155
a0ccbcbd
GM
41562012-10-29 Glenn Morris <rgm@gnu.org>
4157
4158 * emacs-lisp/cl.el (defsetf): Doc fix.
4159
b3871e59
SM
41602012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4161
4162 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4163 syntax to the matching opener, if any (bug#12547).
4164 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4165 matching open as a "case-(".
4166 (sh-smie-rc-grammar): Add a corresponding rule for it.
4167
cd44022c
DH
41682012-10-28 Daniel Hackney <dan@haxney.org>
4169
4170 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4171 "PKGNAME-autoloads.el" in case we created it.
4172
70edffb1
SM
41732012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4174
86957a0c
SM
4175 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4176 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 4177 (completion--twq-all): Disable too-strict assertions.
86957a0c 4178
70edffb1
SM
4179 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4180
d069271c
EZ
41812012-10-27 Eli Zaretskii <eliz@gnu.org>
4182
4183 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4184 text to match the real keybindings.
4185
e2f022a3
JL
41862012-10-27 Juri Linkov <juri@jurta.org>
4187
4188 * wdired.el (wdired-keep-marker-rename): New defcustom.
4189 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4190 (Bug#11795)
4191
4192 * dired.el (dired-keep-marker-rename): Add reference to
4193 `wdired-keep-marker-rename' in the docstring.
4194 Add default character value ?R to display initially in
4195 Customization UI instead of ?@.
4196
df171c23
MR
41972012-10-27 Martin Rudalics <rudalics@gmx.at>
4198
4199 * window.el (display-buffer): In doc-string describe
4200 window-height and window-width alist entries.
4201
4202 * time.el (display-time-world): Restore fit-window-to-buffer
4203 behavior.
4204
05b621a6
CY
42052012-10-27 Chong Yidong <cyd@gnu.org>
4206
4207 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4208
55f197b2
J
42092012-10-26 Jambunathan K <kjambunathan@gmail.com>
4210
4211 * minibuffer.el (completion-category-overrides): New completion
4212 category `bookmark' (bug#11131).
4213
372212df
SM
42142012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4215
150f809c
SM
4216 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4217 Silence bogus compiler warnings for ad-do-it.
4218
372212df
SM
4219 * bookmark.el (bookmark-completing-read): Set the completion category
4220 to `bookmark' (bug#11131).
4221
c5772569
B
42222012-10-26 Bastien <bzg@altern.org>
4223 Stefan Monnier <monnier@iro.umontreal.ca>
4224
4225 * face-remap.el: Use lexical-binding.
4226 (text-scale-adjust): Improve docstring. Use itself for the temporary
4227 overlay-map bindings, so as to repeat the "Use..." message each time.
4228
a2be0357
SM
42292012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4230
63314e57
SM
4231 * emacs-lisp/macroexp.el (macroexp--expand-all):
4232 Obey byte-compile-warning-enabled-p (bug#12486).
4233
a2be0357
SM
4234 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4235 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4236
8c7727c3
MR
42372012-10-26 Martin Rudalics <rudalics@gmx.at>
4238
4239 * mouse.el (mouse-drag-line): Move last form into preceding when
4240 clause (Bug#12731).
4241
4242 * help.el (resize-temp-buffer-window): Fix doc-string.
4243
3f2a848d
DE
42442012-10-25 David Engster <deng@randomsample.de>
4245
4246 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 4247 Remove. This feature is already integrated in imenu.
3f2a848d
DE
4248
4249 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4250 always loaded. Require `speedbar' unconditionally.
4251
a7723be6
SM
42522012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4253
aaabfc8b
SM
4254 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4255
414a8595
SM
4256 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4257
fb5b9475
SM
4258 * net/ldap.el (ldap-search-internal): The official ldif format starts
4259 with a "version: 1" header (bug#12724).
4260
a7723be6
SM
4261 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4262 (bug#12721).
4263
a05cb6e3
GM
42642012-10-25 Glenn Morris <rgm@gnu.org>
4265
4266 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4267
3c92de70
SM
42682012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4269
4270 * minibuffer.el (minibuffer-force-complete): Use one more marker
4271 for the temporary-overlay-map command (bug#12619).
4272
a4b6d7c6
CY
42732012-10-24 Chong Yidong <cyd@gnu.org>
4274
4275 * time.el (display-time-world-mode): Derive from special-mode.
4276 (display-time-world): Use display-buffer (Bug#12708).
4277 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
4278 (display-time-world-display): Wrap the final delete-char inside
4279 inhibit-read-only.
a4b6d7c6 4280
75e8f9d2
CY
42812012-10-24 Chong Yidong <cyd@gnu.org>
4282
cd996018
CY
4283 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4284 Doc fix.
4285
75e8f9d2
CY
4286 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4287
d92df117
SM
42882012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4289
4290 * minibuffer.el (completion--all-sorted-completions-location): New var.
4291 (completion--cache-all-sorted-completions)
4292 (completion--flush-all-sorted-completions): Use it.
4293 (completion-in-region, completion-in-region--postch)
4294 (completion-at-point, completion-help-at-point): Use markers in
4295 completion-in-region--data (bug#12619).
4296
9c3e39f3
SM
42972012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4298
c79825bd
SM
4299 * progmodes/compile.el (compilation-start): Try to handle common
4300 quoting of `cd' argument (bug#12640).
4301
9c3e39f3
SM
4302 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4303 (bug#12671).
4304
a6709bc7
GM
43052012-10-23 Glenn Morris <rgm@gnu.org>
4306
4307 * progmodes/gud.el (gud-menu-map):
4308 Check gdb-active-process is bound. (Bug#12358)
4309
d1069532
SM
43102012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4311
d20d69c0
SM
4312 * repeat.el (repeat): Set real-this-command (bug#12232).
4313
d1069532
SM
4314 * htmlfontify.el (hfy-post-html-hook):
4315 * filesets.el (filesets-cache-fill-content-hook):
4316 * arc-mode.el (archive-extract-hook):
4317 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4318 * net/rcirc.el (rcirc-sentinel-functions)
4319 (rcirc-receive-message-functions, rcirc-activity-functions)
4320 (rcirc-print-functions):
4321 * net/dbus.el (dbus-event-error-functions):
4322 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4323 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4324 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4325 * term/sun.el (sun-raw-prefix-hooks):
4326 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4327
f7eac6d8
MA
43282012-10-23 Michael Albinus <michael.albinus@gmx.de>
4329
d1069532
SM
4330 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4331 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
4332 (tramp-smb-wait-for-output): Add timeout to
4333 `tramp-accept-process-output' calls.
4334
608d9d7c
CY
43352012-10-23 Chong Yidong <cyd@gnu.org>
4336
49238e7f
CY
4337 * faces.el (font-list-limit): Define as an obsolete variable.
4338
4339 * startup.el (command-line):
4340 * cus-start.el: Don't refer to font-list-limit.
4341
608d9d7c
CY
4342 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4343
4ff5b1b2
SM
43442012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4345
4346 * subr.el (internal-temp-output-buffer-show): Rename from
4347 temp-output-buffer-show, since previously compiled files expect this name.
4348
ea1d4aac
GM
43492012-10-23 Glenn Morris <rgm@gnu.org>
4350
4351 * image.el (image-type-from-file-name): If multiple types match,
4352 return the first one that is supported. (Bug#9045)
4353
eda82a31
GM
43542012-10-22 Glenn Morris <rgm@gnu.org>
4355
4356 * image.el (imagemagick-enabled-types): Doc fix.
4357
4f020bec
TA
43582012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4359
4360 * progmodes/which-func.el (which-func-current): The hash-table may have
4361 an explicit nil (bug#12338).
4362
c77d37e2
SM
43632012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * electric.el (electric-pair-delete-selection-self-insert-function):
4366 Rename to electric-pair-will-use-region, return a boolean.
4367 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4368
4369 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4370 (delete-selection-pre-hook): Use use-region-p.
4371 (delete-selection-self-insert-function): Remove.
4372 (self-insert-command): Obey self-insert-uses-region-functions.
4373 (self-insert-iso): Revert to previous setting, since we don't actually
4374 know what that command does.
4375 (delete-selection-self-insert-hooks): Remove.
4376
b1d39ccc
SL
43772012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4378
4379 * delsel.el (delete-selection-helper): New function, extracted from
4380 delete-selection-pre-hook.
4381 (delete-selection-pre-hook): Use it.
4382 (delete-selection-self-insert-function): New function.
4383 (delete-selection-self-insert-hooks): New hook.
4384 (self-insert-command, self-insert-iso): Use it.
4385 * electric.el (electric-pair-syntax): New function, extracted from
4386 electric-pair-post-self-insert-function.
4387 (electric-pair-post-self-insert-function): Use it.
4388 (electric-pair-delete-selection-self-insert-function): New function.
4389 (electric-pair-mode): Require delsel and setup
4390 delete-selection-self-insert-hooks (bug#11520).
4391
045ef729
CY
43922012-10-20 Chong Yidong <cyd@gnu.org>
4393
4c5d08a8
CY
4394 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4395 no changes to show (Bug#12586).
4396
045ef729
CY
4397 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4398 list explicitly (Bug#12571).
4399
3503c798 44002012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 4401
b1d39ccc
SL
4402 * progmodes/flymake.el (flymake-create-temp-inplace):
4403 Use file-truename.
79e1997a 4404
2068905b
EZ
44052012-10-20 Eli Zaretskii <eliz@gnu.org>
4406
4407 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4408
4c9e9550
JB
44092012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4410
4411 * calc/calc-units.el (math-extract-units): Properly extract powers
4412 of units.
4413
1a6e7e38
DC
44142012-10-20 Daniel Colascione <dancol@dancol.org>
4415
4416 * frame.el (make-frame): Set x-display-name as we used to in order
4417 to unbreak creating an X11 frame from an Emacs daemon started
4418 without a display.
4419
8e808318
SM
44202012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4421
4422 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 4423 the same completion-field (bug#12221).
8e808318 4424
fb0104da
MR
44252012-10-19 Martin Rudalics <rudalics@gmx.at>
4426
4427 * emacs-lisp/debug.el (debug): Record height of debugger window
4428 also when debugger will be back (Bug#8789).
4429
8c27235e
CY
44302012-10-18 Chong Yidong <cyd@gnu.org>
4431
4432 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4433 Convert to defcustom.
4434 (gdb-get-source-file): Don't bind pop-up-windows.
4435
4436 * progmodes/gud.el (gud-display-line): Don't specially re-use
4437 other frames for the gdb-mi case (Bug#12648).
4438
90eacf99
SM
44392012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4440
aaf0c300
SM
4441 * emacs-lisp/advice.el: Clean up commentary a bit.
4442 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4443 (byte-code-function-p): Never redefine.
4444
90eacf99
SM
4445 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4446
281c9d2b
GM
44472012-10-18 Glenn Morris <rgm@gnu.org>
4448
40714e3d
GM
4449 * dired.el (dired-sort-toggle): Some ls implementations only allow
4450 a single option string. (Bug#12666)
4451
281c9d2b
GM
4452 * minibuffer.el (completion-cycle-threshold): Doc fix.
4453
b278604e
KH
44542012-10-17 Kenichi Handa <handa@gnu.org>
4455
90eacf99
SM
4456 * international/mule.el (set-keyboard-coding-system):
4457 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
4458 Supply TERMINAL arg to set-input-meta-mode.
4459
df171c23 44602012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
4461
4462 * wdired.el (wdired-old-marks): New variable.
4463 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4464 (wdired-do-renames): Move point with renamed file and don't lose
4465 mark status (Bug#11795).
4466
e5a94ec4
JL
44672012-10-16 Juri Linkov <juri@jurta.org>
4468
4469 * replace.el (query-replace-help): Mention multi-buffer replacement
4470 keys in the Help message. (Bug#12655)
4471
d18a0d24
CY
44722012-10-15 Chong Yidong <cyd@gnu.org>
4473
4474 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4475
8111f5e6
EZ
44762012-10-14 Eli Zaretskii <eliz@gnu.org>
4477
7b9abf24
EZ
4478 * window.el (display-buffer): Doc fix.
4479
8111f5e6
EZ
4480 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4481 Adjust the msft regexp to the output of Studio 2010, and move msft
4482 before edg-1. See the discussion on emacs-devel,
4483 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4484 for the details.
4485
5046ef67
SM
44862012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4487
9760c73c
SM
4488 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4489 (oset): Move uses of object-class-fast macro after its definition.
4490
5046ef67
SM
4491 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4492
0d11ff1c
CY
44932012-10-13 Chong Yidong <cyd@gnu.org>
4494
4495 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4496 enabled, re-enable it (Bug#11963).
4497
88ded8ac
MR
44982012-10-13 Martin Rudalics <rudalics@gmx.at>
4499
4500 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4501 non-nil, restore window configuration (Bug#12623).
4502
bd0ffffd
SM
45032012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4504
06485aa8
SM
4505 * help-fns.el (describe-variable, describe-function-1):
4506 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4507
bd0ffffd
SM
4508 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4509
3a989246
GM
45102012-10-12 Glenn Morris <rgm@gnu.org>
4511
4512 * mail/rmailsum.el (rmail-header-summary):
4513 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4514
55cd00c8
FEG
45152012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4516
bd0ffffd
SM
4517 * progmodes/python.el (python-mode-map):
4518 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
4519 (python-nav--up-list): Fix behavior for blocks on the same level.
4520
ac9fc2c7
SM
45212012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4522
d8cc4c00 4523 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 4524
5253a5fd
SM
4525 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4526 changes to the format of load-history.
4527
ac9fc2c7
SM
4528 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4529 completion-ignore-case in case that var is buffer-local (bug#12615).
4530
cde44a77
KH
45312012-10-11 Kenichi Handa <handa@gnu.org>
4532
4533 * international/eucjp-ms.el: Re-generated.
4534
4ef4a10d
KH
45352012-10-10 Kenichi Handa <handa@gnu.org>
4536
4537 * select.el (xselect--encode-string): If a coding is specified for
4538 selection, and that is compatible with COMPOUND_TEXT, use it.
4539
9d7f027b
MR
45402012-10-10 Martin Rudalics <rudalics@gmx.at>
4541
4542 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
4543 (switch-to-buffer):
4544 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 4545
238f3a58
SM
45462012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4547
4548 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4549 Don't document nil as a useful value (bug#12583).
4550
1d51f99c
MA
45512012-10-09 Michael Albinus <michael.albinus@gmx.de>
4552
238f3a58
SM
4553 * net/tramp.el (tramp-debug-message):
4554 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
4555 (with-tramp-progress-reporter): Rename from
4556 `tramp-with-progress-reporter'.
238f3a58
SM
4557 (with-tramp-file-property, with-tramp-connection-property):
4558 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
4559 `with-connection-property', respectively.
4560
4561 * net/tramp-cache.el: Remove `with-file-property' and
4562 `with-connection-property'.
4563
4564 * net/tramp.el:
4565 * net/tramp-gvfs.el:
4566 * net/tramp-sh.el:
4567 * net/tramp-smb.el: Adapt callees.
4568
4569 * net/trampver.el: Update release number.
4570
26b77251
GM
45712012-10-09 Glenn Morris <rgm@gnu.org>
4572
9a5f296f
GM
4573 * w32-fns.el (set-message-beep):
4574 * term/w32-win.el (set-message-beep): Update declarations.
4575
94c66ce5
SM
45762012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4577
10766e9e
SM
4578 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4579 (mode-line-widen, mode-line-input-method-map)
4580 (mode-line-coding-system-map, mode-line-remote)
4581 (mode-line-unbury-buffer, mode-line-bury-buffer)
4582 (mode-line-next-buffer, mode-line-previous-buffer):
4583 Replace save-selected-window+select-window => with-selected-window.
4584
f754db08
SM
4585 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4586 * progmodes/cc-vars.el (bq-process): Remove, unused.
4587
94c66ce5
SM
4588 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4589
a4ff7fe1
FEG
45902012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4591
4592 Implemented `backward-up-list'-like navigation.
4593 * progmodes/python.el (python-nav-up-list)
4594 (python-nav-backward-up-list): New functions.
4595 (python-mode-map): Define substitute key for backward-up-list to
4596 python-nav-backward-up-list.
4597
24517d82
FEG
45982012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4599
4600 * progmodes/python.el (python-fill-paragraph): Rename from
4601 python-fill-paragraph-function. Fixed fill-paragraph for
4602 decorators (Bug#12605).
4603
51867ae2
FEG
46042012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4605
4606 * progmodes/python.el (python-shell-output-filter): Handle extra
4607 carriage return in OSX (Bug#12409).
4608
a5b773c4
FEG
46092012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4610
4611 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 4612 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
4613 (python-syntax-propertize-function): Use it.
4614 (python-shell-output-syntax-table): New var.
4615 (inferior-python-mode): Prevent unbalanced parens/quotes from
4616 previous output mess with current input context.
4617
13373538
JB
46182012-10-08 Juanma Barranquero <lekktu@gmail.com>
4619
4620 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4621 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4622
775a132d
MA
46232012-10-08 Michael Albinus <michael.albinus@gmx.de>
4624
4625 * ffap.el (ffap-replace-file-component): Support Tramp file name
4626 syntax, not only ange-ftp's one.
4627
3ab44929
GM
46282012-10-08 Glenn Morris <rgm@gnu.org>
4629
57f1dee4
GM
4630 * cus-start.el (message-log-max): Set :version.
4631
3ab44929
GM
4632 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4633
6a088630
MR
46342012-10-08 Martin Rudalics <rudalics@gmx.at>
4635
4636 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4637 the minibuffer window (Bug#10851).
4638
8dbce54c
FEG
46392012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4640
4641 Enhancements on forward-sexp movement.
4642 * progmodes/python.el (python-nav-beginning-of-statement)
4643 (python-nav-end-of-statement): Return point-marker.
4644 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4645 (python-info-current-symbol)
4646 (python-info-statement-starts-block-p): Rename from
4647 python-info-beginning-of-block-p.
4648 (python-info-statement-ends-block-p): Rename from
4649 python-info-end-of-block-p.
4650 (python-info-beginning-of-statement-p)
4651 (python-info-end-of-statement-p)
4652 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4653 New functions.
4654
5acd2b3e
SM
46552012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4656
4657 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4658 frame-selected-windows.
4659
e08348a0
DC
46602012-10-08 Daniel Colascione <dancol@dancol.org>
4661
4662 * battery.el (battery-status-function): Check for
4663 w32-battery-status itself, not system-time windows-nt.
4664
4665 * frame.el: Require cl-lib.
4666 (display-format-alist): New variable mapping frame types to
4667 functions that initialize them.
4668 (window-system-for-display): New function: interprets
4669 display-format-alist.
4670 (make-frame-on-display): Remove existing display-selection logic
4671 and just forward to make-frame, which will now DTRT.
4672 (make-frame): Restructure to use window-system-for-display to
4673 figure out how to create a frame on a given display.
4674 (display-mouse-p): Look for frame-type w32, not a particular
4675 system-type.
4676
4677 * loadup.el: Load w32 lisp code when we have the w32 feature.
4678
4679 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4680 system-type windows-nt.
4681
4682 * server.el (server-create-window-system-frame): Look for window
4683 type.
4684 (server-proces-filter): Only force a window system when windows-nt
4685 _and_ w32. Explain why.
4686
4687 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4688 of window systems we configure for the mode.
4689
4690 * startup.el (command-line): Mark window system is initialized
4691 after we've done it.
4692
4693 * common-win.el (x-select-text): Look for w32, not windows-nt.
4694
4695 * ns-win.el: Require cl-lib. Add ourselves to
4696 display-format-alist.
4697 (ns-initialize-window-system): Assert we're not initialized twice.
4698
4699 * w32-win.el: Enable lexical binding; require cl-lib; add
4700 ourselves to display-format-alist.
4701 (w32-handle-dropped-file): Convert incoming dropped files from
4702 Windows paths to Cygwin ones before passing them on to the rest of
4703 Emacs.
4704 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4705 (w32-initialize-window-system): Assert we're not initialized twice.
4706
4707 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4708 (x-initialize-window-system): Assert we're not initialized twice.
4709
4710 * w32-common-fns.el: New File.
4711 (w32-version, w32-using-nt, w32-get-clipboard-data)
4712 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4713 (w32-charset-info-alist, x-last-selected, text)
4714 (x-get-selection-value, x-selection-value): Move here.
4715
4716 * w32-fns.el: Require w32-common-fns.
4717 (w32-version, w32-using-nt, w32-get-clipboard-data)
4718 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4719 (w32-charset-info-alist, x-last-selected, text)
4720 (x-get-selection-value, x-selection-value): Move to
4721 w32-common-fns.
4722
4723 * w32-vars.el:
4724 (w32-allow-system-shell, w32-system-shells): Define only in
4725 non-cygwin case.
4726
795b1482
SM
47272012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4728
4729 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4730 (read-passwd): Remove a few more potential sources of leaks.
4731
f27c99dc
FEG
47322012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4733
4734 * progmodes/python.el (inferior-python-mode)
795b1482 4735 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
4736 variables copied from parent buffer.
4737
fcacb558
JD
47382012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4739
4740 * term/ns-win.el (ns-read-file-name): Update declaration to match
4741 nsfns.m.
4742 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4743 it is set when font is acted upon.
4744
be0d5bae
FEG
47452012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4746
4747 Enhancements to indentation.
4748 * progmodes/python.el (python-indent-context): Give priority to
4749 inside-string context. Make comments indentation markers.
4750 (python-indent-region): Do not mess with strings, unless it's the
4751 enclosing set of quotes.
4752
13af0d10
SM
47532012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4754
662a9d0e
SM
4755 * window.el (internal--before-save-selected-window)
4756 (internal--after-save-selected-window): New functions extracted from
4757 save-selected-window. Make sure we return the `alist' we construct.
4758 (save-selected-window): Use them.
4759
4760 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4761 Use with-selected-window.
4762
13af0d10
SM
4763 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4764 forms that define macros (bug#12593).
4765
6aa75fb6
KH
47662012-10-07 Kenichi Handa <handa@gnu.org>
4767
13af0d10
SM
4768 * international/mule-conf.el (compound-text-with-extensions):
4769 Add :mime-charset property as x-ctext.
6aa75fb6 4770
78d876b9
SM
47712012-10-07 Stefan Merten <smerten@oekonux.de>
4772
4773 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4774 (rst-indent-literal-normal, rst-indent-literal-minimized)
4775 (rst-indent-comment): Correct :version tag.
557337e9 4776 (rst-official-cvs-rev): Correct version string.
78d876b9 4777
99a1e701
GM
47782012-10-07 Glenn Morris <rgm@gnu.org>
4779
4780 * mail/rmailmm.el (rmail-mime-process-multipart):
4781 Do not confuse a multipart message with an epilogue
4782 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4783
08f18c3d
FEG
47842012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4785
4786 Fix shell output retrieval and comint-prompt-regexp init.
4787 * progmodes/python.el (inferior-python-mode):
4788 (python-shell-make-comint): Fix initialization of
4789 comint-prompt-regexp from copied file local variables.
4790 (python-shell-fetched-lines): Remove var.
4791 (python-shell-output-filter-in-progress): Rename from
4792 python-shell-fetch-lines-in-progress.
4793 (python-shell-output-filter-buffer): Rename from
4794 python-shell-fetch-lines-string.
4795 (python-shell-fetch-lines-filter): Delete function.
4796 (python-shell-output-filter): New function.
4797 (python-shell-send-string-no-output): Use them.
4798
82ed3ab4
GM
47992012-10-07 Glenn Morris <rgm@gnu.org>
4800
1595ecfa
GM
4801 * hi-lock.el (hi-lock-process-phrase):
4802 Try to make it less fragile. (Bug#7161)
4803
82ed3ab4
GM
4804 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4805
f1f4dba0
GM
48062012-10-06 Glenn Morris <rgm@gnu.org>
4807
addc11ed 4808 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
4809 non-existent mode `help'.
4810 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 4811
460042b8
GM
4812 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4813 (reftex-create-bibtex-footer): Fix custom types.
4814
67667c70
GM
4815 * progmodes/sh-script.el (sh-indent-after-continuation):
4816 Add explicit :group.
4817
18dec750
GM
4818 * textmodes/rst.el (rst-preferred-decorations)
4819 (rst-shift-basic-offset): Clarify obsolescence versions.
4820
d1a1c7e6
GM
4821 * profiler.el (profiler): Add missing group :version tag.
4822 * avoid.el (mouse-avoidance-banish-position):
4823 * proced.el (proced-renice-command):
4824 * calc/calc.el (calc-ensure-consistent-units):
4825 * calendar/icalendar.el (icalendar-import-format-uid):
4826 * net/tramp.el (tramp-save-ad-hoc-proxies):
4827 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4828 * progmodes/flymake.el (flymake-error-bitmap)
4829 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4830 * progmodes/sh-script.el (sh-indent-after-continuation):
4831 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4832 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4833 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4834 (vhdl-array-index-record-field-in-sensitivity-list)
4835 (vhdl-indent-comment-like-next-code-line):
4836 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4837 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4838 (reftex-cite-key-separator, reftex-create-bibtex-header)
4839 (reftex-create-bibtex-footer):
4840 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4841 (rst-indent-literal-normal, rst-indent-literal-minimized)
4842 (rst-indent-comment): Add missing custom :version tags.
4843
ef35abb4
GM
4844 * calendar/timeclock.el (timeclock-modeline-display):
4845 Add missing obsolete alias for renamed user option.
4846
d1aae614
GM
4847 * strokes.el (strokes-modeline-string):
4848 * emulation/crisp.el (crisp-mode-modeline-string):
4849 * eshell/esh-mode.el (eshell-status-in-modeline):
4850 Aliases to defcustoms must come before the defcustom.
4851
f1f4dba0
GM
4852 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4853 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4854 (cal-tex-cursor-week-monday): Doc fixes.
4855 (cal-tex-cursor-week2-summary): Doc fix.
4856 Rename from cal-tex-cursor-week-at-a-glance.
4857
4858 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4859 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4860
4861 * calendar/calendar.el (calendar-mode-map):
4862 Add cal-tex-cursor-week2-summary.
4863
d39109c3
SM
48642012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4865
685f87b0
SM
4866 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4867
d39109c3
SM
4868 * subr.el (read-passwd-map): New var.
4869 (read-passwd): Use `read-string' again.
4870 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4871
5694896d
J
48722012-10-06 Jambunathan K <kjambunathan@gmail.com>
4873
4874 * register.el (append-to-register, prepend-to-register):
4875 Deactivate mark, as does `copy-to-register' (bug#12389).
4876
9414dd8d
CY
48772012-10-06 Chong Yidong <cyd@gnu.org>
4878
4879 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4880
2b89bca4
KH
48812012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4882
4883 * international/characters.el: Fix simple mistake ((car chars) ->
4884 elt), delete duplicated code.
4885
d5acb99a
GM
48862012-10-06 Glenn Morris <rgm@gnu.org>
4887
4888 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4889
123ec157
JS
48902012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4891
4892 * color.el (color-hsl-to-rgb): Fix incorrect results for
4893 small and large hue values. (Bug#12559)
4894
7fa36ccb
FEG
48952012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4896
4897 Enhancements to docstring formatting when filling paragraphs.
4898 * progmodes/python.el (python-fill-docstring-style): Rename from
4899 python-fill-string-style. Added new style.
4900 (python-fill-string): Use new style. Better checks for
4901 docstrings.
4902
d8788e1e
GM
49032012-10-05 Glenn Morris <rgm@gnu.org>
4904
204f3953
GM
4905 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4906
d8788e1e
GM
4907 * color.el (color-name-to-rgb, color-rgb-to-hex)
4908 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4909 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4910 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4911 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4912
8d956cef
GM
4913 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4914
e8757f09 49152012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
4916
4917 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4918 to get the correct size across symlinks.
4919
e8757f09
GM
4920 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4921
0e2ae83d
JL
49222012-10-04 Juri Linkov <juri@jurta.org>
4923
4924 * replace.el (query-replace-interactive): Declare obsolete.
4925 (query-replace-read-from): Add the last incremental search string
4926 to the list of default values accessible via M-n.
4927 (map-query-replace-regexp): Use `read-regexp'.
4928 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4929 (map-query-replace-regexp, replace-string, replace-regexp):
4930 Fix docstrings to replace mentions of `query-replace-interactive'
4931 with alternatives. (Bug#12526)
4932
93cacb6d
JL
49332012-10-04 Juri Linkov <juri@jurta.org>
4934
4935 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4936 (dired-pop-to-buffer): Declare obsolete.
4937 (dired-mark-pop-up): Doc fix.
4938
fc345011
FEG
49392012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4940
4941 Allow user to set docstring style for fill-paragraph.
4942 * progmodes/python.el
4943 (python-fill-comment-function, python-fill-string-function)
4944 (python-fill-decorator-function, python-fill-paren-function):
4945 Remove :safe for defcustoms.
4946 (python-fill-string-style): New defcustom
5694896d 4947 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
4948 (python-fill-string): Honor python-fill-string-style settings.
4949
6bab5d8b
MR
49502012-10-04 Martin Rudalics <rudalics@gmx.at>
4951
4952 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4953 after setting its buffer (Bug#10805).
4954
a1a9f411
FEG
49552012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4956
4957 Fix cornercase for string syntax.
4958 * progmodes/python.el (python-syntax-propertize-function):
4959 Simplify and enhance the regexp for unescaped quotes. Now it also
4960 matches quotes in weird situations like the single quote in
4961 "something\"'".
4962 (python-syntax-stringify): Simplify num-quotes detecting code.
4963
05e153a6
GM
49642012-10-03 Glenn Morris <rgm@gnu.org>
4965
4966 * help-macro.el (three-step-help):
4967 Revert 2012-09-29 change. (Bug#12567)
4968
2e566ecb
MR
49692012-10-03 Martin Rudalics <rudalics@gmx.at>
4970
96ef9ccd
MR
4971 * menu-bar.el (kill-this-buffer): Don't do anything when
4972 `menu-frame' is not alive or visible (Bug#8184).
4973
2e566ecb
MR
4974 * emacs-lisp/debug.el (debug): When quitting the debugger window
4975 restore current buffer (Bug#12502).
4976
a96e1cb7
CY
49772012-10-02 Chong Yidong <cyd@gnu.org>
4978
5694896d
J
4979 * progmodes/hideif.el (hif-lookup, hif-defined):
4980 Handle semantic-c-takeover-hideif.
a96e1cb7 4981
b3ecad33
PE
49822012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4983
4984 Change sampling interval units from ms to ns.
4985 * profiler.el (profiler-sampling-interval): Change units
4986 from ms to ns, multiplying the default by 1000000 so that
4987 it remains 1 ms.
4988 (profiler-report-cpu-line-format): Give enough room for
4989 the maximum counters on 64-bit hosts.
4990 (profiler-report-render-calltree-1): Call them "CPU samples",
4991 not "Time (ms)", since they are not milliseconds now (and
4992 never really were).
4993
8cb51b66 49942012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 4995
5694896d
J
4996 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4997 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 4998
fd795bf4
CY
49992012-10-02 Chong Yidong <cyd@gnu.org>
5000
5001 * emacs-lisp/eieio.el: Restore Version header.
5002
fe0a74f9
SM
50032012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5004
6be9197e
SM
5005 * vc/diff-mode.el (diff--auto-refine-data): New var.
5006 (diff-hunk): Use it to delay refinement.
5007 (diff-mode): Remove overlays when we turn off font-lock.
5008
18486139
SM
5009 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
5010 (table-initialize-table-fixed-width-mode)
5011 (table-set-table-fixed-width-mode): Remove functions.
5012 (table-command-list): Move initialization into declaration.
5013 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
5014 (table-with-cache-buffer): Use `declare'.
5015 (table-span-cell): Simplify via CSE.
5016 (table-fixed-width-mode): Use define-minor-mode.
5017 (table-call-interactively, table-funcall, table-apply): Remove.
5018 (table-function): New function, to replace them.
5019
d83ef976
SM
5020 * bookmark.el (bookmark-search-pattern): Remove var.
5021 (bookmark-read-search-input): Remove function.
5022 (bookmark-bmenu-search): Reimplement using a minibuffer.
5023
cd386662
SM
5024 * faces.el (modeline): Remove obsolete face name.
5025
fe0a74f9
SM
5026 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
5027 and give a non-nil default value.
5028 (add-change-log-entry): Simplify accordingly.
5029
9f7b98f8
DG
50302012-10-01 Dmitry Gutov <dgutov@yandex.ru>
5031
5032 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
5033 (vc-git-log-edit-toggle-amend): New function.
5034 (vc-git-log-edit-toggle-signoff): New function.
5035 (vc-git-log-edit-mode): New major mode.
5036 (vc-git-log-edit-mode-map): Keymap for it.
5037 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
5038
5039 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
5040 header names.
5041 (log-edit-toggle-header): New function.
5042 (log-edit-extract-headers): Accept function values in HEADERS alist.
5043
62a81506
CY
50442012-10-01 David Engster <deng@randomsample.de>
5045
5046 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
5047 from symbol property and change message to be more consistent with
5048 Emacs proper.
5049 (eieio-describe-generic): Add filename for each implementation.
5050 Fix indices for generic and normal methods.
5051 (eieio-method-def, eieio-class-def): New buttons.
5052 (eieio-help-find-method-definition)
5053 (eieio-help-find-class-definition): New functions.
5054 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
5055 class, constructor and method definitions.
5056
5057 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
5058 information in symbol property.
5059 (scoped-class): Remove.
5060 (eieio-slot-name-index, call-next-method): Check if it is bound.
5061
50622012-10-01 Leo P. White <lpw25@cam.ac.uk>
5063
5064 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
5065 (eieio-custom-mode): New major mode.
5066 (eieio-customize-object): Use it.
5067
50682012-10-01 Eric Ludlam <zappo@gnu.org>
5069
5070 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
5071 specifying the expected class, and whether subclassing is allowed.
5072 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
5073 (eieio-persistent-validate/fix-slot-value)
5074 (eieio-persistent-slot-type-is-class-p): New functions.
5075 (eieio-named::slot-missing): Doc fix.
62a81506
CY
5076
5077 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
5078 Stop using unused publd variable.
5079
5080 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5081 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
5082 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
5083 (eieio-speedbar-handle-click): Do not specify a class for the
5084 method. Fixes method invocation order problems with EDE.
5085
375e49d4
SM
50862012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5087
5088 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
5089 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
5090
16ce6ccd
KF
50912012-10-01 Karl Fogel <kfogel@red-bean.com>
5092
5093 * bookmark.el (bookmark-version-control): Give tags in the
5094 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
5095 (bookmark-write-file): Bind `print-circle' to `t' to allow
5096 circular custom bookmark types. (Bug#12503)
16ce6ccd 5097
19e54a4d
PE
50982012-10-01 Paul Eggert <eggert@cs.ucla.edu>
5099
86ec63ba
PE
5100 Revert the FOLLOW-SYMLINKS change for file-attributes.
5101 * files.el (remote-file-name-inhibit-cache, after-find-file):
5102 * time.el (display-time-file-nonempty-p): Undo last change.
5103
19e54a4d
PE
5104 * profiler.el (profiler-sampling-interval): Change default back to 1.
5105 See Stefan Monnier in
5106 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
5107
0478776b
FEG
51082012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
5109
5110 Shell output catching a la gud-gdb.
5111 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
5112 (python-shell-fetch-lines-string, python-shell-fetched-lines):
5113 New Vars.
0478776b
FEG
5114 (python-shell-fetch-lines-filter): New function.
5115 (python-shell-send-string-no-output): Use them.
5116
c22bac2c
TM
51172012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5118
5119 * profiler.el (profiler-sampling-interval): Rename from
5120 profiler-sample-interval.
5121 (profiler-sampling-interval): Default to 10.
5122 (profiler-find-profile): New command (was profiler-find-log).
5123 (profiler-find-profile-other-window): New command.
5124 (profiler-find-profile-other-frame): New command.
5125 (profiler-profile): Introduce API-level data structure.
5126
e7a2937b
PE
51272012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5128
5129 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5130 * files.el (remote-file-name-inhibit-cache):
5131 * time.el (display-time-file-nonempty-p): Use it.
5132 * files.el (after-find-file): Don't chase links before calling
5133 file-exists-p, as file-exists-p already does the right thing.
5134
4f595e15
RA
51352012-09-30 Ralf Angeli <angeli@caeruleus.net>
5136
5137 Merge from standalone RefTeX repository.
5138
5139 The following ChangeLog entries are shortened versions of the
5140 original ones with file paths adapted. A not so strongly edited
5141 version of the original ChangeLog can be found in the commit log.
5142
5143 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
5144 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5145 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
5146
5147 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
5148 that entries with whitespace at various places are found.
5149 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
5150 Include @String definitions in the resulting bib file. Add header
5151 and footer defined in `reftex-create-bibtex-header' and
5152 `reftex-create-bibtex-footer'.
5153 (reftex-do-citation): Make it possible again to insert
5154 non-existent entries. Save match data when asking for optional
5155 arguments. Return all keys, not just the first one.
5156 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5157 all citations in the same line.
5158 (reftex-parse-bibtex-entry): Accept additional optional argument
5159 `raw' and keep quotes or braces if it is non-nil. Match fields
5160 containing hyphens besides word constituents.
5161 (reftex-get-string-refs): New function.
5162 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5163 and ask if it should be reread in case it did.
5164 (reftex-pop-to-bibtex-entry)
5165 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5166 entries with spaces or tabs in front of arguments.
5167 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
5168 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5169 Match entries containing numbers and symbol constituents.
5170 (reftex-do-citation, reftex-figure-out-cite-format):
5171 Use `reftex-cite-key-separator'.
4f595e15
RA
5172
5173 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5174 (reftex-mouse-view-crossref): Explain why point is set.
5175
5176 * textmodes/reftex-global.el: Whitespace changes.
5177
5178 * textmodes/reftex-index.el: Move provide statement to end of
5179 file.
5180 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5181 (reftex-index-visit-phrases-buffer): Set marker when visiting
5182 buffer. This allows for returning from the phrases file to the
5183 file one was just editing instead of the file where the last
5184 phrases was added from.
5185 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5186 punctuation syntax as it usually is not used as string quote in
5187 TeX-related modes and may occur unmatched. The change also
5188 prevents fontification of quoted content.
5189 (reftex-index-phrases-mode): Use it.
5190
375e49d4
SM
5191 * textmodes/reftex-parse.el (reftex-parse-from-file):
5192 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
5193 (reftex-parse-from-file): Use beginning of match instead of end as
5194 bound.
5195
5196 * textmodes/reftex-ref.el: Adapt creation of
5197 `reftex-<package>-<macro>' functions to new structure of
5198 `reftex-ref-style-alist'.
375e49d4
SM
5199 (reftex-reference): Use `reftex-ref-style-list' function.
5200 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
5201 reference macro if `reftex-ref-macro-prompt' is non-nil.
5202 (reftex-reference): Pass refstyle to `reftex-format-special'.
5203 Determine reference macro by looking at
375e49d4
SM
5204 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5205 Use only one special format function.
4f595e15
RA
5206 (reftex-varioref-vref, reftex-fancyref-fref)
5207 (reftex-fancyref-Fref): Remove definitions. The functions are now
5208 generated from `reftex-ref-style-alist'.
5209 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5210 Remove.
5211 (reftex-format-special): New function.
5212
5213 * textmodes/reftex-sel.el
5214 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5215 of `reftex-ref-style-alist'. Remove code for testing macro type.
5216 (reftex-select-toggle-varioref)
5217 (reftex-select-toggle-fancyref): Remove.
5218 (reftex-select-cycle-ref-style-internal)
5219 (reftex-select-cycle-ref-style-forward)
5220 (reftex-select-cycle-ref-style-backward): New functions.
5221 (reftex-select-label-map): Use `v' and `V' for general cycling
5222 through reference styles. Add `p' for switching between number
5223 and page reference types.
5224
375e49d4
SM
5225 * textmodes/reftex-toc.el (reftex-re-enlarge):
5226 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
5227 the horizontal version throws an error even if the parameter is 0.
5228
5229 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5230 (reftex-plug-into-AUCTeX): Doc fix.
5231 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5232 string. Adapt to new name.
5233 (reftex-ref-style-alist): Change structure so that it is not
5234 possible to use multiple different package names within a style.
375e49d4
SM
5235 Remove the symbols for symbols for macro type distinction.
5236 Add characters for macro selection.
4f595e15
RA
5237 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5238 (reftex-create-bibtex-footer): New variables.
5239 (reftex-format-ref-function): Mention third argument of special
5240 format function.
375e49d4
SM
5241 (reftex-ref-style-alist, reftex-ref-style-default-list):
5242 New variables.
4f595e15
RA
5243 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5244 to new implementation. Mark as obsolete. Add compatibility code
5245 for honoring the variable values in case they are set.
375e49d4
SM
5246 (reftex-cite-format-builtin, reftex-bibliography-commands):
5247 Add support for ConTeXt.
5248 (reftex-format-ref-function, reftex-format-cite-function):
5249 Fix custom type.
4f595e15
RA
5250 (reftex-cite-key-separator): New variable.
5251
5252 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5253 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5254 `reftex-syntax-table' because parens have to retain their paren
5255 syntax in order for parsing of BibTeX entries like @book(...) to
5256 work.
5257 (reftex-in-comment): Do not error out if `comment-start-skip' is
5258 not set. Deal correctly with escaped comment characters.
375e49d4
SM
5259 (reftex-tie-multifile-symbols): Add doc string.
5260 Initialize `reftex-ref-style-list'.
4f595e15
RA
5261 (reftex-untie-multifile-symbols): Add doc string.
5262 (reftex-add-index-macros): Doc fix.
5263 (reftex-ref-style-activate, reftex-ref-style-toggle)
5264 (reftex-ref-style-list): New functions.
5265 (reftex-mode-menu): Use them. Adapt to new structure of
5266 `reftex-ref-style-alist'.
5267 (reftex-select-with-char): Kill the RefTeX Select buffer when
5268 done.
5269 (reftex-remove-if): New function.
5270 (reftex-erase-all-selection-and-index-buffers)
5271 (reftex-mode-menu): Reference styles are now computed from
5272 `reftex-ref-style-alist'. Fix typo.
5273 (reftex-report-bug): New function.
5274 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5275 algorithms with O(n log n). Introduce optional argument SORT (not
5276 yet used).
5277
440ba395
FEG
52782012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5279
5280 Enhancements for triple-quote string syntax.
375e49d4
SM
5281 * progmodes/python.el (python-syntax-propertize-function):
5282 Match both quote cases in one regexp.
440ba395
FEG
5283 (python-syntax-stringify): Handle matches properly.
5284
4c478e6b
JL
52852012-09-30 Juri Linkov <juri@jurta.org>
5286
5287 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 5288 to nil around the call to `insert' to prevent
4c478e6b
JL
5289 directory time modification by lock_file. (Bug#2295)
5290 * tar-mode.el (tar-summarize-buffer): Idem.
5291
d80d54b2
JL
52922012-09-30 Juri Linkov <juri@jurta.org>
5293
5294 * facemenu.el (list-colors-sort): Add option "Luminance".
5295 (list-colors-sort-key): Implement it.
5296
5297 * vc/diff-mode.el (diff-refine-removed):
5298 * vc/ediff-init.el (ediff-fine-diff-A):
5299 * vc/smerge-mode.el (smerge-refined-removed):
5300 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5301
d7e642cc
JD
53022012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5303
5304 * term/ns-win.el (x-file-dialog): New function.
5305
ee41332b
JB
53062012-09-30 Juanma Barranquero <lekktu@gmail.com>
5307
5308 * ido.el (ido-max-directory-size): Default to nil; the current
5309 default is small for POSIX systems, and impractical on Windows 7
5310 now that lstat returns directory sizes for NTFS.
5311
5938d519
MR
53122012-09-30 Martin Rudalics <rudalics@gmx.at>
5313
5314 In buffer display functions handle window-height/window-width
5315 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
5316 * window.el (window--display-buffer): New argument ALIST.
5317 Obey window-height and window-width alist entries.
5318 (window--try-to-split-window): New argument ALIST.
5319 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
5320 changed and window-combination-limit equals `window-size'.
5321 (display-buffer-in-atom-window)
5322 (display-buffer-in-major-side-window)
5323 (display-buffer-in-side-window, display-buffer-same-window)
5324 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5325 (display-buffer-pop-up-window, display-buffer-below-selected)
5326 (display-buffer-at-bottom, display-buffer-in-previous-window)
5327 (display-buffer-use-some-window): Adjust all callers of
5328 window--display-buffer and window--try-to-split-window.
5329 (fit-frame-to-buffer): New option.
5330 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5331 is non-nil.
5332 (display-buffer-in-major-side-window): Evaluate window-height /
5333 window-width alist entries.
5334
5335 * help.el (temp-buffer-resize-frames)
5336 (temp-buffer-resize-regexps): Remove options.
5337 (temp-buffer-resize-mode): Adjust doc-string.
5338 (resize-temp-buffer-window): Don't consult
5339 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5340 temp-buffer-resize-frames.
5341
375e49d4
SM
5342 * dired.el (dired-mark-pop-up):
5343 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
5344 entry.
5345
c4c0c2df
CY
53462012-09-30 Chong Yidong <cyd@gnu.org>
5347
48de8b12
CY
5348 * server.el (server-host): Document the security implications.
5349 (server-auth-key): Doc fix.
5350
5351 * startup.el (initial-buffer-choice): Doc fix.
5352
5353 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5354
a97dc380
CY
5355 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5356 restriction change.
5357
d39d3c8e
CY
5358 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5359
c4c0c2df
CY
5360 * help-fns.el (help-fns--obsolete): Fix last change.
5361
98a5e33b
SM
53622012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5363
34cf6f39
SM
5364 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5365 (minor-mode-map-alist): Remove redundant code.
5366
e01c13fe
SM
5367 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5368 visited in a buffer.
5369 (cvs-insert-visited-file): New function.
5370 (find-file-hook): Use it.
5371
5372 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5373
02661b3a
SM
5374 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5375 chose face.
5376 (log-edit-empty-buffer-p): Don't require a space after a header.
5377
43711d4b
SM
5378 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5379
38a30d64
SM
5380 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5381
4ffb41a9
SM
5382 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5383 a proper minor-mode.
5384
98a5e33b
SM
5385 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5386
de82e29b
GM
53872012-09-29 Glenn Morris <rgm@gnu.org>
5388
5cc2e639
GM
5389 * winner.el (winner-mode): Remove variable (let define-minor-mode
5390 handle it).
5391 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5392 Doc fixes.
5393 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5394 (winner-mode): Use define-minor-mode.
5395
7bd302eb
GM
5396 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5397 the full definition in loaddefs, rather than duplicating it.
5398
2923922f 5399 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 5400
0e3e4156
GM
5401 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5402 (inferior-lisp-program, inferior-lisp-load-command)
5403 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 5404 No need to autoload defcustoms.
0e3e4156 5405
de82e29b
GM
5406 * hippie-exp.el (hippie-expand-try-functions-list)
5407 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5408 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5409 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 5410 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
5411 * progmodes/vhdl-mode.el (vhdl-line-expand):
5412 Explicitly load hippie-exp, so it does not get autoloaded
5413 while hippie-expand-try-functions-list is let-bound.
5414
e60b51ab
GM
54152012-09-28 Glenn Morris <rgm@gnu.org>
5416
277f0cfa
GM
5417 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5418
e60b51ab
GM
5419 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5420 Only "cl.el" counts as cl these days.
5421
53baf48a
JL
54222012-09-28 Juri Linkov <juri@jurta.org>
5423
5424 Display archive errors in the echo area instead of inserting
5425 to the file buffer.
5426
5427 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5428 to STDERR-TEST that can be a regexp matching a successful output.
5429 Create a temporary file and redirect stderr to it. Search for
5430 STDERR-TEST in the stderr output and display it in the echo area
5431 if no match is found.
5432 (archive-extract-by-file): New function like
5433 `archive-extract-by-stdout' but extracting archives to files
5434 and looking for successful matches in stdout. Function body is
5435 mostly copied from `archive-rar-extract'.
5436 (archive-rar-extract): Use `archive-extract-by-file'.
5437 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5438
9c1228c3
LL
54392012-09-28 Leo Liu <sdl.web@gmail.com>
5440
375e49d4
SM
5441 * pcomplete.el (pcomplete-show-completions):
5442 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 5443
9c1228c3
LL
5444 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5445
7f457c06
SM
54462012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5447
3df749b0
SM
5448 * type-break.el: Use lexical-binding.
5449 (type-break-mode): Use define-minor-mode.
5450
7f457c06
SM
5451 * emacs-lisp/pcase.el (pcase--mark-used): New.
5452 (pcase--u1): Use it (bug#12512).
5453
5454 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5455 in load-history with the right file name.
5456
c00ebc98
TH
54572012-09-28 Tassilo Horn <tsdh@gnu.org>
5458
5459 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5460 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5461 (doc-view-get-bounding-box): Make bounding box slicing work for
5462 ODF and DVI documents.
5463
96fb7170
GM
54642012-09-28 Glenn Morris <rgm@gnu.org>
5465
5466 * type-break.el (type-break-mode, type-break-interval)
5467 (type-break-good-rest-interval, type-break-keystroke-threshold):
5468 No need to autoload.
5469 (type-break-good-rest-interval, type-break-keystroke-threshold):
5470 Add :set-after.
5471
5bc93c67
CY
54722012-09-28 Chong Yidong <cyd@gnu.org>
5473
5474 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5475 Add :version tag.
5476
9cad61d6
SM
54772012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5478
e28e67b3 5479 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 5480
daee954c
GM
54812012-09-27 Glenn Morris <rgm@gnu.org>
5482
a88324d4
GM
5483 * faces.el (x-display-name): Declare (for without-x builds).
5484
8e5064e5
GM
5485 * linum.el (linum-format): Don't autoload it. Improve :type.
5486
cc1783c2
GM
5487 * progmodes/tcl.el: Don't require outline when compiling.
5488 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
5489 * textmodes/sgml-mode.el: Don't require outline when compiling.
5490 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5491
48c339f2
GM
5492 * term.el (term-ansi-reset):
5493 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5494
daee954c
GM
5495 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5496 files for RCS and SCCS. (Bug#9781)
5497
b7f42161
CY
54982012-09-27 Chong Yidong <cyd@gnu.org>
5499
5500 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5501 change; value should be t.
5502
a2e770db
SM
55032012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5504
83600dc8
SM
5505 * image-mode.el: Use lexical-binding.
5506 (image-mode-winprops): Use t to stand for the window of
5507 a buffer that's not displayed.
5508 * doc-view.el (doc-view-new-window-function): Handle the new
5509 t in winprops.
5510 (doc-view-enlarge): Make it a real nop if the size is not changed.
5511 (doc-view-display): Handle the case where the buffer is not (yet?)
5512 displayed in any window.
5513 (doc-view-saved-settings): New var.
5514 (doc-view-mode): Use it.
5515 (doc-view-fallback-mode): Set it.
5516
a2e770db
SM
5517 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5518 Set lexical-binding.
5519 (minibuffer-eldef-shorten-default): New var.
5520 (minibuffer-default-in-prompt-regexps): Use it for new default.
5521 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5522
e3b60857
JB
55232012-09-26 Juanma Barranquero <lekktu@gmail.com>
5524
5525 * international/uni-bidi.el:
5526 * international/uni-category.el:
5527 * international/uni-name.el:
5528 * international/uni-numeric.el: Regenerate.
5529
3a880af4
SM
55302012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5531 Stefan Monnier <monnier@iro.umontreal.ca>
5532
5533 * profiler.el: New file.
5534
07b1a5fb
SM
55352012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5538 (testcover-reinstrument): Simplify with CSE.
5539
42019c2e
JB
55402012-09-26 Juanma Barranquero <lekktu@gmail.com>
5541
5542 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5543
179f044b
WS
55442012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5545
5546 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5547 (verilog-auto-input, verilog-auto-insert-lisp)
5548 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5549 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5550 (verilog-auto-unused, verilog-auto-wire)
5551 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5552 newline. Reported by Andrew Jones.
5553 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5554 Reported by Brad Dobbie.
07b1a5fb
SM
5555 (verilog-batch-delete-trailing-whitespace):
5556 Create verilog-batch-delete-trailing-whitespace.
5557 Reported by Brad Dobbie.
179f044b
WS
5558 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5559 parameters from another module. Reported by Dan Katz.
5560 (verilog-auto, verilog-auto-assign-modport)
5561 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5562 AUTOINOUTMODPORT for UVM interface module shell generation.
5563 Reported by Brad Dobbie.
5564 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5565 standard behavior.
5566 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5567 Reported by Matt Martin.
5568
9c52dd5a
MR
55692012-09-25 Martin Rudalics <rudalics@gmx.at>
5570
5571 * window.el (window--resize-child-windows): When resizing child
5572 windows proportionally, process them in reverse order to
5573 preserve the "when splitting a window the new one gets the odd
5574 line" behavior.
5575 (window--resize-root-window-vertically): When resizing the
5576 minibuffer window try to affect only windows at the bottom of the
5577 frame. (Bug#12419)
5578
863666eb
CY
55792012-09-25 Chong Yidong <cyd@gnu.org>
5580
5581 * subr.el (declare): Doc fix.
5582
5583 * help-fns.el (help-fns--obsolete): Handle macros properly.
5584
59f7af81
CY
55852012-09-25 Chong Yidong <cyd@gnu.org>
5586
5587 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5588 this function obsolete.
5589
5590 * calendar/cal-x.el (calendar-two-frame-setup)
5591 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5592 * calendar/calendar.el (american-calendar, european-calendar)
5593 (calendar-for-loop):
5594 * comint.el (comint-dynamic-simple-complete)
5595 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5596 * desktop.el (desktop-load-default):
5597 * dired-x.el (dired-omit-here-always)
5598 (dired-hack-local-variables, dired-default-directory):
5599 * emacs-lisp/derived.el (derived-mode-class):
5600 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5601 * emacs-lock.el (toggle-emacs-lock):
5602 * epa.el (epa-display-verify-result):
5603 * epg.el (epg-sign-keys, epg-start-sign-keys)
5604 (epg-passphrase-callback-function):
5605 * eshell/esh-util.el (eshell-for):
5606 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5607 (eshell-add-to-window-buffer-names):
5608 * files.el (locate-file-completion):
5609 * imenu.el (imenu-example--create-c-index)
5610 (imenu-example--create-lisp-index)
5611 (imenu-example--lisp-extract-index-name)
5612 (imenu-example--name-and-position):
5613 * international/mule-cmds.el (princ-list):
5614 * international/mule-diag.el (decode-codepage-char):
5615 * international/mule-util.el (detect-coding-with-priority):
5616 * iswitchb.el (iswitchb-read-buffer):
5617 * mail/mailalias.el (mail-complete):
5618 * mail/sendmail.el (mail-sent-via):
5619 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5620 (mouse-major-mode-menu):
5621 * password-cache.el (password-read-and-add):
5622 * pcomplete.el (pcomplete-parse-comint-arguments):
5623 * progmodes/sh-script.el (sh-maybe-here-document):
5624 * replace.el (query-replace-regexp-eval):
5625 * savehist.el (savehist-load):
5626 * simple.el (choose-completion-delete-max-match):
5627 * term.el (term-dynamic-simple-complete):
5628 * vc/ediff-init.el (ediff-check-version):
5629 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5630 * vc/vc.el (vc-diff-switches-list):
5631 * view.el (view-return-to-alist-update): Likewise.
5632
5633 * subr.el (eval-next-after-load, makehash, insert-string)
5634 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5635 mark obsolete.
5636 (mode-line-inverse-video): Variable deleted.
5637
5638 * international/mule-util.el (string-to-sequence): Remove.
5639
5640 * calendar/calendar.el (calendar-version):
5641 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5642 (icalendar-convert-diary-to-ical):
5643 * cus-edit.el (custom-mode):
5644 * ansi-color.el (ansi-color-unfontify-region):
5645 * international/latin1-disp.el (latin1-char-displayable-p):
5646 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
5647 * progmodes/which-func.el (which-func-update-1):
5648 Use define-obsolete-function-alias.
59f7af81
CY
5649
5650 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
5651 * net/newst-treeview.el (newsticker-groups-filename):
5652 Fix incorrect obsolescence declaration.
59f7af81
CY
5653
5654 * allout.el (allout-passphrase-hint-string): Likewise.
5655 (allout-init): Use a declare form to mark obsolete.
5656
5657 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5658 this applies to functions.
5659
5660 * iswitchb.el (iswitchb-read-buffer): Move code of
5661 iswitchb-define-mode-map here, and delete that obsolete function.
5662
5663 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5664 font-lock-reference-face.
5665
cca96c97
GM
56662012-09-25 Glenn Morris <rgm@gnu.org>
5667
b06eeda8
GM
5668 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5669 Doc fixes.
5670
cca96c97
GM
5671 * eshell/em-term.el (eshell-term-name):
5672 Default to term-term-name. (Bug#12485)
5673
dc4f818b
FEG
56742012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5675
cca96c97
GM
5676 * progmodes/python.el (python-shell-send-buffer): Better handling
5677 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 5678
289c24bd
GM
56792012-09-24 Glenn Morris <rgm@gnu.org>
5680
5681 * eshell/esh-cmd.el (eshell-find-alias-function):
5682 Tighten up file-name regexp. (Bug#12499)
5683
8fb8b88f
FEG
56842012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5685
5686 Enhancements for triple-quote string syntax.
5687 * progmodes/python.el (python-quote-syntax): Remove.
5688 (python-syntax-propertize-function): New value.
07b1a5fb
SM
5689 (python-syntax-count-quotes, python-syntax-stringify):
5690 New functions.
8fb8b88f 5691
6c27f0f8
CY
56922012-09-24 Chong Yidong <cyd@gnu.org>
5693
a5f2b6ec
CY
5694 * mail/supercite.el (sc-version): Remove obsolete function.
5695 (sc-describe): Don't mark as obsolete, since it is bound.
5696 (sc-submit-bug-report): Remove.
5697
5698 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5699 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
5700 (log-edit-require-final-newline)
5701 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
5702
5703 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5704 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5705 * vc/vc.el (vc-checkout-carefully): Likewise.
5706
5707 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5708 (emerge-version): Remove.
5709
5710 * progmodes/compile.el (compile-internal): Remove.
5711 (compilation-parse-errors-function): Fix typo.
5712
5713 * international/mule.el (set-char-table-default): Remove.
5714 (set-coding-priority, make-coding-system, generic-char-p)
5715 (charset-list, charset-bytes, charset-id): Use declare to mark
5716 functions as obsolete.
5717
5718 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5719 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5720 * vc/vc-hooks.el (vc-default-registered): Don't use
5721 vc-master-templates.
5722
07b1a5fb
SM
5723 * font-lock.el (font-lock-reference-face):
5724 Use define-obsolete-variable-alias.
6c27f0f8
CY
5725
5726 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5727 * calendar/calendar.el (calendar-font-lock-keywords):
5728 * calendar/diary-lib.el (diary-font-lock-keywords)
5729 (diary-fancy-font-lock-keywords):
5730 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5731 * textmodes/reftex-index.el (reftex-insert-index):
5732 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5733 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5734 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5735 * progmodes/prolog.el (prolog-font-lock-keywords):
5736 * progmodes/idlwave.el (idlwave-idl-keywords):
5737 * progmodes/ada-mode.el (ada-font-lock-keywords):
5738 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5739
bcc0adbf
GM
57402012-09-24 Glenn Morris <rgm@gnu.org>
5741
5742 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5743
095bb823
FEG
57442012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5745
5746 * progmodes/python.el (python-indent-line): More consistent cursor
5747 movement behavior.
5748
70efc5c9
SM
57492012-09-23 Stefan Merten <smerten@oekonux.de>
5750
5751 * textmodes/rst.el: Fix compiler warning.
5752
2f438239
RW
57532012-09-23 Roland Winkler <winkler@gnu.org>
5754
07b1a5fb
SM
5755 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5756 Transcribe also LaTeX hyphenation.
2f438239
RW
5757 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5758 bibtex-reformat-previous-options.
5759
936ad041
RW
57602012-09-23 Roland Winkler <winkler@gnu.org>
5761
5762 * proced.el (proced-renice-command): New variable.
5763 (proced-marked-processes): New function.
5764 (proced-with-processes-buffer): New macro.
5765 (proced-send-signal): Use them.
5766 (proced-renice): New command bound to r.
5767
6fab0274
RW
57682012-09-23 Roland Winkler <winkler@gnu.org>
5769
5770 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5771 ibuffer-saved-filter-groups has one element, shortcut the call of
5772 completing-read. (Bug#12331)
5773
9a930676
CY
57742012-09-23 Chong Yidong <cyd@gnu.org>
5775
5776 * bindings.el (mode-line-toggle-read-only):
5777 * bs.el (bs-toggle-readonly):
5778 * buff-menu.el (Buffer-menu-toggle-read-only):
5779 * dired.el (dired-toggle-read-only):
5780 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5781
d07ff9db
CY
57822012-09-23 Chong Yidong <cyd@gnu.org>
5783
5784 * image.el (image-type-available-p): Adapt to init-image-library
5785 argument changes.
5786
51c4474e
JL
57872012-09-22 Juri Linkov <juri@jurta.org>
5788
5789 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5790 `dired-toggle-read-only'. (Bug#12462)
5791
43bf5e8e
MR
57922012-09-22 Martin Rudalics <rudalics@gmx.at>
5793
5794 * subr.el (temp-output-buffer-show): New function.
5795 (with-output-to-temp-buffer): Call temp-output-buffer-show
5796 instead of internal-temp-output-buffer-show.
5797
c88b867f
CY
57982012-09-22 Chong Yidong <cyd@gnu.org>
5799
3df47cd5
CY
5800 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5801 (Bug#12462).
5802
c88b867f
CY
5803 * repeat.el (repeat): Doc fix (Bug#12348).
5804
5805 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5806 (Bug#10909).
5807
5808 * simple.el (shell-command-on-region): Doc fix.
3171e303 5809 (read-only-mode): Doc fix.
c88b867f 5810
df9685f3
EZ
58112012-09-22 Eli Zaretskii <eliz@gnu.org>
5812
5813 * emacs-lisp/timer.el (run-with-idle-timer)
5814 (timer-activate-when-idle): Warn against reinvoking an idle timer
5815 from within its own timer action. (Bug#12447)
5816
8e17c9ba
MR
58172012-09-22 Martin Rudalics <rudalics@gmx.at>
5818
5819 * cus-start.el (window-combination-limit): Add new optional
5820 values.
5821 * window.el (temp-buffer-window-show)
5822 (window--try-to-split-window): Handle new values of
5823 window-combination-limit (Bug#1806).
5824 (split-window): Test window-combination-limit for t instead of
5825 non-nil.
5826 (display-buffer-at-bottom): New buffer display action function.
5827 * help.el (temp-buffer-resize-regexps): New option.
5828 (temp-buffer-resize-mode): Rewrite doc-string.
5829 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 5830 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 5831
48a24920
SM
58322012-09-22 Stefan Merten <smerten@oekonux.de>
5833
70efc5c9 5834 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
5835 (rst-official-version)
5836 (rst-package-emacs-version-alist): Sync with official version
5837 V1.4.0.
5838 (rst-faces-defaults, rst-set-level-default)
5839 (rst-level-face-max, rst-level-face-base-color)
5840 (rst-level-face-base-light, rst-level-face-format-light)
5841 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5842 (rst-adornment-faces-alist): Match new setup.
5843 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5844 (rst-level-5, rst-level-6): New faces.
5845
82f8cd94
CY
58462012-09-22 Chong Yidong <cyd@gnu.org>
5847
5848 * simple.el (undo): Handle indirect buffers (Bug#8207).
5849
acfa068f 58502012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
5851
5852 IDO: Disable match re-ordering for buffer switching.
2bc9406c 5853 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
5854 (ido-set-matches-1): Use it. (Bug#2042)
5855
acfa068f 58562012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
5857
5858 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5859 Fix 2011-05-17 change. (Bug#12418)
5860
acfa068f 58612012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
5862
5863 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5864
acfa068f 58652012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
5866
5867 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5868 Be more robust about locating simple.el.
5869
acfa068f 58702012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
5871
5872 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5873
acfa068f
CY
58742012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5875
5876 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5877
41a97e6f
JL
58782012-09-20 Juri Linkov <juri@jurta.org>
5879
eb2deaff
JL
5880 * replace.el (query-replace-read-from): Use `read-regexp' instead
5881 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5882 (occur-read-primary-args): Use `read-regexp' instead of
5883 `read-string'.
5884 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5885 `read-from-minibuffer'.
5886 * isearch.el (isearch-occur): Use `read-regexp' instead of
5887 `read-string'.
5888 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5889 `read-from-minibuffer'.
5890 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5891 of `read-string'. (Bug#7567)
5892
5825610b
JL
5893 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5894 and allow accepting a list of strings prepended to a list of
5895 standard default values. Doc fix. (Bug#12321)
5896
eebbf404
JL
5897 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5898
41a97e6f
JL
5899 * replace.el (read-regexp): Don't add ": " when PROMPT already
5900 ends with a colon and space. (Bug#12321)
5901
c9e452d3
TH
59022012-09-20 Tassilo Horn <tsdh@gnu.org>
5903
5904 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5905 error.
5906
ee97deee
SM
59072012-09-20 Stefan Merten <smerten@oekonux.de>
5908
70efc5c9 5909 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
5910 Fixes feature request bug#11711.
5911 (rst-mode): Create `imenu-create-index-function'.
5912 (rst-get-stripped-line): Delete after refactoring.
5913 (rst-section-tree, rst-section-tree-rec)
5914 (rst-section-tree-point): Refactor and document properly.
5915 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
5916 (rst-imenu-convert-cell, rst-imenu-create-index):
5917 New function.
ee97deee 5918
f490dab9
SM
59192012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5920
95b9712e
SM
5921 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5922 (macroexp--expand-all): Use it.
5923 (macroexp--funcall-and-return): Remove by folding it into its sole
5924 caller (macroexp--warn-and-return).
5925 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5926 Use macroexp--obsolete-warning.
5927
f490dab9
SM
5928 * calc/calc.el: Fix last change by removing the whole chunk, since it
5929 was only needed back when Calc was not bundled.
5930
96e8d411
MR
59312012-09-20 Martin Rudalics <rudalics@gmx.at>
5932
5933 * emacs-lisp/debug.el (debug): Restore assignment to
5934 debugger-old-buffer removed on 2012-09-08.
5935
0876a82d
JL
59362012-09-20 Juri Linkov <juri@jurta.org>
5937
5938 * dired-aux.el (dired-diff): Remove (require 'diff) since
5939 `diff-latest-backup-file' is now autoloaded.
5940
9f7c28f0
CY
59412012-09-20 Chong Yidong <cyd@gnu.org>
5942
5943 * vc/diff.el (diff-latest-backup-file): Autoload.
5944
7a04bee9
SM
59452012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5946
e6f0a80d
SM
5947 * calc/calc.el: Remove redundant autoload shape check.
5948 (sel-mode): Don't defvar.
5949 (calc-get-stack-element): Add `sel-mode' arg instead.
5950 (calc-top, calc-top-list): Pass it this additional argument.
5951 * calc/calc-store.el (calc-store-map):
5952 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5953 (calc-map-equation, calc-outer-product, calc-inner-product):
5954 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5955
7a04bee9
SM
5956 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5957
12734222
JL
59582012-09-19 Juri Linkov <juri@jurta.org>
5959
5960 * dired-aux.el (dired-diff): Add (require 'diff) because
5961 `diff-latest-backup-file' is not autoloaded.
5962 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5963 of `dired-get-filename' to t to not report error when there is
5964 no default file on the current line.
5965
46624b4f
SM
59662012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5967
ce97595b
SM
5968 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5969 macroexp--eval-if-compile.
5970 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5971 (macroexp--expand-all): Use them (bug#12371).
5972
46624b4f
SM
5973 * doc-view.el (doc-view-guess-paper-size)
5974 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5975
db8a5a18
TH
59762012-09-19 Tassilo Horn <tsdh@gnu.org>
5977
5978 New feature: set optimal slice from BoundingBox information.
5979 * doc-view.el (doc-view-mode-map): Add keybinding.
5980 (doc-view-menu): Add menu entry.
5981 (doc-view-set-slice): Adapt docstring.
5982 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5983 (doc-view-scale-bounding-box)
5984 (doc-view-set-slice-from-bounding-box): New functions.
5985 (doc-view-paper-sizes): New defvar.
5986
69f6644c
GM
59872012-09-19 Glenn Morris <rgm@gnu.org>
5988
35f5b19d
GM
5989 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5990 (byte-compile-log-warning): Autoload. (Bug#12371)
5991
69f6644c
GM
5992 * calendar/calendar.el (calendar-american-month-header)
5993 (calendar-european-month-header, calendar-iso-month-header)
5994 (calendar-month-header): New options.
5995 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5996 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5997
e543ae91
JD
59982012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5999
6000 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
6001
2fd5e67d
JL
60022012-09-18 Juri Linkov <juri@jurta.org>
6003
6004 * dired-aux.el (dired-diff): Restore original functionality of
6005 getting the default value, but keep new feature of using the
6006 latest existing backup file (`diff-latest-backup-file').
6007
42917e79
JL
60082012-09-18 Juri Linkov <juri@jurta.org>
6009
6010 * dired.el (dired-mark): If the region is active in Transient Mark
6011 mode, mark all files in the active region. Doc fix.
6012 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
6013 Doc fix. (Bug#10624)
6014
20f70ede
JL
60152012-09-18 Juri Linkov <juri@jurta.org>
6016
6017 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
6018 attributes for M-n are pulled from the file at point.
6019 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
6020 Suggested by Drew Adams. (Bug#10624)
6021
32fb8162
DG
60222012-09-18 Dmitry Gutov <dgutov@yandex.ru>
6023
6024 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
6025 whitespace after "end".
6026 (ruby-do-end-to-brace): Collapse block to one line if it fits
6027 within fill-column.
6028
37ab5092
MR
60292012-09-18 Martin Rudalics <rudalics@gmx.at>
6030
6031 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
6032 value.
6033 (debug): Don't remove debugger window when debugger is expected
6034 to be back.
6035
ed1f0bd3
CY
60362012-09-18 Chong Yidong <cyd@gnu.org>
6037
6038 * custom.el (defface): Doc fix.
6039
6040 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
6041
a11035b8
MB
60422012-09-18 Martin Blais <blais@furius.ca> (tiny change)
6043
6044 * progmodes/compile.el (compilation-start): Use compilation-always-kill
6045 to initialize query-on-exit; then test that instead (bug#12288).
6046
64f6a736
SM
60472012-09-17 Stefan Merten <smerten@oekonux.de>
6048
70efc5c9 6049 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
6050 (rst-defcustom-testcover, rst-testcover-add-compose)
6051 (rst-testcover-add-1value): New functions.
6052 (rst-portable-mark-active-p): Replace by `use-region-p'.
6053 (rst-update-section, rst-classify-adornment)
6054 (rst-find-title-line): Mark `1value' forms.
6055 (rst-classify-adornment): Remove superfluous form.
6056 (rst-update-section, rst-get-adornments-around)
6057 (rst-adornment-complete-p, rst-get-next-adornment)
6058 (rst-adjust, rst-promote-region)
6059 (rst-display-adornments-hierarchy, rst-straighten-adornments)
6060 (rst-find-pfx-in-region, rst-section-tree-rec)
6061 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
6062 (rst-toc-node, rst-toc, rst-forward-section)
6063 (rst-iterate-leftmost-paragraphs)
6064 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
6065 (rst-bullet-list-region)
6066 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
6067 (rst-compile-find-conf, rst-compile)
6068 (rst-repeat-last-character): Fix style.
6069
580bd868
CY
60702012-09-17 Chong Yidong <cyd@gnu.org>
6071
6072 * comint.el (comint--complete-file-name-data): Don't add a space
6073 if the status is `sole'; that adds a gratuitous space in the
6074 completion-cycling case (Bug#12092).
6075
6076 * pcomplete.el (pcomplete-completions-at-point): Likewise.
6077
69de3ec6
RS
60782012-09-17 Richard Stallman <rms@gnu.org>
6079
0dee970c
RS
6080 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
6081 only in the mime-shown mode, not in raw mode.
6082 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 6083 mime processing. (Bug#12305)
0dee970c 6084
6b250df6
GM
6085 * mail/rmail.el (rmail-retry-failure):
6086 Turn off mime processing first. (Bug#12037)
acb1c47b 6087
69de3ec6
RS
6088 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
6089
d079ee5f
CY
60902012-09-17 Chong Yidong <cyd@gnu.org>
6091
6092 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
6093 (shell-dynamic-complete-functions): Convert to defcustom.
6094 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6095
865fe16f
CY
6096 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
6097 * comint.el (comint-prompt-read-only):
6098 * custom.el (defcustom):
6099 * hi-lock.el (hi-lock-mode):
6100 * ibuffer.el (ibuffer-formats):
6101 * ielm.el (ielm-prompt-read-only):
6102 * novice.el (disable-command):
6103 * saveplace.el (toggle-save-place):
6104 * speedbar.el (speedbar-supported-extension-expressions):
6105 * startup.el (auto-save-list-file-prefix, init-file-user)
6106 (after-init-hook, inhibit-startup-echo-area-message):
6107 * strokes.el (strokes-help):
6108 * time-stamp.el (time-stamp):
6109 * calendar/calendar.el (calendar, diary-file):
6110 * calendar/diary-lib.el (diary-mail-entries, diary)
6111 (diary-list-entries-hook):
6112 * calendar/holidays.el (holidays, calendar-holidays):
6113 * calendar/lunar.el (lunar-phases):
6114 * calendar/solar.el (sunrise-sunset):
6115 * emulation/edt.el (edt-load-keys):
6116 * emulation/viper.el (viper-mode):
6117 * eshell/em-alias.el (eshell-command-aliases-list):
6118 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6119 * international/ogonek.el (ogonek-information):
6120 * net/tramp-cmds.el (tramp-bug):
6121 * net/quickurl.el (quickurl-reread-hook-postfix):
6122 * play/decipher.el (decipher-font-lock-keywords):
6123 * progmodes/cc-styles.el (c-set-style):
6124 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6125 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6126 * progmodes/octave-mod.el (octave-mode):
6127 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6128 * progmodes/verilog-mode.el (verilog-read-defines):
6129 * textmodes/two-column.el (2C-mode): Likewise.
6130
48093eb9
KY
61312012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6132
6133 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6134 that holds many addresses.
6135
c584eaf9
CY
61362012-09-16 Chong Yidong <cyd@gnu.org>
6137
40d70ecb
CY
6138 * align.el (align-areas): Call the indication function with
6139 positions instead of markers for arguments (Bug#12343).
6140
1667e065
CY
6141 * files.el (parse-colon-path): Use split-string (Bug#12351).
6142
fdc2806d 6143 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 6144 (display-buffer-function): Mark as obsolete.
fdc2806d 6145
f1be615c 6146 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
6147 values similar to font-lock-keywords (Bug#12136).
6148 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
6149 (compilation-error-regexp-alist): Doc fix.
6150
f40a9709
GM
61512012-09-15 Glenn Morris <rgm@gnu.org>
6152
72aa16e1
GM
6153 * version.el (emacs-bzr-version-bzr): New function.
6154 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6155
82375160
GM
6156 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6157 checkouts, check the parent dirstate matches the branch.
6158 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6159 empty string.
6160
f40a9709
GM
6161 * version.el (emacs-bzr-version): Doc fix.
6162 (emacs-bzr-version-dirstate): New function.
6163 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6164 is local try and check that it matches the branch. If not, just
6165 use dirstate information. (Bug#12441)
6166
cb26b7f5
JL
61672012-09-14 Juri Linkov <juri@jurta.org>
6168
6169 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6170 (Bug#12399)
6171
2de39f08
SM
61722012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6173
0fb3cb7c
SM
6174 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6175
2de39f08
SM
6176 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6177 Remove obsolete byte-compiler hack that tried to silence some warnings.
6178 (edebug-submit-bug-report): Remove.
6179 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6180 Remove aliases, use the un-prefixed name instead.
6181 (edebug-pop-to-buffer): Consider other frames.
6182 (edebug-original-read):: Make it more obvious that it's always defined.
6183 (edebug--make-form-data-entry, edebug--form-data-name)
6184 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6185 single-dashed name, and implement with cl-defstruct.
6186 (edebug-set-form-data-entry): Use the standard accessors.
6187 (edebug-make-top-form-data-entry): Use push.
6188 (edebug-no-match): Drop useless `funcall'.
6189 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6190 to functions.
6191 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6192 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6193 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6194 (easy-menu-define, with-custom-print): Remove redundant specs.
6195 (edebug-outside-overriding-local-map)
6196 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6197 (edebug--display): Bind unread-command-events directly to nil rather
6198 than binding it to unread-command-events and later setting it to nil.
6199 (edebug--display): Kill edebug-eval-buffer here...
6200 (edebug--recursive-edit): ...rather than here.
6201 Bind standard-output and standard-input.
6202 (edebug-eval): Check cl-macroexpand-all is fboundp.
6203 (edebug-temp-display-freq-count): Fix last change.
6204
6205 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6206 * subr.el (noreturn, 1value): Add `debug' spec.
6207 * emacs-lisp/advice.el: Require cl-lib.
6208 (ad-copy-tree): Remove, use copy-tree instead.
6209 (ad-dolist): Remove use dolist or cl-dolist instead.
6210 (ad-do-return): Remove, use cl-return instead.
6211 (defadvice): Add `debug' spec.
6212
5b68b333
JL
62132012-09-13 Juri Linkov <juri@jurta.org>
6214
6215 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6216 (Bug#12399)
6217
b9800ec4
GM
62182012-09-13 Glenn Morris <rgm@gnu.org>
6219
6a2e6868
GM
6220 * calc/calc.el (math-compose-expr):
6221 * calc/calc-ext.el (math-compose-expr):
6222 * progmodes/cc-defs.el (cl-macroexpand-all):
6223 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6224 (cl-macroexpand-all): Update declarations.
6225
b9800ec4
GM
6226 * vc/vc.el: No need to require ediff.
6227 (ediff-load-version-control): Declare.
6228 (ediff-vc-internal): Fix declaration.
6229 (vc-version-ediff): Require ediff.
6230
c18e885b
PE
62312012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6232
6233 Use a more backwards-compatible timer format (Bug#12430).
6234 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6235 being right after USECS, as that better supports old code that
6236 inadvisedly looked directly at the timer vector.
6237
d607d303
KH
62382012-09-13 Kenichi Handa <handa@gnu.org>
6239
6240 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6241 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6242 `coding-priority' property of these language environment.
6243
72eac303
PE
62442012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6245
6246 Fix glitches caused by addition of psec to timers (Bug#12430).
6247 * image.el (image-animate-timer):
6248 * time.el (display-time-world-timer):
6249 Use timer--function and timer--args rather than raw access to
6250 timer vector.
6251
2168fe4f
GM
62522012-09-13 Glenn Morris <rgm@gnu.org>
6253
6254 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6255 If not compiling a file, try using load-file-name.
6256
bd8d6108
SM
62572012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6258
c0c54fbd
SM
6259 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6260 Fix last change.
6261 (edebug-update-eval-list): Use `push'.
6262
bd8d6108
SM
6263 * emacs-lisp/edebug.el: Use lexical-binding.
6264 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6265 Mark unused args with underscore.
6266 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6267 (edebug-form-data): Use defvar-local.
6268 (edebug-make-before-and-after-form, edebug-make-after-form):
6269 Use backquote.
6270 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6271 Not dynamically scoped any more.
6272 (edebug--enter-trace): Add arguments `function' and `args'.
6273 Rename from edebug-enter-trace.
6274 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6275 (edebug--update-coverage): Add `after-index' and `value' args.
6276 Rename from edebug-update-coverage.
6277 (edebug-slow-after): Call it accordingly.
6278 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6279 edebug-recursive-edit.
6280 (edebug--display): Call it accordingly. Add args `value',
6281 `offset-index', and `arg-mode'. Rename from edebug-display.
6282 (edebug-debugger, edebug): Call it accordingly.
6283 (edebug-eval-display-list): Use dolist.
6284
a9f9d9de
JL
62852012-09-12 Juri Linkov <juri@jurta.org>
6286
6287 * info.el (Info-search): Don't check for isearch-mode and
6288 isearch-regexp before let-binding search-spaces-regexp to
6289 Info-search-whitespace-regexp.
6290 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6291 search-whitespace-regexp if isearch-lax-whitespace or
6292 isearch-regexp-lax-whitespace is non-nil.
6293 (Info-mode): Don't set local variable search-whitespace-regexp.
6294 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6295
bfeae2cf
SM
62962012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6297
6298 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6299 (debugger-env-macro): Remove support for unread-command-char.
6300
6301 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6302 the temporary map re-appearing on emulation-mode-map-alists.
6303
6304 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6305 since 22.1.
6306
6307 * ehelp.el (with-electric-help): Accept functions in
6308 electric-help-form-to-execute.
6309 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6310 And replace unread-command-char -> unread-command-events.
6311
fbbcaf1b
MA
63122012-09-12 Michael Albinus <michael.albinus@gmx.de>
6313
6314 Sync with Tramp 2.2.6.
6315
6316 * net/tramp.el (tramp-accept-process-output): Don't use
6317 JUST-THIS-ONE in the XEmacs case.
6318
6319 * net/trampver.el: Update release number.
6320
4dece104
MR
63212012-09-12 Martin Rudalics <rudalics@gmx.at>
6322
bfeae2cf
SM
6323 * emacs-lisp/debug.el (debugger-previous-window-height):
6324 New variable.
4dece104
MR
6325 (debug): When debugger-jumping-flag is non-nil try to restore
6326 height of debugger window. (Bug#8789)
6327
45b82ad0
SM
63282012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6329
60c49c0f
SM
6330 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6331 overriding-local-map and pre/post-command-hook here.
6332 (edebug-recursive-edit): Do it here instead (bug#12345).
6333 (edebug-outside-unread-command-char): Remove all uses of
6334 unread-command-char.
6335
45b82ad0
SM
6336 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6337 inhibit-debugger is bound instead.
6338
baa26ea0
BG
63392012-09-11 Bastien Guerry <bzg@gnu.org>
6340
6341 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 6342 (Bug#12346)
baa26ea0 6343
04e8abfa
BG
63442012-09-11 Bastien Guerry <bzg@gnu.org>
6345
96d03571 6346 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 6347 (Bug#12347)
96d03571
BG
6348
63492012-09-11 Bastien Guerry <bzg@gnu.org>
6350
fc0c31f8 6351 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 6352
04e082b0
MM
63532012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6354
6355 * progmodes/sql.el: Version 3.1
6356 (sql-db2-escape-newlines): New variable.
6357 (sql-escape-newlines-filter): Use it.
6358
399a361b
JB
63592012-09-10 Juanma Barranquero <lekktu@gmail.com>
6360
6361 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6362
0780c517
DN
63632012-09-10 Dan Nicolaescu <dann@gnu.org>
6364
45b82ad0
SM
6365 * vc/diff-mode.el (diff-mode-menu):
6366 Bind diff-remove-trailing-whitespace.
0780c517 6367
9b851e25
SM
63682012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6369
6370 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
6371 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6372 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
6373 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6374 (eval-defun-2): Remove bogus interactive spec.
6375 (lisp-indent-line): Remove redundant whole-exp code, now done in
6376 indent-according-to-mode.
6377 (save-match-data): Remove redundant indent data.
6378
6379 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6380 Use `declare'.
6381
3231d532
JL
63822012-09-09 Juri Linkov <juri@jurta.org>
6383
6384 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6385 (replace-lax-whitespace, query-replace-regexp)
6386 (query-replace-regexp-eval, replace-regexp): Doc fix.
6387 (perform-replace, replace-highlight): Let-bind
6388 isearch-lax-whitespace to replace-lax-whitespace and
6389 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6390
6391 * isearch.el (isearch-query-replace): Let-bind
6392 replace-lax-whitespace to isearch-lax-whitespace and
6393 replace-regexp-lax-whitespace to
6394 isearch-regexp-lax-whitespace. (Bug#10885)
6395
70fe8236
SM
63962012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6397
6398 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6399
8ed43f15
AM
64002012-09-09 Alan Mackenzie <acm@muc.de>
6401
70fe8236
SM
6402 * progmodes/cc-engine.el (c-state-cache-init):
6403 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6404 (c-record-parse-state-state):
6405 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 6406
bfabf70a
AS
64072012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6408
6409 * register.el (register-separator): Rename from
6410 separator-register. All uses changed. Doc fix.
6411 (register): Fix version.
6412
011474aa
CY
64132012-09-09 Chong Yidong <cyd@gnu.org>
6414
6415 * replace.el (query-replace-map): Bind four new symbols for
6416 requesting window scrolling.
6417
6418 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6419 query-replace-map (Bug#8948).
6420
6421 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6422
6423 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6424 since they are now in query-replace-map.
6425
6426 * window.el (scroll-other-window-down): Make the arg optional.
6427
a8b7cd8d
CY
64282012-09-09 Chong Yidong <cyd@gnu.org>
6429
6430 * files.el (hack-local-variables-confirm): Use quit-window to kill
6431 the *Local Variables* buffer.
6432
c3268831
DG
64332012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6434
6435 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6436 not just expect to be at its beginning. Adjust callees.
6437 Succeed when do-end block has no space before the pipe character.
6438 (ruby-brace-to-do-end): When the original block is one-liner,
6439 convert to multiline. Reindent the result.
6440
0979429b
J
64412012-09-08 Jambunathan K <kjambunathan@gmail.com>
6442
6443 * register.el (register): New group.
27359e99 6444 (separator-register): New user option.
0979429b
J
6445 (increment-register): Route it to `append-to-register', if
6446 register contains text. Implication is that `C-x r +' can now be
6447 used for appending to a text register (bug#12217).
6448 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 6449 `separator-register'.
0979429b 6450
ace2989a
AM
64512012-09-08 Alan Mackenzie <acm@muc.de>
6452
6453 AWK Mode: make auto-newline work when there's "==" in the pattern.
6454 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6455 correctly.
0979429b
J
6456 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6457 Test more rigorously for "=" token.
ace2989a 6458
616c6c36
DG
64592012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6460
0979429b
J
6461 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6462 Only fail when reached LIMIT.
616c6c36 6463
35d98877
CY
64642012-09-08 Chong Yidong <cyd@gnu.org>
6465
6466 * dired.el (dired-mode-map): Don't bind M-=.
6467
6468 * dired-aux.el (dired-diff): Use backup file as default.
6469
1715f2db
DA
64702012-09-08 Drew Adams <drew.adams@oracle.com>
6471
6472 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6473
6dcef6ec
CY
64742012-09-08 Chong Yidong <cyd@gnu.org>
6475
6476 * subr.el (syntax-after, syntax-class): Doc fix.
6477
fa2bcf43
MR
64782012-09-08 Martin Rudalics <rudalics@gmx.at>
6479
6480 * window.el (display-buffer-in-previous-window): New buffer
6481 display action function.
6482
6483 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6484 (debugger-previous-window): New variable.
6485 (debug): Rewrite using display-buffer-in-previous-window,
6486 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6487
daac280a
SM
64882012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6489
6490 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6491
9dd40b00
MM
64922012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6493
daac280a
SM
6494 * progmodes/python.el (python-shell-send-string):
6495 When default-directory is remote, create temp file on remote
9dd40b00
MM
6496 filesystem.
6497 (python-shell-send-file): When file is remote, pass local view of
6498 file paths to remote Python interpreter. (Bug#12340)
6499
145823ec
CY
65002012-09-07 Chong Yidong <cyd@gnu.org>
6501
cee2e90d
CY
6502 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6503
0d7eb2ea
CY
6504 * files.el (after-find-file): Don't fail on a read-only buffer if
6505 require-final-newline is `visit' or `visit-save' (Bug#11156).
6506
145823ec
CY
6507 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6508
daac280a
SM
6509 * userlock.el (ask-user-about-supersession-threat):
6510 Use read-char-choice (Bug#12093).
145823ec 6511
74c582e6
CY
65122012-09-07 Chong Yidong <cyd@gnu.org>
6513
e5c2edf7
CY
6514 * subr.el (buffer-narrowed-p): New function.
6515
6516 * ses.el (ses-widen):
6517 * simple.el (count-words--buffer-message):
1f9f395d 6518 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
6519
6520 * simple.el (count-words-region): Don't signal an error if there
6521 is a non-nil prefix arg and the mark is not set.
c640e87d 6522
74c582e6
CY
6523 * help.el (describe-key-briefly): Allow the message to be seen
6524 when invoked from the minibuffer (Bug#7014).
6525
d81ceaaf
DG
65262012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6527
6528 * progmodes/ruby-mode.el (ruby-end-of-defun)
6529 (ruby-beginning-of-defun): Simplify, allow indentation before
6530 block beginning and end keywords.
8f06acce
DG
6531 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6532 (ruby-end-of-defun): Expect that the point is at the beginning of
6533 the defun.
d81ceaaf 6534
d458ef98
SM
65352012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6536
6537 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6538 (bug#12367).
6539 (cl--make-usage-args): Strip _ from argument names.
6540
20367d28
RS
65412012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6542
6543 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6544 obsolete alias speedbar-key-map.
6545 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6546 (vhdl-index-menu-init): Don't use obsolete variable
6547 font-lock-maximum-size.
6548
3424a4f6
CY
65492012-09-06 Chong Yidong <cyd@gnu.org>
6550
6551 * frame.el (window-system-version): Mark as obsolete.
6552
fcbfbdea
CY
6553 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6554 of obsolete variable speedbar-key-map.
6555
826b3235
JL
65562012-09-06 Juri Linkov <juri@jurta.org>
6557
6558 * replace.el (replace-lax-whitespace): New defcustom.
6559 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6560 (replace-string, replace-regexp): Mention it in docstrings.
6561 (perform-replace, replace-highlight): Let-bind
6562 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6563 to the values of replace-lax-whitespace and regexp-flag.
6564 Don't let-bind search-whitespace-regexp. (Bug#10885)
6565
6566 * isearch.el (isearch-query-replace): Let-bind
6567 replace-lax-whitespace instead of let-binding
6568 replace-search-function and replace-re-search-function.
6569 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6570 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6571 (isearch-toggle-symbol): Set isearch-regexp to nil
6572 in isearch-word mode (like in isearch-toggle-word).
6573
1ec5e41d
JL
65742012-09-06 Juri Linkov <juri@jurta.org>
6575
6576 * replace.el (replace-search-function)
6577 (replace-re-search-function): Set default values to nil.
6578 (perform-replace): Let-bind isearch-related variables based on
6579 replace-related values, call `isearch-search-fun' and let-bind
6580 the result to `search-function'. Remove code that sets
6581 `search-function' and `search-string' separately for
6582 `delimited-flag'.
6583 (replace-highlight): Add new argument `delimited-flag' and
6584 rename other arguments to the names used in `perform-replace'.
6585 Let-bind `isearch-word' to the argument `delimited-flag'.
6586 (Bug#10885, bug#10887)
6587
0ba2d4b6
DG
65882012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6589
6590 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6591 ruby-beginning-of-indent, simplify, allow all keywords to have
6592 indentation before them.
6593 (ruby-beginning-of-indent): Adjust for above. Search until the
6594 found point is not inside a string or comment.
6595 (ruby-font-lock-keywords): Allow symbols to start with "@"
6596 character, give them higher priority than variables.
6597 (ruby-syntax-propertize-function)
6598 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6599 matchers. Expression expansions are not comments when inside a
6600 string, and there comment syntax status is irrelevant.
6601 (ruby-match-expression-expansion): New function. Check that
6602 expression expansion is inside a string, and it's not escaped.
6603 (ruby-font-lock-keywords): Use it.
6604
ef654460
MR
66052012-09-05 Martin Rudalics <rudalics@gmx.at>
6606
6607 * help.el (temp-buffer-max-height): New default value.
6608 (temp-buffer-resize-frames): New option.
6609 (resize-temp-buffer-window): Optionally resize frame.
6610
6611 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6612 (fit-frame-to-buffer): New function.
6613
7e570fbf 66142012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
6615
6616 * emulation/cua-rect.el (cua--init-rectangles):
6617 * textmodes/picture.el (picture-mode-map):
6618 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6619 like forward-char and backward-char. (Bug#12317)
6620
7e570fbf 66212012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
6622
6623 * progmodes/flymake.el (flymake-warning-re): New variable.
6624 (flymake-parse-line): Use it.
6625
7e570fbf 66262012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
6627
6628 * calendar/holidays.el (holiday-christian-holidays):
6629 Rename an entry. (Bug#12289)
6630
7e570fbf 66312012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
6632
6633 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6634 (bug#12222).
6635
972debf2
SM
66362012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6637
6638 * loadup.el: Load macroexp. Remove hack.
6639 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6640 (macroexp--expand-all): Use it to get better warnings.
6641 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6642 (internal-macroexpand-for-load): New functions.
6643 (macroexp--pending-eager-loads): New var.
6644 (emacs-startup-hook): New hack to replace one in loadup.el.
6645 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6646 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6647 (cl-psetf): Simplify.
6648 (cl-defstruct): Add indent rule.
6649
8ce192e3
LI
66502012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6651
6652 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6653 over `user-mail-address' for the SMTP MAIL FROM envelope.
6654 (smtpmail-via-smtp): Ditto.
6655
6578b4d8
DG
66562012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6657
6658 * progmodes/ruby-mode.el: Clean up keybindings.
6659 (ruby-mode-map): Don't bind ruby-electric-brace,
6660 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6661 backward-kill-word, reindent-then-newline-and-indent.
6662 (ruby-mark-defun): Remove.
6663 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6664 (ruby-mode): Set local beginning-of-defun-function and
6665 end-of-defun-function values.
6666
c5e28e39
MR
66672012-09-03 Martin Rudalics <rudalics@gmx.at>
6668
6669 * window.el (temp-buffer-window-setup-hook)
6670 (temp-buffer-window-show-hook): New hooks.
6671 (temp-buffer-window-setup, temp-buffer-window-show)
6672 (with-temp-buffer-window): New functions.
972debf2
SM
6673 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6674 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
6675
6676 * help.el (temp-buffer-resize-mode): Fix doc-string.
6677 (resize-temp-buffer-window): New optional argument WINDOW.
6678
6679 * files.el (recover-file, save-buffers-kill-emacs):
6680 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6681
73406194
MA
66822012-09-02 Michael Albinus <michael.albinus@gmx.de>
6683
6684 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6685 remote definition of `default-directory', ensure we can connect.
6686
63dd1c6f
JL
66872012-09-02 Juri Linkov <juri@jurta.org>
6688
6689 Toggle whitespace matching mode with M-s SPC.
6690 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6691
6692 * isearch.el (search-whitespace-regexp): Doc fix.
6693 Remove cons cell customization.
6694 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6695 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6696 New variables.
6697 (isearch-forward, isearch-forward-regexp): Doc fix.
6698 (isearch-toggle-lax-whitespace): New command.
6699 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6700 (re-search-forward-lax-whitespace)
6701 (re-search-backward-lax-whitespace): New functions.
6702 (isearch-whitespace-regexp): Remove function.
6703 (isearch-query-replace): Let-bind replace-search-function and
6704 replace-re-search-function.
6705 (isearch-occur): Let-bind search-spaces-regexp according to the
6706 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6707 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6708 condition for C-q SPC.
6709 (isearch-search-fun-default): Use new functions mentioned above.
6710 (isearch-search-forward, isearch-search-backward): Remove functions.
6711 (isearch-search): Don't let-bind search-spaces-regexp.
6712 (isearch-lazy-highlight-space-regexp): Remove variable.
6713 (isearch-lazy-highlight-lax-whitespace)
6714 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6715 (isearch-lazy-highlight-new-loop): Use them.
6716 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6717
af7dda05
CY
67182012-09-02 Chong Yidong <cyd@gnu.org>
6719
6720 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6721
d67d3afd
GM
67222012-09-02 Glenn Morris <rgm@gnu.org>
6723
6724 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6725
69678719
GM
67262012-09-01 Glenn Morris <rgm@gnu.org>
6727
6728 * term.el: Tidy up menu definitions.
6729 (term-mode-map): Use easymenu for In/Out, Complete menus.
6730 (term-pager-break-map): Initialize in the defvar.
6731 (term-terminal-menu, term-signals-menu): Define with easymenu.
6732 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6733 (term-pager-menu): New, extracted from term-process-pager.
6734 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6735 (term-update-mode-line): Propertize line/char and page items.
6736 (term-process-pager): Move keymap initialization elsewhere.
6737
78dd6ab1
MR
67382012-09-01 Martin Rudalics <rudalics@gmx.at>
6739
6740 * window.el (switch-to-prev-buffer): Handle additional values of
6741 BURY-OR-KILL argument. Don't switch in minibuffer window.
6742 (switch-to-next-buffer): Don't switch in minibuffer window.
6743 (quit-restore-window): New function based on quit-window.
6744 Handle additional values of former KILL argument.
6745 (quit-window): Call quit-restore-window with appropriate
6746 interpretation of KILL argument.
6747 (display-buffer-below-selected): New buffer display action
6748 function.
6749
3d10e134
SM
67502012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6751
6752 * minibuffer.el (completion-at-point-functions): Complete docstring
6753 (bug#12254).
6754
0e23ef9d
PE
67552012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6756
6757 Better seed support for (random).
6758 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6759 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6760 * play/mpuz.el, play/tetris.el, play/zone.el:
6761 * calc/calc-comb.el (math-init-random-base):
6762 * play/blackbox.el (bb-init-board):
6763 * play/life.el (life):
6764 * server.el (server-use-tcp):
6765 * type-break.el (type-break):
6766 Remove unnecessary call to (random t).
6767 * net/sasl.el (sasl-unique-id-function):
6768 Change (random t) to (random), now that the latter is more random.
6769 * play/life.el (life-initialized): Remove no-longer-needed var.
6770
862382df
MR
67712012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6772
6773 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6774 Consider frame's buffer predicate when choosing the buffer.
6775 (Bug#12081)
6776
262a66e1
RS
67772012-08-30 Richard Stallman <rms@gnu.org>
6778
6779 * simple.el (special-mode-map): Delete binding for `z'.
6780
f17e1d00
AS
67812012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6782
6783 * progmodes/compile.el (compilation-always-kill): Doc fix.
6784
24777832
CY
67852012-08-30 Chong Yidong <cyd@gnu.org>
6786
6787 * window.el (display-buffer-reuse-frames): Make the obsolescence
6788 message more informative.
6789
69ba1f04
GM
67902012-08-30 Glenn Morris <rgm@gnu.org>
6791
6792 * paren.el (show-paren-delay):
6793 Add a :set function. Doc fix. (Bug#12297)
6794
f0019ede
MB
67952012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6796
6797 * progmodes/compile.el (compilation-always-kill): New var.
6798 (compilation-start): Use it.
6799
35e62fc9
SM
68002012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6801
af070a1c
SM
6802 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6803 * files.el (read-only-mode): Move to simple.el.
6804
35e62fc9
SM
6805 * files.el (read-only-mode): New minor mode.
6806 (toggle-read-only): Use it and mark obsolete.
6807 (find-file--read-only):
6808 * vc/vc.el (vc-next-action, vc-checkout):
6809 * vc/vc-cvs.el (vc-cvs-checkout):
6810 * obsolete/vc-mcvs.el (vc-mcvs-update):
6811 * ffap.el (ffap--toggle-read-only): Update callers.
6812
c2c43c23
MA
68132012-08-29 Michael Albinus <michael.albinus@gmx.de>
6814
6815 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
6816 remote shell scripts.
6817 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
6818
6819 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6820 "/usr/local/sbin".
6821
9fba804b
SM
68222012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6823
6824 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6825
eada0861 68262012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 6827
806f0cc7
LL
6828 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6829 completion-at-point. (Bug#12220)
6830
3bb213b9
LL
6831 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6832
22ab32ef
LL
6833 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6834
eada0861 68352012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 6836
19c17fc1
CY
6837 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6838 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 6839
eada0861 68402012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
6841
6842 * progmodes/hideif.el (hif-compress-define-list):
6843 Fix typo. (Bug#11951)
6844
eada0861 68452012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
6846
6847 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6848 buffer local setting.
6849
27d6c5a8
LL
6850 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6851 rcirc-encode-coding-system.
6852
eada0861 68532012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
6854
6855 * net/rcirc.el (rcirc-split-message): New function.
6856 (rcirc-send-message): Use it. (Bug#12051)
6857
d44688e4
JL
68582012-08-28 Juri Linkov <juri@jurta.org>
6859
6860 * info.el (Info-fontify-node): Hide empty lines at the end of
6861 the node. (Bug#12272)
6862
34f10d41
MR
68632012-08-27 Drew Adams <drew.adams@oracle.com>
6864
6865 * dired.el (dired-pop-to-buffer): Make window start at beginning
6866 of buffer (Bug#12281).
6867
77f1f99c
CY
68682012-08-26 Chong Yidong <cyd@gnu.org>
6869
6870 * window.el (special-display-regexps, special-display-frame-alist)
6871 (special-display-buffer-names, special-display-function)
6872 (display-buffer-reuse-frames): Mark as obsolete.
6873
6874 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6875
6876 * help.el (help-print-return-message): Don't treat
6877 display-buffer-reuse-frames specially.
6878
d97af5a0
CY
68792012-08-26 Chong Yidong <cyd@gnu.org>
6880
9fba804b
SM
6881 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6882 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
6883 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6884 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6885 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6886 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6887 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6888 the functions directly with gdb-display-buffer-other-frame-action.
6889 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6890 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6891 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6892 (gdb-display-registers-buffer): Define directly.
6893 (def-gdb-display-buffer): Macro deleted.
6894 (gdb-display-buffer): Remove second and third args, callers don't
6895 use them. Defer to the default display-buffer behavior, apart
6896 from making windows dedicated.
6897 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6898
6899 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6900
6901 * window.el (display-buffer-pop-up-frame): Handle a
6902 pop-up-frame-parameters alist entry.
6903 (display-buffer): Document it.
6904
dd7ffad6
CY
69052012-08-26 Chong Yidong <cyd@gnu.org>
6906
6907 * isearch.el (search-whitespace-regexp): Make string and nil
6908 values apply to both ordinary and regexp search. Allow a cons
6909 cell value to distinguish between the two.
6910 (isearch-whitespace-regexp, isearch-search-forward)
6911 (isearch-search-backward): New functions.
6912 (isearch-occur, isearch-search-fun-default, isearch-search)
6913 (isearch-lazy-highlight-new-loop): Use them.
6914 (isearch-forward, isearch-forward-regexp): Doc fix.
6915
4c47bd1e
CY
69162012-08-26 Chong Yidong <cyd@gnu.org>
6917
6918 * faces.el (help-argument-name): Always inherit from italic
6919 (Bug#12213).
6920
9aba119d
MR
69212012-08-25 Martin Rudalics <rudalics@gmx.at>
6922
6923 * window.el (window--even-window-heights): Even heights when
6924 WINDOW and the selected window form a vertical combination.
6925 (display-buffer-use-some-window): Provide that window used gets
6926 sized back by quit-window. (Bug#11880) and (Bug#12091)
6927
ca5256ad
PE
69282012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6929
6930 Fix file time stamp problem with bzr and CVS (Bug#12001).
6931 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6932 in the file's time stamp, since the version control system loses
6933 that information.
6934
d1c0d176
JL
69352012-08-22 Juri Linkov <juri@jurta.org>
6936
6937 * info.el (Info-fontify-node): Hide the suffix of the
6938 Info file name in the header line. (Bug#12187)
6939
141562ff
GM
69402012-08-22 Glenn Morris <rgm@gnu.org>
6941
6942 * calendar/cal-tex.el (cal-tex-weekly-common):
6943 Restore leading blank page.
6944
3a21537c 69452012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
6946
6947 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
6948 the region under `shift-select-mode'. (Bug#12231)
6949
69502012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
6951
6952 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6953 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6954 gives details on why the space is never needed.
6955
ea95074e
MR
69562012-08-22 Martin Rudalics <rudalics@gmx.at>
6957
9fba804b
SM
6958 * window.el (walk-window-tree, window-with-parameter):
6959 New optional argument MINIBUF to control whether these functions
ea95074e
MR
6960 should run on the minibuffer window.
6961 (window-at-side-list): Don't operate on minibuffer window.
6962 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
6963 (window--size-ignore): Rename to window--size-ignore-p.
6964 Update callers.
caceae25
MR
6965 (display-buffer-in-atom-window, window--major-non-side-window)
6966 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
6967 (delete-side-window, display-buffer-in-side-window):
6968 New functions.
caceae25
MR
6969 (window--side-check, window-deletable-p, delete-window)
6970 (delete-other-windows, split-window): Handle side windows and
6971 atomic windows appropriately.
6972 (window--display-buffer): Call display-buffer-record-window also
6973 when the window buffer did not change.
ea95074e 6974
80a51fa0
CS
69752012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6976
6977 * help-fns.el (help-fns--key-bindings):
6978 Abbreviate non-symbol remap targets. (Bug#12174)
6979
fbb6300b
MR
69802012-08-22 Martin Rudalics <rudalics@gmx.at>
6981
6982 * dired.el (dired-mark-remembered): Don't clobber point.
6983 (Bug#11795)
6984
2b2c0794
GM
69852012-08-22 Glenn Morris <rgm@gnu.org>
6986
6987 * progmodes/bug-reference.el (bug-reference): New custom group.
6988 (bug-reference-bug-regexp): Make it a defcustom.
6989
37219830
DU
69902012-08-22 Daiki Ueno <ueno@unixuser.org>
6991
6992 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6993 (js-paren-indent-offset, js-square-indent-offset)
6994 (js-curly-indent-offset): Add :safe (Bug#12257).
6995
94e0e559
EC
69962012-08-22 Edward O'Connor <hober0@gmail.com>
6997
6998 * json.el (json-key-format): Add error properties.
6999 (json-encode-key): New function.
7000 (json-encode-hash-table, json-encode-alist, json-encode-plist):
7001 Use json-encode-key.
7002
da485f5e
GM
70032012-08-22 Glenn Morris <rgm@gnu.org>
7004
7005 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
7006 (cal-tex-leftday, cal-tex-rightday): Remove functions.
7007 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
7008 Update for above change.
7009
c6cc78b8
AS
70102012-08-21 Andreas Schwab <schwab@linux-m68k.org>
7011
7012 * cus-face.el (custom-face-attributes): Fix customize type for the
7013 :underline attribute. (Bug#11805)
7014
5481664a
MR
70152012-08-21 Martin Rudalics <rudalics@gmx.at>
7016
7017 * window.el (window-point-1, set-window-point-1): Remove.
7018 (window-in-direction, record-window-buffer)
7019 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
7020 (window--state-get-1, display-buffer-record-window):
7021 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
7022 window-point and set-window-point respectively.
7023
6d74698e
GM
70242012-08-21 Glenn Morris <rgm@gnu.org>
7025
b7fa2691
GM
7026 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
7027 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
7028 Use it.
7029
52f56d5a
GM
7030 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
7031 (cal-tex-shortday): New function.
7032 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
7033 (cal-tex-cursor-filofax-daily): Use the above.
7034
9f1ee09e
GM
7035 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
7036 New functions.
7037 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7038 (cal-tex-cursor-filofax-week): Use them.
7039
79858159
GM
7040 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
7041 New constants.
7042 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
7043 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
7044
d346b2b4
GM
7045 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
7046 (cal-tex-end-document): Don't rely on buffer name.
7047
b2403709
GM
7048 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
7049 Use cal-tex-vspace.
7050 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
7051 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
7052 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
7053 Use cal-tex-arg.
b2403709 7054
1cebb5c0
GM
7055 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
7056 (cal-tex-cursor-week, cal-tex-cursor-week2)
7057 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
7058 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7059 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
7060 (cal-tex-insert-preamble, cal-tex-b-document)
7061 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
7062 Improve cal-tex-cmd usage.
7063
c68cd5d4
GM
7064 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
7065 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
7066 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
7067 (cal-tex-weekly-paper): New function.
7068 (cal-tex-cursor-week, cal-tex-cursor-week2)
7069 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
7070 (cal-tex-cursor-day): Use it.
7071
9dca4801
GM
7072 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
7073 (cal-tex-cursor-filofax-week): Remove leading blank page.
7074
1941e134
GM
7075 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7076 Add autoload cookie. For now at least, don't use color, since
7077 no other cal-tex function does.
7078
6d74698e
GM
7079 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
7080 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7081 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
7082
64cde199
JL
70832012-08-21 Juri Linkov <juri@jurta.org>
7084
7085 * info.el (Info-file-attributes): New variable.
7086 (info-insert-file-contents): Add file attributes to
7087 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
7088 `Info-toc-nodes' when previous modtime of the Info file is less
7089 than new modtime.
7090 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
7091 of info.el. (Bug#12230)
7092
32757648
GM
70932012-08-20 Glenn Morris <rgm@gnu.org>
7094
7095 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7096 * calendar/holidays.el (calendar-holiday-list):
7097 Report errors with display-warning rather than beep'n'sleep.
7098
a32fbbcf
MA
70992012-08-20 Michael Albinus <michael.albinus@gmx.de>
7100
7101 * net/tramp.el (tramp-accept-process-output): Accept only output
7102 from PROC. Otherwise, process filters and sentinels might be
7103 confused. (Bug#12145)
7104
a05731a0
CY
71052012-08-20 Chong Yidong <cyd@gnu.org>
7106
7107 * descr-text.el (describe-text-properties-1): Use overlays-in to
7108 report on empty overlays (Bug#3322).
7109
36e8d1eb
GM
71102012-08-20 Glenn Morris <rgm@gnu.org>
7111
3d300447
GM
7112 * mail/rmailout.el (rmail-output-read-file-name):
7113 Trap and report errors in rmail-output-file-alist elements.
7114
36e8d1eb
GM
7115 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7116 since most non-font-lock faces are not also variables).
7117
b96e5814
ER
71182012-08-20 Edward Reingold <reingold@iit.edu>
7119
7120 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7121 New function. (Bug12160)
7122
7cef3569
GM
71232012-08-19 Glenn Morris <rgm@gnu.org>
7124
7125 * mail/rmailout.el (rmail-output-read-file-name):
7126 Fix previous change (when the alist is nil or does not match).
7127
17975d7f
CY
71282012-08-19 Chong Yidong <cyd@gnu.org>
7129
7130 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7131 (Bug#12228).
7132
2170b1bd
CY
71332012-08-18 Chong Yidong <cyd@gnu.org>
7134
7135 * simple.el (yank-handled-properties): New defcustom.
7136 (yank-excluded-properties): Add font-lock-face and category.
7137 (yank): Doc fix.
7138
9fba804b
SM
7139 * subr.el (remove-yank-excluded-properties):
7140 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
7141 and category is now done this way, instead of being hard-coded.
7142 (insert-for-yank-1): Remove font-lock-face handling.
7143 (yank-handle-font-lock-face-property)
7144 (yank-handle-category-property): New function.
7145
ee218151
GM
71462012-08-17 Glenn Morris <rgm@gnu.org>
7147
7148 * mail/rmailout.el (rmail-output-read-file-name):
7149 Check rmail-output-file-alist against the full message body
7150 in the correct rmail buffer. (Bug#12214)
7151
4a6bc3fd
MA
71522012-08-17 Michael Albinus <michael.albinus@gmx.de>
7153
9fba804b
SM
7154 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7155 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 7156
383dcbf9
CY
71572012-08-17 Chong Yidong <cyd@gnu.org>
7158
7159 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7160 font spec, set the font directly (Bug#3228).
7161
998c4a6a
MR
71622012-08-17 Martin Rudalics <rudalics@gmx.at>
7163
7164 * window.el (delete-window): Fix last fix.
7165
52162052
MR
71662012-08-16 Martin Rudalics <rudalics@gmx.at>
7167
7168 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
7169 (window-child, window-child-count, window-last-child)
7170 (window-normalize-window, window-combined-p)
7171 (window-combinations, window-atom-root, window-min-size)
7172 (window-sizable, window-sizable-p, window-size-fixed-p)
7173 (window-min-delta, window-max-delta, window--resizable)
7174 (window--resizable-p, window-resizable, window-total-size)
7175 (window-full-height-p, window-full-width-p, window-body-size)
7176 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7177 (minimize-window, window-deletable-p, delete-window)
7178 (delete-other-windows, set-window-buffer-start-and-point)
7179 (next-buffer, previous-buffer, split-window, balance-windows-2)
7180 (set-window-text-height, window-buffer-height)
7181 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
7182 (truncated-partial-width-window-p): Minor code adjustments.
7183 In doc-strings state whether the argument window has to denote a
85c2386b 7184 live, valid or any window.
52162052 7185
1c308380
PS
71862012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7187
7188 * progmodes/subword.el (subword-forward-function)
7189 (subword-backward-function, subword-forward-regexp)
7190 (subword-backward-regexp): New variables.
7191 (subword-forward, subword-forward-internal, subword-backward-internal):
7192 Use new variables, eg so that different "word" definitions
7193 can be easily used. (Bug#11411)
7194
94c9ece1
SM
71952012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7196
7197 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7198 for composite selectors.
7199 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7200 operation just because we can't find a previous revision.
7201
f2045622
CY
72022012-08-15 Chong Yidong <cyd@gnu.org>
7203
7204 * frame.el (set-frame-font): Accept font objects.
7205
582db660
SM
72062012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7207
7208 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7209
2f29c200
WJ
72102012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7211
456e62c2
WJ
7212 * man.el (Man-overstrike-face, Man-underline-face)
7213 (Man-reverse-face): Remove variables.
7214 (Man-overstrike, Man-underline, Man-reverse): New faces.
7215 (Man-fontify-manpage): Use them instead of the variables.
7216 (Man-cleanup-manpage): Comment change.
7217 (Man-ansi-color-map): New variable.
7218 (Man-fontify-manpage): Use it.
7219 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7220
2f29c200
WJ
7221 Implement ANSI SGR parameters 22-27 (bug#12146).
7222 * ansi-color.el (ansi-colors): Doc fix.
7223 (ansi-color-context, ansi-color-context-region): Doc fix.
7224 (ansi-color--find-face): New function.
7225 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7226 Rename the local variable `face' to `codes' since it is now a list of
7227 ansi codes. Doc fix.
7228 (ansi-color-get-face): Remove.
7229 (ansi-color-parse-sequence): New function, derived from
7230 ansi-color-get-face.
7231 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7232 codes 22-27.
7233
b4f5e9df
SM
72342012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7235
7236 * subr.el (read-passwd): Allow use from a minibuffer.
7237
ba025fbd
EZ
72382012-08-14 Eli Zaretskii <eliz@gnu.org>
7239
7240 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7241 inside comments and strings as identifiers.
7242
7243 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7244 expression to evaluate. This allows to evaluate expressions with
7245 embedded whitespace.
7246 (gud-tooltip-tips): Add a blank before the newline in the
7247 message-box text, for the benefit of message-box emulation on
7248 MS-Windows.
7249
7250 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7251 messages from GDB, pop them up in a tooltip to give feedback to
7252 user.
b4f5e9df
SM
7253 (gdb-tooltip-print-1): Quote the expression to evaluate.
7254 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
7255 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7256 if the TTY name is nil or empty (which happens when communicating
7257 with the inferior via pipes, e.g. on MS-Windows).
7258 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7259 don't send that to the GUD buffer.
7260
c548f821
GM
72612012-08-14 Glenn Morris <rgm@gnu.org>
7262
7263 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7264 Optimize away setq-default with no args, as for setq. (Bug#12195)
7265
55802e4a
CY
72662012-08-14 Chong Yidong <cyd@gnu.org>
7267
4abcdac8
CY
7268 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7269
55802e4a
CY
7270 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7271 (Bug#12085).
7272
3c3cda1a
GM
72732012-08-14 Glenn Morris <rgm@gnu.org>
7274
7275 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7276
e1873bd0
MA
72772012-08-14 Michael Albinus <michael.albinus@gmx.de>
7278
7279 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7280 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7281 Use cached shell name.
7282
925411b4
FEG
72832012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7284
7285 * progmodes/python.el (python-shell-send-string):
3c3cda1a 7286 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 7287
e636fafe
DG
72882012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7289
7290 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7291 (ruby-percent-literal-beg-re): New constant.
7292 (ruby-syntax-general-delimiters-goto-beg): Rename to
7293 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7294 (ruby-syntax-propertize-general-delimiters): Rename to
7295 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7296 popular term. Adjust comments everywhere.
7297 (ruby-syntax-propertize-percent-literal): Only propertize when not
7298 inside a simple string or comment. When the literal is unclosed,
7299 leave the text after it unpropertized.
f063063a
DG
7300 (ruby-syntax-methods-before-regexp): New constant.
7301 (ruby-syntax-propertize-function): Use it to recognize regexps.
7302 Don't look at the text after regexp, just use the whitelist.
e636fafe 7303
e5b19827
AS
73042012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7305
7306 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7307 non-nil always load the compiled file if it exists. (Bug#12197)
7308
a9f6f311
CY
73092012-08-14 Chong Yidong <cyd@gnu.org>
7310
7311 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7312 (hi-lock-set-pattern): When deciding whether to use font lock or
7313 overlays, look at font-lock-mode instead of font-lock-fontified
7314 (Bug#12168).
7315 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7316 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7317
7d806b1e
DU
73182012-08-14 Daiki Ueno <ueno@unixuser.org>
7319
7320 * subr.el (internal--after-with-selected-window): Fix typo
7321 (Bug#12193).
7322
5beed586
FEG
73232012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7324
7325 Use `completion-table-dynamic' for completion functions.
7326 * progmodes/python.el
7327 (python-shell-completion--do-completion-at-point)
e636fafe
DG
7328 (python-shell-completion--get-completions):
7329 Remove functions.
5beed586
FEG
7330 (python-shell-completion-complete-at-point): New function.
7331 (python-completion-complete-at-point): Use it.
7332
92cb3b04
J
73332012-08-13 Jambunathan K <kjambunathan@gmail.com>
7334
7335 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7336 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7337
89660017
SM
73382012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7339
3c98c962
SM
7340 * subr.el (function-get): Refine `autoload' arg so it can also
7341 autoload functions for gv.el (bug#12191).
7342 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7343 autoloads macros.
7344
aa7c6dbe
SM
7345 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7346 Prefer pcase-let over destructuring-bind.
7347 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7348 Also, remove whitespace as we go, rather than after accumulating the
7349 various places.
7350
89660017
SM
7351 * subr.el (internal--before-with-selected-window)
7352 (internal--after-with-selected-window): Fix typo seleted->selected.
7353 (with-selected-window): Adjust callers.
7354 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7355
31cd32c9
BG
73562012-08-13 Bastien Guerry <bzg@gnu.org>
7357
0fcd3d9f 7358 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
7359 enhancement. (Bug#12172)
7360
1b15d8ad
AS
73612012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7362
31e54db0
AS
7363 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7364 type 1-6.
7365 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7366 extended headers.
7367
1b15d8ad
AS
7368 * files.el (hack-local-variables-filter): Remove useless eval.
7369
35cb9c06
MR
73702012-08-13 Martin Rudalics <rudalics@gmx.at>
7371
7372 * subr.el (with-selected-window): Fix last change.
7373
1439443b
SM
73742012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7375
7376 * subr.el (internal--before-with-seleted-window)
7377 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
7378 (with-selected-window): Use them, to replace dependency on
7379 tty-top-frame.
1439443b 7380
0d9e2599
NN
73812012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7382
7383 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7384 binding for `newline'.
7385 (ruby-move-to-block): When moving backward, stop at block opening,
7386 not indentation.
7387 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7388 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7389 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7390 `ruby-toggle-block'.
7391
ba10c48c
SM
73922012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * ibuffer.el (ibuffer-do-toggle-read-only):
7395 * dired.el (dired-toggle-read-only):
7396 * buff-menu.el (Buffer-menu-toggle-read-only):
7397 * bindings.el (mode-line-toggle-read-only):
7398 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7399
9229c658
AS
74002012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7401
7402 * descr-text.el (describe-char): Put the overlays over the
7403 "displayed as" character.
7404
0fd09128
JB
74052012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7406
7407 * calc/calc-units.el (math-default-units-table): Give an
7408 initial value.
7409 (math-put-default-units): Add options to put composite units and
7410 unit systems in the default units table.
7411 (calc-convert-units): Send composite units to
7412 `math-put-default-units' when appropriate.
7413
9ff9402d 74142012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 7415
fbb5e336
GM
7416 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7417
7aacaf15
GM
7418 * tutorial.el (help-with-tutorial):
7419 * emacs-lisp/copyright.el (copyright-update-directory):
7420 * emacs-lisp/autoload.el (autoload-find-generated-file)
7421 (autoload-find-file): Disable local eval: (for insurance).
7422
f40b9f10
GM
7423 * files.el (hack-local-variables-filter): If an eval: form is not
7424 known to be safe, and enable-local-variables is :safe, then ignore
7425 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 7426 This is CVE-2012-3479.
f40b9f10 7427
daa9f1a6
SM
74282012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7431 (rx-form): Simplify.
7432
9cd80478
DG
74332012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7434
0d9e2599
NN
7435 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7436 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7437 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7438 (ruby-syntax-propertize-function): Adjust for changes in
7439 `ruby-syntax-propertize-heredoc'.
7440
74412012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7442
9cd80478
DG
7443 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7444 binding (use `M-;' instead).
9cd80478 7445 (ruby-singleton-class-p): New function.
0d9e2599 7446 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 7447
d301b413
SM
74482012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7449
7450 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7451
1530c98e
CY
74522012-08-10 Chong Yidong <cyd@gnu.org>
7453
7454 * progmodes/python.el (python-shell-get-process-name): Don't mess
7455 with same-window-buffer-names.
7456
7457 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7458 (eshell-remove-from-window-buffer-names): Make obsolete.
7459 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7460 (eshell): Just use pop-to-buffer-same-window instead.
7461
e1293765
CY
74622012-08-10 Chong Yidong <cyd@gnu.org>
7463
7464 * bindings.el: Bind M-= back to count-words-region.
7465
7466 * simple.el (count-words-region): Accept a prefix arg for acting
7467 on the entire buffer.
7468 (count-words--buffer-message): New helper function.
7469
e1894109
SM
74702012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7471
7472 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7473 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7474 (event-start, event-end): Use posn-at-point to return a more
7475 informative posn.
7476 (posnp): New function.
7477 * mouse.el (popup-menu-normalize-position): Use it.
7478
c69f56a2
MY
74792012-08-10 Masatake YAMATO <yamato@redhat.com>
7480
7481 * mouse.el (popup-menu-normalize-position): New function.
7482 (popup-menu): Use `popup-menu-normalize-position' to normalize
7483 the form for POSITION argument.
7484
7485 * term/x-win.el (x-menu-bar-open):
7486 Use the value returend from (posn-at-point) as position
7487 passed to `popup-menu'.
7488
31673780
JB
74892012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7490
7491 * calc/calccomp.el (math-compose-expr): Add extra argument
7492 indicating that parentheses should be put around products in
7493 denominators. Give multiplication precedence over division during
7494 composition.
7495
dab7711b
CY
74962012-08-09 Chong Yidong <cyd@gnu.org>
7497
dee4ef93
CY
7498 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7499 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7500 (Man-untabify-command, manual-program): Convert to defcustom
7501 (Bug#10429).
7502
73e2bbc5
CY
7503 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7504
3e861c8a
CY
7505 * descr-text.el (describe-char): Don't insert extra newlines
7506 (Bug#10127).
7507
a9f5a649
CY
7508 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7509 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7510
dab7711b
CY
7511 * align.el (align-region): Delete temporary markers (Bug#10047).
7512 Plus some code cleanups.
7513
e0cc4efa
FEG
75142012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7515
7516 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7517 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7518 (python-shell-internal-last-output): Use make-local-variable
7519 instead of make-variable-buffer-local.
7520
489af14f
FEG
75212012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7522
7523 * progmodes/python.el: Enhancements to forward-sexp.
7524 (python-nav-forward-sexp): Rename from
7525 python-nav-forward-sexp-function.
c69f56a2
MY
7526 (python-nav--forward-sexp, python-nav--backward-sexp):
7527 New functions.
489af14f 7528
0fc50303
JB
75292012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7530
7531 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7532 modes and simplification modes.
7533
5d65606a
SM
75342012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7535
7536 * delsel.el (delete-selection-pre-hook): Don't propagate the
7537 file-supersession signals (bug#12161).
7538
4250fdf5
SM
75392012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7540
7541 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7542 (cl-map-extents): Add compatibility aliases (bug#12135).
7543
d9f9b465
MA
75442012-08-08 Michael Albinus <michael.albinus@gmx.de>
7545
7546 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7547 tests by `ignore-error'.
7548 (tramp-find-shell): Open also a new shell, when cache is already
7549 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7550
ce0fcefa
JL
75512012-08-08 Juri Linkov <juri@jurta.org>
7552
7553 * bookmark.el: Add `defaults' property to the bookmark record.
7554 (bookmark-current-buffer): Doc fix.
7555 (bookmark-make-record): Add `defaults' property with default values
7556 to the bookmark record.
7557 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7558 with `bookmark-insert-current-bookmark'.
7559 (bookmark-set): Get `defaults' property from the bookmark record
7560 and use it in `read-from-minibuffer'.
7561 (bookmark-insert-current-bookmark): Remove function.
7562
7563 * info.el (Info-bookmark-make-record): Add `defaults' property
7564 with values of canonical Info node name, the current Info file
7565 name and the current Info node name. (Bug#12107)
7566
53fa8652
JL
75672012-08-08 Juri Linkov <juri@jurta.org>
7568
7569 * files.el (basic-save-buffer): Use `buffer-name' as the default
7570 of `read-file-name' when buffer is not visiting a file (bug#12128).
7571
242c0a95
JL
75722012-08-08 Juri Linkov <juri@jurta.org>
7573
7574 * info.el (Info-isearch-search): Doc fix.
7575 (Info-search): Change search-failed message from "initial node" to
7576 "end of node" (bug#12078).
7577 (Info-isearch-search): Change `isearch-string-state' to
7578 `isearch--state-string'.
7579
32ac3a6b
GM
75802012-08-08 Glenn Morris <rgm@gnu.org>
7581
7582 * language/persian.el: Remove file.
f8c1afd5 7583 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
7584 * loadup.el: Remove language/persian.
7585
2c2d9c9c
OF
75862012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7587
7588 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7589
2d79ec42
FEG
75902012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7591
3c855b96 7592 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
7593 (python-syntax-context) Rename from python-info-ppss-context.
7594 (python-syntax-context-type): Rename from
7595 python-info-ppss-context-type.
7596 (python-syntax-comment-or-string-p): Rename from
7597 python-info-ppss-comment-or-string-p.
7598
2bd255dd
JB
75992012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7600
7601 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7602
c395097f
AS
76032012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7604
6125983e
AS
7605 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7606 a defcustom that is quoted with backquote.
7607
4250fdf5
SM
7608 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7609 Fix handling of interactive spec when the body uses return.
651eaf36
AS
7610 (math-do-arg-check, math-define-function-body): Use backquote forms.
7611 * calc/calc-ext.el (math-defcache): Likewise.
7612 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7613 * allout.el (allout-new-exposure): Likewise.
7614 * calc/calcalg2.el (math-tracing-integral): Likewise.
7615 * info.el (Info-last-menu-item): Likewise.
7616 * emulation/vip.el (vip-loop): Likewise.
7617 * textmodes/artist.el (artist-funcall): Likewise.
7618 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7619 Construct menu-item directly.
7620
4250fdf5
SM
7621 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7622 Don't declare.
c395097f 7623
5fb50dd3
CY
76242012-08-07 Chong Yidong <cyd@gnu.org>
7625
7626 * simple.el (deactivate-mark): Preserve text properties when
7627 saving the primary selection (Bug#8384).
7628
54eea618
KR
76292012-08-07 Kevin Ryde <user42@zip.com.au>
7630
7631 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7632 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7633 and continue processing (Bug#12110).
7634
638eaeb9
SM
76352012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7636
7637 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7638 syntax-propertize-function (bug#10095).
7639
ea376861
SM
76402012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7641
f91b35be
SM
7642 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7643 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7644 describe-function-1.
7645 (describe-function-1): Use them. Move compiler macro after sig.
7646 (help-fns--compiler-macro): Use function-get. Assume we're already in
7647 standard-output. Adjust layout to new call order.
7648
ea376861
SM
7649 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7650 re-binding a symbol that has a symbol-macro (bug#12119).
7651
d5be7bd0
MB
76522012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7653
7654 * language/persian.el: New file. (Bug#11812)
7655 * loadup.el: Add language/persian.el.
7656
90749b53
CY
76572012-08-06 Chong Yidong <cyd@gnu.org>
7658
7659 * window.el (window--maybe-raise-frame): New function.
7660 (window--display-buffer): Split off from here.
7661 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7662 (display-buffer-pop-up-window, display-buffer-use-some-window):
7663 Obey an inhibit-switch-frame action alist entry.
7664 (display-buffer): Update doc.
7665
7666 * replace.el (occur-after-change-function): Avoid losing focus by
7667 using the inhibit-switch-frame display parameter (Bug#12139).
7668
ba7b0154
FEG
76692012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7670
7671 Make internal shell process buffer names start with space.
7672 * progmodes/python.el (python-shell-make-comint): Add optional
7673 argument INTERNAL.
7674 (run-python-internal): Use it.
7675 (python-shell-internal-get-or-create-process): Check for new
7676 internal buffer names.
7677
5eaeacb5
GM
76782012-08-06 Glenn Morris <rgm@gnu.org>
7679
e296d94b 7680 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
7681 Do less getting and setting of environment variables.
7682
b7ccbdc2
CY
76832012-08-05 Chong Yidong <cyd@gnu.org>
7684
777fe95e
CY
7685 * proced.el (proced): Add substitution string to docstring to
7686 trigger autoloading of the proced library on C-h f (Bug#1768).
7687
4250fdf5
SM
7688 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7689 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
7690
7691 * imenu.el (imenu-generic-expression): Move documentation here
7692 from imenu--generic-function.
7693 (imenu--generic-function): Refer to imenu-generic-expression.
7694
9e3b7800 76952012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
7696
7697 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7698 indentation declaration.
7699 (viper-loop): Add indentation declaration (Bug#7025).
7700
e5d9c0d1
CY
77012012-08-05 Chong Yidong <cyd@gnu.org>
7702
f0422feb
CY
7703 * help-fns.el (describe-variable): Add hyperlink for
7704 directory-local variables files. Improve buffer-local and
7705 permanent-local reporting; suggested by MON KEY (Bug#6644).
7706
7707 * help-mode.el (help-dir-local-var-def): New button type.
7708
e5d9c0d1
CY
7709 * files.el (kill-buffer-hook): Provide a defvar.
7710
a4f2deaa
GM
77112012-08-05 Glenn Morris <rgm@gnu.org>
7712
7713 * eshell/esh-ext.el (eshell/addpath):
7714 Also update eshell-path-env. (Bug#12013)
7715
a9dd5754
CY
77162012-08-05 Chong Yidong <cyd@gnu.org>
7717
a4f2deaa 7718 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 7719
d014c740
CY
7720 * fringe.el (fringe-styles): Add docstring.
7721 (fringe--check-mode): New function.
7722 (set-fringe-mode, set-fringe-style): Use it.
7723 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7724
a9dd5754
CY
7725 * files.el (set-auto-mode): Fix invalid setq call.
7726
7c2dc8bd
SM
77272012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7728
7729 * isearch.el: Misc simplification; use defstruct.
7730 (isearch-mode-map): Dense maps now work like sparse ones.
7731 (isearch--state): New defstruct.
7732 (isearch-string-state, isearch-message-state, isearch-point-state)
7733 (isearch-success-state, isearch-forward-state)
7734 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7735 (isearch-wrapped-state, isearch-barrier-state)
7736 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7737 replaced by defstruct's accessors.
7738 (isearch--set-state): Rename from isearch-top-state and change
7739 calling convention.
7740 (isearch-push-state): Use new isearch--get-state.
7741 (isearch-toggle-word): Disable regexp when enabling word.
7742 (isearch-message-prefix): Remove unused arg _c-q-hack.
7743 (isearch-message-suffix): Remove unused arg _ellipsis.
7744
7fcc0070
AS
77452012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7746
7747 * simple.el (list-processes--refresh): For a server use :host or
7748 :local as the address.
97ad0769 7749 (list-processes): Doc fix.
7fcc0070 7750
a11035b8 77512012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
7752
7753 * lisp/mpc.el: Support password in host argument.
7754 (mpc--proc-connect): Parse and use new password element.
7755 Set mpc-proc variable instead of returning process.
7756 (mpc-proc): Adjust accordingly.
7757
6dad7178
EZ
77582012-08-03 Eli Zaretskii <eliz@gnu.org>
7759
18949c2f
EZ
7760 * whitespace.el (whitespace-display-mappings): Use Unicode
7761 codepoints, instead of emacs-mule codepoints. See
7762 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7763 for the details.
7764
6dad7178
EZ
7765 * files.el (file-truename): Don't skip symlink-chasing part on
7766 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
7767 Windows into the loop that recursively chases symlinks.
7768 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
7769 MS-DOS.
7770
385b0198
CY
77712012-08-03 Chong Yidong <cyd@gnu.org>
7772
6200f3c4
CY
7773 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7774
385b0198
CY
7775 * sort.el (sort-regexp-fields): Doc fix.
7776
b9e74744
TH
77772012-08-03 Tassilo Horn <tsdh@gnu.org>
7778
7779 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7780 labels regex position point at the expected place.
7781
41013cb4
MK
77822012-08-03 MON KEY <monkey@sandpframing.com>
7783
7784 * net/imap.el (imap-interactive-login, imap-authenticate)
7785 (imap-mailbox-lsub, imap-mailbox-list)
7786 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7787 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7788 (imap-parse-response): Doc fix.
7789
0ffee616
JT
77902012-08-03 João Távora <joaotavora@gmail.com>
7791
7792 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7793 if sexp scanning does not move point (Bug#5734).
7794
cfcc9cc8
TH
77952012-08-02 Tassilo Horn <tsdh@gnu.org>
7796
7797 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7798 Add listings, minted, and ctable packages.
7799 (reftex-label-alist-builtin): Move listings, minted, and ctable
7800 entries before LaTeX.
a01bbb84 7801 (reftex-label-alist): Docfix.
cfcc9cc8 7802
66ec2442
BG
78032012-08-02 Bastien Guerry <bzg@gnu.org>
7804
7805 * replace.el (occur): Fix docstring (bug#12122).
7806
837b365b
GM
78072012-08-02 Glenn Morris <rgm@gnu.org>
7808
7809 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7810
e098de97
PE
78112012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7812
7813 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7814 * international/mule-cmds.el: Create
7815 inactivate-current-input-method-function as an obsolete alias for
7816 deactivate-current-input-method-function. See Katsumi Yamaoka in
7817 <http://bugs.gnu.org/10150#46>.
7818
a0f95636
JB
78192012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7820
7821 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7822 of nested `if's.
7823
0d26d7c4
GM
78242012-08-01 Glenn Morris <rgm@gnu.org>
7825
7826 * progmodes/autoconf.el (autoconf-definition-regexp):
7827 Add AH_TEMPLATE, adjust submatch numbering.
7828 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7829 (autoconf-current-defun-function): Update for above change.
7830 (autoconf-current-defun-function): First skip to end of current word.
7831
b686ba06
RS
78322012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7833
7834 * calendar/cal-html.el (cal-html-insert-agenda-days):
7835 Fix typo. (Bug#12018)
7836
0d49da68
FEG
78372012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7838
7839 Shell processes: enhancements to startup and CEDET compatibility.
7840 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7841 (python-shell-make-comint): accept-process-output at startup.
7842 (run-python-internal): Set inferior-python-mode-hook to nil.
7843 (python-shell-internal-get-or-create-process): call sit-for.
7844 (python-preoutput-result): Add obsolete alias.
7845 (python-shell-internal-send-string): Use it.
7846 (python-shell-send-setup-code): Remove call to
7847 accept-process-output.
7848
f1a71c6e
AS
78492012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7850
7851 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7852 (Bug#12108)
7853
d2605269
JB
78542012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7855
7856 * calc-mode.el (calc-basic-simplification-mode): Rename from
7857 `calc-limited-simplification-mode'.
7858 (calc-alg-simplification-mode): New function.
fc0c31f8 7859 (calc-set-simplify-mode): Adjust message.
f1a71c6e 7860
d2605269
JB
7861 * calc.el (calc-set-mode-line): Adjust mode line display for
7862 basic simplification mode.
7863
7864 * calc-help.el (calc-m-prefix-help): Update help message.
7865
7866 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7867 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7868
a3827a43
BG
78692012-07-31 Bastien Guerry <bzg@gnu.org>
7870
7871 * man.el (man): Fix comment. (bug#12101)
7872
502e3f89
MR
78732012-07-31 Martin Rudalics <rudalics@gmx.at>
7874
7875 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7876 Don't return a non-nil value when no suitable buffer was found.
7877
d7714961
FEG
78782012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7879
7880 * progmodes/python.el (run-python-internal): Disable font lock for
7881 internal shells.
7882
1f45e27e
SM
78832012-07-30 Stefan Merten <smerten@oekonux.de>
7884
70efc5c9 7885 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
7886 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7887 (rst-official-version, rst-official-cvs-rev)
7888 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7889 (rst-mode-map): New key binding.
7890
0aee6912
PE
78912012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7892
7893 Update .PHONY listings in makefiles.
7894 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7895 autoloads, update-subdirs, updates, bzr-update, update-authors,
7896 compile-onefile, compile-calc, backup-compiled-files,
7897 compile-after-backup, compile-one-process, mh-autoloads,
7898 bootstrap-clean, distclean, maintainer-clean.
7899
9052f9f0
JB
79002012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7901
1823ac5a
JB
7902 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7903 (calc-set-mode-line): Don't display "AlgSimp ".
7904
7905 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7906 (calc-lim-simplify-mode): New function.
7907 (calc-set-simplify-mode): Default to 'alg.
7908 (calc-default-simplify-mode): Make algebraic simplifications
7909 the default.
7910
7911 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7912 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7913
8d7c7eed 7914 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
7915 indicate new simplification modes.
7916
1823ac5a
JB
7917 * calc/README: Mention new default simplification mode.
7918
9052f9f0
JB
7919 * calc/calc.el (math-normalize-error): New variable.
7920 (math-normalize): Set `math-normalize-error' to t
7921 when there's an error.
7922
7923 * calc/calc-alg.el (math-simplify): Don't simplify when
7924 `math-normalize' returns an error.
7925
20ba0cb4
EZ
79262012-07-29 Eli Zaretskii <eliz@gnu.org>
7927
7928 * international/mule-cmds.el (set-locale-environment): Revert last
7929 change, since display-graphic-p returns nil when this function is
7930 called during startup. Instead...
7931
7932 * term/w32console.el (terminal-init-w32console): ...setup the
7933 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7934
a5dcc929
JL
79352012-07-29 Juri Linkov <juri@jurta.org>
7936
7937 * simple.el (goto-line): Don't display default line number in the
7938 prompt because it should be displayed by `read-number' (bug#9952).
7939 Add the current line number to the defaults of `goto-line' to
7940 allow its easier modification by users with `M-n' (bug#9201).
7941
7942 * subr.el (read-number): Support multiple default values like in
7943 other minibuffer reading functions. Replace `read' with
7944 `string-to-number' for consistency with `number-to-string'.
7945
72b255c7
PE
79462012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7947
7948 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7949 * emulation/viper-init.el (viper-deactivate-input-method-action):
7950 Rename from viper-inactivate-input-method-action.
7951 (viper-deactivate-input-method):
7952 Rename from viper-inactivate-input-method.
7953 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7954 * international/mule-cmds.el (deactivate-input-method):
7955 Rename from inactivate-input-method.
7956 Also run input-method-deactivate-hook.
7957 (deactivate-current-input-method-function):
7958 Rename from inactivate-current-input-method-function.
7959 (input-method-deactivate-hook): New hook.
7960 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
7961 (inactivate-input-method): Mark obsolete.
7962
72b255c7
PE
7963 * international/quail.el (quail-activate):
7964 Also run quail-deactivate-hook.
7965 (quail-deactivate): Rename from quail-inactivate.
7966 * international/robin.el (robin-activate):
7967 Also run robin-deactivate-hook.
7968 (robin-deactivate): Rename from robin-inactivate.
7969
2549c068
CY
79702012-07-29 Chong Yidong <cyd@gnu.org>
7971
7972 * simple.el (indicate-copied-region): New function.
7973 (kill-ring-save): Split off from here.
7974
7975 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7976 (kill-rectangle): Set deactivate-mark to t on read-only error.
7977
7978 * register.el (copy-to-register, copy-rectangle-to-register):
7979 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
7980 (append-to-register, prepend-to-register): Call indicate-copied-region.
7981
79822012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
7983
7984 * simple.el (async-shell-command-buffer): New defcustom.
7985 (shell-command): Use it. (Bug#4719)
7986
01bd1b0d
EZ
79872012-07-28 Eli Zaretskii <eliz@gnu.org>
7988
7989 * international/mule-cmds.el (set-locale-environment): In a
7990 console session on MS-Windows, set up keyboard and terminal
7991 encoding from the OEM codepage, not the ANSI codepage.
7992 (Bug#12055)
7993
a55739d3
CY
79942012-07-28 Chong Yidong <cyd@gnu.org>
7995
7996 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7997 gdb-get-location.
7998
0e1a094f 79992012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
8000
8001 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
8002 the alist (bug#12029).
8003
20329d73
EZ
80042012-07-28 Eli Zaretskii <eliz@gnu.org>
8005
8006 * makefile.w32-in (custom-deps, finder-data, updates, compile)
8007 (compile-always, compile-first)
8008 ($(lisp)/calendar/cal-loaddefs.el)
8009 ($(lisp)/calendar/diary-loaddefs.el)
8010 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
8011 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
8012 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
8013 instead of on update-subdirs.
8014 (bootstrap-clean): Delete $(lisp)/subdirs.el.
8015
345a2258
CY
80162012-07-28 Chong Yidong <cyd@gnu.org>
8017
1eee6341
CY
8018 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
8019 directory if vc-deduce-backend returns nil (Bug#7350).
8020
345a2258
CY
8021 * simple.el (delete-trailing-lines): New option.
8022 (delete-trailing-whitespace): Obey it (Bug#11879).
8023
049a0936
DE
80242012-07-28 David Engster <deng@randomsample.de>
8025
8026 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
8027 Explanation of new 'symbol-qnames feature in doc-strings.
8028 (xml-maybe-do-ns): Return expanded names as plain symbols if
8029 'symbol-qnames was provided in XML-NS argument (Bug#11916).
8030 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
8031
aa81af71
FEG
80322012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8033
8034 Consistent completion in inferior python with emacs -nw.
8035 * progmodes/python.el (inferior-python-mode): replace "<tab>"
8036 binding in inferior-python-mode-map with "\t".
8037 (python-shell-completion-complete-at-point)
8038 (python-completion-complete-at-point): Remove interactive spec.
8039
e827b1eb
JB
80402012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8041
8042 * calc/calccomp.el (math-compose-expr): Undo previous change.
8043
a90dfb95
FEG
80442012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
8045
4250fdf5 8046 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
8047 run-python.
8048 (python-shell-make-comint): Fix pop-to-buffer call.
8049 (run-python): Autoload. New arg SHOW.
8050 (python-shell-get-or-create-process): Do not pop python process
8051 buffer.
8052
32770973 80532012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
8054
8055 * notifications.el (notifications-on-action-signal)
8056 (notifications-on-closed-signal): Use also the bus address for the map.
8057 (notifications-notify, notifications-close-notification)
fc0c31f8 8058 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 8059
86332df2
TH
80602012-07-27 Tassilo Horn <tsdh@gnu.org>
8061
4250fdf5
SM
8062 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
8063 Add support for the lstlisting and minted environments, and for the
86332df2
TH
8064 ctable macro.
8065 * textmodes/reftex.el (reftex-compile-variables): Also recognize
8066 labels written in keyvals syntax.
8067
ca1302a4
JB
80682012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
8069
8070 * calc/calccomp.el (math-compose-expr): Use parentheses when
8071 there is a product in the denominator of a fraction.
8072
f8b91036
EZ
80732012-07-26 Eli Zaretskii <eliz@gnu.org>
8074
8075 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
8076 ($(lisp)/calendar/diary-loaddefs.el)
8077 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
8078 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
8079 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
8080 rewritten while the autoload files are built at the same time,
8081 which needs to load subdirs.el.
8082
c8e5a42c
MR
80832012-07-26 Martin Rudalics <rudalics@gmx.at>
8084
8085 * mouse.el (popup-menu): Fix doc-string and re-indent code.
8086 (mouse-drag-line): Don't exit tracking when a switch-frame or
8087 switch-window event occurs (Bug#12006).
8088
670d85ea
SM
80892012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8090
8091 * mouse.el (popup-menu): Fix last change.
8092
7abaf5cc
SM
80932012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8094
8095 Autoload from Lisp with more care. Follow aliases when looking for
8096 function properties.
8097 * subr.el (autoloadp): New function.
8098 (symbol-file): Use it.
8099 (function-get): New function.
8100 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
8101 autoload-do-load.
8102 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
8103 (lisp-indent-function):
8104 * emacs-lisp/gv.el (gv-get):
8105 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
8106 * emacs-lisp/byte-opt.el (byte-optimize-form):
8107 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8108 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
8109 Use function-get.
8110 * emacs-lisp/cl.el: Don't propagate function properties any more.
8111
8112 * speedbar.el (speedbar-add-localized-speedbar-support):
8113 * emacs-lisp/disass.el (disassemble-internal):
8114 * desktop.el (desktop-load-file):
8115 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8116 (describe-function-1):
8117 * emacs-lisp/find-func.el (find-function-noselect):
8118 * emacs-lisp/elp.el (elp-instrument-function):
8119 * emacs-lisp/advice.el (ad-has-proper-definition):
8120 * apropos.el (apropos-safe-documentation, apropos-macrop):
8121 * emacs-lisp/debug.el (debug-on-entry):
8122 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8123 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8124 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8125
b1364986
AA
81262012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8127
8128 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8129 function, not an obsolete variable (Bug#12046).
8130
67ada220
AS
81312012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8132
8133 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8134
f08088e3
CS
81352012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8136
8137 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8138 window only if it is still live (Bug#12034).
8139
8137e7b3
MR
81402012-07-25 Martin Rudalics <rudalics@gmx.at>
8141
8142 * subr.el (redirect-frame-focus): Add advertised calling
8143 convention (Bug#12030).
8144
09ae5da1
PE
81452012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8146
8147 Prefer typical American spelling for "acknowledgment".
8148 * vc/add-log.el (change-log-acknowledgment): Rename from
8149 change-log-acknowledgement, with an alias for the old name.
8150
3cc5a3a8
JB
81512012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8152
8153 * calc-alg.el (math-simplify-divide): Don't cross multiply
8154 in an equation when the lhs is a variable.
8155
b7af7f62
JD
81562012-07-24 Julien Danjou <julien@danjou.info>
8157
8158 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8159 Remove, unused.
8160
ec1b09b1
EZ
81612012-07-23 Eli Zaretskii <eliz@gnu.org>
8162
8163 * startup.el (command-line): Don't display an empty user name in
8164 the error message about non-existent home directory, when
8165 init-file-user was set to an empty string. See
8166 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8167 for the details and context.
8168
b525fd8a
VB
81692012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8170
8171 * ses.el (ses-cell-formula-aset): New macro.
8172 (ses-cell-references-aset): New macro.
8173 (ses-cell-p): New function.
8174 (ses-rename-cell): Do no longer rely on complex operations like
8175 ses-cell-set-formula or ses-set-cell to change the cell and handle
8176 the undo at the same time, but rather use lower level new macros
8177 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 8178 the undo directly. Refresh the mode line.
b525fd8a 8179
2c73e345
LL
81802012-07-21 Leo Liu <sdl.web@gmail.com>
8181
670d85ea
SM
8182 * progmodes/cc-cmds.el (c-defun-name):
8183 Use match-string-no-properties instead for consistency.
2c73e345 8184
542dfbde
LL
81852012-07-20 Leo Liu <sdl.web@gmail.com>
8186
3646bcd6
LL
8187 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8188 (Bug#7879)
8189
542dfbde
LL
8190 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8191
25721031
CY
81922012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8193
8194 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8195 * progmodes/bug-reference.el, misearch.el: Provide themselves
8196 (bug#11915).
8197
8198 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8199 of narrowed buffer (bug#11966).
8200
316e68a7
VB
82012012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8202
8203 * ses.el (ses-rename-cell): Set new name also in reference list of
8204 cells of which the renamed cell depends.
8205
bbf0e7d9
MY
82062012-07-20 Masatake YAMATO <yamato@redhat.com>
8207
8208 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8209 to check whether menu-bar is shown or not. If not shown,
8210 show the menu-bar as a popup menu instead of using tmm.
8211 * mouse.el (popup-menu): Accept `point' as `position' argument.
8212
c28662a8
DG
82132012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8214
8215 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8216 up inside string symbol literal (bug#11923).
8217
87ab808f
EZ
82182012-07-20 Eli Zaretskii <eliz@gnu.org>
8219
8220 * startup.el (fancy-startup-text): Read the whole tutorial, not
8221 just its first 256 bytes. Prevents gibberish in display of the
8222 tutorial title.
8223
89dea803
DA
82242012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8225
8226 Drop idle buffer compaction due to an absence of the
8227 proved efficiency.
8228 * compact.el: Remove.
8229
8a4e6db8
SS
82302012-07-19 Sam Steingold <sds@gnu.org>
8231
8232 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8233 vc-bzr-pull & vc-bzr-merge-branch.
8234 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8235 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8236 for consistency with compilation-error-regexp-alist.
8237 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8238 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8239 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8240 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8241
5db81e33
SM
82422012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8243
8244 * emacs-lisp/chart.el: Use lexical-binding.
8245 (chart-emacs-storage): Don't hardcode the list of entries.
8246
5b835e1d
DA
82472012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8248
8249 Next round of tweaks caused by Fgarbage_collect changes.
8250 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8251
9cd47b72
DA
82522012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8253
8254 Compact buffers when idle.
8255 * compact.el: New file.
8256
1d6fc0df
SM
82572012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8258
8259 * subr.el (eventp): Presume that if it looks vaguely like an event,
8260 it's an event (bug#10190).
8261
1d29cc7d
FEG
82622012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8263
8264 Enhancements to ppss related code (thanks Stefan).
8265 * progmodes/python.el (python-indent-context)
8266 (python-indent-calculate-indentation, python-indent-dedent-line)
8267 (python-indent-electric-colon, python-nav-forward-block)
8268 (python-mode-abbrev-table)
1d6fc0df 8269 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
8270 for ppss context.
8271 (python-info-continuation-line-p): Cleanup.
8272 (python-info-ppss-context): Do not catch 'quote.
8273 (python-info-ppss-context-type)
8274 (python-info-ppss-comment-or-string-p): Simplify.
8275
d583cbe6
FEG
82762012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8277
8278 * progmodes/python.el: Enhancements to eldoc support.
8279 (python-info-current-symbol): New function.
8280 (python-eldoc-at-point): Use python-info-current-symbol.
8281 (python-info-current-defun): Fix cornercase on first defun scan.
8282 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8283 and signal error when no inferior python process is available.
8284
eceb6feb
DG
82852012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8286
8287 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8288 assume it's always t.
8289 (vc-git-registered): Remove caching, the function is only called
8290 once.
8291 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8292
4c8ff0fe
CY
82932012-07-18 Chong Yidong <cyd@gnu.org>
8294
19fb7186
CY
8295 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8296
9587c688
CY
8297 * simple.el (count-words): Report on narrowing (Bug#9959).
8298
0fe776a1
CY
8299 * bindings.el: Bind M-= to count-words.
8300
4c8ff0fe
CY
8301 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8302
7f5331cc
MY
83032012-07-18 Masatake YAMATO <yamato@redhat.com>
8304
8305 * progmodes/sh-script.el (sh-imenu-generic-expression):
8306 Capture a function with `function' keyword and without parentheses
8307 like "function FOO" (bug#11856).
8308
2dc2a609
TH
83092012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8310
8311 * window.el (split-window-sensibly): Make WINDOW argument
8312 optional.
8313
439f7677
CY
83142012-07-18 Chong Yidong <cyd@gnu.org>
8315
9aeb25a6
CY
8316 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8317
439f7677
CY
8318 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8319 and make C-x 8 RET exit isearch (Bug#11439).
8320
8321 * international/iso-transl.el: Move isearch-mode-map key
8322 definitions to isearch.el.
8323
12999ea8
SM
83242012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8325
8326 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8327 (eieio-defclass): Use gv-define-setter when possible.
8328
3ab6e069
DA
83292012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8330
8331 Reflect recent changes in Fgarbage_collect.
8332 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8333 reflect new format of data returned by Fgarbage_collect.
8334
0a60bc10
FEG
83352012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8336
8337 New utility functions + python-info-ppss-context fix (Bug#11910).
8338 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8339 (python-info-ppss-comment-or-string-p): New functions.
8340 (python-info-ppss-context): Small fix for string check.
8341
6dafa0d5
JL
83422012-07-17 Juri Linkov <juri@jurta.org>
8343
8344 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8345 (dired-do-async-shell-command): Don't add `*' at the end of the
8346 command (Bug#11815).
8347 (dired-do-shell-command): Doc fix.
8348 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8349 Join the individual commands using either "&" or ";" as the
8350 separator depending on the values of these trailing characters.
8351 At the end re-add the trailing "&". (Bug#10598)
8352
8353 * simple.el (async-shell-command): Sync the interactive spec with
8354 `shell-command'. Doc fix.
8355 (shell-command): Doc fix.
8356
b19dd9d1
JL
83572012-07-17 Juri Linkov <juri@jurta.org>
8358
8359 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8360
bcdc27d7 83612012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 8362
bcdc27d7 8363 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
8364 * progmodes/python.el (python-nav-beginning-of-statement):
8365 Rename from python-nav-statement-start.
bcdc27d7
FEG
8366 (python-nav-end-of-statement): Rename from
8367 python-nav-statement-end.
8368 (python-nav-beginning-of-block): Rename from
8369 python-nav-block-start.
8370 (python-nav-end-of-block): Rename from python-nav-block-end.
8371
191da00e
FEG
83722012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8373
7f5331cc
MY
8374 * progmodes/python.el (python-shell-send-string-no-output):
8375 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
8376 future interactions (Bug#11868).
8377
4dc7c8d5 83782012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 8379
88ecaf8f
SM
8380 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8381
ef501ef0
SM
8382 * emacs-lisp/elint.el (elint-find-args-in-code):
8383 Use help-function-arglist, so as to handle lexical byte-code.
8384
aa7aaf8f
SM
8385 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8386 change (bug#11826).
8387
45fd731c
SM
83882012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8389
2143fa32
SM
8390 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8391 Avoid spuriously marking the buffer as modified because of c-is-sws.
8392
efc26dbe
SM
8393 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8394 as not-a-comment (bug#11946).
8395
f5695c9a
SM
8396 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8397 for uninterned vars.
8398
8399 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8400 Use read-event since we don't really want to read chars but bytes.
8401
45fd731c
SM
8402 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8403 $$..$$ but also $..$ using regexps (bug#11953).
8404 Use tex-verbatim for \url and \path.
8405 (tex-font-lock-keywords): Define as defconst like the others.
8406 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8407
ddfc8813
RK
84082012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8409
8410 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8411 alias for insert-char.
8412
758e556a
FEG
84132012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8414
8415 * progmodes/python.el: Simplified imenu implementation.
8416 (python-nav-jump-to-defun): Remove command.
8417 (python-mode-map): Use `imenu' instead.
8418 (python-nav-list-defun-positions-cache)
8419 (python-imenu-include-defun-type, python-imenu-make-tree)
8420 (python-imenu-subtree-root-label, python-imenu-index-alist):
8421 Remove vars.
8422 (python-nav-list-defun-positions, python-nav-read-defun)
8423 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
8424 (python-imenu-make-tree, python-imenu-create-index):
8425 Remove functions.
758e556a
FEG
8426 (python-mode): Update to interact with imenu by setting
8427 `imenu-extract-index-name-function' only.
8428
032d23ab
FEG
84292012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8430
8431 * progmodes/python.el: Enhancements to navigation commands.
8432 (python-nav-backward-sentence)
8433 (python-nav-forward-sentence): Remove.
8434 (python-nav-backward-statement, python-nav-forward-statement)
8435 (python-nav-statement-start, python-nav-statement-end)
8436 (python-nav-backward-block, python-nav-forward-block)
8437 (python-nav-block-start, python-nav-block-end)
8438 (python-nav-forward-sexp-function)
8439 (python-info-current-line-comment-p)
8440 (python-info-current-line-empty-p): New functions.
8441 (python-indent-context): Use `python-nav-statement-start'.
8442
01795a1b
MA
84432012-07-16 Michael Albinus <michael.albinus@gmx.de>
8444
9328d9aa
MA
8445 * eshell/em-ls.el (eshell/ls): Use `apply'.
8446
8447 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8448 multi-hops, instead of Tramp internals.
8449
01795a1b
MA
8450 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8451
8452 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8453 when F1 and F2 are located on different hosts.
8454
63408057
CY
84552012-07-14 Chong Yidong <cyd@gnu.org>
8456
8457 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8458 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8459 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8460 (xterm-mouse--read-event-sequence-1000)
8461 (xterm-mouse--read-event-sequence-1006): New functions. For old
8462 mouse protocol, handle M-mouse-X events correctly.
8463 (xterm-mouse-event): New arg specifying mouse protocol.
8464 (turn-on-xterm-mouse-tracking-on-terminal)
8465 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
8466 sequence to toggle extended coordinates on newer XTerms.
8467 This appears to be harmless on terminals which do not support this.
63408057 8468
cd276f6e
LL
84692012-07-14 Leo Liu <sdl.web@gmail.com>
8470
28ca98ac
LL
8471 Add fringe bitmap indicators for flymake. (Bug#11253)
8472 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8473 (flymake-make-overlay): New arg BITMAP.
8474 (flymake-error-bitmap, flymake-warning-bitmap)
8475 (flymake-fringe-indicator-position): New user variables.
8476
cd276f6e
LL
8477 * fringe.el: New bitmap exclamation-mark.
8478
04408072
JD
84792012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8480
8481 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8482 also (Bug#7879).
8483
b5cf7fc4
CY
84842012-07-14 Chong Yidong <cyd@gnu.org>
8485
8486 * electric.el (electric-pair-post-self-insert-function): Fix pair
8487 insertion in empty-region case (Bug#11520).
8488
be755c79
RT
84892012-07-14 Chong Yidong <cyd@gnu.org>
8490
45fd731c
SM
8491 * bindings.el: Consolidate ctl-x-r-map bindings.
8492 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
8493
8494 * rect.el, register.el: Move bindings to bindings.el.
8495
84962012-07-14 Reuben Thomas <rrt@sc3d.org>
8497
8498 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8499
7f5b3198
AS
85002012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8501
8502 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8503
97662200
JB
85042012-07-13 Juanma Barranquero <lekktu@gmail.com>
8505
80185fed
JB
8506 * bindings.el (top): Use `mapc' instead of `mapcar'.
8507
97662200
JB
8508 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8509
2bb1ae55
MA
85102012-07-13 Michael Albinus <michael.albinus@gmx.de>
8511
8512 * progmodes/sql.el (sql-comint): Suppress the check for program on
8513 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8514 (Bug#11908)
8515
dea31bd3
CY
85162012-07-13 Chong Yidong <cyd@gnu.org>
8517
8518 * bindings.el: Assign a non-nil permanent-local property to
8519 per-buffer variables which lack a default value (Bug#11930).
8520
8521 * help-fns.el (describe-variable): In the "automatically becomes
8522 local" notice, take note of permanent-local variables.
8523
b68b3337
CY
85242012-07-13 Chong Yidong <cyd@gnu.org>
8525
8526 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8527 to allow printing the message when called from Lisp.
8528
8529 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8530 Remove toggle-read-only.
8531
8532 * bs.el (bs-toggle-readonly):
45fd731c
SM
8533 * buff-menu.el (Buffer-menu-toggle-read-only):
8534 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
8535
8536 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8537 Remove with-no-warnings around toggle-read-only.
8538 (ffap-read-only, ffap-read-only-other-window)
8539 (ffap-read-only-other-frame): Callers changed.
8540
8541 * help-mode.el: Don't require view package.
8542 (help-mode-finish): Set buffer-read-only instead of calling
8543 toggle-read-only.
8544
8545 * bindings.el (mode-line-toggle-read-only):
8546 * dired.el (dired-toggle-read-only):
8547 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8548 with non-nil second arg.
8549
8550 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8551 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8552 directly.
8553
56bc1586
EZ
85542012-07-12 Eli Zaretskii <eliz@gnu.org>
8555
8556 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8557 not incf.
8558
a464a6c7
SM
85592012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8560
8561 More CL cleanups and reduction of use of cl.el.
8562 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8563 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8564 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8565 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8566 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8567 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8568 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8569 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8570 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8571 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8572 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8573 * eshell/em-cmpl.el, eshell/em-banner.el:
8574 * calendar/parse-time.el: Use cl-lib.
8575 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8576 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8577 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8578 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8579 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8580 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8581 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8582 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8583 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8584 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8585 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8586 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8587 `lambda' rather than with `quote'.
8588 (eshell-do-opt): Adjust accordingly.
8589 (eshell-process-option): Simplify.
8590 * eshell/esh-var.el:
8591 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8592 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8593 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8594 to `pcase--dontcare'.
8595 * emacs-lisp/cl.el (labels): Mark obsolete.
8596 (cl--letf, letf): Move to cl-lib.
8597 (cl--letf*, letf*): Remove.
8598 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8599 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8600 (cl-progv): Rewrite.
8601 (cl--letf, cl-letf): Move from cl.el.
8602 (cl-letf*): New macro.
8603 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8604
7ad4afe1
MA
86052012-07-11 Michael Albinus <michael.albinus@gmx.de>
8606
8607 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8608
9af57756
CY
86092012-07-11 Chong Yidong <cyd@gnu.org>
8610
8611 * vc/log-edit.el (log-edit-vc-backend): New variable.
8612 (log-edit): Doc fix.
8613
8614 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8615 argument of log-edit to set up all local variables.
8616 (vc-start-logentry): New optional arg specifying VC backend.
8617
8618 * vc/vc.el (vc-checkin): Use it.
8619 (vc-deduce-fileset): Handle Log Edit buffers.
8620 (vc-diff): Make first argument optional too.
8621
8622 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8623
8477cc7a
MA
86242012-07-10 Michael Albinus <michael.albinus@gmx.de>
8625
8626 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8627 command, just in case. The function is not needed anymore.
8628 (eshell-external-command): Do not call `eshell-remote-command'.
8629
19faa8e8
SM
86302012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8631
f58e0fd5
SM
8632 Reduce use of (require 'cl).
8633 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8634 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8635 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8636 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8637 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8638 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8639 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8640 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8641 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8642 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8643 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8644 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8645 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8646 (byte-compile-unfold-bcf, byte-compile-check-variable):
8647 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8648 (byte-compile-nilconstp):
8649 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8650 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8651
2519d43a
SM
8652 * emacs-lisp/gv.el (cond): Make it a valid place.
8653 (if): Simplify slightly.
8654
19faa8e8
SM
8655 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8656 (pcase--self-quoting-p): New function.
8657 (pcase--u1): Use it.
8658
c4907a5e
GM
86592012-07-10 Glenn Morris <rgm@gnu.org>
8660
8661 * emacs-lisp/authors.el (authors-fixed-entries):
8662 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8663
c4444d16
PE
86642012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8665
8666 Rename configure.in to configure.ac (Bug#11603).
8667 * emacs-lisp/authors.el (authors-canonical-file-name):
8668 * progmodes/autoconf.el (autoconf-mode):
8669 Prefer configure.ac to configure.in.
8670
d75be97d
CY
86712012-07-08 Chong Yidong <cyd@gnu.org>
8672
01ac65bd
CY
8673 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8674 Implement the mouse-1-click-follows-link handling properly.
8675
8676 * info.el (Info-link-keymap): Use follow-link mechanism for
8677 header-line links (Bug#374).
8678
d75be97d
CY
8679 * simple.el (deactivate-mark): Do not set the primary selection
8680 if another program has acquired it (Bug#11772).
8681
87a92845 86822012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
8683
8684 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8685 (woman-decode-region): Replace escaped-escapes without destroying
8686 bold or underline (Bug#11552).
87a92845 8687 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 8688
621b9d6c
CY
86892012-07-07 Chong Yidong <cyd@gnu.org>
8690
8691 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
8692 (interprogram-cut-function, interprogram-paste-function):
8693 Mention that we typically mean the clipboard.
621b9d6c 8694
133a11fc
GM
86952012-07-06 Glenn Morris <rgm@gnu.org>
8696
0d27a45e
GM
8697 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8698
133a11fc
GM
8699 * files.el (toggle-read-only): Restrict message to interactive use.
8700
07b151f1
MA
87012012-07-06 Michael Albinus <michael.albinus@gmx.de>
8702
8703 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8704
8705 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8706
211b896b
GM
87072012-07-06 Glenn Morris <rgm@gnu.org>
8708
50394322
GM
8709 * Makefile.in (compile-one-process): Rename from "recompile".
8710
211b896b
GM
8711 * Makefile.in (bzr-update): "compile" is the same as "recompile
8712 autoloads", but parallelizable, so use that instead.
8713
4737eec9
DG
87142012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8715
8716 * window.el (quit-window): Always restore window height when
8137e7b3 8717 it's saved in quit-restore parameter (Bug#11810).
4737eec9 8718
226c3633 87192012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
8720
8721 * simple.el (kill-whole-line): Doc tweak.
8722
226c3633 87232012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
8724
8725 * files.el (file-relative-name): Compare file names
8726 case-insensitively if on MS-Windows or MS-DOS, or if
8727 read-file-name-completion-ignore-case is non-nil. Don't use
8728 case-fold-search for this purpose. (Bug#11827)
8729
4dc7c8d5
SM
87302012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8731
8732 * calendar/cal-dst.el (calendar-current-time-zone):
8733 Return calendar-current-time-zone-cache if non-nil.
8734
87352012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 87362012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 8737
19faa8e8
SM
8738 * calendar/cal-dst.el (calendar-current-time-zone):
8739 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 8740
60198fc9
GM
87412012-07-06 Glenn Morris <rgm@gnu.org>
8742
8743 * Makefile.in (cvs-update): Remove old alias.
8744
957b3189
MA
87452012-07-05 Michael Albinus <michael.albinus@gmx.de>
8746
8747 Sync with Tramp 2.2.6-pre.
8748
8749 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8750 compatible declaration.
8751
19faa8e8
SM
8752 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8753 Protect `list-load-path-shadows' call.
957b3189
MA
8754
8755 * net/tramp-compat.el (top): Require packages, which aren't
8756 autoloaded anymore for XEmacs. Protect call of
8757 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8758 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8759 it hurts at least for SXEmacs.
8760 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8761 standard-value for `temporary-file-directory'.
8762
8763 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8764 Redirect stderr to /dev/null.
8765 (tramp-sh-handle-write-region): uid and gid can be floats.
8766 Reported by Russell Sim <russell.sim@gmail.com>.
8767 (tramp-sh-handle-vc-registered): Hide errors.
8768 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8769 and `start-file-process'.
8770 (tramp-maybe-open-connection): Check also whether `non-essential'
8771 is bound.
8772
566df3fc
CY
87732012-07-04 Chong Yidong <cyd@gnu.org>
8774
8775 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8776 (xml-parse-tag): Likewise, and avoid changing entity tables.
8777 (xml-syntax-table): Define from scratch, making sure not to give
8778 x2000 and other Unicode spaces whitespace syntax, since those are
8779 not spaces in XML.
8780 (xml-parse-fragment): Delete unused function.
8781 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8782 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8783 (xml-entity-ref, xml-pe-reference-re)
8784 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8785 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8786 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8787 (xml-entity-value-re): Use syntax references in regexps where
8788 possible; no need to define inside a let-binding.
8789 (xml-parse-dtd): Use xml-pe-reference-re.
8790 (xml-entity-or-char-ref-re): New defconst.
8791 (xml-parse-string, xml-substitute-special): Use it.
8792
30eabd7a
SM
87932012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8794
0781098a
SM
8795 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8796 (find-file--read-only): New function.
8797 (find-file-read-only, find-file-read-only-other-window)
8798 (find-file-read-only-other-frame): Use it.
8799 (insert-file-contents-literally): Don't `fset'.
8800 (get-free-disk-space): Use locate-dominating-file.
8801
b5771c0d
SM
8802 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8803 function is already compiled.
8804
30eabd7a
SM
8805 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8806
b4886f6e
MA
88072012-07-03 Michael Albinus <michael.albinus@gmx.de>
8808
8809 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8810 files on the same host.
8811
b9d82339
AS
88122012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8813
8814 * help-fns.el (describe-function-1): Only call
8815 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8816
a76e6535
CY
88172012-07-03 Chong Yidong <cyd@gnu.org>
8818
8819 * xml.el: Protect parser against XML bombs.
8820 (xml-entity-expansion-limit): New variable.
8821 (xml-parse-string, xml-substitute-special): Use it.
8822 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8823
b544fef2
GM
88242012-07-03 Glenn Morris <rgm@gnu.org>
8825
8826 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8827 Allow linking to specific messages in debbugs reports (eg 123#5).
8828
a7aef6f5
CY
88292012-07-02 Chong Yidong <cyd@gnu.org>
8830
8831 * xml.el: Fix entity and character reference expansion, allowing
8832 them to expand into markup as per XML spec.
8833 (xml-default-ns): New variable.
8834 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
8835 (xml-parse-region): Make first two arguments optional.
8836 Discard text properties.
8837 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8838 All callers changed.
a7aef6f5
CY
8839 (xml-parse-tag): Call xml-parse-tag-1. For backward
8840 compatibility, this function should not modify buffer contents.
8841 (xml-parse-tag-1): Fix opening-tag regexp.
8842 (xml-parse-string): Rewrite, handling entity and character
8843 references properly.
8844 (xml--entity-replacement-text): Signal an error if a parameter
8845 entity is undefined.
8846
3df31c9f
SM
88472012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8848
2b5208f1
SM
8849 * comint.el (comint-output-filter): Filter out repeated prompts.
8850
3df31c9f
SM
8851 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8852 and file-name-absolute-p.
8853 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8854 internal calls.
8855
e3ac1281
PE
88562012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8857
8858 Spelling fixes.
8859 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8860 Rename from byte-compile--refiy-function. All uses changed.
8861
fbf2e7ad
CY
88622012-07-01 Chong Yidong <cyd@gnu.org>
8863
8864 * xml.el (xml--parse-buffer): New function. Move most of
8865 xml-parse-region here.
8866 (xml-parse-region): Copy region into a temporary buffer, since
8867 parameter entity substitution requires changing buffer contents.
8868 Use xml--parse-buffer.
8869 (xml-parse-file): Use xml--parse-buffer.
8870 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 8871 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 8872
9bf0aa15
GM
88732012-06-30 Glenn Morris <rgm@gnu.org>
8874
bbce2853
GM
8875 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8876
9bf0aa15
GM
8877 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8878 Remove outdated and unnecessary dbus declarations.
8879
0d23c240
EZ
88802012-06-30 Eli Zaretskii <eliz@gnu.org>
8881
8882 * emacs-lisp/timer.el (timer-until): Subtract results of
8883 float-time, instead of taking float-time of the result of
8884 time-subtract, since float-time signals an error for negative time
8885 arguments.
8886
b3218de1
CY
88872012-06-30 Chong Yidong <cyd@gnu.org>
8888
8889 * xml.el (xml-*-re): Convert defvars into defconsts, and
8890 eval-and-compile them so eval-and-compile works on derivatives.
8891 (xml--entity-replacement-text): Use eval-and-comple.
8892
a40c87a0
MA
88932012-06-30 Michael Albinus <michael.albinus@gmx.de>
8894
8895 * vc/vc-git.el (vc-git-registered): Use cache property
8896 `git-registered'.
8897 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8898 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 8899 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 8900
ac87de97
DG
89012012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8902
8903 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 8904 removed (likely outside Emacs). (Bug#11757)
ac87de97 8905
ac10fe06
SM
89062012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8907
3df31c9f 8908 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 8909
7f3fbd5d
CY
89102012-06-30 Chong Yidong <cyd@gnu.org>
8911
8912 * xml.el: Implement XML parameter entities.
8913 (xml-parameter-entity-alist): New variable.
8914 (xml-parse-region, xml-parse-fragment): Preserve previous values
8915 of xml-entity-alist and xml-parameter-entity-alist, so that
8916 repeated calls on different documents do not change them.
8917 (xml-parse-tag): Fix doctype regexp.
8918 (xml--entity-replacement-text): New function.
8919 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8920 properly requires url retrieval which is unimplemented.
8921 (xml-escape-string): Doc fix.
8922
3cfbebba
SM
89232012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8924
8925 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8926
2af3565e
DA
89272012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8928
8929 * fringe.el (fringe-mode): Doc fix.
8930
929df0e7
MA
89312012-06-29 Michael Albinus <michael.albinus@gmx.de>
8932
8933 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8934 is non-nil.
8935 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8936 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8937
c8d3a25c 89382012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 8939
c8d3a25c
GM
8940 * calendar/cal-dst.el (calendar-current-time-zone):
8941 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 8942
c8d3a25c 89432012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
8944
8945 * progmodes/which-func.el (which-func-format):
8946 Add mouse-face. (Bug#11698)
8947
c8d3a25c
GM
89482012-06-29 Leo Liu <sdl.web@gmail.com>
8949
8950 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8951
89522012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8954 * minibuffer.el (minibuffer-confirm-exit-commands):
8955 Add completion-at-point (bug#11725).
8956
89572012-06-29 Glenn Morris <rgm@gnu.org>
8958
8959 * progmodes/f90.el (f90-font-lock-keywords-2):
8960 Add some preprocessor elements. (Bug#10499)
8961
89622012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8965 Use syntax-propertize (bug#11739).
8966
2badeec4
JB
89672012-06-28 Juanma Barranquero <lekktu@gmail.com>
8968
8969 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8970
ae4969c2
JD
89712012-06-28 Julien Danjou <julien@danjou.info>
8972
8973 * term.el (term-handle-colors-array): Use a set of new faces to
8974 color the terminal. Also uses :inverse-video property.
8975 (term-default-fg-color): Set to nil by default, deprecate in favor
8976 of `term-face'.
8977 (term-default-bg-color): Set to nil by default, deprecate in favor
8978 of `term-face'.
8979 (term-current-face): Use `term-face' by default.
8980 (term-bold-attribute): Variable deleted.
8981
1c9bd870
GM
89822012-06-28 Glenn Morris <rgm@gnu.org>
8983
8984 * simple.el (completion-list-mode-finish):
8985 Don't use toggle-read-only. (Since completion-list-mode has
8986 a special mode-class, it wasn't doing anything extra anyway.)
8987
c207708c
SM
89882012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8989
8990 Make inlining of other-mode interpreted functions work (bug#11799).
8991 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8992 (byte-compile): Use it to fix compilation of lexical-binding closures.
8993 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8994 function, if needed.
8995
3fd56834
SM
89962012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8997
04901786
SM
8998 * help-mode.el (help-make-xrefs): Don't just withstand
8999 cyclic-variable-indirection but any error in documentation-property.
9000
1ec4b7b2
SM
9001 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
9002 memory use.
9003 * bindings.el (bindings--define-key): New function.
9004 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
9005 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
9006 * bindings.el: Use it to purecopy define-key bindings.
9007
e309e2a5
SM
9008 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
9009
d5c6faf9
SM
9010 * emacs-lisp/cl.el (flet): Mark obsolete.
9011 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
9012 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
9013 * progmodes/js.el (js-c-fill-paragraph):
9014 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
9015 (ebrowse-switch-member-buffer-to-derived-class):
9016 * play/5x5.el (5x5-solver): Use cl-flet.
9017
6e9590e2
SM
9018 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
9019 (cl--symbol-function): New macro.
9020 (cl--letf, cl--letf*): Use it.
9021
3fd56834
SM
9022 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
9023 Strip "toggle-" if any.
9024
35ff222c
GM
90252012-06-27 Glenn Morris <rgm@gnu.org>
9026
1ba6038a
GM
9027 * info.el (Info-default-directory-list): Move here from paths.el.
9028 * paths.el: Remove file, which is now empty.
9029 * loadup.el: No longer load "paths".
9030
0ea0e51b
GM
9031 * custom.el (custom-initialize-delay): Doc fix.
9032
35ff222c
GM
9033 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9034 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
9035 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
9036 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
9037 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
9038 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
9039 * eshell/eshell.el (eshell-defgroup): Remove alias.
9040
c89926a5
CY
90412012-06-27 Chong Yidong <cyd@gnu.org>
9042
9043 * help.el (help-enable-auto-load): New variable.
9044
9045 * help-fns.el (help-fns--autoloaded-p): New function.
9046 (describe-function-1): Refer to a function as "autoloaded" if it
9047 was autoloaded at any time in the past. Perform autoloading if
9048 help-enable-auto-load is non-nil.
9049
cc06e7e7
EZ
90502012-06-26 Eli Zaretskii <eliz@gnu.org>
9051
9052 * makefile.w32-in (compile, compile-always): Depend on
9053 update-subdirs, not on subdirs.el. Otherwise, several different
9054 sub-targets of 'bootstrap' running in parallel could
9055 simultaneously write to subdirs.el, producing a garbled file.
9056
d2c32364
SS
90572012-06-26 Sam Steingold <sds@gnu.org>
9058
9059 * files.el (file-name-base): New convenience function.
0d14cc21
GM
9060 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
9061 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
9062 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
9063 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9064 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
9065 * textmodes/tex-mode.el: Use it.
9066 Did not touch cedet and org because they are maintained elsewhere.
9067
5cf983b2
MR
90682012-06-26 Martin Rudalics <rudalics@gmx.at>
9069
9070 * calendar/calendar.el (calendar-exit): Don't try to delete or
9071 iconify last frame. See:
9072 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
9073
8c4f2952
JD
90742012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
9075
9076 * server.el (server-process-filter): Remember dir in the
9077 process's `server-client-directory' properties.
9078
772b2e2c
CY
90792012-06-24 Chong Yidong <cyd@gnu.org>
9080
9081 * xml.el (xml-parse-tag): Correctly handle comment embedded in
9082 non-tag text.
9083
711b11e1
JB
90842012-06-23 Juanma Barranquero <lekktu@gmail.com>
9085
9086 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
9087
dc5d230c
SM
90882012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9089
9090 * help-fns.el (describe-variable): Don't croak when doc is not found.
9091 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
9092 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
9093 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
9094 * emacs-lisp/smie.el (smie-next-sexp): CSE.
9095 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
9096 ((lambda ..) ..).
9097 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
9098
136e1c1d
CY
90992012-06-23 Chong Yidong <cyd@gnu.org>
9100
e8c1cabf
CY
9101 * info.el (Info-mouse-follow-link): Accept symbol values of
9102 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
9103 (Info-fontify-node): Use Info-link-keymap for all navigation
9104 buttons, with link-args property to perform the desired action.
9105 (Info-link-keymap): Doc fix.
9106 (Info-next-link-keymap, Info-prev-link-keymap)
9107 (Info-up-link-keymap): Delete now-unused keymaps.
9108
0e9e6c6a
CY
91092012-06-23 Chong Yidong <cyd@gnu.org>
9110
05e89fea
CY
9111 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
9112
0e9e6c6a
CY
9113 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
9114 system abbrevs.
9115
9116 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9117
e33c6771
SM
91182012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9119
b68581e2
SM
9120 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9121 (bug#11719).
9122
e33c6771
SM
9123 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9124 the requote function doesn't work properly (bug#11714).
9125
7117e105
GM
91262012-06-23 Glenn Morris <rgm@gnu.org>
9127
9128 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9129
36cec983
SM
91302012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9131
9132 Further GV/CL cleanups.
9133 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9134 gv-expander.
9135 (gv--defun-declaration): New function.
9136 (defun-declarations-alist): Use it.
9137 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9138 (gv-place): Autoload.
9139 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9140 original definition of dotimes and dolist.
9141 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9142 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9143 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9144 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9145 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9146 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9147 to the function's definition.
9148 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9149 * window.el:
9150 * files.el:
9151 * faces.el:
9152 * env.el: Don't use CL.
9153
d35af63c
PE
91542012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9155
9156 Support higher-resolution time stamps (Bug#9000).
9157
9158 * calendar/time-date.el (with-decoded-time-value): New arg
9159 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9160 (encode-time-value): New optional arg PICO. New type 3.
9161 (time-to-seconds) [!float-time]: Support the new picoseconds
9162 component if it's used.
9163 (seconds-to-time, time-subtract, time-add):
9164 Support ps-resolution time stamps as well.
9165
9166 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9167 (timerp): Timer vectors now have length 9, not 8.
9168 (timer--time): Support new-style (4-part) time stamps.
9169 (timer-next-integral-multiple-of-time): Time stamps now have
9170 picosecond resolution, so take a bit more care about rounding.
9171 (timer-relative-time, timer-inc-time): New optional arg psecs.
9172 (timer-set-time-with-usecs): Set psecs to 0.
9173 (timer--activate): Check psecs component, too.
9174
9175 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9176
ac77b21a
SM
91772012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9178
f143bfe3
SM
9179 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9180 Move the non-essential binding to the post/pre-command-hook where it is
9181 more obviously correct.
9182
ac77b21a
SM
9183 * subr.el (read-passwd): Don't use a history at all.
9184 * savehist.el (savehist-save): Remove password saved accidentally
9185 because of the above bug.
9186
76386c5a
BG
91872012-06-22 Bastien Guerry <bzg@gnu.org>
9188
9189 * files.el (toggle-read-only): Display a message telling whether
9190 the buffer is read-only or not (bug#11726).
9191
2ee3d7f0
SM
91922012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9193
9194 * emacs-lisp/gv.el: New file.
9195 * subr.el (push, pop): Extend to generalized variables.
9196 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9197 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9198 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9199 gv-define-simple-setter, and gv-define-expander.
9200 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9201 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9202 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9203 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9204 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9205 gv-letplace.
9206 (cl-defstruct): Don't define setf-method any more.
9207 * emacs-lisp/cl.el (flet): Don't autoload.
9208 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9209 (define-setf-expander, defsetf, define-modify-macro)
9210 (cl-struct-setf-expander): Move from cl-lib.el.
9211 * emacs-lisp/syntax.el:
9212 * emacs-lisp/ewoc.el:
9213 * emacs-lisp/smie.el:
9214 * emacs-lisp/cconv.el:
9215 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9216 (timer--time): Use gv-define-simple-setter.
9217 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9218 to avoid coding-system problems in subr.el. Adjust all users.
9219 (macroexp--maxsize, macroexp-small-p): New functions.
9220 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9221 * scroll-bar.el (scroll-bar-mode):
9222 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9223 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9224 * winner.el (winner-configuration, winner-make-point-alist)
9225 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9226 * files.el (locate-file-completion-table): Avoid list*.
9227
c5695d1d
CY
92282012-06-22 Chong Yidong <cyd@gnu.org>
9229
9230 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9231 (dired-create-files): Doc fix (Bug#11329).
9232 (dired-do-copy): Doc fix (Bug#11334).
9233 (dired-mark-read-string): Doc fix (Bug#11553).
9234
2ee3d7f0
SM
9235 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9236 Doc fix (Bug#11326).
c5695d1d
CY
9237 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9238 (dired-dwim-target): Doc fix.
9239
9240 * wdired.el (wdired-mode): Doc fix.
9241
89b5595a
GM
92422012-06-22 Glenn Morris <rgm@gnu.org>
9243
575db3f1
GM
9244 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9245 (pcmpl-rpm-cache-stamp-file): New constant.
9246 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9247 (pcmpl-rpm-packages): Optionally cache list of packages.
9248
a4c8dd51
GM
9249 * pcmpl-rpm.el (pcmpl-rpm): New group.
9250 (pcmpl-rpm-query-options): New option.
9251 (pcmpl-rpm-packages): No need to inline it.
9252 Use pcmpl-rpm-query-options.
9253
89b5595a
GM
9254 * calendar/calendar.el (calendar-in-read-only-buffer):
9255 Avoid some needless mode changes.
9256
e76f0800
CY
92572012-06-21 Chong Yidong <cyd@gnu.org>
9258
9259 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9260 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 9261 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 9262
297a8f1d
CY
92632012-06-20 Chong Yidong <cyd@gnu.org>
9264
9265 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9266
d34c18b1
DR
92672012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9268
9269 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9270 (bug#11201).
9271
32f7f28e
CY
92722012-06-20 Chong Yidong <cyd@gnu.org>
9273
9274 * term.el (term-window-width): Handle the case of a missing right
9275 fringe (Bug#8837).
9276 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
9277 (term-mode): Use define-derived-mode. Minor cleanups.
9278 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
9279 (term-move-columns, term-insert-char, term-emulate-terminal)
9280 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 9281
493c6688
MA
92822012-06-20 Michael Albinus <michael.albinus@gmx.de>
9283
d34c18b1
DR
9284 * net/ange-ftp.el (ange-ftp-get-passwd):
9285 Bind `enable-recursive-minibuffers'.
493c6688
MA
9286 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9287
3f06ecf4
DR
92882012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9289
9290 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9291
68f12411
GM
92922012-06-19 Glenn Morris <rgm@gnu.org>
9293
9294 * progmodes/python.el (python-mode): Derive from prog-mode.
9295
b3820318
KG
92962012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9297
9298 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9299 (edt-user-menu-bar-update-buffers): New functions.
9300 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9301
c6bf3022
CY
93022012-06-19 Chong Yidong <cyd@gnu.org>
9303
9304 * subr.el (with-selected-window): Preserve the selected window's
9305 terminal's top-frame (Bug#4702).
9306
9307 * window.el (save-selected-window): Likewise.
9308
25f09295
SM
93092012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * progmodes/python.el (python-rx-constituents): Move backquote.
9312 (python-skeleton-define, python-define-auxiliary-skeleton):
9313 Use `declare'.
9314
6b11952a
MA
93152012-06-18 Michael Albinus <michael.albinus@gmx.de>
9316
9317 * minibuffer.el (read-file-name-default): Revert the patch from
9318 2012-06-17.
9319
ee4b1330
SM
93202012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9321
9322 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9323 (pcase--u1, pcase--q1): Don't use apply-partially.
9324
35647f79
GM
93252012-06-18 Glenn Morris <rgm@gnu.org>
9326
9327 * progmodes/python.el (python-proc, python-buffer)
9328 (python-send-receive, python-send-string): Fix obsolete versions.
9329
24b0cff0
MR
93302012-06-18 Martin Rudalics <rudalics@gmx.at>
9331
9332 * window.el (special-display-p): Completely remove stringp
9333 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9334
29855149
MA
93352012-06-17 Michael Albinus <michael.albinus@gmx.de>
9336
9337 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9338
9339 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9340
9341 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9342 * net/tramp-sh.el (tramp-maybe-open-connection):
9343 Throw if `non-essential' is non-nil.
9344
07463363
MR
93452012-06-17 Martin Rudalics <rudalics@gmx.at>
9346
9347 * window.el (special-display-p): Signal an error if BUFFER-NAME
9348 is not a string (Bug#11713).
9349
48d1354e
PE
93502012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9351
9352 * progmodes/python.el (python-info-beginning-of-backslash):
9353 Rename from python-info-beginning-of-backlash, as a spelling fix.
9354
eb4a8a9a
CY
93552012-06-17 Chong Yidong <cyd@gnu.org>
9356
9357 * term.el (term-emulate-terminal): If term-check-size is called,
9358 move point to the process mark without resetting point (Bug#4635).
9359
ddfbf826 93602012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
9361
9362 * international/mule-cmds.el (mule-menu-keymap)
9363 (set-language-environment, set-locale-environment): Doc tweaks.
9364
9b0e3eba
AA
93652012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9366
9367 * cus-face.el (custom-face-attributes): Add wave-style underline
9368 attribute.
9369 * faces.el (set-face-attribute): Update docstring to describe
9370 wave-style underline attribute.
9371
771e3eae
CY
93722012-06-16 Chong Yidong <cyd@gnu.org>
9373
9374 * term/xterm.el (terminal-init-xterm): Discard input before
9375 querying background mode (Bug#10959).
9376
7ae2ea10
SM
93772012-06-16 Stefan Merten <smerten@oekonux.de>
9378
9379 * textmodes/rst.el: Added and corrected some comments.
9380 (rst-re-alist-def): Improve symbol syntax.
9381 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
9382 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9383 (rst-official-version, rst-official-cvs-rev): Update version
9384 information.
7ae2ea10 9385
b6974efa
JB
93862012-06-15 Juanma Barranquero <lekktu@gmail.com>
9387
9388 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9389 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9390
8826d473
GM
93912012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9392
9393 * progmodes/python.el: New python.el merge.
9394 (python-guess-indent): Obsolete var.
9395 (python-indent-guess-indent-offset): New defcustom.
9396 (python-indent): Obsolete var.
9397 (python-indent-offset): New defcustom.
9398 (python-python-command, python-jython-command): Delete var.
9399 (python-shell-interpreter): New defcustom.
9400 (python-pdbtrack-do-tracking-p): Delete var.
9401 (python-pdbtrack-activate): New defcustom.
9402 (python-use-skeletons): Obsolete var.
9403 (python-skeleton-autoinsert): New defcustom.
9404 (inferior-python-filter-regexp, python-continuation-offset)
9405 (python-honour-comment-indentation, python-indent-string-contents)
9406 (python-jython-packages, python-mode-hook)
9407 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9408 (python-shell-prompt-alist)
9409 (python-source-modes): Delete defcustoms.
9410 (python-check-buffer-name, python-eldoc-setup-code)
9411 (python-eldoc-string-code, python-ffap-setup-code)
9412 (python-ffap-string-code, python-fill-comment-function)
9413 (python-fill-decorator-function, python-fill-paren-function)
9414 (python-fill-string-function, python-imenu-include-defun-type)
9415 (python-imenu-make-tree, python-imenu-subtree-root-label)
9416 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9417 (python-shell-compilation-regexp-alist)
9418 (python-shell-completion-module-string-code)
9419 (python-shell-completion-pdb-string-code)
9420 (python-shell-completion-setup-code)
9421 (python-shell-completion-string-code)
9422 (python-shell-enable-font-lock, python-shell-exec-path)
9423 (python-shell-extra-pythonpaths)
9424 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9425 (python-shell-process-environment)
9426 (python-shell-prompt-block-regexp)
9427 (python-shell-prompt-output-regexp)
9428 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9429 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9430 (python-shell-virtualenv-path): New defcustoms.
9431 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9432 (inferior-python-mode-syntax-table, python--prompt-regexp)
9433 (python-buffer, python-command python-python-command)
9434 (python-default-template, python-imports, python-indent-index)
9435 (python-indent-list, python-indent-list-length)
9436 (python-mode-running, python-pdbtrack-is-tracking-p)
9437 (python-preoutput-continuation, python-preoutput-leftover)
9438 (python-preoutput-result, python-preoutput-skip-next-prompt)
9439 (python-prev-dir/file, python-recursing)
9440 (python-saved-check-command, python-version-checked)
9441 (python-which-func-length-limit)
9442 (view-return-to-alist): Delete vars.
9443 (python-check-custom-command, python-dotty-syntax-table)
9444 (python-imenu-index-alist, python-indent-current-level)
9445 (python-indent-dedenters, python-indent-levels)
9446 (python-nav-beginning-of-defun-regexp)
9447 (python-nav-list-defun-positions-cache)
9448 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9449 (python-shell-internal-buffer)
9450 (python-skeleton-available): New vars.
9451 (def-python-skeleton): Delete macro.
9452 (python-skeleton-define): New macro.
9453 (python-define-auxiliary-skeleton, python-rx): New macros.
9454 (python-insert-class): Delete command.
9455 (python-skeleton-class): New command.
9456 (python-insert-def): Delete command.
9457 (python-skeleton-def): New command.
9458 (python-insert-for): Delete command.
9459 (python-skeleton-for): New command.
9460 (python-insert-if): Delete command.
9461 (python-skeleton-if): New command.
9462 (python-insert-try/except, python-insert-try/finally): Delete commands.
9463 (python-skeleton-try): New command.
9464 (python-insert-while): Delete command.
9465 (python-skeleton-while): New command.
9466 (python-backspace): Delete command.
9467 (python-indent-dedent-line-backspace): New command.
9468 (python-electric-colon): Delete command.
9469 (python-indent-electric-colon): New command.
9470 (python-guess-indent): Delete command.
9471 (python-indent-guess-indent-offset): New command.
9472 (python-shift-left): Delete command.
9473 (python-indent-shift-left): New command.
9474 (python-shift-right): Delete command.
9475 (python-indent-shift-right): New command.
9476 (python-find-function): Delete command.
9477 (python-nav-jump-to-defun): New command.
9478 (python-next-statement): Delete command.
9479 (python-nav-forward-sentence): New command.
9480 (python-previous-statement): Delete command.
9481 (python-nav-backward-sentence): New command.
9482 (python-fill-paragraph): Delete command.
9483 (python-fill-paragraph-function): New command.
9484 (python-send-buffer): Delete command.
9485 (python-shell-send-buffer): New command.
9486 (python-send-defun): Delete command.
9487 (python-shell-send-defun): New command.
9488 (python-send-region, python-send-region-and-go): Delete commands.
9489 (python-shell-send-region)
9490 (python-shell-switch-to-shell): New commands.
9491 (python-send-string): Delete command.
9492 (python-shell-send-string): New command.
9493 (python-switch-to-python): Delete command.
9494 (python-shell-switch-to-shell): New command.
9495 (python-describe-symbol): Delete command.
9496 (python-eldoc-at-point): New command.
9497 (python--set-prompt-regexp, python-args-to-list)
9498 (python-after-info-look, python-check-version)
9499 (python-check-comint-prompt, python-find-imports)
9500 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9501 (python-unload-function, python-expand-template)
9502 (python-maybe-jython, python-preoutput-filter)
9503 (python-pdbtrack-get-source-buffer)
9504 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9505 (python-pdbtrack-toggle-stack-tracking)
9506 (python-pdbtrack-track-stack-file, python-initial-text)
9507 (python-first-word, python-comment-line-p, python-send-command)
9508 (python-setup-brm, python-sentinel, python-set-proc)
9509 (python-skip-out, python-input-filter, python-outdent-p)
9510 (python-outline-level, python-backslash-continuation-line-p)
9511 (python-end-of-block, python-end-of-statement, python-mark-block)
9512 (python-beginning-of-block, python-beginning-of-statement)
9513 (python-blank-line-p, python-beginning-of-string)
9514 (python-open-block-statement-p): Delete functions.
9515 (python-indent-line, python-indent-line-1): Delete functions.
9516 (python-indent-line): New function.
9517 (python-indentation-levels): Delete function.
9518 (python-indent-calculate-levels): New function.
9519 (python-proc): Delete function.
9520 (python-shell-get-process): New function.
9521 (python-send-receive): Delete function.
9522 (python-shell-send-string-no-output): New function.
9523 (python-module-path): Delete function.
9524 (python-ffap-module-path): New function.
9525 (python-completion-at-point)
9526 (python-symbol-completions): Delete functions.
9527 (python-completion-complete-at-point): New function.
9528 (python-load-file): Delete function.
9529 (python-shell-send-file): New function.
9530 (python-calculate-indentation): Delete function.
9531 (python-indent-calculate-indentation): New function.
9532 (python-skip-comments/blanks): Delete function.
9533 (python-util-forward-comment): New function.
9534 (python-continuation-line-p): Delete function.
9535 (python-info-continuation-line-p): New function.
9536 (python-which-func, python-current-defun): Delete function.
9537 (python-info-current-defun): New function.
9538 (python-beginning-of-defun): Delete function.
9539 (python-nav-beginning-of-defun): New function.
9540 (python-close-block-statement-p)
9541 (python-block-end-p): Delete function.
9542 (python-info-closing-block): New function.
9543 (python-comint-output-filter-function)
9544 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9545 (python-fill-comment, python-fill-decorator, python-fill-paren)
9546 (python-fill-string, python-imenu-make-element-tree)
9547 (python-imenu-make-tree, python-imenu-tree-assoc)
9548 (python-indent-context, python-indent-dedent-line)
9549 (python-indent-line-function)
9550 (python-indent-post-self-insert-function)
9551 (python-indent-toggle-levels)
9552 (python-info-assignment-continuation-line-p)
9553 (python-info-beginning-of-backlash)
9554 (python-info-block-continuation-line-p)
9555 (python-info-closing-block-message)
9556 (python-info-line-ends-backslash-p)
9557 (python-info-looking-at-beginning-of-defun)
9558 (python-info-ppss-context, python-info-ppss-context-type)
9559 (python-nav-list-defun-positions, python-nav-read-defun)
9560 (python-nav-sentence-end, python-nav-sentence-start)
9561 (python-pdbtrack-comint-output-filter-function)
9562 (python-pdbtrack-set-tracked-buffer)
9563 (python-shell-calculate-exec-path)
9564 (python-shell-calculate-process-environment)
9565 (python-shell-completion--do-completion-at-point)
9566 (python-shell-completion--get-completions)
9567 (python-shell-completion-complete-at-point)
9568 (python-shell-completion-complete-or-indent)
9569 (python-shell-get-or-create-process)
9570 (python-shell-get-process-name)
9571 (python-shell-internal-get-or-create-process)
9572 (python-shell-internal-get-process-name)
9573 (python-shell-internal-send-string, python-shell-make-comint)
9574 (python-shell-parse-command, python-shell-send-setup-code)
9575 (python-skeleton-add-menu-items)
9576 (python-util-clone-local-variables, python-util-position)
9577 (run-python-internal, python-indentation-levels)
9578 (python-nav-beginning-of-defun)
9579 (python-completion-complete-at-point): New functions.
9580 (run-python): Change arguments. New API requirements.
9581
4302f5ba
SM
95822012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9583
f38ea36d
SM
9584 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9585 (bug#11649).
9586
9587 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9588 (macroexp--expand-all): Use it.
9589
4302f5ba
SM
9590 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9591 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9592 Use `cl-function' instead.
9593
33377562
JB
95942012-06-14 Juanma Barranquero <lekktu@gmail.com>
9595
9596 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9597 Suggested by Stefan Monnier while discussing bug#11657.
9598
54c5ba1a
SS
95992012-06-14 Sam Steingold <sds@gnu.org>
9600
9601 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9602
f9f1b1fe
AS
96032012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9604
9605 * play/doctor.el (doctor-doc): Remove parameter and use
9606 doctor-sent instead of sent.
9607 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9608
a81068ba
SM
96092012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9610
5a315f9c
SM
9611 * files.el: Require cl-lib.
9612 (file-name-non-special): Replace case -> cl-case.
9613
9614 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9615
a81068ba
SM
9616 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9617 mapping from #' to function*.
9618
8cca9703
CY
96192012-06-13 Chong Yidong <cyd@gnu.org>
9620
9621 * mouse.el (mouse-drag-track): Do not set the mark if the user
9622 releases the mouse without selecting anything (Bug#11588).
9623
a12ac9d7
SM
96242012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9625
ccf1dc18
SM
9626 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9627 as well (bug#11646).
9628
ef62b23d
SM
9629 * loadup.el: Count byte-code functions as well.
9630
c4c8444a
SM
9631 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9632 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9633
a12ac9d7
SM
9634 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9635 (bug#11649). Add cl-defun and cl-defmacro.
9636
87e6e64f
DA
96372012-06-13 Drew Adams <drew.adams@oracle.com>
9638
9639 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9640 Fix last change.
9641
682cefaf
MA
96422012-06-13 Michael Albinus <michael.albinus@gmx.de>
9643
9644 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9645 Otherwise, it blocks in batch mode.
9646
773e1f08
JB
96472012-06-13 Juanma Barranquero <lekktu@gmail.com>
9648
9649 * help-mode.el (bookmark-make-record-default): Declare.
9650
60057926
CY
96512012-06-13 Chong Yidong <cyd@gnu.org>
9652
9653 * emacs-lisp/package.el (list-packages): Compute a list of
9654 packages that are newly-available since the last list-packages
9655 invocation.
9656 (package-menu--new-package-list): New var.
9657 (package-menu--generate, package-menu--print-info)
9658 (package-menu--status-predicate, package-menu-mark-install):
9659 Handle new status label "new".
9660
ad4d226c
SM
96612012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9662
9663 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9664 conversion to backquotes.
9665
f1a4e679
CY
96662012-06-12 Chong Yidong <cyd@gnu.org>
9667
9668 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9669 Rename from gud-inhibit-global-bindings.
9670
9671 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9672
9673 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9674 hook from nxml-glyph-set-hook.
9675
9676 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9677 declaration.
9678
9679 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9680
9681 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9682 Convert to defcustom.
9683
0c9e42b5
DA
96842012-06-12 Drew Adams <drew.adams@oracle.com>
9685
9686 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9687 New functions.
9688 (help-mode): Use them.
9689
09e06855
GM
96902012-06-11 Glenn Morris <rgm@gnu.org>
9691
9692 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9693 Use preprocessor face for directives.
9694 (fortran-directive-re): Doc fix.
9695
71adb94b
SM
96962012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9697
2eb87922
SM
9698 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9699 conversion to backquotes (bug#11652).
9700
71adb94b
SM
9701 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9702 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9703 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9704 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9705 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9706 (cl-ninth, cl-tenth): Mark them as inlinable.
9707 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9708 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9709 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9710 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9711 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9712 (cl-list*, cl-adjoin): Don't put an autoload manually.
9713 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9714 (cl--compiler-macro-list*): Add autoload cookie.
9715 (cl--compiler-macro-cXXr): New function.
2eb87922 9716
71adb94b
SM
9717 * help-fns.el (help-fns--compiler-macro): New function extracted from
9718 describe-function-1; follow aliases and use `compiler-macro' property.
9719 (describe-function-1): Use it.
9720
a6674402
CY
97212012-06-11 Chong Yidong <cyd@gnu.org>
9722
9723 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9724 is uninstalled, if imagemagick is installed.
9725
bb3faf5b
SM
97262012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9727
9728 * emacs-lisp/cl-lib.el: Use lexical-binding.
9729 (cl-map-extents, cl-maclisp-member): Remove.
9730 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9731 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9732 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9733 * emacs-lisp/cl-extra.el: Use lexical-binding.
9734 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9735 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9736 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9737 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9738 * emacs-lisp/cl-seq.el: Use lexical-binding.
9739 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9740 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9741 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9742 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9743 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9744 CL's internals.
9745
2fe4b125
MA
97462012-06-11 Michael Albinus <michael.albinus@gmx.de>
9747
9748 Sync with Tramp 2.2.6-pre.
9749
9750 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9751 `print-length' and `print-level' to nil, in order to avoid
9752 truncation. Reported by Christopher Schmidt
9753 <christopher@ristopher.com>.
9754
9755 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9756
9757 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9758 New defmacro.
9759 (tramp-compat-copy-directory): Add optional argument
9760 COPY-CONTENTS. It is not handled yet.
9761
9762 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9763 (tramp-ftp-file-name-p): Simplify.
9764
9765 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9766 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9767 connection vector.
9768
9769 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9770 (tramp-methods): Do not use `tramp-password-end-of-line'.
9771 (tramp-completion-function-alist-putty): Handle UNIX case.
9772 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9773 (tramp-do-file-attributes-with-stat)
9774 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9775 gid as real numbers. They could run out of integer range on cygwin.
9776 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9777 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
9778 (tramp-open-connection-setup-interactive-shell):
9779 Use `tramp-cleanup'. Move check for busyboxes ...
9780 (tramp-find-shell): ... here. Simplify implementation.
9781 Set "remote-shell" property also for alternative shells.
9782 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9783 If failing, a regular file would be written otherwise.
9784 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
9785 (tramp-find-inline-encoding): Cache the coding commands in the
9786 process cache. Apply test command on the remote side, if defined.
9787 (tramp-find-inline-compress): Cache the compress commands in the
9788 process cache.
9789 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9790 when requested. Handle hops.
9791 (tramp-current-connection): New defvar.
87e6e64f
DA
9792 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9793 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 9794 Handle user interrupt. (Bug#10187)
87e6e64f
DA
9795 (tramp-get-inline-compress, tramp-get-inline-coding):
9796 Read connection properties from the process cache.
2fe4b125
MA
9797
9798 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
9799 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9800 New defconsts.
2fe4b125
MA
9801 (tramp-smb-prompt): Extend for powershell prompt.
9802 (tramp-smb-file-name-handler-alist): Add handlers for
9803 `process-file', `shell-command' and `start-file-process'.
9804 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9805 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9806 (tramp-smb-file-name-p): Simplify.
9807 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9808 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9809 (tramp-smb-shell-quote-argument): New defuns.
9810 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9811 Implement using "tar". By this, time-stamps are preserved.
9812 (tramp-smb-handle-copy-file): Handle also the case of directories.
9813 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
9814 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9815 Use `tramp-get-connection-buffer').
2fe4b125
MA
9816 (tramp-smb-handle-rename-file): Use "rename", when source and
9817 target are on the same share.
87e6e64f
DA
9818 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9819 Use `tramp-smb-server-version'.
2fe4b125
MA
9820 (tramp-smb-wait-for-output): Remove prompt.
9821
9822 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
9823 (tramp-methods, tramp-rsh-end-of-line):
9824 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
9825 (tramp-save-ad-hoc-proxies): New defcustom.
9826 (tramp-completion-function-alist): Adapt docstring.
9827 (tramp-default-password-end-of-line): Remove defcustom.
9828 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9829 (tramp-user-regexp, tramp-file-name-regexp-unified)
9830 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9831 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9832 (tramp-remote-file-name-spec-regexp): New defconst.
9833 (tramp-file-name-structure): Extend structure for hops.
9834 (tramp-get-method-parameter): Move up.
9835 (tramp-file-name-p, tramp-dissect-file-name)
9836 (with-parsed-tramp-file-name): Handle hops.
9837 (tramp-file-name-hop): New defun.
9838 (tramp-make-tramp-file-name): New optional arg HOP.
9839 (tramp-message-show-progress-reporter-message): New defvar.
9840 (tramp-with-progress-reporter): Use it. We cannot use
9841 `tramp-message-show-message' here, because this suppresses also
9842 error buffers.
9843 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
9844 `tramp-message-show-message' is nil.
9845 Use `tramp-get-connection-buffer'.
2fe4b125
MA
9846 (tramp-cleanup): New defun.
9847 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9848 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9849 an error unchanged.
9850 (tramp-completion-handle-file-name-all-completions): Handle hops.
9851 Fix an error when called from ido.
9852 (tramp-completion-dissect-file-name): Use better local variable
9853 name. Add hop to the vector.
9854 (tramp-handle-insert-file-contents): Use progress-reporter for the
9855 whole scenario.
9856 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9857 to `t'.
9858 (tramp-check-for-regexp): Simplify search.
9859 (tramp-enter-password): Remove it. Move implementation ...
9860 (tramp-action-password): ... here.
9861 (tramp-mode-string-to-int, tramp-local-host-p)
9862 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
9863 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9864 Set tramp-autoload cookie.
2fe4b125
MA
9865
9866 * net/trampver.el: Update release number.
9867
98682012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9869 Michael Albinus <michael.albinus@gmx.de>
9870
9871 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9872 (tramp-parse-group, tramp-parse-file)
9873 (tramp-parse-shostkeys-sknownhosts): New defuns.
9874 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9875 (tramp-parse-shosts-group, tramp-parse-sconfig)
9876 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9877 (tramp-parse-sknownhosts, tramp-parse-hosts)
9878 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9879 Use them.
9880 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9881 (tramp-parse-putty-group): Don't narrow.
9882 (tramp-parse-putty): Make a loop.
9883 (tramp-file-name-handler): Catch the `suppress' signal.
9884
72834e10
CY
98852012-06-11 Chong Yidong <cyd@gnu.org>
9886
9887 * image.el (imagemagick-register-types): Put the ImageMagick entry
9888 at the end of image-type-file-name-regexps.
9889
a4712e11
JB
98902012-06-11 Johan Bockgård <bojohan@gnu.org>
9891
9892 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9893 (pcase, pcase-let*, pcase-dolist): Use them.
9894
82ad98e3
SM
98952012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9896
9897 * emacs-lisp/pcase.el (pcase--let*): New function.
9898 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9899 (pcase--expand): Use macroexp-let².
9900
f80efb86
SM
99012012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9902
9903 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9904 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9905 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9906 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9907 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9908 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9909
31ca4639 99102012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 9911
31ca4639
CY
9912 * mail/rmail.el (rmail-yank-current-message): Leave point at
9913 correct position. (Bug#11660)
94f0aa34 9914
31ca4639 99152012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 9916
31ca4639 9917 * allout-widgets.el: Fix code header.
9e1b8ec4 9918
31ca4639 99192012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 9920
f80efb86
SM
9921 * cus-edit.el (customize-changed-options-previous-release):
9922 Bump to 24.1.
31ca4639 9923
642b6d30
AS
99242012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9925
9926 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9927
4f5d2ba1
CY
99282012-06-09 Chong Yidong <cyd@gnu.org>
9929
9930 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9931
e75852fd
MR
99322012-06-09 Martin Rudalics <rudalics@gmx.at>
9933
9934 * window.el (special-display-popup-frame): Don't use
9935 window--display-buffer (Bug#11651).
9936
1e48e282
EZ
99372012-06-09 Eli Zaretskii <eliz@gnu.org>
9938
8a26b487
EZ
9939 Fix parallel builds: make sure loaddefs.el is not being written
9940 while Lisp files are compiled.
9941 (compile): Don't depend on 'mh-autoloads'.
9942 (compile-CMD, compile-SH): Depend on 'autoloads'.
9943 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9944
1e48e282
EZ
9945 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9946
6175e34b
CY
99472012-06-09 Chong Yidong <cyd@gnu.org>
9948
9949 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9950 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9951 Doc fixes (Bug#11225).
9952
d9857e53
SM
99532012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9954
9955 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9956 a function if there's a clear indication that it has a compiler-macro.
9957 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9958 (macro-declarations-alist): Add arglist to declaration functions.
9959 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9960 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9961 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9962 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9963 Also add autoload to find the compiler macro.
9964 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9965 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9966 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9967 (cl--compiler-macro-get): New functions, replacing calls to
9968 cl-define-compiler-macro.
9969 (cl-typep) [compiler-macro]: Use macroexp-let².
9970
f81298f8 99712012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
9972
9973 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9974 string properly, fixes Bug#11473.
9975
4b56d0fe
CY
99762012-06-08 Chong Yidong <cyd@gnu.org>
9977
9978 * faces.el (set-face-attribute): Doc fix.
9979 (modify-face): Don't use :bold and :italic.
9980 (error, warning, success): Tweak definitions.
9981
9982 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9983 (custom-modified, custom-set, custom-changed, custom-themed)
9984 (custom-saved, custom-button, custom-button-mouse)
9985 (custom-button-pressed, custom-state, custom-comment-tag)
9986 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9987 (custom-group-subtitle): Use new-style face specs.
9988 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9989 (custom-set-face, custom-changed-face, custom-saved-face)
9990 (custom-button-face, custom-button-pressed-face)
9991 (custom-documentation-face, custom-state-face)
9992 (custom-comment-face, custom-comment-tag-face)
9993 (custom-variable-tag-face, custom-variable-button-face)
9994 (custom-face-tag-face, custom-group-tag-face-1)
9995 (custom-group-tag-face): Remove obsolete face alias.
9996
9997 * epa.el (epa-validity-high, epa-validity-medium)
9998 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9999 (epa-field-name, epa-field-body):
10000 * font-lock.el (font-lock-comment-face, font-lock-string-face)
10001 (font-lock-keyword-face, font-lock-builtin-face)
10002 (font-lock-function-name-face, font-lock-variable-name-face)
10003 (font-lock-type-face, font-lock-constant-face):
10004 * ido.el (ido-first-match, ido-only-match, ido-subdir)
10005 (ido-virtual, ido-indicator, ido-incomplete-regexp):
10006 * speedbar.el (speedbar-button-face, speedbar-file-face)
10007 (speedbar-directory-face, speedbar-tag-face)
10008 (speedbar-selected-face, speedbar-highlight-face)
10009 (speedbar-separator-face):
10010 * whitespace.el (whitespace-newline, whitespace-space)
10011 (whitespace-hspace, whitespace-tab, whitespace-trailing)
10012 (whitespace-line, whitespace-space-before-tab)
10013 (whitespace-space-after-tab, whitespace-indentation)
10014 (whitespace-empty):
10015 * emulation/cua-base.el (cua-global-mark):
10016 * eshell/em-prompt.el (eshell-prompt):
10017 * net/newst-plainview.el (newsticker-new-item-face)
10018 (newsticker-old-item-face, newsticker-immortal-item-face)
10019 (newsticker-obsolete-item-face, newsticker-date-face)
10020 (newsticker-statistics-face, newsticker-default-face):
10021 * net/newst-reader.el (newsticker-feed-face)
10022 (newsticker-extra-face, newsticker-enclosure-face):
10023 * net/newst-treeview.el (newsticker-treeview-face)
10024 (newsticker-treeview-new-face, newsticker-treeview-old-face)
10025 (newsticker-treeview-immortal-face)
10026 (newsticker-treeview-obsolete-face)
10027 (newsticker-treeview-selection-face):
10028 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
10029 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
10030 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
10031 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
10032 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
10033 (nxml-outline-active-indicator, nxml-outline-ellipsis):
10034 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
10035 (mpuz-text):
10036 * progmodes/vera-mode.el (vera-font-lock-number)
10037 (vera-font-lock-function, vera-font-lock-interface):
10038 * textmodes/table.el (table-cell): Use new-style face specs, and
10039 don't use the old :bold and :italic attributes.
10040
10041 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
10042 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
10043 (ebrowse-member-class, ebrowse-progress): Likewise.
10044 (ebrowse-tree-mark-face, ebrowse-root-class-face)
10045 (ebrowse-file-name-face, ebrowse-default-face)
10046 (ebrowse-member-attribute-face, ebrowse-member-class-face)
10047 (ebrowse-progress-face): Remove obsolete faces.
10048
10049 * progmodes/flymake.el (flymake-errline, flymake-warnline):
10050 Inherit from error and warning faces respectively.
10051
10052 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
10053 Likewise.
f80efb86
SM
10054 (flyspell-incorrect-face, flyspell-duplicate-face):
10055 Remove obsolete aliases.
4b56d0fe 10056
03310646
MA
100572012-06-08 Michael Albinus <michael.albinus@gmx.de>
10058
10059 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10060 Avoid infloop.
10061
513749ee
SM
100622012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10063
10064 * startup.el (argv, argi): Make lexically scoped.
10065 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
10066 * emacs-lisp/cl-macs.el: Use lexical-binding.
10067 Rename cl-bind-* to cl--bind-*.
10068 * files.el: Don't require `cl' since it doesn't use it.
10069 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
10070
595ef4ad
JB
100712012-06-08 Juanma Barranquero <lekktu@gmail.com>
10072
10073 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
10074 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
10075 instead of calling external sort utility.
10076 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
10077
e9f66fcb
EZ
100782012-06-08 Eli Zaretskii <eliz@gnu.org>
10079
10080 * descr-text.el (describe-char): Mention how to insert the
10081 character, if the current input method doesn't support it.
10082 See the discussion in this thread for the details:
10083 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
10084
3d10db47
SS
100852012-06-08 Sam Steingold <sds@gnu.org>
10086
10087 * bindings.el (global-map): Bind XF86Forward to next-buffer and
10088 XF86Back to previous-buffer.
10089 (minibuffer-local-map): Bind them to next-history-element and
10090 previous-history-element respectively.
10091 * help-mode.el (help-mode-map): Bind them to help-go-forward and
10092 help-go-back respectively.
10093 * info.el (Info-mode-map): Bind them to Info-history-forward and
10094 Info-history-back respectively.
10095 These are the keys next to Up on the ThinkPad keyboard.
10096
de7e2b36
SM
100972012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
10098
10099 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
10100 * emacs-lisp/cl-macs.el: Provide itself.
10101 (cl--labels-convert-cache): New var.
10102 (cl--labels-convert): New function.
10103 (cl-flet, cl-labels): New implementation with new semantics, relying on
10104 lexical-binding.
10105 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
10106 (cl-closure-vars, cl--function-convert-cache)
10107 (cl--function-convert): Move from cl-macs.el.
10108 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
10109 rename by removing the "cl-" prefix.
10110 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
10111
6fa6c4ae
SM
101122012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10113
10114 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10115 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10116 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10117 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10118 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10119 (cl-hash-table-count): Add old compatibility aliases.
10120
10121 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10122 Use macroexpand-all-environment instead.
10123 (cl--old-macroexpand): New var.
10124 (cl--sm-macroexpand): New function.
10125 (cl-symbol-macrolet): Use it during macro expansion.
10126 (cl--function-convert-cache): New var.
10127 (cl--function-convert): New function, extracted from
10128 cl-macroexpand-all.
10129 (cl-lexical-let): Use it.
10130
10131 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10132 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10133 (cl-member): Remove old alias.
10134
10135 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10136 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10137 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10138 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10139 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10140 (cl-macroexpand-cmacs): Remove var.
10141 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10142 Use macroexpand-all instead.
10143
4dd1c416
SM
101442012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10145
10146 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10147 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10148 (macroexp-copyable-p): New functions and macros.
10149 * emacs-lisp/edebug.el (edebug-unwrap):
10150 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10151 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10152 (pcase--let*): Remove.
10153 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10154 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10155 macroexp-const-p instead.
10156 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10157
10158 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10159 instead of "cl-" for internal definitions. Use macroexp-const-p.
10160 (cl-old-bc-file-form): Remove var.
10161 (cl-const-exprs-p): Remove fun.
10162 (cl-labels, cl-macrolet): Use backquote.
10163 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10164 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10165 (cl-define-setf-expander): Rename from cl-define-setf-method.
10166 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10167
10168 * international/mule-cmds.el: Don't require CL.
10169 (view-hello-file): Don't use `letf'.
10170
ed8bd4d7
SM
101712012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10172
7287f2f3
SM
10173 * tmm.el (tmm-prompt): Use string-prefix-p.
10174 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10175 (tmm-add-prompt): Use minibuffer-completion-help.
10176 (tmm-delete-map): Remove.
10177
ed8bd4d7
SM
10178 * subr.el (kbd): Make it its own function.
10179
7b4cdbf4
SM
101802012-06-07 Stefan Merten <smerten@oekonux.de>
10181
10182 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10183 Silence compiler warnings. Fix versions.
ed8bd4d7 10184 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 10185 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 10186 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
10187 (rst-package-emacs-version-alist): Correct Emacs version to
10188 represent major merge with upstream.
ed8bd4d7 10189 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 10190
2b48d721
GM
101912012-06-06 Glenn Morris <rgm@gnu.org>
10192
10193 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10194 Only print environment variables if set.
10195
fa779ab0
SM
101962012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10197
10198 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10199 (macroexp--cons): Rename from maybe-cons.
10200 (macroexp--accumulate): Rename from macroexp-accumulate.
10201 (macroexp--all-forms): Rename from macroexpand-all-forms.
10202 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10203 (macroexp--expand-all): Rename from macroexpand-all-1.
10204
628299e0
SS
102052012-06-06 Sam Steingold <sds@gnu.org>
10206
10207 * calendar/calendar.el (calendar-in-read-only-buffer):
10208 Call `special-mode' to enable the standard read-only keybindings.
10209
b7bb5838
SM
102102012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10211
10212 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10213 with "loading" messages (bug#11635).
10214
dfb308ba
MA
102152012-06-06 Michael Albinus <michael.albinus@gmx.de>
10216
10217 * files.el (enable-remote-dir-locals): New option.
10218 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10219
0372ee92
MA
10220 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10221 Ensure, that the temp directory is local.
10222
10223 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10224 `temporary-file-directory'.
10225
eed0bb91
MA
10226 * progmodes/python.el (python-send-region): Ensure, that the
10227 temporary file is created also in the remote case.
10228
7a58f64d
GM
102292012-06-06 Glenn Morris <rgm@gnu.org>
10230
f7dd4e98
GM
10231 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10232 (vc-rcs-update-changelog): Use it.
10233
090bd7cb 10234 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 10235
7a58f64d
GM
10236 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10237 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10238 (vc-sccs-diff): Replace use of the external vcdiff script.
10239
daed4003
GM
102402012-06-05 Glenn Morris <rgm@gnu.org>
10241
10242 * ledit.el: Move to obsolete/.
10243
48c455c7
SS
102442012-06-05 Sam Steingold <sds@gnu.org>
10245
ed9265fc 10246 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
10247 patch (Bug#11140).
10248
57a7d507
SM
102492012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10250
090bd7cb 10251 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 10252
53aacf21
SM
10253 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10254 compiler-macro expansion.
10255
57a7d507
SM
10256 Add native compiler-macro support.
10257 * emacs-lisp/macroexp.el (macroexpand-all-1):
10258 Support compiler-macros directly. Properly follow aliases and apply
10259 the compiler macros more thoroughly.
10260 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10261 macroexpand now properly follows aliases.
10262 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10263 (cl-compiler-macroexpand): Use new prop.
10264 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10265
10266 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10267
51a5f9d8
MR
102682012-06-05 Martin Rudalics <rudalics@gmx.at>
10269
10270 * window.el (get-lru-window, get-mru-window, get-largest-window):
10271 New argument NOT-SELECTED to avoid picking the selected window.
10272 (window--display-buffer-1, window--display-buffer-2): Replace by
10273 new function window--display-buffer
10274 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
10275 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10276 Use window--display-buffer.
51a5f9d8
MR
10277 (display-buffer-use-some-window): Remove temporary dedication
10278 hack by calling get-lru-window and get-largest-window with
10279 NOT-SELECTED argument non-nil. Call window--display-buffer.
10280
08f9f738
GM
102812012-06-05 Glenn Morris <rgm@gnu.org>
10282
10283 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10284 Replace external vcdiff script.
10285
e364a2b7
SM
102862012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10287
10288 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10289
041df390
CY
102902012-06-04 Chong Yidong <cyd@gnu.org>
10291
e364a2b7
SM
10292 * image.el (imagemagick-types-inhibit): Revert last change.
10293 Add INFO and M.
47b36b94 10294 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 10295
7c1898a7
SM
102962012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10297
10298 * emacs-lisp/cl-lib.el: Rename from cl.el.
10299 * emacs-lisp/cl.el: New compatibility file.
10300 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10301 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10302 to obey the "cl-" prefix.
10303 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10304
0c3461de
GM
103052012-06-03 Glenn Morris <rgm@gnu.org>
10306
1e266c88
GM
10307 * emacs-lisp/authors.el (authors-aliases): Addition.
10308
0c3461de
GM
10309 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10310 Fix :version.
10311
d8a52e15
SM
103122012-06-03 Stefan Merten <smerten@oekonux.de>
10313
10314 * textmodes/rst.el: Add comments.
10315 (rst-transition, rst-adornment): New faces.
10316 (rst-adornment-faces-alist): Make default safe to reevaluate.
10317 Fixes
10318 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10319 Improve customization tags.
10320 (rst-define-level-faces): Clarify meaning.
10321
5205d6f6
CY
103222012-06-03 Chong Yidong <cyd@gnu.org>
10323
10324 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
10325 (compilation-mode-line-run, compilation-mode-line-exit):
10326 New faces.
5205d6f6
CY
10327 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10328
757ee657
JD
103292012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10330
7c1898a7
SM
10331 * progmodes/which-func.el (which-func-update-ediff-windows):
10332 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 10333
5f2c76c6
CY
103342012-06-03 Chong Yidong <cyd@gnu.org>
10335
10336 * bindings.el: Remove explicit help text from format-mode-line.
10337 It is now supplied by mode-line-default-help-echo.
10338 (mode-line-front-space, mode-line-end-spaces)
10339 (mode-line-misc-info): New variables.
10340 (mode-line-modes, mode-line-position): Move the default value to
10341 the variable definition.
10342 (mode-line-default-help-echo): New defcustom.
383f7350
CY
10343 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10344 (mode-line-modified-help-echo): New functions.
10345 (mode-line-mule-info, mode-line-modified): Use them.
10346 (mode-line-eol-desc, propertized-buffer-identification):
10347 Consistency fixes for help text.
cbe46e5f
CY
10348 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10349 set-buffer-file-coding-system (Bug#289).
10350 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 10351
f2d6a3df
SM
103522012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10353
10354 * simple.el (execute-extended-command): Set real-this-command
10355 (bug#11506).
10356
37269466
CY
103572012-06-02 Chong Yidong <cyd@gnu.org>
10358
10359 Remove incorrect uses of "modeline" in comments, docstrings, and
10360 function/variable names (Bug#10329).
10361
10362 * cus-edit.el (mode-line):
10363 * dframe.el (dframe-mouse-hscroll):
10364 * emacs-lisp/re-builder.el:
10365 * emacs-lisp/easy-mmode.el (define-minor-mode):
10366 * frame.el (set-frame-name):
10367 * help.el (lookup-minor-mode-from-indicator):
10368 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10369 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10370 (c-toggle-hungry-state):
10371 * progmodes/antlr-mode.el (antlr-language-alist):
10372 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10373 * progmodes/vhdl-mode.el (vhdl-mode):
10374 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10375 * term/ns-win.el (ns-face-at-pos):
10376 * term/sup-mouse.el (sup-mouse-report):
10377 * textmodes/flyspell.el (flyspell-mode-line-string):
10378 * textmodes/ispell.el (ispell-highlight-face):
10379 * textmodes/reftex-global.el:
10380 * vc/vc-arch.el (vc-arch-mode-line-string):
10381 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10382 * vc/vc-git.el (vc-git-mode-line-string):
10383 * vc/vc-hooks.el (vc-display-status)
10384 (vc-default-mode-line-string):
10385 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10386
10387 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10388
10389 * dired.el (dired-sort-set-mode-line): Rename from
10390 dired-sort-set-modeline. All callers changed.
10391
10392 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10393 eshell-status-in-modeline.
10394
10395 * foldout.el (foldout-mode-line-string): Rename from
10396 foldout-modeline-string. All callers changed.
10397 (foldout-update-mode-line): Rename from foldout-update-modeline.
10398
10399 * subr.el (redraw-modeline): Make into obsolete alias.
10400
10401 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10402 timeclock-modeline-display. Make old name an alias.
10403 (timeclock-update-mode-line): Likewise. All callers changed.
10404 (timeclock-mode-line-display): No need to check before using
10405 add-hook.
10406 (timeclock-relative, timeclock-day-over-hook)
10407 (timeclock-use-elapsed, timeclock-mode-string)
10408 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10409
10410 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10411 crisp-mode-modeline-string.
10412
10413 * play/solitaire.el (solitaire-build-mode-line): Rename from
10414 solitaire-build-modeline. All callers changed.
10415
10416 * play/zone.el (zone-hiding-mode-line): Rename from
10417 zone-hiding-modeline. All callers changed.
10418 (zone): Remove unusued `modeline-hidden-level' property.
10419
10420 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10421 xscheme-modeline-initialize. All callers changed.
10422
10423 * strokes.el (strokes-lighter): Rename from
10424 strokes-modeline-string.
10425
10426 * textmodes/sgml-mode.el (html-face-tag-alist)
10427 (html-tag-face-alist): Use mode-line face instead of obsolete
10428 alias modeline.
10429
42152ee4
SM
104302012-06-02 Stefan Merten <smerten@oekonux.de>
10431
10432 * textmodes/rst.el: Always require `cl'.
4cf9b38d 10433 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 10434
95f520b5
CY
104352012-06-02 Chong Yidong <cyd@gnu.org>
10436
10437 * image.el (imagemagick-enabled-types): Rename from
10438 imagemagick-types-enable. Add many more types.
10439 (imagemagick-types-inhibit): Change default to nil.
10440 (imagemagick-filter-types): Caller changed.
10441
4a5f187a
SM
104422012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10443
03fef3e6
SM
10444 * emacs-lisp/cl-macs.el: Use backquotes.
10445 (cl-transform-function-property): Use eval-and-compile rather than
10446 abusing `require'.
10447 (defstruct): Use declare-function instead of with-no-warnings.
10448
4a5f187a
SM
10449 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10450 (byte-compile-output-docform): Re-add the print-circle bindings.
10451 (byte-compile-fix-header): Use #$ just because it's shorter.
10452 (byte-compile-output-file-form): Remove defun/defmacro.
10453
bd56924f
MR
104542012-06-01 Martin Rudalics <rudalics@gmx.at>
10455
10456 * simple.el (choose-completion): Remove now obsolete binding for
10457 owindow.
10458
046e38ce
MA
104592012-06-01 Michael Albinus <michael.albinus@gmx.de>
10460
10461 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10462 in order to avoid "Stack overflow in regexp matcher".
10463
32d72c2f
GM
104642012-05-31 Glenn Morris <rgm@gnu.org>
10465
10466 * image.el: For clarity, call imagemagick-register-types at
10467 top-level, rather than relying on a custom :initialize.
10468 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
10469 (imagemagick-filter-types): New function. (Bug#7406)
10470 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
10471 If disabling support, remove elements altogether rather
10472 than using an impossible regexp.
10473 (imagemagick-types-inhibit): Give it the default init function.
10474
dd41169b
SM
104752012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10476
4a5f187a
SM
10477 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10478 Handle arbitrary file name lengths (Bug#11585).
dd41169b 10479
efc00ab1 104802012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
10481
10482 * desktop.el (desktop-read): Clear previous and next buffers for
10483 all windows and bury *Messages* buffer (bug#11556).
10484
500fcedc
SM
104852012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10486
10487 Add `declare' for `defun'. Align `defmacro's with it.
10488 * emacs-lisp/easy-mmode.el (define-minor-mode)
10489 (define-globalized-minor-mode): Don't autoload the var definitions.
10490 * emacs-lisp/byte-run.el: Use lexical-binding.
10491 (defun-declarations-alist, macro-declarations-alist): New vars.
10492 (defmacro, defun): Use them.
10493 (make-obsolete, define-obsolete-function-alias)
10494 (make-obsolete-variable, define-obsolete-variable-alias):
10495 Use `declare'.
10496 (macro-declaration-function): Mark obsolete.
10497 * emacs-lisp/autoload.el: Use lexical-binding.
10498 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10499
6e8a1786
AM
105002012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10501
10502 * textmodes/ispell.el (ispell-with-no-warnings):
10503 Define as a macro.
500fcedc
SM
10504 (ispell-kill-ispell, ispell-change-dictionary):
10505 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
10506 `interactive-p'.
10507
61b108cc
SM
105082012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10509
10510 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10511 (macro-declaration-function): Move var from C code.
10512 (macro-declaration-function): Define function with defalias.
10513 * emacs-lisp/macroexp.el (macroexpand-all-1):
10514 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10515 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10516 defun/defmacro any more.
10517 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10518 Provide fallback for unknown arglist.
10519 (byte-compile-arglist-warn): Change calling convention.
10520 (byte-compile-output-file-form): Move print-vars binding.
10521 (byte-compile-output-docform): Simplify accordingly.
10522 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10523 (byte-compile-defmacro-declaration): Remove.
10524 (byte-compile-file-form-defmumble): Generalize to defalias.
10525 (byte-compile-output-as-comment): Return byte-positions.
10526 Simplify callers accordingly.
10527 (byte-compile-lambda): Use `assert'.
10528 (byte-compile-defun, byte-compile-defmacro): Remove.
10529 (byte-compile-file-form-defalias):
10530 Use byte-compile-file-form-defmumble.
10531 (byte-compile-defalias-warn): Remove.
10532
6d3f7c2f
SM
105332012-05-29 Stefan Merten <smerten@oekonux.de>
10534
10535 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 10536 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
10537
10538 (rst-mode-abbrev-table): Merge definition.
10539 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10540 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10541
6dbaa1c7
UJ
105422012-05-29 Ulf Jasper <ulf.jasper@web.de>
10543
10544 * calendar/icalendar.el
10545 (icalendar-export-region): Export UID properly.
10546
d209e2fb 105472012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
10548 * calendar/icalendar.el (icalendar-import-format):
10549 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
10550 (icalendar-import-format-uid): New.
10551 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10552 Export UID.
10553
6876a58d
SM
105542012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10555
10556 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10557 different alternative patterns.
10558 (pcase-codegen): Be more careful to preserve identity.
10559 (pcase--u1): Don't forget to mark vars as used.
10560
10561 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10562 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10563 (byte-compile-from-buffer): ...rather than here.
10564
10565 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10566 functions from byte-compile-function-environment.
10567
46b7967e
TN
105682012-05-29 Troels Nielsen <bn.troels@gmail.com>
10569
10570 * window.el (window-deletable-p): Avoid deleting the root window
10571 of a frame with an active minibuffer.
10572
69d565e2
MR
105732012-05-29 Martin Rudalics <rudalics@gmx.at>
10574
10575 * simple.el (choose-completion): Use quit-window (Bug#11567).
10576
a149fa51
CY
105772012-05-29 Chong Yidong <cyd@gnu.org>
10578
10579 * whitespace.el (whitespace-cleanup): Fix usage of
10580 whitespace-empty-at-bob-regexp (Bug#11492).
10581
2b311310
AH
105822012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10583
10584 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10585 revert (Bug#11488).
10586
b9cb2387
JL
105872012-05-29 Juri Linkov <juri@jurta.org>
10588
10589 * isearch.el (isearch-mode-map): Bind `M-s _' to
10590 `isearch-toggle-symbol'. Bind `M-s c' to
10591 `isearch-toggle-case-fold'.
10592 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10593 (isearch-forward): Add `M-s _' to the docstring.
10594 (isearch-forward-symbol, isearch-toggle-case-fold)
10595 (isearch-symbol-regexp): New functions. (Bug#11381)
10596
d5e61c1c
JL
105972012-05-29 Juri Linkov <juri@jurta.org>
10598
10599 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10600 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10601 a function, call it to get the regexp.
10602 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10603 property `isearch-message-prefix' instead of the string "word ".
10604 (isearch-search-fun-default): For the case of `isearch-word',
10605 return a lambda that calls re-search-forward/re-search-backward
10606 with a regexp returned by `word-search-regexp' or by the function
10607 in `isearch-word'.
10608
8cbd80f7
JL
106092012-05-29 Juri Linkov <juri@jurta.org>
10610
10611 * isearch.el (isearch-search-fun-default): New function.
10612 (isearch-search-fun): Move default part to the new function
10613 `isearch-search-fun-default'.
10614 (isearch-search-fun-function): Set the default value to
10615 `isearch-search-fun-default'. (Bug#11381)
10616
10617 * comint.el (comint-history-isearch-end):
10618 Use `isearch-search-fun-default'.
10619 (comint-history-isearch-search): Use `isearch-search-fun-default'
10620 and remove spacial case for `isearch-word'.
10621 (comint-history-isearch-wrap): Remove spacial case for
10622 `isearch-word'.
10623
10624 * hexl.el (hexl-isearch-search-function):
10625 Use `isearch-search-fun-default'.
10626
10627 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10628 Use `word-search-regexp' for `isearch-word'.
10629
10630 * misearch.el (multi-isearch-search-fun):
10631 Use `isearch-search-fun-default'.
10632
10633 * simple.el (minibuffer-history-isearch-search):
10634 Use `isearch-search-fun-default' and remove spacial case for
10635 `isearch-word'.
10636 (minibuffer-history-isearch-wrap): Remove spacial case for
10637 `isearch-word'.
10638
10639 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10640 Remove spacial case for `isearch-word'.
10641 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10642
85c8c5b6
AM
106432012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10644
10645 Decrease XEmacs incompatibilities.
10646 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10647 Use `string-match'.
10648 (flyspell-delete-region-overlays): Use alternative definition for
10649 XEmacs.
10650 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10651 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10652 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10653 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10654 `define-obsolete-face-alias' under XEmacs, but old method.
10655
10656 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10657 `with-no-warnings' definition or Emacs alias.
10658 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10659 (ispell-word): Do not use `region-p' if XEmacs.
10660
8cab9efc
AM
106612012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10662
10663 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10664 Check for `ispell-dictionary-base-alist' instead of full
10665 `ispell-dictionary-alist'.
10666 (ispell-init-process): Show spellchecker when starting new Ispell
10667 process.
10668
fda91268
RZ
106692012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10670
10671 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10672 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10673
694ea8e3
JB
106742012-05-27 Juanma Barranquero <lekktu@gmail.com>
10675
10676 * version.el (motif-version-string, gtk-version-string)
10677 (ns-version-string): Declare.
10678
e4d4f539
JL
106792012-05-27 Juri Linkov <juri@jurta.org>
10680
10681 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10682 after the `eval-defun-1' specialcaseing
10683 like in `edebug-eval-defun' (bug#10181).
10684
10685 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10686 like in `eval-defun-1'.
10687
33017faf 106882012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 10689
fda91268
RZ
10690 * mail/sendmail.el (mail-yank-region):
10691 Recognize rmail-yank-current-message in addition to insert-buffer.
10692 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
10693 a *mail* buffer created through rmail-start-mail with sendmail as
10694 mail-user-agent.
10695
33017faf
GM
106962012-05-27 Chong Yidong <cyd@gnu.org>
10697
10698 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10699 Default to 256 (Bug#11267).
10700
10701 * help.el (describe-mode): Doc fix.
10702
04188bb9
GM
107032012-05-26 Glenn Morris <rgm@gnu.org>
10704
38264cc9
GM
10705 * w32-fns.el (w32-init-info): Remove.
10706 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10707
eb7afdad
GM
10708 * info.el (info-initialize): For self-contained NS builds, put the
10709 included info/ directory at the front. (Bug#2791)
10710
04188bb9
GM
10711 * paths.el (Info-default-directory-list): Make it a defcustom,
10712 mainly so that we can use custom-initialize-delay.
10713
a179e3f7
SM
107142012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10715
43416392
SM
10716 * subr.el (buffer-has-markers-at): Mark obsolete.
10717
a179e3f7 10718 * subr.el (lambda): Use declare.
43416392 10719
a179e3f7
SM
10720 * emacs-lisp/lisp-mode.el (lambda):
10721 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10722
34a008d9
AH
107232012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10724
10725 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10726
0a3b289f
GM
107272012-05-26 Glenn Morris <rgm@gnu.org>
10728
10729 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10730
758c81e8
GM
107312012-05-25 Glenn Morris <rgm@gnu.org>
10732
f9f334f0
GM
10733 * paths.el: Remove no-byte-compile.
10734 * loadup.el: No need to load paths.el uncompiled.
10735
87eb79c2
GM
10736 * image.el (imagemagick-types-inhibit): Doc fix.
10737
758c81e8
GM
10738 * version.el: Remove no-byte-compile and associated formatting.
10739 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10740 is ancient code from when there was an "inc-vers.el".
10741
e7e85dc0
SM
107422012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10743
10744 * progmodes/gdb-mi.el: Minor style changes.
10745 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10746 Turn into minor modes.
10747 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10748 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10749 (gdb-shell): Remove unneeded let-binding.
10750 (gdb-get-many-fields): Eliminate O(n²) behavior.
10751
f31237a4
EZ
107522012-05-25 Eli Zaretskii <eliz@gnu.org>
10753
10754 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10755 platforms that don't link in fontset.c.
10756
bc1b21bb
JL
107572012-05-25 Juri Linkov <juri@jurta.org>
10758
10759 Use the same diff color scheme as in modern VCSes (bug#10181).
10760
10761 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10762 to avoid confusion with `diff-added' that now uses green colors.
10763 (diff-removed): Use shades of red.
10764 (diff-added): Use shades of green.
10765 (diff-changed): Leave just the yellow color.
10766 (diff-use-changed-face): New variable.
10767 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10768 how to highlight context diff changes.
10769 (diff-refine-change): Use shades of yellow.
10770 (diff-refine-removed): New face that uses shades of red.
10771 (diff-refine-added): New face that uses shades of green.
10772 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10773 `diff-refine-removed' in the call to `smerge-refine-subst'
10774 depending on the value of `diff-use-changed-face'.
10775
10776 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10777 (smerge-other): Use shades of green.
10778 (smerge-base): Use shades of yellow.
10779 (smerge-refined-change): Empty face.
10780 (smerge-refined-removed): New face that uses shades of red.
10781 (smerge-refined-added): New face that uses shades of green.
10782 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10783 args `props-r' and `props-a', and use them. Doc fix.
10784 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10785 on its value use different faces `smerge-refined-change',
10786 `smerge-refined-removed', `smerge-refined-added' in the call to
10787 `smerge-refine-subst'.
10788
10789 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10790 Add face condition `min-colors 88' with shades of red.
10791 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10792 `min-colors 88' with shades of green.
10793 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10794 `min-colors 88' with shades of yellow.
10795
6df9112c
GM
107962012-05-24 Glenn Morris <rgm@gnu.org>
10797
ead5edc0
GM
10798 * paths.el (prune-directory-list, remote-shell-program): Move to...
10799 * files.el (prune-directory-list, remote-shell-program): ...here.
10800 For the latter, delay initialization, prefer ssh, just search PATH.
10801
f18b81e6
GM
10802 * paths.el (term-file-prefix): Move to faces.el (the only user).
10803 * faces.el (term-file-prefix): Move here, make it a defcustom.
10804
ee2f89a6
GM
10805 * paths.el (news-directory, news-path, news-inews-program):
10806 Move to gnus/nnspool.el.
61a583ca 10807
f8815e4c
GM
10808 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10809
c8f3b42c
GM
10810 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10811 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10812 Make the latter a defcustom, with a delayed initialization.
10813
6df9112c
GM
10814 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10815 These were deleted from Gnus itself late 2010.
10816
5dadff36
JB
108172012-05-22 Juanma Barranquero <lekktu@gmail.com>
10818
9e1701c6
JB
10819 * progmodes/which-func.el (which-func-ff-hook):
10820 Check against user-error, not error.
10821
bd7239f5 10822 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
10823 cl-specs.el, which no longer exists.
10824
3290526d
GM
108252012-05-22 Glenn Morris <rgm@gnu.org>
10826
10827 * info.el (info-emacs-bug): New command.
10828 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10829 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10830
ff0c3cfb
GM
108312012-05-21 Glenn Morris <rgm@gnu.org>
10832
10833 * makefile.w32-in (update-subdirs-SH):
10834 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10835
5814f126
SM
108362012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10837
a52c0aa0
SM
10838 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10839
5814f126
SM
10840 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10841 Simplify Maven regexp, and make sure the file can't start with a space
10842 (bug#11517).
10843
b847032c
GM
108442012-05-21 Glenn Morris <rgm@gnu.org>
10845
10846 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10847 Scrap superfluous subshells.
10848
3858bfe7
SM
108492012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10850
10851 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10852 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10853
d14b0029
JB
108542012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10855
10856 * calc/calc.el (calc-ensure-consistent-units): New variable.
10857
a52c0aa0
SM
10858 * calc/calc-units.el (math-consistent-units-p)
10859 (math-check-unit-consistency): New functions.
10860 (calc-quick-units, calc-convert-units):
10861 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10862 is non-nil.
d14b0029
JB
10863 (calc-extract-units): Fix typo.
10864
60c4db3a
SM
108652012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10866
77f3b62e
SM
10867 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10868
60c4db3a
SM
10869 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10870 (flyspell-default-deplacement-commands): Don't spell check after
10871 repeated window/frame switches (e.g. triggered by mouse-movement).
10872 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10873 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10874 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10875 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10876 Remove unused vars.
10877 (flyspell-get-casechars, flyspell-get-not-casechars):
10878 Simplify; Don't bother removing a ] just to add it back.
10879 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10880
d209e2fb 108812012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
10882
10883 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10884 New functions.
bd7239f5 10885 (math-function-table): Add support for more C functions.
b1a10716 10886
3f1b25b5
AM
108872012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10888
090bd7cb
JB
10889 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10890 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10891 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 10892
b581bb5c
SM
108932012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10894
10895 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10896 their respective macro declarations.
10897 * skeleton.el (define-skeleton):
10898 * progmodes/compile.el (define-compilation-mode):
10899 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10900 (define-ibuffer-filter):
10901 * emacs-lisp/generic.el (define-generic-mode):
10902 * emacs-lisp/easy-mmode.el (define-minor-mode)
10903 (define-globalized-minor-mode):
10904 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10905 * emacs-lisp/byte-run.el (defsubst):
10906 * custom.el (deftheme): Add doc-string metadata.
10907
70b8ef8f
SM
109082012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10909
10910 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10911
b1198e17
SM
109122012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10913
9abdc45d
SM
10914 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10915
b1198e17
SM
10916 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10917 * emacs-lisp/cl-macs.el: Idem.
10918 * emacs-lisp/cl-specs.el: Remove.
10919
4735906a
SM
109202012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10921
10922 Minor renaming of internal CL functions and variables.
10923 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10924 (cl--position): Rename from cl-position.
10925 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10926 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10927 (cl--random-state): Rename from *random-state*.
10928
ac348012
SM
109292012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10930
10931 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10932 parens around the arg list (bug#11499).
10933
a0a79cde
JL
109342012-05-17 Juri Linkov <juri@jurta.org>
10935
10936 * isearch.el (word-search-regexp, word-search-backward)
10937 (word-search-forward, word-search-backward-lax)
10938 (word-search-forward-lax): Move functions from search.c
10939 (bug#10145, bug#11381).
10940
65034a51
AM
109412012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10942
090bd7cb
JB
10943 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10944 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10945 Delay for otherchars as for normal word components.
65034a51 10946
1a72a195
SM
109472012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10948
10949 * minibuffer.el (completion--sifn-requote): Fix last change.
10950 (minibuffer-local-must-match-filename-map):
10951 Move define-obsolete-variable-alias before its var.
10952
fdb058c2
SM
109532012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10954
c41045e6
SM
10955 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10956
036dfb8b
SM
10957 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10958 behavior.
10959 (completion--string-equal-p): New function.
10960 (completion--twq-all): Use it to get better assertion failure data.
10961
2473256d
SM
10962 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10963 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10964 (shell--requote-argument): New functions.
10965 (shell-completion-vars): Use them.
10966 (shell--parse-pcomplete-arguments): Rename from
10967 shell-parse-pcomplete-arguments.
10968 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10969 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10970 Obey comint-file-name-quote-list.
10971
fdb058c2
SM
10972 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10973 (smie-indent-keyword): Use it.
10974
51fa99f1
SM
109752012-05-14 Stefan Merten <smerten@oekonux.de>
10976
10977 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10978
e18afed7 109792012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
10980
10981 * net/rlogin.el (rlogin-mode-map): Fix last change.
10982
e18afed7 109832012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
10984
10985 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10986 the following \r\n using a single `process-send-string', since the
10987 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 10988 with two `process-send-string's (Bug#11444).
8633b1f4 10989
e18afed7 109902012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 10991
fdb058c2
SM
10992 * shell.el (shell-parse-pcomplete-arguments):
10993 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 10994
2d21d7f6
WJ
109952012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10996
e18afed7 10997 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
10998 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10999 (image-transform-width, image-transform-fit-width): New functions.
11000 (image-transform-properties): Use them.
11001 (image-transform-check-size): New function.
11002 (image-toggle-display-image): Use it (for testing).
11003 (image-transform-set-rotation): Reduce angle mod 360.
11004 Delete obsolete comment.
11005
7102e6d0
WJ
110062012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
11007
11008 * image-mode.el: Fix scaling (bug#11399).
11009 (image-transform-resize): Doc fix.
11010 (image-transform-properties): Default scale is 1 and height should
11011 be an integer.
11012
06bc5e6e
SM
110132012-05-13 Johan Bockgård <bojohan@gnu.org>
11014
11015 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
11016 than hard-coding `car', to fix misbehavior when moving forward.
11017
0ae03b6a
CY
110182012-05-13 Chong Yidong <cyd@gnu.org>
11019
11020 * emacs-lisp/tabulated-list.el (tabulated-list-format)
11021 (tabulated-list-entries, tabulated-list-padding)
11022 (tabulated-list-sort-key): Make permanent-local.
11023
11024 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
11025 (electric-buffer-list): Put electric buffer menu
11026 command descriptions in this docstring, instead of the docstring
11027 of electric-buffer-menu-mode. Code cleanups.
11028 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
11029 Electric-buffer-menu-mode.
11030 (electric-buffer-update-highlight): Minor code cleanup.
11031
205a7391
MA
110322012-05-13 Michael Albinus <michael.albinus@gmx.de>
11033
11034 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
11035 (Bug#11447)
11036
e5bd0a28
SM
110372012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11038
11039 Move define-obsolete-variable-alias before the var's definition.
11040 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
11041 * tooltip.el (tooltip-hook):
11042 * textmodes/reftex-toc.el (reftex-toc-map):
11043 * textmodes/reftex-sel.el (reftex-select-label-map)
11044 (reftex-select-bib-map):
11045 * textmodes/reftex-index.el (reftex-index-map)
11046 (reftex-index-phrases-map):
11047 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
11048 * progmodes/meta-mode.el (meta-mode-map):
11049 * novice.el (disabled-command-hook):
11050 * loadhist.el (unload-hook-features-list):
11051 * frame.el (blink-cursor):
11052 * files.el (find-file-not-found-hooks, write-file-hooks)
11053 (write-contents-hooks):
11054 * emulation/tpu-edt.el (GOLD-map):
11055 * emacs-lock.el (emacs-lock-from-exiting):
11056 * emacs-lisp/generic.el (generic-font-lock-defaults):
11057 * emacs-lisp/chart.el (chart-map):
11058 * dos-fns.el (register-name-alist):
11059 * dired-x.el (dired-omit-files-p):
11060 * desktop.el (desktop-enable):
11061 * cus-edit.el (custom-mode-hook):
11062 * buff-menu.el (buffer-menu-mode-hook):
11063 * bookmark.el (bookmark-read-annotation-text-func)
11064 (bookmark-exit-hooks):
11065 * allout.el (allout-mode-deactivate-hook)
11066 (allout-exposure-change-hook, allout-structure-added-hook)
11067 (allout-structure-deleted-hook, allout-structure-shifted-hook):
11068 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
11069 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
11070 comes before the corresponding variable's definition.
11071
ac59c2f6
CY
110722012-05-12 Chong Yidong <cyd@gnu.org>
11073
11074 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
11075 (Buffer-menu-mouse-select): Restore function (Bug#11459).
11076 (Buffer-menu-mode-map): Bind it.
11077 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 11078
dee6c9a3
SM
110792012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11080
2171cea5
SM
11081 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
11082 (prolog-upper-case-string, prolog-lower-case-string)
11083 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
11084 (prolog-use-smie, prolog-smie-grammar): New vars.
11085 (prolog-smie-forward-token, prolog-smie-backward-token)
11086 (prolog-smie-rules): New funs.
11087 (prolog-comment-indent): Remove.
11088 (prolog-mode-variables): Use default comment indentation instead.
11089 Setup SMIE.
11090 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
11091 (prolog-mode): Don't call them any more.
11092 (prolog-electric-colon, prolog-electric-dash)
11093 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
11094
aa0382bd
SM
11095 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
11096
dbacb4bd
SM
11097 * minibuffer.el (completion--twq-all): Again, allow case differences.
11098
13bdd94c
SM
11099 * term.el: Move keymap initialization code to be more idiomatic.
11100 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
11101 (term-terminal-menu): Move initialization into declaration.
11102 (term-escape-char): Let the user set it in her .emacs.
11103
ff46c759
SM
11104 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
11105 Provide SMIE-based indentation (not enabled by default yet).
11106 (sh-mode-map): Don't bind electric keys.
11107 Use electric-pair-mode instead of skeleton-pair.
11108 (sh-assignment-regexp): Fit within 80 columns.
11109 (sh-indent-supported): Specify actual shell name instead of boolean.
11110 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
11111 (sh-maybe-here-document): Use it. Make obsolete.
11112 (sh-electric-here-document-mode) New minor mode.
11113 (sh-mode): Use it. Don't set sh-indent-supported-here here.
11114 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11115 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11116 (sh-smie-rc-grammar, sh-use-smie): New vars.
11117 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11118 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11119 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11120 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11121 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11122 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11123 (sh-set-shell): Use smie-setup if requested.
11124
dee6c9a3
SM
11125 * term.el (term-set-escape-char): Properly set term-escape-char.
11126 See http://stackoverflow.com/questions/10524656.
11127
9f9aa044
CY
111282012-05-10 Chong Yidong <cyd@gnu.org>
11129
11130 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11131 Use url-generic-parse-url, and handle host names and Windows
11132 filenames properly.
11133 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11134 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11135 URL schemes to work on.
11136 (ffap--toggle-read-only): New function.
11137 (ffap-read-only, ffap-read-only-other-window)
11138 (ffap-read-only-other-frame): Use it.
11139 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11140 necessary for ffap-url-unwrap-remote.
11141
836d29b3
DA
111422012-05-10 Dave Abrahams <dave@boostpro.com>
11143
11144 * cus-start.el (create-lockfiles): Add it.
11145
00fd78ed
CY
111462012-05-09 Chong Yidong <cyd@gnu.org>
11147
11148 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11149 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11150
666b903b 111512012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
11152
11153 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11154
666b903b 111552012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
11156
11157 * ansi-color.el (ansi-color-process-output): Check for validity of
11158 comint-last-output-start before using it. This avoids a bad
11159 interaction with gdb-mi's input/output buffer.
11160
666b903b 111612012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
11162
11163 * files.el (dir-locals-read-from-file):
11164 Mention dir-locals in any error message.
11165
666b903b 111662012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
11167
11168 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11169 package (Bug#11410).
11170
f677562b
CY
11171 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11172 variables into description.
11173
666b903b 111742012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
11175
11176 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11177 shell-delimiter-argument-list (bug#11348).
11178 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11179
b499d8d0
JB
111802012-05-09 Juanma Barranquero <lekktu@gmail.com>
11181
8f6b6da8
JB
11182 * textmodes/rst.el: Silence byte-compiler warnings.
11183 (rst-re-alist, rst-reset-section-caches): Move around.
11184 (rst-re): Use `characterp', not `char-valid-p'.
11185 (font-lock-beg, font-lock-end): Declare.
11186
4824146a
JB
11187 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11188 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11189
b499d8d0
JB
11190 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11191
ad89bb83
GM
111922012-05-08 Glenn Morris <rgm@gnu.org>
11193
11194 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11195
8bba5a75
SM
111962012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11197
49ed9c8e
SM
11198 * vc/log-edit.el: Add GNU coding standards highlighting.
11199 (log-edit-font-lock-gnu-style)
11200 (log-edit-font-lock-gnu-keywords): New vars.
11201 (log-edit-font-lock-keywords): New fun.
11202 (log-edit-mode): Don't fold case in font-lock.
11203 (log-edit-font-lock-keywords): Do not assume case-folding.
11204
07d00b56
SM
11205 * imenu.el: Misc cleanup. Make docstrings out of comments.
11206 Use lexical-binding.
11207 (imenu--index-alist, imenu--last-menubar-index-alist)
11208 (imenu-menubar-modified-tick): Use defvar-local.
11209 (imenu--split-menu): Remove unused var.
11210 (imenu--cleanup-seen): Declare as global.
11211 (imenu--cleanup): Use dolist.
11212
8bba5a75
SM
11213 * subr.el (defvar-local): Add debug spec and doc-string position.
11214
5075bdb5
GM
112152012-05-08 Glenn Morris <rgm@gnu.org>
11216
090bd7cb 11217 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
11218 * language/english.el, language/georgian.el, language/greek.el:
11219 * language/japanese.el, language/khmer.el, language/korean.el:
11220 * language/lao.el, language/misc-lang.el, language/romanian.el:
11221 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11222 * language/thai.el, language/utf-8-lang.el:
11223 Remove no-byte-compile setting.
11224
5075bdb5
GM
11225 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11226
06f679a7
AH
112272012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11228
11229 * progmodes/make-mode.el (makefile-browse):
11230 Remove unnecessary interactive. (Bug#11324)
11231
03794570
GM
112322012-05-07 Glenn Morris <rgm@gnu.org>
11233
af8630f4
GM
11234 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11235
03794570
GM
11236 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11237
f0809a9d
SM
112382012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11239
28be5ce7
SM
11240 * loadup.el: Preload newcomment.el.
11241 * newcomment.el: Move autoload-only code to toplevel.
11242
f0809a9d
SM
11243 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11244 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11245 Handle new :right-align column property.
11246 (tabulated-list-print-col): Idem, plus use `display' text-property to
11247 try and preserve alignment for variable pitch fonts.
11248
1241b724
CY
112492012-05-07 Chong Yidong <cyd@gnu.org>
11250
11251 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11252 (tabulated-list-use-header-line): New var.
11253 (tabulated-list-init-header): Use it.
11254 (tabulated-list-print-fake-header): New function.
11255 (tabulated-list-print): Use it.
11256 (tabulated-list-sort-button-map): Add non-header-line commands.
11257 (tabulated-list-init-header): Add column name property to basic
11258 labels as well.
11259 (tabulated-list-col-sort): Handle non-header-line button case.
11260 (tabulated-list--sort-by-column-name): Fix a corner case.
11261
f0809a9d
SM
11262 * buff-menu.el (list-buffers--refresh):
11263 Handle Buffer-menu-use-header-line.
1241b724 11264
e5f9458f
CY
112652012-05-06 Chong Yidong <cyd@gnu.org>
11266
11267 * buff-menu.el: Convert to Tabulated List mode.
11268 (Buffer-menu-buffer+size-width): Make obsolete.
11269 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11270 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11271 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11272 documentation into docstring of buffer-menu.
11273 (Buffer-menu-toggle-files-only): Add an informative message.
11274 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11275 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11276 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11277 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11278 (Buffer-menu-execute, Buffer-menu-select)
11279 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11280 (Buffer-menu-bury): Use Tabulated List machinery.
11281 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11282 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 11283 Delete.
e5f9458f
CY
11284 (list-buffers--refresh): New function.
11285 (list-buffers-noselect): Use it.
11286 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11287 (Buffer-menu--pretty-file-name): New helper functions.
11288
11289 * loadup.el: Preload tabulated-list.
11290
11291 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11292 tabulated-list-sort-column.
11293 (tabulated-list-init-header): Add the initial aligning space even
11294 if tabulated-list-padding is zero.
11295
e129292c
CS
112962012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11297
11298 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11299 whose cdr is not a cons cell correctly (bug#11038).
11300
6632d361
CY
113012012-05-06 Chong Yidong <cyd@gnu.org>
11302
e129292c
CS
11303 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11304 Accept additional plist in column descriptors.
6632d361
CY
11305 (tabulated-list-init-header): Obey it.
11306 (tabulated-list-get-entry): New function.
11307 (tabulated-list-put-tag): Use it. Use string-width instead of
11308 length.
11309 (tabulated-list--column-number): New function.
11310 (tabulated-list-print): Use it.
e129292c
CS
11311 (tabulated-list-print-col): New function.
11312 Set `tabulated-list-column-name' property on each column's text.
6632d361 11313 (tabulated-list-print-entry): Use it.
e129292c
CS
11314 (tabulated-list-delete-entry, tabulated-list-set-col):
11315 New functions.
6632d361
CY
11316 (tabulated-list-sort-column): New command (Bug#11337).
11317
3cc99f68
CY
11318 * buff-menu.el (list-buffers): Move C-x C-b binding from
11319 buff-menu.el to bindings.el.
11320
11321 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11322 :advertised-binding feature.
11323
52b61776
TN
113242012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11325
11326 * progmodes/compile.el (compilation-internal-error-properties):
11327 Calculate start position correctly when end-col is set but
11328 end-line is not (Bug#11382).
11329
ebfe2597
WJ
113302012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11331
11332 * man.el (Man-unindent): Use text-property-default-nonsticky to
11333 prevent untabify from inheriting face properties (Bug#11408).
11334
6d3f7c2f
SM
113352012-05-05 Stefan Merten <smerten@oekonux.de>
11336
11337 * textmodes/rst.el: Major merge with upstream development up to
11338 Docutils SVN r7399 / rst.el V1.2.1.
11339
11340 Clarify maintainership and authors.
11341
11342 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11343 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11344 (rst-official-version, rst-official-cvs-rev, rst-version)
11345 (rst-package-emacs-version-alist): New functions and variables
11346 for version information.
11347
11348 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11349 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11350 (rst-mode-syntax-table, rst-mode): New and corrected functions
11351 and variables representing reStructuredText features.
11352
11353 (rst-re): New function for reStructuredText regexes. Use in
11354 many places.
11355
11356 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11357 (rst-mode-map): Rebind keys.
11358
11359 (rst-mode-lazy, rst-font-lock-keywords)
11360 (rst-font-lock-extend-region)
11361 (rst-font-lock-extend-region-internal)
11362 (rst-font-lock-extend-region-extend)
11363 (rst-font-lock-find-unindented-line-limit)
11364 (rst-font-lock-find-unindented-line-match)
11365 (rst-adornment-level, rst-font-lock-adornment-level)
11366 (rst-font-lock-adornment-match)
11367 (rst-font-lock-handle-adornment-pre-match-form)
11368 (rst-font-lock-handle-adornment-matcher): Major revision of
11369 font-locking. Integrate with other code. Use `jit-lock-mode'.
11370
11371 (rst-preferred-adornments, rst-adjust-hook)
11372 (rst-new-adornment-down, rst-preferred-bullets)
11373 (rst-preferred-bullets, rst-indent, rst-indent-width)
11374 (rst-indent-field, rst-indent-literal-normal)
11375 (rst-indent-literal-minimized, rst-indent-comment): Change,
11376 extend and improve customization.
11377
11378 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11379 (rst-normalize-cursor-position, rst-get-decoration)
11380 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11381 (rst-rstrip, rst-toc-insert-find-delete-contents)
11382 (rst-shift-fill-region, rst-compute-bullet-tabs)
11383 (rst-debug-print-tabs, rst-debug-mark-found)
11384 (rst-shift-region-guts, rst-shift-region-right)
11385 (rst-shift-region-left, rst-use-char-classes)
11386 (rst-font-lock-keywords-function)
11387 (rst-font-lock-indentation-point)
11388 (rst-font-lock-find-unindented-line-begin)
11389 (rst-font-lock-find-unindented-line-end)
11390 (rst-font-lock-find-unindented-line)
11391 (rst-font-lock-adornment-point, rst-font-lock-level)
11392 (rst-adornment-level-alist): Remove functions and variables.
11393
11394 (rst-compare-adornments, rst-get-adornment-match)
11395 (rst-suggest-new-adornment, rst-get-adornments-around)
11396 (rst-adornment-complete-p, rst-get-next-adornment)
11397 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11398 (rst-straighten-adornments): Standardize function names to
11399 use "adornment" instead of "decoration". Correct callers.
11400 Similar standardizing in many places.
11401
11402 (rst-update-section, rst-adjust, rst-promote-region)
11403 (rst-enumerate-region, rst-bullet-list-region)
11404 (rst-repeat-last-character): Correct use of `interactive'.
11405
11406 (rst-classify-adornment, rst-find-all-adornments)
11407 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11408 (rst-find-leftmost-column, rst-repeat-last-character):
11409 Refactor functions.
11410
11411 (rst-find-title-line, rst-reset-section-caches)
11412 (rst-get-adornments-around, rst-adjust-adornment-work)
11413 (rst-arabic-to-roman, rst-roman-to-arabic)
11414 (rst-insert-list-pos, rst-insert-list-new-item)
11415 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11416 New functions.
11417
11418 (rst-all-sections, rst-section-hierarchy)
11419 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11420 New variables.
11421
11422 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11423 configuration instead of only buffer. Change where necessary.
11424
11425 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11426 (rst-shift-region, rst-adaptive-fill): New functions for
11427 indentation and filling.
11428
11429 (rst-comment-line-break, rst-comment-indent)
11430 (rst-comment-insert-comment, rst-comment-region)
11431 (rst-uncomment-region): New functions for handling comments.
11432
11433 (rst-compile): Quote shell arguments.
11434
11435 (rst-compile-pdf-preview, rst-compile-slides-preview):
11436 Delete temporary files after use.
11437
a43f98b3
GM
114382012-05-05 Glenn Morris <rgm@gnu.org>
11439
48176e8b
GM
11440 * calendar/cal-html.el: Optionally include holidays in the output.
11441 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11442 (cal-html-holidays): New option.
11443 (cal-html-css-default): Add holiday entry.
11444 (holiday-in-range): Autoload it.
11445 (cal-html-htmlify-entry): Add optional class argument.
11446 (cal-html-htmlify-list): Add optional holidays argument.
11447 (cal-html-insert-agenda-days): Include holidays in the output.
11448 (cal-html-one-month): Maybe include holidays.
11449
a43f98b3
GM
11450 * calendar/holidays.el (holiday-in-range):
11451 Move here from cal-tex-list-holidays.
11452 * calendar/cal-tex.el (cal-tex-list-holidays):
11453 Make it an obsolete alias for holiday-in-range. Update all callers.
11454
fef9d149 114552012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
11456
11457 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11458 Nextstep.
11459
248da2f4
RW
114602012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11461
11462 * files.el (file-auto-mode-skip): New var.
11463 (set-auto-mode-1): Use it.
11464
f95e9344
SM
114652012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11466
df96ab1e
SM
11467 * repeat.el: Use lexical-binding.
11468 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11469 (repeat-undo-count): Remove.
11470 (repeat):
11471 * progmodes/octave-mod.el (octave-abbrev-start):
11472 * progmodes/f90.el (f90-abbrev-start):
11473 * face-remap.el (text-scale-adjust):
11474 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11475
5342bb06
SM
11476 * emacs-lisp/pcase.el (pcase--let*): New function.
11477 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11478 a bit more.
11479 (pcase--split-pred): Be more clever about ruling out overlap between
11480 a predicate and some constant pattern.
11481 (pcase--q1): Use `null' instead of (eq foo nil).
11482
f95e9344
SM
11483 * subr.el (setq-local, defvar-local): New macros.
11484 (kbd): Redefine as an alias.
11485 (with-selected-window): Leave unrelated frames alone.
11486 (set-temporary-overlay-map): New function.
11487
71873e2b
SM
114882012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11489
11490 * subr.el (user-error): New function.
11491 * window.el (switch-to-buffer):
11492 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11493 (smerge-match-conflict):
11494 * simple.el (previous-matching-history-element)
11495 (next-matching-history-element, goto-history-element, undo-more)
11496 (undo-start):
11497 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11498 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11499 (next-file, tags-loop-scan, list-tags, complete-tag):
11500 * progmodes/compile.el (compilation-loop):
11501 * mouse.el (mouse-minibuffer-check):
11502 * man.el (Man-bgproc-sentinel, Man-goto-page):
11503 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11504 (Info-history-forward, Info-follow-reference, Info-menu)
11505 (Info-extract-menu-item, Info-extract-menu-counting)
11506 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11507 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11508 (Info-next-reference, Info-prev-reference, Info-index)
11509 (Info-index-next, Info-follow-nearest-node)
11510 (Info-copy-current-node-name):
11511 * imenu.el (imenu--make-index-alist)
11512 (imenu-default-create-index-function, imenu-add-to-menubar):
11513 * files.el (basic-save-buffer, recover-file):
11514 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11515 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11516 (checkdoc-message-text, checkdoc-defun):
11517 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11518 * cus-edit.el (customize-changed-options, customize-rogue)
11519 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11520 (custom-variable-mark-to-reset-standard)
11521 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11522 (custom-file):
11523 * completion.el (check-completion-length):
11524 * comint.el (comint-search-arg)
11525 (comint-previous-matching-input-string-position)
11526 (comint-previous-matching-input)
11527 (comint-replace-by-expanded-history-before-point, comint-send-input)
11528 (comint-copy-old-input, comint-backward-matching-input)
11529 (comint-goto-process-mark, comint-set-process-mark):
11530 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11531 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11532
8a61ee22
SM
115332012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11534
66408d1e
SM
11535 * dabbrev.el (dabbrev--ignore-case-p): New function.
11536 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11537 Use it.
11538
8a61ee22
SM
11539 * files.el (automount-dir-prefix): Mark as obsolete.
11540
3c74813a
GM
115412012-05-04 Glenn Morris <rgm@gnu.org>
11542
11543 * patcomp.el, play/bruce.el: Move to obsolete/.
11544
0bfcf5c5
PE
115452012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11546
11547 Fix minor Y10k bugs.
11548 * arc-mode.el (archive-unixdate):
11549 * autoinsert.el (auto-insert-alist):
11550 * calc/calc-forms.el (math-this-year):
11551 * emacs-lisp/copyright.el (copyright-current-year)
11552 (copyright-update-year, copyright):
11553 * tar-mode.el (tar-clip-time-string):
11554 * time.el (display-time-update):
11555 Don't assume years have 4 digits.
11556
78f3273a
CY
115572012-05-04 Chong Yidong <cyd@gnu.org>
11558
11559 * dos-w32.el (file-name-buffer-file-type-alist)
11560 (direct-print-region-use-command-dot-com):
11561 * ffap.el (ffap-menu-regexp):
11562 * find-file.el (ff-special-constructs):
11563 * follow.el (follow-debug):
11564 * forms.el (forms--debug):
11565 * iswitchb.el (iswitchb-all-frames):
11566 * ido.el (ido-all-frames):
11567 * emacs-lisp/timer.el (timer-max-repeats):
11568 * mail/feedmail.el (feedmail-mail-send-hook)
11569 (feedmail-mail-send-hook-queued):
11570 * mail/footnote.el (footnote-signature-separator):
11571 * mail/mailabbrev.el (mail-alias-separator-string)
11572 (mail-abbrev-mode-regexp):
11573 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11574 * progmodes/idlwave.el (idlwave-libinfo-file)
11575 (idlwave-default-completion-case-is-down)
11576 (idlwave-library-routines): Convert defvars to defcustoms.
11577
11578 * mail/rmail.el (rmail-decode-mime-charset):
11579 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11580 (idlwave-shell-fix-inserted-breaks)
11581 (idlwave-shell-activate-alt-keybindings)
11582 (idlwave-shell-use-breakpoint-glyph):
11583 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11584
f7ae6719
SM
115852012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11586
11587 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11588
47086495
WS
115892012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11590
11591 * progmodes/verilog-mode.el (font-lock-keywords):
11592 Fix mis-highligting auto. Reported by Craig Barner.
11593 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 11594 defines from global name space. Reported by Dan Dever.
47086495
WS
11595 (verilog-auto-reset, verilog-auto-reset-widths)
11596 (verilog-auto-tieoff): Support using unbased numbers for
11597 AUTORESET and AUTOTIEOFF.
11598 (verilog-submit-bug-report): Update variable list.
11599 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 11600 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
11601 (verilog-auto-template-lint): Fix hash error when linting modules
11602 with no used templates.
11603 (verilog-warn, verilog-warn-error)
11604 (verilog-warn-fatal): When non-interactive report multiple
11605 warnings before exiting. Suggested by Brad Dobbie.
11606 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11607 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11608 to report unused template errors. Reported by Brad Dobbie.
11609 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 11610 nets, bug438. Reported by Vns Blore.
47086495
WS
11611 (verilog-auto-inout-module, verilog-auto-reg)
11612 (verilog-read-decls, verilog-read-sub-decls-sig)
11613 (verilog-signals-edit-wire-reg, verilog-signals-with):
11614 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 11615 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
11616 "reg" for backwards compatibility presuming Verilog 2001.
11617 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11618 (verilog-preprocess): Fix replication of preprocess output.
11619 Reported by Brad Dobbie.
11620 (verilog-auto-inst-interfaced-ports):
11621 Create verilog-auto-inst-interfaced-ports, bug429.
11622 Reported by Julian Gorfajn.
11623 (verilog-after-save-font-hook)
11624 (verilog-before-save-font-hook): New variable.
11625 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11626 (verilog-save-font-mods): Wrap disabling fontification, reported
11627 by David Rogoff.
11628 (verilog-do-indent, verilog-pretty-declarations-auto)
11629 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11630 Reported by Pierre-David Pfister.
11631 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11632 of class declarations, bug292. Reported by Kevin Heilman.
11633 (verilog-read-decls): Fix 'parameter type' not appearing in
11634 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11635 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 11636 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
11637 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11638 Reported by David Kravitz.
11639
116402012-05-03 Michael McNamara <mac@mail.brushroad.com>
11641
11642 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11643 assignment with tests in ifs and for loops.
11644 (verilog-extended-complete-re, verilog-complete-reg): Change so
11645 that DPI inport functions don't look like fuction declarations.
11646 (verilog-pretty-expr): Don't line up assignment
11647 operations to the test and increment in if and for loops
11648 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 11649 that DPI inport functions don't look like fuction declarations.
47086495 11650
2e51d4b5
KH
116512012-05-03 Kenichi Handa <handa@m17n.org>
11652
11653 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 11654 decoding, and show a warning message without signaling an error
2e51d4b5
KH
11655 (Bug#11282).
11656
2bd785a2
SM
116572012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11658
11659 * emacs-lisp/bytecomp.el
11660 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11661 since cconv.el might have introduced :fun-body, internal-make-closure,
11662 and friends for bytecomp to handle (bug#11391).
11663 * custom.el (defcustom): Avoid ((λ ..) ..).
11664
99d27583
SM
116652012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11666
11667 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11668
55a71479
JB
116692012-05-02 Juanma Barranquero <lekktu@gmail.com>
11670
11671 * notifications.el (dbus-debug):
11672 * term/linux.el (gpm-mouse-enable):
11673 * term/screen.el (xterm-register-default-colors): Declare.
11674
7b97c764
CY
116752012-05-02 Chong Yidong <cyd@gnu.org>
11676
2bc356d7
CY
11677 * cus-start.el (gc-cons-percentage, exec-suffixes)
11678 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11679 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11680 (make-cursor-line-fully-visible, void-text-area-pointer)
11681 (font-list-limit): Add customization data.
11682
7b97c764
CY
11683 * allout.el (allout-exposure-change-functions)
11684 (allout-structure-added-functions)
11685 (allout-structure-deleted-functions)
11686 (allout-structure-shifted-functions): Rename abnormal hooks from
11687 *-hook, and convert to defcustoms.
5d3385a0
JB
11688 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11689 Convert to defcustoms.
7b97c764
CY
11690 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11691
11692 * allout-widgets.el: Hook callers changed.
11693
90207a15 116942012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
11695
11696 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11697 the yanked message in preference to the default value of
11698 buffer-file-coding-system.
11699
90207a15 117002012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 11701
5d3385a0
JB
11702 * window.el (display-buffer--action-function-custom-type):
11703 Fix entry.
d9558cad 11704
90207a15 117052012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
11706
11707 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11708
d80ac57b
GM
117092012-05-01 Glenn Morris <rgm@gnu.org>
11710
976f7668
GM
11711 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11712
beb83b5a
GM
11713 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11714
d80ac57b
GM
11715 * cus-edit.el (custom-variable-documentation): Simplify with format.
11716
b593d6a9 117172012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 11718 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
11719
11720 * simple.el (suggest-key-bindings, execute-extended-command):
11721 Move from keyboard.c.
11722
782fbf2a
CY
117232012-05-01 Chong Yidong <cyd@gnu.org>
11724
11725 * follow.el: Eliminate advice.
11726 (set-process-filter, process-filter, sit-for): Advice deleted.
11727 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
11728 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11729 Vars deleted.
782fbf2a
CY
11730 (follow-auto): Use a :set function.
11731 (follow-mode): Rewritten. Don't advise process filters.
11732 (follow-switch-to-current-buffer-all, follow-scroll-up)
11733 (follow-scroll-down): Assume follow-mode is bound.
11734 (follow-comint-scroll-to-bottom)
11735 (follow-align-compilation-windows): New functions.
11736 (follow--window-sorter): New function.
11737 (follow-all-followers): Use it to explicitly sort windows by their
11738 positions; don't make assumptions about next-window order.
11739 (follow-windows-start-end, follow-delete-other-windows-and-split)
11740 (follow-calc-win-start): Doc fix.
11741 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11742 vertical-motion unnecessarily.
11743 (follow-adjust-window): New function.
11744 (follow-post-command-hook): Use it.
11745 (follow-call-set-process-filter, follow-call-process-filter)
11746 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11747 (follow-stop-intercept-process-output, follow-generic-filter):
11748 Functions deleted.
11749 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
11750 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11751 New functions, replacing advice on scroll-bar-* commands.
87233a14 11752 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
11753
11754 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
11755 (comint-postoutput-scroll-to-bottom): Use it.
11756 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 11757
290af740
GM
117582012-05-01 Glenn Morris <rgm@gnu.org>
11759
11760 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11761 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11762 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11763 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11764 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11765 Remove no-byte-compile setting.
11766
6eac8dc9
SM
117672012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11768
11769 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11770 all-completions code to not return a number in the last cdr.
11771
9cc7819c
LL
117722012-04-30 Leo Liu <sdl.web@gmail.com>
11773
11774 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11775 read-only error.
11776
c93b886f
CY
117772012-04-29 Chong Yidong <cyd@gnu.org>
11778
11779 * follow.el (follow-calc-win-end): Rewrite to handle partial
11780 screen lines correctly (Bug#8390).
11781 (follow-avoid-tail-recenter): Minor cleanup.
11782
8b6c19f4
SM
117832012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11784
11785 Avoid the obsolete `assoc' package.
11786 * speedbar.el (speedbar-refresh): Avoid adelete.
11787 (speedbar-file-lists): Simplify and avoid aput.
11788 * man.el (Man--sections, Man--refpages): New vars, replacing
11789 Man-sections-alist and Man-refpages-alist.
11790 (Man-build-section-alist, Man-build-references-alist):
11791 Use them; avoid aput.
11792 (Man--last-section, Man--last-refpage): New vars.
11793 (Man-follow-manual-reference): Use them.
11794 Use the `default' arg of completing-read.
11795 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11796
c5bb7569
CY
117972012-04-27 Chong Yidong <cyd@gnu.org>
11798
d1d2e2e8
CY
11799 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11800
15cd8efd
CY
11801 * startup.el (x-apply-session-resources): New function.
11802
11803 * term/ns-win.el (ns-initialize-window-system):
11804 * term/w32-win.el (w32-initialize-window-system):
11805 * term/x-win.el (x-initialize-window-system): Use it to properly
11806 set menu-bar-mode and other vars from X resources, even if the
11807 initial frame is not a window-system frame (Bug#2299).
11808
c5bb7569
CY
11809 * subr.el (read-key): Avoid running filter function when setting
11810 up temporary tool bar entries (Bug#9922).
11811
a8e7d6d7 118122012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
11813
11814 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11815 (Bug#11344)
11816
a8e7d6d7 118172012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
11818
11819 * select.el (xselect--encode-string): New function, split from
11820 xselect-convert-to-string.
11821 (xselect-convert-to-string): Use it.
11822 (xselect-convert-to-filename, xselect-convert-to-os)
11823 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11824 returned strings are properly encoded (Bug#11315).
11825
a8e7d6d7 118262012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
11827
11828 * simple.el (delete-active-region): Move to killing custom group.
11829
a8e7d6d7 118302012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
11831
11832 * progmodes/which-func.el (which-func-current): Quote %
11833 characters for mode-line processing.
11834
578c1d4b 118352012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
11836
11837 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11838 reaching eob (Bug#11286).
11839
a8e7d6d7 118402012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
11841
11842 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11843 (gdb): Make it buffer-local and init to zero.
11844 (gdb-control-commands-regexp): New variable.
11845 (gdb-send): Don't wrap in "-interpreter-exec console" if
11846 gdb-control-level is positive. Increment gdb-control-level
11847 whenever the command matches gdb-control-commands-regexp, and
11848 decrement it each time the command is "end". (Bug#11279)
11849
a8e7d6d7 118502012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
11851
11852 * window.el (adjust-window-trailing-edge, enlarge-window)
11853 (shrink-window, window-resize):
11854 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11855 windows (Bug#11276).
11856
b3608390
CY
118572012-04-27 Chong Yidong <cyd@gnu.org>
11858
11859 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 11860 fix "missing prefix" warning. All callers changed.
b3608390 11861
797e6e88
SM
118622012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11863
11864 * emacs-lisp/assoc.el: Move to obsolete/.
11865
e95a67dc
SM
118662012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11867
657c21e4 11868 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
11869
11870 * term/ns-win.el (ns-define-service):
11871 * progmodes/pascal.el (pascal-goto-defun):
11872 * progmodes/js.el (js--read-tab):
11873 * progmodes/etags.el (tags-lazy-completion-table):
11874 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11875 * emacs-lisp/ewoc.el (ewoc--wrap):
11876 * emacs-lisp/assoc.el (aput, adelete, amake):
11877 * doc-view.el (doc-view-convert-current-doc):
11878 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11879
cb3e7ae0
CY
118802012-04-26 Chong Yidong <cyd@gnu.org>
11881
dce04f7f
CY
11882 * image.el (image-type-from-buffer): Only return supported image
11883 type (Bug#9045).
11884
cb3e7ae0
CY
11885 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11886 value, for symmetry with diff-end-of-hunk.
11887 (diff-split-hunk, diff-find-source-location)
11888 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11889 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11890 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11891 compute the relevant hunk or file properly (Bug#6005).
11892 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11893
0d42eb3e
SM
118942012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11895
11896 * vc/vc-mtn.el:
11897 * vc/vc-hg.el:
11898 * vc/vc-git.el:
11899 * vc/vc-dir.el:
11900 * vc/vc-cvs.el:
11901 * vc/vc-bzr.el:
11902 * vc/vc-arch.el:
11903 * vc/vc.el: Replace lexical-let by lexical-binding.
11904 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11905 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11906 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11907
f08ae1c9
CY
119082012-04-26 Chong Yidong <cyd@gnu.org>
11909
8b71081d
CY
11910 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11911 (diff-mode-shared-map): Bind it to / and [remap undo].
11912
f08ae1c9
CY
11913 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11914 (ediff-window-setup-function): Use it as the default, to set up
11915 windows based on whether the current frame is graphical (Bug#2138).
11916 (ediff-choose-window-setup-function-automatically): Make obsolete.
11917
11918 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11919
ef24141c
SM
119202012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11921
cc356a5d
SM
11922 * ffap.el: Remove old code for obsolete package.
11923 (ffap-complete-as-file-p): Remove.
11924
b4ff4f1f
SM
11925 Use completion-table-with-quoting for comint and pcomplete.
11926 * comint.el (comint--unquote&requote-argument)
11927 (comint--unquote-argument, comint--requote-argument): New functions.
11928 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11929 (comint-quote-filename): Use regexp-opt-charset.
11930 (comint--common-suffix, comint--common-quoted-suffix)
11931 (comint--table-subvert): Remove.
11932 (comint-unquote-function, comint-requote-function): New vars.
11933 (comint--complete-file-name-data): Use them with
11934 completion-table-with-quoting.
11935 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11936 * pcomplete.el (pcomplete-arg-quote-list)
11937 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11938 (pcomplete-unquote-argument-function): Default to non-nil.
11939 (pcomplete-unquote-argument): Simplify.
11940 (pcomplete--common-quoted-suffix): Remove.
11941 (pcomplete-requote-argument-function): New var.
11942 (pcomplete--common-suffix): New function.
11943 (pcomplete-completions-at-point): Use completion-table-with-quoting
11944 and completion-table-subvert.
11945
79c4eeb4
SM
11946 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11947 (minibuffer--double-dollars): Preserve properties.
11948 (completion--sifn-requote): New function.
11949 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11950
ef24141c
SM
11951 * minibuffer.el: Add support for completion of quoted/escaped data.
11952 (completion-table-with-quoting, completion-table-subvert): New funs.
11953 (completion--twq-try, completion--twq-all): New functions.
11954 (completion--nth-completion): New function.
11955 (completion-try-completion, completion-all-completions): Use it.
11956
784e7d6e
LL
119572012-04-25 Leo Liu <sdl.web@gmail.com>
11958
dd2ac746
SM
11959 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11960 Use compilation-message if available to find real filename.
784e7d6e 11961
07875ee7
CY
119622012-04-25 Chong Yidong <cyd@gnu.org>
11963
11964 * vc/diff-mode.el (diff-setup-whitespace): New function.
11965 (diff-mode): Use it.
11966
11967 * vc/diff.el (diff-sentinel):
11968 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11969 Whitespace mode variables based on diff style (Bug#8612).
11970
5055880d
LL
119712012-04-25 Leo Liu <sdl.web@gmail.com>
11972
daf75653
LL
11973 * progmodes/python.el (python-send-region): Add suffix .py to the
11974 temp file.
11975
5055880d
LL
11976 * files.el (auto-mode-alist): Use javascript-mode instead.
11977
db9b177b
AH
119782012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11979
ef24141c 11980 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 11981
090bd7cb 11982 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 11983 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 11984 references, see Bug#9.
ef24141c 11985 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 11986 when receiving a fault reply.
ef24141c 11987 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 11988
090bd7cb 11989 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 11990 (soap-inspect-simple-type): New function.
db9b177b 11991
090bd7cb 11992 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 11993 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
11994 (soap-decode-basic-type, soap-encode-basic-type):
11995 support unsignedInt and double basic types.
db9b177b 11996 (soap-resolve-references-for-simple-type)
ef24141c
SM
11997 (soap-parse-simple-type, soap-encode-simple-type): New function.
11998 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 11999
090bd7cb 12000 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
12001 (soap-default-soapenc-types): Add integer, byte and anyURI types.
12002 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
12003 the local name of "soapenc:Array".
12004 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
12005 decoding integer, byte and anyURI xsd types.
12006
1fc6097b
CY
120072012-04-25 Chong Yidong <cyd@gnu.org>
12008
12009 * cus-edit.el (custom-buffer-create-internal): Update header text.
12010
afc6df87
EZ
120112012-04-25 Eli Zaretskii <eliz@gnu.org>
12012
12013 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
12014 settings on 'system-type', not on 'window-system'. On MS-Windows,
12015 set interactive-mode on in GDB.
12016
dfbd787f
SM
120172012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12018
12019 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
12020 (ruby-syntax-propertize-regexp): Remove.
12021 (ruby-syntax-propertize-function): Split regexp into chunks.
12022 Match following code directly.
12023
85222d44
DG
120242012-04-24 Dmitry Gutov <dgutov@yandex.ru>
12025
51a8ea2a
DG
12026 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
12027 (ruby-syntax-propertize-regexp): New function.
12028 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
12029 by a special keyword.
12030
85222d44
DG
12031 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
12032 (ruby-syntax-general-delimiters-goto-beg)
12033 (ruby-syntax-propertize-general-delimiters): New functions.
12034 (ruby-syntax-propertize-function): Use them to handle GDL.
12035 (ruby-font-lock-keywords): Move old handling of GDL...
12036 (ruby-font-lock-syntactic-keywords): .. to here.
12037 (ruby-calculate-indent): Adjust indentation for GDL.
12038
b613912b
MA
120392012-04-24 Michael Albinus <michael.albinus@gmx.de>
12040
b5380639
MA
12041 * notifications.el (top): Remove unneeded declarations.
12042 (notifications-specification-version): Change to "1.2".
e43042fe 12043 (notifications-interface, notifications-notify-method)
b613912b
MA
12044 (notifications-close-notification-method): Fix docstring.
12045 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
12046 (notifications-notify): Add :action-items, :resident and
12047 :transient hints. Change "image_data" to "image-data" and
12048 "image_path" to "image-path".
b613912b
MA
12049 (notifications-get-capabilities): New defun.
12050
257440aa
LL
120512012-04-24 Leo Liu <sdl.web@gmail.com>
12052
12053 * progmodes/python.el: Move hideshow setup to the end.
12054
b1bac16e
MR
120552012-04-24 Martin Rudalics <rudalics@gmx.at>
12056
12057 * window.el (handle-select-window): Clear echo area since this is
12058 no more done by read_char (Bug#11304).
12059
d81bd059
SM
120602012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12061
12062 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
12063 and `/ M' to filter-derived-mode.
12064 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
12065 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
12066 (ibuffer-mark-by-mode): Use default rather than initial-input.
12067 (ibuffer-filter-by-derived-mode): Autoload and require-match.
12068
c4cf6d91
IA
120692012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
12070
12071 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
12072 (ibuffer-filter-by-derived-mode): New filter.
12073 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
12074
7511ded8
CY
120752012-04-23 Andreas Politz <politza@fh-trier.de>
12076
12077 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
12078
775c916b
CY
120792012-04-23 Chong Yidong <cyd@gnu.org>
12080
12081 * cus-edit.el (customize-apropos, customize-apropos-options):
12082 Disable matching of non-option variables (Bug#11176).
12083 (customize-option, customize-option-other-window)
12084 (customize-changed-options): Doc fix.
12085 (customize-apropos-options, customize-apropos-faces)
12086 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
12087
12088 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 12089 Fix word list splitting (Bug#11132).
46c71e23
CY
12090 (apropos-symbol, apropos-keybinding, apropos-label)
12091 (apropos-property, apropos-function-button)
12092 (apropos-variable-button, apropos-misc-button): New faces.
12093 (apropos-symbol-face, apropos-keybinding-face)
12094 (apropos-label-face, apropos-property-face, apropos-match-face):
12095 Variables removed (Bug#8396).
12096 (apropos-library-button, apropos-format-plist, apropos-print)
12097 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 12098
2df41f9c
MA
120992012-04-23 Michael Albinus <michael.albinus@gmx.de>
12100
12101 * net/xesam.el (xesam-mode-map): Use let-bound map in
12102 initialization. (Bug#11292)
12103
da00640a
AM
121042012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12105
12106 Preserve ispell session localwords when switching back to
12107 original buffer.
12108
090bd7cb
JB
12109 * textmodes/ispell.el (ispell-buffer-session-localwords):
12110 New buffer-local variable to hold buffer session localwords.
ed9265fc 12111 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
12112 localwords.
12113 (ispell-command-loop, ispell-change-dictionary)
12114 (ispell-buffer-local-words): Preserve session localwords when
12115 needed.
12116
090bd7cb
JB
12117 * textmodes/flyspell.el (flyspell-process-localwords)
12118 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 12119
f621ccf5
AM
121202012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12121
090bd7cb
JB
12122 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12123 using obsolete `translation-table-for-input'.
ef24141c
SM
12124 (ispell-word, ispell-process-line, ispell-complete-word):
12125 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 12126
c2d1019e
CY
121272012-04-22 Chong Yidong <cyd@gnu.org>
12128
12129 * cus-edit.el (custom-variable-menu)
12130 (custom-variable-reset-saved, custom-face-menu)
12131 (custom-face-reset-saved): If there is no saved value, make the
12132 "reset-saved" operation bring back the default (Bug#9509).
12133 (custom-face-state): Properly detect themed faces.
12134
eeddc531
CY
12135 * faces.el (face-spec-set): Stop supporting deprecated form of
12136 third arg.
12137
dcbf5805
MA
121382012-04-22 Michael Albinus <michael.albinus@gmx.de>
12139
12140 Move functions from C to Lisp. Make non-blocking method calls
12141 the default. Implement further D-Bus standard interfaces.
12142
ef24141c
SM
12143 * net/dbus.el (dbus-message-internal): Declare function.
12144 Remove unneeded function declarations.
dcbf5805
MA
12145 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12146 (dbus-message-type-method-return, dbus-message-type-error)
12147 (dbus-message-type-signal): Declare variables. Remove local
12148 definitions.
12149 (dbus-interface-dbus, dbus-interface-peer)
12150 (dbus-interface-introspectable, dbus-interface-properties)
12151 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12152 Adapt docstring.
12153 (dbus-interface-objectmanager): New defconst.
12154 (dbus-call-method, dbus-call-method-asynchronously)
12155 (dbus-send-signal, dbus-method-return-internal)
12156 (dbus-method-error-internal, dbus-register-service)
12157 (dbus-register-signal, dbus-register-method): New defuns, moved
12158 from dbusbind.c
12159 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
12160 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12161 New defuns.
dcbf5805
MA
12162 (dbus-call-method-non-blocking): Make it an obsolete function.
12163 (dbus-unregister-object, dbus-unregister-service)
12164 (dbus-handle-event, dbus-register-property)
12165 (dbus-property-handler): Obey the new structure of
12166 `bus-registered-objects'.
12167 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12168 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12169 Use `dbus-call-method'.
12170
cf20dee0
CY
121712012-04-22 Chong Yidong <cyd@gnu.org>
12172
12173 * cus-edit.el (custom-commands, custom-reset-menu)
12174 (Custom-reset-standard): Tweak labels.
12175 (custom-reset-button-menu): Change default to t.
12176 (custom-buffer-create-internal): For the custom-reset-button-menu
12177 case, put the revert button first.
12178 (custom-group-subtitle): New face.
12179 (custom-group-value-create): Align docstring to a specific column.
12180
12181 * wid-edit.el (widget-documentation-link-add): Don't handle
12182 indentation in this function.
12183 (widget-documentation-string-indent-to): New function.
12184 (widget-documentation-string-value-create): Use it.
12185
12186 * autorevert.el (auto-revert):
12187 * epg-config.el (epg):
12188 * ibuffer.el (ibuffer):
12189 * mpc.el (mpc):
12190 * ses.el (ses):
12191 * eshell/eshell.el (eshell):
12192 * net/ange-ftp.el (ange-ftp):
12193 * progmodes/ebnf2ps.el (postscript):
12194 * progmodes/flymake.el (flymake):
12195 * progmodes/prolog.el (prolog):
12196 * progmodes/verilog-mode.el (verilog-mode):
12197 * progmodes/which-func.el (which-func):
12198 * term/xterm.el (xterm):
12199 * textmodes/picture.el (picture):
12200 * textmodes/tildify.el (tildify):
12201 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12202 customization buffers.
12203
583e23bd
AM
122042012-04-22 Alan Mackenzie <acm@muc.de>
12205
12206 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12207 Adding a ) can hide the resulting (..) from searches. Fix it.
12208 Bound the backward search to the position of the existing (.
12209
7dd51bf1
JB
122102012-04-21 Juanma Barranquero <lekktu@gmail.com>
12211
12212 * progmodes/verilog-mode.el (verilog-mode): Check whether
12213 which-func-modes is t before adding verilog-mode.
12214 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12215
d64a438f
LL
122162012-04-21 Leo Liu <sdl.web@gmail.com>
12217
7dd51bf1 12218 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 12219
081e8d65
MV
122202012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12221
12222 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12223 filling of the last column of a table (Bug#5635).
12224 (woman-find-next-control-line): New arg, specifying an additional
12225 regexp component for the control line.
12226 (woman2-roff-buffer): Use it.
12227 (woman-break-table): New function.
12228 (woman2-TS): Use it.
12229
122302012-04-21 Chong Yidong <cyd@gnu.org>
12231
12232 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12233 (woman-horizontal-escapes, woman-negative-vertical-space)
12234 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12235 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12236
ed571ccb
SM
122372012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12238
12239 * minibuffer.el (completion-file-name-table): Complete user names.
12240
39773899
LL
122412012-04-20 Leo Liu <sdl.web@gmail.com>
12242
12243 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12244 and pcase-let*.
12245
de6ff46d
CY
122462012-04-20 Chong Yidong <cyd@gnu.org>
12247
12248 * server.el (server-execute): Respect initial-buffer-choice if it
12249 is a string and there are no files to open (Bug#2825).
12250 (server-create-window-system-frame, server-create-tty-frame):
12251 Don't switch buffers here.
2d0e8e61
CY
12252 (server-process-filter): Only try to open a window system frame if
12253 compiled with graphical support (Bug#8314).
de6ff46d 12254
54071013
DN
122552012-04-20 Dan Nicolaescu <dann@gnu.org>
12256
12257 * battery.el (battery-echo-area-format): Display remaining time
12258 for sysfs backend too (Bug#11269).
12259 (battery-linux-sysfs): Fix conditional for the charge.
12260
f30d612a
CY
122612012-04-20 Chong Yidong <cyd@gnu.org>
12262
c07a4c0b 12263 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
12264 (gdb-inferior-io--init-proc): New function.
12265 (gdb-init-1): Use it.
12266 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12267 responsible for allocating a new pty and hooking it to gdb when
12268 the old pty gets an EIO due to process exit.
12269 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12270 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12271 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12272
2116e93c
EZ
122732012-04-20 Eli Zaretskii <eliz@gnu.org>
12274
12275 * window.el (window-min-size, window-sizable, window-min-delta)
12276 (window-max-delta, window--resizable, window-resizable)
12277 (window-total-size, window-full-height-p, window-full-width-p)
12278 (window-in-direction, window--resize-mini-window, window-resize)
12279 (window--resize-child-windows-normal)
12280 (window--resize-child-windows, window--resize-siblings)
12281 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 12282 (enlarge-window, shrink-window): Doc fixes.
2116e93c 12283
c07a4c0b 122842012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 12285
ef24141c
SM
12286 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12287 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
12288 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12289 pty process (Bug#11273).
12290 (gdb-update): New arg to suppress talking to the gdb process.
12291 (gdb-done-or-error): Use it.
12292 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12293 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12294 sentinel not being called.
12295
12296 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12297
d02766ab
CY
12298 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12299
c07a4c0b 123002012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
12301
12302 * net/network-stream.el (open-network-stream): Doc fix.
12303
c07a4c0b 123042012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
12305
12306 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12307
c07a4c0b 123082012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
12309
12310 Ensure searching for keywords is case sensitive.
12311
12312 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12313 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12314 (c-defun-name, c-mark-function, c-cpp-define-name)
12315 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 12316 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 12317
ef24141c
SM
12318 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12319 Bind case-fold-search to nil.
f0f6bc35 12320
c07a4c0b 123212012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
12322
12323 * mail/sendmail.el (mail-bury): Call return action with the right
12324 Rmail buffer (Bug#11242).
12325
9a864fa2
CY
12326 * server.el (server-process-filter): Handle corner case where both
12327 tty and nowait options are present (Bug#11102).
12328
539aa513
EZ
123292012-04-20 Eli Zaretskii <eliz@gnu.org>
12330
12331 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
12332 (top level): Put into the executable the ident-style '$Id:' tag on
12333 windows-nt as well.
539aa513 12334
cfc7d5da
SM
123352012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12336
12337 * electric.el (electric-indent-post-self-insert-function): Check that
12338 electric-indent-mode is enabled in current buffer.
12339
5b01685c
JB
123402012-04-19 Juanma Barranquero <lekktu@gmail.com>
12341
12342 * imenu.el (imenu-progress-message): Restore; it is "used" in
12343 erc/erc-imenu.el and net/snmp-mode.el.
12344
4d6769e1
JB
123452012-04-19 Juanma Barranquero <lekktu@gmail.com>
12346
12347 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12348 (mouse-avoidance-nudge-mouse): Remove unused binding.
12349
12350 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12351
12352 * descr-text.el (describe-char):
12353 * progmodes/python.el (python-describe-symbol):
12354 Don't call `toggle-read-only', set `buffer-read-only'.
12355
12356 * imenu.el (imenu-default-goto-function): Mark unused args.
12357 (imenu-progress-message): Remove obsolete macro; all callers changed.
12358
12359 * subr.el (keymap-canonicalize): Remove unused binding.
12360 (read-passwd): Mark unused arg.
12361
12362 * tutorial.el (tutorial--display-changes): Remove unused binding.
12363 (tutorial--save-tutorial-to): Remove unused variable.
12364
12365 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12366 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12367 (package-generate-autoloads, package-menu--generate)
12368 (package-menu--find-upgrades): Remove unused bindings.
12369
12370 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12371 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12372 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12373 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12374 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12375 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12376 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12377 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12378 (cua-delete-char-rectangle): Mark unused args.
12379 (cua-align-rectangle): Remove unused binding.
12380
12381 * mail/rmail.el (compilation--message->loc)
12382 (epa--find-coding-system-for-mime-charset): Declare.
12383
12384 * net/dbus.el (dbus-register-service): Declare.
12385 (dbus-name-owner-changed-handler): Remove unused binding.
12386
12387 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12388 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12389 (nxml-scan-backward-within): Mark unused arg.
12390 (nxml-dynamic-markup-word): Remove unused binding.
12391
12392 * mouse.el (mouse-menu-major-mode-map):
12393 * emacs-lisp/authors.el (authors-scan-change-log)
12394 (authors-add-to-author-list):
12395 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12396 * emacs-lisp/smie.el (smie-auto-fill):
12397 * mail/sendmail.el (mail-bury):
12398 * mail/unrmail.el (unrmail):
12399 * net/tls.el (open-tls-stream):
12400 * textmodes/picture.el (picture-mouse-set-point):
12401 Remove unused bindings.
12402
8c8fc5df
MA
124032012-04-19 Michael Albinus <michael.albinus@gmx.de>
12404
12405 * net/tramp.el (tramp-action-password): Let-bind
12406 `enable-recursive-minibuffers' to t.
12407
a77b0ac9
SS
124082012-04-18 Sam Steingold <sds@gnu.org>
12409
12410 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12411 instead of 'string to accommodate values like [f11].
12412 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12413 * progmodes/gdb-mi.el: Likewise.
12414
12a106a9
LL
124152012-04-18 Leo Liu <sdl.web@gmail.com>
12416
12417 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12418 current buffer.
12419 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12420 LOCAL is nil.
12421
bc6494ef
CY
124222012-04-18 Chong Yidong <cyd@gnu.org>
12423
12424 * simple.el (line-move): Use forward-line if in batch mode
12425 (Bug#11053).
12426
c09c46b2
CS
124272012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12428
12429 * files.el (after-find-file): Do not try to add a final newline if
12430 the buffer is read-only (Bug#11156).
12431
5f6530ea
RS
124322012-04-17 Richard Stallman <rms@gnu.org>
12433
12434 * mail/rmail.el (rmail-start-mail):
12435 Pass (rmail-mail-return...) for the return-action.
12436 Pass (rmail-yank-current-message...) for the yank-action.
12437 (rmail-yank-current-message): New function.
12438 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12439 (rmail-reply): Likewise.
12440 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12441
12442 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 12443 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
12444 buffer, not newbuf.
12445
197b6f3c
JB
124462012-04-17 Juanma Barranquero <lekktu@gmail.com>
12447
12448 * server.el (server-ensure-safe-dir): Simplify.
12449
2311d8e5 124502012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 12451
2311d8e5
GM
12452 * emacs-lisp/smie.el: Provide smarter auto-filling.
12453 (smie-auto-fill): New function.
12454 (smie-setup): Use it.
98fb480e 12455
2311d8e5
GM
12456 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12457
124582012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
12459
12460 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12461 (comment-indent): Use it.
12462
2311d8e5 124632012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
12464
12465 * ses.el: The overall change is to add cell renaming, that is
12466 setting fancy names for cell symbols other than name matching
12467 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 12468 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 12469 (ses-create-cell-variable): New defun.
2311d8e5 12470 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
12471 (ses-relocate-formula): Relocate formulas only for cells the
12472 symbols of which are not renamed, i.e. symbols whose names do not
12473 match regexp "\\`[A-Z]+[0-9]+\\'".
12474 (ses-relocate-all): Relocate values only for cells the symbols of
12475 which are not renamed.
12476 (ses-load): Create cells variables as the (ses-cell ...) are read,
12477 in order to check row col consistency with cell symbol name only
12478 for cells that are not renamed.
12479 (ses-replace-name-in-formula): New defun.
12480 (ses-rename-cell): New defun.
4bdf2ad2 12481
fc72b15c
PO
124822012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12483
12484 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12485 New option (bug#11118).
12486 (perl-calculate-indent): Respect it.
12487
12e10e61
GM
124882012-04-17 Glenn Morris <rgm@gnu.org>
12489
12490 * dired-aux.el (dired-mark-read-string): Doc fix.
12491
30009afd
DA
124922012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12493
12494 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12495 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12496
41f03f4d
GM
124972012-04-17 Glenn Morris <rgm@gnu.org>
12498
12499 * mouse.el (mouse-drag-track):
12500 * speedbar.el (speedbar-frame-mode):
12501 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12502
f45f90f3
LL
125032012-04-16 Leo Liu <sdl.web@gmail.com>
12504
12505 * progmodes/python.el: Trivial cleanup.
12506
94ee8db5
GM
125072012-04-16 Glenn Morris <rgm@gnu.org>
12508
121b8917
GM
12509 * vc/vc.el (vc-string-prefix-p):
12510 * vc/pcvs-util.el (cvs-string-prefix-p):
12511 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12512 * mpc.el (mpc-string-prefix-p):
12513 Make all of these into obsolete aliases for string-prefix-p.
12514 Update callers.
12515 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12516
1197ecfa
GM
12517 * textmodes/two-column.el: Move custom options to the start.
12518 (frame-width): Remove compat definition.
12519 (2C-associate-buffer, 2C-dissociate):
12520 Use with-current-buffer rather than save-excursion.
12521 (2C-dissociate): Force a mode-line update.
12522 (2C-autoscroll): Use ignore-errors.
12523
099e7202
GM
12524 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12525 Autoload trivia.
12526
bf350d6a
GM
12527 * emacs-lisp/cl-extra.el (*random-state*):
12528 Remove unnecessary declaration.
12529
0e829eab
GM
12530 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12531
e3ad7552
GM
12532 * play/cookie1.el (cookie-snarf):
12533 Give an explicit error if input file cannot be read.
12534
68892d27
GM
12535 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12536
20f0c46d
GM
12537 * progmodes/perl-mode.el (c-macro-expand):
12538 Remove unnecessary autoload (it is in loaddefs.el).
12539
5a0978ce
GM
12540 * textmodes/picture.el (picture-desired-column)
12541 (picture-update-desired-column): Convert comments to doc-strings.
12542 (picture-substitute): Remove function.
12543 (picture-mode-map): Initialize in the defvar.
12544
6b955486
GM
12545 * woman.el: Remove eval-after-load for tar-mode.
12546 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12547 (woman-tar-extract-file): Autoload it.
12548
94ee8db5
GM
12549 * frame.el (automatic-hscrolling): Make this alias obsolete.
12550
177eca34
AM
125512012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12552
090bd7cb 12553 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 12554 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
12555 (ispell-dictionary-base-alist): Revert to original XEmacs
12556 friendly version for default. [:alpha:] will be added in
090bd7cb 12557 `ispell-set-spellchecker-params' if needed.
177eca34 12558
c505aaeb
CY
125592012-04-16 Chong Yidong <cyd@gnu.org>
12560
b19dd9d1 12561 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
12562 (imagemagick-register-types): Use it.
12563 (imagemagick-types-inhibit): Add :set function. Allow new value
12564 of t to inhibit all types.
12565
12566 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12567 so we can preload it.
12568
12569 * loadup.el (fboundp): Preload regexp-opt, needed by
12570 imagemagick-register-types.
12571
60efac0f
CY
125722012-04-15 Chong Yidong <cyd@gnu.org>
12573
12574 * frame.el (scrolling): Remove nearly unused customization group.
12575
12576 * scroll-all.el (scroll-all-mode): Move to windows group.
12577
5dd1713e
CY
125782012-04-15 Chong Yidong <cyd@gnu.org>
12579
12580 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12581
e6fd457e
CY
125822012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12583
12584 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 12585 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 12586
e153c136
GM
125872012-04-15 Glenn Morris <rgm@gnu.org>
12588
12589 * simple.el (process-file-side-effects): Doc fix.
12590
e6fd457e 125912012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
12592
12593 * international/mule-cmds.el (set-language-environment): Doc fix.
12594
3603c3b1
JB
125952012-04-14 Juanma Barranquero <lekktu@gmail.com>
12596
12597 * server.el (server-auth-key, server-generate-key): Doc fixes.
12598 (server-get-auth-key): Doc fix. Use `string-match-p'.
12599 (server-start): Reflow docstring.
12600
e6de100c
LI
126012012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12602
12603 * server.el (server-generate-key): `called-interactively-p'
12604 requires a parameter.
12605
29734c21
MN
126062012-04-14 Michal Nazarewicz <mina86@mina86.com>
12607
12608 * server.el (server-auth-key): New variable.
75f1671a 12609 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
12610 (server-start): Use the new variable and functions to allow
12611 setting a permanent server key (bug#9423).
12612
d65c9521
LL
126132012-04-14 Leo Liu <sdl.web@gmail.com>
12614
12615 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12616
5ae255c7
PE
126172012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12618
12619 Spelling fixes.
12620 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12621 Emacs uses American spelling.
12622
d5e6342e
JB
126232012-04-14 Juanma Barranquero <lekktu@gmail.com>
12624
12625 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12626 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12627 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12628 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12629
ab036cd7
SM
126302012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12631
12632 * progmodes/which-func.el (which-func-modes): Change default.
12633
35dc09a1 126342012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
12635
12636 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12637 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12638
35dc09a1 126392012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
12640
12641 * custom.el (custom-theme-set-variables): Doc fix.
12642
35dc09a1 126432012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
12644
12645 * international/mule.el (set-auto-coding-for-load): Doc fix.
12646
35dc09a1 126472012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 12648
35dc09a1
GM
12649 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12650 imenu work again for Objective C Mode. Correct the *-index values,
12651 these having been disturbed by a previous change in 2011-08.
57f845ee 12652
0de3da9f
AM
12653 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12654 Correct two search limits.
12655
35dc09a1 126562012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
12657
12658 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12659
35dc09a1 126602012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
12661
12662 * international/characters.el: Fix sorting.
12663
35dc09a1 126642012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
12665
12666 * international/characters.el: Add more missing Latin case pairs.
12667
35dc09a1 126682012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
12669
12670 * files.el (dir-locals-set-class-variables): Doc fix.
12671
35dc09a1 126722012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 12673
3f1b5bf8
EZ
12674 * international/characters.el: Add set-case-syntax-pair call for
12675 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12676 counterpart. (Bug#11209)
12677
9f847f41
EZ
12678 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12679
35dc09a1 126802012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
12681
12682 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12683
35dc09a1 126842012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 12685
35dc09a1
GM
12686 * textmodes/ispell.el (ispell-dictionary-base-alist):
12687 Add data for Hebrew.
e2627d21 12688
35dc09a1 126892012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 12690
35dc09a1
GM
12691 * net/rcirc.el (rcirc-cmd-quit):
12692 Revert 2012-03-18 change (Bug#11192).
5c14e333 12693
35dc09a1 126942012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
12695
12696 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12697
35dc09a1 126982012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 12699
4517fe3a
SM
12700 * minibuffer.el (completion-in-region-mode-map):
12701 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 12702
b472a594
VD
127032012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12704
12705 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12706
09b95ce3
MY
127072012-04-13 Masatake YAMATO <yamato@redhat.com>
12708
12709 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12710 to allow `C-M-f' and `C-M-b' to move to the nearest path
12711 separator (bug#9511).
12712
4b63a9ca
LI
127132012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12714
12715 * avoid.el: Require cl when compiling. And also move the
12716 `provide' to the end.
12717
7b55b8bf
TV
127182012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12719
12720 * avoid.el (mouse-avoidance-banish-position): New variable.
12721 (mouse-avoidance-banish-destination): Use it (bug#10165).
12722
adedaa1f
LL
127232012-04-13 Leo Liu <sdl.web@gmail.com>
12724
12725 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12726
70e74021
KB
127272012-04-13 Ken Brown <kbrown@cornell.edu>
12728
12729 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 12730 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
12731 (browse-url-filename-alist): For the same reason, don't modify
12732 file:// URLs on Cygwin.
12733
e75e89ba
SM
127342012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12735
12736 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12737 the region on shift if the binding is already shifted (bug#11221).
12738
82f289a4
GM
127392012-04-12 Glenn Morris <rgm@gnu.org>
12740
12741 * mail/mailpost.el: Move to obsolete/.
12742
d333dc4c
DA
127432012-04-12 Drew Adams <drew.adams@oracle.com>
12744
12745 * imenu.el (imenu--generic-function): Ignore invisible definitions
12746 (bug#10123).
12747
0d15b5ba
VD
127482012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12749
12750 * hexl.el (hexl-bits): New variable.
12751 (hexl-options): Mention the variable in the doc string.
75f1671a 12752 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 12753 (hexl-mode): Mention the new variable.
75f1671a
JB
12754 (hexl-mode, hexl-current-address, hexl-current-address):
12755 Use the displen.
0d15b5ba
VD
12756 (hexl-ascii-start-column): New function.
12757 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12758 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12759
64a440db
AM
127602012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12761
12762 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12763 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12764 the encoding, as expected by hunspell.
12765
6decb6c2
SM
127662012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12767
12768 * battery.el (battery--linux-sysfs-regexp): New const.
12769 (battery-status-function): Use it. Remove yeeloong special case.
12770 (battery-yeeloong-sysfs): Remove.
12771 (battery-echo-area-format): Remove yeeloong special case.
12772
088be6fb
SM
127732012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12774
6622e416
SM
12775 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12776 Reported by Noah Friedman.
12777
088be6fb
SM
12778 * subr.el (read-passwd): Use read-string.
12779
b49f886e
LMI
127802012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12781
12782 * vcursor.el (vcursor-move): Increase the priority of the overlay
12783 (bug#9663).
12784
a63067fc
DD
127852012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12786
12787 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12788 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12789
ac3cf14a
WS
127902012-04-11 William Stevenson <yhvh2000@gmail.com>
12791
12792 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12793 define-minor-mode (bug#10760).
12794
c4fc691b 127952012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 12796
4d6769e1 12797 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
12798 that directories matching `grep-find-ignored-files' won't be
12799 pruned (bug#10351).
12800
af23e2e5
CY
128012012-04-11 Chong Yidong <cyd@gnu.org>
12802
12803 * startup.el (command-line): Remove support for long-obsolete
12804 variable font-lock-face-attributes.
12805
ab7ce8c1
GM
128062012-04-11 Glenn Morris <rgm@gnu.org>
12807
12808 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12809
de8c03dc
SM
128102012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12811
12812 * window.el (window--state-get-1): Obey window-point-insertion-type.
12813
050cc68b
LB
128142012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12815
12816 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12817 to previous function when point is on the first character of a
75f1671a 12818 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 12819
a38c310c
GM
128202012-04-11 Glenn Morris <rgm@gnu.org>
12821
effed0c2
GM
12822 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12823 not just file-errors.
12824
a38c310c
GM
12825 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12826 (vc-bzr-sha1): Use internal sha1.
12827
0221e323
SM
128282012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12829
12830 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12831
43956923
SG
128322012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12833
12834 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12835 that start in the middle of the line (bug#10496).
12836
6a8c9eaf
DN
128372012-04-10 Dan Nicolaescu <dann@gnu.org>
12838
12839 * battery.el (battery-linux-proc-acpi): Only one battery is
12840 discharged at a time, but that seems to confuse battery.el when
12841 computing `rate-type' for the battery not being discharged
12842 (bug#10332).
12843
1930bf5d
SM
128442012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12845
2a718f6f
SM
12846 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12847
599430d0
SM
12848 * international/quail.el: Use dolist and simplify.
12849 (quail-define-package, quail-update-keyboard-layout)
12850 (quail-define-rules): Use dolist.
12851 (quail-insert-kbd-layout, quail-get-translation): CSE.
12852
a2754b6c
SM
12853 * tmm.el: Use dolist, remove left over hook.
12854 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12855 Use dolist.
12856 (calendar-load-hook): Don't mess with it.
12857
1930bf5d
SM
12858 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12859 Use derived-mode-p. Run the diff asynchronously.
12860
9f67961c
LMI
128612012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12862
12863 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12864
2a8ce227
JB
128652012-04-10 Juanma Barranquero <lekktu@gmail.com>
12866
12867 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12868 (list-dynamic-libraries--loaded): New function.
12869 (list-dynamic-libraries--refresh): Use it.
12870
8f33b5f8
NW
128712012-04-10 Nathan Weizenbaum <nweiz@google.com>
12872
1930bf5d
SM
12873 * progmodes/python.el (python-fill-paragraph):
12874 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
12875 disabled (bug#7018).
12876
b12f0439
L
128772012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12878
1930bf5d 12879 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
12880 DOS/MS Windows for the Baltic languages. There are still plenty
12881 of texts written in this encoding/codepage (bug#6519).
b12f0439 12882
57c3bd01
GM
128832012-04-10 Glenn Morris <rgm@gnu.org>
12884
12885 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12886 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12887
6c3eab30
FA
128882012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12889
1930bf5d 12890 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
12891 next-line "n" and previous-line "p" in order to make recentf more
12892 consistent with ibuffer, dired or org-mode (bug#9387).
12893
24d78a88
LMI
128942012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12895
bc72b5d9
LMI
12896 * image.el (put-image): Return the overlay created instead of the
12897 optional input string (bug#7834). Note that this may break code
12898 that is (for some reason or other) depending on `put-image'
12899 returning the string.
12900
bd2dba5a
LMI
12901 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12902
74beb59f
LMI
12903 * simple.el (zap-to-char): Allow zapping using input methods
12904 (bug#1580).
12905
24d78a88
LMI
12906 * textmodes/fill.el (fill-region): Leave point and mark where they
12907 were before filling (bug#5399).
12908
263f20cd
GM
129092012-04-09 Glenn Morris <rgm@gnu.org>
12910
12911 * version.el (emacs-bzr-get-version):
12912 Handle lightweight checkouts of local branches.
12913
58d1f797
AS
129142012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12915
263f20cd 12916 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 12917
b4d3bc10
CY
129182012-04-09 Chong Yidong <cyd@gnu.org>
12919
12920 * custom.el (custom-variable-p): Return nil for non-symbol
12921 arguments instead of signaling an error.
12922 (user-variable-p): Obsolete alias for custom-variable-p.
12923
12924 * apropos.el (apropos-variable):
12925 * files-x.el (read-file-local-variable):
12926 * simple.el (set-variable):
12927 * woman.el (woman-mini-help):
12928 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12929
fd06db5d
GM
129302012-04-09 Glenn Morris <rgm@gnu.org>
12931
e5fcdb5e
GM
12932 * startup.el (normal-top-level): Don't look for leim-list.el
12933 in places where it will not be found. (Bug#910)
12934
fd06db5d
GM
12935 * international/mule-cmds.el (set-default-coding-systems):
12936 * files.el (normal-mode):
12937 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12938 This function was removed with ucs-tables.el in 2008.
12939
b39bb7e1
EZ
129402012-04-08 Eli Zaretskii <eliz@gnu.org>
12941
12942 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12943 ispell-encoding8-command to "-i", without a trailing space.
12944 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12945 separate command-line arguments, to specify the encoding, since
12946 that's how hunspell expects it.
12947
5c5b8e23
GM
129482012-04-08 Glenn Morris <rgm@gnu.org>
12949
12950 * loadup.el: Load bindings before cus-start.
12951 This reduces somewhat the number of "rogue" settings in emacs -Q.
12952
a1ed8b05
GM
129532012-04-07 Glenn Morris <rgm@gnu.org>
12954
12955 * version.el (emacs-bzr-get-version): New function.
dfae128a 12956 (emacs-bzr-version): New variable.
a1ed8b05
GM
12957 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12958 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12959
b142f158
EZ
129602012-04-07 Eli Zaretskii <eliz@gnu.org>
12961
dfae128a
GM
12962 * international/uni-bidi.el, international/uni-category.el:
12963 * international/uni-combining.el, international/uni-decimal.el:
12964 * international/uni-decomposition.el, international/uni-digit.el:
12965 * international/uni-lowercase.el, international/uni-mirrored.el:
12966 * international/uni-name.el, international/uni-numeric.el:
12967 * international/uni-titlecase.el, international/uni-uppercase.el:
12968 Update for Unicode 6.1.
b142f158 12969
9078ead6
EZ
129702012-04-07 Eli Zaretskii <eliz@gnu.org>
12971
12972 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12973
f23d2c7d
LMI
129742012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12975
12976 * window.el (shrink-window): Mention the `window-min-height'
12977 variable in the doc string.
12978
0a0a3573
BG
129792012-04-05 Bastien Guerry <bzg@altern.org>
12980
12981 * color.el (color-lighten-name): Fix typo.
12982
e5248ac9
SM
129832012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12984
12985 * server.el (server--on-display-p): New function.
12986 (server--on-display-p): Use it.
12987
a8e4d516 129882012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
b4243e22
GV
12989
12990 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12991 (bug#11145).
12992
305d9f44
SM
129932012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12994
12995 * comint.el (comint--common-quoted-suffix): Check string boundary
12996 before comparing (bug#11158).
12997 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12998
3d439cd1
CY
129992012-04-04 Chong Yidong <cyd@gnu.org>
13000
321cc491
CY
13001 * minibuffer.el (completion-extra-properties): Doc fix.
13002
3d439cd1
CY
13003 * subr.el (delayed-warnings-hook): Doc fix.
13004
2d562c0f
DU
130052012-04-04 Daiki Ueno <ueno@unixuser.org>
13006
13007 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
13008 selection (Bug#11159).
13009 (epa-insert-keys): Inform that the default public key will be
13010 exported if no key is selected.
13011
4443f204
RS
130122012-04-04 Richard Stallman <rms@gnu.org>
13013
13014 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
13015
529c06b6
CY
130162012-04-03 Chong Yidong <cyd@gnu.org>
13017
13018 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
13019 mail-insert-file, not its obsolete alias mail-attach-file.
13020
66b907dc
MA
130212012-04-03 Michael Albinus <michael.albinus@gmx.de>
13022
13023 * notifications.el (notifications-notify): Fix docstring.
13024
c0ea195d
GM
130252012-04-02 Glenn Morris <rgm@gnu.org>
13026
13027 * emacs-lisp/authors.el (authors-aliases): Another addition.
13028
5ca64e00
MA
130292012-04-02 Michael Albinus <michael.albinus@gmx.de>
13030
13031 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
13032 `tramp-compat-call-process' instead of `tramp-local-call-process'.
13033 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
13034
42ee526b
CY
130352012-04-01 Chong Yidong <cyd@gnu.org>
13036
13037 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
13038 Handle root directory properly.
13039 (copy-directory): Caller changed.
13040
13041 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13042 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
13043
0b021094
GM
130442012-03-31 Glenn Morris <rgm@gnu.org>
13045
40f86458
GM
13046 * term/xterm.el (xterm-extra-capabilities): Doc fix.
13047
7019c177
GM
13048 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
13049
a1daddd6
GM
13050 * calendar/calendar.el (calendar-window-list)
13051 (calendar-hide-window): Restore. (Bug#11140)
13052 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13053
0b021094
GM
13054 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
13055
40311efc
TV
130562012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13057
13058 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
13059 Check if file is a symlink (Bug#10489).
13060
13061 * files.el (copy-directory): Likewise.
13062
5319014e
CY
130632012-03-30 Chong Yidong <cyd@gnu.org>
13064
13065 * image.el (imagemagick-types-inhibit)
13066 (imagemagick-register-types): Doc fix.
13067
935d1290
AM
130682012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13069
090bd7cb 13070 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 13071 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 13072 and treats ~word as ordinary words in pipe mode.
935d1290 13073
61c6e8fd
GM
130742012-03-30 Glenn Morris <rgm@gnu.org>
13075
13076 * tutorial.el (help-with-tutorial): Ensure local variables don't
13077 happen to make the buffer read-only. (Bug#11127)
13078
81fdff00
SM
130792012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13080
13081 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
13082 (perl-calculate-indent): Return `noindent' in strings.
13083
6e7a6ec0
SS
130842012-03-28 Sam Steingold <sds@gnu.org>
13085
13086 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
13087 instead of the broken adhockery which does not prevent calendar
13088 buffers from being displayed at random after exit.
13089 (calendar-window-list, calendar-hide-window): Remove the broken
13090 adhockery.
13091
fee88ca0
GM
130922012-03-28 Glenn Morris <rgm@gnu.org>
13093
13094 * replace.el (query-replace-map): Doc fix.
13095
38de3354
AS
130962012-03-28 Andreas Schwab <schwab@linux-m68k.org>
13097
13098 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
13099 contents. (Bug#11109)
13100
b973155e
SM
131012012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13102
13103 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
13104 (bug#11077).
13105 (avl-tree--check, avl-tree--check-node): New funs.
13106
dcb6e7b3
MR
131072012-03-27 Martin Rudalics <rudalics@gmx.at>
13108
13109 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
13110 (switch-to-prev-buffer, switch-to-next-buffer):
13111 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
13112 showing a buffer already is done on the same frame.
13113
b4fa35fa
GM
131142012-03-27 Glenn Morris <rgm@gnu.org>
13115
13116 * startup.el (mail-host-address): Doc fix.
13117
f9210e18
SM
131182012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13119
13120 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13121 than 197 variables.
13122
c0bf7753
AF
131232012-03-26 Ami Fischman <ami@fischman.org>
13124
13125 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13126
33da7b16
GM
131272012-03-26 Glenn Morris <rgm@gnu.org>
13128
02243d9d
GM
13129 * files.el (save-buffers-kill-emacs): Doc fix.
13130
33da7b16
GM
13131 * startup.el (normal-top-level, command-line, command-line-1):
13132 Give them doc strings.
13133
e5a69fd0
EZ
131342012-03-25 Eli Zaretskii <eliz@gnu.org>
13135
13136 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 13137 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 13138
9a69676a
CY
131392012-03-25 Chong Yidong <cyd@gnu.org>
13140
4125cb8b
CY
13141 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13142 theme if it was previously enabled before (Bug#11031).
13143
dd470960
CY
13144 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13145 spec with custom-face-get-current-spec if its :shown-value is not
13146 determined yet (Bug#9337).
4125cb8b 13147 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 13148
9a69676a
CY
13149 * button.el (button-at): Minor addition to docstring.
13150
6e7e90fa
SL
131512012-03-24 Simon Leinen <simon.leinen@gmail.com>
13152
13153 * vc/vc.el (vc-merge): Fix a prompt.
13154
f06e2758
CY
131552012-03-24 Chong Yidong <cyd@gnu.org>
13156
13157 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13158 point (Bug#9623).
13159
6e7e90fa
SL
13160 * button.el (button-at): Minor addition to docstring.
13161
b9d0879b
SM
131622012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13163
13164 * newcomment.el (comment-choose-indent): No space after BOL.
13165
e71cebb3
SS
131662012-03-22 Sam Steingold <sds@gnu.org>
13167
13168 * window.el (switch-to-prev-buffer): Revert last patch because the
13169 bug turned out to be an advertised feature (Elisp manual 28.14).
13170
335aff35
GM
131712012-03-22 Glenn Morris <rgm@gnu.org>
13172
13173 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13174 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13175
c676576a
LMI
131762012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13177
13178 * net/network-stream.el (network-stream-open-starttls): Make error
13179 message under Windows be less misleading.
13180
126f3d39
LW
131812012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13182
13183 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13184 understands (bug#9942).
13185
64fee311
CY
131862012-03-22 Chong Yidong <cyd@gnu.org>
13187
13188 * simple.el (end-of-visible-line): Handle return value of
13189 next-single-property-change properly (Bug#9371).
13190
a640d29a
KH
131912012-03-22 Kenichi Handa <handa@m17n.org>
13192
13193 * international/quail.el (quail-insert-kbd-layout): Fix previous
13194 change. To avoid unwanted bidi reordering, use
13195 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13196
39675016
DG
131972012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13198
13199 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13200 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13201 (ruby-beginning-of-indent): Be more careful with the difference
13202 between word-boundary and symbol boundary.
13203 (ruby-mode-syntax-table): Make : a symbol constituent.
13204
0a6934fc 132052012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 13206
3d008e4f
SM
13207 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13208
0a6934fc
SM
132092012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13210
af67c9d7
SM
13211 * progmodes/etags.el (tags-completion-at-point-function):
13212 Improve last fix.
13213
1acad97c
SM
13214 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13215
e298b5da
SS
132162012-03-21 Sam Steingold <sds@gnu.org>
13217
13218 * progmodes/etags.el (tags-completion-at-point-function):
13219 Avoid the error when point is inside the pattern.
13220
91d82a70
JY
132212012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13222
13223 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13224 line (Bug#10855).
13225
69188b79
CY
132262012-03-21 Drew Adams <drew.adams@oracle.com>
13227
13228 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13229
99fc91fe
AK
132302012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13231
13232 * ido.el (ido-set-current-directory, ido-read-internal)
13233 (ido-choose-completion-string, ido-completion-help): Handle nil
13234 value of ido-completion-buffer (Bug#11008).
13235
087bbb4c
SS
132362012-03-21 Sam Steingold <sds@gnu.org>
13237
13238 * window.el (switch-to-prev-buffer): Do not switch to a visible
13239 window previous buffer, just like with the frame previous buffers.
13240
fb5b8aca
CY
132412012-03-21 Chong Yidong <cyd@gnu.org>
13242
13243 * faces.el (make-face, make-empty-face, copy-face):
13244 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13245 Doc fixes.
13246
dc9924b8
SM
132472012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13248
13249 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13250 (widget-complete): Remove broken use of it.
13251
f0bcceb9
CY
132522012-03-20 Chong Yidong <cyd@gnu.org>
13253
dc9924b8
SM
13254 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13255 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
13256 characters.
13257
ee52ebf3
TH
132582012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13259
13260 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13261 to draw rectangles, not squares. (Regression introduced by revno
13262 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13263
4c5779ab
CY
132642012-03-18 Chong Yidong <cyd@gnu.org>
13265
13266 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13267 it is not yet defined (for temacs).
13268
15360934
LL
132692012-03-18 Leo Liu <sdl.web@gmail.com>
13270
735135f9
PE
13271 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13272 prefix.
15360934 13273
d9a8eb66
EZ
132742012-03-17 Eli Zaretskii <eliz@gnu.org>
13275
13276 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13277 (ispell-choices-win-default-height, ispell-silently-savep)
13278 (ispell-dictionary-alist, ispell-encoding8-command)
13279 (ispell-check-version, ispell-aspell-find-dictionary)
13280 (ispell-valid-dictionary-list, ispell-words-keyword)
13281 (ispell-get-word, ispell-internal-change-dictionary)
13282 (ispell-region, ispell-skip-region-list)
13283 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13284 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13285 (ispell-message-text-end, ispell-message)
13286 (ispell-buffer-local-parsing): Doc fix.
13287
f02ff80d
J
132882012-03-13 Jambunathan K <kjambunathan@gmail.com>
13289
13290 * htmlfontify.el: Add support for code block fontification for ODT
13291 export (Bug #9914).
13292 (hfy-optimisations): Define new option
13293 `body-text-only'
13294 (hfy-fontify-buffer): Honor above setting.
13295 (hfy-begin-span, hfy-end-span): New routines factored out form
13296 `hfy-fontify-buffer'.
13297 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13298 that permit insertion of custom tags.
13299 (hfy-fontify-buffer): Use above handlers.
13300 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13301 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 13302 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 13303 over multiple runs. This is made possible by having the caller let
f02ff80d
J
13304 bind a special variable `hfy-user-sheet-assoc'.
13305 (htmlfontify-string): New defun.
13306 (hfy-compile-face-map): Make sure that the last char in the
13307 buffer is correctly fontified.
13308 (hfy-face-resolve-face): Whitespace only change.
13309
9ac7a13f
EZ
133102012-03-17 Eli Zaretskii <eliz@gnu.org>
13311
13312 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13313 message more clear.
13314
e2b5bdd7
LL
133152012-03-16 Leo Liu <sdl.web@gmail.com>
13316
13317 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13318
2e492df3
AM
133192012-03-16 Alan Mackenzie <acm@muc.de>
13320
677d5c92 13321 Further optimize the handling of large macros.
2e492df3
AM
13322
13323 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13324 limit to a call of `c-literal-limits'.
13325 (c-determine-+ve-limit): New function.
dc9924b8
SM
13326 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13327 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
13328 In CASE 5B, restrict a search limit to 500.
13329 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13330
13331 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13332 Restrict macro bounds to +-500 from after-change's BEG END.
13333
50e94f0c
LL
133342012-03-16 Leo Liu <sdl.web@gmail.com>
13335
13336 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13337
6f09f6ed
AH
133382012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13339
13340 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 13341 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 13342
c7e73d51
GM
133432012-03-16 Glenn Morris <rgm@gnu.org>
13344
da986230
GM
13345 * view.el (view-buffer, view-buffer-other-window)
13346 (view-buffer-other-frame): Doc fixes re special mode-class.
13347
0835f01e
GM
13348 * subr.el (eval-after-load): If named feature is provided not from
13349 a file, run after-load forms. (Bug#10946)
13350
c7e73d51
GM
13351 * calendar/calendar.el (calendar-insert-at-column):
13352 Handle non-unit-width characters a bit better. (Bug#10978)
13353
3f2eafd1
CY
133542012-03-15 Chong Yidong <cyd@gnu.org>
13355
13356 * emacs-lisp/ring.el (ring-extend): New function.
13357 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13358
13359 * comint.el (comint-read-input-ring)
13360 (comint-add-to-input-history): Grow comint-input-ring lazily.
13361
103af3fe
SM
133622012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13363
663b1677
SM
13364 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13365 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13366
103af3fe
SM
13367 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13368 (imenu-add-to-menubar): Don't add a redundant index.
13369 (imenu-update-menubar): Handle a dynamically composed keymap.
13370
899cb7cb
KY
133712012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13372
13373 * mail/sendmail.el (mail-encode-header):
13374 Bind rfc2047-encode-encoded-words to nil.
13375
3809f91d
GM
133762012-03-13 Glenn Morris <rgm@gnu.org>
13377
13378 * calendar/calendar.el (calendar-string-spread):
13379 Handle non-unit-width characters a bit better. (Bug#10978)
13380
9e345a01
LL
133812012-03-13 Leo Liu <sdl.web@gmail.com>
13382
13383 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13384 directory and file as argument (Bug#10822).
13385
4a07df36
KS
133862012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13387
13388 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13389 For dynamically generated code, follow $PC.
13390 (gdb-disassembly-handler-custom): Handle no function name case.
13391
4aaa9356
TL
133922012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13393
13394 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13395 * emulation/ws-mode.el (ws-query-replace):
13396 * sort.el (sort-regexp-fields):
13397 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13398
225979da
SM
133992012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13400
13401 * dabbrev.el: Fix cycle completion order (bug#10963).
13402 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13403 (dabbrev-completion): Don't use an obarray; provide
13404 a cycle-sort-function.
13405
e2f1fdab
LL
134062012-03-12 Leo Liu <sdl.web@gmail.com>
13407
dc9924b8 13408 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
13409 (kill-do-not-save-duplicates): Doc fix.
13410
b19490ed
SM
134112012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13412
13413 * dabbrev.el: Fix cycle completion (bug#10963).
13414 Use lexical binding and wrap to 80 columns.
13415 (dabbrev-completion): Delay computing the list of completions.
13416
4b05d722
KH
134172012-03-12 Kenichi Handa <handa@m17n.org>
13418
13419 * international/quail.el (quail-insert-kbd-layout): Surround each
13420 row by LRO and PDF instead of inserting many LRMs. Pad the left
13421 and right of each non-spacing marks. Insert invisible space
13422 between lower and upper characters to prevent composition.
13423
dbbc2e69
SM
134242012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13425
13426 * minibuffer.el (minibuffer-complete): Don't get confused when the
13427 function is run twice via different commands (bug#10958).
13428 (complete-with-action): Fix docstring.
13429
292112ed
CY
134302012-03-12 Chong Yidong <cyd@gnu.org>
13431
5d1ac394
CY
13432 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13433 (nxml-completion-at-point-function): New function.
13434 (nxml-mode): Use it.
13435 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13436
292112ed
CY
13437 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13438 Load generated autoloads file before byte compiling (Bug#10970).
13439 (package--make-autoloads-and-compile): New helper fun.
13440
4098f8f7
CS
134412012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13442
13443 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13444
8f754691
MA
134452012-03-11 Michael Albinus <michael.albinus@gmx.de>
13446
13447 * autorevert.el (auto-revert-handler): Ensure, that
13448 file-readable-p is applied only for local files or in
13449 auto-revert-tail-mode.
13450
e29ab36b
AS
134512012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13452
dbbc2e69
SM
13453 * server.el (server-eval-at): Handle non-tcp connections.
13454 Decode result string.
ad0bf5b6 13455
e29ab36b
AS
13456 * server.el (server-msg-size): New constant.
13457 (server-reply-print): New function.
13458 (server-eval-and-print): Use it.
13459 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13460 Handle -print-nonl.
13461
de5939ba
CS
134622012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13463
13464 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13465 (Bug#10987).
13466
0c93eabf
CY
134672012-03-11 Chong Yidong <cyd@gnu.org>
13468
397a688f
CY
13469 * simple.el (goto-line): Doc fix (Bug#9938).
13470
2cc775f9
CY
13471 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13472
0c93eabf
CY
13473 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13474 when finished (Bug#10963).
13475
c491fa41
MR
134762012-03-11 Martin Rudalics <rudalics@gmx.at>
13477
13478 * window.el (split-window-below): Fix bug in case where
13479 split-window-keep-point is nil (Bug#10971).
13480
300e8fa5
JL
134812012-03-11 Juri Linkov <juri@jurta.org>
13482
13483 * replace.el (replace-highlight): Set isearch-word to nil
13484 unconditionally. (Bug#10887)
13485
dbf6c5a1
EZ
134862012-03-10 Eli Zaretskii <eliz@gnu.org>
13487
13488 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13489 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 13490 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
13491 (mairix-widget-create-query): Add usage information about mairix
13492 search forms: negating words, searching for substrings, etc.
13493
b9e501de
JP
134942012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13495
13496 * international/fontset.el (font-encoding-alist): Add an entry for
13497 ksx1001 (Bug#5667).
13498
92795c91
RS
134992012-03-10 Richard Stallman <rms@gnu.org>
13500
1694e6c1
RS
13501 * mail/sendmail.el (mail-encode-header):
13502 Set rfc2047-encode-encoded-words.
13503
607e8555
RS
13504 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13505
de3bc99a
RS
13506 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13507 view buffer means not swapped.
13508 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13509 (rmail-write-region-annotate): Error if real text has disappeared.
13510
92795c91
RS
13511 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13512
699bd04e
CY
135132012-03-10 Chong Yidong <cyd@gnu.org>
13514
13515 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
13516 * emulation/cua-base.el (cua--init-keymaps):
13517 Add delete-forward-char to remappings (Bug#9666).
699bd04e 13518
570a1714
MR
135192012-03-10 Martin Rudalics <rudalics@gmx.at>
13520
dbbc2e69
SM
13521 * speedbar.el (speedbar-unhighlight-one-tag-line):
13522 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 13523
82dcf4e4
CY
135242012-03-10 Chong Yidong <cyd@gnu.org>
13525
7a2c7ca7
CY
13526 * minibuffer.el (completion-in-region, completion-help-at-point):
13527 Give the completion field overlay a high priority (Bug#6830).
13528
82dcf4e4
CY
13529 * dired.el (dired-goto-file): Recognize absolute file name
13530 listings (Bug#7126).
13531 (dired-goto-file-1): New helper function.
13532 (dired-toggle-read-only): Inhibit warnings.
13533
052e28ac
MA
135342012-03-09 Michael Albinus <michael.albinus@gmx.de>
13535
75f1671a 13536 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
13537 there are no properties.
13538
95d5e396
LL
135392012-03-09 Leo Liu <sdl.web@gmail.com>
13540
13541 * savehist.el (savehist-printable): Stricter check for string
13542 value (Bug#10937).
13543
3f018d6d
EZ
135442012-03-09 Eli Zaretskii <eliz@gnu.org>
13545
dbbc2e69
SM
13546 * mail/smtpmail.el (smtpmail-send-it):
13547 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
13548 valid mbox format.
13549
f7fd3d79
GM
135502012-03-09 Glenn Morris <rgm@gnu.org>
13551
13552 * files.el (dir-locals-find-file):
13553 Don't check result is regular, readable.
13554 (dir-locals-read-from-file): Demote errors.
13555
6ff6e72f
EZ
135562012-03-08 Eli Zaretskii <eliz@gnu.org>
13557
dbbc2e69
SM
13558 * international/quail.el (quail-insert-kbd-layout):
13559 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
13560 layout cell, to prevent their reordering by bidi display engine.
13561 For details, see the discussion in
13562 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13563
9cec7834
AM
135642012-03-08 Alan Mackenzie <acm@muc.de>
13565
13566 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13567 the starting position; make it extend the marked region when
13568 invoked repeatedly - all under appropriate circumstances.
13569 Fixes bugs #5525, #10906.
13570
9a40b8d4
GM
135712012-03-08 Glenn Morris <rgm@gnu.org>
13572
13573 * files.el (locate-dominating-file, dir-locals-find-file):
13574 Undo 2012-03-06 change.
13575
7a08ed35
EZ
135762012-03-07 Eli Zaretskii <eliz@gnu.org>
13577
dbbc2e69
SM
13578 * international/quail.el (quail-help):
13579 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
13580 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13581 for the reason.
13582
5aca4f71 135832012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
13584
13585 Avoid superfluous registering of signals. (Bug#10807)
13586
13587 * notifications.el (notifications-on-action-object)
13588 (notifications-on-close-object): New defvars.
13589 (notifications-on-action-signal, notifications-on-closed-signal):
13590 Unregister the signal if not needed any longer.
13591 (notifications-notify): Register `notifications-action-signal' or
13592 `notifications-closed-signal', if :on-action or :on-close has been
13593 passed as argument.
13594
78e8b10a
CY
135952012-03-07 Chong Yidong <cyd@gnu.org>
13596
13597 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13598 non-X platforms.
13599
69481eb8
GM
136002012-03-06 Glenn Morris <rgm@gnu.org>
13601
13602 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13603 (x-disown-selection-internal, x-get-selection-internal):
13604 Doc fix (add arglist signatures). (Bug#10783)
13605
133b8e11
KS
136062012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13607
13608 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13609 Handle breakpoints with no "type".
13610
99a83064
GM
136112012-03-06 Glenn Morris <rgm@gnu.org>
13612
13613 * files.el (locate-dominating-file): Add optional predicate argument.
13614 (dir-locals-find-file): Make use of above change.
13615
17798e78
TTN
136162012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13617
13618 * info.el (Info-insert-dir): Also try "dir.gz".
13619
eb182446
GM
136202012-03-06 Glenn Morris <rgm@gnu.org>
13621
8f2114ee
GM
13622 * files.el (dir-locals-find-file):
13623 Ignore non-readable or non-regular files. (Bug#10928)
13624
eb182446
GM
13625 * files.el (locate-dominating-file): Doc fix.
13626
24679323
AS
136272012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13628
13629 * calendar/calendar.el (calendar-set-mode-line):
13630 `getenv' returns a string. (Bug#10951)
13631
01d972a9
LL
136322012-03-05 Leo Liu <sdl.web@gmail.com>
13633
109aa8a9
LL
13634 * simple.el (backward-delete-char-untabify): Constrain point to
13635 field (Bug#10939).
13636
01d972a9
LL
13637 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13638
10607bea
CY
136392012-03-05 Chong Yidong <cyd@gnu.org>
13640
13641 * simple.el (count-words): If called from Lisp, return the word
13642 count, for symmetry with `count-lines'. Arglist changed.
13643 (count-words--message): Args changed. Consolidate counting code
13644 from count-words and count-words-region.
13645 (count-words-region): Caller changed.
13646 (count-lines-region): Make it an obsolete alias.
13647
5dd11cfe
TH
136482012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13649
13650 * saveplace.el (save-place-to-alist)
13651 (save-place-ignore-files-regexp): Allow value nil to disable this
13652 feature.
13653
c349f4e6
CY
136542012-03-04 Chong Yidong <cyd@gnu.org>
13655
13656 * faces.el (face-spec-reset-face): For the default face, reset the
13657 attributes to default values (Bug#10748).
13658
e627be4c
LMI
136592012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13660
13661 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13662 previous patch: Check `message-send-mail-function', and not the
13663 default function (bug#10897).
13664
ebeabff4
MA
136652012-03-04 Michael Albinus <michael.albinus@gmx.de>
13666
a41a6cf4
MA
13667 * notifications.el (notifications-on-action-signal)
13668 (notifications-on-closed-signal): Check for unique service name of
13669 incoming event. Fix error in removing entry.
ebeabff4 13670 (top): Register for signals with wildcard service name.
a41a6cf4 13671 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 13672
c1ca42b4
CY
136732012-03-04 Chong Yidong <cyd@gnu.org>
13674
dc9924b8 13675 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 13676
ea16568d
GM
136772012-03-04 Glenn Morris <rgm@gnu.org>
13678
13679 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13680 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13681 (expand-abbrev, define-abbrev-table): Doc fixes.
13682
fbae4637
LMI
136832012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13684
13685 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13686 `message-default-send-mail-function' and not `send-mail-function'
13687 when doing the prompting for `sendmail-query-once' before sending
13688 in Message buffers (bug#10897).
13689
a1e7225c
LMI
13690 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13691 This is inconsistent with all the other stream functions, which leave
13692 the setting up to the higher levels (if so wanted) (bug#10931).
13693
56d093a9
AM
136942012-03-02 Alan Mackenzie <acm@muc.de>
13695
13696 Depessimize the handling of very large macros.
13697
13698 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13699 (c-macro-cache-syntactic): New variables to implement a one
13700 element macro cache.
13701 (c-invalidate-macro-cache): New function.
13702 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13703 Adapt to use the new cache.
13704 (c-state-safe-place): Use better the cache of safe positions.
13705 (c-state-semi-nonlit-pos-cache)
13706 (c-state-semi-nonlit-pos-cache-limit):
13707 New variables for...
13708 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13709 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
13710 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13711 Use c-state-semi-safe-place.
56d093a9 13712
dbbc2e69
SM
13713 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13714 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 13715
817e5c3d
MA
137162012-03-02 Michael Albinus <michael.albinus@gmx.de>
13717
dbbc2e69
SM
13718 * jka-compr.el (jka-compr-call-process):
13719 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
13720 not remote.
13721
a032a702
MA
137222012-03-01 Michael Albinus <michael.albinus@gmx.de>
13723
13724 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13725 access of FILE2, if FILE1 does not exist.
13726
99a54f21
MA
13727 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13728 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13729
13730 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13731 Add "PAGER=" to `process-environment'.
13732
f6561e1f
MM
137332012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13734
13735 * progmodes/sql.el: Bug fix
13736 (sql-get-login-ext): Save login values in globals.
13737 (sql-get-login): Use new version of `sql-get-login-ext'.
13738 (sql-interactive-mode): Set global `sql-connection' to nil.
13739 (sql-connect): Set global values for connection.
13740 (sql-product-interactive): Save global values as buffer local.
13741
2d44d9cc
LL
137422012-02-29 Leo Liu <sdl.web@gmail.com>
13743
13744 * abbrev.el (define-abbrevs): Reset sys to nil.
13745
96b49301 137462012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13747
bf7f9bc5
JB
13748 * files.el (file-equal-p): Rename from `files-equal-p'.
13749 Return nil when one or both files don't exist.
96b49301 13750 (file-subdir-of-p): Now only top directory must exists,
13751 return nil if it doesn't.
bf7f9bc5
JB
13752 (copy-directory): No need to test with `file-subdir-of-p' after
13753 creating dir.
13754 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13755 to `file-equal-p'.
96b49301 13756
44e97401
GM
137572012-02-28 Glenn Morris <rgm@gnu.org>
13758
13759 * shell.el (shell-mode):
13760 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13761 * play/landmark.el (landmark-font-lock-face-O):
13762 * play/handwrite.el (handwrite):
13763 * play/gomoku.el (gomoku-O):
13764 * net/browse-url.el (browse-url-browser-display):
13765 * international/mule.el (define-charset):
13766 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13767 * filesets.el (filesets-find-file-delay):
13768 * eshell/em-xtra.el (eshell-xtra):
13769 * eshell/em-unix.el (eshell-grep):
13770 * emulation/viper.el (viper-mode):
13771 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13772 * emacs-lisp/easymenu.el (easy-menu-define):
13773 * calendar/timeclock.el (timeclock-use-display-time):
13774 * bs.el (bs-mode):
13775 * bookmark.el (bookmark-save-flag):
13776 Doc fix (standardize possessive apostrophe usage).
13777
c98c6276
CY
137782012-02-27 Chong Yidong <cyd@gnu.org>
13779
bf7f9bc5
JB
13780 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13781 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 13782
c98c6276
CY
13783 * font-lock.el (font-lock-specified-p): Rename from
13784 font-lock-spec-present. Callers changed.
13785
9c62cd04 137862012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 13787
bf7f9bc5
JB
13788 * emacs-lisp/package.el (package-compute-transaction):
13789 Handle holding a package version to t in package-load-list.
8ac9e529 13790
530739c9
MA
137912012-02-26 Michael Albinus <michael.albinus@gmx.de>
13792
13793 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13794 (tramp-get-inode, tramp-get-device): Use cached values.
13795
487915d7
AM
137962012-02-26 Alan Mackenzie <acm@muc.de>
13797
13798 Check there is a font-lock specification before doing initial
13799 fontification.
13800
13801 * font-core.el (font-lock-mode): Move the conditional from
13802 :after-hook to font-lock-initial-fontify.
13803 (font-lock-default-function): Move the check for a specification
13804 to font-lock-spec-present.
13805
dc9924b8 13806 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
13807 (font-lock-spec-present): New function.
13808
4fd96557
JB
138092012-02-26 Jim Blandy <jimb@red-bean.com>
13810
13811 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13812 (gdb-send): Apply it to the operand of the '-interpreter-exec
13813 console' command, so that we can pass arguments with (say) quotes
13814 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13815
9a4888c0
CY
138162012-02-26 Chong Yidong <cyd@gnu.org>
13817
07498861
CY
13818 * help-fns.el (describe-function-1): Clarify description of
13819 remapping (Bug#10844).
13820
9a4888c0
CY
13821 * files.el (files-equal-p): Doc fix.
13822 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13823 and quit the loop once a mismatch is found.
13824
ea8fb88d
JB
138252012-02-25 Juanma Barranquero <lekktu@gmail.com>
13826
13827 * bs.el (bs--show-with-configuration): Don't throw an error
13828 if the window cannot be split; otherwise, subsequent calls to
13829 bs-show fail, restoring a stale window config. (Bug#10882)
13830
525795c1
JD
138312012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13832
13833 * term/ns-win.el (global-map): Bind ns-drag-file to
13834 ns-find-file (Bug#5855, Bug#10050).
13835
f008086f
AS
138362012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13837
13838 * calendar/parse-time.el (parse-time-string): Allow extractor to
13839 return nil.
13840
a3fcfa99
MA
138412012-02-25 Michael Albinus <michael.albinus@gmx.de>
13842
91027d08
JB
13843 * net/tramp.el (tramp-file-name-for-operation):
13844 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
13845
13846 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
13847 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13848 Add COPY-CONTENTS argument.
a3fcfa99 13849
67b0de11
CY
138502012-02-25 Chong Yidong <cyd@gnu.org>
13851
13852 Add custom groups for VC backends, for consistency with vc-bzr.
13853
13854 * vc/vc-arch.el (vc-arch):
13855 * vc/vc-cvs.el (vc-cvs):
13856 * vc/vc-git.el (vc-git):
13857 * vc/vc-hg.el (vc-hg):
13858 * vc/vc-mtn.el (vc-mtn):
13859 * vc/vc-rcs.el (vc-rcs):
13860 * vc/vc-sccs.el (vc-sccs):
13861 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13862 All relevant defcustoms reassigned.
13863
3c9dfce6
CY
138642012-02-25 Chong Yidong <cyd@gnu.org>
13865
1339bf43
CY
13866 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13867
3c9dfce6
CY
13868 * term/x-win.el (x-initialize-window-system): Reduce default for
13869 x-selection-timeout to 5 seconds (Bug#8869).
13870
25b2e303 138712012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13872
ec70a47d
GM
13873 * files.el (files-equal-p, file-subdir-of-p): New functions.
13874 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 13875 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
13876 * dired-aux.el (dired-copy-file-recursive): Same.
13877 (dired-create-files): Modify destination when source is equal to
13878 dest when copying files.
53a46cd0 13879 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 13880
914260cd
MA
138812012-02-24 Michael Albinus <michael.albinus@gmx.de>
13882
13883 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13884 (Bug#10874)
13885
2cb228f7
AM
138862012-02-23 Alan Mackenzie <acm@muc.de>
13887
13888 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13889 parameter "after-hook:" to allow the expansion to run code after
13890 the execution of the mode hooks.
13891
13892 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 13893 from font-lock-mode-internal.
2cb228f7 13894
91027d08 13895 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
13896 :after-hook.
13897
8f0fde21
SM
138982012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13899
3e88618b
SM
13900 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13901 (completion--cache-all-sorted-completions): New function.
13902 (completion-all-sorted-completions): Use it.
13903 (completion--do-completion, minibuffer-force-complete):
13904 Use it to re-instate the flush hook.
13905
8f0fde21
SM
13906 * icomplete.el (icomplete-completions): Replace last fix with a better
13907 one (bug#10850).
13908
8e911f6f
DG
139092012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13910
13911 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13912 when it might call us back infinitely (bug#10797).
13913
49fe4321
GM
139142012-02-23 Glenn Morris <rgm@gnu.org>
13915
13916 * minibuffer.el (completion-category-overrides): Doc fix.
13917
b291b572
SM
139182012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13919
13920 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13921 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13922
31a9ef2e
GM
139232012-02-23 Glenn Morris <rgm@gnu.org>
13924
5e6e6794 13925 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
13926 (authors-obsolete-files-regexps, authors-ignored-files)
13927 (authors-ambiguous-files, authors-renamed-files-alist):
13928 Add more entries.
13929
0bd1e074
JL
139302012-02-23 Juri Linkov <juri@jurta.org>
13931
13932 * isearch.el (isearch-occur): Sync interactive spec with occur's
13933 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13934
b617673c
JL
13935 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13936
19e9789e
JL
139372012-02-22 Juri Linkov <juri@jurta.org>
13938
13939 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13940 (ucs-insert): Doc fix. Check for hex digits in the string.
13941 Don't display `nil' in the error message. (Bug#10857)
13942
f41ce09d
AM
139432012-02-22 Alan Mackenzie <acm@muc.de>
13944
7a71b18d 13945 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 13946
ac2eceee
GM
139472012-02-22 Glenn Morris <rgm@gnu.org>
13948
13949 * ffap.el (ffap-c-path):
13950 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13951
abd1f678
CY
139522012-02-22 Chong Yidong <cyd@gnu.org>
13953
13954 * custom.el (load-theme): Doc fix.
13955
f25aef2e
GM
139562012-02-22 Glenn Morris <rgm@gnu.org>
13957
13958 * dired-x.el (dired-guess-shell-alist-default):
13959 Remove escape sequences from nroff output. (Bug#172)
13960
5f8dc2ca
GM
139612012-02-21 Glenn Morris <rgm@gnu.org>
13962
6ff86ec4
GM
13963 * vc/emerge.el (emerge-defvar-local):
13964 Set `permanent-local' property rather than unused `preserved'.
13965
be3223a3 13966 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
13967 (picture-mode-map): Use it. (Bug#10860)
13968 (picture-mode): Doc fix.
13969
3fe58f4f
JB
139702012-02-21 Juanma Barranquero <lekktu@gmail.com>
13971
13972 * newcomment.el (uncomment-region-default): Remove unused binding.
13973
f9a998c3
GM
139742012-02-21 Glenn Morris <rgm@gnu.org>
13975
13976 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13977 (picture-self-insert, picture-tab-chars): Doc fix.
13978 (picture-mode-map): Fix C-a, C-e.
13979
c6029348
GM
139802012-02-20 Glenn Morris <rgm@gnu.org>
13981
13982 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13983
ab1ce9d7
LL
139842012-02-20 Leo Liu <sdl.web@gmail.com>
13985
13986 * icomplete.el (icomplete-completions): Check FROM arg before
13987 passing to substring (Bug#10850).
13988
0fd40f89
CY
139892012-02-19 Chong Yidong <cyd@gnu.org>
13990
13991 * comint.el: Require ansi-color.
13992 (comint-output-filter-functions): Add ansi-color-process-output.
13993
13994 * ansi-color.el: Don't set comint-output-filter-functions; it is
13995 now in the initial value defined in comint.el.
13996 (ansi-color-apply-face-function): New variable.
13997 (ansi-color-apply-on-region): Use it.
13998 (ansi-color-apply-overlay-face): New function.
13999
14000 * shell.el (shell): No need to require ansi-color.
14001 (shell-mode): Use ansi-color-apply-face-function to highlight
14002 color escapes using font-lock-face property (Bug#10835).
14003
20af2394
CY
140042012-02-19 Chong Yidong <cyd@gnu.org>
14005
14006 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
14007 mode-line formats (Bug#10839).
14008
e23a3fbe
GM
140092012-02-18 Glenn Morris <rgm@gnu.org>
14010
b474519e
GM
14011 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
14012
14013 * mail/undigest.el (unforward-rmail-message): Doc fix.
14014
e23a3fbe
GM
14015 * saveplace.el (save-place-ignore-files-regexp): Add :version.
14016
57939ff4
EZ
140172012-02-18 Eli Zaretskii <eliz@gnu.org>
14018
14019 * international/characters.el (script-list): Sync with the latest
14020 Unicode Character Database.
14021
0c23686e
AS
140222012-02-18 Andreas Schwab <schwab@linux-m68k.org>
14023
14024 * international/titdic-cnv.el: Remove duplicate coding tag.
14025 * language/cham.el: Likewise.
14026 * language/tai-viet.el: Likewise.
14027
6818b449
GM
140282012-02-18 Glenn Morris <rgm@gnu.org>
14029
14030 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
14031 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
14032 (calendar-bahai-all-holidays-flag, calendar-other-dates):
14033 * calendar/diary-lib.el (diary-abbreviated-year-flag):
14034 * calendar/holidays.el (holiday-bahai-holidays)
14035 (calendar-holidays, list-holidays):
14036 Use utf-8 Bahá'í in doc-strings, menus, etc.
14037
0311a3fc
TH
140382012-02-17 Tassilo Horn <tassilo@member.fsf.org>
14039
14040 * saveplace.el (save-place-ignore-files-regexp): New variable
14041 allowing for excluding files from saving their location of point.
14042 The default value matches the temporary commit message editing
14043 files from Git, SVN, Bazaar, and Mercurial.
14044 (save-place-to-alist): Use it.
14045
d209e2fb 140462012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 14047 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
14048
14049 * newcomment.el (uncomment-region-default): Don't leave extra space
14050 when an arg is provided (bug#8150).
14051
ee0ce425
TZ
140522012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
14053
eb864a71 14054 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 14055
95ddf442
GM
140562012-02-17 Glenn Morris <rgm@gnu.org>
14057
14058 * net/socks.el: Require network-stream. (Bug#10599)
14059
48dd1e39 140602012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
14061
14062 * international/charprop.el:
14063 * international/uni-name.el:
14064 * international/uni-old-name.el:
14065 * international/uni-comment.el: Regenerate.
14066
d68cd087
GM
140672012-02-16 Glenn Morris <rgm@gnu.org>
14068
14069 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
14070 Interactively in calendar buffer, give an error if not on a date.
14071
13932042
GM
140722012-02-15 Glenn Morris <rgm@gnu.org>
14073
14074 * shell.el (shell-delimiter-argument-list):
14075 Revert 2011-02-17 change. (Bug#8027)
14076
c3a70e2b
CY
140772012-02-15 Chong Yidong <cyd@gnu.org>
14078
60236b0d
CY
14079 * minibuffer.el (completion-at-point-functions): Doc fix.
14080
c3a70e2b
CY
14081 * custom.el (defcustom): Doc fix; note use of defvar.
14082
9f26dc24
GM
140832012-02-15 Glenn Morris <rgm@gnu.org>
14084
14085 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
14086 Doc fixes.
14087
6546b134
GM
140882012-02-14 Glenn Morris <rgm@gnu.org>
14089
14090 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
14091
d29b2b4c
LI
140922012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
14093
14094 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
14095 way the ports list is computed.
835bdcba
LI
14096 (smtpmail-query-smtp-server): Prompt the user for a port number if
14097 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 14098
08dcdbc9
TZ
140992012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
14100
14101 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
14102
2605051a
GM
141032012-02-13 Glenn Morris <rgm@gnu.org>
14104
14105 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
14106
7ee99f32
TZ
141072012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
14108
14109 * net/gnutls.el (gnutls-trustfiles): New variable.
14110 (gnutls-negotiate): Use it.
14111
5f0af64f
LI
141122012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
14113
14114 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14115 does its stuff if Gnus is running.
14116
c14fcc95
AM
141172012-02-13 Alan Mackenzie <acm@muc.de>
14118
14119 Fix a loop in c-set-fl-decl-start.
14120
7a71b18d 14121 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
14122 c-backward-syntactic-ws actually moves backwards.
14123
142b4d90
LL
141242012-02-13 Leo Liu <sdl.web@gmail.com>
14125
14126 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14127 beginning so that all \C-o chars are removed.
14128
fa9958a6
TZ
141292012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14130
dc9924b8 14131 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 14132
0bc5886a
AM
141332012-02-12 Alan Mackenzie <acm@muc.de>
14134
14135 Fix infinite loop with long macros.
4d6769e1 14136 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 14137
d4bd55e7
CY
141382012-02-12 Chong Yidong <cyd@gnu.org>
14139
14140 * window.el (display-buffer): Doc fix (Bug#10785).
14141
66f3fe22
GM
141422012-02-12 Glenn Morris <rgm@gnu.org>
14143
bd7da63e
GM
14144 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14145 (x-disown-selection-internal, x-get-selection-internal):
14146 Sync docs with the xselect.c versions.
14147
66f3fe22
GM
14148 * allout-widgets.el: Add missing license notice.
14149
3e0d2fa7
GM
141502012-02-11 Glenn Morris <rgm@gnu.org>
14151
cfecdf09
GM
14152 * select.el (x-get-selection-internal, x-own-selection-internal)
14153 (x-disown-selection-internal):
14154 * x-dnd.el (x-get-selection-internal): Update declarations.
14155
6d216d7f
GM
14156 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14157
2bed3f04
GM
14158 * window.el (window-sides-slots):
14159 * tool-bar.el (tool-bar-position):
14160 * term/xterm.el (xterm-extra-capabilities):
14161 * ses.el (ses-self-reference-early-detection):
14162 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14163 (verilog-auto-wire-type)
14164 (verilog-auto-delete-trailing-whitespace)
14165 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14166 (verilog-auto-tieoff-declaration):
14167 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14168 (sql-oracle-statement-starters, sql-oracle-scan-on):
14169 * progmodes/prolog.el (prolog-align-comments-flag)
14170 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14171 (prolog-left-indent-regexp, prolog-paren-indent-p)
14172 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14173 (prolog-types, prolog-mode-specificators)
14174 (prolog-determinism-specificators, prolog-directives)
14175 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14176 (prolog-electric-dot-flag)
14177 (prolog-electric-dot-full-predicate-template)
14178 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14179 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14180 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14181 (prolog-program-switches, prolog-prompt-regexp)
14182 (prolog-debug-on-string, prolog-debug-off-string)
14183 (prolog-trace-on-string, prolog-trace-off-string)
14184 (prolog-zip-on-string, prolog-zip-off-string)
14185 (prolog-use-standard-consult-compile-method-flag)
14186 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14187 (prolog-imenu-max-lines, prolog-info-predicate-index)
14188 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14189 (prolog-char-quote-workaround):
14190 * progmodes/cc-vars.el (c-defun-tactic):
14191 * net/tramp.el (tramp-encoding-command-interactive)
14192 (tramp-local-end-of-line):
14193 * net/soap-client.el (soap-client):
14194 * net/netrc.el (netrc-file):
14195 * net/gnutls.el (gnutls):
14196 * minibuffer.el (completion-category-overrides)
14197 (completion-cycle-threshold)
14198 (completion-pcm-complete-word-inserts-delimiters):
14199 * man.el (Man-name-local-regexp):
14200 * mail/feedmail.el (feedmail-display-full-frame):
14201 * international/characters.el (glyphless-char-display-control):
14202 * eshell/em-ls.el (eshell-ls-date-format):
14203 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14204 (lisp-lambda-list-keyword-parameter-indentation)
14205 (lisp-lambda-list-keyword-parameter-alignment):
14206 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14207 * dired-x.el (dired-omit-verbose):
14208 * cus-theme.el (custom-theme-allow-multiple-selections):
14209 * calc/calc.el (calc-highlight-selections-with-faces)
14210 (calc-lu-field-reference, calc-lu-power-reference)
14211 (calc-note-threshold):
14212 * battery.el (battery-mode-line-limit):
14213 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14214 (archive-7z-update):
14215 * allout.el (allout-prefixed-keybindings)
14216 (allout-unprefixed-keybindings)
14217 (allout-inhibit-auto-fill-on-headline)
14218 (allout-flattened-numbering-abbreviation):
14219 * allout-widgets.el (allout-widgets-auto-activation)
14220 (allout-widgets-icons-dark-subdir)
14221 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14222 (allout-widgets-theme-dark-background)
14223 (allout-widgets-theme-light-background)
14224 (allout-widgets-item-image-properties-emacs)
14225 (allout-widgets-item-image-properties-xemacs)
14226 (allout-widgets-run-unit-tests-on-load)
14227 (allout-widgets-time-decoration-activity)
14228 (allout-widgets-hook-error-post-time)
14229 (allout-widgets-track-decoration):
14230 Add missing :version tags to new defcustoms and defgroups.
14231
5fec1b8e
GM
14232 * progmodes/sql.el (sql-ansi-statement-starters)
14233 (sql-oracle-statement-starters): Add custom type.
14234
3e0d2fa7
GM
14235 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14236 (prolog-system-version): Give it a type.
14237
90b671e2
EZ
142382012-02-11 Eli Zaretskii <eliz@gnu.org>
14239
14240 * term/pc-win.el (x-select-text, x-selection-owner-p)
14241 (x-own-selection-internal, x-disown-selection-internal)
14242 (x-get-selection-internal): Sync doc strings and argument lists
14243 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14244
5eac0c02
LL
142452012-02-11 Leo Liu <sdl.web@gmail.com>
14246
14247 * progmodes/python.el (python-end-of-statement): Fix infinite
14248 loop. (Bug#10788)
14249
f82cb659
GM
142502012-02-10 Glenn Morris <rgm@gnu.org>
14251
14252 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14253 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14254
cc26d239
LI
142552012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14256
14257 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14258 about SMTP before checking the From header.
14259
91027d08 14260 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
14261 into own function for reuse by emacsbug.el.
14262
1be3ca5a
LL
142632012-02-10 Leo Liu <sdl.web@gmail.com>
14264
14265 * subr.el (condition-case-unless-debug): Rename from
14266 condition-case-no-debug. All callers changed.
14267 (with-demoted-errors): Fix caller.
14268
14269 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14270 * nxml/rng-valid.el (rng-do-some-validation):
14271 * emacs-lisp/package.el (package-refresh-contents)
14272 (package-menu-execute):
14273 * desktop.el (desktop-create-buffer):
91027d08 14274 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 14275
b011fbfe
GM
142762012-02-10 Glenn Morris <rgm@gnu.org>
14277
b2096d72
GM
14278 * textmodes/bibtex.el:
14279 Add missing :version tags for new/changed defcustoms.
14280
b011fbfe
GM
14281 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14282
4c7e65bf
LI
142832012-02-09 Lars Ingebrigtsen <larsi@rusty>
14284
14285 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14286 (smtpmail-via-smtp): Use it, or fall back on the From address.
14287 (smtpmail-send-it): Ditto.
14288
f3934f6f
SM
142892012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14290
14291 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14292 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14293 (byte-compile-tmp-var): New const.
14294 (byte-compile-defvar): Use it to minimize .elc size.
14295 Just use `defvar' rather than simulate it (bug#10761).
14296
a075a2c5
GM
142972012-02-09 Glenn Morris <rgm@gnu.org>
14298
cf3aa21b
GM
14299 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14300
354998cd
GM
14301 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14302 Add :version tags.
14303
dc9924b8
SM
14304 * progmodes/compile.el (compilation-error-screen-columns)
14305 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 14306
dab3703d
GM
14307 * vc/log-view.el (log-view-toggle-entry-display):
14308 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14309
3f88cd72
GM
14310 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14311 (report-emacs-bug-can-use-xdg-email):
14312 (report-emacs-bug-insert-to-mailer): Doc fixes.
14313 (report-emacs-bug): Message fix.
14314
d95b247d
GM
14315 * net/browse-url.el (browse-url-can-use-xdg-open)
14316 (browse-url-xdg-open): Doc fixes.
14317
a075a2c5
GM
14318 * electric.el (electric-indent-mode, electric-pair-mode)
14319 (electric-layout-rules, electric-layout-mode): Doc fixes.
14320 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14321
ffb6157e
MR
143222012-02-08 Martin Rudalics <rudalics@gmx.at>
14323
14324 * server.el (server-unselect-display): Don't inadvertently kill
14325 the current buffer. (Bug#10729)
14326
e1ac4066
GM
143272012-02-08 Glenn Morris <rgm@gnu.org>
14328
34e8a2da
GM
14329 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14330 (sql-list-table): Doc fixes.
14331
b4ac6e8c
GM
14332 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14333 Comment out (does nothing).
14334
e1ac4066
GM
14335 * completion.el (dynamic-completion-mode):
14336 * dirtrack.el (dirtrack-debug-mode):
14337 * electric.el (electric-layout-mode):
14338 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14339 * face-remap.el (text-scale-mode, buffer-face-mode):
14340 * iimage.el (iimage-mode):
14341 * image-mode.el (image-transform-mode):
14342 * minibuffer.el (completion-in-region-mode):
14343 * scroll-lock.el (scroll-lock-mode):
14344 * simple.el (next-error-follow-minor-mode):
14345 * tar-mode.el (tar-subfile-mode):
14346 * tooltip.el (tooltip-mode):
14347 * vcursor.el (vcursor-use-vcursor-map):
14348 * wid-browse.el (widget-minor-mode):
14349 * emulation/tpu-edt.el (tpu-edt-mode):
14350 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14351 * international/iso-ascii.el (iso-ascii-mode):
14352 * language/thai-util.el (thai-word-mode):
14353 * mail/supercite.el (sc-minor-mode):
14354 * net/goto-addr.el (goto-address-mode):
14355 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14356 * progmodes/cwarn.el (cwarn-mode):
14357 * progmodes/flymake.el (flymake-mode):
14358 * progmodes/glasses.el (glasses-mode):
14359 * progmodes/hideshow.el (hs-minor-mode):
14360 * progmodes/pascal.el (pascal-outline-mode):
14361 * textmodes/enriched.el (enriched-mode):
14362 * vc/smerge-mode.el (smerge-mode):
14363 Doc fixes (minor mode argument).
14364
5e0d957f
EZ
143652012-02-07 Eli Zaretskii <eliz@gnu.org>
14366
14367 * ls-lisp.el (ls-lisp-sanitize): New function.
14368 (ls-lisp-insert-directory): Use it to fix or remove any elements
14369 in file-alist with missing attributes. (Bug#4673)
14370
98d7371e
AM
143712012-02-07 Alan Mackenzie <acm@muc.de>
14372
14373 Fix spurious recognition of c-in-knr-argdecl.
14374
14375 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14376 putative K&R region.
14377
667ced3a
AM
143782012-02-07 Alan Mackenzie <acm@muc.de>
14379
eb864a71
LM
14380 * progmodes/cc-engine.el (c-forward-objc-directive):
14381 Prevent looping in "#pragma mark @implementation".
667ced3a 14382
5b77774d
MA
143832012-02-07 Michael Albinus <michael.albinus@gmx.de>
14384
14385 * notifications.el (notifications-on-closed-signal): Make `reason'
14386 optional. (Bug#10744)
14387
af008560
GM
143882012-02-07 Glenn Morris <rgm@gnu.org>
14389
60d47423
GM
14390 * emacs-lisp/easy-mmode.el (define-minor-mode):
14391 Doc fixes for the macro and the mode it defines.
14392
dd605cc4
GM
14393 * image.el (imagemagick-types-inhibit): Doc fix.
14394
af008560
GM
14395 * cus-start.el (imagemagick-render-type): Add it.
14396
5cc59a37
LI
143972012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14398
4d6769e1
JB
14399 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14400 Set the default at load time, too, so that `font-lock-fontify-buffer'
14401 can be called without setting up the entire mode first. This fixes
14402 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 14403
9a6dd747
CY
144042012-02-06 Chong Yidong <cyd@gnu.org>
14405
2d16b285
CY
14406 * simple.el (list-processes--refresh): Delete exited processes
14407 (Bug#8094).
14408
171e9b6e
CY
14409 * comint.el (comint-next-prompt): next-single-char-property-change
14410 and prev-single-char-property-change never return nil (Bug#8657).
14411
9a6dd747
CY
14412 * custom.el (defcustom): Doc fix (Bug#9711).
14413
aa4589a7
CY
144142012-02-05 Chong Yidong <cyd@gnu.org>
14415
5c2a252f
CY
14416 * cus-edit.el (custom-variable-reset-backup): Quote the value
14417 before storing it in the customized-value property (Bug#6712).
4aab9006 14418 (custom-display): Add a customization type tag.
983b9602 14419 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 14420
aa4589a7
CY
14421 * wid-edit.el (widget-field-value-get): New optional arg to
14422 suppress trailing whitespace truncation.
14423 (character): Use it (Bug#2689).
14424
1ff980ae
AS
144252012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14426
14427 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14428 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14429
03988c98
CY
144302012-02-05 Chong Yidong <cyd@gnu.org>
14431
eeb6cc88
CY
14432 * cus-edit.el (custom-variable-value-create): For mismatched
14433 types, show the current value (Bug#7600).
14434
03988c98
CY
14435 * custom.el (defcustom): Doc fix.
14436
f8cdeef0
GM
144372012-02-05 Glenn Morris <rgm@gnu.org>
14438
14439 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14440
0696d255
JB
144412012-02-05 Juanma Barranquero <lekktu@gmail.com>
14442
14443 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14444 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14445 (pp-last-sexp): Use `looking-at-p'.
14446
34c99998
GM
144472012-02-04 Glenn Morris <rgm@gnu.org>
14448
8f05da42
GM
14449 * files.el (revert-buffer):
14450 Doc fix (mention revert-buffer-in-progress-p).
14451
f160676e
GM
14452 * emacs-lisp/ert-x.el (ert-simulate-command):
14453 Check deferred-action-list (which is obsolete) is bound.
14454
c7291ad9
GM
14455 * subr.el (with-wrapper-hook): Doc fixes.
14456
34c99998
GM
14457 * simple.el (filter-buffer-substring-functions)
14458 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14459
6283a7d3
LL
144602012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14461
14462 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14463 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14464
e96e3013
LL
144652012-02-04 Leo Liu <sdl.web@gmail.com>
14466
14467 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14468
8ded50f2
GM
144692012-02-04 Glenn Morris <rgm@gnu.org>
14470
82ff1d13
GM
14471 * image.el (image-extension-data): Add obsolete alias.
14472
987a0a16
GM
14473 * isearch.el (isearch-update): Doc fix.
14474
ea32ef46
GM
14475 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14476
8ded50f2
GM
14477 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14478
eea14f31
GM
144792012-02-03 Glenn Morris <rgm@gnu.org>
14480
14481 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14482 (image-animate-timeout): Doc fix.
14483
14484 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14485
12f381b7
GM
144862012-02-02 Glenn Morris <rgm@gnu.org>
14487
953cebf5
GM
14488 * server.el (server-auth-dir): Doc fix.
14489 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14490
12f381b7
GM
14491 * subr.el (run-mode-hooks): Doc fix.
14492
953a8c3b
JL
144932012-02-02 Juri Linkov <juri@jurta.org>
14494
14495 * image-mode.el (image-toggle-display-image): Remove tautological
14496 `major-mode' from the `derived-mode-p' test.
14497
c5d3843c
KH
144982012-02-02 Kenichi Handa <handa@m17n.org>
14499
9f6e692e 14500 * composite.el (compose-region): Cancel previous change.
c5d3843c 14501
159462d4 145022012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
14503
14504 * composite.el (compose-region, compose-string): Signal error for
14505 a null string component (Bug#6988).
14506
9f562668
CY
145072012-02-01 Chong Yidong <cyd@gnu.org>
14508
e2cef717
CY
14509 * view.el (view-buffer-other-window, view-buffer-other-frame):
14510 Handle special modes like view-buffer (Bug#10650).
14511 (view-buffer): Simplify.
14512
9f562668
CY
14513 * frame.el (set-frame-font): Tweak meaning of third argument.
14514
9f6e692e
JB
14515 * dynamic-setting.el (font-setting-change-default-font):
14516 Use set-frame-font (Bug#9982).
9f562668 14517
781acb9f
GM
145182012-02-01 Glenn Morris <rgm@gnu.org>
14519
6035be52
GM
14520 * progmodes/compile.el (compilation-internal-error-properties):
14521 Respect compilation-first-column in the "*compilation*" buffer.
14522
781acb9f
GM
14523 * emacs-lisp/easy-mmode.el (define-minor-mode):
14524 Relax :variable's test for a named function.
14525
abbceb00
AM
145262012-01-31 Alan Mackenzie <acm@muc.de>
14527
14528 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14529 off by one error.
14530
fce3fdeb
CY
145312012-01-31 Chong Yidong <cyd@gnu.org>
14532
14533 * frame.el (set-frame-font): New arg ALL-FRAMES.
14534
14535 * menu-bar.el (menu-set-font): Use set-frame-font.
14536
14537 * faces.el (face-spec-reset-face): Don't apply unspecified
14538 attribute values to the default face.
14539
47893581
JB
145402012-01-31 Juanma Barranquero <lekktu@gmail.com>
14541
14542 * progmodes/cwarn.el (cwarn): Remove dead link.
14543 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14544 Remove * from defcustom docstrings.
14545 (turn-on-cwarn-mode): Make obsolete.
14546 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14547 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14548
e58e988a
GM
145492012-01-31 Glenn Morris <rgm@gnu.org>
14550
60dc2671 14551 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 14552 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 14553 Allow named functions to be used as the cdr of :variable.
e58e988a 14554
7a3f511d
GM
145552012-01-30 Glenn Morris <rgm@gnu.org>
14556
14557 * emacs-lisp/authors.el (authors-fixed-entries):
14558 Remove reference to deleted file rnewspost.el.
14559
cb882333
JB
145602012-01-29 Juanma Barranquero <lekktu@gmail.com>
14561
14562 * window.el (window-with-parameter): Remove unused variable `windows'.
14563 (window--side-check): Remove unused variable `code'.
14564 (window--resize-siblings): Remove unused variable `first'.
14565 (adjust-window-trailing-edge): Remove unused variable `failed'.
14566 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14567 Use `let', not `let*'.
14568 (balance-windows-2): Remove unused variable `found'.
14569 (window--state-put-2): Remove unused variable `splits'.
14570 (window-state-put): Remove unused variable `selected'.
14571 (same-window-p): Use `string-match-p'.
14572 (display-buffer-assq-regexp): Remove unused variable `value'.
14573 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14574 Mark argument ALIST as ignored.
14575 (pop-to-buffer): Remove unused variable `old-window'.
14576
907201af
EZ
145772012-01-29 Eli Zaretskii <eliz@gnu.org>
14578
14579 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14580 and .lzma compressed files.
14581
ea162670
CY
145822012-01-29 Chong Yidong <cyd@gnu.org>
14583
5b95ee8a
CY
14584 * frame.el (window-system-default-frame-alist): Doc fix.
14585
ea162670
CY
14586 * dynamic-setting.el (font-setting-change-default-font): Don't
14587 change the default face if SET-FONT argument is non-nil (Bug#9982).
14588
6fccd6e8 145892012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
14590
14591 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14592
0f29fa41 145932012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
14594
14595 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14596 breakpoints in files outside current directory (Bug#6098).
14597
db174434
CY
145982012-01-29 Chong Yidong <cyd@gnu.org>
14599
6b25e4e2
SE
14600 * progmodes/python.el: Require ansi-color at top-level.
14601
6df6ae42
JB
14602 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14603 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
14604 (lisp-mode-abbrev-table): Add doc.
14605 (lisp-mode-variables): Don't set local-abbrev-table.
14606 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14607
e70ee681
RW
146082012-01-28 Roland Winkler <winkler@gnu.org>
14609
14610 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14611
ace88aa2
RW
146122012-01-28 Roland Winkler <winkler@gnu.org>
14613
14614 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14615 (bibtex-set-dialect): Use it. Either set global values of
14616 dialect-dependent variables or bind these variables buffer-locally
14617 (Bug#10254).
14618 (bibtex-mode): Call bibtex-set-dialect via
14619 hack-local-variables-hook.
eb864a71
LM
14620 (bibtex-dialect): Update docstring.
14621 Add safe-local-variable predicate.
ace88aa2
RW
14622 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14623 bibtex-set-dialect.
14624 (bibtex-mode-map): Define menu for each dialect.
14625 (bibtex-entry): Fix docstring.
14626
93376c5b
CY
146272012-01-28 Chong Yidong <cyd@gnu.org>
14628
14629 * eshell/esh-arg.el (eshell-quote-argument): New function.
14630
14631 * eshell/esh-ext.el (eshell-invoke-batch-file):
14632 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14633 first arg to eshell-parse-command (Bug#10523).
14634
4372494f
DA
146352012-01-28 Drew Adams <drew.adams@oracle.com>
14636
14637 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14638 `default-directory' is non-nil.
14639
4d4ec1f8
EZ
146402012-01-28 Eli Zaretskii <eliz@gnu.org>
14641
14642 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14643 line that displays system-configuration-options. (Bug#9924)
14644
7c188927
DA
146452012-01-28 Drew Adams <drew.adams@oracle.com>
14646
14647 * descr-text.el (describe-char): Show information about POS, in
14648 addition to information about the character at POS. Improve and
14649 update the doc string. Change "code point" to "code point in
14650 charset", to avoid confusion with the character's Unicode code
14651 point shown above that. (Bug#10129)
14652
e0da685a
EZ
146532012-01-28 Eli Zaretskii <eliz@gnu.org>
14654
14655 * descr-text.el (describe-char): Show the raw character, not only
14656 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14657 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14658 for the reasons.
14659
70550acf
PH
146602012-01-28 Phil Hagelberg <phil@hagelb.org>
14661
eb864a71
LM
14662 * emacs-lisp/package.el (package-install):
14663 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 14664
0ce8e868
CY
146652012-01-28 Chong Yidong <cyd@gnu.org>
14666
cb882333
JB
14667 * emacs-lisp/package.el (package-maybe-load-descriptor):
14668 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
14669 (package-maybe-load-descriptor): Use it.
14670 (package-download-transaction): Fully load required packages
14671 inside the loop, so that `require' calls work (Bug#10593).
14672 (package-install): No need to call package-initialize now.
14673
2e7f3bea
CY
146742012-01-28 Chong Yidong <cyd@gnu.org>
14675
6e9bad14
CY
14676 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14677
f823b8ca
CY
14678 * tooltip.el (tooltip-mode): Doc fix.
14679 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14680
2680c309
CY
14681 * frame.el (set-cursor-color): Doc fix (Bug#352).
14682
d7a9e63b
CY
14683 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14684 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14685
2e7f3bea
CY
14686 * cus-edit.el (custom-buffer-create-internal): Fix search button
14687 action (Bug#10542).
2ae01800 14688 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 14689
fc4f7a23
EW
146902012-01-27 Eduard Wiebe <usenet@pusto.de>
14691
14692 * dired.el (dired-mark-files-regexp):
14693 Include any subdirectory components. (Bug#10445)
14694
7dd37071
ML
146952012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14696
14697 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14698 Handle [host]:port syntax. (Bug#10533)
14699
a268160b
AH
147002012-01-27 Alex Harsanyi <harsanyi@mac.com>
14701
14702 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14703
e43273ef
GM
147042012-01-26 Glenn Morris <rgm@gnu.org>
14705
14706 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14707 * term.el (term-raw-escape-map): Use Control-X-prefix.
14708 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14709
1edf595d
MR
147102012-01-25 Martin Rudalics <rudalics@gmx.at>
14711
14712 * window.el (window-state-get, window--state-get-1): Don't deal
14713 with fixed-sizeness of windows. Simplify code.
14714
fa8eafef
JC
147152012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14716
6df6ae42
JB
14717 * window.el (window--state-get-1, window--state-put-2):
14718 Don't save and restore the mark.
fa8eafef 14719
0b21c100
CY
147202012-01-25 Chong Yidong <cyd@gnu.org>
14721
14722 * custom.el (custom-variable-p): Doc fix.
14723
5ae1a6c8
GM
147242012-01-25 Glenn Morris <rgm@gnu.org>
14725
40047858
GM
14726 * dired.el (dired-goto-file): Handle some of the more common
14727 characters that `ls -b' escapes. (Bug#10596)
14728
5ddce96c
GM
14729 * progmodes/compile.el (compilation-next-error-function):
14730 Respect compilation-first-column in the "*compilation*" buffer.
14731 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14732
5ae1a6c8
GM
14733 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14734
b559f1a9
GM
147352012-01-24 Glenn Morris <rgm@gnu.org>
14736
14737 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14738
6725d21a
JD
147392012-01-24 Julien Danjou <julien@danjou.info>
14740
14741 * color.el (color-rgb-to-hsl): Fix value computing.
14742 (color-hue-to-rgb): New function.
14743 (color-hsl-to-rgb): New function.
14744 (color-clamp, color-saturate-hsl, color-saturate-name)
14745 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14746 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14747
70df4bbe
GM
147482012-01-24 Glenn Morris <rgm@gnu.org>
14749
14750 * vc/vc-rcs.el (vc-rcs-create-tag):
14751 * vc/vc-sccs.el (vc-sccs-create-tag):
14752 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14753
802a2ae2
ML
147542012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14755
14756 * eshell/esh-util.el (eshell-read-hosts-file):
14757 Skip comment lines. (Bug#10549)
14758
d7128bb1
ML
14759 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14760
d1a5c3b4
JB
147612012-01-23 Juanma Barranquero <lekktu@gmail.com>
14762
2724d9c7
JB
14763 * subr.el (display-delayed-warnings): Doc fix.
14764 (collapse-delayed-warnings): New function to collapse identical
14765 adjacent warnings.
14766 (delayed-warnings-hook): Add it.
d1a5c3b4 14767
a5509865
MA
147682012-01-22 Michael Albinus <michael.albinus@gmx.de>
14769
14770 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14771
a5509865
MA
14772 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14773 (tramp-default-user-alist): Don't add "pscp".
14774 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14775 property "login-as", if set. (Bug#10530)
14776
cc6d5805
MA
147772012-01-21 Michael Albinus <michael.albinus@gmx.de>
14778
14779 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14780 "plink1" and "psftp". (Bug#10530)
14781
147822012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
14783
14784 * international/mule-cmds.el (prefer-coding-system): Show a
14785 warning message if the default value of file-name-coding-system
14786 was not changed.
14787
f0960428
JC
147882012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14789
cb882333
JB
14790 * windmove.el (windmove-reference-loc):
14791 Fix windmove-reference-loc miscalculation.
f0960428 14792
dd6f2a63
JB
147932012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14794
14795 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14796 default unit.
14797
7b447e9b
GM
147982012-01-21 Glenn Morris <rgm@gnu.org>
14799
117a9ea1
GM
14800 * international/mule.el (auto-coding-alist): Add .tbz.
14801
7b447e9b
GM
14802 * files.el (local-enable-local-variables): Doc fix.
14803 (inhibit-local-variables-regexps): Rename from
14804 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14805 Doc fix. Add some extensions from auto-coding-alist.
14806 (inhibit-local-variables-suffixes):
14807 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14808 (inhibit-local-variables-p):
14809 New function, extracted from set-auto-mode-1.
14810 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14811 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14812 (hack-local-variables): Doc fix. Make the mode-only case
14813 respect enable-local-variables and friends.
14814 Respect inhibit-local-variables-regexps for file-locals, but
14815 not for directory-locals.
14816 (set-visited-file-name):
14817 Take account of inhibit-local-variables-regexps.
14818 Whether it applies may change as the file name is changed.
14819 * jka-cmpr-hook.el (jka-compr-install):
14820 * jka-compr.el (jka-compr-uninstall):
14821 Update for inhibit-first-line-modes-suffixes name change.
14822
dd6e3cdd
MR
148232012-01-20 Martin Rudalics <rudalics@gmx.at>
14824
14825 * help-macro.el (make-help-screen): Temporarily restore original
14826 binding for minor-mode-map-alist (Bug#10454).
14827
0d0deb38
JD
148282012-01-19 Julien Danjou <julien@danjou.info>
14829
14830 * color.el (color-name-to-rgb): Use the white color to find the max
14831 color component value and return correctly computed values.
14832 (color-name-to-rgb): Add missing float conversion for max value.
14833
34a02f46
MR
148342012-01-19 Martin Rudalics <rudalics@gmx.at>
14835
14836 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
14837 special state value for window-persistent-parameters.
14838 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
14839 (window--state-put-2): Reset all window parameters to nil before
14840 assigning values of persistent parameters.
14841
606c44c4
AM
148422012-01-18 Alan Mackenzie <acm@muc.de>
14843
14844 Eliminate sluggishness and hangs in fontification of "semicolon
14845 deserts".
14846
cb882333
JB
14847 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14848 Change value 10000 -> 3000.
606c44c4
AM
14849 (c-state-safe-place): Reformulate so it doesn't stack up an
14850 infinite number of wrong entries in c-state-nonlit-pos-cache.
14851 (c-determine-limit-get-base, c-determine-limit): New functions to
14852 determine backward search limits disregarding literals.
14853 (c-find-decl-spots): Amend commenting.
14854 (c-cheap-inside-bracelist-p): New function which detects "={".
14855
14856 * progmodes/cc-fonts.el
14857 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14858 backward search.
14859 (c-font-lock-declarations): Fix an occurrence of point being
14860 undefined. Check additionally for point being in a bracelist or
14861 near a macro invocation without a semicolon so as to avoid a
14862 fruitless time consuming search for a declarator. Give a more
14863 precise search limit for declarators using the new
14864 c-determine-limit.
14865
f3860cea
GM
148662012-01-18 Glenn Morris <rgm@gnu.org>
14867
14868 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14869 (set-auto-mode): Doc fixes.
14870
1db03b16
GM
148712012-01-17 Glenn Morris <rgm@gnu.org>
14872
0e6038be
GM
14873 * isearch.el (search-nonincremental-instead): Fix doc typo.
14874
1db03b16
GM
14875 * dired.el (dired-insert-directory): Handle newlines in directory name.
14876 (dired-build-subdir-alist): Unescape newlines in directory name.
14877
4cb0aa75
MA
148782012-01-17 Michael Albinus <michael.albinus@gmx.de>
14879
14880 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14881 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14882 (tramp-action-terminal): Use it. (Bug#10530)
14883
1d00653d
SM
148842012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14885
14886 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14887
6a6ee00d
MR
148882012-01-16 Martin Rudalics <rudalics@gmx.at>
14889
14890 * window.el (window-state-ignored-parameters): Remove variable.
14891 (window--state-get-1): Rename argument MARKERS to IGNORE.
14892 Handle persistent window parameters. Make copy of clone-of
14893 parameter only if requested. (Bug#10348)
14894 (window--state-put-2): Install a window parameter only if it has
14895 a non-nil value or an existing parameter shall be overwritten.
14896
97912def
MA
148972012-01-15 Michael Albinus <michael.albinus@gmx.de>
14898
14899 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14900
688070a5
EZ
149012012-01-14 Eli Zaretskii <eliz@gnu.org>
14902
14903 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14904 don't pass the (nil) value of `upnode' to string-match.
14905
301afadc
CY
149062012-01-14 Chong Yidong <cyd@gnu.org>
14907
14908 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 14909 Fix values recognized by the cursorBlink resource.
301afadc 14910
9e5788aa
PE
149112012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14912
14913 * epg.el (epg--make-temp-file): Avoid permission race condition
14914 when running on old Emacs versions (bug#10403).
14915
3cdb7f5a
GM
149162012-01-14 Glenn Morris <rgm@gnu.org>
14917
14918 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14919
8c82b1b4
AM
149202012-01-13 Alan Mackenzie <acm@muc.de>
14921
14922 Fix filling for when filladapt mode is enabled.
14923
14924 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14925 c-mask-paragraph, pass in `fill-paragraph' rather than
14926 `fill-region-as-paragraph'. (This is a reversion of a previous
14927 change.)
eb864a71
LM
14928 * progmodes/cc-mode.el (c-basic-common-init):
14929 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 14930
e517eda4
GM
149312012-01-13 Glenn Morris <rgm@gnu.org>
14932
1498536e
GM
14933 * dired.el (dired-switches-escape-p): New function.
14934 (dired-insert-directory): Use dired-switches-escape-p.
14935 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14936
e517eda4
GM
14937 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14938
328f984d
GM
149392012-01-12 Glenn Morris <rgm@gnu.org>
14940
14941 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14942 changes in adaptive-fill-regexp. (Bug#10276)
14943
2cc769a8
AM
149442012-01-11 Alan Mackenzie <acm@muc.de>
14945
14946 Fix Emacs bug #10463 - put `widen's around the critical spots.
14947
1d00653d 14948 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
14949 widen around each invocation of c-state-pp-to-literal. Remove an
14950 unused let variable.
14951
e52c37fa
GM
149522012-01-11 Glenn Morris <rgm@gnu.org>
14953
14954 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 14955 Doc fix.
e52c37fa 14956
96f8741e
CY
149572012-01-10 Chong Yidong <cyd@gnu.org>
14958
1d00653d
SM
14959 * net/network-stream.el (network-stream-open-starttls):
14960 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
14961 response to the capability command.
14962
b09a806e
GM
149632012-01-10 Glenn Morris <rgm@gnu.org>
14964
14965 * mail/unrmail.el (unrmail): Tweak previous change.
14966
7655cb66
CY
149672012-01-09 Chong Yidong <cyd@gnu.org>
14968
14969 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14970
9d5a8f0b
AM
149712012-01-08 Alan Mackenzie <acm@muc.de>
14972
677d5c92 14973 Optimize font locking in long enum definitions.
9d5a8f0b
AM
14974
14975 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14976 arm to a cond form to handle enums.
14977 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14978 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14979
9a0115ab 149802012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
14981
14982 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 14983 (Bug#10401)
6bb72cbd 14984
f186bb95
LMI
149852012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14986
29232a68
LMI
14987 * faces.el (set-face-attribute): Clarify the meaning of the nil
14988 frame (bug#10294).
14989
4e5d086d
LMI
14990 * subr.el (with-selected-frame): Mention that the selected frame
14991 is restored (bug#9980).
14992
8e66aebe
LMI
14993 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14994 (bug#9759).
14995
cd394be1 14996 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
14997 (password-read): Don't autoload unused function.
14998
adf4e762
JB
149992012-01-07 Juanma Barranquero <lekktu@gmail.com>
15000
15001 * progmodes/which-func.el (which-func-mode): Turn into a
15002 non-interactive function and mark as obsolete (bug#10428).
15003
89bd9ccd
CY
150042012-01-06 Chong Yidong <cyd@gnu.org>
15005
15006 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
15007 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
15008 functions, along with 1 and -1.
15009
4afee9d5
EZ
150102012-01-06 Eli Zaretskii <eliz@gnu.org>
15011
15012 * time.el (display-time-load-average)
15013 (display-time-default-load-average): Doc fixes. See the thread
15014 starting at
15015 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
15016 for the details.
15017
536aea70
GM
150182012-01-06 Glenn Morris <rgm@gnu.org>
15019
665ae865
GM
15020 * mail/unrmail.el (unrmail): Give an explicit error if the input file
15021 has no messages. (Bug#10377)
15022
c869783d
GM
15023 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
15024 than Info-edit. (Bug#10385)
15025
2bb4227e
GM
15026 * time.el (display-time-load-average, display-time-next-load-average):
15027 Doc fixes.
15028
7d5944b9
GM
15029 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
15030 local setting of buffer-read-only to the input buffer. (Bug#10419)
15031
536aea70
GM
15032 * calendar/calendar.el (calendar-mode):
15033 Locally set scroll-margin to 0. (Bug#10379)
15034
7dccca16
UM
150352012-01-06 Ulrich Mueller <ulm@gentoo.org>
15036
15037 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
15038
afbb7930
GM
150392012-01-05 Glenn Morris <rgm@gnu.org>
15040
15041 * eshell/em-unix.el (diff-no-select): Autoload it.
15042 (eshell/diff): Use diff-no-select. (Bug#10420)
15043
04482335
CY
150442012-01-05 Chong Yidong <cyd@gnu.org>
15045
7baca3bc
CY
15046 * shell.el (shell-dynamic-complete-functions): Revert last change.
15047 (shell-command-completion-function): New function.
15048 (shell-completion-vars): Use it to implement
15049 shell-completion-execonly (Bug#10417).
15050
04482335
CY
15051 * custom.el (enable-theme): Don't set custom-safe-themes.
15052
1d00653d
SM
15053 * cus-theme.el (custom-theme-merge-theme):
15054 Ignore custom-enabled-themes and custom-safe-themes.
04482335 15055
bb5aa5d6
MM
150562012-01-05 Michael R. Mauger <mmaug@yahoo.com>
15057
15058 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
15059 first prompt in `sql-interacive-mode'.
15060 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 15061 keywords.
6df6ae42 15062 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
15063 (sql-product-interactive): Bug fix: Set `sql-buffer' in
15064 context of original buffer. Invoke `sql-login-hook'.
15065
a7183d7c
EZ
150662012-01-04 Eli Zaretskii <eliz@gnu.org>
15067
15068 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
15069 letters in cite-prefix.
15070
a1eacd1e
LMI
150712012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15072
15073 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
15074
787cdb34
CY
150752012-01-03 Chong Yidong <cyd@gnu.org>
15076
1d00653d
SM
15077 * shell.el (shell-dynamic-complete-functions):
15078 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
15079 comint-filename-completion first (Bug#10417).
15080
30710442
RS
150812012-01-02 Richard Stallman <rms@gnu.org>
15082
15083 * battery.el (battery-status-function):
15084 Detect when to use battery-yeeloong-sysfs.
15085 (battery-echo-area-format): Add string for Yeeloong.
15086 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
15087 (battery-yeeloong-sysfs): New function.
15088
f75bfc33
CY
150892012-01-02 Chong Yidong <cyd@gnu.org>
15090
15091 * dirtrack.el (dirtrack-list): Eliminate unused third element.
15092 (dirtrack): Merge code for handling relative filenames in prompt
15093 from shell-dir-cookie-watcher.
15094 (dirtrack-debug-message): New arg to avoid excess format calls.
15095
15096 * shell.el (shell-dir-cookie-re): Variable deleted.
15097 (shell-dir-cookie-watcher): Function deleted.
15098 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
15099 with dirtrack-mode.
15100
651e947e
EZ
151012012-01-01 Eli Zaretskii <eliz@gnu.org>
15102
1d00653d
SM
15103 * term/w32-win.el (dynamic-library-alist) <gnutls>:
15104 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
15105 libgnutls-26.dll.
15106
94d4c7dc
AS
151072011-12-31 Andreas Schwab <schwab@linux-m68k.org>
15108
15109 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
15110
8d43f3cd
EZ
151112011-12-31 Eli Zaretskii <eliz@gnu.org>
15112
15113 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
15114 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15115
98c8795a
MA
151162011-12-29 Michael Albinus <michael.albinus@gmx.de>
15117
15118 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15119 also for alternative shells.
15120 (tramp-open-connection-setup-interactive-shell): Check, whether
15121 the shell is a busybox.
15122 (tramp-send-command): Don't suppress multiple prompts for
15123 busyboxes, it hurts.
15124
51281b32
CY
151252011-12-28 Chong Yidong <cyd@gnu.org>
15126
15127 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15128 (gdb-get-source-file): Move mode line update to
15129 gdb-get-source-file (Bug#10087).
15130
2170cb53
CY
151312011-12-25 Chong Yidong <cyd@gnu.org>
15132
15133 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15134 gud-gdb-marker-filter without taking it as an argument.
15135 (gud-gdb-run-command-fetch-lines): Caller changed.
15136 (gud-gdb-completion-function): New variable.
15137 (gud-gdb-completion-at-point): Use it.
15138 (gud-gdb-completions-1): Split from gud-gdb-completions.
15139
15140 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15141 function as separate arguments.
15142 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15143 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15144 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15145 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15146 (gdb-stopped, def-gdb-auto-update-trigger)
15147 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
15148 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15149 Callers changed.
2170cb53
CY
15150 (gud-gdbmi-completions): New function.
15151 (gdb): Use it for generating the completion table.
15152
be8b11bb
AM
151532011-12-24 Alan Mackenzie <acm@muc.de>
15154
15155 Introduce a mechanism to widen the region used in context font
1d00653d 15156 locking. Use this to protect declarations from losing their contexts.
be8b11bb 15157
1d00653d
SM
15158 * progmodes/cc-langs.el (c-before-font-lock-functions):
15159 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 15160 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
15161 functions to be run just before context (etc.) font locking.
15162
15163 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 15164 New, functionality extracted from
be8b11bb 15165 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 15166 (c-in-after-change-fontification): New variable.
be8b11bb
AM
15167 (c-after-change): Set c-in-after-change-fontification.
15168 (c-set-fl-decl-start): Rejig its interface, so it can be called
15169 from both after-change and context fontifying.
b81d40f0
JB
15170 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15171 New functions.
15172 (c-standard-font-lock-fontify-region-function): New variable.
15173 (c-font-lock-fontify-region): New function.
be8b11bb 15174
341cf6ac
JL
151752011-12-24 Juri Linkov <juri@jurta.org>
15176
15177 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15178 (Bug#10348)
15179
bffcee0a
MA
151802011-12-23 Michael Albinus <michael.albinus@gmx.de>
15181
15182 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15183 existence of source file. (Bug#10325)
15184
cb5e207c
AM
151852011-12-23 Alan Mackenzie <acm@muc.de>
15186
15187 Fix unstable fontification inside templates.
15188
b81d40f0
JB
15189 * progmodes/cc-langs.el (c-before-font-lock-functions):
15190 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
15191 additionally has c-set-fl-decl-start. The other languages (apart
15192 from AWK) have that as a single entry.
15193
b81d40f0
JB
15194 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15195 The functionality for "local" declarations has been extracted to
cb5e207c
AM
15196 c-set-fl-decl-start.
15197
b81d40f0
JB
15198 * progmodes/cc-mode.el (c-common-init, c-after-change):
15199 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
15200 (c-set-fl-decl-start): New function, extracted from
15201 c-font-lock-enclosing-decls and enhanced.
15202
60ff536c
JB
152032011-12-23 Juanma Barranquero <lekktu@gmail.com>
15204
15205 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15206
1c4757d6
JL
152072011-12-22 Juri Linkov <juri@jurta.org>
15208
15209 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15210
d031f2c7
CY
152112011-12-22 Chong Yidong <cyd@gnu.org>
15212
15213 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15214
bace743a
DA
152152011-12-21 Drew Adams <drew.adams@oracle.com>
15216
15217 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15218
728a1f2b
JC
152192011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15220
15221 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15222
0d373f73
TZ
152232011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15224
fec0aaa4
TZ
15225 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15226 highlighting and support. Fix up comments for capitalization.
15227 (cfengine-mode-debug): New var.
15228 (cfengine3-mode): Change the modeline indicator to "CFE3".
15229 (cfengine3-font-lock-keywords): Improve defun highlighting.
15230 (cfengine2-actions): Rename from `cfengine-actions'.
15231 (cfengine2-font-lock-keywords): Rename from
15232 `cfengine-font-lock-keywords'.
15233 (cfengine2-imenu-expression): Rename from
15234 `cfengine-imenu-expression'.
15235 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15236 (cfengine2-beginning-of-defun): Rename from
15237 `cfengine-beginning-of-defun'.
15238 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15239 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15240 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15241 modeline indicator to "CFE2".
15242 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15243 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 15244
bc86f573
CY
152452011-12-21 Chong Yidong <cyd@gnu.org>
15246
15247 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15248 filename argument.
15249
d45ba96b
MR
152502011-12-20 Martin Rudalics <rudalics@gmx.at>
15251
15252 * window.el (window-normalize-buffer-to-display): Remove.
15253 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15254
a6198c90
CY
152552011-12-19 Chong Yidong <cyd@gnu.org>
15256
15257 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15258 Don't signal an error in a predicate function; return non-nil.
15259 (vc-dir-mark-file): Move the error here.
15260 (vc-dir-mark-unmark): If acting on the region, keep going if one
15261 of the entries cannot be marked/unmarked.
15262 (vc-dir-mark-all-files): If current entry is a directory, mark
15263 only child files, as documented.
15264
34c5fb55
VB
152652011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15266
15267 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15268 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15269 addition.
15270
c803b2b7
JD
152712011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15272
15273 * term/ns-win.el (ns-get-selection-internal)
15274 (ns-store-selection-internal): Declare.
1154d12e
JB
15275 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15276 Declare as obsolete.
15277 (ns-get-pasteboard, ns-paste-secondary):
15278 Use ns-get-selection-internal.
41e9b956 15279 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 15280 Use ns-store-selection-internal.
c803b2b7 15281
9cff91f8 152822011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
15283
15284 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 15285 (vc-deduce-fileset): Doc fix.
99a289d9 15286
f16c898a
AS
152872011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15288
15289 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15290
763237c4
SS
152912011-12-13 Sam Steingold <sds@gnu.org>
15292
15293 * man.el (Man-getpage-in-background): When running under a
15294 window-system, ignore $MANWIDTH and $COLUMNS.
15295
5fc1c122
KH
152962011-12-15 Kenichi Handa <handa@m17n.org>
15297
15298 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15299 (setup-ethiopic-environment-internal): Comment out key-binding for
15300 ethio-toggle-punctuation.
15301
13d49cbb
AM
153022011-12-13 Alan Mackenzie <acm@muc.de>
15303
898169a2
AM
15304 Add the switch statement to AWK Mode.
15305
7a71b18d 15306 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
15307 "default" to the keywords regexp.
15308
7a71b18d 15309 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 15310 expression as the rest.
1d00653d
SM
15311 (c-nonlabel-token-key): Allow string literals for AWK.
15312 Refactor for the other modes.
898169a2 15313
13d49cbb 15314 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 15315 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
15316 routines. Limit backward searching in c-font-lock-enclosing.decl.
15317
15318 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15319 pp-state and literal type in addition to the limits.
1d00653d 15320 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 15321 (c-state-literal-at): Use the above new defun.
1d00653d
SM
15322 (c-slow-in-literal, c-fast-in-literal): Remove.
15323 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
15324
15325 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15326 being in a literal. Add a limit for backward searching.
15327
15328 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15329 c-slow-in-literal.
15330
15e0efc7
SM
153312011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15332
15333 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15334
454592a6
MR
153352011-12-13 Martin Rudalics <rudalics@gmx.at>
15336
15337 * window.el (delete-other-windows): Use correct frame in call to
15338 window-with-parameter.
15339
87393f26
DP
153402011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15341
15342 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15343 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15344 (makefile-gmake-statements, makefile-makepp-statements):
15345 Use it and add new makepp keywords.
15346 (makefile-makepp-font-lock-keywords): Add new patterns.
15347 (makefile-match-function-end): Match new [...] and [[...]].
15348
11636b22
JB
153492011-12-11 Juanma Barranquero <lekktu@gmail.com>
15350
15351 * ses.el (ses-call-printer-return, ses-cell-property-get)
15352 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15353 (ses-create-cell-variable, ses-reset-header-string)
15354 (ses-cell-set-formula, ses-repair-cell-reference-all)
15355 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15356 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15357 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15358 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15359 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15360 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15361 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15362 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15363 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15364 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15365 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15366 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15367
cf018193
VB
153682011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15369
15370 * ses.el: The overall change is to add cell renaming, that is
15371 setting fancy names for cell symbols other than name matching
15372 "\\`[A-Z]+[0-9]+\\'" regexp .
15373 (ses-create-cell-variable): New defun.
15374 (ses-relocate-formula): Relocate formulas only for cells the
15375 symbols of which are not renamed, i.e. symbols whose names do not
15376 match regexp "\\`[A-Z]+[0-9]+\\'".
15377 (ses-relocate-all): Relocate values only for cells the symbols of
15378 which are not renamed.
15379 (ses-load): Create cells variables as the (ses-cell ...) are read,
15380 in order to check row col consistency with cell symbol name only
15381 for cells that are not renamed.
15382 (ses-replace-name-in-formula): New defun.
15383 (ses-rename-cell): New defun.
15384
ee957461
CY
153852011-12-11 Chong Yidong <cyd@gnu.org>
15386
15387 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15388 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15389
9a9e9ef0
MR
153902011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15391
15392 * window.el (other-window): Fix docstring.
15393
92a8eba5
EZ
153942011-12-10 Eli Zaretskii <eliz@gnu.org>
15395
15396 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
15397 `from' or `to' address before taking its substring.
15398 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
15399 encoded name is chopped in the middle of the encoded string, and
15400 thus displayed encoded.
15401
e152e577
JB
154022011-12-10 Juanma Barranquero <lekktu@gmail.com>
15403
15404 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15405
e5d84bfe
EZ
154062011-12-10 Eli Zaretskii <eliz@gnu.org>
15407
15408 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15409 to use texinfo-update-node and commands that call it if the
15410 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 15411 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
15412 (texinfo-all-menus-update, texinfo-master-menu)
15413 (texinfo-update-node, texinfo-every-node-update)
15414 (texinfo-multiple-files-update): Doc fix. Warn against updating
15415 all the @node lines.
15416 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
15417 argument is numeric. Explain better in the doc string what the
15418 function really does.
15419 (texinfo-insert-master-menu-list): Improve the error message
15420 displayed if there's no menu in the Top node.
15421 (Bug#2975) See also this thread:
e5d84bfe
EZ
15422 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15423
1d84e9bb
MG
154242011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15425
15426 * speedbar.el (speedbar-supported-extension-expressions):
15427 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15428
382c953b
JB
154292011-12-09 Juanma Barranquero <lekktu@gmail.com>
15430
15431 * printing.el (pr-mode-alist):
15432 * simple.el (filter-buffer-substring-functions)
15433 (completion-list-insert-choice-function):
15434 * window.el (window-with-parameter, window-atom-root)
15435 (window-sides-slots, window-size-fixed, window-min-delta)
15436 (window-max-delta, window--resize-mini-window)
15437 (window--resize-child-windows-normal, window-tree)
15438 (delete-other-windows, quit-window, split-window)
15439 (display-buffer-record-window, special-display-buffer-names)
15440 (special-display-regexps, special-display-popup-frame)
15441 (same-window-p, split-window-sensibly)
15442 (display-buffer-overriding-action, display-buffer-alist)
15443 (display-buffer-base-action, display-buffer, switch-to-buffer)
15444 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15445 (fit-window-to-buffer, recenter-positions)
15446 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15447 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15448 and remove unneeded backslashes in docstrings.
15449
39c9faef
SM
154502011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15451
98449af8
SM
15452 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15453
39c9faef
SM
15454 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15455 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15456 end in ".mk".
15457 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15458 when reading the makefile (bug#10116).
15459
86ed9fdc
SM
154602011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15461
15462 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15463 (bug#10116).
15464
5580f89d
GM
154652011-12-06 Glenn Morris <rgm@gnu.org>
15466
15467 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15468
28d3917c
CY
154692011-12-06 Chong Yidong <cyd@gnu.org>
15470
15471 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15472
a98edce9
JB
154732011-12-06 Juanma Barranquero <lekktu@gmail.com>
15474
15475 * textmodes/table.el (table-shorten-cell): Fix typo.
15476
e65adfac
CG
154772011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15478
15479 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15480
71cc0b74
EZ
154812011-12-05 Eli Zaretskii <eliz@gnu.org>
15482
15483 * descr-text.el (describe-char): Fix display of strong
15484 right-to-left characters and directional embeddings and overrides.
15485
15486 * simple.el (what-cursor-position): Fix display of codepoints of
15487 strong right-to-left characters.
15488
315bc30d
CY
154892011-12-05 Chong Yidong <cyd@gnu.org>
15490
15491 * faces.el (read-color): Doc fix.
15492
58a70b94
GM
154932011-12-05 Glenn Morris <rgm@gnu.org>
15494
15495 * align.el (align--set-marker): Add doc-string.
15496 Don't try to move something that is not a marker. (Bug#10216)
15497
5158face
GM
154982011-12-04 Glenn Morris <rgm@gnu.org>
15499
15500 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15501 overly zealous deletion of trailing whitespace.
15502
520fca41
JB
155032011-12-04 Juanma Barranquero <lekktu@gmail.com>
15504
15505 * server.el (server-delete-client): On Windows, do not try to delete
15506 the only terminal.
15507 (server-process-filter): On Windows, treat requests for a tty frame as
15508 if they were for a GUI frame if the running server is in GUI mode.
15509
5e605a2e
GM
155102011-12-03 Glenn Morris <rgm@gnu.org>
15511
15512 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15513
5c3fe83f
SM
155142011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15515
6f5e57e7
SM
15516 * electric.el: Streamline electric-indent's hook.
15517 (electric-indent-chars): Revert to simple list.
15518 (electric-indent-functions): New var.
15519 (electric-indent-post-self-insert-function): Use it.
15520
5c3fe83f
SM
15521 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15522 there's no inferior buffer (bug#10196).
15523 (prolog-consult-compile): Don't use toggle-read-only.
15524
6bdac736
MA
155252011-12-02 Michael Albinus <michael.albinus@gmx.de>
15526
15527 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15528 interrupt. (Bug#10187)
15529
6131ba7f
SM
155302011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15531
99c79fee
SM
15532 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15533 (bug#9160).
15534
6131ba7f
SM
15535 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15536 (bug#10191).
15537
cb0a02ea
JL
155382011-12-02 Juri Linkov <juri@jurta.org>
15539
15540 * info.el (Info-search): Display "end of manual" when Isearch
15541 reaches the end of single-file Info manual. (Bug#9918)
15542
66e0570c
EZ
155432011-12-02 Eli Zaretskii <eliz@gnu.org>
15544
15545 * isearch.el (isearch-message-prefix): Run the input method part
15546 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15547
02b16839
JL
155482011-12-02 Juri Linkov <juri@jurta.org>
15549
15550 * isearch.el (isearch-occur): Use `word-search-regexp' for
15551 `isearch-word'.
15552 (isearch-search-and-update): Add condition for `isearch-word' and
15553 call `word-search-regexp'. (Bug#10145)
15554
0b950688
GM
155552011-12-01 Glenn Morris <rgm@gnu.org>
15556
15557 * eshell/em-hist.el (eshell-hist-initialize):
15558 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 15559 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 15560
9505c3c7
SM
155612011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15562
15563 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15564
1bbe96b2 155652011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 15566
a1beca85
SM
15567 * progmodes/verilog-mode.el (verilog-pretty-expr):
15568 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
15569 verilog, such as += *= and the like.
15570 (verilog-assignment-operator-re): Regular expression to find the
15571 assigment operator in a verilog assignment.
15572 (verilog-assignment-operation-re): Regular expression to find an
15573 assignment statement for pretty-expr.
15574 (verilog-in-attribute-p): Query returns true if point is in an
15575 attribute context; used to skip these for expression line up from
15576 pretty-expr.
15577 (verilog-in-parameter-p): Query returns true if point is in an
15578 parameter definition context; used to skip these for expression
15579 line up from pretty-expr.
15580 (verilog-in-parenthesis-p): Query returns true if point is in a
15581 parenthetical expression, specifically ( ) but not [ ] or { };
15582 used by pretty-expr.
15583 (verilog-just-one-space): If there is no space, don't add one.
15584 (verilog-get-lineup-indent-2): Specifically skip just attribute
15585 contexts for expression lineup, rather than skipping all
15586 parenthetical expressions.
15587 (verilog-calculate-indent): Fix comment, and fix indent.
15588 (verilog-do-indent): Indent declarations in lists (suggested by
15589 Joachim Lechner).
15590 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15591 skeleton items.
15592 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15593 by Alain Mellan).
15594
1bbe96b2 155952011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
15596
15597 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15598 parameters with embedded comments. Reported by Ray Stevens.
15599 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15600 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15601 Reported by Tim Holt.
15602 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15603 instantiated by upper module causing wrong expansion until AUTOed a
15604 second time. Reported by K C Buckenmaier.
15605 (verilog-diff-auto): Fix showing .* as a difference when
15606 `verilog-auto-star-save' off. Reported by Dan Dever.
15607 (verilog-auto-reset, verilog-read-always-signals)
15608 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15609 temporary signals in reset list if
15610 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
15611 style to each signal's assignment type, bug381.
15612 Reported by Thomas Esposito.
6288f0ca
WS
15613 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15614 (verilog-uvm-statement-re): Support UVM indentation and
15615 highlighting, with old OVM keywords only.
a1beca85 15616 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
15617 Support AUTOTIEOFF creating non-wire data types.
15618 Suggested by Jonathan Greenlaw.
6288f0ca
WS
15619 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15620 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15621 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
15622 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15623 Fix mismatching parenthesis inside commented out code when deleting
382c953b 15624 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
15625 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15626 non-numeric vector width. Reported by Alex Reed.
15627 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 15628 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
15629 (verilog-auto-delete-trailing-whitespace):
15630 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
15631 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15632 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15633 Fix verilog-scan-cache corruption when running user AUTO expansion
15634 hooks that call indentation routines.
15635 (verilog-simplify-range-expression): Fix typo ignoring lower case
15636 identifiers.
15637 (verilog-delete-auto): Fix delete-autos to also remove user created
15638 automatics, as long as they start with AUTO.
15639 (verilog-batch-diff-auto, verilog-diff-auto)
15640 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15641 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15642 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15643 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
15644 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15645 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
15646 is disabled and its cache will get corrupt, causing AUTOS not to
15647 expand. Instead use only -quick functions.
15648 (verilog-scan-region): Fix scanning over escaped quotes.
15649 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15650 (verilog-re-search-backward-quick)
15651 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15652 related functions now ignore strings, to fix misparsing of strings
15653 with magic comments embedded in them.
a1beca85
SM
15654 (verilog-read-auto-template):
15655 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15656 Reported by Brad Dobbie.
15657 (verilog-read-auto-template):
15658 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 15659 Reported by Brad Dobbie.
6288f0ca
WS
15660 (verilog-auto-inst, verilog-auto-inst-param)
15661 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15662 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15663 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
15664 debugging templates without merge conflicts, bug357.
15665 Reported by Brad Dobbie.
15666 (verilog-read-auto-template):
15667 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
15668 Reported by Brad Dobbie.
15669 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15670 abbrevs so user won't be asked to save.
15671 (verilog-read-auto-lisp-present): Fix to start at beginning of
15672 buffer in case called outside of verilog-auto.
15673 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15674 to "X-2". Reported by Matthew Myers.
15675 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15676 all inputs from module templates. Reported by Leith Johnson.
15677 (verilog-module-inside-filename-p): Fix locating programs as with
15678 modules.
15679 (verilog-auto-inst-port): Fix vl-width expressions when using
15680 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15681 (verilog-decls-get-regs, verilog-decls-get-signals,
15682 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15683 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15684 verilog-read-decls): Combine reg and wire structures into one var
15685 structure to represent SystemVerilog concepts.
15686 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15687 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
15688 (verilog-auto-wire-type, verilog-insert-definition):
15689 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
15690 SystemVerilog "logic" keyword instead of "wire"/"reg".
15691 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15692 to declares outputs that also have assignments (presumably in an
a1beca85
SM
15693 ifdef or generate if so there's not a driver conflict).
15694 Reported by Matthew Myers.
15695 (verilog-auto-declare-nettype, verilog-insert-definition):
15696 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
15697 `default_nettype none. Reported by Julian Gorfajn.
15698 (verilog-read-always-signals-recurse, verilog-read-decls)
15699 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15700 malformed end statement, bug325. Reported by Joshua Wise and
15701 Andrew Drake.
15702 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15703 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
15704 when expanding .* in interfaces, bug320.
15705 Reported by Pierre-David Pfister.
6288f0ca 15706 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
15707 name and open parenthesis, bug317.
15708 Reported by Pierre-David Pfister.
6288f0ca
WS
15709 (verilog-simplify-range-expression): Fix simplification of
15710 multiplications inside AUTOWIRE connections, bug303.
15711 (verilog-auto-inst-port): Support parameter expansion in
15712 multidimensional arrays.
15713 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15714 after "assert property". Reported by Julian Gorfajn.
15715 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15716 with multiplication, bug303.
15717 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15718 Reported by Jan Frode Lonnum.
15719
1bbe96b2
GM
157202011-11-30 Juanma Barranquero <lekktu@gmail.com>
15721
15722 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15723 (hfy-shell-file-name, hfy-shell):
15724 * international/fontset.el (x-decompose-font-name): Fix typos.
15725
157262011-11-29 Ken Brown <kbrown@cornell.edu>
15727
15728 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15729 (gdb-version): Remove defvar.
15730 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15731 (gdb-gud-context-command, gdb-non-stop-handler)
15732 (gdb-current-context-command, gdb-stopped): Use it.
15733 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
15734 (gdb-non-stop-handler): Don't enable pretty-printing here.
15735 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
15736 non-stop mode. Use the following.
15737 (gdb-check-target-async): New defun.
15738 (gud-watch, gdb-stopped): Fix whitespace.
15739 (gdb-get-source-file): Don't try to display the source file if
15740 `gdb-main-file' is nil.
15741
157422011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15743
15744 * align.el: Try to generate fewer markers (bug#10047).
15745 (align--set-marker): New macro.
15746 (align-region): Use it.
15747
c935221f
SM
157482011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15749
15750 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15751
e70b5064
CY
157522011-11-29 Chong Yidong <cyd@gnu.org>
15753
15754 * indent.el (indent-for-tab-command, indent-according-to-mode):
15755 Doc fix.
15756 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15757
f3af92b7
MA
157582011-11-29 Michael Albinus <michael.albinus@gmx.de>
15759
15760 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15761 aware of remote file names. (Bug#10124)
15762
ed472be9
CY
157632011-11-29 Chong Yidong <cyd@gnu.org>
15764
15765 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15766
24510c22
SM
157672011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15768
15769 * files.el (find-file): Don't use force-same-window (bug#10144).
15770 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15771 use pop-to-buffer if the selected window can't be used.
15772 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15773
c60c3703
EZ
157742011-11-28 Eli Zaretskii <eliz@gnu.org>
15775
15776 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15777 special-mode-map.
15778
e95def75
CY
157792011-11-28 Chong Yidong <cyd@gnu.org>
15780
15781 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15782
c3f1c606
NR
157832011-11-27 Nick Roberts <nickrob@snap.net.nz>
15784
15785 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15786 gdb-get-source-file-list on gdb-create-source-file-list.
15787
00db469c
EZ
157882011-11-26 Eli Zaretskii <eliz@gnu.org>
15789
15790 * whitespace.el (whitespace-newline): Use a different foreground
15791 color for 16-color light-background displays.
15792
4ad3bc2a
CY
157932011-11-24 Chong Yidong <cyd@gnu.org>
15794
15795 * window.el (display-buffer--special-action): Doc fix.
15796
e9fce1ac
JB
157972011-11-25 Juanma Barranquero <lekktu@gmail.com>
15798
15799 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15800 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15801 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15802 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15803 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15804 (avl-tree-stack-first):
15805 * emacs-lisp/cconv.el (cconv--analyse-use):
15806 * net/gnutls.el (gnutls-negotiate): Fix typos.
15807
cb825e5d
GM
158082011-11-24 Glenn Morris <rgm@gnu.org>
15809
3adbe224
GM
15810 * lpr.el (lpr-windows-system, lpr-lp-system):
15811 * mail/binhex.el (binhex-begin-line):
15812 * progmodes/grep.el (grep-history, grep-find-history):
15813 * textmodes/flyspell.el:
15814 * vc/pcvs-defs.el (cvs-global-menu):
15815 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15816 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15817 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15818
321decc8
GM
15819 * net/tls.el: Fix case of "GnuTLS".
15820
420b63ad
GM
15821 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15822
cb825e5d
GM
15823 * version.el (emacs-build-system): Give it a doc-string.
15824
a0649f08
JL
158252011-11-24 Juri Linkov <juri@jurta.org>
15826
15827 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15828
c0bc0fd4
GM
158292011-11-24 Glenn Morris <rgm@gnu.org>
15830
15831 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15832 if called on a non-mime message just toggle the headers. (Bug#8006)
15833
20db1522
JB
158342011-11-24 Juanma Barranquero <lekktu@gmail.com>
15835
15836 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15837 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15838 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15839 (allout-rebullet-heading, allout-open-sibtopic)
15840 (allout-toggle-current-subtree-encryption)
15841 (allout-toggle-subtree-encryption, allout-encrypt-string)
15842 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15843 (allout-distinctive-bullets-string, allout-auto-activation):
15844 * window.el (window-normalize-buffer-to-display):
15845 * progmodes/verilog-mode.el (verilog-batch-indent):
15846 * textmodes/bibtex.el (bibtex-field-braces-opt)
15847 (bibtex-field-strings-opt):
15848 * vc/cvs-status.el (cvs-tree-merge):
15849 Fix typos.
15850
7262a87c
MA
158512011-11-23 Michael Albinus <michael.albinus@gmx.de>
15852
15853 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15854 `non-essential' to t, in order to avoid remote connections.
15855
283430a1
EZ
158562011-11-23 Eli Zaretskii <eliz@gnu.org>
15857
a1beca85
SM
15858 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15859 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
15860 case-insensitively.
15861
d2992a38
ML
158622011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15863
15864 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15865
50419064
GM
158662011-11-23 Glenn Morris <rgm@gnu.org>
15867
da94eca1
GM
15868 * paths.el (rmail-file-name): Reformat the doc-string so that it
15869 is picked up.
15870
9aac4de2
GM
15871 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15872 (rmail-auto-file): Ignore case in the "special" field names,
15873 as mail-fetch-field does for all others.
15874
8038d2d2
GM
15875 * mail/rmail.el (rmail-forward):
15876 * mail/rmailkwd.el (rmail-set-label):
15877 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15878 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15879
f3fe222a
GM
15880 * mail/rmail.el (rmail-current-message): Doc fix.
15881
50419064
GM
15882 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15883
28109f49
SM
158842011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15885
15886 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15887
394c65f1
GM
158882011-11-22 Glenn Morris <rgm@gnu.org>
15889
15890 * mail/rmailmm.el (test-rmail-mime-handler)
15891 (test-rmail-mime-bulk-handler)
15892 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15893
f2a0aa3a
JL
158942011-11-21 Juri Linkov <juri@jurta.org>
15895
1154d12e
JB
15896 * calc/calc.el (calc-read-key-sequence):
15897 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 15898
9c34a344
LMI
158992011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15900
15901 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15902 Tell the caller that the next line needs recomputation, even
15903 though it doesn't start a sexp (bug#10094).
15904
f04a3be9
SM
159052011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15906
15907 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15908
7978747f
SM
159092011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15910
f04a3be9
SM
15911 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15912 Use force-same-window.
7978747f 15913
fe7a3057
JB
159142011-11-20 Juanma Barranquero <lekktu@gmail.com>
15915
15916 * descr-text.el (describe-char-unicode-data):
15917 * json.el (json-string-escape):
15918 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15919 (Footnote-unicode, Footnote-style-p):
15920 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15921
24901d61
CY
159222011-11-20 Chong Yidong <cyd@gnu.org>
15923
15924 * window.el (replace-buffer-in-windows): Restore interactive spec.
15925
bac7ff22
SM
159262011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15927
24f3d7b9
SM
15928 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15929
bac7ff22
SM
15930 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15931 (byte-compile-global-not-obsolete-vars): New var.
15932 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15933 Use it.
15934 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15935
cd1181db
JB
159362011-11-20 Juanma Barranquero <lekktu@gmail.com>
15937
15938 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15939 * progmodes/pascal.el (electric-pascal-equal):
15940 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15941 * xml.el (xml-substitute-special): Fix typos.
15942
7fb18e9e
GM
159432011-11-20 Glenn Morris <rgm@gnu.org>
15944
15945 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15946 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15947 Doc fixes.
15948 (rmail-decode-mime-charset): Mark as obsolete.
15949
15950 * mail/rmailsum.el (rmail-message-regexp-p-1):
15951 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15952 Before using mime functions, check they are set. (Bug#10077)
15953
d5a6b3ba
JL
159542011-11-19 Juri Linkov <juri@jurta.org>
15955
15956 * info.el (Info-finder-find-node): Use `package--builtins' instead
15957 of `package-alist'. Use node names formed by the pattern "Keyword "
15958 and the keyword name.
15959
e981b61f
AS
159602011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15961
1d00653d 15962 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 15963
3ffbc301
JL
159642011-11-19 Juri Linkov <juri@jurta.org>
15965
15966 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15967 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15968 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15969 `old-history', `old-history-forward'. Add let-binding
15970 `window-selected'. Remove calls to `kill-buffer',
15971 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15972 before calling `Info-find-node', so `Info-find-node-2' will reread
15973 the Info file. Restore window positions only when `window-selected'
15974 is non-nil.
15975
30c62133
JL
159762011-11-19 Juri Linkov <juri@jurta.org>
15977
15978 * isearch.el (isearch-lazy-highlight-new-loop):
15979 Remove condition `(not isearch-error)'. (Bug#9918)
15980
15981 * misearch.el (multi-isearch-search-fun): Add condition
15982 `(not bound)' to ignore lazy-highlighting search.
15983 Add the search-failed message "end of multi" when the end of
15984 multi-sequence is reached. Uncapitalize the search-failed
15985 message "Repeat for next buffer".
15986
15987 * info.el (Info-search): Add the search-failed message
15988 "end of the manual" when the end of the manual is reached
15989 in Isearch mode.
15990
645ca9cf
JL
159912011-11-19 Juri Linkov <juri@jurta.org>
15992
15993 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15994 Use non-destructive `remove' instead of `delete' because
15995 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15996 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15997
df754f66
JL
159982011-11-19 Juri Linkov <juri@jurta.org>
15999
16000 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
16001 to nil instead of binding `search-ring' and `regexp-search-ring'.
16002 (Bug#9185)
16003
0e23d96a
EZ
160042011-11-19 Eli Zaretskii <eliz@gnu.org>
16005
16006 * simple.el (line-move): Force movement by logical lines for any
16007 hscrolled window, not only when auto-hscroll-mode is on.
16008 (line-move-visual): Update doc string to that effect. (Bug#10076)
16009
8a6ccb66
AS
160102011-11-19 Andreas Schwab <schwab@linux-m68k.org>
16011
16012 * language/european.el (macintosh): Define as alias for mac-roman.
16013
49ae5b39
EZ
160142011-11-19 Eli Zaretskii <eliz@gnu.org>
16015
16016 * mail/rmailmm.el (rmail-mime-display-header)
16017 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
16018 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
16019 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
16020 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
16021 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
16022 of a raw aref.
16023 (rmail-mime-entity-segment): To get past the tagline, move forward
16024 2 more lines, to account for the 2 empty lines that precede and
16025 follow the line with the buttons.
16026 (rmail-mime-update-tagline): Move one more line, to get past the
16027 empty line that follows the buttons in the tagline. (Bug#9520)
16028
c56cad4a
MR
160292011-11-19 Martin Rudalics <rudalics@gmx.at>
16030
16031 * window.el (window-max-delta-1, window-min-delta-1)
16032 (window-min-size-1, window-state-get-1, window-state-put-1)
16033 (window-state-put-2): Use "window--" prefix.
16034
cbe71af3
SM
160352011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16036
2ad52c60
SM
16037 * emacs-lisp/smie.el: Improve warnings and conflict detection.
16038 (smie-warning-count): New var.
16039 (smie-set-prec2tab): Use it.
16040 (smie-bnf->prec2): Improve warnings. Add docstring.
16041 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
16042 (smie-bnf--set-class): New function.
16043 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
16044 corner case.
16045
6944dbc1
SM
16046 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
16047 (compilation-error-properties, compilation-move-to-column):
16048 Handle compilation-first-column while in the target buffer.
16049
c400c4d7
SM
16050 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
16051 Don't hardcode point-min==1.
16052
6dbe3e96
SM
16053 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
16054 (eshell-rewrite-for-command): Remove workaround.
16055 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
16056 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
16057 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
16058
cbe71af3
SM
16059 * files-x.el (modify-file-local-variable): Obey commenting conventions.
16060
a8e1496d
GM
160612011-11-17 Glenn Morris <rgm@gnu.org>
16062
16063 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16064 Ignore buffer-local generated-autoload-file if it is the same
16065 as the global value. (Bug#10049)
16066
df85d315
JB
160672011-11-17 Juanma Barranquero <lekktu@gmail.com>
16068
16069 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
16070 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
16071 (reftex-toc-previous-heading, reftex-toc-max-level)
16072 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
16073 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
16074 (reftex-toc-do-promote, reftex-toc-promote-prepare)
16075 (reftex-toc-promote-action, reftex-toc-extract-section-number)
16076 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
16077 (reftex-toc-rename-label, reftex-toc-visit-location)
16078 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
16079 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
16080 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
16081 leaving "*toc*" only for references to the buffer.
16082
a0c2d0ae
MR
160832011-11-17 Martin Rudalics <rudalics@gmx.at>
16084
16085 * window.el (window-resize, delete-window, split-window):
16086 Replace window-splits by window-combination-resize.
1d00653d 16087 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 16088
35c0bac8
GM
160892011-11-17 Glenn Morris <rgm@gnu.org>
16090
16091 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16092 Make bash entry derive from sh entry, not shell entry.
16093
d0c8fc8a
MA
160942011-11-16 Michael Albinus <michael.albinus@gmx.de>
16095
7262a87c
MA
16096 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
16097 local file name.
16098
7877f373
JB
160992011-11-16 Juanma Barranquero <lekktu@gmail.com>
16100
16101 * menu-bar.el (menu-bar-file-menu):
16102 * printing.el (pr-ps-utility):
16103 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
16104 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
16105 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
16106 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
16107 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
16108 (icalendar--convert-cyclic-to-ical)
16109 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
16110 (icalendar--convert-ical-to-diary)
16111 (icalendar--convert-recurring-to-diary)
16112 (icalendar--convert-non-recurring-all-day-to-diary)
16113 (icalendar-import-format-sample):
16114 * progmodes/idlw-shell.el (idlwave-shell-mode):
16115 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16116 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16117 (vhdl-ps-print-init): Fix typos.
16118
10649b82
KM
161192011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16120
9d0cfcd6
GM
16121 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16122 FSF and collapse date sequence, obscure author/maintainer email address
16123 better, remove extra version line, track relocation of author's webpage.
10649b82 16124
9d0cfcd6
GM
16125 * progmodes/python.el (python-pdbtrack-input-prompt)
16126 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16127 regular python pdb prompts. Adjustments shamelessly taken exactly as
16128 suggested in EmacsWiki page (tiny change):
16129 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 16130
58179cce
JB
161312011-11-16 Juanma Barranquero <lekktu@gmail.com>
16132
16133 * expand.el (expand-pos, expand-index, expand-point):
16134 Remove redundant info from docstring.
16135 (expand-add-abbrevs): Doc fix.
16136 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16137 (expand-sample-perl-mode-expand-list): Fix typos.
16138
16139 * net/dbus.el (dbus-event-member-name):
16140 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16141 * term/pc-win.el (msdos-create-frame-with-faces):
16142 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16143
b6f67890
MR
161442011-11-16 Martin Rudalics <rudalics@gmx.at>
16145
16146 * window.el (split-window, window-state-get-1)
16147 (window-state-put-1, window-state-put-2): Rename occurrences of
16148 window-nest to window-combination-limit.
1d00653d 16149 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 16150
ce7ddba0
CY
161512011-11-16 Chong Yidong <cyd@gnu.org>
16152
16153 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16154 regexp (Bug#10033).
16155
3ae704f4
SM
161562011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16157
16158 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16159 `completing-read' will remove *Completions* and will preserve
16160 current-buffer for us.
16161 (tmm-add-prompt): Users of *Completions* will always (re)set its
16162 major mode.
16163 (tmm-old-comp-map): Remove.
16164
6ad1cdde
GM
161652011-11-16 Glenn Morris <rgm@gnu.org>
16166
16167 * mail/rmailedit.el: Require rmailmm when compiling.
16168 (rmail-old-mime-state): New declaration.
16169 (rmail-edit-current-message): If editing a mime message,
16170 edit the "raw" message from the mbox buffer.
16171 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16172
d20faa20
GM
161732011-11-15 Glenn Morris <rgm@gnu.org>
16174
16175 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16176 which wasn't being used. Add optional arg to force given state.
16177 (rmail-mime): Add optional arg to force given state.
16178
c7015153
JB
161792011-11-15 Juanma Barranquero <lekktu@gmail.com>
16180
16181 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16182 * frame.el (display-mm-dimensions-alist):
16183 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16184 (outline-move-subtree-down):
16185 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16186 (newsticker--treeview-do-get-node):
16187 * net/quickurl.el (quickurl-list-buffer-name):
16188 * progmodes/dcl-mode.el (dcl-mode):
16189 * progmodes/gdb-mi.el (gdb-mapcar*):
16190 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16191
45261b50
GM
161922011-11-15 Glenn Morris <rgm@gnu.org>
16193
16194 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16195 in a boolean sense, so just make it a boolean, and fix the doc.
16196 (rmail-show-mime-function, rmail-mime-feature)
16197 (rmail-require-mime-maybe): Doc fixes.
16198 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16199
16200 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16201
0d26e0b6
JB
162022011-11-15 Juanma Barranquero <lekktu@gmail.com>
16203
16204 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16205 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16206 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16207 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16208
447f30f6
GM
162092011-11-15 Glenn Morris <rgm@gnu.org>
16210
672b871d
GM
16211 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16212 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16213 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16214 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16215 (rmail-mime, rmail-show-mime): Doc fixes.
16216
f6aa5bb1
GM
16217 * term/ns-win.el (mode-line-frame-identification):
16218 Leave it alone. (Bug#10051)
16219
947cd66b
GM
16220 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16221
447f30f6
GM
16222 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16223 Handle empty buffers. (Bug#9978)
16224
0b381c7e
JB
162252011-11-14 Juanma Barranquero <lekktu@gmail.com>
16226
16227 * international/mule.el (define-charset):
16228 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16229 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16230 * progmodes/verilog-mode.el (verilog-backward-token):
16231 * textmodes/ispell.el (lookup-words):
16232 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16233
71e027ac
GM
162342011-11-14 Glenn Morris <rgm@gnu.org>
16235
56632ce4
GM
16236 * progmodes/executable.el
16237 (executable-make-buffer-file-executable-if-script-p):
16238 Handle file-modes returning nil.
16239
40500957
GM
16240 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16241 message - not necessary, and causes problems. (Bug#9831)
16242
071c2340
GM
16243 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16244
d3cfca60
GM
16245 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16246
71e027ac
GM
16247 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16248 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16249 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16250
89d61221
MR
162512011-11-12 Martin Rudalics <rudalics@gmx.at>
16252
16253 * window.el (window-resize, delete-window): Use window-splits
16254 variable instead of function.
16255 (window-state-get-1, window-state-put-2, window-state-put):
16256 Don't deal with windows' splits status.
16257
98282f6f
GM
162582011-11-12 Glenn Morris <rgm@gnu.org>
16259
16260 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16261 (apropos-documentation): Doc fixes.
16262
40a8bdf6
JB
162632011-11-11 Juanma Barranquero <lekktu@gmail.com>
16264
16265 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16266 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16267
65bd19ff
SM
162682011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16269
16270 * electric.el (electric-indent-post-self-insert-function): Make it
16271 possible for a char to only indent in some circumstances.
16272 (electric-indent-mode): Simplify.
16273
54f9154c
MR
162742011-11-11 Martin Rudalics <rudalics@gmx.at>
16275
16276 * window.el (windows-with-parameter): Remove unused function.
16277 (windows-at-side): Rename to window-at-side-list.
16278 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
16279 (window-side-check, window-size-ignore, window-size-fixed-1)
16280 (window-in-direction-2): Prefix with "window--".
16281 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 16282
68cbc58b
GM
162832011-11-11 Glenn Morris <rgm@gnu.org>
16284
16285 * subr.el (eval-after-load): If FILE is already loaded,
16286 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16287
b2621720
GM
162882011-11-10 Glenn Morris <rgm@gnu.org>
16289
9a4de110
GM
16290 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16291 Call svn via vc-svn-command rather than vc-do-command.
16292 (vc-svn-command): Add --non-interactive. (Bug#9993)
16293 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16294
b2621720
GM
16295 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16296 Add toggle-read-only. (Bug#7292)
16297 * files.el (toggle-read-only): Mention that it should only
16298 be used interactively. (Bug#10006)
16299
1dce7193
SM
163002011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16301
d9ac1a1e
SM
16302 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16303 Adjust regexp for OCaml warnings.
16304
0c325082
SM
16305 * electric.el (electric-pair-post-self-insert-function): Let user
16306 turn it off buffer-locally (bug#9932).
16307
90132c14
SM
16308 * progmodes/python.el (python-beginning-of-statement):
16309 Rewrite (bug#2703).
16310
1dce7193
SM
16311 * progmodes/compile.el: Better handle TABs (bug#9749).
16312 (compilation-internal-error-properties)
16313 (compilation-next-error-function): Obey the target buffer's
16314 compilation-error-screen-columns.
16315
c4e7c63a
JB
163162011-11-09 Juanma Barranquero <lekktu@gmail.com>
16317
16318 * progmodes/meta-mode.el: Remove obsolete comments.
16319 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16320 Fix typos in docstrings.
16321
2cffd681
MR
163222011-11-09 Martin Rudalics <rudalics@gmx.at>
16323
16324 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 16325 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
16326 (window--resizable): New function. Make all callers of
16327 window-resizable call window--resizable instead.
16328 (window-resizable): Rewrite in terms of window--resizable.
16329
0edcba87
GM
163302011-11-08 Glenn Morris <rgm@gnu.org>
16331
16332 * progmodes/delphi.el (delphi-mode-syntax-table):
16333 Let define-derived-mode define a proper syntax table. (Bug#9994)
16334
4b0d61e3
SM
163352011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16336
16337 * window.el: Stay away from defsubst.
16338 (window-list-no-nils): Remove.
16339 (window-state-get-1, window-state-get): Use backquote instead.
16340
cd394be1 163412011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 16342
4b0d61e3 16343 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 16344 Fix incorrect use of default argument in `completing-read'.
16345
e1c2c6f2
MR
163462011-11-08 Martin Rudalics <rudalics@gmx.at>
16347
16348 * window.el (display-buffer-function, special-display-function):
16349 Mention display-buffer-record-window but do not mention
16350 help-setup parameter in doc-strings.
b3f4a882 16351 (window-min-delta): Fix doc-string typo.
e1c2c6f2 16352
105216ed
CY
163532011-11-08 Chong Yidong <cyd@gnu.org>
16354
16355 * window.el (window-total-height, window-total-width): Doc fix.
16356 (window-body-size): Move from C.
16357 (window-body-height, window-body-width): Move to C.
16358
0a9f9ab5
SM
163592011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16360
16361 * window.el: Make special-display like display-buffer-alist (bug#9532).
16362 (display-buffer--special-action): New function, morphed
16363 from display-buffer--special.
16364 (display-buffer): Use it to handle special-display-buffers at higher
16365 priority (just after display-buffer-alist).
16366 (display-buffer-fallback-action, display-buffer--other-frame-action)
16367 (pop-to-buffer-same-window): Remove display-buffer--special.
16368
a769dd15
GM
163692011-11-07 Glenn Morris <rgm@gnu.org>
16370
16371 * calendar/cal-menu.el (cal-menu-set-date-title):
16372 Do nothing if not in a calendar. (Bug#9976)
16373
05a61ee3
SM
163742011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16375
16376 * files.el (find-file): Always use selected-window.
16377
be7f5545
MR
163782011-11-07 Martin Rudalics <rudalics@gmx.at>
16379
16380 * window.el (window-combinations): Make WINDOW argument
16381 mandatory. Rewrite doc-string.
16382 (walk-window-subtree, window-atom-check, window-min-delta)
16383 (window-max-delta, window--resize-this-window)
16384 (window--resize-root-window-vertically, window-tree)
16385 (balance-windows, window-state-put): Rewrite doc-strings as to
16386 not mention the term "subwindow".
16387 (window--resize-subwindows-skip-p): Rename to
16388 window--resize-child-windows-skip-p.
16389 (window--resize-subwindows-normal): Rename to
16390 window--resize-child-windows-normal.
16391 (window--resize-subwindows): Rename to
16392 window--resize-child-windows.
16393 (window-or-subwindow-p): Rename to window--in-subtree-p.
16394
3c6702ef
ML
163952011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16396
16397 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16398 Ensure that mbox format messages end in two newlines (Bug#9974).
16399
49745b39
CY
164002011-11-06 Chong Yidong <cyd@gnu.org>
16401
16402 * window.el (window-combination-p): Function deleted; its
16403 side-effect is not used in any existing code.
16404 (window-combinations, window-combined-p): Call window-*-child
16405 directly.
16406
24300f5f
CY
164072011-11-05 Chong Yidong <cyd@gnu.org>
16408
16409 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
16410 (window-size-ignore, window-state-get): Callers changed.
16411 (window-normalize-window): Rename from window-normalize-any-window.
16412 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 16413 (window-normalize-live-window): Delete.
447f16b8
CY
16414 (window-combination-p, window-combined-p, window-combinations)
16415 (walk-window-subtree, window-atom-root, window-min-size)
16416 (window-sizable, window-sizable-p, window-size-fixed-p)
16417 (window-min-delta, window-max-delta, window-resizable)
16418 (window-resizable-p, window-full-height-p, window-full-width-p)
16419 (window-current-scroll-bars, window-point-1, set-window-point-1)
16420 (window-at-side-p, window-in-direction, window-resize)
16421 (adjust-window-trailing-edge, maximize-window, minimize-window)
16422 (window-deletable-p, delete-window, delete-other-windows)
16423 (record-window-buffer, unrecord-window-buffer)
16424 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16425 (quit-window, split-window, window-state-put)
16426 (set-window-text-height, fit-window-to-buffer)
16427 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 16428
89bd5ee1
EZ
164292011-11-04 Eli Zaretskii <eliz@gnu.org>
16430
53479029
EZ
16431 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16432 rfc2047-decode-string.
16433 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16434 warnings.
16435
89bd5ee1
EZ
16436 * window.el (window-body-height, window-body-width): Mention in
16437 the doc string that the return values are in frame's canonical
16438 units. (Bug#9949)
16439
bd17fdee
AM
164402011-11-03 Alan Mackenzie <acm@muc.de>
16441
16442 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16443 change in cc-engine.el.
16444
acc825c5
SM
164452011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16446
16447 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16448
1885e5b8
MR
164492011-11-02 Martin Rudalics <rudalics@gmx.at>
16450
16451 * window.el (quit-window): Call unrecord-window-buffer after
16452 showing another buffer in the window. (Bug#9937)
acc825c5 16453 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 16454
ebe06da9
JB
164552011-11-02 Juanma Barranquero <lekktu@gmail.com>
16456
16457 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16458 Accept status with more than 9 shelves. (Bug#9935)
16459 Reported by Colin D Bennett <colin@gibibit.com>.
16460
4ee88440
MR
164612011-11-01 Martin Rudalics <rudalics@gmx.at>
16462
16463 * help.el (with-help-window): Don't reference
16464 temp-buffer-show-specifiers in doc-string.
16465
08e1d82c
AS
164662011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16467
16468 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16469 menu-item.
16470
84bd6e9e
VJL
164712011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16472
16473 * whitespace.el: New version 13.2.2.
16474 (whitespace-newline-mode): Disable properly. Reported by Sarah
16475 <EmacsWiki>.
16476
dba0634a
UJ
164772011-10-30 Ulf Jasper <ulf.jasper@web.de>
16478
16479 * net/newst-treeview.el: Remove "Time-stamp".
16480 (newsticker--group-manage-orphan-feeds): Do not call
16481 newsticker--treeview-tree-update.
db22a3c2
JB
16482 (newsticker-treeview-update, newsticker-treeview):
16483 Call newsticker--treeview-tree-update if necessary.
dba0634a 16484
3d8daefe
MR
164852011-10-30 Martin Rudalics <rudalics@gmx.at>
16486
16487 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
16488 (window-iso-combinations): Remove "iso-" infix.
16489 Suggested by Chong Yidong.
3d8daefe
MR
16490 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16491 (window-max-delta-1, window-resize, window--resize-siblings)
16492 (window--resize-this-window, adjust-window-trailing-edge)
16493 (split-window, balance-windows-1)
16494 (shrink-window-if-larger-than-buffer):
16495 * calendar/calendar.el (calendar-generate-window):
db22a3c2 16496 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 16497
1bc4c3ae
SM
164982011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16499
16500 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16501 in place (bug#9907).
16502 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16503 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16504 (eshell-structure-basic-command, eshell-rewrite-while-command)
16505 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16506 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16507 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16508 (eshell-do-pipelines-synchronously, eshell-eval-command):
16509 Use backquotes and prefer setq to set.
16510 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16511 (eshell-macrop): Use functionp.
c1e2f5fa 16512 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 16513
30b65d9c
CY
165142011-10-30 Chong Yidong <cyd@gnu.org>
16515
16516 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16517 instead of set-mark (Bug#9810).
16518
2d197ffb
CY
165192011-10-30 Chong Yidong <cyd@gnu.org>
16520
16521 * window.el (split-window-below, split-window-right): Rename from
16522 split-window-above-each-other and split-window-side-by-side
16523 respectively. All callers changed.
16524 (split-window-sensibly, split-window-sensibly): Use them.
16525 (split-window-keep-point): Doc fix.
16526
16527 * isearch.el: Add isearch-scroll property to split-window-below
16528 and split-window-right.
16529
16530 * follow.el (follow-mode):
16531 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16532 * progmodes/ada-xref.el (ada-gdb-application):
16533 * emulation/vip.el (vip-buffer-in-two-windows):
16534 * image-dired.el (image-dired-dired-with-window-configuration):
16535 * dired-x.el (dired-do-find-marked-files):
16536 * dired.el (dired-pop-to-buffer):
16537 * bs.el (bs--show-with-configuration):
16538 * vc/emerge.el (emerge-setup-windows):
16539 * textmodes/two-column.el (2C-two-columns):
16540 * textmodes/reftex-toc.el (reftex-toc):
16541 * progmodes/gdb-mi.el (gdb-setup-windows):
16542 * progmodes/fortran.el (fortran-window-create):
16543 * net/newst-treeview.el (newsticker--treeview-window-init):
16544 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16545 * emulation/tpu-edt.el (tpu-gold-map):
16546 * emulation/crisp.el (crisp-mode-map):
16547 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16548
38bb2ca8
CY
165492011-10-29 Chong Yidong <cyd@gnu.org>
16550
aa4de341
CY
16551 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16552
e1eb5385
CY
16553 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16554
5d2ece3c
CY
16555 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16556 forged Ispell output (Bug#7904).
16557
38bb2ca8
CY
16558 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16559
d0af9f77
SM
165602011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16561
16562 * doc-view.el: Avoid ugly errors about not finding nil.
16563 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16564 (doc-view-dvipdf-program, doc-view-unoconv-program)
16565 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16566 Avoid nil or absolute file name as default value.
16567 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16568
52bedd34
AM
165692011-10-28 Alan Mackenzie <acm@muc.de>
16570
db22a3c2 16571 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 16572
7e43cfa5
AM
165732011-10-28 Alan Mackenzie <acm@muc.de>
16574
16575 Amend the handling of c-beginning/end-of-defun in nested declaration
16576 scopes.
16577
52bedd34
AM
16578 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16579 cc-langs.el. Change it to a defcustom.
7e43cfa5 16580
52bedd34
AM
16581 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16582 cc-vars.el.
7e43cfa5 16583
d0af9f77
SM
16584 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16585 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 16586
52bedd34 16587 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 16588 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
16589 (c-widen-to-enclosing-decl-scope): New function.
16590 (c-while-widening-to-decl-block): New macro.
16591 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16592 outward for defun boundaries, and correspondingly change symbol
16593 `respect-enclosure' to `go-outward'.
16594 (c-declaration-limits): Change algorithm to report only the "innermost"
16595 defun's boundaries.
16596
1a2ce9ee
DD
165972011-10-28 Deniz Dogan <deniz@dogan.se>
16598
16599 * net/rcirc.el (rcirc-mode): Use hard newlines.
16600
bc97a826
AM
166012011-10-28 Alan Mackenzie <acm@muc.de>
16602
16603 Amend to indent and fontify macros "which include their own semicolon"
16604 correctly, using the "virtual semicolon" mechanism.
16605
52bedd34 16606 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 16607
d0af9f77 16608 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 16609 Recode to scan one line at a time rather than having \n and \r
58179cce 16610 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 16611 (c-forward-label): Amend for virtual semicolons.
58179cce 16612 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 16613
52bedd34
AM
16614 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16615 of the new C macros.
bc97a826 16616
52bedd34 16617 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
16618 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16619 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
16620 (c-opt-cpp-macro-define): Make into a full language variable.
16621 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16622 AWK Mode (including \n, \r) removed, no longer needed.
16623
d0af9f77
SM
16624 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16625 Invoke c-make-macro-with-semi-re.
bc97a826 16626
52bedd34
AM
16627 * progmodes/cc-vars.el (c-macro-with-semi-re):
16628 (c-macro-names-with-semicolon): New variables.
58179cce 16629 (c-make-macro-with-semi-re): New function.
bc97a826 16630
7a6c0941
SM
166312011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16632
16633 * vc/log-edit.el: Fill empty field rather than adding new one.
16634 (log-edit-add-field): New function.
16635 (log-edit-insert-changelog): Use it.
16636
b0c4cdcf
ML
166372011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16638
16639 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16640
ee1f1da9
SM
166412011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16642
16643 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16644 (gdb--check-interpreter): New function.
16645 (gdb): Use it.
16646
51bc5f8b
GM
166472011-10-27 Glenn Morris <rgm@gnu.org>
16648
416a2c45
GM
16649 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16650 (least-positive-float, least-negative-float)
16651 (least-positive-normalized-float, least-negative-normalized-float)
16652 (float-epsilon, float-negative-epsilon):
16653 Remove unnecessary declarations.
16654
16655 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16656 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16657 (least-positive-float, least-negative-float)
16658 (least-positive-normalized-float, least-negative-normalized-float)
16659 (float-epsilon, float-negative-epsilon): Add doc-strings,
16660 based on those in cl.texi.
16661
51bc5f8b
GM
16662 * files.el (set-visited-file-name): If the major-mode changed,
16663 reload the local variables. (Bug#9796)
16664
15de15c6
CY
166652011-10-27 Chong Yidong <cyd@gnu.org>
16666
16667 * subr.el (change-major-mode-after-body-hook): New hook.
16668 (run-mode-hooks): Run it.
16669
ee1f1da9
SM
16670 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16671 Use change-major-mode-before-body-hook.
15de15c6
CY
16672
16673 * simple.el (fundamental-mode):
16674 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16675 change introducing fundamental-mode-hook.
16676
5430d399
JB
166772011-10-26 Juanma Barranquero <lekktu@gmail.com>
16678
acc825c5 16679 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 16680
ad74a69e
MA
166812011-10-26 Michael Albinus <michael.albinus@gmx.de>
16682
16683 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 16684 tramp.el explicitly. (Bug#7583)
ad74a69e 16685
71d4c2a5
SM
166862011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16687
16688 * progmodes/octave-mod.el:
16689 * progmodes/octave-inf.el: Update maintainer.
16690
b1f6fa26
CY
166912011-10-26 Chong Yidong <cyd@gnu.org>
16692
16693 * subr.el (with-wrapper-hook): Rewrite doc.
16694
3f04efd6
MA
166952011-10-25 Michael Albinus <michael.albinus@gmx.de>
16696
16697 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 16698 filenames "/method:foo:". (Bug#9793)
3f04efd6 16699
410488d3
SM
167002011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16701
16702 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16703 (bug#9865).
16704
c1ebb47e
GM
167052011-10-24 Glenn Morris <rgm@gnu.org>
16706
16707 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16708
7f5c46c7
MA
167092011-10-24 Michael Albinus <michael.albinus@gmx.de>
16710
16711 * notifications.el: Add the requirement of a running D-Bus session
16712 bus to the Commentary.
16713
db2440b6
JL
167142011-10-24 Juri Linkov <juri@jurta.org>
16715
16716 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16717 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16718 (Bug#9364)
16719
feecf435
JL
167202011-10-24 Juri Linkov <juri@jurta.org>
16721
16722 * info.el (Info-following-node-name-re): Add newline to the list
16723 of allowed characters for leading space. (Bug#9824)
16724
a3839de2
SM
167252011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16726
acc825c5
SM
16727 * progmodes/octave-inf.el (inferior-octave-mode-map):
16728 Fix C-c C-h binding.
a3839de2
SM
16729 * progmodes/octave-mod.el (octave-help): Remove.
16730
09388e76
MA
167312011-10-23 Michael Albinus <michael.albinus@gmx.de>
16732
16733 Sync with Tramp 2.2.3.
16734
16735 * net/tramp-cache.el (top): Pacify byte-compiler using
16736 `init-file-user' and `site-run-file'.
16737
16738 * net/trampver.el: Update release number.
16739
86c60681
CY
167402011-10-23 Chong Yidong <cyd@gnu.org>
16741
16742 * files.el (toggle-read-only): Remove obsolete comment about
16743 version control.
16744
16745 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16746 for toggle-read-only. Note that this hasn't called vc-next-action
16747 since 2008-05-02, though it wasn't documented at the time.
16748
a3839de2
SM
16749 * vc/ediff-init.el (ediff-toggle-read-only-function):
16750 Use toggle-read-only.
86c60681 16751
cd5495ff
AM
167522011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16753
16754 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16755 of c-parse-state.
16756
00b77525 16757 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 16758 correct faulty logical expression.
cd5495ff
AM
16759 (c-parse-state-state, c-record-parse-state-state):
16760 (c-replay-parse-state-state): New defvar/defuns.
16761 (c-debug-parse-state): Use new functions.
16762
42ee24ed
MR
167632011-10-22 Martin Rudalics <rudalics@gmx.at>
16764
16765 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 16766 last fix. Use window-in-direction correctly.
42ee24ed 16767
a7dee7e7
CY
167682011-10-21 Chong Yidong <cyd@gnu.org>
16769
16770 * progmodes/idlwave.el (idlwave-mode):
16771 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
16772 require-final-newline; that's done in prog-mode.
16773 Suggested by Stefan Monnier.
a7dee7e7 16774
e07b9a6d
MR
167752011-10-21 Martin Rudalics <rudalics@gmx.at>
16776
16777 * mouse.el (mouse-drag-window-above)
16778 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16779 (mouse-drag-mode-line-1, mouse-drag-header-line)
16780 (mouse-drag-vertical-line-rightward-window): Remove.
16781 (mouse-drag-line): New function.
16782 (mouse-drag-mode-line, mouse-drag-header-line)
16783 (mouse-drag-vertical-line): Call mouse-drag-line.
16784 * window.el (window-at-side-p, windows-at-side): New functions.
16785
7e1361d9
UM
167862011-10-21 Ulrich Mueller <ulm@gentoo.org>
16787
16788 * tar-mode.el (tar-grind-file-mode):
16789 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16790
30fcaf3a
CY
167912011-10-21 Chong Yidong <cyd@gnu.org>
16792
16793 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
16794 * progmodes/vera-mode.el (vera-mode):
16795 Use mode-require-final-newline.
30fcaf3a 16796
516eddb0
GM
167972011-10-20 Glenn Morris <rgm@gnu.org>
16798
db22a3c2 16799 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 16800
10d5f513
CS
168012011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16802
16803 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16804
ac6c8639
CY
168052011-10-20 Chong Yidong <cyd@gnu.org>
16806
16807 * emulation/cua-base.el (cua-mode):
16808 * mail/footnote.el (footnote-mode):
16809 * mail/mailabbrev.el (mail-abbrevs-mode):
16810 * net/xesam.el (xesam-minor-mode):
16811 * progmodes/bug-reference.el (bug-reference-mode):
16812 * progmodes/cap-words.el (capitalized-words-mode):
16813 * progmodes/compile.el (compilation-minor-mode)
16814 (compilation-shell-minor-mode):
16815 * progmodes/gud.el (gud-tooltip-mode):
16816 * progmodes/hideif.el (hide-ifdef-mode):
16817 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16818 * progmodes/subword.el (subword-mode):
16819 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16820 * progmodes/which-func.el (which-function-mode):
16821 * term/tvi970.el (tvi970-set-keypad-mode):
16822 * term/vt100.el (vt100-wide-mode):
16823 * textmodes/flyspell.el (flyspell-mode):
16824 * textmodes/ispell.el (ispell-minor-mode):
16825 * textmodes/nroff-mode.el (nroff-electric-mode):
16826 * textmodes/paragraphs.el (use-hard-newlines):
16827 * textmodes/refill.el (refill-mode):
16828 * textmodes/reftex.el (reftex-mode):
16829 * textmodes/rst.el (rst-minor-mode):
16830 * textmodes/sgml-mode.el (html-autoview-mode)
16831 (sgml-electric-tag-pair-mode):
16832 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16833 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16834 * emulation/crisp.el (crisp-mode):
16835 * emacs-lisp/eldoc.el (eldoc-mode):
16836 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16837 minor mode behavior.
16838
aa42ab43
JL
168392011-10-19 Juri Linkov <juri@jurta.org>
16840
16841 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16842 the list of hard-coded chars with escape-glyph face.
16843
89400f1d
SM
168442011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16845
16846 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16847
305c07f6
MA
168482011-10-19 Michael Albinus <michael.albinus@gmx.de>
16849
16850 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16851 running process.
16852
13754b54
GM
168532011-10-19 Glenn Morris <rgm@gnu.org>
16854
16855 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16856 Ignore ignored files. (Bug#9726)
16857
06e21633
CY
168582011-10-19 Chong Yidong <cyd@gnu.org>
16859
16860 Doc fix for minor modes, stating that an omitted argument enables
16861 the mode unconditionally when called from Lisp.
16862
16863 * abbrev.el (abbrev-mode):
16864 * allout.el (allout-mode):
16865 * autoinsert.el (auto-insert-mode):
16866 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16867 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16868 (global-auto-revert-mode):
16869 * battery.el (display-battery-mode):
16870 * composite.el (global-auto-composition-mode)
16871 (auto-composition-mode):
16872 * delsel.el (delete-selection-mode):
16873 * desktop.el (desktop-save-mode):
16874 * dired-x.el (dired-omit-mode):
16875 * dirtrack.el (dirtrack-mode):
16876 * doc-view.el (doc-view-minor-mode):
16877 * double.el (double-mode):
16878 * electric.el (electric-indent-mode, electric-pair-mode):
16879 * emacs-lock.el (emacs-lock-mode):
16880 * epa-hook.el (auto-encryption-mode):
16881 * follow.el (follow-mode):
16882 * font-core.el (font-lock-mode):
16883 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16884 * help.el (temp-buffer-resize-mode):
16885 * hilit-chg.el (highlight-changes-mode)
16886 (highlight-changes-visible-mode):
16887 * hi-lock.el (hi-lock-mode):
16888 * hl-line.el (hl-line-mode, global-hl-line-mode):
16889 * icomplete.el (icomplete-mode):
16890 * ido.el (ido-everywhere):
16891 * image-file.el (auto-image-file-mode):
16892 * image-mode.el (image-minor-mode):
16893 * iswitchb.el (iswitchb-mode):
16894 * jka-cmpr-hook.el (auto-compression-mode):
16895 * linum.el (linum-mode):
16896 * longlines.el (longlines-mode):
16897 * master.el (master-mode):
16898 * mb-depth.el (minibuffer-depth-indicate-mode):
16899 * menu-bar.el (menu-bar-mode):
16900 * minibuf-eldef.el (minibuffer-electric-default-mode):
16901 * mouse-sel.el (mouse-sel-mode):
16902 * msb.el (msb-mode):
16903 * mwheel.el (mouse-wheel-mode):
16904 * outline.el (outline-minor-mode):
16905 * paren.el (show-paren-mode):
16906 * recentf.el (recentf-mode):
16907 * reveal.el (reveal-mode, global-reveal-mode):
16908 * rfn-eshadow.el (file-name-shadow-mode):
16909 * ruler-mode.el (ruler-mode):
16910 * savehist.el (savehist-mode):
16911 * scroll-all.el (scroll-all-mode):
16912 * scroll-bar.el (scroll-bar-mode):
16913 * server.el (server-mode):
16914 * shell.el (shell-dirtrack-mode):
16915 * simple.el (auto-fill-mode, transient-mark-mode)
16916 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16917 (line-number-mode, column-number-mode, size-indication-mode)
16918 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16919 * strokes.el (strokes-mode):
16920 * time.el (display-time-mode):
16921 * t-mouse.el (gpm-mouse-mode):
16922 * tool-bar.el (tool-bar-mode):
16923 * tooltip.el (tooltip-mode):
16924 * type-break.el (type-break-mode-line-message-mode)
16925 (type-break-query-mode):
16926 * view.el (view-mode):
16927 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16928 (global-whitespace-mode, global-whitespace-newline-mode):
16929 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16930
a3839de2
SM
16931 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16932 Fix autogenerated docstring.
06e21633 16933
5214e501
JL
169342011-10-19 Juri Linkov <juri@jurta.org>
16935
16936 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16937 by checking environment variables "DESKTOP_SESSION" and
16938 "XDG_CURRENT_DESKTOP". (Bug#9779)
16939
195f8db9
JL
169402011-10-19 Juri Linkov <juri@jurta.org>
16941
16942 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16943 (browse-url-chromium-program, browse-url-chromium-arguments):
16944 New defcustoms.
16945 (browse-url-default-browser): Check for `browse-url-chromium' and
16946 call `browse-url-chromium-program'.
16947 (browse-url-chromium): New command. (Bug#9779)
16948
343a34ff
JB
169492011-10-18 Juanma Barranquero <lekktu@gmail.com>
16950
16951 * facemenu.el (list-colors-duplicates): On Windows, detect more
16952 duplicates by assuming that only colors matching "^System" are
16953 special "system colors". (Bug#9722)
16954
6978a151
SM
169552011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16956
16957 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16958 to distinguish the author from the committer.
16959
6a80b297
MA
169602011-10-18 Michael Albinus <michael.albinus@gmx.de>
16961
16962 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16963
b31a5677
JK
169642011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16965
16966 * international/mule.el (sgml-html-meta-auto-coding-function):
16967 Add support for detecting encoding in HTML5 specified only as
16968 <meta charset="UTF-8">. Implementation just makes http-equiv and
16969 content-type parts from HTML4 encoding string optional. (Bug#9716)
16970
80c6d77f
GM
169712011-10-18 Glenn Morris <rgm@gnu.org>
16972
16973 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16974
08b0fee8
CY
169752011-10-18 Chong Yidong <cyd@gnu.org>
16976
16977 * faces.el (cursor): Doc fix.
16978
67e729a5
CY
169792011-10-17 Chong Yidong <cyd@gnu.org>
16980
16981 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16982
343a34ff 169832011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
16984
16985 * dirtrack.el (dirtrack): Support shell buffers with path
16986 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16987
0bc06380
TZ
169882011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16989
16990 * json.el: Bump version to 1.3 and note change in History.
16991 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16992
8b79f3e0
SM
169932011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16994
5a7c536b
SM
16995 * comint.el (comint-insert-input, comint-send-input)
16996 (comint-get-old-input-default, comint-backward-matching-input)
16997 (comint-next-prompt): Use nil instead of `input' for field property of
16998 past user input (bug#114).
16999
96a8a0df
SM
17000 * minibuffer.el (completion--replace): Inherit surrounding properties
17001 (bug#114).
17002 (minibuffer-complete-and-exit): Use it.
17003
8b79f3e0
SM
17004 * comint.el (comint--table-subvert): Quote the all-completions output
17005 (bug#9160).
17006
b8f7ff0d
MR
170072011-10-17 Martin Rudalics <rudalics@gmx.at>
17008
8b79f3e0 17009 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 17010
b8f7ff0d 17011 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 17012 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
17013 entries and separate them from frame entries.
17014
c235b555
GM
170152011-10-15 Glenn Morris <rgm@gnu.org>
17016
17017 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
17018 Doc fixes.
17019
6bbfa6e1
CY
170202011-10-15 Chong Yidong <cyd@stupidchicken.com>
17021
8b79f3e0
SM
17022 * net/network-stream.el (network-stream-open-starttls):
17023 Improve detection of failure due to lack of TLS support.
ec5c990d 17024
6bbfa6e1
CY
17025 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
17026 putting the input text in front and in bold.
17027
98488977
SM
170282011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
17029
3d1337be
SM
17030 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
17031
ee0b45e4
SM
17032 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
17033 empty buffer.
17034
98488977
SM
17035 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
17036 unread-command-events rather than pushing yet-another event.
17037
186f4720
EZ
170382011-10-14 Eli Zaretskii <eliz@gnu.org>
17039
17040 * mail/sendmail.el (sendmail-query-once): Improve the wording of
17041 the explanation of the possible choices. Make the options passed
17042 to completing-read shorter.
17043
8b7a997c
AM
170442011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17045
17046 * textmodes/flyspell.el (flyspell-large-region): Make sure
17047 extended character mode is used if defined (Bug#1339).
17048
12587bbb
EZ
170492011-10-13 Eli Zaretskii <eliz@gnu.org>
17050
17051 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
17052 character info for LRE, LRO, RLE, and RLO characters by appending
17053 an invisible PDF.
12587bbb 17054
bad41229
SM
170552011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
17056
17057 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
17058 even in case of error; add debug spec; simplify data flow.
17059 (with-timeout-handler): Remove.
17060
28dbc92f
MA
170612011-10-12 Michael Albinus <michael.albinus@gmx.de>
17062
17063 Fix Bug#6019, Bug#9315.
17064
17065 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
17066 complete `buffer-file-name', the local file name part could look
17067 remotely (for example on VMS).
17068
17069 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
17070 `tramp-run-real-handler'.
17071 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
17072 already quoted by '"'.
17073
17074 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
17075 Let `file-name-handler-alist' be nil, the local file name part
17076 could look remotely (for example on VMS).
17077
e1b0b23a
SM
170782011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17079
17080 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
17081 from here...
17082 (flyspell-post-command-hook): ...to here.
17083
a120bde9
SM
170842011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17085
17086 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
17087 if not needed.
17088 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
17089 using completion. Protect against "slow" callers.
17090 Remove the "message hack".
17091
7ce7717b
JL
170922011-10-11 Juri Linkov <juri@jurta.org>
17093
17094 * isearch.el (isearch-lazy-highlight-word): New variable.
17095 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
17096 Use it. (Bug#9727)
17097
c02ee9d6
GM
170982011-10-11 Glenn Morris <rgm@gnu.org>
17099
17100 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
17101 like f90-previous-statement does.
17102
93e616fd 171032011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17104
1f190e73 17105 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
17106 only in interactive use, to avoid error.
17107
af7b6078
SM
171082011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17109
17110 * minibuffer.el (completion-file-name-table): Fix last change,
17111 i.e. ignore normal errors but not the other ones.
17112
0563dae9
MR
171132011-10-10 Martin Rudalics <rudalics@gmx.at>
17114
17115 * window.el (special-display-buffer-names)
17116 (special-display-regexps): Remove some remnants of earlier
17117 changes from doc-strings.
366ca7f3
MR
17118 (quit-windows-on): New function.
17119
17120 * vc/vc.el (vc-revert, vc-rollback):
17121 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17122 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 17123 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 17124
49677495
MR
171252011-10-09 Martin Rudalics <rudalics@gmx.at>
17126
17127 * window.el (frame-auto-hide-function): Add version tag.
17128 (Bug#9699)
17129
56f2d1e1
MA
171302011-10-09 Michael Albinus <michael.albinus@gmx.de>
17131
17132 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17133 condition.
17134
112a6592
LL
171352011-10-09 Leo Liu <sdl.web@gmail.com>
17136
17137 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17138 (Bug#9701)
17139
0812589b
GM
171402011-10-08 Glenn Morris <rgm@gnu.org>
17141
17142 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17143 before the first code statement zero indent. (Bug#9690)
17144
b2b0776e
CY
171452011-10-08 Chong Yidong <cyd@stupidchicken.com>
17146
17147 * simple.el (count-words-region): Always count in the region.
17148 Report the number of lines and characters too.
17149 (count-words): New command, which counts in the buffer if the
17150 region is inactive, as count-words-region used to.
17151 (count-words--message): New function. Handle plurals.
17152 (count-lines-region): Make it an alias for count-words-region.
17153
17154 * bindings.el (esc-map): Replace count-lines-region with
17155 count-words-region.
17156
c557cd6b
MR
171572011-10-08 Martin Rudalics <rudalics@gmx.at>
17158
17159 * window.el (window--delete): Delete dedicated frame
17160 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 17161 (switch-to-buffer): Fix doc-string typo.
c557cd6b 17162
61a57ef4 171632011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17164
3a7d293b 17165 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 17166
c3833279
CY
171672011-10-07 Chong Yidong <cyd@stupidchicken.com>
17168
17169 * bindings.el ([M-left],[M-right]): Bind to left-word and
17170 right-word respectively.
17171
21ce8245
GM
171722011-10-07 Glenn Morris <rgm@gnu.org>
17173
17174 * cus-start.el (debug-on-quit): Fix custom type.
17175
6d823bb2
LMI
171762011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17177
0181e193
LMI
17178 * subr.el (define-key-after): Clarify that the function is not
17179 useful for non-menu keymaps.
17180
6d823bb2
LMI
17181 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17182
8e3459ce 171832011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17184
21ce8245 17185 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 17186 in current minibuffer (Fix bug with recursive minibuffers).
17187
a1c2d21e
CY
171882011-10-06 Chong Yidong <cyd@stupidchicken.com>
17189
17190 * progmodes/gdb-mi.el (gdb): Doc fix.
17191
5a4cf282
MR
171922011-10-05 Martin Rudalics <rudalics@gmx.at>
17193
17194 * window.el (frame-auto-hide-function): New option replacing
17195 frame-auto-delete. Suggested by Stefan Monnier.
17196 (window--delete): Call frame-auto-hide-function instead of
17197 investigating frame-auto-delete.
c96111ea
MR
17198 (window-point-1, set-window-point-1): New functions.
17199 (window-in-direction, record-window-buffer, window-state-get-1)
17200 (display-buffer-record-window): Use window-point-1 instead of
17201 window-point.
17202 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 17203
9854542e
SM
172042011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17205
17206 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17207
8943cfb0
GM
172082011-10-05 Glenn Morris <rgm@gnu.org>
17209
17210 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17211 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17212
647ab967
LL
172132011-10-05 Leo Liu <sdl.web@gmail.com>
17214
17215 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17216 works with buffer object.
17217
3ddfbced
SM
172182011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17219
17220 * mpc.el (mpc-tool-bar-map): Add labels.
17221
bdfa5dd2
GM
172222011-10-04 Glenn Morris <rgm@gnu.org>
17223
17224 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17225
0e2070b5
MR
172262011-10-04 Martin Rudalics <rudalics@gmx.at>
17227
17228 * window.el (window--delete): New function.
17229 (frame-auto-delete): Resuscitate option.
17230 (bury-buffer, replace-buffer-in-windows)
17231 (quit-window): Rewrite using window--delete.
17232 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17233 Pass display-buffer-mark-dedicated to window--display-buffer-2
17234 (Bug#9639).
17235
3dc61a09
SM
172362011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17237
915a9b64
SM
17238 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17239 returns a list (bug#9554). Add remote file name completion.
17240 * comint.el (comint--table-subvert): Curry and get quote&unquote
17241 functions as arguments.
17242 (comint--complete-file-name-data): Adjust call accordingly.
17243 * pcomplete.el (pcomplete--table-subvert): Remove.
17244 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17245
3dc61a09
SM
17246 * minibuffer.el (completion-table-case-fold): Use currying.
17247 (completion--styles-type, completion--cycling-threshold-type):
17248 New constants.
17249 (completion-styles, completion-category-overrides)
17250 (completion-cycle-threshold): Use them.
17251 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17252 completion-table-case-fold.
17253
8ea0a993
SB
172542011-10-03 Stephen Berman <stephen.berman@gmx.net>
17255
17256 * minibuffer.el (completion-category-overrides): Fix type of styles
17257 and add more user friendly tags (bug#9660).
17258
8c24b7f6
SM
172592011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17260
17261 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17262 (mule-input-method-string): New widget.
17263 (default-input-method, language-info-custom-alist): Use it.
17264
428fe61a
SM
172652011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17266
32c1fffd
SM
17267 * pcomplete.el: Require comint.
17268 (pcomplete--common-suffix): Remove.
17269 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17270 (pcomplete--table-subvert): Sync with comint--table-subvert.
17271 (pcomplete--entries): Use comint-completion-file-name-table.
17272 * comint.el (comint-unquote-filename): Simplify.
17273 (comint-completion-file-name-table): New function (bug#9616).
17274 (comint--complete-file-name-data): Use it.
17275
428fe61a
SM
17276 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17277 (pcmpl-gnu-tar-buffer): Remove.
17278 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
17279 around. Make sure pcomplete-suffix-list is only changed temporarily.
17280 Don't look inside the tar's file if it's too large.
428fe61a 17281
04c52e2f
CY
172822011-10-01 Chong Yidong <cyd@stupidchicken.com>
17283
ce3cefcc
CY
17284 * cus-edit.el (custom-mode-map):
17285 * epa.el (epa-key-list-mode-map):
17286 * man.el (Man-mode-map):
17287 * startup.el (splash-screen-keymap):
17288 * simple.el (special-mode-map): Use scroll-up-command and
17289 scroll-down-command.
17290
17291 * progmodes/idlw-help.el (idlwave-help-mode-map):
17292 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17293 * net/newst-plainview.el (newsticker-mode-map):
17294 * emulation/ws-mode.el (wordstar-mode-map):
17295 * emulation/vi.el (vi-com-map):
17296 * calc/calc-graph.el (calc-graph-show-dumb):
17297 * term/sun.el (terminal-init-sun):
17298 * term/ns-win.el (global-map):
17299 * progmodes/grep.el (grep-mode-map):
17300 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17301 * mail/rmail.el (rmail-mode-map):
17302 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17303
04c52e2f
CY
17304 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17305 custom-safe-themes as special.
17306
79adf8c8
JD
173072011-10-01 Julien Danjou <julien@danjou.info>
17308
17309 * notifications.el (notifications-notify): Fix docstring.
17310
63bd50d3
PS
173112011-10-01 Per Starbäck <per@starback.se>
17312
17313 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17314
199e4c7e
MR
173152011-09-30 Martin Rudalics <rudalics@gmx.at>
17316
17317 * startup.el (command-line-1): Fix last fix by inserting
17318 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 17319 (Bug#9605) and (Bug#9636)
199e4c7e 17320
fe5f08dd
EZ
173212011-09-29 Eli Zaretskii <eliz@gnu.org>
17322
17323 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17324 window is hscrolled, move by logical lines. (Bug#9607)
17325 (line-move-visual): Update the doc string to the above effect.
17326
b5516bbd
MR
173272011-09-29 Martin Rudalics <rudalics@gmx.at>
17328
ccee00c0
MR
17329 * window.el (display-buffer-record-window): When WINDOW is the
17330 selected window use `point' instead of `window-point'. (Bug#9626)
17331
b5516bbd
MR
17332 * startup.el (command-line-1): Use insert-before-markers when
17333 inserting initial-scratch-message. (Bug#9605)
ccee00c0 17334
b5516bbd
MR
17335 * help.el (help-window): Remove variable.
17336
52aa0014
GM
173372011-09-29 Glenn Morris <rgm@gnu.org>
17338
17339 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17340
df9a7357
JB
173412011-09-29 Juanma Barranquero <lekktu@gmail.com>
17342
17343 * descr-text.el (describe-char-categories): Accept category
17344 descriptions more than one line long.
17345
a8406c20
SM
173462011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17347
88d9610c
SM
17348 * simple.el (delete-trailing-whitespace): Fix last change.
17349
a5daf810
SM
17350 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17351 Don't confuse "y => 3" as the beginning of a `y' operation.
17352
a8406c20
SM
17353 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17354 object has more than 4 slots (bug#9613).
17355
a239d4e9
JB
173562011-09-28 Juanma Barranquero <lekktu@gmail.com>
17357
17358 * subr.el (with-output-to-temp-buffer):
17359 * net/quickurl.el (quickurl, quickurl-browse-url):
17360 Fix typos in docstrings.
17361
693fbdb6
EZ
173622011-09-27 Eli Zaretskii <eliz@gnu.org>
17363
17364 * minibuffer.el (completion-styles)
17365 (completion-category-overrides): Cross reference each other in doc
17366 strings.
17367
8b457e28
GM
173682011-09-27 Glenn Morris <rgm@gnu.org>
17369
17370 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17371 to split-string. (Bug#9606)
17372
85a16208
LMI
173732011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17374
17375 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17376 (bug#9615).
17377
502f9ebd
CY
173782011-09-27 Chong Yidong <cyd@stupidchicken.com>
17379
17380 * emacs-lisp/package.el (list-packages): Fix echo area message.
17381
7690bdea
LL
173822011-09-27 Leo Liu <sdl.web@gmail.com>
17383
17384 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17385
e2ee6f30
MA
173862011-09-25 Michael Albinus <michael.albinus@gmx.de>
17387
17388 * net/dbus.el (dbus-unregister-object): Don't release services for
17389 registered signals. (Bug#9581)
17390
f3f98342
TZ
173912011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17392
17393 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17394 function that picks between cfengine 2 and 3 support
17395 automatically. Update docs accordingly.
17396
dd7aa8dd
KH
173972011-09-22 Kenichi Handa <handa@m17n.org>
17398
17399 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17400 ZERO.
17401 (indian-itrans-v5-table-for-tamil): New variable.
17402 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17403
3f2b07f8
KM
174042011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17405
17406 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17407 that's true if the current command involved collapsing of text.
17408 It's reset to false at the beginning of the next command.
17409 (allout-post-command-business): Move the cursor to the beginning
17410 of entry if the cursor is hidden and collapsing activity just
17411 happened.
17412
371d6a61
CY
174132011-09-24 Chong Yidong <cyd@stupidchicken.com>
17414
17415 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17416 tracking (Bug#9541).
17417
2ac2721a
UJ
174182011-09-24 Ulf Jasper <ulf.jasper@web.de>
17419
17420 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
17421 (newsticker-show-news): Automatically load html rendering package
17422 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17423 because w3m-fill-column is let-bound" and the error "Symbol's value
17424 as variable is void: w3m-fill-column".
2ac2721a 17425
fac7ae53
MA
174262011-09-24 Michael Albinus <michael.albinus@gmx.de>
17427
17428 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17429 Release services only if they are defined. (Bug#9581)
17430
e08b633b
RS
174312011-09-23 Richard Stallman <rms@gnu.org>
17432
e488d29c
RS
17433 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17434 distinguish start of paragraph from start of its text.
17435
19c38752
RS
17436 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17437
e08b633b
RS
17438 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17439 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17440 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17441
0a39f27e
AS
174422011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17443
17444 * international/mule-diag.el (mule-diag): Insert a newline after
17445 each fontset description.
17446
db4e950d
SM
174472011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17448
17449 * simple.el (delete-trailing-whitespace):
17450 Document last change; simplify.
17451
eca3f3ea
PW
174522011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17453
d68e189a
PW
17454 * simple.el (delete-trailing-whitespace): Also delete
17455 extra newlines at the end of the buffer.
17456
eca3f3ea
PW
17457 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17458 (picture-newline): Use forward-line so as to ignore fields.
17459
01c157cc
SM
174602011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17461
17462 * subr.el (with-wrapper-hook): Fix edebug spec.
17463
022de23e
LMI
174642011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17465
17466 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17467 (bug#4538).
17468
91683089
MA
174692011-09-23 Michael Albinus <michael.albinus@gmx.de>
17470
eca3f3ea
PW
17471 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17472 Fix nasty bug using wrong cached values.
91683089 17473
5bdd6fa4
AM
174742011-09-23 Alan Mackenzie <acm@muc.de>
17475
17476 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17477
97adfb97
CY
174782011-09-23 Chong Yidong <cyd@stupidchicken.com>
17479
17480 * window.el (pop-to-buffer): Ensure right window is selected if we
17481 chose another frame.
17482
d4ef2b50
EZ
174832011-09-22 Eli Zaretskii <eliz@gnu.org>
17484
17485 * simple.el (what-cursor-position): Use get-char-property-change
17486 and next-single-char-property-change, to be able to show display
17487 properties that come from overlays as well as text properties.
17488
72258fe5
CY
174892011-09-22 Chong Yidong <cyd@stupidchicken.com>
17490
17491 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17492
17493 * cmuscheme.el (run-scheme, switch-to-scheme):
17494 * cus-edit.el (customize-group, custom-buffer-create)
17495 (customize-browse):
17496 * info.el (info):
17497 * shell.el (shell):
17498 * mail/sendmail.el (mail):
17499 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17500
8f098516
RS
175012011-09-22 Richard Stallman <rms@gnu.org>
17502
17503 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17504 move back only to line beg, don't move back over blank lines.
17505
e74f1bb6
MA
175062011-09-22 Michael Albinus <michael.albinus@gmx.de>
17507
17508 * files.el (copy-directory): Set directory attributes only in case
17509 they could be retrieved from the source directory. (Bug#9565)
17510
bfeef8b6
DK
175112011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17512
17513 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17514 (hs-find-block-beginning, hs-hide-level-recursive):
17515 Ignore strings as well as comments. (Bug#9502)
17516
7e423bb8
AS
175172011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17518
17519 * progmodes/sql.el (sql-comint-postgres):
17520 Convert port number to a string. (Bug#9566)
17521
b4d72fcf
MR
175222011-09-22 Martin Rudalics <rudalics@gmx.at>
17523
17524 * window.el (quit-window): Undedicate window when switching to
17525 previous buffer. Reported by Thierry Volpiatto
17526 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
17527 (special-display-popup-frame): When popping up a new frame reset
17528 its previous buffers to nil. Simplify code.
b4d72fcf 17529
a7b88dc6
MA
175302011-09-21 Michael Albinus <michael.albinus@gmx.de>
17531
17532 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17533 and process filter, as done also in `shell-command'.
17534
cf4eacfd
MR
175352011-09-21 Martin Rudalics <rudalics@gmx.at>
17536
eca3f3ea 17537 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
17538 Call set-window-start with NOFORCE argument t.
17539 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
17540 (quit-window): Reword doc-string. Handle new format of
17541 quit-restore parameter. Don't delete window if it has a
17542 previous buffer we can show instead of the present one.
17543 (display-buffer-record-window): Rewrite using a new format for
17544 the quit-restore window parameter
17545 (special-display-popup-frame, display-buffer-same-window)
17546 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17547 (display-buffer-pop-up-window, display-buffer-use-some-window):
17548 Adapt symbol passed to display-buffer-record-window.
17549 * help.el (help-window-setup): Handle new format of quit-restore
17550 parameter.
17551
8d28cb95
SM
175522011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17553
94ab793f
SM
17554 * faces.el (face-list): Fix docstring (bug#9564).
17555
8d28cb95
SM
17556 * window.el (display-buffer--action-function-custom-type):
17557 Don't include internal functions in the Custom interface.
17558
3820edeb
JL
175592011-09-20 Juri Linkov <juri@jurta.org>
17560
17561 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17562 (Info-forward-node, Info-backward-node, Info-next-preorder)
17563 (Info-last-preorder): Use it. (Bug#9528)
17564
5147931d
JL
175652011-09-20 Juri Linkov <juri@jurta.org>
17566
17567 * info.el (Info-last-preorder): Visit last menu item only when
17568 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17569
cf499a1a
JD
175702011-09-20 Julien Danjou <julien@danjou.info>
17571
17572 * password-cache.el (password-cache-remove): Remove entries even if the
17573 value is nil, so that password with a nil value (negative caching) is
17574 possible to invalidate.
17575
f84e2fe2
LM
175762011-09-20 Lawrence Mitchell <wence@gmx.li>
17577
17578 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17579 all whitespace around breakpoint. (Bug#9553)
17580 (f90-find-breakpoint): Only break at whitespace inside a comment.
17581
78054a46
SM
175822011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17583
17584 * minibuffer.el (completion-file-name-table): Keep track of errors.
17585 (completion-table-with-predicate): Handle the case where pred1 is nil.
17586 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17587
345083b2
SM
175882011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17589
e24e27be
SM
17590 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17591 (debugger-return-value): Signal an error if the debugging context does
17592 not await any return value.
17593
345083b2
SM
17594 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17595 * image-mode.el (image-toggle-display-text)
17596 (image-toggle-display-image): Stay away from evil `intangible'.
17597
08d355e3
LL
175982011-09-19 Leo Liu <sdl.web@gmail.com>
17599
17600 * replace.el (occur-revert-arguments): Make it permanent-local.
17601 (occur-mode): Don't call font-lock-defontify.
17602
f01da43f
CY
176032011-09-19 Chong Yidong <cyd@stupidchicken.com>
17604
17605 * net/ldap.el (ldap-search-internal): Don't push empty search
17606 result (Bug#9508).
17607
b6072fa6
SM
176082011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17609
17610 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17611
443d6696
MA
176122011-09-19 Michael Albinus <michael.albinus@gmx.de>
17613
17614 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17615 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17616
7cc6e154
JL
176172011-09-18 Juri Linkov <juri@jurta.org>
17618
17619 * buff-menu.el (Buffer-menu-mode-map):
17620 * dired.el (dired-mode-map):
17621 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17622 (lisp-interaction-mode-map):
17623 * emacs-lisp/package.el (package-menu-mode-map):
17624 * epa.el (epa-key-list-mode-map):
17625 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17626 (menu-bar-options-menu):
17627 * outline.el (outline-mode-menu-bar-map):
17628 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17629 * vc/vc-dir.el (vc-dir-menu-map):
17630 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17631 Capitalize non-function content words in menu item strings.
17632
17633 * dired.el (dired-mode-map): Add menu item for
17634 `image-dired-dired-toggle-marked-thumbs'.
17635
80302a81
JL
176362011-09-18 Juri Linkov <juri@jurta.org>
17637
17638 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17639 to `isearch-case-fold-search' and restore its original value
17640 after the `isearch-mode' call.
17641
46c5cf66
JL
176422011-09-18 Juri Linkov <juri@jurta.org>
17643
17644 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17645 because `zgrep' returns 1 for successful matches (bug#9226).
17646
d18b513b
JL
176472011-09-18 Juri Linkov <juri@jurta.org>
17648
17649 * info.el (Info-extract-menu-node-name): Check the second match
17650 for empty string (second test-case of bug#9528).
17651 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17652 intermediate nodes to the history (first test-case of bug#9528).
17653
72753f87
JL
176542011-09-18 Juri Linkov <juri@jurta.org>
17655
17656 * info.el (Info-mode-syntax-table): New variable.
1154d12e 17657 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 17658
c9384295
JL
176592011-09-18 Juri Linkov <juri@jurta.org>
17660
1154d12e
JB
17661 * info.el (Info-file-supports-index-cookies):
17662 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17663 outputs one more line for long file names (bug#4142).
c9384295 17664
d473dce8
CY
176652011-09-18 Chong Yidong <cyd@stupidchicken.com>
17666
17667 * newcomment.el (comment-normalize-vars): If prompting for
17668 comment-start, set comment-start-skip too (Bug#8424).
17669
2176854d
JB
176702011-09-18 Johan Bockgård <bojohan@gnu.org>
17671
17672 * icomplete.el: Fix previous fix of Bug#5849.
17673 (icomplete-mode): Don't set completion-show-inline-help.
17674 (icomplete-minibuffer-setup): Set completion-show-inline-help
17675 locally during icompletion.
17676
3aace4e4
CY
176772011-09-18 Chong Yidong <cyd@stupidchicken.com>
17678
c940224f
CY
17679 * woman.el (woman2-process-escapes): Don't delete unrecognized
17680 escapes (Bug#7843).
17681
3aace4e4
CY
17682 * files.el (inhibit-first-line-modes-regexps): Add image files.
17683 (hack-local-variables-prop-line): Return nil for malformed
17684 prop-lines (Bug#9044).
17685
710dec63
MA
176862011-09-18 Michael Albinus <michael.albinus@gmx.de>
17687
17688 * net/tramp.el (top): Don't require 'shell.
17689 (tramp-methods): Fix docstring.
17690 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
17691 Return complete remote file name. Handle "smb" case.
17692 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
17693 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17694
17695 * net/tramp-compat.el (top): Require 'shell.
17696
17697 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17698 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17699 `tramp-current-host'.
17700 (tramp-get-remote-tmpdir): Remove.
17701
17702 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17703 `tramp-tmpdir' entries.
17704 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17705 (tramp-smb-handle-file-attributes): Ignore errors.
17706 (tramp-smb-wait-for-output): Check also for process end.
17707
5d5ac8ec
LMI
177082011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17709
17710 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17711 when sending QUIT (bug#9312).
17712
8c0f49f0
CY
177132011-09-17 Chong Yidong <cyd@stupidchicken.com>
17714
17715 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17716 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17717 occur-mode-display-occurrence.
17718 (occur-edit-mode): Add usage message.
17719 (occur-cease-edit): New command.
17720 (occur-after-change-function): Use text properties to find the
17721 position of the prefix text.
17722 (occur-engine): Set stickiness of prefix text properties.
17723
8f1383f7
GM
177242011-09-17 Glenn Morris <rgm@gnu.org>
17725
17726 * progmodes/etags.el (complete-tag):
17727 Fix call to completion-in-region. (Bug#9526)
17728
744ba0e3
JL
177292011-09-17 Juri Linkov <juri@jurta.org>
17730
17731 * textmodes/ispell.el (ispell-word): Add to the error message
17732 the word, ispell program name and current dictionary (bug#9121).
17733 (ispell-tex-arg-end): Capitalize "error" in the error message.
17734
d9bbf400
AS
177352011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17736
17737 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17738 check. (Bug#4251)
17739
8da11505
JL
177402011-09-17 Juri Linkov <juri@jurta.org>
17741
17742 * window.el (window-safe-min-height, window-safe-min-width):
17743 Fix typos (followup to bug#9522).
17744
a91adc7e
SJ
177452011-09-17 Sven Joachim <svenjoac@gmx.de>
17746
17747 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17748
064f328a
EZ
177492011-09-16 Eli Zaretskii <eliz@gnu.org>
17750
17751 * simple.el (line-move): If goal-column is set, move by logical
17752 lines, not by display lines. (Bug#971)
17753 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17754 to reflect the above change.
17755
e69df516
SM
177562011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17757
17758 * image.el (imagemagick-register-types): Use regexp-opt.
17759
cbb0f9ab
CY
177602011-09-15 Chong Yidong <cyd@stupidchicken.com>
17761
17762 * window.el (display-buffer-base-action): Rename from
17763 display-buffer-default-action. Make default value empty.
17764 (display-buffer-overriding-action): Convert to defvar.
17765 (display-buffer-fallback-action): New var.
17766
25322144
CY
177672011-09-15 Chong Yidong <cyd@stupidchicken.com>
17768
17769 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17770 declaration.
17771 (package--add-to-archive-contents): If there is a duplicate entry
17772 with an older version, remove it.
17773 (package-menu-mark-delete, package-menu-mark-install)
17774 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
17775 (package-menu-mark-obsolete-for-deletion):
17776 Use package-menu-get-status instead of a regexp search.
25322144
CY
17777 (package-menu-get-status): Use tabulated-list-entry.
17778 (package-menu-mark-upgrades): New command.
d770725a 17779 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
17780 (package-menu-execute): Do installation before deletion.
17781 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17782 instead of checking major-mode.
17783 (package-menu--find-upgrades): New function.
17784
7520339c
LMI
177852011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17786
17787 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17788 passwords in the log buffer.
65a046c4
LMI
17789 (smtpmail-process-filter): Update the process marker so that the
17790 "broken by peer" status message is inserted in the right place.
7520339c 17791
d3c30954
SM
177922011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17793
3fe48822
SM
17794 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17795 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17796 bibtex-completion-at-point-function.
17797 (bibtex-completion-at-point-function): Use them.
17798
1b8b3954
SM
17799 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17800
d3c30954
SM
17801 * mpc.el (mpc-constraints-tag-lookup): New function.
17802 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17803 also to browser "album|playlist".
17804
72779976
JL
178052011-09-14 Juri Linkov <juri@jurta.org>
17806
17807 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17808 (isearch-edit-string): Use length of `isearch-string' when
17809 `isearch-fail-pos' returns nil.
17810 (isearch-message): Remove duplicate code and call
17811 `isearch-fail-pos' with arg `t'.
17812
a0bf2bcd
CY
178132011-09-14 Chong Yidong <cyd@stupidchicken.com>
17814
17bb0a2d
CY
17815 * replace.el (occur-mode-goto-occurrence): Don't force using other
17816 window (Bug#9499).
17817
a0bf2bcd
CY
17818 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17819
f678e0b6
MR
178202011-09-14 Martin Rudalics <rudalics@gmx.at>
17821
17822 * window.el (display-buffer-window): Remove.
17823 (display-buffer-record-window): Use help-setup window parameter
17824 instead of variable display-buffer-window.
17825 (display-buffer-function, special-display-buffer-names)
17826 (special-display-function): Mention help-setup parameter instead
17827 of display-buffer-window in doc-string.
d3c30954
SM
17828 * help.el (help-window-setup): New argument help-window.
17829 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
17830 Reword some messages.
17831 (with-help-window): Pass window used for displaying the buffer
17832 to help-window-setup. Don't set display-buffer-window.
17833
8e39b2e8
GM
178342011-09-13 Glenn Morris <rgm@gnu.org>
17835
17836 * emacs-lisp/debug.el (debugger-make-xrefs):
17837 Preserve point. (Bug#9462)
17838
85e9c04b
CY
178392011-09-13 Chong Yidong <cyd@stupidchicken.com>
17840
17841 * window.el (window-deletable-p): Use next-frame.
17842
1b36ed6a
MR
178432011-09-13 Martin Rudalics <rudalics@gmx.at>
17844
17845 * window.el (window-auto-delete): Remove.
17846 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 17847 dedication and previous buffers.
1b36ed6a
MR
17848 (switch-to-prev-buffer): Don't delete window.
17849 (delete-windows-on): Delete a window's frame if and only if the
17850 window is dedicated.
17851 (replace-buffer-in-windows): Delete buffer's window or frame if
17852 and only if window is dedicated.
17853 (quit-window): Handle quit-restore as before last change.
4d61f28d 17854 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 17855
ef8ef9fb
CY
178562011-09-13 Chong Yidong <cyd@stupidchicken.com>
17857
17858 * window.el (window-deletable-p): Never delete the last frame on a
17859 given terminal.
17860
b2cba41e
GM
178612011-09-13 Glenn Morris <rgm@gnu.org>
17862
17863 * help.el (describe-key-briefly): Copy previous standard-output change.
17864
51553db6 178652011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
17866
17867 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17868
b7556719
GM
178692011-09-13 Glenn Morris <rgm@gnu.org>
17870
17871 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17872 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17873
64b51947
CY
178742011-09-12 Chong Yidong <cyd@stupidchicken.com>
17875
17876 * dired-aux.el (dired-mark-read-string): Don't return default
17877 value on empty input (Bug#9361).
17878 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17879 Omit initial minibuffer contents.
17880 (dired-do-chmod): Signal an error on empty input.
17881 (dired-mark-read-string): Don't return default on empty input.
17882
17883 * files.el (file-modes-symbolic-to-number): Doc fix.
17884
393a301e
SM
178852011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17886
17887 * international/mule-cmds.el (ucs-completions): Remove.
17888 (read-char-by-name): Use complete-with-action instead; add metadata.
17889
fa5660f9
CY
178902011-09-11 Chong Yidong <cyd@stupidchicken.com>
17891
17892 * window.el (display-buffer--action-function-custom-type)
17893 (display-buffer--action-custom-type): New vars.
17894 (display-buffer-alist, display-buffer-default-action)
17895 (display-buffer-overriding-action): Add defcustom types.
17896
4a592f66
CY
17897 * frame.el (delete-other-frames): Doc fix (Bug#276).
17898
73d56dbd
LMI
178992011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17900
17901 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17902
37ac18a3
CY
179032011-09-11 Chong Yidong <cyd@stupidchicken.com>
17904
17905 Change modes that used same-window-* vars to use switch-to-buffer.
17906
17907 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17908 Use switch-to-buffer.
17909
17910 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
17911 (customize-browse, custom-buffer-create-other-window):
17912 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
17913
17914 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17915 (Info-prev, Info-up, Info-speedbar-goto-node)
17916 (info-display-manual): Use switch-to-buffer.
17917 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17918
17919 * mail/sendmail.el (mail): Use switch-to-buffer.
17920 (mail-recover): Use switch-to-buffer-other-window.
17921
17922 * cmuscheme.el (run-scheme, switch-to-scheme):
17923 * ielm.el (ielm):
17924 * shell.el (shell):
17925 * net/rlogin.el (rlogin):
17926 * net/telnet.el (telnet, rsh):
17927 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17928
10195bd6
AS
179292011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17930
17931 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17932
b322f63a
LMI
179332011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17934
39d7fed6
LMI
17935 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17936 so don't mention it (bug#9301).
ba5a81f1 17937 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 17938
ee0e9f11
LMI
17939 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17940 match `x', `w32' and `ns', like the manual says (bug#9029).
17941
0b1c89c1 17942 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
17943 (process-kill-buffer-query-function): Mention the buffer name in
17944 the query.
0b1c89c1 17945
77549ea8
LMI
17946 * image-mode.el (image-next-line): The line parameter is mandatory
17947 (bug#9258).
17948
803ef892
LMI
17949 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17950 which can be useful (bug#9301).
17951
12980837
LMI
17952 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17953
91054f8f
LMI
17954 * subr.el (match-string): Mention that the current buffer should
17955 be the same as the search was done in (bug#9282).
17956
b322f63a
LMI
17957 * facemenu.el: Disable the remove-* commands if the mark isn't
17958 active (bug#9162).
17959
3199b96f
CY
179602011-09-10 Chong Yidong <cyd@stupidchicken.com>
17961
17962 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17963 of display-buffer.
17964 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17965
17966 * replace.el (occur-mode-goto-occurrence)
17967 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17968 and display-buffer.
17969
17970 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17971 display-buffer.
17972
17973 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17974 special-display and same-window variables.
17975 (mail-other-window): Use switch-to-buffer-other-window.
17976 (mail-other-frame): USe switch-to-buffer-other-frame.
17977
393a301e
SM
17978 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17979 Use display-buffer-other-frame.
3199b96f
CY
17980 (gdb-display-gdb-buffer): Use pop-to-buffer.
17981
17982 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17983
17984 * progmodes/python.el: Don't set same-window-buffer-names.
17985
17986 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17987
17988 * window.el (display-buffer-alist): Add *Python*.
17989
8319e0bf
CY
179902011-09-10 Chong Yidong <cyd@stupidchicken.com>
17991
17992 * window.el (display-buffer-alist): Add entry for buffers
17993 previously handled same-window-*.
17994 (display-buffer-alist, display-buffer-default-action)
17995 (display-buffer-overriding-action): Mark as risky.
17996 (display-buffer-alist): Document action function changes.
17997 (display-buffer--same-window-action)
17998 (display-buffer--other-frame-action): New variables.
17999 (switch-to-buffer, display-buffer-other-frame): Use them.
18000 (display-buffer): Rename reuse-frame entry to reusable-frames.
18001 (display-buffer-reuse-selected-window): Function deleted.
18002 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18003 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
18004 (display-buffer-special): New function.
18005 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18006 display-buffer-reuse-or-pop-window. Split off special-display
18007 part into display-buffer-special.
18008 (display-buffer-use-some-window): Don't perform any special
18009 pop-up-frames handling.
18010 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 18011 (display-buffer--maybe-same-window): Rename from
0d3ff375 18012 display-buffer-maybe-same-window.
8319e0bf 18013
919a69aa
CY
18014 * info.el: Don't set same-window-regexps.
18015 (info-setup): New function.
18016 (info-other-window, info): Call it.
18017
18018 * cus-edit.el: Don't set same-window-regexps.
18019 (customize-group): New argument.
18020 (customize-group-other-window): Use it.
18021 (customize-face, customize-face-other-window): Likewise.
18022 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18023
8319e0bf
CY
18024 * net/rlogin.el:
18025 * net/telnet.el:
18026 * progmodes/gud.el: Don't set same-window-regexps.
18027
18028 * cmuscheme.el:
18029 * ielm.el:
18030 * shell.el:
18031 * mail/sendmail.el:
18032 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18033
25173000
JL
180342011-09-10 Juri Linkov <juri@jurta.org>
18035
18036 * isearch.el (isearch-edit-string): Remove obsolete mention of
18037 `C-w' (`isearch-yank-word-or-char') from docstring.
18038 (isearch-query-replace): Fix typo in docstring (bug#9466).
18039
056e44ef
JL
180402011-09-10 Juri Linkov <juri@jurta.org>
18041
18042 * paren.el (show-paren-function): Don't show escaped parens.
18043 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
18044
c3760c17
EZ
180452011-09-10 Eli Zaretskii <eliz@gnu.org>
18046
18047 * mail/sendmail.el (mml-to-mime, mml-attach-file)
18048 (mm-default-file-encoding): Remove autoload forms, they are
18049 replaced with autoload cookies in mml.el and mm-encode.el.
18050 (mail-add-attachment): New command.
18051 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
18052 (mail-mode): Mention mail-insert-file and mail-add-attachment in
18053 the doc string.
18054 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
18055
fece895e
RT
180562011-09-10 Reuben Thomas <rrt@sc3d.org>
18057
e69df516
SM
18058 * simple.el (count-words-region): Use buffer if there's no region
18059 (bug#9429).
fece895e 18060
5e68ce4a
JL
180612011-09-09 Juri Linkov <juri@jurta.org>
18062
18063 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
18064 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
18065 (wdired-isearch-filter-read-only): New function. (Bug#6362)
18066
0a6b9622
AM
180672011-09-09 Alan Mackenzie <acm@muc.de>
18068
18069 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
18070 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
18071
14a29deb
EZ
180722011-09-09 Eli Zaretskii <eliz@gnu.org>
18073
18074 Fix for Savannah bug#9392.
18075 * simple.el (mail-encode-mml): New defvar.
18076
18077 * mail/rmail.el (mail-encode-mml): Add a defvar.
18078 (rmail-enable-mime-composing): Default to t.
18079 (rmail-forward): Use MIME method of forwarding only if both
18080 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
18081 Set mail-encode-mml non-nil if the MIME method was used.
18082
18083 * mail/sendmail.el (mml-to-mime): Add autoload form.
18084 (mail-encode-mml): Add a defvar.
18085 (mail-mode): Make mail-encode-mml buffer-local and initialize it
18086 to nil.
18087 (mail-send): If mail-encode-mml is non-nil, run the outgoing
18088 message through mml-to-mime, and reset mail-encode-mml to nil.
18089
28c45130
GM
180902011-09-09 Glenn Morris <rgm@gnu.org>
18091
18092 * woman.el (woman-if-body): When processing an .el block,
18093 do not delete the next .el block as well. (Bug#9447)
69f4b618 18094 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 18095
9b1c252e
MR
180962011-09-08 Martin Rudalics <rudalics@gmx.at>
18097
18098 * window.el (window-deletable-p): Make sure window is live before
18099 invoking window-prev-buffers.
18100
567457e3
LL
181012011-09-08 Leo Liu <sdl.web@gmail.com>
18102
18103 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
18104
97f05794
JL
181052011-09-08 Juri Linkov <juri@jurta.org>
18106
18107 * progmodes/compile.el (compilation-environment): Make it
18108 a defcustom (bug#8340).
18109
8b0874b5
MR
181102011-09-08 Martin Rudalics <rudalics@gmx.at>
18111
18112 * window.el (frame-auto-delete): Rename to window-auto-delete.
18113 Make it control auto-deletion of windows and/or frames.
18114 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 18115 for deleting window/frame. (Bug#9419)
8b0874b5
MR
18116 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18117 Rewrite handling of case when window/frame can be deleted.
18118 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 18119 argument t. (Bug#9456)
8b0874b5 18120
4feb6e73
CY
181212011-09-07 Chong Yidong <cyd@stupidchicken.com>
18122
18123 * help-mode.el (help-mode): Restore autoload.
18124
91ab9c13
JL
181252011-09-07 Juri Linkov <juri@jurta.org>
18126
18127 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18128 `compilation-environment'. Set buffer-local
18129 `compilation-environment' to `thisenv' later after (funcall mode).
18130 (Bug#8340)
18131
18132 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18133 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18134 instead of replacing its value. (Bug#8340)
18135
0527e251
JL
181362011-09-07 Juri Linkov <juri@jurta.org>
18137
18138 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18139 based on text properties put by `grep-filter' instead of matching
18140 escape sequences.
18141 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18142 to the value of `grep-error-screen-columns' (bug#9438).
18143
249f792c
JL
181442011-09-07 Juri Linkov <juri@jurta.org>
18145
18146 * simple.el (next-error-highlight, next-error-highlight-no-select):
18147 Doc fix (bug#9432).
18148
ff7271b9
OT
181492011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18150
18151 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18152 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18153
183fc730
LL
181542011-09-07 Leo Liu <sdl.web@gmail.com>
18155
18156 * net/rcirc.el (rcirc-mode): Conditionally initialize
18157 rcirc-input-ring.
18158
77694924
SM
181592011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18160
18161 * emacs-lisp/find-func.el (find-function-C-source): Only set
18162 find-function-C-source-directory after checking that we found a source
18163 file there (bug#9440).
18164
d809b8eb
AM
181652011-09-06 Alan Mackenzie <acm@muc.de>
18166
18167 * isearch.el (isearch-other-meta-char): Wherever a key list is
18168 unread, "unread" the prefix arg, too. This fixes bug #8901.
18169
453de99f
OG
181702011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18171
18172 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18173
90439906
JL
181742011-09-05 Juri Linkov <juri@jurta.org>
18175
18176 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18177
f62bd846
JL
181782011-09-05 Juri Linkov <juri@jurta.org>
18179
18180 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18181 keeping point where processing of grep matches begins, and
18182 continue to delete remaining escape sequences from the same point.
18183 (grep-filter): Make leading zero optional in "0?1;31m" because
18184 git-grep emits "\033[1;31m" escape sequences unlike expected
18185 "\033[01;31m" as GNU Grep does (bug#9408).
18186 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18187
045820ec
JL
181882011-09-05 Juri Linkov <juri@jurta.org>
18189
18190 * subr.el (y-or-n-p): Capitalize "yes".
18191
f5e29b9b
MA
181922011-09-04 Michael Albinus <michael.albinus@gmx.de>
18193
18194 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18195 `tramp-cache-unload-hook' where appropriate.
18196 (tramp-methods): Rename `tramp-remote-sh' to
18197 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18198 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18199
18200 * net/tramp-sh.el (top): Don't require 'shell.
18201 (tramp-methods): Add `tramp-remote-shell' and
18202 `tramp-remote-shell-args' entries.
18203 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18204 (tramp-sh-handle-shell-command): Remove.
18205 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18206 Use `tramp-remote-shell'.
18207
2784c434
CY
182082011-09-03 Chong Yidong <cyd@stupidchicken.com>
18209
393a301e 18210 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
18211 (sendmail-query-once): Save directly to send-mail-function.
18212 Update message-send-mail-function too.
18213
18214 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18215
464cdf56
CS
182162011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18217
18218 * progmodes/python.el (python-mode-map): Use correct function to
18219 start python interpreter from menu-bar (as reported by Geert
18220 Kloosterman).
18221 (inferior-python-mode-map): Fix typo.
393a301e 18222 (python-shell-map): Remove.
464cdf56 18223
d37e5c87
DD
182242011-09-03 Deniz Dogan <deniz@dogan.se>
18225
18226 * net/rcirc.el (rcirc-print): Simplify code for
18227 rcirc-scroll-show-maximum-output. There is no need to walk
18228 through all windows to find the right one.
18229
f3ada0ee
CS
182302011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18231
18232 * help.el (help-return-method): Doc fix.
18233
1f3c99ca
MR
182342011-09-03 Martin Rudalics <rudalics@gmx.at>
18235
18236 * window.el (window-deletable-p): Don't return a non-nil value
18237 when there's a buffer that was shown in the window before.
18238 (Bug#9419)
393a301e
SM
18239 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18240 Set window's previous buffers to nil.
1f3c99ca 18241
a3cf097f
EZ
182422011-09-03 Eli Zaretskii <eliz@gnu.org>
18243
18244 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18245 newline before and after the tag line, so it doesn't interfere
18246 with determining the paragraph direction of bidirectional text.
18247
3d03de90
LL
182482011-09-03 Leo Liu <sdl.web@gmail.com>
18249
18250 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18251
c3313451
CY
182522011-09-02 Chong Yidong <cyd@stupidchicken.com>
18253
393a301e 18254 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
18255 (pop-to-buffer): Change interactive spec. Pass second argument
18256 directly to display-buffer.
18257 (display-buffer): Fix interactive spec. Use functionp to
18258 distinguish between a function and a list of functions.
18259
18260 * abbrev.el (edit-abbrevs):
18261 * arc-mode.el (archive-extract):
18262 * autoinsert.el (auto-insert):
18263 * bookmark.el (bookmark-bmenu-list):
18264 * files.el (find-file):
18265 * view.el (view-buffer):
18266 * progmodes/compile.el (compilation-goto-locus):
18267 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18268
89894cd8
CY
182692011-09-02 Chong Yidong <cyd@stupidchicken.com>
18270
18271 * window.el (display-buffer-alist): Doc fix.
18272 (display-buffer): Add docstring. Don't treat
18273 display-buffer-default specially.
18274 (display-buffer-reuse-selected-window)
18275 (display-buffer-same-window, display-buffer-maybe-same-window)
18276 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18277 (display-buffer-pop-up-window)
18278 (display-buffer-reuse-or-pop-window)
18279 (display-buffer-use-some-window): New functions.
18280 (display-buffer-default-action): Use them.
393a301e 18281 (display-buffer-default): Delete.
89894cd8
CY
18282 (pop-to-buffer-1): Fix choice of actions.
18283
ae0bc9fb
SM
182842011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18285
18286 * minibuffer.el (completion--insert-strings): Don't get confused by
18287 completion entries that end with an LF char.
18288
e9d90883
EZ
182892011-09-01 Eli Zaretskii <eliz@gnu.org>
18290
18291 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18292
437014c8
CY
182932011-09-01 Chong Yidong <cyd@stupidchicken.com>
18294
18295 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
18296 (display-buffer-same-window, display-buffer-other-window):
18297 New functions.
437014c8
CY
18298 (pop-to-buffer-1): New function. Use the above.
18299 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 18300 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
18301
18302 * view.el (view-buffer-other-window, view-buffer-other-frame):
18303 Just use pop-to-buffer.
18304
a5e063d5
TV
183052011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18306
18307 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18308
793d32bb
WH
183092011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18310
18311 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18312
d65e4c15
RS
183132011-08-31 Richard Stallman <rms@gnu.org>
18314
18315 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18316 of the separation of rmail-view-buffer from rmail-buffer.
18317 If you say no to "replace original", the decrypt is in the
18318 view buffer. If you say yes, the decrypt goes into the
18319 rmail buffer also.
18320
f818cd2a
MR
183212011-08-31 Martin Rudalics <rudalics@gmx.at>
18322
18323 * window.el (display-buffer-window): Rewrite doc-string.
18324 (display-buffer-record-window): New function.
18325 (display-buffer-macro-specifiers)
18326 (display-buffer-even-window-sizes, display-buffer-set-height)
18327 (display-buffer-set-width, display-buffer-in-window)
18328 (display-buffer-reuse-window, display-buffer-split-specifiers)
18329 (display-buffer-side-specifiers, display-buffer-split-window-1)
18330 (display-buffer-split-window, display-buffer-split-atom-window)
18331 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18332 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18333 (display-buffer-other-window-means-other-frame)
18334 (display-buffer-normalize-special)
18335 (display-buffer-normalize-default)
18336 (display-buffer-normalize-argument)
18337 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18338 (display-buffer-normalize-specifiers, display-buffer-frame)
18339 (display-buffer-same-window, display-buffer-same-frame)
18340 (display-buffer-other-window)
18341 (display-buffer-same-frame-other-window)
18342 (display-buffer-other-frame, pop-to-buffer-same-window)
18343 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18344 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18345 (switch-to-buffer-same-frame)
18346 (switch-to-buffer-other-window-same-frame)
18347 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18348 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18349 (display-buffer-alist-set): Remove.
18350 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
18351 (special-display-regexps, special-display-function):
18352 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
18353 parameter.
18354 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18355 (special-display-frame-alist, special-display-popup-frame)
18356 (same-window-buffer-names, same-window-regexps, same-window-p)
18357 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18358 (split-window-preferred-function, split-height-threshold)
18359 (split-width-threshold, window-splittable-p)
18360 (split-window-sensibly, window--try-to-split-window)
18361 (window--frame-usable-p, even-window-heights)
18362 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
18363 (window--display-buffer-2, display-buffer-other-frame):
18364 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
18365 (display-buffer-default, display-buffer-assq-regexp): New functions.
18366 (display-buffer-alist): Rewrite doc-string.
18367 (display-buffer-default-action)
18368 (display-buffer-overriding-action): New variables.
18369 (display-buffer, switch-to-buffer): Rewrite.
18370 (pop-to-buffer): Restore Emacs 23 behavior but use
18371 window-normalize-buffer-to-display.
18372 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18373 Restore Emacs 23 behavior but use
18374 window-normalize-buffer-to-switch-to.
18375 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
18376 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18377 Rewrite using Emacs 23 options.
f818cd2a 18378
5bc3b51d
MA
183792011-08-31 Michael Albinus <michael.albinus@gmx.de>
18380
18381 * net/tramp.el (tramp-root-regexp): Remove.
18382 (tramp-completion-file-name-regexp-unified)
18383 (tramp-completion-file-name-regexp-separate)
18384 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 18385 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
18386 (tramp-drop-volume-letter): Simplify definition.
18387 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 18388
b1a4f8e1
SM
183892011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18390
18391 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18392 (bug#9356).
18393
5664fa7b
RT
183942011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18395
b1a4f8e1 18396 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 18397
9a45d6c3
JL
183982011-08-29 Juri Linkov <juri@jurta.org>
18399
18400 * isearch.el (isearch-done): Don't display message "Mark saved"
18401 when arg `edit' is non-nil to prevent its flicker in the echo area.
18402
fb87e0fb
CY
184032011-08-28 Chong Yidong <cyd@stupidchicken.com>
18404
18405 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18406 obsolete packages for deletion.
18407
09ac1c2a
CS
184082011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18409
18410 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 18411 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
18412 view-mode from help-mode.
18413 (help-xref-override-view-map): Remove.
18414 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18415 view-mode is not used anymore.
18416
7a1ff57f
CY
184172011-08-28 Chong Yidong <cyd@stupidchicken.com>
18418
18419 * server.el (server-port): Doc fix.
18420
b9696605
CY
18421 * cus-theme.el (custom-theme-choose-mode): Inherit from
18422 special-mode (Bug#9124).
18423 (custom-theme-choose-mode-map): Add special-mode to parent.
18424
ef8cdf8c
AM
184252011-08-28 Alan Mackenzie <acm@muc.de>
18426
18427 * progmodes/cc-fonts.el
18428 (c-make-font-lock-BO-decl-search-function): New function.
18429 (c-basic-matchers-after - "Fontify the clauses after various
18430 keywords"): Extract the three keyword lists for the 3 erroneous
18431 constructs from the list of four, and use the new function above
18432 in place of an old one.
18433
27de4e20
DD
184342011-08-28 Deniz Dogan <deniz@dogan.se>
18435
18436 * net/rcirc.el (rcirc-insert-prev-input)
18437 (rcirc-insert-next-input): Remove unused argument.
18438
356a3681
SM
184392011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18440
18441 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18442
3fc9b218
AM
184432011-08-27 Alan Mackenzie <acm@muc.de>
18444
18445 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18446 handle function pointer parameters properly.
18447
538a061c
MR
184482011-08-27 Martin Rudalics <rudalics@gmx.at>
18449
18450 * window.el (display-buffer-reuse-window): Fix case where
18451 selected window was reused with non-nil OTHER-WINDOW argument.
18452 (Bug#9381)
18453
35b1c40c
DD
184542011-08-27 Deniz Dogan <deniz@dogan.se>
18455
18456 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18457 oftc's NickServ messages.
18458
2f6a3e79
GM
184592011-08-27 Glenn Morris <rgm@gnu.org>
18460
18461 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18462
7254299e
CY
184632011-08-26 Chong Yidong <cyd@stupidchicken.com>
18464
18465 * emacs-lisp/package.el (package-install): Call package-initialize
18466 if called interactively.
18467
f8ccf167
LL
184682011-08-26 Leo Liu <sdl.web@gmail.com>
18469
18470 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18471
3e8cd5ce
JL
184722011-08-25 Juri Linkov <juri@jurta.org>
18473
18474 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18475 `search-whitespace-regexp' (bug#9364).
18476
93eb7113
JL
184772011-08-25 Juri Linkov <juri@jurta.org>
18478
18479 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18480 `regexp-search-ring' to their global values to protect from
18481 updating by `read-from-minibuffer' (bug#9185).
18482
f65d1611
JL
184832011-08-25 Juri Linkov <juri@jurta.org>
18484
18485 * textmodes/ispell.el (ispell-command-loop): Add newline
18486 at the end of the "Use option `i'..." line.
18487
f1cf7a31
JL
184882011-08-25 Juri Linkov <juri@jurta.org>
18489
18490 * battery.el (display-battery-mode): If `battery-status-function'
18491 or `battery-mode-line-format' is nil, display the message and set
18492 `display-battery-mode' to nil (bug#9363).
18493
0c95fcf7
EZ
184942011-08-25 Eli Zaretskii <eliz@gnu.org>
18495
18496 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18497 bidi-string-mark-left-to-right; they are unnecessary now.
18498
a2ebe600
DD
184992011-08-25 Deniz Dogan <deniz@dogan.se>
18500
18501 * net/quickurl.el: Documentation typo fixes.
18502
e4ed06f1
CY
185032011-08-25 Chong Yidong <cyd@stupidchicken.com>
18504
18505 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18506
e5f1c99e
GM
185072011-08-25 Glenn Morris <rgm@gnu.org>
18508
b2948976
GM
18509 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18510
e5f1c99e
GM
18511 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18512 (smtpmail-via-smtp): Handle nil response from smtp.
18513
f22f4808
JL
185142011-08-24 Juri Linkov <juri@jurta.org>
18515
18516 * proced.el (proced-marked): Inherit from `error' instead of
18517 `font-lock-warning-face'.
18518
18519 * ibuffer.el (ibuffer-marked-face): Change default face from
18520 `font-lock-warning-face' to `warning'.
18521 (ibuffer-deletion-face): Change default face from
18522 `font-lock-type-face' to `error'.
18523
18524 * battery.el (battery-update): Use the face `error' instead of
18525 `font-lock-warning-face' (bug#6117).
18526
6a93965e
JL
185272011-08-24 Juri Linkov <juri@jurta.org>
18528
18529 * faces.el (success): Change face color from "Green3" to
18530 "ForestGreen" on light background (bug#9353).
18531
1ed43b09
CY
185322011-08-24 Chong Yidong <cyd@stupidchicken.com>
18533
5664fa7b
RT
18534 * window.el (quit-window): Rename from quit-restore-window.
18535 Use same arglist as old quit-window.
1ed43b09
CY
18536 (frame-auto-delete): Doc fix.
18537
18538 * view.el (view-mode-exit): Use quit-window.
18539
11dcdbb2
JL
185402011-08-24 Juri Linkov <juri@jurta.org>
18541
18542 * isearch.el (isearch-ring-adjust1): Start visiting previous
18543 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18544 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18545 for empty search string (when the last search string is reused
18546 automatically) to adjust the isearch ring to the last element and
18547 prepare the correct index for further M-p commands (bug#9185).
18548
de62b4df
KH
185492011-08-24 Kenichi Handa <handa@m17n.org>
18550
18551 * international/ucs-normalize.el: If decomposition property of
18552 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18553 nil.
18554 (nfd, nfkd): Likewise.
18555
963b492b
SM
185562011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18557
18558 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18559 from process filters aren't reliably transmitted to the surrounding
18560 accept-process-output.
18561 (mpc-proc-check): New function.
18562 (mpc-proc-sync): Use it (bug#8293)
18563
93b6b5e1
SM
185642011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18565
18566 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18567 Add compatibility functions (bug#9313).
18568
bca633fb
EZ
185692011-08-23 Eli Zaretskii <eliz@gnu.org>
18570
b177498a
EZ
18571 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18572
6df6ae42 18573 * international/uni-bidi.el: Regenerate.
bca633fb 18574
0902a04e
KH
185752011-08-23 Kenichi Handa <handa@m17n.org>
18576
18577 * international/charprop.el:
18578 * international/uni-bidi.el:
18579 * international/uni-category.el:
18580 * international/uni-combining.el:
18581 * international/uni-comment.el:
18582 * international/uni-decimal.el:
18583 * international/uni-decomposition.el:
18584 * international/uni-digit.el:
18585 * international/uni-lowercase.el:
18586 * international/uni-mirrored.el:
18587 * international/uni-name.el:
18588 * international/uni-numeric.el:
18589 * international/uni-old-name.el:
18590 * international/uni-titlecase.el:
18591 * international/uni-uppercase.el: Regenerate.
18592
3bbf23bc
MR
185932011-08-23 Martin Rudalics <rudalics@gmx.at>
18594
18595 * help.el (help-window-setup): Fix message displayed when other
18596 window is reused. (Bug#9341)
18597
b3fd59bd
SM
185982011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18599
1802e444
SM
18600 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18601 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18602
b3fd59bd
SM
18603 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18604 Mark obsolete.
18605 * shell.el (shell-parse-pcomplete-arguments): New function.
18606 (shell-completion-vars): Use it instead (bug#9160).
18607
4eb61348
SM
186082011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18609
867cab74
SM
18610 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18611 strings and comments (bug#9333).
18612
4eb61348
SM
18613 * emacs-lisp/debug.el (debug-arglist): New function.
18614 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18615 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18616
262a1439
JL
186172011-08-22 Juri Linkov <juri@jurta.org>
18618
56ee679c
JL
18619 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18620 Revert regexp that highlights output switches to its old
18621 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18622
262a1439
JL
18623 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18624 to check for empty output (bug#9226).
18625
f13f86fb
CY
186262011-08-22 Chong Yidong <cyd@stupidchicken.com>
18627
18628 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18629 symbol-constituent as the default, as that stops font-lock from
18630 working properly (Bug#8843).
18631
c65c9622
LMI
186322011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18633
18634 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18635 `coding-system-for-*' around the process open call to avoid
18636 auth-source side effects.
e7f2c178 18637 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
18638 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18639 probe hangs.
c65c9622 18640
23a8a5ab
CY
186412011-08-21 Chong Yidong <cyd@stupidchicken.com>
18642
ff98b2dd
CY
18643 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18644
23a8a5ab
CY
18645 * emacs-lisp/find-func.el (find-function-noselect): New arg
18646 lisp-only.
18647
18648 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18649 signal an error for built-in functions (Bug#6664).
18650
f5e3c598
LMI
186512011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18652
18653 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18654 (smtpmail-try-auth-methods): Use it.
18655
a3f2468a
CY
186562011-08-21 Chong Yidong <cyd@stupidchicken.com>
18657
2c34e8da
CY
18658 * font-lock.el (font-lock-fontify-region)
18659 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18660 (font-lock-default-unfontify-buffer)
18661 (font-lock-default-fontify-region)
18662 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18663
b3fd59bd
SM
18664 * progmodes/compile.el (compilation-error-properties):
18665 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
18666 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18667 `ant' regexp.
ee31aabc 18668
a3f2468a
CY
18669 * net/browse-url.el (browse-url-firefox): Don't call
18670 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18671
8e999f70
GM
186722011-08-20 Glenn Morris <rgm@gnu.org>
18673
c21a496a
GM
18674 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18675
59ee0542
GM
18676 * tutorial.el (tutorial--default-keys): Update some default bindings.
18677
8e999f70
GM
18678 * files.el (hack-local-variables): Fully ignore case for "mode:".
18679
e3715033
AM
186802011-08-20 Alan Mackenzie <acm@muc.de>
18681
18682 Resolve invalid use of a regexp in regexp-opt.
18683
4d61f28d
JB
18684 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18685 detection for a java annotation.
e3715033 18686
4d61f28d 18687 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
18688 detection for a java annotation.
18689
4d61f28d
JB
18690 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18691 handling for java.
e3715033
AM
18692 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18693
04ed2e9c
CY
186942011-08-20 Chong Yidong <cyd@stupidchicken.com>
18695
18696 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18697 (Bug#9274).
18698
826cee64
AM
186992011-08-20 Alan Mackenzie <acm@muc.de>
18700
58179cce 18701 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
18702 such a construct. Mainly for when jit-lock etc. starts a chunk
18703 here.
18704
58179cce 18705 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 18706 variable.
58179cce 18707 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
18708 c-make-font-lock-search-function.
18709 (c-make-font-lock-search-function): Use the above function.
18710 (c-make-font-lock-context-search-function): New function.
18711 (c-cpp-matchers): Enhance the preprocessor expression case with
18712 the above function
18713 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18714 which takes an expression.
18715
18716 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18717
13009bd8
MR
187182011-08-20 Martin Rudalics <rudalics@gmx.at>
18719
18720 * window.el (display-buffer-reuse-window)
18721 (display-buffer-pop-up-window): Don't reuse or split a side
18722 window.
18723
9234ff7f
GM
187242011-08-19 Glenn Morris <rgm@gnu.org>
18725
18726 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 18727 Downcase "Mode:". (Bug#9331)
9234ff7f 18728
f635daa1
CY
187292011-08-18 Chong Yidong <cyd@stupidchicken.com>
18730
18731 * international/characters.el: Add L and R categories.
18732
18733 * subr.el (bidi-string-mark-left-to-right): Rename from
18734 string-mark-left-to-right. Use category search.
18735
18736 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18737
bc987f8b
JL
187382011-08-18 Juri Linkov <juri@jurta.org>
18739
18740 * faces.el (error, warning, success): New faces with definitions
18741 copied from old default values of `font-lock-warning-face',
18742 `compilation-warning', `compilation-info' (bug#6117).
18743
18744 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18745
18746 * progmodes/compile.el (compilation-error): Inherit from `error'.
18747 (compilation-warning): Inherit from `warning'.
18748 (compilation-info): Inherit from `success'.
18749
18750 * dired.el (dired-marked): Inherit from `warning'.
18751 (dired-flagged): Inherit from `error'.
18752
57173b96
LMI
187532011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18754
3e79eb87
LMI
18755 * mail/smtpmail.el (auth-source): Require to avoid problems with
18756 binding variables (bug#9298). Also clean up some unused
18757 autoloads.
18758
b3fd59bd
SM
18759 * net/network-stream.el (network-stream-open-starttls):
18760 Support using starttls.el without using gnutls-cli.
57173b96 18761
02b404de
JL
187622011-08-17 Juri Linkov <juri@jurta.org>
18763
18764 * progmodes/grep.el (rgrep): Handle the case when
18765 `grep-find-command' is a cons cell (bug#9278).
18766
8c9177f2
MR
187672011-08-17 Martin Rudalics <rudalics@gmx.at>
18768
18769 * window.el (display-buffer-pop-up-frame): Run frame creation
18770 function with BUFFER current (as special-display-popup-frame
18771 does). Reported by Drew Adams.
18772
3644a0ab
DU
187732011-08-17 Daiki Ueno <ueno@unixuser.org>
18774
18775 * epa-mail.el: Simplify GnuPG group expansion using
18776 epg-expand-group.
18777 (epa-mail-group-alist, epa-mail-group-modtime)
18778 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18779 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18780 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18781 Remove.
18782
5e617bc2 187832011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
18784
18785 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18786
9c4aeabf
AM
187872011-08-16 Alan Mackenzie <acm@muc.de>
18788
18789 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18790 Correct, to avoid the inside of macros.
18791
3a99bf64
RS
187922011-08-16 Richard Stallman <rms@gnu.org>
18793
04963aa8
RS
18794 * epa-mail.el: Handle GnuPG group definitions.
18795 (epa-mail-group-alist, epa-mail-group-modtime)
18796 (epa-mail-gnupg-conf-file): New variables.
18797 (epa-mail-parse-groups, epa-mail-sync-groups)
18798 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18799 (epa-mail-expand-recipients): New functions.
18800 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18801
177549d0
RS
18802 * mail/rmail.el (rmail-epa-decrypt): New command.
18803
fe38beef
RS
18804 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18805 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
18806 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18807 (epa-decrypt-armor-in-region): Make error message clearer.
18808
934eacb9
SM
188092011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18810
18811 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18812 and "a2b" to "ab" for `prefix'.
18813
d024fb4e
CY
188142011-08-14 Chong Yidong <cyd@stupidchicken.com>
18815
18816 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18817 filter groups.
de148fee
CY
18818 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18819 Fourquet (Bug#8804).
d024fb4e 18820
62f1ca49
JB
188212011-08-12 Juanma Barranquero <lekktu@gmail.com>
18822
18823 * startup.el (argi): Declare as global variable (bug#9275).
18824
9ccaaa4b
CY
188252011-08-12 Chong Yidong <cyd@stupidchicken.com>
18826
18827 * subr.el (string-mark-left-to-right): Search the entire string
18828 for RTL script, not just the terminating character. Doc fix.
18829
a3dae87a
SM
188302011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18831
6cd18349
SM
18832 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18833 New function.
18834 (js--regexp-literal, js-syntax-propertize-function): Remove.
18835 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18836 (js-mode-map): Don't rebind electric keys.
18837 (js-insert-and-indent): Remove.
18838 (js-mode): Setup electric-layout and electric-indent instead.
18839
a3dae87a
SM
18840 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18841
9d5cb631
DU
188422011-08-12 Daiki Ueno <ueno@unixuser.org>
18843
18844 * epa.el (epa-progress-callback-function): Fix the logic of
18845 displaying progress.
18846 * epa-file.el (epa-file-insert-file-contents): Make progress
18847 display more user-friendly.
18848 (epa-file-write-region): Ditto.
18849
3e26a4a2
CY
188502011-08-10 Chong Yidong <cyd@stupidchicken.com>
18851
18852 * subr.el (string-mark-left-to-right): New function.
18853
18854 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18855 Use string-mark-left-to-right.
18856 (list-buffers-noselect): Caller changed.
18857
a3dae87a
SM
18858 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18859 Use string-mark-left-to-right.
3e26a4a2
CY
18860 (tabulated-list-print): Recenter after moving point.
18861
ac8cf6e6
JL
188622011-08-10 Juri Linkov <juri@jurta.org>
18863
18864 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18865 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18866 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18867
8d96c9a4
CY
188682011-08-09 Chong Yidong <cyd@stupidchicken.com>
18869
18870 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18871 (Bug#7554).
18872
7be1c708 188732011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
18874
18875 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18876 character. (Bug#6594)
18877
37e11a63
CY
188782011-08-08 Chong Yidong <cyd@stupidchicken.com>
18879
839dde57
CY
18880 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18881 (image-dired--with-db-file): New macro.
18882 (image-dired-write-tags, image-dired-remove-tag)
18883 (image-dired-create-gallery-lists, image-dired-write-comments)
18884 (image-dired-get-comment, image-dired-mark-tagged-files)
18885 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18886 (image-dired-gallery-generate): Use insert-file-contents.
18887
37e11a63
CY
18888 * time.el (display-time-world-list, display-time-world-display):
18889 * time-stamp.el (time-stamp-string):
18890 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18891 set-time-zone-rule (Bug#7337).
18892
0b4946c4
DU
188932011-08-08 Daiki Ueno <ueno@unixuser.org>
18894
18895 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18896 (epg-error-to-string, epg-errors-to-string): New function.
18897 (epg-wait-for-completion): Reverse errors list.
18898 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18899 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18900 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18901 (epg-sign-keys, epg-generate-key-from-file)
18902 (epg-generate-key-from-string): Format errors by using
18903 epg-errors-to-string (bug#9255).
18904 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18905
75bfc667
JL
189062011-08-07 Juri Linkov <juri@jurta.org>
18907
18908 * faces.el (list-faces-display): Remove extra angle bracket
18909 from `help-mode-map'.
18910
18911 * info.el (Info-history-toc-nodes): Doc fix.
18912
18913 * longlines.el (longlines-mode): Doc fix.
18914
673e08bb
SM
189152011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18916
4640dd88
SM
18917 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18918 of statements and in a few more cases (bug#9183).
18919
673e08bb
SM
18920 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18921 New functions.
18922 (cl-transform-lambda): Use them (bug#9239).
18923
89b3f019
MR
189242011-08-05 Martin Rudalics <rudalics@gmx.at>
18925
18926 * window.el (display-buffer-same-window)
18927 (display-buffer-same-frame, display-buffer-other-window)
18928 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18929 (pop-to-buffer-other-window)
18930 (pop-to-buffer-same-frame-other-window)
18931 (pop-to-buffer-other-frame): Make them defuns.
18932 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18933
640c8776
SM
189342011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18935
18936 * subr.el (make-composed-keymap): Move from C. Change calling
18937 convention, and improve docstring to bring attention to a subtle point.
18938 * minibuffer.el (completing-read-default): Adjust accordingly.
18939
63648a95
MA
189402011-08-03 Michael Albinus <michael.albinus@gmx.de>
18941
18942 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18943 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18944
18945 * net/trampver.el: Update release number.
18946
b796c9b7
SM
189472011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18948
18949 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18950 "in" (bug#9190).
18951
2239d7d5
LMI
189522011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18953
e07dd7c3
LMI
18954 * mail/sendmail.el (sendmail-query-once): Restore the current
18955 buffer after querying (bug#9074).
18956
0e6a2bd7
LMI
18957 * dired.el (dired-flagged): Use different faces for marked and
18958 flagged files (bug#6117).
18959
ce887515
LMI
18960 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18961 (bug#4433).
18962
92f2affc
LMI
18963 * ido.el (ido-mode): Switch off the message if called
18964 non-interactively.
18965
57d5aff0
LMI
18966 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18967 before 587, since it appears that that's more likely to work for
18968 more people.
18969
98cd6c18 18970 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 18971 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
18972 exist.
18973
b96dec83
LMI
18974 * info.el: Remove the `Info-beginning-of-buffer' function
18975 (bug#8325).
18976
b796c9b7
SM
18977 * net/network-stream.el (network-stream-open-starttls):
18978 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 18979
d90e2ea0
MR
189802011-08-01 Martin Rudalics <rudalics@gmx.at>
18981
18982 * window.el (display-buffer-in-window): Don't set dedicated status
18983 of window here (Bug#9215).
18984 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18985 (display-buffer-pop-up-side-window)
b796c9b7 18986 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 18987
cca09170
SM
189882011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18989
18990 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18991 before binding generated-autoload-file.
18992
027b979c
DD
189932011-08-01 Deniz Dogan <deniz@dogan.se>
18994
18995 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18996
3c7ee4f3
MA
189972011-07-30 Michael Albinus <michael.albinus@gmx.de>
18998
18999 Sync with Tramp 2.2.2.
19000
19001 * net/trampver.el: Update release number.
19002
2cc8e51a
JL
190032011-07-30 Juri Linkov <juri@jurta.org>
19004
19005 * dired-aux.el (dired-touch-initial): Remove function.
19006 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
19007 current time, and `default' to the last modification time of the
19008 current marked file (bug#6887).
19009
a514d856
JM
190102011-07-28 Jose E. Marchesi <jemarch@gnu.org>
19011
19012 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 19013 numeric argument to read-number (bug#9163).
a514d856 19014
8a7eddd7
MA
190152011-07-27 Michael Albinus <michael.albinus@gmx.de>
19016
19017 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
19018 connection process, it could be nil.
19019
1ddd96f5
LL
190202011-07-27 Leo Liu <sdl.web@gmail.com>
19021
19022 Simplify url handling in rcirc-mode.
19023
19024 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
19025 (rcirc-browse-url-at-mouse): Remove.
19026 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
19027
b248a85d
AM
190282011-07-26 Alan Mackenzie <acm@muc.de>
19029
19030 Fontify bitfield declarations properly.
19031
19032 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
19033 (c-symbol-chars): Now exported as a lang variable.
19034 (c-not-primitive-type-keywords): New lang variable.
19035
19036 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
19037 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 19038 parsed as a bitfield declaration.
b248a85d 19039
b796c9b7
SM
19040 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19041 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
19042 (c-punctuation-in): New function.
19043 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
19044 declarations properly.
19045
68575ab0
UJ
190462011-07-26 Ulf Jasper <ulf.jasper@web.de>
19047
19048 * calendar/icalendar.el (icalendar--all-events): Take care of
19049 multiple vcalendars in a single file.
b796c9b7 19050 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 19051
0f0a88b9
DD
190522011-07-25 Deniz Dogan <deniz@dogan.se>
19053
19054 * image.el (insert-image): Clarifying docstring.
19055
0b3f36df
MA
190562011-07-24 Michael Albinus <michael.albinus@gmx.de>
19057
19058 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
19059 `tramp-send-command-and-check' if there is no error.
19060 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
19061
a9901f61
AM
190622011-07-22 Alan Mackenzie <acm@muc.de>
19063
19064 Prevent cc-langs.elc being loaded at run time.
19065
19066 * progmodes/cc-mode.el: Remove two autoload forms which loaded
19067 cc-langs.
19068
4d61f28d 19069 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
19070 "(require 'cc-langs)". Quote a form so it will evaluate at
19071 (cc-mode's) compilation time.
19072
11d074b2
MA
190732011-07-22 Michael Albinus <michael.albinus@gmx.de>
19074
19075 * net/tramp.el (tramp-file-name-handler): Avoid recursive
19076 loading. (Bug#9114)
19077
938b94c8
MR
190782011-07-21 Martin Rudalics <rudalics@gmx.at>
19079
19080 * window.el (display-buffer-pop-up-window)
19081 (display-buffer-pop-up-side-window)
19082 (display-buffer-in-side-window): Call display-buffer-set-height
19083 and display-buffer-set-width after setting the new window's
b796c9b7 19084 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 19085
bfa4f190
SS
190862011-07-20 Sam Steingold <sds@gnu.org>
19087
19088 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
19089 (etags-tags-included-tables): Call `convert-standard-filename' on
19090 the file names contained in TAGS so that windows Emacs can handle
19091 TAGS files created by cygwin ctags.
19092
8ca42262
LMI
190932011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
19094
19095 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
19096 which apparently didn't work.
19097
5db2afd2 190982011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 19099
5db2afd2
RW
19100 * proced.el (proced-send-signal): For *Marked Processes* buffer
19101 put point at beginning of buffer.
19102
92e15d10
SB
191032011-07-19 Stephen Berman <stephen.berman@gmx.net>
19104
19105 * proced.el (proced-format): Make header lines align with the text
19106 (bug#1779).
19107
1bfd59e5
LMI
191082011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
19109
19110 * view.el (view-buffer): Allow running in `special' modes if we're
19111 visiting a file (bug#8615).
19112
f5aae37c
MR
191132011-07-19 Martin Rudalics <rudalics@gmx.at>
19114
19115 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
19116 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19117 New functions.
f5aae37c
MR
19118 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19119 more accurately.
19120
bf2c1571
AM
191212011-07-18 Alan Mackenzie <acm@muc.de>
19122
19123 Fontify declarators properly when, e.g., a jit-lock chunk begins
19124 inside a declaration.
19125
19126 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19127
b796c9b7
SM
19128 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19129 New function.
bf2c1571
AM
19130 (c-complex-decl-matchers): Insert reference to
19131 c-font-lock-enclosing-decls.
19132
19133 * progmodes/cc-engine.el (c-backward-single-comment):
19134 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19135 to nil around calls to (forward-comment -1).
19136
4e190b80
LMI
191372011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19138
12dc863d
LMI
19139 * image.el (put-image): Doc typo fix.
19140
a762e966
LMI
19141 * progmodes/etags.el (tags-search): Doc typo fix.
19142
4e190b80
LMI
19143 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19144 password if we get errors 550 to 554.
19145
f019fb21
LMI
191462011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19147
b796c9b7 19148 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 19149
81746738
LMI
19150 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19151 indentation character (bug#6380).
19152
3ee3a1b5
LMI
19153 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19154
c82f64de
LMI
19155 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19156 to clarify what the problem is (bug#4291).
19157
f019fb21
LMI
19158 * simple.el (current-kill): Clarify what
19159 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
19160 (auto-fill-mode): Document `auto-fill-function' in relation to
19161 `auto-fill-mode' (bug#2470).
f019fb21 19162
0794775d
LM
191632011-07-16 Lawrence Mitchell <wence@gmx.li>
19164
19165 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19166 method if slot is read-only (bug#9035).
19167
be39b8cc
MR
191682011-07-16 Martin Rudalics <rudalics@gmx.at>
19169
b796c9b7 19170 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 19171 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
19172 selected before, see discussion of (Bug#8615), (Bug#6954).
19173 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 19174
6ccf7859
GM
191752011-07-15 Glenn Morris <rgm@gnu.org>
19176
19177 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 19178 Respect help-form.
6ccf7859 19179
87e86684
LM
191802011-07-09 Lawrence Mitchell <wence@gmx.li>
19181
19182 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19183 (gnutls-negotiate): Use it.
19184
d6066239
LMI
191852011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19186
b796c9b7
SM
19187 * net/gnutls.el (gnutls-negotiate):
19188 Upcase `gnutls-algorithm-priority'.
d6066239 19189
bd23ebc0
GM
191902011-07-15 Glenn Morris <rgm@gnu.org>
19191
c65bca65
GM
19192 * jka-compr.el (jka-compr-verbose): Move from here...
19193 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19194 Add missing :version tag.
19195 * info.el: No need to require jka-compr when compiling.
bd23ebc0 19196
478615cc
LMI
191972011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19198
7b41decb
LMI
19199 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19200 (gnutls-negotiate): Use it.
19201
dbc44fcd
LMI
19202 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19203
06789f97
LMI
19204 * info.el (Info-beginning-of-buffer): New command.
19205 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19206 announcing `b' as the key (bug#8325).
ab896c37 19207 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 19208
c39da690
LMI
19209 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19210
3aa5f34b
LMI
19211 * international/mule-cmds.el
19212 (describe-specified-language-support): Make the error message
19213 clearer (bug#8905).
19214
4bf0979f
LMI
19215 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19216
478615cc
LMI
19217 * isearch.el (isearch-barrier): Add a doc string, since it's
19218 mentioned in a function doc string (bug#8678).
19219
75c68aa1
MR
192202011-07-15 Martin Rudalics <rudalics@gmx.at>
19221
19222 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19223 buffer argument (Bug#9083) and self-identifying label argument.
19224
a7c33da2
GM
192252011-07-15 Glenn Morris <rgm@gnu.org>
19226
19227 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19228
2f5c6024
LMI
192292011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19230
19231 * man.el (Man-fontify-manpage): Fix message when formatting the
19232 man page (bug#7929).
19233
0bb23927 192342011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
19235
19236 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19237 argument LRM; if non-nil, append an invisible LRM character to the
19238 buffer name.
19239 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19240 last argument non-nil, when formatting buffer names.
0bb23927
EZ
19241 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19242 paragraph direction.
cce4b0a7 19243
621ef9ab
LMI
192442011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19245
d1583c48
LMI
19246 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19247 the man page name (bug#7929).
19248
6a57fb5f
LMI
19249 * image.el (put-image): Mention the `put-image' overlay property
19250 (bug#7834).
19251
d7956b14
LMI
19252 * scroll-bar.el (set-scroll-bar-mode): Mention that
19253 `scroll-bar-mode' lists the values (bug#7772).
19254
5b2d4a66
LMI
19255 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19256 command (bug#7729).
19257
7509a874
LMI
19258 * rect.el (apply-on-rectangle): Return the point after the last
19259 operation.
19260 (string-rectangle): Go to the point after the last operation
19261 (bug#7522).
19262
4fe74b19
LMI
19263 * printing.el (pr-toggle-region): Clarify the documentation
19264 slightly (bug#7493).
19265
b796c9b7
SM
19266 * time.el (display-time-update):
19267 Allow `display-time-mail-function' to return nil (bug#7158).
19268 Fix suggested by Detlev Zundel.
ab283561 19269
fc233c9d
LMI
19270 * vc/diff.el (diff): Clarify the order the file names are read
19271 (bug#7111).
19272
43f5740b
LMI
19273 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19274 the doc string (bug#7015).
19275
f2182a76
LMI
19276 * font-lock.el (font-lock-maximum-decoration): Mention what
19277 numeric levels mean (bug#6935).
19278
621ef9ab
LMI
19279 * startup.el (initial-buffer-choice): Don't mention the `none'
19280 selection, which is against policy.
19281
adc47434
MR
192822011-07-14 Martin Rudalics <rudalics@gmx.at>
19283
b796c9b7
SM
19284 * window.el (display-buffer-normalize-special):
19285 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 19286
7e5bfb8f
EZ
192872011-07-14 Eli Zaretskii <eliz@gnu.org>
19288
19289 * subr.el (version<, version<=, version=): Mention "-CVS" and
19290 "-12345" alpha version numbers.
19291
27fa387a
CY
192922011-07-14 Chong Yidong <cyd@stupidchicken.com>
19293
19294 * bindings.el: Add advertised binding for set-mark-command
19295 (Bug#5772).
19296
8bdfa064
CY
192972011-07-14 Chong Yidong <cyd@stupidchicken.com>
19298
19299 * bindings.el (mode-line-other-buffer):
19300 * bookmark.el (bookmark-bmenu-2-window):
19301 * bs.el (bs-cycle-next, bs-cycle-previous):
19302 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19303 switch-to-buffer.
19304
19305 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 19306 Delete.
8bdfa064 19307
5eba16a3
JB
193082011-07-14 Juanma Barranquero <lekktu@gmail.com>
19309
19310 * follow.el (follow-debug-message, follow-redisplay):
19311 * jka-cmpr-hook.el (with-auto-compression-mode):
19312 Fix typos in docstrings.
19313
15853710
LMI
193142011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19315
a28e4607
LMI
19316 * subr.el (with-silent-modifications): Clarify somewhat what the
19317 macro inhibits (bug#6525).
19318
15853710
LMI
19319 * simple.el (eval-expression): Note what it does if called
19320 interactively (bug#6495).
19321
bee0fcef
CY
193222011-07-13 Chong Yidong <cyd@stupidchicken.com>
19323
b796c9b7
SM
19324 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19325 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
19326
19327 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19328 Remove switch-to-buffer.
19329
58274504
LMI
193302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19331
bd2fcc8d
LMI
19332 * files.el (make-directory): Clarify that an error will be raised
19333 if there's an error (bug#6397).
19334
0f04b32c
LMI
19335 * startup.el (initial-buffer-choice): Add `none' as a choice
19336 (bug#6234).
19337
465c5fc8
LMI
19338 * subr.el (add-hook): Clarify section about buffer-local hooks
19339 (bug#6218).
19340
58274504
LMI
19341 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19342
bead9a43
JB
193432011-07-13 Juanma Barranquero <lekktu@gmail.com>
19344
19345 * tabify.el (untabify): Preserve the current column so that point
19346 doesn't move (bug#6032).
19347
3af98a7b
LMI
193482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19349
b796c9b7
SM
19350 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19351 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 19352
6240145a
GM
193532011-07-13 Glenn Morris <rgm@gnu.org>
19354
19355 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19356 (dired-insert-directory): Give a message the first time
19357 if ls is found not to support --dired.
19358
1d8c2ccc
LMI
193592011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19360
19361 * simple.el (toggle-truncate-lines): Clarify what is toggled
19362 (bug#5580). Text by Drew Adams.
19363
5fc4038e
CY
193642011-07-13 Chong Yidong <cyd@stupidchicken.com>
19365
19366 * simple.el (blink-matching-open): Make the error message from the
19367 last change less verbose.
19368
bf6012e5
DN
193692011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19370
19371 * font-lock.el (font-lock-comment-face): Use the high contrast
19372 "yellow" color for font-lock-comment-face on low color terminals
19373 using a dark background color (bug#4221).
19374
343c3b5a
LMI
193752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19376
7e9505c5
LMI
19377 * dired.el (dired-insert-set-properties): Make the doc string
19378 reflect what it does now (bug#5325).
19379
c26fdcf5
LMI
19380 * simple.el (blink-matching-open): Say that we were unable to find
19381 the match within the limit, if we're limited (bug#5122).
19382
bb388cc5
LMI
19383 * international/mule-cmds.el (prefer-coding-system): Add an
19384 example (bug#4869).
19385
343c3b5a
LMI
19386 * progmodes/etags.el (tags-search): Document `file-list-form'
19387 (bug#4731).
19388
2a517d45
LM
193892011-07-13 Lawrence Mitchell <wence@gmx.li>
19390
19391 * net/browse-url.el (browse-url-default-browser)
19392 (browse-url-browser-function): Make the default browser choice a
19393 bit more logical (bug#4300). Also clean up the doc string.
19394
b6c78ef2
JB
193952011-07-13 Juanma Barranquero <lekktu@gmail.com>
19396
19397 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19398 binary endings (bug#4440).
19399
1c4dd947
LMI
194002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19401
a2014063
LMI
19402 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19403 which can be pretty annoying (bug#8971).
19404
9c9c2d88
LMI
19405 * jka-compr.el (jka-compr-verbose): New variable, and use
19406 throughout (bug#8971).
19407
1c4dd947
LMI
19408 * info.el (Info-find-file): Fall back on the installation
19409 directory if we can't find the info node anywhere else.
19410
a1c9f41b
SO
194112011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19412
19413 * vc/vc.el (vc-revert-file):
19414 Don't set file time-stamp in the past. (Bug#5181)
19415
536f3d36
LMI
194162011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19417
7152b011
LMI
19418 * files.el (after-find-file): Give a better error message when
19419 trying to find a symlink that points to a file that doesn't exist
19420 (bug#4398).
19421
536f3d36
LMI
19422 * progmodes/cc-vars.el: Remove (probably) misleading comment
19423 (bug#4396).
19424
460c0fba
JB
194252011-07-12 Johan Bockgård <bojohan@gnu.org>
19426
19427 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19428
7a6bda45
CY
194292011-07-12 Chong Yidong <cyd@stupidchicken.com>
19430
19431 * mouse-sel.el: Hack restoring functionality, while keeping
19432 compatibility with 2010-07-03 changes to mouse selection.
19433 (mouse-sel-primary-overlay): New var.
19434 (mouse-sel-selection-alist): Use it.
19435 (mouse-sel-mode): Doc fix; remove points that are default features
19436 of mouse.el.
19437
c79598ef
JB
194382011-07-12 Johan Bockgård <bojohan@gnu.org>
19439
19440 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19441 Fix previous fix (bug#2490).
19442
ff8be6ef
RW
194432011-07-12 Roland Winkler <winkler@gnu.org>
19444
b796c9b7
SM
19445 * textmodes/bibtex.el (bibtex-initialize):
19446 Use pop-to-buffer-same-window.
ff8be6ef
RW
19447 (bibtex-search-entries): Fix interactive call.
19448
296ba3ee
LMI
194492011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19450
f5242a02 19451 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
19452 Fontise bytecomp Error lines more correctly (bug#2490).
19453 Fix suggested by Johan Bockgård.
f5242a02 19454
296ba3ee
LMI
19455 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19456
19457 * dired-x.el (dired-guess-default): Use `delete-dups'.
19458
f69fd0d2
CY
194592011-07-12 Chong Yidong <cyd@stupidchicken.com>
19460
19461 * dired.el (dired-mark-prompt):
19462 * dired-aux.el (dired-read-shell-command): Doc fix.
19463
eab5dc07
LMI
194642011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19465
b796c9b7
SM
19466 * mail/sendmail.el (sendmail-query-once):
19467 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
19468 emacs -Q.
19469
19470 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19471
eab5dc07
LMI
19472 * cus-edit.el (custom-file): Take an optional no-error variable.
19473 (customize-save-variable): Set the variable, and give a warning if
19474 running under "emacs -q".
19475
a1e65d42
JB
194762011-07-11 Juanma Barranquero <lekktu@gmail.com>
19477
19478 * loadhist.el (unload-feature-special-hooks):
19479 Add `auto-coding-functions', `fill-nobreak-predicate' and
19480 `find-directory-functions' (bug#5327).
19481
1d52da10
LMI
194822011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19483
be958f1d
LMI
19484 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19485
5bedb26c
LMI
19486 * cus-edit.el (custom-guess-name-alist): -alist variables should
19487 use the `alist' type (bug#3120). Suggested by Drew Adams.
19488
1d52da10
LMI
19489 * printing.el: Add documentation to all the `pr-toggle-' commands.
19490
cd394be1 194912011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
19492
19493 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19494 backends where it makes sense (bug#2623).
19495
dcc88d8a
LMI
194962011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19497
c3de9feb
LMI
19498 * dired-x.el (dired-guess-default): Remove duplicate shell command
19499 entries (bug#2028).
8a93078b 19500 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 19501 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 19502
dcc88d8a
LMI
19503 * subr.el (remove-duplicates): New conveniency function.
19504
505e3645
LMI
195052011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19506
19507 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19508 (bug#1526).
19509
195102011-07-10 Martin Rudalics <rudalics@gmx.at>
19511
19512 * window.el (display-buffer-normalize-default): Don't invert
19513 meaning of even-window-heights. Reported by Eli Zaretskii
19514 <eliz@gnu.org>.
19515
455e4fa1
BR
195162011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19517
19518 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19519
8e0bc3e9
CY
195202011-07-10 Chong Yidong <cyd@stupidchicken.com>
19521
19522 * window.el (display-buffer): Fix arguments to
19523 display-buffer-reuse-window in last change.
19524
fa7c3228
CY
19525 * faces.el (link): Use a less saturated blue on light backgrounds.
19526
19527 * startup.el (fancy-startup-text, fancy-about-text)
19528 (fancy-startup-tail): Use font-lock faces, for background safety.
19529
c0a7f300
BN
195302011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19531
b796c9b7
SM
19532 * emulation/viper-cmd.el (viper-change-state-to-vi):
19533 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 19534
4dc2a129
MR
195352011-07-09 Martin Rudalics <rudalics@gmx.at>
19536
19537 * window.el (display-buffer-default-specifiers): Remove.
19538 (display-buffer-macro-specifiers): Remove default specifiers.
19539 (display-buffer-alist): Default to nil.
b796c9b7 19540 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
19541 (display-buffer-pop-up-window): Allow splitting internal
19542 windows. Check whether a live window was created.
19543 (display-buffer-other-window-means-other-frame)
19544 (display-buffer-normalize-arguments): Rename to
19545 display-buffer-normalize-argument and rewrite. Set the
19546 other-window specifier.
19547 (display-buffer-normalize-special): New function.
19548 (display-buffer-normalize-options): Rename to
19549 display-buffer-normalize-default and rewrite.
19550 (display-buffer-normalize-options-inhibit): Remove.
19551 (display-buffer-normalize-specifiers): Rewrite.
19552 (display-buffer): Process other-window specifier and call
19553 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19554 more faithfully.
b796c9b7 19555 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 19556 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
19557 (display-buffer-in-window, display-buffer-alist-set):
19558 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
19559 <tassilo@member.fsf.org>.
19560
2d43b8c9
LL
195612011-07-09 Leo Liu <sdl.web@gmail.com>
19562
19563 * register.el (insert-register): Restore accidental change on
19564 2011-06-26. (Bug#9028)
19565
7f9b7c53
GM
195662011-07-09 Glenn Morris <rgm@gnu.org>
19567
19568 * subr.el (remq): Handle the empty list. (Bug#9024)
19569
f042cfd8
AS
195702011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19571
19572 * mail/sendmail.el (send-mail-function): No longer delay custom
19573 initialization.
19574 * custom.el (custom-initialize-delay): Doc fix.
19575
856b2f11
SM
195762011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19577
19578 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19579
afae1d68
MA
195802011-07-08 Michael Albinus <michael.albinus@gmx.de>
19581
19582 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19583 human-friendly prompt.
19584
0757af94
SM
195852011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19586
19587 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19588 provided by a particular plugin.
19589
d760b731
LMI
195902011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19591
19592 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19593 save customizations (with "emacs -Q"), just set the variable
19594 instead of erroring out.
19595
19596 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19597
cd79ce90
JL
195982011-07-08 Juri Linkov <juri@jurta.org>
19599
19600 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19601 (archive-zip-update-case): Use 7z if found by `executable-find'.
19602 The order of searching the available programs is the same as in
19603 `archive-zip-extract' (bug#8968).
19604
14cc04aa
CY
196052011-07-07 Chong Yidong <cyd@stupidchicken.com>
19606
19607 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19608 (menu-bar-options-menu): Tweak descriptions.
19609
0a1848ec
LMI
196102011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19611
19612 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19613 menu items into verb phrases (bug#1421). Also refill to fit under
19614 80 columns.
19615
f5bd0689
CY
196162011-07-07 Chong Yidong <cyd@stupidchicken.com>
19617
538e85c6
CY
19618 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19619 (Info-read-node-name): Doc fix (Bug#1084).
19620
f5bd0689
CY
19621 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19622 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19623 (end-of-sexp, beginning-of-sexp)
19624 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19625 (forward-symbol, forward-same-syntax, word-at-point)
19626 (sentence-at-point): Doc fix (Bug#1144).
19627
56ec5115
LMI
196282011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19629
f3f8e37f
LMI
19630 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19631 should cover it (bug#1281).
19632
0757af94 19633 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 19634
e9fce1ac 19635 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
19636 negotiation fails, then possibly try again with a non-encrypted
19637 connection (bug#9017).
19638
56ec5115
LMI
19639 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19640 be used.
19641
c2f9aec8
RS
196422011-07-07 Richard Stallman <rms@gnu.org>
19643
19644 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19645 property, and handle its changed format.
19646 Look for the correct line number.
19647 Use file's line contents (but not past first =) to find
19648 correct line in message.
19649
ef7b981d 196502011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
19651
19652 * international/characters.el (build-unicode-category-table):
19653 Delete it.
0757af94 19654 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 19655
0757af94 19656 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
19657 to src/chartab.c.
19658 (get-char-code-property): Call unicode-property-table-internal to
19659 load a file. Call get-unicode-property-internal where necessary.
19660 (put-char-code-property): Call unicode-property-table-internal to
19661 load a file. Call put-unicode-property-internal where necessary.
19662 put-unicode-property-internal where necessary.
0757af94
SM
19663 (char-code-property-description):
19664 Call unicode-property-table-internal to load a file.
c805dec0
KH
19665
19666 * international/charprop.el:
19667 * international/uni-bidi.el:
19668 * international/uni-category.el:
19669 * international/uni-combining.el:
19670 * international/uni-comment.el:
19671 * international/uni-decimal.el:
19672 * international/uni-decomposition.el:
19673 * international/uni-digit.el:
19674 * international/uni-lowercase.el:
19675 * international/uni-mirrored.el:
19676 * international/uni-name.el:
19677 * international/uni-numeric.el:
19678 * international/uni-old-name.el:
19679 * international/uni-titlecase.el:
19680 * international/uni-uppercase.el: Regenerate.
19681
19682 * loadup.el: Load international/charprop.el before
19683 international/characters.
19684
e14b388a
CY
196852011-07-07 Chong Yidong <cyd@stupidchicken.com>
19686
19687 * window.el (next-buffer, previous-buffer): Signal an error if
19688 called from a minibuffer window.
19689
19690 * bindings.el: Revert 2011-07-04 change.
19691
354cf0ba
RS
196922011-07-06 Richard Stallman <rms@gnu.org>
19693
19694 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19695 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19696 Treat markers like ints.
19697 (rmail-mime-entity): Doc fix.
19698
a48868a7
LMI
196992011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19700
4906cd3d
LMI
19701 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19702 defcustom again for backwards compatibility.
19703
e0457abe
LMI
19704 * simple.el (shell-command-on-region): Fill.
19705
d67f7e1f
LMI
19706 * dired-aux.el (dired-kill-line): Add a doc string.
19707
fe204702
LMI
19708 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19709 to "\\sw\\|\\s_" (bug#358).
19710
a48868a7
LMI
19711 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19712 (dired-unmark-backward): Ditto.
19713 (dired-flag-backup-files): Ditto.
19714
19715 * dired-x.el (dired-mark-sexp): Ditto.
19716
aa8a705c
RS
197172011-07-06 Richard Stallman <rms@gnu.org>
19718
19719 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19720 (rmail-mime-entity): New arg TRUNCATED.
19721 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19722 New functions.
19723 (rmail-mime-save): Warn if entity is truncated.
19724 (rmail-mime-toggle-hidden): Likewise, for showing.
19725 (rmail-mime-process-multipart): Record when an entity is truncated.
19726
a9a936b9
RS
19727 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19728 if ENTITY is a string.
19729
1f2b92cb
LMI
197302011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19731
f4f73198 19732 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
19733 of faces when `M-C-x'-ing their definitions (bug#8378).
19734 Also clean up the code slightly.
f4f73198 19735
12b16734 19736 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 19737 because that makes the colors go away.
12b16734 19738
f0691d22
LMI
19739 * mail/sendmail.el (send-mail-function): Change the default to
19740 `sendmail-query-once'.
9e87df06 19741 (sendmail-query-once): Add an autoload cookie.
f0691d22 19742
1f2b92cb
LMI
19743 * net/network-stream.el (network-stream-open-starttls): Try using
19744 a plain connection even if the server offered STARTTLS, and we
19745 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19746 capability. This should make smtpmail.el work in slightly more
19747 configurations.
19748
1cdd2a1b
MA
197492011-07-06 Michael Albinus <michael.albinus@gmx.de>
19750
19751 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19752 New defun.
19753 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19754
fbcc67e2
MM
197552011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19756
19757 * progmodes/sql.el: Version 3.0
0757af94 19758 (sql-product-alist): Add product :completion-object,
fbcc67e2 19759 :completion-column, and :statement attributes.
0757af94 19760 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 19761 (sql-mode-syntax-table): Mark all punctuation.
0757af94 19762 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
19763 ansi keywords.
19764 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 19765 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
19766 (sql-oracle-show-reserved-words): New function for development.
19767 (sql-product-font-lock): Simplify for source code buffers.
19768 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19769 New functions.
19770 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
19771 (sql-mode-map): Add statement movement functions.
19772 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19773 New variable.
fbcc67e2
MM
19774 (sql-statement-regexp, sql-beginning-of-statement)
19775 (sql-end-of-statement, sql-signum): New functions.
0757af94 19776 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
19777 (sql-show-sqli-buffer): Bug fix.
19778 (sql-interactive-mode): Store connection data as buffer local.
0757af94 19779 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
19780 with sql-interactive-mode.
19781 (sql-save-connection): Save buffer local settings.
0757af94 19782 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
19783 (sql-product-interactive): Bug fix.
19784 (sql-preoutput-hold): New variable.
19785 (sql-interactive-remove-continuation-prompt): Bug fixes.
19786 (sql-debug-redirect): New variable.
19787 (sql-str-literal): New function.
19788 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 19789 Redesign.
fbcc67e2
MM
19790 (sql-oracle-save-settings, sql-oracle-restore-settings)
19791 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19792 (sql-completion-object, sql-completion-column)
19793 (sql-completion-sqlbuf): New variables.
19794 (sql-build-completions-1, sql-build-completions)
19795 (sql-try-completion): New functions.
19796 (sql-read-table-name): Use them.
19797 (sql-contains-names): New buffer local variable.
19798 (sql-list-all, sql-list-table): Use it.
19799 (sql-oracle-completion-types): New variable.
19800 (sql-oracle-completion-object, sql-sqlite-completion-object)
19801 (sql-postgres-completion-object): New functions.
19802
d4eaeab1
GM
198032011-07-06 Glenn Morris <rgm@gnu.org>
19804
19805 * window.el (pop-to-buffer): Doc fix.
19806
322b7dab 198072011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
19808
19809 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19810
322b7dab 198112011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 19812
322b7dab 19813 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 19814
322b7dab 19815 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 19816
605dd5bf
CY
198172011-07-05 Chong Yidong <cyd@stupidchicken.com>
19818
19819 * button.el (button): Inherit from link face. Suggested by Dan
19820 Nicolaescu.
19821
7dbfa719
SM
198222011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19823
3db614b0
SM
19824 * progmodes/gdb-mi.el: Fit in 80 columns.
19825 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19826 switch-to-buffer.
19827
7dbfa719
SM
19828 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19829 if imenu is simply not configured (bug#8941).
19830
919d884a
KM
198312011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19832
19833 * allout.el (allout-post-undo-hook): New allout outline-change
19834 event hook to signal undo activity.
19835 (allout-post-command-business): Run allout-post-undo-hook if an
19836 undo just occurred.
7dbfa719
SM
19837 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19838 * allout-widgets.el (allout-widgets-after-undo-function):
19839 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
19840 in the vicinity of an undo.
19841 (allout-widgets-mode): Include allout-widgets-after-undo-function
19842 on the new allout-post-undo-hook.
19843
450a0f09
SM
198442011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19845
19846 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19847 Let define-derived-mode define it.
19848 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19849 cycles of abbrev-table inheritance (bug#8998).
19850
2de69e00
RW
198512011-07-05 Roland Winkler <winkler@gnu.org>
19852
19853 * textmodes/bibtex.el: Add support for biblatex.
19854 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19855 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19856 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19857 (bibtex-entry-alist, bibtex-field-alist): New variables.
19858 (bibtex-entry-field-alist): Obsolete alias for
19859 bibtex-BibTeX-entry-alist.
19860 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19861 (bibtex-set-dialect): New command.
19862 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
19863 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19864 Bind via bibtex-set-dialect.
2de69e00
RW
19865 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19866 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19867 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19868 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19869 Define via bibtex-set-dialect.
450a0f09
SM
19870 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19871 Obey bibtex-no-opt-remove-re.
2de69e00
RW
19872 (bibtex-vec-push, bibtex-vec-incr): New functions.
19873 (bibtex-format-entry, bibtex-field-list)
19874 (bibtex-print-help-message, bibtex-validate)
19875 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19876
2dcdbdd9
SM
198772011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19878
19879 * progmodes/compile.el (compilation-goto-locus):
19880 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19881 * bs.el (bs-cycle-next, bs-cycle-previous):
19882 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19883 * bindings.el (mode-line-other-buffer):
19884 * autoinsert.el (auto-insert):
19885 * arc-mode.el (archive-extract):
19886 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19887
b27640fe
JB
198882011-07-05 Juanma Barranquero <lekktu@gmail.com>
19889
19890 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19891 Fix check of `emacs-lock-unlockable-modes'.
19892 Coerce true values of `emacs-lock--try-unlocking' to t.
19893
53bbe3ad
JB
198942011-07-05 Juanma Barranquero <lekktu@gmail.com>
19895
19896 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19897 * emacs-lock.el: New file.
19898
1d3cdbc7
JD
198992011-07-05 Julien Danjou <julien@danjou.info>
19900
19901 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19902 than `boundp' to check if face is set.
19903
9173deec
JB
199042011-07-05 Juanma Barranquero <lekktu@gmail.com>
19905
19906 * register.el (registerv-make):
19907 * window.el (window-min-height): Fix typos in docstrings.
19908
869795d6
JD
199092011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19910
9173deec 19911 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
19912 Update doc string.
19913
b768cdcd
JB
199142011-07-04 Juanma Barranquero <lekktu@gmail.com>
19915
19916 * server.el (server-execute): Catch quit and call
19917 `server-return-error' to pass the error back to emacsclient and
19918 close the connection (bug#8942).
19919
13aa217b
KM
199202011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19921
19922 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19923 insecure exception for current topic. Also note that auto-saves
19924 are handled differently.
19925
5d3385a0 19926 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
19927 State variables for tracking auto-save inhibition situation.
19928
19929 (allout-write-contents-hook-handler): Rename from
19930 'allout-write-file-hook-handler', and describe how it depends on
19931 write-contents-functions sensitivity to non-nil value to prevent
19932 file write.
19933
19934 (allout-auto-save-hook-handler): Remove. auto-save does not check
19935 this in individual buffers, only in the starting buffer, so this
19936 is not the right way for us to inhibit auto-save in a buffer
19937 according to its condition.
19938
19939 (allout-mode): Use new allout-write-contents-hook-handler, and
19940 only with write-contents-functions. Remove auto-save provisions -
19941 they're implemented elsewhere.
19942
19943 (allout-before-change-handler): If undo is in progress, note that
19944 for attention of allout-post-command-business.
19945
19946 (allout-post-command-business): If the command we're following was
19947 an undo, check for change in the status of encrypted items and
19948 adjust auto-save inhibitions accordingly.
19949
19950 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19951 according to whether there are or aren't any plain-text topics
19952 pending encryption.
19953
2dcdbdd9 19954 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
19955 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19956 if there are plain-text topics pending encryption.
13aa217b
KM
19957
19958 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19959 buffer-saved-size and some allout state to not inhibit auto-saves
19960 if there are no longer any plain-text topics pending encryption.
19961
0757af94
SM
19962 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19963 No longer provide for exemption of the current topic.
13aa217b 19964
ac89b32c
JL
199652011-07-04 Juri Linkov <juri@jurta.org>
19966
19967 Add 7z operations to delete and save changed members (bug#8968).
19968 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19969 New defcustoms.
19970 (archive-7z-write-file-member): New function.
19971 (archive-7z-summarize): Fix the number of dashes in the
19972 listing output.
19973
8fa39615
SM
199742011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19975
19976 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19977 (bug#8958).
19978
2f11b3f1
CY
199792011-07-04 Chong Yidong <cyd@stupidchicken.com>
19980
d66fef2b
CY
19981 * bindings.el: Ignore next-buffer and previous-buffer in
19982 minibuffer-local-map.
19983
2f11b3f1
CY
19984 * font-lock.el (font-lock-builtin-face): Change light background
19985 color to dark slate blue (Bug#6693).
19986
f932a347
WD
199872011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19988
19989 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19990
c8af70e1
SM
199912011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19992
19993 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19994 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19995 Add switch-to-buffer.
19996
f158badc
LMI
199972011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19998
19999 * isearch.el (isearch-search-fun-function): Clarify further the
20000 meaning of the function returned.
20001
6d95bd46
MA
200022011-07-04 Michael Albinus <michael.albinus@gmx.de>
20003
20004 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
20005
20006 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
20007 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
20008 Use it.
20009 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
20010 `tramp-default-remote-path' does not exist.
20011 (tramp-send-command-and-read): New optional argument NOERROR.
20012 (tramp-open-connection-setup-interactive-shell)
20013 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
20014 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
20015 (tramp-process-sentinel): Flush also process' connection property.
20016 (tramp-sh-handle-start-file-process): Do not set process
20017 sentinel. It is done now ...
20018 (tramp-maybe-open-connection): ... here. (Bug#8929)
20019
909e6b67
MK
200202011-07-04 MON KEY <monkey@sandpframing.com>
20021
20022 * play/animate.el (animate-string): Doc fixes and allow changing
20023 the buffer name (bug#5417).
20024
200252011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
20026
c8af70e1 20027 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 20028
f34755dc
PE
200292011-07-04 Paul Eggert <eggert@cs.ucla.edu>
20030
396cec72
PE
20031 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
20032 This is simpler and helps future-proof the code.
20033 (timer-until): Use time-subtract and float-time.
08235028 20034 (timer--time-less-p): Use time-less-p.
f34755dc 20035
56e6cc31
JB
200362011-07-04 Juanma Barranquero <lekktu@gmail.com>
20037
3abb79e5
JB
20038 * type-break.el (timep): Use the value of `float-time' to avoid a
20039 byte-compiler warning.
20040
56e6cc31
JB
20041 * server.el (server-eval-and-print): Return any result, even nil.
20042
7b9430b4
PE
200432011-07-03 Paul Eggert <eggert@cs.ucla.edu>
20044
20045 * type-break.el: Accept time formats that the builtins accept.
20046 (timep, type-break-time-difference): Accept any format that
20047 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
20048 This is simpler and helps future-proof the code.
20049 (type-break-time-difference): Round rather than ignoring
20050 subseconds components.
20051
3034e9e7
LMI
200522011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20053
20054 * info.el (Info-apropos-matches): Make non-interactive, since it
20055 doesn't seem to do anything useful as a command (bug#8829).
20056
1485f4c0
CY
200572011-07-03 Chong Yidong <cyd@stupidchicken.com>
20058
20059 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 20060 Move from faces.el.
1485f4c0
CY
20061 (frame-default-terminal-background): New function.
20062
20063 * custom.el (custom-push-theme): Don't record faces in `changed'
20064 theme; this doesn't work correctly for per-frame face settings.
20065 (disable-theme): Use face-set-after-frame-default to reset faces.
20066 (custom--frame-color-default): New function.
20067
9fa3dd45
LMI
200682011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20069
c8af70e1 20070 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
20071 (bug#8769).
20072
6cbbc20c
KR
200732011-03-29 Kevin Ryde <user42@zip.com.au>
20074
20075 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20076 `perl-Test2' extend to match possible "fail #N" rep count
20077 (bug#8377).
20078
c7f98048
LMI
200792011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20080
65676592
LMI
20081 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
20082 `smtpmail-via-smtp' now returns the error instead of nil.
20083
c7f98048
LMI
20084 * isearch.el (isearch-search-fun-function): Clarify the doc string
20085 (bug#8101).
20086
56e6cc31 200872011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
20088
20089 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
20090 unnecessary spaces (bug#8987).
20091
2b216704
LMI
200922011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20093
20094 * net/network-stream.el (open-network-stream): Use the
20095 :end-of-capability command thoughout.
20096
200972011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
20098
20099 * net/network-stream.el (open-network-stream): Add the
20100 :end-of-capability command parameter, used by pop3.el.
20101
36adf6ce
LMI
201022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
20103
1ca0da0e
LMI
20104 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
20105
fc00f69c
LMI
20106 * fringe.el (fringe-query-style): Remove redundant text " (type ?
20107 for list)" (bug#6475).
20108
28fd8759 20109 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 20110 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
20111 an error (bug#6297).
20112
0dd8b6da
LMI
20113 * man.el (Man-reference-regexp): Allow matching possible
20114 word-wrapped references (bug#6289).
20115
ce1438d6
LMI
20116 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20117 for consistency with the other vc buffers (bug#6197).
20118 (vc-checkin): Ditto.
20119
20120 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20121
36adf6ce
LMI
20122 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20123
e83cc1f7
LMI
201242011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20125
8a20ca4c
LMI
20126 * custom.el (defcustom): Clarify that :set is only used in the
20127 Customize user interface (bug#6089).
20128
83319045
LMI
20129 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20130 associated with a file, refuse to run instead of erroring out
20131 (bug#6084).
20132
a8392169
LMI
20133 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20134 the doc string, since it appears that using `fill-column' always
20135 controls the width (bug#7845).
20136
e83cc1f7
LMI
20137 * simple.el (shell-command-on-region): Say where the error output
20138 went if `shell-command-default-error-buffer' is set (bug#6857).
20139
e47ca23b
KM
201402011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20141
20142 * allout.el (allout-yank-processing): Adjust cursor position for
20143 backwards-deleted space.
20144
20145 (allout-rebullet-heading): Register changes with
20146 allout-exposure-changed-hook, so the modified topic is properly
20147 decorated.
20148
5cf56143
LMI
201492011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20150
08549772
LMI
20151 * minibuffer.el (completion-in-region): Document PREDICATE
20152 (bug#7136).
20153
48e96771
LMI
20154 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20155 of keyword/argument pairs (bug#6904).
20156
c8af70e1
SM
20157 * replace.el (multi-occur):
20158 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 20159
e17d05e2
LMI
201602011-07-02 Drew Adams <drew.adams@oracle.com>
20161
20162 * dired.el (dired-mark-if): Make the message about whether it's
20163 marking or unmarking clearer (bug#8523).
20164
063b0e45
LMI
201652011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20166
20167 * disp-table.el (display-table-print-array): New function.
20168 (describe-display-table): Use it to print the vectors more pretty
20169 (Bug#8859).
20170
28545e04
MR
201712011-07-02 Martin Rudalics <rudalics@gmx.at>
20172
20173 * window.el (window-state-get-1): Don't assign clone numbers.
20174 Add clone-of item to list of window parameters.
20175 (window-state-put-2): Don't process clone numbers.
20176 (display-buffer-alist): Fix doc-string.
20177
3349e122
SM
201782011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20179
20180 * subr.el (remq): Don't allocate if it's not needed.
20181 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20182 (keymap--merge-bindings): New functions.
20183 (keymap-canonicalize): Use them to refine the canonicalization.
20184 * minibuffer.el (minibuffer-local-completion-map)
20185 (minibuffer-local-must-match-map): Move initialization from C.
20186 (minibuffer-local-filename-completion-map): Move initialization from C;
20187 don't inherit from anything here.
20188 (minibuffer-local-filename-must-match-map): Make obsolete.
20189 (completing-read-default): Use make-composed-keymap to combine
20190 minibuffer-local-filename-completion-map with either
20191 minibuffer-local-must-match-map or
20192 minibuffer-local-filename-completion-map.
20193
d224ac83
GM
201942011-07-01 Glenn Morris <rgm@gnu.org>
20195
3de63bf8
GM
20196 * type-break.el (type-break-time-sum): Use dolist.
20197
d224ac83
GM
20198 * textmodes/flyspell.el (flyspell-word-search-backward):
20199 Replace CL function.
20200
1a1e3f32
SM
202012011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20202
fe3f64d5
SM
20203 * mouse.el (mouse--strip-first-event): New function.
20204 (function-key-map): Use it to map fringe clicks to normal clicks
20205 by default.
20206
eb604e34
SM
20207 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20208 (vc-bzr-revision-completion-table): Add support for annotate and date.
20209
1a1e3f32
SM
20210 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20211 inherit from parent.
20212
5bd35902
LMI
202132011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20214
ace6c69c 20215 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 20216 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 20217
191e2bed
LMI
20218 * dired.el (dired-mode): Fix up the doc string as suggested by
20219 Drew Adams (bug#8817).
20220
5bd35902
LMI
20221 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20222 cookie, since the manual says that it should be possible to add
20223 this function to `find-file-hook' (bug#8709).
20224
eee8207a
TZ
202252011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20226
20227 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20228 here. Noted Ted Zlatanov as the maintainer.
20229 (cfengine-common-settings, cfengine-common-syntax): New functions
20230 to set up common things between `cfengine-mode' and
20231 `cfengine3-mode'.
20232 (cfengine3-mode): New mode.
20233 (cfengine3-defuns cfengine3-defuns-regex
20234 (cfengine3-class-selector-regex cfengine3-category-regex)
20235 (cfengine3-vartypes cfengine3-font-lock-keywords)
20236 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 20237 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 20238
36b148cf
MA
202392011-07-01 Michael Albinus <michael.albinus@gmx.de>
20240
20241 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20242
20243 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20244
0bf4ba9a
MR
202452011-07-01 Martin Rudalics <rudalics@gmx.at>
20246
20247 * window.el (same-window-buffer-names, same-window-regexps)
20248 (same-window-p, special-display-frame-alist)
20249 (special-display-popup-frame, special-display-function)
20250 (special-display-buffer-names, special-display-regexps)
20251 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20252 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20253 (split-window-preferred-function, split-height-threshold)
20254 (split-width-threshold, even-window-heights)
20255 (display-buffer-mark-dedicated, window-splittable-p)
20256 (split-window-sensibly, window-safely-shrinkable-p):
20257 Un-obsolete.
20258 (display-buffer): Don't spread args with function specifier
20259 because special-display-popup-frame won't like it.
20260
35837f51
PE
202612011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20262
d0672f86
PE
20263 Time-stamp simplifications and fixes.
20264 These improve accuracy slightly, and future-proof the code
20265 against some potential changes to current-time format.
20266
b9444d97
PE
20267 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20268 by using time-since and float-time.
20269
0ef923dc
PE
20270 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20271 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20272 + NNN microseconds".
20273
2f81380d
PE
20274 * type-break.el (type-break-time-sum): Rewrite using time-add.
20275
845b5c3e
PE
20276 * play/hanoi.el (hanoi-current-time-float): Remove.
20277 All uses replaced by float-time.
20278
ee6f1be0
PE
20279 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20280 This yields a more-accurate answer.
20281 (rng-time-to-float): Remove; no longer needed.
20282
fe955043
PE
20283 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20284
5777162a
PE
20285 * calendar/timeclock.el (timeclock-seconds-to-time):
20286 Defalias to seconds-to-time, since they're the same thing.
20287
3103f8b6 20288 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 20289 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
20290 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20291
0e61a35f
SM
202922011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20293
20294 * window.el (bury-buffer): Don't iconify the only frame.
20295 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20296 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20297
ddd63a1e
CY
202982011-07-01 Chong Yidong <cyd@stupidchicken.com>
20299
0e61a35f
SM
20300 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20301 Add mouse-yank-primary.
ddd63a1e 20302
055f4923
TZ
203032011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20304
20305 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20306
6a2fb145
SM
203072011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20308
20309 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20310 (find-library-name): Use it to find relative load names when provided
20311 absolute file name (bug#8803).
20312
fd4983f2
LMI
203132011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20314
887d14ad
LMI
20315 * textmodes/flyspell.el (flyspell-word): Consider words that
20316 differ only in case as potential doublons (bug#5687).
20317
c53dc7fc
LMI
20318 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20319 Remove two rather uninteresting debugging-like messages to make
20320 debbugs.el more silent.
20321
fd4983f2
LMI
20322 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20323 a password-like phrase.
20324
7a71b18d 203252011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
20326
20327 * progmodes/cc-guess.el: New file.
20328
6a2fb145 20329 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
20330
20331 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20332 derived from `c-basic-common-init'.
20333
20334 * progmodes/cc-mode.el (top-level): Require cc-guess.
20335 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20336
1fa280a3
LM
203372011-06-30 Lawrence Mitchell <wence@gmx.li>
20338
20339 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20340
e6597158
AM
203412011-06-30 Alan Mackenzie <acm@muc.de>
20342
1fa280a3
LM
20343 * progmodes/cc-engine.el (c-guess-continued-construct):
20344 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
20345 lock is disabled. Name this case as "CASE G".
20346
68ba37fb
KM
203472011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20348
20349 * allout.el (allout-yank-processing): Fix injection of extra space
20350 between bullet and non-whitespace character in first topic when
20351 pasting, ensuring that the actual spacing in the pasted topic
20352 following the bullet char is preserved. This extra space was
20353 causing pasted encrypted topics to get a decrypted status even
20354 when the content was actually still encrypted. Now the decryption
20355 status from before the paste is preserved.
20356
20357 (allout-flag-region): Set all allout overlays so they evaporate
20358 when reduced to zero length (evanescent), to prevent overlay
20359 leakage.
20360
887a0b34
GM
203612011-06-30 Glenn Morris <rgm@gnu.org>
20362
94b9acce
GM
20363 * w32-fns.el (w32-charset-info-alist): Declare.
20364
1d9b46d4
GM
20365 * find-dired.el (find-grep-options): Simplify.
20366
cc232200
GM
20367 * term/ns-win.el (ns-set-resource): Declare.
20368
28e77c46
GM
20369 * ses.el (row, col): Declare dynamic variables honestly.
20370
887a0b34
GM
20371 * textmodes/reftex-parse.el (index-tags): Declare.
20372
658d8eb8
CY
203732011-06-30 Chong Yidong <cyd@stupidchicken.com>
20374
20375 * cus-edit.el (customize-push-and-save): New function.
20376
20377 * files.el (hack-local-variables-confirm): Use it.
20378
1fa280a3
LM
20379 * custom.el (load-theme): New arg NO-CONFIRM.
20380 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
20381 (custom-enabled-themes): Doc fix.
20382
20383 * cus-theme.el (customize-create-theme)
20384 (custom-theme-merge-theme): Callers to load-theme changed.
20385
bb617717
LMI
203862011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20387
d61bdd5d
LMI
20388 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20389 short URLs have at least one dot in them (bug #7614).
20390
bb617717
LMI
20391 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20392 nil, because using a pty is apparently too slow (bug #895).
20393
2f31f37a
LMI
203942011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20395
20396 * mail/sendmail.el (sendmail-query-once): New function.
20397 (sendmail-query-once-function): New variable.
20398
3076b24e
GM
203992011-06-29 Glenn Morris <rgm@gnu.org>
20400
faf2a174
GM
20401 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20402
3076b24e
GM
20403 * ses.el (top-level): Require cl when compiling.
20404 (ses-set-localvars): Fix error statement.
20405 Call it at compile time to silence a storm of warnings.
20406
5386012d
MR
204072011-06-29 Martin Rudalics <rudalics@gmx.at>
20408
20409 * window.el (normalize-live-buffer): Rename to
20410 window-normalize-buffer.
20411 (normalize-live-frame): Rename to window-normalize-frame.
20412 (normalize-any-window): Rename to window-normalize-any-window.
20413 (normalize-live-window): Rename to window-normalize-live-window.
20414 (make-window-atom): Rename to window-make-atom.
20415 (window-resize-reset): Rename to window--resize-reset.
20416 (window-resize-reset-1): Rename to window--resize-reset-1.
20417 (resize-mini-window): Rename to window--resize-mini-window.
20418 (resize-subwindows-skip-p): Rename to
20419 window--resize-subwindows-skip-p.
20420 (resize-subwindows-normal): Rename to
20421 window--resize-subwindows-normal.
20422 (resize-subwindows): Rename to window--resize-subwindows.
20423 (resize-other-windows): Rename to window--resize-siblings.
20424 (resize-this-window): Rename to window--resize-this-window.
20425 (resize-root-window): Rename to window--resize-root-window.
20426 (resize-root-window-vertically): Rename to
20427 window--resize-root-window-vertically.
20428 (normalize-buffer-to-display): Rename to
20429 window-normalize-buffer-to-display.
20430 (normalize-buffer-to-switch-to): Rename to
20431 window-normalize-buffer-to-switch-to.
20432 Correspondingly update all callers of the functions listed
20433 above.
20434 (display-buffer-alist, display-buffer-normalize-arguments)
20435 (display-buffer-normalize-options, display-buffer)
20436 (display-buffer-alist-set): Use "function" instead of
20437 "fun-with-args".
20438
1176868d
CY
204392011-06-28 Chong Yidong <cyd@stupidchicken.com>
20440
20441 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20442 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20443 debbugs.gnu.org. Mention acknowledgment email.
20444
20a7a65f
LMI
204452011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20446
20447 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20448 buffer multibyteness, since it shouldn't matter.
20449
5f45cca5
MR
204502011-06-28 Martin Rudalics <rudalics@gmx.at>
20451
20452 * window.el (display-buffer-in-side-window): Handle dedicated
20453 windows as in display-buffer-reuse-window.
20454 (display-buffer-normalize-alist): Use value of override
20455 specifier.
20456 (display-buffer-normalize-specifiers): Use value of
20457 other-window-means-other-frame specifier.
20458 (display-buffer-alist): Rewrite some texts in widgets.
20459 (display-buffer): Spread arguments when calling function
20460 specified by fun-with-args.
20461
ad85fe1f
DD
204622011-06-28 Deniz Dogan <deniz@dogan.se>
20463
1fa280a3
LM
20464 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20465 Unnest `let'.
da68c4c8 20466
ad85fe1f
DD
20467 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20468 selectors (Bug#5732).
ec49bd31 20469 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 20470
a08cc025
JA
204712011-06-27 Jari Aalto <jari.aalto@cante.net>
20472
20473 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20474 (eshell-ls-date-format): New defcustom.
20475 (eshell-ls-file): Use it.
20476
e2b551c5
SM
204772011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20478
20479 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20480
8982b231
KY
204812011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20482
20483 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20484 (ange-ftp-make-tmp-name): New arg.
20485 (ange-ftp-file-local-copy): Use it.
20486
36c9fa27
J
204872011-06-27 Jambunathan K <kjambunathan@gmail.com>
20488
20489 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20490 no-conversion (Bug#8870).
20491
d68443dc
MR
204922011-06-27 Martin Rudalics <rudalics@gmx.at>
20493
20494 * window.el (window-right, window-left, window-child)
20495 (window-child-count, window-last-child)
20496 (window-iso-combination-p, walk-window-tree-1)
20497 (window-atom-check-1, window-tree-1, delete-window)
20498 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20499 new naming conventions - window-vchild, window-hchild,
20500 window-next and window-prev are now called window-top-child,
20501 window-left-child, window-next-sibling and window-prev-sibling
20502 respectively.
d615d6d2
MR
20503 (resize-window-reset): Rename to window-resize-reset.
20504 (resize-window-reset-1): Rename to window-resize-reset-1.
20505 (resize-window): Rename to window-resize.
20506 (window-min-height, window-min-width)
20507 (resize-mini-window, resize-this-window, resize-root-window)
20508 (resize-root-window-vertically, adjust-window-trailing-edge)
20509 (enlarge-window, shrink-window, maximize-window)
20510 (minimize-window, delete-window, quit-restore-window)
20511 (split-window, balance-windows, balance-windows-area-adjust)
20512 (balance-windows-area, window-state-put-2)
20513 (display-buffer-even-window-sizes, display-buffer-set-height)
20514 (display-buffer-set-width, set-window-text-height)
20515 (fit-window-to-buffer): Rename all "resize-window" prefixed
20516 calls to use the "window-resize" prefix convention.
20517 (display-buffer-alist): Fix symbol for label specifier.
20518 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20519 corresponding specifier.
20520 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 20521
b6458526
VB
205222011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20523
20524 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20525 convention.
20526 (ses-call-printer): Does not pass an empty string to formatter when the
20527 cell is empty to keep from barking printer Calc math-format-value.
20528
d31fd9ac
RS
205292011-06-27 Richard Stallman <rms@gnu.org>
20530
43d5bf84
RS
20531 * battery.el (battery-mode-line-limit): New variable.
20532 (battery-update): Handle it.
20533
d31fd9ac
RS
20534 * mail/rmailmm.el (rmail-mime-process-multipart):
20535 Handle truncated messages.
20536
819a6054
GM
205372011-06-27 Glenn Morris <rgm@gnu.org>
20538
20539 * progmodes/flymake.el (flymake-err-line-patterns):
20540 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20541
cedc73f2
VB
205422011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20543
819a6054 20544 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
20545 (ses--clean-!, ses--clean-_): New functions.
20546 (ses-range): Add configurability of readout order, and conversion
20547 to Calc vector.
20548
5e5d49b6
VB
20549 * ses.el (ses-repair-cell-reference-all): New function.
20550 (ses-cell-symbol): Set macro as safe, so that it can be used in
20551 formulas.
20552
56e6cc31 20553 * ses.el: Update cycle detection algorithm.
90ca8b49 20554 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 20555 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
20556 (ses-set-localvars): New function.
20557 (ses-make-cell): Add property-list as a cell element.
20558 (ses-cell-property-get-fun, ses-cell-property-get)
20559 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
20560 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20561 New functions.
90ca8b49
VB
20562 (ses-cell-property-set, ses-cell-property-pop)
20563 (ses-cell-property-get-handle): New macro.
20564 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20565 New aliases, used for code readability.
20566 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20567 cycle detection.
20568 (ses-self-reference-early-detection): New defcustom.
fac916bf 20569 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
20570 (ses-mode): Use ses-set-localvars.
20571 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20572 before lauching the update processing.
20573 (ses-initialize-Dijkstra-attempt): New function.
20574 (ses-recalculate-cell): Update for cycle detection based on
20575 Dijkstra algorithm.
20576
2bb63e81
VB
20577 * ses.el: Fix commenting and indenting convention.
20578
c9d29fb8
SM
205792011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20580
20581 * bs.el (bs-cycle-next): Complete last change.
20582
d8e4b68b
JB
205832011-06-27 Drew Adams <drew.adams@oracle.com>
20584
20585 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20586
40098786
LMI
205872011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20588
c9d29fb8
SM
20589 * net/network-stream.el (network-stream-open-starttls):
20590 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
20591 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20592
40098786
LMI
20593 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20594 to binary to possibly avoid line encoding issues on Windows (among
20595 other things).
20596
468d09d4
LMI
205972011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20598
20599 * net/network-stream.el (open-network-stream): Return an :error
20600 saying what the problem was, if possible.
20601
20602 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20603 server.
20604
20605 * net/network-stream.el (network-stream-open-starttls): If we
20606 wanted to use STARTTLS, and the server offered it, but we weren't
20607 able to because we had no STARTTLS support, then close the connection.
20608 (open-network-stream): Return an :error element, if present.
20609
16f07dd7
CY
206102011-06-26 Chong Yidong <cyd@stupidchicken.com>
20611
88821ca0
CY
20612 * hl-line.el (hl-line-sticky-flag): Doc fix.
20613 (global-hl-line-sticky-flag): New option (Bug#8323).
20614 (global-hl-line-highlight): Obey it.
20615
16f07dd7
CY
20616 * vc/vc.el (vc-revert-show-diff): Default to t.
20617
6b5ccddf
KM
206182011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20619
c9d29fb8
SM
20620 * allout-widgets.el (allout-widgets-post-command-business):
20621 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
20622 undecorated when an isearch is continued past, and isearch
20623 automatically collapses them. This leads to "widget leaks", where
20624 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
20625 hidden widgets can slow down cursor travel, substantially.
20626 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
20627 so we're doing without this nicety.
20628
20629 (allout-widgets-tally-string): Don't try to do a hash-table-count
20630 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20631 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20632 *Messages* when allout-widgets-maintain-tally is t.
20633
355f2e07
MR
206342011-06-26 Martin Rudalics <rudalics@gmx.at>
20635
20636 * window.el (display-buffer-normalize-argument): Rename to
20637 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
20638 LABEL argument. Respect special-display-function when popping up
20639 a new frame. Fix code searching for a window showing the buffer
20640 on another frame.
c9d29fb8
SM
20641 (display-buffer-normalize-specifiers):
20642 Call display-buffer-normalize-arguments.
355f2e07
MR
20643 (display-buffer-in-window): Don't undedicate the window if its
20644 buffer remains the same.
20645 Reported by Drew Adams <drew.adams@oracle.com>.
20646 (display-buffer-alist): Add choice for same-window macro
20647 specfier.
20648 (display-buffer): Mention special meaning of LABEL argument in
20649 doc-string. Fix quoting. Don't pop up a new frame even as
20650 fallback.
20651
7ca8fc42
JB
206522011-06-26 Juanma Barranquero <lekktu@gmail.com>
20653
20654 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20655 avoid deleting the current window in some cases (bug#8911).
20656
bc312254
AS
206572011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20658
20659 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20660 (Bug#8934)
20661
2db18f3f
LMI
206622011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20663
c9d29fb8
SM
20664 * net/network-stream.el (network-stream-open-starttls):
20665 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
20666 (network-stream-open-tls): Ditto.
20667
6302e0d3
LL
206682011-06-26 Leo Liu <sdl.web@gmail.com>
20669
20670 * register.el (registerv): New struct.
20671 (registerv-make): New function.
c9d29fb8
SM
20672 (jump-to-register, describe-register-1, insert-register):
20673 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
20674 struct. (Bug#8415)
20675
5fdd4046
CY
206762011-06-26 Chong Yidong <cyd@stupidchicken.com>
20677
2afef60a
CY
20678 * vc/vc.el (vc-revert-show-diff): New defcustom.
20679 (vc-diff-internal): New arg specifying diff buffer.
20680 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20681 reuse an existing *vc-diff* buffer (Bug#8927).
20682
5fdd4046
CY
20683 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20684
e93db24a
GM
206852011-06-26 Glenn Morris <rgm@gnu.org>
20686
20687 * progmodes/f90.el (f90-critical-indent): New option.
20688 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20689 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20690 (f90-mode): Doc fix.
20691 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20692 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20693 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20694 (f90-match-end): Handle block, critical.
20695
eefff499
GM
206962011-06-25 Glenn Morris <rgm@gnu.org>
20697
f6ba4cc9
GM
20698 * calendar/diary-lib.el (diary-included-files): Doc fix.
20699 (diary-include-files): New function, extracted from
20700 diary-include-other-diary-files and diary-mark-included-diary-files.
20701 (diary-include-other-diary-files, diary-mark-included-diary-files):
20702 Just call diary-include-files.
20703 (diary-mark-entries): Reset diary-included-files on first call.
20704
16712304
GM
20705 * calendar/diary-lib.el (diary-mark-entries)
20706 (diary-mark-included-diary-files):
20707 Visit included diary-files in temp buffers.
20708
5d8e0d43
GM
20709 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20710 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20711 (f90-start-block-re, f90-imenu-generic-expression)
20712 (f90-looking-at-program-block-start, f90-no-block-limit):
20713 Add support for submodules.
20714
ccf7a5d5
GM
20715 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20716 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 20717
11fdef7d 207182011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
20719
20720 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20721 buffer-file-type before setting its value, to avoid disastrous
eefff499 20722 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 20723
74f53697
JB
207242011-06-25 Juanma Barranquero <lekktu@gmail.com>
20725
20726 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20727
20728 * ses.el (ses-unload-function):
20729 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20730
20731 * proced.el (proced-unload-function):
20732 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20733
18a4ce5e
AR
207342011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20735
20736 * server.el (server-create-window-system-frame): Add parameters arg.
20737 (server-process-filter): Doc fix. Handle frame-parameters.
20738
519d22cc
JB
207392011-06-25 Juanma Barranquero <lekktu@gmail.com>
20740
20741 Fix bug#8730, bug#8781.
20742
20743 * loadhist.el (unload--set-major-mode): New function.
20744 (unload-feature): Use it.
20745
20746 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20747 (python-unload-function): New function.
20748
c206f5b0
SM
207492011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20750
20751 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20752
f9ad64f3
GS
207532011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20754
20755 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20756 the candidates list.
20757
7d0da90e
JB
207582011-06-24 Juanma Barranquero <lekktu@gmail.com>
20759
20760 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20761
14b4e83d
RS
207622011-06-23 Richard Stallman <rms@gnu.org>
20763
20764 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20765 (rmail-variables): Set next-error-move-function.
20766 (rmail-what-message): Take argument POS.
20767 (rmail-next-error-move): New function.
20768
273d2baf
SM
207692011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20770
20771 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20772 messages for adjacent non-terminals.
20773
56c2cc9a
RS
207742011-06-23 Richard Stallman <rms@gnu.org>
20775
20776 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 20777 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
20778 (rmail-start-mail): Don't specify use of rmail-mail-return;
20779 that's done by mail-bury now.
20780 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 20781
d59eb518
MA
207822011-06-23 Michael Albinus <michael.albinus@gmx.de>
20783
20784 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20785 SIZE is a number.
20786
02cfc6d6
MR
207872011-06-23 Martin Rudalics <rudalics@gmx.at>
20788
20789 * window.el (get-lru-window, get-mru-window)
20790 (get-largest-window): Never return a minibuffer window.
20791 (display-buffer-pop-up-window): Fix a bug that could lead to
20792 reusing the minibuffer window.
20793 (display-buffer): Pass original specifier argument to
20794 display-buffer-function instead of the normalized one.
20795 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20796
4e323265
LL
207972011-06-22 Leo Liu <sdl.web@gmail.com>
20798
20799 * minibuffer.el (completing-read-function)
1f9f395d 20800 (completing-read-default): Move from minibuf.c.
4e323265 20801
7a70468f
RS
208022011-06-22 Richard Stallman <rms@gnu.org>
20803
50718fc2
RS
20804 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20805 to Rmail even if not started by a special Rmail command.
20806
7a70468f
RS
20807 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20808 Copy the buffer currently showing just one message.
20809
297dde5a
RW
208102011-06-22 Roland Winkler <winkler@gnu.org>
20811
20812 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20813 (bibtex-clean-entry): First delete the old key so that a
20814 customized algorithm for generating the new key does not get
20815 confused by the old key.
20816 (bibtex-url): Obey regexp of first step.
20817 (bibtex-search-entries): Do not use add-to-list with local
20818 list-var.
20819
97bb1093
LMI
208202011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20821
20822 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20823 stored a user name, then query for the password first, instead of
20824 waiting for SMTP to give an error message and the trying again.
20825
1c0f1a19
JD
208262011-06-22 Lawrence Mitchell <wence@gmx.li>
20827
20828 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20829 BUFFER in call-process.
20830
396f7c9d
LMI
208312011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20832
20833 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20834 QUIT twice.
ddb7ffee
LMI
20835 (smtpmail-try-auth-methods): Require user name and password from
20836 auth-source.
396f7c9d 20837
8998d1b3
MR
208382011-06-22 Martin Rudalics <rudalics@gmx.at>
20839
20840 * window.el (display-buffer-default-specifiers)
20841 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20842 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 20843 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
20844
20845 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20846 (special-display-frame-alist, special-display-popup-frame):
20847 Remove duplicate declarations. These are now in window.el.
20848
4ea31e07
LMI
208492011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20850
c9d29fb8
SM
20851 * mail/smtpmail.el (smtpmail-via-smtp):
20852 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
20853 server supports it. SMTP servers that support STARTTLS commonly
20854 require it.
20855
20856 * net/network-stream.el (network-stream-open-starttls): Support
20857 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 20858 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 20859
95f41d9a
LMI
20860 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20861 upgrades with `open-network-stream', and rely solely on
20862 auth-source for all credentials. Big changes throughout the file,
20863 but in particular:
c9d29fb8
SM
20864 (smtpmail-auth-credentials): Remove.
20865 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
20866 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20867 MAIL FROM, too.
95f41d9a 20868
c9d29fb8
SM
20869 * net/network-stream.el (network-stream-open-starttls):
20870 Provide support for client certificates both for external and built-in
4ea31e07
LMI
20871 STARTTLS.
20872 (auth-source): Require.
20873 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
20874 (network-stream-certificate): Change cert-cert to cert and
20875 cert-key to key.
4ea31e07 20876
065ec2c7
MA
208772011-06-21 Michael Albinus <michael.albinus@gmx.de>
20878
20879 * net/tramp-cache.el (top): Don't load the persistency file when
20880 "emacs -Q" has been called.
20881
cd93b359
DR
208822011-06-21 Tim Harper <timcharper@gmail.com>
20883
d8e4b68b
JB
20884 * term/ns-win.el (ns-initialize-window-system):
20885 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
20886 resource to NO as it is not yet supported by the NS port.
20887
ae9c0411
JB
208882011-06-21 Juanma Barranquero <lekktu@gmail.com>
20889
20890 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20891 (list-dynamic-libraries): ...not here.
20892
7f3f739f
LL
208932011-06-21 Leo Liu <sdl.web@gmail.com>
20894
20895 * subr.el (sha1): Implement sha1 using secure-hash.
20896
327c8fb1
MR
208972011-06-21 Martin Rudalics <rudalics@gmx.at>
20898
20899 * window.el (display-buffer-alist): In default value do not
20900 enforce searching a window on any but the selected frame.
20901 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20902 (display-buffer-select-window): Remove function.
20903 (display-buffer-in-window): When a window on another frame gets
20904 reused, do not select it any more but just raise its frame if
20905 necessary (Bug#8851) and (Bug#8856).
20906 (display-buffer-normalize-options): Handle pop-up-frames related
20907 options more faithfully.
20908 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20909 window if it is on another frame.
c9d29fb8
SM
20910 (display-buffer-alist, display-buffer-default-specifiers):
20911 Don't make new frame unsplittable by default.
9e9de014
MR
20912 (display-buffer-normalize-argument): Fix doc-string typo and use
20913 'same-frame-other-window instead of 'other-window when associating
20914 with display-buffer-macro-specifiers.
327c8fb1 20915
7cf3f556
VB
209162011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20917
20918 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20919 New functions.
20920 (5x5-mode-map, 5x5-mode-menu): Bind them.
20921 (5x5-draw-grid): Tweak the solver's rendering.
20922
60a406cf
SM
209232011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20924
20925 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20926 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20927
d8e4b68b 209282011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
20929
20930 * menu-bar.el: Use function variable instead of switch-to-buffer.
20931 (menu-bar-select-buffer-function): New variable.
60a406cf 20932 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 20933
478d6f95
SM
209342011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20935
20936 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20937 variable's status.
20938
ca530739
JD
209392011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20940
20941 * x-dnd.el (x-dnd-version-from-flags)
20942 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20943 and long as number (Bug#8899).
20944 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20945
bcd70d97
SM
209462011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20947
60a406cf 20948 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
20949 (completion-try-completion, completion-all-completions): Compute the
20950 metadata argument if it's missing; make it optional (bug#8795).
20951
60a406cf 20952 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
20953 (widget-complete): Use new :completion-function property.
20954 (widget-completions-at-point): New function.
20955 (default): Use :completion-function instead of :complete.
60a406cf
SM
20956 (widget-default-completions): Rename from widget-default-complete;
20957 Rewrite.
bcd70d97
SM
20958 (widget-string-complete, widget-file-complete, widget-color-complete):
20959 Remove functions.
20960 (file, symbol, function, variable, coding-system, color):
20961 * international/mule-cmds.el (default-input-method, charset)
20962 (language-info-custom-alist):
20963 * cus-edit.el (face): Use new property :completions.
20964
20965 * progmodes/pascal.el (pascal-completions-at-point): New function.
20966 (pascal-mode): Use it.
20967 (pascal-mode-map): Use completion-at-point.
20968 (pascal-toggle-completions): Make obsolete.
20969 (pascal-complete-word, pascal-show-completions):
20970 * progmodes/octave-mod.el (octave-complete-symbol):
20971 Redefine as obsolete alias.
20972 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20973 Signal absence of completion info for old Octave,
20974 (inferior-octave-complete): Redefine as obsolete alias.
20975 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20976 (meta-completions-at-point): Rename from meta-complete-symbol and
20977 adapt it for use on completion-at-point-functions.
20978 (meta-common-mode): Use it.
20979 (meta-looking-at-backward, meta-match-buffer): Remove.
20980 (meta-complete-symbol): Redefine as obsolete alias.
20981 (meta-common-mode-map): Use completion-at-point.
20982 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20983 (makefile-mode-map): Use completion-at-point.
20984 (makefile-completions-at-point): Rename from makefile-complete and
20985 adapt it for use on completion-at-point-functions.
20986 (makefile-mode): Use it.
20987 (makefile-complete): Redefine as obsolete alias.
20988
aebf69c8
DD
209892011-06-20 Deniz Dogan <deniz@dogan.se>
20990
20991 * net/rcirc.el: Delete trailing whitespaces once and for all.
20992
bfbbb27d
DC
209932011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20994
20995 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20996
d264a46b
CY
209972011-06-19 Chong Yidong <cyd@stupidchicken.com>
20998
4ca009e5
CY
20999 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
21000
d264a46b
CY
21001 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
21002
fbf5b3ce
MR
210032011-06-19 Martin Rudalics <rudalics@gmx.at>
21004
21005 * window.el (display-buffer-other-window-means-other-frame):
21006 Call display-buffer-normalize-alist.
21007 (display-buffer-normalize-specifiers-1): Rename to
21008 display-buffer-normalize-argument. New argument other-frame.
21009 Rewrite.
21010 (display-buffer-normalize-specifiers-2): Rename to
21011 display-buffer-normalize-options.
21012 (display-buffer-normalize-alist-1): New function.
21013 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
21014 display-buffer-normalize-alist.
21015 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
21016 (display-buffer-normalize-options-inhibit): New variable.
21017 (display-buffer-normalize-specifiers): Rewrite calling
21018 display-buffer-normalize-alist,
21019 display-buffer-normalize-argument, and
21020 display-buffer-normalize-options. Don't call the latter if
21021 display-buffer-normalize-options-inhibit is non-nil.
21022 (frame-auto-delete): New option.
21023 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
21024 (window-list-no-nils, window-state-ignored-parameters)
21025 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
21026 (window-state-put-1, window-state-put-2, window-state-put):
21027 New functions.
9a028c23
MR
21028 (display-buffer-normalize-options): Move special-display-p group
21029 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 21030
6d10d800
CY
210312011-06-18 Chong Yidong <cyd@stupidchicken.com>
21032
6420d28b
CY
21033 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
21034 groups (Bug#8776).
21035 (rx-submatch-n): New function.
21036 (rx): Document it.
21037
ddb8b596
CY
21038 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
21039 (Bug#8768).
21040
21041 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
21042
77080289
CY
21043 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
21044
61dfb316
CY
21045 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
21046 anytime existing face settings are present (Bug#8889).
21047
6d10d800
CY
21048 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
21049 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
21050 Remove unused argument.
21051
be3fb2b8
MR
210522011-06-18 Martin Rudalics <rudalics@gmx.at>
21053
bcd70d97
SM
21054 * window.el (display-buffer-default-specifiers):
21055 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
21056 pop-up-window-min-width, and another reuse-window specifier
21057 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
21058 (display-buffer-normalize-specifiers-2):
21059 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
21060 pop-up-windows is unset. Add a reuse-window specifier for the
21061 case popping up a new window fails.
21062 (special-display-popup-frame): Remove double quoting.
28dec25a 21063 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 21064
1c6d8c76
SM
210652011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
21066
21067 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21068 according to comint-completion-addsuffix.
21069
21070 * pcomplete.el: Convert to lexical binding and fix bug#8819.
21071 (pcomplete-suffix-list): Mark as obsolete.
21072 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
21073 pcomplete-seen in the closure.
21074 (pcomplete-comint-setup): Setup completion-at-point as well.
21075 (pcomplete--entries): New function.
21076 (pcomplete--env-regexp): New var.
21077 (pcomplete-entries): Rewrite to work with partial-completion and
21078 without relying on pcomplete-suffix-list.
21079 (pcomplete-pare-list): Remove, unused.
21080
25aef8b8
MR
210812011-06-17 Martin Rudalics <rudalics@gmx.at>
21082
21083 * window.el (display-buffer-alist): Set pop-up-window-min-height
21084 and pop-up-window-min-width in default value. Reported by
21085 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
21086 other-window-means-other-frame.
21087 (display-buffer-macro-specifiers): Comment out entry for
21088 other-window specifier.
21089 (display-buffer-other-window-means-other-frame): New function.
21090 (display-buffer-normalize-specifiers-1): New arguments
21091 buffer-name and label. Treat other-window case specially.
21092 (display-buffer-normalize-specifiers-2): Treat other-window case
21093 specially.
21094 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
21095 (display-buffer-normalize-specifiers):
21096 Call display-buffer-normalize-specifiers-3.
25aef8b8 21097
dbad4f69
MR
210982011-06-17 Martin Rudalics <rudalics@gmx.at>
21099
21100 * window.el (same-window-p): Fix two typos introduced when
21101 adding with-no-warnings.
d1067961
MR
21102 (display-buffer-normalize-specifiers-1): Don't check
21103 pop-up-frames for 'unset initialization.
21104 (display-buffer-normalize-specifiers-2): Major rewrite using
21105 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21106 (pop-up-frames, display-buffer-reuse-frames)
21107 (display-buffer-mark-dedicated): Don't initialize to 'unset.
21108 Suggested by David Engster <deng@randomsample.de>.
21109 (even-window-heights): Initialize to 'unset.
21110 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
21111 (display-buffer-macro-specifiers): Don't pop up a new frame in the
21112 other window case.
dbad4f69 21113
9b9c9e3a
MR
211142011-06-16 Martin Rudalics <rudalics@gmx.at>
21115
bcd70d97
SM
21116 * window.el (display-buffer-normalize-specifiers-1):
21117 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 21118 second argument of display-buffer (Bug#8865).
981d5c09
MR
21119 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21120 (switch-to-buffer-other-window-same-frame)
21121 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21122 Adams (Bug#8875).
9c2755e9
MR
21123 (display-buffer): Don't check noninteractive when calling
21124 display-buffer-pop-up-frame.
21125 (display-buffer-pop-up-frame): Never pop up a frame in
21126 noninteractive mode (Bug#8857).
67222e1d
MR
21127 (enlarge-window, shrink-window): Don't report an error when the
21128 window can't be resized as requested (Bug#8862).
9b9c9e3a 21129
2b75be67
SM
211302011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21131
9ffdd3ba
SM
21132 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21133
cb581a67
SM
21134 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21135
2b75be67
SM
21136 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21137
8c0e3589
AM
211382011-06-15 Alan Mackenzie <acm@muc.de>
21139
cb581a67
SM
21140 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21141 for declarators, disable knr checking to speed up for normal files.
21142 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 21143
b96e6cde
LMI
211442011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21145
4bba86e6
LMI
21146 * net/network-stream.el (open-network-stream): Add the keyword
21147 :always-query-capabilities for the case where you want to force a
21148 `plain' network connection, but the protocol still requires the
21149 capabilitiy command (i.e., SMTP and EHLO).
21150
2b75be67 21151 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
21152 consistency with other `-live-p' functions.
21153
efdcdbf8
SM
211542011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21155
21156 * window.el (same-window-buffer-names, same-window-regexps)
21157 (special-display-frame-alist, special-display-popup-frame)
21158 (special-display-function, special-display-buffer-names)
21159 (special-display-regexps, pop-up-frame-alist)
21160 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21161 (pop-up-windows, split-window-preferred-function)
21162 (split-height-threshold, split-width-threshold, even-window-heights)
21163 (display-buffer-mark-dedicated): Don't encourage the use of
21164 display-buffer-alist from Elisp code.
21165
c5cde042
DN
211662011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21167
21168 * progmodes/python.el (python-mode): Derive from prog-mode.
21169 * progmodes/ps-mode.el (ps-mode):
21170 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 21171 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
21172 * progmodes/ld-script.el (ld-script-mode): Likewise.
21173
baa1c9ab
MR
211742011-06-15 Martin Rudalics <rudalics@gmx.at>
21175
21176 * window.el (display-buffer-alist): Trim default value to avoid
21177 popping up a new frame (Bug#8857) or reusing an arbitrary window
21178 on another frame.
21179 (display-buffer): Do not fall back on popping up a new frame in
21180 batch mode (Bug#8857).
21181
c5dd5a51
CY
211822011-06-14 Chong Yidong <cyd@stupidchicken.com>
21183
21184 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21185 (custom-theme-summary): New function.
21186 (customize-themes): Use it.
21187
d647b7c4
GM
211882011-06-13 Glenn Morris <rgm@gnu.org>
21189
21190 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21191
9481c002
MR
211922011-06-13 Martin Rudalics <rudalics@gmx.at>
21193
357f93d2
MR
21194 * help.el (help-window): Remove variable.
21195 (help-window-point-marker, temp-buffer-max-height)
21196 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21197 (help-print-return-message): Don't set help-window.
21198 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21199 (help-window-setup-finish): Remove.
21200 (help-window-display-message, help-window-setup)
21201 (with-help-window): Major rewrite based on new
21202 display-buffer-window variable.
21203
21204 * help-mode.el (help-mode-finish): Remove help-window related
21205 code.
21206
21207 * view.el (view-exits-all-viewing-windows): Remove reference to
21208 view-return-to-alist in doc-string.
21209 (view-return-to-alist): Make obsolete.
21210 (view-buffer): Call pop-to-buffer-same-window and remove
21211 undo-window code.
21212 (view-buffer-other-window): Call pop-to-buffer-other-window and
21213 simplify code. Ignore second argument.
21214 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21215 simplify code. Ignore second argument.
21216 (view-return-to-alist-update): Make obsolete.
21217 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21218 Rewrite using quit-restore window parameters.
2b75be67
SM
21219 (view-mode-exit): Rename second argument to EXIT-ONLY.
21220 Rewrite using quit-restore-window.
357f93d2
MR
21221 (View-exit, View-exit-and-edit, View-leave, View-quit)
21222 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21223 appropriate arguments.
21224 (view-end-message): Use quit-restore window parameter.
21225
9481c002
MR
21226 * window.el (display-buffer-function): Rewrite doc-string.
21227 (display-buffer-window, display-buffer-alist): New variables.
21228 (display-buffer-split-specifiers)
21229 (display-buffer-side-specifiers)
21230 (display-buffer-macro-specifiers): New constants.
21231 (display-buffer-even-window-sizes, display-buffer-set-height)
21232 (display-buffer-set-width, display-buffer-select-window)
21233 (display-buffer-in-window, display-buffer-reuse-window)
21234 (display-buffer-split-window-1, display-buffer-split-window)
21235 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21236 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21237 (display-buffer-in-side-window, normalize-buffer-to-display)
21238 (display-buffer-normalize-specifiers-1)
21239 (display-buffer-normalize-specifiers-2)
2b75be67
SM
21240 (display-buffer-normalize-specifiers, display-buffer-frame):
21241 New functions.
9481c002
MR
21242 (display-buffer): Major rewrite.
21243 (display-buffer-other-window, display-buffer-other-frame)
21244 (pop-to-buffer, switch-to-buffer-other-window)
21245 (switch-to-buffer-other-frame): Rewrite.
21246 (display-buffer-same-window, display-buffer-same-frame)
21247 (display-buffer-same-frame-other-window)
21248 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21249 (pop-to-buffer-other-window)
21250 (pop-to-buffer-same-frame-other-window)
21251 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21252 (switch-to-buffer-other-window-same-frame): New functions.
21253 (same-window-p, special-display-p): Rewrite disabling warnings.
21254 Make obsolete.
21255 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21256 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21257 Make obsolete
21258 (same-window-buffer-names, same-window-regexps)
21259 (special-display-frame-alist, special-display-popup-frame)
21260 (special-display-function, special-display-buffer-names)
21261 (special-display-regexps, pop-up-frame-alist)
21262 (pop-up-frame-function, split-window-preferred-function)
21263 (split-height-threshold, split-width-threshold)
21264 (even-window-heights): Make obsolete.
21265
9db51aca
GM
212662011-06-12 Glenn Morris <rgm@gnu.org>
21267
21268 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 21269 Misc simplifications.
9db51aca 21270
39cffb44
MR
212712011-06-12 Martin Rudalics <rudalics@gmx.at>
21272
21273 * window.el (window-safely-shrinkable-p): Restore function which
21274 was inadvertently removed in change from 2011-06-11. Declare as
21275 obsolete.
21276
2b75be67
SM
21277 * calendar/calendar.el (calendar-generate-window):
21278 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
21279 window-safely-shrinkable-p.
21280
a8955be7
GM
212812011-06-12 Glenn Morris <rgm@gnu.org>
21282
21283 * progmodes/fortran.el (fortran-mode-syntax-table):
21284 * progmodes/f90.el (f90-mode-syntax-table):
21285 Set % to punctuation. (Bug#8820)
21286 (f90-find-tag-default): Remove, no longer needed.
21287
f0d4059d
DC
212882011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21289
21290 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21291
1100a63c
CY
212922011-06-11 Chong Yidong <cyd@stupidchicken.com>
21293
21294 * image.el (image-animated-p): Return animation delay in seconds.
21295 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21296 (image-animate-timeout): Remove DELAY argument. Don't assume
21297 every subimage has the same delay; get it from image-animated-p.
21298 (image-animate): Caller changed.
21299
def722bf
MA
213002011-06-11 Michael Albinus <michael.albinus@gmx.de>
21301
21302 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21303 to ignored backtrace functions.
21304
0a2bb1a9
GM
213052011-06-11 Glenn Morris <rgm@gnu.org>
21306
21307 * calendar/appt.el (appt-disp-window-function): Doc fix.
21308 (appt-check): Handle overlapping appointments. (Bug#8337)
21309
6198ccd0
MR
213102011-06-11 Martin Rudalics <rudalics@gmx.at>
21311
21312 * window.el (window-tree-1, window-tree): New functions, moving
21313 the latter to window.el.
21314 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21315 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21316 (bw-refresh-edges): Remove.
21317 (balance-windows-1, balance-windows-2): New functions.
21318 (balance-windows): Rewrite in terms of window tree functions,
21319 balance-windows-1 and balance-windows-2.
21320 (bw-adjust-window): Remove.
21321 (balance-windows-area-adjust): New function with functionality of
21322 bw-adjust-window but using resize-window.
2b75be67
SM
21323 (set-window-text-height): Rewrite doc-string.
21324 Use normalize-live-window and resize-window.
21325 (enlarge-window-horizontally, shrink-window-horizontally):
21326 Rename argument to DELTA.
6198ccd0
MR
21327 (window-buffer-height): New function.
21328 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21329 Rewrite using new window resize routines.
2b75be67
SM
21330 (kill-buffer-and-window, mouse-autoselect-window-select):
21331 Use ignore-errors instead of condition-case.
6198ccd0
MR
21332 (quit-window): Call delete-frame instead of delete-windows-on
21333 for the only buffer on frame.
21334
9397e56f
MR
213352011-06-10 Martin Rudalics <rudalics@gmx.at>
21336
21337 * loadup.el (top-level): Load window before files for the sake
21338 of replace-buffer-in-windows.
21339
21340 * files.el (read-buffer-to-switch)
21341 (switch-to-buffer-other-window)
2b75be67
SM
21342 (switch-to-buffer-other-frame, display-buffer-other-frame):
21343 Move to window.el.
9397e56f
MR
21344
21345 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21346 (previous-buffer): Move to window.el.
21347
21348 * bindings.el (unbury-buffer): Move to window.el.
21349
21350 * window.el (delete-other-windows-vertically): Move after
21351 definition of delete-other-windows.
21352 (other-window, delete-windows-on, replace-buffer-in-windows):
21353 Move here from window.c.
21354 (record-window-buffer, unrecord-window-buffer)
21355 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21356 (switch-to-next-buffer): New functions.
21357 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21358 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
21359 (previous-buffer): Move here from simple.el.
21360 Call switch-to-prev-buffer.
9397e56f
MR
21361 (bury-buffer): Move here from buffer.c. Switch to previous
21362 buffer when window cannot be deleted.
21363 (unbury-buffer): Move here from bindings.el.
21364 (ctl-x-map): Move binding for other-window from window.c to
21365 here.
21366 (read-buffer-to-switch, switch-to-buffer-other-window)
21367 (switch-to-buffer-other-frame): Move here from files.el.
21368 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
21369 (switch-to-buffer): Move here from buffer.c.
21370 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 21371
562dd5e9
MR
213722011-06-10 Martin Rudalics <rudalics@gmx.at>
21373
21374 * window.el (window-min-height, window-min-width): Move here
21375 from window.c. Add defcustoms and rewrite doc-strings.
21376 (resize-mini-window, resize-window): New functions.
21377 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21378 Move here from window.c.
21379 (maximize-window, minimize-window): New functions.
21380 (delete-window, delete-other-windows, split-window): Move here
21381 from window.c.
21382 (window-split-min-size): New function.
21383 (split-window-keep-point): Mention split-window-above-each-other
21384 instead of split-window-vertically.
2b75be67 21385 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
21386 Rename split-window-vertically to split-window-above-each-other
21387 and provide defalias for old definition.
21388 (split-window-side-by-side, split-window-horizontally):
21389 Rename split-window-horizontally to split-window-side-by-side
21390 and provide defalias for the old definition.
562dd5e9
MR
21391 (ctl-x-map): Move bindings for delete-window,
21392 delete-other-windows and enlarge-window here from window.c.
21393 Replace bindings for split-window-vertically and
21394 split-window-horizontally by bindings for
21395 split-window-above-each-other and split-window-side-by-side.
21396
21397 * cus-start.el (all): Remove entries for window-min-height and
21398 window-min-width. Add entries for window-splits and
21399 window-nest.
21400
f0da764a
GM
214012011-06-09 Glenn Morris <rgm@gnu.org>
21402
80675c21
GM
21403 * calendar/appt.el (appt-mode-line): New function.
21404 (appt-check, appt-disp-window): Use it.
21405
f0da764a
GM
21406 * files.el (hack-one-local-variable-eval-safep):
21407 Allow minor-modes with explicit +/-1 arguments.
21408
59f623b7
TZ
214092011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21410
21411 * term/xterm.el (xterm): Add defgroup.
21412 (xterm-extra-capabilities): Add defcustom to supply known xterm
21413 capabilities, skip querying them, or query them (default).
21414 (terminal-init-xterm): Use it.
21415 (terminal-init-xterm-modify-other-keys): New function to set up
21416 modifyOtherKeys support to simplify `terminal-init-xterm'.
21417
9aab8e0d
MR
214182011-06-09 Martin Rudalics <rudalics@gmx.at>
21419
21420 * window.el (resize-window-reset, resize-window-reset-1)
21421 (resize-subwindows-skip-p, resize-subwindows-normal)
21422 (resize-subwindows, resize-other-windows, resize-this-window)
21423 (resize-root-window, resize-root-window-vertically)
21424 (window-deletable-p, window-or-subwindow-p)
21425 (frame-root-window-p): New functions.
21426
e8b08aee
GM
214272011-06-09 Glenn Morris <rgm@gnu.org>
21428
21429 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21430 (ange-ftp-get-files): Use it.
21431
254c37a5
AK
214322011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21433
21434 * mail/sendmail.el (mail-recover-1, mail-recover):
21435 * files.el (recover-file, recover-session):
21436 Handle dired-listing-switches not being just a single short option.
21437
35d7dbd3
GM
214382011-06-09 Glenn Morris <rgm@gnu.org>
21439
21440 * calendar/appt.el (appt-display-message, appt-disp-window):
21441 Handle lists of appointments.
21442
387522b2
MR
214432011-06-08 Martin Rudalics <rudalics@gmx.at>
21444
2b75be67
SM
21445 * window.el (one-window-p): Move down in code.
21446 Rewrite doc-string.
21447 (window-current-scroll-bars): Rewrite doc-string.
21448 Normalize live window argument.
387522b2
MR
21449 (walk-windows, get-window-with-predicate, count-windows):
21450 Rewrite doc-string. Use window-list-1.
21451 (window-in-direction-2, window-in-direction, get-mru-window):
21452 New functions.
21453
d8e4b68b 214542011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
21455
21456 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21457 Doc fix (Bug#8713).
21458
214592011-06-08 Chong Yidong <cyd@stupidchicken.com>
21460
21461 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21462
214632011-06-08 Juanma Barranquero <lekktu@gmail.com>
21464
21465 * loadhist.el (unload-feature-special-hooks):
21466 Add `comint-output-filter-functions'.
21467
0de12c52
IK
214682011-06-08 Ivan Kanis <gnu@kanis.fr>
21469
21470 * calendar/appt.el (appt-check): Move some initializations into the let.
21471
f3d1777e
MR
214722011-06-08 Martin Rudalics <rudalics@gmx.at>
21473
21474 * window.el (window-height): Defalias to window-total-height.
21475 (window-width): Defalias to window-body-width.
21476
18af70d0
CY
214772011-06-07 Chong Yidong <cyd@stupidchicken.com>
21478
21479 * image-mode.el (image-toggle-animation): New command.
21480 (image-mode-map): Bind it to RET.
21481 (image-mode): Update message.
21482 (image-toggle-display-image): Avoid a spurious cache flush.
21483 (image-transform-rotation): Doc fix.
21484 (image-transform-properties): Return quickly in the normal case.
21485 (image-animate-loop): Rename from image-animate-max-time.
21486
2b75be67 21487 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
21488 (create-animated-image): Remove unnecessary function.
21489 (image-animate): Rename from image-animate-start. New arg.
2b75be67 21490 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
21491 (image-animate-timer): Use car-safe.
21492 (image-animate-timeout): Rename argument.
21493
190b47e6
MR
214942011-06-07 Martin Rudalics <rudalics@gmx.at>
21495
21496 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
21497 window.c. Rename first argument to ALL-FRAMES.
21498 Rephrase doc-strings.
21499 (get-buffer-window-list): Rewrite using window-list-1.
21500 Rephrase doc-string.
a1511caf
MR
21501 (window-safe-min-height, window-safe-min-width): New constants.
21502 (window-size-ignore, window-min-size, window-min-size-1)
21503 (window-sizable, window-sizable-p, window-size-fixed-1)
21504 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21505 (window-max-delta-1, window-max-delta, window-resizable)
21506 (window-resizable-p, window-total-height, window-total-width)
21507 (window-body-width): New functions.
21508 (window-full-height-p, window-full-width-p): Rewrite using
21509 window-total-size.
21510 (window-body-height): Rewrite using window-body-size.
190b47e6 21511
85cc1f11
MR
215122011-06-06 Martin Rudalics <rudalics@gmx.at>
21513
21514 * window.el (window-right, window-left, window-child)
21515 (window-child-count, window-last-child, window-any-p)
21516 (normalize-live-buffer, normalize-live-frame)
21517 (normalize-any-window, normalize-live-window)
21518 (window-iso-combination-p, window-iso-combined-p)
21519 (window-iso-combinations)
21520 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21521 (windows-with-parameter, window-with-parameter)
21522 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
21523 (window-atom-check, window-side-check, window-check):
21524 New functions.
85cc1f11
MR
21525 (ignore-window-parameters, window-sides, window-sides-vertical)
21526 (window-sides-slots): New variables.
21527 (window-size-fixed): Move down in code. Minor doc-string fix.
21528
e7156492
AS
215292011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21530
21531 * comint.el (comint-dynamic-complete-as-filename)
21532 (comint-dynamic-complete-filename): Correctly call
21533 completion-in-region.
21534
7e821d0d
DD
215352011-06-05 Deniz Dogan <deniz@dogan.se>
21536
21537 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21538 in last change.
21539
ac09b8a1
DD
215402011-06-05 Deniz Dogan <deniz@dogan.se>
21541
21542 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21543 (rcirc): Use it to prompt for encryption.
21544
34699b85
RW
215452011-06-05 Roland Winkler <winkler@gnu.org>
21546
21547 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21548 (bibtex-search-entries): New command bound to C-c C-a.
21549 (bibtex-display-entries): New function.
21550
004dedd3
RW
215512011-06-05 Roland Winkler <winkler@gnu.org>
21552
21553 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21554 (bibtex-insert-kill): After yanking insert newline if necessary.
21555 (bibtex-initialize): Call bibtex-string-files-init only once.
21556 (bibtex-mode): Do not call easy-menu-add.
21557 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21558 (bibtex-yank): Set arg properly if nil.
21559
022fe7ce
RW
215602011-06-05 Roland Winkler <winkler@gnu.org>
21561
2b75be67
SM
21562 * textmodes/bibtex.el (bibtex-search-entry-globally):
21563 New variable.
022fe7ce
RW
21564 (bibtex-search-entry): Use it.
21565
b7c3692a
RW
215662011-06-05 Roland Winkler <winkler@gnu.org>
21567
21568 * textmodes/bibtex.el (bibtex-entry-format): New option
21569 sort-fields.
21570 (bibtex-format-entry, bibtex-reformat): Honor this option.
21571 (bibtex-parse-entry): Return fields in proper order.
21572
8eda563d
JB
215732011-06-05 Juanma Barranquero <lekktu@gmail.com>
21574
21575 * doc-view.el (doc-view-remove-if): Move computation of result out
21576 of `dolist' to silence misleading lexical-binding warning.
21577
7dbe3dbc
CY
215782011-06-04 Chong Yidong <cyd@stupidchicken.com>
21579
21580 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21581 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21582
0c33dd17
MA
215832011-06-04 Michael Albinus <michael.albinus@gmx.de>
21584
21585 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21586 "SunOS 5.10".
21587
f8f91c2b
MA
215882011-06-04 Michael Albinus <michael.albinus@gmx.de>
21589
21590 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21591 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21592 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21593 (tramp-parse-putty):
21594 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21595 (tramp-completion-function-alist-ssh)
21596 (tramp-completion-function-alist-telnet)
21597 (tramp-completion-function-alist-su)
21598 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21599 cookie.
21600
21601 * net/tramp-ftp.el:
21602 * net/tramp-sh.el:
21603 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21604 load "tramp.el" `tramp-set-completion-function'.
21605
e17d9003
SM
216062011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21607
21608 * shell.el: Require and use pcomplete.
21609 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21610 (shell-completion-vars): Set pcomplete-default-completion-function.
21611
6c4cab03
DD
216122011-06-04 Deniz Dogan <deniz@dogan.se>
21613
21614 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21615 `memq' (Bug#8799).
21616
ea9fafe0
SM
216172011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21618
21619 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21620
b3e945d3
JB
216212011-06-02 Juanma Barranquero <lekktu@gmail.com>
21622
21623 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21624 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21625 * vc/log-view.el (log-view-beginning-of-defun):
21626 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21627 (smerge-refine-forward, smerge-refine-chopup-region):
21628 Silence warning for unused `dotimes' counter variables.
21629
7d520089
SM
216302011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21631
21632 * net/tramp.el (tramp-with-progress-reporter): Rename from
21633 with-progress-reporter. Use `declare'.
21634 * net/tramp-smb.el:
21635 * net/tramp-sh.el:
21636 * net/tramp-gvfs.el: Update all uses.
21637
a1c2400f
JB
216382011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21639
21640 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21641 buffer isn't killed before making it current.
21642
2403c841
SM
216432011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21644
21645 Silence various byte-compiler warnings.
21646 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21647 `access-type' and new obsolescence format.
21648 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21649 new format.
21650 (byte-compile-check-variable): New `access-type' argument.
21651 Only warn if the access-type is obsolete.
21652 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21653 (byte-compile-variable-set): Adjust callers.
21654 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21655 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21656 setting it as obsolete.
21657 * simple.el (minibuffer-completing-symbol):
21658 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21659 access as obsolete.
21660 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21661 obsolete yet.
21662 * international/quail.el (quail-mouse-choose-completion): Remove unused
21663 code referring to obsolete var.
21664 (quail-choose-completion-string): Remove.
21665 * server.el (server-clients-with, server-kill-buffer-query-function)
21666 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21667 * proced.el (proced-send-signal):
21668 * emacs-lisp/lisp.el (lisp-complete-symbol):
21669 Replace completion-annotate-function with completion-extra-properties.
21670
2462470b
SM
216712011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21672
fb5b2591
SM
21673 * simple.el (goto-line): Use read-number.
21674 (overriding-map-is-bound): Remove.
21675 (saved-overriding-map): Change default.
21676 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21677 Take the map as argument.
21678 (universal-argument, negative-argument, digit-argument): Use it.
21679 (restore-overriding-map): Adjust.
21680 (do-auto-fill): Use fill-forward-paragraph.
21681 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21682
fd6fa53f
SM
21683 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21684 (minibuffer-inactive-mode): New major mode.
21685 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21686 the *Messages* buffer" hack.
21687 (mouse-popup-menubar): Don't burp if the event is a normal key.
21688
2462470b
SM
21689 Miscellaneous tweaks.
21690 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21691 lexical scoping as in subr.el's dolist and dotimes.
21692 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21693 Silence compiler warning.
21694 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21695 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21696 * international/ccl.el (ccl-compile): Trivial simplification.
21697 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21698 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21699 `printflag' argument.
21700 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21701 Purecopy the whole obsolescence data.
21702
108bf785
LL
217032011-06-01 Leo Liu <sdl.web@gmail.com>
21704
21705 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21706 improve doc-string as suggested by Marco Pessotto
21707 <melmothx@gmail.com>.
21708 (rcirc-print): Fix last change.
21709
30a23501
SM
217102011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21711
21712 * minibuffer.el (complete-with-action): Return nil for the metadata and
21713 boundaries of non-functional tables.
21714 (completion-table-dynamic): Return nil for the metadata.
21715 (completion-table-with-terminator): Add default case, using
21716 complete-with-action.
21717 (completion--metadata): New function.
21718 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21719 to try and avoid pathological performance problems.
21720 (completion--embedded-envvar-table): Return `category' metadata.
21721
bcd54f83
LMI
217222011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21723
21724 * subr.el (process-alive-p): New tiny convenience function.
21725
e227544d
SM
217262011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21727
21728 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21729 content but also its previous major mode.
21730
e8296fdc
HE
217312011-05-31 Helmut Eller <eller.helmut@gmail.com>
21732
4d61f28d 21733 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
21734 *Backtrace* buffer when we exit with C-M-c.
21735
620c53a6
SM
217362011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21737
21738 * minibuffer.el: Add metadata method to completion tables.
21739 (completion-category-overrides): New defcustom.
21740 (completion-metadata, completion--field-metadata)
21741 (completion-metadata-get, completion--styles)
21742 (completion--cycle-threshold): New functions.
21743 (completion-try-completion, completion-all-completions):
21744 Add `metadata' argument to choose completion-styles.
21745 (completion--do-completion): Use metadata to choose cycling.
21746 (completion-all-sorted-completions): Use metadata for sorting.
21747 Remove :completion-cycle-penalty which is not needed any more.
21748 (completion--try-word-completion): Add `metadata' argument.
21749 (minibuffer-completion-help): Check metadata for annotation function
21750 and sorting.
21751 (completion-file-name-table): Return `category' metadata.
21752 (minibuffer-completing-file-name): Make obsolete.
21753 * simple.el (minibuffer-completing-symbol): Make obsolete.
21754 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21755 completion-try-completion.
21756
1257e755
SM
217572011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21758
21759 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21760
3767e706
LL
217612011-05-30 Leo Liu <sdl.web@gmail.com>
21762
21763 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
21764 (rcirc-print): Decode all incoming messages (bug#8744).
21765 (rcirc-decode-coding-system): Allow value nil for automatic coding
21766 system detection.
3767e706 21767
d1a5d56a
GM
217682011-06-01 Glenn Morris <rgm@gnu.org>
21769
21770 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21771
e8cbec34
CY
217722011-05-29 Chong Yidong <cyd@stupidchicken.com>
21773
21774 * image.el (image-animate-max-time): Allow nil and t values.
21775 Default to nil.
21776 (create-animated-image): Doc fix.
21777 (image-animate-start): Remove second arg; just use
21778 image-animate-max-time.
21779 (image-animate-timeout): Doc fix. Args changed.
21780
21781 * image-mode.el (image-toggle-display-image): Ensure that the
21782 image spec passed to the animate timer is the same object as in
58179cce 21783 the buffer's display property (Bug#6981).
e8cbec34
CY
21784 (image-transform-properties): Doc fix.
21785
21786 * image.el (image-animate-max-time): Default to nil.
21787
159daf87
MR
217882011-05-29 Martin Rudalics <rudalics@gmx.at>
21789
21790 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21791 entire buffer list (Bug#8184).
21792
d66c4c7c
CY
217932011-05-29 Chong Yidong <cyd@stupidchicken.com>
21794
21795 * image.el (imagemagick-types-inhibit)
21796 (imagemagick-register-types): Doc fix.
21797
80aec780
DD
217982011-05-29 Deniz Dogan <deniz@dogan.se>
21799
21800 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21801 default.
21802
1dd3c2d9
CY
218032011-05-29 Chong Yidong <cyd@stupidchicken.com>
21804
21805 * select.el: Don't perform clipboard-manager saving in hooks;
21806 leave the hooks empty.
21807
60e56523
LL
218082011-05-28 Leo Liu <sdl.web@gmail.com>
21809
21810 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21811 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21812 (occur-edit-mode): New major mode (Bug#8463).
21813 (occur-after-change-function): New function.
21814 (occur-engine): Give Occur tags a read-only property.
21815
2b1e1a22
KR
218162011-05-28 Kevin Ryde <user42@zip.com.au>
21817
21818 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21819
5d344e88
CY
218202011-05-28 Chong Yidong <cyd@stupidchicken.com>
21821
8e6ca83d
CY
21822 * bindings.el (help-echo): Make the initial non-indicator dash
21823 empty on graphical terminals (Bug#7295).
21824
5d344e88
CY
21825 * files.el (auto-mode-alist): Move config rule after the
21826 in-stripping one (Bug#8547).
21827
bfbbace7
CY
21828 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21829
fbeba6e2
CY
21830 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21831 setting (Bug#8740).
21832
60ed8c72
AA
218332011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21834
4ac619f0
AA
21835 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21836 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21837 (Bug#8539).
60ed8c72 21838
23db196e
CY
218392011-05-28 Chong Yidong <cyd@stupidchicken.com>
21840
21841 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21842
5012f24c
DK
218432011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21844
21845 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21846 (hs-hide-block-at-point, hs-find-block-beginning)
21847 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21848 (Bug#8279).
21849
6a639b16
GM
218502011-05-28 Glenn Morris <rgm@gnu.org>
21851
21852 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21853
d43eaf2c
CY
218542011-05-28 Chong Yidong <cyd@stupidchicken.com>
21855
5199bde1
CY
21856 * help-fns.el (describe-function-1): If the function is a derived
21857 major mode, print the parent mode.
21858
d43eaf2c
CY
21859 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21860 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21861
423428a8
SM
218622011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21863
0ff8e1ba 21864 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 21865 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
21866 * progmodes/etags.el (tags-completion-at-point-function):
21867 * info-look.el (info-lookup-completions-at-point): Mark as
21868 non-exclusive.
21869 (info-complete): Adjust accordingly.
21870
423428a8
SM
21871 * info-look.el: Convert to lexical-binding and completion-at-point.
21872 (info-lookup-completions-at-point): New function.
21873 (info-complete): Use it and completion-in-region.
21874
b74aa22b
DA
218752011-05-28 Drew Adams <drew.adams@oracle.com>
21876
21877 * isearch.el: Let M-e start with point at the first mismatched char.
21878 (isearch-fail-pos): New function.
21879 (isearch-edit-string): Use it.
21880
66e2e71d
DK
218812011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21882
21883 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21884
b1890b0f 218852011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
21886
21887 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21888 traversal functions for avl-trees.
21889 (avl-tree--stack): New struct.
21890 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21891 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
21892 (avl-tree--do-enter): Add optional `updatefun' arg.
21893 Change return value.
eb95d01d 21894 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
21895 (avl-tree--do-delete): Add `test' and `nilflag' args.
21896 Change return value.
eb95d01d
TC
21897 (avl-tree-member): Add optional `nilflag'
21898 (avl-tree-member-p): New function.
21899 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21900 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21901 (avl-tree-stack-empty-p): New functions.
21902
3769ddcf
TC
21903 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21904 avl-tree--del-balance1 and make it work both ways.
21905 (avl-tree--del-balance2): Remove.
21906 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21907 make it work both ways.
21908 (avl-tree--enter-balance2): Remove.
21909 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21910 New macros.
21911 (avl-tree--mapc, avl-tree-map): Add direction argument.
21912
eb95d01d 219132011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
21914
21915 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21916
a9f737ee
CY
219172011-05-27 Chong Yidong <cyd@stupidchicken.com>
21918
21919 * select.el: Support clipboard managers with built-in function
21920 x-clipboard-manager-save, via delete-frame-functions and
21921 kill-emacs-hook.
21922 (xselect-convert-to-targets): Add MULTIPLE target to list.
21923 (xselect-convert-to-save-targets): New function.
21924
c92a1e54
KH
219252011-05-27 Kenichi Handa <handa@m17n.org>
21926
21927 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21928 let-binding rfc2047-encode-encoded-words to nil.
21929
e145f188
GM
219302011-05-27 Glenn Morris <rgm@gnu.org>
21931
5ec8a862
GM
21932 * mail/emacsbug.el: Don't require url-util.
21933
4b29d9fb
GM
21934 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21935
e145f188
GM
21936 * files.el (set-auto-mode):
21937 Also respect mode: entries at the end of the file. (Bug#8586)
21938
7d15102b
GM
219392011-05-26 Glenn Morris <rgm@gnu.org>
21940
98f593b8
GM
21941 * files.el (hack-local-variables-prop-line, hack-local-variables):
21942 Downcase mode names, as seems to be traditional.
27b48e63 21943 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 21944
7d15102b
GM
21945 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21946 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21947
51d5b4ec
JD
219482011-05-25 Julien Danjou <julien@danjou.info>
21949
21950 * textmodes/rst.el (rst-define-level-faces): Do not define face
21951 symbol if it is already defined.
21952
91513f63
VB
219532011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21954
21955 * play/5x5.el (5x5-new-game, 5x5-randomize):
21956 Reset 5x5-solver-output to nil when a new grid is cast.
21957 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21958 these debugging traces, as defmacro breaks the compiled code.
21959
4d90d6d0
DK
219602011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21961
21962 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21963
e1b90ef6
LL
219642011-05-24 Leo Liu <sdl.web@gmail.com>
21965
21966 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21967 (vc-bzr-sha1): Adapt.
21968
d8e4b68b 21969 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
21970
21971 * bindings.el: Provide sha1 feature.
21972
db0406bb 219732011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
21974
21975 * mail/sendmail.el: Require `rfc2047'.
21976 (mail-insert-from-field): Do not perform RFC2047 encoding.
21977 (mail-encode-header): New function.
21978 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
21979 buffer to the return value of select-message-coding-system.
21980 Call mail-encode-header.
b8d747b9
KH
21981
21982 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21983
db0406bb 219842011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 21985
4d90d6d0
DK
21986 * mail/supercite.el (sc-default-cite-frame):
21987 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 21988
eb8a5e9b
GM
219892011-05-24 Glenn Morris <rgm@gnu.org>
21990
f8630703
GM
21991 * progmodes/python.el (brm-menu): Declare.
21992
8831bbed
GM
21993 * emulation/viper.el (viper-set-hooks): Declare.
21994
eb8a5e9b
GM
21995 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21996 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21997 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21998 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21999 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
22000 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
22001
a2a25d24
SM
220022011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
22003
22004 Add an :exit-function for completion-at-point.
22005
22006 * minibuffer.el (completion--done): New fun.
22007 (completion--do-completion): Use it. New arg `expect-exact'.
22008 (minibuffer-complete, minibuffer-complete-word): Don't output message,
22009 since completion--do-completion does it for us now.
22010 (minibuffer-force-complete): Use completion--done and
22011 completion--replace. Handle sole-completion case with more care.
22012 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
22013 (completion-extra-properties): New var.
22014 (completion-annotate-function): Make obsolete.
22015 (minibuffer-completion-help): Adjust accordingly.
22016 Use completion-list-insert-choice-function.
22017 (completion-at-point, completion-help-at-point):
22018 Bind completion-extra-properties.
22019 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22020 * simple.el (completion-list-insert-choice-function): New var.
22021 (completion-setup-function): Preserve it.
22022 (choose-completion): Pay attention to it, shuffle the code a bit.
22023 (choose-completion-string): New arg `insert-function'.
22024
22025 * textmodes/bibtex.el: Convert to lexical binding.
22026 (bibtex-mode-map): Use completion-at-point.
22027 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22028 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22029 (bibtex-complete): Define as obsolete alias.
22030 (bibtex-complete-internal): Remove.
22031 (bibtex-format-entry): Remove unused sub-group in regexp.
22032 * shell.el (shell--command-completion-data)
22033 (shell-environment-variable-completion):
22034 * pcomplete.el (pcomplete-completions-at-point):
22035 * comint.el (comint--complete-file-name-data): Use :exit-function
22036 instead of completion-table-with-terminator so it also works for
22037 choose-completion.
22038
e44e373d
SM
220392011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22040
4f91a816
SM
22041 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
22042
782fc819
SM
22043 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
22044 (bug#8710).
22045
e44e373d
SM
22046 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
22047
381987c3
KM
220482011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
22049
22050 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
22051 customization variable and implement: If non-nil, auto-fill will
22052 be inhibited while on topic's header line.
22053
b776bc70
VB
220542011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
22055
22056 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 22057 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
22058 always have a solution in grid size = 5 cases.
22059 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
22060 (5x5-solver-output, 5x5-log-buffer): New vars.
22061 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
22062 Make these variables buffer local to achieve 5x5 multi-session-ness.
22063 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
22064 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
22065 (5x5-solve-suggest): New funs.
22066 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
22067 randomize a grid so that we ensure that there is always a solution.
22068 (5x5-make-random-grid): Allow other movement than flipping.
22069
7de88b6e
KR
220702011-05-23 Kevin Ryde <user42@zip.com.au>
22071
22072 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 22073 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
22074 advice and passes PREDICATE.
22075
b1ef1257
SM
220762011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
22077
bbca48fe
SM
22078 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
22079 byte-compile-lambda if it's actually a lambda.
22080
b1ef1257
SM
22081 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
22082 Fix function quoting. Use backquote better.
22083
92a9cc65
YS
220842011-05-22 Yuanle Song <sylecn@gmail.com>
22085
22086 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
22087 matching (Bug#8516).
22088
fe93f41a 220892011-05-22 Jari Aalto <jari.aalto@cante.net>
f0fb8059
JA
22090
22091 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
22092 different face (Bug#8178).
22093
d5b44c93
CY
220942011-05-22 Chong Yidong <cyd@stupidchicken.com>
22095
22096 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
22097 defface (Bug#8144).
22098
79106a44
SM
220992011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22100
9c848d8a
SM
22101 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
22102 funcall as well (bug#8712). Warn when performing those conversions.
22103 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
22104
79106a44
SM
22105 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
22106
88dfa756
GM
221072011-05-22 Glenn Morris <rgm@gnu.org>
22108
22109 * files.el (hack-local-variables-prop-line): Small simplifications.
22110 (hack-local-variables, hack-local-variables-prop-line):
22111 If MODE-ONLY, return the mode, rather than just `t'.
22112
b7cf2c79
SM
221132011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
22114
22115 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22116
3f1a8558
GM
221172011-05-21 Glenn Morris <rgm@gnu.org>
22118
7e4ccca3
GM
22119 * files.el (hack-local-variables-prop-line, hack-local-variables):
22120 If only interested in the mode, don't bother doing the other stuff.
22121
637d46ca
GM
22122 * image-mode.el (image-after-revert-hook):
22123 Redraw all frames on which the image is visible. (Bug#8567)
22124
973d955b
GM
22125 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22126
3f1a8558
GM
22127 * wid-edit.el (widget-checklist-match-inline):
22128 Fix 2011-04-19 change. (Bug#8649)
22129
96479927
SM
221302011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22131
1dcf791f
SM
22132 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22133 Also allow singlespace after single-letter capitals followed by a dot.
22134
96479927
SM
22135 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22136 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22137
35fd0881
N
221382011-05-20 Nix <nix@esperi.org.uk>
22139
22140 * files.el (basic-save-buffer-2):
22141 Fix handling of break-hardlink-on-save with non-existent files.
22142
82745640
DD
221432011-05-19 Deniz Dogan <deniz@dogan.se>
22144
22145 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 22146 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 22147
4a720484
GM
221482011-05-19 Glenn Morris <rgm@gnu.org>
22149
d1f21341
GM
22150 * progmodes/f90.el (f90-type-def-re):
22151 Handle "type, bind(c)". (Bug#8691)
22152
4a720484
GM
22153 * emacs-lisp/autoload.el (batch-update-autoloads):
22154 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22155
2fb0a219
MA
221562011-05-18 Michael Albinus <michael.albinus@gmx.de>
22157
22158 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22159 property for the correct connection in case of multihops.
22160
e565dd37
GM
221612011-05-18 Glenn Morris <rgm@gnu.org>
22162
c2571358 22163 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
22164 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22165
e565dd37
GM
22166 Rationalize calendar handling of day and month abbrev-arrays.
22167 * calendar/calendar.el (calendar-customized-p): New function.
22168 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22169 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22170 Add :set function.
22171 (calendar-abbrev-length, calendar-day-abbrev-array)
22172 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22173 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22174 Elements may no longer be nil.
22175 (calendar-day-name, calendar-month-name):
22176 Update for changed nature of abbrev arrays.
22177 * calendar/diary-lib.el (diary-name-pattern):
22178 Update for changed nature of abbrev arrays.
22179 (diary-mark-entries-1): Update calendar-make-alist calls.
22180 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22181 * calendar/cal-html.el (cal-html-day-abbrev-array):
22182 Simply inherit from calendar-day-abbrev-array.
22183
1d99a745
SM
221842011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22185
22186 * progmodes/grep.el (grep-mode): Disable default
22187 compilation-directory-matcher setting (bug#8684).
22188
7c1d9aa0
MA
221892011-05-17 Michael Albinus <michael.albinus@gmx.de>
22190
22191 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22192 instead of "head" and "tail". There were problems with SunOS 5.9,
22193 and it performs better.
22194
3952e9d8
GM
221952011-05-17 Glenn Morris <rgm@gnu.org>
22196
2dd12e7f
GM
22197 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22198
e4157b9c
GM
22199 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22200 Replace obsolete function.
22201
8e249bbd
GM
22202 * shell.el (pcomplete-parse-arguments-function): Declare.
22203
3952e9d8
GM
22204 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22205 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22206 (appt-check): Doc fixes.
22207 (appt-disp-window-function, appt-delete-window-function):
22208 Remove needless special case in custom :type.
22209 (appt-display-count): Default to 0, not nil.
22210 (appt-check): Reset appt-display-count to 0, not nil.
22211
c71a0d48 222122011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 22213
c71a0d48
GM
22214 * progmodes/python.el (python-font-lock-keywords):
22215 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 22216
31d55be9
SM
222172011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22218
22219 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22220
3bfacb2f
KR
222212011-05-16 Kevin Ryde <user42@zip.com.au>
22222
22223 * info-look.el (makefile-automake-mode): New setups, looking in
22224 automake manual, then makefile-mode.
22225 (makefile-mode): Remove automake manual, have it just in
22226 makefile-automake-mode since there's various things different or
22227 not relevant to plain make.
22228 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22229 believe a hypothetical automake-mode would go to makefile-mode,
22230 not the other way around.
22231
c8e83751
CY
222322011-05-15 Chong Yidong <cyd@stupidchicken.com>
22233
5e9e35cd
CY
22234 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22235 hunk-end tags (Bug#8672).
22236
c8e83751
CY
22237 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22238 vc-annotate-show-diff-revision-at-line (Bug#8671).
22239
50b23e5a
GM
222402011-05-14 Glenn Morris <rgm@gnu.org>
22241
7210a739
GM
22242 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22243 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
22244 (change-log-font-lock-keywords): Also handle multiple author lines
22245 with leading tabs. (Bug#8644)
7210a739 22246
4691905a
GM
22247 * calendar/appt.el (appt-check): Rename some local variables.
22248 Some simplification/reordering.
22249
50b23e5a
GM
22250 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22251 (feedmail-sendmail-f-doesnt-sell-me-out)
22252 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22253 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22254 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
22255 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22256 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
22257 (feedmail-binmail-gnulinuxish-template):
22258 Rename from feedmail-binmail-linuxish-template.
22259 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22260 Use insert-buffer-substring.
22261
215cda7c
BC
222622011-05-14 Bill Carpenter <bill@carpenter.org>
22263
22264 * mail/feedmail.el (feedmail-patch-level): Increase.
22265 (feedmail-debug): New custom group.
22266 (feedmail-confirm-outgoing-timeout)
22267 (feedmail-sendmail-f-doesnt-sell-me-out)
22268 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22269 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22270 (feedmail-sender-line, feedmail-from-line)
22271 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 22272 (feedmail-spray-this-address)
215cda7c
BC
22273 (feedmail-spray-address-fiddle-plex-list)
22274 (feedmail-queue-use-send-time-for-date)
22275 (feedmail-queue-use-send-time-for-message-id)
22276 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22277 (feedmail-buffer-eating-function):
22278 Doc fixes.
22279 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22280 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22281 (feedmail-message-action-scroll-down): New functions.
22282 (feedmail-queue-directory, feedmail-queue-draft-directory):
22283 Use expand-file-name.
22284 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22285 Remove C-v help entry.
22286 (feedmail-queue-buffer-file-name): New variable.
22287 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22288 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22289 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22290 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22291 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22292 (feedmail-message-action-toggle-spray)
22293 (feedmail-run-the-queue-no-prompts)
22294 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22295 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22296 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22297 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22298 (feedmail-envelope-deducer, feedmail-fiddle-from)
22299 (feedmail-fiddle-sender, feedmail-default-date-generator)
22300 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22301 (feedmail-fiddle-spray-address)
22302 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22303 (feedmail-fiddle-list-of-fiddle-plexes)
22304 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22305 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22306 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22307 Change default. Doc fix.
22308 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22309 (feedmail-binmail-linuxish-template): New constant.
22310 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22311 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22312 (feedmail-send-it): Add debug call.
22313 Use feedmail-queue-buffer-file-name, and
22314 feedmail-send-it-immediately-wrapper.
22315 (feedmail-message-action-send): Add debug call.
22316 Use feedmail-send-it-immediately-wrapper.
22317 (feedmail-queue-express-to-queue): Add debug call.
22318 Run feedmail-queue-express-hook.
22319 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22320 (feedmail-message-action-help-blat):
22321 Rename from feedmail-queue-send-edit-prompt-help-first.
22322 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22323 Check line-endings. Handle errors better.
22324 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22325 Doc fix. Add debug call.
22326 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22327 Use feedmail-queue-send-edit-prompt-inner.
22328 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22329 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22330 from feedmail-queue-send-edit-prompt.
22331 (feedmail-queue-send-edit-prompt-help)
22332 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22333 (feedmail-tidy-up-slug): Add debug call.
22334 Respect feedmail-queue-slug-suspect-regexp.
22335 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22336 (feedmail-dump-message-to-queue): Add debug call.
22337 Expand queue-directory.
22338 (feedmail-dump-message-to-queue): Change message slightly.
22339 Use feedmail-say-chatter.
22340 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22341 (feedmail-send-it-immediately-wrapper): New function.
22342 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22343 Insert empty string rather than newline. Handle full-frame case.
22344 Use catch/throw. Use feedmail-say-chatter.
22345 (feedmail-fiddle-from): Try mail-host-address.
22346 (feedmail-default-message-id-generator): Doc fix.
22347 Bind system-time-locale. Handle missing end.
22348 (feedmail-fiddle-x-mailer): Add debug call.
22349 Handle feedmail-x-mailer-line being nil.
22350 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22351 Add debug call. Use buffer-substring-no-properties.
22352 (feedmail-say-debug, feedmail-say-chatter): New functions.
22353 (feedmail-find-eoh): Give an explicit error.
22354
42c7e61e
UJ
223552011-05-13 Ulf Jasper <ulf.jasper@web.de>
22356
c2571358 22357 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 22358 family from helvetica to sans.
c2571358 22359 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
22360 etc/images/newsticker.
22361
c2571358 22362 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
22363 family from helvetica to sans.
22364
22365 * net/newst-plainview.el (newsticker-new-item-face)
22366 (newsticker-old-item-face, newsticker-immortal-item-face)
22367 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 22368 (newsticker-statistics-face): Change default family from
42c7e61e 22369 helvetica to sans.
c2571358 22370 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
22371 etc/images/newsticker.
22372
5d3385a0
JB
22373 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22374 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
22375 auto-marking.
22376
8497a297
DV
223772011-05-13 Didier Verna <didier@xemacs.org>
22378
22379 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
22380 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22381 TODO entries.
8497a297
DV
22382 (lisp-lambda-list-keyword-parameter-indentation)
22383 (lisp-lambda-list-keyword-parameter-alignment)
22384 (lisp-lambda-list-keyword-alignment): New customizable user options.
22385 (lisp-indent-defun-method): Improve docstring.
22386 (extended-loop-p): Fix comment.
22387 (lisp-indent-lambda-list-keywords-regexp): New variable.
22388 (lisp-indent-lambda-list): New function.
22389 (lisp-indent-259): Use it.
22390 (lisp-indent-defmethod): Support for more than one
22391 method qualifier and properly indent methods lambda-lists.
22392 (defgeneric): Provide a missing common-lisp-indent-function property.
22393
f278f87f
SM
223942011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22395
22396 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22397 bounds for the empty string (bug#8667).
22398
5233edd7
GM
223992011-05-13 Glenn Morris <rgm@gnu.org>
22400
5237a44f
GM
22401 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22402
8340026c 22403 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 22404 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 22405
5233edd7 22406 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 22407 (appt-time-msg-list): Doc fix.
a5464014 22408 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 22409
92d10796
AS
224102011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22411
22412 * progmodes/ld-script.el (ld-script-keywords)
22413 (ld-script-builtins): Update keywords list.
22414
914a0ae1
SM
224152011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22416
c89be45f
SM
22417 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22418
914a0ae1
SM
22419 * shell.el (shell-completion-vars): New function.
22420 (shell-mode):
22421 * simple.el (read-shell-command): Use it.
22422 (blink-matching-open): No need for " [...]" in minibuffer-message.
22423
98dc3df3
GM
224242011-05-12 Glenn Morris <rgm@gnu.org>
22425
22426 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22427 (appt-check): Simplify.
22428
d2fc7e3d 224292011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 22430
4d61f28d 22431 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
22432 literal "/dev/null".
22433
d2fc7e3d 224342011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
22435
22436 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22437 Fix typo.
22438
d2fc7e3d 224392011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 22440
3f254caa
SM
22441 * progmodes/which-func.el (which-function):
22442 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
22443 which might not be defined (Bug#8260).
22444
d45885f7
GM
224452011-05-12 Glenn Morris <rgm@gnu.org>
22446
22447 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22448 Let byte-compile-initial-macro-environment always take precedence.
22449
488086f4
SM
224502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22451
22452 * net/rcirc.el: Add support for SSL/TLS connections.
22453 (rcirc-server-alist): New field `encryption'.
22454 (rcirc): Check `encryption' settings.
22455 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22456 Merge make-local-variable into `set'.
22457 (rcirc--connection-open-p): New function.
22458 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22459 the process is not a network process (e.g. running gnutls-cli).
22460 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22461 Make rcirc-(en|de)code-coding-system local here.
22462 (rcirc-mode): Merge make-local-variable into `set'.
22463 (rcirc-parent-buffer): Make permanent buffer-local.
22464 (rcirc-multiline-minor-mode): Don't do it here.
22465 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22466 there's no server buffer.
22467
7d3b9d44
GM
224682011-05-11 Glenn Morris <rgm@gnu.org>
22469
f64049c6
GM
22470 * newcomment.el (comment-kill): Prefix "unused" local.
22471
93c9df73
GM
22472 * term/w32console.el (get-screen-color): Declare.
22473
7d3b9d44
GM
22474 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22475 Handle symbol elements of byte-compile-initial-macro-environment.
22476
9e2dd53f
LL
224772011-05-10 Leo Liu <sdl.web@gmail.com>
22478
488086f4
SM
22479 * bookmark.el (bookmark-bmenu-mode-map):
22480 Bind bookmark-bmenu-search to `/'.
8b340240 22481
9e2dd53f 22482 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
22483 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22484 (Footnote-unicode): New function.
22485 (footnote-style-alist): Add unicode style to the list.
22486 (footnote-style): Doc fix.
9e2dd53f 22487
79b70037
GM
224882011-05-10 Jim Meyering <meyering@redhat.com>
22489
22490 Fix doubled-word typos.
22491 * international/quail.el (quail-insert-kbd-layout): and and -> and
22492 * kermit.el: and and -> and
22493 * net/ldap.el (ldap-search-internal): to to -> to
22494 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22495 * progmodes/js.el (js-mode): and and -> and
22496 * textmodes/artist.el (artist-move-to-xy): at at -> at
22497 (artist-draw-region-trim-line-endings): if if -> if
22498 And Safetyc -> Safety.
22499 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22500
b8f82dc1 225012011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 22502 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
22503
22504 * files.el (hack-one-local-variable-eval-safep):
22505 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22506
4f99f44b
GM
225072011-05-10 Glenn Morris <rgm@gnu.org>
22508
22509 * calendar/diary-lib.el (diary-list-entries-hook)
22510 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22511 (diary-nongregorian-marking-hook, diary-list-entries)
22512 (diary-include-other-diary-files, diary-mark-entries)
22513 (diary-mark-included-diary-files): Doc fixes.
22514
84f29e6b
JB
225152011-05-09 Juanma Barranquero <lekktu@gmail.com>
22516
22517 * misc.el: Require tabulated-list.el during compilation.
22518
9bedd73a
CY
225192011-05-09 Chong Yidong <cyd@stupidchicken.com>
22520
488086f4
SM
22521 * progmodes/compile.el (compilation-start):
22522 Run compilation-filter-hook for the async case too.
9bedd73a
CY
22523 (compilation-filter-hook): Doc fix.
22524
797c735c
DD
225252011-05-09 Deniz Dogan <deniz@dogan.se>
22526
22527 * wdired.el: Remove outdated installation comment. Fix usage
22528 comment.
22529
5f4b1dfe
JB
225302011-05-09 Juanma Barranquero <lekktu@gmail.com>
22531
22532 * misc.el: Implement new command `list-dynamic-libraries'.
22533 (list-dynamic-libraries--loaded-only-p): New variable.
22534 (list-dynamic-libraries--refresh): New function.
22535 (list-dynamic-libraries): New command.
22536
4c44026c
CY
225372011-05-09 Chong Yidong <cyd@stupidchicken.com>
22538
488086f4
SM
22539 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22540 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
22541 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22542 higher priority to avoid clobbering by gnu.
22543
027f966d
CY
225442011-05-08 Chong Yidong <cyd@stupidchicken.com>
22545
22546 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22547 if the face has existing theme settings (Bug#8454).
22548
085f5d7d
CY
225492011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22550
488086f4
SM
22551 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22552 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 22553
2a86a00c
RS
22554 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22555 special file names `.' and `..' (Bug#8259).
22556
d9c54a06
CY
225572011-05-08 Chong Yidong <cyd@stupidchicken.com>
22558
488086f4
SM
22559 * progmodes/grep.el (grep-mode-font-lock-keywords):
22560 Remove buffer-changing entries.
d9c54a06
CY
22561 (grep-filter): New function.
22562 (grep-mode): Add it to compilation-filter-hook.
22563
22564 * progmodes/compile.el (compilation-filter-hook)
22565 (compilation-filter-start): New defvars.
22566 (compilation-filter): Call compilation-filter-hook prior to
22567 updating the process mark.
22568
c4662635
SM
225692011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22570
22571 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22572
b0512a1d
EZ
225732011-05-07 Eli Zaretskii <eliz@gnu.org>
22574
605c9376
EZ
22575 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22576 mailclient-send-it even if window-system is nil. (Bug#8595)
22577
c4662635
SM
22578 * term/w32console.el (terminal-init-w32console):
22579 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
22580 background-mode. (Bug#8597)
22581
d1dc2cc2
SM
225822011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22583
22584 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22585 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22586 New functions.
22587 (defgeneric, eieio--defmethod): Use them.
22588 (eieio-defgeneric): Remove.
22589 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22590
915d1300
GM
225912011-05-07 Glenn Morris <rgm@gnu.org>
22592
a3961c3e
GM
22593 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22594 Use let rather than let*.
22595 (timeclock-find-discrep): Remove unused local.
22596
314347b9
GM
22597 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22598
915d1300
GM
22599 * calendar/appt.el (appt-time-msg-list): Doc fix.
22600
275b59b0
NF
226012011-05-06 Noah Friedman <friedman@splode.com>
22602
22603 * apropos.el (apropos-print-doc): Only use
22604 emacs-lisp-docstring-fill-column when it is bound to an integer,
22605 per that variable's documentation.
22606
6c19f744
SM
226072011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22608
22609 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 22610 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 22611
60f884b2
GM
226122011-05-06 Glenn Morris <rgm@gnu.org>
22613
5006e634
GM
22614 * calendar/appt.el (appt-message-warning-time): Doc fix.
22615 (appt-warning-time-regexp): New option.
22616 (appt-make-list): Respect appt-message-warning-time.
22617
548d0a63
GM
22618 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22619 New options.
22620 (diary-add-to-list): Strip comments from the displayed string.
22621 (diary-mode): Set comment-start and comment-end.
22622
60f884b2
GM
22623 * vc/diff-mode.el (smerge-refine-subst): Declare.
22624 (diff-refine-hunk): Don't require smerge-mode when compiling.
22625
989681bb
JB
226262011-05-06 Juanma Barranquero <lekktu@gmail.com>
22627
22628 * simple.el (list-processes): Return nil as the docstring says.
22629
a6bc05e1
MA
226302011-05-05 Michael Albinus <michael.albinus@gmx.de>
22631
22632 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22633 to "".
22634 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22635 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22636 determining of binary transfer. (Bug#7383)
22637
23c22e9a
MA
226382011-05-05 Michael Albinus <michael.albinus@gmx.de>
22639
c4662635
SM
22640 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22641 Fix port computation bug. (Bug#8618)
23c22e9a 22642
0bff894f
GM
226432011-05-05 Glenn Morris <rgm@gnu.org>
22644
b8296902
GM
22645 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22646
1f522ce8
GM
22647 * simple.el (shell-dynamic-complete-functions)
22648 (comint-dynamic-complete-functions): Declare.
22649
cf5bee67
GM
22650 * net/network-stream.el (gnutls-negotiate):
22651 * simple.el (tabulated-list-print): Fix declarations.
22652
22653 * progmodes/gud.el (syntax-symbol, syntax-point):
22654 Remove unnecessary and incorrect declarations.
22655
0bff894f 22656 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 22657 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 22658
9869b3ae
SM
226592011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22660
22661 Fix earlier half-done eieio-defmethod change (bug#8338).
22662 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22663 Streamline and change calling convention.
22664 (defmethod): Adjust accordingly and simplify.
22665 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22666 new eieio--defmethod.
22667 (slot-boundp): Minor CSE simplification.
22668
9c1d5ac5
MZ
226692011-05-05 Milan Zamazal <pdm@zamazal.org>
22670
22671 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22672 (glasses-make-readable): Use glasses-separate-capital-groups.
22673
455c834e
JB
226742011-05-05 Juanma Barranquero <lekktu@gmail.com>
22675
22676 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22677 (warning-series): Doc fix.
22678 (display-warning): Don't try to create the buffer if we just found it.
22679
9ed7c8cb
CY
226802011-05-04 Chong Yidong <cyd@stupidchicken.com>
22681
22682 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22683 (autoload-find-generated-file): New function.
22684 (generate-file-autoloads): Bind generated-autoload-file to
22685 buffer-file-name.
9869b3ae
SM
22686 (update-file-autoloads, update-directory-autoloads):
22687 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
22688 output file (Bug#7989).
22689 (batch-update-autoloads): Doc fix.
22690
0898ca10
JB
226912011-05-04 Juanma Barranquero <lekktu@gmail.com>
22692
22693 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22694
31dfb76c
GM
226952011-05-04 Glenn Morris <rgm@gnu.org>
22696
f330b642
GM
22697 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22698 function, so it follows changes in calendar-date-style.
22699 (diary-fancy-date-matcher): New function.
22700 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22701 (diary-fancy-font-lock-fontify-region-function):
22702 Use diary-fancy-date-pattern as a function.
22703
31dfb76c
GM
22704 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22705 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22706
48e79d6a
TZ
227072011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22708
22709 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22710 instead of positional arguments. Allow :keylist and :crlfiles
22711 arguments.
22712 (open-gnutls-stream): Call it.
22713
22714 * net/network-stream.el (network-stream-open-starttls): Adjust to
22715 call `gnutls-negotiate' with :process and :hostname arguments.
22716
dd5a5ee0
SM
227172011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22718
ef80fc09
SM
22719 * minibuffer.el (completion--message): New function.
22720 (completion--do-completion, minibuffer-complete)
22721 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22722 (completion--do-completion): Don't ignore completion-auto-help when in
22723 icomplete-mode.
22724
dd5a5ee0
SM
22725 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22726 internal encoding (e.g. tibetan zero is not whitespace).
22727 (global-whitespace-mode): Prefer save-current-buffer.
22728 (whitespace-trailing-regexp): Remove useless save-match-data.
22729 (whitespace-empty-at-bob-regexp): Minor simplification.
22730
b7d22a83
CY
227312011-05-03 Chong Yidong <cyd@stupidchicken.com>
22732
22733 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22734
5192af46
AM
227352011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22736
22737 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 22738 Use `concat' to create string for insertion.
5192af46 22739
5767d190
SM
227402011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22741
22742 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22743 Avoid open-line which runs post-self-insert-hook.
22744 (bibtex-fill-entry): Remove unused `end' var.
22745
bf242939
AM
227462011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22747
5767d190
SM
22748 * textmodes/ispell.el (ispell-add-per-file-word-list):
22749 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 22750
25666126
LL
227512011-05-03 Leo Liu <sdl.web@gmail.com>
22752
22753 * isearch.el (isearch-yank-pop): New command.
5767d190 22754 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
22755 (isearch-forward): Mention it.
22756
52d3c2d0
SM
227572011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22758
1bcace58
SM
22759 * simple.el (minibuffer-complete-shell-command): Remove.
22760 (minibuffer-local-shell-command-map): Use completion-at-point.
22761 (read-shell-command): Setup completion vars here instead.
22762 (read-expression-map): Bind TAB to symbol completion.
22763
52d3c2d0
SM
22764 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22765 error directly rather via storing it into `results'.
22766
35813471
LL
227672011-05-02 Leo Liu <sdl.web@gmail.com>
22768
22769 * vc/diff.el: Fix description.
22770
e793a940
LMI
227712011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22772
22773 * server.el (server-eval-at): New function.
22774
8de66e05
LMI
227752011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22776
22777 * net/network-stream.el (open-network-stream): Take a :nowait
22778 parameter and pass it on to `make-network-process'.
22779 (network-stream-open-plain): Ditto.
22780
dcb79f20
AS
227812011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22782
22783 * faces.el (face-spec-set-match-display): Don't match toolkit
22784 options on terminal frames.
22785
14a7fbd8
SM
227862011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22787
7eabc1be
SM
22788 * progmodes/pascal.el: Use lexical binding.
22789 (pascal-mode-map): Remove author preferences.
22790
14a7fbd8
SM
22791 * pcomplete.el (pcomplete-std-complete): Don't abuse
22792 completion-at-point.
22793
50f84510
JB
227942011-04-28 Juanma Barranquero <lekktu@gmail.com>
22795
6e087a44
JB
22796 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22797 removing code that has been dead since 1991 or so.
22798
50f84510
JB
22799 * startup.el (command-line): When warning about "_emacs", use a
22800 delayed warning to allow the user to filter it out.
22801
0ba690bd
DD
228022011-04-28 Deniz Dogan <deniz@dogan.se>
22803
22804 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22805 user has not joined.
22806
08abfaad
SM
228072011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22808
22809 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22810 aren't any completions at point.
22811
638f053a
JB
228122011-04-28 Juanma Barranquero <lekktu@gmail.com>
22813
22814 * subr.el (display-delayed-warnings): New function.
22815 (delayed-warnings-hook): New variable.
22816
8fff8daa
SM
228172011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22818
08abfaad
SM
22819 * minibuffer.el (completion-at-point, completion-help-at-point):
22820 Don't presume that a given completion-at-point-function will always
22821 use the same calling convention.
22822
8fff8daa
SM
22823 * pcomplete.el (pcomplete-completions-at-point):
22824 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22825 pcomplete-seen is non-nil.
22826 (pcomplete-comint-setup): Also recognize the new comint/shell
22827 completion functions.
22828 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22829 pcomplete-seen is non-nil.
22830
841a1577 228312011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 22832
841a1577 22833 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 22834 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 22835 the first character in the entry. This allows for code to add its
211ec907
UJ
22836 own uid to the entry.
22837 (icalendar--convert-float-to-ical): Add export of
22838 `diary-float'-entries save for those with the optional DAY
22839 argument.
22840
2a782793
DC
228412011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22842
22843 * subr.el (shell-quote-argument): Use alternate escaping strategy
22844 when we spot a variable reference in a string.
22845
0438ce91
DC
228462011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22847
22848 * cus-start.el (all): Define customization for debug-on-event.
22849
841a1577 228502011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
22851
22852 * subr.el (shell-quote-argument): Escape correctly under Windows.
22853
d090ed6c
SM
228542011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22855
22856 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22857
bfd31217
MA
228582011-04-25 Michael Albinus <michael.albinus@gmx.de>
22859
d090ed6c
SM
22860 * net/tramp.el (tramp-process-actions): Add POS argument.
22861 Delete region between POS and (pos).
bfd31217 22862
d090ed6c
SM
22863 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22864 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
22865 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22866
22867 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22868 position in `tramp-process-actions' call.
22869
22870 * net/trampver.el: Update release number.
22871
e92f3bd3
SM
228722011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22873
850256b5
SM
22874 * custom.el (defcustom): Obey lexical-binding.
22875
e92f3bd3
SM
22876 Fix octave-inf completion problems reported by Alexander Klimov.
22877 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22878 Inherit from octave-mode-syntax-table.
22879 (inferior-octave-mode): Set info-lookup-mode.
22880 (inferior-octave-completion-at-point): New function.
22881 (inferior-octave-complete): Use it and completion-in-region.
22882 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22883 comint-filename-completion.
22884 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22885 symbol elements which shouldn't be word elements.
22886 (octave-font-lock-keywords, octave-beginning-of-defun)
22887 (octave-function-header-regexp): Adjust regexps accordingly.
22888 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22889
cd22b309
JB
228902011-04-25 Juanma Barranquero <lekktu@gmail.com>
22891
22892 * net/gnutls.el (gnutls-errorp): Declare before first use.
22893
8b492194
TZ
228942011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22895
22896 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22897 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 22898 default trustfile exists before going to use it. Add missing
5a5fa834 22899 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
22900 Reported by Claudio Bley <claudio.bley@gmail.com>.
22901 (open-gnutls-stream): Add usage example.
22902
22903 * net/network-stream.el (network-stream-open-starttls): Give host
22904 parameter to `gnutls-negotiate'.
22905 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 22906 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 22907
841a1577 229082011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 22909
cd22b309
JB
22910 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22911 Use correct match group (bug#8438).
05842630 22912
3ba7869c
CY
229132011-04-24 Chong Yidong <cyd@stupidchicken.com>
22914
512e3ae1
CY
22915 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22916 (package-menu--generate): New arg specifying packages to show.
22917 (package-menu-refresh, package-menu-execute, list-packages):
22918 Callers changed.
22919 (package-show-package-list): New function, replacing deleted
22920 package--list-packages (renamed because it is non-internal).
22921
22922 * finder.el (finder-list-matches): Use package-show-package-list
22923 instead of deleted package--list-packages.
22924
e92f3bd3
SM
22925 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22926 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
22927 (vc-annotate-mode-map): Bind it to RET.
22928
7031be6d
UR
229292011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22930
22931 * progmodes/etags.el (next-file): Don't use set-buffer to change
22932 buffers (Bug#8478).
22933
4ef177aa
CY
229342011-04-24 Chong Yidong <cyd@stupidchicken.com>
22935
c8d173eb
CY
22936 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22937
4ef177aa
CY
22938 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22939 (apropos-accumulator): Doc fix.
22940 (apropos-function, apropos-macro, apropos-command)
22941 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22942 (apropos-plist): Add face property.
22943 (apropos-symbols-internal): Fix indentation.
22944 (apropos-print): Simplify help, and recognize apropos-multi-type.
22945 (apropos-print-doc): Use button-type-get to extract the button's
22946 face property. Fill docstring (Bug#8352).
22947
4ffd0d6b 229482011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
22949
22950 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22951
c6c32125 22952 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 22953 (mpuz-mode-map): Use mapc.
c6c32125
JB
22954 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22955 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22956 Fix typos in docstrings.
22957
58d468b4
JB
22958 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22959 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22960
6470c3c6
JB
22961 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22962
4ffd0d6b 229632011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
22964
22965 * minibuffer.el (completion--do-completion): Avoid the "Next char
22966 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22967
3ad8bad0
CY
22968 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22969 mouse-2 into unread-command-events, it is interpreted correctly.
22970
71d73c9c 22971 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 22972 (image-toggle-display): Doc fix.
71d73c9c 22973
841a1577 229742011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 22975
4ffd0d6b
GM
22976 * textmodes/page.el (what-page): Use line-number-at-pos to
22977 calculate line number (Bug#6825).
6e1dbaa9 22978
c2fb1b60
JB
229792011-04-22 Juanma Barranquero <lekktu@gmail.com>
22980
22981 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22982 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22983 Pass argument NO-DEFAULT to `find-tag-interactive'.
22984
e02f48d7
JB
229852011-04-22 Juanma Barranquero <lekktu@gmail.com>
22986
22987 Lexical-binding cleanup.
22988
22989 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22990 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22991 * progmodes/ada-prj.el (ada-prj-initialize-values)
22992 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22993 (ada-prj-show-value):
22994 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22995 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22996 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22997 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22998 * progmodes/bug-reference.el (bug-reference-push-button):
22999 * progmodes/fortran.el (fortran-line-length):
23000 * progmodes/glasses.el (glasses-change):
23001 * progmodes/octave-mod.el (octave-fill-paragraph):
23002 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
23003 (python-pdbtrack-grub-for-buffer, python-sentinel):
23004 * progmodes/sql.el (sql-save-connection):
23005 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
23006 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
23007 Mark unused parameters.
23008
23009 * progmodes/compile.el (compilation--flush-directory-cache)
23010 (compilation--flush-parse, compile-internal): Mark unused parameters.
23011 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
23012 (compilation-next-error-function): Remove unused variable `timestamp'.
23013
23014 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
23015 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
23016
23017 * progmodes/dcl-mode.el (dcl-end-of-command):
23018 Remove unused variable `start'.
23019 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
23020 (dcl-option-value-basic, dcl-option-value-offset)
23021 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
23022 Mark unused parameters.
23023 (dcl-save-local-variable): Remove unused variable `val'.
23024 (mode): Declare.
23025
23026 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
23027 Mark unused parameters.
23028 (delphi-ignore-changes): Move before first use.
23029 (delphi-charset-token-at): Remove unused variable `start'.
23030 (delphi-else-start): Remove unused variable `if-count'.
23031 (delphi-comment-block-start, delphi-comment-block-end):
23032 Remove unused variable `kind'.
23033 (delphi-indent-line): Remove unused variable `new-point'.
23034
23035 * progmodes/ebrowse.el (ebrowse-files-list)
23036 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
23037 Mark unused parameters. Don't quote `lambda'.
23038 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
23039 Don't quote `lambda'.
23040 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
23041 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
23042 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
23043 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
23044 Use `ignore-errors'.
23045 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
23046 (ebrowse-view/find-file-and-search-pattern)
23047 (ebrowse-view/find-member-declaration/definition):
23048 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
23049 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
23050 Rename parameter PREFIX-ARG to PREFIX.
23051 (ebrowse-tags-read-name): Remove unused variables `start' and
23052 `member-info'.
23053 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
23054 to `tags-file'.
23055
23056 * progmodes/etags.el (local-find-tag-hook): Declare.
23057 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
23058 Mark unused parameters.
23059
23060 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
23061 (executable-interpret): Mark unused parameter.
23062
23063 * progmodes/flymake.el (flymake-process-sentinel)
23064 (flymake-after-change-function)
23065 (flymake-create-temp-with-folder-structure)
23066 (flymake-get-include-dirs-dot): Mark unused parameters.
23067 (flymake-safe-delete-directory): Remove unused variable `err'.
23068
23069 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
23070 (speedbar-timer-fn, speedbar-line-text)
23071 (speedbar-change-expand-button-char, speedbar-delete-subblock)
23072 (speedbar-center-buffer-smartly): Declare functions.
23073 (gdb-find-watch-expression): Remove unused variable `array'.
23074 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
23075 (gdb-starting): Mark unused parameters.
23076 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
23077 (gdb-table-string): Remove unused variable `res'.
23078 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
23079 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
23080 (gdb-display-buffer): Remove unused variable `cur-size'.
23081
23082 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
23083 allow lexical-binding compilation.
23084 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
23085 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
23086 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
23087 Mark unused parameters.
23088 (gud-gdb-marker-filter): Remove unused variable `match'.
23089 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
23090 lambda expressions and funcall them, instead of using `fset'.
23091
23092 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
23093 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
23094
23095 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
23096 variable `header-beg'; use `let'.
23097
23098 * progmodes/icon.el (indent-icon-exp): Remove unused variables
23099 `restart', `last-sexp' and `at-do'.
23100
23101 * progmodes/js.el (js--debug): Mark unused parameter.
23102 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
23103 (js--splice-into-items): Remove unused variable `item'.
23104 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
23105
23106 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
23107 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
23108 (makefile-complete): Remove unused variable `try'.
23109 (makefile-fill-paragraph, makefile-match-function-end):
23110 Mark unused parameters.
23111
23112 * progmodes/octave-inf.el (inferior-octave-complete):
23113 Remove unused variable `proc'.
23114 (inferior-octave-output-digest): Mark unused parameter.
23115
23116 * progmodes/perl-mode.el (perl-calculate-indent):
23117 Remove unused variable `err'.
23118
23119 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23120 (prolog-indent-line): Mark unused parameters.
23121 (prolog-indent-line): Remove unused variable `beg'.
23122
23123 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23124 (reporter-dont-compact-list): Declare.
23125
23126 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23127 Remove unused variable `char'.
23128 (sh-debug): Mark unused parameter.
23129 (sh-get-indent-info): Remove unused variable `start'.
23130 (sh-calculate-indent): Remove unused variable `var'.
23131
23132 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23133 (simula-electric-keyword): Remove unused variable `null'.
23134 (simula-search-backward, simula-search-forward): Remove unused
23135 variables `begin' and `end'.
23136
23137 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23138 Remove unused variable `pos'.
23139 (vera-electric-tab, vera-comment-uncomment-region):
23140 Mark unused parameters.
23141 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23142
7ede3b65
CY
231432011-04-22 Chong Yidong <cyd@stupidchicken.com>
23144
23145 * emacs-lisp/package.el (package--builtins, package-alist)
23146 (package-load-descriptor, package-built-in-p, package-activate)
23147 (define-package, package-installed-p)
23148 (package-compute-transaction, package-buffer-info)
23149 (package--push): Doc fix. Distinguish more clearly between
23150 version strings and version lists.
23151
121656e9
JB
231522011-04-21 Juanma Barranquero <lekktu@gmail.com>
23153
23154 Lexical-binding cleanup.
23155
23156 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23157 (5x5-make-mutate-best):
23158 * play/fortune.el (fortune-in-buffer):
23159 * play/gomoku.el (gomoku-init-display):
23160 * play/solitaire.el (solitaire, solitaire-do-check):
23161 * play/tetris.el (tetris-default-update-speed-function):
23162 Mark unused parameters.
23163
23164 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23165 (bubbles--shift): Remove unused variable `char-org'.
23166 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23167 (bubbles--show-images): Remove unused variable `char'.
23168
23169 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23170 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23171 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23172 (decipher-analyze-buffer): Use ?\s.
23173 (decipher-make-checkpoint): Remove unused variable `mapping'.
23174
23175 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23176
23177 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23178 Remove unused variable `result'; use `let'.
23179
23180 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23181 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23182 (gametree-children-shown-p, gametree-compute-reduced-score):
23183 Use `ignore-errors'.
23184
23185 * play/handwrite.el (ps-lpr-switches): Declare.
23186 (handwrite): Remove unused variables `pmin' and `lastp'.
23187
23188 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23189
23190 * play/landmark.el (landmark-init-display)
23191 (landmark-update-naught-weights): Mark unused parameters.
23192 (landmark-y): Remove unused variable `noise'. Simplify.
23193 (landmark-human-plays): Remove unused variable `score'.
23194
23195 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23196 (mpuz-try-proposal): Remove unused variable `game'.
23197
23198 * play/zone.el (life-patterns): Declare.
23199
80f499c7
JB
232002011-04-20 Juanma Barranquero <lekktu@gmail.com>
23201
23202 * vc/vc.el (ediff-vc-internal): Declare function.
23203
024ff170
SM
232042011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23205
c0a193ea
SM
23206 * shell.el: Use lexical-binding and std completion UI.
23207 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23208 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23209 comint-preoutput-filter-functions rather than on
23210 comint-output-filter-functions.
23211 (shell-command-completion, shell--command-completion-data)
23212 (shell-filename-completion, shell-environment-variable-completion)
23213 (shell-c-a-p-replace-by-expanded-directory): New functions.
23214 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23215 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23216 (shell-dynamic-complete-environment-variable): Use them.
23217 (shell-dynamic-complete-as-environment-variable)
23218 (shell-dynamic-complete-as-command): Remove.
23219 (shell-match-partial-variable): Match past point.
23220 * comint.el: Clean up use of completion-at-point-functions.
23221 (comint-completion-at-point): New function.
23222 (comint-mode): Use it completion-at-point-functions.
23223 (comint-dynamic-complete): Make it obsolete.
23224 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23225 (comint-c-a-p-replace-by-expanded-history): New function.
23226 (comint-dynamic-complete-functions)
23227 (comint-replace-by-expanded-history): Use it.
23228 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23229 termination strings. Try harder to avoid second try-completion.
23230 (completion-in-region-mode-map): Disable bindings that don't work yet.
23231
2dbaa080
SM
23232 * comint.el: Use lexical-binding. Require CL.
23233 (comint-dynamic-complete-functions): Use comint-filename-completion.
23234 (comint-completion-addsuffix): Tweak custom type.
23235 (comint-filename-completion, comint--common-suffix)
23236 (comint--common-quoted-suffix, comint--table-subvert)
23237 (comint--complete-file-name-data): New functions.
23238 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23239 (comint-dynamic-list-filename-completions): Use them.
23240 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 23241
2dbaa080
SM
23242 * minibuffer.el (completion-in-region-mode):
23243 Keep completion-in-region-mode--predicate global.
23244 (completion-in-region--postch):
23245 Assume completion-in-region-mode--predicate is not null.
23246
c79a6f38
SM
23247 * progmodes/flymake.el (flymake-start-syntax-check-process):
23248 Obey `dir'. Simplify.
23249
024ff170
SM
23250 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23251 we're in VC after all.
23252
1c6c854e
CS
232532011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23254
23255 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 23256 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
23257 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23258
bed7f140
SM
232592011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23260
332e62ab
SM
23261 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23262 add sanity check.
23263
bed7f140
SM
23264 * obsolete/erc-hecomplete.el: Make obsolete.
23265 * obsolete/: Standardize obsolescence info in the header.
23266
f195c582
GM
232672011-04-20 Glenn Morris <rgm@gnu.org>
23268
23269 * calendar/solar.el (solar-horizontal-coordinates):
23270 Use the longitude argument rather than `calendar-longitude'.
23271 (solar-date-next-longitude): Remove unused locals.
23272
cb79b8c0
VJL
232732011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23274
23275 * whitespace.el: New version 13.2.1.
23276
232772011-04-20 felix <EmacsWiki> (tiny change)
23278
d8e4b68b 23279 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
23280 switching between major modes on a file.
23281
602ea69d
SM
232822011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23283
23284 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23285 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23286 multi-line comments as well.
23287
06b60517
JB
232882011-04-19 Juanma Barranquero <lekktu@gmail.com>
23289
23290 Lexical-binding cleanup.
23291
23292 * arc-mode.el (archive-mode-revert):
23293 * cmuscheme.el (scheme-interactively-start-process):
23294 * custom.el (custom-initialize-delay):
23295 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23296 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23297 * emacs-lock.el (emacs-lock-clear-sentinel):
23298 * ezimage.el (defezimage):
23299 * follow.el (follow-avoid-tail-recenter):
23300 * fringe.el (set-fringe-mode-1):
23301 * generic-x.el (bat-generic-mode-compile):
23302 * help-mode.el (help-info-variable, help-do-xref)
23303 (help-mode-revert-buffer):
23304 * help.el (view-emacs-todo):
23305 * iswitchb.el (iswitchb-completion-help):
23306 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23307 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23308 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23309 * locate.el (locate-update):
23310 * longlines.el (longlines-encode-region)
23311 (longlines-after-change-function):
23312 * outline.el (outline-isearch-open-invisible):
23313 * ps-def.el (declare-function, charset-dimension, char-width)
23314 (encode-char):
23315 * ps-mule.el (ps-mule-plot-string):
23316 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23317 (recentf-edit-list-select, recentf-edit-list-validate)
23318 (recentf-open-files-action):
23319 * rect.el (delete-whitespace-rectangle-line)
23320 (rectangle-number-line-callback):
23321 * register.el (window-configuration-to-register)
23322 (frame-configuration-to-register):
23323 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23324 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23325 (xselect-convert-to-targets, xselect-convert-to-delete)
23326 (xselect-convert-to-filename, xselect-convert-to-charpos)
23327 (xselect-convert-to-lineno, xselect-convert-to-colno)
23328 (xselect-convert-to-os, xselect-convert-to-host)
23329 (xselect-convert-to-user, xselect-convert-to-class)
23330 (xselect-convert-to-name, xselect-convert-to-integer)
23331 (xselect-convert-to-atom, xselect-convert-to-identity):
23332 * subr.el (declare, ignore, process-kill-without-query)
23333 (text-clone-maintain):
23334 * terminal.el (te-get-char, te-tic-sentinel):
23335 * tool-bar.el (tool-bar-make-keymap):
23336 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23337 * type-break.el (type-break-mode, type-break-noninteractive-query):
23338 * view.el (View-back-to-mark):
23339 * wid-browse.el (widget-browse-action, widget-browse-widget)
23340 (widget-browse-widgets, widget-browse-sexp):
23341 * widget.el (define-widget-keywords):
23342 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23343 Mark unused parameters.
23344
23345 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23346 (align-areas): Remove unused variable `look'.
23347 (align-region): Remove unused variables `real-end' and `pos-list'.
23348
23349 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23350
23351 * bindings.el (mode-line-modified, mode-line-remote):
23352 Mark unused parameters.
23353 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23354
23355 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23356 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23357
23358 * comint.el (comint-history-isearch-pop-state)
23359 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23360 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23361 (comint-substitute-in-file-name): Doc fix.
23362
23363 * completion.el (cmpl-statistics-block): Mark unused parameter.
23364 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23365 (save-completions-to-file, load-completions-from-file):
23366 Remove unused local variable `e'.
23367
23368 * composite.el (compose-chars): Remove unused variable `len'.
23369 (lgstring-insert-glyph): Remove unused variable `g'.
23370 (compose-glyph-string): Remove unused variables `ascent',
23371 `descent', `lbearing' and `rbearing'.
23372 (compose-glyph-string-relative): Remove unused variables
23373 `lbearing', `rbearing' and `wadjust'.
23374 (compose-gstring-for-graphic): Remove unused variables `header',
23375 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23376 (compose-gstring-for-terminal): Remove unused variables `header'
23377 and `nchars'. Use `let', not `let*'.
23378
23379 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23380 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23381 (Custom-buffer-done, custom-buffer-create-internal)
23382 (custom-browse-visibility-action, custom-browse-group-tag-action)
23383 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23384 (widget-magic-mouse-down-action, custom-toggle-parent)
23385 (custom-add-parent-links, custom-toggle-hide-variable)
23386 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23387 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23388 (custom-face-menu-create, custom-variable-menu-create, get)
23389 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23390 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23391 (customize-apropos): Remove unused variable `tests'.
23392 (custom-group-value-create): Remove unused variable `hidden-p'.
23393 (sort-fold-case): Declare.
23394
23395 * cus-theme.el (custom-reset-standard-faces-list)
23396 (custom-reset-standard-variables-list): Declare.
23397 (customize-create-theme, custom-theme-revert, custom-theme-write)
23398 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23399 Mark unused parameters.
23400
23401 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23402
23403 * delim-col.el (delimit-columns-max): Move defvar before first use.
23404
23405 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 23406 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
23407
23408 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23409 (auto-insert): Declare.
23410 (desktop-restore-file-buffer): Rename desktop-* parameters;
23411 mark unused ones.
23412 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23413 (desktop-buffer): Rename desktop-* parameters.
23414
23415 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23416 (dframe-reposition-frame-xemacs, dframe-help-echo)
23417 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23418 Mark unused parameters.
23419
23420 * dired-aux.el (backup-extract-version-start, overwrite-query)
23421 (overwrite-backup-query, rename-regexp-query)
23422 (rename-non-directory-query): Declare.
23423 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23424 (dired-add-entry): Remove unused variable `orig-file-name'.
23425 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23426 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23427 `dired-copy-preserve-time' directly.
23428 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23429 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23430
23431 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23432 (dired-virtual-revert, dired-make-relative-symlink):
23433 Mark unused parameters.
23434 (manual-program): Declare.
23435 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23436 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23437 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23438
23439 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23440
23441 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23442
23443 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23444 Declare.
23445
23446 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23447
23448 * electric.el (Electric-command-loop): Rename parameter
23449 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23450
23451 * expand.el (expand-in-literal): Remove unused variable `here'.
23452
23453 * facemenu.el (facemenu-add-new-color):
23454 Remove unused variable `docstring'.
23455
23456 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23457 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23458 (face-attr-construct): Mark unused parameter. Doc fix.
23459 (read-color): Remove unused variable `hex-string'.
23460
23461 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23462 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23463 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23464 (display-buffer-other-frame): Remove unused variable `old-window'.
23465 (kill-buffer-hook): Declare.
23466 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23467 Mark unused parameters.
23468 (after-find-file): Pass 1 to `auto-save-mode', not t.
23469
23470 * files-x.el (auto-insert): Declare.
23471 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23472
23473 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 23474 variable `buf'. Mark unused parameter.
06b60517
JB
23475 (find-lisp-insert-directory): Mark unused parameter.
23476
23477 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23478 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23479 (format-common-tail): Remove, unused.
23480 (format-deannotate-region): Remove unused variable `loc'.
23481 (format-annotate-region): Remove unused variable `p'.
23482 (format-annotate-single-property-change): Remove unused variables
23483 `default' and `tail'.
23484
23485 * forms.el (read-file-filter): Declare.
23486 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23487
23488 * frame.el (frame-creation-function-alist): Mark unused parameter.
23489 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23490
23491 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23492 Remove unused parameters.
23493 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23494 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23495
23496 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23497 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23498 (hfy-prepare-tag-map): Mark unused parameters.
23499 (htmlfontify-buffer): Use `called-interactively-p'.
23500
23501 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23502 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23503 (ibuffer-do-occur): Mark unused parameters.
23504 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23505 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23506
23507 * ibuffer.el: Don't quote `lambda'.
23508 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23509 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23510 Mark unused parameters.
23511
23512 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23513 (ido-completing-read): Mark unused parameters.
23514 (ido-copy-current-word): Mark unused parameters;
23515 remove unused variable `name'.
23516 (ido-sort-merged-list): Remove unused parameter `dirs'.
23517
23518 * ielm.el (ielm-input-sender): Mark unused parameter.
23519 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23520 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23521 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23522 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23523 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23524
23525 * image-dired.el (image-dired-display-thumbs): Remove unused
23526 variables `curr-file' and `count'.
23527 (image-dired-remove-tag): Remove unused variable `start'.
23528 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23529 variable `curr-file'
23530 (image-dired-rotate-original): Remove unused variable `temp-file'.
23531 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23532 Remove unused variable `file'.
23533 (image-dired-gallery-generate): Remove unused variable `curr'.
23534 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23535
23536 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23537
23538 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23539
23540 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23541
23542 * isearch.el (minibuffer-history-symbol): Declare.
23543 (isearch-edit-string): Remove unused variable `err'.
23544 (isearch-message-prefix, isearch-message-suffix):
23545 Mark unused parameters.
23546
23547 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23548
23549 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23550
23551 * makesum.el (double-column): Remove unused variable `cnt'.
23552
23553 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23554 (ido-ignore-item-temp-list): Declare.
23555
23556 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23557 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23558 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23559 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23560 `mouse-col-delta'.
23561
23562 * mouse-sel.el (mouse-extend-internal):
23563 Remove unused variable `orig-window-frame'.
23564
23565 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23566 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23567 Move declarations before first use.
23568 (pcomplete-opt): Mark unused parameters; doc fix.
23569
23570 * proced.el (proced-revert): Mark unused parameter.
23571 (proced-send-signal): Remove unused variable `err'.
23572
23573 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23574 Rename parameter PREFIX-ARG to ARG.
23575 (ps-basic-plot-string, ps-basic-plot-whitespace):
23576 Mark unused parameters.
23577
23578 * replace.el (replace-count): Define.
23579 (occur-revert-function): Mark unused parameters.
23580 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23581 (isearch-case-fold-search, isearch-string): Declare.
23582 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23583 bind `case-fold-search'. Remove unused variables `beg' and `end',
23584 and simplify.
23585 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23586 COUNT and bind `replace-count'.
23587 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23588 to COUNT.
23589
23590 * savehist.el (print-readably, print-string-length): Declare.
23591
23592 * shadowfile.el (shadow-expand-cluster-in-file-name):
23593 Remove unused variable `cluster'.
23594 (shadow-copy-file): Remove unused variable `i'.
23595 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23596 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23597 (shadow-define-literal-group, shadow-define-regexp-group)
23598 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23599
23600 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23601 (shell): Use `called-interactively-p'.
23602 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23603
23604 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23605 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23606 (delete-backward-char): Remove unused variable `ocol'.
23607 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23608 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23609 (event-apply-hyper-modifier, event-apply-shift-modifier)
23610 (event-apply-control-modifier, event-apply-meta-modifier):
23611 Mark unused parameters.
23612 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23613 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23614
23615 * speedbar.el (speedbar-ignored-directory-expressions)
23616 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23617 (speedbar-find-file, speedbar-dir-follow)
23618 (speedbar-directory-buttons-follow, speedbar-tag-find)
23619 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23620 (speedbar-buffers-line-directory, speedbar-buffer-click):
23621 Mark unused parameters.
23622 (speedbar-tag-file): Remove unused variable `mode'.
23623 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23624
23625 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23626
23627 * talk.el (talk): Remove unused variable `display'.
23628
23629 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23630 (tar-write-region-annotate): Mark unused parameter.
23631
23632 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23633 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23634 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23635 warning by another.
23636
23637 * time-stamp.el (time-stamp-string-preprocess):
23638 Remove unused variable `require-padding'.
23639
23640 * tree-widget.el (widget-glyph-enable): Declare.
23641 (tree-widget-action): Mark unused parameter.
23642
23643 * w32-fns.el (x-get-selection): Mark unused parameter.
23644 (autoload-make-program, generated-autoload-file): Declare.
23645
23646 * wdired.el (wdired-revert): Mark unused parameters.
23647 (wdired-xcase-word): Remove unused variable `err'.
23648
23649 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23650 (whitespace-help-scroll): Remove unused variable `data-help'.
23651
23652 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23653 (widget-image-insert, widget-after-change, default)
23654 (widget-default-format-handler, widget-default-notify)
23655 (widget-default-prompt-value, widget-info-link-action)
23656 (widget-url-link-action, widget-function-link-action)
23657 (widget-variable-link-action, widget-file-link-action)
23658 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23659 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23660 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23661 (widget-insert-button-action, widget-delete-button-action, visibility)
23662 (widget-documentation-link-action, widget-documentation-string-action)
23663 (widget-const-prompt-value, widget-regexp-match, symbol)
23664 (widget-coding-system-prompt-value)
23665 (widget-key-sequence-value-to-external, sexp)
23666 (widget-sexp-value-to-internal, character, vector, cons)
23667 (widget-choice-prompt-value, widget-boolean-prompt-value)
23668 (widget-color--choose-action): Mark unused parameters.
23669 (widget-item-match-inline, widget-choice-match-inline)
23670 (widget-checklist-match, widget-checklist-match-inline)
23671 (widget-group-match): Rename parameter VALUES to VALS.
23672 (widget-field-value-set): Remove unused variable `size'.
23673 (widget-color-action): Remove unused variables `value' and `start'.
23674
23675 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 23676 variable `dir'. Doc fix.
06b60517
JB
23677 (windmove-find-other-window): Don't pass it.
23678
23679 * window.el (count-windows): Mark unused parameter.
23680 (bw-adjust-window): Remove unused variable `err'.
23681
23682 * woman.el (woman-file-name): Remove unused variable `default'.
23683 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23684 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23685 (global-font-lock-mode): Declare.
23686 (woman-decode-region): Mark unused parameter.
23687 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23688
23689 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23690 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23691 (x-dnd-handle-moz-url): Remove unused variable `title'.
23692 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23693
23694 * xml.el (xml-parse-tag, xml-parse-attlist):
23695 Remove unused variable `pos'.
23696
bc4f7f3d
GM
236972011-04-19 Glenn Morris <rgm@gnu.org>
23698
23699 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23700 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23701 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23702 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23703 * calendar/cal-html.el (cal-html-insert-minical):
23704 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23705 (calendar-mark-date-pattern):
23706 Prefix "unused" locals.
23707
23708 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23709 optional argument `style'.
23710
23711 * calendar/appt.el (appt-make-list):
23712 * calendar/cal-china.el (calendar-chinese-date-string):
23713 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23714 (diary-hebrew-yahrzeit):
23715 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23716 * calendar/calendar.el (calendar-generate-window):
23717 * calendar/time-date.el (time-to-days):
23718 Remove unused local variables.
23719
16a43933
CY
237202011-04-18 Chong Yidong <cyd@stupidchicken.com>
23721
23722 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23723 glyphless-char-display table.
23724 (tabulated-list-glyphless-char-display): New var.
23725
7eed1860
SS
237262011-04-18 Sam Steingold <sds@gnu.org>
23727
23728 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23729 to acknowledgments.
23730
4d2d1ccd
GM
237312011-04-17 Glenn Morris <rgm@gnu.org>
23732
23733 * calendar/diary-lib.el (diary-sexp-entry):
23734 * calendar/holidays.el (holiday-sexp):
23735 Set debug-on-error rather than the removed stack-trace-on-error.
23736
239da61d
GM
237372011-04-16 Glenn Morris <rgm@gnu.org>
23738
23739 * progmodes/f90.el: Use lexical-binding.
23740 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23741
8b05752a
SM
237422011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23743
daca8ba5
SM
23744 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23745 (mail-mode): Setup mailalias completion here instead.
23746 * mail/mailalias.el: Use lexical-binding.
23747 (pattern, mailalias-done): Declare dynamic.
23748 (mail-completion-at-point-function): New function, from mail-complete.
23749 (mail-complete): Use it.
23750 (mail-completion-expand): New function.
23751 (mail-get-names): Use it.
23752 (mail-directory, mail-directory-process, mail-directory-stream):
23753 Don't use `pattern' for lexically bound arg.
23754
6f542485
SM
23755 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23756
037e7c3f
SM
23757 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23758 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23759 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23760
8b05752a
SM
23761 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23762 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23763 (byte-interactive-p): Define them again, for use when inlining
23764 old code.
23765
49093f60
JB
237662011-04-15 Juanma Barranquero <lekktu@gmail.com>
23767
23768 * loadup.el: Use `string-to-number', not `string-to-int'.
23769
b5b8e7de
SM
237702011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23771
23772 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23773 gud-gdb-complete-command.
23774 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23775 (gud-gdb-completion-at-point): New function.
23776 (gud-gdb-completions): Remove.
23777
f42efeb5
MA
237782011-04-14 Michael Albinus <michael.albinus@gmx.de>
23779
49093f60
JB
23780 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23781 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23782 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23783 whether `executable-find' is bound.
f42efeb5
MA
23784
23785 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23786
e240cc21
SM
237872011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23788
23789 * minibuffer.el (completion-in-region-mode-predicate)
23790 (completion-in-region-mode--predicate): New vars.
23791 (completion-in-region, completion-in-region--postch)
23792 (completion-in-region-mode): Use them.
23793 (completion--capf-wrapper): Also return the hook function.
23794 (completion-at-point, completion-help-at-point):
23795 Adjust and provide a predicate.
c2bd2ab0
SM
23796
23797 Preserve arg names for advice of subr and lexical functions (bug#8457).
23798 * help-fns.el (help-function-arglist): Consolidate the subr and
23799 new-byte-code cases. Add argument `preserve-names' to extract names
23800 from the docstring when needed.
23801 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23802 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23803 (ad-arglist): Use help-function-arglist's new arg.
23804 (ad-definition-type): Use cond.
23805
c183f693
JB
238062011-04-13 Juanma Barranquero <lekktu@gmail.com>
23807
06641a47
JB
23808 * autorevert.el (auto-revert-handler):
23809 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23810 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23811 Don't quote lambda.
23812
c183f693
JB
23813 * image-mode.el (image-transform-set-scale):
23814 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23815
1e3b6001
G
238162011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23817
23818 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 23819 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
23820 Upgrades via gnutls-cli are too slow to be done opportunistically.
23821
2d6af8dd
JB
238222011-04-12 Juanma Barranquero <lekktu@gmail.com>
23823
23824 * dframe.el (dframe-current-frame): Remove spurious quote.
23825
c0749a51
GM
238262011-04-12 Glenn Morris <rgm@gnu.org>
23827
088d0d61
GM
23828 * calendar/cal-tex.el (cal-tex-end-document):
23829 Try to automatically use latin1 input if needed.
23830
c0749a51
GM
23831 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23832 Don't try to cons a mark onto an empty element.
23833
5c90fde0
LL
238342011-04-11 Leo Liu <sdl.web@gmail.com>
23835
23836 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23837 buffers.
23838 (ido-kill-buffer-at-head): Support killing virtual buffers.
23839
369e974d
CY
238402011-04-10 Chong Yidong <cyd@stupidchicken.com>
23841
23842 * minibuffer.el (completion-show-inline-help): New var.
23843 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
23844 (minibuffer-force-complete, minibuffer-complete-word):
23845 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
23846
23847 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23848 to avoid interference from inline help (Bug#5849).
23849
37f1c930
LL
238502011-04-10 Leo Liu <sdl.web@gmail.com>
23851
099c39a4
JB
23852 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23853 Fix typo.
37f1c930 23854
a32d4040
CY
238552011-04-09 Chong Yidong <cyd@stupidchicken.com>
23856
23857 * image-mode.el (image-toggle-display-image): Signal an error if
23858 not in Image mode.
23859 (image-transform-mode, image-transform-resize)
23860 (image-transform-set-rotation): Doc fix.
daca8ba5 23861 (image-transform-set-resize): Delete.
a32d4040
CY
23862 (image-transform-set-scale, image-transform-fit-to-height)
23863 (image-transform-fit-to-width): Handle image-toggle-display-image
23864 and image-transform-resize directly.
23865
099c39a4 238662011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
23867
23868 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
23869 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23870 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
23871 (doc-view-mode-map): Add bindings for the new functions.
23872
099c39a4 238732011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 23874
4d61f28d 23875 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
23876 Fix typo in docstring.
23877
3726838a
EZ
238782011-04-08 Eli Zaretskii <eliz@gnu.org>
23879
04f33f1e
EZ
23880 * files.el (file-size-human-readable): Produce one digit after
23881 decimal, like "ls -lh" does.
23882
23883 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23884 the file size representation.
23885
3726838a
EZ
23886 * simple.el (list-processes): If async subprocesses are not
23887 available, error out with a clear error message.
23888
cbb59342
CY
238892011-04-08 Chong Yidong <cyd@stupidchicken.com>
23890
23891 * help.el (help-form-show): New function, to be called from C.
23892 Put help-form output in a buffer named differently than *Help*.
23893
e3971c44
EZ
238942011-04-08 Eli Zaretskii <eliz@gnu.org>
23895
23896 * files.el (file-size-human-readable): New function.
23897
23898 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23899 computing the representation inline. Don't require `cl'.
23900
12544bbe
GM
239012011-04-08 Glenn Morris <rgm@gnu.org>
23902
a1de6c6a
GM
23903 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23904
3c4671f4
GM
23905 * net/browse-url.el (browse-url-firefox):
23906 Test system-type, not system-configuration.
23907
b605679c
GM
23908 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23909 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23910 Use log-edit-empty-buffer-p. (Bug#7598)
23911
56442f0c
GM
23912 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23913 (rlogin-mode-map): Initialize in the defvar.
23914 (rlogin): Use ignore-errors.
23915
12544bbe
GM
23916 * replace.el (occur-mode-map): Some fixes for menu items.
23917
eb237b0f
AH
239182011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23919
23920 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23921
7d668f2c
CY
239222011-04-06 Chong Yidong <cyd@stupidchicken.com>
23923
e67a13ab
CY
23924 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23925 issuing unused warnings.
23926
23927 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23928 macro directly.
23929
7d668f2c
CY
23930 * simple.el: Lisp reimplement of list-processes. Based on an
23931 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23932 (process-menu-mode): New major mode.
23933 (list-processes--refresh, list-processes):
23934 (process-menu-visit-buffer): New functions.
23935
23936 * files.el (save-buffers-kill-emacs): Don't assume any return
23937 value of list-processes, which is undocumented anyway.
23938
a83ec3c9
CY
239392011-04-06 Chong Yidong <cyd@stupidchicken.com>
23940
23941 * emacs-lisp/tabulated-list.el: New file.
23942
e91a96fe
CY
23943 * emacs-lisp/package.el: Use Tabulated List mode.
23944 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23945 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23946 table format using Tabulated List mode variables.
23947 (package--push): New macro, replacing package-list-maybe-add.
23948 (package-menu--generate): Use package--push. Renamed from
23949 package--generate-package-list.
23950 (package-menu-refresh, list-packages): Use it.
daca8ba5 23951 (package-menu--print-info): Rename from package-print-package.
e91a96fe 23952 Return insertion data instead of inserting it directly.
099c39a4
JB
23953 (package-menu-describe-package, package-menu-execute):
23954 Use tabulated-list-get-id.
e91a96fe
CY
23955 (package-menu-mark-delete, package-menu-mark-install)
23956 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
23957 (package-menu-mark-obsolete-for-deletion):
23958 Use tabulated-list-put-tag.
e91a96fe
CY
23959 (package--list-packages, package-menu-revert)
23960 (package-menu-get-package, package-menu-get-version)
23961 (package-menu-sort-by-column): Functions deleted.
23962 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23963 (package-menu--status-predicate, package-menu--version-predicate)
23964 (package-menu--name-predicate)
23965 (package-menu--description-predicate): Handle arguments in the
23966 Tabulated List format.
23967 (package-list-packages-no-fetch): Call list-packages.
23968
3e214b50
JB
239692011-04-06 Juanma Barranquero <lekktu@gmail.com>
23970
23971 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 23972 (after-find-file): Don't bind it.
3e214b50
JB
23973 (revert-buffer-in-progress-p): New variable.
23974 (revert-buffer): Bind it.
23975 Pass nil for `after-find-file-from-revert-buffer'.
23976
23977 * saveplace.el (save-place-find-file-hook): Use new variable
23978 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23979
3f0f1700
GM
239802011-04-06 Glenn Morris <rgm@gnu.org>
23981
c0274801
GM
23982 * Makefile.in (AUTOGEN_VCS): New variable.
23983 (autoloads): Use $AUTOGEN_VCS.
23984
3f0f1700
GM
23985 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23986 * calendar/calendar.el (calendar-mode-map):
23987 Check for toolkit scroll bars. (Bug#8305)
23988
41ea9e48
CY
239892011-04-05 Chong Yidong <cyd@stupidchicken.com>
23990
23991 * minibuffer.el (completion-in-region--postch)
23992 (completion-in-region-mode): Remove unnecessary messages.
23993
6194c800
JB
239942011-04-05 Juanma Barranquero <lekktu@gmail.com>
23995
33256f14
JB
23996 * font-lock.el (font-lock-refresh-defaults):
23997 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23998 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23999
6194c800
JB
24000 * info.el (Info-directory-list, Info-read-node-name-2)
24001 (Info-split-parameter-string): Doc fixes.
24002 (Info-virtual-nodes): Reflow docstring.
24003 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
24004 (Info-apropos-toc-nodes, info-finder, Info-get-token)
24005 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
24006 Fix typos in docstrings.
24007 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
24008 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
24009 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
24010 (Info-restore-desktop-buffer): Mark unused parameters.
24011 (Info-directory-find-file, Info-directory-find-node)
24012 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
24013 (Info-virtual-index-find-node, Info-apropos-find-file)
24014 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 24015 Mark unused parameters; fix typos in docstrings.
6194c800
JB
24016 (Info-virtual-index): Remove unused local variable `nodename'.
24017
b87a8200 240182011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 24019
b87a8200
DD
24020 * net/rcirc.el: Update my e-mail address.
24021 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 24022
3b2ff876
CY
240232011-04-05 Chong Yidong <cyd@stupidchicken.com>
24024
24025 * startup.el (command-line): Save the cursor's theme-face
24026 directly, instead of using face-override-spec.
24027
24028 * custom.el (load-theme): Minor optimization in assigning faces.
24029
8d17e7ca
JB
240302011-04-04 Juanma Barranquero <lekktu@gmail.com>
24031
24032 * help-fns.el (describe-variable): Complete all variables having
24033 documentation, including keywords.
24034 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
24035
2fbc1934
JB
240362011-04-04 Juanma Barranquero <lekktu@gmail.com>
24037
24038 Convert to lexical-binding.
24039
24040 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24041 (bs--get-marked-string, bs--get-modified-string)
24042 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
24043 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
24044 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24045
24046 * ehelp.el (electric-help-execute-extended)
24047 (electric-help-ctrl-x-prefix):
24048 * hexl.el (hexl-revert-buffer-function):
24049 * linum.el (linum-after-change, linum-after-scroll):
24050 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
24051
24052 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
24053
74f50695
DU
240542011-04-04 Daiki Ueno <ueno@unixuser.org>
24055
24056 * epa-dired.el:
24057 * epa-mail.el:
24058 * epa-hook.el:
24059 * epa-file.el:
24060 * epa.el:
24061 * epg.el: Use lexical binding.
24062
c11325f7
CY
240632011-04-03 Chong Yidong <cyd@stupidchicken.com>
24064
0d9e9a12
CY
24065 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
24066
c11325f7 24067 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
24068 dictionary case for flyspell-mark-duplications-exceptions.
24069 Use regexp matching for languages.
c11325f7
CY
24070 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
24071 default dictionary (Bug#7926).
24072
da91b5f2
CY
240732011-04-02 Chong Yidong <cyd@stupidchicken.com>
24074
099c39a4
JB
24075 * emacs-lisp/package.el (package--with-work-buffer):
24076 Recognize https URLs.
da91b5f2 24077
099c39a4
JB
24078 * net/network-stream.el: Move from gnus/proto-stream.el.
24079 Change prefix to network-stream throughout.
da91b5f2
CY
24080 (open-protocol-stream): Merge into open-network-stream, leaving
24081 open-protocol-stream as an alias. Handle nil BUFFER args.
24082
24083 * subr.el (open-network-stream): Move to net/network-stream.el.
24084
afa8e9f6
GM
240852011-04-02 Glenn Morris <rgm@gnu.org>
24086
1d2e369d
GM
24087 * find-dired.el (find-exec-terminator): New option.
24088 (find-ls-option): Test for -ls support.
24089 (find-ls-subdir-switches): Test for -b in find-ls-option.
24090 (find-dired, find-grep-dired): Doc fixes.
24091 (find-dired): Use find-exec-terminator.
24092
8abb7da8 24093 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
24094 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
24095 (find-name-arg): Remove purecopy.
8abb7da8 24096
f3ca7378
GM
24097 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
24098 (grep-compute-defaults): Check for `-exec COMMAND +' support.
24099 Set grep-find-use-xargs, grep-find-command, and grep-find-template
24100 accordingly. Don't add the null-device if not needed.
24101
afa8e9f6
GM
24102 * files.el (save-some-buffers): Doc fix.
24103
35eae264
EZ
241042011-04-02 Eli Zaretskii <eliz@gnu.org>
24105
24106 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
24107
26b51db5
JB
241082011-04-01 Juanma Barranquero <lekktu@gmail.com>
24109
24110 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24111 Use `dolist' rather than `mapcar'.
24112
7200d79c
SM
241132011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
24114
03408648 24115 Add lexical binding.
7200d79c 24116
03408648
SM
24117 * subr.el (apply-partially): Use new closures rather than CL.
24118 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24119 (dolist, dotimes): Use slightly different expansion for lexical code.
24120 (functionp): Move to C.
24121 (letrec): New macro.
24122 (with-wrapper-hook): Use it and apply-partially instead of CL.
24123 (eval-after-load): Preserve lexical-binding.
24124 (save-window-excursion, with-output-to-temp-buffer): Turn them
24125 into macros.
7200d79c 24126
03408648
SM
24127 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24128
24129 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24130 than the arglist.
24131 (help-add-fundoc-usage): Don't add `Not documented'.
24132 (help-function-arglist): Handle closures, subroutines, and new
24133 byte-code-functions.
24134 (help-make-usage): Remove leading underscores.
24135 (describe-function-1): Handle closures.
24136 (describe-variable): Use special-variable-p for completion.
24137
24138 * files.el (lexical-binding): Declare safe.
f488fb65 24139
03408648
SM
24140 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24141 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24142 (pcase): Add `let' pattern.
24143 Change memoization so it actually works.
24144 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24145 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24146 <let>: New case.
f488fb65 24147
03408648
SM
24148 * emacs-lisp/macroexp.el: Use lexical binding.
24149 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24150 Don't convert ' to #' without checking that it's indeed quoting
24151 a lambda.
24152
24153 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 24154 Use eval-sexp-add-defvars.
03408648
SM
24155 (eval-sexp-add-defvars): New fun.
24156
24157 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24158
24159 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24160 Don't autoload.
24161 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24162 than the internal `byte-compile-lambda'.
24163 (defmethod): Don't hide code under quotes.
24164 (eieio-defmethod): New `code' argument.
24165
24166 * emacs-lisp/eieio-comp.el: Remove.
24167
24168 * emacs-lisp/edebug.el (edebug-eval-defun)
24169 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24170 (edebug-toggle): Avoid `eval'.
24171
24172 * emacs-lisp/disass.el (disassemble-internal): Handle new
24173 `closure' objects.
24174 (disassemble-1): Handle new byte codes.
24175
24176 * emacs-lisp/cl.el (pushnew): Silence warning.
24177
24178 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24179 (cl-byte-compile-throw): Remove.
24180 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24181
24182 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24183 closures.
24184
24185 * emacs-lisp/cconv.el: New file.
24186
24187 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24188 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24189 (byte-compile-initial-macro-environment):
24190 Handle declare-function here.
24191 (byte-compile--lexical-environment): New var.
24192 (byte-stack-ref, byte-stack-set, byte-discardN)
24193 (byte-discardN-preserve-tos): New lap codes.
24194 (byte-interactive-p): Don't use any more.
24195 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24196 New macros.
24197 (byte-compile-lapcode): Use them and handle new lap codes.
24198 (byte-compile-obsolete): Remove.
24199 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24200 (byte-compile-arglist-warn): Check late def of inlinable funs.
24201 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24202 since they should have been expanded by now.
24203 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24204 (byte-compile-from-buffer): Remove unused second arg.
24205 (byte-compile-preprocess): New function.
24206 (byte-compile-toplevel-file-form): New function to distinguish
24207 file-form calls from outside from file-form calls from hunk-handlers.
24208 (byte-compile-file-form): Simplify.
24209 (byte-compile-file-form-defsubst): Remove.
24210 (byte-compile-file-form-defmumble): Simplify now that
24211 byte-compile-lambda always returns a byte-code-function.
24212 (byte-compile): Preprocess.
24213 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24214 Remove, not used any more.
24215 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24216 (byte-compile-make-args-desc): New funs.
24217 (byte-compile-lambda): Handle lexical functions. Always return
24218 a byte-code-function.
24219 (byte-compile-reserved-constants): New var, to make up room for
24220 closed-over variables.
24221 (byte-compile-constants-vector): Obey it.
24222 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24223 (byte-compile-macroexpand-declare-function): New function.
24224 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24225 byte-code-functions.
24226 (byte-compile-form): Check obsolescence here.
24227 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24228 (byte-compile-variable-ref): Remove.
24229 (byte-compile-dynamic-variable-op): New fun.
24230 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24231 (byte-compile-variable-set): New funs.
24232 (byte-compile-discard): Add 2 args.
24233 (byte-compile-stack-ref, byte-compile-stack-set)
24234 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24235 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24236 macroexpand-all instead.
24237 (byte-compile-quote-form): Remove.
24238 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24239 (byte-compile-bind, byte-compile-unbind): New funs.
24240 (byte-compile-let): Handle let* and lexical binding.
24241 (byte-compile-let*): Remove.
24242 (byte-compile-catch, byte-compile-unwind-protect)
24243 (byte-compile-track-mouse, byte-compile-condition-case):
24244 Handle a new :fun-body form, used for lexical scoping.
24245 (byte-compile-save-window-excursion)
24246 (byte-compile-with-output-to-temp-buffer): Remove.
24247 (byte-compile-defun): Simplify.
24248 (byte-compile-stack-adjustment): New fun.
24249 (byte-compile-out): Use it.
24250 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24251
24252 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24253 handler any more.
24254
24255 * emacs-lisp/byte-opt.el: Use lexical binding.
24256 (byte-inline-lapcode): Remove (to bytecomp).
24257 (byte-compile-inline-expand): Pay attention to inlining to/from
24258 lexically bound code.
24259 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24260 any more.
24261 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24262 any more and don't call compiler-macros.
24263 (byte-compile-splice-in-already-compiled-code): Remove.
24264 (byte-code): Don't inline any more.
24265 (disassemble-offset): Receive `bytes' as argument rather than via
24266 dynamic scoping.
24267 (byte-compile-tag-number): Declare before first use.
24268 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24269 `return' even if make-spliceable.
24270 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24271 obsolete interactive-p.
24272 (byte-optimize-lapcode): Optimize new lap-codes.
24273 Don't trip up on new form of `byte-constant' lap code.
24274
24275 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24276
24277 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24278
24279 * custom.el (custom-initialize-default, custom-declare-variable):
24280 Use `defvar'.
24281
24282 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24283 New variables.
24284 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24285 (COMPILE_FIRST): Add macroexp and cconv.
24286 * makefile.w32-in: Mirror changes in Makefile.in.
24287
24288 * vc/cvs-status.el:
24289 * vc/diff-mode.el:
24290 * vc/log-edit.el:
24291 * vc/log-view.el:
24292 * vc/smerge-mode.el:
24293 * textmodes/bibtex-style.el:
090bd7cb 24294 * textmodes/css-mode.el:
03408648
SM
24295 * startup.el:
24296 * uniquify.el:
da91b5f2
CY
24297 * minibuffer.el:
24298 * newcomment.el:
24299 * reveal.el:
24300 * server.el:
24301 * mpc.el:
24302 * emacs-lisp/smie.el:
24303 * doc-view.el:
24304 * dired.el:
03408648
SM
24305 * abbrev.el: Use lexical binding.
24306
0f0c1f27
EZ
243072011-04-01 Eli Zaretskii <eliz@gnu.org>
24308
24309 * info.el (info-display-manual): New function.
24310
c82b2579
SM
243112011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24312
24313 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24314
221ddf68
TH
243152011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24316
24317 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 24318 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 24319
cba6e77e
GM
243202011-03-31 Glenn Morris <rgm@gnu.org>
24321
e040639f
GM
24322 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24323
cba6e77e
GM
24324 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24325
6d0f1c9e
CS
243262011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24327
24328 * progmodes/python.el (python-default-interpreter)
24329 (python-python-command-args, python-jython-command-args)
24330 (python-which-shell, python-which-args, python-which-bufname)
24331 (python-file-queue, python-comint-output-filter-function)
24332 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24333 variables and functions.
24334
3e2d70fd
SM
243352011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24336
24337 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24338 (completion-in-region-mode): New minor mode.
24339 (completion-in-region): Use it.
24340 (completion-in-region--data, completion-in-region-mode-map): New vars.
24341 (completion-in-region--postch): New function.
24342 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24343 New vars.
24344 (completion--capf-wrapper): New function.
24345 (completion-at-point): Use it to track well-behavedness of
24346 hook functions.
24347 (completion-help-at-point): New command.
24348
f3e4086c
JM
243492011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24350
24351 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24352 syntax class to search for whitespace on a single line
24353 (Message-ID: <4D938140.4030905@redhat.com>).
24354
eb7ffc14
LL
243552011-03-30 Leo Liu <sdl.web@gmail.com>
24356
24357 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24358 New commands.
24359 (edit-abbrevs-map): Bind them here.
24360 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24361
d806ab68
KM
243622011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24363
24364 * allout.el (allout-hide-by-annotation, allout-flag-region):
24365 Reduce possibility of overlay leakage by making them volatile.
24366
24367 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24368 hash is not shared between buffers. Mode initialization is
24369 responsible for giving it a useful starting value.
24370 (allout-item-span): Reduce possibility of overlay leakage by
24371 making them volatile.
24372 (allout-widgets-count-buttons-in-region): Add diagnostic function
24373 for tracking down button overlay leaks.
24374
ea622834
LL
243752011-03-29 Leo Liu <sdl.web@gmail.com>
24376
24377 * ido.el (ido-read-internal): Use the default history var
24378 minibuffer-history if no HISTORY is specified.
24379
b62f8267
G
243802011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24381
03408648
SM
24382 * net/imap.el (imap-shell-open, imap-process-connection-type):
24383 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
24384 Kerberos, SSL, other subprocesses.
24385
947b6566
LL
243862011-03-28 Leo Liu <sdl.web@gmail.com>
24387
24388 * abbrev.el (abbrev-table-empty-p): New function.
24389 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24390 nonempty ones. (Bug#5937)
24391
5ffb62aa
JD
243922011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24393
24394 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24395
7a097943
LL
243962011-03-27 Leo Liu <sdl.web@gmail.com>
24397
24398 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24399 for foreground and background colors.
24400 (ansi-color-make-color-map): Adapt.
24401
c5b40130
LL
244022011-03-25 Leo Liu <sdl.web@gmail.com>
24403
1f48f7d2
LL
24404 * midnight.el (midnight-time-float): Remove. Note it calculates
24405 the microsecond component incorrectly and seconds-to-time does the
24406 same job.
625897ec 24407 Remove redundant (require 'timer).
1f48f7d2 24408
c5b40130
LL
24409 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24410 (ido-completions): Remove unused arguments. (Bug#8329)
24411
d86d2721
SM
244122011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24413
24414 * minibuffer.el (completion--flush-all-sorted-completions):
24415 Remove itself from hook.
24416 (completion-at-point): Let the functions perform the completion
24417 immediately and return nil or t.
24418 * comint.el (comint-dynamic-complete-functions): Now identical to
24419 completion-at-point-functions.
24420 (comint-dynamic-list-input-ring): Remove unused var `index'.
24421 (comint--match-partial-filename, comint--unquote&expand-filename):
24422 New funs, split from comint-match-partial-filename.
24423 (comint-dynamic-complete): Use completion-at-point.
24424 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24425
e8974c48
DA
244262011-03-24 Drew Adams <drew.adams@oracle.com>
24427
24428 * thingatpt.el: Support `defun'.
24429
def71b5e
LL
244302011-03-23 Leo Liu <sdl.web@gmail.com>
24431
cb5af48e
LL
24432 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24433
def71b5e
LL
24434 * help-mode.el (help-mode-finish): Tweak regexp.
24435
927c53e7
GM
244362011-03-23 Glenn Morris <rgm@gnu.org>
24437
18d05bed
GM
24438 * eshell/esh-opt.el (eshell-eval-using-options):
24439 Do not bind unused local variable `eshell-option-stub'.
24440
927c53e7
GM
24441 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24442
9d0da923
JB
244432011-03-22 Juanma Barranquero <lekktu@gmail.com>
24444
24445 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24446 keymap variable in `with-no-warnings' to avoid a warning when the
24447 keymap has been already `defconst'ed.
24448
4b978a67
LL
244492011-03-22 Leo Liu <sdl.web@gmail.com>
24450
24451 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24452 encode all chars in abbrevs; otherwise use emacs-mule or
24453 utf-8-emacs. (Bug#8308)
24454
5fd62452
JB
244552011-03-22 Juanma Barranquero <lekktu@gmail.com>
24456
0b1596c6
JB
24457 * simple.el (backward-delete-char-untabify):
24458 Avoid warning about using `delete-backward-char'.
24459
5fd62452
JB
24460 * image.el (image-type-file-name-regexps): Make it variable.
24461 `imagemagick-register-types' modifies it, and the user may want
24462 to add new extensions for known image types.
24463 (imagemagick-register-types): Throw error if not using ImageMagick.
24464
0b4e93f1
LL
244652011-03-22 Leo Liu <sdl.web@gmail.com>
24466
24467 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24468 located before rcirc-prompt-end-marker.
24469 (rcirc-complete): Error if point is not after rcirc prompt.
24470 Handle the case when table is nil.
9882e214 24471 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 24472
fccee4ab
CY
244732011-03-22 Chong Yidong <cyd@stupidchicken.com>
24474
24475 * custom.el (custom--inhibit-theme-enable): Make it affect only
24476 custom-theme-set-variables and custom-theme-set-faces.
24477 (provide-theme): Ignore custom--inhibit-theme-enable.
24478 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24479 (custom-enabling-themes): Delete variable.
d86d2721
SM
24480 (enable-theme): Accept only loaded themes as arguments.
24481 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
24482 (custom-enabled-themes): Forbid themes from setting this.
24483 Eliminate use of custom-enabling-themes.
24484 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 24485
af896da6
LL
244862011-03-21 Leo Liu <sdl.web@gmail.com>
24487
24488 * ido.el (ido-read-internal): Add ido-selected to history instead
24489 of user input.
24490
78f64af0
SM
244912011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24492
24493 * subr.el (deferred-action-list, deferred-action-function):
24494 Mark obsolete.
24495
b16ac1ec
LL
244962011-03-21 Leo Liu <sdl.web@gmail.com>
24497
810f7698
LL
24498 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24499 change on 2011-02-13 (bug#8309).
24500
b16ac1ec
LL
24501 * minibuffer.el (read-file-name-function): Change default value.
24502 (read-file-name--defaults): Rename from read-file-name-defaults.
24503 (read-file-name-default): Rename from read-file-name.
24504 (read-file-name): Call read-file-name-function.
24505
4e05e67e
GM
245062011-03-21 Glenn Morris <rgm@gnu.org>
24507
24508 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24509 Doc fixes.
24510
4359915b
CY
245112011-03-21 Chong Yidong <cyd@stupidchicken.com>
24512
24513 * cus-theme.el: Add missing provide statement.
24514 (customize-create-theme): Extract theme value correctly.
24515 (custom-theme-visit-theme): Autoload.
24516 (customize-create-theme): Prompt before inserting default faces.
24517
1fe275ee
JB
245182011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24519
24520 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24521 units and musical notes.
24522
cd394be1 245232011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
24524
24525 * ido.el (ido-read-internal): Use completing-read-default.
24526 (ido-completing-read): Fix compatibility with completing-read.
24527
7d476bde
CO
245282011-03-20 Christian Ohler <ohler@gnu.org>
24529
24530 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24531 (ert-delete-all-tests): Use `called-interactively-p' rather than
24532 `interactive-p'.
24533 (ert--make-xrefs-region): Respect END.
24534
fe0fb33e
CY
245352011-03-19 Chong Yidong <cyd@stupidchicken.com>
24536
ff854b0b
CY
24537 * dired-aux.el (dired-create-directory): Signal an error if the
24538 directory already exists (Bug#8246).
24539
fe0fb33e
CY
24540 * facemenu.el (list-colors-display): Call list-faces-display
24541 inside with-help-window.
24542 (list-colors-print): Use display property to align the final
24543 column, instead of checking window-width.
24544
576bce32
EZ
245452011-03-19 Eli Zaretskii <eliz@gnu.org>
24546
4d61f28d 24547 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
24548 windows-nt systems.
24549 (emerge-protect-metachars): Quote correctly for ms-dos and
24550 windows-nt systems.
24551
89c41d68 245522011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
24553
24554 * info.el (info-initialize): Replace all uses of `:' with
24555 path-separator for compatibility with non-Unix systems.
24556 Cache quoting of path-separator. (Bug#8258)
24557
b14e3e21 245582011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
24559
24560 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24561 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24562 (mouse-avoidance-mode): Fix typos in docstrings.
24563
4525ce3e
CY
245642011-03-19 Chong Yidong <cyd@stupidchicken.com>
24565
24566 * startup.el (package-subdirectory-regexp): Move from package.el.
24567 Omit \\` and \\', and let callers add them.
24568
24569 * emacs-lisp/package.el (package-strip-version)
24570 (package-load-all-descriptors): Add \\` and \\' to
24571 package-subdirectory-regexp before using it.
24572 (package-untar-buffer): New arg DIR; ensure that file untars only
24573 into this expected directory. Remove superfluous delete-region.
24574 (package-unpack): Caller changed.
24575 (package-tar-file-info): Use package-subdirectory-regexp.
24576
a904a09a 245772011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 24578
a904a09a
SM
24579 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24580 diff-mode-shared-map (bug#8284).
24581 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
24582
245832011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24584
24585 * calendar/time-date.el (format-seconds): Use assoc instead of
24586 assoc-string, since assoc-string doesn't exist in XEmacs.
24587
171fc304
JB
245882011-03-17 Juanma Barranquero <lekktu@gmail.com>
24589
24590 * custom.el (custom-known-themes): Reflow docstring.
24591 (custom-theme-load-path): Fix typo in docstring.
24592 (load-theme): Fix typo in error message.
24593 (custom-available-themes, custom-variable-theme-value):
24594 Use `let', not `let*'.
24595
d71990a1
JB
245962011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24597
24598 * calc/README: Mention inclusion of musical notes.
24599
24600 * calc/calc-units.el (calc-lu-quant): Rename from
24601 `calc-logunits-quantity'.
24602 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24603 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24604 (calc-db): Rename from `calc-dblevel'.
24605 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24606 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24607 (calc-np): Rename from `calc-nplevel'.
24608 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24609 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24610 (calc-lu-plus): Rename from `calc-logunits-add'.
24611 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24612 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24613 (calc-lu-minus): Rename from `calc-logunits-sub'.
24614 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24615 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24616 (calc-lu-times): Rename from `calc-logunits-mul'.
24617 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24618 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24619 (calc-lu-divide): Rename from `calc-logunits-div'.
24620 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24621 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24622
24623 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24624 functions being autoloaded.
24625
24626 * calc/calc.el (calc-lu-power-reference): Rename from
24627 `calc-logunits-power-reference'.
24628 (calc-lu-field-reference): Rename from
24629 `calc-logunits-field-reference'.
24630
7a71b18d
GM
24631 * calc/calc-help.el (calc-l-prefix-help):
24632 Mention musical note functions.
d71990a1 24633
40c2934b
SM
246342011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24635
24636 * minibuffer.el (completion-all-sorted-completions):
24637 Use :completion-cycle-penalty text property if present.
24638
b0911414
KM
246392011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24640
24641 * allout.el (allout-yank-processing): Adjust for new rebulleting
24642 regime so bullet being yanked is used without prompting the user
24643 for a choice.
24644
8a05b668
JB
246452011-03-16 Juanma Barranquero <lekktu@gmail.com>
24646
24647 * startup.el (command-line): Warn the user that _emacs is deprecated.
24648
5ba5fb81
JB
246492011-03-16 Juanma Barranquero <lekktu@gmail.com>
24650
24651 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24652 (delphi-verbose, delphi-comment-face, delphi-string-face)
24653 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24654 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24655 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24656 (delphi-new-comment-line, delphi-font-lock-defaults)
24657 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24658 Fix typos in docstrings.
24659
2dab465b
KM
246602011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24661
5ba5fb81 24662 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
24663 Invert the roles of character and string values for INSTEAD, so a
24664 string is used for the more common case of a defaulting prompt.
24665
0adf5618
SM
246662011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24667
24668 * progmodes/ruby-mode.el (ruby-backward-sexp):
24669 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24670 * play/gamegrid.el (gamegrid-make-face):
24671 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24672 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24673 * notifications.el (notifications-notify):
24674 * net/xesam.el (xesam-search-engines):
24675 * net/quickurl.el (quickurl-list-insert):
24676 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24677
d72700e5
CY
246782011-03-15 Chong Yidong <cyd@stupidchicken.com>
24679
24680 * startup.el (command-line): Update package subdirectory regexp.
24681
49c5410a
SM
246822011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24683
c6eee9aa
SM
24684 * allout.el (allout-abbreviate-flattened-numbering)
24685 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24686
49c5410a
SM
24687 * subr.el (read-char-choice): Only show the cursor after the prompt,
24688 not after the answer.
24689
047b2bb9
KR
246902011-03-15 Kevin Ryde <user42@zip.com.au>
24691
24692 * help-fns.el (variable-at-point): Skip leading quotes, if any
24693 (bug#8253).
24694
0a57d256
SM
246952011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24696
24697 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24698 warning message.
24699
77c992bc
MA
247002011-03-14 Michael Albinus <michael.albinus@gmx.de>
24701
24702 * shell.el (shell): When called interactively, offer to change the
24703 shell file name on remote hosts.
24704
eebc475d
TZ
247052011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24706
24707 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24708 integration for LDAP parameters. The host, base, user or binddn,
24709 and secret tokens can be specified in a netrc file, for instance.
24710 This is optional because an `auth-source' parameter must be
24711 specified in the search attributes.
24712
9d05d1ba
JB
247132011-03-13 Juanma Barranquero <lekktu@gmail.com>
24714
24715 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24716
09d9db2c
GM
247172011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24718
24719 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24720 into declaration. Remove redundant and harmful binding.
24721
247222011-03-12 Eli Zaretskii <eliz@gnu.org>
24723
24724 * files.el (file-ownership-preserved-p): Pass `integer' as an
24725 explicit 2nd argument to `file-attributes'. If the file's owner
24726 is the Administrators group on Windows, and the current user is
24727 Administrator, consider that a match.
24728
24729 * server.el (server-ensure-safe-dir): Consider server directory
24730 safe on MS-Windows if its owner is the Administrators group while
24731 the current Emacs user is Administrator. Use `=' to compare
24732 numerical UIDs, since they could be integers or floats.
24733
219bd536
JB
247342011-03-12 Juanma Barranquero <lekktu@gmail.com>
24735
24736 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24737
f3afd36b
MA
247382011-03-12 Michael Albinus <michael.albinus@gmx.de>
24739
24740 Sync with Tramp 2.2.1.
24741
24742 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24743
24744 * net/trampver.el: Update release number.
24745
3aaaa6f1
SM
247462011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24747
94642599
SM
24748 * progmodes/compile.el (compilation--previous-directory): Fix up
24749 various nil/dead-marker mismatches (bug#8014).
24750 (compilation-directory-properties, compilation-error-properties):
24751 Don't call it at a position past the one we're about to change.
24752
3aaaa6f1
SM
24753 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24754 Disable obsolescence warnings in the file that declares it.
24755
14239447
KM
247562011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24757
099c39a4
JB
24758 * allout-widgets.el (allout-widgets-tally):
24759 Initialize allout-widgets-tally as a hash table rather than nil to
24760 prevent mode-line redisplay warnings. Also, clarify the module
24761 description and fix a comment typo.
14239447 24762
135e287c
JB
247632011-03-11 Juanma Barranquero <lekktu@gmail.com>
24764
24765 * help-fns.el (describe-variable): Don't complete keywords.
24766 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24767
ffbf300e
CY
247682011-03-10 Chong Yidong <cyd@stupidchicken.com>
24769
ba08b241
CY
24770 * emacs-lisp/package.el (package-version-join): Impose a standard
24771 string representation for pre/alpha/beta version lists.
24772 (package-unpack-single): Standardize the directory name by passing
24773 it through package-version-join.
24774 (package-strip-rcs-id): Accept any version string that does not
24775 signal an error in version-to-list.
ffbf300e 24776
f346fd6b
MA
247772011-03-10 Michael Albinus <michael.albinus@gmx.de>
24778
24779 * simple.el (delete-trailing-whitespace): Return nil for the
24780 benefit of `write-file-functions'.
24781
ccb55d27
GM
247822011-03-10 Glenn Morris <rgm@gnu.org>
24783
5ceaac0c
GM
24784 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24785
02da65ff
GM
24786 * vc/vc-git.el (vc-git-program): New option.
24787 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24788 (vc-git--call): Use it.
24789
b2f603cc
GM
24790 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24791
5772caab
GM
24792 * cus-edit.el (Custom-newline): If no button at point, look
24793 for a subgroup button at start-of-line. (Bug#2298)
24794
ccb55d27
GM
24795 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24796
ec6ecaed
JD
247972011-03-10 Julien Danjou <julien@danjou.info>
24798
24799 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24800 `cursor-type' is nil.
24801
9d5aa01d
JB
248022011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24803
24804 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24805
b6a5875b
KM
248062011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24807
7a71b18d 24808 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
24809 preserves the existing header prefix, rebulleting it if necessary,
24810 rather than replacing it. This is necessary for proper operation
24811 of cooperative addons like allout-widgets.
1154d12e
JB
24812 (allout-make-topic-prefix, allout-rebullet-heading):
24813 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24814 value as alternate bullet to be used, instead of prompting the user
24815 for a bullet character.
b6a5875b 24816
ee545c35
MA
248172011-03-09 Michael Albinus <michael.albinus@gmx.de>
24818
d86d2721
SM
24819 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24820 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
24821 `tramp-default-port'.
24822
c47971d7
DD
248232011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24824
24825 * net/rcirc.el (rcirc-handler-001): Remove useless
24826 with-rcirc-process-buffer.
24827 (rcirc-check-auth-status): Swap arguments to string-match.
24828
13522cb4
GM
248292011-03-09 Glenn Morris <rgm@gnu.org>
24830
0be6f4f1
GM
24831 * shell.el (shell-mode):
24832 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24833
13522cb4
GM
24834 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24835 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24836
515de2e3
CY
248372011-03-08 Chong Yidong <cyd@stupidchicken.com>
24838
24839 * emacs-lisp/package.el (package-refresh-contents)
24840 (package-menu-execute): Use condition-case-no-debug.
24841
b511b994
MA
248422011-03-08 Michael Albinus <michael.albinus@gmx.de>
24843
24844 * simple.el (shell-command-to-string): Use `process-file'.
24845
24846 * emacs-lisp/package.el (package-tar-file-info): Handle also
24847 remote files.
24848
d86d2721
SM
24849 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24850 Use `equal' for upload base check.
b511b994 24851
25bbfb31
AM
248522011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24853
24854 * textmodes/texinfo.el (texinfo-environments):
24855 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24856
be996521
GM
248572011-03-08 Glenn Morris <rgm@gnu.org>
24858
e9c8529f
GM
24859 * cus-start.el (cursor-in-non-selected-windows):
24860 Fix :set quoting oddness. (Bug#8192)
24861
be996521
GM
24862 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24863 in some setf expressions. (Bug#2159)
24864
2bb5649e
CY
248652011-03-08 Chong Yidong <cyd@stupidchicken.com>
24866
24867 * custom.el (custom-available-themes): Return themes in
24868 alphabetical order.
24869
33383987 24870See ChangeLog.15 for earlier changes.
e3d51b27
MR
24871
24872;; Local Variables:
24873;; coding: utf-8
e3d51b27
MR
24874;; End:
24875
ab422c4d 24876 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
24877
24878 This file is part of GNU Emacs.
24879
24880 GNU Emacs is free software: you can redistribute it and/or modify
24881 it under the terms of the GNU General Public License as published by
24882 the Free Software Foundation, either version 3 of the License, or
24883 (at your option) any later version.
24884
24885 GNU Emacs is distributed in the hope that it will be useful,
24886 but WITHOUT ANY WARRANTY; without even the implied warranty of
24887 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24888 GNU General Public License for more details.
24889
24890 You should have received a copy of the GNU General Public License
24891 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.