* net/tramp-cache.el (tramp-get-hash-table): New defun.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp-cache.el (tramp-get-hash-table): New defun.
4 (tramp-get-file-property, tramp-set-file-property)
5 (tramp-get-connection-property, tramp-set-connection-property): Use it.
6 (tramp-flush-file-property, tramp-flush-directory-property):
7 Rename argument to KEY.
8 (tramp-flush-connection-property): Simplify a little bit.
9 (tramp-connection-property-p): New defun.
10 (top): Reapply saved values only if there isn't a corresponding
11 entry in `tramp-connection-properties'.
12
13 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
14
15 * progmodes/python.el (python-indent-context):
16 Fix python-info-line-ends-backslash-p call.
17 (python-info-line-ends-backslash-p)
18 (python-info-beginning-of-backslash): Respect line-number argument.
19 (python-info-current-line-comment-p):
20 Fix behavior when not at beginning-of-line.
21 (python-util-position): Remove function.
22 (python-util-goto-line): New function.
23
24 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
25
26 * eshell/em-unix.el (eshell/su): Require tramp.
27 (eshell/sudo): Require tramp. Remove now unnecessary check.
28
29 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
30 `tramp-current-connection' in order to avoid an error when several
31 commands are invoked in a short time in eshell and friends.
32
33 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 Cleanup some of EIEIO's namespace.
36 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
37 Use it to define all the class-* and object-* field accessors (renamed
38 to eieio--class-* and eieio--object-*). Update all uses.
39 (eieio--class-num-slots, eieio--object-num-slots): Rename from
40 class-num-slots and object-num-slots.
41 (eieio--check-type): New macro.
42 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
43 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
44 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
45 (object-assoc-list-safe): Use it.
46 (eieio-defclass): Tighten regexp.
47 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
48 Remove unreachable code.
49 (object-class-fast): Declare obsolete.
50 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
51 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
52 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
53 Rename from class-name, object-name, object-set-name-string,
54 object-class, object-class-name, class-parents, class-children,
55 class-precedence-list, class-parent; with obsolete alias.
56 (class-of, class-direct-superclasses, class-direct-subclasses):
57 Declare obsolete.
58 (eieio-defmethod): Use `memq'; remove unreachable code.
59 * emacs-lisp/eieio-base.el (eieio-persistent-read):
60 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
61 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
62
63
64 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
65
66 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
67 Use font-lock-keyword-face for macros and special forms (bug#8345).
68
69 2013-02-17 Didier Verna <didier@didierverna.net>
70
71 * net/network-stream.el (network-stream-open-starttls):
72 Check that response to the starttls-command is non-nil. (Bug#13706)
73
74 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
77 Don't assume all identifier chars have syntax word.
78 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
79 Remove bar-not-symbol. Adjust callers.
80 (lisp-mode-variables): Don't set a font-lock-syntax-table.
81
82 2013-02-17 Leo Liu <sdl.web@gmail.com>
83
84 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
85
86 2013-02-17 Glenn Morris <rgm@gnu.org>
87
88 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
89
90 * image-mode.el (image-mode-map): Add image-dired menu entry.
91
92 * image-dired.el (tumme): Make this alias obsolete.
93
94 2013-02-16 Glenn Morris <rgm@gnu.org>
95
96 * image.el (image-animated-types): Remove.
97 (image-multi-frame-p): Rename from image-animated-p, and generalize.
98 (image-animated-p): Make obsolete alias.
99 (image-animate, image-nth-frame, image-animate-timeout):
100 Use image-multi-frame-p.
101 (image-animate-timeout): If no delay, use image-default-frame-delay.
102 * image-mode.el (image-mode, image-toggle-animation):
103 Use image-multi-frame-p. (Bug#763, bug#10739)
104 (image-mode): Adjust startup message for a multi-frame image.
105
106 * image-mode.el (image-mode-map): Give it a menu.
107
108 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
109
110 * net/tramp-cache.el (tramp-connection-properties): New customer
111 option.
112 (tramp-get-connection-property): Use it.
113
114 * net/tramp-compat.el (top): Require 'trampver.
115
116 * net/tramp-sh.el (tramp-remote-process-environment):
117 Set tramp-autoload cookie.
118
119 2013-02-16 Kevin Ryde <user42@zip.com.au>
120
121 * info-look.el (info-lookup-select-mode): If major-mode has no
122 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
123
124 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
125
126 * replace.el (read-regexp): Tighten the regexp that matches tag.
127 When tag is retrieved with `find-tag-default', use regexp that
128 matches tag at point. Also update docstring (Bug#13687).
129
130 2013-02-16 Eli Zaretskii <eliz@gnu.org>
131
132 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
133 add watch for the file, not its parent directory, since w32notify
134 sets up the watch for the directory internally. (Bug#13725)
135
136 2013-02-16 Glenn Morris <rgm@gnu.org>
137
138 * image.el (image-default-frame-delay): New variable.
139 (image-animated-p): Use image-default-frame-delay.
140 (image-minimum-frame-delay): New constant.
141 (image-animate-timeout): Use image-minimum-frame-delay.
142
143 * image.el (image-nth-frame): New, split from image-animate-timeout.
144 (image-animate-timeout): Use image-nth-frame.
145 * image-mode.el (image-goto-frame, image-next-frame)
146 (image-previous-frame): New commands.
147 (image-mode-map): Add new frame commands.
148
149 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
150
151 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
152 If col-desc already has help-echo, use it. (Bug#13563)
153
154 2013-02-16 Glenn Morris <rgm@gnu.org>
155
156 * image.el (image-current-frame): New variable.
157 (image-animate-timeout): Set image-current-frame.
158 * image-mode.el (image-mode): For animated images,
159 display a frame counter via mode-line-process.
160
161 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
162
163 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
164
165 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
166
167 2013-02-15 Alan Mackenzie <acm@muc.de>
168
169 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
170 global minor mode has been enabled, call the minor mode function
171 for a new buffer once only, after the major mode hook, whilst
172 allowing that hook explicitly to disable the minor mode.
173 (MODE-disable-in-buffer): New (generated) function.
174 (disable-MODE): New (generated) buffer local variable.
175
176 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
177
178 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
179 `iswitchb-next-match' and `iswitchb-prev-match' resply.
180 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
181 `ido-next-match' and `ido-prev-match' resply.
182 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
183 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
184 `icomplete-backward-completions' (Bug#13708).
185
186 2013-02-15 Glenn Morris <rgm@gnu.org>
187
188 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
189
190 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
191
192 * net/goto-addr.el (goto-address-fontify): Add start and end args.
193 (goto-address-fontify-region): Use them instead of narrowing, so
194 syntax-ppss has access to the whole buffer.
195
196 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
197
198 * progmodes/python.el: Explain how to restore "cc-mode"-like
199 forward-sexp movement in header documentation (Bug#13642).
200 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
201 comments and strings (GH bug 114).
202
203 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
204
205 * progmodes/python.el (python-info-current-defun): Fix current
206 defun detection (Bug#13618).
207
208 2013-02-15 Chong Yidong <cyd@gnu.org>
209
210 * xml.el (xml-parse-string): Fix typo in handling of bad character
211 references.
212
213 2013-02-15 Glenn Morris <rgm@gnu.org>
214
215 * play/fortune.el (fortune-compile): Simplify and fix previous change.
216
217 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
218
219 * net/tramp.el (tramp-debug-message):
220 Add `tramp-condition-case-unless-debug'.
221 (tramp-debug-on-error): New defvar.
222 (tramp-condition-case-unless-debug): New defun.
223 (tramp-file-name-handler): Use it.
224
225 2013-02-14 Juri Linkov <juri@jurta.org>
226
227 * info.el (Info-isearch-filter): Treat non-nil values of
228 `search-invisible' including its default value `open'
229 like the value `t' to match hidden text. (Bug#13402)
230
231 2013-02-14 Glenn Morris <rgm@gnu.org>
232
233 * help-fns.el (find-lisp-object-file-name): Give special treatment
234 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
235
236 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
237
238 * net/quickurl.el (quickurl-save-urls):
239 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
240
241 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
242
243 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
244 depth for unfinished percent literal. Not using it in the caller.
245 (ruby-move-to-block): Jump over multiline literals of all types,
246 ignoring code-looking contents inside them.
247 (ruby-add-log-current-method): Improve performance at the expense
248 of accuracy. `ruby-block-contains-point' is relatively slow, so
249 only use it for method and singleton class blocks.
250
251 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
252
253 Use ControlMaster where applicable. (Bug#13677)
254
255 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
256 replacing `tramp-detect-ssh-controlmaster'.
257 (tramp-default-method): Use it.
258
259 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
260 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
261 arguments.
262 [scpc, rsyncc]: Remove methods.
263 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
264 and "ssh2_old".
265 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
266 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
267
268 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
269
270 * emacs-lisp/package.el (package--initialized): Move before first use.
271
272 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
273
274 * icomplete.el (icomplete-hide-common-prefix): New user option.
275 (icomplete-first-match): New face.
276 (icomplete-completions): Correct handling of "complete but not
277 unique" (Bug#12638).
278
279 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
280
281 * descr-text.el (describe-char): Display the script (bug#13698).
282
283 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 * tmm.el: Use lexical-binding and current-active-maps.
286 (tmm-menubar): Use map-keymap and pcase.
287 (tmm--completion-table): New function.
288 (tmm-prompt): Use it to fix the menu order.
289 (tmm-get-keybind): Use current-active-maps.
290
291 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
292
293 Add dired-hide-details-mode. (Bug#6799)
294
295 * locate.el (locate-mode): Set parent mode property to dired-mode.
296
297 * find-dired.el (find-dired): Call dired-insert-set-properties on
298 initial information line. Set process mark on end of buffer.
299 (find-dired-sentinel):
300 Call dired-insert-set-properties on summary.
301
302 * dired.el (dired-hide-details-hide-symlink-targets)
303 (dired-hide-details-hide-information-lines): New options.
304 (dired-insert-directory):
305 Set properties after final treatment of output.
306 (dired-insert-set-properties):
307 Set dired-hide-details-* properties.
308 (dired-mode-map): Bind dired-hide-details-mode.
309 (dired-mode): Set buffer-invisibility-spec to a list.
310 (dired-next-line): Skip hidden lines.
311 (dired-previous-line): Use dired-next-line.
312 (dired-hide-details-mode): New minor mode.
313 (dired-hide-details-update-invisibility-spec): New function.
314
315 2013-02-13 Glenn Morris <rgm@gnu.org>
316
317 * play/yow.el: Move to obsolete/. (Bug#9384)
318
319 2013-02-13 Juri Linkov <juri@jurta.org>
320
321 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
322 to select `ediff-control-frame' and set input focus correctly on Xfce.
323 (Bug#12218)
324
325 2013-02-13 Juri Linkov <juri@jurta.org>
326
327 * image-mode.el (image-mode-map):
328 * doc-view.el (doc-view-mode-map):
329 * vc/ediff-util.el (ediff-setup-keymap):
330 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
331
332 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
333
334 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
335 performance. Instead of recalculating indentation fully for each
336 line, sum up indentation depth based only on visited lines.
337 (ruby-parse-partial): Increase the depth after "do" even when END
338 is right after it.
339 (ruby-parse-partial): When END is in the middle of a percent
340 literal, increase the depth if the delimiter chars belong to the
341 paren syntax class.
342
343 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
344
345 * play/fortune.el (fortune-compile): Also make the compiled file
346 if it does not exist at all, not just if it is old. (Bug#5338)
347
348 2013-02-13 Glenn Morris <rgm@gnu.org>
349
350 * emacs-lisp/package.el (package-menu-execute): Doc fix.
351
352 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
353
354 * lisp/emacs-lisp/package.el (package-menu-execute):
355 Add optional noquery argument. (Bug#13625)
356
357 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
358
359 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
360 if DIR exists and PARENTS is non-nil.
361
362 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
363
364 * progmodes/js.el (js--multi-line-declaration-indentation):
365 Silence byte-compiler warning.
366
367 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
368
369 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
370
371 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
372 only if it doesn't exist.
373
374 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
375 Set process marker.
376
377 2013-02-12 Tassilo Horn <tsdh@gnu.org>
378
379 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
380 UserInstallation when calling soffice to work around LibreOffice
381 bug 37531.
382
383 2013-02-12 Glenn Morris <rgm@gnu.org>
384
385 * files.el (basic-save-buffer):
386 Offer to create a non-existing directory. (Bug#3016)
387
388 * calc/calc-graph.el (calc-graph-show-dumb):
389 * calendar/calendar.el (calendar-mode-map):
390 * cus-edit.el (custom-mode-map):
391 * ehelp.el (electric-help-map):
392 * emulation/vip.el (vip-mode-map):
393 * epa.el (epa-key-list-mode-map):
394 * info.el (Info-mode-map):
395 * mail/rmail.el (rmail-mode-map):
396 * mail/rmailsum.el (rmail-summary-mode-map):
397 * man.el (Man-mode-map):
398 * net/newst-plainview.el (newsticker-mode-map):
399 * progmodes/cpp.el (cpp-edit-mode-map):
400 * progmodes/grep.el (grep-mode-map):
401 * progmodes/idlw-help.el (idlwave-help-mode-map):
402 * simple.el (special-mode-map):
403 * startup.el (splash-screen-keymap):
404 * view.el (view-mode-map):
405 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
406
407 2013-02-11 Elias Pipping <pipping@lavabit.com>
408
409 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
410 (bug#13679).
411
412 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
415
416 2013-02-11 Glenn Morris <rgm@gnu.org>
417
418 * vc/diff.el (diff-use-labels): New variable.
419 (diff-no-select): Use --label rather than -L, and first
420 check that it is supported. (Bug#11067)
421
422 * files.el (enable-dir-local-variables): New variable.
423 (hack-dir-local-variables): Respect enable-dir-local-variables.
424 * tutorial.el (help-with-tutorial):
425 Ignore directory-local variables. (Bug#11127)
426
427 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
428 (vc-svn-global-switches): ... to here. (Bug#13513)
429
430 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
431
432 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
433 Handle "foo (bar, default: xxx): " prompts.
434
435 2013-02-10 Chong Yidong <cyd@gnu.org>
436
437 * files.el (basic-save-buffer-1): Do not set
438 buffer-file-coding-system-explicit (Bug#4533).
439
440 * mail/emacsbug.el (report-emacs-bug): Change binding of
441 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
442
443 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
444
445 * calc/calc.el (calc-allow-units-as-numbers): New variable.
446 * calc/calc-units.el (calc-convert-units): Use new variable.
447
448 2013-02-09 Eli Zaretskii <eliz@gnu.org>
449
450 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
451
452 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
453 buffer-file-type.
454
455 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
456 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
457 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
458 coding-system-for-write instead.
459
460 * jka-compr.el (jka-compr-write-region): Don't bind
461 buffer-file-type.
462
463 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
464 buffer-file-type.
465
466 * files.el (file-name-buffer-file-type-alist): Remove defvar.
467 (insert-file-contents-literally): Remove reference to
468 file-name-buffer-file-type-alist.
469
470 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
471 make-obsolete.
472 (find-buffer-file-type-match, find-buffer-file-type): Remove.
473 (find-buffer-file-type-coding-system): Remove references to
474 find-buffer-file-type-match, find-buffer-file-type, and
475 buffer-file-type.
476 Don't put find-buffer-file-type-coding-system into
477 file-coding-system-alist.
478 (find-file-binary, find-file-text): Bind coding-system-for-read
479 instead of file-name-buffer-file-type-alist.
480
481 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
482
483 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
484 converter (Bug#13622).
485 (doc-view-unoconv-program): Make obsolete alias.
486 (doc-view-odf->pdf-converter-program): New variable.
487 (doc-view-odf->pdf-converter-function): New variable.
488 (doc-view-mode-p): Use it.
489 (doc-view-odf->pdf-converter-unoconv):
490 Rename from `doc-view-odf->pdf-converter-unoconv'.
491 (doc-view-odf->pdf-converter-soffice): New function.
492 (doc-view-convert-current-doc):
493 Use `doc-view-odf->pdf-converter-function'.
494
495 2013-02-09 Chong Yidong <cyd@gnu.org>
496
497 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
498 view-echo-area-messages (Bug#13340).
499
500 * help.el (view-echo-area-messages): Use display-buffer.
501
502 * dired-x.el (dired-do-run-mail): Prompt for confirmation
503 (Bug#13561).
504
505 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
506
507 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
508 Eval body right away, now that we do eager macroexpansion (bug#13605).
509
510 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
511 (fundamental-mode): Use run-mode-hooks.
512
513 * eshell/esh-proc.el (eshell/kill): Fix last change.
514 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
515
516 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
517
518 * eshell/esh-proc.el (eshell/kill): Rewrite.
519
520 * eshell/em-ls.el (show-almost-all): Declare.
521 (eshell-do-ls): Add support for -A argument.
522
523 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
524
525 * icomplete.el (icomplete-forward-completions)
526 (icomplete-backward-completions): Handle corner case (bug#13602).
527
528 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
529
530 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
531 be nil. Handle this. (Bug#13636)
532
533 2013-02-07 Richard Stallman <rms@gnu.org>
534
535 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
536 `save-buffer-coding-system'.
537
538 2013-02-07 Alan Mackenzie <acm@muc.de>
539
540 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
541 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
542 (c-parse-state-get-strategy): Don't return 'BOD any more.
543 (c-append-lower-brace-pair-to-state-cache):
544 Extra parameter HERE instead of narrowing.
545 Widen to top of buffer before searching backwards for a brace pair.
546 (c-state-push-any-brace-pair): Add HERE parameter to function call.
547 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
548 Narrow to parameter HERE, in place of being called narrowed.
549 (c-remove-stale-state-cache): Extra parameter HERE in place of
550 narrowing. Check there's an open brace in the cache before
551 searching for its match.
552 (c-invalidate-state-cache-1): Add HERE parameter to function call.
553 (c-parse-state-1): Don't narrow here for 'forward strategy,
554 instead passing extra parameter HERE to several functions.
555 Remove 'BOD strategy.
556
557 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
558
559 * emacs-lisp/package.el (describe-package-1): Tell what archive is
560 used to install the package.
561
562 2013-02-06 Glenn Morris <rgm@gnu.org>
563
564 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
565 if we can't get user input. (Bug#6567)
566
567 * startup.el (command-line): If simple.el is missing,
568 test and warn about for some possible causes.
569
570 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
571
572 * cus-start.el (all): Add ns-use-native-fullscreen.
573
574 2013-02-05 Glenn Morris <rgm@gnu.org>
575
576 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
577
578 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
579 Fix directory creation in fallback case.
580
581 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
582
583 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
584 (vc-update-change-log): Use dolist.
585
586 2013-02-04 Chong Yidong <cyd@gnu.org>
587
588 * thingatpt.el: Rewrite the URL detection routines, absorbing some
589 code from ffap.el.
590 (thing-at-point-beginning-of-url-regexp): New var.
591 (thing-at-point-uri-schemes): Update list of URI schemes.
592 (thing-at-point-url-regexp): Variable deleted.
593 (thing-at-point-markedup-url-regexp): Disallow newlines.
594 (thing-at-point-newsgroup-regexp)
595 (thing-at-point-newsgroup-heads)
596 (thing-at-point-default-mail-uri-scheme): New variables.
597 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
598 method to find the possible bounds of the URI at point.
599 New optional argument to find ill-formed URIs.
600 (thing-at-point-url-at-point): Rewrite. New arguments for finding
601 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
602 the scheme-adding heuristics from ffap-url-at-point.
603 (thing-at-point--bounds-of-well-formed-url): New function.
604 Do parens matching to decide whether to include parens in the URI
605 (Bug#9153).
606
607 * ffap.el: Require thingatpt.
608 (ffap-url-at-point): Delegate URI detection to thing-at-point.
609 All URI-valid characters are now recognized (Bug#5673).
610 (ffap-string-at-point): Use use-region-p.
611 (ffap-url-regexp): Extra character is handled by thing-at-point.
612 (ffap-string-at-point-mode-alist): Allow parentheses.
613 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
614 Convert to aliases; code moved to thingatpt.el.
615 (ffap-gnus-hook): Use setq-local.
616
617 2013-02-04 Glenn Morris <rgm@gnu.org>
618
619 * emacs-lisp/ert.el (ert--explain-format-atom):
620 Don't try to print non-characters as characters. (Bug#13543)
621
622 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
623
624 * net/tramp.el (tramp-debug-message): Extend function exclude list.
625 (tramp-backtrace): New defun.
626 (tramp-handle-insert-file-contents): Use `visit' when inserting
627 the local copy.
628
629 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
630 Use `remote-file-name-inhibit-cache'.
631
632 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
633
634 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
635 (bug#13614).
636
637 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
638 current-load-list (bug#13366).
639
640 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
641
642 * progmodes/compile.el (compilation-error-regexp-alist-alist):
643 Identify g++ template instantiation trace. (Bug#12287)
644 (compilation-mode-hook, compilation-start-hook)
645 (compilation-window-height): Simplify docstrings. (Bug#13379)
646
647 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
648
649 * mouse.el (mouse-drag-track): Always deactivate the mark before
650 running the final event's command since that command is in charge of
651 activating the mark if needed (bug#13523).
652
653 2013-02-02 Juri Linkov <juri@jurta.org>
654
655 * replace.el (perform-replace): Move let-bindings of isearch-*
656 variables deeper to the loop that searches for the next match.
657 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
658 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
659 (Bug#13579)
660
661 * isearch.el (isearch-search-fun-default): Check for null
662 first element of isearch-cmds as a precaution when it's used
663 with inactive isearch.
664
665 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
666
667 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
668 error when buffer in question is narrowed so position 1 is out of
669 visible part.
670
671 2013-02-02 Glenn Morris <rgm@gnu.org>
672
673 * textmodes/remember.el (remember-clipboard): Doc fix.
674
675 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
678 properties (bug#13179).
679
680 2013-02-02 Juri Linkov <juri@jurta.org>
681
682 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
683 instead of hard-coded default face `match'. (Bug#9438)
684
685 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
686
687 * vc/vc-arch.el (vc-arch-registered):
688 * vc/vc-bzr.el (vc-bzr-registered):
689 * vc/vc-cvs.el (vc-cvs-registered):
690 * vc/vc-git.el (vc-git-registered):
691 * vc/vc-hg.el (vc-hg-registered):
692 * vc/vc-mtn.el (vc-mtn-registered):
693 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
694 (Bug#13139)
695
696 * info.el (Info-next-reference, Info-prev-reference): Add numeric
697 prefix argument. (Bug#11656)
698
699 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
700
701 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
702
703 2013-02-01 Glenn Morris <rgm@gnu.org>
704
705 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
706 if the backend is known not to support it.
707
708 * imenu.el (imenu-default-create-index-function):
709 Tweak infinite loop test to check for forward motion as well as none.
710
711 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
712
713 * net/soap-client.el (soap-invoke): Encode the string for
714 `url-request-data' as UTF-8.
715 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
716
717 2013-02-01 Glenn Morris <rgm@gnu.org>
718
719 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
720
721 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
722
723 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
724
725 * net/tramp.el (tramp-tramp-file-p): Comment check for
726 `string-as-unibyte'. The function does not exist on XEmacs, and
727 likely we need another approach.
728
729 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
730 `tramp-gw-*' variables are bound.
731
732 2013-01-31 Glenn Morris <rgm@gnu.org>
733
734 * files.el (basic-save-buffer-2): Choose coding system for
735 writing the file before backing it up, to reduce delay between
736 backing up and writing the new version. (Bug#13522)
737
738 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
739
740 * simple.el (cycle-spacing): New command.
741 (just-one-space): Use it.
742
743 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
744
745 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
746 (opascal-newline-always-indents): Remove custom.
747 (opascal-tab, opascal-newline): Remove commands.
748 (opascal-new-comment-line): Insert "\n" instead of calling newline.
749 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
750 (opascal-save-match-data): Remove, use save-match-data instead.
751 (opascal-save-state): Use with-silent-modifications.
752
753 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
754 (bug#13585).
755
756 2013-01-30 Juri Linkov <juri@jurta.org>
757
758 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
759 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
760 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
761
762 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
763
764 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
765 column if we're just deleting the backslashes.
766 (makefile-fill-paragraph): Use eolp.
767
768 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
769
770 * autorevert.el (auto-revert-use-notify): Fix docstring.
771
772 2013-01-30 Leo Liu <sdl.web@gmail.com>
773
774 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
775
776 2013-01-30 Glenn Morris <rgm@gnu.org>
777
778 * mouse.el (mouse-drag-line): Avoid pushing same event onto
779 unread-command-events twice in some cases. This tries to implement
780 the 2012-07-26 changes in a different way. (Bug#13560)
781
782 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
783
784 * progmodes/python.el
785 (python-pdbtrack-comint-output-filter-function): Enhancements on
786 stacktrace detection. (thanks @gnovak)
787
788 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
791 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
792 Use defvar-local.
793 (jit-lock-register): Use setq-local.
794
795 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
796
797 * calc-units.el (math-default-units-table): Remove initial value.
798 (calc-convert-units): Treat expressions where all the units cancel as
799 if they didn't have units.
800
801 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
802
803 * net/tramp.el (tramp-process-connection-type): Fix docstring.
804 (tramp-completion-reread-directory-timeout): Fix type.
805 (tramp-connection-min-time-diff): New defcustom.
806
807 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
808
809 2013-01-30 Glenn Morris <rgm@gnu.org>
810
811 * imenu.el (imenu-default-create-index-function):
812 Put back a version of the infinite loop test removed 2013-01-23.
813
814 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
815
816 * progmodes/python.el (python-shell-parse-command):
817 Find python-shell-interpreter with modified environment.
818
819 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
820
821 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
822
823 2013-01-29 Alan Mackenzie <acm@muc.de>
824
825 Amend to fontify /regexp/s in actions correctly.
826 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
827 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
828 are no longer included.
829 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
830 What used to be these variables without "-line" in the name.
831 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
832 (c-awk-non-arith-op-bra-re): Now also matches {.
833 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
834 "return", and "case".
835 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
836 by /.
837 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
838 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
839
840 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
841
842 * autorevert.el (auto-revert-use-notify):
843 Use `custom-initialize-default' for initialization. (Bug#13583)
844
845 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
846
847 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
848 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
849 in `tramp-file-name-handler'.
850 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
851 compatibility.
852 (tramp-compute-multi-hops): Check, whether
853 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
854
855 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
856
857 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
858 (bug#13297).
859
860 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
861
862 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
863 checks made superfluous by the \_< operator.
864 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
865 temporarily) broken indentation.
866 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
867 Highlight nested constants, too. \_< broke that.
868
869 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
870
871 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
872 instead of "\\b".
873
874 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
875
876 * autorevert.el (auto-revert-handler): Notifications which result
877 from a saved file shall not be taken into account. (Bug#13557)
878
879 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
880
881 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
882 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
883 (lisp-mode): Pass t for it. (Bug#13556)
884
885 2013-01-25 Alan Mackenzie <acm@muc.de>
886
887 AWK Mode: Fix indentation bug at top level. Bug #12274.
888
889 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
890 just before CASE 5D.
891
892 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
893
894 * net/socks.el (socks-nslookup-host): Use string-to-number.
895
896 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
897
898 * autorevert.el (auto-revert-remote-files)
899 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
900 (auto-revert-notify-enabled, auto-revert-use-notify)
901 (auto-revert-notify-watch-descriptor-hash-list)
902 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
903 (auto-revert-notify-event-descriptor)
904 (auto-revert-notify-event-action)
905 (auto-revert-notify-event-file-name): Doc fix.
906 (global-auto-revert-mode): Reorder checks.
907 (auto-revert-notify-rm-watch): Respect changed values of
908 `auto-revert-notify-watch-descriptor-hash-list'.
909 (auto-revert-notify-add-watch): Check for
910 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
911 `inotify-add-watch'. Watch `default-directory' instead of
912 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
913 has a changed meaning now. (Bug#13540)
914 (auto-revert-notify-handler): Change implementation wrt events
915 returning from a directory.
916 (auto-revert-handler): Reorder implementation for checks of remote
917 files.
918 (auto-revert-buffers): Fix parentheses error.
919
920 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
921
922 * progmodes/python.el: Enhancements to header documentation about
923 skeletons. (Bug#5716)
924
925 * imenu.el (imenu-default-create-index-function): Remove useless
926 infinite loop check. (Bug#13438)
927
928 2013-01-25 Alan Mackenzie <acm@muc.de>
929
930 Fix a bug in the state cache mechanism. Refactor this a bit.
931
932 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
933 `cache-pos' element from the return value.
934 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
935 buffer to enable proper searching from beyond HERE. Amend the
936 test for detecting the sought brace pair. Amend the value written
937 to the "brace desert cache" when the brace isn't found.
938 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
939 and several other variables analogously.
940 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
941 parameter to a locally calculated variable.
942 (c-parse-state-1): Change the calling conventions to the two
943 defuns involving `cache-pos'.
944
945 2013-01-25 Chong Yidong <cyd@gnu.org>
946
947 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
948
949 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
950
951 * paren.el (show-paren-function): Make sure to set 'priority and
952 'face only if the overlay does exist.
953
954 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
955
956 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
957
958 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
959 basic attributes.
960 (tramp-sh-handle-set-file-acl): Improve error checking.
961
962 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
963
964 * doc-view.el (doc-view-display): Force mode line update until all
965 document is converted. Suggested by Stefan Monnier (Bug#13164).
966
967 2013-01-23 Bastien Guerry <bzg@gnu.org>
968
969 * paren.el (show-paren-function): Make sure an overlay exists
970 before trying to delete it. Also use `pos' as a position only
971 when it is an integer.
972
973 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
974
975 * play/gametree.el (gametree-break-line-here): Use point-marker.
976
977 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
978
979 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
980 Mark descriptive parts with `display' property.
981
982 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
983
984 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
985 New variable to map standard dict names to hunspell ones.
986 (ispell-set-spellchecker-params): Make sure specific dict names
987 are used for standard dicts with hunspell.
988
989 2013-01-21 Tassilo Horn <tsdh@gnu.org>
990
991 * textmodes/reftex-cite.el (reftex-format-citation): Add format
992 chars for note (%N) and url (%U).
993 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
994
995 2013-01-21 Juri Linkov <juri@jurta.org>
996
997 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
998 in addition to existing separate binding `meta f10' in `global-map'.
999 (Bug#13484)
1000
1001 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1002
1003 Improve XEmacs compatibility.
1004
1005 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1006
1007 * net/tramp-adb.el (top): Require `time-date'.
1008 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1009 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1010 Use `tramp-file-name-handler'.
1011 (tramp-adb-maybe-open-connection):
1012 Use `tramp-compat-set-process-query-on-exit-flag'.
1013
1014 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1015 Use `tramp-compat-funcall'.
1016
1017 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1018 `tramp-compat-funcall'.
1019
1020 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1021
1022 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1023 reimplementation using "adb shell command ..." instead of running
1024 remote shell interactively.
1025
1026 2013-01-20 Glenn Morris <rgm@gnu.org>
1027
1028 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1029 Add native profiler menu entries.
1030
1031 * profiler.el (profiler-running-p): New function.
1032 (profiler-cpu-profile): Use profiler-running-p.
1033 (profiler-report-mode-map): Add some more menu entries.
1034
1035 2013-01-19 Glenn Morris <rgm@gnu.org>
1036
1037 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1038 fixes 2012-12-07 change. (Bug#13499)
1039
1040 2013-01-19 Leo Liu <sdl.web@gmail.com>
1041
1042 * dired.el (dired-get-marked-files): Prune erroneous values due to
1043 last change. (Bug#13152)
1044
1045 2013-01-19 Glenn Morris <rgm@gnu.org>
1046
1047 * progmodes/etags.el (tags-table-check-computed-list):
1048 Preserve point in tags buffer. (Bug#13412)
1049
1050 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1051
1052 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1053 Chong Yidong <cyd@gnu.org>
1054
1055 * image-mode.el (image-next-file, image-previous-file):
1056 New commands (Bug#8453).
1057 (image-mode-map): Bind them to n and p.
1058 (image-mode--images-in-directory): New helper function.
1059
1060 2013-01-19 Chong Yidong <cyd@gnu.org>
1061
1062 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1063 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1064 save and restore the old window configuration.
1065
1066 2013-01-18 Leo Liu <sdl.web@gmail.com>
1067
1068 * progmodes/js.el: Tweak autoload cookie for alias.
1069
1070 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1071
1072 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1073 buffer local, again. This was lost with the fix on 2013-01-12.
1074
1075 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1076
1077 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1078 order to support several eshell buffers in parallel.
1079
1080 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1081
1082 * autorevert.el (auto-revert-use-notify): In the :set function, do
1083 not modify `kill-buffer-hook'.
1084 (auto-revert-notify-rm-watch):
1085 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1086 (auto-revert-notify-add-watch): Do not call
1087 `auto-revert-notify-rm-watch', but add it to a buffer local
1088 `kill-buffer-hook'.
1089
1090 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1091
1092 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1093 call to `eval' rather than a backquoted lambda.
1094
1095 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1096
1097 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1098 to return an explicit nil.
1099 (advice--remove-function): Change accordingly.
1100
1101 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1102 the use of nadvice.el.
1103
1104 * progmodes/which-func.el (which-function): Silence imenu errors
1105 (bug#13433).
1106
1107 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1108
1109 * progmodes/sql.el: (sql-imenu-generic-expression):
1110 (sql-mode-font-lock-object-name): Match schema qualified names.
1111 (sql-connect): Use string keys.
1112 (sql-product-interactive): Wait for interpreter prompt.
1113 (sql-comint-oracle): Set process coding based on NLS_LANG.
1114
1115 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1116
1117 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1118 (sql-interactive-remove-continuation-prompt):
1119 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1120
1121 2013-01-14 Leo Liu <sdl.web@gmail.com>
1122
1123 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1124 (Bug#13420)
1125
1126 2013-01-14 Glenn Morris <rgm@gnu.org>
1127
1128 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1129 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1130
1131 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1132
1133 * progmodes/python.el (python-nav-end-of-statement):
1134 Fix cornercase when handling multiline strings.
1135
1136 2013-01-13 Richard Stallman <rms@gnu.org>
1137
1138 * mail/sendmail.el (mail-position-on-field): Add doc string.
1139
1140 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1141 Get current message boundaries and pass them to
1142 message-forward-make-body-mime. Minor style changes.
1143
1144 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1145
1146 * cus-start.el (all): Avoid warnings about
1147 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1148
1149 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1150
1151 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1152
1153 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1156 (jit-lock--debug-fontifying): New var.
1157 (jit-lock--debug-fontify): New function.
1158 * subr.el (condition-case-unless-debug): Don't prevent catching the
1159 error, just let the debbugger run.
1160 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1161 timer code and don't drop errors silently.
1162
1163 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1164
1165 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1166 `permanent-local' property.
1167 (auto-revert-notify-handler): Use `file-equal-p'.
1168
1169 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1170
1171 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1172 file notification by ACTION. For filtering by file name, compare
1173 only the non-directory part of the file name.
1174
1175 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1176
1177 * autorevert.el: Use cl-lib instead of cl.
1178
1179 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1180 (vc-bzr-checkin): Use it.
1181 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1182 will preserve match-data.
1183
1184 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1185
1186 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1187 (js--declaration-keyword-re): New var.
1188 (js--multi-line-declaration-indentation): New function.
1189 (js--proper-indentation): Use it.
1190
1191 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1192
1193 * calc/calc.el (calc-highlight-selections-with-faces)
1194 (calc-dispatch):
1195 * comint.el (comint-history-isearch-message):
1196 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1197 * ffap.el (ffap-string-at-point-region, ffap-next)
1198 (ffap-string-at-point, ffap-string-around)
1199 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1200 (ffap-literally):
1201 * font-lock.el (font-lock-keywords-alist)
1202 (font-lock-removed-keywords-alist):
1203 * help-mode.el (help-xref-symbol-regexp):
1204 * info.el (Info-find-emacs-command-nodes):
1205 * international/mule.el (add-to-coding-system-list):
1206 * isearch.el (isearch-message-function, isearch-fail-pos):
1207 * misearch.el (multi-isearch-next-buffer-function):
1208 * newcomment.el (comment-box):
1209 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1210 (pr-setting-database):
1211 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1212 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1213 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1214 (pike-font-lock-keywords-3):
1215 * progmodes/compile.el (compile):
1216 * progmodes/etags.el (tags-table-files)
1217 (tags-table-files-function, tags-included-tables-function):
1218 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1219 (gdb-restore-windows):
1220 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1221 (ps-n-up-filling-database):
1222 * server.el (server-buffer, server-log):
1223 * simple.el (newline, delete-backward-char, delete-forward-char)
1224 (minibuffer-history-isearch-message, kill-line, track-eol)
1225 (temporary-goal-column):
1226 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1227 (flyspell-default-deplacement-commands):
1228 * textmodes/ispell.el (ispell-accept-output):
1229 * textmodes/sgml-mode.el (html-tag-help):
1230 * vc/compare-w.el (compare-ignore-whitespace)
1231 (compare-ignore-case, compare-windows-dehighlight):
1232 * vc/diff.el (diff):
1233 * whitespace.el (whitespace-point)
1234 (whitespace-font-lock-refontify, whitespace-bob-marker)
1235 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1236
1237 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1238
1239 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1240 (auto-revert-notify-rm-watch): Ignore errors.
1241 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1242 inotify, and '(size last-write-time) for w32notify.
1243 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1244 watch fails - this is a fallback to the file modification check.
1245 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1246 (auto-revert-notify-event-action)
1247 (auto-revert-notify-event-file-name): New defuns.
1248 (auto-revert-notify-handler): Use them. Implement first
1249 plausibility checks.
1250 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1251
1252 2013-01-11 Julien Danjou <julien@danjou.info>
1253
1254 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1255 max are almost equal. Also return the correct value for V which is
1256 already between 0 and 1.
1257
1258 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1259
1260 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1261
1262 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1263
1264 * autorevert.el (auto-revert-notify-rm-watch)
1265 (auto-revert-notify-add-watch): Fix typos in w32notify function
1266 names.
1267
1268 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1269
1270 * autorevert.el (auto-revert-notify-enabled): Move up.
1271 (auto-revert-use-notify): New defcustom.
1272 (auto-revert-mode, global-auto-revert-mode)
1273 (auto-revert-notify-add-watch, auto-revert-handler)
1274 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1275 `auto-revert-notify-enabled'.
1276
1277 2013-01-10 Elias Pipping <pipping@exherbo.org>
1278
1279 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1280 * doc-view.el (doc-view-document->bitmap):
1281 Use doc-view-single-page-converter-function instead of
1282 single-page-converter arg; adjust callers.
1283
1284 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1285
1286 * progmodes/which-func.el (which-function): Understand Semantic's use
1287 of overlays in imenu--index-alist.
1288
1289 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1290
1291 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1292 (Man-man-k-use-anchor): New var.
1293 (Man-parse-man-k): New function.
1294 (Man-completion-table): Use it.
1295 (man): Flush the completion cache between uses.
1296
1297 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1298
1299 * autorevert.el: Add file watch support.
1300 (auto-revert-notify-enabled): New defconst.
1301 (auto-revert-notify-watch-descriptor-hash-list)
1302 (auto-revert-notify-watch-descriptor)
1303 (auto-revert-notify-modified-p): New defvars.
1304 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1305 (auto-revert-notify-handler): New defuns.
1306 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1307 when mode is disabled.
1308 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1309 (auto-revert-buffers): Add file watches for active buffers.
1310
1311 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1312
1313 * cus-start.el (toplevel): Only allow float values for
1314 scroll-up-aggressively and scroll-down-aggressively.
1315 Allow any number for line-spacing.
1316
1317 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1318
1319 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1320 (doc-view-pdf->png-converter-function): Use mupdf if available.
1321 (doc-view-djvu->png-converter-function)
1322 (doc-view-ps->png-converter-function): Remove.
1323 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1324 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1325 (doc-view-already-converted-p): Adjust accordingly.
1326 (doc-view-mode-p): Simplify.
1327 (doc-view-enlarge): Use setq-local.
1328 (doc-view-pdf->png-converter-ghostscript)
1329 (doc-view-djvu->png-converter-ddjvu)
1330 (doc-view-pdf->png-converter-mupdf): Rework to call
1331 doc-view-start-process directly.
1332 (doc-view-pdf/ps->png): Simplify accordingly.
1333 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1334 (doc-view-document->bitmap): Rename from doc-view-document->png.
1335 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1336 (doc-view-set-slice-from-bounding-box): Fix completion table.
1337 (doc-view-mode): Use add-hook for after-revert-hook.
1338
1339 2013-01-10 Glenn Morris <rgm@gnu.org>
1340
1341 * emacs-lisp/authors.el (authors-ignored-files)
1342 (authors-valid-file-names, authors-renamed-files-alist):
1343 Add some more entries.
1344
1345 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1346
1347 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1348 `t' pseudo-window entry.
1349
1350 2013-01-10 Alan Mackenzie <acm@muc.de>
1351
1352 Fix bugs in the c-parse-state mechanism. Reuse some markers
1353 instead of continually generating new ones.
1354
1355 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1356 (c-state-old-cpp-end-marker): New variables.
1357 (c-append-lower-brace-pair-to-state-cache): Start a backward
1358 search for "}" definitively outside CPP constructs.
1359 (c-remove-stale-state-cache): Inform the caller of a need to
1360 search back for a brace pair in certain circumstances.
1361 (c-state-maybe-marker): New macro.
1362 (c-parse-state): Reuse markers when appropriate.
1363
1364 2013-01-10 Glenn Morris <rgm@gnu.org>
1365
1366 * simple.el (execute-extended-command): Doc fix.
1367 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1368
1369 2013-01-10 Chong Yidong <cyd@gnu.org>
1370
1371 * faces.el (read-face-name): Doc fix.
1372
1373 2013-01-10 Roland Winkler <winkler@gnu.org>
1374
1375 * emacs-lisp/crm.el: Allow any regexp for separators.
1376 (crm-default-separator): All spaces around the default comma separator.
1377 (crm--completion-command): New macro.
1378 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1379 (crm-complete-and-exit): Handle non-single-char separators.
1380
1381 2013-01-09 Elias Pipping <pipping@lavabit.com>
1382
1383 * doc-view.el: Add support for DjVu (bug#13164).
1384 (doc-view-djvu->png-converter-function): New config var.
1385 (doc-view-single-page-converter-function, doc-view--image-type)
1386 (doc-view--image-file-extension): New vars.
1387 (doc-view-mode): Initialize them.
1388 (doc-view-goto-page): Use them.
1389 (doc-view-mode-p): Add support for ddjvu.
1390 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1391 (doc-view-set-up-single-converter): New funs.
1392 (doc-view-pdf/ps->png): Extend for djvu.
1393 (doc-view-document->png): Rename from doc-view-pdf->png.
1394 (doc-view-convert-current-doc): Handle djvu.
1395 (doc-view-insert-image, doc-view-display)
1396 (doc-view-already-converted-p): Don't hardcode png.
1397 (doc-view-set-doc-type): Recognize djvu docs.
1398
1399 2013-01-09 Elias Pipping <pipping@lavabit.com>
1400
1401 * doc-view.el: Add support for mupdf converter (bug#13164).
1402 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1403 (doc-view-ps->png-converter-function): New config vars.
1404 (doc-view-pdf->png-converter-ghostscript)
1405 (doc-view-ps->png-converter-ghostscript)
1406 (doc-view-pdf->png-converter-mupdf): New functions.
1407 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1408
1409 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1410
1411 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1412 first in session cache: When `tramp-own-remote-path' is in
1413 `tramp-remote-path', the remote path is only set in the session
1414 cache.
1415
1416 2013-01-09 Glenn Morris <rgm@gnu.org>
1417
1418 * emacs-lisp/trace.el (trace-function-foreground)
1419 (trace-function-background): Doc fix.
1420
1421 2013-01-09 Juri Linkov <juri@jurta.org>
1422
1423 * international/mule-cmds.el (read-char-by-name): Move let-binding
1424 of completion-ignore-case around completing-read to fix regression
1425 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1426 `string-match-p' using the nil value of `case-fold-search' and
1427 `completion-ignore-case' in `completion-pcm--all-completions'.
1428 (Bug#12615).
1429
1430 2013-01-09 Glenn Morris <rgm@gnu.org>
1431
1432 * progmodes/compile.el (compilation-parse-errors):
1433 Fix typo. (Bug#13369)
1434
1435 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1436
1437 * comint.el (comint-send-input): Check size of buffer before
1438 waiting for process output, in case already accepted. (Bug#13290)
1439
1440 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1441
1442 Spelling fixes.
1443 * net/tramp-adb.el (tramp-adb-get-toolbox):
1444 Fix misspelling of 'unknown'.
1445
1446 2013-01-08 Juri Linkov <juri@jurta.org>
1447
1448 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1449 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1450 Use underline style wave on terminals that support it. (Bug#13000)
1451
1452 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1455 the predicate returns nil.
1456
1457 * simple.el: Use lexical-binding.
1458 (primitive-undo): Use pcase.
1459 (minibuffer-history-isearch-push-state): Use a closure.
1460
1461 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1462
1463 * simple.el (primitive-undo): Move from undo.c.
1464
1465 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1466
1467 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1468 (cvs-mode-remove-handled): Use it (bug#13380).
1469
1470 * emacs-lisp/nadvice.el (advice--tweak): New function.
1471 (advice--remove-function, advice--subst-main): Use it.
1472
1473 * emacs-lisp/advice.el: Update commentary.
1474
1475 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1476
1477 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1478 Remove spurious entry.
1479
1480 2013-01-08 Glenn Morris <rgm@gnu.org>
1481
1482 * net/tramp.el (tramp-default-host-alist): Add :version.
1483
1484 2013-01-08 Juri Linkov <juri@jurta.org>
1485
1486 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1487 single completion. (Bug#12456)
1488 (info--manual-names): Expand node completions into an explicit list
1489 before appending it to another list. Filter out internal buffers
1490 with the leading space in the buffer name. (Bug#10771)
1491
1492 2013-01-08 Juri Linkov <juri@jurta.org>
1493
1494 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1495 that defaults to the Top node.
1496 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1497 the short format (FILENAME) goes to the Top node.
1498 (Info-build-node-completions): Rename arg `file' to `filename'.
1499 (Bug#13365)
1500
1501 2013-01-07 Bastien Guerry <bzg@gnu.org>
1502
1503 * menu-bar.el (menu-bar-search-documentation-menu):
1504 Use `apropos-user-option' and fix the help message.
1505
1506 2013-01-07 Bastien Guerry <bzg@gnu.org>
1507
1508 * apropos.el (apropos-do-all): Update docstring.
1509 (apropos-user-option-button): New face.
1510 (apropos-user-option): Rename from `apropos-variable' and update
1511 docstring.
1512 (apropos-variable): Rewrite, now show all variables by default.
1513 (apropos-print): Mention "User option" instead of "Variable" when
1514 printing doc for user options. (Bug#13276)
1515
1516 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1517
1518 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1519 Handle filename correctly, when parsing "source -> target" symlink
1520 output.
1521 (tramp-adb-handle-set-file-times): New defun.
1522
1523 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1526 advice list when the interactive-spec of ad-Advice-* changes.
1527
1528 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1529
1530 * wid-edit.el (widget-default-get): Work for inlined elements.
1531 (Bug#12670)
1532
1533 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1534
1535 * net/tramp.el (tramp-default-host-alist): New defcustom.
1536 (tramp-find-host): Use it.
1537 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1538 `eshell-directory-change-hook'.
1539
1540 * net/tramp-adb.el (top): Add adb specific entry in
1541 `tramp-default-host-alist'.
1542 (tramp-adb-file-name-host): Remove function.
1543 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1544 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1545
1546 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1547
1548 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1549
1550 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1551
1552 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1553
1554 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1555 consist of more than one digit.
1556 (tramp-adb-file-name-handler-alist):
1557 Use `tramp-handle-file-exists-p' consistently.
1558 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1559 (tramp-adb-handle-file-exists-p): Remove function.
1560 (tramp-adb-file-name-host): New defun.
1561 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1562 Use it.
1563 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1564
1565 2013-01-06 Chong Yidong <cyd@gnu.org>
1566
1567 * vc/vc.el (vc-next-action): Detect buffer modifications
1568 conflicting with locking VCS operation (Bug#11490).
1569
1570 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1571
1572 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1573
1574 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1575 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1576
1577 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1578
1579 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1580 parsing of ls output using regular expression (handle filenames
1581 with spaces). Use virtual device number.
1582 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1583 cleanup).
1584
1585 2013-01-04 Daiki Ueno <ueno@gnu.org>
1586
1587 * epg.el: Silence byte-compiler warnings.
1588 (epg--start): Use delete-char instead of delete-backward-char.
1589 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1590
1591 2013-01-04 Daiki Ueno <ueno@gnu.org>
1592
1593 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1594 Suggested by Eli Zaretskii <eliz@gnu.org>.
1595
1596 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1597
1598 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1599 non-negative integers. Otherwise, the default values are used.
1600 (tramp-convert-file-attributes): Convert uid and gid to integers.
1601
1602 2013-01-04 Glenn Morris <rgm@gnu.org>
1603
1604 * term.el (term-handle-colors-array): Ensure face attributes
1605 are fully specified, not nil. (Bug#13337)
1606
1607 * term.el (term-default-fg-color, term-default-bg-color):
1608 Fix custom type.
1609
1610 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1611 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1612 rather than 'jka-compr being loaded. (Bug#13338)
1613
1614 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1615
1616 * icomplete.el (icomplete-completions):
1617 Honor icomplete-prospects-height once more following
1618 2012-11-29 changes. (Bug#13224)
1619
1620 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1621
1622 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1623 of called-interactively-p as well (bug#13237).
1624
1625 * view.el (view--enable, view--disable): Rename from view-mode-enable
1626 and view-mode-disable and assume it's called from view-mode.
1627 (view-mode-enable, view-mode-disable): Redefine as obsolete
1628 compatibility layer above view-mode.
1629 (view-mode-enter): Call `view-mode'.
1630
1631 * files.el (after-find-file): Call `view-mode'.
1632
1633 * doc-view.el (doc-view-scale-internally): New var.
1634 (doc-view-enlarge, doc-view-insert-image): Obey it.
1635
1636 2013-01-03 Daiki Ueno <ueno@gnu.org>
1637
1638 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1639 exist. (Bug#13344)
1640
1641 2013-01-03 Glenn Morris <rgm@gnu.org>
1642
1643 * mail/rmail.el (rmail-set-header-1): Ignore case.
1644 Handle multi-line headers. (Bug#13330)
1645
1646 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1647 Handle paragraph starting at beginning of buffer.
1648
1649 * subr.el (eval-after-load): Don't purecopy the form, so that it
1650 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1651
1652 * emacs-lisp/byte-run.el (defun): Place cl declarations
1653 after any interactive spec. (Bug#13265)
1654
1655 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1656
1657 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1658 defun. Don't check for DECL if DOCSTRING isn't a string.
1659 (defun): Likewise.
1660
1661 2013-01-02 Glenn Morris <rgm@gnu.org>
1662
1663 * eshell/em-cmpl.el (eshell-pcomplete):
1664 More thoroughly imitate pcomplete. (Bug#13293)
1665
1666 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1667 Return nil for empty path elements. (Bug#13296)
1668
1669 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1670
1671 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1672 order to improve efficiency (Based on Daniel Colascione's
1673 <dancol@dancol.org> patch). (Bug#13182)
1674
1675 2013-01-02 Glenn Morris <rgm@gnu.org>
1676
1677 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1678
1679 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1680
1681 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1682 neither DOCSTRING nor DECL was given. (Bug#13316)
1683
1684 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1685
1686 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1687 `error' call.
1688 (tramp-do-copy-or-rename-file): Ignore errors when calling
1689 `set-file-extended-attributes'.
1690
1691 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1692 Add handler for `file-acl'.
1693 (tramp-smb-handle-file-acl): New defun.
1694
1695 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1696
1697 * calc/README: Mention ISO 8601 week-numbering dates.
1698
1699 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1700
1701 * view.el (view-mode-enable): New argument run-view-mode-hook.
1702 Run view-mode-hook only when it's non-nil (Bug#13315).
1703 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1704 argument t.
1705
1706 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1707
1708 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1709 (No device connected, invalid device name). (Bug #13299)
1710
1711 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1712
1713 * window.el (window-resizable--p): Rename to window-resizable-p.
1714 (window-resize-no-error): New function.
1715
1716 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1717 broken in fix from 2012-12-28.
1718
1719 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1720
1721 * subr.el (special-form-p): Don't signal errors on undef aliases.
1722
1723 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1724
1725 * calc/calc-forms.el (math-parse-date): Try using
1726 `math-parse-iso-date' when it looks like it might be needed.
1727 Allow times of 24:00.
1728 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1729 of 24:00.
1730
1731 2012-12-30 Glenn Morris <rgm@gnu.org>
1732
1733 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1734 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1735 (rmail-summary-displayed, rmail-summary): Declare.
1736 (mairix-rmail-display): Just require rmail.
1737
1738 2012-12-30 Chong Yidong <cyd@gnu.org>
1739
1740 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1741 check for the tarball contents.
1742
1743 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1744
1745 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1746 tarfile content listings (Bug#13136).
1747
1748 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1749
1750 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1751 Insert the undecoded text of the message being forwarded. (Bug#9521)
1752
1753 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1754
1755 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1756 integers, if they are real numbers. (Bug#13282)
1757
1758 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1759 Return `t' on success.
1760
1761 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1762 Add handler for `set-file-selinux-context'.
1763
1764 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1765
1766 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1767 (tramp-sh-handle-set-file-acl): Return `t' on success.
1768
1769 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1770
1771 * files.el (backup-buffer-copy, basic-save-buffer-2):
1772 If set-file-extended-attributes fails, fall back on set-file-modes
1773 instead of signaling an error. (Bug#13298)
1774 (basic-save-buffer): Likewise.
1775
1776 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1777
1778 * progmodes/python.el: Support other commands triggering
1779 python-indent-line so indentation cycling continues to work.
1780 (python-indent-trigger-commands): New defcustom.
1781 (python-indent-line): Use it.
1782
1783 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1784
1785 * progmodes/python.el (python-shell-send-region): Add blank lines
1786 for non sent code so backtraces remain correct.
1787
1788 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1789
1790 * progmodes/python.el: Remove cl dependency.
1791 (python-syntax-count-quotes): Replace incf call.
1792 (python-fill-string): Replace setf call.
1793
1794 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1795
1796 * info.el (info-other-window): New arg, for consistency with info.
1797
1798 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1799
1800 * mail/rmail.el (rmail-maybe-display-summary):
1801 Rewrite (Bug#13066).
1802
1803 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1804
1805 * epg.el (epg--start): Modify process-environment locally.
1806
1807 2012-12-28 Daiki Ueno <ueno@gnu.org>
1808
1809 * epg.el: Support pinentry-curses.
1810 Suggested by Werner Koch in
1811 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1812 (epg-agent-file, epg-agent-mtime): New variable.
1813 (epg--start): Record the modified time of gpg-agent socket file,
1814 to restore Emacs frame after pinentry-curses termination.
1815 (epg-wait-for-completion): Restore Emacs frame here.
1816
1817 2012-12-27 Juri Linkov <juri@jurta.org>
1818
1819 * info.el (Info-file-completions): New variable.
1820 (Info-read-node-name-1): Complete node names in the Info file
1821 when a file name is given. Call `Info-build-node-completions'
1822 with a file name.
1823 (Info-build-node-completions): Add new arg `file'. When it is
1824 non-nil, visit it in a temporary buffer and cache its completions in
1825 `Info-current-file-completions'. Move most of the function body to
1826 `Info-build-node-completions-1'.
1827 (Info-build-node-completions-1): New function with the body from
1828 `Info-build-node-completions'. (Bug#12456)
1829
1830 2012-12-27 Juri Linkov <juri@jurta.org>
1831
1832 * frame.el (frame-maximization-style): Remove user option.
1833 (cycle-frame-maximized): Remove function.
1834 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1835 (toggle-frame-fullscreen): New command bound to <f11> instead of
1836 `toggle-frame-maximized'.
1837 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1838
1839 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1840
1841 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1842
1843 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1844 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1845 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1846 for `file-accessible-directory-p'. (Bug#13275)
1847
1848 2012-12-27 Sam Steingold <sds@gnu.org>
1849
1850 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1851 continuations, see <http://stackoverflow.com/questions/3582436>.
1852
1853 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1854
1855 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1856 "module" and "def" to have indentation before them.
1857 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1858
1859 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1860
1861 2012-12-27 Alan Mackenzie <acm@muc.de>
1862
1863 Speed up fontification where there's large brace blocks.
1864 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1865 to a call of c-beginning-of-decl-1.
1866
1867 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1868
1869 * comint.el (comint-adjust-window-point): New function.
1870 (comint-postoutput-scroll-to-bottom):
1871 Call comint-adjust-window-point (Bug#13248).
1872
1873 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1874
1875 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1876 Rakefile regexp.
1877 (auto-mode-alist): Associate .gemspec files with ruby-mode
1878 (https://bugs.ruby-lang.org/issues/5453).
1879
1880 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1881
1882 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1883 Suppress coloring, if possible (required for BusyBox based systems like
1884 CyanogenMod).
1885 (tramp-adb-handle-file-attributes)
1886 (tramp-adb-handle-insert-directory)
1887 (tramp-adb-handle-file-name-all-completions): Use it.
1888 (tramp-adb-get-toolbox): New defun. Check for remote shell
1889 implementation (BusyBox or Toolbox).
1890
1891 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1892
1893 * startup.el (initial-buffer-choice): Allow function as value
1894 (Bug#13251).
1895 (command-line-1): Handle case where initial-buffer-choice
1896 specifies a function.
1897 * server.el (server-execute): Handle case where
1898 initial-buffer-choice specifies a function.
1899
1900 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1901
1902 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
1903 its own function.
1904 (smtpmail-try-auth-methods): Forget the user name/password if the
1905 login is unsuccessful (bug#12424).
1906
1907 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
1908
1909 * notifications.el (notifications-notify): Protect body with
1910 `with-demoted-errors'.
1911
1912 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1913 Check properties of remote device. Restart connection, if there is a
1914 change.
1915
1916 2012-12-21 Chong Yidong <cyd@gnu.org>
1917
1918 * sort.el (sort-subr): Doc fix (Bug#13056).
1919
1920 2012-12-21 Bastien Guerry <bzg@gnu.org>
1921
1922 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
1923
1924 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
1925
1926 * simple.el (process-file): Overwrite stderr file, if exists.
1927
1928 2012-12-21 Daiki Ueno <ueno@gnu.org>
1929
1930 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
1931 (epg-error): Set `error-message' property.
1932
1933 2012-12-21 Chong Yidong <cyd@gnu.org>
1934
1935 * international/mule-cmds.el (read-char-by-name): Signal an error
1936 if the user does not supply a valid character (Bug#13177).
1937
1938 * simple.el (transpose-subr-1): Preserve marker positions by
1939 changing the insertion sequence (Bug#13122).
1940
1941 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1942
1943 * simple.el (kill-region): Deactivate mark even for empty regions
1944 (Bug#13169).
1945
1946 2012-12-21 Chong Yidong <cyd@gnu.org>
1947
1948 * help-fns.el (describe-variable): Make sure we get the right
1949 buffer name (Bug#13105). Suggested by Kelly Dean.
1950
1951 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
1952
1953 * comint.el (comint-redirect-previous-input-string): New variable.
1954 (comint-redirect-setup, comint-redirect-cleanup)
1955 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
1956 (comint-redirect-preoutput-filter): Fix verbose message.
1957
1958 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
1959
1960 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
1961 is too long for Tramp. See discussion in
1962 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
1963
1964 * progmodes/compile.el (compilation-start): Remove line escape
1965 template.
1966
1967 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
1968
1969 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
1970 Adjust comment.
1971
1972 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
1973
1974 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
1975 following non-comment text (bug#13207).
1976 (lm-header-multiline): Continuation lines need to be indented more than
1977 the first line.
1978 (lm-homepage): New function.
1979 (lm-with-file): Don't be confused if narrowing is in effect.
1980
1981 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1982
1983 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
1984 very beginning of a hunk (e.g. killing the first line).
1985
1986 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
1987
1988 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
1989 and text properties from returned ACL string.
1990 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
1991 for "setfacl" command.
1992
1993 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
1994
1995 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
1996 `tramp-cleanup-this-connection', when the process has died.
1997 (Bug#13151)
1998
1999 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2000
2001 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2002
2003 2012-12-17 Kevin Ryde <user42@zip.com.au>
2004
2005 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2006
2007 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2008
2009 Add support for preserving ACL entries of files.
2010
2011 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2012 `set-file-acl' handlers.
2013
2014 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2015 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2016
2017 * net/tramp-compat.el (tramp-compat-copy-file):
2018 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2019
2020 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2021 Add `file-acl' and `set-file-acl' handlers.
2022 (tramp-gvfs-handle-copy-file):
2023 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2024 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2025 New defuns.
2026
2027 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2028 Add `file-acl' and `set-file-acl' handlers.
2029 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2030 (tramp-sh-handle-set-file-acl): New defuns.
2031 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2032 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2033
2034 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2035 Add `file-acl' and `set-file-acl' handlers.
2036 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2037
2038 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2039
2040 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2041 use pop-to-buffer with NORECORD argument t. As buffer name, use
2042 *Metahelp* with a leading space (Bug#13190).
2043
2044 2012-12-16 Romain Francoise <romain@orebokech.com>
2045
2046 * files.el (file-extended-attributes)
2047 (set-file-extended-attributes): New functions.
2048 (backup-buffer): Use them to handle both SELinux context and ACL
2049 entries.
2050 (backup-buffer-copy): Work with an alist of extended attributes,
2051 rather than an SELinux context.
2052 (basic-save-buffer-2): Ditto.
2053
2054 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2055
2056 * battery.el (battery-bsd-apm): New function.
2057
2058 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2059
2060 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2061 standard date formats.
2062
2063 2012-12-15 Juri Linkov <juri@jurta.org>
2064
2065 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2066 `isearch-insert-char-by-name'.
2067 (with-isearch-suspended): New defmacro with body mostly from
2068 `isearch-edit-string' except the part that sets
2069 `isearch-new-string' and `isearch-new-message'.
2070 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2071 body that sets `isearch-new-string' and `isearch-new-message'.
2072 (isearch-insert-char-by-name): New command.
2073 * international/mule-cmds.el (read-char-by-name): Let-bind
2074 `enable-recursive-minibuffers' to t.
2075 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2076
2077 2012-12-15 Juri Linkov <juri@jurta.org>
2078
2079 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2080 (Bug#13175)
2081
2082 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2083
2084 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2085 the prompt. (Bug#13045)
2086
2087 2012-12-14 Glenn Morris <rgm@gnu.org>
2088
2089 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2090 Try to include filename in non-bytecomp warning. (Bug#13132)
2091
2092 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2093
2094 Fix permissions bugs with setgid directories etc. (Bug#13125)
2095 * files.el (backup-buffer): Don't rely on 9th output of
2096 file-attributes, as it's now a placeholder. Instead, use the new
2097 optional arg of file-ownership-preserved-p.
2098 (file-ownership-preserved-p): New optional arg GROUP.
2099 Fix mishandling of setuid directories that would cause this
2100 function to return t when it should have returned nil.
2101 Document what happens if the file does not exist, and when
2102 it's not known whether the ownership will be preserved.
2103 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2104 Likewise.
2105 (tramp-get-local-gid): Use group-gid for integer, as that's
2106 faster and more reliable.
2107
2108 2012-12-14 Julien Danjou <julien@danjou.info>
2109
2110 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2111 Update keywords list, data type and PL/pgSQL.
2112
2113 2012-12-14 Dave Abrahams <dave@boostpro.com>
2114
2115 * vc/ediff-util.el (ediff-buffer-type): New function.
2116 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2117 rather than taking it as as argument.
2118 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2119
2120 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2121
2122 * json.el: Add pretty-print option (bug#12634).
2123 (json-encoding-separator, json-encoding-default-indentation)
2124 (json--encoding-current-indentation, json-encoding-pretty-print)
2125 (json-encoding-lisp-style-closings): New vars.
2126 (json--with-indentation): New macro.
2127 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2128 (json-encode-array): Use it to obey json-encoding-pretty-print.
2129 (json-pretty-print-buffer, json-pretty-print): New commands.
2130
2131 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2132
2133 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2134 Extract `ruby-syntax-propertize-expansions'.
2135 (ruby-syntax-propertize-expansions): Only change syntax on
2136 certain string delimiters, to punctuation. This way the common
2137 functions like forward-word and thing-at-point still work.
2138 (ruby-match-expression-expansion): Improve readability.
2139 (ruby-block-contains-point): New function.
2140 (ruby-add-log-current-method): Handle several edge cases.
2141
2142 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2143
2144 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2145 unload-feature finishes even when aborting an ongoing edebug session.
2146 Also, do not worry about edebug-mode, unload-feature takes care of it.
2147
2148 2012-12-13 Andreas Schwab <schwab@suse.de>
2149
2150 * net/tls.el (tls-program): Update customize type.
2151
2152 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2153
2154 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2155 (edebug-setup-hook, cl-read-load-hooks): Use it.
2156 (edebug-unload-function): New function. (Bug#13163)
2157
2158 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2159
2160 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2161 Otherwise, there could be errors in autoloading. (Bug#13151)
2162
2163 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2164
2165 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2166 sequences.
2167
2168 2012-12-13 Alan Mackenzie <acm@muc.de>
2169
2170 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2171 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2172 around `forward-comment' not recognizing ^M as whitespace.
2173
2174 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2175
2176 * progmodes/python.el (python-skeleton-class)
2177 (python-skeleton-def): Do not add space after defun name.
2178
2179 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2182 (cl--symbol-function): Remove (now that funbound is like nil).
2183
2184 2012-12-12 Glenn Morris <rgm@gnu.org>
2185
2186 * button.el (button--area-button-p): Fix typo.
2187
2188 2012-12-12 Sam Steingold <sds@gnu.org>
2189
2190 * frame.el (frame-maximization-style): New user option.
2191 (toggle-frame-maximized): Toggle frame maximization according to
2192 `frame-maximization-style', bound to <f11>.
2193 (cycle-frame-maximized): Cycle between all maximization styles and
2194 non-maximized frame, bound to shift-<f11>.
2195
2196 2012-12-12 David Cadé <codename68@gmail.com>
2197
2198 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2199
2200 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2201
2202 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2203 (eieio-override-prin1): Don't quote kewords and booleans.
2204 (object-write) <eieio-default-superclass>: Don't put closing parens
2205 on new line, avoid needless empty lines, align values that are objects
2206 with the slot keyword (instead of beginning on the same line).
2207 (eieio-list-prin1): Align value with slot keyword; increase
2208 eieio-print-depth before printing members of the list.
2209
2210 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2211
2212 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2213 a display text-property.
2214 (report-emacs-bug-hook): Don't bother deleting it any more.
2215
2216 * hilit-chg.el (highlight-save-buffer-state): Delete.
2217 Use with-silent-modifications instead.
2218 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2219
2220 * button.el: Handle buttons in display text-properties.
2221 (button--area-button-p, button--area-button-string):
2222 Use (STRING . STRING-POS) representation instead of just STRING.
2223
2224 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2225
2226 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2227 subdirectory be skipped.
2228
2229 2012-12-11 Glenn Morris <rgm@gnu.org>
2230
2231 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2232
2233 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2234 Treat preprocessor lines embedded in continuations like comments.
2235 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2236
2237 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2238
2239 * calc/calc.el (calc-standard-date-formats): Add more date
2240 formats.
2241 * calc/calc-forms.el (math-parse-iso-date): New function.
2242 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2243 (math-parse-iso-date-validate): Add extra error checking.
2244 (calc-date-notation): Add ability to access new date formats.
2245
2246 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2247
2248 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2249 font-lock as well as when there's no text-property.
2250
2251 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2252
2253 * hi-lock.el: Refine the choice of default face.
2254 (hi-lock-keyword->face): New function. Use it wherever we used
2255 cadadadr instead.
2256 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2257 (hi-lock--last-face): Remove var.
2258 (hi-lock--unused-faces): New var to replace it.
2259 (hi-lock-read-face-name): Use/maintain it.
2260 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2261 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2262 if it has another face.
2263
2264 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2265
2266 * subr.el (w32notify-handle-event): New function.
2267 (inotify-handle-event): Doc fix.
2268
2269 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2270
2271 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2272
2273 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2274
2275 * simple.el (just-one-space): Doc fix.
2276
2277 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2278
2279 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2280
2281 2012-12-10 Le Wang <l26wang@gmail.com>
2282
2283 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2284 narrowed buffer (bug#12361).
2285
2286 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2287
2288 * vc/vc-hooks.el (vc-state): Doc fix.
2289
2290 2012-12-10 Glenn Morris <rgm@gnu.org>
2291
2292 * mail/rmail.el (rmail-maybe-display-summary):
2293 Preserve buffer, in case select-window changes it. (Bug#13066)
2294
2295 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2296
2297 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2298 cl-load-hook where they belong.
2299
2300 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2303
2304 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2305
2306 Parallelize byte compilation on MS-Windows.
2307 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2308 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2309 (WINS_BASIC): Define as concatenation of the above.
2310 (compile): Subdivide into 4 separate and independent jobs that can
2311 be run in parallel.
2312 (compile0-CMD, compile0-SH): New targets for compiling
2313 COMPILE_FIRST files, which are prerequisites for the rest of the
2314 byte-compilation.
2315 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2316 New targets for parallel compilation with cmd.exe.
2317 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2318 compiling under a Unixy shell.
2319
2320 2012-12-09 Chong Yidong <cyd@gnu.org>
2321
2322 * simple.el (set-mark-default-inactive): Delete this
2323 accidentally-introduced option.
2324 (set-mark-command, exchange-point-and-mark): Remove calls.
2325
2326 2012-12-09 Glenn Morris <rgm@gnu.org>
2327
2328 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2329 Respect a defcustom's :set function, if appropriate. (Bug#109)
2330 (eval-defun): Doc fix.
2331
2332 2012-12-08 Juri Linkov <juri@jurta.org>
2333
2334 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2335 (Info-fontify-node, Info-bookmark-make-record): Remove the
2336 file extension from Info-current-file (Bug#13016).
2337
2338 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2339
2340 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2341 point, still provide some default.
2342 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2343 names, since we don't use it right now. Actually return the list.
2344 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2345
2346 2012-12-07 Chong Yidong <cyd@gnu.org>
2347
2348 * novice.el (disabled-command-function): Remove a spurious help
2349 xref (Bug#13043). Suggested by Kelly Dean.
2350
2351 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2352 syntax is specified (Bug#13025).
2353
2354 * info.el (Info-set-mode-line): Remove the file extension from
2355 Info-current-file if there is one (Bug#13016).
2356
2357 2012-12-07 Glenn Morris <rgm@gnu.org>
2358
2359 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2360 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2361 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2362 and rmail-mime-decoded. (Bug#9841)
2363
2364 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2365 (batch-unrmail, unrmail): Doc fixes.
2366 (unrmail): Respect unrmail-mbox-format.
2367 * mail/rmail.el (rmail-mbox-format): New option.
2368 (rmail-show-message-1): Respect rmail-mbox-format.
2369
2370 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2371
2372 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2373
2374 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2375
2376 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2377 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2378 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2379 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2380 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2381 (cl-progv): Don't rely on dynamic scoping to find the body.
2382 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2383 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2384 (cl-declaim): Use backquotes.
2385 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2386 Use "cl--" prefix for the object's tag.
2387
2388 * ses.el: Use advice-add/remove.
2389 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2390 (copy-region-as-kill, yank): Use advice-add.
2391 (ses-unload-function): Use advice-remove.
2392
2393 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2394
2395 * button.el: Make them work in header-lines (bug#12817).
2396 (button-map): Add bindings for header-line and mode-line use.
2397 (button-get, button-put, button-label): `button' may now be a string.
2398 (button-activate): Don't make it a defsubst.
2399 (button--area-button-p, button--area-button-string): New functions.
2400 (make-text-button): Fix the return value when `beg' was a string.
2401 (push-button): Handle the mode-line case.
2402
2403 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2406 (sql-signum): Remove. Use `cl-signum' instead.
2407 (sql-read-passwd): Remove; use read-passwd instread.
2408 (sql-get-login-ext): Use read-string.
2409 (sql-get-login): Use dolist and pcase.
2410 (sql--completion-table): Rename from sql-try-completion.
2411 Use complete-with-action.
2412 (sql-mode): Don't change abbrev-all-caps globally.
2413 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2414 (sql-postgres-completion-object): Initialize vars in their `let'.
2415 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2416 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2417 (sql-comint-interbase): Use a single append, without setq.
2418 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2419
2420 * hi-lock.el: Rework the default face and the serialize regexp code.
2421 (hi-lock--auto-select-face-defaults): Remove.
2422 (hi-lock-string-serialize-serial): Remove.
2423 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2424 make weak.
2425 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2426 equal string.
2427 (hi-lock-set-pattern): Adjust accordingly.
2428 (hi-lock--regexps-at-point): Simplify accordingly.
2429 (hi-lock--auto-select-face-defaults): Remove.
2430 (hi-lock--last-face): New var to replace it.
2431 (hi-lock-read-face-name): Rewrite (bug#11095).
2432 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2433
2434 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2435
2436 * net/tramp.el (tramp-replace-environment-variables):
2437 Hide compiler warning.
2438 (tramp-file-name-for-operation): Remove `executable-find',
2439 `start-process', `call-process' and `call-process-region'.
2440
2441 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2442
2443 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2444 compatibility.
2445
2446 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2447
2448 2012-12-06 Chong Yidong <cyd@gnu.org>
2449
2450 * ffap.el (ffap-replace-file-component): Fix typo.
2451
2452 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2453
2454 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2455 fix open-paren-like token test (bug#12785).
2456
2457 2012-12-06 Glenn Morris <rgm@gnu.org>
2458
2459 * mail/rmailsum.el (rmail-new-summary): Tweak for
2460 rmail-maybe-display-summary changing buffer. (Bug#13066)
2461
2462 2012-12-06 Juri Linkov <juri@jurta.org>
2463
2464 * info.el (Info-fontify-node): Don't hide the last newline.
2465 (Bug#12272)
2466
2467 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2468
2469 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2470 so as to enable message-read-from-minibuffer to expand mail aliases.
2471
2472 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2475 the `intangible' property.
2476 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2477
2478 2012-12-05 Deniz Dogan <deniz@dogan.se>
2479
2480 * net/rcirc.el (rcirc-urls): Update documentation.
2481 (rcirc-condition-filter): New function.
2482 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2483 and exclude consecutive duplicate URLs (Bug#6082).
2484
2485 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2486
2487 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2488 Check return code of copy command.
2489
2490 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2491 Use group `tramp'. Add version.
2492
2493 2012-12-05 Chong Yidong <cyd@gnu.org>
2494
2495 * ffap.el (ffap-url-regexp): Don't require matching at front of
2496 string (Bug#4952).
2497 (ffap-url-p): If only a substring matches, return that.
2498 (ffap-url-at-point): Use the return value of ffap-url-p.
2499 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2500 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2501 (ffap-guess-file-name-at-point): Likewise.
2502 (ffap-replace-file-component): Fix typo.
2503
2504 * info.el (info-display-manual): Add existing Info buffers, whose
2505 files may not be in Info-directory-list, to the completion.
2506 (info--manual-names): New helper function.
2507
2508 2012-12-05 Glenn Morris <rgm@gnu.org>
2509
2510 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2511 New functions, for detecting and resolving conflicts. (Bug#10709)
2512
2513 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2514
2515 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2516 (hi-lock-auto-select-face-defaults): New buffer local variable.
2517 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2518 (hi-lock-unface-buffer): Prompt user with useful defaults.
2519 With prefix arg, unhighlight all hi-lock patterns in buffer.
2520
2521 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2522
2523 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2524
2525 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2526
2527 * Makefile.in (TRAMP_SRC):
2528 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2529
2530 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2531
2532 * net/tramp-adb.el: New package.
2533
2534 2012-12-04 Chong Yidong <cyd@gnu.org>
2535
2536 * terminal.el: Move to obsolete/.
2537
2538 * longlines.el: Move to obsolete/.
2539
2540 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2541 Remove code referring to longlines mode.
2542
2543 2012-12-03 Juri Linkov <juri@jurta.org>
2544
2545 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2546
2547 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2548
2549 * textmodes/ispell.el (ispell-init-process)
2550 (ispell-start-process, ispell-internal-change-dictionary):
2551 Make sure personal dictionary name is expanded after initial
2552 `default-directory' value. Use expanded strings for
2553 keep/restart checks and for value (Bug#13019).
2554
2555 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2556
2557 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2558
2559 2012-12-03 Leo Liu <sdl.web@gmail.com>
2560
2561 * files.el (dir-locals-read-from-file): Check file non-empty
2562 before reading. (Bug#13038)
2563
2564 2012-12-03 Glenn Morris <rgm@gnu.org>
2565
2566 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2567 Remove any version extension before checking filename. (Bug#13006)
2568 (jka-compr-compression-info-list): Belated :version bump.
2569
2570 2012-12-03 Chong Yidong <cyd@gnu.org>
2571
2572 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2573
2574 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2575 (buffer-menu): Doc fix (Bug#12294).
2576
2577 2012-12-03 Roland Winkler <winkler@gnu.org>
2578
2579 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2580 of diary-show-all-entries in the diary buffer (Bug#12994).
2581
2582 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2583
2584 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2585 "<STDIN>". This is binary safe.
2586
2587 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2588
2589 * calc/calc-forms.el (math-absolute-from-iso-dt)
2590 (math-date-to-iso-dt, math-parse-iso-date-validate)
2591 (math-iso-dt-to-date): New functions.
2592 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2593 (math-fd-isoweekday): New variables.
2594 (calc-date-notation, math-parse-standard-date, math-format-date)
2595 (math-format-date-part): Add support for more formatting codes.
2596
2597 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2598
2599 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2600 current buffer's file name when called interactively (Bug#12488).
2601
2602 2012-12-02 Juri Linkov <juri@jurta.org>
2603
2604 * info.el (info-display-manual): Don't clobber an existing Info
2605 buffer (Bug#10770). Add completion (Bug#10771).
2606
2607 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2608
2609 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2610 before using it for comparison (Bug#5297).
2611
2612 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2613
2614 * textmodes/css-mode.el (css-current-defun-name): New function.
2615 (css-mode): Use it.
2616
2617 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2618 (html-mode): Use it.
2619
2620 2012-12-01 Chong Yidong <cyd@gnu.org>
2621
2622 Modularize add-log-current-defun (Bug#2224).
2623 Suggested by Jari Aalto.
2624
2625 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2626 (add-log-current-defun): Move mode-specific code to other files.
2627 (add-log-lisp-like-modes, add-log-c-like-modes)
2628 (add-log-tex-like-modes): Variables deleted.
2629
2630 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2631 (lisp-mode-variables): Use it.
2632
2633 * progmodes/cc-mode.el (c-common-init):
2634 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2635 add-log-current-defun-function.
2636
2637 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2638 (m4-mode): Use it.
2639
2640 * progmodes/perl-mode.el (perl-current-defun-name): New.
2641 (perl-mode): Use it.
2642
2643 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2644 Use lisp-current-defun-name.
2645
2646 * textmodes/tex-mode.el (tex-current-defun-name): New.
2647 (tex-common-initialization): Use it.
2648
2649 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2650 (texinfo-mode): Use it.
2651
2652 2012-12-01 Chong Yidong <cyd@gnu.org>
2653
2654 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2655 * progmodes/autoconf.el (autoconf-mode):
2656 * progmodes/js.el (js-mode):
2657 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2658 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2659 * progmodes/perl-mode.el (perl-mode):
2660 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2661 * textmodes/css-mode.el (css-mode):
2662 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2663 (sgml-tags-invisible, sgml-guess-indent):
2664 * textmodes/tex-mode.el (tex-common-initialization)
2665 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2666 (doctex-mode, plain-tex-mode, latex-mode):
2667 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2668
2669 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2670
2671 * vc/vc-hg.el (vc-hg-next-revision):
2672 Ensure use of default "tip" output format. (Bug#6968)
2673
2674 2012-12-01 Kim F. Storm <storm@cua.dk>
2675
2676 * startup.el (fancy-startup-tail): Add a clickable link
2677 (Bug#2176).
2678
2679 2012-12-01 Chong Yidong <cyd@gnu.org>
2680
2681 * startup.el (fancy-startup-tail): Improve the message about
2682 auto-save files (Bug#2176).
2683
2684 * files.el (recover-session): Improve the descriptive message, and
2685 use substitute-command-keys.
2686
2687 2012-12-01 Glenn Morris <rgm@gnu.org>
2688
2689 * ido.el (ido-file-internal):
2690 Handle other-window, other-frame for dired. (Bug#13036)
2691
2692 2012-11-30 Glenn Morris <rgm@gnu.org>
2693
2694 * icomplete.el (icomplete-separator): Fix :version.
2695
2696 2012-11-30 Chong Yidong <cyd@gnu.org>
2697
2698 * shell.el (shell): For C-u M-x shell, use an inactive shell
2699 buffer as the default (Bug#1975).
2700 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2701 (shell-mode): Use them to reapply ansi colorization if Shell mode
2702 is re-enabled.
2703
2704 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2705
2706 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2707
2708 2012-11-30 Samuel Bronson <naesten@gmail.com>
2709
2710 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2711 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2712
2713 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2714
2715 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2716 by move-to-column (Bug#3234).
2717
2718 2012-11-30 Chong Yidong <cyd@gnu.org>
2719
2720 * longlines.el (longlines-wrap-line, longlines-encode-region):
2721 Preserve text properties (Bug#1425).
2722
2723 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2724
2725 * vc/vc.el (vc-register): Allow registering a file which is
2726 already registered with a different backend (Bug#10589).
2727
2728 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2729 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * icomplete.el: Change separator; add ido-style commands.
2732 (icomplete-show-key-bindings): Remove custom var.
2733 (icomplete-get-keys): Remove function.
2734 (icomplete-forward-completions, icomplete-backward-completions):
2735 New commands.
2736 (icomplete-minibuffer-map): New var.
2737 (icomplete-minibuffer-setup): Use it.
2738 (icomplete-exhibit): Don't delay if the list of completions is known.
2739 (icomplete-separator): New custom.
2740 (icomplete-completions): Use it.
2741 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2742 (minibuffer-force-complete-and-exit): New command.
2743 (minibuffer--complete-and-exit): New function extracted from
2744 minibuffer-complete-and-exit.
2745 (minibuffer-complete-and-exit): Use it.
2746
2747 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2748 error message when the file doesn't exist (bug#12974).
2749
2750 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2751
2752 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2753
2754 2012-11-29 Glenn Morris <rgm@gnu.org>
2755
2756 * files.el (hack-dir-local-variables): Warn if try to set
2757 coding via dir-locals, since it doesn't work. (Bug#7169)
2758
2759 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2760 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2761 Set buffer-local value of desktop-save-buffer.
2762 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2763 New functions.
2764 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2765 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2766
2767 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2768 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2769 Doc fix.
2770 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2771 Doc fixes.
2772
2773 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2774
2775 * calc/calc-forms.el (calc-date-notation): Fix regexp
2776 used to find time codes. Fix symbol for seconds.
2777
2778 2012-11-27 Glenn Morris <rgm@gnu.org>
2779
2780 * emacs-lisp/derived.el (derived-mode-make-docstring):
2781 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2782
2783 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2784
2785 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2786 lexically scoped variables (bug#13005).
2787
2788 2012-11-27 Glenn Morris <rgm@gnu.org>
2789
2790 * vc/vc-hooks.el (vc-mistrust-permissions):
2791 Default to t, to avoid data-loss. (Bug#11490)
2792
2793 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2794
2795 * progmodes/python.el (python-indent-guess-indent-offset):
2796 If indentation is guessed make python-indent-offset buffer-local.
2797
2798 Fix Imenu regression.
2799 * progmodes/python.el (python-nav-beginning-of-defun):
2800 Fix forward movement when statement(s) separates point from defun.
2801 (python-imenu-prev-index-position): New function.
2802
2803 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2804
2805 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2806
2807 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2808 Don't set buffer-file-type. Return nil. (Bug#12989)
2809
2810 2012-11-27 Glenn Morris <rgm@gnu.org>
2811
2812 * hippie-exp.el (hippie-expand-try-functions-list):
2813 Re-autoload it. (Bug#12982)
2814
2815 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2816
2817 * descr-text.el (describe-char-padded-string):
2818 Call internal-char-font only on GUI frames. (Bug#11964)
2819
2820 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2821
2822 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2823 and obsoletion message.
2824
2825 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2826
2827 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2828 the constructs to keep outside of the `cl-block' (bug#12977).
2829
2830 2012-11-27 Chong Yidong <cyd@gnu.org>
2831
2832 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2833 keep reading until we get the up-event anyway, in order to process
2834 the up-event for mouse-1-click-follows-link (Bug#12971).
2835
2836 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2837
2838 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2839 base function is not yet defined (bug#12965).
2840 (ad-activate-advised-definition): Use ad-compile-function.
2841 (ad-activate): Use cond.
2842
2843 2012-11-25 Leo Liu <sdl.web@gmail.com>
2844
2845 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2846 (Bug#12979)
2847
2848 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2849
2850 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2851 reftex-section-info-function in order to be compatible with
2852 Texinfo integration.
2853
2854 * textmodes/reftex.el (reftex-section-pre-regexp)
2855 (reftex-section-post-regexp, reftex-section-info-function):
2856 New variable.
2857 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2858 reftex-section-post-regexp, and reftex-section-info-function in order
2859 to be compatible with Texinfo integration.
2860
2861 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2862 use reftex-section-pre-regexp variable in order to be compatible with
2863 Texinfo integration.
2864
2865 2012-11-25 Chong Yidong <cyd@gnu.org>
2866
2867 * faces.el: Make face-spec-set more analogous to setq.
2868 (face-spec-set): Change the third arg to specify whether this
2869 function is being called via defface, customize, or a third party.
2870 Set the appropriate symbol properties. Clear the override spec if
2871 setting via Custom. Initialize face if necessary. (Bug#4988)
2872 (face-spec-recalc): Allow theme faces to completely replace the
2873 defface spec, in the same way as custom faces (Bug#8454).
2874
2875 * cus-face.el (custom-declare-face): Move face initialization to
2876 face-spec-set.
2877 (custom-theme-set-faces): Don't initialize the face name here, as
2878 that is now done in face-spec-set.
2879
2880 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2881 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2882 Simplify by using the new arg to face-spec-set.
2883
2884 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2885 reset face-override-spec too, and use custom-declare-face.
2886
2887 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2888
2889 * term/ns-win.el (ns-initialize-window-system): Move creation of
2890 fontsets here (Bug#11964).
2891
2892 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2893
2894 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2895 cell renaming.
2896
2897 2012-11-24 Chong Yidong <cyd@gnu.org>
2898
2899 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2900 obsolete.
2901
2902 * custom.el (custom-theme-set-variables): Use a topological sort
2903 for ordering by custom dependencies (Bug#12952).
2904 (custom--sort-vars, custom--sort-vars-1): New functions.
2905
2906 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2907
2908 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
2909 lexical-binding (bug#12938).
2910
2911 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
2912
2913 * image-mode.el (image-transform-check-size): Use assertions only
2914 for images of type imagemagick.
2915
2916 Otherwise no error, image-transform-fit-to-{width,height} is
2917 silently ignored, as before. Doc fix.
2918
2919 2012-11-24 Chong Yidong <cyd@gnu.org>
2920
2921 * faces.el (color-defined-p): Doc fix (Bug#12853).
2922
2923 2012-11-24 Juri Linkov <juri@jurta.org>
2924
2925 * dired.el (dired-mark): Add optional arg `interactive'.
2926 Check for `use-region-p' if `interactive' is non-nil.
2927 (dired-unmark, dired-flag-file-deletion): Add optional arg
2928 `interactive'. Call `dired-mark' with the arg `interactive'.
2929 (Bug#10624)
2930
2931 * wdired.el: Revert 2012-10-17 change partly and replace it with
2932 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
2933 (wdired-finish-edit): Add marks for new file names to
2934 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
2935 after `revert-buffer'.
2936 (wdired-do-renames): Remove calls to `dired-remove-file',
2937 `dired-add-file', `dired-add-entry'. (Bug#11795)
2938
2939 2012-11-24 Alan Mackenzie <acm@muc.de>
2940
2941 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
2942
2943 Fix bugs in the state cache. Enhance a debugging mechanism.
2944 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
2945 "brace at column zero" strategy for C++.
2946 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
2947 (c-parse-state-point): New variable.
2948 (c-record-parse-state-state): Record old parse state with
2949 `copy-tree'. Record previous value of point.
2950 (c-debug-parse-state-double-cons): New debugging function.
2951 (c-debug-parse-state): Call the above new function.
2952 (c-toggle-parse-state-debug): Output a confirmatory message.
2953
2954 * progmodes/cc-mode.el (c-before-change, c-after-change):
2955 Call c-invalidate-state-cache from `c-before-change' instead of
2956 `c-after-change'.
2957
2958 2012-11-23 Chong Yidong <cyd@gnu.org>
2959
2960 * find-cmd.el (find-constituents): Add executable, ipath,
2961 readable, samefile, writable, daystart, regextype (Bug#12856).
2962
2963 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2964
2965 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
2966
2967 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
2968
2969 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
2970 definition. This fixes a bootstrap failure.
2971 (calc-gregorian-switch): In menu, put dates before regions.
2972 This is easier to follow, lines up better in the menu, and lets us
2973 coalesce regions that switch at the same time. Give country
2974 names, not "Vatican", as that's better for non-expert users.
2975 Use names that are stable between the date of switch and now, e.g.,
2976 Bohemia and Moravia (which existed then and now) and not
2977 Czechoslovakia (which didn't exist then and doesn't exist now).
2978 What is now the U.S. mostly did not switch at the same time as
2979 Britain, so omit the U.S. Correct spelling of "Britain".
2980 Catholic Switzerland was too much of a mess, so omit it.
2981
2982 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
2983
2984 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
2985 after the variable is changed.
2986
2987 2012-11-21 Daniel Colascione <dancol@dancol.org>
2988
2989 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
2990 in SQL declarations for font-lock.
2991 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
2992
2993 2012-11-21 Glenn Morris <rgm@gnu.org>
2994
2995 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
2996 (face-italic-p): Add optional argument "inherit".
2997
2998 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
2999 Remove -p suffix from names, for consistency with other set-face-*.
3000 (set-face-inverse-video): Fix interactive spec.
3001 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3002 * textmodes/table.el (table--update-cell-face):
3003 Use set-face-inverse-video rather than now obsolete alias.
3004
3005 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3006
3007 * simple.el (line-move): Don't call line-move-partial if
3008 scroll-conservatively is in effect. (Bug#12927)
3009
3010 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3011
3012 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3013 Fallback on completion-at-point rather than
3014 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3015 (eshell-cmpl-initialize): Setup completion-at-point.
3016
3017 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3018
3019 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3020
3021 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3022
3023 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3024 are remote, check out-of-band property for both.
3025
3026 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3027
3028 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3029 code rewrite.
3030
3031 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3032
3033 More minor time fixes.
3034 * calendar/time-date.el: Commentary fix.
3035 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3036 too much other code depends on (0 0) time stamps.
3037 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3038 Add a couple of FIXME comments.
3039
3040 Minor cleanup for times as lists of four integers.
3041 * files.el (dir-locals-directory-cache):
3042 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3043 Doc fixes.
3044 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3045 * ps-bdf.el (bdf-file-newer-than-time):
3046 Process four-integers time stamps, not two. Doc fixes.
3047
3048 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3049
3050 * uniquify.el (uniquify-managed): Use defvar-local.
3051 (rename-buffer, create-file-buffer): Advise with advice-add.
3052 (uniquify-unload-function): Unadvise accordingly.
3053
3054 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3055 (trace-buffer): Don't purecopy.
3056 (trace-entry-message, trace-exit-message): Add `context' arg.
3057 (trace--timer): New var.
3058 (trace-make-advice): Adjust for use in nadvice.
3059 Add `context' argument. Delay `display-buffer' via a timer.
3060 (trace-function-internal): Use advice-add.
3061 (trace--read-args): New function.
3062 (trace-function-foreground, trace-function-background): Use it.
3063 (trace-function): Rename to trace-function-foreground and redefine as
3064 an alias to that new name.
3065 (untrace-function, untrace-all): Adjust to the use of nadvice.
3066
3067 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3068
3069 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3070
3071 * subr.el (called-interactively-p-functions): New var.
3072 (internal--called-interactively-p--get-frame): New macro.
3073 (called-interactively-p, interactive-p): Rewrite in Lisp.
3074 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3075 (called-interactively-p-functions): Use it.
3076 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3077 (called-interactively-p-functions): Use it.
3078 * allout.el (allout-called-interactively-p): Don't assume
3079 called-interactively-p is a subr.
3080
3081 2012-11-20 Glenn Morris <rgm@gnu.org>
3082
3083 * profiler.el (profiler-report-mode-map): Add a menu.
3084 No need to bind `q' because we derive from special-mode.
3085 (profiler-report-find-entry): Handle calls from the menu-bar.
3086
3087 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3088
3089 * emacs-lisp/byte-run.el (defun-declarations-alist):
3090 Allow a compiler-macro to be a lambda expression.
3091
3092 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3093 eval-when-compile.
3094 (python-syntax-context): Add compiler-macro.
3095 (python-font-lock-keywords): Simplify with De Morgan.
3096
3097 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3098
3099 * files.el (load-file): Require match in minibuffer selection, as was
3100 the case in Emacs-20 before we changed the spec to allow .elc files
3101 (bug#12935).
3102
3103 * json.el: Don't require cl since we don't use it.
3104 * color.el: Don't require cl.
3105 (color-complement): `caddr' -> `nth 2'.
3106
3107 * calendar/time-date.el (time-to-seconds): De-obsolete.
3108
3109 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3110
3111 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3112 year numbers.
3113 (math-date-to-julian-dt): Adjust the initial approximation for the
3114 year to deal with the new definition of the DATE.
3115
3116 2012-11-19 Daniel Colascione <dancol@dancol.org>
3117
3118 * term/w32-win.el (cygwin-convert-path-from-windows):
3119 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3120
3121 2012-11-18 Chong Yidong <cyd@gnu.org>
3122
3123 * filecache.el (file-cache--read-list): New function.
3124 (file-cache-add-directory-list, file-cache-add-file-list)
3125 (file-cache-delete-file-list, file-cache-delete-directory-list):
3126 Use it to read a list of files or directories (Bug#12846).
3127 (file-cache-add-file, file-cache-add-directory)
3128 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3129 (file-cache-delete-directory): Print an message.
3130
3131 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3132
3133 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3134 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3135
3136 2012-11-18 Glenn Morris <rgm@gnu.org>
3137
3138 * image.el (insert-image, insert-sliced-image): Doc fix.
3139
3140 2012-11-18 Chong Yidong <cyd@gnu.org>
3141
3142 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3143 (Bug#12810).
3144
3145 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3146
3147 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3148 response when the target file is in a subdirectory (Bug#12757).
3149
3150 2012-11-18 Chong Yidong <cyd@gnu.org>
3151
3152 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3153
3154 2012-11-18 Glenn Morris <rgm@gnu.org>
3155
3156 * emacs-lisp/cl-lib.el (face-underline-p):
3157 Use set-face-underline rather than the alias set-face-underline-p.
3158
3159 * window.el (with-temp-buffer-window): Doc fix.
3160 * subr.el (with-output-to-temp-buffer):
3161 Add doc xref to with-temp-buffer-window.
3162
3163 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3164
3165 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3166 * calc/calc.el (math-format-date-cache): Declare.
3167
3168 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3169
3170 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3171 It also uses January 1, 1 AD as its day number 1.
3172 * calc/calc-forms.el (math-julian-date-beginning)
3173 (math-julian-date-beginning-int): Implement this.
3174
3175 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3176
3177 * descr-text.el (quail-find-key):
3178 * dired.el (desktop-file-name):
3179 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3180 * generic-x.el (comint-mode, comint-exec):
3181 * image-dired.el (widget-forward):
3182 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3183 (speedbar-change-expand-button-char)
3184 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3185 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3186 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3187 (widget-field-action, widget-value-set):
3188 * speedbar.el (imenu--make-index-alist):
3189 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3190 (ring-length, ring-insert):
3191 * vcursor.el (compare-windows-skip-whitespace):
3192 * woman.el (dired-get-filename):
3193 Declare functions.
3194
3195 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3196
3197 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3198
3199 * calc/calc.el (calc-gregorian-switch): New variable.
3200
3201 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3202 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3203 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3204 (math-leap-year-p): Add option to distinguish between Julian
3205 and Gregorian calendars.
3206 (math-day-number): Use `math-day-in-year' to do the computations.
3207 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3208 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3209 to do the computations.
3210 (math-date-to-dt): Use `math-date-to-julian-dt' and
3211 `math-date-to-gregorian-dt' to do the computations.
3212 (calcFunc-weekday, math-format-date-part): Use the new version of
3213 the DATE to determine the weekday.
3214 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3215 when necessary.
3216
3217 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3218
3219 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3220 Cygwin; otherwise use 'file:'. (Bug#12914)
3221 (cygwin-convert-path-from-windows): Declare, to avoid
3222 byte-compiler warnings.
3223
3224 2012-11-17 Andreas Politz <politza@fh-trier.de>
3225
3226 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3227 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3228 prefix and negative numeric prefix args (Bug#12795).
3229
3230 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3231
3232 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3233 Don't signal an error with a score that is too low to add to the
3234 list of top scores. (Bug#12779)
3235
3236 2012-11-17 Chong Yidong <cyd@gnu.org>
3237
3238 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3239
3240 * filecache.el (file-cache-add-file): Handle relative file name in
3241 the argument (Bug#12694).
3242
3243 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3244
3245 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3246
3247 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3248
3249 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3250
3251 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3252
3253 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3254
3255 * window.el (enlarge-window, shrink-window): Don't mention return
3256 value in doc-string (Bug#12896).
3257 (window--display-buffer): Don't resize frames - it won't work
3258 with all window managers and defeat pop-up-frame-alist.
3259 (display-buffer-alist): In doc-string explain that CONDITION can
3260 be a function and which arguments are passed to it (Bug#12854).
3261 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3262 expressions (Bug#12854).
3263 (display-buffer): Pass ACTION argument to
3264 display-buffer-assq-regexp.
3265
3266 2012-11-16 Glenn Morris <rgm@gnu.org>
3267
3268 * window.el (fit-frame-to-buffer-bottom-margin)
3269 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3270
3271 * faces.el (face-underline-p): Use face-attribute-specified-or.
3272
3273 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3274
3275 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3276
3277 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3278
3279 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3280
3281 2012-11-16 Glenn Morris <rgm@gnu.org>
3282
3283 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3284 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3285
3286 * faces.el (face-underline-p): Doc fix. Handle :underline being
3287 things other than `t' (a string, a list).
3288 (face-inverse-video-p): Doc fix.
3289 (set-face-underline): Rename it back from set-face-underline-p.
3290 Doc fix. Allow interactive input of values other than t.
3291 (read-face-attribute): Apply formatting to :underline,
3292 since like :box and :stipple it can take list values.
3293
3294 * term.el (ansi-term): Don't let C-x escape-char binding
3295 clobber the more standard C-c binding. (Bug#12842)
3296
3297 * subr.el (set-temporary-overlay-map): Doc fix.
3298
3299 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3300
3301 * window.el (record-window-buffer)
3302 (display-buffer-record-window): When copying the markers to
3303 window-point preserve window-point-insertion-type. (Bug#12588)
3304
3305 2012-11-16 Glenn Morris <rgm@gnu.org>
3306
3307 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3308 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3309 Use new names for hooks rather than obsolete aliases.
3310
3311 2012-11-15 Daniel Colascione <dancol@dancol.org>
3312
3313 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3314 prefix instead of "file:" so that when FILE-NAME begins with "//",
3315 as it does when the target file is on a network share, url-handler
3316 isn't confused.
3317
3318 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3319
3320 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3321 a preactivated advice from an old advice.el; they're not compatible!
3322
3323 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3324
3325 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3326 Fix string-spec case.
3327
3328 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3329
3330 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3333 (advice--buffer-local-function-sample): New var.
3334 (advice--set-buffer-local, advice--buffer-local): New functions.
3335 (add-function, remove-function): Use them.
3336
3337 2012-11-15 Drew Adams <drew.adams@oracle.com>
3338
3339 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3340
3341 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3342
3343 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3344 potential binding of print-gensym to t, and prettify (back)quotes in
3345 case they appear in args's default values (bug#12884).
3346
3347 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3348
3349 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3350 (advice-eval-interactive-spec): New function.
3351 (advice--make-interactive-form): Support around advice (bug#12844).
3352
3353 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3354
3355 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3356 more strict. Add docstring.
3357 (ruby-expression-expansion-re): Extract from
3358 `ruby-match-expression-expansion'.
3359 (ruby-syntax-propertize-function): After everything else, search
3360 for expansions in string literals, mark their insides as
3361 whitespace syntax and save match data for font-lock.
3362 (ruby-font-lock-keywords): Use the 2nd group from expression
3363 expansion matches.
3364 (ruby-match-expression-expansion): Use the match data saved to the
3365 text property in ruby-syntax-propertize-function.
3366
3367 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3368
3369 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3370 (bug#12879).
3371
3372 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3373
3374 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3375 start/end keyword a bit harder. Works with different values of N.
3376 Add more comments.
3377 (ruby-end-of-block): Update accordingly.
3378
3379 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3380
3381 * woman.el (woman-file-name): Don't mess with unread-command-events
3382 (bug#12861).
3383
3384 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3385 Remove out of date self-require hack.
3386 (ad-do-advised-functions): Use simple `dolist'.
3387 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3388 (ad-advice-definition): Redefine as functions.
3389 (ad-advice-classes): Move before first use.
3390 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3391 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3392 (ad--defalias-fset): Remove functions.
3393 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3394 (ad-get-orig-definition): Rewrite.
3395 (ad-make-advised-definition-docstring): Change base docstring.
3396 (ad-real-orig-definition): Rewrite.
3397 (ad-map-arglists): Change name of called function.
3398 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3399 (ad-make-advised-definition): Simplify.
3400 (ad-assemble-advised-definition): Tweak for new calling context.
3401 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3402 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3403 function and call ad-activate if needed.
3404 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3405 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3406 (ad-compile-function): Compile ad-Advice-*.
3407 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3408 (ad-start-advice, ad-stop-advice): Remove.
3409
3410 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3411
3412 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3413 period before class method names, not after. Remove handling of
3414 one impossible case. Add comments.
3415
3416 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3417
3418 * emacs-lisp/advice.el: Remove support for freezing.
3419 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3420 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3421 Remove support for `freeze'.
3422
3423 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3424 override the default.
3425 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3426 cl--dotimes/dolist.
3427 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3428 `cl' is loaded.
3429
3430 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3431 from add-advice.
3432 (advice--strip-macro): New function.
3433 (advice--defalias-fset): Use them to handle macros.
3434 (advice-add): Use them.
3435 (advice-member-p): Correctly handle macros.
3436
3437 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3438
3439 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3440 Never font-lock the beginning of singleton class as heredoc.
3441
3442 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3443
3444 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3445
3446 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3447
3448 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3449 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3450 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3451
3452 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3453
3454 Fix end-of-defun misbehavior.
3455 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3456 python-beginning-of-defun-function. Handle nested defuns
3457 correctly.
3458 (python-nav-end-of-defun): Rename from
3459 python-end-of-defun-function. Ensure forward movement.
3460 (python-info-current-defun): Reimplement to work as intended
3461 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3462 parent defuns as soon as possible.
3463
3464 2012-11-13 Glenn Morris <rgm@gnu.org>
3465
3466 * progmodes/flymake.el (flymake-error-bitmap)
3467 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3468 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3469
3470 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3471
3472 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3473 backward, always stop at indentation. Reverts the change from
3474 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3475
3476 2012-11-13 Glenn Morris <rgm@gnu.org>
3477
3478 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3479 Add ibuffer-filter-by-derived-mode.
3480
3481 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3482 the same name shadowing each other.
3483
3484 * window.el (with-temp-buffer-window): Doc tweak.
3485
3486 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3487
3488 * help.el (temp-buffer-max-height):
3489 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3490 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3491
3492 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3493
3494 * emacs-lisp/nadvice.el: New package.
3495 * subr.el (special-form-p): New function.
3496 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3497 (elp-all-instrumented-list): Remove var.
3498 (elp-not-profilable): Remove elp-wrapper.
3499 (elp-profilable-p): Use autoloadp and special-form-p.
3500 (elp--advice-name): New const.
3501 (elp-instrument-function): Use advice-add.
3502 (elp--instrumented-p): New predicate.
3503 (elp-restore-function): Use advice-remove.
3504 (elp-restore-all, elp-reset-all): Use mapatoms.
3505 (elp-set-master): Use elp--instrumented-p.
3506 (elp--make-wrapper): Rename from elp-wrapper, return a function
3507 suitable for advice-add. Use cl-inf.
3508 (elp-results): Use mapatoms+elp--instrumented-p.
3509 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3510 (debug-function-list): Remove var.
3511 (debug): Rename arg, and then let-bind it explicitly inside.
3512 (debugger-setup-buffer): Rename arg.
3513 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3514 (debugger-frame-number): Adjust to new debug-on-entry setup.
3515 (debug--implement-debug-on-entry): Rename from
3516 implement-debug-on-entry, add argument.
3517 (debugger-special-form-p): Remove, use special-form-p instead.
3518 (debug-on-entry): Use advice-add.
3519 (debug--function-list): New function.
3520 (cancel-debug-on-entry): Use it, along with advice-remove.
3521 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3522 (debugger-list-functions): Use debug--function-list instead of
3523 debug-function-list.
3524 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3525 (ad-special-form-p): Remove, use special-form-p instead.
3526 (ad-set-advice-info): Use add-function and remove-function.
3527 (ad--defalias-fset): Adjust accordingly.
3528
3529 2012-11-10 Glenn Morris <rgm@gnu.org>
3530
3531 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3532 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3533 (report-emacs-bug-create-existing-bugs-buffer)
3534 (report-emacs-bug-parse-query-results)
3535 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3536
3537 * term.el (term-default-fg-color, term-default-bg-color):
3538 Make obsolete, rather than just saying "deprecated" in the doc.
3539
3540 * term.el (term): Rename from `term-face'.
3541 (term-current-face, ansi-term-color-vector)
3542 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3543 Update all users.
3544
3545 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3546
3547 * server.el (server-create-window-system-frame): Handle Nextstep
3548 specially (Bug#12780).
3549
3550 2012-11-10 Glenn Morris <rgm@gnu.org>
3551
3552 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3553 Unautoload, and make obsolete. (Bug#7449)
3554
3555 2012-11-10 Chong Yidong <cyd@gnu.org>
3556
3557 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3558 rename from diff-remove-trailing-whitespace (Bug#12831).
3559
3560 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3561
3562 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3563 miscompilation of trace.el.
3564
3565 2012-11-10 Glenn Morris <rgm@gnu.org>
3566
3567 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3568
3569 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3570
3571 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3572 (bug#12812).
3573
3574 2012-11-10 Chong Yidong <cyd@gnu.org>
3575
3576 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3577 a defcustom with an appropriate :set function.
3578 (minibuffer-default--in-prompt-regexps): New function.
3579
3580 2012-11-10 Glenn Morris <rgm@gnu.org>
3581
3582 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3583 (define-modify-macro): Doc fixes.
3584
3585 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3586 (gv-define-simple-setter): Update doc of `fix-return'.
3587
3588 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3589
3590 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3591 twice when `fix-return' is set (bug#12813).
3592
3593 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3594 gv-define-simple-setter (bug#12812).
3595
3596 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3597 (bug#12756).
3598
3599 2012-11-10 Glenn Morris <rgm@gnu.org>
3600
3601 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3602
3603 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3604 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3605 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3606 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3607
3608 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3609
3610 2012-11-10 Leo Liu <sdl.web@gmail.com>
3611
3612 * ido.el (ido-set-matches-1): Improve flex matching performance by
3613 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3614
3615 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3616
3617 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3618 (ad--defalias-fset): New function.
3619 (ad-safe-fset): Remove.
3620 (ad-make-freeze-definition): Use cl-letf*.
3621
3622 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3623
3624 * subr.el (dolist): Don't bind VAR in RESULT.
3625
3626 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3627 (fset, documentation): Don't save real def since we don't advise.
3628 (ad-do-advised-functions): Remove problematic `result-form'.
3629 (ad-safe-fset): `ad-real-fset' => `fset'.
3630 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3631 uses CL's dolist internally.
3632 (ad-arglist): Remove unused arg `name'.
3633 (ad-docstring, ad-make-advised-docstring):
3634 `ad-real-documentation' => `documentation'.
3635 (warning-suppress-types): Declare.
3636 (ad-set-arguments): Simple CSE.
3637 (ad-recover-normality): Sanity check.
3638
3639 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3640 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3641
3642 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3643
3644 * ses.el: symbol to coordinate mapping is made by symbol property
3645 `ses-cell'. This means that the same mapping is done for all SES
3646 sheets. That is good enough for cells with standard A1 names, but
3647 not for named cell. So a hash map is added for the latter.
3648 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3649 (ses-sym-rowcol): Use hashmap for named cell.
3650 (ses-is-cell-sym-p): New defun.
3651 (ses-decode-cell-symbol): New defun.
3652 (ses-create-cell-variable): Add cell to hashmap when name is not
3653 A1-like.
3654 (ses-rename-cell): Check that cell new name is not already in
3655 spreadsheet with the use of ses-is-cell-sym-p
3656 (ses-rename-cell): Use hash map for named cells, but accept also
3657 renaming back to A1-like.
3658
3659 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3660
3661 * emacs-lisp/advice.el: Use new dynamic docstrings.
3662 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3663 Use dynamic-docstring-function instead of ad-advice-info.
3664 (ad--make-advised-docstring): New function extracted from
3665 ad-make-advised-docstring.
3666 (ad-make-advised-docstring): Use it.
3667 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3668 from sql-help.
3669 (sql-help): Use it with dynamic-docstring-function.
3670
3671 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3672
3673 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3674
3675 * files.el (hack-one-local-variable--obsolete): New function.
3676 (hack-one-local-variable): Use it for obsolete settings.
3677
3678 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3679 the new name.
3680
3681 * progmodes/js.el (js--filling-paragraph): New var.
3682 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3683 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3684 less sneaky.
3685
3686 2012-11-08 Julien Danjou <julien@danjou.info>
3687
3688 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3689 `auto-mode-alist' (Bug#12835).
3690
3691 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3692
3693 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3694 (perl--prettify-symbols-alist): New const.
3695 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3696 New functions.
3697 (perl-font-lock-keywords-2): Use them.
3698 (perl-electric-noindent-p): New function.
3699 (perl-mode): Use it to set up electric-indent-mode.
3700 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3701 (perl-mode-map): Remove bindings for them.
3702 (perl-imenu-generic-expression, perl-outline-level):
3703 Match functions&packages in column>0.
3704
3705 * env.el (env--substitute-vars-regexp): New const.
3706 (substitute-env-vars): Use it. Add `only-defined' arg.
3707 * net/tramp.el (tramp-replace-environment-variables): Use it.
3708
3709 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3710 Byte-compile *before* eval in eval-and-compile.
3711 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3712 (byte-compile-file-form-autoload): Don't hide actual definition.
3713 (byte-compile-maybe-guarded): Accept `functionp' as well.
3714
3715 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3716
3717 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3718
3719 * notifications.el (notifications-get-server-information-method):
3720 New defconst.
3721 (notifications-get-capabilities): Fix docstring.
3722 (notifications-get-server-information): New defun.
3723
3724 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3725
3726 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3727 readability.
3728
3729 * textmodes/ispell.el: Experimental support for support debugging.
3730 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3731 buffer for ispell.
3732 (ispell-print-if-debug): New function to print stuff to
3733 `ispell-debug-buffer' if debugging is enabled.
3734 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3735 show some debugging info.
3736 (ispell-buffer-with-debug): New function that creates a debugging
3737 buffer and calls `ispell-buffer' with debugging enabled.
3738
3739 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3740 comment in autoconf mode. (Bug#12768)
3741
3742 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3743
3744 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3745 frame-first-window, frame-root-window, frame-selected-window,
3746 minibuffer-selected-window, minibuffer-window,
3747 window-absolute-pixel-edges, window-at, window-body-height,
3748 window-body-width, window-display-table, window-combination-limit,
3749 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3750 window-inside-edges, window-inside-pixel-edges, window-left-child,
3751 window-left-column, window-margins, window-next-buffers,
3752 window-next-sibling, window-new-normal, window-new-total,
3753 window-normal-size, window-parameter, window-parameters, window-parent,
3754 window-pixel-edges, window-point, window-prev-buffers,
3755 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3756 window-start, window-text-height, window-top-child, window-top-line,
3757 window-total-height, window-total-width and window-use-time to the list
3758 of functions without side-effects.
3759 (toplevel): Add window-valid-p to the list of error-free functions
3760 without side-effects.
3761
3762 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3763
3764 * textmodes/ispell.el (ispell-program-name):
3765 Update spellchecker parameters when customized.
3766
3767 2012-11-04 Glenn Morris <rgm@gnu.org>
3768
3769 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3770
3771 2012-11-04 Chong Yidong <cyd@gnu.org>
3772
3773 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3774 same-window-* variables.
3775
3776 2012-11-04 Juri Linkov <juri@jurta.org>
3777
3778 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3779 (isearch-describe-key, isearch-describe-mode): Use a display
3780 action instead of binding same-window-* variables (Bug#10040).
3781
3782 2012-11-03 Glenn Morris <rgm@gnu.org>
3783
3784 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3785 Rename handler properties back from cl-- to cl-. (Bug#12788)
3786
3787 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3788
3789 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3790
3791 * term/pc-win.el: Don't load term/internal from here.
3792
3793 * loadup.el: Load term/internal from here.
3794
3795 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3796
3797 * progmodes/python.el (inferior-python-mode): Fix hang in
3798 jit-lock (Bug#12645).
3799
3800 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3801
3802 * window.el (switch-to-visible-buffer)
3803 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3804
3805 2012-11-03 Glenn Morris <rgm@gnu.org>
3806
3807 * emacs-lisp/cl-lib.el (cl--random-time):
3808 Rename from cl-random-time. (Bug#12773)
3809 (cl--gensym-counter, cl--random-state): Update callers.
3810 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3811
3812 2012-11-03 Chong Yidong <cyd@gnu.org>
3813
3814 * cus-start.el: Make cursor-type customizable (Bug#11633).
3815
3816 2012-11-02 Glenn Morris <rgm@gnu.org>
3817
3818 * filecache.el: No need to load find-lisp when compiling.
3819 (find-lisp-find-files): Autoload it.
3820 (file-cache-add-directory-recursively): Don't require find-lisp.
3821
3822 * image.el (image-type-from-file-name): Trivial simplification.
3823
3824 * emacs-lisp/bytecomp.el (byte-compile-eval):
3825 Decouple "noruntime" and "cl-functions" warnings.
3826
3827 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3828
3829 * play/gomoku.el (gomoku-display-statistics): Update mode line
3830 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3831
3832 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3833
3834 * window.el (quit-restore-window): If the window has been
3835 created on an existing frame and ended up as the sole window on
3836 that frame, do not delete it (Bug#12764).
3837
3838 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3839
3840 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3841 Rename from sh--inside-arithmetic-expression, handle more cases
3842 (bug#11263).
3843
3844 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3845 (sh-font-lock-open-heredoc): Use it (bug#12770).
3846
3847 2012-10-30 Glenn Morris <rgm@gnu.org>
3848
3849 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3850
3851 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3852
3853 2012-10-29 Chong Yidong <cyd@gnu.org>
3854
3855 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3856 function key is stored in a keyboard macro (Bug#4894).
3857
3858 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3859
3860 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3861
3862 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3863 header comments".
3864 (diff-unified->context, diff-context->unified)
3865 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3866
3867 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3868
3869 * files.el (find-alternate-file): Only ask one question (bug#12487).
3870
3871 2012-10-29 Chong Yidong <cyd@gnu.org>
3872
3873 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3874 Suggested by Dan Nicolaescu (Bug#6326).
3875
3876 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3877
3878 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3879
3880 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3881
3882 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3883
3884 * face-remap.el (face-remap-add-relative): Handle the case where a
3885 face-remapping-alist entry is a cons cell (Bug#12762).
3886
3887 2012-10-29 Kevin Ryde <user42@zip.com.au>
3888
3889 * woman.el (woman-parse-numeric-value): Handle picas correctly
3890 (Bug#12639).
3891
3892 2012-10-29 Glenn Morris <rgm@gnu.org>
3893
3894 * emacs-lisp/cl.el (defsetf): Doc fix.
3895
3896 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3897
3898 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3899 syntax to the matching opener, if any (bug#12547).
3900 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3901 matching open as a "case-(".
3902 (sh-smie-rc-grammar): Add a corresponding rule for it.
3903
3904 2012-10-28 Daniel Hackney <dan@haxney.org>
3905
3906 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
3907 "PKGNAME-autoloads.el" in case we created it.
3908
3909 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3910
3911 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
3912 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
3913 (completion--twq-all): Disable too-strict assertions.
3914
3915 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
3916
3917 2012-10-27 Eli Zaretskii <eliz@gnu.org>
3918
3919 * profiler.el (profiler-report-make-entry-part): Fix help-echo
3920 text to match the real keybindings.
3921
3922 2012-10-27 Juri Linkov <juri@jurta.org>
3923
3924 * wdired.el (wdired-keep-marker-rename): New defcustom.
3925 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
3926 (Bug#11795)
3927
3928 * dired.el (dired-keep-marker-rename): Add reference to
3929 `wdired-keep-marker-rename' in the docstring.
3930 Add default character value ?R to display initially in
3931 Customization UI instead of ?@.
3932
3933 2012-10-27 Martin Rudalics <rudalics@gmx.at>
3934
3935 * window.el (display-buffer): In doc-string describe
3936 window-height and window-width alist entries.
3937
3938 * time.el (display-time-world): Restore fit-window-to-buffer
3939 behavior.
3940
3941 2012-10-27 Chong Yidong <cyd@gnu.org>
3942
3943 * subr.el (insert-buffer-substring-as-yank): Doc fix.
3944
3945 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
3946
3947 * minibuffer.el (completion-category-overrides): New completion
3948 category `bookmark' (bug#11131).
3949
3950 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3951
3952 * emacs-lisp/advice.el (ad-assemble-advised-definition):
3953 Silence bogus compiler warnings for ad-do-it.
3954
3955 * bookmark.el (bookmark-completing-read): Set the completion category
3956 to `bookmark' (bug#11131).
3957
3958 2012-10-26 Bastien <bzg@altern.org>
3959 Stefan Monnier <monnier@iro.umontreal.ca>
3960
3961 * face-remap.el: Use lexical-binding.
3962 (text-scale-adjust): Improve docstring. Use itself for the temporary
3963 overlay-map bindings, so as to repeat the "Use..." message each time.
3964
3965 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3966
3967 * emacs-lisp/macroexp.el (macroexp--expand-all):
3968 Obey byte-compile-warning-enabled-p (bug#12486).
3969
3970 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
3971 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
3972
3973 2012-10-26 Martin Rudalics <rudalics@gmx.at>
3974
3975 * mouse.el (mouse-drag-line): Move last form into preceding when
3976 clause (Bug#12731).
3977
3978 * help.el (resize-temp-buffer-window): Fix doc-string.
3979
3980 2012-10-25 David Engster <deng@randomsample.de>
3981
3982 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
3983 Remove. This feature is already integrated in imenu.
3984
3985 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
3986 always loaded. Require `speedbar' unconditionally.
3987
3988 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3989
3990 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
3991
3992 * minibuffer.el (minibuffer-force-complete): Fix thinko.
3993
3994 * net/ldap.el (ldap-search-internal): The official ldif format starts
3995 with a "version: 1" header (bug#12724).
3996
3997 * emacs-lisp/package.el (package-installed-p): Warn if not ready
3998 (bug#12721).
3999
4000 2012-10-25 Glenn Morris <rgm@gnu.org>
4001
4002 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4003
4004 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4005
4006 * minibuffer.el (minibuffer-force-complete): Use one more marker
4007 for the temporary-overlay-map command (bug#12619).
4008
4009 2012-10-24 Chong Yidong <cyd@gnu.org>
4010
4011 * time.el (display-time-world-mode): Derive from special-mode.
4012 (display-time-world): Use display-buffer (Bug#12708).
4013 (display-time-world-mode-map): Variable deleted.
4014 (display-time-world-display): Wrap the final delete-char inside
4015 inhibit-read-only.
4016
4017 2012-10-24 Chong Yidong <cyd@gnu.org>
4018
4019 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4020 Doc fix.
4021
4022 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4023
4024 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4025
4026 * minibuffer.el (completion--all-sorted-completions-location): New var.
4027 (completion--cache-all-sorted-completions)
4028 (completion--flush-all-sorted-completions): Use it.
4029 (completion-in-region, completion-in-region--postch)
4030 (completion-at-point, completion-help-at-point): Use markers in
4031 completion-in-region--data (bug#12619).
4032
4033 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * progmodes/compile.el (compilation-start): Try to handle common
4036 quoting of `cd' argument (bug#12640).
4037
4038 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4039 (bug#12671).
4040
4041 2012-10-23 Glenn Morris <rgm@gnu.org>
4042
4043 * progmodes/gud.el (gud-menu-map):
4044 Check gdb-active-process is bound. (Bug#12358)
4045
4046 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4047
4048 * repeat.el (repeat): Set real-this-command (bug#12232).
4049
4050 * htmlfontify.el (hfy-post-html-hook):
4051 * filesets.el (filesets-cache-fill-content-hook):
4052 * arc-mode.el (archive-extract-hook):
4053 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4054 * net/rcirc.el (rcirc-sentinel-functions)
4055 (rcirc-receive-message-functions, rcirc-activity-functions)
4056 (rcirc-print-functions):
4057 * net/dbus.el (dbus-event-error-functions):
4058 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4059 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4060 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4061 * term/sun.el (sun-raw-prefix-hooks):
4062 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4063
4064 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4065
4066 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4067 Set `tramp-chunksize' to 1. This improves the performance.
4068 (tramp-smb-wait-for-output): Add timeout to
4069 `tramp-accept-process-output' calls.
4070
4071 2012-10-23 Chong Yidong <cyd@gnu.org>
4072
4073 * faces.el (font-list-limit): Define as an obsolete variable.
4074
4075 * startup.el (command-line):
4076 * cus-start.el: Don't refer to font-list-limit.
4077
4078 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4079
4080 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4081
4082 * subr.el (internal-temp-output-buffer-show): Rename from
4083 temp-output-buffer-show, since previously compiled files expect this name.
4084
4085 2012-10-23 Glenn Morris <rgm@gnu.org>
4086
4087 * image.el (image-type-from-file-name): If multiple types match,
4088 return the first one that is supported. (Bug#9045)
4089
4090 2012-10-22 Glenn Morris <rgm@gnu.org>
4091
4092 * image.el (imagemagick-enabled-types): Doc fix.
4093
4094 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4095
4096 * progmodes/which-func.el (which-func-current): The hash-table may have
4097 an explicit nil (bug#12338).
4098
4099 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4100
4101 * electric.el (electric-pair-delete-selection-self-insert-function):
4102 Rename to electric-pair-will-use-region, return a boolean.
4103 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4104
4105 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4106 (delete-selection-pre-hook): Use use-region-p.
4107 (delete-selection-self-insert-function): Remove.
4108 (self-insert-command): Obey self-insert-uses-region-functions.
4109 (self-insert-iso): Revert to previous setting, since we don't actually
4110 know what that command does.
4111 (delete-selection-self-insert-hooks): Remove.
4112
4113 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4114
4115 * delsel.el (delete-selection-helper): New function, extracted from
4116 delete-selection-pre-hook.
4117 (delete-selection-pre-hook): Use it.
4118 (delete-selection-self-insert-function): New function.
4119 (delete-selection-self-insert-hooks): New hook.
4120 (self-insert-command, self-insert-iso): Use it.
4121 * electric.el (electric-pair-syntax): New function, extracted from
4122 electric-pair-post-self-insert-function.
4123 (electric-pair-post-self-insert-function): Use it.
4124 (electric-pair-delete-selection-self-insert-function): New function.
4125 (electric-pair-mode): Require delsel and setup
4126 delete-selection-self-insert-hooks (bug#11520).
4127
4128 2012-10-20 Chong Yidong <cyd@gnu.org>
4129
4130 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4131 no changes to show (Bug#12586).
4132
4133 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4134 list explicitly (Bug#12571).
4135
4136 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4137
4138 * progmodes/flymake.el (flymake-create-temp-inplace):
4139 Use file-truename.
4140
4141 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4142
4143 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4144
4145 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4146
4147 * calc/calc-units.el (math-extract-units): Properly extract powers
4148 of units.
4149
4150 2012-10-20 Daniel Colascione <dancol@dancol.org>
4151
4152 * frame.el (make-frame): Set x-display-name as we used to in order
4153 to unbreak creating an X11 frame from an Emacs daemon started
4154 without a display.
4155
4156 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4157
4158 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4159 the same completion-field (bug#12221).
4160
4161 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4162
4163 * emacs-lisp/debug.el (debug): Record height of debugger window
4164 also when debugger will be back (Bug#8789).
4165
4166 2012-10-18 Chong Yidong <cyd@gnu.org>
4167
4168 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4169 Convert to defcustom.
4170 (gdb-get-source-file): Don't bind pop-up-windows.
4171
4172 * progmodes/gud.el (gud-display-line): Don't specially re-use
4173 other frames for the gdb-mi case (Bug#12648).
4174
4175 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4176
4177 * emacs-lisp/advice.el: Clean up commentary a bit.
4178 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4179 (byte-code-function-p): Never redefine.
4180
4181 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4182
4183 2012-10-18 Glenn Morris <rgm@gnu.org>
4184
4185 * dired.el (dired-sort-toggle): Some ls implementations only allow
4186 a single option string. (Bug#12666)
4187
4188 * minibuffer.el (completion-cycle-threshold): Doc fix.
4189
4190 2012-10-17 Kenichi Handa <handa@gnu.org>
4191
4192 * international/mule.el (set-keyboard-coding-system):
4193 Recover input meta mode when the new coding system doesn not use 8-bit.
4194 Supply TERMINAL arg to set-input-meta-mode.
4195
4196 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4197
4198 * wdired.el (wdired-old-marks): New variable.
4199 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4200 (wdired-do-renames): Move point with renamed file and don't lose
4201 mark status (Bug#11795).
4202
4203 2012-10-16 Juri Linkov <juri@jurta.org>
4204
4205 * replace.el (query-replace-help): Mention multi-buffer replacement
4206 keys in the Help message. (Bug#12655)
4207
4208 2012-10-15 Chong Yidong <cyd@gnu.org>
4209
4210 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4211
4212 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4213
4214 * window.el (display-buffer): Doc fix.
4215
4216 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4217 Adjust the msft regexp to the output of Studio 2010, and move msft
4218 before edg-1. See the discussion on emacs-devel,
4219 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4220 for the details.
4221
4222 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4223
4224 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4225 (oset): Move uses of object-class-fast macro after its definition.
4226
4227 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4228
4229 2012-10-13 Chong Yidong <cyd@gnu.org>
4230
4231 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4232 enabled, re-enable it (Bug#11963).
4233
4234 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4235
4236 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4237 non-nil, restore window configuration (Bug#12623).
4238
4239 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4240
4241 * help-fns.el (describe-variable, describe-function-1):
4242 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4243
4244 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4245
4246 2012-10-12 Glenn Morris <rgm@gnu.org>
4247
4248 * mail/rmailsum.el (rmail-header-summary):
4249 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4250
4251 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4252
4253 * progmodes/python.el (python-mode-map):
4254 Replace subtitute-key-definition with proper command remapping.
4255 (python-nav--up-list): Fix behavior for blocks on the same level.
4256
4257 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4260
4261 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4262 changes to the format of load-history.
4263
4264 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4265 completion-ignore-case in case that var is buffer-local (bug#12615).
4266
4267 2012-10-11 Kenichi Handa <handa@gnu.org>
4268
4269 * international/eucjp-ms.el: Re-generated.
4270
4271 2012-10-10 Kenichi Handa <handa@gnu.org>
4272
4273 * select.el (xselect--encode-string): If a coding is specified for
4274 selection, and that is compatible with COMPOUND_TEXT, use it.
4275
4276 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4277
4278 * window.el (switch-to-buffer-preserve-window-point): New option.
4279 (switch-to-buffer):
4280 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4281
4282 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4283
4284 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4285 Don't document nil as a useful value (bug#12583).
4286
4287 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4288
4289 * net/tramp.el (tramp-debug-message):
4290 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4291 (with-tramp-progress-reporter): Rename from
4292 `tramp-with-progress-reporter'.
4293 (with-tramp-file-property, with-tramp-connection-property):
4294 Move from tramp-cache.el, rename from `with-file-property' and
4295 `with-connection-property', respectively.
4296
4297 * net/tramp-cache.el: Remove `with-file-property' and
4298 `with-connection-property'.
4299
4300 * net/tramp.el:
4301 * net/tramp-gvfs.el:
4302 * net/tramp-sh.el:
4303 * net/tramp-smb.el: Adapt callees.
4304
4305 * net/trampver.el: Update release number.
4306
4307 2012-10-09 Glenn Morris <rgm@gnu.org>
4308
4309 * w32-fns.el (set-message-beep):
4310 * term/w32-win.el (set-message-beep): Update declarations.
4311
4312 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4313
4314 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4315 (mode-line-widen, mode-line-input-method-map)
4316 (mode-line-coding-system-map, mode-line-remote)
4317 (mode-line-unbury-buffer, mode-line-bury-buffer)
4318 (mode-line-next-buffer, mode-line-previous-buffer):
4319 Replace save-selected-window+select-window => with-selected-window.
4320
4321 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4322 * progmodes/cc-vars.el (bq-process): Remove, unused.
4323
4324 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4325
4326 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4327
4328 Implemented `backward-up-list'-like navigation.
4329 * progmodes/python.el (python-nav-up-list)
4330 (python-nav-backward-up-list): New functions.
4331 (python-mode-map): Define substitute key for backward-up-list to
4332 python-nav-backward-up-list.
4333
4334 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4335
4336 * progmodes/python.el (python-fill-paragraph): Rename from
4337 python-fill-paragraph-function. Fixed fill-paragraph for
4338 decorators (Bug#12605).
4339
4340 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4341
4342 * progmodes/python.el (python-shell-output-filter): Handle extra
4343 carriage return in OSX (Bug#12409).
4344
4345 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4346
4347 Fix shell handling of unbalanced quotes and parens in output.
4348 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4349 (python-syntax-propertize-function): Use it.
4350 (python-shell-output-syntax-table): New var.
4351 (inferior-python-mode): Prevent unbalanced parens/quotes from
4352 previous output mess with current input context.
4353
4354 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4355
4356 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4357 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4358
4359 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4360
4361 * ffap.el (ffap-replace-file-component): Support Tramp file name
4362 syntax, not only ange-ftp's one.
4363
4364 2012-10-08 Glenn Morris <rgm@gnu.org>
4365
4366 * cus-start.el (message-log-max): Set :version.
4367
4368 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4369
4370 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4371
4372 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4373 the minibuffer window (Bug#10851).
4374
4375 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4376
4377 Enhancements on forward-sexp movement.
4378 * progmodes/python.el (python-nav-beginning-of-statement)
4379 (python-nav-end-of-statement): Return point-marker.
4380 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4381 (python-info-current-symbol)
4382 (python-info-statement-starts-block-p): Rename from
4383 python-info-beginning-of-block-p.
4384 (python-info-statement-ends-block-p): Rename from
4385 python-info-end-of-block-p.
4386 (python-info-beginning-of-statement-p)
4387 (python-info-end-of-statement-p)
4388 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4389 New functions.
4390
4391 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4392
4393 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4394 frame-selected-windows.
4395
4396 2012-10-08 Daniel Colascione <dancol@dancol.org>
4397
4398 * battery.el (battery-status-function): Check for
4399 w32-battery-status itself, not system-time windows-nt.
4400
4401 * frame.el: Require cl-lib.
4402 (display-format-alist): New variable mapping frame types to
4403 functions that initialize them.
4404 (window-system-for-display): New function: interprets
4405 display-format-alist.
4406 (make-frame-on-display): Remove existing display-selection logic
4407 and just forward to make-frame, which will now DTRT.
4408 (make-frame): Restructure to use window-system-for-display to
4409 figure out how to create a frame on a given display.
4410 (display-mouse-p): Look for frame-type w32, not a particular
4411 system-type.
4412
4413 * loadup.el: Load w32 lisp code when we have the w32 feature.
4414
4415 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4416 system-type windows-nt.
4417
4418 * server.el (server-create-window-system-frame): Look for window
4419 type.
4420 (server-proces-filter): Only force a window system when windows-nt
4421 _and_ w32. Explain why.
4422
4423 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4424 of window systems we configure for the mode.
4425
4426 * startup.el (command-line): Mark window system is initialized
4427 after we've done it.
4428
4429 * common-win.el (x-select-text): Look for w32, not windows-nt.
4430
4431 * ns-win.el: Require cl-lib. Add ourselves to
4432 display-format-alist.
4433 (ns-initialize-window-system): Assert we're not initialized twice.
4434
4435 * w32-win.el: Enable lexical binding; require cl-lib; add
4436 ourselves to display-format-alist.
4437 (w32-handle-dropped-file): Convert incoming dropped files from
4438 Windows paths to Cygwin ones before passing them on to the rest of
4439 Emacs.
4440 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4441 (w32-initialize-window-system): Assert we're not initialized twice.
4442
4443 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4444 (x-initialize-window-system): Assert we're not initialized twice.
4445
4446 * w32-common-fns.el: New File.
4447 (w32-version, w32-using-nt, w32-get-clipboard-data)
4448 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4449 (w32-charset-info-alist, x-last-selected, text)
4450 (x-get-selection-value, x-selection-value): Move here.
4451
4452 * w32-fns.el: Require w32-common-fns.
4453 (w32-version, w32-using-nt, w32-get-clipboard-data)
4454 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4455 (w32-charset-info-alist, x-last-selected, text)
4456 (x-get-selection-value, x-selection-value): Move to
4457 w32-common-fns.
4458
4459 * w32-vars.el:
4460 (w32-allow-system-shell, w32-system-shells): Define only in
4461 non-cygwin case.
4462
4463 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4464
4465 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4466 (read-passwd): Remove a few more potential sources of leaks.
4467
4468 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4469
4470 * progmodes/python.el (inferior-python-mode)
4471 (python-shell-make-comint): Fix initialization of local
4472 variables copied from parent buffer.
4473
4474 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4475
4476 * term/ns-win.el (ns-read-file-name): Update declaration to match
4477 nsfns.m.
4478 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4479 it is set when font is acted upon.
4480
4481 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4482
4483 Enhancements to indentation.
4484 * progmodes/python.el (python-indent-context): Give priority to
4485 inside-string context. Make comments indentation markers.
4486 (python-indent-region): Do not mess with strings, unless it's the
4487 enclosing set of quotes.
4488
4489 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4490
4491 * window.el (internal--before-save-selected-window)
4492 (internal--after-save-selected-window): New functions extracted from
4493 save-selected-window. Make sure we return the `alist' we construct.
4494 (save-selected-window): Use them.
4495
4496 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4497 Use with-selected-window.
4498
4499 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4500 forms that define macros (bug#12593).
4501
4502 2012-10-07 Kenichi Handa <handa@gnu.org>
4503
4504 * international/mule-conf.el (compound-text-with-extensions):
4505 Add :mime-charset property as x-ctext.
4506
4507 2012-10-07 Stefan Merten <smerten@oekonux.de>
4508
4509 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4510 (rst-indent-literal-normal, rst-indent-literal-minimized)
4511 (rst-indent-comment): Correct :version tag.
4512 (rst-official-cvs-rev): Correct version string.
4513
4514 2012-10-07 Glenn Morris <rgm@gnu.org>
4515
4516 * mail/rmailmm.el (rmail-mime-process-multipart):
4517 Do not confuse a multipart message with an epilogue
4518 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4519
4520 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4521
4522 Fix shell output retrieval and comint-prompt-regexp init.
4523 * progmodes/python.el (inferior-python-mode):
4524 (python-shell-make-comint): Fix initialization of
4525 comint-prompt-regexp from copied file local variables.
4526 (python-shell-fetched-lines): Remove var.
4527 (python-shell-output-filter-in-progress): Rename from
4528 python-shell-fetch-lines-in-progress.
4529 (python-shell-output-filter-buffer): Rename from
4530 python-shell-fetch-lines-string.
4531 (python-shell-fetch-lines-filter): Delete function.
4532 (python-shell-output-filter): New function.
4533 (python-shell-send-string-no-output): Use them.
4534
4535 2012-10-07 Glenn Morris <rgm@gnu.org>
4536
4537 * hi-lock.el (hi-lock-process-phrase):
4538 Try to make it less fragile. (Bug#7161)
4539
4540 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4541
4542 2012-10-06 Glenn Morris <rgm@gnu.org>
4543
4544 * ehelp.el (electric-help-mode): Use help-mode rather than
4545 non-existent mode `help'.
4546 (electric-help-map): Use button-buffer-map. (Bug#10917)
4547
4548 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4549 (reftex-create-bibtex-footer): Fix custom types.
4550
4551 * progmodes/sh-script.el (sh-indent-after-continuation):
4552 Add explicit :group.
4553
4554 * textmodes/rst.el (rst-preferred-decorations)
4555 (rst-shift-basic-offset): Clarify obsolescence versions.
4556
4557 * profiler.el (profiler): Add missing group :version tag.
4558 * avoid.el (mouse-avoidance-banish-position):
4559 * proced.el (proced-renice-command):
4560 * calc/calc.el (calc-ensure-consistent-units):
4561 * calendar/icalendar.el (icalendar-import-format-uid):
4562 * net/tramp.el (tramp-save-ad-hoc-proxies):
4563 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4564 * progmodes/flymake.el (flymake-error-bitmap)
4565 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4566 * progmodes/sh-script.el (sh-indent-after-continuation):
4567 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4568 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4569 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4570 (vhdl-array-index-record-field-in-sensitivity-list)
4571 (vhdl-indent-comment-like-next-code-line):
4572 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4573 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4574 (reftex-cite-key-separator, reftex-create-bibtex-header)
4575 (reftex-create-bibtex-footer):
4576 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4577 (rst-indent-literal-normal, rst-indent-literal-minimized)
4578 (rst-indent-comment): Add missing custom :version tags.
4579
4580 * calendar/timeclock.el (timeclock-modeline-display):
4581 Add missing obsolete alias for renamed user option.
4582
4583 * strokes.el (strokes-modeline-string):
4584 * emulation/crisp.el (crisp-mode-modeline-string):
4585 * eshell/esh-mode.el (eshell-status-in-modeline):
4586 Aliases to defcustoms must come before the defcustom.
4587
4588 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4589 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4590 (cal-tex-cursor-week-monday): Doc fixes.
4591 (cal-tex-cursor-week2-summary): Doc fix.
4592 Rename from cal-tex-cursor-week-at-a-glance.
4593
4594 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4595 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4596
4597 * calendar/calendar.el (calendar-mode-map):
4598 Add cal-tex-cursor-week2-summary.
4599
4600 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4601
4602 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4603
4604 * subr.el (read-passwd-map): New var.
4605 (read-passwd): Use `read-string' again.
4606 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4607
4608 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4609
4610 * register.el (append-to-register, prepend-to-register):
4611 Deactivate mark, as does `copy-to-register' (bug#12389).
4612
4613 2012-10-06 Chong Yidong <cyd@gnu.org>
4614
4615 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4616
4617 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4618
4619 * international/characters.el: Fix simple mistake ((car chars) ->
4620 elt), delete duplicated code.
4621
4622 2012-10-06 Glenn Morris <rgm@gnu.org>
4623
4624 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4625
4626 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4627
4628 * color.el (color-hsl-to-rgb): Fix incorrect results for
4629 small and large hue values. (Bug#12559)
4630
4631 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4632
4633 Enhancements to docstring formatting when filling paragraphs.
4634 * progmodes/python.el (python-fill-docstring-style): Rename from
4635 python-fill-string-style. Added new style.
4636 (python-fill-string): Use new style. Better checks for
4637 docstrings.
4638
4639 2012-10-05 Glenn Morris <rgm@gnu.org>
4640
4641 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4642
4643 * color.el (color-name-to-rgb, color-rgb-to-hex)
4644 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4645 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4646 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4647 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4648
4649 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4650
4651 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4652
4653 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4654 to get the correct size across symlinks.
4655
4656 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4657
4658 2012-10-04 Juri Linkov <juri@jurta.org>
4659
4660 * replace.el (query-replace-interactive): Declare obsolete.
4661 (query-replace-read-from): Add the last incremental search string
4662 to the list of default values accessible via M-n.
4663 (map-query-replace-regexp): Use `read-regexp'.
4664 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4665 (map-query-replace-regexp, replace-string, replace-regexp):
4666 Fix docstrings to replace mentions of `query-replace-interactive'
4667 with alternatives. (Bug#12526)
4668
4669 2012-10-04 Juri Linkov <juri@jurta.org>
4670
4671 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4672 (dired-pop-to-buffer): Declare obsolete.
4673 (dired-mark-pop-up): Doc fix.
4674
4675 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4676
4677 Allow user to set docstring style for fill-paragraph.
4678 * progmodes/python.el
4679 (python-fill-comment-function, python-fill-string-function)
4680 (python-fill-decorator-function, python-fill-paren-function):
4681 Remove :safe for defcustoms.
4682 (python-fill-string-style): New defcustom
4683 (python-fill-paragraph-function): Enhance context detection.
4684 (python-fill-string): Honor python-fill-string-style settings.
4685
4686 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4687
4688 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4689 after setting its buffer (Bug#10805).
4690
4691 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4692
4693 Fix cornercase for string syntax.
4694 * progmodes/python.el (python-syntax-propertize-function):
4695 Simplify and enhance the regexp for unescaped quotes. Now it also
4696 matches quotes in weird situations like the single quote in
4697 "something\"'".
4698 (python-syntax-stringify): Simplify num-quotes detecting code.
4699
4700 2012-10-03 Glenn Morris <rgm@gnu.org>
4701
4702 * help-macro.el (three-step-help):
4703 Revert 2012-09-29 change. (Bug#12567)
4704
4705 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4706
4707 * menu-bar.el (kill-this-buffer): Don't do anything when
4708 `menu-frame' is not alive or visible (Bug#8184).
4709
4710 * emacs-lisp/debug.el (debug): When quitting the debugger window
4711 restore current buffer (Bug#12502).
4712
4713 2012-10-02 Chong Yidong <cyd@gnu.org>
4714
4715 * progmodes/hideif.el (hif-lookup, hif-defined):
4716 Handle semantic-c-takeover-hideif.
4717
4718 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4719
4720 Change sampling interval units from ms to ns.
4721 * profiler.el (profiler-sampling-interval): Change units
4722 from ms to ns, multiplying the default by 1000000 so that
4723 it remains 1 ms.
4724 (profiler-report-cpu-line-format): Give enough room for
4725 the maximum counters on 64-bit hosts.
4726 (profiler-report-render-calltree-1): Call them "CPU samples",
4727 not "Time (ms)", since they are not milliseconds now (and
4728 never really were).
4729
4730 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4731
4732 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4733 Fix querying BBDB for entries without a last name (Bug#11580).
4734
4735 2012-10-02 Chong Yidong <cyd@gnu.org>
4736
4737 * emacs-lisp/eieio.el: Restore Version header.
4738
4739 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4740
4741 * vc/diff-mode.el (diff--auto-refine-data): New var.
4742 (diff-hunk): Use it to delay refinement.
4743 (diff-mode): Remove overlays when we turn off font-lock.
4744
4745 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4746 (table-initialize-table-fixed-width-mode)
4747 (table-set-table-fixed-width-mode): Remove functions.
4748 (table-command-list): Move initialization into declaration.
4749 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4750 (table-with-cache-buffer): Use `declare'.
4751 (table-span-cell): Simplify via CSE.
4752 (table-fixed-width-mode): Use define-minor-mode.
4753 (table-call-interactively, table-funcall, table-apply): Remove.
4754 (table-function): New function, to replace them.
4755
4756 * bookmark.el (bookmark-search-pattern): Remove var.
4757 (bookmark-read-search-input): Remove function.
4758 (bookmark-bmenu-search): Reimplement using a minibuffer.
4759
4760 * faces.el (modeline): Remove obsolete face name.
4761
4762 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4763 and give a non-nil default value.
4764 (add-change-log-entry): Simplify accordingly.
4765
4766 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4767
4768 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4769 (vc-git-log-edit-toggle-amend): New function.
4770 (vc-git-log-edit-toggle-signoff): New function.
4771 (vc-git-log-edit-mode): New major mode.
4772 (vc-git-log-edit-mode-map): Keymap for it.
4773 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4774
4775 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4776 header names.
4777 (log-edit-toggle-header): New function.
4778 (log-edit-extract-headers): Accept function values in HEADERS alist.
4779
4780 2012-10-01 David Engster <deng@randomsample.de>
4781
4782 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4783 from symbol property and change message to be more consistent with
4784 Emacs proper.
4785 (eieio-describe-generic): Add filename for each implementation.
4786 Fix indices for generic and normal methods.
4787 (eieio-method-def, eieio-class-def): New buttons.
4788 (eieio-help-find-method-definition)
4789 (eieio-help-find-class-definition): New functions.
4790 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4791 class, constructor and method definitions.
4792
4793 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4794 information in symbol property.
4795 (scoped-class): Remove.
4796 (eieio-slot-name-index, call-next-method): Check if it is bound.
4797
4798 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4799
4800 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4801 (eieio-custom-mode): New major mode.
4802 (eieio-customize-object): Use it.
4803
4804 2012-10-01 Eric Ludlam <zappo@gnu.org>
4805
4806 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4807 specifying the expected class, and whether subclassing is allowed.
4808 (eieio-persistent-convert-list-to-object):
4809 (eieio-persistent-validate/fix-slot-value)
4810 (eieio-persistent-slot-type-is-class-p): New functions.
4811 (eieio-named::slot-missing): Doc fix.
4812
4813 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4814 Stop using unused publd variable.
4815
4816 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4817 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4818 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4819 (eieio-speedbar-handle-click): Do not specify a class for the
4820 method. Fixes method invocation order problems with EDE.
4821
4822 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4823
4824 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4825 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4826
4827 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4828
4829 * bookmark.el (bookmark-version-control): Give tags in the
4830 :type choices (Bug#12309), and improve doc string.
4831 (bookmark-write-file): Bind `print-circle' to `t' to allow
4832 circular custom bookmark types. (Bug#12503)
4833
4834 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4835
4836 Revert the FOLLOW-SYMLINKS change for file-attributes.
4837 * files.el (remote-file-name-inhibit-cache, after-find-file):
4838 * time.el (display-time-file-nonempty-p): Undo last change.
4839
4840 * profiler.el (profiler-sampling-interval): Change default back to 1.
4841 See Stefan Monnier in
4842 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4843
4844 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4845
4846 Shell output catching a la gud-gdb.
4847 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4848 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4849 New Vars.
4850 (python-shell-fetch-lines-filter): New function.
4851 (python-shell-send-string-no-output): Use them.
4852
4853 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4854
4855 * profiler.el (profiler-sampling-interval): Rename from
4856 profiler-sample-interval.
4857 (profiler-sampling-interval): Default to 10.
4858 (profiler-find-profile): New command (was profiler-find-log).
4859 (profiler-find-profile-other-window): New command.
4860 (profiler-find-profile-other-frame): New command.
4861 (profiler-profile): Introduce API-level data structure.
4862
4863 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4864
4865 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4866 * files.el (remote-file-name-inhibit-cache):
4867 * time.el (display-time-file-nonempty-p): Use it.
4868 * files.el (after-find-file): Don't chase links before calling
4869 file-exists-p, as file-exists-p already does the right thing.
4870
4871 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4872
4873 Merge from standalone RefTeX repository.
4874
4875 The following ChangeLog entries are shortened versions of the
4876 original ones with file paths adapted. A not so strongly edited
4877 version of the original ChangeLog can be found in the commit log.
4878
4879 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4880 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4881 Correctly handle new value type returned by `reftex-citation'.
4882
4883 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4884 that entries with whitespace at various places are found.
4885 Doc fix. Include entries that are cross-referenced from cited entries.
4886 Include @String definitions in the resulting bib file. Add header
4887 and footer defined in `reftex-create-bibtex-header' and
4888 `reftex-create-bibtex-footer'.
4889 (reftex-do-citation): Make it possible again to insert
4890 non-existent entries. Save match data when asking for optional
4891 arguments. Return all keys, not just the first one.
4892 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4893 all citations in the same line.
4894 (reftex-parse-bibtex-entry): Accept additional optional argument
4895 `raw' and keep quotes or braces if it is non-nil. Match fields
4896 containing hyphens besides word constituents.
4897 (reftex-get-string-refs): New function.
4898 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4899 and ask if it should be reread in case it did.
4900 (reftex-pop-to-bibtex-entry)
4901 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
4902 entries with spaces or tabs in front of arguments.
4903 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4904 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
4905 Match entries containing numbers and symbol constituents.
4906 (reftex-do-citation, reftex-figure-out-cite-format):
4907 Use `reftex-cite-key-separator'.
4908
4909 * textmodes/reftex-dcr.el: Move provide statement to end of file.
4910 (reftex-mouse-view-crossref): Explain why point is set.
4911
4912 * textmodes/reftex-global.el: Whitespace changes.
4913
4914 * textmodes/reftex-index.el: Move provide statement to end of
4915 file.
4916 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
4917 (reftex-index-visit-phrases-buffer): Set marker when visiting
4918 buffer. This allows for returning from the phrases file to the
4919 file one was just editing instead of the file where the last
4920 phrases was added from.
4921 (reftex-index-phrases-syntax-table): New variable. Give ?\"
4922 punctuation syntax as it usually is not used as string quote in
4923 TeX-related modes and may occur unmatched. The change also
4924 prevents fontification of quoted content.
4925 (reftex-index-phrases-mode): Use it.
4926
4927 * textmodes/reftex-parse.el (reftex-parse-from-file):
4928 Move backward one char if a `\' was matched after a section macro.
4929 (reftex-parse-from-file): Use beginning of match instead of end as
4930 bound.
4931
4932 * textmodes/reftex-ref.el: Adapt creation of
4933 `reftex-<package>-<macro>' functions to new structure of
4934 `reftex-ref-style-alist'.
4935 (reftex-reference): Use `reftex-ref-style-list' function.
4936 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4937 reference macro if `reftex-ref-macro-prompt' is non-nil.
4938 (reftex-reference): Pass refstyle to `reftex-format-special'.
4939 Determine reference macro by looking at
4940 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
4941 Use only one special format function.
4942 (reftex-varioref-vref, reftex-fancyref-fref)
4943 (reftex-fancyref-Fref): Remove definitions. The functions are now
4944 generated from `reftex-ref-style-alist'.
4945 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
4946 Remove.
4947 (reftex-format-special): New function.
4948
4949 * textmodes/reftex-sel.el
4950 (reftex-select-cycle-ref-style-internal): Adapt to new structure
4951 of `reftex-ref-style-alist'. Remove code for testing macro type.
4952 (reftex-select-toggle-varioref)
4953 (reftex-select-toggle-fancyref): Remove.
4954 (reftex-select-cycle-ref-style-internal)
4955 (reftex-select-cycle-ref-style-forward)
4956 (reftex-select-cycle-ref-style-backward): New functions.
4957 (reftex-select-label-map): Use `v' and `V' for general cycling
4958 through reference styles. Add `p' for switching between number
4959 and page reference types.
4960
4961 * textmodes/reftex-toc.el (reftex-re-enlarge):
4962 Call `enlarge-window' only if there is something to do because in Emacs
4963 the horizontal version throws an error even if the parameter is 0.
4964
4965 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
4966 (reftex-plug-into-AUCTeX): Doc fix.
4967 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
4968 string. Adapt to new name.
4969 (reftex-ref-style-alist): Change structure so that it is not
4970 possible to use multiple different package names within a style.
4971 Remove the symbols for symbols for macro type distinction.
4972 Add characters for macro selection.
4973 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
4974 (reftex-create-bibtex-footer): New variables.
4975 (reftex-format-ref-function): Mention third argument of special
4976 format function.
4977 (reftex-ref-style-alist, reftex-ref-style-default-list):
4978 New variables.
4979 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
4980 to new implementation. Mark as obsolete. Add compatibility code
4981 for honoring the variable values in case they are set.
4982 (reftex-cite-format-builtin, reftex-bibliography-commands):
4983 Add support for ConTeXt.
4984 (reftex-format-ref-function, reftex-format-cite-function):
4985 Fix custom type.
4986 (reftex-cite-key-separator): New variable.
4987
4988 * textmodes/reftex.el (reftex-syntax-table-for-bib)
4989 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
4990 `reftex-syntax-table' because parens have to retain their paren
4991 syntax in order for parsing of BibTeX entries like @book(...) to
4992 work.
4993 (reftex-in-comment): Do not error out if `comment-start-skip' is
4994 not set. Deal correctly with escaped comment characters.
4995 (reftex-tie-multifile-symbols): Add doc string.
4996 Initialize `reftex-ref-style-list'.
4997 (reftex-untie-multifile-symbols): Add doc string.
4998 (reftex-add-index-macros): Doc fix.
4999 (reftex-ref-style-activate, reftex-ref-style-toggle)
5000 (reftex-ref-style-list): New functions.
5001 (reftex-mode-menu): Use them. Adapt to new structure of
5002 `reftex-ref-style-alist'.
5003 (reftex-select-with-char): Kill the RefTeX Select buffer when
5004 done.
5005 (reftex-remove-if): New function.
5006 (reftex-erase-all-selection-and-index-buffers)
5007 (reftex-mode-menu): Reference styles are now computed from
5008 `reftex-ref-style-alist'. Fix typo.
5009 (reftex-report-bug): New function.
5010 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5011 algorithms with O(n log n). Introduce optional argument SORT (not
5012 yet used).
5013
5014 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5015
5016 Enhancements for triple-quote string syntax.
5017 * progmodes/python.el (python-syntax-propertize-function):
5018 Match both quote cases in one regexp.
5019 (python-syntax-stringify): Handle matches properly.
5020
5021 2012-09-30 Juri Linkov <juri@jurta.org>
5022
5023 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5024 to nil around the call to `insert' to prevent
5025 directory time modification by lock_file. (Bug#2295)
5026 * tar-mode.el (tar-summarize-buffer): Idem.
5027
5028 2012-09-30 Juri Linkov <juri@jurta.org>
5029
5030 * facemenu.el (list-colors-sort): Add option "Luminance".
5031 (list-colors-sort-key): Implement it.
5032
5033 * vc/diff-mode.el (diff-refine-removed):
5034 * vc/ediff-init.el (ediff-fine-diff-A):
5035 * vc/smerge-mode.el (smerge-refined-removed):
5036 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5037
5038 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5039
5040 * term/ns-win.el (x-file-dialog): New function.
5041
5042 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5043
5044 * ido.el (ido-max-directory-size): Default to nil; the current
5045 default is small for POSIX systems, and impractical on Windows 7
5046 now that lstat returns directory sizes for NTFS.
5047
5048 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5049
5050 In buffer display functions handle window-height/window-width
5051 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5052 * window.el (window--display-buffer): New argument ALIST.
5053 Obey window-height and window-width alist entries.
5054 (window--try-to-split-window): New argument ALIST.
5055 Bind window-combination-limit to t when the window's size shall be
5056 changed and window-combination-limit equals `window-size'.
5057 (display-buffer-in-atom-window)
5058 (display-buffer-in-major-side-window)
5059 (display-buffer-in-side-window, display-buffer-same-window)
5060 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5061 (display-buffer-pop-up-window, display-buffer-below-selected)
5062 (display-buffer-at-bottom, display-buffer-in-previous-window)
5063 (display-buffer-use-some-window): Adjust all callers of
5064 window--display-buffer and window--try-to-split-window.
5065 (fit-frame-to-buffer): New option.
5066 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5067 is non-nil.
5068 (display-buffer-in-major-side-window): Evaluate window-height /
5069 window-width alist entries.
5070
5071 * help.el (temp-buffer-resize-frames)
5072 (temp-buffer-resize-regexps): Remove options.
5073 (temp-buffer-resize-mode): Adjust doc-string.
5074 (resize-temp-buffer-window): Don't consult
5075 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5076 temp-buffer-resize-frames.
5077
5078 * dired.el (dired-mark-pop-up):
5079 Call display-buffer-below-selected with a fit-window-to-buffer alist
5080 entry.
5081
5082 2012-09-30 Chong Yidong <cyd@gnu.org>
5083
5084 * server.el (server-host): Document the security implications.
5085 (server-auth-key): Doc fix.
5086
5087 * startup.el (initial-buffer-choice): Doc fix.
5088
5089 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5090
5091 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5092 restriction change.
5093
5094 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5095
5096 * help-fns.el (help-fns--obsolete): Fix last change.
5097
5098 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5099
5100 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5101 (minor-mode-map-alist): Remove redundant code.
5102
5103 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5104 visited in a buffer.
5105 (cvs-insert-visited-file): New function.
5106 (find-file-hook): Use it.
5107
5108 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5109
5110 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5111 chose face.
5112 (log-edit-empty-buffer-p): Don't require a space after a header.
5113
5114 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5115
5116 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5117
5118 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5119 a proper minor-mode.
5120
5121 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5122
5123 2012-09-29 Glenn Morris <rgm@gnu.org>
5124
5125 * winner.el (winner-mode): Remove variable (let define-minor-mode
5126 handle it).
5127 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5128 Doc fixes.
5129 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5130 (winner-mode): Use define-minor-mode.
5131
5132 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5133 the full definition in loaddefs, rather than duplicating it.
5134
5135 * help-macro.el (three-step-help): No need to autoload defcustom.
5136
5137 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5138 (inferior-lisp-program, inferior-lisp-load-command)
5139 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5140 No need to autoload defcustoms.
5141
5142 * hippie-exp.el (hippie-expand-try-functions-list)
5143 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5144 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5145 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5146 (hippie-expand-only-buffers): No need to autoload defcustoms.
5147 * progmodes/vhdl-mode.el (vhdl-line-expand):
5148 Explicitly load hippie-exp, so it does not get autoloaded
5149 while hippie-expand-try-functions-list is let-bound.
5150
5151 2012-09-28 Glenn Morris <rgm@gnu.org>
5152
5153 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5154
5155 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5156 Only "cl.el" counts as cl these days.
5157
5158 2012-09-28 Juri Linkov <juri@jurta.org>
5159
5160 Display archive errors in the echo area instead of inserting
5161 to the file buffer.
5162
5163 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5164 to STDERR-TEST that can be a regexp matching a successful output.
5165 Create a temporary file and redirect stderr to it. Search for
5166 STDERR-TEST in the stderr output and display it in the echo area
5167 if no match is found.
5168 (archive-extract-by-file): New function like
5169 `archive-extract-by-stdout' but extracting archives to files
5170 and looking for successful matches in stdout. Function body is
5171 mostly copied from `archive-rar-extract'.
5172 (archive-rar-extract): Use `archive-extract-by-file'.
5173 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5174
5175 2012-09-28 Leo Liu <sdl.web@gmail.com>
5176
5177 * pcomplete.el (pcomplete-show-completions):
5178 Use minibuffer-message to make pcomplete usable in minibuffer.
5179
5180 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5181
5182 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5183
5184 * type-break.el: Use lexical-binding.
5185 (type-break-mode): Use define-minor-mode.
5186
5187 * emacs-lisp/pcase.el (pcase--mark-used): New.
5188 (pcase--u1): Use it (bug#12512).
5189
5190 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5191 in load-history with the right file name.
5192
5193 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5194
5195 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5196 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5197 (doc-view-get-bounding-box): Make bounding box slicing work for
5198 ODF and DVI documents.
5199
5200 2012-09-28 Glenn Morris <rgm@gnu.org>
5201
5202 * type-break.el (type-break-mode, type-break-interval)
5203 (type-break-good-rest-interval, type-break-keystroke-threshold):
5204 No need to autoload.
5205 (type-break-good-rest-interval, type-break-keystroke-threshold):
5206 Add :set-after.
5207
5208 2012-09-28 Chong Yidong <cyd@gnu.org>
5209
5210 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5211 Add :version tag.
5212
5213 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5214
5215 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5216
5217 2012-09-27 Glenn Morris <rgm@gnu.org>
5218
5219 * faces.el (x-display-name): Declare (for without-x builds).
5220
5221 * linum.el (linum-format): Don't autoload it. Improve :type.
5222
5223 * progmodes/tcl.el: Don't require outline when compiling.
5224 (outline-regexp, outline-level): Declare.
5225 * textmodes/sgml-mode.el: Don't require outline when compiling.
5226 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5227
5228 * term.el (term-ansi-reset):
5229 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5230
5231 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5232 files for RCS and SCCS. (Bug#9781)
5233
5234 2012-09-27 Chong Yidong <cyd@gnu.org>
5235
5236 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5237 change; value should be t.
5238
5239 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5240
5241 * image-mode.el: Use lexical-binding.
5242 (image-mode-winprops): Use t to stand for the window of
5243 a buffer that's not displayed.
5244 * doc-view.el (doc-view-new-window-function): Handle the new
5245 t in winprops.
5246 (doc-view-enlarge): Make it a real nop if the size is not changed.
5247 (doc-view-display): Handle the case where the buffer is not (yet?)
5248 displayed in any window.
5249 (doc-view-saved-settings): New var.
5250 (doc-view-mode): Use it.
5251 (doc-view-fallback-mode): Set it.
5252
5253 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5254 Set lexical-binding.
5255 (minibuffer-eldef-shorten-default): New var.
5256 (minibuffer-default-in-prompt-regexps): Use it for new default.
5257 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5258
5259 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5260
5261 * international/uni-bidi.el:
5262 * international/uni-category.el:
5263 * international/uni-name.el:
5264 * international/uni-numeric.el: Regenerate.
5265
5266 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5267 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * profiler.el: New file.
5270
5271 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5274 (testcover-reinstrument): Simplify with CSE.
5275
5276 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5277
5278 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5279
5280 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5281
5282 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5283 (verilog-auto-input, verilog-auto-insert-lisp)
5284 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5285 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5286 (verilog-auto-unused, verilog-auto-wire)
5287 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5288 newline. Reported by Andrew Jones.
5289 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5290 Reported by Brad Dobbie.
5291 (verilog-batch-delete-trailing-whitespace):
5292 Create verilog-batch-delete-trailing-whitespace.
5293 Reported by Brad Dobbie.
5294 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5295 parameters from another module. Reported by Dan Katz.
5296 (verilog-auto, verilog-auto-assign-modport)
5297 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5298 AUTOINOUTMODPORT for UVM interface module shell generation.
5299 Reported by Brad Dobbie.
5300 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5301 standard behavior.
5302 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5303 Reported by Matt Martin.
5304
5305 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5306
5307 * window.el (window--resize-child-windows): When resizing child
5308 windows proportionally, process them in reverse order to
5309 preserve the "when splitting a window the new one gets the odd
5310 line" behavior.
5311 (window--resize-root-window-vertically): When resizing the
5312 minibuffer window try to affect only windows at the bottom of the
5313 frame. (Bug#12419)
5314
5315 2012-09-25 Chong Yidong <cyd@gnu.org>
5316
5317 * subr.el (declare): Doc fix.
5318
5319 * help-fns.el (help-fns--obsolete): Handle macros properly.
5320
5321 2012-09-25 Chong Yidong <cyd@gnu.org>
5322
5323 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5324 this function obsolete.
5325
5326 * calendar/cal-x.el (calendar-two-frame-setup)
5327 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5328 * calendar/calendar.el (american-calendar, european-calendar)
5329 (calendar-for-loop):
5330 * comint.el (comint-dynamic-simple-complete)
5331 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5332 * desktop.el (desktop-load-default):
5333 * dired-x.el (dired-omit-here-always)
5334 (dired-hack-local-variables, dired-default-directory):
5335 * emacs-lisp/derived.el (derived-mode-class):
5336 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5337 * emacs-lock.el (toggle-emacs-lock):
5338 * epa.el (epa-display-verify-result):
5339 * epg.el (epg-sign-keys, epg-start-sign-keys)
5340 (epg-passphrase-callback-function):
5341 * eshell/esh-util.el (eshell-for):
5342 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5343 (eshell-add-to-window-buffer-names):
5344 * files.el (locate-file-completion):
5345 * imenu.el (imenu-example--create-c-index)
5346 (imenu-example--create-lisp-index)
5347 (imenu-example--lisp-extract-index-name)
5348 (imenu-example--name-and-position):
5349 * international/mule-cmds.el (princ-list):
5350 * international/mule-diag.el (decode-codepage-char):
5351 * international/mule-util.el (detect-coding-with-priority):
5352 * iswitchb.el (iswitchb-read-buffer):
5353 * mail/mailalias.el (mail-complete):
5354 * mail/sendmail.el (mail-sent-via):
5355 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5356 (mouse-major-mode-menu):
5357 * password-cache.el (password-read-and-add):
5358 * pcomplete.el (pcomplete-parse-comint-arguments):
5359 * progmodes/sh-script.el (sh-maybe-here-document):
5360 * replace.el (query-replace-regexp-eval):
5361 * savehist.el (savehist-load):
5362 * simple.el (choose-completion-delete-max-match):
5363 * term.el (term-dynamic-simple-complete):
5364 * vc/ediff-init.el (ediff-check-version):
5365 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5366 * vc/vc.el (vc-diff-switches-list):
5367 * view.el (view-return-to-alist-update): Likewise.
5368
5369 * subr.el (eval-next-after-load, makehash, insert-string)
5370 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5371 mark obsolete.
5372 (mode-line-inverse-video): Variable deleted.
5373
5374 * international/mule-util.el (string-to-sequence): Remove.
5375
5376 * calendar/calendar.el (calendar-version):
5377 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5378 (icalendar-convert-diary-to-ical):
5379 * cus-edit.el (custom-mode):
5380 * ansi-color.el (ansi-color-unfontify-region):
5381 * international/latin1-disp.el (latin1-char-displayable-p):
5382 * progmodes/cwarn.el (turn-on-cwarn-mode):
5383 * progmodes/which-func.el (which-func-update-1):
5384 Use define-obsolete-function-alias.
5385
5386 * net/newst-backend.el (newsticker-cache-filename):
5387 * net/newst-treeview.el (newsticker-groups-filename):
5388 Fix incorrect obsolescence declaration.
5389
5390 * allout.el (allout-passphrase-hint-string): Likewise.
5391 (allout-init): Use a declare form to mark obsolete.
5392
5393 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5394 this applies to functions.
5395
5396 * iswitchb.el (iswitchb-read-buffer): Move code of
5397 iswitchb-define-mode-map here, and delete that obsolete function.
5398
5399 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5400 font-lock-reference-face.
5401
5402 2012-09-25 Glenn Morris <rgm@gnu.org>
5403
5404 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5405 Doc fixes.
5406
5407 * eshell/em-term.el (eshell-term-name):
5408 Default to term-term-name. (Bug#12485)
5409
5410 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5411
5412 * progmodes/python.el (python-shell-send-buffer): Better handling
5413 of "if __name__ == '__main__':" conditionals when sending the buffer.
5414
5415 2012-09-24 Glenn Morris <rgm@gnu.org>
5416
5417 * eshell/esh-cmd.el (eshell-find-alias-function):
5418 Tighten up file-name regexp. (Bug#12499)
5419
5420 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5421
5422 Enhancements for triple-quote string syntax.
5423 * progmodes/python.el (python-quote-syntax): Remove.
5424 (python-syntax-propertize-function): New value.
5425 (python-syntax-count-quotes, python-syntax-stringify):
5426 New functions.
5427
5428 2012-09-24 Chong Yidong <cyd@gnu.org>
5429
5430 * mail/supercite.el (sc-version): Remove obsolete function.
5431 (sc-describe): Don't mark as obsolete, since it is bound.
5432 (sc-submit-bug-report): Remove.
5433
5434 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5435 (cvs-commit-buffer-require-final-newline): Remove.
5436 (log-edit-require-final-newline)
5437 (log-edit-changelog-full-paragraphs): Default to t.
5438
5439 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5440 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5441 * vc/vc.el (vc-checkout-carefully): Likewise.
5442
5443 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5444 (emerge-version): Remove.
5445
5446 * progmodes/compile.el (compile-internal): Remove.
5447 (compilation-parse-errors-function): Fix typo.
5448
5449 * international/mule.el (set-char-table-default): Remove.
5450 (set-coding-priority, make-coding-system, generic-char-p)
5451 (charset-list, charset-bytes, charset-id): Use declare to mark
5452 functions as obsolete.
5453
5454 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5455 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5456 * vc/vc-hooks.el (vc-default-registered): Don't use
5457 vc-master-templates.
5458
5459 * font-lock.el (font-lock-reference-face):
5460 Use define-obsolete-variable-alias.
5461
5462 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5463 * calendar/calendar.el (calendar-font-lock-keywords):
5464 * calendar/diary-lib.el (diary-font-lock-keywords)
5465 (diary-fancy-font-lock-keywords):
5466 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5467 * textmodes/reftex-index.el (reftex-insert-index):
5468 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5469 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5470 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5471 * progmodes/prolog.el (prolog-font-lock-keywords):
5472 * progmodes/idlwave.el (idlwave-idl-keywords):
5473 * progmodes/ada-mode.el (ada-font-lock-keywords):
5474 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5475
5476 2012-09-24 Glenn Morris <rgm@gnu.org>
5477
5478 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5479
5480 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5481
5482 * progmodes/python.el (python-indent-line): More consistent cursor
5483 movement behavior.
5484
5485 2012-09-23 Stefan Merten <smerten@oekonux.de>
5486
5487 * textmodes/rst.el: Fix compiler warning.
5488
5489 2012-09-23 Roland Winkler <winkler@gnu.org>
5490
5491 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5492 Transcribe also LaTeX hyphenation.
5493 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5494 bibtex-reformat-previous-options.
5495
5496 2012-09-23 Roland Winkler <winkler@gnu.org>
5497
5498 * proced.el (proced-renice-command): New variable.
5499 (proced-marked-processes): New function.
5500 (proced-with-processes-buffer): New macro.
5501 (proced-send-signal): Use them.
5502 (proced-renice): New command bound to r.
5503
5504 2012-09-23 Roland Winkler <winkler@gnu.org>
5505
5506 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5507 ibuffer-saved-filter-groups has one element, shortcut the call of
5508 completing-read. (Bug#12331)
5509
5510 2012-09-23 Chong Yidong <cyd@gnu.org>
5511
5512 * bindings.el (mode-line-toggle-read-only):
5513 * bs.el (bs-toggle-readonly):
5514 * buff-menu.el (Buffer-menu-toggle-read-only):
5515 * dired.el (dired-toggle-read-only):
5516 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5517
5518 2012-09-23 Chong Yidong <cyd@gnu.org>
5519
5520 * image.el (image-type-available-p): Adapt to init-image-library
5521 argument changes.
5522
5523 2012-09-22 Juri Linkov <juri@jurta.org>
5524
5525 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5526 `dired-toggle-read-only'. (Bug#12462)
5527
5528 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5529
5530 * subr.el (temp-output-buffer-show): New function.
5531 (with-output-to-temp-buffer): Call temp-output-buffer-show
5532 instead of internal-temp-output-buffer-show.
5533
5534 2012-09-22 Chong Yidong <cyd@gnu.org>
5535
5536 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5537 (Bug#12462).
5538
5539 * repeat.el (repeat): Doc fix (Bug#12348).
5540
5541 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5542 (Bug#10909).
5543
5544 * simple.el (shell-command-on-region): Doc fix.
5545 (read-only-mode): Doc fix.
5546
5547 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5548
5549 * emacs-lisp/timer.el (run-with-idle-timer)
5550 (timer-activate-when-idle): Warn against reinvoking an idle timer
5551 from within its own timer action. (Bug#12447)
5552
5553 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5554
5555 * cus-start.el (window-combination-limit): Add new optional
5556 values.
5557 * window.el (temp-buffer-window-show)
5558 (window--try-to-split-window): Handle new values of
5559 window-combination-limit (Bug#1806).
5560 (split-window): Test window-combination-limit for t instead of
5561 non-nil.
5562 (display-buffer-at-bottom): New buffer display action function.
5563 * help.el (temp-buffer-resize-regexps): New option.
5564 (temp-buffer-resize-mode): Rewrite doc-string.
5565 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5566 Don't resize reused window. Suggested by Glenn Morris.
5567
5568 2012-09-22 Stefan Merten <smerten@oekonux.de>
5569
5570 * textmodes/rst.el: Revamp section title faces.
5571 (rst-official-version)
5572 (rst-package-emacs-version-alist): Sync with official version
5573 V1.4.0.
5574 (rst-faces-defaults, rst-set-level-default)
5575 (rst-level-face-max, rst-level-face-base-color)
5576 (rst-level-face-base-light, rst-level-face-format-light)
5577 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5578 (rst-adornment-faces-alist): Match new setup.
5579 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5580 (rst-level-5, rst-level-6): New faces.
5581
5582 2012-09-22 Chong Yidong <cyd@gnu.org>
5583
5584 * simple.el (undo): Handle indirect buffers (Bug#8207).
5585
5586 2012-09-21 Leo Liu <sdl.web@gmail.com>
5587
5588 IDO: Disable match re-ordering for buffer switching.
5589 * ido.el (ido-buffer-disable-smart-matches): New variable.
5590 (ido-set-matches-1): Use it. (Bug#2042)
5591
5592 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5593
5594 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5595 Fix 2011-05-17 change. (Bug#12418)
5596
5597 2012-09-21 Leo Liu <sdl.web@gmail.com>
5598
5599 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5600
5601 2012-09-21 Glenn Morris <rgm@gnu.org>
5602
5603 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5604 Be more robust about locating simple.el.
5605
5606 2012-09-21 Glenn Morris <rgm@gnu.org>
5607
5608 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5609
5610 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5611
5612 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5613
5614 2012-09-20 Juri Linkov <juri@jurta.org>
5615
5616 * replace.el (query-replace-read-from): Use `read-regexp' instead
5617 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5618 (occur-read-primary-args): Use `read-regexp' instead of
5619 `read-string'.
5620 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5621 `read-from-minibuffer'.
5622 * isearch.el (isearch-occur): Use `read-regexp' instead of
5623 `read-string'.
5624 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5625 `read-from-minibuffer'.
5626 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5627 of `read-string'. (Bug#7567)
5628
5629 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5630 and allow accepting a list of strings prepended to a list of
5631 standard default values. Doc fix. (Bug#12321)
5632
5633 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5634
5635 * replace.el (read-regexp): Don't add ": " when PROMPT already
5636 ends with a colon and space. (Bug#12321)
5637
5638 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5639
5640 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5641 error.
5642
5643 2012-09-20 Stefan Merten <smerten@oekonux.de>
5644
5645 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5646 Fixes feature request bug#11711.
5647 (rst-mode): Create `imenu-create-index-function'.
5648 (rst-get-stripped-line): Delete after refactoring.
5649 (rst-section-tree, rst-section-tree-rec)
5650 (rst-section-tree-point): Refactor and document properly.
5651 (rst-imenu-find-adornments-for-position)
5652 (rst-imenu-convert-cell, rst-imenu-create-index):
5653 New function.
5654
5655 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5656
5657 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5658 (macroexp--expand-all): Use it.
5659 (macroexp--funcall-and-return): Remove by folding it into its sole
5660 caller (macroexp--warn-and-return).
5661 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5662 Use macroexp--obsolete-warning.
5663
5664 * calc/calc.el: Fix last change by removing the whole chunk, since it
5665 was only needed back when Calc was not bundled.
5666
5667 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5668
5669 * emacs-lisp/debug.el (debug): Restore assignment to
5670 debugger-old-buffer removed on 2012-09-08.
5671
5672 2012-09-20 Juri Linkov <juri@jurta.org>
5673
5674 * dired-aux.el (dired-diff): Remove (require 'diff) since
5675 `diff-latest-backup-file' is now autoloaded.
5676
5677 2012-09-20 Chong Yidong <cyd@gnu.org>
5678
5679 * vc/diff.el (diff-latest-backup-file): Autoload.
5680
5681 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5682
5683 * calc/calc.el: Remove redundant autoload shape check.
5684 (sel-mode): Don't defvar.
5685 (calc-get-stack-element): Add `sel-mode' arg instead.
5686 (calc-top, calc-top-list): Pass it this additional argument.
5687 * calc/calc-store.el (calc-store-map):
5688 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5689 (calc-map-equation, calc-outer-product, calc-inner-product):
5690 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5691
5692 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5693
5694 2012-09-19 Juri Linkov <juri@jurta.org>
5695
5696 * dired-aux.el (dired-diff): Add (require 'diff) because
5697 `diff-latest-backup-file' is not autoloaded.
5698 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5699 of `dired-get-filename' to t to not report error when there is
5700 no default file on the current line.
5701
5702 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5703
5704 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5705 macroexp--eval-if-compile.
5706 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5707 (macroexp--expand-all): Use them (bug#12371).
5708
5709 * doc-view.el (doc-view-guess-paper-size)
5710 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5711
5712 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5713
5714 New feature: set optimal slice from BoundingBox information.
5715 * doc-view.el (doc-view-mode-map): Add keybinding.
5716 (doc-view-menu): Add menu entry.
5717 (doc-view-set-slice): Adapt docstring.
5718 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5719 (doc-view-scale-bounding-box)
5720 (doc-view-set-slice-from-bounding-box): New functions.
5721 (doc-view-paper-sizes): New defvar.
5722
5723 2012-09-19 Glenn Morris <rgm@gnu.org>
5724
5725 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5726 (byte-compile-log-warning): Autoload. (Bug#12371)
5727
5728 * calendar/calendar.el (calendar-american-month-header)
5729 (calendar-european-month-header, calendar-iso-month-header)
5730 (calendar-month-header): New options.
5731 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5732 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5733
5734 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5735
5736 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5737
5738 2012-09-18 Juri Linkov <juri@jurta.org>
5739
5740 * dired-aux.el (dired-diff): Restore original functionality of
5741 getting the default value, but keep new feature of using the
5742 latest existing backup file (`diff-latest-backup-file').
5743
5744 2012-09-18 Juri Linkov <juri@jurta.org>
5745
5746 * dired.el (dired-mark): If the region is active in Transient Mark
5747 mode, mark all files in the active region. Doc fix.
5748 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5749 Doc fix. (Bug#10624)
5750
5751 2012-09-18 Juri Linkov <juri@jurta.org>
5752
5753 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5754 attributes for M-n are pulled from the file at point.
5755 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5756 Suggested by Drew Adams. (Bug#10624)
5757
5758 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5759
5760 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5761 whitespace after "end".
5762 (ruby-do-end-to-brace): Collapse block to one line if it fits
5763 within fill-column.
5764
5765 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5766
5767 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5768 value.
5769 (debug): Don't remove debugger window when debugger is expected
5770 to be back.
5771
5772 2012-09-18 Chong Yidong <cyd@gnu.org>
5773
5774 * custom.el (defface): Doc fix.
5775
5776 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5777
5778 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5779
5780 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5781 to initialize query-on-exit; then test that instead (bug#12288).
5782
5783 2012-09-17 Stefan Merten <smerten@oekonux.de>
5784
5785 * textmodes/rst.el: Add support for `testcover'.
5786 (rst-defcustom-testcover, rst-testcover-add-compose)
5787 (rst-testcover-add-1value): New functions.
5788 (rst-portable-mark-active-p): Replace by `use-region-p'.
5789 (rst-update-section, rst-classify-adornment)
5790 (rst-find-title-line): Mark `1value' forms.
5791 (rst-classify-adornment): Remove superfluous form.
5792 (rst-update-section, rst-get-adornments-around)
5793 (rst-adornment-complete-p, rst-get-next-adornment)
5794 (rst-adjust, rst-promote-region)
5795 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5796 (rst-find-pfx-in-region, rst-section-tree-rec)
5797 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5798 (rst-toc-node, rst-toc, rst-forward-section)
5799 (rst-iterate-leftmost-paragraphs)
5800 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5801 (rst-bullet-list-region)
5802 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5803 (rst-compile-find-conf, rst-compile)
5804 (rst-repeat-last-character): Fix style.
5805
5806 2012-09-17 Chong Yidong <cyd@gnu.org>
5807
5808 * comint.el (comint--complete-file-name-data): Don't add a space
5809 if the status is `sole'; that adds a gratuitous space in the
5810 completion-cycling case (Bug#12092).
5811
5812 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5813
5814 2012-09-17 Richard Stallman <rms@gnu.org>
5815
5816 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5817 only in the mime-shown mode, not in raw mode.
5818 (rmail-mime): Toggle off mime by displaying the message without
5819 mime processing. (Bug#12305)
5820
5821 * mail/rmail.el (rmail-retry-failure):
5822 Turn off mime processing first. (Bug#12037)
5823
5824 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5825
5826 2012-09-17 Chong Yidong <cyd@gnu.org>
5827
5828 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5829 (shell-dynamic-complete-functions): Convert to defcustom.
5830 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5831
5832 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5833 * comint.el (comint-prompt-read-only):
5834 * custom.el (defcustom):
5835 * hi-lock.el (hi-lock-mode):
5836 * ibuffer.el (ibuffer-formats):
5837 * ielm.el (ielm-prompt-read-only):
5838 * novice.el (disable-command):
5839 * saveplace.el (toggle-save-place):
5840 * speedbar.el (speedbar-supported-extension-expressions):
5841 * startup.el (auto-save-list-file-prefix, init-file-user)
5842 (after-init-hook, inhibit-startup-echo-area-message):
5843 * strokes.el (strokes-help):
5844 * time-stamp.el (time-stamp):
5845 * calendar/calendar.el (calendar, diary-file):
5846 * calendar/diary-lib.el (diary-mail-entries, diary)
5847 (diary-list-entries-hook):
5848 * calendar/holidays.el (holidays, calendar-holidays):
5849 * calendar/lunar.el (lunar-phases):
5850 * calendar/solar.el (sunrise-sunset):
5851 * emulation/edt.el (edt-load-keys):
5852 * emulation/viper.el (viper-mode):
5853 * eshell/em-alias.el (eshell-command-aliases-list):
5854 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5855 * international/ogonek.el (ogonek-information):
5856 * net/tramp-cmds.el (tramp-bug):
5857 * net/quickurl.el (quickurl-reread-hook-postfix):
5858 * play/decipher.el (decipher-font-lock-keywords):
5859 * progmodes/cc-styles.el (c-set-style):
5860 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5861 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5862 * progmodes/octave-mod.el (octave-mode):
5863 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5864 * progmodes/verilog-mode.el (verilog-read-defines):
5865 * textmodes/two-column.el (2C-mode): Likewise.
5866
5867 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5868
5869 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5870 that holds many addresses.
5871
5872 2012-09-16 Chong Yidong <cyd@gnu.org>
5873
5874 * align.el (align-areas): Call the indication function with
5875 positions instead of markers for arguments (Bug#12343).
5876
5877 * files.el (parse-colon-path): Use split-string (Bug#12351).
5878
5879 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5880 (display-buffer-function): Mark as obsolete.
5881
5882 * progmodes/compile.el (compilation-parse-errors): Accept list
5883 values similar to font-lock-keywords (Bug#12136).
5884 Suggested by Oleksandr Manzyuk.
5885 (compilation-error-regexp-alist): Doc fix.
5886
5887 2012-09-15 Glenn Morris <rgm@gnu.org>
5888
5889 * version.el (emacs-bzr-version-bzr): New function.
5890 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5891
5892 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5893 checkouts, check the parent dirstate matches the branch.
5894 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5895 empty string.
5896
5897 * version.el (emacs-bzr-version): Doc fix.
5898 (emacs-bzr-version-dirstate): New function.
5899 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5900 is local try and check that it matches the branch. If not, just
5901 use dirstate information. (Bug#12441)
5902
5903 2012-09-14 Juri Linkov <juri@jurta.org>
5904
5905 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
5906 (Bug#12399)
5907
5908 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5909
5910 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
5911
5912 * emacs-lisp/edebug.el: Miscellaneous cleanup.
5913 Remove obsolete byte-compiler hack that tried to silence some warnings.
5914 (edebug-submit-bug-report): Remove.
5915 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
5916 Remove aliases, use the un-prefixed name instead.
5917 (edebug-pop-to-buffer): Consider other frames.
5918 (edebug-original-read):: Make it more obvious that it's always defined.
5919 (edebug--make-form-data-entry, edebug--form-data-name)
5920 (edebug--form-data-begin, edebug--form-data-end): Rename from the
5921 single-dashed name, and implement with cl-defstruct.
5922 (edebug-set-form-data-entry): Use the standard accessors.
5923 (edebug-make-top-form-data-entry): Use push.
5924 (edebug-no-match): Drop useless `funcall'.
5925 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
5926 to functions.
5927 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
5928 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
5929 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
5930 (easy-menu-define, with-custom-print): Remove redundant specs.
5931 (edebug-outside-overriding-local-map)
5932 (edebug-outside-overriding-terminal-local-map): Remove, unused.
5933 (edebug--display): Bind unread-command-events directly to nil rather
5934 than binding it to unread-command-events and later setting it to nil.
5935 (edebug--display): Kill edebug-eval-buffer here...
5936 (edebug--recursive-edit): ...rather than here.
5937 Bind standard-output and standard-input.
5938 (edebug-eval): Check cl-macroexpand-all is fboundp.
5939 (edebug-temp-display-freq-count): Fix last change.
5940
5941 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
5942 * subr.el (noreturn, 1value): Add `debug' spec.
5943 * emacs-lisp/advice.el: Require cl-lib.
5944 (ad-copy-tree): Remove, use copy-tree instead.
5945 (ad-dolist): Remove use dolist or cl-dolist instead.
5946 (ad-do-return): Remove, use cl-return instead.
5947 (defadvice): Add `debug' spec.
5948
5949 2012-09-13 Juri Linkov <juri@jurta.org>
5950
5951 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
5952 (Bug#12399)
5953
5954 2012-09-13 Glenn Morris <rgm@gnu.org>
5955
5956 * calc/calc.el (math-compose-expr):
5957 * calc/calc-ext.el (math-compose-expr):
5958 * progmodes/cc-defs.el (cl-macroexpand-all):
5959 * progmodes/cc-langs.el (delete-duplicates, mapcan)
5960 (cl-macroexpand-all): Update declarations.
5961
5962 * vc/vc.el: No need to require ediff.
5963 (ediff-load-version-control): Declare.
5964 (ediff-vc-internal): Fix declaration.
5965 (vc-version-ediff): Require ediff.
5966
5967 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5968
5969 Use a more backwards-compatible timer format (Bug#12430).
5970 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
5971 being right after USECS, as that better supports old code that
5972 inadvisedly looked directly at the timer vector.
5973
5974 2012-09-13 Kenichi Handa <handa@gnu.org>
5975
5976 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
5977 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
5978 `coding-priority' property of these language environment.
5979
5980 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
5981
5982 Fix glitches caused by addition of psec to timers (Bug#12430).
5983 * image.el (image-animate-timer):
5984 * time.el (display-time-world-timer):
5985 Use timer--function and timer--args rather than raw access to
5986 timer vector.
5987
5988 2012-09-13 Glenn Morris <rgm@gnu.org>
5989
5990 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
5991 If not compiling a file, try using load-file-name.
5992
5993 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5994
5995 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
5996 Fix last change.
5997 (edebug-update-eval-list): Use `push'.
5998
5999 * emacs-lisp/edebug.el: Use lexical-binding.
6000 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6001 Mark unused args with underscore.
6002 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6003 (edebug-form-data): Use defvar-local.
6004 (edebug-make-before-and-after-form, edebug-make-after-form):
6005 Use backquote.
6006 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6007 Not dynamically scoped any more.
6008 (edebug--enter-trace): Add arguments `function' and `args'.
6009 Rename from edebug-enter-trace.
6010 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6011 (edebug--update-coverage): Add `after-index' and `value' args.
6012 Rename from edebug-update-coverage.
6013 (edebug-slow-after): Call it accordingly.
6014 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6015 edebug-recursive-edit.
6016 (edebug--display): Call it accordingly. Add args `value',
6017 `offset-index', and `arg-mode'. Rename from edebug-display.
6018 (edebug-debugger, edebug): Call it accordingly.
6019 (edebug-eval-display-list): Use dolist.
6020
6021 2012-09-12 Juri Linkov <juri@jurta.org>
6022
6023 * info.el (Info-search): Don't check for isearch-mode and
6024 isearch-regexp before let-binding search-spaces-regexp to
6025 Info-search-whitespace-regexp.
6026 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6027 search-whitespace-regexp if isearch-lax-whitespace or
6028 isearch-regexp-lax-whitespace is non-nil.
6029 (Info-mode): Don't set local variable search-whitespace-regexp.
6030 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6031
6032 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6033
6034 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6035 (debugger-env-macro): Remove support for unread-command-char.
6036
6037 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6038 the temporary map re-appearing on emulation-mode-map-alists.
6039
6040 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6041 since 22.1.
6042
6043 * ehelp.el (with-electric-help): Accept functions in
6044 electric-help-form-to-execute.
6045 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6046 And replace unread-command-char -> unread-command-events.
6047
6048 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6049
6050 Sync with Tramp 2.2.6.
6051
6052 * net/tramp.el (tramp-accept-process-output): Don't use
6053 JUST-THIS-ONE in the XEmacs case.
6054
6055 * net/trampver.el: Update release number.
6056
6057 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6058
6059 * emacs-lisp/debug.el (debugger-previous-window-height):
6060 New variable.
6061 (debug): When debugger-jumping-flag is non-nil try to restore
6062 height of debugger window. (Bug#8789)
6063
6064 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6065
6066 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6067 overriding-local-map and pre/post-command-hook here.
6068 (edebug-recursive-edit): Do it here instead (bug#12345).
6069 (edebug-outside-unread-command-char): Remove all uses of
6070 unread-command-char.
6071
6072 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6073 inhibit-debugger is bound instead.
6074
6075 2012-09-11 Bastien Guerry <bzg@gnu.org>
6076
6077 * subr.el (set-temporary-overlay-map): Add a docstring.
6078 (Bug#12346)
6079
6080 2012-09-11 Bastien Guerry <bzg@gnu.org>
6081
6082 * minibuffer.el (completion-table-subvert): Fix docstring.
6083 (Bug#12347)
6084
6085 2012-09-11 Bastien Guerry <bzg@gnu.org>
6086
6087 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6088
6089 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6090
6091 * progmodes/sql.el: Version 3.1
6092 (sql-db2-escape-newlines): New variable.
6093 (sql-escape-newlines-filter): Use it.
6094
6095 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6096
6097 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6098
6099 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6100
6101 * vc/diff-mode.el (diff-mode-menu):
6102 Bind diff-remove-trailing-whitespace.
6103
6104 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6105
6106 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6107 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6108 (emacs-lisp-byte-code-mode): New functions.
6109 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6110 (eval-defun-2): Remove bogus interactive spec.
6111 (lisp-indent-line): Remove redundant whole-exp code, now done in
6112 indent-according-to-mode.
6113 (save-match-data): Remove redundant indent data.
6114
6115 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6116 Use `declare'.
6117
6118 2012-09-09 Juri Linkov <juri@jurta.org>
6119
6120 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6121 (replace-lax-whitespace, query-replace-regexp)
6122 (query-replace-regexp-eval, replace-regexp): Doc fix.
6123 (perform-replace, replace-highlight): Let-bind
6124 isearch-lax-whitespace to replace-lax-whitespace and
6125 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6126
6127 * isearch.el (isearch-query-replace): Let-bind
6128 replace-lax-whitespace to isearch-lax-whitespace and
6129 replace-regexp-lax-whitespace to
6130 isearch-regexp-lax-whitespace. (Bug#10885)
6131
6132 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6133
6134 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6135
6136 2012-09-09 Alan Mackenzie <acm@muc.de>
6137
6138 * progmodes/cc-engine.el (c-state-cache-init):
6139 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6140 (c-record-parse-state-state):
6141 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6142
6143 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6144
6145 * register.el (register-separator): Rename from
6146 separator-register. All uses changed. Doc fix.
6147 (register): Fix version.
6148
6149 2012-09-09 Chong Yidong <cyd@gnu.org>
6150
6151 * replace.el (query-replace-map): Bind four new symbols for
6152 requesting window scrolling.
6153
6154 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6155 query-replace-map (Bug#8948).
6156
6157 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6158
6159 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6160 since they are now in query-replace-map.
6161
6162 * window.el (scroll-other-window-down): Make the arg optional.
6163
6164 2012-09-09 Chong Yidong <cyd@gnu.org>
6165
6166 * files.el (hack-local-variables-confirm): Use quit-window to kill
6167 the *Local Variables* buffer.
6168
6169 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6170
6171 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6172 not just expect to be at its beginning. Adjust callees.
6173 Succeed when do-end block has no space before the pipe character.
6174 (ruby-brace-to-do-end): When the original block is one-liner,
6175 convert to multiline. Reindent the result.
6176
6177 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6178
6179 * register.el (register): New group.
6180 (separator-register): New user option.
6181 (increment-register): Route it to `append-to-register', if
6182 register contains text. Implication is that `C-x r +' can now be
6183 used for appending to a text register (bug#12217).
6184 (append-to-register, prepend-to-register): Add separator based on
6185 `separator-register'.
6186
6187 2012-09-08 Alan Mackenzie <acm@muc.de>
6188
6189 AWK Mode: make auto-newline work when there's "==" in the pattern.
6190 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6191 correctly.
6192 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6193 Test more rigorously for "=" token.
6194
6195 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6196
6197 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6198 Only fail when reached LIMIT.
6199
6200 2012-09-08 Chong Yidong <cyd@gnu.org>
6201
6202 * dired.el (dired-mode-map): Don't bind M-=.
6203
6204 * dired-aux.el (dired-diff): Use backup file as default.
6205
6206 2012-09-08 Drew Adams <drew.adams@oracle.com>
6207
6208 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6209
6210 2012-09-08 Chong Yidong <cyd@gnu.org>
6211
6212 * subr.el (syntax-after, syntax-class): Doc fix.
6213
6214 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6215
6216 * window.el (display-buffer-in-previous-window): New buffer
6217 display action function.
6218
6219 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6220 (debugger-previous-window): New variable.
6221 (debug): Rewrite using display-buffer-in-previous-window,
6222 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6223
6224 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6225
6226 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6227
6228 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6229
6230 * progmodes/python.el (python-shell-send-string):
6231 When default-directory is remote, create temp file on remote
6232 filesystem.
6233 (python-shell-send-file): When file is remote, pass local view of
6234 file paths to remote Python interpreter. (Bug#12340)
6235
6236 2012-09-07 Chong Yidong <cyd@gnu.org>
6237
6238 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6239
6240 * files.el (after-find-file): Don't fail on a read-only buffer if
6241 require-final-newline is `visit' or `visit-save' (Bug#11156).
6242
6243 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6244
6245 * userlock.el (ask-user-about-supersession-threat):
6246 Use read-char-choice (Bug#12093).
6247
6248 2012-09-07 Chong Yidong <cyd@gnu.org>
6249
6250 * subr.el (buffer-narrowed-p): New function.
6251
6252 * ses.el (ses-widen):
6253 * simple.el (count-words--buffer-message):
6254 * net/browse-url.el (browse-url-of-buffer): Use it.
6255
6256 * simple.el (count-words-region): Don't signal an error if there
6257 is a non-nil prefix arg and the mark is not set.
6258
6259 * help.el (describe-key-briefly): Allow the message to be seen
6260 when invoked from the minibuffer (Bug#7014).
6261
6262 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6263
6264 * progmodes/ruby-mode.el (ruby-end-of-defun)
6265 (ruby-beginning-of-defun): Simplify, allow indentation before
6266 block beginning and end keywords.
6267 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6268 (ruby-end-of-defun): Expect that the point is at the beginning of
6269 the defun.
6270
6271 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6272
6273 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6274 (bug#12367).
6275 (cl--make-usage-args): Strip _ from argument names.
6276
6277 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6278
6279 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6280 obsolete alias speedbar-key-map.
6281 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6282 (vhdl-index-menu-init): Don't use obsolete variable
6283 font-lock-maximum-size.
6284
6285 2012-09-06 Chong Yidong <cyd@gnu.org>
6286
6287 * frame.el (window-system-version): Mark as obsolete.
6288
6289 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6290 of obsolete variable speedbar-key-map.
6291
6292 2012-09-06 Juri Linkov <juri@jurta.org>
6293
6294 * replace.el (replace-lax-whitespace): New defcustom.
6295 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6296 (replace-string, replace-regexp): Mention it in docstrings.
6297 (perform-replace, replace-highlight): Let-bind
6298 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6299 to the values of replace-lax-whitespace and regexp-flag.
6300 Don't let-bind search-whitespace-regexp. (Bug#10885)
6301
6302 * isearch.el (isearch-query-replace): Let-bind
6303 replace-lax-whitespace instead of let-binding
6304 replace-search-function and replace-re-search-function.
6305 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6306 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6307 (isearch-toggle-symbol): Set isearch-regexp to nil
6308 in isearch-word mode (like in isearch-toggle-word).
6309
6310 2012-09-06 Juri Linkov <juri@jurta.org>
6311
6312 * replace.el (replace-search-function)
6313 (replace-re-search-function): Set default values to nil.
6314 (perform-replace): Let-bind isearch-related variables based on
6315 replace-related values, call `isearch-search-fun' and let-bind
6316 the result to `search-function'. Remove code that sets
6317 `search-function' and `search-string' separately for
6318 `delimited-flag'.
6319 (replace-highlight): Add new argument `delimited-flag' and
6320 rename other arguments to the names used in `perform-replace'.
6321 Let-bind `isearch-word' to the argument `delimited-flag'.
6322 (Bug#10885, bug#10887)
6323
6324 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6325
6326 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6327 ruby-beginning-of-indent, simplify, allow all keywords to have
6328 indentation before them.
6329 (ruby-beginning-of-indent): Adjust for above. Search until the
6330 found point is not inside a string or comment.
6331 (ruby-font-lock-keywords): Allow symbols to start with "@"
6332 character, give them higher priority than variables.
6333 (ruby-syntax-propertize-function)
6334 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6335 matchers. Expression expansions are not comments when inside a
6336 string, and there comment syntax status is irrelevant.
6337 (ruby-match-expression-expansion): New function. Check that
6338 expression expansion is inside a string, and it's not escaped.
6339 (ruby-font-lock-keywords): Use it.
6340
6341 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6342
6343 * help.el (temp-buffer-max-height): New default value.
6344 (temp-buffer-resize-frames): New option.
6345 (resize-temp-buffer-window): Optionally resize frame.
6346
6347 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6348 (fit-frame-to-buffer): New function.
6349
6350 2012-09-05 Glenn Morris <rgm@gnu.org>
6351
6352 * emulation/cua-rect.el (cua--init-rectangles):
6353 * textmodes/picture.el (picture-mode-map):
6354 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6355 like forward-char and backward-char. (Bug#12317)
6356
6357 2012-09-05 Leo Liu <sdl.web@gmail.com>
6358
6359 * progmodes/flymake.el (flymake-warning-re): New variable.
6360 (flymake-parse-line): Use it.
6361
6362 2012-09-05 Glenn Morris <rgm@gnu.org>
6363
6364 * calendar/holidays.el (holiday-christian-holidays):
6365 Rename an entry. (Bug#12289)
6366
6367 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6368
6369 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6370 (bug#12222).
6371
6372 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6373
6374 * loadup.el: Load macroexp. Remove hack.
6375 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6376 (macroexp--expand-all): Use it to get better warnings.
6377 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6378 (internal-macroexpand-for-load): New functions.
6379 (macroexp--pending-eager-loads): New var.
6380 (emacs-startup-hook): New hack to replace one in loadup.el.
6381 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6382 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6383 (cl-psetf): Simplify.
6384 (cl-defstruct): Add indent rule.
6385
6386 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6387
6388 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6389 over `user-mail-address' for the SMTP MAIL FROM envelope.
6390 (smtpmail-via-smtp): Ditto.
6391
6392 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6393
6394 * progmodes/ruby-mode.el: Clean up keybindings.
6395 (ruby-mode-map): Don't bind ruby-electric-brace,
6396 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6397 backward-kill-word, reindent-then-newline-and-indent.
6398 (ruby-mark-defun): Remove.
6399 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6400 (ruby-mode): Set local beginning-of-defun-function and
6401 end-of-defun-function values.
6402
6403 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6404
6405 * window.el (temp-buffer-window-setup-hook)
6406 (temp-buffer-window-show-hook): New hooks.
6407 (temp-buffer-window-setup, temp-buffer-window-show)
6408 (with-temp-buffer-window): New functions.
6409 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6410 (special-display-popup-frame): Make sure the window used shows BUFFER.
6411
6412 * help.el (temp-buffer-resize-mode): Fix doc-string.
6413 (resize-temp-buffer-window): New optional argument WINDOW.
6414
6415 * files.el (recover-file, save-buffers-kill-emacs):
6416 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6417
6418 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6419
6420 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6421 remote definition of `default-directory', ensure we can connect.
6422
6423 2012-09-02 Juri Linkov <juri@jurta.org>
6424
6425 Toggle whitespace matching mode with M-s SPC.
6426 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6427
6428 * isearch.el (search-whitespace-regexp): Doc fix.
6429 Remove cons cell customization.
6430 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6431 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6432 New variables.
6433 (isearch-forward, isearch-forward-regexp): Doc fix.
6434 (isearch-toggle-lax-whitespace): New command.
6435 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6436 (re-search-forward-lax-whitespace)
6437 (re-search-backward-lax-whitespace): New functions.
6438 (isearch-whitespace-regexp): Remove function.
6439 (isearch-query-replace): Let-bind replace-search-function and
6440 replace-re-search-function.
6441 (isearch-occur): Let-bind search-spaces-regexp according to the
6442 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6443 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6444 condition for C-q SPC.
6445 (isearch-search-fun-default): Use new functions mentioned above.
6446 (isearch-search-forward, isearch-search-backward): Remove functions.
6447 (isearch-search): Don't let-bind search-spaces-regexp.
6448 (isearch-lazy-highlight-space-regexp): Remove variable.
6449 (isearch-lazy-highlight-lax-whitespace)
6450 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6451 (isearch-lazy-highlight-new-loop): Use them.
6452 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6453
6454 2012-09-02 Chong Yidong <cyd@gnu.org>
6455
6456 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6457
6458 2012-09-02 Glenn Morris <rgm@gnu.org>
6459
6460 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6461
6462 2012-09-01 Glenn Morris <rgm@gnu.org>
6463
6464 * term.el: Tidy up menu definitions.
6465 (term-mode-map): Use easymenu for In/Out, Complete menus.
6466 (term-pager-break-map): Initialize in the defvar.
6467 (term-terminal-menu, term-signals-menu): Define with easymenu.
6468 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6469 (term-pager-menu): New, extracted from term-process-pager.
6470 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6471 (term-update-mode-line): Propertize line/char and page items.
6472 (term-process-pager): Move keymap initialization elsewhere.
6473
6474 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6475
6476 * window.el (switch-to-prev-buffer): Handle additional values of
6477 BURY-OR-KILL argument. Don't switch in minibuffer window.
6478 (switch-to-next-buffer): Don't switch in minibuffer window.
6479 (quit-restore-window): New function based on quit-window.
6480 Handle additional values of former KILL argument.
6481 (quit-window): Call quit-restore-window with appropriate
6482 interpretation of KILL argument.
6483 (display-buffer-below-selected): New buffer display action
6484 function.
6485
6486 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6487
6488 * minibuffer.el (completion-at-point-functions): Complete docstring
6489 (bug#12254).
6490
6491 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6492
6493 Better seed support for (random).
6494 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6495 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6496 * play/mpuz.el, play/tetris.el, play/zone.el:
6497 * calc/calc-comb.el (math-init-random-base):
6498 * play/blackbox.el (bb-init-board):
6499 * play/life.el (life):
6500 * server.el (server-use-tcp):
6501 * type-break.el (type-break):
6502 Remove unnecessary call to (random t).
6503 * net/sasl.el (sasl-unique-id-function):
6504 Change (random t) to (random), now that the latter is more random.
6505 * play/life.el (life-initialized): Remove no-longer-needed var.
6506
6507 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6508
6509 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6510 Consider frame's buffer predicate when choosing the buffer.
6511 (Bug#12081)
6512
6513 2012-08-30 Richard Stallman <rms@gnu.org>
6514
6515 * simple.el (special-mode-map): Delete binding for `z'.
6516
6517 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6518
6519 * progmodes/compile.el (compilation-always-kill): Doc fix.
6520
6521 2012-08-30 Chong Yidong <cyd@gnu.org>
6522
6523 * window.el (display-buffer-reuse-frames): Make the obsolescence
6524 message more informative.
6525
6526 2012-08-30 Glenn Morris <rgm@gnu.org>
6527
6528 * paren.el (show-paren-delay):
6529 Add a :set function. Doc fix. (Bug#12297)
6530
6531 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6532
6533 * progmodes/compile.el (compilation-always-kill): New var.
6534 (compilation-start): Use it.
6535
6536 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6537
6538 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6539 * files.el (read-only-mode): Move to simple.el.
6540
6541 * files.el (read-only-mode): New minor mode.
6542 (toggle-read-only): Use it and mark obsolete.
6543 (find-file--read-only):
6544 * vc/vc.el (vc-next-action, vc-checkout):
6545 * vc/vc-cvs.el (vc-cvs-checkout):
6546 * obsolete/vc-mcvs.el (vc-mcvs-update):
6547 * ffap.el (ffap--toggle-read-only): Update callers.
6548
6549 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6550
6551 * eshell/esh-ext.el (eshell-external-command): Do not examine
6552 remote shell scripts.
6553 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6554
6555 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6556 "/usr/local/sbin".
6557
6558 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6559
6560 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6561
6562 2012-08-28 Leo Liu <sdl.web@gmail.com>
6563
6564 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6565 completion-at-point. (Bug#12220)
6566
6567 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6568
6569 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6570
6571 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6572
6573 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6574 be buffer-local; add delete-trailing-whitespace (bug#12259).
6575
6576 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6577
6578 * progmodes/hideif.el (hif-compress-define-list):
6579 Fix typo. (Bug#11951)
6580
6581 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6582
6583 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6584 buffer local setting.
6585
6586 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6587 rcirc-encode-coding-system.
6588
6589 2012-08-28 Leo Liu <sdl.web@gmail.com>
6590
6591 * net/rcirc.el (rcirc-split-message): New function.
6592 (rcirc-send-message): Use it. (Bug#12051)
6593
6594 2012-08-28 Juri Linkov <juri@jurta.org>
6595
6596 * info.el (Info-fontify-node): Hide empty lines at the end of
6597 the node. (Bug#12272)
6598
6599 2012-08-27 Drew Adams <drew.adams@oracle.com>
6600
6601 * dired.el (dired-pop-to-buffer): Make window start at beginning
6602 of buffer (Bug#12281).
6603
6604 2012-08-26 Chong Yidong <cyd@gnu.org>
6605
6606 * window.el (special-display-regexps, special-display-frame-alist)
6607 (special-display-buffer-names, special-display-function)
6608 (display-buffer-reuse-frames): Mark as obsolete.
6609
6610 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6611
6612 * help.el (help-print-return-message): Don't treat
6613 display-buffer-reuse-frames specially.
6614
6615 2012-08-26 Chong Yidong <cyd@gnu.org>
6616
6617 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6618 New variable, replacing gdb-frame-parameters.
6619 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6620 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6621 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6622 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6623 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6624 the functions directly with gdb-display-buffer-other-frame-action.
6625 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6626 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6627 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6628 (gdb-display-registers-buffer): Define directly.
6629 (def-gdb-display-buffer): Macro deleted.
6630 (gdb-display-buffer): Remove second and third args, callers don't
6631 use them. Defer to the default display-buffer behavior, apart
6632 from making windows dedicated.
6633 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6634
6635 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6636
6637 * window.el (display-buffer-pop-up-frame): Handle a
6638 pop-up-frame-parameters alist entry.
6639 (display-buffer): Document it.
6640
6641 2012-08-26 Chong Yidong <cyd@gnu.org>
6642
6643 * isearch.el (search-whitespace-regexp): Make string and nil
6644 values apply to both ordinary and regexp search. Allow a cons
6645 cell value to distinguish between the two.
6646 (isearch-whitespace-regexp, isearch-search-forward)
6647 (isearch-search-backward): New functions.
6648 (isearch-occur, isearch-search-fun-default, isearch-search)
6649 (isearch-lazy-highlight-new-loop): Use them.
6650 (isearch-forward, isearch-forward-regexp): Doc fix.
6651
6652 2012-08-26 Chong Yidong <cyd@gnu.org>
6653
6654 * faces.el (help-argument-name): Always inherit from italic
6655 (Bug#12213).
6656
6657 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6658
6659 * window.el (window--even-window-heights): Even heights when
6660 WINDOW and the selected window form a vertical combination.
6661 (display-buffer-use-some-window): Provide that window used gets
6662 sized back by quit-window. (Bug#11880) and (Bug#12091)
6663
6664 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6665
6666 Fix file time stamp problem with bzr and CVS (Bug#12001).
6667 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6668 in the file's time stamp, since the version control system loses
6669 that information.
6670
6671 2012-08-22 Juri Linkov <juri@jurta.org>
6672
6673 * info.el (Info-fontify-node): Hide the suffix of the
6674 Info file name in the header line. (Bug#12187)
6675
6676 2012-08-22 Glenn Morris <rgm@gnu.org>
6677
6678 * calendar/cal-tex.el (cal-tex-weekly-common):
6679 Restore leading blank page.
6680
6681 2012-08-22 Le Wang <l26wang@gmail.com>
6682
6683 * misc.el (forward-to-word, backward-to-word): Activate or extend
6684 the region under `shift-select-mode'. (Bug#12231)
6685
6686 2012-08-22 Bastien Guerry <bzg@gnu.org>
6687
6688 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6689 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6690 gives details on why the space is never needed.
6691
6692 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6693
6694 * window.el (walk-window-tree, window-with-parameter):
6695 New optional argument MINIBUF to control whether these functions
6696 should run on the minibuffer window.
6697 (window-at-side-list): Don't operate on minibuffer window.
6698 (window-in-direction): Simplify and rewrite doc-string.
6699 (window--size-ignore): Rename to window--size-ignore-p.
6700 Update callers.
6701 (display-buffer-in-atom-window, window--major-non-side-window)
6702 (window--major-side-window, display-buffer-in-major-side-window)
6703 (delete-side-window, display-buffer-in-side-window):
6704 New functions.
6705 (window--side-check, window-deletable-p, delete-window)
6706 (delete-other-windows, split-window): Handle side windows and
6707 atomic windows appropriately.
6708 (window--display-buffer): Call display-buffer-record-window also
6709 when the window buffer did not change.
6710
6711 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6712
6713 * help-fns.el (help-fns--key-bindings):
6714 Abbreviate non-symbol remap targets. (Bug#12174)
6715
6716 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6717
6718 * dired.el (dired-mark-remembered): Don't clobber point.
6719 (Bug#11795)
6720
6721 2012-08-22 Glenn Morris <rgm@gnu.org>
6722
6723 * progmodes/bug-reference.el (bug-reference): New custom group.
6724 (bug-reference-bug-regexp): Make it a defcustom.
6725
6726 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6727
6728 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6729 (js-paren-indent-offset, js-square-indent-offset)
6730 (js-curly-indent-offset): Add :safe (Bug#12257).
6731
6732 2012-08-22 Edward O'Connor <hober0@gmail.com>
6733
6734 * json.el (json-key-format): Add error properties.
6735 (json-encode-key): New function.
6736 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6737 Use json-encode-key.
6738
6739 2012-08-22 Glenn Morris <rgm@gnu.org>
6740
6741 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6742 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6743 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6744 Update for above change.
6745
6746 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6747
6748 * cus-face.el (custom-face-attributes): Fix customize type for the
6749 :underline attribute. (Bug#11805)
6750
6751 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6752
6753 * window.el (window-point-1, set-window-point-1): Remove.
6754 (window-in-direction, record-window-buffer)
6755 (set-window-buffer-start-and-point, split-window-below)
6756 (window--state-get-1, display-buffer-record-window):
6757 Replace calls to window-point-1 and set-window-point-1 by calls to
6758 window-point and set-window-point respectively.
6759
6760 2012-08-21 Glenn Morris <rgm@gnu.org>
6761
6762 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6763 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6764 Use it.
6765
6766 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6767 (cal-tex-shortday): New function.
6768 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6769 (cal-tex-cursor-filofax-daily): Use the above.
6770
6771 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6772 New functions.
6773 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6774 (cal-tex-cursor-filofax-week): Use them.
6775
6776 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6777 New constants.
6778 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6779 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6780
6781 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6782 (cal-tex-end-document): Don't rely on buffer name.
6783
6784 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6785 Use cal-tex-vspace.
6786 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6787 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6788 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6789 Use cal-tex-arg.
6790
6791 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6792 (cal-tex-cursor-week, cal-tex-cursor-week2)
6793 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6794 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6795 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6796 (cal-tex-insert-preamble, cal-tex-b-document)
6797 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6798 Improve cal-tex-cmd usage.
6799
6800 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6801 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6802 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6803 (cal-tex-weekly-paper): New function.
6804 (cal-tex-cursor-week, cal-tex-cursor-week2)
6805 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6806 (cal-tex-cursor-day): Use it.
6807
6808 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6809 (cal-tex-cursor-filofax-week): Remove leading blank page.
6810
6811 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6812 Add autoload cookie. For now at least, don't use color, since
6813 no other cal-tex function does.
6814
6815 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6816 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6817 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6818
6819 2012-08-21 Juri Linkov <juri@jurta.org>
6820
6821 * info.el (Info-file-attributes): New variable.
6822 (info-insert-file-contents): Add file attributes to
6823 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6824 `Info-toc-nodes' when previous modtime of the Info file is less
6825 than new modtime.
6826 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6827 of info.el. (Bug#12230)
6828
6829 2012-08-20 Glenn Morris <rgm@gnu.org>
6830
6831 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6832 * calendar/holidays.el (calendar-holiday-list):
6833 Report errors with display-warning rather than beep'n'sleep.
6834
6835 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6836
6837 * net/tramp.el (tramp-accept-process-output): Accept only output
6838 from PROC. Otherwise, process filters and sentinels might be
6839 confused. (Bug#12145)
6840
6841 2012-08-20 Chong Yidong <cyd@gnu.org>
6842
6843 * descr-text.el (describe-text-properties-1): Use overlays-in to
6844 report on empty overlays (Bug#3322).
6845
6846 2012-08-20 Glenn Morris <rgm@gnu.org>
6847
6848 * mail/rmailout.el (rmail-output-read-file-name):
6849 Trap and report errors in rmail-output-file-alist elements.
6850
6851 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6852 since most non-font-lock faces are not also variables).
6853
6854 2012-08-20 Edward Reingold <reingold@iit.edu>
6855
6856 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6857 New function. (Bug12160)
6858
6859 2012-08-19 Glenn Morris <rgm@gnu.org>
6860
6861 * mail/rmailout.el (rmail-output-read-file-name):
6862 Fix previous change (when the alist is nil or does not match).
6863
6864 2012-08-19 Chong Yidong <cyd@gnu.org>
6865
6866 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6867 (Bug#12228).
6868
6869 2012-08-18 Chong Yidong <cyd@gnu.org>
6870
6871 * simple.el (yank-handled-properties): New defcustom.
6872 (yank-excluded-properties): Add font-lock-face and category.
6873 (yank): Doc fix.
6874
6875 * subr.el (remove-yank-excluded-properties):
6876 Obey yank-handled-properties. The special handling of font-lock-face
6877 and category is now done this way, instead of being hard-coded.
6878 (insert-for-yank-1): Remove font-lock-face handling.
6879 (yank-handle-font-lock-face-property)
6880 (yank-handle-category-property): New function.
6881
6882 2012-08-17 Glenn Morris <rgm@gnu.org>
6883
6884 * mail/rmailout.el (rmail-output-read-file-name):
6885 Check rmail-output-file-alist against the full message body
6886 in the correct rmail buffer. (Bug#12214)
6887
6888 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6889
6890 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6891 Eliminate superfluous prompt. (Bug#12203)
6892
6893 2012-08-17 Chong Yidong <cyd@gnu.org>
6894
6895 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6896 font spec, set the font directly (Bug#3228).
6897
6898 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6899
6900 * window.el (delete-window): Fix last fix.
6901
6902 2012-08-16 Martin Rudalics <rudalics@gmx.at>
6903
6904 * window.el (window-valid-p): Move to window.c.
6905 (window-child, window-child-count, window-last-child)
6906 (window-normalize-window, window-combined-p)
6907 (window-combinations, window-atom-root, window-min-size)
6908 (window-sizable, window-sizable-p, window-size-fixed-p)
6909 (window-min-delta, window-max-delta, window--resizable)
6910 (window--resizable-p, window-resizable, window-total-size)
6911 (window-full-height-p, window-full-width-p, window-body-size)
6912 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
6913 (minimize-window, window-deletable-p, delete-window)
6914 (delete-other-windows, set-window-buffer-start-and-point)
6915 (next-buffer, previous-buffer, split-window, balance-windows-2)
6916 (set-window-text-height, window-buffer-height)
6917 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
6918 (truncated-partial-width-window-p): Minor code adjustments.
6919 In doc-strings state whether the argument window has to denote a
6920 live, valid or any window.
6921
6922 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6923
6924 * progmodes/subword.el (subword-forward-function)
6925 (subword-backward-function, subword-forward-regexp)
6926 (subword-backward-regexp): New variables.
6927 (subword-forward, subword-forward-internal, subword-backward-internal):
6928 Use new variables, eg so that different "word" definitions
6929 can be easily used. (Bug#11411)
6930
6931 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6932
6933 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
6934 for composite selectors.
6935 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
6936 operation just because we can't find a previous revision.
6937
6938 2012-08-15 Chong Yidong <cyd@gnu.org>
6939
6940 * frame.el (set-frame-font): Accept font objects.
6941
6942 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6943
6944 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
6945
6946 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
6947
6948 * man.el (Man-overstrike-face, Man-underline-face)
6949 (Man-reverse-face): Remove variables.
6950 (Man-overstrike, Man-underline, Man-reverse): New faces.
6951 (Man-fontify-manpage): Use them instead of the variables.
6952 (Man-cleanup-manpage): Comment change.
6953 (Man-ansi-color-map): New variable.
6954 (Man-fontify-manpage): Use it.
6955 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
6956
6957 Implement ANSI SGR parameters 22-27 (bug#12146).
6958 * ansi-color.el (ansi-colors): Doc fix.
6959 (ansi-color-context, ansi-color-context-region): Doc fix.
6960 (ansi-color--find-face): New function.
6961 (ansi-color-apply, ansi-color-apply-on-region): Use it.
6962 Rename the local variable `face' to `codes' since it is now a list of
6963 ansi codes. Doc fix.
6964 (ansi-color-get-face): Remove.
6965 (ansi-color-parse-sequence): New function, derived from
6966 ansi-color-get-face.
6967 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
6968 codes 22-27.
6969
6970 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
6971
6972 * subr.el (read-passwd): Allow use from a minibuffer.
6973
6974 2012-08-14 Eli Zaretskii <eliz@gnu.org>
6975
6976 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
6977 inside comments and strings as identifiers.
6978
6979 * progmodes/gud.el (gud-tooltip-print-command): Quote the
6980 expression to evaluate. This allows to evaluate expressions with
6981 embedded whitespace.
6982 (gud-tooltip-tips): Add a blank before the newline in the
6983 message-box text, for the benefit of message-box emulation on
6984 MS-Windows.
6985
6986 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
6987 messages from GDB, pop them up in a tooltip to give feedback to
6988 user.
6989 (gdb-tooltip-print-1): Quote the expression to evaluate.
6990 This allows to evaluate expressions with embedded whitespace.
6991 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
6992 if the TTY name is nil or empty (which happens when communicating
6993 with the inferior via pipes, e.g. on MS-Windows).
6994 (gdb-internals): If GDB sends a "&\n" empty debugging message,
6995 don't send that to the GUD buffer.
6996
6997 2012-08-14 Glenn Morris <rgm@gnu.org>
6998
6999 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7000 Optimize away setq-default with no args, as for setq. (Bug#12195)
7001
7002 2012-08-14 Chong Yidong <cyd@gnu.org>
7003
7004 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7005
7006 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7007 (Bug#12085).
7008
7009 2012-08-14 Glenn Morris <rgm@gnu.org>
7010
7011 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7012
7013 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7014
7015 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7016 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7017 Use cached shell name.
7018
7019 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7020
7021 * progmodes/python.el (python-shell-send-string):
7022 (python-shell-send-setup-code): Do not use `format' with `message'.
7023
7024 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7025
7026 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7027 (ruby-percent-literal-beg-re): New constant.
7028 (ruby-syntax-general-delimiters-goto-beg): Rename to
7029 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7030 (ruby-syntax-propertize-general-delimiters): Rename to
7031 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7032 popular term. Adjust comments everywhere.
7033 (ruby-syntax-propertize-percent-literal): Only propertize when not
7034 inside a simple string or comment. When the literal is unclosed,
7035 leave the text after it unpropertized.
7036 (ruby-syntax-methods-before-regexp): New constant.
7037 (ruby-syntax-propertize-function): Use it to recognize regexps.
7038 Don't look at the text after regexp, just use the whitelist.
7039
7040 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7041
7042 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7043 non-nil always load the compiled file if it exists. (Bug#12197)
7044
7045 2012-08-14 Chong Yidong <cyd@gnu.org>
7046
7047 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7048 (hi-lock-set-pattern): When deciding whether to use font lock or
7049 overlays, look at font-lock-mode instead of font-lock-fontified
7050 (Bug#12168).
7051 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7052 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7053
7054 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7055
7056 * subr.el (internal--after-with-selected-window): Fix typo
7057 (Bug#12193).
7058
7059 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7060
7061 Use `completion-table-dynamic' for completion functions.
7062 * progmodes/python.el
7063 (python-shell-completion--do-completion-at-point)
7064 (python-shell-completion--get-completions):
7065 Remove functions.
7066 (python-shell-completion-complete-at-point): New function.
7067 (python-completion-complete-at-point): Use it.
7068
7069 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7070
7071 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7072 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7073
7074 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7075
7076 * subr.el (function-get): Refine `autoload' arg so it can also
7077 autoload functions for gv.el (bug#12191).
7078 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7079 autoloads macros.
7080
7081 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7082 Prefer pcase-let over destructuring-bind.
7083 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7084 Also, remove whitespace as we go, rather than after accumulating the
7085 various places.
7086
7087 * subr.el (internal--before-with-selected-window)
7088 (internal--after-with-selected-window): Fix typo seleted->selected.
7089 (with-selected-window): Adjust callers.
7090 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7091
7092 2012-08-13 Bastien Guerry <bzg@gnu.org>
7093
7094 * window.el (special-display-popup-frame): Minor docstring
7095 enhancement. (Bug#12172)
7096
7097 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7098
7099 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7100 type 1-6.
7101 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7102 extended headers.
7103
7104 * files.el (hack-local-variables-filter): Remove useless eval.
7105
7106 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7107
7108 * subr.el (with-selected-window): Fix last change.
7109
7110 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7111
7112 * subr.el (internal--before-with-seleted-window)
7113 (internal--after-with-seleted-window): New functions.
7114 (with-selected-window): Use them, to replace dependency on
7115 tty-top-frame.
7116
7117 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7118
7119 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7120 binding for `newline'.
7121 (ruby-move-to-block): When moving backward, stop at block opening,
7122 not indentation.
7123 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7124 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7125 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7126 `ruby-toggle-block'.
7127
7128 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7129
7130 * ibuffer.el (ibuffer-do-toggle-read-only):
7131 * dired.el (dired-toggle-read-only):
7132 * buff-menu.el (Buffer-menu-toggle-read-only):
7133 * bindings.el (mode-line-toggle-read-only):
7134 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7135
7136 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7137
7138 * descr-text.el (describe-char): Put the overlays over the
7139 "displayed as" character.
7140
7141 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7142
7143 * calc/calc-units.el (math-default-units-table): Give an
7144 initial value.
7145 (math-put-default-units): Add options to put composite units and
7146 unit systems in the default units table.
7147 (calc-convert-units): Send composite units to
7148 `math-put-default-units' when appropriate.
7149
7150 2012-08-11 Glenn Morris <rgm@gnu.org>
7151
7152 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7153
7154 * tutorial.el (help-with-tutorial):
7155 * emacs-lisp/copyright.el (copyright-update-directory):
7156 * emacs-lisp/autoload.el (autoload-find-generated-file)
7157 (autoload-find-file): Disable local eval: (for insurance).
7158
7159 * files.el (hack-local-variables-filter): If an eval: form is not
7160 known to be safe, and enable-local-variables is :safe, then ignore
7161 the form totally, as is done for non-eval forms. (Bug#12155)
7162 This is CVE-2012-3479.
7163
7164 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7165
7166 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7167 (rx-form): Simplify.
7168
7169 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7170
7171 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7172 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7173 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7174 (ruby-syntax-propertize-function): Adjust for changes in
7175 `ruby-syntax-propertize-heredoc'.
7176
7177 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7178
7179 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7180 binding (use `M-;' instead).
7181 (ruby-singleton-class-p): New function.
7182 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7183
7184 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7185
7186 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7187
7188 2012-08-10 Chong Yidong <cyd@gnu.org>
7189
7190 * progmodes/python.el (python-shell-get-process-name): Don't mess
7191 with same-window-buffer-names.
7192
7193 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7194 (eshell-remove-from-window-buffer-names): Make obsolete.
7195 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7196 (eshell): Just use pop-to-buffer-same-window instead.
7197
7198 2012-08-10 Chong Yidong <cyd@gnu.org>
7199
7200 * bindings.el: Bind M-= back to count-words-region.
7201
7202 * simple.el (count-words-region): Accept a prefix arg for acting
7203 on the entire buffer.
7204 (count-words--buffer-message): New helper function.
7205
7206 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7207
7208 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7209 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7210 (event-start, event-end): Use posn-at-point to return a more
7211 informative posn.
7212 (posnp): New function.
7213 * mouse.el (popup-menu-normalize-position): Use it.
7214
7215 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7216
7217 * mouse.el (popup-menu-normalize-position): New function.
7218 (popup-menu): Use `popup-menu-normalize-position' to normalize
7219 the form for POSITION argument.
7220
7221 * term/x-win.el (x-menu-bar-open):
7222 Use the value returend from (posn-at-point) as position
7223 passed to `popup-menu'.
7224
7225 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7226
7227 * calc/calccomp.el (math-compose-expr): Add extra argument
7228 indicating that parentheses should be put around products in
7229 denominators. Give multiplication precedence over division during
7230 composition.
7231
7232 2012-08-09 Chong Yidong <cyd@gnu.org>
7233
7234 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7235 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7236 (Man-untabify-command, manual-program): Convert to defcustom
7237 (Bug#10429).
7238
7239 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7240
7241 * descr-text.el (describe-char): Don't insert extra newlines
7242 (Bug#10127).
7243
7244 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7245 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7246
7247 * align.el (align-region): Delete temporary markers (Bug#10047).
7248 Plus some code cleanups.
7249
7250 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7251
7252 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7253 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7254 (python-shell-internal-last-output): Use make-local-variable
7255 instead of make-variable-buffer-local.
7256
7257 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7258
7259 * progmodes/python.el: Enhancements to forward-sexp.
7260 (python-nav-forward-sexp): Rename from
7261 python-nav-forward-sexp-function.
7262 (python-nav--forward-sexp, python-nav--backward-sexp):
7263 New functions.
7264
7265 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7266
7267 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7268 modes and simplification modes.
7269
7270 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7271
7272 * delsel.el (delete-selection-pre-hook): Don't propagate the
7273 file-supersession signals (bug#12161).
7274
7275 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7276
7277 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7278 (cl-map-extents): Add compatibility aliases (bug#12135).
7279
7280 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7281
7282 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7283 tests by `ignore-error'.
7284 (tramp-find-shell): Open also a new shell, when cache is already
7285 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7286
7287 2012-08-08 Juri Linkov <juri@jurta.org>
7288
7289 * bookmark.el: Add `defaults' property to the bookmark record.
7290 (bookmark-current-buffer): Doc fix.
7291 (bookmark-make-record): Add `defaults' property with default values
7292 to the bookmark record.
7293 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7294 with `bookmark-insert-current-bookmark'.
7295 (bookmark-set): Get `defaults' property from the bookmark record
7296 and use it in `read-from-minibuffer'.
7297 (bookmark-insert-current-bookmark): Remove function.
7298
7299 * info.el (Info-bookmark-make-record): Add `defaults' property
7300 with values of canonical Info node name, the current Info file
7301 name and the current Info node name. (Bug#12107)
7302
7303 2012-08-08 Juri Linkov <juri@jurta.org>
7304
7305 * files.el (basic-save-buffer): Use `buffer-name' as the default
7306 of `read-file-name' when buffer is not visiting a file (bug#12128).
7307
7308 2012-08-08 Juri Linkov <juri@jurta.org>
7309
7310 * info.el (Info-isearch-search): Doc fix.
7311 (Info-search): Change search-failed message from "initial node" to
7312 "end of node" (bug#12078).
7313 (Info-isearch-search): Change `isearch-string-state' to
7314 `isearch--state-string'.
7315
7316 2012-08-08 Glenn Morris <rgm@gnu.org>
7317
7318 * language/persian.el: Remove file.
7319 * language/misc-lang.el: Move unique part of persian.el here.
7320 * loadup.el: Remove language/persian.
7321
7322 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7323
7324 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7325
7326 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7327
7328 * progmodes/python.el: Fix defsubst warning.
7329 (python-syntax-context) Rename from python-info-ppss-context.
7330 (python-syntax-context-type): Rename from
7331 python-info-ppss-context-type.
7332 (python-syntax-comment-or-string-p): Rename from
7333 python-info-ppss-comment-or-string-p.
7334
7335 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7336
7337 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7338
7339 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7340
7341 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7342 a defcustom that is quoted with backquote.
7343
7344 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7345 Fix handling of interactive spec when the body uses return.
7346 (math-do-arg-check, math-define-function-body): Use backquote forms.
7347 * calc/calc-ext.el (math-defcache): Likewise.
7348 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7349 * allout.el (allout-new-exposure): Likewise.
7350 * calc/calcalg2.el (math-tracing-integral): Likewise.
7351 * info.el (Info-last-menu-item): Likewise.
7352 * emulation/vip.el (vip-loop): Likewise.
7353 * textmodes/artist.el (artist-funcall): Likewise.
7354 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7355 Construct menu-item directly.
7356
7357 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7358 Don't declare.
7359
7360 2012-08-07 Chong Yidong <cyd@gnu.org>
7361
7362 * simple.el (deactivate-mark): Preserve text properties when
7363 saving the primary selection (Bug#8384).
7364
7365 2012-08-07 Kevin Ryde <user42@zip.com.au>
7366
7367 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7368 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7369 and continue processing (Bug#12110).
7370
7371 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7372
7373 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7374 syntax-propertize-function (bug#10095).
7375
7376 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7377
7378 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7379 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7380 describe-function-1.
7381 (describe-function-1): Use them. Move compiler macro after sig.
7382 (help-fns--compiler-macro): Use function-get. Assume we're already in
7383 standard-output. Adjust layout to new call order.
7384
7385 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7386 re-binding a symbol that has a symbol-macro (bug#12119).
7387
7388 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7389
7390 * language/persian.el: New file. (Bug#11812)
7391 * loadup.el: Add language/persian.el.
7392
7393 2012-08-06 Chong Yidong <cyd@gnu.org>
7394
7395 * window.el (window--maybe-raise-frame): New function.
7396 (window--display-buffer): Split off from here.
7397 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7398 (display-buffer-pop-up-window, display-buffer-use-some-window):
7399 Obey an inhibit-switch-frame action alist entry.
7400 (display-buffer): Update doc.
7401
7402 * replace.el (occur-after-change-function): Avoid losing focus by
7403 using the inhibit-switch-frame display parameter (Bug#12139).
7404
7405 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7406
7407 Make internal shell process buffer names start with space.
7408 * progmodes/python.el (python-shell-make-comint): Add optional
7409 argument INTERNAL.
7410 (run-python-internal): Use it.
7411 (python-shell-internal-get-or-create-process): Check for new
7412 internal buffer names.
7413
7414 2012-08-06 Glenn Morris <rgm@gnu.org>
7415
7416 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7417 Do less getting and setting of environment variables.
7418
7419 2012-08-05 Chong Yidong <cyd@gnu.org>
7420
7421 * proced.el (proced): Add substitution string to docstring to
7422 trigger autoloading of the proced library on C-h f (Bug#1768).
7423
7424 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7425 Don't show defvars which have no second argument (Bug#8638).
7426
7427 * imenu.el (imenu-generic-expression): Move documentation here
7428 from imenu--generic-function.
7429 (imenu--generic-function): Refer to imenu-generic-expression.
7430
7431 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7432
7433 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7434 indentation declaration.
7435 (viper-loop): Add indentation declaration (Bug#7025).
7436
7437 2012-08-05 Chong Yidong <cyd@gnu.org>
7438
7439 * help-fns.el (describe-variable): Add hyperlink for
7440 directory-local variables files. Improve buffer-local and
7441 permanent-local reporting; suggested by MON KEY (Bug#6644).
7442
7443 * help-mode.el (help-dir-local-var-def): New button type.
7444
7445 * files.el (kill-buffer-hook): Provide a defvar.
7446
7447 2012-08-05 Glenn Morris <rgm@gnu.org>
7448
7449 * eshell/esh-ext.el (eshell/addpath):
7450 Also update eshell-path-env. (Bug#12013)
7451
7452 2012-08-05 Chong Yidong <cyd@gnu.org>
7453
7454 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7455
7456 * fringe.el (fringe-styles): Add docstring.
7457 (fringe--check-mode): New function.
7458 (set-fringe-mode, set-fringe-style): Use it.
7459 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7460
7461 * files.el (set-auto-mode): Fix invalid setq call.
7462
7463 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * isearch.el: Misc simplification; use defstruct.
7466 (isearch-mode-map): Dense maps now work like sparse ones.
7467 (isearch--state): New defstruct.
7468 (isearch-string-state, isearch-message-state, isearch-point-state)
7469 (isearch-success-state, isearch-forward-state)
7470 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7471 (isearch-wrapped-state, isearch-barrier-state)
7472 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7473 replaced by defstruct's accessors.
7474 (isearch--set-state): Rename from isearch-top-state and change
7475 calling convention.
7476 (isearch-push-state): Use new isearch--get-state.
7477 (isearch-toggle-word): Disable regexp when enabling word.
7478 (isearch-message-prefix): Remove unused arg _c-q-hack.
7479 (isearch-message-suffix): Remove unused arg _ellipsis.
7480
7481 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7482
7483 * simple.el (list-processes--refresh): For a server use :host or
7484 :local as the address.
7485 (list-processes): Doc fix.
7486
7487 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7488
7489 * lisp/mpc.el: Support password in host argument.
7490 (mpc--proc-connect): Parse and use new password element.
7491 Set mpc-proc variable instead of returning process.
7492 (mpc-proc): Adjust accordingly.
7493
7494 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7495
7496 * whitespace.el (whitespace-display-mappings): Use Unicode
7497 codepoints, instead of emacs-mule codepoints. See
7498 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7499 for the details.
7500
7501 * files.el (file-truename): Don't skip symlink-chasing part on
7502 windows-nt. Incorporate the resolution of 8+3 short aliases on
7503 Windows into the loop that recursively chases symlinks.
7504 Compare directory and its parent case-insensitively on MS-Windows and
7505 MS-DOS.
7506
7507 2012-08-03 Chong Yidong <cyd@gnu.org>
7508
7509 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7510
7511 * sort.el (sort-regexp-fields): Doc fix.
7512
7513 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7514
7515 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7516 labels regex position point at the expected place.
7517
7518 2012-08-03 MON KEY <monkey@sandpframing.com>
7519
7520 * net/imap.el (imap-interactive-login, imap-authenticate)
7521 (imap-mailbox-lsub, imap-mailbox-list)
7522 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7523 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7524 (imap-parse-response): Doc fix.
7525
7526 2012-08-03 João Távora <joaotavora@gmail.com>
7527
7528 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7529 if sexp scanning does not move point (Bug#5734).
7530
7531 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7532
7533 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7534 Add listings, minted, and ctable packages.
7535 (reftex-label-alist-builtin): Move listings, minted, and ctable
7536 entries before LaTeX.
7537 (reftex-label-alist): Docfix.
7538
7539 2012-08-02 Bastien Guerry <bzg@gnu.org>
7540
7541 * replace.el (occur): Fix docstring (bug#12122).
7542
7543 2012-08-02 Glenn Morris <rgm@gnu.org>
7544
7545 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7546
7547 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7548
7549 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7550 * international/mule-cmds.el: Create
7551 inactivate-current-input-method-function as an obsolete alias for
7552 deactivate-current-input-method-function. See Katsumi Yamaoka in
7553 <http://bugs.gnu.org/10150#46>.
7554
7555 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7556
7557 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7558 of nested `if's.
7559
7560 2012-08-01 Glenn Morris <rgm@gnu.org>
7561
7562 * progmodes/autoconf.el (autoconf-definition-regexp):
7563 Add AH_TEMPLATE, adjust submatch numbering.
7564 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7565 (autoconf-current-defun-function): Update for above change.
7566 (autoconf-current-defun-function): First skip to end of current word.
7567
7568 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7569
7570 * calendar/cal-html.el (cal-html-insert-agenda-days):
7571 Fix typo. (Bug#12018)
7572
7573 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7574
7575 Shell processes: enhancements to startup and CEDET compatibility.
7576 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7577 (python-shell-make-comint): accept-process-output at startup.
7578 (run-python-internal): Set inferior-python-mode-hook to nil.
7579 (python-shell-internal-get-or-create-process): call sit-for.
7580 (python-preoutput-result): Add obsolete alias.
7581 (python-shell-internal-send-string): Use it.
7582 (python-shell-send-setup-code): Remove call to
7583 accept-process-output.
7584
7585 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7586
7587 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7588 (Bug#12108)
7589
7590 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7591
7592 * calc-mode.el (calc-basic-simplification-mode): Rename from
7593 `calc-limited-simplification-mode'.
7594 (calc-alg-simplification-mode): New function.
7595 (calc-set-simplify-mode): Adjust message.
7596
7597 * calc.el (calc-set-mode-line): Adjust mode line display for
7598 basic simplification mode.
7599
7600 * calc-help.el (calc-m-prefix-help): Update help message.
7601
7602 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7603 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7604
7605 2012-07-31 Bastien Guerry <bzg@gnu.org>
7606
7607 * man.el (man): Fix comment. (bug#12101)
7608
7609 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7610
7611 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7612 Don't return a non-nil value when no suitable buffer was found.
7613
7614 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7615
7616 * progmodes/python.el (run-python-internal): Disable font lock for
7617 internal shells.
7618
7619 2012-07-30 Stefan Merten <smerten@oekonux.de>
7620
7621 * textmodes/rst.el: Silence `checkdoc-ispell'.
7622 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7623 (rst-official-version, rst-official-cvs-rev)
7624 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7625 (rst-mode-map): New key binding.
7626
7627 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7628
7629 Update .PHONY listings in makefiles.
7630 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7631 autoloads, update-subdirs, updates, bzr-update, update-authors,
7632 compile-onefile, compile-calc, backup-compiled-files,
7633 compile-after-backup, compile-one-process, mh-autoloads,
7634 bootstrap-clean, distclean, maintainer-clean.
7635
7636 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7637
7638 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7639 (calc-set-mode-line): Don't display "AlgSimp ".
7640
7641 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7642 (calc-lim-simplify-mode): New function.
7643 (calc-set-simplify-mode): Default to 'alg.
7644 (calc-default-simplify-mode): Make algebraic simplifications
7645 the default.
7646
7647 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7648 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7649
7650 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7651 indicate new simplification modes.
7652
7653 * calc/README: Mention new default simplification mode.
7654
7655 * calc/calc.el (math-normalize-error): New variable.
7656 (math-normalize): Set `math-normalize-error' to t
7657 when there's an error.
7658
7659 * calc/calc-alg.el (math-simplify): Don't simplify when
7660 `math-normalize' returns an error.
7661
7662 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7663
7664 * international/mule-cmds.el (set-locale-environment): Revert last
7665 change, since display-graphic-p returns nil when this function is
7666 called during startup. Instead...
7667
7668 * term/w32console.el (terminal-init-w32console): ...setup the
7669 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7670
7671 2012-07-29 Juri Linkov <juri@jurta.org>
7672
7673 * simple.el (goto-line): Don't display default line number in the
7674 prompt because it should be displayed by `read-number' (bug#9952).
7675 Add the current line number to the defaults of `goto-line' to
7676 allow its easier modification by users with `M-n' (bug#9201).
7677
7678 * subr.el (read-number): Support multiple default values like in
7679 other minibuffer reading functions. Replace `read' with
7680 `string-to-number' for consistency with `number-to-string'.
7681
7682 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7683
7684 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7685 * emulation/viper-init.el (viper-deactivate-input-method-action):
7686 Rename from viper-inactivate-input-method-action.
7687 (viper-deactivate-input-method):
7688 Rename from viper-inactivate-input-method.
7689 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7690 * international/mule-cmds.el (deactivate-input-method):
7691 Rename from inactivate-input-method.
7692 Also run input-method-deactivate-hook.
7693 (deactivate-current-input-method-function):
7694 Rename from inactivate-current-input-method-function.
7695 (input-method-deactivate-hook): New hook.
7696 (input-method-inactivate-hook): Mark obsolete.
7697 (inactivate-input-method): Mark obsolete.
7698
7699 * international/quail.el (quail-activate):
7700 Also run quail-deactivate-hook.
7701 (quail-deactivate): Rename from quail-inactivate.
7702 * international/robin.el (robin-activate):
7703 Also run robin-deactivate-hook.
7704 (robin-deactivate): Rename from robin-inactivate.
7705
7706 2012-07-29 Chong Yidong <cyd@gnu.org>
7707
7708 * simple.el (indicate-copied-region): New function.
7709 (kill-ring-save): Split off from here.
7710
7711 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7712 (kill-rectangle): Set deactivate-mark to t on read-only error.
7713
7714 * register.el (copy-to-register, copy-rectangle-to-register):
7715 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7716 (append-to-register, prepend-to-register): Call indicate-copied-region.
7717
7718 2012-07-29 Juri Linkov <juri@jurta.org>
7719
7720 * simple.el (async-shell-command-buffer): New defcustom.
7721 (shell-command): Use it. (Bug#4719)
7722
7723 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7724
7725 * international/mule-cmds.el (set-locale-environment): In a
7726 console session on MS-Windows, set up keyboard and terminal
7727 encoding from the OEM codepage, not the ANSI codepage.
7728 (Bug#12055)
7729
7730 2012-07-28 Chong Yidong <cyd@gnu.org>
7731
7732 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7733 gdb-get-location.
7734
7735 2012-07-28 Leo Liu <sdl.web@gmail.com>
7736
7737 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7738 the alist (bug#12029).
7739
7740 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7741
7742 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7743 (compile-always, compile-first)
7744 ($(lisp)/calendar/cal-loaddefs.el)
7745 ($(lisp)/calendar/diary-loaddefs.el)
7746 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7747 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7748 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7749 instead of on update-subdirs.
7750 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7751
7752 2012-07-28 Chong Yidong <cyd@gnu.org>
7753
7754 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7755 directory if vc-deduce-backend returns nil (Bug#7350).
7756
7757 * simple.el (delete-trailing-lines): New option.
7758 (delete-trailing-whitespace): Obey it (Bug#11879).
7759
7760 2012-07-28 David Engster <deng@randomsample.de>
7761
7762 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7763 Explanation of new 'symbol-qnames feature in doc-strings.
7764 (xml-maybe-do-ns): Return expanded names as plain symbols if
7765 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7766 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7767
7768 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7769
7770 Consistent completion in inferior python with emacs -nw.
7771 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7772 binding in inferior-python-mode-map with "\t".
7773 (python-shell-completion-complete-at-point)
7774 (python-completion-complete-at-point): Remove interactive spec.
7775
7776 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7777
7778 * calc/calccomp.el (math-compose-expr): Undo previous change.
7779
7780 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7781
7782 * progmodes/python.el (python-mode-map): Add keybinding for
7783 run-python.
7784 (python-shell-make-comint): Fix pop-to-buffer call.
7785 (run-python): Autoload. New arg SHOW.
7786 (python-shell-get-or-create-process): Do not pop python process
7787 buffer.
7788
7789 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7790
7791 * notifications.el (notifications-on-action-signal)
7792 (notifications-on-closed-signal): Use also the bus address for the map.
7793 (notifications-notify, notifications-close-notification)
7794 (notifications-get-capabilities): Add optional argument BUS.
7795
7796 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7797
7798 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7799 Add support for the lstlisting and minted environments, and for the
7800 ctable macro.
7801 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7802 labels written in keyvals syntax.
7803
7804 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7805
7806 * calc/calccomp.el (math-compose-expr): Use parentheses when
7807 there is a product in the denominator of a fraction.
7808
7809 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7810
7811 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7812 ($(lisp)/calendar/diary-loaddefs.el)
7813 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7814 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7815 Fixes failures in parallel bootstrap because subdirs.el is being
7816 rewritten while the autoload files are built at the same time,
7817 which needs to load subdirs.el.
7818
7819 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7820
7821 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7822 (mouse-drag-line): Don't exit tracking when a switch-frame or
7823 switch-window event occurs (Bug#12006).
7824
7825 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7826
7827 * mouse.el (popup-menu): Fix last change.
7828
7829 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7830
7831 Autoload from Lisp with more care. Follow aliases when looking for
7832 function properties.
7833 * subr.el (autoloadp): New function.
7834 (symbol-file): Use it.
7835 (function-get): New function.
7836 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7837 autoload-do-load.
7838 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7839 (lisp-indent-function):
7840 * emacs-lisp/gv.el (gv-get):
7841 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7842 * emacs-lisp/byte-opt.el (byte-optimize-form):
7843 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7844 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7845 Use function-get.
7846 * emacs-lisp/cl.el: Don't propagate function properties any more.
7847
7848 * speedbar.el (speedbar-add-localized-speedbar-support):
7849 * emacs-lisp/disass.el (disassemble-internal):
7850 * desktop.el (desktop-load-file):
7851 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7852 (describe-function-1):
7853 * emacs-lisp/find-func.el (find-function-noselect):
7854 * emacs-lisp/elp.el (elp-instrument-function):
7855 * emacs-lisp/advice.el (ad-has-proper-definition):
7856 * apropos.el (apropos-safe-documentation, apropos-macrop):
7857 * emacs-lisp/debug.el (debug-on-entry):
7858 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7859 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7860 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7861
7862 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7863
7864 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7865 function, not an obsolete variable (Bug#12046).
7866
7867 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7868
7869 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7870
7871 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7872
7873 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7874 window only if it is still live (Bug#12034).
7875
7876 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7877
7878 * subr.el (redirect-frame-focus): Add advertised calling
7879 convention (Bug#12030).
7880
7881 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7882
7883 Prefer typical American spelling for "acknowledgment".
7884 * vc/add-log.el (change-log-acknowledgment): Rename from
7885 change-log-acknowledgement, with an alias for the old name.
7886
7887 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7888
7889 * calc-alg.el (math-simplify-divide): Don't cross multiply
7890 in an equation when the lhs is a variable.
7891
7892 2012-07-24 Julien Danjou <julien@danjou.info>
7893
7894 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7895 Remove, unused.
7896
7897 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7898
7899 * startup.el (command-line): Don't display an empty user name in
7900 the error message about non-existent home directory, when
7901 init-file-user was set to an empty string. See
7902 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
7903 for the details and context.
7904
7905 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
7906
7907 * ses.el (ses-cell-formula-aset): New macro.
7908 (ses-cell-references-aset): New macro.
7909 (ses-cell-p): New function.
7910 (ses-rename-cell): Do no longer rely on complex operations like
7911 ses-cell-set-formula or ses-set-cell to change the cell and handle
7912 the undo at the same time, but rather use lower level new macros
7913 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
7914 the undo directly. Refresh the mode line.
7915
7916 2012-07-21 Leo Liu <sdl.web@gmail.com>
7917
7918 * progmodes/cc-cmds.el (c-defun-name):
7919 Use match-string-no-properties instead for consistency.
7920
7921 2012-07-20 Leo Liu <sdl.web@gmail.com>
7922
7923 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
7924 (Bug#7879)
7925
7926 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
7927
7928 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
7929
7930 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
7931 * progmodes/bug-reference.el, misearch.el: Provide themselves
7932 (bug#11915).
7933
7934 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
7935 of narrowed buffer (bug#11966).
7936
7937 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
7938
7939 * ses.el (ses-rename-cell): Set new name also in reference list of
7940 cells of which the renamed cell depends.
7941
7942 2012-07-20 Masatake YAMATO <yamato@redhat.com>
7943
7944 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
7945 to check whether menu-bar is shown or not. If not shown,
7946 show the menu-bar as a popup menu instead of using tmm.
7947 * mouse.el (popup-menu): Accept `point' as `position' argument.
7948
7949 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
7950
7951 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
7952 up inside string symbol literal (bug#11923).
7953
7954 2012-07-20 Eli Zaretskii <eliz@gnu.org>
7955
7956 * startup.el (fancy-startup-text): Read the whole tutorial, not
7957 just its first 256 bytes. Prevents gibberish in display of the
7958 tutorial title.
7959
7960 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
7961
7962 Drop idle buffer compaction due to an absence of the
7963 proved efficiency.
7964 * compact.el: Remove.
7965
7966 2012-07-19 Sam Steingold <sds@gnu.org>
7967
7968 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
7969 vc-bzr-pull & vc-bzr-merge-branch.
7970 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
7971 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
7972 for consistency with compilation-error-regexp-alist.
7973 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
7974 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
7975 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
7976 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
7977
7978 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7979
7980 * emacs-lisp/chart.el: Use lexical-binding.
7981 (chart-emacs-storage): Don't hardcode the list of entries.
7982
7983 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7984
7985 Next round of tweaks caused by Fgarbage_collect changes.
7986 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
7987
7988 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
7989
7990 Compact buffers when idle.
7991 * compact.el: New file.
7992
7993 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
7994
7995 * subr.el (eventp): Presume that if it looks vaguely like an event,
7996 it's an event (bug#10190).
7997
7998 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
7999
8000 Enhancements to ppss related code (thanks Stefan).
8001 * progmodes/python.el (python-indent-context)
8002 (python-indent-calculate-indentation, python-indent-dedent-line)
8003 (python-indent-electric-colon, python-nav-forward-block)
8004 (python-mode-abbrev-table)
8005 (python-info-assignment-continuation-line-p): Simplify checks
8006 for ppss context.
8007 (python-info-continuation-line-p): Cleanup.
8008 (python-info-ppss-context): Do not catch 'quote.
8009 (python-info-ppss-context-type)
8010 (python-info-ppss-comment-or-string-p): Simplify.
8011
8012 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8013
8014 * progmodes/python.el: Enhancements to eldoc support.
8015 (python-info-current-symbol): New function.
8016 (python-eldoc-at-point): Use python-info-current-symbol.
8017 (python-info-current-defun): Fix cornercase on first defun scan.
8018 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8019 and signal error when no inferior python process is available.
8020
8021 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8022
8023 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8024 assume it's always t.
8025 (vc-git-registered): Remove caching, the function is only called
8026 once.
8027 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8028
8029 2012-07-18 Chong Yidong <cyd@gnu.org>
8030
8031 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8032
8033 * simple.el (count-words): Report on narrowing (Bug#9959).
8034
8035 * bindings.el: Bind M-= to count-words.
8036
8037 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8038
8039 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8040
8041 * progmodes/sh-script.el (sh-imenu-generic-expression):
8042 Capture a function with `function' keyword and without parentheses
8043 like "function FOO" (bug#11856).
8044
8045 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8046
8047 * window.el (split-window-sensibly): Make WINDOW argument
8048 optional.
8049
8050 2012-07-18 Chong Yidong <cyd@gnu.org>
8051
8052 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8053
8054 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8055 and make C-x 8 RET exit isearch (Bug#11439).
8056
8057 * international/iso-transl.el: Move isearch-mode-map key
8058 definitions to isearch.el.
8059
8060 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8061
8062 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8063 (eieio-defclass): Use gv-define-setter when possible.
8064
8065 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8066
8067 Reflect recent changes in Fgarbage_collect.
8068 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8069 reflect new format of data returned by Fgarbage_collect.
8070
8071 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8072
8073 New utility functions + python-info-ppss-context fix (Bug#11910).
8074 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8075 (python-info-ppss-comment-or-string-p): New functions.
8076 (python-info-ppss-context): Small fix for string check.
8077
8078 2012-07-17 Juri Linkov <juri@jurta.org>
8079
8080 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8081 (dired-do-async-shell-command): Don't add `*' at the end of the
8082 command (Bug#11815).
8083 (dired-do-shell-command): Doc fix.
8084 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8085 Join the individual commands using either "&" or ";" as the
8086 separator depending on the values of these trailing characters.
8087 At the end re-add the trailing "&". (Bug#10598)
8088
8089 * simple.el (async-shell-command): Sync the interactive spec with
8090 `shell-command'. Doc fix.
8091 (shell-command): Doc fix.
8092
8093 2012-07-17 Juri Linkov <juri@jurta.org>
8094
8095 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8096
8097 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8098
8099 Final renames and doc fixes for movement commands (bug#11899).
8100 * progmodes/python.el (python-nav-beginning-of-statement):
8101 Rename from python-nav-statement-start.
8102 (python-nav-end-of-statement): Rename from
8103 python-nav-statement-end.
8104 (python-nav-beginning-of-block): Rename from
8105 python-nav-block-start.
8106 (python-nav-end-of-block): Rename from python-nav-block-end.
8107
8108 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8109
8110 * progmodes/python.el (python-shell-send-string-no-output):
8111 Allow accept-process-output to quit, keeping shell process ready for
8112 future interactions (Bug#11868).
8113
8114 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8115
8116 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8117
8118 * emacs-lisp/elint.el (elint-find-args-in-code):
8119 Use help-function-arglist, so as to handle lexical byte-code.
8120
8121 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8122 change (bug#11826).
8123
8124 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8125
8126 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8127 Avoid spuriously marking the buffer as modified because of c-is-sws.
8128
8129 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8130 as not-a-comment (bug#11946).
8131
8132 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8133 for uninterned vars.
8134
8135 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8136 Use read-event since we don't really want to read chars but bytes.
8137
8138 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8139 $$..$$ but also $..$ using regexps (bug#11953).
8140 Use tex-verbatim for \url and \path.
8141 (tex-font-lock-keywords): Define as defconst like the others.
8142 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8143
8144 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8145
8146 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8147 alias for insert-char.
8148
8149 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8150
8151 * progmodes/python.el: Simplified imenu implementation.
8152 (python-nav-jump-to-defun): Remove command.
8153 (python-mode-map): Use `imenu' instead.
8154 (python-nav-list-defun-positions-cache)
8155 (python-imenu-include-defun-type, python-imenu-make-tree)
8156 (python-imenu-subtree-root-label, python-imenu-index-alist):
8157 Remove vars.
8158 (python-nav-list-defun-positions, python-nav-read-defun)
8159 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8160 (python-imenu-make-tree, python-imenu-create-index):
8161 Remove functions.
8162 (python-mode): Update to interact with imenu by setting
8163 `imenu-extract-index-name-function' only.
8164
8165 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8166
8167 * progmodes/python.el: Enhancements to navigation commands.
8168 (python-nav-backward-sentence)
8169 (python-nav-forward-sentence): Remove.
8170 (python-nav-backward-statement, python-nav-forward-statement)
8171 (python-nav-statement-start, python-nav-statement-end)
8172 (python-nav-backward-block, python-nav-forward-block)
8173 (python-nav-block-start, python-nav-block-end)
8174 (python-nav-forward-sexp-function)
8175 (python-info-current-line-comment-p)
8176 (python-info-current-line-empty-p): New functions.
8177 (python-indent-context): Use `python-nav-statement-start'.
8178
8179 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8180
8181 * eshell/em-ls.el (eshell/ls): Use `apply'.
8182
8183 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8184 multi-hops, instead of Tramp internals.
8185
8186 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8187
8188 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8189 when F1 and F2 are located on different hosts.
8190
8191 2012-07-14 Chong Yidong <cyd@gnu.org>
8192
8193 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8194 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8195 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8196 (xterm-mouse--read-event-sequence-1000)
8197 (xterm-mouse--read-event-sequence-1006): New functions. For old
8198 mouse protocol, handle M-mouse-X events correctly.
8199 (xterm-mouse-event): New arg specifying mouse protocol.
8200 (turn-on-xterm-mouse-tracking-on-terminal)
8201 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8202 sequence to toggle extended coordinates on newer XTerms.
8203 This appears to be harmless on terminals which do not support this.
8204
8205 2012-07-14 Leo Liu <sdl.web@gmail.com>
8206
8207 Add fringe bitmap indicators for flymake. (Bug#11253)
8208 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8209 (flymake-make-overlay): New arg BITMAP.
8210 (flymake-error-bitmap, flymake-warning-bitmap)
8211 (flymake-fringe-indicator-position): New user variables.
8212
8213 * fringe.el: New bitmap exclamation-mark.
8214
8215 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8216
8217 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8218 also (Bug#7879).
8219
8220 2012-07-14 Chong Yidong <cyd@gnu.org>
8221
8222 * electric.el (electric-pair-post-self-insert-function): Fix pair
8223 insertion in empty-region case (Bug#11520).
8224
8225 2012-07-14 Chong Yidong <cyd@gnu.org>
8226
8227 * bindings.el: Consolidate ctl-x-r-map bindings.
8228 Bind copy-rectangle-as-kill to C-x r w.
8229
8230 * rect.el, register.el: Move bindings to bindings.el.
8231
8232 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8233
8234 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8235
8236 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8237
8238 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8239
8240 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8241
8242 * bindings.el (top): Use `mapc' instead of `mapcar'.
8243
8244 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8245
8246 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8247
8248 * progmodes/sql.el (sql-comint): Suppress the check for program on
8249 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8250 (Bug#11908)
8251
8252 2012-07-13 Chong Yidong <cyd@gnu.org>
8253
8254 * bindings.el: Assign a non-nil permanent-local property to
8255 per-buffer variables which lack a default value (Bug#11930).
8256
8257 * help-fns.el (describe-variable): In the "automatically becomes
8258 local" notice, take note of permanent-local variables.
8259
8260 2012-07-13 Chong Yidong <cyd@gnu.org>
8261
8262 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8263 to allow printing the message when called from Lisp.
8264
8265 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8266 Remove toggle-read-only.
8267
8268 * bs.el (bs-toggle-readonly):
8269 * buff-menu.el (Buffer-menu-toggle-read-only):
8270 Remove with-no-warnings around toggle-read-only.
8271
8272 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8273 Remove with-no-warnings around toggle-read-only.
8274 (ffap-read-only, ffap-read-only-other-window)
8275 (ffap-read-only-other-frame): Callers changed.
8276
8277 * help-mode.el: Don't require view package.
8278 (help-mode-finish): Set buffer-read-only instead of calling
8279 toggle-read-only.
8280
8281 * bindings.el (mode-line-toggle-read-only):
8282 * dired.el (dired-toggle-read-only):
8283 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8284 with non-nil second arg.
8285
8286 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8287 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8288 directly.
8289
8290 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8291
8292 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8293 not incf.
8294
8295 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8296
8297 More CL cleanups and reduction of use of cl.el.
8298 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8299 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8300 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8301 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8302 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8303 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8304 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8305 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8306 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8307 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8308 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8309 * eshell/em-cmpl.el, eshell/em-banner.el:
8310 * calendar/parse-time.el: Use cl-lib.
8311 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8312 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8313 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8314 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8315 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8316 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8317 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8318 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8319 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8320 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8321 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8322 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8323 `lambda' rather than with `quote'.
8324 (eshell-do-opt): Adjust accordingly.
8325 (eshell-process-option): Simplify.
8326 * eshell/esh-var.el:
8327 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8328 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8329 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8330 to `pcase--dontcare'.
8331 * emacs-lisp/cl.el (labels): Mark obsolete.
8332 (cl--letf, letf): Move to cl-lib.
8333 (cl--letf*, letf*): Remove.
8334 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8335 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8336 (cl-progv): Rewrite.
8337 (cl--letf, cl-letf): Move from cl.el.
8338 (cl-letf*): New macro.
8339 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8340
8341 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8342
8343 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8344
8345 2012-07-11 Chong Yidong <cyd@gnu.org>
8346
8347 * vc/log-edit.el (log-edit-vc-backend): New variable.
8348 (log-edit): Doc fix.
8349
8350 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8351 argument of log-edit to set up all local variables.
8352 (vc-start-logentry): New optional arg specifying VC backend.
8353
8354 * vc/vc.el (vc-checkin): Use it.
8355 (vc-deduce-fileset): Handle Log Edit buffers.
8356 (vc-diff): Make first argument optional too.
8357
8358 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8359
8360 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8361
8362 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8363 command, just in case. The function is not needed anymore.
8364 (eshell-external-command): Do not call `eshell-remote-command'.
8365
8366 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8367
8368 Reduce use of (require 'cl).
8369 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8370 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8371 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8372 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8373 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8374 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8375 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8376 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8377 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8378 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8379 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8380 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8381 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8382 (byte-compile-unfold-bcf, byte-compile-check-variable):
8383 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8384 (byte-compile-nilconstp):
8385 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8386 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8387
8388 * emacs-lisp/gv.el (cond): Make it a valid place.
8389 (if): Simplify slightly.
8390
8391 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8392 (pcase--self-quoting-p): New function.
8393 (pcase--u1): Use it.
8394
8395 2012-07-10 Glenn Morris <rgm@gnu.org>
8396
8397 * emacs-lisp/authors.el (authors-fixed-entries):
8398 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8399
8400 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8401
8402 Rename configure.in to configure.ac (Bug#11603).
8403 * emacs-lisp/authors.el (authors-canonical-file-name):
8404 * progmodes/autoconf.el (autoconf-mode):
8405 Prefer configure.ac to configure.in.
8406
8407 2012-07-08 Chong Yidong <cyd@gnu.org>
8408
8409 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8410 Implement the mouse-1-click-follows-link handling properly.
8411
8412 * info.el (Info-link-keymap): Use follow-link mechanism for
8413 header-line links (Bug#374).
8414
8415 * simple.el (deactivate-mark): Do not set the primary selection
8416 if another program has acquired it (Bug#11772).
8417
8418 2012-07-07 Kevin Ryde <user42@zip.com.au>
8419
8420 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8421 (woman-decode-region): Replace escaped-escapes without destroying
8422 bold or underline (Bug#11552).
8423 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8424
8425 2012-07-07 Chong Yidong <cyd@gnu.org>
8426
8427 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8428 (interprogram-cut-function, interprogram-paste-function):
8429 Mention that we typically mean the clipboard.
8430
8431 2012-07-06 Glenn Morris <rgm@gnu.org>
8432
8433 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8434
8435 * files.el (toggle-read-only): Restrict message to interactive use.
8436
8437 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8438
8439 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8440
8441 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8442
8443 2012-07-06 Glenn Morris <rgm@gnu.org>
8444
8445 * Makefile.in (compile-one-process): Rename from "recompile".
8446
8447 * Makefile.in (bzr-update): "compile" is the same as "recompile
8448 autoloads", but parallelizable, so use that instead.
8449
8450 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8451
8452 * window.el (quit-window): Always restore window height when
8453 it's saved in quit-restore parameter (Bug#11810).
8454
8455 2012-07-06 Glenn Morris <rgm@gnu.org>
8456
8457 * simple.el (kill-whole-line): Doc tweak.
8458
8459 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8460
8461 * files.el (file-relative-name): Compare file names
8462 case-insensitively if on MS-Windows or MS-DOS, or if
8463 read-file-name-completion-ignore-case is non-nil. Don't use
8464 case-fold-search for this purpose. (Bug#11827)
8465
8466 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8467
8468 * calendar/cal-dst.el (calendar-current-time-zone):
8469 Return calendar-current-time-zone-cache if non-nil.
8470
8471 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8472 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8473
8474 * calendar/cal-dst.el (calendar-current-time-zone):
8475 Return calendar-current-time-zone-cache if non-nil.
8476
8477 2012-07-06 Glenn Morris <rgm@gnu.org>
8478
8479 * Makefile.in (cvs-update): Remove old alias.
8480
8481 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8482
8483 Sync with Tramp 2.2.6-pre.
8484
8485 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8486 compatible declaration.
8487
8488 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8489 Protect `list-load-path-shadows' call.
8490
8491 * net/tramp-compat.el (top): Require packages, which aren't
8492 autoloaded anymore for XEmacs. Protect call of
8493 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8494 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8495 it hurts at least for SXEmacs.
8496 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8497 standard-value for `temporary-file-directory'.
8498
8499 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8500 Redirect stderr to /dev/null.
8501 (tramp-sh-handle-write-region): uid and gid can be floats.
8502 Reported by Russell Sim <russell.sim@gmail.com>.
8503 (tramp-sh-handle-vc-registered): Hide errors.
8504 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8505 and `start-file-process'.
8506 (tramp-maybe-open-connection): Check also whether `non-essential'
8507 is bound.
8508
8509 2012-07-04 Chong Yidong <cyd@gnu.org>
8510
8511 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8512 (xml-parse-tag): Likewise, and avoid changing entity tables.
8513 (xml-syntax-table): Define from scratch, making sure not to give
8514 x2000 and other Unicode spaces whitespace syntax, since those are
8515 not spaces in XML.
8516 (xml-parse-fragment): Delete unused function.
8517 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8518 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8519 (xml-entity-ref, xml-pe-reference-re)
8520 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8521 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8522 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8523 (xml-entity-value-re): Use syntax references in regexps where
8524 possible; no need to define inside a let-binding.
8525 (xml-parse-dtd): Use xml-pe-reference-re.
8526 (xml-entity-or-char-ref-re): New defconst.
8527 (xml-parse-string, xml-substitute-special): Use it.
8528
8529 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8530
8531 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8532 (find-file--read-only): New function.
8533 (find-file-read-only, find-file-read-only-other-window)
8534 (find-file-read-only-other-frame): Use it.
8535 (insert-file-contents-literally): Don't `fset'.
8536 (get-free-disk-space): Use locate-dominating-file.
8537
8538 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8539 function is already compiled.
8540
8541 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8542
8543 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8544
8545 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8546 files on the same host.
8547
8548 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8549
8550 * help-fns.el (describe-function-1): Only call
8551 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8552
8553 2012-07-03 Chong Yidong <cyd@gnu.org>
8554
8555 * xml.el: Protect parser against XML bombs.
8556 (xml-entity-expansion-limit): New variable.
8557 (xml-parse-string, xml-substitute-special): Use it.
8558 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8559
8560 2012-07-03 Glenn Morris <rgm@gnu.org>
8561
8562 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8563 Allow linking to specific messages in debbugs reports (eg 123#5).
8564
8565 2012-07-02 Chong Yidong <cyd@gnu.org>
8566
8567 * xml.el: Fix entity and character reference expansion, allowing
8568 them to expand into markup as per XML spec.
8569 (xml-default-ns): New variable.
8570 (xml-entity-alist): Use XML spec definitions for lt and amp.
8571 (xml-parse-region): Make first two arguments optional.
8572 Discard text properties.
8573 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8574 All callers changed.
8575 (xml-parse-tag): Call xml-parse-tag-1. For backward
8576 compatibility, this function should not modify buffer contents.
8577 (xml-parse-tag-1): Fix opening-tag regexp.
8578 (xml-parse-string): Rewrite, handling entity and character
8579 references properly.
8580 (xml--entity-replacement-text): Signal an error if a parameter
8581 entity is undefined.
8582
8583 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8584
8585 * comint.el (comint-output-filter): Filter out repeated prompts.
8586
8587 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8588 and file-name-absolute-p.
8589 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8590 internal calls.
8591
8592 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8593
8594 Spelling fixes.
8595 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8596 Rename from byte-compile--refiy-function. All uses changed.
8597
8598 2012-07-01 Chong Yidong <cyd@gnu.org>
8599
8600 * xml.el (xml--parse-buffer): New function. Move most of
8601 xml-parse-region here.
8602 (xml-parse-region): Copy region into a temporary buffer, since
8603 parameter entity substitution requires changing buffer contents.
8604 Use xml--parse-buffer.
8605 (xml-parse-file): Use xml--parse-buffer.
8606 (xml-parse-dtd): Make parameter entity substitution work right.
8607 Use proper regexps for ELEMENT declarations (Bug#7172).
8608
8609 2012-06-30 Glenn Morris <rgm@gnu.org>
8610
8611 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8612
8613 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8614 Remove outdated and unnecessary dbus declarations.
8615
8616 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8617
8618 * emacs-lisp/timer.el (timer-until): Subtract results of
8619 float-time, instead of taking float-time of the result of
8620 time-subtract, since float-time signals an error for negative time
8621 arguments.
8622
8623 2012-06-30 Chong Yidong <cyd@gnu.org>
8624
8625 * xml.el (xml-*-re): Convert defvars into defconsts, and
8626 eval-and-compile them so eval-and-compile works on derivatives.
8627 (xml--entity-replacement-text): Use eval-and-comple.
8628
8629 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8630
8631 * vc/vc-git.el (vc-git-registered): Use cache property
8632 `git-registered'.
8633 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8634 `vc-git-working-revision' in order to benefit from the cache.
8635 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8636
8637 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8638
8639 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8640 removed (likely outside Emacs). (Bug#11757)
8641
8642 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8643
8644 * emacs-lisp/cl-lib.el: Require macroexp.
8645
8646 2012-06-30 Chong Yidong <cyd@gnu.org>
8647
8648 * xml.el: Implement XML parameter entities.
8649 (xml-parameter-entity-alist): New variable.
8650 (xml-parse-region, xml-parse-fragment): Preserve previous values
8651 of xml-entity-alist and xml-parameter-entity-alist, so that
8652 repeated calls on different documents do not change them.
8653 (xml-parse-tag): Fix doctype regexp.
8654 (xml--entity-replacement-text): New function.
8655 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8656 properly requires url retrieval which is unimplemented.
8657 (xml-escape-string): Doc fix.
8658
8659 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8660
8661 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8662
8663 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8664
8665 * fringe.el (fringe-mode): Doc fix.
8666
8667 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8668
8669 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8670 is non-nil.
8671 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8672 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8673
8674 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8675
8676 * calendar/cal-dst.el (calendar-current-time-zone):
8677 Return calendar-current-time-zone-cache if non-nil.
8678
8679 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8680
8681 * progmodes/which-func.el (which-func-format):
8682 Add mouse-face. (Bug#11698)
8683
8684 2012-06-29 Leo Liu <sdl.web@gmail.com>
8685
8686 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8687
8688 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8689
8690 * minibuffer.el (minibuffer-confirm-exit-commands):
8691 Add completion-at-point (bug#11725).
8692
8693 2012-06-29 Glenn Morris <rgm@gnu.org>
8694
8695 * progmodes/f90.el (f90-font-lock-keywords-2):
8696 Add some preprocessor elements. (Bug#10499)
8697
8698 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8699
8700 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8701 Use syntax-propertize (bug#11739).
8702
8703 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8704
8705 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8706
8707 2012-06-28 Julien Danjou <julien@danjou.info>
8708
8709 * term.el (term-handle-colors-array): Use a set of new faces to
8710 color the terminal. Also uses :inverse-video property.
8711 (term-default-fg-color): Set to nil by default, deprecate in favor
8712 of `term-face'.
8713 (term-default-bg-color): Set to nil by default, deprecate in favor
8714 of `term-face'.
8715 (term-current-face): Use `term-face' by default.
8716 (term-bold-attribute): Variable deleted.
8717
8718 2012-06-28 Glenn Morris <rgm@gnu.org>
8719
8720 * simple.el (completion-list-mode-finish):
8721 Don't use toggle-read-only. (Since completion-list-mode has
8722 a special mode-class, it wasn't doing anything extra anyway.)
8723
8724 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8725
8726 Make inlining of other-mode interpreted functions work (bug#11799).
8727 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8728 (byte-compile): Use it to fix compilation of lexical-binding closures.
8729 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8730 function, if needed.
8731
8732 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8733
8734 * help-mode.el (help-make-xrefs): Don't just withstand
8735 cyclic-variable-indirection but any error in documentation-property.
8736
8737 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8738 memory use.
8739 * bindings.el (bindings--define-key): New function.
8740 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8741 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8742 * bindings.el: Use it to purecopy define-key bindings.
8743
8744 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8745
8746 * emacs-lisp/cl.el (flet): Mark obsolete.
8747 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8748 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8749 * progmodes/js.el (js-c-fill-paragraph):
8750 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8751 (ebrowse-switch-member-buffer-to-derived-class):
8752 * play/5x5.el (5x5-solver): Use cl-flet.
8753
8754 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8755 (cl--symbol-function): New macro.
8756 (cl--letf, cl--letf*): Use it.
8757
8758 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8759 Strip "toggle-" if any.
8760
8761 2012-06-27 Glenn Morris <rgm@gnu.org>
8762
8763 * info.el (Info-default-directory-list): Move here from paths.el.
8764 * paths.el: Remove file, which is now empty.
8765 * loadup.el: No longer load "paths".
8766
8767 * custom.el (custom-initialize-delay): Doc fix.
8768
8769 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8770 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8771 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8772 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8773 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8774 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8775 * eshell/eshell.el (eshell-defgroup): Remove alias.
8776
8777 2012-06-27 Chong Yidong <cyd@gnu.org>
8778
8779 * help.el (help-enable-auto-load): New variable.
8780
8781 * help-fns.el (help-fns--autoloaded-p): New function.
8782 (describe-function-1): Refer to a function as "autoloaded" if it
8783 was autoloaded at any time in the past. Perform autoloading if
8784 help-enable-auto-load is non-nil.
8785
8786 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8787
8788 * makefile.w32-in (compile, compile-always): Depend on
8789 update-subdirs, not on subdirs.el. Otherwise, several different
8790 sub-targets of 'bootstrap' running in parallel could
8791 simultaneously write to subdirs.el, producing a garbled file.
8792
8793 2012-06-26 Sam Steingold <sds@gnu.org>
8794
8795 * files.el (file-name-base): New convenience function.
8796 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8797 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8798 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8799 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8800 * textmodes/ispell.el, textmodes/reftex-ref.el:
8801 * textmodes/tex-mode.el: Use it.
8802 Did not touch cedet and org because they are maintained elsewhere.
8803
8804 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8805
8806 * calendar/calendar.el (calendar-exit): Don't try to delete or
8807 iconify last frame. See:
8808 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8809
8810 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8811
8812 * server.el (server-process-filter): Remember dir in the
8813 process's `server-client-directory' properties.
8814
8815 2012-06-24 Chong Yidong <cyd@gnu.org>
8816
8817 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8818 non-tag text.
8819
8820 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8821
8822 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8823
8824 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8825
8826 * help-fns.el (describe-variable): Don't croak when doc is not found.
8827 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8828 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8829 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8830 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8831 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8832 ((lambda ..) ..).
8833 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8834
8835 2012-06-23 Chong Yidong <cyd@gnu.org>
8836
8837 * info.el (Info-mouse-follow-link): Accept symbol values of
8838 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8839 (Info-fontify-node): Use Info-link-keymap for all navigation
8840 buttons, with link-args property to perform the desired action.
8841 (Info-link-keymap): Doc fix.
8842 (Info-next-link-keymap, Info-prev-link-keymap)
8843 (Info-up-link-keymap): Delete now-unused keymaps.
8844
8845 2012-06-23 Chong Yidong <cyd@gnu.org>
8846
8847 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8848
8849 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8850 system abbrevs.
8851
8852 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8853
8854 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8855
8856 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8857 (bug#11719).
8858
8859 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8860 the requote function doesn't work properly (bug#11714).
8861
8862 2012-06-23 Glenn Morris <rgm@gnu.org>
8863
8864 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8865
8866 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8867
8868 Further GV/CL cleanups.
8869 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8870 gv-expander.
8871 (gv--defun-declaration): New function.
8872 (defun-declarations-alist): Use it.
8873 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8874 (gv-place): Autoload.
8875 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8876 original definition of dotimes and dolist.
8877 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8878 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8879 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8880 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8881 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8882 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8883 to the function's definition.
8884 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8885 * window.el:
8886 * files.el:
8887 * faces.el:
8888 * env.el: Don't use CL.
8889
8890 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8891
8892 Support higher-resolution time stamps (Bug#9000).
8893
8894 * calendar/time-date.el (with-decoded-time-value): New arg
8895 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8896 (encode-time-value): New optional arg PICO. New type 3.
8897 (time-to-seconds) [!float-time]: Support the new picoseconds
8898 component if it's used.
8899 (seconds-to-time, time-subtract, time-add):
8900 Support ps-resolution time stamps as well.
8901
8902 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
8903 (timerp): Timer vectors now have length 9, not 8.
8904 (timer--time): Support new-style (4-part) time stamps.
8905 (timer-next-integral-multiple-of-time): Time stamps now have
8906 picosecond resolution, so take a bit more care about rounding.
8907 (timer-relative-time, timer-inc-time): New optional arg psecs.
8908 (timer-set-time-with-usecs): Set psecs to 0.
8909 (timer--activate): Check psecs component, too.
8910
8911 * proced.el (proced-time-lessp): Support ps-resolution stamps.
8912
8913 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8914
8915 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
8916 Move the non-essential binding to the post/pre-command-hook where it is
8917 more obviously correct.
8918
8919 * subr.el (read-passwd): Don't use a history at all.
8920 * savehist.el (savehist-save): Remove password saved accidentally
8921 because of the above bug.
8922
8923 2012-06-22 Bastien Guerry <bzg@gnu.org>
8924
8925 * files.el (toggle-read-only): Display a message telling whether
8926 the buffer is read-only or not (bug#11726).
8927
8928 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8929
8930 * emacs-lisp/gv.el: New file.
8931 * subr.el (push, pop): Extend to generalized variables.
8932 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
8933 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
8934 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
8935 gv-define-simple-setter, and gv-define-expander.
8936 Remove setf-methods defined in gv. Rename cl-setf -> setf.
8937 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
8938 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
8939 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
8940 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
8941 gv-letplace.
8942 (cl-defstruct): Don't define setf-method any more.
8943 * emacs-lisp/cl.el (flet): Don't autoload.
8944 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
8945 (define-setf-expander, defsetf, define-modify-macro)
8946 (cl-struct-setf-expander): Move from cl-lib.el.
8947 * emacs-lisp/syntax.el:
8948 * emacs-lisp/ewoc.el:
8949 * emacs-lisp/smie.el:
8950 * emacs-lisp/cconv.el:
8951 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
8952 (timer--time): Use gv-define-simple-setter.
8953 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
8954 to avoid coding-system problems in subr.el. Adjust all users.
8955 (macroexp--maxsize, macroexp-small-p): New functions.
8956 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
8957 * scroll-bar.el (scroll-bar-mode):
8958 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8959 (normal-erase-is-backspace-mode): Don't use the `eq' place.
8960 * winner.el (winner-configuration, winner-make-point-alist)
8961 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
8962 * files.el (locate-file-completion-table): Avoid list*.
8963
8964 2012-06-22 Chong Yidong <cyd@gnu.org>
8965
8966 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
8967 (dired-create-files): Doc fix (Bug#11329).
8968 (dired-do-copy): Doc fix (Bug#11334).
8969 (dired-mark-read-string): Doc fix (Bug#11553).
8970
8971 * dired.el (dired-recursive-copies, dired-recursive-deletes):
8972 Doc fix (Bug#11326).
8973 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
8974 (dired-dwim-target): Doc fix.
8975
8976 * wdired.el (wdired-mode): Doc fix.
8977
8978 2012-06-22 Glenn Morris <rgm@gnu.org>
8979
8980 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
8981 (pcmpl-rpm-cache-stamp-file): New constant.
8982 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
8983 (pcmpl-rpm-packages): Optionally cache list of packages.
8984
8985 * pcmpl-rpm.el (pcmpl-rpm): New group.
8986 (pcmpl-rpm-query-options): New option.
8987 (pcmpl-rpm-packages): No need to inline it.
8988 Use pcmpl-rpm-query-options.
8989
8990 * calendar/calendar.el (calendar-in-read-only-buffer):
8991 Avoid some needless mode changes.
8992
8993 2012-06-21 Chong Yidong <cyd@gnu.org>
8994
8995 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
8996 (desktop-path): Remove . from the default value (Bug#10977).
8997 (desktop-read): Use user-emacs-directory if desktop-path is nil.
8998
8999 2012-06-20 Chong Yidong <cyd@gnu.org>
9000
9001 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9002
9003 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9004
9005 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9006 (bug#11201).
9007
9008 2012-06-20 Chong Yidong <cyd@gnu.org>
9009
9010 * term.el (term-window-width): Handle the case of a missing right
9011 fringe (Bug#8837).
9012 (term-check-size): Use window-text-height (Bug#5445).
9013 (term-mode): Use define-derived-mode. Minor cleanups.
9014 Set font-lock-defaults (Bug#7692).
9015 (term-move-columns, term-insert-char, term-emulate-terminal)
9016 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9017
9018 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9019
9020 * net/ange-ftp.el (ange-ftp-get-passwd):
9021 Bind `enable-recursive-minibuffers'.
9022 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9023
9024 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9025
9026 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9027
9028 2012-06-19 Glenn Morris <rgm@gnu.org>
9029
9030 * progmodes/python.el (python-mode): Derive from prog-mode.
9031
9032 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9033
9034 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9035 (edt-user-menu-bar-update-buffers): New functions.
9036 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9037
9038 2012-06-19 Chong Yidong <cyd@gnu.org>
9039
9040 * subr.el (with-selected-window): Preserve the selected window's
9041 terminal's top-frame (Bug#4702).
9042
9043 * window.el (save-selected-window): Likewise.
9044
9045 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9046
9047 * progmodes/python.el (python-rx-constituents): Move backquote.
9048 (python-skeleton-define, python-define-auxiliary-skeleton):
9049 Use `declare'.
9050
9051 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9052
9053 * minibuffer.el (read-file-name-default): Revert the patch from
9054 2012-06-17.
9055
9056 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9057
9058 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9059 (pcase--u1, pcase--q1): Don't use apply-partially.
9060
9061 2012-06-18 Glenn Morris <rgm@gnu.org>
9062
9063 * progmodes/python.el (python-proc, python-buffer)
9064 (python-send-receive, python-send-string): Fix obsolete versions.
9065
9066 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9067
9068 * window.el (special-display-p): Completely remove stringp
9069 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9070
9071 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9072
9073 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9074
9075 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9076
9077 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9078 * net/tramp-sh.el (tramp-maybe-open-connection):
9079 Throw if `non-essential' is non-nil.
9080
9081 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9082
9083 * window.el (special-display-p): Signal an error if BUFFER-NAME
9084 is not a string (Bug#11713).
9085
9086 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9087
9088 * progmodes/python.el (python-info-beginning-of-backslash):
9089 Rename from python-info-beginning-of-backlash, as a spelling fix.
9090
9091 2012-06-17 Chong Yidong <cyd@gnu.org>
9092
9093 * term.el (term-emulate-terminal): If term-check-size is called,
9094 move point to the process mark without resetting point (Bug#4635).
9095
9096 2012-06-17 Glenn Morris <rgm@gnu.org>
9097
9098 * international/mule-cmds.el (mule-menu-keymap)
9099 (set-language-environment, set-locale-environment): Doc tweaks.
9100
9101 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9102
9103 * cus-face.el (custom-face-attributes): Add wave-style underline
9104 attribute.
9105 * faces.el (set-face-attribute): Update docstring to describe
9106 wave-style underline attribute.
9107
9108 2012-06-16 Chong Yidong <cyd@gnu.org>
9109
9110 * term/xterm.el (terminal-init-xterm): Discard input before
9111 querying background mode (Bug#10959).
9112
9113 2012-06-16 Stefan Merten <smerten@oekonux.de>
9114
9115 * textmodes/rst.el: Added and corrected some comments.
9116 (rst-re-alist-def): Improve symbol syntax.
9117 (rst-mode-syntax-table): Correct syntax entries.
9118 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9119 (rst-official-version, rst-official-cvs-rev): Update version
9120 information.
9121
9122 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9123
9124 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9125 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9126
9127 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9128
9129 * progmodes/python.el: New python.el merge.
9130 (python-guess-indent): Obsolete var.
9131 (python-indent-guess-indent-offset): New defcustom.
9132 (python-indent): Obsolete var.
9133 (python-indent-offset): New defcustom.
9134 (python-python-command, python-jython-command): Delete var.
9135 (python-shell-interpreter): New defcustom.
9136 (python-pdbtrack-do-tracking-p): Delete var.
9137 (python-pdbtrack-activate): New defcustom.
9138 (python-use-skeletons): Obsolete var.
9139 (python-skeleton-autoinsert): New defcustom.
9140 (inferior-python-filter-regexp, python-continuation-offset)
9141 (python-honour-comment-indentation, python-indent-string-contents)
9142 (python-jython-packages, python-mode-hook)
9143 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9144 (python-shell-prompt-alist)
9145 (python-source-modes): Delete defcustoms.
9146 (python-check-buffer-name, python-eldoc-setup-code)
9147 (python-eldoc-string-code, python-ffap-setup-code)
9148 (python-ffap-string-code, python-fill-comment-function)
9149 (python-fill-decorator-function, python-fill-paren-function)
9150 (python-fill-string-function, python-imenu-include-defun-type)
9151 (python-imenu-make-tree, python-imenu-subtree-root-label)
9152 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9153 (python-shell-compilation-regexp-alist)
9154 (python-shell-completion-module-string-code)
9155 (python-shell-completion-pdb-string-code)
9156 (python-shell-completion-setup-code)
9157 (python-shell-completion-string-code)
9158 (python-shell-enable-font-lock, python-shell-exec-path)
9159 (python-shell-extra-pythonpaths)
9160 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9161 (python-shell-process-environment)
9162 (python-shell-prompt-block-regexp)
9163 (python-shell-prompt-output-regexp)
9164 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9165 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9166 (python-shell-virtualenv-path): New defcustoms.
9167 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9168 (inferior-python-mode-syntax-table, python--prompt-regexp)
9169 (python-buffer, python-command python-python-command)
9170 (python-default-template, python-imports, python-indent-index)
9171 (python-indent-list, python-indent-list-length)
9172 (python-mode-running, python-pdbtrack-is-tracking-p)
9173 (python-preoutput-continuation, python-preoutput-leftover)
9174 (python-preoutput-result, python-preoutput-skip-next-prompt)
9175 (python-prev-dir/file, python-recursing)
9176 (python-saved-check-command, python-version-checked)
9177 (python-which-func-length-limit)
9178 (view-return-to-alist): Delete vars.
9179 (python-check-custom-command, python-dotty-syntax-table)
9180 (python-imenu-index-alist, python-indent-current-level)
9181 (python-indent-dedenters, python-indent-levels)
9182 (python-nav-beginning-of-defun-regexp)
9183 (python-nav-list-defun-positions-cache)
9184 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9185 (python-shell-internal-buffer)
9186 (python-skeleton-available): New vars.
9187 (def-python-skeleton): Delete macro.
9188 (python-skeleton-define): New macro.
9189 (python-define-auxiliary-skeleton, python-rx): New macros.
9190 (python-insert-class): Delete command.
9191 (python-skeleton-class): New command.
9192 (python-insert-def): Delete command.
9193 (python-skeleton-def): New command.
9194 (python-insert-for): Delete command.
9195 (python-skeleton-for): New command.
9196 (python-insert-if): Delete command.
9197 (python-skeleton-if): New command.
9198 (python-insert-try/except, python-insert-try/finally): Delete commands.
9199 (python-skeleton-try): New command.
9200 (python-insert-while): Delete command.
9201 (python-skeleton-while): New command.
9202 (python-backspace): Delete command.
9203 (python-indent-dedent-line-backspace): New command.
9204 (python-electric-colon): Delete command.
9205 (python-indent-electric-colon): New command.
9206 (python-guess-indent): Delete command.
9207 (python-indent-guess-indent-offset): New command.
9208 (python-shift-left): Delete command.
9209 (python-indent-shift-left): New command.
9210 (python-shift-right): Delete command.
9211 (python-indent-shift-right): New command.
9212 (python-find-function): Delete command.
9213 (python-nav-jump-to-defun): New command.
9214 (python-next-statement): Delete command.
9215 (python-nav-forward-sentence): New command.
9216 (python-previous-statement): Delete command.
9217 (python-nav-backward-sentence): New command.
9218 (python-fill-paragraph): Delete command.
9219 (python-fill-paragraph-function): New command.
9220 (python-send-buffer): Delete command.
9221 (python-shell-send-buffer): New command.
9222 (python-send-defun): Delete command.
9223 (python-shell-send-defun): New command.
9224 (python-send-region, python-send-region-and-go): Delete commands.
9225 (python-shell-send-region)
9226 (python-shell-switch-to-shell): New commands.
9227 (python-send-string): Delete command.
9228 (python-shell-send-string): New command.
9229 (python-switch-to-python): Delete command.
9230 (python-shell-switch-to-shell): New command.
9231 (python-describe-symbol): Delete command.
9232 (python-eldoc-at-point): New command.
9233 (python--set-prompt-regexp, python-args-to-list)
9234 (python-after-info-look, python-check-version)
9235 (python-check-comint-prompt, python-find-imports)
9236 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9237 (python-unload-function, python-expand-template)
9238 (python-maybe-jython, python-preoutput-filter)
9239 (python-pdbtrack-get-source-buffer)
9240 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9241 (python-pdbtrack-toggle-stack-tracking)
9242 (python-pdbtrack-track-stack-file, python-initial-text)
9243 (python-first-word, python-comment-line-p, python-send-command)
9244 (python-setup-brm, python-sentinel, python-set-proc)
9245 (python-skip-out, python-input-filter, python-outdent-p)
9246 (python-outline-level, python-backslash-continuation-line-p)
9247 (python-end-of-block, python-end-of-statement, python-mark-block)
9248 (python-beginning-of-block, python-beginning-of-statement)
9249 (python-blank-line-p, python-beginning-of-string)
9250 (python-open-block-statement-p): Delete functions.
9251 (python-indent-line, python-indent-line-1): Delete functions.
9252 (python-indent-line): New function.
9253 (python-indentation-levels): Delete function.
9254 (python-indent-calculate-levels): New function.
9255 (python-proc): Delete function.
9256 (python-shell-get-process): New function.
9257 (python-send-receive): Delete function.
9258 (python-shell-send-string-no-output): New function.
9259 (python-module-path): Delete function.
9260 (python-ffap-module-path): New function.
9261 (python-completion-at-point)
9262 (python-symbol-completions): Delete functions.
9263 (python-completion-complete-at-point): New function.
9264 (python-load-file): Delete function.
9265 (python-shell-send-file): New function.
9266 (python-calculate-indentation): Delete function.
9267 (python-indent-calculate-indentation): New function.
9268 (python-skip-comments/blanks): Delete function.
9269 (python-util-forward-comment): New function.
9270 (python-continuation-line-p): Delete function.
9271 (python-info-continuation-line-p): New function.
9272 (python-which-func, python-current-defun): Delete function.
9273 (python-info-current-defun): New function.
9274 (python-beginning-of-defun): Delete function.
9275 (python-nav-beginning-of-defun): New function.
9276 (python-close-block-statement-p)
9277 (python-block-end-p): Delete function.
9278 (python-info-closing-block): New function.
9279 (python-comint-output-filter-function)
9280 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9281 (python-fill-comment, python-fill-decorator, python-fill-paren)
9282 (python-fill-string, python-imenu-make-element-tree)
9283 (python-imenu-make-tree, python-imenu-tree-assoc)
9284 (python-indent-context, python-indent-dedent-line)
9285 (python-indent-line-function)
9286 (python-indent-post-self-insert-function)
9287 (python-indent-toggle-levels)
9288 (python-info-assignment-continuation-line-p)
9289 (python-info-beginning-of-backlash)
9290 (python-info-block-continuation-line-p)
9291 (python-info-closing-block-message)
9292 (python-info-line-ends-backslash-p)
9293 (python-info-looking-at-beginning-of-defun)
9294 (python-info-ppss-context, python-info-ppss-context-type)
9295 (python-nav-list-defun-positions, python-nav-read-defun)
9296 (python-nav-sentence-end, python-nav-sentence-start)
9297 (python-pdbtrack-comint-output-filter-function)
9298 (python-pdbtrack-set-tracked-buffer)
9299 (python-shell-calculate-exec-path)
9300 (python-shell-calculate-process-environment)
9301 (python-shell-completion--do-completion-at-point)
9302 (python-shell-completion--get-completions)
9303 (python-shell-completion-complete-at-point)
9304 (python-shell-completion-complete-or-indent)
9305 (python-shell-get-or-create-process)
9306 (python-shell-get-process-name)
9307 (python-shell-internal-get-or-create-process)
9308 (python-shell-internal-get-process-name)
9309 (python-shell-internal-send-string, python-shell-make-comint)
9310 (python-shell-parse-command, python-shell-send-setup-code)
9311 (python-skeleton-add-menu-items)
9312 (python-util-clone-local-variables, python-util-position)
9313 (run-python-internal, python-indentation-levels)
9314 (python-nav-beginning-of-defun)
9315 (python-completion-complete-at-point): New functions.
9316 (run-python): Change arguments. New API requirements.
9317
9318 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9319
9320 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9321 (bug#11649).
9322
9323 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9324 (macroexp--expand-all): Use it.
9325
9326 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9327 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9328 Use `cl-function' instead.
9329
9330 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9331
9332 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9333 Suggested by Stefan Monnier while discussing bug#11657.
9334
9335 2012-06-14 Sam Steingold <sds@gnu.org>
9336
9337 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9338
9339 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9340
9341 * play/doctor.el (doctor-doc): Remove parameter and use
9342 doctor-sent instead of sent.
9343 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9344
9345 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9346
9347 * files.el: Require cl-lib.
9348 (file-name-non-special): Replace case -> cl-case.
9349
9350 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9351
9352 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9353 mapping from #' to function*.
9354
9355 2012-06-13 Chong Yidong <cyd@gnu.org>
9356
9357 * mouse.el (mouse-drag-track): Do not set the mark if the user
9358 releases the mouse without selecting anything (Bug#11588).
9359
9360 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9361
9362 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9363 as well (bug#11646).
9364
9365 * loadup.el: Count byte-code functions as well.
9366
9367 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9368 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9369
9370 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9371 (bug#11649). Add cl-defun and cl-defmacro.
9372
9373 2012-06-13 Drew Adams <drew.adams@oracle.com>
9374
9375 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9376 Fix last change.
9377
9378 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9379
9380 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9381 Otherwise, it blocks in batch mode.
9382
9383 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9384
9385 * help-mode.el (bookmark-make-record-default): Declare.
9386
9387 2012-06-13 Chong Yidong <cyd@gnu.org>
9388
9389 * emacs-lisp/package.el (list-packages): Compute a list of
9390 packages that are newly-available since the last list-packages
9391 invocation.
9392 (package-menu--new-package-list): New var.
9393 (package-menu--generate, package-menu--print-info)
9394 (package-menu--status-predicate, package-menu-mark-install):
9395 Handle new status label "new".
9396
9397 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9398
9399 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9400 conversion to backquotes.
9401
9402 2012-06-12 Chong Yidong <cyd@gnu.org>
9403
9404 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9405 Rename from gud-inhibit-global-bindings.
9406
9407 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9408
9409 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9410 hook from nxml-glyph-set-hook.
9411
9412 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9413 declaration.
9414
9415 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9416
9417 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9418 Convert to defcustom.
9419
9420 2012-06-12 Drew Adams <drew.adams@oracle.com>
9421
9422 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9423 New functions.
9424 (help-mode): Use them.
9425
9426 2012-06-11 Glenn Morris <rgm@gnu.org>
9427
9428 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9429 Use preprocessor face for directives.
9430 (fortran-directive-re): Doc fix.
9431
9432 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9433
9434 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9435 conversion to backquotes (bug#11652).
9436
9437 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9438 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9439 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9440 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9441 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9442 (cl-ninth, cl-tenth): Mark them as inlinable.
9443 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9444 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9445 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9446 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9447 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9448 (cl-list*, cl-adjoin): Don't put an autoload manually.
9449 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9450 (cl--compiler-macro-list*): Add autoload cookie.
9451 (cl--compiler-macro-cXXr): New function.
9452
9453 * help-fns.el (help-fns--compiler-macro): New function extracted from
9454 describe-function-1; follow aliases and use `compiler-macro' property.
9455 (describe-function-1): Use it.
9456
9457 2012-06-11 Chong Yidong <cyd@gnu.org>
9458
9459 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9460 is uninstalled, if imagemagick is installed.
9461
9462 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9463
9464 * emacs-lisp/cl-lib.el: Use lexical-binding.
9465 (cl-map-extents, cl-maclisp-member): Remove.
9466 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9467 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9468 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9469 * emacs-lisp/cl-extra.el: Use lexical-binding.
9470 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9471 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9472 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9473 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9474 * emacs-lisp/cl-seq.el: Use lexical-binding.
9475 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9476 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9477 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9478 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9479 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9480 CL's internals.
9481
9482 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9483
9484 Sync with Tramp 2.2.6-pre.
9485
9486 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9487 `print-length' and `print-level' to nil, in order to avoid
9488 truncation. Reported by Christopher Schmidt
9489 <christopher@ristopher.com>.
9490
9491 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9492
9493 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9494 New defmacro.
9495 (tramp-compat-copy-directory): Add optional argument
9496 COPY-CONTENTS. It is not handled yet.
9497
9498 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9499 (tramp-ftp-file-name-p): Simplify.
9500
9501 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9502 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9503 connection vector.
9504
9505 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9506 (tramp-methods): Do not use `tramp-password-end-of-line'.
9507 (tramp-completion-function-alist-putty): Handle UNIX case.
9508 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9509 (tramp-do-file-attributes-with-stat)
9510 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9511 gid as real numbers. They could run out of integer range on cygwin.
9512 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9513 (tramp-sh-handle-expand-file-name): Handle hops.
9514 (tramp-open-connection-setup-interactive-shell):
9515 Use `tramp-cleanup'. Move check for busyboxes ...
9516 (tramp-find-shell): ... here. Simplify implementation.
9517 Set "remote-shell" property also for alternative shells.
9518 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9519 If failing, a regular file would be written otherwise.
9520 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9521 (tramp-find-inline-encoding): Cache the coding commands in the
9522 process cache. Apply test command on the remote side, if defined.
9523 (tramp-find-inline-compress): Cache the compress commands in the
9524 process cache.
9525 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9526 when requested. Handle hops.
9527 (tramp-current-connection): New defvar.
9528 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9529 Throw `suppress', if there was a failed connection shortly before.
9530 Handle user interrupt. (Bug#10187)
9531 (tramp-get-inline-compress, tramp-get-inline-coding):
9532 Read connection properties from the process cache.
9533
9534 * net/tramp-smb.el (tramp-smb-server-version)
9535 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9536 New defconsts.
9537 (tramp-smb-prompt): Extend for powershell prompt.
9538 (tramp-smb-file-name-handler-alist): Add handlers for
9539 `process-file', `shell-command' and `start-file-process'.
9540 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9541 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9542 (tramp-smb-file-name-p): Simplify.
9543 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9544 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9545 (tramp-smb-shell-quote-argument): New defuns.
9546 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9547 Implement using "tar". By this, time-stamps are preserved.
9548 (tramp-smb-handle-copy-file): Handle also the case of directories.
9549 (tramp-smb-do-file-attributes-with-stat)
9550 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9551 Use `tramp-get-connection-buffer').
9552 (tramp-smb-handle-rename-file): Use "rename", when source and
9553 target are on the same share.
9554 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9555 Use `tramp-smb-server-version'.
9556 (tramp-smb-wait-for-output): Remove prompt.
9557
9558 * net/tramp.el (top): Require 'cl.
9559 (tramp-methods, tramp-rsh-end-of-line):
9560 Remove `tramp-password-end-of-line' from docstring.
9561 (tramp-save-ad-hoc-proxies): New defcustom.
9562 (tramp-completion-function-alist): Adapt docstring.
9563 (tramp-default-password-end-of-line): Remove defcustom.
9564 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9565 (tramp-user-regexp, tramp-file-name-regexp-unified)
9566 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9567 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9568 (tramp-remote-file-name-spec-regexp): New defconst.
9569 (tramp-file-name-structure): Extend structure for hops.
9570 (tramp-get-method-parameter): Move up.
9571 (tramp-file-name-p, tramp-dissect-file-name)
9572 (with-parsed-tramp-file-name): Handle hops.
9573 (tramp-file-name-hop): New defun.
9574 (tramp-make-tramp-file-name): New optional arg HOP.
9575 (tramp-message-show-progress-reporter-message): New defvar.
9576 (tramp-with-progress-reporter): Use it. We cannot use
9577 `tramp-message-show-message' here, because this suppresses also
9578 error buffers.
9579 (tramp-error-with-buffer): Suppress buffer view, if
9580 `tramp-message-show-message' is nil.
9581 Use `tramp-get-connection-buffer'.
9582 (tramp-cleanup): New defun.
9583 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9584 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9585 an error unchanged.
9586 (tramp-completion-handle-file-name-all-completions): Handle hops.
9587 Fix an error when called from ido.
9588 (tramp-completion-dissect-file-name): Use better local variable
9589 name. Add hop to the vector.
9590 (tramp-handle-insert-file-contents): Use progress-reporter for the
9591 whole scenario.
9592 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9593 to `t'.
9594 (tramp-check-for-regexp): Simplify search.
9595 (tramp-enter-password): Remove it. Move implementation ...
9596 (tramp-action-password): ... here.
9597 (tramp-mode-string-to-int, tramp-local-host-p)
9598 (tramp-make-tramp-temp-file, tramp-read-passwd)
9599 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9600 Set tramp-autoload cookie.
9601
9602 * net/trampver.el: Update release number.
9603
9604 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9605 Michael Albinus <michael.albinus@gmx.de>
9606
9607 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9608 (tramp-parse-group, tramp-parse-file)
9609 (tramp-parse-shostkeys-sknownhosts): New defuns.
9610 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9611 (tramp-parse-shosts-group, tramp-parse-sconfig)
9612 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9613 (tramp-parse-sknownhosts, tramp-parse-hosts)
9614 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9615 Use them.
9616 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9617 (tramp-parse-putty-group): Don't narrow.
9618 (tramp-parse-putty): Make a loop.
9619 (tramp-file-name-handler): Catch the `suppress' signal.
9620
9621 2012-06-11 Chong Yidong <cyd@gnu.org>
9622
9623 * image.el (imagemagick-register-types): Put the ImageMagick entry
9624 at the end of image-type-file-name-regexps.
9625
9626 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9627
9628 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9629 (pcase, pcase-let*, pcase-dolist): Use them.
9630
9631 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9632
9633 * emacs-lisp/pcase.el (pcase--let*): New function.
9634 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9635 (pcase--expand): Use macroexp-let².
9636
9637 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9638
9639 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9640 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9641 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9642 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9643 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9644 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9645
9646 2012-06-10 Glenn Morris <rgm@gnu.org>
9647
9648 * mail/rmail.el (rmail-yank-current-message): Leave point at
9649 correct position. (Bug#11660)
9650
9651 2012-06-10 Chong Yidong <cyd@gnu.org>
9652
9653 * allout-widgets.el: Fix code header.
9654
9655 2012-06-10 Chong Yidong <cyd@gnu.org>
9656
9657 * cus-edit.el (customize-changed-options-previous-release):
9658 Bump to 24.1.
9659
9660 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9661
9662 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9663
9664 2012-06-09 Chong Yidong <cyd@gnu.org>
9665
9666 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9667
9668 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9669
9670 * window.el (special-display-popup-frame): Don't use
9671 window--display-buffer (Bug#11651).
9672
9673 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9674
9675 Fix parallel builds: make sure loaddefs.el is not being written
9676 while Lisp files are compiled.
9677 (compile): Don't depend on 'mh-autoloads'.
9678 (compile-CMD, compile-SH): Depend on 'autoloads'.
9679 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9680
9681 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9682
9683 2012-06-09 Chong Yidong <cyd@gnu.org>
9684
9685 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9686 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9687 Doc fixes (Bug#11225).
9688
9689 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9690
9691 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9692 a function if there's a clear indication that it has a compiler-macro.
9693 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9694 (macro-declarations-alist): Add arglist to declaration functions.
9695 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9696 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9697 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9698 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9699 Also add autoload to find the compiler macro.
9700 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9701 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9702 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9703 (cl--compiler-macro-get): New functions, replacing calls to
9704 cl-define-compiler-macro.
9705 (cl-typep) [compiler-macro]: Use macroexp-let².
9706
9707 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9708
9709 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9710 string properly, fixes Bug#11473.
9711
9712 2012-06-08 Chong Yidong <cyd@gnu.org>
9713
9714 * faces.el (set-face-attribute): Doc fix.
9715 (modify-face): Don't use :bold and :italic.
9716 (error, warning, success): Tweak definitions.
9717
9718 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9719 (custom-modified, custom-set, custom-changed, custom-themed)
9720 (custom-saved, custom-button, custom-button-mouse)
9721 (custom-button-pressed, custom-state, custom-comment-tag)
9722 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9723 (custom-group-subtitle): Use new-style face specs.
9724 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9725 (custom-set-face, custom-changed-face, custom-saved-face)
9726 (custom-button-face, custom-button-pressed-face)
9727 (custom-documentation-face, custom-state-face)
9728 (custom-comment-face, custom-comment-tag-face)
9729 (custom-variable-tag-face, custom-variable-button-face)
9730 (custom-face-tag-face, custom-group-tag-face-1)
9731 (custom-group-tag-face): Remove obsolete face alias.
9732
9733 * epa.el (epa-validity-high, epa-validity-medium)
9734 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9735 (epa-field-name, epa-field-body):
9736 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9737 (font-lock-keyword-face, font-lock-builtin-face)
9738 (font-lock-function-name-face, font-lock-variable-name-face)
9739 (font-lock-type-face, font-lock-constant-face):
9740 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9741 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9742 * speedbar.el (speedbar-button-face, speedbar-file-face)
9743 (speedbar-directory-face, speedbar-tag-face)
9744 (speedbar-selected-face, speedbar-highlight-face)
9745 (speedbar-separator-face):
9746 * whitespace.el (whitespace-newline, whitespace-space)
9747 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9748 (whitespace-line, whitespace-space-before-tab)
9749 (whitespace-space-after-tab, whitespace-indentation)
9750 (whitespace-empty):
9751 * emulation/cua-base.el (cua-global-mark):
9752 * eshell/em-prompt.el (eshell-prompt):
9753 * net/newst-plainview.el (newsticker-new-item-face)
9754 (newsticker-old-item-face, newsticker-immortal-item-face)
9755 (newsticker-obsolete-item-face, newsticker-date-face)
9756 (newsticker-statistics-face, newsticker-default-face):
9757 * net/newst-reader.el (newsticker-feed-face)
9758 (newsticker-extra-face, newsticker-enclosure-face):
9759 * net/newst-treeview.el (newsticker-treeview-face)
9760 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9761 (newsticker-treeview-immortal-face)
9762 (newsticker-treeview-obsolete-face)
9763 (newsticker-treeview-selection-face):
9764 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9765 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9766 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9767 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9768 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9769 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9770 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9771 (mpuz-text):
9772 * progmodes/vera-mode.el (vera-font-lock-number)
9773 (vera-font-lock-function, vera-font-lock-interface):
9774 * textmodes/table.el (table-cell): Use new-style face specs, and
9775 don't use the old :bold and :italic attributes.
9776
9777 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9778 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9779 (ebrowse-member-class, ebrowse-progress): Likewise.
9780 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9781 (ebrowse-file-name-face, ebrowse-default-face)
9782 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9783 (ebrowse-progress-face): Remove obsolete faces.
9784
9785 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9786 Inherit from error and warning faces respectively.
9787
9788 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9789 Likewise.
9790 (flyspell-incorrect-face, flyspell-duplicate-face):
9791 Remove obsolete aliases.
9792
9793 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9794
9795 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9796 Avoid infloop.
9797
9798 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9799
9800 * startup.el (argv, argi): Make lexically scoped.
9801 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9802 * emacs-lisp/cl-macs.el: Use lexical-binding.
9803 Rename cl-bind-* to cl--bind-*.
9804 * files.el: Don't require `cl' since it doesn't use it.
9805 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9806
9807 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9808
9809 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9810 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9811 instead of calling external sort utility.
9812 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9813
9814 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9815
9816 * descr-text.el (describe-char): Mention how to insert the
9817 character, if the current input method doesn't support it.
9818 See the discussion in this thread for the details:
9819 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9820
9821 2012-06-08 Sam Steingold <sds@gnu.org>
9822
9823 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9824 XF86Back to previous-buffer.
9825 (minibuffer-local-map): Bind them to next-history-element and
9826 previous-history-element respectively.
9827 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9828 help-go-back respectively.
9829 * info.el (Info-mode-map): Bind them to Info-history-forward and
9830 Info-history-back respectively.
9831 These are the keys next to Up on the ThinkPad keyboard.
9832
9833 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9834
9835 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9836 * emacs-lisp/cl-macs.el: Provide itself.
9837 (cl--labels-convert-cache): New var.
9838 (cl--labels-convert): New function.
9839 (cl-flet, cl-labels): New implementation with new semantics, relying on
9840 lexical-binding.
9841 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9842 (cl-closure-vars, cl--function-convert-cache)
9843 (cl--function-convert): Move from cl-macs.el.
9844 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9845 rename by removing the "cl-" prefix.
9846 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9847
9848 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9849
9850 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9851 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9852 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9853 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9854 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9855 (cl-hash-table-count): Add old compatibility aliases.
9856
9857 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9858 Use macroexpand-all-environment instead.
9859 (cl--old-macroexpand): New var.
9860 (cl--sm-macroexpand): New function.
9861 (cl-symbol-macrolet): Use it during macro expansion.
9862 (cl--function-convert-cache): New var.
9863 (cl--function-convert): New function, extracted from
9864 cl-macroexpand-all.
9865 (cl-lexical-let): Use it.
9866
9867 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9868 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9869 (cl-member): Remove old alias.
9870
9871 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9872 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9873 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9874 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9875 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9876 (cl-macroexpand-cmacs): Remove var.
9877 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9878 Use macroexpand-all instead.
9879
9880 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9883 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9884 (macroexp-copyable-p): New functions and macros.
9885 * emacs-lisp/edebug.el (edebug-unwrap):
9886 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9887 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9888 (pcase--let*): Remove.
9889 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9890 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9891 macroexp-const-p instead.
9892 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9893
9894 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9895 instead of "cl-" for internal definitions. Use macroexp-const-p.
9896 (cl-old-bc-file-form): Remove var.
9897 (cl-const-exprs-p): Remove fun.
9898 (cl-labels, cl-macrolet): Use backquote.
9899 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9900 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9901 (cl-define-setf-expander): Rename from cl-define-setf-method.
9902 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
9903
9904 * international/mule-cmds.el: Don't require CL.
9905 (view-hello-file): Don't use `letf'.
9906
9907 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9908
9909 * tmm.el (tmm-prompt): Use string-prefix-p.
9910 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
9911 (tmm-add-prompt): Use minibuffer-completion-help.
9912 (tmm-delete-map): Remove.
9913
9914 * subr.el (kbd): Make it its own function.
9915
9916 2012-06-07 Stefan Merten <smerten@oekonux.de>
9917
9918 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
9919 Silence compiler warnings. Fix versions.
9920 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
9921 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
9922 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
9923 (rst-package-emacs-version-alist): Correct Emacs version to
9924 represent major merge with upstream.
9925 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
9926
9927 2012-06-06 Glenn Morris <rgm@gnu.org>
9928
9929 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
9930 Only print environment variables if set.
9931
9932 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9933
9934 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
9935 (macroexp--cons): Rename from maybe-cons.
9936 (macroexp--accumulate): Rename from macroexp-accumulate.
9937 (macroexp--all-forms): Rename from macroexpand-all-forms.
9938 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
9939 (macroexp--expand-all): Rename from macroexpand-all-1.
9940
9941 2012-06-06 Sam Steingold <sds@gnu.org>
9942
9943 * calendar/calendar.el (calendar-in-read-only-buffer):
9944 Call `special-mode' to enable the standard read-only keybindings.
9945
9946 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9947
9948 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
9949 with "loading" messages (bug#11635).
9950
9951 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
9952
9953 * files.el (enable-remote-dir-locals): New option.
9954 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
9955
9956 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9957 Ensure, that the temp directory is local.
9958
9959 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
9960 `temporary-file-directory'.
9961
9962 * progmodes/python.el (python-send-region): Ensure, that the
9963 temporary file is created also in the remote case.
9964
9965 2012-06-06 Glenn Morris <rgm@gnu.org>
9966
9967 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
9968 (vc-rcs-update-changelog): Use it.
9969
9970 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
9971
9972 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
9973 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
9974 (vc-sccs-diff): Replace use of the external vcdiff script.
9975
9976 2012-06-05 Glenn Morris <rgm@gnu.org>
9977
9978 * ledit.el: Move to obsolete/.
9979
9980 2012-06-05 Sam Steingold <sds@gnu.org>
9981
9982 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
9983 patch (Bug#11140).
9984
9985 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9986
9987 * emacs-lisp/cust-print.el: Move to obsolete.
9988
9989 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
9990 compiler-macro expansion.
9991
9992 Add native compiler-macro support.
9993 * emacs-lisp/macroexp.el (macroexpand-all-1):
9994 Support compiler-macros directly. Properly follow aliases and apply
9995 the compiler macros more thoroughly.
9996 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
9997 macroexpand now properly follows aliases.
9998 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
9999 (cl-compiler-macroexpand): Use new prop.
10000 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10001
10002 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10003
10004 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10005
10006 * window.el (get-lru-window, get-mru-window, get-largest-window):
10007 New argument NOT-SELECTED to avoid picking the selected window.
10008 (window--display-buffer-1, window--display-buffer-2): Replace by
10009 new function window--display-buffer
10010 (display-buffer-same-window, display-buffer-reuse-window)
10011 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10012 Use window--display-buffer.
10013 (display-buffer-use-some-window): Remove temporary dedication
10014 hack by calling get-lru-window and get-largest-window with
10015 NOT-SELECTED argument non-nil. Call window--display-buffer.
10016
10017 2012-06-05 Glenn Morris <rgm@gnu.org>
10018
10019 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10020 Replace external vcdiff script.
10021
10022 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10023
10024 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10025
10026 2012-06-04 Chong Yidong <cyd@gnu.org>
10027
10028 * image.el (imagemagick-types-inhibit): Revert last change.
10029 Add INFO and M.
10030 (imagemagick-enabled-types): Remove CIN and EPS*.
10031
10032 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10033
10034 * emacs-lisp/cl-lib.el: Rename from cl.el.
10035 * emacs-lisp/cl.el: New compatibility file.
10036 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10037 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10038 to obey the "cl-" prefix.
10039 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10040
10041 2012-06-03 Glenn Morris <rgm@gnu.org>
10042
10043 * emacs-lisp/authors.el (authors-aliases): Addition.
10044
10045 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10046 Fix :version.
10047
10048 2012-06-03 Stefan Merten <smerten@oekonux.de>
10049
10050 * textmodes/rst.el: Add comments.
10051 (rst-transition, rst-adornment): New faces.
10052 (rst-adornment-faces-alist): Make default safe to reevaluate.
10053 Fixes
10054 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10055 Improve customization tags.
10056 (rst-define-level-faces): Clarify meaning.
10057
10058 2012-06-03 Chong Yidong <cyd@gnu.org>
10059
10060 * progmodes/compile.el (compilation-mode-line-fail)
10061 (compilation-mode-line-run, compilation-mode-line-exit):
10062 New faces.
10063 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10064
10065 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10066
10067 * progmodes/which-func.el (which-func-update-ediff-windows):
10068 New function. Use it in ediff-select-hook (Bug#11478).
10069
10070 2012-06-03 Chong Yidong <cyd@gnu.org>
10071
10072 * bindings.el: Remove explicit help text from format-mode-line.
10073 It is now supplied by mode-line-default-help-echo.
10074 (mode-line-front-space, mode-line-end-spaces)
10075 (mode-line-misc-info): New variables.
10076 (mode-line-modes, mode-line-position): Move the default value to
10077 the variable definition.
10078 (mode-line-default-help-echo): New defcustom.
10079 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10080 (mode-line-modified-help-echo): New functions.
10081 (mode-line-mule-info, mode-line-modified): Use them.
10082 (mode-line-eol-desc, propertized-buffer-identification):
10083 Consistency fixes for help text.
10084 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10085 set-buffer-file-coding-system (Bug#289).
10086 (mode-line-mule-info-help-echo): Update help text.
10087
10088 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10089
10090 * simple.el (execute-extended-command): Set real-this-command
10091 (bug#11506).
10092
10093 2012-06-02 Chong Yidong <cyd@gnu.org>
10094
10095 Remove incorrect uses of "modeline" in comments, docstrings, and
10096 function/variable names (Bug#10329).
10097
10098 * cus-edit.el (mode-line):
10099 * dframe.el (dframe-mouse-hscroll):
10100 * emacs-lisp/re-builder.el:
10101 * emacs-lisp/easy-mmode.el (define-minor-mode):
10102 * frame.el (set-frame-name):
10103 * help.el (lookup-minor-mode-from-indicator):
10104 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10105 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10106 (c-toggle-hungry-state):
10107 * progmodes/antlr-mode.el (antlr-language-alist):
10108 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10109 * progmodes/vhdl-mode.el (vhdl-mode):
10110 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10111 * term/ns-win.el (ns-face-at-pos):
10112 * term/sup-mouse.el (sup-mouse-report):
10113 * textmodes/flyspell.el (flyspell-mode-line-string):
10114 * textmodes/ispell.el (ispell-highlight-face):
10115 * textmodes/reftex-global.el:
10116 * vc/vc-arch.el (vc-arch-mode-line-string):
10117 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10118 * vc/vc-git.el (vc-git-mode-line-string):
10119 * vc/vc-hooks.el (vc-display-status)
10120 (vc-default-mode-line-string):
10121 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10122
10123 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10124
10125 * dired.el (dired-sort-set-mode-line): Rename from
10126 dired-sort-set-modeline. All callers changed.
10127
10128 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10129 eshell-status-in-modeline.
10130
10131 * foldout.el (foldout-mode-line-string): Rename from
10132 foldout-modeline-string. All callers changed.
10133 (foldout-update-mode-line): Rename from foldout-update-modeline.
10134
10135 * subr.el (redraw-modeline): Make into obsolete alias.
10136
10137 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10138 timeclock-modeline-display. Make old name an alias.
10139 (timeclock-update-mode-line): Likewise. All callers changed.
10140 (timeclock-mode-line-display): No need to check before using
10141 add-hook.
10142 (timeclock-relative, timeclock-day-over-hook)
10143 (timeclock-use-elapsed, timeclock-mode-string)
10144 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10145
10146 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10147 crisp-mode-modeline-string.
10148
10149 * play/solitaire.el (solitaire-build-mode-line): Rename from
10150 solitaire-build-modeline. All callers changed.
10151
10152 * play/zone.el (zone-hiding-mode-line): Rename from
10153 zone-hiding-modeline. All callers changed.
10154 (zone): Remove unusued `modeline-hidden-level' property.
10155
10156 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10157 xscheme-modeline-initialize. All callers changed.
10158
10159 * strokes.el (strokes-lighter): Rename from
10160 strokes-modeline-string.
10161
10162 * textmodes/sgml-mode.el (html-face-tag-alist)
10163 (html-tag-face-alist): Use mode-line face instead of obsolete
10164 alias modeline.
10165
10166 2012-06-02 Stefan Merten <smerten@oekonux.de>
10167
10168 * textmodes/rst.el: Always require `cl'.
10169 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10170
10171 2012-06-02 Chong Yidong <cyd@gnu.org>
10172
10173 * image.el (imagemagick-enabled-types): Rename from
10174 imagemagick-types-enable. Add many more types.
10175 (imagemagick-types-inhibit): Change default to nil.
10176 (imagemagick-filter-types): Caller changed.
10177
10178 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10179
10180 * emacs-lisp/cl-macs.el: Use backquotes.
10181 (cl-transform-function-property): Use eval-and-compile rather than
10182 abusing `require'.
10183 (defstruct): Use declare-function instead of with-no-warnings.
10184
10185 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10186 (byte-compile-output-docform): Re-add the print-circle bindings.
10187 (byte-compile-fix-header): Use #$ just because it's shorter.
10188 (byte-compile-output-file-form): Remove defun/defmacro.
10189
10190 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10191
10192 * simple.el (choose-completion): Remove now obsolete binding for
10193 owindow.
10194
10195 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10196
10197 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10198 in order to avoid "Stack overflow in regexp matcher".
10199
10200 2012-05-31 Glenn Morris <rgm@gnu.org>
10201
10202 * image.el: For clarity, call imagemagick-register-types at
10203 top-level, rather than relying on a custom :initialize.
10204 (imagemagick-types-enable): New option. (Bug#11557)
10205 (imagemagick-filter-types): New function. (Bug#7406)
10206 (imagemagick-register-types): Use imagemagick-filter-types.
10207 If disabling support, remove elements altogether rather
10208 than using an impossible regexp.
10209 (imagemagick-types-inhibit): Give it the default init function.
10210
10211 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10214 Handle arbitrary file name lengths (Bug#11585).
10215
10216 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10217
10218 * desktop.el (desktop-read): Clear previous and next buffers for
10219 all windows and bury *Messages* buffer (bug#11556).
10220
10221 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10222
10223 Add `declare' for `defun'. Align `defmacro's with it.
10224 * emacs-lisp/easy-mmode.el (define-minor-mode)
10225 (define-globalized-minor-mode): Don't autoload the var definitions.
10226 * emacs-lisp/byte-run.el: Use lexical-binding.
10227 (defun-declarations-alist, macro-declarations-alist): New vars.
10228 (defmacro, defun): Use them.
10229 (make-obsolete, define-obsolete-function-alias)
10230 (make-obsolete-variable, define-obsolete-variable-alias):
10231 Use `declare'.
10232 (macro-declaration-function): Mark obsolete.
10233 * emacs-lisp/autoload.el: Use lexical-binding.
10234 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10235
10236 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10237
10238 * textmodes/ispell.el (ispell-with-no-warnings):
10239 Define as a macro.
10240 (ispell-kill-ispell, ispell-change-dictionary):
10241 Use `called-interactively-p' for Emacs instead of obsolete
10242 `interactive-p'.
10243
10244 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10245
10246 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10247 (macro-declaration-function): Move var from C code.
10248 (macro-declaration-function): Define function with defalias.
10249 * emacs-lisp/macroexp.el (macroexpand-all-1):
10250 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10251 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10252 defun/defmacro any more.
10253 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10254 Provide fallback for unknown arglist.
10255 (byte-compile-arglist-warn): Change calling convention.
10256 (byte-compile-output-file-form): Move print-vars binding.
10257 (byte-compile-output-docform): Simplify accordingly.
10258 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10259 (byte-compile-defmacro-declaration): Remove.
10260 (byte-compile-file-form-defmumble): Generalize to defalias.
10261 (byte-compile-output-as-comment): Return byte-positions.
10262 Simplify callers accordingly.
10263 (byte-compile-lambda): Use `assert'.
10264 (byte-compile-defun, byte-compile-defmacro): Remove.
10265 (byte-compile-file-form-defalias):
10266 Use byte-compile-file-form-defmumble.
10267 (byte-compile-defalias-warn): Remove.
10268
10269 2012-05-29 Stefan Merten <smerten@oekonux.de>
10270
10271 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10272 possible. Fix authors. Improve comments. Improve loading of `cl'.
10273
10274 (rst-mode-abbrev-table): Merge definition.
10275 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10276 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10277
10278 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10279
10280 * calendar/icalendar.el
10281 (icalendar-export-region): Export UID properly.
10282
10283 2012-05-29 Leo Liu <sdl.web@gmail.com>
10284 * calendar/icalendar.el (icalendar-import-format):
10285 Add `icalendar-import-format-uid' (Bug#11525).
10286 (icalendar-import-format-uid): New.
10287 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10288 Export UID.
10289
10290 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10291
10292 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10293 different alternative patterns.
10294 (pcase-codegen): Be more careful to preserve identity.
10295 (pcase--u1): Don't forget to mark vars as used.
10296
10297 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10298 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10299 (byte-compile-from-buffer): ...rather than here.
10300
10301 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10302 functions from byte-compile-function-environment.
10303
10304 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10305
10306 * window.el (window-deletable-p): Avoid deleting the root window
10307 of a frame with an active minibuffer.
10308
10309 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10310
10311 * simple.el (choose-completion): Use quit-window (Bug#11567).
10312
10313 2012-05-29 Chong Yidong <cyd@gnu.org>
10314
10315 * whitespace.el (whitespace-cleanup): Fix usage of
10316 whitespace-empty-at-bob-regexp (Bug#11492).
10317
10318 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10319
10320 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10321 revert (Bug#11488).
10322
10323 2012-05-29 Juri Linkov <juri@jurta.org>
10324
10325 * isearch.el (isearch-mode-map): Bind `M-s _' to
10326 `isearch-toggle-symbol'. Bind `M-s c' to
10327 `isearch-toggle-case-fold'.
10328 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10329 (isearch-forward): Add `M-s _' to the docstring.
10330 (isearch-forward-symbol, isearch-toggle-case-fold)
10331 (isearch-symbol-regexp): New functions. (Bug#11381)
10332
10333 2012-05-29 Juri Linkov <juri@jurta.org>
10334
10335 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10336 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10337 a function, call it to get the regexp.
10338 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10339 property `isearch-message-prefix' instead of the string "word ".
10340 (isearch-search-fun-default): For the case of `isearch-word',
10341 return a lambda that calls re-search-forward/re-search-backward
10342 with a regexp returned by `word-search-regexp' or by the function
10343 in `isearch-word'.
10344
10345 2012-05-29 Juri Linkov <juri@jurta.org>
10346
10347 * isearch.el (isearch-search-fun-default): New function.
10348 (isearch-search-fun): Move default part to the new function
10349 `isearch-search-fun-default'.
10350 (isearch-search-fun-function): Set the default value to
10351 `isearch-search-fun-default'. (Bug#11381)
10352
10353 * comint.el (comint-history-isearch-end):
10354 Use `isearch-search-fun-default'.
10355 (comint-history-isearch-search): Use `isearch-search-fun-default'
10356 and remove spacial case for `isearch-word'.
10357 (comint-history-isearch-wrap): Remove spacial case for
10358 `isearch-word'.
10359
10360 * hexl.el (hexl-isearch-search-function):
10361 Use `isearch-search-fun-default'.
10362
10363 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10364 Use `word-search-regexp' for `isearch-word'.
10365
10366 * misearch.el (multi-isearch-search-fun):
10367 Use `isearch-search-fun-default'.
10368
10369 * simple.el (minibuffer-history-isearch-search):
10370 Use `isearch-search-fun-default' and remove spacial case for
10371 `isearch-word'.
10372 (minibuffer-history-isearch-wrap): Remove spacial case for
10373 `isearch-word'.
10374
10375 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10376 Remove spacial case for `isearch-word'.
10377 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10378
10379 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10380
10381 Decrease XEmacs incompatibilities.
10382 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10383 Use `string-match'.
10384 (flyspell-delete-region-overlays): Use alternative definition for
10385 XEmacs.
10386 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10387 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10388 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10389 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10390 `define-obsolete-face-alias' under XEmacs, but old method.
10391
10392 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10393 `with-no-warnings' definition or Emacs alias.
10394 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10395 (ispell-word): Do not use `region-p' if XEmacs.
10396
10397 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10398
10399 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10400 Check for `ispell-dictionary-base-alist' instead of full
10401 `ispell-dictionary-alist'.
10402 (ispell-init-process): Show spellchecker when starting new Ispell
10403 process.
10404
10405 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10406
10407 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10408 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10409
10410 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10411
10412 * version.el (motif-version-string, gtk-version-string)
10413 (ns-version-string): Declare.
10414
10415 2012-05-27 Juri Linkov <juri@jurta.org>
10416
10417 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10418 after the `eval-defun-1' specialcaseing
10419 like in `edebug-eval-defun' (bug#10181).
10420
10421 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10422 like in `eval-defun-1'.
10423
10424 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10425
10426 * mail/sendmail.el (mail-yank-region):
10427 Recognize rmail-yank-current-message in addition to insert-buffer.
10428 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10429 a *mail* buffer created through rmail-start-mail with sendmail as
10430 mail-user-agent.
10431
10432 2012-05-27 Chong Yidong <cyd@gnu.org>
10433
10434 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10435 Default to 256 (Bug#11267).
10436
10437 * help.el (describe-mode): Doc fix.
10438
10439 2012-05-26 Glenn Morris <rgm@gnu.org>
10440
10441 * w32-fns.el (w32-init-info): Remove.
10442 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10443
10444 * info.el (info-initialize): For self-contained NS builds, put the
10445 included info/ directory at the front. (Bug#2791)
10446
10447 * paths.el (Info-default-directory-list): Make it a defcustom,
10448 mainly so that we can use custom-initialize-delay.
10449
10450 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10451
10452 * subr.el (buffer-has-markers-at): Mark obsolete.
10453
10454 * subr.el (lambda): Use declare.
10455
10456 * emacs-lisp/lisp-mode.el (lambda):
10457 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10458
10459 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10460
10461 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10462
10463 2012-05-26 Glenn Morris <rgm@gnu.org>
10464
10465 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10466
10467 2012-05-25 Glenn Morris <rgm@gnu.org>
10468
10469 * paths.el: Remove no-byte-compile.
10470 * loadup.el: No need to load paths.el uncompiled.
10471
10472 * image.el (imagemagick-types-inhibit): Doc fix.
10473
10474 * version.el: Remove no-byte-compile and associated formatting.
10475 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10476 is ancient code from when there was an "inc-vers.el".
10477
10478 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10479
10480 * progmodes/gdb-mi.el: Minor style changes.
10481 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10482 Turn into minor modes.
10483 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10484 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10485 (gdb-shell): Remove unneeded let-binding.
10486 (gdb-get-many-fields): Eliminate O(n²) behavior.
10487
10488 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10489
10490 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10491 platforms that don't link in fontset.c.
10492
10493 2012-05-25 Juri Linkov <juri@jurta.org>
10494
10495 Use the same diff color scheme as in modern VCSes (bug#10181).
10496
10497 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10498 to avoid confusion with `diff-added' that now uses green colors.
10499 (diff-removed): Use shades of red.
10500 (diff-added): Use shades of green.
10501 (diff-changed): Leave just the yellow color.
10502 (diff-use-changed-face): New variable.
10503 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10504 how to highlight context diff changes.
10505 (diff-refine-change): Use shades of yellow.
10506 (diff-refine-removed): New face that uses shades of red.
10507 (diff-refine-added): New face that uses shades of green.
10508 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10509 `diff-refine-removed' in the call to `smerge-refine-subst'
10510 depending on the value of `diff-use-changed-face'.
10511
10512 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10513 (smerge-other): Use shades of green.
10514 (smerge-base): Use shades of yellow.
10515 (smerge-refined-change): Empty face.
10516 (smerge-refined-removed): New face that uses shades of red.
10517 (smerge-refined-added): New face that uses shades of green.
10518 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10519 args `props-r' and `props-a', and use them. Doc fix.
10520 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10521 on its value use different faces `smerge-refined-change',
10522 `smerge-refined-removed', `smerge-refined-added' in the call to
10523 `smerge-refine-subst'.
10524
10525 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10526 Add face condition `min-colors 88' with shades of red.
10527 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10528 `min-colors 88' with shades of green.
10529 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10530 `min-colors 88' with shades of yellow.
10531
10532 2012-05-24 Glenn Morris <rgm@gnu.org>
10533
10534 * paths.el (prune-directory-list, remote-shell-program): Move to...
10535 * files.el (prune-directory-list, remote-shell-program): ...here.
10536 For the latter, delay initialization, prefer ssh, just search PATH.
10537
10538 * paths.el (term-file-prefix): Move to faces.el (the only user).
10539 * faces.el (term-file-prefix): Move here, make it a defcustom.
10540
10541 * paths.el (news-directory, news-path, news-inews-program):
10542 Move to gnus/nnspool.el.
10543
10544 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10545
10546 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10547 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10548 Make the latter a defcustom, with a delayed initialization.
10549
10550 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10551 These were deleted from Gnus itself late 2010.
10552
10553 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10554
10555 * progmodes/which-func.el (which-func-ff-hook):
10556 Check against user-error, not error.
10557
10558 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10559 cl-specs.el, which no longer exists.
10560
10561 2012-05-22 Glenn Morris <rgm@gnu.org>
10562
10563 * info.el (info-emacs-bug): New command.
10564 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10565 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10566
10567 2012-05-21 Glenn Morris <rgm@gnu.org>
10568
10569 * makefile.w32-in (update-subdirs-SH):
10570 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10571
10572 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10573
10574 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10575
10576 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10577 Simplify Maven regexp, and make sure the file can't start with a space
10578 (bug#11517).
10579
10580 2012-05-21 Glenn Morris <rgm@gnu.org>
10581
10582 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10583 Scrap superfluous subshells.
10584
10585 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10586
10587 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10588 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10589
10590 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10591
10592 * calc/calc.el (calc-ensure-consistent-units): New variable.
10593
10594 * calc/calc-units.el (math-consistent-units-p)
10595 (math-check-unit-consistency): New functions.
10596 (calc-quick-units, calc-convert-units):
10597 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10598 is non-nil.
10599 (calc-extract-units): Fix typo.
10600
10601 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10602
10603 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10604
10605 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10606 (flyspell-default-deplacement-commands): Don't spell check after
10607 repeated window/frame switches (e.g. triggered by mouse-movement).
10608 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10609 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10610 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10611 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10612 Remove unused vars.
10613 (flyspell-get-casechars, flyspell-get-not-casechars):
10614 Simplify; Don't bother removing a ] just to add it back.
10615 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10616
10617 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10618
10619 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10620 New functions.
10621 (math-function-table): Add support for more C functions.
10622
10623 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10624
10625 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10626 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10627 Protect delay handling for otherchars against empty otherchars.
10628
10629 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10630
10631 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10632 their respective macro declarations.
10633 * skeleton.el (define-skeleton):
10634 * progmodes/compile.el (define-compilation-mode):
10635 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10636 (define-ibuffer-filter):
10637 * emacs-lisp/generic.el (define-generic-mode):
10638 * emacs-lisp/easy-mmode.el (define-minor-mode)
10639 (define-globalized-minor-mode):
10640 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10641 * emacs-lisp/byte-run.el (defsubst):
10642 * custom.el (deftheme): Add doc-string metadata.
10643
10644 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10645
10646 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10647
10648 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10651
10652 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10653 * emacs-lisp/cl-macs.el: Idem.
10654 * emacs-lisp/cl-specs.el: Remove.
10655
10656 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10657
10658 Minor renaming of internal CL functions and variables.
10659 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10660 (cl--position): Rename from cl-position.
10661 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10662 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10663 (cl--random-state): Rename from *random-state*.
10664
10665 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10666
10667 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10668 parens around the arg list (bug#11499).
10669
10670 2012-05-17 Juri Linkov <juri@jurta.org>
10671
10672 * isearch.el (word-search-regexp, word-search-backward)
10673 (word-search-forward, word-search-backward-lax)
10674 (word-search-forward-lax): Move functions from search.c
10675 (bug#10145, bug#11381).
10676
10677 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10678
10679 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10680 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10681 Delay for otherchars as for normal word components.
10682
10683 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10684
10685 * minibuffer.el (completion--sifn-requote): Fix last change.
10686 (minibuffer-local-must-match-filename-map):
10687 Move define-obsolete-variable-alias before its var.
10688
10689 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10690
10691 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10692
10693 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10694 behavior.
10695 (completion--string-equal-p): New function.
10696 (completion--twq-all): Use it to get better assertion failure data.
10697
10698 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10699 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10700 (shell--requote-argument): New functions.
10701 (shell-completion-vars): Use them.
10702 (shell--parse-pcomplete-arguments): Rename from
10703 shell-parse-pcomplete-arguments.
10704 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10705 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10706 Obey comint-file-name-quote-list.
10707
10708 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10709 (smie-indent-keyword): Use it.
10710
10711 2012-05-14 Stefan Merten <smerten@oekonux.de>
10712
10713 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10714
10715 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10716
10717 * net/rlogin.el (rlogin-mode-map): Fix last change.
10718
10719 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10720
10721 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10722 the following \r\n using a single `process-send-string', since the
10723 Lotus SMTP server refuses to accept any commands if they are sent
10724 with two `process-send-string's (Bug#11444).
10725
10726 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10727
10728 * shell.el (shell-parse-pcomplete-arguments):
10729 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10730
10731 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10732
10733 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10734 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10735 (image-transform-width, image-transform-fit-width): New functions.
10736 (image-transform-properties): Use them.
10737 (image-transform-check-size): New function.
10738 (image-toggle-display-image): Use it (for testing).
10739 (image-transform-set-rotation): Reduce angle mod 360.
10740 Delete obsolete comment.
10741
10742 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10743
10744 * image-mode.el: Fix scaling (bug#11399).
10745 (image-transform-resize): Doc fix.
10746 (image-transform-properties): Default scale is 1 and height should
10747 be an integer.
10748
10749 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10750
10751 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10752 than hard-coding `car', to fix misbehavior when moving forward.
10753
10754 2012-05-13 Chong Yidong <cyd@gnu.org>
10755
10756 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10757 (tabulated-list-entries, tabulated-list-padding)
10758 (tabulated-list-sort-key): Make permanent-local.
10759
10760 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10761 (electric-buffer-list): Put electric buffer menu
10762 command descriptions in this docstring, instead of the docstring
10763 of electric-buffer-menu-mode. Code cleanups.
10764 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10765 Electric-buffer-menu-mode.
10766 (electric-buffer-update-highlight): Minor code cleanup.
10767
10768 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10769
10770 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10771 (Bug#11447)
10772
10773 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10774
10775 Move define-obsolete-variable-alias before the var's definition.
10776 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10777 * tooltip.el (tooltip-hook):
10778 * textmodes/reftex-toc.el (reftex-toc-map):
10779 * textmodes/reftex-sel.el (reftex-select-label-map)
10780 (reftex-select-bib-map):
10781 * textmodes/reftex-index.el (reftex-index-map)
10782 (reftex-index-phrases-map):
10783 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10784 * progmodes/meta-mode.el (meta-mode-map):
10785 * novice.el (disabled-command-hook):
10786 * loadhist.el (unload-hook-features-list):
10787 * frame.el (blink-cursor):
10788 * files.el (find-file-not-found-hooks, write-file-hooks)
10789 (write-contents-hooks):
10790 * emulation/tpu-edt.el (GOLD-map):
10791 * emacs-lock.el (emacs-lock-from-exiting):
10792 * emacs-lisp/generic.el (generic-font-lock-defaults):
10793 * emacs-lisp/chart.el (chart-map):
10794 * dos-fns.el (register-name-alist):
10795 * dired-x.el (dired-omit-files-p):
10796 * desktop.el (desktop-enable):
10797 * cus-edit.el (custom-mode-hook):
10798 * buff-menu.el (buffer-menu-mode-hook):
10799 * bookmark.el (bookmark-read-annotation-text-func)
10800 (bookmark-exit-hooks):
10801 * allout.el (allout-mode-deactivate-hook)
10802 (allout-exposure-change-hook, allout-structure-added-hook)
10803 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10804 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10805 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10806 comes before the corresponding variable's definition.
10807
10808 2012-05-12 Chong Yidong <cyd@gnu.org>
10809
10810 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10811 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10812 (Buffer-menu-mode-map): Bind it.
10813 (Buffer-menu--pretty-name): Add a mouse-face property.
10814
10815 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10816
10817 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10818 (prolog-upper-case-string, prolog-lower-case-string)
10819 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10820 (prolog-use-smie, prolog-smie-grammar): New vars.
10821 (prolog-smie-forward-token, prolog-smie-backward-token)
10822 (prolog-smie-rules): New funs.
10823 (prolog-comment-indent): Remove.
10824 (prolog-mode-variables): Use default comment indentation instead.
10825 Setup SMIE.
10826 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10827 (prolog-mode): Don't call them any more.
10828 (prolog-electric-colon, prolog-electric-dash)
10829 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10830
10831 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10832
10833 * minibuffer.el (completion--twq-all): Again, allow case differences.
10834
10835 * term.el: Move keymap initialization code to be more idiomatic.
10836 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10837 (term-terminal-menu): Move initialization into declaration.
10838 (term-escape-char): Let the user set it in her .emacs.
10839
10840 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10841 Provide SMIE-based indentation (not enabled by default yet).
10842 (sh-mode-map): Don't bind electric keys.
10843 Use electric-pair-mode instead of skeleton-pair.
10844 (sh-assignment-regexp): Fit within 80 columns.
10845 (sh-indent-supported): Specify actual shell name instead of boolean.
10846 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10847 (sh-maybe-here-document): Use it. Make obsolete.
10848 (sh-electric-here-document-mode) New minor mode.
10849 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10850 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10851 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10852 (sh-smie-rc-grammar, sh-use-smie): New vars.
10853 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10854 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10855 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10856 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10857 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10858 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10859 (sh-set-shell): Use smie-setup if requested.
10860
10861 * term.el (term-set-escape-char): Properly set term-escape-char.
10862 See http://stackoverflow.com/questions/10524656.
10863
10864 2012-05-10 Chong Yidong <cyd@gnu.org>
10865
10866 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10867 Use url-generic-parse-url, and handle host names and Windows
10868 filenames properly.
10869 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10870 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10871 URL schemes to work on.
10872 (ffap--toggle-read-only): New function.
10873 (ffap-read-only, ffap-read-only-other-window)
10874 (ffap-read-only-other-frame): Use it.
10875 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10876 necessary for ffap-url-unwrap-remote.
10877
10878 2012-05-10 Dave Abrahams <dave@boostpro.com>
10879
10880 * cus-start.el (create-lockfiles): Add it.
10881
10882 2012-05-09 Chong Yidong <cyd@gnu.org>
10883
10884 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10885 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10886
10887 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10888
10889 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10890
10891 2012-05-09 Chong Yidong <cyd@gnu.org>
10892
10893 * ansi-color.el (ansi-color-process-output): Check for validity of
10894 comint-last-output-start before using it. This avoids a bad
10895 interaction with gdb-mi's input/output buffer.
10896
10897 2012-05-09 Glenn Morris <rgm@gnu.org>
10898
10899 * files.el (dir-locals-read-from-file):
10900 Mention dir-locals in any error message.
10901
10902 2012-05-09 Chong Yidong <cyd@gnu.org>
10903
10904 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
10905 package (Bug#11410).
10906
10907 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
10908 variables into description.
10909
10910 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10911
10912 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
10913 shell-delimiter-argument-list (bug#11348).
10914 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
10915
10916 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
10917
10918 * textmodes/rst.el: Silence byte-compiler warnings.
10919 (rst-re-alist, rst-reset-section-caches): Move around.
10920 (rst-re): Use `characterp', not `char-valid-p'.
10921 (font-lock-beg, font-lock-end): Declare.
10922
10923 * progmodes/idlw-shell.el (specs): Remove reference to deleted
10924 variable `idlwave-shell-activate-alt-keybindings' and simplify.
10925
10926 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
10927
10928 2012-05-08 Glenn Morris <rgm@gnu.org>
10929
10930 * files.el (auto-mode-alist): Treat ".make" like ".mk".
10931
10932 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10933
10934 * vc/log-edit.el: Add GNU coding standards highlighting.
10935 (log-edit-font-lock-gnu-style)
10936 (log-edit-font-lock-gnu-keywords): New vars.
10937 (log-edit-font-lock-keywords): New fun.
10938 (log-edit-mode): Don't fold case in font-lock.
10939 (log-edit-font-lock-keywords): Do not assume case-folding.
10940
10941 * imenu.el: Misc cleanup. Make docstrings out of comments.
10942 Use lexical-binding.
10943 (imenu--index-alist, imenu--last-menubar-index-alist)
10944 (imenu-menubar-modified-tick): Use defvar-local.
10945 (imenu--split-menu): Remove unused var.
10946 (imenu--cleanup-seen): Declare as global.
10947 (imenu--cleanup): Use dolist.
10948
10949 * subr.el (defvar-local): Add debug spec and doc-string position.
10950
10951 2012-05-08 Glenn Morris <rgm@gnu.org>
10952
10953 * language/burmese.el, language/cham.el, language/czech.el:
10954 * language/english.el, language/georgian.el, language/greek.el:
10955 * language/japanese.el, language/khmer.el, language/korean.el:
10956 * language/lao.el, language/misc-lang.el, language/romanian.el:
10957 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
10958 * language/thai.el, language/utf-8-lang.el:
10959 Remove no-byte-compile setting.
10960
10961 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
10962
10963 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10964
10965 * progmodes/make-mode.el (makefile-browse):
10966 Remove unnecessary interactive. (Bug#11324)
10967
10968 2012-05-07 Glenn Morris <rgm@gnu.org>
10969
10970 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
10971
10972 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
10973
10974 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10975
10976 * loadup.el: Preload newcomment.el.
10977 * newcomment.el: Move autoload-only code to toplevel.
10978
10979 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
10980 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10981 Handle new :right-align column property.
10982 (tabulated-list-print-col): Idem, plus use `display' text-property to
10983 try and preserve alignment for variable pitch fonts.
10984
10985 2012-05-07 Chong Yidong <cyd@gnu.org>
10986
10987 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
10988 (tabulated-list-use-header-line): New var.
10989 (tabulated-list-init-header): Use it.
10990 (tabulated-list-print-fake-header): New function.
10991 (tabulated-list-print): Use it.
10992 (tabulated-list-sort-button-map): Add non-header-line commands.
10993 (tabulated-list-init-header): Add column name property to basic
10994 labels as well.
10995 (tabulated-list-col-sort): Handle non-header-line button case.
10996 (tabulated-list--sort-by-column-name): Fix a corner case.
10997
10998 * buff-menu.el (list-buffers--refresh):
10999 Handle Buffer-menu-use-header-line.
11000
11001 2012-05-06 Chong Yidong <cyd@gnu.org>
11002
11003 * buff-menu.el: Convert to Tabulated List mode.
11004 (Buffer-menu-buffer+size-width): Make obsolete.
11005 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11006 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11007 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11008 documentation into docstring of buffer-menu.
11009 (Buffer-menu-toggle-files-only): Add an informative message.
11010 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11011 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11012 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11013 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11014 (Buffer-menu-execute, Buffer-menu-select)
11015 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11016 (Buffer-menu-bury): Use Tabulated List machinery.
11017 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11018 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11019 Delete.
11020 (list-buffers--refresh): New function.
11021 (list-buffers-noselect): Use it.
11022 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11023 (Buffer-menu--pretty-file-name): New helper functions.
11024
11025 * loadup.el: Preload tabulated-list.
11026
11027 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11028 tabulated-list-sort-column.
11029 (tabulated-list-init-header): Add the initial aligning space even
11030 if tabulated-list-padding is zero.
11031
11032 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11033
11034 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11035 whose cdr is not a cons cell correctly (bug#11038).
11036
11037 2012-05-06 Chong Yidong <cyd@gnu.org>
11038
11039 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11040 Accept additional plist in column descriptors.
11041 (tabulated-list-init-header): Obey it.
11042 (tabulated-list-get-entry): New function.
11043 (tabulated-list-put-tag): Use it. Use string-width instead of
11044 length.
11045 (tabulated-list--column-number): New function.
11046 (tabulated-list-print): Use it.
11047 (tabulated-list-print-col): New function.
11048 Set `tabulated-list-column-name' property on each column's text.
11049 (tabulated-list-print-entry): Use it.
11050 (tabulated-list-delete-entry, tabulated-list-set-col):
11051 New functions.
11052 (tabulated-list-sort-column): New command (Bug#11337).
11053
11054 * buff-menu.el (list-buffers): Move C-x C-b binding from
11055 buff-menu.el to bindings.el.
11056
11057 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11058 :advertised-binding feature.
11059
11060 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11061
11062 * progmodes/compile.el (compilation-internal-error-properties):
11063 Calculate start position correctly when end-col is set but
11064 end-line is not (Bug#11382).
11065
11066 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11067
11068 * man.el (Man-unindent): Use text-property-default-nonsticky to
11069 prevent untabify from inheriting face properties (Bug#11408).
11070
11071 2012-05-05 Stefan Merten <smerten@oekonux.de>
11072
11073 * textmodes/rst.el: Major merge with upstream development up to
11074 Docutils SVN r7399 / rst.el V1.2.1.
11075
11076 Clarify maintainership and authors.
11077
11078 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11079 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11080 (rst-official-version, rst-official-cvs-rev, rst-version)
11081 (rst-package-emacs-version-alist): New functions and variables
11082 for version information.
11083
11084 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11085 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11086 (rst-mode-syntax-table, rst-mode): New and corrected functions
11087 and variables representing reStructuredText features.
11088
11089 (rst-re): New function for reStructuredText regexes. Use in
11090 many places.
11091
11092 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11093 (rst-mode-map): Rebind keys.
11094
11095 (rst-mode-lazy, rst-font-lock-keywords)
11096 (rst-font-lock-extend-region)
11097 (rst-font-lock-extend-region-internal)
11098 (rst-font-lock-extend-region-extend)
11099 (rst-font-lock-find-unindented-line-limit)
11100 (rst-font-lock-find-unindented-line-match)
11101 (rst-adornment-level, rst-font-lock-adornment-level)
11102 (rst-font-lock-adornment-match)
11103 (rst-font-lock-handle-adornment-pre-match-form)
11104 (rst-font-lock-handle-adornment-matcher): Major revision of
11105 font-locking. Integrate with other code. Use `jit-lock-mode'.
11106
11107 (rst-preferred-adornments, rst-adjust-hook)
11108 (rst-new-adornment-down, rst-preferred-bullets)
11109 (rst-preferred-bullets, rst-indent, rst-indent-width)
11110 (rst-indent-field, rst-indent-literal-normal)
11111 (rst-indent-literal-minimized, rst-indent-comment): Change,
11112 extend and improve customization.
11113
11114 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11115 (rst-normalize-cursor-position, rst-get-decoration)
11116 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11117 (rst-rstrip, rst-toc-insert-find-delete-contents)
11118 (rst-shift-fill-region, rst-compute-bullet-tabs)
11119 (rst-debug-print-tabs, rst-debug-mark-found)
11120 (rst-shift-region-guts, rst-shift-region-right)
11121 (rst-shift-region-left, rst-use-char-classes)
11122 (rst-font-lock-keywords-function)
11123 (rst-font-lock-indentation-point)
11124 (rst-font-lock-find-unindented-line-begin)
11125 (rst-font-lock-find-unindented-line-end)
11126 (rst-font-lock-find-unindented-line)
11127 (rst-font-lock-adornment-point, rst-font-lock-level)
11128 (rst-adornment-level-alist): Remove functions and variables.
11129
11130 (rst-compare-adornments, rst-get-adornment-match)
11131 (rst-suggest-new-adornment, rst-get-adornments-around)
11132 (rst-adornment-complete-p, rst-get-next-adornment)
11133 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11134 (rst-straighten-adornments): Standardize function names to
11135 use "adornment" instead of "decoration". Correct callers.
11136 Similar standardizing in many places.
11137
11138 (rst-update-section, rst-adjust, rst-promote-region)
11139 (rst-enumerate-region, rst-bullet-list-region)
11140 (rst-repeat-last-character): Correct use of `interactive'.
11141
11142 (rst-classify-adornment, rst-find-all-adornments)
11143 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11144 (rst-find-leftmost-column, rst-repeat-last-character):
11145 Refactor functions.
11146
11147 (rst-find-title-line, rst-reset-section-caches)
11148 (rst-get-adornments-around, rst-adjust-adornment-work)
11149 (rst-arabic-to-roman, rst-roman-to-arabic)
11150 (rst-insert-list-pos, rst-insert-list-new-item)
11151 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11152 New functions.
11153
11154 (rst-all-sections, rst-section-hierarchy)
11155 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11156 New variables.
11157
11158 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11159 configuration instead of only buffer. Change where necessary.
11160
11161 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11162 (rst-shift-region, rst-adaptive-fill): New functions for
11163 indentation and filling.
11164
11165 (rst-comment-line-break, rst-comment-indent)
11166 (rst-comment-insert-comment, rst-comment-region)
11167 (rst-uncomment-region): New functions for handling comments.
11168
11169 (rst-compile): Quote shell arguments.
11170
11171 (rst-compile-pdf-preview, rst-compile-slides-preview):
11172 Delete temporary files after use.
11173
11174 2012-05-05 Glenn Morris <rgm@gnu.org>
11175
11176 * calendar/cal-html.el: Optionally include holidays in the output.
11177 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11178 (cal-html-holidays): New option.
11179 (cal-html-css-default): Add holiday entry.
11180 (holiday-in-range): Autoload it.
11181 (cal-html-htmlify-entry): Add optional class argument.
11182 (cal-html-htmlify-list): Add optional holidays argument.
11183 (cal-html-insert-agenda-days): Include holidays in the output.
11184 (cal-html-one-month): Maybe include holidays.
11185
11186 * calendar/holidays.el (holiday-in-range):
11187 Move here from cal-tex-list-holidays.
11188 * calendar/cal-tex.el (cal-tex-list-holidays):
11189 Make it an obsolete alias for holiday-in-range. Update all callers.
11190
11191 2012-05-05 Chong Yidong <cyd@gnu.org>
11192
11193 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11194 Nextstep.
11195
11196 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11197
11198 * files.el (file-auto-mode-skip): New var.
11199 (set-auto-mode-1): Use it.
11200
11201 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11202
11203 * repeat.el: Use lexical-binding.
11204 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11205 (repeat-undo-count): Remove.
11206 (repeat):
11207 * progmodes/octave-mod.el (octave-abbrev-start):
11208 * progmodes/f90.el (f90-abbrev-start):
11209 * face-remap.el (text-scale-adjust):
11210 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11211
11212 * emacs-lisp/pcase.el (pcase--let*): New function.
11213 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11214 a bit more.
11215 (pcase--split-pred): Be more clever about ruling out overlap between
11216 a predicate and some constant pattern.
11217 (pcase--q1): Use `null' instead of (eq foo nil).
11218
11219 * subr.el (setq-local, defvar-local): New macros.
11220 (kbd): Redefine as an alias.
11221 (with-selected-window): Leave unrelated frames alone.
11222 (set-temporary-overlay-map): New function.
11223
11224 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11225
11226 * subr.el (user-error): New function.
11227 * window.el (switch-to-buffer):
11228 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11229 (smerge-match-conflict):
11230 * simple.el (previous-matching-history-element)
11231 (next-matching-history-element, goto-history-element, undo-more)
11232 (undo-start):
11233 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11234 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11235 (next-file, tags-loop-scan, list-tags, complete-tag):
11236 * progmodes/compile.el (compilation-loop):
11237 * mouse.el (mouse-minibuffer-check):
11238 * man.el (Man-bgproc-sentinel, Man-goto-page):
11239 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11240 (Info-history-forward, Info-follow-reference, Info-menu)
11241 (Info-extract-menu-item, Info-extract-menu-counting)
11242 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11243 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11244 (Info-next-reference, Info-prev-reference, Info-index)
11245 (Info-index-next, Info-follow-nearest-node)
11246 (Info-copy-current-node-name):
11247 * imenu.el (imenu--make-index-alist)
11248 (imenu-default-create-index-function, imenu-add-to-menubar):
11249 * files.el (basic-save-buffer, recover-file):
11250 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11251 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11252 (checkdoc-message-text, checkdoc-defun):
11253 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11254 * cus-edit.el (customize-changed-options, customize-rogue)
11255 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11256 (custom-variable-mark-to-reset-standard)
11257 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11258 (custom-file):
11259 * completion.el (check-completion-length):
11260 * comint.el (comint-search-arg)
11261 (comint-previous-matching-input-string-position)
11262 (comint-previous-matching-input)
11263 (comint-replace-by-expanded-history-before-point, comint-send-input)
11264 (comint-copy-old-input, comint-backward-matching-input)
11265 (comint-goto-process-mark, comint-set-process-mark):
11266 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11267 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11268
11269 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11270
11271 * dabbrev.el (dabbrev--ignore-case-p): New function.
11272 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11273 Use it.
11274
11275 * files.el (automount-dir-prefix): Mark as obsolete.
11276
11277 2012-05-04 Glenn Morris <rgm@gnu.org>
11278
11279 * patcomp.el, play/bruce.el: Move to obsolete/.
11280
11281 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11282
11283 Fix minor Y10k bugs.
11284 * arc-mode.el (archive-unixdate):
11285 * autoinsert.el (auto-insert-alist):
11286 * calc/calc-forms.el (math-this-year):
11287 * emacs-lisp/copyright.el (copyright-current-year)
11288 (copyright-update-year, copyright):
11289 * tar-mode.el (tar-clip-time-string):
11290 * time.el (display-time-update):
11291 Don't assume years have 4 digits.
11292
11293 2012-05-04 Chong Yidong <cyd@gnu.org>
11294
11295 * dos-w32.el (file-name-buffer-file-type-alist)
11296 (direct-print-region-use-command-dot-com):
11297 * ffap.el (ffap-menu-regexp):
11298 * find-file.el (ff-special-constructs):
11299 * follow.el (follow-debug):
11300 * forms.el (forms--debug):
11301 * iswitchb.el (iswitchb-all-frames):
11302 * ido.el (ido-all-frames):
11303 * emacs-lisp/timer.el (timer-max-repeats):
11304 * mail/feedmail.el (feedmail-mail-send-hook)
11305 (feedmail-mail-send-hook-queued):
11306 * mail/footnote.el (footnote-signature-separator):
11307 * mail/mailabbrev.el (mail-alias-separator-string)
11308 (mail-abbrev-mode-regexp):
11309 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11310 * progmodes/idlwave.el (idlwave-libinfo-file)
11311 (idlwave-default-completion-case-is-down)
11312 (idlwave-library-routines): Convert defvars to defcustoms.
11313
11314 * mail/rmail.el (rmail-decode-mime-charset):
11315 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11316 (idlwave-shell-fix-inserted-breaks)
11317 (idlwave-shell-activate-alt-keybindings)
11318 (idlwave-shell-use-breakpoint-glyph):
11319 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11320
11321 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11322
11323 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11324
11325 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11326
11327 * progmodes/verilog-mode.el (font-lock-keywords):
11328 Fix mis-highligting auto. Reported by Craig Barner.
11329 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11330 defines from global name space. Reported by Dan Dever.
11331 (verilog-auto-reset, verilog-auto-reset-widths)
11332 (verilog-auto-tieoff): Support using unbased numbers for
11333 AUTORESET and AUTOTIEOFF.
11334 (verilog-submit-bug-report): Update variable list.
11335 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11336 parenthesis from not matching. Reported by Michael Rytting.
11337 (verilog-auto-template-lint): Fix hash error when linting modules
11338 with no used templates.
11339 (verilog-warn, verilog-warn-error)
11340 (verilog-warn-fatal): When non-interactive report multiple
11341 warnings before exiting. Suggested by Brad Dobbie.
11342 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11343 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11344 to report unused template errors. Reported by Brad Dobbie.
11345 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11346 nets, bug438. Reported by Vns Blore.
11347 (verilog-auto-inout-module, verilog-auto-reg)
11348 (verilog-read-decls, verilog-read-sub-decls-sig)
11349 (verilog-signals-edit-wire-reg, verilog-signals-with):
11350 Fix passing of Verilog data types in ANSI input/output ports
11351 such as "output logic" into the AUTOs. Special case "wire" and
11352 "reg" for backwards compatibility presuming Verilog 2001.
11353 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11354 (verilog-preprocess): Fix replication of preprocess output.
11355 Reported by Brad Dobbie.
11356 (verilog-auto-inst-interfaced-ports):
11357 Create verilog-auto-inst-interfaced-ports, bug429.
11358 Reported by Julian Gorfajn.
11359 (verilog-after-save-font-hook)
11360 (verilog-before-save-font-hook): New variable.
11361 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11362 (verilog-save-font-mods): Wrap disabling fontification, reported
11363 by David Rogoff.
11364 (verilog-do-indent, verilog-pretty-declarations-auto)
11365 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11366 Reported by Pierre-David Pfister.
11367 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11368 of class declarations, bug292. Reported by Kevin Heilman.
11369 (verilog-read-decls): Fix 'parameter type' not appearing in
11370 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11371 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11372 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11373 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11374 Reported by David Kravitz.
11375
11376 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11377
11378 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11379 assignment with tests in ifs and for loops.
11380 (verilog-extended-complete-re, verilog-complete-reg): Change so
11381 that DPI inport functions don't look like fuction declarations.
11382 (verilog-pretty-expr): Don't line up assignment
11383 operations to the test and increment in if and for loops
11384 (verilog-extended-complete-re, verilog-complete-reg): Change so
11385 that DPI inport functions don't look like fuction declarations.
11386
11387 2012-05-03 Kenichi Handa <handa@m17n.org>
11388
11389 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11390 decoding, and show a warning message without signaling an error
11391 (Bug#11282).
11392
11393 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11394
11395 * emacs-lisp/bytecomp.el
11396 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11397 since cconv.el might have introduced :fun-body, internal-make-closure,
11398 and friends for bytecomp to handle (bug#11391).
11399 * custom.el (defcustom): Avoid ((λ ..) ..).
11400
11401 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11402
11403 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11404
11405 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11406
11407 * notifications.el (dbus-debug):
11408 * term/linux.el (gpm-mouse-enable):
11409 * term/screen.el (xterm-register-default-colors): Declare.
11410
11411 2012-05-02 Chong Yidong <cyd@gnu.org>
11412
11413 * cus-start.el (gc-cons-percentage, exec-suffixes)
11414 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11415 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11416 (make-cursor-line-fully-visible, void-text-area-pointer)
11417 (font-list-limit): Add customization data.
11418
11419 * allout.el (allout-exposure-change-functions)
11420 (allout-structure-added-functions)
11421 (allout-structure-deleted-functions)
11422 (allout-structure-shifted-functions): Rename abnormal hooks from
11423 *-hook, and convert to defcustoms.
11424 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11425 Convert to defcustoms.
11426 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11427
11428 * allout-widgets.el: Hook callers changed.
11429
11430 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11431
11432 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11433 the yanked message in preference to the default value of
11434 buffer-file-coding-system.
11435
11436 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11437
11438 * window.el (display-buffer--action-function-custom-type):
11439 Fix entry.
11440
11441 2012-05-02 Alan Mackenzie <acm@muc.de>
11442
11443 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11444
11445 2012-05-01 Glenn Morris <rgm@gnu.org>
11446
11447 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11448
11449 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11450
11451 * cus-edit.el (custom-variable-documentation): Simplify with format.
11452
11453 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11454 Stefan Monnier <monnier@iro.umontreal.ca>
11455
11456 * simple.el (suggest-key-bindings, execute-extended-command):
11457 Move from keyboard.c.
11458
11459 2012-05-01 Chong Yidong <cyd@gnu.org>
11460
11461 * follow.el: Eliminate advice.
11462 (set-process-filter, process-filter, sit-for): Advice deleted.
11463 (follow-mode-off-hook): Obsolete hook removed.
11464 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11465 Vars deleted.
11466 (follow-auto): Use a :set function.
11467 (follow-mode): Rewritten. Don't advise process filters.
11468 (follow-switch-to-current-buffer-all, follow-scroll-up)
11469 (follow-scroll-down): Assume follow-mode is bound.
11470 (follow-comint-scroll-to-bottom)
11471 (follow-align-compilation-windows): New functions.
11472 (follow--window-sorter): New function.
11473 (follow-all-followers): Use it to explicitly sort windows by their
11474 positions; don't make assumptions about next-window order.
11475 (follow-windows-start-end, follow-delete-other-windows-and-split)
11476 (follow-calc-win-start): Doc fix.
11477 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11478 vertical-motion unnecessarily.
11479 (follow-adjust-window): New function.
11480 (follow-post-command-hook): Use it.
11481 (follow-call-set-process-filter, follow-call-process-filter)
11482 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11483 (follow-stop-intercept-process-output, follow-generic-filter):
11484 Functions deleted.
11485 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11486 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11487 New functions, replacing advice on scroll-bar-* commands.
11488 (follow-mwheel-scroll): New function (Bug#4112).
11489
11490 * comint.el (comint-adjust-point): New function.
11491 (comint-postoutput-scroll-to-bottom): Use it.
11492 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11493
11494 2012-05-01 Glenn Morris <rgm@gnu.org>
11495
11496 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11497 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11498 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11499 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11500 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11501 Remove no-byte-compile setting.
11502
11503 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11504
11505 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11506 all-completions code to not return a number in the last cdr.
11507
11508 2012-04-30 Leo Liu <sdl.web@gmail.com>
11509
11510 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11511 read-only error.
11512
11513 2012-04-29 Chong Yidong <cyd@gnu.org>
11514
11515 * follow.el (follow-calc-win-end): Rewrite to handle partial
11516 screen lines correctly (Bug#8390).
11517 (follow-avoid-tail-recenter): Minor cleanup.
11518
11519 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11520
11521 Avoid the obsolete `assoc' package.
11522 * speedbar.el (speedbar-refresh): Avoid adelete.
11523 (speedbar-file-lists): Simplify and avoid aput.
11524 * man.el (Man--sections, Man--refpages): New vars, replacing
11525 Man-sections-alist and Man-refpages-alist.
11526 (Man-build-section-alist, Man-build-references-alist):
11527 Use them; avoid aput.
11528 (Man--last-section, Man--last-refpage): New vars.
11529 (Man-follow-manual-reference): Use them.
11530 Use the `default' arg of completing-read.
11531 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11532
11533 2012-04-27 Chong Yidong <cyd@gnu.org>
11534
11535 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11536
11537 * startup.el (x-apply-session-resources): New function.
11538
11539 * term/ns-win.el (ns-initialize-window-system):
11540 * term/w32-win.el (w32-initialize-window-system):
11541 * term/x-win.el (x-initialize-window-system): Use it to properly
11542 set menu-bar-mode and other vars from X resources, even if the
11543 initial frame is not a window-system frame (Bug#2299).
11544
11545 * subr.el (read-key): Avoid running filter function when setting
11546 up temporary tool bar entries (Bug#9922).
11547
11548 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11549
11550 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11551 (Bug#11344)
11552
11553 2012-04-27 Chong Yidong <cyd@gnu.org>
11554
11555 * select.el (xselect--encode-string): New function, split from
11556 xselect-convert-to-string.
11557 (xselect-convert-to-string): Use it.
11558 (xselect-convert-to-filename, xselect-convert-to-os)
11559 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11560 returned strings are properly encoded (Bug#11315).
11561
11562 2012-04-27 Chong Yidong <cyd@gnu.org>
11563
11564 * simple.el (delete-active-region): Move to killing custom group.
11565
11566 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11567
11568 * progmodes/which-func.el (which-func-current): Quote %
11569 characters for mode-line processing.
11570
11571 2012-04-27 Chong Yidong <cyd@gnu.org>
11572
11573 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11574 reaching eob (Bug#11286).
11575
11576 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11577
11578 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11579 (gdb): Make it buffer-local and init to zero.
11580 (gdb-control-commands-regexp): New variable.
11581 (gdb-send): Don't wrap in "-interpreter-exec console" if
11582 gdb-control-level is positive. Increment gdb-control-level
11583 whenever the command matches gdb-control-commands-regexp, and
11584 decrement it each time the command is "end". (Bug#11279)
11585
11586 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11587
11588 * window.el (adjust-window-trailing-edge, enlarge-window)
11589 (shrink-window, window-resize):
11590 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11591 windows (Bug#11276).
11592
11593 2012-04-27 Chong Yidong <cyd@gnu.org>
11594
11595 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11596 fix "missing prefix" warning. All callers changed.
11597
11598 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11599
11600 * emacs-lisp/assoc.el: Move to obsolete/.
11601
11602 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11603
11604 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11605
11606 * term/ns-win.el (ns-define-service):
11607 * progmodes/pascal.el (pascal-goto-defun):
11608 * progmodes/js.el (js--read-tab):
11609 * progmodes/etags.el (tags-lazy-completion-table):
11610 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11611 * emacs-lisp/ewoc.el (ewoc--wrap):
11612 * emacs-lisp/assoc.el (aput, adelete, amake):
11613 * doc-view.el (doc-view-convert-current-doc):
11614 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11615
11616 2012-04-26 Chong Yidong <cyd@gnu.org>
11617
11618 * image.el (image-type-from-buffer): Only return supported image
11619 type (Bug#9045).
11620
11621 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11622 value, for symmetry with diff-end-of-hunk.
11623 (diff-split-hunk, diff-find-source-location)
11624 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11625 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11626 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11627 compute the relevant hunk or file properly (Bug#6005).
11628 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11629
11630 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11631
11632 * vc/vc-mtn.el:
11633 * vc/vc-hg.el:
11634 * vc/vc-git.el:
11635 * vc/vc-dir.el:
11636 * vc/vc-cvs.el:
11637 * vc/vc-bzr.el:
11638 * vc/vc-arch.el:
11639 * vc/vc.el: Replace lexical-let by lexical-binding.
11640 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11641 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11642 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11643
11644 2012-04-26 Chong Yidong <cyd@gnu.org>
11645
11646 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11647 (diff-mode-shared-map): Bind it to / and [remap undo].
11648
11649 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11650 (ediff-window-setup-function): Use it as the default, to set up
11651 windows based on whether the current frame is graphical (Bug#2138).
11652 (ediff-choose-window-setup-function-automatically): Make obsolete.
11653
11654 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11655
11656 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11657
11658 * ffap.el: Remove old code for obsolete package.
11659 (ffap-complete-as-file-p): Remove.
11660
11661 Use completion-table-with-quoting for comint and pcomplete.
11662 * comint.el (comint--unquote&requote-argument)
11663 (comint--unquote-argument, comint--requote-argument): New functions.
11664 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11665 (comint-quote-filename): Use regexp-opt-charset.
11666 (comint--common-suffix, comint--common-quoted-suffix)
11667 (comint--table-subvert): Remove.
11668 (comint-unquote-function, comint-requote-function): New vars.
11669 (comint--complete-file-name-data): Use them with
11670 completion-table-with-quoting.
11671 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11672 * pcomplete.el (pcomplete-arg-quote-list)
11673 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11674 (pcomplete-unquote-argument-function): Default to non-nil.
11675 (pcomplete-unquote-argument): Simplify.
11676 (pcomplete--common-quoted-suffix): Remove.
11677 (pcomplete-requote-argument-function): New var.
11678 (pcomplete--common-suffix): New function.
11679 (pcomplete-completions-at-point): Use completion-table-with-quoting
11680 and completion-table-subvert.
11681
11682 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11683 (minibuffer--double-dollars): Preserve properties.
11684 (completion--sifn-requote): New function.
11685 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11686
11687 * minibuffer.el: Add support for completion of quoted/escaped data.
11688 (completion-table-with-quoting, completion-table-subvert): New funs.
11689 (completion--twq-try, completion--twq-all): New functions.
11690 (completion--nth-completion): New function.
11691 (completion-try-completion, completion-all-completions): Use it.
11692
11693 2012-04-25 Leo Liu <sdl.web@gmail.com>
11694
11695 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11696 Use compilation-message if available to find real filename.
11697
11698 2012-04-25 Chong Yidong <cyd@gnu.org>
11699
11700 * vc/diff-mode.el (diff-setup-whitespace): New function.
11701 (diff-mode): Use it.
11702
11703 * vc/diff.el (diff-sentinel):
11704 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11705 Whitespace mode variables based on diff style (Bug#8612).
11706
11707 2012-04-25 Leo Liu <sdl.web@gmail.com>
11708
11709 * progmodes/python.el (python-send-region): Add suffix .py to the
11710 temp file.
11711
11712 * files.el (auto-mode-alist): Use javascript-mode instead.
11713
11714 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11715
11716 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11717
11718 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11719 (soap-resolve-references-for-array-type): Hack to prevent self
11720 references, see Bug#9.
11721 (soap-parse-envelope): Report the contents of the 'detail' node
11722 when receiving a fault reply.
11723 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11724
11725 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11726 (soap-inspect-simple-type): New function.
11727
11728 * net/soap-client.el (soap-simple-type): New struct.
11729 (soap-default-xsd-types, soap-default-soapenc-types)
11730 (soap-decode-basic-type, soap-encode-basic-type):
11731 support unsignedInt and double basic types.
11732 (soap-resolve-references-for-simple-type)
11733 (soap-parse-simple-type, soap-encode-simple-type): New function.
11734 (soap-parse-schema): Parse xsd:simpleType declarations.
11735
11736 * net/soap-client.el (soap-default-xsd-types)
11737 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11738 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11739 the local name of "soapenc:Array".
11740 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11741 decoding integer, byte and anyURI xsd types.
11742
11743 2012-04-25 Chong Yidong <cyd@gnu.org>
11744
11745 * cus-edit.el (custom-buffer-create-internal): Update header text.
11746
11747 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11748
11749 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11750 settings on 'system-type', not on 'window-system'. On MS-Windows,
11751 set interactive-mode on in GDB.
11752
11753 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11754
11755 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11756 (ruby-syntax-propertize-regexp): Remove.
11757 (ruby-syntax-propertize-function): Split regexp into chunks.
11758 Match following code directly.
11759
11760 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11761
11762 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11763 (ruby-syntax-propertize-regexp): New function.
11764 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11765 by a special keyword.
11766
11767 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11768 (ruby-syntax-general-delimiters-goto-beg)
11769 (ruby-syntax-propertize-general-delimiters): New functions.
11770 (ruby-syntax-propertize-function): Use them to handle GDL.
11771 (ruby-font-lock-keywords): Move old handling of GDL...
11772 (ruby-font-lock-syntactic-keywords): .. to here.
11773 (ruby-calculate-indent): Adjust indentation for GDL.
11774
11775 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11776
11777 * notifications.el (top): Remove unneeded declarations.
11778 (notifications-specification-version): Change to "1.2".
11779 (notifications-interface, notifications-notify-method)
11780 (notifications-close-notification-method): Fix docstring.
11781 (notifications-get-capabilities-method): New defconst.
11782 (notifications-notify): Add :action-items, :resident and
11783 :transient hints. Change "image_data" to "image-data" and
11784 "image_path" to "image-path".
11785 (notifications-get-capabilities): New defun.
11786
11787 2012-04-24 Leo Liu <sdl.web@gmail.com>
11788
11789 * progmodes/python.el: Move hideshow setup to the end.
11790
11791 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11792
11793 * window.el (handle-select-window): Clear echo area since this is
11794 no more done by read_char (Bug#11304).
11795
11796 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11797
11798 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11799 and `/ M' to filter-derived-mode.
11800 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11801 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11802 (ibuffer-mark-by-mode): Use default rather than initial-input.
11803 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11804
11805 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11806
11807 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11808 (ibuffer-filter-by-derived-mode): New filter.
11809 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11810
11811 2012-04-23 Andreas Politz <politza@fh-trier.de>
11812
11813 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11814
11815 2012-04-23 Chong Yidong <cyd@gnu.org>
11816
11817 * cus-edit.el (customize-apropos, customize-apropos-options):
11818 Disable matching of non-option variables (Bug#11176).
11819 (customize-option, customize-option-other-window)
11820 (customize-changed-options): Doc fix.
11821 (customize-apropos-options, customize-apropos-faces)
11822 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11823
11824 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11825 Fix word list splitting (Bug#11132).
11826 (apropos-symbol, apropos-keybinding, apropos-label)
11827 (apropos-property, apropos-function-button)
11828 (apropos-variable-button, apropos-misc-button): New faces.
11829 (apropos-symbol-face, apropos-keybinding-face)
11830 (apropos-label-face, apropos-property-face, apropos-match-face):
11831 Variables removed (Bug#8396).
11832 (apropos-library-button, apropos-format-plist, apropos-print)
11833 (apropos-print-doc, apropos-describe-plist): Callers changed.
11834
11835 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11836
11837 * net/xesam.el (xesam-mode-map): Use let-bound map in
11838 initialization. (Bug#11292)
11839
11840 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11841
11842 Preserve ispell session localwords when switching back to
11843 original buffer.
11844
11845 * textmodes/ispell.el (ispell-buffer-session-localwords):
11846 New buffer-local variable to hold buffer session localwords.
11847 (ispell-kill-ispell): Add option 'clear to delete session
11848 localwords.
11849 (ispell-command-loop, ispell-change-dictionary)
11850 (ispell-buffer-local-words): Preserve session localwords when
11851 needed.
11852
11853 * textmodes/flyspell.el (flyspell-process-localwords)
11854 (flyspell-do-correct): Preserve session localwords when needed.
11855
11856 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11857
11858 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11859 using obsolete `translation-table-for-input'.
11860 (ispell-word, ispell-process-line, ispell-complete-word):
11861 Use plain `insert' instead of removed `ispell-insert-word'.
11862
11863 2012-04-22 Chong Yidong <cyd@gnu.org>
11864
11865 * cus-edit.el (custom-variable-menu)
11866 (custom-variable-reset-saved, custom-face-menu)
11867 (custom-face-reset-saved): If there is no saved value, make the
11868 "reset-saved" operation bring back the default (Bug#9509).
11869 (custom-face-state): Properly detect themed faces.
11870
11871 * faces.el (face-spec-set): Stop supporting deprecated form of
11872 third arg.
11873
11874 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11875
11876 Move functions from C to Lisp. Make non-blocking method calls
11877 the default. Implement further D-Bus standard interfaces.
11878
11879 * net/dbus.el (dbus-message-internal): Declare function.
11880 Remove unneeded function declarations.
11881 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11882 (dbus-message-type-method-return, dbus-message-type-error)
11883 (dbus-message-type-signal): Declare variables. Remove local
11884 definitions.
11885 (dbus-interface-dbus, dbus-interface-peer)
11886 (dbus-interface-introspectable, dbus-interface-properties)
11887 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11888 Adapt docstring.
11889 (dbus-interface-objectmanager): New defconst.
11890 (dbus-call-method, dbus-call-method-asynchronously)
11891 (dbus-send-signal, dbus-method-return-internal)
11892 (dbus-method-error-internal, dbus-register-service)
11893 (dbus-register-signal, dbus-register-method): New defuns, moved
11894 from dbusbind.c
11895 (dbus-call-method-handler, dbus-setenv)
11896 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11897 New defuns.
11898 (dbus-call-method-non-blocking): Make it an obsolete function.
11899 (dbus-unregister-object, dbus-unregister-service)
11900 (dbus-handle-event, dbus-register-property)
11901 (dbus-property-handler): Obey the new structure of
11902 `bus-registered-objects'.
11903 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
11904 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11905 Use `dbus-call-method'.
11906
11907 2012-04-22 Chong Yidong <cyd@gnu.org>
11908
11909 * cus-edit.el (custom-commands, custom-reset-menu)
11910 (Custom-reset-standard): Tweak labels.
11911 (custom-reset-button-menu): Change default to t.
11912 (custom-buffer-create-internal): For the custom-reset-button-menu
11913 case, put the revert button first.
11914 (custom-group-subtitle): New face.
11915 (custom-group-value-create): Align docstring to a specific column.
11916
11917 * wid-edit.el (widget-documentation-link-add): Don't handle
11918 indentation in this function.
11919 (widget-documentation-string-indent-to): New function.
11920 (widget-documentation-string-value-create): Use it.
11921
11922 * autorevert.el (auto-revert):
11923 * epg-config.el (epg):
11924 * ibuffer.el (ibuffer):
11925 * mpc.el (mpc):
11926 * ses.el (ses):
11927 * eshell/eshell.el (eshell):
11928 * net/ange-ftp.el (ange-ftp):
11929 * progmodes/ebnf2ps.el (postscript):
11930 * progmodes/flymake.el (flymake):
11931 * progmodes/prolog.el (prolog):
11932 * progmodes/verilog-mode.el (verilog-mode):
11933 * progmodes/which-func.el (which-func):
11934 * term/xterm.el (xterm):
11935 * textmodes/picture.el (picture):
11936 * textmodes/tildify.el (tildify):
11937 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
11938 customization buffers.
11939
11940 2012-04-22 Alan Mackenzie <acm@muc.de>
11941
11942 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11943 Adding a ) can hide the resulting (..) from searches. Fix it.
11944 Bound the backward search to the position of the existing (.
11945
11946 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
11947
11948 * progmodes/verilog-mode.el (verilog-mode): Check whether
11949 which-func-modes is t before adding verilog-mode.
11950 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
11951
11952 2012-04-21 Leo Liu <sdl.web@gmail.com>
11953
11954 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
11955
11956 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
11957
11958 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
11959 filling of the last column of a table (Bug#5635).
11960 (woman-find-next-control-line): New arg, specifying an additional
11961 regexp component for the control line.
11962 (woman2-roff-buffer): Use it.
11963 (woman-break-table): New function.
11964 (woman2-TS): Use it.
11965
11966 2012-04-21 Chong Yidong <cyd@gnu.org>
11967
11968 * woman.el (woman-set-buffer-display-table, woman-decode-region)
11969 (woman-horizontal-escapes, woman-negative-vertical-space)
11970 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
11971 (WoMan-warn-ignored): Use ?\s instead of ?\ .
11972
11973 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11974
11975 * minibuffer.el (completion-file-name-table): Complete user names.
11976
11977 2012-04-20 Leo Liu <sdl.web@gmail.com>
11978
11979 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
11980 and pcase-let*.
11981
11982 2012-04-20 Chong Yidong <cyd@gnu.org>
11983
11984 * server.el (server-execute): Respect initial-buffer-choice if it
11985 is a string and there are no files to open (Bug#2825).
11986 (server-create-window-system-frame, server-create-tty-frame):
11987 Don't switch buffers here.
11988 (server-process-filter): Only try to open a window system frame if
11989 compiled with graphical support (Bug#8314).
11990
11991 2012-04-20 Dan Nicolaescu <dann@gnu.org>
11992
11993 * battery.el (battery-echo-area-format): Display remaining time
11994 for sysfs backend too (Bug#11269).
11995 (battery-linux-sysfs): Fix conditional for the charge.
11996
11997 2012-04-20 Chong Yidong <cyd@gnu.org>
11998
11999 * progmodes/gdb-mi.el (gdb): Revert previous change.
12000 (gdb-inferior-io--init-proc): New function.
12001 (gdb-init-1): Use it.
12002 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12003 responsible for allocating a new pty and hooking it to gdb when
12004 the old pty gets an EIO due to process exit.
12005 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12006 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12007 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12008
12009 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12010
12011 * window.el (window-min-size, window-sizable, window-min-delta)
12012 (window-max-delta, window--resizable, window-resizable)
12013 (window-total-size, window-full-height-p, window-full-width-p)
12014 (window-in-direction, window--resize-mini-window, window-resize)
12015 (window--resize-child-windows-normal)
12016 (window--resize-child-windows, window--resize-siblings)
12017 (window--resize-this-window, adjust-window-trailing-edge)
12018 (enlarge-window, shrink-window): Doc fixes.
12019
12020 2012-04-20 Chong Yidong <cyd@gnu.org>
12021
12022 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12023 New function to call delete-process on the gdb-inferior buffer's pty.
12024 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12025 pty process (Bug#11273).
12026 (gdb-update): New arg to suppress talking to the gdb process.
12027 (gdb-done-or-error): Use it.
12028 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12029 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12030 sentinel not being called.
12031
12032 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12033
12034 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12035
12036 2012-04-20 Glenn Morris <rgm@gnu.org>
12037
12038 * net/network-stream.el (open-network-stream): Doc fix.
12039
12040 2012-04-20 Chong Yidong <cyd@gnu.org>
12041
12042 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12043
12044 2012-04-20 Alan Mackenzie <acm@muc.de>
12045
12046 Ensure searching for keywords is case sensitive.
12047
12048 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12049 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12050 (c-defun-name, c-mark-function, c-cpp-define-name)
12051 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12052 (c-context-line-break): Bind case-fold-search to nil.
12053
12054 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12055 Bind case-fold-search to nil.
12056
12057 2012-04-20 Chong Yidong <cyd@gnu.org>
12058
12059 * mail/sendmail.el (mail-bury): Call return action with the right
12060 Rmail buffer (Bug#11242).
12061
12062 * server.el (server-process-filter): Handle corner case where both
12063 tty and nowait options are present (Bug#11102).
12064
12065 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12066
12067 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12068 (top level): Put into the executable the ident-style '$Id:' tag on
12069 windows-nt as well.
12070
12071 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12072
12073 * electric.el (electric-indent-post-self-insert-function): Check that
12074 electric-indent-mode is enabled in current buffer.
12075
12076 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12077
12078 * imenu.el (imenu-progress-message): Restore; it is "used" in
12079 erc/erc-imenu.el and net/snmp-mode.el.
12080
12081 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12082
12083 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12084 (mouse-avoidance-nudge-mouse): Remove unused binding.
12085
12086 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12087
12088 * descr-text.el (describe-char):
12089 * progmodes/python.el (python-describe-symbol):
12090 Don't call `toggle-read-only', set `buffer-read-only'.
12091
12092 * imenu.el (imenu-default-goto-function): Mark unused args.
12093 (imenu-progress-message): Remove obsolete macro; all callers changed.
12094
12095 * subr.el (keymap-canonicalize): Remove unused binding.
12096 (read-passwd): Mark unused arg.
12097
12098 * tutorial.el (tutorial--display-changes): Remove unused binding.
12099 (tutorial--save-tutorial-to): Remove unused variable.
12100
12101 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12102 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12103 (package-generate-autoloads, package-menu--generate)
12104 (package-menu--find-upgrades): Remove unused bindings.
12105
12106 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12107 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12108 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12109 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12110 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12111 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12112 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12113 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12114 (cua-delete-char-rectangle): Mark unused args.
12115 (cua-align-rectangle): Remove unused binding.
12116
12117 * mail/rmail.el (compilation--message->loc)
12118 (epa--find-coding-system-for-mime-charset): Declare.
12119
12120 * net/dbus.el (dbus-register-service): Declare.
12121 (dbus-name-owner-changed-handler): Remove unused binding.
12122
12123 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12124 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12125 (nxml-scan-backward-within): Mark unused arg.
12126 (nxml-dynamic-markup-word): Remove unused binding.
12127
12128 * mouse.el (mouse-menu-major-mode-map):
12129 * emacs-lisp/authors.el (authors-scan-change-log)
12130 (authors-add-to-author-list):
12131 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12132 * emacs-lisp/smie.el (smie-auto-fill):
12133 * mail/sendmail.el (mail-bury):
12134 * mail/unrmail.el (unrmail):
12135 * net/tls.el (open-tls-stream):
12136 * textmodes/picture.el (picture-mouse-set-point):
12137 Remove unused bindings.
12138
12139 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12140
12141 * net/tramp.el (tramp-action-password): Let-bind
12142 `enable-recursive-minibuffers' to t.
12143
12144 2012-04-18 Sam Steingold <sds@gnu.org>
12145
12146 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12147 instead of 'string to accommodate values like [f11].
12148 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12149 * progmodes/gdb-mi.el: Likewise.
12150
12151 2012-04-18 Leo Liu <sdl.web@gmail.com>
12152
12153 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12154 current buffer.
12155 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12156 LOCAL is nil.
12157
12158 2012-04-18 Chong Yidong <cyd@gnu.org>
12159
12160 * simple.el (line-move): Use forward-line if in batch mode
12161 (Bug#11053).
12162
12163 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12164
12165 * files.el (after-find-file): Do not try to add a final newline if
12166 the buffer is read-only (Bug#11156).
12167
12168 2012-04-17 Richard Stallman <rms@gnu.org>
12169
12170 * mail/rmail.el (rmail-start-mail):
12171 Pass (rmail-mail-return...) for the return-action.
12172 Pass (rmail-yank-current-message...) for the yank-action.
12173 (rmail-yank-current-message): New function.
12174 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12175 (rmail-reply): Likewise.
12176 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12177
12178 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12179 buffer, not the last. Reject temp buffers. Use the rmail-mode
12180 buffer, not newbuf.
12181
12182 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12183
12184 * server.el (server-ensure-safe-dir): Simplify.
12185
12186 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12187
12188 * emacs-lisp/smie.el: Provide smarter auto-filling.
12189 (smie-auto-fill): New function.
12190 (smie-setup): Use it.
12191
12192 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12193
12194 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12195
12196 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12197 (comment-indent): Use it.
12198
12199 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12200
12201 * ses.el: The overall change is to add cell renaming, that is
12202 setting fancy names for cell symbols other than name matching
12203 "\\`[A-Z]+[0-9]+\\'" regexp .
12204 (ses-localvars): Add ses--renamed-cell-symb-list.
12205 (ses-create-cell-variable): New defun.
12206 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12207 (ses-relocate-formula): Relocate formulas only for cells the
12208 symbols of which are not renamed, i.e. symbols whose names do not
12209 match regexp "\\`[A-Z]+[0-9]+\\'".
12210 (ses-relocate-all): Relocate values only for cells the symbols of
12211 which are not renamed.
12212 (ses-load): Create cells variables as the (ses-cell ...) are read,
12213 in order to check row col consistency with cell symbol name only
12214 for cells that are not renamed.
12215 (ses-replace-name-in-formula): New defun.
12216 (ses-rename-cell): New defun.
12217
12218 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12219
12220 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12221 New option (bug#11118).
12222 (perl-calculate-indent): Respect it.
12223
12224 2012-04-17 Glenn Morris <rgm@gnu.org>
12225
12226 * dired-aux.el (dired-mark-read-string): Doc fix.
12227
12228 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12229
12230 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12231 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12232
12233 2012-04-17 Glenn Morris <rgm@gnu.org>
12234
12235 * mouse.el (mouse-drag-track):
12236 * speedbar.el (speedbar-frame-mode):
12237 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12238
12239 2012-04-16 Leo Liu <sdl.web@gmail.com>
12240
12241 * progmodes/python.el: Trivial cleanup.
12242
12243 2012-04-16 Glenn Morris <rgm@gnu.org>
12244
12245 * vc/vc.el (vc-string-prefix-p):
12246 * vc/pcvs-util.el (cvs-string-prefix-p):
12247 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12248 * mpc.el (mpc-string-prefix-p):
12249 Make all of these into obsolete aliases for string-prefix-p.
12250 Update callers.
12251 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12252
12253 * textmodes/two-column.el: Move custom options to the start.
12254 (frame-width): Remove compat definition.
12255 (2C-associate-buffer, 2C-dissociate):
12256 Use with-current-buffer rather than save-excursion.
12257 (2C-dissociate): Force a mode-line update.
12258 (2C-autoscroll): Use ignore-errors.
12259
12260 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12261 Autoload trivia.
12262
12263 * emacs-lisp/cl-extra.el (*random-state*):
12264 Remove unnecessary declaration.
12265
12266 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12267
12268 * play/cookie1.el (cookie-snarf):
12269 Give an explicit error if input file cannot be read.
12270
12271 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12272
12273 * progmodes/perl-mode.el (c-macro-expand):
12274 Remove unnecessary autoload (it is in loaddefs.el).
12275
12276 * textmodes/picture.el (picture-desired-column)
12277 (picture-update-desired-column): Convert comments to doc-strings.
12278 (picture-substitute): Remove function.
12279 (picture-mode-map): Initialize in the defvar.
12280
12281 * woman.el: Remove eval-after-load for tar-mode.
12282 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12283 (woman-tar-extract-file): Autoload it.
12284
12285 * frame.el (automatic-hscrolling): Make this alias obsolete.
12286
12287 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12288
12289 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12290 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12291 (ispell-dictionary-base-alist): Revert to original XEmacs
12292 friendly version for default. [:alpha:] will be added in
12293 `ispell-set-spellchecker-params' if needed.
12294
12295 2012-04-16 Chong Yidong <cyd@gnu.org>
12296
12297 * image.el (imagemagick--file-regexp): New variable.
12298 (imagemagick-register-types): Use it.
12299 (imagemagick-types-inhibit): Add :set function. Allow new value
12300 of t to inhibit all types.
12301
12302 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12303 so we can preload it.
12304
12305 * loadup.el (fboundp): Preload regexp-opt, needed by
12306 imagemagick-register-types.
12307
12308 2012-04-15 Chong Yidong <cyd@gnu.org>
12309
12310 * frame.el (scrolling): Remove nearly unused customization group.
12311
12312 * scroll-all.el (scroll-all-mode): Move to windows group.
12313
12314 2012-04-15 Chong Yidong <cyd@gnu.org>
12315
12316 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12317
12318 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12319
12320 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12321 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12322
12323 2012-04-15 Glenn Morris <rgm@gnu.org>
12324
12325 * simple.el (process-file-side-effects): Doc fix.
12326
12327 2012-04-15 Glenn Morris <rgm@gnu.org>
12328
12329 * international/mule-cmds.el (set-language-environment): Doc fix.
12330
12331 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12332
12333 * server.el (server-auth-key, server-generate-key): Doc fixes.
12334 (server-get-auth-key): Doc fix. Use `string-match-p'.
12335 (server-start): Reflow docstring.
12336
12337 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12338
12339 * server.el (server-generate-key): `called-interactively-p'
12340 requires a parameter.
12341
12342 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12343
12344 * server.el (server-auth-key): New variable.
12345 (server-generate-key, server-get-auth-key): New function.
12346 (server-start): Use the new variable and functions to allow
12347 setting a permanent server key (bug#9423).
12348
12349 2012-04-14 Leo Liu <sdl.web@gmail.com>
12350
12351 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12352
12353 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12354
12355 Spelling fixes.
12356 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12357 Emacs uses American spelling.
12358
12359 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12360
12361 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12362 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12363 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12364 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12365
12366 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12367
12368 * progmodes/which-func.el (which-func-modes): Change default.
12369
12370 2012-04-14 Kim F. Storm <storm@cua.dk>
12371
12372 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12373 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12374
12375 2012-04-14 Chong Yidong <cyd@gnu.org>
12376
12377 * custom.el (custom-theme-set-variables): Doc fix.
12378
12379 2012-04-14 Glenn Morris <rgm@gnu.org>
12380
12381 * international/mule.el (set-auto-coding-for-load): Doc fix.
12382
12383 2012-04-14 Alan Mackenzie <acm@muc.de>
12384
12385 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12386 imenu work again for Objective C Mode. Correct the *-index values,
12387 these having been disturbed by a previous change in 2011-08.
12388
12389 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12390 Correct two search limits.
12391
12392 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12393
12394 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12395
12396 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12397
12398 * international/characters.el: Fix sorting.
12399
12400 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12401
12402 * international/characters.el: Add more missing Latin case pairs.
12403
12404 2012-04-14 Glenn Morris <rgm@gnu.org>
12405
12406 * files.el (dir-locals-set-class-variables): Doc fix.
12407
12408 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12409
12410 * international/characters.el: Add set-case-syntax-pair call for
12411 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12412 counterpart. (Bug#11209)
12413
12414 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12415
12416 2012-04-14 Glenn Morris <rgm@gnu.org>
12417
12418 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12419
12420 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12421
12422 * textmodes/ispell.el (ispell-dictionary-base-alist):
12423 Add data for Hebrew.
12424
12425 2012-04-14 Chong Yidong <cyd@gnu.org>
12426
12427 * net/rcirc.el (rcirc-cmd-quit):
12428 Revert 2012-03-18 change (Bug#11192).
12429
12430 2012-04-14 Glenn Morris <rgm@gnu.org>
12431
12432 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12433
12434 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12435
12436 * minibuffer.el (completion-in-region-mode-map):
12437 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12438
12439 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12440
12441 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12442
12443 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12444
12445 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12446 to allow `C-M-f' and `C-M-b' to move to the nearest path
12447 separator (bug#9511).
12448
12449 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12450
12451 * avoid.el: Require cl when compiling. And also move the
12452 `provide' to the end.
12453
12454 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12455
12456 * avoid.el (mouse-avoidance-banish-position): New variable.
12457 (mouse-avoidance-banish-destination): Use it (bug#10165).
12458
12459 2012-04-13 Leo Liu <sdl.web@gmail.com>
12460
12461 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12462
12463 2012-04-13 Ken Brown <kbrown@cornell.edu>
12464
12465 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12466 this is no longer needed now that cygstart understands file:// URLs.
12467 (browse-url-filename-alist): For the same reason, don't modify
12468 file:// URLs on Cygwin.
12469
12470 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12471
12472 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12473 the region on shift if the binding is already shifted (bug#11221).
12474
12475 2012-04-12 Glenn Morris <rgm@gnu.org>
12476
12477 * mail/mailpost.el: Move to obsolete/.
12478
12479 2012-04-12 Drew Adams <drew.adams@oracle.com>
12480
12481 * imenu.el (imenu--generic-function): Ignore invisible definitions
12482 (bug#10123).
12483
12484 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12485
12486 * hexl.el (hexl-bits): New variable.
12487 (hexl-options): Mention the variable in the doc string.
12488 (hexl-rulerise, hexl-line-displen): New functions.
12489 (hexl-mode): Mention the new variable.
12490 (hexl-mode, hexl-current-address, hexl-current-address):
12491 Use the displen.
12492 (hexl-ascii-start-column): New function.
12493 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12494 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12495
12496 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12497
12498 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12499 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12500 the encoding, as expected by hunspell.
12501
12502 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12503
12504 * battery.el (battery--linux-sysfs-regexp): New const.
12505 (battery-status-function): Use it. Remove yeeloong special case.
12506 (battery-yeeloong-sysfs): Remove.
12507 (battery-echo-area-format): Remove yeeloong special case.
12508
12509 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12510
12511 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12512 Reported by Noah Friedman.
12513
12514 * subr.el (read-passwd): Use read-string.
12515
12516 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12517
12518 * vcursor.el (vcursor-move): Increase the priority of the overlay
12519 (bug#9663).
12520
12521 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12522
12523 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12524 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12525
12526 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12527
12528 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12529 define-minor-mode (bug#10760).
12530
12531 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12532
12533 * progmodes/grep.el (rgrep): Tweak the find command line so
12534 that directories matching `grep-find-ignored-files' won't be
12535 pruned (bug#10351).
12536
12537 2012-04-11 Chong Yidong <cyd@gnu.org>
12538
12539 * startup.el (command-line): Remove support for long-obsolete
12540 variable font-lock-face-attributes.
12541
12542 2012-04-11 Glenn Morris <rgm@gnu.org>
12543
12544 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12545
12546 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12547
12548 * window.el (window--state-get-1): Obey window-point-insertion-type.
12549
12550 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12551
12552 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12553 to previous function when point is on the first character of a
12554 function. Take care of that in `narrow-to-defun' (bug#6157).
12555
12556 2012-04-11 Glenn Morris <rgm@gnu.org>
12557
12558 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12559 not just file-errors.
12560
12561 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12562 (vc-bzr-sha1): Use internal sha1.
12563
12564 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12565
12566 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12567
12568 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12569
12570 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12571 that start in the middle of the line (bug#10496).
12572
12573 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12574
12575 * battery.el (battery-linux-proc-acpi): Only one battery is
12576 discharged at a time, but that seems to confuse battery.el when
12577 computing `rate-type' for the battery not being discharged
12578 (bug#10332).
12579
12580 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12581
12582 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12583
12584 * international/quail.el: Use dolist and simplify.
12585 (quail-define-package, quail-update-keyboard-layout)
12586 (quail-define-rules): Use dolist.
12587 (quail-insert-kbd-layout, quail-get-translation): CSE.
12588
12589 * tmm.el: Use dolist, remove left over hook.
12590 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12591 Use dolist.
12592 (calendar-load-hook): Don't mess with it.
12593
12594 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12595 Use derived-mode-p. Run the diff asynchronously.
12596
12597 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12598
12599 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12600
12601 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12602
12603 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12604 (list-dynamic-libraries--loaded): New function.
12605 (list-dynamic-libraries--refresh): Use it.
12606
12607 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12608
12609 * progmodes/python.el (python-fill-paragraph):
12610 Make python-fill-region in a multiline string work when font-lock is
12611 disabled (bug#7018).
12612
12613 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12614
12615 * language/european.el (cp775): Add oem/legacy (en)coding on
12616 DOS/MS Windows for the Baltic languages. There are still plenty
12617 of texts written in this encoding/codepage (bug#6519).
12618
12619 2012-04-10 Glenn Morris <rgm@gnu.org>
12620
12621 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12622 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12623
12624 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12625
12626 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12627 next-line "n" and previous-line "p" in order to make recentf more
12628 consistent with ibuffer, dired or org-mode (bug#9387).
12629
12630 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12631
12632 * image.el (put-image): Return the overlay created instead of the
12633 optional input string (bug#7834). Note that this may break code
12634 that is (for some reason or other) depending on `put-image'
12635 returning the string.
12636
12637 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12638
12639 * simple.el (zap-to-char): Allow zapping using input methods
12640 (bug#1580).
12641
12642 * textmodes/fill.el (fill-region): Leave point and mark where they
12643 were before filling (bug#5399).
12644
12645 2012-04-09 Glenn Morris <rgm@gnu.org>
12646
12647 * version.el (emacs-bzr-get-version):
12648 Handle lightweight checkouts of local branches.
12649
12650 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12651
12652 * international/characters.el: Recover lost case pairs. (Bug#11209)
12653
12654 2012-04-09 Chong Yidong <cyd@gnu.org>
12655
12656 * custom.el (custom-variable-p): Return nil for non-symbol
12657 arguments instead of signaling an error.
12658 (user-variable-p): Obsolete alias for custom-variable-p.
12659
12660 * apropos.el (apropos-variable):
12661 * files-x.el (read-file-local-variable):
12662 * simple.el (set-variable):
12663 * woman.el (woman-mini-help):
12664 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12665
12666 2012-04-09 Glenn Morris <rgm@gnu.org>
12667
12668 * startup.el (normal-top-level): Don't look for leim-list.el
12669 in places where it will not be found. (Bug#910)
12670
12671 * international/mule-cmds.el (set-default-coding-systems):
12672 * files.el (normal-mode):
12673 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12674 This function was removed with ucs-tables.el in 2008.
12675
12676 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12677
12678 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12679 ispell-encoding8-command to "-i", without a trailing space.
12680 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12681 separate command-line arguments, to specify the encoding, since
12682 that's how hunspell expects it.
12683
12684 2012-04-08 Glenn Morris <rgm@gnu.org>
12685
12686 * loadup.el: Load bindings before cus-start.
12687 This reduces somewhat the number of "rogue" settings in emacs -Q.
12688
12689 2012-04-07 Glenn Morris <rgm@gnu.org>
12690
12691 * version.el (emacs-bzr-get-version): New function.
12692 (emacs-bzr-version): New variable.
12693 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12694 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12695
12696 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12697
12698 * international/uni-bidi.el, international/uni-category.el:
12699 * international/uni-combining.el, international/uni-decimal.el:
12700 * international/uni-decomposition.el, international/uni-digit.el:
12701 * international/uni-lowercase.el, international/uni-mirrored.el:
12702 * international/uni-name.el, international/uni-numeric.el:
12703 * international/uni-titlecase.el, international/uni-uppercase.el:
12704 Update for Unicode 6.1.
12705
12706 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12707
12708 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12709
12710 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12711
12712 * window.el (shrink-window): Mention the `window-min-height'
12713 variable in the doc string.
12714
12715 2012-04-05 Bastien Guerry <bzg@altern.org>
12716
12717 * color.el (color-lighten-name): Fix typo.
12718
12719 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12720
12721 * server.el (server--on-display-p): New function.
12722 (server--on-display-p): Use it.
12723
12724 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12725
12726 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12727 (bug#11145).
12728
12729 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12730
12731 * comint.el (comint--common-quoted-suffix): Check string boundary
12732 before comparing (bug#11158).
12733 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12734
12735 2012-04-04 Chong Yidong <cyd@gnu.org>
12736
12737 * minibuffer.el (completion-extra-properties): Doc fix.
12738
12739 * subr.el (delayed-warnings-hook): Doc fix.
12740
12741 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12742
12743 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12744 selection (Bug#11159).
12745 (epa-insert-keys): Inform that the default public key will be
12746 exported if no key is selected.
12747
12748 2012-04-04 Richard Stallman <rms@gnu.org>
12749
12750 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12751
12752 2012-04-03 Chong Yidong <cyd@gnu.org>
12753
12754 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12755 mail-insert-file, not its obsolete alias mail-attach-file.
12756
12757 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12758
12759 * notifications.el (notifications-notify): Fix docstring.
12760
12761 2012-04-02 Glenn Morris <rgm@gnu.org>
12762
12763 * emacs-lisp/authors.el (authors-aliases): Another addition.
12764
12765 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12766
12767 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12768 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12769 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12770
12771 2012-04-01 Chong Yidong <cyd@gnu.org>
12772
12773 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12774 Handle root directory properly.
12775 (copy-directory): Caller changed.
12776
12777 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12778 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12779
12780 2012-03-31 Glenn Morris <rgm@gnu.org>
12781
12782 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12783
12784 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12785
12786 * calendar/calendar.el (calendar-window-list)
12787 (calendar-hide-window): Restore. (Bug#11140)
12788 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12789
12790 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12791
12792 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12793
12794 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12795 Check if file is a symlink (Bug#10489).
12796
12797 * files.el (copy-directory): Likewise.
12798
12799 2012-03-30 Chong Yidong <cyd@gnu.org>
12800
12801 * image.el (imagemagick-types-inhibit)
12802 (imagemagick-register-types): Doc fix.
12803
12804 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12805
12806 * textmodes/ispell.el (ispell-get-extended-character-mode):
12807 Disable extended-char-mode for hunspell. hunspell does not support it
12808 and treats ~word as ordinary words in pipe mode.
12809
12810 2012-03-30 Glenn Morris <rgm@gnu.org>
12811
12812 * tutorial.el (help-with-tutorial): Ensure local variables don't
12813 happen to make the buffer read-only. (Bug#11127)
12814
12815 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12816
12817 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12818 (perl-calculate-indent): Return `noindent' in strings.
12819
12820 2012-03-28 Sam Steingold <sds@gnu.org>
12821
12822 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12823 instead of the broken adhockery which does not prevent calendar
12824 buffers from being displayed at random after exit.
12825 (calendar-window-list, calendar-hide-window): Remove the broken
12826 adhockery.
12827
12828 2012-03-28 Glenn Morris <rgm@gnu.org>
12829
12830 * replace.el (query-replace-map): Doc fix.
12831
12832 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12833
12834 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12835 contents. (Bug#11109)
12836
12837 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12838
12839 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12840 (bug#11077).
12841 (avl-tree--check, avl-tree--check-node): New funs.
12842
12843 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12844
12845 * window.el (switch-to-visible-buffer): New option.
12846 (switch-to-prev-buffer, switch-to-next-buffer):
12847 Observe switch-to-visible-buffer. Make sure that checking for a window
12848 showing a buffer already is done on the same frame.
12849
12850 2012-03-27 Glenn Morris <rgm@gnu.org>
12851
12852 * startup.el (mail-host-address): Doc fix.
12853
12854 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12855
12856 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12857 than 197 variables.
12858
12859 2012-03-26 Ami Fischman <ami@fischman.org>
12860
12861 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12862
12863 2012-03-26 Glenn Morris <rgm@gnu.org>
12864
12865 * files.el (save-buffers-kill-emacs): Doc fix.
12866
12867 * startup.el (normal-top-level, command-line, command-line-1):
12868 Give them doc strings.
12869
12870 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12871
12872 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12873 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12874
12875 2012-03-25 Chong Yidong <cyd@gnu.org>
12876
12877 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12878 theme if it was previously enabled before (Bug#11031).
12879
12880 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12881 spec with custom-face-get-current-spec if its :shown-value is not
12882 determined yet (Bug#9337).
12883 (customize-create-theme, custom-theme-revert): Doc fixes.
12884
12885 * button.el (button-at): Minor addition to docstring.
12886
12887 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12888
12889 * vc/vc.el (vc-merge): Fix a prompt.
12890
12891 2012-03-24 Chong Yidong <cyd@gnu.org>
12892
12893 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12894 point (Bug#9623).
12895
12896 * button.el (button-at): Minor addition to docstring.
12897
12898 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12899
12900 * newcomment.el (comment-choose-indent): No space after BOL.
12901
12902 2012-03-22 Sam Steingold <sds@gnu.org>
12903
12904 * window.el (switch-to-prev-buffer): Revert last patch because the
12905 bug turned out to be an advertised feature (Elisp manual 28.14).
12906
12907 2012-03-22 Glenn Morris <rgm@gnu.org>
12908
12909 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
12910 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
12911
12912 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12913
12914 * net/network-stream.el (network-stream-open-starttls): Make error
12915 message under Windows be less misleading.
12916
12917 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
12918
12919 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
12920 understands (bug#9942).
12921
12922 2012-03-22 Chong Yidong <cyd@gnu.org>
12923
12924 * simple.el (end-of-visible-line): Handle return value of
12925 next-single-property-change properly (Bug#9371).
12926
12927 2012-03-22 Kenichi Handa <handa@m17n.org>
12928
12929 * international/quail.el (quail-insert-kbd-layout): Fix previous
12930 change. To avoid unwanted bidi reordering, use
12931 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
12932
12933 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
12934
12935 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
12936 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
12937 (ruby-beginning-of-indent): Be more careful with the difference
12938 between word-boundary and symbol boundary.
12939 (ruby-mode-syntax-table): Make : a symbol constituent.
12940
12941 2012-03-21 Andreas Politz <politza@fh-trier.de>
12942
12943 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
12944
12945 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12946
12947 * progmodes/etags.el (tags-completion-at-point-function):
12948 Improve last fix.
12949
12950 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
12951
12952 2012-03-21 Sam Steingold <sds@gnu.org>
12953
12954 * progmodes/etags.el (tags-completion-at-point-function):
12955 Avoid the error when point is inside the pattern.
12956
12957 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
12958
12959 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
12960 line (Bug#10855).
12961
12962 2012-03-21 Drew Adams <drew.adams@oracle.com>
12963
12964 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
12965
12966 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
12967
12968 * ido.el (ido-set-current-directory, ido-read-internal)
12969 (ido-choose-completion-string, ido-completion-help): Handle nil
12970 value of ido-completion-buffer (Bug#11008).
12971
12972 2012-03-21 Sam Steingold <sds@gnu.org>
12973
12974 * window.el (switch-to-prev-buffer): Do not switch to a visible
12975 window previous buffer, just like with the frame previous buffers.
12976
12977 2012-03-21 Chong Yidong <cyd@gnu.org>
12978
12979 * faces.el (make-face, make-empty-face, copy-face):
12980 * face-remap.el (face-remap-add-relative, face-remap-set-base):
12981 Doc fixes.
12982
12983 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12984
12985 * wid-edit.el (widget-complete-field): Remove (bug#11051).
12986 (widget-complete): Remove broken use of it.
12987
12988 2012-03-20 Chong Yidong <cyd@gnu.org>
12989
12990 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12991 Use string-width and truncate-string-width to handle arbitrary
12992 characters.
12993
12994 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
12995
12996 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
12997 to draw rectangles, not squares. (Regression introduced by revno
12998 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
12999
13000 2012-03-18 Chong Yidong <cyd@gnu.org>
13001
13002 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13003 it is not yet defined (for temacs).
13004
13005 2012-03-18 Leo Liu <sdl.web@gmail.com>
13006
13007 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13008 prefix.
13009
13010 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13011
13012 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13013 (ispell-choices-win-default-height, ispell-silently-savep)
13014 (ispell-dictionary-alist, ispell-encoding8-command)
13015 (ispell-check-version, ispell-aspell-find-dictionary)
13016 (ispell-valid-dictionary-list, ispell-words-keyword)
13017 (ispell-get-word, ispell-internal-change-dictionary)
13018 (ispell-region, ispell-skip-region-list)
13019 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13020 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13021 (ispell-message-text-end, ispell-message)
13022 (ispell-buffer-local-parsing): Doc fix.
13023
13024 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13025
13026 * htmlfontify.el: Add support for code block fontification for ODT
13027 export (Bug #9914).
13028 (hfy-optimisations): Define new option
13029 `body-text-only'
13030 (hfy-fontify-buffer): Honor above setting.
13031 (hfy-begin-span, hfy-end-span): New routines factored out form
13032 `hfy-fontify-buffer'.
13033 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13034 that permit insertion of custom tags.
13035 (hfy-fontify-buffer): Use above handlers.
13036 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13037 (hfy-face-to-css): Re-defined to be a variable.
13038 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13039 over multiple runs. This is made possible by having the caller let
13040 bind a special variable `hfy-user-sheet-assoc'.
13041 (htmlfontify-string): New defun.
13042 (hfy-compile-face-map): Make sure that the last char in the
13043 buffer is correctly fontified.
13044 (hfy-face-resolve-face): Whitespace only change.
13045
13046 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13047
13048 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13049 message more clear.
13050
13051 2012-03-16 Leo Liu <sdl.web@gmail.com>
13052
13053 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13054
13055 2012-03-16 Alan Mackenzie <acm@muc.de>
13056
13057 Further optimize the handling of large macros.
13058
13059 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13060 limit to a call of `c-literal-limits'.
13061 (c-determine-+ve-limit): New function.
13062 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13063 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13064 In CASE 5B, restrict a search limit to 500.
13065 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13066
13067 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13068 Restrict macro bounds to +-500 from after-change's BEG END.
13069
13070 2012-03-16 Leo Liu <sdl.web@gmail.com>
13071
13072 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13073
13074 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13075
13076 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13077 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13078
13079 2012-03-16 Glenn Morris <rgm@gnu.org>
13080
13081 * view.el (view-buffer, view-buffer-other-window)
13082 (view-buffer-other-frame): Doc fixes re special mode-class.
13083
13084 * subr.el (eval-after-load): If named feature is provided not from
13085 a file, run after-load forms. (Bug#10946)
13086
13087 * calendar/calendar.el (calendar-insert-at-column):
13088 Handle non-unit-width characters a bit better. (Bug#10978)
13089
13090 2012-03-15 Chong Yidong <cyd@gnu.org>
13091
13092 * emacs-lisp/ring.el (ring-extend): New function.
13093 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13094
13095 * comint.el (comint-read-input-ring)
13096 (comint-add-to-input-history): Grow comint-input-ring lazily.
13097
13098 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13099
13100 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13101 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13102
13103 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13104 (imenu-add-to-menubar): Don't add a redundant index.
13105 (imenu-update-menubar): Handle a dynamically composed keymap.
13106
13107 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13108
13109 * mail/sendmail.el (mail-encode-header):
13110 Bind rfc2047-encode-encoded-words to nil.
13111
13112 2012-03-13 Glenn Morris <rgm@gnu.org>
13113
13114 * calendar/calendar.el (calendar-string-spread):
13115 Handle non-unit-width characters a bit better. (Bug#10978)
13116
13117 2012-03-13 Leo Liu <sdl.web@gmail.com>
13118
13119 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13120 directory and file as argument (Bug#10822).
13121
13122 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13123
13124 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13125 For dynamically generated code, follow $PC.
13126 (gdb-disassembly-handler-custom): Handle no function name case.
13127
13128 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13129
13130 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13131 * emulation/ws-mode.el (ws-query-replace):
13132 * sort.el (sort-regexp-fields):
13133 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13134
13135 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13136
13137 * dabbrev.el: Fix cycle completion order (bug#10963).
13138 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13139 (dabbrev-completion): Don't use an obarray; provide
13140 a cycle-sort-function.
13141
13142 2012-03-12 Leo Liu <sdl.web@gmail.com>
13143
13144 * simple.el (kill-new): Use equal-including-properties for comparison.
13145 (kill-do-not-save-duplicates): Doc fix.
13146
13147 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13148
13149 * dabbrev.el: Fix cycle completion (bug#10963).
13150 Use lexical binding and wrap to 80 columns.
13151 (dabbrev-completion): Delay computing the list of completions.
13152
13153 2012-03-12 Kenichi Handa <handa@m17n.org>
13154
13155 * international/quail.el (quail-insert-kbd-layout): Surround each
13156 row by LRO and PDF instead of inserting many LRMs. Pad the left
13157 and right of each non-spacing marks. Insert invisible space
13158 between lower and upper characters to prevent composition.
13159
13160 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13161
13162 * minibuffer.el (minibuffer-complete): Don't get confused when the
13163 function is run twice via different commands (bug#10958).
13164 (complete-with-action): Fix docstring.
13165
13166 2012-03-12 Chong Yidong <cyd@gnu.org>
13167
13168 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13169 (nxml-completion-at-point-function): New function.
13170 (nxml-mode): Use it.
13171 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13172
13173 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13174 Load generated autoloads file before byte compiling (Bug#10970).
13175 (package--make-autoloads-and-compile): New helper fun.
13176
13177 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13178
13179 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13180
13181 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13182
13183 * autorevert.el (auto-revert-handler): Ensure, that
13184 file-readable-p is applied only for local files or in
13185 auto-revert-tail-mode.
13186
13187 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13188
13189 * server.el (server-eval-at): Handle non-tcp connections.
13190 Decode result string.
13191
13192 * server.el (server-msg-size): New constant.
13193 (server-reply-print): New function.
13194 (server-eval-and-print): Use it.
13195 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13196 Handle -print-nonl.
13197
13198 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13199
13200 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13201 (Bug#10987).
13202
13203 2012-03-11 Chong Yidong <cyd@gnu.org>
13204
13205 * simple.el (goto-line): Doc fix (Bug#9938).
13206
13207 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13208
13209 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13210 when finished (Bug#10963).
13211
13212 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13213
13214 * window.el (split-window-below): Fix bug in case where
13215 split-window-keep-point is nil (Bug#10971).
13216
13217 2012-03-11 Juri Linkov <juri@jurta.org>
13218
13219 * replace.el (replace-highlight): Set isearch-word to nil
13220 unconditionally. (Bug#10887)
13221
13222 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13223
13224 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13225 mairix-replace-illegal-chars; all callers changed. Don't remove
13226 ^, ~, and = characters: they are meaningful in mairix search specs.
13227 (mairix-widget-create-query): Add usage information about mairix
13228 search forms: negating words, searching for substrings, etc.
13229
13230 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13231
13232 * international/fontset.el (font-encoding-alist): Add an entry for
13233 ksx1001 (Bug#5667).
13234
13235 2012-03-10 Richard Stallman <rms@gnu.org>
13236
13237 * mail/sendmail.el (mail-encode-header):
13238 Set rfc2047-encode-encoded-words.
13239
13240 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13241
13242 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13243 view buffer means not swapped.
13244 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13245 (rmail-write-region-annotate): Error if real text has disappeared.
13246
13247 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13248
13249 2012-03-10 Chong Yidong <cyd@gnu.org>
13250
13251 * emulation/cua-rect.el (cua--init-rectangles):
13252 * emulation/cua-base.el (cua--init-keymaps):
13253 Add delete-forward-char to remappings (Bug#9666).
13254
13255 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13256
13257 * speedbar.el (speedbar-unhighlight-one-tag-line):
13258 Avoid unhighlighting due to frame switching (Bug#10275).
13259
13260 2012-03-10 Chong Yidong <cyd@gnu.org>
13261
13262 * minibuffer.el (completion-in-region, completion-help-at-point):
13263 Give the completion field overlay a high priority (Bug#6830).
13264
13265 * dired.el (dired-goto-file): Recognize absolute file name
13266 listings (Bug#7126).
13267 (dired-goto-file-1): New helper function.
13268 (dired-toggle-read-only): Inhibit warnings.
13269
13270 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13271
13272 * net/dbus.el (dbus-property-handler): Return empty array if
13273 there are no properties.
13274
13275 2012-03-09 Leo Liu <sdl.web@gmail.com>
13276
13277 * savehist.el (savehist-printable): Stricter check for string
13278 value (Bug#10937).
13279
13280 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13281
13282 * mail/smtpmail.el (smtpmail-send-it):
13283 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13284 valid mbox format.
13285
13286 2012-03-09 Glenn Morris <rgm@gnu.org>
13287
13288 * files.el (dir-locals-find-file):
13289 Don't check result is regular, readable.
13290 (dir-locals-read-from-file): Demote errors.
13291
13292 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13293
13294 * international/quail.el (quail-insert-kbd-layout):
13295 Insert invisible LRM characters before each character in a keyboard
13296 layout cell, to prevent their reordering by bidi display engine.
13297 For details, see the discussion in
13298 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13299
13300 2012-03-08 Alan Mackenzie <acm@muc.de>
13301
13302 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13303 the starting position; make it extend the marked region when
13304 invoked repeatedly - all under appropriate circumstances.
13305 Fixes bugs #5525, #10906.
13306
13307 2012-03-08 Glenn Morris <rgm@gnu.org>
13308
13309 * files.el (locate-dominating-file, dir-locals-find-file):
13310 Undo 2012-03-06 change.
13311
13312 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13313
13314 * international/quail.el (quail-help):
13315 Force bidi-paragraph-direction be left-to-right. See discussion in
13316 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13317 for the reason.
13318
13319 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13320
13321 Avoid superfluous registering of signals. (Bug#10807)
13322
13323 * notifications.el (notifications-on-action-object)
13324 (notifications-on-close-object): New defvars.
13325 (notifications-on-action-signal, notifications-on-closed-signal):
13326 Unregister the signal if not needed any longer.
13327 (notifications-notify): Register `notifications-action-signal' or
13328 `notifications-closed-signal', if :on-action or :on-close has been
13329 passed as argument.
13330
13331 2012-03-07 Chong Yidong <cyd@gnu.org>
13332
13333 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13334 non-X platforms.
13335
13336 2012-03-06 Glenn Morris <rgm@gnu.org>
13337
13338 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13339 (x-disown-selection-internal, x-get-selection-internal):
13340 Doc fix (add arglist signatures). (Bug#10783)
13341
13342 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13343
13344 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13345 Handle breakpoints with no "type".
13346
13347 2012-03-06 Glenn Morris <rgm@gnu.org>
13348
13349 * files.el (locate-dominating-file): Add optional predicate argument.
13350 (dir-locals-find-file): Make use of above change.
13351
13352 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13353
13354 * info.el (Info-insert-dir): Also try "dir.gz".
13355
13356 2012-03-06 Glenn Morris <rgm@gnu.org>
13357
13358 * files.el (dir-locals-find-file):
13359 Ignore non-readable or non-regular files. (Bug#10928)
13360
13361 * files.el (locate-dominating-file): Doc fix.
13362
13363 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13364
13365 * calendar/calendar.el (calendar-set-mode-line):
13366 `getenv' returns a string. (Bug#10951)
13367
13368 2012-03-05 Leo Liu <sdl.web@gmail.com>
13369
13370 * simple.el (backward-delete-char-untabify): Constrain point to
13371 field (Bug#10939).
13372
13373 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13374
13375 2012-03-05 Chong Yidong <cyd@gnu.org>
13376
13377 * simple.el (count-words): If called from Lisp, return the word
13378 count, for symmetry with `count-lines'. Arglist changed.
13379 (count-words--message): Args changed. Consolidate counting code
13380 from count-words and count-words-region.
13381 (count-words-region): Caller changed.
13382 (count-lines-region): Make it an obsolete alias.
13383
13384 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13385
13386 * saveplace.el (save-place-to-alist)
13387 (save-place-ignore-files-regexp): Allow value nil to disable this
13388 feature.
13389
13390 2012-03-04 Chong Yidong <cyd@gnu.org>
13391
13392 * faces.el (face-spec-reset-face): For the default face, reset the
13393 attributes to default values (Bug#10748).
13394
13395 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13396
13397 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13398 previous patch: Check `message-send-mail-function', and not the
13399 default function (bug#10897).
13400
13401 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13402
13403 * notifications.el (notifications-on-action-signal)
13404 (notifications-on-closed-signal): Check for unique service name of
13405 incoming event. Fix error in removing entry.
13406 (top): Register for signals with wildcard service name.
13407 (notifications-notify): Use daemon unique service name for map entries.
13408
13409 2012-03-04 Chong Yidong <cyd@gnu.org>
13410
13411 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13412
13413 2012-03-04 Glenn Morris <rgm@gnu.org>
13414
13415 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13416 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13417 (expand-abbrev, define-abbrev-table): Doc fixes.
13418
13419 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13420
13421 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13422 `message-default-send-mail-function' and not `send-mail-function'
13423 when doing the prompting for `sendmail-query-once' before sending
13424 in Message buffers (bug#10897).
13425
13426 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13427 This is inconsistent with all the other stream functions, which leave
13428 the setting up to the higher levels (if so wanted) (bug#10931).
13429
13430 2012-03-02 Alan Mackenzie <acm@muc.de>
13431
13432 Depessimize the handling of very large macros.
13433
13434 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13435 (c-macro-cache-syntactic): New variables to implement a one
13436 element macro cache.
13437 (c-invalidate-macro-cache): New function.
13438 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13439 Adapt to use the new cache.
13440 (c-state-safe-place): Use better the cache of safe positions.
13441 (c-state-semi-nonlit-pos-cache)
13442 (c-state-semi-nonlit-pos-cache-limit):
13443 New variables for...
13444 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13445 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13446 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13447 Use c-state-semi-safe-place.
13448
13449 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13450 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13451
13452 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13453
13454 * jka-compr.el (jka-compr-call-process):
13455 Apply `file-accessible-directory-p' only when the default directory is
13456 not remote.
13457
13458 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13459
13460 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13461 access of FILE2, if FILE1 does not exist.
13462
13463 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13464 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13465
13466 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13467 Add "PAGER=" to `process-environment'.
13468
13469 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13470
13471 * progmodes/sql.el: Bug fix
13472 (sql-get-login-ext): Save login values in globals.
13473 (sql-get-login): Use new version of `sql-get-login-ext'.
13474 (sql-interactive-mode): Set global `sql-connection' to nil.
13475 (sql-connect): Set global values for connection.
13476 (sql-product-interactive): Save global values as buffer local.
13477
13478 2012-02-29 Leo Liu <sdl.web@gmail.com>
13479
13480 * abbrev.el (define-abbrevs): Reset sys to nil.
13481
13482 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13483
13484 * files.el (file-equal-p): Rename from `files-equal-p'.
13485 Return nil when one or both files don't exist.
13486 (file-subdir-of-p): Now only top directory must exists,
13487 return nil if it doesn't.
13488 (copy-directory): No need to test with `file-subdir-of-p' after
13489 creating dir.
13490 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13491 to `file-equal-p'.
13492
13493 2012-02-28 Glenn Morris <rgm@gnu.org>
13494
13495 * shell.el (shell-mode):
13496 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13497 * play/landmark.el (landmark-font-lock-face-O):
13498 * play/handwrite.el (handwrite):
13499 * play/gomoku.el (gomoku-O):
13500 * net/browse-url.el (browse-url-browser-display):
13501 * international/mule.el (define-charset):
13502 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13503 * filesets.el (filesets-find-file-delay):
13504 * eshell/em-xtra.el (eshell-xtra):
13505 * eshell/em-unix.el (eshell-grep):
13506 * emulation/viper.el (viper-mode):
13507 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13508 * emacs-lisp/easymenu.el (easy-menu-define):
13509 * calendar/timeclock.el (timeclock-use-display-time):
13510 * bs.el (bs-mode):
13511 * bookmark.el (bookmark-save-flag):
13512 Doc fix (standardize possessive apostrophe usage).
13513
13514 2012-02-27 Chong Yidong <cyd@gnu.org>
13515
13516 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13517 Fix key-binding lookup for ESC key (Bug#9146).
13518
13519 * font-lock.el (font-lock-specified-p): Rename from
13520 font-lock-spec-present. Callers changed.
13521
13522 2012-02-27 Daniel Hackney <dan@haxney.org>
13523
13524 * emacs-lisp/package.el (package-compute-transaction):
13525 Handle holding a package version to t in package-load-list.
13526
13527 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13528
13529 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13530 (tramp-get-inode, tramp-get-device): Use cached values.
13531
13532 2012-02-26 Alan Mackenzie <acm@muc.de>
13533
13534 Check there is a font-lock specification before doing initial
13535 fontification.
13536
13537 * font-core.el (font-lock-mode): Move the conditional from
13538 :after-hook to font-lock-initial-fontify.
13539 (font-lock-default-function): Move the check for a specification
13540 to font-lock-spec-present.
13541
13542 * font-lock.el (font-lock-initial-fontify): Call ...
13543 (font-lock-spec-present): New function.
13544
13545 2012-02-26 Jim Blandy <jimb@red-bean.com>
13546
13547 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13548 (gdb-send): Apply it to the operand of the '-interpreter-exec
13549 console' command, so that we can pass arguments with (say) quotes
13550 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13551
13552 2012-02-26 Chong Yidong <cyd@gnu.org>
13553
13554 * help-fns.el (describe-function-1): Clarify description of
13555 remapping (Bug#10844).
13556
13557 * files.el (files-equal-p): Doc fix.
13558 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13559 and quit the loop once a mismatch is found.
13560
13561 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13562
13563 * bs.el (bs--show-with-configuration): Don't throw an error
13564 if the window cannot be split; otherwise, subsequent calls to
13565 bs-show fail, restoring a stale window config. (Bug#10882)
13566
13567 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13568
13569 * term/ns-win.el (global-map): Bind ns-drag-file to
13570 ns-find-file (Bug#5855, Bug#10050).
13571
13572 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13573
13574 * calendar/parse-time.el (parse-time-string): Allow extractor to
13575 return nil.
13576
13577 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13578
13579 * net/tramp.el (tramp-file-name-for-operation):
13580 Add `files-equal-p' and `file-subdir-of-p'.
13581
13582 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13583 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13584 Add COPY-CONTENTS argument.
13585
13586 2012-02-25 Chong Yidong <cyd@gnu.org>
13587
13588 Add custom groups for VC backends, for consistency with vc-bzr.
13589
13590 * vc/vc-arch.el (vc-arch):
13591 * vc/vc-cvs.el (vc-cvs):
13592 * vc/vc-git.el (vc-git):
13593 * vc/vc-hg.el (vc-hg):
13594 * vc/vc-mtn.el (vc-mtn):
13595 * vc/vc-rcs.el (vc-rcs):
13596 * vc/vc-sccs.el (vc-sccs):
13597 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13598 All relevant defcustoms reassigned.
13599
13600 2012-02-25 Chong Yidong <cyd@gnu.org>
13601
13602 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13603
13604 * term/x-win.el (x-initialize-window-system): Reduce default for
13605 x-selection-timeout to 5 seconds (Bug#8869).
13606
13607 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13608
13609 * files.el (files-equal-p, file-subdir-of-p): New functions.
13610 (copy-directory): Error when trying to copy a directory on itself.
13611 Add missing copy-contents arg to tramp handler.
13612 * dired-aux.el (dired-copy-file-recursive): Same.
13613 (dired-create-files): Modify destination when source is equal to
13614 dest when copying files.
13615 Return also when dest is a subdir of source. (Bug#10489)
13616
13617 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13618
13619 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13620 (Bug#10874)
13621
13622 2012-02-23 Alan Mackenzie <acm@muc.de>
13623
13624 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13625 parameter "after-hook:" to allow the expansion to run code after
13626 the execution of the mode hooks.
13627
13628 * font-lock.el (font-lock-initial-fontify): New function extracted
13629 from font-lock-mode-internal.
13630
13631 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13632 :after-hook.
13633
13634 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13635
13636 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13637 (completion--cache-all-sorted-completions): New function.
13638 (completion-all-sorted-completions): Use it.
13639 (completion--do-completion, minibuffer-force-complete):
13640 Use it to re-instate the flush hook.
13641
13642 * icomplete.el (icomplete-completions): Replace last fix with a better
13643 one (bug#10850).
13644
13645 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13646
13647 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13648 when it might call us back infinitely (bug#10797).
13649
13650 2012-02-23 Glenn Morris <rgm@gnu.org>
13651
13652 * minibuffer.el (completion-category-overrides): Doc fix.
13653
13654 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13655
13656 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13657 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13658
13659 2012-02-23 Glenn Morris <rgm@gnu.org>
13660
13661 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13662 (authors-obsolete-files-regexps, authors-ignored-files)
13663 (authors-ambiguous-files, authors-renamed-files-alist):
13664 Add more entries.
13665
13666 2012-02-23 Juri Linkov <juri@jurta.org>
13667
13668 * isearch.el (isearch-occur): Sync interactive spec with occur's
13669 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13670
13671 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13672
13673 2012-02-22 Juri Linkov <juri@jurta.org>
13674
13675 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13676 (ucs-insert): Doc fix. Check for hex digits in the string.
13677 Don't display `nil' in the error message. (Bug#10857)
13678
13679 2012-02-22 Alan Mackenzie <acm@muc.de>
13680
13681 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13682
13683 2012-02-22 Glenn Morris <rgm@gnu.org>
13684
13685 * ffap.el (ffap-c-path):
13686 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13687
13688 2012-02-22 Chong Yidong <cyd@gnu.org>
13689
13690 * custom.el (load-theme): Doc fix.
13691
13692 2012-02-22 Glenn Morris <rgm@gnu.org>
13693
13694 * dired-x.el (dired-guess-shell-alist-default):
13695 Remove escape sequences from nroff output. (Bug#172)
13696
13697 2012-02-21 Glenn Morris <rgm@gnu.org>
13698
13699 * vc/emerge.el (emerge-defvar-local):
13700 Set `permanent-local' property rather than unused `preserved'.
13701
13702 * textmodes/picture.el (picture-delete-char): New alias.
13703 (picture-mode-map): Use it. (Bug#10860)
13704 (picture-mode): Doc fix.
13705
13706 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13707
13708 * newcomment.el (uncomment-region-default): Remove unused binding.
13709
13710 2012-02-21 Glenn Morris <rgm@gnu.org>
13711
13712 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13713 (picture-self-insert, picture-tab-chars): Doc fix.
13714 (picture-mode-map): Fix C-a, C-e.
13715
13716 2012-02-20 Glenn Morris <rgm@gnu.org>
13717
13718 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13719
13720 2012-02-20 Leo Liu <sdl.web@gmail.com>
13721
13722 * icomplete.el (icomplete-completions): Check FROM arg before
13723 passing to substring (Bug#10850).
13724
13725 2012-02-19 Chong Yidong <cyd@gnu.org>
13726
13727 * comint.el: Require ansi-color.
13728 (comint-output-filter-functions): Add ansi-color-process-output.
13729
13730 * ansi-color.el: Don't set comint-output-filter-functions; it is
13731 now in the initial value defined in comint.el.
13732 (ansi-color-apply-face-function): New variable.
13733 (ansi-color-apply-on-region): Use it.
13734 (ansi-color-apply-overlay-face): New function.
13735
13736 * shell.el (shell): No need to require ansi-color.
13737 (shell-mode): Use ansi-color-apply-face-function to highlight
13738 color escapes using font-lock-face property (Bug#10835).
13739
13740 2012-02-19 Chong Yidong <cyd@gnu.org>
13741
13742 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13743 mode-line formats (Bug#10839).
13744
13745 2012-02-18 Glenn Morris <rgm@gnu.org>
13746
13747 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13748
13749 * mail/undigest.el (unforward-rmail-message): Doc fix.
13750
13751 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13752
13753 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13754
13755 * international/characters.el (script-list): Sync with the latest
13756 Unicode Character Database.
13757
13758 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13759
13760 * international/titdic-cnv.el: Remove duplicate coding tag.
13761 * language/cham.el: Likewise.
13762 * language/tai-viet.el: Likewise.
13763
13764 2012-02-18 Glenn Morris <rgm@gnu.org>
13765
13766 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13767 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13768 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13769 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13770 * calendar/holidays.el (holiday-bahai-holidays)
13771 (calendar-holidays, list-holidays):
13772 Use utf-8 Bahá'í in doc-strings, menus, etc.
13773
13774 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13775
13776 * saveplace.el (save-place-ignore-files-regexp): New variable
13777 allowing for excluding files from saving their location of point.
13778 The default value matches the temporary commit message editing
13779 files from Git, SVN, Bazaar, and Mercurial.
13780 (save-place-to-alist): Use it.
13781
13782 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13783 Stefan Monnier <monnier@iro.umontreal.ca>
13784
13785 * newcomment.el (uncomment-region-default): Don't leave extra space
13786 when an arg is provided (bug#8150).
13787
13788 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13789
13790 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13791
13792 2012-02-17 Glenn Morris <rgm@gnu.org>
13793
13794 * net/socks.el: Require network-stream. (Bug#10599)
13795
13796 2012-02-17 Kenichi Handa <handa@m17n.org>
13797
13798 * international/charprop.el:
13799 * international/uni-name.el:
13800 * international/uni-old-name.el:
13801 * international/uni-comment.el: Regenerate.
13802
13803 2012-02-16 Glenn Morris <rgm@gnu.org>
13804
13805 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13806 Interactively in calendar buffer, give an error if not on a date.
13807
13808 2012-02-15 Glenn Morris <rgm@gnu.org>
13809
13810 * shell.el (shell-delimiter-argument-list):
13811 Revert 2011-02-17 change. (Bug#8027)
13812
13813 2012-02-15 Chong Yidong <cyd@gnu.org>
13814
13815 * minibuffer.el (completion-at-point-functions): Doc fix.
13816
13817 * custom.el (defcustom): Doc fix; note use of defvar.
13818
13819 2012-02-15 Glenn Morris <rgm@gnu.org>
13820
13821 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13822 Doc fixes.
13823
13824 2012-02-14 Glenn Morris <rgm@gnu.org>
13825
13826 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13827
13828 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13829
13830 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13831 way the ports list is computed.
13832 (smtpmail-query-smtp-server): Prompt the user for a port number if
13833 we can't connect to any of the standard ports (bug#10810).
13834
13835 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13836
13837 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13838
13839 2012-02-13 Glenn Morris <rgm@gnu.org>
13840
13841 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13842
13843 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13844
13845 * net/gnutls.el (gnutls-trustfiles): New variable.
13846 (gnutls-negotiate): Use it.
13847
13848 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13849
13850 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13851 does its stuff if Gnus is running.
13852
13853 2012-02-13 Alan Mackenzie <acm@muc.de>
13854
13855 Fix a loop in c-set-fl-decl-start.
13856
13857 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13858 c-backward-syntactic-ws actually moves backwards.
13859
13860 2012-02-13 Leo Liu <sdl.web@gmail.com>
13861
13862 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13863 beginning so that all \C-o chars are removed.
13864
13865 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13866
13867 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13868
13869 2012-02-12 Alan Mackenzie <acm@muc.de>
13870
13871 Fix infinite loop with long macros.
13872 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13873
13874 2012-02-12 Chong Yidong <cyd@gnu.org>
13875
13876 * window.el (display-buffer): Doc fix (Bug#10785).
13877
13878 2012-02-12 Glenn Morris <rgm@gnu.org>
13879
13880 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13881 (x-disown-selection-internal, x-get-selection-internal):
13882 Sync docs with the xselect.c versions.
13883
13884 * allout-widgets.el: Add missing license notice.
13885
13886 2012-02-11 Glenn Morris <rgm@gnu.org>
13887
13888 * select.el (x-get-selection-internal, x-own-selection-internal)
13889 (x-disown-selection-internal):
13890 * x-dnd.el (x-get-selection-internal): Update declarations.
13891
13892 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13893
13894 * window.el (window-sides-slots):
13895 * tool-bar.el (tool-bar-position):
13896 * term/xterm.el (xterm-extra-capabilities):
13897 * ses.el (ses-self-reference-early-detection):
13898 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13899 (verilog-auto-wire-type)
13900 (verilog-auto-delete-trailing-whitespace)
13901 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
13902 (verilog-auto-tieoff-declaration):
13903 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
13904 (sql-oracle-statement-starters, sql-oracle-scan-on):
13905 * progmodes/prolog.el (prolog-align-comments-flag)
13906 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
13907 (prolog-left-indent-regexp, prolog-paren-indent-p)
13908 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
13909 (prolog-types, prolog-mode-specificators)
13910 (prolog-determinism-specificators, prolog-directives)
13911 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
13912 (prolog-electric-dot-flag)
13913 (prolog-electric-dot-full-predicate-template)
13914 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
13915 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
13916 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
13917 (prolog-program-switches, prolog-prompt-regexp)
13918 (prolog-debug-on-string, prolog-debug-off-string)
13919 (prolog-trace-on-string, prolog-trace-off-string)
13920 (prolog-zip-on-string, prolog-zip-off-string)
13921 (prolog-use-standard-consult-compile-method-flag)
13922 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
13923 (prolog-imenu-max-lines, prolog-info-predicate-index)
13924 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
13925 (prolog-char-quote-workaround):
13926 * progmodes/cc-vars.el (c-defun-tactic):
13927 * net/tramp.el (tramp-encoding-command-interactive)
13928 (tramp-local-end-of-line):
13929 * net/soap-client.el (soap-client):
13930 * net/netrc.el (netrc-file):
13931 * net/gnutls.el (gnutls):
13932 * minibuffer.el (completion-category-overrides)
13933 (completion-cycle-threshold)
13934 (completion-pcm-complete-word-inserts-delimiters):
13935 * man.el (Man-name-local-regexp):
13936 * mail/feedmail.el (feedmail-display-full-frame):
13937 * international/characters.el (glyphless-char-display-control):
13938 * eshell/em-ls.el (eshell-ls-date-format):
13939 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
13940 (lisp-lambda-list-keyword-parameter-indentation)
13941 (lisp-lambda-list-keyword-parameter-alignment):
13942 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
13943 * dired-x.el (dired-omit-verbose):
13944 * cus-theme.el (custom-theme-allow-multiple-selections):
13945 * calc/calc.el (calc-highlight-selections-with-faces)
13946 (calc-lu-field-reference, calc-lu-power-reference)
13947 (calc-note-threshold):
13948 * battery.el (battery-mode-line-limit):
13949 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
13950 (archive-7z-update):
13951 * allout.el (allout-prefixed-keybindings)
13952 (allout-unprefixed-keybindings)
13953 (allout-inhibit-auto-fill-on-headline)
13954 (allout-flattened-numbering-abbreviation):
13955 * allout-widgets.el (allout-widgets-auto-activation)
13956 (allout-widgets-icons-dark-subdir)
13957 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
13958 (allout-widgets-theme-dark-background)
13959 (allout-widgets-theme-light-background)
13960 (allout-widgets-item-image-properties-emacs)
13961 (allout-widgets-item-image-properties-xemacs)
13962 (allout-widgets-run-unit-tests-on-load)
13963 (allout-widgets-time-decoration-activity)
13964 (allout-widgets-hook-error-post-time)
13965 (allout-widgets-track-decoration):
13966 Add missing :version tags to new defcustoms and defgroups.
13967
13968 * progmodes/sql.el (sql-ansi-statement-starters)
13969 (sql-oracle-statement-starters): Add custom type.
13970
13971 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
13972 (prolog-system-version): Give it a type.
13973
13974 2012-02-11 Eli Zaretskii <eliz@gnu.org>
13975
13976 * term/pc-win.el (x-select-text, x-selection-owner-p)
13977 (x-own-selection-internal, x-disown-selection-internal)
13978 (x-get-selection-internal): Sync doc strings and argument lists
13979 with xselect.c, common-win.el and x-win.el. (Bug#10783)
13980
13981 2012-02-11 Leo Liu <sdl.web@gmail.com>
13982
13983 * progmodes/python.el (python-end-of-statement): Fix infinite
13984 loop. (Bug#10788)
13985
13986 2012-02-10 Glenn Morris <rgm@gnu.org>
13987
13988 * international/mule-cmds.el (unify-8859-on-encoding-mode)
13989 (unify-8859-on-decoding-mode): Properly mark as obsolete.
13990
13991 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13992
13993 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
13994 about SMTP before checking the From header.
13995
13996 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
13997 into own function for reuse by emacsbug.el.
13998
13999 2012-02-10 Leo Liu <sdl.web@gmail.com>
14000
14001 * subr.el (condition-case-unless-debug): Rename from
14002 condition-case-no-debug. All callers changed.
14003 (with-demoted-errors): Fix caller.
14004
14005 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14006 * nxml/rng-valid.el (rng-do-some-validation):
14007 * emacs-lisp/package.el (package-refresh-contents)
14008 (package-menu-execute):
14009 * desktop.el (desktop-create-buffer):
14010 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14011
14012 2012-02-10 Glenn Morris <rgm@gnu.org>
14013
14014 * textmodes/bibtex.el:
14015 Add missing :version tags for new/changed defcustoms.
14016
14017 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14018
14019 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14020
14021 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14022 (smtpmail-via-smtp): Use it, or fall back on the From address.
14023 (smtpmail-send-it): Ditto.
14024
14025 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14026
14027 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14028 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14029 (byte-compile-tmp-var): New const.
14030 (byte-compile-defvar): Use it to minimize .elc size.
14031 Just use `defvar' rather than simulate it (bug#10761).
14032
14033 2012-02-09 Glenn Morris <rgm@gnu.org>
14034
14035 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14036
14037 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14038 Add :version tags.
14039
14040 * progmodes/compile.el (compilation-error-screen-columns)
14041 (compilation-first-column, compilation-filter-start): Doc fixes.
14042
14043 * vc/log-view.el (log-view-toggle-entry-display):
14044 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14045
14046 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14047 (report-emacs-bug-can-use-xdg-email):
14048 (report-emacs-bug-insert-to-mailer): Doc fixes.
14049 (report-emacs-bug): Message fix.
14050
14051 * net/browse-url.el (browse-url-can-use-xdg-open)
14052 (browse-url-xdg-open): Doc fixes.
14053
14054 * electric.el (electric-indent-mode, electric-pair-mode)
14055 (electric-layout-rules, electric-layout-mode): Doc fixes.
14056 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14057
14058 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14059
14060 * server.el (server-unselect-display): Don't inadvertently kill
14061 the current buffer. (Bug#10729)
14062
14063 2012-02-08 Glenn Morris <rgm@gnu.org>
14064
14065 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14066 (sql-list-table): Doc fixes.
14067
14068 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14069 Comment out (does nothing).
14070
14071 * completion.el (dynamic-completion-mode):
14072 * dirtrack.el (dirtrack-debug-mode):
14073 * electric.el (electric-layout-mode):
14074 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14075 * face-remap.el (text-scale-mode, buffer-face-mode):
14076 * iimage.el (iimage-mode):
14077 * image-mode.el (image-transform-mode):
14078 * minibuffer.el (completion-in-region-mode):
14079 * scroll-lock.el (scroll-lock-mode):
14080 * simple.el (next-error-follow-minor-mode):
14081 * tar-mode.el (tar-subfile-mode):
14082 * tooltip.el (tooltip-mode):
14083 * vcursor.el (vcursor-use-vcursor-map):
14084 * wid-browse.el (widget-minor-mode):
14085 * emulation/tpu-edt.el (tpu-edt-mode):
14086 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14087 * international/iso-ascii.el (iso-ascii-mode):
14088 * language/thai-util.el (thai-word-mode):
14089 * mail/supercite.el (sc-minor-mode):
14090 * net/goto-addr.el (goto-address-mode):
14091 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14092 * progmodes/cwarn.el (cwarn-mode):
14093 * progmodes/flymake.el (flymake-mode):
14094 * progmodes/glasses.el (glasses-mode):
14095 * progmodes/hideshow.el (hs-minor-mode):
14096 * progmodes/pascal.el (pascal-outline-mode):
14097 * textmodes/enriched.el (enriched-mode):
14098 * vc/smerge-mode.el (smerge-mode):
14099 Doc fixes (minor mode argument).
14100
14101 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14102
14103 * ls-lisp.el (ls-lisp-sanitize): New function.
14104 (ls-lisp-insert-directory): Use it to fix or remove any elements
14105 in file-alist with missing attributes. (Bug#4673)
14106
14107 2012-02-07 Alan Mackenzie <acm@muc.de>
14108
14109 Fix spurious recognition of c-in-knr-argdecl.
14110
14111 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14112 putative K&R region.
14113
14114 2012-02-07 Alan Mackenzie <acm@muc.de>
14115
14116 * progmodes/cc-engine.el (c-forward-objc-directive):
14117 Prevent looping in "#pragma mark @implementation".
14118
14119 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14120
14121 * notifications.el (notifications-on-closed-signal): Make `reason'
14122 optional. (Bug#10744)
14123
14124 2012-02-07 Glenn Morris <rgm@gnu.org>
14125
14126 * emacs-lisp/easy-mmode.el (define-minor-mode):
14127 Doc fixes for the macro and the mode it defines.
14128
14129 * image.el (imagemagick-types-inhibit): Doc fix.
14130
14131 * cus-start.el (imagemagick-render-type): Add it.
14132
14133 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14134
14135 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14136 Set the default at load time, too, so that `font-lock-fontify-buffer'
14137 can be called without setting up the entire mode first. This fixes
14138 a bug in `mm-inline-text' with C MIME parts.
14139
14140 2012-02-06 Chong Yidong <cyd@gnu.org>
14141
14142 * simple.el (list-processes--refresh): Delete exited processes
14143 (Bug#8094).
14144
14145 * comint.el (comint-next-prompt): next-single-char-property-change
14146 and prev-single-char-property-change never return nil (Bug#8657).
14147
14148 * custom.el (defcustom): Doc fix (Bug#9711).
14149
14150 2012-02-05 Chong Yidong <cyd@gnu.org>
14151
14152 * cus-edit.el (custom-variable-reset-backup): Quote the value
14153 before storing it in the customized-value property (Bug#6712).
14154 (custom-display): Add a customization type tag.
14155 (custom-buffer-create-internal): Improve tooltip message.
14156
14157 * wid-edit.el (widget-field-value-get): New optional arg to
14158 suppress trailing whitespace truncation.
14159 (character): Use it (Bug#2689).
14160
14161 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14162
14163 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14164 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14165
14166 2012-02-05 Chong Yidong <cyd@gnu.org>
14167
14168 * cus-edit.el (custom-variable-value-create): For mismatched
14169 types, show the current value (Bug#7600).
14170
14171 * custom.el (defcustom): Doc fix.
14172
14173 2012-02-05 Glenn Morris <rgm@gnu.org>
14174
14175 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14176
14177 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14178
14179 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14180 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14181 (pp-last-sexp): Use `looking-at-p'.
14182
14183 2012-02-04 Glenn Morris <rgm@gnu.org>
14184
14185 * files.el (revert-buffer):
14186 Doc fix (mention revert-buffer-in-progress-p).
14187
14188 * emacs-lisp/ert-x.el (ert-simulate-command):
14189 Check deferred-action-list (which is obsolete) is bound.
14190
14191 * subr.el (with-wrapper-hook): Doc fixes.
14192
14193 * simple.el (filter-buffer-substring-functions)
14194 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14195
14196 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14197
14198 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14199 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14200
14201 2012-02-04 Leo Liu <sdl.web@gmail.com>
14202
14203 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14204
14205 2012-02-04 Glenn Morris <rgm@gnu.org>
14206
14207 * image.el (image-extension-data): Add obsolete alias.
14208
14209 * isearch.el (isearch-update): Doc fix.
14210
14211 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14212
14213 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14214
14215 2012-02-03 Glenn Morris <rgm@gnu.org>
14216
14217 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14218 (image-animate-timeout): Doc fix.
14219
14220 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14221
14222 2012-02-02 Glenn Morris <rgm@gnu.org>
14223
14224 * server.el (server-auth-dir): Doc fix.
14225 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14226
14227 * subr.el (run-mode-hooks): Doc fix.
14228
14229 2012-02-02 Juri Linkov <juri@jurta.org>
14230
14231 * image-mode.el (image-toggle-display-image): Remove tautological
14232 `major-mode' from the `derived-mode-p' test.
14233
14234 2012-02-02 Kenichi Handa <handa@m17n.org>
14235
14236 * composite.el (compose-region): Cancel previous change.
14237
14238 2012-02-02 Kenichi Handa <handa@m17n.org>
14239
14240 * composite.el (compose-region, compose-string): Signal error for
14241 a null string component (Bug#6988).
14242
14243 2012-02-01 Chong Yidong <cyd@gnu.org>
14244
14245 * view.el (view-buffer-other-window, view-buffer-other-frame):
14246 Handle special modes like view-buffer (Bug#10650).
14247 (view-buffer): Simplify.
14248
14249 * frame.el (set-frame-font): Tweak meaning of third argument.
14250
14251 * dynamic-setting.el (font-setting-change-default-font):
14252 Use set-frame-font (Bug#9982).
14253
14254 2012-02-01 Glenn Morris <rgm@gnu.org>
14255
14256 * progmodes/compile.el (compilation-internal-error-properties):
14257 Respect compilation-first-column in the "*compilation*" buffer.
14258
14259 * emacs-lisp/easy-mmode.el (define-minor-mode):
14260 Relax :variable's test for a named function.
14261
14262 2012-01-31 Alan Mackenzie <acm@muc.de>
14263
14264 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14265 off by one error.
14266
14267 2012-01-31 Chong Yidong <cyd@gnu.org>
14268
14269 * frame.el (set-frame-font): New arg ALL-FRAMES.
14270
14271 * menu-bar.el (menu-set-font): Use set-frame-font.
14272
14273 * faces.el (face-spec-reset-face): Don't apply unspecified
14274 attribute values to the default face.
14275
14276 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14277
14278 * progmodes/cwarn.el (cwarn): Remove dead link.
14279 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14280 Remove * from defcustom docstrings.
14281 (turn-on-cwarn-mode): Make obsolete.
14282 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14283 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14284
14285 2012-01-31 Glenn Morris <rgm@gnu.org>
14286
14287 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14288 Fix :variable handling of mode a symbol not equal to modefun.
14289 Allow named functions to be used as the cdr of :variable.
14290
14291 2012-01-30 Glenn Morris <rgm@gnu.org>
14292
14293 * emacs-lisp/authors.el (authors-fixed-entries):
14294 Remove reference to deleted file rnewspost.el.
14295
14296 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14297
14298 * window.el (window-with-parameter): Remove unused variable `windows'.
14299 (window--side-check): Remove unused variable `code'.
14300 (window--resize-siblings): Remove unused variable `first'.
14301 (adjust-window-trailing-edge): Remove unused variable `failed'.
14302 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14303 Use `let', not `let*'.
14304 (balance-windows-2): Remove unused variable `found'.
14305 (window--state-put-2): Remove unused variable `splits'.
14306 (window-state-put): Remove unused variable `selected'.
14307 (same-window-p): Use `string-match-p'.
14308 (display-buffer-assq-regexp): Remove unused variable `value'.
14309 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14310 Mark argument ALIST as ignored.
14311 (pop-to-buffer): Remove unused variable `old-window'.
14312
14313 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14314
14315 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14316 and .lzma compressed files.
14317
14318 2012-01-29 Chong Yidong <cyd@gnu.org>
14319
14320 * frame.el (window-system-default-frame-alist): Doc fix.
14321
14322 * dynamic-setting.el (font-setting-change-default-font): Don't
14323 change the default face if SET-FONT argument is non-nil (Bug#9982).
14324
14325 2012-01-29 Samuel Bronson <naesten@gmail.com>
14326
14327 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14328
14329 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14330
14331 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14332 breakpoints in files outside current directory (Bug#6098).
14333
14334 2012-01-29 Chong Yidong <cyd@gnu.org>
14335
14336 * progmodes/python.el: Require ansi-color at top-level.
14337
14338 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14339 Define and use in Emacs Lisp mode (Bug#9360).
14340 (lisp-mode-abbrev-table): Add doc.
14341 (lisp-mode-variables): Don't set local-abbrev-table.
14342 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14343
14344 2012-01-28 Roland Winkler <winkler@gnu.org>
14345
14346 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14347
14348 2012-01-28 Roland Winkler <winkler@gnu.org>
14349
14350 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14351 (bibtex-set-dialect): Use it. Either set global values of
14352 dialect-dependent variables or bind these variables buffer-locally
14353 (Bug#10254).
14354 (bibtex-mode): Call bibtex-set-dialect via
14355 hack-local-variables-hook.
14356 (bibtex-dialect): Update docstring.
14357 Add safe-local-variable predicate.
14358 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14359 bibtex-set-dialect.
14360 (bibtex-mode-map): Define menu for each dialect.
14361 (bibtex-entry): Fix docstring.
14362
14363 2012-01-28 Chong Yidong <cyd@gnu.org>
14364
14365 * eshell/esh-arg.el (eshell-quote-argument): New function.
14366
14367 * eshell/esh-ext.el (eshell-invoke-batch-file):
14368 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14369 first arg to eshell-parse-command (Bug#10523).
14370
14371 2012-01-28 Drew Adams <drew.adams@oracle.com>
14372
14373 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14374 `default-directory' is non-nil.
14375
14376 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14377
14378 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14379 line that displays system-configuration-options. (Bug#9924)
14380
14381 2012-01-28 Drew Adams <drew.adams@oracle.com>
14382
14383 * descr-text.el (describe-char): Show information about POS, in
14384 addition to information about the character at POS. Improve and
14385 update the doc string. Change "code point" to "code point in
14386 charset", to avoid confusion with the character's Unicode code
14387 point shown above that. (Bug#10129)
14388
14389 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14390
14391 * descr-text.el (describe-char): Show the raw character, not only
14392 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14393 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14394 for the reasons.
14395
14396 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14397
14398 * emacs-lisp/package.el (package-install):
14399 Run package-refresh-contents if there is no archive yet (Bug#9798).
14400
14401 2012-01-28 Chong Yidong <cyd@gnu.org>
14402
14403 * emacs-lisp/package.el (package-maybe-load-descriptor):
14404 New function, split from package-maybe-load-descriptor.
14405 (package-maybe-load-descriptor): Use it.
14406 (package-download-transaction): Fully load required packages
14407 inside the loop, so that `require' calls work (Bug#10593).
14408 (package-install): No need to call package-initialize now.
14409
14410 2012-01-28 Chong Yidong <cyd@gnu.org>
14411
14412 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14413
14414 * tooltip.el (tooltip-mode): Doc fix.
14415 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14416
14417 * frame.el (set-cursor-color): Doc fix (Bug#352).
14418
14419 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14420 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14421
14422 * cus-edit.el (custom-buffer-create-internal): Fix search button
14423 action (Bug#10542).
14424 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14425
14426 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14427
14428 * dired.el (dired-mark-files-regexp):
14429 Include any subdirectory components. (Bug#10445)
14430
14431 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14432
14433 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14434 Handle [host]:port syntax. (Bug#10533)
14435
14436 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14437
14438 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14439
14440 2012-01-26 Glenn Morris <rgm@gnu.org>
14441
14442 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14443 * term.el (term-raw-escape-map): Use Control-X-prefix.
14444 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14445
14446 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14447
14448 * window.el (window-state-get, window--state-get-1): Don't deal
14449 with fixed-sizeness of windows. Simplify code.
14450
14451 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14452
14453 * window.el (window--state-get-1, window--state-put-2):
14454 Don't save and restore the mark.
14455
14456 2012-01-25 Chong Yidong <cyd@gnu.org>
14457
14458 * custom.el (custom-variable-p): Doc fix.
14459
14460 2012-01-25 Glenn Morris <rgm@gnu.org>
14461
14462 * dired.el (dired-goto-file): Handle some of the more common
14463 characters that `ls -b' escapes. (Bug#10596)
14464
14465 * progmodes/compile.el (compilation-next-error-function):
14466 Respect compilation-first-column in the "*compilation*" buffer.
14467 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14468
14469 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14470
14471 2012-01-24 Glenn Morris <rgm@gnu.org>
14472
14473 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14474
14475 2012-01-24 Julien Danjou <julien@danjou.info>
14476
14477 * color.el (color-rgb-to-hsl): Fix value computing.
14478 (color-hue-to-rgb): New function.
14479 (color-hsl-to-rgb): New function.
14480 (color-clamp, color-saturate-hsl, color-saturate-name)
14481 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14482 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14483
14484 2012-01-24 Glenn Morris <rgm@gnu.org>
14485
14486 * vc/vc-rcs.el (vc-rcs-create-tag):
14487 * vc/vc-sccs.el (vc-sccs-create-tag):
14488 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14489
14490 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14491
14492 * eshell/esh-util.el (eshell-read-hosts-file):
14493 Skip comment lines. (Bug#10549)
14494
14495 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14496
14497 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14498
14499 * subr.el (display-delayed-warnings): Doc fix.
14500 (collapse-delayed-warnings): New function to collapse identical
14501 adjacent warnings.
14502 (delayed-warnings-hook): Add it.
14503
14504 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14505
14506 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14507
14508 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14509 (tramp-default-user-alist): Don't add "pscp".
14510 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14511 property "login-as", if set. (Bug#10530)
14512
14513 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14514
14515 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14516 "plink1" and "psftp". (Bug#10530)
14517
14518 2012-01-21 Kenichi Handa <handa@m17n.org>
14519
14520 * international/mule-cmds.el (prefer-coding-system): Show a
14521 warning message if the default value of file-name-coding-system
14522 was not changed.
14523
14524 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14525
14526 * windmove.el (windmove-reference-loc):
14527 Fix windmove-reference-loc miscalculation.
14528
14529 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14530
14531 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14532 default unit.
14533
14534 2012-01-21 Glenn Morris <rgm@gnu.org>
14535
14536 * international/mule.el (auto-coding-alist): Add .tbz.
14537
14538 * files.el (local-enable-local-variables): Doc fix.
14539 (inhibit-local-variables-regexps): Rename from
14540 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14541 Doc fix. Add some extensions from auto-coding-alist.
14542 (inhibit-local-variables-suffixes):
14543 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14544 (inhibit-local-variables-p):
14545 New function, extracted from set-auto-mode-1.
14546 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14547 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14548 (hack-local-variables): Doc fix. Make the mode-only case
14549 respect enable-local-variables and friends.
14550 Respect inhibit-local-variables-regexps for file-locals, but
14551 not for directory-locals.
14552 (set-visited-file-name):
14553 Take account of inhibit-local-variables-regexps.
14554 Whether it applies may change as the file name is changed.
14555 * jka-cmpr-hook.el (jka-compr-install):
14556 * jka-compr.el (jka-compr-uninstall):
14557 Update for inhibit-first-line-modes-suffixes name change.
14558
14559 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14560
14561 * help-macro.el (make-help-screen): Temporarily restore original
14562 binding for minor-mode-map-alist (Bug#10454).
14563
14564 2012-01-19 Julien Danjou <julien@danjou.info>
14565
14566 * color.el (color-name-to-rgb): Use the white color to find the max
14567 color component value and return correctly computed values.
14568 (color-name-to-rgb): Add missing float conversion for max value.
14569
14570 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14571
14572 * window.el (window--state-get-1, window-state-get): Do not use
14573 special state value for window-persistent-parameters.
14574 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14575 (window--state-put-2): Reset all window parameters to nil before
14576 assigning values of persistent parameters.
14577
14578 2012-01-18 Alan Mackenzie <acm@muc.de>
14579
14580 Eliminate sluggishness and hangs in fontification of "semicolon
14581 deserts".
14582
14583 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14584 Change value 10000 -> 3000.
14585 (c-state-safe-place): Reformulate so it doesn't stack up an
14586 infinite number of wrong entries in c-state-nonlit-pos-cache.
14587 (c-determine-limit-get-base, c-determine-limit): New functions to
14588 determine backward search limits disregarding literals.
14589 (c-find-decl-spots): Amend commenting.
14590 (c-cheap-inside-bracelist-p): New function which detects "={".
14591
14592 * progmodes/cc-fonts.el
14593 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14594 backward search.
14595 (c-font-lock-declarations): Fix an occurrence of point being
14596 undefined. Check additionally for point being in a bracelist or
14597 near a macro invocation without a semicolon so as to avoid a
14598 fruitless time consuming search for a declarator. Give a more
14599 precise search limit for declarators using the new
14600 c-determine-limit.
14601
14602 2012-01-18 Glenn Morris <rgm@gnu.org>
14603
14604 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14605 (set-auto-mode): Doc fixes.
14606
14607 2012-01-17 Glenn Morris <rgm@gnu.org>
14608
14609 * isearch.el (search-nonincremental-instead): Fix doc typo.
14610
14611 * dired.el (dired-insert-directory): Handle newlines in directory name.
14612 (dired-build-subdir-alist): Unescape newlines in directory name.
14613
14614 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14615
14616 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14617 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14618 (tramp-action-terminal): Use it. (Bug#10530)
14619
14620 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14621
14622 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14623
14624 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14625
14626 * window.el (window-state-ignored-parameters): Remove variable.
14627 (window--state-get-1): Rename argument MARKERS to IGNORE.
14628 Handle persistent window parameters. Make copy of clone-of
14629 parameter only if requested. (Bug#10348)
14630 (window--state-put-2): Install a window parameter only if it has
14631 a non-nil value or an existing parameter shall be overwritten.
14632
14633 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14634
14635 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14636
14637 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14638
14639 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14640 don't pass the (nil) value of `upnode' to string-match.
14641
14642 2012-01-14 Chong Yidong <cyd@gnu.org>
14643
14644 * startup.el (command-line): Fix X resource class for cursorColor.
14645 Fix values recognized by the cursorBlink resource.
14646
14647 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14648
14649 * epg.el (epg--make-temp-file): Avoid permission race condition
14650 when running on old Emacs versions (bug#10403).
14651
14652 2012-01-14 Glenn Morris <rgm@gnu.org>
14653
14654 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14655
14656 2012-01-13 Alan Mackenzie <acm@muc.de>
14657
14658 Fix filling for when filladapt mode is enabled.
14659
14660 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14661 c-mask-paragraph, pass in `fill-paragraph' rather than
14662 `fill-region-as-paragraph'. (This is a reversion of a previous
14663 change.)
14664 * progmodes/cc-mode.el (c-basic-common-init):
14665 Make fill-paragraph-handle-comment buffer local and set it to nil.
14666
14667 2012-01-13 Glenn Morris <rgm@gnu.org>
14668
14669 * dired.el (dired-switches-escape-p): New function.
14670 (dired-insert-directory): Use dired-switches-escape-p.
14671 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14672
14673 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14674
14675 2012-01-12 Glenn Morris <rgm@gnu.org>
14676
14677 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14678 changes in adaptive-fill-regexp. (Bug#10276)
14679
14680 2012-01-11 Alan Mackenzie <acm@muc.de>
14681
14682 Fix Emacs bug #10463 - put `widen's around the critical spots.
14683
14684 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14685 widen around each invocation of c-state-pp-to-literal. Remove an
14686 unused let variable.
14687
14688 2012-01-11 Glenn Morris <rgm@gnu.org>
14689
14690 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14691 Doc fix.
14692
14693 2012-01-10 Chong Yidong <cyd@gnu.org>
14694
14695 * net/network-stream.el (network-stream-open-starttls):
14696 Avoid emitting a confusing error message when the server gives a bad
14697 response to the capability command.
14698
14699 2012-01-10 Glenn Morris <rgm@gnu.org>
14700
14701 * mail/unrmail.el (unrmail): Tweak previous change.
14702
14703 2012-01-09 Chong Yidong <cyd@gnu.org>
14704
14705 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14706
14707 2012-01-08 Alan Mackenzie <acm@muc.de>
14708
14709 Optimize font locking in long enum definitions.
14710
14711 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14712 arm to a cond form to handle enums.
14713 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14714 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14715
14716 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14717
14718 * files.el (move-file-to-trash): Preserve default file modes on error.
14719 (Bug#10401)
14720
14721 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14722
14723 * faces.el (set-face-attribute): Clarify the meaning of the nil
14724 frame (bug#10294).
14725
14726 * subr.el (with-selected-frame): Mention that the selected frame
14727 is restored (bug#9980).
14728
14729 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14730 (bug#9759).
14731
14732 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14733 (password-read): Don't autoload unused function.
14734
14735 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14736
14737 * progmodes/which-func.el (which-func-mode): Turn into a
14738 non-interactive function and mark as obsolete (bug#10428).
14739
14740 2012-01-06 Chong Yidong <cyd@gnu.org>
14741
14742 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14743 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14744 functions, along with 1 and -1.
14745
14746 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14747
14748 * time.el (display-time-load-average)
14749 (display-time-default-load-average): Doc fixes. See the thread
14750 starting at
14751 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14752 for the details.
14753
14754 2012-01-06 Glenn Morris <rgm@gnu.org>
14755
14756 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14757 has no messages. (Bug#10377)
14758
14759 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14760 than Info-edit. (Bug#10385)
14761
14762 * time.el (display-time-load-average, display-time-next-load-average):
14763 Doc fixes.
14764
14765 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14766 local setting of buffer-read-only to the input buffer. (Bug#10419)
14767
14768 * calendar/calendar.el (calendar-mode):
14769 Locally set scroll-margin to 0. (Bug#10379)
14770
14771 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14772
14773 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14774
14775 2012-01-05 Glenn Morris <rgm@gnu.org>
14776
14777 * eshell/em-unix.el (diff-no-select): Autoload it.
14778 (eshell/diff): Use diff-no-select. (Bug#10420)
14779
14780 2012-01-05 Chong Yidong <cyd@gnu.org>
14781
14782 * shell.el (shell-dynamic-complete-functions): Revert last change.
14783 (shell-command-completion-function): New function.
14784 (shell-completion-vars): Use it to implement
14785 shell-completion-execonly (Bug#10417).
14786
14787 * custom.el (enable-theme): Don't set custom-safe-themes.
14788
14789 * cus-theme.el (custom-theme-merge-theme):
14790 Ignore custom-enabled-themes and custom-safe-themes.
14791
14792 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14793
14794 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14795 first prompt in `sql-interacive-mode'.
14796 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14797 keywords.
14798 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14799 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14800 context of original buffer. Invoke `sql-login-hook'.
14801
14802 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14803
14804 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14805 letters in cite-prefix.
14806
14807 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14808
14809 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14810
14811 2012-01-03 Chong Yidong <cyd@gnu.org>
14812
14813 * shell.el (shell-dynamic-complete-functions):
14814 Put pcomplete-completions-at-point, so as to try
14815 comint-filename-completion first (Bug#10417).
14816
14817 2012-01-02 Richard Stallman <rms@gnu.org>
14818
14819 * battery.el (battery-status-function):
14820 Detect when to use battery-yeeloong-sysfs.
14821 (battery-echo-area-format): Add string for Yeeloong.
14822 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14823 (battery-yeeloong-sysfs): New function.
14824
14825 2012-01-02 Chong Yidong <cyd@gnu.org>
14826
14827 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14828 (dirtrack): Merge code for handling relative filenames in prompt
14829 from shell-dir-cookie-watcher.
14830 (dirtrack-debug-message): New arg to avoid excess format calls.
14831
14832 * shell.el (shell-dir-cookie-re): Variable deleted.
14833 (shell-dir-cookie-watcher): Function deleted.
14834 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14835 with dirtrack-mode.
14836
14837 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14838
14839 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14840 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14841 libgnutls-26.dll.
14842
14843 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14844
14845 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14846
14847 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14848
14849 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14850 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14851
14852 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14853
14854 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14855 also for alternative shells.
14856 (tramp-open-connection-setup-interactive-shell): Check, whether
14857 the shell is a busybox.
14858 (tramp-send-command): Don't suppress multiple prompts for
14859 busyboxes, it hurts.
14860
14861 2011-12-28 Chong Yidong <cyd@gnu.org>
14862
14863 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14864 (gdb-get-source-file): Move mode line update to
14865 gdb-get-source-file (Bug#10087).
14866
14867 2011-12-25 Chong Yidong <cyd@gnu.org>
14868
14869 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14870 gud-gdb-marker-filter without taking it as an argument.
14871 (gud-gdb-run-command-fetch-lines): Caller changed.
14872 (gud-gdb-completion-function): New variable.
14873 (gud-gdb-completion-at-point): Use it.
14874 (gud-gdb-completions-1): Split from gud-gdb-completions.
14875
14876 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14877 function as separate arguments.
14878 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14879 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14880 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14881 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14882 (gdb-stopped, def-gdb-auto-update-trigger)
14883 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14884 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14885 Callers changed.
14886 (gud-gdbmi-completions): New function.
14887 (gdb): Use it for generating the completion table.
14888
14889 2011-12-24 Alan Mackenzie <acm@muc.de>
14890
14891 Introduce a mechanism to widen the region used in context font
14892 locking. Use this to protect declarations from losing their contexts.
14893
14894 * progmodes/cc-langs.el (c-before-font-lock-functions):
14895 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14896 (c-before-context-fontification-functions): New defvar, a list of
14897 functions to be run just before context (etc.) font locking.
14898
14899 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14900 New, functionality extracted from
14901 c-neutralize-syntax-in-and-mark-CPP.
14902 (c-in-after-change-fontification): New variable.
14903 (c-after-change): Set c-in-after-change-fontification.
14904 (c-set-fl-decl-start): Rejig its interface, so it can be called
14905 from both after-change and context fontifying.
14906 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
14907 New functions.
14908 (c-standard-font-lock-fontify-region-function): New variable.
14909 (c-font-lock-fontify-region): New function.
14910
14911 2011-12-24 Juri Linkov <juri@jurta.org>
14912
14913 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
14914 (Bug#10348)
14915
14916 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
14917
14918 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
14919 existence of source file. (Bug#10325)
14920
14921 2011-12-23 Alan Mackenzie <acm@muc.de>
14922
14923 Fix unstable fontification inside templates.
14924
14925 * progmodes/cc-langs.el (c-before-font-lock-functions):
14926 Newly created from the singular version. The (c c++ objc) entry now
14927 additionally has c-set-fl-decl-start. The other languages (apart
14928 from AWK) have that as a single entry.
14929
14930 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14931 The functionality for "local" declarations has been extracted to
14932 c-set-fl-decl-start.
14933
14934 * progmodes/cc-mode.el (c-common-init, c-after-change):
14935 Changes due to pluralisation of c-before-font-lock-functions.
14936 (c-set-fl-decl-start): New function, extracted from
14937 c-font-lock-enclosing-decls and enhanced.
14938
14939 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
14940
14941 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
14942
14943 2011-12-22 Juri Linkov <juri@jurta.org>
14944
14945 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
14946
14947 2011-12-22 Chong Yidong <cyd@gnu.org>
14948
14949 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
14950
14951 2011-12-21 Drew Adams <drew.adams@oracle.com>
14952
14953 * files.el (file-remote-p): Fix docstring. (Bug#10319)
14954
14955 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14956
14957 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
14958
14959 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
14960
14961 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
14962 highlighting and support. Fix up comments for capitalization.
14963 (cfengine-mode-debug): New var.
14964 (cfengine3-mode): Change the modeline indicator to "CFE3".
14965 (cfengine3-font-lock-keywords): Improve defun highlighting.
14966 (cfengine2-actions): Rename from `cfengine-actions'.
14967 (cfengine2-font-lock-keywords): Rename from
14968 `cfengine-font-lock-keywords'.
14969 (cfengine2-imenu-expression): Rename from
14970 `cfengine-imenu-expression'.
14971 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
14972 (cfengine2-beginning-of-defun): Rename from
14973 `cfengine-beginning-of-defun'.
14974 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
14975 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
14976 (cfengine2-mode): Rename from `cfengine-mode'. Change the
14977 modeline indicator to "CFE2".
14978 (cfengine-mode): Defalias to `cfengine-auto-mode'.
14979 (cfengine-mode-abbrevs): Mark obsolete.
14980
14981 2011-12-21 Chong Yidong <cyd@gnu.org>
14982
14983 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
14984 filename argument.
14985
14986 2011-12-20 Martin Rudalics <rudalics@gmx.at>
14987
14988 * window.el (window-normalize-buffer-to-display): Remove.
14989 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
14990
14991 2011-12-19 Chong Yidong <cyd@gnu.org>
14992
14993 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
14994 Don't signal an error in a predicate function; return non-nil.
14995 (vc-dir-mark-file): Move the error here.
14996 (vc-dir-mark-unmark): If acting on the region, keep going if one
14997 of the entries cannot be marked/unmarked.
14998 (vc-dir-mark-all-files): If current entry is a directory, mark
14999 only child files, as documented.
15000
15001 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15002
15003 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15004 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15005 addition.
15006
15007 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15008
15009 * term/ns-win.el (ns-get-selection-internal)
15010 (ns-store-selection-internal): Declare.
15011 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15012 Declare as obsolete.
15013 (ns-get-pasteboard, ns-paste-secondary):
15014 Use ns-get-selection-internal.
15015 (ns-set-pasteboard, ns-copy-including-secondary):
15016 Use ns-store-selection-internal.
15017
15018 2011-12-17 Chong Yidong <cyd@gnu.org>
15019
15020 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15021 (vc-deduce-fileset): Doc fix.
15022
15023 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15024
15025 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15026
15027 2011-12-13 Sam Steingold <sds@gnu.org>
15028
15029 * man.el (Man-getpage-in-background): When running under a
15030 window-system, ignore $MANWIDTH and $COLUMNS.
15031
15032 2011-12-15 Kenichi Handa <handa@m17n.org>
15033
15034 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15035 (setup-ethiopic-environment-internal): Comment out key-binding for
15036 ethio-toggle-punctuation.
15037
15038 2011-12-13 Alan Mackenzie <acm@muc.de>
15039
15040 Add the switch statement to AWK Mode.
15041
15042 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15043 "default" to the keywords regexp.
15044
15045 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15046 expression as the rest.
15047 (c-nonlabel-token-key): Allow string literals for AWK.
15048 Refactor for the other modes.
15049
15050 Large brace-block initialisation makes CC Mode slow: Fix.
15051 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15052 routines. Limit backward searching in c-font-lock-enclosing.decl.
15053
15054 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15055 pp-state and literal type in addition to the limits.
15056 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15057 (c-state-literal-at): Use the above new defun.
15058 (c-slow-in-literal, c-fast-in-literal): Remove.
15059 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15060
15061 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15062 being in a literal. Add a limit for backward searching.
15063
15064 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15065 c-slow-in-literal.
15066
15067 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15068
15069 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15070
15071 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15072
15073 * window.el (delete-other-windows): Use correct frame in call to
15074 window-with-parameter.
15075
15076 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15077
15078 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15079 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15080 (makefile-gmake-statements, makefile-makepp-statements):
15081 Use it and add new makepp keywords.
15082 (makefile-makepp-font-lock-keywords): Add new patterns.
15083 (makefile-match-function-end): Match new [...] and [[...]].
15084
15085 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15086
15087 * ses.el (ses-call-printer-return, ses-cell-property-get)
15088 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15089 (ses-create-cell-variable, ses-reset-header-string)
15090 (ses-cell-set-formula, ses-repair-cell-reference-all)
15091 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15092 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15093 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15094 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15095 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15096 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15097 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15098 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15099 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15100 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15101 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15102 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15103
15104 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15105
15106 * ses.el: The overall change is to add cell renaming, that is
15107 setting fancy names for cell symbols other than name matching
15108 "\\`[A-Z]+[0-9]+\\'" regexp .
15109 (ses-create-cell-variable): New defun.
15110 (ses-relocate-formula): Relocate formulas only for cells the
15111 symbols of which are not renamed, i.e. symbols whose names do not
15112 match regexp "\\`[A-Z]+[0-9]+\\'".
15113 (ses-relocate-all): Relocate values only for cells the symbols of
15114 which are not renamed.
15115 (ses-load): Create cells variables as the (ses-cell ...) are read,
15116 in order to check row col consistency with cell symbol name only
15117 for cells that are not renamed.
15118 (ses-replace-name-in-formula): New defun.
15119 (ses-rename-cell): New defun.
15120
15121 2011-12-11 Chong Yidong <cyd@gnu.org>
15122
15123 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15124 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15125
15126 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15127
15128 * window.el (other-window): Fix docstring.
15129
15130 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15131
15132 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15133 `from' or `to' address before taking its substring.
15134 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15135 encoded name is chopped in the middle of the encoded string, and
15136 thus displayed encoded.
15137
15138 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15139
15140 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15141
15142 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15143
15144 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15145 to use texinfo-update-node and commands that call it if the
15146 Texinfo file uses @node lines without next/prev/up pointers.
15147 Correct outdated description about texinfo-master-menu.
15148 (texinfo-all-menus-update, texinfo-master-menu)
15149 (texinfo-update-node, texinfo-every-node-update)
15150 (texinfo-multiple-files-update): Doc fix. Warn against updating
15151 all the @node lines.
15152 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15153 argument is numeric. Explain better in the doc string what the
15154 function really does.
15155 (texinfo-insert-master-menu-list): Improve the error message
15156 displayed if there's no menu in the Top node.
15157 (Bug#2975) See also this thread:
15158 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15159
15160 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15161
15162 * speedbar.el (speedbar-supported-extension-expressions):
15163 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15164
15165 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15166
15167 * printing.el (pr-mode-alist):
15168 * simple.el (filter-buffer-substring-functions)
15169 (completion-list-insert-choice-function):
15170 * window.el (window-with-parameter, window-atom-root)
15171 (window-sides-slots, window-size-fixed, window-min-delta)
15172 (window-max-delta, window--resize-mini-window)
15173 (window--resize-child-windows-normal, window-tree)
15174 (delete-other-windows, quit-window, split-window)
15175 (display-buffer-record-window, special-display-buffer-names)
15176 (special-display-regexps, special-display-popup-frame)
15177 (same-window-p, split-window-sensibly)
15178 (display-buffer-overriding-action, display-buffer-alist)
15179 (display-buffer-base-action, display-buffer, switch-to-buffer)
15180 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15181 (fit-window-to-buffer, recenter-positions)
15182 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15183 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15184 and remove unneeded backslashes in docstrings.
15185
15186 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15187
15188 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15189
15190 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15191 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15192 end in ".mk".
15193 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15194 when reading the makefile (bug#10116).
15195
15196 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15197
15198 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15199 (bug#10116).
15200
15201 2011-12-06 Glenn Morris <rgm@gnu.org>
15202
15203 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15204
15205 2011-12-06 Chong Yidong <cyd@gnu.org>
15206
15207 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15208
15209 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15210
15211 * textmodes/table.el (table-shorten-cell): Fix typo.
15212
15213 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15214
15215 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15216
15217 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15218
15219 * descr-text.el (describe-char): Fix display of strong
15220 right-to-left characters and directional embeddings and overrides.
15221
15222 * simple.el (what-cursor-position): Fix display of codepoints of
15223 strong right-to-left characters.
15224
15225 2011-12-05 Chong Yidong <cyd@gnu.org>
15226
15227 * faces.el (read-color): Doc fix.
15228
15229 2011-12-05 Glenn Morris <rgm@gnu.org>
15230
15231 * align.el (align--set-marker): Add doc-string.
15232 Don't try to move something that is not a marker. (Bug#10216)
15233
15234 2011-12-04 Glenn Morris <rgm@gnu.org>
15235
15236 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15237 overly zealous deletion of trailing whitespace.
15238
15239 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15240
15241 * server.el (server-delete-client): On Windows, do not try to delete
15242 the only terminal.
15243 (server-process-filter): On Windows, treat requests for a tty frame as
15244 if they were for a GUI frame if the running server is in GUI mode.
15245
15246 2011-12-03 Glenn Morris <rgm@gnu.org>
15247
15248 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15249
15250 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15251
15252 * electric.el: Streamline electric-indent's hook.
15253 (electric-indent-chars): Revert to simple list.
15254 (electric-indent-functions): New var.
15255 (electric-indent-post-self-insert-function): Use it.
15256
15257 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15258 there's no inferior buffer (bug#10196).
15259 (prolog-consult-compile): Don't use toggle-read-only.
15260
15261 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15262
15263 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15264 interrupt. (Bug#10187)
15265
15266 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15267
15268 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15269 (bug#9160).
15270
15271 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15272 (bug#10191).
15273
15274 2011-12-02 Juri Linkov <juri@jurta.org>
15275
15276 * info.el (Info-search): Display "end of manual" when Isearch
15277 reaches the end of single-file Info manual. (Bug#9918)
15278
15279 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15280
15281 * isearch.el (isearch-message-prefix): Run the input method part
15282 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15283
15284 2011-12-02 Juri Linkov <juri@jurta.org>
15285
15286 * isearch.el (isearch-occur): Use `word-search-regexp' for
15287 `isearch-word'.
15288 (isearch-search-and-update): Add condition for `isearch-word' and
15289 call `word-search-regexp'. (Bug#10145)
15290
15291 2011-12-01 Glenn Morris <rgm@gnu.org>
15292
15293 * eshell/em-hist.el (eshell-hist-initialize):
15294 Handle eshell-history-size nil and HISTSIZE set or unset.
15295 (eshell-history-file-name, eshell-history-size): Fix custom type.
15296
15297 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15298
15299 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15300
15301 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15302
15303 * progmodes/verilog-mode.el (verilog-pretty-expr):
15304 Rework verilog-pretty-expr to handle new assignment operators in system
15305 verilog, such as += *= and the like.
15306 (verilog-assignment-operator-re): Regular expression to find the
15307 assigment operator in a verilog assignment.
15308 (verilog-assignment-operation-re): Regular expression to find an
15309 assignment statement for pretty-expr.
15310 (verilog-in-attribute-p): Query returns true if point is in an
15311 attribute context; used to skip these for expression line up from
15312 pretty-expr.
15313 (verilog-in-parameter-p): Query returns true if point is in an
15314 parameter definition context; used to skip these for expression
15315 line up from pretty-expr.
15316 (verilog-in-parenthesis-p): Query returns true if point is in a
15317 parenthetical expression, specifically ( ) but not [ ] or { };
15318 used by pretty-expr.
15319 (verilog-just-one-space): If there is no space, don't add one.
15320 (verilog-get-lineup-indent-2): Specifically skip just attribute
15321 contexts for expression lineup, rather than skipping all
15322 parenthetical expressions.
15323 (verilog-calculate-indent): Fix comment, and fix indent.
15324 (verilog-do-indent): Indent declarations in lists (suggested by
15325 Joachim Lechner).
15326 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15327 skeleton items.
15328 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15329 by Alain Mellan).
15330
15331 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15332
15333 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15334 parameters with embedded comments. Reported by Ray Stevens.
15335 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15336 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15337 Reported by Tim Holt.
15338 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15339 instantiated by upper module causing wrong expansion until AUTOed a
15340 second time. Reported by K C Buckenmaier.
15341 (verilog-diff-auto): Fix showing .* as a difference when
15342 `verilog-auto-star-save' off. Reported by Dan Dever.
15343 (verilog-auto-reset, verilog-read-always-signals)
15344 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15345 temporary signals in reset list if
15346 verilog-auto-reset-blocking-in-non is nil, and match assignment
15347 style to each signal's assignment type, bug381.
15348 Reported by Thomas Esposito.
15349 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15350 (verilog-uvm-statement-re): Support UVM indentation and
15351 highlighting, with old OVM keywords only.
15352 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15353 Support AUTOTIEOFF creating non-wire data types.
15354 Suggested by Jonathan Greenlaw.
15355 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15356 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15357 (verilog-inject-sense, verilog-read-inst-pins)
15358 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15359 Fix mismatching parenthesis inside commented out code when deleting
15360 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15361 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15362 non-numeric vector width. Reported by Alex Reed.
15363 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15364 detecting signals with parameter widths. Reported by Alex Reed.
15365 (verilog-auto-delete-trailing-whitespace):
15366 With `verilog-auto-delete-trailing-whitespace' remove trailing
15367 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15368 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15369 Fix verilog-scan-cache corruption when running user AUTO expansion
15370 hooks that call indentation routines.
15371 (verilog-simplify-range-expression): Fix typo ignoring lower case
15372 identifiers.
15373 (verilog-delete-auto): Fix delete-autos to also remove user created
15374 automatics, as long as they start with AUTO.
15375 (verilog-batch-diff-auto, verilog-diff-auto)
15376 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15377 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15378 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15379 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15380 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15381 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15382 is disabled and its cache will get corrupt, causing AUTOS not to
15383 expand. Instead use only -quick functions.
15384 (verilog-scan-region): Fix scanning over escaped quotes.
15385 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15386 (verilog-re-search-backward-quick)
15387 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15388 related functions now ignore strings, to fix misparsing of strings
15389 with magic comments embedded in them.
15390 (verilog-read-auto-template):
15391 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15392 Reported by Brad Dobbie.
15393 (verilog-read-auto-template):
15394 Fix 'verilog-auto-inst-template-numbers' with comments.
15395 Reported by Brad Dobbie.
15396 (verilog-auto-inst, verilog-auto-inst-param)
15397 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15398 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15399 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15400 debugging templates without merge conflicts, bug357.
15401 Reported by Brad Dobbie.
15402 (verilog-read-auto-template):
15403 Fix verilog-auto-inst-template-numbers with multiple templates.
15404 Reported by Brad Dobbie.
15405 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15406 abbrevs so user won't be asked to save.
15407 (verilog-read-auto-lisp-present): Fix to start at beginning of
15408 buffer in case called outside of verilog-auto.
15409 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15410 to "X-2". Reported by Matthew Myers.
15411 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15412 all inputs from module templates. Reported by Leith Johnson.
15413 (verilog-module-inside-filename-p): Fix locating programs as with
15414 modules.
15415 (verilog-auto-inst-port): Fix vl-width expressions when using
15416 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15417 (verilog-decls-get-regs, verilog-decls-get-signals,
15418 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15419 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15420 verilog-read-decls): Combine reg and wire structures into one var
15421 structure to represent SystemVerilog concepts.
15422 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15423 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15424 (verilog-auto-wire-type, verilog-insert-definition):
15425 Add verilog-auto-wire-type and AUTOLOGIC to support using
15426 SystemVerilog "logic" keyword instead of "wire"/"reg".
15427 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15428 to declares outputs that also have assignments (presumably in an
15429 ifdef or generate if so there's not a driver conflict).
15430 Reported by Matthew Myers.
15431 (verilog-auto-declare-nettype, verilog-insert-definition):
15432 Add verilog-auto-declare-nettype to fix declarations using
15433 `default_nettype none. Reported by Julian Gorfajn.
15434 (verilog-read-always-signals-recurse, verilog-read-decls)
15435 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15436 malformed end statement, bug325. Reported by Joshua Wise and
15437 Andrew Drake.
15438 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15439 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15440 when expanding .* in interfaces, bug320.
15441 Reported by Pierre-David Pfister.
15442 (verilog-read-module-name): Fix import statements between module
15443 name and open parenthesis, bug317.
15444 Reported by Pierre-David Pfister.
15445 (verilog-simplify-range-expression): Fix simplification of
15446 multiplications inside AUTOWIRE connections, bug303.
15447 (verilog-auto-inst-port): Support parameter expansion in
15448 multidimensional arrays.
15449 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15450 after "assert property". Reported by Julian Gorfajn.
15451 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15452 with multiplication, bug303.
15453 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15454 Reported by Jan Frode Lonnum.
15455
15456 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15457
15458 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15459 (hfy-shell-file-name, hfy-shell):
15460 * international/fontset.el (x-decompose-font-name): Fix typos.
15461
15462 2011-11-29 Ken Brown <kbrown@cornell.edu>
15463
15464 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15465 (gdb-version): Remove defvar.
15466 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15467 (gdb-gud-context-command, gdb-non-stop-handler)
15468 (gdb-current-context-command, gdb-stopped): Use it.
15469 (gdb-init-1): Enable pretty printing here.
15470 (gdb-non-stop-handler): Don't enable pretty-printing here.
15471 Check to see if the target supports non-stop mode; if not, turn off
15472 non-stop mode. Use the following.
15473 (gdb-check-target-async): New defun.
15474 (gud-watch, gdb-stopped): Fix whitespace.
15475 (gdb-get-source-file): Don't try to display the source file if
15476 `gdb-main-file' is nil.
15477
15478 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15479
15480 * align.el: Try to generate fewer markers (bug#10047).
15481 (align--set-marker): New macro.
15482 (align-region): Use it.
15483
15484 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15485
15486 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15487
15488 2011-11-29 Chong Yidong <cyd@gnu.org>
15489
15490 * indent.el (indent-for-tab-command, indent-according-to-mode):
15491 Doc fix.
15492 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15493
15494 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15495
15496 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15497 aware of remote file names. (Bug#10124)
15498
15499 2011-11-29 Chong Yidong <cyd@gnu.org>
15500
15501 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15502
15503 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15504
15505 * files.el (find-file): Don't use force-same-window (bug#10144).
15506 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15507 use pop-to-buffer if the selected window can't be used.
15508 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15509
15510 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15511
15512 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15513 special-mode-map.
15514
15515 2011-11-28 Chong Yidong <cyd@gnu.org>
15516
15517 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15518
15519 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15520
15521 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15522 gdb-get-source-file-list on gdb-create-source-file-list.
15523
15524 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15525
15526 * whitespace.el (whitespace-newline): Use a different foreground
15527 color for 16-color light-background displays.
15528
15529 2011-11-24 Chong Yidong <cyd@gnu.org>
15530
15531 * window.el (display-buffer--special-action): Doc fix.
15532
15533 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15534
15535 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15536 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15537 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15538 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15539 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15540 (avl-tree-stack-first):
15541 * emacs-lisp/cconv.el (cconv--analyse-use):
15542 * net/gnutls.el (gnutls-negotiate): Fix typos.
15543
15544 2011-11-24 Glenn Morris <rgm@gnu.org>
15545
15546 * lpr.el (lpr-windows-system, lpr-lp-system):
15547 * mail/binhex.el (binhex-begin-line):
15548 * progmodes/grep.el (grep-history, grep-find-history):
15549 * textmodes/flyspell.el:
15550 * vc/pcvs-defs.el (cvs-global-menu):
15551 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15552 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15553 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15554
15555 * net/tls.el: Fix case of "GnuTLS".
15556
15557 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15558
15559 * version.el (emacs-build-system): Give it a doc-string.
15560
15561 2011-11-24 Juri Linkov <juri@jurta.org>
15562
15563 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15564
15565 2011-11-24 Glenn Morris <rgm@gnu.org>
15566
15567 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15568 if called on a non-mime message just toggle the headers. (Bug#8006)
15569
15570 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15571
15572 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15573 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15574 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15575 (allout-rebullet-heading, allout-open-sibtopic)
15576 (allout-toggle-current-subtree-encryption)
15577 (allout-toggle-subtree-encryption, allout-encrypt-string)
15578 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15579 (allout-distinctive-bullets-string, allout-auto-activation):
15580 * window.el (window-normalize-buffer-to-display):
15581 * progmodes/verilog-mode.el (verilog-batch-indent):
15582 * textmodes/bibtex.el (bibtex-field-braces-opt)
15583 (bibtex-field-strings-opt):
15584 * vc/cvs-status.el (cvs-tree-merge):
15585 Fix typos.
15586
15587 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15588
15589 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15590 `non-essential' to t, in order to avoid remote connections.
15591
15592 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15593
15594 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15595 On MS-DOS and MS-Windows, compare with loaddefs.el
15596 case-insensitively.
15597
15598 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15599
15600 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15601
15602 2011-11-23 Glenn Morris <rgm@gnu.org>
15603
15604 * paths.el (rmail-file-name): Reformat the doc-string so that it
15605 is picked up.
15606
15607 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15608 (rmail-auto-file): Ignore case in the "special" field names,
15609 as mail-fetch-field does for all others.
15610
15611 * mail/rmail.el (rmail-forward):
15612 * mail/rmailkwd.el (rmail-set-label):
15613 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15614 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15615
15616 * mail/rmail.el (rmail-current-message): Doc fix.
15617
15618 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15619
15620 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15621
15622 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15623
15624 2011-11-22 Glenn Morris <rgm@gnu.org>
15625
15626 * mail/rmailmm.el (test-rmail-mime-handler)
15627 (test-rmail-mime-bulk-handler)
15628 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15629
15630 2011-11-21 Juri Linkov <juri@jurta.org>
15631
15632 * calc/calc.el (calc-read-key-sequence):
15633 Let-bind `input-method-function' to nil. (Bug#10018)
15634
15635 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15636
15637 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15638 Tell the caller that the next line needs recomputation, even
15639 though it doesn't start a sexp (bug#10094).
15640
15641 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15642
15643 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15644
15645 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15646
15647 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15648 Use force-same-window.
15649
15650 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15651
15652 * descr-text.el (describe-char-unicode-data):
15653 * json.el (json-string-escape):
15654 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15655 (Footnote-unicode, Footnote-style-p):
15656 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15657
15658 2011-11-20 Chong Yidong <cyd@gnu.org>
15659
15660 * window.el (replace-buffer-in-windows): Restore interactive spec.
15661
15662 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15663
15664 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15665
15666 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15667 (byte-compile-global-not-obsolete-vars): New var.
15668 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15669 Use it.
15670 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15671
15672 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15673
15674 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15675 * progmodes/pascal.el (electric-pascal-equal):
15676 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15677 * xml.el (xml-substitute-special): Fix typos.
15678
15679 2011-11-20 Glenn Morris <rgm@gnu.org>
15680
15681 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15682 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15683 Doc fixes.
15684 (rmail-decode-mime-charset): Mark as obsolete.
15685
15686 * mail/rmailsum.el (rmail-message-regexp-p-1):
15687 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15688 Before using mime functions, check they are set. (Bug#10077)
15689
15690 2011-11-19 Juri Linkov <juri@jurta.org>
15691
15692 * info.el (Info-finder-find-node): Use `package--builtins' instead
15693 of `package-alist'. Use node names formed by the pattern "Keyword "
15694 and the keyword name.
15695
15696 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15697
15698 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15699
15700 2011-11-19 Juri Linkov <juri@jurta.org>
15701
15702 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15703 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15704 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15705 `old-history', `old-history-forward'. Add let-binding
15706 `window-selected'. Remove calls to `kill-buffer',
15707 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15708 before calling `Info-find-node', so `Info-find-node-2' will reread
15709 the Info file. Restore window positions only when `window-selected'
15710 is non-nil.
15711
15712 2011-11-19 Juri Linkov <juri@jurta.org>
15713
15714 * isearch.el (isearch-lazy-highlight-new-loop):
15715 Remove condition `(not isearch-error)'. (Bug#9918)
15716
15717 * misearch.el (multi-isearch-search-fun): Add condition
15718 `(not bound)' to ignore lazy-highlighting search.
15719 Add the search-failed message "end of multi" when the end of
15720 multi-sequence is reached. Uncapitalize the search-failed
15721 message "Repeat for next buffer".
15722
15723 * info.el (Info-search): Add the search-failed message
15724 "end of the manual" when the end of the manual is reached
15725 in Isearch mode.
15726
15727 2011-11-19 Juri Linkov <juri@jurta.org>
15728
15729 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15730 Use non-destructive `remove' instead of `delete' because
15731 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15732 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15733
15734 2011-11-19 Juri Linkov <juri@jurta.org>
15735
15736 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15737 to nil instead of binding `search-ring' and `regexp-search-ring'.
15738 (Bug#9185)
15739
15740 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15741
15742 * simple.el (line-move): Force movement by logical lines for any
15743 hscrolled window, not only when auto-hscroll-mode is on.
15744 (line-move-visual): Update doc string to that effect. (Bug#10076)
15745
15746 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15747
15748 * language/european.el (macintosh): Define as alias for mac-roman.
15749
15750 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15751
15752 * mail/rmailmm.el (rmail-mime-display-header)
15753 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15754 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15755 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15756 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15757 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15758 of a raw aref.
15759 (rmail-mime-entity-segment): To get past the tagline, move forward
15760 2 more lines, to account for the 2 empty lines that precede and
15761 follow the line with the buttons.
15762 (rmail-mime-update-tagline): Move one more line, to get past the
15763 empty line that follows the buttons in the tagline. (Bug#9520)
15764
15765 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15766
15767 * window.el (window-max-delta-1, window-min-delta-1)
15768 (window-min-size-1, window-state-get-1, window-state-put-1)
15769 (window-state-put-2): Use "window--" prefix.
15770
15771 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15772
15773 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15774 (smie-warning-count): New var.
15775 (smie-set-prec2tab): Use it.
15776 (smie-bnf->prec2): Improve warnings. Add docstring.
15777 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15778 (smie-bnf--set-class): New function.
15779 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15780 corner case.
15781
15782 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15783 (compilation-error-properties, compilation-move-to-column):
15784 Handle compilation-first-column while in the target buffer.
15785
15786 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15787 Don't hardcode point-min==1.
15788
15789 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15790 (eshell-rewrite-for-command): Remove workaround.
15791 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15792 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15793 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15794
15795 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15796
15797 2011-11-17 Glenn Morris <rgm@gnu.org>
15798
15799 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15800 Ignore buffer-local generated-autoload-file if it is the same
15801 as the global value. (Bug#10049)
15802
15803 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15804
15805 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15806 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15807 (reftex-toc-previous-heading, reftex-toc-max-level)
15808 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15809 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15810 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15811 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15812 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15813 (reftex-toc-rename-label, reftex-toc-visit-location)
15814 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15815 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15816 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15817 leaving "*toc*" only for references to the buffer.
15818
15819 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15820
15821 * window.el (window-resize, delete-window, split-window):
15822 Replace window-splits by window-combination-resize.
15823 * cus-start.el (window-splits): Replace by window-combination-resize.
15824
15825 2011-11-17 Glenn Morris <rgm@gnu.org>
15826
15827 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15828 Make bash entry derive from sh entry, not shell entry.
15829
15830 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15831
15832 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15833 local file name.
15834
15835 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15836
15837 * menu-bar.el (menu-bar-file-menu):
15838 * printing.el (pr-ps-utility):
15839 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15840 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15841 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15842 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15843 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15844 (icalendar--convert-cyclic-to-ical)
15845 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15846 (icalendar--convert-ical-to-diary)
15847 (icalendar--convert-recurring-to-diary)
15848 (icalendar--convert-non-recurring-all-day-to-diary)
15849 (icalendar-import-format-sample):
15850 * progmodes/idlw-shell.el (idlwave-shell-mode):
15851 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15852 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15853 (vhdl-ps-print-init): Fix typos.
15854
15855 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15856
15857 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15858 FSF and collapse date sequence, obscure author/maintainer email address
15859 better, remove extra version line, track relocation of author's webpage.
15860
15861 * progmodes/python.el (python-pdbtrack-input-prompt)
15862 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15863 regular python pdb prompts. Adjustments shamelessly taken exactly as
15864 suggested in EmacsWiki page (tiny change):
15865 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15866
15867 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15868
15869 * expand.el (expand-pos, expand-index, expand-point):
15870 Remove redundant info from docstring.
15871 (expand-add-abbrevs): Doc fix.
15872 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15873 (expand-sample-perl-mode-expand-list): Fix typos.
15874
15875 * net/dbus.el (dbus-event-member-name):
15876 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15877 * term/pc-win.el (msdos-create-frame-with-faces):
15878 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15879
15880 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15881
15882 * window.el (split-window, window-state-get-1)
15883 (window-state-put-1, window-state-put-2): Rename occurrences of
15884 window-nest to window-combination-limit.
15885 * cus-start.el (window-nest): Rename to window-combination-limit.
15886
15887 2011-11-16 Chong Yidong <cyd@gnu.org>
15888
15889 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15890 regexp (Bug#10033).
15891
15892 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15893
15894 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15895 `completing-read' will remove *Completions* and will preserve
15896 current-buffer for us.
15897 (tmm-add-prompt): Users of *Completions* will always (re)set its
15898 major mode.
15899 (tmm-old-comp-map): Remove.
15900
15901 2011-11-16 Glenn Morris <rgm@gnu.org>
15902
15903 * mail/rmailedit.el: Require rmailmm when compiling.
15904 (rmail-old-mime-state): New declaration.
15905 (rmail-edit-current-message): If editing a mime message,
15906 edit the "raw" message from the mbox buffer.
15907 (rmail-cease-edit): Handle mime messages. (Bug#9840)
15908
15909 2011-11-15 Glenn Morris <rgm@gnu.org>
15910
15911 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
15912 which wasn't being used. Add optional arg to force given state.
15913 (rmail-mime): Add optional arg to force given state.
15914
15915 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15916
15917 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15918 * frame.el (display-mm-dimensions-alist):
15919 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
15920 (outline-move-subtree-down):
15921 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
15922 (newsticker--treeview-do-get-node):
15923 * net/quickurl.el (quickurl-list-buffer-name):
15924 * progmodes/dcl-mode.el (dcl-mode):
15925 * progmodes/gdb-mi.el (gdb-mapcar*):
15926 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
15927
15928 2011-11-15 Glenn Morris <rgm@gnu.org>
15929
15930 * mail/rmail.el (rmail-file-coding-system): It's only ever used
15931 in a boolean sense, so just make it a boolean, and fix the doc.
15932 (rmail-show-mime-function, rmail-mime-feature)
15933 (rmail-require-mime-maybe): Doc fixes.
15934 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
15935
15936 * mail/rmailmm.el (rmail-show-mime): Doc fix.
15937
15938 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
15939
15940 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
15941 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
15942 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
15943 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
15944
15945 2011-11-15 Glenn Morris <rgm@gnu.org>
15946
15947 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
15948 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
15949 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
15950 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
15951 (rmail-mime, rmail-show-mime): Doc fixes.
15952
15953 * term/ns-win.el (mode-line-frame-identification):
15954 Leave it alone. (Bug#10051)
15955
15956 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
15957
15958 * mail/rmailout.el (rmail-output-to-rmail-buffer):
15959 Handle empty buffers. (Bug#9978)
15960
15961 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
15962
15963 * international/mule.el (define-charset):
15964 * mail/rmailmm.el (rmail-mime-find-header-encoding):
15965 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
15966 * progmodes/verilog-mode.el (verilog-backward-token):
15967 * textmodes/ispell.el (lookup-words):
15968 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
15969
15970 2011-11-14 Glenn Morris <rgm@gnu.org>
15971
15972 * progmodes/executable.el
15973 (executable-make-buffer-file-executable-if-script-p):
15974 Handle file-modes returning nil.
15975
15976 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
15977 message - not necessary, and causes problems. (Bug#9831)
15978
15979 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
15980
15981 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
15982
15983 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
15984 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
15985 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
15986
15987 2011-11-12 Martin Rudalics <rudalics@gmx.at>
15988
15989 * window.el (window-resize, delete-window): Use window-splits
15990 variable instead of function.
15991 (window-state-get-1, window-state-put-2, window-state-put):
15992 Don't deal with windows' splits status.
15993
15994 2011-11-12 Glenn Morris <rgm@gnu.org>
15995
15996 * apropos.el (apropos-do-all, apropos-library, apropos-value)
15997 (apropos-documentation): Doc fixes.
15998
15999 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16000
16001 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16002 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16003
16004 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16005
16006 * electric.el (electric-indent-post-self-insert-function): Make it
16007 possible for a char to only indent in some circumstances.
16008 (electric-indent-mode): Simplify.
16009
16010 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16011
16012 * window.el (windows-with-parameter): Remove unused function.
16013 (windows-at-side): Rename to window-at-side-list.
16014 (window-check, window-atom-check, window-atom-check-1)
16015 (window-side-check, window-size-ignore, window-size-fixed-1)
16016 (window-in-direction-2): Prefix with "window--".
16017 (window-tree-1): Rename to window--subtree, fix doc-string.
16018
16019 2011-11-11 Glenn Morris <rgm@gnu.org>
16020
16021 * subr.el (eval-after-load): If FILE is already loaded,
16022 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16023
16024 2011-11-10 Glenn Morris <rgm@gnu.org>
16025
16026 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16027 Call svn via vc-svn-command rather than vc-do-command.
16028 (vc-svn-command): Add --non-interactive. (Bug#9993)
16029 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16030
16031 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16032 Add toggle-read-only. (Bug#7292)
16033 * files.el (toggle-read-only): Mention that it should only
16034 be used interactively. (Bug#10006)
16035
16036 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16037
16038 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16039 Adjust regexp for OCaml warnings.
16040
16041 * electric.el (electric-pair-post-self-insert-function): Let user
16042 turn it off buffer-locally (bug#9932).
16043
16044 * progmodes/python.el (python-beginning-of-statement):
16045 Rewrite (bug#2703).
16046
16047 * progmodes/compile.el: Better handle TABs (bug#9749).
16048 (compilation-internal-error-properties)
16049 (compilation-next-error-function): Obey the target buffer's
16050 compilation-error-screen-columns.
16051
16052 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16053
16054 * progmodes/meta-mode.el: Remove obsolete comments.
16055 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16056 Fix typos in docstrings.
16057
16058 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16059
16060 * window.el (window-size-fixed-p): Rewrite doc-string.
16061 (window-resizable-p): Rename to window--resizable-p. Update callers.
16062 (window--resizable): New function. Make all callers of
16063 window-resizable call window--resizable instead.
16064 (window-resizable): Rewrite in terms of window--resizable.
16065
16066 2011-11-08 Glenn Morris <rgm@gnu.org>
16067
16068 * progmodes/delphi.el (delphi-mode-syntax-table):
16069 Let define-derived-mode define a proper syntax table. (Bug#9994)
16070
16071 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16072
16073 * window.el: Stay away from defsubst.
16074 (window-list-no-nils): Remove.
16075 (window-state-get-1, window-state-get): Use backquote instead.
16076
16077 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16078
16079 * emacs-lisp/find-func.el (find-function-read):
16080 Fix incorrect use of default argument in `completing-read'.
16081
16082 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16083
16084 * window.el (display-buffer-function, special-display-function):
16085 Mention display-buffer-record-window but do not mention
16086 help-setup parameter in doc-strings.
16087 (window-min-delta): Fix doc-string typo.
16088
16089 2011-11-08 Chong Yidong <cyd@gnu.org>
16090
16091 * window.el (window-total-height, window-total-width): Doc fix.
16092 (window-body-size): Move from C.
16093 (window-body-height, window-body-width): Move to C.
16094
16095 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16096
16097 * window.el: Make special-display like display-buffer-alist (bug#9532).
16098 (display-buffer--special-action): New function, morphed
16099 from display-buffer--special.
16100 (display-buffer): Use it to handle special-display-buffers at higher
16101 priority (just after display-buffer-alist).
16102 (display-buffer-fallback-action, display-buffer--other-frame-action)
16103 (pop-to-buffer-same-window): Remove display-buffer--special.
16104
16105 2011-11-07 Glenn Morris <rgm@gnu.org>
16106
16107 * calendar/cal-menu.el (cal-menu-set-date-title):
16108 Do nothing if not in a calendar. (Bug#9976)
16109
16110 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16111
16112 * files.el (find-file): Always use selected-window.
16113
16114 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16115
16116 * window.el (window-combinations): Make WINDOW argument
16117 mandatory. Rewrite doc-string.
16118 (walk-window-subtree, window-atom-check, window-min-delta)
16119 (window-max-delta, window--resize-this-window)
16120 (window--resize-root-window-vertically, window-tree)
16121 (balance-windows, window-state-put): Rewrite doc-strings as to
16122 not mention the term "subwindow".
16123 (window--resize-subwindows-skip-p): Rename to
16124 window--resize-child-windows-skip-p.
16125 (window--resize-subwindows-normal): Rename to
16126 window--resize-child-windows-normal.
16127 (window--resize-subwindows): Rename to
16128 window--resize-child-windows.
16129 (window-or-subwindow-p): Rename to window--in-subtree-p.
16130
16131 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16132
16133 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16134 Ensure that mbox format messages end in two newlines (Bug#9974).
16135
16136 2011-11-06 Chong Yidong <cyd@gnu.org>
16137
16138 * window.el (window-combination-p): Function deleted; its
16139 side-effect is not used in any existing code.
16140 (window-combinations, window-combined-p): Call window-*-child
16141 directly.
16142
16143 2011-11-05 Chong Yidong <cyd@gnu.org>
16144
16145 * window.el (window-valid-p): Rename from window-any-p.
16146 (window-size-ignore, window-state-get): Callers changed.
16147 (window-normalize-window): Rename from window-normalize-any-window.
16148 New arg LIVE-ONLY, replacing window-normalize-live-window.
16149 (window-normalize-live-window): Delete.
16150 (window-combination-p, window-combined-p, window-combinations)
16151 (walk-window-subtree, window-atom-root, window-min-size)
16152 (window-sizable, window-sizable-p, window-size-fixed-p)
16153 (window-min-delta, window-max-delta, window-resizable)
16154 (window-resizable-p, window-full-height-p, window-full-width-p)
16155 (window-current-scroll-bars, window-point-1, set-window-point-1)
16156 (window-at-side-p, window-in-direction, window-resize)
16157 (adjust-window-trailing-edge, maximize-window, minimize-window)
16158 (window-deletable-p, delete-window, delete-other-windows)
16159 (record-window-buffer, unrecord-window-buffer)
16160 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16161 (quit-window, split-window, window-state-put)
16162 (set-window-text-height, fit-window-to-buffer)
16163 (shrink-window-if-larger-than-buffer): Callers changed.
16164
16165 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16166
16167 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16168 rfc2047-decode-string.
16169 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16170 warnings.
16171
16172 * window.el (window-body-height, window-body-width): Mention in
16173 the doc string that the return values are in frame's canonical
16174 units. (Bug#9949)
16175
16176 2011-11-03 Alan Mackenzie <acm@muc.de>
16177
16178 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16179 change in cc-engine.el.
16180
16181 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16182
16183 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16184
16185 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16186
16187 * window.el (quit-window): Call unrecord-window-buffer after
16188 showing another buffer in the window. (Bug#9937)
16189 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16190
16191 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16192
16193 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16194 Accept status with more than 9 shelves. (Bug#9935)
16195 Reported by Colin D Bennett <colin@gibibit.com>.
16196
16197 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16198
16199 * help.el (with-help-window): Don't reference
16200 temp-buffer-show-specifiers in doc-string.
16201
16202 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16203
16204 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16205 menu-item.
16206
16207 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16208
16209 * whitespace.el: New version 13.2.2.
16210 (whitespace-newline-mode): Disable properly. Reported by Sarah
16211 <EmacsWiki>.
16212
16213 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16214
16215 * net/newst-treeview.el: Remove "Time-stamp".
16216 (newsticker--group-manage-orphan-feeds): Do not call
16217 newsticker--treeview-tree-update.
16218 (newsticker-treeview-update, newsticker-treeview):
16219 Call newsticker--treeview-tree-update if necessary.
16220
16221 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16222
16223 * window.el (window-iso-combination-p, window-iso-combined-p)
16224 (window-iso-combinations): Remove "iso-" infix.
16225 Suggested by Chong Yidong.
16226 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16227 (window-max-delta-1, window-resize, window--resize-siblings)
16228 (window--resize-this-window, adjust-window-trailing-edge)
16229 (split-window, balance-windows-1)
16230 (shrink-window-if-larger-than-buffer):
16231 * calendar/calendar.el (calendar-generate-window):
16232 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16233
16234 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16235
16236 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16237 in place (bug#9907).
16238 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16239 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16240 (eshell-structure-basic-command, eshell-rewrite-while-command)
16241 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16242 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16243 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16244 (eshell-do-pipelines-synchronously, eshell-eval-command):
16245 Use backquotes and prefer setq to set.
16246 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16247 (eshell-macrop): Use functionp.
16248 (eshell-do-eval): Handle multiple expressions in `while' body.
16249
16250 2011-10-30 Chong Yidong <cyd@gnu.org>
16251
16252 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16253 instead of set-mark (Bug#9810).
16254
16255 2011-10-30 Chong Yidong <cyd@gnu.org>
16256
16257 * window.el (split-window-below, split-window-right): Rename from
16258 split-window-above-each-other and split-window-side-by-side
16259 respectively. All callers changed.
16260 (split-window-sensibly, split-window-sensibly): Use them.
16261 (split-window-keep-point): Doc fix.
16262
16263 * isearch.el: Add isearch-scroll property to split-window-below
16264 and split-window-right.
16265
16266 * follow.el (follow-mode):
16267 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16268 * progmodes/ada-xref.el (ada-gdb-application):
16269 * emulation/vip.el (vip-buffer-in-two-windows):
16270 * image-dired.el (image-dired-dired-with-window-configuration):
16271 * dired-x.el (dired-do-find-marked-files):
16272 * dired.el (dired-pop-to-buffer):
16273 * bs.el (bs--show-with-configuration):
16274 * vc/emerge.el (emerge-setup-windows):
16275 * textmodes/two-column.el (2C-two-columns):
16276 * textmodes/reftex-toc.el (reftex-toc):
16277 * progmodes/gdb-mi.el (gdb-setup-windows):
16278 * progmodes/fortran.el (fortran-window-create):
16279 * net/newst-treeview.el (newsticker--treeview-window-init):
16280 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16281 * emulation/tpu-edt.el (tpu-gold-map):
16282 * emulation/crisp.el (crisp-mode-map):
16283 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16284
16285 2011-10-29 Chong Yidong <cyd@gnu.org>
16286
16287 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16288
16289 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16290
16291 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16292 forged Ispell output (Bug#7904).
16293
16294 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16295
16296 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16297
16298 * doc-view.el: Avoid ugly errors about not finding nil.
16299 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16300 (doc-view-dvipdf-program, doc-view-unoconv-program)
16301 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16302 Avoid nil or absolute file name as default value.
16303 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16304
16305 2011-10-28 Alan Mackenzie <acm@muc.de>
16306
16307 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16308
16309 2011-10-28 Alan Mackenzie <acm@muc.de>
16310
16311 Amend the handling of c-beginning/end-of-defun in nested declaration
16312 scopes.
16313
16314 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16315 cc-langs.el. Change it to a defcustom.
16316
16317 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16318 cc-vars.el.
16319
16320 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16321 Prevent "class foo : bar" being spuriously recognized as a label.
16322
16323 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16324 Add parameter `inclusive' (to include enclosing braces in the region).
16325 (c-widen-to-enclosing-decl-scope): New function.
16326 (c-while-widening-to-decl-block): New macro.
16327 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16328 outward for defun boundaries, and correspondingly change symbol
16329 `respect-enclosure' to `go-outward'.
16330 (c-declaration-limits): Change algorithm to report only the "innermost"
16331 defun's boundaries.
16332
16333 2011-10-28 Deniz Dogan <deniz@dogan.se>
16334
16335 * net/rcirc.el (rcirc-mode): Use hard newlines.
16336
16337 2011-10-28 Alan Mackenzie <acm@muc.de>
16338
16339 Amend to indent and fontify macros "which include their own semicolon"
16340 correctly, using the "virtual semicolon" mechanism.
16341
16342 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16343
16344 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16345 Recode to scan one line at a time rather than having \n and \r
16346 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16347 (c-forward-label): Amend for virtual semicolons.
16348 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16349
16350 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16351 of the new C macros.
16352
16353 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16354 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16355 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16356 (c-opt-cpp-macro-define): Make into a full language variable.
16357 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16358 AWK Mode (including \n, \r) removed, no longer needed.
16359
16360 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16361 Invoke c-make-macro-with-semi-re.
16362
16363 * progmodes/cc-vars.el (c-macro-with-semi-re):
16364 (c-macro-names-with-semicolon): New variables.
16365 (c-make-macro-with-semi-re): New function.
16366
16367 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16368
16369 * vc/log-edit.el: Fill empty field rather than adding new one.
16370 (log-edit-add-field): New function.
16371 (log-edit-insert-changelog): Use it.
16372
16373 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16374
16375 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16376
16377 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16378
16379 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16380 (gdb--check-interpreter): New function.
16381 (gdb): Use it.
16382
16383 2011-10-27 Glenn Morris <rgm@gnu.org>
16384
16385 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16386 (least-positive-float, least-negative-float)
16387 (least-positive-normalized-float, least-negative-normalized-float)
16388 (float-epsilon, float-negative-epsilon):
16389 Remove unnecessary declarations.
16390
16391 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16392 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16393 (least-positive-float, least-negative-float)
16394 (least-positive-normalized-float, least-negative-normalized-float)
16395 (float-epsilon, float-negative-epsilon): Add doc-strings,
16396 based on those in cl.texi.
16397
16398 * files.el (set-visited-file-name): If the major-mode changed,
16399 reload the local variables. (Bug#9796)
16400
16401 2011-10-27 Chong Yidong <cyd@gnu.org>
16402
16403 * subr.el (change-major-mode-after-body-hook): New hook.
16404 (run-mode-hooks): Run it.
16405
16406 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16407 Use change-major-mode-before-body-hook.
16408
16409 * simple.el (fundamental-mode):
16410 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16411 change introducing fundamental-mode-hook.
16412
16413 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16414
16415 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16416
16417 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16418
16419 * ido.el (ido-file-name-all-completions-1): Do not require
16420 tramp.el explicitly. (Bug#7583)
16421
16422 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16423
16424 * progmodes/octave-mod.el:
16425 * progmodes/octave-inf.el: Update maintainer.
16426
16427 2011-10-26 Chong Yidong <cyd@gnu.org>
16428
16429 * subr.el (with-wrapper-hook): Rewrite doc.
16430
16431 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16432
16433 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16434 filenames "/method:foo:". (Bug#9793)
16435
16436 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16437
16438 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16439 (bug#9865).
16440
16441 2011-10-24 Glenn Morris <rgm@gnu.org>
16442
16443 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16444
16445 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16446
16447 * notifications.el: Add the requirement of a running D-Bus session
16448 bus to the Commentary.
16449
16450 2011-10-24 Juri Linkov <juri@jurta.org>
16451
16452 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16453 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16454 (Bug#9364)
16455
16456 2011-10-24 Juri Linkov <juri@jurta.org>
16457
16458 * info.el (Info-following-node-name-re): Add newline to the list
16459 of allowed characters for leading space. (Bug#9824)
16460
16461 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16462
16463 * progmodes/octave-inf.el (inferior-octave-mode-map):
16464 Fix C-c C-h binding.
16465 * progmodes/octave-mod.el (octave-help): Remove.
16466
16467 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16468
16469 Sync with Tramp 2.2.3.
16470
16471 * net/tramp-cache.el (top): Pacify byte-compiler using
16472 `init-file-user' and `site-run-file'.
16473
16474 * net/trampver.el: Update release number.
16475
16476 2011-10-23 Chong Yidong <cyd@gnu.org>
16477
16478 * files.el (toggle-read-only): Remove obsolete comment about
16479 version control.
16480
16481 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16482 for toggle-read-only. Note that this hasn't called vc-next-action
16483 since 2008-05-02, though it wasn't documented at the time.
16484
16485 * vc/ediff-init.el (ediff-toggle-read-only-function):
16486 Use toggle-read-only.
16487
16488 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16489
16490 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16491 of c-parse-state.
16492
16493 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16494 correct faulty logical expression.
16495 (c-parse-state-state, c-record-parse-state-state):
16496 (c-replay-parse-state-state): New defvar/defuns.
16497 (c-debug-parse-state): Use new functions.
16498
16499 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16500
16501 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16502 last fix. Use window-in-direction correctly.
16503
16504 2011-10-21 Chong Yidong <cyd@gnu.org>
16505
16506 * progmodes/idlwave.el (idlwave-mode):
16507 * progmodes/vera-mode.el (vera-mode): No need to set
16508 require-final-newline; that's done in prog-mode.
16509 Suggested by Stefan Monnier.
16510
16511 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16512
16513 * mouse.el (mouse-drag-window-above)
16514 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16515 (mouse-drag-mode-line-1, mouse-drag-header-line)
16516 (mouse-drag-vertical-line-rightward-window): Remove.
16517 (mouse-drag-line): New function.
16518 (mouse-drag-mode-line, mouse-drag-header-line)
16519 (mouse-drag-vertical-line): Call mouse-drag-line.
16520 * window.el (window-at-side-p, windows-at-side): New functions.
16521
16522 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16523
16524 * tar-mode.el (tar-grind-file-mode):
16525 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16526
16527 2011-10-21 Chong Yidong <cyd@gnu.org>
16528
16529 * progmodes/idlwave.el (idlwave-mode):
16530 * progmodes/vera-mode.el (vera-mode):
16531 Use mode-require-final-newline.
16532
16533 2011-10-20 Glenn Morris <rgm@gnu.org>
16534
16535 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16536
16537 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16538
16539 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16540
16541 2011-10-20 Chong Yidong <cyd@gnu.org>
16542
16543 * emulation/cua-base.el (cua-mode):
16544 * mail/footnote.el (footnote-mode):
16545 * mail/mailabbrev.el (mail-abbrevs-mode):
16546 * net/xesam.el (xesam-minor-mode):
16547 * progmodes/bug-reference.el (bug-reference-mode):
16548 * progmodes/cap-words.el (capitalized-words-mode):
16549 * progmodes/compile.el (compilation-minor-mode)
16550 (compilation-shell-minor-mode):
16551 * progmodes/gud.el (gud-tooltip-mode):
16552 * progmodes/hideif.el (hide-ifdef-mode):
16553 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16554 * progmodes/subword.el (subword-mode):
16555 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16556 * progmodes/which-func.el (which-function-mode):
16557 * term/tvi970.el (tvi970-set-keypad-mode):
16558 * term/vt100.el (vt100-wide-mode):
16559 * textmodes/flyspell.el (flyspell-mode):
16560 * textmodes/ispell.el (ispell-minor-mode):
16561 * textmodes/nroff-mode.el (nroff-electric-mode):
16562 * textmodes/paragraphs.el (use-hard-newlines):
16563 * textmodes/refill.el (refill-mode):
16564 * textmodes/reftex.el (reftex-mode):
16565 * textmodes/rst.el (rst-minor-mode):
16566 * textmodes/sgml-mode.el (html-autoview-mode)
16567 (sgml-electric-tag-pair-mode):
16568 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16569 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16570 * emulation/crisp.el (crisp-mode):
16571 * emacs-lisp/eldoc.el (eldoc-mode):
16572 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16573 minor mode behavior.
16574
16575 2011-10-19 Juri Linkov <juri@jurta.org>
16576
16577 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16578 the list of hard-coded chars with escape-glyph face.
16579
16580 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16581
16582 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16583
16584 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16585
16586 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16587 running process.
16588
16589 2011-10-19 Glenn Morris <rgm@gnu.org>
16590
16591 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16592 Ignore ignored files. (Bug#9726)
16593
16594 2011-10-19 Chong Yidong <cyd@gnu.org>
16595
16596 Doc fix for minor modes, stating that an omitted argument enables
16597 the mode unconditionally when called from Lisp.
16598
16599 * abbrev.el (abbrev-mode):
16600 * allout.el (allout-mode):
16601 * autoinsert.el (auto-insert-mode):
16602 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16603 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16604 (global-auto-revert-mode):
16605 * battery.el (display-battery-mode):
16606 * composite.el (global-auto-composition-mode)
16607 (auto-composition-mode):
16608 * delsel.el (delete-selection-mode):
16609 * desktop.el (desktop-save-mode):
16610 * dired-x.el (dired-omit-mode):
16611 * dirtrack.el (dirtrack-mode):
16612 * doc-view.el (doc-view-minor-mode):
16613 * double.el (double-mode):
16614 * electric.el (electric-indent-mode, electric-pair-mode):
16615 * emacs-lock.el (emacs-lock-mode):
16616 * epa-hook.el (auto-encryption-mode):
16617 * follow.el (follow-mode):
16618 * font-core.el (font-lock-mode):
16619 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16620 * help.el (temp-buffer-resize-mode):
16621 * hilit-chg.el (highlight-changes-mode)
16622 (highlight-changes-visible-mode):
16623 * hi-lock.el (hi-lock-mode):
16624 * hl-line.el (hl-line-mode, global-hl-line-mode):
16625 * icomplete.el (icomplete-mode):
16626 * ido.el (ido-everywhere):
16627 * image-file.el (auto-image-file-mode):
16628 * image-mode.el (image-minor-mode):
16629 * iswitchb.el (iswitchb-mode):
16630 * jka-cmpr-hook.el (auto-compression-mode):
16631 * linum.el (linum-mode):
16632 * longlines.el (longlines-mode):
16633 * master.el (master-mode):
16634 * mb-depth.el (minibuffer-depth-indicate-mode):
16635 * menu-bar.el (menu-bar-mode):
16636 * minibuf-eldef.el (minibuffer-electric-default-mode):
16637 * mouse-sel.el (mouse-sel-mode):
16638 * msb.el (msb-mode):
16639 * mwheel.el (mouse-wheel-mode):
16640 * outline.el (outline-minor-mode):
16641 * paren.el (show-paren-mode):
16642 * recentf.el (recentf-mode):
16643 * reveal.el (reveal-mode, global-reveal-mode):
16644 * rfn-eshadow.el (file-name-shadow-mode):
16645 * ruler-mode.el (ruler-mode):
16646 * savehist.el (savehist-mode):
16647 * scroll-all.el (scroll-all-mode):
16648 * scroll-bar.el (scroll-bar-mode):
16649 * server.el (server-mode):
16650 * shell.el (shell-dirtrack-mode):
16651 * simple.el (auto-fill-mode, transient-mark-mode)
16652 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16653 (line-number-mode, column-number-mode, size-indication-mode)
16654 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16655 * strokes.el (strokes-mode):
16656 * time.el (display-time-mode):
16657 * t-mouse.el (gpm-mouse-mode):
16658 * tool-bar.el (tool-bar-mode):
16659 * tooltip.el (tooltip-mode):
16660 * type-break.el (type-break-mode-line-message-mode)
16661 (type-break-query-mode):
16662 * view.el (view-mode):
16663 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16664 (global-whitespace-mode, global-whitespace-newline-mode):
16665 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16666
16667 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16668 Fix autogenerated docstring.
16669
16670 2011-10-19 Juri Linkov <juri@jurta.org>
16671
16672 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16673 by checking environment variables "DESKTOP_SESSION" and
16674 "XDG_CURRENT_DESKTOP". (Bug#9779)
16675
16676 2011-10-19 Juri Linkov <juri@jurta.org>
16677
16678 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16679 (browse-url-chromium-program, browse-url-chromium-arguments):
16680 New defcustoms.
16681 (browse-url-default-browser): Check for `browse-url-chromium' and
16682 call `browse-url-chromium-program'.
16683 (browse-url-chromium): New command. (Bug#9779)
16684
16685 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16686
16687 * facemenu.el (list-colors-duplicates): On Windows, detect more
16688 duplicates by assuming that only colors matching "^System" are
16689 special "system colors". (Bug#9722)
16690
16691 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16692
16693 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16694 to distinguish the author from the committer.
16695
16696 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16697
16698 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16699
16700 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16701
16702 * international/mule.el (sgml-html-meta-auto-coding-function):
16703 Add support for detecting encoding in HTML5 specified only as
16704 <meta charset="UTF-8">. Implementation just makes http-equiv and
16705 content-type parts from HTML4 encoding string optional. (Bug#9716)
16706
16707 2011-10-18 Glenn Morris <rgm@gnu.org>
16708
16709 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16710
16711 2011-10-18 Chong Yidong <cyd@gnu.org>
16712
16713 * faces.el (cursor): Doc fix.
16714
16715 2011-10-17 Chong Yidong <cyd@gnu.org>
16716
16717 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16718
16719 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16720
16721 * dirtrack.el (dirtrack): Support shell buffers with path
16722 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16723
16724 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16725
16726 * json.el: Bump version to 1.3 and note change in History.
16727 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16728
16729 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16730
16731 * comint.el (comint-insert-input, comint-send-input)
16732 (comint-get-old-input-default, comint-backward-matching-input)
16733 (comint-next-prompt): Use nil instead of `input' for field property of
16734 past user input (bug#114).
16735
16736 * minibuffer.el (completion--replace): Inherit surrounding properties
16737 (bug#114).
16738 (minibuffer-complete-and-exit): Use it.
16739
16740 * comint.el (comint--table-subvert): Quote the all-completions output
16741 (bug#9160).
16742
16743 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16744
16745 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16746
16747 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16748 window on right of selected. (Bug#9350) Reword other window
16749 entries and separate them from frame entries.
16750
16751 2011-10-15 Glenn Morris <rgm@gnu.org>
16752
16753 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16754 Doc fixes.
16755
16756 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16757
16758 * net/network-stream.el (network-stream-open-starttls):
16759 Improve detection of failure due to lack of TLS support.
16760
16761 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16762 putting the input text in front and in bold.
16763
16764 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16765
16766 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16767
16768 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16769 empty buffer.
16770
16771 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16772 unread-command-events rather than pushing yet-another event.
16773
16774 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16775
16776 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16777 the explanation of the possible choices. Make the options passed
16778 to completing-read shorter.
16779
16780 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16781
16782 * textmodes/flyspell.el (flyspell-large-region): Make sure
16783 extended character mode is used if defined (Bug#1339).
16784
16785 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16786
16787 * simple.el (what-cursor-position): Fix the display of the
16788 character info for LRE, LRO, RLE, and RLO characters by appending
16789 an invisible PDF.
16790
16791 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16792
16793 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16794 even in case of error; add debug spec; simplify data flow.
16795 (with-timeout-handler): Remove.
16796
16797 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16798
16799 Fix Bug#6019, Bug#9315.
16800
16801 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16802 complete `buffer-file-name', the local file name part could look
16803 remotely (for example on VMS).
16804
16805 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16806 `tramp-run-real-handler'.
16807 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16808 already quoted by '"'.
16809
16810 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16811 Let `file-name-handler-alist' be nil, the local file name part
16812 could look remotely (for example on VMS).
16813
16814 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16815
16816 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16817 from here...
16818 (flyspell-post-command-hook): ...to here.
16819
16820 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16821
16822 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16823 if not needed.
16824 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16825 using completion. Protect against "slow" callers.
16826 Remove the "message hack".
16827
16828 2011-10-11 Juri Linkov <juri@jurta.org>
16829
16830 * isearch.el (isearch-lazy-highlight-word): New variable.
16831 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16832 Use it. (Bug#9727)
16833
16834 2011-10-11 Glenn Morris <rgm@gnu.org>
16835
16836 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16837 like f90-previous-statement does.
16838
16839 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16840
16841 * eshell/eshell.el (eshell-command): History should be saved
16842 only in interactive use, to avoid error.
16843
16844 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16845
16846 * minibuffer.el (completion-file-name-table): Fix last change,
16847 i.e. ignore normal errors but not the other ones.
16848
16849 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16850
16851 * window.el (special-display-buffer-names)
16852 (special-display-regexps): Remove some remnants of earlier
16853 changes from doc-strings.
16854 (quit-windows-on): New function.
16855
16856 * vc/vc.el (vc-revert, vc-rollback):
16857 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16858 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16859 (Bug#6183) (Bug#7074) (Bug#7447)
16860
16861 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16862
16863 * window.el (frame-auto-hide-function): Add version tag.
16864 (Bug#9699)
16865
16866 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16867
16868 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16869 condition.
16870
16871 2011-10-09 Leo Liu <sdl.web@gmail.com>
16872
16873 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16874 (Bug#9701)
16875
16876 2011-10-08 Glenn Morris <rgm@gnu.org>
16877
16878 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16879 before the first code statement zero indent. (Bug#9690)
16880
16881 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16882
16883 * simple.el (count-words-region): Always count in the region.
16884 Report the number of lines and characters too.
16885 (count-words): New command, which counts in the buffer if the
16886 region is inactive, as count-words-region used to.
16887 (count-words--message): New function. Handle plurals.
16888 (count-lines-region): Make it an alias for count-words-region.
16889
16890 * bindings.el (esc-map): Replace count-lines-region with
16891 count-words-region.
16892
16893 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16894
16895 * window.el (window--delete): Delete dedicated frame
16896 unconditionally when argument KILL is non-nil. (Bug#9699)
16897 (switch-to-buffer): Fix doc-string typo.
16898
16899 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16900
16901 * eshell/eshell.el (eshell-command): Avoid using hooks.
16902
16903 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
16904
16905 * bindings.el ([M-left],[M-right]): Bind to left-word and
16906 right-word respectively.
16907
16908 2011-10-07 Glenn Morris <rgm@gnu.org>
16909
16910 * cus-start.el (debug-on-quit): Fix custom type.
16911
16912 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16913
16914 * subr.el (define-key-after): Clarify that the function is not
16915 useful for non-menu keymaps.
16916
16917 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
16918
16919 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16920
16921 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
16922 in current minibuffer (Fix bug with recursive minibuffers).
16923
16924 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
16925
16926 * progmodes/gdb-mi.el (gdb): Doc fix.
16927
16928 2011-10-05 Martin Rudalics <rudalics@gmx.at>
16929
16930 * window.el (frame-auto-hide-function): New option replacing
16931 frame-auto-delete. Suggested by Stefan Monnier.
16932 (window--delete): Call frame-auto-hide-function instead of
16933 investigating frame-auto-delete.
16934 (window-point-1, set-window-point-1): New functions.
16935 (window-in-direction, record-window-buffer, window-state-get-1)
16936 (display-buffer-record-window): Use window-point-1 instead of
16937 window-point.
16938 (set-window-buffer-start-and-point): Use set-window-point-1.
16939
16940 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16941
16942 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
16943
16944 2011-10-05 Glenn Morris <rgm@gnu.org>
16945
16946 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
16947 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
16948
16949 2011-10-05 Leo Liu <sdl.web@gmail.com>
16950
16951 * subr.el (read-char-choice): Fix argument to buffer-live-p which
16952 works with buffer object.
16953
16954 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16955
16956 * mpc.el (mpc-tool-bar-map): Add labels.
16957
16958 2011-10-04 Glenn Morris <rgm@gnu.org>
16959
16960 * calendar/holidays.el (calendar-check-holidays): Doc fix.
16961
16962 2011-10-04 Martin Rudalics <rudalics@gmx.at>
16963
16964 * window.el (window--delete): New function.
16965 (frame-auto-delete): Resuscitate option.
16966 (bury-buffer, replace-buffer-in-windows)
16967 (quit-window): Rewrite using window--delete.
16968 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16969 Pass display-buffer-mark-dedicated to window--display-buffer-2
16970 (Bug#9639).
16971
16972 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16973
16974 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
16975 returns a list (bug#9554). Add remote file name completion.
16976 * comint.el (comint--table-subvert): Curry and get quote&unquote
16977 functions as arguments.
16978 (comint--complete-file-name-data): Adjust call accordingly.
16979 * pcomplete.el (pcomplete--table-subvert): Remove.
16980 (pcomplete-completions-at-point): Use comint--table-subvert instead.
16981
16982 * minibuffer.el (completion-table-case-fold): Use currying.
16983 (completion--styles-type, completion--cycling-threshold-type):
16984 New constants.
16985 (completion-styles, completion-category-overrides)
16986 (completion-cycle-threshold): Use them.
16987 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
16988 completion-table-case-fold.
16989
16990 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
16991
16992 * minibuffer.el (completion-category-overrides): Fix type of styles
16993 and add more user friendly tags (bug#9660).
16994
16995 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
16996
16997 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
16998 (mule-input-method-string): New widget.
16999 (default-input-method, language-info-custom-alist): Use it.
17000
17001 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17002
17003 * pcomplete.el: Require comint.
17004 (pcomplete--common-suffix): Remove.
17005 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17006 (pcomplete--table-subvert): Sync with comint--table-subvert.
17007 (pcomplete--entries): Use comint-completion-file-name-table.
17008 * comint.el (comint-unquote-filename): Simplify.
17009 (comint-completion-file-name-table): New function (bug#9616).
17010 (comint--complete-file-name-data): Use it.
17011
17012 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17013 (pcmpl-gnu-tar-buffer): Remove.
17014 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17015 around. Make sure pcomplete-suffix-list is only changed temporarily.
17016 Don't look inside the tar's file if it's too large.
17017
17018 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17019
17020 * cus-edit.el (custom-mode-map):
17021 * epa.el (epa-key-list-mode-map):
17022 * man.el (Man-mode-map):
17023 * startup.el (splash-screen-keymap):
17024 * simple.el (special-mode-map): Use scroll-up-command and
17025 scroll-down-command.
17026
17027 * progmodes/idlw-help.el (idlwave-help-mode-map):
17028 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17029 * net/newst-plainview.el (newsticker-mode-map):
17030 * emulation/ws-mode.el (wordstar-mode-map):
17031 * emulation/vi.el (vi-com-map):
17032 * calc/calc-graph.el (calc-graph-show-dumb):
17033 * term/sun.el (terminal-init-sun):
17034 * term/ns-win.el (global-map):
17035 * progmodes/grep.el (grep-mode-map):
17036 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17037 * mail/rmail.el (rmail-mode-map):
17038 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17039
17040 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17041 custom-safe-themes as special.
17042
17043 2011-10-01 Julien Danjou <julien@danjou.info>
17044
17045 * notifications.el (notifications-notify): Fix docstring.
17046
17047 2011-10-01 Per Starbäck <per@starback.se>
17048
17049 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17050
17051 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17052
17053 * startup.el (command-line-1): Fix last fix by inserting
17054 initial-scratch-message into *scratch* before displaying it.
17055 (Bug#9605) and (Bug#9636)
17056
17057 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17058
17059 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17060 window is hscrolled, move by logical lines. (Bug#9607)
17061 (line-move-visual): Update the doc string to the above effect.
17062
17063 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17064
17065 * window.el (display-buffer-record-window): When WINDOW is the
17066 selected window use `point' instead of `window-point'. (Bug#9626)
17067
17068 * startup.el (command-line-1): Use insert-before-markers when
17069 inserting initial-scratch-message. (Bug#9605)
17070
17071 * help.el (help-window): Remove variable.
17072
17073 2011-09-29 Glenn Morris <rgm@gnu.org>
17074
17075 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17076
17077 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17078
17079 * descr-text.el (describe-char-categories): Accept category
17080 descriptions more than one line long.
17081
17082 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17083
17084 * simple.el (delete-trailing-whitespace): Fix last change.
17085
17086 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17087 Don't confuse "y => 3" as the beginning of a `y' operation.
17088
17089 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17090 object has more than 4 slots (bug#9613).
17091
17092 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17093
17094 * subr.el (with-output-to-temp-buffer):
17095 * net/quickurl.el (quickurl, quickurl-browse-url):
17096 Fix typos in docstrings.
17097
17098 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17099
17100 * minibuffer.el (completion-styles)
17101 (completion-category-overrides): Cross reference each other in doc
17102 strings.
17103
17104 2011-09-27 Glenn Morris <rgm@gnu.org>
17105
17106 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17107 to split-string. (Bug#9606)
17108
17109 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17110
17111 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17112 (bug#9615).
17113
17114 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17115
17116 * emacs-lisp/package.el (list-packages): Fix echo area message.
17117
17118 2011-09-27 Leo Liu <sdl.web@gmail.com>
17119
17120 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17121
17122 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17123
17124 * net/dbus.el (dbus-unregister-object): Don't release services for
17125 registered signals. (Bug#9581)
17126
17127 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17128
17129 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17130 function that picks between cfengine 2 and 3 support
17131 automatically. Update docs accordingly.
17132
17133 2011-09-22 Kenichi Handa <handa@m17n.org>
17134
17135 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17136 ZERO.
17137 (indian-itrans-v5-table-for-tamil): New variable.
17138 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17139
17140 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17141
17142 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17143 that's true if the current command involved collapsing of text.
17144 It's reset to false at the beginning of the next command.
17145 (allout-post-command-business): Move the cursor to the beginning
17146 of entry if the cursor is hidden and collapsing activity just
17147 happened.
17148
17149 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17150
17151 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17152 tracking (Bug#9541).
17153
17154 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17155
17156 * net/newst-reader.el (newsticker-html-renderer)
17157 (newsticker-show-news): Automatically load html rendering package
17158 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17159 because w3m-fill-column is let-bound" and the error "Symbol's value
17160 as variable is void: w3m-fill-column".
17161
17162 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17163
17164 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17165 Release services only if they are defined. (Bug#9581)
17166
17167 2011-09-23 Richard Stallman <rms@gnu.org>
17168
17169 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17170 distinguish start of paragraph from start of its text.
17171
17172 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17173
17174 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17175 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17176 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17177
17178 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17179
17180 * international/mule-diag.el (mule-diag): Insert a newline after
17181 each fontset description.
17182
17183 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17184
17185 * simple.el (delete-trailing-whitespace):
17186 Document last change; simplify.
17187
17188 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17189
17190 * simple.el (delete-trailing-whitespace): Also delete
17191 extra newlines at the end of the buffer.
17192
17193 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17194 (picture-newline): Use forward-line so as to ignore fields.
17195
17196 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17197
17198 * subr.el (with-wrapper-hook): Fix edebug spec.
17199
17200 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17201
17202 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17203 (bug#4538).
17204
17205 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17206
17207 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17208 Fix nasty bug using wrong cached values.
17209
17210 2011-09-23 Alan Mackenzie <acm@muc.de>
17211
17212 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17213
17214 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17215
17216 * window.el (pop-to-buffer): Ensure right window is selected if we
17217 chose another frame.
17218
17219 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17220
17221 * simple.el (what-cursor-position): Use get-char-property-change
17222 and next-single-char-property-change, to be able to show display
17223 properties that come from overlays as well as text properties.
17224
17225 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17226
17227 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17228
17229 * cmuscheme.el (run-scheme, switch-to-scheme):
17230 * cus-edit.el (customize-group, custom-buffer-create)
17231 (customize-browse):
17232 * info.el (info):
17233 * shell.el (shell):
17234 * mail/sendmail.el (mail):
17235 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17236
17237 2011-09-22 Richard Stallman <rms@gnu.org>
17238
17239 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17240 move back only to line beg, don't move back over blank lines.
17241
17242 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17243
17244 * files.el (copy-directory): Set directory attributes only in case
17245 they could be retrieved from the source directory. (Bug#9565)
17246
17247 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17248
17249 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17250 (hs-find-block-beginning, hs-hide-level-recursive):
17251 Ignore strings as well as comments. (Bug#9502)
17252
17253 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17254
17255 * progmodes/sql.el (sql-comint-postgres):
17256 Convert port number to a string. (Bug#9566)
17257
17258 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17259
17260 * window.el (quit-window): Undedicate window when switching to
17261 previous buffer. Reported by Thierry Volpiatto
17262 <thierry.volpiatto@gmail.com>.
17263 (special-display-popup-frame): When popping up a new frame reset
17264 its previous buffers to nil. Simplify code.
17265
17266 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17267
17268 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17269 and process filter, as done also in `shell-command'.
17270
17271 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17272
17273 * window.el (set-window-buffer-start-and-point):
17274 Call set-window-start with NOFORCE argument t.
17275 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17276 (quit-window): Reword doc-string. Handle new format of
17277 quit-restore parameter. Don't delete window if it has a
17278 previous buffer we can show instead of the present one.
17279 (display-buffer-record-window): Rewrite using a new format for
17280 the quit-restore window parameter
17281 (special-display-popup-frame, display-buffer-same-window)
17282 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17283 (display-buffer-pop-up-window, display-buffer-use-some-window):
17284 Adapt symbol passed to display-buffer-record-window.
17285 * help.el (help-window-setup): Handle new format of quit-restore
17286 parameter.
17287
17288 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17289
17290 * faces.el (face-list): Fix docstring (bug#9564).
17291
17292 * window.el (display-buffer--action-function-custom-type):
17293 Don't include internal functions in the Custom interface.
17294
17295 2011-09-20 Juri Linkov <juri@jurta.org>
17296
17297 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17298 (Info-forward-node, Info-backward-node, Info-next-preorder)
17299 (Info-last-preorder): Use it. (Bug#9528)
17300
17301 2011-09-20 Juri Linkov <juri@jurta.org>
17302
17303 * info.el (Info-last-preorder): Visit last menu item only when
17304 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17305
17306 2011-09-20 Julien Danjou <julien@danjou.info>
17307
17308 * password-cache.el (password-cache-remove): Remove entries even if the
17309 value is nil, so that password with a nil value (negative caching) is
17310 possible to invalidate.
17311
17312 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17313
17314 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17315 all whitespace around breakpoint. (Bug#9553)
17316 (f90-find-breakpoint): Only break at whitespace inside a comment.
17317
17318 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17319
17320 * minibuffer.el (completion-file-name-table): Keep track of errors.
17321 (completion-table-with-predicate): Handle the case where pred1 is nil.
17322 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17323
17324 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17325
17326 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17327 (debugger-return-value): Signal an error if the debugging context does
17328 not await any return value.
17329
17330 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17331 * image-mode.el (image-toggle-display-text)
17332 (image-toggle-display-image): Stay away from evil `intangible'.
17333
17334 2011-09-19 Leo Liu <sdl.web@gmail.com>
17335
17336 * replace.el (occur-revert-arguments): Make it permanent-local.
17337 (occur-mode): Don't call font-lock-defontify.
17338
17339 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17340
17341 * net/ldap.el (ldap-search-internal): Don't push empty search
17342 result (Bug#9508).
17343
17344 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17345
17346 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17347
17348 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17349
17350 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17351 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17352
17353 2011-09-18 Juri Linkov <juri@jurta.org>
17354
17355 * buff-menu.el (Buffer-menu-mode-map):
17356 * dired.el (dired-mode-map):
17357 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17358 (lisp-interaction-mode-map):
17359 * emacs-lisp/package.el (package-menu-mode-map):
17360 * epa.el (epa-key-list-mode-map):
17361 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17362 (menu-bar-options-menu):
17363 * outline.el (outline-mode-menu-bar-map):
17364 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17365 * vc/vc-dir.el (vc-dir-menu-map):
17366 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17367 Capitalize non-function content words in menu item strings.
17368
17369 * dired.el (dired-mode-map): Add menu item for
17370 `image-dired-dired-toggle-marked-thumbs'.
17371
17372 2011-09-18 Juri Linkov <juri@jurta.org>
17373
17374 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17375 to `isearch-case-fold-search' and restore its original value
17376 after the `isearch-mode' call.
17377
17378 2011-09-18 Juri Linkov <juri@jurta.org>
17379
17380 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17381 because `zgrep' returns 1 for successful matches (bug#9226).
17382
17383 2011-09-18 Juri Linkov <juri@jurta.org>
17384
17385 * info.el (Info-extract-menu-node-name): Check the second match
17386 for empty string (second test-case of bug#9528).
17387 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17388 intermediate nodes to the history (first test-case of bug#9528).
17389
17390 2011-09-18 Juri Linkov <juri@jurta.org>
17391
17392 * info.el (Info-mode-syntax-table): New variable.
17393 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17394
17395 2011-09-18 Juri Linkov <juri@jurta.org>
17396
17397 * info.el (Info-file-supports-index-cookies):
17398 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17399 outputs one more line for long file names (bug#4142).
17400
17401 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17402
17403 * newcomment.el (comment-normalize-vars): If prompting for
17404 comment-start, set comment-start-skip too (Bug#8424).
17405
17406 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17407
17408 * icomplete.el: Fix previous fix of Bug#5849.
17409 (icomplete-mode): Don't set completion-show-inline-help.
17410 (icomplete-minibuffer-setup): Set completion-show-inline-help
17411 locally during icompletion.
17412
17413 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17414
17415 * woman.el (woman2-process-escapes): Don't delete unrecognized
17416 escapes (Bug#7843).
17417
17418 * files.el (inhibit-first-line-modes-regexps): Add image files.
17419 (hack-local-variables-prop-line): Return nil for malformed
17420 prop-lines (Bug#9044).
17421
17422 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17423
17424 * net/tramp.el (top): Don't require 'shell.
17425 (tramp-methods): Fix docstring.
17426 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17427 Return complete remote file name. Handle "smb" case.
17428 Use `tramp-tmpdir', if defined for the respective method.
17429 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17430
17431 * net/tramp-compat.el (top): Require 'shell.
17432
17433 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17434 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17435 `tramp-current-host'.
17436 (tramp-get-remote-tmpdir): Remove.
17437
17438 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17439 `tramp-tmpdir' entries.
17440 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17441 (tramp-smb-handle-file-attributes): Ignore errors.
17442 (tramp-smb-wait-for-output): Check also for process end.
17443
17444 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17445
17446 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17447 when sending QUIT (bug#9312).
17448
17449 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17450
17451 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17452 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17453 occur-mode-display-occurrence.
17454 (occur-edit-mode): Add usage message.
17455 (occur-cease-edit): New command.
17456 (occur-after-change-function): Use text properties to find the
17457 position of the prefix text.
17458 (occur-engine): Set stickiness of prefix text properties.
17459
17460 2011-09-17 Glenn Morris <rgm@gnu.org>
17461
17462 * progmodes/etags.el (complete-tag):
17463 Fix call to completion-in-region. (Bug#9526)
17464
17465 2011-09-17 Juri Linkov <juri@jurta.org>
17466
17467 * textmodes/ispell.el (ispell-word): Add to the error message
17468 the word, ispell program name and current dictionary (bug#9121).
17469 (ispell-tex-arg-end): Capitalize "error" in the error message.
17470
17471 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17472
17473 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17474 check. (Bug#4251)
17475
17476 2011-09-17 Juri Linkov <juri@jurta.org>
17477
17478 * window.el (window-safe-min-height, window-safe-min-width):
17479 Fix typos (followup to bug#9522).
17480
17481 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17482
17483 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17484
17485 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17486
17487 * simple.el (line-move): If goal-column is set, move by logical
17488 lines, not by display lines. (Bug#971)
17489 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17490 to reflect the above change.
17491
17492 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17493
17494 * image.el (imagemagick-register-types): Use regexp-opt.
17495
17496 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17497
17498 * window.el (display-buffer-base-action): Rename from
17499 display-buffer-default-action. Make default value empty.
17500 (display-buffer-overriding-action): Convert to defvar.
17501 (display-buffer-fallback-action): New var.
17502
17503 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17504
17505 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17506 declaration.
17507 (package--add-to-archive-contents): If there is a duplicate entry
17508 with an older version, remove it.
17509 (package-menu-mark-delete, package-menu-mark-install)
17510 (package-menu-mark-unmark): Make unused args optional.
17511 (package-menu-mark-obsolete-for-deletion):
17512 Use package-menu-get-status instead of a regexp search.
17513 (package-menu-get-status): Use tabulated-list-entry.
17514 (package-menu-mark-upgrades): New command.
17515 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17516 (package-menu-execute): Do installation before deletion.
17517 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17518 instead of checking major-mode.
17519 (package-menu--find-upgrades): New function.
17520
17521 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17522
17523 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17524 passwords in the log buffer.
17525 (smtpmail-process-filter): Update the process marker so that the
17526 "broken by peer" status message is inserted in the right place.
17527
17528 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17529
17530 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17531 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17532 bibtex-completion-at-point-function.
17533 (bibtex-completion-at-point-function): Use them.
17534
17535 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17536
17537 * mpc.el (mpc-constraints-tag-lookup): New function.
17538 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17539 also to browser "album|playlist".
17540
17541 2011-09-14 Juri Linkov <juri@jurta.org>
17542
17543 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17544 (isearch-edit-string): Use length of `isearch-string' when
17545 `isearch-fail-pos' returns nil.
17546 (isearch-message): Remove duplicate code and call
17547 `isearch-fail-pos' with arg `t'.
17548
17549 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17550
17551 * replace.el (occur-mode-goto-occurrence): Don't force using other
17552 window (Bug#9499).
17553
17554 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17555
17556 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17557
17558 * window.el (display-buffer-window): Remove.
17559 (display-buffer-record-window): Use help-setup window parameter
17560 instead of variable display-buffer-window.
17561 (display-buffer-function, special-display-buffer-names)
17562 (special-display-function): Mention help-setup parameter instead
17563 of display-buffer-window in doc-string.
17564 * help.el (help-window-setup): New argument help-window.
17565 Use help-window-setup parameter instead of display-buffer-window.
17566 Reword some messages.
17567 (with-help-window): Pass window used for displaying the buffer
17568 to help-window-setup. Don't set display-buffer-window.
17569
17570 2011-09-13 Glenn Morris <rgm@gnu.org>
17571
17572 * emacs-lisp/debug.el (debugger-make-xrefs):
17573 Preserve point. (Bug#9462)
17574
17575 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17576
17577 * window.el (window-deletable-p): Use next-frame.
17578
17579 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17580
17581 * window.el (window-auto-delete): Remove.
17582 (window-deletable-p): Remove argument FORCE. Don't deal with
17583 dedication and previous buffers.
17584 (switch-to-prev-buffer): Don't delete window.
17585 (delete-windows-on): Delete a window's frame if and only if the
17586 window is dedicated.
17587 (replace-buffer-in-windows): Delete buffer's window or frame if
17588 and only if window is dedicated.
17589 (quit-window): Handle quit-restore as before last change.
17590 (bury-buffer): Delete window only if window-deletable-p returns t.
17591
17592 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17593
17594 * window.el (window-deletable-p): Never delete the last frame on a
17595 given terminal.
17596
17597 2011-09-13 Glenn Morris <rgm@gnu.org>
17598
17599 * help.el (describe-key-briefly): Copy previous standard-output change.
17600
17601 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17602
17603 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17604
17605 2011-09-13 Glenn Morris <rgm@gnu.org>
17606
17607 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17608 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17609
17610 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17611
17612 * dired-aux.el (dired-mark-read-string): Don't return default
17613 value on empty input (Bug#9361).
17614 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17615 Omit initial minibuffer contents.
17616 (dired-do-chmod): Signal an error on empty input.
17617 (dired-mark-read-string): Don't return default on empty input.
17618
17619 * files.el (file-modes-symbolic-to-number): Doc fix.
17620
17621 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17622
17623 * international/mule-cmds.el (ucs-completions): Remove.
17624 (read-char-by-name): Use complete-with-action instead; add metadata.
17625
17626 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17627
17628 * window.el (display-buffer--action-function-custom-type)
17629 (display-buffer--action-custom-type): New vars.
17630 (display-buffer-alist, display-buffer-default-action)
17631 (display-buffer-overriding-action): Add defcustom types.
17632
17633 * frame.el (delete-other-frames): Doc fix (Bug#276).
17634
17635 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17636
17637 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17638
17639 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17640
17641 Change modes that used same-window-* vars to use switch-to-buffer.
17642
17643 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17644 Use switch-to-buffer.
17645
17646 * cus-edit.el (customize-group, custom-buffer-create)
17647 (customize-browse, custom-buffer-create-other-window):
17648 Use switch-to-buffer or switch-to-buffer-other-window.
17649
17650 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17651 (Info-prev, Info-up, Info-speedbar-goto-node)
17652 (info-display-manual): Use switch-to-buffer.
17653 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17654
17655 * mail/sendmail.el (mail): Use switch-to-buffer.
17656 (mail-recover): Use switch-to-buffer-other-window.
17657
17658 * cmuscheme.el (run-scheme, switch-to-scheme):
17659 * ielm.el (ielm):
17660 * shell.el (shell):
17661 * net/rlogin.el (rlogin):
17662 * net/telnet.el (telnet, rsh):
17663 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17664
17665 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17666
17667 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17668
17669 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17670
17671 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17672 so don't mention it (bug#9301).
17673 (dired-sort-toggle-or-edit): Clarify string further.
17674
17675 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17676 match `x', `w32' and `ns', like the manual says (bug#9029).
17677
17678 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17679 (process-kill-buffer-query-function): Mention the buffer name in
17680 the query.
17681
17682 * image-mode.el (image-next-line): The line parameter is mandatory
17683 (bug#9258).
17684
17685 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17686 which can be useful (bug#9301).
17687
17688 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17689
17690 * subr.el (match-string): Mention that the current buffer should
17691 be the same as the search was done in (bug#9282).
17692
17693 * facemenu.el: Disable the remove-* commands if the mark isn't
17694 active (bug#9162).
17695
17696 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17697
17698 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17699 of display-buffer.
17700 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17701
17702 * replace.el (occur-mode-goto-occurrence)
17703 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17704 and display-buffer.
17705
17706 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17707 display-buffer.
17708
17709 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17710 special-display and same-window variables.
17711 (mail-other-window): Use switch-to-buffer-other-window.
17712 (mail-other-frame): USe switch-to-buffer-other-frame.
17713
17714 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17715 Use display-buffer-other-frame.
17716 (gdb-display-gdb-buffer): Use pop-to-buffer.
17717
17718 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17719
17720 * progmodes/python.el: Don't set same-window-buffer-names.
17721
17722 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17723
17724 * window.el (display-buffer-alist): Add *Python*.
17725
17726 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17727
17728 * window.el (display-buffer-alist): Add entry for buffers
17729 previously handled same-window-*.
17730 (display-buffer-alist, display-buffer-default-action)
17731 (display-buffer-overriding-action): Mark as risky.
17732 (display-buffer-alist): Document action function changes.
17733 (display-buffer--same-window-action)
17734 (display-buffer--other-frame-action): New variables.
17735 (switch-to-buffer, display-buffer-other-frame): Use them.
17736 (display-buffer): Rename reuse-frame entry to reusable-frames.
17737 (display-buffer-reuse-selected-window): Function deleted.
17738 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17739 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17740 (display-buffer-special): New function.
17741 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17742 display-buffer-reuse-or-pop-window. Split off special-display
17743 part into display-buffer-special.
17744 (display-buffer-use-some-window): Don't perform any special
17745 pop-up-frames handling.
17746 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17747 (display-buffer--maybe-same-window): Rename from
17748 display-buffer-maybe-same-window.
17749
17750 * info.el: Don't set same-window-regexps.
17751 (info-setup): New function.
17752 (info-other-window, info): Call it.
17753
17754 * cus-edit.el: Don't set same-window-regexps.
17755 (customize-group): New argument.
17756 (customize-group-other-window): Use it.
17757 (customize-face, customize-face-other-window): Likewise.
17758 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17759
17760 * net/rlogin.el:
17761 * net/telnet.el:
17762 * progmodes/gud.el: Don't set same-window-regexps.
17763
17764 * cmuscheme.el:
17765 * ielm.el:
17766 * shell.el:
17767 * mail/sendmail.el:
17768 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17769
17770 2011-09-10 Juri Linkov <juri@jurta.org>
17771
17772 * isearch.el (isearch-edit-string): Remove obsolete mention of
17773 `C-w' (`isearch-yank-word-or-char') from docstring.
17774 (isearch-query-replace): Fix typo in docstring (bug#9466).
17775
17776 2011-09-10 Juri Linkov <juri@jurta.org>
17777
17778 * paren.el (show-paren-function): Don't show escaped parens.
17779 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17780
17781 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17782
17783 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17784 (mm-default-file-encoding): Remove autoload forms, they are
17785 replaced with autoload cookies in mml.el and mm-encode.el.
17786 (mail-add-attachment): New command.
17787 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17788 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17789 the doc string.
17790 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17791
17792 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17793
17794 * simple.el (count-words-region): Use buffer if there's no region
17795 (bug#9429).
17796
17797 2011-09-09 Juri Linkov <juri@jurta.org>
17798
17799 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17800 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17801 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17802
17803 2011-09-09 Alan Mackenzie <acm@muc.de>
17804
17805 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17806 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17807
17808 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17809
17810 Fix for Savannah bug#9392.
17811 * simple.el (mail-encode-mml): New defvar.
17812
17813 * mail/rmail.el (mail-encode-mml): Add a defvar.
17814 (rmail-enable-mime-composing): Default to t.
17815 (rmail-forward): Use MIME method of forwarding only if both
17816 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17817 Set mail-encode-mml non-nil if the MIME method was used.
17818
17819 * mail/sendmail.el (mml-to-mime): Add autoload form.
17820 (mail-encode-mml): Add a defvar.
17821 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17822 to nil.
17823 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17824 message through mml-to-mime, and reset mail-encode-mml to nil.
17825
17826 2011-09-09 Glenn Morris <rgm@gnu.org>
17827
17828 * woman.el (woman-if-body): When processing an .el block,
17829 do not delete the next .el block as well. (Bug#9447)
17830 (woman-special-characters): Add oq, cq, and hy characters.
17831
17832 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17833
17834 * window.el (window-deletable-p): Make sure window is live before
17835 invoking window-prev-buffers.
17836
17837 2011-09-08 Leo Liu <sdl.web@gmail.com>
17838
17839 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17840
17841 2011-09-08 Juri Linkov <juri@jurta.org>
17842
17843 * progmodes/compile.el (compilation-environment): Make it
17844 a defcustom (bug#8340).
17845
17846 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17847
17848 * window.el (frame-auto-delete): Rename to window-auto-delete.
17849 Make it control auto-deletion of windows and/or frames.
17850 (window-deletable-p): New argument FORCE. Rewrite conditions
17851 for deleting window/frame. (Bug#9419)
17852 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17853 Rewrite handling of case when window/frame can be deleted.
17854 (delete-windows-on): Call window-deletable-p with new FORCE
17855 argument t. (Bug#9456)
17856
17857 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17858
17859 * help-mode.el (help-mode): Restore autoload.
17860
17861 2011-09-07 Juri Linkov <juri@jurta.org>
17862
17863 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17864 `compilation-environment'. Set buffer-local
17865 `compilation-environment' to `thisenv' later after (funcall mode).
17866 (Bug#8340)
17867
17868 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17869 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17870 instead of replacing its value. (Bug#8340)
17871
17872 2011-09-07 Juri Linkov <juri@jurta.org>
17873
17874 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17875 based on text properties put by `grep-filter' instead of matching
17876 escape sequences.
17877 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17878 to the value of `grep-error-screen-columns' (bug#9438).
17879
17880 2011-09-07 Juri Linkov <juri@jurta.org>
17881
17882 * simple.el (next-error-highlight, next-error-highlight-no-select):
17883 Doc fix (bug#9432).
17884
17885 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17886
17887 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17888 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17889
17890 2011-09-07 Leo Liu <sdl.web@gmail.com>
17891
17892 * net/rcirc.el (rcirc-mode): Conditionally initialize
17893 rcirc-input-ring.
17894
17895 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17896
17897 * emacs-lisp/find-func.el (find-function-C-source): Only set
17898 find-function-C-source-directory after checking that we found a source
17899 file there (bug#9440).
17900
17901 2011-09-06 Alan Mackenzie <acm@muc.de>
17902
17903 * isearch.el (isearch-other-meta-char): Wherever a key list is
17904 unread, "unread" the prefix arg, too. This fixes bug #8901.
17905
17906 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
17907
17908 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
17909
17910 2011-09-05 Juri Linkov <juri@jurta.org>
17911
17912 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
17913
17914 2011-09-05 Juri Linkov <juri@jurta.org>
17915
17916 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
17917 keeping point where processing of grep matches begins, and
17918 continue to delete remaining escape sequences from the same point.
17919 (grep-filter): Make leading zero optional in "0?1;31m" because
17920 git-grep emits "\033[1;31m" escape sequences unlike expected
17921 "\033[01;31m" as GNU Grep does (bug#9408).
17922 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
17923
17924 2011-09-05 Juri Linkov <juri@jurta.org>
17925
17926 * subr.el (y-or-n-p): Capitalize "yes".
17927
17928 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
17929
17930 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
17931 `tramp-cache-unload-hook' where appropriate.
17932 (tramp-methods): Rename `tramp-remote-sh' to
17933 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
17934 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
17935
17936 * net/tramp-sh.el (top): Don't require 'shell.
17937 (tramp-methods): Add `tramp-remote-shell' and
17938 `tramp-remote-shell-args' entries.
17939 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
17940 (tramp-sh-handle-shell-command): Remove.
17941 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17942 Use `tramp-remote-shell'.
17943
17944 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
17945
17946 * mail/sendmail.el (sendmail-query-once-function): Delete.
17947 (sendmail-query-once): Save directly to send-mail-function.
17948 Update message-send-mail-function too.
17949
17950 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
17951
17952 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17953
17954 * progmodes/python.el (python-mode-map): Use correct function to
17955 start python interpreter from menu-bar (as reported by Geert
17956 Kloosterman).
17957 (inferior-python-mode-map): Fix typo.
17958 (python-shell-map): Remove.
17959
17960 2011-09-03 Deniz Dogan <deniz@dogan.se>
17961
17962 * net/rcirc.el (rcirc-print): Simplify code for
17963 rcirc-scroll-show-maximum-output. There is no need to walk
17964 through all windows to find the right one.
17965
17966 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
17967
17968 * help.el (help-return-method): Doc fix.
17969
17970 2011-09-03 Martin Rudalics <rudalics@gmx.at>
17971
17972 * window.el (window-deletable-p): Don't return a non-nil value
17973 when there's a buffer that was shown in the window before.
17974 (Bug#9419)
17975 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17976 Set window's previous buffers to nil.
17977
17978 2011-09-03 Eli Zaretskii <eliz@gnu.org>
17979
17980 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
17981 newline before and after the tag line, so it doesn't interfere
17982 with determining the paragraph direction of bidirectional text.
17983
17984 2011-09-03 Leo Liu <sdl.web@gmail.com>
17985
17986 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
17987
17988 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
17989
17990 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
17991 (pop-to-buffer): Change interactive spec. Pass second argument
17992 directly to display-buffer.
17993 (display-buffer): Fix interactive spec. Use functionp to
17994 distinguish between a function and a list of functions.
17995
17996 * abbrev.el (edit-abbrevs):
17997 * arc-mode.el (archive-extract):
17998 * autoinsert.el (auto-insert):
17999 * bookmark.el (bookmark-bmenu-list):
18000 * files.el (find-file):
18001 * view.el (view-buffer):
18002 * progmodes/compile.el (compilation-goto-locus):
18003 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18004
18005 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18006
18007 * window.el (display-buffer-alist): Doc fix.
18008 (display-buffer): Add docstring. Don't treat
18009 display-buffer-default specially.
18010 (display-buffer-reuse-selected-window)
18011 (display-buffer-same-window, display-buffer-maybe-same-window)
18012 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18013 (display-buffer-pop-up-window)
18014 (display-buffer-reuse-or-pop-window)
18015 (display-buffer-use-some-window): New functions.
18016 (display-buffer-default-action): Use them.
18017 (display-buffer-default): Delete.
18018 (pop-to-buffer-1): Fix choice of actions.
18019
18020 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18021
18022 * minibuffer.el (completion--insert-strings): Don't get confused by
18023 completion entries that end with an LF char.
18024
18025 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18026
18027 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18028
18029 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18030
18031 * window.el (display-buffer): Restore interactive spec.
18032 (display-buffer-same-window, display-buffer-other-window):
18033 New functions.
18034 (pop-to-buffer-1): New function. Use the above.
18035 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18036 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18037
18038 * view.el (view-buffer-other-window, view-buffer-other-frame):
18039 Just use pop-to-buffer.
18040
18041 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18042
18043 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18044
18045 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18046
18047 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18048
18049 2011-08-31 Richard Stallman <rms@gnu.org>
18050
18051 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18052 of the separation of rmail-view-buffer from rmail-buffer.
18053 If you say no to "replace original", the decrypt is in the
18054 view buffer. If you say yes, the decrypt goes into the
18055 rmail buffer also.
18056
18057 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18058
18059 * window.el (display-buffer-window): Rewrite doc-string.
18060 (display-buffer-record-window): New function.
18061 (display-buffer-macro-specifiers)
18062 (display-buffer-even-window-sizes, display-buffer-set-height)
18063 (display-buffer-set-width, display-buffer-in-window)
18064 (display-buffer-reuse-window, display-buffer-split-specifiers)
18065 (display-buffer-side-specifiers, display-buffer-split-window-1)
18066 (display-buffer-split-window, display-buffer-split-atom-window)
18067 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18068 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18069 (display-buffer-other-window-means-other-frame)
18070 (display-buffer-normalize-special)
18071 (display-buffer-normalize-default)
18072 (display-buffer-normalize-argument)
18073 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18074 (display-buffer-normalize-specifiers, display-buffer-frame)
18075 (display-buffer-same-window, display-buffer-same-frame)
18076 (display-buffer-other-window)
18077 (display-buffer-same-frame-other-window)
18078 (display-buffer-other-frame, pop-to-buffer-same-window)
18079 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18080 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18081 (switch-to-buffer-same-frame)
18082 (switch-to-buffer-other-window-same-frame)
18083 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18084 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18085 (display-buffer-alist-set): Remove.
18086 (display-buffer-function, special-display-buffer-names)
18087 (special-display-regexps, special-display-function):
18088 In doc-string refer to display-buffer-window and quit-restore
18089 parameter.
18090 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18091 (special-display-frame-alist, special-display-popup-frame)
18092 (same-window-buffer-names, same-window-regexps, same-window-p)
18093 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18094 (split-window-preferred-function, split-height-threshold)
18095 (split-width-threshold, window-splittable-p)
18096 (split-window-sensibly, window--try-to-split-window)
18097 (window--frame-usable-p, even-window-heights)
18098 (window--even-window-heights, window--display-buffer-1)
18099 (window--display-buffer-2, display-buffer-other-frame):
18100 Restore old Emacs 23 code, order and doc-strings where applicable.
18101 (display-buffer-default, display-buffer-assq-regexp): New functions.
18102 (display-buffer-alist): Rewrite doc-string.
18103 (display-buffer-default-action)
18104 (display-buffer-overriding-action): New variables.
18105 (display-buffer, switch-to-buffer): Rewrite.
18106 (pop-to-buffer): Restore Emacs 23 behavior but use
18107 window-normalize-buffer-to-display.
18108 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18109 Restore Emacs 23 behavior but use
18110 window-normalize-buffer-to-switch-to.
18111 (pop-to-buffer-same-window): Rewrite.
18112 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18113 Rewrite using Emacs 23 options.
18114
18115 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18116
18117 * net/tramp.el (tramp-root-regexp): Remove.
18118 (tramp-completion-file-name-regexp-unified)
18119 (tramp-completion-file-name-regexp-separate)
18120 (tramp-completion-file-name-regexp-url): Don't use leading volume
18121 letter on w32 systems. (Bug#5303, Bug#9311)
18122 (tramp-drop-volume-letter): Simplify definition.
18123 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18124
18125 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18126
18127 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18128 (bug#9356).
18129
18130 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18131
18132 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18133
18134 2011-08-29 Juri Linkov <juri@jurta.org>
18135
18136 * isearch.el (isearch-done): Don't display message "Mark saved"
18137 when arg `edit' is non-nil to prevent its flicker in the echo area.
18138
18139 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18140
18141 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18142 obsolete packages for deletion.
18143
18144 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18145
18146 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18147 (help-mode): Derive help-mode from special-mode. Don't invoke
18148 view-mode from help-mode.
18149 (help-xref-override-view-map): Remove.
18150 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18151 view-mode is not used anymore.
18152
18153 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18154
18155 * server.el (server-port): Doc fix.
18156
18157 * cus-theme.el (custom-theme-choose-mode): Inherit from
18158 special-mode (Bug#9124).
18159 (custom-theme-choose-mode-map): Add special-mode to parent.
18160
18161 2011-08-28 Alan Mackenzie <acm@muc.de>
18162
18163 * progmodes/cc-fonts.el
18164 (c-make-font-lock-BO-decl-search-function): New function.
18165 (c-basic-matchers-after - "Fontify the clauses after various
18166 keywords"): Extract the three keyword lists for the 3 erroneous
18167 constructs from the list of four, and use the new function above
18168 in place of an old one.
18169
18170 2011-08-28 Deniz Dogan <deniz@dogan.se>
18171
18172 * net/rcirc.el (rcirc-insert-prev-input)
18173 (rcirc-insert-next-input): Remove unused argument.
18174
18175 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18176
18177 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18178
18179 2011-08-27 Alan Mackenzie <acm@muc.de>
18180
18181 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18182 handle function pointer parameters properly.
18183
18184 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18185
18186 * window.el (display-buffer-reuse-window): Fix case where
18187 selected window was reused with non-nil OTHER-WINDOW argument.
18188 (Bug#9381)
18189
18190 2011-08-27 Deniz Dogan <deniz@dogan.se>
18191
18192 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18193 oftc's NickServ messages.
18194
18195 2011-08-27 Glenn Morris <rgm@gnu.org>
18196
18197 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18198
18199 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18200
18201 * emacs-lisp/package.el (package-install): Call package-initialize
18202 if called interactively.
18203
18204 2011-08-26 Leo Liu <sdl.web@gmail.com>
18205
18206 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18207
18208 2011-08-25 Juri Linkov <juri@jurta.org>
18209
18210 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18211 `search-whitespace-regexp' (bug#9364).
18212
18213 2011-08-25 Juri Linkov <juri@jurta.org>
18214
18215 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18216 `regexp-search-ring' to their global values to protect from
18217 updating by `read-from-minibuffer' (bug#9185).
18218
18219 2011-08-25 Juri Linkov <juri@jurta.org>
18220
18221 * textmodes/ispell.el (ispell-command-loop): Add newline
18222 at the end of the "Use option `i'..." line.
18223
18224 2011-08-25 Juri Linkov <juri@jurta.org>
18225
18226 * battery.el (display-battery-mode): If `battery-status-function'
18227 or `battery-mode-line-format' is nil, display the message and set
18228 `display-battery-mode' to nil (bug#9363).
18229
18230 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18231
18232 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18233 bidi-string-mark-left-to-right; they are unnecessary now.
18234
18235 2011-08-25 Deniz Dogan <deniz@dogan.se>
18236
18237 * net/quickurl.el: Documentation typo fixes.
18238
18239 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18240
18241 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18242
18243 2011-08-25 Glenn Morris <rgm@gnu.org>
18244
18245 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18246
18247 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18248 (smtpmail-via-smtp): Handle nil response from smtp.
18249
18250 2011-08-24 Juri Linkov <juri@jurta.org>
18251
18252 * proced.el (proced-marked): Inherit from `error' instead of
18253 `font-lock-warning-face'.
18254
18255 * ibuffer.el (ibuffer-marked-face): Change default face from
18256 `font-lock-warning-face' to `warning'.
18257 (ibuffer-deletion-face): Change default face from
18258 `font-lock-type-face' to `error'.
18259
18260 * battery.el (battery-update): Use the face `error' instead of
18261 `font-lock-warning-face' (bug#6117).
18262
18263 2011-08-24 Juri Linkov <juri@jurta.org>
18264
18265 * faces.el (success): Change face color from "Green3" to
18266 "ForestGreen" on light background (bug#9353).
18267
18268 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18269
18270 * window.el (quit-window): Rename from quit-restore-window.
18271 Use same arglist as old quit-window.
18272 (frame-auto-delete): Doc fix.
18273
18274 * view.el (view-mode-exit): Use quit-window.
18275
18276 2011-08-24 Juri Linkov <juri@jurta.org>
18277
18278 * isearch.el (isearch-ring-adjust1): Start visiting previous
18279 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18280 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18281 for empty search string (when the last search string is reused
18282 automatically) to adjust the isearch ring to the last element and
18283 prepare the correct index for further M-p commands (bug#9185).
18284
18285 2011-08-24 Kenichi Handa <handa@m17n.org>
18286
18287 * international/ucs-normalize.el: If decomposition property of
18288 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18289 nil.
18290 (nfd, nfkd): Likewise.
18291
18292 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18293
18294 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18295 from process filters aren't reliably transmitted to the surrounding
18296 accept-process-output.
18297 (mpc-proc-check): New function.
18298 (mpc-proc-sync): Use it (bug#8293)
18299
18300 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18301
18302 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18303 Add compatibility functions (bug#9313).
18304
18305 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18306
18307 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18308
18309 * international/uni-bidi.el: Regenerate.
18310
18311 2011-08-23 Kenichi Handa <handa@m17n.org>
18312
18313 * international/charprop.el:
18314 * international/uni-bidi.el:
18315 * international/uni-category.el:
18316 * international/uni-combining.el:
18317 * international/uni-comment.el:
18318 * international/uni-decimal.el:
18319 * international/uni-decomposition.el:
18320 * international/uni-digit.el:
18321 * international/uni-lowercase.el:
18322 * international/uni-mirrored.el:
18323 * international/uni-name.el:
18324 * international/uni-numeric.el:
18325 * international/uni-old-name.el:
18326 * international/uni-titlecase.el:
18327 * international/uni-uppercase.el: Regenerate.
18328
18329 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18330
18331 * help.el (help-window-setup): Fix message displayed when other
18332 window is reused. (Bug#9341)
18333
18334 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18335
18336 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18337 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18338
18339 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18340 Mark obsolete.
18341 * shell.el (shell-parse-pcomplete-arguments): New function.
18342 (shell-completion-vars): Use it instead (bug#9160).
18343
18344 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18345
18346 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18347 strings and comments (bug#9333).
18348
18349 * emacs-lisp/debug.el (debug-arglist): New function.
18350 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18351 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18352
18353 2011-08-22 Juri Linkov <juri@jurta.org>
18354
18355 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18356 Revert regexp that highlights output switches to its old
18357 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18358
18359 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18360 to check for empty output (bug#9226).
18361
18362 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18363
18364 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18365 symbol-constituent as the default, as that stops font-lock from
18366 working properly (Bug#8843).
18367
18368 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18369
18370 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18371 `coding-system-for-*' around the process open call to avoid
18372 auth-source side effects.
18373 (smtpmail-try-auth-methods): Expand the secret password.
18374 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18375 probe hangs.
18376
18377 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18378
18379 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18380
18381 * emacs-lisp/find-func.el (find-function-noselect): New arg
18382 lisp-only.
18383
18384 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18385 signal an error for built-in functions (Bug#6664).
18386
18387 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18388
18389 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18390 (smtpmail-try-auth-methods): Use it.
18391
18392 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18393
18394 * font-lock.el (font-lock-fontify-region)
18395 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18396 (font-lock-default-unfontify-buffer)
18397 (font-lock-default-fontify-region)
18398 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18399
18400 * progmodes/compile.el (compilation-error-properties):
18401 Fix confusion between file struct and message struct (Bug#9319).
18402 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18403 `ant' regexp.
18404
18405 * net/browse-url.el (browse-url-firefox): Don't call
18406 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18407
18408 2011-08-20 Glenn Morris <rgm@gnu.org>
18409
18410 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18411
18412 * tutorial.el (tutorial--default-keys): Update some default bindings.
18413
18414 * files.el (hack-local-variables): Fully ignore case for "mode:".
18415
18416 2011-08-20 Alan Mackenzie <acm@muc.de>
18417
18418 Resolve invalid use of a regexp in regexp-opt.
18419
18420 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18421 detection for a java annotation.
18422
18423 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18424 detection for a java annotation.
18425
18426 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18427 handling for java.
18428 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18429
18430 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18431
18432 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18433 (Bug#9274).
18434
18435 2011-08-20 Alan Mackenzie <acm@muc.de>
18436
18437 Fontify CPP expressions correctly when starting in the middle of
18438 such a construct. Mainly for when jit-lock etc. starts a chunk
18439 here.
18440
18441 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18442 variable.
18443 (c-make-font-lock-search-form): New function, extracted from
18444 c-make-font-lock-search-function.
18445 (c-make-font-lock-search-function): Use the above function.
18446 (c-make-font-lock-context-search-function): New function.
18447 (c-cpp-matchers): Enhance the preprocessor expression case with
18448 the above function
18449 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18450 which takes an expression.
18451
18452 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18453
18454 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18455
18456 * window.el (display-buffer-reuse-window)
18457 (display-buffer-pop-up-window): Don't reuse or split a side
18458 window.
18459
18460 2011-08-19 Glenn Morris <rgm@gnu.org>
18461
18462 * files.el (hack-local-variables-prop-line, hack-local-variables):
18463 Downcase "Mode:". (Bug#9331)
18464
18465 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18466
18467 * international/characters.el: Add L and R categories.
18468
18469 * subr.el (bidi-string-mark-left-to-right): Rename from
18470 string-mark-left-to-right. Use category search.
18471
18472 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18473
18474 2011-08-18 Juri Linkov <juri@jurta.org>
18475
18476 * faces.el (error, warning, success): New faces with definitions
18477 copied from old default values of `font-lock-warning-face',
18478 `compilation-warning', `compilation-info' (bug#6117).
18479
18480 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18481
18482 * progmodes/compile.el (compilation-error): Inherit from `error'.
18483 (compilation-warning): Inherit from `warning'.
18484 (compilation-info): Inherit from `success'.
18485
18486 * dired.el (dired-marked): Inherit from `warning'.
18487 (dired-flagged): Inherit from `error'.
18488
18489 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18490
18491 * mail/smtpmail.el (auth-source): Require to avoid problems with
18492 binding variables (bug#9298). Also clean up some unused
18493 autoloads.
18494
18495 * net/network-stream.el (network-stream-open-starttls):
18496 Support using starttls.el without using gnutls-cli.
18497
18498 2011-08-17 Juri Linkov <juri@jurta.org>
18499
18500 * progmodes/grep.el (rgrep): Handle the case when
18501 `grep-find-command' is a cons cell (bug#9278).
18502
18503 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18504
18505 * window.el (display-buffer-pop-up-frame): Run frame creation
18506 function with BUFFER current (as special-display-popup-frame
18507 does). Reported by Drew Adams.
18508
18509 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18510
18511 * epa-mail.el: Simplify GnuPG group expansion using
18512 epg-expand-group.
18513 (epa-mail-group-alist, epa-mail-group-modtime)
18514 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18515 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18516 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18517 Remove.
18518
18519 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18520
18521 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18522
18523 2011-08-16 Alan Mackenzie <acm@muc.de>
18524
18525 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18526 Correct, to avoid the inside of macros.
18527
18528 2011-08-16 Richard Stallman <rms@gnu.org>
18529
18530 * epa-mail.el: Handle GnuPG group definitions.
18531 (epa-mail-group-alist, epa-mail-group-modtime)
18532 (epa-mail-gnupg-conf-file): New variables.
18533 (epa-mail-parse-groups, epa-mail-sync-groups)
18534 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18535 (epa-mail-expand-recipients): New functions.
18536 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18537
18538 * mail/rmail.el (rmail-epa-decrypt): New command.
18539
18540 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18541 Don't bind buffer-read-only, just inhibit-read-only.
18542 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18543 (epa-decrypt-armor-in-region): Make error message clearer.
18544
18545 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18546
18547 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18548 and "a2b" to "ab" for `prefix'.
18549
18550 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18551
18552 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18553 filter groups.
18554 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18555 Fourquet (Bug#8804).
18556
18557 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18558
18559 * startup.el (argi): Declare as global variable (bug#9275).
18560
18561 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18562
18563 * subr.el (string-mark-left-to-right): Search the entire string
18564 for RTL script, not just the terminating character. Doc fix.
18565
18566 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18567
18568 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18569 New function.
18570 (js--regexp-literal, js-syntax-propertize-function): Remove.
18571 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18572 (js-mode-map): Don't rebind electric keys.
18573 (js-insert-and-indent): Remove.
18574 (js-mode): Setup electric-layout and electric-indent instead.
18575
18576 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18577
18578 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18579
18580 * epa.el (epa-progress-callback-function): Fix the logic of
18581 displaying progress.
18582 * epa-file.el (epa-file-insert-file-contents): Make progress
18583 display more user-friendly.
18584 (epa-file-write-region): Ditto.
18585
18586 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18587
18588 * subr.el (string-mark-left-to-right): New function.
18589
18590 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18591 Use string-mark-left-to-right.
18592 (list-buffers-noselect): Caller changed.
18593
18594 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18595 Use string-mark-left-to-right.
18596 (tabulated-list-print): Recenter after moving point.
18597
18598 2011-08-10 Juri Linkov <juri@jurta.org>
18599
18600 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18601 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18602 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18603
18604 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18605
18606 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18607 (Bug#7554).
18608
18609 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18610
18611 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18612 character. (Bug#6594)
18613
18614 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18615
18616 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18617 (image-dired--with-db-file): New macro.
18618 (image-dired-write-tags, image-dired-remove-tag)
18619 (image-dired-create-gallery-lists, image-dired-write-comments)
18620 (image-dired-get-comment, image-dired-mark-tagged-files)
18621 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18622 (image-dired-gallery-generate): Use insert-file-contents.
18623
18624 * time.el (display-time-world-list, display-time-world-display):
18625 * time-stamp.el (time-stamp-string):
18626 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18627 set-time-zone-rule (Bug#7337).
18628
18629 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18630
18631 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18632 (epg-error-to-string, epg-errors-to-string): New function.
18633 (epg-wait-for-completion): Reverse errors list.
18634 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18635 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18636 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18637 (epg-sign-keys, epg-generate-key-from-file)
18638 (epg-generate-key-from-string): Format errors by using
18639 epg-errors-to-string (bug#9255).
18640 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18641
18642 2011-08-07 Juri Linkov <juri@jurta.org>
18643
18644 * faces.el (list-faces-display): Remove extra angle bracket
18645 from `help-mode-map'.
18646
18647 * info.el (Info-history-toc-nodes): Doc fix.
18648
18649 * longlines.el (longlines-mode): Doc fix.
18650
18651 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18652
18653 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18654 of statements and in a few more cases (bug#9183).
18655
18656 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18657 New functions.
18658 (cl-transform-lambda): Use them (bug#9239).
18659
18660 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18661
18662 * window.el (display-buffer-same-window)
18663 (display-buffer-same-frame, display-buffer-other-window)
18664 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18665 (pop-to-buffer-other-window)
18666 (pop-to-buffer-same-frame-other-window)
18667 (pop-to-buffer-other-frame): Make them defuns.
18668 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18669
18670 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18671
18672 * subr.el (make-composed-keymap): Move from C. Change calling
18673 convention, and improve docstring to bring attention to a subtle point.
18674 * minibuffer.el (completing-read-default): Adjust accordingly.
18675
18676 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18677
18678 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18679 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18680
18681 * net/trampver.el: Update release number.
18682
18683 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18684
18685 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18686 "in" (bug#9190).
18687
18688 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18689
18690 * mail/sendmail.el (sendmail-query-once): Restore the current
18691 buffer after querying (bug#9074).
18692
18693 * dired.el (dired-flagged): Use different faces for marked and
18694 flagged files (bug#6117).
18695
18696 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18697 (bug#4433).
18698
18699 * ido.el (ido-mode): Switch off the message if called
18700 non-interactively.
18701
18702 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18703 before 587, since it appears that that's more likely to work for
18704 more people.
18705
18706 * cus-edit.el (custom-file): When running under emacs -q, always
18707 refuse to save the customizations, even if the .emacs file doesn't
18708 exist.
18709
18710 * info.el: Remove the `Info-beginning-of-buffer' function
18711 (bug#8325).
18712
18713 * net/network-stream.el (network-stream-open-starttls):
18714 Use `starttls-available-p' to see whether starttls.el can be used.
18715
18716 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18717
18718 * window.el (display-buffer-in-window): Don't set dedicated status
18719 of window here (Bug#9215).
18720 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18721 (display-buffer-pop-up-side-window)
18722 (display-buffer-in-side-window): Set dedicated status of window here.
18723
18724 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18725
18726 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18727 before binding generated-autoload-file.
18728
18729 2011-08-01 Deniz Dogan <deniz@dogan.se>
18730
18731 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18732
18733 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18734
18735 Sync with Tramp 2.2.2.
18736
18737 * net/trampver.el: Update release number.
18738
18739 2011-07-30 Juri Linkov <juri@jurta.org>
18740
18741 * dired-aux.el (dired-touch-initial): Remove function.
18742 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18743 current time, and `default' to the last modification time of the
18744 current marked file (bug#6887).
18745
18746 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18747
18748 * simple.el (goto-line): Use string-to-number to provide a
18749 numeric argument to read-number (bug#9163).
18750
18751 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18752
18753 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18754 connection process, it could be nil.
18755
18756 2011-07-27 Leo Liu <sdl.web@gmail.com>
18757
18758 Simplify url handling in rcirc-mode.
18759
18760 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18761 (rcirc-browse-url-at-mouse): Remove.
18762 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18763
18764 2011-07-26 Alan Mackenzie <acm@muc.de>
18765
18766 Fontify bitfield declarations properly.
18767
18768 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18769 (c-symbol-chars): Now exported as a lang variable.
18770 (c-not-primitive-type-keywords): New lang variable.
18771
18772 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18773 QT keyword "more" to prevent "more slots: ...." being spuriously
18774 parsed as a bitfield declaration.
18775
18776 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18777 Refactor and enhance to handle bitfield declarations.
18778 (c-punctuation-in): New function.
18779 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18780 declarations properly.
18781
18782 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18783
18784 * calendar/icalendar.el (icalendar--all-events): Take care of
18785 multiple vcalendars in a single file.
18786 (icalendar--convert-float-to-ical): Checkdoc fixes.
18787
18788 2011-07-25 Deniz Dogan <deniz@dogan.se>
18789
18790 * image.el (insert-image): Clarifying docstring.
18791
18792 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18793
18794 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18795 `tramp-send-command-and-check' if there is no error.
18796 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18797
18798 2011-07-22 Alan Mackenzie <acm@muc.de>
18799
18800 Prevent cc-langs.elc being loaded at run time.
18801
18802 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18803 cc-langs.
18804
18805 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18806 "(require 'cc-langs)". Quote a form so it will evaluate at
18807 (cc-mode's) compilation time.
18808
18809 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18810
18811 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18812 loading. (Bug#9114)
18813
18814 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18815
18816 * window.el (display-buffer-pop-up-window)
18817 (display-buffer-pop-up-side-window)
18818 (display-buffer-in-side-window): Call display-buffer-set-height
18819 and display-buffer-set-width after setting the new window's
18820 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18821
18822 2011-07-20 Sam Steingold <sds@gnu.org>
18823
18824 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18825 (etags-tags-included-tables): Call `convert-standard-filename' on
18826 the file names contained in TAGS so that windows Emacs can handle
18827 TAGS files created by cygwin ctags.
18828
18829 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18830
18831 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18832 which apparently didn't work.
18833
18834 2011-07-19 Roland Winkler <winkler@gnu.org>
18835
18836 * proced.el (proced-send-signal): For *Marked Processes* buffer
18837 put point at beginning of buffer.
18838
18839 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18840
18841 * proced.el (proced-format): Make header lines align with the text
18842 (bug#1779).
18843
18844 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18845
18846 * view.el (view-buffer): Allow running in `special' modes if we're
18847 visiting a file (bug#8615).
18848
18849 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18850
18851 * window.el (display-buffer-alist-of-strings-p)
18852 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18853 New functions.
18854 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18855 more accurately.
18856
18857 2011-07-18 Alan Mackenzie <acm@muc.de>
18858
18859 Fontify declarators properly when, e.g., a jit-lock chunk begins
18860 inside a declaration.
18861
18862 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18863
18864 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18865 New function.
18866 (c-complex-decl-matchers): Insert reference to
18867 c-font-lock-enclosing-decls.
18868
18869 * progmodes/cc-engine.el (c-backward-single-comment):
18870 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18871 to nil around calls to (forward-comment -1).
18872
18873 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18874
18875 * image.el (put-image): Doc typo fix.
18876
18877 * progmodes/etags.el (tags-search): Doc typo fix.
18878
18879 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18880 password if we get errors 550 to 554.
18881
18882 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18883
18884 * net/gnutls.el (gnutls-log-level): Remove.
18885
18886 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18887 indentation character (bug#6380).
18888
18889 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18890
18891 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18892 to clarify what the problem is (bug#4291).
18893
18894 * simple.el (current-kill): Clarify what
18895 `interprogram-paste-function' does (bug#7500).
18896 (auto-fill-mode): Document `auto-fill-function' in relation to
18897 `auto-fill-mode' (bug#2470).
18898
18899 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18900
18901 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
18902 method if slot is read-only (bug#9035).
18903
18904 2011-07-16 Martin Rudalics <rudalics@gmx.at>
18905
18906 * frame.el (select-frame-set-input-focus): New argument NORECORD.
18907 * window.el (pop-to-buffer): Select window used even if it was
18908 selected before, see discussion of (Bug#8615), (Bug#6954).
18909 Pass argument NORECORD on to select-frame-set-input-focus.
18910
18911 2011-07-15 Glenn Morris <rgm@gnu.org>
18912
18913 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
18914 Respect help-form.
18915
18916 2011-07-09 Lawrence Mitchell <wence@gmx.li>
18917
18918 * net/gnutls.el (gnutls-min-prime-bits): New variable.
18919 (gnutls-negotiate): Use it.
18920
18921 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18922
18923 * net/gnutls.el (gnutls-negotiate):
18924 Upcase `gnutls-algorithm-priority'.
18925
18926 2011-07-15 Glenn Morris <rgm@gnu.org>
18927
18928 * jka-compr.el (jka-compr-verbose): Move from here...
18929 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
18930 Add missing :version tag.
18931 * info.el: No need to require jka-compr when compiling.
18932
18933 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18934
18935 * net/gnutls.el (gnutls-algorithm-priority): New variable.
18936 (gnutls-negotiate): Use it.
18937
18938 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
18939
18940 * info.el (Info-beginning-of-buffer): New command.
18941 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
18942 announcing `b' as the key (bug#8325).
18943 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
18944
18945 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
18946
18947 * international/mule-cmds.el
18948 (describe-specified-language-support): Make the error message
18949 clearer (bug#8905).
18950
18951 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
18952
18953 * isearch.el (isearch-barrier): Add a doc string, since it's
18954 mentioned in a function doc string (bug#8678).
18955
18956 2011-07-15 Martin Rudalics <rudalics@gmx.at>
18957
18958 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
18959 buffer argument (Bug#9083) and self-identifying label argument.
18960
18961 2011-07-15 Glenn Morris <rgm@gnu.org>
18962
18963 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
18964
18965 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18966
18967 * man.el (Man-fontify-manpage): Fix message when formatting the
18968 man page (bug#7929).
18969
18970 2011-07-14 Eli Zaretskii <eliz@gnu.org>
18971
18972 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
18973 argument LRM; if non-nil, append an invisible LRM character to the
18974 buffer name.
18975 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
18976 last argument non-nil, when formatting buffer names.
18977 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
18978 paragraph direction.
18979
18980 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18981
18982 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
18983 the man page name (bug#7929).
18984
18985 * image.el (put-image): Mention the `put-image' overlay property
18986 (bug#7834).
18987
18988 * scroll-bar.el (set-scroll-bar-mode): Mention that
18989 `scroll-bar-mode' lists the values (bug#7772).
18990
18991 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
18992 command (bug#7729).
18993
18994 * rect.el (apply-on-rectangle): Return the point after the last
18995 operation.
18996 (string-rectangle): Go to the point after the last operation
18997 (bug#7522).
18998
18999 * printing.el (pr-toggle-region): Clarify the documentation
19000 slightly (bug#7493).
19001
19002 * time.el (display-time-update):
19003 Allow `display-time-mail-function' to return nil (bug#7158).
19004 Fix suggested by Detlev Zundel.
19005
19006 * vc/diff.el (diff): Clarify the order the file names are read
19007 (bug#7111).
19008
19009 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19010 the doc string (bug#7015).
19011
19012 * font-lock.el (font-lock-maximum-decoration): Mention what
19013 numeric levels mean (bug#6935).
19014
19015 * startup.el (initial-buffer-choice): Don't mention the `none'
19016 selection, which is against policy.
19017
19018 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19019
19020 * window.el (display-buffer-normalize-special):
19021 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19022
19023 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19024
19025 * subr.el (version<, version<=, version=): Mention "-CVS" and
19026 "-12345" alpha version numbers.
19027
19028 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19029
19030 * bindings.el: Add advertised binding for set-mark-command
19031 (Bug#5772).
19032
19033 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19034
19035 * bindings.el (mode-line-other-buffer):
19036 * bookmark.el (bookmark-bmenu-2-window):
19037 * bs.el (bs-cycle-next, bs-cycle-previous):
19038 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19039 switch-to-buffer.
19040
19041 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19042 Delete.
19043
19044 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19045
19046 * follow.el (follow-debug-message, follow-redisplay):
19047 * jka-cmpr-hook.el (with-auto-compression-mode):
19048 Fix typos in docstrings.
19049
19050 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19051
19052 * subr.el (with-silent-modifications): Clarify somewhat what the
19053 macro inhibits (bug#6525).
19054
19055 * simple.el (eval-expression): Note what it does if called
19056 interactively (bug#6495).
19057
19058 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19059
19060 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19061 Use pop-to-buffer buffer-or-name if it is nil.
19062
19063 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19064 Remove switch-to-buffer.
19065
19066 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19067
19068 * files.el (make-directory): Clarify that an error will be raised
19069 if there's an error (bug#6397).
19070
19071 * startup.el (initial-buffer-choice): Add `none' as a choice
19072 (bug#6234).
19073
19074 * subr.el (add-hook): Clarify section about buffer-local hooks
19075 (bug#6218).
19076
19077 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19078
19079 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19080
19081 * tabify.el (untabify): Preserve the current column so that point
19082 doesn't move (bug#6032).
19083
19084 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19085
19086 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19087 Rewrite to avoid awkward possessive "s" (bug#5986).
19088
19089 2011-07-13 Glenn Morris <rgm@gnu.org>
19090
19091 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19092 (dired-insert-directory): Give a message the first time
19093 if ls is found not to support --dired.
19094
19095 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19096
19097 * simple.el (toggle-truncate-lines): Clarify what is toggled
19098 (bug#5580). Text by Drew Adams.
19099
19100 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19101
19102 * simple.el (blink-matching-open): Make the error message from the
19103 last change less verbose.
19104
19105 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19106
19107 * font-lock.el (font-lock-comment-face): Use the high contrast
19108 "yellow" color for font-lock-comment-face on low color terminals
19109 using a dark background color (bug#4221).
19110
19111 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19112
19113 * dired.el (dired-insert-set-properties): Make the doc string
19114 reflect what it does now (bug#5325).
19115
19116 * simple.el (blink-matching-open): Say that we were unable to find
19117 the match within the limit, if we're limited (bug#5122).
19118
19119 * international/mule-cmds.el (prefer-coding-system): Add an
19120 example (bug#4869).
19121
19122 * progmodes/etags.el (tags-search): Document `file-list-form'
19123 (bug#4731).
19124
19125 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19126
19127 * net/browse-url.el (browse-url-default-browser)
19128 (browse-url-browser-function): Make the default browser choice a
19129 bit more logical (bug#4300). Also clean up the doc string.
19130
19131 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19132
19133 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19134 binary endings (bug#4440).
19135
19136 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19137
19138 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19139 which can be pretty annoying (bug#8971).
19140
19141 * jka-compr.el (jka-compr-verbose): New variable, and use
19142 throughout (bug#8971).
19143
19144 * info.el (Info-find-file): Fall back on the installation
19145 directory if we can't find the info node anywhere else.
19146
19147 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19148
19149 * vc/vc.el (vc-revert-file):
19150 Don't set file time-stamp in the past. (Bug#5181)
19151
19152 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19153
19154 * files.el (after-find-file): Give a better error message when
19155 trying to find a symlink that points to a file that doesn't exist
19156 (bug#4398).
19157
19158 * progmodes/cc-vars.el: Remove (probably) misleading comment
19159 (bug#4396).
19160
19161 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19162
19163 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19164
19165 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19166
19167 * mouse-sel.el: Hack restoring functionality, while keeping
19168 compatibility with 2010-07-03 changes to mouse selection.
19169 (mouse-sel-primary-overlay): New var.
19170 (mouse-sel-selection-alist): Use it.
19171 (mouse-sel-mode): Doc fix; remove points that are default features
19172 of mouse.el.
19173
19174 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19175
19176 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19177 Fix previous fix (bug#2490).
19178
19179 2011-07-12 Roland Winkler <winkler@gnu.org>
19180
19181 * textmodes/bibtex.el (bibtex-initialize):
19182 Use pop-to-buffer-same-window.
19183 (bibtex-search-entries): Fix interactive call.
19184
19185 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19186
19187 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19188 Fontise bytecomp Error lines more correctly (bug#2490).
19189 Fix suggested by Johan Bockgård.
19190
19191 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19192
19193 * dired-x.el (dired-guess-default): Use `delete-dups'.
19194
19195 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19196
19197 * dired.el (dired-mark-prompt):
19198 * dired-aux.el (dired-read-shell-command): Doc fix.
19199
19200 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19201
19202 * mail/sendmail.el (sendmail-query-once):
19203 Use `customize-save-variable' unconditionally, now that it works under
19204 emacs -Q.
19205
19206 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19207
19208 * cus-edit.el (custom-file): Take an optional no-error variable.
19209 (customize-save-variable): Set the variable, and give a warning if
19210 running under "emacs -q".
19211
19212 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19213
19214 * loadhist.el (unload-feature-special-hooks):
19215 Add `auto-coding-functions', `fill-nobreak-predicate' and
19216 `find-directory-functions' (bug#5327).
19217
19218 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19219
19220 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19221
19222 * cus-edit.el (custom-guess-name-alist): -alist variables should
19223 use the `alist' type (bug#3120). Suggested by Drew Adams.
19224
19225 * printing.el: Add documentation to all the `pr-toggle-' commands.
19226
19227 2011-07-11 Leo Liu <sdl.web@gmail.com>
19228
19229 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19230 backends where it makes sense (bug#2623).
19231
19232 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19233
19234 * dired-x.el (dired-guess-default): Remove duplicate shell command
19235 entries (bug#2028).
19236 (dired-guess-default): Fix grammar in doc string (bug#2028).
19237 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19238
19239 * subr.el (remove-duplicates): New conveniency function.
19240
19241 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19242
19243 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19244 (bug#1526).
19245
19246 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19247
19248 * window.el (display-buffer-normalize-default): Don't invert
19249 meaning of even-window-heights. Reported by Eli Zaretskii
19250 <eliz@gnu.org>.
19251
19252 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19253
19254 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19255
19256 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19257
19258 * window.el (display-buffer): Fix arguments to
19259 display-buffer-reuse-window in last change.
19260
19261 * faces.el (link): Use a less saturated blue on light backgrounds.
19262
19263 * startup.el (fancy-startup-text, fancy-about-text)
19264 (fancy-startup-tail): Use font-lock faces, for background safety.
19265
19266 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19267
19268 * emulation/viper-cmd.el (viper-change-state-to-vi):
19269 Limit triggering of abbrev expansion (Bug#9038).
19270
19271 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19272
19273 * window.el (display-buffer-default-specifiers): Remove.
19274 (display-buffer-macro-specifiers): Remove default specifiers.
19275 (display-buffer-alist): Default to nil.
19276 (display-buffer-reuse-window): New optional argument other-window.
19277 (display-buffer-pop-up-window): Allow splitting internal
19278 windows. Check whether a live window was created.
19279 (display-buffer-other-window-means-other-frame)
19280 (display-buffer-normalize-arguments): Rename to
19281 display-buffer-normalize-argument and rewrite. Set the
19282 other-window specifier.
19283 (display-buffer-normalize-special): New function.
19284 (display-buffer-normalize-options): Rename to
19285 display-buffer-normalize-default and rewrite.
19286 (display-buffer-normalize-options-inhibit): Remove.
19287 (display-buffer-normalize-specifiers): Rewrite.
19288 (display-buffer): Process other-window specifier and call
19289 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19290 more faithfully.
19291 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19292 (display-buffer-alist-set): Don't handle 'unset default values.
19293 (display-buffer-in-window, display-buffer-alist-set):
19294 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19295 <tassilo@member.fsf.org>.
19296
19297 2011-07-09 Leo Liu <sdl.web@gmail.com>
19298
19299 * register.el (insert-register): Restore accidental change on
19300 2011-06-26. (Bug#9028)
19301
19302 2011-07-09 Glenn Morris <rgm@gnu.org>
19303
19304 * subr.el (remq): Handle the empty list. (Bug#9024)
19305
19306 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19307
19308 * mail/sendmail.el (send-mail-function): No longer delay custom
19309 initialization.
19310 * custom.el (custom-initialize-delay): Doc fix.
19311
19312 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19313
19314 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19315
19316 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19317
19318 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19319 human-friendly prompt.
19320
19321 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19322
19323 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19324 provided by a particular plugin.
19325
19326 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19327
19328 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19329 save customizations (with "emacs -Q"), just set the variable
19330 instead of erroring out.
19331
19332 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19333
19334 2011-07-08 Juri Linkov <juri@jurta.org>
19335
19336 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19337 (archive-zip-update-case): Use 7z if found by `executable-find'.
19338 The order of searching the available programs is the same as in
19339 `archive-zip-extract' (bug#8968).
19340
19341 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19342
19343 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19344 (menu-bar-options-menu): Tweak descriptions.
19345
19346 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19347
19348 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19349 menu items into verb phrases (bug#1421). Also refill to fit under
19350 80 columns.
19351
19352 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19353
19354 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19355 (Info-read-node-name): Doc fix (Bug#1084).
19356
19357 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19358 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19359 (end-of-sexp, beginning-of-sexp)
19360 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19361 (forward-symbol, forward-same-syntax, word-at-point)
19362 (sentence-at-point): Doc fix (Bug#1144).
19363
19364 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19365
19366 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19367 should cover it (bug#1281).
19368
19369 * cus-edit.el (custom-show): Mark as obsolete.
19370
19371 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19372 negotiation fails, then possibly try again with a non-encrypted
19373 connection (bug#9017).
19374
19375 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19376 be used.
19377
19378 2011-07-07 Richard Stallman <rms@gnu.org>
19379
19380 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19381 property, and handle its changed format.
19382 Look for the correct line number.
19383 Use file's line contents (but not past first =) to find
19384 correct line in message.
19385
19386 2011-07-07 Kenichi Handa <handa@m17n.org>
19387
19388 * international/characters.el (build-unicode-category-table):
19389 Delete it.
19390 (unicode-category-table): Set it by unicode-property-table-internal.
19391
19392 * international/mule-cmds.el (char-code-property-alist): Move to
19393 to src/chartab.c.
19394 (get-char-code-property): Call unicode-property-table-internal to
19395 load a file. Call get-unicode-property-internal where necessary.
19396 (put-char-code-property): Call unicode-property-table-internal to
19397 load a file. Call put-unicode-property-internal where necessary.
19398 put-unicode-property-internal where necessary.
19399 (char-code-property-description):
19400 Call unicode-property-table-internal to load a file.
19401
19402 * international/charprop.el:
19403 * international/uni-bidi.el:
19404 * international/uni-category.el:
19405 * international/uni-combining.el:
19406 * international/uni-comment.el:
19407 * international/uni-decimal.el:
19408 * international/uni-decomposition.el:
19409 * international/uni-digit.el:
19410 * international/uni-lowercase.el:
19411 * international/uni-mirrored.el:
19412 * international/uni-name.el:
19413 * international/uni-numeric.el:
19414 * international/uni-old-name.el:
19415 * international/uni-titlecase.el:
19416 * international/uni-uppercase.el: Regenerate.
19417
19418 * loadup.el: Load international/charprop.el before
19419 international/characters.
19420
19421 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19422
19423 * window.el (next-buffer, previous-buffer): Signal an error if
19424 called from a minibuffer window.
19425
19426 * bindings.el: Revert 2011-07-04 change.
19427
19428 2011-07-06 Richard Stallman <rms@gnu.org>
19429
19430 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19431 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19432 Treat markers like ints.
19433 (rmail-mime-entity): Doc fix.
19434
19435 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19436
19437 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19438 defcustom again for backwards compatibility.
19439
19440 * simple.el (shell-command-on-region): Fill.
19441
19442 * dired-aux.el (dired-kill-line): Add a doc string.
19443
19444 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19445 to "\\sw\\|\\s_" (bug#358).
19446
19447 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19448 (dired-unmark-backward): Ditto.
19449 (dired-flag-backup-files): Ditto.
19450
19451 * dired-x.el (dired-mark-sexp): Ditto.
19452
19453 2011-07-06 Richard Stallman <rms@gnu.org>
19454
19455 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19456 (rmail-mime-entity): New arg TRUNCATED.
19457 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19458 New functions.
19459 (rmail-mime-save): Warn if entity is truncated.
19460 (rmail-mime-toggle-hidden): Likewise, for showing.
19461 (rmail-mime-process-multipart): Record when an entity is truncated.
19462
19463 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19464 if ENTITY is a string.
19465
19466 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19467
19468 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19469 of faces when `M-C-x'-ing their definitions (bug#8378).
19470 Also clean up the code slightly.
19471
19472 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19473 because that makes the colors go away.
19474
19475 * mail/sendmail.el (send-mail-function): Change the default to
19476 `sendmail-query-once'.
19477 (sendmail-query-once): Add an autoload cookie.
19478
19479 * net/network-stream.el (network-stream-open-starttls): Try using
19480 a plain connection even if the server offered STARTTLS, and we
19481 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19482 capability. This should make smtpmail.el work in slightly more
19483 configurations.
19484
19485 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19486
19487 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19488 New defun.
19489 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19490
19491 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19492
19493 * progmodes/sql.el: Version 3.0
19494 (sql-product-alist): Add product :completion-object,
19495 :completion-column, and :statement attributes.
19496 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19497 (sql-mode-syntax-table): Mark all punctuation.
19498 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19499 ansi keywords.
19500 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19501 (sql-mode-oracle-font-lock-keywords): Improve.
19502 (sql-oracle-show-reserved-words): New function for development.
19503 (sql-product-font-lock): Simplify for source code buffers.
19504 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19505 New functions.
19506 (sql-highlight-product): Set product specific syntax table.
19507 (sql-mode-map): Add statement movement functions.
19508 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19509 New variable.
19510 (sql-statement-regexp, sql-beginning-of-statement)
19511 (sql-end-of-statement, sql-signum): New functions.
19512 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19513 (sql-show-sqli-buffer): Bug fix.
19514 (sql-interactive-mode): Store connection data as buffer local.
19515 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19516 with sql-interactive-mode.
19517 (sql-save-connection): Save buffer local settings.
19518 (sql-connection-menu-filter): Change menu entry name.
19519 (sql-product-interactive): Bug fix.
19520 (sql-preoutput-hold): New variable.
19521 (sql-interactive-remove-continuation-prompt): Bug fixes.
19522 (sql-debug-redirect): New variable.
19523 (sql-str-literal): New function.
19524 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19525 Redesign.
19526 (sql-oracle-save-settings, sql-oracle-restore-settings)
19527 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19528 (sql-completion-object, sql-completion-column)
19529 (sql-completion-sqlbuf): New variables.
19530 (sql-build-completions-1, sql-build-completions)
19531 (sql-try-completion): New functions.
19532 (sql-read-table-name): Use them.
19533 (sql-contains-names): New buffer local variable.
19534 (sql-list-all, sql-list-table): Use it.
19535 (sql-oracle-completion-types): New variable.
19536 (sql-oracle-completion-object, sql-sqlite-completion-object)
19537 (sql-postgres-completion-object): New functions.
19538
19539 2011-07-06 Glenn Morris <rgm@gnu.org>
19540
19541 * window.el (pop-to-buffer): Doc fix.
19542
19543 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19544
19545 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19546
19547 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19548
19549 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19550
19551 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19552
19553 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19554
19555 * button.el (button): Inherit from link face. Suggested by Dan
19556 Nicolaescu.
19557
19558 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19559
19560 * progmodes/gdb-mi.el: Fit in 80 columns.
19561 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19562 switch-to-buffer.
19563
19564 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19565 if imenu is simply not configured (bug#8941).
19566
19567 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19568
19569 * allout.el (allout-post-undo-hook): New allout outline-change
19570 event hook to signal undo activity.
19571 (allout-post-command-business): Run allout-post-undo-hook if an
19572 undo just occurred.
19573 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19574 * allout-widgets.el (allout-widgets-after-undo-function):
19575 Ensure the integrity of the current item's decoration after it has been
19576 in the vicinity of an undo.
19577 (allout-widgets-mode): Include allout-widgets-after-undo-function
19578 on the new allout-post-undo-hook.
19579
19580 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19581
19582 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19583 Let define-derived-mode define it.
19584 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19585 cycles of abbrev-table inheritance (bug#8998).
19586
19587 2011-07-05 Roland Winkler <winkler@gnu.org>
19588
19589 * textmodes/bibtex.el: Add support for biblatex.
19590 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19591 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19592 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19593 (bibtex-entry-alist, bibtex-field-alist): New variables.
19594 (bibtex-entry-field-alist): Obsolete alias for
19595 bibtex-BibTeX-entry-alist.
19596 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19597 (bibtex-set-dialect): New command.
19598 (bibtex-entry-type, bibtex-entry-head)
19599 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19600 Bind via bibtex-set-dialect.
19601 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19602 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19603 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19604 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19605 Define via bibtex-set-dialect.
19606 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19607 Obey bibtex-no-opt-remove-re.
19608 (bibtex-vec-push, bibtex-vec-incr): New functions.
19609 (bibtex-format-entry, bibtex-field-list)
19610 (bibtex-print-help-message, bibtex-validate)
19611 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19612
19613 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19614
19615 * progmodes/compile.el (compilation-goto-locus):
19616 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19617 * bs.el (bs-cycle-next, bs-cycle-previous):
19618 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19619 * bindings.el (mode-line-other-buffer):
19620 * autoinsert.el (auto-insert):
19621 * arc-mode.el (archive-extract):
19622 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19623
19624 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19625
19626 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19627 Fix check of `emacs-lock-unlockable-modes'.
19628 Coerce true values of `emacs-lock--try-unlocking' to t.
19629
19630 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19631
19632 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19633 * emacs-lock.el: New file.
19634
19635 2011-07-05 Julien Danjou <julien@danjou.info>
19636
19637 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19638 than `boundp' to check if face is set.
19639
19640 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19641
19642 * register.el (registerv-make):
19643 * window.el (window-min-height): Fix typos in docstrings.
19644
19645 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19646
19647 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19648 Update doc string.
19649
19650 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19651
19652 * server.el (server-execute): Catch quit and call
19653 `server-return-error' to pass the error back to emacsclient and
19654 close the connection (bug#8942).
19655
19656 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19657
19658 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19659 insecure exception for current topic. Also note that auto-saves
19660 are handled differently.
19661
19662 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19663 State variables for tracking auto-save inhibition situation.
19664
19665 (allout-write-contents-hook-handler): Rename from
19666 'allout-write-file-hook-handler', and describe how it depends on
19667 write-contents-functions sensitivity to non-nil value to prevent
19668 file write.
19669
19670 (allout-auto-save-hook-handler): Remove. auto-save does not check
19671 this in individual buffers, only in the starting buffer, so this
19672 is not the right way for us to inhibit auto-save in a buffer
19673 according to its condition.
19674
19675 (allout-mode): Use new allout-write-contents-hook-handler, and
19676 only with write-contents-functions. Remove auto-save provisions -
19677 they're implemented elsewhere.
19678
19679 (allout-before-change-handler): If undo is in progress, note that
19680 for attention of allout-post-command-business.
19681
19682 (allout-post-command-business): If the command we're following was
19683 an undo, check for change in the status of encrypted items and
19684 adjust auto-save inhibitions accordingly.
19685
19686 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19687 according to whether there are or aren't any plain-text topics
19688 pending encryption.
19689
19690 (allout-inhibit-auto-save-info-for-decryption):
19691 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19692 if there are plain-text topics pending encryption.
19693
19694 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19695 buffer-saved-size and some allout state to not inhibit auto-saves
19696 if there are no longer any plain-text topics pending encryption.
19697
19698 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19699 No longer provide for exemption of the current topic.
19700
19701 2011-07-04 Juri Linkov <juri@jurta.org>
19702
19703 Add 7z operations to delete and save changed members (bug#8968).
19704 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19705 New defcustoms.
19706 (archive-7z-write-file-member): New function.
19707 (archive-7z-summarize): Fix the number of dashes in the
19708 listing output.
19709
19710 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19711
19712 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19713 (bug#8958).
19714
19715 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19716
19717 * bindings.el: Ignore next-buffer and previous-buffer in
19718 minibuffer-local-map.
19719
19720 * font-lock.el (font-lock-builtin-face): Change light background
19721 color to dark slate blue (Bug#6693).
19722
19723 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19724
19725 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19726
19727 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19728
19729 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19730 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19731 Add switch-to-buffer.
19732
19733 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19734
19735 * isearch.el (isearch-search-fun-function): Clarify further the
19736 meaning of the function returned.
19737
19738 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19739
19740 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19741
19742 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19743 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19744 Use it.
19745 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19746 `tramp-default-remote-path' does not exist.
19747 (tramp-send-command-and-read): New optional argument NOERROR.
19748 (tramp-open-connection-setup-interactive-shell)
19749 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19750 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19751 (tramp-process-sentinel): Flush also process' connection property.
19752 (tramp-sh-handle-start-file-process): Do not set process
19753 sentinel. It is done now ...
19754 (tramp-maybe-open-connection): ... here. (Bug#8929)
19755
19756 2011-07-04 MON KEY <monkey@sandpframing.com>
19757
19758 * play/animate.el (animate-string): Doc fixes and allow changing
19759 the buffer name (bug#5417).
19760
19761 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19762
19763 * play/animate.el (animation-buffer-name): Rename from *animate*.
19764
19765 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19766
19767 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19768 This is simpler and helps future-proof the code.
19769 (timer-until): Use time-subtract and float-time.
19770 (timer--time-less-p): Use time-less-p.
19771
19772 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19773
19774 * type-break.el (timep): Use the value of `float-time' to avoid a
19775 byte-compiler warning.
19776
19777 * server.el (server-eval-and-print): Return any result, even nil.
19778
19779 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19780
19781 * type-break.el: Accept time formats that the builtins accept.
19782 (timep, type-break-time-difference): Accept any format that
19783 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19784 This is simpler and helps future-proof the code.
19785 (type-break-time-difference): Round rather than ignoring
19786 subseconds components.
19787
19788 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19789
19790 * info.el (Info-apropos-matches): Make non-interactive, since it
19791 doesn't seem to do anything useful as a command (bug#8829).
19792
19793 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19794
19795 * frame.el (frame-background-mode, frame-set-background-mode):
19796 Move from faces.el.
19797 (frame-default-terminal-background): New function.
19798
19799 * custom.el (custom-push-theme): Don't record faces in `changed'
19800 theme; this doesn't work correctly for per-frame face settings.
19801 (disable-theme): Use face-set-after-frame-default to reset faces.
19802 (custom--frame-color-default): New function.
19803
19804 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19805
19806 * dired.el (dired-flagging-regexp): Remove unused variable
19807 (bug#8769).
19808
19809 2011-03-29 Kevin Ryde <user42@zip.com.au>
19810
19811 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19812 `perl-Test2' extend to match possible "fail #N" rep count
19813 (bug#8377).
19814
19815 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19816
19817 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19818 `smtpmail-via-smtp' now returns the error instead of nil.
19819
19820 * isearch.el (isearch-search-fun-function): Clarify the doc string
19821 (bug#8101).
19822
19823 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19824
19825 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19826 unnecessary spaces (bug#8987).
19827
19828 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19829
19830 * net/network-stream.el (open-network-stream): Use the
19831 :end-of-capability command thoughout.
19832
19833 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19834
19835 * net/network-stream.el (open-network-stream): Add the
19836 :end-of-capability command parameter, used by pop3.el.
19837
19838 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19839
19840 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19841
19842 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19843 for list)" (bug#6475).
19844
19845 * files.el (file-expand-wildcards): Ignore non-readable
19846 sub-directories while trying to find matches instead of signaling
19847 an error (bug#6297).
19848
19849 * man.el (Man-reference-regexp): Allow matching possible
19850 word-wrapped references (bug#6289).
19851
19852 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19853 for consistency with the other vc buffers (bug#6197).
19854 (vc-checkin): Ditto.
19855
19856 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19857
19858 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19859
19860 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19861
19862 * custom.el (defcustom): Clarify that :set is only used in the
19863 Customize user interface (bug#6089).
19864
19865 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19866 associated with a file, refuse to run instead of erroring out
19867 (bug#6084).
19868
19869 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19870 the doc string, since it appears that using `fill-column' always
19871 controls the width (bug#7845).
19872
19873 * simple.el (shell-command-on-region): Say where the error output
19874 went if `shell-command-default-error-buffer' is set (bug#6857).
19875
19876 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19877
19878 * allout.el (allout-yank-processing): Adjust cursor position for
19879 backwards-deleted space.
19880
19881 (allout-rebullet-heading): Register changes with
19882 allout-exposure-changed-hook, so the modified topic is properly
19883 decorated.
19884
19885 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19886
19887 * minibuffer.el (completion-in-region): Document PREDICATE
19888 (bug#7136).
19889
19890 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19891 of keyword/argument pairs (bug#6904).
19892
19893 * replace.el (multi-occur):
19894 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19895
19896 2011-07-02 Drew Adams <drew.adams@oracle.com>
19897
19898 * dired.el (dired-mark-if): Make the message about whether it's
19899 marking or unmarking clearer (bug#8523).
19900
19901 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19902
19903 * disp-table.el (display-table-print-array): New function.
19904 (describe-display-table): Use it to print the vectors more pretty
19905 (Bug#8859).
19906
19907 2011-07-02 Martin Rudalics <rudalics@gmx.at>
19908
19909 * window.el (window-state-get-1): Don't assign clone numbers.
19910 Add clone-of item to list of window parameters.
19911 (window-state-put-2): Don't process clone numbers.
19912 (display-buffer-alist): Fix doc-string.
19913
19914 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
19915
19916 * subr.el (remq): Don't allocate if it's not needed.
19917 (keymap--menu-item-binding, keymap--menu-item-with-binding)
19918 (keymap--merge-bindings): New functions.
19919 (keymap-canonicalize): Use them to refine the canonicalization.
19920 * minibuffer.el (minibuffer-local-completion-map)
19921 (minibuffer-local-must-match-map): Move initialization from C.
19922 (minibuffer-local-filename-completion-map): Move initialization from C;
19923 don't inherit from anything here.
19924 (minibuffer-local-filename-must-match-map): Make obsolete.
19925 (completing-read-default): Use make-composed-keymap to combine
19926 minibuffer-local-filename-completion-map with either
19927 minibuffer-local-must-match-map or
19928 minibuffer-local-filename-completion-map.
19929
19930 2011-07-01 Glenn Morris <rgm@gnu.org>
19931
19932 * type-break.el (type-break-time-sum): Use dolist.
19933
19934 * textmodes/flyspell.el (flyspell-word-search-backward):
19935 Replace CL function.
19936
19937 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
19938
19939 * mouse.el (mouse--strip-first-event): New function.
19940 (function-key-map): Use it to map fringe clicks to normal clicks
19941 by default.
19942
19943 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
19944 (vc-bzr-revision-completion-table): Add support for annotate and date.
19945
19946 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
19947 inherit from parent.
19948
19949 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19950
19951 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
19952 (dired-show-file-type): Doc fixup (bug#8818).
19953
19954 * dired.el (dired-mode): Fix up the doc string as suggested by
19955 Drew Adams (bug#8817).
19956
19957 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
19958 cookie, since the manual says that it should be possible to add
19959 this function to `find-file-hook' (bug#8709).
19960
19961 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
19962
19963 * progmodes/cfengine.el: Moved all cfengine3.el functionality
19964 here. Noted Ted Zlatanov as the maintainer.
19965 (cfengine-common-settings, cfengine-common-syntax): New functions
19966 to set up common things between `cfengine-mode' and
19967 `cfengine3-mode'.
19968 (cfengine3-mode): New mode.
19969 (cfengine3-defuns cfengine3-defuns-regex
19970 (cfengine3-class-selector-regex cfengine3-category-regex)
19971 (cfengine3-vartypes cfengine3-font-lock-keywords)
19972 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
19973 (cfengine3-indent-line): Add from cfengine3.el.
19974
19975 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
19976
19977 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
19978
19979 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
19980
19981 2011-07-01 Martin Rudalics <rudalics@gmx.at>
19982
19983 * window.el (same-window-buffer-names, same-window-regexps)
19984 (same-window-p, special-display-frame-alist)
19985 (special-display-popup-frame, special-display-function)
19986 (special-display-buffer-names, special-display-regexps)
19987 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
19988 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19989 (split-window-preferred-function, split-height-threshold)
19990 (split-width-threshold, even-window-heights)
19991 (display-buffer-mark-dedicated, window-splittable-p)
19992 (split-window-sensibly, window-safely-shrinkable-p):
19993 Un-obsolete.
19994 (display-buffer): Don't spread args with function specifier
19995 because special-display-popup-frame won't like it.
19996
19997 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
19998
19999 Time-stamp simplifications and fixes.
20000 These improve accuracy slightly, and future-proof the code
20001 against some potential changes to current-time format.
20002
20003 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20004 by using time-since and float-time.
20005
20006 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20007 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20008 + NNN microseconds".
20009
20010 * type-break.el (type-break-time-sum): Rewrite using time-add.
20011
20012 * play/hanoi.el (hanoi-current-time-float): Remove.
20013 All uses replaced by float-time.
20014
20015 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20016 This yields a more-accurate answer.
20017 (rng-time-to-float): Remove; no longer needed.
20018
20019 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20020
20021 * calendar/timeclock.el (timeclock-seconds-to-time):
20022 Defalias to seconds-to-time, since they're the same thing.
20023
20024 * emacs-lisp/elp.el (elp-elapsed-time):
20025 * emacs-lisp/benchmark.el (benchmark-elapse):
20026 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20027
20028 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20029
20030 * window.el (bury-buffer): Don't iconify the only frame.
20031 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20032 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20033
20034 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20035
20036 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20037 Add mouse-yank-primary.
20038
20039 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20040
20041 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20042
20043 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20044
20045 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20046 (find-library-name): Use it to find relative load names when provided
20047 absolute file name (bug#8803).
20048
20049 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20050
20051 * textmodes/flyspell.el (flyspell-word): Consider words that
20052 differ only in case as potential doublons (bug#5687).
20053
20054 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20055 Remove two rather uninteresting debugging-like messages to make
20056 debbugs.el more silent.
20057
20058 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20059 a password-like phrase.
20060
20061 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20062
20063 * progmodes/cc-guess.el: New file.
20064
20065 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20066
20067 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20068 derived from `c-basic-common-init'.
20069
20070 * progmodes/cc-mode.el (top-level): Require cc-guess.
20071 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20072
20073 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20074
20075 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20076
20077 2011-06-30 Alan Mackenzie <acm@muc.de>
20078
20079 * progmodes/cc-engine.el (c-guess-continued-construct):
20080 Correct the handling of template-args-cont, particularly for when font
20081 lock is disabled. Name this case as "CASE G".
20082
20083 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20084
20085 * allout.el (allout-yank-processing): Fix injection of extra space
20086 between bullet and non-whitespace character in first topic when
20087 pasting, ensuring that the actual spacing in the pasted topic
20088 following the bullet char is preserved. This extra space was
20089 causing pasted encrypted topics to get a decrypted status even
20090 when the content was actually still encrypted. Now the decryption
20091 status from before the paste is preserved.
20092
20093 (allout-flag-region): Set all allout overlays so they evaporate
20094 when reduced to zero length (evanescent), to prevent overlay
20095 leakage.
20096
20097 2011-06-30 Glenn Morris <rgm@gnu.org>
20098
20099 * w32-fns.el (w32-charset-info-alist): Declare.
20100
20101 * find-dired.el (find-grep-options): Simplify.
20102
20103 * term/ns-win.el (ns-set-resource): Declare.
20104
20105 * ses.el (row, col): Declare dynamic variables honestly.
20106
20107 * textmodes/reftex-parse.el (index-tags): Declare.
20108
20109 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20110
20111 * cus-edit.el (customize-push-and-save): New function.
20112
20113 * files.el (hack-local-variables-confirm): Use it.
20114
20115 * custom.el (load-theme): New arg NO-CONFIRM.
20116 Use customize-push-and-save (Bug#8720).
20117 (custom-enabled-themes): Doc fix.
20118
20119 * cus-theme.el (customize-create-theme)
20120 (custom-theme-merge-theme): Callers to load-theme changed.
20121
20122 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20123
20124 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20125 short URLs have at least one dot in them (bug #7614).
20126
20127 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20128 nil, because using a pty is apparently too slow (bug #895).
20129
20130 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20131
20132 * mail/sendmail.el (sendmail-query-once): New function.
20133 (sendmail-query-once-function): New variable.
20134
20135 2011-06-29 Glenn Morris <rgm@gnu.org>
20136
20137 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20138
20139 * ses.el (top-level): Require cl when compiling.
20140 (ses-set-localvars): Fix error statement.
20141 Call it at compile time to silence a storm of warnings.
20142
20143 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20144
20145 * window.el (normalize-live-buffer): Rename to
20146 window-normalize-buffer.
20147 (normalize-live-frame): Rename to window-normalize-frame.
20148 (normalize-any-window): Rename to window-normalize-any-window.
20149 (normalize-live-window): Rename to window-normalize-live-window.
20150 (make-window-atom): Rename to window-make-atom.
20151 (window-resize-reset): Rename to window--resize-reset.
20152 (window-resize-reset-1): Rename to window--resize-reset-1.
20153 (resize-mini-window): Rename to window--resize-mini-window.
20154 (resize-subwindows-skip-p): Rename to
20155 window--resize-subwindows-skip-p.
20156 (resize-subwindows-normal): Rename to
20157 window--resize-subwindows-normal.
20158 (resize-subwindows): Rename to window--resize-subwindows.
20159 (resize-other-windows): Rename to window--resize-siblings.
20160 (resize-this-window): Rename to window--resize-this-window.
20161 (resize-root-window): Rename to window--resize-root-window.
20162 (resize-root-window-vertically): Rename to
20163 window--resize-root-window-vertically.
20164 (normalize-buffer-to-display): Rename to
20165 window-normalize-buffer-to-display.
20166 (normalize-buffer-to-switch-to): Rename to
20167 window-normalize-buffer-to-switch-to.
20168 Correspondingly update all callers of the functions listed
20169 above.
20170 (display-buffer-alist, display-buffer-normalize-arguments)
20171 (display-buffer-normalize-options, display-buffer)
20172 (display-buffer-alist-set): Use "function" instead of
20173 "fun-with-args".
20174
20175 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20176
20177 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20178 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20179 debbugs.gnu.org. Mention acknowledgment email.
20180
20181 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20182
20183 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20184 buffer multibyteness, since it shouldn't matter.
20185
20186 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20187
20188 * window.el (display-buffer-in-side-window): Handle dedicated
20189 windows as in display-buffer-reuse-window.
20190 (display-buffer-normalize-alist): Use value of override
20191 specifier.
20192 (display-buffer-normalize-specifiers): Use value of
20193 other-window-means-other-frame specifier.
20194 (display-buffer-alist): Rewrite some texts in widgets.
20195 (display-buffer): Spread arguments when calling function
20196 specified by fun-with-args.
20197
20198 2011-06-28 Deniz Dogan <deniz@dogan.se>
20199
20200 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20201 Unnest `let'.
20202
20203 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20204 selectors (Bug#5732).
20205 (css-proprietary-nmstart-re): Use `regexp-opt'.
20206
20207 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20208
20209 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20210 (eshell-ls-date-format): New defcustom.
20211 (eshell-ls-file): Use it.
20212
20213 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20214
20215 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20216
20217 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20218
20219 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20220 (ange-ftp-make-tmp-name): New arg.
20221 (ange-ftp-file-local-copy): Use it.
20222
20223 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20224
20225 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20226 no-conversion (Bug#8870).
20227
20228 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20229
20230 * window.el (window-right, window-left, window-child)
20231 (window-child-count, window-last-child)
20232 (window-iso-combination-p, walk-window-tree-1)
20233 (window-atom-check-1, window-tree-1, delete-window)
20234 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20235 new naming conventions - window-vchild, window-hchild,
20236 window-next and window-prev are now called window-top-child,
20237 window-left-child, window-next-sibling and window-prev-sibling
20238 respectively.
20239 (resize-window-reset): Rename to window-resize-reset.
20240 (resize-window-reset-1): Rename to window-resize-reset-1.
20241 (resize-window): Rename to window-resize.
20242 (window-min-height, window-min-width)
20243 (resize-mini-window, resize-this-window, resize-root-window)
20244 (resize-root-window-vertically, adjust-window-trailing-edge)
20245 (enlarge-window, shrink-window, maximize-window)
20246 (minimize-window, delete-window, quit-restore-window)
20247 (split-window, balance-windows, balance-windows-area-adjust)
20248 (balance-windows-area, window-state-put-2)
20249 (display-buffer-even-window-sizes, display-buffer-set-height)
20250 (display-buffer-set-width, set-window-text-height)
20251 (fit-window-to-buffer): Rename all "resize-window" prefixed
20252 calls to use the "window-resize" prefix convention.
20253 (display-buffer-alist): Fix symbol for label specifier.
20254 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20255 corresponding specifier.
20256 Reported by Juanma Barranquero <lekktu@gmail.com>.
20257
20258 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20259
20260 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20261 convention.
20262 (ses-call-printer): Does not pass an empty string to formatter when the
20263 cell is empty to keep from barking printer Calc math-format-value.
20264
20265 2011-06-27 Richard Stallman <rms@gnu.org>
20266
20267 * battery.el (battery-mode-line-limit): New variable.
20268 (battery-update): Handle it.
20269
20270 * mail/rmailmm.el (rmail-mime-process-multipart):
20271 Handle truncated messages.
20272
20273 2011-06-27 Glenn Morris <rgm@gnu.org>
20274
20275 * progmodes/flymake.el (flymake-err-line-patterns):
20276 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20277
20278 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20279
20280 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20281 (ses--clean-!, ses--clean-_): New functions.
20282 (ses-range): Add configurability of readout order, and conversion
20283 to Calc vector.
20284
20285 * ses.el (ses-repair-cell-reference-all): New function.
20286 (ses-cell-symbol): Set macro as safe, so that it can be used in
20287 formulas.
20288
20289 * ses.el: Update cycle detection algorithm.
20290 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20291 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20292 (ses-set-localvars): New function.
20293 (ses-make-cell): Add property-list as a cell element.
20294 (ses-cell-property-get-fun, ses-cell-property-get)
20295 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20296 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20297 New functions.
20298 (ses-cell-property-set, ses-cell-property-pop)
20299 (ses-cell-property-get-handle): New macro.
20300 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20301 New aliases, used for code readability.
20302 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20303 cycle detection.
20304 (ses-self-reference-early-detection): New defcustom.
20305 (ses-formula-references): Robustify against self-referring cells.
20306 (ses-mode): Use ses-set-localvars.
20307 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20308 before lauching the update processing.
20309 (ses-initialize-Dijkstra-attempt): New function.
20310 (ses-recalculate-cell): Update for cycle detection based on
20311 Dijkstra algorithm.
20312
20313 * ses.el: Fix commenting and indenting convention.
20314
20315 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20316
20317 * bs.el (bs-cycle-next): Complete last change.
20318
20319 2011-06-27 Drew Adams <drew.adams@oracle.com>
20320
20321 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20322
20323 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20324
20325 * net/network-stream.el (network-stream-open-starttls):
20326 Don't re-get capabilities unless we've reestablished connection.
20327 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20328
20329 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20330 to binary to possibly avoid line encoding issues on Windows (among
20331 other things).
20332
20333 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20334
20335 * net/network-stream.el (open-network-stream): Return an :error
20336 saying what the problem was, if possible.
20337
20338 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20339 server.
20340
20341 * net/network-stream.el (network-stream-open-starttls): If we
20342 wanted to use STARTTLS, and the server offered it, but we weren't
20343 able to because we had no STARTTLS support, then close the connection.
20344 (open-network-stream): Return an :error element, if present.
20345
20346 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20347
20348 * hl-line.el (hl-line-sticky-flag): Doc fix.
20349 (global-hl-line-sticky-flag): New option (Bug#8323).
20350 (global-hl-line-highlight): Obey it.
20351
20352 * vc/vc.el (vc-revert-show-diff): Default to t.
20353
20354 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20355
20356 * allout-widgets.el (allout-widgets-post-command-business):
20357 Stop decorating intermediate isearch matches. They're not being
20358 undecorated when an isearch is continued past, and isearch
20359 automatically collapses them. This leads to "widget leaks", where
20360 decorated items accumulate in collapsed areas. Lines with lots of
20361 hidden widgets can slow down cursor travel, substantially.
20362 Too much complicated machinery would be needed to ensure undecoration,
20363 so we're doing without this nicety.
20364
20365 (allout-widgets-tally-string): Don't try to do a hash-table-count
20366 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20367 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20368 *Messages* when allout-widgets-maintain-tally is t.
20369
20370 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20371
20372 * window.el (display-buffer-normalize-argument): Rename to
20373 display-buffer-normalize-arguments. Handle special meaning of
20374 LABEL argument. Respect special-display-function when popping up
20375 a new frame. Fix code searching for a window showing the buffer
20376 on another frame.
20377 (display-buffer-normalize-specifiers):
20378 Call display-buffer-normalize-arguments.
20379 (display-buffer-in-window): Don't undedicate the window if its
20380 buffer remains the same.
20381 Reported by Drew Adams <drew.adams@oracle.com>.
20382 (display-buffer-alist): Add choice for same-window macro
20383 specfier.
20384 (display-buffer): Mention special meaning of LABEL argument in
20385 doc-string. Fix quoting. Don't pop up a new frame even as
20386 fallback.
20387
20388 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20389
20390 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20391 avoid deleting the current window in some cases (bug#8911).
20392
20393 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20394
20395 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20396 (Bug#8934)
20397
20398 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20399
20400 * net/network-stream.el (network-stream-open-starttls):
20401 Use built-in TLS support if `gnutls-available-p' is true.
20402 (network-stream-open-tls): Ditto.
20403
20404 2011-06-26 Leo Liu <sdl.web@gmail.com>
20405
20406 * register.el (registerv): New struct.
20407 (registerv-make): New function.
20408 (jump-to-register, describe-register-1, insert-register):
20409 Support the jump-func, print-func and insert-func slot of a registerv
20410 struct. (Bug#8415)
20411
20412 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20413
20414 * vc/vc.el (vc-revert-show-diff): New defcustom.
20415 (vc-diff-internal): New arg specifying diff buffer.
20416 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20417 reuse an existing *vc-diff* buffer (Bug#8927).
20418
20419 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20420
20421 2011-06-26 Glenn Morris <rgm@gnu.org>
20422
20423 * progmodes/f90.el (f90-critical-indent): New option.
20424 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20425 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20426 (f90-mode): Doc fix.
20427 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20428 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20429 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20430 (f90-match-end): Handle block, critical.
20431
20432 2011-06-25 Glenn Morris <rgm@gnu.org>
20433
20434 * calendar/diary-lib.el (diary-included-files): Doc fix.
20435 (diary-include-files): New function, extracted from
20436 diary-include-other-diary-files and diary-mark-included-diary-files.
20437 (diary-include-other-diary-files, diary-mark-included-diary-files):
20438 Just call diary-include-files.
20439 (diary-mark-entries): Reset diary-included-files on first call.
20440
20441 * calendar/diary-lib.el (diary-mark-entries)
20442 (diary-mark-included-diary-files):
20443 Visit included diary-files in temp buffers.
20444
20445 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20446 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20447 (f90-start-block-re, f90-imenu-generic-expression)
20448 (f90-looking-at-program-block-start, f90-no-block-limit):
20449 Add support for submodules.
20450
20451 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20452 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20453
20454 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20455
20456 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20457 buffer-file-type before setting its value, to avoid disastrous
20458 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20459
20460 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20461
20462 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20463
20464 * ses.el (ses-unload-function):
20465 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20466
20467 * proced.el (proced-unload-function):
20468 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20469
20470 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20471
20472 * server.el (server-create-window-system-frame): Add parameters arg.
20473 (server-process-filter): Doc fix. Handle frame-parameters.
20474
20475 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20476
20477 Fix bug#8730, bug#8781.
20478
20479 * loadhist.el (unload--set-major-mode): New function.
20480 (unload-feature): Use it.
20481
20482 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20483 (python-unload-function): New function.
20484
20485 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20486
20487 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20488
20489 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20490
20491 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20492 the candidates list.
20493
20494 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20495
20496 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20497
20498 2011-06-23 Richard Stallman <rms@gnu.org>
20499
20500 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20501 (rmail-variables): Set next-error-move-function.
20502 (rmail-what-message): Take argument POS.
20503 (rmail-next-error-move): New function.
20504
20505 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20506
20507 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20508 messages for adjacent non-terminals.
20509
20510 2011-06-23 Richard Stallman <rms@gnu.org>
20511
20512 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20513 (rmail-show-message-1): Preserve buffer modified flag.
20514 (rmail-start-mail): Don't specify use of rmail-mail-return;
20515 that's done by mail-bury now.
20516 (rmail-mail-return): Handle arg NEWBUF.
20517
20518 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20519
20520 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20521 SIZE is a number.
20522
20523 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20524
20525 * window.el (get-lru-window, get-mru-window)
20526 (get-largest-window): Never return a minibuffer window.
20527 (display-buffer-pop-up-window): Fix a bug that could lead to
20528 reusing the minibuffer window.
20529 (display-buffer): Pass original specifier argument to
20530 display-buffer-function instead of the normalized one.
20531 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20532
20533 2011-06-22 Leo Liu <sdl.web@gmail.com>
20534
20535 * minibuffer.el (completing-read-function)
20536 (completing-read-default): Move from minibuf.c.
20537
20538 2011-06-22 Richard Stallman <rms@gnu.org>
20539
20540 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20541 to Rmail even if not started by a special Rmail command.
20542
20543 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20544 Copy the buffer currently showing just one message.
20545
20546 2011-06-22 Roland Winkler <winkler@gnu.org>
20547
20548 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20549 (bibtex-clean-entry): First delete the old key so that a
20550 customized algorithm for generating the new key does not get
20551 confused by the old key.
20552 (bibtex-url): Obey regexp of first step.
20553 (bibtex-search-entries): Do not use add-to-list with local
20554 list-var.
20555
20556 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20557
20558 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20559 stored a user name, then query for the password first, instead of
20560 waiting for SMTP to give an error message and the trying again.
20561
20562 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20563
20564 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20565 BUFFER in call-process.
20566
20567 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20568
20569 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20570 QUIT twice.
20571 (smtpmail-try-auth-methods): Require user name and password from
20572 auth-source.
20573
20574 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20575
20576 * window.el (display-buffer-default-specifiers)
20577 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20578 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20579 (split-window): Normalize SIDE argument (Bug#8916).
20580
20581 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20582 (special-display-frame-alist, special-display-popup-frame):
20583 Remove duplicate declarations. These are now in window.el.
20584
20585 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20586
20587 * mail/smtpmail.el (smtpmail-via-smtp):
20588 Set :use-starttls-if-possible so that we always use STARTTLS if the
20589 server supports it. SMTP servers that support STARTTLS commonly
20590 require it.
20591
20592 * net/network-stream.el (network-stream-open-starttls): Support
20593 upgrading to STARTTLS always, even if we don't have built-in support.
20594 (open-network-stream): Add the :always-query-capabilities keyword.
20595
20596 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20597 upgrades with `open-network-stream', and rely solely on
20598 auth-source for all credentials. Big changes throughout the file,
20599 but in particular:
20600 (smtpmail-auth-credentials): Remove.
20601 (smtpmail-starttls-credentials): Remove.
20602 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20603 MAIL FROM, too.
20604
20605 * net/network-stream.el (network-stream-open-starttls):
20606 Provide support for client certificates both for external and built-in
20607 STARTTLS.
20608 (auth-source): Require.
20609 (open-network-stream): Document the :client-certificate keyword.
20610 (network-stream-certificate): Change cert-cert to cert and
20611 cert-key to key.
20612
20613 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20614
20615 * net/tramp-cache.el (top): Don't load the persistency file when
20616 "emacs -Q" has been called.
20617
20618 2011-06-21 Tim Harper <timcharper@gmail.com>
20619
20620 * term/ns-win.el (ns-initialize-window-system):
20621 Set application-specific `ApplePressAndHoldEnabled' system
20622 resource to NO as it is not yet supported by the NS port.
20623
20624 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20625
20626 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20627 (list-dynamic-libraries): ...not here.
20628
20629 2011-06-21 Leo Liu <sdl.web@gmail.com>
20630
20631 * subr.el (sha1): Implement sha1 using secure-hash.
20632
20633 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20634
20635 * window.el (display-buffer-alist): In default value do not
20636 enforce searching a window on any but the selected frame.
20637 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20638 (display-buffer-select-window): Remove function.
20639 (display-buffer-in-window): When a window on another frame gets
20640 reused, do not select it any more but just raise its frame if
20641 necessary (Bug#8851) and (Bug#8856).
20642 (display-buffer-normalize-options): Handle pop-up-frames related
20643 options more faithfully.
20644 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20645 window if it is on another frame.
20646 (display-buffer-alist, display-buffer-default-specifiers):
20647 Don't make new frame unsplittable by default.
20648 (display-buffer-normalize-argument): Fix doc-string typo and use
20649 'same-frame-other-window instead of 'other-window when associating
20650 with display-buffer-macro-specifiers.
20651
20652 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20653
20654 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20655 New functions.
20656 (5x5-mode-map, 5x5-mode-menu): Bind them.
20657 (5x5-draw-grid): Tweak the solver's rendering.
20658
20659 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20660
20661 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20662 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20663
20664 2011-06-21 Drew Adams <drew.adams@oracle.com>
20665
20666 * menu-bar.el: Use function variable instead of switch-to-buffer.
20667 (menu-bar-select-buffer-function): New variable.
20668 (menu-bar-update-buffers): Use it (bug#8876).
20669
20670 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20671
20672 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20673 variable's status.
20674
20675 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20676
20677 * x-dnd.el (x-dnd-version-from-flags)
20678 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20679 and long as number (Bug#8899).
20680 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20681
20682 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20683
20684 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20685 (completion-try-completion, completion-all-completions): Compute the
20686 metadata argument if it's missing; make it optional (bug#8795).
20687
20688 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20689 (widget-complete): Use new :completion-function property.
20690 (widget-completions-at-point): New function.
20691 (default): Use :completion-function instead of :complete.
20692 (widget-default-completions): Rename from widget-default-complete;
20693 Rewrite.
20694 (widget-string-complete, widget-file-complete, widget-color-complete):
20695 Remove functions.
20696 (file, symbol, function, variable, coding-system, color):
20697 * international/mule-cmds.el (default-input-method, charset)
20698 (language-info-custom-alist):
20699 * cus-edit.el (face): Use new property :completions.
20700
20701 * progmodes/pascal.el (pascal-completions-at-point): New function.
20702 (pascal-mode): Use it.
20703 (pascal-mode-map): Use completion-at-point.
20704 (pascal-toggle-completions): Make obsolete.
20705 (pascal-complete-word, pascal-show-completions):
20706 * progmodes/octave-mod.el (octave-complete-symbol):
20707 Redefine as obsolete alias.
20708 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20709 Signal absence of completion info for old Octave,
20710 (inferior-octave-complete): Redefine as obsolete alias.
20711 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20712 (meta-completions-at-point): Rename from meta-complete-symbol and
20713 adapt it for use on completion-at-point-functions.
20714 (meta-common-mode): Use it.
20715 (meta-looking-at-backward, meta-match-buffer): Remove.
20716 (meta-complete-symbol): Redefine as obsolete alias.
20717 (meta-common-mode-map): Use completion-at-point.
20718 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20719 (makefile-mode-map): Use completion-at-point.
20720 (makefile-completions-at-point): Rename from makefile-complete and
20721 adapt it for use on completion-at-point-functions.
20722 (makefile-mode): Use it.
20723 (makefile-complete): Redefine as obsolete alias.
20724
20725 2011-06-20 Deniz Dogan <deniz@dogan.se>
20726
20727 * net/rcirc.el: Delete trailing whitespaces once and for all.
20728
20729 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20730
20731 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20732
20733 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20734
20735 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20736
20737 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20738
20739 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20740
20741 * window.el (display-buffer-other-window-means-other-frame):
20742 Call display-buffer-normalize-alist.
20743 (display-buffer-normalize-specifiers-1): Rename to
20744 display-buffer-normalize-argument. New argument other-frame.
20745 Rewrite.
20746 (display-buffer-normalize-specifiers-2): Rename to
20747 display-buffer-normalize-options.
20748 (display-buffer-normalize-alist-1): New function.
20749 (display-buffer-normalize-specifiers-3): Rename to
20750 display-buffer-normalize-alist.
20751 Call display-buffer-normalize-alist-1.
20752 (display-buffer-normalize-options-inhibit): New variable.
20753 (display-buffer-normalize-specifiers): Rewrite calling
20754 display-buffer-normalize-alist,
20755 display-buffer-normalize-argument, and
20756 display-buffer-normalize-options. Don't call the latter if
20757 display-buffer-normalize-options-inhibit is non-nil.
20758 (frame-auto-delete): New option.
20759 (window-deletable-p): Use frame-auto-delete.
20760 (window-list-no-nils, window-state-ignored-parameters)
20761 (window-state-get-1, window-state-get, window-state-put-list)
20762 (window-state-put-1, window-state-put-2, window-state-put):
20763 New functions.
20764 (display-buffer-normalize-options): Move special-display-p group
20765 after pop-up-frame group (Bug#8851) and (Bug#8856).
20766
20767 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20768
20769 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20770 groups (Bug#8776).
20771 (rx-submatch-n): New function.
20772 (rx): Document it.
20773
20774 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20775 (Bug#8768).
20776
20777 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20778
20779 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20780
20781 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20782 anytime existing face settings are present (Bug#8889).
20783
20784 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20785 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20786 Remove unused argument.
20787
20788 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20789
20790 * window.el (display-buffer-default-specifiers):
20791 Remove pop-up-frame. Add pop-up-window-min-height,
20792 pop-up-window-min-width, and another reuse-window specifier
20793 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20794 (display-buffer-normalize-specifiers-2):
20795 Handle split-height-threshold and split-width-threshold also when
20796 pop-up-windows is unset. Add a reuse-window specifier for the
20797 case popping up a new window fails.
20798 (special-display-popup-frame): Remove double quoting.
20799 (display-buffer-normalize-specifiers-1): Fix thinko.
20800
20801 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20802
20803 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20804 according to comint-completion-addsuffix.
20805
20806 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20807 (pcomplete-suffix-list): Mark as obsolete.
20808 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20809 pcomplete-seen in the closure.
20810 (pcomplete-comint-setup): Setup completion-at-point as well.
20811 (pcomplete--entries): New function.
20812 (pcomplete--env-regexp): New var.
20813 (pcomplete-entries): Rewrite to work with partial-completion and
20814 without relying on pcomplete-suffix-list.
20815 (pcomplete-pare-list): Remove, unused.
20816
20817 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20818
20819 * window.el (display-buffer-alist): Set pop-up-window-min-height
20820 and pop-up-window-min-width in default value. Reported by
20821 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20822 other-window-means-other-frame.
20823 (display-buffer-macro-specifiers): Comment out entry for
20824 other-window specifier.
20825 (display-buffer-other-window-means-other-frame): New function.
20826 (display-buffer-normalize-specifiers-1): New arguments
20827 buffer-name and label. Treat other-window case specially.
20828 (display-buffer-normalize-specifiers-2): Treat other-window case
20829 specially.
20830 (display-buffer-normalize-specifiers-3): New function.
20831 (display-buffer-normalize-specifiers):
20832 Call display-buffer-normalize-specifiers-3.
20833
20834 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20835
20836 * window.el (same-window-p): Fix two typos introduced when
20837 adding with-no-warnings.
20838 (display-buffer-normalize-specifiers-1): Don't check
20839 pop-up-frames for 'unset initialization.
20840 (display-buffer-normalize-specifiers-2): Major rewrite using
20841 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20842 (pop-up-frames, display-buffer-reuse-frames)
20843 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20844 Suggested by David Engster <deng@randomsample.de>.
20845 (even-window-heights): Initialize to 'unset.
20846 (display-buffer-alist-set): Handle new 'unset initializations.
20847 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20848 other window case.
20849
20850 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20851
20852 * window.el (display-buffer-normalize-specifiers-1):
20853 Respect current value of pop-up-frames for most reasonable values of
20854 second argument of display-buffer (Bug#8865).
20855 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20856 (switch-to-buffer-other-window-same-frame)
20857 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20858 Adams (Bug#8875).
20859 (display-buffer): Don't check noninteractive when calling
20860 display-buffer-pop-up-frame.
20861 (display-buffer-pop-up-frame): Never pop up a frame in
20862 noninteractive mode (Bug#8857).
20863 (enlarge-window, shrink-window): Don't report an error when the
20864 window can't be resized as requested (Bug#8862).
20865
20866 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20867
20868 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20869
20870 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20871
20872 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20873
20874 2011-06-15 Alan Mackenzie <acm@muc.de>
20875
20876 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20877 for declarators, disable knr checking to speed up for normal files.
20878 2: Refactor, replacing a sequence of nested if forms by a cond form.
20879
20880 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20881
20882 * net/network-stream.el (open-network-stream): Add the keyword
20883 :always-query-capabilities for the case where you want to force a
20884 `plain' network connection, but the protocol still requires the
20885 capabilitiy command (i.e., SMTP and EHLO).
20886
20887 * subr.el (process-live-p): Rename from `process-alive-p' for
20888 consistency with other `-live-p' functions.
20889
20890 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20891
20892 * window.el (same-window-buffer-names, same-window-regexps)
20893 (special-display-frame-alist, special-display-popup-frame)
20894 (special-display-function, special-display-buffer-names)
20895 (special-display-regexps, pop-up-frame-alist)
20896 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20897 (pop-up-windows, split-window-preferred-function)
20898 (split-height-threshold, split-width-threshold, even-window-heights)
20899 (display-buffer-mark-dedicated): Don't encourage the use of
20900 display-buffer-alist from Elisp code.
20901
20902 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
20903
20904 * progmodes/python.el (python-mode): Derive from prog-mode.
20905 * progmodes/ps-mode.el (ps-mode):
20906 * progmodes/mixal-mode.el (mixal-mode):
20907 * progmodes/cfengine.el (cfengine-mode):
20908 * progmodes/ld-script.el (ld-script-mode): Likewise.
20909
20910 2011-06-15 Martin Rudalics <rudalics@gmx.at>
20911
20912 * window.el (display-buffer-alist): Trim default value to avoid
20913 popping up a new frame (Bug#8857) or reusing an arbitrary window
20914 on another frame.
20915 (display-buffer): Do not fall back on popping up a new frame in
20916 batch mode (Bug#8857).
20917
20918 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
20919
20920 * cus-theme.el (describe-theme-1): Use custom-theme-p.
20921 (custom-theme-summary): New function.
20922 (customize-themes): Use it.
20923
20924 2011-06-13 Glenn Morris <rgm@gnu.org>
20925
20926 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
20927
20928 2011-06-13 Martin Rudalics <rudalics@gmx.at>
20929
20930 * help.el (help-window): Remove variable.
20931 (help-window-point-marker, temp-buffer-max-height)
20932 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
20933 (help-print-return-message): Don't set help-window.
20934 (resize-temp-buffer-window): Rewrite cod eand doc-string.
20935 (help-window-setup-finish): Remove.
20936 (help-window-display-message, help-window-setup)
20937 (with-help-window): Major rewrite based on new
20938 display-buffer-window variable.
20939
20940 * help-mode.el (help-mode-finish): Remove help-window related
20941 code.
20942
20943 * view.el (view-exits-all-viewing-windows): Remove reference to
20944 view-return-to-alist in doc-string.
20945 (view-return-to-alist): Make obsolete.
20946 (view-buffer): Call pop-to-buffer-same-window and remove
20947 undo-window code.
20948 (view-buffer-other-window): Call pop-to-buffer-other-window and
20949 simplify code. Ignore second argument.
20950 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
20951 simplify code. Ignore second argument.
20952 (view-return-to-alist-update): Make obsolete.
20953 (view-mode-enter): Rename second argument to QUIT-RESTORE.
20954 Rewrite using quit-restore window parameters.
20955 (view-mode-exit): Rename second argument to EXIT-ONLY.
20956 Rewrite using quit-restore-window.
20957 (View-exit, View-exit-and-edit, View-leave, View-quit)
20958 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
20959 appropriate arguments.
20960 (view-end-message): Use quit-restore window parameter.
20961
20962 * window.el (display-buffer-function): Rewrite doc-string.
20963 (display-buffer-window, display-buffer-alist): New variables.
20964 (display-buffer-split-specifiers)
20965 (display-buffer-side-specifiers)
20966 (display-buffer-macro-specifiers): New constants.
20967 (display-buffer-even-window-sizes, display-buffer-set-height)
20968 (display-buffer-set-width, display-buffer-select-window)
20969 (display-buffer-in-window, display-buffer-reuse-window)
20970 (display-buffer-split-window-1, display-buffer-split-window)
20971 (display-buffer-split-atom-window, display-buffer-pop-up-window)
20972 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
20973 (display-buffer-in-side-window, normalize-buffer-to-display)
20974 (display-buffer-normalize-specifiers-1)
20975 (display-buffer-normalize-specifiers-2)
20976 (display-buffer-normalize-specifiers, display-buffer-frame):
20977 New functions.
20978 (display-buffer): Major rewrite.
20979 (display-buffer-other-window, display-buffer-other-frame)
20980 (pop-to-buffer, switch-to-buffer-other-window)
20981 (switch-to-buffer-other-frame): Rewrite.
20982 (display-buffer-same-window, display-buffer-same-frame)
20983 (display-buffer-same-frame-other-window)
20984 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20985 (pop-to-buffer-other-window)
20986 (pop-to-buffer-same-frame-other-window)
20987 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
20988 (switch-to-buffer-other-window-same-frame): New functions.
20989 (same-window-p, special-display-p): Rewrite disabling warnings.
20990 Make obsolete.
20991 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20992 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
20993 Make obsolete
20994 (same-window-buffer-names, same-window-regexps)
20995 (special-display-frame-alist, special-display-popup-frame)
20996 (special-display-function, special-display-buffer-names)
20997 (special-display-regexps, pop-up-frame-alist)
20998 (pop-up-frame-function, split-window-preferred-function)
20999 (split-height-threshold, split-width-threshold)
21000 (even-window-heights): Make obsolete.
21001
21002 2011-06-12 Glenn Morris <rgm@gnu.org>
21003
21004 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21005 Misc simplifications.
21006
21007 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21008
21009 * window.el (window-safely-shrinkable-p): Restore function which
21010 was inadvertently removed in change from 2011-06-11. Declare as
21011 obsolete.
21012
21013 * calendar/calendar.el (calendar-generate-window):
21014 Use window-iso-combined-p instead of combination of one-window-p and
21015 window-safely-shrinkable-p.
21016
21017 2011-06-12 Glenn Morris <rgm@gnu.org>
21018
21019 * progmodes/fortran.el (fortran-mode-syntax-table):
21020 * progmodes/f90.el (f90-mode-syntax-table):
21021 Set % to punctuation. (Bug#8820)
21022 (f90-find-tag-default): Remove, no longer needed.
21023
21024 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21025
21026 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21027
21028 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21029
21030 * image.el (image-animated-p): Return animation delay in seconds.
21031 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21032 (image-animate-timeout): Remove DELAY argument. Don't assume
21033 every subimage has the same delay; get it from image-animated-p.
21034 (image-animate): Caller changed.
21035
21036 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21037
21038 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21039 to ignored backtrace functions.
21040
21041 2011-06-11 Glenn Morris <rgm@gnu.org>
21042
21043 * calendar/appt.el (appt-disp-window-function): Doc fix.
21044 (appt-check): Handle overlapping appointments. (Bug#8337)
21045
21046 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21047
21048 * window.el (window-tree-1, window-tree): New functions, moving
21049 the latter to window.el.
21050 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21051 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21052 (bw-refresh-edges): Remove.
21053 (balance-windows-1, balance-windows-2): New functions.
21054 (balance-windows): Rewrite in terms of window tree functions,
21055 balance-windows-1 and balance-windows-2.
21056 (bw-adjust-window): Remove.
21057 (balance-windows-area-adjust): New function with functionality of
21058 bw-adjust-window but using resize-window.
21059 (set-window-text-height): Rewrite doc-string.
21060 Use normalize-live-window and resize-window.
21061 (enlarge-window-horizontally, shrink-window-horizontally):
21062 Rename argument to DELTA.
21063 (window-buffer-height): New function.
21064 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21065 Rewrite using new window resize routines.
21066 (kill-buffer-and-window, mouse-autoselect-window-select):
21067 Use ignore-errors instead of condition-case.
21068 (quit-window): Call delete-frame instead of delete-windows-on
21069 for the only buffer on frame.
21070
21071 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21072
21073 * loadup.el (top-level): Load window before files for the sake
21074 of replace-buffer-in-windows.
21075
21076 * files.el (read-buffer-to-switch)
21077 (switch-to-buffer-other-window)
21078 (switch-to-buffer-other-frame, display-buffer-other-frame):
21079 Move to window.el.
21080
21081 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21082 (previous-buffer): Move to window.el.
21083
21084 * bindings.el (unbury-buffer): Move to window.el.
21085
21086 * window.el (delete-other-windows-vertically): Move after
21087 definition of delete-other-windows.
21088 (other-window, delete-windows-on, replace-buffer-in-windows):
21089 Move here from window.c.
21090 (record-window-buffer, unrecord-window-buffer)
21091 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21092 (switch-to-next-buffer): New functions.
21093 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21094 from simple.el. Call switch-to-next-buffer.
21095 (previous-buffer): Move here from simple.el.
21096 Call switch-to-prev-buffer.
21097 (bury-buffer): Move here from buffer.c. Switch to previous
21098 buffer when window cannot be deleted.
21099 (unbury-buffer): Move here from bindings.el.
21100 (ctl-x-map): Move binding for other-window from window.c to
21101 here.
21102 (read-buffer-to-switch, switch-to-buffer-other-window)
21103 (switch-to-buffer-other-frame): Move here from files.el.
21104 (normalize-buffer-to-switch-to): New functions.
21105 (switch-to-buffer): Move here from buffer.c.
21106 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21107
21108 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21109
21110 * window.el (window-min-height, window-min-width): Move here
21111 from window.c. Add defcustoms and rewrite doc-strings.
21112 (resize-mini-window, resize-window): New functions.
21113 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21114 Move here from window.c.
21115 (maximize-window, minimize-window): New functions.
21116 (delete-window, delete-other-windows, split-window): Move here
21117 from window.c.
21118 (window-split-min-size): New function.
21119 (split-window-keep-point): Mention split-window-above-each-other
21120 instead of split-window-vertically.
21121 (split-window-above-each-other, split-window-vertically):
21122 Rename split-window-vertically to split-window-above-each-other
21123 and provide defalias for old definition.
21124 (split-window-side-by-side, split-window-horizontally):
21125 Rename split-window-horizontally to split-window-side-by-side
21126 and provide defalias for the old definition.
21127 (ctl-x-map): Move bindings for delete-window,
21128 delete-other-windows and enlarge-window here from window.c.
21129 Replace bindings for split-window-vertically and
21130 split-window-horizontally by bindings for
21131 split-window-above-each-other and split-window-side-by-side.
21132
21133 * cus-start.el (all): Remove entries for window-min-height and
21134 window-min-width. Add entries for window-splits and
21135 window-nest.
21136
21137 2011-06-09 Glenn Morris <rgm@gnu.org>
21138
21139 * calendar/appt.el (appt-mode-line): New function.
21140 (appt-check, appt-disp-window): Use it.
21141
21142 * files.el (hack-one-local-variable-eval-safep):
21143 Allow minor-modes with explicit +/-1 arguments.
21144
21145 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21146
21147 * term/xterm.el (xterm): Add defgroup.
21148 (xterm-extra-capabilities): Add defcustom to supply known xterm
21149 capabilities, skip querying them, or query them (default).
21150 (terminal-init-xterm): Use it.
21151 (terminal-init-xterm-modify-other-keys): New function to set up
21152 modifyOtherKeys support to simplify `terminal-init-xterm'.
21153
21154 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21155
21156 * window.el (resize-window-reset, resize-window-reset-1)
21157 (resize-subwindows-skip-p, resize-subwindows-normal)
21158 (resize-subwindows, resize-other-windows, resize-this-window)
21159 (resize-root-window, resize-root-window-vertically)
21160 (window-deletable-p, window-or-subwindow-p)
21161 (frame-root-window-p): New functions.
21162
21163 2011-06-09 Glenn Morris <rgm@gnu.org>
21164
21165 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21166 (ange-ftp-get-files): Use it.
21167
21168 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21169
21170 * mail/sendmail.el (mail-recover-1, mail-recover):
21171 * files.el (recover-file, recover-session):
21172 Handle dired-listing-switches not being just a single short option.
21173
21174 2011-06-09 Glenn Morris <rgm@gnu.org>
21175
21176 * calendar/appt.el (appt-display-message, appt-disp-window):
21177 Handle lists of appointments.
21178
21179 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21180
21181 * window.el (one-window-p): Move down in code.
21182 Rewrite doc-string.
21183 (window-current-scroll-bars): Rewrite doc-string.
21184 Normalize live window argument.
21185 (walk-windows, get-window-with-predicate, count-windows):
21186 Rewrite doc-string. Use window-list-1.
21187 (window-in-direction-2, window-in-direction, get-mru-window):
21188 New functions.
21189
21190 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21191
21192 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21193 Doc fix (Bug#8713).
21194
21195 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21196
21197 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21198
21199 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21200
21201 * loadhist.el (unload-feature-special-hooks):
21202 Add `comint-output-filter-functions'.
21203
21204 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21205
21206 * calendar/appt.el (appt-check): Move some initializations into the let.
21207
21208 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21209
21210 * window.el (window-height): Defalias to window-total-height.
21211 (window-width): Defalias to window-body-width.
21212
21213 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21214
21215 * image-mode.el (image-toggle-animation): New command.
21216 (image-mode-map): Bind it to RET.
21217 (image-mode): Update message.
21218 (image-toggle-display-image): Avoid a spurious cache flush.
21219 (image-transform-rotation): Doc fix.
21220 (image-transform-properties): Return quickly in the normal case.
21221 (image-animate-loop): Rename from image-animate-max-time.
21222
21223 * image.el (image-animate-max-time): Move to image-mode.el.
21224 (create-animated-image): Remove unnecessary function.
21225 (image-animate): Rename from image-animate-start. New arg.
21226 (image-animate-stop): Remove; just use image-animate-timer.
21227 (image-animate-timer): Use car-safe.
21228 (image-animate-timeout): Rename argument.
21229
21230 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21231
21232 * window.el (get-lru-window, get-largest-window): Move here from
21233 window.c. Rename first argument to ALL-FRAMES.
21234 Rephrase doc-strings.
21235 (get-buffer-window-list): Rewrite using window-list-1.
21236 Rephrase doc-string.
21237 (window-safe-min-height, window-safe-min-width): New constants.
21238 (window-size-ignore, window-min-size, window-min-size-1)
21239 (window-sizable, window-sizable-p, window-size-fixed-1)
21240 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21241 (window-max-delta-1, window-max-delta, window-resizable)
21242 (window-resizable-p, window-total-height, window-total-width)
21243 (window-body-width): New functions.
21244 (window-full-height-p, window-full-width-p): Rewrite using
21245 window-total-size.
21246 (window-body-height): Rewrite using window-body-size.
21247
21248 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21249
21250 * window.el (window-right, window-left, window-child)
21251 (window-child-count, window-last-child, window-any-p)
21252 (normalize-live-buffer, normalize-live-frame)
21253 (normalize-any-window, normalize-live-window)
21254 (window-iso-combination-p, window-iso-combined-p)
21255 (window-iso-combinations)
21256 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21257 (windows-with-parameter, window-with-parameter)
21258 (window-atom-root, make-window-atom, window-atom-check-1)
21259 (window-atom-check, window-side-check, window-check):
21260 New functions.
21261 (ignore-window-parameters, window-sides, window-sides-vertical)
21262 (window-sides-slots): New variables.
21263 (window-size-fixed): Move down in code. Minor doc-string fix.
21264
21265 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21266
21267 * comint.el (comint-dynamic-complete-as-filename)
21268 (comint-dynamic-complete-filename): Correctly call
21269 completion-in-region.
21270
21271 2011-06-05 Deniz Dogan <deniz@dogan.se>
21272
21273 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21274 in last change.
21275
21276 2011-06-05 Deniz Dogan <deniz@dogan.se>
21277
21278 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21279 (rcirc): Use it to prompt for encryption.
21280
21281 2011-06-05 Roland Winkler <winkler@gnu.org>
21282
21283 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21284 (bibtex-search-entries): New command bound to C-c C-a.
21285 (bibtex-display-entries): New function.
21286
21287 2011-06-05 Roland Winkler <winkler@gnu.org>
21288
21289 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21290 (bibtex-insert-kill): After yanking insert newline if necessary.
21291 (bibtex-initialize): Call bibtex-string-files-init only once.
21292 (bibtex-mode): Do not call easy-menu-add.
21293 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21294 (bibtex-yank): Set arg properly if nil.
21295
21296 2011-06-05 Roland Winkler <winkler@gnu.org>
21297
21298 * textmodes/bibtex.el (bibtex-search-entry-globally):
21299 New variable.
21300 (bibtex-search-entry): Use it.
21301
21302 2011-06-05 Roland Winkler <winkler@gnu.org>
21303
21304 * textmodes/bibtex.el (bibtex-entry-format): New option
21305 sort-fields.
21306 (bibtex-format-entry, bibtex-reformat): Honor this option.
21307 (bibtex-parse-entry): Return fields in proper order.
21308
21309 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21310
21311 * doc-view.el (doc-view-remove-if): Move computation of result out
21312 of `dolist' to silence misleading lexical-binding warning.
21313
21314 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21315
21316 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21317 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21318
21319 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21320
21321 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21322 "SunOS 5.10".
21323
21324 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21325
21326 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21327 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21328 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21329 (tramp-parse-putty):
21330 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21331 (tramp-completion-function-alist-ssh)
21332 (tramp-completion-function-alist-telnet)
21333 (tramp-completion-function-alist-su)
21334 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21335 cookie.
21336
21337 * net/tramp-ftp.el:
21338 * net/tramp-sh.el:
21339 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21340 load "tramp.el" `tramp-set-completion-function'.
21341
21342 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21343
21344 * shell.el: Require and use pcomplete.
21345 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21346 (shell-completion-vars): Set pcomplete-default-completion-function.
21347
21348 2011-06-04 Deniz Dogan <deniz@dogan.se>
21349
21350 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21351 `memq' (Bug#8799).
21352
21353 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21354
21355 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21356
21357 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21358
21359 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21360 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21361 * vc/log-view.el (log-view-beginning-of-defun):
21362 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21363 (smerge-refine-forward, smerge-refine-chopup-region):
21364 Silence warning for unused `dotimes' counter variables.
21365
21366 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21367
21368 * net/tramp.el (tramp-with-progress-reporter): Rename from
21369 with-progress-reporter. Use `declare'.
21370 * net/tramp-smb.el:
21371 * net/tramp-sh.el:
21372 * net/tramp-gvfs.el: Update all uses.
21373
21374 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21375
21376 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21377 buffer isn't killed before making it current.
21378
21379 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21380
21381 Silence various byte-compiler warnings.
21382 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21383 `access-type' and new obsolescence format.
21384 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21385 new format.
21386 (byte-compile-check-variable): New `access-type' argument.
21387 Only warn if the access-type is obsolete.
21388 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21389 (byte-compile-variable-set): Adjust callers.
21390 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21391 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21392 setting it as obsolete.
21393 * simple.el (minibuffer-completing-symbol):
21394 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21395 access as obsolete.
21396 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21397 obsolete yet.
21398 * international/quail.el (quail-mouse-choose-completion): Remove unused
21399 code referring to obsolete var.
21400 (quail-choose-completion-string): Remove.
21401 * server.el (server-clients-with, server-kill-buffer-query-function)
21402 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21403 * proced.el (proced-send-signal):
21404 * emacs-lisp/lisp.el (lisp-complete-symbol):
21405 Replace completion-annotate-function with completion-extra-properties.
21406
21407 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21408
21409 * simple.el (goto-line): Use read-number.
21410 (overriding-map-is-bound): Remove.
21411 (saved-overriding-map): Change default.
21412 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21413 Take the map as argument.
21414 (universal-argument, negative-argument, digit-argument): Use it.
21415 (restore-overriding-map): Adjust.
21416 (do-auto-fill): Use fill-forward-paragraph.
21417 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21418
21419 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21420 (minibuffer-inactive-mode): New major mode.
21421 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21422 the *Messages* buffer" hack.
21423 (mouse-popup-menubar): Don't burp if the event is a normal key.
21424
21425 Miscellaneous tweaks.
21426 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21427 lexical scoping as in subr.el's dolist and dotimes.
21428 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21429 Silence compiler warning.
21430 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21431 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21432 * international/ccl.el (ccl-compile): Trivial simplification.
21433 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21434 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21435 `printflag' argument.
21436 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21437 Purecopy the whole obsolescence data.
21438
21439 2011-06-01 Leo Liu <sdl.web@gmail.com>
21440
21441 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21442 improve doc-string as suggested by Marco Pessotto
21443 <melmothx@gmail.com>.
21444 (rcirc-print): Fix last change.
21445
21446 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21447
21448 * minibuffer.el (complete-with-action): Return nil for the metadata and
21449 boundaries of non-functional tables.
21450 (completion-table-dynamic): Return nil for the metadata.
21451 (completion-table-with-terminator): Add default case, using
21452 complete-with-action.
21453 (completion--metadata): New function.
21454 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21455 to try and avoid pathological performance problems.
21456 (completion--embedded-envvar-table): Return `category' metadata.
21457
21458 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21459
21460 * subr.el (process-alive-p): New tiny convenience function.
21461
21462 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21463
21464 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21465 content but also its previous major mode.
21466
21467 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21468
21469 * emacs-lisp/debug.el (debug): Restore the previous content of the
21470 *Backtrace* buffer when we exit with C-M-c.
21471
21472 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21473
21474 * minibuffer.el: Add metadata method to completion tables.
21475 (completion-category-overrides): New defcustom.
21476 (completion-metadata, completion--field-metadata)
21477 (completion-metadata-get, completion--styles)
21478 (completion--cycle-threshold): New functions.
21479 (completion-try-completion, completion-all-completions):
21480 Add `metadata' argument to choose completion-styles.
21481 (completion--do-completion): Use metadata to choose cycling.
21482 (completion-all-sorted-completions): Use metadata for sorting.
21483 Remove :completion-cycle-penalty which is not needed any more.
21484 (completion--try-word-completion): Add `metadata' argument.
21485 (minibuffer-completion-help): Check metadata for annotation function
21486 and sorting.
21487 (completion-file-name-table): Return `category' metadata.
21488 (minibuffer-completing-file-name): Make obsolete.
21489 * simple.el (minibuffer-completing-symbol): Make obsolete.
21490 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21491 completion-try-completion.
21492
21493 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21494
21495 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21496
21497 2011-05-30 Leo Liu <sdl.web@gmail.com>
21498
21499 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21500 (rcirc-print): Decode all incoming messages (bug#8744).
21501 (rcirc-decode-coding-system): Allow value nil for automatic coding
21502 system detection.
21503
21504 2011-06-01 Glenn Morris <rgm@gnu.org>
21505
21506 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21507
21508 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21509
21510 * image.el (image-animate-max-time): Allow nil and t values.
21511 Default to nil.
21512 (create-animated-image): Doc fix.
21513 (image-animate-start): Remove second arg; just use
21514 image-animate-max-time.
21515 (image-animate-timeout): Doc fix. Args changed.
21516
21517 * image-mode.el (image-toggle-display-image): Ensure that the
21518 image spec passed to the animate timer is the same object as in
21519 the buffer's display property (Bug#6981).
21520 (image-transform-properties): Doc fix.
21521
21522 * image.el (image-animate-max-time): Default to nil.
21523
21524 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21525
21526 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21527 entire buffer list (Bug#8184).
21528
21529 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21530
21531 * image.el (imagemagick-types-inhibit)
21532 (imagemagick-register-types): Doc fix.
21533
21534 2011-05-29 Deniz Dogan <deniz@dogan.se>
21535
21536 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21537 default.
21538
21539 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21540
21541 * select.el: Don't perform clipboard-manager saving in hooks;
21542 leave the hooks empty.
21543
21544 2011-05-28 Leo Liu <sdl.web@gmail.com>
21545
21546 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21547 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21548 (occur-edit-mode): New major mode (Bug#8463).
21549 (occur-after-change-function): New function.
21550 (occur-engine): Give Occur tags a read-only property.
21551
21552 2011-05-28 Kevin Ryde <user42@zip.com.au>
21553
21554 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21555
21556 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21557
21558 * bindings.el (help-echo): Make the initial non-indicator dash
21559 empty on graphical terminals (Bug#7295).
21560
21561 * files.el (auto-mode-alist): Move config rule after the
21562 in-stripping one (Bug#8547).
21563
21564 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21565
21566 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21567 setting (Bug#8740).
21568
21569 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21570
21571 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21572 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21573 (Bug#8539).
21574
21575 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21576
21577 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21578
21579 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21580
21581 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21582 (hs-hide-block-at-point, hs-find-block-beginning)
21583 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21584 (Bug#8279).
21585
21586 2011-05-28 Glenn Morris <rgm@gnu.org>
21587
21588 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21589
21590 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21591
21592 * help-fns.el (describe-function-1): If the function is a derived
21593 major mode, print the parent mode.
21594
21595 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21596 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21597
21598 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21599
21600 * minibuffer.el (completion--capf-wrapper): Check applicability before
21601 returning non-nil for non-exclusive completion data.
21602 * progmodes/etags.el (tags-completion-at-point-function):
21603 * info-look.el (info-lookup-completions-at-point): Mark as
21604 non-exclusive.
21605 (info-complete): Adjust accordingly.
21606
21607 * info-look.el: Convert to lexical-binding and completion-at-point.
21608 (info-lookup-completions-at-point): New function.
21609 (info-complete): Use it and completion-in-region.
21610
21611 2011-05-28 Drew Adams <drew.adams@oracle.com>
21612
21613 * isearch.el: Let M-e start with point at the first mismatched char.
21614 (isearch-fail-pos): New function.
21615 (isearch-edit-string): Use it.
21616
21617 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21618
21619 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21620
21621 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21622
21623 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21624 traversal functions for avl-trees.
21625 (avl-tree--stack): New struct.
21626 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21627 (avl-tree-enter): Add optional `updatefun' arg.
21628 (avl-tree--do-enter): Add optional `updatefun' arg.
21629 Change return value.
21630 (avl-tree-delete): Add optional `test' and `nilflag' args.
21631 (avl-tree--do-delete): Add `test' and `nilflag' args.
21632 Change return value.
21633 (avl-tree-member): Add optional `nilflag'
21634 (avl-tree-member-p): New function.
21635 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21636 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21637 (avl-tree-stack-empty-p): New functions.
21638
21639 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21640 avl-tree--del-balance1 and make it work both ways.
21641 (avl-tree--del-balance2): Remove.
21642 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21643 make it work both ways.
21644 (avl-tree--enter-balance2): Remove.
21645 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21646 New macros.
21647 (avl-tree--mapc, avl-tree-map): Add direction argument.
21648
21649 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21650
21651 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21652
21653 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21654
21655 * select.el: Support clipboard managers with built-in function
21656 x-clipboard-manager-save, via delete-frame-functions and
21657 kill-emacs-hook.
21658 (xselect-convert-to-targets): Add MULTIPLE target to list.
21659 (xselect-convert-to-save-targets): New function.
21660
21661 2011-05-27 Kenichi Handa <handa@m17n.org>
21662
21663 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21664 let-binding rfc2047-encode-encoded-words to nil.
21665
21666 2011-05-27 Glenn Morris <rgm@gnu.org>
21667
21668 * mail/emacsbug.el: Don't require url-util.
21669
21670 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21671
21672 * files.el (set-auto-mode):
21673 Also respect mode: entries at the end of the file. (Bug#8586)
21674
21675 2011-05-26 Glenn Morris <rgm@gnu.org>
21676
21677 * files.el (hack-local-variables-prop-line, hack-local-variables):
21678 Downcase mode names, as seems to be traditional.
21679 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21680
21681 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21682 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21683
21684 2011-05-25 Julien Danjou <julien@danjou.info>
21685
21686 * textmodes/rst.el (rst-define-level-faces): Do not define face
21687 symbol if it is already defined.
21688
21689 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21690
21691 * play/5x5.el (5x5-new-game, 5x5-randomize):
21692 Reset 5x5-solver-output to nil when a new grid is cast.
21693 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21694 these debugging traces, as defmacro breaks the compiled code.
21695
21696 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21697
21698 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21699
21700 2011-05-24 Leo Liu <sdl.web@gmail.com>
21701
21702 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21703 (vc-bzr-sha1): Adapt.
21704
21705 * sha1.el: Remove. Function `sha1' is now builtin.
21706
21707 * bindings.el: Provide sha1 feature.
21708
21709 2011-05-24 Kenichi Handa <handa@m17n.org>
21710
21711 * mail/sendmail.el: Require `rfc2047'.
21712 (mail-insert-from-field): Do not perform RFC2047 encoding.
21713 (mail-encode-header): New function.
21714 (sendmail-send-it): Set buffer-file-coding-system of the work
21715 buffer to the return value of select-message-coding-system.
21716 Call mail-encode-header.
21717
21718 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21719
21720 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21721
21722 * mail/supercite.el (sc-default-cite-frame):
21723 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21724
21725 2011-05-24 Glenn Morris <rgm@gnu.org>
21726
21727 * progmodes/python.el (brm-menu): Declare.
21728
21729 * emulation/viper.el (viper-set-hooks): Declare.
21730
21731 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21732 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21733 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21734 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21735 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21736 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21737
21738 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21739
21740 Add an :exit-function for completion-at-point.
21741
21742 * minibuffer.el (completion--done): New fun.
21743 (completion--do-completion): Use it. New arg `expect-exact'.
21744 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21745 since completion--do-completion does it for us now.
21746 (minibuffer-force-complete): Use completion--done and
21747 completion--replace. Handle sole-completion case with more care.
21748 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21749 (completion-extra-properties): New var.
21750 (completion-annotate-function): Make obsolete.
21751 (minibuffer-completion-help): Adjust accordingly.
21752 Use completion-list-insert-choice-function.
21753 (completion-at-point, completion-help-at-point):
21754 Bind completion-extra-properties.
21755 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21756 * simple.el (completion-list-insert-choice-function): New var.
21757 (completion-setup-function): Preserve it.
21758 (choose-completion): Pay attention to it, shuffle the code a bit.
21759 (choose-completion-string): New arg `insert-function'.
21760
21761 * textmodes/bibtex.el: Convert to lexical binding.
21762 (bibtex-mode-map): Use completion-at-point.
21763 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21764 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21765 (bibtex-complete): Define as obsolete alias.
21766 (bibtex-complete-internal): Remove.
21767 (bibtex-format-entry): Remove unused sub-group in regexp.
21768 * shell.el (shell--command-completion-data)
21769 (shell-environment-variable-completion):
21770 * pcomplete.el (pcomplete-completions-at-point):
21771 * comint.el (comint--complete-file-name-data): Use :exit-function
21772 instead of completion-table-with-terminator so it also works for
21773 choose-completion.
21774
21775 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21776
21777 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21778
21779 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21780 (bug#8710).
21781
21782 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21783
21784 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21785
21786 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21787 customization variable and implement: If non-nil, auto-fill will
21788 be inhibited while on topic's header line.
21789
21790 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21791
21792 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21793 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21794 always have a solution in grid size = 5 cases.
21795 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21796 (5x5-solver-output, 5x5-log-buffer): New vars.
21797 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21798 Make these variables buffer local to achieve 5x5 multi-session-ness.
21799 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21800 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21801 (5x5-solve-suggest): New funs.
21802 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21803 randomize a grid so that we ensure that there is always a solution.
21804 (5x5-make-random-grid): Allow other movement than flipping.
21805
21806 2011-05-23 Kevin Ryde <user42@zip.com.au>
21807
21808 * emacs-lisp/advice.el (ad-read-advised-function):
21809 Use `function-called-at-point' as the default, if it has
21810 advice and passes PREDICATE.
21811
21812 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21813
21814 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21815 byte-compile-lambda if it's actually a lambda.
21816
21817 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21818 Fix function quoting. Use backquote better.
21819
21820 2011-05-22 Yuanle Song <sylecn@gmail.com>
21821
21822 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21823 matching (Bug#8516).
21824
21825 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21826
21827 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21828 different face (Bug#8178).
21829
21830 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21831
21832 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21833 defface (Bug#8144).
21834
21835 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21836
21837 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21838 funcall as well (bug#8712). Warn when performing those conversions.
21839 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21840
21841 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21842
21843 2011-05-22 Glenn Morris <rgm@gnu.org>
21844
21845 * files.el (hack-local-variables-prop-line): Small simplifications.
21846 (hack-local-variables, hack-local-variables-prop-line):
21847 If MODE-ONLY, return the mode, rather than just `t'.
21848
21849 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21850
21851 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21852
21853 2011-05-21 Glenn Morris <rgm@gnu.org>
21854
21855 * files.el (hack-local-variables-prop-line, hack-local-variables):
21856 If only interested in the mode, don't bother doing the other stuff.
21857
21858 * image-mode.el (image-after-revert-hook):
21859 Redraw all frames on which the image is visible. (Bug#8567)
21860
21861 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21862
21863 * wid-edit.el (widget-checklist-match-inline):
21864 Fix 2011-04-19 change. (Bug#8649)
21865
21866 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21867
21868 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21869 Also allow singlespace after single-letter capitals followed by a dot.
21870
21871 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21872 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21873
21874 2011-05-20 Nix <nix@esperi.org.uk>
21875
21876 * files.el (basic-save-buffer-2):
21877 Fix handling of break-hardlink-on-save with non-existent files.
21878
21879 2011-05-19 Deniz Dogan <deniz@dogan.se>
21880
21881 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21882 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21883
21884 2011-05-19 Glenn Morris <rgm@gnu.org>
21885
21886 * progmodes/f90.el (f90-type-def-re):
21887 Handle "type, bind(c)". (Bug#8691)
21888
21889 * emacs-lisp/autoload.el (batch-update-autoloads):
21890 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21891
21892 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21893
21894 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21895 property for the correct connection in case of multihops.
21896
21897 2011-05-18 Glenn Morris <rgm@gnu.org>
21898
21899 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21900 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21901
21902 Rationalize calendar handling of day and month abbrev-arrays.
21903 * calendar/calendar.el (calendar-customized-p): New function.
21904 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
21905 (calendar-day-name-array, calendar-month-name-array): Doc fix.
21906 Add :set function.
21907 (calendar-abbrev-length, calendar-day-abbrev-array)
21908 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
21909 (calendar-day-abbrev-array, calendar-month-abbrev-array):
21910 Elements may no longer be nil.
21911 (calendar-day-name, calendar-month-name):
21912 Update for changed nature of abbrev arrays.
21913 * calendar/diary-lib.el (diary-name-pattern):
21914 Update for changed nature of abbrev arrays.
21915 (diary-mark-entries-1): Update calendar-make-alist calls.
21916 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
21917 * calendar/cal-html.el (cal-html-day-abbrev-array):
21918 Simply inherit from calendar-day-abbrev-array.
21919
21920 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
21921
21922 * progmodes/grep.el (grep-mode): Disable default
21923 compilation-directory-matcher setting (bug#8684).
21924
21925 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
21926
21927 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
21928 instead of "head" and "tail". There were problems with SunOS 5.9,
21929 and it performs better.
21930
21931 2011-05-17 Glenn Morris <rgm@gnu.org>
21932
21933 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
21934
21935 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
21936 Replace obsolete function.
21937
21938 * shell.el (pcomplete-parse-arguments-function): Declare.
21939
21940 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
21941 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
21942 (appt-check): Doc fixes.
21943 (appt-disp-window-function, appt-delete-window-function):
21944 Remove needless special case in custom :type.
21945 (appt-display-count): Default to 0, not nil.
21946 (appt-check): Reset appt-display-count to 0, not nil.
21947
21948 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
21949
21950 * progmodes/python.el (python-font-lock-keywords):
21951 Add the Python 3.X keyword "nonlocal" (bug#8639).
21952
21953 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
21954
21955 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
21956
21957 2011-05-16 Kevin Ryde <user42@zip.com.au>
21958
21959 * info-look.el (makefile-automake-mode): New setups, looking in
21960 automake manual, then makefile-mode.
21961 (makefile-mode): Remove automake manual, have it just in
21962 makefile-automake-mode since there's various things different or
21963 not relevant to plain make.
21964 (makefile-mode): Remove "other-modes" non-existent automake-mode,
21965 believe a hypothetical automake-mode would go to makefile-mode,
21966 not the other way around.
21967
21968 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
21969
21970 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
21971 hunk-end tags (Bug#8672).
21972
21973 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
21974 vc-annotate-show-diff-revision-at-line (Bug#8671).
21975
21976 2011-05-14 Glenn Morris <rgm@gnu.org>
21977
21978 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
21979 in the middle of an existing one with multiple authors. (Bug#8645)
21980 (change-log-font-lock-keywords): Also handle multiple author lines
21981 with leading tabs. (Bug#8644)
21982
21983 * calendar/appt.el (appt-check): Rename some local variables.
21984 Some simplification/reordering.
21985
21986 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
21987 (feedmail-sendmail-f-doesnt-sell-me-out)
21988 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
21989 (feedmail-debug-sit-for, feedmail-queue-express-hook)
21990 (feedmail-queue-runner-message-sender): Set :version.
21991 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
21992 (bbdb-dwim-net-address, vm-mail): Declare.
21993 (feedmail-binmail-gnulinuxish-template):
21994 Rename from feedmail-binmail-linuxish-template.
21995 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
21996 Use insert-buffer-substring.
21997
21998 2011-05-14 Bill Carpenter <bill@carpenter.org>
21999
22000 * mail/feedmail.el (feedmail-patch-level): Increase.
22001 (feedmail-debug): New custom group.
22002 (feedmail-confirm-outgoing-timeout)
22003 (feedmail-sendmail-f-doesnt-sell-me-out)
22004 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22005 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22006 (feedmail-sender-line, feedmail-from-line)
22007 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22008 (feedmail-spray-this-address)
22009 (feedmail-spray-address-fiddle-plex-list)
22010 (feedmail-queue-use-send-time-for-date)
22011 (feedmail-queue-use-send-time-for-message-id)
22012 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22013 (feedmail-buffer-eating-function):
22014 Doc fixes.
22015 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22016 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22017 (feedmail-message-action-scroll-down): New functions.
22018 (feedmail-queue-directory, feedmail-queue-draft-directory):
22019 Use expand-file-name.
22020 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22021 Remove C-v help entry.
22022 (feedmail-queue-buffer-file-name): New variable.
22023 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22024 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22025 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22026 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22027 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22028 (feedmail-message-action-toggle-spray)
22029 (feedmail-run-the-queue-no-prompts)
22030 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22031 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22032 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22033 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22034 (feedmail-envelope-deducer, feedmail-fiddle-from)
22035 (feedmail-fiddle-sender, feedmail-default-date-generator)
22036 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22037 (feedmail-fiddle-spray-address)
22038 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22039 (feedmail-fiddle-list-of-fiddle-plexes)
22040 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22041 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22042 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22043 Change default. Doc fix.
22044 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22045 (feedmail-binmail-linuxish-template): New constant.
22046 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22047 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22048 (feedmail-send-it): Add debug call.
22049 Use feedmail-queue-buffer-file-name, and
22050 feedmail-send-it-immediately-wrapper.
22051 (feedmail-message-action-send): Add debug call.
22052 Use feedmail-send-it-immediately-wrapper.
22053 (feedmail-queue-express-to-queue): Add debug call.
22054 Run feedmail-queue-express-hook.
22055 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22056 (feedmail-message-action-help-blat):
22057 Rename from feedmail-queue-send-edit-prompt-help-first.
22058 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22059 Check line-endings. Handle errors better.
22060 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22061 Doc fix. Add debug call.
22062 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22063 Use feedmail-queue-send-edit-prompt-inner.
22064 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22065 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22066 from feedmail-queue-send-edit-prompt.
22067 (feedmail-queue-send-edit-prompt-help)
22068 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22069 (feedmail-tidy-up-slug): Add debug call.
22070 Respect feedmail-queue-slug-suspect-regexp.
22071 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22072 (feedmail-dump-message-to-queue): Add debug call.
22073 Expand queue-directory.
22074 (feedmail-dump-message-to-queue): Change message slightly.
22075 Use feedmail-say-chatter.
22076 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22077 (feedmail-send-it-immediately-wrapper): New function.
22078 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22079 Insert empty string rather than newline. Handle full-frame case.
22080 Use catch/throw. Use feedmail-say-chatter.
22081 (feedmail-fiddle-from): Try mail-host-address.
22082 (feedmail-default-message-id-generator): Doc fix.
22083 Bind system-time-locale. Handle missing end.
22084 (feedmail-fiddle-x-mailer): Add debug call.
22085 Handle feedmail-x-mailer-line being nil.
22086 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22087 Add debug call. Use buffer-substring-no-properties.
22088 (feedmail-say-debug, feedmail-say-chatter): New functions.
22089 (feedmail-find-eoh): Give an explicit error.
22090
22091 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22092
22093 * net/newst-treeview.el (newsticker-treeview-face): Change default
22094 family from helvetica to sans.
22095 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22096 etc/images/newsticker.
22097
22098 * net/newst-reader.el (newsticker-feed-face): Change default
22099 family from helvetica to sans.
22100
22101 * net/newst-plainview.el (newsticker-new-item-face)
22102 (newsticker-old-item-face, newsticker-immortal-item-face)
22103 (newsticker-obsolete-item-face, newsticker-date-face)
22104 (newsticker-statistics-face): Change default family from
22105 helvetica to sans.
22106 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22107 etc/images/newsticker.
22108
22109 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22110 (newsticker--process-auto-mark-filter-match): Tell user about
22111 auto-marking.
22112
22113 2011-05-13 Didier Verna <didier@xemacs.org>
22114
22115 Common Lisp indentation improvements on defmethod and lambda-lists.
22116 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22117 TODO entries.
22118 (lisp-lambda-list-keyword-parameter-indentation)
22119 (lisp-lambda-list-keyword-parameter-alignment)
22120 (lisp-lambda-list-keyword-alignment): New customizable user options.
22121 (lisp-indent-defun-method): Improve docstring.
22122 (extended-loop-p): Fix comment.
22123 (lisp-indent-lambda-list-keywords-regexp): New variable.
22124 (lisp-indent-lambda-list): New function.
22125 (lisp-indent-259): Use it.
22126 (lisp-indent-defmethod): Support for more than one
22127 method qualifier and properly indent methods lambda-lists.
22128 (defgeneric): Provide a missing common-lisp-indent-function property.
22129
22130 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22131
22132 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22133 bounds for the empty string (bug#8667).
22134
22135 2011-05-13 Glenn Morris <rgm@gnu.org>
22136
22137 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22138
22139 * mail/sendmail.el (sendmail-program): Try executable-find first.
22140 (sendmail-send-it): `sendmail-program' cannot be unbound.
22141
22142 * calendar/appt.el (appt-make-list): Simplify.
22143 (appt-time-msg-list): Doc fix.
22144 (appt-check): Change mode-line message at the time of the appointment.
22145
22146 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22147
22148 * progmodes/ld-script.el (ld-script-keywords)
22149 (ld-script-builtins): Update keywords list.
22150
22151 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22152
22153 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22154
22155 * shell.el (shell-completion-vars): New function.
22156 (shell-mode):
22157 * simple.el (read-shell-command): Use it.
22158 (blink-matching-open): No need for " [...]" in minibuffer-message.
22159
22160 2011-05-12 Glenn Morris <rgm@gnu.org>
22161
22162 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22163 (appt-check): Simplify.
22164
22165 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22166
22167 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22168 literal "/dev/null".
22169
22170 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22171
22172 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22173 Fix typo.
22174
22175 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22176
22177 * progmodes/which-func.el (which-function):
22178 Use add-log-current-defun instead of add-log-current-defun-function,
22179 which might not be defined (Bug#8260).
22180
22181 2011-05-12 Glenn Morris <rgm@gnu.org>
22182
22183 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22184 Let byte-compile-initial-macro-environment always take precedence.
22185
22186 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22187
22188 * net/rcirc.el: Add support for SSL/TLS connections.
22189 (rcirc-server-alist): New field `encryption'.
22190 (rcirc): Check `encryption' settings.
22191 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22192 Merge make-local-variable into `set'.
22193 (rcirc--connection-open-p): New function.
22194 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22195 the process is not a network process (e.g. running gnutls-cli).
22196 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22197 Make rcirc-(en|de)code-coding-system local here.
22198 (rcirc-mode): Merge make-local-variable into `set'.
22199 (rcirc-parent-buffer): Make permanent buffer-local.
22200 (rcirc-multiline-minor-mode): Don't do it here.
22201 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22202 there's no server buffer.
22203
22204 2011-05-11 Glenn Morris <rgm@gnu.org>
22205
22206 * newcomment.el (comment-kill): Prefix "unused" local.
22207
22208 * term/w32console.el (get-screen-color): Declare.
22209
22210 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22211 Handle symbol elements of byte-compile-initial-macro-environment.
22212
22213 2011-05-10 Leo Liu <sdl.web@gmail.com>
22214
22215 * bookmark.el (bookmark-bmenu-mode-map):
22216 Bind bookmark-bmenu-search to `/'.
22217
22218 * mail/footnote.el: Convert to utf-8 encoding.
22219 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22220 (Footnote-unicode): New function.
22221 (footnote-style-alist): Add unicode style to the list.
22222 (footnote-style): Doc fix.
22223
22224 2011-05-10 Jim Meyering <meyering@redhat.com>
22225
22226 Fix doubled-word typos.
22227 * international/quail.el (quail-insert-kbd-layout): and and -> and
22228 * kermit.el: and and -> and
22229 * net/ldap.el (ldap-search-internal): to to -> to
22230 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22231 * progmodes/js.el (js-mode): and and -> and
22232 * textmodes/artist.el (artist-move-to-xy): at at -> at
22233 (artist-draw-region-trim-line-endings): if if -> if
22234 And Safetyc -> Safety.
22235 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22236
22237 2011-05-10 Glenn Morris <rgm@gnu.org>
22238 Stefan Monnier <monnier@iro.umontreal.ca>
22239
22240 * files.el (hack-one-local-variable-eval-safep):
22241 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22242
22243 2011-05-10 Glenn Morris <rgm@gnu.org>
22244
22245 * calendar/diary-lib.el (diary-list-entries-hook)
22246 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22247 (diary-nongregorian-marking-hook, diary-list-entries)
22248 (diary-include-other-diary-files, diary-mark-entries)
22249 (diary-mark-included-diary-files): Doc fixes.
22250
22251 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22252
22253 * misc.el: Require tabulated-list.el during compilation.
22254
22255 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22256
22257 * progmodes/compile.el (compilation-start):
22258 Run compilation-filter-hook for the async case too.
22259 (compilation-filter-hook): Doc fix.
22260
22261 2011-05-09 Deniz Dogan <deniz@dogan.se>
22262
22263 * wdired.el: Remove outdated installation comment. Fix usage
22264 comment.
22265
22266 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22267
22268 * misc.el: Implement new command `list-dynamic-libraries'.
22269 (list-dynamic-libraries--loaded-only-p): New variable.
22270 (list-dynamic-libraries--refresh): New function.
22271 (list-dynamic-libraries): New command.
22272
22273 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22274
22275 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22276 Fix the ant regexp to handle end-line and end-column info from jikes.
22277 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22278 higher priority to avoid clobbering by gnu.
22279
22280 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22281
22282 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22283 if the face has existing theme settings (Bug#8454).
22284
22285 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22286
22287 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22288 Only match variables declared via `my' or `our' (Bug#8261).
22289
22290 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22291 special file names `.' and `..' (Bug#8259).
22292
22293 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22294
22295 * progmodes/grep.el (grep-mode-font-lock-keywords):
22296 Remove buffer-changing entries.
22297 (grep-filter): New function.
22298 (grep-mode): Add it to compilation-filter-hook.
22299
22300 * progmodes/compile.el (compilation-filter-hook)
22301 (compilation-filter-start): New defvars.
22302 (compilation-filter): Call compilation-filter-hook prior to
22303 updating the process mark.
22304
22305 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22306
22307 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22308
22309 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22310
22311 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22312 mailclient-send-it even if window-system is nil. (Bug#8595)
22313
22314 * term/w32console.el (terminal-init-w32console):
22315 Call get-screen-color and use its output to set the frame
22316 background-mode. (Bug#8597)
22317
22318 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22319
22320 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22321 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22322 New functions.
22323 (defgeneric, eieio--defmethod): Use them.
22324 (eieio-defgeneric): Remove.
22325 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22326
22327 2011-05-07 Glenn Morris <rgm@gnu.org>
22328
22329 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22330 Use let rather than let*.
22331 (timeclock-find-discrep): Remove unused local.
22332
22333 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22334
22335 * calendar/appt.el (appt-time-msg-list): Doc fix.
22336
22337 2011-05-06 Noah Friedman <friedman@splode.com>
22338
22339 * apropos.el (apropos-print-doc): Only use
22340 emacs-lisp-docstring-fill-column when it is bound to an integer,
22341 per that variable's documentation.
22342
22343 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22344
22345 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22346 and warnings are not silently discarded (e.g. use -d instead of -P).
22347
22348 2011-05-06 Glenn Morris <rgm@gnu.org>
22349
22350 * calendar/appt.el (appt-message-warning-time): Doc fix.
22351 (appt-warning-time-regexp): New option.
22352 (appt-make-list): Respect appt-message-warning-time.
22353
22354 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22355 New options.
22356 (diary-add-to-list): Strip comments from the displayed string.
22357 (diary-mode): Set comment-start and comment-end.
22358
22359 * vc/diff-mode.el (smerge-refine-subst): Declare.
22360 (diff-refine-hunk): Don't require smerge-mode when compiling.
22361
22362 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22363
22364 * simple.el (list-processes): Return nil as the docstring says.
22365
22366 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22367
22368 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22369 to "".
22370 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22371 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22372 determining of binary transfer. (Bug#7383)
22373
22374 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22375
22376 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22377 Fix port computation bug. (Bug#8618)
22378
22379 2011-05-05 Glenn Morris <rgm@gnu.org>
22380
22381 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22382
22383 * simple.el (shell-dynamic-complete-functions)
22384 (comint-dynamic-complete-functions): Declare.
22385
22386 * net/network-stream.el (gnutls-negotiate):
22387 * simple.el (tabulated-list-print): Fix declarations.
22388
22389 * progmodes/gud.el (syntax-symbol, syntax-point):
22390 Remove unnecessary and incorrect declarations.
22391
22392 * emacs-lisp/check-declare.el (check-declare-scan):
22393 Handle byte-compile-initial-macro-environment in bytecomp.el.
22394
22395 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22396
22397 Fix earlier half-done eieio-defmethod change (bug#8338).
22398 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22399 Streamline and change calling convention.
22400 (defmethod): Adjust accordingly and simplify.
22401 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22402 new eieio--defmethod.
22403 (slot-boundp): Minor CSE simplification.
22404
22405 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22406
22407 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22408 (glasses-make-readable): Use glasses-separate-capital-groups.
22409
22410 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22411
22412 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22413 (warning-series): Doc fix.
22414 (display-warning): Don't try to create the buffer if we just found it.
22415
22416 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22417
22418 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22419 (autoload-find-generated-file): New function.
22420 (generate-file-autoloads): Bind generated-autoload-file to
22421 buffer-file-name.
22422 (update-file-autoloads, update-directory-autoloads):
22423 Use autoload-find-generated-file. If called interactively, prompt for
22424 output file (Bug#7989).
22425 (batch-update-autoloads): Doc fix.
22426
22427 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22428
22429 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22430
22431 2011-05-04 Glenn Morris <rgm@gnu.org>
22432
22433 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22434 function, so it follows changes in calendar-date-style.
22435 (diary-fancy-date-matcher): New function.
22436 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22437 (diary-fancy-font-lock-fontify-region-function):
22438 Use diary-fancy-date-pattern as a function.
22439
22440 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22441 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22442
22443 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22444
22445 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22446 instead of positional arguments. Allow :keylist and :crlfiles
22447 arguments.
22448 (open-gnutls-stream): Call it.
22449
22450 * net/network-stream.el (network-stream-open-starttls): Adjust to
22451 call `gnutls-negotiate' with :process and :hostname arguments.
22452
22453 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22454
22455 * minibuffer.el (completion--message): New function.
22456 (completion--do-completion, minibuffer-complete)
22457 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22458 (completion--do-completion): Don't ignore completion-auto-help when in
22459 icomplete-mode.
22460
22461 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22462 internal encoding (e.g. tibetan zero is not whitespace).
22463 (global-whitespace-mode): Prefer save-current-buffer.
22464 (whitespace-trailing-regexp): Remove useless save-match-data.
22465 (whitespace-empty-at-bob-regexp): Minor simplification.
22466
22467 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22468
22469 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22470
22471 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22472
22473 * textmodes/ispell.el (ispell-add-per-file-word-list):
22474 Use `concat' to create string for insertion.
22475
22476 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22477
22478 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22479 Avoid open-line which runs post-self-insert-hook.
22480 (bibtex-fill-entry): Remove unused `end' var.
22481
22482 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22483
22484 * textmodes/ispell.el (ispell-add-per-file-word-list):
22485 Protect against `nil' value of `comment-start' (Bug#8579).
22486
22487 2011-05-03 Leo Liu <sdl.web@gmail.com>
22488
22489 * isearch.el (isearch-yank-pop): New command.
22490 (isearch-mode-map): Bind it to `M-y'.
22491 (isearch-forward): Mention it.
22492
22493 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22494
22495 * simple.el (minibuffer-complete-shell-command): Remove.
22496 (minibuffer-local-shell-command-map): Use completion-at-point.
22497 (read-shell-command): Setup completion vars here instead.
22498 (read-expression-map): Bind TAB to symbol completion.
22499
22500 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22501 error directly rather via storing it into `results'.
22502
22503 2011-05-02 Leo Liu <sdl.web@gmail.com>
22504
22505 * vc/diff.el: Fix description.
22506
22507 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22508
22509 * server.el (server-eval-at): New function.
22510
22511 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22512
22513 * net/network-stream.el (open-network-stream): Take a :nowait
22514 parameter and pass it on to `make-network-process'.
22515 (network-stream-open-plain): Ditto.
22516
22517 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22518
22519 * faces.el (face-spec-set-match-display): Don't match toolkit
22520 options on terminal frames.
22521
22522 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22523
22524 * progmodes/pascal.el: Use lexical binding.
22525 (pascal-mode-map): Remove author preferences.
22526
22527 * pcomplete.el (pcomplete-std-complete): Don't abuse
22528 completion-at-point.
22529
22530 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22531
22532 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22533 removing code that has been dead since 1991 or so.
22534
22535 * startup.el (command-line): When warning about "_emacs", use a
22536 delayed warning to allow the user to filter it out.
22537
22538 2011-04-28 Deniz Dogan <deniz@dogan.se>
22539
22540 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22541 user has not joined.
22542
22543 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22544
22545 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22546 aren't any completions at point.
22547
22548 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22549
22550 * subr.el (display-delayed-warnings): New function.
22551 (delayed-warnings-hook): New variable.
22552
22553 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22554
22555 * minibuffer.el (completion-at-point, completion-help-at-point):
22556 Don't presume that a given completion-at-point-function will always
22557 use the same calling convention.
22558
22559 * pcomplete.el (pcomplete-completions-at-point):
22560 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22561 pcomplete-seen is non-nil.
22562 (pcomplete-comint-setup): Also recognize the new comint/shell
22563 completion functions.
22564 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22565 pcomplete-seen is non-nil.
22566
22567 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22568
22569 * calendar/icalendar.el (diary-lib): Add require statement.
22570 (icalendar--create-uid): Read out a uid from a text-property on
22571 the first character in the entry. This allows for code to add its
22572 own uid to the entry.
22573 (icalendar--convert-float-to-ical): Add export of
22574 `diary-float'-entries save for those with the optional DAY
22575 argument.
22576
22577 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22578
22579 * subr.el (shell-quote-argument): Use alternate escaping strategy
22580 when we spot a variable reference in a string.
22581
22582 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22583
22584 * cus-start.el (all): Define customization for debug-on-event.
22585
22586 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22587
22588 * subr.el (shell-quote-argument): Escape correctly under Windows.
22589
22590 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22591
22592 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22593
22594 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22595
22596 * net/tramp.el (tramp-process-actions): Add POS argument.
22597 Delete region between POS and (pos).
22598
22599 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22600 Use `nil' position in `tramp-process-actions' call.
22601 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22602
22603 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22604 position in `tramp-process-actions' call.
22605
22606 * net/trampver.el: Update release number.
22607
22608 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22609
22610 * custom.el (defcustom): Obey lexical-binding.
22611
22612 Fix octave-inf completion problems reported by Alexander Klimov.
22613 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22614 Inherit from octave-mode-syntax-table.
22615 (inferior-octave-mode): Set info-lookup-mode.
22616 (inferior-octave-completion-at-point): New function.
22617 (inferior-octave-complete): Use it and completion-in-region.
22618 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22619 comint-filename-completion.
22620 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22621 symbol elements which shouldn't be word elements.
22622 (octave-font-lock-keywords, octave-beginning-of-defun)
22623 (octave-function-header-regexp): Adjust regexps accordingly.
22624 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22625
22626 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22627
22628 * net/gnutls.el (gnutls-errorp): Declare before first use.
22629
22630 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22631
22632 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22633 verify-error, and verify-hostname-error parameters. Check whether
22634 default trustfile exists before going to use it. Add missing
22635 argument to gnutls-message-maybe call. Return value.
22636 Reported by Claudio Bley <claudio.bley@gmail.com>.
22637 (open-gnutls-stream): Add usage example.
22638
22639 * net/network-stream.el (network-stream-open-starttls): Give host
22640 parameter to `gnutls-negotiate'.
22641 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22642 * subr.el (shell-quote-argument): Escape correctly under Windows.
22643
22644 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22645
22646 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22647 Use correct match group (bug#8438).
22648
22649 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22650
22651 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22652 (package-menu--generate): New arg specifying packages to show.
22653 (package-menu-refresh, package-menu-execute, list-packages):
22654 Callers changed.
22655 (package-show-package-list): New function, replacing deleted
22656 package--list-packages (renamed because it is non-internal).
22657
22658 * finder.el (finder-list-matches): Use package-show-package-list
22659 instead of deleted package--list-packages.
22660
22661 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22662 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22663 (vc-annotate-mode-map): Bind it to RET.
22664
22665 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22666
22667 * progmodes/etags.el (next-file): Don't use set-buffer to change
22668 buffers (Bug#8478).
22669
22670 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22671
22672 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22673
22674 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22675 (apropos-accumulator): Doc fix.
22676 (apropos-function, apropos-macro, apropos-command)
22677 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22678 (apropos-plist): Add face property.
22679 (apropos-symbols-internal): Fix indentation.
22680 (apropos-print): Simplify help, and recognize apropos-multi-type.
22681 (apropos-print-doc): Use button-type-get to extract the button's
22682 face property. Fill docstring (Bug#8352).
22683
22684 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22685
22686 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22687
22688 * play/mpuz.el (mpuz-silent): Doc fix.
22689 (mpuz-mode-map): Use mapc.
22690 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22691 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22692 Fix typos in docstrings.
22693
22694 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22695 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22696
22697 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22698
22699 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22700
22701 * minibuffer.el (completion--do-completion): Avoid the "Next char
22702 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22703
22704 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22705 mouse-2 into unread-command-events, it is interpreted correctly.
22706
22707 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22708 (image-toggle-display): Doc fix.
22709
22710 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22711
22712 * textmodes/page.el (what-page): Use line-number-at-pos to
22713 calculate line number (Bug#6825).
22714
22715 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22716
22717 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22718 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22719 Pass argument NO-DEFAULT to `find-tag-interactive'.
22720
22721 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22722
22723 Lexical-binding cleanup.
22724
22725 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22726 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22727 * progmodes/ada-prj.el (ada-prj-initialize-values)
22728 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22729 (ada-prj-show-value):
22730 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22731 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22732 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22733 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22734 * progmodes/bug-reference.el (bug-reference-push-button):
22735 * progmodes/fortran.el (fortran-line-length):
22736 * progmodes/glasses.el (glasses-change):
22737 * progmodes/octave-mod.el (octave-fill-paragraph):
22738 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22739 (python-pdbtrack-grub-for-buffer, python-sentinel):
22740 * progmodes/sql.el (sql-save-connection):
22741 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22742 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22743 Mark unused parameters.
22744
22745 * progmodes/compile.el (compilation--flush-directory-cache)
22746 (compilation--flush-parse, compile-internal): Mark unused parameters.
22747 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22748 (compilation-next-error-function): Remove unused variable `timestamp'.
22749
22750 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22751 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22752
22753 * progmodes/dcl-mode.el (dcl-end-of-command):
22754 Remove unused variable `start'.
22755 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22756 (dcl-option-value-basic, dcl-option-value-offset)
22757 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22758 Mark unused parameters.
22759 (dcl-save-local-variable): Remove unused variable `val'.
22760 (mode): Declare.
22761
22762 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22763 Mark unused parameters.
22764 (delphi-ignore-changes): Move before first use.
22765 (delphi-charset-token-at): Remove unused variable `start'.
22766 (delphi-else-start): Remove unused variable `if-count'.
22767 (delphi-comment-block-start, delphi-comment-block-end):
22768 Remove unused variable `kind'.
22769 (delphi-indent-line): Remove unused variable `new-point'.
22770
22771 * progmodes/ebrowse.el (ebrowse-files-list)
22772 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22773 Mark unused parameters. Don't quote `lambda'.
22774 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22775 Don't quote `lambda'.
22776 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22777 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22778 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22779 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22780 Use `ignore-errors'.
22781 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22782 (ebrowse-view/find-file-and-search-pattern)
22783 (ebrowse-view/find-member-declaration/definition):
22784 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22785 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22786 Rename parameter PREFIX-ARG to PREFIX.
22787 (ebrowse-tags-read-name): Remove unused variables `start' and
22788 `member-info'.
22789 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22790 to `tags-file'.
22791
22792 * progmodes/etags.el (local-find-tag-hook): Declare.
22793 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22794 Mark unused parameters.
22795
22796 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22797 (executable-interpret): Mark unused parameter.
22798
22799 * progmodes/flymake.el (flymake-process-sentinel)
22800 (flymake-after-change-function)
22801 (flymake-create-temp-with-folder-structure)
22802 (flymake-get-include-dirs-dot): Mark unused parameters.
22803 (flymake-safe-delete-directory): Remove unused variable `err'.
22804
22805 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22806 (speedbar-timer-fn, speedbar-line-text)
22807 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22808 (speedbar-center-buffer-smartly): Declare functions.
22809 (gdb-find-watch-expression): Remove unused variable `array'.
22810 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22811 (gdb-starting): Mark unused parameters.
22812 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22813 (gdb-table-string): Remove unused variable `res'.
22814 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22815 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22816 (gdb-display-buffer): Remove unused variable `cur-size'.
22817
22818 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22819 allow lexical-binding compilation.
22820 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22821 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22822 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22823 Mark unused parameters.
22824 (gud-gdb-marker-filter): Remove unused variable `match'.
22825 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22826 lambda expressions and funcall them, instead of using `fset'.
22827
22828 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22829 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22830
22831 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22832 variable `header-beg'; use `let'.
22833
22834 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22835 `restart', `last-sexp' and `at-do'.
22836
22837 * progmodes/js.el (js--debug): Mark unused parameter.
22838 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22839 (js--splice-into-items): Remove unused variable `item'.
22840 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22841
22842 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22843 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22844 (makefile-complete): Remove unused variable `try'.
22845 (makefile-fill-paragraph, makefile-match-function-end):
22846 Mark unused parameters.
22847
22848 * progmodes/octave-inf.el (inferior-octave-complete):
22849 Remove unused variable `proc'.
22850 (inferior-octave-output-digest): Mark unused parameter.
22851
22852 * progmodes/perl-mode.el (perl-calculate-indent):
22853 Remove unused variable `err'.
22854
22855 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22856 (prolog-indent-line): Mark unused parameters.
22857 (prolog-indent-line): Remove unused variable `beg'.
22858
22859 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22860 (reporter-dont-compact-list): Declare.
22861
22862 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22863 Remove unused variable `char'.
22864 (sh-debug): Mark unused parameter.
22865 (sh-get-indent-info): Remove unused variable `start'.
22866 (sh-calculate-indent): Remove unused variable `var'.
22867
22868 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22869 (simula-electric-keyword): Remove unused variable `null'.
22870 (simula-search-backward, simula-search-forward): Remove unused
22871 variables `begin' and `end'.
22872
22873 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22874 Remove unused variable `pos'.
22875 (vera-electric-tab, vera-comment-uncomment-region):
22876 Mark unused parameters.
22877 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22878
22879 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22880
22881 * emacs-lisp/package.el (package--builtins, package-alist)
22882 (package-load-descriptor, package-built-in-p, package-activate)
22883 (define-package, package-installed-p)
22884 (package-compute-transaction, package-buffer-info)
22885 (package--push): Doc fix. Distinguish more clearly between
22886 version strings and version lists.
22887
22888 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22889
22890 Lexical-binding cleanup.
22891
22892 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22893 (5x5-make-mutate-best):
22894 * play/fortune.el (fortune-in-buffer):
22895 * play/gomoku.el (gomoku-init-display):
22896 * play/solitaire.el (solitaire, solitaire-do-check):
22897 * play/tetris.el (tetris-default-update-speed-function):
22898 Mark unused parameters.
22899
22900 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22901 (bubbles--shift): Remove unused variable `char-org'.
22902 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
22903 (bubbles--show-images): Remove unused variable `char'.
22904
22905 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
22906 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
22907 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
22908 (decipher-analyze-buffer): Use ?\s.
22909 (decipher-make-checkpoint): Remove unused variable `mapping'.
22910
22911 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
22912
22913 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
22914 Remove unused variable `result'; use `let'.
22915
22916 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
22917 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
22918 (gametree-children-shown-p, gametree-compute-reduced-score):
22919 Use `ignore-errors'.
22920
22921 * play/handwrite.el (ps-lpr-switches): Declare.
22922 (handwrite): Remove unused variables `pmin' and `lastp'.
22923
22924 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
22925
22926 * play/landmark.el (landmark-init-display)
22927 (landmark-update-naught-weights): Mark unused parameters.
22928 (landmark-y): Remove unused variable `noise'. Simplify.
22929 (landmark-human-plays): Remove unused variable `score'.
22930
22931 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
22932 (mpuz-try-proposal): Remove unused variable `game'.
22933
22934 * play/zone.el (life-patterns): Declare.
22935
22936 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
22937
22938 * vc/vc.el (ediff-vc-internal): Declare function.
22939
22940 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22941
22942 * shell.el: Use lexical-binding and std completion UI.
22943 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
22944 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
22945 comint-preoutput-filter-functions rather than on
22946 comint-output-filter-functions.
22947 (shell-command-completion, shell--command-completion-data)
22948 (shell-filename-completion, shell-environment-variable-completion)
22949 (shell-c-a-p-replace-by-expanded-directory): New functions.
22950 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
22951 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
22952 (shell-dynamic-complete-environment-variable): Use them.
22953 (shell-dynamic-complete-as-environment-variable)
22954 (shell-dynamic-complete-as-command): Remove.
22955 (shell-match-partial-variable): Match past point.
22956 * comint.el: Clean up use of completion-at-point-functions.
22957 (comint-completion-at-point): New function.
22958 (comint-mode): Use it completion-at-point-functions.
22959 (comint-dynamic-complete): Make it obsolete.
22960 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
22961 (comint-c-a-p-replace-by-expanded-history): New function.
22962 (comint-dynamic-complete-functions)
22963 (comint-replace-by-expanded-history): Use it.
22964 * minibuffer.el (completion-table-with-terminator): Allow dynamic
22965 termination strings. Try harder to avoid second try-completion.
22966 (completion-in-region-mode-map): Disable bindings that don't work yet.
22967
22968 * comint.el: Use lexical-binding. Require CL.
22969 (comint-dynamic-complete-functions): Use comint-filename-completion.
22970 (comint-completion-addsuffix): Tweak custom type.
22971 (comint-filename-completion, comint--common-suffix)
22972 (comint--common-quoted-suffix, comint--table-subvert)
22973 (comint--complete-file-name-data): New functions.
22974 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
22975 (comint-dynamic-list-filename-completions): Use them.
22976 (comint-dynamic-simple-complete): Make obsolete.
22977
22978 * minibuffer.el (completion-in-region-mode):
22979 Keep completion-in-region-mode--predicate global.
22980 (completion-in-region--postch):
22981 Assume completion-in-region-mode--predicate is not null.
22982
22983 * progmodes/flymake.el (flymake-start-syntax-check-process):
22984 Obey `dir'. Simplify.
22985
22986 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
22987 we're in VC after all.
22988
22989 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
22990
22991 * vc/vc.el (vc-diff-build-argument-list-internal)
22992 (vc-version-ediff, vc-ediff): New commands.
22993 (vc-version-diff): Use vc-diff-build-argument-list-internal.
22994
22995 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
22996
22997 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
22998 add sanity check.
22999
23000 * obsolete/erc-hecomplete.el: Make obsolete.
23001 * obsolete/: Standardize obsolescence info in the header.
23002
23003 2011-04-20 Glenn Morris <rgm@gnu.org>
23004
23005 * calendar/solar.el (solar-horizontal-coordinates):
23006 Use the longitude argument rather than `calendar-longitude'.
23007 (solar-date-next-longitude): Remove unused locals.
23008
23009 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23010
23011 * whitespace.el: New version 13.2.1.
23012
23013 2011-04-20 felix <EmacsWiki> (tiny change)
23014
23015 * whitespace.el (global-whitespace-mode): Keep highlight when
23016 switching between major modes on a file.
23017
23018 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23019
23020 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23021 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23022 multi-line comments as well.
23023
23024 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23025
23026 Lexical-binding cleanup.
23027
23028 * arc-mode.el (archive-mode-revert):
23029 * cmuscheme.el (scheme-interactively-start-process):
23030 * custom.el (custom-initialize-delay):
23031 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23032 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23033 * emacs-lock.el (emacs-lock-clear-sentinel):
23034 * ezimage.el (defezimage):
23035 * follow.el (follow-avoid-tail-recenter):
23036 * fringe.el (set-fringe-mode-1):
23037 * generic-x.el (bat-generic-mode-compile):
23038 * help-mode.el (help-info-variable, help-do-xref)
23039 (help-mode-revert-buffer):
23040 * help.el (view-emacs-todo):
23041 * iswitchb.el (iswitchb-completion-help):
23042 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23043 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23044 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23045 * locate.el (locate-update):
23046 * longlines.el (longlines-encode-region)
23047 (longlines-after-change-function):
23048 * outline.el (outline-isearch-open-invisible):
23049 * ps-def.el (declare-function, charset-dimension, char-width)
23050 (encode-char):
23051 * ps-mule.el (ps-mule-plot-string):
23052 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23053 (recentf-edit-list-select, recentf-edit-list-validate)
23054 (recentf-open-files-action):
23055 * rect.el (delete-whitespace-rectangle-line)
23056 (rectangle-number-line-callback):
23057 * register.el (window-configuration-to-register)
23058 (frame-configuration-to-register):
23059 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23060 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23061 (xselect-convert-to-targets, xselect-convert-to-delete)
23062 (xselect-convert-to-filename, xselect-convert-to-charpos)
23063 (xselect-convert-to-lineno, xselect-convert-to-colno)
23064 (xselect-convert-to-os, xselect-convert-to-host)
23065 (xselect-convert-to-user, xselect-convert-to-class)
23066 (xselect-convert-to-name, xselect-convert-to-integer)
23067 (xselect-convert-to-atom, xselect-convert-to-identity):
23068 * subr.el (declare, ignore, process-kill-without-query)
23069 (text-clone-maintain):
23070 * terminal.el (te-get-char, te-tic-sentinel):
23071 * tool-bar.el (tool-bar-make-keymap):
23072 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23073 * type-break.el (type-break-mode, type-break-noninteractive-query):
23074 * view.el (View-back-to-mark):
23075 * wid-browse.el (widget-browse-action, widget-browse-widget)
23076 (widget-browse-widgets, widget-browse-sexp):
23077 * widget.el (define-widget-keywords):
23078 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23079 Mark unused parameters.
23080
23081 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23082 (align-areas): Remove unused variable `look'.
23083 (align-region): Remove unused variables `real-end' and `pos-list'.
23084
23085 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23086
23087 * bindings.el (mode-line-modified, mode-line-remote):
23088 Mark unused parameters.
23089 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23090
23091 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23092 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23093
23094 * comint.el (comint-history-isearch-pop-state)
23095 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23096 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23097 (comint-substitute-in-file-name): Doc fix.
23098
23099 * completion.el (cmpl-statistics-block): Mark unused parameter.
23100 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23101 (save-completions-to-file, load-completions-from-file):
23102 Remove unused local variable `e'.
23103
23104 * composite.el (compose-chars): Remove unused variable `len'.
23105 (lgstring-insert-glyph): Remove unused variable `g'.
23106 (compose-glyph-string): Remove unused variables `ascent',
23107 `descent', `lbearing' and `rbearing'.
23108 (compose-glyph-string-relative): Remove unused variables
23109 `lbearing', `rbearing' and `wadjust'.
23110 (compose-gstring-for-graphic): Remove unused variables `header',
23111 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23112 (compose-gstring-for-terminal): Remove unused variables `header'
23113 and `nchars'. Use `let', not `let*'.
23114
23115 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23116 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23117 (Custom-buffer-done, custom-buffer-create-internal)
23118 (custom-browse-visibility-action, custom-browse-group-tag-action)
23119 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23120 (widget-magic-mouse-down-action, custom-toggle-parent)
23121 (custom-add-parent-links, custom-toggle-hide-variable)
23122 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23123 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23124 (custom-face-menu-create, custom-variable-menu-create, get)
23125 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23126 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23127 (customize-apropos): Remove unused variable `tests'.
23128 (custom-group-value-create): Remove unused variable `hidden-p'.
23129 (sort-fold-case): Declare.
23130
23131 * cus-theme.el (custom-reset-standard-faces-list)
23132 (custom-reset-standard-variables-list): Declare.
23133 (customize-create-theme, custom-theme-revert, custom-theme-write)
23134 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23135 Mark unused parameters.
23136
23137 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23138
23139 * delim-col.el (delimit-columns-max): Move defvar before first use.
23140
23141 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23142 (describe-char): Don't quote `lambda'. Mark unused parameter.
23143
23144 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23145 (auto-insert): Declare.
23146 (desktop-restore-file-buffer): Rename desktop-* parameters;
23147 mark unused ones.
23148 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23149 (desktop-buffer): Rename desktop-* parameters.
23150
23151 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23152 (dframe-reposition-frame-xemacs, dframe-help-echo)
23153 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23154 Mark unused parameters.
23155
23156 * dired-aux.el (backup-extract-version-start, overwrite-query)
23157 (overwrite-backup-query, rename-regexp-query)
23158 (rename-non-directory-query): Declare.
23159 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23160 (dired-add-entry): Remove unused variable `orig-file-name'.
23161 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23162 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23163 `dired-copy-preserve-time' directly.
23164 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23165 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23166
23167 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23168 (dired-virtual-revert, dired-make-relative-symlink):
23169 Mark unused parameters.
23170 (manual-program): Declare.
23171 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23172 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23173 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23174
23175 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23176
23177 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23178
23179 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23180 Declare.
23181
23182 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23183
23184 * electric.el (Electric-command-loop): Rename parameter
23185 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23186
23187 * expand.el (expand-in-literal): Remove unused variable `here'.
23188
23189 * facemenu.el (facemenu-add-new-color):
23190 Remove unused variable `docstring'.
23191
23192 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23193 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23194 (face-attr-construct): Mark unused parameter. Doc fix.
23195 (read-color): Remove unused variable `hex-string'.
23196
23197 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23198 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23199 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23200 (display-buffer-other-frame): Remove unused variable `old-window'.
23201 (kill-buffer-hook): Declare.
23202 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23203 Mark unused parameters.
23204 (after-find-file): Pass 1 to `auto-save-mode', not t.
23205
23206 * files-x.el (auto-insert): Declare.
23207 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23208
23209 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23210 variable `buf'. Mark unused parameter.
23211 (find-lisp-insert-directory): Mark unused parameter.
23212
23213 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23214 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23215 (format-common-tail): Remove, unused.
23216 (format-deannotate-region): Remove unused variable `loc'.
23217 (format-annotate-region): Remove unused variable `p'.
23218 (format-annotate-single-property-change): Remove unused variables
23219 `default' and `tail'.
23220
23221 * forms.el (read-file-filter): Declare.
23222 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23223
23224 * frame.el (frame-creation-function-alist): Mark unused parameter.
23225 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23226
23227 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23228 Remove unused parameters.
23229 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23230 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23231
23232 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23233 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23234 (hfy-prepare-tag-map): Mark unused parameters.
23235 (htmlfontify-buffer): Use `called-interactively-p'.
23236
23237 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23238 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23239 (ibuffer-do-occur): Mark unused parameters.
23240 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23241 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23242
23243 * ibuffer.el: Don't quote `lambda'.
23244 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23245 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23246 Mark unused parameters.
23247
23248 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23249 (ido-completing-read): Mark unused parameters.
23250 (ido-copy-current-word): Mark unused parameters;
23251 remove unused variable `name'.
23252 (ido-sort-merged-list): Remove unused parameter `dirs'.
23253
23254 * ielm.el (ielm-input-sender): Mark unused parameter.
23255 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23256 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23257 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23258 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23259 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23260
23261 * image-dired.el (image-dired-display-thumbs): Remove unused
23262 variables `curr-file' and `count'.
23263 (image-dired-remove-tag): Remove unused variable `start'.
23264 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23265 variable `curr-file'
23266 (image-dired-rotate-original): Remove unused variable `temp-file'.
23267 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23268 Remove unused variable `file'.
23269 (image-dired-gallery-generate): Remove unused variable `curr'.
23270 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23271
23272 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23273
23274 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23275
23276 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23277
23278 * isearch.el (minibuffer-history-symbol): Declare.
23279 (isearch-edit-string): Remove unused variable `err'.
23280 (isearch-message-prefix, isearch-message-suffix):
23281 Mark unused parameters.
23282
23283 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23284
23285 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23286
23287 * makesum.el (double-column): Remove unused variable `cnt'.
23288
23289 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23290 (ido-ignore-item-temp-list): Declare.
23291
23292 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23293 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23294 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23295 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23296 `mouse-col-delta'.
23297
23298 * mouse-sel.el (mouse-extend-internal):
23299 Remove unused variable `orig-window-frame'.
23300
23301 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23302 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23303 Move declarations before first use.
23304 (pcomplete-opt): Mark unused parameters; doc fix.
23305
23306 * proced.el (proced-revert): Mark unused parameter.
23307 (proced-send-signal): Remove unused variable `err'.
23308
23309 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23310 Rename parameter PREFIX-ARG to ARG.
23311 (ps-basic-plot-string, ps-basic-plot-whitespace):
23312 Mark unused parameters.
23313
23314 * replace.el (replace-count): Define.
23315 (occur-revert-function): Mark unused parameters.
23316 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23317 (isearch-case-fold-search, isearch-string): Declare.
23318 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23319 bind `case-fold-search'. Remove unused variables `beg' and `end',
23320 and simplify.
23321 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23322 COUNT and bind `replace-count'.
23323 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23324 to COUNT.
23325
23326 * savehist.el (print-readably, print-string-length): Declare.
23327
23328 * shadowfile.el (shadow-expand-cluster-in-file-name):
23329 Remove unused variable `cluster'.
23330 (shadow-copy-file): Remove unused variable `i'.
23331 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23332 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23333 (shadow-define-literal-group, shadow-define-regexp-group)
23334 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23335
23336 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23337 (shell): Use `called-interactively-p'.
23338 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23339
23340 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23341 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23342 (delete-backward-char): Remove unused variable `ocol'.
23343 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23344 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23345 (event-apply-hyper-modifier, event-apply-shift-modifier)
23346 (event-apply-control-modifier, event-apply-meta-modifier):
23347 Mark unused parameters.
23348 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23349 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23350
23351 * speedbar.el (speedbar-ignored-directory-expressions)
23352 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23353 (speedbar-find-file, speedbar-dir-follow)
23354 (speedbar-directory-buttons-follow, speedbar-tag-find)
23355 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23356 (speedbar-buffers-line-directory, speedbar-buffer-click):
23357 Mark unused parameters.
23358 (speedbar-tag-file): Remove unused variable `mode'.
23359 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23360
23361 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23362
23363 * talk.el (talk): Remove unused variable `display'.
23364
23365 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23366 (tar-write-region-annotate): Mark unused parameter.
23367
23368 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23369 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23370 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23371 warning by another.
23372
23373 * time-stamp.el (time-stamp-string-preprocess):
23374 Remove unused variable `require-padding'.
23375
23376 * tree-widget.el (widget-glyph-enable): Declare.
23377 (tree-widget-action): Mark unused parameter.
23378
23379 * w32-fns.el (x-get-selection): Mark unused parameter.
23380 (autoload-make-program, generated-autoload-file): Declare.
23381
23382 * wdired.el (wdired-revert): Mark unused parameters.
23383 (wdired-xcase-word): Remove unused variable `err'.
23384
23385 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23386 (whitespace-help-scroll): Remove unused variable `data-help'.
23387
23388 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23389 (widget-image-insert, widget-after-change, default)
23390 (widget-default-format-handler, widget-default-notify)
23391 (widget-default-prompt-value, widget-info-link-action)
23392 (widget-url-link-action, widget-function-link-action)
23393 (widget-variable-link-action, widget-file-link-action)
23394 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23395 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23396 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23397 (widget-insert-button-action, widget-delete-button-action, visibility)
23398 (widget-documentation-link-action, widget-documentation-string-action)
23399 (widget-const-prompt-value, widget-regexp-match, symbol)
23400 (widget-coding-system-prompt-value)
23401 (widget-key-sequence-value-to-external, sexp)
23402 (widget-sexp-value-to-internal, character, vector, cons)
23403 (widget-choice-prompt-value, widget-boolean-prompt-value)
23404 (widget-color--choose-action): Mark unused parameters.
23405 (widget-item-match-inline, widget-choice-match-inline)
23406 (widget-checklist-match, widget-checklist-match-inline)
23407 (widget-group-match): Rename parameter VALUES to VALS.
23408 (widget-field-value-set): Remove unused variable `size'.
23409 (widget-color-action): Remove unused variables `value' and `start'.
23410
23411 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23412 variable `dir'. Doc fix.
23413 (windmove-find-other-window): Don't pass it.
23414
23415 * window.el (count-windows): Mark unused parameter.
23416 (bw-adjust-window): Remove unused variable `err'.
23417
23418 * woman.el (woman-file-name): Remove unused variable `default'.
23419 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23420 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23421 (global-font-lock-mode): Declare.
23422 (woman-decode-region): Mark unused parameter.
23423 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23424
23425 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23426 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23427 (x-dnd-handle-moz-url): Remove unused variable `title'.
23428 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23429
23430 * xml.el (xml-parse-tag, xml-parse-attlist):
23431 Remove unused variable `pos'.
23432
23433 2011-04-19 Glenn Morris <rgm@gnu.org>
23434
23435 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23436 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23437 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23438 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23439 * calendar/cal-html.el (cal-html-insert-minical):
23440 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23441 (calendar-mark-date-pattern):
23442 Prefix "unused" locals.
23443
23444 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23445 optional argument `style'.
23446
23447 * calendar/appt.el (appt-make-list):
23448 * calendar/cal-china.el (calendar-chinese-date-string):
23449 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23450 (diary-hebrew-yahrzeit):
23451 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23452 * calendar/calendar.el (calendar-generate-window):
23453 * calendar/time-date.el (time-to-days):
23454 Remove unused local variables.
23455
23456 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23457
23458 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23459 glyphless-char-display table.
23460 (tabulated-list-glyphless-char-display): New var.
23461
23462 2011-04-18 Sam Steingold <sds@gnu.org>
23463
23464 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23465 to acknowledgments.
23466
23467 2011-04-17 Glenn Morris <rgm@gnu.org>
23468
23469 * calendar/diary-lib.el (diary-sexp-entry):
23470 * calendar/holidays.el (holiday-sexp):
23471 Set debug-on-error rather than the removed stack-trace-on-error.
23472
23473 2011-04-16 Glenn Morris <rgm@gnu.org>
23474
23475 * progmodes/f90.el: Use lexical-binding.
23476 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23477
23478 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23479
23480 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23481 (mail-mode): Setup mailalias completion here instead.
23482 * mail/mailalias.el: Use lexical-binding.
23483 (pattern, mailalias-done): Declare dynamic.
23484 (mail-completion-at-point-function): New function, from mail-complete.
23485 (mail-complete): Use it.
23486 (mail-completion-expand): New function.
23487 (mail-get-names): Use it.
23488 (mail-directory, mail-directory-process, mail-directory-stream):
23489 Don't use `pattern' for lexically bound arg.
23490
23491 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23492
23493 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23494 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23495 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23496
23497 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23498 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23499 (byte-interactive-p): Define them again, for use when inlining
23500 old code.
23501
23502 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23503
23504 * loadup.el: Use `string-to-number', not `string-to-int'.
23505
23506 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23507
23508 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23509 gud-gdb-complete-command.
23510 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23511 (gud-gdb-completion-at-point): New function.
23512 (gud-gdb-completions): Remove.
23513
23514 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23515
23516 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23517 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23518 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23519 whether `executable-find' is bound.
23520
23521 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23522
23523 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23524
23525 * minibuffer.el (completion-in-region-mode-predicate)
23526 (completion-in-region-mode--predicate): New vars.
23527 (completion-in-region, completion-in-region--postch)
23528 (completion-in-region-mode): Use them.
23529 (completion--capf-wrapper): Also return the hook function.
23530 (completion-at-point, completion-help-at-point):
23531 Adjust and provide a predicate.
23532
23533 Preserve arg names for advice of subr and lexical functions (bug#8457).
23534 * help-fns.el (help-function-arglist): Consolidate the subr and
23535 new-byte-code cases. Add argument `preserve-names' to extract names
23536 from the docstring when needed.
23537 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23538 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23539 (ad-arglist): Use help-function-arglist's new arg.
23540 (ad-definition-type): Use cond.
23541
23542 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23543
23544 * autorevert.el (auto-revert-handler):
23545 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23546 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23547 Don't quote lambda.
23548
23549 * image-mode.el (image-transform-set-scale):
23550 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23551
23552 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23553
23554 * net/network-stream.el (network-stream-open-starttls): Only do
23555 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23556 Upgrades via gnutls-cli are too slow to be done opportunistically.
23557
23558 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23559
23560 * dframe.el (dframe-current-frame): Remove spurious quote.
23561
23562 2011-04-12 Glenn Morris <rgm@gnu.org>
23563
23564 * calendar/cal-tex.el (cal-tex-end-document):
23565 Try to automatically use latin1 input if needed.
23566
23567 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23568 Don't try to cons a mark onto an empty element.
23569
23570 2011-04-11 Leo Liu <sdl.web@gmail.com>
23571
23572 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23573 buffers.
23574 (ido-kill-buffer-at-head): Support killing virtual buffers.
23575
23576 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23577
23578 * minibuffer.el (completion-show-inline-help): New var.
23579 (completion--do-completion, minibuffer-complete)
23580 (minibuffer-force-complete, minibuffer-complete-word):
23581 Inhibit minibuffer messages if completion-show-inline-help is nil.
23582
23583 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23584 to avoid interference from inline help (Bug#5849).
23585
23586 2011-04-10 Leo Liu <sdl.web@gmail.com>
23587
23588 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23589 Fix typo.
23590
23591 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23592
23593 * image-mode.el (image-toggle-display-image): Signal an error if
23594 not in Image mode.
23595 (image-transform-mode, image-transform-resize)
23596 (image-transform-set-rotation): Doc fix.
23597 (image-transform-set-resize): Delete.
23598 (image-transform-set-scale, image-transform-fit-to-height)
23599 (image-transform-fit-to-width): Handle image-toggle-display-image
23600 and image-transform-resize directly.
23601
23602 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23603
23604 * doc-view.el (doc-view-fit-width-to-window)
23605 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23606 New functions for fitting the shown image to the Emacs window size.
23607 (doc-view-mode-map): Add bindings for the new functions.
23608
23609 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23610
23611 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23612 Fix typo in docstring.
23613
23614 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23615
23616 * files.el (file-size-human-readable): Produce one digit after
23617 decimal, like "ls -lh" does.
23618
23619 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23620 the file size representation.
23621
23622 * simple.el (list-processes): If async subprocesses are not
23623 available, error out with a clear error message.
23624
23625 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23626
23627 * help.el (help-form-show): New function, to be called from C.
23628 Put help-form output in a buffer named differently than *Help*.
23629
23630 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23631
23632 * files.el (file-size-human-readable): New function.
23633
23634 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23635 computing the representation inline. Don't require `cl'.
23636
23637 2011-04-08 Glenn Morris <rgm@gnu.org>
23638
23639 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23640
23641 * net/browse-url.el (browse-url-firefox):
23642 Test system-type, not system-configuration.
23643
23644 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23645 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23646 Use log-edit-empty-buffer-p. (Bug#7598)
23647
23648 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23649 (rlogin-mode-map): Initialize in the defvar.
23650 (rlogin): Use ignore-errors.
23651
23652 * replace.el (occur-mode-map): Some fixes for menu items.
23653
23654 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23655
23656 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23657
23658 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23659
23660 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23661 issuing unused warnings.
23662
23663 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23664 macro directly.
23665
23666 * simple.el: Lisp reimplement of list-processes. Based on an
23667 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23668 (process-menu-mode): New major mode.
23669 (list-processes--refresh, list-processes):
23670 (process-menu-visit-buffer): New functions.
23671
23672 * files.el (save-buffers-kill-emacs): Don't assume any return
23673 value of list-processes, which is undocumented anyway.
23674
23675 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23676
23677 * emacs-lisp/tabulated-list.el: New file.
23678
23679 * emacs-lisp/package.el: Use Tabulated List mode.
23680 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23681 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23682 table format using Tabulated List mode variables.
23683 (package--push): New macro, replacing package-list-maybe-add.
23684 (package-menu--generate): Use package--push. Renamed from
23685 package--generate-package-list.
23686 (package-menu-refresh, list-packages): Use it.
23687 (package-menu--print-info): Rename from package-print-package.
23688 Return insertion data instead of inserting it directly.
23689 (package-menu-describe-package, package-menu-execute):
23690 Use tabulated-list-get-id.
23691 (package-menu-mark-delete, package-menu-mark-install)
23692 (package-menu-mark-unmark, package-menu-backup-unmark)
23693 (package-menu-mark-obsolete-for-deletion):
23694 Use tabulated-list-put-tag.
23695 (package--list-packages, package-menu-revert)
23696 (package-menu-get-package, package-menu-get-version)
23697 (package-menu-sort-by-column): Functions deleted.
23698 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23699 (package-menu--status-predicate, package-menu--version-predicate)
23700 (package-menu--name-predicate)
23701 (package-menu--description-predicate): Handle arguments in the
23702 Tabulated List format.
23703 (package-list-packages-no-fetch): Call list-packages.
23704
23705 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23706
23707 * files.el (after-find-file-from-revert-buffer): Remove variable.
23708 (after-find-file): Don't bind it.
23709 (revert-buffer-in-progress-p): New variable.
23710 (revert-buffer): Bind it.
23711 Pass nil for `after-find-file-from-revert-buffer'.
23712
23713 * saveplace.el (save-place-find-file-hook): Use new variable
23714 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23715
23716 2011-04-06 Glenn Morris <rgm@gnu.org>
23717
23718 * Makefile.in (AUTOGEN_VCS): New variable.
23719 (autoloads): Use $AUTOGEN_VCS.
23720
23721 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23722 * calendar/calendar.el (calendar-mode-map):
23723 Check for toolkit scroll bars. (Bug#8305)
23724
23725 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23726
23727 * minibuffer.el (completion-in-region--postch)
23728 (completion-in-region-mode): Remove unnecessary messages.
23729
23730 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23731
23732 * font-lock.el (font-lock-refresh-defaults):
23733 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23734 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23735
23736 * info.el (Info-directory-list, Info-read-node-name-2)
23737 (Info-split-parameter-string): Doc fixes.
23738 (Info-virtual-nodes): Reflow docstring.
23739 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23740 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23741 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23742 Fix typos in docstrings.
23743 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23744 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23745 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23746 (Info-restore-desktop-buffer): Mark unused parameters.
23747 (Info-directory-find-file, Info-directory-find-node)
23748 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23749 (Info-virtual-index-find-node, Info-apropos-find-file)
23750 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23751 Mark unused parameters; fix typos in docstrings.
23752 (Info-virtual-index): Remove unused local variable `nodename'.
23753
23754 2011-04-05 Deniz Dogan <deniz@dogan.se>
23755
23756 * net/rcirc.el: Update my e-mail address.
23757 (rcirc-mode-map): Remove M-o binding.
23758
23759 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23760
23761 * startup.el (command-line): Save the cursor's theme-face
23762 directly, instead of using face-override-spec.
23763
23764 * custom.el (load-theme): Minor optimization in assigning faces.
23765
23766 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23767
23768 * help-fns.el (describe-variable): Complete all variables having
23769 documentation, including keywords.
23770 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23771
23772 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23773
23774 Convert to lexical-binding.
23775
23776 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23777 (bs--get-marked-string, bs--get-modified-string)
23778 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23779 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23780 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23781
23782 * ehelp.el (electric-help-execute-extended)
23783 (electric-help-ctrl-x-prefix):
23784 * hexl.el (hexl-revert-buffer-function):
23785 * linum.el (linum-after-change, linum-after-scroll):
23786 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23787
23788 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23789
23790 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23791
23792 * epa-dired.el:
23793 * epa-mail.el:
23794 * epa-hook.el:
23795 * epa-file.el:
23796 * epa.el:
23797 * epg.el: Use lexical binding.
23798
23799 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23800
23801 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23802
23803 * textmodes/flyspell.el (flyspell-word): Recognize default
23804 dictionary case for flyspell-mark-duplications-exceptions.
23805 Use regexp matching for languages.
23806 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23807 default dictionary (Bug#7926).
23808
23809 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23810
23811 * emacs-lisp/package.el (package--with-work-buffer):
23812 Recognize https URLs.
23813
23814 * net/network-stream.el: Move from gnus/proto-stream.el.
23815 Change prefix to network-stream throughout.
23816 (open-protocol-stream): Merge into open-network-stream, leaving
23817 open-protocol-stream as an alias. Handle nil BUFFER args.
23818
23819 * subr.el (open-network-stream): Move to net/network-stream.el.
23820
23821 2011-04-02 Glenn Morris <rgm@gnu.org>
23822
23823 * find-dired.el (find-exec-terminator): New option.
23824 (find-ls-option): Test for -ls support.
23825 (find-ls-subdir-switches): Test for -b in find-ls-option.
23826 (find-dired, find-grep-dired): Doc fixes.
23827 (find-dired): Use find-exec-terminator.
23828
23829 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23830 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23831 (find-name-arg): Remove purecopy.
23832
23833 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23834 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23835 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23836 accordingly. Don't add the null-device if not needed.
23837
23838 * files.el (save-some-buffers): Doc fix.
23839
23840 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23841
23842 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23843
23844 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23845
23846 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23847 Use `dolist' rather than `mapcar'.
23848
23849 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23850
23851 Add lexical binding.
23852
23853 * subr.el (apply-partially): Use new closures rather than CL.
23854 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23855 (dolist, dotimes): Use slightly different expansion for lexical code.
23856 (functionp): Move to C.
23857 (letrec): New macro.
23858 (with-wrapper-hook): Use it and apply-partially instead of CL.
23859 (eval-after-load): Preserve lexical-binding.
23860 (save-window-excursion, with-output-to-temp-buffer): Turn them
23861 into macros.
23862
23863 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23864
23865 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23866 than the arglist.
23867 (help-add-fundoc-usage): Don't add `Not documented'.
23868 (help-function-arglist): Handle closures, subroutines, and new
23869 byte-code-functions.
23870 (help-make-usage): Remove leading underscores.
23871 (describe-function-1): Handle closures.
23872 (describe-variable): Use special-variable-p for completion.
23873
23874 * files.el (lexical-binding): Declare safe.
23875
23876 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23877 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23878 (pcase): Add `let' pattern.
23879 Change memoization so it actually works.
23880 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23881 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23882 <let>: New case.
23883
23884 * emacs-lisp/macroexp.el: Use lexical binding.
23885 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23886 Don't convert ' to #' without checking that it's indeed quoting
23887 a lambda.
23888
23889 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23890 Use eval-sexp-add-defvars.
23891 (eval-sexp-add-defvars): New fun.
23892
23893 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23894
23895 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23896 Don't autoload.
23897 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23898 than the internal `byte-compile-lambda'.
23899 (defmethod): Don't hide code under quotes.
23900 (eieio-defmethod): New `code' argument.
23901
23902 * emacs-lisp/eieio-comp.el: Remove.
23903
23904 * emacs-lisp/edebug.el (edebug-eval-defun)
23905 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
23906 (edebug-toggle): Avoid `eval'.
23907
23908 * emacs-lisp/disass.el (disassemble-internal): Handle new
23909 `closure' objects.
23910 (disassemble-1): Handle new byte codes.
23911
23912 * emacs-lisp/cl.el (pushnew): Silence warning.
23913
23914 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
23915 (cl-byte-compile-throw): Remove.
23916 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
23917
23918 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
23919 closures.
23920
23921 * emacs-lisp/cconv.el: New file.
23922
23923 * emacs-lisp/bytecomp.el: Use lexical binding instead of
23924 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
23925 (byte-compile-initial-macro-environment):
23926 Handle declare-function here.
23927 (byte-compile--lexical-environment): New var.
23928 (byte-stack-ref, byte-stack-set, byte-discardN)
23929 (byte-discardN-preserve-tos): New lap codes.
23930 (byte-interactive-p): Don't use any more.
23931 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
23932 New macros.
23933 (byte-compile-lapcode): Use them and handle new lap codes.
23934 (byte-compile-obsolete): Remove.
23935 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
23936 (byte-compile-arglist-warn): Check late def of inlinable funs.
23937 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
23938 since they should have been expanded by now.
23939 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
23940 (byte-compile-from-buffer): Remove unused second arg.
23941 (byte-compile-preprocess): New function.
23942 (byte-compile-toplevel-file-form): New function to distinguish
23943 file-form calls from outside from file-form calls from hunk-handlers.
23944 (byte-compile-file-form): Simplify.
23945 (byte-compile-file-form-defsubst): Remove.
23946 (byte-compile-file-form-defmumble): Simplify now that
23947 byte-compile-lambda always returns a byte-code-function.
23948 (byte-compile): Preprocess.
23949 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
23950 Remove, not used any more.
23951 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
23952 (byte-compile-make-args-desc): New funs.
23953 (byte-compile-lambda): Handle lexical functions. Always return
23954 a byte-code-function.
23955 (byte-compile-reserved-constants): New var, to make up room for
23956 closed-over variables.
23957 (byte-compile-constants-vector): Obey it.
23958 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
23959 (byte-compile-macroexpand-declare-function): New function.
23960 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
23961 byte-code-functions.
23962 (byte-compile-form): Check obsolescence here.
23963 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
23964 (byte-compile-variable-ref): Remove.
23965 (byte-compile-dynamic-variable-op): New fun.
23966 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23967 (byte-compile-variable-set): New funs.
23968 (byte-compile-discard): Add 2 args.
23969 (byte-compile-stack-ref, byte-compile-stack-set)
23970 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
23971 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
23972 macroexpand-all instead.
23973 (byte-compile-quote-form): Remove.
23974 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
23975 (byte-compile-bind, byte-compile-unbind): New funs.
23976 (byte-compile-let): Handle let* and lexical binding.
23977 (byte-compile-let*): Remove.
23978 (byte-compile-catch, byte-compile-unwind-protect)
23979 (byte-compile-track-mouse, byte-compile-condition-case):
23980 Handle a new :fun-body form, used for lexical scoping.
23981 (byte-compile-save-window-excursion)
23982 (byte-compile-with-output-to-temp-buffer): Remove.
23983 (byte-compile-defun): Simplify.
23984 (byte-compile-stack-adjustment): New fun.
23985 (byte-compile-out): Use it.
23986 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
23987
23988 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
23989 handler any more.
23990
23991 * emacs-lisp/byte-opt.el: Use lexical binding.
23992 (byte-inline-lapcode): Remove (to bytecomp).
23993 (byte-compile-inline-expand): Pay attention to inlining to/from
23994 lexically bound code.
23995 (byte-compile-unfold-lambda): Don't handle byte-code-functions
23996 any more.
23997 (byte-optimize-form-code-walker): Don't handle save-window-excursion
23998 any more and don't call compiler-macros.
23999 (byte-compile-splice-in-already-compiled-code): Remove.
24000 (byte-code): Don't inline any more.
24001 (disassemble-offset): Receive `bytes' as argument rather than via
24002 dynamic scoping.
24003 (byte-compile-tag-number): Declare before first use.
24004 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24005 `return' even if make-spliceable.
24006 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24007 obsolete interactive-p.
24008 (byte-optimize-lapcode): Optimize new lap-codes.
24009 Don't trip up on new form of `byte-constant' lap code.
24010
24011 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24012
24013 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24014
24015 * custom.el (custom-initialize-default, custom-declare-variable):
24016 Use `defvar'.
24017
24018 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24019 New variables.
24020 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24021 (COMPILE_FIRST): Add macroexp and cconv.
24022 * makefile.w32-in: Mirror changes in Makefile.in.
24023
24024 * vc/cvs-status.el:
24025 * vc/diff-mode.el:
24026 * vc/log-edit.el:
24027 * vc/log-view.el:
24028 * vc/smerge-mode.el:
24029 * textmodes/bibtex-style.el:
24030 * textmodes/css-mode.el:
24031 * startup.el:
24032 * uniquify.el:
24033 * minibuffer.el:
24034 * newcomment.el:
24035 * reveal.el:
24036 * server.el:
24037 * mpc.el:
24038 * emacs-lisp/smie.el:
24039 * doc-view.el:
24040 * dired.el:
24041 * abbrev.el: Use lexical binding.
24042
24043 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24044
24045 * info.el (info-display-manual): New function.
24046
24047 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24048
24049 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24050
24051 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24052
24053 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24054 an entry for that server in rcirc-authinfo. (Bug#8385)
24055
24056 2011-03-31 Glenn Morris <rgm@gnu.org>
24057
24058 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24059
24060 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24061
24062 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24063
24064 * progmodes/python.el (python-default-interpreter)
24065 (python-python-command-args, python-jython-command-args)
24066 (python-which-shell, python-which-args, python-which-bufname)
24067 (python-file-queue, python-comint-output-filter-function)
24068 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24069 variables and functions.
24070
24071 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24072
24073 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24074 (completion-in-region-mode): New minor mode.
24075 (completion-in-region): Use it.
24076 (completion-in-region--data, completion-in-region-mode-map): New vars.
24077 (completion-in-region--postch): New function.
24078 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24079 New vars.
24080 (completion--capf-wrapper): New function.
24081 (completion-at-point): Use it to track well-behavedness of
24082 hook functions.
24083 (completion-help-at-point): New command.
24084
24085 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24086
24087 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24088 syntax class to search for whitespace on a single line
24089 (Message-ID: <4D938140.4030905@redhat.com>).
24090
24091 2011-03-30 Leo Liu <sdl.web@gmail.com>
24092
24093 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24094 New commands.
24095 (edit-abbrevs-map): Bind them here.
24096 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24097
24098 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24099
24100 * allout.el (allout-hide-by-annotation, allout-flag-region):
24101 Reduce possibility of overlay leakage by making them volatile.
24102
24103 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24104 hash is not shared between buffers. Mode initialization is
24105 responsible for giving it a useful starting value.
24106 (allout-item-span): Reduce possibility of overlay leakage by
24107 making them volatile.
24108 (allout-widgets-count-buttons-in-region): Add diagnostic function
24109 for tracking down button overlay leaks.
24110
24111 2011-03-29 Leo Liu <sdl.web@gmail.com>
24112
24113 * ido.el (ido-read-internal): Use the default history var
24114 minibuffer-history if no HISTORY is specified.
24115
24116 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24117
24118 * net/imap.el (imap-shell-open, imap-process-connection-type):
24119 Use imap-process-connection-type for 'shell' streams as well as
24120 Kerberos, SSL, other subprocesses.
24121
24122 2011-03-28 Leo Liu <sdl.web@gmail.com>
24123
24124 * abbrev.el (abbrev-table-empty-p): New function.
24125 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24126 nonempty ones. (Bug#5937)
24127
24128 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24129
24130 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24131
24132 2011-03-27 Leo Liu <sdl.web@gmail.com>
24133
24134 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24135 for foreground and background colors.
24136 (ansi-color-make-color-map): Adapt.
24137
24138 2011-03-25 Leo Liu <sdl.web@gmail.com>
24139
24140 * midnight.el (midnight-time-float): Remove. Note it calculates
24141 the microsecond component incorrectly and seconds-to-time does the
24142 same job.
24143 Remove redundant (require 'timer).
24144
24145 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24146 (ido-completions): Remove unused arguments. (Bug#8329)
24147
24148 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24149
24150 * minibuffer.el (completion--flush-all-sorted-completions):
24151 Remove itself from hook.
24152 (completion-at-point): Let the functions perform the completion
24153 immediately and return nil or t.
24154 * comint.el (comint-dynamic-complete-functions): Now identical to
24155 completion-at-point-functions.
24156 (comint-dynamic-list-input-ring): Remove unused var `index'.
24157 (comint--match-partial-filename, comint--unquote&expand-filename):
24158 New funs, split from comint-match-partial-filename.
24159 (comint-dynamic-complete): Use completion-at-point.
24160 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24161
24162 2011-03-24 Drew Adams <drew.adams@oracle.com>
24163
24164 * thingatpt.el: Support `defun'.
24165
24166 2011-03-23 Leo Liu <sdl.web@gmail.com>
24167
24168 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24169
24170 * help-mode.el (help-mode-finish): Tweak regexp.
24171
24172 2011-03-23 Glenn Morris <rgm@gnu.org>
24173
24174 * eshell/esh-opt.el (eshell-eval-using-options):
24175 Do not bind unused local variable `eshell-option-stub'.
24176
24177 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24178
24179 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24180
24181 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24182 keymap variable in `with-no-warnings' to avoid a warning when the
24183 keymap has been already `defconst'ed.
24184
24185 2011-03-22 Leo Liu <sdl.web@gmail.com>
24186
24187 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24188 encode all chars in abbrevs; otherwise use emacs-mule or
24189 utf-8-emacs. (Bug#8308)
24190
24191 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24192
24193 * simple.el (backward-delete-char-untabify):
24194 Avoid warning about using `delete-backward-char'.
24195
24196 * image.el (image-type-file-name-regexps): Make it variable.
24197 `imagemagick-register-types' modifies it, and the user may want
24198 to add new extensions for known image types.
24199 (imagemagick-register-types): Throw error if not using ImageMagick.
24200
24201 2011-03-22 Leo Liu <sdl.web@gmail.com>
24202
24203 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24204 located before rcirc-prompt-end-marker.
24205 (rcirc-complete): Error if point is not after rcirc prompt.
24206 Handle the case when table is nil.
24207 (rcirc-user-authenticated): Define to fix compiler warning.
24208
24209 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24210
24211 * custom.el (custom--inhibit-theme-enable): Make it affect only
24212 custom-theme-set-variables and custom-theme-set-faces.
24213 (provide-theme): Ignore custom--inhibit-theme-enable.
24214 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24215 (custom-enabling-themes): Delete variable.
24216 (enable-theme): Accept only loaded themes as arguments.
24217 Ignore the special custom-enabled-themes variable.
24218 (custom-enabled-themes): Forbid themes from setting this.
24219 Eliminate use of custom-enabling-themes.
24220 (custom-push-theme): Quote "changed" custom var entry.
24221
24222 2011-03-21 Leo Liu <sdl.web@gmail.com>
24223
24224 * ido.el (ido-read-internal): Add ido-selected to history instead
24225 of user input.
24226
24227 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24228
24229 * subr.el (deferred-action-list, deferred-action-function):
24230 Mark obsolete.
24231
24232 2011-03-21 Leo Liu <sdl.web@gmail.com>
24233
24234 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24235 change on 2011-02-13 (bug#8309).
24236
24237 * minibuffer.el (read-file-name-function): Change default value.
24238 (read-file-name--defaults): Rename from read-file-name-defaults.
24239 (read-file-name-default): Rename from read-file-name.
24240 (read-file-name): Call read-file-name-function.
24241
24242 2011-03-21 Glenn Morris <rgm@gnu.org>
24243
24244 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24245 Doc fixes.
24246
24247 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24248
24249 * cus-theme.el: Add missing provide statement.
24250 (customize-create-theme): Extract theme value correctly.
24251 (custom-theme-visit-theme): Autoload.
24252 (customize-create-theme): Prompt before inserting default faces.
24253
24254 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24255
24256 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24257 units and musical notes.
24258
24259 2011-03-20 Leo Liu <sdl.web@gmail.com>
24260
24261 * ido.el (ido-read-internal): Use completing-read-default.
24262 (ido-completing-read): Fix compatibility with completing-read.
24263
24264 2011-03-20 Christian Ohler <ohler@gnu.org>
24265
24266 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24267 (ert-delete-all-tests): Use `called-interactively-p' rather than
24268 `interactive-p'.
24269 (ert--make-xrefs-region): Respect END.
24270
24271 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24272
24273 * dired-aux.el (dired-create-directory): Signal an error if the
24274 directory already exists (Bug#8246).
24275
24276 * facemenu.el (list-colors-display): Call list-faces-display
24277 inside with-help-window.
24278 (list-colors-print): Use display property to align the final
24279 column, instead of checking window-width.
24280
24281 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24282
24283 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24284 windows-nt systems.
24285 (emerge-protect-metachars): Quote correctly for ms-dos and
24286 windows-nt systems.
24287
24288 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24289
24290 * info.el (info-initialize): Replace all uses of `:' with
24291 path-separator for compatibility with non-Unix systems.
24292 Cache quoting of path-separator. (Bug#8258)
24293
24294 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24295
24296 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24297 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24298 (mouse-avoidance-mode): Fix typos in docstrings.
24299
24300 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24301
24302 * startup.el (package-subdirectory-regexp): Move from package.el.
24303 Omit \\` and \\', and let callers add them.
24304
24305 * emacs-lisp/package.el (package-strip-version)
24306 (package-load-all-descriptors): Add \\` and \\' to
24307 package-subdirectory-regexp before using it.
24308 (package-untar-buffer): New arg DIR; ensure that file untars only
24309 into this expected directory. Remove superfluous delete-region.
24310 (package-unpack): Caller changed.
24311 (package-tar-file-info): Use package-subdirectory-regexp.
24312
24313 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24314
24315 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24316 diff-mode-shared-map (bug#8284).
24317 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24318
24319 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24320
24321 * calendar/time-date.el (format-seconds): Use assoc instead of
24322 assoc-string, since assoc-string doesn't exist in XEmacs.
24323
24324 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24325
24326 * custom.el (custom-known-themes): Reflow docstring.
24327 (custom-theme-load-path): Fix typo in docstring.
24328 (load-theme): Fix typo in error message.
24329 (custom-available-themes, custom-variable-theme-value):
24330 Use `let', not `let*'.
24331
24332 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24333
24334 * calc/README: Mention inclusion of musical notes.
24335
24336 * calc/calc-units.el (calc-lu-quant): Rename from
24337 `calc-logunits-quantity'.
24338 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24339 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24340 (calc-db): Rename from `calc-dblevel'.
24341 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24342 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24343 (calc-np): Rename from `calc-nplevel'.
24344 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24345 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24346 (calc-lu-plus): Rename from `calc-logunits-add'.
24347 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24348 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24349 (calc-lu-minus): Rename from `calc-logunits-sub'.
24350 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24351 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24352 (calc-lu-times): Rename from `calc-logunits-mul'.
24353 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24354 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24355 (calc-lu-divide): Rename from `calc-logunits-div'.
24356 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24357 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24358
24359 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24360 functions being autoloaded.
24361
24362 * calc/calc.el (calc-lu-power-reference): Rename from
24363 `calc-logunits-power-reference'.
24364 (calc-lu-field-reference): Rename from
24365 `calc-logunits-field-reference'.
24366
24367 * calc/calc-help.el (calc-l-prefix-help):
24368 Mention musical note functions.
24369
24370 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24371
24372 * minibuffer.el (completion-all-sorted-completions):
24373 Use :completion-cycle-penalty text property if present.
24374
24375 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24376
24377 * allout.el (allout-yank-processing): Adjust for new rebulleting
24378 regime so bullet being yanked is used without prompting the user
24379 for a choice.
24380
24381 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24382
24383 * startup.el (command-line): Warn the user that _emacs is deprecated.
24384
24385 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24386
24387 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24388 (delphi-verbose, delphi-comment-face, delphi-string-face)
24389 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24390 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24391 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24392 (delphi-new-comment-line, delphi-font-lock-defaults)
24393 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24394 Fix typos in docstrings.
24395
24396 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24397
24398 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24399 Invert the roles of character and string values for INSTEAD, so a
24400 string is used for the more common case of a defaulting prompt.
24401
24402 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24403
24404 * progmodes/ruby-mode.el (ruby-backward-sexp):
24405 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24406 * play/gamegrid.el (gamegrid-make-face):
24407 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24408 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24409 * notifications.el (notifications-notify):
24410 * net/xesam.el (xesam-search-engines):
24411 * net/quickurl.el (quickurl-list-insert):
24412 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24413
24414 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24415
24416 * startup.el (command-line): Update package subdirectory regexp.
24417
24418 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24419
24420 * allout.el (allout-abbreviate-flattened-numbering)
24421 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24422
24423 * subr.el (read-char-choice): Only show the cursor after the prompt,
24424 not after the answer.
24425
24426 2011-03-15 Kevin Ryde <user42@zip.com.au>
24427
24428 * help-fns.el (variable-at-point): Skip leading quotes, if any
24429 (bug#8253).
24430
24431 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24432
24433 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24434 warning message.
24435
24436 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24437
24438 * shell.el (shell): When called interactively, offer to change the
24439 shell file name on remote hosts.
24440
24441 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24442
24443 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24444 integration for LDAP parameters. The host, base, user or binddn,
24445 and secret tokens can be specified in a netrc file, for instance.
24446 This is optional because an `auth-source' parameter must be
24447 specified in the search attributes.
24448
24449 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24450
24451 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24452
24453 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24454
24455 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24456 into declaration. Remove redundant and harmful binding.
24457
24458 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24459
24460 * files.el (file-ownership-preserved-p): Pass `integer' as an
24461 explicit 2nd argument to `file-attributes'. If the file's owner
24462 is the Administrators group on Windows, and the current user is
24463 Administrator, consider that a match.
24464
24465 * server.el (server-ensure-safe-dir): Consider server directory
24466 safe on MS-Windows if its owner is the Administrators group while
24467 the current Emacs user is Administrator. Use `=' to compare
24468 numerical UIDs, since they could be integers or floats.
24469
24470 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24471
24472 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24473
24474 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24475
24476 Sync with Tramp 2.2.1.
24477
24478 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24479
24480 * net/trampver.el: Update release number.
24481
24482 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24483
24484 * progmodes/compile.el (compilation--previous-directory): Fix up
24485 various nil/dead-marker mismatches (bug#8014).
24486 (compilation-directory-properties, compilation-error-properties):
24487 Don't call it at a position past the one we're about to change.
24488
24489 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24490 Disable obsolescence warnings in the file that declares it.
24491
24492 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24493
24494 * allout-widgets.el (allout-widgets-tally):
24495 Initialize allout-widgets-tally as a hash table rather than nil to
24496 prevent mode-line redisplay warnings. Also, clarify the module
24497 description and fix a comment typo.
24498
24499 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24500
24501 * help-fns.el (describe-variable): Don't complete keywords.
24502 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24503
24504 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24505
24506 * emacs-lisp/package.el (package-version-join): Impose a standard
24507 string representation for pre/alpha/beta version lists.
24508 (package-unpack-single): Standardize the directory name by passing
24509 it through package-version-join.
24510 (package-strip-rcs-id): Accept any version string that does not
24511 signal an error in version-to-list.
24512
24513 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24514
24515 * simple.el (delete-trailing-whitespace): Return nil for the
24516 benefit of `write-file-functions'.
24517
24518 2011-03-10 Glenn Morris <rgm@gnu.org>
24519
24520 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24521
24522 * vc/vc-git.el (vc-git-program): New option.
24523 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24524 (vc-git--call): Use it.
24525
24526 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24527
24528 * cus-edit.el (Custom-newline): If no button at point, look
24529 for a subgroup button at start-of-line. (Bug#2298)
24530
24531 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24532
24533 2011-03-10 Julien Danjou <julien@danjou.info>
24534
24535 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24536 `cursor-type' is nil.
24537
24538 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24539
24540 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24541
24542 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24543
24544 * allout.el: Change so yank of distinctive-bullet items
24545 preserves the existing header prefix, rebulleting it if necessary,
24546 rather than replacing it. This is necessary for proper operation
24547 of cooperative addons like allout-widgets.
24548 (allout-make-topic-prefix, allout-rebullet-heading):
24549 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24550 value as alternate bullet to be used, instead of prompting the user
24551 for a bullet character.
24552
24553 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24554
24555 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24556 Do not use `tramp-file-name-port', because this returns also
24557 `tramp-default-port'.
24558
24559 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24560
24561 * net/rcirc.el (rcirc-handler-001): Remove useless
24562 with-rcirc-process-buffer.
24563 (rcirc-check-auth-status): Swap arguments to string-match.
24564
24565 2011-03-09 Glenn Morris <rgm@gnu.org>
24566
24567 * shell.el (shell-mode):
24568 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24569
24570 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24571 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24572
24573 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24574
24575 * emacs-lisp/package.el (package-refresh-contents)
24576 (package-menu-execute): Use condition-case-no-debug.
24577
24578 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24579
24580 * simple.el (shell-command-to-string): Use `process-file'.
24581
24582 * emacs-lisp/package.el (package-tar-file-info): Handle also
24583 remote files.
24584
24585 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24586 Use `equal' for upload base check.
24587
24588 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24589
24590 * textmodes/texinfo.el (texinfo-environments):
24591 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24592
24593 2011-03-08 Glenn Morris <rgm@gnu.org>
24594
24595 * cus-start.el (cursor-in-non-selected-windows):
24596 Fix :set quoting oddness. (Bug#8192)
24597
24598 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24599 in some setf expressions. (Bug#2159)
24600
24601 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24602
24603 * custom.el (custom-available-themes): Return themes in
24604 alphabetical order.
24605
24606 See ChangeLog.15 for earlier changes.
24607
24608 ;; Local Variables:
24609 ;; coding: utf-8
24610 ;; End:
24611
24612 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24613
24614 This file is part of GNU Emacs.
24615
24616 GNU Emacs is free software: you can redistribute it and/or modify
24617 it under the terms of the GNU General Public License as published by
24618 the Free Software Foundation, either version 3 of the License, or
24619 (at your option) any later version.
24620
24621 GNU Emacs is distributed in the hope that it will be useful,
24622 but WITHOUT ANY WARRANTY; without even the implied warranty of
24623 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24624 GNU General Public License for more details.
24625
24626 You should have received a copy of the GNU General Public License
24627 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.